/* Stimulsoft.Reports.JS Version: 2020.1.1 Build date: 2019.12.18 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; t = e.ExternalLibrary || (e.ExternalLibrary = {}) }(Stimulsoft || (Stimulsoft = {})), function(e, t) { t(Stimulsoft.ExternalLibrary.Opentype = {}) }(this, function(e) { "use strict"; function t() { this.table = new Uint16Array(16), this.trans = new Uint16Array(288) } function r(e, r) { this.source = e, this.sourceIndex = 0, this.tag = 0, this.bitcount = 0, this.dest = r, this.destLen = 0, this.ltree = new t, this.dtree = new t } function n(e, t, r, n) { var a, o; for (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 a(e, t) { var r; for (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 o(e, t, r, n) { var a, o; for (a = 0; a < 16; ++a) e.table[a] = 0; for (a = 0; a < n; ++a) e.table[t[r + a]]++; for (e.table[0] = 0, o = 0, a = 0; a < 16; ++a) To[a] = o, o += e.table[a]; for (a = 0; a < n; ++a) t[r + a] && (e.trans[To[t[r + a]]++] = a) } function s(e) { e.bitcount-- || (e.tag = e.source[e.sourceIndex++], e.bitcount = 7); var t = 1 & e.tag; return e.tag >>>= 1, t } function i(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 u(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 (n >= 0); return e.tag = o, e.bitcount -= a, t.trans[r + n] } function l(e, t, r) { var n, a, s, l, p, c; for (n = i(e, 5, 257), a = i(e, 5, 1), s = i(e, 4, 4), l = 0; l < 19; ++l) xo[l] = 0; for (l = 0; l < s; ++l) { var h = i(e, 3, 0); xo[bo[l]] = h } for (o(So, xo, 0, 19), p = 0; p < n + a; ) { var f = u(e, So); switch (f) { case 16: var d = xo[p - 1]; for (c = i(e, 2, 3); c; --c) xo[p++] = d; break; case 17: for (c = i(e, 3, 3); c; --c) xo[p++] = 0; break; case 18: for (c = i(e, 7, 11); c; --c) xo[p++] = 0; break; default: xo[p++] = f; break } } o(t, xo, 0, n), o(r, xo, n, a) } function p(e, t, r) { while (1) { var n = u(e, t); if (256 === n) return po; if (n < 256) e.dest[e.destLen++] = n; else { var a, o, s, l; for (n -= 257, a = i(e, vo[n], go[n]), o = u(e, r), s = e.destLen - i(e, mo[o], yo[o]), l = s; l < s + a; ++l) e.dest[e.destLen++] = e.dest[l] } } } function c(e) { var t, r, n; while (e.bitcount > 8) e.sourceIndex--, e.bitcount -= 8; if (t = e.source[e.sourceIndex + 1], t = 256 * t + e.source[e.sourceIndex], r = e.source[e.sourceIndex + 3], r = 256 * r + e.source[e.sourceIndex + 2], t !== (65535 & ~r)) return co; for (e.sourceIndex += 4, n = t; n; --n) e.dest[e.destLen++] = e.source[e.sourceIndex++]; return e.bitcount = 0, po } function h(e, t) { var n = new r(e,t), a, o, u; do { switch (a = s(n), o = i(n, 2, 0)) { case 0: u = c(n); break; case 1: u = p(n, ho, fo); break; case 2: l(n, n.ltree, n.dtree), u = p(n, n.ltree, n.dtree); break; default: u = co } if (u !== po) throw new Error("Data error") } while (!a); if (n.destLen < n.dest.length) return "function" == typeof n.dest.slice ? n.dest.slice(0, n.destLen) : n.dest.subarray(0, n.destLen); return n.dest } function f(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 d() { this.x1 = Number.NaN, this.y1 = Number.NaN, this.x2 = Number.NaN, this.y2 = Number.NaN } function v() { this.commands = [], this.fill = "black", this.stroke = null, this.strokeWidth = 1 } function g(e) { throw new Error(e) } function m(e, t) { e || g(t) } function y(e) { return function() { return e } } function b(e) { return e >= -128 && e <= 127 } function S(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 x(e, t, r) { var n = 0 , a = e.length , o = t; while (o < a && n < 64) { var s = e[o]; if (!b(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 T(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 (b(s) && o + 1 < a && b(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 k(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 U(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 O(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 E(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 w(e) { 1 === e.format ? k.call(this, "coverageTable", [{ name: "coverageFormat", type: "USHORT", value: 1 }].concat(U("glyph", e.glyphs))) : Uo.assert(!1, "Can't create coverage table format 2 yet.") } function R(e) { k.call(this, "scriptListTable", E("scriptRecord", e, function(e, t) { var r = e.script , n = r.defaultLangSys; return Uo.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 k("scriptTable",[{ name: "defaultLangSys", type: "TABLE", value: new k("defaultLangSys",[{ name: "lookupOrder", type: "USHORT", value: 0 }, { name: "reqFeatureIndex", type: "USHORT", value: n.reqFeatureIndex }].concat(U("featureIndex", n.featureIndexes))) }].concat(E("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 k("langSys",[{ name: "lookupOrder", type: "USHORT", value: 0 }, { name: "reqFeatureIndex", type: "USHORT", value: r.reqFeatureIndex }].concat(U("featureIndex", r.featureIndexes))) }] }))) }] })) } function L(e) { k.call(this, "featureListTable", E("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 k("featureTable",[{ name: "featureParams", type: "USHORT", value: r.featureParams }].concat(U("lookupListIndex", r.lookupListIndexes))) }] })) } function C(e, t) { k.call(this, "lookupListTable", O("lookup", e, function(e) { var r = t[e.lookupType]; return Uo.assert(!!r, "Unable to write GSUB lookup type " + e.lookupType + " tables."), new k("lookupTable",[{ name: "lookupType", type: "USHORT", value: e.lookupType }, { name: "lookupFlag", type: "USHORT", value: e.lookupFlag }].concat(O("subtable", e.subtables, r))) })) } function D(e, t) { return e.getUint8(t) } function I(e, t) { return e.getUint16(t, !1) } function M(e, t) { return e.getInt16(t, !1) } function B(e, t) { return e.getUint32(t, !1) } function G(e, t) { return e.getInt16(t, !1) + e.getUint16(t + 2, !1) / 65535 } function N(e, t) { for (var r = "", n = t; n < t + 4; n += 1) r += String.fromCharCode(e.getInt8(n)); return r } function A(e, t, r) { for (var n = 0, a = 0; a < r; a += 1) n <<= 8, n += e.getUint8(t + a); return n } function F(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) { t.parseUShort(), e.length = t.parseULong(), e.language = t.parseULong(); var r; 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) { e.length = t.parseUShort(), e.language = t.parseUShort(); var o; e.segCount = o = t.parseUShort() >> 1, t.skip("uShort", 3), e.glyphIndexMap = {}; for (var s = new Fo.Parser(r,n + a + 14), i = new Fo.Parser(r,n + a + 16 + 2 * o), u = new Fo.Parser(r,n + a + 16 + 4 * o), l = new Fo.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(), v = u.parseShort(), g = l.parseUShort(), m = d; m <= f; m += 1) 0 !== g ? (p = l.offset + l.relativeOffset - 2, p += g, p += 2 * (m - d), 0 !== (h = Fo.getUShort(r, p)) && (h = h + v & 65535)) : h = m + v & 65535, e.glyphIndexMap[m] = h } function _(e, t) { var r = {}; r.version = Fo.getUShort(e, t), Uo.argument(0 === r.version, "cmap table version should be 0."), r.numTables = Fo.getUShort(e, t + 2); for (var n = -1, a = r.numTables - 1; a >= 0; a -= 1) { var o = Fo.getUShort(e, t + 4 + 8 * a) , s = Fo.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 = Fo.getULong(e, t + 4 + 8 * a + 4); break } } if (-1 === n) throw new Error("No valid cmap sub-tables found."); var i = new Fo.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) { var t = !0, r; for (r = e.length - 1; r > 0; r -= 1) { if (e.get(r).unicode > 65535) { console.log("Adding CMAP format 12 (needed!)"), t = !1; break } } var n = [{ 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 || (n = n.concat([{ name: "cmap12PlatformID", type: "USHORT", value: 3 }, { name: "cmap12EncodingID", type: "USHORT", value: 10 }, { name: "cmap12Offset", type: "ULONG", value: 0 }])), n = n.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 a = new Go.Table("cmap",n); for (a.segments = [], r = 0; r < e.length; r += 1) { for (var o = e.get(r), s = 0; s < o.unicodes.length; s += 1) q(a, o.unicodes[s], r); a.segments = a.segments.sort(function(e, t) { return e.start - t.start }) } X(a); var i = a.segments.length , u = 0 , l = [] , p = [] , c = [] , h = [] , f = [] , d = []; for (r = 0; r < i; r += 1) { var v = a.segments[r]; v.end <= 65535 && v.start <= 65535 ? (l = l.concat({ name: "end_" + r, type: "USHORT", value: v.end }), p = p.concat({ name: "start_" + r, type: "USHORT", value: v.start }), c = c.concat({ name: "idDelta_" + r, type: "SHORT", value: v.delta }), h = h.concat({ name: "idRangeOffset_" + r, type: "USHORT", value: v.offset }), void 0 !== v.glyphId && (f = f.concat({ name: "glyph_" + r, type: "USHORT", value: v.glyphId }))) : u += 1, t || void 0 === v.glyphIndex || (d = d.concat({ name: "cmap12Start_" + r, type: "ULONG", value: v.start }), d = d.concat({ name: "cmap12End_" + r, type: "ULONG", value: v.end }), d = d.concat({ name: "cmap12Glyph_" + r, type: "ULONG", value: v.glyphIndex })) } if (a.segCountX2 = 2 * (i - u), a.searchRange = 2 * Math.pow(2, Math.floor(Math.log(i - u) / Math.log(2))), a.entrySelector = Math.log(a.searchRange / 2) / Math.log(2), a.rangeShift = a.segCountX2 - a.searchRange, a.fields = a.fields.concat(l), a.fields.push({ name: "reservedPad", type: "USHORT", value: 0 }), a.fields = a.fields.concat(p), a.fields = a.fields.concat(c), a.fields = a.fields.concat(h), a.fields = a.fields.concat(f), a.cmap4Length = 14 + 2 * l.length + 2 + 2 * p.length + 2 * c.length + 2 * h.length + 2 * f.length, !t) { var g = 16 + 4 * d.length; a.cmap12Offset = 12 + 2 * 2 + 4 + a.cmap4Length, a.fields = a.fields.concat([{ name: "cmap12Format", type: "USHORT", value: 12 }, { name: "cmap12Reserved", type: "USHORT", value: 0 }, { name: "cmap12Length", type: "ULONG", value: g }, { name: "cmap12Language", type: "ULONG", value: 0 }, { name: "cmap12nGroups", type: "ULONG", value: d.length / 3 }]), a.fields = a.fields.concat(d) } return a } 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 = _o.slice(); break; case 2: this.names = new Array(e.numberOfGlyphs); for (var r = 0; r < e.numberOfGlyphs; r++) e.glyphNameIndex[r] < _o.length ? t.names[r] = _o[e.glyphNameIndex[r]] : t.names[r] = e.names[e.glyphNameIndex[r] - _o.length]; break; case 2.5: this.names = new Array(e.numberOfGlyphs); for (var n = 0; n < e.numberOfGlyphs; n++) t.names[n] = _o[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 = e.glyphs.get(s), t.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(e) : 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 v; 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(e, t, r) { Object.defineProperty(e, t, { get: function() { return e.path, e[r] }, set: function(t) { e[r] = t }, 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(e, t, r, n, a, o) { return function() { var s = new re({ index: t, font: e }); return s.path = function() { r(s, n, a); var t = o(e.glyphs, s); return t.unitsPerEm = e.unitsPerEm, t } , ne(s, "xMin", "_xMin"), ne(s, "xMax", "_xMax"), ne(s, "yMin", "_yMin"), ne(s, "yMax", "_yMax"), s } } function ie(e, t, r, n) { return function() { var a = new re({ index: t, font: e }); return a.path = function() { var t = r(e, a, n); return t.unitsPerEm = e.unitsPerEm, t } , a } } function ue(e, t) { if (e === t) return !0; if (Array.isArray(e) && Array.isArray(t)) { if (e.length !== t.length) return !1; for (var r = 0; r < e.length; r += 1) if (!ue(e[r], t[r])) return !1; return !0 } return !1 } function le(e) { var t; return t = e.length < 1240 ? 107 : e.length < 33900 ? 1131 : 32768 } function pe(e, t, r) { var n = [], a = [], o = Fo.getCard16(e, t), s, i; if (0 !== o) { var u = Fo.getByte(e, t + 2); s = t + (o + 1) * u + 2; for (var l = t + 3, p = 0; p < o + 1; p += 1) n.push(Fo.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 = Fo.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 = Fo.getCard16(e, t), a, o; if (0 !== n) { var s = Fo.getByte(e, t + 2); a = t + (n + 1) * s + 2; for (var i = t + 3, u = 0; u < n + 1; u += 1) r.push(Fo.getOffset(e, i, s)), i += s; o = a + r[n] } else o = t + 2; return { offsets: r, startOffset: t, endOffset: o } } function he(e, t, r, n, a) { var o = Fo.getCard16(r, n) , s = 0; if (0 !== o) { s = n + (o + 1) * Fo.getByte(r, n + 2) + 2 } var i = Fo.getBytes(r, s + t[e], s + t[e + 1]); return a && (i = a(i)), i } function fe(e) { var t = "" , r = 15 , n = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ".", "E", "E-", null, "-"]; while (!0) { var a = e.parseByte() , o = a >> 4 , s = 15 & a; if (o === r) break; if (t += n[o], s === r) break; t += n[s] } return parseFloat(t) } function de(e, t) { var r, n, a, o; if (28 === t) return r = e.parseByte(), n = e.parseByte(), r << 8 | n; if (29 === t) return r = e.parseByte(), n = e.parseByte(), a = e.parseByte(), o = e.parseByte(), r << 24 | n << 16 | a << 8 | o; if (30 === t) return fe(e); if (t >= 32 && t <= 246) return t - 139; if (t >= 247 && t <= 250) return r = e.parseByte(), 256 * (t - 247) + r + 108; if (t >= 251 && t <= 254) return r = e.parseByte(), 256 * -(t - 251) - r - 108; throw new Error("Invalid b0 " + t) } function ve(e) { for (var t = {}, r = 0; r < e.length; r += 1) { var n = e[r][0] , a = e[r][1] , o = void 0; if (o = 1 === a.length ? a[0] : a, t.hasOwnProperty(n) && !isNaN(t[n])) throw new Error("Object " + t + " already has key " + n); t[n] = o } return t } function ge(e, t, r) { t = void 0 !== t ? t : 0; var n = new Fo.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 ve(a) } function me(e, t) { return t = t <= 390 ? Ho[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++) a = void 0 !== e[s.op] ? e[s.op][u] : void 0, void 0 === a && (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 a = e[s.op], void 0 === a && (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 = Fo.getCard8(e, t), r.formatMinor = Fo.getCard8(e, t + 1), r.size = Fo.getCard8(e, t + 2), r.offsetSize = Fo.getCard8(e, t + 3), r.startOffset = t, r.endOffset = t + 4, r } function Se(e, t) { return ye(ge(e, 0, e.byteLength), Vo, t) } function xe(e, t, r, n) { return ye(ge(e, t, r), Yo, n) } function Te(e, t, r, n) { for (var a = [], o = 0; o < r.length; o += 1) { var s = new DataView(new Uint8Array(r[o]).buffer) , i = Se(s, n); i._subrs = [], i._subrsBias = 0; var u = i.private[0] , l = i.private[1]; if (0 !== u && 0 !== l) { var p = xe(e, l + t, u, n); if (i._defaultWidthX = p.defaultWidthX, i._nominalWidthX = p.nominalWidthX, 0 !== p.subrs) { var c = l + p.subrs , h = pe(e, c + t); i._subrs = h.objects, i._subrsBias = le(i._subrs) } i._privateDict = p } a.push(i) } return a } function ke(e, t, r, n) { var a, o, s = new Fo.Parser(e,t); r -= 1; var i = [".notdef"] , u = s.parseCard8(); if (0 === u) for (var l = 0; l < r; l += 1) a = s.parseSID(), i.push(me(n, a)); else if (1 === u) while (i.length <= r) { a = s.parseSID(), o = s.parseCard8(); for (var p = 0; p <= o; p += 1) i.push(me(n, a)), a += 1 } else { if (2 !== u) throw new Error("Unknown charset format " + u); while (i.length <= r) { a = s.parseSID(), o = s.parseCard16(); for (var c = 0; c <= o; c += 1) i.push(me(n, a)), a += 1 } } return i } function Ue(e, t, r) { var n, a = {}, o = new Fo.Parser(e,t), s = o.parseCard8(); if (0 === s) for (var i = o.parseCard8(), u = 0; u < i; u += 1) n = o.parseCard8(), a[n] = u; else { if (1 !== s) throw new Error("Unknown encoding format " + s); var l = o.parseCard8(); n = 1; for (var p = 0; p < l; p += 1) for (var c = o.parseCard8(), h = o.parseCard8(), f = c; f <= c + h; f += 1) a[f] = n, n += 1 } return new Z(a,r) } function Oe(e, t, r) { function n(e, t) { d && p.closePath(), p.moveTo(e, t), d = !0 } function a() { var e; e = c.length % 2 != 0, e && !f && (U = c.shift() + x), h += c.length >> 1, c.length = 0, f = !0 } function o(r) { var v, S, T, k, O, E, w, R, L, C, D, I, M = 0; while (M < r.length) { var B = r[M]; switch (M += 1, B) { case 1: a(); break; case 3: a(); break; case 4: c.length > 1 && !f && (U = c.shift() + x, f = !0), m += c.pop(), n(g, m); break; case 5: while (c.length > 0) g += c.shift(), m += c.shift(), p.lineTo(g, m); break; case 6: while (c.length > 0) { if (g += c.shift(), p.lineTo(g, m), 0 === c.length) break; m += c.shift(), p.lineTo(g, m) } break; case 7: while (c.length > 0) { if (m += c.shift(), p.lineTo(g, m), 0 === c.length) break; g += c.shift(), p.lineTo(g, m) } break; case 8: while (c.length > 0) s = g + c.shift(), i = m + c.shift(), u = s + c.shift(), l = i + c.shift(), g = u + c.shift(), m = l + c.shift(), p.curveTo(s, i, u, l, g, m); break; case 10: O = c.pop() + b, E = y[O], E && o(E); break; case 11: return; case 12: switch (B = r[M], M += 1, B) { case 35: s = g + c.shift(), i = m + c.shift(), u = s + c.shift(), l = i + c.shift(), w = u + c.shift(), R = l + c.shift(), L = w + c.shift(), C = R + c.shift(), D = L + c.shift(), I = C + c.shift(), g = D + c.shift(), m = I + c.shift(), c.shift(), p.curveTo(s, i, u, l, w, R), p.curveTo(L, C, D, I, g, m); break; case 34: s = g + c.shift(), i = m, u = s + c.shift(), l = i + c.shift(), w = u + c.shift(), R = l, L = w + c.shift(), C = l, D = L + c.shift(), I = m, g = D + c.shift(), p.curveTo(s, i, u, l, w, R), p.curveTo(L, C, D, I, g, m); break; case 36: s = g + c.shift(), i = m + c.shift(), u = s + c.shift(), l = i + c.shift(), w = u + c.shift(), R = l, L = w + c.shift(), C = l, D = L + c.shift(), I = C + c.shift(), g = D + c.shift(), p.curveTo(s, i, u, l, w, R), p.curveTo(L, C, D, I, g, m); break; case 37: s = g + c.shift(), i = m + c.shift(), u = s + c.shift(), l = i + c.shift(), w = u + c.shift(), R = l + c.shift(), L = w + c.shift(), C = R + c.shift(), D = L + c.shift(), I = C + c.shift(), Math.abs(D - g) > Math.abs(I - m) ? g = D + c.shift() : m = I + c.shift(), p.curveTo(s, i, u, l, w, R), p.curveTo(L, C, D, I, g, m); break; default: console.log("Glyph " + t.index + ": unknown operator " + 1200 + B), c.length = 0 } break; case 14: c.length > 0 && !f && (U = c.shift() + x, f = !0), d && (p.closePath(), d = !1); break; case 18: a(); break; case 19: case 20: a(), M += h + 7 >> 3; break; case 21: c.length > 2 && !f && (U = c.shift() + x, f = !0), m += c.pop(), g += c.pop(), n(g, m); break; case 22: c.length > 1 && !f && (U = c.shift() + x, f = !0), g += c.pop(), n(g, m); break; case 23: a(); break; case 24: while (c.length > 2) s = g + c.shift(), i = m + c.shift(), u = s + c.shift(), l = i + c.shift(), g = u + c.shift(), m = l + c.shift(), p.curveTo(s, i, u, l, g, m); g += c.shift(), m += c.shift(), p.lineTo(g, m); break; case 25: while (c.length > 6) g += c.shift(), m += c.shift(), p.lineTo(g, m); s = g + c.shift(), i = m + c.shift(), u = s + c.shift(), l = i + c.shift(), g = u + c.shift(), m = l + c.shift(), p.curveTo(s, i, u, l, g, m); break; case 26: c.length % 2 && (g += c.shift()); while (c.length > 0) s = g, i = m + c.shift(), u = s + c.shift(), l = i + c.shift(), g = u, m = l + c.shift(), p.curveTo(s, i, u, l, g, m); break; case 27: c.length % 2 && (m += c.shift()); while (c.length > 0) s = g + c.shift(), i = m, u = s + c.shift(), l = i + c.shift(), g = u + c.shift(), m = l, p.curveTo(s, i, u, l, g, m); break; case 28: v = r[M], S = r[M + 1], c.push((v << 24 | S << 16) >> 16), M += 2; break; case 29: O = c.pop() + e.gsubrsBias, E = e.gsubrs[O], E && o(E); break; case 30: while (c.length > 0) { if (s = g, i = m + c.shift(), u = s + c.shift(), l = i + c.shift(), g = u + c.shift(), m = l + (1 === c.length ? c.shift() : 0), p.curveTo(s, i, u, l, g, m), 0 === c.length) break; s = g + c.shift(), i = m, u = s + c.shift(), l = i + c.shift(), m = l + c.shift(), g = u + (1 === c.length ? c.shift() : 0), p.curveTo(s, i, u, l, g, m) } break; case 31: while (c.length > 0) { if (s = g + c.shift(), i = m, u = s + c.shift(), l = i + c.shift(), m = l + c.shift(), g = u + (1 === c.length ? c.shift() : 0), p.curveTo(s, i, u, l, g, m), 0 === c.length) break; s = g, i = m + c.shift(), u = s + c.shift(), l = i + c.shift(), g = u + c.shift(), m = l + (1 === c.length ? c.shift() : 0), p.curveTo(s, i, u, l, g, m) } break; default: B < 32 ? console.log("Glyph " + t.index + ": unknown operator " + B) : B < 247 ? c.push(B - 139) : B < 251 ? (v = r[M], M += 1, c.push(256 * (B - 247) + v + 108)) : B < 255 ? (v = r[M], M += 1, c.push(256 * -(B - 251) - v - 108)) : (v = r[M], S = r[M + 1], T = r[M + 2], k = r[M + 3], M += 4, c.push((v << 24 | S << 16 | T << 8 | k) / 65536)) } } } var s, i, u, l, p = new v, c = [], h = 0, f = !1, d = !1, g = 0, m = 0, y, b, S, x; if (e.isCIDFont) { var T = e.tables.cff.topDict._fdSelect[t.index] , k = e.tables.cff.topDict._fdArray[T]; y = k._subrs, b = k._subrsBias, S = k._defaultWidthX, x = k._nominalWidthX } else y = e.tables.cff.topDict._subrs, b = e.tables.cff.topDict._subrsBias, S = e.tables.cff.topDict._defaultWidthX, x = e.tables.cff.topDict._nominalWidthX; var U = S; return o(r), t.advanceWidth = U, p } function Ee(e, t, r, n) { var a = [], o, s = new Fo.Parser(e,t), i = s.parseCard8(); if (0 === i) for (var u = 0; u < r; u++) { if ((o = s.parseCard8()) >= n) throw new Error("CFF table CID Font FDSelect has bad FD index value " + o + " (FD count " + n + ")"); a.push(o) } else { if (3 !== i) throw new Error("CFF Table CID Font FDSelect table has unsupported format " + i); var l = s.parseCard16() , p = s.parseCard16(); if (0 !== p) throw new Error("CFF Table CID Font FDSelect format 3 range has bad initial GID " + p); for (var c, h = 0; h < l; h++) { if (o = s.parseCard8(), c = s.parseCard16(), o >= n) throw new Error("CFF table CID Font FDSelect has bad FD index value " + o + " (FD count " + n + ")"); if (c > r) throw new Error("CFF Table CID Font FDSelect format 3 range has bad GID " + c); for (; p < c; p++) a.push(o); p = c } if (c !== r) throw new Error("CFF Table CID Font FDSelect format 3 range has bad final GID " + c) } return a } function we(e, t, r, n) { r.tables.cff = {}; var a = be(e, t) , o = pe(e, a.endOffset, Fo.bytesToString) , s = pe(e, o.endOffset) , i = pe(e, s.endOffset, Fo.bytesToString) , u = pe(e, i.endOffset); r.gsubrs = u.objects, r.gsubrsBias = le(r.gsubrs); var l = Te(e, t, s.objects, i.objects); if (1 !== l.length) throw new Error("CFF table has too many fonts in 'FontSet' - count of fonts NameIndex.length = " + l.length); var p = l[0]; if (r.tables.cff.topDict = p, p._privateDict && (r.defaultWidthX = p._privateDict.defaultWidthX, r.nominalWidthX = p._privateDict.nominalWidthX), void 0 !== p.ros[0] && void 0 !== p.ros[1] && (r.isCIDFont = !0), r.isCIDFont) { var c = p.fdArray , h = p.fdSelect; if (0 === c || 0 === h) throw new Error("Font is marked as a CID font, but FDArray and/or FDSelect information is missing"); c += t; var f = pe(e, c) , d = Te(e, t, f.objects, i.objects); p._fdArray = d, h += t, p._fdSelect = Ee(e, h, r.numGlyphs, d.length) } var v = t + p.private[1] , g = xe(e, v, p.private[0], i.objects); if (r.defaultWidthX = g.defaultWidthX, r.nominalWidthX = g.nominalWidthX, 0 !== g.subrs) { var m = v + g.subrs , y = pe(e, m); r.subrs = y.objects, r.subrsBias = le(r.subrs) } else r.subrs = [], r.subrsBias = 0; var b; n.lowMemory ? (b = ce(e, t + p.charStrings), r.nGlyphs = b.offsets.length) : (b = pe(e, t + p.charStrings), r.nGlyphs = b.objects.length); var S = ke(e, t + p.charset, r.nGlyphs, i.objects); if (0 === p.encoding ? r.cffEncoding = new Z(zo,S) : 1 === p.encoding ? r.cffEncoding = new Z(Wo,S) : r.cffEncoding = Ue(e, t + p.encoding, S), r.encoding = r.encoding || r.cffEncoding, r.glyphs = new Xo.GlyphSet(r), n.lowMemory) r._push = function(n) { var a = he(n, b.offsets, e, t + p.charStrings); r.glyphs.push(n, Xo.cffGlyphLoader(r, n, Oe, a)) } ; else for (var x = 0; x < r.nGlyphs; x += 1) { var T = b.objects[x]; r.glyphs.push(x, Xo.cffGlyphLoader(r, x, Oe, T)) } } function Re(e, t) { var r, n = Ho.indexOf(e); return n >= 0 && (r = n), n = t.indexOf(e), n >= 0 ? r = n + Ho.length : (r = Ho.length + t.length, t.push(e)), r } function Le() { return new Go.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 Go.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 Go.Record("Top DICT",[{ name: "dict", type: "DICT", value: {} }]); return r.dict = De(Vo, e, t), r } function Me(e) { var t = new Go.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 Go.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 Go.Record("Global Subr INDEX",[{ name: "subrs", type: "INDEX", value: [] }]) } function Ne(e, t) { for (var r = new Go.Record("Charsets",[{ name: "format", type: "Card8", value: 0 }]), n = 0; n < e.length; n += 1) { var a = e[n] , o = Re(a, t); r.fields.push({ name: "glyph_" + n, type: "SID", value: o }) } return r } function Ae(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]; if ("Q" === u.type) { var 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 } } if ("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); else if ("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); else if ("C" === u.type) { var c = Math.round(u.x1 - n) , h = Math.round(u.y1 - a) , f = Math.round(u.x2 - u.x1) , d = 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: f }), t.push({ name: "dy2", type: "NUMBER", value: d }), 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 Fe(e) { for (var t = new Go.Record("CharStrings INDEX",[{ name: "charStrings", type: "INDEX", value: [] }]), r = 0; r < e.length; r += 1) { var n = e.get(r) , a = Ae(n); t.charStrings.push({ name: n.name, type: "CHARSTRING", value: a }) } return t } function Pe(e, t) { var r = new Go.Record("Private DICT",[{ name: "dict", type: "DICT", value: {} }]); return r.dict = De(Yo, e, t), r } function He(e, t) { for (var r = new Go.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 l = []; r.header = Le(), r.nameIndex = Ce([t.postScriptName]); var p = Ie(a, l); r.topDictIndex = Me(p), r.globalSubrIndex = Ge(), r.charsets = Ne(s, l), r.charStringsIndex = Fe(e), r.privateDict = Pe(o, l), r.stringIndex = Be(l); var c = r.header.sizeOf() + r.nameIndex.sizeOf() + r.topDictIndex.sizeOf() + r.stringIndex.sizeOf() + r.globalSubrIndex.sizeOf(); return a.charset = c, a.encoding = 0, a.charStrings = a.charset + r.charsets.sizeOf(), a.private[1] = a.charStrings + r.charStringsIndex.sizeOf(), p = Ie(a, l), r.topDictIndex = Me(p), r } function ze(e, t) { var r = {} , n = new Fo.Parser(e,t); return r.version = n.parseVersion(), r.fontRevision = Math.round(1e3 * n.parseFixed()) / 1e3, r.checkSumAdjustment = n.parseULong(), r.magicNumber = n.parseULong(), Uo.argument(1594834165 === r.magicNumber, "Font header has wrong magic number."), r.flags = n.parseUShort(), r.unitsPerEm = n.parseUShort(), r.created = n.parseLongDateTime(), r.modified = n.parseLongDateTime(), r.xMin = n.parseShort(), r.yMin = n.parseShort(), r.xMax = n.parseShort(), r.yMax = n.parseShort(), r.macStyle = n.parseUShort(), r.lowestRecPPEM = n.parseUShort(), r.fontDirectionHint = n.parseShort(), r.indexToLocFormat = n.parseShort(), r.glyphDataFormat = n.parseShort(), r } function We(e) { var t = Math.round((new Date).getTime() / 1e3) + 2082844800 , r = t; return e.createdTimestamp && (r = e.createdTimestamp + 2082844800), new Go.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 = {} , n = new Fo.Parser(e,t); return r.version = n.parseVersion(), r.ascender = n.parseShort(), r.descender = n.parseShort(), r.lineGap = n.parseShort(), r.advanceWidthMax = n.parseUShort(), r.minLeftSideBearing = n.parseShort(), r.minRightSideBearing = n.parseShort(), r.xMaxExtent = n.parseShort(), r.caretSlopeRise = n.parseShort(), r.caretSlopeRun = n.parseShort(), r.caretOffset = n.parseShort(), n.relativeOffset += 8, r.metricDataFormat = n.parseShort(), r.numberOfHMetrics = n.parseUShort(), r } function qe(e) { return new Go.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 Fo.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) { e._hmtxTableData = {}; for (var o, s, i = new Fo.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 Go.Table("hmtx",[]), r = 0; r < e.length; r += 1) { var n = e.get(r) , a = n.advanceWidth || 0 , o = n.leftSideBearing || 0; t.fields.push({ name: "advanceWidth_" + r, type: "USHORT", value: a }), t.fields.push({ name: "leftSideBearing_" + r, type: "SHORT", value: o }) } return t } function Ze(e) { for (var t = new Go.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 Fo.Parser(e,t) , n = r.parseULong(); Uo.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 = {} , n = new Fo.Parser(e,t); return r.version = n.parseVersion(), r.numGlyphs = n.parseUShort(), 1 === r.version && (r.maxPoints = n.parseUShort(), r.maxContours = n.parseUShort(), r.maxCompositePoints = n.parseUShort(), r.maxCompositeContours = n.parseUShort(), r.maxZones = n.parseUShort(), r.maxTwilightPoints = n.parseUShort(), r.maxStorage = n.parseUShort(), r.maxFunctionDefs = n.parseUShort(), r.maxInstructionDefs = n.parseUShort(), r.maxStackElements = n.parseUShort(), r.maxSizeOfInstructions = n.parseUShort(), r.maxComponentElements = n.parseUShort(), r.maxComponentDepth = n.parseUShort()), r } function Je(e) { return new Go.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 ts[t]; case 3: return ns[t] } return } function et(e, t, r) { switch (e) { case 0: return as; case 1: return ss[r] || os[t]; case 3: if (1 === t || 10 === t) return as; break } return } function tt(e, t, r) { for (var n = {}, a = new Fo.Parser(e,t), o = a.parseUShort(), s = a.parseUShort(), i = a.offset + a.parseUShort(), u = 0; u < s; u++) { var l = a.parseUShort() , p = a.parseUShort() , c = a.parseUShort() , h = a.parseUShort() , f = es[h] || h , d = a.parseUShort() , v = a.parseUShort() , g = $e(l, c, r) , m = et(l, p, c); if (void 0 !== m && void 0 !== g) { var y = void 0; if (y = m === as ? wo.UTF16(e, i + v, d) : wo.MACSTRING(e, i + v, d, m)) { var b = n[f]; void 0 === b && (b = n[f] = {}), b[g] = y } } } var S = 0; return 1 === o && (S = a.parseUShort()), n } function rt(e) { var t = {}; for (var r in e) t[e[r]] = parseInt(r); return t } function nt(e, t, r, n, a, o) { return new Go.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(es); for (var 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(ts), l = rt(ns), p = [], c = [], h = 0; h < n.length; h++) { r = n[h]; var f = a[r]; for (var d in f) { var v = f[d] , g = 1 , m = u[d] , y = rs[m] , b = et(g, y, m) , S = Ro.MACSTRING(v, b); void 0 === S && (g = 0, m = t.indexOf(d), m < 0 && (m = t.length, t.push(d)), y = 4, S = Ro.UTF16(v)); var x = ot(S, c); p.push(nt(g, y, m, r, S.length, x)); var T = l[d]; if (void 0 !== T) { var k = Ro.UTF16(v) , U = ot(k, c); p.push(nt(3, 1, T, r, k.length, U)) } } } p.sort(function(e, t) { return e.platformID - t.platformID || e.encodingID - t.encodingID || e.languageID - t.languageID || e.nameID - t.nameID }); for (var O = new Go.Table("name",[{ name: "format", type: "USHORT", value: 0 }, { name: "count", type: "USHORT", value: p.length }, { name: "stringOffset", type: "USHORT", value: 6 + 12 * p.length }]), E = 0; E < p.length; E++) O.fields.push({ name: "record_" + E, type: "RECORD", value: p[E] }); return O.fields.push({ name: "strings", type: "LITERAL", value: c }), O } function it(e) { for (var t = 0; t < us.length; t += 1) { var r = us[t]; if (e >= r.begin && e < r.end) return t } return -1 } function ut(e, t) { var r = {} , n = new Fo.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(), r.version >= 1 && (r.ulCodePageRange1 = n.parseULong(), r.ulCodePageRange2 = n.parseULong()), r.version >= 2 && (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 Go.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 Fo.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 = _o.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; o < r.numberOfGlyphs; o++) if (r.glyphNameIndex[o] >= _o.length) { var 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 Go.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) { t = t || 0; var r = new H(e,t) , n = r.parseVersion(1); return Uo.argument(1 === n || 1.1 === n, "Unsupported GSUB table version."), 1 === n ? { version: n, scripts: r.parseScriptList(), features: r.parseFeatureList(), lookups: r.parseLookupList(cs) } : { version: n, scripts: r.parseScriptList(), features: r.parseFeatureList(), lookups: r.parseLookupList(cs), variations: r.parseFeatureVariationsList() } } function ft(e) { return new Go.Table("GSUB",[{ name: "version", type: "ULONG", value: 65536 }, { name: "scripts", type: "TABLE", value: new Go.ScriptList(e.scripts) }, { name: "features", type: "TABLE", value: new Go.FeatureList(e.features) }, { name: "lookups", type: "TABLE", value: new Go.LookupList(e.lookups,fs) }]) } function dt(e, t) { var r = new Fo.Parser(e,t) , n = r.parseULong(); Uo.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() , p = wo.UTF8(e, t + u, l); o[i] = p } return o } function vt(e) { var t = Object.keys(e).length , r = "" , n = 16 + 12 * t , a = new Go.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 }]); for (var 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 gt(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 Go.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 Go.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, gt(t.numTables)); t.searchRange = 16 * r, t.entrySelector = gt(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]; Uo.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, Uo.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]); if (a > 0) { 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 v = e.glyphs.get(d) , g = 0 | v.unicode; if (isNaN(v.advanceWidth)) throw new Error("Glyph " + v.name + " (" + d + "): advanceWidth is not a number."); (u > g || void 0 === u) && g > 0 && (u = g), l < g && (l = g); var m = ls.getUnicodeRange(g); if (m < 32) p |= 1 << m; else if (m < 64) c |= 1 << m - 32; else if (m < 96) h |= 1 << m - 64; else { if (!(m < 123)) throw new Error("Unicode ranges bits > 123 are reserved for internal usage"); f |= 1 << m - 96 } if (".notdef" === v.name) continue; var y = v.getMetrics(); t.push(y.xMin), r.push(y.yMin), n.push(y.xMax), a.push(y.yMax), s.push(y.leftSideBearing), i.push(y.rightSideBearing), o.push(v.advanceWidth) } var b = { 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) }; b.ascender = e.ascender, b.descender = e.descender; var S = Zo.make({ flags: 3, unitsPerEm: e.unitsPerEm, xMin: b.xMin, yMin: b.yMin, xMax: b.xMax, yMax: b.yMax, lowestRecPPEM: 3, createdTimestamp: e.createdTimestamp }) , x = Qo.make({ ascender: b.ascender, descender: b.descender, advanceWidthMax: b.advanceWidthMax, minLeftSideBearing: b.minLeftSideBearing, minRightSideBearing: b.minRightSideBearing, xMaxExtent: b.maxLeftSideBearing + (b.xMax - b.xMin), numberOfHMetrics: e.glyphs.length }) , T = $o.make(e.glyphs.length) , k = ls.make({ xAvgCharWidth: Math.round(b.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: b.ascender, sTypoDescender: b.descender, sTypoLineGap: 0, usWinAscent: b.yMax, usWinDescent: Math.abs(b.yMin), ulCodePageRange1: 1, sxHeight: St(e, "xyvw", { yMax: Math.round(b.ascender / 2) }).yMax, sCapHeight: St(e, "HIKLEFJMNTZBDPRAGOQSUVWXY", b).yMax, usDefaultChar: e.hasChar(" ") ? 32 : 0, usBreakChar: e.hasChar(" ") ? 32 : 0 }) , U = Ko.make(e.glyphs) , O = Po.make(e.glyphs) , E = e.getEnglishName("fontFamily") , w = e.getEnglishName("fontSubfamily") , R = E + " " + w , L = e.getEnglishName("postScriptName"); L || (L = E.replace(/\s/g, "") + "-" + w); var C = {}; for (var D in e.names) C[D] = e.names[D]; C.uniqueID || (C.uniqueID = { en: e.getEnglishName("manufacturer") + ":" + R }), C.postScriptName || (C.postScriptName = { en: L }), C.preferredFamily || (C.preferredFamily = e.names.fontFamily), C.preferredSubfamily || (C.preferredSubfamily = e.names.fontSubfamily); var I = [] , M = is.make(C, I) , B = I.length > 0 ? Jo.make(I) : void 0 , G = ps.make() , N = jo.make(e.glyphs, { version: e.getEnglishName("version"), fullName: R, familyName: E, weightName: w, postScriptName: L, unitsPerEm: e.unitsPerEm, fontBBox: [0, b.yMin, b.ascender, b.advanceWidthMax] }) , A = e.metas && Object.keys(e.metas).length > 0 ? vs.make(e.metas) : void 0 , F = [S, x, T, k, M, O, G, N, U]; B && F.push(B), e.tables.gsub && F.push(ds.make(e.tables.gsub)), A && F.push(A); for (var P = bt(F), H = P.encode(), z = mt(H), W = P.fields, _ = !1, q = 0; q < W.length; q += 1) if ("head table" === W[q].name) { W[q].value.checkSumAdjustment = 2981146554 - z, _ = !0; break } if (!_) throw new Error("Could not find head table with checkSum to adjust."); return P } 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 = e[o]; var s = r.start; if (s === t) return r; s < t ? n = o + 1 : a = o - 1 } if (n > 0) { if (r = e[n - 1], t > r.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 !1; for (var n = 0; n < r; n++) if (e[n] !== t[n]) return !1; return !0 } 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; return (t & n) > 0 ? (o = e.parseByte(), 0 == (t & a) && (o = -o), o = r + o) : o = (t & a) > 0 ? r : r + e.parseShort(), o } function Nt(e, t, r) { var n = new Fo.Parser(t,r); e.numberOfContours = n.parseShort(), e._xMin = n.parseShort(), e._yMin = n.parseShort(), e._xMax = n.parseShort(), e._yMax = n.parseShort(); var a, o; if (e.numberOfContours > 0) { 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()); var l = s[s.length - 1] + 1; a = []; for (var p = 0; p < l; p += 1) if (o = n.parseByte(), a.push(o), (8 & o) > 0) for (var c = n.parseByte(), h = 0; h < c; h += 1) a.push(o), p += 1; if (Uo.argument(a.length === l, "Bad flags."), s.length > 0) { var f = [], d; if (l > 0) { for (var v = 0; v < l; v += 1) o = a[v], d = {}, d.onCurve = !!(1 & o), d.lastPointOfContour = s.indexOf(v) >= 0, f.push(d); for (var g = 0, m = 0; m < l; m += 1) o = a[m], d = f[m], d.x = Gt(n, o, g, 2, 16), g = d.x; for (var y = 0, b = 0; b < l; b += 1) o = a[b], d = f[b], d.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 = [], e.components = []; var S = !0; while (S) { a = n.parseUShort(); var x = { glyphIndex: n.parseUShort(), xScale: 1, scale01: 0, scale10: 0, yScale: 1, dx: 0, dy: 0 }; (1 & a) > 0 ? (2 & a) > 0 ? (x.dx = n.parseShort(), x.dy = n.parseShort()) : x.matchedPoints = [n.parseUShort(), n.parseUShort()] : (2 & a) > 0 ? (x.dx = n.parseChar(), x.dy = n.parseChar()) : x.matchedPoints = [n.parseByte(), n.parseByte()], (8 & a) > 0 ? x.xScale = x.yScale = n.parseF2Dot14() : (64 & a) > 0 ? (x.xScale = n.parseF2Dot14(), x.yScale = n.parseF2Dot14()) : (128 & a) > 0 && (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 At(e, t) { for (var r = [], n = 0; n < e.length; n += 1) { var a = e[n] , o = { 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(o) } return r } function Ft(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 Uo.argument(0 === r.length, "There are still points left in the current contour."), t } function Pt(e) { var t = new v; if (!e) return t; for (var r = Ft(e), n = 0; n < r.length; ++n) { var a = r[n] , o = null , s = a[a.length - 1] , i = a[0]; if (s.onCurve) t.moveTo(s.x, s.y); else if (i.onCurve) t.moveTo(i.x, i.y); else { var 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) if (o = s, s = i, i = a[(l + 1) % a.length], s.onCurve) t.lineTo(s.x, s.y); else { var p = o , c = i; 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 = At(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]] , u = { xScale: n.xScale, scale01: n.scale01, scale10: n.scale10, yScale: n.yScale, dx: 0, dy: 0 }; i = At([i], u)[0], u.dx = s.x - i.x, u.dy = s.y - i.y, o = At(a.points, u) } t.points = t.points.concat(o) } } return Pt(t.points) } function zt(e, t, r, n) { for (var a = new Xo.GlyphSet(n), o = 0; o < r.length - 1; o += 1) { var s = r[o]; s !== r[o + 1] ? a.push(o, Xo.ttfGlyphLoader(n, o, Nt, e, t + s, Ht)) : a.push(o, Xo.glyphLoader(n, o)) } return a } function Wt(e, t, r, n) { var a = new Xo.GlyphSet(n); return n._push = function(o) { var s = r[o]; s !== r[o + 1] ? a.push(o, Xo.ttfGlyphLoader(n, o, Nt, e, t + s, Ht)) : a.push(o, Xo.glyphLoader(n, o)) } , a } function _t(e, t, r, n, a) { return a.lowMemory ? Wt(e, t, r, n) : zt(e, t, r, n) } function qt(e) { this.font = e, this.getCommands = function(e) { return ms.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 e /= r, t /= r, 1 === e && 0 === t ? ks : 0 === e && 1 === t ? Us : 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 = ks, 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 (o >= 176 && o <= 183) n += o - 176 + 1; else if (o >= 184 && o <= 191) n += 2 * (o - 184 + 1); else if (t && 1 === a && 27 === o) break } while (a > 0); e.ip = n } function nr(t, r) { e.DEBUG && console.log(r.step, "SVTCA[" + t.axis + "]"), r.fv = r.pv = r.dpv = t } function ar(t, r) { e.DEBUG && console.log(r.step, "SPVTCA[" + t.axis + "]"), r.pv = r.dpv = t } function or(t, r) { e.DEBUG && console.log(r.step, "SFVTCA[" + t.axis + "]"), r.fv = t } function sr(t, r) { var n = r.stack , a = n.pop() , o = n.pop() , s = r.z2[a] , i = r.z1[o]; e.DEBUG && console.log("SPVTL[" + t + "]", a, o); var u, l; t ? (u = s.y - i.y, l = i.x - s.x) : (u = i.x - s.x, l = i.y - s.y), r.pv = r.dpv = Jt(u, l) } function ir(t, r) { var n = r.stack , a = n.pop() , o = n.pop() , s = r.z2[a] , i = r.z1[o]; e.DEBUG && console.log("SFVTL[" + t + "]", a, o); var u, l; t ? (u = s.y - i.y, l = i.x - s.x) : (u = i.x - s.x, l = i.y - s.y), r.fv = Jt(u, l) } function ur(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "SPVFS[]", n, a), t.pv = t.dpv = Jt(a, n) } function lr(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "SPVFS[]", n, a), t.fv = Jt(a, n) } function pr(t) { var r = t.stack , n = t.pv; e.DEBUG && console.log(t.step, "GPV[]"), r.push(16384 * n.x), r.push(16384 * n.y) } function cr(t) { var r = t.stack , n = t.fv; e.DEBUG && console.log(t.step, "GFV[]"), r.push(16384 * n.x), r.push(16384 * n.y) } function hr(t) { t.fv = t.pv, e.DEBUG && console.log(t.step, "SFVTPV[]") } function fr(t) { var r = t.stack , n = r.pop() , a = r.pop() , o = r.pop() , s = r.pop() , i = r.pop() , u = t.z0 , l = t.z1 , p = u[n] , c = u[a] , h = l[o] , f = l[s] , d = t.z2[i]; e.DEBUG && console.log("ISECT[], ", n, a, o, s, i); var v = p.x , g = p.y , m = c.x , y = c.y , b = h.x , S = h.y , x = f.x , T = f.y , k = (v - m) * (S - T) - (g - y) * (b - x) , U = v * y - g * m , O = b * T - S * x; d.x = (U * (b - x) - O * (v - m)) / k, d.y = (U * (S - T) - O * (g - y)) / k } function dr(t) { t.rp0 = t.stack.pop(), e.DEBUG && console.log(t.step, "SRP0[]", t.rp0) } function vr(t) { t.rp1 = t.stack.pop(), e.DEBUG && console.log(t.step, "SRP1[]", t.rp1) } function gr(t) { t.rp2 = t.stack.pop(), e.DEBUG && console.log(t.step, "SRP2[]", t.rp2) } function mr(t) { var r = t.stack.pop(); switch (e.DEBUG && console.log(t.step, "SZP0[]", r), t.zp0 = r, r) { case 0: t.tZone || tr(t), t.z0 = t.tZone; break; case 1: t.z0 = t.gZone; break; default: throw new Error("Invalid zone pointer") } } function yr(t) { var r = t.stack.pop(); switch (e.DEBUG && console.log(t.step, "SZP1[]", r), t.zp1 = r, r) { case 0: t.tZone || tr(t), t.z1 = t.tZone; break; case 1: t.z1 = t.gZone; break; default: throw new Error("Invalid zone pointer") } } function br(t) { var r = t.stack.pop(); switch (e.DEBUG && console.log(t.step, "SZP2[]", r), t.zp2 = r, r) { case 0: t.tZone || tr(t), t.z2 = t.tZone; break; case 1: t.z2 = t.gZone; break; default: throw new Error("Invalid zone pointer") } } function Sr(t) { var r = t.stack.pop(); switch (e.DEBUG && console.log(t.step, "SZPS[]", r), t.zp0 = t.zp1 = t.zp2 = r, r) { case 0: t.tZone || tr(t), t.z0 = t.z1 = t.z2 = t.tZone; break; case 1: t.z0 = t.z1 = t.z2 = t.gZone; break; default: throw new Error("Invalid zone pointer") } } function xr(t) { t.loop = t.stack.pop(), e.DEBUG && console.log(t.step, "SLOOP[]", t.loop) } function Tr(t) { e.DEBUG && console.log(t.step, "RTG[]"), t.round = Vt } function kr(t) { e.DEBUG && console.log(t.step, "RTHG[]"), t.round = jt } function Ur(t) { var r = t.stack.pop(); e.DEBUG && console.log(t.step, "SMD[]", r), t.minDis = r / 64 } function Or(t) { e.DEBUG && console.log(t.step, "ELSE[]"), rr(t, !1) } function Er(t) { var r = t.stack.pop(); e.DEBUG && console.log(t.step, "JMPR[]", r), t.ip += r - 1 } function wr(t) { var r = t.stack.pop(); e.DEBUG && console.log(t.step, "SCVTCI[]", r), t.cvCutIn = r / 64 } function Rr(t) { var r = t.stack; e.DEBUG && console.log(t.step, "DUP[]"), r.push(r[r.length - 1]) } function Lr(t) { e.DEBUG && console.log(t.step, "POP[]"), t.stack.pop() } function Cr(t) { e.DEBUG && console.log(t.step, "CLEAR[]"), t.stack.length = 0 } function Dr(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "SWAP[]"), r.push(n), r.push(a) } function Ir(t) { var r = t.stack; e.DEBUG && console.log(t.step, "DEPTH[]"), r.push(r.length) } function Mr(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "LOOPCALL[]", n, a); var o = t.ip , s = t.prog; t.prog = t.funcs[n]; for (var i = 0; i < a; i++) bs(t), e.DEBUG && console.log(++t.step, i + 1 < a ? "next loopcall" : "done loopcall", i); t.ip = o, t.prog = s } function Br(t) { var r = t.stack.pop(); e.DEBUG && console.log(t.step, "CALL[]", r); var n = t.ip , a = t.prog; t.prog = t.funcs[r], bs(t), t.ip = n, t.prog = a, e.DEBUG && console.log(++t.step, "returning from", r) } function Gr(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "CINDEX[]", n), r.push(r[r.length - n]) } function Nr(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "MINDEX[]", n), r.push(r.splice(r.length - n, 1)[0]) } function Ar(t) { if ("fpgm" !== t.env) throw new Error("FDEF not allowed here"); var r = t.stack , n = t.prog , a = t.ip , o = r.pop() , s = a; e.DEBUG && console.log(t.step, "FDEF[]", o); while (45 !== n[++a]) ; t.ip = a, t.funcs[o] = n.slice(s + 1, a) } function Fr(t, r) { var n = r.stack.pop() , a = r.z0[n] , o = r.fv , s = r.pv; e.DEBUG && console.log(r.step, "MDAP[" + t + "]", n); var i = s.distance(a, Os); t && (i = r.round(i)), o.setRelative(a, Os, i, s), o.touch(a), r.rp0 = r.rp1 = n } function Pr(t, r) { var n = r.z2, a = n.length - 2, o, s, i; e.DEBUG && console.log(r.step, "IUP[" + t.axis + "]"); for (var u = 0; u < a; u++) { if (o = n[u], t.touched(o)) continue; if ((s = o.prevTouched(t)) === o) continue; i = o.nextTouched(t), s === i && t.setRelative(o, o, t.distance(s, s, !1, !0), t, !0), t.interpolate(o, s, i, t) } } function Hr(t, r) { var n = r.stack , a = t ? r.rp1 : r.rp2 , o = (t ? r.z0 : r.z1)[a] , s = r.fv , i = r.pv , u = r.loop , l = r.z2; while (u--) { var p = n.pop() , c = l[p] , h = i.distance(o, o, !1, !0); s.setRelative(c, c, h, i), s.touch(c), e.DEBUG && console.log(r.step, (r.loop > 1 ? "loop " + (r.loop - u) + ": " : "") + "SHP[" + (t ? "rp1" : "rp2") + "]", p) } r.loop = 1 } function zr(t, r) { var n = r.stack , a = t ? r.rp1 : r.rp2 , o = (t ? r.z0 : r.z1)[a] , s = r.fv , i = r.pv , u = n.pop() , l = r.z2[r.contours[u]] , p = l; e.DEBUG && console.log(r.step, "SHC[" + t + "]", u); var c = i.distance(o, o, !1, !0); do { p !== o && s.setRelative(p, p, c, i), p = p.nextPointOnContour } while (p !== l) } function Wr(t, r) { var n = r.stack , a = t ? r.rp1 : r.rp2 , o = (t ? r.z0 : r.z1)[a] , s = r.fv , i = r.pv , u = n.pop(); e.DEBUG && console.log(r.step, "SHZ[" + t + "]", u); var l; switch (u) { case 0: l = r.tZone; break; case 1: l = r.gZone; break; default: throw new Error("Invalid zone") } for (var p, c = i.distance(o, o, !1, !0), h = l.length - 2, f = 0; f < h; f++) p = l[f], s.setRelative(p, p, c, i) } function _r(t) { var r = t.stack , n = t.loop , a = t.fv , o = r.pop() / 64 , s = t.z2; while (n--) { var i = r.pop() , u = s[i]; e.DEBUG && console.log(t.step, (t.loop > 1 ? "loop " + (t.loop - n) + ": " : "") + "SHPIX[]", i, o), a.setRelative(u, u, o), a.touch(u) } t.loop = 1 } function qr(t) { var r = t.stack , n = t.rp1 , a = t.rp2 , o = t.loop , s = t.z0[n] , i = t.z1[a] , u = t.fv , l = t.dpv , p = t.z2; while (o--) { var c = r.pop() , h = p[c]; e.DEBUG && console.log(t.step, (t.loop > 1 ? "loop " + (t.loop - o) + ": " : "") + "IP[]", c, n, "<->", a), u.interpolate(h, s, i, l), u.touch(h) } t.loop = 1 } function Xr(t, r) { var n = r.stack , a = n.pop() / 64 , o = n.pop() , s = r.z1[o] , i = r.z0[r.rp0] , u = r.fv , l = r.pv; u.setRelative(s, i, a, l), u.touch(s), e.DEBUG && console.log(r.step, "MSIRP[" + t + "]", a, o), r.rp1 = r.rp0, r.rp2 = o, t && (r.rp0 = o) } function Vr(t) { var r = t.stack , n = t.rp0 , a = t.z0[n] , o = t.loop , s = t.fv , i = t.pv , u = t.z1; while (o--) { var l = r.pop() , p = u[l]; e.DEBUG && console.log(t.step, (t.loop > 1 ? "loop " + (t.loop - o) + ": " : "") + "ALIGNRP[]", l), s.setRelative(p, a, 0, i), s.touch(p) } t.loop = 1 } function Yr(t) { e.DEBUG && console.log(t.step, "RTDG[]"), t.round = Yt } function jr(t, r) { var n = r.stack , a = n.pop() , o = n.pop() , s = r.z0[o] , i = r.fv , u = r.pv , l = r.cvt[a]; e.DEBUG && console.log(r.step, "MIAP[" + t + "]", a, "(", l, ")", o); var p = u.distance(s, Os); t && (Math.abs(p - l) < r.cvCutIn && (p = l), p = r.round(p)), i.setRelative(s, Os, p, u), 0 === r.zp0 && (s.xo = s.x, s.yo = s.y), i.touch(s), r.rp0 = r.rp1 = o } function Zr(t) { var r = t.prog , n = t.ip , a = t.stack , o = r[++n]; e.DEBUG && console.log(t.step, "NPUSHB[]", o); for (var s = 0; s < o; s++) a.push(r[++n]); t.ip = n } function Qr(t) { var r = t.ip , n = t.prog , a = t.stack , o = n[++r]; e.DEBUG && console.log(t.step, "NPUSHW[]", o); for (var s = 0; s < o; s++) { var i = n[++r] << 8 | n[++r]; 32768 & i && (i = -((65535 ^ i) + 1)), a.push(i) } t.ip = r } function Kr(t) { var r = t.stack , n = t.store; n || (n = t.store = []); var a = r.pop() , o = r.pop(); e.DEBUG && console.log(t.step, "WS", a, o), n[o] = a } function Jr(t) { var r = t.stack , n = t.store , a = r.pop(); e.DEBUG && console.log(t.step, "RS", a); var o = n && n[a] || 0; r.push(o) } function $r(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "WCVTP", n, a), t.cvt[a] = n / 64 } function en(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "RCVT", n), r.push(64 * t.cvt[n]) } function tn(t, r) { var n = r.stack , a = n.pop() , o = r.z2[a]; e.DEBUG && console.log(r.step, "GC[" + t + "]", a), n.push(64 * r.dpv.distance(o, Os, t, !1)) } function rn(t, r) { var n = r.stack , a = n.pop() , o = n.pop() , s = r.z1[a] , i = r.z0[o] , u = r.dpv.distance(i, s, t, t); e.DEBUG && console.log(r.step, "MD[" + t + "]", a, o, "->", u), r.stack.push(Math.round(64 * u)) } function nn(t) { e.DEBUG && console.log(t.step, "MPPEM[]"), t.stack.push(t.ppem) } function an(t) { e.DEBUG && console.log(t.step, "FLIPON[]"), t.autoFlip = !0 } function on(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "LT[]", n, a), r.push(a < n ? 1 : 0) } function sn(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "LTEQ[]", n, a), r.push(a <= n ? 1 : 0) } function un(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "GT[]", n, a), r.push(a > n ? 1 : 0) } function ln(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "GTEQ[]", n, a), r.push(a >= n ? 1 : 0) } function pn(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "EQ[]", n, a), r.push(n === a ? 1 : 0) } function cn(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "NEQ[]", n, a), r.push(n !== a ? 1 : 0) } function hn(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "ODD[]", n), r.push(Math.trunc(n) % 2 ? 1 : 0) } function fn(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "EVEN[]", n), r.push(Math.trunc(n) % 2 ? 0 : 1) } function dn(t) { var r = t.stack.pop(); e.DEBUG && console.log(t.step, "IF[]", r), r || (rr(t, !0), e.DEBUG && console.log(t.step, "EIF[]")) } function vn(t) { e.DEBUG && console.log(t.step, "EIF[]") } function gn(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "AND[]", n, a), r.push(n && a ? 1 : 0) } function mn(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "OR[]", n, a), r.push(n || a ? 1 : 0) } function yn(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "NOT[]", n), r.push(n ? 0 : 1) } function bn(t, r) { var n = r.stack , a = n.pop() , o = r.fv , s = r.pv , i = r.ppem , u = r.deltaBase + 16 * (t - 1) , l = r.deltaShift , p = r.z0; e.DEBUG && console.log(r.step, "DELTAP[" + t + "]", a, n); for (var c = 0; c < a; c++) { var h = n.pop() , f = n.pop(); if (u + ((240 & f) >> 4) !== i) continue; var d = (15 & f) - 8; d >= 0 && d++, e.DEBUG && console.log(r.step, "DELTAPFIX", h, "by", d * l); var v = p[h]; o.setRelative(v, v, d * l, s) } } function Sn(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "SDB[]", n), t.deltaBase = n } function xn(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "SDS[]", n), t.deltaShift = Math.pow(.5, n) } function Tn(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "ADD[]", n, a), r.push(a + n) } function kn(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "SUB[]", n, a), r.push(a - n) } function Un(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "DIV[]", n, a), r.push(64 * a / n) } function On(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "MUL[]", n, a), r.push(a * n / 64) } function En(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "ABS[]", n), r.push(Math.abs(n)) } function wn(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "NEG[]", n), r.push(-n) } function Rn(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "FLOOR[]", n), r.push(64 * Math.floor(n / 64)) } function Ln(t) { var r = t.stack , n = r.pop(); e.DEBUG && console.log(t.step, "CEILING[]", n), r.push(64 * Math.ceil(n / 64)) } function Cn(t, r) { var n = r.stack , a = n.pop(); e.DEBUG && console.log(r.step, "ROUND[]"), n.push(64 * r.round(a / 64)) } function Dn(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "WCVTF[]", n, a), t.cvt[a] = n * t.ppem / t.font.unitsPerEm } function In(t, r) { var n = r.stack , a = n.pop() , o = r.ppem , s = r.deltaBase + 16 * (t - 1) , i = r.deltaShift; e.DEBUG && console.log(r.step, "DELTAC[" + t + "]", a, n); for (var u = 0; u < a; u++) { var l = n.pop() , p = n.pop(); if (s + ((240 & p) >> 4) !== o) continue; var c = (15 & p) - 8; c >= 0 && c++; var h = c * i; e.DEBUG && console.log(r.step, "DELTACFIX", l, "by", h), r.cvt[l] += h } } function Mn(t) { var r = t.stack.pop(); e.DEBUG && console.log(t.step, "SROUND[]", r), t.round = Ts; var n; switch (192 & r) { case 0: n = .5; break; case 64: n = 1; break; case 128: n = 2; break; default: throw new Error("invalid SROUND value") } switch (t.srPeriod = n, 48 & r) { case 0: t.srPhase = 0; break; case 16: t.srPhase = .25 * n; break; case 32: t.srPhase = .5 * n; break; case 48: t.srPhase = .75 * n; break; default: throw new Error("invalid SROUND value") } r &= 15, t.srThreshold = 0 === r ? 0 : (r / 8 - .5) * n } function Bn(t) { var r = t.stack.pop(); e.DEBUG && console.log(t.step, "S45ROUND[]", r), t.round = Ts; var n; switch (192 & r) { case 0: n = Math.sqrt(2) / 2; break; case 64: n = Math.sqrt(2); break; case 128: n = 2 * Math.sqrt(2); break; default: throw new Error("invalid S45ROUND value") } switch (t.srPeriod = n, 48 & r) { case 0: t.srPhase = 0; break; case 16: t.srPhase = .25 * n; break; case 32: t.srPhase = .5 * n; break; case 48: t.srPhase = .75 * n; break; default: throw new Error("invalid S45ROUND value") } r &= 15, t.srThreshold = 0 === r ? 0 : (r / 8 - .5) * n } function Gn(t) { e.DEBUG && console.log(t.step, "ROFF[]"), t.round = Xt } function Nn(t) { e.DEBUG && console.log(t.step, "RUTG[]"), t.round = Zt } function An(t) { e.DEBUG && console.log(t.step, "RDTG[]"), t.round = Qt } function Fn(t) { var r = t.stack.pop(); e.DEBUG && console.log(t.step, "SCANCTRL[]", r) } function Pn(t, r) { var n = r.stack , a = n.pop() , o = n.pop() , s = r.z2[a] , i = r.z1[o]; e.DEBUG && console.log(r.step, "SDPVTL[" + t + "]", a, o); var u, l; t ? (u = s.y - i.y, l = i.x - s.x) : (u = i.x - s.x, l = i.y - s.y), r.dpv = Jt(u, l) } function Hn(t) { var r = t.stack , n = r.pop() , a = 0; e.DEBUG && console.log(t.step, "GETINFO[]", n), 1 & n && (a = 35), 32 & n && (a |= 4096), r.push(a) } function zn(t) { var r = t.stack , n = r.pop() , a = r.pop() , o = r.pop(); e.DEBUG && console.log(t.step, "ROLL[]"), r.push(a), r.push(n), r.push(o) } function Wn(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "MAX[]", n, a), r.push(Math.max(a, n)) } function _n(t) { var r = t.stack , n = r.pop() , a = r.pop(); e.DEBUG && console.log(t.step, "MIN[]", n, a), r.push(Math.min(a, n)) } function qn(t) { var r = t.stack.pop(); e.DEBUG && console.log(t.step, "SCANTYPE[]", r) } function Xn(t) { var r = t.stack.pop() , n = t.stack.pop(); switch (e.DEBUG && console.log(t.step, "INSTCTRL[]", r, n), r) { case 1: return void (t.inhibitGridFit = !!n); case 2: return void (t.ignoreCvt = !!n); default: throw new Error("invalid INSTCTRL[] selector") } } function Vn(t, r) { var n = r.stack , a = r.prog , o = r.ip; e.DEBUG && console.log(r.step, "PUSHB[" + t + "]"); for (var s = 0; s < t; s++) n.push(a[++o]); r.ip = o } function Yn(t, r) { var n = r.ip , a = r.prog , o = r.stack; e.DEBUG && console.log(r.ip, "PUSHW[" + t + "]"); for (var s = 0; s < t; s++) { var i = a[++n] << 8 | a[++n]; 32768 & i && (i = -((65535 ^ i) + 1)), o.push(i) } r.ip = n } function jn(t, r, n, a, o, s) { var i = s.stack, u = t && i.pop(), l = i.pop(), p = s.rp0, c = s.z0[p], h = s.z1[l], f = s.minDis, d = s.fv, v = s.dpv, g, m, y, b; m = g = v.distance(h, c, !0, !0), y = m >= 0 ? 1 : -1, m = Math.abs(m), t && (b = s.cvt[u], a && Math.abs(m - b) < s.cvCutIn && (m = b)), n && m < f && (m = f), a && (m = s.round(m)), d.setRelative(h, c, y * m, v), d.touch(h), e.DEBUG && console.log(s.step, (t ? "MIRP[" : "MDRP[") + (r ? "M" : "m") + (n ? ">" : "_") + (a ? "R" : "_") + (0 === o ? "Gr" : 1 === o ? "Bl" : 2 === o ? "Wh" : "") + "]", t ? u + "(" + s.cvt[u] + "," + b + ")" : "", l, "(d =", g, "->", y * m, ")"), s.rp1 = s.rp0, s.rp2 = l, r && (s.rp0 = l) } 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(e) { var t = this , r = ["start", "end", "next", "newToken", "contextStart", "contextEnd", "insertToken", "removeToken", "removeRange", "replaceToken", "replaceRange", "composeRUD", "updateContextsRanges"]; r.forEach(function(e) { Object.defineProperty(t.events, e, { value: new $n(e) }) }), e && r.forEach(function(r) { var n = e[r]; "function" == typeof n && t.events[r].subscribe(n) }), ["insertToken", "removeToken", "removeRange", "replaceToken", "replaceRange", "composeRUD"].forEach(function(e) { t.events[e].subscribe(t.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) { if (-1 === la(e, t.coverage)) return null; return e + t.deltaGlyphId } function ca(e, t) { var r = la(e, t.coverage); if (-1 === r) return null; return t.substitute[r] } function ha(e, t) { for (var r = [], n = 0; n < e.length; n++) { var a = e[n] , o = t.current; o = Array.isArray(o) ? o[0] : o; var s = la(o, a); -1 !== s && r.push(s) } 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 i = new Jn(s,0) , u = ha(t.lookaheadCoverage, i) , l = [].concat(e.backtrack); l.reverse(); while (l.length && aa(l[0].char)) l.shift(); if (l.length < t.backtrackCoverage.length) return []; var p = new Jn(l,0) , c = ha(t.backtrackCoverage, p) , h = a.length === t.inputCoverage.length && u.length === t.lookaheadCoverage.length && c.length === t.backtrackCoverage.length , f = []; if (h) for (var d = 0; d < t.lookupRecords.length; d++) for (var v = t.lookupRecords[d], g = v.lookupListIndex, m = r.getLookupByIndex(g), y = 0; y < m.subtables.length; y++) { var b = m.subtables[y] , S = r.getLookupMethod(m, b) , x = r.getSubstitutionType(m, b); if ("12" === x) for (var T = 0; T < a.length; T++) { var k = e.get(T) , U = S(k); U && f.push(U) } } return f } function da(e, t) { var r = e.current , n = la(r, t.coverage); if (-1 === n) return null; for (var a, o = t.ligatureSets[n], s = 0; s < o.length; s++) { a = o[s]; for (var i = 0; i < a.components.length; i++) { if (e.lookahead[i] !== a.components[i]) break; if (i === a.components.length - 1) return a } } return null } function va(e, t) { var r = la(e, t.coverage); if (-1 === r) return null; return t.sequences[r] } function ga(e) { var t = e.current , r = e.get(-1); return null === r && ra(t) || !ra(r) && ra(t) } function ma(e) { var t = e.get(1); return null === t || !ra(t) } function ya(e) { var t = e.current , r = e.get(-1); return (ra(t) || aa(t)) && !ra(r) } function ba(e) { var t = e.get(1); switch (!0) { case null === t: return !0; case !ra(t) && !aa(t): var r = sa(t); if (!r) return !0; if (r) { var n = !1; if (!(n = 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(e, t, r) { e.substitution.forEach(function(n, a) { t[r + a].setState(e.tag, n) }) } 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], n.setState("deleted", !0) } function Ua(e, t, r) { e instanceof ua && Ls[e.id](e, t, r) } function Oa(e) { for (var t = [].concat(e.backtrack), r = t.length - 1; r >= 0; r--) { var n = t[r] , a = na(n) , o = aa(n); if (!a && !o) return !0; if (a) return !1 } return !1 } function Ea(e) { if (na(e.current)) return !1; for (var t = 0; t < e.lookahead.length; t++) { if (!aa(e.lookahead[t])) return !0 } return !1 } function wa(e) { var t = this , r = "arab" , n = this.featuresTags[r] , a = this.tokenizer.getRangeTokens(e); if (1 === a.length) return; var o = new Jn(a.map(function(e) { return e.getState("glyphIndex") }),0) , s = new Jn(a.map(function(e) { return e.char }),0); a.forEach(function(e, i) { if (aa(e.char)) return; o.setCurrentIndex(i), s.setCurrentIndex(i); var u = 0; Oa(s) && (u |= 1), Ea(s) && (u |= 2); var l; switch (u) { case 1: l = "fina"; break; case 2: l = "init"; break; case 3: l = "medi"; break } if (-1 === n.indexOf(l)) return; var p = t.query.lookupFeature({ tag: l, script: r, contextParams: o }); if (p instanceof Error) return console.info(p.message); p.forEach(function(e, t) { e instanceof ua && (Ua(e, a, t), o.context[t] = e.substitution) }) }) } function Ra(e, t) { return new Jn(e.map(function(e) { return e.activeState.value }),t || 0) } function La(e) { var t = this , r = this.tokenizer.getRangeTokens(e) , n = Ra(r); n.context.forEach(function(e, a) { n.setCurrentIndex(a); var o = t.query.lookupFeature({ tag: "rlig", script: "arab", contextParams: n }); o.length && (o.forEach(function(e) { return Ua(e, r, a) }), n = Ra(r)) }) } function Ca(e) { var t = e.current , r = e.get(-1); return null === r && oa(t) || !oa(r) && oa(t) } function Da(e) { var t = e.get(1); return null === t || !oa(t) } function Ia(e, t) { return new Jn(e.map(function(e) { return e.activeState.value }),t || 0) } function Ma(e) { var t = this , r = this.tokenizer.getRangeTokens(e) , n = Ia(r); n.context.forEach(function(e, a) { n.setCurrentIndex(a); try { var o = t.query.lookupFeature({ tag: "liga", script: "latn", contextParams: n }); o.length && (o.forEach(function(e) { return Ua(e, r, a) }), n = Ia(r)) } 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 Na() { return Ga.call(this, "latinWord"), Ga.call(this, "arabicWord"), Ga.call(this, "arabicSentence"), this.tokenizer.tokenize(this.text) } function Aa() { var e = this; this.tokenizer.getContextRanges("arabicSentence").forEach(function(t) { var r = e.tokenizer.getRangeTokens(t); e.tokenizer.replaceRange(t.startIndex, t.endOffset, r.reverse()) }) } function Fa() { if (-1 === this.tokenizer.registeredModifiers.indexOf("glyphIndex")) throw new Error("glyphIndex modifier is required to apply " + "arabic presentation features.") } function Pa() { var e = this; if (!this.featuresTags.hasOwnProperty("arab")) return; Fa.call(this), this.tokenizer.getContextRanges("arabicWord").forEach(function(t) { wa.call(e, t) }) } function Ha() { var e = this , t = "arab"; if (!this.featuresTags.hasOwnProperty(t)) return; if (-1 === this.featuresTags[t].indexOf("rlig")) return; Fa.call(this), this.tokenizer.getContextRanges("arabicWord").forEach(function(t) { La.call(e, t) }) } function za() { var e = this , t = "latn"; if (!this.featuresTags.hasOwnProperty(t)) return; if (-1 === this.featuresTags[t].indexOf("liga")) return; Fa.call(this), this.tokenizer.getContextRanges("latinWord").forEach(function(t) { Ma.call(e, t) }) } function Wa(e) { 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 Xo.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; for (var 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 n = _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: n }] } function Xa(e, t, r) { var n = {} , a = new Fo.Parser(e,t); return n.tag = a.parseTag(), n.minValue = a.parseFixed(), n.defaultValue = a.parseFixed(), n.maxValue = a.parseFixed(), a.skip("uShort", 1), n.name = r[a.parseUShort()] || {}, n } function Va(e, t, r, n) { for (var a = _a(t.name, n), o = [{ name: "nameID_" + e, type: "USHORT", value: a }, { 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 Fo.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 Go.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 Fo.Parser(e,t) , a = n.parseULong(); Uo.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) { t = t || 0; var r = new H(e,t) , n = r.parseVersion(1); return Uo.argument(1 === n || 1.1 === n, "Unsupported GPOS table version " + n), 1 === n ? { version: n, scripts: r.parseScriptList(), features: r.parseFeatureList(), lookups: r.parseLookupList(Is) } : { version: n, scripts: r.parseScriptList(), features: r.parseFeatureList(), lookups: r.parseLookupList(Is), variations: r.parseFeatureVariationsList() } } function Ka(e) { return new Go.Table("GPOS",[{ name: "version", type: "ULONG", value: 65536 }, { name: "scripts", type: "TABLE", value: new Go.ScriptList(e.scripts) }, { name: "features", type: "TABLE", value: new Go.FeatureList(e.features) }, { name: "lookups", type: "TABLE", value: new Go.LookupList(e.lookups,Ms) }]) } function Ja(e) { var t = {}; e.skip("uShort"); var r = e.parseUShort(); Uo.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 = {}; e.skip("uShort"), e.parseULong() > 1 && console.warn("Only the first kern subtable is supported."), e.skip("uLong"); var r = e.parseUShort() , n = 255 & r; if (e.skip("uShort"), 0 === n) { var a = e.parseUShort(); e.skip("uShort", 3); for (var o = 0; o < a; o += 1) { var s = e.parseUShort() , i = e.parseUShort() , u = e.parseShort(); t[s + "," + i] = u } } return t } function eo(e, t) { var r = new Fo.Parser(e,t) , n = r.parseUShort(); if (0 === n) return Ja(r); if (1 === n) return $a(r); throw new Error("Unsupported kern table version (" + n + ").") } function to(e, t, r, n) { for (var a = new Fo.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, t) { require("fs").readFile(e, function(e, r) { if (e) return t(e.message); t(null, It(r)) }) } 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 = Fo.getTag(e, n) , s = Fo.getULong(e, n + 4) , i = Fo.getULong(e, n + 8) , u = Fo.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 = Fo.getTag(e, n) , s = Fo.getULong(e, n + 4) , i = Fo.getULong(e, n + 8) , u = Fo.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); if (ko(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) { t = void 0 === t || null === t ? {} : t; var r, n, a = new Wa({ empty: !0 }), o = new DataView(e,0), s, i = [], u = Fo.getTag(o, 0); if (u === String.fromCharCode(0, 1, 0, 0) || "true" === u || "typ1" === u) a.outlinesFormat = "truetype", s = Fo.getUShort(o, 4), i = ao(o, s); else if ("OTTO" === u) a.outlinesFormat = "cff", s = Fo.getUShort(o, 4), i = ao(o, s); else { if ("wOFF" !== u) throw new Error("Unsupported OpenType signature " + u); var l = Fo.getTag(o, 4); if (l === String.fromCharCode(0, 1, 0, 0)) a.outlinesFormat = "truetype"; else { if ("OTTO" !== l) throw new Error("Unsupported OpenType flavor " + u); a.outlinesFormat = "cff" } s = Fo.getUShort(o, 12), i = oo(o, s) } for (var p, c, h, f, d, v, g, m, y, b, S, x = 0; x < s; x += 1) { var T = i[x] , k = void 0; switch (T.tag) { case "cmap": k = so(o, T), a.tables.cmap = Po.parse(k.data, k.offset), a.encoding = new j(a.tables.cmap); break; case "cvt ": k = so(o, T), S = new Fo.Parser(k.data,k.offset), a.tables.cvt = S.parseShortList(T.length / 2); break; case "fvar": c = T; break; case "fpgm": k = so(o, T), S = new Fo.Parser(k.data,k.offset), a.tables.fpgm = S.parseByteList(T.length); break; case "head": k = so(o, T), a.tables.head = Zo.parse(k.data, k.offset), a.unitsPerEm = a.tables.head.unitsPerEm, r = a.tables.head.indexToLocFormat; break; case "hhea": k = so(o, T), a.tables.hhea = Qo.parse(k.data, k.offset), a.ascender = a.tables.hhea.ascender, a.descender = a.tables.hhea.descender, a.numberOfHMetrics = a.tables.hhea.numberOfHMetrics; break; case "hmtx": v = T; break; case "ltag": k = so(o, T), n = Jo.parse(k.data, k.offset); break; case "maxp": k = so(o, T), a.tables.maxp = $o.parse(k.data, k.offset), a.numGlyphs = a.tables.maxp.numGlyphs; break; case "name": y = T; break; case "OS/2": k = so(o, T), a.tables.os2 = ls.parse(k.data, k.offset); break; case "post": k = so(o, T), a.tables.post = ps.parse(k.data, k.offset), a.glyphNames = new Q(a.tables.post); break; case "prep": k = so(o, T), S = new Fo.Parser(k.data,k.offset), a.tables.prep = S.parseByteList(T.length); break; case "glyf": h = T; break; case "loca": m = T; break; case "CFF ": p = T; break; case "kern": g = T; break; case "GPOS": f = T; break; case "GSUB": d = T; break; case "meta": b = T; break } } var U = so(o, y); if (a.tables.name = is.parse(U.data, U.offset, n), a.names = a.tables.name, h && m) { var O = 0 === r , E = so(o, m) , w = Ns.parse(E.data, E.offset, a.numGlyphs, O) , R = so(o, h); a.glyphs = ms.parse(R.data, R.offset, w, a, t) } else { if (!p) throw new Error("Font doesn't contain TrueType or CFF outlines."); var L = so(o, p); jo.parse(L.data, L.offset, a, t) } var C = so(o, v); if (Ko.parse(a, C.data, C.offset, a.numberOfHMetrics, a.numGlyphs, a.glyphs, t), $(a, t), g) { var D = so(o, g); a.kerningPairs = Gs.parse(D.data, D.offset) } else a.kerningPairs = {}; if (f) { var I = so(o, f); a.tables.gpos = Bs.parse(I.data, I.offset), a.position.init() } if (d) { var M = so(o, d); a.tables.gsub = ds.parse(M.data, M.offset) } if (c) { var B = so(o, c); a.tables.fvar = Ds.parse(B.data, B.offset, a.names) } if (b) { var G = so(o, b); a.tables.meta = vs.parse(G.data, G.offset), a.metas = a.tables.meta } return a } function uo(e, t, r) { ("undefined" == typeof window ? ro : no)(e, function(e, n) { if (e) return t(e); var a; try { a = io(n, r) } catch (e) { return t(e, null) } return t(null, a) }) } function lo(e, t) { return io(It(require("fs").readFileSync(e)), t) } String.prototype.codePointAt || function() { var e = function() { try { var e = {} , t = Object.defineProperty , r = t(e, e, e) && t } catch (e) {} return r }() , t = 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 || n >= r) return; var a = t.charCodeAt(n), o; if (a >= 55296 && a <= 56319 && r > n + 1 && (o = t.charCodeAt(n + 1)) >= 56320 && o <= 57343) return 1024 * (a - 55296) + o - 56320 + 65536; return a }; e ? e(String.prototype, "codePointAt", { value: t, configurable: !0, writable: !0 }) : String.prototype.codePointAt = t }(); var po = 0 , co = -3 , ho = new t , fo = new t , vo = new Uint8Array(30) , go = new Uint16Array(30) , mo = new Uint8Array(30) , yo = new Uint16Array(30) , bo = new Uint8Array([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]) , So = new t , xo = new Uint8Array(288 + 32) , To = new Uint16Array(16); a(ho, fo), n(vo, go, 4, 3), n(mo, yo, 2, 1), vo[28] = 0, go[28] = 258; var ko = h; d.prototype.isEmpty = function() { return isNaN(this.x1) || isNaN(this.y1) || isNaN(this.x2) || isNaN(this.y2) } , d.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)) } , d.prototype.addX = function(e) { this.addPoint(e, null) } , d.prototype.addY = function(e) { this.addPoint(null, e) } , d.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 d = 0; d <= 1; d++) { var v = 6 * l[d] - 12 * p[d] + 6 * c[d] , g = -3 * l[d] + 9 * p[d] - 9 * c[d] + 3 * h[d] , m = 3 * p[d] - 3 * l[d]; if (0 === g) { if (0 === v) continue; var y = -m / v; 0 < y && y < 1 && (0 === d && u.addX(f(l[d], p[d], c[d], h[d], y)), 1 === d && u.addY(f(l[d], p[d], c[d], h[d], y))); continue } var b = Math.pow(v, 2) - 4 * m * g; if (b < 0) continue; var S = (-v + Math.sqrt(b)) / (2 * g); 0 < S && S < 1 && (0 === d && u.addX(f(l[d], p[d], c[d], h[d], S)), 1 === d && u.addY(f(l[d], p[d], c[d], h[d], S))); var x = (-v - Math.sqrt(b)) / (2 * g); 0 < x && x < 1 && (0 === d && u.addX(f(l[d], p[d], c[d], h[d], x)), 1 === d && u.addY(f(l[d], p[d], c[d], h[d], x))) } } , d.prototype.addQuad = function(e, t, r, n, a, o) { var s = e + 2 / 3 * (r - e) , i = t + 2 / 3 * (n - t) , u = s + 1 / 3 * (a - e) , l = i + 1 / 3 * (o - t); this.addBezier(e, t, s, i, u, l, a, o) } , v.prototype.moveTo = function(e, t) { this.commands.push({ type: "M", x: e, y: t }) } , v.prototype.lineTo = function(e, t) { this.commands.push({ type: "L", x: e, y: t }) } , v.prototype.curveTo = v.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 }) } , v.prototype.quadTo = v.prototype.quadraticCurveTo = function(e, t, r, n) { this.commands.push({ type: "Q", x1: e, y1: t, x: r, y: n }) } , v.prototype.close = v.prototype.closePath = function() { this.commands.push({ type: "Z" }) } , v.prototype.extend = function(e) { if (e.commands) e = e.commands; else if (e instanceof d) { 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) } , v.prototype.getBoundingBox = function() { for (var e = this, t = new d, 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 } , v.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()) } , v.prototype.toPathData = function(e) { function t(t) { return Math.round(t) === t ? "" + Math.round(t) : t.toFixed(e) } function r() { for (var e = arguments, r = "", n = 0; n < arguments.length; n += 1) { var a = e[n]; a >= 0 && n > 0 && (r += " "), r += t(a) } return r } var n = this; e = void 0 !== e ? e : 2; for (var a = "", o = 0; o < this.commands.length; o += 1) { var s = n.commands[o]; "M" === s.type ? a += "M" + r(s.x, s.y) : "L" === s.type ? a += "L" + r(s.x, s.y) : "C" === s.type ? a += "C" + r(s.x1, s.y1, s.x2, s.y2, s.x, s.y) : "Q" === s.type ? a += "Q" + r(s.x1, s.y1, s.x, s.y) : "Z" === s.type && (a += "Z") } return a } , v.prototype.toSVG = function(e) { var t = '= 0 && e <= 255, "Byte value should be between 0 and 255."), [e] } , Lo.BYTE = y(1), Ro.CHAR = function(e) { return [e.charCodeAt(0)] } , Lo.CHAR = y(1), Ro.CHARARRAY = function(e) { for (var t = [], r = 0; r < e.length; r += 1) t[r] = e.charCodeAt(r); return t } , Lo.CHARARRAY = function(e) { return e.length } , Ro.USHORT = function(e) { return [e >> 8 & 255, 255 & e] } , Lo.USHORT = y(2), Ro.SHORT = function(e) { return e >= Oo && (e = -(2 * Oo - e)), [e >> 8 & 255, 255 & e] } , Lo.SHORT = y(2), Ro.UINT24 = function(e) { return [e >> 16 & 255, e >> 8 & 255, 255 & e] } , Lo.UINT24 = y(3), Ro.ULONG = function(e) { return [e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, 255 & e] } , Lo.ULONG = y(4), Ro.LONG = function(e) { return e >= Eo && (e = -(2 * Eo - e)), [e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, 255 & e] } , Lo.LONG = y(4), Ro.FIXED = Ro.ULONG, Lo.FIXED = Lo.ULONG, Ro.FWORD = Ro.SHORT, Lo.FWORD = Lo.SHORT, Ro.UFWORD = Ro.USHORT, Lo.UFWORD = Lo.USHORT, Ro.LONGDATETIME = function(e) { return [0, 0, 0, 0, e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, 255 & e] } , Lo.LONGDATETIME = y(8), Ro.TAG = function(e) { return Uo.argument(4 === e.length, "Tag should be exactly 4 ASCII characters."), [e.charCodeAt(0), e.charCodeAt(1), e.charCodeAt(2), e.charCodeAt(3)] } , Lo.TAG = y(4), Ro.Card8 = Ro.BYTE, Lo.Card8 = Lo.BYTE, Ro.Card16 = Ro.USHORT, Lo.Card16 = Lo.USHORT, Ro.OffSize = Ro.BYTE, Lo.OffSize = Lo.BYTE, Ro.SID = Ro.USHORT, Lo.SID = Lo.USHORT, Ro.NUMBER = function(e) { return e >= -107 && e <= 107 ? [e + 139] : e >= 108 && e <= 1131 ? (e -= 108, [(e >> 8) + 247, 255 & e]) : e >= -1131 && e <= -108 ? (e = -e - 108, [(e >> 8) + 251, 255 & e]) : e >= -32768 && e <= 32767 ? Ro.NUMBER16(e) : Ro.NUMBER32(e) } , Lo.NUMBER = function(e) { return Ro.NUMBER(e).length } , Ro.NUMBER16 = function(e) { return [28, e >> 8 & 255, 255 & e] } , Lo.NUMBER16 = y(3), Ro.NUMBER32 = function(e) { return [29, e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, 255 & e] } , Lo.NUMBER32 = y(5), Ro.REAL = function(e) { var t = e.toString() , r = /\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(t); if (r) { var n = parseFloat("1e" + ((r[2] ? +r[2] : 0) + r[1].length)); t = (Math.round(e * n) / n).toString() } for (var a = "", o = 0, s = t.length; o < s; o += 1) { var i = t[o]; a += "e" === i ? "-" === t[++o] ? "c" : "b" : "." === i ? "a" : "-" === i ? "e" : i } a += 1 & a.length ? "f" : "ff"; for (var u = [30], l = 0, p = a.length; l < p; l += 2) u.push(parseInt(a.substr(l, 2), 16)); return u } , Lo.REAL = function(e) { return Ro.REAL(e).length } , Ro.NAME = Ro.CHARARRAY, Lo.NAME = Lo.CHARARRAY, Ro.STRING = Ro.CHARARRAY, Lo.STRING = Lo.CHARARRAY, wo.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) } , wo.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) } , Ro.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 } , Lo.UTF16 = function(e) { return 2 * e.length } ; var Co = { "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": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø" + "¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ" }; wo.MACSTRING = function(e, t, r, n) { var a = Co[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 Do = "function" == typeof WeakMap && new WeakMap, Io, Mo = function(e) { if (!Io) { Io = {}; for (var t in Co) Io[t] = new String(t) } var r = Io[e]; if (void 0 === r) return; if (Do) { var n = Do.get(r); if (void 0 !== n) return n } var a = Co[e]; if (void 0 === a) return; for (var o = {}, s = 0; s < a.length; s++) o[a.charCodeAt(s)] = s + 128; return Do && Do.set(r, o), o }; Ro.MACSTRING = function(e, t) { var r = Mo(t); if (void 0 === r) return; for (var n = [], a = 0; a < e.length; a++) { var o = e.charCodeAt(a); if (o >= 128 && void 0 === (o = r[o])) return; n[a] = o } return n } , Lo.MACSTRING = function(e, t) { var r = Ro.MACSTRING(e, t); return void 0 !== r ? r.length : 0 } , Ro.VARDELTAS = function(e) { var t = 0 , r = []; while (t < e.length) { var n = e[t]; t = 0 === n ? S(e, t, r) : n >= -128 && n <= 127 ? x(e, t, r) : T(e, t, r) } return r } , Ro.INDEX = function(e) { for (var t = 1, r = [t], n = [], a = 0; a < e.length; a += 1) { var o = Ro.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, Ro.BYTE, Ro.USHORT, Ro.UINT24, Ro.ULONG][i], l = 0; l < r.length; l += 1) { var p = u(r[l]); Array.prototype.push.apply(s, p) } return Array.prototype.concat(Ro.Card16(e.length), Ro.OffSize(i), s, n) } , Lo.INDEX = function(e) { return Ro.INDEX(e).length } , Ro.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.concat(Ro.OPERAND(s.value, s.type)), t = t.concat(Ro.OPERATOR(o)) } return t } , Lo.DICT = function(e) { return Ro.DICT(e).length } , Ro.OPERATOR = function(e) { return e < 1200 ? [e] : [12, e - 1200] } , Ro.OPERAND = function(e, t) { var r = []; if (Array.isArray(t)) for (var n = 0; n < t.length; n += 1) Uo.argument(e.length === t.length, "Not enough arguments given for type" + t), r = r.concat(Ro.OPERAND(e[n], t[n])); else if ("SID" === t) r = r.concat(Ro.NUMBER(e)); else if ("offset" === t) r = r.concat(Ro.NUMBER32(e)); else if ("number" === t) r = r.concat(Ro.NUMBER(e)); else { if ("real" !== t) throw new Error("Unknown operand type " + t); r = r.concat(Ro.REAL(e)) } return r } , Ro.OP = Ro.BYTE, Lo.OP = Lo.BYTE; var Bo = "function" == typeof WeakMap && new WeakMap; Ro.CHARSTRING = function(e) { if (Bo) { var t = Bo.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(Ro[o.type](o.value)) } return Bo && Bo.set(e, r), r } , Lo.CHARSTRING = function(e) { return Ro.CHARSTRING(e).length } , Ro.OBJECT = function(e) { var t = Ro[e.type]; return Uo.argument(void 0 !== t, "No encoding function for type " + e.type), t(e.value) } , Lo.OBJECT = function(e) { var t = Lo[e.type]; return Uo.argument(void 0 !== t, "No sizeOf function for type " + e.type), t(e.value) } , Ro.TABLE = function(e) { for (var t = [], r = e.fields.length, n = [], a = [], o = 0; o < r; o += 1) { var s = e.fields[o] , i = Ro[s.type]; Uo.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 l = i(u); "TABLE" === s.type ? (a.push(t.length), t = t.concat([0, 0]), n.push(l)) : t = t.concat(l) } for (var p = 0; p < n.length; p += 1) { var c = a[p] , h = t.length; Uo.argument(h < 65536, "Table " + e.tableName + " too big."), t[c] = h >> 8, t[c + 1] = 255 & h, t = t.concat(n[p]) } return t } , Lo.TABLE = function(e) { for (var t = 0, r = e.fields.length, n = 0; n < r; n += 1) { var a = e.fields[n] , o = Lo[a.type]; Uo.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 } , Ro.RECORD = Ro.TABLE, Lo.RECORD = Lo.TABLE, Ro.LITERAL = function(e) { return e } , Lo.LITERAL = function(e) { return e.length } , k.prototype.encode = function() { return Ro.TABLE(this) } , k.prototype.sizeOf = function() { return Lo.TABLE(this) } , w.prototype = Object.create(k.prototype), w.prototype.constructor = w, R.prototype = Object.create(k.prototype), R.prototype.constructor = R, L.prototype = Object.create(k.prototype), L.prototype.constructor = L, C.prototype = Object.create(k.prototype), C.prototype.constructor = C; var Go = { Table: k, Record: k, Coverage: w, ScriptList: R, FeatureList: L, LookupList: C, ushortList: U, tableList: O, recordList: E } , 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.parseUShort = function() { var e = this.data.getUint16(this.offset + this.relativeOffset); return this.relativeOffset += 2, e } , H.prototype.parseCard16 = H.prototype.parseUShort, 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.parseULong = function() { var e = B(this.data, this.offset + this.relativeOffset); return this.relativeOffset += 4, e } , H.prototype.parseOffset32 = H.prototype.parseULong, 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 = B(this.data, this.offset + this.relativeOffset + 4); return e -= 2082844800, this.relativeOffset += 8, e } , H.prototype.parseVersion = function(e) { var t = I(this.data, this.offset + this.relativeOffset) , r = I(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 (t > 0) return new H(this.data,this.offset + t).parseStruct(e); return } , H.prototype.parsePointer32 = function(e) { var t = this.parseOffset32(); if (t > 0) 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 Ao = { 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(Ao), langSysRecords: H.recordList({ tag: H.tag, langSys: H.pointer(Ao) }) }) })) || [] } , 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(e) { return this.parsePointer(H.list(H.pointer(function() { var t = this.parseUShort(); Uo.argument(1 <= t && t <= 9, "GPOS/GSUB lookup type " + t + " unknown."); var r = this.parseUShort() , n = 16 & r; return { lookupType: t, lookupFlag: r, subtables: this.parseList(H.pointer(e[t])), markFilteringSet: n ? this.parseUShort() : void 0 } }))) || [] } , H.prototype.parseFeatureVariationsList = function() { return this.parsePointer32(function() { var e = this.parseUShort() , t = this.parseUShort(); return Uo.argument(1 === e && t < 1, "GPOS/GSUB feature variations table unknown."), this.parseRecordList32({ conditionSetOffset: H.offset32, featureTableSubstitutionOffset: H.offset32 }) }) || [] } ; var Fo = { getByte: D, getCard8: D, getUShort: I, getCard16: I, getShort: M, getULong: B, getFixed: G, getTag: N, getOffset: A, getBytes: F, bytesToString: P, Parser: H } , Po = { parse: _, make: V } , Ho = [".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"] , zo = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "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"] , Wo = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "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"] , _o = [".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 t = e.codePointAt(0) , r = this.encoding[t]; return this.charset.indexOf(r) } , Q.prototype.nameToGlyphIndex = function(e) { return this.names.indexOf(e) } , Q.prototype.glyphIndexToName = function(e) { return this.names[e] } ; var qo = { 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) { e = void 0 !== e ? e : 0, t = void 0 !== t ? t : 0, r = void 0 !== r ? r : 72; var o, s; n || (n = {}); var i = n.xScale , u = n.yScale; if (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; else { o = this.path.commands; var l = 1 / (this.path.unitsPerEm || 1e3) * r; void 0 === i && (i = l), void 0 === u && (u = l) } for (var p = new v, c = 0; c < o.length; c += 1) { var h = o[c]; "M" === h.type ? p.moveTo(e + h.x * i, t + -h.y * u) : "L" === h.type ? p.lineTo(e + h.x * i, t + -h.y * u) : "Q" === h.type ? p.quadraticCurveTo(e + h.x1 * i, t + -h.y1 * u, e + h.x * i, t + -h.y * u) : "C" === h.type ? p.curveTo(e + h.x1 * i, t + -h.y1 * u, e + h.x2 * i, t + -h.y2 * u, e + h.x * i, t + -h.y * u) : "Z" === h.type && p.closePath() } return p } , 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 Uo.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(e, t, r, n) { function a(t, r, n, a) { var o = 2 * Math.PI; e.beginPath(); for (var s = 0; s < t.length; s += 1) e.moveTo(r + t[s].x * a, n + t[s].y * a), e.arc(r + t[s].x * a, n + t[s].y * a, 2, 0, o, !1); e.closePath(), e.fill() } t = void 0 !== t ? t : 0, r = void 0 !== r ? r : 0, n = void 0 !== n ? n : 24; for (var o = 1 / this.path.unitsPerEm * n, s = [], i = [], u = this.path, l = 0; l < u.commands.length; l += 1) { var p = u.commands[l]; void 0 !== p.x && s.push({ x: p.x, y: -p.y }), void 0 !== p.x1 && i.push({ x: p.x1, y: -p.y1 }), void 0 !== p.x2 && i.push({ x: p.x2, y: -p.y2 }) } e.fillStyle = "blue", a(s, t, r, o), e.fillStyle = "red", a(i, t, r, o) } , 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", qo.line(e, t, -1e4, t, 1e4), qo.line(e, -1e4, r, 1e4, r); var o = this.xMin || 0 , s = this.yMin || 0 , i = this.xMax || 0 , u = this.yMax || 0 , l = this.advanceWidth || 0; e.strokeStyle = "blue", qo.line(e, t + o * a, -1e4, t + o * a, 1e4), qo.line(e, t + i * a, -1e4, t + i * a, 1e4), qo.line(e, -1e4, r + -s * a, 1e4, r + -s * a), qo.line(e, -1e4, r + -u * a, 1e4, r + -u * a), e.strokeStyle = "green", qo.line(e, t + l * a, -1e4, t + l * 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 Xo = { GlyphSet: ae, glyphLoader: oe, ttfGlyphLoader: se, cffGlyphLoader: ie } , Vo = [{ 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" }] , Yo = [{ name: "subrs", op: 19, type: "offset", value: 0 }, { name: "defaultWidthX", op: 20, type: "number", value: 0 }, { name: "nominalWidthX", op: 21, type: "number", value: 0 }] , jo = { parse: we, make: He } , Zo = { parse: ze, make: We } , Qo = { parse: _e, make: qe } , Ko = { parse: Ye, make: je } , Jo = { make: Ze, parse: Qe } , $o = { parse: Ke, make: Je } , es = ["copyright", "fontFamily", "fontSubfamily", "uniqueID", "fullName", "version", "postScriptName", "trademark", "manufacturer", "designer", "description", "manufacturerURL", "designerURL", "license", "licenseURL", "reserved", "preferredFamily", "preferredSubfamily", "compatibleFullName", "sampleText", "postScriptFindFontName", "wwsFamily", "wwsSubfamily"] , ts = { 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" } , rs = { 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 } , ns = { 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" } , as = "utf-16" , os = { 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" } , ss = { 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" } , is = { parse: tt, make: st } , us = [{ 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 }] , ls = { parse: ut, make: lt, unicodeRanges: us, getUnicodeRange: it } , ps = { parse: pt, make: ct } , cs = new Array(9); cs[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() }; Uo.assert(!1, "0x" + t.toString(16) + ": lookup type 1 format must be 1 or 2.") } , cs[2] = function e() { var t = this.parseUShort(); return Uo.argument(1 === t, "GSUB Multiple Substitution Subtable identifier-format must be 1"), { substFormat: t, coverage: this.parsePointer(H.coverage), sequences: this.parseListOfLists() } } , cs[3] = function e() { var t = this.parseUShort(); return Uo.argument(1 === t, "GSUB Alternate Substitution Subtable identifier-format must be 1"), { substFormat: t, coverage: this.parsePointer(H.coverage), alternateSets: this.parseListOfLists() } } , cs[4] = function e() { var t = this.parseUShort(); return Uo.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 hs = { sequenceIndex: H.uShort, lookupListIndex: H.uShort }; cs[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, hs) } }) }; 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, hs) } }) }; 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, hs) } } Uo.assert(!1, "0x" + t.toString(16) + ": lookup type 5 format must be 1, 2 or 3.") } , cs[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(hs) } }) }; 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(hs) } }) }; 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(hs) }; Uo.assert(!1, "0x" + t.toString(16) + ": lookup type 6 format must be 1, 2 or 3.") } , cs[7] = function e() { var t = this.parseUShort(); Uo.argument(1 === t, "GSUB Extension Substitution subtable identifier-format must be 1"); var r = this.parseUShort() , n = new H(this.data,this.offset + this.parseULong()); return { substFormat: 1, lookupType: r, extension: cs[r].call(n) } } , cs[8] = function e() { var t = this.parseUShort(); return Uo.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 fs = new Array(9); fs[1] = function e(t) { return 1 === t.substFormat ? new Go.Table("substitutionTable",[{ name: "substFormat", type: "USHORT", value: 1 }, { name: "coverage", type: "TABLE", value: new Go.Coverage(t.coverage) }, { name: "deltaGlyphID", type: "USHORT", value: t.deltaGlyphId }]) : new Go.Table("substitutionTable",[{ name: "substFormat", type: "USHORT", value: 2 }, { name: "coverage", type: "TABLE", value: new Go.Coverage(t.coverage) }].concat(Go.ushortList("substitute", t.substitute))); Uo.fail("Lookup type 1 substFormat must be 1 or 2.") } , fs[3] = function e(t) { return Uo.assert(1 === t.substFormat, "Lookup type 3 substFormat must be 1."), new Go.Table("substitutionTable",[{ name: "substFormat", type: "USHORT", value: 1 }, { name: "coverage", type: "TABLE", value: new Go.Coverage(t.coverage) }].concat(Go.tableList("altSet", t.alternateSets, function(e) { return new Go.Table("alternateSetTable",Go.ushortList("alternate", e)) }))) } , fs[4] = function e(t) { return Uo.assert(1 === t.substFormat, "Lookup type 4 substFormat must be 1."), new Go.Table("substitutionTable",[{ name: "substFormat", type: "USHORT", value: 1 }, { name: "coverage", type: "TABLE", value: new Go.Coverage(t.coverage) }].concat(Go.tableList("ligSet", t.ligatureSets, function(e) { return new Go.Table("ligatureSetTable",Go.tableList("ligature", e, function(e) { return new Go.Table("ligatureTable",[{ name: "ligGlyph", type: "USHORT", value: e.ligGlyph }].concat(Go.ushortList("component", e.components, e.components.length + 1))) })) }))) } ; var ds = { parse: ht, make: ft } , vs = { parse: dt, make: vt } , gs = { make: bt, fontToTable: Tt, computeCheckSum: mt }; 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 , a = kt(r.scripts, e); if (a >= 0) return n[a].script; if (t) { var o = { tag: e, script: { defaultLangSys: { reserved: 0, reqFeatureIndex: 65535, featureIndexes: [] }, langSysRecords: [] } }; return n.splice(-1 - a, 0, o), o.script } } }, getLangSysTable: function(e, t, r) { var n = this.getScriptTable(e, r); if (n) { if (!t || "dflt" === t || "DFLT" === t) return n.defaultLangSys; var a = kt(n.langSysRecords, t); if (a >= 0) return n.langSysRecords[a].langSys; if (r) { var o = { tag: t, langSys: { reserved: 0, reqFeatureIndex: 65535, featureIndexes: [] } }; return n.langSysRecords.splice(-1 - a, 0, o), o.langSys } } }, getFeatureTable: function(e, t, r, n) { var a = this.getLangSysTable(e, t, n); if (a) { for (var o, s = a.featureIndexes, i = this.font.tables[this.tableName].features, u = 0; u < s.length; u++) if (o = i[s[u]], o.tag === r) return o.feature; if (n) { var l = i.length; return Uo.assert(0 === l || r >= i[l - 1].tag, "Features must be added in alphabetical order."), o = { tag: r, feature: { params: 0, lookupListIndexes: [] } }, i.push(o), s.push(l), o.feature } } }, getLookupTables: function(e, t, r, n, a) { var o = this.getFeatureTable(e, t, r, a) , s = []; if (o) { for (var i, u = o.lookupListIndexes, l = this.font.tables[this.tableName].lookups, p = 0; p < u.length; p++) i = l[u[p]], i.lookupType === n && s.push(i); if (0 === s.length && a) { i = { lookupType: n, lookupFlag: 0, subtables: [], markFilteringSet: void 0 }; var c = l.length; return l.push(i), u.push(c), [i] } } return s }, 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 r = Ot(e.ranges, t); return r ? r.classId : 0 } }, getCoverageIndex: function(e, t) { switch (e.format) { case 1: var r = Ut(e.glyphs, t); return r >= 0 ? r : -1; case 2: var n = Ot(e.ranges, t); return n ? n.index + t - n.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 } }, wt.prototype = Et.prototype, wt.prototype.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) , f = n.getGlyphClass(i.classDef2, r) , d = i.classRecords[h][f]; return d.value1 && d.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, Rt.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) { var h = l.deltaGlyphId; for (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], v = 0; v < d.length; v++) { var g = d[v]; a.push({ sub: [f].concat(g.components), by: g.ligGlyph }) } return a } , Rt.prototype.addSingle = function(e, t, r, n) { var a = this.getLookupTables(r, n, e, 1, !0)[0] , o = Ct(a, 2, { substFormat: 2, coverage: { format: 1, glyphs: [] }, substitute: [] }); Uo.assert(1 === o.coverage.format, "Ligature: unable to modify coverage table format " + o.coverage.format); var s = t.sub , i = this.binSearch(o.coverage.glyphs, s); i < 0 && (i = -1 - i, o.coverage.glyphs.splice(i, 0, s), o.substitute.splice(i, 0, 0)), o.substitute[i] = t.by } , Rt.prototype.addAlternate = function(e, t, r, n) { var a = this.getLookupTables(r, n, e, 3, !0)[0] , o = Ct(a, 1, { substFormat: 1, coverage: { format: 1, glyphs: [] }, alternateSets: [] }); Uo.assert(1 === o.coverage.format, "Ligature: unable to modify coverage table format " + o.coverage.format); var s = t.sub , i = this.binSearch(o.coverage.glyphs, s); i < 0 && (i = -1 - i, o.coverage.glyphs.splice(i, 0, s), o.alternateSets.splice(i, 0, 0)), o.alternateSets[i] = t.by } , Rt.prototype.addLigature = function(e, t, r, n) { var a = this.getLookupTables(r, n, e, 4, !0)[0] , o = a.subtables[0]; o || (o = { substFormat: 1, coverage: { format: 1, glyphs: [] }, ligatureSets: [] }, a.subtables[0] = o), Uo.assert(1 === o.coverage.format, "Ligature: unable to modify coverage table format " + o.coverage.format); var s = t.sub[0] , i = t.sub.slice(1) , u = { ligGlyph: t.by, components: i } , l = this.binSearch(o.coverage.glyphs, s); if (l >= 0) { for (var p = o.ligatureSets[l], c = 0; c < p.length; c++) if (Lt(p[c].components, i)) return; p.push(u) } else l = -1 - l, o.coverage.glyphs.splice(l, 0, s), o.ligatureSets.splice(l, 0, [u]) } , 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 ms = { getPath: Pt, parse: _t }, ys, bs, Ss, xs, Ts = function(e) { var t = this.srPeriod , r = this.srPhase , n = this.srThreshold , a = 1; if (e < 0 && (e = -e, a = -1), e += n - r, e = Math.trunc(e / t) * t, (e += r) < 0) return r * a; return e * a }, ks = { 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, s = Math.abs(a), i = Math.abs(o), 0 === (p = s + i)) 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), s = Math.abs(a), i = Math.abs(o), 0 === (p = s + i)) return void ks.setRelative(e, e, (u + l) / 2, n, !0); ks.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 , s = a ? t.yo : t.y , i = o + r * n.x , u = s + r * n.y; e.x = i + (e.y - u) / n.normalSlope }, slope: 0, touch: function(e) { e.xTouched = !0 }, touched: function(e) { return e.xTouched }, untouch: function(e) { e.xTouched = !1 } }, Us = { 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, s = Math.abs(a), i = Math.abs(o), 0 === (p = s + i)) 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), s = Math.abs(a), i = Math.abs(o), 0 === (p = s + i)) return void Us.setRelative(e, e, (u + l) / 2, n, !0); Us.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 , s = a ? t.yo : t.y , i = o + r * n.x , u = s + r * n.y; e.y = u + n.normalSlope * (e.x - i) }, slope: Number.POSITIVE_INFINITY, touch: function(e) { e.yTouched = !0 }, touched: function(e) { return e.yTouched }, untouch: function(e) { e.yTouched = !1 } }; Object.freeze(ks), Object.freeze(Us), Kt.prototype.distance = function(e, t, r, n) { return this.x * ks.distance(e, t, r, n) + this.y * Us.distance(e, t, r, n) } , Kt.prototype.interpolate = function(e, t, r, n) { var a, o, s, i, u, l, p; if (s = n.distance(e, t, !0, !0), i = n.distance(e, r, !0, !0), a = n.distance(t, t, !1, !0), o = n.distance(r, r, !1, !0), u = Math.abs(s), l = Math.abs(i), 0 === (p = u + l)) return void this.setRelative(e, e, (a + o) / 2, n, !0); this.setRelative(e, e, (a * l + o * u) / p, 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 , i = o + r * n.x , u = s + r * n.y , l = n.normalSlope , p = this.slope , c = e.x , h = e.y; e.x = (p * c - l * i + u - h) / (p - l), e.y = p * (e.x - c) + h } , 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 Os = Object.freeze(new $t(0,0)) , Es = { cvCutIn: 17 / 16, deltaBase: 9, deltaShift: .125, loop: 1, minDis: 1, autoFlip: !0 }; qt.prototype.exec = function(t, r) { if ("number" != typeof r) throw new Error("Point size is not a number!"); if (this._errorState > 2) return; var n = this.font , a = this._prepState; if (!a || a.ppem !== r) { var o = this._fpgmState; if (!o) { er.prototype = Es, o = this._fpgmState = new er("fpgm",n.tables.fpgm), o.funcs = [], o.font = n, e.DEBUG && (console.log("---EXEC FPGM---"), o.step = -1); try { bs(o) } catch (e) { return console.log("Hinting error in FPGM:" + e), void (this._errorState = 3) } } er.prototype = o, a = this._prepState = new er("prep",n.tables.prep), a.ppem = r; var s = n.tables.cvt; if (s) for (var i = a.cvt = new Array(s.length), u = r / n.unitsPerEm, l = 0; l < s.length; l++) i[l] = s[l] * u; else a.cvt = []; e.DEBUG && (console.log("---EXEC PREP---"), a.step = -1); try { bs(a) } catch (e) { this._errorState < 2 && console.log("Hinting error in PREP:" + e), this._errorState = 2 } } if (this._errorState > 1) return; try { return Ss(t, a) } catch (e) { return this._errorState < 1 && (console.log("Hinting error:" + e), console.log("Note: further hinting errors are silenced")), void (this._errorState = 1) } } , Ss = function(t, r) { var n = r.ppem / r.font.unitsPerEm, a = n, o = t.components, s, i, u; if (er.prototype = r, o) { var l = r.font; i = [], s = []; for (var p = 0; p < o.length; p++) { var c = o[p] , h = l.glyphs.get(c.glyphIndex); u = new er("glyf",h.instructions), e.DEBUG && (console.log("---EXEC COMP " + p + "---"), u.step = -1), xs(h, u, n, a); for (var f = Math.round(c.dx * n), d = Math.round(c.dy * a), v = u.gZone, g = u.contours, m = 0; m < v.length; m++) { var y = v[m]; y.xTouched = y.yTouched = !1, y.xo = y.x = y.x + f, y.yo = y.y = y.y + d } var b = i.length; i.push.apply(i, v); for (var S = 0; S < g.length; S++) s.push(g[S] + b) } t.instructions && !u.inhibitGridFit && (u = new er("glyf",t.instructions), u.gZone = u.z0 = u.z1 = u.z2 = i, u.contours = s, i.push(new $t(0,0), new $t(Math.round(t.advanceWidth * n),0)), e.DEBUG && (console.log("---EXEC COMPOSITE---"), u.step = -1), bs(u), i.length -= 2) } else u = new er("glyf",t.instructions), e.DEBUG && (console.log("---EXEC GLYPH---"), u.step = -1), xs(t, u, n, a), i = u.gZone; return i } , xs = function(t, r, n, a) { for (var o = t.points || [], s = o.length, i = r.gZone = r.z0 = r.z1 = r.z2 = [], u = r.contours = [], l, p = 0; p < s; p++) l = o[p], i[p] = new $t(l.x * n,l.y * a,l.lastPointOfContour,l.onCurve); for (var c, h, f = 0; f < s; f++) l = i[f], c || (c = l, u.push(f)), l.lastPointOfContour ? (l.nextPointOnContour = c, c.prevPointOnContour = l, c = void 0) : (h = i[f + 1], l.nextPointOnContour = h, h.prevPointOnContour = l); if (r.inhibitGridFit) return; if (e.DEBUG) { console.log("PROCESSING GLYPH", r.stack); for (var d = 0; d < s; d++) console.log(d, i[d].x, i[d].y) } if (i.push(new $t(0,0), new $t(Math.round(t.advanceWidth * n),0)), bs(r), i.length -= 2, e.DEBUG) { console.log("FINISHED GLYPH", r.stack); for (var v = 0; v < s; v++) console.log(v, i[v].x, i[v].y) } } , bs = function(t) { var r = t.prog; if (!r) return; var n = r.length, a; for (t.ip = 0; t.ip < n; t.ip++) { if (e.DEBUG && t.step++, !(a = ys[r[t.ip]])) throw new Error("unknown instruction: 0x" + Number(r[t.ip]).toString(16)); a(t) } } , ys = [nr.bind(void 0, Us), nr.bind(void 0, ks), ar.bind(void 0, Us), ar.bind(void 0, ks), or.bind(void 0, Us), or.bind(void 0, ks), 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, vr, gr, mr, yr, br, Sr, xr, Tr, kr, Ur, Or, Er, wr, void 0, void 0, Rr, Lr, Cr, Dr, Ir, Gr, Nr, void 0, void 0, void 0, Mr, Br, Ar, void 0, Fr.bind(void 0, 0), Fr.bind(void 0, 1), Pr.bind(void 0, Us), Pr.bind(void 0, ks), 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, vn, gn, 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, Nn, An, Lr, Lr, void 0, void 0, void 0, void 0, void 0, Fn, 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 e >= 0 && e < this.tokens.length } , ta.prototype.composeRUD = function(e) { var t = this , r = !0 , n = e.map(function(e) { return t[e[0]].apply(t, e.slice(1).concat(r)) }) , a = function(e) { return "object" == typeof e && e.hasOwnProperty("FAIL") }; if (n.every(a)) return { FAIL: "composeRUD: one or more operations hasn't completed successfully", report: n.filter(a) }; this.dispatch("composeRUD", [n.filter(function(e) { return !a(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 o = this.tokens.splice.apply(this.tokens, [e, t].concat(r)); return n || this.dispatch("replaceToken", [e, t, r]), [o, 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) { 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(e, t, r) { this.events.newToken.subscribe(function(n, a) { var o = [n, a] , s = null === t || !0 === t.apply(this, o) , i = [n, a]; if (s) { var u = r.apply(this, i); n.setState(e, u) } }), this.registeredModifiers.push(e) } , $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 e > 0 && 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 t = this.registeredContexts[e]; return t || null } , ta.prototype.on = function(e, t) { var r = this.events[e]; return r ? r.subscribe(t) : null } , ta.prototype.dispatch = function(e, t) { var r = this , n = this.events[e]; n instanceof $n && n.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 n = new Kn(e,t,r); return this.registeredContexts[e] = n, this.contextCheckers.push(n), n } , 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; for (var t in e) if (e.hasOwnProperty(t)) { var r = e[t]; r.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 = this.getContext(t).openRange.startIndex , n = new Qn(r,e,t) , a = this.getContext(t).ranges; return n.rangeId = t + "." + a.length, a.push(n), this.getContext(t).openRange = null, n } , ta.prototype.runContextCheck = function(e) { var t = this , r = e.index; this.contextCheckers.forEach(function(n) { var a = n.contextName , o = t.getContext(a).openRange; if (!o && n.checkStart(e) && (o = new Qn(r,null,a), t.getContext(a).openRange = o, t.dispatch("contextStart", [a, r])), o && n.checkEnd(e)) { var s = r - o.startIndex + 1 , i = t.setEndOffset(s, a); t.dispatch("contextEnd", [a, i]) } }) } , 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 s = new Zn(a); t.tokens.push(s), t.dispatch("newToken", [s, 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) { if (!this.font.tables.gsub) return []; if (!e) return this.getDefaultScriptFeaturesIndexes(); for (var t = this.font.tables.gsub.scripts, r = 0; r < t.length; r++) { var n = t[r]; if (n.tag === e && n.script.defaultLangSys) return n.script.defaultLangSys.featureIndexes; var a = n.langSysRecords; if (a) for (var o = 0; o < a.length; o++) { var s = a[o]; if (s.tag === e) { var i = s.langSys; return i.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; return t = r.map(function(e) { return n.features[e] }), this.features[e] = t, this.mapTagsToFeatures(t, e), t } , ia.prototype.getSubstitutionType = function(e, t) { return e.lookupType.toString() + t.substFormat.toString() } , ia.prototype.getLookupMethod = function(e, t) { var r = this; 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 va.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) , d = void 0; switch (h) { case "11": d = f(r.current), d && s.splice(n, 1, new ua({ id: 11, tag: e.tag, substitution: d })); break; case "12": d = f(r.current), d && s.splice(n, 1, new ua({ id: 12, tag: e.tag, substitution: d })); break; case "63": d = f(r), Array.isArray(d) && d.length && s.splice(n, 1, new ua({ id: 63, tag: e.tag, substitution: d })); break; case "41": d = f(r), d && s.splice(n, 1, new ua({ id: 41, tag: e.tag, substitution: d })); break; case "21": d = f(r.current), d && s.splice(n, 1, new ua({ id: 21, tag: e.tag, substitution: d })); break } if (r = new Jn(s,n), Array.isArray(d) && !d.length) continue; d = null } return s.length ? s : null } , ia.prototype.supports = function(e) { if (!e.script) return !1; this.getScriptFeatures(e.script); var t = this.features.hasOwnProperty(e.script); if (!e.tag) return t; var r = this.features[e.script].some(function(t) { return t.tag === e.tag }); return t && r } , ia.prototype.getLookupSubtables = function(e) { return e.subtables || null } , ia.prototype.getLookupByIndex = function(e) { 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 ws = { startCheck: ga, endCheck: ma } , Rs = { startCheck: ya, endCheck: ba } , Ls = { 11: Sa, 12: xa, 63: Ta, 41: ka } , Cs = { startCheck: Ca, endCheck: Da }; Ba.prototype.setText = function(e) { this.text = e } , Ba.prototype.contextChecks = { latinWordCheck: Cs, arabicWordCheck: ws, arabicSentenceCheck: Rs }, Ba.prototype.registerFeatures = function(e, t) { var r = this , n = t.filter(function(t) { return r.query.supports({ script: e, tag: t }) }); this.featuresTags.hasOwnProperty(e) ? this.featuresTags[e] = this.featuresTags[e].concat(n) : this.featuresTags[e] = n } , 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") && Aa.call(this) } , Ba.prototype.processText = function(e) { this.text && this.text === e || (this.setText(e), Na.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 o = a.activeState.value; r.push(Array.isArray(o) ? o[0] : o) } 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 t = this.charToGlyphIndex(e) , r = this.glyphs.get(t); return r || (r = this.glyphs.get(0)), r } , Wa.prototype.updateFeatures = function(e) { return this.defaultRenderOptions.features.map(function(t) { return "latn" === t.script ? { script: "latn", tags: t.tags.filter(function(t) { return e[t] }) } : t }) } , 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 o = t ? this.updateFeatures(t.features) : this.defaultRenderOptions.features; n.applyFeatures(this, o); for (var s = n.getTextGlyphs(e), i = s.length, u = new Array(i), l = this.glyphs.get(0), p = 0; p < i; p += 1) u[p] = r.glyphs.get(s[p]) || l; return u } , Wa.prototype.nameToGlyphIndex = function(e) { return this.glyphNames.nameToGlyphIndex(e) } , Wa.prototype.nameToGlyph = function(e) { var t = this.nameToGlyphIndex(e) , r = this.glyphs.get(t); return r || (r = this.glyphs.get(0)), r } , 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; if (a.kerning) { var p = a.script || this.position.getDefaultScriptName(); l = this.position.getKerningTables(p, a.language) } for (var c = 0; c < u.length; c += 1) { var h = u[c]; if (o.call(s, h, t, r, n, a), h.advanceWidth && (t += h.advanceWidth * i), a.kerning && c < u.length - 1) { t += (l ? s.position.getKerningValue(l, h.index, u[c + 1].index) : s.getKerningValue(h, u[c + 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 v; return this.forEachGlyph(e, t, r, n, a, function(e, t, r, n) { var s = e.getPath(t, r, n, a, this); o.extend(s) }), 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 s = e.getPath(t, r, n, a, this); o.push(s) }), 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(e, t, r, n, a, o) { this.forEachGlyph(t, r, n, a, o, function(t, r, n, a) { t.drawPoints(e, r, n, a) }) } , Wa.prototype.drawMetrics = function(e, t, r, n, a, o) { this.forEachGlyph(t, r, n, a, o, function(t, r, n, a) { t.drawMetrics(e, r, n, a) }) } , Wa.prototype.getEnglishName = function(e) { var t = this.names[e]; if (t) return t.en } , Wa.prototype.validate = function() { function e(e, t) {} function t(t) { var n = r.getEnglishName(t); e(n && n.trim().length > 0, "No English " + t + " specified.") } var r = this; t("fontFamily"), t("weightName"), t("manufacturer"), t("copyright"), t("version"), e(this.unitsPerEm > 0, "No unitsPerEm specified.") } , Wa.prototype.toTables = function() { return gs.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 = this.toTables(), t = e.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 n = this.toArrayBuffer(); if (Dt()) if (window.URL = window.URL || window.webkitURL, window.URL) { var a = new DataView(n) , o = new Blob([a],{ type: "font/opentype" }) , s = document.createElement("a"); s.href = window.URL.createObjectURL(o), s.download = e; var i = document.createEvent("MouseEvents"); i.initEvent("click", !0, !1), s.dispatchEvent(i) } else console.warn("Font file could not be downloaded. Try using a different browser."); else { var u = require("fs") , l = Mt(n); u.writeFileSync(e, l) } } , 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() }; Uo.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(); Uo.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() , l = this.parseUShort(); return { posFormat: r, coverage: n, valueFormat1: a, valueFormat2: o, classDef1: s, classDef2: i, class1Count: u, class2Count: l, classRecords: this.parseList(u, H.list(l, 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 } , Ns = { parse: to }; e.Font = Wa, e.Glyph = re, e.Path = v, e.BoundingBox = d, e._parse = Fo, e.parse = io, e.load = uo, e.loadSync = lo, Object.defineProperty(e, "__esModule", { value: !0 }) }); ;var Stimulsoft; !function(t) { var e; e = t.ExternalLibrary || (t.ExternalLibrary = {}) }(Stimulsoft || (Stimulsoft = {})), function(t) { "use strict"; function e(t) { return parseInt(t) === t } function r(t) { if (!e(t.length)) return !1; for (var r = 0; r < t.length; r++) if (!e(t[r]) || t[r] < 0 || t[r] > 255) return !1; return !0 } function i(t, i) { if (t.buffer && "Uint8Array" === t.name) return i && (t = t.slice ? t.slice() : Array.prototype.slice.call(t)), t; if (Array.isArray(t)) { if (!r(t)) throw new Error("Array contains invalid value: " + t); return new Uint8Array(t) } if (e(t.length) && r(t)) return new Uint8Array(t); throw new Error("unsupported array-like object") } function n(t) { return new Uint8Array(t) } function s(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 o(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 h(t) { t = i(t, !0); var e = 16 - t.length % 16 , r = n(t.length + e); s(t, r); for (var o = t.length; o < r.length; o++) r[o] = e; return r } function a(t) { if (t = i(t, !0), t.length < 16) throw new Error("PKCS#7 invalid length"); var e = t[t.length - 1]; if (e > 16) throw new Error("PKCS#7 padding byte out of range"); for (var r = t.length - e, o = 0; o < e; o++) if (t[r + o] !== e) throw new Error("PKCS#7 invalid padding byte"); var h = n(r); return s(t, h, 0, 0, r), h } var f = function() { function t(t) { var e = [] , r = 0; t = encodeURI(t); while (r < t.length) { var n = t.charCodeAt(r++); 37 === n ? (e.push(parseInt(t.substr(r, 2), 16)), r += 2) : e.push(n) } return i(e) } function e(t) { var e = [] , r = 0; while (r < t.length) { var i = t[r]; i < 128 ? (e.push(String.fromCharCode(i)), r++) : i > 191 && 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("") } return { toBytes: t, fromBytes: e } }() , u = function() { function t(t) { for (var e = [], r = 0; r < t.length; r += 2) e.push(parseInt(t.substr(r, 2), 16)); return e } function e(t) { for (var e = [], i = 0; i < t.length; i++) { var n = t[i]; e.push(r[(240 & n) >> 4] + r[15 & n]) } return e.join("") } var r = "0123456789abcdef"; return { toBytes: t, fromBytes: e } }() , c = { 16: 10, 24: 12, 32: 14 } , l = [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] , p = [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] , y = [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] , g = [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] , d = [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] , v = [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] , _ = [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] , w = [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] , m = [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] , b = [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] , E = [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] , S = [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] , C = [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] , z = [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] , x = [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] , A = function(t) { if (!(this instanceof A)) throw Error("AES must be instanitated with `new`"); Object.defineProperty(this, "key", { value: i(t, !0) }), this._prepare() }; A.prototype._prepare = function() { var t = c[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 = o(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 h = 0, a = i, f; while (a < r) { if (f = n[i - 1], n[0] ^= p[f >> 16 & 255] << 24 ^ p[f >> 8 & 255] << 16 ^ p[255 & f] << 8 ^ p[f >> 24 & 255] ^ l[h] << 24, h += 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]; f = n[i / 2 - 1], n[i / 2] ^= p[255 & f] ^ p[f >> 8 & 255] << 8 ^ p[f >> 16 & 255] << 16 ^ p[f >> 24 & 255] << 24; for (var e = i / 2 + 1; e < i; e++) n[e] ^= n[e - 1] } var e = 0, u, y; while (e < i && a < r) u = a >> 2, y = a % 4, this._Ke[u][y] = n[e], this._Kd[t - u][y] = n[e++], a++ } for (var u = 1; u < t; u++) for (var y = 0; y < 4; y++) f = this._Kd[u][y], this._Kd[u][y] = S[f >> 24 & 255] ^ C[f >> 16 & 255] ^ z[f >> 8 & 255] ^ x[255 & f] } , A.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 = o(t), s = 0; s < 4; s++) i[s] ^= this._Ke[0][s]; for (var h = 1; h < e; h++) { for (var s = 0; s < 4; s++) r[s] = g[i[s] >> 24 & 255] ^ d[i[(s + 1) % 4] >> 16 & 255] ^ v[i[(s + 2) % 4] >> 8 & 255] ^ _[255 & i[(s + 3) % 4]] ^ this._Ke[h][s]; i = r.slice() } for (var a = n(16), f, s = 0; s < 4; s++) f = this._Ke[e][s], a[4 * s] = 255 & (p[i[s] >> 24 & 255] ^ f >> 24), a[4 * s + 1] = 255 & (p[i[(s + 1) % 4] >> 16 & 255] ^ f >> 16), a[4 * s + 2] = 255 & (p[i[(s + 2) % 4] >> 8 & 255] ^ f >> 8), a[4 * s + 3] = 255 & (p[255 & i[(s + 3) % 4]] ^ f); return a } , A.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 = o(t), s = 0; s < 4; s++) i[s] ^= this._Kd[0][s]; for (var h = 1; h < e; h++) { for (var s = 0; s < 4; s++) r[s] = w[i[s] >> 24 & 255] ^ m[i[(s + 3) % 4] >> 16 & 255] ^ b[i[(s + 2) % 4] >> 8 & 255] ^ E[255 & i[(s + 1) % 4]] ^ this._Kd[h][s]; i = r.slice() } for (var a = n(16), f, s = 0; s < 4; s++) f = this._Kd[e][s], a[4 * s] = 255 & (y[i[s] >> 24 & 255] ^ f >> 24), a[4 * s + 1] = 255 & (y[i[(s + 3) % 4] >> 16 & 255] ^ f >> 16), a[4 * s + 2] = 255 & (y[i[(s + 2) % 4] >> 8 & 255] ^ f >> 8), a[4 * s + 3] = 255 & (y[255 & i[(s + 1) % 4]] ^ f); return a } ; var K = function(t) { if (!(this instanceof K)) throw Error("AES must be instanitated with `new`"); this.description = "Electronic Code Block", this.name = "ecb", this._aes = new A(t) }; K.prototype.encrypt = function(t) { if (t = i(t), t.length % 16 != 0) throw new Error("invalid plaintext size (must be multiple of 16 bytes)"); for (var e = n(t.length), r = n(16), o = 0; o < t.length; o += 16) s(t, r, 0, o, o + 16), r = this._aes.encrypt(r), s(r, e, o); return e } , K.prototype.decrypt = function(t) { if (t = i(t), t.length % 16 != 0) throw new Error("invalid ciphertext size (must be multiple of 16 bytes)"); for (var e = n(t.length), r = n(16), o = 0; o < t.length; o += 16) s(t, r, 0, o, o + 16), r = this._aes.decrypt(r), s(r, e, o); return e } ; var k = function(t, e) { if (!(this instanceof k)) 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 = n(16); this._lastCipherblock = i(e, !0), this._aes = new A(t) }; k.prototype.encrypt = function(t) { if (t = i(t), t.length % 16 != 0) throw new Error("invalid plaintext size (must be multiple of 16 bytes)"); for (var e = n(t.length), r = n(16), o = 0; o < t.length; o += 16) { s(t, r, 0, o, o + 16); for (var h = 0; h < 16; h++) r[h] ^= this._lastCipherblock[h]; this._lastCipherblock = this._aes.encrypt(r), s(this._lastCipherblock, e, o) } return e } , k.prototype.decrypt = function(t) { if (t = i(t), t.length % 16 != 0) throw new Error("invalid ciphertext size (must be multiple of 16 bytes)"); for (var e = n(t.length), r = n(16), o = 0; o < t.length; o += 16) { s(t, r, 0, o, o + 16), r = this._aes.decrypt(r); for (var h = 0; h < 16; h++) e[o + h] = r[h] ^ this._lastCipherblock[h]; s(t, this._lastCipherblock, 0, o, o + 16) } return e } ; var I = function(t, e, r) { if (!(this instanceof I)) 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 = n(16); r || (r = 1), this.segmentSize = r, this._shiftRegister = i(e, !0), this._aes = new A(t) }; I.prototype.encrypt = function(t) { if (t.length % this.segmentSize != 0) throw new Error("invalid plaintext size (must be segmentSize bytes)"); for (var e = i(t, !0), r, n = 0; n < e.length; n += this.segmentSize) { r = this._aes.encrypt(this._shiftRegister); for (var o = 0; o < this.segmentSize; o++) e[n + o] ^= r[o]; s(this._shiftRegister, this._shiftRegister, 0, this.segmentSize), s(e, this._shiftRegister, 16 - this.segmentSize, n, n + this.segmentSize) } return e } , I.prototype.decrypt = function(t) { if (t.length % this.segmentSize != 0) throw new Error("invalid ciphertext size (must be segmentSize bytes)"); for (var e = i(t, !0), r, n = 0; n < e.length; n += this.segmentSize) { r = this._aes.encrypt(this._shiftRegister); for (var o = 0; o < this.segmentSize; o++) e[n + o] ^= r[o]; s(this._shiftRegister, this._shiftRegister, 0, this.segmentSize), s(t, this._shiftRegister, 16 - this.segmentSize, n, n + this.segmentSize) } return e } ; var P = function(t, e) { if (!(this instanceof P)) 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 = n(16); this._lastPrecipher = i(e, !0), this._lastPrecipherIndex = 16, this._aes = new A(t) }; P.prototype.encrypt = function(t) { for (var e = i(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 } , P.prototype.decrypt = P.prototype.encrypt; var j = function(t) { if (!(this instanceof j)) throw Error("Counter must be instanitated with `new`"); 0 === t || t || (t = 1), "number" == typeof t ? (this._counter = n(16), this.setValue(t)) : this.setBytes(t) }; j.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; e >= 0; --e) this._counter[e] = t % 256, t = parseInt(t / 256) } , j.prototype.setBytes = function(t) { if (t = i(t, !0), 16 != t.length) throw new Error("invalid counter bytes size (must be 16 bytes)"); this._counter = t } , j.prototype.increment = function() { for (var t = 15; t >= 0; t--) { if (255 !== this._counter[t]) { this._counter[t]++; break } this._counter[t] = 0 } } ; var R = function(t, e) { if (!(this instanceof R)) throw Error("AES must be instanitated with `new`"); this.description = "Counter", this.name = "ctr", e instanceof j || (e = new j(e)), this._counter = e, this._remainingCounter = null, this._remainingCounterIndex = 16, this._aes = new A(t) }; R.prototype.encrypt = function(t) { for (var e = i(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 } , R.prototype.decrypt = R.prototype.encrypt; var B = { AES: A, Counter: j, ModeOfOperation: { ecb: K, cbc: k, cfb: I, ofb: P, ctr: R }, utils: { hex: u, utf8: f }, padding: { pkcs7: { pad: h, strip: a } }, _arrayTest: { coerceArray: i, createArray: n, copyArray: s } }; "object" == typeof exports && "undefined" != typeof module ? module.exports = B : "function" == typeof define && define.amd ? define([], function() { return B }) : (t.aesjs && (B._aesjs = t.aesjs), t.aesjs = B), Stimulsoft.ExternalLibrary.aesjs = B }(this), "object" == typeof module && (module.exports = Stimulsoft); ;!function(e) { function f(e) { this.ok = !1, "#" == e.charAt(0) && (e = e.substr(1, 6)), e = e.replace(/ /g, ""), e = e.toLowerCase(); var a = { 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" }; for (var r in a) e == r && (e = a[r]); for (var t = [{ 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)] } }], d = 0; d < t.length; d++) { var n = t[d].re , i = t[d].process , l = n.exec(e); l && (channels = i(l), this.r = channels[0], this.g = channels[1], this.b = channels[2], this.ok = !0) } this.r = this.r < 0 || isNaN(this.r) ? 0 : this.r > 255 ? 255 : this.r, this.g = this.g < 0 || isNaN(this.g) ? 0 : this.g > 255 ? 255 : this.g, this.b = this.b < 0 || isNaN(this.b) ? 0 : this.b > 255 ? 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, r = 0; r < t.length; r++) for (var d = t[r].example, n = 0; n < d.length; n++) e[e.length] = d[n]; for (var i in a) e[e.length] = i; var l = document.createElement("ul"); l.setAttribute("id", "rgbcolor-examples"); for (var r = 0; r < e.length; r++) try { var o = document.createElement("li") , s = new f(e[r]) , c = document.createElement("div"); c.style.cssText = "margin: 3px; " + "border: 1px solid black; " + "background:" + s.toHex() + "; " + "color:" + s.toHex(), c.appendChild(document.createTextNode("test")); var b = document.createTextNode(" " + e[r] + " -> " + s.toRGB() + " -> " + s.toHex()); o.appendChild(c), o.appendChild(b), l.appendChild(o) } catch (e) {} return l } } "undefined" != typeof define && define.amd ? define(function() { return f }) : "undefined" != typeof module && module.exports && (module.exports = f), e.RGBColor = f }("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 a(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 r(e, t, a, r) { var i = document.getElementById(e) , g = i.naturalWidth , c = i.naturalHeight , l = document.getElementById(t); l.style.width = g + "px", l.style.height = c + "px", l.width = g, l.height = c; var d = l.getContext("2d"); if (d.clearRect(0, 0, g, c), d.drawImage(i, 0, 0), isNaN(a) || a < 1) return; r ? n(t, 0, 0, g, c, a) : o(t, 0, 0, g, c, a) } function n(e, r, n, o, l, d) { if (isNaN(d) || d < 1) return; d |= 0; var f = document.getElementById(e), s = f.getContext("2d"), u; try { try { u = s.getImageData(r, n, o, l) } catch (e) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"), u = s.getImageData(r, n, o, l) } 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(u); var h = u.data, m, x, b, v, w, y, p, I, B, E, C, D, N, R, P, G, M, U, k, A, H, W, j, q, z = d + d + 1, F = o << 2, J = o - 1, K = l - 1, L = d + 1, O = L * (L + 1) / 2, Q = new i, S = Q; for (b = 1; b < z; b++) if (S = S.next = new i, b == L) var T = S; S.next = Q; var V = null , X = null; p = y = 0; var Y = g[d] , Z = c[d]; for (x = 0; x < l; x++) { for (G = M = U = k = I = B = E = C = 0, D = L * (A = h[y]), N = L * (H = h[y + 1]), R = L * (W = h[y + 2]), P = L * (j = h[y + 3]), I += O * A, B += O * H, E += O * W, C += O * j, S = Q, b = 0; b < L; b++) S.r = A, S.g = H, S.b = W, S.a = j, S = S.next; for (b = 1; b < L; b++) v = y + ((J < b ? J : b) << 2), I += (S.r = A = h[v]) * (q = L - b), B += (S.g = H = h[v + 1]) * q, E += (S.b = W = h[v + 2]) * q, C += (S.a = j = h[v + 3]) * q, G += A, M += H, U += W, k += j, S = S.next; for (V = Q, X = T, m = 0; m < o; m++) h[y] = I * Y >> Z, h[y + 1] = B * Y >> Z, h[y + 2] = E * Y >> Z, h[y + 3] = C * Y >> Z, I -= D, B -= N, E -= R, C -= P, D -= V.r, N -= V.g, R -= V.b, P -= V.a, v = p + ((v = m + d + 1) < J ? v : J) << 2, G += V.r = h[v], M += V.g = h[v + 1], U += V.b = h[v + 2], k += V.a = h[v + 3], I += G, B += M, E += U, C += k, V = V.next, D += A = X.r, N += H = X.g, R += W = X.b, P += j = X.a, G -= A, M -= H, U -= W, k -= j, X = X.next, y += 4; p += o } for (m = 0; m < o; m++) { for (M = U = k = G = B = E = C = I = 0, y = m << 2, D = L * (A = h[y]), N = L * (H = h[y + 1]), R = L * (W = h[y + 2]), P = L * (j = h[y + 3]), I += O * A, B += O * H, E += O * W, C += O * j, S = Q, b = 0; b < L; b++) S.r = A, S.g = H, S.b = W, S.a = j, S = S.next; for (w = o, b = 1; b <= d; b++) y = w + m << 2, I += (S.r = A = h[y]) * (q = L - b), B += (S.g = H = h[y + 1]) * q, E += (S.b = W = h[y + 2]) * q, C += (S.a = j = h[y + 3]) * q, G += A, M += H, U += W, k += j, S = S.next, b < K && (w += o); for (y = m, V = Q, X = T, x = 0; x < l; x++) v = y << 2, h[v] = I * Y >> Z, h[v + 1] = B * Y >> Z, h[v + 2] = E * Y >> Z, h[v + 3] = C * Y >> Z, I -= D, B -= N, E -= R, C -= P, D -= V.r, N -= V.g, R -= V.b, P -= V.a, v = m + ((v = x + L) < K ? v : K) * o << 2, I += G += V.r = h[v], B += M += V.g = h[v + 1], E += U += V.b = h[v + 2], C += k += V.a = h[v + 3], V = V.next, D += A = X.r, N += H = X.g, R += W = X.b, P += j = X.a, G -= A, M -= H, U -= W, k -= j, X = X.next, y += o } a(u), s.putImageData(u, r, n) } function o(e, t, a, r, n, o) { if (isNaN(o) || o < 1) return; o |= 0; var l = document.getElementById(e), d = l.getContext("2d"), f; try { try { f = d.getImageData(t, a, r, n) } catch (e) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"), f = d.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) } var s = f.data, u, h, m, x, b, v, w, y, p, I, B, E, C, D, N, R, P, G, M, U, k = o + o + 1, A = r << 2, H = r - 1, W = n - 1, j = o + 1, q = j * (j + 1) / 2, z = new i, F = z; for (m = 1; m < k; m++) if (F = F.next = new i, m == j) var J = F; F.next = z; var K = null , L = null; w = v = 0; var O = g[o] , Q = c[o]; for (h = 0; h < n; h++) { for (D = N = R = y = p = I = 0, B = j * (P = s[v]), E = j * (G = s[v + 1]), C = j * (M = s[v + 2]), y += q * P, p += q * G, I += q * M, F = z, m = 0; m < j; m++) F.r = P, F.g = G, F.b = M, F = F.next; for (m = 1; m < j; m++) x = v + ((H < m ? H : m) << 2), y += (F.r = P = s[x]) * (U = j - m), p += (F.g = G = s[x + 1]) * U, I += (F.b = M = s[x + 2]) * U, D += P, N += G, R += M, F = F.next; for (K = z, L = J, u = 0; u < r; u++) s[v] = y * O >> Q, s[v + 1] = p * O >> Q, s[v + 2] = I * O >> Q, y -= B, p -= E, I -= C, B -= K.r, E -= K.g, C -= K.b, x = w + ((x = u + o + 1) < H ? x : H) << 2, D += K.r = s[x], N += K.g = s[x + 1], R += K.b = s[x + 2], y += D, p += N, I += R, K = K.next, B += P = L.r, E += G = L.g, C += M = L.b, D -= P, N -= G, R -= M, L = L.next, v += 4; w += r } for (u = 0; u < r; u++) { for (N = R = D = p = I = y = 0, v = u << 2, B = j * (P = s[v]), E = j * (G = s[v + 1]), C = j * (M = s[v + 2]), y += q * P, p += q * G, I += q * M, F = z, m = 0; m < j; m++) F.r = P, F.g = G, F.b = M, F = F.next; for (b = r, m = 1; m <= o; m++) v = b + u << 2, y += (F.r = P = s[v]) * (U = j - m), p += (F.g = G = s[v + 1]) * U, I += (F.b = M = s[v + 2]) * U, D += P, N += G, R += M, F = F.next, m < W && (b += r); for (v = u, K = z, L = J, h = 0; h < n; h++) x = v << 2, s[x] = y * O >> Q, s[x + 1] = p * O >> Q, s[x + 2] = I * O >> Q, y -= B, p -= E, I -= C, B -= K.r, E -= K.g, C -= K.b, x = u + ((x = h + j) < W ? x : W) * r << 2, y += D += K.r = s[x], p += N += K.g = s[x + 1], I += R += K.b = s[x + 2], K = K.next, B += P = L.r, E += G = L.g, C += M = L.b, D -= P, N -= G, R -= M, L = L.next, v += r } d.putImageData(f, t, a) } function i() { this.r = 0, this.g = 0, this.b = 0, this.a = 0, this.next = null } var g = [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] , c = [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] , l = { image: r, canvasRGBA: n, canvasRGB: o }; "undefined" != typeof define && define.amd ? define(function() { return l }) : "undefined" != typeof module && module.exports && (module.exports = l), e.stackBlur = l }("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 += " ... ")), "" } , 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) { "object" == typeof exports && "undefined" != typeof module ? {} : "function" == typeof define && define.amd ? {} : t.canvg = e(t.RGBColor, t.StackBlur) }(this, function(y, v) { "use strict"; var t; return y = y && y.hasOwnProperty("default") ? y.default : y, v = v && v.hasOwnProperty("default") ? v.default : v, function(t) { var l; t.exports; (l = window).DOMParser = window.DOMParser; var c = l.document; function d(t, e) { var i; return (i = c.createElement("canvas")).width = t, i.height = e, i } var f, p = function(t, e, i) { if (null != t || null != e || null != i) { var n = m(i || {}); "string" == typeof t && (t = c.getElementById(t)), null != t.svg && t.svg.stop(), t.childNodes && 1 == t.childNodes.length && "OBJECT" == t.childNodes[0].nodeName || (t.svg = n); var s = t.getContext("2d"); void 0 !== e.documentElement ? n.loadXmlDoc(s, e) : "<" == e.substr(0, 1) ? n.loadXml(s, e) : n.load(s, e) } else for (var a = c.querySelectorAll("svg"), r = 0; r < a.length; r++) { var o = a[r] , h = c.createElement("canvas"); if (void 0 !== o.clientWidth && void 0 !== o.clientHeight) h.width = o.clientWidth, h.height = o.clientHeight; else { var l = o.getBoundingClientRect(); h.width = l.width, h.height = l.height } o.parentNode.insertBefore(h, o), o.parentNode.removeChild(o); var u = c.createElement("div"); u.appendChild(o), p(h, u.innerHTML) } }; "undefined" == typeof Element || (void 0 !== Element.prototype.matches ? f = function(t, e) { return t.matches(e) } : void 0 !== Element.prototype.webkitMatchesSelector ? f = function(t, e) { return t.webkitMatchesSelector(e) } : void 0 !== Element.prototype.mozMatchesSelector ? f = function(t, e) { return t.mozMatchesSelector(e) } : void 0 !== Element.prototype.msMatchesSelector ? f = function(t, e) { return t.msMatchesSelector(e) } : void 0 !== Element.prototype.oMatchesSelector ? f = function(t, e) { return t.oMatchesSelector(e) } : ("function" != typeof jQuery && "function" != typeof Zepto || (f = function(t, e) { return $(t).is(e) } ), void 0 === f && "undefined" != typeof Sizzle && (f = Sizzle.matchesSelector))); var e = /(\[[^\]]+\])/g , i = /(#[^\s\+>~\.\[:]+)/g , a = /(\.[^\s\+>~\.\[:]+)/g , r = /(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi , o = /(:[\w-]+\([^\)]*\))/gi , h = /(:[^\s\+>~\.\[:]+)/g , u = /([^\s\+>~\.\[:]+)/g; function P(n) { var s = [0, 0, 0] , t = function(t, e) { var i = n.match(t); null != i && (s[e] += i.length, n = n.replace(t, " ")) }; return n = (n = n.replace(/:not\(([^\)]*)\)/g, " $1 ")).replace(/{[\s\S]*/gm, " "), t(e, 1), t(i, 0), t(a, 1), t(r, 2), t(o, 1), t(h, 1), n = (n = n.replace(/[\*\s\+>~]/g, " ")).replace(/[#\.]/g, " "), t(u, 2), s.join("") } function m(s) { var D = { opts: s, FRAMERATE: 30, MAX_VIRTUAL_PIXELS: 3e4, rootEmSize: 12, emSize: 12, log: function() {} }; 1 == D.opts.log && "undefined" != typeof console && (D.log = function(t) { console.log(t) } ), D.init = function(t) { var e = 0; D.UniqueId = function() { return "canvg" + ++e } , D.Definitions = {}, D.Styles = {}, D.StylesSpecificity = {}, D.Animations = [], D.Images = [], D.ctx = t, D.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) { return null != t && "number" == typeof t ? t : "x" == t ? this.width() : "y" == t ? this.height() : Math.sqrt(Math.pow(this.width(), 2) + Math.pow(this.height(), 2)) / Math.sqrt(2) } } } , D.init(), D.ImagesLoaded = function() { for (var t = 0; t < D.Images.length; t++) if (!D.Images[t].loaded) return !1; return !0 } , D.trim = function(t) { return t.replace(/^\s+|\s+$/g, "") } , D.compressSpaces = function(t) { return t.replace(/(?!\u3000)\s+/gm, " ") } , D.ajax = function(t) { var e; return (e = l.XMLHttpRequest ? new l.XMLHttpRequest : new ActiveXObject("Microsoft.XMLHTTP")) ? (e.open("GET", t, !1), e.send(null), e.responseText) : null } , D.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 } if (!l.DOMParser) return e = e.replace(/]*>/, ""), (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") } } , D.Property = function(t, e) { this.name = t, this.value = e } , D.Property.prototype.getValue = function() { return this.value } , D.Property.prototype.hasValue = function() { return null != this.value && "" !== this.value } , D.Property.prototype.numValue = function() { if (!this.hasValue()) return 0; var t = parseFloat(this.value); return (this.value + "").match(/%$/) && (t /= 100), t } , D.Property.prototype.valueOrDefault = function(t) { return this.hasValue() ? this.value : t } , D.Property.prototype.numValueOrDefault = function(t) { return this.hasValue() ? this.numValue() : parseFloat(t) } , D.Property.prototype.addOpacity = function(t) { var e = this.value; if (null != t.value && "" != t.value && "string" == typeof this.value) { var i = new y(this.value); i.ok && (e = "rgba(" + i.r + ", " + i.g + ", " + i.b + ", " + t.numValue() + ")") } return new D.Property(this.name,e) } , D.Property.prototype.getDefinition = function() { var t = this.value.match(/#([^\)'"]+)/); return t && (t = t[1]), t || (t = this.value), D.Definitions[t] } , D.Property.prototype.isUrlDefinition = function() { return 0 == this.value.indexOf("url(") } , D.Property.prototype.getFillStyleDefinition = function(t, e) { var i = this.getDefinition(); if (null != i && i.createGradient) return i.createGradient(D.ctx, t, e); if (null != i && i.createPattern) { if (i.getHrefAttribute().hasValue()) { var n = i.attribute("patternTransform"); i = i.getHrefAttribute().getDefinition(), n.hasValue() && (i.attribute("patternTransform", !0).value = n.value) } return i.createPattern(D.ctx, t, e) } return null } , D.Property.prototype.getDPI = function() { return 96 } , D.Property.prototype.getREM = function() { return D.rootEmSize } , D.Property.prototype.getEM = function() { return D.emSize } , D.Property.prototype.getUnits = function() { return (this.value + "").replace(/[0-9\.\-]/g, "") } , D.Property.prototype.isPixels = function() { if (!this.hasValue()) return !1; var t = this.value + ""; return !!t.match(/px$/) || !!t.match(/^[0-9]+$/) } , D.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() * D.ViewPort.ComputeSize(t); var n = this.numValue(); return e && n < 1 ? n * D.ViewPort.ComputeSize(t) : n } , D.Property.prototype.toMilliseconds = function() { return this.hasValue() ? (this.value + "").match(/ms$/) ? this.numValue() : 1e3 * this.numValue() : 0 } , D.Property.prototype.toRadians = function() { if (!this.hasValue()) return 0; var t = this.value + ""; return t.match(/deg$/) ? this.numValue() * (Math.PI / 180) : t.match(/grad$/) ? this.numValue() * (Math.PI / 200) : t.match(/rad$/) ? this.numValue() : 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 D.Property.prototype.toTextBaseline = function() { return this.hasValue() ? t[this.value] : null } , D.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 r = null != a ? this.Parse(a) : this.CreateFont("", "", "", "", "", D.ctx.font); return { fontFamily: s = s || r.fontFamily, fontSize: n || r.fontSize, fontStyle: t || r.fontStyle, fontWeight: i || r.fontWeight, fontVariant: e || r.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 = D.trim(D.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 } } , D.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 } , D.Point = function(t, e) { this.x = t, this.y = e } , D.Point.prototype.angleTo = function(t) { return Math.atan2(t.y - this.y, t.x - this.x) } , D.Point.prototype.applyTransform = function(t) { var e = this.x * t[0] + this.y * t[2] + t[4] , i = this.x * t[1] + this.y * t[3] + t[5]; this.x = e, this.y = i } , D.CreatePoint = function(t) { var e = D.ToNumberArray(t); return new D.Point(e[0],e[1]) } , D.CreatePath = function(t) { for (var e = D.ToNumberArray(t), i = [], n = 0; n < e.length; n += 2) i.push(new D.Point(e[n],e[n + 1])); return i } , D.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) , h = r + 1 / 3 * (s - t) , l = o + 1 / 3 * (a - e); this.addBezierCurve(t, e, r, h, o, l, 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 f = 0; f <= 1; f++) { var p = function(t) { return Math.pow(1 - t, 3) * h[f] + 3 * Math.pow(1 - t, 2) * t * l[f] + 3 * (1 - t) * Math.pow(t, 2) * u[f] + Math.pow(t, 3) * c[f] } , d = 6 * h[f] - 12 * l[f] + 6 * u[f] , m = -3 * h[f] + 9 * l[f] - 9 * u[f] + 3 * c[f] , y = 3 * l[f] - 3 * h[f]; if (0 != m) { var v = Math.pow(d, 2) - 4 * y * m; if (!(v < 0)) { var g = (-d + Math.sqrt(v)) / (2 * m); 0 < g && g < 1 && (0 == f && this.addX(p(g)), 1 == f && this.addY(p(g))); var x = (-d - Math.sqrt(v)) / (2 * m); 0 < x && x < 1 && (0 == f && this.addX(p(x)), 1 == f && this.addY(p(x))) } } else { if (0 == d) continue; var b = -y / d; 0 < b && b < 1 && (0 == f && this.addX(p(b)), 1 == f && this.addY(p(b))) } } } , 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) } , D.Transform = function(t) { var e = this; this.Type = {}, this.Type.translate = function(t) { this.p = D.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 e = D.ToNumberArray(t); this.angle = new D.Property("angle",e[0]), this.cx = e[1] || 0, this.cy = e[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 = D.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 = D.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 = 1 / (e * (1 * a - 0 * r) - i * (1 * s - 0 * r) + n * (0 * s - 0 * a)); t.transform(o * (1 * a - 0 * r), o * (0 * r - 1 * s), o * (0 * n - 1 * i), o * (1 * e - 0 * n), o * (i * r - n * a), o * (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 D.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 = D.trim(D.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]) { var s = D.trim(i[n].split("(")[0]) , a = i[n].split("(")[1].replace(")", "") , r = this.Type[s]; if (void 0 !== r) { var o = new r(a); o.type = s, this.transforms.push(o) } } } , D.AspectRatio = function(t, e, i, n, s, a, r, o, h, l) { var u = (e = (e = D.compressSpaces(e)).replace(/^defer\s/, "")).split(" ")[0] || "xMidYMid" , c = e.split(" ")[1] || "meet" , f = i / n , p = s / a , d = Math.min(f, p) , m = Math.max(f, p); "meet" == c && (n *= d, a *= d), "slice" == c && (n *= m, a *= m), h = new D.Property("refX",h), l = new D.Property("refY",l), h.hasValue() && l.hasValue() ? t.translate(-d * h.toPixels("x"), -d * l.toPixels("y")) : (u.match(/^xMid/) && ("meet" == c && d == p || "slice" == c && m == p) && t.translate(i / 2 - n / 2, 0), u.match(/YMid$/) && ("meet" == c && d == f || "slice" == c && m == f) && t.translate(0, s / 2 - a / 2), u.match(/^xMax/) && ("meet" == c && d == p || "slice" == c && m == p) && t.translate(i - n, 0), u.match(/YMax$/) && ("meet" == c && d == f || "slice" == c && m == f) && t.translate(0, s - a)), "none" == u ? t.scale(f, p) : "meet" == c ? t.scale(d, d) : "slice" == c && t.scale(m, m), t.translate(null == r ? 0 : -r, null == o ? 0 : -o) } , D.Element = {}, D.EmptyProperty = new D.Property("EMPTY",""), D.Element.ElementBase = function(a) { this.attributes = {}, this.styles = {}, this.stylesSpecificity = {}, this.children = [], this.attribute = function(t, e) { var i = this.attributes[t]; return null != i ? i : (1 == e && (i = new D.Property(t,""), this.attributes[t] = i), i || D.EmptyProperty) } , this.getHrefAttribute = function() { for (var t in this.attributes) if ("href" == t || t.match(/:href$/)) return this.attributes[t]; return D.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 a = this.parent; if (null != a) { var r = a.style(t); if (null != r && r.hasValue()) return r } } return 1 == e && (n = new D.Property(t,""), this.styles[t] = n), n || D.EmptyProperty } , this.render = function(t) { if ("none" != this.style("display").value && "hidden" != this.style("visibility").value) { if (t.save(), this.style("mask").hasValue()) { var e = this.style("mask").getDefinition(); null != e && e.apply(t, this) } else if (this.style("filter").hasValue()) { var i = this.style("filter").getDefinition(); null != i && i.apply(t, this) } else 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 = D.CreateElement(t)), i.parent = this, "title" != i.type && this.children.push(i) } , this.addStylesFromStyleDefinition = function() { for (var t in D.Styles) if ("@" != t[0] && f(a, t)) { var e = D.Styles[t] , i = D.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 t, e = new RegExp("^[A-Z-]+$"); if (null != a && 1 == a.nodeType) { for (var i = 0; i < a.attributes.length; i++) { var n = a.attributes[i] , s = (t = n.nodeName, e.test(t) ? t.toLowerCase() : t); this.attributes[s] = new D.Property(s,n.value) } if (this.addStylesFromStyleDefinition(), this.attribute("style").hasValue()) { var r = this.attribute("style").value.split(";"); for (i = 0; i < r.length; i++) if ("" != D.trim(r[i])) { var o = r[i].split(":") , h = D.trim(o[0]) , l = D.trim(o[1]); this.styles[h] = new D.Property(h,l) } } this.attribute("id").hasValue() && null == D.Definitions[this.attribute("id").value] && (D.Definitions[this.attribute("id").value] = this); for (i = 0; i < a.childNodes.length; i++) { var u = a.childNodes[i]; if (1 == u.nodeType && this.addChild(u, !0), this.captureTextNodes && (3 == u.nodeType || 4 == u.nodeType)) { var c = u.value || u.text || u.textContent || ""; "" != D.compressSpaces(c) && this.addChild(new D.Element.tspan(u), !1) } } } } , D.Element.RenderedElementBase = function(t) { this.base = D.Element.ElementBase, this.base(t), this.calculateOpacity = function() { for (var t = 1, e = this; null != e; ) { var i = e.style("opacity", !1, !0); i.hasValue() && (t *= i.numValue()), e = e.parent } return t } , this.setContext = function(t, e) { if (!e) { var i; if (this.style("fill").isUrlDefinition()) null != (i = this.style("fill").getFillStyleDefinition(this, this.style("fill-opacity"))) && (t.fillStyle = i); else if (this.style("fill").hasValue()) { var n; "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) } if (this.style("fill-opacity").hasValue()) n = (n = new D.Property("fill",t.fillStyle)).addOpacity(this.style("fill-opacity")), t.fillStyle = n.value; if (this.style("stroke").isUrlDefinition()) null != (i = this.style("stroke").getFillStyleDefinition(this, this.style("stroke-opacity"))) && (t.strokeStyle = i); else if (this.style("stroke").hasValue()) { var s; "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) } if (this.style("stroke-opacity").hasValue()) s = (s = new D.Property("stroke",t.strokeStyle)).addOpacity(this.style("stroke-opacity")), t.strokeStyle = s.value; if (this.style("stroke-width").hasValue()) { var a = this.style("stroke-width").toPixels(); t.lineWidth = 0 == a ? .001 : a } if (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) { var r = D.ToNumberArray(this.style("stroke-dasharray").value); void 0 !== t.setLineDash ? t.setLineDash(r) : void 0 !== t.webkitLineDash ? t.webkitLineDash = r : void 0 === t.mozDash || 1 == r.length && 0 == r[0] || (t.mozDash = r); var o = this.style("stroke-dashoffset").toPixels(); void 0 !== t.lineDashOffset ? t.lineDashOffset = o : void 0 !== t.webkitLineDashOffset ? t.webkitLineDashOffset = o : void 0 !== t.mozDashOffset && (t.mozDashOffset = o) } } if (void 0 !== t.font) if (this.style("font").hasValue()) t.font = this.style("font").value; else { t.font = D.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(); var h = this.style("font-size", !1, !1); h.isPixels() && (D.emSize = h.toPixels()) } this.style("transform", !1, !0).hasValue() && new D.Transform(this.style("transform", !1, !0).value).apply(t); if (this.style("clip-path", !1, !0).hasValue()) { var l = this.style("clip-path", !1, !0).getDefinition(); null != l && l.apply(t) } t.globalAlpha = this.calculateOpacity() } } , D.Element.RenderedElementBase.prototype = new D.Element.ElementBase, D.Element.PathElementBase = function(t) { this.base = D.Element.RenderedElementBase, this.base(t), this.path = function(t) { return null != t && t.beginPath(), new D.BoundingBox } , this.renderChildren = function(t) { this.path(t), D.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(); if (null != e) { if (this.style("marker-start").isUrlDefinition()) (i = this.style("marker-start").getDefinition()).render(t, e[0][0], e[0][1]); if (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]); if (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 } } , D.Element.PathElementBase.prototype = new D.Element.RenderedElementBase, D.SetDefaults = function(t) { t.strokeStyle = "rgba(0,0,0,0)", t.lineCap = "butt", t.lineJoin = "miter", t.miterLimit = 4 } , D.Element.svg = function(t) { this.base = D.Element.RenderedElementBase, this.base(t), this.baseClearContext = this.clearContext, this.clearContext = function(t) { this.baseClearContext(t), D.ViewPort.RemoveCurrent() } , this.baseSetContext = this.setContext, this.setContext = function(t) { if (D.SetDefaults(t), t.canvas.style && void 0 !== t.font && void 0 !== l.getComputedStyle) { t.font = l.getComputedStyle(t.canvas).getPropertyValue("font"); var e = new D.Property("fontSize",D.Font.Parse(t.font).fontSize); e.hasValue() && (D.rootEmSize = D.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 = D.ViewPort.width() , n = D.ViewPort.height(); if (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"); var s = 0 , a = 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()) } if (D.ViewPort.SetCurrent(i, n), this.attribute("viewBox").hasValue()) { var r = D.ToNumberArray(this.attribute("viewBox").value) , o = r[0] , h = r[1]; i = r[2], n = r[3], D.AspectRatio(t, this.attribute("preserveAspectRatio").value, D.ViewPort.width(), i, D.ViewPort.height(), n, o, h, this.attribute("refX").value, this.attribute("refY").value), D.ViewPort.RemoveCurrent(), D.ViewPort.SetCurrent(r[2], r[3]) } } } , D.Element.svg.prototype = new D.Element.RenderedElementBase, D.Element.rect = function(t) { this.base = D.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"); if (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) { var o = (Math.sqrt(2) - 1) / 3 * 4; 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()) } return new D.BoundingBox(e,i,e + n,i + s) } } , D.Element.rect.prototype = new D.Element.PathElementBase, D.Element.circle = function(t) { this.base = D.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 D.BoundingBox(e - n,i - n,e + n,i + n) } } , D.Element.circle.prototype = new D.Element.PathElementBase, D.Element.ellipse = function(t) { this.base = D.Element.PathElementBase, this.base(t), this.path = function(t) { var e = (Math.sqrt(2) - 1) / 3 * 4 , 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 D.BoundingBox(s - i,a - n,s + i,a + n) } } , D.Element.ellipse.prototype = new D.Element.PathElementBase, D.Element.line = function(t) { this.base = D.Element.PathElementBase, this.base(t), this.getPoints = function() { return [new D.Point(this.attribute("x1").toPixels("x"),this.attribute("y1").toPixels("y")), new D.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 D.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]] } } , D.Element.line.prototype = new D.Element.PathElementBase, D.Element.polyline = function(t) { this.base = D.Element.PathElementBase, this.base(t), this.points = D.CreatePath(this.attribute("points").value), this.path = function(t) { var e = new D.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 } } , D.Element.polyline.prototype = new D.Element.PathElementBase, D.Element.polygon = function(t) { this.base = D.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 } } , D.Element.polygon.prototype = new D.Element.polyline, D.Element.path = function(t) { this.base = D.Element.PathElementBase, this.base(t); var e = this.attribute("d").value; e = e.replace(/,/gm, " "); for (var 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 (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 = D.compressSpaces(e), e = D.trim(e), this.PathParser = new function(t) { this.tokens = t.split(" "), this.reset = function() { this.i = -1, this.command = "", this.previousCommand = "", this.start = new D.Point(0,0), this.control = new D.Point(0,0), this.current = new D.Point(0,0), this.points = [], this.angles = [] } , this.isEnd = function() { return this.i >= this.tokens.length - 1 } , this.isCommandOrEnd = function() { return !!this.isEnd() || 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 D.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() { return "c" != this.previousCommand.toLowerCase() && "s" != this.previousCommand.toLowerCase() && "q" != this.previousCommand.toLowerCase() && "t" != this.previousCommand.toLowerCase() ? this.current : new D.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 D.BoundingBox; for (null != t && t.beginPath(); !e.isEnd(); ) switch (e.nextCommand(), e.command) { case "M": case "m": var n = e.getAsCurrentPoint(); for (e.addMarker(n), i.addPoint(n.x, n.y), null != t && t.moveTo(n.x, n.y), e.start = e.current; !e.isCommandOrEnd(); ) { 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": for (; !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": for (; !e.isCommandOrEnd(); ) { var a = new D.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": for (; !e.isCommandOrEnd(); ) { a = new D.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": for (; !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": for (; !e.isCommandOrEnd(); ) { 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": for (; !e.isCommandOrEnd(); ) { 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": for (; !e.isCommandOrEnd(); ) { r = e.current, h = e.getReflectedControlPoint(); e.control = h; 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": for (; !e.isCommandOrEnd(); ) { r = e.current; var u = e.getScalar() , c = e.getScalar() , f = e.getScalar() * (Math.PI / 180) , p = e.getScalar() , d = e.getScalar() , m = (l = e.getAsCurrentPoint(), new D.Point(Math.cos(f) * (r.x - l.x) / 2 + Math.sin(f) * (r.y - l.y) / 2,-Math.sin(f) * (r.x - l.x) / 2 + Math.cos(f) * (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 = (p == 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 D.Point(v * u * m.y / c,v * -c * m.x / u) , x = new D.Point((r.x + l.x) / 2 + Math.cos(f) * g.x - Math.sin(f) * g.y,(r.y + l.y) / 2 + Math.sin(f) * g.x + Math.cos(f) * 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)) } , E = function(t, e) { return (t[0] * e[1] < t[1] * e[0] ? -1 : 1) * Math.acos(P(t, e)) } , w = E([1, 0], [(m.x - g.x) / u, (m.y - g.y) / c]) , C = [(m.x - g.x) / u, (m.y - g.y) / c] , B = [(-m.x - g.x) / u, (-m.y - g.y) / c] , M = E(C, B); P(C, B) <= -1 && (M = Math.PI), 1 <= P(C, B) && (M = 0); var T = 1 - d ? 1 : -1 , S = w + T * (M / 2) , V = new D.Point(x.x + u * Math.cos(S),x.y + c * Math.sin(S)); if (e.addMarkerAngle(V, S - T * Math.PI / 2), e.addMarkerAngle(l, S - T * Math.PI), i.addPoint(l.x, l.y), null != t && !isNaN(w) && !isNaN(M)) { P = c < u ? u : c; var k = c < u ? 1 : u / c , A = c < u ? c / u : 1; t.translate(x.x, x.y), t.rotate(f), t.scale(k, A), t.arc(0, 0, P, w, w + M, 1 - d), t.scale(1 / k, 1 / A), t.rotate(-f), 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 } } , D.Element.path.prototype = new D.Element.PathElementBase, D.Element.pattern = function(t) { this.base = D.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 D.Element.svg; a.attributes.viewBox = new D.Property("viewBox",this.attribute("viewBox").value), a.attributes.width = new D.Property("width",n + "px"), a.attributes.height = new D.Property("height",s + "px"), a.attributes.transform = new D.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; h <= 1; h++) for (var l = -1; l <= 1; l++) o.save(), a.attributes.x = new D.Property("x",h * r.width), a.attributes.y = new D.Property("y",l * r.height), a.render(o), o.restore(); return t.createPattern(r, "repeat") } } , D.Element.pattern.prototype = new D.Element.ElementBase, D.Element.marker = function(t) { this.base = D.Element.ElementBase, this.base(t), this.baseRender = this.render, this.render = function(t, e, i) { if (e) { 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 D.Element.svg; n.attributes.viewBox = new D.Property("viewBox",this.attribute("viewBox").value), n.attributes.refX = new D.Property("refX",this.attribute("refX").value), n.attributes.refY = new D.Property("refY",this.attribute("refY").value), n.attributes.width = new D.Property("width",this.attribute("markerWidth").value), n.attributes.height = new D.Property("height",this.attribute("markerHeight").value), n.attributes.fill = new D.Property("fill",this.attribute("fill").valueOrDefault("black")), n.attributes.stroke = new D.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) } } } , D.Element.marker.prototype = new D.Element.ElementBase, D.Element.defs = function(t) { this.base = D.Element.ElementBase, this.base(t), this.render = function() {} } , D.Element.defs.prototype = new D.Element.ElementBase, D.Element.GradientBase = function(t) { this.base = D.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) { return i.hasValue() ? new D.Property("color",t).addOpacity(i).value : 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 = D.ViewPort.viewPorts[0] , h = new D.Element.rect; h.attributes.x = new D.Property("x",-D.MAX_VIRTUAL_PIXELS / 3), h.attributes.y = new D.Property("y",-D.MAX_VIRTUAL_PIXELS / 3), h.attributes.width = new D.Property("width",D.MAX_VIRTUAL_PIXELS), h.attributes.height = new D.Property("height",D.MAX_VIRTUAL_PIXELS); var l = new D.Element.g; l.attributes.transform = new D.Property("transform",this.attribute("gradientTransform").value), l.children = [h]; var u = new D.Element.svg; u.attributes.x = new D.Property("x",0), u.attributes.y = new D.Property("y",0), u.attributes.width = new D.Property("width",o.width), u.attributes.height = new D.Property("height",o.height), u.children = [l]; var c = d(o.width, o.height) , f = c.getContext("2d"); return f.fillStyle = a, u.render(f), f.createPattern(c, "no-repeat") } return a } } , D.Element.GradientBase.prototype = new D.Element.ElementBase, D.Element.linearGradient = function(t) { this.base = D.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") , a = "objectBoundingBox" == this.gradientUnits() ? i.x() + i.width() * this.attribute("x2").numValue() : this.attribute("x2").toPixels("x") , r = "objectBoundingBox" == this.gradientUnits() ? i.y() + i.height() * this.attribute("y2").numValue() : this.attribute("y2").toPixels("y"); return n == a && s == r ? null : t.createLinearGradient(n, s, a, r) } } , D.Element.linearGradient.prototype = new D.Element.GradientBase, D.Element.radialGradient = function(t) { this.base = D.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 o = "objectBoundingBox" == this.gradientUnits() ? (i.width() + i.height()) / 2 * this.attribute("r").numValue() : this.attribute("r").toPixels() , h = this.attribute("fr").toPixels(); return t.createRadialGradient(a, r, h, n, s, o) } } , D.Element.radialGradient.prototype = new D.Element.GradientBase, D.Element.stop = function(t) { this.base = D.Element.ElementBase, this.base(t), this.offset = this.attribute("offset").numValue(), this.offset < 0 && (this.offset = 0), 1 < this.offset && (this.offset = 1); var e = this.style("stop-color", !0); "" === e.value && (e.value = "#000"), this.style("stop-opacity").hasValue() && (e = e.addOpacity(this.style("stop-opacity"))), this.color = e.value } , D.Element.stop.prototype = new D.Element.ElementBase, D.Element.AnimateBase = function(t) { this.base = D.Element.ElementBase, this.base(t), D.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; return "CSS" == t ? this.parent.style(e, !0) : 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; if (this.begin < this.duration) { var i = this.calcValue(); if (this.attribute("type").hasValue()) i = this.attribute("type").value + "(" + i + ")"; this.getProperty().value = i, e = !0 } return 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) }; if (this.values.hasValue()) { var e = t.progress * (this.values.value.length - 1) , i = Math.floor(e) , n = Math.ceil(e); t.from = new D.Property("from",parseFloat(this.values.value[i])), t.to = new D.Property("to",parseFloat(this.values.value[n])), t.progress = (e - i) / (n - i) } else t.from = this.from, t.to = this.to; return t } } , D.Element.AnimateBase.prototype = new D.Element.ElementBase, D.Element.animate = function(t) { this.base = D.Element.AnimateBase, this.base(t), this.calcValue = function() { var t = this.progress() , e = t.from.numValue() + (t.to.numValue() - t.from.numValue()) * t.progress; return "%" === this.initialUnits && (e *= 100), e + this.initialUnits } } , D.Element.animate.prototype = new D.Element.AnimateBase, D.Element.animateColor = function(t) { this.base = D.Element.AnimateBase, this.base(t), this.calcValue = function() { var t = this.progress() , e = new y(t.from.value) , i = new y(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 , a = e.b + (i.b - e.b) * t.progress; return "rgb(" + parseInt(n, 10) + "," + parseInt(s, 10) + "," + parseInt(a, 10) + ")" } return this.attribute("from").value } } , D.Element.animateColor.prototype = new D.Element.AnimateBase, D.Element.animateTransform = function(t) { this.base = D.Element.AnimateBase, this.base(t), this.calcValue = function() { for (var t = this.progress(), e = D.ToNumberArray(t.from.value), i = D.ToNumberArray(t.to.value), n = "", s = 0; s < e.length; s++) n += e[s] + (i[s] - e[s]) * t.progress + " "; return n } } , D.Element.animateTransform.prototype = new D.Element.animate, D.Element.font = function(t) { this.base = D.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() && (D.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() {} } , D.Element.font.prototype = new D.Element.ElementBase, D.Element.fontface = function(t) { this.base = D.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() } , D.Element.fontface.prototype = new D.Element.ElementBase, D.Element.missingglyph = function(t) { this.base = D.Element.path, this.base(t), this.horizAdvX = 0 } , D.Element.missingglyph.prototype = new D.Element.path, D.Element.glyph = function(t) { this.base = D.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 } , D.Element.glyph.prototype = new D.Element.path, D.Element.text = function(t) { this.captureTextNodes = !0, this.base = D.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); D.Mouse.checkBoundingBox(this, this.getBoundingBox(t)) } , this.getAnchorDelta = function(t, e, i) { var n = this.style("text-anchor").valueOrDefault("start"); if ("start" == n) return 0; 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) } , this.adjustChildCoordinates = function(t, e, i, n) { var s = i.children[n]; if ("function" != typeof s.measureText) return s; if (s.attribute("x").hasValue()) { s.x = s.attribute("x").toPixels("x") + e.getAnchorDelta(t, i, n); var a = s.attribute("text-anchor").valueOrDefault("start"); if ("start" !== a) { var r = s.measureTextRecursive(t); s.x += -1 * ("end" == a ? r : r / 2) } s.attribute("dx").hasValue() && (s.x += s.attribute("dx").toPixels("x")) } else s.attribute("dx").hasValue() && (e.x += s.attribute("dx").toPixels("x")), s.x = e.x; return 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) { var s = this.adjustChildCoordinates(t, e, i, n) , a = s.getBoundingBox(t); for (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 (n = 0; n < s.children.length; n++) e.renderChild(t, e, s, n) } } , D.Element.text.prototype = new D.Element.RenderedElementBase, D.Element.TextElementBase = function(t) { this.base = D.Element.RenderedElementBase, this.base(t), this.getGlyph = function(t, e, i) { var n = e[i] , s = null; if (t.isArabic) { var 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]) } else s = t.glyphs[n]; return null == s && (s = t.missingGlyph), s } , this.renderChildren = function(t) { var e = this.parent.style("font-family").getDefinition(); if (null == e) "stroke" == t.paintOrder ? ("" != t.strokeStyle && t.strokeText(D.compressSpaces(this.getText()), this.x, this.y), "" != t.fillStyle && t.fillText(D.compressSpaces(this.getText()), this.x, this.y)) : ("" != t.fillStyle && t.fillText(D.compressSpaces(this.getText()), this.x, this.y), "" != t.strokeStyle && t.strokeText(D.compressSpaces(this.getText()), this.x, this.y)); else { var i = this.parent.style("font-size").numValueOrDefault(D.Font.Parse(D.ctx.font).fontSize) , n = this.parent.style("font-style").valueOrDefault(D.Font.Parse(D.ctx.font).fontStyle) , s = this.getText(); e.isRTL && (s = s.split("").reverse().join("")); for (var a = D.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]) } } } , 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(D.Font.Parse(D.ctx.font).fontSize) , n = 0 , s = this.getText(); e.isRTL && (s = s.split("").reverse().join("")); for (var a = D.ToNumberArray(this.parent.attribute("dx").value), r = 0; 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 o = D.compressSpaces(this.getText()); if (!t.measureText) return 10 * o.length; t.save(), this.setContext(t, !0); var h = t.measureText(o).width; return t.restore(), h } , this.getBoundingBox = function(t) { var e = this.parent.style("font-size").numValueOrDefault(D.Font.Parse(D.ctx.font).fontSize); return new D.BoundingBox(this.x,this.y - e,this.x + this.measureText(t),this.y) } } , D.Element.TextElementBase.prototype = new D.Element.RenderedElementBase, D.Element.tspan = function(t) { this.captureTextNodes = !0, this.base = D.Element.TextElementBase, this.base(t), this.text = D.compressSpaces(t.value || t.text || t.textContent || ""), this.getText = function() { return 0 < this.children.length ? "" : this.text } } , D.Element.tspan.prototype = new D.Element.TextElementBase, D.Element.tref = function(t) { this.base = D.Element.TextElementBase, this.base(t), this.getText = function() { var t = this.getHrefAttribute().getDefinition(); if (null != t) return t.children[0].getText() } } , D.Element.tref.prototype = new D.Element.TextElementBase, D.Element.a = function(t) { this.base = D.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) { if (this.hasText) { this.baseRenderChildren(t); var e = new D.Property("fontSize",D.Font.Parse(D.ctx.font).fontSize); D.Mouse.checkBoundingBox(this, new D.BoundingBox(this.x,this.y - e.toPixels("y"),this.x + this.measureText(t),this.y)) } else if (0 < this.children.length) { var i = new D.Element.g; i.children = this.children, i.parent = this, i.render(t) } } , this.onclick = function() { l.open(this.getHrefAttribute().value) } , this.onmousemove = function() { D.ctx.canvas.style.cursor = "pointer" } } , D.Element.a.prototype = new D.Element.TextElementBase, D.Element.textPath = function(t) { this.base = D.Element.TextElementBase, this.base(t); var e = this.getHrefAttribute().getDefinition(); this.text = D.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(D.compressSpaces(h), 0, 0), "" != t.strokeStyle && t.strokeText(D.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] , f = s[7] , p = h < o ? o : h , d = h < o ? 1 : o / h , m = h < o ? h / o : 1; null != t && (t.translate(a, r), t.rotate(c), t.scale(d, m), t.arc(0, 0, p, l, l + u, 1 - f), t.scale(1 / d, 1 / m), t.rotate(-c), t.translate(-a, -r)); break; case "z": null != t && t.closePath() } } } , this.getText = function() { return this.text } , this.fontSize = function() { return this.parent.style("font-size").numValueOrDefault(D.Font.Parse(D.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 = D.ToNumberArray(this.parent.attribute("dx").value), r = 0; 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 o = D.compressSpaces(e); if (!t.measureText) return 10 * o.length; t.save(), this.setContext(t); var h = t.measureText(o).width; return t.restore(), h } , this.setTextData = function(r) { if (!this.hasOwnProperty("glyphInfo")) { var o = this , t = this.getText().split("") , h = this.getText().split(" ").length - 1 , e = D.ToNumberArray(this.parent.attribute("dx").valueOrDefault("0")) , i = 0 , l = this.parent.style("text-anchor").valueOrDefault("start") , n = this.style("letter-spacing") , s = this.parent.style("letter-spacing"); n.hasValue() && "inherit" !== n.getValue() ? n.hasValue() && "initial" !== n.getValue() && "unset" !== n.getValue() && (i = n.toPixels()) : i = s.toPixels(), this.letterSpacingCache = []; for (var a = 0; a < this.getText().length; a++) this.letterSpacingCache.push(void 0 !== e[a] ? e[a] : i); var u = this.letterSpacingCache.reduce(function(t, e) { return t + e || 0 }, 0); this.textWidth = this.measureText(r), this.textHeight = this.fontSize(); var c = Math.max(this.textWidth + u, 0); this.glyphInfo = []; var f = this.getPathLength() , p = this.style("startOffset").numValueOrDefault(0) * f , d = 0; "middle" !== l && "center" !== l || (d = -c / 2), "end" !== l && "right" !== l || (d = -c), d += p; var m = function(t, e) { var i, n = o.measureText(r, t); " " === t && "justify" === l && c < f && (n += (f - c) / h), -1 < e && (d += (i = (i = e) || 0, o.letterSpacingCache[i] || 0)); var s = o.textHeight / 20 , a = { p0: o.getEquidistantPointOnPath(d, s), p1: o.getEquidistantPointOnPath(d + n, s) }; return d += n, a }; for (a = 0; a < t.length; a++) { var y = m(t[a], a); if (void 0 !== y.p0 && void 0 !== y.p1) { var v = o.getLineLength(y.p0.x, y.p0.y, y.p1.x, y.p1.y) , g = o.getPointOnLine(0 + v / 2, y.p0.x, y.p0.y, y.p1.x, y.p1.y) , x = Math.atan2(y.p1.y - y.p0.y, y.p1.x - y.p0.x); this.glyphInfo.push({ transposeX: g.x, transposeY: g.y, text: t[a], rotation: x, p0: y.p0, p1: y.p1 }) } } } } , this.parsePathData = function(t) { if (this.pathLength = void 0, !t) return []; var e = [] , i = t.PathParser; for (i.reset(); !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(); for (n.push(h.x, h.y), i.start = i.current; !i.isCommandOrEnd(); ) { h = i.getAsCurrentPoint(); n.push(h.x, h.y), s = "L" } break; case "L": case "l": for (; !i.isCommandOrEnd(); ) { h = i.getAsCurrentPoint(); n.push(h.x, h.y) } s = "L"; break; case "H": case "h": for (; !i.isCommandOrEnd(); ) { var l = new D.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": for (; !i.isCommandOrEnd(); ) { l = new D.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": for (; !i.isCommandOrEnd(); ) { var u = i.getPoint() , c = i.getAsControlPoint() , f = i.getAsCurrentPoint(); n.push(u.x, u.y, c.x, c.y, f.x, f.y) } break; case "S": case "s": for (; !i.isCommandOrEnd(); ) { u = i.getReflectedControlPoint(), c = i.getAsControlPoint(), f = i.getAsCurrentPoint(); n.push(u.x, u.y, c.x, c.y, f.x, f.y) } s = "C"; break; case "Q": case "q": for (; !i.isCommandOrEnd(); ) { c = i.getAsControlPoint(), f = i.getAsCurrentPoint(); n.push(c.x, c.y, f.x, f.y) } break; case "T": case "t": for (; !i.isCommandOrEnd(); ) { c = i.getReflectedControlPoint(); i.control = c; f = i.getAsCurrentPoint(); n.push(c.x, c.y, f.x, f.y) } s = "Q"; break; case "A": case "a": for (; !i.isCommandOrEnd(); ) { var p = i.current , d = i.getScalar() , m = i.getScalar() , y = i.getScalar() * (Math.PI / 180) , v = i.getScalar() , g = i.getScalar() , x = (f = i.getAsCurrentPoint(), new D.Point(Math.cos(y) * (p.x - f.x) / 2 + Math.sin(y) * (p.y - f.y) / 2,-Math.sin(y) * (p.x - f.x) / 2 + Math.cos(y) * (p.y - f.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 D.Point(P * d * x.y / m,P * -m * x.x / d) , w = new D.Point((p.x + f.x) / 2 + Math.cos(y) * E.x - Math.sin(y) * E.y,(p.y + f.y) / 2 + Math.sin(y) * E.x + Math.cos(y) * E.y) , C = function(t) { return Math.sqrt(Math.pow(t[0], 2) + Math.pow(t[1], 2)) } , B = function(t, e) { return (t[0] * e[0] + t[1] * e[1]) / (C(t) * C(e)) } , M = function(t, e) { return (t[0] * e[1] < t[1] * e[0] ? -1 : 1) * Math.acos(B(t, e)) } , T = M([1, 0], [(x.x - E.x) / d, (x.y - E.y) / m]) , S = [(x.x - E.x) / d, (x.y - E.y) / m] , V = [(-x.x - E.x) / d, (-x.y - E.y) / m] , k = M(S, V); B(S, V) <= -1 && (k = Math.PI), 1 <= B(S, V) && (k = 0), 0 === g && 0 < k && (k -= 2 * Math.PI), 1 === g && k < 0 && (k += 2 * Math.PI), n = [w.x, w.y, d, m, T, k, 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)) 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)) { 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; if (o = h + r / a.pathLength * l, 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]) } if (void 0 !== n && n !== {}) return n; break } e += a.pathLength } } , 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); void 0 !== a && void 0 !== r && (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())) { var n = Math.round(t / this.getPathLength() * (this.equidistantCache.points.length - 1)); return this.equidistantCache.points[n] || 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, u = o * h; if (n === e) l = { x: a, y: r + u }; else if ((r - i) / (a - e + 1e-8) === o) l = { x: a + h, y: r + u }; else { var c, f, p = this.getLineLength(e, i, n, s); if (p < 1e-8) return; var d = (a - e) * (n - e) + (r - i) * (s - i); c = e + (d /= p * p) * (n - e), f = i + d * (s - i); var m = this.getLineLength(a, r, c, f) , y = Math.sqrt(t * t - m * m); h = Math.sqrt(y * y / (1 + o * o)), n < e && (h *= -1), l = { x: c + h, y: f + (u = o * h) } } return l } , 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 f(t) { return (1 - t) * (1 - t) * (1 - t) } return { x: o * l(t) + a * u(t) + n * c(t) + e * f(t), y: h * l(t) + r * u(t) + s * c(t) + i * f(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) } 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) , o = Math.sin(a) , h = i * Math.cos(s) , l = n * Math.sin(s); return { x: t + (h * r - l * o), y: e + (h * o + l * 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] , l = n[5] , u = n[4] + l , c = Math.PI / 180; if (Math.abs(h - u) < c && (c = Math.abs(h - u)), a = this.getPointOnEllipticalArc(n[0], n[1], n[2], n[3], h, 0), l < 0) for (o = h - c; u < o; o -= c) 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 + c; o < u; o += c) 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], u, 0), s += this.getLineLength(a.x, a.y, r.x, r.y) } return 0 } , this.dataArray = this.parsePathData(e) } , D.Element.textPath.prototype = new D.Element.TextElementBase, D.Element.image = function(t) { this.base = D.Element.RenderedElementBase, this.base(t); var e = this.getHrefAttribute().value; if ("" != e) { var a = e.match(/\.svg$/); if (D.Images.push(this), this.loaded = !1, a) this.img = D.ajax(e), this.loaded = !0; else { this.img = c.createElement("img"), 1 == D.opts.useCORS && (this.img.crossOrigin = "Anonymous"); var r = this; this.img.onload = function() { r.loaded = !0 } , this.img.onerror = function() { D.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"); 0 != n && 0 != s && (t.save(), a ? t.drawSvg(this.img, e, i, n, s) : (t.translate(e, i), D.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 D.BoundingBox(t,e,t + i,e + n) } } } , D.Element.image.prototype = new D.Element.RenderedElementBase, D.Element.g = function(t) { this.base = D.Element.RenderedElementBase, this.base(t), this.getBoundingBox = function(t) { for (var e = new D.BoundingBox, i = 0; i < this.children.length; i++) e.addBoundingBox(this.children[i].getBoundingBox(t)); return e } } , D.Element.g.prototype = new D.Element.RenderedElementBase, D.Element.symbol = function(t) { this.base = D.Element.RenderedElementBase, this.base(t), this.render = function() {} } , D.Element.symbol.prototype = new D.Element.RenderedElementBase, D.ParseExternalUrl = function(t) { var e = t.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/) || []; return e[2] || e[3] || e[4] } , D.Element.style = function(t) { this.base = D.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, ""); var n = (e = D.compressSpaces(e)).split("}"); for (i = 0; i < n.length; i++) if ("" != D.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 = D.trim(a[o]); if ("" != h) { for (var l = D.Styles[h] || {}, u = 0; u < r.length; u++) { var c = r[u].indexOf(":") , f = r[u].substr(0, c) , p = r[u].substr(c + 1, r[u].length - c); null != f && null != p && (l[D.trim(f)] = new D.Property(D.trim(f),D.trim(p))) } if (D.Styles[h] = l, D.StylesSpecificity[h] = P(h), "@font-face" == h) for (var d = l["font-family"].value.replace(/"/g, ""), m = l.src.value.split(","), y = 0; y < m.length; y++) if (0 < m[y].indexOf('format("svg")')) { var v = D.ParseExternalUrl(m[y]); if (v) for (var g = D.parseXml(D.ajax(v)).getElementsByTagName("font"), x = 0; x < g.length; x++) { var b = D.CreateElement(g[x]); D.Definitions[d] = b } } } } } , D.Element.style.prototype = new D.Element.ElementBase, D.Element.use = function(t) { this.base = D.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 D.Transform(n.style("transform", !1, !0).value) } , this.getBoundingBox = function(t) { if (null != n) return n.getBoundingBox(t) } , this.renderChildren = function(t) { if (null != n) { var e = n; "symbol" == n.type && ((e = new D.Element.svg).type = "svg", e.attributes.viewBox = new D.Property("viewBox",n.attribute("viewBox").value), e.attributes.preserveAspectRatio = new D.Property("preserveAspectRatio",n.attribute("preserveAspectRatio").value), e.attributes.overflow = new D.Property("overflow",n.attribute("overflow").value), e.children = n.children), "svg" == e.type && (this.attribute("width").hasValue() && (e.attributes.width = new D.Property("width",this.attribute("width").value)), this.attribute("height").hasValue() && (e.attributes.height = new D.Property("height",this.attribute("height").value))); var i = e.parent; e.parent = null, e.render(t), e.parent = i } } } , D.Element.use.prototype = new D.Element.RenderedElementBase, D.Element.mask = function(t) { this.base = D.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 D.BoundingBox, o = 0; o < this.children.length; o++) r.addBoundingBox(this.children[o].getBoundingBox(t)); 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"); D.SetDefaults(u), this.renderChildren(u), new D.Element.feColorMatrix({ nodeType: 1, childNodes: [], attributes: [{ nodeName: "type", value: "luminanceToAlpha" }, { nodeName: "includeOpacity", value: "true" }] }).apply(u, 0, 0, i + s, n + a); var c = d(i + s, n + a) , f = c.getContext("2d"); D.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(c, "no-repeat"), t.fillRect(0, 0, i + s, n + a), e.style("mask").value = h } , this.render = function() {} } , D.Element.mask.prototype = new D.Element.ElementBase, D.Element.clipPath = function(t) { this.base = D.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]; if (void 0 !== a.path) { var r = void 0 !== a.elementTransform && a.elementTransform(); !r && a.style("transform", !1, !0).hasValue() && (r = new D.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() {} } , D.Element.clipPath.prototype = new D.Element.ElementBase, D.Element.filter = function(t) { this.base = D.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 f = d(a + 2 * h, r + 2 * l) , p = f.getContext("2d"); D.SetDefaults(p), p.translate(-n + h, -s + l), e.render(p); for (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(f, 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() {} } , D.Element.filter.prototype = new D.Element.ElementBase, D.Element.feDropShadow = function(t) { this.base = D.Element.ElementBase, this.base(t), this.addStylesFromStyleDefinition(), this.apply = function() {} } , D.Element.feDropShadow.prototype = new D.Element.ElementBase, D.Element.feMorphology = function(t) { this.base = D.Element.ElementBase, this.base(t), this.apply = function() {} } , D.Element.feMorphology.prototype = new D.Element.ElementBase, D.Element.feComposite = function(t) { this.base = D.Element.ElementBase, this.base(t), this.apply = function() {} } , D.Element.feComposite.prototype = new D.Element.ElementBase, D.Element.feColorMatrix = function(t) { this.base = D.Element.ElementBase, this.base(t); var n = D.ToNumberArray(this.attribute("values").value); switch (this.attribute("type").valueOrDefault("matrix")) { case "saturate": var e = n[0]; n = [.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 s = n[0] * Math.PI / 180 , i = function(t, e, i) { return t + Math.cos(s) * e + Math.sin(s) * i }; n = [i(.213, .787, -.213), i(.715, -.715, -.715), i(.072, -.072, .928), 0, 0, i(.213, -.213, .143), i(.715, .285, .14), i(.072, -.072, -.283), 0, 0, i(.213, -.213, -.787), i(.715, -.715, .715), i(.072, .928, .072), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; break; case "luminanceToAlpha": n = [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] } function d(t, e, i, n, s, a) { return t[i * n * 4 + 4 * e + a] } function m(t, e, i, n, s, a, r) { t[i * n * 4 + 4 * e + a] = r } function y(t, e) { var i = n[t]; return i * (i < 0 ? e - 255 : e) } var v = this.attribute("includeOpacity").hasValue(); this.apply = function(t, e, i, n, s) { var a = t.getImageData(0, 0, n, s); for (i = 0; i < s; i++) for (e = 0; e < n; e++) { var r = d(a.data, e, i, n, 0, 0) , o = d(a.data, e, i, n, 0, 1) , h = d(a.data, e, i, n, 0, 2) , l = d(a.data, e, i, n, 0, 3) , u = y(0, r) + y(1, o) + y(2, h) + y(3, l) + y(4, 1) , c = y(5, r) + y(6, o) + y(7, h) + y(8, l) + y(9, 1) , f = y(10, r) + y(11, o) + y(12, h) + y(13, l) + y(14, 1) , p = y(15, r) + y(16, o) + y(17, h) + y(18, l) + y(19, 1); v && (u = c = f = 0, p *= l / 255), m(a.data, e, i, n, 0, 0, u), m(a.data, e, i, n, 0, 1, c), m(a.data, e, i, n, 0, 2, f), m(a.data, e, i, n, 0, 3, p) } t.clearRect(0, 0, n, s), t.putImageData(a, 0, 0) } } , D.Element.feColorMatrix.prototype = new D.Element.ElementBase, D.Element.feGaussianBlur = function(t) { this.base = D.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) { v && void 0 !== v.canvasRGBA ? (t.canvas.id = D.UniqueId(), t.canvas.style.display = "none", c.body.appendChild(t.canvas), v.canvasRGBA(t.canvas, e, i, n, s, this.blurRadius), c.body.removeChild(t.canvas)) : D.log("ERROR: StackBlur.js must be included for blur to work") } } , D.Element.feGaussianBlur.prototype = new D.Element.ElementBase, D.Element.title = function() {} , D.Element.title.prototype = new D.Element.ElementBase, D.Element.desc = function() {} , D.Element.desc.prototype = new D.Element.ElementBase, D.Element.MISSING = function(t) { D.log("ERROR: Element '" + t.nodeName + "' not yet implemented.") } , D.Element.MISSING.prototype = new D.Element.ElementBase, D.CreateElement = function(t) { var e = t.nodeName.replace(/^[^:]+:/, ""); e = e.replace(/\-/g, ""); var i = null; return (i = void 0 !== D.Element[e] ? new D.Element[e](t) : new D.Element.MISSING(t)).type = t.nodeName, i } , D.load = function(t, e) { D.loadXml(t, D.ajax(e)) } , D.loadXml = function(t, e) { D.loadXmlDoc(t, D.parseXml(e)) } , D.loadXmlDoc = function(a, r) { D.init(a); var i = function(t) { for (var e = a.canvas; 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 != D.opts.ignoreMouse && (a.canvas.onclick = function(t) { var e = i(new D.Point(null != t ? t.clientX : event.clientX,null != t ? t.clientY : event.clientY)); D.Mouse.onclick(e.x, e.y) } , a.canvas.onmousemove = function(t) { var e = i(new D.Point(null != t ? t.clientX : event.clientX,null != t ? t.clientY : event.clientY)); D.Mouse.onmousemove(e.x, e.y) } ); var o = D.CreateElement(r.documentElement); o.root = !0, o.addStylesFromStyleDefinition(); var h = !0 , n = function() { D.ViewPort.Clear(), a.canvas.parentNode ? D.ViewPort.SetCurrent(a.canvas.parentNode.clientWidth, a.canvas.parentNode.clientHeight) : D.ViewPort.SetCurrent(800, 600), 1 != D.opts.ignoreDimensions && (h || null == D.opts.scaleWidth && null == D.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; if (1 == D.opts.ignoreDimensions && o.style("width").hasValue() && o.style("height").hasValue() && (t = o.style("width").toPixels("x"), e = o.style("height").toPixels("y")), D.ViewPort.SetCurrent(t, e), null != D.opts.offsetX && (o.attribute("x", !0).value = D.opts.offsetX), null != D.opts.offsetY && (o.attribute("y", !0).value = D.opts.offsetY), null != D.opts.scaleWidth || null != D.opts.scaleHeight) { var i = null , n = null , s = D.ToNumberArray(o.attribute("viewBox").value); null != D.opts.scaleWidth && (o.attribute("width").hasValue() ? i = o.attribute("width").toPixels("x") / D.opts.scaleWidth : isNaN(s[2]) || (i = s[2] / D.opts.scaleWidth)), null != D.opts.scaleHeight && (o.attribute("height").hasValue() ? n = o.attribute("height").toPixels("y") / D.opts.scaleHeight : isNaN(s[3]) || (n = s[3] / D.opts.scaleHeight)), null == i && (i = n), null == n && (n = i), o.attribute("width", !0).value = D.opts.scaleWidth, o.attribute("height", !0).value = D.opts.scaleHeight, o.style("transform", !0, !0).value += " scale(" + 1 / i + "," + 1 / n + ")" } 1 != D.opts.ignoreClear && a.clearRect(0, 0, t, e), o.render(a), h && (h = !1, "function" == typeof D.opts.renderCallback && D.opts.renderCallback(r)) } , s = !0; D.ImagesLoaded() && (s = !1, n()), D.intervalID = setInterval(function() { var t = !1; if (s && D.ImagesLoaded() && (t = !(s = !1)), 1 != D.opts.ignoreMouse && (t = t || D.Mouse.hasEvents()), 1 != D.opts.ignoreAnimation) for (var e = 0; e < D.Animations.length; e++) { var i = D.Animations[e].update(1e3 / D.FRAMERATE); t = t || i } "function" == typeof D.opts.forceRedraw && 1 == D.opts.forceRedraw() && (t = !0), t && (n(), D.Mouse.runEvents()) }, 1e3 / D.FRAMERATE) } , D.stop = function() { D.intervalID && clearInterval(D.intervalID) } , D.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) 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() { D.ctx.canvas.style.cursor = ""; for (var t = 0; t < this.events.length; t++) for (var e = this.events[t], i = this.eventElements[t]; i; ) e.run(i), i = i.parent; this.events = [], this.eventElements = [] } } , D } "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 }; for (var o in a) a.hasOwnProperty(o) && (r[o] = a[o]); p(this.canvas, t, r) } ), p._build = m, t.exports = p }(t = { exports: {} }, t.exports), t.exports }); ;var Stimulsoft; !function(t) { var e; e = t.ExternalLibrary || (t.ExternalLibrary = {}) }(Stimulsoft || (Stimulsoft = {})), function(t) { Stimulsoft.ExternalLibrary.JSZip = t() }(function() { var t, e, r; return function t(e, r, n) { function i(s, o) { if (!r[s]) { if (!e[s]) { var d = "function" == typeof require && require; if (!o && d) return d(s, !0); if (a) return a(s, !0); throw new Error("Cannot find module '" + s + "'") } var h = r[s] = { exports: {} }; e[s][0].call(h.exports, function(t) { var r = e[s][1][t]; return i(r || t) }, h, h.exports, t, e, r, n) } return r[s].exports } for (var a = "function" == typeof require && require, s = 0; s < n.length; s++) i(n[s]); return i }({ 1: [function(t, e, r) { "use strict"; var n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; r.encode = function(t, e) { var r = "", i, a, s, o, d, h, l, u = 0; while (u < t.length) i = t.charCodeAt(u++), a = t.charCodeAt(u++), s = t.charCodeAt(u++), o = i >> 2, d = (3 & i) << 4 | a >> 4, h = (15 & a) << 2 | s >> 6, l = 63 & s, isNaN(a) ? h = l = 64 : isNaN(s) && (l = 64), r = r + n.charAt(o) + n.charAt(d) + n.charAt(h) + n.charAt(l); return r } , r.decode = function(t, e) { var r = "", i, a, s, o, d, h, l, u = 0; t = t.replace(/[^A-Za-z0-9\+\/\=]/g, ""); while (u < t.length) o = n.indexOf(t.charAt(u++)), d = n.indexOf(t.charAt(u++)), h = n.indexOf(t.charAt(u++)), l = n.indexOf(t.charAt(u++)), i = o << 2 | d >> 4, a = (15 & d) << 4 | h >> 2, s = (3 & h) << 6 | l, r += String.fromCharCode(i), 64 != h && (r += String.fromCharCode(a)), 64 != l && (r += String.fromCharCode(s)); 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 n = t("./utils") , i = [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 a = "string" !== n.getTypeOf(e); void 0 === r && (r = 0); var s = 0 , o = 0 , d = 0; r ^= -1; for (var h = 0, l = e.length; h < l; h++) d = a ? e[h] : e.charCodeAt(h), o = 255 & (r ^ d), s = i[o], r = r >>> 8 ^ 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 e = n.transformTo("arraybuffer", t); return n.arrayBuffer2Blob(e) } , 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; for (var e in this) "function" != typeof this[e] && (t[e] = this[e]); return t } } var i = t("./base64"); n.prototype = t("./object"), n.prototype.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 n = t("./base64") , i = t("./zipEntries"); e.exports = function(t, e) { var r, a, s, o; for (e = e || {}, e.base64 && (t = n.decode(t)), a = new i(t,e), r = a.files, s = 0; s < r.length; s++) o = r[s], this.file(o.fileName, o.decompressed, { binary: !0, optimizedBinaryString: !0, date: o.date, dir: o.dir, comment: o.fileComment.length ? o.fileComment : null, unixPermissions: o.unixPermissions, dosPermissions: o.dosPermissions, createFolders: e.createFolders }); return a.zipComment.length && (this.comment = a.zipComment), this } } , { "./base64": 1, "./zipEntries": 22 }], 11: [function(t, e, r) { (function(t) { "use strict"; e.exports = function(e, r) { return t.from(e, r) } , e.exports.test = function(e) { return t.isBuffer(e) } } ).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 i = t("./uint8ArrayReader"); n.prototype = new i, 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 } , { "./uint8ArrayReader": 18 }], 13: [function(t, e, r) { "use strict"; var n = t("./support") , i = t("./utils") , a = t("./crc32") , s = t("./signature") , o = t("./defaults") , d = t("./base64") , h = t("./compressions") , l = t("./compressedObject") , u = t("./nodeBuffer") , f = t("./utf8") , c = t("./stringWriter") , p = t("./uint8ArrayWriter") , _ = function(t) { if (t._data instanceof l && (t._data = t._data.getContent(), t.options.binary = !0, t.options.base64 = !1, "uint8array" === i.getTypeOf(t._data))) { var e = t._data; t._data = new Uint8Array(e.length), 0 !== e.length && t._data.set(e, 0) } return t._data } , m = function(t) { var e = _(t); if ("string" === i.getTypeOf(e)) { if (!t.options.binary && n.nodebuffer) return u(e, "utf-8"); return t.asBinary() } return e } , g = function(t) { var e = _(this); if (null === e || void 0 === e) return ""; return this.options.base64 && (e = d.decode(e)), e = t && this.options.binary ? I.utf8decode(e) : i.transformTo("string", e), t || this.options.binary || (e = i.transformTo("string", I.utf8encode(e))), e } , b = 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 } }; b.prototype = { asText: function() { return g.call(this, !0) }, asBinary: function() { return g.call(this, !1) }, asNodeBuffer: function() { var t = m(this); return i.transformTo("nodebuffer", t) }, asUint8Array: function() { var t = m(this); return i.transformTo("uint8array", t) }, asArrayBuffer: function() { return this.asUint8Array().buffer } }; var w = function(t, e) { var r = "", n; for (n = 0; n < e; n++) r += String.fromCharCode(255 & t), t >>>= 8; return r } , v = function() { var t = {}, e, r; for (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 } , y = function(t) { return t = t || {}, !0 !== t.base64 || null !== t.binary && void 0 !== t.binary || (t.binary = !0), t = v(t, o), t.date = t.date || new Date, null !== t.compression && (t.compression = t.compression.toUpperCase()), t } , k = function(t, e, r) { var n = i.getTypeOf(e), a; if (r = y(r), "string" == typeof 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 && (a = x(t)) && C.call(this, a, !0), r.dir || null === e || void 0 === e) r.base64 = !1, r.binary = !1, e = null, n = null; else if ("string" === n) r.binary && !r.base64 && !0 !== r.optimizedBinaryString && (e = i.string2binary(e)); else { if (r.base64 = !1, r.binary = !0, !(n || e instanceof l)) throw new Error("The data of '" + t + "' is in an unsupported format !"); "arraybuffer" === n && (e = i.transformTo("uint8array", e)) } var s = new b(t,e,r); return this.files[t] = s, s } , x = function(t) { "/" == t.slice(-1) && (t = t.substring(0, t.length - 1)); var e = t.lastIndexOf("/"); return e > 0 ? 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] || k.call(this, t, null, { dir: !0, createFolders: e }), this.files[t] } , A = function(t, e, r) { var n = new l, s; return t._data instanceof l ? (n.uncompressedSize = t._data.uncompressedSize, n.crc32 = t._data.crc32, 0 === n.uncompressedSize || t.dir ? (e = h.STORE, n.compressedContent = "", n.crc32 = 0) : t._data.compressionMethod === e.magic ? n.compressedContent = t._data.getCompressedContent() : (s = t._data.getContent(), n.compressedContent = e.compress(i.transformTo(e.compressInputType, s), r))) : (s = m(t), s && 0 !== s.length && !t.dir || (e = h.STORE, s = ""), n.uncompressedSize = s.length, n.crc32 = a(s), n.compressedContent = e.compress(i.transformTo(e.compressInputType, s), r)), n.compressedSize = n.compressedContent.length, n.compressionMethod = e.magic, n } , E = function(t, e) { var r = t; return t || (r = e ? 16893 : 33204), (65535 & r) << 16 } , S = function(t, e) { return 63 & (t || 0) } , B = function(t, e, r, n, o) { var d = r.compressedContent, h = i.transformTo("string", f.utf8encode(e.name)), l = e.comment || "", u = i.transformTo("string", f.utf8encode(l)), c = h.length !== e.name.length, p = u.length !== l.length, _ = e.options, m, g, b = "", v = "", y = "", k, x; k = e._initialMetadata.dir !== e.dir ? e.dir : _.dir, x = e._initialMetadata.date !== e.date ? e.date : _.date; var z = 0 , C = 0; k && (z |= 16), "UNIX" === o ? (C = 798, z |= E(e.unixPermissions, k)) : (C = 20, z |= S(e.dosPermissions, k)), m = x.getHours(), m <<= 6, m |= x.getMinutes(), m <<= 5, m |= x.getSeconds() / 2, g = x.getFullYear() - 1980, g <<= 4, g |= x.getMonth() + 1, g <<= 5, g |= x.getDate(), c && (v = w(1, 1) + w(a(h), 4) + h, b += "up" + w(v.length, 2) + v), p && (y = w(1, 1) + w(this.crc32(u), 4) + u, b += "uc" + w(y.length, 2) + y); var A = ""; return A += "\n\0", A += c || p ? "\0\b" : "\0\0", A += r.compressionMethod, A += w(m, 2), A += w(g, 2), A += w(r.crc32, 4), A += w(r.compressedSize, 4), A += w(r.uncompressedSize, 4), A += w(h.length, 2), A += w(b.length, 2), { fileRecord: s.LOCAL_FILE_HEADER + A + h + b, dirRecord: s.CENTRAL_FILE_HEADER + w(C, 2) + A + w(u.length, 2) + "\0\0" + "\0\0" + w(z, 4) + w(n, 4) + h + b + u, 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, i, a; for (r in this.files) { if (!this.files.hasOwnProperty(r)) continue; i = this.files[r], a = new b(i.name,i._data,v(i.options)), n = r.slice(this.root.length, r.length), r.slice(0, this.root.length) === this.root && t(n, a) && e.push(a) } return e }, file: function(t, e, r) { if (1 === arguments.length) { if (i.isRegExp(t)) { var n = t; return this.filter(function(t, e) { return !e.dir && n.test(t) }) } return this.filter(function(e, r) { return !r.dir && e === t })[0] || null } return t = this.root + t, k.call(this, t, e, r), this }, folder: function(t) { if (!t) return this; if (i.isRegExp(t)) return this.filter(function(e, r) { return r.dir && t.test(e) }); var e = this.root + t , r = C.call(this, e) , n = this.clone(); return n.root = r.name, n }, remove: function(t) { t = this.root + t; var e = this.files[t]; if (e || ("/" != t.slice(-1) && (t += "/"), e = this.files[t]), e && !e.dir) delete this.files[t]; else for (var r = this.filter(function(e, r) { return r.name.slice(0, t.length) === t }), n = 0; n < r.length; n++) delete this.files[r[n].name]; return this }, generate: function(t) { t = v(t || {}, { base64: !0, compression: "STORE", compressionOptions: null, type: "base64", platform: "DOS", comment: null, mimeType: "application/zip" }), i.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, a, o, l = i.transformTo("string", this.utf8encode(t.comment || this.comment || "")); for (var u in this.files) { if (!this.files.hasOwnProperty(u)) continue; var f = this.files[u] , _ = f.options.compression || t.compression.toUpperCase() , m = h[_]; if (!m) throw new Error(_ + " is not a valid compression method !"); var g = f.options.compressionOptions || t.compressionOptions || {} , b = A.call(this, f, m, g) , y = B.call(this, u, f, b, r, t.platform); r += y.fileRecord.length + b.compressedSize, n += y.dirRecord.length, e.push(y) } var k = ""; k = s.CENTRAL_DIRECTORY_END + "\0\0" + "\0\0" + w(e.length, 2) + w(e.length, 2) + w(n, 4) + w(r, 4) + w(l.length, 2) + l; var x = t.type.toLowerCase(); for (a = "uint8array" === x || "arraybuffer" === x || "blob" === x || "nodebuffer" === x ? new p(r + n + k.length) : new c(r + n + k.length), o = 0; o < e.length; o++) a.append(e[o].fileRecord), a.append(e[o].compressedObject.compressedContent); for (o = 0; o < e.length; o++) a.append(e[o].dirRecord); a.append(k); var z = a.finalize(); switch (t.type.toLowerCase()) { case "uint8array": case "arraybuffer": case "nodebuffer": return i.transformTo(t.type.toLowerCase(), z); case "blob": return i.arrayBuffer2Blob(i.transformTo("arraybuffer", z), t.mimeType); case "base64": return t.base64 ? d.encode(z) : z; default: return z } }, crc32: function(t, e) { return a(t, e) }, utf8encode: function(t) { return i.transformTo("string", f.utf8encode(t)) }, utf8decode: function(t) { return f.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, n.prototype.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") , i = function() { this.data = [] }; i.prototype = { append: function(t) { t = n.transformTo("string", t), this.data.push(t) }, finalize: function() { return this.data.join("") } }, e.exports = i } , { "./utils": 21 }], 17: [function(t, e, r) { (function(t) { "use strict"; if (r.base64 = !0, r.array = !0, r.string = !0, r.arraybuffer = "undefined" != typeof ArrayBuffer && "undefined" != typeof Uint8Array, r.nodebuffer = void 0 !== t, r.uint8array = "undefined" != typeof Uint8Array, "undefined" == typeof ArrayBuffer) r.blob = !1; else { var e = new ArrayBuffer(0); try { r.blob = 0 === new Blob([e],{ type: "application/zip" }).size } catch (t) { try { var n = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder || window.MSBlobBuilder , i = new n; i.append(e), r.blob = 0 === i.getBlob("application/zip").size } catch (t) { r.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 i = t("./dataReader"); n.prototype = new i, n.prototype.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; a >= 0; --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") , i = function(t) { this.data = new Uint8Array(t), this.index = 0 }; i.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 = i } , { "./utils": 21 }], 20: [function(t, e, r) { "use strict"; for (var n = t("./utils"), i = t("./support"), a = t("./nodeBuffer"), s = new Array(256), o = 0; o < 256; o++) s[o] = o >= 252 ? 6 : o >= 248 ? 5 : o >= 240 ? 4 : o >= 224 ? 3 : o >= 192 ? 2 : 1; s[254] = s[254] = 1; var d = function(t) { var e, r, n, a, s, o = t.length, d = 0; for (a = 0; a < o; a++) r = t.charCodeAt(a), 55296 == (64512 & r) && a + 1 < o && 56320 == (64512 & (n = t.charCodeAt(a + 1))) && (r = 65536 + (r - 55296 << 10) + (n - 56320), a++), d += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4; for (e = i.uint8array ? new Uint8Array(d) : new Array(d), s = 0, a = 0; s < d; a++) r = t.charCodeAt(a), 55296 == (64512 & r) && a + 1 < o && 56320 == (64512 & (n = t.charCodeAt(a + 1))) && (r = 65536 + (r - 55296 << 10) + (n - 56320), a++), r < 128 ? e[s++] = r : r < 2048 ? (e[s++] = 192 | r >>> 6, e[s++] = 128 | 63 & r) : r < 65536 ? (e[s++] = 224 | r >>> 12, e[s++] = 128 | r >>> 6 & 63, e[s++] = 128 | 63 & r) : (e[s++] = 240 | r >>> 18, e[s++] = 128 | r >>> 12 & 63, e[s++] = 128 | r >>> 6 & 63, e[s++] = 128 | 63 & r); return e } , h = function(t, e) { var r; e = e || t.length, e > t.length && (e = t.length), r = e - 1; while (r >= 0 && 128 == (192 & t[r])) r--; if (r < 0) return e; if (0 === r) return e; return r + s[t[r]] > e ? r : e } , l = function(t) { var e, r, i, a, o, d = t.length, h = new Array(2 * d); for (i = 0, r = 0; r < d; ) { if ((a = t[r++]) < 128) { h[i++] = a; continue } if ((o = s[a]) > 4) { h[i++] = 65533, r += o - 1; continue } a &= 2 === o ? 31 : 3 === o ? 15 : 7; while (o > 1 && r < d) a = a << 6 | 63 & t[r++], o--; if (o > 1) { h[i++] = 65533; continue } a < 65536 ? h[i++] = a : (a -= 65536, h[i++] = 55296 | a >> 10 & 1023, h[i++] = 56320 | 1023 & a) } return h.length !== i && (h.subarray ? h = h.subarray(0, i) : h.length = i), n.applyFromCharCode(h) }; r.utf8encode = function t(e) { if (i.nodebuffer) return a(e, "utf-8"); return d(e) } , r.utf8decode = function t(e) { if (i.nodebuffer) return n.transformTo("nodebuffer", e).toString("utf-8"); e = n.transformTo(i.uint8array ? "uint8array" : "array", e); var r = [] , a = 0 , s = e.length; while (a < s) { var o = h(e, Math.min(a + 65536, s)); i.uint8array ? r.push(l(e.subarray(a, o))) : r.push(l(e.slice(a, o))), a = o } return r.join("") } } , { "./nodeBuffer": 11, "./support": 17, "./utils": 21 }], 21: [function(t, e, r) { "use strict"; function n(t) { return t } function i(t, e) { for (var r = 0; r < t.length; ++r) e[r] = 255 & t.charCodeAt(r); return e } function a(t) { var e = 65536 , n = [] , i = t.length , a = r.getTypeOf(t) , s = 0 , o = !0; try { switch (a) { case "uint8array": String.fromCharCode.apply(null, new Uint8Array(0)); break; case "nodebuffer": String.fromCharCode.apply(null, h(0)); break } } catch (t) { o = !1 } if (!o) { for (var d = "", l = 0; l < t.length; l++) d += String.fromCharCode(t[l]); return d } while (s < i && e > 1) try { "array" === a || "nodebuffer" === a ? n.push(String.fromCharCode.apply(null, t.slice(s, Math.min(s + e, i)))) : n.push(String.fromCharCode.apply(null, t.subarray(s, Math.min(s + e, i)))), s += e } catch (t) { e = Math.floor(e / 2) } return n.join("") } function s(t, e) { for (var r = 0; r < t.length; r++) e[r] = t[r]; return e } var o = t("./support") , d = t("./compressions") , h = t("./nodeBuffer"); r.string2binary = function(t) { for (var e = "", r = 0; r < t.length; r++) e += String.fromCharCode(255 & t.charCodeAt(r)); return e } , r.arrayBuffer2Blob = function(t, e) { r.checkSupport("blob"), e = e || "application/zip"; try { return new Blob([t],{ type: e }) } catch (r) { try { var n = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder || window.MSBlobBuilder , i = new n; return i.append(t), i.getBlob(e) } catch (t) { throw new Error("Bug : can't construct the Blob.") } } } , r.applyFromCharCode = a; var l = {}; l.string = { string: n, array: function(t) { return i(t, new Array(t.length)) }, arraybuffer: function(t) { return l.string.uint8array(t).buffer }, uint8array: function(t) { return i(t, new Uint8Array(t.length)) }, nodebuffer: function(t) { return i(t, h(t.length)) } }, l.array = { string: a, array: n, arraybuffer: function(t) { return new Uint8Array(t).buffer }, uint8array: function(t) { return new Uint8Array(t) }, nodebuffer: function(t) { return h(t) } }, l.arraybuffer = { string: function(t) { return a(new Uint8Array(t)) }, array: function(t) { return s(new Uint8Array(t), new Array(t.byteLength)) }, arraybuffer: n, uint8array: function(t) { return new Uint8Array(t) }, nodebuffer: function(t) { return h(new Uint8Array(t)) } }, l.uint8array = { string: a, array: function(t) { return s(t, new Array(t.length)) }, arraybuffer: function(t) { return t.buffer }, uint8array: n, nodebuffer: function(t) { return h(t) } }, l.nodebuffer = { string: a, array: function(t) { return s(t, new Array(t.length)) }, arraybuffer: function(t) { return l.nodebuffer.uint8array(t).buffer }, uint8array: function(t) { return s(t, new Uint8Array(t.length)) }, nodebuffer: n }, r.transformTo = function(t, e) { if (e || (e = ""), !t) return e; r.checkSupport(t); var n = r.getTypeOf(e); return l[n][t](e) } , r.getTypeOf = function(t) { if ("string" == typeof t) return "string"; if ("[object Array]" === Object.prototype.toString.call(t)) return "array"; if (o.nodebuffer && h.test(t)) return "nodebuffer"; if (o.uint8array && t instanceof Uint8Array) return "uint8array"; if (o.arraybuffer && t instanceof ArrayBuffer) return "arraybuffer" } , r.checkSupport = function(t) { if (!o[t.toLowerCase()]) throw new Error(t + " is not supported by this browser") } , r.MAX_VALUE_16BITS = 65535, r.MAX_VALUE_32BITS = -1, r.pretty = function(t) { var e = "", r, n; for (n = 0; n < (t || "").length; n++) r = t.charCodeAt(n), e += "\\x" + (r < 16 ? "0" : "") + r.toString(16).toUpperCase(); return e } , r.findCompression = function(t) { for (var e in d) { if (!d.hasOwnProperty(e)) continue; if (d[e].magic === t) return d[e] } return null } , r.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") , d = t("./signature") , h = 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), this.disksCount > 1) throw new Error("Multi-volumes zip are not supported") }, readLocalFiles: function() { var t, e; for (t = 0; t < this.files.length; t++) e = this.files[t], this.reader.setIndex(e.localHeaderOffset), this.checkSignature(d.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) === d.CENTRAL_FILE_HEADER) t = new h({ zip64: this.zip64 },this.loadOptions), t.readCentralPart(this.reader), this.files.push(t) }, readEndOfCentral: function() { var t = this.reader.lastIndexOfSignature(d.CENTRAL_DIRECTORY_END); if (-1 === t) { var e = !0; try { this.reader.setIndex(0), this.checkSignature(d.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(d.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(d.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(d.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(d.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"); n.prototype = { isEncrypted: function() { return 1 == (1 & this.bitFlag) }, useUTF8: function() { return 2048 == (2048 & this.bitFlag) }, prepareCompressedContent: function(t, e, r) { return function() { var n = t.index; t.setIndex(e); var i = t.readData(r); return t.setIndex(n), i } }, prepareContent: function(t, e, r, n, i) { return function() { var t = a.transformTo(n.uncompressInputType, this.getCompressedContent()) , e = n.uncompress(t); if (e.length !== i) throw new Error("Bug : uncompressed data size mismatch"); return e } }, readLocalPart: function(t) { var e, r; if (t.skip(22), this.fileNameLength = t.readInt(2), r = t.readInt(2), this.fileName = t.readString(this.fileNameLength), t.skip(r), -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), 0 === t && (this.dosPermissions = 63 & this.externalFileAttributes), 3 === t && (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() { if (this.useUTF8()) this.fileName = o.utf8decode(this.fileName), this.fileComment = o.utf8decode(this.fileComment); else { var t = this.findExtraFieldUnicodePath(); null !== t && (this.fileName = t); var e = this.findExtraFieldUnicodeComment(); null !== e && (this.fileComment = e) } }, 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 = t("./lib/utils/common").assign , i = t("./lib/deflate") , a = t("./lib/inflate") , s = t("./lib/zlib/constants") , o = {}; n(o, i, a, s), 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 r = new g(e); if (r.push(t, !0), r.err) throw r.msg; return r.result } function i(t, e) { return e = e || {}, e.raw = !0, n(t, e) } function a(t, e) { return e = e || {}, e.gzip = !0, n(t, e) } var s = t("./zlib/deflate.js") , o = t("./utils/common") , d = t("./utils/strings") , h = t("./zlib/messages") , l = t("./zlib/zstream") , u = 4 , f = 0 , c = 1 , p = -1 , _ = 0 , m = 8 , g = function(t) { this.options = o.assign({ level: p, method: m, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: _, to: "" }, t || {}); var e = this.options; e.raw && e.windowBits > 0 ? e.windowBits = -e.windowBits : e.gzip && e.windowBits > 0 && 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 r = s.deflateInit2(this.strm, e.level, e.method, e.windowBits, e.memLevel, e.strategy); if (r !== f) throw new Error(h[r]); e.header && s.deflateSetHeader(this.strm, e.header) }; g.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 ? u : 0, r.input = "string" == typeof t ? d.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)) !== c && i !== f) return this.onEnd(i), this.ended = !0, !1; (0 === r.avail_out || 0 === r.avail_in && a === u) && ("string" === this.options.to ? this.onData(d.buf2binstring(o.shrinkBuf(r.output, r.next_out))) : this.onData(o.shrinkBuf(r.output, r.next_out))) } while ((r.avail_in > 0 || 0 === r.avail_out) && i !== c); if (a === u) return i = s.deflateEnd(this.strm), this.onEnd(i), this.ended = !0, i === f; return !0 } , g.prototype.onData = function(t) { this.chunks.push(t) } , g.prototype.onEnd = function(t) { t === f && ("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 = g, 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 r = new f(e); if (r.push(t, !0), r.err) throw r.msg; return r.result } function i(t, e) { return e = e || {}, e.raw = !0, n(t, e) } var a = t("./zlib/inflate.js") , s = t("./utils/common") , o = t("./utils/strings") , d = t("./zlib/constants") , h = t("./zlib/messages") , l = t("./zlib/zstream") , u = t("./zlib/gzheader") , f = function(t) { this.options = s.assign({ chunkSize: 16384, windowBits: 0, to: "" }, t || {}); var e = this.options; e.raw && e.windowBits >= 0 && e.windowBits < 16 && (e.windowBits = -e.windowBits, 0 === e.windowBits && (e.windowBits = -15)), !(e.windowBits >= 0 && e.windowBits < 16) || t && t.windowBits || (e.windowBits += 32), e.windowBits > 15 && e.windowBits < 48 && 0 == (15 & e.windowBits) && (e.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new l, this.strm.avail_out = 0; var r = a.inflateInit2(this.strm, e.windowBits); if (r !== d.Z_OK) throw new Error(h[r]); this.header = new u, a.inflateGetHeader(this.strm, this.header) }; f.prototype.push = function(t, e) { var r = this.strm, n = this.options.chunkSize, i, h, l, u, f; if (this.ended) return !1; h = e === ~~e ? e : !0 === e ? d.Z_FINISH : d.Z_NO_FLUSH, r.input = "string" == typeof t ? o.binstring2buf(t) : t, r.next_in = 0, r.avail_in = r.input.length; do { if (0 === r.avail_out && (r.output = new s.Buf8(n), r.next_out = 0, r.avail_out = n), (i = a.inflate(r, d.Z_NO_FLUSH)) !== d.Z_STREAM_END && i !== d.Z_OK) return this.onEnd(i), this.ended = !0, !1; r.next_out && (0 === r.avail_out || i === d.Z_STREAM_END || 0 === r.avail_in && h === d.Z_FINISH) && ("string" === this.options.to ? (l = o.utf8border(r.output, r.next_out), u = r.next_out - l, f = o.buf2string(r.output, l), r.next_out = u, r.avail_out = n - u, u && s.arraySet(r.output, r.output, l, u, 0), this.onData(f)) : this.onData(s.shrinkBuf(r.output, r.next_out))) } while (r.avail_in > 0 && i !== d.Z_STREAM_END); if (i === d.Z_STREAM_END && (h = d.Z_FINISH), h === d.Z_FINISH) return i = a.inflateEnd(this.strm), this.onEnd(i), this.ended = !0, i === d.Z_OK; return !0 } , f.prototype.onData = function(t) { this.chunks.push(t) } , f.prototype.onEnd = function(t) { t === d.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = s.flattenChunks(this.chunks)), this.chunks = [], this.err = t, this.msg = this.strm.msg } , r.Inflate = f, 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(); if (!r) continue; if ("object" != typeof r) throw new TypeError(r + "must be non-object"); for (var 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) { var e, r, n, i, a, s; for (n = 0, e = 0, r = t.length; e < r; e++) n += t[e].length; for (s = new Uint8Array(n), i = 0, e = 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 n(t, e) { if (e < 65537 && (t.subarray && s || !t.subarray && a)) return String.fromCharCode.apply(null, i.shrinkBuf(t, e)); for (var r = "", n = 0; n < e; n++) r += String.fromCharCode(t[n]); return r } var i = t("./common") , a = !0 , s = !0; try { String.fromCharCode.apply(null, [0]) } catch (t) { a = !1 } try { String.fromCharCode.apply(null, new Uint8Array(1)) } catch (t) { s = !1 } for (var o = new i.Buf8(256), d = 0; d < 256; d++) o[d] = d >= 252 ? 6 : d >= 248 ? 5 : d >= 240 ? 4 : d >= 224 ? 3 : d >= 192 ? 2 : 1; o[254] = o[254] = 1, r.string2buf = function(t) { var e, r, n, a, s, o = t.length, d = 0; for (a = 0; a < o; a++) r = t.charCodeAt(a), 55296 == (64512 & r) && a + 1 < o && 56320 == (64512 & (n = t.charCodeAt(a + 1))) && (r = 65536 + (r - 55296 << 10) + (n - 56320), a++), d += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4; for (e = new i.Buf8(d), s = 0, a = 0; s < d; a++) r = t.charCodeAt(a), 55296 == (64512 & r) && a + 1 < o && 56320 == (64512 & (n = t.charCodeAt(a + 1))) && (r = 65536 + (r - 55296 << 10) + (n - 56320), a++), r < 128 ? e[s++] = r : r < 2048 ? (e[s++] = 192 | r >>> 6, e[s++] = 128 | 63 & r) : r < 65536 ? (e[s++] = 224 | r >>> 12, e[s++] = 128 | r >>> 6 & 63, e[s++] = 128 | 63 & r) : (e[s++] = 240 | r >>> 18, e[s++] = 128 | r >>> 12 & 63, e[s++] = 128 | r >>> 6 & 63, e[s++] = 128 | 63 & r); return e } , r.buf2binstring = function(t) { return n(t, t.length) } , r.binstring2buf = function(t) { for (var e = new i.Buf8(t.length), r = 0, n = e.length; r < n; r++) e[r] = t.charCodeAt(r); return e } , r.buf2string = function(t, e) { var r, i, a, s, d = e || t.length, h = new Array(2 * d); for (i = 0, r = 0; r < d; ) { if ((a = t[r++]) < 128) { h[i++] = a; continue } if ((s = o[a]) > 4) { h[i++] = 65533, r += s - 1; continue } a &= 2 === s ? 31 : 3 === s ? 15 : 7; while (s > 1 && r < d) a = a << 6 | 63 & t[r++], s--; if (s > 1) { h[i++] = 65533; continue } a < 65536 ? h[i++] = a : (a -= 65536, h[i++] = 55296 | a >> 10 & 1023, h[i++] = 56320 | 1023 & a) } return n(h, i) } , r.utf8border = function(t, e) { var r; e = e || t.length, e > t.length && (e = t.length), r = e - 1; while (r >= 0 && 128 == (192 & t[r])) r--; if (r < 0) return e; if (0 === r) return e; return r + o[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) { s = r > 2e3 ? 2e3 : r, r -= s; do { i = i + e[n++] | 0, a = a + i | 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 = a , s = n + r; t ^= -1; for (var o = n; o < s; o++) t = t >>> 8 ^ i[255 & (t ^ e[o])]; return -1 ^ t } var a = n(); e.exports = i } , {}], 32: [function(t, e, r) { "use strict"; function n(t, e) { return t.msg = T[e], e } function i(t) { return (t << 1) - (t > 4 ? 9 : 0) } function a(t) { var e = t.length; while (--e >= 0) t[e] = 0 } function s(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, t.block_start >= 0 ? t.block_start : -1, t.strstart - t.block_start, e), t.block_start = t.strstart, s(t.strm) } function d(t, e) { t.pending_buf[t.pending++] = e } function h(t, e) { t.pending_buf[t.pending++] = e >>> 8 & 255, t.pending_buf[t.pending++] = 255 & e } function l(t, e, r, n) { var i = t.avail_in; if (i > n && (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 u(t, e) { var r = t.max_chain_length, n = t.strstart, i, a, s = t.prev_length, o = t.nice_match, d = t.strstart > t.w_size - dt ? t.strstart - (t.w_size - dt) : 0, h = t.window, l = t.w_mask, u = t.prev, f = t.strstart + ot, c = h[n + s - 1], p = h[n + s]; t.prev_length >= t.good_match && (r >>= 2), o > t.lookahead && (o = t.lookahead); do { if (i = e, h[i + s] !== p || h[i + s - 1] !== c || h[i] !== h[n] || h[++i] !== h[n + 1]) continue; n += 2, i++; do {} while (h[++n] === h[++i] && h[++n] === h[++i] && h[++n] === h[++i] && h[++n] === h[++i] && h[++n] === h[++i] && h[++n] === h[++i] && h[++n] === h[++i] && h[++n] === h[++i] && n < f); if (a = ot - (f - n), n = f - ot, a > s) { if (t.match_start = e, s = a, a >= o) break; c = h[n + s - 1], p = h[n + s] } } while ((e = u[e & l]) > d && 0 != --r); if (s <= t.lookahead) return s; return t.lookahead } function f(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 - dt)) { E.arraySet(t.window, t.window, e, e, 0), t.match_start -= e, t.strstart -= e, t.block_start -= e, n = t.hash_size, r = n; do { i = t.head[--r], t.head[r] = i >= e ? i - e : 0 } while (--n); n = e, r = n; do { i = t.prev[--r], t.prev[r] = i >= e ? i - e : 0 } while (--n); a += e } if (0 === t.strm.avail_in) break; if (n = l(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 < dt && 0 !== t.strm.avail_in) } function c(t, e) { var r = 65535; for (r > t.pending_buf_size - 5 && (r = t.pending_buf_size - 5); ; ) { if (t.lookahead <= 1) { if (f(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 - dt && (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 p(t, e) { for (var r, n; ; ) { if (t.lookahead < dt) { if (f(t), t.lookahead < dt && 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 - dt && (t.match_length = u(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 _(t, e) { for (var r, n, i; ; ) { if (t.lookahead < dt) { if (f(t), t.lookahead < dt && 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 - dt && (t.match_length = u(t, r), t.match_length <= 5 && (t.strategy === H || t.match_length === st && t.strstart - t.match_start > 4096) && (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]), n && 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 (f(t), t.lookahead <= ot && e === O) return gt; if (0 === t.lookahead) break } if (t.match_length = 0, t.lookahead >= st && t.strstart > 0 && (i = t.strstart - 1, (n = s[i]) === 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 && (f(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, a(t.head), t.max_lazy_match = xt[t.level].max_lazy, t.good_match = xt[t.level].good_length, t.nice_match = xt[t.level].nice_length, t.max_chain_length = xt[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)), a(this.dyn_ltree), a(this.dyn_dtree), a(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), a(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new E.Buf16(2 * et + 1), a(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 n(t, Z); return t.total_in = t.total_out = 0, t.data_type = W, e = t.state, e.pending = 0, e.pending_out = 0, e.wrap < 0 && (e.wrap = -e.wrap), e.status = e.wrap ? lt : _t, 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, i, a, s) { if (!t) return Z; var o = 1; if (e === j && (e = 6), i < 0 ? (o = 0, i = -i) : i > 15 && (o = 2, i -= 16), a < 1 || a > G || r !== q || i < 8 || i > 15 || e < 0 || e > 9 || s < 0 || s > V) return n(t, Z); 8 === i && (i = 9); var d = new w; return t.state = d, d.strm = t, d.wrap = o, d.gzhead = null, d.w_bits = i, d.w_size = 1 << d.w_bits, d.w_mask = d.w_size - 1, d.hash_bits = a + 7, d.hash_size = 1 << d.hash_bits, d.hash_mask = d.hash_size - 1, d.hash_shift = ~~((d.hash_bits + st - 1) / st), d.window = new E.Buf8(2 * d.w_size), d.head = new E.Buf16(d.hash_size), d.prev = new E.Buf16(d.w_size), d.lit_bufsize = 1 << a + 6, d.pending_buf_size = 4 * d.lit_bufsize, d.pending_buf = new E.Buf8(d.pending_buf_size), d.d_buf = d.lit_bufsize >> 1, d.l_buf = (1 + 2) * d.lit_bufsize, d.level = e, d.strategy = s, d.method = r, y(t) } function z(t, e) { return x(t, e, q, J, Q, Y) } function C(t, e) { var r, o, l, u; if (!t || !t.state || e > N || e < 0) return t ? n(t, Z) : Z; if (o = t.state, !t.output || !t.input && 0 !== t.avail_in || o.status === mt && e !== D) return n(t, 0 === t.avail_out ? M : Z); if (o.strm = t, r = o.last_flush, o.last_flush = e, o.status === lt) if (2 === o.wrap) t.adler = 0, d(o, 31), d(o, 139), d(o, 8), o.gzhead ? (d(o, (o.gzhead.text ? 1 : 0) + (o.gzhead.hcrc ? 2 : 0) + (o.gzhead.extra ? 4 : 0) + (o.gzhead.name ? 8 : 0) + (o.gzhead.comment ? 16 : 0)), d(o, 255 & o.gzhead.time), d(o, o.gzhead.time >> 8 & 255), d(o, o.gzhead.time >> 16 & 255), d(o, o.gzhead.time >> 24 & 255), d(o, 9 === o.level ? 2 : o.strategy >= X || o.level < 2 ? 4 : 0), d(o, 255 & o.gzhead.os), o.gzhead.extra && o.gzhead.extra.length && (d(o, 255 & o.gzhead.extra.length), d(o, o.gzhead.extra.length >> 8 & 255)), o.gzhead.hcrc && (t.adler = I(t.adler, o.pending_buf, o.pending, 0)), o.gzindex = 0, o.status = ut) : (d(o, 0), d(o, 0), d(o, 0), d(o, 0), d(o, 0), d(o, 9 === o.level ? 2 : o.strategy >= X || o.level < 2 ? 4 : 0), d(o, yt), o.status = _t); else { var f = q + (o.w_bits - 8 << 4) << 8 , c = -1; c = o.strategy >= X || o.level < 2 ? 0 : o.level < 6 ? 1 : 6 === o.level ? 2 : 3, f |= c << 6, 0 !== o.strstart && (f |= ht), f += 31 - f % 31, o.status = _t, h(o, f), 0 !== o.strstart && (h(o, t.adler >>> 16), h(o, 65535 & t.adler)), t.adler = 1 } if (o.status === ut) if (o.gzhead.extra) { l = o.pending; while (o.gzindex < (65535 & o.gzhead.extra.length)) { if (o.pending === o.pending_buf_size && (o.gzhead.hcrc && o.pending > l && (t.adler = I(t.adler, o.pending_buf, o.pending - l, l)), s(t), l = o.pending, o.pending === o.pending_buf_size)) break; d(o, 255 & o.gzhead.extra[o.gzindex]), o.gzindex++ } o.gzhead.hcrc && o.pending > l && (t.adler = I(t.adler, o.pending_buf, o.pending - l, l)), o.gzindex === o.gzhead.extra.length && (o.gzindex = 0, o.status = ft) } else o.status = ft; if (o.status === ft) if (o.gzhead.name) { l = o.pending; do { if (o.pending === o.pending_buf_size && (o.gzhead.hcrc && o.pending > l && (t.adler = I(t.adler, o.pending_buf, o.pending - l, l)), s(t), l = o.pending, o.pending === o.pending_buf_size)) { u = 1; break } u = o.gzindex < o.gzhead.name.length ? 255 & o.gzhead.name.charCodeAt(o.gzindex++) : 0, d(o, u) } while (0 !== u); o.gzhead.hcrc && o.pending > l && (t.adler = I(t.adler, o.pending_buf, o.pending - l, l)), 0 === u && (o.gzindex = 0, o.status = ct) } else o.status = ct; if (o.status === ct) if (o.gzhead.comment) { l = o.pending; do { if (o.pending === o.pending_buf_size && (o.gzhead.hcrc && o.pending > l && (t.adler = I(t.adler, o.pending_buf, o.pending - l, l)), s(t), l = o.pending, o.pending === o.pending_buf_size)) { u = 1; break } u = o.gzindex < o.gzhead.comment.length ? 255 & o.gzhead.comment.charCodeAt(o.gzindex++) : 0, d(o, u) } while (0 !== u); o.gzhead.hcrc && o.pending > l && (t.adler = I(t.adler, o.pending_buf, o.pending - l, l)), 0 === u && (o.status = pt) } else o.status = pt; if (o.status === pt && (o.gzhead.hcrc ? (o.pending + 2 > o.pending_buf_size && s(t), o.pending + 2 <= o.pending_buf_size && (d(o, 255 & t.adler), d(o, t.adler >> 8 & 255), t.adler = 0, o.status = _t)) : o.status = _t), 0 !== o.pending) { if (s(t), 0 === t.avail_out) return o.last_flush = -1, U } else if (0 === t.avail_in && i(e) <= i(r) && e !== D) return n(t, M); if (o.status === mt && 0 !== t.avail_in) return n(t, M); if (0 !== t.avail_in || 0 !== o.lookahead || e !== O && o.status !== mt) { var p = o.strategy === X ? g(o, e) : o.strategy === K ? m(o, e) : xt[o.level].func(o, e); if (p !== wt && p !== vt || (o.status = mt), p === gt || p === wt) return 0 === t.avail_out && (o.last_flush = -1), U; if (p === bt && (e === R ? S._tr_align(o) : e !== N && (S._tr_stored_block(o, 0, 0, !1), e === L && (a(o.head), 0 === o.lookahead && (o.strstart = 0, o.block_start = 0, o.insert = 0))), s(t), 0 === t.avail_out)) return o.last_flush = -1, U } if (e !== D) return U; if (o.wrap <= 0) return F; return 2 === o.wrap ? (d(o, 255 & t.adler), d(o, t.adler >> 8 & 255), d(o, t.adler >> 16 & 255), d(o, t.adler >> 24 & 255), d(o, 255 & t.total_in), d(o, t.total_in >> 8 & 255), d(o, t.total_in >> 16 & 255), d(o, t.total_in >> 24 & 255)) : (h(o, t.adler >>> 16), h(o, 65535 & t.adler)), s(t), o.wrap > 0 && (o.wrap = -o.wrap), 0 !== o.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 !== pt && e !== _t && e !== mt) return n(t, Z); return t.state = null, e === _t ? n(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, $ = 29, tt = 256, et = tt + 1 + $, rt = 30, nt = 19, it = 2 * et + 1, at = 15, st = 3, ot = 258, dt = ot + st + 1, ht = 32, lt = 42, ut = 69, ft = 73, ct = 91, pt = 103, _t = 113, mt = 666, gt = 1, bt = 2, wt = 3, vt = 4, yt = 3, kt = 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 }, xt; xt = [new kt(0,0,0,0,c), new kt(4,4,8,4,p), new kt(4,5,16,8,p), new kt(4,6,32,32,p), new kt(4,4,16,16,_), new kt(8,16,32,32,_), new kt(8,16,128,128,_), new kt(8,32,128,256,_), new kt(32,128,258,1024,_), new kt(32,258,258,4096,_)], 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 n = 30; e.exports = function t(e, r) { var i, a, s, o, d, h, l, u, f, c, p, _, m, g, b, w, v, y, k, x, z, C, A, E, S; i = e.state, a = e.next_in, E = e.input, s = a + (e.avail_in - 5), o = e.next_out, S = e.output, d = o - (r - e.avail_out), h = o + (e.avail_out - 257), l = i.dmax, u = i.wsize, f = i.whave, c = i.wnext, p = i.window, _ = i.hold, m = i.bits, g = i.lencode, b = i.distcode, w = (1 << i.lenbits) - 1, v = (1 << i.distbits) - 1; t: do { m < 15 && (_ += E[a++] << m, m += 8, _ += E[a++] << m, m += 8), y = g[_ & w]; e: for (; ; ) { if (k = y >>> 24, _ >>>= k, m -= k, 0 == (k = y >>> 16 & 255)) S[o++] = 65535 & y; else { if (!(16 & k)) { if (0 == (64 & k)) { y = g[(65535 & y) + (_ & (1 << k) - 1)]; continue e } if (32 & k) { i.mode = 12; break t } e.msg = "invalid literal/length code", i.mode = n; break t } x = 65535 & y, k &= 15, k && (m < k && (_ += E[a++] << m, m += 8), x += _ & (1 << k) - 1, _ >>>= k, m -= k), m < 15 && (_ += E[a++] << m, m += 8, _ += E[a++] << m, m += 8), y = b[_ & v]; r: for (; ; ) { if (k = y >>> 24, _ >>>= k, m -= k, !(16 & (k = y >>> 16 & 255))) { if (0 == (64 & k)) { y = b[(65535 & y) + (_ & (1 << k) - 1)]; continue r } e.msg = "invalid distance code", i.mode = n; break t } if (z = 65535 & y, k &= 15, m < k && (_ += E[a++] << m, (m += 8) < k && (_ += E[a++] << m, m += 8)), (z += _ & (1 << k) - 1) > l) { e.msg = "invalid distance too far back", i.mode = n; break t } if (_ >>>= k, m -= k, k = o - d, z > k) { if ((k = z - k) > f && i.sane) { e.msg = "invalid distance too far back", i.mode = n; break t } if (C = 0, A = p, 0 === c) { if (C += u - k, k < x) { x -= k; do { S[o++] = p[C++] } while (--k); C = o - z, A = S } } else if (c < k) { if (C += u + c - k, (k -= c) < x) { x -= k; do { S[o++] = p[C++] } while (--k); if (C = 0, c < x) { k = c, x -= k; do { S[o++] = p[C++] } while (--k); C = o - z, A = S } } } else if (C += c - k, k < x) { x -= k; do { S[o++] = p[C++] } while (--k); C = o - z, A = S } while (x > 2) S[o++] = A[C++], S[o++] = A[C++], S[o++] = A[C++], x -= 3; x && (S[o++] = A[C++], x > 1 && (S[o++] = A[C++])) } else { C = o - z; do { S[o++] = S[C++], S[o++] = S[C++], S[o++] = S[C++], x -= 3 } while (x > 2); x && (S[o++] = S[C++], x > 1 && (S[o++] = S[C++])) } break } } break } } while (a < s && o < h); return x = m >> 3, a -= x, m -= x << 3, _ &= (1 << m) - 1, e.next_in = a, e.next_out = o, e.avail_in = a < s ? 5 + (s - a) : 5 - (a - s), e.avail_out = o < h ? 257 + (h - o) : 257 - (o - h), i.hold = _, void (i.bits = m) } } , {}], 35: [function(t, e, r) { "use strict"; function n(t) { return (t >>> 24 & 255) + (t >>> 8 & 65280) + ((65280 & t) << 8) + ((255 & t) << 24) } function i() { 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 _.Buf16(320), this.work = new _.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0 } function a(t) { var e; if (!t || !t.state) return B; return e = t.state, t.total_in = t.total_out = e.total = 0, t.msg = "", e.wrap && (t.adler = 1 & e.wrap), e.mode = L, e.last = 0, e.havedict = 0, e.dmax = 32768, e.head = null, e.hold = 0, e.bits = 0, e.lencode = e.lendyn = new _.Buf32(ft), e.distcode = e.distdyn = new _.Buf32(ct), e.sane = 1, e.back = -1, A } function s(t) { var e; if (!t || !t.state) return B; return e = t.state, e.wsize = 0, e.whave = 0, e.wnext = 0, a(t) } function o(t, e) { var r, n; if (!t || !t.state) return B; if (n = t.state, e < 0 ? (r = 0, e = -e) : (r = (e >> 4) + 1, e < 48 && (e &= 15)), e && (e < 8 || e > 15)) return B; return null !== n.window && n.wbits !== e && (n.window = null), n.wrap = r, n.wbits = e, s(t) } function d(t, e) { var r, n; if (!t) return B; return n = new i, t.state = n, n.window = null, r = o(t, e), r !== A && (t.state = null), r } function h(t) { return d(t, _t) } function l(t) { if (mt) { var e; gt = new _.Buf32(512), bt = new _.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; w(y, t.lens, 0, 288, gt, 0, t.work, { bits: 9 }), e = 0; while (e < 32) t.lens[e++] = 5; w(k, t.lens, 0, 32, bt, 0, t.work, { bits: 5 }), mt = !1 } t.lencode = gt, t.lenbits = 9, t.distcode = bt, t.distbits = 5 } function u(t, e, r, n) { var i, a = t.state; return null === a.window && (a.wsize = 1 << a.wbits, a.wnext = 0, a.whave = 0, a.window = new _.Buf8(a.wsize)), n >= a.wsize ? (_.arraySet(a.window, e, r - a.wsize, a.wsize, 0), a.wnext = 0, a.whave = a.wsize) : (i = a.wsize - a.wnext, i > n && (i = n), _.arraySet(a.window, e, r - n, i, a.wnext), n -= i, n ? (_.arraySet(a.window, e, r - n, n, 0), a.wnext = n, a.whave = a.wsize) : (a.wnext += i, a.wnext === a.wsize && (a.wnext = 0), a.whave < a.wsize && (a.whave += i))), 0 } function f(t, e) { var r, i, a, s, o, d, h, f, c, p, ft, ct, pt, _t, mt = 0, gt, bt, wt, vt, yt, kt, xt, zt, Ct = new _.Buf8(4), At, Et, St = [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 B; r = t.state, r.mode === K && (r.mode = V), o = t.next_out, a = t.output, h = t.avail_out, s = t.next_in, i = t.input, d = t.avail_in, f = r.hold, c = r.bits, p = d, ft = h, zt = A; t: for (; ; ) switch (r.mode) { case L: if (0 === r.wrap) { r.mode = V; break } while (c < 16) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } if (2 & r.wrap && 35615 === f) { r.check = 0, Ct[0] = 255 & f, Ct[1] = f >>> 8 & 255, r.check = g(r.check, Ct, 2, 0), f = 0, c = 0, r.mode = D; break } if (r.flags = 0, r.head && (r.head.done = !1), !(1 & r.wrap) || (((255 & f) << 8) + (f >> 8)) % 31) { t.msg = "incorrect header check", r.mode = ht; break } if ((15 & f) !== R) { t.msg = "unknown compression method", r.mode = ht; break } if (f >>>= 4, c -= 4, xt = (15 & f) + 8, 0 === r.wbits) r.wbits = xt; else if (xt > r.wbits) { t.msg = "invalid window size", r.mode = ht; break } r.dmax = 1 << xt, t.adler = r.check = 1, r.mode = 512 & f ? H : K, f = 0, c = 0; break; case D: while (c < 16) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } if (r.flags = f, (255 & r.flags) !== R) { t.msg = "unknown compression method", r.mode = ht; break } if (57344 & r.flags) { t.msg = "unknown header flags set", r.mode = ht; break } r.head && (r.head.text = f >> 8 & 1), 512 & r.flags && (Ct[0] = 255 & f, Ct[1] = f >>> 8 & 255, r.check = g(r.check, Ct, 2, 0)), f = 0, c = 0, r.mode = N; case N: while (c < 32) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } r.head && (r.head.time = f), 512 & r.flags && (Ct[0] = 255 & f, Ct[1] = f >>> 8 & 255, Ct[2] = f >>> 16 & 255, Ct[3] = f >>> 24 & 255, r.check = g(r.check, Ct, 4, 0)), f = 0, c = 0, r.mode = U; case U: while (c < 16) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } r.head && (r.head.xflags = 255 & f, r.head.os = f >> 8), 512 & r.flags && (Ct[0] = 255 & f, Ct[1] = f >>> 8 & 255, r.check = g(r.check, Ct, 2, 0)), f = 0, c = 0, r.mode = F; case F: if (1024 & r.flags) { while (c < 16) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } r.length = f, r.head && (r.head.extra_len = f), 512 & r.flags && (Ct[0] = 255 & f, Ct[1] = f >>> 8 & 255, r.check = g(r.check, Ct, 2, 0)), f = 0, c = 0 } else r.head && (r.head.extra = null); r.mode = Z; case Z: if (1024 & r.flags && (ct = r.length, ct > d && (ct = d), ct && (r.head && (xt = r.head.extra_len - r.length, r.head.extra || (r.head.extra = new Array(r.head.extra_len)), _.arraySet(r.head.extra, i, s, ct, xt)), 512 & r.flags && (r.check = g(r.check, i, ct, s)), d -= ct, s += ct, r.length -= ct), r.length)) break t; r.length = 0, r.mode = P; case P: if (2048 & r.flags) { if (0 === d) break t; ct = 0; do { xt = i[s + ct++], r.head && xt && r.length < 65536 && (r.head.name += String.fromCharCode(xt)) } while (xt && ct < d); if (512 & r.flags && (r.check = g(r.check, i, ct, s)), d -= ct, s += ct, xt) break t } else r.head && (r.head.name = null); r.length = 0, r.mode = M; case M: if (4096 & r.flags) { if (0 === d) break t; ct = 0; do { xt = i[s + ct++], r.head && xt && r.length < 65536 && (r.head.comment += String.fromCharCode(xt)) } while (xt && ct < d); if (512 & r.flags && (r.check = g(r.check, i, ct, s)), d -= ct, s += ct, xt) break t } else r.head && (r.head.comment = null); r.mode = j; case j: if (512 & r.flags) { while (c < 16) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } if (f !== (65535 & r.check)) { t.msg = "header crc mismatch", r.mode = ht; break } f = 0, c = 0 } r.head && (r.head.hcrc = r.flags >> 9 & 1, r.head.done = !0), t.adler = r.check = 0, r.mode = K; break; case H: while (c < 32) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } t.adler = r.check = n(f), f = 0, c = 0, r.mode = X; case X: if (0 === r.havedict) return t.next_out = o, t.avail_out = h, t.next_in = s, t.avail_in = d, r.hold = f, r.bits = c, S; t.adler = r.check = 1, r.mode = K; case K: if (e === z || e === C) break t; case V: if (r.last) { f >>>= 7 & c, c -= 7 & c, r.mode = st; break } while (c < 3) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } switch (r.last = 1 & f, f >>>= 1, c -= 1, 3 & f) { case 0: r.mode = Y; break; case 1: if (l(r), r.mode = $, e === C) { f >>>= 2, c -= 2; break t } break; case 2: r.mode = G; break; case 3: t.msg = "invalid block type", r.mode = ht } f >>>= 2, c -= 2; break; case Y: f >>>= 7 & c, c -= 7 & c; while (c < 32) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } if ((65535 & f) != (f >>> 16 ^ 65535)) { t.msg = "invalid stored block lengths", r.mode = ht; break } if (r.length = 65535 & f, f = 0, c = 0, r.mode = W, e === C) break t; case W: r.mode = q; case q: if (ct = r.length) { if (ct > d && (ct = d), ct > h && (ct = h), 0 === ct) break t; _.arraySet(a, i, s, ct, o), d -= ct, s += ct, h -= ct, o += ct, r.length -= ct; break } r.mode = K; break; case G: while (c < 14) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } if (r.nlen = (31 & f) + 257, f >>>= 5, c -= 5, r.ndist = (31 & f) + 1, f >>>= 5, c -= 5, r.ncode = (15 & f) + 4, f >>>= 4, c -= 4, r.nlen > 286 || r.ndist > 30) { t.msg = "too many length or distance symbols", r.mode = ht; break } r.have = 0, r.mode = J; case J: while (r.have < r.ncode) { while (c < 3) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } r.lens[St[r.have++]] = 7 & f, f >>>= 3, c -= 3 } while (r.have < 19) r.lens[St[r.have++]] = 0; if (r.lencode = r.lendyn, r.lenbits = 7, At = { bits: r.lenbits }, zt = w(v, r.lens, 0, 19, r.lencode, 0, r.work, At), r.lenbits = At.bits, zt) { t.msg = "invalid code lengths set", r.mode = ht; break } r.have = 0, r.mode = Q; case Q: while (r.have < r.nlen + r.ndist) { for (; ; ) { if (mt = r.lencode[f & (1 << r.lenbits) - 1], gt = mt >>> 24, bt = mt >>> 16 & 255, wt = 65535 & mt, gt <= c) break; if (0 === d) break t; d--, f += i[s++] << c, c += 8 } if (wt < 16) f >>>= gt, c -= gt, r.lens[r.have++] = wt; else { if (16 === wt) { Et = gt + 2; while (c < Et) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } if (f >>>= gt, c -= gt, 0 === r.have) { t.msg = "invalid bit length repeat", r.mode = ht; break } xt = r.lens[r.have - 1], ct = 3 + (3 & f), f >>>= 2, c -= 2 } else if (17 === wt) { Et = gt + 3; while (c < Et) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } f >>>= gt, c -= gt, xt = 0, ct = 3 + (7 & f), f >>>= 3, c -= 3 } else { Et = gt + 7; while (c < Et) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } f >>>= gt, c -= gt, xt = 0, ct = 11 + (127 & f), f >>>= 7, c -= 7 } if (r.have + ct > r.nlen + r.ndist) { t.msg = "invalid bit length repeat", r.mode = ht; break } while (ct--) r.lens[r.have++] = xt } } if (r.mode === ht) break; if (0 === r.lens[256]) { t.msg = "invalid code -- missing end-of-block", r.mode = ht; break } if (r.lenbits = 9, At = { bits: r.lenbits }, zt = w(y, r.lens, 0, r.nlen, r.lencode, 0, r.work, At), r.lenbits = At.bits, zt) { t.msg = "invalid literal/lengths set", r.mode = ht; break } if (r.distbits = 6, r.distcode = r.distdyn, At = { bits: r.distbits }, zt = w(k, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, At), r.distbits = At.bits, zt) { t.msg = "invalid distances set", r.mode = ht; break } if (r.mode = $, e === C) break t; case $: r.mode = tt; case tt: if (d >= 6 && h >= 258) { t.next_out = o, t.avail_out = h, t.next_in = s, t.avail_in = d, r.hold = f, r.bits = c, b(t, ft), o = t.next_out, a = t.output, h = t.avail_out, s = t.next_in, i = t.input, d = t.avail_in, f = r.hold, c = r.bits, r.mode === K && (r.back = -1); break } for (r.back = 0; ; ) { if (mt = r.lencode[f & (1 << r.lenbits) - 1], gt = mt >>> 24, bt = mt >>> 16 & 255, wt = 65535 & mt, gt <= c) break; if (0 === d) break t; d--, f += i[s++] << c, c += 8 } if (bt && 0 == (240 & bt)) { for (vt = gt, yt = bt, kt = wt; ; ) { if (mt = r.lencode[kt + ((f & (1 << vt + yt) - 1) >> vt)], gt = mt >>> 24, bt = mt >>> 16 & 255, wt = 65535 & mt, vt + gt <= c) break; if (0 === d) break t; d--, f += i[s++] << c, c += 8 } f >>>= vt, c -= vt, r.back += vt } if (f >>>= gt, c -= gt, r.back += gt, r.length = wt, 0 === bt) { r.mode = at; break } if (32 & bt) { r.back = -1, r.mode = K; break } if (64 & bt) { t.msg = "invalid literal/length code", r.mode = ht; break } r.extra = 15 & bt, r.mode = et; case et: if (r.extra) { Et = r.extra; while (c < Et) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } r.length += f & (1 << r.extra) - 1, f >>>= r.extra, c -= r.extra, r.back += r.extra } r.was = r.length, r.mode = rt; case rt: for (; ; ) { if (mt = r.distcode[f & (1 << r.distbits) - 1], gt = mt >>> 24, bt = mt >>> 16 & 255, wt = 65535 & mt, gt <= c) break; if (0 === d) break t; d--, f += i[s++] << c, c += 8 } if (0 == (240 & bt)) { for (vt = gt, yt = bt, kt = wt; ; ) { if (mt = r.distcode[kt + ((f & (1 << vt + yt) - 1) >> vt)], gt = mt >>> 24, bt = mt >>> 16 & 255, wt = 65535 & mt, vt + gt <= c) break; if (0 === d) break t; d--, f += i[s++] << c, c += 8 } f >>>= vt, c -= vt, r.back += vt } if (f >>>= gt, c -= gt, r.back += gt, 64 & bt) { t.msg = "invalid distance code", r.mode = ht; break } r.offset = wt, r.extra = 15 & bt, r.mode = nt; case nt: if (r.extra) { Et = r.extra; while (c < Et) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } r.offset += f & (1 << r.extra) - 1, f >>>= r.extra, c -= r.extra, r.back += r.extra } if (r.offset > r.dmax) { t.msg = "invalid distance too far back", r.mode = ht; break } r.mode = it; case it: if (0 === h) break t; if (ct = ft - h, r.offset > ct) { if ((ct = r.offset - ct) > r.whave && r.sane) { t.msg = "invalid distance too far back", r.mode = ht; break } ct > r.wnext ? (ct -= r.wnext, pt = r.wsize - ct) : pt = r.wnext - ct, ct > r.length && (ct = r.length), _t = r.window } else _t = a, pt = o - r.offset, ct = r.length; ct > h && (ct = h), h -= ct, r.length -= ct; do { a[o++] = _t[pt++] } while (--ct); 0 === r.length && (r.mode = tt); break; case at: if (0 === h) break t; a[o++] = r.length, h--, r.mode = tt; break; case st: if (r.wrap) { while (c < 32) { if (0 === d) break t; d--, f |= i[s++] << c, c += 8 } if (ft -= h, t.total_out += ft, r.total += ft, ft && (t.adler = r.check = r.flags ? g(r.check, a, ft, o - ft) : m(r.check, a, ft, o - ft)), ft = h, (r.flags ? f : n(f)) !== r.check) { t.msg = "incorrect data check", r.mode = ht; break } f = 0, c = 0 } r.mode = ot; case ot: if (r.wrap && r.flags) { while (c < 32) { if (0 === d) break t; d--, f += i[s++] << c, c += 8 } if (f !== (4294967295 & r.total)) { t.msg = "incorrect length check", r.mode = ht; break } f = 0, c = 0 } r.mode = dt; case dt: zt = E; break t; case ht: zt = I; break t; case lt: return T; case ut: default: return B } if (t.next_out = o, t.avail_out = h, t.next_in = s, t.avail_in = d, r.hold = f, r.bits = c, (r.wsize || ft !== t.avail_out && r.mode < ht && (r.mode < st || e !== x)) && u(t, t.output, t.next_out, ft - t.avail_out)) return r.mode = lt, T; return p -= t.avail_in, ft -= t.avail_out, t.total_in += p, t.total_out += ft, r.total += ft, r.wrap && ft && (t.adler = r.check = r.flags ? g(r.check, a, ft, t.next_out - ft) : m(r.check, a, ft, t.next_out - ft)), t.data_type = r.bits + (r.last ? 64 : 0) + (r.mode === K ? 128 : 0) + (r.mode === $ || r.mode === W ? 256 : 0), (0 === p && 0 === ft || e === x) && zt === A && (zt = O), zt } function c(t) { if (!t || !t.state) return B; var e = t.state; return e.window && (e.window = null), t.state = null, A } function p(t, e) { var r; if (!t || !t.state) return B; if (r = t.state, 0 == (2 & r.wrap)) return B; return r.head = e, e.done = !1, A } var _ = t("../utils/common"), m = t("./adler32"), g = t("./crc32"), b = t("./inffast"), w = t("./inftrees"), v = 0, y = 1, k = 2, x = 4, z = 5, C = 6, A = 0, E = 1, S = 2, B = -2, I = -3, T = -4, O = -5, R = 8, L = 1, D = 2, N = 3, U = 4, F = 5, Z = 6, P = 7, M = 8, j = 9, H = 10, X = 11, K = 12, V = 13, Y = 14, W = 15, q = 16, G = 17, J = 18, Q = 19, $ = 20, tt = 21, et = 22, rt = 23, nt = 24, it = 25, at = 26, st = 27, ot = 28, dt = 29, ht = 30, lt = 31, ut = 32, ft = 852, ct = 592, pt = 15, _t = pt, mt = !0, gt, bt; r.inflateReset = s, r.inflateReset2 = o, r.inflateResetKeep = a, r.inflateInit = h, r.inflateInit2 = d, r.inflate = f, r.inflateEnd = c, r.inflateGetHeader = p, 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") , i = 15 , a = 852 , s = 592 , o = 0 , d = 1 , h = 2 , l = [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] , u = [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] , f = [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] , c = [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, p, _, m, g, b, w) { var v = w.bits, y = 0, k = 0, x = 0, z = 0, C = 0, A = 0, E = 0, S = 0, B = 0, I = 0, T, O, R, L, D, N = null, U = 0, F, Z = new n.Buf16(i + 1), P = new n.Buf16(i + 1), M = null, j = 0, H, X, K; for (y = 0; y <= i; y++) Z[y] = 0; for (k = 0; k < _; k++) Z[r[p + k]]++; for (C = v, z = i; z >= 1; z--) if (0 !== Z[z]) break; if (C > z && (C = z), 0 === z) return m[g++] = 1 << 24 | 64 << 16 | 0, m[g++] = 1 << 24 | 64 << 16 | 0, w.bits = 1, 0; for (x = 1; x < z; x++) if (0 !== Z[x]) break; for (C < x && (C = x), S = 1, y = 1; y <= i; y++) if (S <<= 1, (S -= Z[y]) < 0) return -1; if (S > 0 && (e === o || 1 !== z)) return -1; for (P[1] = 0, y = 1; y < i; y++) P[y + 1] = P[y] + Z[y]; for (k = 0; k < _; k++) 0 !== r[p + k] && (b[P[r[p + k]]++] = k); if (e === o ? (N = M = b, F = 19) : e === d ? (N = l, U -= 257, M = u, j -= 257, F = 256) : (N = f, M = c, F = -1), I = 0, k = 0, y = x, D = g, A = C, E = 0, R = -1, B = 1 << C, L = B - 1, e === d && B > a || e === h && B > s) return 1; for (var V = 0; ; ) { V++, H = y - E, b[k] < F ? (X = 0, K = b[k]) : b[k] > F ? (X = M[j + b[k]], K = N[U + b[k]]) : (X = 32 + 64, K = 0), T = 1 << y - E, O = 1 << A, x = O; do { O -= T, m[D + (I >> E) + O] = H << 24 | X << 16 | K | 0 } while (0 !== O); T = 1 << y - 1; while (I & T) T >>= 1; if (0 !== T ? (I &= T - 1, I += T) : I = 0, k++, 0 == --Z[y]) { if (y === z) break; y = r[p + b[k]] } if (y > C && (I & L) !== R) { 0 === E && (E = C), D += x, A = y - E, S = 1 << A; while (A + E < z) { if ((S -= Z[A + E]) <= 0) break; A++, S <<= 1 } if (B += 1 << A, e === d && B > a || e === h && B > s) return 1; R = I & L, m[R] = C << 24 | A << 16 | D - g | 0 } } return 0 !== I && (m[D + I] = y - E << 24 | 64 << 16 | 0), w.bits = C, 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 (--e >= 0) t[e] = 0 } function i(t) { return t < 256 ? st[t] : st[256 + (t >>> 7)] } function a(t, e) { t.pending_buf[t.pending++] = 255 & e, t.pending_buf[t.pending++] = e >>> 8 & 255 } function s(t, e, r) { t.bi_valid > Y - r ? (t.bi_buf |= e << t.bi_valid & 65535, a(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 o(t, e, r) { s(t, r[2 * e], r[2 * e + 1]) } function d(t, e) { var r = 0; do { r |= 1 & t, t >>>= 1, r <<= 1 } while (--e > 0); return r >>> 1 } function h(t) { 16 === t.bi_valid ? (a(t, t.bi_buf), t.bi_buf = 0, t.bi_valid = 0) : t.bi_valid >= 8 && (t.pending_buf[t.pending++] = 255 & t.bi_buf, t.bi_buf >>= 8, t.bi_valid -= 8) } function l(t, e) { 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, d = e.stat_desc.max_length, h, l, u, f, c, p, _ = 0; for (f = 0; f <= V; f++) t.bl_count[f] = 0; for (r[2 * t.heap[t.heap_max] + 1] = 0, h = t.heap_max + 1; h < K; h++) { if (l = t.heap[h], f = r[2 * r[2 * l + 1] + 1] + 1, f > d && (f = d, _++), r[2 * l + 1] = f, l > n) continue; t.bl_count[f]++, c = 0, l >= o && (c = s[l - o]), p = r[2 * l], t.opt_len += p * (f + c), a && (t.static_len += p * (i[2 * l + 1] + c)) } if (0 === _) return; do { f = d - 1; while (0 === t.bl_count[f]) f--; t.bl_count[f]--, t.bl_count[f + 1] += 2, t.bl_count[d]--, _ -= 2 } while (_ > 0); for (f = d; 0 !== f; f--) { l = t.bl_count[f]; while (0 !== l) { if ((u = t.heap[--h]) > n) continue; r[2 * u + 1] !== f && (t.opt_len += (f - r[2 * u + 1]) * r[2 * u], r[2 * u + 1] = f), l-- } } } function u(t, e, r) { var n = new Array(V + 1), i = 0, a, s; for (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 f() { var t, e, r, n, i, a = new Array(V + 1); for (r = 0, n = 0; n < P - 1; n++) for (dt[n] = r, t = 0; t < 1 << $[n]; t++) ot[r++] = n; for (ot[r - 1] = n, i = 0, n = 0; n < 16; n++) for (ht[n] = i, t = 0; t < 1 << tt[n]; t++) st[i++] = n; for (i >>= 7; n < H; n++) for (ht[n] = i << 7, t = 0; t < 1 << tt[n] - 7; t++) st[256 + i++] = n; for (e = 0; e <= V; e++) a[e] = 0; t = 0; while (t <= 143) it[2 * t + 1] = 8, t++, a[8]++; while (t <= 255) it[2 * t + 1] = 9, t++, a[9]++; while (t <= 279) it[2 * t + 1] = 7, t++, a[7]++; while (t <= 287) it[2 * t + 1] = 8, t++, a[8]++; for (u(it, j + 1, a), t = 0; t < H; t++) at[2 * t + 1] = 5, at[2 * t] = d(t, 5); ut = new lt(it,$,M + 1,j,V), ft = new lt(at,tt,0,H,V), ct = new lt(new Array(0),et,0,X,W) } function c(t) { var e; for (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 p(t) { t.bi_valid > 8 ? a(t, t.bi_buf) : t.bi_valid > 0 && (t.pending_buf[t.pending++] = t.bi_buf), t.bi_buf = 0, t.bi_valid = 0 } function _(t, e, r, n) { p(t), n && (a(t, r), a(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, a, d = 0, h, l; if (0 !== t.last_lit) do { n = t.pending_buf[t.d_buf + 2 * d] << 8 | t.pending_buf[t.d_buf + 2 * d + 1], a = t.pending_buf[t.l_buf + d], d++, 0 === n ? o(t, a, e) : (h = ot[a], o(t, h + M + 1, e), l = $[h], 0 !== l && (a -= dt[h], s(t, a, l)), n--, h = i(n), o(t, h, r), 0 !== (l = tt[h]) && (n -= ht[h], s(t, n, l))) } while (d < t.last_lit); o(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, d = -1, h; for (t.heap_len = 0, t.heap_max = K, s = 0; s < a; s++) 0 !== r[2 * s] ? (t.heap[++t.heap_len] = d = s, t.depth[s] = 0) : r[2 * s + 1] = 0; while (t.heap_len < 2) h = t.heap[++t.heap_len] = d < 2 ? ++d : 0, r[2 * h] = 1, t.depth[h] = 0, t.opt_len--, i && (t.static_len -= n[2 * h + 1]); for (e.max_code = d, s = t.heap_len >> 1; s >= 1; s--) g(t, r, s); h = 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 * h] = r[2 * s] + r[2 * o], t.depth[h] = (t.depth[s] >= t.depth[o] ? t.depth[s] : t.depth[o]) + 1, r[2 * s + 1] = r[2 * o + 1] = h, t.heap[1] = h++, g(t, r, 1) } while (t.heap_len >= 2); t.heap[--t.heap_max] = t.heap[1], l(t, e), u(r, d, t.bl_count) } function v(t, e, r) { var n, i = -1, a, s = e[0 * 2 + 1], o = 0, d = 7, h = 4; for (0 === s && (d = 138, h = 3), e[2 * (r + 1) + 1] = 65535, n = 0; n <= r; n++) { if (a = s, s = e[2 * (n + 1) + 1], ++o < d && a === s) continue; o < h ? 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]++, o = 0, i = a, 0 === s ? (d = 138, h = 3) : a === s ? (d = 6, h = 3) : (d = 7, h = 4) } } function y(t, e, r) { var n, i = -1, a, d = e[0 * 2 + 1], h = 0, l = 7, u = 4; for (0 === d && (l = 138, u = 3), n = 0; n <= r; n++) { if (a = d, d = e[2 * (n + 1) + 1], ++h < l && a === d) continue; if (h < u) do { o(t, a, t.bl_tree) } while (0 != --h); else 0 !== a ? (a !== i && (o(t, a, t.bl_tree), h--), o(t, G, t.bl_tree), s(t, h - 3, 2)) : h <= 10 ? (o(t, J, t.bl_tree), s(t, h - 3, 3)) : (o(t, Q, t.bl_tree), s(t, h - 11, 7)); h = 0, i = a, 0 === d ? (l = 138, u = 3) : a === d ? (l = 6, u = 3) : (l = 7, u = 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; e >= 3; 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 (s(t, e - 257, 5), s(t, r - 1, 5), s(t, n - 4, 4), i = 0; i < n; i++) s(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) { var e = 4093624447, r; for (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 || (f(), _t = !0), t.l_desc = new pt(t.dyn_ltree,ut), t.d_desc = new pt(t.dyn_dtree,ft), t.bl_desc = new pt(t.bl_tree,ct), t.bi_buf = 0, t.bi_valid = 0, c(t) } function A(t, e, r, n) { s(t, (D << 1) + (n ? 1 : 0), 3), _(t, e, r, !0) } function E(t) { s(t, N << 1, 3), o(t, q, it), h(t) } function S(t, e, r, n) { var i, a, o = 0; t.level > 0 ? (t.strm.data_type === L && (t.strm.data_type = z(t)), w(t, t.l_desc), w(t, t.d_desc), o = 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 ? (s(t, (N << 1) + (n ? 1 : 0), 3), b(t, it, at)) : (s(t, (U << 1) + (n ? 1 : 0), 3), x(t, t.l_desc.max_code + 1, t.d_desc.max_code + 1, o + 1), b(t, t.dyn_ltree, t.dyn_dtree)), c(t), n && p(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 * (ot[r] + M + 1)]++, t.dyn_dtree[2 * i(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] , nt = 512 , it = new Array(2 * (j + 2)); n(it); var at = new Array(2 * H); n(at); var st = new Array(nt); n(st); var ot = new Array(Z - F + 1); n(ot); var dt = new Array(P); n(dt); var ht = new Array(H); n(ht); var lt = 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 }, ut, ft, ct, pt = 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); ;/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ var DO_NOT_EXPORT_CODEPAGE = true; var DO_NOT_EXPORT_JSZIP = true; (function(e) { if ("object" == typeof exports && "undefined" != typeof module && "undefined" == typeof DO_NOT_EXPORT_JSZIP) module.exports = e(); else if ("function" == typeof define && define.amd && "undefined" == typeof DO_NOT_EXPORT_JSZIP) { JSZipSync = e(); define([], e) } else { var r; "undefined" != typeof window ? r = window : "undefined" != typeof global ? r = global : "undefined" != typeof $ && $.global ? r = $.global : "undefined" != typeof self && (r = self), r.JSZipSync = e() } } )(function() { var e, r, t; return function a(e, r, t) { function n(s, f) { if (!r[s]) { if (!e[s]) { var o = typeof require == "function" && require; if (!f && o) return o(s, !0); if (i) return i(s, !0); throw new Error("Cannot find module '" + s + "'") } var l = r[s] = { exports: {} }; e[s][0].call(l.exports, function(r) { var t = e[s][1][r]; return n(t ? t : r) }, l, l.exports, a, e, r, t) } return r[s].exports } var i = typeof require == "function" && require; for (var s = 0; s < t.length; s++) n(t[s]); return n }({ 1: [function(e, r, t) { "use strict"; var a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; t.encode = function(e, r) { var t = ""; var n, i, s, f, o, l, c; var h = 0; while (h < e.length) { n = e.charCodeAt(h++); i = e.charCodeAt(h++); s = e.charCodeAt(h++); f = n >> 2; o = (n & 3) << 4 | i >> 4; l = (i & 15) << 2 | s >> 6; c = s & 63; if (isNaN(i)) { l = c = 64 } else if (isNaN(s)) { c = 64 } t = t + a.charAt(f) + a.charAt(o) + a.charAt(l) + a.charAt(c) } return t } ; t.decode = function(e, r) { var t = ""; var n, i, s; var f, o, l, c; var h = 0; e = e.replace(/[^A-Za-z0-9\+\/\=]/g, ""); while (h < e.length) { f = a.indexOf(e.charAt(h++)); o = a.indexOf(e.charAt(h++)); l = a.indexOf(e.charAt(h++)); c = a.indexOf(e.charAt(h++)); n = f << 2 | o >> 4; i = (o & 15) << 4 | l >> 2; s = (l & 3) << 6 | c; t = t + String.fromCharCode(n); if (l != 64) { t = t + String.fromCharCode(i) } if (c != 64) { t = t + String.fromCharCode(s) } } return t } } , {}], 2: [function(e, r, t) { "use strict"; function a() { this.compressedSize = 0; this.uncompressedSize = 0; this.crc32 = 0; this.compressionMethod = null; this.compressedContent = null } a.prototype = { getContent: function() { return null }, getCompressedContent: function() { return null } }; r.exports = a } , {}], 3: [function(e, r, t) { "use strict"; t.STORE = { magic: "\0\0", compress: function(e) { return e }, uncompress: function(e) { return e }, compressInputType: null, uncompressInputType: null }; t.DEFLATE = e("./flate") } , { "./flate": 8 }], 4: [function(e, r, t) { "use strict"; var a = e("./utils"); var n = [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]; r.exports = function i(e, r) { if (typeof e === "undefined" || !e.length) { return 0 } var t = a.getTypeOf(e) !== "string"; if (typeof r == "undefined") { r = 0 } var i = 0; var s = 0; var f = 0; r = r ^ -1; for (var o = 0, l = e.length; o < l; o++) { f = t ? e[o] : e.charCodeAt(o); s = (r ^ f) & 255; i = n[s]; r = r >>> 8 ^ i } return r ^ -1 } } , { "./utils": 21 }], 5: [function(e, r, t) { "use strict"; var a = e("./utils"); function n(e) { this.data = null; this.length = 0; this.index = 0 } n.prototype = { checkOffset: function(e) { this.checkIndex(this.index + e) }, checkIndex: function(e) { if (this.length < e || e < 0) { throw new Error("End of data reached (data length = " + this.length + ", asked index = " + e + "). Corrupted zip ?") } }, setIndex: function(e) { this.checkIndex(e); this.index = e }, skip: function(e) { this.setIndex(this.index + e) }, byteAt: function(e) {}, readInt: function(e) { var r = 0, t; this.checkOffset(e); for (t = this.index + e - 1; t >= this.index; t--) { r = (r << 8) + this.byteAt(t) } this.index += e; return r }, readString: function(e) { return a.transformTo("string", this.readData(e)) }, readData: function(e) {}, lastIndexOfSignature: function(e) {}, readDate: function() { var e = this.readInt(4); return new Date((e >> 25 & 127) + 1980,(e >> 21 & 15) - 1,e >> 16 & 31,e >> 11 & 31,e >> 5 & 63,(e & 31) << 1) } }; r.exports = n } , { "./utils": 21 }], 6: [function(e, r, t) { "use strict"; t.base64 = false; t.binary = false; t.dir = false; t.createFolders = false; t.date = null; t.compression = null; t.comment = null } , {}], 7: [function(e, r, t) { "use strict"; var a = e("./utils"); t.string2binary = function(e) { return a.string2binary(e) } ; t.string2Uint8Array = function(e) { return a.transformTo("uint8array", e) } ; t.uint8Array2String = function(e) { return a.transformTo("string", e) } ; t.string2Blob = function(e) { var r = a.transformTo("arraybuffer", e); return a.arrayBuffer2Blob(r) } ; t.arrayBuffer2Blob = function(e) { return a.arrayBuffer2Blob(e) } ; t.transformTo = function(e, r) { return a.transformTo(e, r) } ; t.getTypeOf = function(e) { return a.getTypeOf(e) } ; t.checkSupport = function(e) { return a.checkSupport(e) } ; t.MAX_VALUE_16BITS = a.MAX_VALUE_16BITS; t.MAX_VALUE_32BITS = a.MAX_VALUE_32BITS; t.pretty = function(e) { return a.pretty(e) } ; t.findCompression = function(e) { return a.findCompression(e) } ; t.isRegExp = function(e) { return a.isRegExp(e) } } , { "./utils": 21 }], 8: [function(e, r, t) { "use strict"; var a = typeof Uint8Array !== "undefined" && typeof Uint16Array !== "undefined" && typeof Uint32Array !== "undefined"; var n = e("pako"); t.uncompressInputType = a ? "uint8array" : "array"; t.compressInputType = a ? "uint8array" : "array"; t.magic = "\b\0"; t.compress = function(e) { return n.deflateRaw(e) } ; t.uncompress = function(e) { return n.inflateRaw(e) } } , { pako: 24 }], 9: [function(e, r, t) { "use strict"; var a = e("./base64"); function n(e, r) { if (!(this instanceof n)) return new n(e,r); this.files = {}; this.comment = null; this.root = ""; if (e) { this.load(e, r) } this.clone = function() { var e = new n; for (var r in this) { if (typeof this[r] !== "function") { e[r] = this[r] } } return e } } n.prototype = e("./object"); n.prototype.load = e("./load"); n.support = e("./support"); n.defaults = e("./defaults"); n.utils = e("./deprecatedPublicUtils"); n.base64 = { encode: function(e) { return a.encode(e) }, decode: function(e) { return a.decode(e) } }; n.compressions = e("./compressions"); r.exports = n } , { "./base64": 1, "./compressions": 3, "./defaults": 6, "./deprecatedPublicUtils": 7, "./load": 10, "./object": 13, "./support": 17 }], 10: [function(e, r, t) { "use strict"; var a = e("./base64"); var n = e("./zipEntries"); r.exports = function(e, r) { var t, i, s, f; r = r || {}; if (r.base64) { e = a.decode(e) } i = new n(e,r); t = i.files; for (s = 0; s < t.length; s++) { f = t[s]; this.file(f.fileName, f.decompressed, { binary: true, optimizedBinaryString: true, date: f.date, dir: f.dir, comment: f.fileComment.length ? f.fileComment : null, createFolders: r.createFolders }) } if (i.zipComment.length) { this.comment = i.zipComment } return this } } , { "./base64": 1, "./zipEntries": 22 }], 11: [function(e, r, t) { (function(e) { "use strict"; var t = function() {}; if (typeof e !== "undefined") { var a = !e.from; if (!a) try { e.from("foo", "utf8") } catch (n) { a = true } t = a ? function(r, t) { return t ? new e(r,t) : new e(r) } : e.from.bind(e); if (!e.alloc) e.alloc = function(r) { return new e(r) } } r.exports = function(r, a) { return typeof r == "number" ? e.alloc(r) : t(r, a) } ; r.exports.test = function(r) { return e.isBuffer(r) } } ).call(this, typeof Buffer !== "undefined" ? Buffer : undefined) } , {}], 12: [function(e, r, t) { "use strict"; var a = e("./uint8ArrayReader"); function n(e) { this.data = e; this.length = this.data.length; this.index = 0 } n.prototype = new a; n.prototype.readData = function(e) { this.checkOffset(e); var r = this.data.slice(this.index, this.index + e); this.index += e; return r } ; r.exports = n } , { "./uint8ArrayReader": 18 }], 13: [function(e, r, t) { "use strict"; var a = e("./support"); var n = e("./utils"); var i = e("./crc32"); var s = e("./signature"); var f = e("./defaults"); var o = e("./base64"); var l = e("./compressions"); var c = e("./compressedObject"); var h = e("./nodeBuffer"); var u = e("./utf8"); var d = e("./stringWriter"); var p = e("./uint8ArrayWriter"); var v = function(e) { if (e._data instanceof c) { e._data = e._data.getContent(); e.options.binary = true; e.options.base64 = false; if (n.getTypeOf(e._data) === "uint8array") { var r = e._data; e._data = new Uint8Array(r.length); if (r.length !== 0) { e._data.set(r, 0) } } } return e._data }; var g = function(e) { var r = v(e) , t = n.getTypeOf(r); if (t === "string") { if (!e.options.binary) { if (a.nodebuffer) { return h(r, "utf-8") } } return e.asBinary() } return r }; var m = function(e) { var r = v(this); if (r === null || typeof r === "undefined") { return "" } if (this.options.base64) { r = o.decode(r) } if (e && this.options.binary) { r = T.utf8decode(r) } else { r = n.transformTo("string", r) } if (!e && !this.options.binary) { r = n.transformTo("string", T.utf8encode(r)) } return r }; var b = function(e, r, t) { this.name = e; this.dir = t.dir; this.date = t.date; this.comment = t.comment; this._data = r; this.options = t; this._initialMetadata = { dir: t.dir, date: t.date } }; b.prototype = { asText: function() { return m.call(this, true) }, asBinary: function() { return m.call(this, false) }, asNodeBuffer: function() { var e = g(this); return n.transformTo("nodebuffer", e) }, asUint8Array: function() { var e = g(this); return n.transformTo("uint8array", e) }, asArrayBuffer: function() { return this.asUint8Array().buffer } }; var w = function(e, r) { var t = "", a; for (a = 0; a < r; a++) { t += String.fromCharCode(e & 255); e = e >>> 8 } return t }; var C = function() { var e = {}, r, t; for (r = 0; r < arguments.length; r++) { for (t in arguments[r]) { if (arguments[r].hasOwnProperty(t) && typeof e[t] === "undefined") { e[t] = arguments[r][t] } } } return e }; var E = function(e) { e = e || {}; if (e.base64 === true && (e.binary === null || e.binary === undefined)) { e.binary = true } e = C(e, f); e.date = e.date || new Date; if (e.compression !== null) e.compression = e.compression.toUpperCase(); return e }; var k = function(e, r, t) { var a = n.getTypeOf(r), i; t = E(t); if (t.createFolders && (i = S(e))) { A.call(this, i, true) } if (t.dir || r === null || typeof r === "undefined") { t.base64 = false; t.binary = false; r = null } else if (a === "string") { if (t.binary && !t.base64) { if (t.optimizedBinaryString !== true) { r = n.string2binary(r) } } } else { t.base64 = false; t.binary = true; if (!a && !(r instanceof c)) { throw new Error("The data of '" + e + "' is in an unsupported format !") } if (a === "arraybuffer") { r = n.transformTo("uint8array", r) } } var s = new b(e,r,t); this.files[e] = s; return s }; var S = function(e) { if (e.slice(-1) == "/") { e = e.substring(0, e.length - 1) } var r = e.lastIndexOf("/"); return r > 0 ? e.substring(0, r) : "" }; var A = function(e, r) { if (e.slice(-1) != "/") { e += "/" } r = typeof r !== "undefined" ? r : false; if (!this.files[e]) { k.call(this, e, null, { dir: true, createFolders: r }) } return this.files[e] }; var _ = function(e, r) { var t = new c, a; if (e._data instanceof c) { t.uncompressedSize = e._data.uncompressedSize; t.crc32 = e._data.crc32; if (t.uncompressedSize === 0 || e.dir) { r = l["STORE"]; t.compressedContent = ""; t.crc32 = 0 } else if (e._data.compressionMethod === r.magic) { t.compressedContent = e._data.getCompressedContent() } else { a = e._data.getContent(); t.compressedContent = r.compress(n.transformTo(r.compressInputType, a)) } } else { a = g(e); if (!a || a.length === 0 || e.dir) { r = l["STORE"]; a = "" } t.uncompressedSize = a.length; t.crc32 = i(a); t.compressedContent = r.compress(n.transformTo(r.compressInputType, a)) } t.compressedSize = t.compressedContent.length; t.compressionMethod = r.magic; return t }; var B = function(e, r, t, a) { var f = t.compressedContent, o = n.transformTo("string", u.utf8encode(r.name)), l = r.comment || "", c = n.transformTo("string", u.utf8encode(l)), h = o.length !== r.name.length, d = c.length !== l.length, p = r.options, v, g, m = "", b = "", C = "", E, k; if (r._initialMetadata.dir !== r.dir) { E = r.dir } else { E = p.dir } if (r._initialMetadata.date !== r.date) { k = r.date } else { k = p.date } v = k.getHours(); v = v << 6; v = v | k.getMinutes(); v = v << 5; v = v | k.getSeconds() / 2; g = k.getFullYear() - 1980; g = g << 4; g = g | k.getMonth() + 1; g = g << 5; g = g | k.getDate(); if (h) { b = w(1, 1) + w(i(o), 4) + o; m += "up" + w(b.length, 2) + b } if (d) { C = w(1, 1) + w(this.crc32(c), 4) + c; m += "uc" + w(C.length, 2) + C } var S = ""; S += "\n\0"; S += h || d ? "\0\b" : "\0\0"; S += t.compressionMethod; S += w(v, 2); S += w(g, 2); S += w(t.crc32, 4); S += w(t.compressedSize, 4); S += w(t.uncompressedSize, 4); S += w(o.length, 2); S += w(m.length, 2); var A = s.LOCAL_FILE_HEADER + S + o + m; var _ = s.CENTRAL_FILE_HEADER + "\0" + S + w(c.length, 2) + "\0\0" + "\0\0" + (E === true ? "\0\0\0" : "\0\0\0\0") + w(a, 4) + o + m + c; return { fileRecord: A, dirRecord: _, compressedObject: t } }; var T = { load: function(e, r) { throw new Error("Load method is not defined. Is the file jszip-load.js included ?") }, filter: function(e) { var r = [], t, a, n, i; for (t in this.files) { if (!this.files.hasOwnProperty(t)) { continue } n = this.files[t]; i = new b(n.name,n._data,C(n.options)); a = t.slice(this.root.length, t.length); if (t.slice(0, this.root.length) === this.root && e(a, i)) { r.push(i) } } return r }, file: function(e, r, t) { if (arguments.length === 1) { if (n.isRegExp(e)) { var a = e; return this.filter(function(e, r) { return !r.dir && a.test(e) }) } else { return this.filter(function(r, t) { return !t.dir && r === e })[0] || null } } else { e = this.root + e; k.call(this, e, r, t) } return this }, folder: function(e) { if (!e) { return this } if (n.isRegExp(e)) { return this.filter(function(r, t) { return t.dir && e.test(r) }) } var r = this.root + e; var t = A.call(this, r); var a = this.clone(); a.root = t.name; return a }, remove: function(e) { e = this.root + e; var r = this.files[e]; if (!r) { if (e.slice(-1) != "/") { e += "/" } r = this.files[e] } if (r && !r.dir) { delete this.files[e] } else { var t = this.filter(function(r, t) { return t.name.slice(0, e.length) === e }); for (var a = 0; a < t.length; a++) { delete this.files[t[a].name] } } return this }, generate: function(e) { e = C(e || {}, { base64: true, compression: "STORE", type: "base64", comment: null }); n.checkSupport(e.type); var r = [], t = 0, a = 0, i, f, c = n.transformTo("string", this.utf8encode(e.comment || this.comment || "")); for (var h in this.files) { if (!this.files.hasOwnProperty(h)) { continue } var u = this.files[h]; var v = u.options.compression || e.compression.toUpperCase(); var g = l[v]; if (!g) { throw new Error(v + " is not a valid compression method !") } var m = _.call(this, u, g); var b = B.call(this, h, u, m, t); t += b.fileRecord.length + m.compressedSize; a += b.dirRecord.length; r.push(b) } var E = ""; E = s.CENTRAL_DIRECTORY_END + "\0\0" + "\0\0" + w(r.length, 2) + w(r.length, 2) + w(a, 4) + w(t, 4) + w(c.length, 2) + c; var k = e.type.toLowerCase(); if (k === "uint8array" || k === "arraybuffer" || k === "blob" || k === "nodebuffer") { i = new p(t + a + E.length) } else { i = new d(t + a + E.length) } for (f = 0; f < r.length; f++) { i.append(r[f].fileRecord); i.append(r[f].compressedObject.compressedContent) } for (f = 0; f < r.length; f++) { i.append(r[f].dirRecord) } i.append(E); var S = i.finalize(); switch (e.type.toLowerCase()) { case "uint8array": ; case "arraybuffer": ; case "nodebuffer": return n.transformTo(e.type.toLowerCase(), S); case "blob": return n.arrayBuffer2Blob(n.transformTo("arraybuffer", S)); case "base64": return e.base64 ? o.encode(S) : S; default: return S; } }, crc32: function(e, r) { return i(e, r) }, utf8encode: function(e) { return n.transformTo("string", u.utf8encode(e)) }, utf8decode: function(e) { return u.utf8decode(e) } }; r.exports = T } , { "./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(e, r, t) { "use strict"; t.LOCAL_FILE_HEADER = "PK"; t.CENTRAL_FILE_HEADER = "PK"; t.CENTRAL_DIRECTORY_END = "PK"; t.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK"; t.ZIP64_CENTRAL_DIRECTORY_END = "PK"; t.DATA_DESCRIPTOR = "PK\b" } , {}], 15: [function(e, r, t) { "use strict"; var a = e("./dataReader"); var n = e("./utils"); function i(e, r) { this.data = e; if (!r) { this.data = n.string2binary(this.data) } this.length = this.data.length; this.index = 0 } i.prototype = new a; i.prototype.byteAt = function(e) { return this.data.charCodeAt(e) } ; i.prototype.lastIndexOfSignature = function(e) { return this.data.lastIndexOf(e) } ; i.prototype.readData = function(e) { this.checkOffset(e); var r = this.data.slice(this.index, this.index + e); this.index += e; return r } ; r.exports = i } , { "./dataReader": 5, "./utils": 21 }], 16: [function(e, r, t) { "use strict"; var a = e("./utils"); var n = function() { this.data = [] }; n.prototype = { append: function(e) { e = a.transformTo("string", e); this.data.push(e) }, finalize: function() { return this.data.join("") } }; r.exports = n } , { "./utils": 21 }], 17: [function(e, r, t) { (function(e) { "use strict"; t.base64 = true; t.array = true; t.string = true; t.arraybuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined"; t.nodebuffer = typeof e !== "undefined"; t.uint8array = typeof Uint8Array !== "undefined"; if (typeof ArrayBuffer === "undefined") { t.blob = false } else { var r = new ArrayBuffer(0); try { t.blob = new Blob([r],{ type: "application/zip" }).size === 0 } catch (a) { try { var n = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder || window.MSBlobBuilder; var i = new n; i.append(r); t.blob = i.getBlob("application/zip").size === 0 } catch (a) { t.blob = false } } } } ).call(this, typeof Buffer !== "undefined" ? Buffer : undefined) } , {}], 18: [function(e, r, t) { "use strict"; var a = e("./dataReader"); function n(e) { if (e) { this.data = e; this.length = this.data.length; this.index = 0 } } n.prototype = new a; n.prototype.byteAt = function(e) { return this.data[e] } ; n.prototype.lastIndexOfSignature = function(e) { var r = e.charCodeAt(0) , t = e.charCodeAt(1) , a = e.charCodeAt(2) , n = e.charCodeAt(3); for (var i = this.length - 4; i >= 0; --i) { if (this.data[i] === r && this.data[i + 1] === t && this.data[i + 2] === a && this.data[i + 3] === n) { return i } } return -1 } ; n.prototype.readData = function(e) { this.checkOffset(e); if (e === 0) { return new Uint8Array(0) } var r = this.data.subarray(this.index, this.index + e); this.index += e; return r } ; r.exports = n } , { "./dataReader": 5 }], 19: [function(e, r, t) { "use strict"; var a = e("./utils"); var n = function(e) { this.data = new Uint8Array(e); this.index = 0 }; n.prototype = { append: function(e) { if (e.length !== 0) { e = a.transformTo("uint8array", e); this.data.set(e, this.index); this.index += e.length } }, finalize: function() { return this.data } }; r.exports = n } , { "./utils": 21 }], 20: [function(e, r, t) { "use strict"; var a = e("./utils"); var n = e("./support"); var i = e("./nodeBuffer"); var s = new Array(256); for (var f = 0; f < 256; f++) { s[f] = f >= 252 ? 6 : f >= 248 ? 5 : f >= 240 ? 4 : f >= 224 ? 3 : f >= 192 ? 2 : 1 } s[254] = s[254] = 1; var o = function(e) { var r, t, a, i, s, f = e.length, o = 0; for (i = 0; i < f; i++) { t = e.charCodeAt(i); if ((t & 64512) === 55296 && i + 1 < f) { a = e.charCodeAt(i + 1); if ((a & 64512) === 56320) { t = 65536 + (t - 55296 << 10) + (a - 56320); i++ } } o += t < 128 ? 1 : t < 2048 ? 2 : t < 65536 ? 3 : 4 } if (n.uint8array) { r = new Uint8Array(o) } else { r = new Array(o) } for (s = 0, i = 0; s < o; i++) { t = e.charCodeAt(i); if ((t & 64512) === 55296 && i + 1 < f) { a = e.charCodeAt(i + 1); if ((a & 64512) === 56320) { t = 65536 + (t - 55296 << 10) + (a - 56320); i++ } } if (t < 128) { r[s++] = t } else if (t < 2048) { r[s++] = 192 | t >>> 6; r[s++] = 128 | t & 63 } else if (t < 65536) { r[s++] = 224 | t >>> 12; r[s++] = 128 | t >>> 6 & 63; r[s++] = 128 | t & 63 } else { r[s++] = 240 | t >>> 18; r[s++] = 128 | t >>> 12 & 63; r[s++] = 128 | t >>> 6 & 63; r[s++] = 128 | t & 63 } } return r }; var l = function(e, r) { var t; r = r || e.length; if (r > e.length) { r = e.length } t = r - 1; while (t >= 0 && (e[t] & 192) === 128) { t-- } if (t < 0) { return r } if (t === 0) { return r } return t + s[e[t]] > r ? t : r }; var c = function(e) { var r, t, n, i, f; var o = e.length; var l = new Array(o * 2); for (n = 0, t = 0; t < o; ) { i = e[t++]; if (i < 128) { l[n++] = i; continue } f = s[i]; if (f > 4) { l[n++] = 65533; t += f - 1; continue } i &= f === 2 ? 31 : f === 3 ? 15 : 7; while (f > 1 && t < o) { i = i << 6 | e[t++] & 63; f-- } if (f > 1) { l[n++] = 65533; continue } if (i < 65536) { l[n++] = i } else { i -= 65536; l[n++] = 55296 | i >> 10 & 1023; l[n++] = 56320 | i & 1023 } } if (l.length !== n) { if (l.subarray) { l = l.subarray(0, n) } else { l.length = n } } return a.applyFromCharCode(l) }; t.utf8encode = function h(e) { if (n.nodebuffer) { return i(e, "utf-8") } return o(e) } ; t.utf8decode = function u(e) { if (n.nodebuffer) { return a.transformTo("nodebuffer", e).toString("utf-8") } e = a.transformTo(n.uint8array ? "uint8array" : "array", e); var r = [] , t = 0 , i = e.length , s = 65536; while (t < i) { var f = l(e, Math.min(t + s, i)); if (n.uint8array) { r.push(c(e.subarray(t, f))) } else { r.push(c(e.slice(t, f))) } t = f } return r.join("") } } , { "./nodeBuffer": 11, "./support": 17, "./utils": 21 }], 21: [function(e, r, t) { "use strict"; var a = e("./support"); var n = e("./compressions"); var i = e("./nodeBuffer"); t.string2binary = function(e) { var r = ""; for (var t = 0; t < e.length; t++) { r += String.fromCharCode(e.charCodeAt(t) & 255) } return r } ; t.arrayBuffer2Blob = function(e) { t.checkSupport("blob"); try { return new Blob([e],{ type: "application/zip" }) } catch (r) { try { var a = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder || window.MSBlobBuilder; var n = new a; n.append(e); return n.getBlob("application/zip") } catch (r) { throw new Error("Bug : can't construct the Blob.") } } } ; function s(e) { return e } function f(e, r) { for (var t = 0; t < e.length; ++t) { r[t] = e.charCodeAt(t) & 255 } return r } function o(e) { var r = 65536; var a = [] , n = e.length , s = t.getTypeOf(e) , f = 0 , o = true; try { switch (s) { case "uint8array": String.fromCharCode.apply(null, new Uint8Array(0)); break; case "nodebuffer": String.fromCharCode.apply(null, i(0)); break; } } catch (l) { o = false } if (!o) { var c = ""; for (var h = 0; h < e.length; h++) { c += String.fromCharCode(e[h]) } return c } while (f < n && r > 1) { try { if (s === "array" || s === "nodebuffer") { a.push(String.fromCharCode.apply(null, e.slice(f, Math.min(f + r, n)))) } else { a.push(String.fromCharCode.apply(null, e.subarray(f, Math.min(f + r, n)))) } f += r } catch (l) { r = Math.floor(r / 2) } } return a.join("") } t.applyFromCharCode = o; function l(e, r) { for (var t = 0; t < e.length; t++) { r[t] = e[t] } return r } var c = {}; c["string"] = { string: s, array: function(e) { return f(e, new Array(e.length)) }, arraybuffer: function(e) { return c["string"]["uint8array"](e).buffer }, uint8array: function(e) { return f(e, new Uint8Array(e.length)) }, nodebuffer: function(e) { return f(e, i(e.length)) } }; c["array"] = { string: o, array: s, arraybuffer: function(e) { return new Uint8Array(e).buffer }, uint8array: function(e) { return new Uint8Array(e) }, nodebuffer: function(e) { return i(e) } }; c["arraybuffer"] = { string: function(e) { return o(new Uint8Array(e)) }, array: function(e) { return l(new Uint8Array(e), new Array(e.byteLength)) }, arraybuffer: s, uint8array: function(e) { return new Uint8Array(e) }, nodebuffer: function(e) { return i(new Uint8Array(e)) } }; c["uint8array"] = { string: o, array: function(e) { return l(e, new Array(e.length)) }, arraybuffer: function(e) { return e.buffer }, uint8array: s, nodebuffer: function(e) { return i(e) } }; c["nodebuffer"] = { string: o, array: function(e) { return l(e, new Array(e.length)) }, arraybuffer: function(e) { return c["nodebuffer"]["uint8array"](e).buffer }, uint8array: function(e) { return l(e, new Uint8Array(e.length)) }, nodebuffer: s }; t.transformTo = function(e, r) { if (!r) { r = "" } if (!e) { return r } t.checkSupport(e); var a = t.getTypeOf(r); var n = c[a][e](r); return n } ; t.getTypeOf = function(e) { if (typeof e === "string") { return "string" } if (Object.prototype.toString.call(e) === "[object Array]") { return "array" } if (a.nodebuffer && i.test(e)) { return "nodebuffer" } if (a.uint8array && e instanceof Uint8Array) { return "uint8array" } if (a.arraybuffer && e instanceof ArrayBuffer) { return "arraybuffer" } } ; t.checkSupport = function(e) { var r = a[e.toLowerCase()]; if (!r) { throw new Error(e + " is not supported by this browser") } } ; t.MAX_VALUE_16BITS = 65535; t.MAX_VALUE_32BITS = -1; t.pretty = function(e) { var r = "", t, a; for (a = 0; a < (e || "").length; a++) { t = e.charCodeAt(a); r += "\\x" + (t < 16 ? "0" : "") + t.toString(16).toUpperCase() } return r } ; t.findCompression = function(e) { for (var r in n) { if (!n.hasOwnProperty(r)) { continue } if (n[r].magic === e) { return n[r] } } return null } ; t.isRegExp = function(e) { return Object.prototype.toString.call(e) === "[object RegExp]" } } , { "./compressions": 3, "./nodeBuffer": 11, "./support": 17 }], 22: [function(e, r, t) { "use strict"; var a = e("./stringReader"); var n = e("./nodeBufferReader"); var i = e("./uint8ArrayReader"); var s = e("./utils"); var f = e("./signature"); var o = e("./zipEntry"); var l = e("./support"); var c = e("./object"); function h(e, r) { this.files = []; this.loadOptions = r; if (e) { this.load(e) } } h.prototype = { checkSignature: function(e) { var r = this.reader.readString(4); if (r !== e) { throw new Error("Corrupted zip or bug : unexpected signature " + "(" + s.pretty(r) + ", expected " + s.pretty(e) + ")") } }, 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 = c.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 e = this.zip64EndOfCentralSize - 44, r = 0, t, a, n; while (r < e) { t = this.reader.readInt(2); a = this.reader.readInt(4); n = this.reader.readString(a); this.zip64ExtensibleData[t] = { id: t, length: a, value: n } } }, readBlockZip64EndOfCentralLocator: function() { this.diskWithZip64CentralDirStart = this.reader.readInt(4); this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8); this.disksCount = this.reader.readInt(4); if (this.disksCount > 1) { throw new Error("Multi-volumes zip are not supported") } }, readLocalFiles: function() { var e, r; for (e = 0; e < this.files.length; e++) { r = this.files[e]; this.reader.setIndex(r.localHeaderOffset); this.checkSignature(f.LOCAL_FILE_HEADER); r.readLocalPart(this.reader); r.handleUTF8() } }, readCentralDir: function() { var e; this.reader.setIndex(this.centralDirOffset); while (this.reader.readString(4) === f.CENTRAL_FILE_HEADER) { e = new o({ zip64: this.zip64 },this.loadOptions); e.readCentralPart(this.reader); this.files.push(e) } }, readEndOfCentral: function() { var e = this.reader.lastIndexOfSignature(f.CENTRAL_DIRECTORY_END); if (e === -1) { throw new Error("Corrupted zip : can't find end of central directory") } this.reader.setIndex(e); this.checkSignature(f.CENTRAL_DIRECTORY_END); this.readBlockEndOfCentral(); if (this.diskNumber === s.MAX_VALUE_16BITS || this.diskWithCentralDirStart === s.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === s.MAX_VALUE_16BITS || this.centralDirRecords === s.MAX_VALUE_16BITS || this.centralDirSize === s.MAX_VALUE_32BITS || this.centralDirOffset === s.MAX_VALUE_32BITS) { this.zip64 = true; e = this.reader.lastIndexOfSignature(f.ZIP64_CENTRAL_DIRECTORY_LOCATOR); if (e === -1) { throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator") } this.reader.setIndex(e); this.checkSignature(f.ZIP64_CENTRAL_DIRECTORY_LOCATOR); this.readBlockZip64EndOfCentralLocator(); this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir); this.checkSignature(f.ZIP64_CENTRAL_DIRECTORY_END); this.readBlockZip64EndOfCentral() } }, prepareReader: function(e) { var r = s.getTypeOf(e); if (r === "string" && !l.uint8array) { this.reader = new a(e,this.loadOptions.optimizedBinaryString) } else if (r === "nodebuffer") { this.reader = new n(e) } else { this.reader = new i(s.transformTo("uint8array", e)) } }, load: function(e) { this.prepareReader(e); this.readEndOfCentral(); this.readCentralDir(); this.readLocalFiles() } }; r.exports = h } , { "./nodeBufferReader": 12, "./object": 13, "./signature": 14, "./stringReader": 15, "./support": 17, "./uint8ArrayReader": 18, "./utils": 21, "./zipEntry": 23 }], 23: [function(e, r, t) { "use strict"; var a = e("./stringReader"); var n = e("./utils"); var i = e("./compressedObject"); var s = e("./object"); function f(e, r) { this.options = e; this.loadOptions = r } f.prototype = { isEncrypted: function() { return (this.bitFlag & 1) === 1 }, useUTF8: function() { return (this.bitFlag & 2048) === 2048 }, prepareCompressedContent: function(e, r, t) { return function() { var a = e.index; e.setIndex(r); var n = e.readData(t); e.setIndex(a); return n } }, prepareContent: function(e, r, t, a, i) { return function() { var e = n.transformTo(a.uncompressInputType, this.getCompressedContent()); var r = a.uncompress(e); if (r.length !== i) { throw new Error("Bug : uncompressed data size mismatch") } return r } }, readLocalPart: function(e) { var r, t; e.skip(22); this.fileNameLength = e.readInt(2); t = e.readInt(2); this.fileName = e.readString(this.fileNameLength); e.skip(t); if (this.compressedSize == -1 || this.uncompressedSize == -1) { throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory " + "(compressedSize == -1 || uncompressedSize == -1)") } r = n.findCompression(this.compressionMethod); if (r === null) { throw new Error("Corrupted zip : compression " + n.pretty(this.compressionMethod) + " unknown (inner file : " + this.fileName + ")") } this.decompressed = new i; 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(e, e.index, this.compressedSize, r); this.decompressed.getContent = this.prepareContent(e, e.index, this.compressedSize, r, this.uncompressedSize); if (this.loadOptions.checkCRC32) { this.decompressed = n.transformTo("string", this.decompressed.getContent()); if (s.crc32(this.decompressed) !== this.crc32) { throw new Error("Corrupted zip : CRC32 mismatch") } } }, readCentralPart: function(e) { this.versionMadeBy = e.readString(2); this.versionNeeded = e.readInt(2); this.bitFlag = e.readInt(2); this.compressionMethod = e.readString(2); this.date = e.readDate(); this.crc32 = e.readInt(4); this.compressedSize = e.readInt(4); this.uncompressedSize = e.readInt(4); this.fileNameLength = e.readInt(2); this.extraFieldsLength = e.readInt(2); this.fileCommentLength = e.readInt(2); this.diskNumberStart = e.readInt(2); this.internalFileAttributes = e.readInt(2); this.externalFileAttributes = e.readInt(4); this.localHeaderOffset = e.readInt(4); if (this.isEncrypted()) { throw new Error("Encrypted zip are not supported") } this.fileName = e.readString(this.fileNameLength); this.readExtraFields(e); this.parseZIP64ExtraField(e); this.fileComment = e.readString(this.fileCommentLength); this.dir = this.externalFileAttributes & 16 ? true : false }, parseZIP64ExtraField: function(e) { if (!this.extraFields[1]) { return } var r = new a(this.extraFields[1].value); if (this.uncompressedSize === n.MAX_VALUE_32BITS) { this.uncompressedSize = r.readInt(8) } if (this.compressedSize === n.MAX_VALUE_32BITS) { this.compressedSize = r.readInt(8) } if (this.localHeaderOffset === n.MAX_VALUE_32BITS) { this.localHeaderOffset = r.readInt(8) } if (this.diskNumberStart === n.MAX_VALUE_32BITS) { this.diskNumberStart = r.readInt(4) } }, readExtraFields: function(e) { var r = e.index, t, a, n; this.extraFields = this.extraFields || {}; while (e.index < r + this.extraFieldsLength) { t = e.readInt(2); a = e.readInt(2); n = e.readString(a); this.extraFields[t] = { id: t, length: a, value: n } } }, handleUTF8: function() { if (this.useUTF8()) { this.fileName = s.utf8decode(this.fileName); this.fileComment = s.utf8decode(this.fileComment) } else { var e = this.findExtraFieldUnicodePath(); if (e !== null) { this.fileName = e } var r = this.findExtraFieldUnicodeComment(); if (r !== null) { this.fileComment = r } } }, findExtraFieldUnicodePath: function() { var e = this.extraFields[28789]; if (e) { var r = new a(e.value); if (r.readInt(1) !== 1) { return null } if (s.crc32(this.fileName) !== r.readInt(4)) { return null } return s.utf8decode(r.readString(e.length - 5)) } return null }, findExtraFieldUnicodeComment: function() { var e = this.extraFields[25461]; if (e) { var r = new a(e.value); if (r.readInt(1) !== 1) { return null } if (s.crc32(this.fileComment) !== r.readInt(4)) { return null } return s.utf8decode(r.readString(e.length - 5)) } return null } }; r.exports = f } , { "./compressedObject": 2, "./object": 13, "./stringReader": 15, "./utils": 21 }], 24: [function(e, r, t) { "use strict"; var a = e("./lib/utils/common").assign; var n = e("./lib/deflate"); var i = e("./lib/inflate"); var s = e("./lib/zlib/constants"); var f = {}; a(f, n, i, s); r.exports = f } , { "./lib/deflate": 25, "./lib/inflate": 26, "./lib/utils/common": 27, "./lib/zlib/constants": 30 }], 25: [function(e, r, t) { "use strict"; var a = e("./zlib/deflate.js"); var n = e("./utils/common"); var i = e("./utils/strings"); var s = e("./zlib/messages"); var f = e("./zlib/zstream"); var o = 0; var l = 4; var c = 0; var h = 1; var u = -1; var d = 0; var p = 8; var v = function(e) { this.options = n.assign({ level: u, method: p, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: d, to: "" }, e || {}); var r = this.options; if (r.raw && r.windowBits > 0) { r.windowBits = -r.windowBits } else if (r.gzip && r.windowBits > 0 && r.windowBits < 16) { r.windowBits += 16 } this.err = 0; this.msg = ""; this.ended = false; this.chunks = []; this.strm = new f; this.strm.avail_out = 0; var t = a.deflateInit2(this.strm, r.level, r.method, r.windowBits, r.memLevel, r.strategy); if (t !== c) { throw new Error(s[t]) } if (r.header) { a.deflateSetHeader(this.strm, r.header) } }; v.prototype.push = function(e, r) { var t = this.strm; var s = this.options.chunkSize; var f, u; if (this.ended) { return false } u = r === ~~r ? r : r === true ? l : o; if (typeof e === "string") { t.input = i.string2buf(e) } else { t.input = e } t.next_in = 0; t.avail_in = t.input.length; do { if (t.avail_out === 0) { t.output = new n.Buf8(s); t.next_out = 0; t.avail_out = s } f = a.deflate(t, u); if (f !== h && f !== c) { this.onEnd(f); this.ended = true; return false } if (t.avail_out === 0 || t.avail_in === 0 && u === l) { if (this.options.to === "string") { this.onData(i.buf2binstring(n.shrinkBuf(t.output, t.next_out))) } else { this.onData(n.shrinkBuf(t.output, t.next_out)) } } } while ((t.avail_in > 0 || t.avail_out === 0) && f !== h); if (u === l) { f = a.deflateEnd(this.strm); this.onEnd(f); this.ended = true; return f === c } return true } ; v.prototype.onData = function(e) { this.chunks.push(e) } ; v.prototype.onEnd = function(e) { if (e === c) { if (this.options.to === "string") { this.result = this.chunks.join("") } else { this.result = n.flattenChunks(this.chunks) } } this.chunks = []; this.err = e; this.msg = this.strm.msg } ; function g(e, r) { var t = new v(r); t.push(e, true); if (t.err) { throw t.msg } return t.result } function m(e, r) { r = r || {}; r.raw = true; return g(e, r) } function b(e, r) { r = r || {}; r.gzip = true; return g(e, r) } t.Deflate = v; t.deflate = g; t.deflateRaw = m; t.gzip = b } , { "./utils/common": 27, "./utils/strings": 28, "./zlib/deflate.js": 32, "./zlib/messages": 37, "./zlib/zstream": 39 }], 26: [function(e, r, t) { "use strict"; var a = e("./zlib/inflate.js"); var n = e("./utils/common"); var i = e("./utils/strings"); var s = e("./zlib/constants"); var f = e("./zlib/messages"); var o = e("./zlib/zstream"); var l = e("./zlib/gzheader"); var c = function(e) { this.options = n.assign({ chunkSize: 16384, windowBits: 0, to: "" }, e || {}); var r = this.options; if (r.raw && r.windowBits >= 0 && r.windowBits < 16) { r.windowBits = -r.windowBits; if (r.windowBits === 0) { r.windowBits = -15 } } if (r.windowBits >= 0 && r.windowBits < 16 && !(e && e.windowBits)) { r.windowBits += 32 } if (r.windowBits > 15 && r.windowBits < 48) { if ((r.windowBits & 15) === 0) { r.windowBits |= 15 } } this.err = 0; this.msg = ""; this.ended = false; this.chunks = []; this.strm = new o; this.strm.avail_out = 0; var t = a.inflateInit2(this.strm, r.windowBits); if (t !== s.Z_OK) { throw new Error(f[t]) } this.header = new l; a.inflateGetHeader(this.strm, this.header) }; c.prototype.push = function(e, r) { var t = this.strm; var f = this.options.chunkSize; var o, l; var c, h, u; if (this.ended) { return false } l = r === ~~r ? r : r === true ? s.Z_FINISH : s.Z_NO_FLUSH; if (typeof e === "string") { t.input = i.binstring2buf(e) } else { t.input = e } t.next_in = 0; t.avail_in = t.input.length; do { if (t.avail_out === 0) { t.output = new n.Buf8(f); t.next_out = 0; t.avail_out = f } o = a.inflate(t, s.Z_NO_FLUSH); if (o !== s.Z_STREAM_END && o !== s.Z_OK) { this.onEnd(o); this.ended = true; return false } if (t.next_out) { if (t.avail_out === 0 || o === s.Z_STREAM_END || t.avail_in === 0 && l === s.Z_FINISH) { if (this.options.to === "string") { c = i.utf8border(t.output, t.next_out); h = t.next_out - c; u = i.buf2string(t.output, c); t.next_out = h; t.avail_out = f - h; if (h) { n.arraySet(t.output, t.output, c, h, 0) } this.onData(u) } else { this.onData(n.shrinkBuf(t.output, t.next_out)) } } } } while (t.avail_in > 0 && o !== s.Z_STREAM_END); if (o === s.Z_STREAM_END) { l = s.Z_FINISH } if (l === s.Z_FINISH) { o = a.inflateEnd(this.strm); this.onEnd(o); this.ended = true; return o === s.Z_OK } return true } ; c.prototype.onData = function(e) { this.chunks.push(e) } ; c.prototype.onEnd = function(e) { if (e === s.Z_OK) { if (this.options.to === "string") { this.result = this.chunks.join("") } else { this.result = n.flattenChunks(this.chunks) } } this.chunks = []; this.err = e; this.msg = this.strm.msg } ; function h(e, r) { var t = new c(r); t.push(e, true); if (t.err) { throw t.msg } return t.result } function u(e, r) { r = r || {}; r.raw = true; return h(e, r) } t.Inflate = c; t.inflate = h; t.inflateRaw = u; t.ungzip = h } , { "./utils/common": 27, "./utils/strings": 28, "./zlib/constants": 30, "./zlib/gzheader": 33, "./zlib/inflate.js": 35, "./zlib/messages": 37, "./zlib/zstream": 39 }], 27: [function(e, r, t) { "use strict"; var a = typeof Uint8Array !== "undefined" && typeof Uint16Array !== "undefined" && typeof Int32Array !== "undefined"; t.assign = function(e) { var r = Array.prototype.slice.call(arguments, 1); while (r.length) { var t = r.shift(); if (!t) { continue } if (typeof t !== "object") { throw new TypeError(t + "must be non-object") } for (var a in t) { if (t.hasOwnProperty(a)) { e[a] = t[a] } } } return e } ; t.shrinkBuf = function(e, r) { if (e.length === r) { return e } if (e.subarray) { return e.subarray(0, r) } e.length = r; return e } ; var n = { arraySet: function(e, r, t, a, n) { if (r.subarray && e.subarray) { e.set(r.subarray(t, t + a), n); return } for (var i = 0; i < a; i++) { e[n + i] = r[t + i] } }, flattenChunks: function(e) { var r, t, a, n, i, s; a = 0; for (r = 0, t = e.length; r < t; r++) { a += e[r].length } s = new Uint8Array(a); n = 0; for (r = 0, t = e.length; r < t; r++) { i = e[r]; s.set(i, n); n += i.length } return s } }; var i = { arraySet: function(e, r, t, a, n) { for (var i = 0; i < a; i++) { e[n + i] = r[t + i] } }, flattenChunks: function(e) { return [].concat.apply([], e) } }; t.setTyped = function(e) { if (e) { t.Buf8 = Uint8Array; t.Buf16 = Uint16Array; t.Buf32 = Int32Array; t.assign(t, n) } else { t.Buf8 = Array; t.Buf16 = Array; t.Buf32 = Array; t.assign(t, i) } } ; t.setTyped(a) } , {}], 28: [function(e, r, t) { "use strict"; var a = e("./common"); var n = true; var i = true; try { String.fromCharCode.apply(null, [0]) } catch (s) { n = false } try { String.fromCharCode.apply(null, new Uint8Array(1)) } catch (s) { i = false } var f = new a.Buf8(256); for (var o = 0; o < 256; o++) { f[o] = o >= 252 ? 6 : o >= 248 ? 5 : o >= 240 ? 4 : o >= 224 ? 3 : o >= 192 ? 2 : 1 } f[254] = f[254] = 1; t.string2buf = function(e) { var r, t, n, i, s, f = e.length, o = 0; for (i = 0; i < f; i++) { t = e.charCodeAt(i); if ((t & 64512) === 55296 && i + 1 < f) { n = e.charCodeAt(i + 1); if ((n & 64512) === 56320) { t = 65536 + (t - 55296 << 10) + (n - 56320); i++ } } o += t < 128 ? 1 : t < 2048 ? 2 : t < 65536 ? 3 : 4 } r = new a.Buf8(o); for (s = 0, i = 0; s < o; i++) { t = e.charCodeAt(i); if ((t & 64512) === 55296 && i + 1 < f) { n = e.charCodeAt(i + 1); if ((n & 64512) === 56320) { t = 65536 + (t - 55296 << 10) + (n - 56320); i++ } } if (t < 128) { r[s++] = t } else if (t < 2048) { r[s++] = 192 | t >>> 6; r[s++] = 128 | t & 63 } else if (t < 65536) { r[s++] = 224 | t >>> 12; r[s++] = 128 | t >>> 6 & 63; r[s++] = 128 | t & 63 } else { r[s++] = 240 | t >>> 18; r[s++] = 128 | t >>> 12 & 63; r[s++] = 128 | t >>> 6 & 63; r[s++] = 128 | t & 63 } } return r } ; function l(e, r) { if (r < 65537) { if (e.subarray && i || !e.subarray && n) { return String.fromCharCode.apply(null, a.shrinkBuf(e, r)) } } var t = ""; for (var s = 0; s < r; s++) { t += String.fromCharCode(e[s]) } return t } t.buf2binstring = function(e) { return l(e, e.length) } ; t.binstring2buf = function(e) { var r = new a.Buf8(e.length); for (var t = 0, n = r.length; t < n; t++) { r[t] = e.charCodeAt(t) } return r } ; t.buf2string = function(e, r) { var t, a, n, i; var s = r || e.length; var o = new Array(s * 2); for (a = 0, t = 0; t < s; ) { n = e[t++]; if (n < 128) { o[a++] = n; continue } i = f[n]; if (i > 4) { o[a++] = 65533; t += i - 1; continue } n &= i === 2 ? 31 : i === 3 ? 15 : 7; while (i > 1 && t < s) { n = n << 6 | e[t++] & 63; i-- } if (i > 1) { o[a++] = 65533; continue } if (n < 65536) { o[a++] = n } else { n -= 65536; o[a++] = 55296 | n >> 10 & 1023; o[a++] = 56320 | n & 1023 } } return l(o, a) } ; t.utf8border = function(e, r) { var t; r = r || e.length; if (r > e.length) { r = e.length } t = r - 1; while (t >= 0 && (e[t] & 192) === 128) { t-- } if (t < 0) { return r } if (t === 0) { return r } return t + f[e[t]] > r ? t : r } } , { "./common": 27 }], 29: [function(e, r, t) { "use strict"; function a(e, r, t, a) { var n = e & 65535 | 0 , i = e >>> 16 & 65535 | 0 , s = 0; while (t !== 0) { s = t > 2e3 ? 2e3 : t; t -= s; do { n = n + r[a++] | 0; i = i + n | 0 } while (--s); n %= 65521; i %= 65521 } return n | i << 16 | 0 } r.exports = a } , {}], 30: [function(e, r, t) { r.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(e, r, t) { "use strict"; function a() { var e, r = []; for (var t = 0; t < 256; t++) { e = t; for (var a = 0; a < 8; a++) { e = e & 1 ? 3988292384 ^ e >>> 1 : e >>> 1 } r[t] = e } return r } var n = a(); function i(e, r, t, a) { var i = n , s = a + t; e = e ^ -1; for (var f = a; f < s; f++) { e = e >>> 8 ^ i[(e ^ r[f]) & 255] } return e ^ -1 } r.exports = i } , {}], 32: [function(e, r, t) { "use strict"; var a = e("../utils/common"); var n = e("./trees"); var i = e("./adler32"); var s = e("./crc32"); var f = e("./messages"); var o = 0; var l = 1; var c = 3; var h = 4; var u = 5; var d = 0; var p = 1; var v = -2; var g = -3; var m = -5; var b = -1; var w = 1; var C = 2; var E = 3; var k = 4; var S = 0; var A = 2; var _ = 8; var B = 9; var T = 15; var y = 8; var x = 29; var I = 256; var R = I + 1 + x; var D = 30; var O = 19; var F = 2 * R + 1; var P = 15; var N = 3; var L = 258; var M = L + N + 1; var U = 32; var H = 42; var W = 69; var V = 73; var z = 91; var X = 103; var G = 113; var j = 666; var K = 1; var Y = 2; var $ = 3; var Z = 4; var Q = 3; function J(e, r) { e.msg = f[r]; return r } function q(e) { return (e << 1) - (e > 4 ? 9 : 0) } function ee(e) { var r = e.length; while (--r >= 0) { e[r] = 0 } } function re(e) { var r = e.state; var t = r.pending; if (t > e.avail_out) { t = e.avail_out } if (t === 0) { return } a.arraySet(e.output, r.pending_buf, r.pending_out, t, e.next_out); e.next_out += t; r.pending_out += t; e.total_out += t; e.avail_out -= t; r.pending -= t; if (r.pending === 0) { r.pending_out = 0 } } function te(e, r) { n._tr_flush_block(e, e.block_start >= 0 ? e.block_start : -1, e.strstart - e.block_start, r); e.block_start = e.strstart; re(e.strm) } function ae(e, r) { e.pending_buf[e.pending++] = r } function ne(e, r) { e.pending_buf[e.pending++] = r >>> 8 & 255; e.pending_buf[e.pending++] = r & 255 } function ie(e, r, t, n) { var f = e.avail_in; if (f > n) { f = n } if (f === 0) { return 0 } e.avail_in -= f; a.arraySet(r, e.input, e.next_in, f, t); if (e.state.wrap === 1) { e.adler = i(e.adler, r, f, t) } else if (e.state.wrap === 2) { e.adler = s(e.adler, r, f, t) } e.next_in += f; e.total_in += f; return f } function se(e, r) { var t = e.max_chain_length; var a = e.strstart; var n; var i; var s = e.prev_length; var f = e.nice_match; var o = e.strstart > e.w_size - M ? e.strstart - (e.w_size - M) : 0; var l = e.window; var c = e.w_mask; var h = e.prev; var u = e.strstart + L; var d = l[a + s - 1]; var p = l[a + s]; if (e.prev_length >= e.good_match) { t >>= 2 } if (f > e.lookahead) { f = e.lookahead } do { n = r; if (l[n + s] !== p || l[n + s - 1] !== d || l[n] !== l[a] || l[++n] !== l[a + 1]) { continue } a += 2; n++; do {} while (l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && a < u); i = L - (u - a); a = u - L; if (i > s) { e.match_start = r; s = i; if (i >= f) { break } d = l[a + s - 1]; p = l[a + s] } } while ((r = h[r & c]) > o && --t !== 0); if (s <= e.lookahead) { return s } return e.lookahead } function fe(e) { var r = e.w_size; var t, n, i, s, f; do { s = e.window_size - e.lookahead - e.strstart; if (e.strstart >= r + (r - M)) { a.arraySet(e.window, e.window, r, r, 0); e.match_start -= r; e.strstart -= r; e.block_start -= r; n = e.hash_size; t = n; do { i = e.head[--t]; e.head[t] = i >= r ? i - r : 0 } while (--n); n = r; t = n; do { i = e.prev[--t]; e.prev[t] = i >= r ? i - r : 0 } while (--n); s += r } if (e.strm.avail_in === 0) { break } n = ie(e.strm, e.window, e.strstart + e.lookahead, s); e.lookahead += n; if (e.lookahead + e.insert >= N) { f = e.strstart - e.insert; e.ins_h = e.window[f]; e.ins_h = (e.ins_h << e.hash_shift ^ e.window[f + 1]) & e.hash_mask; while (e.insert) { e.ins_h = (e.ins_h << e.hash_shift ^ e.window[f + N - 1]) & e.hash_mask; e.prev[f & e.w_mask] = e.head[e.ins_h]; e.head[e.ins_h] = f; f++; e.insert--; if (e.lookahead + e.insert < N) { break } } } } while (e.lookahead < M && e.strm.avail_in !== 0) } function oe(e, r) { var t = 65535; if (t > e.pending_buf_size - 5) { t = e.pending_buf_size - 5 } for (; ; ) { if (e.lookahead <= 1) { fe(e); if (e.lookahead === 0 && r === o) { return K } if (e.lookahead === 0) { break } } e.strstart += e.lookahead; e.lookahead = 0; var a = e.block_start + t; if (e.strstart === 0 || e.strstart >= a) { e.lookahead = e.strstart - a; e.strstart = a; te(e, false); if (e.strm.avail_out === 0) { return K } } if (e.strstart - e.block_start >= e.w_size - M) { te(e, false); if (e.strm.avail_out === 0) { return K } } } e.insert = 0; if (r === h) { te(e, true); if (e.strm.avail_out === 0) { return $ } return Z } if (e.strstart > e.block_start) { te(e, false); if (e.strm.avail_out === 0) { return K } } return K } function le(e, r) { var t; var a; for (; ; ) { if (e.lookahead < M) { fe(e); if (e.lookahead < M && r === o) { return K } if (e.lookahead === 0) { break } } t = 0; if (e.lookahead >= N) { e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + N - 1]) & e.hash_mask; t = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]; e.head[e.ins_h] = e.strstart } if (t !== 0 && e.strstart - t <= e.w_size - M) { e.match_length = se(e, t) } if (e.match_length >= N) { a = n._tr_tally(e, e.strstart - e.match_start, e.match_length - N); e.lookahead -= e.match_length; if (e.match_length <= e.max_lazy_match && e.lookahead >= N) { e.match_length--; do { e.strstart++; e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + N - 1]) & e.hash_mask; t = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]; e.head[e.ins_h] = e.strstart } while (--e.match_length !== 0); e.strstart++ } else { e.strstart += e.match_length; e.match_length = 0; e.ins_h = e.window[e.strstart]; e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 1]) & e.hash_mask } } else { a = n._tr_tally(e, 0, e.window[e.strstart]); e.lookahead--; e.strstart++ } if (a) { te(e, false); if (e.strm.avail_out === 0) { return K } } } e.insert = e.strstart < N - 1 ? e.strstart : N - 1; if (r === h) { te(e, true); if (e.strm.avail_out === 0) { return $ } return Z } if (e.last_lit) { te(e, false); if (e.strm.avail_out === 0) { return K } } return Y } function ce(e, r) { var t; var a; var i; for (; ; ) { if (e.lookahead < M) { fe(e); if (e.lookahead < M && r === o) { return K } if (e.lookahead === 0) { break } } t = 0; if (e.lookahead >= N) { e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + N - 1]) & e.hash_mask; t = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]; e.head[e.ins_h] = e.strstart } e.prev_length = e.match_length; e.prev_match = e.match_start; e.match_length = N - 1; if (t !== 0 && e.prev_length < e.max_lazy_match && e.strstart - t <= e.w_size - M) { e.match_length = se(e, t); if (e.match_length <= 5 && (e.strategy === w || e.match_length === N && e.strstart - e.match_start > 4096)) { e.match_length = N - 1 } } if (e.prev_length >= N && e.match_length <= e.prev_length) { i = e.strstart + e.lookahead - N; a = n._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - N); e.lookahead -= e.prev_length - 1; e.prev_length -= 2; do { if (++e.strstart <= i) { e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + N - 1]) & e.hash_mask; t = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]; e.head[e.ins_h] = e.strstart } } while (--e.prev_length !== 0); e.match_available = 0; e.match_length = N - 1; e.strstart++; if (a) { te(e, false); if (e.strm.avail_out === 0) { return K } } } else if (e.match_available) { a = n._tr_tally(e, 0, e.window[e.strstart - 1]); if (a) { te(e, false) } e.strstart++; e.lookahead--; if (e.strm.avail_out === 0) { return K } } else { e.match_available = 1; e.strstart++; e.lookahead-- } } if (e.match_available) { a = n._tr_tally(e, 0, e.window[e.strstart - 1]); e.match_available = 0 } e.insert = e.strstart < N - 1 ? e.strstart : N - 1; if (r === h) { te(e, true); if (e.strm.avail_out === 0) { return $ } return Z } if (e.last_lit) { te(e, false); if (e.strm.avail_out === 0) { return K } } return Y } function he(e, r) { var t; var a; var i, s; var f = e.window; for (; ; ) { if (e.lookahead <= L) { fe(e); if (e.lookahead <= L && r === o) { return K } if (e.lookahead === 0) { break } } e.match_length = 0; if (e.lookahead >= N && e.strstart > 0) { i = e.strstart - 1; a = f[i]; if (a === f[++i] && a === f[++i] && a === f[++i]) { s = e.strstart + L; do {} while (a === f[++i] && a === f[++i] && a === f[++i] && a === f[++i] && a === f[++i] && a === f[++i] && a === f[++i] && a === f[++i] && i < s); e.match_length = L - (s - i); if (e.match_length > e.lookahead) { e.match_length = e.lookahead } } } if (e.match_length >= N) { t = n._tr_tally(e, 1, e.match_length - N); e.lookahead -= e.match_length; e.strstart += e.match_length; e.match_length = 0 } else { t = n._tr_tally(e, 0, e.window[e.strstart]); e.lookahead--; e.strstart++ } if (t) { te(e, false); if (e.strm.avail_out === 0) { return K } } } e.insert = 0; if (r === h) { te(e, true); if (e.strm.avail_out === 0) { return $ } return Z } if (e.last_lit) { te(e, false); if (e.strm.avail_out === 0) { return K } } return Y } function ue(e, r) { var t; for (; ; ) { if (e.lookahead === 0) { fe(e); if (e.lookahead === 0) { if (r === o) { return K } break } } e.match_length = 0; t = n._tr_tally(e, 0, e.window[e.strstart]); e.lookahead--; e.strstart++; if (t) { te(e, false); if (e.strm.avail_out === 0) { return K } } } e.insert = 0; if (r === h) { te(e, true); if (e.strm.avail_out === 0) { return $ } return Z } if (e.last_lit) { te(e, false); if (e.strm.avail_out === 0) { return K } } return Y } var de = function(e, r, t, a, n) { this.good_length = e; this.max_lazy = r; this.nice_length = t; this.max_chain = a; this.func = n }; var pe; pe = [new de(0,0,0,0,oe), new de(4,4,8,4,le), new de(4,5,16,8,le), new de(4,6,32,32,le), new de(4,4,16,16,ce), new de(8,16,32,32,ce), new de(8,16,128,128,ce), new de(8,32,128,256,ce), new de(32,128,258,1024,ce), new de(32,258,258,4096,ce)]; function ve(e) { e.window_size = 2 * e.w_size; ee(e.head); e.max_lazy_match = pe[e.level].max_lazy; e.good_match = pe[e.level].good_length; e.nice_match = pe[e.level].nice_length; e.max_chain_length = pe[e.level].max_chain; e.strstart = 0; e.block_start = 0; e.lookahead = 0; e.insert = 0; e.match_length = e.prev_length = N - 1; e.match_available = 0; e.ins_h = 0 } function ge() { 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 = _; 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 a.Buf16(F * 2); this.dyn_dtree = new a.Buf16((2 * D + 1) * 2); this.bl_tree = new a.Buf16((2 * O + 1) * 2); ee(this.dyn_ltree); ee(this.dyn_dtree); ee(this.bl_tree); this.l_desc = null; this.d_desc = null; this.bl_desc = null; this.bl_count = new a.Buf16(P + 1); this.heap = new a.Buf16(2 * R + 1); ee(this.heap); this.heap_len = 0; this.heap_max = 0; this.depth = new a.Buf16(2 * R + 1); ee(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 me(e) { var r; if (!e || !e.state) { return J(e, v) } e.total_in = e.total_out = 0; e.data_type = A; r = e.state; r.pending = 0; r.pending_out = 0; if (r.wrap < 0) { r.wrap = -r.wrap } r.status = r.wrap ? H : G; e.adler = r.wrap === 2 ? 0 : 1; r.last_flush = o; n._tr_init(r); return d } function be(e) { var r = me(e); if (r === d) { ve(e.state) } return r } function we(e, r) { if (!e || !e.state) { return v } if (e.state.wrap !== 2) { return v } e.state.gzhead = r; return d } function Ce(e, r, t, n, i, s) { if (!e) { return v } var f = 1; if (r === b) { r = 6 } if (n < 0) { f = 0; n = -n } else if (n > 15) { f = 2; n -= 16 } if (i < 1 || i > B || t !== _ || n < 8 || n > 15 || r < 0 || r > 9 || s < 0 || s > k) { return J(e, v) } if (n === 8) { n = 9 } var o = new ge; e.state = o; o.strm = e; o.wrap = f; 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 + N - 1) / N); o.window = new a.Buf8(o.w_size * 2); o.head = new a.Buf16(o.hash_size); o.prev = new a.Buf16(o.w_size); o.lit_bufsize = 1 << i + 6; o.pending_buf_size = o.lit_bufsize * 4; o.pending_buf = new a.Buf8(o.pending_buf_size); o.d_buf = o.lit_bufsize >> 1; o.l_buf = (1 + 2) * o.lit_bufsize; o.level = r; o.strategy = s; o.method = t; return be(e) } function Ee(e, r) { return Ce(e, r, _, T, y, S) } function ke(e, r) { var t, a; var i, f; if (!e || !e.state || r > u || r < 0) { return e ? J(e, v) : v } a = e.state; if (!e.output || !e.input && e.avail_in !== 0 || a.status === j && r !== h) { return J(e, e.avail_out === 0 ? m : v) } a.strm = e; t = a.last_flush; a.last_flush = r; if (a.status === H) { if (a.wrap === 2) { e.adler = 0; ae(a, 31); ae(a, 139); ae(a, 8); if (!a.gzhead) { ae(a, 0); ae(a, 0); ae(a, 0); ae(a, 0); ae(a, 0); ae(a, a.level === 9 ? 2 : a.strategy >= C || a.level < 2 ? 4 : 0); ae(a, Q); a.status = G } else { ae(a, (a.gzhead.text ? 1 : 0) + (a.gzhead.hcrc ? 2 : 0) + (!a.gzhead.extra ? 0 : 4) + (!a.gzhead.name ? 0 : 8) + (!a.gzhead.comment ? 0 : 16)); ae(a, a.gzhead.time & 255); ae(a, a.gzhead.time >> 8 & 255); ae(a, a.gzhead.time >> 16 & 255); ae(a, a.gzhead.time >> 24 & 255); ae(a, a.level === 9 ? 2 : a.strategy >= C || a.level < 2 ? 4 : 0); ae(a, a.gzhead.os & 255); if (a.gzhead.extra && a.gzhead.extra.length) { ae(a, a.gzhead.extra.length & 255); ae(a, a.gzhead.extra.length >> 8 & 255) } if (a.gzhead.hcrc) { e.adler = s(e.adler, a.pending_buf, a.pending, 0) } a.gzindex = 0; a.status = W } } else { var g = _ + (a.w_bits - 8 << 4) << 8; var b = -1; if (a.strategy >= C || a.level < 2) { b = 0 } else if (a.level < 6) { b = 1 } else if (a.level === 6) { b = 2 } else { b = 3 } g |= b << 6; if (a.strstart !== 0) { g |= U } g += 31 - g % 31; a.status = G; ne(a, g); if (a.strstart !== 0) { ne(a, e.adler >>> 16); ne(a, e.adler & 65535) } e.adler = 1 } } if (a.status === W) { if (a.gzhead.extra) { i = a.pending; while (a.gzindex < (a.gzhead.extra.length & 65535)) { if (a.pending === a.pending_buf_size) { if (a.gzhead.hcrc && a.pending > i) { e.adler = s(e.adler, a.pending_buf, a.pending - i, i) } re(e); i = a.pending; if (a.pending === a.pending_buf_size) { break } } ae(a, a.gzhead.extra[a.gzindex] & 255); a.gzindex++ } if (a.gzhead.hcrc && a.pending > i) { e.adler = s(e.adler, a.pending_buf, a.pending - i, i) } if (a.gzindex === a.gzhead.extra.length) { a.gzindex = 0; a.status = V } } else { a.status = V } } if (a.status === V) { if (a.gzhead.name) { i = a.pending; do { if (a.pending === a.pending_buf_size) { if (a.gzhead.hcrc && a.pending > i) { e.adler = s(e.adler, a.pending_buf, a.pending - i, i) } re(e); i = a.pending; if (a.pending === a.pending_buf_size) { f = 1; break } } if (a.gzindex < a.gzhead.name.length) { f = a.gzhead.name.charCodeAt(a.gzindex++) & 255 } else { f = 0 } ae(a, f) } while (f !== 0); if (a.gzhead.hcrc && a.pending > i) { e.adler = s(e.adler, a.pending_buf, a.pending - i, i) } if (f === 0) { a.gzindex = 0; a.status = z } } else { a.status = z } } if (a.status === z) { if (a.gzhead.comment) { i = a.pending; do { if (a.pending === a.pending_buf_size) { if (a.gzhead.hcrc && a.pending > i) { e.adler = s(e.adler, a.pending_buf, a.pending - i, i) } re(e); i = a.pending; if (a.pending === a.pending_buf_size) { f = 1; break } } if (a.gzindex < a.gzhead.comment.length) { f = a.gzhead.comment.charCodeAt(a.gzindex++) & 255 } else { f = 0 } ae(a, f) } while (f !== 0); if (a.gzhead.hcrc && a.pending > i) { e.adler = s(e.adler, a.pending_buf, a.pending - i, i) } if (f === 0) { a.status = X } } else { a.status = X } } if (a.status === X) { if (a.gzhead.hcrc) { if (a.pending + 2 > a.pending_buf_size) { re(e) } if (a.pending + 2 <= a.pending_buf_size) { ae(a, e.adler & 255); ae(a, e.adler >> 8 & 255); e.adler = 0; a.status = G } } else { a.status = G } } if (a.pending !== 0) { re(e); if (e.avail_out === 0) { a.last_flush = -1; return d } } else if (e.avail_in === 0 && q(r) <= q(t) && r !== h) { return J(e, m) } if (a.status === j && e.avail_in !== 0) { return J(e, m) } if (e.avail_in !== 0 || a.lookahead !== 0 || r !== o && a.status !== j) { var w = a.strategy === C ? ue(a, r) : a.strategy === E ? he(a, r) : pe[a.level].func(a, r); if (w === $ || w === Z) { a.status = j } if (w === K || w === $) { if (e.avail_out === 0) { a.last_flush = -1 } return d } if (w === Y) { if (r === l) { n._tr_align(a) } else if (r !== u) { n._tr_stored_block(a, 0, 0, false); if (r === c) { ee(a.head); if (a.lookahead === 0) { a.strstart = 0; a.block_start = 0; a.insert = 0 } } } re(e); if (e.avail_out === 0) { a.last_flush = -1; return d } } } if (r !== h) { return d } if (a.wrap <= 0) { return p } if (a.wrap === 2) { ae(a, e.adler & 255); ae(a, e.adler >> 8 & 255); ae(a, e.adler >> 16 & 255); ae(a, e.adler >> 24 & 255); ae(a, e.total_in & 255); ae(a, e.total_in >> 8 & 255); ae(a, e.total_in >> 16 & 255); ae(a, e.total_in >> 24 & 255) } else { ne(a, e.adler >>> 16); ne(a, e.adler & 65535) } re(e); if (a.wrap > 0) { a.wrap = -a.wrap } return a.pending !== 0 ? d : p } function Se(e) { var r; if (!e || !e.state) { return v } r = e.state.status; if (r !== H && r !== W && r !== V && r !== z && r !== X && r !== G && r !== j) { return J(e, v) } e.state = null; return r === G ? J(e, g) : d } t.deflateInit = Ee; t.deflateInit2 = Ce; t.deflateReset = be; t.deflateResetKeep = me; t.deflateSetHeader = we; t.deflate = ke; t.deflateEnd = Se; t.deflateInfo = "pako deflate (from Nodeca project)" } , { "../utils/common": 27, "./adler32": 29, "./crc32": 31, "./messages": 37, "./trees": 38 }], 33: [function(e, r, t) { "use strict"; function a() { 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 = false } r.exports = a } , {}], 34: [function(e, r, t) { "use strict"; var a = 30; var n = 12; r.exports = function i(e, r) { var t; var i; var s; var f; var o; var l; var c; var h; var u; var d; var p; var v; var g; var m; var b; var w; var C; var E; var k; var S; var A; var _; var B; var T, y; t = e.state; i = e.next_in; T = e.input; s = i + (e.avail_in - 5); f = e.next_out; y = e.output; o = f - (r - e.avail_out); l = f + (e.avail_out - 257); c = t.dmax; h = t.wsize; u = t.whave; d = t.wnext; p = t.window; v = t.hold; g = t.bits; m = t.lencode; b = t.distcode; w = (1 << t.lenbits) - 1; C = (1 << t.distbits) - 1; e: do { if (g < 15) { v += T[i++] << g; g += 8; v += T[i++] << g; g += 8 } E = m[v & w]; r: for (; ; ) { k = E >>> 24; v >>>= k; g -= k; k = E >>> 16 & 255; if (k === 0) { y[f++] = E & 65535 } else if (k & 16) { S = E & 65535; k &= 15; if (k) { if (g < k) { v += T[i++] << g; g += 8 } S += v & (1 << k) - 1; v >>>= k; g -= k } if (g < 15) { v += T[i++] << g; g += 8; v += T[i++] << g; g += 8 } E = b[v & C]; t: for (; ; ) { k = E >>> 24; v >>>= k; g -= k; k = E >>> 16 & 255; if (k & 16) { A = E & 65535; k &= 15; if (g < k) { v += T[i++] << g; g += 8; if (g < k) { v += T[i++] << g; g += 8 } } A += v & (1 << k) - 1; if (A > c) { e.msg = "invalid distance too far back"; t.mode = a; break e } v >>>= k; g -= k; k = f - o; if (A > k) { k = A - k; if (k > u) { if (t.sane) { e.msg = "invalid distance too far back"; t.mode = a; break e } } _ = 0; B = p; if (d === 0) { _ += h - k; if (k < S) { S -= k; do { y[f++] = p[_++] } while (--k); _ = f - A; B = y } } else if (d < k) { _ += h + d - k; k -= d; if (k < S) { S -= k; do { y[f++] = p[_++] } while (--k); _ = 0; if (d < S) { k = d; S -= k; do { y[f++] = p[_++] } while (--k); _ = f - A; B = y } } } else { _ += d - k; if (k < S) { S -= k; do { y[f++] = p[_++] } while (--k); _ = f - A; B = y } } while (S > 2) { y[f++] = B[_++]; y[f++] = B[_++]; y[f++] = B[_++]; S -= 3 } if (S) { y[f++] = B[_++]; if (S > 1) { y[f++] = B[_++] } } } else { _ = f - A; do { y[f++] = y[_++]; y[f++] = y[_++]; y[f++] = y[_++]; S -= 3 } while (S > 2); if (S) { y[f++] = y[_++]; if (S > 1) { y[f++] = y[_++] } } } } else if ((k & 64) === 0) { E = b[(E & 65535) + (v & (1 << k) - 1)]; continue t } else { e.msg = "invalid distance code"; t.mode = a; break e } break } } else if ((k & 64) === 0) { E = m[(E & 65535) + (v & (1 << k) - 1)]; continue r } else if (k & 32) { t.mode = n; break e } else { e.msg = "invalid literal/length code"; t.mode = a; break e } break } } while (i < s && f < l); S = g >> 3; i -= S; g -= S << 3; v &= (1 << g) - 1; e.next_in = i; e.next_out = f; e.avail_in = i < s ? 5 + (s - i) : 5 - (i - s); e.avail_out = f < l ? 257 + (l - f) : 257 - (f - l); t.hold = v; t.bits = g; return } } , {}], 35: [function(e, r, t) { "use strict"; var a = e("../utils/common"); var n = e("./adler32"); var i = e("./crc32"); var s = e("./inffast"); var f = e("./inftrees"); var o = 0; var l = 1; var c = 2; var h = 4; var u = 5; var d = 6; var p = 0; var v = 1; var g = 2; var m = -2; var b = -3; var w = -4; var C = -5; var E = 8; var k = 1; var S = 2; var A = 3; var _ = 4; var B = 5; var T = 6; var y = 7; var x = 8; var I = 9; var R = 10; var D = 11; var O = 12; var F = 13; var P = 14; var N = 15; var L = 16; var M = 17; var U = 18; var H = 19; var W = 20; var V = 21; var z = 22; var X = 23; var G = 24; var j = 25; var K = 26; var Y = 27; var $ = 28; var Z = 29; var Q = 30; var J = 31; var q = 32; var ee = 852; var re = 592; var te = 15; var ae = te; function ne(e) { return (e >>> 24 & 255) + (e >>> 8 & 65280) + ((e & 65280) << 8) + ((e & 255) << 24) } function ie() { this.mode = 0; this.last = false; this.wrap = 0; this.havedict = false; 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 a.Buf16(320); this.work = new a.Buf16(288); this.lendyn = null; this.distdyn = null; this.sane = 0; this.back = 0; this.was = 0 } function se(e) { var r; if (!e || !e.state) { return m } r = e.state; e.total_in = e.total_out = r.total = 0; e.msg = ""; if (r.wrap) { e.adler = r.wrap & 1 } r.mode = k; r.last = 0; r.havedict = 0; r.dmax = 32768; r.head = null; r.hold = 0; r.bits = 0; r.lencode = r.lendyn = new a.Buf32(ee); r.distcode = r.distdyn = new a.Buf32(re); r.sane = 1; r.back = -1; return p } function fe(e) { var r; if (!e || !e.state) { return m } r = e.state; r.wsize = 0; r.whave = 0; r.wnext = 0; return se(e) } function oe(e, r) { var t; var a; if (!e || !e.state) { return m } a = e.state; if (r < 0) { t = 0; r = -r } else { t = (r >> 4) + 1; if (r < 48) { r &= 15 } } if (r && (r < 8 || r > 15)) { return m } if (a.window !== null && a.wbits !== r) { a.window = null } a.wrap = t; a.wbits = r; return fe(e) } function le(e, r) { var t; var a; if (!e) { return m } a = new ie; e.state = a; a.window = null; t = oe(e, r); if (t !== p) { e.state = null } return t } function ce(e) { return le(e, ae) } var he = true; var ue, de; function pe(e) { if (he) { var r; ue = new a.Buf32(512); de = new a.Buf32(32); r = 0; while (r < 144) { e.lens[r++] = 8 } while (r < 256) { e.lens[r++] = 9 } while (r < 280) { e.lens[r++] = 7 } while (r < 288) { e.lens[r++] = 8 } f(l, e.lens, 0, 288, ue, 0, e.work, { bits: 9 }); r = 0; while (r < 32) { e.lens[r++] = 5 } f(c, e.lens, 0, 32, de, 0, e.work, { bits: 5 }); he = false } e.lencode = ue; e.lenbits = 9; e.distcode = de; e.distbits = 5 } function ve(e, r, t, n) { var i; var s = e.state; if (s.window === null) { s.wsize = 1 << s.wbits; s.wnext = 0; s.whave = 0; s.window = new a.Buf8(s.wsize) } if (n >= s.wsize) { a.arraySet(s.window, r, t - s.wsize, s.wsize, 0); s.wnext = 0; s.whave = s.wsize } else { i = s.wsize - s.wnext; if (i > n) { i = n } a.arraySet(s.window, r, t - n, i, s.wnext); n -= i; if (n) { a.arraySet(s.window, r, t - n, n, 0); s.wnext = n; s.whave = s.wsize } else { s.wnext += i; if (s.wnext === s.wsize) { s.wnext = 0 } if (s.whave < s.wsize) { s.whave += i } } } return 0 } function ge(e, r) { var t; var ee, re; var te; var ae; var ie, se; var fe; var oe; var le, ce; var he; var ue; var de; var ge = 0; var me, be, we; var Ce, Ee, ke; var Se; var Ae; var _e = new a.Buf8(4); var Be; var Te; var ye = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]; if (!e || !e.state || !e.output || !e.input && e.avail_in !== 0) { return m } t = e.state; if (t.mode === O) { t.mode = F } ae = e.next_out; re = e.output; se = e.avail_out; te = e.next_in; ee = e.input; ie = e.avail_in; fe = t.hold; oe = t.bits; le = ie; ce = se; Ae = p; e: for (; ; ) { switch (t.mode) { case k: if (t.wrap === 0) { t.mode = F; break } while (oe < 16) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } if (t.wrap & 2 && fe === 35615) { t.check = 0; _e[0] = fe & 255; _e[1] = fe >>> 8 & 255; t.check = i(t.check, _e, 2, 0); fe = 0; oe = 0; t.mode = S; break } t.flags = 0; if (t.head) { t.head.done = false } if (!(t.wrap & 1) || (((fe & 255) << 8) + (fe >> 8)) % 31) { e.msg = "incorrect header check"; t.mode = Q; break } if ((fe & 15) !== E) { e.msg = "unknown compression method"; t.mode = Q; break } fe >>>= 4; oe -= 4; Se = (fe & 15) + 8; if (t.wbits === 0) { t.wbits = Se } else if (Se > t.wbits) { e.msg = "invalid window size"; t.mode = Q; break } t.dmax = 1 << Se; e.adler = t.check = 1; t.mode = fe & 512 ? R : O; fe = 0; oe = 0; break; case S: while (oe < 16) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } t.flags = fe; if ((t.flags & 255) !== E) { e.msg = "unknown compression method"; t.mode = Q; break } if (t.flags & 57344) { e.msg = "unknown header flags set"; t.mode = Q; break } if (t.head) { t.head.text = fe >> 8 & 1 } if (t.flags & 512) { _e[0] = fe & 255; _e[1] = fe >>> 8 & 255; t.check = i(t.check, _e, 2, 0) } fe = 0; oe = 0; t.mode = A; case A: while (oe < 32) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } if (t.head) { t.head.time = fe } if (t.flags & 512) { _e[0] = fe & 255; _e[1] = fe >>> 8 & 255; _e[2] = fe >>> 16 & 255; _e[3] = fe >>> 24 & 255; t.check = i(t.check, _e, 4, 0) } fe = 0; oe = 0; t.mode = _; case _: while (oe < 16) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } if (t.head) { t.head.xflags = fe & 255; t.head.os = fe >> 8 } if (t.flags & 512) { _e[0] = fe & 255; _e[1] = fe >>> 8 & 255; t.check = i(t.check, _e, 2, 0) } fe = 0; oe = 0; t.mode = B; case B: if (t.flags & 1024) { while (oe < 16) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } t.length = fe; if (t.head) { t.head.extra_len = fe } if (t.flags & 512) { _e[0] = fe & 255; _e[1] = fe >>> 8 & 255; t.check = i(t.check, _e, 2, 0) } fe = 0; oe = 0 } else if (t.head) { t.head.extra = null } t.mode = T; case T: if (t.flags & 1024) { he = t.length; if (he > ie) { he = ie } if (he) { if (t.head) { Se = t.head.extra_len - t.length; if (!t.head.extra) { t.head.extra = new Array(t.head.extra_len) } a.arraySet(t.head.extra, ee, te, he, Se) } if (t.flags & 512) { t.check = i(t.check, ee, he, te) } ie -= he; te += he; t.length -= he } if (t.length) { break e } } t.length = 0; t.mode = y; case y: if (t.flags & 2048) { if (ie === 0) { break e } he = 0; do { Se = ee[te + he++]; if (t.head && Se && t.length < 65536) { t.head.name += String.fromCharCode(Se) } } while (Se && he < ie); if (t.flags & 512) { t.check = i(t.check, ee, he, te) } ie -= he; te += he; if (Se) { break e } } else if (t.head) { t.head.name = null } t.length = 0; t.mode = x; case x: if (t.flags & 4096) { if (ie === 0) { break e } he = 0; do { Se = ee[te + he++]; if (t.head && Se && t.length < 65536) { t.head.comment += String.fromCharCode(Se) } } while (Se && he < ie); if (t.flags & 512) { t.check = i(t.check, ee, he, te) } ie -= he; te += he; if (Se) { break e } } else if (t.head) { t.head.comment = null } t.mode = I; case I: if (t.flags & 512) { while (oe < 16) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } if (fe !== (t.check & 65535)) { e.msg = "header crc mismatch"; t.mode = Q; break } fe = 0; oe = 0 } if (t.head) { t.head.hcrc = t.flags >> 9 & 1; t.head.done = true } e.adler = t.check = 0; t.mode = O; break; case R: while (oe < 32) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } e.adler = t.check = ne(fe); fe = 0; oe = 0; t.mode = D; case D: if (t.havedict === 0) { e.next_out = ae; e.avail_out = se; e.next_in = te; e.avail_in = ie; t.hold = fe; t.bits = oe; return g } e.adler = t.check = 1; t.mode = O; case O: if (r === u || r === d) { break e } ; case F: if (t.last) { fe >>>= oe & 7; oe -= oe & 7; t.mode = Y; break } while (oe < 3) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } t.last = fe & 1; fe >>>= 1; oe -= 1; switch (fe & 3) { case 0: t.mode = P; break; case 1: pe(t); t.mode = W; if (r === d) { fe >>>= 2; oe -= 2; break e } break; case 2: t.mode = M; break; case 3: e.msg = "invalid block type"; t.mode = Q; } fe >>>= 2; oe -= 2; break; case P: fe >>>= oe & 7; oe -= oe & 7; while (oe < 32) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } if ((fe & 65535) !== (fe >>> 16 ^ 65535)) { e.msg = "invalid stored block lengths"; t.mode = Q; break } t.length = fe & 65535; fe = 0; oe = 0; t.mode = N; if (r === d) { break e } ; case N: t.mode = L; case L: he = t.length; if (he) { if (he > ie) { he = ie } if (he > se) { he = se } if (he === 0) { break e } a.arraySet(re, ee, te, he, ae); ie -= he; te += he; se -= he; ae += he; t.length -= he; break } t.mode = O; break; case M: while (oe < 14) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } t.nlen = (fe & 31) + 257; fe >>>= 5; oe -= 5; t.ndist = (fe & 31) + 1; fe >>>= 5; oe -= 5; t.ncode = (fe & 15) + 4; fe >>>= 4; oe -= 4; if (t.nlen > 286 || t.ndist > 30) { e.msg = "too many length or distance symbols"; t.mode = Q; break } t.have = 0; t.mode = U; case U: while (t.have < t.ncode) { while (oe < 3) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } t.lens[ye[t.have++]] = fe & 7; fe >>>= 3; oe -= 3 } while (t.have < 19) { t.lens[ye[t.have++]] = 0 } t.lencode = t.lendyn; t.lenbits = 7; Be = { bits: t.lenbits }; Ae = f(o, t.lens, 0, 19, t.lencode, 0, t.work, Be); t.lenbits = Be.bits; if (Ae) { e.msg = "invalid code lengths set"; t.mode = Q; break } t.have = 0; t.mode = H; case H: while (t.have < t.nlen + t.ndist) { for (; ; ) { ge = t.lencode[fe & (1 << t.lenbits) - 1]; me = ge >>> 24; be = ge >>> 16 & 255; we = ge & 65535; if (me <= oe) { break } if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } if (we < 16) { fe >>>= me; oe -= me; t.lens[t.have++] = we } else { if (we === 16) { Te = me + 2; while (oe < Te) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } fe >>>= me; oe -= me; if (t.have === 0) { e.msg = "invalid bit length repeat"; t.mode = Q; break } Se = t.lens[t.have - 1]; he = 3 + (fe & 3); fe >>>= 2; oe -= 2 } else if (we === 17) { Te = me + 3; while (oe < Te) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } fe >>>= me; oe -= me; Se = 0; he = 3 + (fe & 7); fe >>>= 3; oe -= 3 } else { Te = me + 7; while (oe < Te) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } fe >>>= me; oe -= me; Se = 0; he = 11 + (fe & 127); fe >>>= 7; oe -= 7 } if (t.have + he > t.nlen + t.ndist) { e.msg = "invalid bit length repeat"; t.mode = Q; break } while (he--) { t.lens[t.have++] = Se } } } if (t.mode === Q) { break } if (t.lens[256] === 0) { e.msg = "invalid code -- missing end-of-block"; t.mode = Q; break } t.lenbits = 9; Be = { bits: t.lenbits }; Ae = f(l, t.lens, 0, t.nlen, t.lencode, 0, t.work, Be); t.lenbits = Be.bits; if (Ae) { e.msg = "invalid literal/lengths set"; t.mode = Q; break } t.distbits = 6; t.distcode = t.distdyn; Be = { bits: t.distbits }; Ae = f(c, t.lens, t.nlen, t.ndist, t.distcode, 0, t.work, Be); t.distbits = Be.bits; if (Ae) { e.msg = "invalid distances set"; t.mode = Q; break } t.mode = W; if (r === d) { break e } ; case W: t.mode = V; case V: if (ie >= 6 && se >= 258) { e.next_out = ae; e.avail_out = se; e.next_in = te; e.avail_in = ie; t.hold = fe; t.bits = oe; s(e, ce); ae = e.next_out; re = e.output; se = e.avail_out; te = e.next_in; ee = e.input; ie = e.avail_in; fe = t.hold; oe = t.bits; if (t.mode === O) { t.back = -1 } break } t.back = 0; for (; ; ) { ge = t.lencode[fe & (1 << t.lenbits) - 1]; me = ge >>> 24; be = ge >>> 16 & 255; we = ge & 65535; if (me <= oe) { break } if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } if (be && (be & 240) === 0) { Ce = me; Ee = be; ke = we; for (; ; ) { ge = t.lencode[ke + ((fe & (1 << Ce + Ee) - 1) >> Ce)]; me = ge >>> 24; be = ge >>> 16 & 255; we = ge & 65535; if (Ce + me <= oe) { break } if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } fe >>>= Ce; oe -= Ce; t.back += Ce } fe >>>= me; oe -= me; t.back += me; t.length = we; if (be === 0) { t.mode = K; break } if (be & 32) { t.back = -1; t.mode = O; break } if (be & 64) { e.msg = "invalid literal/length code"; t.mode = Q; break } t.extra = be & 15; t.mode = z; case z: if (t.extra) { Te = t.extra; while (oe < Te) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } t.length += fe & (1 << t.extra) - 1; fe >>>= t.extra; oe -= t.extra; t.back += t.extra } t.was = t.length; t.mode = X; case X: for (; ; ) { ge = t.distcode[fe & (1 << t.distbits) - 1]; me = ge >>> 24; be = ge >>> 16 & 255; we = ge & 65535; if (me <= oe) { break } if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } if ((be & 240) === 0) { Ce = me; Ee = be; ke = we; for (; ; ) { ge = t.distcode[ke + ((fe & (1 << Ce + Ee) - 1) >> Ce)]; me = ge >>> 24; be = ge >>> 16 & 255; we = ge & 65535; if (Ce + me <= oe) { break } if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } fe >>>= Ce; oe -= Ce; t.back += Ce } fe >>>= me; oe -= me; t.back += me; if (be & 64) { e.msg = "invalid distance code"; t.mode = Q; break } t.offset = we; t.extra = be & 15; t.mode = G; case G: if (t.extra) { Te = t.extra; while (oe < Te) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } t.offset += fe & (1 << t.extra) - 1; fe >>>= t.extra; oe -= t.extra; t.back += t.extra } if (t.offset > t.dmax) { e.msg = "invalid distance too far back"; t.mode = Q; break } t.mode = j; case j: if (se === 0) { break e } he = ce - se; if (t.offset > he) { he = t.offset - he; if (he > t.whave) { if (t.sane) { e.msg = "invalid distance too far back"; t.mode = Q; break } } if (he > t.wnext) { he -= t.wnext; ue = t.wsize - he } else { ue = t.wnext - he } if (he > t.length) { he = t.length } de = t.window } else { de = re; ue = ae - t.offset; he = t.length } if (he > se) { he = se } se -= he; t.length -= he; do { re[ae++] = de[ue++] } while (--he); if (t.length === 0) { t.mode = V } break; case K: if (se === 0) { break e } re[ae++] = t.length; se--; t.mode = V; break; case Y: if (t.wrap) { while (oe < 32) { if (ie === 0) { break e } ie--; fe |= ee[te++] << oe; oe += 8 } ce -= se; e.total_out += ce; t.total += ce; if (ce) { e.adler = t.check = t.flags ? i(t.check, re, ce, ae - ce) : n(t.check, re, ce, ae - ce) } ce = se; if ((t.flags ? fe : ne(fe)) !== t.check) { e.msg = "incorrect data check"; t.mode = Q; break } fe = 0; oe = 0 } t.mode = $; case $: if (t.wrap && t.flags) { while (oe < 32) { if (ie === 0) { break e } ie--; fe += ee[te++] << oe; oe += 8 } if (fe !== (t.total & 4294967295)) { e.msg = "incorrect length check"; t.mode = Q; break } fe = 0; oe = 0 } t.mode = Z; case Z: Ae = v; break e; case Q: Ae = b; break e; case J: return w; case q: ; default: return m; } } e.next_out = ae; e.avail_out = se; e.next_in = te; e.avail_in = ie; t.hold = fe; t.bits = oe; if (t.wsize || ce !== e.avail_out && t.mode < Q && (t.mode < Y || r !== h)) { if (ve(e, e.output, e.next_out, ce - e.avail_out)) { t.mode = J; return w } } le -= e.avail_in; ce -= e.avail_out; e.total_in += le; e.total_out += ce; t.total += ce; if (t.wrap && ce) { e.adler = t.check = t.flags ? i(t.check, re, ce, e.next_out - ce) : n(t.check, re, ce, e.next_out - ce) } e.data_type = t.bits + (t.last ? 64 : 0) + (t.mode === O ? 128 : 0) + (t.mode === W || t.mode === N ? 256 : 0); if ((le === 0 && ce === 0 || r === h) && Ae === p) { Ae = C } return Ae } function me(e) { if (!e || !e.state) { return m } var r = e.state; if (r.window) { r.window = null } e.state = null; return p } function be(e, r) { var t; if (!e || !e.state) { return m } t = e.state; if ((t.wrap & 2) === 0) { return m } t.head = r; r.done = false; return p } t.inflateReset = fe; t.inflateReset2 = oe; t.inflateResetKeep = se; t.inflateInit = ce; t.inflateInit2 = le; t.inflate = ge; t.inflateEnd = me; t.inflateGetHeader = be; t.inflateInfo = "pako inflate (from Nodeca project)" } , { "../utils/common": 27, "./adler32": 29, "./crc32": 31, "./inffast": 34, "./inftrees": 36 }], 36: [function(e, r, t) { "use strict"; var a = e("../utils/common"); var n = 15; var i = 852; var s = 592; var f = 0; var o = 1; var l = 2; var c = [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]; var h = [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]; var u = [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]; var d = [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]; r.exports = function p(e, r, t, v, g, m, b, w) { var C = w.bits; var E = 0; var k = 0; var S = 0 , A = 0; var _ = 0; var B = 0; var T = 0; var y = 0; var x = 0; var I = 0; var R; var D; var O; var F; var P; var N = null; var L = 0; var M; var U = new a.Buf16(n + 1); var H = new a.Buf16(n + 1); var W = null; var V = 0; var z, X, G; for (E = 0; E <= n; E++) { U[E] = 0 } for (k = 0; k < v; k++) { U[r[t + k]]++ } _ = C; for (A = n; A >= 1; A--) { if (U[A] !== 0) { break } } if (_ > A) { _ = A } if (A === 0) { g[m++] = 1 << 24 | 64 << 16 | 0; g[m++] = 1 << 24 | 64 << 16 | 0; w.bits = 1; return 0 } for (S = 1; S < A; S++) { if (U[S] !== 0) { break } } if (_ < S) { _ = S } y = 1; for (E = 1; E <= n; E++) { y <<= 1; y -= U[E]; if (y < 0) { return -1 } } if (y > 0 && (e === f || A !== 1)) { return -1 } H[1] = 0; for (E = 1; E < n; E++) { H[E + 1] = H[E] + U[E] } for (k = 0; k < v; k++) { if (r[t + k] !== 0) { b[H[r[t + k]]++] = k } } if (e === f) { N = W = b; M = 19 } else if (e === o) { N = c; L -= 257; W = h; V -= 257; M = 256 } else { N = u; W = d; M = -1 } I = 0; k = 0; E = S; P = m; B = _; T = 0; O = -1; x = 1 << _; F = x - 1; if (e === o && x > i || e === l && x > s) { return 1 } var j = 0; for (; ; ) { j++; z = E - T; if (b[k] < M) { X = 0; G = b[k] } else if (b[k] > M) { X = W[V + b[k]]; G = N[L + b[k]] } else { X = 32 + 64; G = 0 } R = 1 << E - T; D = 1 << B; S = D; do { D -= R; g[P + (I >> T) + D] = z << 24 | X << 16 | G | 0 } while (D !== 0); R = 1 << E - 1; while (I & R) { R >>= 1 } if (R !== 0) { I &= R - 1; I += R } else { I = 0 } k++; if (--U[E] === 0) { if (E === A) { break } E = r[t + b[k]] } if (E > _ && (I & F) !== O) { if (T === 0) { T = _ } P += S; B = E - T; y = 1 << B; while (B + T < A) { y -= U[B + T]; if (y <= 0) { break } B++; y <<= 1 } x += 1 << B; if (e === o && x > i || e === l && x > s) { return 1 } O = I & F; g[O] = _ << 24 | B << 16 | P - m | 0 } } if (I !== 0) { g[P + I] = E - T << 24 | 64 << 16 | 0 } w.bits = _; return 0 } } , { "../utils/common": 27 }], 37: [function(e, r, t) { "use strict"; r.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(e, r, t) { "use strict"; var a = e("../utils/common"); var n = 4; var i = 0; var s = 1; var f = 2; function o(e) { var r = e.length; while (--r >= 0) { e[r] = 0 } } var l = 0; var c = 1; var h = 2; var u = 3; var d = 258; var p = 29; var v = 256; var g = v + 1 + p; var m = 30; var b = 19; var w = 2 * g + 1; var C = 15; var E = 16; var k = 7; var S = 256; var A = 16; var _ = 17; var B = 18; var T = [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]; var y = [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]; var x = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]; var I = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]; var R = 512; var D = new Array((g + 2) * 2); o(D); var O = new Array(m * 2); o(O); var F = new Array(R); o(F); var P = new Array(d - u + 1); o(P); var N = new Array(p); o(N); var L = new Array(m); o(L); var M = function(e, r, t, a, n) { this.static_tree = e; this.extra_bits = r; this.extra_base = t; this.elems = a; this.max_length = n; this.has_stree = e && e.length }; var U; var H; var W; var V = function(e, r) { this.dyn_tree = e; this.max_code = 0; this.stat_desc = r }; function z(e) { return e < 256 ? F[e] : F[256 + (e >>> 7)] } function X(e, r) { e.pending_buf[e.pending++] = r & 255; e.pending_buf[e.pending++] = r >>> 8 & 255 } function G(e, r, t) { if (e.bi_valid > E - t) { e.bi_buf |= r << e.bi_valid & 65535; X(e, e.bi_buf); e.bi_buf = r >> E - e.bi_valid; e.bi_valid += t - E } else { e.bi_buf |= r << e.bi_valid & 65535; e.bi_valid += t } } function j(e, r, t) { G(e, t[r * 2], t[r * 2 + 1]) } function K(e, r) { var t = 0; do { t |= e & 1; e >>>= 1; t <<= 1 } while (--r > 0); return t >>> 1 } function Y(e) { if (e.bi_valid === 16) { X(e, e.bi_buf); e.bi_buf = 0; e.bi_valid = 0 } else if (e.bi_valid >= 8) { e.pending_buf[e.pending++] = e.bi_buf & 255; e.bi_buf >>= 8; e.bi_valid -= 8 } } function $(e, r) { var t = r.dyn_tree; var a = r.max_code; var n = r.stat_desc.static_tree; var i = r.stat_desc.has_stree; var s = r.stat_desc.extra_bits; var f = r.stat_desc.extra_base; var o = r.stat_desc.max_length; var l; var c, h; var u; var d; var p; var v = 0; for (u = 0; u <= C; u++) { e.bl_count[u] = 0 } t[e.heap[e.heap_max] * 2 + 1] = 0; for (l = e.heap_max + 1; l < w; l++) { c = e.heap[l]; u = t[t[c * 2 + 1] * 2 + 1] + 1; if (u > o) { u = o; v++ } t[c * 2 + 1] = u; if (c > a) { continue } e.bl_count[u]++; d = 0; if (c >= f) { d = s[c - f] } p = t[c * 2]; e.opt_len += p * (u + d); if (i) { e.static_len += p * (n[c * 2 + 1] + d) } } if (v === 0) { return } do { u = o - 1; while (e.bl_count[u] === 0) { u-- } e.bl_count[u]--; e.bl_count[u + 1] += 2; e.bl_count[o]--; v -= 2 } while (v > 0); for (u = o; u !== 0; u--) { c = e.bl_count[u]; while (c !== 0) { h = e.heap[--l]; if (h > a) { continue } if (t[h * 2 + 1] !== u) { e.opt_len += (u - t[h * 2 + 1]) * t[h * 2]; t[h * 2 + 1] = u } c-- } } } function Z(e, r, t) { var a = new Array(C + 1); var n = 0; var i; var s; for (i = 1; i <= C; i++) { a[i] = n = n + t[i - 1] << 1 } for (s = 0; s <= r; s++) { var f = e[s * 2 + 1]; if (f === 0) { continue } e[s * 2] = K(a[f]++, f) } } function Q() { var e; var r; var t; var a; var n; var i = new Array(C + 1); t = 0; for (a = 0; a < p - 1; a++) { N[a] = t; for (e = 0; e < 1 << T[a]; e++) { P[t++] = a } } P[t - 1] = a; n = 0; for (a = 0; a < 16; a++) { L[a] = n; for (e = 0; e < 1 << y[a]; e++) { F[n++] = a } } n >>= 7; for (; a < m; a++) { L[a] = n << 7; for (e = 0; e < 1 << y[a] - 7; e++) { F[256 + n++] = a } } for (r = 0; r <= C; r++) { i[r] = 0 } e = 0; while (e <= 143) { D[e * 2 + 1] = 8; e++; i[8]++ } while (e <= 255) { D[e * 2 + 1] = 9; e++; i[9]++ } while (e <= 279) { D[e * 2 + 1] = 7; e++; i[7]++ } while (e <= 287) { D[e * 2 + 1] = 8; e++; i[8]++ } Z(D, g + 1, i); for (e = 0; e < m; e++) { O[e * 2 + 1] = 5; O[e * 2] = K(e, 5) } U = new M(D,T,v + 1,g,C); H = new M(O,y,0,m,C); W = new M(new Array(0),x,0,b,k) } function J(e) { var r; for (r = 0; r < g; r++) { e.dyn_ltree[r * 2] = 0 } for (r = 0; r < m; r++) { e.dyn_dtree[r * 2] = 0 } for (r = 0; r < b; r++) { e.bl_tree[r * 2] = 0 } e.dyn_ltree[S * 2] = 1; e.opt_len = e.static_len = 0; e.last_lit = e.matches = 0 } function q(e) { if (e.bi_valid > 8) { X(e, e.bi_buf) } else if (e.bi_valid > 0) { e.pending_buf[e.pending++] = e.bi_buf } e.bi_buf = 0; e.bi_valid = 0 } function ee(e, r, t, n) { q(e); if (n) { X(e, t); X(e, ~t) } a.arraySet(e.pending_buf, e.window, r, t, e.pending); e.pending += t } function re(e, r, t, a) { var n = r * 2; var i = t * 2; return e[n] < e[i] || e[n] === e[i] && a[r] <= a[t] } function te(e, r, t) { var a = e.heap[t]; var n = t << 1; while (n <= e.heap_len) { if (n < e.heap_len && re(r, e.heap[n + 1], e.heap[n], e.depth)) { n++ } if (re(r, a, e.heap[n], e.depth)) { break } e.heap[t] = e.heap[n]; t = n; n <<= 1 } e.heap[t] = a } function ae(e, r, t) { var a; var n; var i = 0; var s; var f; if (e.last_lit !== 0) { do { a = e.pending_buf[e.d_buf + i * 2] << 8 | e.pending_buf[e.d_buf + i * 2 + 1]; n = e.pending_buf[e.l_buf + i]; i++; if (a === 0) { j(e, n, r) } else { s = P[n]; j(e, s + v + 1, r); f = T[s]; if (f !== 0) { n -= N[s]; G(e, n, f) } a--; s = z(a); j(e, s, t); f = y[s]; if (f !== 0) { a -= L[s]; G(e, a, f) } } } while (i < e.last_lit) } j(e, S, r) } function ne(e, r) { var t = r.dyn_tree; var a = r.stat_desc.static_tree; var n = r.stat_desc.has_stree; var i = r.stat_desc.elems; var s, f; var o = -1; var l; e.heap_len = 0; e.heap_max = w; for (s = 0; s < i; s++) { if (t[s * 2] !== 0) { e.heap[++e.heap_len] = o = s; e.depth[s] = 0 } else { t[s * 2 + 1] = 0 } } while (e.heap_len < 2) { l = e.heap[++e.heap_len] = o < 2 ? ++o : 0; t[l * 2] = 1; e.depth[l] = 0; e.opt_len--; if (n) { e.static_len -= a[l * 2 + 1] } } r.max_code = o; for (s = e.heap_len >> 1; s >= 1; s--) { te(e, t, s) } l = i; do { s = e.heap[1]; e.heap[1] = e.heap[e.heap_len--]; te(e, t, 1); f = e.heap[1]; e.heap[--e.heap_max] = s; e.heap[--e.heap_max] = f; t[l * 2] = t[s * 2] + t[f * 2]; e.depth[l] = (e.depth[s] >= e.depth[f] ? e.depth[s] : e.depth[f]) + 1; t[s * 2 + 1] = t[f * 2 + 1] = l; e.heap[1] = l++; te(e, t, 1) } while (e.heap_len >= 2); e.heap[--e.heap_max] = e.heap[1]; $(e, r); Z(t, o, e.bl_count) } function ie(e, r, t) { var a; var n = -1; var i; var s = r[0 * 2 + 1]; var f = 0; var o = 7; var l = 4; if (s === 0) { o = 138; l = 3 } r[(t + 1) * 2 + 1] = 65535; for (a = 0; a <= t; a++) { i = s; s = r[(a + 1) * 2 + 1]; if (++f < o && i === s) { continue } else if (f < l) { e.bl_tree[i * 2] += f } else if (i !== 0) { if (i !== n) { e.bl_tree[i * 2]++ } e.bl_tree[A * 2]++ } else if (f <= 10) { e.bl_tree[_ * 2]++ } else { e.bl_tree[B * 2]++ } f = 0; n = i; if (s === 0) { o = 138; l = 3 } else if (i === s) { o = 6; l = 3 } else { o = 7; l = 4 } } } function se(e, r, t) { var a; var n = -1; var i; var s = r[0 * 2 + 1]; var f = 0; var o = 7; var l = 4; if (s === 0) { o = 138; l = 3 } for (a = 0; a <= t; a++) { i = s; s = r[(a + 1) * 2 + 1]; if (++f < o && i === s) { continue } else if (f < l) { do { j(e, i, e.bl_tree) } while (--f !== 0) } else if (i !== 0) { if (i !== n) { j(e, i, e.bl_tree); f-- } j(e, A, e.bl_tree); G(e, f - 3, 2) } else if (f <= 10) { j(e, _, e.bl_tree); G(e, f - 3, 3) } else { j(e, B, e.bl_tree); G(e, f - 11, 7) } f = 0; n = i; if (s === 0) { o = 138; l = 3 } else if (i === s) { o = 6; l = 3 } else { o = 7; l = 4 } } } function fe(e) { var r; ie(e, e.dyn_ltree, e.l_desc.max_code); ie(e, e.dyn_dtree, e.d_desc.max_code); ne(e, e.bl_desc); for (r = b - 1; r >= 3; r--) { if (e.bl_tree[I[r] * 2 + 1] !== 0) { break } } e.opt_len += 3 * (r + 1) + 5 + 5 + 4; return r } function oe(e, r, t, a) { var n; G(e, r - 257, 5); G(e, t - 1, 5); G(e, a - 4, 4); for (n = 0; n < a; n++) { G(e, e.bl_tree[I[n] * 2 + 1], 3) } se(e, e.dyn_ltree, r - 1); se(e, e.dyn_dtree, t - 1) } function le(e) { var r = 4093624447; var t; for (t = 0; t <= 31; t++, r >>>= 1) { if (r & 1 && e.dyn_ltree[t * 2] !== 0) { return i } } if (e.dyn_ltree[9 * 2] !== 0 || e.dyn_ltree[10 * 2] !== 0 || e.dyn_ltree[13 * 2] !== 0) { return s } for (t = 32; t < v; t++) { if (e.dyn_ltree[t * 2] !== 0) { return s } } return i } var ce = false; function he(e) { if (!ce) { Q(); ce = true } e.l_desc = new V(e.dyn_ltree,U); e.d_desc = new V(e.dyn_dtree,H); e.bl_desc = new V(e.bl_tree,W); e.bi_buf = 0; e.bi_valid = 0; J(e) } function ue(e, r, t, a) { G(e, (l << 1) + (a ? 1 : 0), 3); ee(e, r, t, true) } function de(e) { G(e, c << 1, 3); j(e, S, D); Y(e) } function pe(e, r, t, a) { var i, s; var o = 0; if (e.level > 0) { if (e.strm.data_type === f) { e.strm.data_type = le(e) } ne(e, e.l_desc); ne(e, e.d_desc); o = fe(e); i = e.opt_len + 3 + 7 >>> 3; s = e.static_len + 3 + 7 >>> 3; if (s <= i) { i = s } } else { i = s = t + 5 } if (t + 4 <= i && r !== -1) { ue(e, r, t, a) } else if (e.strategy === n || s === i) { G(e, (c << 1) + (a ? 1 : 0), 3); ae(e, D, O) } else { G(e, (h << 1) + (a ? 1 : 0), 3); oe(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, o + 1); ae(e, e.dyn_ltree, e.dyn_dtree) } J(e); if (a) { q(e) } } function ve(e, r, t) { e.pending_buf[e.d_buf + e.last_lit * 2] = r >>> 8 & 255; e.pending_buf[e.d_buf + e.last_lit * 2 + 1] = r & 255; e.pending_buf[e.l_buf + e.last_lit] = t & 255; e.last_lit++; if (r === 0) { e.dyn_ltree[t * 2]++ } else { e.matches++; r--; e.dyn_ltree[(P[t] + v + 1) * 2]++; e.dyn_dtree[z(r) * 2]++ } return e.last_lit === e.lit_bufsize - 1 } t._tr_init = he; t._tr_stored_block = ue; t._tr_flush_block = pe; t._tr_tally = ve; t._tr_align = de } , { "../utils/common": 27 }], 39: [function(e, r, t) { "use strict"; function a() { 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 } r.exports = a } , {}] }, {}, [9])(9) }); var cptable = { version: "1.14.0" }; cptable[437] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[620] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖܢ٥śƒŹŻóÓńŃźż¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[737] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ " , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[850] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[852] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ " , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[857] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ " , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[861] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[865] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[866] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ " , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[874] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[895] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ČüéďäĎŤčěĚĹÍľǪÄÁÉžŽôöÓůÚýÖÜŠĽÝŘťáíóúňŇŮÔšřŕŔ¼§«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[932] = function() { var e = [], r = {}, t = [], a; t[0] = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~���������������������������������。「」、・ヲァィゥェォャュョッーアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワン゙゚��������������������������������".split(""); for (a = 0; a != t[0].length; ++a) if (t[0][a].charCodeAt(0) !== 65533) { r[t[0][a]] = 0 + a; e[0 + a] = t[0][a] } t[129] = "���������������������������������������������������������������� 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈〉《》「」『』【】+-±×�÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓�����������∈∋⊆⊇⊂⊃∪∩��������∧∨¬⇒⇔∀∃�����������∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬�������ʼn♯♭♪†‡¶����◯���".split(""); for (a = 0; a != t[129].length; ++a) if (t[129][a].charCodeAt(0) !== 65533) { r[t[129][a]] = 33024 + a; e[33024 + a] = t[129][a] } t[130] = "�������������������������������������������������������������������������������0123456789�������ABCDEFGHIJKLMNOPQRSTUVWXYZ�������abcdefghijklmnopqrstuvwxyz����ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん��������������".split(""); for (a = 0; a != t[130].length; ++a) if (t[130][a].charCodeAt(0) !== 65533) { r[t[130][a]] = 33280 + a; e[33280 + a] = t[130][a] } t[131] = "����������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミ�ムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ��������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�����������������������������������������".split(""); for (a = 0; a != t[131].length; ++a) if (t[131][a].charCodeAt(0) !== 65533) { r[t[131][a]] = 33536 + a; e[33536 + a] = t[131][a] } t[132] = "����������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмн�опрстуфхцчшщъыьэюя�������������─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂�����������������������������������������������������������������".split(""); for (a = 0; a != t[132].length; ++a) if (t[132][a].charCodeAt(0) !== 65533) { r[t[132][a]] = 33792 + a; e[33792 + a] = t[132][a] } t[135] = "����������������������������������������������������������������①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ�㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡��������㍻�〝〟№㏍℡㊤㊥㊦㊧㊨㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪���������������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[135].length; ++a) if (t[135][a].charCodeAt(0) !== 65533) { r[t[135][a]] = 34560 + a; e[34560 + a] = t[135][a] } t[136] = "���������������������������������������������������������������������������������������������������������������������������������������������������������������亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭���".split(""); for (a = 0; a != t[136].length; ++a) if (t[136][a].charCodeAt(0) !== 65533) { r[t[136][a]] = 34816 + a; e[34816 + a] = t[136][a] } t[137] = "����������������������������������������������������������������院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円�園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改���".split(""); for (a = 0; a != t[137].length; ++a) if (t[137][a].charCodeAt(0) !== 65533) { r[t[137][a]] = 35072 + a; e[35072 + a] = t[137][a] } t[138] = "����������������������������������������������������������������魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫�橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄���".split(""); for (a = 0; a != t[138].length; ++a) if (t[138][a].charCodeAt(0) !== 65533) { r[t[138][a]] = 35328 + a; e[35328 + a] = t[138][a] } t[139] = "����������������������������������������������������������������機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救�朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈���".split(""); for (a = 0; a != t[139].length; ++a) if (t[139][a].charCodeAt(0) !== 65533) { r[t[139][a]] = 35584 + a; e[35584 + a] = t[139][a] } t[140] = "����������������������������������������������������������������掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨�劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向���".split(""); for (a = 0; a != t[140].length; ++a) if (t[140][a].charCodeAt(0) !== 65533) { r[t[140][a]] = 35840 + a; e[35840 + a] = t[140][a] } t[141] = "����������������������������������������������������������������后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降�項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷���".split(""); for (a = 0; a != t[141].length; ++a) if (t[141][a].charCodeAt(0) !== 65533) { r[t[141][a]] = 36096 + a; e[36096 + a] = t[141][a] } t[142] = "����������������������������������������������������������������察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止�死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周���".split(""); for (a = 0; a != t[142].length; ++a) if (t[142][a].charCodeAt(0) !== 65533) { r[t[142][a]] = 36352 + a; e[36352 + a] = t[142][a] } t[143] = "����������������������������������������������������������������宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳�準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾���".split(""); for (a = 0; a != t[143].length; ++a) if (t[143][a].charCodeAt(0) !== 65533) { r[t[143][a]] = 36608 + a; e[36608 + a] = t[143][a] } t[144] = "����������������������������������������������������������������拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨�逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線���".split(""); for (a = 0; a != t[144].length; ++a) if (t[144][a].charCodeAt(0) !== 65533) { r[t[144][a]] = 36864 + a; e[36864 + a] = t[144][a] } t[145] = "����������������������������������������������������������������繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻�操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只���".split(""); for (a = 0; a != t[145].length; ++a) if (t[145][a].charCodeAt(0) !== 65533) { r[t[145][a]] = 37120 + a; e[37120 + a] = t[145][a] } t[146] = "����������������������������������������������������������������叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄�逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓���".split(""); for (a = 0; a != t[146].length; ++a) if (t[146][a].charCodeAt(0) !== 65533) { r[t[146][a]] = 37376 + a; e[37376 + a] = t[146][a] } t[147] = "����������������������������������������������������������������邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬�凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入���".split(""); for (a = 0; a != t[147].length; ++a) if (t[147][a].charCodeAt(0) !== 65533) { r[t[147][a]] = 37632 + a; e[37632 + a] = t[147][a] } t[148] = "����������������������������������������������������������������如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅�楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美���".split(""); for (a = 0; a != t[148].length; ++a) if (t[148][a].charCodeAt(0) !== 65533) { r[t[148][a]] = 37888 + a; e[37888 + a] = t[148][a] } t[149] = "����������������������������������������������������������������鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷�斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋���".split(""); for (a = 0; a != t[149].length; ++a) if (t[149][a].charCodeAt(0) !== 65533) { r[t[149][a]] = 38144 + a; e[38144 + a] = t[149][a] } t[150] = "����������������������������������������������������������������法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆�摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒���".split(""); for (a = 0; a != t[150].length; ++a) if (t[150][a].charCodeAt(0) !== 65533) { r[t[150][a]] = 38400 + a; e[38400 + a] = t[150][a] } t[151] = "����������������������������������������������������������������諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲�沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯���".split(""); for (a = 0; a != t[151].length; ++a) if (t[151][a].charCodeAt(0) !== 65533) { r[t[151][a]] = 38656 + a; e[38656 + a] = t[151][a] } t[152] = "����������������������������������������������������������������蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕��������������������������������������������弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲���".split(""); for (a = 0; a != t[152].length; ++a) if (t[152][a].charCodeAt(0) !== 65533) { r[t[152][a]] = 38912 + a; e[38912 + a] = t[152][a] } t[153] = "����������������������������������������������������������������僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭�凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨���".split(""); for (a = 0; a != t[153].length; ++a) if (t[153][a].charCodeAt(0) !== 65533) { r[t[153][a]] = 39168 + a; e[39168 + a] = t[153][a] } t[154] = "����������������������������������������������������������������咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸�噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩���".split(""); for (a = 0; a != t[154].length; ++a) if (t[154][a].charCodeAt(0) !== 65533) { r[t[154][a]] = 39424 + a; e[39424 + a] = t[154][a] } t[155] = "����������������������������������������������������������������奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀�它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏���".split(""); for (a = 0; a != t[155].length; ++a) if (t[155][a].charCodeAt(0) !== 65533) { r[t[155][a]] = 39680 + a; e[39680 + a] = t[155][a] } t[156] = "����������������������������������������������������������������廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠�怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛���".split(""); for (a = 0; a != t[156].length; ++a) if (t[156][a].charCodeAt(0) !== 65533) { r[t[156][a]] = 39936 + a; e[39936 + a] = t[156][a] } t[157] = "����������������������������������������������������������������戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫�捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼���".split(""); for (a = 0; a != t[157].length; ++a) if (t[157][a].charCodeAt(0) !== 65533) { r[t[157][a]] = 40192 + a; e[40192 + a] = t[157][a] } t[158] = "����������������������������������������������������������������曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎�梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣���".split(""); for (a = 0; a != t[158].length; ++a) if (t[158][a].charCodeAt(0) !== 65533) { r[t[158][a]] = 40448 + a; e[40448 + a] = t[158][a] } t[159] = "����������������������������������������������������������������檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯�麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌���".split(""); for (a = 0; a != t[159].length; ++a) if (t[159][a].charCodeAt(0) !== 65533) { r[t[159][a]] = 40704 + a; e[40704 + a] = t[159][a] } t[224] = "����������������������������������������������������������������漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝�烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱���".split(""); for (a = 0; a != t[224].length; ++a) if (t[224][a].charCodeAt(0) !== 65533) { r[t[224][a]] = 57344 + a; e[57344 + a] = t[224][a] } t[225] = "����������������������������������������������������������������瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿�痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬���".split(""); for (a = 0; a != t[225].length; ++a) if (t[225][a].charCodeAt(0) !== 65533) { r[t[225][a]] = 57600 + a; e[57600 + a] = t[225][a] } t[226] = "����������������������������������������������������������������磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰�窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆���".split(""); for (a = 0; a != t[226].length; ++a) if (t[226][a].charCodeAt(0) !== 65533) { r[t[226][a]] = 57856 + a; e[57856 + a] = t[226][a] } t[227] = "����������������������������������������������������������������紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷�縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋���".split(""); for (a = 0; a != t[227].length; ++a) if (t[227][a].charCodeAt(0) !== 65533) { r[t[227][a]] = 58112 + a; e[58112 + a] = t[227][a] } t[228] = "����������������������������������������������������������������隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤�艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈���".split(""); for (a = 0; a != t[228].length; ++a) if (t[228][a].charCodeAt(0) !== 65533) { r[t[228][a]] = 58368 + a; e[58368 + a] = t[228][a] } t[229] = "����������������������������������������������������������������蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬�蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞���".split(""); for (a = 0; a != t[229].length; ++a) if (t[229][a].charCodeAt(0) !== 65533) { r[t[229][a]] = 58624 + a; e[58624 + a] = t[229][a] } t[230] = "����������������������������������������������������������������襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧�諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊���".split(""); for (a = 0; a != t[230].length; ++a) if (t[230][a].charCodeAt(0) !== 65533) { r[t[230][a]] = 58880 + a; e[58880 + a] = t[230][a] } t[231] = "����������������������������������������������������������������蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜�轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮���".split(""); for (a = 0; a != t[231].length; ++a) if (t[231][a].charCodeAt(0) !== 65533) { r[t[231][a]] = 59136 + a; e[59136 + a] = t[231][a] } t[232] = "����������������������������������������������������������������錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙�閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰���".split(""); for (a = 0; a != t[232].length; ++a) if (t[232][a].charCodeAt(0) !== 65533) { r[t[232][a]] = 59392 + a; e[59392 + a] = t[232][a] } t[233] = "����������������������������������������������������������������顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃�騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈���".split(""); for (a = 0; a != t[233].length; ++a) if (t[233][a].charCodeAt(0) !== 65533) { r[t[233][a]] = 59648 + a; e[59648 + a] = t[233][a] } t[234] = "����������������������������������������������������������������鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯�黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙�������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[234].length; ++a) if (t[234][a].charCodeAt(0) !== 65533) { r[t[234][a]] = 59904 + a; e[59904 + a] = t[234][a] } t[237] = "����������������������������������������������������������������纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏�塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱���".split(""); for (a = 0; a != t[237].length; ++a) if (t[237][a].charCodeAt(0) !== 65533) { r[t[237][a]] = 60672 + a; e[60672 + a] = t[237][a] } t[238] = "����������������������������������������������������������������犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙�蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑��ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ¬¦'"���".split(""); for (a = 0; a != t[238].length; ++a) if (t[238][a].charCodeAt(0) !== 65533) { r[t[238][a]] = 60928 + a; e[60928 + a] = t[238][a] } t[250] = "����������������������������������������������������������������ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊�兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯���".split(""); for (a = 0; a != t[250].length; ++a) if (t[250][a].charCodeAt(0) !== 65533) { r[t[250][a]] = 64e3 + a; e[64e3 + a] = t[250][a] } t[251] = "����������������������������������������������������������������涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神�祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙���".split(""); for (a = 0; a != t[251].length; ++a) if (t[251][a].charCodeAt(0) !== 65533) { r[t[251][a]] = 64256 + a; e[64256 + a] = t[251][a] } t[252] = "����������������������������������������������������������������髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[252].length; ++a) if (t[252][a].charCodeAt(0) !== 65533) { r[t[252][a]] = 64512 + a; e[64512 + a] = t[252][a] } return { enc: r, dec: e } }(); cptable[936] = function() { var e = [], r = {}, t = [], a; t[0] = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�������������������������������������������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[0].length; ++a) if (t[0][a].charCodeAt(0) !== 65533) { r[t[0][a]] = 0 + a; e[0 + a] = t[0][a] } t[129] = "����������������������������������������������������������������丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪乫乬乭乮乯乲乴乵乶乷乸乹乺乻乼乽乿亀亁亂亃亄亅亇亊�亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂伃伄伅伆伇伈伋伌伒伓伔伕伖伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾伿佀佁佂佄佅佇佈佉佊佋佌佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢�".split(""); for (a = 0; a != t[129].length; ++a) if (t[129][a].charCodeAt(0) !== 65533) { r[t[129][a]] = 33024 + a; e[33024 + a] = t[129][a] } t[130] = "����������������������������������������������������������������侤侫侭侰侱侲侳侴侶侷侸侹侺侻侼侽侾俀俁係俆俇俈俉俋俌俍俒俓俔俕俖俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿倀倁倂倃倄倅倆倇倈倉倊�個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯倰倱倲倳倴倵倶倷倸倹倻倽倿偀偁偂偄偅偆偉偊偋偍偐偑偒偓偔偖偗偘偙偛偝偞偟偠偡偢偣偤偦偧偨偩偪偫偭偮偯偰偱偲偳側偵偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎傏傐傑傒傓傔傕傖傗傘備傚傛傜傝傞傟傠傡傢傤傦傪傫傭傮傯傰傱傳傴債傶傷傸傹傼�".split(""); for (a = 0; a != t[130].length; ++a) if (t[130][a].charCodeAt(0) !== 65533) { r[t[130][a]] = 33280 + a; e[33280 + a] = t[130][a] } t[131] = "����������������������������������������������������������������傽傾傿僀僁僂僃僄僅僆僇僈僉僊僋僌働僎僐僑僒僓僔僕僗僘僙僛僜僝僞僟僠僡僢僣僤僥僨僩僪僫僯僰僱僲僴僶僷僸價僺僼僽僾僿儀儁儂儃億儅儈�儉儊儌儍儎儏儐儑儓儔儕儖儗儘儙儚儛儜儝儞償儠儢儣儤儥儦儧儨儩優儫儬儭儮儯儰儱儲儳儴儵儶儷儸儹儺儻儼儽儾兂兇兊兌兎兏児兒兓兗兘兙兛兝兞兟兠兡兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦冧冨冩冪冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒凓凔凕凖凗�".split(""); for (a = 0; a != t[131].length; ++a) if (t[131][a].charCodeAt(0) !== 65533) { r[t[131][a]] = 33536 + a; e[33536 + a] = t[131][a] } t[132] = "����������������������������������������������������������������凘凙凚凜凞凟凢凣凥処凧凨凩凪凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄剅剆則剈剉剋剎剏剒剓剕剗剘�剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳剴創剶剷剸剹剺剻剼剾劀劃劄劅劆劇劉劊劋劌劍劎劏劑劒劔劕劖劗劘劙劚劜劤劥劦劧劮劯劰労劵劶劷劸効劺劻劼劽勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務勚勛勜勝勞勠勡勢勣勥勦勧勨勩勪勫勬勭勮勯勱勲勳勴勵勶勷勸勻勼勽匁匂匃匄匇匉匊匋匌匎�".split(""); for (a = 0; a != t[132].length; ++a) if (t[132][a].charCodeAt(0) !== 65533) { r[t[132][a]] = 33792 + a; e[33792 + a] = t[132][a] } t[133] = "����������������������������������������������������������������匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯匰匱匲匳匴匵匶匷匸匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏�厐厑厒厓厔厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯厰厱厲厳厴厵厷厸厹厺厼厽厾叀參叄叅叆叇収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝呞呟呠呡呣呥呧呩呪呫呬呭呮呯呰呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡�".split(""); for (a = 0; a != t[133].length; ++a) if (t[133][a].charCodeAt(0) !== 65533) { r[t[133][a]] = 34048 + a; e[34048 + a] = t[133][a] } t[134] = "����������������������������������������������������������������咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠員哢哣哤哫哬哯哰哱哴哵哶哷哸哹哻哾唀唂唃唄唅唈唊唋唌唍唎唒唓唕唖唗唘唙唚唜唝唞唟唡唥唦�唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋啌啍啎問啑啒啓啔啗啘啙啚啛啝啞啟啠啢啣啨啩啫啯啰啱啲啳啴啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠喡喢喣喤喥喦喨喩喪喫喬喭單喯喰喲喴営喸喺喼喿嗀嗁嗂嗃嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗嗘嗙嗚嗛嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸嗹嗺嗻嗼嗿嘂嘃嘄嘅�".split(""); for (a = 0; a != t[134].length; ++a) if (t[134][a].charCodeAt(0) !== 65533) { r[t[134][a]] = 34304 + a; e[34304 + a] = t[134][a] } t[135] = "����������������������������������������������������������������嘆嘇嘊嘋嘍嘐嘑嘒嘓嘔嘕嘖嘗嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀噁噂噃噄噅噆噇噈噉噊噋噏噐噑噒噓噕噖噚噛噝噞噟噠噡�噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽噾噿嚀嚁嚂嚃嚄嚇嚈嚉嚊嚋嚌嚍嚐嚑嚒嚔嚕嚖嚗嚘嚙嚚嚛嚜嚝嚞嚟嚠嚡嚢嚤嚥嚦嚧嚨嚩嚪嚫嚬嚭嚮嚰嚱嚲嚳嚴嚵嚶嚸嚹嚺嚻嚽嚾嚿囀囁囂囃囄囅囆囇囈囉囋囌囍囎囏囐囑囒囓囕囖囘囙囜団囥囦囧囨囩囪囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國圌圍圎圏圐圑�".split(""); for (a = 0; a != t[135].length; ++a) if (t[135][a].charCodeAt(0) !== 65533) { r[t[135][a]] = 34560 + a; e[34560 + a] = t[135][a] } t[136] = "����������������������������������������������������������������園圓圔圕圖圗團圙圚圛圝圞圠圡圢圤圥圦圧圫圱圲圴圵圶圷圸圼圽圿坁坃坄坅坆坈坉坋坒坓坔坕坖坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀�垁垇垈垉垊垍垎垏垐垑垔垕垖垗垘垙垚垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹垺垻垼垽垾垿埀埁埄埅埆埇埈埉埊埌埍埐埑埓埖埗埛埜埞埡埢埣埥埦埧埨埩埪埫埬埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥堦堧堨堩堫堬堭堮堯報堲堳場堶堷堸堹堺堻堼堽�".split(""); for (a = 0; a != t[136].length; ++a) if (t[136][a].charCodeAt(0) !== 65533) { r[t[136][a]] = 34816 + a; e[34816 + a] = t[136][a] } t[137] = "����������������������������������������������������������������堾堿塀塁塂塃塅塆塇塈塉塊塋塎塏塐塒塓塕塖塗塙塚塛塜塝塟塠塡塢塣塤塦塧塨塩塪塭塮塯塰塱塲塳塴塵塶塷塸塹塺塻塼塽塿墂墄墆墇墈墊墋墌�墍墎墏墐墑墔墕墖増墘墛墜墝墠墡墢墣墤墥墦墧墪墫墬墭墮墯墰墱墲墳墴墵墶墷墸墹墺墻墽墾墿壀壂壃壄壆壇壈壉壊壋壌壍壎壏壐壒壓壔壖壗壘壙壚壛壜壝壞壟壠壡壢壣壥壦壧壨壩壪壭壯壱売壴壵壷壸壺壻壼壽壾壿夀夁夃夅夆夈変夊夋夌夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻�".split(""); for (a = 0; a != t[137].length; ++a) if (t[137][a].charCodeAt(0) !== 65533) { r[t[137][a]] = 35072 + a; e[35072 + a] = t[137][a] } t[138] = "����������������������������������������������������������������夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛奜奝奞奟奡奣奤奦奧奨奩奪奫奬奭奮奯奰奱奲奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦�妧妬妭妰妱妳妴妵妶妷妸妺妼妽妿姀姁姂姃姄姅姇姈姉姌姍姎姏姕姖姙姛姞姟姠姡姢姤姦姧姩姪姫姭姮姯姰姱姲姳姴姵姶姷姸姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪娫娬娭娮娯娰娳娵娷娸娹娺娻娽娾娿婁婂婃婄婅婇婈婋婌婍婎婏婐婑婒婓婔婖婗婘婙婛婜婝婞婟婠�".split(""); for (a = 0; a != t[138].length; ++a) if (t[138][a].charCodeAt(0) !== 65533) { r[t[138][a]] = 35328 + a; e[35328 + a] = t[138][a] } t[139] = "����������������������������������������������������������������婡婣婤婥婦婨婩婫婬婭婮婯婰婱婲婳婸婹婻婼婽婾媀媁媂媃媄媅媆媇媈媉媊媋媌媍媎媏媐媑媓媔媕媖媗媘媙媜媝媞媟媠媡媢媣媤媥媦媧媨媩媫媬�媭媮媯媰媱媴媶媷媹媺媻媼媽媿嫀嫃嫄嫅嫆嫇嫈嫊嫋嫍嫎嫏嫐嫑嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬嫭嫮嫯嫰嫲嫳嫴嫵嫶嫷嫸嫹嫺嫻嫼嫽嫾嫿嬀嬁嬂嬃嬄嬅嬆嬇嬈嬊嬋嬌嬍嬎嬏嬐嬑嬒嬓嬔嬕嬘嬙嬚嬛嬜嬝嬞嬟嬠嬡嬢嬣嬤嬥嬦嬧嬨嬩嬪嬫嬬嬭嬮嬯嬰嬱嬳嬵嬶嬸嬹嬺嬻嬼嬽嬾嬿孁孂孃孄孅孆孇�".split(""); for (a = 0; a != t[139].length; ++a) if (t[139][a].charCodeAt(0) !== 65533) { r[t[139][a]] = 35584 + a; e[35584 + a] = t[139][a] } t[140] = "����������������������������������������������������������������孈孉孊孋孌孍孎孏孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏�寑寔寕寖寗寘寙寚寛寜寠寢寣實寧審寪寫寬寭寯寱寲寳寴寵寶寷寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧屨屩屪屫屬屭屰屲屳屴屵屶屷屸屻屼屽屾岀岃岄岅岆岇岉岊岋岎岏岒岓岕岝岞岟岠岡岤岥岦岧岨�".split(""); for (a = 0; a != t[140].length; ++a) if (t[140][a].charCodeAt(0) !== 65533) { r[t[140][a]] = 35840 + a; e[35840 + a] = t[140][a] } t[141] = "����������������������������������������������������������������岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅峆峇峈峉峊峌峍峎峏峐峑峓峔峕峖峗峘峚峛峜峝峞峟峠峢峣峧峩峫峬峮峯峱峲峳峴峵島峷峸峹峺峼峽峾峿崀�崁崄崅崈崉崊崋崌崍崏崐崑崒崓崕崗崘崙崚崜崝崟崠崡崢崣崥崨崪崫崬崯崰崱崲崳崵崶崷崸崹崺崻崼崿嵀嵁嵂嵃嵄嵅嵆嵈嵉嵍嵎嵏嵐嵑嵒嵓嵔嵕嵖嵗嵙嵚嵜嵞嵟嵠嵡嵢嵣嵤嵥嵦嵧嵨嵪嵭嵮嵰嵱嵲嵳嵵嵶嵷嵸嵹嵺嵻嵼嵽嵾嵿嶀嶁嶃嶄嶅嶆嶇嶈嶉嶊嶋嶌嶍嶎嶏嶐嶑嶒嶓嶔嶕嶖嶗嶘嶚嶛嶜嶞嶟嶠�".split(""); for (a = 0; a != t[141].length; ++a) if (t[141][a].charCodeAt(0) !== 65533) { r[t[141][a]] = 36096 + a; e[36096 + a] = t[141][a] } t[142] = "����������������������������������������������������������������嶡嶢嶣嶤嶥嶦嶧嶨嶩嶪嶫嶬嶭嶮嶯嶰嶱嶲嶳嶴嶵嶶嶸嶹嶺嶻嶼嶽嶾嶿巀巁巂巃巄巆巇巈巉巊巋巌巎巏巐巑巒巓巔巕巖巗巘巙巚巜巟巠巣巤巪巬巭�巰巵巶巸巹巺巻巼巿帀帄帇帉帊帋帍帎帒帓帗帞帟帠帡帢帣帤帥帨帩帪師帬帯帰帲帳帴帵帶帹帺帾帿幀幁幃幆幇幈幉幊幋幍幎幏幐幑幒幓幖幗幘幙幚幜幝幟幠幣幤幥幦幧幨幩幪幫幬幭幮幯幰幱幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨庩庪庫庬庮庯庰庱庲庴庺庻庼庽庿廀廁廂廃廄廅�".split(""); for (a = 0; a != t[142].length; ++a) if (t[142][a].charCodeAt(0) !== 65533) { r[t[142][a]] = 36352 + a; e[36352 + a] = t[142][a] } t[143] = "����������������������������������������������������������������廆廇廈廋廌廍廎廏廐廔廕廗廘廙廚廜廝廞廟廠廡廢廣廤廥廦廧廩廫廬廭廮廯廰廱廲廳廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤�弨弫弬弮弰弲弳弴張弶強弸弻弽弾弿彁彂彃彄彅彆彇彈彉彊彋彌彍彎彏彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢徣徤徥徦徧復徫徬徯徰徱徲徳徴徶徸徹徺徻徾徿忀忁忂忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇�".split(""); for (a = 0; a != t[143].length; ++a) if (t[143][a].charCodeAt(0) !== 65533) { r[t[143][a]] = 36608 + a; e[36608 + a] = t[143][a] } t[144] = "����������������������������������������������������������������怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰怱怲怳怴怶怷怸怹怺怽怾恀恄恅恆恇恈恉恊恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀�悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽悾悿惀惁惂惃惄惇惈惉惌惍惎惏惐惒惓惔惖惗惙惛惞惡惢惣惤惥惪惱惲惵惷惸惻惼惽惾惿愂愃愄愅愇愊愋愌愐愑愒愓愔愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬愭愮愯愰愱愲愳愴愵愶愷愸愹愺愻愼愽愾慀慁慂慃慄慅慆�".split(""); for (a = 0; a != t[144].length; ++a) if (t[144][a].charCodeAt(0) !== 65533) { r[t[144][a]] = 36864 + a; e[36864 + a] = t[144][a] } t[145] = "����������������������������������������������������������������慇慉態慍慏慐慒慓慔慖慗慘慙慚慛慜慞慟慠慡慣慤慥慦慩慪慫慬慭慮慯慱慲慳慴慶慸慹慺慻慼慽慾慿憀憁憂憃憄憅憆憇憈憉憊憌憍憏憐憑憒憓憕�憖憗憘憙憚憛憜憞憟憠憡憢憣憤憥憦憪憫憭憮憯憰憱憲憳憴憵憶憸憹憺憻憼憽憿懀懁懃懄懅懆懇應懌懍懎懏懐懓懕懖懗懘懙懚懛懜懝懞懟懠懡懢懣懤懥懧懨懩懪懫懬懭懮懯懰懱懲懳懴懶懷懸懹懺懻懼懽懾戀戁戂戃戄戅戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸戹戺戻戼扂扄扅扆扊�".split(""); for (a = 0; a != t[145].length; ++a) if (t[145][a].charCodeAt(0) !== 65533) { r[t[145][a]] = 37120 + a; e[37120 + a] = t[145][a] } t[146] = "����������������������������������������������������������������扏扐払扖扗扙扚扜扝扞扟扠扡扢扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋抌抍抎抏抐抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁�拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳挴挵挶挷挸挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖捗捘捙捚捛捜捝捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙掚掛掜掝掞掟採掤掦掫掯掱掲掵掶掹掻掽掿揀�".split(""); for (a = 0; a != t[146].length; ++a) if (t[146][a].charCodeAt(0) !== 65533) { r[t[146][a]] = 37376 + a; e[37376 + a] = t[146][a] } t[147] = "����������������������������������������������������������������揁揂揃揅揇揈揊揋揌揑揓揔揕揗揘揙揚換揜揝揟揢揤揥揦揧揨揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆搇搈搉搊損搎搑搒搕搖搗搘搙搚搝搟搢搣搤�搥搧搨搩搫搮搯搰搱搲搳搵搶搷搸搹搻搼搾摀摂摃摉摋摌摍摎摏摐摑摓摕摖摗摙摚摛摜摝摟摠摡摢摣摤摥摦摨摪摫摬摮摯摰摱摲摳摴摵摶摷摻摼摽摾摿撀撁撃撆撈撉撊撋撌撍撎撏撐撓撔撗撘撚撛撜撝撟撠撡撢撣撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆擇擈擉擊擋擌擏擑擓擔擕擖擙據�".split(""); for (a = 0; a != t[147].length; ++a) if (t[147][a].charCodeAt(0) !== 65533) { r[t[147][a]] = 37632 + a; e[37632 + a] = t[147][a] } t[148] = "����������������������������������������������������������������擛擜擝擟擠擡擣擥擧擨擩擪擫擬擭擮擯擰擱擲擳擴擵擶擷擸擹擺擻擼擽擾擿攁攂攃攄攅攆攇攈攊攋攌攍攎攏攐攑攓攔攕攖攗攙攚攛攜攝攞攟攠攡�攢攣攤攦攧攨攩攪攬攭攰攱攲攳攷攺攼攽敀敁敂敃敄敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數敹敺敻敼敽敾敿斀斁斂斃斄斅斆斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱斲斳斴斵斶斷斸斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘旙旚旛旜旝旞旟旡旣旤旪旫�".split(""); for (a = 0; a != t[148].length; ++a) if (t[148][a].charCodeAt(0) !== 65533) { r[t[148][a]] = 37888 + a; e[37888 + a] = t[148][a] } t[149] = "����������������������������������������������������������������旲旳旴旵旸旹旻旼旽旾旿昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷昸昹昺昻昽昿晀時晄晅晆晇晈晉晊晍晎晐晑晘�晙晛晜晝晞晠晢晣晥晧晩晪晫晬晭晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘暙暚暛暜暞暟暠暡暢暣暤暥暦暩暪暫暬暭暯暰暱暲暳暵暶暷暸暺暻暼暽暿曀曁曂曃曄曅曆曇曈曉曊曋曌曍曎曏曐曑曒曓曔曕曖曗曘曚曞曟曠曡曢曣曤曥曧曨曪曫曬曭曮曯曱曵曶書曺曻曽朁朂會�".split(""); for (a = 0; a != t[149].length; ++a) if (t[149][a].charCodeAt(0) !== 65533) { r[t[149][a]] = 38144 + a; e[38144 + a] = t[149][a] } t[150] = "����������������������������������������������������������������朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠朡朢朣朤朥朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗杘杙杚杛杝杢杣杤杦杧杫杬杮東杴杶�杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹枺枻枼枽枾枿柀柂柅柆柇柈柉柊柋柌柍柎柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵柶柷柸柹柺査柼柾栁栂栃栄栆栍栐栒栔栕栘栙栚栛栜栞栟栠栢栣栤栥栦栧栨栫栬栭栮栯栰栱栴栵栶栺栻栿桇桋桍桏桒桖桗桘桙桚桛�".split(""); for (a = 0; a != t[150].length; ++a) if (t[150][a].charCodeAt(0) !== 65533) { r[t[150][a]] = 38400 + a; e[38400 + a] = t[150][a] } t[151] = "����������������������������������������������������������������桜桝桞桟桪桬桭桮桯桰桱桲桳桵桸桹桺桻桼桽桾桿梀梂梄梇梈梉梊梋梌梍梎梐梑梒梔梕梖梘梙梚梛梜條梞梟梠梡梣梤梥梩梪梫梬梮梱梲梴梶梷梸�梹梺梻梼梽梾梿棁棃棄棅棆棇棈棊棌棎棏棐棑棓棔棖棗棙棛棜棝棞棟棡棢棤棥棦棧棨棩棪棫棬棭棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆椇椈椉椊椌椏椑椓椔椕椖椗椘椙椚椛検椝椞椡椢椣椥椦椧椨椩椪椫椬椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃楄楅楆楇楈楉楊楋楌楍楎楏楐楑楒楓楕楖楘楙楛楜楟�".split(""); for (a = 0; a != t[151].length; ++a) if (t[151][a].charCodeAt(0) !== 65533) { r[t[151][a]] = 38656 + a; e[38656 + a] = t[151][a] } t[152] = "����������������������������������������������������������������楡楢楤楥楧楨楩楪楬業楯楰楲楳楴極楶楺楻楽楾楿榁榃榅榊榋榌榎榏榐榑榒榓榖榗榙榚榝榞榟榠榡榢榣榤榥榦榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽�榾榿槀槂槃槄槅槆槇槈槉構槍槏槑槒槓槕槖槗様槙槚槜槝槞槡槢槣槤槥槦槧槨槩槪槫槬槮槯槰槱槳槴槵槶槷槸槹槺槻槼槾樀樁樂樃樄樅樆樇樈樉樋樌樍樎樏樐樑樒樓樔樕樖標樚樛樜樝樞樠樢樣樤樥樦樧権樫樬樭樮樰樲樳樴樶樷樸樹樺樻樼樿橀橁橂橃橅橆橈橉橊橋橌橍橎橏橑橒橓橔橕橖橗橚�".split(""); for (a = 0; a != t[152].length; ++a) if (t[152][a].charCodeAt(0) !== 65533) { r[t[152][a]] = 38912 + a; e[38912 + a] = t[152][a] } t[153] = "����������������������������������������������������������������橜橝橞機橠橢橣橤橦橧橨橩橪橫橬橭橮橯橰橲橳橴橵橶橷橸橺橻橽橾橿檁檂檃檅檆檇檈檉檊檋檌檍檏檒檓檔檕檖檘檙檚檛檜檝檞檟檡檢檣檤檥檦�檧檨檪檭檮檯檰檱檲檳檴檵檶檷檸檹檺檻檼檽檾檿櫀櫁櫂櫃櫄櫅櫆櫇櫈櫉櫊櫋櫌櫍櫎櫏櫐櫑櫒櫓櫔櫕櫖櫗櫘櫙櫚櫛櫜櫝櫞櫟櫠櫡櫢櫣櫤櫥櫦櫧櫨櫩櫪櫫櫬櫭櫮櫯櫰櫱櫲櫳櫴櫵櫶櫷櫸櫹櫺櫻櫼櫽櫾櫿欀欁欂欃欄欅欆欇欈欉權欋欌欍欎欏欐欑欒欓欔欕欖欗欘欙欚欛欜欝欞欟欥欦欨欩欪欫欬欭欮�".split(""); for (a = 0; a != t[153].length; ++a) if (t[153][a].charCodeAt(0) !== 65533) { r[t[153][a]] = 39168 + a; e[39168 + a] = t[153][a] } t[154] = "����������������������������������������������������������������欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍歎歏歐歑歒歓歔歕歖歗歘歚歛歜歝歞歟歠歡歨歩歫歬歭歮歯歰歱歲歳歴歵歶歷歸歺歽歾歿殀殅殈�殌殎殏殐殑殔殕殗殘殙殜殝殞殟殠殢殣殤殥殦殧殨殩殫殬殭殮殯殰殱殲殶殸殹殺殻殼殽殾毀毃毄毆毇毈毉毊毌毎毐毑毘毚毜毝毞毟毠毢毣毤毥毦毧毨毩毬毭毮毰毱毲毴毶毷毸毺毻毼毾毿氀氁氂氃氄氈氉氊氋氌氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋汌汍汎汏汑汒汓汖汘�".split(""); for (a = 0; a != t[154].length; ++a) if (t[154][a].charCodeAt(0) !== 65533) { r[t[154][a]] = 39424 + a; e[39424 + a] = t[154][a] } t[155] = "����������������������������������������������������������������汙汚汢汣汥汦汧汫汬汭汮汯汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘�泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟洠洡洢洣洤洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽浾浿涀涁涃涄涆涇涊涋涍涏涐涒涖涗涘涙涚涜涢涥涬涭涰涱涳涴涶涷涹涺涻涼涽涾淁淂淃淈淉淊�".split(""); for (a = 0; a != t[155].length; ++a) if (t[155][a].charCodeAt(0) !== 65533) { r[t[155][a]] = 39680 + a; e[39680 + a] = t[155][a] } t[156] = "����������������������������������������������������������������淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽淾淿渀渁渂渃渄渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵�渶渷渹渻渼渽渾渿湀湁湂湅湆湇湈湉湊湋湌湏湐湑湒湕湗湙湚湜湝湞湠湡湢湣湤湥湦湧湨湩湪湬湭湯湰湱湲湳湴湵湶湷湸湹湺湻湼湽満溁溂溄溇溈溊溋溌溍溎溑溒溓溔溕準溗溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪滫滬滭滮滯�".split(""); for (a = 0; a != t[156].length; ++a) if (t[156][a].charCodeAt(0) !== 65533) { r[t[156][a]] = 39936 + a; e[39936 + a] = t[156][a] } t[157] = "����������������������������������������������������������������滰滱滲滳滵滶滷滸滺滻滼滽滾滿漀漁漃漄漅漇漈漊漋漌漍漎漐漑漒漖漗漘漙漚漛漜漝漞漟漡漢漣漥漦漧漨漬漮漰漲漴漵漷漸漹漺漻漼漽漿潀潁潂�潃潄潅潈潉潊潌潎潏潐潑潒潓潔潕潖潗潙潚潛潝潟潠潡潣潤潥潧潨潩潪潫潬潯潰潱潳潵潶潷潹潻潽潾潿澀澁澂澃澅澆澇澊澋澏澐澑澒澓澔澕澖澗澘澙澚澛澝澞澟澠澢澣澤澥澦澨澩澪澫澬澭澮澯澰澱澲澴澵澷澸澺澻澼澽澾澿濁濃濄濅濆濇濈濊濋濌濍濎濏濐濓濔濕濖濗濘濙濚濛濜濝濟濢濣濤濥�".split(""); for (a = 0; a != t[157].length; ++a) if (t[157][a].charCodeAt(0) !== 65533) { r[t[157][a]] = 40192 + a; e[40192 + a] = t[157][a] } t[158] = "����������������������������������������������������������������濦濧濨濩濪濫濬濭濰濱濲濳濴濵濶濷濸濹濺濻濼濽濾濿瀀瀁瀂瀃瀄瀅瀆瀇瀈瀉瀊瀋瀌瀍瀎瀏瀐瀒瀓瀔瀕瀖瀗瀘瀙瀜瀝瀞瀟瀠瀡瀢瀤瀥瀦瀧瀨瀩瀪�瀫瀬瀭瀮瀯瀰瀱瀲瀳瀴瀶瀷瀸瀺瀻瀼瀽瀾瀿灀灁灂灃灄灅灆灇灈灉灊灋灍灎灐灑灒灓灔灕灖灗灘灙灚灛灜灝灟灠灡灢灣灤灥灦灧灨灩灪灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞炟炠炡炢炣炤炥炦炧炨炩炪炰炲炴炵炶為炾炿烄烅烆烇烉烋烌烍烎烏烐烑烒烓烔烕烖烗烚�".split(""); for (a = 0; a != t[158].length; ++a) if (t[158][a].charCodeAt(0) !== 65533) { r[t[158][a]] = 40448 + a; e[40448 + a] = t[158][a] } t[159] = "����������������������������������������������������������������烜烝烞烠烡烢烣烥烪烮烰烱烲烳烴烵烶烸烺烻烼烾烿焀焁焂焃焄焅焆焇焈焋焌焍焎焏焑焒焔焗焛焜焝焞焟焠無焢焣焤焥焧焨焩焪焫焬焭焮焲焳焴�焵焷焸焹焺焻焼焽焾焿煀煁煂煃煄煆煇煈煉煋煍煏煐煑煒煓煔煕煖煗煘煙煚煛煝煟煠煡煢煣煥煩煪煫煬煭煯煰煱煴煵煶煷煹煻煼煾煿熀熁熂熃熅熆熇熈熉熋熌熍熎熐熑熒熓熕熖熗熚熛熜熝熞熡熢熣熤熥熦熧熩熪熫熭熮熯熰熱熲熴熶熷熸熺熻熼熽熾熿燀燁燂燄燅燆燇燈燉燊燋燌燍燏燐燑燒燓�".split(""); for (a = 0; a != t[159].length; ++a) if (t[159][a].charCodeAt(0) !== 65533) { r[t[159][a]] = 40704 + a; e[40704 + a] = t[159][a] } t[160] = "����������������������������������������������������������������燖燗燘燙燚燛燜燝燞營燡燢燣燤燦燨燩燪燫燬燭燯燰燱燲燳燴燵燶燷燸燺燻燼燽燾燿爀爁爂爃爄爅爇爈爉爊爋爌爍爎爏爐爑爒爓爔爕爖爗爘爙爚�爛爜爞爟爠爡爢爣爤爥爦爧爩爫爭爮爯爲爳爴爺爼爾牀牁牂牃牄牅牆牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅犆犇犈犉犌犎犐犑犓犔犕犖犗犘犙犚犛犜犝犞犠犡犢犣犤犥犦犧犨犩犪犫犮犱犲犳犵犺犻犼犽犾犿狀狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛�".split(""); for (a = 0; a != t[160].length; ++a) if (t[160][a].charCodeAt(0) !== 65533) { r[t[160][a]] = 40960 + a; e[40960 + a] = t[160][a] } t[161] = "����������������������������������������������������������������������������������������������������������������������������������������������������������������� 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈〉《》「」『』〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓�".split(""); for (a = 0; a != t[161].length; ++a) if (t[161][a].charCodeAt(0) !== 65533) { r[t[161][a]] = 41216 + a; e[41216 + a] = t[161][a] } t[162] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ������⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩��㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩��ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ���".split(""); for (a = 0; a != t[162].length; ++a) if (t[162][a].charCodeAt(0) !== 65533) { r[t[162][a]] = 41472 + a; e[41472 + a] = t[162][a] } t[163] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������!"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} ̄�".split(""); for (a = 0; a != t[163].length; ++a) if (t[163][a].charCodeAt(0) !== 65533) { r[t[163][a]] = 41728 + a; e[41728 + a] = t[163][a] } t[164] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������".split(""); for (a = 0; a != t[164].length; ++a) if (t[164][a].charCodeAt(0) !== 65533) { r[t[164][a]] = 41984 + a; e[41984 + a] = t[164][a] } t[165] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������".split(""); for (a = 0; a != t[165].length; ++a) if (t[165][a].charCodeAt(0) !== 65533) { r[t[165][a]] = 42240 + a; e[42240 + a] = t[165][a] } t[166] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�������︵︶︹︺︿﹀︽︾﹁﹂﹃﹄��︻︼︷︸︱�︳︴����������".split(""); for (a = 0; a != t[166].length; ++a) if (t[166][a].charCodeAt(0) !== 65533) { r[t[166][a]] = 42496 + a; e[42496 + a] = t[166][a] } t[167] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������".split(""); for (a = 0; a != t[167].length; ++a) if (t[167][a].charCodeAt(0) !== 65533) { r[t[167][a]] = 42752 + a; e[42752 + a] = t[167][a] } t[168] = "����������������������������������������������������������������ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═║╒╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡╢╣╤╥╦╧╨╩╪╫╬╭╮╯╰╱╲╳▁▂▃▄▅▆▇�█▉▊▋▌▍▎▏▓▔▕▼▽◢◣◤◥☉⊕〒〝〞�����������āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ�ńň�ɡ����ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ����������������������".split(""); for (a = 0; a != t[168].length; ++a) if (t[168][a].charCodeAt(0) !== 65533) { r[t[168][a]] = 43008 + a; e[43008 + a] = t[168][a] } t[169] = "����������������������������������������������������������������〡〢〣〤〥〦〧〨〩㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦�℡㈱�‐���ー゛゜ヽヾ〆ゝゞ﹉﹊﹋﹌﹍﹎﹏﹐﹑﹒﹔﹕﹖﹗﹙﹚﹛﹜﹝﹞﹟﹠﹡�﹢﹣﹤﹥﹦﹨﹩﹪﹫�������������〇�������������─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋����������������".split(""); for (a = 0; a != t[169].length; ++a) if (t[169][a].charCodeAt(0) !== 65533) { r[t[169][a]] = 43264 + a; e[43264 + a] = t[169][a] } t[170] = "����������������������������������������������������������������狜狝狟狢狣狤狥狦狧狪狫狵狶狹狽狾狿猀猂猄猅猆猇猈猉猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀獁獂獃獄獅獆獇獈�獉獊獋獌獎獏獑獓獔獕獖獘獙獚獛獜獝獞獟獡獢獣獤獥獦獧獨獩獪獫獮獰獱�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[170].length; ++a) if (t[170][a].charCodeAt(0) !== 65533) { r[t[170][a]] = 43520 + a; e[43520 + a] = t[170][a] } t[171] = "����������������������������������������������������������������獲獳獴獵獶獷獸獹獺獻獼獽獿玀玁玂玃玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣玤玥玦玧玨玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃珄珅珆珇�珋珌珎珒珓珔珕珖珗珘珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳珴珵珶珷�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[171].length; ++a) if (t[171][a].charCodeAt(0) !== 65533) { r[t[171][a]] = 43776 + a; e[43776 + a] = t[171][a] } t[172] = "����������������������������������������������������������������珸珹珺珻珼珽現珿琀琁琂琄琇琈琋琌琍琎琑琒琓琔琕琖琗琘琙琜琝琞琟琠琡琣琤琧琩琫琭琯琱琲琷琸琹琺琻琽琾琿瑀瑂瑃瑄瑅瑆瑇瑈瑉瑊瑋瑌瑍�瑎瑏瑐瑑瑒瑓瑔瑖瑘瑝瑠瑡瑢瑣瑤瑥瑦瑧瑨瑩瑪瑫瑬瑮瑯瑱瑲瑳瑴瑵瑸瑹瑺�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[172].length; ++a) if (t[172][a].charCodeAt(0) !== 65533) { r[t[172][a]] = 44032 + a; e[44032 + a] = t[172][a] } t[173] = "����������������������������������������������������������������瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑璒璓璔璕璖璗璘璙璚璛璝璟璠璡璢璣璤璥璦璪璫璬璭璮璯環璱璲璳璴璵璶璷璸璹璻璼璽璾璿瓀瓁瓂瓃瓄瓅瓆瓇�瓈瓉瓊瓋瓌瓍瓎瓏瓐瓑瓓瓔瓕瓖瓗瓘瓙瓚瓛瓝瓟瓡瓥瓧瓨瓩瓪瓫瓬瓭瓰瓱瓲�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[173].length; ++a) if (t[173][a].charCodeAt(0) !== 65533) { r[t[173][a]] = 44288 + a; e[44288 + a] = t[173][a] } t[174] = "����������������������������������������������������������������瓳瓵瓸瓹瓺瓻瓼瓽瓾甀甁甂甃甅甆甇甈甉甊甋甌甎甐甒甔甕甖甗甛甝甞甠甡產産甤甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘�畝畞畟畠畡畢畣畤畧畨畩畫畬畭畮畯異畱畳畵當畷畺畻畼畽畾疀疁疂疄疅疇�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[174].length; ++a) if (t[174][a].charCodeAt(0) !== 65533) { r[t[174][a]] = 44544 + a; e[44544 + a] = t[174][a] } t[175] = "����������������������������������������������������������������疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦疧疨疩疪疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇�瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[175].length; ++a) if (t[175][a].charCodeAt(0) !== 65533) { r[t[175][a]] = 44800 + a; e[44800 + a] = t[175][a] } t[176] = "����������������������������������������������������������������癅癆癇癈癉癊癋癎癏癐癑癒癓癕癗癘癙癚癛癝癟癠癡癢癤癥癦癧癨癩癪癬癭癮癰癱癲癳癴癵癶癷癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛�皜皝皞皟皠皡皢皣皥皦皧皨皩皪皫皬皭皯皰皳皵皶皷皸皹皺皻皼皽皾盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥�".split(""); for (a = 0; a != t[176].length; ++a) if (t[176][a].charCodeAt(0) !== 65533) { r[t[176][a]] = 45056 + a; e[45056 + a] = t[176][a] } t[177] = "����������������������������������������������������������������盄盇盉盋盌盓盕盙盚盜盝盞盠盡盢監盤盦盧盨盩盪盫盬盭盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎眏眐眑眒眓眔眕眖眗眘眛眜眝眞眡眣眤眥眧眪眫�眬眮眰眱眲眳眴眹眻眽眾眿睂睄睅睆睈睉睊睋睌睍睎睏睒睓睔睕睖睗睘睙睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳�".split(""); for (a = 0; a != t[177].length; ++a) if (t[177][a].charCodeAt(0) !== 65533) { r[t[177][a]] = 45312 + a; e[45312 + a] = t[177][a] } t[178] = "����������������������������������������������������������������睝睞睟睠睤睧睩睪睭睮睯睰睱睲睳睴睵睶睷睸睺睻睼瞁瞂瞃瞆瞇瞈瞉瞊瞋瞏瞐瞓瞔瞕瞖瞗瞘瞙瞚瞛瞜瞝瞞瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶瞷瞸瞹瞺�瞼瞾矀矁矂矃矄矅矆矇矈矉矊矋矌矎矏矐矑矒矓矔矕矖矘矙矚矝矞矟矠矡矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖�".split(""); for (a = 0; a != t[178].length; ++a) if (t[178][a].charCodeAt(0) !== 65533) { r[t[178][a]] = 45568 + a; e[45568 + a] = t[178][a] } t[179] = "����������������������������������������������������������������矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃砄砅砆砇砈砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚�硛硜硞硟硠硡硢硣硤硥硦硧硨硩硯硰硱硲硳硴硵硶硸硹硺硻硽硾硿碀碁碂碃场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚�".split(""); for (a = 0; a != t[179].length; ++a) if (t[179][a].charCodeAt(0) !== 65533) { r[t[179][a]] = 45824 + a; e[45824 + a] = t[179][a] } t[180] = "����������������������������������������������������������������碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨碩碪碫碬碭碮碯碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚磛磜磝磞磟磠磡磢磣�磤磥磦磧磩磪磫磭磮磯磰磱磳磵磶磸磹磻磼磽磾磿礀礂礃礄礆礇礈礉礊礋礌础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮�".split(""); for (a = 0; a != t[180].length; ++a) if (t[180][a].charCodeAt(0) !== 65533) { r[t[180][a]] = 46080 + a; e[46080 + a] = t[180][a] } t[181] = "����������������������������������������������������������������礍礎礏礐礑礒礔礕礖礗礘礙礚礛礜礝礟礠礡礢礣礥礦礧礨礩礪礫礬礭礮礯礰礱礲礳礵礶礷礸礹礽礿祂祃祄祅祇祊祋祌祍祎祏祐祑祒祔祕祘祙祡祣�祤祦祩祪祫祬祮祰祱祲祳祴祵祶祹祻祼祽祾祿禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠�".split(""); for (a = 0; a != t[181].length; ++a) if (t[181][a].charCodeAt(0) !== 65533) { r[t[181][a]] = 46336 + a; e[46336 + a] = t[181][a] } t[182] = "����������������������������������������������������������������禓禔禕禖禗禘禙禛禜禝禞禟禠禡禢禣禤禥禦禨禩禪禫禬禭禮禯禰禱禲禴禵禶禷禸禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙秚秛秜秝秞秠秡秢秥秨秪�秬秮秱秲秳秴秵秶秷秹秺秼秾秿稁稄稅稇稈稉稊稌稏稐稑稒稓稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二�".split(""); for (a = 0; a != t[182].length; ++a) if (t[182][a].charCodeAt(0) !== 65533) { r[t[182][a]] = 46592 + a; e[46592 + a] = t[182][a] } t[183] = "����������������������������������������������������������������稝稟稡稢稤稥稦稧稨稩稪稫稬稭種稯稰稱稲稴稵稶稸稺稾穀穁穂穃穄穅穇穈穉穊穋穌積穎穏穐穒穓穔穕穖穘穙穚穛穜穝穞穟穠穡穢穣穤穥穦穧穨�穩穪穫穬穭穮穯穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服�".split(""); for (a = 0; a != t[183].length; ++a) if (t[183][a].charCodeAt(0) !== 65533) { r[t[183][a]] = 46848 + a; e[46848 + a] = t[183][a] } t[184] = "����������������������������������������������������������������窣窤窧窩窪窫窮窯窰窱窲窴窵窶窷窸窹窺窻窼窽窾竀竁竂竃竄竅竆竇竈竉竊竌竍竎竏竐竑竒竓竔竕竗竘竚竛竜竝竡竢竤竧竨竩竪竫竬竮竰竱竲竳�竴竵競竷竸竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹�".split(""); for (a = 0; a != t[184].length; ++a) if (t[184][a].charCodeAt(0) !== 65533) { r[t[184][a]] = 47104 + a; e[47104 + a] = t[184][a] } t[185] = "����������������������������������������������������������������笯笰笲笴笵笶笷笹笻笽笿筀筁筂筃筄筆筈筊筍筎筓筕筗筙筜筞筟筡筣筤筥筦筧筨筩筪筫筬筭筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆箇箈箉箊箋箌箎箏�箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹箺箻箼箽箾箿節篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈�".split(""); for (a = 0; a != t[185].length; ++a) if (t[185][a].charCodeAt(0) !== 65533) { r[t[185][a]] = 47360 + a; e[47360 + a] = t[185][a] } t[186] = "����������������������������������������������������������������篅篈築篊篋篍篎篏篐篒篔篕篖篗篘篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲篳篴篵篶篸篹篺篻篽篿簀簁簂簃簄簅簆簈簉簊簍簎簐簑簒簓簔簕簗簘簙�簚簛簜簝簞簠簡簢簣簤簥簨簩簫簬簭簮簯簰簱簲簳簴簵簶簷簹簺簻簼簽簾籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖�".split(""); for (a = 0; a != t[186].length; ++a) if (t[186][a].charCodeAt(0) !== 65533) { r[t[186][a]] = 47616 + a; e[47616 + a] = t[186][a] } t[187] = "����������������������������������������������������������������籃籄籅籆籇籈籉籊籋籌籎籏籐籑籒籓籔籕籖籗籘籙籚籛籜籝籞籟籠籡籢籣籤籥籦籧籨籩籪籫籬籭籮籯籰籱籲籵籶籷籸籹籺籾籿粀粁粂粃粄粅粆粇�粈粊粋粌粍粎粏粐粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴粵粶粷粸粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕�".split(""); for (a = 0; a != t[187].length; ++a) if (t[187][a].charCodeAt(0) !== 65533) { r[t[187][a]] = 47872 + a; e[47872 + a] = t[187][a] } t[188] = "����������������������������������������������������������������粿糀糂糃糄糆糉糋糎糏糐糑糒糓糔糘糚糛糝糞糡糢糣糤糥糦糧糩糪糫糬糭糮糰糱糲糳糴糵糶糷糹糺糼糽糾糿紀紁紂紃約紅紆紇紈紉紋紌納紎紏紐�紑紒紓純紕紖紗紘紙級紛紜紝紞紟紡紣紤紥紦紨紩紪紬紭紮細紱紲紳紴紵紶肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件�".split(""); for (a = 0; a != t[188].length; ++a) if (t[188][a].charCodeAt(0) !== 65533) { r[t[188][a]] = 48128 + a; e[48128 + a] = t[188][a] } t[189] = "����������������������������������������������������������������紷紸紹紺紻紼紽紾紿絀絁終絃組絅絆絇絈絉絊絋経絍絎絏結絑絒絓絔絕絖絗絘絙絚絛絜絝絞絟絠絡絢絣絤絥給絧絨絩絪絫絬絭絯絰統絲絳絴絵絶�絸絹絺絻絼絽絾絿綀綁綂綃綄綅綆綇綈綉綊綋綌綍綎綏綐綑綒經綔綕綖綗綘健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸�".split(""); for (a = 0; a != t[189].length; ++a) if (t[189][a].charCodeAt(0) !== 65533) { r[t[189][a]] = 48384 + a; e[48384 + a] = t[189][a] } t[190] = "����������������������������������������������������������������継続綛綜綝綞綟綠綡綢綣綤綥綧綨綩綪綫綬維綯綰綱網綳綴綵綶綷綸綹綺綻綼綽綾綿緀緁緂緃緄緅緆緇緈緉緊緋緌緍緎総緐緑緒緓緔緕緖緗緘緙�線緛緜緝緞緟締緡緢緣緤緥緦緧編緩緪緫緬緭緮緯緰緱緲緳練緵緶緷緸緹緺尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻�".split(""); for (a = 0; a != t[190].length; ++a) if (t[190][a].charCodeAt(0) !== 65533) { r[t[190][a]] = 48640 + a; e[48640 + a] = t[190][a] } t[191] = "����������������������������������������������������������������緻緼緽緾緿縀縁縂縃縄縅縆縇縈縉縊縋縌縍縎縏縐縑縒縓縔縕縖縗縘縙縚縛縜縝縞縟縠縡縢縣縤縥縦縧縨縩縪縫縬縭縮縯縰縱縲縳縴縵縶縷縸縹�縺縼總績縿繀繂繃繄繅繆繈繉繊繋繌繍繎繏繐繑繒繓織繕繖繗繘繙繚繛繜繝俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀�".split(""); for (a = 0; a != t[191].length; ++a) if (t[191][a].charCodeAt(0) !== 65533) { r[t[191][a]] = 48896 + a; e[48896 + a] = t[191][a] } t[192] = "����������������������������������������������������������������繞繟繠繡繢繣繤繥繦繧繨繩繪繫繬繭繮繯繰繱繲繳繴繵繶繷繸繹繺繻繼繽繾繿纀纁纃纄纅纆纇纈纉纊纋續纍纎纏纐纑纒纓纔纕纖纗纘纙纚纜纝纞�纮纴纻纼绖绤绬绹缊缐缞缷缹缻缼缽缾缿罀罁罃罆罇罈罉罊罋罌罍罎罏罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐�".split(""); for (a = 0; a != t[192].length; ++a) if (t[192][a].charCodeAt(0) !== 65533) { r[t[192][a]] = 49152 + a; e[49152 + a] = t[192][a] } t[193] = "����������������������������������������������������������������罖罙罛罜罝罞罠罣罤罥罦罧罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂羃羄羅羆羇羈羉羋羍羏羐羑羒羓羕羖羗羘羙羛羜羠羢羣羥羦羨義羪羫羬羭羮羱�羳羴羵羶羷羺羻羾翀翂翃翄翆翇翈翉翋翍翏翐翑習翓翖翗翙翚翛翜翝翞翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿�".split(""); for (a = 0; a != t[193].length; ++a) if (t[193][a].charCodeAt(0) !== 65533) { r[t[193][a]] = 49408 + a; e[49408 + a] = t[193][a] } t[194] = "����������������������������������������������������������������翤翧翨翪翫翬翭翯翲翴翵翶翷翸翹翺翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫耬耭耮耯耰耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗�聙聛聜聝聞聟聠聡聢聣聤聥聦聧聨聫聬聭聮聯聰聲聳聴聵聶職聸聹聺聻聼聽隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫�".split(""); for (a = 0; a != t[194].length; ++a) if (t[194][a].charCodeAt(0) !== 65533) { r[t[194][a]] = 49664 + a; e[49664 + a] = t[194][a] } t[195] = "����������������������������������������������������������������聾肁肂肅肈肊肍肎肏肐肑肒肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇胈胉胊胋胏胐胑胒胓胔胕胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋�脌脕脗脙脛脜脝脟脠脡脢脣脤脥脦脧脨脩脪脫脭脮脰脳脴脵脷脹脺脻脼脽脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸�".split(""); for (a = 0; a != t[195].length; ++a) if (t[195][a].charCodeAt(0) !== 65533) { r[t[195][a]] = 49920 + a; e[49920 + a] = t[195][a] } t[196] = "����������������������������������������������������������������腀腁腂腃腄腅腇腉腍腎腏腒腖腗腘腛腜腝腞腟腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃膄膅膆膇膉膋膌膍膎膐膒膓膔膕膖膗膙膚膞膟膠膡膢膤膥�膧膩膫膬膭膮膯膰膱膲膴膵膶膷膸膹膼膽膾膿臄臅臇臈臉臋臍臎臏臐臑臒臓摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁�".split(""); for (a = 0; a != t[196].length; ++a) if (t[196][a].charCodeAt(0) !== 65533) { r[t[196][a]] = 50176 + a; e[50176 + a] = t[196][a] } t[197] = "����������������������������������������������������������������臔臕臖臗臘臙臚臛臜臝臞臟臠臡臢臤臥臦臨臩臫臮臯臰臱臲臵臶臷臸臹臺臽臿舃與興舉舊舋舎舏舑舓舕舖舗舘舙舚舝舠舤舥舦舧舩舮舲舺舼舽舿�艀艁艂艃艅艆艈艊艌艍艎艐艑艒艓艔艕艖艗艙艛艜艝艞艠艡艢艣艤艥艦艧艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗�".split(""); for (a = 0; a != t[197].length; ++a) if (t[197][a].charCodeAt(0) !== 65533) { r[t[197][a]] = 50432 + a; e[50432 + a] = t[197][a] } t[198] = "����������������������������������������������������������������艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸�苺苼苽苾苿茀茊茋茍茐茒茓茖茘茙茝茞茟茠茡茢茣茤茥茦茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐�".split(""); for (a = 0; a != t[198].length; ++a) if (t[198][a].charCodeAt(0) !== 65533) { r[t[198][a]] = 50688 + a; e[50688 + a] = t[198][a] } t[199] = "����������������������������������������������������������������茾茿荁荂荄荅荈荊荋荌荍荎荓荕荖荗荘荙荝荢荰荱荲荳荴荵荶荹荺荾荿莀莁莂莃莄莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡莢莣莤莥莦莧莬莭莮�莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠�".split(""); for (a = 0; a != t[199].length; ++a) if (t[199][a].charCodeAt(0) !== 65533) { r[t[199][a]] = 50944 + a; e[50944 + a] = t[199][a] } t[200] = "����������������������������������������������������������������菮華菳菴菵菶菷菺菻菼菾菿萀萂萅萇萈萉萊萐萒萓萔萕萖萗萙萚萛萞萟萠萡萢萣萩萪萫萬萭萮萯萰萲萳萴萵萶萷萹萺萻萾萿葀葁葂葃葄葅葇葈葉�葊葋葌葍葎葏葐葒葓葔葕葖葘葝葞葟葠葢葤葥葦葧葨葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁�".split(""); for (a = 0; a != t[200].length; ++a) if (t[200][a].charCodeAt(0) !== 65533) { r[t[200][a]] = 51200 + a; e[51200 + a] = t[200][a] } t[201] = "����������������������������������������������������������������葽葾葿蒀蒁蒃蒄蒅蒆蒊蒍蒏蒐蒑蒒蒓蒔蒕蒖蒘蒚蒛蒝蒞蒟蒠蒢蒣蒤蒥蒦蒧蒨蒩蒪蒫蒬蒭蒮蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗�蓘蓙蓚蓛蓜蓞蓡蓢蓤蓧蓨蓩蓪蓫蓭蓮蓯蓱蓲蓳蓴蓵蓶蓷蓸蓹蓺蓻蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳�".split(""); for (a = 0; a != t[201].length; ++a) if (t[201][a].charCodeAt(0) !== 65533) { r[t[201][a]] = 51456 + a; e[51456 + a] = t[201][a] } t[202] = "����������������������������������������������������������������蔃蔄蔅蔆蔇蔈蔉蔊蔋蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢蔣蔤蔥蔦蔧蔨蔩蔪蔭蔮蔯蔰蔱蔲蔳蔴蔵蔶蔾蔿蕀蕁蕂蕄蕅蕆蕇蕋蕌蕍蕎蕏蕐蕑蕒蕓蕔蕕�蕗蕘蕚蕛蕜蕝蕟蕠蕡蕢蕣蕥蕦蕧蕩蕪蕫蕬蕭蕮蕯蕰蕱蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱�".split(""); for (a = 0; a != t[202].length; ++a) if (t[202][a].charCodeAt(0) !== 65533) { r[t[202][a]] = 51712 + a; e[51712 + a] = t[202][a] } t[203] = "����������������������������������������������������������������薂薃薆薈薉薊薋薌薍薎薐薑薒薓薔薕薖薗薘薙薚薝薞薟薠薡薢薣薥薦薧薩薫薬薭薱薲薳薴薵薶薸薺薻薼薽薾薿藀藂藃藄藅藆藇藈藊藋藌藍藎藑藒�藔藖藗藘藙藚藛藝藞藟藠藡藢藣藥藦藧藨藪藫藬藭藮藯藰藱藲藳藴藵藶藷藸恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔�".split(""); for (a = 0; a != t[203].length; ++a) if (t[203][a].charCodeAt(0) !== 65533) { r[t[203][a]] = 51968 + a; e[51968 + a] = t[203][a] } t[204] = "����������������������������������������������������������������藹藺藼藽藾蘀蘁蘂蘃蘄蘆蘇蘈蘉蘊蘋蘌蘍蘎蘏蘐蘒蘓蘔蘕蘗蘘蘙蘚蘛蘜蘝蘞蘟蘠蘡蘢蘣蘤蘥蘦蘨蘪蘫蘬蘭蘮蘯蘰蘱蘲蘳蘴蘵蘶蘷蘹蘺蘻蘽蘾蘿虀�虁虂虃虄虅虆虇虈虉虊虋虌虒虓處虖虗虘虙虛虜虝號虠虡虣虤虥虦虧虨虩虪獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃�".split(""); for (a = 0; a != t[204].length; ++a) if (t[204][a].charCodeAt(0) !== 65533) { r[t[204][a]] = 52224 + a; e[52224 + a] = t[204][a] } t[205] = "����������������������������������������������������������������虭虯虰虲虳虴虵虶虷虸蚃蚄蚅蚆蚇蚈蚉蚎蚏蚐蚑蚒蚔蚖蚗蚘蚙蚚蚛蚞蚟蚠蚡蚢蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻蚼蚽蚾蚿蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜�蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威�".split(""); for (a = 0; a != t[205].length; ++a) if (t[205][a].charCodeAt(0) !== 65533) { r[t[205][a]] = 52480 + a; e[52480 + a] = t[205][a] } t[206] = "����������������������������������������������������������������蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀蝁蝂蝃蝄蝅蝆蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚蝛蝜蝝蝞蝟蝡蝢蝦蝧蝨蝩蝪蝫蝬蝭蝯蝱蝲蝳蝵�蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎螏螐螑螒螔螕螖螘螙螚螛螜螝螞螠螡螢螣螤巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺�".split(""); for (a = 0; a != t[206].length; ++a) if (t[206][a].charCodeAt(0) !== 65533) { r[t[206][a]] = 52736 + a; e[52736 + a] = t[206][a] } t[207] = "����������������������������������������������������������������螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁蟂蟃蟄蟅蟇蟈蟉蟌蟍蟎蟏蟐蟔蟕蟖蟗蟘蟙蟚蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯蟰蟱蟲蟳蟴蟵蟶蟷蟸�蟺蟻蟼蟽蟿蠀蠁蠂蠄蠅蠆蠇蠈蠉蠋蠌蠍蠎蠏蠐蠑蠒蠔蠗蠘蠙蠚蠜蠝蠞蠟蠠蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓�".split(""); for (a = 0; a != t[207].length; ++a) if (t[207][a].charCodeAt(0) !== 65533) { r[t[207][a]] = 52992 + a; e[52992 + a] = t[207][a] } t[208] = "����������������������������������������������������������������蠤蠥蠦蠧蠨蠩蠪蠫蠬蠭蠮蠯蠰蠱蠳蠴蠵蠶蠷蠸蠺蠻蠽蠾蠿衁衂衃衆衇衈衉衊衋衎衏衐衑衒術衕衖衘衚衛衜衝衞衟衠衦衧衪衭衯衱衳衴衵衶衸衹衺�衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗袘袙袚袛袝袞袟袠袡袣袥袦袧袨袩袪小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄�".split(""); for (a = 0; a != t[208].length; ++a) if (t[208][a].charCodeAt(0) !== 65533) { r[t[208][a]] = 53248 + a; e[53248 + a] = t[208][a] } t[209] = "����������������������������������������������������������������袬袮袯袰袲袳袴袵袶袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚裛補裝裞裠裡裦裧裩裪裫裬裭裮裯裲裵裶裷裺裻製裿褀褁褃褄褅褆複褈�褉褋褌褍褎褏褑褔褕褖褗褘褜褝褞褟褠褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶�".split(""); for (a = 0; a != t[209].length; ++a) if (t[209][a].charCodeAt(0) !== 65533) { r[t[209][a]] = 53504 + a; e[53504 + a] = t[209][a] } t[210] = "����������������������������������������������������������������褸褹褺褻褼褽褾褿襀襂襃襅襆襇襈襉襊襋襌襍襎襏襐襑襒襓襔襕襖襗襘襙襚襛襜襝襠襡襢襣襤襥襧襨襩襪襫襬襭襮襯襰襱襲襳襴襵襶襷襸襹襺襼�襽襾覀覂覄覅覇覈覉覊見覌覍覎規覐覑覒覓覔覕視覗覘覙覚覛覜覝覞覟覠覡摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐�".split(""); for (a = 0; a != t[210].length; ++a) if (t[210][a].charCodeAt(0) !== 65533) { r[t[210][a]] = 53760 + a; e[53760 + a] = t[210][a] } t[211] = "����������������������������������������������������������������覢覣覤覥覦覧覨覩親覫覬覭覮覯覰覱覲観覴覵覶覷覸覹覺覻覼覽覾覿觀觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴觵觶觷觸觹觺�觻觼觽觾觿訁訂訃訄訅訆計訉訊訋訌訍討訏訐訑訒訓訔訕訖託記訙訚訛訜訝印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉�".split(""); for (a = 0; a != t[211].length; ++a) if (t[211][a].charCodeAt(0) !== 65533) { r[t[211][a]] = 54016 + a; e[54016 + a] = t[211][a] } t[212] = "����������������������������������������������������������������訞訟訠訡訢訣訤訥訦訧訨訩訪訫訬設訮訯訰許訲訳訴訵訶訷訸訹診註証訽訿詀詁詂詃詄詅詆詇詉詊詋詌詍詎詏詐詑詒詓詔評詖詗詘詙詚詛詜詝詞�詟詠詡詢詣詤詥試詧詨詩詪詫詬詭詮詯詰話該詳詴詵詶詷詸詺詻詼詽詾詿誀浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧�".split(""); for (a = 0; a != t[212].length; ++a) if (t[212][a].charCodeAt(0) !== 65533) { r[t[212][a]] = 54272 + a; e[54272 + a] = t[212][a] } t[213] = "����������������������������������������������������������������誁誂誃誄誅誆誇誈誋誌認誎誏誐誑誒誔誕誖誗誘誙誚誛誜誝語誟誠誡誢誣誤誥誦誧誨誩說誫説読誮誯誰誱課誳誴誵誶誷誸誹誺誻誼誽誾調諀諁諂�諃諄諅諆談諈諉諊請諌諍諎諏諐諑諒諓諔諕論諗諘諙諚諛諜諝諞諟諠諡諢諣铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政�".split(""); for (a = 0; a != t[213].length; ++a) if (t[213][a].charCodeAt(0) !== 65533) { r[t[213][a]] = 54528 + a; e[54528 + a] = t[213][a] } t[214] = "����������������������������������������������������������������諤諥諦諧諨諩諪諫諬諭諮諯諰諱諲諳諴諵諶諷諸諹諺諻諼諽諾諿謀謁謂謃謄謅謆謈謉謊謋謌謍謎謏謐謑謒謓謔謕謖謗謘謙謚講謜謝謞謟謠謡謢謣�謤謥謧謨謩謪謫謬謭謮謯謰謱謲謳謴謵謶謷謸謹謺謻謼謽謾謿譀譁譂譃譄譅帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑�".split(""); for (a = 0; a != t[214].length; ++a) if (t[214][a].charCodeAt(0) !== 65533) { r[t[214][a]] = 54784 + a; e[54784 + a] = t[214][a] } t[215] = "����������������������������������������������������������������譆譇譈證譊譋譌譍譎譏譐譑譒譓譔譕譖譗識譙譚譛譜譝譞譟譠譡譢譣譤譥譧譨譩譪譫譭譮譯議譱譲譳譴譵譶護譸譹譺譻譼譽譾譿讀讁讂讃讄讅讆�讇讈讉變讋讌讍讎讏讐讑讒讓讔讕讖讗讘讙讚讛讜讝讞讟讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座������".split(""); for (a = 0; a != t[215].length; ++a) if (t[215][a].charCodeAt(0) !== 65533) { r[t[215][a]] = 55040 + a; e[55040 + a] = t[215][a] } t[216] = "����������������������������������������������������������������谸谹谺谻谼谽谾谿豀豂豃豄豅豈豊豋豍豎豏豐豑豒豓豔豖豗豘豙豛豜豝豞豟豠豣豤豥豦豧豨豩豬豭豮豯豰豱豲豴豵豶豷豻豼豽豾豿貀貁貃貄貆貇�貈貋貍貎貏貐貑貒貓貕貖貗貙貚貛貜貝貞貟負財貢貣貤貥貦貧貨販貪貫責貭亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝�".split(""); for (a = 0; a != t[216].length; ++a) if (t[216][a].charCodeAt(0) !== 65533) { r[t[216][a]] = 55296 + a; e[55296 + a] = t[216][a] } t[217] = "����������������������������������������������������������������貮貯貰貱貲貳貴貵貶買貸貹貺費貼貽貾貿賀賁賂賃賄賅賆資賈賉賊賋賌賍賎賏賐賑賒賓賔賕賖賗賘賙賚賛賜賝賞賟賠賡賢賣賤賥賦賧賨賩質賫賬�賭賮賯賰賱賲賳賴賵賶賷賸賹賺賻購賽賾賿贀贁贂贃贄贅贆贇贈贉贊贋贌贍佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼�".split(""); for (a = 0; a != t[217].length; ++a) if (t[217][a].charCodeAt(0) !== 65533) { r[t[217][a]] = 55552 + a; e[55552 + a] = t[217][a] } t[218] = "����������������������������������������������������������������贎贏贐贑贒贓贔贕贖贗贘贙贚贛贜贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸赹赺赻赼赽赾赿趀趂趃趆趇趈趉趌趍趎趏趐趒趓趕趖趗趘趙趚趛趜趝趞趠趡�趢趤趥趦趧趨趩趪趫趬趭趮趯趰趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺�".split(""); for (a = 0; a != t[218].length; ++a) if (t[218][a].charCodeAt(0) !== 65533) { r[t[218][a]] = 55808 + a; e[55808 + a] = t[218][a] } t[219] = "����������������������������������������������������������������跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾跿踀踁踂踃踄踆踇踈踋踍踎踐踑踒踓踕踖踗踘踙踚踛踜踠踡踤踥踦踧踨踫踭踰踲踳踴踶踷踸踻踼踾�踿蹃蹅蹆蹌蹍蹎蹏蹐蹓蹔蹕蹖蹗蹘蹚蹛蹜蹝蹞蹟蹠蹡蹢蹣蹤蹥蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝�".split(""); for (a = 0; a != t[219].length; ++a) if (t[219][a].charCodeAt(0) !== 65533) { r[t[219][a]] = 56064 + a; e[56064 + a] = t[219][a] } t[220] = "����������������������������������������������������������������蹳蹵蹷蹸蹹蹺蹻蹽蹾躀躂躃躄躆躈躉躊躋躌躍躎躑躒躓躕躖躗躘躙躚躛躝躟躠躡躢躣躤躥躦躧躨躩躪躭躮躰躱躳躴躵躶躷躸躹躻躼躽躾躿軀軁軂�軃軄軅軆軇軈軉車軋軌軍軏軐軑軒軓軔軕軖軗軘軙軚軛軜軝軞軟軠軡転軣軤堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥�".split(""); for (a = 0; a != t[220].length; ++a) if (t[220][a].charCodeAt(0) !== 65533) { r[t[220][a]] = 56320 + a; e[56320 + a] = t[220][a] } t[221] = "����������������������������������������������������������������軥軦軧軨軩軪軫軬軭軮軯軰軱軲軳軴軵軶軷軸軹軺軻軼軽軾軿輀輁輂較輄輅輆輇輈載輊輋輌輍輎輏輐輑輒輓輔輕輖輗輘輙輚輛輜輝輞輟輠輡輢輣�輤輥輦輧輨輩輪輫輬輭輮輯輰輱輲輳輴輵輶輷輸輹輺輻輼輽輾輿轀轁轂轃轄荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺�".split(""); for (a = 0; a != t[221].length; ++a) if (t[221][a].charCodeAt(0) !== 65533) { r[t[221][a]] = 56576 + a; e[56576 + a] = t[221][a] } t[222] = "����������������������������������������������������������������轅轆轇轈轉轊轋轌轍轎轏轐轑轒轓轔轕轖轗轘轙轚轛轜轝轞轟轠轡轢轣轤轥轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆�迉迊迋迌迍迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖�".split(""); for (a = 0; a != t[222].length; ++a) if (t[222][a].charCodeAt(0) !== 65533) { r[t[222][a]] = 56832 + a; e[56832 + a] = t[222][a] } t[223] = "����������������������������������������������������������������這逜連逤逥逧逨逩逪逫逬逰週進逳逴逷逹逺逽逿遀遃遅遆遈遉遊運遌過達違遖遙遚遜遝遞遟遠遡遤遦遧適遪遫遬遯遰遱遲遳遶遷選遹遺遻遼遾邁�還邅邆邇邉邊邌邍邎邏邐邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼�".split(""); for (a = 0; a != t[223].length; ++a) if (t[223][a].charCodeAt(0) !== 65533) { r[t[223][a]] = 57088 + a; e[57088 + a] = t[223][a] } t[224] = "����������������������������������������������������������������郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅鄆鄇鄈鄉鄊鄋鄌鄍鄎鄏鄐鄑鄒鄓鄔鄕鄖鄗鄘鄚鄛鄜�鄝鄟鄠鄡鄤鄥鄦鄧鄨鄩鄪鄫鄬鄭鄮鄰鄲鄳鄴鄵鄶鄷鄸鄺鄻鄼鄽鄾鄿酀酁酂酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼�".split(""); for (a = 0; a != t[224].length; ++a) if (t[224][a].charCodeAt(0) !== 65533) { r[t[224][a]] = 57344 + a; e[57344 + a] = t[224][a] } t[225] = "����������������������������������������������������������������酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀醁醂醃醄醆醈醊醎醏醓醔醕醖醗醘醙醜醝醞醟醠醡醤醥醦醧醨醩醫醬醰醱醲醳醶醷醸醹醻�醼醽醾醿釀釁釂釃釄釅釆釈釋釐釒釓釔釕釖釗釘釙釚釛針釞釟釠釡釢釣釤釥帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺�".split(""); for (a = 0; a != t[225].length; ++a) if (t[225][a].charCodeAt(0) !== 65533) { r[t[225][a]] = 57600 + a; e[57600 + a] = t[225][a] } t[226] = "����������������������������������������������������������������釦釧釨釩釪釫釬釭釮釯釰釱釲釳釴釵釶釷釸釹釺釻釼釽釾釿鈀鈁鈂鈃鈄鈅鈆鈇鈈鈉鈊鈋鈌鈍鈎鈏鈐鈑鈒鈓鈔鈕鈖鈗鈘鈙鈚鈛鈜鈝鈞鈟鈠鈡鈢鈣鈤�鈥鈦鈧鈨鈩鈪鈫鈬鈭鈮鈯鈰鈱鈲鈳鈴鈵鈶鈷鈸鈹鈺鈻鈼鈽鈾鈿鉀鉁鉂鉃鉄鉅狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂�".split(""); for (a = 0; a != t[226].length; ++a) if (t[226][a].charCodeAt(0) !== 65533) { r[t[226][a]] = 57856 + a; e[57856 + a] = t[226][a] } t[227] = "����������������������������������������������������������������鉆鉇鉈鉉鉊鉋鉌鉍鉎鉏鉐鉑鉒鉓鉔鉕鉖鉗鉘鉙鉚鉛鉜鉝鉞鉟鉠鉡鉢鉣鉤鉥鉦鉧鉨鉩鉪鉫鉬鉭鉮鉯鉰鉱鉲鉳鉵鉶鉷鉸鉹鉺鉻鉼鉽鉾鉿銀銁銂銃銄銅�銆銇銈銉銊銋銌銍銏銐銑銒銓銔銕銖銗銘銙銚銛銜銝銞銟銠銡銢銣銤銥銦銧恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾�".split(""); for (a = 0; a != t[227].length; ++a) if (t[227][a].charCodeAt(0) !== 65533) { r[t[227][a]] = 58112 + a; e[58112 + a] = t[227][a] } t[228] = "����������������������������������������������������������������銨銩銪銫銬銭銯銰銱銲銳銴銵銶銷銸銹銺銻銼銽銾銿鋀鋁鋂鋃鋄鋅鋆鋇鋉鋊鋋鋌鋍鋎鋏鋐鋑鋒鋓鋔鋕鋖鋗鋘鋙鋚鋛鋜鋝鋞鋟鋠鋡鋢鋣鋤鋥鋦鋧鋨�鋩鋪鋫鋬鋭鋮鋯鋰鋱鋲鋳鋴鋵鋶鋷鋸鋹鋺鋻鋼鋽鋾鋿錀錁錂錃錄錅錆錇錈錉洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑�".split(""); for (a = 0; a != t[228].length; ++a) if (t[228][a].charCodeAt(0) !== 65533) { r[t[228][a]] = 58368 + a; e[58368 + a] = t[228][a] } t[229] = "����������������������������������������������������������������錊錋錌錍錎錏錐錑錒錓錔錕錖錗錘錙錚錛錜錝錞錟錠錡錢錣錤錥錦錧錨錩錪錫錬錭錮錯錰錱録錳錴錵錶錷錸錹錺錻錼錽錿鍀鍁鍂鍃鍄鍅鍆鍇鍈鍉�鍊鍋鍌鍍鍎鍏鍐鍑鍒鍓鍔鍕鍖鍗鍘鍙鍚鍛鍜鍝鍞鍟鍠鍡鍢鍣鍤鍥鍦鍧鍨鍩鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣�".split(""); for (a = 0; a != t[229].length; ++a) if (t[229][a].charCodeAt(0) !== 65533) { r[t[229][a]] = 58624 + a; e[58624 + a] = t[229][a] } t[230] = "����������������������������������������������������������������鍬鍭鍮鍯鍰鍱鍲鍳鍴鍵鍶鍷鍸鍹鍺鍻鍼鍽鍾鍿鎀鎁鎂鎃鎄鎅鎆鎇鎈鎉鎊鎋鎌鎍鎎鎐鎑鎒鎓鎔鎕鎖鎗鎘鎙鎚鎛鎜鎝鎞鎟鎠鎡鎢鎣鎤鎥鎦鎧鎨鎩鎪鎫�鎬鎭鎮鎯鎰鎱鎲鎳鎴鎵鎶鎷鎸鎹鎺鎻鎼鎽鎾鎿鏀鏁鏂鏃鏄鏅鏆鏇鏈鏉鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩�".split(""); for (a = 0; a != t[230].length; ++a) if (t[230][a].charCodeAt(0) !== 65533) { r[t[230][a]] = 58880 + a; e[58880 + a] = t[230][a] } t[231] = "����������������������������������������������������������������鏎鏏鏐鏑鏒鏓鏔鏕鏗鏘鏙鏚鏛鏜鏝鏞鏟鏠鏡鏢鏣鏤鏥鏦鏧鏨鏩鏪鏫鏬鏭鏮鏯鏰鏱鏲鏳鏴鏵鏶鏷鏸鏹鏺鏻鏼鏽鏾鏿鐀鐁鐂鐃鐄鐅鐆鐇鐈鐉鐊鐋鐌鐍�鐎鐏鐐鐑鐒鐓鐔鐕鐖鐗鐘鐙鐚鐛鐜鐝鐞鐟鐠鐡鐢鐣鐤鐥鐦鐧鐨鐩鐪鐫鐬鐭鐮纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬�".split(""); for (a = 0; a != t[231].length; ++a) if (t[231][a].charCodeAt(0) !== 65533) { r[t[231][a]] = 59136 + a; e[59136 + a] = t[231][a] } t[232] = "����������������������������������������������������������������鐯鐰鐱鐲鐳鐴鐵鐶鐷鐸鐹鐺鐻鐼鐽鐿鑀鑁鑂鑃鑄鑅鑆鑇鑈鑉鑊鑋鑌鑍鑎鑏鑐鑑鑒鑓鑔鑕鑖鑗鑘鑙鑚鑛鑜鑝鑞鑟鑠鑡鑢鑣鑤鑥鑦鑧鑨鑩鑪鑬鑭鑮鑯�鑰鑱鑲鑳鑴鑵鑶鑷鑸鑹鑺鑻鑼鑽鑾鑿钀钁钂钃钄钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹�".split(""); for (a = 0; a != t[232].length; ++a) if (t[232][a].charCodeAt(0) !== 65533) { r[t[232][a]] = 59392 + a; e[59392 + a] = t[232][a] } t[233] = "����������������������������������������������������������������锧锳锽镃镈镋镕镚镠镮镴镵長镸镹镺镻镼镽镾門閁閂閃閄閅閆閇閈閉閊開閌閍閎閏閐閑閒間閔閕閖閗閘閙閚閛閜閝閞閟閠閡関閣閤閥閦閧閨閩閪�閫閬閭閮閯閰閱閲閳閴閵閶閷閸閹閺閻閼閽閾閿闀闁闂闃闄闅闆闇闈闉闊闋椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋�".split(""); for (a = 0; a != t[233].length; ++a) if (t[233][a].charCodeAt(0) !== 65533) { r[t[233][a]] = 59648 + a; e[59648 + a] = t[233][a] } t[234] = "����������������������������������������������������������������闌闍闎闏闐闑闒闓闔闕闖闗闘闙闚闛關闝闞闟闠闡闢闣闤闥闦闧闬闿阇阓阘阛阞阠阣阤阥阦阧阨阩阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗�陘陙陚陜陝陞陠陣陥陦陫陭陮陯陰陱陳陸陹険陻陼陽陾陿隀隁隂隃隄隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰�".split(""); for (a = 0; a != t[234].length; ++a) if (t[234][a].charCodeAt(0) !== 65533) { r[t[234][a]] = 59904 + a; e[59904 + a] = t[234][a] } t[235] = "����������������������������������������������������������������隌階隑隒隓隕隖隚際隝隞隟隠隡隢隣隤隥隦隨隩險隫隬隭隮隯隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖雗雘雙雚雛雜雝雞雟雡離難雤雥雦雧雫�雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗霘霙霚霛霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻�".split(""); for (a = 0; a != t[235].length; ++a) if (t[235][a].charCodeAt(0) !== 65533) { r[t[235][a]] = 60160 + a; e[60160 + a] = t[235][a] } t[236] = "����������������������������������������������������������������霡霢霣霤霥霦霧霨霩霫霬霮霯霱霳霴霵霶霷霺霻霼霽霿靀靁靂靃靄靅靆靇靈靉靊靋靌靍靎靏靐靑靔靕靗靘靚靜靝靟靣靤靦靧靨靪靫靬靭靮靯靰靱�靲靵靷靸靹靺靻靽靾靿鞀鞁鞂鞃鞄鞆鞇鞈鞉鞊鞌鞎鞏鞐鞓鞕鞖鞗鞙鞚鞛鞜鞝臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐�".split(""); for (a = 0; a != t[236].length; ++a) if (t[236][a].charCodeAt(0) !== 65533) { r[t[236][a]] = 60416 + a; e[60416 + a] = t[236][a] } t[237] = "����������������������������������������������������������������鞞鞟鞡鞢鞤鞥鞦鞧鞨鞩鞪鞬鞮鞰鞱鞳鞵鞶鞷鞸鞹鞺鞻鞼鞽鞾鞿韀韁韂韃韄韅韆韇韈韉韊韋韌韍韎韏韐韑韒韓韔韕韖韗韘韙韚韛韜韝韞韟韠韡韢韣�韤韥韨韮韯韰韱韲韴韷韸韹韺韻韼韽韾響頀頁頂頃頄項順頇須頉頊頋頌頍頎怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨�".split(""); for (a = 0; a != t[237].length; ++a) if (t[237][a].charCodeAt(0) !== 65533) { r[t[237][a]] = 60672 + a; e[60672 + a] = t[237][a] } t[238] = "����������������������������������������������������������������頏預頑頒頓頔頕頖頗領頙頚頛頜頝頞頟頠頡頢頣頤頥頦頧頨頩頪頫頬頭頮頯頰頱頲頳頴頵頶頷頸頹頺頻頼頽頾頿顀顁顂顃顄顅顆顇顈顉顊顋題額�顎顏顐顑顒顓顔顕顖顗願顙顚顛顜顝類顟顠顡顢顣顤顥顦顧顨顩顪顫顬顭顮睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪�".split(""); for (a = 0; a != t[238].length; ++a) if (t[238][a].charCodeAt(0) !== 65533) { r[t[238][a]] = 60928 + a; e[60928 + a] = t[238][a] } t[239] = "����������������������������������������������������������������顯顰顱顲顳顴颋颎颒颕颙颣風颩颪颫颬颭颮颯颰颱颲颳颴颵颶颷颸颹颺颻颼颽颾颿飀飁飂飃飄飅飆飇飈飉飊飋飌飍飏飐飔飖飗飛飜飝飠飡飢飣飤�飥飦飩飪飫飬飭飮飯飰飱飲飳飴飵飶飷飸飹飺飻飼飽飾飿餀餁餂餃餄餅餆餇铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔�".split(""); for (a = 0; a != t[239].length; ++a) if (t[239][a].charCodeAt(0) !== 65533) { r[t[239][a]] = 61184 + a; e[61184 + a] = t[239][a] } t[240] = "����������������������������������������������������������������餈餉養餋餌餎餏餑餒餓餔餕餖餗餘餙餚餛餜餝餞餟餠餡餢餣餤餥餦餧館餩餪餫餬餭餯餰餱餲餳餴餵餶餷餸餹餺餻餼餽餾餿饀饁饂饃饄饅饆饇饈饉�饊饋饌饍饎饏饐饑饒饓饖饗饘饙饚饛饜饝饞饟饠饡饢饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙�".split(""); for (a = 0; a != t[240].length; ++a) if (t[240][a].charCodeAt(0) !== 65533) { r[t[240][a]] = 61440 + a; e[61440 + a] = t[240][a] } t[241] = "����������������������������������������������������������������馌馎馚馛馜馝馞馟馠馡馢馣馤馦馧馩馪馫馬馭馮馯馰馱馲馳馴馵馶馷馸馹馺馻馼馽馾馿駀駁駂駃駄駅駆駇駈駉駊駋駌駍駎駏駐駑駒駓駔駕駖駗駘�駙駚駛駜駝駞駟駠駡駢駣駤駥駦駧駨駩駪駫駬駭駮駯駰駱駲駳駴駵駶駷駸駹瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃�".split(""); for (a = 0; a != t[241].length; ++a) if (t[241][a].charCodeAt(0) !== 65533) { r[t[241][a]] = 61696 + a; e[61696 + a] = t[241][a] } t[242] = "����������������������������������������������������������������駺駻駼駽駾駿騀騁騂騃騄騅騆騇騈騉騊騋騌騍騎騏騐騑騒験騔騕騖騗騘騙騚騛騜騝騞騟騠騡騢騣騤騥騦騧騨騩騪騫騬騭騮騯騰騱騲騳騴騵騶騷騸�騹騺騻騼騽騾騿驀驁驂驃驄驅驆驇驈驉驊驋驌驍驎驏驐驑驒驓驔驕驖驗驘驙颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒�".split(""); for (a = 0; a != t[242].length; ++a) if (t[242][a].charCodeAt(0) !== 65533) { r[t[242][a]] = 61952 + a; e[61952 + a] = t[242][a] } t[243] = "����������������������������������������������������������������驚驛驜驝驞驟驠驡驢驣驤驥驦驧驨驩驪驫驲骃骉骍骎骔骕骙骦骩骪骫骬骭骮骯骲骳骴骵骹骻骽骾骿髃髄髆髇髈髉髊髍髎髏髐髒體髕髖髗髙髚髛髜�髝髞髠髢髣髤髥髧髨髩髪髬髮髰髱髲髳髴髵髶髷髸髺髼髽髾髿鬀鬁鬂鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋�".split(""); for (a = 0; a != t[243].length; ++a) if (t[243][a].charCodeAt(0) !== 65533) { r[t[243][a]] = 62208 + a; e[62208 + a] = t[243][a] } t[244] = "����������������������������������������������������������������鬇鬉鬊鬋鬌鬍鬎鬐鬑鬒鬔鬕鬖鬗鬘鬙鬚鬛鬜鬝鬞鬠鬡鬢鬤鬥鬦鬧鬨鬩鬪鬫鬬鬭鬮鬰鬱鬳鬴鬵鬶鬷鬸鬹鬺鬽鬾鬿魀魆魊魋魌魎魐魒魓魕魖魗魘魙魚�魛魜魝魞魟魠魡魢魣魤魥魦魧魨魩魪魫魬魭魮魯魰魱魲魳魴魵魶魷魸魹魺魻簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤�".split(""); for (a = 0; a != t[244].length; ++a) if (t[244][a].charCodeAt(0) !== 65533) { r[t[244][a]] = 62464 + a; e[62464 + a] = t[244][a] } t[245] = "����������������������������������������������������������������魼魽魾魿鮀鮁鮂鮃鮄鮅鮆鮇鮈鮉鮊鮋鮌鮍鮎鮏鮐鮑鮒鮓鮔鮕鮖鮗鮘鮙鮚鮛鮜鮝鮞鮟鮠鮡鮢鮣鮤鮥鮦鮧鮨鮩鮪鮫鮬鮭鮮鮯鮰鮱鮲鮳鮴鮵鮶鮷鮸鮹鮺�鮻鮼鮽鮾鮿鯀鯁鯂鯃鯄鯅鯆鯇鯈鯉鯊鯋鯌鯍鯎鯏鯐鯑鯒鯓鯔鯕鯖鯗鯘鯙鯚鯛酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜�".split(""); for (a = 0; a != t[245].length; ++a) if (t[245][a].charCodeAt(0) !== 65533) { r[t[245][a]] = 62720 + a; e[62720 + a] = t[245][a] } t[246] = "����������������������������������������������������������������鯜鯝鯞鯟鯠鯡鯢鯣鯤鯥鯦鯧鯨鯩鯪鯫鯬鯭鯮鯯鯰鯱鯲鯳鯴鯵鯶鯷鯸鯹鯺鯻鯼鯽鯾鯿鰀鰁鰂鰃鰄鰅鰆鰇鰈鰉鰊鰋鰌鰍鰎鰏鰐鰑鰒鰓鰔鰕鰖鰗鰘鰙鰚�鰛鰜鰝鰞鰟鰠鰡鰢鰣鰤鰥鰦鰧鰨鰩鰪鰫鰬鰭鰮鰯鰰鰱鰲鰳鰴鰵鰶鰷鰸鰹鰺鰻觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋�".split(""); for (a = 0; a != t[246].length; ++a) if (t[246][a].charCodeAt(0) !== 65533) { r[t[246][a]] = 62976 + a; e[62976 + a] = t[246][a] } t[247] = "����������������������������������������������������������������鰼鰽鰾鰿鱀鱁鱂鱃鱄鱅鱆鱇鱈鱉鱊鱋鱌鱍鱎鱏鱐鱑鱒鱓鱔鱕鱖鱗鱘鱙鱚鱛鱜鱝鱞鱟鱠鱡鱢鱣鱤鱥鱦鱧鱨鱩鱪鱫鱬鱭鱮鱯鱰鱱鱲鱳鱴鱵鱶鱷鱸鱹鱺�鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾鲿鳀鳁鳂鳈鳉鳑鳒鳚鳛鳠鳡鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄�".split(""); for (a = 0; a != t[247].length; ++a) if (t[247][a].charCodeAt(0) !== 65533) { r[t[247][a]] = 63232 + a; e[63232 + a] = t[247][a] } t[248] = "����������������������������������������������������������������鳣鳤鳥鳦鳧鳨鳩鳪鳫鳬鳭鳮鳯鳰鳱鳲鳳鳴鳵鳶鳷鳸鳹鳺鳻鳼鳽鳾鳿鴀鴁鴂鴃鴄鴅鴆鴇鴈鴉鴊鴋鴌鴍鴎鴏鴐鴑鴒鴓鴔鴕鴖鴗鴘鴙鴚鴛鴜鴝鴞鴟鴠鴡�鴢鴣鴤鴥鴦鴧鴨鴩鴪鴫鴬鴭鴮鴯鴰鴱鴲鴳鴴鴵鴶鴷鴸鴹鴺鴻鴼鴽鴾鴿鵀鵁鵂�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[248].length; ++a) if (t[248][a].charCodeAt(0) !== 65533) { r[t[248][a]] = 63488 + a; e[63488 + a] = t[248][a] } t[249] = "����������������������������������������������������������������鵃鵄鵅鵆鵇鵈鵉鵊鵋鵌鵍鵎鵏鵐鵑鵒鵓鵔鵕鵖鵗鵘鵙鵚鵛鵜鵝鵞鵟鵠鵡鵢鵣鵤鵥鵦鵧鵨鵩鵪鵫鵬鵭鵮鵯鵰鵱鵲鵳鵴鵵鵶鵷鵸鵹鵺鵻鵼鵽鵾鵿鶀鶁�鶂鶃鶄鶅鶆鶇鶈鶉鶊鶋鶌鶍鶎鶏鶐鶑鶒鶓鶔鶕鶖鶗鶘鶙鶚鶛鶜鶝鶞鶟鶠鶡鶢�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[249].length; ++a) if (t[249][a].charCodeAt(0) !== 65533) { r[t[249][a]] = 63744 + a; e[63744 + a] = t[249][a] } t[250] = "����������������������������������������������������������������鶣鶤鶥鶦鶧鶨鶩鶪鶫鶬鶭鶮鶯鶰鶱鶲鶳鶴鶵鶶鶷鶸鶹鶺鶻鶼鶽鶾鶿鷀鷁鷂鷃鷄鷅鷆鷇鷈鷉鷊鷋鷌鷍鷎鷏鷐鷑鷒鷓鷔鷕鷖鷗鷘鷙鷚鷛鷜鷝鷞鷟鷠鷡�鷢鷣鷤鷥鷦鷧鷨鷩鷪鷫鷬鷭鷮鷯鷰鷱鷲鷳鷴鷵鷶鷷鷸鷹鷺鷻鷼鷽鷾鷿鸀鸁鸂�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[250].length; ++a) if (t[250][a].charCodeAt(0) !== 65533) { r[t[250][a]] = 64e3 + a; e[64e3 + a] = t[250][a] } t[251] = "����������������������������������������������������������������鸃鸄鸅鸆鸇鸈鸉鸊鸋鸌鸍鸎鸏鸐鸑鸒鸓鸔鸕鸖鸗鸘鸙鸚鸛鸜鸝鸞鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴鹵鹶鹷鹸鹹鹺鹻鹼鹽麀�麁麃麄麅麆麉麊麌麍麎麏麐麑麔麕麖麗麘麙麚麛麜麞麠麡麢麣麤麥麧麨麩麪�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[251].length; ++a) if (t[251][a].charCodeAt(0) !== 65533) { r[t[251][a]] = 64256 + a; e[64256 + a] = t[251][a] } t[252] = "����������������������������������������������������������������麫麬麭麮麯麰麱麲麳麵麶麷麹麺麼麿黀黁黂黃黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰黱黲黳黴黵黶黷黸黺黽黿鼀鼁鼂鼃鼄鼅�鼆鼇鼈鼉鼊鼌鼏鼑鼒鼔鼕鼖鼘鼚鼛鼜鼝鼞鼟鼡鼣鼤鼥鼦鼧鼨鼩鼪鼫鼭鼮鼰鼱�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[252].length; ++a) if (t[252][a].charCodeAt(0) !== 65533) { r[t[252][a]] = 64512 + a; e[64512 + a] = t[252][a] } t[253] = "����������������������������������������������������������������鼲鼳鼴鼵鼶鼸鼺鼼鼿齀齁齂齃齅齆齇齈齉齊齋齌齍齎齏齒齓齔齕齖齗齘齙齚齛齜齝齞齟齠齡齢齣齤齥齦齧齨齩齪齫齬齭齮齯齰齱齲齳齴齵齶齷齸�齹齺齻齼齽齾龁龂龍龎龏龐龑龒龓龔龕龖龗龘龜龝龞龡龢龣龤龥郎凉秊裏隣�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[253].length; ++a) if (t[253][a].charCodeAt(0) !== 65533) { r[t[253][a]] = 64768 + a; e[64768 + a] = t[253][a] } t[254] = "����������������������������������������������������������������兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[254].length; ++a) if (t[254][a].charCodeAt(0) !== 65533) { r[t[254][a]] = 65024 + a; e[65024 + a] = t[254][a] } return { enc: r, dec: e } }(); cptable[949] = function() { var e = [], r = {}, t = [], a; t[0] = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[0].length; ++a) if (t[0][a].charCodeAt(0) !== 65533) { r[t[0][a]] = 0 + a; e[0 + a] = t[0][a] } t[129] = "�����������������������������������������������������������������갂갃갅갆갋갌갍갎갏갘갞갟갡갢갣갥갦갧갨갩갪갫갮갲갳갴������갵갶갷갺갻갽갾갿걁걂걃걄걅걆걇걈걉걊걌걎걏걐걑걒걓걕������걖걗걙걚걛걝걞걟걠걡걢걣걤걥걦걧걨걩걪걫걬걭걮걯걲걳걵걶걹걻걼걽걾걿겂겇겈겍겎겏겑겒겓겕겖겗겘겙겚겛겞겢겣겤겥겦겧겫겭겮겱겲겳겴겵겶겷겺겾겿곀곂곃곅곆곇곉곊곋곍곎곏곐곑곒곓곔곖곘곙곚곛곜곝곞곟곢곣곥곦곩곫곭곮곲곴곷곸곹곺곻곾곿괁괂괃괅괇괈괉괊괋괎괐괒괓�".split(""); for (a = 0; a != t[129].length; ++a) if (t[129][a].charCodeAt(0) !== 65533) { r[t[129][a]] = 33024 + a; e[33024 + a] = t[129][a] } t[130] = "�����������������������������������������������������������������괔괕괖괗괙괚괛괝괞괟괡괢괣괤괥괦괧괨괪괫괮괯괰괱괲괳������괶괷괹괺괻괽괾괿굀굁굂굃굆굈굊굋굌굍굎굏굑굒굓굕굖굗������굙굚굛굜굝굞굟굠굢굤굥굦굧굨굩굪굫굮굯굱굲굷굸굹굺굾궀궃궄궅궆궇궊궋궍궎궏궑궒궓궔궕궖궗궘궙궚궛궞궟궠궡궢궣궥궦궧궨궩궪궫궬궭궮궯궰궱궲궳궴궵궶궸궹궺궻궼궽궾궿귂귃귅귆귇귉귊귋귌귍귎귏귒귔귕귖귗귘귙귚귛귝귞귟귡귢귣귥귦귧귨귩귪귫귬귭귮귯귰귱귲귳귴귵귶귷�".split(""); for (a = 0; a != t[130].length; ++a) if (t[130][a].charCodeAt(0) !== 65533) { r[t[130][a]] = 33280 + a; e[33280 + a] = t[130][a] } t[131] = "�����������������������������������������������������������������귺귻귽귾긂긃긄긅긆긇긊긌긎긏긐긑긒긓긕긖긗긘긙긚긛긜������긝긞긟긠긡긢긣긤긥긦긧긨긩긪긫긬긭긮긯긲긳긵긶긹긻긼������긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗깘깙깚깛깞깢깣깤깦깧깪깫깭깮깯깱깲깳깴깵깶깷깺깾깿꺀꺁꺂꺃꺆꺇꺈꺉꺊꺋꺍꺎꺏꺐꺑꺒꺓꺔꺕꺖꺗꺘꺙꺚꺛꺜꺝꺞꺟꺠꺡꺢꺣꺤꺥꺦꺧꺨꺩꺪꺫꺬꺭꺮꺯꺰꺱꺲꺳꺴꺵꺶꺷꺸꺹꺺꺻꺿껁껂껃껅껆껇껈껉껊껋껎껒껓껔껕껖껗껚껛껝껞껟껠껡껢껣껤껥�".split(""); for (a = 0; a != t[131].length; ++a) if (t[131][a].charCodeAt(0) !== 65533) { r[t[131][a]] = 33536 + a; e[33536 + a] = t[131][a] } t[132] = "�����������������������������������������������������������������껦껧껩껪껬껮껯껰껱껲껳껵껶껷껹껺껻껽껾껿꼀꼁꼂꼃꼄꼅������꼆꼉꼊꼋꼌꼎꼏꼑꼒꼓꼔꼕꼖꼗꼘꼙꼚꼛꼜꼝꼞꼟꼠꼡꼢꼣������꼤꼥꼦꼧꼨꼩꼪꼫꼮꼯꼱꼳꼵꼶꼷꼸꼹꼺꼻꼾꽀꽄꽅꽆꽇꽊꽋꽌꽍꽎꽏꽑꽒꽓꽔꽕꽖꽗꽘꽙꽚꽛꽞꽟꽠꽡꽢꽣꽦꽧꽨꽩꽪꽫꽬꽭꽮꽯꽰꽱꽲꽳꽴꽵꽶꽷꽸꽺꽻꽼꽽꽾꽿꾁꾂꾃꾅꾆꾇꾉꾊꾋꾌꾍꾎꾏꾒꾓꾔꾖꾗꾘꾙꾚꾛꾝꾞꾟꾠꾡꾢꾣꾤꾥꾦꾧꾨꾩꾪꾫꾬꾭꾮꾯꾰꾱꾲꾳꾴꾵꾶꾷꾺꾻꾽꾾�".split(""); for (a = 0; a != t[132].length; ++a) if (t[132][a].charCodeAt(0) !== 65533) { r[t[132][a]] = 33792 + a; e[33792 + a] = t[132][a] } t[133] = "�����������������������������������������������������������������꾿꿁꿂꿃꿄꿅꿆꿊꿌꿏꿐꿑꿒꿓꿕꿖꿗꿘꿙꿚꿛꿝꿞꿟꿠꿡������꿢꿣꿤꿥꿦꿧꿪꿫꿬꿭꿮꿯꿲꿳꿵꿶꿷꿹꿺꿻꿼꿽꿾꿿뀂뀃������뀅뀆뀇뀈뀉뀊뀋뀍뀎뀏뀑뀒뀓뀕뀖뀗뀘뀙뀚뀛뀞뀟뀠뀡뀢뀣뀤뀥뀦뀧뀩뀪뀫뀬뀭뀮뀯뀰뀱뀲뀳뀴뀵뀶뀷뀸뀹뀺뀻뀼뀽뀾뀿끀끁끂끃끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞끟끠끡끢끣끤끥끦끧끨끩끪끫끬끭끮끯끰끱끲끳끴끵끶끷끸끹끺끻끾끿낁낂낃낅낆낇낈낉낊낋낎낐낒낓낔낕낖낗낛낝낞낣낤�".split(""); for (a = 0; a != t[133].length; ++a) if (t[133][a].charCodeAt(0) !== 65533) { r[t[133][a]] = 34048 + a; e[34048 + a] = t[133][a] } t[134] = "�����������������������������������������������������������������낥낦낧낪낰낲낶낷낹낺낻낽낾낿냀냁냂냃냆냊냋냌냍냎냏냒������냓냕냖냗냙냚냛냜냝냞냟냡냢냣냤냦냧냨냩냪냫냬냭냮냯냰������냱냲냳냴냵냶냷냸냹냺냻냼냽냾냿넀넁넂넃넄넅넆넇넊넍넎넏넑넔넕넖넗넚넞넟넠넡넢넦넧넩넪넫넭넮넯넰넱넲넳넶넺넻넼넽넾넿녂녃녅녆녇녉녊녋녌녍녎녏녒녓녖녗녙녚녛녝녞녟녡녢녣녤녥녦녧녨녩녪녫녬녭녮녯녰녱녲녳녴녵녶녷녺녻녽녾녿놁놃놄놅놆놇놊놌놎놏놐놑놕놖놗놙놚놛놝�".split(""); for (a = 0; a != t[134].length; ++a) if (t[134][a].charCodeAt(0) !== 65533) { r[t[134][a]] = 34304 + a; e[34304 + a] = t[134][a] } t[135] = "�����������������������������������������������������������������놞놟놠놡놢놣놤놥놦놧놩놪놫놬놭놮놯놰놱놲놳놴놵놶놷놸������놹놺놻놼놽놾놿뇀뇁뇂뇃뇄뇅뇆뇇뇈뇉뇊뇋뇍뇎뇏뇑뇒뇓뇕������뇖뇗뇘뇙뇚뇛뇞뇠뇡뇢뇣뇤뇥뇦뇧뇪뇫뇭뇮뇯뇱뇲뇳뇴뇵뇶뇷뇸뇺뇼뇾뇿눀눁눂눃눆눇눉눊눍눎눏눐눑눒눓눖눘눚눛눜눝눞눟눡눢눣눤눥눦눧눨눩눪눫눬눭눮눯눰눱눲눳눵눶눷눸눹눺눻눽눾눿뉀뉁뉂뉃뉄뉅뉆뉇뉈뉉뉊뉋뉌뉍뉎뉏뉐뉑뉒뉓뉔뉕뉖뉗뉙뉚뉛뉝뉞뉟뉡뉢뉣뉤뉥뉦뉧뉪뉫뉬뉭뉮�".split(""); for (a = 0; a != t[135].length; ++a) if (t[135][a].charCodeAt(0) !== 65533) { r[t[135][a]] = 34560 + a; e[34560 + a] = t[135][a] } t[136] = "�����������������������������������������������������������������뉯뉰뉱뉲뉳뉶뉷뉸뉹뉺뉻뉽뉾뉿늀늁늂늃늆늇늈늊늋늌늍늎������늏늒늓늕늖늗늛늜늝늞늟늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷������늸늹늺늻늼늽늾늿닀닁닂닃닄닅닆닇닊닋닍닎닏닑닓닔닕닖닗닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉댊댋댌댍댎댏댒댖댗댘댙댚댛댝댞댟댠댡댢댣댤댥댦댧댨댩댪댫댬댭댮댯댰댱댲댳댴댵댶댷댸댹댺댻댼댽댾댿덀덁덂덃덄덅덆덇덈덉덊덋덌덍덎덏덐덑덒덓덗덙덚덝덠덡덢덣�".split(""); for (a = 0; a != t[136].length; ++a) if (t[136][a].charCodeAt(0) !== 65533) { r[t[136][a]] = 34816 + a; e[34816 + a] = t[136][a] } t[137] = "�����������������������������������������������������������������덦덨덪덬덭덯덲덳덵덶덷덹덺덻덼덽덾덿뎂뎆뎇뎈뎉뎊뎋뎍������뎎뎏뎑뎒뎓뎕뎖뎗뎘뎙뎚뎛뎜뎝뎞뎟뎢뎣뎤뎥뎦뎧뎩뎪뎫뎭������뎮뎯뎰뎱뎲뎳뎴뎵뎶뎷뎸뎹뎺뎻뎼뎽뎾뎿돀돁돂돃돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩돪돫돬돭돮돯돰돱돲돳돴돵돶돷돸돹돺돻돽돾돿됀됁됂됃됄됅됆됇됈됉됊됋됌됍됎됏됑됒됓됔됕됖됗됙됚됛됝됞됟됡됢됣됤됥됦됧됪됬됭됮됯됰됱됲됳됵됶됷됸됹됺됻됼됽됾됿둀둁둂둃둄�".split(""); for (a = 0; a != t[137].length; ++a) if (t[137][a].charCodeAt(0) !== 65533) { r[t[137][a]] = 35072 + a; e[35072 + a] = t[137][a] } t[138] = "�����������������������������������������������������������������둅둆둇둈둉둊둋둌둍둎둏둒둓둕둖둗둙둚둛둜둝둞둟둢둤둦������둧둨둩둪둫둭둮둯둰둱둲둳둴둵둶둷둸둹둺둻둼둽둾둿뒁뒂������뒃뒄뒅뒆뒇뒉뒊뒋뒌뒍뒎뒏뒐뒑뒒뒓뒔뒕뒖뒗뒘뒙뒚뒛뒜뒞뒟뒠뒡뒢뒣뒥뒦뒧뒩뒪뒫뒭뒮뒯뒰뒱뒲뒳뒴뒶뒸뒺뒻뒼뒽뒾뒿듁듂듃듅듆듇듉듊듋듌듍듎듏듑듒듓듔듖듗듘듙듚듛듞듟듡듢듥듧듨듩듪듫듮듰듲듳듴듵듶듷듹듺듻듼듽듾듿딀딁딂딃딄딅딆딇딈딉딊딋딌딍딎딏딐딑딒딓딖딗딙딚딝�".split(""); for (a = 0; a != t[138].length; ++a) if (t[138][a].charCodeAt(0) !== 65533) { r[t[138][a]] = 35328 + a; e[35328 + a] = t[138][a] } t[139] = "�����������������������������������������������������������������딞딟딠딡딢딣딦딫딬딭딮딯딲딳딵딶딷딹딺딻딼딽딾딿땂땆������땇땈땉땊땎땏땑땒땓땕땖땗땘땙땚땛땞땢땣땤땥땦땧땨땩땪������땫땬땭땮땯땰땱땲땳땴땵땶땷땸땹땺땻땼땽땾땿떀떁떂떃떄떅떆떇떈떉떊떋떌떍떎떏떐떑떒떓떔떕떖떗떘떙떚떛떜떝떞떟떢떣떥떦떧떩떬떭떮떯떲떶떷떸떹떺떾떿뗁뗂뗃뗅뗆뗇뗈뗉뗊뗋뗎뗒뗓뗔뗕뗖뗗뗙뗚뗛뗜뗝뗞뗟뗠뗡뗢뗣뗤뗥뗦뗧뗨뗩뗪뗫뗭뗮뗯뗰뗱뗲뗳뗴뗵뗶뗷뗸뗹뗺뗻뗼뗽뗾뗿�".split(""); for (a = 0; a != t[139].length; ++a) if (t[139][a].charCodeAt(0) !== 65533) { r[t[139][a]] = 35584 + a; e[35584 + a] = t[139][a] } t[140] = "�����������������������������������������������������������������똀똁똂똃똄똅똆똇똈똉똊똋똌똍똎똏똒똓똕똖똗똙똚똛똜똝������똞똟똠똡똢똣똤똦똧똨똩똪똫똭똮똯똰똱똲똳똵똶똷똸똹똺������똻똼똽똾똿뙀뙁뙂뙃뙄뙅뙆뙇뙉뙊뙋뙌뙍뙎뙏뙐뙑뙒뙓뙔뙕뙖뙗뙘뙙뙚뙛뙜뙝뙞뙟뙠뙡뙢뙣뙥뙦뙧뙩뙪뙫뙬뙭뙮뙯뙰뙱뙲뙳뙴뙵뙶뙷뙸뙹뙺뙻뙼뙽뙾뙿뚀뚁뚂뚃뚄뚅뚆뚇뚈뚉뚊뚋뚌뚍뚎뚏뚐뚑뚒뚓뚔뚕뚖뚗뚘뚙뚚뚛뚞뚟뚡뚢뚣뚥뚦뚧뚨뚩뚪뚭뚮뚯뚰뚲뚳뚴뚵뚶뚷뚸뚹뚺뚻뚼뚽뚾뚿뛀뛁뛂�".split(""); for (a = 0; a != t[140].length; ++a) if (t[140][a].charCodeAt(0) !== 65533) { r[t[140][a]] = 35840 + a; e[35840 + a] = t[140][a] } t[141] = "�����������������������������������������������������������������뛃뛄뛅뛆뛇뛈뛉뛊뛋뛌뛍뛎뛏뛐뛑뛒뛓뛕뛖뛗뛘뛙뛚뛛뛜뛝������뛞뛟뛠뛡뛢뛣뛤뛥뛦뛧뛨뛩뛪뛫뛬뛭뛮뛯뛱뛲뛳뛵뛶뛷뛹뛺������뛻뛼뛽뛾뛿뜂뜃뜄뜆뜇뜈뜉뜊뜋뜌뜍뜎뜏뜐뜑뜒뜓뜔뜕뜖뜗뜘뜙뜚뜛뜜뜝뜞뜟뜠뜡뜢뜣뜤뜥뜦뜧뜪뜫뜭뜮뜱뜲뜳뜴뜵뜶뜷뜺뜼뜽뜾뜿띀띁띂띃띅띆띇띉띊띋띍띎띏띐띑띒띓띖띗띘띙띚띛띜띝띞띟띡띢띣띥띦띧띩띪띫띬띭띮띯띲띴띶띷띸띹띺띻띾띿랁랂랃랅랆랇랈랉랊랋랎랓랔랕랚랛랝랞�".split(""); for (a = 0; a != t[141].length; ++a) if (t[141][a].charCodeAt(0) !== 65533) { r[t[141][a]] = 36096 + a; e[36096 + a] = t[141][a] } t[142] = "�����������������������������������������������������������������랟랡랢랣랤랥랦랧랪랮랯랰랱랲랳랶랷랹랺랻랼랽랾랿럀럁������럂럃럄럅럆럈럊럋럌럍럎럏럐럑럒럓럔럕럖럗럘럙럚럛럜럝������럞럟럠럡럢럣럤럥럦럧럨럩럪럫럮럯럱럲럳럵럶럷럸럹럺럻럾렂렃렄렅렆렊렋렍렎렏렑렒렓렔렕렖렗렚렜렞렟렠렡렢렣렦렧렩렪렫렭렮렯렰렱렲렳렶렺렻렼렽렾렿롁롂롃롅롆롇롈롉롊롋롌롍롎롏롐롒롔롕롖롗롘롙롚롛롞롟롡롢롣롥롦롧롨롩롪롫롮롰롲롳롴롵롶롷롹롺롻롽롾롿뢀뢁뢂뢃뢄�".split(""); for (a = 0; a != t[142].length; ++a) if (t[142][a].charCodeAt(0) !== 65533) { r[t[142][a]] = 36352 + a; e[36352 + a] = t[142][a] } t[143] = "�����������������������������������������������������������������뢅뢆뢇뢈뢉뢊뢋뢌뢎뢏뢐뢑뢒뢓뢔뢕뢖뢗뢘뢙뢚뢛뢜뢝뢞뢟������뢠뢡뢢뢣뢤뢥뢦뢧뢩뢪뢫뢬뢭뢮뢯뢱뢲뢳뢵뢶뢷뢹뢺뢻뢼뢽������뢾뢿룂룄룆룇룈룉룊룋룍룎룏룑룒룓룕룖룗룘룙룚룛룜룞룠룢룣룤룥룦룧룪룫룭룮룯룱룲룳룴룵룶룷룺룼룾룿뤀뤁뤂뤃뤅뤆뤇뤈뤉뤊뤋뤌뤍뤎뤏뤐뤑뤒뤓뤔뤕뤖뤗뤙뤚뤛뤜뤝뤞뤟뤡뤢뤣뤤뤥뤦뤧뤨뤩뤪뤫뤬뤭뤮뤯뤰뤱뤲뤳뤴뤵뤶뤷뤸뤹뤺뤻뤾뤿륁륂륃륅륆륇륈륉륊륋륍륎륐륒륓륔륕륖륗�".split(""); for (a = 0; a != t[143].length; ++a) if (t[143][a].charCodeAt(0) !== 65533) { r[t[143][a]] = 36608 + a; e[36608 + a] = t[143][a] } t[144] = "�����������������������������������������������������������������륚륛륝륞륟륡륢륣륤륥륦륧륪륬륮륯륰륱륲륳륶륷륹륺륻륽������륾륿릀릁릂릃릆릈릋릌릏릐릑릒릓릔릕릖릗릘릙릚릛릜릝릞������릟릠릡릢릣릤릥릦릧릨릩릪릫릮릯릱릲릳릵릶릷릸릹릺릻릾맀맂맃맄맅맆맇맊맋맍맓맔맕맖맗맚맜맟맠맢맦맧맩맪맫맭맮맯맰맱맲맳맶맻맼맽맾맿먂먃먄먅먆먇먉먊먋먌먍먎먏먐먑먒먓먔먖먗먘먙먚먛먜먝먞먟먠먡먢먣먤먥먦먧먨먩먪먫먬먭먮먯먰먱먲먳먴먵먶먷먺먻먽먾먿멁멃멄멅멆�".split(""); for (a = 0; a != t[144].length; ++a) if (t[144][a].charCodeAt(0) !== 65533) { r[t[144][a]] = 36864 + a; e[36864 + a] = t[144][a] } t[145] = "�����������������������������������������������������������������멇멊멌멏멐멑멒멖멗멙멚멛멝멞멟멠멡멢멣멦멪멫멬멭멮멯������멲멳멵멶멷멹멺멻멼멽멾멿몀몁몂몆몈몉몊몋몍몎몏몐몑몒������몓몔몕몖몗몘몙몚몛몜몝몞몟몠몡몢몣몤몥몦몧몪몭몮몯몱몳몴몵몶몷몺몼몾몿뫀뫁뫂뫃뫅뫆뫇뫉뫊뫋뫌뫍뫎뫏뫐뫑뫒뫓뫔뫕뫖뫗뫚뫛뫜뫝뫞뫟뫠뫡뫢뫣뫤뫥뫦뫧뫨뫩뫪뫫뫬뫭뫮뫯뫰뫱뫲뫳뫴뫵뫶뫷뫸뫹뫺뫻뫽뫾뫿묁묂묃묅묆묇묈묉묊묋묌묎묐묒묓묔묕묖묗묙묚묛묝묞묟묡묢묣묤묥묦묧�".split(""); for (a = 0; a != t[145].length; ++a) if (t[145][a].charCodeAt(0) !== 65533) { r[t[145][a]] = 37120 + a; e[37120 + a] = t[145][a] } t[146] = "�����������������������������������������������������������������묨묪묬묭묮묯묰묱묲묳묷묹묺묿뭀뭁뭂뭃뭆뭈뭊뭋뭌뭎뭑뭒������뭓뭕뭖뭗뭙뭚뭛뭜뭝뭞뭟뭠뭢뭤뭥뭦뭧뭨뭩뭪뭫뭭뭮뭯뭰뭱������뭲뭳뭴뭵뭶뭷뭸뭹뭺뭻뭼뭽뭾뭿뮀뮁뮂뮃뮄뮅뮆뮇뮉뮊뮋뮍뮎뮏뮑뮒뮓뮔뮕뮖뮗뮘뮙뮚뮛뮜뮝뮞뮟뮠뮡뮢뮣뮥뮦뮧뮩뮪뮫뮭뮮뮯뮰뮱뮲뮳뮵뮶뮸뮹뮺뮻뮼뮽뮾뮿믁믂믃믅믆믇믉믊믋믌믍믎믏믑믒믔믕믖믗믘믙믚믛믜믝믞믟믠믡믢믣믤믥믦믧믨믩믪믫믬믭믮믯믰믱믲믳믴믵믶믷믺믻믽믾밁�".split(""); for (a = 0; a != t[146].length; ++a) if (t[146][a].charCodeAt(0) !== 65533) { r[t[146][a]] = 37376 + a; e[37376 + a] = t[146][a] } t[147] = "�����������������������������������������������������������������밃밄밅밆밇밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵������밶밷밹밺밻밼밽밾밿뱂뱆뱇뱈뱊뱋뱎뱏뱑뱒뱓뱔뱕뱖뱗뱘뱙������뱚뱛뱜뱞뱟뱠뱡뱢뱣뱤뱥뱦뱧뱨뱩뱪뱫뱬뱭뱮뱯뱰뱱뱲뱳뱴뱵뱶뱷뱸뱹뱺뱻뱼뱽뱾뱿벀벁벂벃벆벇벉벊벍벏벐벑벒벓벖벘벛벜벝벞벟벢벣벥벦벩벪벫벬벭벮벯벲벶벷벸벹벺벻벾벿볁볂볃볅볆볇볈볉볊볋볌볎볒볓볔볖볗볙볚볛볝볞볟볠볡볢볣볤볥볦볧볨볩볪볫볬볭볮볯볰볱볲볳볷볹볺볻볽�".split(""); for (a = 0; a != t[147].length; ++a) if (t[147][a].charCodeAt(0) !== 65533) { r[t[147][a]] = 37632 + a; e[37632 + a] = t[147][a] } t[148] = "�����������������������������������������������������������������볾볿봀봁봂봃봆봈봊봋봌봍봎봏봑봒봓봕봖봗봘봙봚봛봜봝������봞봟봠봡봢봣봥봦봧봨봩봪봫봭봮봯봰봱봲봳봴봵봶봷봸봹������봺봻봼봽봾봿뵁뵂뵃뵄뵅뵆뵇뵊뵋뵍뵎뵏뵑뵒뵓뵔뵕뵖뵗뵚뵛뵜뵝뵞뵟뵠뵡뵢뵣뵥뵦뵧뵩뵪뵫뵬뵭뵮뵯뵰뵱뵲뵳뵴뵵뵶뵷뵸뵹뵺뵻뵼뵽뵾뵿붂붃붅붆붋붌붍붎붏붒붔붖붗붘붛붝붞붟붠붡붢붣붥붦붧붨붩붪붫붬붭붮붯붱붲붳붴붵붶붷붹붺붻붼붽붾붿뷀뷁뷂뷃뷄뷅뷆뷇뷈뷉뷊뷋뷌뷍뷎뷏뷐뷑�".split(""); for (a = 0; a != t[148].length; ++a) if (t[148][a].charCodeAt(0) !== 65533) { r[t[148][a]] = 37888 + a; e[37888 + a] = t[148][a] } t[149] = "�����������������������������������������������������������������뷒뷓뷖뷗뷙뷚뷛뷝뷞뷟뷠뷡뷢뷣뷤뷥뷦뷧뷨뷪뷫뷬뷭뷮뷯뷱������뷲뷳뷵뷶뷷뷹뷺뷻뷼뷽뷾뷿븁븂븄븆븇븈븉븊븋븎븏븑븒븓������븕븖븗븘븙븚븛븞븠븡븢븣븤븥븦븧븨븩븪븫븬븭븮븯븰븱븲븳븴븵븶븷븸븹븺븻븼븽븾븿빀빁빂빃빆빇빉빊빋빍빏빐빑빒빓빖빘빜빝빞빟빢빣빥빦빧빩빫빬빭빮빯빲빶빷빸빹빺빾빿뺁뺂뺃뺅뺆뺇뺈뺉뺊뺋뺎뺒뺓뺔뺕뺖뺗뺚뺛뺜뺝뺞뺟뺠뺡뺢뺣뺤뺥뺦뺧뺩뺪뺫뺬뺭뺮뺯뺰뺱뺲뺳뺴뺵뺶뺷�".split(""); for (a = 0; a != t[149].length; ++a) if (t[149][a].charCodeAt(0) !== 65533) { r[t[149][a]] = 38144 + a; e[38144 + a] = t[149][a] } t[150] = "�����������������������������������������������������������������뺸뺹뺺뺻뺼뺽뺾뺿뻀뻁뻂뻃뻄뻅뻆뻇뻈뻉뻊뻋뻌뻍뻎뻏뻒뻓������뻕뻖뻙뻚뻛뻜뻝뻞뻟뻡뻢뻦뻧뻨뻩뻪뻫뻭뻮뻯뻰뻱뻲뻳뻴뻵������뻶뻷뻸뻹뻺뻻뻼뻽뻾뻿뼀뼂뼃뼄뼅뼆뼇뼊뼋뼌뼍뼎뼏뼐뼑뼒뼓뼔뼕뼖뼗뼚뼞뼟뼠뼡뼢뼣뼤뼥뼦뼧뼨뼩뼪뼫뼬뼭뼮뼯뼰뼱뼲뼳뼴뼵뼶뼷뼸뼹뼺뼻뼼뼽뼾뼿뽂뽃뽅뽆뽇뽉뽊뽋뽌뽍뽎뽏뽒뽓뽔뽖뽗뽘뽙뽚뽛뽜뽝뽞뽟뽠뽡뽢뽣뽤뽥뽦뽧뽨뽩뽪뽫뽬뽭뽮뽯뽰뽱뽲뽳뽴뽵뽶뽷뽸뽹뽺뽻뽼뽽뽾뽿뾀뾁뾂�".split(""); for (a = 0; a != t[150].length; ++a) if (t[150][a].charCodeAt(0) !== 65533) { r[t[150][a]] = 38400 + a; e[38400 + a] = t[150][a] } t[151] = "�����������������������������������������������������������������뾃뾄뾅뾆뾇뾈뾉뾊뾋뾌뾍뾎뾏뾐뾑뾒뾓뾕뾖뾗뾘뾙뾚뾛뾜뾝������뾞뾟뾠뾡뾢뾣뾤뾥뾦뾧뾨뾩뾪뾫뾬뾭뾮뾯뾱뾲뾳뾴뾵뾶뾷뾸������뾹뾺뾻뾼뾽뾾뾿뿀뿁뿂뿃뿄뿆뿇뿈뿉뿊뿋뿎뿏뿑뿒뿓뿕뿖뿗뿘뿙뿚뿛뿝뿞뿠뿢뿣뿤뿥뿦뿧뿨뿩뿪뿫뿬뿭뿮뿯뿰뿱뿲뿳뿴뿵뿶뿷뿸뿹뿺뿻뿼뿽뿾뿿쀀쀁쀂쀃쀄쀅쀆쀇쀈쀉쀊쀋쀌쀍쀎쀏쀐쀑쀒쀓쀔쀕쀖쀗쀘쀙쀚쀛쀜쀝쀞쀟쀠쀡쀢쀣쀤쀥쀦쀧쀨쀩쀪쀫쀬쀭쀮쀯쀰쀱쀲쀳쀴쀵쀶쀷쀸쀹쀺쀻쀽쀾쀿�".split(""); for (a = 0; a != t[151].length; ++a) if (t[151][a].charCodeAt(0) !== 65533) { r[t[151][a]] = 38656 + a; e[38656 + a] = t[151][a] } t[152] = "�����������������������������������������������������������������쁀쁁쁂쁃쁄쁅쁆쁇쁈쁉쁊쁋쁌쁍쁎쁏쁐쁒쁓쁔쁕쁖쁗쁙쁚쁛������쁝쁞쁟쁡쁢쁣쁤쁥쁦쁧쁪쁫쁬쁭쁮쁯쁰쁱쁲쁳쁴쁵쁶쁷쁸쁹������쁺쁻쁼쁽쁾쁿삀삁삂삃삄삅삆삇삈삉삊삋삌삍삎삏삒삓삕삖삗삙삚삛삜삝삞삟삢삤삦삧삨삩삪삫삮삱삲삷삸삹삺삻삾샂샃샄샆샇샊샋샍샎샏샑샒샓샔샕샖샗샚샞샟샠샡샢샣샦샧샩샪샫샭샮샯샰샱샲샳샶샸샺샻샼샽샾샿섁섂섃섅섆섇섉섊섋섌섍섎섏섑섒섓섔섖섗섘섙섚섛섡섢섥섨섩섪섫섮�".split(""); for (a = 0; a != t[152].length; ++a) if (t[152][a].charCodeAt(0) !== 65533) { r[t[152][a]] = 38912 + a; e[38912 + a] = t[152][a] } t[153] = "�����������������������������������������������������������������섲섳섴섵섷섺섻섽섾섿셁셂셃셄셅셆셇셊셎셏셐셑셒셓셖셗������셙셚셛셝셞셟셠셡셢셣셦셪셫셬셭셮셯셱셲셳셵셶셷셹셺셻������셼셽셾셿솀솁솂솃솄솆솇솈솉솊솋솏솑솒솓솕솗솘솙솚솛솞솠솢솣솤솦솧솪솫솭솮솯솱솲솳솴솵솶솷솸솹솺솻솼솾솿쇀쇁쇂쇃쇅쇆쇇쇉쇊쇋쇍쇎쇏쇐쇑쇒쇓쇕쇖쇙쇚쇛쇜쇝쇞쇟쇡쇢쇣쇥쇦쇧쇩쇪쇫쇬쇭쇮쇯쇲쇴쇵쇶쇷쇸쇹쇺쇻쇾쇿숁숂숃숅숆숇숈숉숊숋숎숐숒숓숔숕숖숗숚숛숝숞숡숢숣�".split(""); for (a = 0; a != t[153].length; ++a) if (t[153][a].charCodeAt(0) !== 65533) { r[t[153][a]] = 39168 + a; e[39168 + a] = t[153][a] } t[154] = "�����������������������������������������������������������������숤숥숦숧숪숬숮숰숳숵숶숷숸숹숺숻숼숽숾숿쉀쉁쉂쉃쉄쉅������쉆쉇쉉쉊쉋쉌쉍쉎쉏쉒쉓쉕쉖쉗쉙쉚쉛쉜쉝쉞쉟쉡쉢쉣쉤쉦������쉧쉨쉩쉪쉫쉮쉯쉱쉲쉳쉵쉶쉷쉸쉹쉺쉻쉾슀슂슃슄슅슆슇슊슋슌슍슎슏슑슒슓슔슕슖슗슙슚슜슞슟슠슡슢슣슦슧슩슪슫슮슯슰슱슲슳슶슸슺슻슼슽슾슿싀싁싂싃싄싅싆싇싈싉싊싋싌싍싎싏싐싑싒싓싔싕싖싗싘싙싚싛싞싟싡싢싥싦싧싨싩싪싮싰싲싳싴싵싷싺싽싾싿쌁쌂쌃쌄쌅쌆쌇쌊쌋쌎쌏�".split(""); for (a = 0; a != t[154].length; ++a) if (t[154][a].charCodeAt(0) !== 65533) { r[t[154][a]] = 39424 + a; e[39424 + a] = t[154][a] } t[155] = "�����������������������������������������������������������������쌐쌑쌒쌖쌗쌙쌚쌛쌝쌞쌟쌠쌡쌢쌣쌦쌧쌪쌫쌬쌭쌮쌯쌰쌱쌲������쌳쌴쌵쌶쌷쌸쌹쌺쌻쌼쌽쌾쌿썀썁썂썃썄썆썇썈썉썊썋썌썍������썎썏썐썑썒썓썔썕썖썗썘썙썚썛썜썝썞썟썠썡썢썣썤썥썦썧썪썫썭썮썯썱썳썴썵썶썷썺썻썾썿쎀쎁쎂쎃쎅쎆쎇쎉쎊쎋쎍쎎쎏쎐쎑쎒쎓쎔쎕쎖쎗쎘쎙쎚쎛쎜쎝쎞쎟쎠쎡쎢쎣쎤쎥쎦쎧쎨쎩쎪쎫쎬쎭쎮쎯쎰쎱쎲쎳쎴쎵쎶쎷쎸쎹쎺쎻쎼쎽쎾쎿쏁쏂쏃쏄쏅쏆쏇쏈쏉쏊쏋쏌쏍쏎쏏쏐쏑쏒쏓쏔쏕쏖쏗쏚�".split(""); for (a = 0; a != t[155].length; ++a) if (t[155][a].charCodeAt(0) !== 65533) { r[t[155][a]] = 39680 + a; e[39680 + a] = t[155][a] } t[156] = "�����������������������������������������������������������������쏛쏝쏞쏡쏣쏤쏥쏦쏧쏪쏫쏬쏮쏯쏰쏱쏲쏳쏶쏷쏹쏺쏻쏼쏽쏾������쏿쐀쐁쐂쐃쐄쐅쐆쐇쐉쐊쐋쐌쐍쐎쐏쐑쐒쐓쐔쐕쐖쐗쐘쐙쐚������쐛쐜쐝쐞쐟쐠쐡쐢쐣쐥쐦쐧쐨쐩쐪쐫쐭쐮쐯쐱쐲쐳쐵쐶쐷쐸쐹쐺쐻쐾쐿쑀쑁쑂쑃쑄쑅쑆쑇쑉쑊쑋쑌쑍쑎쑏쑐쑑쑒쑓쑔쑕쑖쑗쑘쑙쑚쑛쑜쑝쑞쑟쑠쑡쑢쑣쑦쑧쑩쑪쑫쑭쑮쑯쑰쑱쑲쑳쑶쑷쑸쑺쑻쑼쑽쑾쑿쒁쒂쒃쒄쒅쒆쒇쒈쒉쒊쒋쒌쒍쒎쒏쒐쒑쒒쒓쒕쒖쒗쒘쒙쒚쒛쒝쒞쒟쒠쒡쒢쒣쒤쒥쒦쒧쒨쒩�".split(""); for (a = 0; a != t[156].length; ++a) if (t[156][a].charCodeAt(0) !== 65533) { r[t[156][a]] = 39936 + a; e[39936 + a] = t[156][a] } t[157] = "�����������������������������������������������������������������쒪쒫쒬쒭쒮쒯쒰쒱쒲쒳쒴쒵쒶쒷쒹쒺쒻쒽쒾쒿쓀쓁쓂쓃쓄쓅������쓆쓇쓈쓉쓊쓋쓌쓍쓎쓏쓐쓑쓒쓓쓔쓕쓖쓗쓘쓙쓚쓛쓜쓝쓞쓟������쓠쓡쓢쓣쓤쓥쓦쓧쓨쓪쓫쓬쓭쓮쓯쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂씃씄씅씆씇씈씉씊씋씍씎씏씑씒씓씕씖씗씘씙씚씛씝씞씟씠씡씢씣씤씥씦씧씪씫씭씮씯씱씲씳씴씵씶씷씺씼씾씿앀앁앂앃앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩앪앫앬앭앮앯앲앶앷앸앹앺앻앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔�".split(""); for (a = 0; a != t[157].length; ++a) if (t[157][a].charCodeAt(0) !== 65533) { r[t[157][a]] = 40192 + a; e[40192 + a] = t[157][a] } t[158] = "�����������������������������������������������������������������얖얙얚얛얝얞얟얡얢얣얤얥얦얧얨얪얫얬얭얮얯얰얱얲얳얶������얷얺얿엀엁엂엃엋엍엏엒엓엕엖엗엙엚엛엜엝엞엟엢엤엦엧������엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑옒옓옔옕옖옗옚옝옞옟옠옡옢옣옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉왊왋왌왍왎왏왒왖왗왘왙왚왛왞왟왡왢왣왤왥왦왧왨왩왪왫왭왮왰왲왳왴왵왶왷왺왻왽왾왿욁욂욃욄욅욆욇욊욌욎욏욐욑욒욓욖욗욙욚욛욝욞욟욠욡욢욣욦�".split(""); for (a = 0; a != t[158].length; ++a) if (t[158][a].charCodeAt(0) !== 65533) { r[t[158][a]] = 40448 + a; e[40448 + a] = t[158][a] } t[159] = "�����������������������������������������������������������������욨욪욫욬욭욮욯욲욳욵욶욷욻욼욽욾욿웂웄웆웇웈웉웊웋웎������웏웑웒웓웕웖웗웘웙웚웛웞웟웢웣웤웥웦웧웪웫웭웮웯웱웲������웳웴웵웶웷웺웻웼웾웿윀윁윂윃윆윇윉윊윋윍윎윏윐윑윒윓윖윘윚윛윜윝윞윟윢윣윥윦윧윩윪윫윬윭윮윯윲윴윶윸윹윺윻윾윿읁읂읃읅읆읇읈읉읋읎읐읙읚읛읝읞읟읡읢읣읤읥읦읧읩읪읬읭읮읯읰읱읲읳읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛잜잝잞잟잢잧잨잩잪잫잮잯잱잲잳잵잶잷�".split(""); for (a = 0; a != t[159].length; ++a) if (t[159][a].charCodeAt(0) !== 65533) { r[t[159][a]] = 40704 + a; e[40704 + a] = t[159][a] } t[160] = "�����������������������������������������������������������������잸잹잺잻잾쟂쟃쟄쟅쟆쟇쟊쟋쟍쟏쟑쟒쟓쟔쟕쟖쟗쟙쟚쟛쟜������쟞쟟쟠쟡쟢쟣쟥쟦쟧쟩쟪쟫쟭쟮쟯쟰쟱쟲쟳쟴쟵쟶쟷쟸쟹쟺������쟻쟼쟽쟾쟿젂젃젅젆젇젉젋젌젍젎젏젒젔젗젘젙젚젛젞젟젡젢젣젥젦젧젨젩젪젫젮젰젲젳젴젵젶젷젹젺젻젽젾젿졁졂졃졄졅졆졇졊졋졎졏졐졑졒졓졕졖졗졘졙졚졛졜졝졞졟졠졡졢졣졤졥졦졧졨졩졪졫졬졭졮졯졲졳졵졶졷졹졻졼졽졾졿좂좄좈좉좊좎좏좐좑좒좓좕좖좗좘좙좚좛좜좞좠좢좣좤�".split(""); for (a = 0; a != t[160].length; ++a) if (t[160][a].charCodeAt(0) !== 65533) { r[t[160][a]] = 40960 + a; e[40960 + a] = t[160][a] } t[161] = "�����������������������������������������������������������������좥좦좧좩좪좫좬좭좮좯좰좱좲좳좴좵좶좷좸좹좺좻좾좿죀죁������죂죃죅죆죇죉죊죋죍죎죏죐죑죒죓죖죘죚죛죜죝죞죟죢죣죥������죦죧죨죩죪죫죬죭죮죯죰죱죲죳죴죶죷죸죹죺죻죾죿줁줂줃줇줈줉줊줋줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈〉《》「」『』【】±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬�".split(""); for (a = 0; a != t[161].length; ++a) if (t[161][a].charCodeAt(0) !== 65533) { r[t[161][a]] = 41216 + a; e[41216 + a] = t[161][a] } t[162] = "�����������������������������������������������������������������줐줒줓줔줕줖줗줙줚줛줜줝줞줟줠줡줢줣줤줥줦줧줨줩줪줫������줭줮줯줰줱줲줳줵줶줷줸줹줺줻줼줽줾줿쥀쥁쥂쥃쥄쥅쥆쥇������쥈쥉쥊쥋쥌쥍쥎쥏쥒쥓쥕쥖쥗쥙쥚쥛쥜쥝쥞쥟쥢쥤쥥쥦쥧쥨쥩쥪쥫쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®������������������������".split(""); for (a = 0; a != t[162].length; ++a) if (t[162][a].charCodeAt(0) !== 65533) { r[t[162][a]] = 41472 + a; e[41472 + a] = t[162][a] } t[163] = "�����������������������������������������������������������������쥱쥲쥳쥵쥶쥷쥸쥹쥺쥻쥽쥾쥿즀즁즂즃즄즅즆즇즊즋즍즎즏������즑즒즓즔즕즖즗즚즜즞즟즠즡즢즣즤즥즦즧즨즩즪즫즬즭즮������즯즰즱즲즳즴즵즶즷즸즹즺즻즼즽즾즿짂짃짅짆짉짋짌짍짎짏짒짔짗짘짛!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[₩]^_`abcdefghijklmnopqrstuvwxyz{|} ̄�".split(""); for (a = 0; a != t[163].length; ++a) if (t[163][a].charCodeAt(0) !== 65533) { r[t[163][a]] = 41728 + a; e[41728 + a] = t[163][a] } t[164] = "�����������������������������������������������������������������짞짟짡짣짥짦짨짩짪짫짮짲짳짴짵짶짷짺짻짽짾짿쨁쨂쨃쨄������쨅쨆쨇쨊쨎쨏쨐쨑쨒쨓쨕쨖쨗쨙쨚쨛쨜쨝쨞쨟쨠쨡쨢쨣쨤쨥������쨦쨧쨨쨪쨫쨬쨭쨮쨯쨰쨱쨲쨳쨴쨵쨶쨷쨸쨹쨺쨻쨼쨽쨾쨿쩀쩁쩂쩃쩄쩅쩆ㄱㄲㄳㄴㄵㄶㄷㄸㄹㄺㄻㄼㄽㄾㄿㅀㅁㅂㅃㅄㅅㅆㅇㅈㅉㅊㅋㅌㅍㅎㅏㅐㅑㅒㅓㅔㅕㅖㅗㅘㅙㅚㅛㅜㅝㅞㅟㅠㅡㅢㅣㅤㅥㅦㅧㅨㅩㅪㅫㅬㅭㅮㅯㅰㅱㅲㅳㅴㅵㅶㅷㅸㅹㅺㅻㅼㅽㅾㅿㆀㆁㆂㆃㆄㆅㆆㆇㆈㆉㆊㆋㆌㆍㆎ�".split(""); for (a = 0; a != t[164].length; ++a) if (t[164][a].charCodeAt(0) !== 65533) { r[t[164][a]] = 41984 + a; e[41984 + a] = t[164][a] } t[165] = "�����������������������������������������������������������������쩇쩈쩉쩊쩋쩎쩏쩑쩒쩓쩕쩖쩗쩘쩙쩚쩛쩞쩢쩣쩤쩥쩦쩧쩩쩪������쩫쩬쩭쩮쩯쩰쩱쩲쩳쩴쩵쩶쩷쩸쩹쩺쩻쩼쩾쩿쪀쪁쪂쪃쪅쪆������쪇쪈쪉쪊쪋쪌쪍쪎쪏쪐쪑쪒쪓쪔쪕쪖쪗쪙쪚쪛쪜쪝쪞쪟쪠쪡쪢쪣쪤쪥쪦쪧ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ�����ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ�������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�������".split(""); for (a = 0; a != t[165].length; ++a) if (t[165][a].charCodeAt(0) !== 65533) { r[t[165][a]] = 42240 + a; e[42240 + a] = t[165][a] } t[166] = "�����������������������������������������������������������������쪨쪩쪪쪫쪬쪭쪮쪯쪰쪱쪲쪳쪴쪵쪶쪷쪸쪹쪺쪻쪾쪿쫁쫂쫃쫅������쫆쫇쫈쫉쫊쫋쫎쫐쫒쫔쫕쫖쫗쫚쫛쫜쫝쫞쫟쫡쫢쫣쫤쫥쫦쫧������쫨쫩쫪쫫쫭쫮쫯쫰쫱쫲쫳쫵쫶쫷쫸쫹쫺쫻쫼쫽쫾쫿쬀쬁쬂쬃쬄쬅쬆쬇쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃╄╅╆╇╈╉╊���������������������������".split(""); for (a = 0; a != t[166].length; ++a) if (t[166][a].charCodeAt(0) !== 65533) { r[t[166][a]] = 42496 + a; e[42496 + a] = t[166][a] } t[167] = "�����������������������������������������������������������������쬋쬌쬍쬎쬏쬑쬒쬓쬕쬖쬗쬙쬚쬛쬜쬝쬞쬟쬢쬣쬤쬥쬦쬧쬨쬩������쬪쬫쬬쬭쬮쬯쬰쬱쬲쬳쬴쬵쬶쬷쬸쬹쬺쬻쬼쬽쬾쬿쭀쭂쭃쭄������쭅쭆쭇쭊쭋쭍쭎쭏쭑쭒쭓쭔쭕쭖쭗쭚쭛쭜쭞쭟쭠쭡쭢쭣쭥쭦쭧쭨쭩쭪쭫쭬㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙㎚㎛㎜㎝㎞㎟㎠㎡㎢㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰㎱㎲㎳㎴㎵㎶㎷㎸㎹㎀㎁㎂㎃㎄㎺㎻㎼㎽㎾㎿㎐㎑㎒㎓㎔Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆����������������".split(""); for (a = 0; a != t[167].length; ++a) if (t[167][a].charCodeAt(0) !== 65533) { r[t[167][a]] = 42752 + a; e[42752 + a] = t[167][a] } t[168] = "�����������������������������������������������������������������쭭쭮쭯쭰쭱쭲쭳쭴쭵쭶쭷쭺쭻쭼쭽쭾쭿쮀쮁쮂쮃쮄쮅쮆쮇쮈������쮉쮊쮋쮌쮍쮎쮏쮐쮑쮒쮓쮔쮕쮖쮗쮘쮙쮚쮛쮝쮞쮟쮠쮡쮢쮣������쮤쮥쮦쮧쮨쮩쮪쮫쮬쮭쮮쮯쮰쮱쮲쮳쮴쮵쮶쮷쮹쮺쮻쮼쮽쮾쮿쯀쯁쯂쯃쯄ÆÐªĦ�IJ�ĿŁØŒºÞŦŊ�㉠㉡㉢㉣㉤㉥㉦㉧㉨㉩㉪㉫㉬㉭㉮㉯㉰㉱㉲㉳㉴㉵㉶㉷㉸㉹㉺㉻ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮½⅓⅔¼¾⅛⅜⅝⅞�".split(""); for (a = 0; a != t[168].length; ++a) if (t[168][a].charCodeAt(0) !== 65533) { r[t[168][a]] = 43008 + a; e[43008 + a] = t[168][a] } t[169] = "�����������������������������������������������������������������쯅쯆쯇쯈쯉쯊쯋쯌쯍쯎쯏쯐쯑쯒쯓쯕쯖쯗쯘쯙쯚쯛쯜쯝쯞쯟������쯠쯡쯢쯣쯥쯦쯨쯪쯫쯬쯭쯮쯯쯰쯱쯲쯳쯴쯵쯶쯷쯸쯹쯺쯻쯼������쯽쯾쯿찀찁찂찃찄찅찆찇찈찉찊찋찎찏찑찒찓찕찖찗찘찙찚찛찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀㈁㈂㈃㈄㈅㈆㈇㈈㈉㈊㈋㈌㈍㈎㈏㈐㈑㈒㈓㈔㈕㈖㈗㈘㈙㈚㈛⒜⒝⒞⒟⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒮⒯⒰⒱⒲⒳⒴⒵⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂¹²³⁴ⁿ₁₂₃₄�".split(""); for (a = 0; a != t[169].length; ++a) if (t[169][a].charCodeAt(0) !== 65533) { r[t[169][a]] = 43264 + a; e[43264 + a] = t[169][a] } t[170] = "�����������������������������������������������������������������찥찦찪찫찭찯찱찲찳찴찵찶찷찺찿챀챁챂챃챆챇챉챊챋챍챎������챏챐챑챒챓챖챚챛챜챝챞챟챡챢챣챥챧챩챪챫챬챭챮챯챱챲������챳챴챶챷챸챹챺챻챼챽챾챿첀첁첂첃첄첅첆첇첈첉첊첋첌첍첎첏첐첑첒첓ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������".split(""); for (a = 0; a != t[170].length; ++a) if (t[170][a].charCodeAt(0) !== 65533) { r[t[170][a]] = 43520 + a; e[43520 + a] = t[170][a] } t[171] = "�����������������������������������������������������������������첔첕첖첗첚첛첝첞첟첡첢첣첤첥첦첧첪첮첯첰첱첲첳첶첷첹������첺첻첽첾첿쳀쳁쳂쳃쳆쳈쳊쳋쳌쳍쳎쳏쳑쳒쳓쳕쳖쳗쳘쳙쳚������쳛쳜쳝쳞쳟쳠쳡쳢쳣쳥쳦쳧쳨쳩쳪쳫쳭쳮쳯쳱쳲쳳쳴쳵쳶쳷쳸쳹쳺쳻쳼쳽ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������".split(""); for (a = 0; a != t[171].length; ++a) if (t[171][a].charCodeAt(0) !== 65533) { r[t[171][a]] = 43776 + a; e[43776 + a] = t[171][a] } t[172] = "�����������������������������������������������������������������쳾쳿촀촂촃촄촅촆촇촊촋촍촎촏촑촒촓촔촕촖촗촚촜촞촟촠������촡촢촣촥촦촧촩촪촫촭촮촯촰촱촲촳촴촵촶촷촸촺촻촼촽촾������촿쵀쵁쵂쵃쵄쵅쵆쵇쵈쵉쵊쵋쵌쵍쵎쵏쵐쵑쵒쵓쵔쵕쵖쵗쵘쵙쵚쵛쵝쵞쵟АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������".split(""); for (a = 0; a != t[172].length; ++a) if (t[172][a].charCodeAt(0) !== 65533) { r[t[172][a]] = 44032 + a; e[44032 + a] = t[172][a] } t[173] = "�����������������������������������������������������������������쵡쵢쵣쵥쵦쵧쵨쵩쵪쵫쵮쵰쵲쵳쵴쵵쵶쵷쵹쵺쵻쵼쵽쵾쵿춀������춁춂춃춄춅춆춇춉춊춋춌춍춎춏춐춑춒춓춖춗춙춚춛춝춞춟������춠춡춢춣춦춨춪춫춬춭춮춯춱춲춳춴춵춶춷춸춹춺춻춼춽춾춿췀췁췂췃췅�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[173].length; ++a) if (t[173][a].charCodeAt(0) !== 65533) { r[t[173][a]] = 44288 + a; e[44288 + a] = t[173][a] } t[174] = "�����������������������������������������������������������������췆췇췈췉췊췋췍췎췏췑췒췓췔췕췖췗췘췙췚췛췜췝췞췟췠췡������췢췣췤췥췦췧췩췪췫췭췮췯췱췲췳췴췵췶췷췺췼췾췿츀츁츂������츃츅츆츇츉츊츋츍츎츏츐츑츒츓츕츖츗츘츚츛츜츝츞츟츢츣츥츦츧츩츪츫�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[174].length; ++a) if (t[174][a].charCodeAt(0) !== 65533) { r[t[174][a]] = 44544 + a; e[44544 + a] = t[174][a] } t[175] = "�����������������������������������������������������������������츬츭츮츯츲츴츶츷츸츹츺츻츼츽츾츿칀칁칂칃칄칅칆칇칈칉������칊칋칌칍칎칏칐칑칒칓칔칕칖칗칚칛칝칞칢칣칤칥칦칧칪칬������칮칯칰칱칲칳칶칷칹칺칻칽칾칿캀캁캂캃캆캈캊캋캌캍캎캏캒캓캕캖캗캙�����������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[175].length; ++a) if (t[175][a].charCodeAt(0) !== 65533) { r[t[175][a]] = 44800 + a; e[44800 + a] = t[175][a] } t[176] = "�����������������������������������������������������������������캚캛캜캝캞캟캢캦캧캨캩캪캫캮캯캰캱캲캳캴캵캶캷캸캹캺������캻캼캽캾캿컀컂컃컄컅컆컇컈컉컊컋컌컍컎컏컐컑컒컓컔컕������컖컗컘컙컚컛컜컝컞컟컠컡컢컣컦컧컩컪컭컮컯컰컱컲컳컶컺컻컼컽컾컿가각간갇갈갉갊감갑값갓갔강갖갗같갚갛개객갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆�".split(""); for (a = 0; a != t[176].length; ++a) if (t[176][a].charCodeAt(0) !== 65533) { r[t[176][a]] = 45056 + a; e[45056 + a] = t[176][a] } t[177] = "�����������������������������������������������������������������켂켃켅켆켇켉켊켋켌켍켎켏켒켔켖켗켘켙켚켛켝켞켟켡켢켣������켥켦켧켨켩켪켫켮켲켳켴켵켶켷켹켺켻켼켽켾켿콀콁콂콃콄������콅콆콇콈콉콊콋콌콍콎콏콐콑콒콓콖콗콙콚콛콝콞콟콠콡콢콣콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸�".split(""); for (a = 0; a != t[177].length; ++a) if (t[177][a].charCodeAt(0) !== 65533) { r[t[177][a]] = 45312 + a; e[45312 + a] = t[177][a] } t[178] = "�����������������������������������������������������������������콭콮콯콲콳콵콶콷콹콺콻콼콽콾콿쾁쾂쾃쾄쾆쾇쾈쾉쾊쾋쾍������쾎쾏쾐쾑쾒쾓쾔쾕쾖쾗쾘쾙쾚쾛쾜쾝쾞쾟쾠쾢쾣쾤쾥쾦쾧쾩������쾪쾫쾬쾭쾮쾯쾱쾲쾳쾴쾵쾶쾷쾸쾹쾺쾻쾼쾽쾾쾿쿀쿁쿂쿃쿅쿆쿇쿈쿉쿊쿋깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙�".split(""); for (a = 0; a != t[178].length; ++a) if (t[178][a].charCodeAt(0) !== 65533) { r[t[178][a]] = 45568 + a; e[45568 + a] = t[178][a] } t[179] = "�����������������������������������������������������������������쿌쿍쿎쿏쿐쿑쿒쿓쿔쿕쿖쿗쿘쿙쿚쿛쿜쿝쿞쿟쿢쿣쿥쿦쿧쿩������쿪쿫쿬쿭쿮쿯쿲쿴쿶쿷쿸쿹쿺쿻쿽쿾쿿퀁퀂퀃퀅퀆퀇퀈퀉퀊������퀋퀌퀍퀎퀏퀐퀒퀓퀔퀕퀖퀗퀙퀚퀛퀜퀝퀞퀟퀠퀡퀢퀣퀤퀥퀦퀧퀨퀩퀪퀫퀬끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫났낭낮낯낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝�".split(""); for (a = 0; a != t[179].length; ++a) if (t[179][a].charCodeAt(0) !== 65533) { r[t[179][a]] = 45824 + a; e[45824 + a] = t[179][a] } t[180] = "�����������������������������������������������������������������퀮퀯퀰퀱퀲퀳퀶퀷퀹퀺퀻퀽퀾퀿큀큁큂큃큆큈큊큋큌큍큎큏������큑큒큓큕큖큗큙큚큛큜큝큞큟큡큢큣큤큥큦큧큨큩큪큫큮큯������큱큲큳큵큶큷큸큹큺큻큾큿킀킂킃킄킅킆킇킈킉킊킋킌킍킎킏킐킑킒킓킔뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫달닭닮닯닳담답닷닸당닺닻닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥�".split(""); for (a = 0; a != t[180].length; ++a) if (t[180][a].charCodeAt(0) !== 65533) { r[t[180][a]] = 46080 + a; e[46080 + a] = t[180][a] } t[181] = "�����������������������������������������������������������������킕킖킗킘킙킚킛킜킝킞킟킠킡킢킣킦킧킩킪킫킭킮킯킰킱킲������킳킶킸킺킻킼킽킾킿탂탃탅탆탇탊탋탌탍탎탏탒탖탗탘탙탚������탛탞탟탡탢탣탥탦탧탨탩탪탫탮탲탳탴탵탶탷탹탺탻탼탽탾탿턀턁턂턃턄덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸�".split(""); for (a = 0; a != t[181].length; ++a) if (t[181][a].charCodeAt(0) !== 65533) { r[t[181][a]] = 46336 + a; e[46336 + a] = t[181][a] } t[182] = "�����������������������������������������������������������������턅턆턇턈턉턊턋턌턎턏턐턑턒턓턔턕턖턗턘턙턚턛턜턝턞턟������턠턡턢턣턤턥턦턧턨턩턪턫턬턭턮턯턲턳턵턶턷턹턻턼턽턾������턿텂텆텇텈텉텊텋텎텏텑텒텓텕텖텗텘텙텚텛텞텠텢텣텤텥텦텧텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗�".split(""); for (a = 0; a != t[182].length; ++a) if (t[182][a].charCodeAt(0) !== 65533) { r[t[182][a]] = 46592 + a; e[46592 + a] = t[182][a] } t[183] = "�����������������������������������������������������������������텮텯텰텱텲텳텴텵텶텷텸텹텺텻텽텾텿톀톁톂톃톅톆톇톉톊������톋톌톍톎톏톐톑톒톓톔톕톖톗톘톙톚톛톜톝톞톟톢톣톥톦톧������톩톪톫톬톭톮톯톲톴톶톷톸톹톻톽톾톿퇁퇂퇃퇄퇅퇆퇇퇈퇉퇊퇋퇌퇍퇎퇏래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩�".split(""); for (a = 0; a != t[183].length; ++a) if (t[183][a].charCodeAt(0) !== 65533) { r[t[183][a]] = 46848 + a; e[46848 + a] = t[183][a] } t[184] = "�����������������������������������������������������������������퇐퇑퇒퇓퇔퇕퇖퇗퇙퇚퇛퇜퇝퇞퇟퇠퇡퇢퇣퇤퇥퇦퇧퇨퇩퇪������퇫퇬퇭퇮퇯퇰퇱퇲퇳퇵퇶퇷퇹퇺퇻퇼퇽퇾퇿툀툁툂툃툄툅툆������툈툊툋툌툍툎툏툑툒툓툔툕툖툗툘툙툚툛툜툝툞툟툠툡툢툣툤툥툦툧툨툩륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많맏말맑맒맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼�".split(""); for (a = 0; a != t[184].length; ++a) if (t[184][a].charCodeAt(0) !== 65533) { r[t[184][a]] = 47104 + a; e[47104 + a] = t[184][a] } t[185] = "�����������������������������������������������������������������툪툫툮툯툱툲툳툵툶툷툸툹툺툻툾퉀퉂퉃퉄퉅퉆퉇퉉퉊퉋퉌������퉍퉎퉏퉐퉑퉒퉓퉔퉕퉖퉗퉘퉙퉚퉛퉝퉞퉟퉠퉡퉢퉣퉥퉦퉧퉨������퉩퉪퉫퉬퉭퉮퉯퉰퉱퉲퉳퉴퉵퉶퉷퉸퉹퉺퉻퉼퉽퉾퉿튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바박밖밗반받발밝밞밟밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗�".split(""); for (a = 0; a != t[185].length; ++a) if (t[185][a].charCodeAt(0) !== 65533) { r[t[185][a]] = 47360 + a; e[47360 + a] = t[185][a] } t[186] = "�����������������������������������������������������������������튍튎튏튒튓튔튖튗튘튙튚튛튝튞튟튡튢튣튥튦튧튨튩튪튫튭������튮튯튰튲튳튴튵튶튷튺튻튽튾틁틃틄틅틆틇틊틌틍틎틏틐틑������틒틓틕틖틗틙틚틛틝틞틟틠틡틢틣틦틧틨틩틪틫틬틭틮틯틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤�".split(""); for (a = 0; a != t[186].length; ++a) if (t[186][a].charCodeAt(0) !== 65533) { r[t[186][a]] = 47616 + a; e[47616 + a] = t[186][a] } t[187] = "�����������������������������������������������������������������틻틼틽틾틿팂팄팆팇팈팉팊팋팏팑팒팓팕팗팘팙팚팛팞팢팣������팤팦팧팪팫팭팮팯팱팲팳팴팵팶팷팺팾팿퍀퍁퍂퍃퍆퍇퍈퍉������퍊퍋퍌퍍퍎퍏퍐퍑퍒퍓퍔퍕퍖퍗퍘퍙퍚퍛퍜퍝퍞퍟퍠퍡퍢퍣퍤퍥퍦퍧퍨퍩빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤�".split(""); for (a = 0; a != t[187].length; ++a) if (t[187][a].charCodeAt(0) !== 65533) { r[t[187][a]] = 47872 + a; e[47872 + a] = t[187][a] } t[188] = "�����������������������������������������������������������������퍪퍫퍬퍭퍮퍯퍰퍱퍲퍳퍴퍵퍶퍷퍸퍹퍺퍻퍾퍿펁펂펃펅펆펇������펈펉펊펋펎펒펓펔펕펖펗펚펛펝펞펟펡펢펣펤펥펦펧펪펬펮������펯펰펱펲펳펵펶펷펹펺펻펽펾펿폀폁폂폃폆폇폊폋폌폍폎폏폑폒폓폔폕폖샥샨샬샴샵샷샹섀섄섈섐섕서석섞섟선섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭�".split(""); for (a = 0; a != t[188].length; ++a) if (t[188][a].charCodeAt(0) !== 65533) { r[t[188][a]] = 48128 + a; e[48128 + a] = t[188][a] } t[189] = "�����������������������������������������������������������������폗폙폚폛폜폝폞폟폠폢폤폥폦폧폨폩폪폫폮폯폱폲폳폵폶폷������폸폹폺폻폾퐀퐂퐃퐄퐅퐆퐇퐉퐊퐋퐌퐍퐎퐏퐐퐑퐒퐓퐔퐕퐖������퐗퐘퐙퐚퐛퐜퐞퐟퐠퐡퐢퐣퐤퐥퐦퐧퐨퐩퐪퐫퐬퐭퐮퐯퐰퐱퐲퐳퐴퐵퐶퐷숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰�".split(""); for (a = 0; a != t[189].length; ++a) if (t[189][a].charCodeAt(0) !== 65533) { r[t[189][a]] = 48384 + a; e[48384 + a] = t[189][a] } t[190] = "�����������������������������������������������������������������퐸퐹퐺퐻퐼퐽퐾퐿푁푂푃푅푆푇푈푉푊푋푌푍푎푏푐푑푒푓������푔푕푖푗푘푙푚푛푝푞푟푡푢푣푥푦푧푨푩푪푫푬푮푰푱푲������푳푴푵푶푷푺푻푽푾풁풃풄풅풆풇풊풌풎풏풐풑풒풓풕풖풗풘풙풚풛풜풝쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄업없엇었엉엊엌엎�".split(""); for (a = 0; a != t[190].length; ++a) if (t[190][a].charCodeAt(0) !== 65533) { r[t[190][a]] = 48640 + a; e[48640 + a] = t[190][a] } t[191] = "�����������������������������������������������������������������풞풟풠풡풢풣풤풥풦풧풨풪풫풬풭풮풯풰풱풲풳풴풵풶풷풸������풹풺풻풼풽풾풿퓀퓁퓂퓃퓄퓅퓆퓇퓈퓉퓊퓋퓍퓎퓏퓑퓒퓓퓕������퓖퓗퓘퓙퓚퓛퓝퓞퓠퓡퓢퓣퓤퓥퓦퓧퓩퓪퓫퓭퓮퓯퓱퓲퓳퓴퓵퓶퓷퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염엽엾엿였영옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨�".split(""); for (a = 0; a != t[191].length; ++a) if (t[191][a].charCodeAt(0) !== 65533) { r[t[191][a]] = 48896 + a; e[48896 + a] = t[191][a] } t[192] = "�����������������������������������������������������������������퓾퓿픀픁픂픃픅픆픇픉픊픋픍픎픏픐픑픒픓픖픘픙픚픛픜픝������픞픟픠픡픢픣픤픥픦픧픨픩픪픫픬픭픮픯픰픱픲픳픴픵픶픷������픸픹픺픻픾픿핁핂핃핅핆핇핈핉핊핋핎핐핒핓핔핕핖핗핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응읒읓읔읕읖읗의읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊�".split(""); for (a = 0; a != t[192].length; ++a) if (t[192][a].charCodeAt(0) !== 65533) { r[t[192][a]] = 49152 + a; e[49152 + a] = t[192][a] } t[193] = "�����������������������������������������������������������������핤핦핧핪핬핮핯핰핱핲핳핶핷핹핺핻핽핾핿햀햁햂햃햆햊햋������햌햍햎햏햑햒햓햔햕햖햗햘햙햚햛햜햝햞햟햠햡햢햣햤햦햧������햨햩햪햫햬햭햮햯햰햱햲햳햴햵햶햷햸햹햺햻햼햽햾햿헀헁헂헃헄헅헆헇점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓�".split(""); for (a = 0; a != t[193].length; ++a) if (t[193][a].charCodeAt(0) !== 65533) { r[t[193][a]] = 49408 + a; e[49408 + a] = t[193][a] } t[194] = "�����������������������������������������������������������������헊헋헍헎헏헑헓헔헕헖헗헚헜헞헟헠헡헢헣헦헧헩헪헫헭헮������헯헰헱헲헳헶헸헺헻헼헽헾헿혂혃혅혆혇혉혊혋혌혍혎혏혒������혖혗혘혙혚혛혝혞혟혡혢혣혥혦혧혨혩혪혫혬혮혯혰혱혲혳혴혵혶혷혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻�".split(""); for (a = 0; a != t[194].length; ++a) if (t[194][a].charCodeAt(0) !== 65533) { r[t[194][a]] = 49664 + a; e[49664 + a] = t[194][a] } t[195] = "�����������������������������������������������������������������혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝홞홟홠홡������홢홣홤홥홦홨홪홫홬홭홮홯홲홳홵홶홷홸홹홺홻홼홽홾홿횀������횁횂횄횆횇횈횉횊횋횎횏횑횒횓횕횖횗횘횙횚횛횜횞횠횢횣횤횥횦횧횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층�".split(""); for (a = 0; a != t[195].length; ++a) if (t[195][a].charCodeAt(0) !== 65533) { r[t[195][a]] = 49920 + a; e[49920 + a] = t[195][a] } t[196] = "�����������������������������������������������������������������횫횭횮횯횱횲횳횴횵횶횷횸횺횼횽횾횿훀훁훂훃훆훇훉훊훋������훍훎훏훐훒훓훕훖훘훚훛훜훝훞훟훡훢훣훥훦훧훩훪훫훬훭������훮훯훱훲훳훴훶훷훸훹훺훻훾훿휁휂휃휅휆휇휈휉휊휋휌휍휎휏휐휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼�".split(""); for (a = 0; a != t[196].length; ++a) if (t[196][a].charCodeAt(0) !== 65533) { r[t[196][a]] = 50176 + a; e[50176 + a] = t[196][a] } t[197] = "�����������������������������������������������������������������휕휖휗휚휛휝휞휟휡휢휣휤휥휦휧휪휬휮휯휰휱휲휳휶휷휹������휺휻휽휾휿흀흁흂흃흅흆흈흊흋흌흍흎흏흒흓흕흚흛흜흝흞������흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵흶흷흸흹흺흻흾흿힀힂힃힄힅힆힇힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜�".split(""); for (a = 0; a != t[197].length; ++a) if (t[197][a].charCodeAt(0) !== 65533) { r[t[197][a]] = 50432 + a; e[50432 + a] = t[197][a] } t[198] = "�����������������������������������������������������������������힍힎힏힑힒힓힔힕힖힗힚힜힞힟힠힡힢힣������������������������������������������������������������������������������퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁�".split(""); for (a = 0; a != t[198].length; ++a) if (t[198][a].charCodeAt(0) !== 65533) { r[t[198][a]] = 50688 + a; e[50688 + a] = t[198][a] } t[199] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠�".split(""); for (a = 0; a != t[199].length; ++a) if (t[199][a].charCodeAt(0) !== 65533) { r[t[199][a]] = 50944 + a; e[50944 + a] = t[199][a] } t[200] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝�".split(""); for (a = 0; a != t[200].length; ++a) if (t[200][a].charCodeAt(0) !== 65533) { r[t[200][a]] = 51200 + a; e[51200 + a] = t[200][a] } t[202] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕�".split(""); for (a = 0; a != t[202].length; ++a) if (t[202][a].charCodeAt(0) !== 65533) { r[t[202][a]] = 51712 + a; e[51712 + a] = t[202][a] } t[203] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢�".split(""); for (a = 0; a != t[203].length; ++a) if (t[203][a].charCodeAt(0) !== 65533) { r[t[203][a]] = 51968 + a; e[51968 + a] = t[203][a] } t[204] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械�".split(""); for (a = 0; a != t[204].length; ++a) if (t[204][a].charCodeAt(0) !== 65533) { r[t[204][a]] = 52224 + a; e[52224 + a] = t[204][a] } t[205] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜�".split(""); for (a = 0; a != t[205].length; ++a) if (t[205][a].charCodeAt(0) !== 65533) { r[t[205][a]] = 52480 + a; e[52480 + a] = t[205][a] } t[206] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾�".split(""); for (a = 0; a != t[206].length; ++a) if (t[206][a].charCodeAt(0) !== 65533) { r[t[206][a]] = 52736 + a; e[52736 + a] = t[206][a] } t[207] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴�".split(""); for (a = 0; a != t[207].length; ++a) if (t[207][a].charCodeAt(0) !== 65533) { r[t[207][a]] = 52992 + a; e[52992 + a] = t[207][a] } t[208] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣�".split(""); for (a = 0; a != t[208].length; ++a) if (t[208][a].charCodeAt(0) !== 65533) { r[t[208][a]] = 53248 + a; e[53248 + a] = t[208][a] } t[209] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩羅蘿螺裸邏那樂洛烙珞落諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉�".split(""); for (a = 0; a != t[209].length; ++a) if (t[209][a].charCodeAt(0) !== 65533) { r[t[209][a]] = 53504 + a; e[53504 + a] = t[209][a] } t[210] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������納臘蠟衲囊娘廊朗浪狼郎乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧老蘆虜路露駑魯鷺碌祿綠菉錄鹿論壟弄濃籠聾膿農惱牢磊腦賂雷尿壘屢樓淚漏累縷陋嫩訥杻紐勒肋凜凌稜綾能菱陵尼泥匿溺多茶�".split(""); for (a = 0; a != t[210].length; ++a) if (t[210][a].charCodeAt(0) !== 65533) { r[t[210][a]] = 53760 + a; e[53760 + a] = t[210][a] } t[211] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃�".split(""); for (a = 0; a != t[211].length; ++a) if (t[211][a].charCodeAt(0) !== 65533) { r[t[211][a]] = 54016 + a; e[54016 + a] = t[211][a] } t[212] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅�".split(""); for (a = 0; a != t[212].length; ++a) if (t[212][a].charCodeAt(0) !== 65533) { r[t[212][a]] = 54272 + a; e[54272 + a] = t[212][a] } t[213] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣�".split(""); for (a = 0; a != t[213].length; ++a) if (t[213][a].charCodeAt(0) !== 65533) { r[t[213][a]] = 54528 + a; e[54528 + a] = t[213][a] } t[214] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼�".split(""); for (a = 0; a != t[214].length; ++a) if (t[214][a].charCodeAt(0) !== 65533) { r[t[214][a]] = 54784 + a; e[54784 + a] = t[214][a] } t[215] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬�".split(""); for (a = 0; a != t[215].length; ++a) if (t[215][a].charCodeAt(0) !== 65533) { r[t[215][a]] = 55040 + a; e[55040 + a] = t[215][a] } t[216] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅�".split(""); for (a = 0; a != t[216].length; ++a) if (t[216][a].charCodeAt(0) !== 65533) { r[t[216][a]] = 55296 + a; e[55296 + a] = t[216][a] } t[217] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文�".split(""); for (a = 0; a != t[217].length; ++a) if (t[217][a].charCodeAt(0) !== 65533) { r[t[217][a]] = 55552 + a; e[55552 + a] = t[217][a] } t[218] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑�".split(""); for (a = 0; a != t[218].length; ++a) if (t[218][a].charCodeAt(0) !== 65533) { r[t[218][a]] = 55808 + a; e[55808 + a] = t[218][a] } t[219] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖�".split(""); for (a = 0; a != t[219].length; ++a) if (t[219][a].charCodeAt(0) !== 65533) { r[t[219][a]] = 56064 + a; e[56064 + a] = t[219][a] } t[220] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦�".split(""); for (a = 0; a != t[220].length; ++a) if (t[220][a].charCodeAt(0) !== 65533) { r[t[220][a]] = 56320 + a; e[56320 + a] = t[220][a] } t[221] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥�".split(""); for (a = 0; a != t[221].length; ++a) if (t[221][a].charCodeAt(0) !== 65533) { r[t[221][a]] = 56576 + a; e[56576 + a] = t[221][a] } t[222] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索�".split(""); for (a = 0; a != t[222].length; ++a) if (t[222][a].charCodeAt(0) !== 65533) { r[t[222][a]] = 56832 + a; e[56832 + a] = t[222][a] } t[223] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署�".split(""); for (a = 0; a != t[223].length; ++a) if (t[223][a].charCodeAt(0) !== 65533) { r[t[223][a]] = 57088 + a; e[57088 + a] = t[223][a] } t[224] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬�".split(""); for (a = 0; a != t[224].length; ++a) if (t[224][a].charCodeAt(0) !== 65533) { r[t[224][a]] = 57344 + a; e[57344 + a] = t[224][a] } t[225] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁�".split(""); for (a = 0; a != t[225].length; ++a) if (t[225][a].charCodeAt(0) !== 65533) { r[t[225][a]] = 57600 + a; e[57600 + a] = t[225][a] } t[226] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧�".split(""); for (a = 0; a != t[226].length; ++a) if (t[226][a].charCodeAt(0) !== 65533) { r[t[226][a]] = 57856 + a; e[57856 + a] = t[226][a] } t[227] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁�".split(""); for (a = 0; a != t[227].length; ++a) if (t[227][a].charCodeAt(0) !== 65533) { r[t[227][a]] = 58112 + a; e[58112 + a] = t[227][a] } t[228] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額�".split(""); for (a = 0; a != t[228].length; ++a) if (t[228][a].charCodeAt(0) !== 65533) { r[t[228][a]] = 58368 + a; e[58368 + a] = t[228][a] } t[229] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬�".split(""); for (a = 0; a != t[229].length; ++a) if (t[229][a].charCodeAt(0) !== 65533) { r[t[229][a]] = 58624 + a; e[58624 + a] = t[229][a] } t[230] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒�".split(""); for (a = 0; a != t[230].length; ++a) if (t[230][a].charCodeAt(0) !== 65533) { r[t[230][a]] = 58880 + a; e[58880 + a] = t[230][a] } t[231] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳�".split(""); for (a = 0; a != t[231].length; ++a) if (t[231][a].charCodeAt(0) !== 65533) { r[t[231][a]] = 59136 + a; e[59136 + a] = t[231][a] } t[232] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療�".split(""); for (a = 0; a != t[232].length; ++a) if (t[232][a].charCodeAt(0) !== 65533) { r[t[232][a]] = 59392 + a; e[59392 + a] = t[232][a] } t[233] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓�".split(""); for (a = 0; a != t[233].length; ++a) if (t[233][a].charCodeAt(0) !== 65533) { r[t[233][a]] = 59648 + a; e[59648 + a] = t[233][a] } t[234] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜�".split(""); for (a = 0; a != t[234].length; ++a) if (t[234][a].charCodeAt(0) !== 65533) { r[t[234][a]] = 59904 + a; e[59904 + a] = t[234][a] } t[235] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼�".split(""); for (a = 0; a != t[235].length; ++a) if (t[235][a].charCodeAt(0) !== 65533) { r[t[235][a]] = 60160 + a; e[60160 + a] = t[235][a] } t[236] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄�".split(""); for (a = 0; a != t[236].length; ++a) if (t[236][a].charCodeAt(0) !== 65533) { r[t[236][a]] = 60416 + a; e[60416 + a] = t[236][a] } t[237] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長�".split(""); for (a = 0; a != t[237].length; ++a) if (t[237][a].charCodeAt(0) !== 65533) { r[t[237][a]] = 60672 + a; e[60672 + a] = t[237][a] } t[238] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱�".split(""); for (a = 0; a != t[238].length; ++a) if (t[238][a].charCodeAt(0) !== 65533) { r[t[238][a]] = 60928 + a; e[60928 + a] = t[238][a] } t[239] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖�".split(""); for (a = 0; a != t[239].length; ++a) if (t[239][a].charCodeAt(0) !== 65533) { r[t[239][a]] = 61184 + a; e[61184 + a] = t[239][a] } t[240] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫�".split(""); for (a = 0; a != t[240].length; ++a) if (t[240][a].charCodeAt(0) !== 65533) { r[t[240][a]] = 61440 + a; e[61440 + a] = t[240][a] } t[241] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只�".split(""); for (a = 0; a != t[241].length; ++a) if (t[241][a].charCodeAt(0) !== 65533) { r[t[241][a]] = 61696 + a; e[61696 + a] = t[241][a] } t[242] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯�".split(""); for (a = 0; a != t[242].length; ++a) if (t[242][a].charCodeAt(0) !== 65533) { r[t[242][a]] = 61952 + a; e[61952 + a] = t[242][a] } t[243] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策�".split(""); for (a = 0; a != t[243].length; ++a) if (t[243][a].charCodeAt(0) !== 65533) { r[t[243][a]] = 62208 + a; e[62208 + a] = t[243][a] } t[244] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢�".split(""); for (a = 0; a != t[244].length; ++a) if (t[244][a].charCodeAt(0) !== 65533) { r[t[244][a]] = 62464 + a; e[62464 + a] = t[244][a] } t[245] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃�".split(""); for (a = 0; a != t[245].length; ++a) if (t[245][a].charCodeAt(0) !== 65533) { r[t[245][a]] = 62720 + a; e[62720 + a] = t[245][a] } t[246] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託�".split(""); for (a = 0; a != t[246].length; ++a) if (t[246][a].charCodeAt(0) !== 65533) { r[t[246][a]] = 62976 + a; e[62976 + a] = t[246][a] } t[247] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑�".split(""); for (a = 0; a != t[247].length; ++a) if (t[247][a].charCodeAt(0) !== 65533) { r[t[247][a]] = 63232 + a; e[63232 + a] = t[247][a] } t[248] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃�".split(""); for (a = 0; a != t[248].length; ++a) if (t[248][a].charCodeAt(0) !== 65533) { r[t[248][a]] = 63488 + a; e[63488 + a] = t[248][a] } t[249] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航�".split(""); for (a = 0; a != t[249].length; ++a) if (t[249][a].charCodeAt(0) !== 65533) { r[t[249][a]] = 63744 + a; e[63744 + a] = t[249][a] } t[250] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型�".split(""); for (a = 0; a != t[250].length; ++a) if (t[250][a].charCodeAt(0) !== 65533) { r[t[250][a]] = 64e3 + a; e[64e3 + a] = t[250][a] } t[251] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵�".split(""); for (a = 0; a != t[251].length; ++a) if (t[251][a].charCodeAt(0) !== 65533) { r[t[251][a]] = 64256 + a; e[64256 + a] = t[251][a] } t[252] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆�".split(""); for (a = 0; a != t[252].length; ++a) if (t[252][a].charCodeAt(0) !== 65533) { r[t[252][a]] = 64512 + a; e[64512 + a] = t[252][a] } t[253] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰�".split(""); for (a = 0; a != t[253].length; ++a) if (t[253][a].charCodeAt(0) !== 65533) { r[t[253][a]] = 64768 + a; e[64768 + a] = t[253][a] } return { enc: r, dec: e } }(); cptable[950] = function() { var e = [], r = {}, t = [], a; t[0] = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[0].length; ++a) if (t[0][a].charCodeAt(0) !== 65533) { r[t[0][a]] = 0 + a; e[0 + a] = t[0][a] } t[161] = "���������������������������������������������������������������� ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚����������������������������������﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢﹣﹤﹥﹦~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/�".split(""); for (a = 0; a != t[161].length; ++a) if (t[161][a].charCodeAt(0) !== 65533) { r[t[161][a]] = 41216 + a; e[41216 + a] = t[161][a] } t[162] = "����������������������������������������������������������������\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁▂▃▄▅▆▇█▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭����������������������������������╮╰╯═╞╪╡◢◣◥◤╱╲╳0123456789ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ〡〢〣〤〥〦〧〨〩十卄卅ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuv�".split(""); for (a = 0; a != t[162].length; ++a) if (t[162][a].charCodeAt(0) !== 65533) { r[t[162][a]] = 41472 + a; e[41472 + a] = t[162][a] } t[163] = "����������������������������������������������������������������wxyzΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏ����������������������������������ㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ˙ˉˊˇˋ���������������������������������€������������������������������".split(""); for (a = 0; a != t[163].length; ++a) if (t[163][a].charCodeAt(0) !== 65533) { r[t[163][a]] = 41728 + a; e[41728 + a] = t[163][a] } t[164] = "����������������������������������������������������������������一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才����������������������������������丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙�".split(""); for (a = 0; a != t[164].length; ++a) if (t[164][a].charCodeAt(0) !== 65533) { r[t[164][a]] = 41984 + a; e[41984 + a] = t[164][a] } t[165] = "����������������������������������������������������������������世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外����������������������������������央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全�".split(""); for (a = 0; a != t[165].length; ++a) if (t[165][a].charCodeAt(0) !== 65533) { r[t[165][a]] = 42240 + a; e[42240 + a] = t[165][a] } t[166] = "����������������������������������������������������������������共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年����������������������������������式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣�".split(""); for (a = 0; a != t[166].length; ++a) if (t[166][a].charCodeAt(0) !== 65533) { r[t[166][a]] = 42496 + a; e[42496 + a] = t[166][a] } t[167] = "����������������������������������������������������������������作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍����������������������������������均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠�".split(""); for (a = 0; a != t[167].length; ++a) if (t[167][a].charCodeAt(0) !== 65533) { r[t[167][a]] = 42752 + a; e[42752 + a] = t[167][a] } t[168] = "����������������������������������������������������������������杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒����������������������������������芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵�".split(""); for (a = 0; a != t[168].length; ++a) if (t[168][a].charCodeAt(0) !== 65533) { r[t[168][a]] = 43008 + a; e[43008 + a] = t[168][a] } t[169] = "����������������������������������������������������������������咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居����������������������������������屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊�".split(""); for (a = 0; a != t[169].length; ++a) if (t[169][a].charCodeAt(0) !== 65533) { r[t[169][a]] = 43264 + a; e[43264 + a] = t[169][a] } t[170] = "����������������������������������������������������������������昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠����������������������������������炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附�".split(""); for (a = 0; a != t[170].length; ++a) if (t[170][a].charCodeAt(0) !== 65533) { r[t[170][a]] = 43520 + a; e[43520 + a] = t[170][a] } t[171] = "����������������������������������������������������������������陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品����������������������������������哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷�".split(""); for (a = 0; a != t[171].length; ++a) if (t[171][a].charCodeAt(0) !== 65533) { r[t[171][a]] = 43776 + a; e[43776 + a] = t[171][a] } t[172] = "����������������������������������������������������������������拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗����������������������������������活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄�".split(""); for (a = 0; a != t[172].length; ++a) if (t[172][a].charCodeAt(0) !== 65533) { r[t[172][a]] = 44032 + a; e[44032 + a] = t[172][a] } t[173] = "����������������������������������������������������������������耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥����������������������������������迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪�".split(""); for (a = 0; a != t[173].length; ++a) if (t[173][a].charCodeAt(0) !== 65533) { r[t[173][a]] = 44288 + a; e[44288 + a] = t[173][a] } t[174] = "����������������������������������������������������������������哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙����������������������������������恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓�".split(""); for (a = 0; a != t[174].length; ++a) if (t[174][a].charCodeAt(0) !== 65533) { r[t[174][a]] = 44544 + a; e[44544 + a] = t[174][a] } t[175] = "����������������������������������������������������������������浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷����������������������������������砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃�".split(""); for (a = 0; a != t[175].length; ++a) if (t[175][a].charCodeAt(0) !== 65533) { r[t[175][a]] = 44800 + a; e[44800 + a] = t[175][a] } t[176] = "����������������������������������������������������������������虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡����������������������������������陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀�".split(""); for (a = 0; a != t[176].length; ++a) if (t[176][a].charCodeAt(0) !== 65533) { r[t[176][a]] = 45056 + a; e[45056 + a] = t[176][a] } t[177] = "����������������������������������������������������������������娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽����������������������������������情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺�".split(""); for (a = 0; a != t[177].length; ++a) if (t[177][a].charCodeAt(0) !== 65533) { r[t[177][a]] = 45312 + a; e[45312 + a] = t[177][a] } t[178] = "����������������������������������������������������������������毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶����������������������������������瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼�".split(""); for (a = 0; a != t[178].length; ++a) if (t[178][a].charCodeAt(0) !== 65533) { r[t[178][a]] = 45568 + a; e[45568 + a] = t[178][a] } t[179] = "����������������������������������������������������������������莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途����������������������������������部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠�".split(""); for (a = 0; a != t[179].length; ++a) if (t[179][a].charCodeAt(0) !== 65533) { r[t[179][a]] = 45824 + a; e[45824 + a] = t[179][a] } t[180] = "����������������������������������������������������������������婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍����������������������������������插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋�".split(""); for (a = 0; a != t[180].length; ++a) if (t[180][a].charCodeAt(0) !== 65533) { r[t[180][a]] = 46080 + a; e[46080 + a] = t[180][a] } t[181] = "����������������������������������������������������������������溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘����������������������������������窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁�".split(""); for (a = 0; a != t[181].length; ++a) if (t[181][a].charCodeAt(0) !== 65533) { r[t[181][a]] = 46336 + a; e[46336 + a] = t[181][a] } t[182] = "����������������������������������������������������������������詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑����������������������������������間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼�".split(""); for (a = 0; a != t[182].length; ++a) if (t[182][a].charCodeAt(0) !== 65533) { r[t[182][a]] = 46592 + a; e[46592 + a] = t[182][a] } t[183] = "����������������������������������������������������������������媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業����������������������������������楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督�".split(""); for (a = 0; a != t[183].length; ++a) if (t[183][a].charCodeAt(0) !== 65533) { r[t[183][a]] = 46848 + a; e[46848 + a] = t[183][a] } t[184] = "����������������������������������������������������������������睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫����������������������������������腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊�".split(""); for (a = 0; a != t[184].length; ++a) if (t[184][a].charCodeAt(0) !== 65533) { r[t[184][a]] = 47104 + a; e[47104 + a] = t[184][a] } t[185] = "����������������������������������������������������������������辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴����������������������������������飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇�".split(""); for (a = 0; a != t[185].length; ++a) if (t[185][a].charCodeAt(0) !== 65533) { r[t[185][a]] = 47360 + a; e[47360 + a] = t[185][a] } t[186] = "����������������������������������������������������������������愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢����������������������������������滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬�".split(""); for (a = 0; a != t[186].length; ++a) if (t[186][a].charCodeAt(0) !== 65533) { r[t[186][a]] = 47616 + a; e[47616 + a] = t[186][a] } t[187] = "����������������������������������������������������������������罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤����������������������������������說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜�".split(""); for (a = 0; a != t[187].length; ++a) if (t[187][a].charCodeAt(0) !== 65533) { r[t[187][a]] = 47872 + a; e[47872 + a] = t[187][a] } t[188] = "����������������������������������������������������������������劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂����������������������������������慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃�".split(""); for (a = 0; a != t[188].length; ++a) if (t[188][a].charCodeAt(0) !== 65533) { r[t[188][a]] = 48128 + a; e[48128 + a] = t[188][a] } t[189] = "����������������������������������������������������������������瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯����������������������������������翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞�".split(""); for (a = 0; a != t[189].length; ++a) if (t[189][a].charCodeAt(0) !== 65533) { r[t[189][a]] = 48384 + a; e[48384 + a] = t[189][a] } t[190] = "����������������������������������������������������������������輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉����������������������������������鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡�".split(""); for (a = 0; a != t[190].length; ++a) if (t[190][a].charCodeAt(0) !== 65533) { r[t[190][a]] = 48640 + a; e[48640 + a] = t[190][a] } t[191] = "����������������������������������������������������������������濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊����������������������������������縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚�".split(""); for (a = 0; a != t[191].length; ++a) if (t[191][a].charCodeAt(0) !== 65533) { r[t[191][a]] = 48896 + a; e[48896 + a] = t[191][a] } t[192] = "����������������������������������������������������������������錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇����������������������������������嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬�".split(""); for (a = 0; a != t[192].length; ++a) if (t[192][a].charCodeAt(0) !== 65533) { r[t[192][a]] = 49152 + a; e[49152 + a] = t[192][a] } t[193] = "����������������������������������������������������������������瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪����������������������������������薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁�".split(""); for (a = 0; a != t[193].length; ++a) if (t[193][a].charCodeAt(0) !== 65533) { r[t[193][a]] = 49408 + a; e[49408 + a] = t[193][a] } t[194] = "����������������������������������������������������������������駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘����������������������������������癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦�".split(""); for (a = 0; a != t[194].length; ++a) if (t[194][a].charCodeAt(0) !== 65533) { r[t[194][a]] = 49664 + a; e[49664 + a] = t[194][a] } t[195] = "����������������������������������������������������������������鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸����������������������������������獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類�".split(""); for (a = 0; a != t[195].length; ++a) if (t[195][a].charCodeAt(0) !== 65533) { r[t[195][a]] = 49920 + a; e[49920 + a] = t[195][a] } t[196] = "����������������������������������������������������������������願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼����������������������������������纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴�".split(""); for (a = 0; a != t[196].length; ++a) if (t[196][a].charCodeAt(0) !== 65533) { r[t[196][a]] = 50176 + a; e[50176 + a] = t[196][a] } t[197] = "����������������������������������������������������������������護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬����������������������������������禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒�".split(""); for (a = 0; a != t[197].length; ++a) if (t[197][a].charCodeAt(0) !== 65533) { r[t[197][a]] = 50432 + a; e[50432 + a] = t[197][a] } t[198] = "����������������������������������������������������������������讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲���������������������������������������������������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[198].length; ++a) if (t[198][a].charCodeAt(0) !== 65533) { r[t[198][a]] = 50688 + a; e[50688 + a] = t[198][a] } t[201] = "����������������������������������������������������������������乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕����������������������������������氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋�".split(""); for (a = 0; a != t[201].length; ++a) if (t[201][a].charCodeAt(0) !== 65533) { r[t[201][a]] = 51456 + a; e[51456 + a] = t[201][a] } t[202] = "����������������������������������������������������������������汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘����������������������������������吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇�".split(""); for (a = 0; a != t[202].length; ++a) if (t[202][a].charCodeAt(0) !== 65533) { r[t[202][a]] = 51712 + a; e[51712 + a] = t[202][a] } t[203] = "����������������������������������������������������������������杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓����������������������������������芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢�".split(""); for (a = 0; a != t[203].length; ++a) if (t[203][a].charCodeAt(0) !== 65533) { r[t[203][a]] = 51968 + a; e[51968 + a] = t[203][a] } t[204] = "����������������������������������������������������������������坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋����������������������������������怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲�".split(""); for (a = 0; a != t[204].length; ++a) if (t[204][a].charCodeAt(0) !== 65533) { r[t[204][a]] = 52224 + a; e[52224 + a] = t[204][a] } t[205] = "����������������������������������������������������������������泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺����������������������������������矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏�".split(""); for (a = 0; a != t[205].length; ++a) if (t[205][a].charCodeAt(0) !== 65533) { r[t[205][a]] = 52480 + a; e[52480 + a] = t[205][a] } t[206] = "����������������������������������������������������������������哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛����������������������������������峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺�".split(""); for (a = 0; a != t[206].length; ++a) if (t[206][a].charCodeAt(0) !== 65533) { r[t[206][a]] = 52736 + a; e[52736 + a] = t[206][a] } t[207] = "����������������������������������������������������������������柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂����������������������������������洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀�".split(""); for (a = 0; a != t[207].length; ++a) if (t[207][a].charCodeAt(0) !== 65533) { r[t[207][a]] = 52992 + a; e[52992 + a] = t[207][a] } t[208] = "����������������������������������������������������������������穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪����������������������������������苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱�".split(""); for (a = 0; a != t[208].length; ++a) if (t[208][a].charCodeAt(0) !== 65533) { r[t[208][a]] = 53248 + a; e[53248 + a] = t[208][a] } t[209] = "����������������������������������������������������������������唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧����������������������������������恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤�".split(""); for (a = 0; a != t[209].length; ++a) if (t[209][a].charCodeAt(0) !== 65533) { r[t[209][a]] = 53504 + a; e[53504 + a] = t[209][a] } t[210] = "����������������������������������������������������������������毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸����������������������������������牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐�".split(""); for (a = 0; a != t[210].length; ++a) if (t[210][a].charCodeAt(0) !== 65533) { r[t[210][a]] = 53760 + a; e[53760 + a] = t[210][a] } t[211] = "����������������������������������������������������������������笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢����������������������������������荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐�".split(""); for (a = 0; a != t[211].length; ++a) if (t[211][a].charCodeAt(0) !== 65533) { r[t[211][a]] = 54016 + a; e[54016 + a] = t[211][a] } t[212] = "����������������������������������������������������������������酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅����������������������������������唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏�".split(""); for (a = 0; a != t[212].length; ++a) if (t[212][a].charCodeAt(0) !== 65533) { r[t[212][a]] = 54272 + a; e[54272 + a] = t[212][a] } t[213] = "����������������������������������������������������������������崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟����������������������������������捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉�".split(""); for (a = 0; a != t[213].length; ++a) if (t[213][a].charCodeAt(0) !== 65533) { r[t[213][a]] = 54528 + a; e[54528 + a] = t[213][a] } t[214] = "����������������������������������������������������������������淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏����������������������������������痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟�".split(""); for (a = 0; a != t[214].length; ++a) if (t[214][a].charCodeAt(0) !== 65533) { r[t[214][a]] = 54784 + a; e[54784 + a] = t[214][a] } t[215] = "����������������������������������������������������������������耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷����������������������������������蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪�".split(""); for (a = 0; a != t[215].length; ++a) if (t[215][a].charCodeAt(0) !== 65533) { r[t[215][a]] = 55040 + a; e[55040 + a] = t[215][a] } t[216] = "����������������������������������������������������������������釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷����������������������������������堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔�".split(""); for (a = 0; a != t[216].length; ++a) if (t[216][a].charCodeAt(0) !== 65533) { r[t[216][a]] = 55296 + a; e[55296 + a] = t[216][a] } t[217] = "����������������������������������������������������������������惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒����������������������������������晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞�".split(""); for (a = 0; a != t[217].length; ++a) if (t[217][a].charCodeAt(0) !== 65533) { r[t[217][a]] = 55552 + a; e[55552 + a] = t[217][a] } t[218] = "����������������������������������������������������������������湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖����������������������������������琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥�".split(""); for (a = 0; a != t[218].length; ++a) if (t[218][a].charCodeAt(0) !== 65533) { r[t[218][a]] = 55808 + a; e[55808 + a] = t[218][a] } t[219] = "����������������������������������������������������������������罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳����������������������������������菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺�".split(""); for (a = 0; a != t[219].length; ++a) if (t[219][a].charCodeAt(0) !== 65533) { r[t[219][a]] = 56064 + a; e[56064 + a] = t[219][a] } t[220] = "����������������������������������������������������������������軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈����������������������������������隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆�".split(""); for (a = 0; a != t[220].length; ++a) if (t[220][a].charCodeAt(0) !== 65533) { r[t[220][a]] = 56320 + a; e[56320 + a] = t[220][a] } t[221] = "����������������������������������������������������������������媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤����������������������������������搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼�".split(""); for (a = 0; a != t[221].length; ++a) if (t[221][a].charCodeAt(0) !== 65533) { r[t[221][a]] = 56576 + a; e[56576 + a] = t[221][a] } t[222] = "����������������������������������������������������������������毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓����������������������������������煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓�".split(""); for (a = 0; a != t[222].length; ++a) if (t[222][a].charCodeAt(0) !== 65533) { r[t[222][a]] = 56832 + a; e[56832 + a] = t[222][a] } t[223] = "����������������������������������������������������������������稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯����������������������������������腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤�".split(""); for (a = 0; a != t[223].length; ++a) if (t[223][a].charCodeAt(0) !== 65533) { r[t[223][a]] = 57088 + a; e[57088 + a] = t[223][a] } t[224] = "����������������������������������������������������������������觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿����������������������������������遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠�".split(""); for (a = 0; a != t[224].length; ++a) if (t[224][a].charCodeAt(0) !== 65533) { r[t[224][a]] = 57344 + a; e[57344 + a] = t[224][a] } t[225] = "����������������������������������������������������������������凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠����������������������������������寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉�".split(""); for (a = 0; a != t[225].length; ++a) if (t[225][a].charCodeAt(0) !== 65533) { r[t[225][a]] = 57600 + a; e[57600 + a] = t[225][a] } t[226] = "����������������������������������������������������������������榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊����������������������������������漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓�".split(""); for (a = 0; a != t[226].length; ++a) if (t[226][a].charCodeAt(0) !== 65533) { r[t[226][a]] = 57856 + a; e[57856 + a] = t[226][a] } t[227] = "����������������������������������������������������������������禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞����������������������������������耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻�".split(""); for (a = 0; a != t[227].length; ++a) if (t[227][a].charCodeAt(0) !== 65533) { r[t[227][a]] = 58112 + a; e[58112 + a] = t[227][a] } t[228] = "����������������������������������������������������������������裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍����������������������������������銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘�".split(""); for (a = 0; a != t[228].length; ++a) if (t[228][a].charCodeAt(0) !== 65533) { r[t[228][a]] = 58368 + a; e[58368 + a] = t[228][a] } t[229] = "����������������������������������������������������������������噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉����������������������������������憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒�".split(""); for (a = 0; a != t[229].length; ++a) if (t[229][a].charCodeAt(0) !== 65533) { r[t[229][a]] = 58624 + a; e[58624 + a] = t[229][a] } t[230] = "����������������������������������������������������������������澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙����������������������������������獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟�".split(""); for (a = 0; a != t[230].length; ++a) if (t[230][a].charCodeAt(0) !== 65533) { r[t[230][a]] = 58880 + a; e[58880 + a] = t[230][a] } t[231] = "����������������������������������������������������������������膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢����������������������������������蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧�".split(""); for (a = 0; a != t[231].length; ++a) if (t[231][a].charCodeAt(0) !== 65533) { r[t[231][a]] = 59136 + a; e[59136 + a] = t[231][a] } t[232] = "����������������������������������������������������������������踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓����������������������������������銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮�".split(""); for (a = 0; a != t[232].length; ++a) if (t[232][a].charCodeAt(0) !== 65533) { r[t[232][a]] = 59392 + a; e[59392 + a] = t[232][a] } t[233] = "����������������������������������������������������������������噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺����������������������������������憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸�".split(""); for (a = 0; a != t[233].length; ++a) if (t[233][a].charCodeAt(0) !== 65533) { r[t[233][a]] = 59648 + a; e[59648 + a] = t[233][a] } t[234] = "����������������������������������������������������������������澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙����������������������������������瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘�".split(""); for (a = 0; a != t[234].length; ++a) if (t[234][a].charCodeAt(0) !== 65533) { r[t[234][a]] = 59904 + a; e[59904 + a] = t[234][a] } t[235] = "����������������������������������������������������������������蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠����������������������������������諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌�".split(""); for (a = 0; a != t[235].length; ++a) if (t[235][a].charCodeAt(0) !== 65533) { r[t[235][a]] = 60160 + a; e[60160 + a] = t[235][a] } t[236] = "����������������������������������������������������������������錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕����������������������������������魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎�".split(""); for (a = 0; a != t[236].length; ++a) if (t[236][a].charCodeAt(0) !== 65533) { r[t[236][a]] = 60416 + a; e[60416 + a] = t[236][a] } t[237] = "����������������������������������������������������������������檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶����������������������������������瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞�".split(""); for (a = 0; a != t[237].length; ++a) if (t[237][a].charCodeAt(0) !== 65533) { r[t[237][a]] = 60672 + a; e[60672 + a] = t[237][a] } t[238] = "����������������������������������������������������������������蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞����������������������������������謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜�".split(""); for (a = 0; a != t[238].length; ++a) if (t[238][a].charCodeAt(0) !== 65533) { r[t[238][a]] = 60928 + a; e[60928 + a] = t[238][a] } t[239] = "����������������������������������������������������������������鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰����������������������������������鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶�".split(""); for (a = 0; a != t[239].length; ++a) if (t[239][a].charCodeAt(0) !== 65533) { r[t[239][a]] = 61184 + a; e[61184 + a] = t[239][a] } t[240] = "����������������������������������������������������������������璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒����������������������������������臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧�".split(""); for (a = 0; a != t[240].length; ++a) if (t[240][a].charCodeAt(0) !== 65533) { r[t[240][a]] = 61440 + a; e[61440 + a] = t[240][a] } t[241] = "����������������������������������������������������������������蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪����������������������������������鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰�".split(""); for (a = 0; a != t[241].length; ++a) if (t[241][a].charCodeAt(0) !== 65533) { r[t[241][a]] = 61696 + a; e[61696 + a] = t[241][a] } t[242] = "����������������������������������������������������������������徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛����������������������������������礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕�".split(""); for (a = 0; a != t[242].length; ++a) if (t[242][a].charCodeAt(0) !== 65533) { r[t[242][a]] = 61952 + a; e[61952 + a] = t[242][a] } t[243] = "����������������������������������������������������������������譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦����������������������������������鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲�".split(""); for (a = 0; a != t[243].length; ++a) if (t[243][a].charCodeAt(0) !== 65533) { r[t[243][a]] = 62208 + a; e[62208 + a] = t[243][a] } t[244] = "����������������������������������������������������������������嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩����������������������������������禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿�".split(""); for (a = 0; a != t[244].length; ++a) if (t[244][a].charCodeAt(0) !== 65533) { r[t[244][a]] = 62464 + a; e[62464 + a] = t[244][a] } t[245] = "����������������������������������������������������������������鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛����������������������������������鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥�".split(""); for (a = 0; a != t[245].length; ++a) if (t[245][a].charCodeAt(0) !== 65533) { r[t[245][a]] = 62720 + a; e[62720 + a] = t[245][a] } t[246] = "����������������������������������������������������������������蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺����������������������������������騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚�".split(""); for (a = 0; a != t[246].length; ++a) if (t[246][a].charCodeAt(0) !== 65533) { r[t[246][a]] = 62976 + a; e[62976 + a] = t[246][a] } t[247] = "����������������������������������������������������������������糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊����������������������������������驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾�".split(""); for (a = 0; a != t[247].length; ++a) if (t[247][a].charCodeAt(0) !== 65533) { r[t[247][a]] = 63232 + a; e[63232 + a] = t[247][a] } t[248] = "����������������������������������������������������������������讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏����������������������������������齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚�".split(""); for (a = 0; a != t[248].length; ++a) if (t[248][a].charCodeAt(0) !== 65533) { r[t[248][a]] = 63488 + a; e[63488 + a] = t[248][a] } t[249] = "����������������������������������������������������������������纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊����������������������������������龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓�".split(""); for (a = 0; a != t[249].length; ++a) if (t[249][a].charCodeAt(0) !== 65533) { r[t[249][a]] = 63744 + a; e[63744 + a] = t[249][a] } return { enc: r, dec: e } }(); cptable[1250] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[1251] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[1252] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[1253] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[1254] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[1255] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹ�ֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[1256] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[1257] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[1258] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[1e4] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[10006] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[10007] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[10008] = function() { var e = [], r = {}, t = [], a; t[0] = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€���������������������������������������������������������������������������������������".split(""); for (a = 0; a != t[0].length; ++a) if (t[0][a].charCodeAt(0) !== 65533) { r[t[0][a]] = 0 + a; e[0 + a] = t[0][a] } t[161] = "����������������������������������������������������������������������������������������������������������������������������������������������������������������� 、。・ˉˇ¨〃々―~�…‘’“”〔〕〈〉《》「」『』〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓�".split(""); for (a = 0; a != t[161].length; ++a) if (t[161][a].charCodeAt(0) !== 65533) { r[t[161][a]] = 41216 + a; e[41216 + a] = t[161][a] } t[162] = "���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩��㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩��ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ���".split(""); for (a = 0; a != t[162].length; ++a) if (t[162][a].charCodeAt(0) !== 65533) { r[t[162][a]] = 41472 + a; e[41472 + a] = t[162][a] } t[163] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������!"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} ̄�".split(""); for (a = 0; a != t[163].length; ++a) if (t[163][a].charCodeAt(0) !== 65533) { r[t[163][a]] = 41728 + a; e[41728 + a] = t[163][a] } t[164] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������".split(""); for (a = 0; a != t[164].length; ++a) if (t[164][a].charCodeAt(0) !== 65533) { r[t[164][a]] = 41984 + a; e[41984 + a] = t[164][a] } t[165] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������".split(""); for (a = 0; a != t[165].length; ++a) if (t[165][a].charCodeAt(0) !== 65533) { r[t[165][a]] = 42240 + a; e[42240 + a] = t[165][a] } t[166] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω���������������������������������������".split(""); for (a = 0; a != t[166].length; ++a) if (t[166][a].charCodeAt(0) !== 65533) { r[t[166][a]] = 42496 + a; e[42496 + a] = t[166][a] } t[167] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������".split(""); for (a = 0; a != t[167].length; ++a) if (t[167][a].charCodeAt(0) !== 65533) { r[t[167][a]] = 42752 + a; e[42752 + a] = t[167][a] } t[168] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüê����������ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ����������������������".split(""); for (a = 0; a != t[168].length; ++a) if (t[168][a].charCodeAt(0) !== 65533) { r[t[168][a]] = 43008 + a; e[43008 + a] = t[168][a] } t[169] = "��������������������������������������������������������������������������������������������������������������������������������������������������������������������─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋����������������".split(""); for (a = 0; a != t[169].length; ++a) if (t[169][a].charCodeAt(0) !== 65533) { r[t[169][a]] = 43264 + a; e[43264 + a] = t[169][a] } t[176] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥�".split(""); for (a = 0; a != t[176].length; ++a) if (t[176][a].charCodeAt(0) !== 65533) { r[t[176][a]] = 45056 + a; e[45056 + a] = t[176][a] } t[177] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳�".split(""); for (a = 0; a != t[177].length; ++a) if (t[177][a].charCodeAt(0) !== 65533) { r[t[177][a]] = 45312 + a; e[45312 + a] = t[177][a] } t[178] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖�".split(""); for (a = 0; a != t[178].length; ++a) if (t[178][a].charCodeAt(0) !== 65533) { r[t[178][a]] = 45568 + a; e[45568 + a] = t[178][a] } t[179] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚�".split(""); for (a = 0; a != t[179].length; ++a) if (t[179][a].charCodeAt(0) !== 65533) { r[t[179][a]] = 45824 + a; e[45824 + a] = t[179][a] } t[180] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮�".split(""); for (a = 0; a != t[180].length; ++a) if (t[180][a].charCodeAt(0) !== 65533) { r[t[180][a]] = 46080 + a; e[46080 + a] = t[180][a] } t[181] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠�".split(""); for (a = 0; a != t[181].length; ++a) if (t[181][a].charCodeAt(0) !== 65533) { r[t[181][a]] = 46336 + a; e[46336 + a] = t[181][a] } t[182] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二�".split(""); for (a = 0; a != t[182].length; ++a) if (t[182][a].charCodeAt(0) !== 65533) { r[t[182][a]] = 46592 + a; e[46592 + a] = t[182][a] } t[183] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服�".split(""); for (a = 0; a != t[183].length; ++a) if (t[183][a].charCodeAt(0) !== 65533) { r[t[183][a]] = 46848 + a; e[46848 + a] = t[183][a] } t[184] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹�".split(""); for (a = 0; a != t[184].length; ++a) if (t[184][a].charCodeAt(0) !== 65533) { r[t[184][a]] = 47104 + a; e[47104 + a] = t[184][a] } t[185] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈�".split(""); for (a = 0; a != t[185].length; ++a) if (t[185][a].charCodeAt(0) !== 65533) { r[t[185][a]] = 47360 + a; e[47360 + a] = t[185][a] } t[186] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖�".split(""); for (a = 0; a != t[186].length; ++a) if (t[186][a].charCodeAt(0) !== 65533) { r[t[186][a]] = 47616 + a; e[47616 + a] = t[186][a] } t[187] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕�".split(""); for (a = 0; a != t[187].length; ++a) if (t[187][a].charCodeAt(0) !== 65533) { r[t[187][a]] = 47872 + a; e[47872 + a] = t[187][a] } t[188] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件�".split(""); for (a = 0; a != t[188].length; ++a) if (t[188][a].charCodeAt(0) !== 65533) { r[t[188][a]] = 48128 + a; e[48128 + a] = t[188][a] } t[189] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸�".split(""); for (a = 0; a != t[189].length; ++a) if (t[189][a].charCodeAt(0) !== 65533) { r[t[189][a]] = 48384 + a; e[48384 + a] = t[189][a] } t[190] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻�".split(""); for (a = 0; a != t[190].length; ++a) if (t[190][a].charCodeAt(0) !== 65533) { r[t[190][a]] = 48640 + a; e[48640 + a] = t[190][a] } t[191] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀�".split(""); for (a = 0; a != t[191].length; ++a) if (t[191][a].charCodeAt(0) !== 65533) { r[t[191][a]] = 48896 + a; e[48896 + a] = t[191][a] } t[192] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐�".split(""); for (a = 0; a != t[192].length; ++a) if (t[192][a].charCodeAt(0) !== 65533) { r[t[192][a]] = 49152 + a; e[49152 + a] = t[192][a] } t[193] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿�".split(""); for (a = 0; a != t[193].length; ++a) if (t[193][a].charCodeAt(0) !== 65533) { r[t[193][a]] = 49408 + a; e[49408 + a] = t[193][a] } t[194] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫�".split(""); for (a = 0; a != t[194].length; ++a) if (t[194][a].charCodeAt(0) !== 65533) { r[t[194][a]] = 49664 + a; e[49664 + a] = t[194][a] } t[195] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸�".split(""); for (a = 0; a != t[195].length; ++a) if (t[195][a].charCodeAt(0) !== 65533) { r[t[195][a]] = 49920 + a; e[49920 + a] = t[195][a] } t[196] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁�".split(""); for (a = 0; a != t[196].length; ++a) if (t[196][a].charCodeAt(0) !== 65533) { r[t[196][a]] = 50176 + a; e[50176 + a] = t[196][a] } t[197] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗�".split(""); for (a = 0; a != t[197].length; ++a) if (t[197][a].charCodeAt(0) !== 65533) { r[t[197][a]] = 50432 + a; e[50432 + a] = t[197][a] } t[198] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐�".split(""); for (a = 0; a != t[198].length; ++a) if (t[198][a].charCodeAt(0) !== 65533) { r[t[198][a]] = 50688 + a; e[50688 + a] = t[198][a] } t[199] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠�".split(""); for (a = 0; a != t[199].length; ++a) if (t[199][a].charCodeAt(0) !== 65533) { r[t[199][a]] = 50944 + a; e[50944 + a] = t[199][a] } t[200] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁�".split(""); for (a = 0; a != t[200].length; ++a) if (t[200][a].charCodeAt(0) !== 65533) { r[t[200][a]] = 51200 + a; e[51200 + a] = t[200][a] } t[201] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳�".split(""); for (a = 0; a != t[201].length; ++a) if (t[201][a].charCodeAt(0) !== 65533) { r[t[201][a]] = 51456 + a; e[51456 + a] = t[201][a] } t[202] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱�".split(""); for (a = 0; a != t[202].length; ++a) if (t[202][a].charCodeAt(0) !== 65533) { r[t[202][a]] = 51712 + a; e[51712 + a] = t[202][a] } t[203] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔�".split(""); for (a = 0; a != t[203].length; ++a) if (t[203][a].charCodeAt(0) !== 65533) { r[t[203][a]] = 51968 + a; e[51968 + a] = t[203][a] } t[204] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃�".split(""); for (a = 0; a != t[204].length; ++a) if (t[204][a].charCodeAt(0) !== 65533) { r[t[204][a]] = 52224 + a; e[52224 + a] = t[204][a] } t[205] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威�".split(""); for (a = 0; a != t[205].length; ++a) if (t[205][a].charCodeAt(0) !== 65533) { r[t[205][a]] = 52480 + a; e[52480 + a] = t[205][a] } t[206] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺�".split(""); for (a = 0; a != t[206].length; ++a) if (t[206][a].charCodeAt(0) !== 65533) { r[t[206][a]] = 52736 + a; e[52736 + a] = t[206][a] } t[207] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓�".split(""); for (a = 0; a != t[207].length; ++a) if (t[207][a].charCodeAt(0) !== 65533) { r[t[207][a]] = 52992 + a; e[52992 + a] = t[207][a] } t[208] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄�".split(""); for (a = 0; a != t[208].length; ++a) if (t[208][a].charCodeAt(0) !== 65533) { r[t[208][a]] = 53248 + a; e[53248 + a] = t[208][a] } t[209] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶�".split(""); for (a = 0; a != t[209].length; ++a) if (t[209][a].charCodeAt(0) !== 65533) { r[t[209][a]] = 53504 + a; e[53504 + a] = t[209][a] } t[210] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐�".split(""); for (a = 0; a != t[210].length; ++a) if (t[210][a].charCodeAt(0) !== 65533) { r[t[210][a]] = 53760 + a; e[53760 + a] = t[210][a] } t[211] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉�".split(""); for (a = 0; a != t[211].length; ++a) if (t[211][a].charCodeAt(0) !== 65533) { r[t[211][a]] = 54016 + a; e[54016 + a] = t[211][a] } t[212] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧�".split(""); for (a = 0; a != t[212].length; ++a) if (t[212][a].charCodeAt(0) !== 65533) { r[t[212][a]] = 54272 + a; e[54272 + a] = t[212][a] } t[213] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政�".split(""); for (a = 0; a != t[213].length; ++a) if (t[213][a].charCodeAt(0) !== 65533) { r[t[213][a]] = 54528 + a; e[54528 + a] = t[213][a] } t[214] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑�".split(""); for (a = 0; a != t[214].length; ++a) if (t[214][a].charCodeAt(0) !== 65533) { r[t[214][a]] = 54784 + a; e[54784 + a] = t[214][a] } t[215] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座������".split(""); for (a = 0; a != t[215].length; ++a) if (t[215][a].charCodeAt(0) !== 65533) { r[t[215][a]] = 55040 + a; e[55040 + a] = t[215][a] } t[216] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝�".split(""); for (a = 0; a != t[216].length; ++a) if (t[216][a].charCodeAt(0) !== 65533) { r[t[216][a]] = 55296 + a; e[55296 + a] = t[216][a] } t[217] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼�".split(""); for (a = 0; a != t[217].length; ++a) if (t[217][a].charCodeAt(0) !== 65533) { r[t[217][a]] = 55552 + a; e[55552 + a] = t[217][a] } t[218] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺�".split(""); for (a = 0; a != t[218].length; ++a) if (t[218][a].charCodeAt(0) !== 65533) { r[t[218][a]] = 55808 + a; e[55808 + a] = t[218][a] } t[219] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝�".split(""); for (a = 0; a != t[219].length; ++a) if (t[219][a].charCodeAt(0) !== 65533) { r[t[219][a]] = 56064 + a; e[56064 + a] = t[219][a] } t[220] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥�".split(""); for (a = 0; a != t[220].length; ++a) if (t[220][a].charCodeAt(0) !== 65533) { r[t[220][a]] = 56320 + a; e[56320 + a] = t[220][a] } t[221] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺�".split(""); for (a = 0; a != t[221].length; ++a) if (t[221][a].charCodeAt(0) !== 65533) { r[t[221][a]] = 56576 + a; e[56576 + a] = t[221][a] } t[222] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖�".split(""); for (a = 0; a != t[222].length; ++a) if (t[222][a].charCodeAt(0) !== 65533) { r[t[222][a]] = 56832 + a; e[56832 + a] = t[222][a] } t[223] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼�".split(""); for (a = 0; a != t[223].length; ++a) if (t[223][a].charCodeAt(0) !== 65533) { r[t[223][a]] = 57088 + a; e[57088 + a] = t[223][a] } t[224] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼�".split(""); for (a = 0; a != t[224].length; ++a) if (t[224][a].charCodeAt(0) !== 65533) { r[t[224][a]] = 57344 + a; e[57344 + a] = t[224][a] } t[225] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺�".split(""); for (a = 0; a != t[225].length; ++a) if (t[225][a].charCodeAt(0) !== 65533) { r[t[225][a]] = 57600 + a; e[57600 + a] = t[225][a] } t[226] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂�".split(""); for (a = 0; a != t[226].length; ++a) if (t[226][a].charCodeAt(0) !== 65533) { r[t[226][a]] = 57856 + a; e[57856 + a] = t[226][a] } t[227] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾�".split(""); for (a = 0; a != t[227].length; ++a) if (t[227][a].charCodeAt(0) !== 65533) { r[t[227][a]] = 58112 + a; e[58112 + a] = t[227][a] } t[228] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑�".split(""); for (a = 0; a != t[228].length; ++a) if (t[228][a].charCodeAt(0) !== 65533) { r[t[228][a]] = 58368 + a; e[58368 + a] = t[228][a] } t[229] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣�".split(""); for (a = 0; a != t[229].length; ++a) if (t[229][a].charCodeAt(0) !== 65533) { r[t[229][a]] = 58624 + a; e[58624 + a] = t[229][a] } t[230] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩�".split(""); for (a = 0; a != t[230].length; ++a) if (t[230][a].charCodeAt(0) !== 65533) { r[t[230][a]] = 58880 + a; e[58880 + a] = t[230][a] } t[231] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬�".split(""); for (a = 0; a != t[231].length; ++a) if (t[231][a].charCodeAt(0) !== 65533) { r[t[231][a]] = 59136 + a; e[59136 + a] = t[231][a] } t[232] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹�".split(""); for (a = 0; a != t[232].length; ++a) if (t[232][a].charCodeAt(0) !== 65533) { r[t[232][a]] = 59392 + a; e[59392 + a] = t[232][a] } t[233] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋�".split(""); for (a = 0; a != t[233].length; ++a) if (t[233][a].charCodeAt(0) !== 65533) { r[t[233][a]] = 59648 + a; e[59648 + a] = t[233][a] } t[234] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰�".split(""); for (a = 0; a != t[234].length; ++a) if (t[234][a].charCodeAt(0) !== 65533) { r[t[234][a]] = 59904 + a; e[59904 + a] = t[234][a] } t[235] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻�".split(""); for (a = 0; a != t[235].length; ++a) if (t[235][a].charCodeAt(0) !== 65533) { r[t[235][a]] = 60160 + a; e[60160 + a] = t[235][a] } t[236] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐�".split(""); for (a = 0; a != t[236].length; ++a) if (t[236][a].charCodeAt(0) !== 65533) { r[t[236][a]] = 60416 + a; e[60416 + a] = t[236][a] } t[237] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨�".split(""); for (a = 0; a != t[237].length; ++a) if (t[237][a].charCodeAt(0) !== 65533) { r[t[237][a]] = 60672 + a; e[60672 + a] = t[237][a] } t[238] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪�".split(""); for (a = 0; a != t[238].length; ++a) if (t[238][a].charCodeAt(0) !== 65533) { r[t[238][a]] = 60928 + a; e[60928 + a] = t[238][a] } t[239] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔�".split(""); for (a = 0; a != t[239].length; ++a) if (t[239][a].charCodeAt(0) !== 65533) { r[t[239][a]] = 61184 + a; e[61184 + a] = t[239][a] } t[240] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙�".split(""); for (a = 0; a != t[240].length; ++a) if (t[240][a].charCodeAt(0) !== 65533) { r[t[240][a]] = 61440 + a; e[61440 + a] = t[240][a] } t[241] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃�".split(""); for (a = 0; a != t[241].length; ++a) if (t[241][a].charCodeAt(0) !== 65533) { r[t[241][a]] = 61696 + a; e[61696 + a] = t[241][a] } t[242] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒�".split(""); for (a = 0; a != t[242].length; ++a) if (t[242][a].charCodeAt(0) !== 65533) { r[t[242][a]] = 61952 + a; e[61952 + a] = t[242][a] } t[243] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋�".split(""); for (a = 0; a != t[243].length; ++a) if (t[243][a].charCodeAt(0) !== 65533) { r[t[243][a]] = 62208 + a; e[62208 + a] = t[243][a] } t[244] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤�".split(""); for (a = 0; a != t[244].length; ++a) if (t[244][a].charCodeAt(0) !== 65533) { r[t[244][a]] = 62464 + a; e[62464 + a] = t[244][a] } t[245] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜�".split(""); for (a = 0; a != t[245].length; ++a) if (t[245][a].charCodeAt(0) !== 65533) { r[t[245][a]] = 62720 + a; e[62720 + a] = t[245][a] } t[246] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋�".split(""); for (a = 0; a != t[246].length; ++a) if (t[246][a].charCodeAt(0) !== 65533) { r[t[246][a]] = 62976 + a; e[62976 + a] = t[246][a] } t[247] = "�����������������������������������������������������������������������������������������������������������������������������������������������������������������鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄�".split(""); for (a = 0; a != t[247].length; ++a) if (t[247][a].charCodeAt(0) !== 65533) { r[t[247][a]] = 63232 + a; e[63232 + a] = t[247][a] } return { enc: r, dec: e } }(); cptable[10029] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[10079] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); cptable[10081] = function() { var e = "\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ" , r = [] , t = {}; for (var a = 0; a != e.length; ++a) { if (e.charCodeAt(a) !== 65533) t[e.charAt(a)] = a; r[a] = e.charAt(a) } return { enc: t, dec: r } }(); if (typeof module !== "undefined" && module.exports && typeof DO_NOT_EXPORT_CODEPAGE === "undefined") module.exports = cptable; (function(e, r) { "use strict"; if (typeof cptable === "undefined") { if (typeof require !== "undefined") { var t = cptable; if (typeof module !== "undefined" && module.exports && typeof DO_NOT_EXPORT_CODEPAGE === "undefined") module.exports = r(t); else e.cptable = r(t) } else throw new Error("cptable not found") } else cptable = r(cptable) } )(this, function(e) { "use strict"; var r = { 1200: "utf16le", 1201: "utf16be", 12000: "utf32le", 12001: "utf32be", 16969: "utf64le", 20127: "ascii", 65000: "utf7", 65001: "utf8" }; var t = [874, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1e4]; var a = [932, 936, 949, 950]; var n = [65001]; var i = {}; var s = {}; var f = {}; var o = {}; var l = function F(e) { return String.fromCharCode(e) }; var c = function P(e) { return e.charCodeAt(0) }; var h = typeof Buffer !== "undefined"; var u = function() {}; if (h) { var d = !Buffer.from; if (!d) try { Buffer.from("foo", "utf8") } catch (p) { d = true } u = d ? function(e, r) { return r ? Buffer.from(e, r) : Buffer.from(e) } : Buffer.from.bind(Buffer); if (!Buffer.allocUnsafe) Buffer.allocUnsafe = function(e) { return Buffer.from(e) } ; var v = 1024 , g = Buffer.allocUnsafe(v); var m = function N(e) { var r = Buffer.allocUnsafe(65536); for (var t = 0; t < 65536; ++t) r[t] = 0; var a = Object.keys(e) , n = a.length; for (var i = 0, s = a[i]; i < n; ++i) { if (!(s = a[i])) continue; r[s.charCodeAt(0)] = e[s] } return r }; var b = function L(r) { var t = m(e[r].enc); return function a(e, r) { var a = e.length; var n, i = 0, s = 0, f = 0, o = 0; if (typeof e === "string") { n = Buffer.allocUnsafe(a); for (i = 0; i < a; ++i) n[i] = t[e.charCodeAt(i)] } else if (Buffer.isBuffer(e)) { n = Buffer.allocUnsafe(2 * a); s = 0; for (i = 0; i < a; ++i) { f = e[i]; if (f < 128) n[s++] = t[f]; else if (f < 224) { n[s++] = t[((f & 31) << 6) + (e[i + 1] & 63)]; ++i } else if (f < 240) { n[s++] = t[((f & 15) << 12) + ((e[i + 1] & 63) << 6) + (e[i + 2] & 63)]; i += 2 } else { o = ((f & 7) << 18) + ((e[i + 1] & 63) << 12) + ((e[i + 2] & 63) << 6) + (e[i + 3] & 63); i += 3; if (o < 65536) n[s++] = t[o]; else { o -= 65536; n[s++] = t[55296 + (o >> 10 & 1023)]; n[s++] = t[56320 + (o & 1023)] } } } n = n.slice(0, s) } else { n = Buffer.allocUnsafe(a); for (i = 0; i < a; ++i) n[i] = t[e[i].charCodeAt(0)] } if (!r || r === "buf") return n; if (r !== "arr") return n.toString("binary"); return [].slice.call(n) } }; var w = function M(r) { var t = e[r].dec; var a = Buffer.allocUnsafe(131072) , n = 0 , i = ""; for (n = 0; n < t.length; ++n) { if (!(i = t[n])) continue; var s = i.charCodeAt(0); a[2 * n] = s & 255; a[2 * n + 1] = s >> 8 } return function f(e) { var r = e.length , t = 0 , n = 0; if (2 * r > v) { v = 2 * r; g = Buffer.allocUnsafe(v) } if (Buffer.isBuffer(e)) { for (t = 0; t < r; t++) { n = 2 * e[t]; g[2 * t] = a[n]; g[2 * t + 1] = a[n + 1] } } else if (typeof e === "string") { for (t = 0; t < r; t++) { n = 2 * e.charCodeAt(t); g[2 * t] = a[n]; g[2 * t + 1] = a[n + 1] } } else { for (t = 0; t < r; t++) { n = 2 * e[t]; g[2 * t] = a[n]; g[2 * t + 1] = a[n + 1] } } return g.slice(0, 2 * r).toString("ucs2") } }; var C = function U(r) { var t = e[r].enc; var a = Buffer.allocUnsafe(131072); for (var n = 0; n < 131072; ++n) a[n] = 0; var i = Object.keys(t); for (var s = 0, f = i[s]; s < i.length; ++s) { if (!(f = i[s])) continue; var o = f.charCodeAt(0); a[2 * o] = t[f] & 255; a[2 * o + 1] = t[f] >> 8 } return function l(e, r) { var t = e.length , n = Buffer.allocUnsafe(2 * t) , i = 0 , s = 0 , f = 0 , o = 0 , l = 0; if (typeof e === "string") { for (i = o = 0; i < t; ++i) { s = e.charCodeAt(i) * 2; n[o++] = a[s + 1] || a[s]; if (a[s + 1] > 0) n[o++] = a[s] } n = n.slice(0, o) } else if (Buffer.isBuffer(e)) { for (i = o = 0; i < t; ++i) { l = e[i]; if (l < 128) s = l; else if (l < 224) { s = ((l & 31) << 6) + (e[i + 1] & 63); ++i } else if (l < 240) { s = ((l & 15) << 12) + ((e[i + 1] & 63) << 6) + (e[i + 2] & 63); i += 2 } else { s = ((l & 7) << 18) + ((e[i + 1] & 63) << 12) + ((e[i + 2] & 63) << 6) + (e[i + 3] & 63); i += 3 } if (s < 65536) { s *= 2; n[o++] = a[s + 1] || a[s]; if (a[s + 1] > 0) n[o++] = a[s] } else { f = s - 65536; s = 2 * (55296 + (f >> 10 & 1023)); n[o++] = a[s + 1] || a[s]; if (a[s + 1] > 0) n[o++] = a[s]; s = 2 * (56320 + (f & 1023)); n[o++] = a[s + 1] || a[s]; if (a[s + 1] > 0) n[o++] = a[s] } } n = n.slice(0, o) } else { for (i = o = 0; i < t; i++) { s = e[i].charCodeAt(0) * 2; n[o++] = a[s + 1] || a[s]; if (a[s + 1] > 0) n[o++] = a[s] } } if (!r || r === "buf") return n; if (r !== "arr") return n.toString("binary"); return [].slice.call(n) } }; var E = function H(r) { var t = e[r].dec; var a = Buffer.allocUnsafe(131072), n = 0, i, s = 0, f = 0, o = 0; for (o = 0; o < 65536; ++o) { a[2 * o] = 255; a[2 * o + 1] = 253 } for (n = 0; n < t.length; ++n) { if (!(i = t[n])) continue; s = i.charCodeAt(0); f = 2 * n; a[f] = s & 255; a[f + 1] = s >> 8 } return function l(e) { var r = e.length , t = Buffer.allocUnsafe(2 * r) , n = 0 , i = 0 , s = 0; if (Buffer.isBuffer(e)) { for (n = 0; n < r; n++) { i = 2 * e[n]; if (a[i] === 255 && a[i + 1] === 253) { i = 2 * ((e[n] << 8) + e[n + 1]); ++n } t[s++] = a[i]; t[s++] = a[i + 1] } } else if (typeof e === "string") { for (n = 0; n < r; n++) { i = 2 * e.charCodeAt(n); if (a[i] === 255 && a[i + 1] === 253) { i = 2 * ((e.charCodeAt(n) << 8) + e.charCodeAt(n + 1)); ++n } t[s++] = a[i]; t[s++] = a[i + 1] } } else { for (n = 0; n < r; n++) { i = 2 * e[n]; if (a[i] === 255 && a[i + 1] === 253) { i = 2 * ((e[n] << 8) + e[n + 1]); ++n } t[s++] = a[i]; t[s++] = a[i + 1] } } return t.slice(0, s).toString("ucs2") } }; i[65001] = function W(e) { if (typeof e === "string") return W(e.split("").map(c)); var r = e.length , t = 0 , a = 0; if (4 * r > v) { v = 4 * r; g = Buffer.allocUnsafe(v) } var n = 0; if (r >= 3 && e[0] == 239) if (e[1] == 187 && e[2] == 191) n = 3; for (var i = 1, s = 0, f = 0; n < r; n += i) { i = 1; f = e[n]; if (f < 128) t = f; else if (f < 224) { t = (f & 31) * 64 + (e[n + 1] & 63); i = 2 } else if (f < 240) { t = ((f & 15) << 12) + (e[n + 1] & 63) * 64 + (e[n + 2] & 63); i = 3 } else { t = (f & 7) * 262144 + ((e[n + 1] & 63) << 12) + (e[n + 2] & 63) * 64 + (e[n + 3] & 63); i = 4 } if (t < 65536) { g[s++] = t & 255; g[s++] = t >> 8 } else { t -= 65536; a = 55296 + (t >> 10 & 1023); t = 56320 + (t & 1023); g[s++] = a & 255; g[s++] = a >>> 8; g[s++] = t & 255; g[s++] = t >>> 8 & 255 } } return g.slice(0, s).toString("ucs2") } ; s[65001] = function V(e, r) { if (h && Buffer.isBuffer(e)) { if (!r || r === "buf") return e; if (r !== "arr") return e.toString("binary"); return [].slice.call(e) } var t = e.length , a = 0 , n = 0 , i = 0; var s = typeof e === "string"; if (4 * t > v) { v = 4 * t; g = Buffer.allocUnsafe(v) } for (var f = 0; f < t; ++f) { a = s ? e.charCodeAt(f) : e[f].charCodeAt(0); if (a <= 127) g[i++] = a; else if (a <= 2047) { g[i++] = 192 + (a >> 6); g[i++] = 128 + (a & 63) } else if (a >= 55296 && a <= 57343) { a -= 55296; ++f; n = (s ? e.charCodeAt(f) : e[f].charCodeAt(0)) - 56320 + (a << 10); g[i++] = 240 + (n >>> 18 & 7); g[i++] = 144 + (n >>> 12 & 63); g[i++] = 128 + (n >>> 6 & 63); g[i++] = 128 + (n & 63) } else { g[i++] = 224 + (a >> 12); g[i++] = 128 + (a >> 6 & 63); g[i++] = 128 + (a & 63) } } if (!r || r === "buf") return g.slice(0, i); if (r !== "arr") return g.slice(0, i).toString("binary"); return [].slice.call(g, 0, i) } } var k = function z() { if (h) { if (f[t[0]]) return; var r = 0 , l = 0; for (r = 0; r < t.length; ++r) { l = t[r]; if (e[l]) { f[l] = w(l); o[l] = b(l) } } for (r = 0; r < a.length; ++r) { l = a[r]; if (e[l]) { f[l] = E(l); o[l] = C(l) } } for (r = 0; r < n.length; ++r) { l = n[r]; if (i[l]) f[l] = i[l]; if (s[l]) o[l] = s[l] } } }; var S = function(e, r) { void r; return "" }; var A = function X(e) { delete f[e]; delete o[e] }; var _ = function G() { if (h) { if (!f[t[0]]) return; t.forEach(A); a.forEach(A); n.forEach(A) } x = S; I = 0 }; var B = { encache: k, decache: _, sbcs: t, dbcs: a }; k(); var T = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; var y = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'(),-./:?"; var x = S , I = 0; var R = function j(t, a, n) { if (t === I && x) { return x(a, n) } if (o[t]) { x = o[I = t]; return x(a, n) } if (h && Buffer.isBuffer(a)) a = a.toString("utf8"); var i = a.length; var s = h ? Buffer.allocUnsafe(4 * i) : [] , f = 0 , c = 0 , d = 0 , p = 0; var v = e[t], g, m = ""; var b = typeof a === "string"; if (v && (g = v.enc)) for (c = 0; c < i; ++c, ++d) { f = g[b ? a.charAt(c) : a[c]]; if (f > 255) { s[d] = f >> 8; s[++d] = f & 255 } else s[d] = f & 255 } else if (m = r[t]) switch (m) { case "utf8": if (h && b) { s = u(a, m); d = s.length; break } for (c = 0; c < i; ++c, ++d) { f = b ? a.charCodeAt(c) : a[c].charCodeAt(0); if (f <= 127) s[d] = f; else if (f <= 2047) { s[d] = 192 + (f >> 6); s[++d] = 128 + (f & 63) } else if (f >= 55296 && f <= 57343) { f -= 55296; p = (b ? a.charCodeAt(++c) : a[++c].charCodeAt(0)) - 56320 + (f << 10); s[d] = 240 + (p >>> 18 & 7); s[++d] = 144 + (p >>> 12 & 63); s[++d] = 128 + (p >>> 6 & 63); s[++d] = 128 + (p & 63) } else { s[d] = 224 + (f >> 12); s[++d] = 128 + (f >> 6 & 63); s[++d] = 128 + (f & 63) } } break; case "ascii": if (h && typeof a === "string") { s = u(a, m); d = s.length; break } for (c = 0; c < i; ++c, ++d) { f = b ? a.charCodeAt(c) : a[c].charCodeAt(0); if (f <= 127) s[d] = f; else throw new Error("bad ascii " + f) } break; case "utf16le": if (h && typeof a === "string") { s = u(a, m); d = s.length; break } for (c = 0; c < i; ++c) { f = b ? a.charCodeAt(c) : a[c].charCodeAt(0); s[d++] = f & 255; s[d++] = f >> 8 } break; case "utf16be": for (c = 0; c < i; ++c) { f = b ? a.charCodeAt(c) : a[c].charCodeAt(0); s[d++] = f >> 8; s[d++] = f & 255 } break; case "utf32le": for (c = 0; c < i; ++c) { f = b ? a.charCodeAt(c) : a[c].charCodeAt(0); if (f >= 55296 && f <= 57343) f = 65536 + (f - 55296 << 10) + (a[++c].charCodeAt(0) - 56320); s[d++] = f & 255; f >>= 8; s[d++] = f & 255; f >>= 8; s[d++] = f & 255; f >>= 8; s[d++] = f & 255 } break; case "utf32be": for (c = 0; c < i; ++c) { f = b ? a.charCodeAt(c) : a[c].charCodeAt(0); if (f >= 55296 && f <= 57343) f = 65536 + (f - 55296 << 10) + (a[++c].charCodeAt(0) - 56320); s[d + 3] = f & 255; f >>= 8; s[d + 2] = f & 255; f >>= 8; s[d + 1] = f & 255; f >>= 8; s[d] = f & 255; d += 4 } break; case "utf7": for (c = 0; c < i; c++) { var w = b ? a.charAt(c) : a[c].charAt(0); if (w === "+") { s[d++] = 43; s[d++] = 45; continue } if (y.indexOf(w) > -1) { s[d++] = w.charCodeAt(0); continue } var C = j(1201, w); s[d++] = 43; s[d++] = T.charCodeAt(C[0] >> 2); s[d++] = T.charCodeAt(((C[0] & 3) << 4) + ((C[1] || 0) >> 4)); s[d++] = T.charCodeAt(((C[1] & 15) << 2) + ((C[2] || 0) >> 6)); s[d++] = 45 } break; default: throw new Error("Unsupported magic: " + t + " " + r[t]); } else throw new Error("Unrecognized CP: " + t); s = s.slice(0, d); if (!h) return n == "str" ? s.map(l).join("") : s; if (!n || n === "buf") return s; if (n !== "arr") return s.toString("binary"); return [].slice.call(s) }; var D = function K(t, a) { var n; if (n = f[t]) return n(a); if (typeof a === "string") return K(t, a.split("").map(c)); var i = a.length , s = new Array(i) , o = "" , l = 0 , u = 0 , d = 1 , p = 0 , v = 0; var g = e[t], m, b = ""; if (g && (m = g.dec)) { for (u = 0; u < i; u += d) { d = 2; o = m[(a[u] << 8) + a[u + 1]]; if (!o) { d = 1; o = m[a[u]] } if (!o) throw new Error("Unrecognized code: " + a[u] + " " + a[u + d - 1] + " " + u + " " + d + " " + m[a[u]]); s[p++] = o } } else if (b = r[t]) switch (b) { case "utf8": if (i >= 3 && a[0] == 239) if (a[1] == 187 && a[2] == 191) u = 3; for (; u < i; u += d) { d = 1; if (a[u] < 128) l = a[u]; else if (a[u] < 224) { l = (a[u] & 31) * 64 + (a[u + 1] & 63); d = 2 } else if (a[u] < 240) { l = ((a[u] & 15) << 12) + (a[u + 1] & 63) * 64 + (a[u + 2] & 63); d = 3 } else { l = (a[u] & 7) * 262144 + ((a[u + 1] & 63) << 12) + (a[u + 2] & 63) * 64 + (a[u + 3] & 63); d = 4 } if (l < 65536) { s[p++] = String.fromCharCode(l) } else { l -= 65536; v = 55296 + (l >> 10 & 1023); l = 56320 + (l & 1023); s[p++] = String.fromCharCode(v); s[p++] = String.fromCharCode(l) } } break; case "ascii": if (h && Buffer.isBuffer(a)) return a.toString(b); for (u = 0; u < i; u++) s[u] = String.fromCharCode(a[u]); p = i; break; case "utf16le": if (i >= 2 && a[0] == 255) if (a[1] == 254) u = 2; if (h && Buffer.isBuffer(a)) return a.toString(b); d = 2; for (; u + 1 < i; u += d) { s[p++] = String.fromCharCode((a[u + 1] << 8) + a[u]) } break; case "utf16be": if (i >= 2 && a[0] == 254) if (a[1] == 255) u = 2; d = 2; for (; u + 1 < i; u += d) { s[p++] = String.fromCharCode((a[u] << 8) + a[u + 1]) } break; case "utf32le": if (i >= 4 && a[0] == 255) if (a[1] == 254 && a[2] === 0 && a[3] === 0) u = 4; d = 4; for (; u < i; u += d) { l = (a[u + 3] << 24) + (a[u + 2] << 16) + (a[u + 1] << 8) + a[u]; if (l > 65535) { l -= 65536; s[p++] = String.fromCharCode(55296 + (l >> 10 & 1023)); s[p++] = String.fromCharCode(56320 + (l & 1023)) } else s[p++] = String.fromCharCode(l) } break; case "utf32be": if (i >= 4 && a[3] == 255) if (a[2] == 254 && a[1] === 0 && a[0] === 0) u = 4; d = 4; for (; u < i; u += d) { l = (a[u] << 24) + (a[u + 1] << 16) + (a[u + 2] << 8) + a[u + 3]; if (l > 65535) { l -= 65536; s[p++] = String.fromCharCode(55296 + (l >> 10 & 1023)); s[p++] = String.fromCharCode(56320 + (l & 1023)) } else s[p++] = String.fromCharCode(l) } break; case "utf7": if (i >= 4 && a[0] == 43 && a[1] == 47 && a[2] == 118) { if (i >= 5 && a[3] == 56 && a[4] == 45) u = 5; else if (a[3] == 56 || a[3] == 57 || a[3] == 43 || a[3] == 47) u = 4 } for (; u < i; u += d) { if (a[u] !== 43) { d = 1; s[p++] = String.fromCharCode(a[u]); continue } d = 1; if (a[u + 1] === 45) { d = 2; s[p++] = "+"; continue } while (String.fromCharCode(a[u + d]).match(/[A-Za-z0-9+\/]/)) d++; var w = 0; if (a[u + d] === 45) { ++d; w = 1 } var C = []; var E = ""; var k = 0 , S = 0 , A = 0; var _ = 0 , B = 0 , y = 0 , x = 0; for (var I = 1; I < d - w; ) { _ = T.indexOf(String.fromCharCode(a[u + I++])); B = T.indexOf(String.fromCharCode(a[u + I++])); k = _ << 2 | B >> 4; C.push(k); y = T.indexOf(String.fromCharCode(a[u + I++])); if (y === -1) break; S = (B & 15) << 4 | y >> 2; C.push(S); x = T.indexOf(String.fromCharCode(a[u + I++])); if (x === -1) break; A = (y & 3) << 6 | x; if (x < 64) C.push(A) } E = K(1201, C); for (I = 0; I < E.length; ++I) s[p++] = E.charAt(I) } break; default: throw new Error("Unsupported magic: " + t + " " + r[t]); } else throw new Error("Unrecognized CP: " + t); return s.slice(0, p).join("") }; var O = function Y(t) { return !!(e[t] || r[t]) }; e.utils = { decode: D, encode: R, hascp: O, magic: r, cache: B }; return e }); var XLSX = {}; function make_xlsx_lib(e) { e.version = "0.14.1"; var r = 1200 , t = 1252; if (typeof module !== "undefined" && typeof require !== "undefined") { if (typeof cptable === "undefined") { if (typeof global !== "undefined") global.cptable = undefined; else if (typeof window !== "undefined") window.cptable = undefined } } var a = [874, 932, 936, 949, 950]; for (var n = 0; n <= 8; ++n) a.push(1250 + n); var i = { 0: 1252, 1: 65001, 2: 65001, 77: 1e4, 128: 932, 129: 949, 130: 1361, 134: 936, 136: 950, 161: 1253, 162: 1254, 163: 1258, 177: 1255, 178: 1256, 186: 1257, 204: 1251, 222: 874, 238: 1250, 255: 1252, 69: 6969 }; var s = function(e) { if (a.indexOf(e) == -1) return; t = i[0] = e }; function f() { s(1252) } var o = function(e) { r = e; s(e) }; function l() { o(1200); f() } function c(e) { var r = []; for (var t = 0, a = e.length; t < a; ++t) r[t] = e.charCodeAt(t); return r } function h(e) { var r = []; for (var t = 0; t < e.length >> 1; ++t) r[t] = String.fromCharCode(e.charCodeAt(2 * t) + (e.charCodeAt(2 * t + 1) << 8)); return r.join("") } function u(e) { var r = []; for (var t = 0; t < e.length >> 1; ++t) r[t] = String.fromCharCode(e.charCodeAt(2 * t + 1) + (e.charCodeAt(2 * t) << 8)); return r.join("") } var d = function(e) { var r = e.charCodeAt(0) , t = e.charCodeAt(1); if (r == 255 && t == 254) return h(e.slice(2)); if (r == 254 && t == 255) return u(e.slice(2)); if (r == 65279) return e.slice(1); return e }; var p = function Hg(e) { return String.fromCharCode(e) }; if (typeof cptable !== "undefined") { o = function(e) { r = e } ; d = function(e) { if (e.charCodeAt(0) === 255 && e.charCodeAt(1) === 254) { return cptable.utils.decode(1200, c(e.slice(2))) } return e } ; p = function Wg(e) { if (r === 1200) return String.fromCharCode(e); return cptable.utils.decode(r, [e & 255, e >> 8])[0] } } var v = null; var g = true; var m = function Vg() { var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; return { encode: function(r) { var t = ""; var a = 0 , n = 0 , i = 0 , s = 0 , f = 0 , o = 0 , l = 0; for (var c = 0; c < r.length; ) { a = r.charCodeAt(c++); s = a >> 2; n = r.charCodeAt(c++); f = (a & 3) << 4 | n >> 4; i = r.charCodeAt(c++); o = (n & 15) << 2 | i >> 6; l = i & 63; if (isNaN(n)) { o = l = 64 } else if (isNaN(i)) { l = 64 } t += e.charAt(s) + e.charAt(f) + e.charAt(o) + e.charAt(l) } return t }, decode: function r(t) { var a = ""; var n = 0 , i = 0 , s = 0 , f = 0 , o = 0 , l = 0 , c = 0; t = t.replace(/[^\w\+\/\=]/g, ""); for (var h = 0; h < t.length; ) { f = e.indexOf(t.charAt(h++)); o = e.indexOf(t.charAt(h++)); n = f << 2 | o >> 4; a += String.fromCharCode(n); l = e.indexOf(t.charAt(h++)); i = (o & 15) << 4 | l >> 2; if (l !== 64) { a += String.fromCharCode(i) } c = e.indexOf(t.charAt(h++)); s = (l & 3) << 6 | c; if (c !== 64) { a += String.fromCharCode(s) } } return a } } }(); var b = typeof Buffer !== "undefined" && typeof process !== "undefined" && typeof process.versions !== "undefined" && !!process.versions.node; var w = function() {}; if (typeof Buffer !== "undefined") { var C = !Buffer.from; if (!C) try { Buffer.from("foo", "utf8") } catch (E) { C = true } w = C ? function(e, r) { return r ? Buffer.from(e, r) : Buffer.from(e) } : Buffer.from.bind(Buffer); if (!Buffer.alloc) Buffer.alloc = function(e) { return Buffer.from(e) } ; if (!Buffer.allocUnsafe) Buffer.allocUnsafe = function(e) { return Buffer.from(e) } } function k(e) { return b ? Buffer.alloc(e) : new Array(e) } function S(e) { return b ? Buffer.allocUnsafe(e) : new Array(e) } var A = function zg(e) { if (b) return w(e, "binary"); return e.split("").map(function(e) { return e.charCodeAt(0) & 255 }) }; function _(e) { if (typeof ArrayBuffer === "undefined") return A(e); var r = new ArrayBuffer(e.length) , t = new Uint8Array(r); for (var a = 0; a != e.length; ++a) t[a] = e.charCodeAt(a) & 255; return r } function B(e) { if (Array.isArray(e)) return e.map(xp).join(""); var r = []; for (var t = 0; t < e.length; ++t) r[t] = xp(e[t]); return r.join("") } function T(e) { if (typeof Uint8Array === "undefined") throw new Error("Unsupported"); return new Uint8Array(e) } function y(e) { if (typeof ArrayBuffer == "undefined") throw new Error("Unsupported"); if (e instanceof ArrayBuffer) return y(new Uint8Array(e)); var r = new Array(e.length); for (var t = 0; t < e.length; ++t) r[t] = e[t]; return r } var x = function(e) { return [].concat.apply([], e) }; var I = /\u0000/g , R = /[\u0001-\u0006]/g; var D = {}; var O = function Xg(e) { e.version = "0.10.2"; function r(e) { var r = "" , t = e.length - 1; while (t >= 0) r += e.charAt(t--); return r } function t(e, r) { var t = ""; while (t.length < r) t += e; return t } function a(e, r) { var a = "" + e; return a.length >= r ? a : t("0", r - a.length) + a } function n(e, r) { var a = "" + e; return a.length >= r ? a : t(" ", r - a.length) + a } function i(e, r) { var a = "" + e; return a.length >= r ? a : a + t(" ", r - a.length) } function s(e, r) { var a = "" + Math.round(e); return a.length >= r ? a : t("0", r - a.length) + a } function f(e, r) { var a = "" + e; return a.length >= r ? a : t("0", r - a.length) + a } var o = Math.pow(2, 32); function l(e, r) { if (e > o || e < -o) return s(e, r); var t = Math.round(e); return f(t, r) } function c(e, r) { r = r || 0; return e.length >= 7 + r && (e.charCodeAt(r) | 32) === 103 && (e.charCodeAt(r + 1) | 32) === 101 && (e.charCodeAt(r + 2) | 32) === 110 && (e.charCodeAt(r + 3) | 32) === 101 && (e.charCodeAt(r + 4) | 32) === 114 && (e.charCodeAt(r + 5) | 32) === 97 && (e.charCodeAt(r + 6) | 32) === 108 } var h = [["Sun", "Sunday"], ["Mon", "Monday"], ["Tue", "Tuesday"], ["Wed", "Wednesday"], ["Thu", "Thursday"], ["Fri", "Friday"], ["Sat", "Saturday"]]; var u = [["J", "Jan", "January"], ["F", "Feb", "February"], ["M", "Mar", "March"], ["A", "Apr", "April"], ["M", "May", "May"], ["J", "Jun", "June"], ["J", "Jul", "July"], ["A", "Aug", "August"], ["S", "Sep", "September"], ["O", "Oct", "October"], ["N", "Nov", "November"], ["D", "Dec", "December"]]; function d(e) { e[0] = "General"; e[1] = "0"; e[2] = "0.00"; e[3] = "#,##0"; e[4] = "#,##0.00"; e[9] = "0%"; e[10] = "0.00%"; e[11] = "0.00E+00"; e[12] = "# ?/?"; e[13] = "# ??/??"; e[14] = "m/d/yy"; e[15] = "d-mmm-yy"; e[16] = "d-mmm"; e[17] = "mmm-yy"; e[18] = "h:mm AM/PM"; e[19] = "h:mm:ss AM/PM"; e[20] = "h:mm"; e[21] = "h:mm:ss"; e[22] = "m/d/yy h:mm"; e[37] = "#,##0 ;(#,##0)"; e[38] = "#,##0 ;[Red](#,##0)"; e[39] = "#,##0.00;(#,##0.00)"; e[40] = "#,##0.00;[Red](#,##0.00)"; e[45] = "mm:ss"; e[46] = "[h]:mm:ss"; e[47] = "mmss.0"; e[48] = "##0.0E+0"; e[49] = "@"; e[56] = '"上午/下午 "hh"時"mm"分"ss"秒 "'; e[65535] = "General" } var p = {}; d(p); function v(e, r, t) { var a = e < 0 ? -1 : 1; var n = e * a; var i = 0 , s = 1 , f = 0; var o = 1 , l = 0 , c = 0; var h = Math.floor(n); while (l < r) { h = Math.floor(n); f = h * s + i; c = h * l + o; if (n - h < 5e-8) break; n = 1 / (n - h); i = s; s = f; o = l; l = c } if (c > r) { if (l > r) { c = o; f = i } else { c = l; f = s } } if (!t) return [0, a * f, c]; var u = Math.floor(a * f / c); return [u, a * f - u * c, c] } function g(e, r, t) { if (e > 2958465 || e < 0) return null; var a = e | 0 , n = Math.floor(86400 * (e - a)) , i = 0; var s = []; var f = { D: a, T: n, u: 86400 * (e - a) - n, y: 0, m: 0, d: 0, H: 0, M: 0, S: 0, q: 0 }; if (Math.abs(f.u) < 1e-6) f.u = 0; if (r && r.date1904) a += 1462; if (f.u > .9999) { f.u = 0; if (++n == 86400) { f.T = n = 0; ++a; ++f.D } } if (a === 60) { s = t ? [1317, 10, 29] : [1900, 2, 29]; i = 3 } else if (a === 0) { s = t ? [1317, 8, 29] : [1900, 1, 0]; i = 6 } else { if (a > 60) --a; var o = new Date(1900,0,1); o.setDate(o.getDate() + a - 1); s = [o.getFullYear(), o.getMonth() + 1, o.getDate()]; i = o.getDay(); if (a < 60) i = (i + 6) % 7; if (t) i = A(o, s) } f.y = s[0]; f.m = s[1]; f.d = s[2]; f.S = n % 60; n = Math.floor(n / 60); f.M = n % 60; n = Math.floor(n / 60); f.H = n; f.q = i; return f } e.parse_date_code = g; var m = new Date(1899,11,31,0,0,0); var b = m.getTime(); var w = new Date(1900,2,1,0,0,0); function C(e, r) { var t = e.getTime(); if (r) t -= 1461 * 24 * 60 * 60 * 1e3; else if (e >= w) t += 24 * 60 * 60 * 1e3; return (t - (b + (e.getTimezoneOffset() - m.getTimezoneOffset()) * 6e4)) / (24 * 60 * 60 * 1e3) } function E(e) { return e.toString(10) } e._general_int = E; var k = function M() { var e = /\.(\d*[1-9])0+$/ , r = /\.0*$/ , t = /\.(\d*[1-9])0+/ , a = /\.0*[Ee]/ , n = /(E[+-])(\d)$/; function i(e) { var r = e < 0 ? 12 : 11; var t = o(e.toFixed(12)); if (t.length <= r) return t; t = e.toPrecision(10); if (t.length <= r) return t; return e.toExponential(5) } function s(r) { var t = r.toFixed(11).replace(e, ".$1"); if (t.length > (r < 0 ? 12 : 11)) t = r.toPrecision(6); return t } function f(e) { for (var r = 0; r != e.length; ++r) if ((e.charCodeAt(r) | 32) === 101) return e.replace(t, ".$1").replace(a, "E").replace("e", "E").replace(n, "$10$2"); return e } function o(t) { return t.indexOf(".") > -1 ? t.replace(r, "").replace(e, ".$1") : t } return function l(e) { var r = Math.floor(Math.log(Math.abs(e)) * Math.LOG10E), t; if (r >= -4 && r <= -1) t = e.toPrecision(10 + r); else if (Math.abs(r) <= 9) t = i(e); else if (r === 10) t = e.toFixed(10).substr(0, 12); else t = s(e); return o(f(t)) } }(); e._general_num = k; function S(e, r) { switch (typeof e) { case "string": return e; case "boolean": return e ? "TRUE" : "FALSE"; case "number": return (e | 0) === e ? E(e) : k(e); case "undefined": return ""; case "object": if (e == null) return ""; if (e instanceof Date) return N(14, C(e, r && r.date1904), r); } throw new Error("unsupported value in General format: " + e) } e._general = S; function A() { return 0 } function _(e, r, t, n) { var i = "", s = 0, f = 0, o = t.y, l, c = 0; switch (e) { case 98: o = t.y + 543; case 121: switch (r.length) { case 1: ; case 2: l = o % 100; c = 2; break; default: l = o % 1e4; c = 4; break; } break; case 109: switch (r.length) { case 1: ; case 2: l = t.m; c = r.length; break; case 3: return u[t.m - 1][1]; case 5: return u[t.m - 1][0]; default: return u[t.m - 1][2]; } break; case 100: switch (r.length) { case 1: ; case 2: l = t.d; c = r.length; break; case 3: return h[t.q][0]; default: return h[t.q][1]; } break; case 104: switch (r.length) { case 1: ; case 2: l = 1 + (t.H + 11) % 12; c = r.length; break; default: throw "bad hour format: " + r; } break; case 72: switch (r.length) { case 1: ; case 2: l = t.H; c = r.length; break; default: throw "bad hour format: " + r; } break; case 77: switch (r.length) { case 1: ; case 2: l = t.M; c = r.length; break; default: throw "bad minute format: " + r; } break; case 115: if (r != "s" && r != "ss" && r != ".0" && r != ".00" && r != ".000") throw "bad second format: " + r; if (t.u === 0 && (r == "s" || r == "ss")) return a(t.S, r.length); if (n >= 2) f = n === 3 ? 1e3 : 100; else f = n === 1 ? 10 : 1; s = Math.round(f * (t.S + t.u)); if (s >= 60 * f) s = 0; if (r === "s") return s === 0 ? "0" : "" + s / f; i = a(s, 2 + n); if (r === "ss") return i.substr(0, 2); return "." + i.substr(2, r.length - 1); case 90: switch (r) { case "[h]": ; case "[hh]": l = t.D * 24 + t.H; break; case "[m]": ; case "[mm]": l = (t.D * 24 + t.H) * 60 + t.M; break; case "[s]": ; case "[ss]": l = ((t.D * 24 + t.H) * 60 + t.M) * 60 + Math.round(t.S + t.u); break; default: throw "bad abstime format: " + r; } c = r.length === 3 ? 1 : 2; break; case 101: l = o; c = 1; } if (c > 0) return a(l, c); else return "" } function B(e) { var r = 3; if (e.length <= r) return e; var t = e.length % r , a = e.substr(0, t); for (; t != e.length; t += r) a += (a.length > 0 ? "," : "") + e.substr(t, r); return a } var T = function U() { var e = /%/g; function s(r, a, n) { var i = a.replace(e, "") , s = a.length - i.length; return T(r, i, n * Math.pow(10, 2 * s)) + t("%", s) } function f(e, r, t) { var a = r.length - 1; while (r.charCodeAt(a - 1) === 44) --a; return T(e, r.substr(0, a), t / Math.pow(10, 3 * (r.length - a))) } function o(e, r) { var t; var a = e.indexOf("E") - e.indexOf(".") - 1; if (e.match(/^#+0.0E\+0$/)) { if (r == 0) return "0.0E+0"; else if (r < 0) return "-" + o(e, -r); var n = e.indexOf("."); if (n === -1) n = e.indexOf("E"); var i = Math.floor(Math.log(r) * Math.LOG10E) % n; if (i < 0) i += n; t = (r / Math.pow(10, i)).toPrecision(a + 1 + (n + i) % n); if (t.indexOf("e") === -1) { var s = Math.floor(Math.log(r) * Math.LOG10E); if (t.indexOf(".") === -1) t = t.charAt(0) + "." + t.substr(1) + "E+" + (s - t.length + i); else t += "E+" + (s - i); while (t.substr(0, 2) === "0.") { t = t.charAt(0) + t.substr(2, n) + "." + t.substr(2 + n); t = t.replace(/^0+([1-9])/, "$1").replace(/^0+\./, "0.") } t = t.replace(/\+-/, "-") } t = t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/, function(e, r, t, a) { return r + t + a.substr(0, (n + i) % n) + "." + a.substr(i) + "E" }) } else t = r.toExponential(a); if (e.match(/E\+00$/) && t.match(/e[+-]\d$/)) t = t.substr(0, t.length - 1) + "0" + t.charAt(t.length - 1); if (e.match(/E\-/) && t.match(/e\+/)) t = t.replace(/e\+/, "e"); return t.replace("e", "E") } var c = /# (\?+)( ?)\/( ?)(\d+)/; function h(e, r, i) { var s = parseInt(e[4], 10) , f = Math.round(r * s) , o = Math.floor(f / s); var l = f - o * s , c = s; return i + (o === 0 ? "" : "" + o) + " " + (l === 0 ? t(" ", e[1].length + 1 + e[4].length) : n(l, e[1].length) + e[2] + "/" + e[3] + a(c, e[4].length)) } function u(e, r, a) { return a + (r === 0 ? "" : "" + r) + t(" ", e[1].length + 2 + e[4].length) } var d = /^#*0*\.([0#]+)/; var p = /\).*[0#]/; var g = /\(###\) ###\\?-####/; function m(e) { var r = "", t; for (var a = 0; a != e.length; ++a) switch (t = e.charCodeAt(a)) { case 35: break; case 63: r += " "; break; case 48: r += "0"; break; default: r += String.fromCharCode(t); } return r } function b(e, r) { var t = Math.pow(10, r); return "" + Math.round(e * t) / t } function w(e, r) { if (r < ("" + Math.round((e - Math.floor(e)) * Math.pow(10, r))).length) { return 0 } return Math.round((e - Math.floor(e)) * Math.pow(10, r)) } function C(e, r) { if (r < ("" + Math.round((e - Math.floor(e)) * Math.pow(10, r))).length) { return 1 } return 0 } function E(e) { if (e < 2147483647 && e > -2147483648) return "" + (e >= 0 ? e | 0 : e - 1 | 0); return "" + Math.floor(e) } function k(e, u, S) { if (e.charCodeAt(0) === 40 && !u.match(p)) { var A = u.replace(/\( */, "").replace(/ \)/, "").replace(/\)/, ""); if (S >= 0) return k("n", A, S); return "(" + k("n", A, -S) + ")" } if (u.charCodeAt(u.length - 1) === 44) return f(e, u, S); if (u.indexOf("%") !== -1) return s(e, u, S); if (u.indexOf("E") !== -1) return o(u, S); if (u.charCodeAt(0) === 36) return "$" + k(e, u.substr(u.charAt(1) == " " ? 2 : 1), S); var _; var y, x, I, R = Math.abs(S), D = S < 0 ? "-" : ""; if (u.match(/^00+$/)) return D + l(R, u.length); if (u.match(/^[#?]+$/)) { _ = l(S, 0); if (_ === "0") _ = ""; return _.length > u.length ? _ : m(u.substr(0, u.length - _.length)) + _ } if (y = u.match(c)) return h(y, R, D); if (u.match(/^#+0+$/)) return D + l(R, u.length - u.indexOf("0")); if (y = u.match(d)) { _ = b(S, y[1].length).replace(/^([^\.]+)$/, "$1." + m(y[1])).replace(/\.$/, "." + m(y[1])).replace(/\.(\d*)$/, function(e, r) { return "." + r + t("0", m(y[1]).length - r.length) }); return u.indexOf("0.") !== -1 ? _ : _.replace(/^0\./, ".") } u = u.replace(/^#+([0.])/, "$1"); if (y = u.match(/^(0*)\.(#*)$/)) { return D + b(R, y[2].length).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, y[1].length ? "0." : ".") } if (y = u.match(/^#{1,3},##0(\.?)$/)) return D + B(l(R, 0)); if (y = u.match(/^#,##0\.([#0]*0)$/)) { return S < 0 ? "-" + k(e, u, -S) : B("" + (Math.floor(S) + C(S, y[1].length))) + "." + a(w(S, y[1].length), y[1].length) } if (y = u.match(/^#,#*,#0/)) return k(e, u.replace(/^#,#*,/, ""), S); if (y = u.match(/^([0#]+)(\\?-([0#]+))+$/)) { _ = r(k(e, u.replace(/[\\-]/g, ""), S)); x = 0; return r(r(u.replace(/\\/g, "")).replace(/[0#]/g, function(e) { return x < _.length ? _.charAt(x++) : e === "0" ? "0" : "" })) } if (u.match(g)) { _ = k(e, "##########", S); return "(" + _.substr(0, 3) + ") " + _.substr(3, 3) + "-" + _.substr(6) } var O = ""; if (y = u.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) { x = Math.min(y[4].length, 7); I = v(R, Math.pow(10, x) - 1, false); _ = "" + D; O = T("n", y[1], I[1]); if (O.charAt(O.length - 1) == " ") O = O.substr(0, O.length - 1) + "0"; _ += O + y[2] + "/" + y[3]; O = i(I[2], x); if (O.length < y[4].length) O = m(y[4].substr(y[4].length - O.length)) + O; _ += O; return _ } if (y = u.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)) { x = Math.min(Math.max(y[1].length, y[4].length), 7); I = v(R, Math.pow(10, x) - 1, true); return D + (I[0] || (I[1] ? "" : "0")) + " " + (I[1] ? n(I[1], x) + y[2] + "/" + y[3] + i(I[2], x) : t(" ", 2 * x + 1 + y[2].length + y[3].length)) } if (y = u.match(/^[#0?]+$/)) { _ = l(S, 0); if (u.length <= _.length) return _; return m(u.substr(0, u.length - _.length)) + _ } if (y = u.match(/^([#0?]+)\.([#0]+)$/)) { _ = "" + S.toFixed(Math.min(y[2].length, 10)).replace(/([^0])0+$/, "$1"); x = _.indexOf("."); var F = u.indexOf(".") - x , P = u.length - _.length - F; return m(u.substr(0, F) + _ + u.substr(u.length - P)) } if (y = u.match(/^00,000\.([#0]*0)$/)) { x = w(S, y[1].length); return S < 0 ? "-" + k(e, u, -S) : B(E(S)).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(e) { return "00," + (e.length < 3 ? a(0, 3 - e.length) : "") + e }) + "." + a(x, y[1].length) } switch (u) { case "###,##0.00": return k(e, "#,##0.00", S); case "###,###": ; case "##,###": ; case "#,###": var N = B(l(R, 0)); return N !== "0" ? D + N : ""; case "###,###.00": return k(e, "###,##0.00", S).replace(/^0\./, "."); case "#,###.00": return k(e, "#,##0.00", S).replace(/^0\./, "."); default: ; } throw new Error("unsupported format |" + u + "|") } function S(e, r, t) { var a = r.length - 1; while (r.charCodeAt(a - 1) === 44) --a; return T(e, r.substr(0, a), t / Math.pow(10, 3 * (r.length - a))) } function A(r, a, n) { var i = a.replace(e, "") , s = a.length - i.length; return T(r, i, n * Math.pow(10, 2 * s)) + t("%", s) } function _(e, r) { var t; var a = e.indexOf("E") - e.indexOf(".") - 1; if (e.match(/^#+0.0E\+0$/)) { if (r == 0) return "0.0E+0"; else if (r < 0) return "-" + _(e, -r); var n = e.indexOf("."); if (n === -1) n = e.indexOf("E"); var i = Math.floor(Math.log(r) * Math.LOG10E) % n; if (i < 0) i += n; t = (r / Math.pow(10, i)).toPrecision(a + 1 + (n + i) % n); if (!t.match(/[Ee]/)) { var s = Math.floor(Math.log(r) * Math.LOG10E); if (t.indexOf(".") === -1) t = t.charAt(0) + "." + t.substr(1) + "E+" + (s - t.length + i); else t += "E+" + (s - i); t = t.replace(/\+-/, "-") } t = t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/, function(e, r, t, a) { return r + t + a.substr(0, (n + i) % n) + "." + a.substr(i) + "E" }) } else t = r.toExponential(a); if (e.match(/E\+00$/) && t.match(/e[+-]\d$/)) t = t.substr(0, t.length - 1) + "0" + t.charAt(t.length - 1); if (e.match(/E\-/) && t.match(/e\+/)) t = t.replace(/e\+/, "e"); return t.replace("e", "E") } function y(e, s, f) { if (e.charCodeAt(0) === 40 && !s.match(p)) { var o = s.replace(/\( */, "").replace(/ \)/, "").replace(/\)/, ""); if (f >= 0) return y("n", o, f); return "(" + y("n", o, -f) + ")" } if (s.charCodeAt(s.length - 1) === 44) return S(e, s, f); if (s.indexOf("%") !== -1) return A(e, s, f); if (s.indexOf("E") !== -1) return _(s, f); if (s.charCodeAt(0) === 36) return "$" + y(e, s.substr(s.charAt(1) == " " ? 2 : 1), f); var l; var h, b, w, C = Math.abs(f), E = f < 0 ? "-" : ""; if (s.match(/^00+$/)) return E + a(C, s.length); if (s.match(/^[#?]+$/)) { l = "" + f; if (f === 0) l = ""; return l.length > s.length ? l : m(s.substr(0, s.length - l.length)) + l } if (h = s.match(c)) return u(h, C, E); if (s.match(/^#+0+$/)) return E + a(C, s.length - s.indexOf("0")); if (h = s.match(d)) { l = ("" + f).replace(/^([^\.]+)$/, "$1." + m(h[1])).replace(/\.$/, "." + m(h[1])); l = l.replace(/\.(\d*)$/, function(e, r) { return "." + r + t("0", m(h[1]).length - r.length) }); return s.indexOf("0.") !== -1 ? l : l.replace(/^0\./, ".") } s = s.replace(/^#+([0.])/, "$1"); if (h = s.match(/^(0*)\.(#*)$/)) { return E + ("" + C).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, h[1].length ? "0." : ".") } if (h = s.match(/^#{1,3},##0(\.?)$/)) return E + B("" + C); if (h = s.match(/^#,##0\.([#0]*0)$/)) { return f < 0 ? "-" + y(e, s, -f) : B("" + f) + "." + t("0", h[1].length) } if (h = s.match(/^#,#*,#0/)) return y(e, s.replace(/^#,#*,/, ""), f); if (h = s.match(/^([0#]+)(\\?-([0#]+))+$/)) { l = r(y(e, s.replace(/[\\-]/g, ""), f)); b = 0; return r(r(s.replace(/\\/g, "")).replace(/[0#]/g, function(e) { return b < l.length ? l.charAt(b++) : e === "0" ? "0" : "" })) } if (s.match(g)) { l = y(e, "##########", f); return "(" + l.substr(0, 3) + ") " + l.substr(3, 3) + "-" + l.substr(6) } var k = ""; if (h = s.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) { b = Math.min(h[4].length, 7); w = v(C, Math.pow(10, b) - 1, false); l = "" + E; k = T("n", h[1], w[1]); if (k.charAt(k.length - 1) == " ") k = k.substr(0, k.length - 1) + "0"; l += k + h[2] + "/" + h[3]; k = i(w[2], b); if (k.length < h[4].length) k = m(h[4].substr(h[4].length - k.length)) + k; l += k; return l } if (h = s.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)) { b = Math.min(Math.max(h[1].length, h[4].length), 7); w = v(C, Math.pow(10, b) - 1, true); return E + (w[0] || (w[1] ? "" : "0")) + " " + (w[1] ? n(w[1], b) + h[2] + "/" + h[3] + i(w[2], b) : t(" ", 2 * b + 1 + h[2].length + h[3].length)) } if (h = s.match(/^[#0?]+$/)) { l = "" + f; if (s.length <= l.length) return l; return m(s.substr(0, s.length - l.length)) + l } if (h = s.match(/^([#0]+)\.([#0]+)$/)) { l = "" + f.toFixed(Math.min(h[2].length, 10)).replace(/([^0])0+$/, "$1"); b = l.indexOf("."); var x = s.indexOf(".") - b , I = s.length - l.length - x; return m(s.substr(0, x) + l + s.substr(s.length - I)) } if (h = s.match(/^00,000\.([#0]*0)$/)) { return f < 0 ? "-" + y(e, s, -f) : B("" + f).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(e) { return "00," + (e.length < 3 ? a(0, 3 - e.length) : "") + e }) + "." + a(0, h[1].length) } switch (s) { case "###,###": ; case "##,###": ; case "#,###": var R = B("" + C); return R !== "0" ? E + R : ""; default: if (s.match(/\.[0#?]*$/)) return y(e, s.slice(0, s.lastIndexOf(".")), f) + m(s.slice(s.lastIndexOf("."))); } throw new Error("unsupported format |" + s + "|") } return function x(e, r, t) { return (t | 0) === t ? y(e, r, t) : k(e, r, t) } }(); function y(e) { var r = []; var t = false; for (var a = 0, n = 0; a < e.length; ++a) switch (e.charCodeAt(a)) { case 34: t = !t; break; case 95: ; case 42: ; case 92: ++a; break; case 59: r[r.length] = e.substr(n, a - n); n = a + 1; } r[r.length] = e.substr(n); if (t === true) throw new Error("Format |" + e + "| unterminated string "); return r } e._split = y; var x = /\[[HhMmSs]*\]/; function I(e) { var r = 0 , t = "" , a = ""; while (r < e.length) { switch (t = e.charAt(r)) { case "G": if (c(e, r)) r += 6; r++; break; case '"': for (; e.charCodeAt(++r) !== 34 && r < e.length; ) ++r; ++r; break; case "\\": r += 2; break; case "_": r += 2; break; case "@": ++r; break; case "B": ; case "b": if (e.charAt(r + 1) === "1" || e.charAt(r + 1) === "2") return true; case "M": ; case "D": ; case "Y": ; case "H": ; case "S": ; case "E": ; case "m": ; case "d": ; case "y": ; case "h": ; case "s": ; case "e": ; case "g": return true; case "A": ; case "a": if (e.substr(r, 3).toUpperCase() === "A/P") return true; if (e.substr(r, 5).toUpperCase() === "AM/PM") return true; ++r; break; case "[": a = t; while (e.charAt(r++) !== "]" && r < e.length) a += e.charAt(r); if (a.match(x)) return true; break; case ".": ; case "0": ; case "#": while (r < e.length && ("0#?.,E+-%".indexOf(t = e.charAt(++r)) > -1 || t == "\\" && e.charAt(r + 1) == "-" && "0#".indexOf(e.charAt(r + 2)) > -1)) {} break; case "?": while (e.charAt(++r) === t) {} break; case "*": ++r; if (e.charAt(r) == " " || e.charAt(r) == "*") ++r; break; case "(": ; case ")": ++r; break; case "1": ; case "2": ; case "3": ; case "4": ; case "5": ; case "6": ; case "7": ; case "8": ; case "9": while (r < e.length && "0123456789".indexOf(e.charAt(++r)) > -1) {} break; case " ": ++r; break; default: ++r; break; } } return false } e.is_date = I; function R(e, r, t, a) { var n = [], i = "", s = 0, f = "", o = "t", l, h, u; var d = "H"; while (s < e.length) { switch (f = e.charAt(s)) { case "G": if (!c(e, s)) throw new Error("unrecognized character " + f + " in " + e); n[n.length] = { t: "G", v: "General" }; s += 7; break; case '"': for (i = ""; (u = e.charCodeAt(++s)) !== 34 && s < e.length; ) i += String.fromCharCode(u); n[n.length] = { t: "t", v: i }; ++s; break; case "\\": var p = e.charAt(++s) , v = p === "(" || p === ")" ? p : "t"; n[n.length] = { t: v, v: p }; ++s; break; case "_": n[n.length] = { t: "t", v: " " }; s += 2; break; case "@": n[n.length] = { t: "T", v: r }; ++s; break; case "B": ; case "b": if (e.charAt(s + 1) === "1" || e.charAt(s + 1) === "2") { if (l == null) { l = g(r, t, e.charAt(s + 1) === "2"); if (l == null) return "" } n[n.length] = { t: "X", v: e.substr(s, 2) }; o = f; s += 2; break } ; case "M": ; case "D": ; case "Y": ; case "H": ; case "S": ; case "E": f = f.toLowerCase(); case "m": ; case "d": ; case "y": ; case "h": ; case "s": ; case "e": ; case "g": if (r < 0) return ""; if (l == null) { l = g(r, t); if (l == null) return "" } i = f; while (++s < e.length && e.charAt(s).toLowerCase() === f) i += f; if (f === "m" && o.toLowerCase() === "h") f = "M"; if (f === "h") f = d; n[n.length] = { t: f, v: i }; o = f; break; case "A": ; case "a": var m = { t: f, v: f }; if (l == null) l = g(r, t); if (e.substr(s, 3).toUpperCase() === "A/P") { if (l != null) m.v = l.H >= 12 ? "P" : "A"; m.t = "T"; d = "h"; s += 3 } else if (e.substr(s, 5).toUpperCase() === "AM/PM") { if (l != null) m.v = l.H >= 12 ? "PM" : "AM"; m.t = "T"; s += 5; d = "h" } else { m.t = "t"; ++s } if (l == null && m.t === "T") return ""; n[n.length] = m; o = f; break; case "[": i = f; while (e.charAt(s++) !== "]" && s < e.length) i += e.charAt(s); if (i.slice(-1) !== "]") throw 'unterminated "[" block: |' + i + "|"; if (i.match(x)) { if (l == null) { l = g(r, t); if (l == null) return "" } n[n.length] = { t: "Z", v: i.toLowerCase() }; o = i.charAt(1) } else if (i.indexOf("$") > -1) { i = (i.match(/\$([^-\[\]]*)/) || [])[1] || "$"; if (!I(e)) n[n.length] = { t: "t", v: i } } break; case ".": if (l != null) { i = f; while (++s < e.length && (f = e.charAt(s)) === "0") i += f; n[n.length] = { t: "s", v: i }; break } ; case "0": ; case "#": i = f; while (++s < e.length && "0#?.,E+-%".indexOf(f = e.charAt(s)) > -1 || f == "\\" && e.charAt(s + 1) == "-" && s < e.length - 2 && "0#".indexOf(e.charAt(s + 2)) > -1) i += f; n[n.length] = { t: "n", v: i }; break; case "?": i = f; while (e.charAt(++s) === f) i += f; n[n.length] = { t: f, v: i }; o = f; break; case "*": ++s; if (e.charAt(s) == " " || e.charAt(s) == "*") ++s; break; case "(": ; case ")": n[n.length] = { t: a === 1 ? "t" : f, v: f }; ++s; break; case "1": ; case "2": ; case "3": ; case "4": ; case "5": ; case "6": ; case "7": ; case "8": ; case "9": i = f; while (s < e.length && "0123456789".indexOf(e.charAt(++s)) > -1) i += e.charAt(s); n[n.length] = { t: "D", v: i }; break; case " ": n[n.length] = { t: f, v: f }; ++s; break; default: if (",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f) === -1) throw new Error("unrecognized character " + f + " in " + e); n[n.length] = { t: "t", v: f }; ++s; break; } } var b = 0, w = 0, C; for (s = n.length - 1, o = "t"; s >= 0; --s) { switch (n[s].t) { case "h": ; case "H": n[s].t = d; o = "h"; if (b < 1) b = 1; break; case "s": if (C = n[s].v.match(/\.0+$/)) w = Math.max(w, C[0].length - 1); if (b < 3) b = 3; case "d": ; case "y": ; case "M": ; case "e": o = n[s].t; break; case "m": if (o === "s") { n[s].t = "M"; if (b < 2) b = 2 } break; case "X": break; case "Z": if (b < 1 && n[s].v.match(/[Hh]/)) b = 1; if (b < 2 && n[s].v.match(/[Mm]/)) b = 2; if (b < 3 && n[s].v.match(/[Ss]/)) b = 3; } } switch (b) { case 0: break; case 1: if (l.u >= .5) { l.u = 0; ++l.S } if (l.S >= 60) { l.S = 0; ++l.M } if (l.M >= 60) { l.M = 0; ++l.H } break; case 2: if (l.u >= .5) { l.u = 0; ++l.S } if (l.S >= 60) { l.S = 0; ++l.M } break; } var E = "", k; for (s = 0; s < n.length; ++s) { switch (n[s].t) { case "t": ; case "T": ; case " ": ; case "D": break; case "X": n[s].v = ""; n[s].t = ";"; break; case "d": ; case "m": ; case "y": ; case "h": ; case "H": ; case "M": ; case "s": ; case "e": ; case "b": ; case "Z": n[s].v = _(n[s].t.charCodeAt(0), n[s].v, l, w); n[s].t = "t"; break; case "n": ; case "(": ; case "?": k = s + 1; while (n[k] != null && ((f = n[k].t) === "?" || f === "D" || (f === " " || f === "t") && n[k + 1] != null && (n[k + 1].t === "?" || n[k + 1].t === "t" && n[k + 1].v === "/") || n[s].t === "(" && (f === " " || f === "n" || f === ")") || f === "t" && (n[k].v === "/" || n[k].v === " " && n[k + 1] != null && n[k + 1].t == "?"))) { n[s].v += n[k].v; n[k] = { v: "", t: ";" }; ++k } E += n[s].v; s = k - 1; break; case "G": n[s].t = "t"; n[s].v = S(r, t); break; } } var A = "", B, y; if (E.length > 0) { if (E.charCodeAt(0) == 40) { B = r < 0 && E.charCodeAt(0) === 45 ? -r : r; y = T("(", E, B) } else { B = r < 0 && a > 1 ? -r : r; y = T("n", E, B); if (B < 0 && n[0] && n[0].t == "t") { y = y.substr(1); n[0].v = "-" + n[0].v } } k = y.length - 1; var R = n.length; for (s = 0; s < n.length; ++s) if (n[s] != null && n[s].t != "t" && n[s].v.indexOf(".") > -1) { R = s; break } var D = n.length; if (R === n.length && y.indexOf("E") === -1) { for (s = n.length - 1; s >= 0; --s) { if (n[s] == null || "n?(".indexOf(n[s].t) === -1) continue; if (k >= n[s].v.length - 1) { k -= n[s].v.length; n[s].v = y.substr(k + 1, n[s].v.length) } else if (k < 0) n[s].v = ""; else { n[s].v = y.substr(0, k + 1); k = -1 } n[s].t = "t"; D = s } if (k >= 0 && D < n.length) n[D].v = y.substr(0, k + 1) + n[D].v } else if (R !== n.length && y.indexOf("E") === -1) { k = y.indexOf(".") - 1; for (s = R; s >= 0; --s) { if (n[s] == null || "n?(".indexOf(n[s].t) === -1) continue; h = n[s].v.indexOf(".") > -1 && s === R ? n[s].v.indexOf(".") - 1 : n[s].v.length - 1; A = n[s].v.substr(h + 1); for (; h >= 0; --h) { if (k >= 0 && (n[s].v.charAt(h) === "0" || n[s].v.charAt(h) === "#")) A = y.charAt(k--) + A } n[s].v = A; n[s].t = "t"; D = s } if (k >= 0 && D < n.length) n[D].v = y.substr(0, k + 1) + n[D].v; k = y.indexOf(".") + 1; for (s = R; s < n.length; ++s) { if (n[s] == null || "n?(".indexOf(n[s].t) === -1 && s !== R) continue; h = n[s].v.indexOf(".") > -1 && s === R ? n[s].v.indexOf(".") + 1 : 0; A = n[s].v.substr(0, h); for (; h < n[s].v.length; ++h) { if (k < y.length) A += y.charAt(k++) } n[s].v = A; n[s].t = "t"; D = s } } } for (s = 0; s < n.length; ++s) if (n[s] != null && "n(?".indexOf(n[s].t) > -1) { B = a > 1 && r < 0 && s > 0 && n[s - 1].v === "-" ? -r : r; n[s].v = T(n[s].t, n[s].v, B); n[s].t = "t" } var O = ""; for (s = 0; s !== n.length; ++s) if (n[s] != null) O += n[s].v; return O } e._eval = R; var D = /\[[=<>]/; var O = /\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/; function F(e, r) { if (r == null) return false; var t = parseFloat(r[2]); switch (r[1]) { case "=": if (e == t) return true; break; case ">": if (e > t) return true; break; case "<": if (e < t) return true; break; case "<>": if (e != t) return true; break; case ">=": if (e >= t) return true; break; case "<=": if (e <= t) return true; break; } return false } function P(e, r) { var t = y(e); var a = t.length , n = t[a - 1].indexOf("@"); if (a < 4 && n > -1) --a; if (t.length > 4) throw new Error("cannot find right format for |" + t.join("|") + "|"); if (typeof r !== "number") return [4, t.length === 4 || n > -1 ? t[t.length - 1] : "@"]; switch (t.length) { case 1: t = n > -1 ? ["General", "General", "General", t[0]] : [t[0], t[0], t[0], "@"]; break; case 2: t = n > -1 ? [t[0], t[0], t[0], t[1]] : [t[0], t[1], t[0], "@"]; break; case 3: t = n > -1 ? [t[0], t[1], t[0], t[2]] : [t[0], t[1], t[2], "@"]; break; case 4: break; } var i = r > 0 ? t[0] : r < 0 ? t[1] : t[2]; if (t[0].indexOf("[") === -1 && t[1].indexOf("[") === -1) return [a, i]; if (t[0].match(D) != null || t[1].match(D) != null) { var s = t[0].match(O); var f = t[1].match(O); return F(r, s) ? [a, t[0]] : F(r, f) ? [a, t[1]] : [a, t[s != null && f != null ? 2 : 1]] } return [a, i] } function N(e, r, t) { if (t == null) t = {}; var a = ""; switch (typeof e) { case "string": if (e == "m/d/yy" && t.dateNF) a = t.dateNF; else a = e; break; case "number": if (e == 14 && t.dateNF) a = t.dateNF; else a = (t.table != null ? t.table : p)[e]; break; } if (c(a, 0)) return S(r, t); if (r instanceof Date) r = C(r, t.date1904); var n = P(a, r); if (c(n[1])) return S(r, t); if (r === true) r = "TRUE"; else if (r === false) r = "FALSE"; else if (r === "" || r == null) return ""; return R(n[1], r, t, n[0]) } function L(e, r) { if (typeof r != "number") { r = +r || -1; for (var t = 0; t < 392; ++t) { if (p[t] == undefined) { if (r < 0) r = t; continue } if (p[t] == e) { r = t; break } } if (r < 0) r = 391 } p[r] = e; return r } e.load = L; e._table = p; e.get_table = function H() { return p } ; e.load_table = function W(e) { for (var r = 0; r != 392; ++r) if (e[r] !== undefined) L(e[r], r) } ; e.init_table = d; e.format = N }; O(D); var F = { "General Number": "General", "General Date": D._table[22], "Long Date": "dddd, mmmm dd, yyyy", "Medium Date": D._table[15], "Short Date": D._table[14], "Long Time": D._table[19], "Medium Time": D._table[18], "Short Time": D._table[20], Currency: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', Fixed: D._table[2], Standard: D._table[4], Percent: D._table[10], Scientific: D._table[11], "Yes/No": '"Yes";"Yes";"No";@', "True/False": '"True";"True";"False";@', "On/Off": '"Yes";"Yes";"No";@' }; var P = { 5: '"$"#,##0_);\\("$"#,##0\\)', 6: '"$"#,##0_);[Red]\\("$"#,##0\\)', 7: '"$"#,##0.00_);\\("$"#,##0.00\\)', 8: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', 23: "General", 24: "General", 25: "General", 26: "General", 27: "m/d/yy", 28: "m/d/yy", 29: "m/d/yy", 30: "m/d/yy", 31: "m/d/yy", 32: "h:mm:ss", 33: "h:mm:ss", 34: "h:mm:ss", 35: "h:mm:ss", 36: "m/d/yy", 41: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)', 42: '_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)', 43: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', 44: '_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)', 50: "m/d/yy", 51: "m/d/yy", 52: "m/d/yy", 53: "m/d/yy", 54: "m/d/yy", 55: "m/d/yy", 56: "m/d/yy", 57: "m/d/yy", 58: "m/d/yy", 59: "0", 60: "0.00", 61: "#,##0", 62: "#,##0.00", 63: '"$"#,##0_);\\("$"#,##0\\)', 64: '"$"#,##0_);[Red]\\("$"#,##0\\)', 65: '"$"#,##0.00_);\\("$"#,##0.00\\)', 66: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', 67: "0%", 68: "0.00%", 69: "# ?/?", 70: "# ??/??", 71: "m/d/yy", 72: "m/d/yy", 73: "d-mmm-yy", 74: "d-mmm", 75: "mmm-yy", 76: "h:mm", 77: "h:mm:ss", 78: "m/d/yy h:mm", 79: "mm:ss", 80: "[h]:mm:ss", 81: "mmss.0" }; var N = /[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g; function L(e) { var r = typeof e == "number" ? D._table[e] : e; r = r.replace(N, "(\\d+)"); return new RegExp("^" + r + "$") } function M(e, r, t) { var a = -1 , n = -1 , i = -1 , s = -1 , f = -1 , o = -1; (r.match(N) || []).forEach(function(e, r) { var l = parseInt(t[r + 1], 10); switch (e.toLowerCase().charAt(0)) { case "y": a = l; break; case "d": i = l; break; case "h": s = l; break; case "s": o = l; break; case "m": if (s >= 0) f = l; else n = l; break; } }); if (o >= 0 && f == -1 && n >= 0) { f = n; n = -1 } var l = ("" + (a >= 0 ? a : (new Date).getFullYear())).slice(-4) + "-" + ("00" + (n >= 1 ? n : 1)).slice(-2) + "-" + ("00" + (i >= 1 ? i : 1)).slice(-2); if (l.length == 7) l = "0" + l; if (l.length == 8) l = "20" + l; var c = ("00" + (s >= 0 ? s : 0)).slice(-2) + ":" + ("00" + (f >= 0 ? f : 0)).slice(-2) + ":" + ("00" + (o >= 0 ? o : 0)).slice(-2); if (s == -1 && f == -1 && o == -1) return l; if (a == -1 && n == -1 && i == -1) return c; return l + "T" + c } var U = true; var H; (function(e) { e(H = {}) } )(function(e) { e.version = "1.2.0"; function r() { var e = 0 , r = new Array(256); for (var t = 0; t != 256; ++t) { e = t; e = e & 1 ? -306674912 ^ e >>> 1 : e >>> 1; e = e & 1 ? -306674912 ^ e >>> 1 : e >>> 1; e = e & 1 ? -306674912 ^ e >>> 1 : e >>> 1; e = e & 1 ? -306674912 ^ e >>> 1 : e >>> 1; e = e & 1 ? -306674912 ^ e >>> 1 : e >>> 1; e = e & 1 ? -306674912 ^ e >>> 1 : e >>> 1; e = e & 1 ? -306674912 ^ e >>> 1 : e >>> 1; e = e & 1 ? -306674912 ^ e >>> 1 : e >>> 1; r[t] = e } return typeof Int32Array !== "undefined" ? new Int32Array(r) : r } var t = r(); function a(e, r) { var a = r ^ -1 , n = e.length - 1; for (var i = 0; i < n; ) { a = a >>> 8 ^ t[(a ^ e.charCodeAt(i++)) & 255]; a = a >>> 8 ^ t[(a ^ e.charCodeAt(i++)) & 255] } if (i === n) a = a >>> 8 ^ t[(a ^ e.charCodeAt(i)) & 255]; return a ^ -1 } function n(e, r) { if (e.length > 1e4) return i(e, r); var a = r ^ -1 , n = e.length - 3; for (var s = 0; s < n; ) { a = a >>> 8 ^ t[(a ^ e[s++]) & 255]; a = a >>> 8 ^ t[(a ^ e[s++]) & 255]; a = a >>> 8 ^ t[(a ^ e[s++]) & 255]; a = a >>> 8 ^ t[(a ^ e[s++]) & 255] } while (s < n + 3) a = a >>> 8 ^ t[(a ^ e[s++]) & 255]; return a ^ -1 } function i(e, r) { var a = r ^ -1 , n = e.length - 7; for (var i = 0; i < n; ) { a = a >>> 8 ^ t[(a ^ e[i++]) & 255]; a = a >>> 8 ^ t[(a ^ e[i++]) & 255]; a = a >>> 8 ^ t[(a ^ e[i++]) & 255]; a = a >>> 8 ^ t[(a ^ e[i++]) & 255]; a = a >>> 8 ^ t[(a ^ e[i++]) & 255]; a = a >>> 8 ^ t[(a ^ e[i++]) & 255]; a = a >>> 8 ^ t[(a ^ e[i++]) & 255]; a = a >>> 8 ^ t[(a ^ e[i++]) & 255] } while (i < n + 7) a = a >>> 8 ^ t[(a ^ e[i++]) & 255]; return a ^ -1 } function s(e, r) { var a = r ^ -1; for (var n = 0, i = e.length, s, f; n < i; ) { s = e.charCodeAt(n++); if (s < 128) { a = a >>> 8 ^ t[(a ^ s) & 255] } else if (s < 2048) { a = a >>> 8 ^ t[(a ^ (192 | s >> 6 & 31)) & 255]; a = a >>> 8 ^ t[(a ^ (128 | s & 63)) & 255] } else if (s >= 55296 && s < 57344) { s = (s & 1023) + 64; f = e.charCodeAt(n++) & 1023; a = a >>> 8 ^ t[(a ^ (240 | s >> 8 & 7)) & 255]; a = a >>> 8 ^ t[(a ^ (128 | s >> 2 & 63)) & 255]; a = a >>> 8 ^ t[(a ^ (128 | f >> 6 & 15 | (s & 3) << 4)) & 255]; a = a >>> 8 ^ t[(a ^ (128 | f & 63)) & 255] } else { a = a >>> 8 ^ t[(a ^ (224 | s >> 12 & 15)) & 255]; a = a >>> 8 ^ t[(a ^ (128 | s >> 6 & 63)) & 255]; a = a >>> 8 ^ t[(a ^ (128 | s & 63)) & 255] } } return a ^ -1 } e.table = t; e.bstr = a; e.buf = n; e.str = s }); var W = function Gg() { var e = {}; e.version = "1.1.0"; function r(e, r) { var t = e.split("/") , a = r.split("/"); for (var n = 0, i = 0, s = Math.min(t.length, a.length); n < s; ++n) { if (i = t[n].length - a[n].length) return i; if (t[n] != a[n]) return t[n] < a[n] ? -1 : 1 } return t.length - a.length } function t(e) { if (e.charAt(e.length - 1) == "/") return e.slice(0, -1).indexOf("/") === -1 ? e : t(e.slice(0, -1)); var r = e.lastIndexOf("/"); return r === -1 ? e : e.slice(0, r + 1) } function a(e) { if (e.charAt(e.length - 1) == "/") return a(e.slice(0, -1)); var r = e.lastIndexOf("/"); return r === -1 ? e : e.slice(r + 1) } function n(e, r) { if (typeof r === "string") r = new Date(r); var t = r.getHours(); t = t << 6 | r.getMinutes(); t = t << 5 | r.getSeconds() >>> 1; e._W(2, t); var a = r.getFullYear() - 1980; a = a << 4 | r.getMonth() + 1; a = a << 5 | r.getDate(); e._W(2, a) } function i(e) { var r = e._R(2) & 65535; var t = e._R(2) & 65535; var a = new Date; var n = t & 31; t >>>= 5; var i = t & 15; t >>>= 4; a.setMilliseconds(0); a.setFullYear(t + 1980); a.setMonth(i - 1); a.setDate(n); var s = r & 31; r >>>= 5; var f = r & 63; r >>>= 6; a.setHours(r); a.setMinutes(f); a.setSeconds(s << 1); return a } function s(e) { zr(e, 0); var r = {}; var t = 0; while (e.l <= e.length - 4) { var a = e._R(2); var n = e._R(2) , i = e.l + n; var s = {}; switch (a) { case 21589: { t = e._R(1); if (t & 1) s.mtime = e._R(4); if (n > 5) { if (t & 2) s.atime = e._R(4); if (t & 4) s.ctime = e._R(4) } if (s.mtime) s.mt = new Date(s.mtime * 1e3) } break; } e.l = i; r[a] = s } return r } var f; function o() { return f || (f = require("fs")) } function l(e, r) { if (e[0] == 80 && e[1] == 75) return Be(e, r); if (e.length < 512) throw new Error("CFB file size " + e.length + " < 512"); var t = 3; var a = 512; var n = 0; var i = 0; var s = 0; var f = 0; var o = 0; var l = []; var p = e.slice(0, 512); zr(p, 0); var g = c(p); t = g[0]; switch (t) { case 3: a = 512; break; case 4: a = 4096; break; case 0: if (g[1] == 0) return Be(e, r); default: throw new Error("Major Version: Expected 3 or 4 saw " + t); } if (a !== 512) { p = e.slice(0, a); zr(p, 28) } var m = e.slice(0, a); h(p, t); var b = p._R(4, "i"); if (t === 3 && b !== 0) throw new Error("# Directory Sectors: Expected 0 saw " + b); p.l += 4; s = p._R(4, "i"); p.l += 4; p.chk("00100000", "Mini Stream Cutoff Size: "); f = p._R(4, "i"); n = p._R(4, "i"); o = p._R(4, "i"); i = p._R(4, "i"); for (var E = -1, k = 0; k < 109; ++k) { E = p._R(4, "i"); if (E < 0) break; l[k] = E } var S = u(e, a); v(o, i, S, a, l); var A = w(S, s, l, a); A[s].name = "!Directory"; if (n > 0 && f !== N) A[f].name = "!MiniFAT"; A[l[0]].name = "!FAT"; A.fat_addrs = l; A.ssz = a; var _ = {} , B = [] , T = [] , y = []; C(s, A, S, B, n, _, T, f); d(T, y, B); B.shift(); var x = { FileIndex: T, FullPaths: y }; if (r && r.raw) x.raw = { header: m, sectors: S }; return x } function c(e) { if (e[e.l] == 80 && e[e.l + 1] == 75) return [0, 0]; e.chk(L, "Header Signature: "); e.chk(U, "CLSID: "); var r = e._R(2, "u"); return [e._R(2, "u"), r] } function h(e, r) { var t = 9; e.l += 2; switch (t = e._R(2)) { case 9: if (r != 3) throw new Error("Sector Shift: Expected 9 saw " + t); break; case 12: if (r != 4) throw new Error("Sector Shift: Expected 12 saw " + t); break; default: throw new Error("Sector Shift: Expected 9 or 12 saw " + t); } e.chk("0600", "Mini Sector Shift: "); e.chk("000000000000", "Reserved: ") } function u(e, r) { var t = Math.ceil(e.length / r) - 1; var a = []; for (var n = 1; n < t; ++n) a[n - 1] = e.slice(n * r, (n + 1) * r); a[t - 1] = e.slice(t * r); return a } function d(e, r, t) { var a = 0 , n = 0 , i = 0 , s = 0 , f = 0 , o = t.length; var l = [] , c = []; for (; a < o; ++a) { l[a] = c[a] = a; r[a] = t[a] } for (; f < c.length; ++f) { a = c[f]; n = e[a].L; i = e[a].R; s = e[a].C; if (l[a] === a) { if (n !== -1 && l[n] !== n) l[a] = l[n]; if (i !== -1 && l[i] !== i) l[a] = l[i] } if (s !== -1) l[s] = a; if (n !== -1) { l[n] = l[a]; if (c.lastIndexOf(n) < f) c.push(n) } if (i !== -1) { l[i] = l[a]; if (c.lastIndexOf(i) < f) c.push(i) } } for (a = 1; a < o; ++a) if (l[a] === a) { if (i !== -1 && l[i] !== i) l[a] = l[i]; else if (n !== -1 && l[n] !== n) l[a] = l[n] } for (a = 1; a < o; ++a) { if (e[a].type === 0) continue; f = l[a]; if (f === 0) r[a] = r[0] + "/" + r[a]; else while (f !== 0 && f !== l[f]) { r[a] = r[f] + "/" + r[a]; f = l[f] } l[a] = 0 } r[0] += "/"; for (a = 1; a < o; ++a) { if (e[a].type !== 2) r[a] += "/" } } function p(e, r, t) { var a = e.start , n = e.size; var i = []; var s = a; while (t && n > 0 && s >= 0) { i.push(r.slice(s * P, s * P + P)); n -= P; s = Pr(t, s * 4) } if (i.length === 0) return Gr(0); return x(i).slice(0, e.size) } function v(e, r, t, a, n) { var i = N; if (e === N) { if (r !== 0) throw new Error("DIFAT chain shorter than expected") } else if (e !== -1) { var s = t[e] , f = (a >>> 2) - 1; if (!s) return; for (var o = 0; o < f; ++o) { if ((i = Pr(s, o * 4)) === N) break; n.push(i) } v(Pr(s, a - 4), r - 1, t, a, n) } } function g(e, r, t, a, n) { var i = [] , s = []; if (!n) n = []; var f = a - 1 , o = 0 , l = 0; for (o = r; o >= 0; ) { n[o] = true; i[i.length] = o; s.push(e[o]); var c = t[Math.floor(o * 4 / a)]; l = o * 4 & f; if (a < 4 + l) throw new Error("FAT boundary crossed: " + o + " 4 " + a); if (!e[c]) break; o = Pr(e[c], l) } return { nodes: i, data: cr([s]) } } function w(e, r, t, a) { var n = e.length , i = []; var s = [] , f = [] , o = []; var l = a - 1 , c = 0 , h = 0 , u = 0 , d = 0; for (c = 0; c < n; ++c) { f = []; u = c + r; if (u >= n) u -= n; if (s[u]) continue; o = []; for (h = u; h >= 0; ) { s[h] = true; f[f.length] = h; o.push(e[h]); var p = t[Math.floor(h * 4 / a)]; d = h * 4 & l; if (a < 4 + d) throw new Error("FAT boundary crossed: " + h + " 4 " + a); if (!e[p]) break; h = Pr(e[p], d) } i[u] = { nodes: f, data: cr([o]) } } return i } function C(e, r, t, a, n, i, s, f) { var o = 0 , l = a.length ? 2 : 0; var c = r[e].data; var h = 0, u = 0, d; for (; h < c.length; h += 128) { var v = c.slice(h, h + 128); zr(v, 64); u = v._R(2); d = ur(v, 0, u - l); a.push(d); var m = { name: d, type: v._R(1), color: v._R(1), L: v._R(4, "i"), R: v._R(4, "i"), C: v._R(4, "i"), clsid: v._R(16), state: v._R(4, "i"), start: 0, size: 0 }; var b = v._R(2) + v._R(2) + v._R(2) + v._R(2); if (b !== 0) m.ct = E(v, v.l - 8); var w = v._R(2) + v._R(2) + v._R(2) + v._R(2); if (w !== 0) m.mt = E(v, v.l - 8); m.start = v._R(4, "i"); m.size = v._R(4, "i"); if (m.size < 0 && m.start < 0) { m.size = m.type = 0; m.start = N; m.name = "" } if (m.type === 5) { o = m.start; if (n > 0 && o !== N) r[o].name = "!StreamData" } else if (m.size >= 4096) { m.storage = "fat"; if (r[m.start] === undefined) r[m.start] = g(t, m.start, r.fat_addrs, r.ssz); r[m.start].name = m.name; m.content = r[m.start].data.slice(0, m.size) } else { m.storage = "minifat"; if (m.size < 0) m.size = 0; else if (o !== N && m.start !== N && r[o]) { m.content = p(m, r[o].data, (r[f] || {}).data) } } if (m.content) zr(m.content, 0); i[d] = m; s.push(m) } } function E(e, r) { return new Date((Fr(e, r + 4) / 1e7 * Math.pow(2, 32) + Fr(e, r) / 1e7 - 11644473600) * 1e3) } function _(e, r) { o(); return l(f.readFileSync(e), r) } function B(e, r) { switch (r && r.type || "base64") { case "file": return _(e, r); case "base64": return l(A(m.decode(e)), r); case "binary": return l(A(e), r); } return l(e, r) } function T(e, r) { var t = r || {} , a = t.root || "Root Entry"; if (!e.FullPaths) e.FullPaths = []; if (!e.FileIndex) e.FileIndex = []; if (e.FullPaths.length !== e.FileIndex.length) throw new Error("inconsistent CFB structure"); if (e.FullPaths.length === 0) { e.FullPaths[0] = a + "/"; e.FileIndex[0] = { name: a, type: 5 } } if (t.CLSID) e.FileIndex[0].clsid = t.CLSID; y(e) } function y(e) { var r = "Sh33tJ5"; if (W.find(e, "/" + r)) return; var t = Gr(4); t[0] = 55; t[1] = t[3] = 50; t[2] = 54; e.FileIndex.push({ name: r, type: 2, content: t, size: 4, L: 69, R: 69, C: 69 }); e.FullPaths.push(e.FullPaths[0] + r); D(e) } function D(e, n) { T(e); var i = false , s = false; for (var f = e.FullPaths.length - 1; f >= 0; --f) { var o = e.FileIndex[f]; switch (o.type) { case 0: if (s) i = true; else { e.FileIndex.pop(); e.FullPaths.pop() } break; case 1: ; case 2: ; case 5: s = true; if (isNaN(o.R * o.L * o.C)) i = true; if (o.R > -1 && o.L > -1 && o.R == o.L) i = true; break; default: i = true; break; } } if (!i && !n) return; var l = new Date(1987,1,19) , c = 0; var h = []; for (f = 0; f < e.FullPaths.length; ++f) { if (e.FileIndex[f].type === 0) continue; h.push([e.FullPaths[f], e.FileIndex[f]]) } for (f = 0; f < h.length; ++f) { var u = t(h[f][0]); s = false; for (c = 0; c < h.length; ++c) if (h[c][0] === u) s = true; if (!s) h.push([u, { name: a(u).replace("/", ""), type: 1, clsid: U, ct: l, mt: l, content: null }]) } h.sort(function(e, t) { return r(e[0], t[0]) }); e.FullPaths = []; e.FileIndex = []; for (f = 0; f < h.length; ++f) { e.FullPaths[f] = h[f][0]; e.FileIndex[f] = h[f][1] } for (f = 0; f < h.length; ++f) { var d = e.FileIndex[f]; var p = e.FullPaths[f]; d.name = a(p).replace("/", ""); d.L = d.R = d.C = -(d.color = 1); d.size = d.content ? d.content.length : 0; d.start = 0; d.clsid = d.clsid || U; if (f === 0) { d.C = h.length > 1 ? 1 : -1; d.size = 0; d.type = 5 } else if (p.slice(-1) == "/") { for (c = f + 1; c < h.length; ++c) if (t(e.FullPaths[c]) == p) break; d.C = c >= h.length ? -1 : c; for (c = f + 1; c < h.length; ++c) if (t(e.FullPaths[c]) == t(p)) break; d.R = c >= h.length ? -1 : c; d.type = 1 } else { if (t(e.FullPaths[f + 1] || "") == t(p)) d.R = f + 1; d.type = 2 } } } function O(e, r) { var t = r || {}; D(e); if (t.fileType == "zip") return ye(e, t); var a = function(e) { var r = 0 , t = 0; for (var a = 0; a < e.FileIndex.length; ++a) { var n = e.FileIndex[a]; if (!n.content) continue; var i = n.content.length; if (i > 0) { if (i < 4096) r += i + 63 >> 6; else t += i + 511 >> 9 } } var s = e.FullPaths.length + 3 >> 2; var f = r + 7 >> 3; var o = r + 127 >> 7; var l = f + t + s + o; var c = l + 127 >> 7; var h = c <= 109 ? 0 : Math.ceil((c - 109) / 127); while (l + c + h + 127 >> 7 > c) h = ++c <= 109 ? 0 : Math.ceil((c - 109) / 127); var u = [1, h, c, o, s, t, r, 0]; e.FileIndex[0].size = r << 6; u[7] = (e.FileIndex[0].start = u[0] + u[1] + u[2] + u[3] + u[4] + u[5]) + (u[6] + 7 >> 3); return u }(e); var n = Gr(a[7] << 9); var i = 0 , s = 0; { for (i = 0; i < 8; ++i) n._W(1, M[i]); for (i = 0; i < 8; ++i) n._W(2, 0); n._W(2, 62); n._W(2, 3); n._W(2, 65534); n._W(2, 9); n._W(2, 6); for (i = 0; i < 3; ++i) n._W(2, 0); n._W(4, 0); n._W(4, a[2]); n._W(4, a[0] + a[1] + a[2] + a[3] - 1); n._W(4, 0); n._W(4, 1 << 12); n._W(4, a[3] ? a[0] + a[1] + a[2] - 1 : N); n._W(4, a[3]); n._W(-4, a[1] ? a[0] - 1 : N); n._W(4, a[1]); for (i = 0; i < 109; ++i) n._W(-4, i < a[2] ? a[1] + i : -1) } if (a[1]) { for (s = 0; s < a[1]; ++s) { for (; i < 236 + s * 127; ++i) n._W(-4, i < a[2] ? a[1] + i : -1); n._W(-4, s === a[1] - 1 ? N : s + 1) } } var f = function(e) { for (s += e; i < s - 1; ++i) n._W(-4, i + 1); if (e) { ++i; n._W(-4, N) } }; s = i = 0; for (s += a[1]; i < s; ++i) n._W(-4, V.DIFSECT); for (s += a[2]; i < s; ++i) n._W(-4, V.FATSECT); f(a[3]); f(a[4]); var o = 0 , l = 0; var c = e.FileIndex[0]; for (; o < e.FileIndex.length; ++o) { c = e.FileIndex[o]; if (!c.content) continue; l = c.content.length; if (l < 4096) continue; c.start = s; f(l + 511 >> 9) } f(a[6] + 7 >> 3); while (n.l & 511) n._W(-4, V.ENDOFCHAIN); s = i = 0; for (o = 0; o < e.FileIndex.length; ++o) { c = e.FileIndex[o]; if (!c.content) continue; l = c.content.length; if (!l || l >= 4096) continue; c.start = s; f(l + 63 >> 6) } while (n.l & 511) n._W(-4, V.ENDOFCHAIN); for (i = 0; i < a[4] << 2; ++i) { var h = e.FullPaths[i]; if (!h || h.length === 0) { for (o = 0; o < 17; ++o) n._W(4, 0); for (o = 0; o < 3; ++o) n._W(4, -1); for (o = 0; o < 12; ++o) n._W(4, 0); continue } c = e.FileIndex[i]; if (i === 0) c.start = c.size ? c.start - 1 : N; var u = i === 0 && t.root || c.name; l = 2 * (u.length + 1); n._W(64, u, "utf16le"); n._W(2, l); n._W(1, c.type); n._W(1, c.color); n._W(-4, c.L); n._W(-4, c.R); n._W(-4, c.C); if (!c.clsid) for (o = 0; o < 4; ++o) n._W(4, 0); else n._W(16, c.clsid, "hex"); n._W(4, c.state || 0); n._W(4, 0); n._W(4, 0); n._W(4, 0); n._W(4, 0); n._W(4, c.start); n._W(4, c.size); n._W(4, 0) } for (i = 1; i < e.FileIndex.length; ++i) { c = e.FileIndex[i]; if (c.size >= 4096) { n.l = c.start + 1 << 9; for (o = 0; o < c.size; ++o) n._W(1, c.content[o]); for (; o & 511; ++o) n._W(1, 0) } } for (i = 1; i < e.FileIndex.length; ++i) { c = e.FileIndex[i]; if (c.size > 0 && c.size < 4096) { for (o = 0; o < c.size; ++o) n._W(1, c.content[o]); for (; o & 63; ++o) n._W(1, 0) } } while (n.l < n.length) n._W(1, 0); return n } function F(e, r) { var t = e.FullPaths.map(function(e) { return e.toUpperCase() }); var a = t.map(function(e) { var r = e.split("/"); return r[r.length - (e.slice(-1) == "/" ? 2 : 1)] }); var n = false; if (r.charCodeAt(0) === 47) { n = true; r = t[0].slice(0, -1) + r } else n = r.indexOf("/") !== -1; var i = r.toUpperCase(); var s = n === true ? t.indexOf(i) : a.indexOf(i); if (s !== -1) return e.FileIndex[s]; var f = !i.match(R); i = i.replace(I, ""); if (f) i = i.replace(R, "!"); for (s = 0; s < t.length; ++s) { if ((f ? t[s].replace(R, "!") : t[s]).replace(I, "") == i) return e.FileIndex[s]; if ((f ? a[s].replace(R, "!") : a[s]).replace(I, "") == i) return e.FileIndex[s] } return null } var P = 64; var N = -2; var L = "d0cf11e0a1b11ae1"; var M = [208, 207, 17, 224, 161, 177, 26, 225]; var U = "00000000000000000000000000000000"; var V = { MAXREGSECT: -6, DIFSECT: -4, FATSECT: -3, ENDOFCHAIN: N, FREESECT: -1, HEADER_SIGNATURE: L, HEADER_MINOR_VERSION: "3e00", MAXREGSID: -6, NOSTREAM: -1, HEADER_CLSID: U, EntryTypes: ["unknown", "storage", "stream", "lockbytes", "property", "root"] }; function z(e, r, t) { o(); var a = O(e, t); f.writeFileSync(r, a) } function X(e) { var r = new Array(e.length); for (var t = 0; t < e.length; ++t) r[t] = String.fromCharCode(e[t]); return r.join("") } function G(e, r) { var t = O(e, r); switch (r && r.type) { case "file": o(); f.writeFileSync(r.filename, t); return t; case "binary": return X(t); case "base64": return m.encode(X(t)); } return t } var j; function K(e) { try { var r = e.InflateRaw; var t = new r; t._processChunk(new Uint8Array([3, 0]), t._finishFlushFlag); if (t.bytesRead) j = e; else throw new Error("zlib does not expose bytesRead") } catch (a) { console.error("cannot use native zlib: " + (a.message || a)) } } function Y(e, r) { if (!j) return Ae(e, r); var t = j.InflateRaw; var a = new t; var n = a._processChunk(e.slice(e.l), a._finishFlushFlag); e.l += a.bytesRead; return n } function $(e) { return j ? j.deflateRawSync(e) : ue(e) } var Z = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]; var Q = [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]; var J = [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]; function q(e) { var r = (e << 1 | e << 11) & 139536 | (e << 5 | e << 15) & 558144; return (r >> 16 | r >> 8 | r) & 255 } var ee = typeof Uint8Array !== "undefined"; var re = ee ? new Uint8Array(1 << 8) : []; for (var te = 0; te < 1 << 8; ++te) re[te] = q(te); function ae(e, r) { var t = re[e & 255]; if (r <= 8) return t >>> 8 - r; t = t << 8 | re[e >> 8 & 255]; if (r <= 16) return t >>> 16 - r; t = t << 8 | re[e >> 16 & 255]; return t >>> 24 - r } function ne(e, r) { var t = r & 7 , a = r >>> 3; return (e[a] | (t <= 6 ? 0 : e[a + 1] << 8)) >>> t & 3 } function ie(e, r) { var t = r & 7 , a = r >>> 3; return (e[a] | (t <= 5 ? 0 : e[a + 1] << 8)) >>> t & 7 } function se(e, r) { var t = r & 7 , a = r >>> 3; return (e[a] | (t <= 4 ? 0 : e[a + 1] << 8)) >>> t & 15 } function fe(e, r) { var t = r & 7 , a = r >>> 3; return (e[a] | (t <= 3 ? 0 : e[a + 1] << 8)) >>> t & 31 } function oe(e, r) { var t = r & 7 , a = r >>> 3; return (e[a] | (t <= 1 ? 0 : e[a + 1] << 8)) >>> t & 127 } function le(e, r, t) { var a = r & 7 , n = r >>> 3 , i = (1 << t) - 1; var s = e[n] >>> a; if (t < 8 - a) return s & i; s |= e[n + 1] << 8 - a; if (t < 16 - a) return s & i; s |= e[n + 2] << 16 - a; if (t < 24 - a) return s & i; s |= e[n + 3] << 24 - a; return s & i } function ce(e, r) { var t = e.length , a = 2 * t > r ? 2 * t : r + 5 , n = 0; if (t >= r) return e; if (b) { var i = S(a); if (e.copy) e.copy(i); else for (; n < e.length; ++n) i[n] = e[n]; return i } else if (ee) { var s = new Uint8Array(a); if (s.set) s.set(e); else for (; n < e.length; ++n) s[n] = e[n]; return s } e.length = a; return e } function he(e) { var r = new Array(e); for (var t = 0; t < e; ++t) r[t] = 0; return r } var ue = function() { var e = function() { return function e(r, t) { var a = 0; while (a < r.length) { var n = Math.min(65535, r.length - a); var i = a + n == r.length; t._W(1, +i); t._W(2, n); t._W(2, ~n & 65535); while (n-- > 0) t[t.l++] = r[a++] } return t.l } }(); return function(r) { var t = Gr(50 + Math.floor(r.length * 1.1)); var a = e(r, t); return t.slice(0, a) } }(); function de(e, r, t) { var a = 1 , n = 0 , i = 0 , s = 0 , f = 0 , o = e.length; var l = ee ? new Uint16Array(32) : he(32); for (i = 0; i < 32; ++i) l[i] = 0; for (i = o; i < t; ++i) e[i] = 0; o = e.length; var c = ee ? new Uint16Array(o) : he(o); for (i = 0; i < o; ++i) { l[n = e[i]]++; if (a < n) a = n; c[i] = 0 } l[0] = 0; for (i = 1; i <= a; ++i) l[i + 16] = f = f + l[i - 1] << 1; for (i = 0; i < o; ++i) { f = e[i]; if (f != 0) c[i] = l[f + 16]++ } var h = 0; for (i = 0; i < o; ++i) { h = e[i]; if (h != 0) { f = ae(c[i], a) >> a - h; for (s = (1 << a + 4 - h) - 1; s >= 0; --s) r[f | s << h] = h & 15 | i << 4 } } return a } var pe = ee ? new Uint16Array(512) : he(512); var ve = ee ? new Uint16Array(32) : he(32); if (!ee) { for (var ge = 0; ge < 512; ++ge) pe[ge] = 0; for (ge = 0; ge < 32; ++ge) ve[ge] = 0 } (function() { var e = []; var r = 0; for (; r < 32; r++) e.push(5); de(e, ve, 32); var t = []; r = 0; for (; r <= 143; r++) t.push(8); for (; r <= 255; r++) t.push(9); for (; r <= 279; r++) t.push(7); for (; r <= 287; r++) t.push(8); de(t, pe, 288) } )(); var me = ee ? new Uint16Array(32768) : he(32768); var be = ee ? new Uint16Array(32768) : he(32768); var we = ee ? new Uint16Array(128) : he(128); var Ce = 1 , Ee = 1; function ke(e, r) { var t = fe(e, r) + 257; r += 5; var a = fe(e, r) + 1; r += 5; var n = se(e, r) + 4; r += 4; var i = 0; var s = ee ? new Uint8Array(19) : he(19); var f = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; var o = 1; var l = ee ? new Uint8Array(8) : he(8); var c = ee ? new Uint8Array(8) : he(8); var h = s.length; for (var u = 0; u < n; ++u) { s[Z[u]] = i = ie(e, r); if (o < i) o = i; l[i]++; r += 3 } var d = 0; l[0] = 0; for (u = 1; u <= o; ++u) c[u] = d = d + l[u - 1] << 1; for (u = 0; u < h; ++u) if ((d = s[u]) != 0) f[u] = c[d]++; var p = 0; for (u = 0; u < h; ++u) { p = s[u]; if (p != 0) { d = re[f[u]] >> 8 - p; for (var v = (1 << 7 - p) - 1; v >= 0; --v) we[d | v << p] = p & 7 | u << 3 } } var g = []; o = 1; for (; g.length < t + a; ) { d = we[oe(e, r)]; r += d & 7; switch (d >>>= 3) { case 16: i = 3 + ne(e, r); r += 2; d = g[g.length - 1]; while (i-- > 0) g.push(d); break; case 17: i = 3 + ie(e, r); r += 3; while (i-- > 0) g.push(0); break; case 18: i = 11 + oe(e, r); r += 7; while (i-- > 0) g.push(0); break; default: g.push(d); if (o < d) o = d; break; } } var m = g.slice(0, t) , b = g.slice(t); for (u = t; u < 286; ++u) m[u] = 0; for (u = a; u < 30; ++u) b[u] = 0; Ce = de(m, me, 286); Ee = de(b, be, 30); return r } function Se(e, r) { if (e[0] == 3 && !(e[1] & 3)) { return [k(r), 2] } var t = 0; var a = 0; var n = S(r ? r : 1 << 18); var i = 0; var s = n.length >>> 0; var f = 0 , o = 0; while ((a & 1) == 0) { a = ie(e, t); t += 3; if (a >>> 1 == 0) { if (t & 7) t += 8 - (t & 7); var l = e[t >>> 3] | e[(t >>> 3) + 1] << 8; t += 32; if (!r && s < i + l) { n = ce(n, i + l); s = n.length } if (typeof e.copy === "function") { e.copy(n, i, t >>> 3, (t >>> 3) + l); i += l; t += 8 * l } else while (l-- > 0) { n[i++] = e[t >>> 3]; t += 8 } continue } else if (a >>> 1 == 1) { f = 9; o = 5 } else { t = ke(e, t); f = Ce; o = Ee } if (!r && s < i + 32767) { n = ce(n, i + 32767); s = n.length } for (; ; ) { var c = le(e, t, f); var h = a >>> 1 == 1 ? pe[c] : me[c]; t += h & 15; h >>>= 4; if ((h >>> 8 & 255) === 0) n[i++] = h; else if (h == 256) break; else { h -= 257; var u = h < 8 ? 0 : h - 4 >> 2; if (u > 5) u = 0; var d = i + Q[h]; if (u > 0) { d += le(e, t, u); t += u } c = le(e, t, o); h = a >>> 1 == 1 ? ve[c] : be[c]; t += h & 15; h >>>= 4; var p = h < 4 ? 0 : h - 2 >> 1; var v = J[h]; if (p > 0) { v += le(e, t, p); t += p } if (!r && s < d) { n = ce(n, d); s = n.length } while (i < d) { n[i] = n[i - v]; ++i } } } } return [r ? n : n.slice(0, i), t + 7 >>> 3] } function Ae(e, r) { var t = e.slice(e.l || 0); var a = Se(t, r); e.l += a[1]; return a[0] } function _e(e, r) { if (e) { if (typeof console !== "undefined") console.error(r) } else throw new Error(r) } function Be(e, r) { var t = e; zr(t, 0); var a = [] , n = []; var i = { FileIndex: a, FullPaths: n }; T(i, { root: r.root }); var f = t.length - 4; while ((t[f] != 80 || t[f + 1] != 75 || t[f + 2] != 5 || t[f + 3] != 6) && f >= 0) --f; t.l = f + 4; t.l += 4; var o = t._R(2); t.l += 6; var l = t._R(4); t.l = l; for (f = 0; f < o; ++f) { t.l += 20; var c = t._R(4); var h = t._R(4); var u = t._R(2); var d = t._R(2); var p = t._R(2); t.l += 8; var v = t._R(4); var g = s(t.slice(t.l + u, t.l + u + d)); t.l += u + d + p; var m = t.l; t.l = v + 4; Te(t, c, h, i, g); t.l = m } return i } function Te(e, r, t, a, n) { e.l += 2; var f = e._R(2); var o = e._R(2); var l = i(e); if (f & 8257) throw new Error("Unsupported ZIP encryption"); var c = e._R(4); var h = e._R(4); var u = e._R(4); var d = e._R(2); var p = e._R(2); var v = ""; for (var g = 0; g < d; ++g) v += String.fromCharCode(e[e.l++]); if (p) { var m = s(e.slice(e.l, e.l + p)); if ((m[21589] || {}).mt) l = m[21589].mt; if (((n || {})[21589] || {}).mt) l = n[21589].mt } e.l += p; var b = e.slice(e.l, e.l + h); switch (o) { case 8: b = Y(e, u); break; case 0: break; default: throw new Error("Unsupported ZIP Compression method " + o); } var w = false; if (f & 8) { c = e._R(4); if (c == 134695760) { c = e._R(4); w = true } h = e._R(4); u = e._R(4) } if (h != r) _e(w, "Bad compressed size: " + r + " != " + h); if (u != t) _e(w, "Bad uncompressed size: " + t + " != " + u); var C = H.buf(b, 0); if (c != C) _e(w, "Bad CRC32 checksum: " + c + " != " + C); Ie(a, v, b, { unsafe: true, mt: l }) } function ye(e, r) { var t = r || {}; var a = [] , i = []; var s = Gr(1); var f = t.compression ? 8 : 0 , o = 0; var l = false; if (l) o |= 8; var c = 0 , h = 0; var u = 0 , d = 0; var p = e.FullPaths[0] , v = p , g = e.FileIndex[0]; var m = []; var b = 0; for (c = 1; c < e.FullPaths.length; ++c) { v = e.FullPaths[c].slice(p.length); g = e.FileIndex[c]; if (!g.size || !g.content || v == "Sh33tJ5") continue; var w = u; var C = Gr(v.length); for (h = 0; h < v.length; ++h) C._W(1, v.charCodeAt(h) & 127); C = C.slice(0, C.l); m[d] = H.buf(g.content, 0); var E = g.content; if (f == 8) E = $(E); s = Gr(30); s._W(4, 67324752); s._W(2, 20); s._W(2, o); s._W(2, f); if (g.mt) n(s, g.mt); else s._W(4, 0); s._W(-4, o & 8 ? 0 : m[d]); s._W(4, o & 8 ? 0 : E.length); s._W(4, o & 8 ? 0 : g.content.length); s._W(2, C.length); s._W(2, 0); u += s.length; a.push(s); u += C.length; a.push(C); u += E.length; a.push(E); if (o & 8) { s = Gr(12); s._W(-4, m[d]); s._W(4, E.length); s._W(4, g.content.length); u += s.l; a.push(s) } s = Gr(46); s._W(4, 33639248); s._W(2, 0); s._W(2, 20); s._W(2, o); s._W(2, f); s._W(4, 0); s._W(-4, m[d]); s._W(4, E.length); s._W(4, g.content.length); s._W(2, C.length); s._W(2, 0); s._W(2, 0); s._W(2, 0); s._W(2, 0); s._W(4, 0); s._W(4, w); b += s.l; i.push(s); b += C.length; i.push(C); ++d } s = Gr(22); s._W(4, 101010256); s._W(2, 0); s._W(2, 0); s._W(2, d); s._W(2, d); s._W(4, b); s._W(4, u); s._W(2, 0); return x([x(a), x(i), s]) } function xe(e) { var r = {}; T(r, e); return r } function Ie(e, r, t, n) { var i = n && n.unsafe; if (!i) T(e); var s = !i && W.find(e, r); if (!s) { var f = e.FullPaths[0]; if (r.slice(0, f.length) == f) f = r; else { if (f.slice(-1) != "/") f += "/"; f = (f + r).replace("//", "/") } s = { name: a(r), type: 2 }; e.FileIndex.push(s); e.FullPaths.push(f); if (!i) W.utils.cfb_gc(e) } s.content = t; s.size = t ? t.length : 0; if (n) { if (n.CLSID) s.clsid = n.CLSID; if (n.mt) s.mt = n.mt; if (n.ct) s.ct = n.ct } return s } function Re(e, r) { T(e); var t = W.find(e, r); if (t) for (var a = 0; a < e.FileIndex.length; ++a) if (e.FileIndex[a] == t) { e.FileIndex.splice(a, 1); e.FullPaths.splice(a, 1); return true } return false } function De(e, r, t) { T(e); var n = W.find(e, r); if (n) for (var i = 0; i < e.FileIndex.length; ++i) if (e.FileIndex[i] == n) { e.FileIndex[i].name = a(t); e.FullPaths[i] = t; return true } return false } function Oe(e) { D(e, true) } e.find = F; e.read = B; e.parse = l; e.write = G; e.writeFile = z; e.utils = { cfb_new: xe, cfb_add: Ie, cfb_del: Re, cfb_mov: De, cfb_gc: Oe, ReadShift: Lr, CheckField: Vr, prep_blob: zr, bconcat: x, use_zlib: K, _deflateRaw: ue, _inflateRaw: Ae, consts: V }; return e }(); if (typeof require !== "undefined" && typeof module !== "undefined" && typeof U === "undefined") { module.exports = W } var V; if (typeof require !== "undefined") try { V = require("fs") } catch (E) {} function z(e) { if (typeof e === "string") return _(e); if (Array.isArray(e)) return T(e); return e } function X(e, r, t) { if (typeof V !== "undefined" && V.writeFileSync) return t ? V.writeFileSync(e, r, t) : V.writeFileSync(e, r); var a = t == "utf8" ? Xe(r) : r; if (typeof IE_SaveFile !== "undefined") return IE_SaveFile(a, e); if (typeof Blob !== "undefined") { var n = new Blob([z(a)],{ type: "application/octet-stream" }); if (typeof navigator !== "undefined" && navigator.msSaveBlob) return navigator.msSaveBlob(n, e); if (typeof saveAs !== "undefined") return saveAs(n, e); if (typeof URL !== "undefined" && typeof document !== "undefined" && document.createElement && URL.createObjectURL) { var i = URL.createObjectURL(n); if (typeof chrome === "object" && typeof (chrome.downloads || {}).download == "function") { if (URL.revokeObjectURL && typeof setTimeout !== "undefined") setTimeout(function() { URL.revokeObjectURL(i) }, 6e4); return chrome.downloads.download({ url: i, filename: e, saveAs: true }) } var s = document.createElement("a"); if (s.download != null) { s.download = e; s.href = i; document.body.appendChild(s); s.click(); document.body.removeChild(s); if (URL.revokeObjectURL && typeof setTimeout !== "undefined") setTimeout(function() { URL.revokeObjectURL(i) }, 6e4); return i } } } if (typeof $ !== "undefined" && typeof File !== "undefined" && typeof Folder !== "undefined") try { var f = File(e); f.open("w"); f.encoding = "binary"; if (Array.isArray(r)) r = B(r); f.write(r); f.close(); return r } catch (o) { if (!o.message || !o.message.match(/onstruct/)) throw o } throw new Error("cannot save file " + e) } function G(e) { if (typeof V !== "undefined") return V.readFileSync(e); if (typeof $ !== "undefined" && typeof File !== "undefined" && typeof Folder !== "undefined") try { var r = File(e); r.open("r"); r.encoding = "binary"; var t = r.read(); r.close(); return t } catch (a) { if (!a.message || !a.message.match(/onstruct/)) throw a } throw new Error("Cannot access file " + e) } function j(e) { var r = Object.keys(e) , t = []; for (var a = 0; a < r.length; ++a) if (e.hasOwnProperty(r[a])) t.push(r[a]); return t } function K(e, r) { var t = [] , a = j(e); for (var n = 0; n !== a.length; ++n) if (t[e[a[n]][r]] == null) t[e[a[n]][r]] = a[n]; return t } function Y(e) { var r = [] , t = j(e); for (var a = 0; a !== t.length; ++a) r[e[t[a]]] = t[a]; return r } function Z(e) { var r = [] , t = j(e); for (var a = 0; a !== t.length; ++a) r[e[t[a]]] = parseInt(t[a], 10); return r } function Q(e) { var r = [] , t = j(e); for (var a = 0; a !== t.length; ++a) { if (r[e[t[a]]] == null) r[e[t[a]]] = []; r[e[t[a]]].push(t[a]) } return r } var J = new Date(1899,11,30,0,0,0); var q = J.getTime() + ((new Date).getTimezoneOffset() - J.getTimezoneOffset()) * 6e4; function ee(e, r) { var t = e.getTime(); if (r) t -= 1462 * 24 * 60 * 60 * 1e3; return (t - q) / (24 * 60 * 60 * 1e3) } function re(e) { var r = new Date; r.setTime(e * 24 * 60 * 60 * 1e3 + q); return r } function te(e) { var r = 0 , t = 0 , a = false; var n = e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/); if (!n) throw new Error("|" + e + "| is not an ISO8601 Duration"); for (var i = 1; i != n.length; ++i) { if (!n[i]) continue; t = 1; if (i > 3) a = true; switch (n[i].slice(n[i].length - 1)) { case "Y": throw new Error("Unsupported ISO Duration Field: " + n[i].slice(n[i].length - 1)); case "D": t *= 24; case "H": t *= 60; case "M": if (!a) throw new Error("Unsupported ISO Duration Field: M"); else t *= 60; case "S": break; } r += t * parseInt(n[i], 10) } return r } var ae = new Date("2017-02-19T19:06:09.000Z"); if (isNaN(ae.getFullYear())) ae = new Date("2/19/17"); var ne = ae.getFullYear() == 2017; function ie(e, r) { var t = new Date(e); if (ne) { if (r > 0) t.setTime(t.getTime() + t.getTimezoneOffset() * 60 * 1e3); else if (r < 0) t.setTime(t.getTime() - t.getTimezoneOffset() * 60 * 1e3); return t } if (e instanceof Date) return e; if (ae.getFullYear() == 1917 && !isNaN(t.getFullYear())) { var a = t.getFullYear(); if (e.indexOf("" + a) > -1) return t; t.setFullYear(t.getFullYear() + 100); return t } var n = e.match(/\d+/g) || ["2017", "2", "19", "0", "0", "0"]; var i = new Date(+n[0],+n[1] - 1,+n[2],+n[3] || 0,+n[4] || 0,+n[5] || 0); if (e.indexOf("Z") > -1) i = new Date(i.getTime() - i.getTimezoneOffset() * 60 * 1e3); return i } function se(e) { var r = ""; for (var t = 0; t != e.length; ++t) r += String.fromCharCode(e[t]); return r } function fe(e) { if (typeof JSON != "undefined" && !Array.isArray(e)) return JSON.parse(JSON.stringify(e)); if (typeof e != "object" || e == null) return e; if (e instanceof Date) return new Date(e.getTime()); var r = {}; for (var t in e) if (e.hasOwnProperty(t)) r[t] = fe(e[t]); return r } function oe(e, r) { var t = ""; while (t.length < r) t += e; return t } function le(e) { var r = Number(e); if (!isNaN(r)) return r; var t = 1; var a = e.replace(/([\d]),([\d])/g, "$1$2").replace(/[$]/g, "").replace(/[%]/g, function() { t *= 100; return "" }); if (!isNaN(r = Number(a))) return r / t; a = a.replace(/[(](.*)[)]/, function(e, r) { t = -t; return r }); if (!isNaN(r = Number(a))) return r / t; return r } function ce(e) { var r = new Date(e) , t = new Date(NaN); var a = r.getYear() , n = r.getMonth() , i = r.getDate(); if (isNaN(i)) return t; if (a < 0 || a > 8099) return t; if ((n > 0 || i > 1) && a != 101) return r; if (e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)) return r; if (e.match(/[^-0-9:,\/\\]/)) return t; return r } var he = "abacaba".split(/(:?b)/i).length == 5; function ue(e, r, t) { if (he || typeof r == "string") return e.split(r); var a = e.split(r) , n = [a[0]]; for (var i = 1; i < a.length; ++i) { n.push(t); n.push(a[i]) } return n } function de(e) { if (!e) return null; if (e.data) return d(e.data); if (e.asNodeBuffer && b) return d(e.asNodeBuffer().toString("binary")); if (e.asBinary) return d(e.asBinary()); if (e._data && e._data.getContent) return d(se(Array.prototype.slice.call(e._data.getContent(), 0))); return null } function pe(e) { if (!e) return null; if (e.data) return c(e.data); if (e.asNodeBuffer && b) return e.asNodeBuffer(); if (e._data && e._data.getContent) { var r = e._data.getContent(); if (typeof r == "string") return c(r); return Array.prototype.slice.call(r) } return null } function ve(e) { return e && e.name.slice(-4) === ".bin" ? pe(e) : de(e) } function ge(e, r) { var t = j(e.files); var a = r.toLowerCase() , n = a.replace(/\//g, "\\"); for (var i = 0; i < t.length; ++i) { var s = t[i].toLowerCase(); if (a == s || n == s) return e.files[t[i]] } return null } function me(e, r) { var t = ge(e, r); /*if(t==null)throw new Error("Cannot find file "+r+" in zip")*/ ;return t } function be(e, r, t) { if (!t) return ve(me(e, r)); if (!r) return null; try { return be(e, r) } catch (a) { return null } } function we(e, r, t) { if (!t) return de(me(e, r)); if (!r) return null; try { return we(e, r) } catch (a) { return null } } function Ce(e) { var r = j(e.files) , t = []; for (var a = 0; a < r.length; ++a) if (r[a].slice(-1) != "/") t.push(r[a]); return t.sort() } var Ee; if (typeof JSZipSync !== "undefined") Ee = JSZipSync; if (typeof exports !== "undefined") { if (typeof module !== "undefined" && module.exports) { if (typeof Ee === "undefined") Ee = undefined } } function ke(e, r) { var t = r.split("/"); if (r.slice(-1) != "/") t.pop(); var a = e.split("/"); while (a.length !== 0) { var n = a.shift(); if (n === "..") t.pop(); else if (n !== ".") t.push(n) } return t.join("/") } var Se = '\r\n'; var Ae = /([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; var _e = /<[\/\?]?[a-zA-Z0-9:]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s?[\/\?]?>/g; if (!Se.match(_e)) _e = /<[^>]*>/g; var Be = /<\w*:/ , Te = /<(\/?)\w+:/; function ye(e, r) { var t = {}; var a = 0 , n = 0; for (; a !== e.length; ++a) if ((n = e.charCodeAt(a)) === 32 || n === 10 || n === 13) break; if (!r) t[0] = e.slice(0, a); if (a === e.length) return t; var i = e.match(Ae) , s = 0 , f = "" , o = 0 , l = "" , c = "" , h = 1; if (i) for (o = 0; o != i.length; ++o) { c = i[o]; for (n = 0; n != c.length; ++n) if (c.charCodeAt(n) === 61) break; l = c.slice(0, n).trim(); while (c.charCodeAt(n + 1) == 32) ++n; h = (a = c.charCodeAt(n + 1)) == 34 || a == 39 ? 1 : 0; f = c.slice(n + 1 + h, c.length - h); for (s = 0; s != l.length; ++s) if (l.charCodeAt(s) === 58) break; if (s === l.length) { if (l.indexOf("_") > 0) l = l.slice(0, l.indexOf("_")); t[l] = f; t[l.toLowerCase()] = f } else { var u = (s === 5 && l.slice(0, 5) === "xmlns" ? "xmlns" : "") + l.slice(s + 1); if (t[u] && l.slice(s - 3, s) == "ext") continue; t[u] = f; t[u.toLowerCase()] = f } } return t } function xe(e) { return e.replace(Te, "<$1") } var Ie = { """: '"', "'": "'", ">": ">", "<": "<", "&": "&" }; var Re = Y(Ie); var De = function() { var e = /&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/g , r = /_x([\da-fA-F]{4})_/g; return function t(a) { var n = a + "" , i = n.indexOf(" -1 ? 16 : 10)) || e }).replace(r, function(e, r) { return String.fromCharCode(parseInt(r, 16)) }); var s = n.indexOf("]]>"); return t(n.slice(0, i)) + n.slice(i + 9, s) + t(n.slice(s + 3)) } }(); var Oe = /[&<>'"]/g , Fe = /[\u0000-\u0008\u000b-\u001f]/g; function Pe(e) { var r = e + ""; return r.replace(Oe, function(e) { return Re[e] }).replace(Fe, function(e) { return "_x" + ("000" + e.charCodeAt(0).toString(16)).slice(-4) + "_" }) } function Ne(e) { return Pe(e).replace(/ /g, "_x0020_") } var Le = /[\u0000-\u001f]/g; function Me(e) { var r = e + ""; return r.replace(Oe, function(e) { return Re[e] }).replace(/\n/g, "
").replace(Le, function(e) { return "&#x" + ("000" + e.charCodeAt(0).toString(16)).slice(-4) + ";" }) } function Ue(e) { var r = e + ""; return r.replace(Oe, function(e) { return Re[e] }).replace(Le, function(e) { return "&#x" + e.charCodeAt(0).toString(16).toUpperCase() + ";" }) } var He = function() { var e = /&#(\d+);/g; function r(e, r) { return String.fromCharCode(parseInt(r, 10)) } return function t(a) { return a.replace(e, r) } }(); var We = function() { return function e(r) { return r.replace(/(\r\n|[\r\n])/g, " ") } }(); function Ve(e) { switch (e) { case 1: ; case true: ; case "1": ; case "true": ; case "TRUE": return true; default: return false; } } var ze = function jg(e) { var r = "" , t = 0 , a = 0 , n = 0 , i = 0 , s = 0 , f = 0; while (t < e.length) { a = e.charCodeAt(t++); if (a < 128) { r += String.fromCharCode(a); continue } n = e.charCodeAt(t++); if (a > 191 && a < 224) { s = (a & 31) << 6; s |= n & 63; r += String.fromCharCode(s); continue } i = e.charCodeAt(t++); if (a < 240) { r += String.fromCharCode((a & 15) << 12 | (n & 63) << 6 | i & 63); continue } s = e.charCodeAt(t++); f = ((a & 7) << 18 | (n & 63) << 12 | (i & 63) << 6 | s & 63) - 65536; r += String.fromCharCode(55296 + (f >>> 10 & 1023)); r += String.fromCharCode(56320 + (f & 1023)) } return r }; var Xe = function(e) { var r = [] , t = 0 , a = 0 , n = 0; while (t < e.length) { a = e.charCodeAt(t++); switch (true) { case a < 128: r.push(String.fromCharCode(a)); break; case a < 2048: r.push(String.fromCharCode(192 + (a >> 6))); r.push(String.fromCharCode(128 + (a & 63))); break; case a >= 55296 && a < 57344: a -= 55296; n = e.charCodeAt(t++) - 56320 + (a << 10); r.push(String.fromCharCode(240 + (n >> 18 & 7))); r.push(String.fromCharCode(144 + (n >> 12 & 63))); r.push(String.fromCharCode(128 + (n >> 6 & 63))); r.push(String.fromCharCode(128 + (n & 63))); break; default: r.push(String.fromCharCode(224 + (a >> 12))); r.push(String.fromCharCode(128 + (a >> 6 & 63))); r.push(String.fromCharCode(128 + (a & 63))); } } return r.join("") }; if (b) { var Ge = function Kg(e) { var r = Buffer.alloc(2 * e.length), t, a, n = 1, i = 0, s = 0, f; for (a = 0; a < e.length; a += n) { n = 1; if ((f = e.charCodeAt(a)) < 128) t = f; else if (f < 224) { t = (f & 31) * 64 + (e.charCodeAt(a + 1) & 63); n = 2 } else if (f < 240) { t = (f & 15) * 4096 + (e.charCodeAt(a + 1) & 63) * 64 + (e.charCodeAt(a + 2) & 63); n = 3 } else { n = 4; t = (f & 7) * 262144 + (e.charCodeAt(a + 1) & 63) * 4096 + (e.charCodeAt(a + 2) & 63) * 64 + (e.charCodeAt(a + 3) & 63); t -= 65536; s = 55296 + (t >>> 10 & 1023); t = 56320 + (t & 1023) } if (s !== 0) { r[i++] = s & 255; r[i++] = s >>> 8; s = 0 } r[i++] = t % 256; r[i++] = t >>> 8 } return r.slice(0, i).toString("ucs2") }; var je = "foo bar baz☃🍣"; if (ze(je) == Ge(je)) ze = Ge; var Ke = function Yg(e) { return w(e, "binary").toString("utf8") }; if (ze(je) == Ke(je)) ze = Ke; Xe = function(e) { return w(e, "utf8").toString("binary") } } var Ye = function() { var e = {}; return function r(t, a) { var n = t + "|" + (a || ""); if (e[n]) return e[n]; return e[n] = new RegExp("<(?:\\w+:)?" + t + '(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",a || "") } }(); var $e = function() { var e = [["nbsp", " "], ["middot", "·"], ["quot", '"'], ["apos", "'"], ["gt", ">"], ["lt", "<"], ["amp", "&"]].map(function(e) { return [new RegExp("&" + e[0] + ";","g"), e[1]] }); return function r(t) { var a = t.replace(/^[\t\n\r ]+/, "").replace(/[\t\n\r ]+$/, "").replace(/[\t\n\r ]+/g, " ").replace(/<\s*[bB][rR]\s*\/?>/g, "\n").replace(/<[^>]*>/g, ""); for (var n = 0; n < e.length; ++n) a = a.replace(e[n][0], e[n][1]); return a } }(); var Ze = function() { var e = {}; return function r(t) { if (e[t] !== undefined) return e[t]; return e[t] = new RegExp("<(?:vt:)?" + t + ">([\\s\\S]*?)","g") } }(); var Qe = /<\/?(?:vt:)?variant>/g , Je = /<(?:vt:)([^>]*)>([\s\S]*)" + r + "" } function tr(e) { return j(e).map(function(r) { return " " + r + '="' + e[r] + '"' }).join("") } function ar(e, r, t) { return "<" + e + (t != null ? tr(t) : "") + (r != null ? (r.match(er) ? ' xml:space="preserve"' : "") + ">" + r + "" } function nr(e, r) { try { return e.toISOString().replace(/\.\d*/, "") } catch (t) { if (r) throw t } return "" } function ir(e) { switch (typeof e) { case "string": return ar("vt:lpwstr", e); case "number": return ar((e | 0) == e ? "vt:i4" : "vt:r8", String(e)); case "boolean": return ar("vt:bool", e ? "true" : "false"); } if (e instanceof Date) return ar("vt:filetime", nr(e)); throw new Error("Unable to serialize " + e) } var sr = { dc: "http://purl.org/dc/elements/1.1/", dcterms: "http://purl.org/dc/terms/", dcmitype: "http://purl.org/dc/dcmitype/", mx: "http://schemas.microsoft.com/office/mac/excel/2008/main", r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships", sjs: "http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties", vt: "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes", xsi: "http://www.w3.org/2001/XMLSchema-instance", xsd: "http://www.w3.org/2001/XMLSchema" }; sr.main = ["http://schemas.openxmlformats.org/spreadsheetml/2006/main", "http://purl.oclc.org/ooxml/spreadsheetml/main", "http://schemas.microsoft.com/office/excel/2006/main", "http://schemas.microsoft.com/office/excel/2006/2"]; var fr = { o: "urn:schemas-microsoft-com:office:office", x: "urn:schemas-microsoft-com:office:excel", ss: "urn:schemas-microsoft-com:office:spreadsheet", dt: "uuid:C2F41010-65B3-11d1-A29F-00AA00C14882", mv: "http://macVmlSchemaUri", v: "urn:schemas-microsoft-com:vml", html: "http://www.w3.org/TR/REC-html40" }; function or(e, r) { var t = 1 - 2 * (e[r + 7] >>> 7); var a = ((e[r + 7] & 127) << 4) + (e[r + 6] >>> 4 & 15); var n = e[r + 6] & 15; for (var i = 5; i >= 0; --i) n = n * 256 + e[r + i]; if (a == 2047) return n == 0 ? t * Infinity : NaN; if (a == 0) a = -1022; else { a -= 1023; n += Math.pow(2, 52) } return t * Math.pow(2, a - 52) * n } function lr(e, r, t) { var a = (r < 0 || 1 / r == -Infinity ? 1 : 0) << 7 , n = 0 , i = 0; var s = a ? -r : r; if (!isFinite(s)) { n = 2047; i = isNaN(r) ? 26985 : 0 } else if (s == 0) n = i = 0; else { n = Math.floor(Math.log(s) / Math.LN2); i = s * Math.pow(2, 52 - n); if (n <= -1023 && (!isFinite(i) || i < Math.pow(2, 52))) { n = -1022 } else { i -= Math.pow(2, 52); n += 1023 } } for (var f = 0; f <= 5; ++f, i /= 256) e[t + f] = i & 255; e[t + 6] = (n & 15) << 4 | i & 15; e[t + 7] = n >> 4 | a } var cr = function(e) { var r = [] , t = 10240; for (var a = 0; a < e[0].length; ++a) if (e[0][a]) for (var n = 0, i = e[0][a].length; n < i; n += t) r.push.apply(r, e[0][a].slice(n, n + t)); return r }; var hr = cr; var ur = function(e, r, t) { var a = []; for (var n = r; n < t; n += 2) a.push(String.fromCharCode(Dr(e, n))); return a.join("").replace(I, "") }; var dr = ur; var pr = function(e, r, t) { var a = []; for (var n = r; n < r + t; ++n) a.push(("0" + e[n].toString(16)).slice(-2)); return a.join("") }; var vr = pr; var gr = function(e, r, t) { var a = []; for (var n = r; n < t; n++) a.push(String.fromCharCode(Rr(e, n))); return a.join("") }; var mr = gr; var br = function(e, r) { var t = Fr(e, r); return t > 0 ? gr(e, r + 4, r + 4 + t - 1) : "" }; var wr = br; var Cr = function(e, r) { var t = Fr(e, r); return t > 0 ? gr(e, r + 4, r + 4 + t - 1) : "" }; var Er = Cr; var kr = function(e, r) { var t = 2 * Fr(e, r); return t > 0 ? gr(e, r + 4, r + 4 + t - 1) : "" }; var Sr = kr; var Ar, _r; Ar = _r = function $g(e, r) { var t = Fr(e, r); return t > 0 ? ur(e, r + 4, r + 4 + t) : "" } ; var Br = function(e, r) { var t = Fr(e, r); return t > 0 ? gr(e, r + 4, r + 4 + t) : "" }; var Tr = Br; var yr, xr; yr = xr = function(e, r) { return or(e, r) } ; var Ir = function Zg(e) { return Array.isArray(e) }; if (b) { ur = function(e, r, t) { if (!Buffer.isBuffer(e)) return dr(e, r, t); return e.toString("utf16le", r, t).replace(I, "") } ; pr = function(e, r, t) { return Buffer.isBuffer(e) ? e.toString("hex", r, r + t) : vr(e, r, t) } ; br = function Qg(e, r) { if (!Buffer.isBuffer(e)) return wr(e, r); var t = e.readUInt32LE(r); return t > 0 ? e.toString("utf8", r + 4, r + 4 + t - 1) : "" } ; Cr = function Jg(e, r) { if (!Buffer.isBuffer(e)) return Er(e, r); var t = e.readUInt32LE(r); return t > 0 ? e.toString("utf8", r + 4, r + 4 + t - 1) : "" } ; kr = function qg(e, r) { if (!Buffer.isBuffer(e)) return Sr(e, r); var t = 2 * e.readUInt32LE(r); return e.toString("utf16le", r + 4, r + 4 + t - 1) } ; Ar = function em(e, r) { if (!Buffer.isBuffer(e)) return _r(e, r); var t = e.readUInt32LE(r); return e.toString("utf16le", r + 4, r + 4 + t) } ; Br = function rm(e, r) { if (!Buffer.isBuffer(e)) return Tr(e, r); var t = e.readUInt32LE(r); return e.toString("utf8", r + 4, r + 4 + t) } ; gr = function tm(e, r, t) { return Buffer.isBuffer(e) ? e.toString("utf8", r, t) : mr(e, r, t) } ; cr = function(e) { return e[0].length > 0 && Buffer.isBuffer(e[0][0]) ? Buffer.concat(e[0]) : hr(e) } ; x = function(e) { return Buffer.isBuffer(e[0]) ? Buffer.concat(e) : [].concat.apply([], e) } ; yr = function am(e, r) { if (Buffer.isBuffer(e)) return e.readDoubleLE(r); return xr(e, r) } ; Ir = function nm(e) { return Buffer.isBuffer(e) || Array.isArray(e) } } if (typeof cptable !== "undefined") { ur = function(e, r, t) { return cptable.utils.decode(1200, e.slice(r, t)).replace(I, "") } ; gr = function(e, r, t) { return cptable.utils.decode(65001, e.slice(r, t)) } ; br = function(e, r) { var a = Fr(e, r); return a > 0 ? cptable.utils.decode(t, e.slice(r + 4, r + 4 + a - 1)) : "" } ; Cr = function(e, t) { var a = Fr(e, t); return a > 0 ? cptable.utils.decode(r, e.slice(t + 4, t + 4 + a - 1)) : "" } ; kr = function(e, r) { var t = 2 * Fr(e, r); return t > 0 ? cptable.utils.decode(1200, e.slice(r + 4, r + 4 + t - 1)) : "" } ; Ar = function(e, r) { var t = Fr(e, r); return t > 0 ? cptable.utils.decode(1200, e.slice(r + 4, r + 4 + t)) : "" } ; Br = function(e, r) { var t = Fr(e, r); return t > 0 ? cptable.utils.decode(65001, e.slice(r + 4, r + 4 + t)) : "" } } var Rr = function(e, r) { return e[r] }; var Dr = function(e, r) { return e[r + 1] * (1 << 8) + e[r] }; var Or = function(e, r) { var t = e[r + 1] * (1 << 8) + e[r]; return t < 32768 ? t : (65535 - t + 1) * -1 }; var Fr = function(e, r) { return e[r + 3] * (1 << 24) + (e[r + 2] << 16) + (e[r + 1] << 8) + e[r] }; var Pr = function(e, r) { return e[r + 3] << 24 | e[r + 2] << 16 | e[r + 1] << 8 | e[r] }; var Nr = function(e, r) { return e[r] << 24 | e[r + 1] << 16 | e[r + 2] << 8 | e[r + 3] }; function Lr(e, t) { var a = "", n, i, s = [], f, o, l, c; switch (t) { case "dbcs": c = this.l; if (b && Buffer.isBuffer(this)) a = this.slice(this.l, this.l + 2 * e).toString("utf16le"); else for (l = 0; l < e; ++l) { a += String.fromCharCode(Dr(this, c)); c += 2 } e *= 2; break; case "utf8": a = gr(this, this.l, this.l + e); break; case "utf16le": e *= 2; a = ur(this, this.l, this.l + e); break; case "wstr": if (typeof cptable !== "undefined") a = cptable.utils.decode(r, this.slice(this.l, this.l + 2 * e)); else return Lr.call(this, e, "dbcs"); e = 2 * e; break; case "lpstr-ansi": a = br(this, this.l); e = 4 + Fr(this, this.l); break; case "lpstr-cp": a = Cr(this, this.l); e = 4 + Fr(this, this.l); break; case "lpwstr": a = kr(this, this.l); e = 4 + 2 * Fr(this, this.l); break; case "lpp4": e = 4 + Fr(this, this.l); a = Ar(this, this.l); if (e & 2) e += 2; break; case "8lpp4": e = 4 + Fr(this, this.l); a = Br(this, this.l); if (e & 3) e += 4 - (e & 3); break; case "cstr": e = 0; a = ""; while ((f = Rr(this, this.l + e++)) !== 0) s.push(p(f)); a = s.join(""); break; case "_wstr": e = 0; a = ""; while ((f = Dr(this, this.l + e)) !== 0) { s.push(p(f)); e += 2 } e += 2; a = s.join(""); break; case "dbcs-cont": a = ""; c = this.l; for (l = 0; l < e; ++l) { if (this.lens && this.lens.indexOf(c) !== -1) { f = Rr(this, c); this.l = c + 1; o = Lr.call(this, e - l, f ? "dbcs-cont" : "sbcs-cont"); return s.join("") + o } s.push(p(Dr(this, c))); c += 2 } a = s.join(""); e *= 2; break; case "cpstr": if (typeof cptable !== "undefined") { a = cptable.utils.decode(r, this.slice(this.l, this.l + e)); break } ; case "sbcs-cont": a = ""; c = this.l; for (l = 0; l != e; ++l) { if (this.lens && this.lens.indexOf(c) !== -1) { f = Rr(this, c); this.l = c + 1; o = Lr.call(this, e - l, f ? "dbcs-cont" : "sbcs-cont"); return s.join("") + o } s.push(p(Rr(this, c))); c += 1 } a = s.join(""); break; default: switch (e) { case 1: n = Rr(this, this.l); this.l++; return n; case 2: n = (t === "i" ? Or : Dr)(this, this.l); this.l += 2; return n; case 4: ; case -4: if (t === "i" || (this[this.l + 3] & 128) === 0) { n = (e > 0 ? Pr : Nr)(this, this.l); this.l += 4; return n } else { i = Fr(this, this.l); this.l += 4 } return i; case 8: ; case -8: if (t === "f") { if (e == 8) i = yr(this, this.l); else i = yr([this[this.l + 7], this[this.l + 6], this[this.l + 5], this[this.l + 4], this[this.l + 3], this[this.l + 2], this[this.l + 1], this[this.l + 0]], 0); this.l += 8; return i } else e = 8; case 16: a = pr(this, this.l, e); break; } ; } this.l += e; return a } var Mr = function(e, r, t) { e[t] = r & 255; e[t + 1] = r >>> 8 & 255; e[t + 2] = r >>> 16 & 255; e[t + 3] = r >>> 24 & 255 }; var Ur = function(e, r, t) { e[t] = r & 255; e[t + 1] = r >> 8 & 255; e[t + 2] = r >> 16 & 255; e[t + 3] = r >> 24 & 255 }; var Hr = function(e, r, t) { e[t] = r & 255; e[t + 1] = r >>> 8 & 255 }; function Wr(e, r, t) { var a = 0 , n = 0; if (t === "dbcs") { for (n = 0; n != r.length; ++n) Hr(this, r.charCodeAt(n), this.l + 2 * n); a = 2 * r.length } else if (t === "sbcs") { r = r.replace(/[^\x00-\x7F]/g, "_"); for (n = 0; n != r.length; ++n) this[this.l + n] = r.charCodeAt(n) & 255; a = r.length } else if (t === "hex") { for (; n < e; ++n) { this[this.l++] = parseInt(r.slice(2 * n, 2 * n + 2), 16) || 0 } return this } else if (t === "utf16le") { var i = Math.min(this.l + e, this.length); for (n = 0; n < Math.min(r.length, e); ++n) { var s = r.charCodeAt(n); this[this.l++] = s & 255; this[this.l++] = s >> 8 } while (this.l < i) this[this.l++] = 0; return this } else switch (e) { case 1: a = 1; this[this.l] = r & 255; break; case 2: a = 2; this[this.l] = r & 255; r >>>= 8; this[this.l + 1] = r & 255; break; case 3: a = 3; this[this.l] = r & 255; r >>>= 8; this[this.l + 1] = r & 255; r >>>= 8; this[this.l + 2] = r & 255; break; case 4: a = 4; Mr(this, r, this.l); break; case 8: a = 8; if (t === "f") { lr(this, r, this.l); break } ; case 16: break; case -4: a = 4; Ur(this, r, this.l); break; } this.l += a; return this } function Vr(e, r) { var t = pr(this, this.l, e.length >> 1); if (t !== e) throw new Error(r + "Expected " + e + " saw " + t); this.l += e.length >> 1 } function zr(e, r) { e.l = r; e._R = Lr; e.chk = Vr; e._W = Wr } function Xr(e, r) { e.l += r } function Gr(e) { var r = k(e); zr(r, 0); return r } function jr(e, r, t) { if (!e) return; var a, n, i; zr(e, e.l || 0); var s = e.length , f = 0 , o = 0; while (e.l < s) { f = e._R(1); if (f & 128) f = (f & 127) + ((e._R(1) & 127) << 7); var l = hv[f] || hv[65535]; a = e._R(1); i = a & 127; for (n = 1; n < 4 && a & 128; ++n) i += ((a = e._R(1)) & 127) << 7 * n; o = e.l + i; var c = (l.f || Xr)(e, i, t); e.l = o; if (r(c, l.n, f)) return } } function Kr() { var e = [] , r = b ? 256 : 2048; var t = function o(e) { var r = Gr(e); zr(r, 0); return r }; var a = t(r); var n = function l() { if (!a) return; if (a.length > a.l) { a = a.slice(0, a.l); a.l = a.length } if (a.length > 0) e.push(a); a = null }; var i = function c(e) { if (a && e < a.length - a.l) return a; n(); return a = t(Math.max(e + 1, r)) }; var s = function h() { n(); return cr([e]) }; var f = function u(e) { n(); a = e; if (a.l == null) a.l = a.length; i(r) }; return { next: i, push: f, end: s, _bufs: e } } function Yr(e, r, t, a) { var n = +uv[r], i; if (isNaN(n)) return; if (!a) a = hv[n].p || (t || []).length || 0; i = 1 + (n >= 128 ? 1 : 0) + 1; if (a >= 128) ++i; if (a >= 16384) ++i; if (a >= 2097152) ++i; var s = e.next(i); if (n <= 127) s._W(1, n); else { s._W(1, (n & 127) + 128); s._W(1, n >> 7) } for (var f = 0; f != 4; ++f) { if (a >= 128) { s._W(1, (a & 127) + 128); a >>= 7 } else { s._W(1, a); break } } if (a > 0 && Ir(t)) e.push(t) } function $r(e, r, t) { var a = fe(e); if (r.s) { if (a.cRel) a.c += r.s.c; if (a.rRel) a.r += r.s.r } else { if (a.cRel) a.c += r.c; if (a.rRel) a.r += r.r } if (!t || t.biff < 12) { while (a.c >= 256) a.c -= 256; while (a.r >= 65536) a.r -= 65536 } return a } function Zr(e, r, t) { var a = fe(e); a.s = $r(a.s, r.s, t); a.e = $r(a.e, r.s, t); return a } function Qr(e, r) { if (e.cRel && e.c < 0) { e = fe(e); e.c += r > 8 ? 16384 : 256 } if (e.rRel && e.r < 0) { e = fe(e); e.r += r > 8 ? 1048576 : r > 5 ? 65536 : 16384 } var t = ht(e); if (e.cRel === 0) t = ft(t); if (e.rRel === 0) t = at(t); return t } function Jr(e, r) { if (e.s.r == 0 && !e.s.rRel) { if (e.e.r == (r.biff >= 12 ? 1048575 : r.biff >= 8 ? 65536 : 16384) && !e.e.rRel) { return (e.s.cRel ? "" : "$") + st(e.s.c) + ":" + (e.e.cRel ? "" : "$") + st(e.e.c) } } if (e.s.c == 0 && !e.s.cRel) { if (e.e.c == (r.biff >= 12 ? 65535 : 255) && !e.e.cRel) { return (e.s.rRel ? "" : "$") + tt(e.s.r) + ":" + (e.e.rRel ? "" : "$") + tt(e.e.r) } } return Qr(e.s, r.biff) + ":" + Qr(e.e, r.biff) } var qr = {}; var et = function(e, r) { var t; if (typeof r !== "undefined") t = r; else if (typeof require !== "undefined") { try { t = undefined } catch (a) { t = null } } e.rc4 = function(e, r) { var t = new Array(256); var a = 0 , n = 0 , i = 0 , s = 0; for (n = 0; n != 256; ++n) t[n] = n; for (n = 0; n != 256; ++n) { i = i + t[n] + e[n % e.length].charCodeAt(0) & 255; s = t[n]; t[n] = t[i]; t[i] = s } n = i = 0; var f = Buffer(r.length); for (a = 0; a != r.length; ++a) { n = n + 1 & 255; i = (i + t[n]) % 256; s = t[n]; t[n] = t[i]; t[i] = s; f[a] = r[a] ^ t[t[n] + t[i] & 255] } return f } ; e.md5 = function(e) { if (!t) throw new Error("Unsupported crypto"); return t.createHash("md5").update(e).digest("hex") } }; et(qr, typeof crypto !== "undefined" ? crypto : undefined); function rt(e) { return parseInt(nt(e), 10) - 1 } function tt(e) { return "" + (e + 1) } function at(e) { return e.replace(/([A-Z]|^)(\d+)$/, "$1$$$2") } function nt(e) { return e.replace(/\$(\d+)$/, "$1") } function it(e) { var r = ot(e) , t = 0 , a = 0; for (; a !== r.length; ++a) t = 26 * t + r.charCodeAt(a) - 64; return t - 1 } function st(e) { var r = ""; for (++e; e; e = Math.floor((e - 1) / 26)) r = String.fromCharCode((e - 1) % 26 + 65) + r; return r } function ft(e) { return e.replace(/^([A-Z])/, "$$$1") } function ot(e) { return e.replace(/^\$([A-Z])/, "$1") } function lt(e) { return e.replace(/(\$?[A-Z]*)(\$?\d*)/, "$1,$2").split(",") } function ct(e) { var r = lt(e); return { c: it(r[0]), r: rt(r[1]) } } function ht(e) { return st(e.c) + tt(e.r) } function ut(e) { var r = e.split(":").map(ct); return { s: r[0], e: r[r.length - 1] } } function dt(e, r) { if (typeof r === "undefined" || typeof r === "number") { return dt(e.s, e.e) } if (typeof e !== "string") e = ht(e); if (typeof r !== "string") r = ht(r); return e == r ? e : e + ":" + r } function pt(e) { var r = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } }; var t = 0 , a = 0 , n = 0; var i = e.length; for (t = 0; a < i; ++a) { if ((n = e.charCodeAt(a) - 64) < 1 || n > 26) break; t = 26 * t + n } r.s.c = --t; for (t = 0; a < i; ++a) { if ((n = e.charCodeAt(a) - 48) < 0 || n > 9) break; t = 10 * t + n } r.s.r = --t; if (a === i || e.charCodeAt(++a) === 58) { r.e.c = r.s.c; r.e.r = r.s.r; return r } for (t = 0; a != i; ++a) { if ((n = e.charCodeAt(a) - 64) < 1 || n > 26) break; t = 26 * t + n } r.e.c = --t; for (t = 0; a != i; ++a) { if ((n = e.charCodeAt(a) - 48) < 0 || n > 9) break; t = 10 * t + n } r.e.r = --t; return r } function vt(e, r) { var t = e.t == "d" && r instanceof Date; if (e.z != null) try { return e.w = D.format(e.z, t ? ee(r) : r) } catch (a) {} try { return e.w = D.format((e.XF || {}).numFmtId || (t ? 14 : 0), t ? ee(r) : r) } catch (a) { return "" + r } } function gt(e, r, t) { if (e == null || e.t == null || e.t == "z") return ""; if (e.w !== undefined) return e.w; if (e.t == "d" && !e.z && t && t.dateNF) e.z = t.dateNF; if (r == undefined) return vt(e, e.v); return vt(e, r) } function mt(e, r) { var t = r && r.sheet ? r.sheet : "Sheet1"; var a = {}; a[t] = e; return { SheetNames: [t], Sheets: a } } function bt(e, r, t) { var a = t || {}; var n = e ? Array.isArray(e) : a.dense; if (v != null && n == null) n = v; var i = e || (n ? [] : {}); var s = 0 , f = 0; if (i && a.origin != null) { if (typeof a.origin == "number") s = a.origin; else { var o = typeof a.origin == "string" ? ct(a.origin) : a.origin; s = o.r; f = o.c } } var l = { s: { c: 1e7, r: 1e7 }, e: { c: 0, r: 0 } }; if (i["!ref"]) { var c = pt(i["!ref"]); l.s.c = c.s.c; l.s.r = c.s.r; l.e.c = Math.max(l.e.c, c.e.c); l.e.r = Math.max(l.e.r, c.e.r); if (s == -1) l.e.r = s = c.e.r + 1 } for (var h = 0; h != r.length; ++h) { if (!r[h]) continue; if (!Array.isArray(r[h])) throw new Error("aoa_to_sheet expects an array of arrays"); for (var u = 0; u != r[h].length; ++u) { if (typeof r[h][u] === "undefined") continue; var d = { v: r[h][u] }; var p = s + h , g = f + u; if (l.s.r > p) l.s.r = p; if (l.s.c > g) l.s.c = g; if (l.e.r < p) l.e.r = p; if (l.e.c < g) l.e.c = g; if (r[h][u] && typeof r[h][u] === "object" && !Array.isArray(r[h][u]) && !(r[h][u]instanceof Date)) d = r[h][u]; else { if (Array.isArray(d.v)) { d.f = r[h][u][1]; d.v = d.v[0] } if (d.v === null) { if (d.f) d.t = "n"; else if (!a.cellStubs) continue; else d.t = "z" } else if (typeof d.v === "number") d.t = "n"; else if (typeof d.v === "boolean") d.t = "b"; else if (d.v instanceof Date) { d.z = a.dateNF || D._table[14]; if (a.cellDates) { d.t = "d"; d.w = D.format(d.z, ee(d.v)) } else { d.t = "n"; d.v = ee(d.v); d.w = D.format(d.z, d.v) } } else d.t = "s" } if (n) { if (!i[p]) i[p] = []; i[p][g] = d } else { var m = ht({ c: g, r: p }); i[m] = d } } } if (l.s.c < 1e7) i["!ref"] = dt(l); return i } function wt(e, r) { return bt(null, e, r) } function Ct(e, r) { if (!r) r = Gr(4); r._W(4, e); return r } function Et(e) { var r = e._R(4); return r === 0 ? "" : e._R(r, "dbcs") } function kt(e, r) { var t = false; if (r == null) { t = true; r = Gr(4 + 2 * e.length) } r._W(4, e.length); if (e.length > 0) r._W(0, e, "dbcs"); return t ? r.slice(0, r.l) : r } function St(e) { return { ich: e._R(2), ifnt: e._R(2) } } function At(e, r) { if (!r) r = Gr(4); r._W(2, e.ich || 0); r._W(2, e.ifnt || 0); return r } function _t(e, r) { var t = e.l; var a = e._R(1); var n = Et(e); var i = []; var s = { t: n, h: n }; if ((a & 1) !== 0) { var f = e._R(4); for (var o = 0; o != f; ++o) i.push(St(e)); s.r = i } else s.r = [{ ich: 0, ifnt: 0 }]; e.l = t + r; return s } function Bt(e, r) { var t = false; if (r == null) { t = true; r = Gr(15 + 4 * e.t.length) } r._W(1, 0); kt(e.t, r); return t ? r.slice(0, r.l) : r } var Tt = _t; function yt(e, r) { var t = false; if (r == null) { t = true; r = Gr(23 + 4 * e.t.length) } r._W(1, 1); kt(e.t, r); r._W(4, 1); At({ ich: 0, ifnt: 0 }, r); return t ? r.slice(0, r.l) : r } function xt(e) { var r = e._R(4); var t = e._R(2); t += e._R(1) << 16; e.l++; return { c: r, iStyleRef: t } } function It(e, r) { if (r == null) r = Gr(8); r._W(-4, e.c); r._W(3, e.iStyleRef || e.s); r._W(1, 0); return r } var Rt = Et; var Dt = kt; function Ot(e) { var r = e._R(4); return r === 0 || r === 4294967295 ? "" : e._R(r, "dbcs") } function Ft(e, r) { var t = false; if (r == null) { t = true; r = Gr(127) } r._W(4, e.length > 0 ? e.length : 4294967295); if (e.length > 0) r._W(0, e, "dbcs"); return t ? r.slice(0, r.l) : r } var Pt = Et; var Nt = Ot; var Lt = Ft; function Mt(e) { var r = e.slice(e.l, e.l + 4); var t = r[0] & 1 , a = r[0] & 2; e.l += 4; r[0] &= 252; var n = a === 0 ? yr([0, 0, 0, 0, r[0], r[1], r[2], r[3]], 0) : Pr(r, 0) >> 2; return t ? n / 100 : n } function Ut(e, r) { if (r == null) r = Gr(4); var t = 0 , a = 0 , n = e * 100; if (e == (e | 0) && e >= -(1 << 29) && e < 1 << 29) { a = 1 } else if (n == (n | 0) && n >= -(1 << 29) && n < 1 << 29) { a = 1; t = 1 } if (a) r._W(-4, ((t ? n : e) << 2) + (t + 2)); else throw new Error("unsupported RkNumber " + e) } function Ht(e) { var r = { s: {}, e: {} }; r.s.r = e._R(4); r.e.r = e._R(4); r.s.c = e._R(4); r.e.c = e._R(4); return r } function Wt(e, r) { if (!r) r = Gr(16); r._W(4, e.s.r); r._W(4, e.e.r); r._W(4, e.s.c); r._W(4, e.e.c); return r } var Vt = Ht; var zt = Wt; function Xt(e) { return e._R(8, "f") } function Gt(e, r) { return (r || Gr(8))._W(8, e, "f") } var jt = { 0: "#NULL!", 7: "#DIV/0!", 15: "#VALUE!", 23: "#REF!", 29: "#NAME?", 36: "#NUM!", 42: "#N/A", 43: "#GETTING_DATA", 255: "#WTF?" }; var Kt = Z(jt); function Yt(e) { var r = {}; var t = e._R(1); var a = t >>> 1; var n = e._R(1); var i = e._R(2, "i"); var s = e._R(1); var f = e._R(1); var o = e._R(1); e.l++; switch (a) { case 0: r.auto = 1; break; case 1: r.index = n; var l = ka[n]; if (l) r.rgb = Yf(l); break; case 2: r.rgb = Yf([s, f, o]); break; case 3: r.theme = n; break; } if (i != 0) r.tint = i > 0 ? i / 32767 : i / 32768; return r } function $t(e, r) { if (!r) r = Gr(8); if (!e || e.auto) { r._W(4, 0); r._W(4, 0); return r } if (e.index) { r._W(1, 2); r._W(1, e.index) } else if (e.theme) { r._W(1, 6); r._W(1, e.theme) } else { r._W(1, 5); r._W(1, 0) } var t = e.tint || 0; if (t > 0) t *= 32767; else if (t < 0) t *= 32768; r._W(2, t); if (!e.rgb) { r._W(2, 0); r._W(1, 0); r._W(1, 0) } else { var a = e.rgb || "FFFFFF"; r._W(1, parseInt(a.slice(0, 2), 16)); r._W(1, parseInt(a.slice(2, 4), 16)); r._W(1, parseInt(a.slice(4, 6), 16)); r._W(1, 255) } return r } function Zt(e) { var r = e._R(1); e.l++; var t = { fItalic: r & 2, fStrikeout: r & 8, fOutline: r & 16, fShadow: r & 32, fCondense: r & 64, fExtend: r & 128 }; return t } function Qt(e, r) { if (!r) r = Gr(2); var t = (e.italic ? 2 : 0) | (e.strike ? 8 : 0) | (e.outline ? 16 : 0) | (e.shadow ? 32 : 0) | (e.condense ? 64 : 0) | (e.extend ? 128 : 0); r._W(1, t); r._W(1, 0); return r } function Jt(e, r) { var t = { 2: "BITMAP", 3: "METAFILEPICT", 8: "DIB", 14: "ENHMETAFILE" }; var a = e._R(4); switch (a) { case 0: return ""; case 4294967295: ; case 4294967294: return t[e._R(4)] || ""; } if (a > 400) throw new Error("Unsupported Clipboard: " + a.toString(16)); e.l -= 4; return e._R(0, r == 1 ? "lpstr" : "lpwstr") } function qt(e) { return Jt(e, 1) } function ea(e) { return Jt(e, 2) } var ra = 2; var ta = 3; var aa = 11; var na = 12; var ia = 19; var sa = 30; var fa = 64; var oa = 65; var la = 71; var ca = 4096; var ha = 80; var ua = 81; var da = [ha, ua]; var pa = { 1: { n: "CodePage", t: ra }, 2: { n: "Category", t: ha }, 3: { n: "PresentationFormat", t: ha }, 4: { n: "ByteCount", t: ta }, 5: { n: "LineCount", t: ta }, 6: { n: "ParagraphCount", t: ta }, 7: { n: "SlideCount", t: ta }, 8: { n: "NoteCount", t: ta }, 9: { n: "HiddenCount", t: ta }, 10: { n: "MultimediaClipCount", t: ta }, 11: { n: "ScaleCrop", t: aa }, 12: { n: "HeadingPairs", t: ca | na }, 13: { n: "TitlesOfParts", t: ca | sa }, 14: { n: "Manager", t: ha }, 15: { n: "Company", t: ha }, 16: { n: "LinksUpToDate", t: aa }, 17: { n: "CharacterCount", t: ta }, 19: { n: "SharedDoc", t: aa }, 22: { n: "HyperlinksChanged", t: aa }, 23: { n: "AppVersion", t: ta, p: "version" }, 24: { n: "DigSig", t: oa }, 26: { n: "ContentType", t: ha }, 27: { n: "ContentStatus", t: ha }, 28: { n: "Language", t: ha }, 29: { n: "Version", t: ha }, 255: {} }; var va = { 1: { n: "CodePage", t: ra }, 2: { n: "Title", t: ha }, 3: { n: "Subject", t: ha }, 4: { n: "Author", t: ha }, 5: { n: "Keywords", t: ha }, 6: { n: "Comments", t: ha }, 7: { n: "Template", t: ha }, 8: { n: "LastAuthor", t: ha }, 9: { n: "RevNumber", t: ha }, 10: { n: "EditTime", t: fa }, 11: { n: "LastPrinted", t: fa }, 12: { n: "CreatedDate", t: fa }, 13: { n: "ModifiedDate", t: fa }, 14: { n: "PageCount", t: ta }, 15: { n: "WordCount", t: ta }, 16: { n: "CharCount", t: ta }, 17: { n: "Thumbnail", t: la }, 18: { n: "Application", t: ha }, 19: { n: "DocSecurity", t: ta }, 255: {} }; var ga = { 2147483648: { n: "Locale", t: ia }, 2147483651: { n: "Behavior", t: ia }, 1919054434: {} }; (function() { for (var e in ga) if (ga.hasOwnProperty(e)) pa[e] = va[e] = ga[e] } )(); var ma = K(pa, "n"); var ba = K(va, "n"); var wa = { 1: "US", 2: "CA", 3: "", 7: "RU", 20: "EG", 30: "GR", 31: "NL", 32: "BE", 33: "FR", 34: "ES", 36: "HU", 39: "IT", 41: "CH", 43: "AT", 44: "GB", 45: "DK", 46: "SE", 47: "NO", 48: "PL", 49: "DE", 52: "MX", 55: "BR", 61: "AU", 64: "NZ", 66: "TH", 81: "JP", 82: "KR", 84: "VN", 86: "CN", 90: "TR", 105: "JS", 213: "DZ", 216: "MA", 218: "LY", 351: "PT", 354: "IS", 358: "FI", 420: "CZ", 886: "TW", 961: "LB", 962: "JO", 963: "SY", 964: "IQ", 965: "KW", 966: "SA", 971: "AE", 972: "IL", 974: "QA", 981: "IR", 65535: "US" }; var Ca = [null, "solid", "mediumGray", "darkGray", "lightGray", "darkHorizontal", "darkVertical", "darkDown", "darkUp", "darkGrid", "darkTrellis", "lightHorizontal", "lightVertical", "lightDown", "lightUp", "lightGrid", "lightTrellis", "gray125", "gray0625"]; function Ea(e) { return e.map(function(e) { return [e >> 16 & 255, e >> 8 & 255, e & 255] }) } var ka = Ea([0, 16777215, 16711680, 65280, 255, 16776960, 16711935, 65535, 0, 16777215, 16711680, 65280, 255, 16776960, 16711935, 65535, 8388608, 32768, 128, 8421376, 8388736, 32896, 12632256, 8421504, 10066431, 10040166, 16777164, 13434879, 6684774, 16744576, 26316, 13421823, 128, 16711935, 16776960, 65535, 8388736, 8388608, 32896, 255, 52479, 13434879, 13434828, 16777113, 10079487, 16751052, 13408767, 16764057, 3368703, 3394764, 10079232, 16763904, 16750848, 16737792, 6710937, 9868950, 13158, 3381606, 13056, 3355392, 10040064, 10040166, 3355545, 3355443, 16777215, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); var Sa = { "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": "workbooks", "application/vnd.ms-excel.binIndexWs": "TODO", "application/vnd.ms-excel.intlmacrosheet": "TODO", "application/vnd.ms-excel.binIndexMs": "TODO", "application/vnd.openxmlformats-package.core-properties+xml": "coreprops", "application/vnd.openxmlformats-officedocument.custom-properties+xml": "custprops", "application/vnd.openxmlformats-officedocument.extended-properties+xml": "extprops", "application/vnd.openxmlformats-officedocument.customXmlProperties+xml": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty": "TODO", "application/vnd.ms-excel.pivotTable": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml": "TODO", "application/vnd.ms-office.chartcolorstyle+xml": "TODO", "application/vnd.ms-office.chartstyle+xml": "TODO", "application/vnd.ms-excel.calcChain": "calcchains", "application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml": "calcchains", "application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings": "TODO", "application/vnd.ms-office.activeX": "TODO", "application/vnd.ms-office.activeX+xml": "TODO", "application/vnd.ms-excel.attachedToolbars": "TODO", "application/vnd.ms-excel.connections": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml": "TODO", "application/vnd.ms-excel.externalLink": "links", "application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml": "links", "application/vnd.ms-excel.sheetMetadata": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml": "TODO", "application/vnd.ms-excel.pivotCacheDefinition": "TODO", "application/vnd.ms-excel.pivotCacheRecords": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml": "TODO", "application/vnd.ms-excel.queryTable": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml": "TODO", "application/vnd.ms-excel.userNames": "TODO", "application/vnd.ms-excel.revisionHeaders": "TODO", "application/vnd.ms-excel.revisionLog": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml": "TODO", "application/vnd.ms-excel.tableSingleCells": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml": "TODO", "application/vnd.ms-excel.slicer": "TODO", "application/vnd.ms-excel.slicerCache": "TODO", "application/vnd.ms-excel.slicer+xml": "TODO", "application/vnd.ms-excel.slicerCache+xml": "TODO", "application/vnd.ms-excel.wsSortMap": "TODO", "application/vnd.ms-excel.table": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml": "TODO", "application/vnd.openxmlformats-officedocument.theme+xml": "themes", "application/vnd.openxmlformats-officedocument.themeOverride+xml": "TODO", "application/vnd.ms-excel.Timeline+xml": "TODO", "application/vnd.ms-excel.TimelineCache+xml": "TODO", "application/vnd.ms-office.vbaProject": "vba", "application/vnd.ms-office.vbaProjectSignature": "vba", "application/vnd.ms-office.volatileDependencies": "TODO", "application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml": "TODO", "application/vnd.ms-excel.controlproperties+xml": "TODO", "application/vnd.openxmlformats-officedocument.model+data": "TODO", "application/vnd.ms-excel.Survey+xml": "TODO", "application/vnd.openxmlformats-officedocument.drawing+xml": "drawings", "application/vnd.openxmlformats-officedocument.drawingml.chart+xml": "TODO", "application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml": "TODO", "application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml": "TODO", "application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml": "TODO", "application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml": "TODO", "application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml": "TODO", "application/vnd.openxmlformats-officedocument.vmlDrawing": "TODO", "application/vnd.openxmlformats-package.relationships+xml": "rels", "application/vnd.openxmlformats-officedocument.oleObject": "TODO", "image/png": "TODO", sheet: "js" }; var Aa = function() { var e = { workbooks: { xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml", xlsm: "application/vnd.ms-excel.sheet.macroEnabled.main+xml", xlsb: "application/vnd.ms-excel.sheet.binary.macroEnabled.main", xlam: "application/vnd.ms-excel.addin.macroEnabled.main+xml", xltx: "application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml" }, strs: { xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml", xlsb: "application/vnd.ms-excel.sharedStrings" }, comments: { xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml", xlsb: "application/vnd.ms-excel.comments" }, sheets: { xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml", xlsb: "application/vnd.ms-excel.worksheet" }, charts: { xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml", xlsb: "application/vnd.ms-excel.chartsheet" }, dialogs: { xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml", xlsb: "application/vnd.ms-excel.dialogsheet" }, macros: { xlsx: "application/vnd.ms-excel.macrosheet+xml", xlsb: "application/vnd.ms-excel.macrosheet" }, styles: { xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml", xlsb: "application/vnd.ms-excel.styles" } }; j(e).forEach(function(r) { ["xlsm", "xlam"].forEach(function(t) { if (!e[r][t]) e[r][t] = e[r].xlsx }) }); j(e).forEach(function(r) { j(e[r]).forEach(function(t) { Sa[e[r][t]] = r }) }); return e }(); var _a = Q(Sa); sr.CT = "http://schemas.openxmlformats.org/package/2006/content-types"; function Ba() { return { workbooks: [], sheets: [], charts: [], dialogs: [], macros: [], rels: [], strs: [], comments: [], links: [], coreprops: [], extprops: [], custprops: [], themes: [], styles: [], calcchains: [], vba: [], drawings: [], TODO: [], xmlns: "" } } function Ta(e) { var r = Ba(); if (!e || !e.match) return r; var t = {}; (e.match(_e) || []).forEach(function(e) { var a = ye(e); switch (a[0].replace(Be, "<")) { case " 0 ? r.calcchains[0] : ""; r.sst = r.strs.length > 0 ? r.strs[0] : ""; r.style = r.styles.length > 0 ? r.styles[0] : ""; r.defaults = t; delete r.calcchains; return r } var ya = ar("Types", null, { xmlns: sr.CT, "xmlns:xsd": sr.xsd, "xmlns:xsi": sr.xsi }); var xa = [["xml", "application/xml"], ["bin", "application/vnd.ms-excel.sheet.binary.macroEnabled.main"], ["vml", "application/vnd.openxmlformats-officedocument.vmlDrawing"], ["bmp", "image/bmp"], ["png", "image/png"], ["gif", "image/gif"], ["emf", "image/x-emf"], ["wmf", "image/x-wmf"], ["jpg", "image/jpeg"], ["jpeg", "image/jpeg"], ["tif", "image/tiff"], ["tiff", "image/tiff"], ["pdf", "application/pdf"], ["rels", _a.rels[0]]].map(function(e) { return ar("Default", null, { Extension: e[0], ContentType: e[1] }) }); function Ia(e, r) { var t = [], a; t[t.length] = Se; t[t.length] = ya; t = t.concat(xa); var n = function(n) { if (e[n] && e[n].length > 0) { a = e[n][0]; t[t.length] = ar("Override", null, { PartName: (a[0] == "/" ? "" : "/") + a, ContentType: Aa[n][r.bookType || "xlsx"] }) } }; var i = function(a) { (e[a] || []).forEach(function(e) { t[t.length] = ar("Override", null, { PartName: (e[0] == "/" ? "" : "/") + e, ContentType: Aa[a][r.bookType || "xlsx"] }) }) }; var s = function(r) { (e[r] || []).forEach(function(e) { t[t.length] = ar("Override", null, { PartName: (e[0] == "/" ? "" : "/") + e, ContentType: _a[r][0] }) }) }; n("workbooks"); i("sheets"); i("charts"); s("themes"); ["strs", "styles"].forEach(n); ["coreprops", "extprops", "custprops"].forEach(s); s("vba"); s("comments"); s("drawings"); if (t.length > 2) { t[t.length] = ""; t[1] = t[1].replace("/>", ">") } return t.join("") } var Ra = { WB: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument", SHEET: "http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument", HLINK: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink", VML: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing", VBA: "http://schemas.microsoft.com/office/2006/relationships/vbaProject" }; function Da(e) { var r = e.lastIndexOf("/"); return e.slice(0, r + 1) + "_rels/" + e.slice(r + 1) + ".rels" } function Oa(e, r) { if (!e) return e; if (r.charAt(0) !== "/") { r = "/" + r } var t = {}; var a = {}; (e.match(_e) || []).forEach(function(e) { var n = ye(e); if (n[0] === " 2) { r[r.length] = ""; r[1] = r[1].replace("/>", ">") } return r.join("") } function Na(e, r, t, a, n) { if (!n) n = {}; if (!e["!id"]) e["!id"] = {}; if (r < 0) for (r = 1; e["!id"]["rId" + r]; ++r) {} n.Id = "rId" + r; n.Type = a; n.Target = t; if (n.Type == Ra.HLINK) n.TargetMode = "External"; if (e["!id"][n.Id]) throw new Error("Cannot rewrite rId " + r); e["!id"][n.Id] = n; e[("/" + n.Target).replace("//", "/")] = n; return r } var La = "application/vnd.oasis.opendocument.spreadsheet"; function Ma(e, r) { var t = Mp(e); var a; var n; while (a = Up.exec(t)) switch (a[3]) { case "manifest": break; case "file-entry": n = ye(a[0], false); if (n.path == "/" && n.type !== La) throw new Error("This OpenDocument is not a spreadsheet"); break; case "encryption-data": ; case "algorithm": ; case "start-key-generation": ; case "key-derivation": throw new Error("Unsupported ODS Encryption"); default: if (r && r.WTF) throw a; } } function Ua(e) { var r = [Se]; r.push('\n'); r.push(' \n'); for (var t = 0; t < e.length; ++t) r.push(' \n'); r.push(""); return r.join("") } function Ha(e, r, t) { return [' \n', ' \n', " \n"].join("") } function Wa(e, r) { return [' \n', ' \n', " \n"].join("") } function Va(e) { var r = [Se]; r.push('\n'); for (var t = 0; t != e.length; ++t) { r.push(Ha(e[t][0], e[t][1])); r.push(Wa("", e[t][0])) } r.push(Ha("", "Document", "pkg")); r.push(""); return r.join("") } var za = function() { var r = 'Sheet' + "JS " + e.version + ""; return function t() { return r } }(); var Xa = [["cp:category", "Category"], ["cp:contentStatus", "ContentStatus"], ["cp:keywords", "Keywords"], ["cp:lastModifiedBy", "LastAuthor"], ["cp:lastPrinted", "LastPrinted"], ["cp:revision", "RevNumber"], ["cp:version", "Version"], ["dc:creator", "Author"], ["dc:description", "Comments"], ["dc:identifier", "Identifier"], ["dc:language", "Language"], ["dc:subject", "Subject"], ["dc:title", "Title"], ["dcterms:created", "CreatedDate", "date"], ["dcterms:modified", "ModifiedDate", "date"]]; sr.CORE_PROPS = "http://schemas.openxmlformats.org/package/2006/metadata/core-properties"; Ra.CORE_PROPS = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"; var Ga = function() { var e = new Array(Xa.length); for (var r = 0; r < Xa.length; ++r) { var t = Xa[r]; var a = "(?:" + t[0].slice(0, t[0].indexOf(":")) + ":)" + t[0].slice(t[0].indexOf(":") + 1); e[r] = new RegExp("<" + a + "[^>]*>([\\s\\S]*?)") } return e }(); function ja(e) { var r = {}; e = ze(e); for (var t = 0; t < Xa.length; ++t) { var a = Xa[t] , n = e.match(Ga[t]); if (n != null && n.length > 0) r[a[1]] = n[1]; if (a[2] === "date" && r[a[1]]) r[a[1]] = ie(r[a[1]]) } return r } var Ka = ar("cp:coreProperties", null, { "xmlns:cp": sr.CORE_PROPS, "xmlns:dc": sr.dc, "xmlns:dcterms": sr.dcterms, "xmlns:dcmitype": sr.dcmitype, "xmlns:xsi": sr.xsi }); function Ya(e, r, t, a, n) { if (n[e] != null || r == null || r === "") return; n[e] = r; a[a.length] = t ? ar(e, r, t) : rr(e, r) } function $a(e, r) { var t = r || {}; var a = [Se, Ka] , n = {}; if (!e && !t.Props) return a.join(""); if (e) { if (e.CreatedDate != null) Ya("dcterms:created", typeof e.CreatedDate === "string" ? e.CreatedDate : nr(e.CreatedDate, t.WTF), { "xsi:type": "dcterms:W3CDTF" }, a, n); if (e.ModifiedDate != null) Ya("dcterms:modified", typeof e.ModifiedDate === "string" ? e.ModifiedDate : nr(e.ModifiedDate, t.WTF), { "xsi:type": "dcterms:W3CDTF" }, a, n) } for (var i = 0; i != Xa.length; ++i) { var s = Xa[i]; var f = t.Props && t.Props[s[1]] != null ? t.Props[s[1]] : e ? e[s[1]] : null; if (f === true) f = "1"; else if (f === false) f = "0"; else if (typeof f == "number") f = String(f); if (f != null) Ya(s[0], f, null, a, n) } if (a.length > 2) { a[a.length] = ""; a[1] = a[1].replace("/>", ">") } return a.join("") } var Za = [["Application", "Application", "string"], ["AppVersion", "AppVersion", "string"], ["Company", "Company", "string"], ["DocSecurity", "DocSecurity", "string"], ["Manager", "Manager", "string"], ["HyperlinksChanged", "HyperlinksChanged", "bool"], ["SharedDoc", "SharedDoc", "bool"], ["LinksUpToDate", "LinksUpToDate", "bool"], ["ScaleCrop", "ScaleCrop", "bool"], ["HeadingPairs", "HeadingPairs", "raw"], ["TitlesOfParts", "TitlesOfParts", "raw"]]; sr.EXT_PROPS = "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"; Ra.EXT_PROPS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"; var Qa = ["Worksheets", "SheetNames", "NamedRanges", "DefinedNames", "Chartsheets", "ChartNames"]; function Ja(e, r, t, a) { var n = []; if (typeof e == "string") n = qe(e, a); else for (var i = 0; i < e.length; ++i) n = n.concat(e[i].map(function(e) { return { v: e } })); var s = typeof r == "string" ? qe(r, a).map(function(e) { return e.v }) : r; var f = 0 , o = 0; if (s.length > 0) for (var l = 0; l !== n.length; l += 2) { o = +n[l + 1].v; switch (n[l].v) { case "Worksheets": ; case "工作表": ; case "Листы": ; case "أوراق العمل": ; case "ワークシート": ; case "גליונות עבודה": ; case "Arbeitsblätter": ; case "Çalışma Sayfaları": ; case "Feuilles de calcul": ; case "Fogli di lavoro": ; case "Folhas de cálculo": ; case "Planilhas": ; case "Regneark": ; case "Werkbladen": t.Worksheets = o; t.SheetNames = s.slice(f, f + o); break; case "Named Ranges": ; case "名前付き一覧": ; case "Benannte Bereiche": ; case "Navngivne områder": t.NamedRanges = o; t.DefinedNames = s.slice(f, f + o); break; case "Charts": ; case "Diagramme": t.Chartsheets = o; t.ChartNames = s.slice(f, f + o); break; } f += o } } function qa(e, r, t) { var a = {}; if (!r) r = {}; e = ze(e); Za.forEach(function(t) { switch (t[2]) { case "string": r[t[1]] = (e.match(Ye(t[0])) || [])[1]; break; case "bool": r[t[1]] = (e.match(Ye(t[0])) || [])[1] === "true"; break; case "raw": var n = e.match(new RegExp("<" + t[0] + "[^>]*>([\\s\\S]*?)")); if (n && n.length > 0) a[t[1]] = n[1]; break; } }); if (a.HeadingPairs && a.TitlesOfParts) Ja(a.HeadingPairs, a.TitlesOfParts, r, t); return r } var en = ar("Properties", null, { xmlns: sr.EXT_PROPS, "xmlns:vt": sr.vt }); function rn(e) { var r = [] , t = ar; if (!e) e = {}; e.Application = "SheetJS"; r[r.length] = Se; r[r.length] = en; Za.forEach(function(a) { if (e[a[1]] === undefined) return; var n; switch (a[2]) { case "string": n = String(e[a[1]]); break; case "bool": n = e[a[1]] ? "true" : "false"; break; } if (n !== undefined) r[r.length] = t(a[0], n) }); r[r.length] = t("HeadingPairs", t("vt:vector", t("vt:variant", "Worksheets") + t("vt:variant", t("vt:i4", String(e.Worksheets))), { size: 2, baseType: "variant" })); r[r.length] = t("TitlesOfParts", t("vt:vector", e.SheetNames.map(function(e) { return "" + Pe(e) + "" }).join(""), { size: e.Worksheets, baseType: "lpstr" })); if (r.length > 2) { r[r.length] = ""; r[1] = r[1].replace("/>", ">") } return r.join("") } sr.CUST_PROPS = "http://schemas.openxmlformats.org/officeDocument/2006/custom-properties"; Ra.CUST_PROPS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties"; var tn = /<[^>]+>[^<]*/g; function an(e, r) { var t = {} , a = ""; var n = e.match(tn); if (n) for (var i = 0; i != n.length; ++i) { var s = n[i] , f = ye(s); switch (f[0]) { case "": a = null; break; default: if (s.indexOf(""); var l = o[0].slice(4) , c = o[1]; switch (l) { case "lpstr": ; case "bstr": ; case "lpwstr": t[a] = De(c); break; case "bool": t[a] = Ve(c); break; case "i1": ; case "i2": ; case "i4": ; case "i8": ; case "int": ; case "uint": t[a] = parseInt(c, 10); break; case "r4": ; case "r8": ; case "decimal": t[a] = parseFloat(c); break; case "filetime": ; case "date": t[a] = ie(c); break; case "cy": ; case "error": t[a] = De(c); break; default: if (l.slice(-1) == "/") break; if (r.WTF && typeof console !== "undefined") console.warn("Unexpected", s, l, o); } } else if (s.slice(0, 2) === " 2) { r[r.length] = ""; r[1] = r[1].replace("/>", ">") } return r.join("") } var fn = { Title: "Title", Subject: "Subject", Author: "Author", Keywords: "Keywords", Comments: "Description", LastAuthor: "LastAuthor", RevNumber: "Revision", Application: "AppName", LastPrinted: "LastPrinted", CreatedDate: "Created", ModifiedDate: "LastSaved", Category: "Category", Manager: "Manager", Company: "Company", AppVersion: "Version", ContentStatus: "ContentStatus", Identifier: "Identifier", Language: "Language" }; var on = Y(fn); function ln(e, r, t) { r = on[r] || r; e[r] = t } function cn(e, r) { var t = []; j(fn).map(function(e) { for (var r = 0; r < Xa.length; ++r) if (Xa[r][1] == e) return Xa[r]; for (r = 0; r < Za.length; ++r) if (Za[r][1] == e) return Za[r]; throw e }).forEach(function(a) { if (e[a[1]] == null) return; var n = r && r.Props && r.Props[a[1]] != null ? r.Props[a[1]] : e[a[1]]; switch (a[2]) { case "date": n = new Date(n).toISOString().replace(/\.\d*Z/, "Z"); break; } if (typeof n == "number") n = String(n); else if (n === true || n === false) { n = n ? "1" : "0" } else if (n instanceof Date) n = new Date(n).toISOString().replace(/\.\d*Z/, ""); t.push(rr(fn[a[1]] || a[1], n)) }); return ar("DocumentProperties", t.join(""), { xmlns: fr.o }) } function hn(e, r) { var t = ["Worksheets", "SheetNames"]; var a = "CustomDocumentProperties"; var n = []; if (e) j(e).forEach(function(r) { if (!e.hasOwnProperty(r)) return; for (var a = 0; a < Xa.length; ++a) if (r == Xa[a][1]) return; for (a = 0; a < Za.length; ++a) if (r == Za[a][1]) return; for (a = 0; a < t.length; ++a) if (r == t[a]) return; var i = e[r]; var s = "string"; if (typeof i == "number") { s = "float"; i = String(i) } else if (i === true || i === false) { s = "boolean"; i = i ? "1" : "0" } else i = String(i); n.push(ar(Ne(r), i, { "dt:dt": s })) }); if (r) j(r).forEach(function(t) { if (!r.hasOwnProperty(t)) return; if (e && e.hasOwnProperty(t)) return; var a = r[t]; var i = "string"; if (typeof a == "number") { i = "float"; a = String(a) } else if (a === true || a === false) { i = "boolean"; a = a ? "1" : "0" } else if (a instanceof Date) { i = "dateTime.tz"; a = a.toISOString() } else a = String(a); n.push(ar(Ne(t), a, { "dt:dt": i })) }); return "<" + a + ' xmlns="' + fr.o + '">' + n.join("") + "" } function un(e) { var r = e._R(4) , t = e._R(4); return new Date((t / 1e7 * Math.pow(2, 32) + r / 1e7 - 11644473600) * 1e3).toISOString().replace(/\.000/, "") } function dn(e) { var r = typeof e == "string" ? new Date(Date.parse(e)) : e; var t = r.getTime() / 1e3 + 11644473600; var a = t % Math.pow(2, 32) , n = (t - a) / Math.pow(2, 32); a *= 1e7; n *= 1e7; var i = a / Math.pow(2, 32) | 0; if (i > 0) { a = a % Math.pow(2, 32); n += i } var s = Gr(8); s._W(4, a); s._W(4, n); return s } function pn(e, r, t) { var a = e.l; var n = e._R(0, "lpstr-cp"); if (t) while (e.l - a & 3) ++e.l; return n } function vn(e, r, t) { var a = e._R(0, "lpwstr"); if (t) e.l += 4 - (a.length + 1 & 3) & 3; return a } function gn(e, r, t) { if (r === 31) return vn(e); return pn(e, r, t) } function mn(e, r, t) { return gn(e, r, t === false ? 0 : 4) } function bn(e, r) { if (!r) throw new Error("VtUnalignedString must have positive length"); return gn(e, r, 0) } function wn(e) { var r = e._R(4); var t = []; for (var a = 0; a != r; ++a) t[a] = e._R(0, "lpstr-cp").replace(I, ""); return t } function Cn(e) { return wn(e) } function En(e) { var r = Tn(e, ua); var t = Tn(e, ta); return [r, t] } function kn(e) { var r = e._R(4); var t = []; for (var a = 0; a != r / 2; ++a) t.push(En(e)); return t } function Sn(e) { return kn(e) } function An(e, r) { var t = e._R(4); var a = {}; for (var n = 0; n != t; ++n) { var i = e._R(4); var s = e._R(4); a[i] = e._R(s, r === 1200 ? "utf16le" : "utf8").replace(I, "").replace(R, "!"); if (r === 1200 && s % 2) e.l += 2 } if (e.l & 3) e.l = e.l >> 2 + 1 << 2; return a } function _n(e) { var r = e._R(4); var t = e.slice(e.l, e.l + r); e.l += r; if ((r & 3) > 0) e.l += 4 - (r & 3) & 3; return t } function Bn(e) { var r = {}; r.Size = e._R(4); e.l += r.Size + 3 - (r.Size - 1) % 4; return r } function Tn(e, r, t) { var a = e._R(2), n, i = t || {}; e.l += 2; if (r !== na) if (a !== r && da.indexOf(r) === -1) throw new Error("Expected type " + r + " saw " + a); switch (r === na ? a : r) { case 2: n = e._R(2, "i"); if (!i.raw) e.l += 2; return n; case 3: n = e._R(4, "i"); return n; case 11: return e._R(4) !== 0; case 19: n = e._R(4); return n; case 30: return pn(e, a, 4).replace(I, ""); case 31: return vn(e); case 64: return un(e); case 65: return _n(e); case 71: return Bn(e); case 80: return mn(e, a, !i.raw).replace(I, ""); case 81: return bn(e, a).replace(I, ""); case 4108: return Sn(e); case 4126: return Cn(e); default: throw new Error("TypedPropertyValue unrecognized type " + r + " " + a); } } function yn(e, r) { var t = Gr(4) , a = Gr(4); t._W(4, e == 80 ? 31 : e); switch (e) { case 3: a._W(-4, r); break; case 5: a = Gr(8); a._W(8, r, "f"); break; case 11: a._W(4, r ? 1 : 0); break; case 64: a = dn(r); break; case 31: ; case 80: a = Gr(4 + 2 * (r.length + 1) + (r.length % 2 ? 0 : 2)); a._W(4, r.length + 1); a._W(0, r, "dbcs"); while (a.l != a.length) a._W(1, 0); break; default: throw new Error("TypedPropertyValue unrecognized type " + e + " " + r); } return x([t, a]) } function xn(e, r) { var t = e.l; var a = e._R(4); var n = e._R(4); var i = [] , s = 0; var f = 0; var l = -1 , c = {}; for (s = 0; s != n; ++s) { var h = e._R(4); var u = e._R(4); i[s] = [h, u + t] } i.sort(function(e, r) { return e[1] - r[1] }); var d = {}; for (s = 0; s != n; ++s) { if (e.l !== i[s][1]) { var p = true; if (s > 0 && r) switch (r[i[s - 1][0]].t) { case 2: if (e.l + 2 === i[s][1]) { e.l += 2; p = false } break; case 80: if (e.l <= i[s][1]) { e.l = i[s][1]; p = false } break; case 4108: if (e.l <= i[s][1]) { e.l = i[s][1]; p = false } break; } if ((!r || s == 0) && e.l <= i[s][1]) { p = false; e.l = i[s][1] } if (p) throw new Error("Read Error: Expected address " + i[s][1] + " at " + e.l + " :" + s) } if (r) { var v = r[i[s][0]]; d[v.n] = Tn(e, v.t, { raw: true }); if (v.p === "version") d[v.n] = String(d[v.n] >> 16) + "." + ("0000" + String(d[v.n] & 65535)).slice(-4); if (v.n == "CodePage") switch (d[v.n]) { case 0: d[v.n] = 1252; case 874: ; case 932: ; case 936: ; case 949: ; case 950: ; case 1250: ; case 1251: ; case 1253: ; case 1254: ; case 1255: ; case 1256: ; case 1257: ; case 1258: ; case 1e4: ; case 1200: ; case 1201: ; case 1252: ; case 65e3: ; case -536: ; case 65001: ; case -535: o(f = d[v.n] >>> 0 & 65535); break; default: throw new Error("Unsupported CodePage: " + d[v.n]); } } else { if (i[s][0] === 1) { f = d.CodePage = Tn(e, ra); o(f); if (l !== -1) { var g = e.l; e.l = i[l][1]; c = An(e, f); e.l = g } } else if (i[s][0] === 0) { if (f === 0) { l = s; e.l = i[s + 1][1]; continue } c = An(e, f) } else { var m = c[i[s][0]]; var b; switch (e[e.l]) { case 65: e.l += 4; b = _n(e); break; case 30: e.l += 4; b = mn(e, e[e.l - 4]).replace(/\u0000+$/, ""); break; case 31: e.l += 4; b = mn(e, e[e.l - 4]).replace(/\u0000+$/, ""); break; case 3: e.l += 4; b = e._R(4, "i"); break; case 19: e.l += 4; b = e._R(4); break; case 5: e.l += 4; b = e._R(8, "f"); break; case 11: e.l += 4; b = Mn(e, 4); break; case 64: e.l += 4; b = ie(un(e)); break; default: throw new Error("unparsed value: " + e[e.l]); } d[m] = b } } } e.l = t + a; return d } var In = ["CodePage", "Thumbnail", "_PID_LINKBASE", "_PID_HLINKS", "SystemIdentifier", "FMTID"].concat(Qa); function Rn(e) { switch (typeof e) { case "boolean": return 11; case "number": return (e | 0) == e ? 3 : 5; case "string": return 31; case "object": if (e instanceof Date) return 64; break; } return -1 } function Dn(e, r, t) { var a = Gr(8) , n = [] , i = []; var s = 8 , f = 0; var o = Gr(8) , l = Gr(8); o._W(4, 2); o._W(4, 1200); l._W(4, 1); i.push(o); n.push(l); s += 8 + o.length; if (!r) { l = Gr(8); l._W(4, 0); n.unshift(l); var c = [Gr(4)]; c[0]._W(4, e.length); for (f = 0; f < e.length; ++f) { var h = e[f][0]; o = Gr(4 + 4 + 2 * (h.length + 1) + (h.length % 2 ? 0 : 2)); o._W(4, f + 2); o._W(4, h.length + 1); o._W(0, h, "dbcs"); while (o.l != o.length) o._W(1, 0); c.push(o) } o = x(c); i.unshift(o); s += 8 + o.length } for (f = 0; f < e.length; ++f) { if (r && !r[e[f][0]]) continue; if (In.indexOf(e[f][0]) > -1) continue; if (e[f][1] == null) continue; var u = e[f][1] , d = 0; if (r) { d = +r[e[f][0]]; var p = t[d]; if (p.p == "version" && typeof u == "string") { var v = u.split("."); u = (+v[0] << 16) + (+v[1] || 0) } o = yn(p.t, u) } else { var g = Rn(u); if (g == -1) { g = 31; u = String(u) } o = yn(g, u) } i.push(o); l = Gr(8); l._W(4, !r ? 2 + f : d); n.push(l); s += 8 + o.length } var m = 8 * (i.length + 1); for (f = 0; f < i.length; ++f) { n[f]._W(4, m); m += i[f].length } a._W(4, s); a._W(4, i.length); return x([a].concat(n).concat(i)) } function On(e, r, t) { var a = e.content; if (!a) return {}; zr(a, 0); var n, i, s, f, o = 0; a.chk("feff", "Byte Order: "); a._R(2); var l = a._R(4); var c = a._R(16); if (c !== W.utils.consts.HEADER_CLSID && c !== t) throw new Error("Bad PropertySet CLSID " + c); n = a._R(4); if (n !== 1 && n !== 2) throw new Error("Unrecognized #Sets: " + n); i = a._R(16); f = a._R(4); if (n === 1 && f !== a.l) throw new Error("Length mismatch: " + f + " !== " + a.l); else if (n === 2) { s = a._R(16); o = a._R(4) } var h = xn(a, r); var u = { SystemIdentifier: l }; for (var d in h) u[d] = h[d]; u.FMTID = i; if (n === 1) return u; if (o - a.l == 2) a.l += 2; if (a.l !== o) throw new Error("Length mismatch 2: " + a.l + " !== " + o); var p; try { p = xn(a, null) } catch (v) {} for (d in p) u[d] = p[d]; u.FMTID = [i, s]; return u } function Fn(e, r, t, a, n, i) { var s = Gr(n ? 68 : 48); var f = [s]; s._W(2, 65534); s._W(2, 0); s._W(4, 842412599); s._W(16, W.utils.consts.HEADER_CLSID, "hex"); s._W(4, n ? 2 : 1); s._W(16, r, "hex"); s._W(4, n ? 68 : 48); var o = Dn(e, t, a); f.push(o); if (n) { var l = Dn(n, null, null); s._W(16, i, "hex"); s._W(4, 68 + o.length); f.push(l) } return x(f) } function Pn(e, r) { e._R(r); return null } function Nn(e, r) { if (!r) r = Gr(e); for (var t = 0; t < e; ++t) r._W(1, 0); return r } function Ln(e, r, t) { var a = [] , n = e.l + r; while (e.l < n) a.push(t(e, n - e.l)); if (n !== e.l) throw new Error("Slurp error"); return a } function Mn(e, r) { return e._R(r) === 1 } function Un(e, r) { if (!r) r = Gr(2); r._W(2, +!!e); return r } function Hn(e) { return e._R(2, "u") } function Wn(e, r) { if (!r) r = Gr(2); r._W(2, e); return r } function Vn(e, r) { return Ln(e, r, Hn) } function zn(e) { var r = e._R(1) , t = e._R(1); return t === 1 ? r : r === 1 } function Xn(e, r, t) { if (!t) t = Gr(2); t._W(1, +e); t._W(1, r == "e" ? 1 : 0); return t } function Gn(e, t, a) { var n = e._R(a && a.biff >= 12 ? 2 : 1); var i = "sbcs-cont"; var s = r; if (a && a.biff >= 8) r = 1200; if (!a || a.biff == 8) { var f = e._R(1); if (f) { i = "dbcs-cont" } } else if (a.biff == 12) { i = "wstr" } if (a.biff >= 2 && a.biff <= 5) i = "cpstr"; var o = n ? e._R(n, i) : ""; r = s; return o } function jn(e) { var t = r; r = 1200; var a = e._R(2) , n = e._R(1); var i = n & 4 , s = n & 8; var f = 1 + (n & 1); var o = 0, l; var c = {}; if (s) o = e._R(2); if (i) l = e._R(4); var h = f == 2 ? "dbcs-cont" : "sbcs-cont"; var u = a === 0 ? "" : e._R(a, h); if (s) e.l += 4 * o; if (i) e.l += l; c.t = u; if (!s) { c.raw = "" + c.t + ""; c.r = c.t } r = t; return c } function Kn(e, r, t) { var a; if (t) { if (t.biff >= 2 && t.biff <= 5) return e._R(r, "cpstr"); if (t.biff >= 12) return e._R(r, "dbcs-cont") } var n = e._R(1); if (n === 0) { a = e._R(r, "sbcs-cont") } else { a = e._R(r, "dbcs-cont") } return a } function Yn(e, r, t) { var a = e._R(t && t.biff == 2 ? 1 : 2); if (a === 0) { e.l++; return "" } return Kn(e, a, t) } function $n(e, r, t) { if (t.biff > 5) return Yn(e, r, t); var a = e._R(1); if (a === 0) { e.l++; return "" } return e._R(a, t.biff <= 4 || !e.lens ? "cpstr" : "sbcs-cont") } function Zn(e, r, t) { if (!t) t = Gr(3 + 2 * e.length); t._W(2, e.length); t._W(1, 1); t._W(31, e, "utf16le"); return t } function Qn(e) { var r = e._R(1); e.l++; var t = e._R(2); e.l += 2; return [r, t] } function Jn(e) { var r = e._R(4) , t = e.l; var a = false; if (r > 24) { e.l += r - 24; if (e._R(16) === "795881f43b1d7f48af2c825dc4852763") a = true; e.l = t } var n = e._R((a ? r - 24 : r) >> 1, "utf16le").replace(I, ""); if (a) e.l += 24; return n } function qn(e) { e.l += 2; var r = e._R(0, "lpstr-ansi"); e.l += 2; if (e._R(2) != 57005) throw new Error("Bad FileMoniker"); var t = e._R(4); if (t === 0) return r.replace(/\\/g, "/"); var a = e._R(4); if (e._R(2) != 3) throw new Error("Bad FileMoniker"); var n = e._R(a >> 1, "utf16le").replace(I, ""); return n } function ei(e, r) { var t = e._R(16); r -= 16; switch (t) { case "e0c9ea79f9bace118c8200aa004ba90b": return Jn(e, r); case "0303000000000000c000000000000046": return qn(e, r); default: throw new Error("Unsupported Moniker " + t); } } function ri(e) { var r = e._R(4); var t = r > 0 ? e._R(r, "utf16le").replace(I, "") : ""; return t } function ti(e, r) { var t = e.l + r; var a = e._R(4); if (a !== 2) throw new Error("Unrecognized streamVersion: " + a); var n = e._R(2); e.l += 2; var i, s, f, o, l = "", c, h; if (n & 16) i = ri(e, t - e.l); if (n & 128) s = ri(e, t - e.l); if ((n & 257) === 257) f = ri(e, t - e.l); if ((n & 257) === 1) o = ei(e, t - e.l); if (n & 8) l = ri(e, t - e.l); if (n & 32) c = e._R(16); if (n & 64) h = un(e); e.l = t; var u = s || f || o || ""; if (u && l) u += "#" + l; if (!u) u = "#" + l; var d = { Target: u }; if (c) d.guid = c; if (h) d.time = h; if (i) d.Tooltip = i; return d } function ai(e) { var r = Gr(512) , t = 0; var a = e.Target; var n = a.indexOf("#") > -1 ? 31 : 23; switch (a.charAt(0)) { case "#": n = 28; break; case ".": n &= ~2; break; } r._W(4, 2); r._W(4, n); var i = [8, 6815827, 6619237, 4849780, 83]; for (t = 0; t < i.length; ++t) r._W(4, i[t]); if (n == 28) { a = a.slice(1); r._W(4, a.length + 1); for (t = 0; t < a.length; ++t) r._W(2, a.charCodeAt(t)); r._W(2, 0) } else if (n & 2) { i = "e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "); for (t = 0; t < i.length; ++t) r._W(1, parseInt(i[t], 16)); r._W(4, 2 * (a.length + 1)); for (t = 0; t < a.length; ++t) r._W(2, a.charCodeAt(t)); r._W(2, 0) } else { i = "03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "); for (t = 0; t < i.length; ++t) r._W(1, parseInt(i[t], 16)); var s = 0; while (a.slice(s * 3, s * 3 + 3) == "../" || a.slice(s * 3, s * 3 + 3) == "..\\") ++s; r._W(2, s); r._W(4, a.length + 1); for (t = 0; t < a.length; ++t) r._W(1, a.charCodeAt(t) & 255); r._W(1, 0); r._W(2, 65535); r._W(2, 57005); for (t = 0; t < 6; ++t) r._W(4, 0) } return r.slice(0, r.l) } function ni(e) { var r = e._R(1) , t = e._R(1) , a = e._R(1) , n = e._R(1); return [r, t, a, n] } function ii(e, r) { var t = ni(e, r); t[3] = 0; return t } function si(e) { var r = e._R(2); var t = e._R(2); var a = e._R(2); return { r: r, c: t, ixfe: a } } function fi(e, r, t, a) { if (!a) a = Gr(6); a._W(2, e); a._W(2, r); a._W(2, t || 0); return a } function oi(e) { var r = e._R(2); var t = e._R(2); e.l += 8; return { type: r, flags: t } } function li(e, r, t) { return r === 0 ? "" : $n(e, r, t) } function ci(e, r, t) { var a = t.biff > 8 ? 4 : 2; var n = e._R(a) , i = e._R(a, "i") , s = e._R(a, "i"); return [n, i, s] } function hi(e) { var r = e._R(2); var t = Mt(e); return [r, t] } function ui(e, r, t) { e.l += 4; r -= 4; var a = e.l + r; var n = Gn(e, r, t); var i = e._R(2); a -= e.l; if (i !== a) throw new Error("Malformed AddinUdf: padding = " + a + " != " + i); e.l += i; return n } function di(e) { var r = e._R(2); var t = e._R(2); var a = e._R(2); var n = e._R(2); return { s: { c: a, r: r }, e: { c: n, r: t } } } function pi(e, r) { if (!r) r = Gr(8); r._W(2, e.s.r); r._W(2, e.e.r); r._W(2, e.s.c); r._W(2, e.e.c); return r } function vi(e) { var r = e._R(2); var t = e._R(2); var a = e._R(1); var n = e._R(1); return { s: { c: a, r: r }, e: { c: n, r: t } } } var gi = vi; function mi(e) { e.l += 4; var r = e._R(2); var t = e._R(2); var a = e._R(2); e.l += 12; return [t, r, a] } function bi(e) { var r = {}; e.l += 4; e.l += 16; r.fSharedNote = e._R(2); e.l += 4; return r } function wi(e) { var r = {}; e.l += 4; e.cf = e._R(2); return r } function Ci(e) { e.l += 2; e.l += e._R(2) } var Ei = { 0: Ci, 4: Ci, 5: Ci, 6: Ci, 7: wi, 8: Ci, 9: Ci, 10: Ci, 11: Ci, 12: Ci, 13: bi, 14: Ci, 15: Ci, 16: Ci, 17: Ci, 18: Ci, 19: Ci, 20: Ci, 21: mi }; function ki(e, r) { var t = e.l + r; var a = []; while (e.l < t) { var n = e._R(2); e.l -= 2; try { a.push(Ei[n](e, t - e.l)) } catch (i) { e.l = t; return a } } if (e.l != t) e.l = t; return a } function Si(e, r) { var t = { BIFFVer: 0, dt: 0 }; t.BIFFVer = e._R(2); r -= 2; if (r >= 2) { t.dt = e._R(2); e.l -= 2 } switch (t.BIFFVer) { case 1536: ; case 1280: ; case 1024: ; case 768: ; case 512: ; case 2: ; case 7: break; default: if (r > 6) throw new Error("Unexpected BIFF Ver " + t.BIFFVer); } e._R(r); return t } function Ai(e, r, t) { var a = 1536 , n = 16; switch (t.bookType) { case "biff8": break; case "biff5": a = 1280; n = 8; break; case "biff4": a = 4; n = 6; break; case "biff3": a = 3; n = 6; break; case "biff2": a = 2; n = 4; break; case "xla": break; default: throw new Error("unsupported BIFF version"); } var i = Gr(n); i._W(2, a); i._W(2, r); if (n > 4) i._W(2, 29282); if (n > 6) i._W(2, 1997); if (n > 8) { i._W(2, 49161); i._W(2, 1); i._W(2, 1798); i._W(2, 0) } return i } function _i(e, r) { if (r === 0) return 1200; if (e._R(2) !== 1200) {} return 1200 } function Bi(e, r, t) { if (t.enc) { e.l += r; return "" } var a = e.l; var n = $n(e, 0, t); e._R(r + a - e.l); return n } function Ti(e, r) { var t = !r || r.biff == 8; var a = Gr(t ? 112 : 54); a._W(r.biff == 8 ? 2 : 1, 7); if (t) a._W(1, 0); a._W(4, 859007059); a._W(4, 5458548 | (t ? 0 : 536870912)); while (a.l < a.length) a._W(1, t ? 0 : 32); return a } function yi(e, r, t) { var a = t && t.biff == 8 || r == 2 ? e._R(2) : (e.l += r, 0); return { fDialog: a & 16 } } function xi(e, r, t) { var a = e._R(4); var n = e._R(1) & 3; var i = e._R(1); switch (i) { case 0: i = "Worksheet"; break; case 1: i = "Macrosheet"; break; case 2: i = "Chartsheet"; break; case 6: i = "VBAModule"; break; } var s = Gn(e, 0, t); if (s.length === 0) s = "Sheet1"; return { pos: a, hs: n, dt: i, name: s } } function Ii(e, r) { var t = !r || r.biff >= 8 ? 2 : 1; var a = Gr(8 + t * e.name.length); a._W(4, e.pos); a._W(1, e.hs || 0); a._W(1, e.dt); a._W(1, e.name.length); if (r.biff >= 8) a._W(1, 1); a._W(t * e.name.length, e.name, r.biff < 8 ? "sbcs" : "utf16le"); var n = a.slice(0, a.l); n.l = a.l; return n } function Ri(e, r) { var t = e.l + r; var a = e._R(4); var n = e._R(4); var i = []; for (var s = 0; s != n && e.l < t; ++s) { i.push(jn(e)) } i.Count = a; i.Unique = n; return i } function Di(e, r) { var t = {}; t.dsst = e._R(2); e.l += r - 2; return t } function Oi(e) { var r = {}; r.r = e._R(2); r.c = e._R(2); r.cnt = e._R(2) - r.c; var t = e._R(2); e.l += 4; var a = e._R(1); e.l += 3; if (a & 7) r.level = a & 7; if (a & 32) r.hidden = true; if (a & 64) r.hpt = t / 20; return r } function Fi(e) { var r = oi(e); if (r.type != 2211) throw new Error("Invalid Future Record " + r.type); var t = e._R(4); return t !== 0 } function Pi(e) { e._R(2); return e._R(4) } function Ni(e, r, t) { var a = 0; if (!(t && t.biff == 2)) { a = e._R(2) } var n = e._R(2); if (t && t.biff == 2) { a = 1 - (n >> 15); n &= 32767 } var i = { Unsynced: a & 1, DyZero: (a & 2) >> 1, ExAsc: (a & 4) >> 2, ExDsc: (a & 8) >> 3 }; return [i, n] } function Li(e) { var r = e._R(2) , t = e._R(2) , a = e._R(2) , n = e._R(2); var i = e._R(2) , s = e._R(2) , f = e._R(2); var o = e._R(2) , l = e._R(2); return { Pos: [r, t], Dim: [a, n], Flags: i, CurTab: s, FirstTab: f, Selected: o, TabRatio: l } } function Mi() { var e = Gr(18); e._W(2, 0); e._W(2, 0); e._W(2, 29280); e._W(2, 17600); e._W(2, 56); e._W(2, 0); e._W(2, 0); e._W(2, 1); e._W(2, 500); return e } function Ui(e, r, t) { if (t && t.biff >= 2 && t.biff < 8) return {}; var a = e._R(2); return { RTL: a & 64 } } function Hi(e) { var r = Gr(18) , t = 1718; if (e && e.RTL) t |= 64; r._W(2, t); r._W(4, 0); r._W(4, 64); r._W(4, 0); r._W(4, 0); return r } function Wi(e, r, t) { var a = { dyHeight: e._R(2), fl: e._R(2) }; switch (t && t.biff || 8) { case 2: break; case 3: ; case 4: e.l += 2; break; default: e.l += 10; break; } a.name = Gn(e, 0, t); return a } function Vi(e, r) { var t = e.name || "Arial"; var a = r && r.biff == 5 , n = a ? 15 + t.length : 16 + 2 * t.length; var i = Gr(n); i._W(2, (e.sz || 12) * 20); i._W(4, 0); i._W(2, 400); i._W(4, 0); i._W(2, 0); i._W(1, t.length); if (!a) i._W(1, 1); i._W((a ? 1 : 2) * t.length, t, a ? "sbcs" : "utf16le"); return i } function zi(e) { var r = si(e); r.isst = e._R(4); return r } function Xi(e, r, t) { var a = e.l + r; var n = si(e, 6); if (t.biff == 2) e.l++; var i = Yn(e, a - e.l, t); n.val = i; return n } function Gi(e, r, t, a, n) { var i = !n || n.biff == 8; var s = Gr(6 + 2 + +i + (1 + i) * t.length); fi(e, r, a, s); s._W(2, t.length); if (i) s._W(1, 1); s._W((1 + i) * t.length, t, i ? "utf16le" : "sbcs"); return s } function ji(e, r, t) { var a = e._R(2); var n = $n(e, 0, t); return [a, n] } function Ki(e, r, t, a) { var n = t && t.biff == 5; if (!a) a = Gr(n ? 3 + r.length : 5 + 2 * r.length); a._W(2, e); a._W(n ? 1 : 2, r.length); if (!n) a._W(1, 1); a._W((n ? 1 : 2) * r.length, r, n ? "sbcs" : "utf16le"); var i = a.length > a.l ? a.slice(0, a.l) : a; if (i.l == null) i.l = i.length; return i } var Yi = $n; function $i(e, r, t) { var a = e.l + r; var n = t.biff == 8 || !t.biff ? 4 : 2; var i = e._R(n) , s = e._R(n); var f = e._R(2) , o = e._R(2); e.l = a; return { s: { r: i, c: f }, e: { r: s, c: o } } } function Zi(e, r) { var t = r.biff == 8 || !r.biff ? 4 : 2; var a = Gr(2 * t + 6); a._W(t, e.s.r); a._W(t, e.e.r + 1); a._W(2, e.s.c); a._W(2, e.e.c + 1); a._W(2, 0); return a } function Qi(e) { var r = e._R(2) , t = e._R(2); var a = hi(e); return { r: r, c: t, ixfe: a[0], rknum: a[1] } } function Ji(e, r) { var t = e.l + r - 2; var a = e._R(2) , n = e._R(2); var i = []; while (e.l < t) i.push(hi(e)); if (e.l !== t) throw new Error("MulRK read error"); var s = e._R(2); if (i.length != s - n + 1) throw new Error("MulRK length mismatch"); return { r: a, c: n, C: s, rkrec: i } } function qi(e, r) { var t = e.l + r - 2; var a = e._R(2) , n = e._R(2); var i = []; while (e.l < t) i.push(e._R(2)); if (e.l !== t) throw new Error("MulBlank read error"); var s = e._R(2); if (i.length != s - n + 1) throw new Error("MulBlank length mismatch"); return { r: a, c: n, C: s, ixfe: i } } function es(e, r, t, a) { var n = {}; var i = e._R(4) , s = e._R(4); var f = e._R(4) , o = e._R(2); n.patternType = Ca[f >> 26]; if (!a.cellStyles) return n; n.alc = i & 7; n.fWrap = i >> 3 & 1; n.alcV = i >> 4 & 7; n.fJustLast = i >> 7 & 1; n.trot = i >> 8 & 255; n.cIndent = i >> 16 & 15; n.fShrinkToFit = i >> 20 & 1; n.iReadOrder = i >> 22 & 2; n.fAtrNum = i >> 26 & 1; n.fAtrFnt = i >> 27 & 1; n.fAtrAlc = i >> 28 & 1; n.fAtrBdr = i >> 29 & 1; n.fAtrPat = i >> 30 & 1; n.fAtrProt = i >> 31 & 1; n.dgLeft = s & 15; n.dgRight = s >> 4 & 15; n.dgTop = s >> 8 & 15; n.dgBottom = s >> 12 & 15; n.icvLeft = s >> 16 & 127; n.icvRight = s >> 23 & 127; n.grbitDiag = s >> 30 & 3; n.icvTop = f & 127; n.icvBottom = f >> 7 & 127; n.icvDiag = f >> 14 & 127; n.dgDiag = f >> 21 & 15; n.icvFore = o & 127; n.icvBack = o >> 7 & 127; n.fsxButton = o >> 14 & 1; return n } function rs(e, r, t) { var a = {}; a.ifnt = e._R(2); a.numFmtId = e._R(2); a.flags = e._R(2); a.fStyle = a.flags >> 2 & 1; r -= 6; a.data = es(e, r, a.fStyle, t); return a } function ts(e, r, t, a) { var n = t && t.biff == 5; if (!a) a = Gr(n ? 16 : 20); a._W(2, 0); if (e.style) { a._W(2, e.numFmtId || 0); a._W(2, 65524) } else { a._W(2, e.numFmtId || 0); a._W(2, r << 4) } a._W(4, 0); a._W(4, 0); if (!n) a._W(4, 0); a._W(2, 0); return a } function as(e) { e.l += 4; var r = [e._R(2), e._R(2)]; if (r[0] !== 0) r[0]--; if (r[1] !== 0) r[1]--; if (r[0] > 7 || r[1] > 7) throw new Error("Bad Gutters: " + r.join("|")); return r } function ns(e) { var r = Gr(8); r._W(4, 0); r._W(2, e[0] ? e[0] + 1 : 0); r._W(2, e[1] ? e[1] + 1 : 0); return r } function is(e, r, t) { var a = si(e, 6); if (t.biff == 2) ++e.l; var n = zn(e, 2); a.val = n; a.t = n === true || n === false ? "b" : "e"; return a } function ss(e, r, t, a, n, i) { var s = Gr(8); fi(e, r, a, s); Xn(t, i, s); return s } function fs(e) { var r = si(e, 6); var t = Xt(e, 8); r.val = t; return r } function os(e, r, t, a) { var n = Gr(14); fi(e, r, a, n); Gt(t, n); return n } var ls = li; function cs(e, r, t) { var a = e.l + r; var n = e._R(2); var i = e._R(2); t.sbcch = i; if (i == 1025 || i == 14849) return [i, n]; if (i < 1 || i > 255) throw new Error("Unexpected SupBook type: " + i); var s = Kn(e, i); var f = []; while (a > e.l) f.push(Yn(e)); return [i, n, s, f] } function hs(e, r, t) { var a = e._R(2); var n; var i = { fBuiltIn: a & 1, fWantAdvise: a >>> 1 & 1, fWantPict: a >>> 2 & 1, fOle: a >>> 3 & 1, fOleLink: a >>> 4 & 1, cf: a >>> 5 & 1023, fIcon: a >>> 15 & 1 }; if (t.sbcch === 14849) n = ui(e, r - 2, t); i.body = n || e._R(r - 2); if (typeof n === "string") i.Name = n; return i } var us = ["_xlnm.Consolidate_Area", "_xlnm.Auto_Open", "_xlnm.Auto_Close", "_xlnm.Extract", "_xlnm.Database", "_xlnm.Criteria", "_xlnm.Print_Area", "_xlnm.Print_Titles", "_xlnm.Recorder", "_xlnm.Data_Form", "_xlnm.Auto_Activate", "_xlnm.Auto_Deactivate", "_xlnm.Sheet_Title", "_xlnm._FilterDatabase"]; function ds(e, r, t) { var a = e.l + r; var n = e._R(2); var i = e._R(1); var s = e._R(1); var f = e._R(t && t.biff == 2 ? 1 : 2); var o = 0; if (!t || t.biff >= 5) { if (t.biff != 5) e.l += 2; o = e._R(2); if (t.biff == 5) e.l += 2; e.l += 4 } var l = Kn(e, s, t); if (n & 32) l = us[l.charCodeAt(0)]; var c = a - e.l; if (t && t.biff == 2) --c; var h = a == e.l || f === 0 ? [] : yh(e, c, t, f); return { chKey: i, Name: l, itab: o, rgce: h } } function ps(e, r, t) { if (t.biff < 8) return vs(e, r, t); var a = [] , n = e.l + r , i = e._R(t.biff > 8 ? 4 : 2); while (i-- !== 0) a.push(ci(e, t.biff > 8 ? 12 : 6, t)); if (e.l != n) throw new Error("Bad ExternSheet: " + e.l + " != " + n); return a } function vs(e, r, t) { if (e[e.l + 1] == 3) e[e.l]++; var a = Gn(e, r, t); return a.charCodeAt(0) == 3 ? a.slice(1) : a } function gs(e, r, t) { if (t.biff < 8) { e.l += r; return } var a = e._R(2); var n = e._R(2); var i = Kn(e, a, t); var s = Kn(e, n, t); return [i, s] } function ms(e, r, t) { var a = vi(e, 6); e.l++; var n = e._R(1); r -= 8; return [xh(e, r, t), n, a] } function bs(e, r, t) { var a = gi(e, 6); switch (t.biff) { case 2: e.l++; r -= 7; break; case 3: ; case 4: e.l += 2; r -= 8; break; default: e.l += 6; r -= 12; } return [a, Bh(e, r, t, a)] } function ws(e) { var r = e._R(4) !== 0; var t = e._R(4) !== 0; var a = e._R(4); return [r, t, a] } function Cs(e, r, t) { if (t.biff < 8) return; var a = e._R(2) , n = e._R(2); var i = e._R(2) , s = e._R(2); var f = $n(e, 0, t); if (t.biff < 8) e._R(1); return [{ r: a, c: n }, f, s, i] } function Es(e, r, t) { return Cs(e, r, t) } function ks(e, r) { var t = []; var a = e._R(2); while (a--) t.push(di(e, r)); return t } function Ss(e) { var r = Gr(2 + e.length * 8); r._W(2, e.length); for (var t = 0; t < e.length; ++t) pi(e[t], r); return r } function As(e, r, t) { if (t && t.biff < 8) return Bs(e, r, t); var a = mi(e, 22); var n = ki(e, r - 22, a[1]); return { cmo: a, ft: n } } var _s = []; _s[8] = function(e, r) { var t = e.l + r; e.l += 10; var a = e._R(2); e.l += 4; e.l += 2; e.l += 2; e.l += 2; e.l += 4; var n = e._R(1); e.l += n; e.l = t; return { fmt: a } } ; function Bs(e, r, t) { e.l += 4; var a = e._R(2); var n = e._R(2); var i = e._R(2); e.l += 2; e.l += 2; e.l += 2; e.l += 2; e.l += 2; e.l += 2; e.l += 2; e.l += 2; e.l += 2; e.l += 6; r -= 36; var s = []; s.push((_s[a] || Xr)(e, r, t)); return { cmo: [n, a, i], ft: s } } function Ts(e, r, t) { var a = e.l; var n = ""; try { e.l += 4; var i = (t.lastobj || { cmo: [0, 0] }).cmo[1]; var s; if ([0, 5, 7, 11, 12, 14].indexOf(i) == -1) e.l += 6; else s = Qn(e, 6, t); var f = e._R(2); e._R(2); Hn(e, 2); var o = e._R(2); e.l += o; for (var l = 1; l < e.lens.length - 1; ++l) { if (e.l - a != e.lens[l]) throw new Error("TxO: bad continue record"); var c = e[e.l]; var h = Kn(e, e.lens[l + 1] - e.lens[l] - 1); n += h; if (n.length >= (c ? f : 2 * f)) break } if (n.length !== f && n.length !== f * 2) { throw new Error("cchText: " + f + " != " + n.length) } e.l = a + r; return { t: n } } catch (u) { e.l = a + r; return { t: n } } } function ys(e, r) { var t = di(e, 8); e.l += 16; var a = ti(e, r - 24); return [t, a] } function xs(e) { var r = Gr(24); var t = ct(e[0]); r._W(2, t.r); r._W(2, t.r); r._W(2, t.c); r._W(2, t.c); var a = "d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "); for (var n = 0; n < 16; ++n) r._W(1, parseInt(a[n], 16)); return x([r, ai(e[1])]) } function Is(e, r) { e._R(2); var t = di(e, 8); var a = e._R((r - 10) / 2, "dbcs-cont"); a = a.replace(I, ""); return [t, a] } function Rs(e) { var r = e[1].Tooltip; var t = Gr(10 + 2 * (r.length + 1)); t._W(2, 2048); var a = ct(e[0]); t._W(2, a.r); t._W(2, a.r); t._W(2, a.c); t._W(2, a.c); for (var n = 0; n < r.length; ++n) t._W(2, r.charCodeAt(n)); t._W(2, 0); return t } function Ds(e) { var r = [0, 0], t; t = e._R(2); r[0] = wa[t] || t; t = e._R(2); r[1] = wa[t] || t; return r } function Os(e) { if (!e) e = Gr(4); e._W(2, 1); e._W(2, 1); return e } function Fs(e) { var r = e._R(2); var t = []; while (r-- > 0) t.push(ii(e, 8)); return t } function Ps(e) { var r = e._R(2); var t = []; while (r-- > 0) t.push(ii(e, 8)); return t } function Ns(e) { e.l += 2; var r = { cxfs: 0, crc: 0 }; r.cxfs = e._R(2); r.crc = e._R(4); return r } function Ls(e, r, t) { if (!t.cellStyles) return Xr(e, r); var a = t && t.biff >= 12 ? 4 : 2; var n = e._R(a); var i = e._R(a); var s = e._R(a); var f = e._R(a); var o = e._R(2); if (a == 2) e.l += 2; return { s: n, e: i, w: s, ixfe: f, flags: o } } function Ms(e, r) { var t = {}; if (r < 32) return t; e.l += 16; t.header = Xt(e, 8); t.footer = Xt(e, 8); e.l += 2; return t } function Us(e, r, t) { var a = { area: false }; if (t.biff != 5) { e.l += r; return a } var n = e._R(1); e.l += 3; if (n & 16) a.area = true; return a } function Hs(e) { var r = Gr(2 * e); for (var t = 0; t < e; ++t) r._W(2, t + 1); return r } var Ws = si; var Vs = Vn; var zs = Yn; function Xs(e) { var r = e._R(2); var t = e._R(2); var a = e._R(4); var n = { fmt: r, env: t, len: a, data: e.slice(e.l, e.l + a) }; e.l += a; return n } function Gs(e, r, t) { var a = si(e, 6); ++e.l; var n = $n(e, r - 7, t); a.t = "str"; a.val = n; return a } function js(e) { var r = si(e, 6); ++e.l; var t = Xt(e, 8); r.t = "n"; r.val = t; return r } function Ks(e, r, t) { var a = Gr(15); gv(a, e, r); a._W(8, t, "f"); return a } function Ys(e) { var r = si(e, 6); ++e.l; var t = e._R(2); r.t = "n"; r.val = t; return r } function $s(e, r, t) { var a = Gr(9); gv(a, e, r); a._W(2, t); return a } function Zs(e) { var r = e._R(1); if (r === 0) { e.l++; return "" } return e._R(r, "sbcs-cont") } function Qs(e, r) { e.l += 6; e.l += 2; e.l += 1; e.l += 3; e.l += 1; e.l += r - 13 } function Js(e, r, t) { var a = e.l + r; var n = si(e, 6); var i = e._R(2); var s = Kn(e, i, t); e.l = a; n.t = "str"; n.val = s; return n } var qs = function() { var e = { 1: 437, 2: 850, 3: 1252, 4: 1e4, 100: 852, 101: 866, 102: 865, 103: 861, 104: 895, 105: 620, 106: 737, 107: 857, 120: 950, 121: 949, 122: 936, 123: 932, 124: 874, 125: 1255, 126: 1256, 150: 10007, 151: 10029, 152: 10006, 200: 1250, 201: 1251, 202: 1254, 203: 1253, 0: 20127, 8: 865, 9: 437, 10: 850, 11: 437, 13: 437, 14: 850, 15: 437, 16: 850, 17: 437, 18: 850, 19: 932, 20: 850, 21: 437, 22: 850, 23: 865, 24: 437, 25: 437, 26: 850, 27: 437, 28: 863, 29: 850, 31: 852, 34: 852, 35: 852, 36: 860, 37: 850, 38: 866, 55: 850, 64: 852, 77: 936, 78: 949, 79: 950, 80: 874, 87: 1252, 88: 1252, 89: 1252, 255: 16969 }; function r(r, t) { var a = []; var n = k(1); switch (t.type) { case "base64": n = A(m.decode(r)); break; case "binary": n = A(r); break; case "buffer": ; case "array": n = r; break; } zr(n, 0); var i = n._R(1); var s = false; var f = false , o = false; switch (i) { case 2: ; case 3: break; case 48: f = true; s = true; break; case 49: f = true; break; case 131: s = true; break; case 139: s = true; break; case 140: s = true; o = true; break; case 245: s = true; break; default: throw new Error("DBF Unsupported Version: " + i.toString(16)); } var l = 0 , c = 0; if (i == 2) l = n._R(2); n.l += 3; if (i != 2) l = n._R(4); if (i != 2) c = n._R(2); var h = n._R(2); var u = 1252; if (i != 2) { n.l += 16; n._R(1); if (n[n.l] !== 0) u = e[n[n.l]]; n.l += 1; n.l += 2 } if (o) n.l += 36; var d = [] , p = {}; var v = c - 10 - (f ? 264 : 0) , g = o ? 32 : 11; while (i == 2 ? n.l < n.length && n[n.l] != 13 : n.l < v) { p = {}; p.name = cptable.utils.decode(u, n.slice(n.l, n.l + g)).replace(/[\u0000\r\n].*$/g, ""); n.l += g; p.type = String.fromCharCode(n._R(1)); if (i != 2 && !o) p.offset = n._R(4); p.len = n._R(1); if (i == 2) p.offset = n._R(2); p.dec = n._R(1); if (p.name.length) d.push(p); if (i != 2) n.l += o ? 13 : 14; switch (p.type) { case "B": if ((!f || p.len != 8) && t.WTF) console.log("Skipping " + p.name + ":" + p.type); break; case "G": ; case "P": if (t.WTF) console.log("Skipping " + p.name + ":" + p.type); break; case "C": ; case "D": ; case "F": ; case "I": ; case "L": ; case "M": ; case "N": ; case "O": ; case "T": ; case "Y": ; case "0": ; case "@": ; case "+": break; default: throw new Error("Unknown Field Type: " + p.type); } } if (n[n.l] !== 13) n.l = c - 1; else if (i == 2) n.l = 521; if (i != 2) { if (n._R(1) !== 13) throw new Error("DBF Terminator not found " + n.l + " " + n[n.l]); n.l = c } var b = 0 , w = 0; a[0] = []; for (w = 0; w != d.length; ++w) a[0][w] = d[w].name; while (l-- > 0) { if (n[n.l] === 42) { n.l += h; continue } ++n.l; a[++b] = []; w = 0; for (w = 0; w != d.length; ++w) { var C = n.slice(n.l, n.l + d[w].len); n.l += d[w].len; zr(C, 0); var E = cptable.utils.decode(u, C); switch (d[w].type) { case "C": a[b][w] = cptable.utils.decode(u, C); a[b][w] = a[b][w].trim(); break; case "D": if (E.length === 8) a[b][w] = new Date(+E.slice(0, 4),+E.slice(4, 6) - 1,+E.slice(6, 8)); else a[b][w] = E; break; case "F": a[b][w] = parseFloat(E.trim()); break; case "+": ; case "I": a[b][w] = o ? C._R(-4, "i") ^ 2147483648 : C._R(4, "i"); break; case "L": switch (E.toUpperCase()) { case "Y": ; case "T": a[b][w] = true; break; case "N": ; case "F": a[b][w] = false; break; case " ": ; case "?": a[b][w] = false; break; default: throw new Error("DBF Unrecognized L:|" + E + "|"); } break; case "M": if (!s) throw new Error("DBF Unexpected MEMO for type " + i.toString(16)); a[b][w] = "##MEMO##" + (o ? parseInt(E.trim(), 10) : C._R(4)); break; case "N": a[b][w] = +E.replace(/\u0000/g, "").trim(); break; case "@": a[b][w] = new Date(C._R(-8, "f") - 621356832e5); break; case "T": a[b][w] = new Date((C._R(4) - 2440588) * 864e5 + C._R(4)); break; case "Y": a[b][w] = C._R(4, "i") / 1e4; break; case "O": a[b][w] = -C._R(-8, "f"); break; case "B": if (f && d[w].len == 8) { a[b][w] = C._R(8, "f"); break } ; case "G": ; case "P": C.l += d[w].len; break; case "0": if (d[w].name === "_NullFlags") break; default: throw new Error("DBF Unsupported data type " + d[w].type); } } } if (i != 2) if (n.l < n.length && n[n.l++] != 26) throw new Error("DBF EOF Marker missing " + (n.l - 1) + " of " + n.length + " " + n[n.l - 1].toString(16)); if (t && t.sheetRows) a = a.slice(0, t.sheetRows); return a } function t(e, t) { var a = t || {}; if (!a.dateNF) a.dateNF = "yyyymmdd"; return wt(r(e, a), a) } function a(e, r) { try { return mt(t(e, r), r) } catch (a) { if (r && r.WTF) throw a } return { SheetNames: [], Sheets: {} } } var n = { B: 8, C: 250, L: 1, D: 8, "?": 0, "": 0 }; function i(e, r) { var t = r || {}; if (t.type == "string") throw new Error("Cannot write DBF to JS string"); var a = Kr(); var i = Rg(e, { header: 1, cellDates: true }); var s = i[0] , f = i.slice(1); var o = 0 , l = 0 , c = 0 , h = 1; for (o = 0; o < s.length; ++o) { if (o == null) continue; ++c; if (typeof s[o] === "number") s[o] = s[o].toString(10); if (typeof s[o] !== "string") throw new Error("DBF Invalid column name " + s[o] + " |" + typeof s[o] + "|"); if (s.indexOf(s[o]) !== o) for (l = 0; l < 1024; ++l) if (s.indexOf(s[o] + "_" + l) == -1) { s[o] += "_" + l; break } } var u = pt(e["!ref"]); var d = []; for (o = 0; o <= u.e.c - u.s.c; ++o) { var p = []; for (l = 0; l < f.length; ++l) { if (f[l][o] != null) p.push(f[l][o]) } if (p.length == 0 || s[o] == null) { d[o] = "?"; continue } var v = "" , g = ""; for (l = 0; l < p.length; ++l) { switch (typeof p[l]) { case "number": g = "B"; break; case "string": g = "C"; break; case "boolean": g = "L"; break; case "object": g = p[l]instanceof Date ? "D" : "C"; break; default: g = "C"; } v = v && v != g ? "C" : g; if (v == "C") break } h += n[v] || 0; d[o] = v } var m = a.next(32); m._W(4, 318902576); m._W(4, f.length); m._W(2, 296 + 32 * c); m._W(2, h); for (o = 0; o < 4; ++o) m._W(4, 0); m._W(4, 768); for (o = 0, l = 0; o < s.length; ++o) { if (s[o] == null) continue; var b = a.next(32); var w = (s[o].slice(-10) + "\0\0\0\0\0\0\0\0\0\0\0").slice(0, 11); b._W(1, w, "sbcs"); b._W(1, d[o] == "?" ? "C" : d[o], "sbcs"); b._W(4, l); b._W(1, n[d[o]] || 0); b._W(1, 0); b._W(1, 2); b._W(4, 0); b._W(1, 0); b._W(4, 0); b._W(4, 0); l += n[d[o]] || 0 } var C = a.next(264); C._W(4, 13); for (o = 0; o < 65; ++o) C._W(4, 0); for (o = 0; o < f.length; ++o) { var E = a.next(h); E._W(1, 0); for (l = 0; l < s.length; ++l) { if (s[l] == null) continue; switch (d[l]) { case "L": E._W(1, f[o][l] == null ? 63 : f[o][l] ? 84 : 70); break; case "B": E._W(8, f[o][l] || 0, "f"); break; case "D": if (!f[o][l]) E._W(8, "00000000", "sbcs"); else { E._W(4, ("0000" + f[o][l].getFullYear()).slice(-4), "sbcs"); E._W(2, ("00" + (f[o][l].getMonth() + 1)).slice(-2), "sbcs"); E._W(2, ("00" + f[o][l].getDate()).slice(-2), "sbcs") } break; case "C": var k = String(f[o][l] || ""); E._W(1, k, "sbcs"); for (c = 0; c < 250 - k.length; ++c) E._W(1, 32); break; } } } a.next(1)._W(1, 26); return a.end() } return { to_workbook: a, to_sheet: t, from_sheet: i } }(); var ef = function() { function e(e, t) { switch (t.type) { case "base64": return r(m.decode(e), t); case "binary": return r(e, t); case "buffer": return r(e.toString("binary"), t); case "array": return r(se(e), t); } throw new Error("Unrecognized type " + t.type) } function r(e, r) { var t = e.split(/[\n\r]+/) , a = -1 , n = -1 , i = 0 , s = 0 , f = []; var o = []; var l = null; var c = {} , h = [] , u = [] , d = []; var p = 0, v; for (; i !== t.length; ++i) { p = 0; var g = t[i].trim(); var m = g.replace(/;;/g, "").split(";").map(function(e) { return e.replace(/\u0001/g, ";") }); var b = m[0], w; if (g.length > 0) switch (b) { case "ID": break; case "E": break; case "B": break; case "O": break; case "P": if (m[1].charAt(0) == "P") o.push(g.slice(3).replace(/;;/g, ";")); break; case "C": var C = false , E = false; for (s = 1; s < m.length; ++s) switch (m[s].charAt(0)) { case "X": n = parseInt(m[s].slice(1)) - 1; E = true; break; case "Y": a = parseInt(m[s].slice(1)) - 1; if (!E) n = 0; for (v = f.length; v <= a; ++v) f[v] = []; break; case "K": w = m[s].slice(1); if (w.charAt(0) === '"') w = w.slice(1, w.length - 1); else if (w === "TRUE") w = true; else if (w === "FALSE") w = false; else if (!isNaN(le(w))) { w = le(w); if (l !== null && D.is_date(l)) w = re(w) } else if (!isNaN(ce(w).getDate())) { w = ie(w) } if (typeof cptable !== "undefined" && typeof w == "string" && (r || {}).type != "string" && (r || {}).codepage) w = cptable.utils.decode(r.codepage, w); C = true; break; case "E": var k = Xl(m[s].slice(1), { r: a, c: n }); f[a][n] = [f[a][n], k]; break; default: if (r && r.WTF) throw new Error("SYLK bad record " + g); } if (C) { f[a][n] = w; l = null } break; case "F": var S = 0; for (s = 1; s < m.length; ++s) switch (m[s].charAt(0)) { case "X": n = parseInt(m[s].slice(1)) - 1; ++S; break; case "Y": a = parseInt(m[s].slice(1)) - 1; for (v = f.length; v <= a; ++v) f[v] = []; break; case "M": p = parseInt(m[s].slice(1)) / 20; break; case "F": break; case "G": break; case "P": l = o[parseInt(m[s].slice(1))]; break; case "S": break; case "D": break; case "N": break; case "W": d = m[s].slice(1).split(" "); for (v = parseInt(d[0], 10); v <= parseInt(d[1], 10); ++v) { p = parseInt(d[2], 10); u[v - 1] = p === 0 ? { hidden: true } : { wch: p }; fo(u[v - 1]) } break; case "C": n = parseInt(m[s].slice(1)) - 1; if (!u[n]) u[n] = {}; break; case "R": a = parseInt(m[s].slice(1)) - 1; if (!h[a]) h[a] = {}; if (p > 0) { h[a].hpt = p; h[a].hpx = ho(p) } else if (p === 0) h[a].hidden = true; break; default: if (r && r.WTF) throw new Error("SYLK bad record " + g); } if (S < 1) l = null; break; default: if (r && r.WTF) throw new Error("SYLK bad record " + g); } } if (h.length > 0) c["!rows"] = h; if (u.length > 0) c["!cols"] = u; if (r && r.sheetRows) f = f.slice(0, r.sheetRows); return [f, c] } function t(r, t) { var a = e(r, t); var n = a[0] , i = a[1]; var s = wt(n, t); j(i).forEach(function(e) { s[e] = i[e] }); return s } function a(e, r) { return mt(t(e, r), r) } function n(e, r, t, a) { var n = "C;Y" + (t + 1) + ";X" + (a + 1) + ";K"; switch (e.t) { case "n": n += e.v || 0; if (e.f && !e.F) n += ";E" + jl(e.f, { r: t, c: a }); break; case "b": n += e.v ? "TRUE" : "FALSE"; break; case "e": n += e.w || e.v; break; case "d": n += '"' + (e.w || e.v) + '"'; break; case "s": n += '"' + e.v.replace(/"/g, "") + '"'; break; } return n } function i(e, r) { r.forEach(function(r, t) { var a = "F;W" + (t + 1) + " " + (t + 1) + " "; if (r.hidden) a += "0"; else { if (typeof r.width == "number") r.wpx = to(r.width); if (typeof r.wpx == "number") r.wch = ao(r.wpx); if (typeof r.wch == "number") a += Math.round(r.wch) } if (a.charAt(a.length - 1) != " ") e.push(a) }) } function s(e, r) { r.forEach(function(r, t) { var a = "F;"; if (r.hidden) a += "M0;"; else if (r.hpt) a += "M" + 20 * r.hpt + ";"; else if (r.hpx) a += "M" + 20 * co(r.hpx) + ";"; if (a.length > 2) e.push(a + "R" + (t + 1)) }) } function f(e, r) { var t = ["ID;PWXL;N;E"] , a = []; var f = pt(e["!ref"]), o; var l = Array.isArray(e); var c = "\r\n"; t.push("P;PGeneral"); t.push("F;P0;DG0G8;M255"); if (e["!cols"]) i(t, e["!cols"]); if (e["!rows"]) s(t, e["!rows"]); t.push("B;Y" + (f.e.r - f.s.r + 1) + ";X" + (f.e.c - f.s.c + 1) + ";D" + [f.s.c, f.s.r, f.e.c, f.e.r].join(" ")); for (var h = f.s.r; h <= f.e.r; ++h) { for (var u = f.s.c; u <= f.e.c; ++u) { var d = ht({ r: h, c: u }); o = l ? (e[h] || [])[u] : e[d]; if (!o || o.v == null && (!o.f || o.F)) continue; a.push(n(o, e, h, u, r)) } } return t.join(c) + c + a.join(c) + c + "E" + c } return { to_workbook: a, to_sheet: t, from_sheet: f } }(); var rf = function() { function e(e, t) { switch (t.type) { case "base64": return r(m.decode(e), t); case "binary": return r(e, t); case "buffer": return r(e.toString("binary"), t); case "array": return r(se(e), t); } throw new Error("Unrecognized type " + t.type) } function r(e, r) { var t = e.split("\n") , a = -1 , n = -1 , i = 0 , s = []; for (; i !== t.length; ++i) { if (t[i].trim() === "BOT") { s[++a] = []; n = 0; continue } if (a < 0) continue; var f = t[i].trim().split(","); var o = f[0] , l = f[1]; ++i; var c = t[i].trim(); switch (+o) { case -1: if (c === "BOT") { s[++a] = []; n = 0; continue } else if (c !== "EOD") throw new Error("Unrecognized DIF special command " + c); break; case 0: if (c === "TRUE") s[a][n] = true; else if (c === "FALSE") s[a][n] = false; else if (!isNaN(le(l))) s[a][n] = le(l); else if (!isNaN(ce(l).getDate())) s[a][n] = ie(l); else s[a][n] = l; ++n; break; case 1: c = c.slice(1, c.length - 1); s[a][n++] = c !== "" ? c : null; break; } if (c === "EOD") break } if (r && r.sheetRows) s = s.slice(0, r.sheetRows); return s } function t(r, t) { return wt(e(r, t), t) } function a(e, r) { return mt(t(e, r), r) } var n = function() { var e = function t(e, r, a, n, i) { e.push(r); e.push(a + "," + n); e.push('"' + i.replace(/"/g, '""') + '"') }; var r = function a(e, r, t, n) { e.push(r + "," + t); e.push(r == 1 ? '"' + n.replace(/"/g, '""') + '"' : n) }; return function n(t) { var a = []; var n = pt(t["!ref"]), i; var s = Array.isArray(t); e(a, "TABLE", 0, 1, "sheetjs"); e(a, "VECTORS", 0, n.e.r - n.s.r + 1, ""); e(a, "TUPLES", 0, n.e.c - n.s.c + 1, ""); e(a, "DATA", 0, 0, ""); for (var f = n.s.r; f <= n.e.r; ++f) { r(a, -1, 0, "BOT"); for (var o = n.s.c; o <= n.e.c; ++o) { var l = ht({ r: f, c: o }); i = s ? (t[f] || [])[o] : t[l]; if (!i) { r(a, 1, 0, ""); continue } switch (i.t) { case "n": var c = g ? i.w : i.v; if (!c && i.v != null) c = i.v; if (c == null) { if (g && i.f && !i.F) r(a, 1, 0, "=" + i.f); else r(a, 1, 0, "") } else r(a, 0, c, "V"); break; case "b": r(a, 0, i.v ? 1 : 0, i.v ? "TRUE" : "FALSE"); break; case "s": r(a, 1, 0, !g || isNaN(i.v) ? i.v : '="' + i.v + '"'); break; case "d": if (!i.w) i.w = D.format(i.z || D._table[14], ee(ie(i.v))); if (g) r(a, 0, i.w, "V"); else r(a, 1, 0, i.w); break; default: r(a, 1, 0, ""); } } } r(a, -1, 0, "EOD"); var h = "\r\n"; var u = a.join(h); return u } }(); return { to_workbook: a, to_sheet: t, from_sheet: n } }(); var tf = function() { function e(e) { return e.replace(/\\b/g, "\\").replace(/\\c/g, ":").replace(/\\n/g, "\n") } function r(e) { return e.replace(/\\/g, "\\b").replace(/:/g, "\\c").replace(/\n/g, "\\n") } function t(r, t) { var a = r.split("\n") , n = -1 , i = -1 , s = 0 , f = []; for (; s !== a.length; ++s) { var o = a[s].trim().split(":"); if (o[0] !== "cell") continue; var l = ct(o[1]); if (f.length <= l.r) for (n = f.length; n <= l.r; ++n) if (!f[n]) f[n] = []; n = l.r; i = l.c; switch (o[2]) { case "t": f[n][i] = e(o[3]); break; case "v": f[n][i] = +o[3]; break; case "vtf": var c = o[o.length - 1]; case "vtc": switch (o[3]) { case "nl": f[n][i] = +o[4] ? true : false; break; default: f[n][i] = +o[4]; break; } if (o[2] == "vtf") f[n][i] = [f[n][i], c]; } } if (t && t.sheetRows) f = f.slice(0, t.sheetRows); return f } function a(e, r) { return wt(t(e, r), r) } function n(e, r) { return mt(a(e, r), r) } var i = ["socialcalc:version:1.5", "MIME-Version: 1.0", "Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"); var s = ["--SocialCalcSpreadsheetControlSave", "Content-type: text/plain; charset=UTF-8"].join("\n") + "\n"; var f = ["# SocialCalc Spreadsheet Control Save", "part:sheet"].join("\n"); var o = "--SocialCalcSpreadsheetControlSave--"; function l(e) { if (!e || !e["!ref"]) return ""; var t = [], a = [], n, i = ""; var s = ut(e["!ref"]); var f = Array.isArray(e); for (var o = s.s.r; o <= s.e.r; ++o) { for (var l = s.s.c; l <= s.e.c; ++l) { i = ht({ r: o, c: l }); n = f ? (e[o] || [])[l] : e[i]; if (!n || n.v == null || n.t === "z") continue; a = ["cell", i, "t"]; switch (n.t) { case "s": ; case "str": a.push(r(n.v)); break; case "n": if (!n.f) { a[2] = "v"; a[3] = n.v } else { a[2] = "vtf"; a[3] = "n"; a[4] = n.v; a[5] = r(n.f) } break; case "b": a[2] = "vt" + (n.f ? "f" : "c"); a[3] = "nl"; a[4] = n.v ? "1" : "0"; a[5] = r(n.f || (n.v ? "TRUE" : "FALSE")); break; case "d": var c = ee(ie(n.v)); a[2] = "vtc"; a[3] = "nd"; a[4] = "" + c; a[5] = n.w || D.format(n.z || D._table[14], c); break; case "e": continue; } t.push(a.join(":")) } } t.push("sheet:c:" + (s.e.c - s.s.c + 1) + ":r:" + (s.e.r - s.s.r + 1) + ":tvf:1"); t.push("valueformat:1:text-wiki"); return t.join("\n") } function c(e) { return [i, s, f, s, l(e), o].join("\n") } return { to_workbook: n, to_sheet: a, from_sheet: c } }(); var af = function() { function e(e, r, t, a, n) { if (n.raw) r[t][a] = e; else if (e === "TRUE") r[t][a] = true; else if (e === "FALSE") r[t][a] = false; else if (e === "") {} else if (!isNaN(le(e))) r[t][a] = le(e); else if (!isNaN(ce(e).getDate())) r[t][a] = ie(e); else r[t][a] = e } function r(r, t) { var a = t || {}; var n = []; if (!r || r.length === 0) return n; var i = r.split(/[\r\n]/); var s = i.length - 1; while (s >= 0 && i[s].length === 0) --s; var f = 10 , o = 0; var l = 0; for (; l <= s; ++l) { o = i[l].indexOf(" "); if (o == -1) o = i[l].length; else o++; f = Math.max(f, o) } for (l = 0; l <= s; ++l) { n[l] = []; var c = 0; e(i[l].slice(0, f).trim(), n, l, c, a); for (c = 1; c <= (i[l].length - f) / 10 + 1; ++c) e(i[l].slice(f + (c - 1) * 10, f + c * 10).trim(), n, l, c, a) } if (a.sheetRows) n = n.slice(0, a.sheetRows); return n } var t = { 44: ",", 9: "\t", 59: ";" }; var a = { 44: 3, 9: 2, 59: 1 }; function n(e) { var r = {} , n = false , i = 0 , s = 0; for (; i < e.length; ++i) { if ((s = e.charCodeAt(i)) == 34) n = !n; else if (!n && s in t) r[s] = (r[s] || 0) + 1 } s = []; for (i in r) if (r.hasOwnProperty(i)) { s.push([r[i], i]) } if (!s.length) { r = a; for (i in r) if (r.hasOwnProperty(i)) { s.push([r[i], i]) } } s.sort(function(e, r) { return e[0] - r[0] || a[e[1]] - a[r[1]] }); return t[s.pop()[1]] } function i(e, r) { var t = r || {}; var a = ""; if (v != null && t.dense == null) t.dense = v; var i = t.dense ? [] : {}; var s = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } }; if (e.slice(0, 4) == "sep=" && e.charCodeAt(5) == 10) { a = e.charAt(4); e = e.slice(6) } else a = n(e.slice(0, 1024)); var f = 0 , o = 0 , l = 0; var c = 0 , h = 0 , u = a.charCodeAt(0) , d = false , p = 0; e = e.replace(/\r\n/gm, "\n"); var g = t.dateNF != null ? L(t.dateNF) : null; function m() { var r = e.slice(c, h); var a = {}; if (r.charAt(0) == '"' && r.charAt(r.length - 1) == '"') r = r.slice(1, -1).replace(/""/g, '"'); if (r.length === 0) a.t = "z"; else if (t.raw) { a.t = "s"; a.v = r } else if (r.trim().length === 0) { a.t = "s"; a.v = r } else if (r.charCodeAt(0) == 61) { if (r.charCodeAt(1) == 34 && r.charCodeAt(r.length - 1) == 34) { a.t = "s"; a.v = r.slice(2, -1).replace(/""/g, '"') } else if ($l(r)) { a.t = "n"; a.f = r.slice(1) } else { a.t = "s"; a.v = r } } else if (r == "TRUE") { a.t = "b"; a.v = true } else if (r == "FALSE") { a.t = "b"; a.v = false } else if (!isNaN(l = le(r))) { a.t = "n"; if (t.cellText !== false) a.w = r; a.v = l } else if (!isNaN(ce(r).getDate()) || g && r.match(g)) { a.z = t.dateNF || D._table[14]; var n = 0; if (g && r.match(g)) { r = M(r, t.dateNF, r.match(g) || []); n = 1 } if (t.cellDates) { a.t = "d"; a.v = ie(r, n) } else { a.t = "n"; a.v = ee(ie(r, n)) } if (t.cellText !== false) a.w = D.format(a.z, a.v instanceof Date ? ee(a.v) : a.v); if (!t.cellNF) delete a.z } else { a.t = "s"; a.v = r } if (a.t == "z") {} else if (t.dense) { if (!i[f]) i[f] = []; i[f][o] = a } else i[ht({ c: o, r: f })] = a; c = h + 1; if (s.e.c < o) s.e.c = o; if (s.e.r < f) s.e.r = f; if (p == u) ++o; else { o = 0; ++f; if (t.sheetRows && t.sheetRows <= f) return true } } e: for (; h < e.length; ++h) switch (p = e.charCodeAt(h)) { case 34: d = !d; break; case u: ; case 10: ; case 13: if (!d && m()) break e; break; default: break; } if (h - c > 0) m(); i["!ref"] = dt(s); return i } function s(e, t) { if (e.slice(0, 4) == "sep=") return i(e, t); if (e.indexOf("\t") >= 0 || e.indexOf(",") >= 0 || e.indexOf(";") >= 0) return i(e, t); return wt(r(e, t), t) } function f(e, r) { var t = "" , a = r.type == "string" ? [0, 0, 0, 0] : cg(e, r); switch (r.type) { case "base64": t = m.decode(e); break; case "binary": t = e; break; case "buffer": if (r.codepage == 65001) t = e.toString("utf8"); else if (r.codepage && typeof cptable !== "undefined") t = cptable.utils.decode(r.codepage, e); else t = e.toString("binary"); break; case "array": t = se(e); break; case "string": t = e; break; default: throw new Error("Unrecognized type " + r.type); } if (a[0] == 239 && a[1] == 187 && a[2] == 191) t = ze(t.slice(3)); else if (r.type == "binary" && typeof cptable !== "undefined" && r.codepage) t = cptable.utils.decode(r.codepage, cptable.utils.encode(1252, t)); if (t.slice(0, 19) == "socialcalc:version:") return tf.to_sheet(r.type == "string" ? t : ze(t), r); return s(t, r) } function o(e, r) { return mt(f(e, r), r) } function l(e) { var r = []; var t = pt(e["!ref"]), a; var n = Array.isArray(e); for (var i = t.s.r; i <= t.e.r; ++i) { var s = []; for (var f = t.s.c; f <= t.e.c; ++f) { var o = ht({ r: i, c: f }); a = n ? (e[i] || [])[f] : e[o]; if (!a || a.v == null) { s.push(" "); continue } var l = (a.w || (gt(a), a.w) || "").slice(0, 10); while (l.length < 10) l += " "; s.push(l + (f === 0 ? " " : "")) } r.push(s.join("")) } return r.join("\n") } return { to_workbook: o, to_sheet: f, from_sheet: l } }(); function nf(e, r) { var t = r || {} , a = !!t.WTF; t.WTF = true; try { var n = ef.to_workbook(e, t); t.WTF = a; return n } catch (i) { t.WTF = a; if (!i.message.match(/SYLK bad record ID/) && a) throw i; return af.to_workbook(e, r) } } var sf = function() { function e(e, r, t) { if (!e) return; zr(e, e.l || 0); var a = t.Enum || w; while (e.l < e.length) { var n = e._R(2); var i = a[n] || a[255]; var s = e._R(2); var f = e.l + s; var o = (i.f || Xr)(e, s, t); e.l = f; if (r(o, i.n, n)) return } } function r(e, r) { switch (r.type) { case "base64": return t(A(m.decode(e)), r); case "binary": return t(A(e), r); case "buffer": ; case "array": return t(e, r); } throw "Unsupported type " + r.type } function t(r, t) { if (!r) return r; var a = t || {}; if (v != null && a.dense == null) a.dense = v; var n = a.dense ? [] : {} , i = "Sheet1" , s = 0; var f = {} , o = [i]; var l = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }; var c = a.sheetRows || 0; if (r[2] == 2) a.Enum = w; else if (r[2] == 26) a.Enum = C; else if (r[2] == 14) { a.Enum = C; a.qpro = true; r.l = 0 } else throw new Error("Unrecognized LOTUS BOF " + r[2]); e(r, function(e, t, h) { if (r[2] == 2) switch (h) { case 0: a.vers = e; if (e >= 4096) a.qpro = true; break; case 6: l = e; break; case 15: if (!a.qpro) e[1].v = e[1].v.slice(1); case 13: ; case 14: ; case 16: ; case 51: if (h == 14 && (e[2] & 112) == 112 && (e[2] & 15) > 1 && (e[2] & 15) < 15) { e[1].z = a.dateNF || D._table[14]; if (a.cellDates) { e[1].t = "d"; e[1].v = re(e[1].v) } } if (a.dense) { if (!n[e[0].r]) n[e[0].r] = []; n[e[0].r][e[0].c] = e[1] } else n[ht(e[0])] = e[1]; break; } else switch (h) { case 22: e[1].v = e[1].v.slice(1); case 23: ; case 24: ; case 25: ; case 37: ; case 39: ; case 40: if (e[3] > s) { n["!ref"] = dt(l); f[i] = n; n = a.dense ? [] : {}; l = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }; s = e[3]; i = "Sheet" + (s + 1); o.push(i) } if (c > 0 && e[0].r >= c) break; if (a.dense) { if (!n[e[0].r]) n[e[0].r] = []; n[e[0].r][e[0].c] = e[1] } else n[ht(e[0])] = e[1]; if (l.e.c < e[0].c) l.e.c = e[0].c; if (l.e.r < e[0].r) l.e.r = e[0].r; break; default: break; } }, a); n["!ref"] = dt(l); f[i] = n; return { SheetNames: o, Sheets: f } } function a(e) { var r = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } }; r.s.c = e._R(2); r.s.r = e._R(2); r.e.c = e._R(2); r.e.r = e._R(2); if (r.s.c == 65535) r.s.c = r.e.c = r.s.r = r.e.r = 0; return r } function n(e, r, t) { var a = [{ c: 0, r: 0 }, { t: "n", v: 0 }, 0]; if (t.qpro && t.vers != 20768) { a[0].c = e._R(1); e.l++; a[0].r = e._R(2); e.l += 2 } else { a[2] = e._R(1); a[0].c = e._R(2); a[0].r = e._R(2) } return a } function i(e, r, t) { var a = e.l + r; var i = n(e, r, t); i[1].t = "s"; if (t.vers == 20768) { e.l++; var s = e._R(1); i[1].v = e._R(s, "utf8"); return i } if (t.qpro) e.l++; i[1].v = e._R(a - e.l, "cstr"); return i } function s(e, r, t) { var a = n(e, r, t); a[1].v = e._R(2, "i"); return a } function f(e, r, t) { var a = n(e, r, t); a[1].v = e._R(8, "f"); return a } function o(e, r, t) { var a = e.l + r; var i = n(e, r, t); i[1].v = e._R(8, "f"); if (t.qpro) e.l = a; else { var s = e._R(2); e.l += s } return i } function l(e) { var r = [{ c: 0, r: 0 }, { t: "n", v: 0 }, 0]; r[0].r = e._R(2); r[3] = e[e.l++]; r[0].c = e[e.l++]; return r } function c(e, r) { var t = l(e, r); t[1].t = "s"; t[1].v = e._R(r - 4, "cstr"); return t } function h(e, r) { var t = l(e, r); t[1].v = e._R(2); var a = t[1].v >> 1; if (t[1].v & 1) { switch (a & 7) { case 1: a = (a >> 3) * 500; break; case 2: a = (a >> 3) / 20; break; case 4: a = (a >> 3) / 2e3; break; case 6: a = (a >> 3) / 16; break; case 7: a = (a >> 3) / 64; break; default: throw "unknown NUMBER_18 encoding " + (a & 7); } } t[1].v = a; return t } function u(e, r) { var t = l(e, r); var a = e._R(4); var n = e._R(4); var i = e._R(2); if (i == 65535) { t[1].v = 0; return t } var s = i & 32768; i = (i & 32767) - 16446; t[1].v = (s * 2 - 1) * ((i > 0 ? n << i : n >>> -i) + (i > -32 ? a << i + 32 : a >>> -(i + 32))); return t } function d(e, r) { var t = u(e, 14); e.l += r - 14; return t } function p(e, r) { var t = l(e, r); var a = e._R(4); t[1].v = a >> 6; return t } function g(e, r) { var t = l(e, r); var a = e._R(8, "f"); t[1].v = a; return t } function b(e, r) { var t = g(e, 14); e.l += r - 10; return t } var w = { 0: { n: "BOF", f: Hn }, 1: { n: "EOF" }, 2: { n: "CALCMODE" }, 3: { n: "CALCORDER" }, 4: { n: "SPLIT" }, 5: { n: "SYNC" }, 6: { n: "RANGE", f: a }, 7: { n: "WINDOW1" }, 8: { n: "COLW1" }, 9: { n: "WINTWO" }, 10: { n: "COLW2" }, 11: { n: "NAME" }, 12: { n: "BLANK" }, 13: { n: "INTEGER", f: s }, 14: { n: "NUMBER", f: f }, 15: { n: "LABEL", f: i }, 16: { n: "FORMULA", f: o }, 24: { n: "TABLE" }, 25: { n: "ORANGE" }, 26: { n: "PRANGE" }, 27: { n: "SRANGE" }, 28: { n: "FRANGE" }, 29: { n: "KRANGE1" }, 32: { n: "HRANGE" }, 35: { n: "KRANGE2" }, 36: { n: "PROTEC" }, 37: { n: "FOOTER" }, 38: { n: "HEADER" }, 39: { n: "SETUP" }, 40: { n: "MARGINS" }, 41: { n: "LABELFMT" }, 42: { n: "TITLES" }, 43: { n: "SHEETJS" }, 45: { n: "GRAPH" }, 46: { n: "NGRAPH" }, 47: { n: "CALCCOUNT" }, 48: { n: "UNFORMATTED" }, 49: { n: "CURSORW12" }, 50: { n: "WINDOW" }, 51: { n: "STRING", f: i }, 55: { n: "PASSWORD" }, 56: { n: "LOCKED" }, 60: { n: "QUERY" }, 61: { n: "QUERYNAME" }, 62: { n: "PRINT" }, 63: { n: "PRINTNAME" }, 64: { n: "GRAPH2" }, 65: { n: "GRAPHNAME" }, 66: { n: "ZOOM" }, 67: { n: "SYMSPLIT" }, 68: { n: "NSROWS" }, 69: { n: "NSCOLS" }, 70: { n: "RULER" }, 71: { n: "NNAME" }, 72: { n: "ACOMM" }, 73: { n: "AMACRO" }, 74: { n: "PARSE" }, 255: { n: "", f: Xr } }; var C = { 0: { n: "BOF" }, 1: { n: "EOF" }, 3: { n: "??" }, 4: { n: "??" }, 5: { n: "??" }, 6: { n: "??" }, 7: { n: "??" }, 9: { n: "??" }, 10: { n: "??" }, 11: { n: "??" }, 12: { n: "??" }, 14: { n: "??" }, 15: { n: "??" }, 16: { n: "??" }, 17: { n: "??" }, 18: { n: "??" }, 19: { n: "??" }, 21: { n: "??" }, 22: { n: "LABEL16", f: c }, 23: { n: "NUMBER17", f: u }, 24: { n: "NUMBER18", f: h }, 25: { n: "FORMULA19", f: d }, 26: { n: "??" }, 27: { n: "??" }, 28: { n: "??" }, 29: { n: "??" }, 30: { n: "??" }, 31: { n: "??" }, 33: { n: "??" }, 37: { n: "NUMBER25", f: p }, 39: { n: "NUMBER27", f: g }, 40: { n: "FORMULA28", f: b }, 255: { n: "", f: Xr } }; return { to_workbook: r } }(); var ff = function im() { var e = Ye("t") , r = Ye("rPr") , t = /<(?:\w+:)?r>/g , a = /<\/(?:\w+:)?r>/ , n = /\r\n/g; var s = function o(e, r, t) { var a = {} , n = 65001 , s = ""; var f = false; var o = e.match(_e) , l = 0; if (o) for (; l != o.length; ++l) { var c = ye(o[l]); switch (c[0].replace(/\w*:/g, "")) { case "": ; case "": a.shadow = 1; break; case "": break; case "": ; case "": a.outline = 1; break; case "": break; case "": ; case "": a.strike = 1; break; case "": break; case "": ; case "": a.u = 1; break; case "": break; case "": ; case "": a.b = 1; break; case "": break; case "": ; case "": a.i = 1; break; case "": break; case "": ; case "": break; case "": f = false; break; default: if (c[0].charCodeAt(1) !== 47 && !f) throw new Error("Unrecognized rich format " + c[0]); } } var h = []; if (a.u) h.push("text-decoration: underline;"); if (a.uval) h.push("text-underline-style:" + a.uval + ";"); if (a.sz) h.push("font-size:" + a.sz + "pt;"); if (a.outline) h.push("text-effect: outline;"); if (a.shadow) h.push("text-shadow: auto;"); r.push(''); if (a.b) { r.push(""); t.push("") } if (a.i) { r.push(""); t.push("") } if (a.strike) { r.push(""); t.push("") } if (s == "superscript") s = "sup"; else if (s == "subscript") s = "sub"; if (s != "") { r.push("<" + s + ">"); t.push("") } t.push(""); return n }; function f(t) { var a = [[], "", []]; var i = t.match(e); if (!i) return ""; a[1] = i[1]; var f = t.match(r); if (f) s(f[1], a[0], a[2]); return a[0].join("") + a[1].replace(n, "
") + a[2].join("") } return function l(e) { return e.replace(t, "").split(a).map(f).join("") } }(); var of = /<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g , lf = /<(?:\w+:)?r>/; var cf = /<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g; function hf(e, r) { var t = r ? r.cellHTML : true; var a = {}; if (!e) return null; if (e.match(/^\s*<(?:\w+:)?t[^>]*>/)) { a.t = De(ze(e.slice(e.indexOf(">") + 1).split(/<\/(?:\w+:)?t>/)[0] || "")); a.r = ze(e); if (t) a.h = Me(a.t) } else if (e.match(lf)) { a.r = ze(e); a.t = De(ze((e.replace(cf, "").match(of) || []).join("").replace(_e, ""))); if (t) a.h = ff(a.r) } return a } var uf = /<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/; var df = /<(?:\w+:)?(?:si|sstItem)>/g; var pf = /<\/(?:\w+:)?(?:si|sstItem)>/; function vf(e, r) { var t = [] , a = ""; if (!e) return t; var n = e.match(uf); if (n) { a = n[2].replace(df, "").split(pf); for (var i = 0; i != a.length; ++i) { var s = hf(a[i].trim(), r); if (s != null) t[t.length] = s } n = ye(n[1]); t.Count = n.count; t.Unique = n.uniqueCount } return t } Ra.SST = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"; var gf = /^\s|\s$|[\t\n\r]/; function mf(e, r) { if (!r.bookSST) return ""; var t = [Se]; t[t.length] = ar("sst", null, { xmlns: sr.main[0], count: e.Count, uniqueCount: e.Unique }); for (var a = 0; a != e.length; ++a) { if (e[a] == null) continue; var n = e[a]; var i = ""; if (n.r) i += n.r; else { i += "" } i += ""; t[t.length] = i } if (t.length > 2) { t[t.length] = ""; t[1] = t[1].replace("/>", ">") } return t.join("") } function bf(e) { return [e._R(4), e._R(4)] } function wf(e, r) { var t = []; var a = false; jr(e, function n(e, i, s) { switch (s) { case 159: t.Count = e[0]; t.Unique = e[1]; break; case 19: t.push(e); break; case 160: return true; case 35: a = true; break; case 36: a = false; break; default: if (i.indexOf("Begin") > 0) {} else if (i.indexOf("End") > 0) {} if (!a || r.WTF) throw new Error("Unexpected record " + s + " " + i); } }); return t } function Cf(e, r) { if (!r) r = Gr(8); r._W(4, e.Count); r._W(4, e.Unique); return r } var Ef = Bt; function kf(e) { var r = Kr(); Yr(r, "BrtBeginSst", Cf(e)); for (var t = 0; t < e.length; ++t) Yr(r, "BrtSSTItem", Ef(e[t])); Yr(r, "BrtEndSst"); return r.end() } function Sf(e) { if (typeof cptable !== "undefined") return cptable.utils.encode(t, e); var r = [] , a = e.split(""); for (var n = 0; n < a.length; ++n) r[n] = a[n].charCodeAt(0); return r } function Af(e, r) { var t = {}; t.Major = e._R(2); t.Minor = e._R(2); if (r >= 4) e.l += r - 4; return t } function _f(e) { var r = {}; r.id = e._R(0, "lpp4"); r.R = Af(e, 4); r.U = Af(e, 4); r.W = Af(e, 4); return r } function Bf(e) { var r = e._R(4); var t = e.l + r - 4; var a = {}; var n = e._R(4); var i = []; while (n-- > 0) i.push({ t: e._R(4), v: e._R(0, "lpp4") }); a.name = e._R(0, "lpp4"); a.comps = i; if (e.l != t) throw new Error("Bad DataSpaceMapEntry: " + e.l + " != " + t); return a } function Tf(e) { var r = []; e.l += 4; var t = e._R(4); while (t-- > 0) r.push(Bf(e)); return r } function yf(e) { var r = []; e.l += 4; var t = e._R(4); while (t-- > 0) r.push(e._R(0, "lpp4")); return r } function xf(e) { var r = {}; e._R(4); e.l += 4; r.id = e._R(0, "lpp4"); r.name = e._R(0, "lpp4"); r.R = Af(e, 4); r.U = Af(e, 4); r.W = Af(e, 4); return r } function If(e) { var r = xf(e); r.ename = e._R(0, "8lpp4"); r.blksz = e._R(4); r.cmode = e._R(4); if (e._R(4) != 4) throw new Error("Bad !Primary record"); return r } function Rf(e, r) { var t = e.l + r; var a = {}; a.Flags = e._R(4) & 63; e.l += 4; a.AlgID = e._R(4); var n = false; switch (a.AlgID) { case 26126: ; case 26127: ; case 26128: n = a.Flags == 36; break; case 26625: n = a.Flags == 4; break; case 0: n = a.Flags == 16 || a.Flags == 4 || a.Flags == 36; break; default: throw "Unrecognized encryption algorithm: " + a.AlgID; } if (!n) throw new Error("Encryption Flags/AlgID mismatch"); a.AlgIDHash = e._R(4); a.KeySize = e._R(4); a.ProviderType = e._R(4); e.l += 8; a.CSPName = e._R(t - e.l >> 1, "utf16le"); e.l = t; return a } function Df(e, r) { var t = {} , a = e.l + r; e.l += 4; t.Salt = e.slice(e.l, e.l + 16); e.l += 16; t.Verifier = e.slice(e.l, e.l + 16); e.l += 16; e._R(4); t.VerifierHash = e.slice(e.l, a); e.l = a; return t } function Of(e) { var r = Af(e); switch (r.Minor) { case 2: return [r.Minor, Ff(e, r)]; case 3: return [r.Minor, Pf(e, r)]; case 4: return [r.Minor, Nf(e, r)]; } throw new Error("ECMA-376 Encrypted file unrecognized Version: " + r.Minor) } function Ff(e) { var r = e._R(4); if ((r & 63) != 36) throw new Error("EncryptionInfo mismatch"); var t = e._R(4); var a = Rf(e, t); var n = Df(e, e.length - e.l); return { t: "Std", h: a, v: n } } function Pf() { throw new Error("File is password-protected: ECMA-376 Extensible") } function Nf(e) { var r = ["saltSize", "blockSize", "keyBits", "hashSize", "cipherAlgorithm", "cipherChaining", "hashAlgorithm", "saltValue"]; e.l += 4; var t = e._R(e.length - e.l, "utf8"); var a = {}; t.replace(_e, function n(e) { var t = ye(e); switch (xe(t[0])) { case "": break; case "": ; case "": break; case "": break; case " 4 || a.Major < 2) throw new Error("unrecognized major version code: " + a.Major); t.Flags = e._R(4); r -= 4; var n = e._R(4); r -= 4; t.EncryptionHeader = Rf(e, n); r -= n; t.EncryptionVerifier = Df(e, r); return t } function Mf(e) { var r = {}; var t = r.EncryptionVersionInfo = Af(e, 4); if (t.Major != 1 || t.Minor != 1) throw "unrecognized version code " + t.Major + " : " + t.Minor; r.Salt = e._R(16); r.EncryptedVerifier = e._R(16); r.EncryptedVerifierHash = e._R(16); return r } function Uf(e) { var r = 0, t; var a = Sf(e); var n = a.length + 1, i, s; var f, o, l; t = k(n); t[0] = a.length; for (i = 1; i != n; ++i) t[i] = a[i - 1]; for (i = n - 1; i >= 0; --i) { s = t[i]; f = (r & 16384) === 0 ? 0 : 1; o = r << 1 & 32767; l = f | o; r = l ^ s } return r ^ 52811 } var Hf = function() { var e = [187, 255, 255, 186, 255, 255, 185, 128, 0, 190, 15, 0, 191, 15, 0]; var r = [57840, 7439, 52380, 33984, 4364, 3600, 61902, 12606, 6258, 57657, 54287, 34041, 10252, 43370, 20163]; var t = [44796, 19929, 39858, 10053, 20106, 40212, 10761, 31585, 63170, 64933, 60267, 50935, 40399, 11199, 17763, 35526, 1453, 2906, 5812, 11624, 23248, 885, 1770, 3540, 7080, 14160, 28320, 56640, 55369, 41139, 20807, 41614, 21821, 43642, 17621, 28485, 56970, 44341, 19019, 38038, 14605, 29210, 60195, 50791, 40175, 10751, 21502, 43004, 24537, 18387, 36774, 3949, 7898, 15796, 31592, 63184, 47201, 24803, 49606, 37805, 14203, 28406, 56812, 17824, 35648, 1697, 3394, 6788, 13576, 27152, 43601, 17539, 35078, 557, 1114, 2228, 4456, 30388, 60776, 51953, 34243, 7079, 14158, 28316, 14128, 28256, 56512, 43425, 17251, 34502, 7597, 13105, 26210, 52420, 35241, 883, 1766, 3532, 4129, 8258, 16516, 33032, 4657, 9314, 18628]; var a = function(e) { return (e / 2 | e * 128) & 255 }; var n = function(e, r) { return a(e ^ r) }; var i = function(e) { var a = r[e.length - 1]; var n = 104; for (var i = e.length - 1; i >= 0; --i) { var s = e[i]; for (var f = 0; f != 7; ++f) { if (s & 64) a ^= t[n]; s *= 2; --n } } return a }; return function(r) { var t = Sf(r); var a = i(t); var s = t.length; var f = k(16); for (var o = 0; o != 16; ++o) f[o] = 0; var l, c, h; if ((s & 1) === 1) { l = a >> 8; f[s] = n(e[0], l); --s; l = a & 255; c = t[t.length - 1]; f[s] = n(c, l) } while (s > 0) { --s; l = a >> 8; f[s] = n(t[s], l); --s; l = a & 255; f[s] = n(t[s], l) } s = 15; h = 15 - t.length; while (h > 0) { l = a >> 8; f[s] = n(e[h], l); --s; --h; l = a & 255; f[s] = n(t[s], l); --s; --h } return f } }(); var Wf = function(e, r, t, a, n) { if (!n) n = r; if (!a) a = Hf(e); var i, s; for (i = 0; i != r.length; ++i) { s = r[i]; s ^= a[t]; s = (s >> 5 | s << 3) & 255; n[i] = s; ++t } return [n, t, a] }; var Vf = function(e) { var r = 0 , t = Hf(e); return function(e) { var a = Wf("", e, r, t); r = a[1]; return a[0] } }; function zf(e, r, t, a) { var n = { key: Hn(e), verificationBytes: Hn(e) }; if (t.password) n.verifier = Uf(t.password); a.valid = n.verificationBytes === n.verifier; if (a.valid) a.insitu = Vf(t.password); return n } function Xf(e, r, t) { var a = t || {}; a.Info = e._R(2); e.l -= 2; if (a.Info === 1) a.Data = Mf(e, r); else a.Data = Lf(e, r); return a } function Gf(e, r, t) { var a = { Type: t.biff >= 8 ? e._R(2) : 0 }; if (a.Type) Xf(e, r - 2, a); else zf(e, t.biff >= 8 ? r : r - 2, t, a); return a } var jf = function() { function e(e, t) { switch (t.type) { case "base64": return r(m.decode(e), t); case "binary": return r(e, t); case "buffer": return r(e.toString("binary"), t); case "array": return r(se(e), t); } throw new Error("Unrecognized type " + t.type) } function r(e, r) { var t = r || {}; var a = t.dense ? [] : {}; var n = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } }; if (!e.match(/\\trowd/)) throw new Error("RTF missing table"); a["!ref"] = dt(n); return a } function t(r, t) { return mt(e(r, t), t) } function a(e) { var r = ["{\\rtf1\\ansi"]; var t = pt(e["!ref"]), a; var n = Array.isArray(e); for (var i = t.s.r; i <= t.e.r; ++i) { r.push("\\trowd\\trautofit1"); for (var s = t.s.c; s <= t.e.c; ++s) r.push("\\cellx" + (s + 1)); r.push("\\pard\\intbl"); for (s = t.s.c; s <= t.e.c; ++s) { var f = ht({ r: i, c: s }); a = n ? (e[i] || [])[s] : e[f]; if (!a || a.v == null && (!a.f || a.F)) continue; r.push(" " + (a.w || (gt(a), a.w))); r.push("\\cell") } r.push("\\pard\\intbl\\row") } return r.join("") + "}" } return { to_workbook: t, to_sheet: e, from_sheet: a } }(); function Kf(e) { var r = e.slice(e[0] === "#" ? 1 : 0).slice(0, 6); return [parseInt(r.slice(0, 2), 16), parseInt(r.slice(2, 4), 16), parseInt(r.slice(4, 6), 16)] } function Yf(e) { for (var r = 0, t = 1; r != 3; ++r) t = t * 256 + (e[r] > 255 ? 255 : e[r] < 0 ? 0 : e[r]); return t.toString(16).toUpperCase().slice(1) } function $f(e) { var r = e[0] / 255 , t = e[1] / 255 , a = e[2] / 255; var n = Math.max(r, t, a) , i = Math.min(r, t, a) , s = n - i; if (s === 0) return [0, 0, r]; var f = 0 , o = 0 , l = n + i; o = s / (l > 1 ? 2 - l : l); switch (n) { case r: f = ((t - a) / s + 6) % 6; break; case t: f = (a - r) / s + 2; break; case a: f = (r - t) / s + 4; break; } return [f / 6, o, l / 2] } function Zf(e) { var r = e[0] , t = e[1] , a = e[2]; var n = t * 2 * (a < .5 ? a : 1 - a) , i = a - n / 2; var s = [i, i, i] , f = 6 * r; var o; if (t !== 0) switch (f | 0) { case 0: ; case 6: o = n * f; s[0] += n; s[1] += o; break; case 1: o = n * (2 - f); s[0] += o; s[1] += n; break; case 2: o = n * (f - 2); s[1] += n; s[2] += o; break; case 3: o = n * (4 - f); s[1] += o; s[2] += n; break; case 4: o = n * (f - 4); s[2] += n; s[0] += o; break; case 5: o = n * (6 - f); s[2] += o; s[0] += n; break; } for (var l = 0; l != 3; ++l) s[l] = Math.round(s[l] * 255); return s } function Qf(e, r) { if (r === 0) return e; var t = $f(Kf(e)); if (r < 0) t[2] = t[2] * (1 + r); else t[2] = 1 - (1 - t[2]) * (1 - r); return Yf(Zf(t)) } var Jf = 6 , qf = 15 , eo = 1 , ro = Jf; function to(e) { return Math.floor((e + Math.round(128 / ro) / 256) * ro) } function ao(e) { return Math.floor((e - 5) / ro * 100 + .5) / 100 } function no(e) { return Math.round((e * ro + 5) / ro * 256) / 256 } function io(e) { return no(ao(to(e))) } function so(e) { var r = Math.abs(e - io(e)) , t = ro; if (r > .005) for (ro = eo; ro < qf; ++ro) if (Math.abs(e - io(e)) <= r) { r = Math.abs(e - io(e)); t = ro } ro = t } function fo(e) { if (e.width) { e.wpx = to(e.width); e.wch = ao(e.wpx); e.MDW = ro } else if (e.wpx) { e.wch = ao(e.wpx); e.width = no(e.wch); e.MDW = ro } else if (typeof e.wch == "number") { e.width = no(e.wch); e.wpx = to(e.width); e.MDW = ro } if (e.customWidth) delete e.customWidth } var oo = 96 , lo = oo; function co(e) { return e * 96 / lo } function ho(e) { return e * lo / 96 } var uo = { None: "none", Solid: "solid", Gray50: "mediumGray", Gray75: "darkGray", Gray25: "lightGray", HorzStripe: "darkHorizontal", VertStripe: "darkVertical", ReverseDiagStripe: "darkDown", DiagStripe: "darkUp", DiagCross: "darkGrid", ThickDiagCross: "darkTrellis", ThinHorzStripe: "lightHorizontal", ThinVertStripe: "lightVertical", ThinReverseDiagStripe: "lightDown", ThinHorzCross: "lightGrid" }; function po(e, r, t, a) { r.Borders = []; var n = {}; var i = false; e[0].match(_e).forEach(function(e) { var t = ye(e); switch (xe(t[0])) { case "": ; case "": break; case "": ; case "": n = {}; if (t.diagonalUp) { n.diagonalUp = t.diagonalUp } if (t.diagonalDown) { n.diagonalDown = t.diagonalDown } r.Borders.push(n); break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": break; case "": ; case "": break; case "": break; case "": ; case "": break; case "": break; case "": ; case "": break; case "": break; case "": ; case "": break; case "": break; case "": ; case "": break; case "": break; case "": break; case "": ; case "": break; case "": ; case "": break; case "": i = false; break; default: if (a && a.WTF) { if (!i) throw new Error("unrecognized " + t[0] + " in borders") } ; } }) } function vo(e, r, t, a) { r.Fills = []; var n = {}; var i = false; e[0].match(_e).forEach(function(e) { var t = ye(e); switch (xe(t[0])) { case "": ; case "": break; case "": ; case "": n = {}; r.Fills.push(n); break; case "": break; case "": break; case "": r.Fills.push(n); n = {}; break; case "": if (t.patternType) n.patternType = t.patternType; break; case "": ; case "": break; case "": ; case "": break; case "": ; case "": break; case "": break; case "": break; case "": break; case "": break; case "": ; case "": break; case "": i = false; break; default: if (a && a.WTF) { if (!i) throw new Error("unrecognized " + t[0] + " in fills") } ; } }) } function go(e, r, t, a) { r.Fonts = []; var n = {}; var s = false; e[0].match(_e).forEach(function(e) { var f = ye(e); switch (xe(f[0])) { case "": ; case "": break; case "": break; case "": ; case "": r.Fonts.push(n); n = {}; break; case "": ; case "": break; case "": n.bold = 1; break; case "": n.italic = 1; break; case "": n.underline = 1; break; case "": n.strike = 1; break; case "": n.outline = 1; break; case "": n.shadow = 1; break; case "": n.condense = 1; break; case "": n.extend = 1; break; case "": ; case "": break; case "": ; case "": break; case "": ; case "": break; case "": ; case "": break; case "": ; case "": break; case "": ; case "": break; case "": s = false; break; default: if (a && a.WTF) { if (!s) throw new Error("unrecognized " + f[0] + " in fonts") } ; } }) } function mo(e, r, t) { r.NumberFmt = []; var a = j(D._table); for (var n = 0; n < a.length; ++n) r.NumberFmt[a[n]] = D._table[a[n]]; var i = e[0].match(_e); if (!i) return; for (n = 0; n < i.length; ++n) { var s = ye(i[n]); switch (xe(s[0])) { case "": ; case "": ; case "": break; case " 0) { if (o > 392) { for (o = 392; o > 60; --o) if (r.NumberFmt[o] == null) break; r.NumberFmt[o] = f } D.load(f, o) } } break; case "": break; default: if (t.WTF) throw new Error("unrecognized " + s[0] + " in numFmts"); } } } function bo(e) { var r = [""]; [[5, 8], [23, 26], [41, 44], [50, 392]].forEach(function(t) { for (var a = t[0]; a <= t[1]; ++a) if (e[a] != null) r[r.length] = ar("numFmt", null, { numFmtId: a, formatCode: Pe(e[a]) }) }); if (r.length === 1) return ""; r[r.length] = ""; r[0] = ar("numFmts", null, { count: r.length - 2 }).replace("/>", ">"); return r.join("") } var wo = ["numFmtId", "fillId", "fontId", "borderId", "xfId"]; var Co = ["applyAlignment", "applyBorder", "applyFill", "applyFont", "applyNumberFormat", "applyProtection", "pivotButton", "quotePrefix"]; function Eo(e, r, t) { r.CellXf = []; var a; var n = false; e[0].match(_e).forEach(function(e) { var i = ye(e) , s = 0; switch (xe(i[0])) { case "": ; case "": ; case "": break; case "": a = i; delete a[0]; for (s = 0; s < wo.length; ++s) if (a[wo[s]]) a[wo[s]] = parseInt(a[wo[s]], 10); for (s = 0; s < Co.length; ++s) if (a[Co[s]]) a[Co[s]] = Ve(a[Co[s]]); if (a.numFmtId > 392) { for (s = 392; s > 60; --s) if (r.NumberFmt[a.numFmtId] == r.NumberFmt[s]) { a.numFmtId = s; break } } r.CellXf.push(a); break; case "": break; case "": var f = {}; if (i.vertical) f.vertical = i.vertical; if (i.horizontal) f.horizontal = i.horizontal; if (i.textRotation != null) f.textRotation = i.textRotation; if (i.indent) f.indent = i.indent; if (i.wrapText) f.wrapText = i.wrapText; a.alignment = f; break; case "": break; case "": ; case "": break; case "": ; case "": break; case "": n = false; break; default: if (t && t.WTF) { if (!n) throw new Error("unrecognized " + i[0] + " in cellXfs") } ; } }) } function ko(e) { var r = []; r[r.length] = ar("cellXfs", null); e.forEach(function(e) { r[r.length] = ar("xf", null, e) }); r[r.length] = ""; if (r.length === 2) return ""; r[0] = ar("cellXfs", null, { count: r.length - 2 }).replace("/>", ">"); return r.join("") } var So = function sm() { var e = /<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/; var r = /<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/; var t = /<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/; var a = /<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/; var n = /<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/; return function i(s, f, o) { var l = {}; if (!s) return l; s = s.replace(//gm, "").replace(//gm, ""); var c; if (c = s.match(e)) mo(c, l, o); if (c = s.match(a)) go(c, l, f, o); if (c = s.match(t)) vo(c, l, f, o); if (c = s.match(n)) po(c, l, f, o); if (c = s.match(r)) Eo(c, l, o); return l } }(); var Ao = ar("styleSheet", null, { xmlns: sr.main[0], "xmlns:vt": sr.vt }); Ra.STY = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"; function _o(e, r) { var t = [Se, Ao], a; if (e.SSF && (a = bo(e.SSF)) != null) t[t.length] = a; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; if (a = ko(r.cellXfs)) t[t.length] = a; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; if (t.length > 2) { t[t.length] = ""; t[1] = t[1].replace("/>", ">") } return t.join("") } function Bo(e, r) { var t = e._R(2); var a = Et(e, r - 2); return [t, a] } function To(e, r, t) { if (!t) t = Gr(6 + 4 * r.length); t._W(2, e); kt(r, t); var a = t.length > t.l ? t.slice(0, t.l) : t; if (t.l == null) t.l = t.length; return a } function yo(e, r, t) { var a = {}; a.sz = e._R(2) / 20; var n = Zt(e, 2, t); if (n.fCondense) a.condense = 1; if (n.fExtend) a.extend = 1; if (n.fShadow) a.shadow = 1; if (n.fOutline) a.outline = 1; if (n.fStrikeout) a.strike = 1; if (n.fItalic) a.italic = 1; var i = e._R(2); if (i === 700) a.bold = 1; switch (e._R(2)) { case 1: a.vertAlign = "superscript"; break; case 2: a.vertAlign = "subscript"; break; } var s = e._R(1); if (s != 0) a.underline = s; var f = e._R(1); if (f > 0) a.family = f; var o = e._R(1); if (o > 0) a.charset = o; e.l++; a.color = Yt(e, 8); switch (e._R(1)) { case 1: a.scheme = "major"; break; case 2: a.scheme = "minor"; break; } a.name = Et(e, r - 21); return a } function xo(e, r) { if (!r) r = Gr(25 + 4 * 32); r._W(2, e.sz * 20); Qt(e, r); r._W(2, e.bold ? 700 : 400); var t = 0; if (e.vertAlign == "superscript") t = 1; else if (e.vertAlign == "subscript") t = 2; r._W(2, t); r._W(1, e.underline || 0); r._W(1, e.family || 0); r._W(1, e.charset || 0); r._W(1, 0); $t(e.color, r); var a = 0; if (e.scheme == "major") a = 1; if (e.scheme == "minor") a = 2; r._W(1, a); kt(e.name, r); return r.length > r.l ? r.slice(0, r.l) : r } var Io = ["none", "solid", "mediumGray", "darkGray", "lightGray", "darkHorizontal", "darkVertical", "darkDown", "darkUp", "darkGrid", "darkTrellis", "lightHorizontal", "lightVertical", "lightDown", "lightUp", "lightGrid", "lightTrellis", "gray125", "gray0625"]; var Ro = Y(Io); var Do = Xr; function Oo(e, r) { if (!r) r = Gr(4 * 3 + 8 * 7 + 16 * 1); var t = Ro[e.patternType]; if (t == null) t = 40; r._W(4, t); var a = 0; if (t != 40) { $t({ auto: 1 }, r); $t({ auto: 1 }, r); for (; a < 12; ++a) r._W(4, 0) } else { for (; a < 4; ++a) r._W(4, 0); for (; a < 12; ++a) r._W(4, 0) } return r.length > r.l ? r.slice(0, r.l) : r } function Fo(e, r) { var t = e.l + r; var a = e._R(2); var n = e._R(2); e.l = t; return { ixfe: a, numFmtId: n } } function Po(e, r, t) { if (!t) t = Gr(16); t._W(2, r || 0); t._W(2, e.numFmtId || 0); t._W(2, 0); t._W(2, 0); t._W(2, 0); t._W(1, 0); t._W(1, 0); t._W(1, 0); t._W(1, 0); t._W(1, 0); t._W(1, 0); return t } function No(e, r) { if (!r) r = Gr(10); r._W(1, 0); r._W(1, 0); r._W(4, 0); r._W(4, 0); return r } var Lo = Xr; function Mo(e, r) { if (!r) r = Gr(51); r._W(1, 0); No(null, r); No(null, r); No(null, r); No(null, r); No(null, r); return r.length > r.l ? r.slice(0, r.l) : r } function Uo(e, r) { if (!r) r = Gr(12 + 4 * 10); r._W(4, e.xfId); r._W(2, 1); r._W(1, +e.builtinId); r._W(1, 0); Ft(e.name || "", r); return r.length > r.l ? r.slice(0, r.l) : r } function Ho(e, r, t) { var a = Gr(4 + 256 * 2 * 4); a._W(4, e); Ft(r, a); Ft(t, a); return a.length > a.l ? a.slice(0, a.l) : a } function Wo(e, r, t) { var a = {}; a.NumberFmt = []; for (var n in D._table) a.NumberFmt[n] = D._table[n]; a.CellXf = []; a.Fonts = []; var i = []; var s = false; jr(e, function f(e, n, o) { switch (o) { case 44: a.NumberFmt[e[0]] = e[1]; D.load(e[1], e[0]); break; case 43: a.Fonts.push(e); if (e.color.theme != null && r && r.themeElements && r.themeElements.clrScheme) { e.color.rgb = Qf(r.themeElements.clrScheme[e.color.theme].rgb, e.color.tint || 0) } break; case 1025: break; case 45: break; case 46: break; case 47: if (i[i.length - 1] == "BrtBeginCellXFs") { a.CellXf.push(e) } break; case 48: ; case 507: ; case 572: ; case 475: break; case 1171: ; case 2102: ; case 1130: ; case 512: ; case 2095: ; case 3072: break; case 35: s = true; break; case 36: s = false; break; case 37: i.push(n); break; case 38: i.pop(); break; default: if ((n || "").indexOf("Begin") > 0) i.push(n); else if ((n || "").indexOf("End") > 0) i.pop(); else if (!s || t.WTF) throw new Error("Unexpected record " + o + " " + n); } }); return a } function Vo(e, r) { if (!r) return; var t = 0; [[5, 8], [23, 26], [41, 44], [50, 392]].forEach(function(e) { for (var a = e[0]; a <= e[1]; ++a) if (r[a] != null) ++t }); if (t == 0) return; Yr(e, "BrtBeginFmts", Ct(t)); [[5, 8], [23, 26], [41, 44], [50, 392]].forEach(function(t) { for (var a = t[0]; a <= t[1]; ++a) if (r[a] != null) Yr(e, "BrtFmt", To(a, r[a])) }); Yr(e, "BrtEndFmts") } function zo(e) { var r = 1; if (r == 0) return; Yr(e, "BrtBeginFonts", Ct(r)); Yr(e, "BrtFont", xo({ sz: 12, color: { theme: 1 }, name: "Calibri", family: 2, scheme: "minor" })); Yr(e, "BrtEndFonts") } function Xo(e) { var r = 2; if (r == 0) return; Yr(e, "BrtBeginFills", Ct(r)); Yr(e, "BrtFill", Oo({ patternType: "none" })); Yr(e, "BrtFill", Oo({ patternType: "gray125" })); Yr(e, "BrtEndFills") } function Go(e) { var r = 1; if (r == 0) return; Yr(e, "BrtBeginBorders", Ct(r)); Yr(e, "BrtBorder", Mo({})); Yr(e, "BrtEndBorders") } function jo(e) { var r = 1; Yr(e, "BrtBeginCellStyleXFs", Ct(r)); Yr(e, "BrtXF", Po({ numFmtId: 0, fontId: 0, fillId: 0, borderId: 0 }, 65535)); Yr(e, "BrtEndCellStyleXFs") } function Ko(e, r) { Yr(e, "BrtBeginCellXFs", Ct(r.length)); r.forEach(function(r) { Yr(e, "BrtXF", Po(r, 0)) }); Yr(e, "BrtEndCellXFs") } function Yo(e) { var r = 1; Yr(e, "BrtBeginStyles", Ct(r)); Yr(e, "BrtStyle", Uo({ xfId: 0, builtinId: 0, name: "Normal" })); Yr(e, "BrtEndStyles") } function $o(e) { var r = 0; Yr(e, "BrtBeginDXFs", Ct(r)); Yr(e, "BrtEndDXFs") } function Zo(e) { var r = 0; Yr(e, "BrtBeginTableStyles", Ho(r, "TableStyleMedium9", "PivotStyleMedium4")); Yr(e, "BrtEndTableStyles") } function Qo() { return } function Jo(e, r) { var t = Kr(); Yr(t, "BrtBeginStyleSheet"); Vo(t, e.SSF); zo(t, e); Xo(t, e); Go(t, e); jo(t, e); Ko(t, r.cellXfs); Yo(t, e); $o(t, e); Zo(t, e); Qo(t, e); Yr(t, "BrtEndStyleSheet"); return t.end() } Ra.THEME = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"; function qo(e, r, t) { r.themeElements.clrScheme = []; var a = {}; (e[0].match(_e) || []).forEach(function(e) { var n = ye(e); switch (n[0]) { case "": break; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": ; case "": if (n[0].charAt(1) === "/") { r.themeElements.clrScheme.push(a); a = {} } else { a.name = n[0].slice(3, n[0].length - 1) } break; default: if (t && t.WTF) throw new Error("Unrecognized " + n[0] + " in clrScheme"); } }) } function el() {} function rl() {} var tl = /]*)>[\s\S]*<\/a:clrScheme>/; var al = /]*)>[\s\S]*<\/a:fontScheme>/; var nl = /]*)>[\s\S]*<\/a:fmtScheme>/; function il(e, r, t) { r.themeElements = {}; var a; [["clrScheme", tl, qo], ["fontScheme", al, el], ["fmtScheme", nl, rl]].forEach(function(n) { if (!(a = e.match(n[1]))) throw new Error(n[0] + " not found in themeElements"); n[2](a, r, t) }) } var sl = /]*)>[\s\S]*<\/a:themeElements>/; function fl(e, r) { if (!e || e.length === 0) return fl(ol()); var t; var a = {}; if (!(t = e.match(sl))) throw new Error("themeElements not found in theme"); il(t[0], a, r); return a } function ol(e, r) { if (r && r.themeXLSX) return r.themeXLSX; var t = [Se]; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ''; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ""; t[t.length] = ''; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; t[t.length] = ""; return t.join("") } function ll(e, r, t) { var a = e.l + r; var n = e._R(4); if (n === 124226) return; if (!t.cellStyles || !Ee) { e.l = a; return } var i = e.slice(e.l); e.l = a; var s; try { s = new Ee(i) } catch (f) { return } var o = we(s, "theme/theme/theme1.xml", true); if (!o) return; return fl(o, t) } function cl(e) { return e._R(4) } function hl(e) { var r = {}; r.xclrType = e._R(2); r.nTintShade = e._R(2); switch (r.xclrType) { case 0: e.l += 4; break; case 1: r.xclrValue = ul(e, 4); break; case 2: r.xclrValue = ni(e, 4); break; case 3: r.xclrValue = cl(e, 4); break; case 4: e.l += 4; break; } e.l += 8; return r } function ul(e, r) { return Xr(e, r) } function dl(e, r) { return Xr(e, r) } function pl(e) { var r = e._R(2); var t = e._R(2) - 4; var a = [r]; switch (r) { case 4: ; case 5: ; case 7: ; case 8: ; case 9: ; case 10: ; case 11: ; case 13: a[1] = hl(e, t); break; case 6: a[1] = dl(e, t); break; case 14: ; case 15: a[1] = e._R(t === 1 ? 1 : 2); break; default: throw new Error("Unrecognized ExtProp type: " + r + " " + t); } return a } function vl(e, r) { var t = e.l + r; e.l += 2; var a = e._R(2); e.l += 2; var n = e._R(2); var i = []; while (n-- > 0) i.push(pl(e, t - e.l)); return { ixfe: a, ext: i } } function gl(e, r) { r.forEach(function(e) { switch (e[0]) { case 4: break; case 5: break; case 6: break; case 7: break; case 8: break; case 9: break; case 10: break; case 11: break; case 13: break; case 14: break; case 15: break; } }) } function ml(e) { var r = []; if (!e) return r; var t = 1; (e.match(_e) || []).forEach(function(e) { var a = ye(e); switch (a[0]) { case "": ; case "": break; case " 0) {} else if ((r || "").indexOf("End") > 0) {} else if (!n || t.WTF) throw new Error("Unexpected record " + s + " " + r); } }); return a } function Cl() {} function El(e, r, t) { if (!e) return e; var a = t || {}; var n = false , i = false; jr(e, function s(e, r, t) { if (i) return; switch (t) { case 359: ; case 363: ; case 364: ; case 366: ; case 367: ; case 368: ; case 369: ; case 370: ; case 371: ; case 472: ; case 577: ; case 578: ; case 579: ; case 580: ; case 581: ; case 582: ; case 583: ; case 584: ; case 585: ; case 586: ; case 587: break; case 35: n = true; break; case 36: n = false; break; default: if ((r || "").indexOf("Begin") > 0) {} else if ((r || "").indexOf("End") > 0) {} else if (!n || a.WTF) throw new Error("Unexpected record " + t.toString(16) + " " + r); } }, a) } Ra.IMG = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"; Ra.DRAW = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing"; function kl(e, r) { if (!e) return "??"; var t = (e.match(/]*r:id="([^"]*)"/) || ["", ""])[1]; return r["!id"][t].Target } var Sl = 1024; function Al(e, r) { var t = [21600, 21600]; var a = ["m0,0l0", t[1], t[0], t[1], t[0], "0xe"].join(","); var n = [ar("xml", null, { "xmlns:v": fr.v, "xmlns:o": fr.o, "xmlns:x": fr.x, "xmlns:mv": fr.mv }).replace(/\/>/, ">"), ar("o:shapelayout", ar("o:idmap", null, { "v:ext": "edit", data: e }), { "v:ext": "edit" }), ar("v:shapetype", [ar("v:stroke", null, { joinstyle: "miter" }), ar("v:path", null, { gradientshapeok: "t", "o:connecttype": "rect" })].join(""), { id: "_x0000_t202", "o:spt": 202, coordsize: t.join(","), path: a })]; while (Sl < e * 1e3) Sl += 1e3; r.forEach(function(e) { var r = ct(e[0]); n = n.concat(["", ar("v:fill", ar("o:fill", null, { type: "gradientUnscaled", "v:ext": "view" }), { color2: "#BEFF82", angle: "-180", type: "gradient" }), ar("v:shadow", null, { on: "t", obscured: "t" }), ar("v:path", null, { "o:connecttype": "none" }), '
', '', "", "", rr("x:Anchor", [r.c, 0, r.r, 0, r.c + 3, 100, r.r + 5, 100].join(",")), rr("x:AutoFill", "False"), rr("x:Row", String(r.r)), rr("x:Column", String(r.c)), e[1].hidden ? "" : "", "", ""]) }); n.push(""); return n.join("") } Ra.CMNT = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments"; function _l(e, r, t, a, n) { for (var i = 0; i != r.length; ++i) { var s = r[i]; var f = bp(be(e, s.replace(/^\//, ""), true), s, n); if (!f || !f.length) continue; var o = j(t); for (var l = 0; l != o.length; ++l) { var c = o[l]; var h = a[c]; if (h) { var u = h[s]; if (u) Bl(c, t[c], f) } } } } function Bl(e, r, t) { var a = Array.isArray(r); var n, i; t.forEach(function(e) { if (a) { i = ct(e.ref); if (!r[i.r]) r[i.r] = []; n = r[i.r][i.c] } else n = r[e.ref]; if (!n) { n = {}; if (a) r[i.r][i.c] = n; else r[e.ref] = n; var t = pt(r["!ref"] || "BDWGO1000001:A1"); var s = ct(e.ref); if (t.s.r > s.r) t.s.r = s.r; if (t.e.r < s.r) t.e.r = s.r; if (t.s.c > s.c) t.s.c = s.c; if (t.e.c < s.c) t.e.c = s.c; var f = dt(t); if (f !== r["!ref"]) r["!ref"] = f } if (!n.c) n.c = []; var o = { a: e.author, t: e.t, r: e.r }; if (e.h) o.h = e.h; n.c.push(o) }) } function Tl(e, r) { if (e.match(/<(?:\w+:)?comments *\/>/)) return []; var t = []; var a = []; var n = e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/); if (n && n[1]) n[1].split(/<\/\w*:?author>/).forEach(function(e) { if (e === "" || e.trim() === "") return; var r = e.match(/<(?:\w+:)?author[^>]*>(.*)/); if (r) t.push(r[1]) }); var i = e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/); if (i && i[1]) i[1].split(/<\/\w*:?comment>/).forEach(function(e) { if (e === "" || e.trim() === "") return; var n = e.match(/<(?:\w+:)?comment[^>]*>/); if (!n) return; var i = ye(n[0]); var s = { author: i.authorId && t[i.authorId] || "sheetjsghost", ref: i.ref, guid: i.guid }; var f = ct(i.ref); if (r.sheetRows && r.sheetRows <= f.r) return; var o = e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/); var l = !!o && !!o[1] && hf(o[1]) || { r: "", t: "", h: "" }; s.r = l.r; if (l.r == "") l.t = l.h = ""; s.t = l.t.replace(/\r\n/g, "\n").replace(/\r/g, "\n"); if (r.cellHTML) s.h = l.h; a.push(s) }); return a } var yl = ar("comments", null, { xmlns: sr.main[0] }); function xl(e) { var r = [Se, yl]; var t = []; r.push(""); e.forEach(function(e) { e[1].forEach(function(e) { var a = Pe(e.a); if (t.indexOf(a) > -1) return; t.push(a); r.push("" + a + "") }) }); r.push(""); r.push(""); e.forEach(function(e) { e[1].forEach(function(a) { r.push(''); r.push(rr("t", a.t == null ? "" : a.t)); r.push("") }) }); r.push(""); if (r.length > 2) { r[r.length] = ""; r[1] = r[1].replace("/>", ">") } return r.join("") } function Il(e) { var r = {}; r.iauthor = e._R(4); var t = Vt(e, 16); r.rfx = t.s; r.ref = ht(t.s); e.l += 16; return r } function Rl(e, r) { if (r == null) r = Gr(36); r._W(4, e[1].iauthor); zt(e[0], r); r._W(4, 0); r._W(4, 0); r._W(4, 0); r._W(4, 0); return r } var Dl = Et; function Ol(e) { return kt(e.slice(0, 54)) } function Fl(e, r) { var t = []; var a = []; var n = {}; var i = false; jr(e, function s(e, f, o) { switch (o) { case 632: a.push(e); break; case 635: n = e; break; case 637: n.t = e.t; n.h = e.h; n.r = e.r; break; case 636: n.author = a[n.iauthor]; delete n.iauthor; if (r.sheetRows && r.sheetRows <= n.rfx.r) break; if (!n.t) n.t = ""; delete n.rfx; t.push(n); break; case 3072: break; case 35: i = true; break; case 36: i = false; break; case 37: break; case 38: break; default: if ((f || "").indexOf("Begin") > 0) {} else if ((f || "").indexOf("End") > 0) {} else if (!i || r.WTF) throw new Error("Unexpected record " + o + " " + f); } }); return t } function Pl(e) { var r = Kr(); var t = []; Yr(r, "BrtBeginComments"); Yr(r, "BrtBeginCommentAuthors"); e.forEach(function(e) { e[1].forEach(function(e) { if (t.indexOf(e.a) > -1) return; t.push(e.a.slice(0, 54)); Yr(r, "BrtCommentAuthor", Ol(e.a)) }) }); Yr(r, "BrtEndCommentAuthors"); Yr(r, "BrtBeginCommentList"); e.forEach(function(e) { e[1].forEach(function(a) { a.iauthor = t.indexOf(a.a); var n = { s: ct(e[0]), e: ct(e[0]) }; Yr(r, "BrtBeginComment", Rl([n, a])); if (a.t && a.t.length > 0) Yr(r, "BrtCommentText", yt(a)); Yr(r, "BrtEndComment"); delete a.iauthor }) }); Yr(r, "BrtEndCommentList"); Yr(r, "BrtEndComments"); return r.end() } var Nl = "application/vnd.ms-office.vbaProject"; function Ll(e) { var r = W.utils.cfb_new({ root: "R" }); e.FullPaths.forEach(function(t, a) { if (t.slice(-1) === "/" || !t.match(/_VBA_PROJECT_CUR/)) return; var n = t.replace(/^[^\/]*/, "R").replace(/\/_VBA_PROJECT_CUR\u0000*/, ""); W.utils.cfb_add(r, n, e.FileIndex[a].content) }); return W.write(r) } function Ml(e, r) { r.FullPaths.forEach(function(t, a) { if (a == 0) return; var n = t.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); if (n.slice(-1) !== "/") W.utils.cfb_add(e, n, r.FileIndex[a].content) }) } var Ul = ["xlsb", "xlsm", "xlam", "biff8", "xla"]; Ra.DS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet"; Ra.MS = "http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet"; function Hl() { return { "!type": "dialog" } } function Wl() { return { "!type": "dialog" } } function Vl() { return { "!type": "macro" } } function zl() { return { "!type": "macro" } } var Xl = function() { var e = /(^|[^A-Za-z])R(\[?)(-?\d+|)\]?C(\[?)(-?\d+|)\]?/g; var r = { r: 0, c: 0 }; function t(e, t, a, n, i, s) { var f = n.length > 0 ? parseInt(n, 10) | 0 : 0 , o = s.length > 0 ? parseInt(s, 10) | 0 : 0; if (o < 0 && i.length === 0) o = 0; var l = false , c = false; if (i.length > 0 || s.length == 0) l = true; if (l) o += r.c; else --o; if (a.length > 0 || n.length == 0) c = true; if (c) f += r.r; else --f; return t + (l ? "" : "$") + st(o) + (c ? "" : "$") + tt(f) } return function a(n, i) { r = i; return n.replace(e, t) } }(); var Gl = /(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)([1-9]\d{0,5}|10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6])(?![_.\(A-Za-z0-9])/g; var jl = function() { return function e(r, t) { return r.replace(Gl, function(e, r, a, n, i, s) { var f = it(n) - (a ? 0 : t.c); var o = rt(s) - (i ? 0 : t.r); var l = o == 0 ? "" : !i ? "[" + o + "]" : o + 1; var c = f == 0 ? "" : !a ? "[" + f + "]" : f + 1; return r + "R" + l + "C" + c }) } }(); function Kl(e, r) { return e.replace(Gl, function(e, t, a, n, i, s) { return t + (a == "$" ? a + n : st(it(n) + r.c)) + (i == "$" ? i + s : tt(rt(s) + r.r)) }) } function Yl(e, r, t) { var a = ut(r) , n = a.s , i = ct(t); var s = { r: i.r - n.r, c: i.c - n.c }; return Kl(e, s) } function $l(e) { if (e.length == 1) return false; return true } function Zl(e) { return e.replace(/_xlfn\./g, "") } function Ql(e) { e.l += 1; return } function Jl(e, r) { var t = e._R(r == 1 ? 1 : 2); return [t & 16383, t >> 14 & 1, t >> 15 & 1] } function ql(e, r, t) { var a = 2; if (t) { if (t.biff >= 2 && t.biff <= 5) return ec(e, r, t); else if (t.biff == 12) a = 4 } var n = e._R(a) , i = e._R(a); var s = Jl(e, 2); var f = Jl(e, 2); return { s: { r: n, c: s[0], cRel: s[1], rRel: s[2] }, e: { r: i, c: f[0], cRel: f[1], rRel: f[2] } } } function ec(e) { var r = Jl(e, 2) , t = Jl(e, 2); var a = e._R(1); var n = e._R(1); return { s: { r: r[0], c: a, cRel: r[1], rRel: r[2] }, e: { r: t[0], c: n, cRel: t[1], rRel: t[2] } } } function rc(e, r, t) { if (t.biff < 8) return ec(e, r, t); var a = e._R(t.biff == 12 ? 4 : 2) , n = e._R(t.biff == 12 ? 4 : 2); var i = Jl(e, 2); var s = Jl(e, 2); return { s: { r: a, c: i[0], cRel: i[1], rRel: i[2] }, e: { r: n, c: s[0], cRel: s[1], rRel: s[2] } } } function tc(e, r, t) { if (t && t.biff >= 2 && t.biff <= 5) return ac(e, r, t); var a = e._R(t && t.biff == 12 ? 4 : 2); var n = Jl(e, 2); return { r: a, c: n[0], cRel: n[1], rRel: n[2] } } function ac(e) { var r = Jl(e, 2); var t = e._R(1); return { r: r[0], c: t, cRel: r[1], rRel: r[2] } } function nc(e) { var r = e._R(2); var t = e._R(2); return { r: r, c: t & 255, fQuoted: !!(t & 16384), cRel: t >> 15, rRel: t >> 15 } } function ic(e, r, t) { var a = t && t.biff ? t.biff : 8; if (a >= 2 && a <= 5) return sc(e, r, t); var n = e._R(a >= 12 ? 4 : 2); var i = e._R(2); var s = (i & 16384) >> 14 , f = (i & 32768) >> 15; i &= 16383; if (f == 1) while (n > 524287) n -= 1048576; if (s == 1) while (i > 8191) i = i - 16384; return { r: n, c: i, cRel: s, rRel: f } } function sc(e) { var r = e._R(2); var t = e._R(1); var a = (r & 32768) >> 15 , n = (r & 16384) >> 14; r &= 16383; if (a == 1 && r >= 8192) r = r - 16384; if (n == 1 && t >= 128) t = t - 256; return { r: r, c: t, cRel: n, rRel: a } } function fc(e, r, t) { var a = (e[e.l++] & 96) >> 5; var n = ql(e, t.biff >= 2 && t.biff <= 5 ? 6 : 8, t); return [a, n] } function oc(e, r, t) { var a = (e[e.l++] & 96) >> 5; var n = e._R(2, "i"); var i = 8; if (t) switch (t.biff) { case 5: e.l += 12; i = 6; break; case 12: i = 12; break; } var s = ql(e, i, t); return [a, n, s] } function lc(e, r, t) { var a = (e[e.l++] & 96) >> 5; e.l += t && t.biff > 8 ? 12 : t.biff < 8 ? 6 : 8; return [a] } function cc(e, r, t) { var a = (e[e.l++] & 96) >> 5; var n = e._R(2); var i = 8; if (t) switch (t.biff) { case 5: e.l += 12; i = 6; break; case 12: i = 12; break; } e.l += i; return [a, n] } function hc(e, r, t) { var a = (e[e.l++] & 96) >> 5; var n = rc(e, r - 1, t); return [a, n] } function uc(e, r, t) { var a = (e[e.l++] & 96) >> 5; e.l += t.biff == 2 ? 6 : t.biff == 12 ? 14 : 7; return [a] } function dc(e) { var r = e[e.l + 1] & 1; var t = 1; e.l += 4; return [r, t] } function pc(e, r, t) { e.l += 2; var a = e._R(t && t.biff == 2 ? 1 : 2); var n = []; for (var i = 0; i <= a; ++i) n.push(e._R(t && t.biff == 2 ? 1 : 2)); return n } function vc(e, r, t) { var a = e[e.l + 1] & 255 ? 1 : 0; e.l += 2; return [a, e._R(t && t.biff == 2 ? 1 : 2)] } function gc(e, r, t) { var a = e[e.l + 1] & 255 ? 1 : 0; e.l += 2; return [a, e._R(t && t.biff == 2 ? 1 : 2)] } function mc(e) { var r = e[e.l + 1] & 255 ? 1 : 0; e.l += 2; return [r, e._R(2)] } function bc(e, r, t) { var a = e[e.l + 1] & 255 ? 1 : 0; e.l += t && t.biff == 2 ? 3 : 4; return [a] } function wc(e) { var r = e._R(1) , t = e._R(1); return [r, t] } function Cc(e) { e._R(2); return wc(e, 2) } function Ec(e) { e._R(2); return wc(e, 2) } function kc(e, r, t) { var a = (e[e.l] & 96) >> 5; e.l += 1; var n = tc(e, 0, t); return [a, n] } function Sc(e, r, t) { var a = (e[e.l] & 96) >> 5; e.l += 1; var n = ic(e, 0, t); return [a, n] } function Ac(e, r, t) { var a = (e[e.l] & 96) >> 5; e.l += 1; var n = e._R(2); if (t && t.biff == 5) e.l += 12; var i = tc(e, 0, t); return [a, n, i] } function _c(e, r, t) { var a = (e[e.l] & 96) >> 5; e.l += 1; var n = e._R(t && t.biff <= 3 ? 1 : 2); return [Uh[n], Mh[n], a] } function Bc(e, r, t) { var a = e[e.l++]; var n = e._R(1) , i = t && t.biff <= 3 ? [a == 88 ? -1 : 0, e._R(1)] : Tc(e); return [n, (i[0] === 0 ? Mh : Lh)[i[1]]] } function Tc(e) { return [e[e.l + 1] >> 7, e._R(2) & 32767] } function yc(e, r, t) { e.l += t && t.biff == 2 ? 3 : 4; return } function xc(e, r, t) { e.l++; if (t && t.biff == 12) return [e._R(4, "i"), 0]; var a = e._R(2); var n = e._R(t && t.biff == 2 ? 1 : 2); return [a, n] } function Ic(e) { e.l++; return jt[e._R(1)] } function Rc(e) { e.l++; return e._R(2) } function Dc(e) { e.l++; return e._R(1) !== 0 } function Oc(e) { e.l++; return Xt(e, 8) } function Fc(e, r, t) { e.l++; return Gn(e, r - 1, t) } function Pc(e, r) { var t = [e._R(1)]; if (r == 12) switch (t[0]) { case 2: t[0] = 4; break; case 4: t[0] = 16; break; case 0: t[0] = 1; break; case 1: t[0] = 2; break; } switch (t[0]) { case 4: t[1] = Mn(e, 1) ? "TRUE" : "FALSE"; if (r != 12) e.l += 7; break; case 37: ; case 16: t[1] = jt[e[e.l]]; e.l += r == 12 ? 4 : 8; break; case 0: e.l += 8; break; case 1: t[1] = Xt(e, 8); break; case 2: t[1] = $n(e, 0, { biff: r > 0 && r < 8 ? 2 : r }); break; default: throw new Error("Bad SerAr: " + t[0]); } return t } function Nc(e, r, t) { var a = e._R(t.biff == 12 ? 4 : 2); var n = []; for (var i = 0; i != a; ++i) n.push((t.biff == 12 ? Vt : di)(e, 8)); return n } function Lc(e, r, t) { var a = 0 , n = 0; if (t.biff == 12) { a = e._R(4); n = e._R(4) } else { n = 1 + e._R(1); a = 1 + e._R(2) } if (t.biff >= 2 && t.biff < 8) { --a; if (--n == 0) n = 256 } for (var i = 0, s = []; i != a && (s[i] = []); ++i) for (var f = 0; f != n; ++f) s[i][f] = Pc(e, t.biff); return s } function Mc(e, r, t) { var a = e._R(1) >>> 5 & 3; var n = !t || t.biff >= 8 ? 4 : 2; var i = e._R(n); switch (t.biff) { case 2: e.l += 5; break; case 3: ; case 4: e.l += 8; break; case 5: e.l += 12; break; } return [a, 0, i] } function Uc(e, r, t) { if (t.biff == 5) return Hc(e, r, t); var a = e._R(1) >>> 5 & 3; var n = e._R(2); var i = e._R(4); return [a, n, i] } function Hc(e) { var r = e._R(1) >>> 5 & 3; var t = e._R(2, "i"); e.l += 8; var a = e._R(2); e.l += 12; return [r, t, a] } function Wc(e, r, t) { var a = e._R(1) >>> 5 & 3; e.l += t && t.biff == 2 ? 3 : 4; var n = e._R(t && t.biff == 2 ? 1 : 2); return [a, n] } function Vc(e, r, t) { var a = e._R(1) >>> 5 & 3; var n = e._R(t && t.biff == 2 ? 1 : 2); return [a, n] } function zc(e, r, t) { var a = e._R(1) >>> 5 & 3; e.l += 4; if (t.biff < 8) e.l--; if (t.biff == 12) e.l += 2; return [a] } function Xc(e, r, t) { var a = (e[e.l++] & 96) >> 5; var n = e._R(2); var i = 4; if (t) switch (t.biff) { case 5: i = 15; break; case 12: i = 6; break; } e.l += i; return [a, n] } var Gc = Xr; var jc = Xr; var Kc = Xr; function Yc(e, r, t) { e.l += 2; return [nc(e, 4, t)] } function $c(e) { e.l += 6; return [] } var Zc = Yc; var Qc = $c; var Jc = $c; var qc = Yc; function eh(e) { e.l += 2; return [Hn(e), e._R(2) & 1] } var rh = Yc; var th = eh; var ah = $c; var nh = Yc; var ih = Yc; var sh = ["Data", "All", "Headers", "??", "?Data2", "??", "?DataHeaders", "??", "Totals", "??", "??", "??", "?DataTotals", "??", "??", "??", "?Current"]; function fh(e) { e.l += 2; var r = e._R(2); var t = e._R(2); var a = e._R(4); var n = e._R(2); var i = e._R(2); var s = sh[t >> 2 & 31]; return { ixti: r, coltype: t & 3, rt: s, idx: a, c: n, C: i } } function oh(e) { e.l += 2; return [e._R(4)] } function lh(e, r, t) { e.l += 5; e.l += 2; e.l += t.biff == 2 ? 1 : 4; return ["PTGSHEET"] } function ch(e, r, t) { e.l += t.biff == 2 ? 4 : 5; return ["PTGENDSHEET"] } function hh(e) { var r = e._R(1) >>> 5 & 3; var t = e._R(2); return [r, t] } function uh(e) { var r = e._R(1) >>> 5 & 3; var t = e._R(2); return [r, t] } function dh(e) { e.l += 4; return [0, 0] } var ph = { 1: { n: "PtgExp", f: xc }, 2: { n: "PtgTbl", f: Kc }, 3: { n: "PtgAdd", f: Ql }, 4: { n: "PtgSub", f: Ql }, 5: { n: "PtgMul", f: Ql }, 6: { n: "PtgDiv", f: Ql }, 7: { n: "PtgPower", f: Ql }, 8: { n: "PtgConcat", f: Ql }, 9: { n: "PtgLt", f: Ql }, 10: { n: "PtgLe", f: Ql }, 11: { n: "PtgEq", f: Ql }, 12: { n: "PtgGe", f: Ql }, 13: { n: "PtgGt", f: Ql }, 14: { n: "PtgNe", f: Ql }, 15: { n: "PtgIsect", f: Ql }, 16: { n: "PtgUnion", f: Ql }, 17: { n: "PtgRange", f: Ql }, 18: { n: "PtgUplus", f: Ql }, 19: { n: "PtgUminus", f: Ql }, 20: { n: "PtgPercent", f: Ql }, 21: { n: "PtgParen", f: Ql }, 22: { n: "PtgMissArg", f: Ql }, 23: { n: "PtgStr", f: Fc }, 26: { n: "PtgSheet", f: lh }, 27: { n: "PtgEndSheet", f: ch }, 28: { n: "PtgErr", f: Ic }, 29: { n: "PtgBool", f: Dc }, 30: { n: "PtgInt", f: Rc }, 31: { n: "PtgNum", f: Oc }, 32: { n: "PtgArray", f: uc }, 33: { n: "PtgFunc", f: _c }, 34: { n: "PtgFuncVar", f: Bc }, 35: { n: "PtgName", f: Mc }, 36: { n: "PtgRef", f: kc }, 37: { n: "PtgArea", f: fc }, 38: { n: "PtgMemArea", f: Wc }, 39: { n: "PtgMemErr", f: Gc }, 40: { n: "PtgMemNoMem", f: jc }, 41: { n: "PtgMemFunc", f: Vc }, 42: { n: "PtgRefErr", f: zc }, 43: { n: "PtgAreaErr", f: lc }, 44: { n: "PtgRefN", f: Sc }, 45: { n: "PtgAreaN", f: hc }, 46: { n: "PtgMemAreaN", f: hh }, 47: { n: "PtgMemNoMemN", f: uh }, 57: { n: "PtgNameX", f: Uc }, 58: { n: "PtgRef3d", f: Ac }, 59: { n: "PtgArea3d", f: oc }, 60: { n: "PtgRefErr3d", f: Xc }, 61: { n: "PtgAreaErr3d", f: cc }, 255: {} }; var vh = { 64: 32, 96: 32, 65: 33, 97: 33, 66: 34, 98: 34, 67: 35, 99: 35, 68: 36, 100: 36, 69: 37, 101: 37, 70: 38, 102: 38, 71: 39, 103: 39, 72: 40, 104: 40, 73: 41, 105: 41, 74: 42, 106: 42, 75: 43, 107: 43, 76: 44, 108: 44, 77: 45, 109: 45, 78: 46, 110: 46, 79: 47, 111: 47, 88: 34, 120: 34, 89: 57, 121: 57, 90: 58, 122: 58, 91: 59, 123: 59, 92: 60, 124: 60, 93: 61, 125: 61 }; (function() { for (var e in vh) ph[e] = ph[vh[e]] } )(); var gh = { 1: { n: "PtgElfLel", f: eh }, 2: { n: "PtgElfRw", f: nh }, 3: { n: "PtgElfCol", f: Zc }, 6: { n: "PtgElfRwV", f: ih }, 7: { n: "PtgElfColV", f: qc }, 10: { n: "PtgElfRadical", f: rh }, 11: { n: "PtgElfRadicalS", f: ah }, 13: { n: "PtgElfColS", f: Qc }, 15: { n: "PtgElfColSV", f: Jc }, 16: { n: "PtgElfRadicalLel", f: th }, 25: { n: "PtgList", f: fh }, 29: { n: "PtgSxName", f: oh }, 255: {} }; var mh = { 0: { n: "PtgAttrNoop", f: dh }, 1: { n: "PtgAttrSemi", f: bc }, 2: { n: "PtgAttrIf", f: gc }, 4: { n: "PtgAttrChoose", f: pc }, 8: { n: "PtgAttrGoto", f: vc }, 16: { n: "PtgAttrSum", f: yc }, 32: { n: "PtgAttrBaxcel", f: dc }, 64: { n: "PtgAttrSpace", f: Cc }, 65: { n: "PtgAttrSpaceSemi", f: Ec }, 128: { n: "PtgAttrIfError", f: mc }, 255: {} }; mh[33] = mh[32]; function bh(e, r, t, a) { if (a.biff < 8) return Xr(e, r); var n = e.l + r; var i = []; for (var s = 0; s !== t.length; ++s) { switch (t[s][0]) { case "PtgArray": t[s][1] = Lc(e, 0, a); i.push(t[s][1]); break; case "PtgMemArea": t[s][2] = Nc(e, t[s][1], a); i.push(t[s][2]); break; case "PtgExp": if (a && a.biff == 12) { t[s][1][1] = e._R(4); i.push(t[s][1]) } break; case "PtgList": ; case "PtgElfRadicalS": ; case "PtgElfColS": ; case "PtgElfColSV": throw "Unsupported " + t[s][0]; default: break; } } r = n - e.l; if (r !== 0) i.push(Xr(e, r)); return i } function wh(e, r, t) { var a = e.l + r; var n, i, s = []; while (a != e.l) { r = a - e.l; i = e[e.l]; n = ph[i]; if (i === 24 || i === 25) n = (i === 24 ? gh : mh)[e[e.l + 1]]; if (!n || !n.f) { Xr(e, r) } else { s.push([n.n, n.f(e, r, t)]) } } return s } function Ch(e) { var r = []; for (var t = 0; t < e.length; ++t) { var a = e[t] , n = []; for (var i = 0; i < a.length; ++i) { var s = a[i]; if (s) switch (s[0]) { case 2: n.push('"' + s[1].replace(/"/g, '""') + '"'); break; default: n.push(s[1]); } else n.push("") } r.push(n.join(",")) } return r.join(";") } var Eh = { PtgAdd: "+", PtgConcat: "&", PtgDiv: "/", PtgEq: "=", PtgGe: ">=", PtgGt: ">", PtgLe: "<=", PtgLt: "<", PtgMul: "*", PtgNe: "<>", PtgPower: "^", PtgSub: "-" }; function kh(e, r) { if (!e && !(r && r.biff <= 5 && r.biff >= 2)) throw new Error("empty sheet name"); if (e.indexOf(" ") > -1) return "'" + e + "'"; return e } function Sh(e, r, t) { if (!e) return "SH33TJSERR0"; if (!e.XTI) return "SH33TJSERR6"; var a = e.XTI[r]; if (t.biff > 8 && !e.XTI[r]) return e.SheetNames[r]; if (t.biff < 8) { if (r > 1e4) r -= 65536; if (r < 0) r = -r; return r == 0 ? "" : e.XTI[r - 1] } if (!a) return "SH33TJSERR1"; var n = ""; if (t.biff > 8) switch (e[a[0]][0]) { case 357: n = a[1] == -1 ? "#REF" : e.SheetNames[a[1]]; return a[1] == a[2] ? n : n + ":" + e.SheetNames[a[2]]; case 358: if (t.SID != null) return e.SheetNames[t.SID]; return "SH33TJSSAME" + e[a[0]][0]; case 355: ; default: return "SH33TJSSRC" + e[a[0]][0]; } switch (e[a[0]][0][0]) { case 1025: n = a[1] == -1 ? "#REF" : e.SheetNames[a[1]] || "SH33TJSERR3"; return a[1] == a[2] ? n : n + ":" + e.SheetNames[a[2]]; case 14849: return "SH33TJSERR8"; default: if (!e[a[0]][0][3]) return "SH33TJSERR2"; n = a[1] == -1 ? "#REF" : e[a[0]][0][3][a[1]] || "SH33TJSERR4"; return a[1] == a[2] ? n : n + ":" + e[a[0]][0][3][a[2]]; } } function Ah(e, r, t) { return kh(Sh(e, r, t), t) } function _h(e, r, t, a, n) { var i = n && n.biff || 8; var s = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } }; var f = [], o, l, c, h = 0, u = 0, d, p = ""; if (!e[0] || !e[0][0]) return ""; var v = -1 , g = ""; for (var m = 0, b = e[0].length; m < b; ++m) { var w = e[0][m]; switch (w[0]) { case "PtgUminus": f.push("-" + f.pop()); break; case "PtgUplus": f.push("+" + f.pop()); break; case "PtgPercent": f.push(f.pop() + "%"); break; case "PtgAdd": ; case "PtgConcat": ; case "PtgDiv": ; case "PtgEq": ; case "PtgGe": ; case "PtgGt": ; case "PtgLe": ; case "PtgLt": ; case "PtgMul": ; case "PtgNe": ; case "PtgPower": ; case "PtgSub": o = f.pop(); l = f.pop(); if (v >= 0) { switch (e[0][v][1][0]) { case 0: g = oe(" ", e[0][v][1][1]); break; case 1: g = oe("\r", e[0][v][1][1]); break; default: g = ""; if (n.WTF) throw new Error("Unexpected PtgAttrSpaceType " + e[0][v][1][0]); } l = l + g; v = -1 } f.push(l + Eh[w[0]] + o); break; case "PtgIsect": o = f.pop(); l = f.pop(); f.push(l + " " + o); break; case "PtgUnion": o = f.pop(); l = f.pop(); f.push(l + "," + o); break; case "PtgRange": o = f.pop(); l = f.pop(); f.push(l + ":" + o); break; case "PtgAttrChoose": break; case "PtgAttrGoto": break; case "PtgAttrIf": break; case "PtgAttrIfError": break; case "PtgRef": c = $r(w[1][1], s, n); f.push(Qr(c, i)); break; case "PtgRefN": c = t ? $r(w[1][1], t, n) : w[1][1]; f.push(Qr(c, i)); break; case "PtgRef3d": h = w[1][1]; c = $r(w[1][2], s, n); p = Ah(a, h, n); var C = p; f.push(p + "!" + Qr(c, i)); break; case "PtgFunc": ; case "PtgFuncVar": var E = w[1][0] , k = w[1][1]; if (!E) E = 0; E &= 127; var S = E == 0 ? [] : f.slice(-E); f.length -= E; if (k === "User") k = S.shift(); f.push(k + "(" + S.join(",") + ")"); break; case "PtgBool": f.push(w[1] ? "TRUE" : "FALSE"); break; case "PtgInt": f.push(w[1]); break; case "PtgNum": f.push(String(w[1])); break; case "PtgStr": f.push('"' + w[1] + '"'); break; case "PtgErr": f.push(w[1]); break; case "PtgAreaN": d = Zr(w[1][1], t ? { s: t } : s, n); f.push(Jr(d, n)); break; case "PtgArea": d = Zr(w[1][1], s, n); f.push(Jr(d, n)); break; case "PtgArea3d": h = w[1][1]; d = w[1][2]; p = Ah(a, h, n); f.push(p + "!" + Jr(d, n)); break; case "PtgAttrSum": f.push("SUM(" + f.pop() + ")"); break; case "PtgAttrBaxcel": ; case "PtgAttrSemi": break; case "PtgName": u = w[1][2]; var A = (a.names || [])[u - 1] || (a[0] || [])[u]; var _ = A ? A.Name : "SH33TJSNAME" + String(u); if (_ in Hh) _ = Hh[_]; f.push(_); break; case "PtgNameX": var B = w[1][1]; u = w[1][2]; var T; if (n.biff <= 5) { if (B < 0) B = -B; if (a[B]) T = a[B][u] } else { var y = ""; if (((a[B] || [])[0] || [])[0] == 14849) {} else if (((a[B] || [])[0] || [])[0] == 1025) { if (a[B][u] && a[B][u].itab > 0) { y = a.SheetNames[a[B][u].itab - 1] + "!" } } else y = a.SheetNames[u - 1] + "!"; if (a[B] && a[B][u]) y += a[B][u].Name; else if (a[0] && a[0][u]) y += a[0][u].Name; else y += "SH33TJSERRX"; f.push(y); break } if (!T) T = { Name: "SH33TJSERRY" }; f.push(T.Name); break; case "PtgParen": var x = "(" , I = ")"; if (v >= 0) { g = ""; switch (e[0][v][1][0]) { case 2: x = oe(" ", e[0][v][1][1]) + x; break; case 3: x = oe("\r", e[0][v][1][1]) + x; break; case 4: I = oe(" ", e[0][v][1][1]) + I; break; case 5: I = oe("\r", e[0][v][1][1]) + I; break; default: if (n.WTF) throw new Error("Unexpected PtgAttrSpaceType " + e[0][v][1][0]); } v = -1 } f.push(x + f.pop() + I); break; case "PtgRefErr": f.push("#REF!"); break; case "PtgRefErr3d": f.push("#REF!"); break; case "PtgExp": c = { c: w[1][1], r: w[1][0] }; var R = { c: t.c, r: t.r }; if (a.sharedf[ht(c)]) { var D = a.sharedf[ht(c)]; f.push(_h(D, s, R, a, n)) } else { var O = false; for (o = 0; o != a.arrayf.length; ++o) { l = a.arrayf[o]; if (c.c < l[0].s.c || c.c > l[0].e.c) continue; if (c.r < l[0].s.r || c.r > l[0].e.r) continue; f.push(_h(l[1], s, R, a, n)); O = true; break } if (!O) f.push(w[1]) } break; case "PtgArray": f.push("{" + Ch(w[1]) + "}"); break; case "PtgMemArea": break; case "PtgAttrSpace": ; case "PtgAttrSpaceSemi": v = m; break; case "PtgTbl": break; case "PtgMemErr": break; case "PtgMissArg": f.push(""); break; case "PtgAreaErr": f.push("#REF!"); break; case "PtgAreaErr3d": f.push("#REF!"); break; case "PtgList": f.push("Table" + w[1].idx + "[#" + w[1].rt + "]"); break; case "PtgMemAreaN": ; case "PtgMemNoMemN": ; case "PtgAttrNoop": ; case "PtgSheet": ; case "PtgEndSheet": break; case "PtgMemFunc": break; case "PtgMemNoMem": break; case "PtgElfCol": ; case "PtgElfColS": ; case "PtgElfColSV": ; case "PtgElfColV": ; case "PtgElfLel": ; case "PtgElfRadical": ; case "PtgElfRadicalLel": ; case "PtgElfRadicalS": ; case "PtgElfRw": ; case "PtgElfRwV": throw new Error("Unsupported ELFs"); case "PtgSxName": throw new Error("Unrecognized Formula Token: " + String(w)); default: throw new Error("Unrecognized Formula Token: " + String(w)); } var F = ["PtgAttrSpace", "PtgAttrSpaceSemi", "PtgAttrGoto"]; if (n.biff != 3) if (v >= 0 && F.indexOf(e[0][m][0]) == -1) { w = e[0][v]; var P = true; switch (w[1][0]) { case 4: P = false; case 0: g = oe(" ", w[1][1]); break; case 5: P = false; case 1: g = oe("\r", w[1][1]); break; default: g = ""; if (n.WTF) throw new Error("Unexpected PtgAttrSpaceType " + w[1][0]); } f.push((P ? g : "") + f.pop() + (P ? "" : g)); v = -1 } } if (f.length > 1 && n.WTF) throw new Error("bad formula stack"); return f[0] } function Bh(e, r, t) { var a = e.l + r , n = t.biff == 2 ? 1 : 2; var i, s = e._R(n); if (s == 65535) return [[], Xr(e, r - 2)]; var f = wh(e, s, t); if (r !== s + n) i = bh(e, r - s - n, f, t); e.l = a; return [f, i] } function Th(e, r, t) { var a = e.l + r , n = t.biff == 2 ? 1 : 2; var i, s = e._R(n); if (s == 65535) return [[], Xr(e, r - 2)]; var f = wh(e, s, t); if (r !== s + n) i = bh(e, r - s - n, f, t); e.l = a; return [f, i] } function yh(e, r, t, a) { var n = e.l + r; var i = wh(e, a, t); var s; if (n !== e.l) s = bh(e, n - e.l, i, t); return [i, s] } function xh(e, r, t) { var a = e.l + r; var n, i = e._R(2); var s = wh(e, i, t); if (i == 65535) return [[], Xr(e, r - 2)]; if (r !== i + 2) n = bh(e, a - i - 2, s, t); return [s, n] } function Ih(e) { var r; if (Dr(e, e.l + 6) !== 65535) return [Xt(e), "n"]; switch (e[e.l]) { case 0: e.l += 8; return ["String", "s"]; case 1: r = e[e.l + 2] === 1; e.l += 8; return [r, "b"]; case 2: r = e[e.l + 2]; e.l += 8; return [r, "e"]; case 3: e.l += 8; return ["", "s"]; } return [] } function Rh(e, r, t) { var a = e.l + r; var n = si(e, 6); if (t.biff == 2) ++e.l; var i = Ih(e, 8); var s = e._R(1); if (t.biff != 2) { e._R(1); if (t.biff >= 5) { e._R(4) } } var f = Th(e, a - e.l, t); return { cell: n, val: i[0], formula: f, shared: s >> 3 & 1, tt: i[1] } } function Dh(e, r, t) { var a = e._R(4); var n = wh(e, a, t); var i = e._R(4); var s = i > 0 ? bh(e, i, n, t) : null; return [n, s] } var Oh = Dh; var Fh = Dh; var Ph = Dh; var Nh = Dh; var Lh = { 0: "BEEP", 1: "OPEN", 2: "OPEN.LINKS", 3: "CLOSE.ALL", 4: "SAVE", 5: "SAVE.AS", 6: "FILE.DELETE", 7: "PAGE.SETUP", 8: "PRINT", 9: "PRINTER.SETUP", 10: "QUIT", 11: "NEW.WINDOW", 12: "ARRANGE.ALL", 13: "WINDOW.SIZE", 14: "WINDOW.MOVE", 15: "FULL", 16: "CLOSE", 17: "RUN", 22: "SET.PRINT.AREA", 23: "SET.PRINT.TITLES", 24: "SET.PAGE.BREAK", 25: "REMOVE.PAGE.BREAK", 26: "FONT", 27: "DISPLAY", 28: "PROTECT.DOCUMENT", 29: "PRECISION", 30: "A1.R1C1", 31: "CALCULATE.NOW", 32: "CALCULATION", 34: "DATA.FIND", 35: "EXTRACT", 36: "DATA.DELETE", 37: "SET.DATABASE", 38: "SET.CRITERIA", 39: "SORT", 40: "DATA.SERIES", 41: "TABLE", 42: "FORMAT.NUMBER", 43: "ALIGNMENT", 44: "STYLE", 45: "BORDER", 46: "CELL.PROTECTION", 47: "COLUMN.WIDTH", 48: "UNDO", 49: "CUT", 50: "COPY", 51: "PASTE", 52: "CLEAR", 53: "PASTE.SPECIAL", 54: "EDIT.DELETE", 55: "INSERT", 56: "FILL.RIGHT", 57: "FILL.DOWN", 61: "DEFINE.NAME", 62: "CREATE.NAMES", 63: "FORMULA.GOTO", 64: "FORMULA.FIND", 65: "SELECT.LAST.CELL", 66: "SHOW.ACTIVE.CELL", 67: "GALLERY.AREA", 68: "GALLERY.BAR", 69: "GALLERY.COLUMN", 70: "GALLERY.LINE", 71: "GALLERY.PIE", 72: "GALLERY.SCATTER", 73: "COMBINATION", 74: "PREFERRED", 75: "ADD.OVERLAY", 76: "GRIDLINES", 77: "SET.PREFERRED", 78: "AXES", 79: "LEGEND", 80: "ATTACH.TEXT", 81: "ADD.ARROW", 82: "SELECT.CHART", 83: "SELECT.PLOT.AREA", 84: "PATTERNS", 85: "MAIN.CHART", 86: "OVERLAY", 87: "SCALE", 88: "FORMAT.LEGEND", 89: "FORMAT.TEXT", 90: "EDIT.REPEAT", 91: "PARSE", 92: "JUSTIFY", 93: "HIDE", 94: "UNHIDE", 95: "WORKSPACE", 96: "FORMULA", 97: "FORMULA.FILL", 98: "FORMULA.ARRAY", 99: "DATA.FIND.NEXT", 100: "DATA.FIND.PREV", 101: "FORMULA.FIND.NEXT", 102: "FORMULA.FIND.PREV", 103: "ACTIVATE", 104: "ACTIVATE.NEXT", 105: "ACTIVATE.PREV", 106: "UNLOCKED.NEXT", 107: "UNLOCKED.PREV", 108: "COPY.PICTURE", 109: "SELECT", 110: "DELETE.NAME", 111: "DELETE.FORMAT", 112: "VLINE", 113: "HLINE", 114: "VPAGE", 115: "HPAGE", 116: "VSCROLL", 117: "HSCROLL", 118: "ALERT", 119: "NEW", 120: "CANCEL.COPY", 121: "SHOW.CLIPBOARD", 122: "MESSAGE", 124: "PASTE.LINK", 125: "APP.ACTIVATE", 126: "DELETE.ARROW", 127: "ROW.HEIGHT", 128: "FORMAT.MOVE", 129: "FORMAT.SIZE", 130: "FORMULA.REPLACE", 131: "SEND.KEYS", 132: "SELECT.SPECIAL", 133: "APPLY.NAMES", 134: "REPLACE.FONT", 135: "FREEZE.PANES", 136: "SHOW.INFO", 137: "SPLIT", 138: "ON.WINDOW", 139: "ON.DATA", 140: "DISABLE.INPUT", 142: "OUTLINE", 143: "LIST.NAMES", 144: "FILE.CLOSE", 145: "SAVE.WORKBOOK", 146: "DATA.FORM", 147: "COPY.CHART", 148: "ON.TIME", 149: "WAIT", 150: "FORMAT.FONT", 151: "FILL.UP", 152: "FILL.LEFT", 153: "DELETE.OVERLAY", 155: "SHORT.MENUS", 159: "SET.UPDATE.STATUS", 161: "COLOR.PALETTE", 162: "DELETE.STYLE", 163: "WINDOW.RESTORE", 164: "WINDOW.MAXIMIZE", 166: "CHANGE.LINK", 167: "CALCULATE.DOCUMENT", 168: "ON.KEY", 169: "APP.RESTORE", 170: "APP.MOVE", 171: "APP.SIZE", 172: "APP.MINIMIZE", 173: "APP.MAXIMIZE", 174: "BRING.TO.FRONT", 175: "SEND.TO.BACK", 185: "MAIN.CHART.TYPE", 186: "OVERLAY.CHART.TYPE", 187: "SELECT.END", 188: "OPEN.MAIL", 189: "SEND.MAIL", 190: "STANDARD.FONT", 191: "CONSOLIDATE", 192: "SORT.SPECIAL", 193: "GALLERY.3D.AREA", 194: "GALLERY.3D.COLUMN", 195: "GALLERY.3D.LINE", 196: "GALLERY.3D.PIE", 197: "VIEW.3D", 198: "GOAL.SEEK", 199: "WORKGROUP", 200: "FILL.GROUP", 201: "UPDATE.LINK", 202: "PROMOTE", 203: "DEMOTE", 204: "SHOW.DETAIL", 206: "UNGROUP", 207: "OBJECT.PROPERTIES", 208: "SAVE.NEW.OBJECT", 209: "SHARE", 210: "SHARE.NAME", 211: "DUPLICATE", 212: "APPLY.STYLE", 213: "ASSIGN.TO.OBJECT", 214: "OBJECT.PROTECTION", 215: "HIDE.OBJECT", 216: "SET.EXTRACT", 217: "CREATE.PUBLISHER", 218: "SUBSCRIBE.TO", 219: "ATTRIBUTES", 220: "SHOW.TOOLBAR", 222: "PRINT.PREVIEW", 223: "EDIT.COLOR", 224: "SHOW.LEVELS", 225: "FORMAT.MAIN", 226: "FORMAT.OVERLAY", 227: "ON.RECALC", 228: "EDIT.SERIES", 229: "DEFINE.STYLE", 240: "LINE.PRINT", 243: "ENTER.DATA", 249: "GALLERY.RADAR", 250: "MERGE.STYLES", 251: "EDITION.OPTIONS", 252: "PASTE.PICTURE", 253: "PASTE.PICTURE.LINK", 254: "SPELLING", 256: "ZOOM", 259: "INSERT.OBJECT", 260: "WINDOW.MINIMIZE", 265: "SOUND.NOTE", 266: "SOUND.PLAY", 267: "FORMAT.SHAPE", 268: "EXTEND.POLYGON", 269: "FORMAT.AUTO", 272: "GALLERY.3D.BAR", 273: "GALLERY.3D.SURFACE", 274: "FILL.AUTO", 276: "CUSTOMIZE.TOOLBAR", 277: "ADD.TOOL", 278: "EDIT.OBJECT", 279: "ON.DOUBLECLICK", 280: "ON.ENTRY", 281: "WORKBOOK.ADD", 282: "WORKBOOK.MOVE", 283: "WORKBOOK.COPY", 284: "WORKBOOK.OPTIONS", 285: "SAVE.WORKSPACE", 288: "CHART.WIZARD", 289: "DELETE.TOOL", 290: "MOVE.TOOL", 291: "WORKBOOK.SELECT", 292: "WORKBOOK.ACTIVATE", 293: "ASSIGN.TO.TOOL", 295: "COPY.TOOL", 296: "RESET.TOOL", 297: "CONSTRAIN.NUMERIC", 298: "PASTE.TOOL", 302: "WORKBOOK.NEW", 305: "SCENARIO.CELLS", 306: "SCENARIO.DELETE", 307: "SCENARIO.ADD", 308: "SCENARIO.EDIT", 309: "SCENARIO.SHOW", 310: "SCENARIO.SHOW.NEXT", 311: "SCENARIO.SUMMARY", 312: "PIVOT.TABLE.WIZARD", 313: "PIVOT.FIELD.PROPERTIES", 314: "PIVOT.FIELD", 315: "PIVOT.ITEM", 316: "PIVOT.ADD.FIELDS", 318: "OPTIONS.CALCULATION", 319: "OPTIONS.EDIT", 320: "OPTIONS.VIEW", 321: "ADDIN.MANAGER", 322: "MENU.EDITOR", 323: "ATTACH.TOOLBARS", 324: "VBAActivate", 325: "OPTIONS.CHART", 328: "VBA.INSERT.FILE", 330: "VBA.PROCEDURE.DEFINITION", 336: "ROUTING.SLIP", 338: "ROUTE.DOCUMENT", 339: "MAIL.LOGON", 342: "INSERT.PICTURE", 343: "EDIT.TOOL", 344: "GALLERY.DOUGHNUT", 350: "CHART.TREND", 352: "PIVOT.ITEM.PROPERTIES", 354: "WORKBOOK.INSERT", 355: "OPTIONS.TRANSITION", 356: "OPTIONS.GENERAL", 370: "FILTER.ADVANCED", 373: "MAIL.ADD.MAILER", 374: "MAIL.DELETE.MAILER", 375: "MAIL.REPLY", 376: "MAIL.REPLY.ALL", 377: "MAIL.FORWARD", 378: "MAIL.NEXT.LETTER", 379: "DATA.LABEL", 380: "INSERT.TITLE", 381: "FONT.PROPERTIES", 382: "MACRO.OPTIONS", 383: "WORKBOOK.HIDE", 384: "WORKBOOK.UNHIDE", 385: "WORKBOOK.DELETE", 386: "WORKBOOK.NAME", 388: "GALLERY.CUSTOM", 390: "ADD.CHART.AUTOFORMAT", 391: "DELETE.CHART.AUTOFORMAT", 392: "CHART.ADD.DATA", 393: "AUTO.OUTLINE", 394: "TAB.ORDER", 395: "SHOW.DIALOG", 396: "SELECT.ALL", 397: "UNGROUP.SHEETS", 398: "SUBTOTAL.CREATE", 399: "SUBTOTAL.REMOVE", 400: "RENAME.OBJECT", 412: "WORKBOOK.SCROLL", 413: "WORKBOOK.NEXT", 414: "WORKBOOK.PREV", 415: "WORKBOOK.TAB.SPLIT", 416: "FULL.SCREEN", 417: "WORKBOOK.PROTECT", 420: "SCROLLBAR.PROPERTIES", 421: "PIVOT.SHOW.PAGES", 422: "TEXT.TO.COLUMNS", 423: "FORMAT.CHARTTYPE", 424: "LINK.FORMAT", 425: "TRACER.DISPLAY", 430: "TRACER.NAVIGATE", 431: "TRACER.CLEAR", 432: "TRACER.ERROR", 433: "PIVOT.FIELD.GROUP", 434: "PIVOT.FIELD.UNGROUP", 435: "CHECKBOX.PROPERTIES", 436: "LABEL.PROPERTIES", 437: "LISTBOX.PROPERTIES", 438: "EDITBOX.PROPERTIES", 439: "PIVOT.REFRESH", 440: "LINK.COMBO", 441: "OPEN.TEXT", 442: "HIDE.DIALOG", 443: "SET.DIALOG.FOCUS", 444: "ENABLE.OBJECT", 445: "PUSHBUTTON.PROPERTIES", 446: "SET.DIALOG.DEFAULT", 447: "FILTER", 448: "FILTER.SHOW.ALL", 449: "CLEAR.OUTLINE", 450: "FUNCTION.WIZARD", 451: "ADD.LIST.ITEM", 452: "SET.LIST.ITEM", 453: "REMOVE.LIST.ITEM", 454: "SELECT.LIST.ITEM", 455: "SET.CONTROL.VALUE", 456: "SAVE.COPY.AS", 458: "OPTIONS.LISTS.ADD", 459: "OPTIONS.LISTS.DELETE", 460: "SERIES.AXES", 461: "SERIES.X", 462: "SERIES.Y", 463: "ERRORBAR.X", 464: "ERRORBAR.Y", 465: "FORMAT.CHART", 466: "SERIES.ORDER", 467: "MAIL.LOGOFF", 468: "CLEAR.ROUTING.SLIP", 469: "APP.ACTIVATE.MICROSOFT", 470: "MAIL.EDIT.MAILER", 471: "ON.SHEET", 472: "STANDARD.WIDTH", 473: "SCENARIO.MERGE", 474: "SUMMARY.INFO", 475: "FIND.FILE", 476: "ACTIVE.CELL.FONT", 477: "ENABLE.TIPWIZARD", 478: "VBA.MAKE.ADDIN", 480: "INSERTDATATABLE", 481: "WORKGROUP.OPTIONS", 482: "MAIL.SEND.MAILER", 485: "AUTOCORRECT", 489: "POST.DOCUMENT", 491: "PICKLIST", 493: "VIEW.SHOW", 494: "VIEW.DEFINE", 495: "VIEW.DELETE", 509: "SHEET.BACKGROUND", 510: "INSERT.MAP.OBJECT", 511: "OPTIONS.MENONO", 517: "MSOCHECKS", 518: "NORMAL", 519: "LAYOUT", 520: "RM.PRINT.AREA", 521: "CLEAR.PRINT.AREA", 522: "ADD.PRINT.AREA", 523: "MOVE.BRK", 545: "HIDECURR.NOTE", 546: "HIDEALL.NOTES", 547: "DELETE.NOTE", 548: "TRAVERSE.NOTES", 549: "ACTIVATE.NOTES", 620: "PROTECT.REVISIONS", 621: "UNPROTECT.REVISIONS", 647: "OPTIONS.ME", 653: "WEB.PUBLISH", 667: "NEWWEBQUERY", 673: "PIVOT.TABLE.CHART", 753: "OPTIONS.SAVE", 755: "OPTIONS.SPELL", 808: "HIDEALL.INKANNOTS" }; var Mh = { 0: "COUNT", 1: "IF", 2: "ISNA", 3: "ISERROR", 4: "SUM", 5: "AVERAGE", 6: "MIN", 7: "MAX", 8: "ROW", 9: "COLUMN", 10: "NA", 11: "NPV", 12: "STDEV", 13: "DOLLAR", 14: "FIXED", 15: "SIN", 16: "COS", 17: "TAN", 18: "ATAN", 19: "PI", 20: "SQRT", 21: "EXP", 22: "LN", 23: "LOG10", 24: "ABS", 25: "INT", 26: "SIGN", 27: "ROUND", 28: "LOOKUP", 29: "INDEX", 30: "REPT", 31: "MID", 32: "LEN", 33: "VALUE", 34: "TRUE", 35: "FALSE", 36: "AND", 37: "OR", 38: "NOT", 39: "MOD", 40: "DCOUNT", 41: "DSUM", 42: "DAVERAGE", 43: "DMIN", 44: "DMAX", 45: "DSTDEV", 46: "VAR", 47: "DVAR", 48: "TEXT", 49: "LINEST", 50: "TREND", 51: "LOGEST", 52: "GROWTH", 53: "GOTO", 54: "HALT", 55: "RETURN", 56: "PV", 57: "FV", 58: "NPER", 59: "PMT", 60: "RATE", 61: "MIRR", 62: "IRR", 63: "RAND", 64: "MATCH", 65: "DATE", 66: "TIME", 67: "DAY", 68: "MONTH", 69: "YEAR", 70: "WEEKDAY", 71: "HOUR", 72: "MINUTE", 73: "SECOND", 74: "NOW", 75: "AREAS", 76: "ROWS", 77: "COLUMNS", 78: "OFFSET", 79: "ABSREF", 80: "RELREF", 81: "ARGUMENT", 82: "SEARCH", 83: "TRANSPOSE", 84: "ERROR", 85: "STEP", 86: "TYPE", 87: "ECHO", 88: "SET.NAME", 89: "CALLER", 90: "DEREF", 91: "WINDOWS", 92: "SERIES", 93: "DOCUMENTS", 94: "ACTIVE.CELL", 95: "SELECTION", 96: "RESULT", 97: "ATAN2", 98: "ASIN", 99: "ACOS", 100: "CHOOSE", 101: "HLOOKUP", 102: "VLOOKUP", 103: "LINKS", 104: "INPUT", 105: "ISREF", 106: "GET.FORMULA", 107: "GET.NAME", 108: "SET.VALUE", 109: "LOG", 110: "EXEC", 111: "CHAR", 112: "LOWER", 113: "UPPER", 114: "PROPER", 115: "LEFT", 116: "RIGHT", 117: "EXACT", 118: "TRIM", 119: "REPLACE", 120: "SUBSTITUTE", 121: "CODE", 122: "NAMES", 123: "DIRECTORY", 124: "FIND", 125: "CELL", 126: "ISERR", 127: "ISTEXT", 128: "ISNUMBER", 129: "ISBLANK", 130: "T", 131: "N", 132: "FOPEN", 133: "FCLOSE", 134: "FSIZE", 135: "FREADLN", 136: "FREAD", 137: "FWRITELN", 138: "FWRITE", 139: "FPOS", 140: "DATEVALUE", 141: "TIMEVALUE", 142: "SLN", 143: "SYD", 144: "DDB", 145: "GET.DEF", 146: "REFTEXT", 147: "TEXTREF", 148: "INDIRECT", 149: "REGISTER", 150: "CALL", 151: "ADD.BAR", 152: "ADD.MENU", 153: "ADD.COMMAND", 154: "ENABLE.COMMAND", 155: "CHECK.COMMAND", 156: "RENAME.COMMAND", 157: "SHOW.BAR", 158: "DELETE.MENU", 159: "DELETE.COMMAND", 160: "GET.CHART.ITEM", 161: "DIALOG.BOX", 162: "CLEAN", 163: "MDETERM", 164: "MINVERSE", 165: "MMULT", 166: "FILES", 167: "IPMT", 168: "PPMT", 169: "COUNTA", 170: "CANCEL.KEY", 171: "FOR", 172: "WHILE", 173: "BREAK", 174: "NEXT", 175: "INITIATE", 176: "REQUEST", 177: "POKE", 178: "EXECUTE", 179: "TERMINATE", 180: "RESTART", 181: "HELP", 182: "GET.BAR", 183: "PRODUCT", 184: "FACT", 185: "GET.CELL", 186: "GET.WORKSPACE", 187: "GET.WINDOW", 188: "GET.DOCUMENT", 189: "DPRODUCT", 190: "ISNONTEXT", 191: "GET.NOTE", 192: "NOTE", 193: "STDEVP", 194: "VARP", 195: "DSTDEVP", 196: "DVARP", 197: "TRUNC", 198: "ISLOGICAL", 199: "DCOUNTA", 200: "DELETE.BAR", 201: "UNREGISTER", 204: "USDOLLAR", 205: "FINDB", 206: "SEARCHB", 207: "REPLACEB", 208: "LEFTB", 209: "RIGHTB", 210: "MIDB", 211: "LENB", 212: "ROUNDUP", 213: "ROUNDDOWN", 214: "ASC", 215: "DBCS", 216: "RANK", 219: "ADDRESS", 220: "DAYS360", 221: "TODAY", 222: "VDB", 223: "ELSE", 224: "ELSE.IF", 225: "END.IF", 226: "FOR.CELL", 227: "MEDIAN", 228: "SUMPRODUCT", 229: "SINH", 230: "COSH", 231: "TANH", 232: "ASINH", 233: "ACOSH", 234: "ATANH", 235: "DGET", 236: "CREATE.OBJECT", 237: "VOLATILE", 238: "LAST.ERROR", 239: "CUSTOM.UNDO", 240: "CUSTOM.REPEAT", 241: "FORMULA.CONVERT", 242: "GET.LINK.INFO", 243: "TEXT.BOX", 244: "INFO", 245: "GROUP", 246: "GET.OBJECT", 247: "DB", 248: "PAUSE", 251: "RESUME", 252: "FREQUENCY", 253: "ADD.TOOLBAR", 254: "DELETE.TOOLBAR", 255: "User", 256: "RESET.TOOLBAR", 257: "EVALUATE", 258: "GET.TOOLBAR", 259: "GET.TOOL", 260: "SPELLING.CHECK", 261: "ERROR.TYPE", 262: "APP.TITLE", 263: "WINDOW.TITLE", 264: "SAVE.TOOLBAR", 265: "ENABLE.TOOL", 266: "PRESS.TOOL", 267: "REGISTER.ID", 268: "GET.WORKBOOK", 269: "AVEDEV", 270: "BETADIST", 271: "GAMMALN", 272: "BETAINV", 273: "BINOMDIST", 274: "CHIDIST", 275: "CHIINV", 276: "COMBIN", 277: "CONFIDENCE", 278: "CRITBINOM", 279: "EVEN", 280: "EXPONDIST", 281: "FDIST", 282: "FINV", 283: "FISHER", 284: "FISHERINV", 285: "FLOOR", 286: "GAMMADIST", 287: "GAMMAINV", 288: "CEILING", 289: "HYPGEOMDIST", 290: "LOGNORMDIST", 291: "LOGINV", 292: "NEGBINOMDIST", 293: "NORMDIST", 294: "NORMSDIST", 295: "NORMINV", 296: "NORMSINV", 297: "STANDARDIZE", 298: "ODD", 299: "PERMUT", 300: "POISSON", 301: "TDIST", 302: "WEIBULL", 303: "SUMXMY2", 304: "SUMX2MY2", 305: "SUMX2PY2", 306: "CHITEST", 307: "CORREL", 308: "COVAR", 309: "FORECAST", 310: "FTEST", 311: "INTERCEPT", 312: "PEARSON", 313: "RSQ", 314: "STEYX", 315: "SLOPE", 316: "TTEST", 317: "PROB", 318: "DEVSQ", 319: "GEOMEAN", 320: "HARMEAN", 321: "SUMSQ", 322: "KURT", 323: "SKEW", 324: "ZTEST", 325: "LARGE", 326: "SMALL", 327: "QUARTILE", 328: "PERCENTILE", 329: "PERCENTRANK", 330: "MODE", 331: "TRIMMEAN", 332: "TINV", 334: "MOVIE.COMMAND", 335: "GET.MOVIE", 336: "CONCATENATE", 337: "POWER", 338: "PIVOT.ADD.DATA", 339: "GET.PIVOT.TABLE", 340: "GET.PIVOT.FIELD", 341: "GET.PIVOT.ITEM", 342: "RADIANS", 343: "DEGREES", 344: "SUBTOTAL", 345: "SUMIF", 346: "COUNTIF", 347: "COUNTBLANK", 348: "SCENARIO.GET", 349: "OPTIONS.LISTS.GET", 350: "ISPMT", 351: "DATEDIF", 352: "DATESTRING", 353: "NUMBERSTRING", 354: "ROMAN", 355: "OPEN.DIALOG", 356: "SAVE.DIALOG", 357: "VIEW.GET", 358: "GETPIVOTDATA", 359: "HYPERLINK", 360: "PHONETIC", 361: "AVERAGEA", 362: "MAXA", 363: "MINA", 364: "STDEVPA", 365: "VARPA", 366: "STDEVA", 367: "VARA", 368: "BAHTTEXT", 369: "THAIDAYOFWEEK", 370: "THAIDIGIT", 371: "THAIMONTHOFYEAR", 372: "THAINUMSOUND", 373: "THAINUMSTRING", 374: "THAISTRINGLENGTH", 375: "ISTHAIDIGIT", 376: "ROUNDBAHTDOWN", 377: "ROUNDBAHTUP", 378: "THAIYEAR", 379: "RTD", 380: "CUBEVALUE", 381: "CUBEMEMBER", 382: "CUBEMEMBERPROPERTY", 383: "CUBERANKEDMEMBER", 384: "HEX2BIN", 385: "HEX2DEC", 386: "HEX2OCT", 387: "DEC2BIN", 388: "DEC2HEX", 389: "DEC2OCT", 390: "OCT2BIN", 391: "OCT2HEX", 392: "OCT2DEC", 393: "BIN2DEC", 394: "BIN2OCT", 395: "BIN2HEX", 396: "IMSUB", 397: "IMDIV", 398: "IMPOWER", 399: "IMABS", 400: "IMSQRT", 401: "IMLN", 402: "IMLOG2", 403: "IMLOG10", 404: "IMSIN", 405: "IMCOS", 406: "IMEXP", 407: "IMARGUMENT", 408: "IMCONJUGATE", 409: "IMAGINARY", 410: "IMREAL", 411: "COMPLEX", 412: "IMSUM", 413: "IMPRODUCT", 414: "SERIESSUM", 415: "FACTDOUBLE", 416: "SQRTPI", 417: "QUOTIENT", 418: "DELTA", 419: "GESTEP", 420: "ISEVEN", 421: "ISODD", 422: "MROUND", 423: "ERF", 424: "ERFC", 425: "BESSELJ", 426: "BESSELK", 427: "BESSELY", 428: "BESSELI", 429: "XIRR", 430: "XNPV", 431: "PRICEMAT", 432: "YIELDMAT", 433: "INTRATE", 434: "RECEIVED", 435: "DISC", 436: "PRICEDISC", 437: "YIELDDISC", 438: "TBILLEQ", 439: "TBILLPRICE", 440: "TBILLYIELD", 441: "PRICE", 442: "YIELD", 443: "DOLLARDE", 444: "DOLLARFR", 445: "NOMINAL", 446: "EFFECT", 447: "CUMPRINC", 448: "CUMIPMT", 449: "EDATE", 450: "EOMONTH", 451: "YEARFRAC", 452: "COUPDAYBS", 453: "COUPDAYS", 454: "COUPDAYSNC", 455: "COUPNCD", 456: "COUPNUM", 457: "COUPPCD", 458: "DURATION", 459: "MDURATION", 460: "ODDLPRICE", 461: "ODDLYIELD", 462: "ODDFPRICE", 463: "ODDFYIELD", 464: "RANDBETWEEN", 465: "WEEKNUM", 466: "AMORDEGRC", 467: "AMORLINC", 468: "CONVERT", 724: "SHEETJS", 469: "ACCRINT", 470: "ACCRINTM", 471: "WORKDAY", 472: "NETWORKDAYS", 473: "GCD", 474: "MULTINOMIAL", 475: "LCM", 476: "FVSCHEDULE", 477: "CUBEKPIMEMBER", 478: "CUBESET", 479: "CUBESETCOUNT", 480: "IFERROR", 481: "COUNTIFS", 482: "SUMIFS", 483: "AVERAGEIF", 484: "AVERAGEIFS" }; var Uh = { 2: 1, 3: 1, 10: 0, 15: 1, 16: 1, 17: 1, 18: 1, 19: 0, 20: 1, 21: 1, 22: 1, 23: 1, 24: 1, 25: 1, 26: 1, 27: 2, 30: 2, 31: 3, 32: 1, 33: 1, 34: 0, 35: 0, 38: 1, 39: 2, 40: 3, 41: 3, 42: 3, 43: 3, 44: 3, 45: 3, 47: 3, 48: 2, 53: 1, 61: 3, 63: 0, 65: 3, 66: 3, 67: 1, 68: 1, 69: 1, 70: 1, 71: 1, 72: 1, 73: 1, 74: 0, 75: 1, 76: 1, 77: 1, 79: 2, 80: 2, 83: 1, 85: 0, 86: 1, 89: 0, 90: 1, 94: 0, 95: 0, 97: 2, 98: 1, 99: 1, 101: 3, 102: 3, 105: 1, 106: 1, 108: 2, 111: 1, 112: 1, 113: 1, 114: 1, 117: 2, 118: 1, 119: 4, 121: 1, 126: 1, 127: 1, 128: 1, 129: 1, 130: 1, 131: 1, 133: 1, 134: 1, 135: 1, 136: 2, 137: 2, 138: 2, 140: 1, 141: 1, 142: 3, 143: 4, 144: 4, 161: 1, 162: 1, 163: 1, 164: 1, 165: 2, 172: 1, 175: 2, 176: 2, 177: 3, 178: 2, 179: 1, 184: 1, 186: 1, 189: 3, 190: 1, 195: 3, 196: 3, 197: 1, 198: 1, 199: 3, 201: 1, 207: 4, 210: 3, 211: 1, 212: 2, 213: 2, 214: 1, 215: 1, 225: 0, 229: 1, 230: 1, 231: 1, 232: 1, 233: 1, 234: 1, 235: 3, 244: 1, 247: 4, 252: 2, 257: 1, 261: 1, 271: 1, 273: 4, 274: 2, 275: 2, 276: 2, 277: 3, 278: 3, 279: 1, 280: 3, 281: 3, 282: 3, 283: 1, 284: 1, 285: 2, 286: 4, 287: 3, 288: 2, 289: 4, 290: 3, 291: 3, 292: 3, 293: 4, 294: 1, 295: 3, 296: 1, 297: 3, 298: 1, 299: 2, 300: 3, 301: 3, 302: 4, 303: 2, 304: 2, 305: 2, 306: 2, 307: 2, 308: 2, 309: 3, 310: 2, 311: 2, 312: 2, 313: 2, 314: 2, 315: 2, 316: 4, 325: 2, 326: 2, 327: 2, 328: 2, 331: 2, 332: 2, 337: 2, 342: 1, 343: 1, 346: 2, 347: 1, 350: 4, 351: 3, 352: 1, 353: 2, 360: 1, 368: 1, 369: 1, 370: 1, 371: 1, 372: 1, 373: 1, 374: 1, 375: 1, 376: 1, 377: 1, 378: 1, 382: 3, 385: 1, 392: 1, 393: 1, 396: 2, 397: 2, 398: 2, 399: 1, 400: 1, 401: 1, 402: 1, 403: 1, 404: 1, 405: 1, 406: 1, 407: 1, 408: 1, 409: 1, 410: 1, 414: 4, 415: 1, 416: 1, 417: 2, 420: 1, 421: 1, 422: 2, 424: 1, 425: 2, 426: 2, 427: 2, 428: 2, 430: 3, 438: 3, 439: 3, 440: 3, 443: 2, 444: 2, 445: 2, 446: 2, 447: 6, 448: 6, 449: 2, 450: 2, 464: 2, 468: 3, 476: 2, 479: 1, 480: 2, 65535: 0 }; var Hh = { "_xlfn.ACOT": "ACOT", "_xlfn.ACOTH": "ACOTH", "_xlfn.AGGREGATE": "AGGREGATE", "_xlfn.ARABIC": "ARABIC", "_xlfn.AVERAGEIF": "AVERAGEIF", "_xlfn.AVERAGEIFS": "AVERAGEIFS", "_xlfn.BASE": "BASE", "_xlfn.BETA.DIST": "BETA.DIST", "_xlfn.BETA.INV": "BETA.INV", "_xlfn.BINOM.DIST": "BINOM.DIST", "_xlfn.BINOM.DIST.RANGE": "BINOM.DIST.RANGE", "_xlfn.BINOM.INV": "BINOM.INV", "_xlfn.BITAND": "BITAND", "_xlfn.BITLSHIFT": "BITLSHIFT", "_xlfn.BITOR": "BITOR", "_xlfn.BITRSHIFT": "BITRSHIFT", "_xlfn.BITXOR": "BITXOR", "_xlfn.CEILING.MATH": "CEILING.MATH", "_xlfn.CEILING.PRECISE": "CEILING.PRECISE", "_xlfn.CHISQ.DIST": "CHISQ.DIST", "_xlfn.CHISQ.DIST.RT": "CHISQ.DIST.RT", "_xlfn.CHISQ.INV": "CHISQ.INV", "_xlfn.CHISQ.INV.RT": "CHISQ.INV.RT", "_xlfn.CHISQ.TEST": "CHISQ.TEST", "_xlfn.COMBINA": "COMBINA", "_xlfn.CONCAT": "CONCAT", "_xlfn.CONFIDENCE.NORM": "CONFIDENCE.NORM", "_xlfn.CONFIDENCE.T": "CONFIDENCE.T", "_xlfn.COT": "COT", "_xlfn.COTH": "COTH", "_xlfn.COUNTIFS": "COUNTIFS", "_xlfn.COVARIANCE.P": "COVARIANCE.P", "_xlfn.COVARIANCE.S": "COVARIANCE.S", "_xlfn.CSC": "CSC", "_xlfn.CSCH": "CSCH", "_xlfn.DAYS": "DAYS", "_xlfn.DECIMAL": "DECIMAL", "_xlfn.ECMA.CEILING": "ECMA.CEILING", "_xlfn.ERF.PRECISE": "ERF.PRECISE", "_xlfn.ERFC.PRECISE": "ERFC.PRECISE", "_xlfn.EXPON.DIST": "EXPON.DIST", "_xlfn.F.DIST": "F.DIST", "_xlfn.F.DIST.RT": "F.DIST.RT", "_xlfn.F.INV": "F.INV", "_xlfn.F.INV.RT": "F.INV.RT", "_xlfn.F.TEST": "F.TEST", "_xlfn.FILTERXML": "FILTERXML", "_xlfn.FLOOR.MATH": "FLOOR.MATH", "_xlfn.FLOOR.PRECISE": "FLOOR.PRECISE", "_xlfn.FORECAST.ETS": "FORECAST.ETS", "_xlfn.FORECAST.ETS.CONFINT": "FORECAST.ETS.CONFINT", "_xlfn.FORECAST.ETS.SEASONALITY": "FORECAST.ETS.SEASONALITY", "_xlfn.FORECAST.ETS.STAT": "FORECAST.ETS.STAT", "_xlfn.FORECAST.LINEAR": "FORECAST.LINEAR", "_xlfn.FORMULATEXT": "FORMULATEXT", "_xlfn.GAMMA": "GAMMA", "_xlfn.GAMMA.DIST": "GAMMA.DIST", "_xlfn.GAMMA.INV": "GAMMA.INV", "_xlfn.GAMMALN.PRECISE": "GAMMALN.PRECISE", "_xlfn.GAUSS": "GAUSS", "_xlfn.HYPGEOM.DIST": "HYPGEOM.DIST", "_xlfn.IFERROR": "IFERROR", "_xlfn.IFNA": "IFNA", "_xlfn.IFS": "IFS", "_xlfn.IMCOSH": "IMCOSH", "_xlfn.IMCOT": "IMCOT", "_xlfn.IMCSC": "IMCSC", "_xlfn.IMCSCH": "IMCSCH", "_xlfn.IMSEC": "IMSEC", "_xlfn.IMSECH": "IMSECH", "_xlfn.IMSINH": "IMSINH", "_xlfn.IMTAN": "IMTAN", "_xlfn.ISFORMULA": "ISFORMULA", "_xlfn.ISO.CEILING": "ISO.CEILING", "_xlfn.ISOWEEKNUM": "ISOWEEKNUM", "_xlfn.LOGNORM.DIST": "LOGNORM.DIST", "_xlfn.LOGNORM.INV": "LOGNORM.INV", "_xlfn.MAXIFS": "MAXIFS", "_xlfn.MINIFS": "MINIFS", "_xlfn.MODE.MULT": "MODE.MULT", "_xlfn.MODE.SNGL": "MODE.SNGL", "_xlfn.MUNIT": "MUNIT", "_xlfn.NEGBINOM.DIST": "NEGBINOM.DIST", "_xlfn.NETWORKDAYS.INTL": "NETWORKDAYS.INTL", "_xlfn.NIGBINOM": "NIGBINOM", "_xlfn.NORM.DIST": "NORM.DIST", "_xlfn.NORM.INV": "NORM.INV", "_xlfn.NORM.S.DIST": "NORM.S.DIST", "_xlfn.NORM.S.INV": "NORM.S.INV", "_xlfn.NUMBERVALUE": "NUMBERVALUE", "_xlfn.PDURATION": "PDURATION", "_xlfn.PERCENTILE.EXC": "PERCENTILE.EXC", "_xlfn.PERCENTILE.INC": "PERCENTILE.INC", "_xlfn.PERCENTRANK.EXC": "PERCENTRANK.EXC", "_xlfn.PERCENTRANK.INC": "PERCENTRANK.INC", "_xlfn.PERMUTATIONA": "PERMUTATIONA", "_xlfn.PHI": "PHI", "_xlfn.POISSON.DIST": "POISSON.DIST", "_xlfn.QUARTILE.EXC": "QUARTILE.EXC", "_xlfn.QUARTILE.INC": "QUARTILE.INC", "_xlfn.QUERYSTRING": "QUERYSTRING", "_xlfn.RANK.AVG": "RANK.AVG", "_xlfn.RANK.EQ": "RANK.EQ", "_xlfn.RRI": "RRI", "_xlfn.SEC": "SEC", "_xlfn.SECH": "SECH", "_xlfn.SHEET": "SHEET", "_xlfn.SHEETS": "SHEETS", "_xlfn.SKEW.P": "SKEW.P", "_xlfn.STDEV.P": "STDEV.P", "_xlfn.STDEV.S": "STDEV.S", "_xlfn.SUMIFS": "SUMIFS", "_xlfn.SWITCH": "SWITCH", "_xlfn.T.DIST": "T.DIST", "_xlfn.T.DIST.2T": "T.DIST.2T", "_xlfn.T.DIST.RT": "T.DIST.RT", "_xlfn.T.INV": "T.INV", "_xlfn.T.INV.2T": "T.INV.2T", "_xlfn.T.TEST": "T.TEST", "_xlfn.TEXTJOIN": "TEXTJOIN", "_xlfn.UNICHAR": "UNICHAR", "_xlfn.UNICODE": "UNICODE", "_xlfn.VAR.P": "VAR.P", "_xlfn.VAR.S": "VAR.S", "_xlfn.WEBSERVICE": "WEBSERVICE", "_xlfn.WEIBULL.DIST": "WEIBULL.DIST", "_xlfn.WORKDAY.INTL": "WORKDAY.INTL", "_xlfn.XOR": "XOR", "_xlfn.Z.TEST": "Z.TEST" }; function Wh(e) { if (e.slice(0, 3) == "of:") e = e.slice(3); if (e.charCodeAt(0) == 61) { e = e.slice(1); if (e.charCodeAt(0) == 61) e = e.slice(1) } e = e.replace(/COM\.MICROSOFT\./g, ""); e = e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g, function(e, r) { return r.replace(/\./g, "") }); e = e.replace(/\[.(#[A-Z]*[?!])\]/g, "$1"); return e.replace(/[;~]/g, ",").replace(/\|/g, ";") } function Vh(e) { var r = "of:=" + e.replace(Gl, "$1[.$2$3$4$5]").replace(/\]:\[/g, ":"); return r.replace(/;/g, "|").replace(/,/g, ";") } function zh(e) { var r = e.split(":"); var t = r[0].split(".")[0]; return [t, r[0].split(".")[1] + (r.length > 1 ? ":" + (r[1].split(".")[1] || r[1].split(".")[0]) : "")] } function Xh(e) { return e.replace(/\./, "!") } var Gh = {}; var jh = {}; Ra.WS = ["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet", "http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"]; var Kh = typeof Map !== "undefined"; function Yh(e, r, t) { var a = 0 , n = e.length; if (t) { if (Kh ? t.has(r) : t.hasOwnProperty(r)) { var i = Kh ? t.get(r) : t[r]; for (; a < i.length; ++a) { if (e[i[a]].t === r) { e.Count++; return i[a] } } } } else for (; a < n; ++a) { if (e[a].t === r) { e.Count++; return a } } e[n] = { t: r }; e.Count++; e.Unique++; if (t) { if (Kh) { if (!t.has(r)) t.set(r, []); t.get(r).push(n) } else { if (!t.hasOwnProperty(r)) t[r] = []; t[r].push(n) } } return n } function $h(e, r) { var t = { min: e + 1, max: e + 1 }; var a = -1; if (r.MDW) ro = r.MDW; if (r.width != null) t.customWidth = 1; else if (r.wpx != null) a = ao(r.wpx); else if (r.wch != null) a = r.wch; if (a > -1) { t.width = no(a); t.customWidth = 1 } else if (r.width != null) t.width = r.width; if (r.hidden) t.hidden = true; return t } function Zh(e, r) { if (!e) return; var t = [.7, .7, .75, .75, .3, .3]; if (r == "xlml") t = [1, 1, 1, 1, .5, .5]; if (e.left == null) e.left = t[0]; if (e.right == null) e.right = t[1]; if (e.top == null) e.top = t[2]; if (e.bottom == null) e.bottom = t[3]; if (e.header == null) e.header = t[4]; if (e.footer == null) e.footer = t[5] } function Qh(e, r, t) { var a = t.revssf[r.z != null ? r.z : "General"]; var n = 60 , i = e.length; if (a == null && t.ssf) { for (; n < 392; ++n) if (t.ssf[n] == null) { D.load(r.z, n); t.ssf[n] = r.z; t.revssf[r.z] = a = n; break } } for (n = 0; n != i; ++n) if (e[n].numFmtId === a) return n; e[i] = { numFmtId: a, fontId: 0, fillId: 0, borderId: 0, xfId: 0, applyNumberFormat: 1 }; return i } function Jh(e, r, t, a, n, i) { if (e.t === "z") return; if (e.t === "d" && typeof e.v === "string") e.v = ie(e.v); try { if (a.cellNF) e.z = D._table[r] } catch (s) { if (a.WTF) throw s } if (!a || a.cellText !== false) try { if (D._table[r] == null) D.load(P[r] || "General", r); if (e.t === "e") e.w = e.w || jt[e.v]; else if (r === 0) { if (e.t === "n") { if ((e.v | 0) === e.v) e.w = D._general_int(e.v); else e.w = D._general_num(e.v) } else if (e.t === "d") { var f = ee(e.v); if ((f | 0) === f) e.w = D._general_int(f); else e.w = D._general_num(f) } else if (e.v === undefined) return ""; else e.w = D._general(e.v, jh) } else if (e.t === "d") e.w = D.format(r, ee(e.v), jh); else e.w = D.format(r, e.v, jh) } catch (s) { if (a.WTF) throw s } if (!a.cellStyles) return; if (t != null) try { e.s = i.Fills[t]; if (e.s.fgColor && e.s.fgColor.theme && !e.s.fgColor.rgb) { e.s.fgColor.rgb = Qf(n.themeElements.clrScheme[e.s.fgColor.theme].rgb, e.s.fgColor.tint || 0); if (a.WTF) e.s.fgColor.raw_rgb = n.themeElements.clrScheme[e.s.fgColor.theme].rgb } if (e.s.bgColor && e.s.bgColor.theme) { e.s.bgColor.rgb = Qf(n.themeElements.clrScheme[e.s.bgColor.theme].rgb, e.s.bgColor.tint || 0); if (a.WTF) e.s.bgColor.raw_rgb = n.themeElements.clrScheme[e.s.bgColor.theme].rgb } } catch (s) { if (a.WTF && i.Fills) throw s } } function qh(e, r, t) { if (e && e["!ref"]) { var a = pt(e["!ref"]); if (a.e.c < a.s.c || a.e.r < a.s.r) throw new Error("Bad range (" + t + "): " + e["!ref"]) } } function eu(e, r) { var t = pt(r); if (t.s.r <= t.e.r && t.s.c <= t.e.c && t.s.r >= 0 && t.s.c >= 0) e["!ref"] = dt(t) } var ru = /<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g; var tu = /<(?:\w+:)?sheetData>([\s\S]*)<\/(?:\w+:)?sheetData>/; var au = /<(?:\w:)?hyperlink [^>]*>/gm; var nu = /"(\w*:\w*)"/; var iu = /<(?:\w:)?col[^>]*[\/]?>/g; var su = /<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g; var fu = /<(?:\w:)?pageMargins[^>]*\/>/g; var ou = /<(?:\w:)?sheetPr(?:[^>a-z][^>]*)?\/>/; var lu = /<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/; function cu(e, r, t, a, n, i, s) { if (!e) return e; if (v != null && r.dense == null) r.dense = v; var f = r.dense ? [] : {}; var o = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }; var l = "" , c = ""; var h = e.match(tu); if (h) { l = e.slice(0, h.index); c = e.slice(h.index + h[0].length) } else l = c = e; var u = l.match(ou); if (u) uu(u[0], f, n, t); var d = (l.match(/<(?:\w*:)?dimension/) || { index: -1 }).index; if (d > 0) { var p = l.slice(d, d + 50).match(nu); if (p) eu(f, p[1]) } var g = l.match(lu); if (g && g[1]) ku(g[1], n); var m = []; if (r.cellStyles) { var b = l.match(iu); if (b) mu(m, b) } if (h) _u(h[1], f, r, o, i, s); var w = c.match(su); if (w) f["!autofilter"] = wu(w[0]); var C = []; var E = c.match(ru); if (E) for (d = 0; d != E.length; ++d) C[d] = pt(E[d].slice(E[d].indexOf('"') + 1)); var k = c.match(au); if (k) pu(f, k, a); var S = c.match(fu); if (S) f["!margins"] = vu(ye(S[0])); if (!f["!ref"] && o.e.c >= o.s.c && o.e.r >= o.s.r) f["!ref"] = dt(o); if (r.sheetRows > 0 && f["!ref"]) { var A = pt(f["!ref"]); if (r.sheetRows <= +A.e.r) { A.e.r = r.sheetRows - 1; if (A.e.r > o.e.r) A.e.r = o.e.r; if (A.e.r < A.s.r) A.s.r = A.e.r; if (A.e.c > o.e.c) A.e.c = o.e.c; if (A.e.c < A.s.c) A.s.c = A.e.c; f["!fullref"] = f["!ref"]; f["!ref"] = dt(A) } } if (m.length > 0) f["!cols"] = m; if (C.length > 0) f["!merges"] = C; return f } function hu(e) { if (e.length === 0) return ""; var r = ''; for (var t = 0; t != e.length; ++t) r += ''; return r + "" } function uu(e, r, t, a) { var n = ye(e); if (!t.Sheets[a]) t.Sheets[a] = {}; if (n.codeName) t.Sheets[a].CodeName = n.codeName } function du(e) { var r = { sheet: 1 }; var t = ["objects", "scenarios", "selectLockedCells", "selectUnlockedCells"]; var a = ["formatColumns", "formatRows", "formatCells", "insertColumns", "insertRows", "insertHyperlinks", "deleteColumns", "deleteRows", "sort", "autoFilter", "pivotTables"]; t.forEach(function(t) { if (e[t] != null && e[t]) r[t] = "1" }); a.forEach(function(t) { if (e[t] != null && !e[t]) r[t] = "0" }); if (e.password) r.password = Uf(e.password).toString(16).toUpperCase(); return ar("sheetProtection", null, r) } function pu(e, r, t) { var a = Array.isArray(e); for (var n = 0; n != r.length; ++n) { var i = ye(ze(r[n]), true); if (!i.ref) return; var s = ((t || {})["!id"] || [])[i.id]; if (s) { i.Target = s.Target; if (i.location) i.Target += "#" + i.location } else { i.Target = "#" + i.location; s = { Target: i.Target, TargetMode: "Internal" } } i.Rel = s; if (i.tooltip) { i.Tooltip = i.tooltip; delete i.tooltip } var f = pt(i.ref); for (var o = f.s.r; o <= f.e.r; ++o) for (var l = f.s.c; l <= f.e.c; ++l) { var c = ht({ c: l, r: o }); if (a) { if (!e[o]) e[o] = []; if (!e[o][l]) e[o][l] = { t: "z", v: undefined }; e[o][l].l = i } else { if (!e[c]) e[c] = { t: "z", v: undefined }; e[c].l = i } } } } function vu(e) { var r = {}; ["left", "right", "top", "bottom", "header", "footer"].forEach(function(t) { if (e[t]) r[t] = parseFloat(e[t]) }); return r } function gu(e) { Zh(e); return ar("pageMargins", null, e) } function mu(e, r) { var t = false; for (var a = 0; a != r.length; ++a) { var n = ye(r[a], true); if (n.hidden) n.hidden = Ve(n.hidden); var i = parseInt(n.min, 10) - 1 , s = parseInt(n.max, 10) - 1; delete n.min; delete n.max; n.width = +n.width; if (!t && n.width) { t = true; so(n.width) } fo(n); while (i <= s) e[i++] = fe(n) } } function bu(e, r) { var t = [""], a; for (var n = 0; n != r.length; ++n) { if (!(a = r[n])) continue; t[t.length] = ar("col", null, $h(n, a)) } t[t.length] = ""; return t.join("") } function wu(e) { var r = { ref: (e.match(/ref="([^"]*)"/) || [])[1] }; return r } function Cu(e, r, t, a) { var n = typeof e.ref == "string" ? e.ref : dt(e.ref); if (!t.Workbook) t.Workbook = {}; if (!t.Workbook.Names) t.Workbook.Names = []; var i = t.Workbook.Names; var s = ut(n); if (s.s.r == s.e.r) { s.e.r = ut(r["!ref"]).e.r; n = dt(s) } for (var f = 0; f < i.length; ++f) { var o = i[f]; if (o.Name != "_xlnm._FilterDatabase") continue; if (o.Sheet != a) continue; o.Ref = "'" + t.SheetNames[a] + "'!" + n; break } if (f == i.length) i.push({ Name: "_xlnm._FilterDatabase", Sheet: a, Ref: "'" + t.SheetNames[a] + "'!" + n }); return ar("autoFilter", null, { ref: n }) } var Eu = /<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/>/; function ku(e, r) { (e.match(Eu) || []).forEach(function(e) { var t = ye(e); if (Ve(t.rightToLeft)) { if (!r.Views) r.Views = [{}]; if (!r.Views[0]) r.Views[0] = {}; r.Views[0].RTL = true } }) } function Su(e, r, t, a) { var n = { workbookViewId: "0" }; if ((((a || {}).Workbook || {}).Views || [])[0]) n.rightToLeft = a.Workbook.Views[0].RTL ? "1" : "0"; return ar("sheetViews", ar("sheetView", null, n), {}) } function Au(e, r, t, a) { if (e.v === undefined && e.f === undefined || e.t === "z") return ""; var n = ""; var i = e.t , s = e.v; switch (e.t) { case "b": n = e.v ? "1" : "0"; break; case "n": n = "" + e.v; break; case "e": n = jt[e.v]; break; case "d": if (a.cellDates) n = ie(e.v, -1).toISOString(); else { e = fe(e); e.t = "n"; n = "" + (e.v = ee(ie(e.v))) } if (typeof e.z === "undefined") e.z = D._table[14]; break; default: n = e.v; break; } var f = rr("v", Pe(n)) , o = { r: r }; var l = Qh(a.cellXfs, e, a); if (l !== 0) o.s = l; switch (e.t) { case "n": break; case "d": o.t = "d"; break; case "b": o.t = "b"; break; case "e": o.t = "e"; break; default: if (e.v == null) { delete e.t; break } if (a.bookSST) { f = rr("v", "" + Yh(a.Strings, e.v, a.revStrings)); o.t = "s"; break } o.t = "str"; break; } if (e.t != i) { e.t = i; e.v = s } if (e.f) { var c = e.F && e.F.slice(0, r.length) == r ? { t: "array", ref: e.F } : null; f = ar("f", Pe(e.f), c) + (e.v != null ? f : "") } if (e.l) t["!links"].push([r, e.l]); if (e.c) t["!comments"].push([r, e.c]); return ar("c", f, o) } var _u = function() { var e = /<(?:\w+:)?c[ >]/ , r = /<\/(?:\w+:)?row>/; var t = /r=["']([^"']*)["']/ , a = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/; var n = /ref=["']([^"']*)["']/; var i = Ye("v") , s = Ye("f"); return function f(o, l, c, h, u, d) { var p = 0, v = "", g = [], m = [], b = 0, w = 0, C = 0, E = "", k; var S, A = 0, _ = 0; var B, T; var y = 0 , x = 0; var I = Array.isArray(d.CellXf), R; var O = []; var F = []; var P = Array.isArray(l); var N = [] , L = {} , M = false; for (var U = o.split(r), H = 0, W = U.length; H != W; ++H) { v = U[H].trim(); var V = v.length; if (V === 0) continue; for (p = 0; p < V; ++p) if (v.charCodeAt(p) === 62) break; ++p; S = ye(v.slice(0, p), true); A = S.r != null ? parseInt(S.r, 10) : A + 1; _ = -1; if (c.sheetRows && c.sheetRows < A) continue; if (h.s.r > A - 1) h.s.r = A - 1; if (h.e.r < A - 1) h.e.r = A - 1; if (c && c.cellStyles) { L = {}; M = false; if (S.ht) { M = true; L.hpt = parseFloat(S.ht); L.hpx = ho(L.hpt) } if (S.hidden == "1") { M = true; L.hidden = true } if (S.outlineLevel != null) { M = true; L.level = +S.outlineLevel } if (M) N[A - 1] = L } g = v.slice(p).split(e); for (p = 0; p != g.length; ++p) { v = g[p].trim(); if (v.length === 0) continue; m = v.match(t); b = p; w = 0; C = 0; v = "" : "") + v; if (m != null && m.length === 2) { b = 0; E = m[1]; for (w = 0; w != E.length; ++w) { if ((C = E.charCodeAt(w) - 64) < 1 || C > 26) break; b = 26 * b + C } --b; _ = b } else ++_; for (w = 0; w != v.length; ++w) if (v.charCodeAt(w) === 62) break; ++w; S = ye(v.slice(0, w), true); if (!S.r) S.r = ht({ r: A - 1, c: _ }); E = v.slice(w); k = { t: "" }; if ((m = E.match(i)) != null && m[1] !== "") k.v = De(m[1]); if (c.cellFormula) { if ((m = E.match(s)) != null && m[1] !== "") { k.f = Zl(De(ze(m[1]))); if (m[0].indexOf('t="array"') > -1) { k.F = (E.match(n) || [])[1]; if (k.F.indexOf(":") > -1) O.push([pt(k.F), k.F]) } else if (m[0].indexOf('t="shared"') > -1) { T = ye(m[0]); F[parseInt(T.si, 10)] = [T, Zl(De(ze(m[1])))] } } else if (m = E.match(/]*\/>/)) { T = ye(m[0]); if (F[T.si]) k.f = Yl(F[T.si][1], F[T.si][0].ref, S.r) } var z = ct(S.r); for (w = 0; w < O.length; ++w) if (z.r >= O[w][0].s.r && z.r <= O[w][0].e.r) if (z.c >= O[w][0].s.c && z.c <= O[w][0].e.c) k.F = O[w][1] } if (S.t == null && k.v === undefined) { if (k.f || k.F) { k.v = 0; k.t = "n" } else if (!c.sheetStubs) continue; else k.t = "z" } else k.t = S.t || "n"; if (h.s.c > _) h.s.c = _; if (h.e.c < _) h.e.c = _; switch (k.t) { case "n": if (k.v == "" || k.v == null) { if (!c.sheetStubs) continue; k.t = "z" } else k.v = parseFloat(k.v); break; case "s": if (typeof k.v == "undefined") { if (!c.sheetStubs) continue; k.t = "z" } else { B = Gh[parseInt(k.v, 10)]; k.v = B.t; k.r = B.r; if (c.cellHTML) k.h = B.h } break; case "str": k.t = "s"; k.v = k.v != null ? ze(k.v) : ""; if (c.cellHTML) k.h = Me(k.v); break; case "inlineStr": m = E.match(a); k.t = "s"; if (m != null && (B = hf(m[1]))) k.v = B.t; else k.v = ""; break; case "b": k.v = Ve(k.v); break; case "d": if (c.cellDates) k.v = ie(k.v, 1); else { k.v = ee(ie(k.v, 1)); k.t = "n" } break; case "e": if (!c || c.cellText !== false) k.w = k.v; k.v = Kt[k.v]; break; } y = x = 0; if (I && S.s !== undefined) { R = d.CellXf[S.s]; if (R != null) { if (R.numFmtId != null) y = R.numFmtId; if (c.cellStyles) { if (R.fillId != null) x = R.fillId } } } Jh(k, y, x, c, u, d); if (c.cellDates && I && k.t == "n" && D.is_date(D._table[y])) { k.t = "d"; k.v = re(k.v) } if (P) { var X = ct(S.r); if (!l[X.r]) l[X.r] = []; l[X.r][X.c] = k } else l[S.r] = k } } if (N.length > 0) l["!rows"] = N } }(); function Bu(e, r, t, a) { var n = [], i = [], s = pt(e["!ref"]), f = "", o, l = "", c = [], h = 0, u = 0, d = e["!rows"]; var p = Array.isArray(e); var v = { r: l }, g, m = -1; for (u = s.s.c; u <= s.e.c; ++u) c[u] = st(u); for (h = s.s.r; h <= s.e.r; ++h) { i = []; l = tt(h); for (u = s.s.c; u <= s.e.c; ++u) { o = c[u] + l; var b = p ? (e[h] || [])[u] : e[o]; if (b === undefined) continue; if ((f = Au(b, o, e, r, t, a)) != null) i.push(f) } if (i.length > 0 || d && d[h]) { v = { r: l }; if (d && d[h]) { g = d[h]; if (g.hidden) v.hidden = 1; m = -1; if (g.hpx) m = co(g.hpx); else if (g.hpt) m = g.hpt; if (m > -1) { v.ht = m; v.customHeight = 1 } if (g.level) { v.outlineLevel = g.level } } n[n.length] = ar("row", i.join(""), v) } } if (d) for (; h < d.length; ++h) { if (d && d[h]) { v = { r: h + 1 }; g = d[h]; if (g.hidden) v.hidden = 1; m = -1; if (g.hpx) m = co(g.hpx); else if (g.hpt) m = g.hpt; if (m > -1) { v.ht = m; v.customHeight = 1 } if (g.level) { v.outlineLevel = g.level } n[n.length] = ar("row", "", v) } } return n.join("") } var Tu = ar("worksheet", null, { xmlns: sr.main[0], "xmlns:r": sr.r }); function yu(e, r, t, a) { var n = [Se, Tu]; var i = t.SheetNames[e] , s = 0 , f = ""; var o = t.Sheets[i]; if (o == null) o = {}; var l = o["!ref"] || "A1"; var c = pt(l); if (c.e.c > 16383 || c.e.r > 1048575) { if (r.WTF) throw new Error("Range " + l + " exceeds format limit A1:XFD1048576"); c.e.c = Math.min(c.e.c, 16383); c.e.r = Math.min(c.e.c, 1048575); l = dt(c) } if (!a) a = {}; o["!comments"] = []; o["!drawing"] = []; if (r.bookType !== "xlsx" && t.vbaraw) { var h = t.SheetNames[e]; try { if (t.Workbook) h = t.Workbook.Sheets[e].CodeName || h } catch (u) {} n[n.length] = ar("sheetPr", null, { codeName: Pe(h) }) } n[n.length] = ar("dimension", null, { ref: l }); n[n.length] = Su(o, r, e, t); if (r.sheetFormat) n[n.length] = ar("sheetFormatPr", null, { defaultRowHeight: r.sheetFormat.defaultRowHeight || "16", baseColWidth: r.sheetFormat.baseColWidth || "10", outlineLevelRow: r.sheetFormat.outlineLevelRow || "7" }); if (o["!cols"] != null && o["!cols"].length > 0) n[n.length] = bu(o, o["!cols"]); n[s = n.length] = ""; o["!links"] = []; if (o["!ref"] != null) { f = Bu(o, r, e, t, a); if (f.length > 0) n[n.length] = f } if (n.length > s + 1) { n[n.length] = ""; n[s] = n[s].replace("/>", ">") } if (o["!protect"] != null) n[n.length] = du(o["!protect"]); if (o["!autofilter"] != null) n[n.length] = Cu(o["!autofilter"], o, t, e); if (o["!merges"] != null && o["!merges"].length > 0) n[n.length] = hu(o["!merges"]); var d = -1, p, v = -1; if (o["!links"].length > 0) { n[n.length] = ""; o["!links"].forEach(function(e) { if (!e[1].Target) return; p = { ref: e[0] }; if (e[1].Target.charAt(0) != "#") { v = Na(a, -1, Pe(e[1].Target).replace(/#.*$/, ""), Ra.HLINK); p["r:id"] = "rId" + v } if ((d = e[1].Target.indexOf("#")) > -1) p.location = Pe(e[1].Target.slice(d + 1)); if (e[1].Tooltip) p.tooltip = Pe(e[1].Tooltip); n[n.length] = ar("hyperlink", null, p) }); n[n.length] = "" } delete o["!links"]; if (o["!margins"] != null) n[n.length] = gu(o["!margins"]); n[n.length] = ""; if (!r || r.ignoreEC || r.ignoreEC == void 0) n[n.length] = rr("ignoredErrors", ar("ignoredError", null, { numberStoredAsText: 1, sqref: l })); if (o["!drawing"].length > 0) { v = Na(a, -1, "../drawings/drawing" + (e + 1) + ".xml", Ra.DRAW); n[n.length] = ar("drawing", null, { "r:id": "rId" + v }) } else delete o["!drawing"]; if (o["!comments"].length > 0) { v = Na(a, -1, "../drawings/vmlDrawing" + (e + 1) + ".vml", Ra.VML); n[n.length] = ar("legacyDrawing", null, { "r:id": "rId" + v }); o["!legacy"] = v } if (n.length > 2) { n[n.length] = ""; n[1] = n[1].replace("/>", ">") } return n.join("") } function xu(e, r) { var t = {}; var a = e.l + r; t.r = e._R(4); e.l += 4; var n = e._R(2); e.l += 1; var i = e._R(1); e.l = a; if (i & 7) t.level = i & 7; if (i & 16) t.hidden = true; if (i & 32) t.hpt = n / 20; return t } function Iu(e, r, t) { var a = Gr(17 + 8 * 16); var n = (t["!rows"] || [])[e] || {}; a._W(4, e); a._W(4, 0); var i = 320; if (n.hpx) i = co(n.hpx) * 20; else if (n.hpt) i = n.hpt * 20; a._W(2, i); a._W(1, 0); var s = 0; if (n.level) s |= n.level; if (n.hidden) s |= 16; if (n.hpx || n.hpt) s |= 32; a._W(1, s); a._W(1, 0); var f = 0 , o = a.l; a.l += 4; var l = { r: e, c: 0 }; for (var c = 0; c < 16; ++c) { if (r.s.c > c + 1 << 10 || r.e.c < c << 10) continue; var h = -1 , u = -1; for (var d = c << 10; d < c + 1 << 10; ++d) { l.c = d; var p = Array.isArray(t) ? (t[l.r] || [])[l.c] : t[ht(l)]; if (p) { if (h < 0) h = d; u = d } } if (h < 0) continue; ++f; a._W(4, h); a._W(4, u) } var v = a.l; a.l = o; a._W(4, f); a.l = v; return a.length > a.l ? a.slice(0, a.l) : a } function Ru(e, r, t, a) { var n = Iu(a, t, r); if (n.length > 17 || (r["!rows"] || [])[a]) Yr(e, "BrtRowHdr", n) } var Du = Vt; var Ou = zt; function Fu() {} function Pu(e, r) { var t = {}; e.l += 19; t.name = Rt(e, r - 19); return t } function Nu(e, r) { if (r == null) r = Gr(84 + 4 * e.length); for (var t = 0; t < 3; ++t) r._W(1, 0); $t({ auto: 1 }, r); r._W(-4, -1); r._W(-4, -1); Dt(e, r); return r.slice(0, r.l) } function Lu(e) { var r = xt(e); return [r] } function Mu(e, r, t) { if (t == null) t = Gr(8); return It(r, t) } function Uu(e) { var r = xt(e); var t = e._R(1); return [r, t, "b"] } function Hu(e, r, t) { if (t == null) t = Gr(9); It(r, t); t._W(1, e.v ? 1 : 0); return t } function Wu(e) { var r = xt(e); var t = e._R(1); return [r, t, "e"] } function Vu(e) { var r = xt(e); var t = e._R(4); return [r, t, "s"] } function zu(e, r, t) { if (t == null) t = Gr(12); It(r, t); t._W(4, r.v); return t } function Xu(e) { var r = xt(e); var t = Xt(e); return [r, t, "n"] } function Gu(e, r, t) { if (t == null) t = Gr(16); It(r, t); Gt(e.v, t); return t } function ju(e) { var r = xt(e); var t = Mt(e); return [r, t, "n"] } function Ku(e, r, t) { if (t == null) t = Gr(12); It(r, t); Ut(e.v, t); return t } function Yu(e) { var r = xt(e); var t = Et(e); return [r, t, "str"] } function $u(e, r, t) { if (t == null) t = Gr(12 + 4 * e.v.length); It(r, t); kt(e.v, t); return t.length > t.l ? t.slice(0, t.l) : t } function Zu(e, r, t) { var a = e.l + r; var n = xt(e); n.r = t["!row"]; var i = e._R(1); var s = [n, i, "b"]; if (t.cellFormula) { e.l += 2; var f = Fh(e, a - e.l, t); s[3] = _h(f, null, n, t.supbooks, t) } else e.l = a; return s } function Qu(e, r, t) { var a = e.l + r; var n = xt(e); n.r = t["!row"]; var i = e._R(1); var s = [n, i, "e"]; if (t.cellFormula) { e.l += 2; var f = Fh(e, a - e.l, t); s[3] = _h(f, null, n, t.supbooks, t) } else e.l = a; return s } function Ju(e, r, t) { var a = e.l + r; var n = xt(e); n.r = t["!row"]; var i = Xt(e); var s = [n, i, "n"]; if (t.cellFormula) { e.l += 2; var f = Fh(e, a - e.l, t); s[3] = _h(f, null, n, t.supbooks, t) } else e.l = a; return s } function qu(e, r, t) { var a = e.l + r; var n = xt(e); n.r = t["!row"]; var i = Et(e); var s = [n, i, "str"]; if (t.cellFormula) { e.l += 2; var f = Fh(e, a - e.l, t); s[3] = _h(f, null, n, t.supbooks, t) } else e.l = a; return s } var ed = Vt; var rd = zt; function td(e, r) { if (r == null) r = Gr(4); r._W(4, e); return r } function ad(e, r) { var t = e.l + r; var a = Vt(e, 16); var n = Ot(e); var i = Et(e); var s = Et(e); var f = Et(e); e.l = t; var o = { rfx: a, relId: n, loc: i, display: f }; if (s) o.Tooltip = s; return o } function nd(e, r) { var t = Gr(50 + 4 * (e[1].Target.length + (e[1].Tooltip || "").length)); zt({ s: ct(e[0]), e: ct(e[0]) }, t); Lt("rId" + r, t); var a = e[1].Target.indexOf("#"); var n = a == -1 ? "" : e[1].Target.slice(a + 1); kt(n || "", t); kt(e[1].Tooltip || "", t); kt("", t); return t.slice(0, t.l) } function id(e, r, t) { var a = e.l + r; var n = Ht(e, 16); var i = e._R(1); var s = [n]; s[2] = i; if (t.cellFormula) { var f = Oh(e, a - e.l, t); s[1] = f } else e.l = a; return s } function sd(e, r, t) { var a = e.l + r; var n = Vt(e, 16); var i = [n]; if (t.cellFormula) { var s = Nh(e, a - e.l, t); i[1] = s; e.l = a } else e.l = a; return i } function fd(e, r, t) { if (t == null) t = Gr(18); var a = $h(e, r); t._W(-4, e); t._W(-4, e); t._W(4, (a.width || 10) * 256); t._W(4, 0); var n = 0; if (r.hidden) n |= 1; if (typeof a.width == "number") n |= 2; t._W(1, n); t._W(1, 0); return t } var od = ["left", "right", "top", "bottom", "header", "footer"]; function ld(e) { var r = {}; od.forEach(function(t) { r[t] = Xt(e, 8) }); return r } function cd(e, r) { if (r == null) r = Gr(6 * 8); Zh(e); od.forEach(function(t) { Gt(e[t], r) }); return r } function hd(e) { var r = e._R(2); e.l += 28; return { RTL: r & 32 } } function ud(e, r, t) { if (t == null) t = Gr(30); var a = 924; if ((((r || {}).Views || [])[0] || {}).RTL) a |= 32; t._W(2, a); t._W(4, 0); t._W(4, 0); t._W(4, 0); t._W(1, 0); t._W(1, 0); t._W(2, 0); t._W(2, 100); t._W(2, 0); t._W(2, 0); t._W(2, 0); t._W(4, 0); return t } function dd(e) { var r = Gr(24); r._W(4, 4); r._W(4, 1); zt(e, r); return r } function pd(e, r) { if (r == null) r = Gr(16 * 4 + 2); r._W(2, e.password ? Uf(e.password) : 0); r._W(4, 1); [["objects", false], ["scenarios", false], ["formatCells", true], ["formatColumns", true], ["formatRows", true], ["insertColumns", true], ["insertRows", true], ["insertHyperlinks", true], ["deleteColumns", true], ["deleteRows", true], ["selectLockedCells", false], ["sort", true], ["autoFilter", true], ["pivotTables", true], ["selectUnlockedCells", false]].forEach(function(t) { if (t[1]) r._W(4, e[t[0]] != null && !e[t[0]] ? 1 : 0); else r._W(4, e[t[0]] != null && e[t[0]] ? 0 : 1) }); return r } function vd(e, r, t, a, n, i, s) { if (!e) return e; var f = r || {}; if (!a) a = { "!id": {} }; if (v != null && f.dense == null) f.dense = v; var o = f.dense ? [] : {}; var l; var c = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }; var h = false , u = false; var d, p, g, m, b, w, C, E, k; var S = []; f.biff = 12; f["!row"] = 0; var A = 0 , _ = false; var B = []; var T = {}; var y = f.supbooks || [[]]; y.sharedf = T; y.arrayf = B; y.SheetNames = n.SheetNames || n.Sheets.map(function(e) { return e.name }); if (!f.supbooks) { f.supbooks = y; if (n.Names) for (var x = 0; x < n.Names.length; ++x) y[0][x + 1] = n.Names[x] } var I = [] , R = []; var O = false; jr(e, function P(e, r, v) { if (u) return; switch (v) { case 148: l = e; break; case 0: d = e; if (f.sheetRows && f.sheetRows <= d.r) u = true; E = tt(m = d.r); f["!row"] = d.r; if (e.hidden || e.hpt || e.level != null) { if (e.hpt) e.hpx = ho(e.hpt); R[e.r] = e } break; case 2: ; case 3: ; case 4: ; case 5: ; case 6: ; case 7: ; case 8: ; case 9: ; case 10: ; case 11: p = { t: e[2] }; switch (e[2]) { case "n": p.v = e[1]; break; case "s": C = Gh[e[1]]; p.v = C.t; p.r = C.r; break; case "b": p.v = e[1] ? true : false; break; case "e": p.v = e[1]; if (f.cellText !== false) p.w = jt[p.v]; break; case "str": p.t = "s"; p.v = e[1]; break; } if (g = s.CellXf[e[0].iStyleRef]) Jh(p, g.numFmtId, null, f, i, s); b = e[0].c; if (f.dense) { if (!o[m]) o[m] = []; o[m][b] = p } else o[st(b) + E] = p; if (f.cellFormula) { _ = false; for (A = 0; A < B.length; ++A) { var x = B[A]; if (d.r >= x[0].s.r && d.r <= x[0].e.r) if (b >= x[0].s.c && b <= x[0].e.c) { p.F = dt(x[0]); _ = true } } if (!_ && e.length > 3) p.f = e[3] } if (c.s.r > d.r) c.s.r = d.r; if (c.s.c > b) c.s.c = b; if (c.e.r < d.r) c.e.r = d.r; if (c.e.c < b) c.e.c = b; if (f.cellDates && g && p.t == "n" && D.is_date(D._table[g.numFmtId])) { var F = D.parse_date_code(p.v); if (F) { p.t = "d"; p.v = new Date(F.y,F.m - 1,F.d,F.H,F.M,F.S,F.u) } } break; case 1: if (!f.sheetStubs || h) break; p = { t: "z", v: undefined }; b = e[0].c; if (f.dense) { if (!o[m]) o[m] = []; o[m][b] = p } else o[st(b) + E] = p; if (c.s.r > d.r) c.s.r = d.r; if (c.s.c > b) c.s.c = b; if (c.e.r < d.r) c.e.r = d.r; if (c.e.c < b) c.e.c = b; break; case 176: S.push(e); break; case 494: var P = a["!id"][e.relId]; if (P) { e.Target = P.Target; if (e.loc) e.Target += "#" + e.loc; e.Rel = P } else if (e.relId == "") { e.Target = "#" + e.loc } for (m = e.rfx.s.r; m <= e.rfx.e.r; ++m) for (b = e.rfx.s.c; b <= e.rfx.e.c; ++b) { if (f.dense) { if (!o[m]) o[m] = []; if (!o[m][b]) o[m][b] = { t: "z", v: undefined }; o[m][b].l = e } else { w = ht({ c: b, r: m }); if (!o[w]) o[w] = { t: "z", v: undefined }; o[w].l = e } } break; case 426: if (!f.cellFormula) break; B.push(e); k = f.dense ? o[m][b] : o[st(b) + E]; k.f = _h(e[1], c, { r: d.r, c: b }, y, f); k.F = dt(e[0]); break; case 427: if (!f.cellFormula) break; T[ht(e[0].s)] = e[1]; k = f.dense ? o[m][b] : o[st(b) + E]; k.f = _h(e[1], c, { r: d.r, c: b }, y, f); break; case 60: if (!f.cellStyles) break; while (e.e >= e.s) { I[e.e--] = { width: e.w / 256, hidden: !!(e.flags & 1) }; if (!O) { O = true; so(e.w / 256) } fo(I[e.e + 1]) } break; case 161: o["!autofilter"] = { ref: dt(e) }; break; case 476: o["!margins"] = e; break; case 147: if (!n.Sheets[t]) n.Sheets[t] = {}; if (e.name) n.Sheets[t].CodeName = e.name; break; case 137: if (!n.Views) n.Views = [{}]; if (!n.Views[0]) n.Views[0] = {}; if (e.RTL) n.Views[0].RTL = true; break; case 485: break; case 175: ; case 644: ; case 625: ; case 562: ; case 396: ; case 1112: ; case 1146: ; case 471: ; case 1050: ; case 649: ; case 1105: ; case 49: ; case 589: ; case 607: ; case 564: ; case 1055: ; case 168: ; case 174: ; case 1180: ; case 499: ; case 64: ; case 1053: ; case 550: ; case 171: ; case 167: ; case 1177: ; case 169: ; case 1181: ; case 551: ; case 552: ; case 661: ; case 639: ; case 478: ; case 151: ; case 537: ; case 477: ; case 536: ; case 1103: ; case 680: ; case 1104: ; case 1024: ; case 152: ; case 663: ; case 535: ; case 678: ; case 504: ; case 1043: ; case 428: ; case 170: ; case 3072: ; case 50: ; case 2070: ; case 1045: break; case 35: h = true; break; case 36: h = false; break; case 37: break; case 38: break; default: if ((r || "").indexOf("Begin") > 0) {} else if ((r || "").indexOf("End") > 0) {} else if (!h || f.WTF) throw new Error("Unexpected record " + v + " " + r); } }, f); delete f.supbooks; delete f["!row"]; if (!o["!ref"] && (c.s.r < 2e6 || l && (l.e.r > 0 || l.e.c > 0 || l.s.r > 0 || l.s.c > 0))) o["!ref"] = dt(l || c); if (f.sheetRows && o["!ref"]) { var F = pt(o["!ref"]); if (f.sheetRows <= +F.e.r) { F.e.r = f.sheetRows - 1; if (F.e.r > c.e.r) F.e.r = c.e.r; if (F.e.r < F.s.r) F.s.r = F.e.r; if (F.e.c > c.e.c) F.e.c = c.e.c; if (F.e.c < F.s.c) F.s.c = F.e.c; o["!fullref"] = o["!ref"]; o["!ref"] = dt(F) } } if (S.length > 0) o["!merges"] = S; if (I.length > 0) o["!cols"] = I; if (R.length > 0) o["!rows"] = R; return o } function gd(e, r, t, a, n, i) { if (r.v === undefined) return ""; var s = ""; switch (r.t) { case "b": s = r.v ? "1" : "0"; break; case "d": r = fe(r); r.z = r.z || D._table[14]; r.v = ee(ie(r.v)); r.t = "n"; break; case "n": ; case "e": s = "" + r.v; break; default: s = r.v; break; } var f = { r: t, c: a }; f.s = Qh(n.cellXfs, r, n); if (r.l) i["!links"].push([ht(f), r.l]); if (r.c) i["!comments"].push([ht(f), r.c]); switch (r.t) { case "s": ; case "str": if (n.bookSST) { s = Yh(n.Strings, r.v, n.revStrings); f.t = "s"; f.v = s; Yr(e, "BrtCellIsst", zu(r, f)) } else { f.t = "str"; Yr(e, "BrtCellSt", $u(r, f)) } return; case "n": if (r.v == (r.v | 0) && r.v > -1e3 && r.v < 1e3) Yr(e, "BrtCellRk", Ku(r, f)); else Yr(e, "BrtCellReal", Gu(r, f)); return; case "b": f.t = "b"; Yr(e, "BrtCellBool", Hu(r, f)); return; case "e": f.t = "e"; break; } Yr(e, "BrtCellBlank", Mu(r, f)) } function md(e, r, t, a) { var n = pt(r["!ref"] || "A1"), i, s = "", f = []; Yr(e, "BrtBeginSheetData"); var o = Array.isArray(r); var l = n.e.r; if (r["!rows"]) l = Math.max(n.e.r, r["!rows"].length - 1); for (var c = n.s.r; c <= l; ++c) { s = tt(c); Ru(e, r, n, c); if (c <= n.e.r) for (var h = n.s.c; h <= n.e.c; ++h) { if (c === n.s.r) f[h] = st(h); i = f[h] + s; var u = o ? (r[c] || [])[h] : r[i]; if (!u) continue; gd(e, u, c, h, a, r) } } Yr(e, "BrtEndSheetData") } function bd(e, r) { if (!r || !r["!merges"]) return; Yr(e, "BrtBeginMergeCells", td(r["!merges"].length)); r["!merges"].forEach(function(r) { Yr(e, "BrtMergeCell", rd(r)) }); Yr(e, "BrtEndMergeCells") } function wd(e, r) { if (!r || !r["!cols"]) return; Yr(e, "BrtBeginColInfos"); r["!cols"].forEach(function(r, t) { if (r) Yr(e, "BrtColInfo", fd(t, r)) }); Yr(e, "BrtEndColInfos") } function Cd(e, r) { if (!r || !r["!ref"]) return; Yr(e, "BrtBeginCellIgnoreECs"); Yr(e, "BrtCellIgnoreEC", dd(pt(r["!ref"]))); Yr(e, "BrtEndCellIgnoreECs") } function Ed(e, r, t) { r["!links"].forEach(function(r) { if (!r[1].Target) return; var a = Na(t, -1, r[1].Target.replace(/#.*$/, ""), Ra.HLINK); Yr(e, "BrtHLink", nd(r, a)) }); delete r["!links"] } function kd(e, r, t, a) { if (r["!comments"].length > 0) { var n = Na(a, -1, "../drawings/vmlDrawing" + (t + 1) + ".vml", Ra.VML); Yr(e, "BrtLegacyDrawing", Lt("rId" + n)); r["!legacy"] = n } } function Sd(e, r) { if (!r["!autofilter"]) return; Yr(e, "BrtBeginAFilter", zt(pt(r["!autofilter"].ref))); Yr(e, "BrtEndAFilter") } function Ad(e, r, t) { Yr(e, "BrtBeginWsViews"); { Yr(e, "BrtBeginWsView", ud(r, t)); Yr(e, "BrtEndWsView") } Yr(e, "BrtEndWsViews") } function _d() {} function Bd(e, r) { if (!r["!protect"]) return; Yr(e, "BrtSheetProtection", pd(r["!protect"])) } function Td(e, r, t, a) { var n = Kr(); var i = t.SheetNames[e] , s = t.Sheets[i] || {}; var f = i; try { if (t && t.Workbook) f = t.Workbook.Sheets[e].CodeName || f } catch (o) {} var l = pt(s["!ref"] || "A1"); if (l.e.c > 16383 || l.e.r > 1048575) { if (r.WTF) throw new Error("Range " + (s["!ref"] || "A1") + " exceeds format limit A1:XFD1048576"); l.e.c = Math.min(l.e.c, 16383); l.e.r = Math.min(l.e.c, 1048575) } s["!links"] = []; s["!comments"] = []; Yr(n, "BrtBeginSheet"); if (t.vbaraw) Yr(n, "BrtWsProp", Nu(f)); Yr(n, "BrtWsDim", Ou(l)); Ad(n, s, t.Workbook); _d(n, s); wd(n, s, e, r, t); md(n, s, e, r, t); Bd(n, s); Sd(n, s); bd(n, s); Ed(n, s, a); if (s["!margins"]) Yr(n, "BrtMargins", cd(s["!margins"])); if (!r || r.ignoreEC || r.ignoreEC == void 0) Cd(n, s); kd(n, s, e, a); Yr(n, "BrtEndSheet"); return n.end() } function yd(e) { var r = []; (e.match(/(.*?)<\/c:pt>/gm) || []).forEach(function(e) { var t = e.match(/(.*)<\/c:v><\/c:pt>/); if (!t) return; r[+t[1]] = +t[2] }); var t = De((e.match(/([\s\S]*?)<\/c:formatCode>/) || ["", "General"])[1]); return [r, t] } function xd(e, r, t, a, n, i) { var s = i || { "!type": "chart" }; if (!e) return i; var f = 0 , o = 0 , l = "A"; var c = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }; (e.match(/[\s\S]*?<\/c:numCache>/gm) || []).forEach(function(e) { var r = yd(e); c.s.r = c.s.c = 0; c.e.c = f; l = st(f); r[0].forEach(function(e, t) { s[l + tt(t)] = { t: "n", v: e, z: r[1] }; o = t }); if (c.e.r < o) c.e.r = o; ++f }); if (f > 0) s["!ref"] = dt(c); return s } Ra.CS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet"; var Id = ar("chartsheet", null, { xmlns: sr.main[0], "xmlns:r": sr.r }); function Rd(e, r, t, a, n) { if (!e) return e; if (!a) a = { "!id": {} }; var i = { "!type": "chart", "!chart": null, "!rel": "" }; var s; var f = e.match(ou); if (f) uu(f[0], i, n, t); if (s = e.match(/drawing r:id="(.*?)"/)) i["!rel"] = s[1]; if (a["!id"][i["!rel"]]) i["!chart"] = a["!id"][i["!rel"]]; return i } function Dd(e, r, t, a) { var n = [Se, Id]; n[n.length] = ar("drawing", null, { "r:id": "rId1" }); Na(a, -1, "../drawings/drawing" + (e + 1) + ".xml", Ra.DRAW); if (n.length > 2) { n[n.length] = ""; n[1] = n[1].replace("/>", ">") } return n.join("") } function Od(e, r) { e.l += 10; var t = Et(e, r - 10); return { name: t } } function Fd(e, r, t, a, n) { if (!e) return e; if (!a) a = { "!id": {} }; var i = { "!type": "chart", "!chart": null, "!rel": "" }; var s = []; var f = false; jr(e, function o(e, a, l) { switch (l) { case 550: i["!rel"] = e; break; case 651: if (!n.Sheets[t]) n.Sheets[t] = {}; if (e.name) n.Sheets[t].CodeName = e.name; break; case 562: ; case 652: ; case 669: ; case 679: ; case 551: ; case 552: ; case 476: ; case 3072: break; case 35: f = true; break; case 36: f = false; break; case 37: s.push(a); break; case 38: s.pop(); break; default: if ((a || "").indexOf("Begin") > 0) s.push(a); else if ((a || "").indexOf("End") > 0) s.pop(); else if (!f || r.WTF) throw new Error("Unexpected record " + l + " " + a); } }, r); if (a["!id"][i["!rel"]]) i["!chart"] = a["!id"][i["!rel"]]; return i } function Pd() { var e = Kr(); Yr(e, "BrtBeginSheet"); Yr(e, "BrtEndSheet"); return e.end() } var Nd = [["allowRefreshQuery", false, "bool"], ["autoCompressPictures", true, "bool"], ["backupFile", false, "bool"], ["checkCompatibility", false, "bool"], ["CodeName", ""], ["date1904", false, "bool"], ["defaultThemeVersion", 0, "int"], ["filterPrivacy", false, "bool"], ["hidePivotFieldList", false, "bool"], ["promptedSolutions", false, "bool"], ["publishItems", false, "bool"], ["refreshAllConnections", false, "bool"], ["saveExternalLinkValues", true, "bool"], ["showBorderUnselectedTables", true, "bool"], ["showInkAnnotation", true, "bool"], ["showObjects", "all"], ["showPivotChartFilter", false, "bool"], ["updateLinks", "userSet"]]; var Ld = [["activeTab", 0, "int"], ["autoFilterDateGrouping", true, "bool"], ["firstSheet", 0, "int"], ["minimized", false, "bool"], ["showHorizontalScroll", true, "bool"], ["showSheetTabs", true, "bool"], ["showVerticalScroll", true, "bool"], ["tabRatio", 600, "int"], ["visibility", "visible"]]; var Md = []; var Ud = [["calcCompleted", "true"], ["calcMode", "auto"], ["calcOnSave", "true"], ["concurrentCalc", "true"], ["fullCalcOnLoad", "false"], ["fullPrecision", "true"], ["iterate", "false"], ["iterateCount", "100"], ["iterateDelta", "0.001"], ["refMode", "A1"]]; function Hd(e, r) { for (var t = 0; t != e.length; ++t) { var a = e[t]; for (var n = 0; n != r.length; ++n) { var i = r[n]; if (a[i[0]] == null) a[i[0]] = i[1]; else switch (i[2]) { case "bool": if (typeof a[i[0]] == "string") a[i[0]] = Ve(a[i[0]]); break; case "int": if (typeof a[i[0]] == "string") a[i[0]] = parseInt(a[i[0]], 10); break; } } } } function Wd(e, r) { for (var t = 0; t != r.length; ++t) { var a = r[t]; if (e[a[0]] == null) e[a[0]] = a[1]; else switch (a[2]) { case "bool": if (typeof e[a[0]] == "string") e[a[0]] = Ve(e[a[0]]); break; case "int": if (typeof e[a[0]] == "string") e[a[0]] = parseInt(e[a[0]], 10); break; } } } function Vd(e) { Wd(e.WBProps, Nd); Wd(e.CalcPr, Ud); Hd(e.WBView, Ld); Hd(e.Sheets, Md); jh.date1904 = Ve(e.WBProps.date1904) } function zd(e) { if (!e.Workbook) return "false"; if (!e.Workbook.WBProps) return "false"; return Ve(e.Workbook.WBProps.date1904) ? "true" : "false" } var Xd = "][*?/\\".split(""); function Gd(e, r) { if (e.length > 31) { if (r) return false; throw new Error("Sheet names cannot exceed 31 chars") } var t = true; Xd.forEach(function(a) { if (e.indexOf(a) == -1) return; if (!r) throw new Error("Sheet name cannot contain : \\ / ? * [ ]"); t = false }); return t } function jd(e, r, t) { e.forEach(function(a, n) { Gd(a); for (var i = 0; i < n; ++i) if (a == e[i]) throw new Error("Duplicate Sheet Name: " + a); if (t) { var s = r && r[n] && r[n].CodeName || a; if (s.charCodeAt(0) == 95 && s.length > 22) throw new Error("Bad Code Name: Worksheet" + s) } }) } function Kd(e) { if (!e || !e.SheetNames || !e.Sheets) throw new Error("Invalid Workbook"); if (!e.SheetNames.length) throw new Error("Workbook is empty"); var r = e.Workbook && e.Workbook.Sheets || []; jd(e.SheetNames, r, !!e.vbaraw); for (var t = 0; t < e.SheetNames.length; ++t) qh(e.Sheets[e.SheetNames[t]], e.SheetNames[t], t) } var Yd = /<\w+:workbook/; function $d(e, r) { if (!e) throw new Error("Could not find file"); var t = { AppVersion: {}, WBProps: {}, WBView: [], Sheets: [], CalcPr: {}, Names: [], xmlns: "" }; var a = false , n = "xmlns"; var i = {} , s = 0; e.replace(_e, function f(o, l) { var c = ye(o); switch (xe(c[0])) { case "": break; case "": ; case "": break; case "": break; case "": Nd.forEach(function(e) { if (c[e[0]] == null) return; switch (e[2]) { case "bool": t.WBProps[e[0]] = Ve(c[e[0]]); break; case "int": t.WBProps[e[0]] = parseInt(c[e[0]], 10); break; default: t.WBProps[e[0]] = c[e[0]]; } }); if (c.codeName) t.WBProps.CodeName = c.codeName; break; case "": break; case "": break; case "": ; case "": break; case "": delete c[0]; t.WBView.push(c); break; case "": break; case "": ; case "": break; case "": break; case "": break; case "": ; case "": break; case "": break; case "": ; case "": a = false; break; case "": { i.Ref = De(ze(e.slice(s, l))); t.Names.push(i) } break; case "": break; case "": delete c[0]; t.CalcPr = c; break; case "": break; case "": ; case "": ; case "": break; case "": ; case "": ; case "": break; case "": ; case "": break; case "": break; case "": break; case "": ; case "": break; case "": ; case "": ; case "": break; case "": a = false; break; case "": a = true; break; case "": a = false; break; case " 0; var a = { codeName: "ThisWorkbook" }; if (e.Workbook && e.Workbook.WBProps) { Nd.forEach(function(r) { if (e.Workbook.WBProps[r[0]] == null) return; if (e.Workbook.WBProps[r[0]] == r[1]) return; a[r[0]] = e.Workbook.WBProps[r[0]] }); if (e.Workbook.WBProps.CodeName) { a.codeName = e.Workbook.WBProps.CodeName; delete a.CodeName } } r[r.length] = ar("workbookPr", null, a); r[r.length] = ""; var n = e.Workbook && e.Workbook.Sheets || []; for (var i = 0; i != e.SheetNames.length; ++i) { var s = { name: Pe(e.SheetNames[i].slice(0, 31)) }; s.sheetId = "" + (i + 1); s["r:id"] = "rId" + (i + 1); if (n[i]) switch (n[i].Hidden) { case 1: s.state = "hidden"; break; case 2: s.state = "veryHidden"; break; } r[r.length] = ar("sheet", null, s) } r[r.length] = ""; if (t) { r[r.length] = ""; if (e.Workbook && e.Workbook.Names) e.Workbook.Names.forEach(function(e) { var t = { name: e.Name }; if (e.Comment) t.comment = e.Comment; if (e.Sheet != null) t.localSheetId = "" + e.Sheet; if (!e.Ref) return; r[r.length] = ar("definedName", String(e.Ref), t) }); r[r.length] = "" } if (r.length > 2) { r[r.length] = ""; r[1] = r[1].replace("/>", ">") } return r.join("") } function Jd(e, r) { var t = {}; t.Hidden = e._R(4); t.iTabID = e._R(4); t.strRelID = Nt(e, r - 8); t.name = Et(e); return t } function qd(e, r) { if (!r) r = Gr(127); r._W(4, e.Hidden); r._W(4, e.iTabID); Lt(e.strRelID, r); kt(e.name.slice(0, 31), r); return r.length > r.l ? r.slice(0, r.l) : r } function ep(e, r) { var t = {}; var a = e._R(4); t.defaultThemeVersion = e._R(4); var n = r > 8 ? Et(e) : ""; if (n.length > 0) t.CodeName = n; t.autoCompressPictures = !!(a & 65536); t.backupFile = !!(a & 64); t.checkCompatibility = !!(a & 4096); t.date1904 = !!(a & 1); t.filterPrivacy = !!(a & 8); t.hidePivotFieldList = !!(a & 1024); t.promptedSolutions = !!(a & 16); t.publishItems = !!(a & 2048); t.refreshAllConnections = !!(a & 262144); t.saveExternalLinkValues = !!(a & 128); t.showBorderUnselectedTables = !!(a & 4); t.showInkAnnotation = !!(a & 32); t.showObjects = ["all", "placeholders", "none"][a >> 13 & 3]; t.showPivotChartFilter = !!(a & 32768); t.updateLinks = ["userSet", "never", "always"][a >> 8 & 3]; return t } function rp(e, r) { if (!r) r = Gr(72); var t = 0; if (e) { if (e.filterPrivacy) t |= 8 } r._W(4, t); r._W(4, 0); Dt(e && e.CodeName || "ThisWorkbook", r); return r.slice(0, r.l) } function tp(e, r) { var t = {}; e._R(4); t.ArchID = e._R(4); e.l += r - 8; return t } function ap(e, r, t) { var a = e.l + r; e.l += 4; e.l += 1; var n = e._R(4); var i = Pt(e); var s = Ph(e, 0, t); var f = Ot(e); e.l = a; var o = { Name: i, Ptg: s }; if (n < 268435455) o.Sheet = n; if (f) o.Comment = f; return o } function np(e, r) { var t = { AppVersion: {}, WBProps: {}, WBView: [], Sheets: [], CalcPr: {}, xmlns: "" }; var a = false; if (!r) r = {}; r.biff = 12; var n = []; var i = [[]]; i.SheetNames = []; i.XTI = []; jr(e, function s(e, f, o) { switch (o) { case 156: i.SheetNames.push(e.name); t.Sheets.push(e); break; case 153: t.WBProps = e; break; case 39: if (e.Sheet != null) r.SID = e.Sheet; e.Ref = _h(e.Ptg, null, null, i, r); delete r.SID; delete e.Ptg; n.push(e); break; case 1036: break; case 357: ; case 358: ; case 355: ; case 667: if (!i[0].length) i[0] = [o, e]; else i.push([o, e]); i[i.length - 1].XTI = []; break; case 362: if (i.length === 0) { i[0] = []; i[0].XTI = [] } i[i.length - 1].XTI = i[i.length - 1].XTI.concat(e); i.XTI = i.XTI.concat(e); break; case 361: break; case 3072: ; case 3073: ; case 2071: ; case 534: ; case 677: ; case 158: ; case 157: ; case 610: ; case 2050: ; case 155: ; case 548: ; case 676: ; case 128: ; case 665: ; case 2128: ; case 2125: ; case 549: ; case 2053: ; case 596: ; case 2076: ; case 2075: ; case 2082: ; case 397: ; case 154: ; case 1117: ; case 553: ; case 2091: break; case 35: a = true; break; case 36: a = false; break; case 37: break; case 38: break; case 16: break; default: if ((f || "").indexOf("Begin") > 0) {} else if ((f || "").indexOf("End") > 0) {} else if (!a || r.WTF) throw new Error("Unexpected record " + o + " " + f); } }, r); Vd(t); t.Names = n; t.supbooks = i; return t } function ip(e, r) { Yr(e, "BrtBeginBundleShs"); for (var t = 0; t != r.SheetNames.length; ++t) { var a = r.Workbook && r.Workbook.Sheets && r.Workbook.Sheets[t] && r.Workbook.Sheets[t].Hidden || 0; var n = { Hidden: a, iTabID: t + 1, strRelID: "rId" + (t + 1), name: r.SheetNames[t] }; Yr(e, "BrtBundleSh", qd(n)) } Yr(e, "BrtEndBundleShs") } function sp(r, t) { if (!t) t = Gr(127); for (var a = 0; a != 4; ++a) t._W(4, 0); kt("SheetJS", t); kt(e.version, t); kt(e.version, t); kt("7262", t); t.length = t.l; return t.length > t.l ? t.slice(0, t.l) : t } function fp(e, r) { if (!r) r = Gr(29); r._W(-4, 0); r._W(-4, 460); r._W(4, 28800); r._W(4, 17600); r._W(4, 500); r._W(4, e); r._W(4, e); var t = 120; r._W(1, t); return r.length > r.l ? r.slice(0, r.l) : r } function op(e, r) { if (!r.Workbook || !r.Workbook.Sheets) return; var t = r.Workbook.Sheets; var a = 0 , n = -1 , i = -1; for (; a < t.length; ++a) { if (!t[a] || !t[a].Hidden && n == -1) n = a; else if (t[a].Hidden == 1 && i == -1) i = a } if (i > n) return; Yr(e, "BrtBeginBookViews"); Yr(e, "BrtBookView", fp(n)); Yr(e, "BrtEndBookViews") } function lp(e, r) { var t = Kr(); Yr(t, "BrtBeginBook"); Yr(t, "BrtFileVersion", sp()); Yr(t, "BrtWbProp", rp(e.Workbook && e.Workbook.WBProps || null)); op(t, e, r); ip(t, e, r); Yr(t, "BrtEndBook"); return t.end() } function cp(e, r, t) { if (r.slice(-4) === ".bin") return np(e, t); return $d(e, t) } function hp(e, r, t, a, n, i, s, f) { if (r.slice(-4) === ".bin") return vd(e, a, t, n, i, s, f); return cu(e, a, t, n, i, s, f) } function up(e, r, t, a, n, i, s, f) { if (r.slice(-4) === ".bin") return Fd(e, a, t, n, i, s, f); return Rd(e, a, t, n, i, s, f) } function dp(e, r, t, a, n, i, s, f) { if (r.slice(-4) === ".bin") return Vl(e, a, t, n, i, s, f); return zl(e, a, t, n, i, s, f) } function pp(e, r, t, a, n, i, s, f) { if (r.slice(-4) === ".bin") return Hl(e, a, t, n, i, s, f); return Wl(e, a, t, n, i, s, f) } function vp(e, r, t, a) { if (r.slice(-4) === ".bin") return Wo(e, t, a); return So(e, t, a) } function gp(e, r, t) { return fl(e, t) } function mp(e, r, t) { if (r.slice(-4) === ".bin") return wf(e, t); return vf(e, t) } function bp(e, r, t) { if (r.slice(-4) === ".bin") return Fl(e, t); return Tl(e, t) } function wp(e, r, t) { if (r.slice(-4) === ".bin") return wl(e, r, t); return ml(e, r, t) } function Cp(e, r, t) { if (r.slice(-4) === ".bin") return El(e, r, t); return Cl(e, r, t) } function Ep(e, r, t) { return (r.slice(-4) === ".bin" ? lp : Qd)(e, t) } function kp(e, r, t, a, n) { return (r.slice(-4) === ".bin" ? Td : yu)(e, t, a, n) } function Sp(e, r, t, a, n) { return (r.slice(-4) === ".bin" ? Pd : Dd)(e, t, a, n) } function Ap(e, r, t) { return (r.slice(-4) === ".bin" ? Jo : _o)(e, t) } function _p(e, r, t) { return (r.slice(-4) === ".bin" ? kf : mf)(e, t) } function Bp(e, r, t) { return (r.slice(-4) === ".bin" ? Pl : xl)(e, t) } var Tp = /([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; var yp = /([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; var xp = function(e) { return String.fromCharCode(e) }; function Ip(e, r) { var t = e.split(/\s+/); var a = []; if (!r) a[0] = t[0]; if (t.length === 1) return a; var n = e.match(Tp), i, s, f, o; if (n) for (o = 0; o != n.length; ++o) { i = n[o].match(yp); if ((s = i[1].indexOf(":")) === -1) a[i[1]] = i[2].slice(1, i[2].length - 1); else { if (i[1].slice(0, 6) === "xmlns:") f = "xmlns" + i[1].slice(6); else f = i[1].slice(s + 1); a[f] = i[2].slice(1, i[2].length - 1) } } return a } function Rp(e) { var r = e.split(/\s+/); var t = {}; if (r.length === 1) return t; var a = e.match(Tp), n, i, s, f; if (a) for (f = 0; f != a.length; ++f) { n = a[f].match(yp); if ((i = n[1].indexOf(":")) === -1) t[n[1]] = n[2].slice(1, n[2].length - 1); else { if (n[1].slice(0, 6) === "xmlns:") s = "xmlns" + n[1].slice(6); else s = n[1].slice(i + 1); t[s] = n[2].slice(1, n[2].length - 1) } } return t } function Dp(e, r) { var t = F[e] || De(e); if (t === "General") return D._general(r); return D.format(t, r) } function Op(e, r, t, a) { var n = a; switch ((t[0].match(/dt:dt="([\w.]+)"/) || ["", ""])[1]) { case "boolean": n = Ve(a); break; case "i2": ; case "int": n = parseInt(a, 10); break; case "r4": ; case "float": n = parseFloat(a); break; case "date": ; case "dateTime.tz": n = ie(a); break; case "i8": ; case "string": ; case "fixed": ; case "uuid": ; case "bin.base64": break; default: throw new Error("bad custprop:" + t[0]); } e[De(r)] = n } function Fp(e, r, t) { if (e.t === "z") return; if (!t || t.cellText !== false) try { if (e.t === "e") { e.w = e.w || jt[e.v] } else if (r === "General") { if (e.t === "n") { if ((e.v | 0) === e.v) e.w = D._general_int(e.v); else e.w = D._general_num(e.v) } else e.w = D._general(e.v) } else e.w = Dp(r || "General", e.v) } catch (a) { if (t.WTF) throw a } try { var n = F[r] || r || "General"; if (t.cellNF) e.z = n; if (t.cellDates && e.t == "n" && D.is_date(n)) { var i = D.parse_date_code(e.v); if (i) { e.t = "d"; e.v = new Date(i.y,i.m - 1,i.d,i.H,i.M,i.S,i.u) } } } catch (a) { if (t.WTF) throw a } } function Pp(e, r, t) { if (t.cellStyles) { if (r.Interior) { var a = r.Interior; if (a.Pattern) a.patternType = uo[a.Pattern] || a.Pattern } } e[r.ID] = r } function Np(e, r, t, a, n, i, s, f, o, l) { var c = "General" , h = a.StyleID , u = {}; l = l || {}; var d = []; var p = 0; if (h === undefined && f) h = f.StyleID; if (h === undefined && s) h = s.StyleID; while (i[h] !== undefined) { if (i[h].nf) c = i[h].nf; if (i[h].Interior) d.push(i[h].Interior); if (!i[h].Parent) break; h = i[h].Parent } switch (t.Type) { case "Boolean": a.t = "b"; a.v = Ve(e); break; case "String": a.t = "s"; a.r = He(De(e)); a.v = e.indexOf("<") > -1 ? De(r) : a.r; break; case "DateTime": if (e.slice(-1) != "Z") e += "Z"; a.v = (ie(e) - new Date(Date.UTC(1899, 11, 30))) / (24 * 60 * 60 * 1e3); if (a.v !== a.v) a.v = De(e); else if (a.v < 60) a.v = a.v - 1; if (!c || c == "General") c = "yyyy-mm-dd"; case "Number": if (a.v === undefined) a.v = +e; if (!a.t) a.t = "n"; break; case "Error": a.t = "e"; a.v = Kt[e]; if (l.cellText !== false) a.w = e; break; default: a.t = "s"; a.v = He(r || e); break; } Fp(a, c, l); if (l.cellFormula !== false) { if (a.Formula) { var v = De(a.Formula); if (v.charCodeAt(0) == 61) v = v.slice(1); a.f = Xl(v, n); delete a.Formula; if (a.ArrayRange == "RC") a.F = Xl("RC:RC", n); else if (a.ArrayRange) { a.F = Xl(a.ArrayRange, n); o.push([pt(a.F), a.F]) } } else { for (p = 0; p < o.length; ++p) if (n.r >= o[p][0].s.r && n.r <= o[p][0].e.r) if (n.c >= o[p][0].s.c && n.c <= o[p][0].e.c) a.F = o[p][1] } } if (l.cellStyles) { d.forEach(function(e) { if (!u.patternType && e.patternType) u.patternType = e.patternType }); a.s = u } if (a.StyleID !== undefined) a.ixfe = a.StyleID } function Lp(e) { e.t = e.v || ""; e.t = e.t.replace(/\r\n/g, "\n").replace(/\r/g, "\n"); e.v = e.w = e.ixfe = undefined } function Mp(e) { if (b && Buffer.isBuffer(e)) return e.toString("utf8"); if (typeof e === "string") return e; if (typeof Uint8Array !== "undefined" && e instanceof Uint8Array) return ze(B(y(e))); throw new Error("Bad input format: expected Buffer or string") } var Up = /<(\/?)([^\s?>!\/:]*:|)([^\s?>:\/]+)[^>]*>/gm; function Hp(e, r) { var t = r || {}; O(D); var a = d(Mp(e)); if (t.type == "binary" || t.type == "array" || t.type == "base64") { if (typeof cptable !== "undefined") a = cptable.utils.decode(65001, c(a)); else a = ze(a) } var n = a.slice(0, 1024).toLowerCase() , i = false; if (n.indexOf("= 0) i = true }); if (i) return Dv.to_workbook(a, t); var s; var f = [], o; if (v != null && t.dense == null) t.dense = v; var l = {} , h = [] , u = t.dense ? [] : {} , p = ""; var g = {} , m = {} , b = {}; var w = Ip('') , C = 0; var E = 0 , k = 0; var S = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }; var A = {} , _ = {}; var B = "" , T = 0; var y = []; var x = {} , I = {} , R = 0 , P = []; var N = [] , L = {}; var M = [], U, H = false; var W = []; var V = [] , z = {} , X = 0 , G = 0; var j = { Sheets: [], WBProps: { date1904: false } } , K = {}; Up.lastIndex = 0; a = a.replace(//gm, ""); while (s = Up.exec(a)) switch (s[3]) { case "Data": if (f[f.length - 1][1]) break; if (s[1] === "/") Np(a.slice(C, s.index), B, w, f[f.length - 1][0] == "Comment" ? L : m, { c: E, r: k }, A, M[E], b, W, t); else { B = ""; w = Ip(s[0]); C = s.index + s[0].length } break; case "Cell": if (s[1] === "/") { if (N.length > 0) m.c = N; if ((!t.sheetRows || t.sheetRows > k) && m.v !== undefined) { if (t.dense) { if (!u[k]) u[k] = []; u[k][E] = m } else u[st(E) + tt(k)] = m } if (m.HRef) { m.l = { Target: m.HRef }; if (m.HRefScreenTip) m.l.Tooltip = m.HRefScreenTip; delete m.HRef; delete m.HRefScreenTip } if (m.MergeAcross || m.MergeDown) { X = E + (parseInt(m.MergeAcross, 10) | 0); G = k + (parseInt(m.MergeDown, 10) | 0); y.push({ s: { c: E, r: k }, e: { c: X, r: G } }) } if (!t.sheetStubs) { if (m.MergeAcross) E = X + 1; else ++E } else if (m.MergeAcross || m.MergeDown) { for (var Y = E; Y <= X; ++Y) { for (var $ = k; $ <= G; ++$) { if (Y > E || $ > k) { if (t.dense) { if (!u[$]) u[$] = []; u[$][Y] = { t: "z" } } else u[st(Y) + tt($)] = { t: "z" } } } } E = X + 1 } else ++E } else { m = Rp(s[0]); if (m.Index) E = +m.Index - 1; if (E < S.s.c) S.s.c = E; if (E > S.e.c) S.e.c = E; if (s[0].slice(-2) === "/>") ++E; N = [] } break; case "Row": if (s[1] === "/" || s[0].slice(-2) === "/>") { if (k < S.s.r) S.s.r = k; if (k > S.e.r) S.e.r = k; if (s[0].slice(-2) === "/>") { b = Ip(s[0]); if (b.Index) k = +b.Index - 1 } E = 0; ++k } else { b = Ip(s[0]); if (b.Index) k = +b.Index - 1; z = {}; if (b.AutoFitHeight == "0" || b.Height) { z.hpx = parseInt(b.Height, 10); z.hpt = co(z.hpx); V[k] = z } if (b.Hidden == "1") { z.hidden = true; V[k] = z } } break; case "Worksheet": if (s[1] === "/") { if ((o = f.pop())[0] !== s[3]) throw new Error("Bad state: " + o.join("|")); h.push(p); if (S.s.r <= S.e.r && S.s.c <= S.e.c) { u["!ref"] = dt(S); if (t.sheetRows && t.sheetRows <= S.e.r) { u["!fullref"] = u["!ref"]; S.e.r = t.sheetRows - 1; u["!ref"] = dt(S) } } if (y.length) u["!merges"] = y; if (M.length > 0) u["!cols"] = M; if (V.length > 0) u["!rows"] = V; l[p] = u } else { S = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }; k = E = 0; f.push([s[3], false]); o = Ip(s[0]); p = De(o.Name); u = t.dense ? [] : {}; y = []; W = []; V = []; K = { name: p, Hidden: 0 }; j.Sheets.push(K) } break; case "Table": if (s[1] === "/") { if ((o = f.pop())[0] !== s[3]) throw new Error("Bad state: " + o.join("|")) } else if (s[0].slice(-2) == "/>") break; else { g = Ip(s[0]); f.push([s[3], false]); M = []; H = false } break; case "Style": if (s[1] === "/") Pp(A, _, t); else _ = Ip(s[0]); break; case "NumberFormat": _.nf = De(Ip(s[0]).Format || "General"); if (F[_.nf]) _.nf = F[_.nf]; for (var Z = 0; Z != 392; ++Z) if (D._table[Z] == _.nf) break; if (Z == 392) for (Z = 57; Z != 392; ++Z) if (D._table[Z] == null) { D.load(_.nf, Z); break } break; case "Column": if (f[f.length - 1][0] !== "Table") break; U = Ip(s[0]); if (U.Hidden) { U.hidden = true; delete U.Hidden } if (U.Width) U.wpx = parseInt(U.Width, 10); if (!H && U.wpx > 10) { H = true; ro = Jf; for (var Q = 0; Q < M.length; ++Q) if (M[Q]) fo(M[Q]) } if (H) fo(U); M[U.Index - 1 || M.length] = U; for (var J = 0; J < +U.Span; ++J) M[M.length] = fe(U); break; case "NamedRange": if (!j.Names) j.Names = []; var q = ye(s[0]); var ee = { Name: q.Name, Ref: Xl(q.RefersTo.slice(1), { r: 0, c: 0 }) }; if (j.Sheets.length > 0) ee.Sheet = j.Sheets.length - 1; j.Names.push(ee); break; case "NamedCell": break; case "B": break; case "I": break; case "U": break; case "S": break; case "Sub": break; case "Sup": break; case "Span": break; case "Border": break; case "Alignment": break; case "Borders": break; case "Font": if (s[0].slice(-2) === "/>") break; else if (s[1] === "/") B += a.slice(T, s.index); else T = s.index + s[0].length; break; case "Interior": if (!t.cellStyles) break; _.Interior = Ip(s[0]); break; case "Protection": break; case "Author": ; case "Title": ; case "Description": ; case "Created": ; case "Keywords": ; case "Subject": ; case "Category": ; case "Company": ; case "LastAuthor": ; case "LastSaved": ; case "LastPrinted": ; case "Version": ; case "Revision": ; case "TotalTime": ; case "HyperlinkBase": ; case "Manager": ; case "ContentStatus": ; case "Identifier": ; case "Language": ; case "AppName": if (s[0].slice(-2) === "/>") break; else if (s[1] === "/") ln(x, s[3], a.slice(R, s.index)); else R = s.index + s[0].length; break; case "Paragraphs": break; case "Styles": ; case "Workbook": if (s[1] === "/") { if ((o = f.pop())[0] !== s[3]) throw new Error("Bad state: " + o.join("|")) } else f.push([s[3], false]); break; case "Comment": if (s[1] === "/") { if ((o = f.pop())[0] !== s[3]) throw new Error("Bad state: " + o.join("|")); Lp(L); N.push(L) } else { f.push([s[3], false]); o = Ip(s[0]); L = { a: o.Author } } break; case "AutoFilter": if (s[1] === "/") { if ((o = f.pop())[0] !== s[3]) throw new Error("Bad state: " + o.join("|")) } else if (s[0].charAt(s[0].length - 2) !== "/") { var re = Ip(s[0]); u["!autofilter"] = { ref: Xl(re.Range).replace(/\$/g, "") }; f.push([s[3], true]) } break; case "Name": break; case "ComponentOptions": ; case "DocumentProperties": ; case "CustomDocumentProperties": ; case "OfficeDocumentSettings": ; case "PivotTable": ; case "PivotCache": ; case "Names": ; case "MapInfo": ; case "PageBreaks": ; case "QueryTable": ; case "DataValidation": ; case "Sorting": ; case "Schema": ; case "data": ; case "ConditionalFormatting": ; case "SmartTagType": ; case "SmartTags": ; case "ExcelWorkbook": ; case "WorkbookOptions": ; case "WorksheetOptions": if (s[1] === "/") { if ((o = f.pop())[0] !== s[3]) throw new Error("Bad state: " + o.join("|")) } else if (s[0].charAt(s[0].length - 2) !== "/") f.push([s[3], true]); break; default: if (f.length == 0 && s[3] == "document") return Uv(a, t); if (f.length == 0 && s[3] == "UOF") return Uv(a, t); var te = true; switch (f[f.length - 1][0]) { case "OfficeDocumentSettings": switch (s[3]) { case "AllowPNG": break; case "RemovePersonalInformation": break; case "DownloadComponents": break; case "LocationOfComponents": break; case "Colors": break; case "Color": break; case "Index": break; case "RGB": break; case "PixelsPerInch": break; case "TargetScreenSize": break; case "ReadOnlyRecommended": break; default: te = false; } break; case "ComponentOptions": switch (s[3]) { case "Toolbar": break; case "HideOfficeLogo": break; case "SpreadsheetAutoFit": break; case "Label": break; case "Caption": break; case "MaxHeight": break; case "MaxWidth": break; case "NextSheetNumber": break; default: te = false; } break; case "ExcelWorkbook": switch (s[3]) { case "Date1904": j.WBProps.date1904 = true; break; case "WindowHeight": break; case "WindowWidth": break; case "WindowTopX": break; case "WindowTopY": break; case "TabRatio": break; case "ProtectStructure": break; case "ProtectWindows": break; case "ActiveSheet": break; case "DisplayInkNotes": break; case "FirstVisibleSheet": break; case "SupBook": break; case "SheetName": break; case "SheetIndex": break; case "SheetIndexFirst": break; case "SheetIndexLast": break; case "Dll": break; case "AcceptLabelsInFormulas": break; case "DoNotSaveLinkValues": break; case "Iteration": break; case "MaxIterations": break; case "MaxChange": break; case "Path": break; case "Xct": break; case "Count": break; case "SelectedSheets": break; case "Calculation": break; case "Uncalced": break; case "StartupPrompt": break; case "Crn": break; case "ExternName": break; case "Formula": break; case "ColFirst": break; case "ColLast": break; case "WantAdvise": break; case "Boolean": break; case "Error": break; case "Text": break; case "OLE": break; case "NoAutoRecover": break; case "PublishObjects": break; case "DoNotCalculateBeforeSave": break; case "Number": break; case "RefModeR1C1": break; case "EmbedSaveSmartTags": break; default: te = false; } break; case "WorkbookOptions": switch (s[3]) { case "OWCVersion": break; case "Height": break; case "Width": break; default: te = false; } break; case "WorksheetOptions": switch (s[3]) { case "Visible": if (s[0].slice(-2) === "/>") {} else if (s[1] === "/") switch (a.slice(R, s.index)) { case "SheetHidden": K.Hidden = 1; break; case "SheetVeryHidden": K.Hidden = 2; break; } else R = s.index + s[0].length; break; case "Header": if (!u["!margins"]) Zh(u["!margins"] = {}, "xlml"); u["!margins"].header = ye(s[0]).Margin; break; case "Footer": if (!u["!margins"]) Zh(u["!margins"] = {}, "xlml"); u["!margins"].footer = ye(s[0]).Margin; break; case "PageMargins": var ae = ye(s[0]); if (!u["!margins"]) Zh(u["!margins"] = {}, "xlml"); if (ae.Top) u["!margins"].top = ae.Top; if (ae.Left) u["!margins"].left = ae.Left; if (ae.Right) u["!margins"].right = ae.Right; if (ae.Bottom) u["!margins"].bottom = ae.Bottom; break; case "DisplayRightToLeft": if (!j.Views) j.Views = []; if (!j.Views[0]) j.Views[0] = {}; j.Views[0].RTL = true; break; case "Unsynced": break; case "Print": break; case "Panes": break; case "Scale": break; case "Pane": break; case "Number": break; case "Layout": break; case "PageSetup": break; case "Selected": break; case "ProtectObjects": break; case "EnableSelection": break; case "ProtectScenarios": break; case "ValidPrinterInfo": break; case "HorizontalResolution": break; case "VerticalResolution": break; case "NumberofCopies": break; case "ActiveRow": break; case "ActiveCol": break; case "ActivePane": break; case "TopRowVisible": break; case "TopRowBottomPane": break; case "LeftColumnVisible": break; case "LeftColumnRightPane": break; case "FitToPage": break; case "RangeSelection": break; case "PaperSizeIndex": break; case "PageLayoutZoom": break; case "PageBreakZoom": break; case "FilterOn": break; case "DoNotDisplayGridlines": break; case "SplitHorizontal": break; case "SplitVertical": break; case "FreezePanes": break; case "FrozenNoSplit": break; case "FitWidth": break; case "FitHeight": break; case "CommentsLayout": break; case "Zoom": break; case "LeftToRight": break; case "Gridlines": break; case "AllowSort": break; case "AllowFilter": break; case "AllowInsertRows": break; case "AllowDeleteRows": break; case "AllowInsertCols": break; case "AllowDeleteCols": break; case "AllowInsertHyperlinks": break; case "AllowFormatCells": break; case "AllowSizeCols": break; case "AllowSizeRows": break; case "NoSummaryRowsBelowDetail": break; case "TabColorIndex": break; case "DoNotDisplayHeadings": break; case "ShowPageLayoutZoom": break; case "NoSummaryColumnsRightDetail": break; case "BlackAndWhite": break; case "DoNotDisplayZeros": break; case "DisplayPageBreak": break; case "RowColHeadings": break; case "DoNotDisplayOutline": break; case "NoOrientation": break; case "AllowUsePivotTables": break; case "ZeroHeight": break; case "ViewableRange": break; case "Selection": break; case "ProtectContents": break; default: te = false; } break; case "PivotTable": ; case "PivotCache": switch (s[3]) { case "ImmediateItemsOnDrop": break; case "ShowPageMultipleItemLabel": break; case "CompactRowIndent": break; case "Location": break; case "PivotField": break; case "Orientation": break; case "LayoutForm": break; case "LayoutSubtotalLocation": break; case "LayoutCompactRow": break; case "Position": break; case "PivotItem": break; case "DataType": break; case "DataField": break; case "SourceName": break; case "ParentField": break; case "PTLineItems": break; case "PTLineItem": break; case "CountOfSameItems": break; case "Item": break; case "ItemType": break; case "PTSource": break; case "CacheIndex": break; case "ConsolidationReference": break; case "FileName": break; case "Reference": break; case "NoColumnGrand": break; case "NoRowGrand": break; case "BlankLineAfterItems": break; case "Hidden": break; case "Subtotal": break; case "BaseField": break; case "MapChildItems": break; case "Function": break; case "RefreshOnFileOpen": break; case "PrintSetTitles": break; case "MergeLabels": break; case "DefaultVersion": break; case "RefreshName": break; case "RefreshDate": break; case "RefreshDateCopy": break; case "VersionLastRefresh": break; case "VersionLastUpdate": break; case "VersionUpdateableMin": break; case "VersionRefreshableMin": break; case "Calculation": break; default: te = false; } break; case "PageBreaks": switch (s[3]) { case "ColBreaks": break; case "ColBreak": break; case "RowBreaks": break; case "RowBreak": break; case "ColStart": break; case "ColEnd": break; case "RowEnd": break; default: te = false; } break; case "AutoFilter": switch (s[3]) { case "AutoFilterColumn": break; case "AutoFilterCondition": break; case "AutoFilterAnd": break; case "AutoFilterOr": break; default: te = false; } break; case "QueryTable": switch (s[3]) { case "Id": break; case "AutoFormatFont": break; case "AutoFormatPattern": break; case "QuerySource": break; case "QueryType": break; case "EnableRedirections": break; case "RefreshedInXl9": break; case "URLString": break; case "HTMLTables": break; case "Connection": break; case "CommandText": break; case "RefreshInfo": break; case "NoTitles": break; case "NextId": break; case "ColumnInfo": break; case "OverwriteCells": break; case "DoNotPromptForFile": break; case "TextWizardSettings": break; case "Source": break; case "Number": break; case "Decimal": break; case "ThousandSeparator": break; case "TrailingMinusNumbers": break; case "FormatSettings": break; case "FieldType": break; case "Delimiters": break; case "Tab": break; case "Comma": break; case "AutoFormatName": break; case "VersionLastEdit": break; case "VersionLastRefresh": break; default: te = false; } break; case "Sorting": ; case "ConditionalFormatting": ; case "DataValidation": switch (s[3]) { case "Range": break; case "Type": break; case "Min": break; case "Max": break; case "Sort": break; case "Descending": break; case "Order": break; case "CaseSensitive": break; case "Value": break; case "ErrorStyle": break; case "ErrorMessage": break; case "ErrorTitle": break; case "CellRangeList": break; case "InputMessage": break; case "InputTitle": break; case "ComboHide": break; case "InputHide": break; case "Condition": break; case "Qualifier": break; case "UseBlank": break; case "Value1": break; case "Value2": break; case "Format": break; default: te = false; } break; case "MapInfo": ; case "Schema": ; case "data": switch (s[3]) { case "Map": break; case "Entry": break; case "Range": break; case "XPath": break; case "Field": break; case "XSDType": break; case "FilterOn": break; case "Aggregate": break; case "ElementType": break; case "AttributeType": break; case "schema": ; case "element": ; case "complexType": ; case "datatype": ; case "all": ; case "attribute": ; case "extends": break; case "row": break; default: te = false; } break; case "SmartTags": break; default: te = false; break; } if (te) break; if (!f[f.length - 1][1]) throw "Unrecognized tag: " + s[3] + "|" + f.join("|"); if (f[f.length - 1][0] === "CustomDocumentProperties") { if (s[0].slice(-2) === "/>") break; else if (s[1] === "/") Op(I, s[3], P, a.slice(R, s.index)); else { P = s; R = s.index + s[0].length } break } if (t.WTF) throw "Unrecognized tag: " + s[3] + "|" + f.join("|"); } var ne = {}; if (!t.bookSheets && !t.bookProps) ne.Sheets = l; ne.SheetNames = h; ne.Workbook = j; ne.SSF = D.get_table(); ne.Props = x; ne.Custprops = I; return ne } function Wp(e, r) { rg(r = r || {}); switch (r.type || "base64") { case "base64": return Hp(m.decode(e), r); case "binary": ; case "buffer": ; case "file": return Hp(e, r); case "array": return Hp(B(e), r); } } function Vp(e, r) { var t = []; if (e.Props) t.push(cn(e.Props, r)); if (e.Custprops) t.push(hn(e.Props, e.Custprops, r)); return t.join("") } function zp() { return "" } function Xp(e, r) { var t = ['']; r.cellXfs.forEach(function(e, r) { var a = []; a.push(ar("NumberFormat", null, { "ss:Format": Pe(D._table[e.numFmtId]) })); t.push(ar("Style", a.join(""), { "ss:ID": "s" + (21 + r) })) }); return ar("Styles", t.join("")) } function Gp(e) { return ar("NamedRange", null, { "ss:Name": e.Name, "ss:RefersTo": "=" + jl(e.Ref, { r: 0, c: 0 }) }) } function jp(e) { if (!((e || {}).Workbook || {}).Names) return ""; var r = e.Workbook.Names; var t = []; for (var a = 0; a < r.length; ++a) { var n = r[a]; if (n.Sheet != null) continue; if (n.Name.match(/^_xlfn\./)) continue; t.push(Gp(n)) } return ar("Names", t.join("")) } function Kp(e, r, t, a) { if (!e) return ""; if (!((a || {}).Workbook || {}).Names) return ""; var n = a.Workbook.Names; var i = []; for (var s = 0; s < n.length; ++s) { var f = n[s]; if (f.Sheet != t) continue; if (f.Name.match(/^_xlfn\./)) continue; i.push(Gp(f)) } return i.join("") } function Yp(e, r, t, a) { if (!e) return ""; var n = []; if (e["!margins"]) { n.push(""); if (e["!margins"].header) n.push(ar("Header", null, { "x:Margin": e["!margins"].header })); if (e["!margins"].footer) n.push(ar("Footer", null, { "x:Margin": e["!margins"].footer })); n.push(ar("PageMargins", null, { "x:Bottom": e["!margins"].bottom || "0.75", "x:Left": e["!margins"].left || "0.7", "x:Right": e["!margins"].right || "0.7", "x:Top": e["!margins"].top || "0.75" })); n.push("") } if (a && a.Workbook && a.Workbook.Sheets && a.Workbook.Sheets[t]) { if (a.Workbook.Sheets[t].Hidden) n.push(ar("Visible", a.Workbook.Sheets[t].Hidden == 1 ? "SheetHidden" : "SheetVeryHidden", {})); else { for (var i = 0; i < t; ++i) if (a.Workbook.Sheets[i] && !a.Workbook.Sheets[i].Hidden) break; if (i == t) n.push("") } } if (((((a || {}).Workbook || {}).Views || [])[0] || {}).RTL) n.push(""); if (e["!protect"]) { n.push(rr("ProtectContents", "True")); if (e["!protect"].objects) n.push(rr("ProtectObjects", "True")); if (e["!protect"].scenarios) n.push(rr("ProtectScenarios", "True")); if (e["!protect"].selectLockedCells != null && !e["!protect"].selectLockedCells) n.push(rr("EnableSelection", "NoSelection")); else if (e["!protect"].selectUnlockedCells != null && !e["!protect"].selectUnlockedCells) n.push(rr("EnableSelection", "UnlockedCells")); [["formatCells", "AllowFormatCells"], ["formatColumns", "AllowSizeCols"], ["formatRows", "AllowSizeRows"], ["insertColumns", "AllowInsertCols"], ["insertRows", "AllowInsertRows"], ["insertHyperlinks", "AllowInsertHyperlinks"], ["deleteColumns", "AllowDeleteCols"], ["deleteRows", "AllowDeleteRows"], ["sort", "AllowSort"], ["autoFilter", "AllowFilter"], ["pivotTables", "AllowUsePivotTables"]].forEach(function(r) { if (e["!protect"][r[0]]) n.push("<" + r[1] + "/>") }) } if (n.length == 0) return ""; return ar("WorksheetOptions", n.join(""), { xmlns: fr.x }) } function $p(e) { return e.map(function(e) { var r = We(e.t || ""); var t = ar("ss:Data", r, { xmlns: "http://www.w3.org/TR/REC-html40" }); return ar("Comment", t, { "ss:Author": e.a }) }).join("") } function Zp(e, r, t, a, n, i, s) { if (!e || e.v == undefined && e.f == undefined) return ""; var f = {}; if (e.f) f["ss:Formula"] = "=" + Pe(jl(e.f, s)); if (e.F && e.F.slice(0, r.length) == r) { var o = ct(e.F.slice(r.length + 1)); f["ss:ArrayRange"] = "RC:R" + (o.r == s.r ? "" : "[" + (o.r - s.r) + "]") + "C" + (o.c == s.c ? "" : "[" + (o.c - s.c) + "]") } if (e.l && e.l.Target) { f["ss:HRef"] = Pe(e.l.Target); if (e.l.Tooltip) f["x:HRefScreenTip"] = Pe(e.l.Tooltip) } if (t["!merges"]) { var l = t["!merges"]; for (var c = 0; c != l.length; ++c) { if (l[c].s.c != s.c || l[c].s.r != s.r) continue; if (l[c].e.c > l[c].s.c) f["ss:MergeAcross"] = l[c].e.c - l[c].s.c; if (l[c].e.r > l[c].s.r) f["ss:MergeDown"] = l[c].e.r - l[c].s.r } } var h = "" , u = ""; switch (e.t) { case "z": return ""; case "n": h = "Number"; u = String(e.v); break; case "b": h = "Boolean"; u = e.v ? "1" : "0"; break; case "e": h = "Error"; u = jt[e.v]; break; case "d": h = "DateTime"; u = new Date(e.v).toISOString(); if (e.z == null) e.z = e.z || D._table[14]; break; case "s": h = "String"; u = Ue(e.v || ""); break; } var d = Qh(a.cellXfs, e, a); f["ss:StyleID"] = "s" + (21 + d); f["ss:Index"] = s.c + 1; var p = e.v != null ? u : ""; var v = '' + p + ""; if ((e.c || []).length > 0) v += $p(e.c); return ar("Cell", v, f) } function Qp(e, r) { var t = '" } function Jp(e, r, t, a) { if (!e["!ref"]) return ""; var n = pt(e["!ref"]); var i = e["!merges"] || [] , s = 0; var f = []; if (e["!cols"]) e["!cols"].forEach(function(e, r) { fo(e); var t = !!e.width; var a = $h(r, e); var n = { "ss:Index": r + 1 }; if (t) n["ss:Width"] = to(a.width); if (e.hidden) n["ss:Hidden"] = "1"; f.push(ar("Column", null, n)) }); var o = Array.isArray(e); for (var l = n.s.r; l <= n.e.r; ++l) { var c = [Qp(l, (e["!rows"] || [])[l])]; for (var h = n.s.c; h <= n.e.c; ++h) { var u = false; for (s = 0; s != i.length; ++s) { if (i[s].s.c > h) continue; if (i[s].s.r > l) continue; if (i[s].e.c < h) continue; if (i[s].e.r < l) continue; if (i[s].s.c != h || i[s].s.r != l) u = true; break } if (u) continue; var d = { r: l, c: h }; var p = ht(d) , v = o ? (e[l] || [])[h] : e[p]; c.push(Zp(v, p, e, r, t, a, d)) } c.push(""); if (c.length > 2) f.push(c.join("")) } return f.join("") } function qp(e, r, t) { var a = []; var n = t.SheetNames[e]; var i = t.Sheets[n]; var s = i ? Kp(i, r, e, t) : ""; if (s.length > 0) a.push("" + s + ""); s = i ? Jp(i, r, e, t) : ""; if (s.length > 0) a.push("" + s + "
"); a.push(Yp(i, r, e, t)); return a.join("") } function ev(e, r) { if (!r) r = {}; if (!e.SSF) e.SSF = D.get_table(); if (e.SSF) { O(D); D.load_table(e.SSF); r.revssf = Z(e.SSF); r.revssf[e.SSF[65535]] = 0; r.ssf = e.SSF; r.cellXfs = []; Qh(r.cellXfs, {}, { revssf: { General: 0 } }) } var t = []; t.push(Vp(e, r)); t.push(zp(e, r)); t.push(""); t.push(""); for (var a = 0; a < e.SheetNames.length; ++a) t.push(ar("Worksheet", qp(a, r, e), { "ss:Name": Pe(e.SheetNames[a]) })); t[2] = Xp(e, r); t[3] = jp(e, r); return Se + ar("Workbook", t.join(""), { xmlns: fr.ss, "xmlns:o": fr.o, "xmlns:x": fr.x, "xmlns:ss": fr.ss, "xmlns:dt": fr.dt, "xmlns:html": fr.html }) } function rv(e) { var r = {}; var t = e.content; t.l = 28; r.AnsiUserType = t._R(0, "lpstr-ansi"); r.AnsiClipboardFormat = qt(t); if (t.length - t.l <= 4) return r; var a = t._R(4); if (a == 0 || a > 40) return r; t.l -= 4; r.Reserved1 = t._R(0, "lpstr-ansi"); if (t.length - t.l <= 4) return r; a = t._R(4); if (a !== 1907505652) return r; r.UnicodeClipboardFormat = ea(t); a = t._R(4); if (a == 0 || a > 40) return r; t.l -= 4; r.Reserved2 = t._R(0, "lpwstr") } function tv(e, r, t, a) { var n = t; var i = []; var s = r.slice(r.l, r.l + n); if (a && a.enc && a.enc.insitu) switch (e.n) { case "BOF": ; case "FilePass": ; case "FileLock": ; case "InterfaceHdr": ; case "RRDInfo": ; case "RRDHead": ; case "UsrExcl": break; default: if (s.length === 0) break; a.enc.insitu(s); } i.push(s); r.l += n; var f = dv[Dr(r, r.l)]; var o = 0; while (f != null && f.n.slice(0, 8) === "Continue") { n = Dr(r, r.l + 2); o = r.l + 4; if (f.n == "ContinueFrt") o += 4; else if (f.n.slice(0, 11) == "ContinueFrt") o += 12; i.push(r.slice(o, r.l + 4 + n)); r.l += 4 + n; f = dv[Dr(r, r.l)] } var l = x(i); zr(l, 0); var c = 0; l.lens = []; for (var h = 0; h < i.length; ++h) { l.lens.push(c); c += i[h].length } return e.f(l, l.length, a) } function av(e, r, t) { if (e.t === "z") return; if (!e.XF) return; var a = 0; try { a = e.z || e.XF.numFmtId || 0; if (r.cellNF) e.z = D._table[a] } catch (n) { if (r.WTF) throw n } if (!r || r.cellText !== false) try { if (e.t === "e") { e.w = e.w || jt[e.v] } else if (a === 0 || a == "General") { if (e.t === "n") { if ((e.v | 0) === e.v) e.w = D._general_int(e.v); else e.w = D._general_num(e.v) } else e.w = D._general(e.v) } else e.w = D.format(a, e.v, { date1904: !!t }) } catch (n) { if (r.WTF) throw n } if (r.cellDates && a && e.t == "n" && D.is_date(D._table[a] || String(a))) { var i = D.parse_date_code(e.v); if (i) { e.t = "d"; e.v = new Date(i.y,i.m - 1,i.d,i.H,i.M,i.S,i.u) } } } function nv(e, r, t) { return { v: e, ixfe: r, t: t } } function iv(e, r) { var t = { opts: {} }; var a = {}; if (v != null && r.dense == null) r.dense = v; var n = r.dense ? [] : {}; var i = {}; var s = {}; var f = null; var l = []; var c = ""; var h = {}; var u, d = "", p, g, m, b; var w = {}; var C = []; var E; var k; var S = true; var A = []; var _ = []; var B = { Sheets: [], WBProps: { date1904: false }, Views: [{}] } , T = {}; var y = function be(e) { if (e < 8) return ka[e]; if (e < 64) return _[e - 8] || ka[e]; return ka[e] }; var x = function we(e, r, t) { var a = r.XF.data; if (!a || !a.patternType || !t || !t.cellStyles) return; r.s = {}; r.s.patternType = a.patternType; var n; if (n = Yf(y(a.icvFore))) { r.s.fgColor = { rgb: n } } if (n = Yf(y(a.icvBack))) { r.s.bgColor = { rgb: n } } }; var I = function Ce(e, r, t) { if (z > 1) return; if (t.sheetRows && e.r >= t.sheetRows) S = false; if (!S) return; if (t.cellStyles && r.XF && r.XF.data) x(e, r, t); delete r.ixfe; delete r.XF; u = e; d = ht(e); if (!s || !s.s || !s.e) s = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }; if (e.r < s.s.r) s.s.r = e.r; if (e.c < s.s.c) s.s.c = e.c; if (e.r + 1 > s.e.r) s.e.r = e.r + 1; if (e.c + 1 > s.e.c) s.e.c = e.c + 1; if (t.cellFormula && r.f) { for (var a = 0; a < C.length; ++a) { if (C[a][0].s.c > e.c || C[a][0].s.r > e.r) continue; if (C[a][0].e.c < e.c || C[a][0].e.r < e.r) continue; r.F = dt(C[a][0]); if (C[a][0].s.c != e.c || C[a][0].s.r != e.r) delete r.f; if (r.f) r.f = "" + _h(C[a][1], s, e, W, R); break } } { if (t.dense) { if (!n[e.r]) n[e.r] = []; n[e.r][e.c] = r } else n[d] = r } }; var R = { enc: false, sbcch: 0, snames: [], sharedf: w, arrayf: C, rrtabid: [], lastuser: "", biff: 8, codepage: 0, winlocked: 0, cellStyles: !!r && !!r.cellStyles, WTF: !!r && !!r.wtf }; if (r.password) R.password = r.password; var O; var F = []; var P = []; var N = [] , L = []; var M = 0 , U = 0; var H = false; var W = []; W.SheetNames = R.snames; W.sharedf = R.sharedf; W.arrayf = R.arrayf; W.names = []; W.XTI = []; var V = ""; var z = 0; var X = 0 , G = []; var K = []; var Y; R.codepage = 1200; o(1200); var $ = false; while (e.l < e.length - 1) { var Z = e.l; var Q = e._R(2); if (Q === 0 && V === "EOF") break; var J = e.l === e.length ? 0 : e._R(2); var q = dv[Q]; if (q && q.f) { if (r.bookSheets) { if (V === "BoundSheet8" && q.n !== "BoundSheet8") break } V = q.n; if (q.r === 2 || q.r == 12) { var ee = e._R(2); J -= 2; if (!R.enc && ee !== Q && ((ee & 255) << 8 | ee >> 8) !== Q) throw new Error("rt mismatch: " + ee + "!=" + Q); if (q.r == 12) { e.l += 10; J -= 10 } } var re; if (q.n === "EOF") re = q.f(e, J, R); else re = tv(q, e, J, R); var te = q.n; if (z == 0 && te != "BOF") continue; switch (te) { case "Date1904": t.opts.Date1904 = B.WBProps.date1904 = re; break; case "WriteProtect": t.opts.WriteProtect = true; break; case "FilePass": if (!R.enc) e.l = 0; R.enc = re; if (!r.password) throw new Error("File is password-protected"); if (re.valid == null) throw new Error("Encryption scheme unsupported"); if (!re.valid) throw new Error("Password is incorrect"); break; case "WriteAccess": R.lastuser = re; break; case "FileSharing": break; case "CodePage": switch (re) { case 21010: re = 1200; break; case 32768: re = 1e4; break; case 32769: re = 1252; break; } o(R.codepage = re); $ = true; break; case "RRTabId": R.rrtabid = re; break; case "WinProtect": R.winlocked = re; break; case "Template": break; case "BookBool": break; case "UsesELFs": break; case "MTRSettings": break; case "RefreshAll": ; case "CalcCount": ; case "CalcDelta": ; case "CalcIter": ; case "CalcMode": ; case "CalcPrecision": ; case "CalcSaveRecalc": t.opts[te] = re; break; case "CalcRefMode": R.CalcRefMode = re; break; case "Uncalced": break; case "ForceFullCalculation": t.opts.FullCalc = re; break; case "WsBool": if (re.fDialog) n["!type"] = "dialog"; break; case "XF": A.push(re); break; case "ExtSST": break; case "BookExt": break; case "RichTextStream": break; case "BkHim": break; case "SupBook": W.push([re]); W[W.length - 1].XTI = []; break; case "ExternName": W[W.length - 1].push(re); break; case "Index": break; case "Lbl": Y = { Name: re.Name, Ref: _h(re.rgce, s, null, W, R) }; if (re.itab > 0) Y.Sheet = re.itab - 1; W.names.push(Y); if (!W[0]) { W[0] = []; W[0].XTI = [] } W[W.length - 1].push(re); if (re.Name == "_xlnm._FilterDatabase" && re.itab > 0) if (re.rgce && re.rgce[0] && re.rgce[0][0] && re.rgce[0][0][0] == "PtgArea3d") K[re.itab - 1] = { ref: dt(re.rgce[0][0][1][2]) }; break; case "ExternCount": R.ExternCount = re; break; case "ExternSheet": if (W.length == 0) { W[0] = []; W[0].XTI = [] } W[W.length - 1].XTI = W[W.length - 1].XTI.concat(re); W.XTI = W.XTI.concat(re); break; case "NameCmt": if (R.biff < 8) break; if (Y != null) Y.Comment = re[1]; break; case "Protect": n["!protect"] = re; break; case "Password": if (re !== 0 && R.WTF) console.error("Password verifier: " + re); break; case "Prot4Rev": ; case "Prot4RevPass": break; case "BoundSheet8": { i[re.pos] = re; R.snames.push(re.name) } break; case "EOF": { if (--z) break; if (s.e) { if (s.e.r > 0 && s.e.c > 0) { s.e.r--; s.e.c--; n["!ref"] = dt(s); if (r.sheetRows && r.sheetRows <= s.e.r) { var ae = s.e.r; s.e.r = r.sheetRows - 1; n["!fullref"] = n["!ref"]; n["!ref"] = dt(s); s.e.r = ae } s.e.r++; s.e.c++ } if (F.length > 0) n["!merges"] = F; if (P.length > 0) n["!objects"] = P; if (N.length > 0) n["!cols"] = N; if (L.length > 0) n["!rows"] = L; B.Sheets.push(T) } if (c === "") h = n; else a[c] = n; n = r.dense ? [] : {} } break; case "BOF": { if (R.biff === 8) R.biff = { 9: 2, 521: 3, 1033: 4 }[Q] || { 512: 2, 768: 3, 1024: 4, 1280: 5, 1536: 8, 2: 2, 7: 2 }[re.BIFFVer] || 8; if (R.biff == 8 && re.BIFFVer == 0 && re.dt == 16) R.biff = 2; if (z++) break; S = true; n = r.dense ? [] : {}; if (R.biff < 8 && !$) { $ = true; o(R.codepage = r.codepage || 1252) } if (R.biff < 5) { if (c === "") c = "Sheet1"; s = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }; var ne = { pos: e.l - J, name: c }; i[ne.pos] = ne; R.snames.push(c) } else c = (i[Z] || { name: "" }).name; if (re.dt == 32) n["!type"] = "chart"; if (re.dt == 64) n["!type"] = "macro"; F = []; P = []; R.arrayf = C = []; N = []; L = []; M = U = 0; H = false; T = { Hidden: (i[Z] || { hs: 0 }).hs, name: c } } break; case "Number": ; case "BIFF2NUM": ; case "BIFF2INT": { if (n["!type"] == "chart") if (r.dense ? (n[re.r] || [])[re.c] : n[ht({ c: re.c, r: re.r })]) ++re.c; E = { ixfe: re.ixfe, XF: A[re.ixfe] || {}, v: re.val, t: "n" }; if (X > 0) E.z = G[E.ixfe >> 8 & 31]; av(E, r, t.opts.Date1904); I({ c: re.c, r: re.r }, E, r) } break; case "BoolErr": { E = { ixfe: re.ixfe, XF: A[re.ixfe], v: re.val, t: re.t }; if (X > 0) E.z = G[E.ixfe >> 8 & 31]; av(E, r, t.opts.Date1904); I({ c: re.c, r: re.r }, E, r) } break; case "RK": { E = { ixfe: re.ixfe, XF: A[re.ixfe], v: re.rknum, t: "n" }; if (X > 0) E.z = G[E.ixfe >> 8 & 31]; av(E, r, t.opts.Date1904); I({ c: re.c, r: re.r }, E, r) } break; case "MulRk": { for (var ie = re.c; ie <= re.C; ++ie) { var se = re.rkrec[ie - re.c][0]; E = { ixfe: se, XF: A[se], v: re.rkrec[ie - re.c][1], t: "n" }; if (X > 0) E.z = G[E.ixfe >> 8 & 31]; av(E, r, t.opts.Date1904); I({ c: ie, r: re.r }, E, r) } } break; case "Formula": { if (re.val == "String") { f = re; break } E = nv(re.val, re.cell.ixfe, re.tt); E.XF = A[E.ixfe]; if (r.cellFormula) { var fe = re.formula; if (fe && fe[0] && fe[0][0] && fe[0][0][0] == "PtgExp") { var oe = fe[0][0][1][0] , le = fe[0][0][1][1]; var ce = ht({ r: oe, c: le }); if (w[ce]) E.f = "" + _h(re.formula, s, re.cell, W, R); else E.F = ((r.dense ? (n[oe] || [])[le] : n[ce]) || {}).F } else E.f = "" + _h(re.formula, s, re.cell, W, R) } if (X > 0) E.z = G[E.ixfe >> 8 & 31]; av(E, r, t.opts.Date1904); I(re.cell, E, r); f = re } break; case "String": { if (f) { f.val = re; E = nv(re, f.cell.ixfe, "s"); E.XF = A[E.ixfe]; if (r.cellFormula) { E.f = "" + _h(f.formula, s, f.cell, W, R) } if (X > 0) E.z = G[E.ixfe >> 8 & 31]; av(E, r, t.opts.Date1904); I(f.cell, E, r); f = null } else throw new Error("String record expects Formula") } break; case "Array": { C.push(re); var he = ht(re[0].s); p = r.dense ? (n[re[0].s.r] || [])[re[0].s.c] : n[he]; if (r.cellFormula && p) { if (!f) break; if (!he || !p) break; p.f = "" + _h(re[1], s, re[0], W, R); p.F = dt(re[0]) } } break; case "ShrFmla": { if (!S) break; if (!r.cellFormula) break; if (d) { if (!f) break; w[ht(f.cell)] = re[0]; p = r.dense ? (n[f.cell.r] || [])[f.cell.c] : n[ht(f.cell)]; (p || {}).f = "" + _h(re[0], s, u, W, R) } } break; case "LabelSst": E = nv(l[re.isst].t, re.ixfe, "s"); E.XF = A[E.ixfe]; if (X > 0) E.z = G[E.ixfe >> 8 & 31]; av(E, r, t.opts.Date1904); I({ c: re.c, r: re.r }, E, r); break; case "Blank": if (r.sheetStubs) { E = { ixfe: re.ixfe, XF: A[re.ixfe], t: "z" }; if (X > 0) E.z = G[E.ixfe >> 8 & 31]; av(E, r, t.opts.Date1904); I({ c: re.c, r: re.r }, E, r) } break; case "MulBlank": if (r.sheetStubs) { for (var ue = re.c; ue <= re.C; ++ue) { var de = re.ixfe[ue - re.c]; E = { ixfe: de, XF: A[de], t: "z" }; if (X > 0) E.z = G[E.ixfe >> 8 & 31]; av(E, r, t.opts.Date1904); I({ c: ue, r: re.r }, E, r) } } break; case "RString": ; case "Label": ; case "BIFF2STR": E = nv(re.val, re.ixfe, "s"); E.XF = A[E.ixfe]; if (X > 0) E.z = G[E.ixfe >> 8 & 31]; av(E, r, t.opts.Date1904); I({ c: re.c, r: re.r }, E, r); break; case "Dimensions": { if (z === 1) s = re } break; case "SST": { l = re } break; case "Format": { if (R.biff == 4) { G[X++] = re[1]; for (var pe = 0; pe < X + 163; ++pe) if (D._table[pe] == re[1]) break; if (pe >= 163) D.load(re[1], X + 163) } else D.load(re[1], re[0]) } break; case "BIFF2FORMAT": { G[X++] = re; for (var ve = 0; ve < X + 163; ++ve) if (D._table[ve] == re) break; if (ve >= 163) D.load(re, X + 163) } break; case "MergeCells": F = F.concat(re); break; case "Obj": P[re.cmo[0]] = R.lastobj = re; break; case "TxO": R.lastobj.TxO = re; break; case "ImData": R.lastobj.ImData = re; break; case "HLink": { for (b = re[0].s.r; b <= re[0].e.r; ++b) for (m = re[0].s.c; m <= re[0].e.c; ++m) { p = r.dense ? (n[b] || [])[m] : n[ht({ c: m, r: b })]; if (p) p.l = re[1] } } break; case "HLinkTooltip": { for (b = re[0].s.r; b <= re[0].e.r; ++b) for (m = re[0].s.c; m <= re[0].e.c; ++m) { p = r.dense ? (n[b] || [])[m] : n[ht({ c: m, r: b })]; if (p && p.l) p.l.Tooltip = re[1] } } break; case "Note": { if (R.biff <= 5 && R.biff >= 2) break; p = r.dense ? (n[re[0].r] || [])[re[0].c] : n[ht(re[0])]; var ge = P[re[2]]; if (!p) break; if (!p.c) p.c = []; g = { a: re[1], t: ge.TxO.t }; p.c.push(g) } break; default: switch (q.n) { case "ClrtClient": break; case "XFExt": gl(A[re.ixfe], re.ext); break; case "DefColWidth": M = re; break; case "DefaultRowHeight": U = re[1]; break; case "ColInfo": { if (!R.cellStyles) break; while (re.e >= re.s) { N[re.e--] = { width: re.w / 256 }; if (!H) { H = true; so(re.w / 256) } fo(N[re.e + 1]) } } break; case "Row": { var me = {}; if (re.level != null) { L[re.r] = me; me.level = re.level } if (re.hidden) { L[re.r] = me; me.hidden = true } if (re.hpt) { L[re.r] = me; me.hpt = re.hpt; me.hpx = ho(re.hpt) } } break; case "LeftMargin": ; case "RightMargin": ; case "TopMargin": ; case "BottomMargin": if (!n["!margins"]) Zh(n["!margins"] = {}); n["!margins"][te.slice(0, -6).toLowerCase()] = re; break; case "Setup": if (!n["!margins"]) Zh(n["!margins"] = {}); n["!margins"].header = re.header; n["!margins"].footer = re.footer; break; case "Window2": if (re.RTL) B.Views[0].RTL = true; break; case "Header": break; case "Footer": break; case "HCenter": break; case "VCenter": break; case "Pls": break; case "GCW": break; case "LHRecord": break; case "DBCell": break; case "EntExU2": break; case "SxView": break; case "Sxvd": break; case "SXVI": break; case "SXVDEx": break; case "SxIvd": break; case "SXString": break; case "Sync": break; case "Addin": break; case "SXDI": break; case "SXLI": break; case "SXEx": break; case "QsiSXTag": break; case "Selection": break; case "Feat": break; case "FeatHdr": ; case "FeatHdr11": break; case "Feature11": ; case "Feature12": ; case "List12": break; case "Country": k = re; break; case "RecalcId": break; case "DxGCol": break; case "Fbi": ; case "Fbi2": ; case "GelFrame": break; case "Font": break; case "XFCRC": break; case "Style": break; case "StyleExt": break; case "Palette": _ = re; break; case "Theme": O = re; break; case "ScenarioProtect": break; case "ObjProtect": break; case "CondFmt12": break; case "Table": break; case "TableStyles": break; case "TableStyle": break; case "TableStyleElement": break; case "SXStreamID": break; case "SXVS": break; case "DConRef": break; case "SXAddl": break; case "DConBin": break; case "DConName": break; case "SXPI": break; case "SxFormat": break; case "SxSelect": break; case "SxRule": break; case "SxFilt": break; case "SxItm": break; case "SxDXF": break; case "ScenMan": break; case "DCon": break; case "CellWatch": break; case "PrintRowCol": break; case "PrintGrid": break; case "PrintSize": break; case "XCT": break; case "CRN": break; case "Scl": {} break; case "SheetExt": {} break; case "SheetExtOptional": {} break; case "ObNoMacros": {} break; case "ObProj": {} break; case "CodeName": { if (!c) B.WBProps.CodeName = re || "ThisWorkbook"; else T.CodeName = re || T.name } break; case "GUIDTypeLib": {} break; case "WOpt": break; case "PhoneticInfo": break; case "OleObjectSize": break; case "DXF": ; case "DXFN": ; case "DXFN12": ; case "DXFN12List": ; case "DXFN12NoCB": break; case "Dv": ; case "DVal": break; case "BRAI": ; case "Series": ; case "SeriesText": break; case "DConn": break; case "DbOrParamQry": break; case "DBQueryExt": break; case "OleDbConn": break; case "ExtString": break; case "IFmtRecord": break; case "CondFmt": ; case "CF": ; case "CF12": ; case "CFEx": break; case "Excel9File": break; case "Units": break; case "InterfaceHdr": ; case "Mms": ; case "InterfaceEnd": ; case "DSF": break; case "BuiltInFnGroupCount": break; case "Window1": ; case "HideObj": ; case "GridSet": ; case "Guts": ; case "UserBView": ; case "UserSViewBegin": ; case "UserSViewEnd": ; case "Pane": break; default: switch (q.n) { case "Dat": ; case "Begin": ; case "End": ; case "StartBlock": ; case "EndBlock": ; case "Frame": ; case "Area": ; case "Axis": ; case "AxisLine": ; case "Tick": break; case "AxesUsed": ; case "CrtLayout12": ; case "CrtLayout12A": ; case "CrtLink": ; case "CrtLine": ; case "CrtMlFrt": ; case "CrtMlFrtContinue": break; case "LineFormat": ; case "AreaFormat": ; case "Chart": ; case "Chart3d": ; case "Chart3DBarShape": ; case "ChartFormat": ; case "ChartFrtInfo": break; case "PlotArea": ; case "PlotGrowth": break; case "SeriesList": ; case "SerParent": ; case "SerAuxTrend": break; case "DataFormat": ; case "SerToCrt": ; case "FontX": break; case "CatSerRange": ; case "AxcExt": ; case "SerFmt": break; case "ShtProps": break; case "DefaultText": ; case "Text": ; case "CatLab": break; case "DataLabExtContents": break; case "Legend": ; case "LegendException": break; case "Pie": ; case "Scatter": break; case "PieFormat": ; case "MarkerFormat": break; case "StartObject": ; case "EndObject": break; case "AlRuns": ; case "ObjectLink": break; case "SIIndex": break; case "AttachedLabel": ; case "YMult": break; case "Line": ; case "Bar": break; case "Surf": break; case "AxisParent": break; case "Pos": break; case "ValueRange": break; case "SXViewEx9": break; case "SXViewLink": break; case "PivotChartBits": break; case "SBaseRef": break; case "TextPropsStream": break; case "LnExt": break; case "MkrExt": break; case "CrtCoopt": break; case "Qsi": ; case "Qsif": ; case "Qsir": ; case "QsiSXTag": break; case "TxtQry": break; case "FilterMode": break; case "AutoFilter": ; case "AutoFilterInfo": break; case "AutoFilter12": break; case "DropDownObjIds": break; case "Sort": break; case "SortData": break; case "ShapePropsStream": break; case "MsoDrawing": ; case "MsoDrawingGroup": ; case "MsoDrawingSelection": break; case "WebPub": ; case "AutoWebPub": break; case "HeaderFooter": ; case "HFPicture": ; case "PLV": ; case "HorizontalPageBreaks": ; case "VerticalPageBreaks": break; case "Backup": ; case "CompressPictures": ; case "Compat12": break; case "Continue": ; case "ContinueFrt12": break; case "FrtFontList": ; case "FrtWrapper": break; default: switch (q.n) { case "TabIdConf": ; case "Radar": ; case "RadarArea": ; case "DropBar": ; case "Intl": ; case "CoordList": ; case "SerAuxErrBar": break; case "BIFF2FONTCLR": ; case "BIFF2FMTCNT": ; case "BIFF2FONTXTRA": break; case "BIFF2XF": ; case "BIFF3XF": ; case "BIFF4XF": break; case "BIFF4FMTCNT": ; case "BIFF2ROW": ; case "BIFF2WINDOW2": break; case "SCENARIO": ; case "DConBin": ; case "PicF": ; case "DataLabExt": ; case "Lel": ; case "BopPop": ; case "BopPopCustom": ; case "RealTimeData": ; case "Name": break; case "LHNGraph": ; case "FnGroupName": ; case "AddMenu": ; case "LPr": break; case "ListObj": ; case "ListField": break; case "RRSort": break; case "BigName": break; case "ToolbarHdr": ; case "ToolbarEnd": break; case "DDEObjName": break; case "FRTArchId$": break; default: if (r.WTF) throw "Unrecognized Record " + q.n; } ; } ; } ; } } else e.l += J } t.SheetNames = j(i).sort(function(e, r) { return Number(e) - Number(r) }).map(function(e) { return i[e].name }); if (!r.bookSheets) t.Sheets = a; if (t.Sheets) K.forEach(function(e, r) { t.Sheets[t.SheetNames[r]]["!autofilter"] = e }); t.Preamble = h; t.Strings = l; t.SSF = D.get_table(); if (R.enc) t.Encryption = R.enc; if (O) t.Themes = O; t.Metadata = {}; if (k !== undefined) t.Metadata.Country = k; if (W.names.length > 0) B.Names = W.names; t.Workbook = B; return t } var sv = { SI: "e0859ff2f94f6810ab9108002b27b3d9", DSI: "02d5cdd59c2e1b10939708002b2cf9ae", UDI: "05d5cdd59c2e1b10939708002b2cf9ae" }; function fv(e, r, t) { var a = W.find(e, "!DocumentSummaryInformation"); if (a && a.size > 0) try { var n = On(a, pa, sv.DSI); for (var i in n) r[i] = n[i] } catch (s) { if (t.WTF) throw s } var f = W.find(e, "!SummaryInformation"); if (f && f.size > 0) try { var o = On(f, va, sv.SI); for (var l in o) if (r[l] == null) r[l] = o[l] } catch (s) { if (t.WTF) throw s } if (r.HeadingPairs && r.TitlesOfParts) { Ja(r.HeadingPairs, r.TitlesOfParts, r, t); delete r.HeadingPairs; delete r.TitlesOfParts } } function ov(e, r) { var t = [] , a = [] , n = []; var i = 0, s; if (e.Props) { s = j(e.Props); for (i = 0; i < s.length; ++i) (ma.hasOwnProperty(s[i]) ? t : ba.hasOwnProperty(s[i]) ? a : n).push([s[i], e.Props[s[i]]]) } if (e.Custprops) { s = j(e.Custprops); for (i = 0; i < s.length; ++i) if (!(e.Props || {}).hasOwnProperty(s[i])) (ma.hasOwnProperty(s[i]) ? t : ba.hasOwnProperty(s[i]) ? a : n).push([s[i], e.Custprops[s[i]]]) } var f = []; for (i = 0; i < n.length; ++i) { if (In.indexOf(n[i][0]) > -1) continue; if (n[i][1] == null) continue; f.push(n[i]) } if (a.length) W.utils.cfb_add(r, "/SummaryInformation", Fn(a, sv.SI, ba, va)); if (t.length || f.length) W.utils.cfb_add(r, "/DocumentSummaryInformation", Fn(t, sv.DSI, ma, pa, f.length ? f : null, sv.UDI)) } function lv(e, r) { if (!r) r = {}; rg(r); l(); if (r.codepage) s(r.codepage); var t, a; if (e.FullPaths) { if (W.find(e, "/encryption")) throw new Error("File is password-protected"); t = W.find(e, "!CompObj"); a = W.find(e, "/Workbook") || W.find(e, "/Book") } else { switch (r.type) { case "base64": e = A(m.decode(e)); break; case "binary": e = A(e); break; case "buffer": break; case "array": if (!Array.isArray(e)) e = Array.prototype.slice.call(e); break; } zr(e, 0); a = { content: e } } var n; var i; if (t) rv(t); if (r.bookProps && !r.bookSheets) n = {}; else { var f = b ? "buffer" : "array"; if (a && a.content) n = iv(a.content, r); else if ((i = W.find(e, "PerfectOffice_MAIN")) && i.content) n = sf.to_workbook(i.content, (r.type = f, r)); else if ((i = W.find(e, "NativeContent_MAIN")) && i.content) n = sf.to_workbook(i.content, (r.type = f, r)); else throw new Error("Cannot find Workbook stream"); if (r.bookVBA && e.FullPaths && W.find(e, "/_VBA_PROJECT_CUR/VBA/dir")) n.vbaraw = Ll(e) } var o = {}; if (e.FullPaths) fv(e, o, r); n.Props = n.Custprops = o; if (r.bookFiles) n.cfb = e; return n } function cv(e, r) { var t = r || {}; var a = W.utils.cfb_new({ root: "R" }); var n = "/Workbook"; switch (t.bookType || "xls") { case "xls": t.bookType = "biff8"; case "xla": if (!t.bookType) t.bookType = "xla"; case "biff8": n = "/Workbook"; t.biff = 8; break; case "biff5": n = "/Book"; t.biff = 5; break; default: throw new Error("invalid type " + t.bookType + " for XLS CFB"); } W.utils.cfb_add(a, n, Rv(e, t)); if (t.biff == 8 && (e.Props || e.Custprops)) ov(e, a); if (t.biff == 8 && e.vbaraw) Ml(a, W.read(e.vbaraw, { type: typeof e.vbaraw == "string" ? "binary" : "buffer" })); return a } var hv = { 0: { n: "BrtRowHdr", f: xu }, 1: { n: "BrtCellBlank", f: Lu }, 2: { n: "BrtCellRk", f: ju }, 3: { n: "BrtCellError", f: Wu }, 4: { n: "BrtCellBool", f: Uu }, 5: { n: "BrtCellReal", f: Xu }, 6: { n: "BrtCellSt", f: Yu }, 7: { n: "BrtCellIsst", f: Vu }, 8: { n: "BrtFmlaString", f: qu }, 9: { n: "BrtFmlaNum", f: Ju }, 10: { n: "BrtFmlaBool", f: Zu }, 11: { n: "BrtFmlaError", f: Qu }, 16: { n: "BrtFRTArchID$", f: tp }, 19: { n: "BrtSSTItem", f: _t }, 20: { n: "BrtPCDIMissing" }, 21: { n: "BrtPCDINumber" }, 22: { n: "BrtPCDIBoolean" }, 23: { n: "BrtPCDIError" }, 24: { n: "BrtPCDIString" }, 25: { n: "BrtPCDIDatetime" }, 26: { n: "BrtPCDIIndex" }, 27: { n: "BrtPCDIAMissing" }, 28: { n: "BrtPCDIANumber" }, 29: { n: "BrtPCDIABoolean" }, 30: { n: "BrtPCDIAError" }, 31: { n: "BrtPCDIAString" }, 32: { n: "BrtPCDIADatetime" }, 33: { n: "BrtPCRRecord" }, 34: { n: "BrtPCRRecordDt" }, 35: { n: "BrtFRTBegin" }, 36: { n: "BrtFRTEnd" }, 37: { n: "BrtACBegin" }, 38: { n: "BrtACEnd" }, 39: { n: "BrtName", f: ap }, 40: { n: "BrtIndexRowBlock" }, 42: { n: "BrtIndexBlock" }, 43: { n: "BrtFont", f: yo }, 44: { n: "BrtFmt", f: Bo }, 45: { n: "BrtFill", f: Do }, 46: { n: "BrtBorder", f: Lo }, 47: { n: "BrtXF", f: Fo }, 48: { n: "BrtStyle" }, 49: { n: "BrtCellMeta" }, 50: { n: "BrtValueMeta" }, 51: { n: "BrtMdb" }, 52: { n: "BrtBeginFmd" }, 53: { n: "BrtEndFmd" }, 54: { n: "BrtBeginMdx" }, 55: { n: "BrtEndMdx" }, 56: { n: "BrtBeginMdxTuple" }, 57: { n: "BrtEndMdxTuple" }, 58: { n: "BrtMdxMbrIstr" }, 59: { n: "BrtStr" }, 60: { n: "BrtColInfo", f: Ls }, 62: { n: "BrtCellRString" }, 63: { n: "BrtCalcChainItem$", f: bl }, 64: { n: "BrtDVal" }, 65: { n: "BrtSxvcellNum" }, 66: { n: "BrtSxvcellStr" }, 67: { n: "BrtSxvcellBool" }, 68: { n: "BrtSxvcellErr" }, 69: { n: "BrtSxvcellDate" }, 70: { n: "BrtSxvcellNil" }, 128: { n: "BrtFileVersion" }, 129: { n: "BrtBeginSheet" }, 130: { n: "BrtEndSheet" }, 131: { n: "BrtBeginBook", f: Xr, p: 0 }, 132: { n: "BrtEndBook" }, 133: { n: "BrtBeginWsViews" }, 134: { n: "BrtEndWsViews" }, 135: { n: "BrtBeginBookViews" }, 136: { n: "BrtEndBookViews" }, 137: { n: "BrtBeginWsView", f: hd }, 138: { n: "BrtEndWsView" }, 139: { n: "BrtBeginCsViews" }, 140: { n: "BrtEndCsViews" }, 141: { n: "BrtBeginCsView" }, 142: { n: "BrtEndCsView" }, 143: { n: "BrtBeginBundleShs" }, 144: { n: "BrtEndBundleShs" }, 145: { n: "BrtBeginSheetData" }, 146: { n: "BrtEndSheetData" }, 147: { n: "BrtWsProp", f: Pu }, 148: { n: "BrtWsDim", f: Du, p: 16 }, 151: { n: "BrtPane" }, 152: { n: "BrtSel" }, 153: { n: "BrtWbProp", f: ep }, 154: { n: "BrtWbFactoid" }, 155: { n: "BrtFileRecover" }, 156: { n: "BrtBundleSh", f: Jd }, 157: { n: "BrtCalcProp" }, 158: { n: "BrtBookView" }, 159: { n: "BrtBeginSst", f: bf }, 160: { n: "BrtEndSst" }, 161: { n: "BrtBeginAFilter", f: Vt }, 162: { n: "BrtEndAFilter" }, 163: { n: "BrtBeginFilterColumn" }, 164: { n: "BrtEndFilterColumn" }, 165: { n: "BrtBeginFilters" }, 166: { n: "BrtEndFilters" }, 167: { n: "BrtFilter" }, 168: { n: "BrtColorFilter" }, 169: { n: "BrtIconFilter" }, 170: { n: "BrtTop10Filter" }, 171: { n: "BrtDynamicFilter" }, 172: { n: "BrtBeginCustomFilters" }, 173: { n: "BrtEndCustomFilters" }, 174: { n: "BrtCustomFilter" }, 175: { n: "BrtAFilterDateGroupItem" }, 176: { n: "BrtMergeCell", f: ed }, 177: { n: "BrtBeginMergeCells" }, 178: { n: "BrtEndMergeCells" }, 179: { n: "BrtBeginPivotCacheDef" }, 180: { n: "BrtEndPivotCacheDef" }, 181: { n: "BrtBeginPCDFields" }, 182: { n: "BrtEndPCDFields" }, 183: { n: "BrtBeginPCDField" }, 184: { n: "BrtEndPCDField" }, 185: { n: "BrtBeginPCDSource" }, 186: { n: "BrtEndPCDSource" }, 187: { n: "BrtBeginPCDSRange" }, 188: { n: "BrtEndPCDSRange" }, 189: { n: "BrtBeginPCDFAtbl" }, 190: { n: "BrtEndPCDFAtbl" }, 191: { n: "BrtBeginPCDIRun" }, 192: { n: "BrtEndPCDIRun" }, 193: { n: "BrtBeginPivotCacheRecords" }, 194: { n: "BrtEndPivotCacheRecords" }, 195: { n: "BrtBeginPCDHierarchies" }, 196: { n: "BrtEndPCDHierarchies" }, 197: { n: "BrtBeginPCDHierarchy" }, 198: { n: "BrtEndPCDHierarchy" }, 199: { n: "BrtBeginPCDHFieldsUsage" }, 200: { n: "BrtEndPCDHFieldsUsage" }, 201: { n: "BrtBeginExtConnection" }, 202: { n: "BrtEndExtConnection" }, 203: { n: "BrtBeginECDbProps" }, 204: { n: "BrtEndECDbProps" }, 205: { n: "BrtBeginECOlapProps" }, 206: { n: "BrtEndECOlapProps" }, 207: { n: "BrtBeginPCDSConsol" }, 208: { n: "BrtEndPCDSConsol" }, 209: { n: "BrtBeginPCDSCPages" }, 210: { n: "BrtEndPCDSCPages" }, 211: { n: "BrtBeginPCDSCPage" }, 212: { n: "BrtEndPCDSCPage" }, 213: { n: "BrtBeginPCDSCPItem" }, 214: { n: "BrtEndPCDSCPItem" }, 215: { n: "BrtBeginPCDSCSets" }, 216: { n: "BrtEndPCDSCSets" }, 217: { n: "BrtBeginPCDSCSet" }, 218: { n: "BrtEndPCDSCSet" }, 219: { n: "BrtBeginPCDFGroup" }, 220: { n: "BrtEndPCDFGroup" }, 221: { n: "BrtBeginPCDFGItems" }, 222: { n: "BrtEndPCDFGItems" }, 223: { n: "BrtBeginPCDFGRange" }, 224: { n: "BrtEndPCDFGRange" }, 225: { n: "BrtBeginPCDFGDiscrete" }, 226: { n: "BrtEndPCDFGDiscrete" }, 227: { n: "BrtBeginPCDSDTupleCache" }, 228: { n: "BrtEndPCDSDTupleCache" }, 229: { n: "BrtBeginPCDSDTCEntries" }, 230: { n: "BrtEndPCDSDTCEntries" }, 231: { n: "BrtBeginPCDSDTCEMembers" }, 232: { n: "BrtEndPCDSDTCEMembers" }, 233: { n: "BrtBeginPCDSDTCEMember" }, 234: { n: "BrtEndPCDSDTCEMember" }, 235: { n: "BrtBeginPCDSDTCQueries" }, 236: { n: "BrtEndPCDSDTCQueries" }, 237: { n: "BrtBeginPCDSDTCQuery" }, 238: { n: "BrtEndPCDSDTCQuery" }, 239: { n: "BrtBeginPCDSDTCSets" }, 240: { n: "BrtEndPCDSDTCSets" }, 241: { n: "BrtBeginPCDSDTCSet" }, 242: { n: "BrtEndPCDSDTCSet" }, 243: { n: "BrtBeginPCDCalcItems" }, 244: { n: "BrtEndPCDCalcItems" }, 245: { n: "BrtBeginPCDCalcItem" }, 246: { n: "BrtEndPCDCalcItem" }, 247: { n: "BrtBeginPRule" }, 248: { n: "BrtEndPRule" }, 249: { n: "BrtBeginPRFilters" }, 250: { n: "BrtEndPRFilters" }, 251: { n: "BrtBeginPRFilter" }, 252: { n: "BrtEndPRFilter" }, 253: { n: "BrtBeginPNames" }, 254: { n: "BrtEndPNames" }, 255: { n: "BrtBeginPName" }, 256: { n: "BrtEndPName" }, 257: { n: "BrtBeginPNPairs" }, 258: { n: "BrtEndPNPairs" }, 259: { n: "BrtBeginPNPair" }, 260: { n: "BrtEndPNPair" }, 261: { n: "BrtBeginECWebProps" }, 262: { n: "BrtEndECWebProps" }, 263: { n: "BrtBeginEcWpTables" }, 264: { n: "BrtEndECWPTables" }, 265: { n: "BrtBeginECParams" }, 266: { n: "BrtEndECParams" }, 267: { n: "BrtBeginECParam" }, 268: { n: "BrtEndECParam" }, 269: { n: "BrtBeginPCDKPIs" }, 270: { n: "BrtEndPCDKPIs" }, 271: { n: "BrtBeginPCDKPI" }, 272: { n: "BrtEndPCDKPI" }, 273: { n: "BrtBeginDims" }, 274: { n: "BrtEndDims" }, 275: { n: "BrtBeginDim" }, 276: { n: "BrtEndDim" }, 277: { n: "BrtIndexPartEnd" }, 278: { n: "BrtBeginStyleSheet" }, 279: { n: "BrtEndStyleSheet" }, 280: { n: "BrtBeginSXView" }, 281: { n: "BrtEndSXVI" }, 282: { n: "BrtBeginSXVI" }, 283: { n: "BrtBeginSXVIs" }, 284: { n: "BrtEndSXVIs" }, 285: { n: "BrtBeginSXVD" }, 286: { n: "BrtEndSXVD" }, 287: { n: "BrtBeginSXVDs" }, 288: { n: "BrtEndSXVDs" }, 289: { n: "BrtBeginSXPI" }, 290: { n: "BrtEndSXPI" }, 291: { n: "BrtBeginSXPIs" }, 292: { n: "BrtEndSXPIs" }, 293: { n: "BrtBeginSXDI" }, 294: { n: "BrtEndSXDI" }, 295: { n: "BrtBeginSXDIs" }, 296: { n: "BrtEndSXDIs" }, 297: { n: "BrtBeginSXLI" }, 298: { n: "BrtEndSXLI" }, 299: { n: "BrtBeginSXLIRws" }, 300: { n: "BrtEndSXLIRws" }, 301: { n: "BrtBeginSXLICols" }, 302: { n: "BrtEndSXLICols" }, 303: { n: "BrtBeginSXFormat" }, 304: { n: "BrtEndSXFormat" }, 305: { n: "BrtBeginSXFormats" }, 306: { n: "BrtEndSxFormats" }, 307: { n: "BrtBeginSxSelect" }, 308: { n: "BrtEndSxSelect" }, 309: { n: "BrtBeginISXVDRws" }, 310: { n: "BrtEndISXVDRws" }, 311: { n: "BrtBeginISXVDCols" }, 312: { n: "BrtEndISXVDCols" }, 313: { n: "BrtEndSXLocation" }, 314: { n: "BrtBeginSXLocation" }, 315: { n: "BrtEndSXView" }, 316: { n: "BrtBeginSXTHs" }, 317: { n: "BrtEndSXTHs" }, 318: { n: "BrtBeginSXTH" }, 319: { n: "BrtEndSXTH" }, 320: { n: "BrtBeginISXTHRws" }, 321: { n: "BrtEndISXTHRws" }, 322: { n: "BrtBeginISXTHCols" }, 323: { n: "BrtEndISXTHCols" }, 324: { n: "BrtBeginSXTDMPS" }, 325: { n: "BrtEndSXTDMPs" }, 326: { n: "BrtBeginSXTDMP" }, 327: { n: "BrtEndSXTDMP" }, 328: { n: "BrtBeginSXTHItems" }, 329: { n: "BrtEndSXTHItems" }, 330: { n: "BrtBeginSXTHItem" }, 331: { n: "BrtEndSXTHItem" }, 332: { n: "BrtBeginMetadata" }, 333: { n: "BrtEndMetadata" }, 334: { n: "BrtBeginEsmdtinfo" }, 335: { n: "BrtMdtinfo" }, 336: { n: "BrtEndEsmdtinfo" }, 337: { n: "BrtBeginEsmdb" }, 338: { n: "BrtEndEsmdb" }, 339: { n: "BrtBeginEsfmd" }, 340: { n: "BrtEndEsfmd" }, 341: { n: "BrtBeginSingleCells" }, 342: { n: "BrtEndSingleCells" }, 343: { n: "BrtBeginList" }, 344: { n: "BrtEndList" }, 345: { n: "BrtBeginListCols" }, 346: { n: "BrtEndListCols" }, 347: { n: "BrtBeginListCol" }, 348: { n: "BrtEndListCol" }, 349: { n: "BrtBeginListXmlCPr" }, 350: { n: "BrtEndListXmlCPr" }, 351: { n: "BrtListCCFmla" }, 352: { n: "BrtListTrFmla" }, 353: { n: "BrtBeginExternals" }, 354: { n: "BrtEndExternals" }, 355: { n: "BrtSupBookSrc", f: Nt }, 357: { n: "BrtSupSelf" }, 358: { n: "BrtSupSame" }, 359: { n: "BrtSupTabs" }, 360: { n: "BrtBeginSupBook" }, 361: { n: "BrtPlaceholderName" }, 362: { n: "BrtExternSheet", f: ps }, 363: { n: "BrtExternTableStart" }, 364: { n: "BrtExternTableEnd" }, 366: { n: "BrtExternRowHdr" }, 367: { n: "BrtExternCellBlank" }, 368: { n: "BrtExternCellReal" }, 369: { n: "BrtExternCellBool" }, 370: { n: "BrtExternCellError" }, 371: { n: "BrtExternCellString" }, 372: { n: "BrtBeginEsmdx" }, 373: { n: "BrtEndEsmdx" }, 374: { n: "BrtBeginMdxSet" }, 375: { n: "BrtEndMdxSet" }, 376: { n: "BrtBeginMdxMbrProp" }, 377: { n: "BrtEndMdxMbrProp" }, 378: { n: "BrtBeginMdxKPI" }, 379: { n: "BrtEndMdxKPI" }, 380: { n: "BrtBeginEsstr" }, 381: { n: "BrtEndEsstr" }, 382: { n: "BrtBeginPRFItem" }, 383: { n: "BrtEndPRFItem" }, 384: { n: "BrtBeginPivotCacheIDs" }, 385: { n: "BrtEndPivotCacheIDs" }, 386: { n: "BrtBeginPivotCacheID" }, 387: { n: "BrtEndPivotCacheID" }, 388: { n: "BrtBeginISXVIs" }, 389: { n: "BrtEndISXVIs" }, 390: { n: "BrtBeginColInfos" }, 391: { n: "BrtEndColInfos" }, 392: { n: "BrtBeginRwBrk" }, 393: { n: "BrtEndRwBrk" }, 394: { n: "BrtBeginColBrk" }, 395: { n: "BrtEndColBrk" }, 396: { n: "BrtBrk" }, 397: { n: "BrtUserBookView" }, 398: { n: "BrtInfo" }, 399: { n: "BrtCUsr" }, 400: { n: "BrtUsr" }, 401: { n: "BrtBeginUsers" }, 403: { n: "BrtEOF" }, 404: { n: "BrtUCR" }, 405: { n: "BrtRRInsDel" }, 406: { n: "BrtRREndInsDel" }, 407: { n: "BrtRRMove" }, 408: { n: "BrtRREndMove" }, 409: { n: "BrtRRChgCell" }, 410: { n: "BrtRREndChgCell" }, 411: { n: "BrtRRHeader" }, 412: { n: "BrtRRUserView" }, 413: { n: "BrtRRRenSheet" }, 414: { n: "BrtRRInsertSh" }, 415: { n: "BrtRRDefName" }, 416: { n: "BrtRRNote" }, 417: { n: "BrtRRConflict" }, 418: { n: "BrtRRTQSIF" }, 419: { n: "BrtRRFormat" }, 420: { n: "BrtRREndFormat" }, 421: { n: "BrtRRAutoFmt" }, 422: { n: "BrtBeginUserShViews" }, 423: { n: "BrtBeginUserShView" }, 424: { n: "BrtEndUserShView" }, 425: { n: "BrtEndUserShViews" }, 426: { n: "BrtArrFmla", f: id }, 427: { n: "BrtShrFmla", f: sd }, 428: { n: "BrtTable" }, 429: { n: "BrtBeginExtConnections" }, 430: { n: "BrtEndExtConnections" }, 431: { n: "BrtBeginPCDCalcMems" }, 432: { n: "BrtEndPCDCalcMems" }, 433: { n: "BrtBeginPCDCalcMem" }, 434: { n: "BrtEndPCDCalcMem" }, 435: { n: "BrtBeginPCDHGLevels" }, 436: { n: "BrtEndPCDHGLevels" }, 437: { n: "BrtBeginPCDHGLevel" }, 438: { n: "BrtEndPCDHGLevel" }, 439: { n: "BrtBeginPCDHGLGroups" }, 440: { n: "BrtEndPCDHGLGroups" }, 441: { n: "BrtBeginPCDHGLGroup" }, 442: { n: "BrtEndPCDHGLGroup" }, 443: { n: "BrtBeginPCDHGLGMembers" }, 444: { n: "BrtEndPCDHGLGMembers" }, 445: { n: "BrtBeginPCDHGLGMember" }, 446: { n: "BrtEndPCDHGLGMember" }, 447: { n: "BrtBeginQSI" }, 448: { n: "BrtEndQSI" }, 449: { n: "BrtBeginQSIR" }, 450: { n: "BrtEndQSIR" }, 451: { n: "BrtBeginDeletedNames" }, 452: { n: "BrtEndDeletedNames" }, 453: { n: "BrtBeginDeletedName" }, 454: { n: "BrtEndDeletedName" }, 455: { n: "BrtBeginQSIFs" }, 456: { n: "BrtEndQSIFs" }, 457: { n: "BrtBeginQSIF" }, 458: { n: "BrtEndQSIF" }, 459: { n: "BrtBeginAutoSortScope" }, 460: { n: "BrtEndAutoSortScope" }, 461: { n: "BrtBeginConditionalFormatting" }, 462: { n: "BrtEndConditionalFormatting" }, 463: { n: "BrtBeginCFRule" }, 464: { n: "BrtEndCFRule" }, 465: { n: "BrtBeginIconSet" }, 466: { n: "BrtEndIconSet" }, 467: { n: "BrtBeginDatabar" }, 468: { n: "BrtEndDatabar" }, 469: { n: "BrtBeginColorScale" }, 470: { n: "BrtEndColorScale" }, 471: { n: "BrtCFVO" }, 472: { n: "BrtExternValueMeta" }, 473: { n: "BrtBeginColorPalette" }, 474: { n: "BrtEndColorPalette" }, 475: { n: "BrtIndexedColor" }, 476: { n: "BrtMargins", f: ld }, 477: { n: "BrtPrintOptions" }, 478: { n: "BrtPageSetup" }, 479: { n: "BrtBeginHeaderFooter" }, 480: { n: "BrtEndHeaderFooter" }, 481: { n: "BrtBeginSXCrtFormat" }, 482: { n: "BrtEndSXCrtFormat" }, 483: { n: "BrtBeginSXCrtFormats" }, 484: { n: "BrtEndSXCrtFormats" }, 485: { n: "BrtWsFmtInfo", f: Fu }, 486: { n: "BrtBeginMgs" }, 487: { n: "BrtEndMGs" }, 488: { n: "BrtBeginMGMaps" }, 489: { n: "BrtEndMGMaps" }, 490: { n: "BrtBeginMG" }, 491: { n: "BrtEndMG" }, 492: { n: "BrtBeginMap" }, 493: { n: "BrtEndMap" }, 494: { n: "BrtHLink", f: ad }, 495: { n: "BrtBeginDCon" }, 496: { n: "BrtEndDCon" }, 497: { n: "BrtBeginDRefs" }, 498: { n: "BrtEndDRefs" }, 499: { n: "BrtDRef" }, 500: { n: "BrtBeginScenMan" }, 501: { n: "BrtEndScenMan" }, 502: { n: "BrtBeginSct" }, 503: { n: "BrtEndSct" }, 504: { n: "BrtSlc" }, 505: { n: "BrtBeginDXFs" }, 506: { n: "BrtEndDXFs" }, 507: { n: "BrtDXF" }, 508: { n: "BrtBeginTableStyles" }, 509: { n: "BrtEndTableStyles" }, 510: { n: "BrtBeginTableStyle" }, 511: { n: "BrtEndTableStyle" }, 512: { n: "BrtTableStyleElement" }, 513: { n: "BrtTableStyleClient" }, 514: { n: "BrtBeginVolDeps" }, 515: { n: "BrtEndVolDeps" }, 516: { n: "BrtBeginVolType" }, 517: { n: "BrtEndVolType" }, 518: { n: "BrtBeginVolMain" }, 519: { n: "BrtEndVolMain" }, 520: { n: "BrtBeginVolTopic" }, 521: { n: "BrtEndVolTopic" }, 522: { n: "BrtVolSubtopic" }, 523: { n: "BrtVolRef" }, 524: { n: "BrtVolNum" }, 525: { n: "BrtVolErr" }, 526: { n: "BrtVolStr" }, 527: { n: "BrtVolBool" }, 528: { n: "BrtBeginCalcChain$" }, 529: { n: "BrtEndCalcChain$" }, 530: { n: "BrtBeginSortState" }, 531: { n: "BrtEndSortState" }, 532: { n: "BrtBeginSortCond" }, 533: { n: "BrtEndSortCond" }, 534: { n: "BrtBookProtection" }, 535: { n: "BrtSheetProtection" }, 536: { n: "BrtRangeProtection" }, 537: { n: "BrtPhoneticInfo" }, 538: { n: "BrtBeginECTxtWiz" }, 539: { n: "BrtEndECTxtWiz" }, 540: { n: "BrtBeginECTWFldInfoLst" }, 541: { n: "BrtEndECTWFldInfoLst" }, 542: { n: "BrtBeginECTwFldInfo" }, 548: { n: "BrtFileSharing" }, 549: { n: "BrtOleSize" }, 550: { n: "BrtDrawing", f: Nt }, 551: { n: "BrtLegacyDrawing" }, 552: { n: "BrtLegacyDrawingHF" }, 553: { n: "BrtWebOpt" }, 554: { n: "BrtBeginWebPubItems" }, 555: { n: "BrtEndWebPubItems" }, 556: { n: "BrtBeginWebPubItem" }, 557: { n: "BrtEndWebPubItem" }, 558: { n: "BrtBeginSXCondFmt" }, 559: { n: "BrtEndSXCondFmt" }, 560: { n: "BrtBeginSXCondFmts" }, 561: { n: "BrtEndSXCondFmts" }, 562: { n: "BrtBkHim" }, 564: { n: "BrtColor" }, 565: { n: "BrtBeginIndexedColors" }, 566: { n: "BrtEndIndexedColors" }, 569: { n: "BrtBeginMRUColors" }, 570: { n: "BrtEndMRUColors" }, 572: { n: "BrtMRUColor" }, 573: { n: "BrtBeginDVals" }, 574: { n: "BrtEndDVals" }, 577: { n: "BrtSupNameStart" }, 578: { n: "BrtSupNameValueStart" }, 579: { n: "BrtSupNameValueEnd" }, 580: { n: "BrtSupNameNum" }, 581: { n: "BrtSupNameErr" }, 582: { n: "BrtSupNameSt" }, 583: { n: "BrtSupNameNil" }, 584: { n: "BrtSupNameBool" }, 585: { n: "BrtSupNameFmla" }, 586: { n: "BrtSupNameBits" }, 587: { n: "BrtSupNameEnd" }, 588: { n: "BrtEndSupBook" }, 589: { n: "BrtCellSmartTagProperty" }, 590: { n: "BrtBeginCellSmartTag" }, 591: { n: "BrtEndCellSmartTag" }, 592: { n: "BrtBeginCellSmartTags" }, 593: { n: "BrtEndCellSmartTags" }, 594: { n: "BrtBeginSmartTags" }, 595: { n: "BrtEndSmartTags" }, 596: { n: "BrtSmartTagType" }, 597: { n: "BrtBeginSmartTagTypes" }, 598: { n: "BrtEndSmartTagTypes" }, 599: { n: "BrtBeginSXFilters" }, 600: { n: "BrtEndSXFilters" }, 601: { n: "BrtBeginSXFILTER" }, 602: { n: "BrtEndSXFilter" }, 603: { n: "BrtBeginFills" }, 604: { n: "BrtEndFills" }, 605: { n: "BrtBeginCellWatches" }, 606: { n: "BrtEndCellWatches" }, 607: { n: "BrtCellWatch" }, 608: { n: "BrtBeginCRErrs" }, 609: { n: "BrtEndCRErrs" }, 610: { n: "BrtCrashRecErr" }, 611: { n: "BrtBeginFonts" }, 612: { n: "BrtEndFonts" }, 613: { n: "BrtBeginBorders" }, 614: { n: "BrtEndBorders" }, 615: { n: "BrtBeginFmts" }, 616: { n: "BrtEndFmts" }, 617: { n: "BrtBeginCellXFs" }, 618: { n: "BrtEndCellXFs" }, 619: { n: "BrtBeginStyles" }, 620: { n: "BrtEndStyles" }, 625: { n: "BrtBigName" }, 626: { n: "BrtBeginCellStyleXFs" }, 627: { n: "BrtEndCellStyleXFs" }, 628: { n: "BrtBeginComments" }, 629: { n: "BrtEndComments" }, 630: { n: "BrtBeginCommentAuthors" }, 631: { n: "BrtEndCommentAuthors" }, 632: { n: "BrtCommentAuthor", f: Dl }, 633: { n: "BrtBeginCommentList" }, 634: { n: "BrtEndCommentList" }, 635: { n: "BrtBeginComment", f: Il }, 636: { n: "BrtEndComment" }, 637: { n: "BrtCommentText", f: Tt }, 638: { n: "BrtBeginOleObjects" }, 639: { n: "BrtOleObject" }, 640: { n: "BrtEndOleObjects" }, 641: { n: "BrtBeginSxrules" }, 642: { n: "BrtEndSxRules" }, 643: { n: "BrtBeginActiveXControls" }, 644: { n: "BrtActiveX" }, 645: { n: "BrtEndActiveXControls" }, 646: { n: "BrtBeginPCDSDTCEMembersSortBy" }, 648: { n: "BrtBeginCellIgnoreECs" }, 649: { n: "BrtCellIgnoreEC" }, 650: { n: "BrtEndCellIgnoreECs" }, 651: { n: "BrtCsProp", f: Od }, 652: { n: "BrtCsPageSetup" }, 653: { n: "BrtBeginUserCsViews" }, 654: { n: "BrtEndUserCsViews" }, 655: { n: "BrtBeginUserCsView" }, 656: { n: "BrtEndUserCsView" }, 657: { n: "BrtBeginPcdSFCIEntries" }, 658: { n: "BrtEndPCDSFCIEntries" }, 659: { n: "BrtPCDSFCIEntry" }, 660: { n: "BrtBeginListParts" }, 661: { n: "BrtListPart" }, 662: { n: "BrtEndListParts" }, 663: { n: "BrtSheetCalcProp" }, 664: { n: "BrtBeginFnGroup" }, 665: { n: "BrtFnGroup" }, 666: { n: "BrtEndFnGroup" }, 667: { n: "BrtSupAddin" }, 668: { n: "BrtSXTDMPOrder" }, 669: { n: "BrtCsProtection" }, 671: { n: "BrtBeginWsSortMap" }, 672: { n: "BrtEndWsSortMap" }, 673: { n: "BrtBeginRRSort" }, 674: { n: "BrtEndRRSort" }, 675: { n: "BrtRRSortItem" }, 676: { n: "BrtFileSharingIso" }, 677: { n: "BrtBookProtectionIso" }, 678: { n: "BrtSheetProtectionIso" }, 679: { n: "BrtCsProtectionIso" }, 680: { n: "BrtRangeProtectionIso" }, 1024: { n: "BrtRwDescent" }, 1025: { n: "BrtKnownFonts" }, 1026: { n: "BrtBeginSXTupleSet" }, 1027: { n: "BrtEndSXTupleSet" }, 1028: { n: "BrtBeginSXTupleSetHeader" }, 1029: { n: "BrtEndSXTupleSetHeader" }, 1030: { n: "BrtSXTupleSetHeaderItem" }, 1031: { n: "BrtBeginSXTupleSetData" }, 1032: { n: "BrtEndSXTupleSetData" }, 1033: { n: "BrtBeginSXTupleSetRow" }, 1034: { n: "BrtEndSXTupleSetRow" }, 1035: { n: "BrtSXTupleSetRowItem" }, 1036: { n: "BrtNameExt" }, 1037: { n: "BrtPCDH14" }, 1038: { n: "BrtBeginPCDCalcMem14" }, 1039: { n: "BrtEndPCDCalcMem14" }, 1040: { n: "BrtSXTH14" }, 1041: { n: "BrtBeginSparklineGroup" }, 1042: { n: "BrtEndSparklineGroup" }, 1043: { n: "BrtSparkline" }, 1044: { n: "BrtSXDI14" }, 1045: { n: "BrtWsFmtInfoEx14" }, 1046: { n: "BrtBeginConditionalFormatting14" }, 1047: { n: "BrtEndConditionalFormatting14" }, 1048: { n: "BrtBeginCFRule14" }, 1049: { n: "BrtEndCFRule14" }, 1050: { n: "BrtCFVO14" }, 1051: { n: "BrtBeginDatabar14" }, 1052: { n: "BrtBeginIconSet14" }, 1053: { n: "BrtDVal14" }, 1054: { n: "BrtBeginDVals14" }, 1055: { n: "BrtColor14" }, 1056: { n: "BrtBeginSparklines" }, 1057: { n: "BrtEndSparklines" }, 1058: { n: "BrtBeginSparklineGroups" }, 1059: { n: "BrtEndSparklineGroups" }, 1061: { n: "BrtSXVD14" }, 1062: { n: "BrtBeginSXView14" }, 1063: { n: "BrtEndSXView14" }, 1064: { n: "BrtBeginSXView16" }, 1065: { n: "BrtEndSXView16" }, 1066: { n: "BrtBeginPCD14" }, 1067: { n: "BrtEndPCD14" }, 1068: { n: "BrtBeginExtConn14" }, 1069: { n: "BrtEndExtConn14" }, 1070: { n: "BrtBeginSlicerCacheIDs" }, 1071: { n: "BrtEndSlicerCacheIDs" }, 1072: { n: "BrtBeginSlicerCacheID" }, 1073: { n: "BrtEndSlicerCacheID" }, 1075: { n: "BrtBeginSlicerCache" }, 1076: { n: "BrtEndSlicerCache" }, 1077: { n: "BrtBeginSlicerCacheDef" }, 1078: { n: "BrtEndSlicerCacheDef" }, 1079: { n: "BrtBeginSlicersEx" }, 1080: { n: "BrtEndSlicersEx" }, 1081: { n: "BrtBeginSlicerEx" }, 1082: { n: "BrtEndSlicerEx" }, 1083: { n: "BrtBeginSlicer" }, 1084: { n: "BrtEndSlicer" }, 1085: { n: "BrtSlicerCachePivotTables" }, 1086: { n: "BrtBeginSlicerCacheOlapImpl" }, 1087: { n: "BrtEndSlicerCacheOlapImpl" }, 1088: { n: "BrtBeginSlicerCacheLevelsData" }, 1089: { n: "BrtEndSlicerCacheLevelsData" }, 1090: { n: "BrtBeginSlicerCacheLevelData" }, 1091: { n: "BrtEndSlicerCacheLevelData" }, 1092: { n: "BrtBeginSlicerCacheSiRanges" }, 1093: { n: "BrtEndSlicerCacheSiRanges" }, 1094: { n: "BrtBeginSlicerCacheSiRange" }, 1095: { n: "BrtEndSlicerCacheSiRange" }, 1096: { n: "BrtSlicerCacheOlapItem" }, 1097: { n: "BrtBeginSlicerCacheSelections" }, 1098: { n: "BrtSlicerCacheSelection" }, 1099: { n: "BrtEndSlicerCacheSelections" }, 1100: { n: "BrtBeginSlicerCacheNative" }, 1101: { n: "BrtEndSlicerCacheNative" }, 1102: { n: "BrtSlicerCacheNativeItem" }, 1103: { n: "BrtRangeProtection14" }, 1104: { n: "BrtRangeProtectionIso14" }, 1105: { n: "BrtCellIgnoreEC14" }, 1111: { n: "BrtList14" }, 1112: { n: "BrtCFIcon" }, 1113: { n: "BrtBeginSlicerCachesPivotCacheIDs" }, 1114: { n: "BrtEndSlicerCachesPivotCacheIDs" }, 1115: { n: "BrtBeginSlicers" }, 1116: { n: "BrtEndSlicers" }, 1117: { n: "BrtWbProp14" }, 1118: { n: "BrtBeginSXEdit" }, 1119: { n: "BrtEndSXEdit" }, 1120: { n: "BrtBeginSXEdits" }, 1121: { n: "BrtEndSXEdits" }, 1122: { n: "BrtBeginSXChange" }, 1123: { n: "BrtEndSXChange" }, 1124: { n: "BrtBeginSXChanges" }, 1125: { n: "BrtEndSXChanges" }, 1126: { n: "BrtSXTupleItems" }, 1128: { n: "BrtBeginSlicerStyle" }, 1129: { n: "BrtEndSlicerStyle" }, 1130: { n: "BrtSlicerStyleElement" }, 1131: { n: "BrtBeginStyleSheetExt14" }, 1132: { n: "BrtEndStyleSheetExt14" }, 1133: { n: "BrtBeginSlicerCachesPivotCacheID" }, 1134: { n: "BrtEndSlicerCachesPivotCacheID" }, 1135: { n: "BrtBeginConditionalFormattings" }, 1136: { n: "BrtEndConditionalFormattings" }, 1137: { n: "BrtBeginPCDCalcMemExt" }, 1138: { n: "BrtEndPCDCalcMemExt" }, 1139: { n: "BrtBeginPCDCalcMemsExt" }, 1140: { n: "BrtEndPCDCalcMemsExt" }, 1141: { n: "BrtPCDField14" }, 1142: { n: "BrtBeginSlicerStyles" }, 1143: { n: "BrtEndSlicerStyles" }, 1144: { n: "BrtBeginSlicerStyleElements" }, 1145: { n: "BrtEndSlicerStyleElements" }, 1146: { n: "BrtCFRuleExt" }, 1147: { n: "BrtBeginSXCondFmt14" }, 1148: { n: "BrtEndSXCondFmt14" }, 1149: { n: "BrtBeginSXCondFmts14" }, 1150: { n: "BrtEndSXCondFmts14" }, 1152: { n: "BrtBeginSortCond14" }, 1153: { n: "BrtEndSortCond14" }, 1154: { n: "BrtEndDVals14" }, 1155: { n: "BrtEndIconSet14" }, 1156: { n: "BrtEndDatabar14" }, 1157: { n: "BrtBeginColorScale14" }, 1158: { n: "BrtEndColorScale14" }, 1159: { n: "BrtBeginSxrules14" }, 1160: { n: "BrtEndSxrules14" }, 1161: { n: "BrtBeginPRule14" }, 1162: { n: "BrtEndPRule14" }, 1163: { n: "BrtBeginPRFilters14" }, 1164: { n: "BrtEndPRFilters14" }, 1165: { n: "BrtBeginPRFilter14" }, 1166: { n: "BrtEndPRFilter14" }, 1167: { n: "BrtBeginPRFItem14" }, 1168: { n: "BrtEndPRFItem14" }, 1169: { n: "BrtBeginCellIgnoreECs14" }, 1170: { n: "BrtEndCellIgnoreECs14" }, 1171: { n: "BrtDxf14" }, 1172: { n: "BrtBeginDxF14s" }, 1173: { n: "BrtEndDxf14s" }, 1177: { n: "BrtFilter14" }, 1178: { n: "BrtBeginCustomFilters14" }, 1180: { n: "BrtCustomFilter14" }, 1181: { n: "BrtIconFilter14" }, 1182: { n: "BrtPivotCacheConnectionName" }, 2048: { n: "BrtBeginDecoupledPivotCacheIDs" }, 2049: { n: "BrtEndDecoupledPivotCacheIDs" }, 2050: { n: "BrtDecoupledPivotCacheID" }, 2051: { n: "BrtBeginPivotTableRefs" }, 2052: { n: "BrtEndPivotTableRefs" }, 2053: { n: "BrtPivotTableRef" }, 2054: { n: "BrtSlicerCacheBookPivotTables" }, 2055: { n: "BrtBeginSxvcells" }, 2056: { n: "BrtEndSxvcells" }, 2057: { n: "BrtBeginSxRow" }, 2058: { n: "BrtEndSxRow" }, 2060: { n: "BrtPcdCalcMem15" }, 2067: { n: "BrtQsi15" }, 2068: { n: "BrtBeginWebExtensions" }, 2069: { n: "BrtEndWebExtensions" }, 2070: { n: "BrtWebExtension" }, 2071: { n: "BrtAbsPath15" }, 2072: { n: "BrtBeginPivotTableUISettings" }, 2073: { n: "BrtEndPivotTableUISettings" }, 2075: { n: "BrtTableSlicerCacheIDs" }, 2076: { n: "BrtTableSlicerCacheID" }, 2077: { n: "BrtBeginTableSlicerCache" }, 2078: { n: "BrtEndTableSlicerCache" }, 2079: { n: "BrtSxFilter15" }, 2080: { n: "BrtBeginTimelineCachePivotCacheIDs" }, 2081: { n: "BrtEndTimelineCachePivotCacheIDs" }, 2082: { n: "BrtTimelineCachePivotCacheID" }, 2083: { n: "BrtBeginTimelineCacheIDs" }, 2084: { n: "BrtEndTimelineCacheIDs" }, 2085: { n: "BrtBeginTimelineCacheID" }, 2086: { n: "BrtEndTimelineCacheID" }, 2087: { n: "BrtBeginTimelinesEx" }, 2088: { n: "BrtEndTimelinesEx" }, 2089: { n: "BrtBeginTimelineEx" }, 2090: { n: "BrtEndTimelineEx" }, 2091: { n: "BrtWorkBookPr15" }, 2092: { n: "BrtPCDH15" }, 2093: { n: "BrtBeginTimelineStyle" }, 2094: { n: "BrtEndTimelineStyle" }, 2095: { n: "BrtTimelineStyleElement" }, 2096: { n: "BrtBeginTimelineStylesheetExt15" }, 2097: { n: "BrtEndTimelineStylesheetExt15" }, 2098: { n: "BrtBeginTimelineStyles" }, 2099: { n: "BrtEndTimelineStyles" }, 2100: { n: "BrtBeginTimelineStyleElements" }, 2101: { n: "BrtEndTimelineStyleElements" }, 2102: { n: "BrtDxf15" }, 2103: { n: "BrtBeginDxfs15" }, 2104: { n: "brtEndDxfs15" }, 2105: { n: "BrtSlicerCacheHideItemsWithNoData" }, 2106: { n: "BrtBeginItemUniqueNames" }, 2107: { n: "BrtEndItemUniqueNames" }, 2108: { n: "BrtItemUniqueName" }, 2109: { n: "BrtBeginExtConn15" }, 2110: { n: "BrtEndExtConn15" }, 2111: { n: "BrtBeginOledbPr15" }, 2112: { n: "BrtEndOledbPr15" }, 2113: { n: "BrtBeginDataFeedPr15" }, 2114: { n: "BrtEndDataFeedPr15" }, 2115: { n: "BrtTextPr15" }, 2116: { n: "BrtRangePr15" }, 2117: { n: "BrtDbCommand15" }, 2118: { n: "BrtBeginDbTables15" }, 2119: { n: "BrtEndDbTables15" }, 2120: { n: "BrtDbTable15" }, 2121: { n: "BrtBeginDataModel" }, 2122: { n: "BrtEndDataModel" }, 2123: { n: "BrtBeginModelTables" }, 2124: { n: "BrtEndModelTables" }, 2125: { n: "BrtModelTable" }, 2126: { n: "BrtBeginModelRelationships" }, 2127: { n: "BrtEndModelRelationships" }, 2128: { n: "BrtModelRelationship" }, 2129: { n: "BrtBeginECTxtWiz15" }, 2130: { n: "BrtEndECTxtWiz15" }, 2131: { n: "BrtBeginECTWFldInfoLst15" }, 2132: { n: "BrtEndECTWFldInfoLst15" }, 2133: { n: "BrtBeginECTWFldInfo15" }, 2134: { n: "BrtFieldListActiveItem" }, 2135: { n: "BrtPivotCacheIdVersion" }, 2136: { n: "BrtSXDI15" }, 2137: { n: "BrtBeginModelTimeGroupings" }, 2138: { n: "BrtEndModelTimeGroupings" }, 2139: { n: "BrtBeginModelTimeGrouping" }, 2140: { n: "BrtEndModelTimeGrouping" }, 2141: { n: "BrtModelTimeGroupingCalcCol" }, 3072: { n: "BrtUid" }, 3073: { n: "BrtRevisionPtr" }, 65535: { n: "" } }; var uv = K(hv, "n"); var dv = { 3: { n: "BIFF2NUM", f: js }, 4: { n: "BIFF2STR", f: Gs }, 6: { n: "Formula", f: Rh }, 9: { n: "BOF", f: Si }, 10: { n: "EOF", f: Pn }, 12: { n: "CalcCount", f: Hn }, 13: { n: "CalcMode", f: Hn }, 14: { n: "CalcPrecision", f: Mn }, 15: { n: "CalcRefMode", f: Mn }, 16: { n: "CalcDelta", f: Xt }, 17: { n: "CalcIter", f: Mn }, 18: { n: "Protect", f: Mn }, 19: { n: "Password", f: Hn }, 20: { n: "Header", f: ls }, 21: { n: "Footer", f: ls }, 23: { n: "ExternSheet", f: ps }, 24: { n: "Lbl", f: ds }, 25: { n: "WinProtect", f: Mn }, 26: { n: "VerticalPageBreaks" }, 27: { n: "HorizontalPageBreaks" }, 28: { n: "Note", f: Es }, 29: { n: "Selection" }, 34: { n: "Date1904", f: Mn }, 35: { n: "ExternName", f: hs }, 38: { n: "LeftMargin", f: Xt }, 39: { n: "RightMargin", f: Xt }, 40: { n: "TopMargin", f: Xt }, 41: { n: "BottomMargin", f: Xt }, 42: { n: "PrintRowCol", f: Mn }, 43: { n: "PrintGrid", f: Mn }, 47: { n: "FilePass", f: Gf }, 49: { n: "Font", f: Wi }, 51: { n: "PrintSize", f: Hn }, 60: { n: "Continue" }, 61: { n: "Window1", f: Li }, 64: { n: "Backup", f: Mn }, 65: { n: "Pane" }, 66: { n: "CodePage", f: Hn }, 77: { n: "Pls" }, 80: { n: "DCon" }, 81: { n: "DConRef" }, 82: { n: "DConName" }, 85: { n: "DefColWidth", f: Hn }, 89: { n: "XCT" }, 90: { n: "CRN" }, 91: { n: "FileSharing" }, 92: { n: "WriteAccess", f: Bi }, 93: { n: "Obj", f: As }, 94: { n: "Uncalced" }, 95: { n: "CalcSaveRecalc", f: Mn }, 96: { n: "Template" }, 97: { n: "Intl" }, 99: { n: "ObjProtect", f: Mn }, 125: { n: "ColInfo", f: Ls }, 128: { n: "Guts", f: as }, 129: { n: "WsBool", f: yi }, 130: { n: "GridSet", f: Hn }, 131: { n: "HCenter", f: Mn }, 132: { n: "VCenter", f: Mn }, 133: { n: "BoundSheet8", f: xi }, 134: { n: "WriteProtect" }, 140: { n: "Country", f: Ds }, 141: { n: "HideObj", f: Hn }, 144: { n: "Sort" }, 146: { n: "Palette", f: Ps }, 151: { n: "Sync" }, 152: { n: "LPr" }, 153: { n: "DxGCol" }, 154: { n: "FnGroupName" }, 155: { n: "FilterMode" }, 156: { n: "BuiltInFnGroupCount", f: Hn }, 157: { n: "AutoFilterInfo" }, 158: { n: "AutoFilter" }, 160: { n: "Scl", f: Vs }, 161: { n: "Setup", f: Ms }, 174: { n: "ScenMan" }, 175: { n: "SCENARIO" }, 176: { n: "SxView" }, 177: { n: "Sxvd" }, 178: { n: "SXVI" }, 180: { n: "SxIvd" }, 181: { n: "SXLI" }, 182: { n: "SXPI" }, 184: { n: "DocRoute" }, 185: { n: "RecipName" }, 189: { n: "MulRk", f: Ji }, 190: { n: "MulBlank", f: qi }, 193: { n: "Mms", f: Pn }, 197: { n: "SXDI" }, 198: { n: "SXDB" }, 199: { n: "SXFDB" }, 200: { n: "SXDBB" }, 201: { n: "SXNum" }, 202: { n: "SxBool", f: Mn }, 203: { n: "SxErr" }, 204: { n: "SXInt" }, 205: { n: "SXString" }, 206: { n: "SXDtr" }, 207: { n: "SxNil" }, 208: { n: "SXTbl" }, 209: { n: "SXTBRGIITM" }, 210: { n: "SxTbpg" }, 211: { n: "ObProj" }, 213: { n: "SXStreamID" }, 215: { n: "DBCell" }, 216: { n: "SXRng" }, 217: { n: "SxIsxoper" }, 218: { n: "BookBool", f: Hn }, 220: { n: "DbOrParamQry" }, 221: { n: "ScenarioProtect", f: Mn }, 222: { n: "OleObjectSize" }, 224: { n: "XF", f: rs }, 225: { n: "InterfaceHdr", f: _i }, 226: { n: "InterfaceEnd", f: Pn }, 227: { n: "SXVS" }, 229: { n: "MergeCells", f: ks }, 233: { n: "BkHim" }, 235: { n: "MsoDrawingGroup" }, 236: { n: "MsoDrawing" }, 237: { n: "MsoDrawingSelection" }, 239: { n: "PhoneticInfo" }, 240: { n: "SxRule" }, 241: { n: "SXEx" }, 242: { n: "SxFilt" }, 244: { n: "SxDXF" }, 245: { n: "SxItm" }, 246: { n: "SxName" }, 247: { n: "SxSelect" }, 248: { n: "SXPair" }, 249: { n: "SxFmla" }, 251: { n: "SxFormat" }, 252: { n: "SST", f: Ri }, 253: { n: "LabelSst", f: zi }, 255: { n: "ExtSST", f: Di }, 256: { n: "SXVDEx" }, 259: { n: "SXFormula" }, 290: { n: "SXDBEx" }, 311: { n: "RRDInsDel" }, 312: { n: "RRDHead" }, 315: { n: "RRDChgCell" }, 317: { n: "RRTabId", f: Vn }, 318: { n: "RRDRenSheet" }, 319: { n: "RRSort" }, 320: { n: "RRDMove" }, 330: { n: "RRFormat" }, 331: { n: "RRAutoFmt" }, 333: { n: "RRInsertSh" }, 334: { n: "RRDMoveBegin" }, 335: { n: "RRDMoveEnd" }, 336: { n: "RRDInsDelBegin" }, 337: { n: "RRDInsDelEnd" }, 338: { n: "RRDConflict" }, 339: { n: "RRDDefName" }, 340: { n: "RRDRstEtxp" }, 351: { n: "LRng" }, 352: { n: "UsesELFs", f: Mn }, 353: { n: "DSF", f: Pn }, 401: { n: "CUsr" }, 402: { n: "CbUsr" }, 403: { n: "UsrInfo" }, 404: { n: "UsrExcl" }, 405: { n: "FileLock" }, 406: { n: "RRDInfo" }, 407: { n: "BCUsrs" }, 408: { n: "UsrChk" }, 425: { n: "UserBView" }, 426: { n: "UserSViewBegin" }, 427: { n: "UserSViewEnd" }, 428: { n: "RRDUserView" }, 429: { n: "Qsi" }, 430: { n: "SupBook", f: cs }, 431: { n: "Prot4Rev", f: Mn }, 432: { n: "CondFmt" }, 433: { n: "CF" }, 434: { n: "DVal" }, 437: { n: "DConBin" }, 438: { n: "TxO", f: Ts }, 439: { n: "RefreshAll", f: Mn }, 440: { n: "HLink", f: ys }, 441: { n: "Lel" }, 442: { n: "CodeName", f: Yn }, 443: { n: "SXFDBType" }, 444: { n: "Prot4RevPass", f: Hn }, 445: { n: "ObNoMacros" }, 446: { n: "Dv" }, 448: { n: "Excel9File", f: Pn }, 449: { n: "RecalcId", f: Pi, r: 2 }, 450: { n: "EntExU2", f: Pn }, 512: { n: "Dimensions", f: $i }, 513: { n: "Blank", f: Ws }, 515: { n: "Number", f: fs }, 516: { n: "Label", f: Xi }, 517: { n: "BoolErr", f: is }, 518: { n: "Formula", f: Rh }, 519: { n: "String", f: zs }, 520: { n: "Row", f: Oi }, 523: { n: "Index" }, 545: { n: "Array", f: bs }, 549: { n: "DefaultRowHeight", f: Ni }, 566: { n: "Table" }, 574: { n: "Window2", f: Ui }, 638: { n: "RK", f: Qi }, 659: { n: "Style" }, 1030: { n: "Formula", f: Rh }, 1048: { n: "BigName" }, 1054: { n: "Format", f: ji }, 1084: { n: "ContinueBigName" }, 1212: { n: "ShrFmla", f: ms }, 2048: { n: "HLinkTooltip", f: Is }, 2049: { n: "WebPub" }, 2050: { n: "QsiSXTag" }, 2051: { n: "DBQueryExt" }, 2052: { n: "ExtString" }, 2053: { n: "TxtQry" }, 2054: { n: "Qsir" }, 2055: { n: "Qsif" }, 2056: { n: "RRDTQSIF" }, 2057: { n: "BOF", f: Si }, 2058: { n: "OleDbConn" }, 2059: { n: "WOpt" }, 2060: { n: "SXViewEx" }, 2061: { n: "SXTH" }, 2062: { n: "SXPIEx" }, 2063: { n: "SXVDTEx" }, 2064: { n: "SXViewEx9" }, 2066: { n: "ContinueFrt" }, 2067: { n: "RealTimeData" }, 2128: { n: "ChartFrtInfo" }, 2129: { n: "FrtWrapper" }, 2130: { n: "StartBlock" }, 2131: { n: "EndBlock" }, 2132: { n: "StartObject" }, 2133: { n: "EndObject" }, 2134: { n: "CatLab" }, 2135: { n: "YMult" }, 2136: { n: "SXViewLink" }, 2137: { n: "PivotChartBits" }, 2138: { n: "FrtFontList" }, 2146: { n: "SheetExt" }, 2147: { n: "BookExt", r: 12 }, 2148: { n: "SXAddl" }, 2149: { n: "CrErr" }, 2150: { n: "HFPicture" }, 2151: { n: "FeatHdr", f: Pn }, 2152: { n: "Feat" }, 2154: { n: "DataLabExt" }, 2155: { n: "DataLabExtContents" }, 2156: { n: "CellWatch" }, 2161: { n: "FeatHdr11" }, 2162: { n: "Feature11" }, 2164: { n: "DropDownObjIds" }, 2165: { n: "ContinueFrt11" }, 2166: { n: "DConn" }, 2167: { n: "List12" }, 2168: { n: "Feature12" }, 2169: { n: "CondFmt12" }, 2170: { n: "CF12" }, 2171: { n: "CFEx" }, 2172: { n: "XFCRC", f: Ns, r: 12 }, 2173: { n: "XFExt", f: vl, r: 12 }, 2174: { n: "AutoFilter12" }, 2175: { n: "ContinueFrt12" }, 2180: { n: "MDTInfo" }, 2181: { n: "MDXStr" }, 2182: { n: "MDXTuple" }, 2183: { n: "MDXSet" }, 2184: { n: "MDXProp" }, 2185: { n: "MDXKPI" }, 2186: { n: "MDB" }, 2187: { n: "PLV" }, 2188: { n: "Compat12", f: Mn, r: 12 }, 2189: { n: "DXF" }, 2190: { n: "TableStyles", r: 12 }, 2191: { n: "TableStyle" }, 2192: { n: "TableStyleElement" }, 2194: { n: "StyleExt" }, 2195: { n: "NamePublish" }, 2196: { n: "NameCmt", f: gs, r: 12 }, 2197: { n: "SortData" }, 2198: { n: "Theme", f: ll, r: 12 }, 2199: { n: "GUIDTypeLib" }, 2200: { n: "FnGrp12" }, 2201: { n: "NameFnGrp12" }, 2202: { n: "MTRSettings", f: ws, r: 12 }, 2203: { n: "CompressPictures", f: Pn }, 2204: { n: "HeaderFooter" }, 2205: { n: "CrtLayout12" }, 2206: { n: "CrtMlFrt" }, 2207: { n: "CrtMlFrtContinue" }, 2211: { n: "ForceFullCalculation", f: Fi }, 2212: { n: "ShapePropsStream" }, 2213: { n: "TextPropsStream" }, 2214: { n: "RichTextStream" }, 2215: { n: "CrtLayout12A" }, 4097: { n: "Units" }, 4098: { n: "Chart" }, 4099: { n: "Series" }, 4102: { n: "DataFormat" }, 4103: { n: "LineFormat" }, 4105: { n: "MarkerFormat" }, 4106: { n: "AreaFormat" }, 4107: { n: "PieFormat" }, 4108: { n: "AttachedLabel" }, 4109: { n: "SeriesText" }, 4116: { n: "ChartFormat" }, 4117: { n: "Legend" }, 4118: { n: "SeriesList" }, 4119: { n: "Bar" }, 4120: { n: "Line" }, 4121: { n: "Pie" }, 4122: { n: "Area" }, 4123: { n: "Scatter" }, 4124: { n: "CrtLine" }, 4125: { n: "Axis" }, 4126: { n: "Tick" }, 4127: { n: "ValueRange" }, 4128: { n: "CatSerRange" }, 4129: { n: "AxisLine" }, 4130: { n: "CrtLink" }, 4132: { n: "DefaultText" }, 4133: { n: "Text" }, 4134: { n: "FontX", f: Hn }, 4135: { n: "ObjectLink" }, 4146: { n: "Frame" }, 4147: { n: "Begin" }, 4148: { n: "End" }, 4149: { n: "PlotArea" }, 4154: { n: "Chart3d" }, 4156: { n: "PicF" }, 4157: { n: "DropBar" }, 4158: { n: "Radar" }, 4159: { n: "Surf" }, 4160: { n: "RadarArea" }, 4161: { n: "AxisParent" }, 4163: { n: "LegendException" }, 4164: { n: "ShtProps", f: Us }, 4165: { n: "SerToCrt" }, 4166: { n: "AxesUsed" }, 4168: { n: "SBaseRef" }, 4170: { n: "SerParent" }, 4171: { n: "SerAuxTrend" }, 4174: { n: "IFmtRecord" }, 4175: { n: "Pos" }, 4176: { n: "AlRuns" }, 4177: { n: "BRAI" }, 4187: { n: "SerAuxErrBar" }, 4188: { n: "ClrtClient", f: Fs }, 4189: { n: "SerFmt" }, 4191: { n: "Chart3DBarShape" }, 4192: { n: "Fbi" }, 4193: { n: "BopPop" }, 4194: { n: "AxcExt" }, 4195: { n: "Dat" }, 4196: { n: "PlotGrowth" }, 4197: { n: "SIIndex" }, 4198: { n: "GelFrame" }, 4199: { n: "BopPopCustom" }, 4200: { n: "Fbi2" }, 0: { n: "Dimensions", f: $i }, 2: { n: "BIFF2INT", f: Ys }, 5: { n: "BoolErr", f: is }, 7: { n: "String", f: Zs }, 8: { n: "BIFF2ROW" }, 11: { n: "Index" }, 22: { n: "ExternCount", f: Hn }, 30: { n: "BIFF2FORMAT", f: Yi }, 31: { n: "BIFF2FMTCNT" }, 32: { n: "BIFF2COLINFO" }, 33: { n: "Array", f: bs }, 37: { n: "DefaultRowHeight", f: Ni }, 50: { n: "BIFF2FONTXTRA", f: Qs }, 52: { n: "DDEObjName" }, 62: { n: "BIFF2WINDOW2" }, 67: { n: "BIFF2XF" }, 69: { n: "BIFF2FONTCLR" }, 86: { n: "BIFF4FMTCNT" }, 126: { n: "RK" }, 127: { n: "ImData", f: Xs }, 135: { n: "Addin" }, 136: { n: "Edg" }, 137: { n: "Pub" }, 145: { n: "Sub" }, 148: { n: "LHRecord" }, 149: { n: "LHNGraph" }, 150: { n: "Sound" }, 169: { n: "CoordList" }, 171: { n: "GCW" }, 188: { n: "ShrFmla" }, 191: { n: "ToolbarHdr" }, 192: { n: "ToolbarEnd" }, 194: { n: "AddMenu" }, 195: { n: "DelMenu" }, 214: { n: "RString", f: Js }, 223: { n: "UDDesc" }, 234: { n: "TabIdConf" }, 354: { n: "XL5Modify" }, 421: { n: "FileSharing2" }, 521: { n: "BOF", f: Si }, 536: { n: "Lbl", f: ds }, 547: { n: "ExternName", f: hs }, 561: { n: "Font" }, 579: { n: "BIFF3XF" }, 1033: { n: "BOF", f: Si }, 1091: { n: "BIFF4XF" }, 2157: { n: "FeatInfo" }, 2163: { n: "FeatInfo11" }, 2177: { n: "SXAddl12" }, 2240: { n: "AutoWebPub" }, 2241: { n: "ListObj" }, 2242: { n: "ListField" }, 2243: { n: "ListDV" }, 2244: { n: "ListCondFmt" }, 2245: { n: "ListCF" }, 2246: { n: "FMQry" }, 2247: { n: "FMSQry" }, 2248: { n: "PLV" }, 2249: { n: "LnExt" }, 2250: { n: "MkrExt" }, 2251: { n: "CrtCoopt" }, 2262: { n: "FRTArchId$", r: 12 }, 29282: {} }; var pv = K(dv, "n"); function vv(e, r, t, a) { var n = +r || +pv[r]; if (isNaN(n)) return; var i = a || (t || []).length || 0; var s = e.next(4); s._W(2, n); s._W(2, i); if (i > 0 && Ir(t)) e.push(t) } function gv(e, r, t) { if (!e) e = Gr(7); e._W(2, r); e._W(2, t); e._W(2, 0); e._W(1, 0); return e } function mv(e, r, t, a) { var n = Gr(9); gv(n, e, r); if (a == "e") { n._W(1, t); n._W(1, 1) } else { n._W(1, t ? 1 : 0); n._W(1, 0) } return n } function bv(e, r, t) { var a = Gr(8 + 2 * t.length); gv(a, e, r); a._W(1, t.length); a._W(t.length, t, "sbcs"); return a.l < a.length ? a.slice(0, a.l) : a } function wv(e, r, t, a) { if (r.v != null) switch (r.t) { case "d": ; case "n": var n = r.t == "d" ? ee(ie(r.v)) : r.v; if (n == (n | 0) && n >= 0 && n < 65536) vv(e, 2, $s(t, a, n)); else vv(e, 3, Ks(t, a, n)); return; case "b": ; case "e": vv(e, 5, mv(t, a, r.v, r.t)); return; case "s": ; case "str": vv(e, 4, bv(t, a, r.v)); return; } vv(e, 1, gv(null, t, a)) } function Cv(e, r, t, a) { var n = Array.isArray(r); var i = pt(r["!ref"] || "A1"), s, f = "", o = []; if (i.e.c > 255 || i.e.r > 16383) { if (a.WTF) throw new Error("Range " + (r["!ref"] || "A1") + " exceeds format limit A1:IV16384"); i.e.c = Math.min(i.e.c, 255); i.e.r = Math.min(i.e.c, 16383); s = dt(i) } for (var l = i.s.r; l <= i.e.r; ++l) { f = tt(l); for (var c = i.s.c; c <= i.e.c; ++c) { if (l === i.s.r) o[c] = st(c); s = o[c] + f; var h = n ? (r[l] || [])[c] : r[s]; if (!h) continue; wv(e, h, l, c, a) } } } function Ev(e, r) { var t = r || {}; if (v != null && t.dense == null) t.dense = v; var a = Kr(); var n = 0; for (var i = 0; i < e.SheetNames.length; ++i) if (e.SheetNames[i] == t.sheet) n = i; if (n == 0 && !!t.sheet && e.SheetNames[0] != t.sheet) throw new Error("Sheet not found: " + t.sheet); vv(a, 9, Ai(e, 16, t)); Cv(a, e.Sheets[e.SheetNames[n]], n, t, e); vv(a, 10); return a.end() } function kv(e, r, t) { vv(e, "Font", Vi({ sz: 12, color: { theme: 1 }, name: "Arial", family: 2, scheme: "minor" }, t)) } function Sv(e, r, t) { if (!r) return; [[5, 8], [23, 26], [41, 44], [50, 392]].forEach(function(a) { for (var n = a[0]; n <= a[1]; ++n) if (r[n] != null) vv(e, "Format", Ki(n, r[n], t)) }) } function Av(e, r) { var t = Gr(19); t._W(4, 2151); t._W(4, 0); t._W(4, 0); t._W(2, 3); t._W(1, 1); t._W(4, 0); vv(e, "FeatHdr", t); t = Gr(39); t._W(4, 2152); t._W(4, 0); t._W(4, 0); t._W(2, 3); t._W(1, 0); t._W(4, 0); t._W(2, 1); t._W(4, 4); t._W(2, 0); pi(pt(r["!ref"] || "A1"), t); t._W(4, 4); vv(e, "Feat", t) } function _v(e, r) { for (var t = 0; t < 16; ++t) vv(e, "XF", ts({ numFmtId: 0, style: true }, 0, r)); r.cellXfs.forEach(function(t) { vv(e, "XF", ts(t, 0, r)) }) } function Bv(e, r) { for (var t = 0; t < r["!links"].length; ++t) { var a = r["!links"][t]; vv(e, "HLink", xs(a)); if (a[1].Tooltip) vv(e, "HLinkTooltip", Rs(a)) } delete r["!links"] } function Tv(e, r, t, a, n) { var i = 16 + Qh(n.cellXfs, r, n); if (r.v != null) switch (r.t) { case "d": ; case "n": var s = r.t == "d" ? ee(ie(r.v)) : r.v; vv(e, "Number", os(t, a, s, i, n)); return; case "b": ; case "e": vv(e, 517, ss(t, a, r.v, i, n, r.t)); return; case "s": ; case "str": vv(e, "Label", Gi(t, a, r.v, i, n)); return; } vv(e, "Blank", fi(t, a, i)) } function yv(e, r, t) { var a = Kr(); var n = t.SheetNames[e] , i = t.Sheets[n] || {}; var s = (t || {}).Workbook || {}; var f = (s.Sheets || [])[e] || {}; var o = Array.isArray(i); var l = r.biff == 8; var c, h = "", u = []; var d = pt(i["!ref"] || "A1"); var p = l ? 65536 : 16384; if (d.e.c > 255 || d.e.r >= p) { if (r.WTF) throw new Error("Range " + (i["!ref"] || "A1") + " exceeds format limit A1:IV16384"); d.e.c = Math.min(d.e.c, 255); d.e.r = Math.min(d.e.c, p - 1) } vv(a, 2057, Ai(t, 16, r)); vv(a, "CalcMode", Wn(1)); vv(a, "CalcCount", Wn(100)); vv(a, "CalcRefMode", Un(true)); vv(a, "CalcIter", Un(false)); vv(a, "CalcDelta", Gt(.001)); vv(a, "CalcSaveRecalc", Un(true)); vv(a, "PrintRowCol", Un(false)); vv(a, "PrintGrid", Un(false)); vv(a, "GridSet", Wn(1)); vv(a, "Guts", ns([0, 0])); vv(a, "HCenter", Un(false)); vv(a, "VCenter", Un(false)); vv(a, 512, Zi(d, r)); if (l) i["!links"] = []; for (var v = d.s.r; v <= d.e.r; ++v) { h = tt(v); for (var g = d.s.c; g <= d.e.c; ++g) { if (v === d.s.r) u[g] = st(g); c = u[g] + h; var m = o ? (i[v] || [])[g] : i[c]; if (!m) continue; Tv(a, m, v, g, r); if (l && m.l) i["!links"].push([c, m.l]) } } var b = f.CodeName || f.name || n; if (l && s.Views) vv(a, "Window2", Hi(s.Views[0])); if (l && (i["!merges"] || []).length) vv(a, "MergeCells", Ss(i["!merges"])); if (l) Bv(a, i); vv(a, "CodeName", Zn(b, r)); if (l) Av(a, i); vv(a, "EOF"); return a.end() } function xv(e, r, t) { var a = Kr(); var n = (e || {}).Workbook || {}; var i = n.Sheets || []; var s = n.WBProps || {}; var f = t.biff == 8 , o = t.biff == 5; vv(a, 2057, Ai(e, 5, t)); if (t.bookType == "xla") vv(a, "Addin"); vv(a, "InterfaceHdr", f ? Wn(1200) : null); vv(a, "Mms", Nn(2)); if (o) vv(a, "ToolbarHdr"); if (o) vv(a, "ToolbarEnd"); vv(a, "InterfaceEnd"); vv(a, "WriteAccess", Ti("SheetJS", t)); vv(a, "CodePage", Wn(f ? 1200 : 1252)); if (f) vv(a, "DSF", Wn(0)); if (f) vv(a, "Excel9File"); vv(a, "RRTabId", Hs(e.SheetNames.length)); if (f && e.vbaraw) { vv(a, "ObProj"); var l = s.CodeName || "ThisWorkbook"; vv(a, "CodeName", Zn(l, t)) } vv(a, "BuiltInFnGroupCount", Wn(17)); vv(a, "WinProtect", Un(false)); vv(a, "Protect", Un(false)); vv(a, "Password", Wn(0)); if (f) vv(a, "Prot4Rev", Un(false)); if (f) vv(a, "Prot4RevPass", Wn(0)); vv(a, "Window1", Mi(t)); vv(a, "Backup", Un(false)); vv(a, "HideObj", Wn(0)); vv(a, "Date1904", Un(zd(e) == "true")); vv(a, "CalcPrecision", Un(true)); if (f) vv(a, "RefreshAll", Un(false)); vv(a, "BookBool", Wn(0)); kv(a, e, t); Sv(a, e.SSF, t); _v(a, t); if (f) vv(a, "UsesELFs", Un(false)); var c = a.end(); var h = Kr(); if (f) vv(h, "Country", Os()); vv(h, "EOF"); var u = h.end(); var d = Kr(); var p = 0 , v = 0; for (v = 0; v < e.SheetNames.length; ++v) p += (f ? 12 : 11) + (f ? 2 : 1) * e.SheetNames[v].length; var g = c.length + p + u.length; for (v = 0; v < e.SheetNames.length; ++v) { var m = i[v] || {}; vv(d, "BoundSheet8", Ii({ pos: g, hs: m.Hidden || 0, dt: 0, name: e.SheetNames[v] }, t)); g += r[v].length } var b = d.end(); if (p != b.length) throw new Error("BS8 " + p + " != " + b.length); var w = []; if (c.length) w.push(c); if (b.length) w.push(b); if (u.length) w.push(u); return cr([w]) } function Iv(e, r) { var t = r || {}; var a = []; if (e && !e.SSF) { e.SSF = D.get_table() } if (e && e.SSF) { O(D); D.load_table(e.SSF); t.revssf = Z(e.SSF); t.revssf[e.SSF[65535]] = 0; t.ssf = e.SSF } t.cellXfs = []; t.Strings = []; t.Strings.Count = 0; t.Strings.Unique = 0; Qh(t.cellXfs, {}, { revssf: { General: 0 } }); for (var n = 0; n < e.SheetNames.length; ++n) a[a.length] = yv(n, t, e); a.unshift(xv(e, a, t)); return cr([a]) } function Rv(e, r) { var t = r || {}; switch (t.biff || 2) { case 8: ; case 5: return Iv(e, r); case 4: ; case 3: ; case 2: return Ev(e, r); } throw new Error("invalid type " + t.bookType + " for BIFF") } var Dv = function() { function e(e, r) { var t = r || {}; if (v != null && t.dense == null) t.dense = v; var a = t.dense ? [] : {}; var n = e.match(/"); var i = e.match(/<\/table/i); var s = n.index , f = i && i.index || e.length; var o = ue(e.slice(s, f), /(:?]*>)/i, ""); var l = -1 , c = 0 , h = 0 , u = 0; var d = { s: { r: 1e7, c: 1e7 }, e: { r: 0, c: 0 } }; var p = []; for (s = 0; s < o.length; ++s) { var g = o[s].trim(); var m = g.slice(0, 3).toLowerCase(); if (m == "/i); for (f = 0; f < b.length; ++f) { var w = b[f].trim(); if (!w.match(/")) > -1) C = C.slice(E + 1); var k = ye(w.slice(0, w.indexOf(">"))); u = k.colspan ? +k.colspan : 1; if ((h = +k.rowspan) > 1 || u > 1) p.push({ s: { r: l, c: c }, e: { r: l + (h || 1) - 1, c: c + u - 1 } }); var S = k.t || ""; if (!C.length) { c += u; continue } C = $e(C); if (d.s.r > l) d.s.r = l; if (d.e.r < l) d.e.r = l; if (d.s.c > c) d.s.c = c; if (d.e.c < c) d.e.c = c; if (!C.length) continue; var A = { t: "s", v: C }; if (t.raw || !C.trim().length || S == "s") {} else if (C === "TRUE") A = { t: "b", v: true }; else if (C === "FALSE") A = { t: "b", v: false }; else if (!isNaN(le(C))) A = { t: "n", v: le(C) }; else if (!isNaN(ce(C).getDate())) { A = { t: "d", v: ie(C) }; if (!t.cellDates) A = { t: "n", v: ee(A.v) }; A.z = t.dateNF || D._table[14] } if (t.dense) { if (!a[l]) a[l] = []; a[l][c] = A } else a[ht({ r: l, c: c })] = A; c += u } } a["!ref"] = dt(d); return a } function r(r, t) { return mt(e(r, t), t) } function t(e, r, t, a) { var n = e["!merges"] || []; var i = []; for (var s = r.s.c; s <= r.e.c; ++s) { var f = 0 , o = 0; for (var l = 0; l < n.length; ++l) { if (n[l].s.r > t || n[l].s.c > s) continue; if (n[l].e.r < t || n[l].e.c < s) continue; if (n[l].s.r < t || n[l].s.c < s) { f = -1; break } f = n[l].e.r - n[l].s.r + 1; o = n[l].e.c - n[l].s.c + 1; break } if (f < 0) continue; var c = ht({ r: t, c: s }); var h = a.dense ? (e[t] || [])[s] : e[c]; var u = {}; if (f > 1) u.rowspan = f; if (o > 1) u.colspan = o; var d = h && h.v != null && (h.h || Me(h.w || (gt(h), h.w) || "")) || ""; u.t = h && h.t || "z"; if (a.editable) d = '' + d + ""; u.id = "sjs-" + c; i.push(ar("td", d, u)) } var p = ""; return p + i.join("") + "" } function a(e, r, t) { var a = []; return a.join("") + "" } var n = 'SheetJS Table Export'; var i = ""; function s(e, r) { var s = r || {}; var f = s.header != null ? s.header : n; var o = s.footer != null ? s.footer : i; var l = [f]; var c = ut(e["!ref"]); s.dense = Array.isArray(e); l.push(a(e, c, s)); for (var h = c.s.r; h <= c.e.r; ++h) l.push(t(e, c, h, s)); l.push("
" + o); return l.join("") } return { to_workbook: r, to_sheet: e, _row: t, BEGIN: n, END: i, _preamble: a, from_sheet: s } }(); function Ov(e, r) { var t = r || {}; if (v != null) t.dense = v; var a = t.dense ? [] : {}; var n = e.getElementsByTagName("tr"); var i = t.sheetRows || 1e7; var s = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }; var f = [] , o = 0; var l = []; var c = 0, h = 0, u, d, p, g; for (; c < n.length && h < i; ++c) { var m = n[c]; if (Pv(m)) { if (t.display) continue; l[h] = { hidden: true } } var b = m.children; for (u = d = 0; u < b.length; ++u) { var w = b[u]; if (t.display && Pv(w)) continue; var C = $e(w.innerHTML); for (o = 0; o < f.length; ++o) { var E = f[o]; if (E.s.c == d && E.s.r <= h && h <= E.e.r) { d = E.e.c + 1; o = -1 } } g = +w.getAttribute("colspan") || 1; if ((p = +w.getAttribute("rowspan")) > 0 || g > 1) f.push({ s: { r: h, c: d }, e: { r: h + (p || 1) - 1, c: d + g - 1 } }); var k = { t: "s", v: C }; var S = w.getAttribute("t") || ""; if (C != null) { if (C.length == 0) k.t = S || "z"; else if (t.raw || C.trim().length == 0 || S == "s") {} else if (C === "TRUE") k = { t: "b", v: true }; else if (C === "FALSE") k = { t: "b", v: false }; else if (!isNaN(le(C))) k = { t: "n", v: le(C) }; else if (!isNaN(ce(C).getDate())) { k = { t: "d", v: ie(C) }; if (!t.cellDates) k = { t: "n", v: ee(k.v) }; k.z = t.dateNF || D._table[14] } } if (t.dense) { if (!a[h]) a[h] = []; a[h][d] = k } else a[ht({ c: d, r: h })] = k; if (s.e.c < d) s.e.c = d; d += g } ++h } if (f.length) a["!merges"] = f; if (l.length) a["!rows"] = l; s.e.r = h - 1; a["!ref"] = dt(s); if (h >= i) a["!fullref"] = dt((s.e.r = n.length - c + h - 1, s)); return a } function Fv(e, r) { return mt(Ov(e, r), r) } function Pv(e) { var r = ""; var t = Nv(e); if (t) r = t(e).getPropertyValue("display"); if (!r) r = e.style.display; return r === "none" } function Nv(e) { if (e.ownerDocument.defaultView && typeof e.ownerDocument.defaultView.getComputedStyle === "function") return e.ownerDocument.defaultView.getComputedStyle; if (typeof getComputedStyle === "function") return getComputedStyle; return null } var Lv = function() { var e = function(e) { return De(e.replace(/[\t\r\n]/g, " ").trim().replace(/ +/g, " ").replace(//g, " ").replace(//g, function(e, r) { return Array(parseInt(r, 10) + 1).join(" ") }).replace(/]*\/>/g, "\t").replace(//g, "\n").replace(/<[^>]*>/g, "")) }; var r = { day: ["d", "dd"], month: ["m", "mm"], year: ["y", "yy"], hours: ["h", "hh"], minutes: ["m", "mm"], seconds: ["s", "ss"], "am-pm": ["A/P", "AM/PM"], "day-of-week": ["ddd", "dddd"], era: ["e", "ee"], quarter: ["\\Qm", 'm\\"th quarter"'] }; return function t(a, n) { var i = n || {}; if (v != null && i.dense == null) i.dense = v; var s = Mp(a); var f = [], o; var l; var c = { name: "" } , h = "" , u = 0; var d; var p; var g = {} , m = []; var b = i.dense ? [] : {}; var w, C; var E = { value: "" }; var k = "", S = 0, A; var _ = -1 , B = -1 , T = { s: { r: 1e6, c: 1e7 }, e: { r: 0, c: 0 } }; var y = 0; var x = {}; var I = [] , R = {} , D = 0 , O = 0; var F = [] , P = 1 , N = 1; var L = []; var M = { Names: [] }; var U = {}; var H = ["", ""]; var W = [] , V = {}; var z = "" , X = 0; var G = false , j = false; var K = 0; Up.lastIndex = 0; s = s.replace(//gm, "").replace(//gm, ""); while (w = Up.exec(s)) switch (w[3] = w[3].replace(/_.*$/, "")) { case "table": ; case "工作表": if (w[1] === "/") { if (T.e.c >= T.s.c && T.e.r >= T.s.r) b["!ref"] = dt(T); if (i.sheetRows > 0 && i.sheetRows <= T.e.r) { b["!fullref"] = b["!ref"]; T.e.r = i.sheetRows - 1; b["!ref"] = dt(T) } if (I.length) b["!merges"] = I; if (F.length) b["!rows"] = F; d.name = d["名称"] || d.name; if (typeof JSON !== "undefined") JSON.stringify(d); m.push(d.name); g[d.name] = b; j = false } else if (w[0].charAt(w[0].length - 2) !== "/") { d = ye(w[0], false); _ = B = -1; T.s.r = T.s.c = 1e7; T.e.r = T.e.c = 0; b = i.dense ? [] : {}; I = []; F = []; j = true } break; case "table-row-group": if (w[1] === "/") --y; else ++y; break; case "table-row": ; case "行": if (w[1] === "/") { _ += P; P = 1; break } p = ye(w[0], false); if (p["行号"]) _ = p["行号"] - 1; else if (_ == -1) _ = 0; P = +p["number-rows-repeated"] || 1; if (P < 10) for (K = 0; K < P; ++K) if (y > 0) F[_ + K] = { level: y }; B = -1; break; case "covered-table-cell": ++B; if (i.sheetStubs) { if (i.dense) { if (!b[_]) b[_] = []; b[_][B] = { t: "z" } } else b[ht({ r: _, c: B })] = { t: "z" } } break; case "table-cell": ; case "数据": if (w[0].charAt(w[0].length - 2) === "/") { ++B; E = ye(w[0], false); N = parseInt(E["number-columns-repeated"] || "1", 10); C = { t: "z", v: null }; if (E.formula && i.cellFormula != false) C.f = Wh(De(E.formula)); if ((E["数据类型"] || E["value-type"]) == "string") { C.t = "s"; C.v = De(E["string-value"] || ""); if (i.dense) { if (!b[_]) b[_] = []; b[_][B] = C } else { b[ht({ r: _, c: B })] = C } } B += N - 1 } else if (w[1] !== "/") { ++B; N = 1; var Y = P ? _ + P - 1 : _; if (B > T.e.c) T.e.c = B; if (B < T.s.c) T.s.c = B; if (_ < T.s.r) T.s.r = _; if (Y > T.e.r) T.e.r = Y; E = ye(w[0], false); W = []; V = {}; C = { t: E["数据类型"] || E["value-type"], v: null }; if (i.cellFormula) { if (E.formula) E.formula = De(E.formula); if (E["number-matrix-columns-spanned"] && E["number-matrix-rows-spanned"]) { D = parseInt(E["number-matrix-rows-spanned"], 10) || 0; O = parseInt(E["number-matrix-columns-spanned"], 10) || 0; R = { s: { r: _, c: B }, e: { r: _ + D - 1, c: B + O - 1 } }; C.F = dt(R); L.push([R, C.F]) } if (E.formula) C.f = Wh(E.formula); else for (K = 0; K < L.length; ++K) if (_ >= L[K][0].s.r && _ <= L[K][0].e.r) if (B >= L[K][0].s.c && B <= L[K][0].e.c) C.F = L[K][1] } if (E["number-columns-spanned"] || E["number-rows-spanned"]) { D = parseInt(E["number-rows-spanned"], 10) || 0; O = parseInt(E["number-columns-spanned"], 10) || 0; R = { s: { r: _, c: B }, e: { r: _ + D - 1, c: B + O - 1 } }; I.push(R) } if (E["number-columns-repeated"]) N = parseInt(E["number-columns-repeated"], 10); switch (C.t) { case "boolean": C.t = "b"; C.v = Ve(E["boolean-value"]); break; case "float": C.t = "n"; C.v = parseFloat(E.value); break; case "percentage": C.t = "n"; C.v = parseFloat(E.value); break; case "currency": C.t = "n"; C.v = parseFloat(E.value); break; case "date": C.t = "d"; C.v = ie(E["date-value"]); if (!i.cellDates) { C.t = "n"; C.v = ee(C.v) } C.z = "m/d/yy"; break; case "time": C.t = "n"; C.v = te(E["time-value"]) / 86400; break; case "number": C.t = "n"; C.v = parseFloat(E["数据数值"]); break; default: if (C.t === "string" || C.t === "text" || !C.t) { C.t = "s"; if (E["string-value"] != null) k = De(E["string-value"]) } else throw new Error("Unsupported value type " + C.t); } } else { G = false; if (C.t === "s") { C.v = k || ""; G = S == 0 } if (U.Target) C.l = U; if (W.length > 0) { C.c = W; W = [] } if (k && i.cellText !== false) C.w = k; if (!G || i.sheetStubs) { if (!(i.sheetRows && i.sheetRows <= _)) { for (var $ = 0; $ < P; ++$) { N = parseInt(E["number-columns-repeated"] || "1", 10); if (i.dense) { if (!b[_ + $]) b[_ + $] = []; b[_ + $][B] = $ == 0 ? C : fe(C); while (--N > 0) b[_ + $][B + N] = fe(C) } else { b[ht({ r: _ + $, c: B })] = C; while (--N > 0) b[ht({ r: _ + $, c: B + N })] = fe(C) } if (T.e.c <= B) T.e.c = B } } } N = parseInt(E["number-columns-repeated"] || "1", 10); B += N - 1; N = 0; C = {}; k = "" } U = {}; break; case "document": ; case "document-content": ; case "电子表格文档": ; case "spreadsheet": ; case "主体": ; case "scripts": ; case "styles": ; case "font-face-decls": if (w[1] === "/") { if ((o = f.pop())[0] !== w[3]) throw "Bad state: " + o } else if (w[0].charAt(w[0].length - 2) !== "/") f.push([w[3], true]); break; case "annotation": if (w[1] === "/") { if ((o = f.pop())[0] !== w[3]) throw "Bad state: " + o; V.t = k; V.a = z; W.push(V) } else if (w[0].charAt(w[0].length - 2) !== "/") { f.push([w[3], false]) } z = ""; X = 0; k = ""; S = 0; break; case "creator": if (w[1] === "/") { z = s.slice(X, w.index) } else X = w.index + w[0].length; break; case "meta": ; case "元数据": ; case "settings": ; case "config-item-set": ; case "config-item-map-indexed": ; case "config-item-map-entry": ; case "config-item-map-named": ; case "shapes": ; case "frame": ; case "text-box": ; case "image": ; case "data-pilot-tables": ; case "list-style": ; case "form": ; case "dde-links": ; case "event-listeners": ; case "chart": if (w[1] === "/") { if ((o = f.pop())[0] !== w[3]) throw "Bad state: " + o } else if (w[0].charAt(w[0].length - 2) !== "/") f.push([w[3], false]); k = ""; S = 0; break; case "scientific-number": break; case "currency-symbol": break; case "currency-style": break; case "number-style": ; case "percentage-style": ; case "date-style": ; case "time-style": if (w[1] === "/") { x[c.name] = h; if ((o = f.pop())[0] !== w[3]) throw "Bad state: " + o } else if (w[0].charAt(w[0].length - 2) !== "/") { h = ""; c = ye(w[0], false); f.push([w[3], true]) } break; case "script": break; case "libraries": break; case "automatic-styles": break; case "master-styles": break; case "default-style": ; case "page-layout": break; case "style": break; case "map": break; case "font-face": break; case "paragraph-properties": break; case "table-properties": break; case "table-column-properties": break; case "table-row-properties": break; case "table-cell-properties": break; case "number": switch (f[f.length - 1][0]) { case "time-style": ; case "date-style": l = ye(w[0], false); h += r[w[3]][l.style === "long" ? 1 : 0]; break; } break; case "fraction": break; case "day": ; case "month": ; case "year": ; case "era": ; case "day-of-week": ; case "week-of-year": ; case "quarter": ; case "hours": ; case "minutes": ; case "seconds": ; case "am-pm": switch (f[f.length - 1][0]) { case "time-style": ; case "date-style": l = ye(w[0], false); h += r[w[3]][l.style === "long" ? 1 : 0]; break; } break; case "boolean-style": break; case "boolean": break; case "text-style": break; case "text": if (w[0].slice(-2) === "/>") break; else if (w[1] === "/") switch (f[f.length - 1][0]) { case "number-style": ; case "date-style": ; case "time-style": h += s.slice(u, w.index); break; } else u = w.index + w[0].length; break; case "named-range": l = ye(w[0], false); H = zh(l["cell-range-address"]); var Z = { Name: l.name, Ref: H[0] + "!" + H[1] }; if (j) Z.Sheet = m.length; M.Names.push(Z); break; case "text-content": break; case "text-properties": break; case "embedded-text": break; case "body": ; case "电子表格": break; case "forms": break; case "table-column": break; case "table-header-rows": break; case "table-rows": break; case "table-column-group": break; case "table-header-columns": break; case "table-columns": break; case "null-date": break; case "graphic-properties": break; case "calculation-settings": break; case "named-expressions": break; case "label-range": break; case "label-ranges": break; case "named-expression": break; case "sort": break; case "sort-by": break; case "sort-groups": break; case "tab": break; case "line-break": break; case "span": break; case "p": ; case "文本串": if (w[1] === "/" && (!E || !E["string-value"])) k = (k.length > 0 ? k + "\n" : "") + e(s.slice(S, w.index), A); else { A = ye(w[0], false); S = w.index + w[0].length } break; case "s": break; case "database-range": if (w[1] === "/") break; try { H = zh(ye(w[0])["target-range-address"]); g[H[0]]["!autofilter"] = { ref: H[1] } } catch (Q) {} break; case "date": break; case "object": break; case "title": ; case "标题": break; case "desc": break; case "binary-data": break; case "table-source": break; case "scenario": break; case "iteration": break; case "content-validations": break; case "content-validation": break; case "help-message": break; case "error-message": break; case "database-ranges": break; case "filter": break; case "filter-and": break; case "filter-or": break; case "filter-condition": break; case "list-level-style-bullet": break; case "list-level-style-number": break; case "list-level-properties": break; case "sender-firstname": ; case "sender-lastname": ; case "sender-initials": ; case "sender-title": ; case "sender-position": ; case "sender-email": ; case "sender-phone-private": ; case "sender-fax": ; case "sender-company": ; case "sender-phone-work": ; case "sender-street": ; case "sender-city": ; case "sender-postal-code": ; case "sender-country": ; case "sender-state-or-province": ; case "author-name": ; case "author-initials": ; case "chapter": ; case "file-name": ; case "template-name": ; case "sheet-name": break; case "event-listener": break; case "initial-creator": ; case "creation-date": ; case "print-date": ; case "generator": ; case "document-statistic": ; case "user-defined": ; case "editing-duration": ; case "editing-cycles": break; case "config-item": break; case "page-number": break; case "page-count": break; case "time": break; case "cell-range-source": break; case "detective": break; case "operation": break; case "highlighted-range": break; case "data-pilot-table": ; case "source-cell-range": ; case "source-service": ; case "data-pilot-field": ; case "data-pilot-level": ; case "data-pilot-subtotals": ; case "data-pilot-subtotal": ; case "data-pilot-members": ; case "data-pilot-member": ; case "data-pilot-display-info": ; case "data-pilot-sort-info": ; case "data-pilot-layout-info": ; case "data-pilot-field-reference": ; case "data-pilot-groups": ; case "data-pilot-group": ; case "data-pilot-group-member": break; case "rect": break; case "dde-connection-decls": ; case "dde-connection-decl": ; case "dde-link": ; case "dde-source": break; case "properties": break; case "property": break; case "a": if (w[1] !== "/") { U = ye(w[0], false); if (!U.href) break; U.Target = U.href; delete U.href; if (U.Target.charAt(0) == "#" && U.Target.indexOf(".") > -1) { H = zh(U.Target.slice(1)); U.Target = "#" + H[0] + "!" + H[1] } } break; case "table-protection": break; case "data-pilot-grand-total": break; case "office-document-common-attrs": break; default: switch (w[2]) { case "dc:": ; case "calcext:": ; case "loext:": ; case "ooo:": ; case "chartooo:": ; case "draw:": ; case "style:": ; case "chart:": ; case "form:": ; case "uof:": ; case "表:": ; case "字:": break; default: if (i.WTF) throw new Error(w); } ; } var J = { Sheets: g, SheetNames: m, Workbook: M }; if (i.bookSheets) delete J.Sheets; return J } }(); function Mv(e, r) { r = r || {}; var t = !!ge(e, "objectdata"); if (t) Ma(be(e, "META-INF/manifest.xml"), r); var a = we(e, "content.xml"); if (!a) throw new Error("Missing content.xml in " + (t ? "ODS" : "UOF") + " file"); var n = Lv(t ? a : ze(a), r); if (ge(e, "meta.xml")) n.Props = ja(be(e, "meta.xml")); return n } function Uv(e, r) { return Lv(e, r) } var Hv = function() { var e = ""; return function r() { return Se + e } }(); var Wv = function() { var e = function(e) { return Pe(e).replace(/ +/g, function(e) { return '' }).replace(/\t/g, "").replace(/\n/g, "").replace(/^ /, "").replace(/ $/, "") }; var r = " \n"; var t = " \n"; var a = function(a, n, i) { var s = []; s.push(' \n'); var f = 0 , o = 0 , l = ut(a["!ref"]); var c = a["!merges"] || [] , h = 0; var u = Array.isArray(a); for (f = 0; f < l.s.r; ++f) s.push(" \n"); for (; f <= l.e.r; ++f) { s.push(" \n"); for (o = 0; o < l.s.c; ++o) s.push(r); for (; o <= l.e.c; ++o) { var d = false , p = {} , v = ""; for (h = 0; h != c.length; ++h) { if (c[h].s.c > o) continue; if (c[h].s.r > f) continue; if (c[h].e.c < o) continue; if (c[h].e.r < f) continue; if (c[h].s.c != o || c[h].s.r != f) d = true; p["table:number-columns-spanned"] = c[h].e.c - c[h].s.c + 1; p["table:number-rows-spanned"] = c[h].e.r - c[h].s.r + 1; break } if (d) { s.push(t); continue } var g = ht({ r: f, c: o }) , m = u ? (a[f] || [])[o] : a[g]; if (m && m.f) { p["table:formula"] = Pe(Vh(m.f)); if (m.F) { if (m.F.slice(0, g.length) == g) { var b = ut(m.F); p["table:number-matrix-columns-spanned"] = b.e.c - b.s.c + 1; p["table:number-matrix-rows-spanned"] = b.e.r - b.s.r + 1 } } } if (!m) { s.push(r); continue } switch (m.t) { case "b": v = m.v ? "TRUE" : "FALSE"; p["office:value-type"] = "boolean"; p["office:boolean-value"] = m.v ? "true" : "false"; break; case "n": v = m.w || String(m.v || 0); p["office:value-type"] = "float"; p["office:value"] = m.v || 0; break; case "s": ; case "str": v = m.v; p["office:value-type"] = "string"; break; case "d": v = m.w || ie(m.v).toISOString(); p["office:value-type"] = "date"; p["office:date-value"] = ie(m.v).toISOString(); p["table:style-name"] = "ce1"; break; default: s.push(r); continue; } var w = e(v); if (m.l && m.l.Target) { var C = m.l.Target; C = C.charAt(0) == "#" ? "#" + Xh(C.slice(1)) : C; w = ar("text:a", w, { "xlink:href": C }) } s.push(" " + ar("table:table-cell", ar("text:p", w, {}), p) + "\n") } s.push(" \n") } s.push(" \n"); return s.join("") }; var n = function(e) { e.push(" \n"); e.push(' \n'); e.push(' \n'); e.push(" /\n"); e.push(' \n'); e.push(" /\n"); e.push(" \n"); e.push(" \n"); e.push(' \n'); e.push(" \n") }; return function i(e, r) { var t = [Se]; var i = tr({ "xmlns:office": "urn:oasis:names:tc:opendocument:xmlns:office:1.0", "xmlns:table": "urn:oasis:names:tc:opendocument:xmlns:table:1.0", "xmlns:style": "urn:oasis:names:tc:opendocument:xmlns:style:1.0", "xmlns:text": "urn:oasis:names:tc:opendocument:xmlns:text:1.0", "xmlns:draw": "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0", "xmlns:fo": "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0", "xmlns:xlink": "http://www.w3.org/1999/xlink", "xmlns:dc": "http://purl.org/dc/elements/1.1/", "xmlns:meta": "urn:oasis:names:tc:opendocument:xmlns:meta:1.0", "xmlns:number": "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0", "xmlns:presentation": "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0", "xmlns:svg": "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0", "xmlns:chart": "urn:oasis:names:tc:opendocument:xmlns:chart:1.0", "xmlns:dr3d": "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0", "xmlns:math": "http://www.w3.org/1998/Math/MathML", "xmlns:form": "urn:oasis:names:tc:opendocument:xmlns:form:1.0", "xmlns:script": "urn:oasis:names:tc:opendocument:xmlns:script:1.0", "xmlns:ooo": "http://openoffice.org/2004/office", "xmlns:ooow": "http://openoffice.org/2004/writer", "xmlns:oooc": "http://openoffice.org/2004/calc", "xmlns:dom": "http://www.w3.org/2001/xml-events", "xmlns:xforms": "http://www.w3.org/2002/xforms", "xmlns:xsd": "http://www.w3.org/2001/XMLSchema", "xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance", "xmlns:sheet": "urn:oasis:names:tc:opendocument:sh33tjs:1.0", "xmlns:rpt": "http://openoffice.org/2005/report", "xmlns:of": "urn:oasis:names:tc:opendocument:xmlns:of:1.2", "xmlns:xhtml": "http://www.w3.org/1999/xhtml", "xmlns:grddl": "http://www.w3.org/2003/g/data-view#", "xmlns:tableooo": "http://openoffice.org/2009/table", "xmlns:drawooo": "http://openoffice.org/2010/draw", "xmlns:calcext": "urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0", "xmlns:loext": "urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0", "xmlns:field": "urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0", "xmlns:formx": "urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0", "xmlns:css3t": "http://www.w3.org/TR/css3-text/", "office:version": "1.2" }); var s = tr({ "xmlns:config": "urn:oasis:names:tc:opendocument:xmlns:config:1.0", "office:mimetype": "application/vnd.oasis.opendocument.spreadsheet" }); if (r.bookType == "fods") t.push("\n"); else t.push("\n"); n(t); t.push(" \n"); t.push(" \n"); for (var f = 0; f != e.SheetNames.length; ++f) t.push(a(e.Sheets[e.SheetNames[f]], e, f, r)); t.push(" \n"); t.push(" \n"); if (r.bookType == "fods") t.push(""); else t.push(""); return t.join("") } }(); function Vv(e, r) { if (r.bookType == "fods") return Wv(e, r); var t = new Ee; var a = ""; var n = []; var i = []; a = "mimetype"; t.file(a, "application/vnd.oasis.opendocument.spreadsheet"); a = "content.xml"; t.file(a, Wv(e, r)); n.push([a, "text/xml"]); i.push([a, "ContentFile"]); a = "styles.xml"; t.file(a, Hv(e, r)); n.push([a, "text/xml"]); i.push([a, "StylesFile"]); a = "meta.xml"; t.file(a, za()); n.push([a, "text/xml"]); i.push([a, "MetadataFile"]); a = "manifest.rdf"; t.file(a, Va(i)); n.push([a, "application/rdf+xml"]); a = "META-INF/manifest.xml"; t.file(a, Ua(n)); return t } function zv(e, r) { if (!r) return 0; var t = e.SheetNames.indexOf(r); if (t == -1) throw new Error("Sheet not found: " + r); return t } function Xv(e) { return function r(t, a) { var n = zv(t, a.sheet); return e.from_sheet(t.Sheets[t.SheetNames[n]], a, t) } } var Gv = Xv(Dv); var jv = Xv({ from_sheet: Fg }); var Kv = Xv(ef); var Yv = Xv(rf); var $v = Xv(af); var Zv = Xv(jf); var Qv = Xv({ from_sheet: Pg }); var Jv = Xv(qs); var qv = Xv(tf); function eg(e) { return function r(t) { for (var a = 0; a != e.length; ++a) { var n = e[a]; if (t[n[0]] === undefined) t[n[0]] = n[1]; if (n[2] === "n") t[n[0]] = Number(t[n[0]]) } } } var rg = eg([["cellNF", false], ["cellHTML", true], ["cellFormula", true], ["cellStyles", false], ["cellText", true], ["cellDates", false], ["sheetStubs", false], ["sheetRows", 0, "n"], ["bookDeps", false], ["bookSheets", false], ["bookProps", false], ["bookFiles", false], ["bookVBA", false], ["password", ""], ["WTF", false]]); var tg = eg([["cellDates", false], ["bookSST", false], ["bookType", "xlsx"], ["compression", false], ["WTF", false]]); function ag(e) { if (Ra.WS.indexOf(e) > -1) return "sheet"; if (Ra.CS && e == Ra.CS) return "chart"; if (Ra.DS && e == Ra.DS) return "dialog"; if (Ra.MS && e == Ra.MS) return "macro"; return e && e.length ? e : "sheet" } function ng(e, r) { if (!e) return 0; try { e = r.map(function a(r) { if (!r.id) r.id = r.strRelID; return [r.name, e["!id"][r.id].Target, ag(e["!id"][r.id].Type)] }) } catch (t) { return null } return !e || e.length === 0 ? null : e } function ig(e, r, t, a, n, i, s, f, o, l, c, h) { try { i[a] = Oa(we(e, t, true), r); var u = be(e, r); var d; switch (f) { case "sheet": d = hp(u, r, n, o, i[a], l, c, h); break; case "chart": d = up(u, r, n, o, i[a], l, c, h); if (!d || !d["!chart"]) break; var p = ke(d["!chart"].Target, r); var v = Da(p); var g = kl(we(e, p, true), Oa(we(e, v, true), p)); var m = ke(g, p); var b = Da(m); d = xd(we(e, m, true), m, o, Oa(we(e, b, true), m), l, d); break; case "macro": d = dp(u, r, n, o, i[a], l, c, h); break; case "dialog": d = pp(u, r, n, o, i[a], l, c, h); break; } s[a] = d } catch (w) { if (o.WTF) throw w } } function sg(e) { return e.charAt(0) == "/" ? e.slice(1) : e } function fg(e, r) { O(D); r = r || {}; rg(r); if (ge(e, "META-INF/manifest.xml")) return Mv(e, r); if (ge(e, "objectdata.xml")) return Mv(e, r); if (ge(e, "Index/Document.iwa")) throw new Error("Unsupported NUMBERS file"); var t = Ce(e); var a = Ta(we(e, "[Content_Types].xml")); var n = false; var i, s; if (a.workbooks.length === 0) { s = "xl/workbook.xml"; if (be(e, s, true)) a.workbooks.push(s) } if (a.workbooks.length === 0) { s = "xl/workbook.bin"; if (!be(e, s, true)) throw new Error("Could not find workbook"); a.workbooks.push(s); n = true } if (a.workbooks[0].slice(-3) == "bin") n = true; var f = {}; var o = {}; if (!r.bookSheets && !r.bookProps) { Gh = []; if (a.sst) try { Gh = mp(be(e, sg(a.sst)), a.sst, r) } catch (l) { if (r.WTF) throw l } if (r.cellStyles && a.themes.length) f = gp(we(e, a.themes[0].replace(/^\//, ""), true) || "", a.themes[0], r); if (a.style) o = vp(be(e, sg(a.style)), a.style, f, r) } a.links.map(function(t) { return Cp(be(e, sg(t)), t, r) }); var c = cp(be(e, sg(a.workbooks[0])), a.workbooks[0], r); var h = {} , u = ""; if (a.coreprops.length) { u = be(e, sg(a.coreprops[0]), true); if (u) h = ja(u); if (a.extprops.length !== 0) { u = be(e, sg(a.extprops[0]), true); if (u) qa(u, h, r) } } var d = {}; if (!r.bookSheets || r.bookProps) { if (a.custprops.length !== 0) { u = we(e, sg(a.custprops[0]), true); if (u) d = an(u, r) } } var p = {}; if (r.bookSheets || r.bookProps) { if (c.Sheets) i = c.Sheets.map(function y(e) { return e.name }); else if (h.Worksheets && h.SheetNames.length > 0) i = h.SheetNames; if (r.bookProps) { p.Props = h; p.Custprops = d } if (r.bookSheets && typeof i !== "undefined") p.SheetNames = i; if (r.bookSheets ? p.SheetNames : r.bookProps) return p } i = {}; var v = {}; if (r.bookDeps && a.calcchain) v = wp(be(e, sg(a.calcchain)), a.calcchain, r); var g = 0; var m = {}; var b, w; { var C = c.Sheets; h.Worksheets = C.length; h.SheetNames = []; for (var E = 0; E != C.length; ++E) { h.SheetNames[E] = C[E].name } } var k = n ? "bin" : "xml"; var S = a.workbooks[0].lastIndexOf("/"); var A = (a.workbooks[0].slice(0, S + 1) + "_rels/" + a.workbooks[0].slice(S + 1) + ".rels").replace(/^\//, ""); if (!ge(e, A)) A = "xl/_rels/workbook." + k + ".rels"; var _ = Oa(we(e, A, true), A); if (_) _ = ng(_, c.Sheets); var B = be(e, "xl/worksheets/sheet.xml", true) ? 1 : 0; for (g = 0; g != h.Worksheets; ++g) { var T = "sheet"; if (_ && _[g]) { b = "xl/" + _[g][1].replace(/[\/]?xl\//, ""); if (!ge(e, b)) b = _[g][1]; if (!ge(e, b)) b = A.replace(/_rels\/.*$/, "") + _[g][1]; T = _[g][2] } else { b = "xl/worksheets/sheet" + (g + 1 - B) + "." + k; b = b.replace(/sheet0\./, "sheet.") } w = b.replace(/^(.*)(\/)([^\/]*)$/, "$1/_rels/$3.rels"); ig(e, b, w, h.SheetNames[g], g, m, i, T, r, c, f, o) } if (a.comments) _l(e, a.comments, i, m, r); p = { Directory: a, Workbook: c, Props: h, Custprops: d, Deps: v, Sheets: i, SheetNames: h.SheetNames, Strings: Gh, Styles: o, Themes: f, SSF: D.get_table() }; if (r.bookFiles) { p.keys = t; p.files = e.files } if (r.bookVBA) { if (a.vba.length > 0) p.vbaraw = be(e, sg(a.vba[0]), true); else if (a.defaults && a.defaults.bin === Nl) p.vbaraw = be(e, "xl/vbaProject.bin", true) } return p } function og(e, r) { var t = r || {}; var a = "Workbook" , n = W.find(e, a); try { a = "/!DataSpaces/Version"; n = W.find(e, a); if (!n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a); _f(n.content); a = "/!DataSpaces/DataSpaceMap"; n = W.find(e, a); if (!n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a); var i = Tf(n.content); if (i.length !== 1 || i[0].comps.length !== 1 || i[0].comps[0].t !== 0 || i[0].name !== "StrongEncryptionDataSpace" || i[0].comps[0].v !== "EncryptedPackage") throw new Error("ECMA-376 Encrypted file bad " + a); a = "/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace"; n = W.find(e, a); if (!n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a); var s = yf(n.content); if (s.length != 1 || s[0] != "StrongEncryptionTransform") throw new Error("ECMA-376 Encrypted file bad " + a); a = "/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary"; n = W.find(e, a); if (!n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a); If(n.content) } catch (f) {} a = "/EncryptionInfo"; n = W.find(e, a); if (!n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a); var o = Of(n.content); a = "/EncryptedPackage"; n = W.find(e, a); if (!n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a); if (o[0] == 4 && typeof decrypt_agile !== "undefined") return decrypt_agile(o[1], n.content, t.password || "", t); if (o[0] == 2 && typeof decrypt_std76 !== "undefined") return decrypt_std76(o[1], n.content, t.password || "", t); throw new Error("File is password-protected") } function lg(e, r) { Sl = 1024; if (r.bookType == "ods") return Vv(e, r); if (e && !e.SSF) { e.SSF = D.get_table() } if (e && e.SSF) { O(D); D.load_table(e.SSF); r.revssf = Z(e.SSF); r.revssf[e.SSF[65535]] = 0; r.ssf = e.SSF } r.rels = {}; r.wbrels = {}; r.Strings = []; r.Strings.Count = 0; r.Strings.Unique = 0; if (Kh) r.revStrings = new Map; else { r.revStrings = {}; r.revStrings.foo = []; delete r.revStrings.foo } var t = r.bookType == "xlsb" ? "bin" : "xml"; var a = Ul.indexOf(r.bookType) > -1; var n = Ba(); tg(r = r || {}); var i = new Ee; var s = "" , f = 0; r.cellXfs = []; Qh(r.cellXfs, {}, { revssf: { General: 0 } }); if (!e.Props) e.Props = {}; s = "docProps/core.xml"; i.file(s, $a(e.Props, r)); n.coreprops.push(s); Na(r.rels, 2, s, Ra.CORE_PROPS); s = "docProps/app.xml"; if (e.Props && e.Props.SheetNames) {} else if (!e.Workbook || !e.Workbook.Sheets) e.Props.SheetNames = e.SheetNames; else { var o = []; for (var l = 0; l < e.SheetNames.length; ++l) if ((e.Workbook.Sheets[l] || {}).Hidden != 2) o.push(e.SheetNames[l]); e.Props.SheetNames = o } e.Props.Worksheets = e.Props.SheetNames.length; i.file(s, rn(e.Props, r)); n.extprops.push(s); Na(r.rels, 3, s, Ra.EXT_PROPS); if (e.Custprops !== e.Props && j(e.Custprops || {}).length > 0) { s = "docProps/custom.xml"; i.file(s, sn(e.Custprops, r)); n.custprops.push(s); Na(r.rels, 4, s, Ra.CUST_PROPS) } for (f = 1; f <= e.SheetNames.length; ++f) { var c = { "!id": {} }; var h = e.Sheets[e.SheetNames[f - 1]]; var u = (h || {})["!type"] || "sheet"; switch (u) { case "chart": ; default: s = "xl/worksheets/sheet" + f + "." + t; i.file(s, kp(f - 1, s, r, e, c)); n.sheets.push(s); Na(r.wbrels, -1, "worksheets/sheet" + f + "." + t, Ra.WS[0]); } if (h) { var d = h["!comments"]; if (d && d.length > 0) { var p = "xl/comments" + f + "." + t; i.file(p, Bp(d, p, r)); n.comments.push(p); Na(c, -1, "../comments" + f + "." + t, Ra.CMNT) } if (h["!legacy"]) { i.file("xl/drawings/vmlDrawing" + f + ".vml", Al(f, h["!comments"])) } delete h["!comments"]; delete h["!legacy"] } if (c["!id"].rId1) i.file(Da(s), Pa(c)) } if (r.Strings != null && r.Strings.length > 0) { s = "xl/sharedStrings." + t; i.file(s, _p(r.Strings, s, r)); n.strs.push(s); Na(r.wbrels, -1, "sharedStrings." + t, Ra.SST) } s = "xl/workbook." + t; i.file(s, Ep(e, s, r)); n.workbooks.push(s); Na(r.rels, 1, s, Ra.WB); s = "xl/theme/theme1.xml"; i.file(s, ol(e.Themes, r)); n.themes.push(s); Na(r.wbrels, -1, "theme/theme1.xml", Ra.THEME); s = "xl/styles." + t; i.file(s, Ap(e, s, r)); n.styles.push(s); Na(r.wbrels, -1, "styles." + t, Ra.STY); if (e.vbaraw && a) { s = "xl/vbaProject.bin"; i.file(s, e.vbaraw); n.vba.push(s); Na(r.wbrels, -1, "vbaProject.bin", Ra.VBA) } i.file("[Content_Types].xml", Ia(n, r)); i.file("_rels/.rels", Pa(r.rels)); i.file("xl/_rels/workbook." + t + ".rels", Pa(r.wbrels)); delete r.revssf; delete r.ssf; return i } function cg(e, r) { var t = ""; switch ((r || {}).type || "base64") { case "buffer": return [e[0], e[1], e[2], e[3]]; case "base64": t = m.decode(e.slice(0, 24)); break; case "binary": t = e; break; case "array": return [e[0], e[1], e[2], e[3]]; default: throw new Error("Unrecognized type " + (r && r.type || "undefined")); } return [t.charCodeAt(0), t.charCodeAt(1), t.charCodeAt(2), t.charCodeAt(3)] } function hg(e, r) { if (W.find(e, "EncryptedPackage")) return og(e, r); return lv(e, r) } function ug(e, r) { var t, a = e; var n = r || {}; if (!n.type) n.type = b && Buffer.isBuffer(e) ? "buffer" : "base64"; switch (n.type) { case "base64": t = new Ee(a,{ base64: true }); break; case "binary": ; case "array": t = new Ee(a,{ base64: false }); break; case "buffer": t = new Ee(a); break; default: throw new Error("Unrecognized type " + n.type); } return fg(t, n) } function dg(e, r) { var t = 0; e: while (t < e.length) switch (e.charCodeAt(t)) { case 10: ; case 13: ; case 32: ++t; break; case 60: return Wp(e.slice(t), r); default: break e; } return af.to_workbook(e, r) } function pg(e, r) { var t = "" , a = cg(e, r); switch (r.type) { case "base64": t = m.decode(e); break; case "binary": t = e; break; case "buffer": t = e.toString("binary"); break; case "array": t = se(e); break; default: throw new Error("Unrecognized type " + r.type); } if (a[0] == 239 && a[1] == 187 && a[2] == 191) t = ze(t); return dg(t, r) } function vg(e, r) { var t = e; if (r.type == "base64") t = m.decode(t); t = cptable.utils.decode(1200, t.slice(2), "str"); r.type = "binary"; return dg(t, r) } function gg(e) { return !e.match(/[^\x00-\x7F]/) ? e : Xe(e) } function mg(e, r, t, a) { if (a) { t.type = "string"; return af.to_workbook(e, t) } return af.to_workbook(r, t) } function bg(e, r) { l(); if (typeof ArrayBuffer !== "undefined" && e instanceof ArrayBuffer) return bg(new Uint8Array(e), r); var t = e , a = [0, 0, 0, 0] , n = false; var i = r || {}; jh = {}; if (i.dateNF) jh.dateNF = i.dateNF; if (!i.type) i.type = b && Buffer.isBuffer(e) ? "buffer" : "base64"; if (i.type == "file") { i.type = b ? "buffer" : "binary"; t = G(e) } if (i.type == "string") { n = true; i.type = "binary"; i.codepage = 65001; t = gg(e) } if (i.type == "array" && typeof Uint8Array !== "undefined" && e instanceof Uint8Array && typeof ArrayBuffer !== "undefined") { var s = new ArrayBuffer(3) , f = new Uint8Array(s); f.foo = "bar"; if (!f.foo) { i = fe(i); i.type = "array"; return bg(y(t), i) } } switch ((a = cg(t, i))[0]) { case 208: return hg(W.read(t, i), i); case 9: return lv(t, i); case 60: return Wp(t, i); case 73: if (a[1] === 68) return nf(t, i); break; case 84: if (a[1] === 65 && a[2] === 66 && a[3] === 76) return rf.to_workbook(t, i); break; case 80: return a[1] === 75 && a[2] < 9 && a[3] < 9 ? ug(t, i) : mg(e, t, i, n); case 239: return a[3] === 60 ? Wp(t, i) : mg(e, t, i, n); case 255: if (a[1] === 254) { return vg(t, i) } break; case 0: if (a[1] === 0 && a[2] >= 2 && a[3] === 0) return sf.to_workbook(t, i); break; case 3: ; case 131: ; case 139: ; case 140: return qs.to_workbook(t, i); case 123: if (a[1] === 92 && a[2] === 114 && a[3] === 116) return jf.to_workbook(t, i); break; case 10: ; case 13: ; case 32: return pg(t, i); } if (a[2] <= 12 && a[3] <= 31) return qs.to_workbook(t, i); return mg(e, t, i, n) } function wg(e, r) { var t = r || {}; t.type = "file"; return bg(e, t) } function Cg(e, r) { switch (r.type) { case "base64": ; case "binary": break; case "buffer": ; case "array": r.type = ""; break; case "file": return X(r.file, W.write(e, { type: b ? "buffer" : "" })); case "string": throw new Error("'string' output type invalid for '" + r.bookType + "' files"); default: throw new Error("Unrecognized type " + r.type); } return W.write(e, r) } function Eg(e, r) { var t = r || {}; var a = lg(e, t); var n = {}; if (t.compression) n.compression = "DEFLATE"; if (t.password) n.type = b ? "nodebuffer" : "string"; else switch (t.type) { case "base64": n.type = "base64"; break; case "binary": n.type = "string"; break; case "string": throw new Error("'string' output type invalid for '" + t.bookType + "' files"); case "buffer": ; case "file": n.type = b ? "nodebuffer" : "string"; break; default: throw new Error("Unrecognized type " + t.type); } var i = a.generate(n); if (t.password && typeof encrypt_agile !== "undefined") return Cg(encrypt_agile(i, t.password), t); if (t.type === "file") return X(t.file, i); return t.type == "string" ? ze(i) : i } function kg(e, r) { var t = r || {}; var a = cv(e, t); return Cg(a, t) } function Sg(e, r, t) { if (!t) t = ""; var a = t + e; switch (r.type) { case "base64": return m.encode(Xe(a)); case "binary": return Xe(a); case "string": return e; case "file": return X(r.file, a, "utf8"); case "buffer": { if (b) return w(a, "utf8"); else return Sg(a, { type: "binary" }).split("").map(function(e) { return e.charCodeAt(0) }) } ; } throw new Error("Unrecognized type " + r.type) } function Ag(e, r) { switch (r.type) { case "base64": return m.encode(e); case "binary": return e; case "string": return e; case "file": return X(r.file, e, "binary"); case "buffer": { if (b) return w(e, "binary"); else return e.split("").map(function(e) { return e.charCodeAt(0) }) } ; } throw new Error("Unrecognized type " + r.type) } function _g(e, r) { switch (r.type) { case "string": ; case "base64": ; case "binary": var t = ""; for (var a = 0; a < e.length; ++a) t += String.fromCharCode(e[a]); return r.type == "base64" ? m.encode(t) : r.type == "string" ? ze(t) : t; case "file": return X(r.file, e); case "buffer": return e; default: throw new Error("Unrecognized type " + r.type); } } function Bg(e, r) { Kd(e); var t = r || {}; if (t.type == "array") { t.type = "binary"; var a = Bg(e, t); t.type = "array"; return _(a) } switch (t.bookType || "xlsb") { case "xml": ; case "xlml": return Sg(ev(e, t), t); case "slk": ; case "sylk": return Sg(Kv(e, t), t); case "htm": ; case "html": return Sg(Gv(e, t), t); case "txt": return Ag(Qv(e, t), t); case "csv": return Sg(jv(e, t), t, "\ufeff"); case "dif": return Sg(Yv(e, t), t); case "dbf": return _g(Jv(e, t), t); case "prn": return Sg($v(e, t), t); case "rtf": return Sg(Zv(e, t), t); case "eth": return Sg(qv(e, t), t); case "fods": return Sg(Vv(e, t), t); case "biff2": if (!t.biff) t.biff = 2; case "biff3": if (!t.biff) t.biff = 3; case "biff4": if (!t.biff) t.biff = 4; return _g(Rv(e, t), t); case "biff5": if (!t.biff) t.biff = 5; case "biff8": ; case "xla": ; case "xls": if (!t.biff) t.biff = 8; return kg(e, t); case "xlsx": ; case "xlsm": ; case "xlam": ; case "xlsb": ; case "ods": return Eg(e, t); default: throw new Error("Unrecognized bookType |" + t.bookType + "|"); } } function Tg(e) { if (e.bookType) return; var r = { xls: "biff8", htm: "html", slk: "sylk", socialcalc: "eth", Sh33tJS: "WTF" }; var t = e.file.slice(e.file.lastIndexOf(".")).toLowerCase(); if (t.match(/^\.[a-z]+$/)) e.bookType = t.slice(1); e.bookType = r[e.bookType] || e.bookType } function yg(e, r, t) { var a = t || {}; a.type = "file"; a.file = r; Tg(a); return Bg(e, a) } function xg(e, r, t, a) { var n = t || {}; n.type = "file"; n.file = e; Tg(n); n.type = "buffer"; var i = a; if (!(i instanceof Function)) i = t; return V.writeFile(e, Bg(r, n), i) } function Ig(e, r, t, a, n, i, s, f) { var o = tt(t); var l = f.defval , c = f.raw || !f.hasOwnProperty("raw"); var h = true; var u = n === 1 ? [] : {}; if (n !== 1) { if (Object.defineProperty) try { Object.defineProperty(u, "__rowNum__", { value: t, enumerable: false }) } catch (d) { u.__rowNum__ = t } else u.__rowNum__ = t } if (!s || e[t]) for (var p = r.s.c; p <= r.e.c; ++p) { var v = s ? e[t][p] : e[a[p] + o]; if (v === undefined || v.t === undefined) { if (l === undefined) continue; if (i[p] != null) { u[i[p]] = l } continue } var g = v.v; switch (v.t) { case "z": if (g == null) break; continue; case "e": g = void 0; break; case "s": ; case "d": ; case "b": ; case "n": break; default: throw new Error("unrecognized type " + v.t); } if (i[p] != null) { if (g == null) { if (l !== undefined) u[i[p]] = l; else if (c && g === null) u[i[p]] = null; else continue } else { u[i[p]] = c ? g : gt(v, g, f) } if (g != null) h = false } } return { row: u, isempty: h } } function Rg(e, r) { if (e == null || e["!ref"] == null) return []; var t = { t: "n", v: 0 } , a = 0 , n = 1 , i = [] , s = 0 , f = ""; var o = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }; var l = r || {}; var c = l.range != null ? l.range : e["!ref"]; if (l.header === 1) a = 1; else if (l.header === "A") a = 2; else if (Array.isArray(l.header)) a = 3; switch (typeof c) { case "string": o = pt(c); break; case "number": o = pt(e["!ref"]); o.s.r = c; break; default: o = c; } if (a > 0) n = 0; var h = tt(o.s.r); var u = []; var d = []; var p = 0 , v = 0; var g = Array.isArray(e); var m = o.s.r , b = 0 , w = 0; if (g && !e[m]) e[m] = []; for (b = o.s.c; b <= o.e.c; ++b) { u[b] = st(b); t = g ? e[m][b] : e[u[b] + h]; switch (a) { case 1: i[b] = b - o.s.c; break; case 2: i[b] = u[b]; break; case 3: i[b] = l.header[b - o.s.c]; break; default: if (t == null) t = { w: "__EMPTY", t: "s" }; f = s = gt(t, null, l); v = 0; for (w = 0; w < i.length; ++w) if (i[w] == f) f = s + "_" + ++v; i[b] = f; } } for (m = o.s.r + n; m <= o.e.r; ++m) { var C = Ig(e, o, m, u, a, i, g, l); if (C.isempty === false || (a === 1 ? l.blankrows !== false : !!l.blankrows)) d[p++] = C.row } d.length = p; return d } var Dg = /"/g; function Og(e, r, t, a, n, i, s, f) { var o = true; var l = [] , c = "" , h = tt(t); for (var u = r.s.c; u <= r.e.c; ++u) { if (!a[u]) continue; var d = f.dense ? (e[t] || [])[u] : e[a[u] + h]; if (d == null) c = ""; else if (d.v != null) { o = false; c = "" + gt(d, null, f); for (var p = 0, v = 0; p !== c.length; ++p) if ((v = c.charCodeAt(p)) === n || v === i || v === 34) { c = '"' + c.replace(Dg, '""') + '"'; break } if (c == "ID") c = '"ID"' } else if (d.f != null && !d.F) { o = false; c = "=" + d.f; if (c.indexOf(",") >= 0) c = '"' + c.replace(Dg, '""') + '"' } else c = ""; l.push(c) } if (f.blankrows === false && o) return null; return l.join(s) } function Fg(e, r) { var t = []; var a = r == null ? {} : r; if (e == null || e["!ref"] == null) return ""; var n = pt(e["!ref"]); var i = a.FS !== undefined ? a.FS : "," , s = i.charCodeAt(0); var f = a.RS !== undefined ? a.RS : "\n" , o = f.charCodeAt(0); var l = new RegExp((i == "|" ? "\\|" : i) + "+$"); var c = "" , h = []; a.dense = Array.isArray(e); var u = a.skipHidden && e["!cols"] || []; var d = a.skipHidden && e["!rows"] || []; for (var p = n.s.c; p <= n.e.c; ++p) if (!(u[p] || {}).hidden) h[p] = st(p); for (var v = n.s.r; v <= n.e.r; ++v) { if ((d[v] || {}).hidden) continue; c = Og(e, n, v, h, s, o, i, a); if (c == null) { continue } if (a.strip) c = c.replace(l, ""); t.push(c + f) } delete a.dense; return t.join("") } function Pg(e, r) { if (!r) r = {}; r.FS = "\t"; r.RS = "\n"; var t = Fg(e, r); if (typeof cptable == "undefined" || r.type == "string") return t; var a = cptable.utils.encode(1200, t, "str"); return String.fromCharCode(255) + String.fromCharCode(254) + a } function Ng(e) { var r = "", t, a = ""; if (e == null || e["!ref"] == null) return []; var n = pt(e["!ref"]), i = "", s = [], f; var o = []; var l = Array.isArray(e); for (f = n.s.c; f <= n.e.c; ++f) s[f] = st(f); for (var c = n.s.r; c <= n.e.r; ++c) { i = tt(c); for (f = n.s.c; f <= n.e.c; ++f) { r = s[f] + i; t = l ? (e[c] || [])[f] : e[r]; a = ""; if (t === undefined) continue; else if (t.F != null) { r = t.F; if (!t.f) continue; a = t.f; if (r.indexOf(":") == -1) r = r + ":" + r } if (t.f != null) a = t.f; else if (t.t == "z") continue; else if (t.t == "n" && t.v != null) a = "" + t.v; else if (t.t == "b") a = t.v ? "TRUE" : "FALSE"; else if (t.w !== undefined) a = "'" + t.w; else if (t.v === undefined) continue; else if (t.t == "s") a = "'" + t.v; else a = "" + t.v; o[o.length] = r + "=" + a } } return o } function Lg(e, r, t) { var a = t || {}; var n = +!a.skipHeader; var i = e || {}; var s = 0 , f = 0; if (i && a.origin != null) { if (typeof a.origin == "number") s = a.origin; else { var o = typeof a.origin == "string" ? ct(a.origin) : a.origin; s = o.r; f = o.c } } var l; var c = { s: { c: 0, r: 0 }, e: { c: f, r: s + r.length - 1 + n } }; if (i["!ref"]) { var h = pt(i["!ref"]); c.e.c = Math.max(c.e.c, h.e.c); c.e.r = Math.max(c.e.r, h.e.r); if (s == -1) { s = c.e.r + 1; c.e.r = s + r.length - 1 + n } } var u = a.header || [] , d = 0; r.forEach(function(e, r) { j(e).forEach(function(t) { if ((d = u.indexOf(t)) == -1) u[d = u.length] = t; var o = e[t]; var c = "z"; var h = ""; if (o && typeof o === "object" && !(o instanceof Date)) { i[ht({ c: f + d, r: s + r + n })] = o } else { if (typeof o == "number") c = "n"; else if (typeof o == "boolean") c = "b"; else if (typeof o == "string") c = "s"; else if (o instanceof Date) { c = "d"; if (!a.cellDates) { c = "n"; o = ee(o) } h = a.dateNF || D._table[14] } i[ht({ c: f + d, r: s + r + n })] = l = { t: c, v: o }; if (h) l.z = h } }) }); c.e.c = Math.max(c.e.c, f + u.length - 1); var p = tt(s); if (n) for (d = 0; d < u.length; ++d) i[st(d + f) + p] = { t: "s", v: u[d] }; i["!ref"] = dt(c); return i } function Mg(e, r) { return Lg(null, e, r) } var Ug = { encode_col: st, encode_row: tt, encode_cell: ht, encode_range: dt, decode_col: it, decode_row: rt, split_cell: lt, decode_cell: ct, decode_range: ut, format_cell: gt, get_formulae: Ng, make_csv: Fg, make_json: Rg, make_formulae: Ng, sheet_add_aoa: bt, sheet_add_json: Lg, aoa_to_sheet: wt, json_to_sheet: Mg, table_to_sheet: Ov, table_to_book: Fv, sheet_to_csv: Fg, sheet_to_txt: Pg, sheet_to_json: Rg, sheet_to_html: Dv.from_sheet, sheet_to_dif: rf.from_sheet, sheet_to_slk: ef.from_sheet, sheet_to_eth: tf.from_sheet, sheet_to_formulae: Ng, sheet_to_row_object_array: Rg }; (function(e) { e.consts = e.consts || {}; function r(r) { r.forEach(function(r) { e.consts[r[0]] = r[1] }) } function t(e, r, t) { return e[r] != null ? e[r] : e[r] = t } function a(e, r, t) { if (typeof r == "string") return e[r] || (e[r] = { t: "z" }); if (typeof r != "number") return a(e, ht(r)); return a(e, ht({ r: r, c: t || 0 })) } function n(e, r) { if (typeof r == "number") { if (r >= 0 && e.SheetNames.length > r) return r; throw new Error("Cannot find sheet # " + r) } else if (typeof r == "string") { var t = e.SheetNames.indexOf(r); if (t > -1) return t; throw new Error("Cannot find sheet name |" + r + "|") } else throw new Error("Cannot find sheet |" + r + "|") } e.book_new = function() { return { SheetNames: [], Sheets: {} } } ; e.book_append_sheet = function(e, r, t) { if (!t) for (var a = 1; a <= 65535; ++a) if (e.SheetNames.indexOf(t = "Sheet" + a) == -1) break; if (!t) throw new Error("Too many worksheets"); Gd(t); if (e.SheetNames.indexOf(t) >= 0) throw new Error("Worksheet with name |" + t + "| already exists!"); e.SheetNames.push(t); e.Sheets[t] = r } ; e.book_set_sheet_visibility = function(e, r, a) { t(e, "Workbook", {}); t(e.Workbook, "Sheets", []); var i = n(e, r); t(e.Workbook.Sheets, i, {}); switch (a) { case 0: ; case 1: ; case 2: break; default: throw new Error("Bad sheet visibility setting " + a); } e.Workbook.Sheets[i].Hidden = a } ; r([["SHEET_VISIBLE", 0], ["SHEET_HIDDEN", 1], ["SHEET_VERY_HIDDEN", 2]]); e.cell_set_number_format = function(e, r) { e.z = r; return e } ; e.cell_set_hyperlink = function(e, r, t) { if (!r) { delete e.l } else { e.l = { Target: r }; if (t) e.l.Tooltip = t } return e } ; e.cell_set_internal_link = function(r, t, a) { return e.cell_set_hyperlink(r, "#" + t, a) } ; e.cell_add_comment = function(e, r, t) { if (!e.c) e.c = []; e.c.push({ t: r, a: t || "SheetJS" }) } ; e.sheet_set_array_formula = function(e, r, t) { var n = typeof r != "string" ? r : pt(r); var i = typeof r == "string" ? r : dt(r); for (var s = n.s.r; s <= n.e.r; ++s) for (var f = n.s.c; f <= n.e.c; ++f) { var o = a(e, s, f); o.t = "n"; o.F = i; delete o.v; if (s == n.s.r && f == n.s.c) o.f = t } return e } ; return e } )(Ug); if (b && typeof require != "undefined") (function() { var r = {}.Readable; var t = function(e, t) { var a = r(); var n = t == null ? {} : t; if (e == null || e["!ref"] == null) { a.push(null); return a } var i = pt(e["!ref"]); var s = n.FS !== undefined ? n.FS : "," , f = s.charCodeAt(0); var o = n.RS !== undefined ? n.RS : "\n" , l = o.charCodeAt(0); var c = new RegExp((s == "|" ? "\\|" : s) + "+$"); var h = "" , u = []; n.dense = Array.isArray(e); var d = n.skipHidden && e["!cols"] || []; var p = n.skipHidden && e["!rows"] || []; for (var v = i.s.c; v <= i.e.c; ++v) if (!(d[v] || {}).hidden) u[v] = st(v); var g = i.s.r; var m = false; a._read = function() { if (!m) { m = true; return a.push("\ufeff") } if (g > i.e.r) return a.push(null); while (g <= i.e.r) { ++g; if ((p[g - 1] || {}).hidden) continue; h = Og(e, i, g - 1, u, f, l, s, n); if (h != null) { if (n.strip) h = h.replace(c, ""); a.push(h + o); break } } } ; return a }; var a = function(e, t) { var a = r(); var n = t || {}; var i = n.header != null ? n.header : Dv.BEGIN; var s = n.footer != null ? n.footer : Dv.END; a.push(i); var f = ut(e["!ref"]); n.dense = Array.isArray(e); a.push(Dv._preamble(e, f, n)); var o = f.s.r; var l = false; a._read = function() { if (o > f.e.r) { if (!l) { l = true; a.push("" + s) } return a.push(null) } while (o <= f.e.r) { a.push(Dv._row(e, f, o, n)); ++o; break } } ; return a }; var n = function(e, t) { var a = r({ objectMode: true }); if (e == null || e["!ref"] == null) { a.push(null); return a } var n = { t: "n", v: 0 } , i = 0 , s = 1 , f = [] , o = 0 , l = ""; var c = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }; var h = t || {}; var u = h.range != null ? h.range : e["!ref"]; if (h.header === 1) i = 1; else if (h.header === "A") i = 2; else if (Array.isArray(h.header)) i = 3; switch (typeof u) { case "string": c = pt(u); break; case "number": c = pt(e["!ref"]); c.s.r = u; break; default: c = u; } if (i > 0) s = 0; var d = tt(c.s.r); var p = []; var v = 0; var g = Array.isArray(e); var m = c.s.r , b = 0 , w = 0; if (g && !e[m]) e[m] = []; for (b = c.s.c; b <= c.e.c; ++b) { p[b] = st(b); n = g ? e[m][b] : e[p[b] + d]; switch (i) { case 1: f[b] = b - c.s.c; break; case 2: f[b] = p[b]; break; case 3: f[b] = h.header[b - c.s.c]; break; default: if (n == null) n = { w: "__EMPTY", t: "s" }; l = o = gt(n, null, h); v = 0; for (w = 0; w < f.length; ++w) if (f[w] == l) l = o + "_" + ++v; f[b] = l; } } m = c.s.r + s; a._read = function() { if (m > c.e.r) return a.push(null); while (m <= c.e.r) { var r = Ig(e, c, m, p, i, f, g, h); ++m; if (r.isempty === false || (i === 1 ? h.blankrows !== false : !!h.blankrows)) { a.push(r.row); break } } } ; return a }; e.stream = { to_json: n, to_html: a, to_csv: t } } )(); e.parse_xlscfb = lv; e.parse_ods = Mv; e.parse_fods = Uv; e.write_ods = Vv; e.parse_zip = fg; e.read = bg; e.readFile = wg; e.readFileSync = wg; e.write = Bg; e.writeFile = yg; e.writeFileSync = yg; e.writeFileAsync = xg; e.utils = Ug; e.SSF = D; e.CFB = W } var Stimulsoft; (function(Stimulsoft) { var ExternalLibrary; (function(ExternalLibrary) {} )(ExternalLibrary = Stimulsoft.ExternalLibrary || (Stimulsoft.ExternalLibrary = {})); } )(Stimulsoft || (Stimulsoft = {})); make_xlsx_lib(XLSX); Stimulsoft.ExternalLibrary.XLSX = XLSX; if (typeof module === "object") { 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 }); ;function __default(e) { return Stimulsoft.System.Activator.createInstance(e) } 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 e = function(t, r) { return (e = 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]) } )(t, r) }; return function(t, r) { function n() { this.constructor = t } e(t, r), t.prototype = null === r ? Object.create(r) : (n.prototype = r.prototype, new n) } }(), __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 || t-- > 0) && !(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; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() { this.list = [] } return e.prototype.toList = function() { return this.list.toList() } , e.prototype.toCast = function() { return this.list } , Object.defineProperty(e.prototype, "count", { get: function() { return this.list.length }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "length", { get: function() { return this.list.length }, enumerable: !0, configurable: !0 }), e.prototype.clear = function() { this.list = [] } , e.prototype.add = function(e) { this.list.push(e) } , e.prototype.addRange = function(e) { var t, r, n, i; if (e.stimulsoft.is(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 } } } , e.prototype.remove = function(e) { this.list.remove(e) } , e.prototype.removeAt = function(e) { this.list.removeAt(e) } , e.prototype.indexOf = function(e) { return this.list.indexOf(e) } , e.prototype.getByIndex = function(e) { return this.list[e] } , e.prototype.setByIndex = function(e, t) { this.list[e] = t } , e.prototype.insert = function(e, t) { this.list.insert(e, t) } , e.prototype.contains = function(e) { return this.list.contains(e) } , e }(); e.CollectionBase = t }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() { this.keys = new e.List, this.values = new e.List } return Object.defineProperty(t.prototype, "count", { get: function() { return this.keys.length }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "pairs", { get: function() { var e = this; return this.keys.map(function(t, r) { return { key: t, value: e.values[r] } }) }, enumerable: !0, configurable: !0 }), t.prototype.contains = function(e) { if (null == e) throw new Error("key is null."); if (this.keys.indexOf(e) >= 0) return !0; return !1 } , t.prototype.get = function(e) { if (null == e) throw new Error("key is null."); var t = this.keys.indexOf(e); if (t >= 0) return this.values[t]; return null } , t.prototype.set = function(e, t) { if (null == e) throw new Error("key is null."); var r = this.keys.indexOf(e); r >= 0 ? this.values[r] = t : (this.keys.push(e), this.values.push(t)) } , t.prototype.add = function(e, t) { if (null == e) throw new Error("key is null."); if (this.keys.indexOf(e) >= 0) throw new Error("An element with the same key already exists in the Hashtable."); this.keys.push(e), this.values.push(t) } , t.prototype.remove = function(e) { if (null == e) throw new Error("key is null."); var t = this.keys.indexOf(e); if (t < 0) throw new Error(""); this.keys.removeAt(t), this.values.removeAt(t) } , t.prototype.clear = function() { this.keys = new e.List, this.values = new e.List } , t.prototype.tryGetValue = function(e, t) { var r = this.keys.indexOf(e); return t.ref = r >= 0 ? this.values[r] : null, r >= 0 } , t }(); e.Dictionary = t }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.DictionaryEntry = t }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = function() { function t(e) { this.value = e } return t.prototype.is = function(t) { if (t == Array && "undefined" != typeof Buffer && this.value instanceof Buffer && (t = Buffer), "string" == typeof t) { if (this.value instanceof String) return !0; if (this.value.implements) return this.value.implements().contains(t) } if (!e.System.TypeHelper.getTypes().contains(t) && "function" == typeof this.value && "function" == typeof t) return this.value == t || null == this.value.__proto__ || "object" == typeof this.value.__proto__ || this.value.__proto__.stimulsoft.is(t); if ("string" == typeof this.value && t == String) return !0; if ("number" == typeof this.value && t == Number) return !0; if ("boolean" == typeof this.value && t == Boolean) return !0; if ("function" == typeof t) return this.value instanceof t; if (void 0 == t) throw new Error("Type for comparison is 'undefined'"); return !1 } , t.prototype.as = function(e) { if (this.value.stimulsoft.is(e)) return this.value; return null } , t.prototype.memberwiseClone = function(e) { var r, n; if (void 0 === e && (e = !1), !e && this.value.memberwiseClone) return this.value.memberwiseClone(); var i = t.getOwnPropertyNames(this.value) , a = new (this.value.stimulsoft.getType()); try { for (var o = __values(i), s = o.next(); !s.done; s = o.next()) { var u = s.value; a[u] = this.value[u] } } catch (e) { r = { error: e } } finally { try { s && !s.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } return a } , t.prototype.equals = function() { for (var e, r, n, i = [], a = 0; a < arguments.length; a++) i[a] = arguments[a]; if (this.value.equals) return (e = this.value).equals.apply(e, __spread(i)); var o = i[0]; if (this.value.stimulsoft.is(String) || this.value.stimulsoft.is(Number) || this.value.stimulsoft.is(Boolean) || this.value.stimulsoft.is(Function)) return this.value == o; var s = t.getOwnPropertyNames(this.value); try { for (var u = __values(s), l = u.next(); !l.done; l = u.next()) { var m = l.value; if (null != this.value[m] && !this.value[m].stimulsoft.equals(o[m])) return !1 } } catch (e) { r = { error: e } } finally { try { l && !l.done && (n = u.return) && n.call(u) } finally { if (r) throw r.error } } return !0 } , t.prototype.getHashCode = function() { for (var e, r, n, i = [], a = 0; a < arguments.length; a++) i[a] = arguments[a]; if (this.value.getHashCode) return (e = this.value).getHashCode.apply(e, __spread(i)); null == this.value.stiHashLink && (this.value.stiHashLink = Math.random()); var o = 0; if (null != this.value.btoa) return o; var s = t.getOwnPropertyNames(this.value); try { for (var u = __values(s), l = u.next(); !l.done; l = u.next()) { var m = l.value; null != this.value[m] && "function" != typeof this.value[m] && (null != this.value[m].stiHashLink ? o += this.value[m].stiHashLink : o += this.value[m].stimulsoft.getHashCode()) } } catch (e) { r = { error: e } } finally { try { l && !l.done && (n = u.return) && n.call(u) } finally { if (r) throw r.error } } return o } , t.prototype.compareTo = function(e) { if (this.value.compareTo) return this.value.compareTo(e); return -1 } , t.prototype.toBoolean = function() { if ("1" == this.value.toString()) return !0; return "true" == this.value.toString().toLowerCase() } , t.prototype.toNumber = function(e) { if (void 0 === e && (e = !0), !e) return parseInt(this.value); if (this.value.stimulsoft.is(String) && this.value.indexOf(",") >= 0) return parseFloat(this.value.stimulsoft.replaceAll(",", ".")); return parseFloat(this.value) } , t.prototype.getType = function() { if (this.value.getType) return this.value.getType(); if ("function" == typeof this.value) return this.value; return this.value.constructor } , t.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" } , t.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" } , t.referenceEquals = function(e, t) { return e == t } , t.addEvent = function(e, t, r) { e.addEventListener ? e.addEventListener(t, r, !1) : e.attachEvent && e.attachEvent("on" + t, r) } , t.equals = function(e, r) { if (t.referenceEquals(e, r)) return !0; if (null == e || null == r) return !1; return e.stimulsoft.equals(r) } , t.disableAllEnumerable = function(e, t) { for (var r in t) Object.defineProperty(e, r, { enumerable: !1 }) } , t.keys = function(e) { var t = []; for (var r in e) e.hasOwnProperty(r) && t.push(r); return t } , t.getOwnPropertyNames = function(e) { return this.keys(e) } , t.isNullOrUndefined = function(e) { return null == e || void 0 === e } , t }(); t.StiObject = r; var n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.getHashCode = function() { for (var e, t = [], r = 0; r < arguments.length; r++) t[r] = arguments[r]; var n = this.value.valueOf(); return n % 1 == 0 ? n : (e = n.toString().stimulsoft).getHashCode.apply(e, __spread(t)) } , t.prototype.as = function(e) { if (this.value.stimulsoft.is(e)) return this.value.stimulsoft.toNumber(); return null } , t.prototype.compareTo = function(e) { return this.value < e ? -1 : this.value > e ? 1 : 0 } , t.prototype.toShort = function() { if (this.value > 32767) return (this.value - 65536).stimulsoft.toShort(); if (this.value < -32768) return (this.value + 65536).stimulsoft.toShort(); return this.value.valueOf() } , t.prototype.toStringFormat = function(e) { return i.parseFormatString(e, [this.value]) } , t.prototype.getType = function() { return Number } , t.prototype.getTypeName = function() { return "Decimal" } , t.prototype.getNetTypeName = function() { return "System.Decimal" } , t.tryParse = function(e) { var t = e.stimulsoft.toNumber(); return { result: t, successfully: !isNaN(t) } } , t }(r); t.StiNumber = n; var i = function(t) { function r() { return null !== t && t.apply(this, arguments) || this } return __extends(r, t), r.prototype.as = function(e) { if (this.value.stimulsoft.is(e)) return this.value.toString(); return null } , r.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); return i + this.value.substr(r, n).split(e).join(t) + a } return this.value.split(e).join(t) } , r.prototype.contains = function(e) { return -1 != this.value.indexOf(e) } , r.prototype.compareTo = function(e) { return this.value.localeCompare(e) } , r.prototype.isBase64String = function() { return /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/.test(this.value) } , r.prototype.remove = function(e, t) { return void 0 === t && (t = Number.MAX_VALUE), this.value.substr(0, e) + this.value.substring(e + t) } , r.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) } , r.prototype.padLeft = function(e, t) { void 0 === t && (t = " "); var n = e - this.value.length; if (n > 0) { if (1 == n) return t + this.value; return r.repeat(t, n) + this.value } return this.value } , r.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 } , r.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 } , r.prototype.trimStart = function(e) { void 0 === e && (e = " "); var t = this.value; while (t.length > 0 && t.charAt(0) == e) t = t.substr(1); return t } , r.prototype.trimEnd = function(e) { void 0 === e && (e = " "); var t = this.value; while (t.length > 0 && t.charAt(t.length - 1) == e) t = t.substr(0, t.length - 1); return t } , r.prototype.getHashCode = function() { for (var t = [], r = 0; r < arguments.length; r++) t[r] = arguments[r]; return e.ExternalLibrary.XXH.h32(this.value.valueOf(), 43981).stimulsoft.toNumber() } , r.prototype.toBytesArray = function() { return Array.prototype.map.call(this.value, function(e) { return e.charCodeAt(0) }) } , r.prototype.toUnicodeString = function() { return unescape(encodeURIComponent(this.value)) } , r.prototype.fromUnicodeString = function() { try { return decodeURIComponent(escape(this.value)) } catch (e) { return decodeURIComponent(encodeURIComponent(this.value)) } } , r.prototype.indexOfAny = function(e) { return r.indexOfAny(this.value, e) } , r.prototype.regexIndexOf = function(e, t) { var r = this.value.substring(t || 0).search(e); return r >= 0 ? r + (t || 0) : r } , r.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 } , r.prototype.getType = function() { return String } , r.prototype.getTypeName = function() { return "String" } , r.prototype.getNetTypeName = function() { return "System.String" } , r.prototype.toString = function() { return this.value } , r.isNullOrEmpty = function(e) { return null == e || "" === e || void 0 === e } , r.isNullOrWhiteSpace = function(e) { return null == e || "" === e.trim() } , r.repeat = function(e, t) { if (0 == t) return ""; for (var r = e, n = 1; n < t; n++) r += e; return r } , r.fill = function(e, t) { return r.repeat(e, t) } , r.format = function(e) { for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n]; var i = "" , a = 0 , o = 0; while (a < e.length) if ("{" == e.charAt(a)) { while ("{" == e.charAt(a)) a++; a - 1 > o && (i += e.substring(o, a - 1)), o = a; while (a < e.length && "}" != e.charAt(a)) a++; a > o && (i += r.parseFormatString(e.substring(o, a), t)), a++, o = a } else a++; return a > o && (i += e.substring(o, a)), i } , r.format2 = function(t, r, n, i, a) { return (new e.System.Text.StringBuilder).appendFormatHelper(t, r, new e.System.ParamsArray(n,i,a)).toString() } , r.parseFormatString = function(t, n) { var i = 0; while (i < t.length && e.System.Char.isDigit(t.charAt(i))) i++; if (i > 0) { var a = parseInt(t.substring(0, i), 10) , o = "" , s = -1 , u = null; if (i + 1 < t.length && ":" == t.charAt(i)) { if (r.isNullOrEmpty(n[a])) return ""; if (n[a].stimulsoft.is(e.System.DateTime) || n[a].stimulsoft.is(e.System.TimeSpan)) return n[a].toString(t.substr(i + 1)); o = t.charAt(i + 1), u = t.substr(i + 1), i += 2; var l = i; while (i < t.length && e.System.Char.isDigit(t.charAt(i))) i++; i > l && (s = parseInt(t.substring(l, i), 10)) } if (0 == o.length) return n[a]; if (u.stimulsoft.startsWith("dd")) return null == n[a] ? "" : n[a]; switch (o) { case "F": case "f": var m = r.formatNumber(n[a], s, !1, !0); return null == m ? n[a] : m; case "N": case "n": var y = r.formatNumber(n[a], s, !0, !0); return null == y ? n[a] : y; case "P": case "p": var d = r.formatNumber(100 * n[a], s, !0, !0); return null == d ? n[a] : d + "%"; case "C": case "c": var f = r.formatNumber(n[a], s, !0, !1); return null == f ? n[a] : (n[a] < 0 ? "-$" : "$") + f; case "D": case "d": var h = Math.abs(n[a]).toString().stimulsoft.padLeft(s, "0"); return "NaN" == h ? n[a] : (n[a] < 0 ? "-" : "") + h; case "X": return n[a] < 0 && (n[a] = 4294967295 + n[a] + 1), n[a].toString(16).toUpperCase().stimulsoft.padLeft(s, "0"); case "x": return n[a] < 0 && (n[a] = 4294967295 + n[a] + 1), n[a].toString(16).toLowerCase().stimulsoft.padLeft(s, "0"); default: return r.customFormat(n[a], u) } } return "" } , r.formatNumber = function(t, r, n, i) { var a = e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator , o = e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberGroupSeparator , s = e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberGroupSizes[0]; -1 == r && (r = 2); var u = ""; if (!t.stimulsoft.is(Number)) return null; var l = Math.abs(t).toString().replace(".", ",").replace(",", a) , m = t < 0 , y = l.substring(0, l.indexOf(a)); if (0 == y.length && (y = l), s > 0 && n) { var d = y.length - s; while (d >= 0) u = (d > 0 ? o : "") + y.substr(d, s) + u, d -= s; d < 0 && (u = y.substring(0, d + s) + u) } else u = y; if (r > 0) { var f = l.substring(l.indexOf(a) + 1); f = f.substr(0, r), -1 == l.indexOf(a) && (f = ""); while (f.length < r) f += "0"; u += a + f } return i && m && (u = "-" + u), u } , r.customFormat = function(t, n) { if (null == n || 0 == n.length) return t.toString(); if ("number" == typeof t) return r.customFormatNumber(t, n); return (new e.System.SwitchSymbolFormatter).formatValue(n, t) } , r.customFormatNumber = function(t, n) { var i = ["p.", "$", "€", "¢", "£", "¤", "¥", "₣", "₤", "₧", "₪", "₫", "฿", "₠", "₡", "₢", "₥", "₦", "₨", "₩", "₫"] , a = e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator , o = " " , s = "" , u = "" , l = "" , m = "" , y = !1 , d = -1 , f = -1 , h = 0; for (i.forEach(function(e) { n.stimulsoft.startsWith(e) && (s = e), n.stimulsoft.endsWith(e) && (u = e) }), h = 0; h < n.length; h++) { var c = n.charAt(h); if ("." == c) { y = !0, f = h; continue } if ("0" == c || "#" == c) { y ? m += c : l += c; continue } y || (o = c, d = l.length) } if (0 == m.length && 0 == l.length) return n; var p = 0; -1 != d && (p = l.length - d); var M = m.length , b = m.lastIndexOf("0") + 1 , g = l.indexOf("0") , v = -1 == g ? 0 : l.length - g , S = "" , w = t < 0 , N = Math.abs(t) , I = Math.trunc(N) , j = Math.pow(10, M) , k = Math.round(Math.round2(N - I, M) * j); k >= j && (I++, k = 0); var _ = I.toString(); if (_.length < v && (_ = r.fill("0", v - _.length) + _), 0 != I || v > 0) if (p > 0) { h = _.length - p; while (h >= 0) S = (h > 0 ? o : "") + _.substr(h, p) + S, h -= p; h < 0 && (S = _.substring(0, h + p) + S) } else S = _; if (M > 0) { _ = k.toString(), g = _.length; while (g > b && "0" == _.charAt(g - 1)) g--; g != _.length && (_ = _.substr(0, g)); while (_.length < b) _ = "0" + _; S += a + _ } return w && (S = "-" + S), s + S + u } , r.indexOfAny = function(e, t) { if (r.isNullOrEmpty(e) || 0 == t.length) return -1; for (var n = 0; n < e.length; n++) for (var i = e.charAt(n), a = 0; a < t.length; a++) if (t[a] == i) return n; return -1 } , r.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 } , r.fromBytesArray = function(e) { for (var t = "", r = new Uint8Array(e), n = 0; n < r.byteLength; n++) t += String.fromCharCode(r[n]); return t } , r }(r); t.StiString = i; var a = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.as = function(e) { if (this.value.stimulsoft.is(e)) return this.value.stimulsoft.toBoolean(); return null } , t.prototype.getHashCode = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; return 1 == this.value ? 1 : 2 } , t.prototype.getType = function() { return Boolean } , t.prototype.getTypeName = function() { return "Boolean" } , t.prototype.getNetTypeName = function() { return "System.Boolean" } , t }(r); t.StiBoolean = a; var o = function(t) { function n() { return null !== t && t.apply(this, arguments) || this } return __extends(n, t), n.prototype.getHashCode = function() { var e, t, 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 (t) { e = { error: t } } finally { try { i && !i.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r } , n.prototype.getType = function() { return Boolean } , n.prototype.getTypeName = function() { return "Array" } , n.prototype.getNetTypeName = function() { var e, t, r = "Byte"; try { for (var n = __values(this.value), i = n.next(); !i.done; i = n.next()) { var a = i.value; if (null != a) { a.stimulsoft.is(String) && (r = "String"); break } } } catch (t) { e = { error: t } } finally { try { i && !i.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r + "[]" } , Object.defineProperty(n.prototype, "countItems", { get: function() { return r.keys(this.value).length }, enumerable: !0, configurable: !0 }), n.prototype.toList = function() { return new e.System.Collections.List(this.value) } , n.create = function(e) { for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; var i = !1; if ("boolean" == typeof t[t.length - 1] && (i = !!t.pop()), 0 == t.length) { if (e == Number) return 0; if (e == Boolean) return !1; return i ? new e : null } for (var a = [], o = t.shift(), s = 0; s < o; s++) { var u = n.create.apply(this, [e].concat(t, [i])); a.push(u) } return a } , n.numberSortFunction = function() { return function(e, t) { if (e > t) return 1; if (e < t) return -1; return 0 } } , n.copy = function(e, t, r, n) { for (var i = t; i < t + n; i++) r[i] = e[i] } , n.copy2 = function(e, t, r, n, i) { for (var a = 0; a < i; a++) r[n + a] = e[t + a] } , n.reverse = function(e) { return e.reverse() } , n.sti_sort = function(e) { return e.sort() } , n.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 } , n }(r); t.StiArray = o }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})), Object.defineProperty(Number.prototype, "stimulsoft", { get: function() { return new Stimulsoft.System.StiNumber(this.valueOf()) }, set: function() {}, enumerable: !1 }), Object.defineProperty(String.prototype, "stimulsoft", { get: function() { return new Stimulsoft.System.StiString(this.valueOf()) }, set: function() {}, enumerable: !1 }), Object.defineProperty(Boolean.prototype, "stimulsoft", { get: function() { return new Stimulsoft.System.StiBoolean(this.valueOf()) }, set: function() {}, enumerable: !1 }), Object.defineProperty(Array.prototype, "stimulsoft", { get: function() { return new Stimulsoft.System.StiArray(this.valueOf()) }, set: function() {}, enumerable: !1 }); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.initialize = function(r) { void 0 === r && (r = null), 0 == t.isInitialize && (t._isNodeJs = !0, Stimulsoft.System.IO.File.getFile = t.getFile, Stimulsoft.System.IO.File.saveFile = t.saveFile, Stimulsoft.System.IO.File.getFilesNames = t.getFilesNames, Stimulsoft.System.IO.Path.getSep = t.getSep, Stimulsoft.StiVersion.platform = t.platform, Stimulsoft.Report.Dictionary.StiSqlAdapterService.prototype.callRemoteApi = t.callRemoteApi, t.useWebKit || (Stimulsoft.System.IO.Http.getFile = t.getFileHttp, Stimulsoft.System.Convert.fromBase64String = t.fromBase64String, Stimulsoft.System.Convert.fromBase64StringText = t.fromBase64StringText, Stimulsoft.System.Convert.toBase64String = t.toBase64String, e.StiString.prototype.fromUnicodeString = t.fromUnicodeString, Stimulsoft.Base.StiSettings.get = t.getSetting, Stimulsoft.Base.StiSettings.set = t.setSetting, Object.saveAs = t.saveAs, Stimulsoft.System.Xml.XmlConverter.toXml = Stimulsoft.System.Xml.XmlConverter.toXml2, Stimulsoft.System.Drawing.Image.prototype.convert = t.convert), t.getLocalizationInfo(function(e) { var t, n; try { for (var i = __values(e), a = i.next(); !a.done; a = i.next()) { var o = a.value; o.ext ? Stimulsoft.Report.Check.StiLocalizationExt.addLocalizationFile(o.filePath, !1, o.language) : Stimulsoft.Base.Localization.StiLocalization.addLocalizationFile(o.filePath, !1, o.language) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (n = i.return) && n.call(i) } finally { if (t) throw t.error } } null != r && r() }), delete Buffer.prototype.stimulsoft, Object.defineProperty(Buffer.prototype, "stimulsoft", { get: function() { return new Stimulsoft.System.StiObject(this.valueOf()) }, configurable: !0, enumerable: !1 })), t.isInitialize = !0 } , t.platform = function() { return require("os").platform() } , t.callRemoteApi = function(r, n) { var i = new e.StiPromise; if (e.StiString.isNullOrEmpty(Stimulsoft.StiOptions.WebServer.url)) { var a = function(e) { e && e.success && i.callTry(e), e && !e.success && i.callCatch(e.notice), e || i.callCatch({ success: !1, notice: "" }) }; "MySQL" == r.database && t.processMySql(r, a), "Firebird" == r.database && t.processFirebird(r, a), "MS SQL" == r.database && t.processMsSql(r, a), "PostgreSQL" == r.database && t.processPostgreSQL(r, a) } else try { r.rnd = Math.random(); var o = require("sync-request") , s = { headers: {}, timeout: n, json: r }; s.headers["Content-Type"] = "application/json"; var u = o("POST", Stimulsoft.StiOptions.WebServer.url, s); if (200 == u.statusCode) { var l = Stimulsoft.System.Text.Encoding.UTF8.getString(t.stripBom(u.getBody())); i.callTry(l) } else i.callCatch(Stimulsoft.Base.Localization.StiLocalization.get("DesignerFx", "ConnectionError")) } catch (e) { Stimulsoft.System.StiError.showError(e, !1), i.callCatch(e.message) } return i } , t.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 } , t.getFile = function(e, r, n, i) { if (void 0 === r && (r = !1), void 0 === n && (n = ""), void 0 === i && (i = null), e.match(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/gi)) return Stimulsoft.System.IO.Http.getFile(e, r, n, i); var a; try { var o = require("fs"); a = t.stripBom(o.readFileSync(e.trim())), 0 == r && "object" == typeof a && (a = Stimulsoft.System.Text.Encoding.UTF8.getString(a)) } catch (e) {} return a } , t.getFileHttp = function(r, n, i, a) { var o, s; void 0 === n && (n = !1), void 0 === i && (i = ""), void 0 === a && (a = null); try { var u = require("sync-request") , l = { headers: {} }; if (e.StiString.isNullOrEmpty(i) || (l.headers["Content-Type"] = i), a) try { for (var m = __values(a), y = m.next(); !y.done; y = m.next()) { var d = y.value; l.headers[d.key] = d.value } } catch (e) { o = { error: e } } finally { try { y && !y.done && (s = m.return) && s.call(m) } finally { if (o) throw o.error } } var f = u("GET", r, l); if (200 == f.statusCode) { if (n) return f.body; return Stimulsoft.System.Text.Encoding.UTF8.getString(t.stripBom(f.getBody())) } throw 404 == f.statusCode ? new Error("File not Found") : new Error("Status " + f.statusCode) } catch (e) {} } , t.saveAs = function(e, t, r) { require("fs").writeFileSync(t, e) } , t.saveFile = function(e, t) { require("fs").writeFile(e, t, function(e) { e && Stimulsoft.System.StiError.showError(e) }) } , t.getFilesNames = function(e) { return require("fs").readdirSync(e) } , t.getSep = function() { return require("path").sep } , t.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 } , t.fromBase64StringText = function(e) { return Buffer.from(e.toString(), "base64").toString("binary") } , t.toBase64String = function(e) { if (null == e) return null; return e.stimulsoft.is(String) && (e = e.stimulsoft.toUnicodeString()), Buffer.from(e).toString("base64") } , t.fromUnicodeString = function() { return Buffer.from(this.toString(), "binary").toString("utf8") } , t.isNodeJs = function() { return 0 == this.isInitialize && (this._isNodeJs = void 0 === window), this._isNodeJs } , t.fillInfo = function(e, t) { var r = require("fs") , n = r.createReadStream(e.filePath); n.setEncoding("utf8"), n.on("readable", function() { var r; while (null !== (r = n.read(200))) { var i = r.indexOf("language"); i = r.indexOf('"', i) + 1; var a = r.indexOf('"', i) , o = r.substring(i, a) , s = r.indexOf("description"); s = r.indexOf('"', s) + 1; var u = r.indexOf('"', s) , l = r.substring(s, u) , m = r.indexOf("cultureName"); m = r.indexOf('"', m) + 1; var y = r.indexOf('"', m) , d = r.substring(m, y); e.language = o, e.description = l, e.cultureName = d, t(); break } }), n.on("end", function() {}) } , t.getLocalizationInfo = function(e) { var r = require("fs") , n = [] , i = require("path") , a = t.localizationPath; r.exists(a, function(o) { if (o) { var s = r.readdirSync(a) , u = s.length; 0 == u && e(n); for (var l in s) { var m = 0; if (".xml" != i.extname(s[l])) { u--, m == u && e(n); continue } var y = a + "/" + s[l] , d = i.basename(y, ".xml") , f = !1; d.indexOf(".ext") == d.length - 4 && (f = !0); var h = { filePath: y, ext: f }; n.push(h), t.fillInfo(h, function() { ++m == u && e(n) }) } } else e(n) }) } , t.getSetting = function(e, t) { return t } , t.setSetting = function(e, t) {} , t.isInitialize = !1, t.convert = function(t, r) { void 0 === r && (r = !1); var n = new e.StiPromise; try { var i = this.data[t.toString()]; if (null != i) return n.callTry(this), n; if (null == i && (i = this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Png.toString()]), null == i && (i = this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Bmp.toString()]), null == i && (i = this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Jpeg.toString()]), null == i && (i = this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Gif.toString()]), null != i) { this._isConverting = !0; var a = require("jimp") , o = Buffer.from(i.base64.replace(/^data:image\/\w+;base64,/, ""), "base64") , s = this; a.read(o, function(e, i) { if (e) return void n.callCatch(e); i.background(4294967295), r ? i.getBuffer(t.mimeType, function(e, r) { if (e) return void n.callCatch(e); s.imageData = r, i.getBase64(t.mimeType, function(e, t) { if (e) return void n.callCatch(e); s.base64 = t, s._isConverting = !1, n.callTry(s) }) }) : i.getBase64(t.mimeType, function(e, t) { if (e) return void n.callCatch(e); s.base64 = t, s._isConverting = !1, n.callTry(s) }) }) } else n.callCatch("No Image") } catch (e) { return n.callCatch(e.message), n } return n } , t.processFirebird = function(e, t) { var r = function(e) { try { y && y.detach(), t(e) } catch (e) { throw Stimulsoft.System.StiError.showError(e, !1), e } } , n = function(e) { r({ success: !1, notice: e }) }; try { var i = function() { l.attach(m, function(e, t) { y = t, e ? n(e.message) : o() }) } , a = function(e) { y.query(e, void 0, function(e, t) { e ? n(e.message) : s(t), y.detach() }) } , o = function() { e.queryString ? a(e.queryString) : r({ success: !0 }) } , s = function(e) { var t = [] , n = [] , i = [] , a = !1; for (var o in e) { var s = []; for (var u in e[o]) { a || t.push(u); var l = t.indexOf(u); i[l] = typeof e[o][u], e[o][u]instanceof Uint8Array && (e[o][u] = e[o][u].toString(), i[l] = "string"), null != e[o][u] && "function" == typeof e[o][u].toISOString && (e[o][u] = e[o][u].toISOString(), i[l] = "datetime"), s[l] = e[o][u] } a = !0, n.push(s) } r({ success: !0, columns: t, rows: n, types: i }) } , u = function(e) { var t = { host: "localhost", port: "3050" } , r = !1; for (var i in e.split(";")) { var a = e.split(";")[i]; if (a) { var o = a.split("="); if (o && o.length >= 2) switch (o[0] = o[0].trim().toLowerCase(), o[1] = o[1].trim(), o[0]) { case "server": case "host": case "location": case "datasource": case "data source": t.host = o[1]; break; case "port": t.port = o[1]; break; case "database": t.database = o[1], r = !0; break; case "uid": case "user": case "user id": t.userId = o[1]; break; case "pwd": case "password": t.password = o[1]; break; case "charset": t.charset = o[1]; break } } } if (!r) return n("Connection String parse error"), null; return t } , l = require("node-firebird"); if (e.connectionStringInfo = u(e.connectionString), e.connectionStringInfo) { var 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 }; i(); var y } } catch (e) { Stimulsoft.System.StiError.showError(e, !1), n(e.stack) } } , t.processMsSql = function(e, t) { var r = function(e) { try { d && d.close(), t(e) } catch (e) { throw Stimulsoft.System.StiError.showError(e, !1), e } } , n = function(e) { r({ success: !1, notice: e }) }; try { var i = function() { d = new m.ConnectionPool(y,function(e) { e ? n(e.message) : o() } ) }, a = function(e) { d.request().query(e, function(e, t) { e ? n(e.message) : s(t) }) }, o = function() { e.queryString ? a(e.queryString) : r({ success: !0 }) }, s = function(e) { e = e.recordset; var t = [] , n = [] , i = [] , a = !1; e.length > 0 && Array.isArray(e[0]) && (e = e[0]); for (var o in e) { var s = []; for (var u in e[o]) { a || t.push(u); var l = t.indexOf(u); "array" != i[l] && (i[l] = typeof e[o][u]), e[o][u]instanceof Uint8Array && (i[l] = "array", e[o][u] = Buffer.from(e[o][u]).toString("base64")), null != e[o][u] && "function" == typeof e[o][u].toISOString && (e[o][u] = e[o][u].toISOString(), i[l] = "datetime"), s[l] = e[o][u] } a = !0, n.push(s) } r({ success: !0, columns: t, rows: n, types: i }) }, u = function(e) { var t = /.*:(.*)/ , r = /(.*),([0-9]+)/ , n = t.exec(e); if (n) { var i = r.exec(n[1]); if (i) return { host: i[1].trim(), port: i[2].trim() }; return { host: n[1].trim() } } var a = r.exec(e); if (a) return { host: a[1].trim(), port: a[2].trim() }; return { host: e } }, l = function(e) { var t = { options: {} }; for (var r in e.split(";")) { var n = e.split(";")[r]; if (n) { var i = n.split("="); if (i && i.length >= 2) switch (i[0] = i[0].trim().toLowerCase(), i[1] = i[1].trim(), i[0]) { case "data source": case "server": var a = u(i[1]); t.server = a.host, "port"in a && (t.port = +a.port); 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 "encrypt": t.options.encrypt = i[1]; break } } } return t }, m = require("mssql"), y = l(e.connectionString), d; i() } catch (e) { Stimulsoft.System.StiError.showError(e, !1), n(e.stack) } } , t.processMySql = function(e, t) { var r = function(e) { try { m && m.end(), t(e) } catch (e) { throw Stimulsoft.System.StiError.showError(e, !1), e } } , n = function(e) { r({ success: !1, notice: e }) }; try { var i = function() { m.connect(function(e) { e ? n(e.message) : o() }) } , a = function(t) { m.query("USE " + e.connectionStringInfo.database), m.query(t, function(e, t, r) { e ? n(e.message) : s(t, r) }) } , o = function() { e.queryString ? a(e.queryString) : r({ success: !0 }) } , s = function(e, t) { var n = [], i = [], a = [], o; for (o in t) { var s = t[o]; switch (n.push(s.name), s.type) { case 1: a[o] = "boolean"; break; case 2: case 3: case 5: case 8: case 9: case 16: a[o] = "int"; break; case 0: case 246: case 4: a[o] = "number"; break; case 15: case 253: case 254: a[o] = "string"; break; case 10: case 11: case 19: case 12: case 18: case 13: case 14: a[o] = "datetime"; break; case 7: case 17: case 245: case 6: case 247: case 248: case 255: a[o] = "string"; break } } e.length > 0 && Array.isArray(e[0]) && (e = e[0]); for (var u in e) { var l = []; for (var m in e[u]) { var y = n.indexOf(m); "array" != a[y] && (a[y] = typeof e[u][m]), e[u][m]instanceof Uint8Array && (a[y] = "array", e[u][m] = Buffer.from(e[u][m]).toString("base64")), null != e[u][m] && "function" == typeof e[u][m].toISOString && (e[u][m] = e[u][m].toISOString(), a[y] = "datetime"), l[y] = e[u][m] } i.push(l) } r({ success: !0, columns: n, rows: i, types: a }) } , u = function(e) { var t = { host: "localhost", port: "3306", charset: "utf8" }; for (var r in e.split(";")) { var n = e.split(";")[r]; if (n) { var i = n.split("="); if (i && i.length >= 2) switch (i[0] = i[0].trim().toLowerCase(), i[1] = i[1].trim(), i[0]) { case "server": case "host": case "location": t.host = i[1]; break; case "port": t.port = i[1]; break; case "database": case "data source": t.database = i[1]; break; case "uid": case "user": case "username": case "userid": case "user id": t.userId = i[1]; break; case "pwd": case "password": t.password = i[1]; break; case "charset": t.charset = i[1]; break } } } return t } , l = require("mysql"); e.connectionStringInfo = u(e.connectionString); var m = l.createConnection({ host: e.connectionStringInfo.host, user: e.connectionStringInfo.userId, password: e.connectionStringInfo.password, port: e.connectionStringInfo.port, charset: e.connectionStringInfo.charset, database: e.connectionStringInfo.database }); i() } catch (e) { Stimulsoft.System.StiError.showError(e, !1), n(e.stack) } } , t.processPostgreSQL = function(e, t) { var r = function(e) { try { m && m.end(), t(e) } catch (e) {} } , n = function(e) { r({ success: !1, notice: e }) }; try { var i = function() { m.connect(function(e) { e ? n(e) : o() }) } , a = function(e) { m.query(e, function(e, t) { e ? n(e) : s(t) }) } , o = function() { e.queryString ? a(e.queryString) : r({ success: !0 }) } , s = function(e) { var t = [] , n = [] , i = [] , a = !1; e.rows.length > 0 && Array.isArray(e.rows[0]) && (e.rows = e.rows[0]); for (var o in e.rows) { var s = []; for (var u in e.rows[o]) { a || t.push(u); var l = t.indexOf(u); "array" != i[l] && (i[l] = typeof e.rows[o][u]), e.rows[o][u]instanceof Uint8Array && (i[l] = "array", e.rows[o][u] = Buffer.from(e.rows[o][u]).toString("base64")), null != e.rows[o][u] && "function" == typeof e.rows[o][u].toISOString && (e.rows[o][u] = e.rows[o][u].toISOString(), i[l] = "datetime"), s.push(e.rows[o][u]) } a = !0, n.push(s) } r({ success: !0, columns: t, rows: n, types: i }) } , u = function(e) { var t = { port: 5432 }; for (var r in e.split(";")) { var n = e.split(";")[r]; if (n) { var i = n.split("="); if (i && i.length >= 2) switch (i[0] = i[0].trim().toLowerCase(), i[1] = i[1].trim(), i[0]) { case "data source": case "server": case "host": t.host = i[1]; break; case "port": t.port = i[1]; break; case "database": case "location": t.database = i[1]; break; case "uid": case "user": case "user id": t.userId = i[1]; break; case "pwd": case "password": t.password = i[1]; break } } } return t } , l = require("pg"); e.connectionStringInfo = u(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 l.Client(e.postgreConnectionString); i() } catch (e) { n(e.stack) } } , t._isNodeJs = !1, t.isStandaloneVersion = !1, t.useWebKit = !0, t.consoleLog = !0, t.localizationPath = "locales", t }(); e.NodeJs = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.prototype.toTitleCase = function(e) { if (null == e) return e; var t = e.split(" "); for (var r in t) { if (0 == r.length) continue; r.stimulsoft.insert(0, r[0].toUpperCase(), 1) } return t.join(" ") } , e }(); e.TextInfo = t }(t = e.Globalization || (e.Globalization = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e(e, t, r, n, i, a, o, s, u, l, m, y, d, f, h, c, 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 = f, this.percentGroupSeparator = h, this.percentGroupSizes = c, 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 } return e.prototype.getFormat = function(t) { return t instanceof e ? this : null } , e }(); e.NumberFormatInfo = t }(t = e.Globalization || (e.Globalization = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e(e, t, r, n, i, a, o, s, u, l, m, y, d, f, h) { 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 = f, this.yearMonthPattern = h } return e }(); e.DateTimeFormatInfo = t }(t = e.Globalization || (e.Globalization = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = function() { function r(e, n, i) { if (void 0 === n && (n = null), void 0 === i && (i = null), this.textInfo = new t.TextInfo, this.name = e, null != n) this.numberFormat = n, this.dateTimeFormat = i; else { var a = r.cultures[e]; null == a && (a = r.currentCulture), this.numberFormat = a.numberFormat, this.dateTimeFormat = a.dateTimeFormat } } return Object.defineProperty(r, "currentCulture", { get: function() { if (!this._currentCulture) { var t = "en"; e.System.NodeJs.useWebKit && (t = navigator.language || navigator.userLanguage), this.cultures[t] ? this._currentCulture = this.cultures[t] : t && t.indexOf("-") > 0 && this.cultures[t.substring(0, t.indexOf("-")).toLowerCase()] ? this._currentCulture = this.cultures[t.substring(0, t.indexOf("-")).toLowerCase()] : this._currentCulture = this.cultures.en } return this._currentCulture }, set: function(e) { this._currentCulture = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r, "cultures", { get: function() { if (null == this._cultures) { this._cultures = {}, this._cultures.ar = new r("ar",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.س.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("bg",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"лв.",2,","," ",[3],0,0,"%","‰","+ безкрайност","+","NaN","- безкрайност","-"),new t.DateTimeFormatInfo("d.M.yyyy [г.]",".","dd MMMM yyyy [г.]",["неделя", "понеделник", "вторник", "сряда", "четвъртък", "петък", "събота"],["януари", "февруари", "март", "април", "май", "юни", "юли", "август", "септември", "октомври", "ноември", "декември", ""],["н", "п", "в", "с", "ч", "п", "с"],["ян", "февр", "март", "апр", "май", "юни", "юли", "авг", "септ", "окт", "ноември", "дек", ""],["януари", "февруари", "март", "април", "май", "юни", "юли", "август", "септември", "октомври", "ноември", "декември", ""],":","","","dd MMMM yyyy [г.] HH:mm:ss 'ч.'","HH:mm 'ч.'","HH:mm:ss 'ч.'","MMMM yyyy [г.]")), this._cultures.ca = new r("ca",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinit","+","NeuN","-Infinit","-"),new t.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 r("zh-Hans",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],["日", "一", "二", "三", "四", "五", "六"],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")), this._cultures.cs = new r("cs",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Kč",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Není číslo","-nekonečno","-"),new t.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 r("da",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("de",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.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 r("el",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","Άπειρο","+","μη αριθμός","-Άπειρο","-"),new t.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 r("en",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("fi",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("fr",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("he",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"₪",2,".",",",[3],1,1,"%","‰","אינסוף חיובי","+","לא מספר","אינסוף שלילי","-"),new t.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 r("hu",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Ft",2,","," ",[3],0,0,"%","‰","végtelen","+","nem szám","negatív végtelen","-"),new t.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 r("is",new t.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],8,3,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("it",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"€",2,",",".",[3],1,1,"%","‰","+Infinito","+","Non un numero reale","-Infinito","-"),new t.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 r("ja",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"¥",2,".",",",[3],1,1,"%","‰","+∞","+","NaN (非数値)","-∞","-"),new t.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 r("ko",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"₩",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("nl",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("no",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("pl",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"zł",2,","," ",[3],1,1,"%","‰","+nieskończoność","+","nie jest liczbą","-nieskończoność","-"),new t.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 r("pt",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"R$",2,",",".",[3],1,1,"%","‰","+Infinito","+","NaN (Não é um número)","-Infinito","-"),new t.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 r("rm",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],1,1,"%","‰","+infinit","+","betg def.","-infinit","-"),new t.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 r("ro",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"lei",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ru",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy [г.]",["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"],["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""],["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек", ""],["января", "февраля", "марта", "апреля", "мая", "июня", "июля", "августа", "сентября", "октября", "ноября", "декабря", ""],":","","","d MMMM yyyy [г.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")), this._cultures.hr = new r("hr",new t.NumberFormatInfo(",",2,".",[3],2,2,",",".",[3],8,3,"kn",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("sk",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Nie je číslo","-nekonečno","-"),new t.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 r("sq",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],5,1,"Lek",2,",",".",[3],0,0,"%","‰","infinit","+","NaN","-infinit","-"),new t.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 r("sv",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("th",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"฿",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("tr",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₺",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ur",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,0,"Rs",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("id",new t.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],0,0,"Rp",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("uk",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₴",2,","," ",[3],1,1,"%","‰","безмежність","+","NaN","-безмежність","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy[ р.]",["неділя", "понеділок", "вівторок", "середа", "четвер", "п'ятниця", "субота"],["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень", ""],["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру", ""],["січня", "лютого", "березня", "квітня", "травня", "червня", "липня", "серпня", "вересня", "жовтня", "листопада", "грудня", ""],":","","","d MMMM yyyy[ р.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[ р.]")), this._cultures.be = new r("be",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"р.",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["нядзеля", "панядзелак", "аўторак", "серада", "чацвер", "пятніца", "субота"],["Студзень", "Люты", "Сакавік", "Красавік", "Май", "Чэрвень", "Ліпень", "Жнівень", "Верасень", "Кастрычнік", "Лістапад", "Снежань", ""],["нд", "пн", "аў", "ср", "чц", "пт", "сб"],["Сту", "Лют", "Сак", "Кра", "Май", "Чэр", "Ліп", "Жні", "Вер", "Кас", "Ліс", "Сне", ""],["студзеня", "лютага", "сакавіка", "красавіка", "мая", "чэрвеня", "ліпеня", "жніўня", "верасня", "кастрычніка", "лістапада", "снежня", ""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")), this._cultures.sl = new r("sl",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","neskončnost","+","NaN","-neskončnost","-"),new t.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 r("et",new t.NumberFormatInfo(",",2," ",[3],1,2,"."," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","plusslõpmatus","+","avaldamatu","miinuslõpmatus","-"),new t.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 r("lv",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],9,2,"€",2,","," ",[3],1,1,"%","‰","bezgalība","+","NaN","-bezgalība","-"),new t.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 r("lt",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","begalybė","+","NaN","-begalybė","-"),new t.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 r("tg",new t.NumberFormatInfo(",",2," ",[3, 0],1,2,";"," ",[3, 0],8,3,"т.р.",2,","," ",[3, 0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy",["Яш", "Душанбе", "Сешанбе", "Чоршанбе", "Панҷшанбе", "Ҷумъа", "Шанбе"],["Январ", "Феврал", "Март", "Апрел", "Май", "Июн", "Июл", "Август", "Сентябр", "Октябр", "Ноябр", "Декабр", ""],["Яш", "Дш", "Сш", "Чш", "Пш", "Ҷм", "Шн"],["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек", ""],["январи", "феврали", "марти", "апрели", "маи", "июни", "июли", "августи", "сентябри", "октябри", "ноябри", "декабри", ""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")), this._cultures.fa = new r("fa",new t.NumberFormatInfo(".",2,",",[3],3,2,"/",",",[3],3,2,"ريال",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("vi",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₫",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("hy",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],8,3,"դր.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM, yyyy",["Կիրակի", "Երկուշաբթի", "Երեքշաբթի", "Չորեքշաբթի", "Հինգշաբթի", "ՈՒրբաթ", "Շաբաթ"],["Հունվար", "Փետրվար", "Մարտ", "Ապրիլ", "Մայիս", "Հունիս", "Հուլիս", "Օգոստոս", "Սեպտեմբեր", "Հոկտեմբեր", "Նոյեմբեր", "Դեկտեմբեր", ""],["Կ", "Ե", "Ե", "Չ", "Հ", "Ո", "Շ"],["ՀՆՎ", "ՓՏՎ", "ՄՐՏ", "ԱՊՐ", "ՄՅՍ", "ՀՆՍ", "ՀԼՍ", "ՕԳՍ", "ՍԵՊ", "ՀՈԿ", "ՆՈՅ", "ԴԵԿ", ""],["Հունվար", "Փետրվար", "Մարտ", "Ապրիլ", "Մայիս", "Հունիս", "Հուլիս", "Օգոստոս", "Սեպտեմբեր", "Հոկտեմբեր", "Նոյեմբեր", "Դեկտեմբեր", ""],":","","","d MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")), this._cultures.az = new r("az",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("eu",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinitu","+","EdZ","-Infinitu","-"),new t.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 r("hsb",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekónčne","+","njedefinowane","-njekónčne","-"),new t.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 r("mk",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"ден.",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("tn",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("xh",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("zu",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("af",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ka",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₾",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("fo",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("hi",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["रविवार", "सोमवार", "मंगलवार", "बुधवार", "गुरुवार", "शुक्रवार", "शनिवार"],["जनवरी", "फरवरी", "मार्च", "अप्रैल", "मई", "जून", "जुलाई", "अगस्त", "सितम्बर", "अक्तूबर", "नवम्बर", "दिसम्बर", ""],["र", "स", "म", "ब", "ग", "श", "श"],["जनवरी", "फरवरी", "मार्च", "अप्रैल", "मई", "जून", "जुलाई", "अगस्त", "सितम्बर", "अक्तूबर", "नवम्बर", "दिसम्बर", ""],["जनवरी", "फरवरी", "मार्च", "अप्रैल", "मई", "जून", "जुलाई", "अगस्त", "सितम्बर", "अक्तूबर", "नवम्बर", "दिसम्बर", ""],":","पूर्वाह्न","अपराह्न","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")), this._cultures.mt = new r("mt",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("se",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ga",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ms",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],0,0,"RM",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("kk",new t.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],1,0,"Т",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy [ж.]",["Жексенбі", "Дүйсенбі", "Сейсенбі", "Сәрсенбі", "Бейсенбі", "Жұма", "Сенбі"],["қаңтар", "ақпан", "наурыз", "сәуір", "мамыр", "маусым", "шілде", "тамыз", "қыркүйек", "қазан", "қараша", "желтоқсан", ""],["Жк", "Дс", "Сс", "Ср", "Бс", "Жм", "Сн"],["Қаң", "Ақп", "Нау", "Сәу", "Мам", "Мау", "Шіл", "Там", "Қыр", "Қаз", "Қар", "Жел", ""],["қаңтар", "ақпан", "наурыз", "сәуір", "мамыр", "маусым", "шілде", "тамыз", "қыркүйек", "қазан", "қараша", "желтоқсан", ""],":","","","d MMMM yyyy [ж.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")), this._cultures.ky = new r("ky",new t.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],8,3,"сом",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d[-]MMMM yyyy[-ж.]",["Жекшемби", "Дүйшөмбү", "Шейшемби", "Шаршемби", "Бейшемби", "Жума", "Ишемби"],["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""],["Жш", "Дш", "Шш", "Шр", "Бш", "Жм", "Иш"],["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек", ""],["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""],":","","","d[-]MMMM yyyy[-ж.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[-ж.]")), this._cultures.sw = new r("sw",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"S",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("tk",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"m.",2,","," ",[3],1,1,"%","‰","üznüksizlik","+","NaN","-üznüksizlik","-"),new t.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 r("uz",new t.NumberFormatInfo(",",2," ",[3],1,0,","," ",[3],8,3,"so'm",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("tt",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Якшәмбе", "Дүшәмбе", "Сишәмбе", "Чәршәмбе", "Пәнҗешәмбе", "Җомга", "Шимбә"],["Гыйнвар", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""],["Я", "Д", "С", "Ч", "П", "Җ", "Ш"],["Гыйн.", "Фев.", "Мар.", "Апр.", "Май", "Июнь", "Июль", "Авг.", "Сен.", "Окт.", "Нояб.", "Дек.", ""],["Гыйнварның", "Февральнең", "Мартның", "Апрельнең", "Майның", "Июньнең", "Июльнең", "Августның", "Сентябрьның", "Октябрьның", "Ноябрьның", "Декабрьның", ""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")), this._cultures.bn = new r("bn",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["রবিবার", "সোমবার", "মঙ্গলবার", "বুধবার", "বৃহস্পতিবার", "শুক্রবার", "শনিবার"],["জানুয়ারী", "ফেব্রুয়ারী", "মার্চ", "এপ্রিল", "মে", "জুন", "জুলাই", "আগস্ট", "সেপ্টেম্বর", "অক্টোবর", "নভেম্বর", "ডিসেম্বর", ""],["র", "স", "ম", "ব", "ব", "শ", "শ"],["জানু.", "ফেব্রু.", "মার্চ", "এপ্রিল", "মে", "জুন", "জুলাই", "আগ.", "সেপ্টে.", "অক্টো.", "নভে.", "ডিসে.", ""],["জানুয়ারী", "ফেব্রুয়ারী", "মার্চ", "এপ্রিল", "মে", "জুন", "জুলাই", "আগস্ট", "সেপ্টেম্বর", "অক্টোবর", "নভেম্বর", "ডিসেম্বর", ""],".","পুর্বাহ্ন","অপরাহ্ন","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")), this._cultures.pa = new r("pa",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("gu",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["રવિવાર", "સોમવાર", "મંગળવાર", "બુધવાર", "ગુરુવાર", "શુક્રવાર", "શનિવાર"],["જાન્યુઆરી", "ફેબ્રુઆરી", "માર્ચ", "એપ્રિલ", "મે", "જૂન", "જુલાઈ", "ઑગસ્ટ", "સપ્ટેમ્બર", "ઑક્ટ્બર", "નવેમ્બર", "ડિસેમ્બર", ""],["ર", "સ", "મ", "બ", "ગ", "શ", "શ"],["જાન્યુ", "ફેબ્રુ", "માર્ચ", "એપ્રિલ", "મે", "જૂન", "જુલાઈ", "ઑગસ્ટ", "સપ્ટે", "ઑક્ટો", "નવે", "ડિસે", ""],["જાન્યુઆરી", "ફેબ્રુઆરી", "માર્ચ", "એપ્રિલ", "મે", "જૂન", "જુલાઈ", "ઑગસ્ટ", "સપ્ટેમ્બર", "ઑક્ટ્બર", "નવેમ્બર", "ડિસેમ્બર", ""],":","પૂર્વ મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")), this._cultures.or = new r("or",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ta",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["ஞாயிற்றுக்கிழமை", "திங்கள்கிழமை", "செவ்வாய்கிழமை", "புதன்கிழமை", "வியாழக்கிழமை", "வெள்ளிக்கிழமை", "சனிக்கிழமை"],["ஜனவரி", "பிப்ரவரி", "மார்ச்", "ஏப்ரல்", "மே", "ஜூன்", "ஜூலை", "ஆகஸ்ட்", "செப்டம்பர்", "அக்டோபர்", "நவம்பர்", "டிசம்பர்", ""],["ஞா", "தி", "செ", "பு", "வி", "வெ", "ச"],["ஜனவரி", "பிப்ரவரி", "மார்ச்", "ஏப்ரல்", "மே", "ஜூன்", "ஜூலை", "ஆகஸ்ட்", "செப்டம்பர்", "அக்டோபர்", "நவம்பர்", "டிசம்பர்", ""],["ஜனவரி", "பிப்ரவரி", "மார்ச்", "ஏப்ரல்", "மே", "ஜூன்", "ஜூலை", "ஆகஸ்ட்", "செப்டம்பர்", "அக்டோபர்", "நவம்பர்", "டிசம்பர்", ""],":","காலை","மாலை","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")), this._cultures.te = new r("te",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ఆదివారం", "సోమవారం", "మంగళవారం", "బుధవారం", "గురువారం", "శుక్రవారం", "శనివారం"],["జనవరి", "ఫిబ్రవరి", "మార్చి", "ఏప్రిల్", "మే", "జూన్", "జూలై", "ఆగస్టు", "సెప్టెంబర్", "అక్టోబర్", "నవంబర్", "డిసెంబర్", ""],["ఆ", "సో", "మం", "బు", "గు", "శు", "శ"],["జనవరి", "ఫిబ్రవరి", "మార్చి", "ఏప్రిల్", "మే", "జూన్", "జూలై", "ఆగస్టు", "సెప్టెంబర్", "అక్టోబర్", "నవంబర్", "డిసెంబర్", ""],["జనవరి", "ఫిబ్రవరి", "మార్చి", "ఏప్రిల్", "మే", "జూన్", "జూలై", "ఆగస్టు", "సెప్టెంబర్", "అక్టోబర్", "నవంబర్", "డిసెంబర్", ""],":","పూర్వాహ్న","అపరాహ్న","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")), this._cultures.kn = new r("kn",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ಭಾನುವಾರ", "ಸೋಮವಾರ", "ಮಂಗಳವಾರ", "ಬುಧವಾರ", "ಗುರುವಾರ", "ಶುಕ್ರವಾರ", "ಶನಿವಾರ"],["ಜನವರಿ", "ಫೆಬ್ರವರಿ", "ಮಾರ್ಚ್", "ಎಪ್ರಿಲ್", "ಮೇ", "ಜೂನ್", "ಜುಲೈ", "ಆಗಸ್ಟ್", "ಸೆಪ್ಟಂಬರ್", "ಅಕ್ಟೋಬರ್", "ನವೆಂಬರ್", "ಡಿಸೆಂಬರ್", ""],["ರ", "ಸ", "ಮ", "ಬ", "ಗ", "ಶ", "ಶ"],["ಜನವರಿ", "ಫೆಬ್ರವರಿ", "ಮಾರ್ಚ್", "ಎಪ್ರಿಲ್", "ಮೇ", "ಜೂನ್", "ಜುಲೈ", "ಆಗಸ್ಟ್", "ಸೆಪ್ಟಂಬರ್", "ಅಕ್ಟೋಬರ್", "ನವೆಂಬರ್", "ಡಿಸೆಂಬರ್", ""],["ಜನವರಿ", "ಫೆಬ್ರವರಿ", "ಮಾರ್ಚ್", "ಎಪ್ರಿಲ್", "ಮೇ", "ಜೂನ್", "ಜುಲೈ", "ಆಗಸ್ಟ್", "ಸೆಪ್ಟಂಬರ್", "ಅಕ್ಟೋಬರ್", "ನವೆಂಬರ್", "ಡಿಸೆಂಬರ್", ""],":","ಪೂರ್ವಾಹ್ನ","ಅಪರಾಹ್ನ","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")), this._cultures.ml = new r("ml",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("as",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,1,"₹",2,".",",",[3, 2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new t.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 r("mr",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["रविवार", "सोमवार", "मंगळवार", "बुधवार", "गुरुवार", "शुक्रवार", "शनिवार"],["जानेवारी", "फेब्रुवारी", "मार्च", "एप्रिल", "मे", "जून", "जुलै", "ऑगस्ट", "सप्टेंबर", "ऑक्टोबर", "नोव्हेंबर", "डिसेंबर", ""],["र", "स", "म", "ब", "ग", "श", "श"],["जाने.", "फेब्रु.", "मार्च", "एप्रिल", "मे", "जून", "जुलै", "ऑगस्ट", "सप्टें.", "ऑक्टो.", "नोव्हें.", "डिसें.", ""],["जानेवारी", "फेब्रुवारी", "मार्च", "एप्रिल", "मे", "जून", "जुलै", "ऑगस्ट", "सप्टेंबर", "ऑक्टोबर", "नोव्हेंबर", "डिसेंबर", ""],":","म.पू.","म.नं.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")), this._cultures.sa = new r("sa",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("mn",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₮",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("bo",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3, 0],2,0,"¥",2,".",",",[3, 0],1,1,"%","‰","ཕོ་གྲངས་ཚད་མེད་ཆེ་བ།","+","ཨང་ཀི་མིན་པ།","མོ་གྲངས་ཚད་མེད་ཆུང་བ།","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ལོའི་ཟླ] M[ཚེས] d",["གཟའ་ཉི་མ།", "གཟའ་ཟླ་བ།", "གཟའ་མིག་དམར།", "གཟའ་ལྷག་པ།", "གཟའ་ཕུར་བུ།", "གཟའ་པ་སངས།", "གཟའ་སྤེན་པ།"],["སྤྱི་ཟླ་དང་པོ།", "སྤྱི་ཟླ་གཉིས་པ།", "སྤྱི་ཟླ་གསུམ་པ།", "སྤྱི་ཟླ་བཞི་པ།", "སྤྱི་ཟླ་ལྔ་པ།", "སྤྱི་ཟླ་དྲུག་པ།", "སྤྱི་ཟླ་བདུན་པ།", "སྤྱི་ཟླ་བརྒྱད་པ།", "སྤྱི་ཟླ་དགུ་པ།", "སྤྱི་ཟླ་བཅུ་པོ།", "སྤྱི་ཟླ་བཅུ་གཅིག་པ།", "སྤྱི་ཟླ་བཅུ་གཉིས་པ།", ""],["༧", "༡", "༢", "༣", "༤", "༥", "༦"],["ཟླ་ ༡", "ཟླ་ ༢", "ཟླ་ ༣", "ཟླ་ ༤", "ཟླ་ ༥", "ཟླ་ ༦", "ཟླ་ ༧", "ཟླ་ ༨", "ཟླ་ ༩", "ཟླ་ ༡༠", "ཟླ་ ༡༡", "ཟླ་ ༡༢", ""],["སྤྱི་ཟླ་དང་པོ།", "སྤྱི་ཟླ་གཉིས་པ།", "སྤྱི་ཟླ་གསུམ་པ།", "སྤྱི་ཟླ་བཞི་པ།", "སྤྱི་ཟླ་ལྔ་པ།", "སྤྱི་ཟླ་དྲུག་པ།", "སྤྱི་ཟླ་བདུན་པ།", "སྤྱི་ཟླ་བརྒྱད་པ།", "སྤྱི་ཟླ་དགུ་པ།", "སྤྱི་ཟླ་བཅུ་པོ།", "སྤྱི་ཟླ་བཅུ་གཅིག་པ།", "སྤྱི་ཟླ་བཅུ་གཉིས་པ།", ""],":","སྔ་དྲོ","ཕྱི་དྲོ","yyyy[ལོའི་ཟླ] M[ཚེས] d HH:mm:ss","HH:mm","HH:mm:ss","yyyy.M")), this._cultures.cy = new r("cy",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("km",new t.NumberFormatInfo(".",2,",",[3, 0],2,2,".",",",[3],5,1,"៛",2,".",",",[3, 0],1,1,"%","‰","អនន្ត","+","NAN","-- អនន្ត","-"),new t.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 r("lo",new t.NumberFormatInfo(".",2,",",[3, 0],0,2,".",",",[3, 0],4,1,"₭",2,".",",",[3, 0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("gl",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("kok",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["आयतार", "सोमार", "मंगळार", "बुधवार", "बिरेस्तार", "सुक्रार", "शेनवार"],["जानेवारी", "फेब्रुवारी", "मार्च", "एप्रिल", "मे", "जून", "जुलै", "ऑगस्ट", "सप्टेंबर", "ऑक्टोबर", "नोवेम्बर", "डिसेंबर", ""],["आ", "स", "म", "ब", "ब", "स", "श"],["जानेवारी", "फेब्रुवारी", "मार्च", "एप्रिल", "मे", "जून", "जुलै", "ऑगस्ट", "सप्टेंबर", "ऑक्टोबर", "नोवेम्बर", "डिसेंबर", ""],["जानेवारी", "फेब्रुवारी", "मार्च", "एप्रिल", "मे", "जून", "जुलै", "ऑगस्ट", "सप्टेंबर", "ऑक्टोबर", "नोवेम्बर", "डिसेंबर", ""],":","म.पू.","म.नं.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")), this._cultures.syr = new r("syr",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,2,"ل.س.‏",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("si",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3],14,2,"රු.",2,".",",",[3, 2],0,0,"%","‰","අනන්තය","+","NaN","-අනන්තය","-"),new t.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 r("iu",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3],0,0,"$",2,".",",",[3, 0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("am",new t.NumberFormatInfo(".",1,",",[3, 0],1,2,".",",",[3, 0],1,0,"ETB",1,".",",",[3, 0],1,1,"%","‰","Infinity","+","NAN","-Infinity","-"),new t.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 r("tzm",new t.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],8,3,"DZD",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("ne",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3],1,0,"रु",2,".",",",[3, 2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new t.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 r("fy",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ps",new t.NumberFormatInfo(",",2,"،",[3],3,2,"٫","٬",[3],3,0,"؋",2,",","،",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new t.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 r("fil",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"PhP",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("dv",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],10,3,"ރ.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["އާދީއްތަ", "ހޯމަ", "އަންގާރަ", "ބުދަ", "ބުރާސްފަތި", "ހުކުރު", "ހޮނިހިރު"],["މުޙައްރަމް", "ޞަފަރު", "ރަބީޢުލްއައްވަލް", "ރަބީޢުލްއާޚިރު", "ޖުމާދަލްއޫލާ", "ޖުމާދަލްއާޚިރާ", "ރަޖަބް", "ޝަޢްބާން", "ރަމަޟާން", "ޝައްވާލް", "ޛުލްޤަޢިދާ", "ޛުލްޙިއްޖާ", ""],["އާ", "ހޯ", "އަ", "ބު", "ބު", "ހު", "ހޮ"],["މުޙައްރަމް", "ޞަފަރު", "ރަބީޢުލްއައްވަލް", "ރަބީޢުލްއާޚިރު", "ޖުމާދަލްއޫލާ", "ޖުމާދަލްއާޚިރާ", "ރަޖަބް", "ޝަޢްބާން", "ރަމަޟާން", "ޝައްވާލް", "ޛުލްޤަޢިދާ", "ޛުލްޙިއްޖާ", ""],["މުޙައްރަމް", "ޞަފަރު", "ރަބީޢުލްއައްވަލް", "ރަބީޢުލްއާޚިރު", "ޖުމާދަލްއޫލާ", "ޖުމާދަލްއާޚިރާ", "ރަޖަބް", "ޝަޢްބާން", "ރަމަޟާން", "ޝައްވާލް", "ޛުލްޤަޢިދާ", "ޛުލްޙިއްޖާ", ""],":","މކ","މފ","dd/MM/yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")), this._cultures.ha = new r("ha",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("yo",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("quz",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$b",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("nso",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ba",new t.NumberFormatInfo(",",2," ",[3, 0],1,2,","," ",[3, 0],8,3,"₽",2,","," ",[3, 0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy [й]",["Йәкшәмбе", "Дүшәмбе", "Шишәмбе", "Шаршамбы", "Кесаҙна", "Йома", "Шәмбе"],["ғинуар", "февраль", "март", "апрель", "май", "июнь", "июль", "август", "сентябрь", "октябрь", "ноябрь", "декабрь", ""],["Йш", "Дш", "Шш", "Шр", "Кс", "Йм", "Шб"],["ғин", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек", ""],["ғинуар", "февраль", "март", "апрель", "май", "июнь", "июль", "август", "сентябрь", "октябрь", "ноябрь", "декабрь", ""],":","","","d MMMM yyyy [й] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")), this._cultures.lb = new r("lb",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+onendlech","+","n. num.","-onendlech","-"),new t.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 r("kl",new t.NumberFormatInfo(",",2,".",[3, 0],1,2,",",".",[3, 0],12,2,"kr.",2,",",".",[3, 0],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("ig",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ii",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3],2,0,"¥",2,".",",",[3, 0],1,1,"%","‰","ꈤꇁꑖꀋꉬ","+","ꌗꂷꀋꉬ","ꀄꊭꌐꀋꉆ","-"),new t.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 r("arn",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("moh",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3],0,0,"$",2,".",",",[3, 0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("br",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Anfin","+","NkN","-Anfin","-"),new t.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 r("ug",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","مۇسبەت چەكسىزلىك","+","سان ئەمەس","مەنپىي چەكسىزلىك","-"),new t.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 r("mi",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("oc",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinit","+","Non Numeric","-Infinit","-"),new t.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 r("co",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinitu","+","Mica numericu","-Infinitu","-"),new t.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 r("gsw",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Unendlich","+","Ohne Nummer","-Unendlich","-"),new t.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 r("sah",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NAN","-бесконечность","-"),new t.DateTimeFormatInfo("MM.dd.yyyy",".","MMMM d yyyy [с.]",["баскыһыанньа", "бэнидиэнньик", "оптуорунньук", "сэрэдэ", "чэппиэр", "бээтинсэ", "субуота"],["Тохсунньу", "Олунньу", "Кулун тутар", "Муус устар", "Ыам ыйа", "Бэс ыйа", "От ыйа", "Атырдьах ыйа", "Балаҕан ыйа", "Алтынньы", "Сэтинньи", "Ахсынньы", ""],["Бс", "Бн", "Оп", "Ср", "Чп", "Бт", "Сб"],["тхс", "олн", "кул", "мст", "ыам", "бэс", "отй", "атр", "блҕ", "алт", "стн", "ахс", ""],["тохсунньу", "олунньу", "кулун тутар", "муус устар", "ыам ыйын", "бэс ыйын", "от ыйын", "атырдьах ыйын", "балаҕан ыйын", "алтынньы", "сэтинньи", "ахсынньы", ""],":","","","MMMM d yyyy [с.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy [с.]")), this._cultures.qut = new r("qut",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Q",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("rw",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],2,2,"RWF",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("wo",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"XOF",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("prs",new t.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],3,0,"؋",2,",",".",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new t.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 r("gd",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],0,0,"%","‰","Neo-chrìochnachd","+","NaN","-Neo-chrìochnachd","-"),new t.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 r("ar-SA",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.س.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("bg-BG",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"лв.",2,","," ",[3],0,0,"%","‰","+ безкрайност","+","NaN","- безкрайност","-"),new t.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 r("ca-ES",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinit","+","NeuN","-Infinit","-"),new t.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 r("zh-TW",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"NT$",2,".",",",[3],1,1,"%","‰","正無窮大","+","不是一個數字","負無窮大","-"),new t.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 r("cs-CZ",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Kč",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Není číslo","-nekonečno","-"),new t.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 r("da-DK",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("de-DE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.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 r("el-GR",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","Άπειρο","+","μη αριθμός","-Άπειρο","-"),new t.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 r("en-US",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("fi-FI",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("fr-FR",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("he-IL",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"₪",2,".",",",[3],1,1,"%","‰","אינסוף חיובי","+","לא מספר","אינסוף שלילי","-"),new t.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 r("hu-HU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Ft",2,","," ",[3],0,0,"%","‰","végtelen","+","nem szám","negatív végtelen","-"),new t.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 r("is-IS",new t.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],8,3,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("it-IT",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"€",2,",",".",[3],1,1,"%","‰","+Infinito","+","Non un numero reale","-Infinito","-"),new t.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 r("ja-JP",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"¥",2,".",",",[3],1,1,"%","‰","+∞","+","NaN (非数値)","-∞","-"),new t.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 r("ko-KR",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"₩",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("nl-NL",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("nb-NO",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("pl-PL",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"zł",2,","," ",[3],1,1,"%","‰","+nieskończoność","+","nie jest liczbą","-nieskończoność","-"),new t.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 r("pt-BR",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"R$",2,",",".",[3],1,1,"%","‰","+Infinito","+","NaN (Não é um número)","-Infinito","-"),new t.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 r("rm-CH",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],1,1,"%","‰","+infinit","+","betg def.","-infinit","-"),new t.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 r("ro-RO",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"lei",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ru-RU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.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 r("hr-HR",new t.NumberFormatInfo(",",2,".",[3],2,2,",",".",[3],8,3,"kn",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("sk-SK",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Nie je číslo","-nekonečno","-"),new t.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 r("sq-AL",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],5,1,"Lek",2,",",".",[3],0,0,"%","‰","infinit","+","NaN","-infinit","-"),new t.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 r("sv-SE",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("th-TH",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"฿",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("tr-TR",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₺",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ur-PK",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,0,"Rs",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("id-ID",new t.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],0,0,"Rp",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("uk-UA",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₴",2,","," ",[3],1,1,"%","‰","безмежність","+","NaN","-безмежність","-"),new t.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 r("be-BY",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"р.",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("sl-SI",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","neskončnost","+","NaN","-neskončnost","-"),new t.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 r("et-EE",new t.NumberFormatInfo(",",2," ",[3],1,2,"."," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","plusslõpmatus","+","avaldamatu","miinuslõpmatus","-"),new t.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 r("lv-LV",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],9,2,"€",2,","," ",[3],1,1,"%","‰","bezgalība","+","NaN","-bezgalība","-"),new t.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 r("lt-LT",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","begalybė","+","NaN","-begalybė","-"),new t.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 r("tg-Cyrl-TJ",new t.NumberFormatInfo(",",2," ",[3, 0],1,2,";"," ",[3, 0],8,3,"т.р.",2,","," ",[3, 0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.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 r("fa-IR",new t.NumberFormatInfo(".",2,",",[3],3,2,"/",",",[3],3,2,"ريال",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("vi-VN",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₫",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("hy-AM",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],8,3,"դր.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("az-Latn-AZ",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("eu-ES",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinitu","+","EdZ","-Infinitu","-"),new t.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 r("hsb-DE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekónčne","+","njedefinowane","-njekónčne","-"),new t.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 r("mk-MK",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"ден.",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("tn-ZA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("xh-ZA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("zu-ZA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("af-ZA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ka-GE",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₾",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("fo-FO",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("hi-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("mt-MT",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("se-NO",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ms-MY",new t.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],0,0,"RM",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("kk-KZ",new t.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],1,0,"Т",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ky-KG",new t.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],8,3,"сом",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("sw-KE",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"S",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("tk-TM",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"m.",2,","," ",[3],1,1,"%","‰","üznüksizlik","+","NaN","-üznüksizlik","-"),new t.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 r("uz-Latn-UZ",new t.NumberFormatInfo(",",2," ",[3],1,0,","," ",[3],8,3,"so'm",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("tt-RU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("bn-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("pa-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("gu-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("or-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ta-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("te-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("kn-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ml-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("as-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,1,"₹",2,".",",",[3, 2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new t.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 r("mr-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("sa-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("mn-MN",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₮",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("bo-CN",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3, 0],2,0,"¥",2,".",",",[3, 0],1,1,"%","‰","ཕོ་གྲངས་ཚད་མེད་ཆེ་བ།","+","ཨང་ཀི་མིན་པ།","མོ་གྲངས་ཚད་མེད་ཆུང་བ།","-"),new t.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 r("cy-GB",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("km-KH",new t.NumberFormatInfo(".",2,",",[3, 0],2,2,".",",",[3],5,1,"៛",2,".",",",[3, 0],1,1,"%","‰","អនន្ត","+","NAN","-- អនន្ត","-"),new t.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 r("lo-LA",new t.NumberFormatInfo(".",2,",",[3, 0],0,2,".",",",[3, 0],4,1,"₭",2,".",",",[3, 0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("gl-ES",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("kok-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("syr-SY",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,2,"ل.س.‏",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("si-LK",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3],14,2,"රු.",2,".",",",[3, 2],0,0,"%","‰","අනන්තය","+","NaN","-අනන්තය","-"),new t.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 r("iu-Cans-CA",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3, 0],0,0,"$",2,".",",",[3, 0],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("am-ET",new t.NumberFormatInfo(".",1,",",[3, 0],1,2,".",",",[3, 0],1,0,"ETB",1,".",",",[3, 0],1,1,"%","‰","Infinity","+","NAN","-Infinity","-"),new t.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 r("ne-NP",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3],1,0,"रु",2,".",",",[3, 2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new t.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 r("fy-NL",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ps-AF",new t.NumberFormatInfo(",",2,"،",[3],3,2,"٫","٬",[3],3,0,"؋",2,",","،",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new t.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 r("fil-PH",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"PhP",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("dv-MV",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],10,3,"ރ.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ha-Latn-NG",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("yo-NG",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("quz-BO",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$b",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("nso-ZA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ba-RU",new t.NumberFormatInfo(",",2," ",[3, 0],1,2,","," ",[3, 0],8,3,"₽",2,","," ",[3, 0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.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 r("lb-LU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+onendlech","+","n. num.","-onendlech","-"),new t.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 r("kl-GL",new t.NumberFormatInfo(",",2,".",[3, 0],1,2,",",".",[3, 0],12,2,"kr.",2,",",".",[3, 0],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("ig-NG",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ii-CN",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3],2,0,"¥",2,".",",",[3, 0],1,1,"%","‰","ꈤꇁꑖꀋꉬ","+","ꌗꂷꀋꉬ","ꀄꊭꌐꀋꉆ","-"),new t.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 r("arn-CL",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("moh-CA",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3],0,0,"$",2,".",",",[3, 0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("br-FR",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Anfin","+","NkN","-Anfin","-"),new t.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 r("ug-CN",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","مۇسبەت چەكسىزلىك","+","سان ئەمەس","مەنپىي چەكسىزلىك","-"),new t.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 r("mi-NZ",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("oc-FR",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinit","+","Non Numeric","-Infinit","-"),new t.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 r("co-FR",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinitu","+","Mica numericu","-Infinitu","-"),new t.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 r("gsw-FR",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Unendlich","+","Ohne Nummer","-Unendlich","-"),new t.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 r("sah-RU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NAN","-бесконечность","-"),new t.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 r("qut-GT",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Q",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("rw-RW",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],2,2,"RWF",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("wo-SN",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"XOF",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("prs-AF",new t.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],3,0,"؋",2,",",".",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new t.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 r("gd-GB",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],0,0,"%","‰","Neo-chrìochnachd","+","NaN","-Neo-chrìochnachd","-"),new t.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 r("ar-IQ",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.ع.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("zh-CN",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new t.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 r("de-CH",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"Fr.",2,".","'",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.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 r("en-GB",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-MX",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("fr-BE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("it-CH",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],1,1,"%","‰","+Infinito","+","Non un numero reale","-Infinito","-"),new t.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 r("nl-BE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],1,1,"%","‰","oneindig","+","NaN (Niet-een-getal)","-oneindig","-"),new t.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 r("nn-NO",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("pt-PT",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+Infinito","+","NaN (Não é um número)","-Infinito","-"),new t.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 r("sr-Latn-CS",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.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 r("sv-FI",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("az-Cyrl-AZ",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("dsb-DE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekońcne","+","njedefinowane","-njekońcne","-"),new t.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 r("se-SE",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ga-IE",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ms-BN",new t.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],0,0,"$",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("uz-Cyrl-UZ",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"сўм",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("bn-BD",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"৳",2,".",",",[3, 2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("mn-Mong-CN",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3, 0],2,0,"¥",2,".",",",[3, 0],1,1,"%","‰","ᠡᠶ᠋ᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠠᠬᠡ","+","ᠲᠤᠭᠠᠠ ᠪᠤᠰᠤ","ᠰᠦᠬᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠡᠬᠡ","-"),new t.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 r("iu-Latn-CA",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3],0,0,"$",2,".",",",[3, 0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("tzm-Latn-DZ",new t.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],8,3,"DZD",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("quz-EC",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ar-EG",new t.NumberFormatInfo(".",3,",",[3],3,2,".",",",[3],3,2,"ج.م.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("zh-HK",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"HK$",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new t.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 r("de-AT",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.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 r("en-AU",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-ES",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("fr-CA",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],15,3,"$",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("sr-Cyrl-CS",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Дин.",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.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 r("se-FI",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("quz-PE",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],12,2,"S/.",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ar-LY",new t.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,0,"د.ل.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("zh-SG",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("de-LU",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.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 r("en-CA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-GT",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Q",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("fr-CH",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("hr-BA",new t.NumberFormatInfo(",",2,".",[3],2,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("smj-NO",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ar-DZ",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.ج.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("zh-MO",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"MOP",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new t.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 r("de-LI",new t.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"CHF",2,".","'",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new t.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 r("en-NZ",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-CR",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],0,0,"₡",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("fr-LU",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("bs-Latn-BA",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("smj-SE",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ar-MA",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.م.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("en-IE",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-PA",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],14,2,"B/.",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("fr-MC",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("sr-Latn-BA",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.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 r("sma-NO",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ar-TN",new t.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ت.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("en-ZA",new t.NumberFormatInfo(".",2," ",[3],1,2,","," ",[3],2,2,"R",2,"."," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-DO",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"RD$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("sr-Cyrl-BA",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"КМ",2,",",".",[3],0,0,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.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 r("sma-SE",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ar-OM",new t.NumberFormatInfo(".",2,",",[3],3,3,".",",",[3],3,2,"ر.ع.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("en-JM",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"J$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-VE",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"Bs. F.",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("bs-Cyrl-BA",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"КМ",2,",",".",[3],0,0,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.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 r("sms-FI",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ar-YE",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.ي.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("en-029",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-CO",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("sr-Latn-RS",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.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 r("smn-FI",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("ar-SY",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ل.س.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("en-BZ",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3, 0],0,0,"BZ$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-PE",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],12,2,"S/.",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("sr-Cyrl-RS",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Дин.",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.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 r("ar-JO",new t.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ا.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("en-TT",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3, 0],0,0,"TT$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-AR",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],2,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("sr-Latn-ME",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.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 r("ar-LB",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ل.ل.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("en-ZW",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Z$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-EC",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("sr-Cyrl-ME",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.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 r("ar-KW",new t.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ك.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("en-PH",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Php",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-CL",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("ar-AE",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.إ.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("es-UY",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$U",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("ar-BH",new t.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ب.‏",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("es-PY",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"Gs",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("ar-QA",new t.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.ق.‏",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new t.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 r("en-IN",new t.NumberFormatInfo(".",2,",",[3, 2],1,2,".",",",[3, 2],12,2,"₹",2,".",",",[3, 2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-BO",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$b",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("en-MY",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"RM",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-SV",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3, 0],0,0,"$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("en-SG",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("es-HN",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3, 0],12,2,"L.",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("es-NI",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3, 0],14,2,"C$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("es-PR",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3, 0],14,2,"$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("es-US",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3],0,0,"$",2,".",",",[3, 0],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new t.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 r("bs-Cyrl",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"КМ",2,",",".",[3],0,0,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.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 r("bs-Latn",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("sr-Cyrl",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Дин.",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new t.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 r("sr-Latn",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.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 r("smn",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("az-Cyrl",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Базар", "Базар ертәси", "Чәршәнбә ахшамы", "Чәршәнбә", "Ҹүмә ахшамы", "Ҹүмә", "Шәнбә"],["Јанвар", "Феврал", "Март", "Апрел", "Мај", "Ијун", "Ијул", "Август", "Сентјабр", "Октјабр", "Нојабр", "Декабр", ""],["Б", "Бе", "Ча", "Ч", "Ҹа", "Ҹ", "Ш"],["Јан", "Фев", "Мар", "Апр", "Мај", "Ијун", "Ијул", "Авг", "Сен", "Окт", "Ноя", "Дек", ""],["јанвар", "феврал", "март", "апрел", "мај", "ијун", "ијул", "август", "сентјабр", "октјабр", "нојабр", "декабр", ""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")), this._cultures.sms = new r("sms",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("zh",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new t.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],["日", "一", "二", "三", "四", "五", "六"],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")), this._cultures.nn = new r("nn",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("bs",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("az-Latn",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("sma",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("uz-Cyrl",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"сўм",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("mn-Cyrl",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₮",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("iu-Cans",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3, 0],0,0,"$",2,".",",",[3, 0],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("zh-Hant",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"HK$",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],["日", "一", "二", "三", "四", "五", "六"],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")), this._cultures.nb = new r("nb",new t.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new t.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 r("sr",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new t.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 r("tg-Cyrl",new t.NumberFormatInfo(",",2," ",[3, 0],1,2,";"," ",[3, 0],8,3,"т.р.",2,","," ",[3, 0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new t.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy",["Яш", "Душанбе", "Сешанбе", "Чоршанбе", "Панҷшанбе", "Ҷумъа", "Шанбе"],["Январ", "Феврал", "Март", "Апрел", "Май", "Июн", "Июл", "Август", "Сентябр", "Октябр", "Ноябр", "Декабр", ""],["Яш", "Дш", "Сш", "Чш", "Пш", "Ҷм", "Шн"],["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек", ""],["январи", "феврали", "марти", "апрели", "маи", "июни", "июли", "августи", "сентябри", "октябри", "ноябри", "декабри", ""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")), this._cultures.dsb = new r("dsb",new t.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekońcne","+","njedefinowane","-njekońcne","-"),new t.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 r("smj",new t.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("uz-Latn",new t.NumberFormatInfo(",",2," ",[3],1,0,","," ",[3],8,3,"so'm",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("mn-Mong",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3, 0],2,0,"¥",2,".",",",[3, 0],1,1,"%","‰","ᠡᠶ᠋ᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠠᠬᠡ","+","ᠲᠤᠭᠠᠠ ᠪᠤᠰᠤ","ᠰᠦᠬᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠡᠬᠡ","-"),new t.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 r("iu-Latn",new t.NumberFormatInfo(".",2,",",[3, 0],1,2,".",",",[3],0,0,"$",2,".",",",[3, 0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("tzm-Latn",new t.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],8,3,"DZD",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new t.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 r("ha-Latn",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new t.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 r("zh-CHS",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new t.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 r("zh-CHT",new t.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"HK$",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new t.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],["日", "一", "二", "三", "四", "五", "六"],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")); for (var n in this._cultures) { var i = this._cultures[n]; e.ExternalLibrary.Moment.defineLocale("sti_" + n, { parentLocale: "en", months: i.dateTimeFormat.monthNames, monthsShort: i.dateTimeFormat.abbreviatedMonthNames, weekdays: i.dateTimeFormat.dayNames, weekdaysShort: i.dateTimeFormat.shortestDayNames, weekdaysMin: i.dateTimeFormat.shortestDayNames, longDateFormat: { LT: i.dateTimeFormat.shortTimePattern, LTS: i.dateTimeFormat.longTimePattern, L: i.dateTimeFormat.shortDatePattern, LL: i.dateTimeFormat.longDatePattern, LLLL: i.dateTimeFormat.fullDateTimePattern }, meridiem: { AM: i.dateTimeFormat.AMDesignator, PM: i.dateTimeFormat.PMDesignator } }) } } return this._cultures }, enumerable: !0, configurable: !0 }), Object.defineProperty(r, "InvariantCulture", { get: function() { return r.currentCulture }, enumerable: !0, configurable: !0 }), r.getCultureInfo = function(e) { var t = this.cultures[e]; if (null != t) return t; return r.currentCulture } , r }(); t.CultureInfo = r }(r = t.Globalization || (t.Globalization = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Globalization.CultureInfo , n = function() { function n(e, t, r, n, i, a, o) { void 0 === e ? this.innerDate = new Date : "number" != typeof e && e.stimulsoft.is(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)) } return n.getNetTypeName = function() { return "System.DateTime" } , Object.defineProperty(n.prototype, "year", { get: function() { return this.innerDate.getFullYear() }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "month", { get: function() { return this.innerDate.getMonth() + 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "monthName", { get: function() { return r.currentCulture.dateTimeFormat.monthNames[this.month - 1] }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "monthGenitiveName", { get: function() { return r.currentCulture.dateTimeFormat.monthGenitiveNames[this.month - 1] }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "monthShortName", { get: function() { return r.currentCulture.dateTimeFormat.abbreviatedMonthNames[this.month - 1] }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "day", { get: function() { return this.innerDate.getDate() }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "dayOfWeek", { get: function() { return this.innerDate.getDay() }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "dayName", { get: function() { return r.currentCulture.dateTimeFormat.dayNames[this.dayOfWeek] }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "dayShortName", { get: function() { return r.currentCulture.dateTimeFormat.shortestDayNames[this.dayOfWeek] }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "hour", { get: function() { return this.innerDate.getHours() }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "minute", { get: function() { return this.innerDate.getMinutes() }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "second", { get: function() { return this.innerDate.getSeconds() }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "millisecond", { get: function() { return this.innerDate.getMilliseconds() }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "ticks", { get: function() { return this.innerDate.getTime() }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "dayOfYear", { get: function() { var e = new Date(this.innerDate.getFullYear(),0,1) , t = this.innerDate.getTime() - e.getTime(); return Math.ceil(t / 864e5) + 1 }, enumerable: !0, configurable: !0 }), n.prototype.firstDayOfWeek = function() { var t = e.ExternalLibrary.Moment(this.innerDate); return t.locale("sti_" + r.currentCulture.name), new n(t.startOf("week").toDate()) } , n.prototype.lastDayOfWeek = function() { var t = e.ExternalLibrary.Moment(this.innerDate); return t.locale("sti_" + r.currentCulture.name), new n(t.endOf("week").toDate()) } , n.prototype.firstDayOfMonth = function() { var t = e.ExternalLibrary.Moment(this.innerDate); return t.locale("sti_" + r.currentCulture.name), new n(t.startOf("month").toDate()) } , n.prototype.lastDayOfMonth = function() { var t = e.ExternalLibrary.Moment(this.innerDate); return t.locale("sti_" + r.currentCulture.name), new n(t.endOf("month").toDate()) } , n.prototype.firstDayOfQuarter = function() { var t = e.ExternalLibrary.Moment(this.innerDate); return t.locale("sti_" + r.currentCulture.name), new n(t.startOf("quarter").toDate()) } , n.prototype.lastDayOfQuarter = function() { var t = e.ExternalLibrary.Moment(this.innerDate); return t.locale("sti_" + r.currentCulture.name), new n(t.endOf("quarter").toDate()) } , n.prototype.firstDayOfFirthQuarter = function() { var t = e.ExternalLibrary.Moment().month(0); return t.locale("sti_" + r.currentCulture.name), new n(t.startOf("quarter").toDate()) } , n.prototype.lastDayOfFirthQuarter = function() { var t = e.ExternalLibrary.Moment().month(0); return t.locale("sti_" + r.currentCulture.name), new n(t.endOf("quarter").toDate()) } , n.prototype.firstDayOfSecondQuarter = function() { var t = e.ExternalLibrary.Moment().month(3); return t.locale("sti_" + r.currentCulture.name), new n(t.startOf("quarter").toDate()) } , n.prototype.lastDayOfSecondQuarter = function() { var t = e.ExternalLibrary.Moment().month(3); return t.locale("sti_" + r.currentCulture.name), new n(t.endOf("quarter").toDate()) } , n.prototype.firstDayOfThirdQuarter = function() { var t = e.ExternalLibrary.Moment().month(6); return t.locale("sti_" + r.currentCulture.name), new n(t.startOf("quarter").toDate()) } , n.prototype.lastDayOfThirdQuarter = function() { var t = e.ExternalLibrary.Moment().month(6); return t.locale("sti_" + r.currentCulture.name), new n(t.endOf("quarter").toDate()) } , n.prototype.firstDayOfFourthQuarter = function() { var t = e.ExternalLibrary.Moment().month(9); return t.locale("sti_" + r.currentCulture.name), new n(t.startOf("quarter").toDate()) } , n.prototype.lastDayOfFourthQuarter = function() { var t = e.ExternalLibrary.Moment().month(9); return t.locale("sti_" + r.currentCulture.name), new n(t.endOf("quarter").toDate()) } , n.prototype.firstDayOfYear = function() { var t = e.ExternalLibrary.Moment(this.innerDate); return t.locale("sti_" + r.currentCulture.name), new n(t.startOf("year").toDate()) } , n.prototype.lastDayOfYear = function() { var t = e.ExternalLibrary.Moment(this.innerDate); return t.locale("sti_" + r.currentCulture.name), new n(t.endOf("year").toDate()) } , n.prototype.toShortDateString = function() { return this.toString(r.currentCulture.dateTimeFormat.shortDatePattern) } , Object.defineProperty(n, "now", { get: function() { return new n(new Date) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n, "today", { get: function() { var e = new n(new Date); return new n(e.year,e.month,e.day,0,0,0,0) }, enumerable: !0, configurable: !0 }), n.isLeapYear = function(e) { return e % 4 == 0 && e % 100 != 0 || e % 400 == 0 } , n.daysInMonth = function(e, t) { return 33 - new Date(e,t - 1,33).getDate() } , n.compare = function(e, t) { if (e.ticks < t.ticks) return -1; if (e.ticks > t.ticks) return 1; return 0 } , n.doubleDateToTicks = function(e) { if (e >= this.oADateMaxAsDouble || e <= this.oADateMinAsDouble) return null; var t = e * this.millisPerDay + (e >= 0 ? .5 : -.5); if (t < 0 && (t -= t % this.millisPerDay * 2), (t += this.doubleDateOffset / this.ticksPerMillisecond) < 0 || t >= this.maxMillis) return null; return t * this.ticksPerMillisecond } , n.ticksToOADate = function(e) { if (0 == e) return 0; e < this.ticksPerDay && (e += this.doubleDateOffset); var t = (e - this.doubleDateOffset) / this.ticksPerMillisecond; if (t < 0) { var r = t % this.millisPerDay; 0 != r && (t -= 2 * (this.millisPerDay + r)) } return t / this.millisPerDay } , n.ticksNetToTicksJs = function(e) { return e / 1e4 - 621356076e5 } , n.prototype.negate = function() { if (this.ticks == t.TimeSpan.minValue.ticks) throw new Error("Overflow_NegateTwosCompNum"); return new n(-this.ticks) } , n.prototype.addYears = function(e) { return this.innerDate = new n(this.year + e,this.month,this.day,this.hour,this.minute,this.second,this.millisecond).innerDate, this } , n.prototype.addMonths = function(e) { return this.innerDate = new n(this.year,this.month + e,this.day,this.hour,this.minute,this.second,this.millisecond).innerDate, this } , n.prototype.addDays = function(e) { return this.innerDate = new n(this.year,this.month,this.day + e,this.hour,this.minute,this.second,this.millisecond).innerDate, this } , n.prototype.addHours = function(e) { return this.innerDate = new n(this.year,this.month,this.day,this.hour + e,this.minute,this.second,this.millisecond).innerDate, this } , n.prototype.addMinutes = function(e) { return this.innerDate = new n(this.year,this.month,this.day,this.hour,this.minute + e,this.second,this.millisecond).innerDate, this } , n.prototype.addSeconds = function(e) { return this.innerDate = new n(this.year,this.month,this.day,this.hour,this.minute,this.second + e,this.millisecond).innerDate, this } , n.prototype.addMilliseconds = function(e) { return this.innerDate = new n(this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond + e).innerDate, this } , n.prototype.addTicks = function(e) { return this.innerDate = new n(this.ticks + e).innerDate, this } , n.prototype.compareTo = function(e) { if (this.ticks < e.ticks) return -1; if (this.ticks > e.ticks) return 1; return 0 } , n.prototype.subtract = function(e) { return new t.TimeSpan(this.ticks - e.ticks) } , Object.defineProperty(n.prototype, "date", { get: function() { return this.innerDate }, enumerable: !0, configurable: !0 }), n.prototype.toString = function(t) { void 0 === t && (t = "G"); var n = e.ExternalLibrary.Moment(this.innerDate); switch (n.locale("sti_" + r.currentCulture.name), t) { case "t": t = r.currentCulture.dateTimeFormat.shortTimePattern; break; case "T": t = r.currentCulture.dateTimeFormat.longTimePattern; break; case "d": t = r.currentCulture.dateTimeFormat.shortDatePattern; break; case "D": t = r.currentCulture.dateTimeFormat.longDatePattern; break; case "f": t = r.currentCulture.dateTimeFormat.longDatePattern + " " + r.currentCulture.dateTimeFormat.shortTimePattern; break; case "F": t = r.currentCulture.dateTimeFormat.fullDateTimePattern; break; case "g": t = r.currentCulture.dateTimeFormat.shortDatePattern + " " + r.currentCulture.dateTimeFormat.shortTimePattern; break; case "G": t = r.currentCulture.dateTimeFormat.shortDatePattern + " " + r.currentCulture.dateTimeFormat.longTimePattern; break; case "y": case "Y": t = r.currentCulture.dateTimeFormat.yearMonthPattern; break; case "s": t = "yyyy-MM-dd\\THH:mm:ss"; break; case "u": t = "yyyy-MM-dd HH:mm:ss\\Z"; break; case "m": case "M": t = r.currentCulture.name.stimulsoft.contains("en") || r.currentCulture.name.stimulsoft.contains("us") ? "MMMM d" : "d MMMM"; break; case "r": case "R": t = "ddd, dd MMM yyyy HH\\:mm\\:ss \\G\\M\\T"; break } return t = t.replace(/d/gm, "D").replace(/DDDD/gm, "dddd").replace(/DDD/gm, "ddd"), t = t.replace(/y/gm, "Y"), t = t.replace(/f/gm, "S").replace(/F/gm, "S"), t = t.replace(/tt/gm, "A").replace(/t/gm, "A"), t = t.replace(/zzz/gm, "Z").replace(/zz/gm, "Z").replace(/z/gm, "Z"), n.format(t) } , n.prototype.toOADate = function() { return Math.round(this.ticks / 864e5 + 25569) } , n.prototype.toOADate2 = function(e) { var t = this.ticks / 864e5 + 25569; if (e) return Math.round(t); return t } , n.prototype.toNetJsonString = function() { return "\\/Date(" + this.ticks + ")\\/" } , n.tryParseExact = function(t, r) { void 0 === t && (t = "2015-12-31"); try { var i = e.ExternalLibrary.Moment(t, [r]); if (0 == i.isValid() || i.parsingFlags().unusedTokens.length > 0) return { result: null, successfully: !1 }; return { result: new n(i.toDate()), successfully: !0 } } catch (e) { return { result: null, successfully: !1 } } } , n.fromNetJsonString = function(e) { var t = /-?\d+/.exec(e); return new n(new Date(parseInt(t[0]))) } , n.fromOADate = function(e) { return new n(864e5 * (e - 25569)) } , n.fromString = function(r, i) { void 0 === r && (r = "2015-12-31"), void 0 === i && (i = !0); try { r = r.trim(); var a = r.stimulsoft.replaceAll(".", "-").stimulsoft.replaceAll("\\", "-").stimulsoft.replaceAll(" ", "-") , o = void 0; if (o = e.ExternalLibrary.Moment(a, "YYYY-M-D", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "M/D/YYYY", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "D-M-YYYY", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "M/D/YY", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "D-M-YY", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "YYYY-M-D-H:mm", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "YYYY-M-D-H:mm:ss", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "YYYY-M-D-H:mm:ss-sss", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "YYYY-M-D-h:mm:ss-a", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "M/D/YYYY-H:mm", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "M/D/YYYY-H:mm:ss", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "M/D/YYYY-h:mm:ss-a", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "D-M-YYYY-H:mm", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "D-M-YYYY-H:mm:ss", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "D-M-YYYY-h:mm:ss-a", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "M/D/YY-H:mm", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "M/D/YY-H:mm:ss", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "M/D/YY-h:mm:ss-a", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "D-M-YY-H:mm", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "D-M-YY-H:mm:ss", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "D-M-YY-h:mm:ss-a", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "H:mm", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "H:mm:ss", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "h:mm:ss-a", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "YYYY-MM-DDTHH:mm:ssZ", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "YYYY-MM-DDTHH:mm:ss-sssZ", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "YYYY-MM-DDTHH:mm:ss", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); if (o = e.ExternalLibrary.Moment(a, "YYYY-MM-DDTHH:mm:ss-sss", !0), o.isValid() && 0 == o.parsingFlags().unusedTokens.length) return new n(o.toDate()); return i && t.StiError.showError("Parse DateTime Error (" + r + ")", !1), null } catch (e) { return i && t.StiError.showError("Parse DateTime Error (" + r + ")", !1), null } } , n.fromString2 = function(r, i, a) { void 0 === r && (r = "2015-12-31"), void 0 === a && (a = !0); try { var o = e.ExternalLibrary.Moment(i, [r]); if (0 == o.isValid() || o.parsingFlags().unusedTokens.length > 0) return a && t.StiError.showError("Parse DateTime Error (" + i + ")", !1), null; return new n(o.toDate()) } catch (e) {} return null } , n.isISO8601String = function(t) { try { t = t.trim(); var r = void 0; if (r = e.ExternalLibrary.Moment(t, "YYYY-MM-DDTHH:mm", !0), r.isValid() && 0 == r.parsingFlags().unusedTokens.length) return !0; if (r = e.ExternalLibrary.Moment(t, "YYYY-MM-DDTHH:mmZ", !0), r.isValid() && 0 == r.parsingFlags().unusedTokens.length) return !0; if (r = e.ExternalLibrary.Moment(t, "YYYY-MM-DDTHH:mm:ss", !0), r.isValid() && 0 == r.parsingFlags().unusedTokens.length) return !0; if (r = e.ExternalLibrary.Moment(t, "YYYY-MM-DDTHH:mm:ss.SSS", !0), r.isValid() && 0 == r.parsingFlags().unusedTokens.length) return !0; if (r = e.ExternalLibrary.Moment(t, "YYYY-MM-DDTHH:mm:ssZ", !0), r.isValid() && 0 == r.parsingFlags().unusedTokens.length) return !0; if (r = e.ExternalLibrary.Moment(t, "YYYY-MM-DDTHH:mm:ss.SSSZ", !0), r.isValid() && 0 == r.parsingFlags().unusedTokens.length) return !0 } catch (e) {} return !1 } , Object.defineProperty(n.prototype, "timeOfDay", { get: function() { return new t.TimeSpan(this.ticks - new n(this.year,this.month,this.day,0,0,0,0).ticks) }, enumerable: !0, configurable: !0 }), n.ticksPerMillisecond = 1e3, n.ticksPerSecond = 1e3 * n.ticksPerMillisecond, n.ticksPerMinute = 60 * n.ticksPerSecond, n.ticksPerHour = 60 * n.ticksPerMinute, n.ticksPerDay = 24 * n.ticksPerHour, n.millisPerSecond = 1e3, n.millisPerMinute = 60 * n.millisPerSecond, n.millisPerHour = 60 * n.millisPerMinute, n.millisPerDay = 24 * n.millisPerHour, n.daysPerYear = 365, n.daysPer4Years = 4 * n.daysPerYear + 1, n.daysPer100Years = 25 * n.daysPer4Years - 1, n.daysPer400Years = 4 * n.daysPer100Years + 1, n.daysTo1601 = 4 * n.daysPer400Years, n.daysTo1899 = 4 * n.daysPer400Years + 3 * n.daysPer100Years - 367, n.daysTo10000 = 25 * n.daysPer400Years - 366, n.minTicks = 0, n.maxTicks = n.daysTo10000 * n.ticksPerDay - 1, n.maxMillis = n.daysTo10000 * n.millisPerDay, n.fileTimeOffset = n.daysTo1601 * n.ticksPerDay, n.doubleDateOffset = n.daysTo1899 * n.ticksPerDay, n.oADateMinAsTicks = (n.daysPer100Years - n.daysPerYear) * n.ticksPerDay, n.oADateMinAsDouble = -657435, n.oADateMaxAsDouble = 2958466, n.datePartYear = 0, n.datePartDayOfYear = 1, n.datePartMonth = 2, n.DatePartDay = 3, n.daysToMonth365 = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365], n.daysToMonth366 = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366], n.minValue = new n(n.minTicks), n.maxValue = new n(n.maxTicks), n }(); t.DateTime = n }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n = e.System.DateTime , i = function(e) { function t(r) { var n = e.call(this) || this; "number" == typeof r || r && r.forEach(function(e) { return n.push(e) }); try { n.__proto__ = t.prototype, Object.defineProperty(n, "__proto__", { enumerable: !1 }) } catch (e) { Object.defineProperty(n, "__proto__", { enumerable: !1, writable: !0 }), n.__proto__ = t.prototype } return n } return __extends(t, e), t.create = function(e) { for (var r = [], n = 1; n < arguments.length; n++) r[n - 1] = arguments[n]; var i = !1; if ("boolean" == typeof r[r.length - 1] && (i = !!r.pop()), 0 == r.length) { if (e == Number) return 0; if (e == Boolean) return !1; return i ? new e : null } for (var a = new t, o = r.shift(), s = 0; s < o; s++) { var u = t.create.apply(this, [e].concat(r, [i])); a.push(u) } return a } , t.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 } } } , t.prototype.removeRange = function(e, t) { this.splice(e, t) } , t.prototype.getRange = function(e, r) { return (null == e || e < 0) && (e = 0), e + r > this.length && (r = this.length - e), new t(this.slice(e, e + r)) } , t.prototype.add = function(e) { this.push(e) } , t.prototype.insert = function(e, t) { this.splice(e, 0, t) } , t.prototype.clear = function() { this.splice(0, this.length) } , t.prototype.peek = function() { return this[this.length - 1] } , t.prototype.removeAt = function(e) { this.splice(e, 1) } , t.prototype.exists = function(e) { var t, r; try { for (var n = __values(this), i = n.next(); !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 } , t.prototype.fullOuterJoin = function(e, r, n, i, a) { var o = e.toLookup(n, a) , s = this.toLookup(r, a) , u = e.where(function(e) { return !s.contains(n.apply(a, [e])) }).select(function(e) { return i.apply(a, [null, e]) }); return this.selectMany2(function(e) { var n = o.get(r.apply(a, [e])); return n.any() ? n : new t }, i, a).concat(u) } , t.prototype.toList = function() { var e, r, n = new t; try { for (var i = __values(this), a = i.next(); !a.done; a = i.next()) { var o = a.value; n.push(o) } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return n } , t.prototype.findIndex2 = function(e) { for (var t = 0; t < this.length; t++) if (e(this[t])) return t; return -1 } , t.prototype.zip = function(e, r) { for (var n = new t, i = 0; i < this.length; i++) n.add(r(this[i], e[i])); return n } , t.repeat = function(e, r) { for (var n = new t, i = 0; i < r; i++) n.push(e); return n } , t.prototype.where = function(e, r) { var n = new t; return this.forEach(function(t, i) { return e.apply(r, [t, i]) ? n.push(t) : null }), n } , t.prototype.join2 = function(e, n, i, a, o) { var s, u, l, m, y = new t, d = new r.Hashtable; try { for (var f = __values(e), h = f.next(); !h.done; h = f.next()) { var c = h.value , p = i.apply(o, [c]); d.set(p, c) } } catch (e) { s = { error: e } } finally { try { h && !h.done && (u = f.return) && u.call(f) } finally { if (s) throw s.error } } try { for (var M = __values(this), b = M.next(); !b.done; b = M.next()) { var g = b.value , v = n.apply(o, [g]) , c = d.get(v); null != c && y.push(a.apply(o, [g, c])) } } catch (e) { l = { error: e } } finally { try { b && !b.done && (m = M.return) && m.call(M) } finally { if (l) throw l.error } } return y } , t.prototype.groupJoin = function(e, n, i, a, o) { var s, u, l, m, y = new t, d = new r.Hashtable; try { for (var f = __values(e), h = f.next(); !h.done; h = f.next()) { var c = h.value , p = i.apply(o, [c]) , M = d.get(p); null == M && (M = new t, d.set(p, M)), M.push(c) } } catch (e) { s = { error: e } } finally { try { h && !h.done && (u = f.return) && u.call(f) } finally { if (s) throw s.error } } try { for (var b = __values(this), g = b.next(); !g.done; g = b.next()) { var v = g.value , p = n.apply(o, [v]) , M = d.get(p); null == M && (M = new t), y.push(a.apply(o, [v, M])) } } catch (e) { l = { error: e } } finally { try { g && !g.done && (m = b.return) && m.call(b) } finally { if (l) throw l.error } } return y } , t.prototype.select = function(e, r) { var n = new t; return this.forEach(function(t) { return n.push(e.apply(r, [t])) }), n } , t.prototype.selectMany = function(e, r) { var n = new t; return this.forEach(function(t) { return e.apply(r, [t]).forEach(function(e) { return n.push(e) }) }), n } , t.prototype.selectMany2 = function(e, r, n) { var i = new t; return this.forEach(function(t) { return e.apply(n, [t]).forEach(function(e) { return i.push(r.apply(n, [t, e])) }) }), i } , t.prototype.orderBy = function(e, r) { var i = this.toArray(); return null == r && (r = { compare: function(e, t) { var r, i; if ((null === (r = e) || void 0 === r ? void 0 : r.stimulsoft.is(n)) && (null === (i = t) || void 0 === i ? void 0 : i.stimulsoft.is(n))) return n.compare(e.stimulsoft.as(n), t.stimulsoft.as(n)); if (e > t) return 1; if (e < t) return -1; return 0 } }), i.sort(function(t, n) { return r.compare(e(t), e(n)) }), new t(i) } , t.prototype.orderByDescending = function(e, r) { var i = this.toArray(); return null == r && (r = { compare: function(e, t) { var r, i; if ((null === (r = e) || void 0 === r ? void 0 : r.stimulsoft.is(n)) && (null === (i = t) || void 0 === i ? void 0 : i.stimulsoft.is(n))) return n.compare(t.stimulsoft.as(n), e.stimulsoft.as(n)); if (e > t) return -1; if (e < t) return 1; return 0 } }), i.sort(function(t, n) { return r.compare(e(t), e(n)) }), new t(i) } , t.prototype.groupBy = function(e, n, i) { var a, o, s = new t; null == n && (n = { equals: function(e, t) { if (e == t) return !0; return !1 }, getHashCode: function() { return 0 } }); var u = function(a) { var o = e.apply(i, [a]) , u = s.firstOrDefault(function(e) { return n.equals(e.key, o) }); null == u && (u = new r.Grouping(new t([])), u.key = o, s.push(u)), u.push(a) }; try { for (var l = __values(this), m = l.next(); !m.done; m = l.next()) { u(m.value) } } catch (e) { a = { error: e } } finally { try { m && !m.done && (o = l.return) && o.call(l) } finally { if (a) throw a.error } } return s } , t.prototype.cast = function() { var e = new t, r; return r = function(e) { return e } , this.forEach(function(t) { return e.push(r(t)) }), e } , t.prototype.toDictionary = function(e, t) { for (var n = new r.Dictionary, i = 0; i < this.length; i++) n.add(e(this[i]), t(this[i])); return n } , t.prototype.toLookup = function(e, n) { var i, a, o = new r.Hashtable; try { for (var s = __values(this), u = s.next(); !u.done; u = s.next()) { var l = u.value , m = e.apply(n, [l]) , y = o.get(m); null == y && (y = new t, o.set(m, y)), y.push(l) } } catch (e) { i = { error: e } } finally { try { u && !u.done && (a = s.return) && a.call(s) } finally { if (i) throw i.error } } return o } , t.prototype.concat = function(e) { var r, n, i, a, o = new t; try { for (var s = __values(this), u = s.next(); !u.done; u = s.next()) { var l = u.value; o.push(l) } } catch (e) { r = { error: e } } finally { try { u && !u.done && (n = s.return) && n.call(s) } finally { if (r) throw r.error } } try { for (var m = __values(e), y = m.next(); !y.done; y = m.next()) { var l = y.value; o.push(l) } } catch (e) { i = { error: e } } finally { try { y && !y.done && (a = m.return) && a.call(m) } finally { if (i) throw i.error } } return o } , t.prototype.aggregate = function(e) { for (var t = this[0], r = 1; r < this.length; r++) t = e(t, this[r]); return t } , t.prototype.aggregate2 = function(e, t) { for (var r = 0; r < this.length; r++) e = t(e, this[r]); return e } , t.prototype.count2 = function(e, t) { null == e && (e = function(e) { return !0 } ); var r = 0; return this.forEach(function(n) { return e.apply(t, [n]) ? r++ : null }), r } , t.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 e.stimulsoft.compareTo(t) >= 0 ? e : t } ), "number" == typeof t && (r = Math.max), t.stimulsoft.is(n) && (r = function(e, t) { return n.compare(e, t) >= 0 ? e : t } ); for (var i = 1; i < this.length; i++) t = r(e(this[i]), t); return t } , t.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.stimulsoft.is(n) && (r = function(e, t) { return n.compare(e, t) <= 0 ? e : t } ); for (var i = 1; i < this.length; i++) t = r(e(this[i]), t); return t } , t.prototype.sum = function(e) { null == e && (e = function(e) { return e.stimulsoft.toNumber() } ); var t = 0; return this.forEach(function(r) { return t += e(r) }), t } , t.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 } , t.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 } , t.prototype.contains = function(e) { return this.indexOf(e) >= 0 } , t.prototype.skip = function(e) { for (var r = new t, n = e; n < this.length; n++) r.add(this[n]); return r } , t.prototype.take = function(e) { var r = new t; e > this.length && (e = this.length); for (var n = 0; n < e; n++) r.add(this[n]); return r } , t.prototype.defaultIfEmpty = function() { if (this.length > 0) return this; return new t([null]) } , t.prototype.distinct = function() { var e = new t; return this.forEach(function(t) { return e.indexOf(t) < 0 ? e.push(t) : null }), e } , t.prototype.except = function(e) { var r, n, i = new t; try { for (var a = __values(this), o = a.next(); !o.done; o = a.next()) { var s = o.value; -1 == e.indexOf(s) && i.add(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 } , t.prototype.union = function(e) { var r = new t; return this.forEach(function(e) { return r.add(e) }), e.forEach(function(e) { return r.add(e) }), r.distinct() } , t.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 } , t.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 } , t.prototype.lastOrDefault = function() { var e, t, r; try { for (var n = __values(this), i = n.next(); !i.done; i = n.next()) { r = i.value } } 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.prototype.whereEqualsTo = function(e, t) { return null } , t.prototype.whereArrayItemEqualsTo = function(e, t) { return null } , t.prototype.whereArrayItemStringEqualsTo = function(e, t) { return null } , t.prototype.whereFirstOrDefaultArrayItemStringEqualsTo = function(e, t) { return null } , t.toString2 = function(e) { return null } , t.prototype.getArrayItem = function(e) { return null } , t.prototype.tryCastValueOrFirstDefaultToNullableNumber = function() { return null } , t.prototype.tryCastToNullableNumber = function() { return null } , t.prototype.tryCastToNumber = function() { return null } , t.prototype.tryCastToBool = function() { return null } , t.prototype.tryCastToDateTime = function() { return null } , t.prototype.tryCastToNullableDateTime = function() { return null } , t.prototype.tryCastToTimeSpan = function() { return null } , t.prototype.tryCastToNullableTimeSpan = function() { return null } , t.prototype.tryCastToString = function() { return null } , t.prototype.firstOrDefaultAsNullableNumber = function() { return null } , t.prototype.firstOrDefaultAsNumber = function() { return null } , t.getValueOrFirstOrDefault = function(e) { return null } , t.add2 = function(e, t) { return null } , t.sub = function(e, t) { return null } , t.mult = function(e, t) { return null } , t.bitwiseAnd = function(e, t) { return null } , t.bitwiseXOr = function(e, t) { return null } , t.bitwiseOr = function(e, t) { return null } , t.div = function(e, t) { return null } , t }(Array); r.List = i, t.StiObject.disableAllEnumerable(i.prototype, new i) }(r = t.Collections || (t.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t }(e.List); e.Grouping = t }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() { this.isSimpleKeys = !1, this.keys = new e.List, this.values = new e.List, this.indexObject = {} } return t.prototype.get = function(e) { if (this.isSimpleKeys) return this.values[this.indexObject[e]]; return this.values[this.keys.indexOf(e)] } , t.prototype.set = function(e, t) { if (this.isSimpleKeys) { var r = typeof e; "string" != r && "number" != r && (this.isSimpleKeys = !1, this.indexObject = {}) } else if (0 == this.keys.length) { var r = typeof e; "string" != r && "number" != r || (this.isSimpleKeys = !0) } var n = -1; n = this.isSimpleKeys ? this.indexObject[e] : this.keys.indexOf(e), n >= 0 ? this.values[n] = t : (this.isSimpleKeys && (this.indexObject[e] = this.keys.length), this.keys.push(e), this.values.push(t)) } , t.prototype.add = function(e, t) { this.set(e, t) } , t.prototype.contains = function(e) { if (this.isSimpleKeys) return void 0 != this.indexObject[e]; return this.keys.contains(e) } , t.prototype.containsKey = function(e) { if (this.isSimpleKeys) return void 0 != this.indexObject[e]; return this.keys.contains(e) } , t.prototype.containsValue = function(e) { return this.values.contains(e) } , t.prototype.remove = function(e) { var t; if ((t = this.isSimpleKeys ? this.indexObject[e] : this.keys.indexOf(e)) >= 0 && (this.keys.removeAt(t), this.values.removeAt(t), this.isSimpleKeys)) { this.indexObject = {}; for (var r = 0; r < this.keys.length; r++) this.indexObject[this.keys[r]] = r } } , t.prototype.clear = function() { this.keys = new e.List, this.values = new e.List, this.indexObject = {}, this.isSimpleKeys = !1 } , t.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(t.prototype, "count", { get: function() { return this.keys.length }, enumerable: !0, configurable: !0 }), t.prototype.clone = function() { var e = new t; return this.keys.copyTo(e.keys), this.values.copyTo(e.values), e } , t }(); e.Hashtable = t }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.ICollection = "ICollection" }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IComparer = "IComparer" }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IEnumerator = "IEnumerator" }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IEqualityComparer = "IEqualityComparer" }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.prototype.dequeue = function() { return null } , e.prototype.enqueue = function(e) {} , Object.defineProperty(e.prototype, "count", { get: function() { return null }, enumerable: !0, configurable: !0 }), e.prototype.clear = function() {} , e }(); e.Queue = t }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.prototype.pop = function() { return null } , e.prototype.push = function(e) {} , e.prototype.clear = function() {} , e }(); e.Stack = t }(t = e.Collections || (e.Collections = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() { 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 = n ^ n << 1 ^ n << 2 ^ n << 3 ^ n << 4; i = i >>> 8 ^ 255 & i ^ 99, this.SBOX[r] = i, this.INV_SBOX[i] = r; var a = e[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 } } return e.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; r < t; r++) if (r < e) this.keySchedule[r] = this.key.words[r]; else { var n = this.keySchedule[r - 1]; r % e ? e > 6 && 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]] } } , e.prototype.process = function() { var e = this.data.sigBytes / this.blockSize * 4; e = Math.ceil(e); var t = e * this.blockSize, n = Math.min(4 * t, this.data.sigBytes), i; if (t) { for (var a = 0; a < t; a += this.blockSize) this.processBlock(this.data.words, a); i = this.data.words.splice(0, t), this.data.sigBytes -= n } return new r(i,n) } , e.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 } , e.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] } , e.prototype.pkcs7pad = function(e) { for (var t = 4 * this.blockSize, n = t - e.sigBytes % t, i = n << 24 | n << 16 | n << 8 | n, a = [], o = 0; o < n; o += 4) a.push(i); var s = new r(a,n); e.concat(s) } , e.prototype.pkcs7Unpad = function(e) { var t = 255 & e.words[e.sigBytes - 1 >>> 2]; e.sigBytes -= t } , e.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) } , e.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 } , e.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, f = 1; f < this.nRounds; f++) { var h = n[u >>> 24] ^ i[l >>> 16 & 255] ^ a[m >>> 8 & 255] ^ o[255 & y] ^ r[d++] , c = 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 = h, l = c, 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 } , e.encrypt = function(t, r) { return (new e).encrypt(i.parse(t), i.parse(r)).toString() } , e.prototype.encrypt = function(e, t) { this.key = t, this.data = new r, this.nDataBytes = 0, this.doReset(); var i = n.parse("0000000000000000"); return this.iv = i && i.words, this.data.concat(e), this.nDataBytes += e.sigBytes, this.pkcs7pad(this.data), this.process() } , e.decrypt = function(t, r) { return (new e).decrypt(i.parse(t), i.parse(r)).toString() } , e.prototype.decrypt = function(e, t) { this.key = t, this.data = new r, this.nDataBytes = 0, this.doReset(); var i = n.parse("0000000000000000"); this.iv = i && i.words, this.data.concat(e), this.nDataBytes += e.sigBytes; var a = this.process(); return this.pkcs7Unpad(a), a } , e }(); e.AES = t; var r = function() { function e(e, t) { void 0 === e && (e = null), void 0 === t && (t = null), e = this.words = e || [], this.sigBytes = null != t ? t : 4 * e.length } return e.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() } , e.prototype.concat = function(e) { if (this.clamp(), this.sigBytes % 4) for (var t = 0; t < e.sigBytes; t++) { var r = e.words[t >>> 2] >>> 24 - t % 4 * 8 & 255; this.words[this.sigBytes + t >>> 2] |= r << 24 - (this.sigBytes + t) % 4 * 8 } else if (e.words.length > 65535) for (var t = 0; t < e.sigBytes; t += 4) this.words[this.sigBytes + t >>> 2] = e.words[t >>> 2]; else this.words.push.apply(this.words, e.words); return this.sigBytes += e.sigBytes, this } , e.prototype.clamp = function() { this.words[this.sigBytes >>> 2] &= 4294967295 << 32 - this.sigBytes % 4 * 8, this.words.length = Math.ceil(this.sigBytes / 4) } , e }() , n = function() { function e() {} return e.parse = function(e) { for (var t = [], n = 0; n < e.length; n += 2) t[n >>> 3] |= parseInt(e.substr(n, 2), 16) << 24 - n % 8 * 4; return new r(t,e.length / 2) } , e }() , i = function() { function e() {} return e.parse = function(t) { var n = t.length , i = e.map.charAt(64); if (i) { var a = t.indexOf(i); -1 != a && (n = a) } for (var o = [], s = 0, u = 0; u < n; u++) if (u % 4) { var l = this.map.indexOf(t.charAt(u - 1)) << u % 4 * 2 , m = this.map.indexOf(t.charAt(u)) >>> 6 - u % 4 * 2; o[s >>> 2] |= (l | m) << 24 - s % 4 * 8, s++ } return new r(o,s) } , e.map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", e }() }(t = e.Crypt || (e.Crypt = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() { this.BI_FP = 52 } return e.staticConstructor = function() { for (var t = "0".charCodeAt(0), r = 0; r <= 9; ++r) e.BI_RC[t++] = r; t = "a".charCodeAt(0); for (var r = 10; r < 36; ++r) e.BI_RC[t++] = r; t = "A".charCodeAt(0); for (var r = 10; r < 36; ++r) e.BI_RC[t++] = r } , e.fromInt = function(t) { var r = new e; return r.fromInt(t), r } , Object.defineProperty(e.prototype, "DV", { get: function() { return 1 << e.dbits }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "DB", { get: function() { return e.dbits }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "DM", { get: function() { return (1 << e.dbits) - 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "FV", { get: function() { return Math.pow(2, this.BI_FP) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "F1", { get: function() { return this.BI_FP - e.dbits }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "F2", { get: function() { return 2 * e.dbits - this.BI_FP }, enumerable: !0, configurable: !0 }), e.prototype.am = function(e, t, r, n, i, a) { var o = 16383 & t , s = t >> 14; while (--a >= 0) { var u = 16383 & this[e] , l = this[e++] >> 14 , m = s * u + l * o; u = o * u + ((16383 & m) << 14) + r[n] + i, i = (u >> 28) + (m >> 14) + s * l, r[n++] = 268435455 & u } return i } , e.int2char = function(t) { return (new e).int2char(t) } , e.prototype.int2char = function(t) { return e.BI_RM.charAt(t) } , e.prototype.intAt = function(t, r) { var n = e.BI_RC[t.charCodeAt(r)]; return null == n ? -1 : n } , e.prototype.copyTo = function(e) { for (var t = this.t - 1; t >= 0; --t) e[t] = this[t]; e.t = this.t, e.s = this.s } , e.prototype.fromInt = function(e) { this.t = 1, this.s = e < 0 ? -1 : 0, e > 0 ? this[0] = e : e < -1 ? this[0] = e + this.DV : this.t = 0 } , e.fromString = function(t, r) { void 0 === r && (r = 256); var n = new e; return n.fromString(t, r), n } , e.prototype.fromString = function(t, r) { void 0 === r && (r = 256); var n; if (16 == r) n = 4; else if (8 == r) n = 3; else if (256 == r) n = 8; else if (2 == r) n = 1; else if (32 == r) n = 5; else { if (4 != r) return void this.fromRadix(t, r); n = 2 } this.t = 0, this.s = 0; var i = t.length , a = !1 , o = 0; while (--i >= 0) { var s = 8 == n ? 255 & Number(t[i]) : this.intAt(t, i); if (s < 0) { "-" == t.charAt(i) && (a = !0); continue } a = !1, 0 == o ? this[this.t++] = s : o + n > this.DB ? (this[this.t - 1] |= (s & (1 << this.DB - o) - 1) << o, this[this.t++] = s >> this.DB - o) : this[this.t - 1] |= s << o, o += n, o >= this.DB && (o -= this.DB) } 8 == n && 0 != (128 & Number(t[0])) && (this.s = -1, o > 0 && (this[this.t - 1] |= (1 << this.DB - o) - 1 << o)), this.clamp(), a && e.ZERO.subTo(this, this) } , e.prototype.clamp = function() { var e = this.s & this.DM; while (this.t > 0 && this[this.t - 1] == e) --this.t } , e.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 (o-- > 0) { s < this.DB && (n = this[o] >> s) > 0 && (i = !0, a = this.int2char(n)); while (o >= 0) 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)), n > 0 && (i = !0), i && (a += this.int2char(n)) } return i ? a : "0" } , e.prototype.negate = function() { var t = new e; return e.ZERO.subTo(this, t), t } , e.prototype.abs = function() { return this.s < 0 ? this.negate() : this } , e.prototype.compareTo = function(e) { var t = this.s - e.s; if (0 != t) return t; var r = this.t; if (0 != (t = r - e.t)) return this.s < 0 ? -t : t; while (--r >= 0) if (0 != (t = this[r] - e[r])) return t; return 0 } , e.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 } , e.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) } , e.prototype.dlShiftTo = function(e, t) { for (var r = this.t - 1; r >= 0; --r) t[r + e] = this[r]; for (var r = e - 1; r >= 0; --r) t[r] = 0; t.t = this.t + e, t.s = this.s } , e.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 } , e.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; s >= 0; --s) t[s + a + 1] = this[s] >> n | o, o = (this[s] & i) << r; for (var s = a - 1; s >= 0; --s) t[s] = 0; t[a] = o, t.t = this.t + a + 1, t.s = this.s, t.clamp() } , e.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; n > 0 && (t[this.t - r - 1] |= (this.s & a) << i), t.t = this.t - r, t.clamp() } , e.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 : n > 0 && (t[r++] = n), t.t = r, t.clamp() } , e.prototype.multiplyTo = function(t, r) { var n = this.abs() , i = t.abs() , a = n.t; r.t = a + i.t; while (--a >= 0) r[a] = 0; for (var o = 0; o < i.t; ++o) r[o + n.t] = n.am(0, i[o], r, o, 0, n.t); r.s = 0, r.clamp(), this.s != t.s && e.ZERO.subTo(r, r) } , e.prototype.squareTo = function(e) { var t = this.abs() , r = e.t = 2 * t.t; while (--r >= 0) 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) } e.t > 0 && (e[e.t - 1] += t.am(r, t[r], e, 2 * r, 0, 1)), e.s = 0, e.clamp() } , e.prototype.divRemTo = function(t, r, n) { var i = t.abs(); if (i.t <= 0) return; var a = this.abs(); if (a.t < i.t) return null != r && e.fromInt(0), void (null != n && this.copyTo(n)); null == n && (n = new e); var o = new e , s = this.s , u = t.s , l = this.DB - this.nbits(i[i.t - 1]); l > 0 ? (i.lShiftTo(l, o), a.lShiftTo(l, n)) : (i.copyTo(o), a.copyTo(n)); var m = o.t , y = o[m - 1]; if (0 == y) return; var d = y * (1 << this.F1) + (m > 1 ? o[m - 2] >> this.F2 : 0) , f = this.FV / d , h = (1 << this.F1) / d , c = 1 << this.F2 , p = n.t , M = p - m , b = null == r ? new e : r; o.dlShiftTo(M, b), n.compareTo(b) >= 0 && (n[n.t++] = 1, n.subTo(b, n)), e.ONE.dlShiftTo(m, b), b.subTo(o, o); while (o.t < m) o[o.t++] = 0; while (--M >= 0) { var g = n[--p] == y ? this.DM : Math.floor(n[p] * f + (n[p - 1] + c) * h); if ((n[p] += o.am(0, g, n, M, 0, m)) < g) { o.dlShiftTo(M, b), n.subTo(b, n); while (n[p] < --g) n.subTo(b, n) } } null != r && (n.drShiftTo(m, r), s != u && e.ZERO.subTo(r, r)), n.t = m, n.clamp(), l > 0 && n.rShiftTo(l, n), s < 0 && e.ZERO.subTo(n, n) } , e.prototype.mod = function(t) { var r = new e; return this.abs().divRemTo(t, null, r), this.s < 0 && r.compareTo(e.ZERO) > 0 && t.subTo(r, r), r } , e.prototype.invDigit = function() { if (this.t < 1) return 0; var e = this[0]; if (0 == (1 & e)) return 0; var t = 3 & e; return t = t * (2 - (15 & e) * t) & 15, t = t * (2 - (255 & e) * t) & 255, t = t * (2 - ((65535 & e) * t & 65535)) & 65535, t = t * (2 - e * t % this.DV) % this.DV, t > 0 ? this.DV - t : -t } , e.prototype.isEven = function() { return 0 == (this.t > 0 ? 1 & this[0] : this.s) } , e.prototype.exp = function(t, r) { if (t > 4294967295 || t < 1) return e.ONE; var n = new e , i = new e , a = r.convert(this) , o = this.nbits(t) - 1; a.copyTo(n); while (--o >= 0) if (r.sqrTo(n, i), (t & 1 << o) > 0) r.mulTo(i, a, n); else { var s = n; n = i, i = s } return r.revert(n) } , e.prototype.modPowInt = function(e, t) { var n; return n = e < 256 || t.isEven() ? new r(t) : new i(t), this.exp(e, n) } , e.prototype.clone = function() { var t = new e; return this.copyTo(t), t } , e.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] } , e.prototype.byteValue = function() { return 0 == this.t ? this.s : this[0] << 24 >> 24 } , e.prototype.shortValue = function() { return 0 == this.t ? this.s : this[0] << 16 >> 16 } , e.prototype.chunkSize = function(e) { return Math.floor(Math.LN2 * this.DB / Math.log(e)) } , e.prototype.signum = function() { return this.s < 0 ? -1 : this.t <= 0 || 1 == this.t && this[0] <= 0 ? 0 : 1 } , e.prototype.toRadix = function(t) { if (null == t && (t = 10), 0 == this.signum() || t < 2 || t > 36) return "0"; var r = this.chunkSize(t) , n = Math.pow(t, r) , i = e.fromInt(n) , a = new e , o = new e , s = ""; this.divRemTo(i, a, o); while (a.signum() > 0) s = (n + o.intValue()).toString(t).substr(1) + s, a.divRemTo(i, a, o); return o.intValue().toString(t) + s } , e.prototype.fromRadix = function(t, r) { this.fromInt(0), null == r && (r = 10); for (var n = this.chunkSize(r), i = Math.pow(r, n), a = !1, o = 0, s = 0, u = 0; u < t.length; ++u) { var l = this.intAt(t, u); if (l < 0) { "-" == t.charAt(u) && 0 == this.signum() && (a = !0); continue } s = r * s + l, ++o >= n && (this.multiply2(i), this.addOffset2(s, 0), o = 0, s = 0) } o > 0 && (this.multiply2(Math.pow(r, o)), this.addOffset2(s, 0)), a && e.ZERO.subTo(this, this) } , e.fromNumber = function(t, r, n) { var i = new e; return i.fromNumber(t, r, n), i } , e.prototype.fromNumber = function(t, r, n) { if (t < 2) this.fromInt(1); else { this.fromNumber2(t, n), this.testBit(t - 1) || this.bitwiseTo(e.ONE.shiftLeft(t - 1), this.op_or, this), this.isEven() && this.addOffset2(1, 0); while (!this.isProbablePrime(r)) this.addOffset2(2, 0), this.bitLength() > t && this.subTo(e.ONE.shiftLeft(t - 1), this) } } , e.prototype.fromNumber2 = function(e, t) { var r = [] , n = 7 & e; r.length = (e >> 3) + 1, t.nextBytes(r), n > 0 ? r[0] &= (1 << n) - 1 : r[0] = 0, this.fromString(r, 256) } , e.prototype.toByteArray = function() { var e = this.t , t = []; t[0] = this.s; var r = this.DB - e * this.DB % 8, n, i = 0; if (e-- > 0) { r < this.DB && (n = this[e] >> r) != (this.s & this.DM) >> r && (t[i++] = n | this.s << this.DB - r); while (e >= 0) 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, (i > 0 || n != this.s) && (t[i++] = n) } return t } , e.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() } , e.prototype.op_or = function(e, t) { return e | t } , e.prototype.shiftLeft = function(t) { var r = new e; return t < 0 ? this.rShiftTo(-t, r) : this.lShiftTo(t, r), r } , e.prototype.shiftRight = function(t) { var r = new e; return t < 0 ? this.lShiftTo(-t, r) : this.rShiftTo(t, r), r } , e.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 } , e.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 } , e.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) } , e.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, n > 0 ? t[r++] = n : n < -1 && (t[r++] = this.DV + n), t.t = r, t.clamp() } , e.prototype.add = function(t) { var r = new e; return this.addTo(t, r), r } , e.prototype.subtract = function(t) { var r = new e; return this.subTo(t, r), r } , e.prototype.multiply = function(t) { var r = new e; return this.multiplyTo(t, r), r } , e.prototype.square = function() { var t = new e; return this.squareTo(t), t } , e.prototype.divide = function(t) { var r = new e; return this.divRemTo(t, r, null), r } , e.prototype.remainder = function(t) { var r = new e; return this.divRemTo(t, null, r), r } , e.prototype.multiply2 = function(e) { this[this.t] = this.am(0, e - 1, this, 0, 0, this.t), ++this.t, this.clamp() } , e.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] } , e.prototype.multiplyLowerTo = function(e, t, r) { var n = Math.min(this.t + e.t, t); r.s = 0, r.t = n; while (n > 0) 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() } , e.prototype.multiplyUpperTo = function(e, t, r) { --t; var n = r.t = this.t + e.t - t; r.s = 0; while (--n >= 0) 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) } , e.prototype.modPow = function(t, a) { var o = t.bitLength(), s, u = e.fromInt(1), l; if (o <= 0) return u; s = o < 18 ? 1 : o < 48 ? 3 : o < 144 ? 4 : o < 768 ? 5 : 6, l = o < 8 ? new r(a) : a.isEven() ? new n(a) : new i(a); var m = [] , y = 3 , d = s - 1 , f = (1 << s) - 1; if (m[1] = l.convert(this), s > 1) { var h = new e; l.sqrTo(m[1], h); while (y <= f) m[y] = new e, l.mulTo(h, m[y - 2], m[y]), y += 2 } var c = t.t - 1, p, M = !0, b = new e, g; o = this.nbits(t[c]) - 1; while (c >= 0) { o >= d ? p = t[c] >> o - d & f : (p = (t[c] & (1 << o + 1) - 1) << d - o, c > 0 && (p |= t[c - 1] >> this.DB + o - d)), y = s; while (0 == (1 & p)) p >>= 1, --y; if ((o -= y) < 0 && (o += this.DB, --c), M) m[p].copyTo(u), M = !1; else { while (y > 1) l.sqrTo(u, b), l.sqrTo(b, u), y -= 2; y > 0 ? l.sqrTo(u, b) : (g = u, u = b, b = g), l.mulTo(b, m[p], u) } while (c >= 0 && 0 == (t[c] & 1 << o)) l.sqrTo(u, b), g = u, u = b, b = g, --o < 0 && (o = this.DB - 1, --c) } return l.revert(u) } , e.prototype.gcd = function(e) { var t = this.s < 0 ? this.negate() : this.clone() , r = e.s < 0 ? e.negate() : e.clone(); if (t.compareTo(r) < 0) { var n = t; t = r, r = n } var i = t.getLowestSetBit() , a = r.getLowestSetBit(); if (a < 0) return t; i < a && (a = i), a > 0 && (t.rShiftTo(a, t), r.rShiftTo(a, r)); while (t.signum() > 0) (i = t.getLowestSetBit()) > 0 && t.rShiftTo(i, t), (i = r.getLowestSetBit()) > 0 && r.rShiftTo(i, r), t.compareTo(r) >= 0 ? (t.subTo(r, t), t.rShiftTo(1, t)) : (r.subTo(t, r), r.rShiftTo(1, r)); return a > 0 && r.lShiftTo(a, r), r } , e.prototype.modInt = function(e) { if (e <= 0) return 0; var t = this.DV % e , r = this.s < 0 ? e - 1 : 0; if (this.t > 0) { if (0 == t) r = this[0] % e; else for (var n = this.t - 1; n >= 0; --n) r = (t * r + this[n]) % e; return r } return 0 } , e.prototype.modInverse = function(t) { var r = t.isEven(); if (this.isEven() && r || 0 == t.signum()) return e.ZERO; var n = t.clone() , i = this.clone() , a = e.fromInt(1) , o = e.fromInt(0) , s = e.fromInt(0) , u = e.fromInt(1); while (0 != n.signum()) { while (n.isEven()) n.rShiftTo(1, n), r ? (a.isEven() && o.isEven() || (a.addTo(this, a), o.subTo(t, o)), a.rShiftTo(1, a)) : o.isEven() || o.subTo(t, o), o.rShiftTo(1, o); while (i.isEven()) i.rShiftTo(1, i), r ? (s.isEven() && u.isEven() || (s.addTo(this, s), u.subTo(t, u)), s.rShiftTo(1, s)) : u.isEven() || u.subTo(t, u), u.rShiftTo(1, u); n.compareTo(i) >= 0 ? (n.subTo(i, n), r && a.subTo(s, a), o.subTo(u, o)) : (i.subTo(n, i), r && s.subTo(a, s), u.subTo(o, u)) } if (0 != i.compareTo(e.ONE)) return e.ZERO; if (u.compareTo(t) >= 0) return u.subtract(t); if (!(u.signum() < 0)) return u; return u.addTo(t, u), u.signum() < 0 ? u.add(t) : u } , e.prototype.isProbablePrime = function(t) { var r, n = this.abs(); if (1 == n.t && n[0] <= e.lowprimes[e.lowprimes.length - 1]) { for (var i = 0; i < e.lowprimes.length; ++i) if (n[0] == e.lowprimes[i]) return !0; return !1 } if (n.isEven()) return !1; r = 1; while (r < e.lowprimes.length) { var a = e.lowprimes[r] , o = r + 1; while (o < e.lowprimes.length && a < e.lplim) a *= e.lowprimes[o++]; a = n.modInt(a); while (r < o) if (a % e.lowprimes[r++] == 0) return !1 } return n.millerRabin(t) } , e.prototype.millerRabin = function(t) { var r = this.subtract(e.ONE) , n = r.getLowestSetBit(); if (n <= 0) return !1; var i = r.shiftRight(n); (t = t + 1 >> 1) > e.lowprimes.length && (t = e.lowprimes.length); for (var a = new e, o = 0; o < t; ++o) { a.fromInt(e.lowprimes[Math.floor(Math.random() * e.lowprimes.length)]); var s = a.modPow(i, this); if (0 != s.compareTo(e.ONE) && 0 != s.compareTo(r)) { var u = 1; while (u++ < n && 0 != s.compareTo(r)) if (s = s.modPowInt(2, this), 0 == s.compareTo(e.ONE)) return !1; if (0 != s.compareTo(r)) return !1 } } return !0 } , e.BI_RM = "0123456789abcdefghijklmnopqrstuvwxyz", e.BI_RC = [], e.canary = 0xdeadbeefcafe, e.j_lm = 15715070 == (16777215 & e.canary), e.dbits = 28, e.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], e.lplim = (1 << 26) / e.lowprimes[e.lowprimes.length - 1], e.ZERO = e.fromInt(0), e.ONE = e.fromInt(1), e }(); e.BigInteger = t; var r = function() { function e(e) { this.m = e } return e.prototype.convert = function(e) { return e.s < 0 || e.compareTo(this.m) >= 0 ? e.mod(this.m) : e } , e.prototype.revert = function(e) { return e } , e.prototype.reduce = function(e) { e.divRemTo(this.m, null, e) } , e.prototype.mulTo = function(e, t, r) { e.multiplyTo(t, r), this.reduce(r) } , e.prototype.sqrTo = function(e, t) { e.squareTo(t), this.reduce(t) } , e }() , n = function(e) { function r(r) { var n = e.call(this, r) || this; return n.r2 = new t, n.q3 = new t, n.r2 = new t, n.q3 = new t, t.ONE.dlShiftTo(2 * r.t, n.r2), n.mu = n.r2.divide(r), n } return __extends(r, e), r.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 r = new t; return e.copyTo(r), this.reduce(r), r } , r.prototype.revert = function(e) { return e } , r.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 (e.compareTo(this.m) >= 0) e.subTo(this.m, e) } , r.prototype.sqrTo = function(e, t) { e.squareTo(t), this.reduce(t) } , r.prototype.mulTo = function(e, t, r) { e.multiplyTo(t, r), this.reduce(r) } , r }(r) , i = function(e) { function r(t) { var r = e.call(this, t) || this; return r.mp = t.invDigit(), r.mpl = 32767 & r.mp, r.mph = r.mp >> 15, r.um = (1 << t.DB - 15) - 1, r.mt2 = 2 * t.t, r } return __extends(r, e), r.prototype.convert = function(e) { var r = new t; return e.abs().dlShiftTo(this.m.t, r), r.divRemTo(this.m, null, r), e.s < 0 && r.compareTo(t.ZERO) > 0 && this.m.subTo(r, r), r } , r.prototype.revert = function(e) { var r = new t; return e.copyTo(r), this.reduce(r), r } , r.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 = t + this.m.t, e[r] += 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), e.compareTo(this.m) >= 0 && e.subTo(this.m, e) } , r.prototype.montSqrTo = function(e, t) { e.squareTo(t), this.reduce(t) } , r.prototype.montMulTo = function(e, t, r) { e.multiplyTo(t, r), this.reduce(r) } , r }(r) , a = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), t.prototype.nop = function(e) { return e } , t.prototype.mulTo = function(e, t, r) { e.multiplyTo(t, r) } , t.prototype.sqrTo = function(e, t) { e.squareTo(t) } , t }(r); t.staticConstructor() }(t = e.Crypt || (e.Crypt = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() { 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 } return t.prototype.verifyString = function(t, r) { r = this.base64toHex(r); var n = this.parseBigInt(r, 16) , i = this.doPublic(n) , a = i.toString(16).replace(/^1f+00/, ""); if (a.substring(0, e.SHA1.signature.length) != e.SHA1.signature) return !1; return a.substring(e.SHA1.signature.length) == e.SHA1.hex(t.stimulsoft.toUnicodeString()) } , t.prototype.base64toHex = function(t) { for (var r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", n = "=", i = "", a = 0, o, s = 0; s < t.length; ++s) { if (t.charAt(s) == n) break; var u = r.indexOf(t.charAt(s)); if (u < 0) continue; 0 == a ? (i += e.BigInteger.int2char(u >> 2), o = 3 & u, a = 1) : 1 == a ? (i += e.BigInteger.int2char(o << 2 | u >> 4), o = 15 & u, a = 2) : 2 == a ? (i += e.BigInteger.int2char(o), i += e.BigInteger.int2char(u >> 2), o = 3 & u, a = 3) : (i += e.BigInteger.int2char(o << 2 | u >> 4), i += e.BigInteger.int2char(15 & u), a = 0) } return 1 == a && (i += e.BigInteger.int2char(o << 2)), i } , t.prototype.parseBigInt = function(t, r) { return e.BigInteger.fromString(t, r) } , t.prototype.pkcs1pad2 = function(t, r) { if (r < t.length + 11) return null; var n = [] , i = t.length - 1; while (i >= 0 && r > 0) { var a = t.charCodeAt(i--); a < 128 ? n[--r] = a : a > 127 && a < 2048 ? (n[--r] = 63 & a | 128, n[--r] = a >> 6 | 192) : (n[--r] = 63 & a | 128, n[--r] = a >> 6 & 63 | 128, n[--r] = a >> 12 | 224) } n[--r] = 0; var o = new e.SecureRandom , s = []; while (r > 2) { s[0] = 0; while (0 == s[0]) o.nextBytes(s); n[--r] = s[0] } return n[--r] = 2, n[--r] = 0, e.BigInteger.fromString(n) } , t.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) : a > 191 && 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 } , t.prototype.setPublic = function(e, t) { null != (e = this.base64toHex(e)) && null != t && e.length > 0 && t.length > 0 && (this.n = this.parseBigInt(e, 16), this.e = parseInt(t, 16)) } , t.prototype.setPrivate = function(e, t, r) { null != e && null != t && e.length > 0 && t.length > 0 && (this.n = this.parseBigInt(e, 16), this.e = parseInt(t, 16), this.d = this.parseBigInt(r, 16)) } , t.prototype.setPrivateEx = function(e, t, r, n, i, a, o, s) { null != e && null != t && e.length > 0 && t.length > 0 && (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)) } , t.prototype.generate = function(t, r) { var n = new e.SecureRandom , i = t >> 1; this.e = parseInt(r, 16); for (var a = e.BigInteger.fromString(r, 16); ; ) { for (; ; ) if (this.p = e.BigInteger.fromNumber(t - i, 1, n), 0 == this.p.subtract(e.BigInteger.ONE).gcd(a).compareTo(e.BigInteger.ONE) && this.p.isProbablePrime(10)) break; for (; ; ) if (this.q = e.BigInteger.fromNumber(i, 1, n), 0 == this.q.subtract(e.BigInteger.ONE).gcd(a).compareTo(e.BigInteger.ONE) && this.q.isProbablePrime(10)) break; if (this.p.compareTo(this.q) <= 0) { var o = this.p; this.p = this.q, this.q = o } var s = this.p.subtract(e.BigInteger.ONE) , u = this.q.subtract(e.BigInteger.ONE) , l = s.multiply(u); if (0 == l.gcd(a).compareTo(e.BigInteger.ONE)) { this.n = this.p.multiply(this.q), this.d = a.modInverse(l), this.dmp1 = this.d.mod(s), this.dmq1 = this.d.mod(u), this.coeff = this.q.modInverse(this.p); break } } } , t.prototype.doPublic = function(e) { return e.modPowInt(this.e, this.n) } , t.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) } , t.prototype.encrypt = function(e) { var t = this.pkcs1pad2(e, this.n.bitLength() + 7 >> 3); if (null == t) return null; var r = this.doPublic(t); if (null == r) return null; var n = r.toString(16); return 0 == (1 & n.length) ? n : "0" + n } , t.prototype.decrypt = function(e) { var t = this.parseBigInt(e, 16) , r = this.doPrivate(t); if (null == r) return null; return this.pkcs1unpad2(r, this.n.bitLength() + 7 >> 3) } , t }(); e.RSAKey = t }(t = e.Crypt || (e.Crypt = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() { this.blockLength = 64, this.state = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.K = [1518500249, 1859775393, 2400959708, 3395469782] } return e.hex = function(t) { return (new e).hex(t) } , e.prototype.hex = function(e) { return this.toHex(this.getMD(e)) } , e.prototype.getMD = function(e) { var t = []; return t = this.unpack(e), t = this.paddingData(t), this.round(t) } , e.prototype.rotl = function(e, t) { return e << t | e >>> 32 - t } , e.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) } , e.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])) } , e.prototype.toHex = function(e) { for (var t = "", r = 0; r < e.length; r++) t += (e[r] > 15 ? "" : "0") + e[r].toString(16); return t } , e.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 } , e.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 } , e.prototype.unpack = function(e) { for (var t = [], r = 0, n, i = 0; i < e.length; i++) n = e.charCodeAt(i), n <= 255 ? t[r++] = n : (t[r++] = n >>> 8, t[r++] = 255 & n); return t } , e.prototype.pack = function(e) { var t = ""; for (var r in e) t += String.fromCharCode(e[r]); return t } , e.signature = "3021300906052b0e03021a05000414", e }(); e.SHA1 = t }(t = e.Crypt || (e.Crypt = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.prototype.rotate = function(e, t) { "use strict"; return e >>> t | e << 32 - t } , e.prototype.sigma = function(e, t, r, n) { "use strict"; return this.rotate(e, t) ^ this.rotate(e, r) ^ e >>> n } , e.prototype.sum = function(e, t) { "use strict"; 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) } , e.prototype.aggregate = function(e, t) { "use strict"; var r = (65535 & e) + (65535 & t); return (t = (e >> 16) + (t >> 16) + (r >> 16)) << 16 | 65535 & r } , e.prototype.conglomerate = function(e, t) { "use strict"; 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++) a = r[i], o += 65535 & a, s += a >>> 16; for (s += o >>> 16, e[t + 1] = s << 16 | 65535 & o, o = s >>> 16, s = 0; i < r.length; i++) a = r[i], o += 65535 & a, s += a >>> 16; s += o >>> 16, e[t] = s << 16 | 65535 & o } , e.prototype.compress = function(t, r) { "use strict"; var n = [t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7]] , i = [] , a = 0; while (a < 16) i[a] = r[(a << 2) + 3] | r[(a << 2) + 2] << 8 | r[(a << 2) + 1] << 16 | r[a << 2] << 24, a++; for (a = 0; a < 64; a++) for (var o = n[0], s = n[1], u = n[2], l = n[4], m = n[7] + (this.rotate(l, 6) ^ this.rotate(l, 11) ^ this.rotate(l, 25)) + (l & n[5] ^ ~l & n[6]) + e.ROUNDS_256[a] + (a < 16 ? i[a] : this.sum(i, a)), y = 7; y >= 0; y--) n[y] = 4 === y ? this.aggregate(n[3], m) : 0 === y ? this.aggregate(m, (this.rotate(o, 2) ^ this.rotate(o, 13) ^ this.rotate(o, 22)) + (o & s ^ o & u ^ s & u)) : n[y - 1]; for (a = 0; a < 8; a++) t[a] += n[a] } , e.prototype.hash = function(t, r, n) { "use strict"; var i = "", a = (r ? 224 === n ? e.HASH_512_224 : 256 === n ? e.HASH_512_256 : 384 === n ? e.HASH_384 : e.HASH_512 : 224 === n ? e.HASH_224 : e.HASH_256).slice(), o = t.length, s = [], u = 0, l = !0, m = 0, y = 0, d = 0, f = 0, h = 0, c, p; if (r) { var M = [0, 0, 0, 0, 0, 0, 0, 0] , b = [24, 16, 8, 0] , g = void 0; do { for (s[0] = u, c = 1; c <= 32; c++) s[c] = 0; if ("string" == typeof t) for (c = d; m < o && c < 128; ++m) { var v = t.charCodeAt(m); v < 128 ? s[c >> 2] |= v << b[3 & c++] : v < 2048 ? (s[c >> 2] |= (192 | v >> 6) << b[3 & c++], s[c >> 2] |= (128 | 63 & v) << b[3 & c++]) : v < 55296 || v >= 57344 ? (s[c >> 2] |= (224 | v >> 12) << b[3 & c++], s[c >> 2] |= (128 | v >> 6 & 63) << b[3 & c++], s[c >> 2] |= (128 | 63 & v) << b[3 & c++]) : (v = 65536 + ((1023 & v) << 10 | 1023 & t.charCodeAt(++m)), s[c >> 2] |= (240 | v >> 18) << b[3 & c++], s[c >> 2] |= (128 | v >> 12 & 63) << b[3 & c++], s[c >> 2] |= (128 | v >> 6 & 63) << b[3 & c++], s[c >> 2] |= (128 | 63 & v) << b[3 & c++]) } else for (c = d; m < o && c < 128; ++m) s[c >> 2] |= t[m] << b[3 & c++]; for (y += c - d, d = c - 128, m === o && (s[c >> 2] |= [-2147483648, 8388608, 32768, 128][3 & c], ++m), u = s[32], m > o && c < 112 && (s[31] = y << 3, l = !1), p = 32; p < 160; p += 2) { var S = s[p - 30] , w = s[p - 29] , N = s[p - 4] , I = s[p - 3]; this.conglomerate(s, p, s[p - 13], s[p - 31], (w >>> 1 | S << 31) ^ (w >>> 8 | S << 24) ^ (w >>> 7 | S << 25), (I >>> 19 | N << 13) ^ (N >>> 29 | I << 3) ^ (I >>> 6 | N << 26), s[p - 14], s[p - 32], (S >>> 1 | w << 31) ^ (S >>> 8 | w << 24) ^ S >>> 7, (N >>> 19 | I << 13) ^ (I >>> 29 | N << 3) ^ N >>> 6) } for (g = a.slice(), M[6] = g[2] & g[4], M[7] = g[3] & g[5], c = 0; c < 160; c += 8) for (p = 0; p < 8; p += 2) { var j = p > 0 ? 8 - p : 0 , k = [0, 0, 0, 0]; this.conglomerate(k, 0, e.ROUNDS_512[c + p + 1], s[c + p + 1], g[9 + j] & g[2 === p ? 9 : 11 + j] ^ ~g[9 + j] & g[6 === p ? 15 : 13 - p], (g[9 + j] >>> 14 | g[8 + j] << 18) ^ (g[9 + j] >>> 18 | g[8 + j] << 14) ^ (g[8 + j] >>> 9 | g[9 + j] << 23), g[15 - p], e.ROUNDS_512[c + p], s[c + p], g[8 + j] & g[2 === p ? 8 : 10 + j] ^ ~g[8 + j] & g[6 === p ? 14 : 12 - p], (g[8 + j] >>> 14 | g[9 + j] << 18) ^ (g[8 + j] >>> 18 | g[9 + j] << 14) ^ (g[9 + j] >>> 9 | g[8 + j] << 23), g[14 - p]), this.conglomerate(k, 2, (M[p + 1] = g[1 + j] & g[2 === p ? 1 : 3 + j]) ^ g[1 + j] & g[(6 === p ? p : 4 - p) + 1] ^ M[7 - j], (g[1 + j] >>> 28 | g[j] << 4) ^ (g[j] >>> 2 | g[1 + j] << 30) ^ (g[j] >>> 7 | g[1 + j] << 25), (M[p] = g[j] & g[2 === p ? 0 : 2 + j]) ^ g[j] & g[6 === p ? p : 4 - p] ^ M[6 - j], (g[j] >>> 28 | g[1 + j] << 4) ^ (g[1 + j] >>> 2 | g[j] << 30) ^ (g[1 + j] >>> 7 | g[j] << 25)), this.conglomerate(g, 14 - p, g[7 - p], k[1], g[6 - p], k[0]), this.conglomerate(g, 6 - p, k[3], k[1], k[2], k[0]) } for (c = 0; c < 16; c += 2) this.conglomerate(a, c, a[c + 1], g[c + 1], a[c], g[c]) } while (l) } else { for (m = f >> 3 & 63, d = 63 & o, (f += o << 3) < o << 3 && h++, h += o >> 29, c = 0; c + 63 < o; c += 64) { if ("string" == typeof t) for (p = m; p < 64; p++) s[p] = t.charCodeAt(y++); else for (p = m; p < 64; p++) s[p] = t[y++]; this.compress(a, s), m = 0 } if ("string" == typeof t) for (c = 0; c < d; c++) s[c] = t.charCodeAt(y++); else for (c = 0; c < d; c++) s[c] = t[y++]; for (m = f >> 3 & 63, s[m++] = 128, c = m; c < (m > 56 ? 64 : 56); c++) s[c] = 0; if (m > 56) for (this.compress(a, s), c = 0; c < 56; c++) s[c] = 0; while (c < 64) for (p = 24; p >= 0; p -= 8, c++) s[c] = (c >= 60 ? f : h) >>> p & 255; this.compress(a, s) } if ("string" == typeof t) { for (c = 0; c < (512 === n ? 16 : 384 === n ? 12 : 256 === n ? 8 : 7); c++) for (p = 28; p >= 0; p -= 4) i += e.HEX_DIGITS.charAt(a[c] >>> p & 15); return i } var _ = []; for (c = 0; c < (512 === n ? 16 : 384 === n ? 12 : 256 === n ? 8 : 7); c++) for (p = 24; p >= 0; p -= 8) _.push(a[c] >>> p & 255); return _ } , e.prototype.SHA2_224 = function(e) { "use strict"; return this.hash(e, !1, 224) } , e.prototype.SHA2_256 = function(e) { "use strict"; return this.hash(e, !1, 256) } , e.prototype.SHA2_384 = function(e) { "use strict"; return this.hash(e, !0, 384) } , e.prototype.SHA2_512 = function(e) { "use strict"; return this.hash(e, !0, 512) } , e.prototype.SHA2_512_224 = function(e) { "use strict"; return this.hash(e, !0, 224) } , e.prototype.SHA2_512_256 = function(e) { "use strict"; return this.hash(e, !0, 256) } , e.SHA256 = function(t) { return (new e).hash(t, !1, 256) } , e.HASH_224 = [3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428], e.HASH_256 = [1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225], e.HASH_384 = [3418070365, 3238371032, 1654270250, 914150663, 2438529370, 812702999, 355462360, 4144912697, 1731405415, 4290775857, 2394180231, 1750603025, 3675008525, 1694076839, 1203062813, 3204075428], e.HASH_512 = [1779033703, 4089235720, 3144134277, 2227873595, 1013904242, 4271175723, 2773480762, 1595750129, 1359893119, 2917565137, 2600822924, 725511199, 528734635, 4215389547, 1541459225, 327033209], e.HASH_512_224 = [2352822216, 424955298, 1944164710, 2312950998, 502970286, 855612546, 1738396948, 1479516111, 258812777, 2077511080, 2011393907, 79989058, 1067287976, 1780299464, 286451373, 2446758561], e.HASH_512_256 = [573645204, 4230739756, 2673172387, 3360449730, 596883563, 1867755857, 2520282905, 1497426621, 2519219938, 2827943907, 3193839141, 1401305490, 721525244, 746961066, 246885852, 2177182882], e.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], e.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], e.HEX_DIGITS = "0123456789abcdef", e }(); e.SHA2 = t }(t = e.Crypt || (e.Crypt = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() { if (null == this.pool) { this.pool = [], this.position = 0; var e = void 0; while (this.position < r.poolSize) e = Math.floor(65536 * Math.random()), this.pool[this.position++] = e >>> 8, this.pool[this.position++] = 255 & e; this.position = 0, this.seedTime() } } return e.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 >= r.poolSize && (this.position -= r.poolSize) } , e.prototype.seedTime = function() { this.seedInteger((new Date).getTime()) } , e.prototype.getByte = function() { if (null == this.state) { for (this.seedTime(), this.state = new r, 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() } , e.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() } , e.prototype.createNextBytes = function(e) { var t = []; return this.nextBytes(t, e), t } , e }(); e.SecureRandom = t; var r = function() { function e() { this.i = 0, this.j = 0, this.s = [] } return e.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 } , e.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] } , e.poolSize = 256, e }() }(t = e.Crypt || (e.Crypt = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function() { function r(e) { this._column = e } return r.createStorage = function(r, n) { switch (n) { case String: case e.Char: return new t.StringStorage(r); case Number: case e.SByte: case e.Byte: case e.Int: case e.Int16: case e.Int32: case e.Int64: case e.UInt16: case e.UInt32: case e.UInt64: case e.Decimal: case e.Double: case e.Single: return new t.NumberStorage(r); case Object.stimulsoft.getType(): return new t.ObjectStorage(r); case Boolean: return new t.BooleanStorage(r); case e.ByteArray: return new t.ByteArrayStorage(r); case e.DateTime: return new t.DateTimeStorage(r); default: return new t.StringStorage(r) } } , r.prototype.getValue = function(e) { return this.values[e] } , r.prototype.setValue = function(e, t) { this.values[e] = t } , r.prototype.setStorage = function() { this.values = [] } , r }(); t.DataStorage = r }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.setValue = function(e, t) { this.values[e] = null != t && t.stimulsoft.toBoolean() } , t }(e.DataStorage); e.BooleanStorage = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t }(e.DataStorage); e.ByteArrayStorage = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.setValue = function(e, t) { this.values[e] = null != t ? t.toString().charAt(0) : "" } , t }(e.DataStorage); e.CharStorage = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.DBNull = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t(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() } return t.prototype.clone = function() { var e = new t(this.columnName,this.dataType); return e._caption = this._caption, e.table = this.table, e } , Object.defineProperty(t.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: !0, configurable: !0 }), t.prototype.getRecord = function(e) { return this.storage.getValue(e) } , t.prototype.setRecord = function(e, t) { this.storage.setValue(e, t) } , t.prototype.setTable = function(e) { this.table = e } , t.prototype.delete = function() {} , t.prototype.insureStorage = function() { null == this.storage && (this.storage = e.DataStorage.createStorage(this, this.dataType)) } , t }(); e.DataColumn = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.CollectionBase , n = function(e) { function t(t) { var r = e.call(this) || this; return r.table = t, r } return __extends(t, e), t.prototype.baseAdd = function(e) { e.setTable(this.table) } , t.prototype.baseRemove = function(e) { e.setTable(null) } , t.prototype.add = function(e) { this.list.push(e), this.baseAdd(e) } , t.prototype.contains = function(t) { if ("string" == typeof t) return null != this.getByName(t); return e.prototype.contains.call(this, t) } , t.prototype.remove = function(e) { var t = this.list.lastIndexOf(e); -1 != t && this.list.splice(t, 1), this.baseRemove(e) } , t.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 } , t.prototype.getIndexByName = function(e) { var t = this.getByName(e); return this.list.indexOf(t) } , t }(r); t.DataColumnCollection = n }(r = t.Data || (t.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t(t, r) { if (r) { this.columns = Array.create(e.DataColumn, t.length); for (var n = 0; n < t.length; n++) this.columns[n] = t[n] } else this.columns = t } return Object.defineProperty(t.prototype, "table", { get: function() { return this.columns[0].table }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "columnsReference", { get: function() { return this.columns }, enumerable: !0, configurable: !0 }), t.prototype.getKeyValues = function(e) { for (var t = new Array, r = 0; r < this.columns.length; r++) t.push(this.columns[r].getRecord(e)); return t } , t.prototype.getRows = function(e) { var t = this.columns[0].columnName , r = e[0]; if (this.columns.length > 1) for (var n = 1; n < this.columns.length; n++) t += "&" + this.columns[n].columnName, r += "&" + e[n]; var 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.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; y < this.columns.length; y++) { var d = this.columns[y]; m.getValue(d.columnName) != e[y] && (l = !1) } l && i.push(m) } return i } , t.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 } , t }(); e.DataKey = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t(e, t, r) { this.create(e, t, r) } return Object.defineProperty(t.prototype, "parentTable", { get: function() { return this.parentKey.table }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "childTable", { get: function() { return this.childKey.table }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "parentColumns", { get: function() { return this.parentKey.toArray() }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "childColumns", { get: function() { return this.childKey.toArray() }, enumerable: !0, configurable: !0 }), t.prototype.create = function(t, r, n) { this.parentKey = new e.DataKey(r,!0), this.childKey = new e.DataKey(n,!0), this.relationName = null == t ? "" : t } , t.prototype.setDataSet = function(e) { this.dataSet != e && (this.dataSet = e) } , t.getChildRows = function(e, t, r) { var n = r.getKeyValues(e); return t.getRows(n) } , t.getParentRows = function(e, t, r) { var n = r.getKeyValues(t); return e.getRows(n) } , t }(); e.DataRelation = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.CollectionBase , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.addCore = function(e) { if (null == e) return; var t = this.getDataSet(); if (e.dataSet === t) return; if (null != e.dataSet) return } , t.prototype.add = function(e) { this.addCore(e) } , t.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 } } } , t.prototype.internalIndexOf = function(e) { var t = -1; if (null != e && e.length > 0) for (var r = this.list.length, n = 0; n < r; n++) { var i = this.getByIndex(n); if (i.relationName.toLowerCase() == e.toLowerCase()) return n; t = -1 == t ? n : -2 } return t } , t.prototype.contains = function(t) { if ("string" == typeof t) return this.internalIndexOf(t) >= 0; return e.prototype.contains.call(this, t) } , t.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 } , t.prototype.getDataSet = function() { return null } , t }(r); t.DataRelationCollection = n }(r = t.Data || (t.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() { this.recordIndex = -1 } return t.create = function(e) { var r = new t; return r.table = e, r.columns = e.columns, r } , t.prototype.getColumnIndex = function(t) { if ("number" == typeof t) return t; if ("string" == typeof t) return this.columns.getIndexByName(t); if (t.stimulsoft.is(e.DataColumn)) return this.columns.indexOf(t); return -1 } , t.prototype.gett = function(e) { return this.getValue(e) } , t.prototype.sett = function(e, t) { this.setValue(e, t) } , Object.defineProperty(t.prototype, "itemArray", { get: function() { var e, t, 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 (t) { e = { error: t } } finally { try { i && !i.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r }, enumerable: !0, configurable: !0 }), t.prototype.getValue = function(e) { var t = this.getColumnIndex(e) , r = this.columns.getByIndex(t); -1 == this.recordIndex && (this.recordIndex = this.table.rows.indexOf(this)); var n = this.recordIndex; if (void 0 != r) return r.getRecord(n); return null } , t.prototype.setValue = function(e, t) { var r = this.getColumnIndex(e) , n = this.columns.getByIndex(r); -1 == this.recordIndex && (this.recordIndex = this.table.rows.indexOf(this)), -1 == this.recordIndex && (this.recordIndex = this.table.rows.length); var i = this.recordIndex; void 0 != n && n.setRecord(i, t) } , t.prototype.getValueByIndex = function(e) { var t = this.columns.getByIndex(e) , r = this.table.rows.indexOf(this); if (void 0 != t) return t.getRecord(r); return null } , t.prototype.setValueByIndex = function(e, t) { var r = this.columns.getByIndex(e) , n = this.table.rows.indexOf(this); void 0 != r && r.setRecord(n, t) } , t.prototype.getDataColumn = function(e) { return this.columns.getByName(e) } , t.prototype.getChildRows = function(t) { var r = this.table.childRelations.getByName(t); if (null == r) return []; return e.DataRelation.getChildRows(r.parentKey, r.childKey, this) } , t.prototype.getParentRow = function(t) { var r = this.table.parentRelations.getByName(t); if (null == r) return null; return e.DataRelation.getParentRows(r.parentKey, r.childKey, this)[0] } , t.prototype.getParentRows = function(t) { var r = this.table.parentRelations.getByName(t); if (null == r) return []; return e.DataRelation.getParentRows(r.parentKey, r.childKey, this) } , t.prototype.getKeyValues = function(e) { var t = this.table.rows.indexOf(this); return e.getKeyValues(t) } , t.copyToDataTable = function(t) { var r, n, i, a, o = new e.DataTable; try { for (var s = __values(t.firstOrDefault().columns.list), u = s.next(); !u.done; u = s.next()) { var l = u.value; o.columns.add(new e.DataColumn(l.columnName,l.dataType)) } } catch (e) { r = { error: e } } finally { try { u && !u.done && (n = s.return) && n.call(s) } finally { if (r) throw r.error } } try { for (var m = __values(t), y = m.next(); !y.done; y = m.next()) { var d = y.value; o.loadDataRow(d.itemArray) } } catch (e) { i = { error: e } } finally { try { y && !y.done && (a = m.return) && a.call(m) } finally { if (i) throw i.error } } return o } , t }(); e.DataRow = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.CollectionBase , n = function(e) { function t(t) { var r = e.call(this) || this; return r.table = t, r } return __extends(t, e), t.prototype.add = function(e) { return this.table.addRow(e) } , t.prototype.remove = function(e) { this.table.removeRow(e) } , t.prototype.addArray = function(e) { return e.recordIndex = this.list.push(e) - 1, e.recordIndex } , t.prototype.removeArray = function(e) { var t = this.list.lastIndexOf(e); -1 != t && this.list.splice(t, 1) } , t.prototype.copyTo = function(e, t) { for (var r = 0; r < this.length; r++) e[t] = this.getByIndex(r), t++ } , t.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 } } } , t.prototype.quickSort = function(e, t, r) { var n = t , i = r , a = this.list[(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) } , t.prototype.sort = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; if (this.list.length > 0) { var r = null , n = null , i = 1; null != e && e.length > 0 && ("function" == typeof e[0] ? r = e[0] : n = e[0].toString(), e.length > 1 && !e[1].toString() && (i = -1)), null == n && (n = this.table.columns.getByIndex(0).columnName), this.quickSort(r, 0, this.list.length - 1) } } , t.prototype.gett = function(e, t) { return this.getByIndex(e).gett(t) } , t }(r); t.DataRowCollection = n }(r = t.Data || (t.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.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 (t += e.substring(i, e.length), e = t, t = "", e.charCodeAt(0) >= 48 && e.charCodeAt(0) <= 57 && (t += "_", t += this.toHex(e.charCodeAt(0)), t += "_", n++); n < e.length; n++) { var o = e.charCodeAt(n); o < 48 || o > 57 && o < 65 || o > 90 && o < 95 || o > 122 && o < 160 ? (t += "_", t += this.toHex(o), t += "_") : t += e.substr(n, 1) } return t } , e.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) } , e.fromHex = function(e) { if (e > "9") return (e <= "F" ? e.charCodeAt(0) - "A".charCodeAt(0) : e.charCodeAt(0) - "a".charCodeAt(0)) + 10; return e.charCodeAt(0) - "0".charCodeAt(0) } , e.toHex = function(e) { var t = e.toString(16).toUpperCase() , r = ""; switch (t.length) { case 1: r += "x000" + t; break; case 2: r += "x00" + t; break; case 3: r += "x0" + t; break; case 4: r += "x" + t; break } return r } , e }(); e.XMLConvert = t }(t = e.Text || (e.Text = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.List , n = function() { function e() { this.nodeName = "", this.childNodes = new r, this.localName = "", this.textContent = "", this.attributes = new t.XmlAttrCollection } return Object.defineProperty(e.prototype, "firstChild", { get: function() { if (this.childNodes.length > 0) return this.childNodes[0]; return null }, enumerable: !0, configurable: !0 }), e.prototype.setParentNode = function(e) { this.parentNode = e } , e.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 } , e.prototype.item = function(e) { return this.childNodes[e] } , e.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 n = r.getNodeByName(e); if (null != n) return n } return null } , e.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.add(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.add(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 } , e }(); t.XmlNode = n }(r = t.Xml || (t.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.XmlNodeType || (e.XmlNodeType = {})) }(t = e.Xml || (e.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n = function() { function n() {} return n.toXml = function(e) { e = e.substring(e.indexOf("= 0) return e.name.substring(e.name.indexOf(":") + 1); return e.name } , n.getNodeLocalName = function(e) { return e.localName } , n.getNodeTextContent = function(e) { return e.textContent } , n.getChildNodesArray = function(e) { return e.childNodes } , n }(); r.XmlConverter = n }(r = t.Xml || (t.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n = e.System.Text.XMLConvert, i = e.System.Collections.Hashtable, a = e.System.Xml.XmlConverter, o = e.System.Xml.XmlNodeType, s; !function(e) { e[e.ChildToParent = 0] = "ChildToParent", e[e.ParentToChild = 1] = "ParentToChild" }(s = r.JsonRelationDirection || (r.JsonRelationDirection = {})); var u = function() { function u(e) { void 0 === e && (e = null), this.isRetrieveColumns = !1, this.dataSetName = "", this.enforceConstraints = !1, this.tables = new r.DataTableCollection(this), this.relations = new r.DataSetRelationCollection(this), this.dataSetName = e, t.StiString.isNullOrEmpty(this.dataSetName) && (this.dataSetName = "DataSet") } return Object.defineProperty(u.prototype, "tryParseDateTime", { get: function() { if (null == this._tryParseDateTime || void 0 == this._tryParseDateTime) return u.tryParseDateTime; return this._tryParseDateTime }, set: function(e) { this._tryParseDateTime = e }, enumerable: !0, configurable: !0 }), u.prototype.dispose = function() { this.tables = new r.DataTableCollection(this), this.relations = new r.DataSetRelationCollection(this), this.dataSetName = "DataSet" } , u.prototype.correctJsonString = function(e) { var t = e.replace(/,\s*}/gi, "}"); t = t.replace(/,\s*]/gi, "]"), t = t.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 } , u.prototype.correctJson = function(e) { var t = function(e) { if (e instanceof Array) for (var r = 0; r < e.length; r++) { var n = typeof e[r]; "string" == n || "number" == n || "boolean" == n ? e[r] = { value: e[r] } : t(e[r]) } else for (var i in e) { var a = i; if (null == e[i]) e[i] = ""; else { var n = typeof e[i]; "string" != n && "number" != n && "boolean" != n && (e[i]instanceof Array || (e[i] = [e[i]]), t(e[i])) } } }; t(e); for (var r in e) { var n = typeof e[r]; if ("string" == n || "number" == n || "boolean" == n) return { root: e } } return e } , u.prototype.readJsonFile = function(r, n) { if (void 0 === n && (n = s.ParentToChild), !t.StiString.isNullOrEmpty(r)) { var i = e.System.IO.File.getFile(r, !1, "application/json"); i && this.readJson(i, n) } } , u.prototype.readJson = function(r, n) { void 0 === n && (n = s.ParentToChild); try { if (void 0 === r || null == r) return; if ((r.stimulsoft.is(Array) || r.stimulsoft.is(Uint8Array)) && null != r[0] && r[0].stimulsoft.is(Number) && (r = e.System.Text.Encoding.UTF8.getString(r)), r.stimulsoft.is(String)) { var i = this.correctJsonString(r); if (!t.StiString.isNullOrWhiteSpace(i)) { var a = this.correctJson(JSON.parse(i)); this.processObject2(a, n) } } else this.readJson(JSON.stringify(r), n) } catch (t) { throw e.System.StiError.showError(t.message, !1), t } } , u.prototype.readXmlFile = function(t) { var r = e.System.IO.File.getFile(t, !1, "application/xml"); null != r && (this.dataNode = a.toXml(r).firstChild, null != this.dataNode && this.fillDataSet()) } , u.prototype.readXml = function(t) { try { if (void 0 === t || null == t) return; (t.stimulsoft.is(Array) || t.stimulsoft.is(Uint8Array)) && (t = e.System.Text.Encoding.UTF8.getString(t)), t.stimulsoft.is(String) && (t = a.toXml(t)), void 0 !== t.firstChild && (this.dataNode = t.firstChild, null != this.dataNode && this.fillDataSet()) } catch (t) { throw e.System.StiError.showError(t.message, !1), t } } , u.prototype.readXmlSchemaFile = function(t) { try { var r = e.System.IO.File.getFile(t); r && (this.schemaNode = a.toXml(r).firstChild, null != this.schemaNode && this.fillDataSet()) } catch (t) { throw e.System.StiError.showError(t.message, !1), t } } , u.prototype.readXmlSchema = function(t) { try { if (void 0 === t || null == t) return; (t.stimulsoft.is(Array) || t.stimulsoft.is(Uint8Array)) && (t = e.System.Text.Encoding.UTF8.getString(t)), t.stimulsoft.is(String) && (t = a.toXml(t)), void 0 !== t.firstChild && (this.schemaNode = t.firstChild, null != this.schemaNode && this.fillDataSet()) } catch (t) { throw e.System.StiError.showError(t.message, !1), t } } , u.prototype.processObject2 = function(n, i) { var a, o, u, l, m, y; void 0 === i && (i = s.ParentToChild); var d = [] , f = function(e, r, n, i, a) { var o, s; void 0 === a && (a = !1); var u = r + "_" + e; t.StiString.isNullOrEmpty(r) && (u = e); for (var l in i) { var m = typeof i[l]; if (null == i[l] && (m = "string"), "object" == m) { var y = !1; if (i instanceof Array) f(e, r, n + ".#array#" + l, i[l], !1); else { if (!a && i[l]instanceof Array) try { for (var h = (o = void 0, __values(i[l])), c = h.next(); !c.done; c = h.next()) { c.value.relationId = "#relation#" + u } } catch (e) { o = { error: e } } finally { try { c && !c.done && (s = h.return) && s.call(h) } finally { if (o) throw o.error } } f(l, u, n + "." + l, i[l]), i[l]instanceof Array ? (i[l] = "#relation#" + n + "." + l + ".#array#0", y = !0) : i[l].relationId = -1 } y || i[l]instanceof Array || (i[l] = "#relation#" + n + "." + l) } } if (i instanceof Array) return; n && (t.StiString.isNullOrEmpty(r) || (e = r + "_" + e), d.push({ collectionName: e, address: n, cast: u, object: i })) }; f("", "", "", n, !0); var h = {} , c = {} , p = {} , M = []; try { for (var b = __values(d), g = b.next(); !g.done; g = b.next()) { var v = g.value , S = c[v.cast]; if (S || (S = []), S.lastIndexForAddress = 0, h[v.address] = S, S.push(v), c[v.cast] = S, "relationId"in v.object && -1 != v.object.relationId && 0 == v.object.relationId.indexOf("#relation#")) { var w = v.object.relationId.stimulsoft.replaceAll("#relation#", ""); v.object.relationId = w in c ? c[w].length : 0 } } } catch (e) { a = { error: e } } finally { try { g && !g.done && (o = b.return) && o.call(b) } finally { if (a) throw a.error } } var N = this; for (var I in c) { var S = c[I] , j = 0; try { for (var k = (u = void 0, __values(S)), _ = k.next(); !_.done; _ = k.next()) { var T = _.value , D = T.collectionName , F = N.tables.getByName(D); F || (F = new e.System.Data.DataTable(D), N.tables.add(F)); var P = F.addNewRow(); j++; for (var A in T.object) if (!t.StiString.isNullOrEmpty(A)) { var O = typeof T.object[A] , C = F.columns.getByName(A); if (!C) { var H = String; "relationId" != A && ("number" == O ? H = e.System.Decimal : "boolean" == O ? H = Boolean : "string" == O && this.tryParseDateTime && t.DateTime.isISO8601String(T.object[A]) && (H = t.DateTime)), C = new e.System.Data.DataColumn(A,H), F.columns.add(C), "relationId" == A && M.add(C) } if ("relationId" == A) { if (-1 == T.object.relationId) { T.object.relationId = 0; for (var E = h[T.address], B = E.lastIndexForAddress; B < E.length; B++) { var x = E[B]; if (x.address == T.address) { T.object.relationId = B, E.lastIndexForAddress = B; break } } } P.setValue(C, T.object.relationId) } else if ("string" == O && 0 == T.object[A].indexOf("#relation#")) { P.setValue(C, j - 1); var L = h[T.object[A].stimulsoft.replaceAll("#relation#", "")]; L && L.length > 0 && (p[F.tableName + "." + C.columnName] = { childColumn: C, childTable: F, parentTableName: L[0].collectionName }) } else P.setValue(C, T.object[A]) } } } catch (e) { u = { error: e } } finally { try { _ && !_.done && (l = k.return) && l.call(k) } finally { if (u) throw u.error } } } for (var R in p) { var W = p[R].childColumn , z = N.tables.getByName(p[R].parentTableName) , J = z.columns.getByName("relationId"); i == s.ChildToParent ? N.relations.add(new r.DataRelation(z.tableName,[J],[W])) : N.relations.add(new r.DataRelation(z.tableName,[W],[J])); for (var B = 0; B < M.length; B++) if (M[B] == J) { M.removeAt(B); break } } try { for (var G = __values(M), K = G.next(); !K.done; K = G.next()) { var q = K.value; q.table.columns.remove(q) } } catch (e) { m = { error: e } } finally { try { K && !K.done && (y = G.return) && y.call(G) } finally { if (m) throw m.error } } } , u.prototype.processObject = function(t, r) { var n = new i; for (var a in t) try { if (t.hasOwnProperty(a)) { var o = t[a]; o.stimulsoft.is(Array) ? this.processArray(o, a) : o.stimulsoft.is(String) || o.stimulsoft.is(Number) || o.stimulsoft.is(Boolean) ? n.add(a, o) : this.processObject(o, a) } } catch (t) { throw e.System.StiError.showError(t, !1), t } this.processTable(n, r) } , u.prototype.processTable = function(e, t) { var n, i, a = new r.DataTable(t), o = !1; if (e.count > 0) { o = !0, a.columns.add(new r.DataColumn("key")), a.columns.add(new r.DataColumn("value")); try { for (var s = __values(e.keys), u = s.next(); !u.done; u = s.next()) { var l = u.value , m = a.newRow(); a.rows.add(m), m.sett("key", l); var y = e.get(l); m.sett("value", y) } } catch (e) { n = { error: e } } finally { try { u && !u.done && (i = s.return) && i.call(s) } finally { if (n) throw n.error } } } o && this.tables.add(a) } , u.prototype.processArray = function(e, t) { var n, a, o, s, u, l, m = new i; try { for (var y = __values(e), d = y.next(); !d.done; d = y.next()) { var f = d.value; for (var h in f) if (f.hasOwnProperty(h)) { var c = f[h]; null != c && m.add(h, "") } } } catch (e) { n = { error: e } } finally { try { d && !d.done && (a = y.return) && a.call(y) } finally { if (n) throw n.error } } var p = new r.DataTable(t); try { for (var M = __values(m.keys), b = M.next(); !b.done; b = M.next()) { var g = b.value; p.columns.add(new r.DataColumn(g)) } } catch (e) { o = { error: e } } finally { try { b && !b.done && (s = M.return) && s.call(M) } finally { if (o) throw o.error } } try { for (var v = __values(e), S = v.next(); !S.done; S = v.next()) { var f = S.value , w = p.newRow() , N = p.rows.add(w); for (var h in f) if (f.hasOwnProperty(h)) { var c = f[h]; null == c || c.stimulsoft.is(String) || c.stimulsoft.is(Number) || c.stimulsoft.is(Boolean) || (c = JSON.stringify(c, null, 2)), w.setValue(h, c) } } } catch (e) { u = { error: e } } finally { try { S && !S.done && (l = v.return) && l.call(v) } finally { if (u) throw u.error } } this.tables.add(p) } , u.prototype.fillDataSet = function() { null != this.schemaNode ? this.parseSchema() : this.fillDataTables(), null != this.dataNode && (this.dataNode.childNodes.length > 0 || this.dataNode.attributes.length > 0) && !this.isRetrieveColumns && this.fillTable(this.dataNode), this.dataNode = null, this.schemaNode = null } , u.prototype.fillDataTables = function() { for (var e = 0; e < this.dataNode.childNodes.length; e++) { var t = this.dataNode.childNodes[e]; t.nodeType == o.ELEMENT_NODE && null != t.nodeName && this.fillDataTable(t) } } , u.prototype.fillDataTable = function(e) { var t = n.decodeName(e.nodeName) , i = this.tables.getByName(t); null == i && (i = new r.DataTable(t), this.tables.add(i)), this.getDataColumnsFromTable(e, i) } , u.prototype.getDataColumnsFromTable = function(e, t) { for (var i, a, s, u, l = String, m = 0; m < e.childNodes.length; m++) if (e.childNodes[m].nodeType == o.ELEMENT_NODE) { var y = e.childNodes[m]; if (null == y.nodeName) continue; null != y.firstChild ? this.fillDataTable(y) : (u = n.decodeName(y.nodeName), null == (s = t.columns.getByName(u)) && (s = new r.DataColumn(u,l), t.columns.add(s))) } try { for (var d = __values(e.attributes.list), f = d.next(); !f.done; f = d.next()) { var h = f.value; u = "@" + n.decodeName(h.name), s = t.columns.getByName(u), null == s && (s = new r.DataColumn(u,l), t.columns.add(s)) } } catch (e) { i = { error: e } } finally { try { f && !f.done && (a = d.return) && a.call(d) } finally { if (i) throw i.error } } } , u.prototype.fillTable = function(e) { var t, r = n.decodeName(e.nodeName); if (null != t && t.tableName == r || (t = this.tables.getByName(r)), null != t) this.fillRow(e, t); else for (var i = 0; i < e.childNodes.length; i++) { var a = e.childNodes[i]; a.nodeType == o.ELEMENT_NODE && null != a.nodeName && this.fillTable(a) } } , u.prototype.fillRow = function(e, r) { for (var i, a, s, u, l, m = r.addNewRow(), y = 0; y < e.childNodes.length; y++) if (e.childNodes[y].nodeType == o.ELEMENT_NODE) { var d = e.childNodes[y]; if (null != d.nodeName) if (u = n.decodeName(d.nodeName), s = r.columns.getByName(u), l = null == d.firstChild ? d.textContent : "true" == d.getAttribute("isNull") ? null : "", null == s) this.fillTable(d); else switch (s.dataType) { case Boolean: m.setValue(u, l.stimulsoft.toBoolean()); break; case t.Byte: case t.Decimal: case t.Double: case t.Int16: case t.Int32: case t.Int64: case t.SByte: case t.Single: case t.UInt16: case t.UInt32: case t.UInt64: case Number: m.setValue(u, l.stimulsoft.toNumber()); break; default: null != l && l.stimulsoft.is(String) && (l = l.replace(/\r\n/gi, "\n").replace(/\r/gi, "\n").replace(/\n/gi, "\r\n")), m.setValue(u, l.toString()); break } } try { for (var f = __values(e.attributes.list), h = f.next(); !h.done; h = f.next()) { var c = h.value; switch (u = "@" + n.decodeName(c.name), s = r.columns.getByName(u), l = c.value, s.dataType) { case Boolean: m.setValue(u, l.stimulsoft.toBoolean()); break; case t.Byte: case t.Decimal: case t.Double: case t.Int16: case t.Int32: case t.Int64: case t.SByte: case t.Single: case t.UInt16: case t.UInt32: case t.UInt64: case Number: m.setValue(u, l.stimulsoft.toNumber()); break; default: null != l && l.stimulsoft.is(String) && (l = l.replace(/\r\n/gi, "\n").replace(/\r/gi, "\n").replace(/\n/gi, "\r\n")), m.setValue(u, l.toString()); break } } } catch (e) { i = { error: e } } finally { try { h && !h.done && (a = f.return) && a.call(f) } finally { if (i) throw i.error } } } , u.prototype.parseSchema = function() { "schema" == this.schemaNode.localName && (this.schemaNode = this.schemaNode.firstChild.firstChild.firstChild), this.getDataTables(this.schemaNode) } , u.prototype.getDataTables = function(e) { for (var i, a, s = 0; s < e.childNodes.length; s++) if (e.childNodes[s].nodeType == o.ELEMENT_NODE) { var u = e.childNodes[s]; if ("annotation" == u.localName) this.getRelations(u.firstChild); else if (a = n.decodeName(u.getAttribute("name")), !t.StiString.isNullOrEmpty(a)) { i = new r.DataTable(a), null != u.firstChild && ("element" == u.localName ? this.getDataColumns(u.firstChild.firstChild, i) : "complexType" == u.localName && this.getDataColumns(u.firstChild, i)); var l = this.tables.getByName(a); null != l && this.tables.remove(l), this.tables.add(i) } } } , u.prototype.getStorageType = function(e) { switch (e) { case "boolean": case "Stimulsoft.System.Boolean": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.Boolean]": return Boolean; case "Stimulsoft.System.Byte": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.Byte]": return t.Byte; case "Stimulsoft.System.Char": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.Char]": return t.Char; case "binary": case "base64Binary": case "Stimulsoft.System.Byte[]": case "Stimulsoft.System.Drawing.Image": return t.ByteArray; case "date": case "dateTime": case "Stimulsoft.System.DateTime": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.DateTime]": return t.DateTime; case "Stimulsoft.System.TimeSpan": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.TimeSpan]": return t.TimeSpan; case "decimal": case "Stimulsoft.System.Decimal": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.Decimal]": return t.Decimal; case "float": case "Stimulsoft.System.Double": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.Double]": return t.Double; case "Stimulsoft.System.Guid": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.Guid]": return t.Guid; case "short": case "Stimulsoft.System.Int16": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.Int16]": return t.Int16; case "int": case "Stimulsoft.System.Int32": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.Int32]": return t.Int32; case "long": case "Stimulsoft.System.Int64": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.Int64]": return t.Int64; case "Stimulsoft.System.Object": return Object; case "Stimulsoft.System.SByte": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.SByte]": return t.SByte; case "Stimulsoft.System.Single": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.Single]": return t.Single; case "Stimulsoft.System.UInt16": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt16]": return t.UInt16; case "Stimulsoft.System.UInt32": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt32]": return t.UInt32; case "Stimulsoft.System.UInt64": case "Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt64]": return t.UInt64; case "string": case "Stimulsoft.System.String": return String } return String } , u.prototype.getDataColumns = function(e, t) { if (null == e) return; for (var i, a, s, u, l, m = 0; m < e.childNodes.length; m++) if (e.childNodes[m].nodeType == o.ELEMENT_NODE) { var y = e.childNodes[m]; null == y.getAttribute("type") ? this.getDataTables(y.parentNode) : (a = n.decodeName(y.getAttribute("name")), u = null == y.getAttribute("type") ? "string" : y.getAttribute("type").substr(y.getAttribute("type").indexOf(":") + 1), s = n.decodeName(y.getAttribute("msdata:Caption")), l = this.getStorageType(u), i = new r.DataColumn(a,l,s), t.columns.add(i)) } } , u.prototype.getRelations = function(e) { for (var t = void 0; t < e.childNodes.length; t++) if (e.childNodes[t].nodeType == o.ELEMENT_NODE) { var n = e.childNodes[t] , i = "" , a = n.getAttribute("name") , s = this.findTable(n.getAttribute(i + "child")) , u = this.findTable(n.getAttribute(i + "parent")) , l = this.findColumn(n.getAttribute(i + "childkey").split(" "), s) , m = this.findColumn(n.getAttribute(i + "parentkey").split(" "), u) , y = new r.DataRelation(a,m,l); this.relations.add(y) } } , u.prototype.findTable = function(e) { return e = n.decodeName(e), this.tables.getByName(e) } , u.prototype.findColumn = function(e, t) { var r, i, a = [], o; try { for (var s = __values(e), u = s.next(); !u.done; u = s.next()) { var l = u.value; l = n.decodeName(l), o = t.columns.getByName(l), null != o && a.push(o) } } catch (e) { r = { error: e } } finally { try { u && !u.done && (i = s.return) && i.call(s) } finally { if (r) throw r.error } } return a } , u }(); r.DataSet = u }(r = t.Data || (t.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t(t) { var r = e.call(this) || this; return r.dataSet = t, r } return __extends(t, e), t.prototype.addCore = function(t) { if (e.prototype.addCore.call(this, t), t.childTable.dataSet != this.dataSet || t.parentTable.dataSet != this.dataSet) return; this.list.push(t), t.parentTable.childRelations.add(t), t.childTable.parentRelations.add(t), t.setDataSet(this.dataSet) } , t.prototype.getDataSet = function() { return this.dataSet } , t }(e.DataRelationCollection); e.DataSetRelationCollection = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t(t) { void 0 === t && (t = ""), this.needCleanCache = !0, this._index = null, this.tableName = "", this.childRelations = new e.DataTableRelationCollection(this,!1), this.parentRelations = new e.DataTableRelationCollection(this,!1), this._extendedProperties = {}, this.columns = new e.DataColumnCollection(this), this.rows = new e.DataRowCollection(this), this.tableName = t, this.defaultView = new e.DataView(this) } return Object.defineProperty(t.prototype, "index", { get: function() { return null == this._index && (this._index = []), this.needCleanCache && (this._index.splice(0), this.needCleanCache = !1), this._index }, enumerable: !0, configurable: !0 }), t.prototype.setDataSet = function(e) { this.dataSet = e, this.needCleanCache = !0 } , t.prototype.addRow = function(e) { return this.needCleanCache = !0, this.rows.addArray(e) } , t.prototype.removeRow = function(e) { this.rows.removeArray(e), this.needCleanCache = !0 } , t.prototype.addNewRow = function() { var e = this.newRow(); return this.addRow(e), this.needCleanCache = !0, e } , Object.defineProperty(t.prototype, "extendedProperties", { get: function() { return this._extendedProperties }, enumerable: !0, configurable: !0 }), t.prototype.newRow = function() { return e.DataRow.create(this) } , t.prototype.clone = function() { var r, n, i = new t; i.rows = new e.DataRowCollection(i), i.tableName = this.tableName, i.dataSet = this.dataSet, i.childRelations = this.childRelations, i.parentRelations = this.parentRelations, i.columns = new e.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, i.columns.add(u) } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = a.return) && n.call(a) } finally { if (r) throw r.error } } return i.needCleanCache = !0, i } , t.prototype.copy = function() { var r, n, i, a, o = new t; o.rows = new e.DataRowCollection(o), o.tableName = this.tableName, o.dataSet = this.dataSet, o.columns = new e.DataColumnCollection(o); try { for (var s = __values(this.columns.list), u = s.next(); !u.done; u = s.next()) { var l = u.value , m = l.clone(); m.table = o, o.columns.add(m), Array.copy(l.storage.values, 0, m.storage.values, l.storage.values.length) } } catch (e) { r = { error: e } } finally { try { u && !u.done && (n = s.return) && n.call(s) } finally { if (r) throw r.error } } try { for (var y = __values(this.rows.list), d = y.next(); !d.done; d = y.next()) { var f = d.value; o.addNewRow() } } catch (e) { i = { error: e } } finally { try { d && !d.done && (a = y.return) && a.call(y) } finally { if (i) throw i.error } } return o.needCleanCache = !0, o } , t.prototype.toList = function() { return this.columns.toList() } , t.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 } , t }(); e.DataTable = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n = e.System.Collections.CollectionBase , i = function(e) { function r(t) { var r = e.call(this) || this; return r.dataSet = t, r } return __extends(r, e), r.prototype.add = function(e) { this.checkTableName(e), this.list.push(e), this.baseAdd(e) } , r.prototype.remove = function(e) { var t = this.list.lastIndexOf(e); -1 !== t && this.list.splice(t, 1), this.baseRemove(e) } , r.prototype.baseAdd = function(e) { e.setDataSet(this.dataSet) } , r.prototype.baseRemove = function(e) { e.setDataSet(null) } , r.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 } , r.prototype.checkTableName = function(e) { t.StiString.isNullOrEmpty(e.tableName) && (e.tableName = "Table"); var r = 1 , n = e.tableName , i = this.getByName(n); while (null != i) n = e.tableName + r.toString(), i = this.getByName(n), r++; e.tableName != n && (e.tableName = n) } , r }(n); r.DataTableCollection = i }(r = t.Data || (t.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t(t, r) { var n = e.call(this) || this; return n.table = t, n.parentCollection = r, n } return __extends(t, e), t.prototype.addCache = function(e) { this.list.push(e) } , t.prototype.addCore = function(e) { if (this.parentCollection) { if (e.childTable != this.table) return; if (e.parentTable != this.table) return } this.addCache(e) } , t.prototype.getDataSet = function() { return this.table.dataSet } , t }(e.DataRelationCollection); e.DataTableRelationCollection = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function() { function t(e) { this.rowFilter = "", this.table = e } return t.prototype.clone = function() { var e = new t(this.table); return e.rowFilter = this.rowFilter, e } , t.prototype.toTable = function() { var e = []; this.parse(this.rowFilter, e, " AND "); for (var t = 0; t < e.length; t++) { var r = []; this.parse(e[t], r, " OR "), e.splice(t, 1, r) } return this.parseConditions(e), this.filter() } , t.prototype.filter = function() { for (var t = this.table.clone(), r = 0; r < this.table.rows.length; r++) { var n = this.ands.length > 0 , i = this.table.rows.getByIndex(r) , a = 0; while (a < this.ands.length && n) { var o = this.ands[a] , s = !1 , u = 0; while (u < o.length && !s) { var l = o[u]; try { var m = this.table.columns.getIndexByName(l.field) , y = this.table.columns.getByIndex(m); if (!l.value && l.value1) if (e.Type.isNumericType(y.dataType)) l.value = parseFloat(l.value1); else if (y.dataType == Boolean) l.value = "true" == l.value1; else if (e.Type.isDateType(y.dataType)) l.value = e.DateTime.tryParseExact(l.value1, "MM/DD/YYYY").result, l.operator += "Date"; else if (this.isString(l.value1)) { l.value = l.value1.toUpperCase(); var d = l.value.trim(); d.length > 0 && (l.value = d) } else l.value = l.value1; var f = i.gett(m); if (this.isString(f)) { f = f.toUpperCase(); var d = f.trim(); d.length > 0 && (f = d) } var h = l.value , c = l.operator; "EqualTo" == c && f == h ? s = !0 : "NotEqualTo" == c && f != h ? s = !0 : "GreaterThan" == c && f > h ? s = !0 : "GreaterThanOrEqualTo" == c && f >= h ? s = !0 : "LessThanOrEqualTo" == c && f <= h ? s = !0 : "LessThan" == c && f < h ? s = !0 : "Containing" == c && f.indexOf(h) >= 0 ? s = !0 : "BeginningWith" == c && 0 == f.indexOf(h) ? s = !0 : "EndingWith" == c && f.lastIndexOf(h) == f.length - h.length ? s = !0 : "IsNull" == c && null == f ? s = !0 : "IsNotNull" == c && null != f ? s = !0 : "NotContaining" == c && -1 == f.indexOf(h) ? s = !0 : "IsBlank" == c && 0 == f.trim().length ? s = !0 : "IsNotBlank" == c && f.trim().length > 0 ? s = !0 : "EqualToDate" == c && f.toString("MM/DD/YYYY") == h.toString("MM/DD/YYYY") ? s = !0 : "NotEqualToDate" == c && f.toString("MM/DD/YYYY") != h.toString("MM/DD/YYYY") ? s = !0 : "GreaterThanDate" == c && f.ticks > h.ticks ? s = !0 : "GreaterThanOrEqualToDate" == c && f.ticks >= h.ticks ? s = !0 : "LessThanOrEqualToDate" == c && f.ticks <= h.ticks ? s = !0 : "LessThanDate" == c && f.ticks < h.ticks && (s = !0) } catch (e) {} u++ } n = s, a++ } n && t.loadDataRow(i.itemArray) } return t } , t.prototype.isString = function(e) { return "string" == typeof e || e instanceof String } , t.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 = {}; if (0 == i.indexOf("[") ? (a.field = i.substr(1, i.indexOf("]") - 1), i = i.substr(i.indexOf("]") + 2), "=" == i[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) { var o = a.value1; null != o && (o = o.stimulsoft.replaceAll("''", "'"), o.length > 1 && "'" == o[0] && "'" == o[o.length - 1] && (o = o.substr(1, o.length - 2)), a.value1 = o), r.push(a) } } r.length > 0 && this.ands.push(r) } } , t.prototype.parse = function(e, t, r) { if (e = e.trim(), "(" == e[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) } , t }(); t.DataView = r }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function(t) { function r() { return null !== t && t.apply(this, arguments) || this } return __extends(r, t), r.prototype.setValue = function(t, r) { null == r ? this.values[t] = "" : r.stimulsoft.is(String) ? this.values[t] = e.DateTime.fromString(r, !1) : r.stimulsoft.is(Number) ? this.values[t] = new e.DateTime(new Date(r)) : r.stimulsoft.is(Date) ? this.values[t] = new e.DateTime(r) : r.stimulsoft.is(e.DateTime) ? this.values[t] = r : this.values[t] = "" } , r }(t.DataStorage); t.DateTimeStorage = r }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.setValue = function(e, t) { if (null != t) { var r = t.stimulsoft.toNumber(); isNaN(r) && (r = null), this.values[e] = r } else this.values[e] = null } , t }(e.DataStorage); e.NumberStorage = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t }(e.DataStorage); e.ObjectStorage = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.StorageType || (e.StorageType = {})) }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.setValue = function(e, t) { this.values[e] = null != t ? t.toString() : null } , t }(e.DataStorage); e.StringStorage = t }(t = e.Data || (e.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.UnicodeCategory || (e.UnicodeCategory = {})) }(t = e.Globalization || (e.Globalization = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Globalization.UnicodeCategory , n = function() { function e() {} return e.isUpper = function(e, t) { return void 0 === t && (t = 0), this.getUnicodeCategory(e, t) == r.UppercaseLetter } , e.isLower = function(e, t) { return void 0 === t && (t = 0), this.getUnicodeCategory(e, t) == r.LowercaseLetter } , e.isLetter = function(e, t) { void 0 === t && (t = 0); var r = this.getUnicodeCategory(e, t); return this.checkLetter(r) } , e.isDigit = function(e, n) { if (void 0 === n && (n = 0), null != e && e.stimulsoft.is(Number)) { return t.Chars.getUnicodeCategory(e) == r.DecimalDigitNumber } return this.getUnicodeCategory(e, n) == r.DecimalDigitNumber } , e.isLetterOrDigit = function(e, t) { void 0 === t && (t = 0); var n = this.getUnicodeCategory(e, t); return this.checkLetter(n) || n == r.DecimalDigitNumber } , e.toLower = function(e) { return e.toLocaleLowerCase() } , e.toUpper = function(e) { return e.toLocaleUpperCase() } , e.isWhitespace = function(e, n, i) { if (void 0 === n && (n = 0), void 0 === i && (i = !0), null == e || e.length < n + 1) return !1; var a = e.charCodeAt(n); if (32 == a || a >= 9 && a <= 13 || 160 == a && i || 133 == a) return !0; var o = t.Chars.getUnicodeCategory(a); return o == r.SpaceSeparator || o == r.LineSeparator || o == r.ParagraphSeparator } , e.checkLetter = function(e) { return e == r.UppercaseLetter || e == r.LowercaseLetter || e == r.TitlecaseLetter || e == r.ModifierLetter || e == r.OtherLetter } , e.getUnicodeCategory = function(e, n) { if (void 0 === n && (n = 0), null == e || e.length < n + 1) return r.OtherNotAssigned; var i = e.charCodeAt(n); return t.Chars.getUnicodeCategory(i) } , e.isControl = function(t, n) { return void 0 === n && (n = 0), e.getUnicodeCategory(t, n) == r.Control } , e }(); t.Char = n }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Char , n = function() { function e(t, r, n, i) { if (void 0 === t && (t = 0), void 0 === r && (r = null), void 0 === n && (n = null), void 0 === i && (i = null), null == r) this._ticks = t; else { var a = t; null == i && (i = 0), this._ticks = e.timeToTicks(a, r, n, i) } } return Object.defineProperty(e, "zero", { get: function() { return new e }, enumerable: !0, configurable: !0 }), e.getNetTypeName = function() { return "Stimulsoft.System.TimeSpan" } , Object.defineProperty(e, "minValue", { get: function() { return null == this._minValue && (this._minValue = new e(0,0,Number.MIN_VALUE)), this._minValue }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "maxValue", { get: function() { return null == this._maxValue && (this._maxValue = new e(0,0,Number.MAX_VALUE)), this._maxValue }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "ticks", { get: function() { return this._ticks }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "days", { get: function() { return Math.floor(this._ticks / e.ticksPerDay) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "hours", { get: function() { return Math.floor(this._ticks / e.ticksPerHour) % 24 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "milliseconds", { get: function() { return Math.floor(this._ticks / e.ticksPerMillisecond) % 1e3 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "minutes", { get: function() { return Math.floor(this._ticks / e.ticksPerMinute) % 60 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seconds", { get: function() { return Math.floor(this._ticks / e.ticksPerSecond) % 60 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "totalDays", { get: function() { return this.ticks * e.daysPerTick }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "totalHours", { get: function() { return this.ticks * e.hoursPerTick }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "totalMilliseconds", { get: function() { var t = this.ticks * e.millisecondsPerTick; if (t > e.maxMilliSeconds) return e.maxMilliSeconds; if (t < e.minMilliSeconds) return e.minMilliSeconds; return t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "totalMinutes", { get: function() { return this.ticks * e.minutesPerTick }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "totalSeconds", { get: function() { return this.ticks * e.secondsPerTick }, enumerable: !0, configurable: !0 }), e.fromString = function(n, i) { if (void 0 === i && (i = null), null == n) return null; var a = !1; t.StiString.isNullOrEmpty(i) && (i = "hh:mm:ss", a = !0); var o = 0, s = 0, u = 0, l = 0, m = 0, y, d = 0, f = []; while (d < n.length) { if (y = n.charAt(d), r.isDigit(y)) { f.push(y), d++; while (d < n.length && r.isDigit(y = n.charAt(d))) f[f.length - 1] += n.charAt(d), d++; f[f.length - 1] = +f[f.length - 1] } a && "." === y && (1 === f.length ? i = "d.hh:mm:ss" : i += ".f"), d++ } d = 0; var h = -1; while (d < i.length && h + 1 < f.length) { if ("d" === (y = i.charAt(d)) || "h" === y || "H" === y || "m" === y || "s" === y || "f" === y || "F" === y) { h++; while (d < i.length && i.charAt(d) === y) d++ } switch (y) { case "d": s += 24 * f[h]; break; case "h": case "H": s += f[h]; break; case "m": u = f[h]; break; case "s": l = f[h]; break; case "f": case "F": m = f[h]; break; default: d++; break } } return new e(s,u,l,m) } , e.interval = function(t, r) { return new e((t * r + (t >= 0 ? .5 : -.5)) * e.ticksPerMillisecond) } , e.fromTicks = function(t) { return new e(t) } , e.fromSeconds = function(e) { return this.interval(e, this.millisPerSecond) } , e.fromMilliseconds = function(e) { return this.interval(e, 1) } , e.prototype.add = function(t) { return new e(this.ticks + t) } , e.prototype.add2 = function(t) { return new e(this.ticks + t.ticks) } , e.prototype.toString = function(r) { var n = !1; t.StiString.isNullOrEmpty(r) && (r = "hh:mm:ss", this.days >= 1 && (r = "d.hh:mm:ss"), r = r.stimulsoft.replaceAll("h", "H")); var i = new Date; i.setTime(0); var a = i.getDay() , o = i.getUTCDay() , s = i.getHours() , u = i.getUTCHours() , l = i.getMinutes() , m = i.getUTCMinutes() , y = 1440 * (a - o + 1) + 60 * (s - u) + (l - m) , d = e.ticksPerMinute * y , f = new t.DateTime(this.ticks - d).toString(r); if (this.ticks < 0) return "-" + f; return f } , e.prototype.negate = function() { if (this.ticks == e.minValue.ticks) throw new Error("Overflow_NegateTwosCompNum"); return new e(-this._ticks) } , e.timeToTicks = function(t, r, n, i) { return (3600 * t + 60 * r + n) * e.ticksPerSecond } , e.ticksPerMillisecond = 1, e.millisecondsPerTick = 1 / e.ticksPerMillisecond, e.ticksPerSecond = 1e3 * e.ticksPerMillisecond, e.secondsPerTick = 1 / e.ticksPerSecond, e.ticksPerMinute = 60 * e.ticksPerSecond, e.minutesPerTick = 1 / e.ticksPerMinute, e.ticksPerHour = 60 * e.ticksPerMinute, e.hoursPerTick = 1 / e.ticksPerHour, e.ticksPerDay = 24 * e.ticksPerHour, e.daysPerTick = 1 / e.ticksPerDay, e.millisPerSecond = 1e3, e.millisPerMinute = 60 * e.millisPerSecond, e.millisPerHour = 60 * e.millisPerMinute, e.millisPerDay = 24 * e.millisPerHour, e.maxSeconds = Number.MAX_VALUE / e.ticksPerSecond, e.minSeconds = Number.MIN_VALUE / e.ticksPerSecond, e.maxMilliSeconds = Number.MAX_VALUE / e.ticksPerMillisecond, e.minMilliSeconds = Number.MIN_VALUE / e.ticksPerMillisecond, e.ticksPerTenthSecond = 100 * e.ticksPerMillisecond, e._minValue = null, e._maxValue = null, e }(); t.TimeSpan = n }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.TimeSpan , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.setValue = function(e, t) { this.values[e] = "string" == typeof t ? r.fromString(t) : "number" == typeof t ? r.fromTicks(+t) : t } , t }(t.DataStorage); t.TimeSpanStorage = n }(r = t.Data || (t.Data = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.DashStyle || (e.DashStyle = {})) }(t = e.Drawing2D || (e.Drawing2D = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.HatchStyle || (e.HatchStyle = {})) }(t = e.Drawing2D || (e.Drawing2D = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.LineCap || (e.LineCap = {})) }(t = e.Drawing2D || (e.Drawing2D = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r; !function(t) { var r = function() { function t() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; this.a = 1, this.c = 0, this.b = 0, this.d = 1, this.tx = 0, this.ty = 0; var n = e.length; if (6 == n) this.setValues(e[0], e[1], e[2], e[3], e[4], e[5]); else if (1 == n && e instanceof t) { var i = e[0]; this.setValues(i.a, i.c, i.b, i.d, i.tx, i.ty) } else this.reset() } return Object.defineProperty(t.prototype, "elements", { get: function() { return [this.a, this.c, this.b, this.d, this.tx, this.ty] }, enumerable: !0, configurable: !0 }), t.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 } , t.prototype.reset = function() { this.a = this.d = 1, this.c = this.b = this.tx = this.ty = 0 } , t.prototype.clone = function() { return new t(this.a,this.c,this.b,this.d,this.tx,this.ty) } , t.prototype.toString = function() { return e.StiString.format("({0},{1},{2},{3},{4},{5})", this.a, this.c, this.b, this.d, this.tx, this.ty) } , t.prototype.translate = function(e, t) { return this.tx += e * this.a + t * this.b, this.ty += e * this.c + t * this.d, this } , t.prototype.scale = function(e, t) { return this.a *= e, this.c *= e, this.b *= t, this.d *= t, this } , t.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 , o = this.d; return this.a = n * t - i * r, this.c = n * r + i * t, this.b = a * t - o * r, this.d = a * r + o * t, this } , t.prototype.isIdentity = function() { return 1 == this.a && 0 == this.c && 0 == this.b && 1 == this.d && 0 == this.tx && 0 == this.ty } , t.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 } } } , t.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 } , t }(); t.Matrix = r }(r = t.Drawing2D || (t.Drawing2D = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.EncoderValue || (e.EncoderValue = {})) }(t = e.Imaging || (e.Imaging = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r; !function(t) { var r = function() { function t() {} return t.getImageDecoders = function() { return null } , t.getImageEncoders = function() { return [{ clsid: e.Guid.newGuid(), codecName: "", filenameExtension: "", formatDescription: "", formatID: e.Guid.newGuid(), mimeType: "image/jpeg", version: 1 }] } , t }(); t.ImageCodecInfo = r }(r = t.Imaging || (t.Imaging = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = function() { function r(e) { this.guid = e } return Object.defineProperty(r, "Tiff", { get: function() { return null == this._tiff && (this._tiff = new r("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; 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; 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; 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; 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: !0, configurable: !0 }), Object.defineProperty(r, "Png", { get: function() { return null == this._png && (this._png = new r("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; return r = e[t++] | r << 8, 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; return r = e[t++] | r << 8, r = e[t++] | r << 8, r = e[t++] | r << 8, r = e[t++] | r << 8, Math.round(.0254 * r) } return NaN } ), this._png }, enumerable: !0, configurable: !0 }), Object.defineProperty(r, "Gif", { get: function() { return null == this._gif && (this._gif = new r("gif"), this._gif.header = [71, 73, 70], this._gif.getWidth = function(e) { return e[6] | e[7] << 8 } , this._gif.getHeight = function(e) { return e[8] | e[9] << 8 } , this._gif.getHorizontalResolution = function(e) { return 300 } , this._gif.getVerticalResolution = function(e) { return 300 } ), this._gif }, enumerable: !0, configurable: !0 }), Object.defineProperty(r, "Jpeg", { get: function() { return null == this._jpeg && (this._jpeg = new r("jpeg"), this._jpeg.header = [255, 216], this._jpeg.getWidth = function(e) { var t = -1 , r = 0; while (t < e.length) if (255 == e[t++]) { var n = e[t++]; 192 != n && 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; while (t < e.length) if (255 == e[t++]) { var n = e[t++]; 192 != n && 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: !0, configurable: !0 }), Object.defineProperty(r, "Bmp", { get: function() { return null == this._bmp && (this._bmp = new r("bmp"), this._bmp.header = [66, 77], this._bmp.getWidth = function(e) { return e[18] | e[19] << 8 } , this._bmp.getHeight = function(e) { return e[22] | e[23] << 8 } , this._bmp.getHorizontalResolution = function(e) { var t = e[38] | e[39] << 8; return Math.round(.0254 * t) } , this._bmp.getVerticalResolution = function(e) { var t = e[42] | e[43] << 8; return Math.round(.0254 * t) } ), this._bmp }, enumerable: !0, configurable: !0 }), Object.defineProperty(r, "Svg", { get: function() { var n = this; return null == this._svg && (this._svg = new r("svg+xml"), this._svg.header = [60, 115, 118, 103], e.System.NodeJs.useWebKit && (this._svg.getWidth = function(t, r) { void 0 === r && (r = ""); var n = 0 , i = document.createElement("div"); return i.style.wordWrap = "break-word", i.style.display = "inline-block", i.style.lineHeight = "normal", i.innerHTML = e.System.Convert.fromBase64StringText(r), document.body.appendChild(i), n = i.getBoundingClientRect().width, document.body.removeChild(i), n } , this._svg.getHeight = function(t, r) { void 0 === r && (r = ""); var n = 0 , i = document.createElement("div"); return i.style.wordWrap = "break-word", i.style.display = "inline-block", i.style.lineHeight = "normal", i.innerHTML = e.System.Convert.fromBase64StringText(r), document.body.appendChild(i), n = i.getBoundingClientRect().height, document.body.removeChild(i), n } ), this._svg.checkHeader = function(e) { var r = 1e3; try { if (e.length > 5 && "<" == String.fromCharCode(e[0]) && "s" == String.fromCharCode(e[1]) && "v" == String.fromCharCode(e[2]) && "g" == String.fromCharCode(e[3]) && t.Char.isWhitespace(String.fromCharCode(e[4]))) return n._svg; var i = [] , a = !1 , o = 0 , s = 0; while (s < e.length - 5 && s < r) { if ("<" == String.fromCharCode(e[s])) { if (0 == o && "s" == String.fromCharCode(e[s + 1]) && "v" == String.fromCharCode(e[s + 2]) && "g" == String.fromCharCode(e[s + 3]) && t.Char.isWhitespace(String.fromCharCode(e[s + 4]))) return n._svg; "/" == String.fromCharCode(e[s + 1]) ? (o--, a = i.pop()) : (o++, i.push(a), "!" != String.fromCharCode(e[s + 1]) && "?" != String.fromCharCode(e[s + 1]) || (a = !0)) } else ">" == String.fromCharCode(e[s]) && (s > 1 && "/" == String.fromCharCode(e[s - 1]) || a) && (o--, a = i.pop()); s++ } } catch (e) {} return null } ), this._svg }, enumerable: !0, configurable: !0 }), r.getImageFormat = function(e) { if (r.Bmp.checkHeader(e)) return r.Bmp; if (r.Gif.checkHeader(e)) return r.Gif; if (r.Jpeg.checkHeader(e)) return r.Jpeg; if (r.Png.checkHeader(e)) return r.Png; if (r.Tiff.checkHeader(e)) return r.Tiff; if (r.Svg.checkHeader(e)) return r.Svg; return null } , r.prototype.checkHeader = function(e) { for (var t = 0; t < this.header.length; t++) if (this.header[t] != e[t]) return null; return this } , r.prototype.getWidth = function(e, t) { return void 0 === t && (t = null), NaN } , r.prototype.getHeight = function(e, t) { return void 0 === t && (t = null), NaN } , r.prototype.getHorizontalResolution = function(e) { return NaN } , r.prototype.getVerticalResolution = function(e) { return NaN } , Object.defineProperty(r.prototype, "mimeType", { get: function() { return "image/" + this.guid }, enumerable: !0, configurable: !0 }), r.prototype.toString = function() { return this.guid } , r }(); r.ImageFormat = n }(n = r.Imaging || (r.Imaging = {})) }(r = t.Drawing || (t.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Collections.CollectionBase , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t }(r); t.PaperSizeCollection = n }(r = t.PrinterSettings || (t.PrinterSettings = {})) }(r = t.Printing || (t.Printing = {})) }(r = t.Drawing || (t.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(t) { var r = function() { function r() {} return Object.defineProperty(r.prototype, "paperSizes", { get: function() { var r, n = new t.PaperSizeCollection; return r = new e.PaperSize(e.PaperKind.A2,"A2",1654,2339), n.add(r), r = new e.PaperSize(e.PaperKind.A3,"A3",1169,1654), n.add(r), r = new e.PaperSize(e.PaperKind.A3Extra,"A3Extra",1268,1752), n.add(r), r = new e.PaperSize(e.PaperKind.A3ExtraTransverse,"A3ExtraTransverse",1268,1752), n.add(r), r = new e.PaperSize(e.PaperKind.A3Rotated,"A3Rotated",1654,1169), n.add(r), r = new e.PaperSize(e.PaperKind.A3Transverse,"A3Transverse",1169,1654), n.add(r), r = new e.PaperSize(e.PaperKind.A4,"A4",827,1169), n.add(r), r = new e.PaperSize(e.PaperKind.A4Extra,"A4Extra",927,1269), n.add(r), r = new e.PaperSize(e.PaperKind.A4Plus,"A4Plus",827,1299), n.add(r), r = new e.PaperSize(e.PaperKind.A4Rotated,"A4Rotated",1169,827), n.add(r), r = new e.PaperSize(e.PaperKind.A4Small,"A4Small",827,1169), n.add(r), r = new e.PaperSize(e.PaperKind.A4Transverse,"A4Transverse",827,1169), n.add(r), r = new e.PaperSize(e.PaperKind.A5,"A5",583,827), n.add(r), r = new e.PaperSize(e.PaperKind.A5Extra,"A5Extra",685,925), n.add(r), r = new e.PaperSize(e.PaperKind.A5Rotated,"A5Rotated",827,583), n.add(r), r = new e.PaperSize(e.PaperKind.A5Transverse,"A5Transverse",583,827), n.add(r), r = new e.PaperSize(e.PaperKind.A6,"A6",413,583), n.add(r), r = new e.PaperSize(e.PaperKind.A6Rotated,"A6Rotated",583,413), n.add(r), r = new e.PaperSize(e.PaperKind.APlus,"APlus",894,1402), n.add(r), r = new e.PaperSize(e.PaperKind.B4,"B4",1012,1433), n.add(r), r = new e.PaperSize(e.PaperKind.B4Envelope,"B4Envelope",984,1390), n.add(r), r = new e.PaperSize(e.PaperKind.B4JisRotated,"B4JisRotated",1433,1012), n.add(r), r = new e.PaperSize(e.PaperKind.B5,"B5",717,1012), n.add(r), r = new e.PaperSize(e.PaperKind.B5Envelope,"B5Envelope",693,984), n.add(r), r = new e.PaperSize(e.PaperKind.B5Extra,"B5Extra",791,1087), n.add(r), r = new e.PaperSize(e.PaperKind.B5JisRotated,"B5JisRotated",1012,717), n.add(r), r = new e.PaperSize(e.PaperKind.B5Transverse,"B5Transverse",717,1012), n.add(r), r = new e.PaperSize(e.PaperKind.B6Envelope,"B6Envelope",693,492), n.add(r), r = new e.PaperSize(e.PaperKind.B6Jis,"B6Jis",504,717), n.add(r), r = new e.PaperSize(e.PaperKind.B6JisRotated,"B6JisRotated",717,504), n.add(r), r = new e.PaperSize(e.PaperKind.BPlus,"BPlus",1201,1917), n.add(r), r = new e.PaperSize(e.PaperKind.C3Envelope,"C3Envelope",1276,1803), n.add(r), r = new e.PaperSize(e.PaperKind.C4Envelope,"C4Envelope",902,1276), n.add(r), r = new e.PaperSize(e.PaperKind.C5Envelope,"C5Envelope",638,902), n.add(r), r = new e.PaperSize(e.PaperKind.C65Envelope,"C65Envelope",449,902), n.add(r), r = new e.PaperSize(e.PaperKind.C6Envelope,"C6Envelope",449,638), n.add(r), r = new e.PaperSize(e.PaperKind.CSheet,"CSheet",1700,2200), n.add(r), r = new e.PaperSize(e.PaperKind.DLEnvelope,"DLEnvelope",433,866), n.add(r), r = new e.PaperSize(e.PaperKind.DSheet,"DSheet",2200,3400), n.add(r), r = new e.PaperSize(e.PaperKind.ESheet,"ESheet",3400,4400), n.add(r), r = new e.PaperSize(e.PaperKind.Executive,"Executive",725,1050), n.add(r), r = new e.PaperSize(e.PaperKind.Folio,"Folio",850,1300), n.add(r), r = new e.PaperSize(e.PaperKind.GermanLegalFanfold,"GermanLegalFanfold",850,1300), n.add(r), r = new e.PaperSize(e.PaperKind.GermanStandardFanfold,"GermanStandardFanfold",850,1200), n.add(r), r = new e.PaperSize(e.PaperKind.InviteEnvelope,"InviteEnvelope",866,866), n.add(r), r = new e.PaperSize(e.PaperKind.IsoB4,"IsoB4",984,1390), n.add(r), r = new e.PaperSize(e.PaperKind.ItalyEnvelope,"ItalyEnvelope",433,906), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseDoublePostcard,"JapaneseDoublePostcard",787,583), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseDoublePostcardRotated,"JapaneseDoublePostcardRotated",583,787), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseEnvelopeChouNumber3,"JapaneseEnvelopeChouNumber3",472,925), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseEnvelopeChouNumber3Rotated,"JapaneseEnvelopeChouNumber3Rotated",925,472), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseEnvelopeChouNumber4,"JapaneseEnvelopeChouNumber4",354,807), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseEnvelopeChouNumber4Rotated,"JapaneseEnvelopeChouNumber4Rotated",807,354), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseEnvelopeKakuNumber2,"JapaneseEnvelopeKakuNumber2",945,1307), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseEnvelopeKakuNumber2Rotated,"JapaneseEnvelopeKakuNumber2Rotated",1307,945), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseEnvelopeKakuNumber3,"JapaneseEnvelopeKakuNumber3",850,1091), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseEnvelopeKakuNumber3Rotated,"JapaneseEnvelopeKakuNumber3Rotated",1091,850), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseEnvelopeYouNumber4,"JapaneseEnvelopeYouNumber4",413,925), n.add(r), r = new e.PaperSize(e.PaperKind.JapaneseEnvelopeYouNumber4Rotated,"JapaneseEnvelopeYouNumber4Rotated",925,413), n.add(r), r = new e.PaperSize(e.PaperKind.JapanesePostcard,"JapanesePostcard",394,583), n.add(r), r = new e.PaperSize(e.PaperKind.JapanesePostcardRotated,"JapanesePostcardRotated",583,394), n.add(r), r = new e.PaperSize(e.PaperKind.Ledger,"Ledger",1700,1100), n.add(r), r = new e.PaperSize(e.PaperKind.Legal,"Legal",850,1400), n.add(r), r = new e.PaperSize(e.PaperKind.LegalExtra,"LegalExtra",950,1500), n.add(r), r = new e.PaperSize(e.PaperKind.Letter,"Letter",850,1100), n.add(r), r = new e.PaperSize(e.PaperKind.LetterExtra,"LetterExtra",950,1200), n.add(r), r = new e.PaperSize(e.PaperKind.LetterExtraTransverse,"LetterExtraTransverse",950,1200), n.add(r), r = new e.PaperSize(e.PaperKind.LetterPlus,"LetterPlus",850,1269), n.add(r), r = new e.PaperSize(e.PaperKind.LetterRotated,"LetterRotated",1100,850), n.add(r), r = new e.PaperSize(e.PaperKind.LetterSmall,"LetterSmall",850,1100), n.add(r), r = new e.PaperSize(e.PaperKind.LetterTransverse,"LetterTransverse",850,1100), n.add(r), r = new e.PaperSize(e.PaperKind.MonarchEnvelope,"MonarchEnvelope",387,750), n.add(r), r = new e.PaperSize(e.PaperKind.Note,"Note",850,1100), n.add(r), r = new e.PaperSize(e.PaperKind.Number10Envelope,"Number10Envelope",412,950), n.add(r), r = new e.PaperSize(e.PaperKind.Number11Envelope,"Number11Envelope",450,1037), n.add(r), r = new e.PaperSize(e.PaperKind.Number12Envelope,"Number12Envelope",475,1100), n.add(r), r = new e.PaperSize(e.PaperKind.Number14Envelope,"Number14Envelope",500,1150), n.add(r), r = new e.PaperSize(e.PaperKind.Number9Envelope,"Number9Envelope",387,887), n.add(r), r = new e.PaperSize(e.PaperKind.PersonalEnvelope,"PersonalEnvelope",362,650), n.add(r), r = new e.PaperSize(e.PaperKind.Prc16K,"Prc16K",0,0), n.add(r), r = new e.PaperSize(e.PaperKind.Prc16KRotated,"Prc16KRotated",0,0), n.add(r), r = new e.PaperSize(e.PaperKind.Prc32K,"Prc32K",0,0), n.add(r), r = new e.PaperSize(e.PaperKind.Prc32KBig,"Prc32KBig",0,0), n.add(r), r = new e.PaperSize(e.PaperKind.Prc32KBigRotated,"Prc32KBigRotated",0,0), n.add(r), r = new e.PaperSize(e.PaperKind.Prc32KRotated,"Prc32KRotated",0,0), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber1,"PrcEnvelopeNumber1",402,650), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber10,"PrcEnvelopeNumber10",1276,1803), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber10Rotated,"PrcEnvelopeNumber10Rotated",1803,1276), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber1Rotated,"PrcEnvelopeNumber1Rotated",650,402), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber2,"PrcEnvelopeNumber2",650,402), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber2Rotated,"PrcEnvelopeNumber2Rotated",402,650), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber3,"PrcEnvelopeNumber3",492,693), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber3Rotated,"PrcEnvelopeNumber3Rotated",693,492), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber4,"PrcEnvelopeNumber4",433,819), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber4Rotated,"PrcEnvelopeNumber4Rotated",819,433), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber5,"PrcEnvelopeNumber5",433,866), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber5Rotated,"PrcEnvelopeNumber5Rotated",866,433), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber6,"PrcEnvelopeNumber6",472,906), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber6Rotated,"PrcEnvelopeNumber6Rotated",906,472), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber7,"PrcEnvelopeNumber7",630,906), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber7Rotated,"PrcEnvelopeNumber7Rotated",906,630), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber8,"PrcEnvelopeNumber8",472,1217), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber8Rotated,"PrcEnvelopeNumber8Rotated",1217,472), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber9,"PrcEnvelopeNumber9",902,1276), n.add(r), r = new e.PaperSize(e.PaperKind.PrcEnvelopeNumber9Rotated,"PrcEnvelopeNumber9Rotated",1276,902), n.add(r), r = new e.PaperSize(e.PaperKind.Quarto,"Quarto",846,1083), n.add(r), r = new e.PaperSize(e.PaperKind.Standard10x11,"Standard10x11",1e3,1100), n.add(r), r = new e.PaperSize(e.PaperKind.Standard10x14,"Standard10x14",1e3,1400), n.add(r), r = new e.PaperSize(e.PaperKind.Standard11x17,"Standard11x17",1100,1700), n.add(r), r = new e.PaperSize(e.PaperKind.Standard12x11,"Standard12x11",1200,1100), n.add(r), r = new e.PaperSize(e.PaperKind.Standard15x11,"Standard15x11",1500,1100), n.add(r), r = new e.PaperSize(e.PaperKind.Standard9x11,"Standard9x11",900,1100), n.add(r), r = new e.PaperSize(e.PaperKind.Statement,"Statement",550,850), n.add(r), r = new e.PaperSize(e.PaperKind.Tabloid,"Tabloid",1100,1700), n.add(r), r = new e.PaperSize(e.PaperKind.TabloidExtra,"TabloidExtra",1200,1800), n.add(r), r = new e.PaperSize(e.PaperKind.USStandardFanfold,"USStandardFanfold",1487,1100), n.add(r), n }, enumerable: !0, configurable: !0 }), r }(); t.PrinterSettings = r }(t = e.PrinterSettings || (e.PrinterSettings = {})) }(t = e.Printing || (e.Printing = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.PaperKind || (e.PaperKind = {})) }(t = e.Printing || (e.Printing = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t(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 } return Object.defineProperty(t.prototype, "kind", { get: function() { if (this._kind <= e.PaperKind.PrcEnvelopeNumber10Rotated && this._kind != (e.PaperKind.C65Envelope | e.PaperKind.Standard10x14) && this._kind != (e.PaperKind.B4Envelope | e.PaperKind.Standard10x14)) return this._kind; return e.PaperKind.Custom }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "name", { get: function() { return this._name }, set: function(t) { (this._kind == e.PaperKind.Custom || this.createdByDefaultConstructor) && (this._name = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "width", { get: function() { return this._width }, set: function(t) { (this._kind == e.PaperKind.Custom || this.createdByDefaultConstructor) && (this._width = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "height", { get: function() { return this._height }, set: function(t) { (this._kind == e.PaperKind.Custom || this.createdByDefaultConstructor) && (this._height = t) }, enumerable: !0, configurable: !0 }), t }(); e.PaperSize = t }(t = e.Printing || (e.Printing = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Display = 0] = "Display", e[e.ThousandthsOfAnInch = 1] = "ThousandthsOfAnInch", e[e.HundredthsOfAMillimeter = 2] = "HundredthsOfAMillimeter", e[e.TenthsOfAMillimeter = 3] = "TenthsOfAMillimeter" }(t = e.PrinterUnit || (e.PrinterUnit = {})) }(t = e.Printing || (e.Printing = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.convert = function(e, r, n) { var i = t.unitsPerDisplay(r); return e * t.unitsPerDisplay(n) / i } , t.unitsPerDisplay = function(t) { switch (t) { case e.PrinterUnit.Display: return 1; case e.PrinterUnit.ThousandthsOfAnInch: return 10; case e.PrinterUnit.HundredthsOfAMillimeter: return 25.4; case e.PrinterUnit.TenthsOfAMillimeter: return 2.54 } return 1 } , t }(); e.PrinterUnitConvert = t }(t = e.Printing || (e.Printing = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Hide = 0] = "Hide", e[e.None = 1] = "None", e[e.Show = 2] = "Show" }(t = e.HotkeyPrefix || (e.HotkeyPrefix = {})) }(t = e.Text || (e.Text = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.Brush = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() {} return Object.defineProperty(t, "aliceBlue", { get: function() { return new e.SolidBrush(e.Color.aliceBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "antiqueWhite", { get: function() { return new e.SolidBrush(e.Color.antiqueWhite) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "aqua", { get: function() { return new e.SolidBrush(e.Color.aqua) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "aquamarine", { get: function() { return new e.SolidBrush(e.Color.aquamarine) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "azure", { get: function() { return new e.SolidBrush(e.Color.azure) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "beige", { get: function() { return new e.SolidBrush(e.Color.beige) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "bisque", { get: function() { return new e.SolidBrush(e.Color.bisque) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "black", { get: function() { return new e.SolidBrush(e.Color.black) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "blanchedAlmond", { get: function() { return new e.SolidBrush(e.Color.blanchedAlmond) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "blue", { get: function() { return new e.SolidBrush(e.Color.blue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "blueViolet", { get: function() { return new e.SolidBrush(e.Color.blueViolet) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "brown", { get: function() { return new e.SolidBrush(e.Color.brown) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "burlyWood", { get: function() { return new e.SolidBrush(e.Color.burlyWood) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "cadetBlue", { get: function() { return new e.SolidBrush(e.Color.cadetBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "chartreuse", { get: function() { return new e.SolidBrush(e.Color.chartreuse) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "chocolate", { get: function() { return new e.SolidBrush(e.Color.chocolate) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "coral", { get: function() { return new e.SolidBrush(e.Color.coral) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "cornflowerBlue", { get: function() { return new e.SolidBrush(e.Color.cornflowerBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "cornsilk", { get: function() { return new e.SolidBrush(e.Color.cornsilk) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "crimson", { get: function() { return new e.SolidBrush(e.Color.crimson) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "cyan", { get: function() { return new e.SolidBrush(e.Color.cyan) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkBlue", { get: function() { return new e.SolidBrush(e.Color.darkBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkCyan", { get: function() { return new e.SolidBrush(e.Color.darkCyan) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkGoldenrod", { get: function() { return new e.SolidBrush(e.Color.darkGoldenrod) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkGray", { get: function() { return new e.SolidBrush(e.Color.darkGray) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkGreen", { get: function() { return new e.SolidBrush(e.Color.darkGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkKhaki", { get: function() { return new e.SolidBrush(e.Color.darkKhaki) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkMagenta", { get: function() { return new e.SolidBrush(e.Color.darkMagenta) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkOliveGreen", { get: function() { return new e.SolidBrush(e.Color.darkOliveGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkOrange", { get: function() { return new e.SolidBrush(e.Color.darkOrange) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkOrchid", { get: function() { return new e.SolidBrush(e.Color.darkOrchid) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkRed", { get: function() { return new e.SolidBrush(e.Color.darkRed) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkSalmon", { get: function() { return new e.SolidBrush(e.Color.darkSalmon) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkSeaGreen", { get: function() { return new e.SolidBrush(e.Color.darkSeaGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkSlateBlue", { get: function() { return new e.SolidBrush(e.Color.darkSlateBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkSlateGray", { get: function() { return new e.SolidBrush(e.Color.darkSlateGray) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkTurquoise", { get: function() { return new e.SolidBrush(e.Color.darkTurquoise) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkViolet", { get: function() { return new e.SolidBrush(e.Color.darkViolet) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "deepPink", { get: function() { return new e.SolidBrush(e.Color.deepPink) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "deepSkyBlue", { get: function() { return new e.SolidBrush(e.Color.deepSkyBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "dimGray", { get: function() { return new e.SolidBrush(e.Color.dimGray) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "dodgerBlue", { get: function() { return new e.SolidBrush(e.Color.dodgerBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "firebrick", { get: function() { return new e.SolidBrush(e.Color.firebrick) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "floralWhite", { get: function() { return new e.SolidBrush(e.Color.floralWhite) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "forestGreen", { get: function() { return new e.SolidBrush(e.Color.forestGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "fuchsia", { get: function() { return new e.SolidBrush(e.Color.fuchsia) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "gainsboro", { get: function() { return new e.SolidBrush(e.Color.gainsboro) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "ghostWhite", { get: function() { return new e.SolidBrush(e.Color.ghostWhite) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "gold", { get: function() { return new e.SolidBrush(e.Color.gold) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "goldenrod", { get: function() { return new e.SolidBrush(e.Color.goldenrod) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "gray", { get: function() { return new e.SolidBrush(e.Color.gray) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "green", { get: function() { return new e.SolidBrush(e.Color.green) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "greenYellow", { get: function() { return new e.SolidBrush(e.Color.greenYellow) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "honeydew", { get: function() { return new e.SolidBrush(e.Color.honeydew) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "hotPink", { get: function() { return new e.SolidBrush(e.Color.hotPink) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "indianRed", { get: function() { return new e.SolidBrush(e.Color.indianRed) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "indigo", { get: function() { return new e.SolidBrush(e.Color.indigo) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "ivory", { get: function() { return new e.SolidBrush(e.Color.ivory) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "khaki", { get: function() { return new e.SolidBrush(e.Color.khaki) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lavender", { get: function() { return new e.SolidBrush(e.Color.lavender) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lavenderBlush", { get: function() { return new e.SolidBrush(e.Color.lavenderBlush) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lawnGreen", { get: function() { return new e.SolidBrush(e.Color.lawnGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lemonChiffon", { get: function() { return new e.SolidBrush(e.Color.lemonChiffon) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightBlue", { get: function() { return new e.SolidBrush(e.Color.lightBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightCoral", { get: function() { return new e.SolidBrush(e.Color.lightCoral) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightCyan", { get: function() { return new e.SolidBrush(e.Color.lightCyan) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightGoldenrodYellow", { get: function() { return new e.SolidBrush(e.Color.lightGoldenrodYellow) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightGray", { get: function() { return new e.SolidBrush(e.Color.lightGray) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightGreen", { get: function() { return new e.SolidBrush(e.Color.lightGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightPink", { get: function() { return new e.SolidBrush(e.Color.lightPink) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightSalmon", { get: function() { return new e.SolidBrush(e.Color.lightSalmon) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightSeaGreen", { get: function() { return new e.SolidBrush(e.Color.lightSeaGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightSkyBlue", { get: function() { return new e.SolidBrush(e.Color.lightSkyBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightSlateGray", { get: function() { return new e.SolidBrush(e.Color.lightSlateGray) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightSteelBlue", { get: function() { return new e.SolidBrush(e.Color.lightSteelBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightYellow", { get: function() { return new e.SolidBrush(e.Color.lightYellow) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lime", { get: function() { return new e.SolidBrush(e.Color.lime) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "limeGreen", { get: function() { return new e.SolidBrush(e.Color.limeGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "linen", { get: function() { return new e.SolidBrush(e.Color.linen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "magenta", { get: function() { return new e.SolidBrush(e.Color.magenta) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "maroon", { get: function() { return new e.SolidBrush(e.Color.maroon) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumAquamarine", { get: function() { return new e.SolidBrush(e.Color.mediumAquamarine) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumBlue", { get: function() { return new e.SolidBrush(e.Color.mediumBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumOrchid", { get: function() { return new e.SolidBrush(e.Color.mediumOrchid) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumPurple", { get: function() { return new e.SolidBrush(e.Color.mediumPurple) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumSeaGreen", { get: function() { return new e.SolidBrush(e.Color.mediumSeaGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumSlateBlue", { get: function() { return new e.SolidBrush(e.Color.mediumSlateBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumSpringGreen", { get: function() { return new e.SolidBrush(e.Color.mediumSpringGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumTurquoise", { get: function() { return new e.SolidBrush(e.Color.mediumTurquoise) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumVioletRed", { get: function() { return new e.SolidBrush(e.Color.mediumVioletRed) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "midnightBlue", { get: function() { return new e.SolidBrush(e.Color.midnightBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mintCream", { get: function() { return new e.SolidBrush(e.Color.mintCream) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mistyRose", { get: function() { return new e.SolidBrush(e.Color.mistyRose) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "moccasin", { get: function() { return new e.SolidBrush(e.Color.moccasin) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "navajoWhite", { get: function() { return new e.SolidBrush(e.Color.navajoWhite) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "navy", { get: function() { return new e.SolidBrush(e.Color.navy) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "oldLace", { get: function() { return new e.SolidBrush(e.Color.oldLace) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "olive", { get: function() { return new e.SolidBrush(e.Color.olive) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "oliveDrab", { get: function() { return new e.SolidBrush(e.Color.oliveDrab) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "orange", { get: function() { return new e.SolidBrush(e.Color.orange) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "orangeRed", { get: function() { return new e.SolidBrush(e.Color.orangeRed) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "orchid", { get: function() { return new e.SolidBrush(e.Color.orchid) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "paleGoldenrod", { get: function() { return new e.SolidBrush(e.Color.paleGoldenrod) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "paleGreen", { get: function() { return new e.SolidBrush(e.Color.paleGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "paleTurquoise", { get: function() { return new e.SolidBrush(e.Color.paleTurquoise) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "paleVioletRed", { get: function() { return new e.SolidBrush(e.Color.paleVioletRed) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "papayaWhip", { get: function() { return new e.SolidBrush(e.Color.papayaWhip) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "peachPuff", { get: function() { return new e.SolidBrush(e.Color.peachPuff) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "peru", { get: function() { return new e.SolidBrush(e.Color.peru) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "pink", { get: function() { return new e.SolidBrush(e.Color.pink) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "plum", { get: function() { return new e.SolidBrush(e.Color.plum) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "powderBlue", { get: function() { return new e.SolidBrush(e.Color.powderBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "purple", { get: function() { return new e.SolidBrush(e.Color.purple) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "red", { get: function() { return new e.SolidBrush(e.Color.red) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "rosyBrown", { get: function() { return new e.SolidBrush(e.Color.rosyBrown) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "royalBlue", { get: function() { return new e.SolidBrush(e.Color.royalBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "saddleBrown", { get: function() { return new e.SolidBrush(e.Color.saddleBrown) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "salmon", { get: function() { return new e.SolidBrush(e.Color.salmon) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "sandyBrown", { get: function() { return new e.SolidBrush(e.Color.sandyBrown) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "seaGreen", { get: function() { return new e.SolidBrush(e.Color.seaGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "seaShell", { get: function() { return new e.SolidBrush(e.Color.seaShell) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "sienna", { get: function() { return new e.SolidBrush(e.Color.sienna) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "silver", { get: function() { return new e.SolidBrush(e.Color.silver) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "skyBlue", { get: function() { return new e.SolidBrush(e.Color.skyBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "slateBlue", { get: function() { return new e.SolidBrush(e.Color.slateBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "slateGray", { get: function() { return new e.SolidBrush(e.Color.slateGray) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "snow", { get: function() { return new e.SolidBrush(e.Color.snow) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "springGreen", { get: function() { return new e.SolidBrush(e.Color.springGreen) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "steelBlue", { get: function() { return new e.SolidBrush(e.Color.steelBlue) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "tan", { get: function() { return new e.SolidBrush(e.Color.tan) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "teal", { get: function() { return new e.SolidBrush(e.Color.teal) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "thistle", { get: function() { return new e.SolidBrush(e.Color.thistle) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "tomato", { get: function() { return new e.SolidBrush(e.Color.tomato) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "turquoise", { get: function() { return new e.SolidBrush(e.Color.turquoise) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "violet", { get: function() { return new e.SolidBrush(e.Color.violet) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "wheat", { get: function() { return new e.SolidBrush(e.Color.wheat) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "white", { get: function() { return new e.SolidBrush(e.Color.white) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "whiteSmoke", { get: function() { return new e.SolidBrush(e.Color.whiteSmoke) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "yellow", { get: function() { return new e.SolidBrush(e.Color.yellow) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "yellowGreen", { get: function() { return new e.SolidBrush(e.Color.yellowGreen) }, enumerable: !0, configurable: !0 }), t }(); e.Brushes = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function() { function t() { this.name = t.customName } return Object.defineProperty(t, "aliceBlue", { get: function() { var e = t.fromArgb(240, 248, 255); return e.name = "Alice Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "antiqueWhite", { get: function() { var e = t.fromArgb(250, 235, 215); return e.name = "Antique White", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "aqua", { get: function() { var e = t.fromArgb(0, 255, 255); return e.name = "Aqua", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "aquamarine", { get: function() { var e = t.fromArgb(127, 255, 212); return e.name = "Aquamarine", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "azure", { get: function() { var e = t.fromArgb(240, 255, 255); return e.name = "Azure", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "beige", { get: function() { var e = t.fromArgb(245, 245, 220); return e.name = "Beige", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "bisque", { get: function() { var e = t.fromArgb(255, 228, 196); return e.name = "Bisque", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "black", { get: function() { var e = t.fromArgb(0, 0, 0); return e.name = "Black", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "blanchedAlmond", { get: function() { var e = t.fromArgb(255, 235, 205); return e.name = "Blanched Almond", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "blue", { get: function() { var e = t.fromArgb(0, 0, 255); return e.name = "Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "blueViolet", { get: function() { var e = t.fromArgb(138, 43, 226); return e.name = "Blue Violet", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "brown", { get: function() { var e = t.fromArgb(165, 42, 42); return e.name = "Brown", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "burlyWood", { get: function() { var e = t.fromArgb(222, 184, 135); return e.name = "Burly Wood", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "cadetBlue", { get: function() { var e = t.fromArgb(95, 158, 160); return e.name = "Cadet Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "chartreuse", { get: function() { var e = t.fromArgb(127, 255, 0); return e.name = "Chartreuse", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "chocolate", { get: function() { var e = t.fromArgb(210, 105, 30); return e.name = "Chocolate", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "coral", { get: function() { var e = t.fromArgb(255, 127, 80); return e.name = "Coral", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "cornflowerBlue", { get: function() { var e = t.fromArgb(100, 149, 237); return e.name = "Cornflower Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "cornsilk", { get: function() { var e = t.fromArgb(255, 248, 220); return e.name = "Cornsilk", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "crimson", { get: function() { var e = t.fromArgb(220, 20, 60); return e.name = "Crimson", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "cyan", { get: function() { var e = t.fromArgb(0, 255, 255); return e.name = "Cyan", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkBlue", { get: function() { var e = t.fromArgb(0, 0, 139); return e.name = "Dark Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkCyan", { get: function() { var e = t.fromArgb(0, 139, 139); return e.name = "Dark Cyan", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkGoldenrod", { get: function() { var e = t.fromArgb(184, 134, 11); return e.name = "Dark Goldenrod", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkGray", { get: function() { var e = t.fromArgb(169, 169, 169); return e.name = "Dark Gray", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkGreen", { get: function() { var e = t.fromArgb(0, 100, 0); return e.name = "Dark Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkKhaki", { get: function() { var e = t.fromArgb(189, 183, 107); return e.name = "Dark Khaki", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkMagenta", { get: function() { var e = t.fromArgb(139, 0, 139); return e.name = "Dark Magenta", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkOliveGreen", { get: function() { var e = t.fromArgb(85, 107, 47); return e.name = "Dark Olive Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkOrange", { get: function() { var e = t.fromArgb(255, 140, 0); return e.name = "Dark Orange", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkOrchid", { get: function() { var e = t.fromArgb(153, 50, 204); return e.name = "Dark Orchid", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkRed", { get: function() { var e = t.fromArgb(139, 0, 0); return e.name = "Dark Red", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkSalmon", { get: function() { var e = t.fromArgb(233, 150, 122); return e.name = "Dark Salmon", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkSeaGreen", { get: function() { var e = t.fromArgb(143, 188, 143); return e.name = "Dark Sea Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkSlateBlue", { get: function() { var e = t.fromArgb(72, 61, 139); return e.name = "Dark Slate Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkSlateGray", { get: function() { var e = t.fromArgb(47, 79, 79); return e.name = "Dark Slate Gray", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkTurquoise", { get: function() { var e = t.fromArgb(0, 206, 209); return e.name = "Dark Turquoise", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "darkViolet", { get: function() { var e = t.fromArgb(148, 0, 211); return e.name = "Dark Violet", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "deepPink", { get: function() { var e = t.fromArgb(255, 20, 147); return e.name = "Deep Pink", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "deepSkyBlue", { get: function() { var e = t.fromArgb(0, 191, 255); return e.name = "Deep Sky Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "dimGray", { get: function() { var e = t.fromArgb(105, 105, 105); return e.name = "Dim Gray", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "dodgerBlue", { get: function() { var e = t.fromArgb(30, 144, 255); return e.name = "Dodger Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "firebrick", { get: function() { var e = t.fromArgb(178, 34, 34); return e.name = "Firebrick", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "floralWhite", { get: function() { var e = t.fromArgb(255, 250, 240); return e.name = "Floral White", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "forestGreen", { get: function() { var e = t.fromArgb(34, 139, 34); return e.name = "Forest Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "fuchsia", { get: function() { var e = t.fromArgb(255, 0, 255); return e.name = "Fuchsia", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "gainsboro", { get: function() { var e = t.fromArgb(220, 220, 220); return e.name = "Gainsboro", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "ghostWhite", { get: function() { var e = t.fromArgb(248, 248, 255); return e.name = "Ghost White", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "gold", { get: function() { var e = t.fromArgb(255, 215, 0); return e.name = "Gold", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "goldenrod", { get: function() { var e = t.fromArgb(218, 165, 32); return e.name = "Goldenrod", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "gray", { get: function() { var e = t.fromArgb(128, 128, 128); return e.name = "Gray", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "green", { get: function() { var e = t.fromArgb(0, 128, 0); return e.name = "Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "greenYellow", { get: function() { var e = t.fromArgb(173, 255, 47); return e.name = "Green Yellow", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "honeydew", { get: function() { var e = t.fromArgb(240, 255, 240); return e.name = "Honeydew", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "hotPink", { get: function() { var e = t.fromArgb(255, 105, 180); return e.name = "Hot Pink", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "indianRed", { get: function() { var e = t.fromArgb(205, 92, 92); return e.name = "Indian Red", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "indigo", { get: function() { var e = t.fromArgb(75, 0, 130); return e.name = "Indigo", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "ivory", { get: function() { var e = t.fromArgb(255, 255, 240); return e.name = "Ivory", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "khaki", { get: function() { var e = t.fromArgb(240, 230, 140); return e.name = "Khaki", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lavender", { get: function() { var e = t.fromArgb(230, 230, 250); return e.name = "Lavender", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lavenderBlush", { get: function() { var e = t.fromArgb(255, 240, 245); return e.name = "Lavender Blush", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lawnGreen", { get: function() { var e = t.fromArgb(124, 252, 0); return e.name = "Lawn Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lemonChiffon", { get: function() { var e = t.fromArgb(255, 250, 205); return e.name = "Lemon Chiffon", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightBlue", { get: function() { var e = t.fromArgb(173, 216, 230); return e.name = "Light Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightCoral", { get: function() { var e = t.fromArgb(240, 128, 128); return e.name = "Light Coral", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightCyan", { get: function() { var e = t.fromArgb(224, 255, 255); return e.name = "Light Cyan", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightGoldenrodYellow", { get: function() { var e = t.fromArgb(250, 250, 210); return e.name = "Light Goldenrod Yellow", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightGray", { get: function() { var e = t.fromArgb(211, 211, 211); return e.name = "Light Gray", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightGreen", { get: function() { var e = t.fromArgb(144, 238, 144); return e.name = "Light Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightPink", { get: function() { var e = t.fromArgb(255, 182, 193); return e.name = "Light Pink", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightSalmon", { get: function() { var e = t.fromArgb(255, 160, 122); return e.name = "Light Salmon", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightSeaGreen", { get: function() { var e = t.fromArgb(32, 178, 170); return e.name = "Light Sea Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightSkyBlue", { get: function() { var e = t.fromArgb(135, 206, 250); return e.name = "Light Sky Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightSlateGray", { get: function() { var e = t.fromArgb(119, 136, 153); return e.name = "Light Slate Gray", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightSteelBlue", { get: function() { var e = t.fromArgb(176, 196, 222); return e.name = "Light Steel Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lightYellow", { get: function() { var e = t.fromArgb(255, 255, 224); return e.name = "Light Yellow", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "lime", { get: function() { var e = t.fromArgb(0, 255, 0); return e.name = "Lime", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "limeGreen", { get: function() { var e = t.fromArgb(50, 205, 50); return e.name = "Lime Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "linen", { get: function() { var e = t.fromArgb(250, 240, 230); return e.name = "Linen", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "magenta", { get: function() { var e = t.fromArgb(255, 0, 255); return e.name = "Magenta", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "maroon", { get: function() { var e = t.fromArgb(128, 0, 0); return e.name = "Maroon", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumAquamarine", { get: function() { var e = t.fromArgb(102, 205, 170); return e.name = "Medium Aquamarine", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumBlue", { get: function() { var e = t.fromArgb(0, 0, 205); return e.name = "Medium Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumOrchid", { get: function() { var e = t.fromArgb(186, 85, 211); return e.name = "Medium Orchid", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumPurple", { get: function() { var e = t.fromArgb(147, 112, 219); return e.name = "Medium Purple", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumSeaGreen", { get: function() { var e = t.fromArgb(60, 179, 113); return e.name = "Medium Sea Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumSlateBlue", { get: function() { var e = t.fromArgb(123, 104, 238); return e.name = "Medium Slate Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumSpringGreen", { get: function() { var e = t.fromArgb(0, 250, 154); return e.name = "Medium Spring Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumTurquoise", { get: function() { var e = t.fromArgb(72, 209, 204); return e.name = "Medium Turquoise", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mediumVioletRed", { get: function() { var e = t.fromArgb(199, 21, 133); return e.name = "Medium Violet Red", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "midnightBlue", { get: function() { var e = t.fromArgb(25, 25, 112); return e.name = "Midnight Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mintCream", { get: function() { var e = t.fromArgb(245, 255, 250); return e.name = "Mint Cream", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "mistyRose", { get: function() { var e = t.fromArgb(255, 228, 225); return e.name = "Misty Rose", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "moccasin", { get: function() { var e = t.fromArgb(255, 228, 181); return e.name = "Moccasin", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "navajoWhite", { get: function() { var e = t.fromArgb(255, 222, 173); return e.name = "Navajo White", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "navy", { get: function() { var e = t.fromArgb(0, 0, 128); return e.name = "Navy", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "oldLace", { get: function() { var e = t.fromArgb(253, 245, 230); return e.name = "Old Lace", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "olive", { get: function() { var e = t.fromArgb(128, 128, 0); return e.name = "Olive", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "oliveDrab", { get: function() { var e = t.fromArgb(107, 142, 35); return e.name = "Olive Drab", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "orange", { get: function() { var e = t.fromArgb(255, 165, 0); return e.name = "Orange", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "orangeRed", { get: function() { var e = t.fromArgb(255, 69, 0); return e.name = "Orange Red", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "orchid", { get: function() { var e = t.fromArgb(218, 112, 214); return e.name = "Orchid", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "paleGoldenrod", { get: function() { var e = t.fromArgb(238, 232, 170); return e.name = "Pale Goldenrod", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "paleGreen", { get: function() { var e = t.fromArgb(152, 251, 152); return e.name = "Pale Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "paleTurquoise", { get: function() { var e = t.fromArgb(175, 238, 238); return e.name = "Pale Turquoise", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "paleVioletRed", { get: function() { var e = t.fromArgb(219, 112, 147); return e.name = "Pale Violet Red", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "papayaWhip", { get: function() { var e = t.fromArgb(255, 239, 213); return e.name = "Papaya Whip", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "peachPuff", { get: function() { var e = t.fromArgb(255, 218, 185); return e.name = "Peach Puff", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "peru", { get: function() { var e = t.fromArgb(205, 133, 63); return e.name = "Peru", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "pink", { get: function() { var e = t.fromArgb(255, 192, 203); return e.name = "Pink", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "plum", { get: function() { var e = t.fromArgb(221, 160, 221); return e.name = "Plum", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "powderBlue", { get: function() { var e = t.fromArgb(176, 224, 230); return e.name = "Powder Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "purple", { get: function() { var e = t.fromArgb(128, 0, 128); return e.name = "Purple", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "red", { get: function() { var e = t.fromArgb(255, 0, 0); return e.name = "Red", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "rosyBrown", { get: function() { var e = t.fromArgb(188, 143, 143); return e.name = "Rosy Brown", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "royalBlue", { get: function() { var e = t.fromArgb(65, 105, 225); return e.name = "Royal Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "saddleBrown", { get: function() { var e = t.fromArgb(139, 69, 19); return e.name = "Saddle Brown", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "salmon", { get: function() { var e = t.fromArgb(250, 128, 114); return e.name = "Salmon", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "sandyBrown", { get: function() { var e = t.fromArgb(244, 164, 96); return e.name = "Sandy Brown", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "seaGreen", { get: function() { var e = t.fromArgb(46, 139, 87); return e.name = "Sea Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "seaShell", { get: function() { var e = t.fromArgb(255, 245, 238); return e.name = "Sea Shell", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "sienna", { get: function() { var e = t.fromArgb(160, 82, 45); return e.name = "Sienna", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "silver", { get: function() { var e = t.fromArgb(192, 192, 192); return e.name = "Silver", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "skyBlue", { get: function() { var e = t.fromArgb(135, 206, 235); return e.name = "Sky Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "slateBlue", { get: function() { var e = t.fromArgb(106, 90, 205); return e.name = "Slate Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "slateGray", { get: function() { var e = t.fromArgb(112, 128, 144); return e.name = "Slate Gray", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "snow", { get: function() { var e = t.fromArgb(255, 250, 250); return e.name = "Snow", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "springGreen", { get: function() { var e = t.fromArgb(0, 255, 127); return e.name = "Spring Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "steelBlue", { get: function() { var e = t.fromArgb(70, 130, 180); return e.name = "Steel Blue", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "tan", { get: function() { var e = t.fromArgb(210, 180, 140); return e.name = "Tan", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "teal", { get: function() { var e = t.fromArgb(0, 128, 128); return e.name = "Teal", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "thistle", { get: function() { var e = t.fromArgb(216, 191, 216); return e.name = "Thistle", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "tomato", { get: function() { var e = t.fromArgb(255, 99, 71); return e.name = "Tomato", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "turquoise", { get: function() { var e = t.fromArgb(64, 224, 208); return e.name = "Turquoise", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "violet", { get: function() { var e = t.fromArgb(238, 130, 238); return e.name = "Violet", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "wheat", { get: function() { var e = t.fromArgb(245, 222, 179); return e.name = "Wheat", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "white", { get: function() { var e = t.fromArgb(255, 255, 255); return e.name = "White", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "whiteSmoke", { get: function() { var e = t.fromArgb(245, 245, 245); return e.name = "White Smoke", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "yellow", { get: function() { var e = t.fromArgb(255, 255, 0); return e.name = "Yellow", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "yellowGreen", { get: function() { var e = t.fromArgb(154, 205, 50); return e.name = "Yellow Green", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "transparent", { get: function() { var e = t.fromArgb(0, 255, 255, 255); return e.name = "Transparent", e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "empty", { get: function() { var e = t.fromArgb(0, 255, 255, 255); return e.name = "Empty", e }, enumerable: !0, configurable: !0 }), t.fromName = function(r) { r = r.replace(/ /gi, ""), r = r.charAt(0).toLowerCase() + r.substr(1); var n = t[r]; if (n instanceof t) return n; throw e.StiString.format("Color.fromName(name); Color name {0} not found.", r) } , Object.defineProperty(t.prototype, "a", { get: function() { return this._a }, set: function(e) { this._a = e, this.name = t.customName }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "r", { get: function() { return this._r }, set: function(e) { this._r = e, this.name = t.customName }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "g", { get: function() { return this._g }, set: function(e) { this._g = e, this.name = t.customName }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "b", { get: function() { return this._b }, set: function(e) { this._b = e, this.name = t.customName }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isNamedColor", { get: function() { return this.name != t.customName }, enumerable: !0, configurable: !0 }), t.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 } , t.prototype.toString = function() { return e.StiString.format("rgba({0},{1},{2},{3})", this.r, this.g, this.b, this.a / 255) } , t.fromArgb = function(e, r, n, i) { void 0 === n ? (i = r._b, n = r._g, r = r._r) : void 0 === i && (i = n, n = r, r = e, e = 255); var a = new t; return a._a = e, a._r = r, a._g = n, a._b = i, a.name = t.customName, a } , t.prototype.toArgb = function() { var e = this._a << 24; return e += this._r << 16, e += this._g << 8, e += this._b } , t.prototype.getHashCode = function() { return this.toArgb() } , t.customName = "Custom", t }(); t.Color = r }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.toHtml = function(e) { return this.toHtml2(e, !0) } , t.toHtml2 = function(t, r) { var n = ""; if (t.isNamedColor && r) { if (t.stimulsoft.equals(e.Color.lightGray)) return "LightGrey"; return t.name.stimulsoft.replaceAll(" ", "") } var i = t.r.toString(16) , a = t.g.toString(16) , o = t.b.toString(16); return 1 == i.length && (i = "0" + i), 1 == a.length && (a = "0" + a), 1 == o.length && (o = "0" + o), ("#" + i + a + o).toUpperCase() } , t.fromHtml = function(t) { var r = 0 , n = "FF"; t.stimulsoft.startsWith("0x") && (t = "#" + t.substring(2)), t.stimulsoft.startsWith("#") && 4 == t.length && (t += t.substring(1)), t.length > 7 && (r = 2, n = t.substr(1, 2)); var i = t.substr(1 + r, 2) , a = t.substr(3 + r, 2) , o = t.substr(5 + r, 2) , s = parseInt(n, 16) , u = parseInt(i, 16) , l = parseInt(a, 16) , m = parseInt(o, 16); return e.Color.fromArgb(s, u, l, m) } , t }(); e.ColorTranslator = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.ContentAlignment || (e.ContentAlignment = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function() { function r(e, r, n, i) { void 0 === e && (e = "Arial"), void 0 === r && (r = 10), this._style = t.FontStyle.Regular, this._unit = t.GraphicsUnit.Point, this._fontFamily = new t.FontFamily(e), this._size = r, void 0 !== n && (this._style = n), void 0 !== i && (this._unit = i) } return r.prototype.clone = function(e, r) { void 0 === e && (e = !0), void 0 === r && (r = !0); var n = this.stimulsoft.memberwiseClone(); return n._fontFamily = new t.FontFamily(this.fontFamily.name), n } , Object.defineProperty(r.prototype, "fontFamily", { get: function() { return this._fontFamily }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "name", { get: function() { return this._fontFamily.name }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "size", { get: function() { return this._size }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "sizeInPoints", { get: function() { switch (this.unit) { case t.GraphicsUnit.Pixel: return .75 * this.size } return this.size }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "style", { get: function() { return this._style }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "unit", { get: function() { return this._unit }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "bold", { get: function() { return 0 != (this._style & t.FontStyle.Bold) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "italic", { get: function() { return 0 != (this._style & t.FontStyle.Italic) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "strikeout", { get: function() { return 0 != (this._style & t.FontStyle.Strikeout) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "underline", { get: function() { return 0 != (this._style & t.FontStyle.Underline) }, enumerable: !0, configurable: !0 }), r.prototype.toString = function() { return e.StiString.format("{0} {1} {2} {3}", this.style == t.FontStyle.Italic ? "italic" : "normal", this.style == t.FontStyle.Bold ? "bold" : "normal", this.sizeInPoints.toString() + "pt", this.fontFamily.name) } , r.prototype.getHeight = function() { return this._size } , r.prototype.getHashCode = function() { var e = 1; return e = 397 * e ^ (null != this._fontFamily ? this._fontFamily.name.stimulsoft.getHashCode() : 0), e = 397 * e ^ (null != this._size ? this._size : 0), e = 397 * e ^ (null != this._style ? this._style : 0), e = 397 * e ^ (null != this._unit ? this._unit : 0), Math.abs(e) } , r }(); t.Font = r }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e(e) { this._name = e } return Object.defineProperty(e, "families", { get: function() { if (null == e._families) { e._families = [], e._families.push(new e("Agency FB")), e._families.push(new e("Aharoni")), e._families.push(new e("Algerian")), e._families.push(new e("Andalus")), e._families.push(new e("Angsana New")), e._families.push(new e("AngsanaUPC")), e._families.push(new e("Aparajita")), e._families.push(new e("Arabic Typesetting")), e._families.push(new e("Arial")), e._families.push(new e("Arial Black")), e._families.push(new e("Arial Narrow")), e._families.push(new e("Arial Rounded MT Bold")), e._families.push(new e("Arial Unicode MS")), e._families.push(new e("Baskerville Old Face")), e._families.push(new e("Batang")), e._families.push(new e("BatangChe")), e._families.push(new e("Bauhaus 93")), e._families.push(new e("Bell MT")), e._families.push(new e("Berlin Sans FB")), e._families.push(new e("Berlin Sans FB Demi")), e._families.push(new e("Bernard MT Condensed")), e._families.push(new e("Blackadder ITC")), e._families.push(new e("Bodoni MT")), e._families.push(new e("Bodoni MT Black")), e._families.push(new e("Bodoni MT Condensed")), e._families.push(new e("Bodoni MT Poster Compressed")), e._families.push(new e("Book Antiqua")), e._families.push(new e("Bookman Old Style")), e._families.push(new e("Bookshelf Symbol 7")), e._families.push(new e("Bradley Hand ITC")), e._families.push(new e("Britannic Bold")), e._families.push(new e("Broadway")), e._families.push(new e("Browallia New")), e._families.push(new e("BrowalliaUPC")), e._families.push(new e("Brush Script MT")), e._families.push(new e("Buxton Sketch")), e._families.push(new e("Calibri")), e._families.push(new e("Calibri Light")), e._families.push(new e("Californian FB")), e._families.push(new e("Calisto MT")), e._families.push(new e("Cambria")), e._families.push(new e("Cambria Math")), e._families.push(new e("Candara")), e._families.push(new e("Castellar")), e._families.push(new e("Centaur")), e._families.push(new e("Century")), e._families.push(new e("Century Gothic")), e._families.push(new e("Century Schoolbook")), e._families.push(new e("Chiller")), e._families.push(new e("Colonna MT")), e._families.push(new e("Comic Sans MS")), e._families.push(new e("Consolas")), e._families.push(new e("Constantia")), e._families.push(new e("Cooper Black")), e._families.push(new e("Copperplate Gothic Bold")), e._families.push(new e("Copperplate Gothic Light")), e._families.push(new e("Corbel")), e._families.push(new e("Cordia New")), e._families.push(new e("CordiaUPC")), e._families.push(new e("Courier New")), e._families.push(new e("Curlz MT")), e._families.push(new e("DaunPenh")), e._families.push(new e("David")), e._families.push(new e("DejaVu Sans")), e._families.push(new e("DengXian")), e._families.push(new e("DFKai-SB")), e._families.push(new e("DilleniaUPC")), e._families.push(new e("DokChampa")), e._families.push(new e("Dotum")), e._families.push(new e("DotumChe")), e._families.push(new e("Ebrima")), e._families.push(new e("Edwardian Script ITC")), e._families.push(new e("Elephant")), e._families.push(new e("Engravers MT")), e._families.push(new e("Eras Bold ITC")), e._families.push(new e("Eras Demi ITC")), e._families.push(new e("Eras Light ITC")), e._families.push(new e("Eras Medium ITC")), e._families.push(new e("Estrangelo Edessa")), e._families.push(new e("EucrosiaUPC")), e._families.push(new e("Euphemia")), e._families.push(new e("FangSong")), e._families.push(new e("Felix Titling")), e._families.push(new e("Footlight MT Light")), e._families.push(new e("Forte")), e._families.push(new e("Franklin Gothic Book")), e._families.push(new e("Franklin Gothic Demi")), e._families.push(new e("Franklin Gothic Demi Cond")), e._families.push(new e("Franklin Gothic Heavy")), e._families.push(new e("Franklin Gothic Medium")), e._families.push(new e("Franklin Gothic Medium Cond")), e._families.push(new e("FrankRuehl")), e._families.push(new e("FreesiaUPC")), e._families.push(new e("Freestyle Script")), e._families.push(new e("French Script MT")), e._families.push(new e("Gabriola")), e._families.push(new e("Garamond")), e._families.push(new e("Gautami")), e._families.push(new e("Georgia")), e._families.push(new e("Gigi")), e._families.push(new e("Gill Sans MT")), e._families.push(new e("Gill Sans MT Condensed")), e._families.push(new e("Gill Sans MT Ext Condensed Bold")), e._families.push(new e("Gill Sans Ultra Bold")), e._families.push(new e("Gill Sans Ultra Bold Condensed")), e._families.push(new e("Gisha")), e._families.push(new e("Gloucester MT Extra Condensed")), e._families.push(new e("Goudy Old Style")), e._families.push(new e("Goudy Stout")), e._families.push(new e("Gulim")), e._families.push(new e("GulimChe")), e._families.push(new e("Gungsuh")), e._families.push(new e("GungsuhChe")), e._families.push(new e("Haettenschweiler")), e._families.push(new e("Harlow Solid Italic")), e._families.push(new e("Harrington")), e._families.push(new e("High Tower Text")), e._families.push(new e("Impact")), e._families.push(new e("Imprint MT Shadow")), e._families.push(new e("Informal Roman")), e._families.push(new e("IrisUPC")), e._families.push(new e("Iskoola Pota")), e._families.push(new e("JasmineUPC")), e._families.push(new e("Jokerman")), e._families.push(new e("Juice ITC")), e._families.push(new e("KaiTi")), e._families.push(new e("Kalinga")), e._families.push(new e("Kartika")), e._families.push(new e("Khmer UI")), e._families.push(new e("KodchiangUPC")), e._families.push(new e("Kokila")), e._families.push(new e("Kristen ITC")), e._families.push(new e("Kunstler Script")), e._families.push(new e("Lao UI")), e._families.push(new e("Latha")), e._families.push(new e("Leelawadee")), e._families.push(new e("Levenim MT")), e._families.push(new e("LilyUPC")), e._families.push(new e("Lucida Bright")), e._families.push(new e("Lucida Calligraphy")), e._families.push(new e("Lucida Console")), e._families.push(new e("Lucida Fax")), e._families.push(new e("Lucida Handwriting")), e._families.push(new e("Lucida Sans")), e._families.push(new e("Lucida Sans Typewriter")), e._families.push(new e("Lucida Sans Unicode")), e._families.push(new e("Magneto")), e._families.push(new e("Maiandra GD")), e._families.push(new e("Malgun Gothic")), e._families.push(new e("Mangal")), e._families.push(new e("Marlett")), e._families.push(new e("Matura MT Script Capitals")), e._families.push(new e("Meiryo")), e._families.push(new e("Meiryo UI")), e._families.push(new e("Microsoft Himalaya")), e._families.push(new e("Microsoft JhengHei")), e._families.push(new e("Microsoft MHei")), e._families.push(new e("Microsoft NeoGothic")), e._families.push(new e("Microsoft New Tai Lue")), e._families.push(new e("Microsoft PhagsPa")), e._families.push(new e("Microsoft Sans Serif")), e._families.push(new e("Microsoft Tai Le")), e._families.push(new e("Microsoft Uighur")), e._families.push(new e("Microsoft YaHei")), e._families.push(new e("Microsoft Yi Baiti")), e._families.push(new e("MingLiU")), e._families.push(new e("MingLiU_HKSCS")), e._families.push(new e("MingLiU_HKSCS-ExtB")), e._families.push(new e("MingLiU-ExtB")), e._families.push(new e("Miriam")), e._families.push(new e("Miriam Fixed")), e._families.push(new e("Mistral")), e._families.push(new e("Modern No. 20")), e._families.push(new e("Mongolian Baiti")), e._families.push(new e("Monotype Corsiva")), e._families.push(new e("MoolBoran")), e._families.push(new e("MS Gothic")), e._families.push(new e("MS Mincho")), e._families.push(new e("MS Outlook")), e._families.push(new e("MS PGothic")), e._families.push(new e("MS PMincho")), e._families.push(new e("MS Reference Sans Serif")), e._families.push(new e("MS Reference Specialty")), e._families.push(new e("MS UI Gothic")), e._families.push(new e("MT Extra")), e._families.push(new e("MV Boli")), e._families.push(new e("Narkisim")), e._families.push(new e("Niagara Engraved")), e._families.push(new e("Niagara Solid")), e._families.push(new e("Nina")), e._families.push(new e("NSimSun")), e._families.push(new e("Nyala")), e._families.push(new e("OCR A Extended")), e._families.push(new e("Old English Text MT")), e._families.push(new e("Onyx")), e._families.push(new e("Palace Script MT")), e._families.push(new e("Palatino Linotype")), e._families.push(new e("Papyrus")), e._families.push(new e("Parchment")); e._families.push(new e("Perpetua")), e._families.push(new e("Perpetua Titling MT")), e._families.push(new e("Plantagenet Cherokee")), e._families.push(new e("Playbill")), e._families.push(new e("PMingLiU")), e._families.push(new e("PMingLiU-ExtB")), e._families.push(new e("Poor Richard")), e._families.push(new e("Pristina")), e._families.push(new e("Raavi")), e._families.push(new e("Rage Italic")), e._families.push(new e("Ravie")), e._families.push(new e("Rockwell")), e._families.push(new e("Rockwell Condensed")), e._families.push(new e("Rockwell Extra Bold")), e._families.push(new e("Rod")), e._families.push(new e("Sakkal Majalla")), e._families.push(new e("Script MT Bold")), e._families.push(new e("Segoe Condensed")), e._families.push(new e("Segoe Marker")), e._families.push(new e("Segoe Print")), e._families.push(new e("Segoe Script")), e._families.push(new e("Segoe UI")), e._families.push(new e("Segoe UI Light")), e._families.push(new e("Segoe UI Semibold")), e._families.push(new e("Segoe UI Symbol")), e._families.push(new e("Segoe WP")), e._families.push(new e("Segoe WP Black")), e._families.push(new e("Segoe WP Light")), e._families.push(new e("Segoe WP Semibold")), e._families.push(new e("Segoe WP SemiLight")), e._families.push(new e("Shonar Bangla")), e._families.push(new e("Showcard Gothic")), e._families.push(new e("Shruti")), e._families.push(new e("SimHei")), e._families.push(new e("Simplified Arabic")), e._families.push(new e("Simplified Arabic Fixed")), e._families.push(new e("SimSun")), e._families.push(new e("SimSun-ExtB")), e._families.push(new e("SketchFlow Print")), e._families.push(new e("Snap ITC")), e._families.push(new e("Stencil")), e._families.push(new e("Sylfaen")), e._families.push(new e("Symbol")), e._families.push(new e("Tahoma")), e._families.push(new e("Tempus Sans ITC")), e._families.push(new e("Times New Roman")), e._families.push(new e("Traditional Arabic")), e._families.push(new e("Trebuchet MS")), e._families.push(new e("Tunga")), e._families.push(new e("Tw Cen MT")), e._families.push(new e("Tw Cen MT Condensed")), e._families.push(new e("Tw Cen MT Condensed Extra Bold")), e._families.push(new e("Utsaah")), e._families.push(new e("Vani")), e._families.push(new e("Verdana")), e._families.push(new e("Vijaya")), e._families.push(new e("Viner Hand ITC")), e._families.push(new e("Vivaldi")), e._families.push(new e("Vladimir Script")), e._families.push(new e("Vrinda")), e._families.push(new e("Webdings")), e._families.push(new e("Wide Latin")), e._families.push(new e("Wingdings")), e._families.push(new e("Wingdings 2")), e._families.push(new e("Wingdings 3")), e._families.push(new e("Yu Gothic")) } return e._families }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "name", { get: function() { return this._name }, enumerable: !0, configurable: !0 }), e.prototype.isStyleAvailable = function(e) { return !0 } , e.cleanFamilies = function() { this._families = [] } , e }(); e.FontFamily = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.getSize = function(t, r) { var n, i, a, o, s, u, l, m, y, d, f = new e.Size(0,0), h = 0; try { for (var c = __values(this.family_Helvetica), p = c.next(); !p.done; p = c.next()) { var M = p.value; t.name == M && (h = 0) } } catch (e) { n = { error: e } } finally { try { p && !p.done && (i = c.return) && i.call(c) } finally { if (n) throw n.error } } try { for (var b = __values(this.family_Times_Roman), g = b.next(); !g.done; g = b.next()) { var M = g.value; t.name == M && (h = 4) } } catch (e) { a = { error: e } } finally { try { g && !g.done && (o = b.return) && o.call(b) } finally { if (a) throw a.error } } try { for (var v = __values(this.family_Courier), S = v.next(); !S.done; S = v.next()) { var M = S.value; t.name == M && (h = 8) } } catch (e) { s = { error: e } } finally { try { S && !S.done && (u = v.return) && u.call(v) } finally { if (s) throw s.error } } h < 12 && (1 == t.bold && (h += 1), 1 == t.italic && (h += 2)); try { for (var w = __values(r.split("\n")), N = w.next(); !N.done; N = w.next()) { var I = N.value; try { for (var j = (y = void 0, __values(I.split(""))), k = j.next(); !k.done; k = j.next()) { var _ = k.value; f.width += this.standardFontWidths[_.charCodeAt(0)][h] / 1e3 * t.size } } catch (e) { y = { error: e } } finally { try { k && !k.done && (d = j.return) && d.call(j) } finally { if (y) throw y.error } } f.height += this.standardFontInfo[7][h] / 1e3 * t.size } } catch (e) { l = { error: e } } finally { try { N && !N.done && (m = w.return) && m.call(w) } finally { if (l) throw l.error } } return f } , Object.defineProperty(t, "standardFontWidths", { get: function() { if (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] } return this._standardFontWidths }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "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: !0, configurable: !0 }), t.family_Helvetica = ["Arial", "Arial Black", "Arial Narrow", "Century Gothic", "Comic Sans MS", "Impact", "Microsoft Sans Serif", "Tahoma", "Verdana"], t.family_Courier = ["Courier New", "Lucida Console"], t.family_Times_Roman = ["Book Antiqua", "Bookman Old Style", "Garamond", "Georgia", "Times New Roman"], t.fontName = ["Helvetica", "Helvetica-Bold", "Helvetica-Oblique", "Helvetica-BoldOblique", "Times-Roman", "Times-Bold", "Times-Italic", "Times-BoldItalic", "Courier", "Courier-Bold", "Courier-Oblique", "Courier-BoldOblique"], t }(); e.FontResources = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Regular = 0] = "Regular", e[e.Bold = 1] = "Bold", e[e.Italic = 2] = "Italic", e[e.Strikeout = 4] = "Strikeout", e[e.Underline = 8] = "Underline" }(t = e.FontStyle || (e.FontStyle = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n = e.System.Collections.Hashtable , i = function() { function i(e) { this.context = e, this.context.translate(.5, .5) } return i.prototype.drawImage = function(e, t) {} , i.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) } , i.prototype.fillRectangle = function(e, t, r, n, i) { this.context.fillStyle = e.color.toString(), this.context.fillRect(t, r, n, i) } , i.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() } , i.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) } , i.prototype.translateTransform = function(e, t) { this.context.translate(e, t) } , i.getOpentypeFont = function(t, r) { var n = i.opentypeFonts.get(t), a; return null != n && (a = n.containsKey(r) ? n.get(r).font : n.get(n.keys[0]).font), null == a && 1 == e.System.NodeJs.isNodeJs() && i.opentypeFonts.count > 0 && (n = i.opentypeFonts.get(i.opentypeFonts.keys[0]), a = n.get(n.keys[0]).font), a } , i.getCustomFontsCss = function() { var e, n, a = ""; try { for (var o = __values(i.opentypeFonts.keys), s = o.next(); !s.done; s = o.next()) for (var u = s.value, l = i.opentypeFonts.get(u), m = 0; m < l.count; m++) { var y = l.keys[m] , d = u; m > 0 && (d = t.Enum.getName(r.FontStyle, y) + "_" + u), a += "@font-face {font-family: '" + d + "';src: url(\"" + i.opentypeFonts.get(u).get(y).filePath + '");}' } } catch (t) { e = { error: t } } finally { try { s && !s.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } return a } , i.getCustomFontName = function(e, n) { var a = i.opentypeFonts.get(e); if (a) for (var o = 0; o < a.count; o++) if (n == a.keys[o]) return 0 == o ? e : t.Enum.getName(r.FontStyle, a.keys[o]) + "_" + e; return e } , i.allowStyle = function(e, t) { var r = i.opentypeFonts.get(e); if (r) return r.count < 2; return !0 } , i.measureString = function(n, a, o, s, u, l, m) { var y, d; if (void 0 === o && (o = null), void 0 === s && (s = !0), void 0 === u && (u = 1), void 0 === l && (l = 0), void 0 === m && (m = !0), t.StiString.isNullOrEmpty(n)) return new r.Size(0,0); var f = n; null == f && (f = ""); var h, c = new r.Size(0,0), p = "pt"; a.unit == r.GraphicsUnit.Pixel && (p = "px"); var M = o && o > 0 ? o : null; if (s && (h = "@" + f + "|" + a.fontFamily.name + "|" + (a.size.toString() + p) + "|" + a.unit.toString() + "|" + a.style.toString() + "|" + u.toString() + "|" + (M ? "|" + M.toString() : "") + "|" + m.toString(), i.measureHash[h])) return c = i.measureHash[h], this.rotate(c, l, !0); if ("" == f) return s && (i.measureHash[h] = new r.Size(0,0)), c; if (" " == f) { var b = i.measureString("a a", a, null, !1, 1) , g = i.measureString("aa", a, null, !1, 1); return c = new r.Size(b.width - g.width,b.height), s && (i.measureHash[h] = c), this.rotate(c, l, s) } var v = i.getOpentypeFont(a.fontFamily.name, a.style); if (null != v) { var S = 0 , w = 0 , N = .977 , I = 96 * a.sizeInPoints / (72 * v.unitsPerEm) , j = I * N , k = v.ascender - v.descender , _ = v.tables.os2; if (null != _) { var T = _.sTypoAscender - _.sTypoDescender + _.sTypoLineGap; T > k && (k = T) } k *= I; var D = f.split("\n"); D.length > 1 && "" == D[D.length - 1] && D.pop(); try { for (var F = __values(D), P = F.next(); !P.done; P = F.next()) { for (var A = P.value, O = 0, C = v.stringToGlyphs(A), H = Array.create(Number, C.length), E = Array.create(Number, C.length), B = 0, x = 0; x < C.length; x++) { var L = C[x] , R = 0; L.advanceWidth && (R += L.advanceWidth), x < C.length - 1 && (R += v.getKerningValue(L, C[x + 1]), R += L.leftSideBearing * this.measureBearingScale), R *= j, O += R, M && (H[x] = R, this.isWordWrapSymbol(A, x) && x > 0 && B++, E[x] = B) } if (M && O > M) { var W = 0; while (W < C.length) { O = 0; var z = E[W]; while (W < C.length && O + H[W] < M) O += H[W], W++; if (W < C.length) if (E[W] > z) if (E[W] != E[W - 1]) while (W < C.length && t.Char.isWhitespace(A, W) && "\t" != A.charAt(W)) W++; else while (W > 0 && E[W] == E[W - 1]) W--, O -= H[W]; else O += H[W], W++; S = Math.max(S, O), w += k } } else S = Math.max(S, O), w += k } } catch (e) { y = { error: e } } finally { try { P && !P.done && (d = F.return) && d.call(F) } finally { if (y) throw y.error } } c = new r.Size(S,w) } else if (e.System.NodeJs.useWebKit) { var J = void 0; if (null == i.measureDiv ? (i.measureDiv = document.createElement("div"), i.measureDiv.style.flexDirection = "row", i.measureDiv.style.visibility = "hidden", J = document.createElement("div"), J.style.wordWrap = "break-word", J.style.display = "inline-block", J.style.lineHeight = "normal", document.body.appendChild(i.measureDiv), i.measureDiv.appendChild(J)) : J = i.measureDiv.firstElementChild, J.style.fontFamily = a.fontFamily.name, J.style.fontSize = (a.size * u).toString() + p, J.style.maxWidth = null != M ? (M * u).toString() + "px" : null, J.style.fontWeight = a.bold ? "bold" : "normal", J.style.fontStyle = a.italic ? "italic" : "normal", a.underline || a.strikeout) { var G = ""; a.underline && (G = "underline"), a.strikeout && (G += " line-through"), J.style.textDecoration = G } else J.style.textDecoration = "none"; J.style.height = "", J.style.width = "", J.style.display = "inline-block", J.style.overflow = "", J.innerHTML = m ? f.replace(//g, ">").replace(/\n/gi, "
").replace(/\r/gi, "") : f.replace(/\n/gi, "").replace(/\r/gi, ""); var K = a.unit == r.GraphicsUnit.Pixel ? .98 : 1 / .955; if (c = new r.Size(J.scrollWidth / u * K,J.scrollHeight / u * K), s && f.length > 1) { var q = i.measureString(" ", a); if (c.width += q.width + 1, !m) { var U = c.height / q.height; c.height += U > 10 ? .25 * q.height : q.height * (U / 40) } } null != M && c.width > M && (c.width = M), J.style.height = "0px", J.style.width = "0px", J.style.display = "none", J.style.overflow = "hidden" } return s && (i.measureHash[h] = c), this.rotate(c, l, s) } , i.isWordWrapSymbol = function(e, r) { var n = e.charCodeAt(r) , i = e.charAt(r); if (n >= 12288 && n <= 55215 || t.Char.isWhitespace(e, r) && 160 != n || "(" == i || "{" == i) return !0; if (r > 0) { var a = e.charAt(r - 1); if ("!" == a || "%" == a || ")" == a || "}" == a || "-" == a || "?" == a) return !0 } return !1 } , i.measureChars = function(e, t, n) { for (var a, o = .998, s = .977, u = 32; u < t; u++) { var l = e[u]; if (32 == l) { var m = .55 , y = new r.Size(0,0) , d = new r.Size(0,1); while (y.height < d.height) m -= .05, y = i.measureString("a", n, null, !0, m), d = i.measureString("a a", n, null, !0, m); var f = i.measureString("aa", n, null, !0, m); a = new r.Size(d.width - f.width,0) } else a = l >= 1611 && l <= 1631 ? new r.Size(0,0) : i.measureString(String.fromCharCode(l), n, null, !1, 1); e[u] = a.width * o } var h = a.height; return a = i.measureString("1\n2\n3\n4\n5\n6\n7\n8\n9\n10", n, null, !1), new r.Size(a.height / 10 * s,h * s) } , i.rotate = function(e, t, n) { if (0 == t) { if (n) return new r.Size(e.width,e.height); return e } if (t % 180 != 0 && t % 90 == 0) { if (n) return new r.Size(e.height,e.width); return e.swap() } while (t > 360) t -= 360; var i = Math.abs(t) * Math.PI / 180 , a = (90 - Math.abs(t)) * Math.PI / 180 , o = e.width * Math.sin(i) , s = e.width * Math.cos(i) , u = e.height * Math.sin(a) , l = e.height * Math.cos(a); return new r.Size(Math.abs(l + s),Math.abs(u + o)) } , i.measureBearingScale = .8, i.opentypeFonts = new n, i.measureHash = {}, i }(); r.Graphics = i }(r = t.Drawing || (t.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Pixel = 2] = "Pixel", e[e.Point = 3] = "Point" }(t = e.GraphicsUnit || (e.GraphicsUnit = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n = e.System.Drawing.Imaging.ImageFormat , i = function() { function r() { 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 } return Object.defineProperty(r.prototype, "imageFormat", { get: function() { return this._imageFormat }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "width", { get: function() { return this._width }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return this._height }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "horizontalResolution", { get: function() { return this._horizontalResolution }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "verticalResolution", { get: function() { return this._verticalResolution }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "isConverting", { get: function() { return this._isConverting }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "base64", { get: function() { if (null == this.imageFormat || null == this.data[this.imageFormat.toString()]) return ""; return this.data[this.imageFormat.toString()].base64 }, set: function(t) { var r = t.match(","); null != r && (t = t.substr(r.index + 1)); var n = e.System.Convert.fromBase64String(t); this.setData(n, t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.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(t) { if (t) { var r = e.System.Convert.toBase64String(t); this.setData(t, r) } }, enumerable: !0, configurable: !0 }), r.fromFile = function(n) { if (t.StiString.isNullOrEmpty(n)) return null; var i = new r; return i.bytes = e.System.IO.File.getFile(n, !0), i } , r.fromBytes = function(e) { var t = new r; return t.bytes = e, t } , r.prototype.setData = function(e, t) { this._imageFormat = n.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)) } , r.prototype.convert = function(e, r) { var i = this; void 0 === r && (r = !1); var a = new t.StiPromise; try { var o = this.data[e.toString()]; if (null != o) return this._imageFormat = e, a.callTry(this), a; if (null == o && (o = this.data[n.Png.toString()]), null == o && (o = this.data[n.Bmp.toString()]), null == o && (o = this.data[n.Jpeg.toString()]), null == o && (o = this.data[n.Gif.toString()]), null == o && (o = this.data[n.Svg.toString()]), null != o) { this._isConverting = !0; var s = document.createElement("canvas"); s.width = this.width, s.height = this.height; var u = s.getContext("2d"); u.fillStyle = "#fff", u.fillRect(0, 0, s.width, s.height); var l = new window.Image; l.onload = function() { try { u.drawImage(l, 0, 0, s.width, s.height); var t = s.toDataURL(e.mimeType); r && (i.imageData = u.getImageData(0, 0, s.width, s.height).data), i.base64 = t, i._isConverting = !1, a.callTry(i) } catch (e) { a.callCatch(e.message) } } , l.src = o.base64 } else a.callCatch("No Image") } catch (e) { return a.callCatch(e.message), a } return a } , r.prototype.tryConvertSync = function(e) { try { if (null != this.data[e.toString()]) return this._imageFormat = e, !0 } catch (e) {} return !1 } , r.prototype.dispose = function() { this.data = null, this._imageFormat = null, this._width = NaN, this._height = NaN } , r.prototype.clone = function() { var e = new r; 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 } , r }(); r.Image = i }(r = t.Drawing || (t.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Horizontal = 0] = "Horizontal", e[e.Vertical = 1] = "Vertical" }(t = e.Orientation || (e.Orientation = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e(e) { this.color = e } return e }(); e.Pen = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function() { function t(e, t) { void 0 === e && (e = 0), void 0 === t && (t = 0), this.x = e, this.y = t } return Object.defineProperty(t.prototype, "isEmpty", { get: function() { return 0 == this.x && 0 == this.y }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "empty", { get: function() { return new t }, enumerable: !0, configurable: !0 }), t.prototype.toString = function() { return e.StiString.format("{{X={0}, Y={1}}}", this.x, this.y) } , t.prototype.equals = function(e) { if (e.x == this.x && e.y == this.y) return !0; return !1 } , t }(); t.Point = r }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t(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 } return t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(t, "empty", { get: function() { return new t(0,0,0,0) }, enumerable: !0, configurable: !0 }), t.union = function(e, r) { var n = Math.min(e.x, r.x) , i = Math.max(e.x + e.width, r.x + r.width) , a = Math.min(e.y, r.y); return new t(n,a,i - n,Math.max(e.y + e.height, r.y + r.height) - a) } , t.prototype.inflate = function(e, t) { return this.x -= e, this.y -= t, this.width += 2 * e, this.height += 2 * t, this } , t.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 } , t.prototype.multiply = function(e) { return new t(this.x * e,this.y * e,this.width * e,this.height * e) } , t.prototype.offsetRect = function(e) { return new t(this.x - e.x,this.y - e.y,this.width + e.width,this.height + e.height) } , t.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) , u = Math.round2(this.bottom, 2); return t < s && r < u && n > a && i > o } , t.prototype.alignToGrid = function(e, r) { return r ? new t(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 t(this.left,this.top,this.width,this.height) } , t.prototype.fitToRectangle = function(e) { if (this.isEmpty) return e; if (e.isEmpty) return this; var t = this; return t.left > e.left && (t.width += t.left - e.left, t.x = e.left), t.top > e.top && (t.height += t.top - e.top, t.y = e.top), t.right < e.right && (t.width += e.right - t.right), t.bottom < e.bottom && (t.height += e.bottom - t.bottom), t } , Object.defineProperty(t.prototype, "isEmpty", { get: function() { return 0 == this.width && 0 == this.height && 0 == this.x && 0 == this.y }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isEmptyF", { get: function() { return 0 == this.width && 0 == this.height }, enumerable: !0, configurable: !0 }), t.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 } , t.convertFromXml = function(e) { var r = e.split(","); return new t(r[0].stimulsoft.toNumber(),r[1].stimulsoft.toNumber(),r[2].stimulsoft.toNumber(),r[3].stimulsoft.toNumber()) } , Object.defineProperty(t.prototype, "left", { get: function() { return this.x }, set: function(e) { this.width += this.x - e, this.x = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "top", { get: function() { return this.y }, set: function(e) { this.height += this.y - e, this.y = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "right", { get: function() { return this.x + this.width }, set: function(e) { this.width = e - this.x }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "bottom", { get: function() { return this.y + this.height }, set: function(e) { this.height = e - this.y }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "location", { get: function() { return new e.Point(this.x,this.y) }, set: function(e) { this.x = e.x, this.y = e.y }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "size", { get: function() { return new e.Size(this.width,this.height) }, set: function(e) { this.width = e.width, this.height = e.height }, enumerable: !0, configurable: !0 }), t }(); e.Rectangle = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e(t, r) { this.width = 0, this.height = 0, t && t.stimulsoft.is(e) ? (this.width = t.width, this.height = t.height) : (this.width = t, this.height = r) } return Object.defineProperty(e, "empty", { get: function() { return new e(0,0) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isEmpty", { get: function() { return 0 == this.width && 0 == this.height }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isDefault", { get: function() { return 0 == this.width && 0 == this.height }, enumerable: !0, configurable: !0 }), e.prototype.swap = function() { var e = this.height; return this.height = this.width, this.width = e, this } , e.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 } , e.convertFromXml = function(t) { var r = t.split(","); return new e(r[0].stimulsoft.toNumber(),r[1].stimulsoft.toNumber()) } , e }(); e.Size = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t(t) { var r = e.call(this) || this; return r.color = t, r } return __extends(t, e), t }(e.Brush); e.SolidBrush = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Near = 0] = "Near", e[e.Center = 1] = "Center", e[e.Far = 2] = "Far" }(t = e.StringAlignment || (e.StringAlignment = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() { this.lineAlignment = e.StringAlignment.Near } return t }(); e.StringFormat = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.StringFormatFlags || (e.StringFormatFlags = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.StringTrimming || (e.StringTrimming = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function() { function r() {} return r.getWeekOfYear = function(r, n, i) { switch (void 0 === n && (n = t.CalendarWeekRule.FirstDay), void 0 === i && (i = e.DayOfWeek.Monday), n) { case t.CalendarWeekRule.FirstDay: return this.getFirstDayWeekOfYear(r, i); case t.CalendarWeekRule.FirstFullWeek: return this.getWeekOfYearFullDays(r, i, 7, 365); case t.CalendarWeekRule.FirstFourDayWeek: return this.getWeekOfYearFullDays(r, i, 4, 365) } return 0 } , r.getFirstDayWeekOfYear = function(e, t) { var r = e.dayOfYear - 1 , n = e.dayOfWeek - r % 7 , i = (n - t + 14) % 7; return Math.trunc((r + i) / 7) + 1 } , r.getWeekOfYearFullDays = function(e, t, r, n) { var i = e.dayOfYear - 1 , a = e.dayOfWeek - i % 7 , o = (t - a + 14) % 7; 0 != o && o >= r && (o -= 7); var s = i - o; if (s >= 0) return Math.trunc(s / 7) + 1; var u = e.year; return i = u <= 1 ? n : this.getDaysInYear(u - 1), a -= i % 7, o = (t - a + 14) % 7, 0 != o && o >= r && (o -= 7), s = i - o, Math.trunc(s / 7) + 1 } , r.getDaysInYear = function(e) { return e % 4 != 0 || e % 100 == 0 && e % 400 != 0 ? 365 : 366 } , r.getWeekOfMonth = function(r, n, i) { void 0 === n && (n = t.CalendarWeekRule.FirstDay), void 0 === i && (i = e.DayOfWeek.Monday); var a = this.getWeekOfYear(new e.DateTime(r.year,r.month,1,0,0,0,0), n, i) , o = this.getWeekOfYear(r, n, i); return 1 == r.month && a > 10 && (a = a <= o ? this.getWeekOfYear(new e.DateTime(r.year - 1,12,1,0,0,0,0), n, i) : 1), o - a + 1 } , r }(); t.Calendar = r }(t = e.Globalization || (e.Globalization = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.FirstDay = 0] = "FirstDay", e[e.FirstFullWeek = 1] = "FirstFullWeek", e[e.FirstFourDayWeek = 2] = "FirstFourDayWeek" }(t = e.CalendarWeekRule || (e.CalendarWeekRule = {})) }(t = e.Globalization || (e.Globalization = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e(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 } return e }(); e.RegionInfo = t }(t = e.Globalization || (e.Globalization = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Begin = 0] = "Begin", e[e.Current = 1] = "Current", e[e.End = 2] = "End" }(t = e.SeekOrigin || (e.SeekOrigin = {})) }(t = e.IO || (e.IO = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.getFile = function(t, r, n, i) { return void 0 === r && (r = !1), void 0 === n && (n = ""), void 0 === i && (i = null), e.Http.getFile(t, r, n, i) } , t.getFileAsync = function(t, r, n, i) { void 0 === n && (n = !1), void 0 === i && (i = ""), e.Http.getFileAsync(t, r, n, i) } , t.saveFile = function(e, t) {} , t.getFilesNames = function(e) { return [] } , t }(); e.File = t }(t = e.IO || (e.IO = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n = function() { function r() {} return r.getFile = function(r, n, i, a) { var o, s; void 0 === n && (n = !1), void 0 === i && (i = ""), void 0 === a && (a = null); try { var u = new XMLHttpRequest; try { if (u.open("get", r, !1), t.StiString.isNullOrEmpty(i) || u.setRequestHeader("Content-Type", i), a) try { for (var l = __values(a), m = l.next(); !m.done; m = l.next()) { var y = m.value; u.setRequestHeader(y.key, y.value) } } catch (e) { o = { error: e } } finally { try { m && !m.done && (s = l.return) && s.call(l) } finally { if (o) throw o.error } } } catch (t) { e.System.StiError.showError('File "' + r + '" not found', !0) } var d = !1; if (n) { try { u.responseType = "arraybuffer", d = !0 } catch (e) { d = !1 } d || ("overrideMimeType"in u ? u.overrideMimeType("text/plain; charset=x-user-defined") : u.setRequestHeader("Accept-Charset", "x-user-defined")) } if (u.send(), 200 == u.status) { if (n) { if (d) { return new Uint8Array(u.response,0) } for (var f = new ArrayBuffer(u.response.length), h = new Uint8Array(f), c = 0, p = u.response.length; c < p; c++) h[c] = 255 & u.response.charCodeAt(c); return h } return u.responseText } } catch (e) {} } , r.getFileAsync = function(r, n, i, a) { void 0 === i && (i = !1), void 0 === a && (a = ""); try { var o = new XMLHttpRequest; try { o.open("get", n, !0), t.StiString.isNullOrEmpty(a) || o.setRequestHeader("Content-Type", a) } catch (t) { e.System.StiError.showError('File "' + n + '" not found', !0), r(null) } var s = !1; if (i) { 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 (i) { if (s) { var e = new Uint8Array(o.response,0); return void r(e) } for (var t = new ArrayBuffer(o.response.length), n = new Uint8Array(t), a = 0, u = o.response.length; a < u; a++) n[a] = 255 & o.response.charCodeAt(a); return void r(n) } return void r(o.responseText) } } , o.send() } catch (e) { r(null) } } , r }(); r.Http = n }(r = t.IO || (t.IO = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function() { function r(e) { void 0 === e && (e = null), this._origin = 0, this._position = 0, this._buffer = [], null != e && this._buffer.addRange(e) } return Object.defineProperty(r.prototype, "position", { get: function() { return this._position }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "length", { get: function() { return this._buffer.length - this._origin }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "canSeek", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "canWrite", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), r.prototype.setLength = function(e) { this._buffer = this._buffer.slice(0, e) } , r.prototype.toArray = function() { return this._buffer } , r.prototype.writeTo = function(e) { e.write(this._buffer, 0, null != this._buffer ? this._buffer.length : 0) } , r.prototype.writeByte = function(e) { this._buffer[this._position++] = e } , r.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] } , r.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] } , r.prototype.writeLine = function(t) { void 0 === t && (t = null); for (var r = [], n = 1; n < arguments.length; n++) r[n - 1] = arguments[n]; var i = null; e.StiString.isNullOrEmpty(t) || (i = e.StiString.format.apply(e.StiString, __spread([t], r))), this.writeString(i, !0) } , r.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) } , r.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 } , r.prototype.seek = function(e, n) { if (e > r.memStreamMaxLength) throw new Error("ArgumentOutOfRange_StreamLength"); var i; switch (n) { case t.SeekOrigin.Begin: if (i = this._origin + e, e < 0 || i < this._origin) throw new Error("IO.IO_SeekBeforeBegin"); this._position = i; break; case t.SeekOrigin.Current: if (i = this._position + e, this._position + e < this._origin || i < this._origin) throw new Error("IO.IO_SeekBeforeBegin"); this._position = i; break; case t.SeekOrigin.End: if (i = this.length + e, this.length + e < this._origin || i < this._origin) throw new Error("IO.IO_SeekBeforeBegin"); this._position = i; break; default: throw new Error("Argument_InvalidSeekOrigin") } return this._position } , r.prototype.flush = function() {} , r.prototype.close = function() { this._position = 0, this._buffer = null } , r.prototype.copyTo = function(e) { for (var t = 0; t < this.length; t++) e._buffer[t] = this._buffer[t] } , r.memStreamMaxLength = Number.MAX_VALUE, r }(); t.MemoryStream = r }(t = e.IO || (e.IO = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.Combine = function(e, t) { if (!e) return t; if (!t) return e; return e.stimulsoft.trimEnd("\\"), t.stimulsoft.trimStart("\\"), e + "\\" + t } , e.getFileNameWithoutExtension = function(e) { var t = e.lastIndexOf("."); return t > 0 && (e = e.substr(0, t)), t = e.lastIndexOf("/"), t > 0 && (e = e.substring(t + 1)), t = e.lastIndexOf("\\"), t > 0 && (e = e.substring(t + 1)), e } , e.getExtension = function(e) { var t = e.lastIndexOf("."); if (t > 0) return e.substr(t); return "" } , e.getSep = function() { return "\\" } , e }(); e.Path = t }(t = e.IO || (e.IO = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function() { function r(e, r) { void 0 === r && (r = null), this.stream = e, this.stream.seek(0, t.SeekOrigin.Begin), this.encoding = r } return r.prototype.read = function() { var e = []; if (this.stream.read(e, 0, 1) > 0) return String.fromCharCode(e[0]); return null } , r.prototype.readLine = function() { var t = this.readLineInternal(); if (null != this.encoding && !e.StiString.isNullOrEmpty(t)) return this.encoding.getString(t.stimulsoft.toBytesArray()); return t } , r.prototype.readLineInternal = function() { var e, r = "", n = !1; while (null != (e = this.read())) { if (n) { if ("\n" == e) return r; return this.stream.seek(-1, t.SeekOrigin.Current), r } if ("\r" == e) n = !0; else { if ("\n" == e) return r; r += e } } if (r.length > 0) return r; return null } , r }(); t.StreamReader = r }(t = e.IO || (e.IO = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e(e, t) { void 0 === t && (t = null), this._webName = "", this._encodingName = e, this._webName = null == t || "" == t ? e : t } return Object.defineProperty(e.prototype, "webName", { get: function() { return this._webName }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "encodingName", { get: function() { return this._encodingName }, enumerable: !0, configurable: !0 }), e.prototype.getBytes = function(e) { if ("ASCII" == this._encodingName) return e.stimulsoft.toBytesArray(); return e.stimulsoft.toUnicodeString().stimulsoft.toBytesArray() } , e.prototype.getString = function(t) { var r, n; if ("Windows-1251" == this._encodingName) return e.fromCodePageToUnicode(1251, t); var i = ""; try { for (var a = __values(t), o = a.next(); !o.done; o = a.next()) { var s = o.value; i += String.fromCharCode(s) } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = a.return) && n.call(a) } finally { if (r) throw r.error } } if ("ASCII" == this._encodingName) return i; return i = i.stimulsoft.fromUnicodeString(), 65279 == i.charCodeAt(0) && (i = i.substring(1)), i } , e.getEncoding = function(t) { switch (t) { case e.CodePageDefault: return e.Default; case e.CodePageUnicode: return e.Unicode; case e.CodePageBigEndian: return e.BigEndianUnicode; case e.CodePageUTF7: return e.UTF7; case e.CodePageUTF8: return e.UTF8; case e.CodePageWindows1251: return e.Windows1251; case e.CodePageASCII: return e.ASCII; default: return e.Default } } , e.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 } , e.CodePageDefault = 0, e.CodePageNoOEM = 1, e.CodePageNoMac = 2, e.CodePageNoThread = 3, e.CodePageNoSymbol = 42, e.CodePageUnicode = 1200, e.CodePageBigEndian = 1201, e.CodePageWindows1251 = 1251, e.CodePageWindows1252 = 1252, e.CodePageMacGB2312 = 10008, e.CodePageGB2312 = 20936, e.CodePageMacKorean = 10003, e.CodePageDLLKorean = 20949, e.ISO2022JP = 50220, e.ISO2022JPESC = 50221, e.ISO2022JPSISO = 50222, e.ISOKorean = 50225, e.ISOSimplifiedCN = 50227, e.EUCJP = 51932, e.ChineseHZ = 52936, e.DuplicateEUCCN = 51936, e.EUCCN = 936, e.EUCKR = 51949, e.CodePageASCII = 20127, e.ISO_8859_1 = 28591, e.ISCIIAssemese = 57006, e.ISCIIBengali = 57003, e.ISCIIDevanagari = 57002, e.ISCIIGujarathi = 57010, e.ISCIIKannada = 57008, e.ISCIIMalayalam = 57009, e.ISCIIOriya = 57007, e.ISCIIPanjabi = 57011, e.ISCIITamil = 57004, e.ISCIITelugu = 57005, e.GB18030 = 54936, e.ISO_8859_8I = 38598, e.ISO_8859_8_Visual = 28598, e.ENC50229 = 50229, e.CodePageUTF7 = 65e3, e.CodePageUTF8 = 65001, e.CodePageUTF32 = 12e3, e.CodePageUTF32BE = 12001, e.ASCII = new e("ASCII","US-ASCII"), e.BigEndianUnicode = new e("BigEndianUnicode"), e.Default = new e("Unicode","utf-8"), e.Unicode = new e("Unicode","utf-8"), e.UTF32 = new e("UTF32","utf-32"), e.UTF7 = new e("UTF7","utf-7"), e.UTF8 = new e("UTF8","utf-8"), e.Windows1251 = new e("Windows-1251","windows-1251"), e._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], e }(); e.Encoding = t }(t = e.Text || (e.Text = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function() { function t(e) { void 0 === e && (e = null), this.isNew = !0, this.partArray = null != e ? [e] : [], this.isNew = !0 } return t.prototype.appendSingle = function(e) { null !== e && void 0 !== e && (e = e.toString(), this.partArray.push(e), this.isNew = !0) } , t.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 } , t.prototype.append = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; return this.appendThese(e), this } , t.prototype.appendCount = function(e, t) { if (void 0 === t && (t = 1), null !== e && void 0 !== e) { e = e.toString(); for (var r = 0; r < t; r++) this.partArray.push(e); this.isNew = !0 } return this } , t.prototype.appendLine = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; return this.appendLines(e), this } , t.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 && void 0 !== 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 } , t.prototype.appendFormat = function(t) { for (var r = [], n = 1; n < arguments.length; n++) r[n - 1] = arguments[n]; return this.append(e.StiString.format.apply(e.StiString, __spread([t], r))) } , t.prototype.insert = function(e, t, r) { void 0 === r && (r = 1); for (var n = e; n < e + r; n++) this.partArray.insert(n, t), this.isNew = !0; return this } , t.prototype.remove = function(e, t) { for (var r = e; r < e + t; r++) this.partArray.removeAt(e), this.isNew = !0; return this } , Object.defineProperty(t.prototype, "isEmpty", { get: function() { return 0 == this.partArray.length }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "length", { get: function() { var e, t, r = 0; try { for (var n = __values(this.partArray), i = n.next(); !i.done; i = n.next()) { r += i.value.length } } catch (t) { e = { error: t } } finally { try { i && !i.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r }, set: function(e) { var t = this.length; if (e > t) { for (var r = "", n = 0; n < e - t; n++) r += " "; this.partArray.push(r) } else if (e < t) { var i = this.toString(); this.clear(), this.append(i.substr(0, e)) } }, enumerable: !0, configurable: !0 }), t.prototype.toString = function() { return this.isNew && (this.latest = this.partArray.join("")), this.isNew = !1, this.latest } , t.prototype.join = function(e) { return this.partArray.join(e) } , t.prototype.clear = function() { this.partArray.length = 0, this.isNew = !0 } , t.prototype.dispose = function() { this.clear() } , t.prototype.charAt = function(e) { return this.toString().charAt(e) } , t.prototype.charCodeAt = function(e) { return this.toString().charCodeAt(e) } , t.prototype.setByIndex = function(e, t) { var r = this.toString(); r = (e > 0 ? r.substring(0, e) : "") + t + (e + 1 < r.length ? r.substring(e + 1) : ""), this.clear(), this.append(r) } , t.prototype.formatError = function(e) { throw void 0 === e && (e = ""), new Error("Format_InvalidString" + e) } , t.prototype.appendFormatHelper = function(e, r, n) { if (null == r) throw new Error("format: ArgumentNullException"); var i = 0 , a = r.length , o = String.fromCharCode(0) , s = null; while (!0) { var u = i , l = i; while (i < a) { if (o = r[i], i++, "}" == o && (i < a && "}" == r[i] ? i++ : this.formatError()), "{" == o) { if (!(i < a && "{" == r[i])) { i--; break } i++ } this.append(o) } if (i == a) break; i++, (i == a || (o = r[i]) < "0" || o > "9") && this.formatError(); var m = 0; do { m = 10 * m + o.charCodeAt(0) - "0".charCodeAt(0), i++, i == a && this.formatError(), o = r[i] } while (o >= "0" && o <= "9" && m < 1e6); m >= n.length && this.formatError("Format_IndexOutOfRange"); while (i < a && " " == (o = r[i])) i++; var y = !1 , d = 0; if ("," == o) { i++; while (i < a && " " == r[i]) i++; i == a && this.formatError(), o = r[i], "-" == o && (y = !0, i++, i == a && this.formatError(), o = r[i]), (o < "0" || o > "9") && this.formatError(); do { d = 10 * d + o.charCodeAt(0) - "0".charCodeAt(0), i++, i == a && this.formatError(), o = r[i] } while (o >= "0" && o <= "9" && d < 1e6) } while (i < a && " " == (o = r[i])) i++; var f = n.get(m) , h = null; if (":" == o) { i++, u = i, l = i; while (!0) { if (i == a && this.formatError(), o = r[i], i++, "{" == o) i < a && "{" == r[i] ? i++ : this.formatError(); else if ("}" == o) { if (!(i < a && "}" == r[i])) { i--; break } i++ } null == h && (h = new t), h.append(o) } } "}" != o && this.formatError(), i++; var c = null , p = null; if (null == p) { null != null ? (null == c && null != h && (c = h.toString()), p = null) : null != f && (p = f.toString()) } null == p && (p = ""); var M = d - p.length; !y && M > 0 && this.append(" ", M), this.append(p), y && M > 0 && this.append(" ", M) } return this } , t.prototype.replace = function(e, t) { return this.isNew = !0, this.partArray = [this.toString().stimulsoft.replaceAll(e, t)], this } , t }(); t.StringBuilder = r }(t = e.Text || (e.Text = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Text.StringBuilder , n = function() { function e() { this.sb = new r } return e.prototype.write = function(e) { this.sb.append(e) } , e.prototype.writeLine = function(e) { void 0 === e && (e = null), null == e ? this.sb.appendLine("") : this.sb.appendLine(e) } , e.prototype.close = function() {} , e.prototype.flush = function() {} , e.prototype.getStringBuilder = function() { return this.sb } , e }(); t.TextWriter = n }(r = t.IO || (t.IO = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Text.Encoding , n = e.System.IO.TextWriter , i = function(e) { function t(t, n) { void 0 === n && (n = r.UTF8); var i = e.call(this) || this; return i.cn = "\r\n".stimulsoft.toBytesArray(), i.stream = t, i.encoding = n, i } return __extends(t, e), t.prototype.writeLine = function(e) { this.write(e), this.stream.write(this.cn) } , t.prototype.write = function(e) { null != e && this.stream.write(this.encoding.getBytes(e)) } , t.prototype.close = function() { this.stream.close() } , t.prototype.flush = function() { this.stream.flush() } , t }(n); t.StreamWriter = i }(r = t.IO || (t.IO = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Color , n = function() { function t() {} return t.convertStringToColorArray = function(e) { var t, r, n = []; if (e.length > 0) 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 } , t.convertStringToColor = function(t) { if (0 == t.length) return r.transparent; if (-1 != t.indexOf(";")) { t = t.trim(); var n = t.split(";"); try { if (4 == n.length) { var i = r.fromArgb(n[0].stimulsoft.toNumber(), n[1].stimulsoft.toNumber(), n[2].stimulsoft.toNumber(), n[3].stimulsoft.toNumber()); if (0 == i.r && 0 == i.g && 0 == i.b && 0 == i.a) return r.transparent; return i } return 3 == n.length ? r.fromArgb(255, n[0].stimulsoft.toNumber(), n[1].stimulsoft.toNumber(), n[2].stimulsoft.toNumber()) : r.empty } catch (t) { return e.System.StiError.showError(t, !1), r.empty } } else if (-1 != t.indexOf("[")) { t = t.trim().substring(1, t.length - 1).replace("]", ""); var n = t.split(":"); try { if (4 == n.length) { var i = r.fromArgb(n[0].stimulsoft.toNumber(), n[1].stimulsoft.toNumber(), n[2].stimulsoft.toNumber(), n[3].stimulsoft.toNumber()); if (0 == i.r && 0 == i.g && 0 == i.b && 0 == i.a) return r.transparent; return i } if (3 == n.length) { var i = r.fromArgb(255, n[0].stimulsoft.toNumber(), n[1].stimulsoft.toNumber(), n[2].stimulsoft.toNumber()); return i } return r.empty } catch (t) { return e.System.StiError.showError(t, !1), r.empty } } else { if (-1 == t.indexOf(", ")) return this.getByName(t); t = t.trim(); var n = t.split(", "); try { return 4 == n.length ? r.fromArgb(n[0].stimulsoft.toNumber(), n[1].stimulsoft.toNumber(), n[2].stimulsoft.toNumber(), n[3].stimulsoft.toNumber()) : 3 == n.length ? r.fromArgb(255, n[0].stimulsoft.toNumber(), n[1].stimulsoft.toNumber(), n[2].stimulsoft.toNumber()) : r.empty } catch (t) { return e.System.StiError.showError(t, !1), r.empty } } } , t.getByName = function(e) { switch (e.trim()) { case "AliceBlue": case "Alice Blue": return r.aliceBlue; case "AntiqueWhite": case "Antique White": return r.antiqueWhite; case "Aqua": return r.aqua; case "Aquamarine": return r.aquamarine; case "Azure": return r.azure; case "Beige": return r.beige; case "Bisque": return r.bisque; case "Black": return r.black; case "BlanchedAlmond": case "Blanched Almond": return r.blanchedAlmond; case "Blue": return r.blue; case "BlueViolet": case "Blue Violet": return r.blueViolet; case "Brown": return r.brown; case "BurlyWood": case "Burly Wood": return r.burlyWood; case "CadetBlue": case "Cadet Blue": return r.cadetBlue; case "Chartreuse": return r.chartreuse; case "Chocolate": return r.chocolate; case "Coral": return r.coral; case "CornflowerBlue": case "Cornflower Blue": return r.cornflowerBlue; case "Cornsilk": return r.cornsilk; case "Crimson": return r.crimson; case "Cyan": return r.cyan; case "DarkBlue": case "Dark Blue": return r.darkBlue; case "DarkCyan": case "Dark Cyan": return r.darkCyan; case "DarkGoldenrod": case "Dark Goldenrod": return r.darkGoldenrod; case "DarkGray": case "Dark Gray": return r.darkGray; case "DarkGreen": case "Dark Green": return r.darkGreen; case "DarkKhaki": case "Dark Khaki": return r.darkKhaki; case "DarkMagenta": case "Dark Magenta": return r.darkMagenta; case "DarkOliveGreen": case "Dark Olive Green": return r.darkOliveGreen; case "DarkOrange": case "Dark Orange": return r.darkOrange; case "DarkOrchid": case "Dark Orchid": return r.darkOrchid; case "DarkRed": case "Dark Red": return r.darkRed; case "DarkSalmon": case "Dark Salmon": return r.darkSalmon; case "DarkSeaGreen": case "Dark Sea Green": return r.darkSeaGreen; case "DarkSlateBlue": case "Dark Slate Blue": return r.darkSlateBlue; case "DarkSlateGray": case "Dark Slate Gray": return r.darkSlateGray; case "DarkTurquoise": case "Dark Turquoise": return r.darkTurquoise; case "DarkViolet": case "Dark Violet": return r.darkViolet; case "DeepPink": case "Deep Pink": return r.deepPink; case "DeepSkyBlue": case "Deep Sky Blue": return r.deepSkyBlue; case "DimGray": case "Dim Gray": return r.dimGray; case "DodgerBlue": case "Dodger Blue": return r.dodgerBlue; case "Firebrick": return r.firebrick; case "FloralWhite": case "Floral White": return r.floralWhite; case "ForestGreen": case "Forest Green": return r.forestGreen; case "Fuchsia": return r.fuchsia; case "Gainsboro": return r.gainsboro; case "GhostWhite": case "Ghost White": return r.ghostWhite; case "Gold": return r.gold; case "Goldenrod": return r.goldenrod; case "Gray": return r.gray; case "Green": return r.green; case "GreenYellow": case "Green Yellow": return r.greenYellow; case "Honeydew": return r.honeydew; case "HotPink": case "Hot Pink": return r.hotPink; case "IndianRed": case "Indian Red": return r.indianRed; case "Indigo": return r.indigo; case "Ivory": return r.ivory; case "Khaki": return r.khaki; case "Lavender": return r.lavender; case "LavenderBlush": case "Lavender Blush": return r.lavenderBlush; case "LawnGreen": case "Lawn Green": return r.lawnGreen; case "LemonChiffon": case "Lemon Chiffon": return r.lemonChiffon; case "LightBlue": case "Light Blue": return r.lightBlue; case "LightCoral": case "Light Coral": return r.lightCoral; case "LightCyan": case "Light Cyan": return r.lightCyan; case "LightGoldenrodYellow": case "Light Goldenrod Yellow": return r.lightGoldenrodYellow; case "LightGray": case "Light Gray": return r.lightGray; case "LightGreen": case "Light Green": return r.lightGreen; case "LightPink": case "Light Pink": return r.lightPink; case "LightSalmon": case "Light Salmon": return r.lightSalmon; case "LightSeaGreen": case "Light Sea Green": return r.lightSeaGreen; case "LightSkyBlue": case "Light Sky Blue": return r.lightSkyBlue; case "LightSlateGray": case "Light Slate Gray": return r.lightSlateGray; case "LightSteelBlue": case "Light Steel Blue": return r.lightSteelBlue; case "LightYellow": case "Light Yellow": return r.lightYellow; case "Lime": return r.lime; case "LimeGreen": case "Lime Green": return r.limeGreen; case "Linen": return r.linen; case "Magenta": return r.magenta; case "Maroon": return r.maroon; case "MediumAquamarine": case "Medium Aquamarine": return r.mediumAquamarine; case "MediumBlue": case "Medium Blue": return r.mediumBlue; case "MediumOrchid": case "Medium Orchid": return r.mediumOrchid; case "MediumPurple": case "Medium Purple": return r.mediumPurple; case "MediumSeaGreen": case "Medium Sea Green": return r.mediumSeaGreen; case "MediumSlateBlue": case "Medium Slate Blue": return r.mediumSlateBlue; case "MediumSpringGreen": case "Medium Spring Green": return r.mediumSpringGreen; case "MediumTurquoise": case "Medium Turquoise": return r.mediumTurquoise; case "MediumVioletRed": case "Medium Violet Red": return r.mediumVioletRed; case "MidnightBlue": case "Midnight Blue": return r.midnightBlue; case "MintCream": case "Mint Cream": return r.mintCream; case "MistyRose": case "Misty Rose": return r.mistyRose; case "Moccasin": return r.moccasin; case "NavajoWhite": case "Navajo White": return r.navajoWhite; case "Navy": return r.navy; case "OldLace": case "Old Lace": return r.oldLace; case "Olive": return r.olive; case "OliveDrab": case "Olive Drab": return r.oliveDrab; case "Orange": return r.orange; case "OrangeRed": case "Orange Red": return r.orangeRed; case "Orchid": return r.orchid; case "PaleGoldenrod": case "Pale Goldenrod": return r.paleGoldenrod; case "PaleGreen": case "Pale Green": return r.paleGreen; case "PaleTurquoise": case "Pale Turquoise": return r.paleTurquoise; case "PaleVioletRed": case "Pale Violet Red": return r.paleVioletRed; case "PapayaWhip": case "Papaya Whip": return r.papayaWhip; case "PeachPuff": case "Peach Puff": return r.peachPuff; case "Peru": return r.peru; case "Pink": return r.pink; case "Plum": return r.plum; case "PowderBlue": case "Powder Blue": return r.powderBlue; case "Purple": return r.purple; case "Red": return r.red; case "RosyBrown": case "Rosy Brown": return r.rosyBrown; case "RoyalBlue": case "Royal Blue": return r.royalBlue; case "SaddleBrown": case "Saddle Brown": return r.saddleBrown; case "Salmon": return r.salmon; case "SandyBrown": case "Sandy Brown": return r.sandyBrown; case "SeaGreen": case "Sea Green": return r.seaGreen; case "SeaShell": case "Sea Shell": return r.seaShell; case "Sienna": return r.sienna; case "Silver": return r.silver; case "SkyBlue": case "Sky Blue": return r.skyBlue; case "SlateBlue": case "Slate Blue": return r.slateBlue; case "SlateGray": case "Slate Gray": return r.slateGray; case "Snow": return r.snow; case "SpringGreen": case "Spring Green": return r.springGreen; case "SteelBlue": case "Steel Blue": return r.steelBlue; case "Tan": return r.tan; case "Teal": return r.teal; case "Thistle": return r.thistle; case "Tomato": return r.tomato; case "Turquoise": return r.turquoise; case "Violet": return r.violet; case "Wheat": return r.wheat; case "White": return r.white; case "WhiteSmoke": case "White Smoke": return r.whiteSmoke; case "Yellow": return r.yellow; case "YellowGreen": case "Yellow Green": return r.yellowGreen; case "Transparent": return r.transparent } return r.transparent } , t }(); t.StiReportObjectStringConverter = n }(r = t.Text || (t.Text = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Text.StringBuilder , n = e.System.Char , i = function() { function t() {} return t.splitString = function(e, t) { for (var i = new Array, a = new r, o = 0; o < e.length; o++) { var s = e.charCodeAt(o); 10 == s ? (i.add(this.trimEndWhiteSpace2(a.toString(), t)), a.clear()) : t && n.isControl(e, o) && 9 != s || a.append(e.charAt(o)) } return a.length > 0 && i.add(this.trimEndWhiteSpace2(a.toString(), t)), 0 == i.length && i.add(""), i } , t.trimEndWhiteSpace = function(e) { return this.trimEndWhiteSpace2(e, !0) } , t.trimEndWhiteSpace2 = function(e, t) { var r = "" , i = e.length; while (i > 0 && n.isWhitespace(e[i - 1]) && (t || e.charCodeAt(i - 1) >= 32)) i--; return i == e.length ? r = e : i > 0 && (r = e.substring(0, i)), r } , t.isWordWrapSymbol = function(e, t) { var r = e.charCodeAt(t) , i = e.charAt(t); if (r >= 12288 && r <= 55215 || n.isWhitespace(e, t) && 160 != r || "(" == i || "{" == i) return !0; if (t > 0) { var a = e.charAt(t - 1); if ("!" == a || "%" == a || ")" == a || "}" == a || "-" == a || "?" == a) return !0 } return !1 } , t.getWordWrapTextLines = function(t, i, a, o) { var s = this.splitString(t, !1) , u = 1; null != i && (u = i.sizeInPoints); for (var l = 0; l < s.length; l++) { var m = s[l] , y = new r , d = 0; while (d < m.length) if (n.isWhitespace(m, d)) y.append(m.charAt(d)), d++; else { var f = new r; while (d < m.length && !n.isWhitespace(m, d)) f.append(m.charAt(d)), d++; y.append(f) } var h = []; m = y.toString(); for (var c = 0; c < m.length; c++) h[c] = m.charCodeAt(c); for (var p = Array.create(Number, m.length), M = Array.create(Number, m.length), b = 0, g = 0, v = 0; v < h.length; v++) h[v] >= 0 && (g += 1e3 * e.System.Drawing.Graphics.measureString(String.fromCharCode(h[v]), i).width / u), p[v] = Math.trunc(g), this.isWordWrapSymbol(m, v) && v > 0 && b++, M[v] = b; if (g * u / 1e3 > o) { var v = m.length - 1 , S = Math.trunc(1e3 * o / u); while (p[v] > S && v > 0) v--; var w = v; if (M[v] > 0) if (M[v] != M[v + 1]) { w = v++; while (n.isWhitespace(m, v) && "\t" != m.charAt(v)) v++ } else { while (!this.isWordWrapSymbol(m, v)) v--; w = v - 1; while (n.isWhitespace(m, w) && w > 0) w--; while (n.isWhitespace(m, v) && "\t" != y.charAt(v)) v++ } else v++; s[l] = a ? m.substr(0, w + 1) + "a" : m.substr(0, w + 1), s.insert(l + 1, m.substr(v, m.length - v).stimulsoft.trimStart(" ")) } } return s } , t }(); t.TextUtils = i }(r = t.Text || (t.Text = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.None = 0] = "None", e[e.Indented = 1] = "Indented" }(t = e.Formatting || (e.Formatting = {})) }(t = e.Xml || (e.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() { this._name = "", this._value = "" } return Object.defineProperty(e.prototype, "name", { get: function() { return this._name }, set: function(e) { this._name = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), e }(); e.XmlAttr = t }(t = e.Xml || (e.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.CollectionBase , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.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 } , t }(r); t.XmlAttrCollection = n }(r = t.Xml || (t.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e(e) { this.charProperties = e } return Object.defineProperty(e, "instance", { get: function() { return null == e.s_CharProperties && e.initInstance(), new e(e.s_CharProperties) }, enumerable: !0, configurable: !0 }), e.initInstance = function() { if (null != e.s_CharProperties) return; var t = Array.create(Object, e.charPropertiesSize); e.s_CharProperties = t, e.setProperties(e.s_Whitespace, e.fWhitespace), e.setProperties(e.s_Letter, e.fLetter), e.setProperties(e.s_NCStartName, e.fNCStartName), e.setProperties(e.s_NCName, e.fNCName), e.setProperties(e.s_CharData, e.fCharData), e.setProperties(e.s_PublicID, e.fPublicId), e.setProperties(e.s_Text, e.fText), e.setProperties(e.s_AttrValue, e.fAttrValue) } , e.setProperties = function(t, r) { for (var n = 0; n < t.length; n += 2) for (var i = parseInt(t.charAt(n + 1)), a = parseInt(t.charAt(n)); a <= i; a++) e.s_CharProperties[a] |= r } , e.fWhitespace = 1, e.fLetter = 2, e.fNCStartName = 4, e.fNCName = 8, e.fCharData = 16, e.fPublicId = 32, e.fText = 64, e.fAttrValue = 128, e.charPropertiesSize = 0, e.s_Whitespace = "\t\n\r\r ", e.s_Letter = "AZazÀÖØö" + "øıĴľŁňŊž" + "ƀǃǍǰǴǵǺȗ" + "ɐʨʻˁΆΆΈΊ" + "ΌΌΎΡΣώϐϖ" + "ϚϚϜϜϞϞϠϠ" + "ϢϳЁЌЎяёќ" + "ўҁҐӄӇӈӋӌ" + "ӐӫӮӵӸӹԱՖ" + "ՙՙաֆאתװײ" + "ءغفيٱڷںھ" + "ۀێېۓەەۥۦ" + "अहऽऽक़ॡঅঌ" + "এঐওনপরলল" + "শহড়ঢ়য়ৡৰৱ" + "ਅਊਏਐਓਨਪਰ" + "ਲਲ਼ਵਸ਼ਸਹਖ਼ੜ" + "ਫ਼ਫ਼ੲੴઅઋઍઍ" + "એઑઓનપરલળ" + "વહઽઽૠૠଅଌ" + "ଏଐଓନପରଲଳ" + "ଶହଽଽଡ଼ଢ଼ୟୡ" + "அஊஎஐஒகஙச" + "ஜஜஞடணதநப" + "மவஷஹఅఌఎఐ" + "ఒనపళవహౠౡ" + "ಅಌಎಐಒನಪಳ" + "ವಹೞೞೠೡഅഌ" + "എഐഒനപഹൠൡ" + "กฮะะาำเๅ" + "ກຂຄຄງຈຊຊ" + "ຍຍດທນຟມຣ" + "ລລວວສຫອຮ" + "ະະາຳຽຽເໄ" + "ཀཇཉཀྵႠჅაჶ" + "ᄀᄀᄂᄃᄅᄇᄉᄉ" + "ᄋᄌᄎᄒᄼᄼᄾᄾ" + "ᅀᅀᅌᅌᅎᅎᅐᅐ" + "ᅔᅕᅙᅙᅟᅡᅣᅣ" + "ᅥᅥᅧᅧᅩᅩᅭᅮ" + "ᅲᅳᅵᅵᆞᆞᆨᆨ" + "ᆫᆫᆮᆯᆷᆸᆺᆺ" + "ᆼᇂᇫᇫᇰᇰᇹᇹ" + "ḀẛẠỹἀἕἘἝ" + "ἠὅὈὍὐὗὙὙ" + "ὛὛὝὝὟώᾀᾴ" + "ᾶᾼιιῂῄῆῌ" + "ῐΐῖΊῠῬῲῴ" + "ῶῼΩΩKÅ℮℮" + "ↀↂ〇〇〡〩ぁゔ" + "ァヺㄅㄬ一龥가힣", e.s_NCStartName = "AZ__az" + "ÀÖØöøıĴľ" + "ŁňŊžƀǃǍǰ" + "ǴǵǺȗɐʨʻˁ" + "ΆΆΈΊΌΌΎΡ" + "ΣώϐϖϚϚϜϜ" + "ϞϞϠϠϢϳЁЌ" + "ЎяёќўҁҐӄ" + "ӇӈӋӌӐӫӮӵ" + "ӸӹԱՖՙՙաֆ" + "אתװײءغفي" + "ٱڷںھۀێېۓ" + "ەەۥۦअहऽऽ" + "क़ॡঅঌএঐওন" + "পরললশহড়ঢ়" + "য়ৡৰৱਅਊਏਐ" + "ਓਨਪਰਲਲ਼ਵਸ਼" + "ਸਹਖ਼ੜਫ਼ਫ਼ੲੴ" + "અઋઍઍએઑઓન" + "પરલળવહઽઽ" + "ૠૠଅଌଏଐଓନ" + "ପରଲଳଶହଽଽ" + "ଡ଼ଢ଼ୟୡஅஊஎஐ" + "ஒகஙசஜஜஞட" + "ணதநபமவஷஹ" + "అఌఎఐఒనపళ" + "వహౠౡಅಌಎಐ" + "ಒನಪಳವಹೞೞ" + "ೠೡഅഌഎഐഒന" + "പഹൠൡกฮะะ" + "าำเๅກຂຄຄ" + "ງຈຊຊຍຍດທ" + "ນຟມຣລລວວ" + "ສຫອຮະະາຳ" + "ຽຽເໄཀཇཉཀྵ" + "ႠჅაჶᄀᄀᄂᄃ" + "ᄅᄇᄉᄉᄋᄌᄎᄒ" + "ᄼᄼᄾᄾᅀᅀᅌᅌ" + "ᅎᅎᅐᅐᅔᅕᅙᅙ" + "ᅟᅡᅣᅣᅥᅥᅧᅧ" + "ᅩᅩᅭᅮᅲᅳᅵᅵ" + "ᆞᆞᆨᆨᆫᆫᆮᆯ" + "ᆷᆸᆺᆺᆼᇂᇫᇫ" + "ᇰᇰᇹᇹḀẛẠỹ" + "ἀἕἘἝἠὅὈὍ" + "ὐὗὙὙὛὛὝὝ" + "Ὗώᾀᾴᾶᾼιι" + "ῂῄῆῌῐΐῖΊ" + "ῠῬῲῴῶῼΩΩ" + "KÅ℮℮ↀↂ〇〇" + "〡〩ぁゔァヺㄅㄬ" + "一龥가힣", e.s_NCName = "-.09AZ__" + "az··ÀÖØö" + "øıĴľŁňŊž" + "ƀǃǍǰǴǵǺȗ" + "ɐʨʻˁːˑ̀ͅ" + "͠͡ΆΊΌΌΎΡ" + "ΣώϐϖϚϚϜϜ" + "ϞϞϠϠϢϳЁЌ" + "Ўяёќўҁ҃҆" + "ҐӄӇӈӋӌӐӫ" + "ӮӵӸӹԱՖՙՙ" + "աֆֹֻֽ֑֣֡" + "ֿֿׁׂׄׄאת" + "װײءغـْ٠٩" + "ٰڷںھۀێېۓ" + "ە۪ۭۨ۰۹ँः" + "अह़्॑॔क़ॣ" + "०९ঁঃঅঌএঐ" + "ওনপরললশহ" + "়়াৄেৈো্" + "ৗৗড়ঢ়য়ৣ০ৱ" + "ਂਂਅਊਏਐਓਨ" + "ਪਰਲਲ਼ਵਸ਼ਸਹ" + "਼਼ਾੂੇੈੋ੍" + "ਖ਼ੜਫ਼ਫ਼੦ੴઁઃ" + "અઋઍઍએઑઓન" + "પરલળવહ઼ૅ" + "ેૉો્ૠૠ૦૯" + "ଁଃଅଌଏଐଓନ" + "ପରଲଳଶହ଼ୃ" + "େୈୋ୍ୖୗଡ଼ଢ଼" + "ୟୡ୦୯ஂஃஅஊ" + "எஐஒகஙசஜஜ" + "ஞடணதநபமவ" + "ஷஹாூெைொ்" + "ௗௗ௧௯ఁఃఅఌ" + "ఎఐఒనపళవహ" + "ాౄెైొ్ౕౖ" + "ౠౡ౦౯ಂಃಅಌ" + "ಎಐಒನಪಳವಹ" + "ಾೄೆೈೊ್ೕೖ" + "ೞೞೠೡ೦೯ംഃ" + "അഌഎഐഒനപഹ" + "ാൃെൈൊ്ൗൗ" + "ൠൡ൦൯กฮะฺ" + "เ๎๐๙ກຂຄຄ" + "ງຈຊຊຍຍດທ" + "ນຟມຣລລວວ" + "ສຫອຮະູົຽ" + "ເໄໆໆ່ໍ໐໙" + "༘༙༠༩༵༵༷༷" + "༹༹༾ཇཉཀྵ྄ཱ" + "྆ྋྐྕྗྗྙྭ" + "ྱྷྐྵྐྵႠჅაჶ" + "ᄀᄀᄂᄃᄅᄇᄉᄉ" + "ᄋᄌᄎᄒᄼᄼᄾᄾ" + "ᅀᅀᅌᅌᅎᅎᅐᅐ" + "ᅔᅕᅙᅙᅟᅡᅣᅣ" + "ᅥᅥᅧᅧᅩᅩᅭᅮ" + "ᅲᅳᅵᅵᆞᆞᆨᆨ" + "ᆫᆫᆮᆯᆷᆸᆺᆺ" + "ᆼᇂᇫᇫᇰᇰᇹᇹ" + "ḀẛẠỹἀἕἘἝ" + "ἠὅὈὍὐὗὙὙ" + "ὛὛὝὝὟώᾀᾴ" + "ᾶᾼιιῂῄῆῌ" + "ῐΐῖΊῠῬῲῴ" + "ῶῼ⃐⃜⃡⃡ΩΩ" + "KÅ℮℮ↀↂ々々" + "〇〇〡〯〱〵ぁゔ" + "゙゚ゝゞァヺーヾ" + "ㄅㄬ一龥가힣", e.s_CharData = "\t\n\r\r ퟿�", e.s_PublicID = "\n\n\r\r !#%" + "';==?Z__" + "az", e.s_Text = " %';=\\^퟿�", e.s_AttrValue = " !#%(;==?퟿�", e }(); e.XmlCharType = t }(t = e.Xml || (e.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.NsCollationBase = "http://collations.microsoft.com", e.NsCollCodePoint = "http://www.w3.org/2004/10/xpath-functions/collation/codepoint", e.NsDataType = "urn:schemas-microsoft-com:datatypes", e.NsDataTypeAlias = "uuid:C2F41010-65B3-11D1-A29F-00AA00C14882", e.NsDataTypeOld = "urn:uuid:C2F41010-65B3-11D1-A29F-00AA00C14882/", e.NsExsltCommon = "http://exslt.org/common", e.NsExsltDates = "http://exslt.org/dates-and-times", e.NsExsltMath = "http://exslt.org/math", e.NsExsltRegExps = "http://exslt.org/regular-expressions", e.NsExsltSets = "http://exslt.org/sets", e.NsExsltStrings = "http://exslt.org/strings", e.NsMsxsl = "urn:schemas-microsoft-com:xslt", e.NsWdXsl = "http://www.w3.org/TR/WD-xsl", e.NsXdr = "urn:schemas-microsoft-com:xml-data", e.NsXdrAlias = "uuid:BDC6E3F0-6DA3-11D1-A2A3-00AA00C14882", e.NsXml = "http://www.w3.org/XML/1998/namespace", e.NsXmlNs = "http://www.w3.org/2000/xmlns/", e.NsXQueryDataType = "http://www.w3.org/2003/11/xpath-datatypes", e.NsXQueryFunc = "http://www.w3.org/2003/11/xpath-functions", e.NsXs = "http://www.w3.org/2001/XMLSchema", e.NsXsd = "http://www.w3.org/2001/XMLSchema-datatypes", e.NsXsi = "http://www.w3.org/2001/XMLSchema-instance", e.NsXslDebug = "urn:schemas-microsoft-com:xslt-debug", e.NsXslt = "http://www.w3.org/1999/XSL/Transform", e.NsXsltInternal = "http://schemas.microsoft.com/framework/2003/xml/xslt/internal", e }(); e.XmlReservedNs = t }(t = e.Xml || (e.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Default = 1] = "Default", e[e.None = 0] = "None", e[e.Preserve = 2] = "Preserve" }(t = e.XmlSpace || (e.XmlSpace = {})) }(t = e.Xml || (e.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Text.StringBuilder , n = function() { function e(e) { this.surHighStart = 55296, this.surHighEnd = 56319, this.surLowStart = 56320, this.surLowEnd = 57343, this.textWriter = e, this.quoteChar = '"', this.xmlCharType = t.XmlCharType.instance } return e.prototype.startAttribute = function(e) { this.inAttribute = !0, this.cacheAttrValue = e, e && (null == this.attrValue ? this.attrValue = new r : this.attrValue.clear()) } , e.prototype.endAttribute = function() { this.cacheAttrValue && this.attrValue.clear(), this.inAttribute = !1, this.cacheAttrValue = !1 } , Object.defineProperty(e.prototype, "attributeValue", { get: function() { return this.cacheAttrValue ? this.attrValue.toString() : "" }, enumerable: !0, configurable: !0 }), e.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) } , e.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, "'")) } , e.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) } , e.prototype.writeStringFragment = function(e, t, r, n) { var i = n.length; while (r > 0) { var a = r; a > i && (a = i), t += a, r -= a } } , e.prototype.writeCharEntityImpl = function(e) { this.textWriter.write("&#x"), this.textWriter.write(e), this.textWriter.write(";") } , e.prototype.writeEntityRefImpl = function(e) { this.textWriter.write("&"), this.textWriter.write(e), this.textWriter.write(";") } , e }(); t.XmlTextEncoder = n }(r = t.Xml || (t.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.IO.TextWriter, n = e.System.Collections.Hashtable, i = e.System.Text.StringBuilder, a = e.System.IO.StreamWriter, o; !function(e) { e[e.Uninitialized = 0] = "Uninitialized", e[e.NotDeclaredButInScope = 1] = "NotDeclaredButInScope", e[e.DeclaredButNotWrittenOut = 2] = "DeclaredButNotWrittenOut", e[e.DeclaredAndWrittenOut = 3] = "DeclaredAndWrittenOut" }(o || (o = {})); var s = function() { function e() {} return e.prototype.init = function(e) { this.name = null, this.defaultNs = "", this.defaultNsState = o.Uninitialized, this.xmlSpace = t.XmlSpace.None, this.xmlLang = null, this.prevNsTop = e, this.prefixCount = 0, this.mixed = !1 } , e }(), u = function() { function e() {} return e.prototype.set = function(e, t, r) { this.prefix = e, this.ns = t, this.declared = r, this.prevNsIndex = -1 } , e }(), l; !function(e) { e[e.None = 0] = "None", e[e.XmlSpace = 1] = "XmlSpace", e[e.XmlLang = 2] = "XmlLang", e[e.XmlNs = 3] = "XmlNs" }(l || (l = {})); var m; !function(e) { e[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" }(m || (m = {})); var y; !function(e) { e[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" }(y || (y = {})); var d = function() { function d(e, r) { this.xmlCharType = t.XmlCharType.instance, this.namespaceStackInitialSize = 8, this.maxNamespacesWalkCount = 16, this.constructor_(e), r && (this.encoding = e, this.textWriter = null != e ? new a(r,e) : new a(r), this.xmlEncoder = new t.XmlTextEncoder(this.textWriter), this.xmlEncoder.quoteChar = this.quoteChar) } return d.prototype.writeStartDocument = function(e) { void 0 == e ? this.startDocument(-1) : this.startDocument(e ? 1 : 0) } , d.prototype.writeEndDocument = function() { try { this.autoCompleteAll(), this.currentState, m.Epilog, this.stateTable = d.stateTableDefault, this.currentState = m.Start, this.lastToken = y.Empty } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.prototype.writeDocType = function(t, r, n, i) { try { this.validateName(t, !1), this.autoComplete(y.Doctype) } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.prototype.writeStartElement = function(e) { this.writeStartElement3(null, e, null) } , d.prototype.writeStartElement3 = function(t, r, n) { try { if (this.autoComplete(y.StartElement), this.pushStack(), this.textWriter.write("<"), this.namespaces) { if (this.stack[this.top].defaultNs = this.stack[this.top - 1].defaultNs, this.stack[this.top - 1].defaultNsState != o.Uninitialized && (this.stack[this.top].defaultNsState = o.NotDeclaredButInScope), this.stack[this.top].mixed = this.stack[this.top - 1].mixed, null == n) null != t && 0 != t.length && this.lookupNamespace(t); else if (null == t) { var i = this.findPrefix(n); null != i ? t = i : this.pushNamespace(null, n, !1) } else 0 == t.length ? this.pushNamespace(null, n, !1) : (0 == n.length && (t = null), this.verifyPrefixXml(t, n), this.pushNamespace(t, n, !1)); this.stack[this.top].prefix = null, null != t && 0 != t.length && (this.stack[this.top].prefix = t, this.textWriter.write(t), this.textWriter.write(":")) } else null != n && 0 != n.length || null != t && t.length; this.stack[this.top].name = r, this.textWriter.write(r) } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.prototype.writeEndElement = function() { this.internalWriteEndElement(!1) } , d.prototype.writeFullEndElement = function() { this.internalWriteEndElement(!0) } , d.prototype.writeStartAttribute = function(r, n, i) { try { if (this.autoComplete(y.StartAttribute), this.specialAttr = l.None, this.namespaces) { if (null != r && 0 == r.length && (r = null), i == t.XmlReservedNs.NsXmlNs && null == r && "xmlns" != n && (r = "xmlns"), "xml" == r) "lang" == n ? this.specialAttr = l.XmlLang : "space" == n && (this.specialAttr = l.XmlSpace); else if ("xmlns" == r) t.XmlReservedNs.NsXmlNs, null == n || 0 == n.length ? (n = r, r = null, this.prefixForXmlNs = null) : this.prefixForXmlNs = n, this.specialAttr = l.XmlNs; else if (null == r && "xmlns" == n) t.XmlReservedNs.NsXmlNs, this.specialAttr = l.XmlNs, this.prefixForXmlNs = null; else if (null == i) null != r && this.lookupNamespace(r); else if (0 == i.length) r = ""; else { this.verifyPrefixXml(r, i), null != r && -1 != this.lookupNamespaceInCurrentScope(r) && (r = null); var a = this.findPrefix(i); null == a || null != r && r != a ? (null == r && (r = this.generatePrefix()), this.pushNamespace(r, i, !1)) : r = a } null != r && 0 != r.length && (this.textWriter.write(r), this.textWriter.write(":")) } else null != i && 0 != i.length || null != r && r.length, "xml:lang" == n ? this.specialAttr = l.XmlLang : "xml:space" == n && (this.specialAttr = l.XmlSpace); this.xmlEncoder.startAttribute(this.specialAttr != l.None), this.textWriter.write(n), this.textWriter.write("="), this.curQuoteChar != this.quoteChar && (this.curQuoteChar = this.quoteChar, this.xmlEncoder.quoteChar = this.quoteChar), this.textWriter.write(this.curQuoteChar) } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.prototype.writeEndAttribute = function() { try { this.autoComplete(y.EndAttribute) } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.prototype.writeString = function(t) { try { null != t && 0 != t.length && (this.autoComplete(y.Content), this.xmlEncoder.write(t)) } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.prototype.writeRaw = function(t) { try { this.autoComplete(y.RawData), this.xmlEncoder.writeRawWithSurrogateChecking(t) } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.prototype.close = function() { try { this.autoCompleteAll() } finally { this.currentState = m.Closed, this.textWriter.close() } } , d.prototype.flush = function() { this.textWriter.flush() } , d.prototype.writeName = function(t) { try { this.autoComplete(y.Content), this.internalWriteName(t, !1) } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.prototype.writeQualifiedName = function(t, r) { try { if (this.autoComplete(y.Content), this.namespaces) { if (null != r && 0 != r.length && r != this.stack[this.top].defaultNs) { var n = this.findPrefix(r); null == n && (this.currentState, m.Attribute, n = this.generatePrefix(), this.pushNamespace(n, r, !1)), 0 != n.length && (this.internalWriteName(n, !0), this.textWriter.write(":")) } } else null != r && r.length; this.internalWriteName(t, !0) } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.prototype.startDocument = function(t) { try { this.currentState, m.Start, this.stateTable = d.stateTableDocument, this.currentState = m.Prolog; var r = new i; r.append("version=" + this.quoteChar + "1.0" + this.quoteChar), null != this.encoding && (r.append(" encoding="), r.append(this.quoteChar), r.append(this.encoding.webName), r.append(this.quoteChar)), t >= 0 && (r.append(" standalone="), r.append(this.quoteChar), r.append(0 == t ? "no" : "yes"), r.append(this.quoteChar)), this.internalWriteProcessingInstruction("xml", r.toString()) } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.prototype.autoComplete = function(e) { this.currentState == m.Closed || (this.currentState, m.Error); var t = this.stateTable[8 * e + this.currentState]; switch (m.Error, e) { case y.Doctype: this.indented && this.currentState != m.Start && this.indent(!1); break; case y.StartElement: case y.Comment: case y.PI: case y.CData: this.currentState == m.Attribute ? (this.writeEndAttributeQuote(), this.writeEndStartTag(!1)) : this.currentState == m.Element && this.writeEndStartTag(!1), e == y.CData ? this.stack[this.top].mixed = !0 : this.indented && this.currentState != m.Start && this.indent(!1); break; case y.EndElement: case y.LongEndElement: this._flush && this.flushEncoders(), this.currentState == m.Attribute && this.writeEndAttributeQuote(), this.currentState == m.Content ? e = y.LongEndElement : this.writeEndStartTag(e == y.EndElement), d.stateTableDocument == this.stateTable && 1 == this.top && (t = m.Epilog); break; case y.StartAttribute: this._flush && this.flushEncoders(), this.currentState == m.Attribute ? (this.writeEndAttributeQuote(), this.textWriter.write(" ")) : this.currentState == m.Element && this.textWriter.write(" "); break; case y.EndAttribute: this._flush && this.flushEncoders(), this.writeEndAttributeQuote(); break; case y.Whitespace: case y.Content: case y.RawData: case y.Base64: e != y.Base64 && this._flush && this.flushEncoders(), this.currentState == m.Element && this.lastToken != y.Content && this.writeEndStartTag(!1), t == m.Content && (this.stack[this.top].mixed = !0); break; default: } this.currentState = t, this.lastToken = e } , d.prototype.autoCompleteAll = function() { this._flush && this.flushEncoders(); while (this.top > 0) this.writeEndElement() } , d.prototype.internalWriteEndElement = function(t) { try { this.top, this.autoComplete(t ? y.LongEndElement : y.EndElement), this.lastToken == y.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 r = this.stack[this.top].prevNsTop; this.useNsHashtable && r < this.nsTop && this.popNamespaces(r + 1, this.nsTop), this.nsTop = r, this.top-- } catch (t) { e.System.StiError.showError(t, !1), this.currentState = m.Error } } , d.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 == o.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 = o.DeclaredAndWrittenOut), this.xmlEncoder.endAttribute(), e && this.textWriter.write(" /"), this.textWriter.write(">") } , d.prototype.writeEndAttributeQuote = function() { this.specialAttr != l.None && this.handleSpecialAttribute(), this.xmlEncoder.endAttribute(), this.textWriter.write(this.curQuoteChar) } , d.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; t > 0; t--) this.textWriter.write(this.indentChar) } } , d.prototype.pushNamespace = function(e, r, n) { if (t.XmlReservedNs.NsXmlNs, null == e) { switch (this.stack[this.top].defaultNsState) { case o.DeclaredButNotWrittenOut: break; case o.Uninitialized: case o.NotDeclaredButInScope: this.stack[this.top].defaultNs = r; break; default: return } this.stack[this.top].defaultNsState = n ? o.DeclaredAndWrittenOut : o.DeclaredButNotWrittenOut } else { 0 != e.length && r.length; var i = this.lookupNamespace(e); -1 != i && this.nsStack[i].ns == r ? n && (this.nsStack[i].declared = !0) : (n && -1 != i && i > this.stack[this.top].prevNsTop && (this.nsStack[i].declared = !0), this.addNamespace(e, r, n)) } } , d.prototype.addNamespace = function(e, t, r) { var i = ++this.nsTop; if (i == this.nsStack.length) { var a = Array.create(u, 2 * i, !0); Array.copy(this.nsStack, 0, a, i), this.nsStack = a } if (this.nsStack[i].set(e, t, r), this.useNsHashtable) this.addToNamespaceHashtable(i); else if (i == this.maxNamespacesWalkCount) { this.nsHashtable = new n; for (var o = 0; o <= i; o++) this.addToNamespaceHashtable(o); this.useNsHashtable = !0 } } , d.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) } , d.prototype.popNamespaces = function(e, t) { for (var r = t; r >= e; r--) -1 == this.nsStack[r].prevNsIndex ? this.nsHashtable.remove(this.nsStack[r].prefix) : this.nsHashtable.set(this.nsStack[r].prefix, this.nsStack[r].prevNsIndex) } , d.prototype.generatePrefix = function() { var e = this.stack[this.top].prefixCount++ + 1; return "d" + this.top.toString() + "p" + e.toString() } , d.prototype.internalWriteProcessingInstruction = function(e, t) { this.textWriter.write("") } , d.prototype.lookupNamespace = function(e) { if (this.useNsHashtable) { var t = this.nsHashtable.get(e); if (null != t) return t } else for (var r = this.nsTop; r >= 0; r--) if (this.nsStack[r].prefix == e) return r; return -1 } , d.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 } , d.prototype.findPrefix = function(e) { for (var t = this.nsTop; t >= 0; t--) if (this.nsStack[t].ns == e && this.lookupNamespace(this.nsStack[t].prefix) == t) return this.nsStack[t].prefix; return null } , d.prototype.internalWriteName = function(e, t) { this.validateName(e, t), this.textWriter.write(e) } , d.prototype.validateName = function(e, r) { null == e || e.length; var n = e.length , i = 0 , a = -1; if (this.namespaces) { if (0 != (this.xmlCharType.charProperties[e.charCodeAt(i)] & t.XmlCharType.fNCStartName)) { var o = !0; while (o) { i++; while (i < n && 0 != (this.xmlCharType.charProperties[e.charCodeAt(i)] & t.XmlCharType.fNCName)) i++; if (i == n) return; if (":" == e[i] && !r && -1 == a && i + 1 < n) { a = i; continue } o = !1 } } } else if (0 != (this.xmlCharType.charProperties[e.charCodeAt(0)] & t.XmlCharType.fNCStartName) || ":" == e[0]) { i++; while (i < n && (0 != (this.xmlCharType.charProperties[e.charCodeAt(i)] & t.XmlCharType.fNCName) || ":" == e[i])) i++; if (i == n) return } } , d.prototype.handleSpecialAttribute = function() { var e = this.xmlEncoder.attributeValue; switch (this.specialAttr) { case l.XmlLang: this.stack[this.top].xmlLang = e; break; case l.XmlSpace: e = e.trim(), "default" == e ? this.stack[this.top].xmlSpace = t.XmlSpace.Default : "preserve" == e && (this.stack[this.top].xmlSpace = t.XmlSpace.Preserve); break; case l.XmlNs: this.verifyPrefixXml(this.prefixForXmlNs, e), this.pushNamespace(this.prefixForXmlNs, e, !0); break } } , d.prototype.verifyPrefixXml = function(e, r) { 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) || t.XmlReservedNs.NsXml) } , d.prototype.pushStack = function() { if (this.top == this.stack.length - 1) { var e = Array.create(s, this.stack.length + 10, !0); this.top > 0 && Array.copy(this.stack, 0, e, this.top + 1), this.stack = e } this.top++, this.stack[this.top].init(this.nsTop) } , d.prototype.flushEncoders = function() { this._flush = !1 } , d.prototype.writeAttributeString = function(e, t) { this.writeStartAttribute(null, e, null), this.writeString(t), this.writeEndAttribute() } , d.prototype.writeElementString = function(e, t) { this.writeElementString2(e, null, t) } , d.prototype.writeElementString2 = function(e, t, r) { this.writeStartElement3(null, e, t), null != r && 0 != r.length && this.writeString(r), this.writeEndElement() } , d.prototype.writeElementString3 = function(e, t, r, n) { this.writeStartElement3(e, t, r), null != n && 0 != n.length && this.writeString(n), this.writeEndElement() } , d.prototype.constructor_ = function(e, n) { this.namespaces = !0, this.formatting = t.Formatting.None, this.indentation = 2, this.indentChar = " ", this.nsStack = Array.create(u, this.namespaceStackInitialSize, !0), this.nsTop = -1, this.stack = Array.create(s, 10, !0), this.top = 0, this.stack[this.top].init(-1), this.quoteChar = '"', this.stateTable = d.stateTableDefault, this.currentState = m.Start, this.lastToken = y.Empty, this.encoding = e, this.textWriter = new r, this.xmlEncoder = new t.XmlTextEncoder(this.textWriter), this.xmlEncoder.quoteChar = this.quoteChar } , d.stateTableDefault = [m.Prolog, m.Prolog, m.PostDTD, m.Content, m.Content, m.Content, m.Error, m.Epilog, m.PostDTD, m.PostDTD, m.Error, m.Error, m.Error, m.Error, m.Error, m.Error, m.Prolog, m.Prolog, m.PostDTD, m.Content, m.Content, m.Content, m.Error, m.Epilog, m.Content, m.Content, m.Error, m.Content, m.Content, m.Content, m.Error, m.Epilog, m.Element, m.Element, m.Element, m.Element, m.Element, m.Element, m.Error, m.Element, m.Error, m.Error, m.Error, m.Content, m.Content, m.Content, m.Error, m.Error, m.Error, m.Error, m.Error, m.Content, m.Content, m.Content, m.Error, m.Error, m.AttrOnly, m.Error, m.Error, m.Attribute, m.Attribute, m.Error, m.Error, m.Error, m.Error, m.Error, m.Error, m.Error, m.Element, m.Error, m.Epilog, m.Error, m.Content, m.Content, m.Error, m.Content, m.Attribute, m.Content, m.Attribute, m.Epilog, m.Content, m.Content, m.Error, m.Content, m.Attribute, m.Content, m.Attribute, m.Epilog, m.Prolog, m.Prolog, m.PostDTD, m.Content, m.Attribute, m.Content, m.Attribute, m.Epilog, m.Prolog, m.Prolog, m.PostDTD, m.Content, m.Attribute, m.Content, m.Attribute, m.Epilog], d.stateTableDocument = [m.Error, m.Prolog, m.PostDTD, m.Content, m.Content, m.Content, m.Error, m.Epilog, m.Error, m.PostDTD, m.Error, m.Error, m.Error, m.Error, m.Error, m.Error, m.Error, m.Prolog, m.PostDTD, m.Content, m.Content, m.Content, m.Error, m.Epilog, m.Error, m.Error, m.Error, m.Content, m.Content, m.Content, m.Error, m.Error, m.Error, m.Element, m.Element, m.Element, m.Element, m.Element, m.Error, m.Error, m.Error, m.Error, m.Error, m.Content, m.Content, m.Content, m.Error, m.Error, m.Error, m.Error, m.Error, m.Content, m.Content, m.Content, m.Error, m.Error, m.Error, m.Error, m.Error, m.Attribute, m.Attribute, m.Error, m.Error, m.Error, m.Error, m.Error, m.Error, m.Error, m.Element, m.Error, m.Error, m.Error, m.Error, m.Error, m.Error, m.Content, m.Attribute, m.Content, m.Error, m.Error, m.Error, m.Error, m.Error, m.Content, m.Attribute, m.Content, m.Error, m.Error, m.Error, m.Prolog, m.PostDTD, m.Content, m.Attribute, m.Content, m.Error, m.Epilog, m.Error, m.Prolog, m.PostDTD, m.Content, m.Attribute, m.Content, m.Error, m.Epilog], d }(); t.XmlTextWriter = d }(r = t.Xml || (t.Xml = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.createInstance = function(e) { return new e } , e }(); e.Activator = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var window = window || null; (window || global)._default = __default, Array.prototype.hasOwnProperty("countItems") || Object.defineProperty(Array.prototype, "countItems", { get: function() { return Stimulsoft.System.StiObject.keys(this).length }, set: function(e) {}, enumerable: !1 }), Array.prototype.count2 = function(e, t) { null == e && (e = function() { return !0 } ); var r = 0; return this.forEach(function(n) { return e.apply(t, [n]) ? r++ : null }), r } , Array.prototype.contains = function(e) { return this.indexOf(e) >= 0 } , Array.prototype.add = function(e) { this.push(e) } , Array.prototype.remove = function(e) { this.contains(e) && this.removeAt(this.indexOf(e)) } , Array.prototype.insert = function(e, t) { this.splice(e, 0, t) } , Array.prototype.clear = function() { this.splice(0, this.length) } , Array.prototype.clone = function() { var e, t, r = []; try { for (var n = __values(this), i = n.next(); !i.done; i = n.next()) { var a = i.value; r.push(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 } , Array.prototype.removeAt = function(e) { e < 0 ? delete this[this.getByIndex(e)] : this.splice(e, 1) } , Array.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 } } } , Array.prototype.removeRange = function(e, t) { this.splice(e, t) } , Array.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++ } , Array.prototype.getKeys = function() { return Stimulsoft.System.StiObject.keys(this).sort(function(e, t) { return e.stimulsoft.toNumber().stimulsoft.compareTo(t.stimulsoft.toNumber()) }) } , Array.prototype.getByIndex = function(e, t) { return void 0 === t && (t = null), null == t && (t = this.getKeys()), this[t[e]] } , Array.prototype.setByIndex = function(e, t) { this[Stimulsoft.System.StiObject.keys(this)[e]] = t } , Array.prototype.removeByIndex = function(e) { return delete this[this.indexOf(this.getByIndex(e))], this } , Array.prototype.sort2 = function(e) { return this.sort(function(t, r) { return e.compare(t, r) }) } , Array.prototype.getStiLength = function(e) { if (e > 0) return this[0].getStiLength(e - 1); return this.length } , Array.prototype.toArray = function() { var e, t, r = []; try { for (var n = __values(this), i = n.next(); !i.done; i = n.next()) { var a = i.value; r.push(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 } , Array.prototype.peek = function() { return this[this.length - 1] } , Array.prototype.sti_indexOf = function(e, t) { var r, n; if (void 0 === t && (t = 0), "number" == typeof e && e < 0) try { for (var i = __values(Stimulsoft.System.StiObject.keys(this)), a = i.next(); !a.done; a = i.next()) { var o = a.value , s = o.stimulsoft.toNumber(); if (s < 0 && (isNaN(t) || !isNaN(t) && s > t) && this[o] === e) return s } } catch (e) { r = { error: e } } finally { try { a && !a.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } else { t = 0; for (var u = t, l = this.length; u < l; u++) if (this[u] === e) return u } return -1 } , Array.prototype.toList = function() { return new Stimulsoft.System.Collections.List(this) } , Array.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 = [], a = t.shift(), o = 0; o < a; o++) { var s = Array.create.apply(this, [e].concat(t, [n])); i.push(s) } return i } , Array.numberSortFunction = function() { return function(e, t) { if (e > t) return 1; if (e < t) return -1; return 0 } } , Array.copy = function(e, t, r, n) { for (var i = t; i < t + n; i++) r[i] = e[i] } , Array.copy2 = function(e, t, r, n, i) { for (var a = 0; a < i; a++) r[n + a] = e[t + a] } , Array.reverse = function(e) { return e.reverse() } , Array.sti_sort = function(e) { return e.sort() } , Array.sti_sort3 = function(e, t) { var r, n, i = []; e.forEach(function(e, r) { return i.push({ key: e, item: t[r] }) }), i.sort(function(e, t) { return e.key.stimulsoft.compareTo(t.key) }), e.clear(), t.clear(); try { for (var a = __values(i), o = a.next(); !o.done; o = a.next()) { var s = o.value; e.push(s.key), t.push(s.item) } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = a.return) && n.call(a) } finally { if (r) throw r.error } } } , Array.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 } , Array.from || (Array.from = function() { var e = Object.prototype.toString , t = function(t) { return "function" == typeof t || "[object Function]" === e.call(t) } , r = function(e) { var t = Number(e); if (isNaN(t)) return 0; if (0 === t || !isFinite(t)) return t; return (t > 0 ? 1 : -1) * Math.floor(Math.abs(t)) } , n = Math.pow(2, 53) - 1 , i = function(e) { var t = r(e); return Math.min(Math.max(t, 0), n) }; return function e(r) { var n = this , a = Object(r); if (null == r) throw new TypeError("Array.from requires an array-like object - not null or undefined"); var o = arguments.length > 1 ? arguments[1] : void 0, s; if (void 0 !== o) { if (!t(o)) throw new TypeError("Array.from: when provided, the second argument must be a function"); arguments.length > 2 && (s = arguments[2]) } var u = i(a.length), l = t(n) ? Object(new n(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 } }()), Array.disableAllEnumerable = function() { for (var e in []) Object.defineProperty(Array.prototype, e, { enumerable: !1 }) } , Array.disableAllEnumerable(); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.Attribute = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.encode = function(t) { var r = "", n, i, a, o, s, u, l, m = 0; t = e.utf8_encode(t); while (m < t.length) n = t.charCodeAt(m++), i = t.charCodeAt(m++), a = t.charCodeAt(m++), o = n >> 2, s = (3 & n) << 4 | i >> 4, u = (15 & i) << 2 | a >> 6, l = 63 & a, isNaN(i) ? u = l = 64 : isNaN(a) && (l = 64), r = r + e.keyStr.charAt(o) + e.keyStr.charAt(s) + e.keyStr.charAt(u) + e.keyStr.charAt(l); return r } , e.decode = function(t) { var r = "", n, i, a, o, s, u, l, m = 0; t = t.replace(/[^A-Za-z0-9\+\/\=]/g, ""); while (m < t.length) o = this.keyStr.indexOf(t.charAt(m++)), s = this.keyStr.indexOf(t.charAt(m++)), u = this.keyStr.indexOf(t.charAt(m++)), l = this.keyStr.indexOf(t.charAt(m++)), n = o << 2 | s >> 4, i = (15 & s) << 4 | u >> 2, a = (3 & u) << 6 | l, r += String.fromCharCode(n), 64 != u && (r += String.fromCharCode(i)), 64 != l && (r += String.fromCharCode(a)); return r = e.utf8_decode(r) } , e.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) : n > 127 && n < 2048 ? (t += String.fromCharCode(n >> 6 | 192), t += String.fromCharCode(63 & n | 128)) : (t += String.fromCharCode(n >> 12 | 224), t += String.fromCharCode(n >> 6 & 63 | 128), t += String.fromCharCode(63 & n | 128)) } return t } , e.utf8_decode = function(e) { var t = "", r = 0, n, i, a, o = 0; while (r < e.length) n = e.charCodeAt(r), n < 128 ? (t += String.fromCharCode(n), r++) : n > 191 && 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 } , e.keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", e }(); e.Base64 = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Globalization.UnicodeCategory , n = function() { function e() {} return e.getUnicodeCategory = function(e) { if (e < 13312) return this._table_0[e]; if (e < 19894) return r.OtherLetter; if (e < 19904) return r.OtherNotAssigned; if (e < 19968) return r.OtherSymbol; if (e < 40896) return r.OtherLetter; if (e < 44032) return this._table_9fc0[e - 40896]; if (e < 55168) return r.OtherLetter; if (e < 55296) return this._table_d780[e - 55168]; if (e < 57344) return r.Surrogate; if (e < 63744) return r.PrivateUse; if (e < 64064) return r.OtherLetter; if (e < 65536) return this._table_fa40[e - 64064]; return r.OtherNotAssigned } , e._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, 1, 1, 1, 1, 25, 1, 1, 1, 1, 1, 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, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 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, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 4, 0, 1, 1, 1, 4, 4, 4, 4, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 2, 1, 0, 1, 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, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 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, 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, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 27, 27, 27, 27, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 3, 3, 3, 3, 3, 27, 27, 27, 27, 27, 27, 27, 3, 27, 3, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 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, 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, 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, 5, 5, 5, 5, 0, 1, 0, 1, 3, 27, 0, 1, 29, 29, 3, 1, 1, 1, 24, 0, 29, 29, 29, 29, 27, 27, 0, 24, 0, 0, 0, 29, 0, 29, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 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, 1, 1, 1, 1, 0, 1, 25, 0, 1, 0, 0, 1, 1, 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, 0, 0, 0, 0, 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, 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, 28, 5, 5, 5, 5, 5, 7, 7, 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, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 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, 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, 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, 29, 29, 3, 24, 24, 24, 24, 24, 24, 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, 29, 24, 19, 29, 29, 28, 28, 26, 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, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 5, 24, 5, 5, 24, 5, 5, 24, 5, 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, 29, 29, 29, 29, 29, 4, 4, 4, 24, 24, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 15, 15, 15, 15, 15, 15, 25, 25, 25, 24, 24, 26, 24, 24, 28, 28, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 24, 15, 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, 3, 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, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 24, 24, 24, 24, 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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, 4, 5, 5, 5, 5, 5, 5, 5, 15, 28, 5, 5, 5, 5, 5, 5, 3, 3, 5, 5, 28, 5, 5, 5, 5, 4, 4, 8, 8, 8, 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, 4, 4, 4, 4, 4, 4, 4, 4, 24, 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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, 29, 29, 4, 4, 4, 4, 4, 4, 4, 29, 4, 29, 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, 29, 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, 29, 4, 4, 4, 4, 29, 29, 4, 4, 4, 4, 4, 4, 4, 29, 4, 29, 4, 4, 4, 4, 29, 29, 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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, 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, 29, 29, 5, 5, 5, 24, 24, 24, 24, 24, 24, 24, 24, 24, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 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, 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, 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, 29, 1, 1, 1, 1, 1, 1, 29, 29, 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 11, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 20, 21, 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, 24, 24, 24, 9, 9, 9, 4, 4, 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, 6, 5, 4, 4, 29, 5, 5, 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, 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, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 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, 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, 3, 3, 3, 3, 3, 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, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 29, 29, 29, 29, 29, 29, 5, 5, 5, 5, 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, 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, 1, 1, 1, 1, 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, 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, 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], e._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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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, 24, 24, 24, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 4, 4, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 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, 4, 5, 7, 7, 7, 24, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 24, 3, 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, 3, 5, 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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, 4, 4, 4, 4, 4, 4, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 29, 29, 29, 29, 29, 29, 29, 29, 29, 24, 24, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 29, 29, 29, 29, 29, 29, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 24, 24, 24, 4, 24, 4, 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, 5, 5, 5, 5, 5, 5, 5, 5, 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, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 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, 29, 29, 29, 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, 6, 5, 5, 5, 5, 6, 6, 5, 6, 6, 6, 6, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 29, 3, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 29, 29, 29, 29, 24, 24, 4, 4, 4, 4, 4, 5, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 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, 5, 5, 5, 5, 5, 5, 6, 6, 5, 5, 6, 6, 5, 5, 29, 29, 29, 29, 29, 29, 29, 29, 29, 4, 4, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 29, 29, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 29, 29, 24, 24, 24, 24, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4, 4, 28, 28, 28, 4, 6, 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, 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], e._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], e._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, 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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, 1, 1, 1, 1, 1, 1, 1, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 1, 1, 1, 1, 1, 29, 29, 29, 29, 29, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 25, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 29, 4, 4, 4, 4, 4, 29, 4, 29, 4, 4, 29, 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, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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 }(); t.Chars = n }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = function() { function r() {} return r.changeType = function(e, r) { switch (r) { case String: return e.toString(); case Boolean: return e.stimulsoft.toBoolean(); case Number: return e.stimulsoft.toNumber(); case t.TimeSpan: return t.TimeSpan.fromString(e.toString()); case t.DateTime: return t.DateTime.fromString(e.toString()) } return e } , r.changeType2 = function(e, r) { switch (r) { case t.TypeCode.Empty: return e; case t.TypeCode.Object: return e; case t.TypeCode.DBNull: return e; case t.TypeCode.Boolean: return e.stimulsoft.toBoolean(); case t.TypeCode.Char: return e.toString(); case t.TypeCode.SByte: return e.stimulsoft.toNumber(); case t.TypeCode.Byte: return e.stimulsoft.toNumber(); case t.TypeCode.Int16: return e.stimulsoft.toNumber(); case t.TypeCode.UInt16: return e.stimulsoft.toNumber(); case t.TypeCode.Int32: return e.stimulsoft.toNumber(); case t.TypeCode.UInt32: return e.stimulsoft.toNumber(); case t.TypeCode.Int64: return e.stimulsoft.toNumber(); case t.TypeCode.UInt64: return e.stimulsoft.toNumber(); case t.TypeCode.Single: return e.stimulsoft.toNumber(); case t.TypeCode.Double: return e.stimulsoft.toNumber(); case t.TypeCode.Decimal: return e.stimulsoft.toNumber(); case t.TypeCode.DateTime: return t.DateTime.fromString(e.toString()); case t.TypeCode.String: return e.toString() } return e } , r.toDateTime = function(e) { if (e.stimulsoft.is(t.DateTime)) return e; if (e.stimulsoft.is(String)) return t.DateTime.fromString(e); var r = Date.parse(e); if (isNaN(r)) return e; return new t.DateTime(r) } , r.toString = function(e) { if (null == e) return ""; return e.toString() } , r.toFont = function(r) { var n = r.split(","); if (2 == n.length) return new e.System.Drawing.Font(n[0],n[1].stimulsoft.toNumber()); if (3 == n.length) return new e.System.Drawing.Font(n[0],n[1].stimulsoft.toNumber(),t.Enum.parse(t.Drawing.FontStyle, n[2].stimulsoft.replaceAll("|", ","))); if (n.length >= 4) return new e.System.Drawing.Font(n[0],n[1].stimulsoft.toNumber(),t.Enum.parse(t.Drawing.FontStyle, n[2].stimulsoft.replaceAll("|", ",")),t.Enum.parse(t.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 r = ""; if (e.stimulsoft.is(String)) r = e, window && window.atob && (r = r.stimulsoft.toUnicodeString()); else for (var n = new Uint8Array(e), i = 0; i < n.byteLength; i++) r += String.fromCharCode(n[i]); return window && window.atob ? window.btoa(r) : t.Base64.encode(r) } , r.fromBase64String = function(e) { if (void 0 === e || null == e) return null; var r = []; try { var n = window && window.atob ? window.atob(e.stimulsoft.replaceAll("\r\n", "\n").stimulsoft.replaceAll("\n", "")) : t.Base64.decode(e); if (this.isUTF16LE(n)) return this.fromUTF16LE(n); for (var i = 0; i < n.length; i++) r.push(n.charCodeAt(i)) } catch (e) {} return r } , r.fromBase64StringText = function(e) { if (window && window.atob) return window.atob(e).stimulsoft.fromUnicodeString(); return t.Base64.decode(e) } , r.fromUTF16LE = function(e) { var t = []; if (e.stimulsoft.is(Array) || e.stimulsoft.is(Uint8Array)) for (var r = e, n = 2; n < e.length; n += 2) t.push(r[n] | r[n + 1] << 8); else if (e.stimulsoft.is(String)) 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.stimulsoft.is(Array) || e.stimulsoft.is(Uint8Array)) return 255 == e[0] && 254 == e[1]; if (e.stimulsoft.is(String)) return 255 == e.charCodeAt(0) && 254 == e.charCodeAt(1); return !1 } , r.keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", r }(); t.Convert = r }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.DayOfWeek || (e.DayOfWeek = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.getName = function(e, t) { var r = ""; if (void 0 == e[t]) { for (var n in e) { var i = n.stimulsoft.toNumber(); 0 != i && (t & i) == i && (t -= i, r += (r.length > 0 ? ", " : "") + e[i]) } return 0 == r.length && (r = e[0]), r } return e[t] } , t.parse = function(r, n, i) { void 0 === i && (i = !1), (n.stimulsoft.is(Number) || e.Char.isDigit(n)) && (n = t.getName(r, n.stimulsoft.toNumber())); for (var a = n.toString().split(", "), o, s = 0; s < a.length; s++) void 0 === o ? o = r[a[s]] : o += r[a[s]]; return o } , t.getNames = function(e) { var t = []; for (var r in e) "number" != typeof e[r] && t.add(e[r]); return t } , t.getValues = function(e) { var t = []; for (var r in e) "number" != typeof e[r] && t.add(r.stimulsoft.toNumber()); return t } , t }(); e.Enum = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return Object.defineProperty(e, "newLine", { get: function() { return "\r\n" }, enumerable: !0, configurable: !0 }), e }(); e.Environment = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() { this.eventList = [] } return Object.defineProperty(e.prototype, "isNull", { get: function() { return 0 == this.eventList.length }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isNotNull", { get: function() { return !this.isNull }, enumerable: !0, configurable: !0 }), e.prototype.add = function(e, t) { this.eventList.push({ funct: e, _this: t }) } , e.prototype.call = function() { for (var e, t, 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 (t) { e = { error: t } } finally { try { a && !a.done && (t = i.return) && t.call(i) } finally { if (e) throw e.error } } } , e }(); e.Event = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.EventArgs = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e(e) { this.args = e.split(",").map(function(e) { return e.split(":")[0] }).join(",") } return e.prototype.create = function(t, r) { var n; null != r ? n = r : null != e._this && (n = e._this); var i = "" , a = ""; null != n && "StiReport" == n.constructor.ssTypeName && (n.dictionary.variables.list.forEach(function(e) { i += "let " + e.name.stimulsoft.replaceAll(" ", "_").stimulsoft.replaceAll(".", "_").stimulsoft.replaceAll(":", "_") + ' = this.getVariable("' + e.name + '");\r\n' }), i += "\r\n", n.dictionary.dataSources.list.forEach(function(e, t) { i += "let " + e.name.stimulsoft.replaceAll(" ", "_") + " = this.dictionary.dataSources.getByIndex(" + t.toString() + ");\r\n" }), i += "\r\n", a += ";\r\n\r\n", n.dictionary.variables.list.forEach(function(e) { a += 'this.setVariable("' + e.name + '", ' + e.name.stimulsoft.replaceAll(" ", "_").stimulsoft.replaceAll(".", "_").stimulsoft.replaceAll(":", "_") + ");\r\n" })); var o = "try{\r\n" + ' let scriptComponents = "let __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 += "let " + component.name.stimulsoft.replaceAll(" ", "_").stimulsoft.replaceAll(".", "_").stimulsoft.replaceAll(":", "_") + " = __report__components__.getByIndex(" + index.toString() + ");\\r\\n";\r\n' + " });\r\n" + ' let script = "' + (i + t + a).stimulsoft.replaceAll('"', '\\"').stimulsoft.replaceAll("\r", "\\r").stimulsoft.replaceAll("\n", "\\n") + '";\r\n' + ' let 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" + "}" , s = new Function(this.args,o); return null != n && (s = s.bind(n)), s } , e.create = function(t, r) { return e.handler.create(t, r) } , e.handler = new e("sender: any, e: EventArgs"), e }(); e.EventHandler = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function(e) { function t(t, r) { var n = e.call(this, t) || this; return n.innerException = r, n } return __extends(t, e), t }(Error); e.Exception = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e(e) { this.id = e.toLowerCase() } return e.newGuid = function() { return new e(e.s4() + e.s4() + "-" + e.s4() + "-" + e.s4() + "-" + e.s4() + "-" + e.s4() + e.s4() + e.s4()) } , e.s4 = function() { return Math.floor(65536 * (1 + Math.random())).toString(16).substring(1) } , e.prototype.toString = function() { return this.id } , Object.defineProperty(e, "empty", { get: function() { return new e("00000000-0000-0000-0000-000000000000") }, enumerable: !0, configurable: !0 }), e.compareTo = function(e) { return this.toString().localeCompare(e.toString()) } , e }(); e.Guid = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.ICloneable = "ICloneable" }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IComparable = "IComparable" }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IFormatProvider = "IFormatProvider" }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.decode = function(e) { return JSON.parse(e) } , t.encode = function(e) { return JSON.stringify(e) } , t.stiPopulateObject = function(r, n) { var i, a; if (e.StiObject.isNullOrUndefined(r) || r.stimulsoft.is(String) || r.stimulsoft.is(Number) || r.stimulsoft.is(Boolean) || r.stimulsoft.is(Function)) return; if (e.StiObject.isNullOrUndefined(n) || n.stimulsoft.is(String) || n.stimulsoft.is(Number) || n.stimulsoft.is(Boolean) || n.stimulsoft.is(Function)) return; var o = e.StiObject.getOwnPropertyNames(r); try { for (var s = __values(o), u = s.next(); !u.done; u = s.next()) { var l = u.value; n.hasOwnProperty(l) && (e.StiObject.isNullOrUndefined(n[l]) || n[l].stimulsoft.is(String) || n[l].stimulsoft.is(Number) || n[l].stimulsoft.is(Boolean) ? n[l] = r[l] : t.stiPopulateObject(r[l], n[l])) } } catch (e) { i = { error: e } } finally { try { u && !u.done && (a = s.return) && a.call(s) } finally { if (i) throw i.error } } } , t }(); e.JSON2 = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})), Math.round2 = function(e, t) { if (!t) return Math.round(e); var r = e < 0 ? -1 : 1; return r < 0 && (e = Math.abs(e)), t = Math.pow(10, t), Math.round(e * t) / t * 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 e > 0 ? 1 : -1 } , Math.log10 = function(e) { return Math.log(e) / Math.LN10 } ; var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e[e.ToEven = 0] = "ToEven", e[e.AwayFromZero = 1] = "AwayFromZero" }(t = e.MidpointRounding || (e.MidpointRounding = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})), Object.defineProperty(Object.prototype, "stimulsoft", { get: function() { return new Stimulsoft.System.StiObject(this.valueOf()) }, set: function() {} }), Object.saveAs = function(e, t, r) { if (void 0 === r && (r = "application/octet-stream"), !e) return; e.stimulsoft.is(Array) && (e = new Uint8Array(e)); var n = new Blob([e],{ type: r }); Object.internalSaveAs(n, t) } , Object.hasOwnProperty("internalSaveAs") || Object.defineProperty(Object, "internalSaveAs", { value: function(e) { if (void 0 === e) return null; if ("undefined" != typeof navigator && /MSIE [1-9]\./.test(navigator.userAgent)) return null; var t = e.document , r = function() { return e.webkitURL || e.URL || e } , n = t.createElementNS("http://www.w3.org/1999/xhtml", "a") , i = "download"in n , a = function(e) { var t = new MouseEvent("click"); e.dispatchEvent(t) } , o = e.webkitRequestFileSystem , s = e.requestFileSystem || o || e.mozRequestFileSystem , u = function(t) { (e.setImmediate || e.setTimeout)(function() { throw t }, 0) } , l = "application/octet-stream" , m = 0 , y = 500 , d = function(t) { var n = function() { "string" == typeof t ? r().revokeObjectURL(t) : t.remove() }; e.chrome ? n() : setTimeout(n, y) } , f = function(e, t, r) { t = [].concat(t); var n = t.length; while (n--) { var i = e["on" + t[n]]; if ("function" == typeof i) try { i.call(e, r || e) } catch (e) { Stimulsoft.System.StiError.showError(e.message, !1), u(e) } } } , h = 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 } , c = function(t, u, y) { var c = this; y || (t = h(t)); var p = this, M = t.type, b = !1, g, v, S = function() { f(c, "writestart progress write writeend".split(" "), void 0) }, w = function() { if (b || !g) try { g = r().createObjectURL(t) } catch (e) { g = r() } if (v) v.location.href = g; else { var n = e.open(g, "_blank") , i = i || void 0; void 0 == n && void 0 !== i && (e.location.href = g) } c.readyState = c.DONE, S(), d(g) }, N = function(e) { return function() { if (this.readyState !== this.DONE) return e.apply(this, arguments) } }, I = { create: !0, exclusive: !1 }, j; if (p.readyState = p.INIT, u || (u = "download"), i) { try { g = r().createObjectURL(t) } catch (e) { g = r() } return n.href = g, n.download = u, void setTimeout(function() { a(n), S(), d(g), c.readyState = c.DONE }) } if (e.chrome && M && M !== l && (j = t.slice || t.webkitSlice, t = j.call(t, 0, t.size, l), b = !0), o && "download" !== u && (u += ".download"), (M === l || o) && (v = e), !s) return void w(); m += t.size, s(e.TEMPORARY, m, N(function(e) { e.root.getDirectory("saved", I, N(function(e) { var r = function() { e.getFile(u, I, N(function(e) { e.createWriter(N(function(r) { r.onwriteend = function(t) { v.location.href = e.toURL(), this.readyState = this.DONE, f(this, "writeend", t), d(e) } , r.onerror = function() { var e = r.error; e.code !== e.ABORT_ERR && w() } , "writestart progress write abort".split(" ").forEach(function(e) { r["on" + e] = this["on" + e] }), r.write(t), this.abort = function() { r.abort(), this.readyState = this.DONE } , this.readyState = this.WRITING }), w) }), w) }; e.getFile(u, { create: !1 }, N(function(e) { e.remove(), r() }), N(function(e) { e.code === e.NOT_FOUND_ERR ? r() : w() })) }), w) }), w) } , p = c.prototype , M = function(e, t, r) { return new c(e,t,r) }; if ("undefined" != typeof navigator && navigator.msSaveOrOpenBlob) return function(e, t, r) { return r || (e = h(e)), navigator.msSaveOrOpenBlob(e, t || "download") } ; return p.abort = function() { var e = this; e.readyState = e.DONE, f(e, "abort", void 0) } , p.readyState = p.INIT = 0, p.WRITING = 1, p.DONE = 2, p.error = p.onwritestart = p.onprogress = p.onwrite = p.onabort = p.onerror = p.onwriteend = null, M }("undefined" != typeof self && self || void 0 !== window && window || this.content), enumerable: !1 }), Object.disableAllEnumerable = function() { for (var e in {}) Object.defineProperty(Object.prototype, e, { enumerable: !1 }) } , Object.disableAllEnumerable(); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e(e, t, r) { this._length = 1, this.arg0 = e, t && (this.arg1 = t, this._length = 2), r && (this.arg2 = r, this._length = 3) } return Object.defineProperty(e.prototype, "length", { get: function() { return this._length }, enumerable: !0, configurable: !0 }), e.prototype.get = function(e) { return 0 == e ? this.arg0 : 1 == e ? this.arg1 : this.arg2 } , e }(); e.ParamsArray = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.StiString , n = function() { function t() { return } return Object.defineProperty(t.prototype, "rangeName", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "rangeType", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "fromObject", { get: function() { return null }, set: function(e) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "toObject", { get: function() { return null }, set: function(e) {}, enumerable: !0, configurable: !0 }), t.prototype.parse = function(t, n) { if (this.rangeType == e.System.Char) r.isNullOrEmpty(t) || (this.fromObject = t[0]), r.isNullOrEmpty(n) || (this.toObject = n[0]); else if (this.rangeType == e.System.DateTime) try { r.isNullOrEmpty(t.trim()) ? this.fromObject = null : this.fromObject = new e.System.DateTime(Date.parse(t)), r.isNullOrEmpty(n.trim()) ? this.toObject = null : this.toObject = new e.System.DateTime(Date.parse(n)) } catch (t) { e.System.StiError.showError(t, !1) } else if (this.rangeType == e.System.TimeSpan) try { r.isNullOrEmpty(t.trim()) ? this.fromObject = null : this.fromObject = e.System.TimeSpan.fromString(t), r.isNullOrEmpty(n.trim()) ? this.toObject = null : this.toObject = e.System.TimeSpan.fromString(n) } catch (t) { e.System.StiError.showError(t, !1) } else if (this.rangeType == e.System.Decimal) try { r.isNullOrEmpty(t.trim()) ? this.fromObject = 0 : this.fromObject = t.stimulsoft.toNumber(), r.isNullOrEmpty(n.trim()) ? this.toObject = 0 : this.toObject = n.stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1) } else if (this.rangeType == e.System.Single) try { r.isNullOrEmpty(t.trim()) ? this.fromObject = 0 : this.fromObject = t.stimulsoft.toNumber(), r.isNullOrEmpty(n.trim()) ? this.toObject = 0 : this.toObject = n.stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1) } else if (this.rangeType == e.System.Double) try { r.isNullOrEmpty(t.trim()) ? this.fromObject = 0 : this.fromObject = t.stimulsoft.toNumber(), r.isNullOrEmpty(n.trim()) ? this.toObject = 0 : this.toObject = n.stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1) } else if (this.rangeType == e.System.Byte) try { r.isNullOrEmpty(t.trim()) ? this.fromObject = 0 : this.fromObject = t.stimulsoft.toNumber(!1), r.isNullOrEmpty(n.trim()) ? this.toObject = 0 : this.toObject = n.stimulsoft.toNumber(!1) } catch (t) { e.System.StiError.showError(t, !1) } else if (this.rangeType == e.System.Int16) try { r.isNullOrEmpty(t.trim()) ? this.fromObject = 0 : this.fromObject = t.stimulsoft.toNumber(!1), r.isNullOrEmpty(n.trim()) ? this.toObject = 0 : this.toObject = n.stimulsoft.toNumber(!1) } catch (t) { e.System.StiError.showError(t, !1) } else if (this.rangeType == e.System.Int32) try { r.isNullOrEmpty(t.trim()) ? this.fromObject = 0 : this.fromObject = t.stimulsoft.toNumber(!1), r.isNullOrEmpty(n.trim()) ? this.toObject = 0 : this.toObject = n.stimulsoft.toNumber(!1) } catch (t) { e.System.StiError.showError(t, !1) } else if (this.rangeType == e.System.Int64) try { r.isNullOrEmpty(t.trim()) ? this.fromObject = 0 : this.fromObject = t.stimulsoft.toNumber(!1), r.isNullOrEmpty(n.trim()) ? this.toObject = 0 : this.toObject = n.stimulsoft.toNumber(!1) } catch (t) { e.System.StiError.showError(t, !1) } else if (this.rangeType == e.System.Guid) try { this.fromObject = new e.System.Guid(t), this.toObject = new e.System.Guid(n) } catch (t) { e.System.StiError.showError(t, !1) } else this.rangeType == String && (this.fromObject = t, this.toObject = n) } , t.prototype.equals = function(e) { var r = e.stimulsoft.as(t); if (null == r) return !1; return this.fromObject == r.fromObject && 0 == this.fromObject.stimulsoft.compareTo(r.fromObject) && 0 == this.toObject.stimulsoft.compareTo(r.toObject) } , Object.defineProperty(t.prototype, "fromStrLoc", { get: function() { if (e.Base) return e.Base.Localization.StiLocalization.get("PropertyMain", "RangeFrom"); return "From" }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "toStrLoc", { get: function() { if (e.Base) return e.Base.Localization.StiLocalization.get("PropertyMain", "RangeTo"); return "To" }, enumerable: !0, configurable: !0 }), t.prototype.getHashCode = function() { return null } , t }(); t.Range = n; var i = function(t) { function r(e, r) { var n = t.call(this) || this; return n.from = "A", n.to = "Z", null != e && (n.from = e), null != r && (n.to = r), n } return __extends(r, t), Object.defineProperty(r.prototype, "rangeName", { get: function() { return "CharRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeType", { get: function() { return e.System.Char }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromObject", { get: function() { return this.from }, set: function(e) { null != e && e.stimulsoft.is(String) && (this.from = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toObject", { get: function() { return this.to }, set: function(e) { null != e && e.stimulsoft.is(String) && (this.to = e) }, enumerable: !0, configurable: !0 }), r.prototype.contains = function(e) { return this.from <= e && this.to >= e } , r }(n); t.CharRange = i; var a = function(t) { function n(e, r) { var n = t.call(this) || this; return n.from = null, n.to = null, null != e && (n.from = e), null != r && (n.to = r), n } return __extends(n, t), Object.defineProperty(n.prototype, "rangeName", { get: function() { return "DateTimeRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "rangeType", { get: function() { return e.System.DateTime }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "fromObject", { get: function() { return this.from }, set: function(t) { null != t && t.stimulsoft.is(e.System.DateTime) && (this.from = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "toObject", { get: function() { return this.to }, set: function(t) { null != t && t.stimulsoft.is(e.System.DateTime) && (this.to = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "fromDate", { get: function() { if (null == this.from) return e.System.DateTime.minValue; return this.from }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "toDate", { get: function() { if (null == this.to) return e.System.DateTime.maxValue; return this.to }, enumerable: !0, configurable: !0 }), n.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 } , n.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) } , n }(n); t.DateTimeRange = a; var o = function(t) { function r(e, r) { var n = t.call(this) || this; return n.from = null, n.to = null, null != e && (n.from = e), null != r && (n.to = r), n } return __extends(r, t), Object.defineProperty(r.prototype, "rangeName", { get: function() { return "TimeSpanRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeType", { get: function() { return e.System.TimeSpan }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromObject", { get: function() { return this.from }, set: function(t) { null != t && t.stimulsoft.is(e.System.TimeSpan) && (this.from = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toObject", { get: function() { return this.to }, set: function(t) { null != t && t.stimulsoft.is(e.System.TimeSpan) && (this.to = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromTime", { get: function() { if (null == this.from) return e.System.TimeSpan.minValue; return this.from }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toTime", { get: function() { if (null == this.to) return e.System.TimeSpan.maxValue; return this.to }, enumerable: !0, configurable: !0 }), r.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 } , r }(n); t.TimeSpanRange = o; var s = function(t) { function r(e, r) { var n = t.call(this) || this; return n.from = 0, n.to = 0, null != e && (n.from = e), null != r && (n.to = r), n } return __extends(r, t), Object.defineProperty(r.prototype, "rangeName", { get: function() { return "DecimalRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeType", { get: function() { return e.System.Decimal }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromObject", { get: function() { return this.from }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.from = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toObject", { get: function() { return this.to }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.to = e) }, enumerable: !0, configurable: !0 }), r.prototype.contains = function(e) { return this.from <= e && this.to >= e } , r }(n); t.DecimalRange = s; var u = function(t) { function r(e, r) { var n = t.call(this) || this; return n.from = 0, n.to = 0, null != e && (n.from = e), null != r && (n.to = r), n } return __extends(r, t), Object.defineProperty(r.prototype, "rangeName", { get: function() { return "FloatRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeType", { get: function() { return e.System.Single }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromObject", { get: function() { return this.from }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.from = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toObject", { get: function() { return this.to }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.to = e) }, enumerable: !0, configurable: !0 }), r.prototype.contains = function(e) { return this.from <= e && this.to >= e } , r }(n); t.FloatRange = u; var l = function(t) { function r(e, r) { var n = t.call(this) || this; return n.from = 0, n.to = 0, null != e && (n.from = e), null != r && (n.to = r), n } return __extends(r, t), Object.defineProperty(r.prototype, "rangeName", { get: function() { return "DoubleRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeType", { get: function() { return e.System.Double }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromObject", { get: function() { return this.from }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.from = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toObject", { get: function() { return this.to }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.to = e) }, enumerable: !0, configurable: !0 }), r.prototype.contains = function(e) { return this.from <= e && this.to >= e } , r }(n); t.DoubleRange = l; var m = function(t) { function r(e, r) { var n = t.call(this) || this; return n.from = 0, n.to = 0, null != e && (n.from = e), null != r && (n.to = r), n } return __extends(r, t), Object.defineProperty(r.prototype, "rangeName", { get: function() { return "ByteRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeType", { get: function() { return e.System.Byte }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromObject", { get: function() { return this.from }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.from = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toObject", { get: function() { return this.to }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.to = e) }, enumerable: !0, configurable: !0 }), r.prototype.contains = function(e) { return this.from <= e && this.to >= e } , r }(n); t.ByteRange = m; var y = function(t) { function r(e, r) { var n = t.call(this) || this; return n.from = 0, n.to = 0, null != e && (n.from = e), null != r && (n.to = r), n } return __extends(r, t), Object.defineProperty(r.prototype, "rangeName", { get: function() { return "ShortRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeType", { get: function() { return e.System.Int16 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromObject", { get: function() { return this.from }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.from = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toObject", { get: function() { return this.to }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.to = e) }, enumerable: !0, configurable: !0 }), r.prototype.contains = function(e) { return this.from <= e && this.to >= e } , r }(n); t.ShortRange = y; var d = function(t) { function r(e, r) { var n = t.call(this) || this; return n.from = 0, n.to = 0, null != e && (n.from = e), null != r && (n.to = r), n } return __extends(r, t), Object.defineProperty(r.prototype, "rangeName", { get: function() { return "IntRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeType", { get: function() { return e.System.Int32 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromObject", { get: function() { return this.from }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.from = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toObject", { get: function() { return this.to }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.to = e) }, enumerable: !0, configurable: !0 }), r.prototype.contains = function(e) { return this.from <= e && this.to >= e } , r }(n); t.IntRange = d; var f = function(t) { function r(e, r) { var n = t.call(this) || this; return n.from = 0, n.to = 0, null != e && (n.from = e), null != r && (n.to = r), n } return __extends(r, t), Object.defineProperty(r.prototype, "rangeName", { get: function() { return "LongRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeType", { get: function() { return e.System.Int64 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromObject", { get: function() { return this.from }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.from = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toObject", { get: function() { return this.to }, set: function(e) { null != e && e.stimulsoft.is(Number) && (this.to = e) }, enumerable: !0, configurable: !0 }), r.prototype.contains = function(e) { return this.from <= e && this.to >= e } , r }(n); t.LongRange = f; var h = function(t) { function r(r, n) { var i = t.call(this) || this; return i.from = e.System.Guid.empty, i.to = e.System.Guid.empty, null != r && (i.from = r), null != n && (i.to = n), i } return __extends(r, t), Object.defineProperty(r.prototype, "rangeName", { get: function() { return "GuidRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeType", { get: function() { return e.System.Guid }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fromObject", { get: function() { return this.from }, set: function(t) { null != t && t.stimulsoft.is(e.System.Guid) && (this.from = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "toObject", { get: function() { return this.to }, set: function(t) { null != t && t.stimulsoft.is(e.System.Guid) && (this.to = t) }, enumerable: !0, configurable: !0 }), r.prototype.contains = function(e) { return this.from.stimulsoft.compareTo(e) <= 0 && this.to.stimulsoft.compareTo(e) >= 0 } , r }(n); t.GuidRange = h; var c = function(e) { function t(t, r) { var n = e.call(this) || this; return n.from = "", n.to = "", null != t && (n.from = t), null != r && (n.to = r), n } return __extends(t, e), Object.defineProperty(t.prototype, "rangeName", { get: function() { return "StringRange" }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "rangeType", { get: function() { return String }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "fromObject", { get: function() { return this.from }, set: function(e) { null != e && e.stimulsoft.is(String) && (this.from = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "toObject", { get: function() { return this.to }, set: function(e) { null != e && e.stimulsoft.is(String) && (this.to = e) }, enumerable: !0, configurable: !0 }), t.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 this.to.stimulsoft.compareTo(e.toString()) >= 0; if (null != this.from && null == this.to) return this.from.stimulsoft.compareTo(e.toString()) <= 0; return this.from.stimulsoft.compareTo(e.toString()) <= 0 && this.to.stimulsoft.compareTo(e.toString()) >= 0 } , t }(n); t.StringRange = c }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() { 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" }] } return e.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 }(); e.ResourceManager = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = function() { function t() {} return t.showError = function(r, n) { void 0 === n && (n = !0); var i = r; null != r && null != r.message && (i = r.message), n && t.errorMessageForm && t.errorMessageForm.show(i, !1), e.System.NodeJs.consoleLog && console.log(i) } , t }(); t.StiError = r }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() { this._timeout = -1, this._callTry = !1, this._callCatch = !1, this._callFinaly = !1, this._callTimeout = !0, this.promise = this, this.assignFunction = !1, this._catchFunctions = [], this.nextPromises = [], this._startTime = Date.now(), this._tryFunctions = [] } return e.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 } , e.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 } , e.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 } , e.prototype.this = function(e) { return this._this = e, this } , e.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 } , e.prototype.callTry = function(e) { var t, r; if (void 0 === e && (e = null), this.returnValue = e, this._tryFunctions.length > 0) { clearTimeout(this.timeoutHanderId); try { for (var n = __values(this._tryFunctions), i = n.next(); !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 } , e.prototype.callCatch = function(e) { var t, r; if (void 0 === e && (e = null), this._catchArgument = e, this._catchFunctions.length > 0) { clearTimeout(this.timeoutHanderId); try { for (var n = __values(this._catchFunctions), i = n.next(); !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) } , e.prototype.callFinally = function(e) { this._callFinaly = !1, this._callTimeout = !1, this._finalyArgument = e, this._finallyFunction ? this._finallyFunction(this._finalyArgument) : this._callFinaly = !0 } , e.prototype.callTimeout = function() { if (-1 != this._timeout && Date.now() - this._startTime > this._timeout) throw new Error("") } , e.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(); !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 } , e.prototype.onAbort = function(e) { this.abortFunction = e } , e }(); e.StiPromise = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.StringComparison || (e.StringComparison = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e(e) { void 0 === e && (e = "#"), this.numberSymbol = e, this.isValid = !0 } return e.prototype.formatValue = function(e, t) { for (var r = "", n = 0, i = e.length, a = 0; a < i; a++) { e.charAt(a) == this.numberSymbol ? r += t.charAt(n++) : r += e.charAt(a) } return r } , e }(); e.SwitchSymbolFormatter = t }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.TypeCode || (e.TypeCode = {})) }(t = e.System || (e.System = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.TypeCode , n = function() { function r() {} return r.getTypes = function() { return null == r.types && (r.types = [a, o, t.Char, t.DateTime, t.TimeSpan, s, u, t.Guid, m, y, h, d, f, c, Object, p, M, g, w, b, v, S, N, e.System.Drawing.Image, j, k, _, T, D, F, P, O, C, H, x, E, B, L, R, W, J, q, z, G, U, K, V, Y, X, Z, Q, $, ee, te, re, ne, ie, ae, se, ue, le, me, ye, de, fe, he, ce, pe, Me, be, ge, Number, Array, Boolean, String]), r.types } , r.isValueType = function(r) { return r == Boolean || r == a || r == t.Char || r == t.DateTime || r == t.TimeSpan || r == Number || r == l || r == s || r == u || r == t.Guid || r == y || r == d || r == f || r == Object || r == p || r == M || r == String || r == g || r == v || r == S || r == e.System.Drawing.Image || r == j || r == k || r == _ || r == T || r == D || r == F || r == P || r == O || r == H || r == E || r == B || r == R || r == W || r == J || r == G || r == K } , r }(); t.TypeHelper = n; var i = function() { function e() {} return e.prototype.apply = function(e, t) { return null } , e.prototype.call = function(e) { for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; return null } , e.prototype.bind = function(e) { for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; return null } , e.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__ ? e.__proto__.constructor : Object.getPrototypeOf(e).constructor } , e.getTypeName = function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() } , e.getTypeCode = function(n) { switch (e.getType(n)) { case Object: return r.Object; case Boolean: return r.Boolean; case t.Char: return r.Char; case p: return r.SByte; case a: return r.Byte; case y: return r.Int16; case g: return r.UInt16; case d: return r.Int32; case v: return r.UInt32; case f: return r.Int64; case S: return r.UInt64; case M: return r.Single; case u: return r.Double; case Number: case s: return r.Decimal; case t.DateTime: return r.DateTime; case String: return r.String } return r.Empty } , e.isNumericType = function(e) { if (null == e) return !1; if (p == e) return !0; if (a == e) return !0; if (h == e) return !0; if (w == e) return !0; if (m == e || y == e || d == e || f == e) return !0; if (b == e || g == e || v == e || S == e) return !0; if (c == e) return !0; if (N == e) return !0; if (l == e) return !0; if (u == e) return !0; if (s == e) return !0; if (Number == e) return !0; return !1 } , e.isIntegerType = function(e) { if (null == e) return !1; if (p == e) return !0; if (a == e) return !0; if (h == e) return !0; if (w == e) return !0; if (m == e || y == e || d == e || f == e) return !0; if (b == e || g == e || v == e || S == e) return !0; if (c == e) return !0; if (N == e) return !0; return !1 } , e.isDateType = function(e) { if (null == e) return !1; return e == t.DateTime || e == t.TimeSpan } , e.getHashCode = function(e) { return 0 } , e }(); t.Type = i, i.prototype = Function.prototype; var a = function() { function e() {} return e }(); t.Byte = a; var o = function() { function e() {} return e.getNetTypeName = function() { return "Byte[]" } , e }(); t.ByteArray = o; var s = function() { function e() {} return e }(); t.Decimal = s; var u = function() { function e() {} return e }(); t.Double = u; var l = function() { function e() {} return e }(); t.Float = l; var m = function() { function e() {} return e }(); t.Int = m; var y = function() { function e() {} return e }(); t.Int16 = y; var d = function() { function e() {} return e }(); t.Int32 = d; var f = function() { function e() {} return e }(); t.Int64 = f; var h = function() { function e() {} return e }(); t.Short = h; var c = function() { function e() {} return e }(); t.Long = c; var p = function() { function e() {} return e }(); t.SByte = p; var M = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t }(Number); t.Single = M; var b = function() { function e() {} return e }(); t.UInt = b; var g = function() { function e() {} return e }(); t.UInt16 = g; var v = function() { function e() {} return e }(); t.UInt32 = v; var S = function() { function e() {} return e }(); t.UInt64 = S; var w = function() { function e() {} return e }(); t.UShort = w; var N = function() { function e() {} return e }(); t.ULong = N; var I = function() { function e() {} return e }(); t.Nullable = I; var j = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Boolean]" } , t }(I); t.NullableBoolean = j; var k = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Byte]" } , t }(I); t.NullableByte = k; var _ = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Char]" } , t }(I); t.NullableChar = _; var T = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.DateTime]" } , t }(I); t.NullableDateTime = T; var D = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.TimeSpan]" } , t }(I); t.NullableTimeSpan = D; var F = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Decimal]" } , t }(I); t.NullableDecimal = F; var P = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Double]" } , t }(I); t.NullableDouble = P; var A = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Float]" } , t }(I); t.NullableFloat = A; var O = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Guid]" } , t }(I); t.NullableGuid = O; var C = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Int]" } , t }(I); t.NullableInt = C; var H = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Int16]" } , t }(I); t.NullableInt16 = H; var E = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Int32]" } , t }(I); t.NullableInt32 = E; var B = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Int64]" } , t }(I); t.NullableInt64 = B; var x = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Short]" } , t }(I); t.NullableShort = x; var L = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Long]" } , t }(I); t.NullableLong = L; var R = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.SByte]" } , t }(I); t.NullableSByte = R; var W = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.Single]" } , t }(I); t.NullableSingle = W; var z = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.UInt]" } , t }(I); t.NullableUInt = z; var J = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.UInt16]" } , t }(I); t.NullableUInt16 = J; var G = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.UInt32]" } , t }(I); t.NullableUInt32 = G; var K = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.UInt64]" } , t }(I); t.NullableUInt64 = K; var q = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.UShort]" } , t }(I); t.NullableUShort = q; var U = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "Nullable`1" } , t.getNetTypeName = function() { return "System.Nullable`1[System.ULong]" } , t }(I); t.NullableULong = U; var V = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "ByteRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.ByteRange" } , t }(e.Report.ByteRange); t.StimulsoftByteRange = V; var Y = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "CharRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.CharRange" } , t }(e.Report.CharRange); t.StimulsoftCharRange = Y; var X = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "DateTimeRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.DateTimeRange" } , t }(e.Report.DateTimeRange); t.StimulsoftDateTimeRange = X; var Z = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "DecimalRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.DecimalRange" } , t }(e.Report.DecimalRange); t.StimulsoftDecimalRange = Z; var Q = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "DoubleRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.DoubleRange" } , t }(e.Report.DoubleRange); t.StimulsoftDoubleRange = Q; var $ = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "FloatRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.FloatRange" } , t }(e.Report.FloatRange); t.StimulsoftFloatRange = $; var ee = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "GuidRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.GuidRange" } , t }(e.Report.GuidRange); t.StimulsoftGuidRange = ee; var te = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "IntRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.IntRange" } , t }(e.Report.IntRange); t.StimulsoftIntRange = te; var re = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "LongRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.LongRange" } , t }(e.Report.LongRange); t.StimulsoftLongRange = re; var ne = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "ShortRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.ShortRange" } , t }(e.Report.ShortRange); t.StimulsoftShortRange = ne; var ie = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "StringRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.StringRange" } , t }(e.Report.StringRange); t.StimulsoftStringRange = ie; var ae = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "TimeSpanRange" } , t.getNetTypeName = function() { return "Stimulsoft.Report.TimeSpanRange" } , t }(e.Report.TimeSpanRange); t.StimulsoftTimeSpanRange = ae; var oe = function() { function e() {} return e }(); t.StimulsoftList = oe; var se = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "BoolList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.BoolList" } , t }(oe); t.StimulsoftBoolList = se; var ue = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "ByteList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.ByteList" } , t }(oe); t.StimulsoftByteList = ue; var le = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "CharList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.CharList" } , t }(oe); t.StimulsoftCharList = le; var me = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "DateTimeList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.DateTimeList" } , t }(oe); t.StimulsoftDateTimeList = me; var ye = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "DecimalList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.DecimalList" } , t }(oe); t.StimulsoftDecimalList = ye; var de = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "DoubleList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.DoubleList" } , t }(oe); t.StimulsoftDoubleList = de; var fe = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "FloatList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.FloatList" } , t }(oe); t.StimulsoftFloatList = fe; var he = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "GuidList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.GuidList" } , t }(oe); t.StimulsoftGuidList = he; var ce = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "IntList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.IntList" } , t }(oe); t.StimulsoftIntList = ce; var pe = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "LongList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.LongList" } , t }(oe); t.StimulsoftLongList = pe; var Me = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "ShortList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.ShortList" } , t }(oe); t.StimulsoftShortList = Me; var be = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "StringList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.StringList" } , t }(oe); t.StimulsoftStringList = be; var ge = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.getTypeName = function() { return "TimeSpanList" } , t.getNetTypeName = function() { return "Stimulsoft.Report.TimeSpanList" } , t }(oe); t.StimulsoftTimeSpanList = ge }(t = e.System || (e.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 e = function(t, r) { return (e = 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]) } )(t, r) }; return function(t, r) { function i() { this.constructor = t } e(t, r), t.prototype = null === r ? Object.create(r) : (i.prototype = r.prototype, new i) } }(), __read = this && this.__read || function(e, t) { var r = "function" == typeof Symbol && e[Symbol.iterator]; if (!r) return e; var i = r.call(e), n, o = [], a; try { while ((void 0 === t || t-- > 0) && !(n = i.next()).done) o.push(n.value) } catch (e) { a = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (a) throw a.error } } return o } , __spread = this && this.__spread || function() { for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(__read(arguments[t])); return e } , Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Color , i = e.System.Drawing.FontStyle , n = function() { function t(e, t, i, n) { void 0 === n && (n = !1), this.SelectedColor = r.white, this.Name = e, this.Size = t, this.Color = i, this.IsBold = n } return t.prototype.getGdiFont = function(t, r, n) { if (void 0 === t && (t = 1), void 0 === r && (r = null), void 0 === n && (n = null), null != n) return new e.System.Drawing.Font(n.fontFamily.name,null != r ? r * t : n.size * t,n.style); var o = this.IsBold ? i.Bold : i.Regular; return new e.System.Drawing.Font(this.Name,null != r ? r * t : this.Size * t,o) } , t.prototype.getCachedGdiFont = function() { return null == this.cachedFont && (this.cachedFont = this.getGdiFont()), this.cachedFont } , t }() , o = function() { function e() {} return e.font = new n("Arial",12,r.fromArgb(255, 140, 140, 140)), e }() , a = function() { function e() {} return e.color = r.fromArgb(255, 43, 87, 154), e.darkColor = r.fromArgb(255, 91, 135, 202), e }() , s = function() { function e() {} return e.font = new n("Arial",8,r.dimGray), e }() , l = function() { function e() {} return e.checkColor = r.gray, e.indeterminateCheckColor = r.lightGray, e.selectedBorderColor = r.white, e.selectedIndeterminateCheckColor = r.white, e }() , u = function() { function e() {} return e.TitleFont = new n("Arial",12,r.gray), e.ForegroundColor = r.dimGray, e.BackgroundColor = r.white, e.TreeView = { ItemHeight: 32 }, e.ComboBox = { ItemHeight: 32 }, e.ListBox = { ItemHeight: 32, CheckBoxWidth: 20 }, e.Table = { Font: new n("Arial",10,r.black), BorderColor: r.gainsboro, Height: 28, getHeight: function(t, r) { return void 0 === r && (r = 1), Math.max(e.Table.Height * r, t.getHeight() * r * .8) }, Header: { BackgroundColor: r.fromArgb(255, 240, 240, 240) } }, e }(); t.StiElementConsts = u }(r = t.Dashboard || (t.Dashboard = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.StiString , i = e.System.IO.StreamReader , n = e.System.IO.MemoryStream , o = e.System.Text.Encoding , a = e.System.Data.DataColumn , s = e.System.Data.DataTable , l = e.System.Data.DataSet , u = e.System.Collections.Hashtable , c = function() { function c() {} return c.getTable = function(t, r, i) { return void 0 === r && (r = 0), void 0 === i && (i = null), this.getTable2(e.System.IO.File.getFile(t, !0), r, i) } , c.getDataSet = function(e, i, n, o) { var a = this.getTable2(e, n, o); if (null == a) return null; a.tableName = r.isNullOrWhiteSpace(i) ? t.StiFileItemTable.defaultCsvTableName : i; var s = new l; return s.enforceConstraints = !1, s.tables.add(a), s } , c.getTable2 = function(e, l, c, d) { var h, m; void 0 === l && (l = 0), void 0 === c && (c = null), void 0 === d && (d = !0); var f = new n(e) , p = r.isNullOrEmpty(c) ? ";" : c , S = p[0] , g = null; 0 != l && (g = 1 == l ? o.Default : o.getEncoding(l)); var y = null == g ? new i(f) : new i(f,g) , v = null , b = y.readLine(); if (null != b && b.length > 0) { var C = { ref: b }; if (v = this.splitToColumns(C, y, S), b = C.ref, r.isNullOrEmpty(c) && 1 == v.length) { var T = { ref: b }; if (v = this.splitToColumns(T, y, "\t"), b = T.ref, v.length > 1) S = "\t"; else { var w = { ref: b }; if (v = this.splitToColumns(w, y, ";"), b = w.ref, v.length > 1) S = ";"; else { var D = { ref: b }; v = this.splitToColumns(D, y, ","), b = D.ref, v.length > 1 && (S = ",") } } } } var P = new u; if (null != v) for (var x = 0; x < v.length; x++) { var B = v[x].trim(); 0 == B.length && (B = r.format("Column{0}", x + 1)), B = t.StiDataNameValidator.correct(B); var L = "" , N = 0; while (!0) { if (!P.contains(B + L)) break; N++, L = N.toString() } B += L, v[x] = B, P.add(B, B) } var F = new s(t.StiFileItemTable.defaultCsvTableName); if (null != v) try { for (var A = __values(v), R = A.next(); !R.done; R = A.next()) { var k = R.value , O = String , M = new a(k,O); F.columns.add(M) } } catch (e) { h = { error: e } } finally { try { R && !R.done && (m = A.return) && m.call(A) } finally { if (h) throw h.error } } if (d && null != v) while (null != (b = y.readLine())) { 0 == b.length && (b = r.fill(S, v.length - 1)); var C = { ref: b } , E = this.splitToColumns(C, y, S); b = C.ref; var H = F.newRow() , I = Math.min(H.columns.length, E.length); F.rows.add(H); for (var z = 0; z < I; z++) H.setValueByIndex(z, E[z]) } return F } , c.splitToColumns = function(e, t, r) { var i = e.ref , n = [] , o = "" , a = 0 , s = !1; while (a < i.length) { var l = i[a]; if (a++, '"' == l && (s = !s), l == r && !s) { n.add(o), o = ""; continue } if (o += l, a == i.length && s) { var u = t.readLine(); null != u && (i += "\n" + u) } } n.add(o); for (var c = 0; c < n.length; c++) { var d = n[c]; d.length > 1 && d.stimulsoft.startsWith('"') && d.stimulsoft.endsWith('"') && (n[c] = d.substr(1, d.length - 2).replace('""', '"')) } return e.ref = i, n } , c.codePageCodes = [0, 1, 65e3, 65001, 1200, 1250, 1251, 1252, 1253, 1254, 1255, 1256], c.codePageNames = ["Default", "System", "UTF7", "UTF8", "Unicode", "1250", "1251", "1252", "1253", "1254", "1255", "1256"], c }(); t.StiCsvHelper = c }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Char , i = function() { function e() {} return e.correct = function(e) { for (var t = e, i = 0; i < t.length; i++) r.isLetterOrDigit(t[i]) || "_" == t[i] || (t = t.substr(0, i) + "_" + t.substr(i + 1)); return e = t, e.length > 0 && r.isDigit(e[0]) && (e = "n" + e), e } , e }(); t.StiDataNameValidator = i }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.defaultCsvTableName = "CSV-Table", e.defaultDBaseTableName = "DBase-Table", e }(); e.StiFileItemTable = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Collections.List , i = e.System.StiString , n = function() { function n(e) { this.urlBase = "https://api.data.world/v0/", this.connectionString = e } return n.prototype.getDefaultWebClient = function() { var e = {}; return 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 } } , e } , n.prototype.getTableNames = function() { var e, t, i = this.getDefaultWebClient(), n = "SELECT * FROM Tables", o = "sql/" + this.owner + "/" + this.database + "?query=" + encodeURIComponent(n), a = this.urlBase + o, s = i.downloadString(a, this.token), l = JSON.parse(s), u = new r; try { for (var c = __values(l.stimulsoft.value), d = c.next(); !d.done; d = c.next()) { var h = d.value; u.add(h.tableId) } } catch (t) { e = { error: t } } finally { try { d && !d.done && (t = c.return) && t.call(c) } finally { if (e) throw e.error } } return u } , n.prototype.getColumns = function(e) { var i, n, o = this.getDataTable(e, "select * from " + e + " limit 29"), a = new r; if (null != o) try { for (var s = __values(o.columns.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; a.add(new t.StiDataColumnSchema(u.columnName,u.dataType)) } } catch (e) { i = { error: e } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return a } , n.prototype.getDataTable = function(r, n) { try { var o = "sql/" + this.owner + "/" + this.database; i.isNullOrEmpty(n) && (n = "select * from " + r); var a = this.urlBase + o + "?query=" + encodeURIComponent(n) , s = this.getDefaultWebClient() , l = s.downloadString(a, this.token) , u = t.StiJsonToDataSetConverter.getDataSet(l); return null != u && u.tables.count > 0 ? u.tables.list[0].copy() : null } catch (t) { throw e.System.StiError.showError(t, !1), t } } , n.prototype.testConnection = function() { try { var r = this.getDefaultWebClient() , i = this.urlBase + "users/" + this.owner , n = r.downloadString(i, this.token) } catch (r) { return e.System.StiError.showError(r, !1), t.StiTestConnectionResult.makeWrong(r.message) } return t.StiTestConnectionResult.makeFine() } , n.prototype.retrieveSchema = function() { var e, r; if (i.isNullOrEmpty(this.connectionString)) return null; var n = new t.StiDataSchema(t.StiConnectionIdent.DataWorldDataSource); try { var o = this.getTableNames(); try { for (var a = __values(o), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = t.StiDataTableSchema.newTable(l); try { var c = this.getColumns(l); null != c && (u.columns = c) } catch (e) {} n.tables.add(u) } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (e) throw e.error } } return n.sort() } catch (e) { return null } } , n.prototype.getConnectionStringKey = function(e) { if (i.isNullOrWhiteSpace(this.connectionString)) return null; var t = this.connectionString.split(new RegExp(";|,")).stimulsoft.toList() , r = t.firstOrDefault(function(t) { return t.toLowerCase().stimulsoft.startsWith(e.toLowerCase()) }); if (null == r) return null; var n = r.split("="); if (2 != n.length) return null; var o = n[1]; return o.stimulsoft.startsWith('"') && o.stimulsoft.endsWith('"') && (o = o.substr(0, o.length - 2)), o } , n.prototype.getConnectionStringKey1 = function() { if (i.isNullOrWhiteSpace(this.connectionString)) return null; return this.connectionString.split(new RegExp(";|,")).toList().firstOrDefault(function(e) { return !e.stimulsoft.contains("=") }) } , Object.defineProperty(n.prototype, "owner", { get: function() { return this.getConnectionStringKey("Owner") }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "token", { get: function() { return this.getConnectionStringKey("Token") }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "database", { get: function() { return this.getConnectionStringKey("Database") }, enumerable: !0, configurable: !0 }), n }(); t.StiDataWorldHelper = n }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function t(e) { this.connectionString = e } return t.prototype.getColumns = function(t) { return new e.StiDataWorldHelper(this.connectionString).getColumns(t) } , t.prototype.getDataTable = function(t, r) { return new e.StiDataWorldHelper(this.connectionString).getDataTable(t, r) } , t.prototype.getSampleConnectionString = function() { return "Owner=;Database=;Token=" } , t.prototype.retrieveSchema = function(t) { return void 0 === t && (t = !1), new e.StiDataWorldHelper(this.connectionString).retrieveSchema() } , t.prototype.testConnection = function() { return new e.StiDataWorldHelper(this.connectionString).testConnection() } , t.get = function(e) { return new t(e) } , t }(); e.StiDataWorldConnector = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.StiObjectSchema = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Collections.List , i = e.System.Data.DataRelation , n = e.System.Data.DataColumn , o = e.System.Data.DataSet , a = e.System.Data.DataTable , s = function(s) { function l(e) { void 0 === e && (e = t.StiConnectionIdent.Unspecified); var i = s.call(this) || this; return i.connectionIdent = e, i.tables = new r, i.views = new r, i.queries = new r, i.storedProcedures = new r, i.relations = new r, i } return __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 t = new o; return null != this.tables && this.tables.forEach(function(e) { var r = new a(e.name); e.columns.forEach(function(e) { r.columns.add(new n(e.name,e.type)) }), t.tables.add(r) }), null != this.views && this.views.forEach(function(e) { var r = new a(e.name); e.columns.forEach(function(e) { r.columns.add(new n(e.name,e.type)) }), t.tables.add(r) }), null != this.storedProcedures && this.storedProcedures.forEach(function(e) { var r = new a(e.name); e.columns.forEach(function(e) { r.columns.add(new n(e.name,e.type)) }), t.tables.add(r) }), null != this.queries && this.queries.forEach(function(e) { var r = new a(e.name); e.columns.forEach(function(e) { r.columns.add(new n(e.name,e.type)) }), t.tables.add(r) }), null != this.relations && this.relations.forEach(function(r) { var n, o, a, s; try { var l = t.tables.getByName(r.parentSourceName) , u = t.tables.getByName(r.childSourceName); if (null == l || null == u) return; var c = [] , d = []; try { for (var h = __values(r.parentColumns), m = h.next(); !m.done; m = h.next()) { var f = m.value , p = l.columns.getByName(f); if (null == p) return; c.add(p) } } catch (e) { n = { error: e } } finally { try { m && !m.done && (o = h.return) && o.call(h) } finally { if (n) throw n.error } } try { for (var S = __values(r.childColumns), g = S.next(); !g.done; g = S.next()) { var f = g.value , p = u.columns.getByName(f); if (null == p) return; d.add(p) } } catch (e) { a = { error: e } } finally { try { g && !g.done && (s = S.return) && s.call(S) } finally { if (a) throw a.error } } t.relations.add(new i(r.name,c.toArray(),d.toArray())) } catch (t) { e.System.StiError.showError(t, !1) } }), t } , 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 } , l }(t.StiObjectSchema); t.StiDataSchema = s }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.StiString , i = e.System.Collections.Hashtable , n = e.System.Xml.XmlConverter , o = e.System.Xml.XmlNode , a = function() { function a(e) { this.connectionString = e } return Object.defineProperty(a.prototype, "address", { get: function() { var e = null != this.getConnectionStringKey("Address") ? this.getConnectionStringKey("Address") : this.getConnectionStringKey1(); return null != e ? e : this.connectionString }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "userName", { get: function() { return this.getConnectionStringKey("UserName") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "password", { get: function() { return this.getConnectionStringKey("Password") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "addressBearer", { get: function() { return this.getConnectionStringKey("AddressBearer") }, enumerable: !0, configurable: !0 }), a.prototype.getConnectionStringKey = function(e) { if (r.isNullOrWhiteSpace(this.connectionString)) return null; var t = this.connectionString.split(new RegExp(";|,")).stimulsoft.toList() , i = t.firstOrDefault(function(t) { return t.toLowerCase().stimulsoft.startsWith(e.toLowerCase()) }); if (null == i) return null; var n = i.split("="); if (2 != n.length) return null; var o = n[1]; return o.stimulsoft.startsWith('"') && o.stimulsoft.endsWith('"') && (o = o.substr(0, o.length - 2)), o } , a.prototype.getConnectionStringKey1 = function() { if (r.isNullOrWhiteSpace(this.connectionString)) return null; return this.connectionString.split(new RegExp(";|,")).toList().firstOrDefault(function(e) { return !e.stimulsoft.contains("=") }) } , a.prototype.retrieveSchema = function() { var s, l, u, c, d, h, m, f, p, S, g, y, v, b, C, T, w, D, P, x, B, L, N, F, A, R; if (r.isNullOrEmpty(this.connectionString)) return null; var k = new t.StiDataSchema(t.StiConnectionIdent.ODataDataSource); try { var O = this.getDefaultWebClient() , M = O.downloadString(t.StiUrl.combine([this.address, "$metadata"]), this.userName, this.password, this.bearerAccessToken) , E = n.toXml(M) , H = new i , I = new i; try { for (var z = __values(E.getNodeByName("edmx:DataServices").childNodes), W = z.next(); !W.done; W = z.next()) { var G = W.value , j = null != G.getAttribute("Namespace") ? G.getAttribute("Namespace") : null; try { for (var V = (u = void 0, __values(G.childNodes.where(function(e) { return "EntityType" == e.localName || "ComplexType" == e.localName }))), X = V.next(); !X.done; X = V.next()) { var q = X.value; try { var U = q.stimulsoft.as(o) , Y = U.getAttribute("Name") , Z = null != U.getAttribute("BaseType") ? U.getAttribute("BaseType") : null; if (r.isNullOrWhiteSpace(Y)) continue; var J = U.getNodesByName("Property") , K = new t.StiDataTableSchema(Y,Y); if (null != Z) { var Q = Z.stimulsoft.replaceAll(j + ".", ""); I.set(Q, K) } if (null != J) try { for (var _ = (d = void 0, __values(J)), $ = _.next(); !$.done; $ = _.next()) { var ee = $.value; try { var te = ee.getAttribute("Name"); if (r.isNullOrWhiteSpace(te)) continue; var re = null != ee.getAttribute("Nullable") && "true" == ee.getAttribute("Nullable") , ie = ee.getAttribute("Type") , ne = a.getNetType(ie) , oe = new t.StiDataColumnSchema(te,ne); K.columns.add(oe) } catch (t) { e.System.StiError.showError(t, !1) } } } catch (e) { d = { error: e } } finally { try { $ && !$.done && (h = _.return) && h.call(_) } finally { if (d) throw d.error } } H.set(j + "." + K.name, K) } catch (t) { e.System.StiError.showError(t, !1) } try { for (var ae = (m = void 0, __values(I.keys)), se = ae.next(); !se.done; se = ae.next()) { var le = se.value , ue = le , K = I.get(ue) , ce = void 0; try { for (var de = (p = void 0, __values(k.tables)), he = de.next(); !he.done; he = de.next()) { var me = he.value; if (me.name == ue) { ce = me; break } } } catch (e) { p = { error: e } } finally { try { he && !he.done && (S = de.return) && S.call(de) } finally { if (p) throw p.error } } if (null == ce) continue; try { for (var fe = (g = void 0, __values(ce.columns)), pe = fe.next(); !pe.done; pe = fe.next()) { var Se = pe.value , ge = !0; try { for (var ye = (v = void 0, __values(K.columns)), ve = ye.next(); !ve.done; ve = ye.next()) { var oe = ve.value; if (Se.name == oe.name) { ge = !1; break } } } catch (e) { v = { error: e } } finally { try { ve && !ve.done && (b = ye.return) && b.call(ye) } finally { if (v) throw v.error } } K.columns.add(Se) } } catch (e) { g = { error: e } } finally { try { pe && !pe.done && (y = fe.return) && y.call(fe) } finally { if (g) throw g.error } } } } catch (e) { m = { error: e } } finally { try { se && !se.done && (f = ae.return) && f.call(ae) } finally { if (m) throw m.error } } } } catch (e) { u = { error: e } } finally { try { X && !X.done && (c = V.return) && c.call(V) } finally { if (u) throw u.error } } try { for (var be = (C = void 0, __values(G.childNodes.where(function(e) { return "EntityContainer" == e.localName }))), Ce = be.next(); !Ce.done; Ce = be.next()) { var Te = Ce.value; try { for (var we = (w = void 0, __values(Te.childNodes.where(function(e) { return "EntitySet" == e.localName }))), De = we.next(); !De.done; De = we.next()) { var Pe = De.value; try { var xe = Pe.getAttribute("Name") , Be = Pe.getAttribute("EntityType"); if (r.isNullOrWhiteSpace(xe)) continue; var K = new t.StiDataTableSchema(xe,xe) , Le = H.get(Be); null != Le && K.columns.addRange(Le.columns), k.tables.add(K) } catch (t) { e.System.StiError.showError(t, !1) } try { for (var Ne = (P = void 0, __values(I.keys)), Fe = Ne.next(); !Fe.done; Fe = Ne.next()) { var le = Fe.value , ue = le , K = I.get(ue) , ce = void 0; try { for (var Ae = (B = void 0, __values(k.tables)), Re = Ae.next(); !Re.done; Re = Ae.next()) { var me = Re.value; if (me.name == ue) { ce = me; break } } } catch (e) { B = { error: e } } finally { try { Re && !Re.done && (L = Ae.return) && L.call(Ae) } finally { if (B) throw B.error } } if (null == ce) continue; try { for (var ke = (N = void 0, __values(ce.columns)), Oe = ke.next(); !Oe.done; Oe = ke.next()) { var Se = Oe.value , ge = !0; try { for (var Me = (A = void 0, __values(K.columns)), Ee = Me.next(); !Ee.done; Ee = Me.next()) { var oe = Ee.value; if (Se.name == oe.name) { ge = !1; break } } } catch (e) { A = { error: e } } finally { try { Ee && !Ee.done && (R = Me.return) && R.call(Me) } finally { if (A) throw A.error } } K.columns.add(Se) } } catch (e) { N = { error: e } } finally { try { Oe && !Oe.done && (F = ke.return) && F.call(ke) } finally { if (N) throw N.error } } } } catch (e) { P = { error: e } } finally { try { Fe && !Fe.done && (x = Ne.return) && x.call(Ne) } finally { if (P) throw P.error } } } } catch (e) { w = { error: e } } finally { try { De && !De.done && (D = we.return) && D.call(we) } finally { if (w) throw w.error } } } } catch (e) { C = { error: e } } finally { try { Ce && !Ce.done && (T = be.return) && T.call(be) } finally { if (C) throw C.error } } } } catch (e) { s = { error: e } } finally { try { W && !W.done && (l = z.return) && l.call(z) } finally { if (s) throw s.error } } return k } catch (t) { throw e.System.StiError.showError(t, !1), t } } , a.prototype.fillDataTable = function(i, o) { var a, s, l, u, c, d; if (r.isNullOrEmpty(this.connectionString)) return; try { var h = this.getDefaultWebClient() , m = t.StiUrl.combine([this.address, o]) , f = h.downloadString(m, this.userName, this.password, this.bearerAccessToken); if (f.trim().stimulsoft.startsWith(" 0) { var h = []; try { for (var m = __values(d), f = m.next(); !f.done; f = m.next()) { var p = f.value; if (p && p.toLowerCase().stimulsoft.endsWith(t)) { var S = e + n.getSep() + p; h.push(new o(n.getFileNameWithoutExtension(S),i.getFile(S, a))) } } } catch (e) { l = { error: e } } finally { try { f && !f.done && (u = m.return) && u.call(m) } finally { if (l) throw l.error } } return h } return null } , e.loadSingle = function(e, t, r) { return new o(n.getFileNameWithoutExtension(e),i.getFile(e, t, "", r)) } , e }(); t.StiDataLoaderHelper = a }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.StiString , i = function() { function t() {} return t.get = function(t) { if (r.isNullOrWhiteSpace(t)) return null; var i = null; return i = e.System.IO.File.getFile(t, !0) } , t }(); t.StiFileUrlHelper = i }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.makeWrong = function(t) { var r = new e; return r.success = !1, r.notice = t, r } , e.makeWrong2 = function(t) { var r = new e; return r.success = !1, r.notice = t, r } , e.makeWrong3 = function() { var t = new e; return t.success = !1, t } , e.makeFine = function() { var t = new e; return t.success = !0, t } , e }(); e.StiTestConnectionResult = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function(e) { function t(t, r) { void 0 === t && (t = null), void 0 === r && (r = null); var i = e.call(this) || this; return i.name = t, i.type = r, i } return __extends(t, e), t }(e.StiObjectSchema); e.StiDataColumnSchema = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function(e) { function t(t, r) { void 0 === t && (t = null), void 0 === r && (r = null); var i = e.call(this) || this; return i.name = t, i.type = r, i } return __extends(t, e), t }(e.StiObjectSchema); e.StiDataParameterSchema = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.StiDataRelationSchema = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function(e) { function t(t, r) { void 0 === t && (t = null), void 0 === r && (r = null); var i = e.call(this) || this; return i.columns = [], i.parameters = [], i.name = t, i.query = r, i } return __extends(t, e), t.newTableOrView = function(e) { return this.newTable(e) } , t.newTable = function(e) { return new t(e) } , t.newView = function(e) { return new t(e) } , t.newProcedure = function(e) { return new t(e) } , t }(e.StiObjectSchema); e.StiDataTableSchema = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Xml = 0] = "Xml", e[e.Json = 1] = "Json" }(t = e.StiDataFormatType || (e.StiDataFormatType = {})); var r; !function(e) { e[e.KeyInfo = 0] = "KeyInfo", e[e.SchemaOnly = 1] = "SchemaOnly", e[e.FillSchema = 2] = "FillSchema" }(r = e.StiRetrieveColumnsMode || (e.StiRetrieveColumnsMode = {})); var i; !function(e) { e[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.Unspecified = 29] = "Unspecified" }(i = e.StiConnectionIdent || (e.StiConnectionIdent = {})); var n; !function(e) { e[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.Unspecified = 0] = "Unspecified" }(n = e.StiConnectionOrder || (e.StiConnectionOrder = {})); var o; !function(e) { e[e.Unknown = 1] = "Unknown", e[e.ReportSnapshot = 2] = "ReportSnapshot", e[e.Pdf = 3] = "Pdf", e[e.Xps = 4] = "Xps", e[e.PowerPoint = 5] = "PowerPoint", e[e.Html = 6] = "Html", e[e.Text = 7] = "Text", e[e.RichText = 8] = "RichText", e[e.Word = 9] = "Word", e[e.OpenDocumentWriter = 10] = "OpenDocumentWriter", e[e.Excel = 11] = "Excel", e[e.OpenDocumentCalc = 12] = "OpenDocumentCalc", e[e.Data = 13] = "Data", e[e.Image = 14] = "Image", e[e.Xml = 15] = "Xml", e[e.Xsd = 16] = "Xsd", e[e.Csv = 17] = "Csv", e[e.Dbf = 18] = "Dbf", e[e.Sylk = 19] = "Sylk", e[e.Dif = 20] = "Dif", e[e.Json = 21] = "Json" }(o = e.StiFileType || (e.StiFileType = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiBIDataCache = "IStiBIDataCache" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Exception , i = function() { function e() {} return e.checkInitialization = function() { if (null == t.StiBIDataCacheOptions.cache) throw new r("The StiBIDataCacheHelper.Cache property is not initialized!") } , e.exists = function(e) { return this.checkInitialization(), t.StiBIDataCacheOptions.cache.exists2(e) } , e.remove = function(e) { this.checkInitialization(), t.StiBIDataCacheOptions.cache.remove(e) } , e.clean = function(e) { this.checkInitialization(), t.StiBIDataCacheOptions.cache.clean(e) } , e.cleanAll = function() { this.checkInitialization(), t.StiBIDataCacheOptions.cache.cleanAll() } , e.getTableCount = function() { return this.checkInitialization(), t.StiBIDataCacheOptions.cache.getTableCount() } , e.getRowCount = function(e) { return this.checkInitialization(), t.StiBIDataCacheOptions.cache.getRowCount(e) } , e.runQuery = function(e) { return this.checkInitialization(), t.StiBIDataCacheOptions.cache.runQuery(e) } , e.get = function(e, r) { return void 0 === r && (r = !1), this.checkInitialization(), r ? t.StiBIDataCacheOptions.cache.getData(e) : t.StiBIDataCacheOptions.cache.getSchema(e) } , e.add = function(e, r, i) { var n = t.StiAppKey.getOrGeneratedKey2(e); this.add2(n, r, i) } , e.add2 = function(e, r, i) { this.checkInitialization(), t.StiBIDataCacheOptions.cache.add(e, r, i) } , e.getTableName = function(e, r) { return t.StiBIDataCacheOptions.cache.getTableName(e, r) } , e }(); t.StiBIDataCacheHelper = i }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.StiBIDataCacheOptions = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiDefault = "IStiDefault" }(t = e.Design || (e.Design = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Unchecked = 1] = "Unchecked", e[e.Checked = 2] = "Checked", e[e.Indeterminate = 3] = "Indeterminate" }(t = e.StiCheckState || (e.StiCheckState = {})); var r; !function(e) { e[e.None = 0] = "None", e[e.Move = 1] = "Move", e[e.Select = 2] = "Select", e[e.SizeLeft = 3] = "SizeLeft", e[e.SizeRight = 4] = "SizeRight", e[e.SizeTop = 5] = "SizeTop", e[e.SizeBottom = 6] = "SizeBottom", e[e.SizeLeftTop = 7] = "SizeLeftTop", e[e.SizeLeftBottom = 8] = "SizeLeftBottom", e[e.SizeRightTop = 9] = "SizeRightTop", e[e.SizeRightBottom = 10] = "SizeRightBottom", e[e.ResizeColumns = 11] = "ResizeColumns", e[e.ResizeRows = 12] = "ResizeRows", e[e.SelectColumn = 13] = "SelectColumn", e[e.SelectRow = 14] = "SelectRow" }(r = e.StiAction || (e.StiAction = {})); var i; !function(e) { e[e.None = 0] = "None", e[e.All = 15] = "All", e[e.Top = 1] = "Top", e[e.Left = 2] = "Left", e[e.Right = 4] = "Right", e[e.Bottom = 8] = "Bottom" }(i = e.StiBorderSides || (e.StiBorderSides = {})); var n; !function(e) { e[e.Solid = 0] = "Solid", e[e.Dash = 1] = "Dash", e[e.DashDot = 2] = "DashDot", e[e.DashDotDot = 3] = "DashDotDot", e[e.Dot = 4] = "Dot", e[e.Double = 5] = "Double", e[e.None = 6] = "None" }(n = e.StiPenStyle || (e.StiPenStyle = {})); var o; !function(e) { e[e.LeftTop = 0] = "LeftTop", e[e.LeftCenter = 1] = "LeftCenter", e[e.LeftBottom = 2] = "LeftBottom", e[e.CenterTop = 3] = "CenterTop", e[e.CenterCenter = 4] = "CenterCenter", e[e.CenterBottom = 5] = "CenterBottom", e[e.RightTop = 6] = "RightTop", e[e.RightCenter = 7] = "RightCenter", e[e.RightBottom = 8] = "RightBottom" }(o = e.StiRotationMode || (e.StiRotationMode = {})); var a; !function(e) { e[e.Top = 1] = "Top", e[e.Right = 2] = "Right", e[e.Edge = 4] = "Edge", e[e.Bottom = 8] = "Bottom", e[e.Left = 16] = "Left", e[e.All = 31] = "All" }(a = e.StiShadowSides || (e.StiShadowSides = {})); var s; !function(e) { e[e.Top = 0] = "Top", e[e.Center = 1] = "Center", e[e.Bottom = 2] = "Bottom" }(s = e.StiVertAlignment || (e.StiVertAlignment = {})); var l; !function(e) { e[e.Left = 0] = "Left", e[e.Center = 1] = "Center", e[e.Right = 2] = "Right", e[e.Width = 3] = "Width" }(l = e.StiTextHorAlignment || (e.StiTextHorAlignment = {})); var u; !function(e) { e[e.Left = 1] = "Left", e[e.Center = 2] = "Center", e[e.Right = 3] = "Right" }(u = e.StiHorAlignment || (e.StiHorAlignment = {})); var c; !function(e) { e[e.Top = 0] = "Top", e[e.Bottom = 1] = "Bottom", e[e.Left = 2] = "Left", e[e.Right = 3] = "Right" }(c = e.StiTextDockMode || (e.StiTextDockMode = {})); var d; !function(e) { e[e.Empty = 1] = "Empty", e[e.Solid = 2] = "Solid", e[e.Gradient = 3] = "Gradient", e[e.Glare = 4] = "Glare", e[e.Glass = 5] = "Glass", e[e.Hatch = 6] = "Hatch" }(d = e.StiBrushIdent || (e.StiBrushIdent = {})); var h; !function(e) { e[e.Border = 1] = "Border", e[e.AdvancedBorder = 2] = "AdvancedBorder" }(h = e.StiBorderIdent || (e.StiBorderIdent = {})); var m; !function(e) { e[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" }(m = e.StiCapStyle || (e.StiCapStyle = {})) }(t = e.Drawing || (e.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { t.PointD = e.System.Drawing.Point }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { t.RectangleD = e.System.Drawing.Rectangle }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { t.SizeD = e.System.Drawing.Size }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.pointInEdge = function(e, t, r, i) { var n = Math.round2(r.x, 2) , o = Math.round2(r.y, 2) , a = Math.round2(e, 2) , s = Math.round2(t, 2) , l = Math.round2(i, 2); return n - l <= a && o - l <= s && n + l >= a && o + l >= s } , e.pointInRect = function(e, t, r) { var i = Math.round2(r.left, 2) , n = Math.round2(r.top, 2) , o = Math.round2(r.right, 2) , a = Math.round2(r.bottom, 2) , s = Math.round2(e, 2) , l = Math.round2(t, 2); return i <= s && n <= l && a > l && o > s } , e }(); e.StiActionUtils = t }(t = e.Drawing || (e.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiObject , i = e.System.ICloneable , n = e.System.Drawing.Color , o = e.System.Drawing.SolidBrush , a = e.System.Enum , s = e.System.Drawing.Drawing2D.HatchStyle , l = e.System.Text.StiReportObjectStringConverter , u = function() { function u() {} return u.prototype.implements = function() { return [i] } , u.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , u.prototype.equals = function(e) { if (r.referenceEquals(null, e)) return !1; if (r.referenceEquals(this, e)) return !0; return !1 } , u.convertToBrush = function(r) { if (r.stimulsoft.startsWith("[") && r.stimulsoft.endsWith("]")) return new t.StiSolidBrush(l.convertStringToColor(r)); if ("EmptyBrush" == r) return new t.StiEmptyBrush; if (r.stimulsoft.startsWith("HatchBrush")) { var i = r.split(","); return new t.StiHatchBrush(a.parse(s, i[1]),l.convertStringToColor(i[2]),l.convertStringToColor(i[3])) } if (r.stimulsoft.startsWith("GradientBrush")) { var i = r.split(","); return new t.StiGradientBrush(l.convertStringToColor(i[1]),l.convertStringToColor(i[2]),i[3].stimulsoft.toNumber()) } if (r.stimulsoft.startsWith("GlassBrush")) { var i = r.split(","); return new t.StiGlassBrush(l.convertStringToColor(i[1]),"true" == i[2].toLowerCase(),i[3].stimulsoft.toNumber()) } if (r.stimulsoft.startsWith("GlareBrush")) { var i = r.split(","); return new t.StiGlareBrush(l.convertStringToColor(i[1]),l.convertStringToColor(i[2]),i[3].stimulsoft.toNumber(),i[4].stimulsoft.toNumber(),i[5].stimulsoft.toNumber()) } return new t.StiSolidBrush(e.System.Text.StiReportObjectStringConverter.convertStringToColor(r)) } , u.loadFromXml = function(e) { if ("EmptyBrush" == e) return new t.StiEmptyBrush; if (e.stimulsoft.startsWith("HatchBrush")) { var r = e.split(","); return new t.StiHatchBrush(a.parse(s, r[1]),l.convertStringToColor(r[2]),l.convertStringToColor(r[3])) } if (e.stimulsoft.startsWith("GradientBrush")) { var r = e.split(","); return new t.StiGradientBrush(l.convertStringToColor(r[1]),l.convertStringToColor(r[2]),r[3].stimulsoft.toNumber()) } if (e.stimulsoft.startsWith("GlassBrush")) { var r = e.split(","); return new t.StiGlassBrush(l.convertStringToColor(r[1]),"true" == r[2].toLowerCase(),r[3].stimulsoft.toNumber()) } if (e.stimulsoft.startsWith("GlareBrush")) { var r = e.split(","); return new t.StiGlareBrush(l.convertStringToColor(r[1]),l.convertStringToColor(r[2]),r[3].stimulsoft.toNumber(),r[4].stimulsoft.toNumber(),r[5].stimulsoft.toNumber()) } return new t.StiSolidBrush(l.convertStringToColor(e)) } , u.light = function(e, r) { if (e && e.stimulsoft.is(t.StiSolidBrush)) return new t.StiSolidBrush(t.StiColorUtils.light(e.color, r)); if (e && e.stimulsoft.is(t.StiGradientBrush)) { var i = e; return new t.StiGradientBrush(t.StiColorUtils.light(i.startColor, r),t.StiColorUtils.light(i.endColor, r),i.angle) } if (e && e.stimulsoft.is(t.StiHatchBrush)) { var n = e; return new t.StiHatchBrush(n.style,t.StiColorUtils.light(n.foreColor, r),t.StiColorUtils.light(n.backColor, r)) } if (e && e.stimulsoft.is(t.StiGlareBrush)) { var o = e; return new t.StiGlareBrush(t.StiColorUtils.light(o.startColor, r),t.StiColorUtils.light(o.endColor, r),o.angle) } if (e && e.stimulsoft.is(t.StiGlassBrush)) { var a = e; return new t.StiGlassBrush(t.StiColorUtils.light(a.color, r),a.drawHatch,a.blend) } return e } , u.dark = function(e, r) { if (e && e.stimulsoft.is(t.StiSolidBrush)) return new t.StiSolidBrush(t.StiColorUtils.dark(e.color, r)); if (e && e.stimulsoft.is(t.StiGradientBrush)) { var i = e; return new t.StiGradientBrush(t.StiColorUtils.dark(i.startColor, r),t.StiColorUtils.dark(i.endColor, r),i.angle) } if (e && e.stimulsoft.is(t.StiHatchBrush)) { var n = e; return new t.StiHatchBrush(n.style,t.StiColorUtils.dark(n.foreColor, r),t.StiColorUtils.dark(n.backColor, r)) } if (e && e.stimulsoft.is(t.StiGlareBrush)) { var o = e; return new t.StiGlareBrush(t.StiColorUtils.dark(o.startColor, r),t.StiColorUtils.dark(o.endColor, r),o.angle) } if (e && e.stimulsoft.is(t.StiGlassBrush)) { var a = e; return new t.StiGlassBrush(t.StiColorUtils.dark(a.color, r),a.drawHatch,a.blend) } return e } , u.getBrush = function(e, r) { if (e.stimulsoft.is(t.StiEmptyBrush)) return new o(n.transparent); if (e.stimulsoft.is(t.StiSolidBrush)) return new o(e.color); return e.stimulsoft.is(t.StiGradientBrush) || e.stimulsoft.is(t.StiHatchBrush) || e.stimulsoft.is(t.StiGlareBrush) || e.stimulsoft.is(t.StiGlassBrush), null } , u.toColor = function(e) { if (e && e.stimulsoft.is(t.StiEmptyBrush)) return n.transparent; if (e && e.stimulsoft.is(t.StiSolidBrush)) return e.color; if (e && e.stimulsoft.is(t.StiGradientBrush)) return e.startColor; if (e && e.stimulsoft.is(t.StiGlareBrush)) return e.startColor; if (e && e.stimulsoft.is(t.StiGlassBrush)) return e.color; if (e && e.stimulsoft.is(t.StiHatchBrush)) return e.foreColor; return n.empty } , u }(); t.StiBrush = u }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Color , i = function(e) { function t(t) { void 0 === t && (t = r.transparent); var i = e.call(this) || this; return i._color = t, i } return __extends(t, e), Object.defineProperty(t.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), t }(t.StiBrush); t.StiSolidBrush = i }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiObject , i = e.System.Drawing.Rectangle , n = e.System.Drawing.Color , o = e.System.ICloneable , a = e.System.Enum , s = e.System.Drawing.Pen , l = e.System.Drawing.Drawing2D.LineCap , u = e.System.Text.StiReportObjectStringConverter , c = function() { function e(e, r, i, n, o, a, s) { this.side = t.StiBorderSides.None, this.size = 1, this.style = t.StiPenStyle.Solid, this.shadowSize = 4, this.dropShadow = !1, this.topmost = !1, this.side = e, this.color = r, this.size = i, this.style = n, this.shadowSize = o, this.dropShadow = a, this.topmost = s } return e.prototype.clone = function() { return new e(this.side,this.color,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost) } , e.prototype.equals = function(t) { if (r.referenceEquals(null, t)) return !1; if (r.referenceEquals(this, t)) return !0; var i = t.stimulsoft.as(e); return null != i && this.side == i.side && this.color.stimulsoft.equals(i.color) && this.size.stimulsoft.equals(i.size) && this.style == i.style && this.shadowSize.stimulsoft.equals(i.shadowSize) && this.topmost == i.topmost && this.dropShadow == i.dropShadow } , e.prototype.getHashCode = function() { var e = this.side; return e = 397 * e ^ this.color.stimulsoft.getHashCode(), e = 397 * e ^ this.size.stimulsoft.getHashCode(), e = 397 * e ^ this.style, e = 397 * e ^ this.shadowSize.stimulsoft.getHashCode(), e = 397 * e ^ this.topmost.stimulsoft.getHashCode(), e = 397 * e ^ this.dropShadow.stimulsoft.getHashCode(), Math.abs(e) } , e.isDefault = function(r, i, o, a, s, l, u) { if (r.stimulsoft.is(e) && (i = r.color, o = r.size, a = r.style, s = r.dropShadow, l = r.shadowSize, u = r.topmost, r = r.side), i.stimulsoft.equals(n.black) && !s && !u && 4 == l && r == t.StiBorderSides.None && 1 == o && a == t.StiPenStyle.Solid) return !0; return !1 } , e }() , d = function() { function e(e, r, i, o, a, s, l, u) { void 0 === e && (e = t.StiBorderSides.None), void 0 === r && (r = n.black), void 0 === i && (i = 1), void 0 === o && (o = t.StiPenStyle.Solid), void 0 === a && (a = !1), void 0 === s && (s = 4), void 0 === l && (l = new t.StiSolidBrush(n.black)), void 0 === u && (u = !1), this.bits = null, this.defaultHashCode = this.stimulsoft.getHashCode(), c.isDefault(e, r, i, o, a, s, u) ? this.bits = null : this.bits = new c(e,r,i,o,s,a,u), this._shadowBrush = l } return e.prototype.implements = function() { return [o] } , e.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return null != e._shadowBrush ? e._shadowBrush = this._shadowBrush.clone() : e._shadowBrush = null, null != this.bits && (c.isDefault(this.bits) ? e.bits = null : e.bits = this.bits.clone()), e } , e.prototype.equals = function(t) { if (r.referenceEquals(null, t)) return !1; if (r.referenceEquals(this, t)) return !0; var i = t.stimulsoft.as(e); return null != i && r.stimulsoft.equals(this.bits, i.bits) && r.stimulsoft.equals(this._shadowBrush, i._shadowBrush) } , e.prototype.getSizeOffset = function() { return this.size / 2 } , e.prototype.getHashCode = function() { return 397 * (397 * this.defaultHashCode ^ (null != this.bits ? this.bits.stimulsoft.getHashCode() : 0)) ^ (null != this._shadowBrush ? this._shadowBrush.stimulsoft.getHashCode() : 0) } , e.prototype.getSizeIncludingSide = function() { if (this.style == t.StiPenStyle.None) return 0; if (this.style == t.StiPenStyle.Double) return 3; if (this.side == t.StiBorderSides.None) return 0; return this.size } , e.prototype.draw = function(e, r, i, o, a, u) { if (void 0 === o && (o = n.white), void 0 === a && (a = !0), void 0 === u && (u = !0), null == this.bits) return; if (this.isDefault) return; if (a && this.drawBorderShadow(e, r, i), u) { var c = null , d = new s(this.bits.color); if (this.bits.style == t.StiPenStyle.Double && (c = new s(o)), d.dashStyle = t.StiPenUtils.getPenStyle(this.bits.style), this.bits.style != t.StiPenStyle.None) { d.width = Math.trunc(this.bits.size * i), d.startCap = l.Square, d.endCap = l.Square; var h = r.clone() , m = r.clone(); this.bits.style == t.StiPenStyle.Double && (h.inflate(-1, -1), m.inflate(1, 1), d.width = 1); var f = 0 , p = 0 , S = 0 , g = 0; this.isAllBorderSidesPresent ? this.bits.style == t.StiPenStyle.Double ? (e.drawRectangle(c, r), e.drawRectangle(d, h), e.drawRectangle(d, m)) : e.drawRectangle(d, r) : (this.isTopBorderSidePresent && (f = h.left, p = h.right, this.isLeftBorderSidePresent || (f = m.left), this.isRightBorderSidePresent || (p = m.right), this.bits.style == t.StiPenStyle.Double ? (e.drawLine(c, r.left, r.top, r.right, r.top), e.drawLine(d, f, h.top, p, h.top), e.drawLine(d, m.left, m.top, m.right, m.top)) : e.drawLine(d, r.left, r.top, r.right, r.top)), this.isLeftBorderSidePresent && (S = h.top, g = h.bottom, this.isTopBorderSidePresent || (S = m.top), this.isBottomBorderSidePresent || (g = m.bottom), this.style == t.StiPenStyle.Double ? (e.drawLine(c, r.left, r.top, r.left, r.bottom), e.drawLine(d, h.left, S, h.left, g), e.drawLine(d, m.left, m.top, m.left, m.bottom)) : e.drawLine(d, r.left, r.top, r.left, r.bottom)), this.isBottomBorderSidePresent && (f = h.left, p = h.right, this.isLeftBorderSidePresent || (f = m.left), this.isRightBorderSidePresent || (p = m.right), this.bits.style == t.StiPenStyle.Double ? (e.drawLine(c, r.left, r.bottom, r.right, r.bottom), e.drawLine(d, f, h.bottom, p, h.bottom), e.drawLine(d, m.left, m.bottom, m.right, m.bottom)) : e.drawLine(d, r.left, r.bottom, r.right, r.bottom)), this.isRightBorderSidePresent && (S = h.top, g = h.bottom, this.isTopBorderSidePresent || (S = m.top), this.isBottomBorderSidePresent || (g = m.bottom), this.bits.style == t.StiPenStyle.Double ? (e.drawLine(c, r.right, r.top, r.right, r.bottom), e.drawLine(d, h.right, S, h.right, g), e.drawLine(d, m.right, m.top, m.right, m.bottom)) : e.drawLine(d, r.right, r.top, r.right, r.bottom))), null != c && (c = null) } } } , e.prototype.drawBorderShadow = function(e, r, n) { if (this.isDefault) return; if (null == this.bits) return; if (this.bits.dropShadow) { var o = this.bits.shadowSize * n , a = new i(r.left + o,r.top + o,r.width,r.height) , s = t.StiBrush.getBrush(this.shadowBrush, a); e.fillRectangle(s, r.right, r.top + o, o, r.height - o), e.fillRectangle(s, r.left + o, r.bottom, r.width, o) } } , Object.defineProperty(e.prototype, "isTopBorderSidePresent", { get: function() { if (null == this.bits) return !1; return 0 != (this.bits.side & t.StiBorderSides.Top) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isBottomBorderSidePresent", { get: function() { if (null == this.bits) return !1; return 0 != (this.bits.side & t.StiBorderSides.Bottom) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isLeftBorderSidePresent", { get: function() { if (null == this.bits) return !1; return 0 != (this.bits.side & t.StiBorderSides.Left) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isRightBorderSidePresent", { get: function() { if (null == this.bits) return !1; return 0 != (this.bits.side & t.StiBorderSides.Right) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isAllBorderSidesPresent", { get: function() { if (null == this.bits) return !1; return this.bits.side == t.StiBorderSides.All }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isDefaultShadowBrush", { get: function() { return this.shadowBrush.stimulsoft.is(t.StiSolidBrush) && this.shadowBrush.color.stimulsoft.equals(n.black) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "side", { get: function() { if (null == this.bits) return t.StiBorderSides.None; return this.bits.side }, set: function(e) { if (e == t.StiBorderSides.None && null == this.bits) return; null != this.bits ? this.bits.side = e : this.bits = new c(e,this.color,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "color", { get: function() { if (null == this.bits) return n.black; return this.bits.color }, set: function(e) { if (n.black.stimulsoft.equals(e) && null == this.bits) return; null != this.bits ? this.bits.color = e : this.bits = new c(this.side,e,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 c(this.side,this.color,e,this.style,this.shadowSize,this.dropShadow,this.topmost) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "style", { get: function() { if (null == this.bits) return t.StiPenStyle.Solid; return this.bits.style }, set: function(e) { if (e == t.StiPenStyle.Solid && null == this.bits) return; null != this.bits ? this.bits.style = e : this.bits = new c(this.side,this.color,this.size,e,this.shadowSize,this.dropShadow,this.topmost) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "shadowBrush", { get: function() { return this._shadowBrush }, set: function(e) { this._shadowBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 c(this.side,this.color,this.size,this.style,e,this.dropShadow,this.topmost) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 c(this.side,this.color,this.size,this.style,this.shadowSize,e,this.topmost) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 c(this.side,this.color,this.size,this.style,this.shadowSize,this.dropShadow,e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isDefault", { get: function() { return this.isDefaultShadowBrush && null == this.bits }, enumerable: !0, configurable: !0 }), e.loadFromXml = function(r) { var i = r.split(";"); if (r.stimulsoft.startsWith("Adv")) { var n = !1; return 16 == i.length && (n = "true" == i[15].toLowerCase()), new t.StiAdvancedBorder(new t.StiBorderSide(u.convertStringToColor(i[0].substring(3)),i[1].stimulsoft.toNumber(),a.parse(t.StiPenStyle, i[2])),new t.StiBorderSide(u.convertStringToColor(i[3]),i[4].stimulsoft.toNumber(),a.parse(t.StiPenStyle, i[5])),new t.StiBorderSide(u.convertStringToColor(i[6]),i[7].stimulsoft.toNumber(),a.parse(t.StiPenStyle, i[8])),new t.StiBorderSide(u.convertStringToColor(i[9]),i[10].stimulsoft.toNumber(),a.parse(t.StiPenStyle, i[11])),"true" == i[12].toLowerCase(),i[13].stimulsoft.toNumber(),t.StiBrush.convertToBrush(i[14]),n) } var n = !1; return 8 == i.length && (n = "true" == i[7].toLowerCase()), new e(a.parse(t.StiBorderSides, i[0]),u.convertStringToColor(i[1]),i[2].stimulsoft.toNumber(),a.parse(t.StiPenStyle, i[3]),"true" == i[4].toLowerCase(),i[5].stimulsoft.toNumber(),t.StiBrush.convertToBrush(i[6]),n) } , e }(); t.StiBorder = d }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiObject , i = e.System.Drawing.Color , n = function(e) { function n(r, n, o, a, s, l, u, c) { void 0 === r && (r = new t.StiBorderSide), void 0 === n && (n = new t.StiBorderSide), void 0 === o && (o = new t.StiBorderSide), void 0 === a && (a = new t.StiBorderSide), void 0 === s && (s = !1), void 0 === l && (l = 4), void 0 === u && (u = new t.StiSolidBrush(i.black)), void 0 === c && (c = !1); var d = e.call(this) || this; return d._topSide = r, d._bottomSide = n, d._leftSide = o, d._rightSide = a, d._leftSide.side = t.StiBorderSides.Left, d._rightSide.side = t.StiBorderSides.Right, d._topSide.side = t.StiBorderSides.Top, d._bottomSide.side = t.StiBorderSides.Bottom, d.shadowBrush = u, d.shadowSize = l, d.dropShadow = s, d.topmost = c, d } return __extends(n, e), n.prototype.clone = function() { var t = e.prototype.clone.call(this); return t._topSide = this._topSide.clone(), t._bottomSide = this._bottomSide.clone(), t._leftSide = this._leftSide.clone(), t._rightSide = this._rightSide.clone(), t } , n.prototype.equals = function(t) { if (r.referenceEquals(null, t)) return !1; if (r.referenceEquals(this, t)) return !0; if (t.stimulsoft.getType() != this.stimulsoft.getType()) return !1; return e.prototype.equals.call(this, t) && r.stimulsoft.equals(this._bottomSide, t._bottomSide) && r.stimulsoft.equals(this._topSide, t._topSide) && r.stimulsoft.equals(this._leftSide, t._leftSide) && r.stimulsoft.equals(this._rightSide, t._rightSide) } , n.prototype.getHashCode = function() { var t = e.prototype.getHashCode.call(this); return t = 397 * t ^ (null != this._bottomSide ? this._bottomSide.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this._topSide ? this._topSide.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this._leftSide ? this._leftSide.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this._rightSide ? this._rightSide.stimulsoft.getHashCode() : 0), Math.abs(t) } , Object.defineProperty(n.prototype, "leftSide", { get: function() { return this._leftSide }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "rightSide", { get: function() { return this._rightSide }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "topSide", { get: function() { return this._topSide }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "bottomSide", { get: function() { return this._bottomSide }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "isTopBorderSidePresent", { get: function() { return this.topSide.style != t.StiPenStyle.None }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "isBottomBorderSidePresent", { get: function() { return this.bottomSide.style != t.StiPenStyle.None }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "isLeftBorderSidePresent", { get: function() { return this.leftSide.style != t.StiPenStyle.None }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "isRightBorderSidePresent", { get: function() { return this.rightSide.style != t.StiPenStyle.None }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "isAllBorderSidesPresent", { get: function() { return this.isLeftBorderSidePresent && this.isRightBorderSidePresent && this.isTopBorderSidePresent && this.isBottomBorderSidePresent }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "side", { get: function() { var e = t.StiBorderSides.None; return this.isLeftBorderSidePresent && (e |= t.StiBorderSides.Left), this.isRightBorderSidePresent && (e |= t.StiBorderSides.Right), this.isTopBorderSidePresent && (e |= t.StiBorderSides.Top), this.isBottomBorderSidePresent && (e |= t.StiBorderSides.Bottom), e }, set: function(e) { (e & t.StiBorderSides.Left) > 0 ? this.isLeftBorderSidePresent || (this.leftSide.style = t.StiPenStyle.Solid) : this.leftSide.style = t.StiPenStyle.None, (e & t.StiBorderSides.Right) > 0 ? this.isRightBorderSidePresent || (this.rightSide.style = t.StiPenStyle.Solid) : this.rightSide.style = t.StiPenStyle.None, (e & t.StiBorderSides.Top) > 0 ? this.isTopBorderSidePresent || (this.topSide.style = t.StiPenStyle.Solid) : this.topSide.style = t.StiPenStyle.None, (e & t.StiBorderSides.Bottom) > 0 ? this.isBottomBorderSidePresent || (this.bottomSide.style = t.StiPenStyle.Solid) : this.bottomSide.style = t.StiPenStyle.None }, enumerable: !0, 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: !0, 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: !0, 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: !0, configurable: !0 }), Object.defineProperty(n.prototype, "isDefault", { get: function() { return !this.dropShadow && !this.topmost && 4 == this.shadowSize && this.shadowBrush.stimulsoft.is(t.StiSolidBrush) && this.shadowBrush.color.stimulsoft.equals(i.black) && this.leftSide.isDefault && this.rightSide.isDefault && this.topSide.isDefault && this.bottomSide.isDefault }, enumerable: !0, configurable: !0 }), n }(t.StiBorder); t.StiAdvancedBorder = n }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiObject , i = e.System.ICloneable , n = e.System.Drawing.Color , o = function() { function e(e, r, i) { void 0 === e && (e = n.black), void 0 === r && (r = 1), void 0 === i && (i = t.StiPenStyle.None), this.side = t.StiBorderSides.None, this._color = n.black, this._size = 1, this._style = t.StiPenStyle.None, this._color = e, this._size = r, this._style = i } return e.prototype.implements = function() { return [i] } , e.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e._style = this._style, e } , e.prototype.equals = function(t) { if (r.referenceEquals(null, t)) return !1; if (r.referenceEquals(this, t)) return !0; var i = t.stimulsoft.as(e); return null != i && this._size.stimulsoft.equals(i._size) && this._color.stimulsoft.equals(i._color) && this.side == i.side && this._style == i._style } , e.prototype.getHashCode = function() { var e = this._size.stimulsoft.getHashCode(); return e = 397 * e ^ this._color.stimulsoft.getHashCode(), e = 397 * e ^ this.side, e = 397 * e ^ this._style, Math.abs(e) } , e.prototype.getSizeOffset = function() { if (this.style == t.StiPenStyle.None) return 0; if (this.style == t.StiPenStyle.Double) return 1; return this.size / 2 } , Object.defineProperty(e.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "size", { get: function() { return this._size }, set: function(e) { this._size = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "style", { get: function() { return this._style }, set: function(e) { this._style = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isDefault", { get: function() { return this.color.stimulsoft.equals(n.black) && 1 == this.size && this.style == t.StiPenStyle.None }, enumerable: !0, configurable: !0 }), e }(); t.StiBorderSide = o }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Enum , i = e.System.Drawing.Color , n = e.System.ICloneable , o = e.System.Text.StiReportObjectStringConverter , a = function() { function e(e, r, n, o, a) { void 0 === e && (e = 10), void 0 === r && (r = t.StiCapStyle.None), void 0 === n && (n = 10), void 0 === o && (o = !0), void 0 === a && (a = i.black), this._width = 10, this._style = t.StiCapStyle.None, this._height = 10, this._fill = !0, this._color = i.black, this._width = e, this._style = r, this._height = n, this._fill = o, this._color = a } return e.prototype.implements = function() { return [n] } , e.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(e.prototype, "width", { get: function() { return this._width }, set: function(e) { this._width = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "style", { get: function() { return this._style }, set: function(e) { this._style = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "height", { get: function() { return this._height }, set: function(e) { this._height = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "fill", { get: function() { return this._fill }, set: function(e) { this._fill = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), e.prototype.loadFromXml = function(e) { for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "Width": this._width = n.textContent.stimulsoft.toNumber(); break; case "Style": this._style = r.parse(t.StiCapStyle, n.textContent); break; case "Height": this._height = n.textContent.stimulsoft.toNumber(); break; case "Fill": this._fill = n.textContent.stimulsoft.toBoolean(); break; case "Color": this._color = o.convertStringToColor(n.textContent); break } } } , e }(); t.StiCap = a }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Color , i = function() { function e() {} return e.changeLightness = function(e, t) { var i = e.r , n = e.g , o = e.b; return t < 0 ? (t = 1 + t, i *= t, n *= t, o *= t) : (i = (255 - i) * t + i, n = (255 - n) * t + n, o = (255 - o) * t + o), r.fromArgb(e.a, Math.round(i), Math.round(n), Math.round(o)) } , e.light = function(e, t) { var i = e.r , n = e.g , o = e.b; return i + t > 255 ? i = 255 : i += t, n + t > 255 ? n = 255 : n += t, o + t > 255 ? o = 255 : o += t, r.fromArgb(i, n, o) } , e.mixingColors = function(e, t, i) { var n = t.r * i / 255 + e.r * (255 - i) / 255 , o = t.g * i / 255 + e.g * (255 - i) / 255 , a = t.b * i / 255 + e.b * (255 - i) / 255; return r.fromArgb(255, n, o, a) } , e.dark = function(e, t) { var i = e.r , n = e.g , o = e.b; return i - t < 0 ? i = 0 : i -= t, n - t < 0 ? n = 0 : n -= t, o - t < 0 ? o = 0 : o -= t, r.fromArgb(i, n, o) } , e }(); t.StiColorUtils = i }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Rectangle , i = function() { function e() {} return e.fillRectangle = function(e, t, i, n, o, a) { var s = i; if (i.stimulsoft.is(r)) { var l = i; s = l.x, n = l.y, o = l.width, a = l.height } e.fillRectangle(t, s, n, o, a) } , e }(); t.StiDrawing = i }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiObject , i = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.defaultHashCode = 0, t } return __extends(t, e), t.prototype.equals = function(e) { if (r.referenceEquals(null, e)) return !1; if (r.referenceEquals(this, e)) return !0; if (e.stimulsoft.getType() != this.stimulsoft.getType()) return !1; return !0 } , t.prototype.getHashCode = function() { return this.defaultHashCode } , t }(t.StiBrush); t.StiEmptyBrush = i }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.Font , n = e.System.Drawing.FontStyle , o = e.System.Drawing.FontFamily , a = function() { function e() {} return e.correctStyle = function(e, t) { var r = new o(e); try { if (r.isStyleAvailable(t)) return t; if (!r.isStyleAvailable(n.Bold) && (t & n.Bold) > 0 && (t -= n.Bold), !r.isStyleAvailable(n.Italic) && (t & n.Italic) > 0 && (t -= n.Italic), !r.isStyleAvailable(n.Strikeout) && (t & n.Strikeout) > 0 && (t -= n.Strikeout), !r.isStyleAvailable(n.Underline) && (t & n.Underline) > 0 && (t -= n.Underline), !r.isStyleAvailable(t)) { if (r.isStyleAvailable(n.Bold)) return n.Bold; if (r.isStyleAvailable(n.Italic)) return n.Italic; if (r.isStyleAvailable(n.Underline)) return n.Underline; if (r.isStyleAvailable(n.Strikeout)) return n.Strikeout } return t } finally {} } , e.changeFontName = function(e, t) { if (r.isNullOrEmpty(t)) return e; return new i(t,e.size,e.style,e.unit) } , e.changeFontSize = function(e, t) { return t < 1 && (t = 1), new i(e.fontFamily.name,t,e.style,e.unit) } , e.changeFontStyle = function(e, t) { return new i(e.fontFamily.name,e.size,t,e.unit) } , e.changeFontStyle2 = function(e, t, r) { return new i(e,t,r) } , e.changeFontStyleBold = function(e, t) { var r = n.Regular; return t && (r |= n.Bold), e.italic && (r |= n.Italic), e.underline && (r |= n.Underline), new i(e.fontFamily.name,e.size,r,e.unit) } , e.changeFontStyleItalic = function(e, t) { var r = n.Regular; return e.bold && (r |= n.Bold), t && (r |= n.Italic), e.underline && (r |= n.Underline), new i(e.fontFamily.name,e.size,r,e.unit) } , e.changeFontStyleUnderline = function(e, t) { var r = n.Regular; return e.bold && (r |= n.Bold), e.italic && (r |= n.Italic), t && (r |= n.Underline), new i(e.fontFamily.name,e.size,r,e.unit) } , e.changeFontStyleStrikeout = function(e, t) { var r = n.Regular; return e.bold && (r |= n.Bold), e.italic && (r |= n.Italic), e.underline && (r |= n.Underline), t && (r |= n.Strikeout), new i(e.fontFamily.name,e.size,r,e.unit) } , e }(); t.StiFontUtils = a }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Color , i = e.System.StiObject , n = function(e) { function t(t, i, n, o, a) { void 0 === t && (t = r.black), void 0 === i && (i = r.white), void 0 === n && (n = 0), void 0 === o && (o = .5), void 0 === a && (a = 1); var s = e.call(this) || this; return s._focus = .5, s._scale = 1, s.defaultHashCode = 0, s._startColor = t, s._endColor = i, s._angle = n, s._focus = o, s._scale = a, s } return __extends(t, e), Object.defineProperty(t.prototype, "startColor", { get: function() { return this._startColor }, set: function(e) { this._startColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "endColor", { get: function() { return this._endColor }, set: function(e) { this._endColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "angle", { get: function() { return this._angle }, set: function(e) { this._angle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "focus", { get: function() { return this._focus }, set: function(e) { if (this._focus != e) { if (e > 1 || e < 0) throw new Error("Focus must be in range between 0 and 1!"); this._focus = e } }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "scale", { get: function() { return this._scale }, set: function(e) { if (this._scale != e) { if (e > 1 || e < 0) throw new Error("Scale must be in range between 0 and 1!"); this._scale = e } }, enumerable: !0, configurable: !0 }), t.prototype.equals = function(e) { if (i.referenceEquals(null, e)) return !1; if (i.referenceEquals(this, e)) return !0; if (e.stimulsoft.getType() != this.stimulsoft.getType()) return !1; var r = e.stimulsoft.as(t); return this.startColor.stimulsoft.equals(r.startColor) && this.endColor.stimulsoft.equals(r.endColor) && this.angle.stimulsoft.equals(r.angle) && this.focus.stimulsoft.equals(r.focus) && this.scale.stimulsoft.equals(r.scale) } , t.prototype.getHashCode = function() { var e = this.defaultHashCode; return e = 397 * e ^ this.startColor.stimulsoft.getHashCode(), e = 397 * e ^ this.endColor.stimulsoft.getHashCode(), e = 397 * e ^ this.angle.stimulsoft.getHashCode(), e = 397 * e ^ this.focus.stimulsoft.getHashCode(), e = 397 * e ^ this.scale.stimulsoft.getHashCode(), Math.abs(e) } , t }(t.StiBrush); t.StiGlareBrush = n }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiObject , i = e.System.Drawing.Color , n = function(e) { function n(t, r, n) { void 0 === t && (t = i.silver), void 0 === r && (r = !0), void 0 === n && (n = .2); var o = e.call(this) || this; return o._color = i.silver, o._drawHatch = !0, o._blend = .2, o.defaultHashCode = o.stimulsoft.getHashCode(), o._color = t, o._drawHatch = r, o._blend = n, o } return __extends(n, e), Object.defineProperty(n.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "drawHatch", { get: function() { return this._drawHatch }, set: function(e) { this._drawHatch = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "blend", { get: function() { return this._blend }, set: function(e) { if (this._blend != e) { if (e > 1 || e < 0) throw new Error("Value must be in range between 0 and 1."); this._blend = e } }, enumerable: !0, configurable: !0 }), n.prototype.equals = function(e) { if (r.referenceEquals(null, e)) return !1; if (r.referenceEquals(this, e)) return !0; if (e.stimulsoft.getType() != this.stimulsoft.getType()) return !1; var t = e.stimulsoft.as(n); return this.color.stimulsoft.equals(t.color) && this.drawHatch.stimulsoft.equals(t.drawHatch) && this.blend.stimulsoft.equals(t.blend) } , n.prototype.getHashCode = function() { var e = this.defaultHashCode; return e = 397 * e ^ this.color.stimulsoft.getHashCode(), e = 397 * e ^ this.drawHatch.stimulsoft.getHashCode(), e = 397 * e ^ this.blend.stimulsoft.getHashCode(), Math.abs(e) } , n.prototype.getTopColor = function() { return t.StiColorUtils.light(this.color, Math.round(64 * this.blend)) } , n.prototype.getTopColorLight = function() { return t.StiColorUtils.light(t.StiColorUtils.light(this.color, Math.round(64 * this.blend)), 5) } , n.prototype.getBottomColor = function() { return this.color } , n.prototype.getBottomColorLight = function() { return t.StiColorUtils.light(this.getBottomColor(), 2) } , n.prototype.getTopRectangle = function(e) { var t = e.clone(); return t.height /= 2, 2 * t.height < e.height && t.height++, t } , n.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 } , n }(t.StiBrush); t.StiGlassBrush = n }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Color , i = e.System.StiObject , n = function(e) { function t(t, i, n) { void 0 === t && (t = r.black), void 0 === i && (i = r.white), void 0 === n && (n = 0); var o = e.call(this) || this; return o.defaultHashCode = 0, o._startColor = t, o._endColor = i, o._angle = n, o } return __extends(t, e), Object.defineProperty(t.prototype, "startColor", { get: function() { return this._startColor }, set: function(e) { this._startColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "endColor", { get: function() { return this._endColor }, set: function(e) { this._endColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "angle", { get: function() { return this._angle }, set: function(e) { this._angle = e }, enumerable: !0, configurable: !0 }), t.prototype.equals = function(e) { if (i.referenceEquals(null, e)) return !1; if (i.referenceEquals(this, e)) return !0; if (e.stimulsoft.getType() != this.stimulsoft.getType()) return !1; var r = e.stimulsoft.as(t); return this.startColor.stimulsoft.equals(r.startColor) && this.endColor.stimulsoft.equals(r.endColor) && this.angle.stimulsoft.equals(r.angle) } , t.prototype.getHashCode = function() { var e = this.defaultHashCode; return e = 397 * e ^ this.startColor.stimulsoft.getHashCode(), e = 397 * e ^ this.endColor.stimulsoft.getHashCode(), e = 397 * e ^ this.angle.stimulsoft.getHashCode(), Math.abs(e) } , t }(t.StiBrush); t.StiGradientBrush = n }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Color , i = e.System.Drawing.Drawing2D.HatchStyle , n = e.System.StiObject , o = function(e) { function t(t, n, o) { void 0 === t && (t = i.BackwardDiagonal), void 0 === n && (n = r.black), void 0 === o && (o = r.white); var a = e.call(this) || this; return a.defaultHashCode = 0, a._style = t, a._foreColor = n, a._backColor = o, a } return __extends(t, e), Object.defineProperty(t.prototype, "backColor", { get: function() { return this._backColor }, set: function(e) { this._backColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "foreColor", { get: function() { return this._foreColor }, set: function(e) { this._foreColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "style", { get: function() { return this._style }, set: function(e) { this._style = e }, enumerable: !0, configurable: !0 }), t.prototype.equals = function(e) { if (n.referenceEquals(null, e)) return !1; if (n.referenceEquals(this, e)) return !0; if (e.stimulsoft.getType() != this.stimulsoft.getType()) return !1; var r = e.stimulsoft.as(t); return this._backColor.stimulsoft.equals(r.backColor) && this._foreColor.stimulsoft.equals(r.foreColor) && this._style == r.style } , t.prototype.getHashCode = function() { var e = this.defaultHashCode; return e = 397 * e ^ this.backColor.stimulsoft.getHashCode(), e = 397 * e ^ this.foreColor.stimulsoft.getHashCode(), e = 397 * e ^ this.style.stimulsoft.getHashCode(), Math.abs(e) } , t }(t.StiBrush); t.StiHatchBrush = o }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Imaging.ImageCodecInfo , i = function() { function e() {} return e.getImageCodec = function(e) { var t, i, n = r.getImageEncoders(); try { for (var o = __values(n), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (s.mimeType == e) return s } } catch (e) { t = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (t) throw t.error } } return null } , e }(); t.StiImageCodecInfo = i }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.Image , n = function() { function e() {} return e.imageToString = function(e) { if (null == e) return ""; return e.base64 } , e.bytesToImage = function(e) { if (null == e || 0 == e.length) return null; var t = new i; return t.bytes = e, t } , e.stringToImage = function(e) { if (r.isNullOrEmpty(e)) return null; var t = new i; return t.base64 = e, t } , e }(); t.StiImageConverter = n }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Image , i = function() { function t() {} return t.loadBitmap = function(t) { var i = e.System.IO.File.getFile(t, !0) , n = new r; return n.url = t, n.bytes = i, n } , t.loadImage = function(t) { var i = e.System.IO.File.getFile(t, !0) , n = new r; return n.url = t, n.bytes = i, n } , t }(); t.StiImageFromURL = i }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Drawing2D.DashStyle , i = function() { function e() {} return e.getPenStyle = function(e) { switch (e) { case t.StiPenStyle.Dash: return r.Dash; case t.StiPenStyle.DashDot: return r.DashDot; case t.StiPenStyle.DashDotDot: return r.DashDotDot; case t.StiPenStyle.Dot: return r.Dot; case t.StiPenStyle.Double: return r.Solid; default: return r.Solid } } , e }(); t.StiPenUtils = i }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.Drawing.Color , n = e.System.Enum , o = function() { function e(e, t, n, o) { void 0 === e && (e = r.StiBorderSides.None), void 0 === t && (t = i.gray), void 0 === n && (n = 1), void 0 === o && (o = r.StiPenStyle.Solid), this.side = r.StiBorderSides.None, this.color = i.gray, this.size = 1, this.style = r.StiPenStyle.Solid, this.side = e, this.color = t, this.size = n, this.style = o } return e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.getBorder = function() { return new r.StiBorder(this.side,this.color,this.size,this.style) } , e.prototype.getSizeOffset = function() { if (this.style == r.StiPenStyle.None) return 0; if (this.style == r.StiPenStyle.Double) return 1; return this.size / 2 } , e.prototype.getSize = function() { if (this.style == r.StiPenStyle.None) return 0; if (this.style == r.StiPenStyle.Double) return 3; return this.size } , e.prototype.getSizeIncludingSide = function() { if (this.style == r.StiPenStyle.None) return 0; if (this.style == r.StiPenStyle.Double) return 3; if (this.side == r.StiBorderSides.None) return 0; return this.size } , Object.defineProperty(e.prototype, "isTopBorderSidePresent", { get: function() { return 0 != (this.side & r.StiBorderSides.Top) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isBottomBorderSidePresent", { get: function() { return 0 != (this.side & r.StiBorderSides.Bottom) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isLeftBorderSidePresent", { get: function() { return 0 != (this.side & r.StiBorderSides.Left) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isRightBorderSidePresent", { get: function() { return 0 != (this.side & r.StiBorderSides.Right) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isAllBorderSidesPresent", { get: function() { return this.side == r.StiBorderSides.All }, enumerable: !0, configurable: !0 }), e.prototype.shouldSerializeColor = function() { return !i.gray.stimulsoft.equals(this.color) } , Object.defineProperty(e.prototype, "isDefault", { get: function() { return this.side == r.StiBorderSides.None && i.gray.stimulsoft.equals(this.color) && 1 == this.size && this.style == r.StiPenStyle.Solid }, enumerable: !0, configurable: !0 }), e.prototype.saveToJsonObject = function(e) { return null } , e.prototype.loadFromJsonObject = function(e) { var i, o; try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "Side": this.side = n.parse(r.StiBorderSides, l.value); break; case "Color": this.color = t.StiJsonReportObjectHelper.Deserialize.color(l.value); break; case "Size": this.size = l.value.stimulsoft.toNumber(); break; case "Style": this.style = n.parse(r.StiPenStyle, l.value); break } } } catch (e) { i = { error: e } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (i) throw i.error } } } , e.prototype.loadFromXml = function(e) { for (var i = 0; i < e.childNodes.length; i++) { var o = e.childNodes[i]; switch (o.nodeName) { case "Side": this.side = n.parse(r.StiBorderSides, o.textContent); break; case "Color": this.color = t.StiJsonReportObjectHelper.Deserialize.color(o.textContent); break; case "Size": this.size = o.textContent.stimulsoft.toNumber(); break; case "Style": this.style = n.parse(r.StiPenStyle, o.textContent); break } } } , e }(); r.StiSimpleBorder = o }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.Rectangle , n = e.System.Drawing.StringFormatFlags , o = e.System.Char , a = e.System.Collections.List , s = e.System.Drawing.Size , l = e.System.Drawing.Graphics , u = e.System.Drawing.StringAlignment , c = function() { function c() {} return c.measureString = function(e, r, i, n, o, a, u, c, d) { void 0 === d && (d = !1), null == o && (o = new t.StiTextOptions), o.wordWrap || (n = 0); var h = new s(n,0); if (h = d ? l.measureString(this.correctFontSize(r), i, 999999, !0, 1, 0, !1) : l.measureString(r, i, 999999), 90 == o.angle || 270 == o.angle) { var m = h.width; h.width = h.height, h.height = m } return new s(h.width,h.height) } , c.correctFontSize = function(e) { var t = e , r = -1; try { while (-1 != (r = t.indexOf("", r + 6); if (i > 0) { var n = t.substring(r + 6, i) , o = n.indexOf("size="); if (o > 0) { var a = t.indexOf('"', o + 5) , s = t.indexOf('"', a + 1) , l = t.substring(a + 1, s) , u = 'style="font-size:' + l + ';"'; t = t.substring(0, o) + t.substring(s, i) + u + t.substring(i) } } r += 6 } } catch (r) { t = e } return t } , c.splitTextWordwrap = function(e, r, i, n, o, a, s) { null == o && (o = new t.StiTextOptions); var l = 10 , u = this.getStringFormat2(o, t.StiTextHorAlignment.Left, t.StiVertAlignment.Top, s, l); return this.splitTextWordwrap2(e, r, i, n, u, a == t.StiTextHorAlignment.Width) } , c.splitTextWordwrap2 = function(o, s, u, c, d, h) { void 0 === h && (h = !1); for (var m = new a, f = (d.formatFlags & n.NoWrap) === n.NoWrap ? 999999 : c.width, p = 10, S = new i(0,0,f * p,999999), g = t.StiFontUtils.changeFontSize(u, u.size * p), y = 0, v = Array.create(Number, 33), b = e.System.Text.TextUtils.getWordWrapTextLines(o, u, !1, f), C = 0; C < b.length; C++) { var T = b[C]; if (0 == T.length) { var w = new t.LineInfo; w.text = "", w.lineHeight = y, m.add(w); continue } for (var D = Array.create(i, T.length), P = 0, x = 0, B = 0; B < D.length; B++) { v[32] = T.charCodeAt(B); var L = l.measureChars(v, 33, g); D[B] = new i(0,0,L.width,L.height), P += L.width, P > S.width && (P = 0, x += L.height) } if ((d.formatFlags & n.NoWrap) !== n.NoWrap) { for (var N = D[0], F = N.top + N.height / 2, A = 0, R = 0, B = 1; B < T.length; B++) { if (0 == R) { var k = 15; if (B + k > T.length - 1 && (k = T.length - B - 1), k > 0) { if (N = D[B + k], N.top < F && !N.isEmpty) { B += k; continue } R = k } } else R--; N = D[B], N.top > F && (m.add(this.makeLineInfo(T, A, B - A, D, h)), A = B, F = N.top + N.height / 2, R = 0) } A < T.length && m.add(this.makeLineInfo(T, A, T.length - A, D, !1)) } else m.add(this.makeLineInfo(T, 0, T.length, D, !1)) } for (var B = 0; B < m.length; B++) { var T = m[B].text; if (!r.isNullOrWhiteSpace(T) && -1 != T.indexOf("­")) { var O = T.stimulsoft.replaceAll("­", ""); "­" == T[T.length - 1] && (O += "­"), m[B].text = O } } return m } , c.makeLineInfo = function(e, r, i, n, o) { while (i > 0 && n[r + i - 1].isEmpty) i--; var a = new t.LineInfo; a.text = e.substr(r, i), a.needWidthAlign = o, a.widths = Array.create(Number, i); for (var s = 0; s < i; s++) a.widths[s] = n[r + s].width / 10; for (var l = 0, u = 0; u < i; u++) l = Math.max(l, n[r + u].height); return a.lineHeight = l / 10, a } , c.splitString = function(e, t) { var r, i, n = new a; null == e && (e = ""); var s = ""; try { for (var l = __values(e), u = l.next(); !u.done; u = l.next()) { var c = u.value; "\n" == c ? (n.add(s.stimulsoft.trimEnd()), s = "") : t && o.isControl(c) && "\t" != c || (s += c) } } catch (e) { r = { error: e } } finally { try { u && !u.done && (i = l.return) && i.call(l) } finally { if (r) throw r.error } } return s.length > 0 && n.add(s.stimulsoft.trimEnd()), 0 == n.length && n.add(""), n } , c.getStringFormat = function(e, t, r, i) { return this.getStringFormat2(e, t, r, !1, i) } , c.getAlignment = function(e) { switch (e) { case t.StiTextHorAlignment.Center: case t.StiTextHorAlignment.Width: return u.Center; case t.StiTextHorAlignment.Right: return u.Far; default: return u.Near } } , c.getAlignment2 = function(e) { switch (e) { case t.StiVertAlignment.Center: return u.Center; case t.StiVertAlignment.Bottom: return u.Far; default: return u.Near } } , c.getStringFormat2 = function(e, t, r, i, o) { var a = e.getStringFormat(i, o); return a.alignment = this.getAlignment(t), a.lineAlignment = this.getAlignment2(r), this.measureTrailingSpaces && (a.formatFlags |= n.MeasureTrailingSpaces), a } , c }(); t.StiTextDrawing = c }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Collections.List , i = e.System.StiString , n = e.System.DateTime , o = e.System.Enum , a = function() { function e(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 && t.stimulsoft.is(String) && (t = t.replace(/#!rn#/gi, "\r\n").replace(/#!q#/gi, '"').replace(/#!t#/gi, "\t").replace(/#!!#/gi, "\\")), this.value = t, this.isProperty = r } return e.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() + (t >= 0 ? "+" : "-") + r + i + ")/" } , e.jsonDateFormatToDate = function(e) { var t = e.stimulsoft.replaceAll("/Date(", "").stimulsoft.replaceAll(")/", "") , r = new n(new Date(parseInt(t))) , i = t.indexOf("+"); -1 == i && (i = t.indexOf("-")); var o = r.date.getTimezoneOffset(); -1 != i && (o = 0); var a = Math.floor(o / 60) , s = o % 60 , l = (Math.abs(a) < 10 ? "0" : "") + Math.abs(a).toString() , u = (Math.abs(s) < 10 ? "0" : "") + Math.abs(s).toString() , c = (o >= 0 ? "+" : "-") + l + u , d = 1; return -1 != i && (c = t.substring(i)), "-" == c.substr(0, 1) && (d = -1), r.addHours(a + parseInt(c.substr(1, 2)) * d), r.addMinutes(s + parseInt(c.substr(3, 2)) * d), r } , e.prototype.properties = function() { if (!this.isProperty) return this.value.stimulsoft.is(r) ? this.value : this.value.value; return new r } , e.prototype.removeProperty = function(e) { if (null != e || "" != e) { var t = this.value.value.filter(function(t) { return t.name == e }); t.length > 0 && this.value.value.remove(t[0]) } } , e.prototype.addPropertyNumber = function(t, i, n) { if (void 0 === n && (n = 0), null == this.value && (this.value = new e("",new r)), this.removeProperty(t), i == n) return; this.value.value.push(new e(t,i,!0)) } , e.prototype.addPropertyNumberNoDefaultValue = function(t, i) { null == this.value && (this.value = new e("",new r)), this.removeProperty(t), this.value.value.push(new e(t,i,!0)) } , e.prototype.addPropertyJObject = function(t, i) { if (null == this.value && (this.value = new e("",new r)), this.removeProperty(t), null == i || 0 == i.count) return; this.value.value.push(new e(t,i)) } , e.prototype.addPropertyJObjectArray = function(t, i) { if (null == this.value && (this.value = new e("",new r)), this.removeProperty(t), null == i || 0 == i.length) return; var n = new e(t,i); n.isArray = !0, this.value.value.push(n) } , e.prototype.addPropertyIdent = function(t, i) { null == this.value && (this.value = new e("",new r)), this.value.value.push(new e(t,i,!0)) } , e.prototype.addPropertyBool = function(t, i, n) { if (void 0 === n && (n = !1), null == this.value && (this.value = new e("",new r)), this.removeProperty(t), i == n) return; this.value.value.push(new e(t,i,!0)) } , e.prototype.addPropertyDateTime = function(t, i) { null == this.value && (this.value = new e("",new r)), this.removeProperty(t), this.value.value.push(new e(t,e.dateToJsonDate(i),!0)) } , e.prototype.addPropertyEnum = function(t, i, n, a) { if (void 0 === a && (a = null), null == this.value && (this.value = new e("",new r)), this.removeProperty(t), void 0 !== a && n == a) return; this.value.value.push(new e(t,o.getName(i, n),!0)) } , e.prototype.addPropertyString = function(t, i, n) { if (null == this.value && (this.value = new e("",new r)), this.removeProperty(t), i == n) return; this.value.value.push(new e(t,i,!0)) } , e.prototype.addPropertyStringNullOrEmpty = function(t, n) { if (null == this.value && (this.value = new e("",new r)), this.removeProperty(t), i.isNullOrEmpty(n)) return; this.value.value.push(new e(t,n,!0)) } , Object.defineProperty(e.prototype, "count", { get: function() { var e, t, r = 0; if (!this.isProperty && null != this.value) try { for (var i = __values(this.value.value), n = i.next(); !n.done; n = i.next()) { var o = n.value; r++ } } catch (t) { e = { error: t } } finally { try { n && !n.done && (t = i.return) && t.call(i) } finally { if (e) throw e.error } } return r }, enumerable: !0, configurable: !0 }), e.prototype.serialize = function(t) { var r, i, n, o; void 0 === t && (t = 0); var a = "" , s = e.prettyPrint ? Array(t + 1).join(" ") : ""; try { for (var l = __values(this.value.properties()), u = l.next(); !u.done; u = l.next()) { var c = u.value , d = ""; if (c.isProperty) d = null != c.value && c.value.stimulsoft.is(String) ? '"' + c.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") + '"' : c.value; else if (c.isArray) { try { for (var h = (n = void 0, __values(c.value)), m = h.next(); !m.done; m = h.next()) { var f = m.value; d += d ? "," : "[", d += f.serialize(t + 4) } } catch (e) { n = { error: e } } finally { try { m && !m.done && (o = h.return) && o.call(h) } finally { if (n) throw n.error } } d += "]" } else d = c.value.serialize(t + 2); a && (a += ","), e.prettyPrint && (a += "\n" + s + " "), a += '"' + c.name + '":', e.prettyPrint && (a += " "), a += d } } catch (e) { r = { error: e } } finally { try { u && !u.done && (i = l.return) && i.call(l) } finally { if (r) throw r.error } } if (!a) return ""; if (e.prettyPrint) return "{" + a + "\n" + s + "}"; return "{" + a + "}" } , e.prototype.deserialize = function(e) { if (e.stimulsoft.is(String)) { var t = 0 , r = -1; while (t < e.length) { if ('"' == e[t] && (t > 0 && "\\" != e[t - 1] || t > 1 && "\\" == e[t - 2] && t > 2 && "\\" != e[t - 3])) if (r > -1) { var i = e.substring(r, t) , n = i.replace(/\\\\/gi, "#!!#").replace(/\\t/gi, "#!t#").replace(/\\\"/gi, "#!q#").replace(/\\r\\n/gi, "#!rn#").replace(/\\r/gi, "#!rn#").replace(/\\n/gi, "#!rn#"); n.length != i.length && (e = e.substring(0, r) + n + e.substring(t), t += n.length - i.length), r = -1 } else r = t + 1; t++ } } var o = "object" == typeof e ? e : JSON.parse(e); this.deserializeFromObject(o), this.value = this.value.value } , e.prototype.deserializeFromObject = function(t) { for (var i in t) if ("object" == typeof t[i]) { var n = new e(i); null == this.value && (this.value = new e(null,new r)), this.value.value.push(n), n.deserializeFromObject(t[i]) } else if ("function" != typeof t[i]) { var n = new e(i,t[i],!0); null == this.value && (this.value = new e(null,new r)), this.value.value.push(n) } } , e.prototype.toString = function() { return this.name } , e.prettyPrint = !0, e }(); t.StiJson = a }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiJsonReportObject = "IStiJsonReportObject" }(t = e.JsonReportObject || (e.JsonReportObject = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.StringFormatFlags , i = e.System.Drawing.StringFormat , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.Drawing.StringTrimming , a = e.System.Drawing.Text.HotkeyPrefix , s = e.Base.StiJson , l = e.System.ICloneable , u = e.System.Enum , c = function() { function e(e, t, r, i, n, s, l) { this.rightToLeft = !1, this.lineLimit = !1, this.angle = 0, this.firstTabOffset = 40, this.distanceBetweenTabs = 20, this.hotkeyPrefix = a.None, this.trimming = o.None, this.rightToLeft = e, this.lineLimit = t, this.angle = r, this.firstTabOffset = i, this.distanceBetweenTabs = n, this.hotkeyPrefix = s, this.trimming = l } return e.prototype.implements = function() { return [l] } , e.prototype.getHashCode = function() { var e = this.rightToLeft ? 1231 : 1237; return e = 397 * e ^ (this.lineLimit ? 1231 : 1237), e = 397 * e ^ this.angle, e = 397 * e ^ this.firstTabOffset, e = 397 * e ^ this.distanceBetweenTabs, e = 397 * e ^ this.hotkeyPrefix, e = 397 * e ^ this.trimming, Math.abs(e) } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e }() , d = function() { function e(e, t, r, i, n, s, l, u) { void 0 === e && (e = !1), void 0 === t && (t = !1), void 0 === r && (r = !1), void 0 === i && (i = 0), void 0 === n && (n = a.None), void 0 === s && (s = o.None), void 0 === l && (l = 40), void 0 === u && (u = 20), this.bits = null, this._wordWrap = !1, this._wordWrap = r, 0 == e && 0 == t && 0 == i && n == a.None && s == o.None && 40 == l && 20 == u ? this.bits = null : this.bits = new c(e,t,i,l,u,n,s) } return e.prototype.implements = function() { return [l, n] } , e.prototype.saveToJsonObject = function() { var e = new s; 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", a, this.hotkeyPrefix, a.None), e.addPropertyEnum("Trimming", o, this.trimming, o.None), e.addPropertyBool("WordWrap", this.wordWrap), e.count > 0) return e; return null } , e.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var i = __values(e.properties()), n = i.next(); !n.done; n = i.next()) { var s = n.value; switch (s.name) { case "RightToLeft": this.rightToLeft = s.value.stimulsoft.toBoolean(); break; case "LineLimit": this.lineLimit = s.value.stimulsoft.toBoolean(); break; case "Angle": this.angle = s.value; break; case "FirstTabOffset": this.firstTabOffset = s.value; break; case "DistanceBetweenTabs": this.distanceBetweenTabs = s.value; break; case "HotkeyPrefix": this.hotkeyPrefix = u.parse(a, s.value); break; case "Trimming": this.trimming = u.parse(o, s.value); break; case "WordWrap": this.wordWrap = s.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 } } } , e.loadFromXml = function(t) { var r = new e , i = t.split(","); i[0].indexOf("Hide") >= 0 ? r.hotkeyPrefix = a.Hide : i[0].indexOf("Show") >= 0 ? r.hotkeyPrefix = a.Show : r.hotkeyPrefix = a.None, r.lineLimit = i[1].indexOf("True") >= 0, r.rightToLeft = i[2].indexOf("True") >= 0, i[3].indexOf("EllipsisCharacter") >= 0 ? r.trimming = o.EllipsisCharacter : i[3].indexOf("Character") >= 0 ? r.trimming = o.Character : i[3].indexOf("EllipsisPath") >= 0 ? r.trimming = o.EllipsisPath : i[3].indexOf("EllipsisWord") >= 0 ? r.trimming = o.EllipsisWord : i[3].indexOf("None") >= 0 ? r.trimming = o.None : i[3].indexOf("Word") >= 0 && (r.trimming = o.Word), r.wordWrap = i[4].indexOf("True") >= 0; var n = i[5].split("="); if (r.angle = n[1].trim().stimulsoft.toNumber(), i.length > 6) { var s = i[6].split("="); r.firstTabOffset = s[1].trim().stimulsoft.toNumber(); var l = i[7].split("="); r.distanceBetweenTabs = l[1].trim().stimulsoft.toNumber() } return r } , e.prototype.loadFromXml = function(e) { if (e.textContent.length > 0) { for (var t = e.textContent.split(","), r = 0; r < t.length; r++) if (t[r].length > 0) 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 = u.parse(a, t[r].split("=")[1].trim()); break; case "Trimming": this.trimming = u.parse(o, 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 = u.parse(a, i.textContent); break; case "Trimming": this.trimming = u.parse(o, i.textContent); break; case "WordWrap": this.wordWrap = i.textContent.stimulsoft.toBoolean(); break } } } , e.prototype.clone = function() { var t = new e; return null != this.bits && (t.bits = this.bits.clone()), t.wordWrap = this.wordWrap, t } , e.prototype.getStringFormat = function(e, t) { void 0 === e && (e = !1), void 0 === t && (t = 1); var n = new i; return n.formatFlags = 0, this.wordWrap || (n.formatFlags = r.NoWrap), this.rightToLeft && (n.formatFlags |= r.DirectionRightToLeft), this.lineLimit && (n.formatFlags |= r.LineLimit), n.trimming = this.trimming, n.hotkeyPrefix = this.hotkeyPrefix, n } , Object.defineProperty(e.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 c(e,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 c(this.rightToLeft,e,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "wordWrap", { get: function() { return this._wordWrap }, set: function(e) { this._wordWrap = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 c(this.rightToLeft,this.lineLimit,e,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 c(this.rightToLeft,this.lineLimit,this.angle,e,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 c(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,e,this.hotkeyPrefix,this.trimming) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "hotkeyPrefix", { get: function() { if (null == this.bits) return a.None; return this.bits.hotkeyPrefix }, set: function(e) { if (e == a.None && null == this.bits) return; null != this.bits ? this.bits.hotkeyPrefix = e : this.bits = new c(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,e,this.trimming) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "trimming", { get: function() { if (null == this.bits) return o.None; return this.bits.trimming }, set: function(e) { if (e == o.None && null == this.bits) return; null != this.bits ? this.bits.trimming = e : this.bits = new c(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isDefault", { get: function() { return !this._wordWrap && null == this.bits }, enumerable: !0, configurable: !0 }), e.prototype.getHashCode = function() { return 397 * (2881041151 ^ (null != this.bits ? this.bits.stimulsoft.getHashCode() : 0)) ^ (this.wordWrap ? 1231 : 1237) } , e }(); t.StiTextOptions = d }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Enum , n = e.System.Drawing.ColorTranslator , o = e.System.Drawing.FontStyle , a = e.System.Collections.List , s = e.System.Drawing.Rectangle , l = e.System.Drawing.Color , u = e.System.Text.StringBuilder , c = e.System.Drawing.Graphics , d = e.System.Drawing.Font , h = e.System.Drawing.Size , m = e.System.Drawing.StringTrimming , f = e.System.Char , p = e.System.Globalization.UnicodeCategory , S = e.System.Collections.Hashtable , g = e.System.Convert , y = function() { function e() { this.iCharPos = 0 } return e.prototype.clone = function() { var t = new e; return t.iCharPos = this.iCharPos, t } , e }() , v = function() { function v() {} return v.getTabsWidth = function(e, t, r) { var i = 20 , n = 40; null != e && (i = e.distanceBetweenTabs, n = e.firstTabOffset); var o = r , a = t * i , s = t * n + a; if (r < s) o = s; else if (i > 0) { var l = Math.trunc((r - s) / a); l++, o = s + l * a } return Math.round(o - r) } , v.getFontIndex = function(e, t, r, i, n, o, a, s) { var l = this.getFontIndex2(e, t, r, i, n, o, s); if (a) { var u = s[l].superOrSubscriptIndex; -1 == u && (u = this.getFontIndex2(e, t / 1.5, r, i, n, o, s), s[l].superOrSubscriptIndex = u, s[u].parentFontIndex = l), l = u } return l } , v.getFontIndex2 = function(e, t, r, i, n, a, s) { var l, u; if (s.length > 0) for (var c = 0; c < s.length; c++) { var h = s[c]; if (h.fontName == e && h.fontBase.size == t && h.fontBase.bold == r && h.fontBase.italic == i && h.fontBase.underline == n && h.fontBase.strikeout == a) return c } var m = o.Regular; r && (m |= o.Bold), i && (m |= o.Italic), n && (m |= o.Underline), a && (m |= o.Strikeout); var f = null; if (-1 != e.indexOf(",")) { var p = e.split(","); try { for (var S = __values(p), g = S.next(); !g.done; g = S.next()) { var y = g.value; if (f = new d(y,t,m), f.name.toLowerCase() == y.toLowerCase()) break } } catch (e) { l = { error: e } } finally { try { g && !g.done && (u = S.return) && u.call(S) } finally { if (l) throw l.error } } } else f = new d(e,t,m); var v = new b; return v.fontName = e, v.fontBase = f, v.parentFontIndex = -1, v.superOrSubscriptIndex = -1, s.add(v), s.length - 1 } , Object.defineProperty(v, "htmlEscapeSequence", { get: function() { if (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) } return this._htmlEscapeSequence }, enumerable: !0, configurable: !0 }), v.convertStringToTag = function(e) { var t = new P; if (e = e.trim(), e.stimulsoft.endsWith("/") && (t.state = D.Empty, e = e.substr(0, e.length - 1).trim()), t.attributes = this.parseTagIntoPairs(e), 0 == t.attributes.length) return t; var i = t.attributes[0].key; switch (i.stimulsoft.startsWith("/") && (t.state = D.End, i = i.substr(1)), i) { case "p": t.tag = w.P; break; case "br": t.tag = w.Br; break; case "ol": t.tag = w.OrderedList; break; case "ul": t.tag = w.UnorderedList; break; case "li": t.tag = w.ListItem; break; case "a": t.tag = w.A; break; case "strong": case "b": t.tag = w.B; break; case "em": case "i": t.tag = w.I; break; case "u": t.tag = w.U; break; case "strike": case "s": t.tag = w.S; break; case "sup": t.tag = w.Sup; break; case "sub": t.tag = w.Sub; break; case "letter-spacing": t.tag = w.LetterSpacing; break; case "word-spacing": t.tag = w.WordSpacing; break; case "line-height": t.tag = w.LineHeight; break; case "text-align": t.tag = w.TextAlign; break; case "font": t.tag = w.Font; break; case "font-face": case "font-family": case "font-name": t.tag = w.FontName; break; case "font-size": t.tag = w.FontSize; break; case "font-color": case "color": t.tag = w.FontColor; break; case "background-color": t.tag = w.Backcolor; break } return t.tag != w.None || r.isNullOrWhiteSpace(i) || (t.tag = w.Unknown, t.tagName = i), t } , v.parseHtmlToStates = function(e, t, i) { void 0 === i && (i = !1); var n = new Array , o = t.clone() , a = new Array , s = 0 , l = !1; null == e && (e = ""); while (s < e.length) if ("<" != e.charAt(s)) { var c = e.charAt(s); f.isWhitespace(c, 0, !1) ? l || (o.text.append(" "), l = !0) : f.getUnicodeCategory(c) != p.OtherNotAssigned && (o.text.append(c), l = !1), s++ } else { o.text.length > 0 && (n.add(o), o = new B(o), o.posBegin = s, o.ts.tag.tag == w.ListItem && (o.ts.tag = new P(w.None))); while (s < e.length && "<" == e[s]) { s++; var d = s; while (d < e.length && ">" != e.charAt(d)) d++; var h = e.substr(s, d - s); s = d, s++; var m = this.convertStringToTag(h); if (m.isEndTag(w.P)) { if (o.text.append("\n"), n.add(o), o = new B(o), o.posBegin = s, l = !0, o.ts.tag = new P(w.P,D.End), s < e.length && !r.isNullOrWhiteSpace(e.substr(s))) { o.text.append("\n"); var S = o.ts.lineHeight; o.ts.lineHeight = .8, n.add(o), o = new B(o), o.posBegin = s, o.ts.lineHeight = S, o.ts.tag = new P(w.None) } o.ts.indent > 0 && o.text.append(this.getIndentString(o.ts.indent)) } else if (m.isStartTag(w.P)) { var g = n.length > 0 && n[n.length - 1].ts.tag.isEndTag(w.P); if (!g) { (n.length > 1 || 1 == n.length && 0 != n[0].text.toString().trim().length) && (o.text.append("\n"), n.add(o), o = new B(o)), o.posBegin = s, l = !0, o.text.append("\n"); var S = o.ts.lineHeight; o.ts.lineHeight = .8, o.ts.tag = new P(w.P), n.add(o), o = new B(o), o.ts.lineHeight = S, o.posBegin = s, o.ts.indent > 0 && o.text.append(this.getIndentString(o.ts.indent)) } } else if (m.tag == w.Br) l = !0, o.text.append("\n"), n.add(o), o = new B(o), o.posBegin = s, o.ts.indent > 0 && o.text.append(this.getIndentString(o.ts.indent)); else if (m.isStartTag(w.ListItem)) { var y = n.length > 0 && n[n.length - 1].ts.tag.tag == w.ListItem; y || (l = !0, o.text.append("\n"), o.ts.tag = new P(w.ListItem), n.add(o), o = new B(o), o.ts.tag = new P(w.ListItem), o.posBegin = s, o.text.append(this.getIndentString(o.ts.indent)), n.add(o), o = new B(o), o.ts.tag = new P(w.None), o.posBegin = s), 0 == o.ts.indent && o.ts.indent++, null == o.listLevels && (o.listLevels = new Array); while (o.ts.indent > o.listLevels.length) o.listLevels.add(0); var v = n[n.length - 1]; o = this.parseMarkerTypeAttribute(m.attributes, o), this.insertMarker(v.text, o.listLevels[o.ts.indent - 1], o.ts.indent), o.listLevels[o.ts.indent - 1] > 0 && (Array.copy(o.listLevels, 0, o.listLevels, o.listLevels.length), o.listLevels[o.ts.indent - 1]++), n[n.length - 1] = v } else if (m.isEndTag(w.ListItem)) { var y = n.length > 0 && n[n.length - 1].ts.tag.tag == w.ListItem; y || (l = !0, o.text.append("\n"), o.ts.tag = new P(w.ListItem), n.add(o), o = new B(o), o.ts.tag = new P(w.ListItem), o.posBegin = s, o.text.append(this.getIndentString(o.ts.indent)), n.add(o), o = new B(o), o.ts.tag = new P(w.None), o.posBegin = s) } else if (m.isStartTag(w.UnorderedList)) { var y = n.length > 0 && n[n.length - 1].ts.tag.tag == w.ListItem; if (y) { o.ts.indent++; var v = n[n.length - 1]; v.text.append(this.getIndentString(1)), v.ts.indent++, n[n.length - 1] = v } else l = !0, o.text.append("\n"), o.ts.tag = new P(w.ListItem), n.add(o), o = new B(o), o.ts.tag = new P(w.ListItem), o.posBegin = s, o.text.append(this.getIndentString(o.ts.indent + 1)), o.ts.indent++, n.add(o), o = new B(o), o.ts.tag = new P(w.None), o.posBegin = s; null == o.listLevels && (o.listLevels = new Array); while (o.listLevels.length < o.ts.indent) o.listLevels.add(0); o.listLevels[o.ts.indent - 1] = 1 - o.ts.indent, o = this.parseMarkerTypeAttribute(m.attributes, o) } else if (m.isEndTag(w.UnorderedList)) { var y = n.length > 0 && n[n.length - 1].ts.tag.tag == w.ListItem; if (y) { o.ts.indent > 0 && o.ts.indent--; var v = n[n.length - 1]; v.ts.indent > 0 && v.ts.indent--, v.text = new u(this.getIndentString(v.ts.indent)), 0 == o.ts.indent && (o.listLevels = null, v.listLevels = null), n[n.length - 1] = v } else l = !0, o.text.append("\n"), o.ts.tag = new P(w.ListItem), n.add(o), o = new B(o), o.ts.tag = new P(w.ListItem), o.posBegin = s, o.ts.indent > 0 && o.ts.indent--, o.text.append(this.getIndentString(o.ts.indent)), 0 == o.ts.indent && (o.listLevels = null), n.add(o), o = new B(o), o.ts.tag = new P(w.None), o.posBegin = s } else if (m.isStartTag(w.OrderedList)) { var y = n.length > 0 && n[n.length - 1].ts.tag.tag == w.ListItem; if (y) { o.ts.indent++; var v = n[n.length - 1]; v.text.append(this.getIndentString(1)), v.ts.indent++, n[n.length - 1] = v } else l = !0, o.text.append("\n"), o.ts.tag = new P(w.ListItem), n.add(o), o = new B(o), o.ts.tag = new P(w.ListItem), o.posBegin = s, o.text.append(this.getIndentString(o.ts.indent + 1)), o.ts.indent++, n.add(o), o = new B(o), o.ts.tag = new P(w.None), o.posBegin = s; null == o.listLevels && (o.listLevels = new Array); while (o.listLevels.length < o.ts.indent) o.listLevels.add(1); o.listLevels[o.ts.indent - 1] = 1, o = this.parseMarkerTypeAttribute(m.attributes, o); var b = n[n.length - 1]; b.listLevels = o.listLevels, n[n.length - 1] = b } else if (m.isEndTag(w.OrderedList)) { var y = n.length > 0 && n[n.length - 1].ts.tag.tag == w.ListItem; if (y) { o.ts.indent > 0 && o.ts.indent--; var v = n[n.length - 1]; v.ts.indent > 0 && v.ts.indent--, v.text = new u(this.getIndentString(v.ts.indent)), 0 == o.ts.indent && (o.listLevels = null, v.listLevels = null), n[n.length - 1] = v } else l = !0, o.text.append("\n"), o.ts.tag = new P(w.ListItem), n.add(o), o = new B(o), o.ts.tag = new P(w.ListItem), o.posBegin = s, o.ts.indent > 0 && o.ts.indent--, o.text.append(this.getIndentString(o.ts.indent)), 0 == o.ts.indent && (o.listLevels = null), n.add(o), o = new B(o), o.ts.tag = new P(w.None), o.posBegin = s } else m.tag != w.None && (o = this.parseHtmlTag(m, o, a, t)), i && (o.tagsStack = new Array, a.forEach(function(e) { o.tagsStack.add(new x(e)) })) } } return o.text.length > 0 && n.add(o), 0 == n.length && n.add(o), n } , v.prepareStateText = function(e) { var t = new u , r = 0 , i = e.length; while (r < i) { var n = !1; if ("&" == e.charAt(r) && r + 3 < i) { var o = r + 1 , a = new u; if ("#" == e.charAt(o)) if (o++, "x" == e.charAt(o)) { o++; while (o < i && f.isLetterOrDigit(e.charAt(o))) a.append(e.charAt(o)), o++; a.length > 0 && o < i && ";" == e.charAt(o) && (o++, t.append(String.fromCharCode(parseInt(a.toString(), 16))), r = o, n = !0) } else { while (o < i && f.isDigit(e.charAt(o))) a.append(e.charAt(o)), o++; a.length > 0 && o < i && ";" == e.charAt(o) && (o++, t.append(String.fromCharCode(parseInt(a.toString()))), r = o, n = !0) } else { while (o < i && f.isLetterOrDigit(e.charAt(o))) a.append(e.charAt(o)), o++; if (a.length > 0 && o < i && ";" == e.charAt(o)) { var s = this.htmlEscapeSequence["&" + a + ";"]; null != s && (o++, t.append(s), r = o, n = !0) } } } n || (t.append(e.charAt(r)), r++) } var l = t.toString().stimulsoft.replaceAll(" ", " ").stimulsoft.replaceAll("<", "<").stimulsoft.replaceAll(">", ">").stimulsoft.replaceAll(""", '"').stimulsoft.replaceAll("&", "&"); return new u(l) } , v.stateToHtml = function(e, i, o, a) { var s = ""; s += r.format('', e.ts.fontName, e.ts.fontSize), e.ts.isColorChanged && (s += r.format('', n.toHtml(e.ts.fontColor))), e.ts.isBackcolorChanged && (s += r.format('', n.toHtml(e.ts.backColor))), s += r.format("<{0}b>", e.ts.bold ? "" : "/"), s += r.format("<{0}i>", e.ts.italic ? "" : "/"), s += r.format("<{0}u>", e.ts.underline ? "" : "/"), s += r.format("<{0}s>", e.ts.strikeout ? "" : "/"), s += r.format("<{0}sup>", e.ts.superscript ? "" : "/"), s += r.format("<{0}sub>", e.ts.subsript ? "" : "/"), s += r.format('', e.ts.letterSpacing), s += r.format('', e.ts.wordSpacing), s += r.format('', e.ts.lineHeight); var l = "left"; return e.ts.textAlign == t.StiTextHorAlignment.Center && (l = "center"), e.ts.textAlign == t.StiTextHorAlignment.Right && (l = "right"), e.ts.textAlign == t.StiTextHorAlignment.Width && (l = "justify"), s += r.format('', l), s += "", i.ts.indent > 0 && (s += r.format("", a, this.listLevelsToString(i.listLevels, i.ts.indent))), null != o && (s += o.stimulsoft.replaceAll("&", "&").stimulsoft.replaceAll("<", "<").stimulsoft.replaceAll(">", ">")), s } , v.getIndentString = function(e) { for (var t = new u, r = 0; r < e; r++) t.append("          "); return t.toString() } , v.insertMarker = function(e, t, r) { var i = this.bulletBlack; if (t > 0) i = t.toString() + "."; else { 1 == (0 - t) % 2 && (i = this.bulletWhite) } var n = t > 0 ? 2 : 3; if (e.length > 3) if (i.length >= e.length - n) { var o = i + e.toString().substr(e.length - n); e.clear(), e.append(o) } else for (var a = e.length - n - i.length, s = 0; s < i.length; s++) e.setByIndex(a + s, i[s]) } , v.stackToString = function(e) { if (null == e || 0 == e.length) return ""; var t = new u; try { for (var i = 0; i < e.length; i++) { var n = e[i] , o = new x(null) , a = 0 == i; a || (o = e[i - 1]); var s = t.length; n.isBackcolorChanged && t.appendFormat("bc{0:X2}{1:X2}{2:X2}{3:X2}:", n.backColor.a, n.backColor.r, n.backColor.g, n.backColor.b), n.bold && (a || n.bold != o.bold) && t.append("bd:"), n.isColorChanged && t.appendFormat("fc{0:X2}{1:X2}{2:X2}{3:X2}:", n.fontColor.a, n.fontColor.r, n.fontColor.g, n.fontColor.b), r.isNullOrEmpty(n.fontName) || !a && n.fontName == o.fontName || t.appendFormat("fn{0}:", n.fontName.stimulsoft.replaceAll(" ", "_")), (a || n.fontSize != o.fontSize) && t.appendFormat("fs{0}:", n.fontSize), n.italic && (a || n.italic != o.italic) && t.append("it:"), (a || n.letterSpacing != o.letterSpacing) && t.appendFormat("ls{0}:", n.letterSpacing), (a || n.lineHeight != o.lineHeight) && t.appendFormat("lh{0}:", n.lineHeight), n.strikeout && (a || n.strikeout != o.strikeout) && t.append("st:"), n.subsript && (a || n.subsript != o.subsript) && t.append("sb:"), n.superscript && (a || n.superscript != o.superscript) && t.append("sp:"), !a && n.tag.equals(o.tag) || t.appendFormat("tg{0}:", n.tag.tag != w.Unknown ? Math.trunc(n.tag.tag).toString() : "'" + n.tag.tagName + "'"), (a || n.textAlign != o.textAlign) && t.appendFormat("ta{0}:", n.textAlign), n.underline && (a || n.underline != o.underline) && t.append("un:"), (a || n.wordSpacing != o.wordSpacing) && t.appendFormat("ws{0}:", n.wordSpacing), ":" == t.charAt(t.length - 1) && t.length--, i < e.length - 1 && t.length > s && t.append(";") } while (t.length > 1 && ";" == t.charAt(t.length - 1)) t.length-- } catch (e) {} return t.toString() } , v.listLevelsToString = function(e, t) { null != e && 0 != e.length || (e = new a); var r = new u; 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() } , v.parseHtmlTag = function(i, n, o, a) { var s = new x(n.ts) , u = i.attributes[0]; switch (i.tag) { case w.B: n.ts.bold = i.isStart; break; case w.I: n.ts.italic = i.isStart; break; case w.U: n.ts.underline = i.isStart; break; case w.S: n.ts.strikeout = i.isStart; break; case w.Sup: n.ts.superscript = i.isStart, n.ts.subsript = !1; break; case w.Sub: n.ts.subsript = i.isStart, n.ts.superscript = !1; break; case w.LetterSpacing: if (i.isStart) { var c = 0; "normal" != u.value && (c = parseFloat(u.value.toString().stimulsoft.replaceAll(",", ".")), isNaN(c) && (c = 0)), n.ts.letterSpacing = c } break; case w.WordSpacing: if (i.isStart) { var d = 0; "normal" != u.value && (d = parseFloat(u.value.toString().stimulsoft.replaceAll(",", ".")), isNaN(d) && (d = 0)), n.ts.wordSpacing = d } break; case w.LineHeight: if (i.isStart) { var h = 1; "normal" != u.value && (h = parseFloat(u.value.toString().stimulsoft.replaceAll(",", ".")), isNaN(h) && (h = 0)), h <= 0 && (h = 1), n.ts.lineHeight = h } break; case w.TextAlign: if (i.isStart) try { var m = u.value.toString().toLowerCase(); "left" == m && (n.ts.textAlign = t.StiTextHorAlignment.Left), "right" == m && (n.ts.textAlign = t.StiTextHorAlignment.Right), "center" == m && (n.ts.textAlign = t.StiTextHorAlignment.Center), "justify" == m && (n.ts.textAlign = t.StiTextHorAlignment.Width) } catch (t) { e.System.StiError.showError(t, !1) } break; case w.Font: if (i.isStart && i.attributes.length > 1) for (var f = 1; f < i.attributes.length; f++) { var p = i.attributes[f]; switch (p.key) { case "color": try { n.ts.fontColor = this.parseColor(p.value.toString()), n.ts.isColorChanged = !0 } catch (t) { e.System.StiError.showError(t, !1) } break; case "face": case "family": case "name": try { n.ts.fontName = p.value.toString() } catch (t) { e.System.StiError.showError(t, !1) } break; case "size": var S = this.parseFontSize(p.value.toString()); n.ts.fontSize = S; break; case "style": n.ts.htmlStyle = p.value.toString(); break } } break; case w.FontName: if (i.isStart) try { n.ts.fontName = u.value.toString() } catch (t) { e.System.StiError.showError(t, !1) } break; case w.FontSize: if (i.isStart) { var g = this.parseFontSize(u.value.toString()); n.ts.fontSize = g } break; case w.FontColor: if (i.isStart) try { n.ts.fontColor = this.parseColor(u.value.toString()), n.ts.isColorChanged = !0 } catch (e) {} break; case w.Backcolor: if (i.isStart) try { n.ts.backColor = this.parseColor(u.value.toString()), n.ts.isBackcolorChanged = !0 } catch (t) { e.System.StiError.showError(t, !1) } break; case w.A: if (i.isStart) try { if (i.attributes.length > 0 && "href" == i.attributes[1].key) { var y = i.attributes[1].value; r.isNullOrWhiteSpace(y) || (n.ts.href = y.trim(), n.ts.fontColor = l.blue, n.ts.isColorChanged = !0) } } catch (e) {} break; case w.Unknown: if ("stihtml" == i.tagName) { o.clear(); try { i.attributes.length > 1 && null != i.attributes[1].key && o.addRange(this.stringToStack(i.attributes[1].key.toString(), a.ts)) } catch (t) { e.System.StiError.showError(t, !1) } } if ("stihtml2" == i.tagName) try { if (i.attributes.length > 2 && null != i.attributes[2].key) { n.listLevels = this.stringToListLevels(i.attributes[2].key), null != n.listLevels && (n.ts.indent = n.listLevels.length); var v = i.attributes[1].key.stimulsoft.toNumber(); v > 0 && (n.ts.indent = -v) } } catch (t) { e.System.StiError.showError(t, !1) } break } if (i.isEnd) { if (o.length > 0) for (var b = o.length - 1; b >= 0; b--) { var C = o[b]; if (C.tag.equals(i)) { n.ts = C, o.removeRange(b, o.length - b); break } } } else i.tag != w.None && (s.tag = i, o.add(s)); if (i.isStart && i.attributes.length > 1) for (var f = 1; f < i.attributes.length; f++) { var p = i.attributes[f]; "style" == p.key && this.parseStyleAttribute(p.value.toString(), n) } return n } , v.parseTagIntoPairs = function(e) { var t = new a , r = 0; while (r < e.length && " " == e[r]) r++; while (r < e.length) { var i = r , n = new L; while (i < e.length && " " != e[i] && "=" != e[i]) i++; n.keyBase = e.substr(r, i - r), n.key = n.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]) { r++, i = r; while (i < e.length && '"' != e[i]) i++; n.value = e.substr(r, i - r), r = i, r++ } else { i = r; while (i < e.length && " " != e[i]) i++; n.value = e.substr(r, i - r), r = i } } while (r < e.length && " " == e[r]) r++; t.add(n) } return t } , v.parseMarkerTypeAttribute = function(e, t) { var i, n; try { for (var o = __values(e), a = o.next(); !a.done; a = o.next()) { var s = a.value; if ("type" == s.keyBase && !r.isNullOrWhiteSpace(s.value) && null != t.listLevels) { var l = s.value[0]; "disc" == s.value && (l = String.fromCharCode(8226)), "circle" == s.value && (l = String.fromCharCode(9702)), "square" == s.value && (l = String.fromCharCode(9642)), "none" == s.value && (l = " "), t.listLevels[t.listLevels.length - 1] = -l.charCodeAt(0) } } } catch (e) { i = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } return t } , v.parseStyleAttribute = function(r, i) { var n = this; if (!r || "" == r) return; return void r.split(";").forEach(function(r) { var o = r.split(":") , a = o.length > 1 , s = o[0].trim() , l = a ? o[1].trim() : null; switch (s) { case "color": try { i.ts.fontColor = v.parseColor(l), i.ts.isColorChanged = !0 } catch (t) { e.System.StiError.showError(t, !1) } break; case "background-color": try { i.ts.backColor = v.parseColor(l), i.ts.isBackcolorChanged = !0 } catch (t) { e.System.StiError.showError(t, !1) } break; case "text-decoration": "underline" == l && (i.ts.underline = !0), "line-through" == l && (i.ts.strikeout = !0), "none" == l && (i.ts.underline = !1, i.ts.strikeout = !1); break; case "font-weight": i.ts.bold = "bold" == l || "bolder" == l || "600" == l || "700" == l || "800" == l || "900" == l; break; case "font-style": "normal" == l && (i.ts.italic = !1), "italic" != l && "oblique" != l || (i.ts.italic = !0); break; case "font-size": var u = n.parseFontSize(l); i.ts.fontSize = u; break; case "vertical-align": "baseline" == l && (i.ts.subsript = !1, i.ts.superscript = !1), "sub" == l && (i.ts.subsript = !0, i.ts.superscript = !1), "super" == l && (i.ts.subsript = !1, i.ts.superscript = !0); break; case "letter-spacing": var c = 0; "normal" != l && (c = parseFloat(l.stimulsoft.replaceAll(",", ".")), isNaN(c) && (c = 0)), i.ts.letterSpacing = c; break; case "word-spacing": var d = 0; "normal" != l && (d = parseFloat(l.stimulsoft.replaceAll(",", ".")), isNaN(d) && (c = 0)), i.ts.wordSpacing = d; break; case "line-height": var h = 1; "normal" != l && (h = parseFloat(l.stimulsoft.replaceAll(",", ".")), isNaN(h) && (c = 1)), h <= 0 && (h = 1), i.ts.lineHeight = h; break; case "text-align": var m = l.toLowerCase(); "left" == m && (i.ts.textAlign = t.StiTextHorAlignment.Left), "right" == m && (i.ts.textAlign = t.StiTextHorAlignment.Right), "center" == m && (i.ts.textAlign = t.StiTextHorAlignment.Center), "justify" == m && (i.ts.textAlign = t.StiTextHorAlignment.Width); break } }) } , v.stringToListLevels = function(t) { var r = new Array; try { t.split(";").forEach(function(e) { r.add(parseInt(e)) }) } catch (t) { e.System.StiError.showError(t, !1) } return r } , v.stringToStack = function(t, r) { var n = this , o = new x(r) , a = new Array; try { t.split(";").forEach(function(e) { var t = new x(o); e.split(":").forEach(function(e) { var r = e.substring(2); switch (e.substring(0, 2)) { case "bc": t.backColor = l.fromArgb(parseInt(r.substr(0, 2), 16), parseInt(r.substr(2, 2), 16), parseInt(r.substr(4, 2), 16), parseInt(r.substr(6, 2), 16)), t.isBackcolorChanged = !0; break; case "bd": t.bold = !0; break; case "fc": t.fontColor = l.fromArgb(parseInt(r.substr(0, 2), 16), parseInt(r.substr(2, 2), 16), parseInt(r.substr(4, 2), 16), parseInt(r.substr(6, 2), 16)), t.isColorChanged = !0; break; case "fn": t.fontName = r; break; case "fs": t.fontSize = parseFloat(r); break; case "it": t.italic = !0; break; case "ls": t.letterSpacing = parseInt(r); break; case "lh": t.lineHeight = parseInt(r); break; case "st": t.strikeout = !0; break; case "sb": t.subsript = !0; break; case "sp": t.superscript = !0; break; case "tg": r.stimulsoft.startsWith("'") ? t.tag = n.convertStringToTag(r.substr(1, r.length - 2)) : t.tag = new P(i.parse(w, r)); break; case "ta": t.textAlign = parseInt(r); break; case "un": t.underline = !0; break; case "ws": t.wordSpacing = parseFloat(r); break } }), a.add(t), o = t }) } catch (t) { e.System.StiError.showError(t, !1) } return a } , v.parseFontSize = function(t) { var r = e.System.Drawing.GraphicsUnit.Point; t.stimulsoft.endsWith("px") && (r = e.System.Drawing.GraphicsUnit.Pixel, t = t.substring(0, t.length - 2)); var i = t.stimulsoft.toNumber(); if (isNaN(i) && (i = 8), i < .5 && (i = .5), this.interpreteFontSizeInHtmlTagsAsInHtml) switch (Math.round(i)) { case 1: i = 7; break; case 2: i = 10; break; case 3: i = 12; break; case 4: i = 14; break; case 5: i = 16; break; case 6: i = 22; break; case 7: i = 36; break } return r == e.System.Drawing.GraphicsUnit.Pixel && (i *= .75), i } , v.parseColor = function(e) { var t = l.transparent; if (e.length > 1) if ("#" == e[0]) { for (var i = e.substring(1).toLowerCase(), n = new u, o = 0; o < i.length; o++) { var a = i.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 || n.append(a) } if (i = n.toString(), 3 == i.length && (i = r.format("{0}{0}{1}{1}{2}{2}", i[0], i[1], i[2])), 6 == i.length) { var s = g.toInt32(i, 16); t = l.fromArgb(255, s >> 16 & 255, s >> 8 & 255, 255 & s) } } else if (e.stimulsoft.startsWith("rgb")) { var c = e.trim().substr(4, e.length - 5).split(","); if (3 == c.length) { var d = Array.create(Number, 3); c[0].stimulsoft.endsWith("%") ? d[0] = Math.round(2.55 * g.toInt32(c[0].substr(0, c[0].length - 1))) : d[0] = g.toInt32(c[0]), c[1].stimulsoft.endsWith("%") ? d[1] = Math.round(2.55 * g.toInt32(c[1].substr(0, c[1].length - 1))) : d[1] = g.toInt32(c[1]), c[2].stimulsoft.endsWith("%") ? d[2] = Math.round(2.55 * g.toInt32(c[2].substr(0, c[2].length - 1))) : d[2] = g.toInt32(c[2]), t = l.fromArgb(255, d[0], d[1], d[2]) } } else { if (null == this.htmlNameToColor) { var h = [["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 S; for (var m = 0; m < h.length; m++) { var f = h[m][0].toLowerCase() , s = g.toInt32(h[m][1].substr(1), 16) , p = l.fromArgb(255, s >> 16 & 255, s >> 8 & 255, 255 & s); this.htmlNameToColor.set(f, p) } } var i = e.toLowerCase(); this.htmlNameToColor.containsKey(i) && (t = this.htmlNameToColor.get(i)) } return t } , v.measureString = function(e, t, r, i, n) { void 0 === i && (i = 0), void 0 === n && (n = !1); var o = c.measureString(r, t, e, !0, 1, i, !n); return new h(o.width,o.height) } , v.getTextLinesAndWidths = function(r, i, n, o, a, s, l, u, d, h, m, f, p) { var S, g; if (d % 180 != 0 && d % 90 == 0) { var y = o.clone(); o.width = y.height, o.height = y.width } var v = i.ref; null == v && (v = ""), v = v.replace(/\r\n/gi, "\n"), v = v.replace(/\r/gi, "\n"); var b = v.split(new RegExp("\n")) , C = f.ref , T = p.ref , w = []; if (s) for (var D = 0; D < b.length; D++) for (var P = e.System.Text.TextUtils.getWordWrapTextLines(b[D], n, !1, o.width), x = 0; x < P.length; x++) w.add(P[x]); else w = b; try { for (var B = __values(w), L = B.next(); !L.done; L = B.next()) { var N = L.value , F = c.measureString(N, n, null, !0, 1, 0); C.add(N), T.add({ begin: 0, length: N.length, needWidthAlign: !1, width: F.width, widths: [], justifyOffset: 0, text: null, indexOfMaxFont: 0, lineHeight: F.height, textAlignment: t.StiTextHorAlignment.Left, indent: 0, end: N.length }) } } catch (e) { S = { error: e } } finally { try { L && !L.done && (g = B.return) && g.call(B) } finally { if (S) throw S.error } } return i.ref = v, f.ref = C, p.ref = T, [v] } , v.drawTextForOutput = function(e, t, r, i, n, o, a, s, l, u, c, d, m, f, p, S, g, y, v) { var b = { ref: new h(0,0) }; this.drawTextBase2(e, { ref: t }, r, i, n, o, a, s, l, u, c, 1, m, f, p, b, !0, null, null, S, g, y, v) } , v.measureText = function(e, r, i, n, o, a, s, u, c, d, m, f, p) { var S = { ref: new h(0,0) }; return this.drawTextBase2(e, { ref: r }, i, n, l.black, l.black, o, t.StiTextHorAlignment.Left, t.StiVertAlignment.Top, a, s, 1, c, d, m, S, !1, null, null, f, null, null, p), S.ref } , v.drawTextBase = function(e, t, r, i, n, o, a, s, l, u, c, d, h, m, f, p, S, g, y, v, b, C) { return "" } , v.drawTextBase2 = function(e, i, n, o, u, h, S, g, v, D, P, L, N, F, A, R, k, O, M, E, H, I, z) { var W = new s(o.x + 0,o.y,o.width + 1,o.height + 1) , G = new s(W.x + 1.5 * L,W.y,Math.round2(o.width - 3 * L, this.precisionDigits),o.height) , j = new t.SizeD(G.width,G.height) , V = n , X = L; this.precisionModeEnabled && (n = new d(n.name,n.size * this.precisionModeFactor,n.style), L = X / this.precisionModeFactor); var q = i.ref , U = "" , Y = new a , Z = null , J = null , K = null , Q = 0; if (!r.isNullOrEmpty(i.ref) && !l.transparent.stimulsoft.equals(u) && null != n && L > 1e-5) { g == t.StiTextHorAlignment.Width && (D = !0); var _ = i.ref.stimulsoft.endsWith(this.StiForceWidthAlignTag); _ && (i.ref = i.ref.substr(0, i.ref.length - this.StiForceWidthAlignTag.length), q = i.ref); var $ = i.ref , ee = new x(V.bold,V.italic,V.underline,V.strikeout,V.sizeInPoints,V.name,u,h,!1,!1,0,0,S,g) , te = new B(ee,0); if (E) { var re = this.parseHtmlToStates(i.ref, te, !k); J = Array.create(B, re.length); for (var ie = "", ne = new a, oe = 0; oe < re.length; oe++) { var ae = re[oe]; J[oe] = ae; var se = this.prepareStateText(ae.text); ie += se.toString(); for (var le = 0; le < se.length; le++) ne.add(oe); ae.ts.textAlign == t.StiTextHorAlignment.Width && (ae.ts.wordSpacing = 0) } i.ref = ie, K = Array.create(Number, ne.length); for (var oe = 0; oe < K.length; oe++) K[oe] = ne[oe] } else { J = Array.create(B, 1), J[0] = te, K = Array.create(Number, i.ref.length); for (var oe = 0; oe < K.length; oe++) K[oe] = 0 } for (var ue = new a, ce = 0; ce < J.length; ce++) { var de = this.precisionModeEnabled ? J[ce].ts.fontSize * this.precisionModeFactor : J[ce].ts.fontSize; J[ce].fontIndex = this.getFontIndex(J[ce].ts.fontName, de, J[ce].ts.bold, J[ce].ts.italic, J[ce].ts.underline, J[ce].ts.strikeout, J[ce].ts.superscript || J[ce].ts.subsript, ue) } Z = Array.create(b, ue.length); for (var he = 0; he < Z.length; he++) Z[he] = ue[he]; for (var he = 0; he < Z.length; he++) Z[he].fontScaled = null, Z[he].hFontScaled = 0, Z[he].hScriptCache = 0, Z[he].hScriptCacheScaled = 0, (1 != L || this.precisionModeEnabled) && k && (Z[he].fontScaled = new d(Z[he].fontBase.fontFamily.name,Z[he].fontBase.size * L,Z[he].fontBase.style,Z[he].fontBase.unit), Z[he].hFontScaled = Z[he].fontScaled.getHeight()); try { try { for (var he = 0; he < Z.length; he++) Z[he].lineHeight = Z[he].fontBase.sizeInPoints * L * 1.3, Z[he].ascend = Z[he].fontBase.sizeInPoints * L * 1.1, Z[he].descend = Z[he].fontBase.sizeInPoints * L * .2, Z[he].emValue = Z[he].fontBase.sizeInPoints * L; for (var he = 0; he < Z.length; he++) Z[he].hFont = Z[he].fontBase.getHeight(); try { if (N > 45 && N < 135 || N > 225 && N < 315) { var me = j.width; j.width = j.height, j.height = me } var fe = -N * Math.PI / 180; k && this.compatibility2009; var pe = new a , Se = 0; while (Se < i.ref.length) { var ge = new C; ge.begin = Se; while (Se < i.ref.length && "\r" != i.ref[Se] && "\n" != i.ref[Se]) Se++; ge.end = Se; while (ge.end > ge.begin + 1 && f.isWhitespace(i.ref[ge.end - 1])) ge.end--; pe.add(ge), Se++, Se < i.ref.length && ("\r" == i.ref[Se] || "\n" == i.ref[Se]) && i.ref[Se - 1] != i.ref[Se] && Se++ } J.length > 0 && J[0].ts.indent < 0 && pe.length > 0 && (pe[0].indent = -J[0].ts.indent, null != J[0].listLevels && (J[0].ts.indent = J[0].listLevels.length)); var ye = c.measureString("…", Z[0].fontBase).width * L , ve = 1 , be = (j.height - Z[0].lineHeight) / (Z[0].lineHeight * S) + 1 , Ce = Math.trunc(be); A || (E ? Ce = pe.length : Ce++); for (var Te = Ce, we = new a, De = 0, Pe = 0; Pe < pe.length; Pe++) { var xe = pe[Pe] , Be = i.ref.substr(xe.begin, xe.length) , Le = Be.length , Ne = J[K[xe.begin]].ts.indent , Fe = 10 * Ne , Ae = 0 , Re = 0 , ke = Fe > 0 , Oe = !1; if (xe.indent > 0 && (Re = xe.indent, Ae = xe.indent, Oe = !0), 0 == Le) { var Me = new C; Me.begin += xe.begin, we.add(Me), De = we.length; continue } if (Le > 0) { var Ee = Array.create(Number, Le) , He = 0; while (He < Le) { while (He < Le) { var Ie = f.getUnicodeCategory(Be[He]); if (Ie == p.OpenPunctuation || Ie == p.ClosePunctuation || Ie == p.InitialQuotePunctuation || Ie == p.FinalQuotePunctuation) break; He++ } if (He < Le) { var ze = He , We = He; if (f.getUnicodeCategory(Be[He]) == p.OpenPunctuation || f.getUnicodeCategory(Be[He]) == p.InitialQuotePunctuation) { while (He < Le) { var Ie = f.getUnicodeCategory(Be[He]); if (Ie != p.OpenPunctuation && Ie != p.InitialQuotePunctuation && Ie != p.SpaceSeparator) break; He++ } if (He < Le && f.getUnicodeCategory(Be[He]) != p.ClosePunctuation && f.getUnicodeCategory(Be[He]) != p.FinalQuotePunctuation) { while (He < Le) { var Ie = f.getUnicodeCategory(Be[He]); if (Ie == p.SpaceSeparator || this.isWordWrapSymbol2(Be, He) || this.isCJKWordWrap(Be, He)) break; He++ } while (He < Le) { var Ie = f.getUnicodeCategory(Be[He]); if (Ie != p.SpaceSeparator) break; He++ } He < Le && f.getUnicodeCategory(Be[He]) == p.DashPunctuation && He++ } if (He < Le && (f.getUnicodeCategory(Be[He]) == p.ClosePunctuation || f.getUnicodeCategory(Be[He]) == p.FinalQuotePunctuation)) while (He < Le) { var Ie = f.getUnicodeCategory(Be[He]); if (Ie != p.ClosePunctuation && Ie != p.FinalQuotePunctuation && Ie != p.OtherPunctuation && Ie != p.SpaceSeparator) break; He++ } We = He } else { He--; while (He >= 0) { var Ie = f.getUnicodeCategory(Be[He]); if (Ie != p.SpaceSeparator) break; He-- } while (He >= 0) { var Ie = f.getUnicodeCategory(Be[He]); if (Ie == p.SpaceSeparator || 0 != Ee[He] || this.isCJKWordWrap(Be, He)) break; He-- } ze = He + (this.isCJKWordWrap(Be, He) ? 0 : 1), He = We; while (He < Le) { var Ie = f.getUnicodeCategory(Be[He]); if (Ie != p.ClosePunctuation && Ie != p.FinalQuotePunctuation && Ie != p.OtherPunctuation && Ie != p.SpaceSeparator) break; He++ } We = He } while (We > ze && f.getUnicodeCategory(Be[We - 1]) == p.SpaceSeparator) We--; Ee[ze] = 2; for (var Ge = ze + 1; Ge < We; Ge++) Ee[Ge] = 1 } } for (var je = !1, Ve = 0; Ve < Le; Ve++) if (" 11" == Be[Ve] || " " == Be[Ve]) { je = !0, Ee[Ve] = 1; var Xe = Ve , qe = !0; while (Xe > 0 && f.isLetterOrDigit(Be[Xe - 1])) { if (Xe--, 0 != Ee[Xe]) { qe = !1; break } Ee[Xe] = 1 } qe && (Ee[Xe] = 2), Xe = Ve; while (Xe + 1 < Le && (f.isLetterOrDigit(Be[Xe + 1]) || " 11" == Be[Xe + 1] || " " == Be[Xe + 1])) Xe++, Ee[Xe] = 1; Ve = Xe } je && (Be = Be.stimulsoft.replaceAll(" 11", "-")); for (var Ve = 0; Ve < Le; Ve++) if (this.isNotWordWrapSymbol(Be, Ve)) if (Ve > 0 && this.isNotWordWrapSymbol2(Be, Ve - 1)) { Ee[Ve] = 1; var Xe = Ve; if (!this.isWordWrapSymbol2(Be, Xe) && !this.isCJKSymbol(Be, Xe)) { Xe++; while (Xe < Be.length && f.isLetterOrDigit(Be[Xe]) && !this.isCJKSymbol(Be, Xe)) { if (0 != Ee[Xe]) break; Ee[Xe] = 1, Xe++ } } Xe = Ve; var qe = !1 , Ue = !0; while (Xe > 0 && this.isNotWordWrapSymbol2(Be, Xe - 1) && !this.isWordWrapSymbol2(Be, Xe - 1) && Ue) { if (qe = !0, Xe--, 0 != Ee[Xe]) { qe = !1; break } Ee[Xe] = 1, Ue = !this.isCJKSymbol(Be, Xe) } qe && (Ee[Xe] = 2) } else if (Ve < Be.length - 1 && this.isNotWordWrapSymbol2(Be, Ve + 1)) { var qe = 0 == Ee[Ve] , Xe = Ve; if (!this.isWordWrapSymbol2(Be, Xe)) { Xe++; while (Xe < Be.length && f.isLetterOrDigit(Be[Xe])) { if (0 != Ee[Xe]) break; Ee[Xe] = 1, Xe++ } } qe && (Ee[Ve] = 2) } var Ye = Array.create(Number, Le) , Ze = null , Je = 1; Ze = Array.create(y, Je + 1, !0), Ze[1].iCharPos = Be.length; for (var Ke = new a(Ze), Qe = Ze.length - 2; Qe > 0; Qe--) { var _e = Ze[Qe].iCharPos; (_e == Ze[Qe + 1].iCharPos - 1 && "-" == Be[_e] && f.isLetter(Be, _e - 1) || f.isDigit(Be, _e) && f.isLetter(Be, _e - 1)) && Ke.removeAt(Qe) } if (Ke.length < Ze.length) { Ze = Array.create(y, Ke.length, !0); for (var $e = 0; $e < Ke.length; $e++) Ze[$e] = Ke[$e].clone(); Je = Ze.length - 1 } Ke.clear(); var et = new a; et.add(Ze[0].clone()); for (var tt = 0, Ve = 0; Ve < Le; Ve++) { if (Ve == Ze[tt + 1].iCharPos) { tt++, et.add(Ze[tt].clone()); continue } if (2 == Ee[Ve] && 0 != Ve) { var rt = Ze[tt].clone(); rt.iCharPos = Ve, et.add(rt); continue } if (Ve > 0 && K[xe.begin + Ve] != K[xe.begin + Ve - 1]) { var rt = Ze[tt].clone(); rt.iCharPos = Ve, et.add(rt); continue } } et.add(Ze[Je].clone()), Ze = Array.create(y, et.length, !0); for (var it = 0; it < et.length; it++) Ze[it] = et[it].clone(); Je = et.length - 1; var nt = 2 * Le; nt < 20 && (nt = 20); for (var ot = 0, at = 0, st = 0, lt = 0, ut = -1, it = 0; it < Je; it++) { var ct = Array.create(Number, nt) , dt = Array.create(Number, Le) , ht = Array.create(Number, nt) , mt = void 0 , ft = Ze[it].iCharPos , pt = Ze[it + 1].iCharPos - ft , St = Be.substr(ft, pt); Q = K[xe.begin + ft]; var gt = Z[J[Q].fontIndex]; 2 == Ee[ft] && it != lt && (st = it), mt = pt; for (var yt = 0; yt < mt; yt++) dt[yt] = yt; for (var oe = 0; oe < St.length; oe++) { var vt = c.measureString(St[oe], gt.fontBase); ht[oe] = vt.width } if (this.correctionEnabled && !this.compatibility2009) { var bt = this.getFontWidth(gt); if (bt.length > 0) for (var Ct = this.maxFontSize / gt.emValue, Tt = 0; Tt < mt; Tt++) { if (0 == ht[Tt]) continue; var wt = ct[Tt]; wt >= bt.length && (wt = bt.length - 1); var Dt = bt[wt] / Ct; if (ht[Tt] < Dt - .4) { var Pt = Math.round(Dt); ht[Tt] >= Pt && Pt++, ht[Tt] = Pt } else { var xt = ht[Tt] / Dt; ht[Tt] - Dt > 1 && xt > 1.1 && (ht[Tt] = Math.ceil(Dt)) } } } if (0 != J[Q].ts.letterSpacing) for (var Bt = 1.35 * gt.emValue * J[Q].ts.letterSpacing, Lt = 0, Nt = 0, Tt = 0; Tt < mt; Tt++) { Nt += ht[Tt] + Bt; var Ft = Math.trunc(Nt - Lt); Lt += Ft, ht[Tt] = Ft } if (0 != J[Q].ts.wordSpacing) for (var At = gt.emValue * J[Q].ts.wordSpacing, Lt = 0, Nt = 0, Ve = 0; Ve < pt; Ve++) if (f.isWhitespace(St[Ve])) { Nt += ht[dt[Ve]] + At; var Ft = Math.trunc(Nt - Lt); Lt += Ft, ht[dt[Ve]] += Ft } for (var Rt = 0, Ve = 0; Ve < pt; Ve++) { "­" == St[Ve] && (ut = ht[Ve], ht[Ve] = 0); var kt = 0; if ("\t" == St[Ve]) kt = this.getTabsWidth(z, ve, ot + Rt); else { var Ot = dt[Ve]; while (Ve < pt - 1 && dt[Ve + 1] == Ot) Ve++; var Mt = Ot , Et = Ot; Et = Ve + 1 < pt ? dt[Ve + 1] : mt; for (var Tt = Mt; Tt < Et; Tt++) kt += ht[Tt] } Rt += kt, Ye[ft + Ve] = kt, ke && ft + Ve + 1 == Fe && !Oe && (Ae = ot + Rt) } var Ht = Number.MAX_VALUE , It = !1; if (F != m.None ? (Ht = j.width, D && we.length + 1 != Te || (It = !0), F != m.EllipsisCharacter && F != m.EllipsisWord || It && (Ht = j.width - ye)) : D && (Ht = j.width - Re), Math.round2((ot + Rt) * L, this.precisionDigits) <= Ht) ot += Rt; else { for (var zt = 0, Wt = 0, Gt = 0, jt = 0, Ve = 0; Ve < pt; Ve++) { if ("\t" == St[Ve]) { var Vt = this.getTabsWidth(z, ve, ot + zt); Ye[ft + Ve] = Vt } var Ot = dt[Ve]; while (Ve < pt - 1 && dt[Ve + 1] == Ot) Ve++; if (zt += Ye[ft + Ve], Math.round2((ot + Wt) * L), this.precisionDigits > Ht) { if (It) { if (F != m.Character && F != m.EllipsisCharacter || 0 == (Le = ft + Ve) && Le++, F != m.Word && F != m.EllipsisWord || (Le = ft + Gt, 0 == Le && (Le = ft + Ve), 0 == Le && Le++), it = Je, at < Le) { var Xt = new C; Xt.begin = at, Xt.end = Le, Xt.needWidthAlign = !1, F != m.EllipsisCharacter && F != m.EllipsisWord || (Xt.text = Be.substr(Xt.begin, Xt.length) + "…"), we.add(Xt), at = Le } break } var qt = !1; if (1 == Ee[ft + Ve]) { var Ut = ft + Ve - 1; while (1 == Ee[Ut]) Ut--; Ut == at && (qt = !0) } Gt == jt && 0 == ot || qt ? (jt = Ve, 0 != jt || qt || jt++, ft + jt - at == 0 && jt++, jt > 0 && "­" == St[jt - 1] && jt--) : jt = Gt; var Me = new C; Me.begin = at, Me.end = ft + jt, Me.needWidthAlign = !0, we.add(Me), Oe && (Me.indent = Ae), Me.end - 1 > 0 && "­" == i.ref[Me.end - 1] && ut >= 0 && (Ye[Me.end - 1] = ut), Re = Ae, Oe = !0; while (Me.end > Me.begin + 1 && f.isWhitespace(Be[Me.end - 1])) Me.end--; while (jt < pt - 1 && (f.isWhitespace(Be[ft + jt]) || "­" == Be[ft + jt])) jt++; if (zt = 0, Wt = 0, ot = 0, Gt = jt, at = ft + jt, Ve = jt - 1, at < Le && 1 == Ee[at] && 0 != st) { at = Ze[st].iCharPos, Me.end = at, it = st - 1, lt = st, st = 0; while (Me.end > Me.begin + 1 && f.isWhitespace(Be[Me.end - 1])) Me.end--; break } st = 0, lt = 0 } } ot += zt } } if (at < Le) { var Me = new C; Me.begin = at, Me.end = Le, Me.needWidthAlign = !1, (F == m.EllipsisCharacter || F == m.EllipsisWord) && we.length + 1 == Te && Pe + 1 < pe.length && (Me.text = Be.substr(Me.begin, Me.length) + "…"), Oe && (Me.indent = Ae), we.add(Me) } for (var Yt = De; Yt < we.length; Yt++) { for (var Zt = we[Yt], Jt = 0, Kt = 0, Ve = Zt.begin; Ve < Zt.end; Ve++) { Jt += Ye[Ve]; var Qt = i.ref[xe.begin + Ve]; f.isWhitespace(Qt) && " " != Qt && Kt++ } if (null != Zt.text && (Jt += ye), Zt.width = Math.trunc(Jt * L), Zt.begin += xe.begin, Kt > 0) { var _t = (j.width - Zt.width - Zt.indent) / Kt; _t > 0 ? Zt.justifyOffset = _t : Zt.needWidthAlign = !1 } } De = we.length } } pe = we, A || F != m.None || (Te = pe.length); var $t = 0 , er = 0; Ce = 0; for (var Pe = 0; Pe < pe.length; Pe++) { var tr = pe[Pe]; $t < tr.width && ($t = tr.width); for (var rr = J[K[tr.begin]].fontIndex, Ve = tr.begin + 1; Ve < tr.end; Ve++) { var ir = J[K[Ve]].fontIndex; Z[rr].fontBase.size < Z[ir].fontBase.size && (rr = ir) } tr.indexOfMaxFont = rr; var nr = 1; if (Pe != pe.length - 1) { var or = pe[Pe + 1] , ar = or.begin; ar > 0 && ar--, nr = J[K[ar]].ts.lineHeight } tr.lineHeight = Z[rr].lineHeight * nr, er += tr.lineHeight, (er < G.height || er - tr.lineHeight + Z[rr].lineHeight < G.height) && Ce++, tr.textAlignment = J[K[tr.end - (tr.length > 0 ? 1 : 0)]].ts.textAlign } if (A && (Te = Ce), R.ref.width = $t, R.ref.height = Math.round(er), 0 == pe.length && (R.ref.height = 0), this.optimizeBottomMargin ? 1 == pe.length ? R.ref.height += .07 * Z[0].lineHeight : 2 == pe.length ? R.ref.height += .085 * Z[0].lineHeight : pe.length > 2 && (R.ref.height += .1 * Z[0].lineHeight) : (1 == pe.length && (R.ref.height += .1 * Z[0].lineHeight), pe.length > 1 && (R.ref.height += .4 * Z[0].lineHeight)), N > 45 && N < 135 || N > 225 && N < 315) { var me = R.ref.width; R.ref.width = R.ref.height, R.ref.height = me, R.ref.height > G.height && D && (R.ref.height = G.height), R.ref.width > G.width && (R.ref.width = G.width) } else R.ref.width > G.width && D && (R.ref.width = G.width), R.ref.height > G.height && (R.ref.height = G.height); if (R.ref.width += 3 * L, null != O) for (var oe = 0; oe < pe.length; oe++) { var tr = pe[oe] , Be = tr.text; null == Be && (Be = i.ref.substr(tr.begin, tr.length)); var sr = Be.length > 0 && "­" == Be[Be.length - 1]; Be = Be.stimulsoft.replaceAll("­", "") + (sr ? "-" : ""), tr.indent > 0 && (Be = this.getIndentString(tr.indent) + Be), O.add(Be), null != M && M.add(tr) } if (k) { this.compatibility2009; var lr = pe.length; lr > Te && (lr = Te); for (var ur = 0, cr = 0, Pe = 0; Pe < lr; Pe++) cr += pe[Pe].lineHeight; cr = Math.trunc(cr); var dr = v; switch (0 != N && 90 != N && 180 != N && 270 != N && (dr = t.StiVertAlignment.Center), dr) { case t.StiVertAlignment.Center: ur += (j.height - cr) / 2; break; case t.StiVertAlignment.Bottom: ur += j.height - cr; break } for (var hr = ur, Pe = 0; Pe < lr; Pe++) { var mr = pe[Pe]; if (mr.length > 0) { var Be = i.ref.substr(mr.begin, mr.length); null != mr.text && (Be = mr.text), -1 != Be.indexOf(" 11") && (Be = Be.stimulsoft.replaceAll(" 11", "-")), Be = Be.substr(0, Be.length - 1).stimulsoft.replaceAll("­", " 0B") + Be[Be.length - 1]; var fr = mr.indent * L , pr = mr.width , Sr = mr.textAlignment; switch (P && (mr.textAlignment == t.StiTextHorAlignment.Left && (Sr = t.StiTextHorAlignment.Right), mr.textAlignment == t.StiTextHorAlignment.Right && (Sr = t.StiTextHorAlignment.Left)), _ && Pe == pe.length - 1 && (mr.needWidthAlign = !0), Sr != t.StiTextHorAlignment.Width || mr.needWidthAlign || (Sr = P ? t.StiTextHorAlignment.Right : t.StiTextHorAlignment.Left), Sr) { case t.StiTextHorAlignment.Center: fr += (j.width - pr) / 2; break; case t.StiTextHorAlignment.Right: fr += j.width - pr; break } var Ze = void 0 , Je = 1; Ze = Array.create(y, Je + 1, !0), Ze[1].iCharPos = Be.length; var gr = Je , et = new a; et.add(Ze[0].clone()); for (var tt = 0, Ve = 0; Ve < Be.length; Ve++) { if (Ve == Ze[tt + 1].iCharPos) { tt++, et.add(Ze[tt].clone()); continue } if (Ve > 0 && K[mr.begin + Ve] != K[mr.begin + Ve - 1]) { var rt = Ze[tt].clone(); rt.iCharPos = Ve, et.add(rt); continue } } et.add(Ze[Je].clone()), Ze = Array.create(y, et.length, !0); for (var it = 0; it < et.length; it++) Ze[it] = et[it].clone(); Je = et.length - 1; var Le = Be.length , nt = 2 * Le; nt < 20 && (nt = 20); for (var ot = 0, yr = fr, it = 0; it < Je; it++) { var ct = Array.create(Number, nt) , dt = Array.create(Number, Le) , ht = Array.create(Number, nt) , mt = void 0 , vr = it , ft = Ze[vr].iCharPos , pt = Ze[vr + 1].iCharPos - ft , St = Be.substr(ft, pt); Q = K[mr.begin + ft]; var gt = Z[J[Q].fontIndex] , br = 0 != gt.hFontScaled , Cr = hr; if (J[Q].ts.superscript || J[Q].ts.subsript) { var Tr = Z[gt.parentFontIndex]; Cr += Z[mr.indexOfMaxFont].ascend - Tr.ascend, J[Q].ts.subsript && (Cr += Tr.lineHeight - (gt.ascend + gt.descend)) } else Cr += Z[mr.indexOfMaxFont].ascend - gt.ascend; var wr = br ? gt.hScriptCacheScaled : gt.hScriptCache; mt = pt; for (var yt = 0; yt < mt; yt++) dt[yt] = yt; var Dr = 0; if (br) { for (var oe = 0; oe < St.length; oe++) { var vt = c.measureString(St[oe], gt.fontBase); ht[oe] = vt.width } if (this.correctionEnabled && !this.compatibility2009) { var bt = this.getFontWidth(gt); if (bt.length > 0) for (var Ct = this.maxFontSize / gt.emValue, Tt = 0; Tt < mt; Tt++) { if (0 == ht[Tt]) continue; var wt = ct[Tt]; wt >= bt.length && (wt = bt.length - 1); var Dt = bt[wt] / Ct; if (ht[Tt] < Dt - .4) { var Pt = Math.round(Dt); ht[Tt] >= Pt && Pt++, ht[Tt] = Pt } else { var xt = ht[Tt] / Dt; ht[Tt] - Dt > 1 && xt > 1.1 && (ht[Tt] = Math.ceil(Dt)) } } } for (var Tt = 0; Tt < mt; Tt++) Dr += ht[Tt] } for (var oe = 0; oe < St.length; oe++) { var vt = c.measureString(St[oe], gt.fontBase); ht[oe] = vt.width } if (this.correctionEnabled && !this.compatibility2009) { var bt = this.getFontWidth(gt); if (bt.length > 0) for (var Ct = this.maxFontSize / gt.emValue / L, Tt = 0; Tt < mt; Tt++) { if (0 == ht[Tt]) continue; var wt = ct[Tt]; wt >= bt.length && (wt = bt.length - 1); var Dt = bt[wt] / Ct; if (ht[Tt] < Dt - .4) { var Pt = Math.round(Dt); ht[Tt] >= Pt && Pt++, ht[Tt] = Pt } else { var xt = ht[Tt] / Dt; ht[Tt] - Dt > 1 && xt > 1.1 && (ht[Tt] = Math.ceil(Dt)) } } } if (br) { for (var Pr = 0, Tt = 0; Tt < mt; Tt++) Pr += ht[Tt]; if (Pr > 0) for (var xr = Dr * L / Pr, Lt = 0, Nt = 0, Tt = 0; Tt < mt; Tt++) { Nt += ht[Tt] * xr; var Ft = Math.trunc(Nt - Lt); Lt += Ft, ht[Tt] = Ft } } var Br = null; if (null != H) { Br = Array.create(Number, mt); for (var Ve = 0; Ve < mt; Ve++) Br[Ve] = ht[Ve] } var Lr = 0; if (0 != J[Q].ts.letterSpacing) { for (var Bt = 1.35 * gt.emValue * J[Q].ts.letterSpacing * L, Lt = 0, Nt = 0, Tt = 0; Tt < mt; Tt++) { Nt += ht[Tt] + Bt; var Ft = Math.trunc(Nt - Lt); Lt += Ft, ht[Tt] = Ft } Lr += Bt * mt } if (0 != J[Q].ts.wordSpacing) for (var At = gt.emValue * J[Q].ts.wordSpacing * L, Lt = 0, Nt = 0, Ve = 0; Ve < pt; Ve++) if (f.isWhitespace(St[Ve])) { Nt += ht[dt[Ve]] + At; var Ft = Math.trunc(Nt - Lt); Lt += Ft, ht[dt[Ve]] += Ft, Lr += At } for (var Rt = 0, Nr = !0, Ve = 0; Ve < pt; Ve++) { var kt = 0; if ("\t" == St[Ve]) { var Fr = this.getTabsWidth(z, ve * L, ot + Rt); kt = Fr, Dr += Math.trunc(Fr / L) } else { var Ot = dt[Ve]; while (Ve < pt - 1 && dt[Ve + 1] == Ot) Ve++, Nr = !1; var Mt = Ot , Et = Ot; Et = Ve + 1 < pt ? dt[Ve + 1] : mt; for (var Tt = Mt; Tt < Et; Tt++) kt += ht[Tt]; Et - Mt > 1 && (Nr = !1) } Rt += kt } var Ar = 0 , Rr = 0; if (Sr == t.StiTextHorAlignment.Width) for (var Ve = 0; Ve < pt; Ve++) if (f.isWhitespace(St[Ve]) && " " != St[Ve]) { Rr += mr.justifyOffset; var kr = Math.trunc(Rr - Ar); Ar += kr, ht[dt[Ve]] += kr } if (Nr || null != H) { var Or = new T; Or.text = St, Or.xPos = yr, Or.yPos = Cr, Or.widths = Array.create(Number, pt); for (var Ve = 0; Ve < pt; Ve++) { var Mr = Ve , Ot = dt[Ve]; while (Ve < pt - 1 && dt[Ve + 1] == Ot) Ve++; var Mt = Ot , Et = Ot; if (Et = Ve + 1 < pt ? dt[Ve + 1] : mt, Mr != Ve || Et - Mt > 1) { for (var kt = 0, Tt = Mt; Tt < Et; Tt++) kt += ht[Tt]; if (Ve != Mr) { for (var Er = Ve - Mr + 1, Hr = kt / Er, Ir = 0, zr = 0, Wr = 0; Wr < Er - 1; Wr++) { Ir += Hr; var Gr = Math.trunc(Math.round(Ir) - zr); zr += Gr, Or.widths[Mr + Wr] = Gr } Or.widths[Ve] = kt - zr } else Or.widths[Ve] = kt } else Or.widths[Ve] = ht[Mt] } null == Br && (Br = Array.create(Number, mt)), Or.glyphIndexList = Array.create(Number, mt), Or.glyphWidths = Array.create(Number, mt), Or.scaleList = Array.create(Number, mt); for (var Tt = 0; Tt < mt; Tt++) Or.glyphIndexList[Tt] = ct[Tt], Or.glyphWidths[Tt] = ht[Tt], Or.scaleList[Tt] = 1, 0 != Br[Tt] && (Or.scaleList[Tt] = ht[Tt] / Br[Tt]); Or.textColor = J[Q].ts.fontColor, Or.backColor = J[Q].ts.backColor, Or.fontIndex = J[Q].fontIndex, Or.href = J[Q].ts.href, Y.add(Or) } br ? gt.hScriptCacheScaled != wr && (gt.hScriptCacheScaled = wr) : gt.hScriptCache != wr && (gt.hScriptCache = wr), yr += br ? Dr * L + Rr + Lr : Rt + Rr, ot += Rt } } hr += mr.lineHeight } } if (!k && pe.length > Te) if (_ = Te > 0 && pe[Te - 1].needWidthAlign, E) { var tr = pe[Te] , jr = K[tr.begin] , ae = J[jr] , Vr = tr.begin; while (Vr > 0 && K[Vr - 1] == K[Vr]) Vr--; var Xr = tr.begin - Vr , qr = this.prepareStateText(ae.text).toString(); if (Te > 0) { var Ur = null; Ur = jr > 0 && J[jr - 1].ts.tag.tag == w.ListItem && ae.ts.tag.tag == w.ListItem ? null == J[jr - 1].listLevels || null == ae.listLevels || J[jr - 1].listLevels.length == ae.listLevels.length ? "
  • " + qr.substr(0, Xr) : (ae.listLevels[ae.listLevels.length - 1] > 0 ? "
      " : "
        ") + qr.substr(0, Xr) : this.stateToHtml(ae, ae, qr.substr(0, Xr), tr.indent), q = $.substr(0, ae.posBegin) + (Xr > 0 ? Ur : "") + (_ ? this.StiForceWidthAlignTag : "") } else q = ""; var ar = K[tr.begin] + 1; U = this.stateToHtml(ae, ae.ts.tag.tag == w.ListItem || ae.ts.tag.tag == w.P ? J[ar] : ae, qr.substr(Xr), tr.indent), ae.ts.tag.tag == w.ListItem && ar < J.length && (U += J[ar].text, ar++), ar < J.length && (U += $.substr(J[ar].posBegin)) } else { var tr = null; Te > 0 ? (tr = pe[Te - 1], q = i.ref.substr(0, tr.end) + (_ ? this.StiForceWidthAlignTag : "")) : q = "", tr = pe[Te], U = i.ref.substr(tr.begin) } } catch (e) {} finally { for (var he = 0; he < Z.length; he++) ; } } catch (e) {} Y.length > 0 && null != H && (H.clear(), H.addRange(Y), I.clear(), I.addRange(Z)) } catch (e) {} finally { for (var he = 0; he < Z.length; he++) Z[he].hFontScaled } } return i.ref = U, q } , v.getFontWidth = function(e) { var t = e.fontNameReal + (e.fontBase.bold ? ",bold" : "") + (e.fontBase.italic ? ",italic" : ""); null == this.hashFonts && (this.hashFonts = new S); 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 } , v.getFontWidth2 = function(e) { for (var t = [], r = new d(e.name,this.maxFontSize,e.style), i = [], n = 0; n < 65536 - 1; n++) i[n] = n; return t } , v.isWordWrapSymbol2 = function(e, t) { var r = e[t]; return "!" == r || "%" == r || ")" == r || "}" == r || "-" == r || "?" == r || ")" == r || ":" == r || "、" == r || "," == r || "。" == r } , v.isNotWordWrapSymbol = function(e, t) { var r = f.getUnicodeCategory(e[t]) , i = r == p.OtherPunctuation || r == p.MathSymbol || r == p.CurrencySymbol; return t > 0 && this.isWordWrapSymbol2(e, t - 1) && (i = !1), i } , v.isNotWordWrapSymbol2 = function(e, t) { var r = f.getUnicodeCategory(e[t]); return r == p.OtherPunctuation || r == p.MathSymbol || r == p.CurrencySymbol || f.isLetterOrDigit(e[t]) } , v.isCJKWordWrap = function(e, t) { if (t > 0 && this.isCJKSymbol(e, t)) return this.isCJKSymbol(e, t - 1); return !1 } , v.isCJKSymbol = function(e, t) { var r = e.charCodeAt(t); return r >= 19968 && r <= 40908 || r >= 13312 && r <= 19893 } , v.precisionDigits = 5, v.precisionModeFactor = 4, v.precisionModeEnabled = !1, v.correctionEnabled = !0, v.maxFontSize = 1024, v.compatibility2009 = !1, v.optimizeBottomMargin = !0, v.htmlNameToColor = null, v.interpreteFontSizeInHtmlTagsAsInHtml = !1, v._htmlEscapeSequence = null, v.bulletBlack = "•", v.bulletWhite = "◦", v.StiForceWidthAlignTag = "", v }(); t.StiTextRenderer = v; var b = function() { function e() { this.elipsisWidth = 0, this._fontNameReal = null } return Object.defineProperty(e.prototype, "fontNameReal", { get: function() { return null != this._fontNameReal ? this._fontNameReal : this._fontNameReal = this.fontBase.name }, enumerable: !0, configurable: !0 }), e }(); t.StiFontState = b; var C = function() { function e() { this.begin = 0, this.length = 0, this.needWidthAlign = !1, this.width = 0, this.justifyOffset = 0, this.indexOfMaxFont = 0, this.lineHeight = 0, this.textAlignment = t.StiTextHorAlignment.Left, this.indent = 0 } return Object.defineProperty(e.prototype, "end", { get: function() { return this.begin + this.length }, set: function(e) { this.length = e - this.begin }, enumerable: !0, configurable: !0 }), e }(); t.LineInfo = C; var T = function() { function e() {} return e }(); t.RunInfo = T; var w; !function(e) { e[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" }(w = t.StiHtmlTag || (t.StiHtmlTag = {})); var D; !function(e) { e[e.Start = 0] = "Start", e[e.End = 1] = "End", e[e.Empty = 2] = "Empty" }(D = t.StiHtmlTag2State || (t.StiHtmlTag2State = {})); var P = function() { function e(e, t) { void 0 === e && (e = w.None), void 0 === t && (t = D.Start), this.tag = e, this.state = t } return Object.defineProperty(e.prototype, "isStart", { get: function() { return this.state == D.Start }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isEnd", { get: function() { return this.state == D.End }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isEmpty", { get: function() { return this.state == D.Empty }, enumerable: !0, configurable: !0 }), e.prototype.isStartTag = function(e) { return this.tag == e && this.state == D.Start } , e.prototype.isEndTag = function(e) { return this.tag == e && this.state == D.End } , e.prototype.equals = function(e) { if (this.tag != e.tag) return !1; if (this.tag == w.Unknown) return this.tagName == e.tagName; return !0 } , e.prototype.toString = function() { return this.tag == w.Unknown ? "'" + this.tagName + "'" : this.tag.toString() } , e }(); t.StiHtmlTag2 = P; var x = function() { function e(t, r, i, n, o, a, s, l, u, c, d, h, m, f) { if (t.stimulsoft.is(e)) { var p = t.stimulsoft.as(e); 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 } else this.bold = t, this.italic = r, this.underline = i, this.strikeout = n, this.fontSize = o, this.fontName = a, this.fontColor = s, this.backColor = l, this.subsript = c, this.superscript = u, this.letterSpacing = d, this.wordSpacing = h, this.lineHeight = m, this.textAlign = f, this.isColorChanged = !1, this.isBackcolorChanged = !1, this.tag = new P, this.indent = 0, this.htmlStyle = "", this.href = null } return e.prototype.clone = function() { var t = new e(!0); return t.bold = this.bold, t.italic = this.italic, t.underline = this.underline, t.strikeout = this.strikeout, t.fontSize = this.fontSize, t.fontName = this.fontName, t.fontColor = this.fontColor, t.backColor = this.backColor, t.subsript = this.subsript, t.superscript = this.superscript, t.letterSpacing = this.letterSpacing, t.wordSpacing = this.wordSpacing, t.lineHeight = this.lineHeight, t.textAlign = this.textAlign, t.isColorChanged = this.isColorChanged, t.isBackcolorChanged = this.isBackcolorChanged, t.tag = this.tag, t.indent = this.indent, t.htmlStyle = this.htmlStyle, t.href = this.href, t } , e }(); t.StiHtmlTagsState = x; var B = function() { function e(t, r) { if (t.stimulsoft.is(String)) this.ts = new x(!1), this.ts.tag = new P, this.text = new u(t), this.fontIndex = 0, this.posBegin = 0, this.tagsStack = null, this.listLevels = null; else if (t.stimulsoft.is(x)) this.ts = t.stimulsoft.as(x), this.text = new u, this.fontIndex = 0, this.posBegin = r, this.tagsStack = null, this.listLevels = null; else { var i = t.stimulsoft.as(e); this.ts = new x(i.ts), this.text = new u, this.fontIndex = 0, this.posBegin = i.posBegin, this.tagsStack = null, this.listLevels = i.listLevels, this.ts.indent < 0 && (null != this.listLevels ? this.ts.indent = this.listLevels.length : this.ts.indent = 0) } } return e.prototype.clone = function() { var t = new e(this.ts); return t.ts = this.ts.clone(), t.text = new u(this.text.toString()), t.fontIndex = this.fontIndex, t.posBegin = this.posBegin, t.tagsStack = this.tagsStack, t.listLevels = this.listLevels, t } , e.prototype.toString = function() { return '"' + this.text.toString().stimulsoft.replaceAll("\n", "\\n") + '" ' + (this.ts.tag.tag == w.None ? "" : this.ts.tag.toString()) } , e }(); t.StiHtmlState = B; var L = function() { function e() {} return e }(); t.TagPair = L }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.StiPlanIdent || (e.StiPlanIdent = {})); var r; !function(e) { e[e.Cycles = 1] = "Cycles" }(r = e.StiPlanFeatureIdent || (e.StiPlanFeatureIdent = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString, i = e.System.DateTime, n = e.System.TimeSpan, o; !function(e) { e[e.USA_DATE = 0] = "USA_DATE", e[e.UK_DATE = 1] = "UK_DATE" }(o = t.DateTimeFormat || (t.DateTimeFormat = {})); var a = function() { function e(e, t, r, o, a, s) { if (this.indexOfDate = e, this.lengthOfDate = t, this.indexOfTime = r, this.lengthOfTime = o, this.dateTime = a, this.isDateFound = e > -1, this.isTimeFound = r > -1, void 0 == s) this.utcOffset = new n(25,0,0), this.isUtcOffsetFound = !1, this.utcDateTime = new i(1,1,1,0,0,0,0); else if (this.utcOffset = s, this.isUtcOffsetFound = Math.abs(s.totalHours) < 12, this.isUtcOffsetFound) if (e < 0) { var l = a.timeOfDay.ticks + s.ticks; this.utcDateTime = l < 0 ? new i(1,1,2,0,0,0,0).addTicks(l) : new i(1,1,1,0,0,0,0).addTicks(l) } else this.utcDateTime = a.addTicks(s.ticks); else this.utcDateTime = new i(1,1,1,0,0,0,0) } return e }(); t.ParsedDateTime = a; var s = function() { function t() {} return Object.defineProperty(t, "defaultDate", { get: function() { return this.defaultDateIsNow ? i.now : this._defaultDate }, set: function(e) { this._defaultDate = e, this.defaultDateIsNow = !1 }, enumerable: !0, configurable: !0 }), t.tryParseDateTime = function(e, t, r) { var n = { ref: null }; if (this.tryParseDateTime2(e, t, n)) return r.ref = n.ref.dateTime, !0; return r.ref = new i(1,1,1,0,0,0,0), !1 } , t.tryParseDateTime2 = function(e, t, r) { if (this.tryParseDateOrTime2(e, t, r)) return !0; return r.ref = null, !1 } , t.tryParseDateOrTime2 = function(e, t, r) { var n = null , o = { ref: null } , s = { ref: null }; if (this.tryParseDate2(e, t, o)) if (this.tryParseTime2(e, t, s, o.ref)) { var l = new i(o.ref.dateTime.year,o.ref.dateTime.month,o.ref.dateTime.day,s.ref.dateTime.hour,s.ref.dateTime.minute,s.ref.dateTime.second,0); n = new a(o.ref.indexOfDate,o.ref.lengthOfDate,s.ref.indexOfTime,s.ref.lengthOfTime,l,s.ref.utcOffset) } else { var l = new i(o.ref.dateTime.year,o.ref.dateTime.month,o.ref.dateTime.day,0,0,0,0); n = new a(o.ref.indexOfDate,o.ref.lengthOfDate,-1,-1,l) } else { if (!this.tryParseTime2(e, t, s, null)) return !1; var l = new i(this.defaultDate.year,this.defaultDate.month,this.defaultDate.day,s.ref.dateTime.hour,s.ref.dateTime.minute,s.ref.dateTime.second,0); n = new a(-1,-1,s.ref.indexOfTime,s.ref.lengthOfTime,l,s.ref.utcOffset) } return r.ref = n, !0 } , t.tryParseTime2 = function(e, t, s, l) { s.ref = null; var u = t == o.USA_DATE ? "(?:\\s*(UTC|GMT|CST|EST))?" : "(?:\\s*(UTC|GMT))?", c, d, h = null, m = null, f = null, p = null, S = null, g = null, y = null, v = null; if (null != l && l.indexOfDate > -1 ? (c = new RegExp("(\\d{2})\\s*:\\s*(\\d{2})\\s*:\\s*(\\d{2})\\s+([\\+\\-])(\\d{2}):?(\\d{2})(?=$|[^\\d\\w])",""), d = e.substr(l.indexOfDate + l.lengthOfDate).match(c), null != d && (h = d[1], m = d[2], f = d[3], S = d[5], g = d[6], v = d[4]), null == d && (c = new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?" + u + "(?=$|[^\\d\\w])",""), null != (d = e.substr(l.indexOfDate + l.lengthOfDate).match(c)) && (h = d[1], m = d[2], f = d[3], p = d[4], y = d[5])), null == d && (c = new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?" + u + "(?=$|[\\s,]+)",""), null != (d = e.substr(0, l.indexOfDate).match(c)) && (h = d[1], m = d[2], f = d[3], p = d[4], y = d[5])), null == d && (c = new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?" + u + "(?=$|[\\s,]+)",""), null != (d = e.substr(l.indexOfDate, l.lengthOfDate).match(c)) && (h = d[1], m = d[2], f = d[3], p = d[4], y = d[5]))) : (c = new RegExp("(\\d{2})\\s*:\\s*(\\d{2})\\s*:\\s*(\\d{2})\\s+([\\+\\-])(\\d{2}):?(\\d{2})?(?=$|[^\\d\\w])",""), d = e.match(c), null != d && (h = d[1], m = d[2], f = d[3], S = d[5], g = d[6], v = d[4]), null == d && (c = new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?" + u + "(?=$|[^\\d\\w])",""), null != (d = e.match(c)) && (h = d[1], m = d[2], f = d[3], p = d[4], y = d[5]))), null == d) return !1; var b = parseInt(h); if (b < 0 || b > 23) return !1; var C = parseInt(m); if (C < 0 || C > 59) return !1; var T = 0; if (!r.isNullOrEmpty(f) && ((T = parseInt(f)) < 0 || T > 59)) return !1; null != p && "PM" == p.toUpperCase() && b < 12 ? b += 12 : null != p && "AM" == p.toUpperCase() && 12 == b && (b -= 12); var w = new i(1,1,1,b,C,T,0); if (!r.isNullOrWhiteSpace(S)) { var D = parseInt(S) , P = 0; r.isNullOrWhiteSpace(g) || (P = parseInt(g)); var x = new n(D,P,0); return "-" == v && (x = new n(-x.ticks)), s.ref = new a(-1,-1,d.index,d[0].length,w,x), !0 } if (!r.isNullOrWhiteSpace(y)) { var x = void 0; switch (y) { case "UTC": case "GMT": x = new n(0,0,0); break; case "CST": x = new n(-6,0,0); break; case "EST": x = new n(-5,0,0); break; default: throw new Error("Time zone: " + y + " is not defined.") } return s.ref = new a(-1,-1,d.index,d[0].length,w,x), !0 } return s.ref = new a(-1,-1,d.index,d[0].length,w), !0 } , t.tryParseDate2 = function(t, i, n) { if (n.ref = null, r.isNullOrEmpty(t)) return !1; var s = new RegExp("(\\d{4})\\s*([\\/])\\s*(\\d{1,2})\\s*[\\/]+\\s*(\\d{1,2})(?=$|[^\\d])","i") , l = t.match(s); if (null != l) { var u = { ref: null }; if (!this.convertToDate(parseInt(l[1]), parseInt(l[3]), parseInt(l[4]), u)) return !1; return n.ref = new a(l.index,l[0].length,-1,-1,u.ref), !0 } if (s = new RegExp("(\\d{1,2})\\s*([\\\\\\/\\.])+\\s*(\\d{1,2})\\s*[\\\\\\/\\.]+\\s*(\\d{2}|\\d{4})(?=$|[^\\d])","i"), null != (l = t.match(s))) { var u = { ref: null }; if ((i ^ o.USA_DATE) == o.USA_DATE) { if (!this.convertToDate(parseInt(l[4]), parseInt(l[1]), parseInt(l[3]), u)) return !1 } else if (!this.convertToDate(parseInt(l[4]), parseInt(l[3]), parseInt(l[1]), u)) return !1; return n.ref = new a(l.index,l[0].length,-1,-1,u.ref), !0 } if (s = new RegExp("(\\d{2}|\\d{4})\\s*([\\-])\\s*(\\d{1,2})\\s*[\\-]+\\s*(\\d{1,2})(?=$|[^\\d])","i"), null != (l = t.match(s))) { var u = { ref: null }; if (!this.convertToDate(parseInt(l[1]), parseInt(l[3]), parseInt(l[4]), u)) return !1; return n.ref = new a(l.index,l[0].length,-1,-1,u.ref), !0 } var c = e.System.Globalization.CultureInfo.currentCulture.dateTimeFormat.abbreviatedMonthNames.toList().where(function(e) { return !r.isNullOrWhiteSpace(e) }).select(function(e) { return e.length > 3 ? 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(t, n, c)) return !0; return c = e.System.Globalization.CultureInfo.currentCulture.dateTimeFormat.monthNames.toList().where(function(e) { return !r.isNullOrWhiteSpace(e) }).select(function(e) { return e.substr(0, 1).toUpperCase() + e.substr(1, e.length - 1).toLowerCase() }).toList(), this.tryParseDateInternal(t, n, c) } , t.tryParseDateInternal = function(e, t, i) { var n = r.join("|", i) , o = null , s = null , l = null , u = new RegExp("(?:^|[^\\d\\w])(" + n + ")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?\\s*,?\\s*(\\d{4})(?=$|[^\\d\\w])","i") , c = e.match(u); if (null != c && (s = c[1], l = c[2], o = c[3]), null == c && (u = new RegExp("(?:^|[^\\d\\w:])(\\d{1,2})(?:-?st\\s+|-?th\\s+|-?rd\\s+|-?nd\\s+|-|\\s+)(" + n + ")[uarychilestmbro]*(?:\\s*,?\\s*|-)'?(\\d{2}|\\d{4})(?=$|[^\\d\\w])","i"), null != (c = e.match(u)) && (l = c[1], s = c[2], o = c[3])), null == c && (u = new RegExp("(?:^|[^\\d\\w])(\\d{4})\\s+(" + n + ")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?(?=$|[^\\d\\w])","i"), null != (c = e.match(u)) && (o = c[1], s = c[2], l = c[3])), null == c && (u = new RegExp("(?:^|[^\\d\\w])(" + n + ")[uarychilestmbro]*\\s+(\\d{1,2})\\s+\\d{2}\\:\\d{2}\\:\\d{2}\\s+(?:MDT|UTC)\\s+(\\d{4})(?=$|[^\\d\\w])","i"), null != (c = e.match(u)) && (s = c[1], l = c[2])), null == c && (u = new RegExp("(?:^|[^\\d\\w])(" + n + ")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?(?:\\s*,?\\s*(\\d{4}))?(?=$|[^\\d\\w])","i"), null != (c = e.match(u)) && (s = c[1], l = c[2], o = c[3])), null != c) { var d = c.index , h = c[0].length; s = s.toLowerCase(); var m = i.firstOrDefault(function(e) { return e.toLowerCase() == s }); if (null == m) return !1; var f = i.indexOf(m) + 1 , p = r.isNullOrEmpty(o) ? this.defaultDate.year : parseInt(o) , S = { ref: null }; if (!this.convertToDate(p, f, parseInt(l), S)) return !1; return t.ref = new a(d,h,-1,-1,S.ref), !0 } return !1 } , t.convertToDate = function(e, t, r, n) { if (e >= 100) { if (e < 1e3) return n.ref = new i(1,1,1,0,0,0,0), !1 } else e += e > 30 ? 1900 : 2e3; try { if (t < 1 || t > 12 || r < 1 || r > 31) return n.ref = new i(1,1,1,0,0,0,0), !1; n.ref = new i(e,t,r,0,0,0,0) } catch (e) { return n.ref = new i(1,1,1,0,0,0,0), !1 } return !0 } , t._defaultDate = i.now, t.defaultDateIsNow = !0, t }(); t.DateTimeRoutines = s }(r = t.Helpers || (t.Helpers = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.Collections.Hashtable , n = e.System.Drawing.Size , o = e.System.Text.StringBuilder , a = e.System.StiPromise , s = function() { function e() {} return e.getImageAsync = function(t, r) { void 0 === r && (r = null); var i = new a; t.width < 50 && (t = new n(50,t.height)), t.height < 50 && (t = new n(t.width,50)), t.width = Math.trunc(t.width), t.height = Math.trunc(t.height); var s = new o , l = r.length; if (l > 100 && (l = 100), r.length > 0) for (var u = 0; u < l; u++) s.append(r[u] + (u != l - 1 ? "&" : "")); var c = new XMLHttpRequest; return c.open("POST", this.getBingUrl(t), !0), c.setRequestHeader("Content-Type", "text/plain; charset=utf-8"), c.responseType = "arraybuffer", c.onreadystatechange = function() { if (4 != c.readyState) return; if (200 == c.status) { var r = e.base64ArrayBuffer(c.response) , n = ''; i.callTry(n) } else i.callTry(null) } , c.send(s.toString()), i } , e.base64ArrayBuffer = function(e) { for (var t = "", r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", i = new Uint8Array(e), n = i.byteLength, o = n % 3, a = n - o, s, l, u, c, d, h = 0; h < a; h += 3) d = i[h] << 16 | i[h + 1] << 8 | i[h + 2], s = (16515072 & d) >> 18, l = (258048 & d) >> 12, u = (4032 & d) >> 6, c = 63 & d, t += r[s] + r[l] + r[u] + r[c]; return 1 == o ? (d = i[a], s = (252 & d) >> 2, l = (3 & d) << 4, t += r[s] + r[l] + "==") : 2 == o && (d = i[a] << 8 | i[a + 1], s = (64512 & d) >> 10, l = (1008 & d) >> 4, u = (15 & d) << 2, t += r[s] + r[l] + r[u] + "="), t } , e.getBingUrl = function(e) { return "https://dev.virtualearth.net/REST/v1/Imagery/Map/CanvasLight/?mapSize=" + e.width + "," + e.height + "&key=" + this.BingKey } , e.getScript = function(r) { var i = new o(t.StiGZipHelper.unpack(e.Script)); if (null != r.locations) { var n = JSON.stringify(r.locations); i.replace("_DATA_", n); var a = r.locationType.toString(); "Auto" != a ? i.replace("_entityType_", a) : i.replace("entityType: '_entityType_',", "") } else if (null != r.pushpins) { var n = JSON.stringify(r.pushpins); i.replace("_DATA_", n), i.replace("document.mapType = 'locations';", "document.mapType = 'pushpins';") } else i.replace("_DATA_", "[]"), i.replace("entityType: '_entityType_',", ""); return i.replace("_KEY_", e.BingKey), i.replace("_THEME_", r.theme), i.replace("_LANGUAGE_", r.culture), i.replace("_BACKGROUND_COLOR_", '"' + r.backgroundColor + '"'), null != r.outerStyle && i.replace("display: table;", r.outerStyle.toString()), null != r.title && i.replace("display:none'>", r.title.toString()), null != r.customIcon && (i.replace("document.customIcon = null", "document.customIcon = '" + r.customIcon.toString() + "'"), i.replace("document.customIconAnchorX = null", "document.customIconAnchorX = '" + r.customIconAnchorX.toString() + "'"), i.replace("document.customIconAnchorY = null", "document.customIconAnchorY = '" + r.customIconAnchorY.toString() + "'")), i.replace("&(*", "&(*"), i.toString().substr(1) } , e.getCacheKey = function(e, t) { var r, n; try { for (var o = __values(e.keys), a = o.next(); !a.done; a = o.next()) { var s = a.value; t = 397 * t ^ s.stimulsoft.getHashCode(); var l = e[s]; t = l.stimulsoft.is(i) ? 397 * t ^ this.getCacheKey(l, t) : 397 * t ^ l.toString().stimulsoft.getHashCode() } } catch (e) { r = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } return t } , e.BingKey = "AjGy60ciMrcB7Acfl0kqPEAS2zNzuISiRVr7GUmKCFUTELF9fIj7tGshe6oJVmbS", e.Script = "H4sIAAAAAAAEAOy925LqSpIo+D5m8w81/XLGTKdMQCq59Ok+NhFS6AYSCiEB4g2UEOIqSBIEzKedh/NJ8wvjHhIJmSv3ql1V3TM2ZpN7s0Qo7h4efgsP5//6H//z3/43o69HScD+kn1sN//9f/1f/u3zOZ++wfMv8PdvH8uPzfy//5taPquX2/nH9C9pNn0/zj/+/V9OH4u/tv/lL+pvc7OPj/1f54fT8vzv/zL+a0z+qufb/fRjOdvM/+Uvab77mO+gsMP+ff4m5k+NHT+un/3i3/+xgLJ/XUzT+V/+z8db/KsytsvN9V//8l8GH8vtaXPMFx//5b99LXd8T//1L6f3zf/+Nv2Y/ivWUj8+Fv9tNj3Om9p/JYQR+OsRB/4tSBHVvbOX143VTIMXDP8hieV/JGODe9vRCJL+Dl926C4Z+4WqtrGefmQFvnUmjcvr5FSIE4X3tF4jxD02rGyTjLh3tT9esNAZ/zEm+dQaZsZ53W0JSAcc366nVr02Nw56b4/jshL4x6PW5Zw0mCFqFNoj4QyrkwzGlBWkkes21gyxESJmW/NjMnnd8Y1HSL73sGhtR8/pC1fcjxM02u3jVJ1lTojsktPrbU7V6dvCuN3qhBxlc1CtF90KOSnib0THCdTWorXX+dpiZVf4Py3LyqdFgjZ+d0mgfqhK4er8M//5zyDle3g6E6Kn1WunaodVzd3/PGtKLBhpDN8HHjVwSrpFnYJ5OLodpq3uD/0QcsElFI+0TV9TKI/T7vDP8VoVDlTwIIYg0fZzRIAB1Qj1IebLBLVkPvRPJYTkSwm3P5Me80T2K77ml+kcv8ay/CP9tf6cAxpa2lP55JEvpzu6tzcp08m9vetTeetR/nta9sfu4+NkKuEi8yVQZNp8jP+zfRiPoXbK8Zfj076VJ4/5/ll43dPic3z8Uf+pvW/wYo/60L+dm4/63+FftXdWWxS+bgWM38x/A5/fp/mj/TqOx+fpl3yDjx7wgPwZf6ovxzP6Zf6qUjNFoKq/4MN9vcwc0nT6BO8n+HsIDVleJ9/G+x2+xdd8on2Dr+xv8K3/6aO9B36V85Nf4y/5PYS32X4qP3+Uf+AfzgfShqr8Mt+/tR4wHhqX5RPExyf43+FDH/srhvVR1aQqj1k/7gfMD57hc69vFSnC9/t43Ed/Er9KIiPJbvdRn3zN/w5/THd/2Q99GG9hP+D3Hd8lPO0H/L/iE/8F3k/4qGH+Ez7kD3wm1Xh7HMdbA/pAfaQHEYf56DUdyldpwA9Wsx/4J/HF+LI+T/uPP9Ov/DP/CR+/7p8v9OaOn6zClxz31xzHU7UH+AP7TVVrT/CeVvCicyL7g/FbDNs3sX0K9QG+ZXnnDp+a+RgftnfE/OSX9XqM75M+Gs/09AFv+o0e4XgbT/kM+GiLEhi/+Dvoj5zfJz5tiIYT4AbMx7yvv9yPhvi2X3KczxTzLZHKNGZgviWe1uveHz0iPWrd9wfIQdV+BdAX38c3+jK+sByvgfMjBcyvSD/pU4mv0wf88J9n+siRfpTwfcz3E367z/3K5HgF1XDqT/hzp0c0/hl+D/rFHvtn+W3+j/1Y0tN1VZ9+POU/tT//TD/RX7sjyP6X/h/4ZN7x+Qv9lksrfiqP+bxs/zNfPPFL98f5/tm0nj7N93P+QuL3M38rPtcX1+cV00yIsnygKhTWW/3G7wLkt1R87/9vyAMc8W2N5WMuKyGiHx7wkPR8XsJr/Tn/X9IEtwLW177LB9/7dx5p8cgXn2nn0X7yKM9xPzytl/iW/y39hB9P6amsL2Qa8RmJlGd9668cD2z1jnjaHwLT6R3+DdwPCsBLVSr+K8tDWmXmfby/yhdP/Psx/+/j/c4vy/EFIE2X8H7C3x/X42k/i8/87/xUf4zvz+Hzt/V7wt8yvxWT7/uZP7cP/U2q9k5f+6/wA+H5nR4g/Uyw/a6kp8Vv5Nt7eT12fptvOj/II9T8Nh5R1v8Ob9y//A/gg/vxE5/nmD8tEGnFI/9neR3pHfuk73qKel/ziV5W/X+rv2gTl0+Rf9p3+H6nv0bxJD895IWv8p8eu7+Oh0RP8sP39f6Oz1/zae2pvSd5jHxLP8nDMN/Xn+nD83o7X+anO0jNcb29z/l2n/FDw4b+Pn3yb6ffLCBydiioTmsJ4QWkmYdpn9bWpPdIU8wPBaYTTDvUqekvxbRG/NhMCseiu5S0xZtLdMwnKyzvyPo5pl9lfZlOsb5H9zCQYgoav2YBVo4xbWKatD/r92V/DMsTTAfFvf+n9nXvb6XNJddHZXo2grQ0idBFQtd8siX8Ub5HPuu3aDfRx2JkkbEcj0r3bVInUL97tOpQHtsp/+TTqABbGSjctXzPS0BT4kocWAldrrkhGUoN1pPqpLsm70KvES8hDZ0tnUxbJv31ezN63/PTJmmOZ/v8tC2a6fv+5XRQmkfjUJxJv01bRXCm/bbZKmZnqrSdVrE766d2r1fczsa83W8V6pn122Hr0jszpR23LuOzeWqPW5fV2Zq3p63L+Wz322+tS+tsK23RutpnR2mvW9fx2T21d63r6tydtw+t6/nc67c/WtfWOSbSrkU+x09JV/w0fvJt/Gc5/v7n+EmbGoWzoKRtwq4G7antGMU60EW7ZxRFYPB23yjaASPt0Lg4ASvasXGJA1O0x8ZFBBZvT43LMbBJ+824aIFdtIVxZYGTtdfGNQ5c0d4ZVxF0eftgXI9Bj7Q/jKsWVONfqGtVCdRC7czV+rs6XHSYegvmzY+X88tUm1zC7Ys1I5Md3ajWkE8GdH22Qi0JLkKxjBo3LqTPSMH1C+kysuY66IyMJJyGhBlqGnSEWjdUHrQL9WqoLGgT9WwoWtDi6tFQjkFTqHtDEcFroW4NJQ5eiboyFCfQiLowOlrwwtXU6ByDhlAnRkcE9UIdGZ3Yv5Af7Wb/X/qzyKg0HZIeu9vVvv2xis3LP/3PN13Z6oj321L/+B+veNL//3f/0yXJK1CWsNAgBIp+D/Thz/yeLCTX+/gfkZbSS4iLIO3f+humP/AfX9qzkTJRE/MTLGohS9YtrL/Bry6OTN9g/hGlgV4dKzmYrmP5/gHTHUhTHZEpxJbZBI25LvYf4XhYB5mHtFvEKvxjTrDTBJseS8s8mqTpCsczQW5rrbH8AQWLGQoStsyvYXtzRG57h+k2jkes4B8nkIPGHbDERpwrpjmWX8tJrFEGW+B4czxv6KLxWc+ljoPnBz2kEPoNx/PRwDSW1FsIrzP+02tJwwOOpwCWS7wJ1De6CIQbTsU3MD3A/Do26mMlY4RdN2R6g/WnCOoXhILfFKgo4VA1LNrvYX08ZCCvuDT9Lea/4/ixZxKg9GHU8auCUw1OWL6D81dxvBy1a6bjIQnFRvgM0y4aFnQF0w0oz/oomLEIF6mPaRwftRAe4Q0XaYH5Tgu+DhJUNHPM773jIsryuN60j+sZYc8MhX0a4CCl9m/q8JaGPqanmHY8XHQ8X4mv0J7Zx/HEON8hDsJcIJIkeIgzQp3RxJnTGa7n2MDyN+z/DQ8PxkvMb2H/C+xaaqOWA13TZQeRBomiFWF6g4swQSS3ZmiT2mF/E4S3hfClewTiFPHBOmL6HfF5hotk4Td6wvnNalDKRnymF1zv9APTPo6nhvj6Bvyb2EMs3xojUqqYf8X8Dgo1C5y/3cT6KqKS6EF5h8HQdIrSvKhB/w4a/nSGSJehCOeM0dpjYdXsVuChEpZ3ET+XeHTk3KA93cf6K8QPp4NpVNzJugf5Lm5ifYD7Y43zc9Euqg+w/voM5V0fBeUIj3E2uBNd3kbBH9d7M8b6CfY/RuvSFpty16gY4MjI9h3TJxxPiviyw6m7r5ieI/x3rwK1M+wvw6XNcb26CCR9hfiQN6F+FyVIfYPtH/Cwp3vE8R8Rdd77WL4B66F/vGJ6h/ltbP+M+HdkaKgycPwXXNpjCuV7DqavSC+OR8z3sfwNN9kH0q9ehPOr4/p/ZFh+hvB5QXz9UDA/A9Drr1j/tMD674AFehNJx+mI5U+wdHobico5wvKSMqoIvwI3medAeUPH9ShAuCUeKq4GQ732wqG8N4L2DZTTyRXpsbfCfNyU5Irj9w5rPBdcYLqD+bjoho/lb0jfPMR3I8D51xwo7zPU5sIM0wLyfRCjiBHhetc0zA8wP0Z41weYHiVIhBA/60gv/DfMT5BAN3qSKOF4kFKTBiKEf8DxztBw0MBF8AuAn5HifF9G2B6CzpgjPF4u2J6C7Qmcr4b5faT3xgrxUUOi0w+x/gbrv75DL/0UDaW7JqSbfczfYfqAu66J/KN/Q6L2gaSo9YHtqUgEcTlIG5lGINurI+g7Ag1dU5zfC45XQXwNlpj/iltZwf0RnDRkb8g/VKSvQQ3Xq4PwUJEoBRrCT0Gqo6KOzpGIMBOJCMVNwxcAD+bckIgi0vIcDYfdDaZx/rjGoOgh0TMQ3vwF+mdBhkQW06GFhtPBFdM4tTBAohyvkN0OMI1AY6MhpnF/hnOsj5uQWmPM38P42QyJrI2LGtYw/62G6RwNg21JtOdItHGrDyzMX75hGucz8GFoDNGJuh60OnhbI1GHpaVd5K8DnAQ7DdD6hUCJbCT61xdMI72O+kc8eAD6R32Zj0yPvTjIBFDYjDYAP9Y0MH3C8ieED+4XGvhQNOrgwZ80bPAZ5McovJoGyuOhi4bGIaatENMNzM8w7eL4Bxmm35Ho93C+kYvpGrbXD5CJIH8YInzNAY43RiI6xP1nDnE+Q+S3Q9zv5hjhO0KiPFxiPpJXOsoha4hIZs6w/hhPP4Yv2P58h0wJkWZk4niyE6ZxfiOkL+Ya5B06QXiMJgBPcwf8l05xP402gI/mAcc/QyY1Jm1kYtj+G+LreIHtabj+8wT6Hx8cZGoTZGq4v8c1rI9MnS6QnowV7E/toJlFno6YaP3Ssb7ATZIg0bQYwjObQlYyxTQSRbpELEpygIrV8zH9ivm4Naw+rueqLpkmrJcVIpNaa5A/QX5kSaa2WUD9yQzrjxEeW2RNk3coaqW43jssOkF4WXPEvx2i0gRZnYUzpTnSp6l3REkOx7PHoU0ngM/WDtf7gErBdInjkfh4QPliusL6e8T3AxLV6RHgYb3j/N5R1Jo2cH4nxKd3hO+0BfC1zgivIxoHZkgJrQbsZ/qB8s5shfVfZ8jUUdSYHXC+LbQ3nBAeiJPEauP4zjGWf8X5KTjf8wXaS5Gf2RThU2DZtAf92Qau5wXxNx16KJnifrggfU0FFLVdqEWvOL70BP3bHgpltwzzFSzPcb1rQ2jvrQdTtSPE1xrSt7chtj/C8dRxqm9If+wE+DNtHKD+2wfWT4G/0heE/9sLwMueLzCN+D83sfwSy78SdGxAScjeopDziqxlPk/x4B7h10R6MN+gEHPA+TWR381R1LWPXRRqulj+BrOwkR/T1hnTCuafFZS8kQgvUJ6xr7iebRRCFwG2L4WozlIKQTieF4R/B+n7IsPxIhJSZQvtLT6w/ZaKQhLS7wWybruD81GXmG5hffWMKhMKzQL5rWNYKERheYGb0LGBHui6zEdO6XiwNXTjDdoXbYZCFjJ1hkJDhqTaQVFVN1EUyXCTOGMbhS407GYoNDnTN0xfMY2L4MxRaLCRFC3RuuhkQzQ77jHN0bq4wfruCkotkTQ7KDTrXdwvyxzg4RyumEbRYXnD8aPTkN5D0rMyAJ7ORVovlzDeVQ/bv+1RyEOhaIVI6TSwvT7ymhXyA6dZYBr5xeoD+2ubeCzgQdFVDcerYn2O+tnahlVyDaAXeoikYj2Frl0nQqEQ+e96C+253gGFQhTV1oi1/0FppP9rRErX72F6iPkN7D/A0+0I6c0G6Y/LsXyMrGVjAzzcQYZpxLeNj/5e8VD6CmFajn+UYxr522YhhVZYdX2ES7nBTeKi0K9LzWsjhd60j0ItCgWbq0w3MY1bY9MAfHTnuH5jVGI3LVgKdzHBNAq1WwqlXAH4rydSCGaYn2F7CcrLWyQC7lLBdAsKbPs43jXmT5BebUfY/tbA9AHLZzjf/IhCdYT5yITcA+C/PkP6v70l0r8N8V1amz0u7euFTL04IcvIhWVsDvQoeCUp6YqUxAIIlkUCaahHeQDYTBsIqIfnb4j11ARCxgbsambccq5sCbja8K4sBCWv7hsa8Hp2tQWz8usZti3w62Wytc7X8ilMoibi3dXFmCZk3NW5GS69dzVZdWDWNXcJH1Rjd+IdMBkosEDJCkigoaLNFs8vkJSQkMWGcJY94dQC4dy8LA3pD+98A9TBKIHviUVYmE/q+92UhWxqpR/T4aLz67t0awufGJTkfYRFk1yj5XFoDj76E6a9m4NUt+Yvnf7N7Xcv8bBbe11jvlsEtn3zuiDxsb40yeB4p6W/SkGyEpKlR54DMhtdeku3YAA/Z+0Kh7NVsnYIH7EsjmnBRtQxFGXR7KvnNaWFeSXFmwdzWauH7e3FURWlVT/PWjVKOaweH3VmLwUdXmNdluWLqu5OEUboucIcLSylQ3hMYV3M86hzPi9arVXnelMPa5TUDRyvAAxANgqiAcAFVZk4pCJltND0boFwZTt3GW/dC4vNlZd5qyQMgP6Qq5c5IhmaNB2ZF431C+caCO/FX6UKidLQJMnKGThbP2Q1H+vBWgidbNTzYO7VKDAhRj3Qlb3XltLRY8GKGggmtQjGaxlkBZpeLVq3bU5X+dK/ajHhLO6t0mVfzHgRTd6E+aora6qPN686TeG5hPnoHLgNf/cMdvH0E7tl2lrloPFcPNYlzkAPmaOLODKmWW3bjU0vzDcsczbWipn7iXhfj4xWwdz5eO0wjk/cNwAbVcO9MyLlwQ3HNTxRI8Z5Ac47Y5g34toQ9wh5zWvs3OD60vcCXVU0o0lndbJ2TXoWUUuop3EHNOIB2eSOa3bWq3WQKvqHy3W+5mz9rvi3t9dFI7/j/zufokcMwa1NQlDTQ29khrgHnZ0LsILn1o/4CyuYfLqh14A9ENEQ4E3flc0woVA+Mheaqq7aiGtDspkpG5DWyGKWsVsRadxu9In/ambvyu6sebSoDW1+O7YAAU2e9MmC0yQDfOcbl6TpvrvQXgd8XZIKGJfaRD8ehNZa7lOds41eMJNwbwO4irgdmYDjf2LMLOXsqm4OnfPidUoi1yXjnM65bVvn5nAo2J5dxkqgaqqZOUOTuyN1zyd9Yje00GszhdHOSugmYftAmIqaO4r6sVBG7YVNinwEbcxVUdhG5HitfuHZIeCasGtk5MzMQewOoJ/uYKf04zVK7nq5P2K5n0FUQDq4+cTriCvk5o0cIwUcAGwmiXAztNPFZDFctQ+brMMGr/ZbfDXI6GpE9tDuZbZK+rZSnOyMRE13Nrmms+FovB3VTeFQczbZgrR/z29J+oEqv1qgXxUqj20C2tUZra1RQRcgdpJFoQfEbRNUjWkUAy09UtiXb4Aro37Brn7G6r4O7G3gWDbHPXykuIdh/NtuwZY0q1GTgngYOQ2gr1C/3NcM6iNN98WP9ek/Wf/H/tlP41/9SEuo0EFRofnWzQ4lj8nJFPjIr+9Ah3Cz9w6R73MDn0Ckv5SH9f2SVnNIn2sV7/Lw+ef7Q3Q97wjfvM65mOCTPJchky/16fa5nXNtCvtJptXyyb7mn770Ry65Xs7rXZHPc3P6p/t6f29WtM6saF11iFPyL1CNF0Rvk6DiuxTXdZnUWST5PsgBa/rTurDwLh/EyIdvTuSMLP5DfYBrZEQKAV4VGVwvn1/TBMQKP9AkAfeBg8rnl3Shk6BZpS35JMeb5H/QBpXP4ObBetYiYDAgSuBTv32vU55uIHlHeScATYT0CqIS1ibjgp6J3SYrCYf4Po8O+YQDG97hEPAHHMxPONToHQ4/1hf/KfXDH+sLonWDFukaQuuCjCafX9O6MESuHkEOgieQsrwfNEhfXymFLrS+LiiHJ8l/aecfrfc9TR2vbEPWA721rL+SZdS38tktyxiN57LByz9clnwtSyrfkD/Ah/9H8eAfXUeT4Hqwaj3auB7HX9YD5D6od6nqBVU7X9L/YevxK4zR23sNw5zatOdUjqUg3/DUcpZtCnpFLSgYygUuyPJXG+Tm7HLr9ByRxvQKCmqS2vJ7QV3R5TYIX0sSXGNaloE8Os0uHMvYQWtC9gzf4dWaE0hlJhODgfQj0XlsoEy+hH54suyhTGLA91/7H0EXUCYelP3elMa5NZX90iIlg5nSyAr4Dn0StoX6cpw2lhNsq27+XDkbv0Ob6se70ij1NuT/luT/MN5uQeVlHMQL4J+IM8hbEWdWd3wCvgk6meSpI+C5IJtq9KGHkL+lhzACZBdJL8rgmiSZLyCf14EkB0BS+wR1jNW59QprRVPh2YNb3HCD5v7YuQbq+dSZNb7oHW0yTHWNAalVSrL7S9tKAu0w+96u+j48DK4JHe4u5zMHOTLUKAjRoPu8KIqmpke1ub/rL0/8alx6Av20j/7++atpxSLW8NR+0ct6fvQ39LKiJ7icX12ytFfxVUf7GO17f0NHe8jXGpq/8RgNBsOlHqBTwYWrJzrIUQP/loAOlligsyFezMnKUcgKZan0BLqYQsJ0xARDOerOl4HeJGR+bCmvQctRT1F/frAG3cZ64ZD2Idl+hMv3F35O9uG04RyMK1lMl4dBvmiQyMo8/JBcT2W93XufhNf0Q5j6bED63et+77D30Xy07Cw3oOa/1/P526TrWOtDt9DEbNFUyPq9U/FoXT7LmZqf+ugX+YMGUu4u8f1OByVuu1IuAXmxkitQXjSXcXjfE6VcAvJmJZeU9eX8ZX3yU33BCBMtYmTOwACSyYT1z6W3xuN75l5V+XT6wCPh2bsCnpXptXzS9Hwpy4tAPsmiB7qwNmBCA/0YnwgqwOJAQb9JJJt26W1BYL0dC2Tpq+Qvok1Bj0e8iBEvANfPQN9seFfCAWgs4Ict98I12QFcav5No/41OZOBRsu906Ygf28hH+gJ6vUe0sEG4NtLBdcFCZMxpNHugn2hDtwHujCCcrAXONl8DEabD65vMuKdQi92aqKrhyduiqK/XBZnRmq2/ab1QQhNvcHW10W7r79oO1qIYECdmfGe+oyS3kloky7zoO4hNEXN/6FuX+dt33DYuqo7NVpQlzijujuFT0Jnb5oHilbqL+PriBRTfTnq66NibGjialPmnygZTot1L10lXYMXPXN4nHgrNiNZ7L+IYkSy4tRbbUKDFF1jMAj07fF73e7bzXMMca8LyJzFpTyB65V8kSdahHlk8ilff8fDH/HY/AmPGdrzcN9HaJ/RgHeizSbNYK3Nat8861CrJ7njJRBMyhSwXihvgD7h9Et8e0X8o79Pd4nqkL5ReAYnXmCc67h9C1q8K0WR26TRHhhb1IduqAeJEq9ZPRSdvpRTmBaEkIb3hhO8VHjvls/z79NqqBkfwcXD/c4GMRvsYpcIx93gvjpfvPhlU4+LvlaNc+dGvOZO00FJahx5e5VuUxP4a0QMXKMKRiHAcvAJ37rO2cgvUotekWcA/V+mWykjrFLYG86CRPF9bUDnTZH+o76pCPQ8lPon04PCUclbW9FJzTD4qhMFdQ9wyNcNzSEi129XmjgBL2nEx7EL8xDqEutaROqiAtR/zil5e1dc4dKBWOu0cKk6awPbctyByGc6ccdW9u4VBa5NS5n2Eke6X1XyQ3k/yENBAl1jkN8Mf9LVzCINnUGyA7mE3uEAMDHPtMhBlmtW8iNI/JmwHY6XtTz1mHpkFCgJ5KmcsIxeRDc4VXLkBJ+5zSJlSWug9K09JXMYyqdkajTL9fCe6VmMlhfpf/bQO+9yzYN2U3IiwG9ISObwbEBapzpQ0YwMXB10WY0AzlR0GEoaa0mbxfoMclVwGKzPOe0GOU2BB+7U17m6V/s3YWZk6tCEB0It6bHEdRC9kFZ3VMFyZd8dKOdWgk+yUZXxubm4HTWoYy3JyIY2SvzCozFa09CtIMR9jo5P5KpRafMQqWHypLRvCBY7aCdZpkZPMNyjwMc9C22tDtLkgiHdRZtKQO51gHbLsnK92IiaaQIygX8StZiEgjJxqxnU0TvLVgdkkAHkga7+orQJ5nPIf+lwXZuSKXNcymlcwHvehveNrRE6FOTh2OBmZOrcgTJToHsMVkXKQ8C/mEEJV1cbF1RqkKikDKficxAlCghBkQ3yU8mrWij7pEw9H4Nn+4KQulVA9FhesXcNvoX5xebKWft6sqQZHwEl+8XuA/zlGpR0ipoihb3oIJ6+YN7DLgH4Gjnm/VwB8oGpwKebgG6zr3DSDrPbIe3ngtYQZ9+Poa2+EpADB7DuCxayA+G475i0/RD9ULbx+FDni761dPr4IU7YDV8UTkGkSclbd5CCdlLaZ/invb08z7DQ6FDKqyhzov5B3VX6BcfNEGX3RHcIyK8UeLgBTz0BAdVhjs51Rh2UW1lCgN7yY6KrAO9COOaRlLREfm5P+A5PkENvgLPqBvC+3eqTEaM54v2WeEbQojpfA0aQyIStWNLdpmDCuX7dN4fO9/qwB8rlLe7yKtrLBV4YQSpEkb898667DRh1K8RhsvzcyyCvki39tp+pqX2dl8hpUMCcC1B1O70/N8c9j9VDJW+NoC1RAD1qu/qihVf5Xv/UHEv/aKu8r1KT8QaA3wKFSQ2Heyj7ZOaVbb7S1jS681nz4o2I2gahlhnkLeoEPkC7YDQw26COA3XP3pton7PmWtcPc4PTvK6ftAlii144tB1onBRHvej2FDuTNk2qrbQOWYqJs3Qm6pvofKOnIG8ciVvc9WvYU8DD5J66JWOQ3zjQEiDojANPED5wGoK6BQG9aMkFCBMCeLMwLowzHThT2Nadrv5JAxWkiX8E78Owy4AG61xELu8SN/QGDHD0WvwpOkqf94v3xQ6ZboEObAGH+iRDfcdDOzHIpcCPUVcsEvas23k3h5m3tIE6EtCFKezxA+zxxXIfudNeoxsPre55lL3U2dpmpN1dwh7QrRflerh+0XHWBYummoP72iTBK9KG3L00u0us/6ajvpOPi1zXk9yx+IGtx1ivoH3C0ttuf54kDGnLd/l9TfBIWNIBhwC9W7sF2kCeba08wHnBPJ5l7+iBY1wFOrcCGvqQ70FPAl0h8wRH+RzkyfGOxIYyDVqn9bl1nmosQloGsgXOI1rG81qSzPJQHA86nSHdnki6BbjItEN8feTZRuhTMskpe3WoaZ10duNb2LkmObdq6rt/muQsQryUtG/FoW3XETsnnNA0IpdAtinf51sddssa9oQPNNAjcR1hFLmiEtLk3w/6oNkms4KqT3aQL3qhL+1rUp6+yw1XcxU/20o+9cKf7Gv+T/a5sv53+1wEa7TF+hT4DuheWL8B8vgP9m7QCytbgFHx0mf7wPM76pDIWFwqU3hQPn+bBgwrXpple+U56i/no8L8Yo9o157GoPpPYwg6v8m7PbehRij3S/7fLuQz9JV21SfD5ye9ZOX5VYrnV0gv6yWfj7+fF7RQnpaXG6TdKgGa6EgdEkjtwzap4+UtmCYXAtIG8ehhs58c1JPRqeRTHe2bRU9QPWhpJ09GzNDxhtDdvsA4ean8Gp71LORJjbueBXQEaKWmAy0xpZ5c0vJGqe8mY5DRrqXPAYyTkRJGNdqbro9mQdez+mveWQyvPWANABYGlC1ZmNH78TQ6NRfL5OrvOm8ge4GcH5OBPmsZQq4fay8njh9/9N4WNdMKj/03vaj1XMeFPaW/LsnYyOpaf3WMuit+KPdKKVrRHOkJ7ZXzautA01fmD/oiwBZoSgp0BGAtabwzNCnwJOBR/n2/ZA/9E/Ad7QU62gg+bWViSgI6eDXzTVLphqWMvX5rOGv+dgxaY/W9p9Rb5C3U3UZ4edYb3WQZTl9N42pp6HQQF9Tv6xbJD9uNwbK4cRRfdL8ltQNyWSR7TukeaPL5ECebthewVHzRDZf0Pb6yy6Y7Bb628oFu++pJ3OEjQBLB4FFobirxDmSuZ/lSyiLCI0ib1PdAUSr+SoXpI42jXaOFNI0Vpo/vkU+TuHanV3pJtAbo2Ar7Ud6O+U0/JEZaXclBCrnxE7mVPgXApwyUX5navKnnXJ7ZAd+mUejVUCccxknXuICMoDtLi4qlkwmg4+1uKAYChPypm3k0GkCdBHVIGPt1prD90rBJvLEu8ZsZrs982Z6YYW1oXWPTKiqnH+C3J/Q3iNNy/GxNpp98F2XtJ12Ro208AaKf2NXeqAXCq/WEh7ZnaQ+SMpzcQ9J+1JD2JT1B20S5z27OGKgSyBufcEB7BPqQNFhGdLRLSf+T1T8LF3N4yAvfoMetexPxYONHg4xr0P7UgGGQ6btSK2o+7M8dvbTt3jJsLfN9y9U12y7SHay1b7x5LA/OklfCmkO7ltQNoO+tmnUTcSlMNzwO7TCe9GrO2QoRzscNDY8vKuiYanQ0oZ2dSWuBf+hr+S0J7JDvoA2z35opfvCqjop4ay35mJIas8L9DORg6oFcNrrkE3xnXjms53BWitTkbk8ykK7qqE+Bfg9UcYb2JUf6CXjEL8+rVn7oDZ1bnJkDrw7rGFZ2Dir9wfA7Z5/5aE/yB17owNOMoHxZFutQ4YAQCKK6CK6EJIYiiLRRGEQ+DZUEoIpDGZJAuaAJAiOIOQ7epGxg3J8Olod3BsF2HKNNuKmiiIdlSVKWI7mhlPlEnu/KvBz79YiaEL0sQ8iD8lX+OZAPemUP/SQYngeA3Av8ZoXxzLoPeLTkbTXDW7HIi2CON3b1Qu/yH5JWg1tbdXQ6ty/KG36C1atiX9pq+YH0DT8dpfrMId0BPinrQF1TBAdKx2pT8KGq5MxcqP9MujxWq+TNIZ0fS3uxDFn3bC/+1AvQrvAkd6agZ9tk0Nj3Bo2cvS3HijlIa/5g3PEHSR3P2HNjBFpLr+dyDnzvAz5nhRvxRs34xuU9z01IHVT+GjDHrRoluyd7z5A2HuOR5xoPO4D0N6zOaU4gEzzZp9iIfo4X2ouAtuhy3CugJzIfqpZjEWHDXWhD98br7qJWd1dDPPMXfgLa7vG4AbyDccY7X+cnW9gjV85rSvw5qQs90a/XmOly7vse6AzQhha7g1i/6SMYL7QDgpB7rjXK9iEvLBbkLQHqwnfkmAM9u885UDso7+dt5M8xGh/l/ckwgXmgbR75K9DEG0fZAp6aLmll+Z3+wXcsY5lFWsmXKTVK+5FNgfZK3xu0US6BDvOkSrchnXyxMXmrRAUYljIs0OHJVYzUUy1Ka3Z7EjcCUChGVIAwR5hu0Ngyr6CkFLFOLoVhDnIG+i5kcsaubfguYJNqUF6EBtr6B2kKeolPzptuTGdKaxna48V1ZhXHnp5lGnk9vvlCgMCS6u75/AGKcB9Wxrc4H+J3dYrfw/zn95w5q42j2hMybHz0+a1gPaE5VpH0THrsutvjVl8Ctbo6lmuTpT7QTGPgmdYu3uq65+qUT3VSbGCME1MwC74Wg/Ol8VaLA0Y/LPuSG41LsjIu2pOs/qIUzzI74iz6B76CPvjpHwhrccFzOHbn7zsAj3ze9xbKj9Qpxiba6a8ssiKyUtcLJbzys3mJM/cKWlGYAq6sQSzqNTtXRzNA1iXTlTLSmWtEYkn5etknZXwMOQiJX3d+UOBhGl7s2X/S7quU47KnPfbCHmfId71m9XQG8bnn5FlOGIe4v2QIBaT9mg6y9wro+QDlJdDnBls8y+3rqzbK3ni2m8YdgrJ4jrZiV6RdRoMUBGVJ7w2R50GtsqdNiArry5ql/0BOYZtOsawjpO0Y6ib6SsWb/pV9yRbSRyMlDid7SVGyBGWUrU8+Zdcn2+FR7puSprUpSmrVebAxmDf3B/gQpdQhlLx8aoYXTSLAc2O4YbegM/niY7s2ku7udJjuTmS9HU3PVzLdT0dT0cen48VvtpesWoIwm4wdStXWq5prX85z7/qQjHrCQbZBG8Y1wXEy/+LRPvobXLwRy9I5nt9KnJLna8nQwT0suO0bbeqtNBPoDdqfNsBoQY6HkZfncEBTvCXQUIt8jA5O2n5l18lY9XLdrDmFd028FmfJ4BY7pF3L1st1MMxqsXHpd40ioYH6SqKgdXCLgQH9OyZf+zR6HZCFpljbOO1fJx4pmN4/rZu6HoPqE4TqSmPk/NJ+W7dtvcgj99LWp6QXG2KhOKylbIft5UuUfxik/UZBjqIhY4xotHv1UsqBbonc06meFcLT++fWhxUmCybWDrumLsu4Y9z9ITTEc9xvMfpDZPJ8eAWSEtDdnuAr6Z6BZ/mZRskFZNGVpksYITwuXPrPwqeipRoLCOxLPT1RHekjR30OfSYMKNMnBcI/hjl4qwruere218lY7K3aUB/X1s1BWFAimEOXeyPe7Zfebb9+Y841JoKqc64bWrGmxdECJXEEtLLeW3kmtRz66njjUfZmZeNL2tfZx9DQ6ttj3XqbKPlYvxY9612ZiTZoCp0rXxZtkL+YvhrHPsleBpuaXhfpNHiBjbldt2xSu15X3mya5SfVpnNQWgKDahtbbw89ERv15dEx+NqkxIwI6AfWah8v4mNteFs3HSpWl/1wvWtMTJskI7k7kJ6U8d7wjGZY8pvkxQe9x73FAMv0xUbddwUwLBIbeA98PFhDB5/yXBjo31Ly8KWHtjqLhZOAh8fU4GZzKlgSxFrErtZpEeXFJKkBDmjz1TV2DJK4JPt4ZdwBPRPWMLRyAipwtzi+vdFrNzT62mIT20CX+07NscmK6/rVmxj8aJJGqus8xqOLnSfyjXHxzk6U+5vgJRuSzTLeAH0XfNYzUsMkzud5IAk6CvBEnO+M2NIPHnhqG88YzsDDJD2UNFT6BLVBLgLdGORhU+KXtAdIWhkIR0Udu9qDFpU6DNJ+T+o40kaXpbH0NcmSsS3YGH2j0QfJ1eV+RTqsENSBIq6Xtia5vyUM0S8f22R8xp3QiRcZb5q2FrOlyWOdDfB7PwsVkzpZHOxCX9zsXo8cXae9JoPYssVxaAhxQGcVIuKdHa7fyIX4IE95rEjfSAY7aa0JZOmUx91uV6wp95ZAC9Y86nW9wgtHoyJhQCOI4Ib+mmZzPPNZsmlXNIkbHpZWBp9lzACG0zzL8bNRAanUyxHwj1HCY18vGE37lNtcYz2Tu9E6RnO/AfsI1MYw9OutzkcXZlkToJMceRdZA9AbmNeN8PXMoXm/C3rdhFvxZBzr1iVN0eHcIpr/BjhgZQ7Fmz2S3hZeeR5hMYIhKNgF5KObg/rnmtJ0FEj7oPSrR/vp1r0Crg9QT0XcRZgneM4b26WP3hMtRvxAepOs0H4Iaw/6q1NDfbXUh9kP68bknQEz43ZJUzS0O9adEOgSkX4auLe20t/ihvcLGNKyDPgktGd+rmeI9nVOX5ww/b6WfT1jZhC+KrFVHGAdkTaZlOc5JExydT31FFLvmN/IxZzMqLB17mETuC4M1nPfoaRaT820RdH2a4RZWc64kbYNUgsoxyDNnmkUNS8w3gil+ZQy8hIQ0LGL2EDDPeVtcyHXG/gfmv+4WWgmeTMEP8I+9EPBfFQmKRmG/quo+e3pckDpeaCzYfcC2p7QAsKdGKR6qodHYQmNv3UV+514ts2FPVhnAIvYA1nSe2uIcr3Vd9W9Fg1yiTWTe42eng5d2l6BIrmyr3z4u7yHKvnd3kwAp/8z/HZT9BN4Lf21c+vhd36s/M7j6uwxmSqVTzjF57mJ9VpVPYZPkMgfft3C3H7xAR9Nv/iAT559wAW5BzWq9OfH/QLYu/8Z/qy2nE9SzSf/nE+7mo8hbWp49nqufNfFCJ4zBf3v1aoewXpH/Tfz+i0MyD340S/+vZWf2ff5sT/v7/ujvy70A/PZVvOpxvJ1nbd4A7lMJ1X6VKUHOH/y59f029zv+sH/6/P9e9L/7HzFz/N98uev8Pv7eVD403kS++k86Tf7/3v9v8Nf/Gd/b04io/JHLfXPl1L//PWdhb6ryrF8T/E8AojKl/JFIs+KiuqsqNJrf5vWvOd+zNvzGMg4eBpL0G63n8uGX8qqwXNZj6bt37RbxR798fzvble/Sv8P9JFpSN30n4Tzj3gvz+1qfX3REugb4ZB1H8ZnCoRzdWZHK3gr1Xwo+4P0c/kiENLHuJBtpsCnhR5+h9/vYP0dfr+FF/m0p1X2e+nX/p8CL1OUsCrtJobA+Y32MIfX6nzSqubUqnCM8Z/TX8qTo5bKdsPKJ7vYKVqguX8ePr/gF/2EFyfluSTabIrSDmr+4Btng4xUnUMAH0vxPGGgbhv7N7VO3prb/VvRg+eari/ODOSknTwv0vOQhh5dNycvh+nmhRypfO65NWBFHH6x32iVPy+RBo5TuW5JeddagP4RxdREfBk4FtqXKvsd2mu25o9nzl2SdmmRdglLgwMhsS6ANOok2FX2q4l8ruuvupJW57Z4Ziw4z21a5LbRwTviiFo56kgDPJf+qOpG+BRKrarnlee9CFTUz5vF8B0NPSZGCNExpBJ7cYt06F1i6qOeA/oOwBh0J2mjdPFMgoQcZD48/5F+xiMy+pg16wCGXTLSxaKjiRSeqW6LtEGmRhvGJuj8uNmfX8V+yRv+YPbuDs/vo8YJtdYRVV+gnxz4kTOn7XclCW7ofqZrRrzZg0S5HyTbJoZzuftjkAr+NP3BPq5RaW/G++6SwXh332a6WdrKhhJ1YLQDde9lZFDQA2FHcplBR/ARjMziWVtZsq27ZAZdTz7qkK9+8Cf//tIexKS8yZaVPw755utlEDdqrve9JnmN+ur+u98MkCV2981x9Pbim19j2up/6rvlBsBgMEOi43kAq4HeY7jXBGCmGbAPhjh3fxlLf8zybM7D8zk8F5gT0KEIXo4NayObpAztUTbFe5shnn8DjrVidbNS6iaz0uHmZJP11Tc8x7ZeJymfYDjytcPZuxOlY9A8xv6VAS9mazz3/niLFIRP3bV0fdrvNYa1ubN05uO3bS8vUJWMy/GfBa6Xhfulz4lSRof/xDPioo9glryQ0Bt+9yWs/NXRp3L3y51VSePa1M8SA+gyno3ZJEpLvT/jxtweJBitFv4L1QNo4ZTR8cYCOnCr6IBPghu0XXiex7WBeZm1q7uWBt61RLfHLnBqJ6gL9UTY2LwpmlngPSAgLKZ4c7NaH9ovnts/vwTn3Xx/GKcGt+d7i6ec8eJiiMQar3tV+65i8A0xLkS/Aa1UR/hTCU46BsCMgQxs6YV/Wf9cxj9+J6YMxPeLzdSTPoj806fo2cdF8gZpD0pHrLxLs0Pe4FyJTTNvVNFReU8+EKn066juCSAMgTRtXlSvpIVqUYusdU3TxaQo7836hG+0gU1zzi7jDxBhBlZR+G7TUM5j/6XHvbFOONdFPuoP8hW9xKt+7fW8fB8eckmX8wjwKyLLQFHHD5gBL5nRMF9S81VXvZJu1TOva4SC62RNX4ImQZrcPerGctEszAK+cG05aeisb5hxYtKIR/nOPJID43EE44r8Z3ju8HwH9CeMM/cLPL/gnPTB++43hDANSllmbGbe3b/1h3toI3IYL9qFXc3NaDfQB98wWNfgnvUDvsH7xDL7i3Yty3QreB1YNDtZzEkIT/XsAu8sLSGbllL8gGO6cJ5wrCdxTBeeQ94iaA8UlqmW8AzaoytF4V27avuTtaky9gg63cj4sJW/K8gMQPPlmR359OWVeMcGUgbBsz+0g6CfPfLejA1Qfnn4jEr5PWRZ6bMDbRQkgr4iXwd9EXXiLFBBHq4xtU3YFfQFWF/p2wFlAGeJ9FtL9PJMH2RsH5gYlEc9A+9717AM2ef/VH2QieUYUM9FPYXJGM5oX+00kf5mooyv4sv7A9zCObuXH+6DAJ74q9SoXbyplQWdvlizb/fcXToGvkzfm5zmHit6ls7fO6PSh8UsdSRIi9z97L+Q/b//3H+K94N+uoMyZJGMr4L+yQ2/mEXskk+ZWmvqnN+fX+/Xk7V+ybwpPM304nnWeY8RvkCmS1z9XGs+vtenD50fdcL6VBeyLtSBdsUa72821Rf8XZQRUFC8I8ca1XkP4s/uPgeJN9VY6QavrOWRGuUupfIZIXxg3EznwxsriqmyBomCevpFrLuQX37PAHewHOTDu65+P+97ccxFMeqXoXHxTki5TiVODnPlg4ydARtTkEjJ1u7YohZbYkysjPtqqPnVoZ3+7N8q5fVPvear3El/un8P2+7z3n9WxgFQHdS7tUqPdvBp8uDZjpJ8s6vc9WX21V/4j8Yhvttlfm3/0R7gl0gQvzC07fgLjC6ASyUfwHN8xC2LXmtyjRAPcI3gGSEuyTWSeJ2bBeK1xK8c1qb8DntQrifkw9rl7pf+H/j9B/2nz772jz3Hk9+Ny6VfY0EwffG3x4nf93Ivlv7duGZ7GO8vY5f4lcMEEL8xamFqVWuAvtpj9oN/3i/j/D6+H8b101hk/2cVQ7latMAQZ0eCvmGs5D945iH52Rc/sDvshPZlv8j9RMaWUtEBWtru9B7HfQf0C+iBdX6R/nVVDAsVn/f1256VKe0m5quQwp5LsuR+T5veeUDJCweROq/poOdFe+xfrU0x+s8rfm8mEfWDTmvx8oF4AvkROSVIpzFflr/3N8L+rKf+fr4LjjjLYuzj3h7Q4lZY9V30tqzoRmoI9KVZ9sMKJ7qXxfef8sJjv61QT8f7Qb4u75/dY6AM8f5VFR/l5oSfsVPqGIfrVz/9iEgYVmsPPKryj6tim1R3Wbj3030nl1R21zL2SFHVObervc1Almbvf3Qf4qG/tCW+EBnHRcrUMo5LGQfmx/F+ictCYuMHnYbJW0gPe98fjOMbPe0WpX+vj2e6N/QRwvuu3hJwaFc9Uf9cYLwB+QzxHK9dnedBnV/GG3ZYa1RnFx/w6zgtv+czVoe1/oP3JAl+mg/dwT79mMWwX4/RCPACv2N56/Lze5K2frof8WW+ZlHe6yvn6djy3AnPL7M4RpoHchbsGbwH/0WfNCl1Z5KGbldLfI4uzoCMcjkGkrUH6o/44i1t6sJ8A2U6d3CMIKsfB+oeaHbhLDCM1Q/jNb7xOxC25W/G/BxfSJdnYaBLwJqgb4S89+Ah3UO/mj7onZ9xg3zpU6Mx96c7gNV9a7yPBrLDeb9ZwFDa44ykHiPrOtCzmseOuWd09tW97XeAwLKftSck+QkfMTZpdbcN72cfXpPNpje0qLum4gKEWNScQXIys0udX7nsm91qEcviS6+W/8G9qS/3deZEB30WowJW8ZAedwyqOeMd3i97y/sJhr/cE8O7uwl87nfQE6u6C4V30PNvsMp/nnuOeaIsh99VvJNV3qkyVofHe3a0f74b+Uwv9CqeipTrK3v5QKPu5cnezjVKb7juNVrK+xo1b593bt8Qp0lln0cfhGf7O/oOV35Psrz0Lf7knzW8AztG/YN26x+Szm1roFEWJe3bXjPHqkm6Mxvo2ayiq7MuoynoAqvr+D0flO/y+XGzukh+G7jzU1by3WnWvI4CaFcnj7piFmK5/YfTNY9luckxH9BH/5wd/0SbMMb2ptlkFb/0fuEnfRmqroylArp4xcuANlzvvEzSxYqHSroX+9nv79RStgVI5N1lsu5a4jDQxcFd8ry7FvlUh6FiHnyX+bdJr6l+rEpb1WDVJOPej7TwOnG6si629/u2J9gOtle26+jj73Tp0771831i6YdXyg9qJT+Ud7jDJDb/1tzdQBlJ+aIFdM/fIq3E+2D4nGR+88/dK+5F6gZ1D7Yt63llG7K9qPmPzC/jIKuglQf3FvqdhqW/E+XV/TjYG3IuVbwQoAUNnI8pYjFUa/3llJ6vE3ek0rXe1uabDcyBDmjztmit1ONK0dr15vwIe4UzjYQvPsn7WXauBaPhfHBtFXp7cxqo7mAJmrdyObeWt92+eRNsTqKc2ukr1JW/2U140K7jeAeFPJy729epvNtW+R675X1ntH/INaHlXV/8HaqaCrNwB8l2cEV+sei8DeINyY94ZwDeJVv146gXRkjRT9yPz0pjGR5dVmxc3vUkHS26XXc56bpbkI0+Pnqkiq/o8zGh8bG04Hz6FbdLGXPwdN7By/0jeRD6IKdko47jnW94O+yfDMYdDv3ziOtF0JpBXz1oo+6Kbs8F+cpfjuWYB9fJAWSYzeA2gnEegVfjOI9b91yvy7uknNSRPg4KjFiLLgmslHvxrOuLjsKscpyfMEP9wBpch9AvxuNpTcs+7rCAPmAszi1tAExgTE7du7718DzVXdSJz0zqwy4BOG7dNcDViLcA3w3k1d3qugExxuoHn/SQf3/Go3xau+BzHE+2Av65njA2hEHpP/6Ga7nE7zFwzqKGcWBAzpa+07DGsJYxwJeX62ckdRgTjKU1BZVEHgpJfFgiPNOH/lpIe/axPDeRNqUy3oXQMA7GGHhnaQfGuDjLVJcxKEHqYc/2IyHtRyLZnybpyFGcIjYZb3MD5AWj8FV/6ujXOdmibE9If+pT7NiTMrJB243heCQm0RsDfd01LjzU0d5YsLf9cW6RiSd1Hab+Kq+aRfkT9DhuGbPlWd9Hn9WKXpX3iSD90E8kTa/O6fR28a58uCS6391Ee9WamB7S1lR4Y5kOmrUynXdJfOVo2wIZAHQE+8MSZf3nu6GyvthfSW1X3gd9xd87kPWnujC9Ndq3lmXMNNjdvqrVzHYxvOE5Su9xf+hMPnEW9xb6OFXn23gvGX1cv9hLAWd4yadIgfDuc/WdA2/YX3WR00jOsbxjSs5eV30fyHmoa6kr1NgroRGB8e1AAirv6pbzxvpZNe8bxz0R/XbOd3sC+bxvs3qiX886+PM56LNdAdfFlPHxtqSMfxa8ijJ2gCWq+GgUHZ7I1YDvKxlHA2O05VUsNTIt/aKx/mM8Do7HuNtrfvTDSPDO5EcVpyDCp/E1nhvSG/qB9IYVI1LFQZljLAgD7119oTexJWMGrZKXHsc7GfK+4Jg+7/VB3DBL30ib8nG3lx2nnO53vXOrERkDoDE3pbN83VmwRtZVozq8/ywjWLcsU1D9s0xL6Qgb5KL0NFtqM2u/U25RGdvRe11D/uupt02n230+neB3aGsLq1rGiWz52zCf9bbaaXI5TMm3+As63pOS516g+lLnoev9HK/UAFzZlXo56ove/b3eKyrZ9vn+O2gQeAZtUo5nzwOSgYwjWimAvQv7t3/iWkR/1C3sVqul9dmF+2dRi1lhbsm25lEhHCpunXWRB0ZRGYmIDK+AEex9nJBdUPz1jg3gYd0JYzyvv8cXuQF9WEmf/yWvVbrvzbvHF3q2LQ4e/gFyH0o/ASkn3kr/ekljjDxoEZfeiK1HSt/zFWt5RJzSGzjBy75TLAU9oq4BaQVjD971jFn2JjT/bXprEGHU38dJ3xhzSzOybq1P7LjwDKVniIl1ORqTKVv0TaLhx25aQuos58e+YWX4woFoHYxoOtpESb8pLs7d9aeK1xyTCNN45+HqMCrXjktdWOoC6Ost5Jk/uZ9XoS5iCEfeLSrvMkrf8SoGlrxzw/ADbcyJiAnI5Uf147aaZ8ADMjG06lq85Mz+yHLdzfhJPZ1n9ZMeL4UyMC/k3L1pb93rekKEMMjttRtkha4P5+Pztvby0etfN4O061740r2IXXCFhQba7m77++wSJ0iXLFOLFhag7Kaz1IKWPhsVZxrvScTIqit4H9RP26nVGv3MYyHJb/44GOxe0jUTbUMfpBsdbfrFJs1sfqfXeD5jlvcp2jLOAv3Zny82RIzxvnfmFWAQcUXGG76kO1vw0h/mi98RtBV3RMLaF15wOsqv7miVXqIGFdHN1ElhTlfOZuo36fP9d5D0mmw89J2BebwlQOLIYBO/OdYxWT/ej3Pn8/2nPEykvxeeAIcoN+FPGeB5ANoL7ufXGA9NyvQlPpS4sErK+6p4HxfwADBoh/zJR08JmlrCXW2CBd7faClK9LLZOjFdczsmE7vzERbxYualXXppDjNuzOjAU5eLTvus7VaUxytiwzprtJEUOu9f6lN7+ypjCLY2r1N7fLwtghtZrXO753dMWqSmOQHZ32WOMlOaIGO+Dnz4HlPz3Dq88jI+Xo7+Kn35G8ITYtQIL+hQ7nugp9UcBz/ObxnL+RmfZ7UgN0IdKTvcYN6RU8Vx0wyQPyK81wsyG5M+7BhPA+VGI926N3kfRe/WXsfJCuDRTfXlVzjQrDAP6uay93g+MOyc9xz1MgJ4bLltEV6fjG4JaMLx1KVaRi5ks4P1tPBnkinfhfuZ8vb22q0Tcz8f93dBXTn3QVQI2vR9PsrqraClkK32BWatItXPi5p3Ntc8FNAn+6ANZ72IqAr0DWYREo9dnIgAn/ec88YTdqOXhJazpuF7r8nYqdk+vvgF77mLEp8CtbUAse4ifw84kPhUPOwxX+JTCw/khrSMZV0AD7x8vscYRX2gJ7iPAN4plb4Tgn/zx3NA1631XsjR1zPYY+/rPoi3BtG9DYuOS0WQZf/CNk7hERZdrKBrKQbojcY78gmPZsTugWza04u0r67SrsFrxjE4kODWfnOWzpu8U0rbGNCclr8fO/JoUsj4VCiTGxibXd5zKOMAgo48LtOom7R1t4y1UsrwfE3vabOIkYaaiX4hEUhlNLRg/xWMFG1LPe0UNYpNvBoKtDTQZy9tjF2jbzGd6IXAQAx4t8bpCaJxst+KyCNmYkTQlt0ZUK+fkATkvhpVg1anyBik17quXjv0QnzDYiCtxRg3Z6yDJKxrxKcTRURM2hWreKkJ+cP7wE/3gKOC4q8gjeU9aLwnN4g/70W7mOZP96Sf8tln/HJ5fl/GP/9W37882fLv+LL84W7ak03KiZ5tW6Br5ugn0sLrTpQD31UPf5A+Vem8fILMLN/f01DuS4wRLP+cj2IRph36JS4JxR9mUKr42RhTBP0JYGnmGCJnjO+dqv8BqNOxoaCvGGC4wN/jcZAND9CZnAlJvpb4rrxHKWO/qtcPoLpYBtJMIPkuY5u05DNaVAylDD4mpG/Ilt6fJdHH9W5iR2OBrfsFxZ+Kw9iXJ6p/9dl9xD9C3wOQRwaa5d6SF+BftxLuUrcfPHwla+hr18f4BLTQvvv1yjs6eAcX+OM95gEl+7wdhcncu/m9Xr+Ue7QgN6nYAWyk76iYrrIpbPwrX/GmdfvwzUy7ebXjEQD3JSaV9KFEPsq0djcTopfV9vxWH4/HGdNKG7T4Ke+pHWbXr/Ve9OZ0w1pp3z0XfZvIsSD9ofgb3EaWLnur2m484x9+TexttAcLjCnmvzyVnQdG+xRs6/pol/EhxlwrbeC/vEf7Mcj2nz/Trp41W/ps6Un5Bu/oLQGmGI8UaKM/SBruSspWpn+VMW0VMkDZDNYrMJRJEFqD9kxRVibov0egMTHVBWgyIi3MwTqxxentI2kVoNM1OsRKCegN+6A1ORTLMy80h2TJgHAMoNg2gB45fphqvbXIR6CPbvLex7s1ev+uHzgFuVVx+4ZmZUd/8odF+j8nN8CB2/M9iJ/O6b/v9/K3UIg3VvLFq6MebPMeS6R3uwx6y/wUr4rz/Z38rYJzszqHkzEnmIxhVZ2rljE+ekR4O+X8PqqTuOfez34Bx7bAb5i5nHh+eYamT7629b3tz/PXkSBDekjQi0f+yhHakMv4l/I+XGlzKs9DrbU86/yjc9bA34dP56ShV2dFb4NnwNbFqz/OX1UB/RnN4nH+6hZ3m5sz1itbgOyvOn/9g3NWvRHUZvIMGPtqxkBnXj4IjAm/yzgDd38tTcqLG3TVJPpd5tWMgLAOKeOk1iv/I7StDe/+RuX9v+e4ffHdb6m0yVRrbwsvxXMqhnQcdAWMkwTI36MF19FuYRQmwd9fgRkHbvaOkcC4PgValoMAciRxP4tg77W31tHoFJS4IPvJeE86OdoU2BqsF9JJposkpCB35cD2AG8Sxi1iZjNFUJbIuzPkTHRhDS1qw7t0DDgTWmg3SVCsWfe+tBG8iiqeTbUfptI/WsZrNHIZL13a1YzkSinaotD25ERlvKRY+gtKn4Dn30lZpYaM71LukzmlqbRVCXbJ0XmItC8eHtpPvSKzgvPRCIWxLX0C2tJeRkFXf7e9+1k0o0BHCdLywQXeyQP/x6cwikAjlh4b81XRZQbZlnad496+gTh7SzHts6w9dEX68Fch9/hJEv9+9H9BHzT5O0ZOmCo1mAQ8gX+lGemKscNBL66Xjj8AKvnU9epOWYVvdbzTTyKiS39LxJ+7fCjx7B4jkIQxnp1jLPzaD/3bw4uqHPXTjJ/PxFnFCzIk79uaw7ju1NXDrl2YrX6waJ5heWAsJowFcswrI2uxcNTXmldLp3bWXpGkuIWXnPYPdDEIXmvAWUP6fexANUGe0gsZPxblRyJtQhKnS/+dap9W55LLB20gR/QjKP3jpF8elb5wn+8+feZINPX1WbuM7QOy2kX60dXkb7esuCxX+s1Vpo8Y+X3wGM/Dn/BHv8Ef/AN/15e+rXz8kIZKn73S10+O4/NdNR5a/j6U8xR/xgfskYaZKq6OjJtjoq/jhSGNCMv3XQlXjBNMuYEtmASvVWIMHQJ58nzfwUtajAQngnwJ5DBDBDUp24kABTjy9TzVqCxDwFf9lbx7vKp+owvvoaI+OAb5Hf26x1K+wXuspd0DbSIKxp8Ceehn3y8OgnrMJzyOO2PzrUUTexld6rPebbgehLWREebDaS2srcM82XRfi4tz2XicqWRw2L+pl8ovOsD7EcYuW7tdVtsasdsaXmoRfQkzb5Vdgb9OyPqjbgjBgrpDR8Kfhy/z2WHIB/qgRsn5uZ3t/lO++DxPln63D9+okN38axmPyr/FUicGfFiZkRc+8WOmST/aeftyaW16tbAZvPSdvL1y1PlF+ifTRK/msNZjZRn3DUFvxVasD+dcnTbu87rbIB6/FwZ6h4zHpHsYf/NEjHucdm8p/TJWpe8C3kV+uueR+QPANz0RoNyNHCLThhOBLMrTzP1RxugLJl71ceakbCVy49wtY54H1xEVGGN5QLRFS9fmjAbnWybjNjn4e383xoN6m+a05y9ygr73Pk/wXEo/ZsVgvHak/NoFoamMoT5rF6Av2AVTtDn+ThVjGKupsKdd4RggDA57g1tsymdRnm8MyDQqfz+Lyl8jrOL+xebdJlnCYIc+HqS804VnM3YV60KeLd3ji7EyNoP8nTX/qhn3GGIgvxvc1kVKvX13g/ddgCJc1wdgq0aSMde9Ou+kYaQ20w5deuskM72TtxsKKJsCngYZ+YJctaVjOaHBcys2w0mf9wu8AxPr+Z69QNs25d3lGs+HwmRJlj3hixda5N21lpK9YtymfQHtKfDsHIPmG7DWd/xNETZyunRdH4zWzt1mC/u+bQvp+ZCiq/gM7yOeudF6wIePAA/K+yelDSf8hNsKf2frS3z/Mub+wEPZA201dmWzRzltV9k1P2OruWXsaKkToR7vP8X+lzp+lMj4a6U+ivJW+lLdefoW25+V8Q2qOAfI310pI0q/ncq+lOxKfSnFfsrfEJA+PHiXIm3Ie/dlfZxH+H9T927dqSpdt/AP8gI1GvWyCoqjoAWi4p1BLRQVjYmov/4bowqNycxc63ned+/d2rday3KqyKGO49BH71Wtgao5kLX3iF9Qz1ZpEGAcFu8d77F6Jsm/OEUbDfmNJMYefg/XmJCWruYBGUxQswJ5nO6vYD8P9Nmpb0ZOC0bMdHHx+/re33rk5NPL8lW/ONS8OoeFSAO9PHLo6hqjqb+T6ZPdm36J1wMC43QvRnp5uDnrE8Zhpp/iFJEwXXvTxDHIyctJ6g9Jd6rL0LVHtryM/DJ8JSLzjYzDZGn7OnFfqeFHhjsZG7BmgVNWGxDHGZFWbFJ+83iCDQ6TtTn+3/6eZFVN0rkqjpNzlTce/9Ze+ScvRiQUG29EDb3MoT3aL7RRjAyrPFuk6+14MZ7w1MnCk6uL9sBclzsU2tQ7uQd7ZeJc85KXJ9cgYrkQizmsTad+Job6IffMcW7rTvwGNiyHhaF0slRnqxexAcPDumwvFudG2GiNiXDG0zw1KIXPwtOQOSU3LvVpGubg/zm5Y9bhGNf2uGuRks/SMF2A4Vf+nzmPnKpy/VqVqj7Q5aqOkhHJLbzHXILUBJBcDeC3Yl5AxWAlvgLXMnppMfPSstT8lGN3D+NauIgxXMv5iNxlUjPgPHztnBuz+cotcl/4ffBn0DfXKVJa8DhntD7W99fBmZhg0LVoyJ3uZl96ZljnLphAVPgmOIH4m9gwnHy3v8zH587lOiqWBWfFwm5aZsuCOXGuvX5eXWaKQucpLJzI2ZIwWvoS82xGcWGxTbRonU/gmvfW000YUVG4YbyjgtmkTBlF27RscVgLXA8czIyE87F5K7O80Q97Ku5W4VMsmYuBBn37zvNOJdYVcXuIbUNuDMkho/ZsP8N2kzEWbJ8a4loCpWeD2qIxva8ZOM/xN+CPyBzXk4+t+KAlZ43UP8JjZY0wV/5AQKLdaNOvFRYlCS0SN8onQcl3VlTmXpRyRyeBG9bP5o2Y9VbQBrd06Vychkm6wmuRix4l4Cdap00ULpL+R2dB32ottf9Rtg63gw1LYI97d29BnOVJeQKD9yB5sjgsIeQ2Gr33B013ae3npndZMDpyRBD5OTs3od3SoY6FfHO00ymia65hmPcYN1PX3HpOFAb8Ek9mcbNfRPV3j50acM5GdFkbcP3ZMuFHN7a8xbix2d3zI2hn3vViwA5Jf/DtIS9nNR5ln7gSMyvzoNAv8b1fTOiXKfKXyLyCnjSwbim4SMyd7A/JQYd5tKsa79/iHlIbVsY2bTN87kNWcYhxdlifhHHhDbb2l3TiToUzHGEdRf9S3xoREUxPD65ezsBefzHX+daiBwHuLk0Md4DO78kgG6c1i/0rrMHklLAb6cyiUa2zUX3j0Fld9NuH1Ll+kFFpuCK/0LsG8RnM8EYJvk19Fo6clbseu4y25uOx65KMOUaZWlqCeDC/4RiOGdL0PZsm8+nO6Vxvh8DfLZOk0WiGbAydZq7jRjL286Zh3fvnKk5999WlcWNrZmNjFPEs4pX/Oax9kDoxW0SqlFP2F51UUjdqw0sSmWGsj8+vsTUStPfJRnRpvF6Wf9E05V/r2Z3/GIyxNpF44ZbhCDn/1lj/Cf9G3isZbwkuD//uN71bS+gfRmJeiqU1dizq1FiWObNpVkwtanidkx5yl50dY6vNWBTQfi8nxWZklGftk9TEpMddOOKtxbCO23g3zW4Utbhfbxg2TSY2CwL/Qj6j6SU89s+9OnHOZ28jtXHBJtUnQuTTZjTgvVvLq28JnItE0bn1zd9ey5r4Qrr3OthOArmcf9Yu8InM9z7VVA+EswQf6+5XNthzvYPCpkwJ+G/Iq2MgJ6Cqw6Myrn7/TNXfUan7nDFLBxu1oMNeS9aCtauYm618zjUVVCdjSzTvNeQjg3NhhkUwzfs9GXMXYOGWzjVQ58A4iHhwEEey1q2HD1/VX1t3fxSW3q3EdRjpjUX+C9h+lR2pcNa+zFGAP3KDMX1JDHxf2YLjX+OZny/7tpbQcB+64S2ng7rQo+UyWjqZSz5Tg9RS27iVpwWxY6xR5FWNIrbRUnjNxiZkYGTfwnjaPZTWYHdoN2Zxv7chFnMzZ+PP6nqq/fTzHLV+KZnAPuKjsb6ysolDWacs1L3CviQ1VtzyHldJ4LkfsScZl2IYY1mSyKYO/ukFxlO3/g3muE/CkzkatmG5ni+S25NGmRFu9twTpNLrUvow/dp7Vuy0rO6z8ETbUTJfdmPY/VVcazSEjeI53ih1eMhe8uv8Wh8q48rWz7rQnzpm/4D/+lZXSyo8txarWleCtfp3TZtEYqpKbfrAVOmbvsRUyVoysjNqj/pSrJ1VvN13LaclR4lJxL83+rIGjXWM3uKBCfP80x0T9qyXQVMVn6DVuoI6IE/PX+Hw3OdxB32MPsOD5wDa5kjW0vfboe0vYxMeGWlLVffJVT0JLWX9pQNu1gB8d6lDo4MdNTS4qe7/3BHY1ownnuSo4t0AZvzLkXvzf55j7KbhcaEfqDnbgLboY72yTjEPS9S8PfKn+Gki/b4A+bSh33cBxqlosoXXmCIH4QX5BZH/MJV4XXPzwLs/83BcKxsI+cmMey4iePB2YO4QxnV68LRS71F/qBF2DM4JHW3SxsXbxDt71DCilzgyoA+hLxtR3e/ZUdLw9nawGfstD+vEc0fl+CJwdIgXFB+mGB03zSSw1vZ8MxBsyResawbrfD0a+c1o+2Heed3D8YcXbILAWedNGvfqOXgdnpFV+TqFXdP5d74DqdtIuxgfORHDgWVOD+W+BM8Je9LUvL+CPQc2yd5FDA/YIAHm1AV8Dn4kjH/k1IMRwDdOBvskfo41JJLjM44Z+IKy7cDOVHr2YJ/c7cJLC9dB9CcV//oVa9qR7y25mmA/IteH5OcTvnxVa2farPQUf85f2EdhneYx2NP5lHLwEURq0nUXPk8p2M4OCn2TMnEon70RcXJh7PX1qOXrm7oO3+km8XTtY1SbDDvxxS0ixPmyGz95pZg6wjH10u+DnRx5ouTetRSGSOd+fHDcW5zYYWBbYfG6MYq+Uy9Hdigatv5BhlGygTkV7U6cElwfWLU+dHG8m5zK6Aa04bUFdj2avj7zOXLKwWQpwY3kKdy/sGkOxxHwF8CForACGegLlGC8xdOYRLdaI4j22jmukwvxA/2E+XnXvhQdo2Rw3/B7eprAj8G3704oOAtJfTYcbNoezU4cka1g1y9pXtQGebc9voHPQ/iK69mawLOSG6d66dnf7n2eP/Y7mOj38aTWV50/+Due/I7RH7HNUPHCQv9L/iZcd56Pgf6V2I0qB/QvulLWuznxe7DI9ZJLTI9XpS3lga99r2/USqU9A7caBZlDS9r9F20pIcUfB8QV3vDLbvDQb0wxLt5Grpgn+26qSb0cTqt6MMk/ifsg2vYyBip5KLE2gMu8to42kOREpV9cltJWD50XkziVDoaM11U5MWX7KzxcVZcl16eqPitDrkSMyzFzVbb6Bikc2F+YHgYD07gVg+vHnt/WLp9QzQ/ziUWTJAnzdmu0a8xa9njR0n3N/eheN/v1gGaZFW/BXs7zKKGT0eFdX25u+0EW+KZpemhXGRK32bf6zunNzsoPK1u8gfUdEZ6X5kXA3Dfd12WNeh45mI30ZIfJytVfoD+j/mH12qnd8LPGOQphA72uM2+ijW/vMzq4NQY+OWzHdDE3y3qiR4R5bp18xwMrPiqpg6D4nu++D1H6BfyhfaB4HaDf5J9c85GvV1d8ki1DxuCljc2miiMyRQxvrF/G2+m2fAuM7iom2/VoqtU6ebd0Sn+pXxzwa8XVGqdvsBZETnnaOaRr2LzV5rfcozAOR37kgo88sMo8GhhO1ySthSf4bBAno1AkBonE2/iSXweGbzNxWpKrX45KFq3qjbU+Jqvhjb9NzfbW5KeYlDOL1ZO2xfkRrgEbqtNiIn8z1g5CC8F+im19szUGvLUgZVe44rRhIq3GJ/43+Vbv/p9zGYXiztkh7ZhtZ/mNAwNeKadP9glyiLyKhy1UV+uFzJfc+brBCKr0u0IySmE8+P8hdzcuMNZ+Ms7pofx3Hm8yPO3IbDYer9pHOi4kf3ftnCJ/t+MQq9C2IoPlquWI2HU2ItC/+WsKjxCWdFr5awz5SeX8BbtdccuyZ6wq5no+aYQcS0oPGDlOwfZawkCQOll/wSmgqM6lv65bNCwnuui+u3oe0IvvmyLYbDZCN2CP8EbsoGfcIBcxty6pp9/AAsy5SXkdxo7TJaNdDitP5IV5zozdCPz83/acqV6Cm3gpElL6sb7OLx6sRQZ3XjZN3zBFOaJlHfz801DPEnCsko8+jCJKk3F+y7lL8wMDh+Ew7NhD4kRwrElj/hlwv/1zf4C1GDGi1hjtT0PW01Qxa1z/wF7QZe4L/aK94uCW2rcTs8JTmoJPH/ojsNbBuGjSbWhMS9Pf9d5q9eOt1l2yjVezyvk8WTlh+e7t9VHI2vpofWmT8dnS+01rY9GPRB8fpjwskjwe2E6/pi1fX95mjK2F20t43Dc7ZoPqidF32qMJ+xyfSrBlnXlvlsXt9Nb1qnzsCvY741wmKvlIJC8x5rUymLeYa0QdigrTOtD246RLohj25c5A0zT+PvPN3rADe8q6p31sejrvv5BoM/881e+DjmivjrLPwLKbIsmGdSJpSV8JjNa1OoghfzHst5ZqG8wbSkzwXtptQtUg94XUIrCkJvVF7jVU4arZWeLrBZN6bTKfcOvSqj4H7DrSCMCafdiAXzbexLzbgH98Jm3EOr3CmmqkyKUO3yVNAr6SrLM9d95e6WkONmJ70jSpF3e3/fBydK+zxWVb58HUSfvReOjB7jW55Xs9i0uesym7nWIcXFSA3XJJ3mEfC4Z5ZqA2hpWdC+3jPBhzH/Yh39BFvgG7z4Mx4upr7upYcge9o8Mg10keGIzBCOw6jPcMmQU2Cp1Rwhxoa6wfqK/Otbd63bRggclvjazPkyTIa8Z4uphOXpgLJ06sDGw7ve6m44/pojHRYyNJ6DqEaxfvHtjsYJ+5YDIg32/LvKBWbR1Ntd2M88gi44DM7E6dm5lmd8Hm803kebBE3Nd5AjZaAe1dBvDZ3CUC9m1wBkoEq8QM5gH0X13X4Q/2AVgphPPIx5O7Pv1DR/fBGYM2WKXl9YverNL6osh7i3U7mJfYVbUuTL2SI1Ga6zw1yuEXH4Hk2z9hfctLZSu5WDtDPjnqyMtcbKUnvrzvN7MqDyv5bn67H1PVfGQyJn1Bm1Bq3+Le9II+m4/6OPxN+TPnfbXP1Edw/yOD10e1BF5RmRY1b6A9pnm/w1UciGE8CDHyYMgFDEVUoR2TYVOgdpvS1FFqoDDvdOkvliRDfLfEN1R4G9QLqXJ7OEf2VR5P6gHiOmVmjmk+9L3THZw0d6+Vlvct6SBYHPwZ8P2pzG0W2BqZH9lJOnOJM9Hez1srQl3gwizAWU2nnk1EHTm3082l2BJ+vWqfw9pqkc6cC4wn4VMq7NXn+3lCQsyRwt+wY8LAGjvhfkvieELWfJZd6uDHNO10b9dePOcNBufGWqQwpdjiJOrUDXdDjMUYi3nn89zKHvxuQsbv7IqX+KDiJuQ3/NH0Nx0+2NefNHV/+GsXX+rqYu6QXRLG9J7ev/Z0EnVRG+vMD90fXIfDji+idM95Av7zFdxaRvsmjIMP9P35JTTToPQHQaMMLyEMudg5ow7U/a8Lj1JhWxX/5LJOW6IeMv7SW507j5iKNXL06Was8820V2xUPYv2kig8AQKdsQXucSwcvyXZGgL2K1hb0WaEf2N8gME+/6zzLeRvuA++dRxSMle5/risa1utthgddNh3YOVzLv1rsjjMy0/JJ1P6HpselM0F0+hU2kHArkTbv9XWwmyTFpV6P7J2c3zKWKP97l5NsHNPB3tTXK1rMRWjS3NssybMBWwniSfWdG58njuRt+pcPaHyE0gpTk8yPtbHLYcj5szgyt/Q0U5ObgRxEVLHAXU/Y17FytR4UDHaGsap2Sa96/jJHAOT/ohv5JR0xhHdR6tGk4ajWm9D57u342yyQYobuK8c88VvNQ7P42/dZBitjmchWmionz+L/XCcRSedjgcXwqNJSn0EDmb89mY52rDpnnztBTkdoeGOk+3uAD7wIc1f36/rNpguYTkyVV1fzC63Wq297nePx9FUjnRbq2HISQhzzakr/YkL+hNd9apq+GVOvF8yu9Igl69DyWdSvW5kTl2+wp4q8/jyNZM5e/kKvrjyK8qxWGctz9DX3YCXKzvavfqkOBgkXZnO0rb14qBv9FcvrK8MYwLGBzjfxdGzReF7/bJh0O7CeytKsN0OdgLHR/mfxwuPZJfy6PGi/FznC7ssG2fYKEk29/Da+nX37dpedrX/PD73DFrrry+tvr7+eXz50IO5x5MChEESkn/HUfjZvY5LcopIPLdaSxHHBnYI+LvShqGP/JeKCUis2x2TIPmPKt6+pxxCjY6kf8ckl12Ff/zKM04wz9graSu3t1sbOfeMKHPCS9sMr0RE/Y4Zv9VNe+1HAfKfxqc6LgHzec4c7nfJ/Bpkb818oHWEwucwoWdpYoangUVc6pT1wll3NXff3JjCbM7d9T2OoAsjCEwjb8TXD2OYnE5mTMMY/GwNTHLu/cgtxmVjPhO1QVjlFeO4E91iOMe4r4d+aJNuSurFizl2alwfWMucd2Vu8bn9UQWGS/z91r8wqZ2JPnAVs2RVTRL6vpnCpWFdvfRRpthXpuIclZoiv8VsqjiEJjlYJRZE4YIw9na30WGeSx+bVvFwlKFz6qzr0bpDmShg3absgmthZk9C6JPzC/Hzth8Qs//IO1rmdOzPa2QiqhjPrB+sOmLwGtVWrdeScNh3r4wdJ7spGCN0kc03qyjR+lenMKKAkkwMrEucmGUBlty4L4hHLMM5Ojw3wWqegK+2d6JkOoz99/gWt01WvwWsDIfh1gSvzYtCkjjmOOKMfPXlsIm4rE44+/RpfNmZ4BMMD9lh1hbd0D5aTp3U4ix+iYSfGpcyZOW2T+79I/MOyfP8YE8663WcEzIvpDBZttpLpV+O/uUdQ4gYHbl2VDaSysWXP+wovWV+xT1kTUTFN425DcTpSD8K8YRV2873VtbiUVwIP49nw9D0g7+MW7RuuUPNQf3U0BLSiMocxkY5tEngBZdxNMzJJtsf2NDN9t/G8rhQ+V3hw8b+yOPTCPM7/zI3x8WkdzDOj9y+QzC9Gb/BONJ55Aee7pyH11mvuCR0sVsn2+buQHUmsQF/tL/BkYy+rPx4tMsyqTF0X49EOqBUxf8xt8FUrSrmf6SPKrFySm9Gf1rfYrk/SK28xFZ14IoT7ktbVNWpPMWpsc+mpoBlihk9QcXVWzOXwm5prpEDmO3MW8PwGn5jEIaBD+3U33wfm+IRB52/bcjYn8E5g9xK5pMl+CyHdnYNyHDrjIN6YeDawULfva8ng3qsc3NknXMBpm9Ah7pY6CR0PNJKSOhHMLadsJEvXdrplYY7wHrv6OpXcxPadqRwFFocDcCShnaEz1+3h207K8g0mRQv9d3w2l17pL7hHPo0O40tmnokgjGDY+eTdA7973pcql64i7xhD/4ysJnrmGNzkEe4TGLkX4A+QO4Y/BzjVT/5mU1ZmyGOPXYJ3tgmibTD7I1l7huZFFEAryzzemSVSD62XzXTc8RGz3t3Li75ezjPRHud4Hnw3+cood7fuGF+ex6DI/dCxQfGV+SZVw75zyhybCE/WJr/wQ8Wum/aIXncuyYq3dXV/PGMZHJ4I/zlV+622QjuvTSPT/cuuZDOoV9njVPEhHmcaP/Ob2Yrv42g1iNyVIMdo54lTK5DtO3vXGAh2DfYRxH/wd8WM3Z+nUCbNtn2XNtmTiT//V5XfE/v9VFAA3iOzu/PUT0nPsc/tYf2K+f2N76/FdHl0lCNre63WsLq2aBPJA8IPhv9yWtGwZf/7d5Z5tD59iTvDcYbNX7lIHLzb+Nw/bfx+q79ylVWPufvTrRJnERluHn0NHYkF5fUBrspPKl5TWQMfIg6V2vYN1BPWfGwyHglwXhm5O8MqR/GbBn7uSU79+arY2CcSv0lZTfIY1A/CzEdhjonxtxtV/0OY0SwP8USA+ZcElXvn7Wof0ma7kXZJBhbcgXWQOOfY2NOMVDXGpBQ5f5kXjZLbBkfhHUW9kK8DtrSElNPH+dOX2BvxHOCnSifay3/jbH+DdjbN7V3UrgWfD4JcH8l6RT5yWUM61LlAeA7ijkalRPA/IrKV0YpYm/gXtRxDtqaVd6g0qOSsV28RlAmKscQwrqP17olDWjrOuzlEmtenU/1QxavXaWDZ7iqzhGxQGivUVWHJzF3NZhnCiu89ifoRwTQf7AXvVS5CtyX5PNBW6BvUg+wT0fYNs4LtOk1wLxI5DflteB3gcLyTYKNxEHimrqpcryIPZvI5xZ+s6pRh35BW7JlwD6HullT+QxCjQN3g8e2GMYXsX2DsFX5T5gr5vj3O09HncPYSXTKY1hLyMBdOyG0G8a2DSJKcFgTrF/2dIFaZ12dcN+gPHFoyQwqfIsIv09KlLtMXFKi/Fg3JqWo0xLOV7LAJtywBMbYUvhtYlKCuE5u6yG0c8RnDk+gvUu4lu8SXtrk6g8przOdFyPKW4bOSxcBnUYJjlTIOEx9l3LhkEvpscvJtsoErnnyDO4MqHACXeB9xaZOfBvsFGZRBtfklJRgY1xbJfLxwhxd6ySG49OpSRwb1sihIQSnB3cG983gXjydw/5y8XWsvwaP24D7tylnOrmwwIgYPndkoOVAhG7C+kSgPSzuox6cRbJiSCQW1XHwPKQsBphDhBO7MHdN1PwyeAnthBjgwmc8BvsN9p0Sc9upTkOslWUGnGBgXxzMP+vIH40atHAe0xSxAc8L53UonF/XS8wVMIlJhX0azGiJhYWbcdSzQ/PBfH4HXxqewTEt4s8o9x3sL104fZ2kSI0Ix7EhwvkJb4Vgg0G/cFhyU7hGasL4QCyzTcMutIVjUJroDM7LRN1jxPd1jKuI7oS9vQxy7o/IxbEQGwvf6brgfWhrgyCfLqxfRhnD8agF6cAYacHzdWGM8YDI8YQcBdygF/8NXsH8Z6b4jX9z1TFRe1AXJZxDWFSIEclwjMbQPoxD+8D9Owye3bVQp41wnNMmYnzgOWHMOIiFsShB/c0ExpuAOZBDG+YjUiYDytPQ4DAmiBhDf8F+A2NBxBPjkpsyjg1+DLTTEI6dEmgDGPfQ3l1oW3hGXkguByZS7DcMb08N2CcsaF+dtKhBuqhVZ+uoG0yYB3+oEYc3ZVqcwzyCWxKpg/cM4083LmD0CwfmRwvaHxxe4sPzlhbBul5u8g3YZiQk2AZ9EpYhJScY07BOhCfq6Cm0QflBSr9A/WK9zGHewe+z0iVoawt/oBMn9jK4zxDGfslRz3jMoH8p2IzQLjn0XUCx3TKYB1isvnYYKwU1QgfmfhJRwU0YnDA36kOwNGB7hmtcHAafwfx14B5zXDcWqFdg4BznDNq462BKAB7syEiRsZDAOoTYbYZtgukCl4pTAH1sWhcYbzCO5LjjLc9DDZCM9aHfMb9ggBUKbRPDYPI5zAfoq5MBc9zXkTOoTKErsB9juI8TtGsd4/w2aiwSUVh0ddVdN4ex6WCtoS+fUwhYQxw1b8CugnkPaw6MpxDGZQjPBuNUL6E/SrCvSsSHFFcj7IYW704oSWFOK/y3ueqO6b5V6anEkgfsyad3v3j2JH8d1pPEVNWOYHZd1nRgfSH0y7Sq8aAPn+P43huvkQdwccSa5mO0nJKPctqvfQafq06b8GV7sO+eGDVqzS4zt/bJNS7sga9oDxsTNxqfJK+c8A7JIaUbfWFkx/Sea8hscVrrr3sxL4O3UIH4LOUwKPwskZoGkh/7nRiyfhjrtJC/AXkiGjAWfsMHzcgvtXUW/y0fy7EWsIeaA1QGvj0i67bA0vqpG/hv7wXmI+Sf0eVPORRZ77180yoOZsXDLexn7uhKL89W+uVJifH4sYxPwrxj9zodxCHCeoRxR7x3Oj2FttYauWXdty59OP+wxi7dkEUF+EcFa0b5QsuGPWuttJEI9edkmdBOWD+4z/xWCi9pIG7QUvx4qn2/cVax8ZN+xsaEtpf1laodGz9qZ3VsP3AqGHJZ1KTWkScxfogbTDAGTYw2ge/AvK1ySoImzF1SWI40btScCtcLX8o2KmApJUvsF0viDWQuyqNLUvFLfuXvEZLkyBis+bh/Gbd1kftOxrbuY+WWSK6VR+3Wk36Igccjd97tiXtdHWcS7XVBJgNuR/le8v/pRcjCGtcOL7X9jKxYyI6KH0/s7QPcFhyfQ9vDRC8UZlIdLyli2up4yQu4rjRVasPafoW/wb5U/IKIQ8qJudEOTW6v09/OgzrP1XnwukZtz81NTlt7T5d8fVJLRc0vrH1dyho5xsmFGJgHoCNinlTeXsX7uOTeQiwDxgvJE1bUaJnyu80dRxM/6WeBMbAmO2YkEvfpoc6FrHGoal/hfCR75JP0eO7us61brsisvzQ+YDuMmXDdtubO2rlIx44xs2ajuse3urV2ZpyLojeLk6ZDY1sj97qzYPKouxTQe6ZnzV7dkII5MXjJ+nR/vWtIwbgcd+IY/M2oeDev8WKt1QdL5xOuPd4uJuGKX8V7EJ3wr+CNXr6YxKYvfxtNtEyrlZ92RkadTJv1BvH0ZC6S08IN03cP/GtVu1nxM5aEa20kyZiWyGvES3ogD95w1MduMfNeh3n9zo0eCKZ81quDnK1jFTeQmAlW1WJinr+JjDLf1verxNKcHzz6ig8UczPTSuvLPIFDaOviaAtf6BffHuhiaIWFb5d+ZvutNy8SaX659Xh4G8Bxe3vmp3ZA4PNiSa4E7OoUpmR3ZgnosiszVo3JKH7J2nG3PZqY2WS5z+K6GY7zRtBajoeDuJEl4/2hNQ7gbnWRgtEuyKXrW1k+hDlss/KE77FedGhdjpFN+gX+26afka2nBV4b7m0F82JmXMGJvPh9h/grbWmXcdsdjdPeaGl/TODacN3Rn5899OdUflry5ld7A5G1FjKHRaCtmKn497C9YJ9cktZM65T9fa2WtOuwl58abouS0YeVWMeJl1gFSfRVizP7Mxm9BVk5RC2tk9OqbXeH/vDSCdFbj5Hfai31iqaSZ1aPJ9U8ennU8as9S9X7g48Ee9oe+VRZGJu9W2bOz59knsctslo8a47srNyodYadkpw2tS6NyMTcaqtGDj6CNazqfHba3mTa1qfvYXdLEq2WRlXOV9OaMp9QxnKvHQlc/AskRbcUWIsg74Ccp1JPvXzoKdHK95a4RlWDKn1MWSOMtaFV/d1a+ftJs9KjWsr195IovlE1NqdwHlNijHFOlKj5jHgav1bpOaPfOVU1y2lD8mqX8rr4h+fZIw5O1UoxfP+isJaDhw3yRuyODba5XZCAUTbQ4vYn2IgDShbruBWFa3M210v4dxFFcZ27xvTwavAti9sei3eOTaP8fZzswgzuEnwV+F32Sd6dAdiSgaDgV1xunaneusbjSx6Br+xvzXTGis945Hy69UM+Ndm1v154M8IG4M0MRpfCMEQMNqk9TUhfIM9AgX4Xh3PTwkgco1frow3t3Wu15treiV3dB0MQfKgkgN8ig18zCMbhYGx/+JvNOLbLuhvFuWuEvThI2v6gWe5HDV7f5PXSB3uXC8vQyQKsXj83neKYGX7H1Y/Mv517g9uAeWve8Vv8CDuxGIgTOB7iDD412LTgIixzQXJKtC20NPiiFHcL+l4rGaE7p0AdasXPcNefol3kLd4i/9fwnkf/bkvc7TKplaBw9ai75Ntg06FG4UjaFhX3q6wFEvJVnoPxudr/hxfEovRaOvyblnRHLwI5Kz0jY0PHqDU4e9cS9XohrKsViGNpI+NgQXqbWsUVy/C1Vq9wMBHaI57wLJgUM5F6eMy7KBqrzpgcz7XG6jVHMrNCcstuemDiEM8yujBgiYaYmmGTVHgdprW4uSLjbqXzHD9suKqevuK6UbzOd64CpSEha/VhHb/nhKjE+/75e3PlthtZc9Ttvdjpvt2+kW3dG8LY1M/N9ag5O+Z5aehGLwIXTtPeTnMnq+9gfZjrmxY4OO+12aZ3jbeiR/Jxvn2ZLGfEd9L2dfWyt3uFKHxmgN+57QWwph1Gw9vLsBGSeNPVw1Ds7Ii8abvEgwFQ04U1x7x9utF6n03nj/ooB+0MhtxUOXJzVPVQKdbIb77hwC8VT7QaE7/yv/2q05SlqDMAJo0P9iMxYImM9XNnr2/IcKBvesjDC59B3waS+xcxQk86pbocA6dqDLySIoHxZCF0R/oCA2JsmEfC3DOfOIVrJZF8wrCH6uQH7oRpl+q4Mdq2hT3sFLbybL7Zq8aDt/lP3amfdV0Uxtnz+6My3ys8UyLn4F2P9i+64v+FvqzUvbrrFt11zf7x/Xd9dPu7XvTyuza45Gfo4noxJlU9Adx3irxyyF+RP+zJzHnCZf12n+Sfv/9dZ5cKu8JRVX909VNzdfgq/vqd//PYSseV0NxTvBgaWPtPGrlG6/XXz+l3HWJS+b+aJv3fVYo1B99IFQmp1oFbel8nbFfWX8dr+HzsSOwc7rXwb5m/VzVcuJe6Chs/qXKht4D/RVsbfDv/xqWfR0W6D25++N+07WrSCOe50/ZH+cJr5nPdYDm7UMqsgo7G3duQ9GtbkZx57pztMP90GnEyvR3cGQujkJsaXRb39o0MUfXF8PUyL2Ff1A/22irMDvLg1rHtnAGtdLPVez+Q7xshnzI36Yf1lBPR0nP/wATTg1mWpOXFgy135VLnNjb4e5+mM+tWdPzbdhTe3FF/k86Gww59rA+ZMyIvs01y3WUeL0M3vmja7lZbPXTBWxEr7Z+6x+RRn3/XRzdiMuNqP7S/YhFVe8YV93HaRI5YM7tzjnQp+gKKW1pxC1XfTcH+fuiGPuGW7twdYJeBLzGSdRAKU/DQ94nrcIxVcRu2VV1Zi5aXcuo7cxO29+sids+6OA0ov8TGxmlM7MM1ZIHOP8bm3Ci2HWK90Ws+9fWxE7MtX7644cbIhzrBmJa7My6tIY38D+/W6kQx7Y+i+jmOHJhMqi6yqnMkzrWxnrxPyOri+64+48tbGVmlb5FD3JrcTq8TtjX4rRX3szIB+2IfTHrbgUE2/Q2JzDAtkFzCEI2TT1s7Nyp1Jy92upFvXRpPrEvRHcZhHIX17/layycp6q1dkzMZSdtU5v3BFwBfN52a/NHW0L7pqGpvrNVp3vNsCv/flTytqHUFcwRx0VO5T5dVTkT+PhmZX7gDZS+rHBqu9XtXVHpkDx50WZ9RulwYRnjqBg5fj7du3d4I8EmcLjdKWHMYNUTy4dwayWSSTQf6qWQRD2HeDzFOyq7O+4y09LHf8JfUsahe30ccdXLFAPbRobWeeVHz4yM/LhqLW9kzMxJafDyBsfBajQUTxzSNmE62glKSGhgvNXIs/84HC1Hf089p7dW+DAZXdrapk7m0bA3yXTpqeqPx5sMwI8xTBBNd+AFZJwGYZj7hJ8u4FLZHTiOtWBlvcfnJR0Xb0dlnv/7hLxr6gsTNrhWNXkWuamrV/cB2Jp7wzwqneq54ZVfE6pJVqQ+J273rXP1szzD4ru2kcKu/6qf92h/0/8bv2W+/z/xf6x3Jk54Uiat64+f3YNxA/9XKai5ju4GRERlnpZ9lqDriP8/zP/3dz+sXWBP0XuFrxzJG902/K6nOd1L13JsnDSwm/MHzsVrxPz3Wod+PNQfgGCvddKZ00+X+Ss/arpxLG4SUZIRbqyPjy8hDmoOPyfJK1+SJgxPmepgOcc4jVsAs5bqsgc85hfl/Rp0G8vU9Owi2nWudN7IuotoZMSl9C+7LpBn0++nt9dp013bWXidZi67AXBwaN3YxSuNld/+809s//t0yPkt1vsYokedjJ8RGyPNFlwNb2tWx2rnsDqvzaePW43OSPf1bGqG0whMq/5+hAcnq3+o5Jc9yFYN65jBBbQUKY1zZaGBvqFf0Ve78FaGsJ79J7QqlSV2N4zsXpXYqqXBbgZ76LuVUcUqiFgj1Bw4v96SN3EmvMm7Hib83wHdmpcB4OqxHyJObjIaXT4wpM4ynI98U/oFnB/Y1HM5feu879Rn10QHrTg2RG4Sbx+1hdpR1DZifKfMB9OXchXGuG8mkfzmt8dzW6R6T/26vR1JVCXEiaIPJvUDGSBWni8yrDMgF/DiZu5e4jP2jrunuw2G8RNaY330+3zIVH6/CnQipWRG+NU8dVuYfplX0lm/tYlHzBvO3mTa5fvBR2HKIKHWasVt9vpsek+37MC4Guh4jR1dtnG03jI9gjj6wNUZcYWYcs2E772w/SPbldt93VpuDWCUzY+62hKET2ydgKxiN+ba3y8Xr++f4Vt8sxvnKz93rOM4v2rZtzRsnuhrsw4fe3HO9uTRkH/yAG2f01U4MnlthHSX/Ce6rak9dp3e/dvLA1t0eWGJp92AetMLcPfEJrnpeI57qUTmej66NdjzrfOwOxce0MffqvcAIY6aL2GKj/vDQnuyzZtGNRMtxw6Thjxpjy3IS9rb4wT+4fZ3o3tm9CerW3Hg/3bqDCe1ksbvb6wTh5ScGdsFwu57AVehxcJkOdbcxvnQvYJ2NIsOuJbtofvfTHvjEB17shBUhlW5mmpkjf0BkzF359YHCh3Jpr63jWxAhZ0iMfIpj/2d9hZpXxpa/1bYfuWHd6DjYDfyNFaTDSXbaztEJ1bfX0py9TRqfb7v2Jwm9n1yR+uJS7DIq6sEatnSn1ZlNRpl26mf1/UL+5k145h81fwpvtdE5Maf8oa8aK95pvkMcFWp/ODS1pR6KYLHCgINPckX9lGQLdgL6LJtgBMbKJTb3807t/KGPtbPBFvaIkVAfk7ATXF4m52XPfF1+mJ249THnl66l7Yj+QUoj6dlRfWFHZKdx7f3zZeFzxFMcSQjn8HUtnd7GWjDu9vNxMloPu8ObJo+vL2R9MXvEh7l0plNkYZVxK8wvXsAHuqDd58NayLFEAbG69aFwEM9OJedJJG35EGPHyLXFfq2rhb0FtvH0EAaeqMv8mJc3att9O/DWh2B1mNVG3IF16a0jXFyfEibctyPmGKu8oS35QsB1Januxnoca5/GbuPS7ihvd3O4uRVrD1bD1pEIfTLfHSda9UrqRqfy05nyzcmd3xWeHeGMVf3Tl+6vyi+Cp6Llkk+2xiVPxwAMsGBevR9h2DjQk3u8S8a8iKycuddTyTZ48NRSybF9VZy0qeKkBddoLmO1+G84p6boPSUfLjQRtFNUnU+O+2+cs7DW737cC+PDH+eH+37cn4O0GNGP571rf6WwrVTPe78f4s2/PTvy697vr7zzIaj6ZoNLfXnkLcK45cQNpZ7BX+y5uSA7xAP75tuqCa0CfmTrp/3UYmL4iSU/glrYfz67rT6q70fyVc0/DTeoSp/o9Gs/suwe81F6ziZiP9Rz1ZHXQOqStSpNYozhZLLd6uDTErIo1DEX9Rnsk3/pLxnPYYqD578ZT/bfx1OJ5xv/l+Mp+P3+BPmyd2ghdV+/xd3CZEopYghPeoWn3ELfYX06+O8t5pU4733w3bisUX/w9ZbYbwfsr9MAbIvstrUXG/B9RkEzvO2OJBZtr+m6WpGles7ehyPw28FmDDb1d84Pb9qxWA937dEItjc+7hqD822n+tif+9FbM7kWZzDnzt7+vHRLczJqk5t2/iD02l241IlcWj/TuvFh6cfRsN4uppX+7wntlYms2xkqHGzFjyyqmlFVtyV5kqW/glpiGdZhOhwx17Aug/2GfOrmQntP6LQ092PiRjNruZuRaKi9L8Lxpjc2+bn2ITkUTZdk/Bg2U+3YI8ZGKzPS61I/366TfOslE7v7snpxSOYeFvX4Zm+GvUZpDckKUThE+IZYte76h0/2VkAqe0vtKWBLJYhhvEm8p7S7nMqeSGxVw/VYd18C1NSS2lN8QgV9vZ07+d671a67uk342tVFl9P6Pl4017311gzX740ieQ+tdfg97y52JwpLa0rCG9h28PthJ7/tj2FGipnuFHD3h9XctLzzQsfz2Lwolu5VKP4QWA3slrl9e3kf4FbjDbtj+nkym0TW72QY33mK678oLdl0SWUcoWVKPUoVx2MVx6JpXh9z4JMqTlnzK5+A+EzMKbRM9yK13L+0ND/BHLhKXcjaNkretZLWjLXAGj9YEDjiHQ2rPM1ZVgQevdXmtAR/P+nbwl+6qJjLC+Su18GioFPSKpBXg0oglZ+Sy6lvZc7ciITMm+g8n+iXlmGvEw92SY/xBOyC1mAloA2Q/7o0391RvH3T4y2ZlHmwiWHxg/sRLR3Wy1DPGNfXyZJcWn1T5K5NrMTWRYDX0C8nwya+g9c2uTPwiLyfAeIK8B4ZKXZ4z/olgfuXz1EYYRFZ4vSGz6jL/FWs47Ovzl3iXbE9UukH3eN1pKqHdTjWwzIy4FTW+XzVg5AvPyn0m7AmWLT0BxV+Gm3a3RMO6+l3T/5VSOw7PgXGK9pKyL2AdcP9ef7RB/+kjxy6UbOgvWZsWTfnkzZjFNWOY/fomZL53VXHnl/ux+p6/eMYwR9JPgN2Hb5ma3+0kbodJX0DH6vrtKg69tAnQh0baa8rMm3N+7z1Zp1fdRrXu6OkKGJW76airY4p++pa+UdDvZ5r5bDTecnqixfOrA+B534ddIeviuTgzien2nOikh1EUCKx5VITnt5gPocy/pYHGdnRu29VIoZV1tb+pltS6SRD3w5fF/Wkpo8vp6R/yDrebWsO05KCTRiSsV1qu1E9zM+Wdi4unMdDi3CDcuZJ3+lGxl4olnq72egiVGMpKEw2sq5d3dT/8PwdfYtHvZMrEmddKyn7vNnacVRrzk/Oe90fQCOFf9U7Obao+/r50Du589tCQ7wSi/9sB6wnlfFZ10DsnRwHnN71W8rElrzPqCktUA+Kv1R7ELUFn9oikZi+qgYQ9nqyV+eS2Py65J8Hn4o09jVYA5v7yUEkkb+29bIxyj9nhB8X+1VzKflu365dsKG18fbQ3a35lZSnkcQxlogRTiiNOLfD2Fs5r106Kv5rXtyNiMi87+7iAywGJo/ZpesZu/X11u8X6+XtP+bMrWki8fR4DH1D8XtoSzn/wO639ShLmMPZZBumXWcWRPXVZPmyCRFfpyH3f0vqQ2SkwtfdsQrBxTcrfa4XdnvkpaFt/S2uoeQljnTtJTfCOoP1KaT+tDYX3GGiHtE0hwWA0Ij6czo/0Q00GiuHMEc3neUl12lYcnLNtoSfYAz6bSNzZowLT9uYa/LlP6v6TvPB7/Bdv0pyI/zIpSvNJdSi/I374RF7CZ41Jx/5+BPmeiSnndRnLzE/XnFiWUYNvFXFEVHlRZNhiyjN1E1N6prqmUDexvtxYFqp42Deo44UYvq+c2xtwFv7Op883jfI1/kEYoRaJRi95dP55PE+9QNfctt98f2lGGqgQ2LmX/6BjLUovlHFc5RcqYon7CVHQVXL8IVPadFfP7s++LhkToYpO0JiWEgYY60azj/UBJAFlojVGO3CgTNqGU7oB3pZXibGgS31k21y3gfrqw97ju29LJ3FtfoM8cXys4wNtuJikFPASvahleb4XJTUWOpbh9s9ohcnT9ZV9pn2dlGAU8ylbtzBaOPoITntoMm8/rrtDUmRUxyba+4N2eHH++KzLwroslj/KFm4NvVRq1Xo5MOFMeiuK10ipvCBqYyP6jKxfEIdNxjc7M4jmf0l9p3pT3hcrLv8nqOPwypPb6DfqfASrzj2R8aqUeVT+1IPDW7jXfuIdXLnKBm+VPn0EMfT2CjRHlgj66zMxaMu2pe+5bD3htiP7bSnxits9LoweTV2P0l9qO1EWnka1Xji0t5keEZTxq9UXlnFnyqNVlhHbw9ehLiqB5r6t6o2CevYsa7nmTdbxfwGaHO7Fc9wxdmP4wrrlyrtHtQ57cvw6JvBZV7R3wX9go3PWetov9XHTF/nniCw/iTE8/iBCSv9GNxK1r/ksz6va/0s5NMtifubbtAP4bOSdwfXxn4ys17O78twwoeqjaLWFa/jsLIe2ZdhP2oMVyzbjsrTSW/v4Jd5v08+hrPZx8WPL/DcZdMNT2/uiC/Mi/j012UdBvi1n4mpPeJb63ICX6kEy7K8pLOPzfHFpHxqvVfxIYF6oTBx5+gkK50vGB/hNzzLi8rDwViS61HlO14fY+iec37ov6HGjLE6Is2Fbww7FOxN2F6l7puZkProS9ftqGhl+Ri1bGG1YRqZYA5etoUHawyYaS0XXzF3y0one9JiU3n67l2nTY4X/REvQjwhJw0Vx5Oc6l86hNETngd5DUWVP0fOJSORY4AY/hV8znvM00YeP8yztCpsCmr36dwUeli6ZNz1SGFke+1MEHu/sROdRLd4T5gxqC9W80NyEMcUvOdWBFuIHD9SixCeDV5dOM/KCKIKr9hPg0srQLzi+4EgXtEfZlr4pNeF++Os0qmuu/fa3IrP+KGxCPsJYhD+MzxlTPTVq3wW7Qj+gOgIlSsfCom/GVirWldva+edvxAO7QdgkHO/EzZ6x+16px9KTxgihybP8ffQj61IO1ayhRMy0j6b//Js+F+Vj08qfvZKjdf94rcxv+lp3VLM4VVcsU7F1w7PeEkE/C0q7eov/Ve92hNgP33Sndmr3/EmcsjZqEtKEuFmpInSMHc+dvdwxzyftoNdxszNwUK8SHjLZxkxrYxuoR0IcqQIzGk4RsbBADUHWJ9LCie0xKsLvng5sO8YZRUH0We9ZXL0lnFY2+6DN+MWsuslzIdjFHUlvRkd9YdZr5jTbo27s+MkrB/lOqsXi4nUAA9ndlTIfdjLGrPQTtd6zlaBDvtI4+O23beM5rDCXn+yan7geqr4B2lJg29+E66RIoU9ggvXqNM73x/6r6jLVelfr90Li8Eyaj7q6xW3wbTKo+AegzX4E8dAPKHSg0Aeijtv6CFPYSzta5tzp30ISvDFwQ8dlRvJ7RGx1Zkw50y7mXrvd8FvtKz1W3rol1Tvl+0QtWiIX+FIZ2S4c8bafrJqLa1VRkdJTiQGV7fXIfhBp0jbtWVeicycCP0ql7Z0rA2A1SUxnVB9l5zGyabNU/vBH24/+MNRn0bxemF9i/lNI1zWWfjPNRYmU9j6UGotFNDmYJtpR1rpokVCg48Ql4Z7HhE6mzL8jjPkwAJjC44J4P2og/GwotojW8MbHmOi04veCfIpSD0ycDOlXvVPnqD/KS8QD2BhGsF4wxxfG/UTJQbRrR1rOo5r8MBe12lvYnrgdcQdGOHurGQlTHbZjrCoHafu4NgtPhNYV1J24XJ8mtRPtfNnsta8Y94ov+Z7/cmfr3TKq7ajzt1elnULJ2r+WTdkCZtyziivreAcMEfAFTxuxYK0Zj2SmbceN69MxtbdruEjxqsweiVyEwnuYg4FNeEys9RbGL+v5ofk50SSdSx/rHTw6EXZ5Aoji/W1rLJlmVpL/vKehs+/+27nk4Lag7is4yI7iNOfHLj4ZyBJGn6P+83Z4bI+iaZGTxiN3BzelGYN8fumxXuk0sME203VLs1/f19LlZYt+DbQXb7I+uVOYoOVPgYiIUcYh73rf8YSB1lxgv6J7bRZxHa4DyEuuMIQh+SJk/uxbvP4N05v+sz5fsc+0rdS4nsfuM8W4j6vjEzB1Bx2bAPrbaSNWidK67WvsAbnhsREVPipXoWZ0cvv71mGeOThZ+X/zBQOlI1qa1r3ySj3a5nD0L4lc9QOC4Q8d4V7Kb7hpLC26/m9Iwf0s5783/Aw76WuEb9LXkrjDG1PjZKtSFSnQ9SJkTbYd+1ecxOP77yCqu0kH75pqvXmWZd38uvvBfvt99v/+PfrX69P/5e///X65P/d739tP4mvCNkTt3z8qyYgSb5rSlea0eoz1Ex8fo9JmG/f+//8/b+9/3/9+9L5l+//fF6SGB1cUmC5qbRBMC90qmplYnh9E8/t1q3/pS0vw9vzZ9oq+Ot3386hfTuu9w/f/cM5Xv7T89f+/t33Z6odfIsMcVmTS7GZDHdVm8wrDeK6Wo8TuR4PsW6jXxKNgMMzLekZ9fI2pb4i/ZQ0SwP9nF/nQfDrOvD/t3n4hG/G91+YpbHFH34d2Pz+Xa+p4tOW+i5wXX98r0/4RTvyOe6m8Of0t/FXacbz7/MdNVK/fV/+8/d/HC/+5fs/r0dRLxVjJWg/yvf0Lg+vjvl+/4P7nNSRl6l2r2uOMTZjy9pezKW12H82bv9vzwvN9ZnQ1Z7vwP5czQ+jvNdwoJrnUy3H/X1/9bymJNSp4kktHWsvFJ5OVPyIEk8HZ0y+1+NT5I2uNCW/fKKsGlMypvYYZ3esaEf5n49xhnG2SndV+q0N5/5a+UlMaU5KDbAv/IlHVM7nvXYtLbIXLadEHhBe5ZpOp8j4JApH+alskBZVOEq0c5Bn0Top3k6BdntlB1rZ0GJ1MkdtH4rYgbzKJ5Ue2kw67fq+fm5+qHzRyXD8388v4wHC+awhDmEneT2lrS913MCm5BSuc1H144hfoc/xcsU3fEH7R+p8Ve0YPGqH6rTi7pbtaD7iFzLu3VQ8AnH4hC1D7Ab4B481YAF+xkPrVvqZ9Lf7RyxqH+y4fk/Vvxs1oSv9auobHWiSe627TuAzB78jlvj9HI7sD/L5SsTwBH5GaaCfUcNB6qmxC//rlvAZ5Xf9a3aP3yBk+hX/SUWd0quv6j7w/m8x6lPZzjVtwPPdgihtBIi/wnXt5k+RTzIYnfR7PSqMtylFu7xcErLqZNrREHzYeQtDDEMfRAF+ZeEj24xi34ZnEqWHvJdUqBrVmLqxAdMCibXQH0UWEqNWkHygR+ABDDATRxzLIYmuG8gWTwsdpozY1wpGBBjhio9dyDLeB95GllJVWBu/ZGNYr1+q/tsHV/YCzWsr7WfaD3hEYJIS4WoZ16F5dJiZcB+IFcV1LojPNUnDMbBWSD0iHLiPIaIav/GJbSQ+WEfuxcf6n/1WnxZU9yXH2O/6NZK/DrFYGtoqxVfdFLm/F+yP+q+SDNT6c5Zu+xdeR661Rq2Uc2Pw+idOj3yvf4D54j/x7z0/wzNu/TnOJ/Huf9EzwDhHeX+e02Ptr57DlGvln9oErtT3fjzHqToenk2tsSZxhfPbs8AeU4dtfnij0B/gByG+Mlc4ComVeOC1kddE54z9w3d6WhZXPSs8bd3ydGFH+G9fwPt9StdgKugbx7PEe60Pn5EF/huOh/eL0nLfQ3Vs9TmtC/l+rp/bL/D76lj5+VyeW1TX2q/g9yo/bnAakJ7PoD9ioudPuCms6ecvcI87rHtWWnj8H75zR/q59Xm/f5Ls4RrV/cC1SaKe8X5P61X75X4/cP/6KKzaYKOeBZ7dfbSF/J1qA3U+yyVJ/miLvpDzMyBOHZ4jHOHijFqIruInWLtl/gNLn1KW/f076Nf/oh3hs43z6Duy6H/85Rk9bB8yTarjLRfPfX/eunpONb5gQ3vn/Ebtx/giVT3A/sGtgPppowQ5FaJ/+A7aQ7bbXPbN/V6SHNq3uu+qz35ve+/jb2MPzyWfRZ1XtY08X/sF+0ZHTnPYD/o4vvbV+FLP4ZJQ4oLu2LyX6l5hLnyd+885MZT3stCgTbPfxr3af+R43n673lP/5ng9rcIg6vG9bX7tDzf41zEH1xtxFsB4MeLH9dRcl3oy1Ty5Yx798p/GjUPfwt/nzo/rfeD10u/P9z/pe6Mf/m3dubdntf+0Kv9M4avDe33Rk57Pnbs5tsVXTabiDo5/rNdgm5YvbVWrWLekLW+2dW2J8gjIUYnrMRHasqqbkdw9jiCVba2pWktjtDoj5nEbj+qBWq9b3VifLbkIK2wqIQ9+oZYMVw0rntQbfvRHXphI7bRv+kSyXkqw23PNsl/GV9Q8czJ+I/Pn2p62XnvFWGNY1eeeicwFerTSkHgV5IUg8gf53gjq7ynt0Er3s2n0lI9Q12XbaJdRUmEcEr1SV8R4srz5Kn9EU7Q7n+377W/6CL/jwR/8DvSQPdo1kO3c+qmv1K5itW9YDaz6QflSxk32Q/u53dn9XtFGppXu3w9esJdfdRw2HO2aGPb87a9xqAVRmg1n1GxoVfl6R+ZSZbt6hPrI7y8esd/6yFR6D32N6FV9bNXOQYByHBpRx1LyKID+xkerl1JwDmZCC7oZLG4DXvWE/eDPNbbDTlI7eFFNsAJfybT/G78sK9z+q/axec0P/VcSbV7Pv/LIkoeeptJbQf4e8rNOv0ZUTGFR8Rx9+Wuje0z+PzuWlLSMh68ktqnEoCptzQOZH5KWhyyBYPelJvgSqCKTHHtzpmwmbh0n4H+K2CY6V78vY9In837Tiyv+3+2uQD6M+/n/+r0aM1X+tyAKH8V8onA1Lf1HzARrw5Wv+t0W/C+O9cnvz4L3aMG9EkMgpnaSVVw39LjdiKJlyrwlxbYAn6oH3dpbb5myHcFfRJ/8/j202T9/f39oZmiYfpN4F05C1MW41wMOvvgI7pp8V/KVL37ivWJVbZfMez3zYX3xE3z9jj6dD/1J3chPmGfpz4XTq/z03rrCcdJhww+QFx0+14zLMjPby4yMyvtx1xfFU0AKj03NpiEajRSWFPhtWUffpn3Heu7HFdazOZDXAp+caBabbl/Z9NzcVD66/uAw2LsL0QoWmFN8+Jdf/lBfffJtHlrkNx5NHoS/chzfz1dKxA2C1KFdfMnTXnGqN4MR5htbplf+Wf8B+9/NoT5i8DVSdn1alty4MJNGfi3ZW7Ndsy9Q9xkWk5GMK9/4rkX6brGJaeG91VplurZEDuftuk45Y0FzIhbjuGmXN8nVV/1Gxs+kruSw/ZEJhY+S+DNerU8Gk14pfIA4n08i911YA368N2+VLsba2d9r/2zh4xypkYuP2CHUbvikevqFE0K/XfEnIXdapY/hEWvUiIdhPhuOeY8c1KsV5r2x0Wyv98lhly9PYVu8L4oDSQ6eFR+zKDu4a7ijnlssR+Vslo4Kfb8usqMzenWsW3A6WJ+j4hCx+Tx89y+fDplkfMxCJP6LQyQJgQZHAhH8bGWvC5Of+uY8a02coN/nrUE//jQI3wxXrFEOdd+lmX8Y7kK67Bkf+4abLCy4Td0Xcd7eLcxFWKhBVeFplH6vWcpx8NhH5Tryd3vn2/5UcQ9aEjMWf8cuUh9eHZ1Nhx9VjtzEXLdemFcGY0Ll6Ng3TSz9ddiojh2qV13GWSq+lUVD4sU42UteG3AalL2icDKV1ikN1nEW/P4sWBtrov1oKO2k7/rUT7hM85JYvdG0U+rZG/j+c7aJGdez1AL/j50/+6R80udSeEtK9Cuno/xT+8jf83zYKVUOmmIMiawprA+kOcmSIdnWN95Fq21DwZ1ruSKT0+Sjii9VeLnusWSdIJ5shpv32nY0NjEWVZ1PZOZV+FGrso/i5/UhxontYpJBldlVGDhZ7zm56wFDGyzBTPxNa4owvaXDvg9rC7zivp/94Ge3WtvrueO5HPXa8rNOd/bRSWe6Qa7WsOXd8fDRHQ8ff+yOtZeaNmi+z3bz9w5nrDM/737VB0gb7a0btq2oiyGteWwFuGokTO/SW7We3v+0VYvS+zlXnW5n/rGbHU+wJ/9qW5jP9o0p6w05Fm/JFcREnnTJG+5YCtMtOcPp9z2FP+0p5JOswUDIyBJeUUv2Bx9/+An3f/WJmGWva9vi4myFRaLrU087vdeCe9soXD/sP2Z/djx/aOfbx7E5g/aqy2dr/8pxz27QPtyiBw69yq0Mw4Dd2XIWxURsj/d2V3vOS43wUXXOrz4gufGbJsE9vnvnv8eS4jesYwqkqsejnk3aEk/7KnvmoeyD32IIh9vwCuMs+rFXMYH+TlLFq8A+0Nazqg3cR91F1HzuUxQhg2eovf1mW9JmxblH3sb/m2f/qkdF46SyQ/gjXvefx7Xpb/Una84J1ldcfevOAQxrJ7jtDpg6zkCQVnTnV2DiFWPREusAbu99Dj3GifYxiku3n+YnI9Y+OAZaDRFwCtvmgN15GH6ec7eo8gNmVUtyjrXtptZAfteopEfU+iIVLxbBfEok+x/2BVlfLO0x08f85DuxUwweS5xDUerSr4Q2QB8G84C4r778eL//8R6Px7UX32M7bP+D4/+b7//tvfnzPfv2Pq5jf4L/mLHfeY6poMjYDn8woFsU/2BhtGBwW7KClmvS3w0EGzYfnz9+gznzf/gMlihkloc/o0Ye37Ov77m6Ziqvb7QFim3fpm2hNHwsfCXT6nfDn68vZXXun6+1bnX++6t2vv+mUx0DHm313eNv+FodA8cj/9vwSkjL6Fb3YshXNaYMtPdFxS8NG9WRmIn0c+74f7TRmMQjt3Rb8fFJ3Wn2yB3HYVV/U/k8aVUr0KWqFrHia1YcP7DH+Ypn+86/hPoUhX5Yjx1t5mXL9+Vb42wssuSWvth62V4OPz6cS73CAtU3uBbRlGx0sZpvG5llw86XGoeddh6vjIuDigErp7EMDmxblnuy81+OXVPkK/vSpa+lW0yu5BK8aL3jlA3dMH8zssRII/+VrU4DxfEyurJRIbGRi1XddC+OSW2+MdZsCcbmq87FyOX9nXPhY+9W3w036SglpQnrKBo+1nN7wrrdJ3pBsGqZ2DIG2QCbaBxkvnqFdqPrtIF7nI45zktccZCnY2wfBuMGazVQz/j/dJuTut64dpu392A0JbX9+zbkIzoSAcykT2tdbvo0mVpZsPuYnEamXlyWXvOwjurZdvh5+j/UH7oFS/nsbSvIm2Hq9rz3prVanzb/aJHEJZfSskg6ouLEKBkuB5vYpe9lSMSyNyk3zBP2p3MrwlrZkmsrHTrhYO03YD1taDzeMxGzhe4PnLCVTozC1am/JZ/JBsz392GU1IJLUBokBisZ8Z2ytNaCbfKGnYZiiM8x02+5hTCJf+fec91/yCl4VIc2O18qHqGh3Ee81T/Fwd9r/fg775Ocr/qLtikXIzpkaC/lyFdN9Nj+S05nYpIcbeozQQwl5sHDLtacIBe+5EcD/9F9itfi7/T56O95Hl24placmFmWNYPXGZnG93/rm9Xfcy56kf9j3oLq9muP1wNKGZyvbupl9W+tUfxzLoY81bNPfeT9H8j4VHznKL/HvafoQ8BzYx0CLIK+/ahvU9o0iM+1qhpj2Y7IOcc4apZ5pOKVh7XfRx944UWrWnrxYXzW194tTqkQMRX+jKw/xzyYZH8en9Jd53og6czyMmY++dOS8zxcta/4Xsvrr9uXRm9AYKxzMSczfRvWu0HtKnnrdSK5CBxiX1jonTuvtm99KBupr9VWtQ9apGYLifslSRj7QA4mcmFTyn3MA4wqPcktlfzF8Ow4Bjbplim/eoT5beo5lKxeU569rmDPrQ1JSXur1/FYxOCrsKm20WrDSxpC+5jj82vsUOeDrN4yk9ZTc8lob12PSD58DUjRJXG/OwxrBZkEOhlNa/tzy3ei2O8MSt+N4Fhirh0jtSNu2160rw3i3JZ2LdYnIl904qt6WUIq/QbU+JG5Wan1U3HWgd80boP9Gnok9szs3CtpstGRL5Mj1/EpMsqUoQPslI7pXBKd09PJQ7Q3rDHGOlfxbMR/qXifji6bDH5GLNRR57zCVT1jpir7Y/OEtWrccVRSr/AG67OqO1fY9HVdj7UmePTD3juPyBPGoVv8gXtwwJBMcMy7+mqFGAgwYdyRtijgHI0fOImWkfzAX/TKXM6T3vn6odYOrvxRUsXrSRfsSFnH/aVbmv1/nH3ZmqJK0+4FeYADToeZkEwKkgwqnilVJoqKFirq1e+IhKqu7q61vvXv7qceJ4Ykh5gy4n3tr3rsb/ZyD3VPzReogioEH1X2RROTerBbXVdZYxXRB9Z7q4b3qw6ByvqMb3/kQ/LbqrEj2lMyFVzdkfhZtTHO5mlV6SHWqM5L78h7PK4uzoPV39HmGiDM5PnQKc2r8Ix8pdwMBXyCws/jtTnP2zJ+qgcrk7vt3z5vVd/MRoEZxhefjb5+q4O+TTxLSOrEFdYhcEkGAYuYaFozD1FufO7RLgyaftZbBlIn75Jf+Bxom4q43mOsZctJco9EqE+w9p8hhxf4usyqMY5HtKmVQl4xiWXf4Nej7mFfdm8d56lzZL9wW5Cb6Y+2EbOnVGRqktKBeUxwTmhrEiL3tYUVJ7/j3Rnk0GDYK4OnESzvJGCbOLtFFn21hpm9N7jB5353OVSG9y9MfIIo1u5c+aDxfOVF79YhIrE6J4X6O3bevfdkWRXiH1ltFfBlEg3mKXSwnOeEn+C7et7Cd9DeYu0qv2Hvwayqzy+sLMoP3pzEo7kNcnaYldTs26nzFCkJ/Du0vVUaibaEdQPHb/KsOiGOw/BO5vIZTitV4uNvBw9jkaegZ1PE//sd129ygL6T7dDA2td43ugbybWhK3Lbc1TjI/2c/y31jP5XHnhTi17jvH9ilcI6SkMYU6x9JCZmp2PBt4+BZDaynm/WVEvP3kPwERnNRa4O3UN7zMNyHxKwLUg313lsF4RV8WSixYIlI1kIXl+H5KK73Jcj85Es5zQPrGccTeezyH6UgymoJSs4rBnJxlqmeoQXrbWTfotHTmo+REFupMl7/VY7MCTfZODnHqaUd4+f7KSJzJEhzb4Ob3hgcP8F38s4xHcumFL7hZUsTPKJoWzee8QRwbGqsZebHF5or4khA3vb4ElvGz/4b5xnxKcIZdtO5Jk0bZM8N79x01hZRZ2H/O5EAngfyLy7A1ZAyHbcZFsZvbebXB23aYtd7zluVWNdkQNhhcShtp8SJ3UvOf5grdtR/IK27L2w5sg2Xm7Xr2zEnNEZ5nKFdU0s1hJ9zpcaa6/G0NPB1nfRp9vutiYRyJ+E+KQTvX9vKYVu3MCuNOxSMzj+5tpmUlGy7KovMr0oW1WnejBb5Gp79sxfU6Eu1kFxiLuH2043pgssSmztTmelumi80mmVawbdD84V25NAK/qEH5EvTtc+8os/7ChXoZ1H6saiDlnnrjLdq5mzZyftcU2doEPfuq4Kc3AweVVZ/BXvXiqyFkaFvq95yBEHDXMkTnbNC+hjTqL7cHWJ51xz/r28/Uizg3hPHq5hhEziCvrI/6vVeLX0mTZcCxIHRqcvt0NUSz09BPJgIT8d1URro9wH5LE5OiQIpySL8Tddo0fwTIzxza20od9rUeK2o8N55unl2X2qM+OYr505LTdFZiTdYEJn/5c+2q9eWXklMb3w1+jm79jRDdOp2akOVmz0krZz5q8zczp1/ygKqiUwqmoMKNz/PUhegAAxHlg9r7FuGuPrDf6dIAZH3qCSbDp6Va4UmxxnMD+dPULmliuiwmeYp86+1fA78Y6dlykK5Elo78JHBcKukhwtKOZ6jT5cSznX8LTAXMQYG/isO6zz/uL9/YblaAn7y6aeSh/EPtmgI+H7T18U97O0b1iHdS05/rZP5zUPJtaWS35uTeIyFHQVPQ/ONOaHzQ5jxOVu2xU3f873k9Ar43nQtXbx+3Q358t+4jg89yT3XDY6kP5qG2vxDX9/O8z5RnPPdoeP+UzcCY8NEoj9VGsvZpHBJx1nQzarQB7Tq05HDbkW3UDbg9aI+TUMD/5ifg0nHfKYBcl1qrkJEVwjEpOTUOR3NDW3nAZJ352Tj/hw/Wr3LIplhgnIYP1wGHMnVN+doN8lX/v9oexvp8kPgX4h0M8NL8ovu8ILE1LrkxpDG8/+/Fzvz5M6PrYjCzDCWt23vObbyj7G4lPGeadWN0Q8BbA/ljalYDs49xG5+0P1Xtd/6tzW35SPPMmaelKn4AmJt2+fmPaf/Gc1np5xVITG7tMnI/JV4m554J8ZaVXXT/La7sR71XqhzgVwyFcdvMTA+f3ZSDqXNQO/2T/xEY79LbcJY1SGFtOmjnZB+PhQ40UEZ+X8Psr0tJuYRnnjyOHJj8r1tGo4x37Fvzkdb+7oW57RT2XSZz3Y4Kt+jPPhk60usRZ156dNgxMn9Fiz7oOlsMMR68KYffYF9E1vO+ibNm9yVtZMj6OWhtcFG4d64OvDdU28Lvh02fRRE2bU/qxBmvxeu8Znyxhih0oMPdz5RzvvN35txv0+eesMPyrm7XfLoOUFxLVA0HnLfnu38PRPzEOSg3fo33y/fVHJUAcXbH0WvUcYBgVizFhmfgi39uw8/9Jln/6D9I8afjQXfCmZD7DEui3ne73/Z+x991t+8Gfe/p/5NA0uS5MTEv7mQ4H8xr1QfSBrmup6vzr2BG37/bOJdbSDulghJEs0Kw8qxXwuzGmS4IHwDBVSnMi6xWH9Kn7/HN3LJvlIFksImU90pJ+vddLTXRkqEhdgKSRfkIzMfMt7+uSoe8boG2XGD7WcmGeOuK9NjAJtP9Dxv9UKZxIbocFkx1xoOYfI7KhLcCG/xUk5Uyp6z8MmV+3U2dv6tQpe7ZhSVjDSXjJeGeyV0XUkVssieIfnvemiBGfHZfI6YbOmj5gzTRxawWNl9nSVvVep8hKNTSPWl/x98xwNwx2z7Sp13UxMbHalQWBfpjU/XWZVZUiOsK6rGg/V9Eei8actzFOGf9/wviQ/KExPsH+/eLvSCDlCG96uHnvJ5+95Oy7zxItP/zHYLcuD8TSIPVMKYoF+nXLSNubb4Um5gQ4WKpgSzFVJwcnyKmKQY3PCDDiVmbB4ZvAHeq+vnBev2NRbWUAmKuEOxtmgXdScxxTcvgh8JyRPidODOdxncugb/qzNUeJXSawiN2OSL7mk5MkiGz9Xcj0iD5PZXket8sP2LFqql/TVKstXSy3x9bmi/uNQRuVoIqZDhcc614Wwtw+LDE+joJr1SfwWhPFRqe9p/76fjJa5FoMdyDGu06251JBTM6lxNnCy/7b3OfNWmRspZZuCLRXB+zZT1AFiWT7gPSl+2sczPXlcxV4kcpHv+4i1RbPPc6vp8sdclt/44LnMpHJkG5HbR2JoQxvzLy518gfXOIE2PrCt+6K5p0vBD4TlCO9fXA9+2n9N5DmI02k2x8Gz9lov5HzvJhG5bv8n37tRZ7oh3uU3nI+6jZivi3uHf+6b7hdJJPsC7wftxXsh3qYLfQbf0ezHveLPfsW2Nv0J52E/w/hE5O3HthJCfmzvAfRew+suY7m/uNz/bq8+5T/3j2zLi2s/7m2/N32Lx8E44Fyon1O2XXv78/gv/vnxJ75IUBOYYi2Km0mM+NCNaOR2HPgMfZ2RKj5Qs+CKXd3JkS8eKfc+HgldC05Xr+l4S5QWTDIi/G5LSW39MlDGgxvY+8mrNQDPMalsceXWvHWc7IrP/Gu8/53XfCOYqspzjT2ZRcM4wnZ4T0ZZtcyU+2bU8ztmULGzxc0jeV+xVlsM6DQ/wqsh/I+pcgeZUBl5PjAzMnfpZDP6Gg/W4ENRFDPkOy4iCxr7F+zLBMfh9A/8moilFTQYPw2+2Vf8bC7xPSL3s5Yf666QY+70yX0KDfzMn9VXmSSqni6X21a6VdvKyegteT5DomaM8SQ0AWN4nHNlMf/0nWc5cjWuzFlTr1I5yw7vch+M2QV0OejW6DPndlT4A+gQoWnzrn8evPtwbU3Dq4LsNKjLV8Z1bJCJVfvp6719mpsSXz5fdeyL29S1dPqG1dmsKMhYan+mRjNZv6/JPMtfeOnfMN9Ab+Ks+oqlyFwiIWP03zjQEK+FfHLqHk3kHj1v4gPYC5/cV19YILEGduu21drk8rllO7GeSP77LX+niZeSU82L8D2PkRxtknBjJzP4BJFQzf8734Jg3SC0iwQbiS2uchjThdXq+P1E5g8gAeH68d9zdG4f8nqHe19yckoOUO7U+QSYR7AWdOp3/k95J6TO79KkHFe/8WmRH3ENfqwnpj/GxUwci3qsMBcNeuzfP7uiHrdv3+mi+OG7euga7Nzf+FGaONCf7WM/tS/78fmo+Pmef38HU/n7d+Ttt+Np9/t5hPzBDyd5hzs1P9wvfFQHfD3kKZL5LTV/5DvWtKI97Qjwx0Pkz0k/f19QaqP9IfM+/qHuDjRtk8eyLjzl43QG+yjQVx+pVrFQT4hnEEOhi/VjsB1mR7CptMz2XuDGtXlKmeiCyVtMSdD6Az//1OSylLsBNywd2oPXYoJNe07hgW3sHQXbDjbGEbFHNbxOAH7n2Gqd3QqOKxwy6v3A7Wb/nm9b43sLeM5fdo5obAzJN8SauEEKLmwzp7+vm6EtbL8nrCeTzOOMj/6B9767ZHkRgjiIWOYewEc8sApuR1zi3UcdWpbGU9T+0FTyLcefds43W6yp64rQ1ratX/F5jPVLHCjkHQfxwUZKGrUexDiTI9gSymDB9kmorFA/Gxd4r++UR8dZlIftPqvAHh47YazvnvMPZ9lW0wlRt7uY+f6QKSmnvt+X10F7ZI38MKtaZx8yW9srj7YTzluzCa1mlnpYP+E6u/iwjXYixesuyr/sjc946o/8P/9cDzlqYg269D259hffAv+NK++HOsd6PRs/ree/4rqSS1FiMUo/9F94hBjybyluE+9vf/L2fK81Gci606qZizgnyY3+8jmzacuta1K+ziPq9Lfj5dzdKqhUwN+aK0RuMzFz8ou7ouYmk3XW9X50U6O1IEoRgsyQGDsGF7Y+IQ7u+oPcCJmMQ9sthjWl1ezgbJ/SfzUIFpfAgWG8hWFbGPdBU8lgKa077v9JPvUNQea1GoMBY6RWXX/IkON7WOMKSX+sa5OprGmZaHyjlCT04ZnBbgjYbi/3SrQBmDs8N2D+z5SJMbH9ATFkLtbo6PCJTFMzpNv8p/+CCeMxPDdHX29HK3b65Ruwxnb6W2Z9cOf4Zb/uehG+ol9DwA73iHf8s054iMc3x8jjP889FxFRN3/Kmd/yUakEwox/zbcqlbXh4A9gf6H9RT2R64wj3mX9HPo/1QutwsTTM0He7BnbDt8Yb8/gvD28H5Kd3lJBFhGVphZ9grFH0iWZiD+fhayfiWeCJt6AHJXXUL36Gh1CdmDfwjWUG9ESaGiM16GPNPG/r7Xj+Vt8qfHPclmfWuM14roBHYI4el9+D/uM1f6Ix0MRC+GuCont3tfHg6zxLSt7kVN7o5P26ac1nxALYwunSdDlyvuXn6eB5EPudm1y/7Pdv82fQ43HmOP8wT1VS+Z/CtWQnIB1e09E7rMhFomMJ/6MJ9Rqg/UKc+NC3p1n1qsKL5tpbHKuyhlyMJPn4zK97NwJqVxT2H/NL7Jx8Xx4XkPInIwLOfmdsXg/xqPr28glVQ6r0Ol5Wgv7yCDl37ylv+t/G58xxEJBmb/BWQBjg/nf9FfdV/KnX6dhqmyNVQLnPbWwdf9WAyaM58953VjMZ/jK+1SB+74r1zad+Jcwv3+0uvgqnL/Okf79d/4eEJwWJ1fyhR8t97h79Xp1f6rP/HkeWXlogJhkbRv8UrJkGSsI/D/Sr/o+T9b7VX9jAZBOe28hwfyjBBdstLeV9g+1gX/OJ/f7fPIQGG8qeVs+ZXL6me8V/Vgf+KO+C/os3I+FJkCCpiCfPQ3mBTF6caTD/esaQb/G9P0LA8Dc2093b1UWPMe9xanS6ooGo7Y59we7SP9NPyPvivaLb+Qz/8/DGvOf9OLPMpZxivcffbWn+wA9yRo9KfFffxiDi6ExGD/jYQcTAv8pk+OpvFd6k+88qvPY/Nlf+r3h7h2LhWR8Bb2wNARyrKuI9Q52r/vLZoe59ZufLIiMj4Kth8cjD92NYi6lSD99a5xrpoHj0xwDnxu+DFl/DffyuV25rlbFDPo5MXFuPvyLcrGVZSWxcmCheLrU+0dHB1tSrA7VVOOJPqnchc450x98ZT5Gs20pnuSNc40XuknijZLhvqs11Suwax9CY+Le2kb6dPuwc+tRzRnhhs7bbn81cg2EzxeuSXlsUAI28Vs70pfMY6+8YqL/1LMpYs8sSVVN9dXI0/F47jIEGxEWcXXSf5q7OdgZlZ+S0n9Lcp0SvBbTqETa/Ixf+iOcL/7vdZyf/s/vcYgGj9SS2cSYq5DKvT8pb79xt7JvcXsQRJjryJArVl8YW9lvB6V3Hx4XYOzZqyqHthfG5Eiu84WgLpe1sK1XZb4zMdhhrtNeGQTyvHMCa95QWNWF/p9uL+P+WKP5ZFuV0Fe5YWnBe+SloV64HtjLxpV/ls6Ci70FX3Vsw4yiOymfapzULx9wKhpeWLBzjBeR++8Nj/CNPNObVmP4ft+PeKe0nlOgG05T5CSQnOQqMx6qScZT6wRrJYM5w09XHtDcYHx8og/ia9x5CLCv42X57sxJ29ul12g31iahumJp+AbPZ8Hz9tdtd8REEugGs/VK9cgj7fmH9LLsiWCym0+nu1FnZpJeEMZrMm+tesHlLvt5PXKmWvtlIo+CDZ6AsKfk6K41Y+Vbur2bBOkcdMXefFbnWXSdTJIPbn1wyRlckmRnhwWnmR3nYgQmYqGznftmdFbM3FUn8+mC78OX02fS4nPxtV4Frldd/RUPgLVFHwnqgbqPK3L6XvvqfbfVw+/+dVPnVY8N5kAgljyslUFhjMPLuWI5wlMZqcu17XAm8aiXGiuCTWvO69ylU3SKchx7oeq1nBmepw/zA/qGTY7JjJ21tjGdto4Zgd8quhlVjr4ceayzQhzJo545DxgDo17jcPy+A9citN5/5xaulwCe224wRb/zPNd4r81z8saGjuwleySI44v7GPIz6kfck/xcM598AzUGOHwnnM0HYo7dGn0Xgl1Y14kvlI+RrZEirDJ30nm4B22XW/dKzGGZgWm+bz3Gaa3vrojhX6+nXoac0cYEnu+kB94cXgvEJeMZtJJOW/PnammC0iJrHjGiBsoG5M1CzNgB9NUinbH7oAvHf9Z/G5/xidnnftcTseEwxiwxzL/GEL7/Hj/5LT/yu2z51JuUzjQZd4vphSyU8dMflGSb17yqIoW5nf7CyZr9wssi2d0m3a299fuErK3W9h50v9XpIH4XyAU4/pSAHIlBjjgdxAul9fM0eMOSJIqjHWxxivlNlMF8B398CeMZwZxd2pF7sisW2Q8XYytt8CcRU+kz3qXX8aNUBx1Sz3t8/+05f9Nf3P01P54sqmNLKcaj69jTA3yL17dYL09lTTQ5mNuwQuBivleulSBrc2q3E3pqD3YxjCZZjDLlmu7AZgr1K5jeD8wHej+216llOqMp4xPRluticLeTOmd+M88NTRR8FxTGQhinhKfJNhNWIozrksfrXQBun5hvNpU8L7A/XND9xpyEd4wpguoCe3b9RIyoMcYYlWtMKcf8B/MqbCIkf+5KJCZxCnyFNaytG+zWT+5rMhe+zqtEOQu6puLz1dW50rr8OpagvTbD/Wc/RnvthdFiCYYAvhjoJgvzoAzkhtylyKG4k7Vh0I/eg73A7gnk5yAFvyB+GVHy8sAvQBxmT1MZyPA9jO7C3YMMf3Hw8GF2PRD/VTWpPQoPy3lbh3GIToESn898ci7CkPq21R09NXhYTXTczTgg9uocTpyz/34U43aglsHrkbg5rFu9OIJAp9M9e2ftdOXo1TMMr5RW8RCs93L2THImZuSaV+mhuFobltwNESmtyhopldlzKxP0PtsGE9D321eP3Jcj+hgNk233zdFFbvLKJPfBDeaWAQp/be9U2tLYC+boBKuFcM8PfrP1LN1OP/PlK7S0cE/mCz9sgX63UcWfeFe/2+gcnGOQs0eizpQ1YvjaIKH3gyaertuoFN7ETL+DjMkSMdH3Q7X+zZSxdhlP/8I7NvHNBKPKMjkZ7guyBNaWbv+AFwk2d/TfOaN/5Jw27tjunVjoOdfs7zjHT6I+MQ7U1FqQJv/zXz8LnsMz0i5eM41+e07lXWIki2/4xDB23/IUwLbR/+DzBqMMcx7NLcfxKIhDqEYMWS/0kjUaoWvJHOyAW00OvIzNoK32aZs0cRzMheuATQt2bbyDfkR5NJd5c5yZYLfMa9kTR3ic+0z39OXOZQ7iy43o5P0REkSDcy3q9yrtPqSaaLsa5uBWwjbKBhNR9gGYWxtBU145WmU7YJOGA0tonjLwqRhNYVrOW960pbLyPnqOp8rNMPuX6ZGa+/X0QUBwsJ3ul+86ebUqniPnBGcPbiS17h4UdGIM5oUGGsbROPhLYAUttr2bRsGuEbb2Vs3o+njhuXm+kPNmvK5lOiP0A3zZ1ZjWPOk5OkUx5lJFMqewY1cSc9+osYrc7zGvzzj/nOFem5A4ei+Q3Zb7wLp1N8IcxP/Yv+w8NBA5D2zzlClbMlFKNgE5NwXfVu6rVU2+Pv6Rfu+vfmJKVwUvGJR1qcHzu+yWqWS/be2rxNcq1TG2WdHdjTjFKKB47f65H6ctBfood+hlLSYLZVGwbeuwJmCxaxw5oL1Xf34aD4UINZCHZCm5uXA+WlI+1PGhPmE5WUic7P8wB3+Iy/6cC+x+4TN9swP1H8+//XsfwooBn+PV5Ip70gZA/HHR4JHLultc583aQzOG4Xy+j5pzGLw64l/m429c62Q7/Y1rffQb17r1/O3YZj/RvEv+twa/KkcePafma4p/6ofDf5mjP5wX/RwX/6n/I+wjWC+1DY2vyu5/zNUL9lkjz8Dp/Md+/h5Xh9n5q6+c5z/3sU3Tf+vH3/v823pfzr7WO3PJXK73hiub4h5Q8r/X+w5zqV25N++8ZDwBz+vZlayB/eLjJrUswDk/JqErc7jh+Bfjc22hl20/PzA334xPkiOn8HRyb1UEcRM2pKn1kbV/w6xQY2tu+Ds1YbvUZ1p8nJsxJ9k8mJoXMzc7wzMdtiaDFPzc1Gb7flhZ963fPU/SvOrOReXCOCGXDWHUjemi7rcWjA+s6N5mDhYMEVbKU6Yv50vj8fRXi2N45/Y9Pdm0JGlCA+LqgT2Yf5zG6W/y81t/6qnsT/J7f9L/PTfjWq8g/i74AHUed9pzHyzCfGzMCQY7ufflcz9lPv7uix9e/N/6s+2rH+AnarQSoX+YkveRu54ZtBNE6g2MuJP+IAfnEBwYsedx+LhkZ3p9H3DWe40v4clxvfvt8i8ydPRzn8Uv//R2jfeMa+TtQSvuvc3TpWWPD+vVZEy++LRWn/hdG4nuo33ju8dY9c/7U0bNm5VY6E9T5HMV6QfZ4V4vzNHnJycGxrgx111yQmpfvKiYS81TxA+StfGIsWo+44P5KI6IT6zcmlzXEOsqQuFVI30KVp/+TJ1ZrhkOqwJ+fiyjZbk3d0luBlnhxjxjWQFzLp1alEfmru9Mn8zHukL2sHVdgBAN5rO0ySPB+4GP9plrrNWv54X/rESkt1U/yg8pm7skG21MzJ/DmEbBVg63tTSnSzuwR05YnKZ6FYP82ro7MbIycYy0CvpOxPrJ/trvR/uJy3qckpgVsuGRP3GlfozjOkEyl5gzgaoZD/iDfqNyH07V6j+M87DTJzePJ/nN7CHBOgQh5QSOTywxobPy4ATl2rngnsiwyZ1k+MrWUUrTeNgaVBzMTzdkGacaH2XTdn4zMze2SGmBPl6zncHcBfhMIT+aO28Yzd9TnhmuY8/JTOQwj1kwBT1d5+4UGydcjvt80tTEdOXrx6uTRCcbpr8wnTDznEy8+5p4Wg+w+/SqdJ7Fwad2Nm9TdN4OJp9QcxdD/5dr8zHSIjavnCgfz/SOazdJIL/i/TnuAy8Rf8TnWBfHkV/DJY5KSqFjVuIBZCXWYMzrfRhXcuQ4AayS0A3AVkI+n86v+nSY+/X+TI/x+KteAHy5AOwuGXuU9fBfNe5prevq2krEBp8bOt4HxkaPcU94h7+7grVr/sIENEUquWhxbwh8xaWxIzVHnQCvr4KV3XDXGZGLbT81dTboU3zuJUksaMa/crf27PO36scYun54tAPwygNrk2n83jPAIpyRjaE7zxi+WGkgYWB8EupXqTsJ3YxDix0td8FZ08CW3njILxfwt1VWzrPQTqiwWgKGiGRxpOX2x84flsqta08ZmxiUT3h4c8hu7Uza8Nlve4u8fHmxaoEbvtfaoFmD+A0s2I0RxBv3xd6MzVznDScyuN9TW+Nnsn3/M5fjfIpsxNH4sPfua8A2rQU3T8Fp2MpDcbUoO5Bw2hplQtMfI2qardCj8WUScjpcs2KSLbpa0J4ZmV04WTkUUbkBufA2ix/UfRRUp/GUvHap+5qlnt/Wy7lbzqrYh+U+nBrv19LgHz6Rn0eTDtfB1iyqkbtc0reTNzqoYl+8yesV9sAKYf6/YOHfhwfrQTSTMK5cywPDWhu+/yGfBOSEAvbYe4z2mNPkd30QvU3A4NkTq012XNuQSZPvpEkeLpyPBsYZPN0+uGj3w/xFpAac219zOvw1px30UZ+yJqkDGvnlBTInpQvf75u5jjj2yJdW46FJ/7Y+F+PSmBtv43c64m7U8xiko9QBnsR2gHm8I/W8FuxFcJ6Gkvv2xapf66m2BdN6Pe1iXIfN9zGss69cmYCMyhO8B388pfHhvFb084dSZucVaNvFPH83Qc6TeW7rmlp5wrxqAfTJ7rpahO0KfG+HzJ0N6pzph7tx2h5zHtWb057bDoXz7l0xPyTa61HMFvpFVYKLOjvknpnh51uP3Nb153u1Xp0Oub4bHSzzbJFNkjp5oDtZBa9wzayiUafsuDvV0wzQGw97A8+ft9vugoTtRaCpt8BZvS/vPYu8D1vZrpiDn083fr/vBuLgz4dGGBSqdz2N1xHpeY9rpEfuxGHz5ao9gnF1D9Gg44PP2DEfpUNG0zCIl2Fw7ywHJz6MMcbOV3zW02/15zQ2yBt8Jgxs44dyZ1RvXyarTtRqxet7HMYv97niHx0irx3fVQ909cHUXbq7DwKb24tJZaC9oCnKHfniTLpNEOfpRCRufRNX3KeRu0v1xu+qeczB58QYWBODpCDT5G/kEE/Gj/I4BLtfu7cpWYMvWeXL4VOsyaiYakqvInMy1USxGD6LRLm0QyJA9ypsQbpxqOTFzc5cpKtE2ejrzzZdUTJXjIIqqzxmfHQlRxXMfbXBH/htPzUiWlrjU0l5inUhMq9gTirEIcG8NcyRkt9j7XNdL4J79lFMvSz9Ofdjqc6tIfipJLW3KQc7RPBbMIrIK7XYpnxnSv+AMUlD01QGNrO2HY7IKre7gz/3WsHPfWvvtKoKusRqIf2yHnI95tVeCVNN2bG9TtogACtKri4olB9yKMgUtwYm0P9sjHnkLK/36wPksRxRaYM9pE0B/dfGPRFYuyOqi2RPd+zoaCMNORDrP3by5b6BSpGrgu7dLilT2vfV9LYWdBYfHLDTZnYghCVUkz1TSyM5aBfXcgi0PVOFqTHfqqyhUux9pRxVbgiGbMwSmrknivlqYKPRJ5/pQn23qcj0HaGtykxaMDdWVW5QMGupKLhRjUxzXvW4w84Texfk0duKBcyH7ycYlmUy1oMMcIUwebJa6m8kD/Ni55iB18kDmBdLRgqTQAvknoHEw9mA/VugnRbJUvo6j8yhFPR1mFoeZx2Yyx3jlc41XtFcWDfl8tECH6JU0Hbdqsu8Mha4azFXOgGZb1rsPrjRUKWwlpbKJafzyjorl2GLCXeslEpLrZii3IISdABm94FtMy9hRaWSv/s+xMSRlqoMOeHD1ug+fIAvRS3utZTSao0E7iAmsBhBP2ylfrBQX+i/2l/z/yIWVQg2QwXmW4Q8rKwH8lmHP0fW/fDYaQ0mgq4GQjHsjFSjTJlnOrnOdWUbHMlxdexy60346l7Z2LptEqr6XQwBlqf1IiXZJVQu3YB8rIbKdjwkvft42wW3bHvJTv1RsyfzLV+pQlzpFHnPUG58y0NHPj9yZHoivvF75vCK/kHtJ4AtQLPP+arqWHcHdq7UL75wMdcZ+XlR79xgHDliQYCNJBobi+PchfUr5PkVJ4druDhcEUlt07rNNkcSCxrvV64Hf0qeznbtrD8P2s+IcjTv5RhRPpoarHpa83k/tMv/fQxxbpR/5G1j3/IOe94nhVF/FvRZf9YM2Y5wQdZR04790QP/Gf8E+f+45w/HKMfhP92//vy3fJTjZEn5+DeHuVv9qpP6hlPNVGnDfOVd0OPpWW0xRPJBR6X1GJVgn/+Zl6FMdvKYr79Pf+lbvpHGybze92KGW+XUfaXZXzU5le4oR/AvD/CsW7WzPApNE9bwx7yi/rT1uoGHoHS8grDHz3i3uB8w9mnCjGcDMAArRSdmKvcDZJ6BrHeE+fTEuSbnpcR/ZNIv4wbWB9e1xOADZ+6MVDCPQ/TXXLR/FNCLwoNzQAaCPJK15AfE2qJoPz1lvV3Xg+vIfGru3jUr7jiPdursAsfrjmaPo62ElcvyzmPzfuNxqFUP5dprDcPyBjP7famno75XKd78sdDIyJtqweI1mp+m+RtYwHxlkyTsVXYPpJTJpvF6zuNy8rRGyvlDzcUIDHCQGyLfGwHmhrR3M42/bzcVfa/Y+fiCRcQnB79dCTZ3UNq4s4fxke6q9D2ebwQ4bkfiDMyn62ja6EGrYmdm1R588ze4qG0rVWge53oY8GpauYFG+c4LPfGgxDk4IAP2Qr9Nti2Tqm2LGi0nu1Y6bZ/NF3fcMht+MLGeBuo7uIs3tpsvpzkY5nLv5hseeaPnZyDhiCn1X1vmXmfpAmzXBfjVXxinrO5/qe9QrnjY55nb9nbJCWTTSce9J/TB6rHsot/tiNisOcSlXNLxdxizFtmn4c/5Vx6Pd4gZWJ7mrLAXdnAh0P/Q9f41A/vx+dxcwurIH7E33dnvj6udObqtavBoxbZfFKIyTDG6n7bHl52pflblwaSnJ8rdZMtd8uGC727sOCIEmkx0zmXF9GsgtlbFKxLu/spxPO7Km5EFZ5alXT92bvAAujsXsdWx6SyL11TEMe7rmAGPTJIaYI8b9HEawzw+mTy4rEXiHvdZYD77e9Y2LmATdKB/Mv9RurYYxS7ts71b5DTiMVY/wckbPeBHg7MpiaY/+DywqlmkbAWXe+BYV+wEtU8Bawb9lo4vpE8hc4CNEPfeZExJLw2yLI1D8bGkM3ud2WnOK4PEsC6jNol7rVK0BX/R2avV3sP52gwG7F0vNNtL1/NO5z5/tg2q9BPF7w2sPe+AvS4rGL/PpybP9uBUaCPBfQPJ/4v5SBbiqBgyViDjXPQf8u8qf1cNQWauNNz3rMDIIswwo/khsO2Pef+6D5KUFpc/7MH41gMbdDnR8iVJhhqJk8nUWBXz7HhQDmr/zTxTsBsqCgbBH31K0V7nxDWwPw2Jx5r86/4Iucdc3w52mmjPtPvgTefCMWZfXGMYp+NKgfvuJsZ1I9rkO7Se9fjh/QjeL23ux2U92B+ctxILos4hv7e/X3/OSJsuReEhDHRStRl7+EO74WhV4d4wFBNo1yfwKsU3rSqFN3F9vwb7DvcYvvHVS2w1mcdZ4f5AKZwMcSUQBw5jqS6TvGk3XfJ5GQHxyFyd6FydkIU9AzUTq3KPv85Pa1Wbb/fjTa51jbf1lXMDYy79n5JMoL/4T89BChf7+F0X4o8+6LUKIRG3m/k3f0i8BYFVTuhvNT5zHQcC391FjIoac6X2kz/jUhiTQq5D2sSnMEYrY4TSH6eJkYZvsUjIY9FZUX9uBG5/N897xuPSzs5rzb4mx5X11lHBUx7tYShbatB+919J14ldPWxfwNJywQYx6HbZY4hiYQsG9uXy2Xcm3MrUnZ2znDP3tTwZo4cIBn58ncL5oKrW841ZnpEJjsoCCv4d30yXUMtVXRfJwjiQ+AKcBU7AqOQTvnyM52JyUeaJKfxHh6j30Ru3Q2U5f0ccs77SuZL9cvymvG5bPpmT7nDUF5M3OYjik493wfA+YDenuI8QcbqRltA+qe0bwp/evrZv6Jcd1Ph84pNjrsYawz2Eel8L+bVTGddlNRZZXSf/RFuhxmjEeB3mWrHP42sfEuSD9WbTdGnDeN01sjB2ZKn45cXXrwsfFBBIsmv4eix8uxhNnohdV9w4mdzWqj5KVFoGVerq/M1ejoNtSFJPJyk97KuPyR6co105orS9rK/f/Lmj0eTeDycv+L0yb3BcpCySG5+5H3C/D7XVvLbJjZwLeoi2xttyaXiq68FccjOtuIDTAPOqNz5sv13nVQ4xDku2wzHdFog+a9d83syG/qAOBzkT53Qk85lhZVUYA09BHiRHKvuGHUE341w1YT7j3oHuE3ZEX13a+pqMfVOnjnHjvJZ2f2M3HVFnNzFxqdsxTx5rpr1Q1R307zX3hmsWj3ME5uZL36DnibTGqsmgLUKuldr3wFq2B9gM0A4cO6ybb/wLzDc9ftoFNIBXiX1Rx+XrOi/EjGniu/BZfg/rU577WSeHfxzzhOy5h3Yl2hgB3q/Bn5XH1rl60GaJGwTvFyDX0H6Zwzp/wjEvV8TSB6KksXF2aRv6wIL5W9suaE++uIzN4b6h9PnhOHndPeaMq5oO6l+X+UqssVNlrvIM802bPkYsn27dt7W96wV1P0AboG9kLsjyqwYQn2UnfTDZH7gOar/Nxfjhp/318mo8AuyTRe3jJXXfP+t76jJ+CM9V49DjX+3rRSjLYu1QlQ7I5AgcbaZXRaKBM3OUcQBXB9vTQaxOibPDbX0epYxWrg6+JdU4m4Q7N7HnaaY90y0sMzCT41Dnbarv7JUhMImsPOmv0tRIsjDDONVEGRq8bbAgXzCzDAnPzybIQTurNha3qRYwSxMJ06o0AMkPRiLDHbuFxsWJwHmaUBdaVi6mr1SbZKWgPJ9COx2dBo4WVmszShAJmpthEYAcysxH4oHJbFJRWjp30wgx+cNiQSr2bvF2aLRHNuh/U6PgxBI4jsQa2fEbDQUzJsJhxN1aQlz0nXqipA3r0Y21XV/NwmqpVZUGfohDs1g3Kltj3F7oT/AO2sNxwd0pFbmG+bakKnWydjV4NhPaC/aEreu7ItT4ra0JxLTg4IOpYDTZXThZ16scXHkX+rvQKHa6EJQRsI0efAH9nhjPeO0IcVw+qmC1S0ID/ANr91iwdhVPWZq7j+rtjBReGv8wSTwB2UERn1UT/QUL1MSIYuE+bUcPbE0nMSOhrZOnHYvQTVYMbKVnqbOMT94jyqa8hLaB3shUS9PihZMFN11UjOwD7rRZZ73j/YDHYN86e6+T+zDOoJ+KjflKdiwr4RnBvoc2wmSKtH22nujlOIziCuaLsEOmw9yc6Y+Cm1VwIIEL+rnC73zoM4+CfAV7PKBgAmvYBlLo0CkG5sQr5yI0yWhlglmu7WxrUsXVJuOxP3DaE2Kz6bK4Oa9qi/nA/sF+d2gy56FtE1gfYK+1Cfc0M3B9WgWEBmph8FzXLNXXuMvo64B7OH2rAte7snUN/GYrcBewxi4O4T48/xJk75pysdQxVz1j4NzmATyrie0mVbKlFK7DUxw/H2wZCoo6gnFlGrgZlIOfUaVU31drnZQtq8p1+sgVl/E3ehF9dkxgIsZb/1GlDOu1mHHQ0dhVU0d/qgWpRkM3VJNAglLZBviFbUbGNswJc5oddIxJsh4XxuKwMjP7YJNSn2RsDesA5hXzDde2YQ3DuBaIM6YxPWUkmArtgejqMBc535Aq1gawbuD6PkHsXsE9yhMdx4fwaPAk1Qr3ErDmlwkehVnJ6cN2rCDBdQvHsNSmOTx15VECaw+mktFJp/DLwSE5GD5FaO8cxw5wPNv+RCRw8WSqt/mM8dw0wQ+zEdttV7V5mAb3fQDzOE8YTd6mexIai6Qb0ND3LN1cnMoP8IvezOdlGxjjXrrIh20jfQRPAWvZPlg4/6nrWjw+6AfeC04dGlRx5obuiu1iYfJyGuapa73cd7MqfZlE+SueM0NL0qlAj+s28QVdEGgZ0eIjeboyN9VBuxF0q1PxTO77I4fNa4S8JxirQFksaJhY8nvOdqCnDakbZA45j+CYOse1lvvIoYO1CN2/cAW08w7GkHvnoLXTXP82uzA/iIVSnloHYSSxPol2p/LocB6uetloV8KDgN7ueVNr/jzcD/7rIeOleavfAqNa9DzjPU9HeovruWCOwbzpNo5XMg78DLwg5yMvLN+108dPPBD5CK/Fk3k0f59F/LYgZ/fhH9qWfnpli/lxs8z5TAcV0LkuDnw7WQ5hPQ5bq2mfe1fCzeBMZ5cOPRvevporu2lRCuaaMemHQdWZiDiBdQ9zFOMEsfb8mWPk93pHXZWoTUTWeCBeOgfbyH1aiJG+l3h0mO8jcejAXsAayCXiLEqMTswPkvUeNR4dre3Lk9z30xLti6cIbU3MwxB8wfDcR8IOYToA4ftYUzWdZLafa1dM3C/N3aifTsByt+mdP1eT+f4ZLrJExIy94ohd3Kz9dJXwHCarO6zWD3XV0tas4+yV4fC+GPF4Zm7FEaHgwPzcdO6gTGk3ciJvVyXaQ1gURtPMDM/U2M5k5Ary92a9xvcw6mx8LZ6BzJuBwjy5T3KdhmQ0nT91J151ckfJwLu/32Fs9u2Dt7YnW3VO+GbYa7XUsRMtZMKQTrSXsuVRJuMJFVGQBAhxXsCO+qr78xr+bcynQtvG+SMPDb4ztTqHG88BuxD5cb5jpGBOPOKy+YXD49TYtlXjMTJJ6C6tnXU3MlU3SZtZj2Wrm7WPDviiC7hDX4w9WDsm2HYbd2e1RrztaDBHjDx3vfYjJL1sy+n6nep9j7KhZjztneHfXmBngYdQ+BZvabB28HoXK4w3w/zU2m6HFguS+ZQmMXRby3zklhasXJrYvWX3fFFmRUCiHERgXSPzV/084mfUvMl/10X+Z75EmXPXavxdqn7l5akNppkFr2CYZB+DJvfGwFdwJuv8uXtV59Mldb7er/w9d9Zq+JdpjYVHvtYPcm3jytEZmcl64Xrug3ybs0cyb3Bp/ohDwFp4uB2si2hy6CReNzwX1lV+4/CJyUwTL+vdvY6r/GiWVJteyI1jHpE49abv7pv7BMeegBmySKkw3xAzmCtHTb8VM/0GzzvRxQeZL5hyjH2WFUflDufn9o0EmJcD+ml1Y8ql/ID7vJkgCtbde0tQoSfTiy6GF72uLx5JfGwV64tlHSX7wnW2H1++6f4Lczl0v+M+13mq3/h3COKVIR8nwu0fHhrHzxblpACt7w8F3lcMC537/Rq/BlSJYjXtftNbrtbX+E7Vc3/Q/G5KTkCSdgdCnQ1gjv2OB8VJRiQelORNqn28msdDk/HzLM3/xIOiHBHb2dv0mS38QOS+Xuam3llMQvWNBYQtfsLEeC9oN1hNEjpag12YTjSRgv24trp0YhTDf8CSsYmD+2nX3FAw7iD3Swn4T/YOMdZA1j5BFx4wN7vGz0sPiHE4rZhB65wbjN0ffcQJ2GPcHvs87RoVYqCBnA7jBq8/rmtBwb+jKd0cx8tLZ3XdLPr3+eC62JDFiDF/mOp8NFOuz7a2I5MrfhYjT7lWHGx75zrlYANxTkLu6cg7BZ9tcWzD55letSk4QmC3HdtXkmta62N+7Fy/3afs6NUc9K3KwZ42l3fh6dvsnYpiAvP3mRCYn/yltkib43Ggxz+Pc3W/Oc4fzuRxpAfHVV94kBVfUCRcdTEPW8YYudQ5FHFWqcRHzR3EmXrCq7A7HrW7DvbRI6kxqKlKZV6J3O+Ibt5+11XKS3vtnhTkcxJnhIdgRxg/Q3Verb7bH6SjmLJzXrLAzuaHW9g6B93NLt/qYnvWNpx6Hxtyjl6tj+u7hrxQ7yN/Oup9gE//TI+cLV8W+EO7/Gy1h37ajwb53g2tCuxT4oI4byGMyxeey6T6qiur9y2Rz+qnOO8/4HnwP7CjyRFz4hq8aAEm2W6FeCSDBt/ZxFdyafAPBSNKw79JRvKVnu+j5lz2C19a05WCrATGX3ldmERq2Qe2Ge6h1nN2RjUXZQbYDIj99YWBq8gahKfEjsIY+6nmyEQc6BSxvj65AuAz78JKMxN4JpX5GEMNvWxq0gBM56NdCd07hFE504cpiAQRscoNnvuPBpMajItn0maDth5N2hHomujjnayVfDMWUxCuH6W22PPjpbcNEAsDzDyDBuRs00JyBZnP9KTzoW8EJPSCaJ9eJPYkdS7NtdbtCLkkP7ZD8Bc04zZErBhLgX8j2ucs5JpBajwAuX8j9+jquIOGuZbgIxwl3nmVzsCGjTGHGta9jPnX32NekqzNfjmBSiWm60O+vpMXxjZ4gydcx3pkvA/n9IPPZLyw2ceW+0wyPxbtbHvpRODXV29jY9BOJqF4t6o0mu5ATidtcFVS8F1Bb1QkAe88tg6kzwOha5kAnwzkKAHPsOdZh5PxZtJ8YncfxT6qwEfj4JewEPwS7EPbAGnOaLs7eSKFgW0ykU8otxFLYuWTNvi4Sed2sDsGRXwJ8KkFMxlXbbazL/4uHk0r7oLs0WD+T0hITq5I9BbTj7Yevyb7fIPbuQS0wULEvpOpK5BXsU6q+TyP73KvQ/OMSTVaURFH0LYzj93EJEWxvxBKizY3RGyC7a5pnOvaI36uH9Wbb4iHRWIKXw7WLC+4aLvgR2mwzqamsMFvjQPryQaekR+1l7qbPkYOuJXrSadsra18omOsB3NqwG8F/1VC3CiDwmJkfsBkBqmXwO6Zc3omlrR/uijLMf5o1TFEjFNhnHFp7JNlHRuTMSiMWR3gfQ6/YY01xT1bR8NcfanHJPcEQ5uSyjjee12bI3NDUebVMTJhv8tYl4xnwbEYJ6sxs7s4v1A3TuvYH94XdI9a14SLyV5youXq3MgcFi853LI9s3gaWEJ9v4a93aZ7DaZPJVgfx1vCS6fwh0p+VVrdSnUKUBP5dYTx2GN41qly77X692G7k0ymYpLTRXymU/DzQfeYtLgvpjtQKSIGE6XqL1nQntM80rRyKXOMwTQwtYLRoADlZsznL/ekgX1oCgEOv9r6MNLUJdXWsu5PRXNM0FtrO3QMm942elAalJceyF1D6/SPCVgVt/n4bUnLt2v0EAcGPgCiQDuBqWfb6z4PfdEVLd57720sl1JbO2f5meRcdYlwNbIvx37P9XTkZqL2YM2d7fJUqthObK/fJR6209RyQ4/HQlm6G7DBnmZn0gZx3mEi2c60kWnm5a/8bemfzZ8Y12YVwX0EQ9ouGP981Pt9RKRH0AGhA04GfSa4P4g4Z2yzvhuPyW1SPe19pQw2SvrsYM041Redl999kTA82Yf+OziQPPeF4W/VjeL3s2ScUhPkYfC2GU/uw6LTdelJqWg/GC6Uj7LZj9IVaNdA4p/LbRRVBz8Q8RwJreX4y9vxno4YbE+MK4PseSXyMw3lZwPkVtcLVfBh03dKQAaiPCN1PFsXUhaa9KXCEM8HtpG9r03vPXpVoD2t1gm8JDMrog/OPla7wF4est384GZpubPS/WjlBYVl5G9s2XEWXGubwWm8m+/bLzsAeQSC1GynqkfUo9s+XH2NGyBXMH8O60Fn09cqWaoGI7t0HB3mcaSXAQvSJ82yaWy9tffCfMQWH4PFMbOyfKLdolaLs7WT5bSzqWZMCG/Kzq34OYrtdt+dIr0hxiQf7G3Gzq8gqwL2zIf+a/TQH3QQ8iQO4nOVgio34wNfHLIo2Ce+XgWpKdKl/4oHVmUvo9M49APwaVCm9Gc2faTD6S7RwO5hhCJfQPSB+Lt13TZHXoov/o0auwp8Sy7r9yjW6zmB5J39rHn6SDusr9xf42HHeFFvM5yIaNF6FqxzLy/wmx4djBcJrtp8uW2NKua9deYaQnkolWErSsvlbS9+66V/+XcmR1wiuXMa19j8ct/qu6/b1CIgzxa5YU4f+Cfv8Nr9M9+GorlcEkcXbcQmqvEAFsg6Ubkkap2/MHruBZ34BU1/xJmdzCxyakm8hJTgn8ckfstHq1qX/w3r5898IZqD7Uke5Bf+Wl2D9otn6/WLs9fmyDADcpiDHBfeX5jEIUGcgoLas2+1N/KZ4VYeG/xHHCPcVw4kp9oEdL1jkRxmRf3Myn30H5/zz/yskcTza+zPb1zbsu7uv+MaEfQ/eaDkZGNWFniUfI22Jjz3iEtsh7ZewesPGFl65ct6DhexB3kGZgGpjoqbyON/ne97P+HlfceTZHW+5S9/O7O/xgR0LHcE/2NcvvL3Lsp1P8jP0wEJ8dX+h3k2vXQcxJBNqO1MB9/PuW//ISb36W8f2uhvz4ku8YGXFGNAtV8Teo9U2nNEd6VvCL5eE3OoMRacGt/rWcfnEEMhzmqcH1dXugm0Qxue/GHvODYvbHkJEZd/e513SFYOwM7zmCaCoaIWpoYQlbatH5IuP/SLQIvpWemfGbGsCbVyMu+55XiwAcM7vXJ28Qu321MXIEOOWi84PwVJ9+StnZnEnbIgf/mdvhYsmKVcW2Ae+63Z3/iV+xpHlmGek45zitZ1hien3ueTe4QN1znaMFgPgPiTP9aJ6eTy0e+w0jnEU2pX+8kz9Ww60GbdfLOhCChd9l0xGuntQJzep2nrz/wXPtO6JLGVuxsl+im9RBvnzitrGWTCZG67fG033tClMG83ZPlXDsw3/N4FaeJ/oKt5jdEbfMYgpAzEuuk/P3/D/gcfXuJepIbx7T2LEuJ9YceG5L4djO4DkGPXFHOWHT3YnjuVa2oi94xWHuoXlHFGT38US+WU0rdqtDaUfu9OGGNigDEyrZoqrfu0DfIUVgTu7WUaONiZtYxtinnQ4ODZgVLI3JvrkhsGlb/3l9/eK1nukSBs1TW+NTVAg3e9/+IpbvJlvnN3fs9jYV+Ys3Hw/4VfiXE/rGm+D5rYH0inGndAYjIj/4HiUm156GukDa8FyplXI2c8maemsn8+H+OMWEP+n3AuJQQy6sOd5D5yMJ9LH8mqPJmnFMVNPR7a4bzrPZMGWwl5T9PMkvY+UrrJ/XHLQ3/6kUo8VZsnuM/uY90UCUHPv9wnebqR5I0Bv5DqrmGHibYxB+8CMd+qdABTa0BBb4LV/r4RwWpSML5YFtfp8rxiNrvQfdyJ44C1OrE+Hp/usyXZWP5QmIf8mhjtt9Oq/bZckBuSztiEg73kOA6xbIUc2mQNUlIbZeALaiwQAcnyxA7B7CDpglSj11TjpVuNdENspUKy9lrs+sOFsysqk+5bKsYe3hDlz+LIh6US7tlBPo/Zr/0KiYdt2E39reTHkXGtzzwYjI0ZdewV+/UzziBrlX3Epam+6h+Vpl5I1jCDPXpwnl91kVv0iRr+HcQwiBDr0eGuQd9HrbjTLWfkLZ49x57+2rae+9Se69UdweiO4KL4c9abOo/ziRYL37DhfbujGXw0bYNiQt9OZPP63MXOCJLRPKrK0+KYm2AUkmh1VspCaxlsnIRseH7E61kn6U7X88uZimX93u1oczKW1+OsD9cLfG3swvW2Jk3hesm1MI8C3g/n+7QsotSMXuU15KOuUnJV84fgn7Dh+ud4/Lmp2/gBb9yljNdyGNZvH7mLmpyX0691+WutGlTmV8BfAroq7jkR+JWzWsZ+ydoW2drh1PAWjsaP9v2+G7kTUagT4iE+dG+yfeHr2AlbHadyUz2rIpPGsRGIyCJqSio2tV8jcEv/kN/buyAbvjfoquWAOWZbudA0kOd5hRgn2irMB+BUHqJHLtKs0FiF+9CYm144jOcRuajLqO4fs/Z3Gjx7jvs5KYk5zQh488g96oEdRBpeO1LVOSqOGH3Gm9+RX5ZVLpVxlxBrvu2j/UpymF/MeH7yQmFeURxh/pzU5wHOYdtiyAclMZ0TxEs30R52BNgke9DOGu+yjGiOtE8SjF8vtm2XbkbRjXJh6JXYUPZqDXbqhVVqxEad6baqAipcXzeoevGHxXRXRHrmRi+eCu2Y03i0Brvretb2bxN0iGhmW4ZwFUVsroQHLbGkZ9K7btsT5WOmPHdYGBj52mx/11tXfxArH1G1L4YVmcd0Idi4n+zs/naoK5dNq2ot7N0s1sRktlCotyVLjvvLJ58+1jri0r0KnXI7szibEA6uKrUj6D9b+di3NKQjrmLNDkBgC1PcumfordQ1qbvRH6rrkPlHW+n0qYhLGxTQR+kHynl8JJf1ef0sNM8eVtC21sEftEf2YDZCknjZdr1/VfcHErV/aG/8LR+yHn8mJE4wrIP46GhSXuTeIzYpzElK04AE7gFk+MnjfEn1YWs0i1p7bwPN66262+GZRMsLGbQPynYWvQ0YNdLKJH4BAxzmymrijgd8/aFtxL6/P1pizpFX9v3kREHWLe1l9bVeCbhItE5aPMpiZLDvjdD9igvbr5jaAdZgMqxlzLCm2K6xSH7xCfH4Weeoyv1ZHbcghJanLVGkkwT9fEbEt7/Zozq3EnK29NKU7214D3JDKT75CKFdfhvGSR+j7keedfz8yWlYaclaIK71L35i5xMv1ZP+qrugaHNryMEbIwY4qTEVwAascfSwdjP6wtJDnmIps+XeR+OL2EvCNzcmwlK5blpn0C8fhIdkry48moDjshkWOK/9TnvyEiByiwFBe2mEeIQFTOQz1TrbVvlIFhSZy0G5JmQyUsrAeMvn8BdTf4o7TujH7VsYz3rtJptVGDhBuGlFlTrVqnKqC/Ph5HPHKccYEL5paAJxC46HfjV7WM8Yfeabw3PLOlfcCSG7us4V5GZoYO5fnVv7kNzMwtvokfoxiYk38YdKabQH7u6h+2qPTnaLYHESd28fq7PsQey2OgG/TleiNrRnqmMonoS7qV6N78PtkAVR75yPOktdqKfkdTHZVtSmCtrj76y215AfpJZDn/snKHdysDKWVNbv1ti70N4WwfqYimgd/uwqF2V92g7z1+nQfwmWnjgrO2NjeFWtjbD1jZi/h8s8yei975JbX/ffTq3LiMpjSVRQy+33n+mhJ65Kq+W1NJdlabyLyRdeVo0XI/HpbEFncncS62Nk7RXup39x6T2b2i7JC0+Dr33IhffCHNv06DxczEmuc26fEode8i99YVFkMp+S4T6SJ3NBWf6HHMY9wwVlKWew3od7lTOShHRP++86M9l9GHms6HhxQe+v+cTTg4m3vZorLdSukWLL38CuN6/tiOaLtgjdtpsnB6tKqOkuTRIIy9pxuir+SX4RlDq+v1d9uK/pRszssKLtabAejOIg7xcFIBmSfCHgms82fAftiOwHDZatJ3lbO3HysF+Fbz66s2d5mdk092eb+w/3QjnfJMHz7/70COM8e2JAC+Q+eCK51yUXC2KZ4OvuFz9yjeORNLgmzVhg3yP2yUPOp27DWYn5m+DPpDXOCtgYRvWZa4J5KTIv6EesgUvV9rz3qqNjziSJL69dYTB/2Jru1ds0Jlcyt2/+Tr1yrbf0tfJi9cy1dynpNBiJadgWLl2MGeej43H0PtXKkU0LYzQ5XkYkWYGt+PoL63eVenoU4/1Muisu9Jxspzt1a2vtq01Ht2mG1+1Yk321jUT0cp6kxHZMntCu+7BN87bwteLdFe2V0btcP5bFyiTtB3mP/hXf2BKw6vSqzi/55H6p5/lY4kA0ffXJ/Qe61fBC99M+BuM8PWG/wjF/8SIlh3O7sHjqZLdl2nGC9FHG7FHS3SrZGKB3F/tHuzi5NE5/jLP1zVffT82xr9zi2IRz361zCHfjBG03WkXedTzYZnxjUW9oZo9hDKuPrHs/75Wjvhi48Lhz6SFIz1Ji3dXxJuk/ox8pY08wfz7z20G/0SrOvuW9L71HcwznRx/scmVqPluVYcv361aluC7dw+fWcPJQbF/H78kr68qc9ns3/VD2w1KwiXIvPmav8oMcnx+je1ju9Eum3NfPloJpJdV4dh8+J/tyOPml777jgxMH6wvCOrcF+QJhDKIf42WpPua+KpaJq1Uw4svE+6umscCZUGr6cqsKJdZ0Sn/iC5FJB2swaFhfYO6KhIILapxPzO+Qdr+0GcDvQrxHinYDecQvL6jxjMFWQF7DPePsj8+G/fJ7JYmzIVmdvFfaCUm2HA8wPvwB1o1V0iP4scp7RQNlgDxuQzrbjCYwT5T3kqbbgY/HB9WkT4Kh+/KHO8WY7OML//xtFF+88EyMh1KM/pA/cn9kXwe/pXCSNjTDuKsg9dyocSoI++TCBRnPIqwdA22WESl/4Hl7EoviHzDAjbzqTB5lOtkvW+P4832sbT/oGNbD0uu8jdovT9uu3x/b+Kzfrm7PX7Z1469ae4cJowC/NQ7I3ATR+v+Ie7M2VXWuXfgHeYANdocJhFbU0CmeKWpQVOxBf/0eI1g1a641n/d91vq+a++DKhQBMSSjH/c9oIZvDT1QM08xnkwOA1NJ+PmdedoS9+3CwUM7TVhpqX+La2KfqHZSNL4doz0hhDYgXkHeQk/JxCPdUj+TSZP0ZV9tgj0FG9kbIFLEBJ9iLZ8lUqzpw33HL7yOMfYUyribjMHV+Eol//KdO06QNLGeHvQh2pTzL+5lKgYazb7ks1rX/0lOW+lPb6ifdsCWmY9fqoU1OC7iDIm0QUOs28dxkLhN9rT86neQvY4YV9fr71J1o8a8oeMqtWo/SdUp5pnAP5XbENFHvDnF/nk+oNPSZlX+cJL2mrovYzVlUblZlDkYQyvn1d0HvDApyc0RSbfUt3XEBwW5aDPu7TONnGxu62R/66Dccpx0aM7iEuzeWMnULaPC14V11MgtBtlogA9g6lVhFeBPmj6b3uFaZz955tqgMyrPzC3jYLorO27GYy0Tnie8YhSAOcojH36rqYnUoSSdmpn91E/dFdMyNq1alkZKAVLVM57rgaWVZzOwJ3Z5u2ok1dxIGdyJqo4o010lPT3CxDGr5tzkTnfzbhHlmZerKKcF/J5J6Klw/ThsslTJY0FFcdfpNLTKAvy6HHv6NMKdLXkNzXXbsCdm0Zn6amdakcPJbQ8OM6ZhPRANIsvi5cYMopntF4oblTifXUaHriGa3akfaeY+Xm/PYDDTcwlaYWqU44ueJWNNcAO+Z2xTdjDg54F/WTB66RQ6y23hgTOFmZLKAenPSamOHTokFs0Ll9gjfQi2AxdTuG/w1W3k9b5aO7YcZfdQ4/ndAns8JMZ2XkW5U6V3FuZhSAbOOF4eqt1N19C/fyeWpoDTtrttxztVpUFzRF7cu4V6owkLi5aDEeYD3dIe09JpGmDl6tPWICpL05O97/J7v/rHAoxf9xF6V0/ApdXQGzMc7F+puWtwftf9PGHdhzLeyR6ULzk0r/tLENP4q587obh2ZM1t4GEfah1zwbi3xOhH7Hlv/tWXYvyyR2FtqkbdM4Q54u/4C9uXUWidHFdExIC5OoW1YdvHO6z2w9wtU29Evch4R0+TNitTqA7zU10vk4nmE5A7txXMNVsTkWuUxlLL0ru1M4nY8VUQDZNUX7/PxNZC2tL9/XG2PhXCzLvUr/h+9CKpFcaD5rR/Ve56o3ufEed9D4KW/WRl17XfzQ2CpYowh8l8ix0j1qN3egKJOzF2YKOS0jRIIaH8qcZWtHyxUalONVHeTHgQtIIB59ylJNGJGEz0CuQGKemoSu4jvwpjworJvgCXz1wt5gSepUHDCHywsOXA2On2Tj1vvF6uPDbKypqCPHmJ2XI9SKM76MTCdnwUDtUiWtyOVqSudD8zAmvRuEhXnP/MX2zQDpsJSVJC9RKfXfoDvw9rKwbIl2NKLKP9QAdZjP7GTvLKlOkTe5bGL5V+c3+/k9mnphRkr8yJg30sfZUn+FtbkqFPDMu54oiFh3HKk+TpRM6gV6qAz0vBh5T46lTriUPVpdc44ik7xBvjYBi7LtWddOQE0WGpRZtDz2zojvCcWeY6fjspnE0G57ARvZuzUxaHlufF7k1fdLI4ONmT+HpnWjf9HN+D43fiSFtkVMXegjvHkBYPXr7muha7eP2jqyXFQqx5P5tpnfEkngv67mmJlZOHES2Wmzi2wdufXXPmHckN7ik5yOsSO5D3FZ3P9X3h93T1R5xO5W+ZOa6hKf1DHHfneZqOQHAfSXkIjuJgneFYF79Du8f8/qZ0PV6Te3xvevKYJSt+HOPdzfx+3HAZ9PmFB80isDLoihgDsijphdg5Keo+Y3wmEnfQKT+9e0H6q0fthbFSxK/isq9Q9qPtvrAJZT8dygPsMYs+vYef9cr0T4/h3qmxN6XsgDkEPmx6IgHoCs7m8Ix1453OCcdeVZhL5RfmEdaA1TX3n+tJ3E6UPcTHelLU42kTbSLZ77dPfRraN5k39Jm2l326/OaWazAAx3rkw82VnhnSGdUzcKdEdtQ0WUNEqV/MTWrD+mOmw2+9UZtrWm6PND8HJWrrpl/qZugT3YKlRzpTmOeek6kbE2wQOEe3fV46FGzMq6rslKdKrqthIMLF4hrnbTO5NxX1QfadRuOstl3bDSY7IwoVpmikgC8vM8qOd7/V4DEfbB1e0MP23dOfzQctm8hND7J6eHWxDkWwIQlvzCCWC/dgaz5fgyDQFs3uFtYq/CY/MUfJyipyhwS2ppVC9idpsrqY+zQDvSdA+mueZpdcx156nUaat88N78BSuucaCRks/sHYKAcerO2pKUBmET7RiRuor+vwuEEQgNNwnA203FeGPTp8cO71HzCxGhkbF8wJTV5NRmADoIxmwj54fjOnFYupCEhjcGrTpzcm3GZj5M8TUa4Lk1TH7tXYdjcyyT39iaeLeFPUIkaK87ZD7JQcSu1ERmlNH/fdX/ypT5c4KxH2D//J/gUbEeQJl1jikr+8xhKXPQw++p4Yk/tgkUtuixqLXPKfSyxyiWcl/h+fn3lfXC7Y211zmBd1LpBuSM8/Ly6KC+/3oiAXUiTIGabthzbFQh6J+V/3CxQ1BsHf9mEdw/92zGcfqI//9Zh6nyMKxFEHFx1zl43B536xjv7i7db5fEjMy2ye2yaB41y8Z5MUDVX7eT36+3XZb9+p/P7d/78dSxLQT7ooCuTgop9+++QzP+t6EoWwAZmX9Il1kPtS2yK+4LPUp2Q8AL9FVxAjzEJ+5HDwH/NSxtfzRUy/z/xAHtPP/MC8+md+YM13PT8w3/yZH/6fzifvP82f/6/z74/n/5E/8h+c/39x/fz359Oorh1vfNWfpyT4Hef/Nw6A/7jvixfjvz3+T/uwo09/9j8Y3ca/vw7/d7/ht30iwZr77qcPycSt8hcOzcHPc5/9189rKE/nt2Nvv30Pm/z3PAu/H9so+z+xxLX/6dj/8brP8l/fw1+OrfNvDPnEQ0JnEg8Hcdwc4v+h94jLerQfvQPpzND4Ny81dcNGhzkpz7H/aNTo0DK1okHaJUbZBUfCou9GYU9kHxEZvhud6dse5Y42Ah2rFJ8epLegjjy2TLsTnlq0Ne2uvvqlPvzYxVe9XJN4JdUxLo5GpMRU3kn7XsYosL+2jsN+2/wbzMlRamNMA/0/GfeGP/TrNCewZW33Jw5CJc5DEMm4S31tjM2AvC3L40xveWDY4Ha8eb8blwMsUXtsxqzliWZCd6eEsqvYTZv21Z8MFP5sufeOdmoSw57G4ji17uN6W9IFa0V+MfbC2DdFyYupeZ+k3cqpt89hs0Xbq27lRtb6eQoUXXkc3qN9c621zov8sAqvp1UYHm+D4Hx/y+2iei+tNQ/O1XN9oO5pBnKdU7S3tVLyK0RyvMAeDg3x4TWvvK/fjuOmlZazHXE7N7Efjtj3eceJD5fLLObTMk+jg+Ldapnzjg7VwiSDbns9+FHvQMhSxs8JcjrQgSxPZTw6jTgby7n1zdv4jSn+4T6E8VVBy07bIArcnhKthr6Y9xyqDDmtNGvaItaLPxwxIsaunJEbOY4OTTrnzqA3txpg4moKJ/sptRqyqDAh/lTzdKJl2AcCk30P99bV6ixLKvWlZkt9+QufhnowY6km4ww+M5xXEzmGDp/7h/fgHwTpHeaSrL+kWCO4S7FX7Pv1N3a37BlLOo7k161tP4q/sUDezB7coBkpx3djReYRuNgNuEV6mHZvyrG8fb1/bLuWkqdGI0gyJScLTk8NTjj44/MGpwdibrsEuc3s0ny5L4+WFHvULGK/bvS245fEI3Ry8cvrsn1Xkg7YpZc8ddv363x3IBxej9rD57Y5VI4kn2a6gMWGUG8aeZCJ/iB8uuO00BaEjQqa49YjrnYjnGurRjoqOMaEJf6OooJAiTTMTWsc+04TMhKU1nnOKCOw1uiLHQnmn95g54MfAOuSyHWJNWsv0He7KPPAtwJd3UIdLXG9A+T5kjjpyLsU11j+zJpMYRy3ymB2gue3EMF5P2yzdStXrqeZAs/pXVzHCz4ark7TPujlAlz6RlOwRXh4wDx5N3qlE8Rq1pr2qtdaN8K0oKayaLLr/N1oHg/LUml3uL5tvDmzW0NCmbrf7Hy2WXXy17kfNIKozVtVpW8Pj1a0046b6N6P9WIpQ+Tl7/k7S2D8v4RBA3+B3f6TnRV+8hQynis5AYW3H0u/kev2G2vWYJzw+IC1x1/8CJhfetuSNwLGdm4jVtmLxTYPhay5+6rxHU4be2401kttunyt3Zi1y6Kzzh6r1oCIMwuIuSKLGRVusMluzcZO3B0PBLkifHMpmKKAe/f3OqCer0xa73ShXsYW6Yavwldurjo79Bu39aFaauB88iLKRuZNFJv8+bILMuv2JsymWo1Syb7rP2o80RX6VZIn8ldfK/nkK+fWN44NO0m/W7DfeQ32aUQ0j37k9RNkjfHBJWtjTS8hyWM/uEz3g+twv3AKs7oXYcS2VjfzjNiObGthLcmU3zpd5dYfK9vrZKY8ZwMlv3ll4Xcf2elIkng6F80Z8UuN8Ef/CSuDUsXdq/CnPBpNxzbdrDEPGciqUoDgqRwyHDbgeo1t331t+53G8NmnYuUmaxA010WzJMKcP0pmK8+IfJpAfswfgfwCOmFyvD45OYmxWudedpITQPY0jUqZh/lRF96k3znfVwTj8+GBEKkut68ffcTV13hjvXm4TC+0Spd6g1l+MDHUxVhTBxuaJ967FRiZHxDl9TW3boYz3i6dwiXxcdYcTmaHsa2pPA+Dd7/R6n3Nlc3kBbexMGdj8jrC03SmkWU1Xu7iPdkjaah4T8NKNTVmkONXfm2z8ONK3ZvbQbM7g2uDvLyq1JmntIWfb3tigT/N7o0xlsSmwxl9Io4J8uuqyK87wPUmedu4ZzkB4hbVfXpGdqNOqep6yXTZJxmCnC5ZjfPCE8sovVCOa8lM8opO7C3jx0ZdR5NOKE+PuH9cYk2SqmNt5Fj68Ynuk4GmHEqQp2REy4FjC2cyGgXhtM1Kq/TYM5O8IftQLU0xKj3P9wK/y+3u3bMuD7urBOmz/ezrrMGiSBOJF3ilCVrsMOSBViVjV+NDO0pG9iOlk/lr0pl214eXE/hh6TNuxtY78bRXSldKjxtZU58E0WrCinxOUo/sr40srux8dogMP6ILvxgw31a28WrYe/YWVoBxldQ4E+NJZpc7o8mM9G1FKV59MLaQQ5aRjM9GNG8rt3njEMQTu+I7I0tcJsY2mb31fjxt7Cp/Nluc17xsjmHsV3o5GH6tdw5z+rPeZX6Uf/Xh1rizoc3BHglknaP1c/+npjmu6xuaqFe+sdq+YizgR4Vow0mu+crD/BlVjR6bH3pMiKk643aibZtE84VG+XiTGd1NNlUD/UjLwtJBWGsiNcE+LsZry8znxdHWienujHaezhOPbgt/M4c/LBFbcOyD3Q/N5LOPIwYh1kCDAWto5GuLmAnCaOtkOd5sO8ONcmjrX/h4Ws1A/CbgGPicjnH5S06b//639uua9g+nqexPSEOiyzoPjH/T38fze79lwz2BbyBSl5YKwd9PEcdBn/vV2eg5O/QNJW9VQXdFtj43thc5jnNh5ETJFiQTDjxMx8Tahq8xKDBPLuMqBKN7EaOfLfYSmQTHsGh1FbWu9RbbVr+BefW5HFdOhTAOoDZCbfrqf/bhUAnEg1DRfsU+Bul3eJn1g49qLO0tlHm8U+cFfmyl/YU9cMhv+b01VOzf3oMu2vGFciMLhxQU3i+dzKP5I6q3t3orJOe6iR31SxCVAW67sMW+ZpY0j2bg7c1gOWZBgsfJfmWy8I5jKs8NwccJx2AzrXyv6Ty797/kN2LkN/FlEIfQX9wMH71W92XUvEVvxLdnO/pdqwO+2IvMP7w+yP2Q1/il7NfnWAsra91U+lf8nkXVp0oxW7rZbUYDja0a7hXrWS2T7PvbvnNcJKVd5ZZ1ulDib32TqCByy2L77L1u3ksY1eBslbd1tuxtSdA6Gb63dgedP2HzUH9HwvRlO27F1xq9n7TqeXPpbOyK5hvGz7bn5dgumT+q1k7wGliOr25dIQ6+3vTc+Pmn2hVa2w81viyiqGuczdGOoqVnwRbkPXLGpsirysi0D/fP5oqIbvus32iW7GlO+2eyvcF7lY546CurYqsc2UZ5DDYkGGg+6M8T/DFf9qb5+G9PckItTnRp1w3IpEQ9I+Ah0h0xPZJyqhC7CUdpGwQZKImOiv0AugLX4U5is9V6Gfc1ZZ4Knifcc2RU0Rc3RnsMv+XT3491dx3Mb6G/6rzTJup5zHEhT0j9Ofi8Zd37Mg7SjsQY+rx39qCn3tIHdhDDv/aLB5TJeYX1oGmNN4S1+Kj/92lY1/LjMR8esjCH75Pngs3x2Z8l8/pc2RuAsgixEiyvjhk8Sea1xr+wS2t//Mvnk3hFpK5twNg/JVTnhaMLdUJ40zEEu2hlOdYw0cGZq5UJfHZztO0Tm4vBn4Ony+3JjILNjXirFcb12fJJ84VWFuAvRJom7hvYr+mkGRu86SU0iokAE8PnkcaTCUmsRqeKYpD4nGB8JAPpf1BBpt9shvWH4Flp5L7DeI1BPVgzYIqS3CPJyQR9NgVfBGxNFbbDPWxB18JvICUFnTltcTUwM+ztAQ9MFI5WCsxXscVl0VIm6phlVZx4HrUy1prMZ8fzlGmaLJ+/Dodb5uphGJK84BqYRsj5qqyatFcykNQ3h5ZNurJpQ+MH0DcH8z2Acbldp9pWfZHNs9Xnt1F/G4Gyejd13mkqpLntPROu8W27JxJHyRJtte2xoUhH7JnQLbVHoaLehkSMmMJpi3oje6qagyyKB8Lqabw5Vnym9cC/7pfFVBfPJ9mqI+R2ULLwplWEa42S9pGoYara3bIJsr31WoNfTsD+Aelvs2c7Wi8jjYmmLqrUtZ/9bkmXx29795sftol8B2eiy/ob4ejIxZSgzELdNwOFiTXh0aeWeYi4PvBZB3tJZJ4ebV4ha/olN/TXPrBzNbC+lmRRdd7P3kY56o3TrdvB5E1bmOl60G+cnl2hnPuTdWmmZF3Qk7UFOdZvJNPe5n1K6YObgsxGk1/n9yfwuGexe/7UL88u8fR1iQ/BxZ8vDPy7HDh1D4voksdtP4K/5TmiGh4PLsTnGBDV7Rrf7ZuvNsRAl13SDcqTNUF5InHq/1P+aE4rljnYEyuY//kMczCzT0/fjMo8dvSV77ZIvd6PNX4nk7ikRp0HlZgFk9KWmAZg62JdI+bAsccC1iYzsd+8rgtPWiBbjk7FES+rM6qx5TC3ilhyNacQmQ0szJtMr6TGFJoQ1yRpBupcE+9GVZY0URCPaA/24ahhh15/cvY2iC1J+IJ6dqJ0lo/FjA/GILsNTXBnfogmGreb4ybPTdIca9UgJn7qMcS2FEzTwW83337sNXOYJoMx2vM1rjHzyPxlHbg9o1H5Nt9iQ05psmZlqQsOSqMS7vTxuc8FbguLhY0dbXog/7xGhhhLoiBLvYcVhmamgqxLwO4DWRwkhe2LvvIEK5IwpmVFsXg1Hb20tXiu2duDu/J2YmoEAxP8esM63Y3zVF2ZdlLMyLjnHgrL4V5BMVgH10PuY7JtncfgpzAe66t48ZyQW4I1OHX8iv9pvqCeoWgX/anWEfQHzI3kBPeKmMtfNZ2hUXPNog/Z8irZ/4nv3+OAxV7pYe3DHnHqxug/ld6elCD3YB/m3Mnba9FVmbo/OY5VmdtjZA6PddqH8TD2ylHyFJNltMxPKrEI5oXBZ4LHvD2D1dEyznvKbRB1WCOVaLnlgtUXUex6IyLez0TA6rxb/R3gNhQTENz+tGdbvKQT/gYDnyOuFy2mBQHRfFVmN9r1+ZIRkRCwO5Tsph1m96uSF5EJOpiWuUYD4pCdNeyU+Rb0cmyCvXw/3v7T+Ib/YnwPiAlgv7GG7kYlbgzG0JHXE3wtBuMHtv2bfo3pLkVdWo99Bb7YPxhbEjSpGd1PlBcGziFQneCBjK8hYXvf03Wu9M/BMWU68XCdMCrul3Da3/ijjgZOQppo+774wS3tglBRCrGG+dzVp0WAhK2ICdYQ+mV5vMBy8WDiJwzGkRWz84WAvWUe79dTCfYD8eD6N+/UhvF+6o1u3a9p1PHh5MteWxLNA4lA9X8/rhHaSo26XhntZhw3hvW1Uu5h3JCKfyKDwJCL1utdVF54c+hO3zRQzjQlPO5sdL6d6Or2X4zVSa82JDoYqlmNr8o6wvYXj+2MYOYPpvV6jv4w38gF8T3/hdwHmzcCe5Gxr54M4x/J4YAoRMfIE1EOsMjQJyb/cP2lekNCMsM1hFVfQ+aWfjx/mR+oeY72RCuwnsL98JC3YH1gLf0ae3gNHuH7fzY/qmiPXA4YrzH8rz6VtM1gvhiSL9b+xoIHn5VIMSN7sbz/cpx2RGDevWhdNcfa5FzEiUqnxs4dLPP7aJnfGIbRf/6R5L+fN8JGHTPylYu3MuPxfRV7CzD0aJhoxHyqS/Avj/BXxwvFD/uJetjIu0f7CSbR5l+sK1rHpqWv8ax9aGk/9dEuICHiuRGJWyQxvMFmRixzY5e+ZH3cC21i3M/r/f9o7Vlo24NMKUfnwqvrHnoJJyu+ZapJmZ5EMBf8hcl96kfB079FcSsNxjuw7d4c/G47NP7pPH2ptvHsCEMITVumdX72kk6VKE1OpZmcwGZiPmsZ82ejPN3isU+mB+qvFaMZkh1vGfoxmvi8BavuP8o3maf8F8/hKw7083jqy33WByOkJfFP/tEYuzW4y7T3AXkZf8ZcdZQn4qfnE/pPxxBc2V/XM7EZXtPoagjfahORU+2AON/Snjf/ND6w7kfEuP0bOdfA/l8LY7aIv4i4bjsYR7BpbR97zcCnR3y3cIB49dij3kY/FLG3MJ4r8d14ijHf0z/SszNim+L21krPvl/hN5bwuipsFZa1rEl72H/8XDklY710XZIl42nZnJIC/FTR/Id254TgdR0hlpoyldeF17pWsjsMf8iUfvjHz5Wmid9L3gO4B1veg+IxfI2mzklpF0abY3xN4qLEML9AcEsegAclBcZRZqaQ/kSnroWWsYNYcoQGsofhrzkpoz2LM54ed6MWDSxmnBfWWMTVjZrVOdnMz9PLfDkp7lrzdlV7tDrokyYLrHfxGkd6UOxVrUqT+W7afxV+cfcoa6WFksHzoqubslTO20Z/sBCXTcsmwa5bTudh6QwVwrnnvOgpitfLpPXotcrvelOr9i89nHsuTNpPyCbHPAHMReY7POo4ZU6dH7lejCcxHh0wl8RqbpgamwfnJuZbMK5xF9pM6b2U65yW3HuTw7MxgPchZxxtn4F9o+GzfaBehyrXiOrb9gHs5p3iNeMRnQ/egb2D9/A60r2XTVdK90Fm261jm1SBxZFfw22GCdxDZwv7G6tn/wnuiuaMOM2fvYWrdDauvx12RHNMdvbc5fbO9VPNhvfKWp3X9kXNXQ1jYWwwhGV8+5OfPJKXuWVdAyHrqeuaifl4xxFXOkAdSj65RvTzPnGlTx1s9OlJqfN03/0qEsM6QgxrSzMbTt8F27Oc9n3kTV9eb6tD6Z2teBtGN+r0J0fi7/Zke/Uu1stZVETR2Xg8brbG46BCOH8nmht0s9wUG3W4m0eONzaoOwnuUx45TnQcKJtLoSla39pcwjPh19N51uuNd+k17dm94/WVKY/Xnmb7xsC6TJLKd/Tc0Mf7mLm5H0Q5v+w76+7+aNw4s9+TKLr4hhP42mVcj1/ye/1nzad3wvif5B1FMMTMBp+ljlUgrtYYsQMqWSvTAd2J9TMnmsGTwO3OPtHKFmPsj0IISB9sEy21QG9qLwHCMHrLXv/f+1JHRCmCa3lwL9Ft1B+kdmp5zpLkNt26Ty26nIPyVtDpw8qU2ygj7VCbHa4a9pH/DUMgKrHo2huQ7rLMyrR8Pqv6uu5VKcLhE8+jb40Eq4yE/Uzd9jXNc6/gP8vvx1SOPR0I+iAGrDHEAaa/9UpQW/buEypxzcUU9xFyGvsJY2Ildptto5z2hHLTT7vUppHXXyv31vHSaFI6aV8Xz/66k6qw39bECGzJycbZbVJkQIzJfFpaDX5XLvpRPODY4/LaT0ZHkMv3LlVKpZBYygRxD+iTwfOi2G8djjO74+1ZBL4W+9Ruf7A6kXsEsdm9J8FeKdApY4xfhulc5gNDyZNav+Zq7cPV+5ALhWEcxauSyhJizsR3P3eojfegWpntMqLaPHYC3SnCUIWVm6Z6dUNOrPMoAHUzE6cw4yHI0NhwTWEHqU7pYmrR6jQy7JBVg52hDbJZbMD8iAaBL2COFZXLVbhG6rpaa+pF/OrRMiR8ulGOfeWx7TV7aqQd7jndFIwSId6L0yY5LBeWt0u5VTHuqePXgqprM2SZKRIzrQzTzG7l6kW29370SAM7c6LUZ3NvEtDmeuI8ulxrbg0NLCI9Hqw7VbloeUN4N0Y+Qb53eHBcFCLfNpRtN++eQ5XEku/xh/wtMb5XSHRvTm/EypH3eoG2kxEkufMGnw3/ynQGsh63R6anc6zfx3wI6HmTkhTjyif4m4+RnwZsTQP7ykvM24J8fmM/naztl2tOHiePt+fIbzCuEmrIHG99jvNOckIJbr/66TrYLy2v8bmO844QW42TnexJN3F9GxiD1P+GHSJ71kn7ypVz9zLJmje+CFMWWUP14M3M92GX7PMNeDh7ykVv+extmnpG2foV8aDq9bg66dGh/ggPS0/307FOl5PVQbcaAuyKPOPXvD/TyW2lleVMh+fxVC88FH7H8SnI8O4SLFkKVtDEv82iF99HmbeZ+EnXhid9GJf+hFk+NlzoyTZXbmHj/Oyzrr2xulgoHIPsmATv/ygrzIVGb42bvWevyVLcYlHCTCgHY81sksWlaYdCtUy/XG37hX15TynIJd1Ibhc9f5HDnbuH5BIZ1bjIvWDAC3cAIrjIW2mknWfuga5D12HsiXxwJPBdxyO7BThO95l7yVV3L7KrpwwvSvd411hzCmtjNac5OCEq2M7ZRCvUS3CeaaUD96iAnWssSfjOQXD95Xe6W+Ucwu+T/fbYz/Yta4nk3f2N35ajH+VLHFmPIMa+g/isoPdAD+qYewE9KXMoY479JN+4BrHcgvwDvbkhmJsD28ip+48w3iprfNjbq+2Il1f3CoTRFz/7y9h7LfvNO3aFmCJeXOdlvBj82khyR8jal4+ttU8Of/IrSL5YL9vO0WHncRjw4zlXu96+mq33t5uzO1Qu8z23QUWY3Sovai21XWztuK3tuEcbmYo2gGOXhzNRSzbVOCUVOsgR2GjiyKd922Oi8vKkIsfgL1iCp5yjq7GI49go3s68ubbmzsw7iimpDDb2he7Mkjt/efwJokMX0dbUSltvd6cmLR3lyFbj0tRHWTr3pl3VE4euEYM+O8WBQcV21Il0wkcLJ0z6Tia09o53xrsoH4eL8A89vGDvUYb+8VPKnxSLEAY12AztyLwcPEcYR+RLkfUx9WvsC6mxrySWPTxH8Dm5jbYu2j3vSPILYEz0y1aCc/ZjHH8tfUtOBS2KPzweLRbC89xJ+6jlYe372zONEJ7nruYxwP7pD25AbVsLJzwverfD+zaYdKrBumRjR7vx/FQWzqtlxYeFNdr2Yn9+fvDVQp82s+2zqER0tOn9rjI6Vhk5tKzFu7v0sqaNHE1wT8eErPb0cptOeDeO353hgKndyQGW/buYLczsQFrlMDqbFkk7rk6KqztvvI1SHJ1qcIb5vBnFXle5k8VkdnfPYcncOL6jUXyJzdEjUAbPXWtBjsbG3hkrZXFf3FJ+cvVKzPQbnZdco9euN9555+1IZcp5olPSbYIP35u0xMc8/cH3Wko8IIdgTYpIkfsBe+b/iHtJXuBnnrS1Sfnl2AER2I601t96w+2IbKeNF8jPOWGqkk0bTzJx/zZnBOnCfGFViUIAYfjJd9873IfGqsSkL1l7dfziPZNzoMa1xP4vzKE0PjiKDbLnD7DLJceL5EEL6h4ysInQttaDkzOd6l5jvE3vxL/FFGWGUGMnXzBXb1ngjAuy6aXKc7LhzIuNEoxhGr0nM/MlwOkTo5EGZh/43sXY2eUuN9pp21qCb9tkhgtWZnM8VYpOw6RJRrJbtH1OlHtiD2b5bQ9ytxqBbFSeYHSI6ADzfE5J6/uaoa29krlTGJqI9Gzc35+2ycl4pWhfsSfYVw8V7SvkqKe/ejFTiZGNa8ISsiYKc3iSD8Dw1Q+Oqy154OwS9Dny7db8e7JeG/MK6GN8arp1Wdsh+/4QXz36YLHLGgdL5rNeSQvuZqLRBOuLJ495e/RIZgasroG3s7cGKem4snVwIefOizsga2OtIphnMSbNPIreKawPbvCJ2kpbBtFLMYEHeb7G9t63FhH3+VZ73yKKgcI9VXUegQPjOC5nYFh5c3IvQtvnPUaThg6+nvuuNLB925O8ayYt0qPxWNf33CPgxJD5yFlp95decWH4A43wYOn7/DDaFWCoLjKWJSHl4O9zdneJNzVBtrtauibIS49BxPIxhDkXuZHHwDdF3r7wh3/SQP+uFDW/NXgjd8Sbm33zHHz75rT21b7xXrTf3v+1rlIwPJfJ+Vs/Ix3soo5DWZPV/qHspQVf54ubiI+/9uf85QZ3je+QGzR/u/R2H/m3wmuU1ff+S9l0Krn/NJ7229Zrc1Yewd54eZm5Jw2zZTtKtG90bh4NU/g14Skkx4azDrfWIQ/ksUXJ0suSUcu9Me1gv7yXOHlKd2tp5d2syvuIWE/wRN8wlm/lMEhHWnNlac0bWRbs+Ox3T6zrktJzKWXadngdEb9xJv5rn01Ow2lnHsf9+O4knRfx+6990nlL/gGc/2WE/qCMsyIH6DeXK/e+OBhajOfUqbkDJJ4vffCM4rn+bcL4bazsny+WgRnlw1xq6/2m0m3B+eC/L4mOPDDbKHGnBQHLzaarU6PtpwzrpUncZLZS7Quhnl2KGGO1viNPZYj2NuVY/V3Unr8veYI/WKgR/fC00C+eE4xlSK47uNe/3d/WarQye62LPDSeagH3ptvlkthKf9TZno+IpjtX1N1v97neNh5+VN9nGlJ9l58McJuNbTGhwXNQJbm2Vd57eb+/8WXxj7wl2gebF8ZNYuy/jV89+sjjIuMKMkf9i6+j5mT9zD36i8tD4mH/5EYGm6D3fvbzk/tuvI5NGBuYtmLAafMUrdu74Q4k4e7aKpKrb+78gc+CawNx1mD+bMTxRll3khL/PVG2xa/ep8enf0l4qXLbSz6TPOGuyXeuxm133s7gmh3+TM6+33Rda5cWTlbQUit85jfoYjbsvc/7xo+enQ8m6id+8xtetMSLFzr4HB//GrGv/4YzJJ79AfKkIN8K4eH90l4cL6Xp/wnXmnIK/nenoUw+PjXIt/7y2bj/FX9IYiozMn0in4oN9yP5N4zavvmyYSSPd4vIejWsPUxNg2N9k6p/4Yl++m+OsmcH652CFJ9Pzfv6qenD2iOse/vghSKOCsgwT9ZI2aHUB+EYj//iQZN14N6nb0fW0IUGRa4OrBlZBqMRu49G5GbSYjfSCw4eG9WD+XAegO7APg9GXi7Nk1E/f7i94mJU+dYNk6kteeVsQyOqo7/Lh0NFMrrCMZf8Yvr5zn2LqY2cin6hPaocr7WHq73hs9tNK69X7bYwA+8+EYM9/DY+1Qa5acMafeULq1KZJop4XZqWwdFZL2KlaE8MUZjEb27NXQnHFYmVqaCGi/lGz/UR9x7m2945lTA1wVOrKm60TG9mpq6ISFwjeTZKGo1Apo0MbpBdBa+r9Fhfq1xaWQlrvZjvnpW/riKXlvbayorbp7QggfXIFDGTRhjGg6VtWvfNx79hC1c/ObhkD35tF8PzBP2IteQNxxcvSuG3vPhiRfN8//KWK1rs87bTAHGTzKzDE9Yk7VR5TqOxY0WE0iwfjbcPYgY8N3moNd7qwtH4gmyJN3qfu+ukd9xYydkBYaF94xVFMr7LSjLH9WF98IA59mmDnS+x+b/7sn9w/JQSuz80Aq8l+Z2598c+2D/nY6L92Pck9n8y7Qlyq/sxv3mBlvoAEwpU6EOwAH//TP3L+xyryV5C5gv/wi3kCBPUP9jH8JlCMFcZYJ+j8uEWorgFw/lo/sYhtPw+5xt/sJYfh0+dMac7Ip9Xze8EehvXzkv6NsgHxOs8U4T8EcZYhCRbPfrKc9knz14yt3rGo/8wtoeSLonbJ/zSf6hxYz7tJYhfsDRKjYyejeH10c94ObsbS3lMfOUz3Z71H0q//Wgtm0Ym4LPkb/a/w0kL9uVfeHXjPT/VmI3Jl+/7wUpMajulSj+9EX/EmDKI1UpivVMRMaqmsZ9s5+1yi68PY3jdSqJ3vyKnHsye9l/92eHNUnsbCrLdEj3EpNrGAuxy0d2u6HAyF5y2siFp6H/FBbN+4tsyjvNRxbxsgqB+qYwb13wwyGn9qfuUGBaIOYH8TpK7w+fap94N5Xrb0ZHvse7FZJ86TaxzlrxkfoI2mqzt+urXNDLeljXPwYcHKrRPxheOXY0ZOK9tb4yX1ZzmGIcGu7Q0Z6/jiBSRyZsjF1aMiGEN9sVjyHjImnQh+RmV/k55PoardmNI+Gx6vxgE2ST96Q18yKY7K3NHywp3Jq6pVonRTBSu5t8c2I/Y3zUO+JFMrpmdMvw7r1eaKMcg6+CcYqmJXD/u7UjbvY4gP0pwRYrYZjutNO+j51gyV4KWbdcclUPJIYm9hMhPOYsI3Cen8Bu+roXfu+qX9Vbj9f5HVQYsK4PCrPtnpd7NYzi+cMzyAMflLnhh+m94xShwZGkvO1DuZWT3hxyAYNgLbyEWJsjGOQ2iDtiIWHOLz2A+LqOQIu7MKw0d7mQyn9nuNE48qmNuGPef9po/YlZstYiPA71hHh6DlvKwGmo4fx6KtDEwl7ElDHPX8VvDU9zclYZJ7jpvTnsltbW/Xuc79tVo7keNcrxQiaHrXtfbOo3tlr0n+rQ3VI1cbwwezJ32Z36QnnzOLq5UEnXDJy1/469QpL8h42UyrrsjI5sgrKXz4Uv5YYth3W/8NS9rfHqJyy/9w1q/fNUdYH/SH87fRT96I7z//ry6b+Cv36v/8fyay8WgtMbynQqOdtUG/IQ/XcM3fvReyZ78ut97UsJ8gocgt0xIe1Hjv72XHJu/esSfHc2C9U52yYo8B//+Othfve03xLOnKVvV91ra+FayMeYv9FEwjnTP/+14+D6lICsHOU5+9avT9Mf3s2f39eP7A/BpfxzrBk72oMK/HZXNv72GTXei6YKHQRe8GLPQ94Jms+cEUS+M7t542p3/dm4cUPMFOk9l9Zz8mW+gsiijrtOX+KlS9//UD6HkRZC1Qj/sgk+Ngczv1pjONV7kb9w+I9DBBehcMD52qy6thNarOT0/+xLU2yBStoP2tiewD8iW3Km65KBBPh4GOlVB/f7sfPQ22PntfK5EYHlNXwSU4cc2gGsK7E1mHXVSj+NnK0sVf/1emftCfS3xsChyGbwj6mS2AjqF1rVg+Blre2K1coJ5Y9VdikJR+49tb3bnxmWrNfaFk2C/7yXYzRvppKB5sLhQ/XZcBqtG6sDxr+FAOS9bZHbpknRWHx/E7vIF12tgr7DsZYQHEjb6ZDVAeQl2GniKBVlInopf2MGGiKKf+WTkW/zBd7OhIdr/Sc3pB1vsB0bMe5CjAZW4TOi/ei2MGZGqfu+8klDaojWfya9aGx9rnRN9OW+8th34K6329nBebDvDxewEZgpT+hfD67utuzV7jxeWEWk+BXcB7FXaHhjTas2cPH0HYcutTqd+bN619SybxGACaBoDP9Kfh+2sxWeHsNHJF+4Oc97jDS/DM2+psfMqdMsYd9atcbQ+LaKos+5ELb+9fvZVcr7Pg8hPlXgwt7MEceQY8UuTVPlyVnKEy9apuHGjGiSH2bah9v3KfpGn12HUF0zTiNW4nuzX6EXy9Mqp2d7ETsjBHyh0cl3Yi+PCVqJiar5rEpUF2oPn8rv/XS8J5uEo8szaEvsBrizxSiPEtsKyR1lTx8oJybm9Bc9l2Ggl1L/nujXtTpTrddHedl8r7k+UXKW3Z3dCVqOhNlV1U3me2uucXZ7lSMn7izYPTBJ8rVfqK09MemO8IsGWGdAjKllIHNdIq5/xx7f4xAE/XH0nWfOjeUeJ/yUx2dB2kTVBtOZSwD7NmnvP+GD2gfxHPGust+qMd1zOKyYi3Gegbpbftf/CGqvPIWUE/lJ5Gj8He51zeM0Hh5L19TdbmPQxI29DVR5N8Ic8j3IRuDtv/IzSW0zTBXnn1iX0DqboXUalasD4go25GoVCwLMujMm7UJUisc1XTsOwKDSEWDvfdIsrjSr3Epi/Dz1TNyQ6Dz2Rp06ozej9oCj3cmwT4cx3xdTg5UTLL28/80Zg0xy7ejp1WkKzs/wVjmJG8uaa7WzHVXqD8R3syixyiR+PjdCO3YpRp2mvwA7RolkSsVho8c5bua3mVNt5gZJatlNxNyQD+DqwL3eDgsxmVy4QU3e7rvmGiu/6EvE3PAXs6/bICItuJB4AyxjWP2OdKtYbgnyt/a5fHGqkxh6pc1sB2vPp3zB84VhGpj0Qe+ATJTVuBOV6A2MlIDc1gvWZAt5PS/Snmo5YkoYgI1BES6egZTQ9ksgiMq2rIL4++kmlPsTwqfJVD2rD5/anPnRaETIAG7/2uRifPontD450fO1z2esJJr4tVc6FkKbVEjV+LvihXYlTovFvXG6wEzoY60ac9y+u6rp/qs45sTp2iDjw+tfnsp6E/vq85qb45mD57XN07vNTK9jOhBZaDW3bvOnsnLrh433sM9U9KIORbu+LozG7btu8RzJzphUcG04Ime+Ydl41tPLxVk5KYzLtKrfyNmKL1H1g3X5WaHR0cw9lO0TAy5FGoi3cpbd3YR013TDOkhD19jmhcPA5eZWN6e4Fn5Vu5rhBRgoPP9PL4/rUbay1RRLo/NJ7e6+eJprBQca7mnW9TSHrbSxM2RmSzzxFO7ODfn2A9fimR5bYegS65tPXOvN2vPYPafL60T9Mvj8X5L//3GffONiIa/3j+D/zp/+lX/lveaqEjmR9sLBGQfsMf9fGq3m/BPBHmvf6s2f/v/is0INmVYQM/mANfPbR1+sXJhRFuyKvz381y2ajqAngQMQ2Qz2W+7//Squ+fv5svOS1ziOS/hefKW00O+R1lfr6mvJ9DKF1fOITp3j2Dp/aaB15Oep60URucc3KmLPAeh1yQlzImnfAzjBOqEt+IZXW9nmKnAhoy88+GItSVuPawV4kjMHTiu8d7KEV3ucZpD/6wsE33AwC47Bt2Lty4YiIjUvbcKpT30AO3sALHJIbTjExFr1hudhHiYbfT/zpMejyzskczQ7nnAknJPzZaPvJGgSLMfKbIDcdxTPvFemco820y2y/CJVLMjV3bGOEe5GOB6rD7bnTPmwPzUSB+6Pk/XgvVesc7YRGuCG0aaet7eC3rwZrkDOhu6z1tfX8rj9zkZfb5FLogt+REvZiGnklGMsykecXxiRglS33a5xxUtqUCO/4VU8LfkHX9j2qHfUGPymlTu2I9HgVskblkjBUNzfqvqaNaXACeeoXi2ja6NCDT6nHySyN7TJ+kzZZoj+5gGuBb8VtpbeqBjYFnzftbMLGlZhT5foeMqVbkXOuO0qHKId9Y4udDeJGR5ytGM2XxrR7qvF4Gmgjov6wJe+BNEpUEnAq7RL7jXkAxN4FSYtxH54yh3s1R9Ibx9EL7TKScWXE/v3uD98NkN/kjZi+MlZc98u3kZcKe6XhvI4HtoFX/ZH3zLqrxWRMPOyb8RqF3dOaemMIvsm4ZNMiY8t1vrOuJTOc5aI4CzfxY9o/IRfvnhynYB36MN7BsaGduOt5QVmN8qStlxa24MyGF3XfIqCJMH87FZ81IWQNtb2bTUCXC22/VrG+Vo+GqZKfF/4pXSvC1sS21SCFzc3OYrPIxdyh0cbW2CjXbLox/YtPc+TAyoif28f3ang3ySwQU61RfuRATegoJ9Q3XwxIbJhXV8knRxDfUpCkpCfkY9oIFL6CVKV+INOcwppYYM/RlBguiQXdlOZI5oHBltd/ccRjvXAwLhONZWmbCftkgM9K6350TeLcwPEE6yMq7M24aePAs5yXF3vvaO69U90IbnQc3qgReidvj/l2jvnfK9gM73Ho5b9qkSVH/ct4YWFz8l2DOpYclPLznQF6E/0OqYffGDNjr3H46a/30xjOsSzC9hgPozu8Ptbt2DVnyTvawz20ZG81Z++69gfvsYn9XHV+VeZTB3SsDWQ+XNbQvr5yqxiLiyJZR1DHMecOxt32TQq/dY/cEXIMsP5kn/7Kv77qnKKsG9n/fh/GOz0aWV2XC9c6fWO4vCWGwB/vDWtQ8Hvq+087Tpa+EVfCCD767w2+Ik93NtrdmaxhmsscSohYBJInvSOxZJCLCX4nfOefuUiNBjnONsOdYfi7UVUcE02fHxr77aFagb+1mhttbd7q6cI5FE8786NkN1x0wevkqU9Lb01JZFIRgc/DwcywdZBhiA2OfZyyRxJlZ6NKZiDnZjCnQrKMBjRKaFYlOdj6IXsWsCbSuWOnst8NzgP5isF1D3vj6usImzau5cbyc6GX6tYkg40FstoK2Oacgc3sF2vQpWuLNF5gu89NP4UbSjIzU5+6L7amz8dmwNZ2Yts6b4aeTjYWLZ/GLILz0o3tJ+CjRzvajnJRpZ6VqWtNCEfzYR76oIYztIbTOcs8rmc8tVN1Y4nBygrSk+WXk8yHc/xmfY41WFsc9McrTS0OvpVAmW5Lv5AIrktDVWLMs7pWAPyUBep9Uq93DbckuMaxaT/NtRzzeHaj8OwHUXvaaCr9CDQIHRF237SfjVLp68tDLJ/dov+yo+17QUqUkc2xQQZjfat2YSxdirjt8Fx0Ht2cTCzgtyTxi2y/XpsBX5hgrZu0SWV/J+o88TX+HHHx6/uFZxT7Yk18AY6YZgUvngfNW+6wO+MViVxdLcBB21FhM00MRiZRE0MDe0Fwl3F1znwxMXk6m/q3s+vfhl6hFtaLnFiF+btSgG3As2a5p+BY47UYFWP4rqNJyoTZP77DKiJmrz275CmF/Zs8jdywPBvEk/Ou7l39NHXJuYjj74GzICmt4H14+KuMrfGDv/WbK+Us2rPMJnGJuBEF4kaAWinIUfJWcYk3LfG/quRgaPVrWmOB+rK3GtYt+JIG2K2yzuDD9dz5UYc4+8XXmFp1LUfU+i3W8v4hGwTzwWf2iEActuSXPbyLQK+mJ/BtO1JOoax+g/wIPOq96r6P+p6iN/lrbk3GyVjXoc0B89nQ0rg5YCQ0dKUbtf3pvDV0R2G54RGjXMs7lh+tDL+Z2Lu8O9LLfLSLbFaVM4+mlxFL3xxsQifIq+l78HBfSeGy82mRFxc6XdOT0mfK5dQwpv0G3bGl83zdl+fFZQm+BjlTa3Y4WPu7pq474/e6L2jWoudQV1XweB0SGOMxKFXZb1Bu1XGzqQ1hNM17ubLKZnMxd9z5tvd29uMFiTqFq5WRltkTRqPVSIs6ruadGWmaIBsi81UWXG+ewyCm3p7qTt6MFgvnoKxSTX9lSV6YnqclWuXgvS0uGjFm6kRvXESuzvaZO4HvgUk6Gb3Dxk2NNGd68yasO5mQsInbOmhi/5xPmuyjlP0sJVpXR4yzhVi266lEFXoX8QrBDsyx3j3BXNTbO5EQnynoG9A7jp+2jDeXOhWedxOxh+o6Ial3Yd55J+SiGfN071QR2NaeBfPhzSr2Bl1DDaJirynoEO9EEXPFTzuIbwLvfa+S+gp1GzV+6AnQ7XCuB9/rdWSM9W1L/jxLYLzv+zPs5TzJP9DDqCOxnoC+UviudE+rbzstZkGtG6V+8yOckzFi7MKxGN/t4PVw3aDu/PA1wTxPY3mfJEF8Qay1rTF4/WjPZJ+oxKvcEB/06Ju3R8KrP/NTmUfAPmMcP/kbMZ5RMfq1VmU/1Ad/dII55hfaREnbQl6Jmp/2jXiHjkg+9Qs35BncyZphjljaYGfD78RaQ7hGH7535wiVffCUO2ivelXaWrfyO7grrn+ZTPaCDZN+s4gN7wxjeYkO7Ko8CrkFn20xmpYzflC784Ivsupgrk36ABk/JmcxYn6ZOJU4a/MujxTEDfVBog/vyr2zaC920YHMozDcqpq+Hq+qvAMqJEx9rlm8cImfzrl2iDU/V82Nt7tf+eLhb7t+sLuZujXca7drlS3PYd7sUEV0wrl4W1cYB1iz1nvvG83wMt6PGkVpzMfvMAQ7cHsVqCRsf+I3ium0eTdpsmA5S+w8psc96SmP28LwC59L3pByzvIFOYasRzIraTub6DDt37kYdRanLvh5MFt3dtO1nY6jwcgF06fJ6HAbsIUT3A5mGBVinuSTvBHNrQszi2QRqKYxLdOLXg08xpOVQ1tpMmvtUzGeraZtM2wOqvF7MVnd84EdRYUVNukgaw6cY/lUnlbUGofRVC+prvTBnjLVx7QTgU0c6Rzskfi+nAk2ncWnwYSw6SRknfGz43fD9TR8p9p53xyOdupzBPpYPyRzxJUhsG+yL+hmV95GWgk2TzID6+c2Gnk0e+N52+EM9hmfvwlive1v/RlvHZOS23ElkkaVFhoHhyVM7rYf7wkfbMhSJC7JHdtXW+D7Tg1RWInsqewM17qg+lvA70y0y7ZfEa4M10bSM32CUOi58yq68NohPDnox2g/ycAcR5yOV7SpP4OHA6aL8hyNXu9ykCVFH/WklrE1A/ndQm5Srg0+1HejOv+ff9X/ziU+gMA4j0oyjvjlKnlw3an7jX7US2cJruE9reMCiGNr/PXzD7Y2chBKvG3Zv7Ov64uo77VrPO70Z51ke4w4W/qN1jEh/Fz2kkqMbrlOfVlzgLnCDnt9YXqnOs1k/hD9Vc2rOZsM9k5qHO/Xb7WXHVkbi9+BeEna5/zqgwleIv+0Z8H4f/KRf9Kvo7P3itY2yDFLi3QWlDebgt8PdrGZCTp/e7kV8Jfjl4fGJRtPLyQkOaMaWXgGQVzoMmA00eMjyPsgl/t14a3AMD34YZFOqc30KApJats0ao5ou7hR3xhRLk4jbgQ67lMGdJs3G6eKa7AebXqwwci2kWeWG7BeYD61XNyflxNSnY3AjI0JrBXG+dj3p2s9Kkafe9JYOeoGPLogdhcRt9DVuJXmf7VjnbYTMgG/FzwscbGEcdVKHl/gd9q0PHgvczJ5R6FyFKaWjR8aKXRytHagB01tx4oVy/t+Bs4FyTlyK2n8kh4y4lDuvDIJ7tl0Yfap39cQreZ/ugbxCTgX5o1wdaQciUaR49j39gbeU5XSjnL7+PXRJ9b1iZf/tAfJgHgClLqRIh3kDUnjdqW2qud57f9JP1WA/bWv7cBPP8kvm6/85oWOsTfF+bL5kPPo5bX00ntLX07u+/Sa8Kj1wQQ9oS6TvG6Z97Er0w9vp+fD8TWez8/YaChr+2pbs65dOX04zsBX/Q98e/tmzF4M/J1mOuFmeyWSl6ecbjznua0lPZ45epQ3Hx4zdKcalFZsb1kOgxySNwnSMLFZMMpYY6QtHFsbCF0r6I4PxvDa1YrJzNwLPuouZ+So3l1Q52O+Y4cdxw7VobIrH3ynPriYlJ7ubBJzoIzb58OkIl3/dYuMcq6SP8RhNlF0sMuTsA6LXS+8U5M3Z3pWZCDFj04T7hn8DqMi4As6lRtEoHfHz6yKX5q5XcUa32idxPJu0WJXesLa7xtYF2cpvSdZbzebfd6caMpwUx3n2jujJPW10a6rjZT+NQ2HoMpcMtXTYlENQvYCVXG1+kT3vVDnhtzWpRgTzP8OBNZQ3TBOrsg8XiZx3bIasy01vP2HY06Tdgg1hKwJljw7yJ8Ez6lBYTGzr36Gur97I/PGWCOUJcN+VDaVXJu1nAgRtsHzuce2mTKvFFR7wozNbnZM4PW1CL2Dk0yD7eUphIrFmNuR2iJL2zVLoV2nvfQF9788L+PlZSDi8MYZO5xoTuDzU/eCeAxHfL3LbM2+zJ3JZVA8EpivKau47NE3qBeIuEmXcD2JLiLzzaBryfYl880lmSEOdYi1Ovpvv/0NtrDE4sM4FSPs5zh17CDRx5VNDezzKJnpyPoq5LRPWlPBsbe18yOPY8n8YJjMEKxo0orEonkaDsvx3b3OjPnisPRA3IZ62ODOKjpwMybP2XE6GwxJNI40wtzGCH9nJl8/MpDkBzF0GpeGpmd8QrLBcx/RQhSrm0ZjmKs8mKW0V47UmRUpybF8K4Xe4F9jWZhgJ9JMOZfsYv67sazl0wdvP/mtvqcjcRo07HH60oHfPBUH9s1TIfMhkqfC8b95QLB28osnI0MZYWM9+qcu6Le83uurpsbLMK4vdZzkHQD9J8j/yBnx1/fKBjwinVjas69roFdXlT1JjK6meFSbH+vjSBibelMt4CcXoRiaYJdP2AWnj6wxGdb12Or/8n76WHPEHzvG8ntZFW7mcUj6or4fUC9jnR/OlS1DAd/17nWS1JZyHuubMRYKaxDxqi3hIYYdjrPkWPlpl/yoOdJsomqMqpqtw1ZTqayd18CIykiAoIjU6jppJ+++t/078fWRfRifIpCT60zTA/tV3dUu25PcXJeJq0z/+3pxknbvXq5eMZ/+HsAzJPnKjcR95YPnsLtV9647r0Jy8ZFziXtXvKbyfNfX/PR5K9ftnzlpf693nxBT4gI1f8WWazxTWteE7770zjdXA/3UjL9lfzfOReQC0z8xVZRznGhs96mfl3ibOMdqbjCZk/3JyQ3qubrO98Nesm9dk5kmYm43g9PDC8okpK3B0yJR89TqZbck3GXxxoZzR4TnxlpENtgUKvVzYennhO915E1Pf/St5zd+WyKxF+G2u3g+jNMU+b3PPcnvTYwE7HOtMat609nrCFK4l6Wpv+pVO69Ee429+GGnXM9Nqp3vFqeeSkUJttlzeMwE+HMF1YJ0uM5V6oBx8esZLMFQs0ceB1XID+HsdJ2A2UPBF0nfp2tjRr7S+b/qHe2yTvIj3yT2thnI57izn4gJ6GL+o8KYdIr2cXMqsTEGWD/hgN6mBl+wp9HPlqRwm1iHeTwNz0HUeoGfyW1yIIf7WRPXAOtEl+PhWvEimDL6EDkrntN+Z74eFvgZnOsut23QLJi210fjINJmbazNhHPFuVDjfo+DO1JOO6T8vv9VQ9bfEnL+1D2jXiN1zavEhcKclez7h8mG/U3a2Fd1T9aZcPDzFufRttfMZkZ3e41TclL7yqg4ZS0wcaf9VqvzaKTvwvJ10dBf+cSMDHcBNiMxWv+Hui/bWpXXtn0gLkDF6jKBUClIKFS8U9SgqFiDPv3JCPgV859r7712cXFma04+agjJqDJG76bf2g93nfvqMZfQFDm693y2I7OcBcO5NDTau7eVGO4u3Tmxs568qP+P/DVNQasS8B8H6FQ2vMaRLYn6wujDQWeLscBlpSb6fMWX9Tr+rJMq3o0Fdr4tuOWB+7WunWu4MGkqZI8DtYtijAl8p30TuxAcynUuENy/iYs0cUTQiQ3v+Kf2g3giV45+1Xfw8cbPSZFE0T3WktTa3fbcqOZ+qpLHmsq30Y0RpCdTc69WVh5j40ydrNyMXu5uVKmpc0D37+OVBz9+zX3coj7+X1yjOQ7ulRoizQOLXgBLgmnq3wCUuhVWbmpnZeQcCgHW7cW3yNLslLwWSwQg2Pp0TKpyZ2H3OCsA49tEFr4lZpVMCHYXZlauzSCPCFJnZsVWFi5XJr7xZ4VjSky5C9scl5rZ57h8aWFlYQYQ90/g+NTCxcKsViInpfS7AkMNUsjlHJeowl6s3FoWFzg2HvScM7f9pt7YC5SbqaHtZLeMI9KKwne8HmPGrHdxPHzl0zd46xT8a5QZ/Du6FcQ8CeDb2MiHIxIYT10G3Y6rMcz0HuAqywK+wUFyKuRBw4++Qo19RWuiF+DLE7Vaou7IrcCWsi1u5weAHcMHomYfr1J30Qk+dUTK6qbjeXY7+wpSqJG92ciU193bxv3WAzLV1vJjekEXW0cu1z3lP95n++N9hA3BbdmPTDoB7rdVEoH9VPvJDHGPC0KkJ2KdhlnJ5dDjJCUu0kIKf+dYsXJKghjfSjWENpEKRFS/63E7h262bYvLqLN85M2Q56PP8U5l16ZnnQ9NuP/GhD4XdUcp+ap3hbH1EmPrC5sbahYw/8GcM/rUBGeqWftTgufZrDmj6zw0W9TKCjyKep6bliMtUxVHi3Gwnkwn7cMk0u2utSdjW78nG8Nh1+NqeloZwQTfY71SMJP7ci7P7GnXspbTDV1A/fWr6JlHzYnn7tFvOfMZKbiBM3mulO7URcQ1MpWwoEgNpagC5iE+9tej4OZph2eV38jBOwzpVpFMyzDOMy173o4a67e4f7VgOweZyYkRnB9Po0OrPPpHJ89Ok9C7ZdzoLQa8P8/H0f0ccMd7daGEt9lFq253PHMrg5Ip/Yc9gOfITGt7gMsv500/c/ow9wv4IcI3buylhvcTbKmkqcmMhQyEenZU+8cdp/zKw2o3MtMCO4tUf4u3zJLezs1HKCdoT3IvI/xbe2unLLIg8ugWcct2Rtcj3V6hqdtP4mQ+CddGpOJosVpcUBmsr8d2bx7Qsa+dX7P5JDmDENFU266Ss6OnaqSdr0dz90cdSo67oxb3dZSDhWxPK+18XA58h6RtLVPitIUsYuLEosy3tHyJo7OZa9J0cVrb7lxTF9x4v5+Mh1ll95jsHuvZsVh20un8fV5NYnoy1ZvW3f683/H8I9XfruurBpDP9oYNgkeZ28Finp/rG0cXc/lZXQMB+Xoq90ER6JUMdCrh9im0H/8ehBnm6LnWmjpLqIks9HjKt8320va0Ge86KWbH3XB3N7it2Na4LNA+diljLgL7CWV7UUsZJ5ehMm6PxPn1NZfyM5Lefl+ZHcwRWm7/qGmE69wa+6YuQMUCAwxBPWoiYnbiOW2qg74EzAdKP3WnYDPGFqufC5U/nuupiOfC4/E/ngtt1RrXCJ5h+7GxH/98dlbrfySwMqG9BU5ZUgdD+T+BDzjAddwFCV/AebtHp4whP3dmlJSKfZXgKRH9HdVxIYGWzz9izTFfCptNcCjD9jpPQfAlQB+f2mG6b3IJRA48jC30vErVju3NcYVDOxw87eB9G016ZJ/jlBIm7/B+GcQGXr2Ir7cfelnM9Crek0t3/YSJzugtSdveRH4e/CC3pFNlZ1WwHVzGJ0mixHrMncNu0+S7JwjfWvPNp5bNDijWWvfDA2DIdnrf6vNrjV9BvxXLB66PM3Mzrfg9nngvyThVdHZbcy9ky4pwgLYnaf/sdxHddJOlIidP9WpeohSw5FJu53j99OhpyzpHNHtLqah5/IXHajX9/lrzN33HwJwf+X5IyBwi+HVwVucDov0nR5D7bbxPQV7rV+1V+IPfA+axKldCIeRwJnNSJZiROscOkyb3L2vZOHTnslnM7XLK/042WEs2ziNNDb+N6hTUETKQeRPnyorIC2T4cNJWBJulMUPBo9Jm+RzR+x/5f7bL23xuBcpcLhAfgKq22tXQr/L0OTwnqBVy+4PZzRI5q9Qc4Crvtn29akdPtbdo6qN2MJ62DLrso8ZzRR8ZWvcnBrkj5DMHnTk7bjswChxf8zpHX8QCZlgXtd5Y1NkIDAnAWeL9VUs/cf0+xGS8piYOYeB5T4z7287lmNsheztHVzVHlM1lrajX1SqR75f7bduPrlWqt3aU9/posDYYdnptMrh0CzR3X47tBmz4lt69bVs+3vfPEI4LCUn8FEVmMaTmNOmXucvG+2DvvoO9N5se6Mt+0de+t3vK97D6Xs9OV5ngjEuV6XR2km/ympVk1I7s3H470+kyxe66rcvP1cJlAs91DPgjQ1rj1egif7pEa6qBfALeh1BwozV4jGNoI+wKvA1Uzy3ogLUh5i8iyvWd22z75PAkAeB5f7hCwCe2GO24e5FrMMeNDwyxBoOmphEmENedGd/2fMf48JE0cQn8pgIPvslB0Bo9GvHjJBzV9diorv3Wah89PSI26aan2cHZ8/GJVd0JbXe086X3YhDYaDDYxLeSVIG/UOlOz1Kmh0mXcj3ndtXFRD6u1e4jAUyKid930lfs6tqdTFtZaAXIMjHyMa6IH2I0C2Odm6WOphEtjhbhJSSKRhRVx+2nFd7a6WG6saxiaIXHfZz39JIlGt6pZ/ru+k68Dk/vlu+w7ubyfCWrjjZts9CUr2yKUk+f+FUZI3YxKW/HcmIkz+5CYzGeD8u97Mf5uSiXepZNbAPvqL6STmEu58vwws0cbfTGLtmTllbGG3tPU1Jy2ydzIweXSyNjjx2Jt2mlujqyR29mW/p+6pwMsrNj5C4xce17d+G1pwMzLzb+qfBR2j3H5nz4qIhJrOEjn03tJD/c5Dzx/UN3TZ2VJI+7jxGX1zr9xEu/7WmToTbE9+Yg/iJ3UmP/fmpy0n2dj5588voO7p820+uL3ySufVIx5wY+J3DWMPA5v/oV2LFVQuwQCe50n5FI1GBVlq9fjlpxPfb2Tljo6c3wI7frc1vd26236L6a6Jfdj/0l8fd2vT9MK6807tZLMfWq1KbP9lpOhlMc5AHeKRtrp5gkS80xMi0UuFpySA0TE2Oc9blfgDTi9Fo9d6/1ej1GyaK7jrhKfYXj03VevNzx9QoUOKdDyyWZ7pBX+z1gQ24AhGg/kDEaeJr+tpS1bvmUTXQWZzYhRGeq47uJ/pKLGvO6NjdEGCUR+ZYK8Mc0dWlfXOGgM4Kvmt2vXFQVw3Fi/Hxtv9V16SHwK8df+Bb8hUL9AnFHXMrP5m+Ida41q2vHmNnzPJPVUtTcXQS3Nk1HzXFsQuWsOX6Ly8J/NNy+U74cGV1kOLIjrsO3+fU+bvsUFtLTL7wK+huvQlcBRm7fxDn/UWeJv/iQ02+uY5gT/XEMcCKLedvv2CfER2HfwfuZi9+c18Sl/z4PFQxWplskfNAmr4yt5GyBPd6MFpcZbD/FRpRyH/2w4YJw6mVJapoE/P2OQR2P7ueSpE81Y59Orbcke7Ej7Uy9r5iavQNgd75E18WLn5ualp0A963Er+npAfa2xcx4JOK+3SyZdTOuY/H+aJyWS4+bTt62ezSCmTLKiXbaPmli7+wE0RKW3/53XR/P+5ED+LV8GGdmyS3tEGq08r/jY3V9qX32zyjaSk+/a8vXEvOxIqPj5bJ+cpv/wpf8W64vBS75eJWdlAgixqjQzr/2Xy61o5v+4C/DHjJiQDEtkKmglGEV+MYzpDnIIegAecMjCL5pJzQq0LXUVDS+oSfTMXIF7jPk2OgiX/ezFPFcAnyq2Ve+Wlnz1H4t92nE5QvE76IvOfUSmLzZFwZt5dYYt7Ck0EYutiOo6xAxwIj7ioHgQwnJ3An5/Rjheiy17Heqi3mvys1QlBgub18SpDP0Ih3gTHffsWVkJK7vkQZeReaAIcq7D+ThHuwynhs015wwDTBN38CpMS7FvIbu7FKH+/o6ebkRt0FlLouETtVKMvcYNzizyENVHpfUzUycU/mEAg9bUhqQpfGySRnQBRqosRnc4oqPFYXSnVEVIUpK6mUI7zNbHPeu+Jfo3yJzW55QMpcuhSxdmFGQ3XUwK4mmIGnwKBWKLtznGqva6NkviFZq15IQisnGeL6ltj7A6wpj+RBjbnIMUm7KTZ+9MYa5loWD5NtjXS4nBea296XqLVB42nbKyHuWib6u9GE+nEutkrdZuB9uVIa7u/MUhfNHhlxssH2C6V4KS9KWXW1f9CZ7rCsl2+19bhtcuZlooIJMrTKSTih3DDwg8mVgazjdkYzGhkYSLn9xVNKtwfejGTWsivLjKZ7BlHxIfTS7jTTMMiOIp0ZIuFH9lo6MZAZTJnwMEEt+e2g2lk4Z0i1EHY3NpSNaWWj61DRk45KbTsS/8345JVE7x9qz71G/Ry3En/mSE700dvKVe93UUCkz8PneHt4o0z3INQ6Qd6PE0+S+c6Kk1/dUW35moxe1XXVCrsCfyFX+W1c7UtdTbijZ99GJm+9B7HGPB2/4O8h7S3pQq92R+0fZPkldSlaq5Jlolo94m/vQrifD1uv4yEAgS4BrLvCBcK03fuaMQH/8UVvL/ZZJh5WAnat1mPxWWD8lCv+646eajnOMx9RLWH+AF8+zlo17UqaFClrmgq9bzugDuBtrvlKX33c6RDW06wZpQi5x+0L07RDscxxw25ILMN7/Q74vRFoM/iriNqsheIPeCfIAw5VNjvLNl+xTGr8p/1KGjRdGy5JPz2E1G679E9K8Z2+flnbAPeBCf/ZTOcedRen75bJnHdsKDm/lNCbEWJ5OkrXt49l0S9HM8na5sUy3HSyf7vaMmRraX/s+MnKUBe25uVblfV9ql2rs5kZsDPh12r0kGwGHtVvna/AHH4p55Vujt8W8077JGxI5u+SdgM8MvHygoxqbvN6P6hg94NECpuFnGxbbstRaLB769sat4XMYqzfLZlZpHLkaRY/j8vjIMXr2K5b21tvR01Cd5Ux1Z9eteejejOvoOnq/vOEkPnq9srCcgTKfB+fle4StfV/TD6uDE6wmNFK37fNF6nFbmvrDqOAm/LPUR69yvzLLHVJv5NC9a7Lhvt3j4gqxCDEf0Yt5B5uuGj9Y4OpAPOKv87u7/+H88C7+6q8iVvGVq5zkX3zRUMO1LjeGocRWpsbzgG7kB90YZizWF7B+L//DdZzsb+fnLT8/KmlJL9yjWUzGlFyei/kgL3vWdRRrnSDeWNl8aFeUL6lGxDIa9gOxjq9iGUlxvR8vs3r9AMvL8tifvI5rN37Zu3VVxJNO7+wPDrGt2msRRziBPvdZ8sETcaDukdAal96ioEJjNAIcP50gj6Iu0hVI6zcAZyOiOAC9O6N4jUwCVGZXZA5QWuIOsm5oW2rcZc7RnmoBcmJ0pNoBebHIDBGYdEG9BK4hAnwpQTq131xvhW7L+LHuAc/gO51zPQcchGId8LDxewAYA4ArUK9Djus7zuB8OxD8K/9yHXJovcidetV/fJxR55tPMfC20LTlVrH1x/rhR44fxFMw+Cce/A05UC9X5EAJ/HHA2qnnp+p5sbfLfWcYm9wvYfpA8hUuaN69FxpN0cXvvQxycML485P1du5b5fCsV6q/pIOt3mY+1wn+cp6d9fahu6TD88bk69sK4koxd02m/BeLv3+uPx+qM5/s/rpfxhPuy/6473y4s031YZvavb+V2mE6CPTylJpkiaqhPq+UzkRzOzEZdEYhm9p57oOf7aB8o2fFTMdKh7enifwLlS8qjrnKOj2rnXwvjJF7cuT74p12g98/dbAbv8jE3qk7fWc/bKZk4529G+/Ic863jQ/8cXbd9RjmNDzCHWv6j598qfz09c/tqTLI/3E/+L24Hiqa9yyNoaPlDqbATUbe/qsYGbtyO94NuIq+xUbATO6P9rgdpmsl8FQU8zH9np9KS/BnlRq/WSv+Fq+bNrW9/4ztZzXOS5NTrs+7Mjud+4wLwI3qSFtu2DL/1VHbmiL7LwVfXxVCTwdxn/I5jgZ4N9G2J0nbiN8JVydGVela3nxIkIipWBZLAsuv+PMI/G8P9CVewn/4KwbG2/f1i99cQh+7FkpWXjVfQ50r8pOD4SvvtVmv53qbGvMPb0cbLxKMnShsn7vT4+n8Wprr18bJouPNp6d2lExpzCxuiBlRdZCfUznbgN/8nGy82SZPZuZ5ej5mibG1jimX54Og1R30lm/lpaHB1Iwe5fwqS1jP9Uf6NvJzJ/BalZrZU3WubzrHRbsXvhViBe5Uz1iLO1tKq1h5KMDzXW9T7Frr/mIqcf2ixiRX49MQHcZaPNUrd0WVU/+5i9d6+YlfLIWOMgWP1A1NG7xTrmtadQ2LgpsaF8ihF3Xc3A5/1xzqAhPrhb/55oW/iMt4A7ElLPrElz+lAFci+o6T83avY5bYRUezQCKOLGLWn7+fneOnXvtTy/16oYUklZjfI0FdVmPAIbR0suSArpb7iXkTnPtaCZwjYcW36cD5xEQ99QX9/FuO/qzl9gH/IHGo18OVkmgZKgVfVFZMXIUSBLj4WuKRbDBzgMcc/fDXhfkG+HkD5NR8d6IOSAfsTNGWcSD4ajM65z4U5CejOoYt8I+/2lPMm7HUsCBXB7AbsuSHTle57+n+mF9QiSHm1WJ4ryh/JYpzdsG34/4RioBDGfnt6H+zHUnX5vpP1KZL7a4t+JrlEkWEv48cOv8L7bmVZXkgaEHq+pwYJtLdBo8Ijok07t853L/UqJ1x31O3hX9KDjBPCXmH3PcVXEWAfWpHY67AZamFrDOadoZBcXLl51VSkT+E7c/tW0OXqys/VG1VGkv5oUsSMxYoQROUAWaF3SNPAHC3J3xbaNMQ2dRF8izVjlsujEpukie6xPz3CZ2P9d/clVg8VUR2g4C3a2zwj0HCQYhgwAHOIn8/LCng/3M/P62L0es5d8sBrmKou66x6Kx6Tv5fb+M2RY1fF6WfvCG4zt+2HcR5EbdDmmMIdUX+qsBYj8BuEByAMO9roer3NTD37f+zZ2m2YSMUHHRgk1ikchWi4mXcckMvc6IY1lse10404tt4H/X+sm2CZof/7JjPNr83Dr7uIbZTz+ZytVexT86KrVXcxgyU7Md5/84zlUZNvWXrfKC70edeYn8ljo3+uv5fOa6T18cduPxscTM2jPEkK4bcq8cjFUoldakVFSM/uErVs78i/B3Esf+Va5d0+cWhhz7+pqhMF34ZBn41C3KlSATfjZQDLDDW65z4j38GHLZNLkAO+VJ6XSfiwt92g/WDf/DJA8bEyRVzGulHd3ZqjFm7wTYHnjvwRRLLLdMNlwooMTWBR8NMMduqaYeFmdA0xW3DnLKiIQO8wU/XUexpFQmNUsnHmTvS6c3VSmVEXmquB2kI2MuYltzG4deBetPlKNxsX7PNwnassBt40+vMYGNNyQzD0dDNOpaDFVZvthYYZD3WcPWcxfvhYpTxJrJxjZFD+PPtbYIYixBw1CCbEJbruEyJTdlSw9SCIlYzdHeAa2tXOcGotAzE92mE8ON0bfvab5LLaBO1XrtZNwO4C4rKeKSz7mjfo6NdLPm7+JLr6mUSsSKO5cyeS2xf1vaZxMC2EySXKcysAs6HzgTeDWA9i1yMZg5wL2LdkIjU1LrXcWPa1PjYXPe6J2Hb8O8ntgmZ8RUbhjjzXGCAUYiPp5nAuKxcMWdFcFJw2fr3+XK0H+ok1B7tTdYPkBspQysx1YPJZV7wc86ad1DTerRoo4ujYrEfY0VDljftZOoRU3o0ff6FyILrxPtB6KSr92ZdzX8993HaR3P5luwNbAf5a3DLxq8B5mNU48tML4dXNhgZbDC1q9FjTi1l0ZfsCKXj7gg/K2V9jSehZr42eQdxWTe3Ma5u99UO5rFvLytYonGgzq2sOnMNDDbJ0rmUslldF/L2EayqAePtNdVXYi59gOhuYPr9gfGmE61SMDYkLWvyP2SB8zhngHcZlXgu8q4Qtys1geEg8JthTpC34QSjdIN1G8ZPjeVccyHw8dHMafzC2XN/x6mzLzvMYNbTG277vWHa6tNToAaAcYzirbk/s0nIfETdMilGcmsscSuX9y06KCYz1DOzgYG1chl0MoU+e8jJzl9YufCdwjc3TfTpOLEnPaZOen47HlrVYLiIBlX0TvY63CODexUrE6cUo9vWrlSo3cutsiTcXp2bZUHGuFhaZeza74WPFN6tAYO3+Mpf4LaHyd3t+xgtd+I+7Ct/La3n25o6DZsK7l/IWwNMshPkDXjVDTDMRH0YqVLA17fskLclhbnZG9gFIs/ADj++r6oZb5GzOuNjC7s0HnGjaZgHtkKebYgU4DRI9jheSvw+MyO0zXzPQrRbn+Ri+NQ0NxrTB664/BtrtrH2u4uF3Gd+YTxj7rfFpoR9blMAoSu3W4i8ZCFhzhJl9sqgZCHP4pi3WYw209IuzVu+eK4J4NaGJylmo4eBi5WxVctj10ol7e5Qfk1K8qsE/espt2G+m8tzH+x3t8YHRFhw+H6N4594m/ufmO68LTTIfeXym5AdpSJIhyBzU5fa6xP7hc3+aLATndWb0XK8k0zjwsjl+uQ3bfJB5OdJ2vPu1dn2ujAeaiz28e/rMELISMXk/DC7Z9sn3bHUy8ZNnkl9HfQnnnEpoFC/cKQ/GNr1XAQfS5B3rNfxwTrPR8x9vT/vwzWKUfI+1jyPxE7d1XE4v7QW99Ws+5yu00eK5n1uEtd1CYvSeCG6bXJuckNgSn9qHuhKYov3eL2erWatx6q1uU6PrbuE5mr9fs/LH+3xMx88FPEqH+JQMJ+XgY2PLMGrC/N2Yoz/wF39xSEbH1FTYwR5mQKPtVIhPviR2xYWE9Iiok3Ruxfctv1Fe9bg8uK6rqPGxe+yNt93W5gHv0wiEsdTTXujvotuGlaGJHBNX27nQi7K/a5c8LahEQn9/vU87EiPYEfqtnQ+GMT1uxc04SJgfeZ9LjS5hsa3eFmMtGVGV2Rs9b9krbim+um/tT1CbBRCW33FE+LgR7+1RB4EEjXnYj4T2ujnfOh37ctN8K2DXEW6kK0doefod9vwRcj1I+M6pflmXUm+nxaftvn9btp0oNou94bYq7NKZ75k8j40zP7oIyo/F3wiVVyjZ8rdviPGAXcYxD2Ov79DhrUHCszVG5GrUXa14Mn7z/PO/tl37B94bvgKfFqQv/lVu/+jDbDArPj3+hPM2emCF0bw8p2MH+Pro1u+2hu42L95Y9s2/kvb0n+nbfWFfD9Inhk7JitKbmQ5y9mgPg90QVi3WTY7z7SgGLmowNq06J6YGZ6e/1vfgeFg2HFO++mT398eI7bSTl6ZMVGrhO0vueFc54zfnxuUZnneTyz+Xvw6Uhtxv+f7GRA3S4YCb6wwuWBWBQ5XiUNkDIS9Btyw5F9+n/9MVicIcDW5XTbj1wLeS5MgwDmqbW3+LUDeYeAT4DouQJFYBxte1NsZbCXptvU+fGR50wYy+6uMD1C49d6Xx/V9U7AjvyJBo2N5p+P5fEr7tR2Hnkdn3dk4KNe6og1Wh/eie1kuSv95lPuPa6ZLcnOf+pv02Wf54erAYiyM+E2Bi3f6Tqs4ku/+8FW4eGVPdMBKG+6PB/WhnSbbRh5te7y3UT9SBr78hMTxRra8jyd1MjoAtib25a78yK1avnDRBLzeZvkfjB+BJw/1LbnzUvVGN0Je9Ne3+LtsSj/HtKC2t85T52MlFFgy4AMhr86rRvBNBDZWM1YtwO2rMY2Xzqf2Li9lI5OlwXUbyhdPX6+1KEbM2T1G1vp+X8hqUuuin+fsb7v7eSxDv+XfkxT3gv+uA+b1Dtx+nLze83UmvpmPHvyZO5dYB2wBb62Q5M8x05IfbLzi361Yt68Dc9HzN2t1eznQwYTmK6n5bkfz2a/HcbGSw8PASWWQYT1maMlCuqSxk516595+YFTKRmFEdua7kMu1AS65/b+E7eVWefYxbBf+Kf+SXB/Yon6HQFkh93NM9l/5XtDf/33d8K5xf2oZ9hlPtc/ExxSt8cfIS8i2l20BZ7vBlui3XBhLkT6Y2X6/c19LvXVy/60TP/LGeXa3QbpAtN1Tx5fwejtuxHeE3Gdb4LBi3D+0Fgs+duazLnofP+Op3kbn7M82n0s9dOd2lvlyBhGT/pVODvj33hXXG9YrZbc1jVpuSRsdzV46k3sxmsnC/posU1yO0q5sf2Ra2j3LXXR+51/5V998QzdERb7bhxekycGiKXAg+MD3DPGhhk9mN2Z2U6ORdn7Vub3+U3ttuke5M2b5UiuqyfbwZXNxG27aenWryfWz//Keys+baG959kOP8nfD4Fc8G84EPuZaRTkyWf7QKB+e3X/ac9Hla/+tFdRjTCr+lPXwb8zlfb8CWEm+0hVT9yDnMbdXGK1z+DLulwC+zrc8b+EvrgnBGyH4J3QRuxzgX/qb2t82XaEvULh5yPflJduYY6184UF3Wb/TBadaVkA7OK/MVcigcLRQ5Xr1nBb1uGYS/aUr9S3eS491+yQ/LiEppbBbLFdcDj/IR1depil3Nx6ge1+BG72g1odfU5u+Ds236bM/bTreHgOQvRD+ZN/tAdjpIlYYim+f/RqffAxD3SgS8zRpG/K4AbPvKx4RQnxD4Oe9jPKHrdFWgLd9CZwYY1qMHtv+sn6uETH9Xrez3Eq9sx3p3fExO98wuag0a3QRCpddjRV3OFdS0K++go5K5GFfarNiNOYCT1t9fCGwV47ck7n8aP9Vs0/rfp5Dnih/9pNf9r/A4xX4FMj66c84DAn+J/BJf4wFwnxuxzd9EOx28Fl6d95fZcX6baN/fK92WvdzJzeRYXXm82a8zIev8s/vVfOb8/4L6YeWyE+DvvZ1f6itBu5OiFXYG65z0Vc7CVvVtL6e5zN+SvOP57Jbv/bDs5T11Ml3PTdMRJJv/qCAvAF7A+SC19RsWYC1GLnBD5xR4/JyX+7OlzZpuumGQ7LZD9+7kW+/fCWz3/yscob4/t5l577QwS8OOjc/0oFTOKNrz2/f3Z1rTHeiUvnzPEatf0qRB+QLzlhac2jV3JUTXGPZwLOF37nbH65GUV9NmvxuJLBuvvLyVD1Uw1t13GxQoF2cg9O+mmuSZcrIQbeNsSteDlUd/XVf4hcuYr3FB84ZeS1VdoOb1+7rtvykCyvINwazfVcZXA02ua7G0mSph4Z8wewxumBuLKhO170mr3sYRrahnZXtfBLjWdbFS2MSxlFXk/aqHL+d2dKanse9DpafHWts2OWozNMZc/34eL/X8g3yd4Y9yEfNGOCbqiiGT6XbDUZeWuc7v0RefMcTGJc1n5jgnQP7tsY5mTe577rAL/3UQAEX0TudkZ8cMIDzWef2hR7zXfOSGygjdLUbdLPZiHuiDCMlTSyUJLhyfQ2xV0DjXaBnWx0VfmrJZyAXu0xOUm+Z5Rsiv047G7uMzF+nTH09++djOrnIB8leWfsR2juJRuORHd5OXqTe8xO+TstsRatE1/nz77jfGdLC0siB227IkvPh17UXo/15O3gcenGrwLOFuLZ860u99KzOiwQfVuPoSPl9WdPFRU3MrIm/1zjv9fxrCvj9EOfowFwMCUmLt8Y3Zswf62T/Ay+75uDgLQR1xhBA1wcCmx0h0wYsDP6TMibyUvEOAabI98/ZQ8EsEgWzfi5w25mtD48GUif8xx0eJC/qa0yQ3Zy3H9oCPx6w4n8tf+Z7GUKeaDeBI8I3HImeAPoB/vYp3ewXJ1r4jV9BPpwzWYwFRngQ/5hLjsGO2EAelFfbcCK/HrVkqXxYGYr6WQ2FBbBHHQmgaQBWUr408DQzFOkp/1tWWKRTLmGDk+wsujm3IW19YS4iJTKINL+d176BJ2S6HigRGiGVEkndWFL57G35dZEe+N/Q4M09+LXFPeSUr0zU1+6UtxbzaT5X3IJEypA7LEHCT0Cf+LCKrGEJ/SFFbokFfIAteEDRjKB6nkTYBa9mnu0ldGgL7IZaBg1EjVkdvxdL4ethKvC1toh+z8vgGhOTNW02EXP6pbeVb+NMvBsdtSSaOzuUezo7dfnfE0j70Kj4+2/bh8YqPjhTd2rIYn7FMkLUDo7xkFThEsWXpYHd1ArKpUN/tl9n+1+49q/t9zBue+E0Quq5682mrYUx1EfY6G0yYpovNfN28e96SzDImCD2xA1/yacO/yv3/wcmffYzD54PHRPsT7nUexB7gfkJc8dFBODQnFcxnq6yk9wS2xDEBnlfEzEat+Gly+rjDrm2VUO+XlM81PazgI2GImxBZcaHqfs2QmLx/p1plGQet3X4+H+jV5OT/nJN5OpIfqgdFJ+kxba3ks9PaUENx+P+dVnPjOtoXmDKO9PKYybyuwD5i2SXv6HLfXaohedeDfLvQsd98n3qSc3GHtFEXOmFsdC/wKHWjLcBFlysEc3dyn55jdyp5U0gfEmpH00JRjNJAoQTfXr3b9yXOZWFhUuobUD+g99H62fbF2JXZrzYoBgheYRXOw1xFfCQrygd4TIdQVWH4KCobRL6s71SyJ8UeSrj2u8gwu9g3N9gdR/ndiXk9QSeRt/cVmk3OKxYyEf99zomIl7Rv3sxJXjVh+p54s0UCXzTzYjMDz0yZw6SN7yhimAz5z8U17gaD3U+YPZIxWnhjzTmv9hMZWyCstWzpxo9cS5KbcGjIW/wJjO6G+46aoJTo/4n8m92LEV4noDhJfBHBT9Y0OBDvOL6Xeq6MMDod7gOhDyRk0MB5J+vR80+5kzNgAXEV59GoMSkVDdoO9ApsmfypiDLqiwNuWuh7DSUX29pwwxCQneiI3uNUbCS2reFXe7P2m4wxxaNeW/hfcPjMpGLf+aYkmQvrLLDlUSsy+OhhU6FplelKT9hYvkX3swY8lwB18AuXRO/Ut0GfNsaB0MfUTJKHSUxtMtqw/2GBR3PJUGCar3lGyvH3Oub+GoE+eWXZ1P3w/+L/AHRRqXJx88Y+oENepJQ7koBSWWCCSMrmDfn+n2A4hTH1NgAGNy6NN/8O+A2tc4I4DdFTq6IGYgYOsR2MPBqV+Jv2GZ6VbMucOIS83N8zaWdcM0Bc55fXNyn7xwz7khyGwi/VQ04dAwRc0sAH8TkNiPhdh0WuHNQM78XsYevpVfHIsA+agkO9BD4ehKo74JcS7Cz5jCHDjw+zpt2ajwSIvgb+Dmxxdy5AZgIr8RqeB1g/jDnPiVsf3MbVuD/CxuMJYL/2wAMKYHPChwQScd9q7iel09nDa/iHnLdPvFG/i5iCbkAHmCYwBL4fpjAf7UElwTYgGVi8Xfgz213+H6j4Xg/ivo1fg7MU7uhwBuCuBngRPq8nwNug1HnGBCRL8B9oSZ/T9RK6g5LWzhLPvuPmL8Pbw/AZJ7Ae/LtB9gPXAVwPn83eFYCuc8e2KW6Cnjd07HgPkpNwXvEbXlNc02nVPUat/5r+9ER+fRuG+JFfNtEzMMG6Yy/T1M7Kq4Dtu1M8CyxdI8zUUd+EDn5pbgO8N1P3V0s2hi/k5ZTc2xBbnZzjxi4yOtvIupMuQ9MrY2mJaEZxRqa2itoGw+lR1LlLUSdyKyS2YS25vauNcreqBjL55c+TXbj+GK5GnugW45Hobuy97zfckc0JUMKUf5E9gZmezhcH4g2YCziu7jzmpQzvBrG2w4xWmk1vd4wYnGkoWShZzdLozeuv1XPqMq9mdmxVqatGbo5Gh2CX3i0UOyNmaojVpw1NvANhWL/RPioi21CivmEuYCxbuHgVrm6XWx2g+HibDqGVih2pLro4GJvZg+4gY25zUIEvvm7mIeBsCXS1buyTKQG2qtwuO9Jx0gxLC7HUT6YaJS5Mx04eElMsmJv4XRiB8VKKwvbQspcfsZOnKnErEr+MOrepC3dYoqB3uytK8VG3xVj3q+p9TxK1sF27MBNzRdbB0hZ2K/Yd98p0VbFZFK5+ThUlyb1FxomOiqVYKSV2PT7rDdaHnujpL2cFXzMFGsWDByM5hJvXx2jMcSATMxuu+zZS4iWd/UK8PgLI0ht3Ukot2CWNxTMVjZ1McoMLlcL1a0GBuYakftCDi4BNJ1/K7PoYlRuCOZysO8maJ88xwCoTvOeRY0AVQZxXofuDMV7tk/eU6bMsesbyWWa8X6pWWXujlERIWrrpBVzmesc5EvX5Q9o01inCiIYjxDhbc2PcX39VUy0YKAR9HZvg0RL0DTZaMUx4HJcO3CfvBiNiRZbWpBHRm4bWHenv9e9xFSIo4duNj4qBp7Guz/WCWUDexzc9u7uNifK+bxcBOf2UbnTd+XgXXaX7uXYqtJgYhlA4vscgbsVcU+ie4+4r7jl39kxMmWt0QJclTW3dFLoQ7qSa1oO+Jw3ieudg5blIQ4EB4KB6M0cIa6bkJ1Zr6CcWGqL4HSNgoLyd9d1Zj8g4XG8L1ohVWy95D/mSfJzHe8Yb79STfRSnfABH3iW2k01lzegPUK73NDF9WOdsDjkD3wkITdytLwVsFxzA+bzb2pYqHQsjEKd5iMLq1MNTZ7AobDQpn0rcMl6dzEmTGE666JFgHyNGe8tdymyPW9VnK8Jo5E1f4ytUu1lYWHqFc5pYOCtOSB65uLZ7KY7ryX3QWxLw6Huc2+C9abKejk7rOeR5ECwObi3QR5rpWfTfsEdBgbfPJ4atqGXY3vSSRd8/Idcaa1RYc/1pGN6b0s7UmWKYDwL/oEUz3YFyDBbj4jBjzcEtj8ljoFJpJXc8AxI1y9ze8wUzwr5OEDjYca9gKCTjHV9evX2U+7v24OOPlDTSFF2JiHcBjZRZkdGefM07t3YN2VqLLjlyX1xVMWpz/3T8XuhOTuCo1j0/8TANsGU2s+D2t/ri6tHy/FaSai+5/YAc+jH3qVlruGVUvvdOuAx0r/lMXM9GLs1Rhh3eYEL8q0aY+ZaeEcfuJwriZ1lSbIfpm3TTkzNlqdFd6lunHKgcP1Hum37GR3a5I5eZ2tlVd5jFq/nrRYLdokbda/SbbmXOt5ryE4eCTTyHKkZq69ZL3FEBrP49h5xeQZc47Y2UEPDOKyIuZ7tPWXeXgTcKXxbFX+vDG083RtNWrQj4jKori9t+I4E/mTNC3iDOpdO7SDxrp6h0ABuZJ1/Z2QfAe/wHxy8GfcXuT0K/jnE29ySvppa05/zlHUu/Q4Rkn3jJ5Iq/tQvfbiSIR+lrlOCeL+WMMzIHzV1LvAnkNG295Bv7y3vBlso1okZUTpqSDpy6w52XSR4eHXp7vdi+RqV+6JfpplgmKBofr+EL3fdzFGt7VaNufi+9aWT3N0IHK273cyNTHqsquOq72c/fTOPOdl1UOeHFzoscarx+/Zd+dKX3p7EHbQBFO2GKIq2ld0v+f2lg99TBN8wMtz6+fRhlOmSeB6ImJJby34XQSrmlLsvEhV7j3rjv2FDyo8PrzNeM9Vbf+bN81t/Ituq1vCCSWLJmngLErElQ/RznNb+UR0PAjziv7Vxq/Ezpn/hbVqLunIVMM1SiAeF+nPf1LGvxXwt70uteT5WS+Js5rlt8SG/8eIbQb4ieABF12vm7mXS5M1cdAlyx4r6HL0+d8TC8uOPwr+8xvARuB1ivlzwHH7xx1fxX+pO4gX6F+/I3x+up8F9w/d0Q/l70EN3Q/l70EMP+H7VGotUtRoMVF28ww2PvW0PefGD1cf79XnPlkhJsuv560GDZwogpP9nzw8wRuj/5+cHv/D//vm1n89vAN7Qj3yxf/+5dyL/0Jt2NQnwbg9dDSt8WfxjLPB+fGvJBWqFvfo4NKiX8gw8V1KP5WfVnENqNE2/3+cOslkLaySwU20uFbhvBvOmXKe6uMFlheet4+llcLcqEoyePe1Fi9gck4WLHjL3myOTle5I44oZ30K0UTbOay85wPeu3EYGZrjy+zYp42DE5myUEYOUEDOC+M9E+NhCQ4ZoSgTXCIltWL7QCe8Ax9JlXiCWvK3qdQPqdCtuNPp9ES8Gc0B+4jL1+6UYcjCffQPhR7jfgTAhvA9MdIlbCkN1whXEecS7tQ0V+0y1tTBv4mNaHe+p5/8//Ke1/noCQsakxFjE8wBvHeLhQQyYmsAdArULLW7IAvdZBjwlJIr3Rhi33IrUdZHAN0Jj4O/CX5icVCxxw9VrAw2UXOh9iGWLODjEERPgN9W7sA8z4DK9wT4TQS0AX8g21HtMIL5W86hCu/Lzsa0Pvq9D69z2JhdfYvUSI7heWW+HeL3A2XRFvrkYB4xfu56eG9XfKxffy/o5X6C7yIc8fpLW9VuCN0bEEadiDq1Z1tzEMWwHXhhYGtBOggsO6j7ecSA4YoCT5QVc3fz4upYU4jet+hx3alLRnl/3cAUfbS7qFBjwbheiDSVRc5AAtQ6EbcxPOw75ryfeHdrDf3D5BssXtJPGv7whciG+rgHnQ3t8rqfV14LQUHNc3XZmveTX+6p3gH38e8hNu8OMZv2MveacP/IZgFeqjr/9KScCIR9eBLg0uV/Pv5OJBPY3jvnS77KRvkNorvjulb24rcLkI1JHaIpGOlNHfsW4Agxhn15+z4808TIT4mV2/d2mUIvj7eLvODUTed9cJtT4aL9wWOZ7LjRfXd3vv7hU6sNYniDLHuGXyh3mgneW72fkMkdChfugrzV3cfixhD8z0wve90YmSrlRy509ZlCNqU1Sg/kHn0gC/Y1yU6wOWiOwAWHeBviAIObyc33mVglwNQcNf9bUYmTL5cvBo4KPWhHxpHf8ANwPp8FB9N415pEXCW4G4A4UWD6CG/avWJKbLfcNbe18XGiMzfVAnaPyNd6V3M0Ntv3lJnBpu+p6CTuPmGGj23m/mFW9zbHi3isuLFzJ97Z9G5ujzrYd6+F0oU1iHFLmhhj42Tb30Vz9J6cBYJFjOnIRmz3dHXfNE+43czHq+X13kuf9FA0A3T9LI2pp5qiXMGa5HeTq3DfiPi1vgYDFGjOxrbYD7itqxH143MWE+GRI3fY/+c/in3wXBvAUmAw9YB4W9DPXKbEheHvTwAMhIvBkRW2BwDBHNU9k1uDEhdxPB3xJ7e98KN5yWXB34Dgiy2OBZ92ONDgPO+1Fa32iZAIxRO4fp6v+/s3kfnTz+4trT8Wji4rHidV6mAM8I3/yjZATusbn5+YyhN9o2xqNqBXItzG/Nr/u+tA5lWRyWnSkyH62zkdtJ9+XvYvcX12Os3Of++r/bJPP/EWNr63D/AX4cyj+mz7/O5+wqKP/xUMMNa773+2xRKTs9JvbE7g9M7hN0Oh4TPjyyeUJ7ybSoO4mxejHviMi9SN/rhF4v849qNi/cPMUaCm2XJQHE8RtYwL29LzGsxP6sK7XAkWLWoBjMKUY5uYBhxh+gq8dcKyanKH9r3lUEb/8zrGy+TcEbI0fc7CEt1E9r4zIJ1cL8lB0qBM0KpUIrHiRAwJzr8AjCjVc1CxhzrfkfoJYInynqjxCTf7Z89rYPA6XNYOJnMW1H7C5TZNTtTOodW3wr2S6Gzz5j+RGe5KrYbQ/tMz0GBQYOy6A5y4sh/cBvN6fJyRXu+vg5ORLRMOI+/1LM3gFLEByzMWU3wJ7mYu1fm/Y5Ms0fqChlfzZmtyfSby2Jp/92lAbv4aabBrOmtiZHTtKSB+uslr28ItkuH9pK0k5DueBZoeGtib5eO+Z7QdLube86d3vpou+8nvq+bQx5S6i0CiQM2gH33mJYrx9csAo5PKjjPyRW1p/Qz7WdK5fAQ8OYtsgXycIdK2mamIeQU+AHogV3rRp7zNqcqqnxUif1n6jany4FnZ5m6bKaoDI4p0TJTKqNIoW+B0wioLThEaBOzfKGbfjntKqfb7IR1mSql9tCCGSAORCTrkNWW9rcryVgTWXXgMuOwZXR7Zomo00Yv1lW6P/vvBB77X9AnoXAbdt+CM3+kc/vvHhIvhwf3Fc/KhxyQycZl5GAGf2ZJeqbtAZai011mrqH6SG2yL52WZsjpq8Lu7s5HqfHUiaVG43f7lpTA3G7XT5OLwsn92n/Lz9wZcR43x2vqAFl/+/+pqj+ftOj6rj520+2FodqeqrtRHX1IOZH3x6t0T9/2E/ufLxHwN2FxL5Ny7MN/07/YLJCE9RazGdRMvOQlqc7u/kv/ne48ntOh7oRccZ7a7Onv4x383fN/gffmcbeMfAJsWAgajCuTDvkgnsfd4uQMX1/Y7AZ1DHTn72A5w2cYnk7OWWZ/L3N9Mu5rI7nRP1cEXX6rr7PxgLbtfkdvRnDPyef+f6qwu4NFx//U2Gd3zGOmPGTjZVbVyptlH9re1cQ/393jtUFbvJ3qCekd9Gr9ttFgXUjYqdyVwiI3dp7wvuxQWLsca/nJErsU56dlboCft1HW4t9ur3K/j75aizNBYJJbc7DdTUwl08ju9oZiwK770upocMha8WtrIytXJyDxWcTI+sg6HGoKjbnkE/+mV/xwLyaglGeVjn+XlfvC3k9PkbxoZR57cITGARR9TTqIknQg7Qh4ey4dcC7knAR4R5U8COEjlp7a9xVrrmD15N/NGRblZzRHA/V4fYC7DWjnNuQenoQXcut9HTo8lGkP8xWqEzcrWuZuv2SWc534+xy2J7SkiX7u+Fnd3Ywi69FV2UMfdHpuZbevNHT8qbgYv71tO6Nrbx2Evw2iWeNn52I+tSllSxH6o22Mt3dvIrEY9cjEKu+DV6Hu6xTncq20IVEXK0cYF7rqLw7oBe9j6psDrMh3u3K+dlMm7hcs0NhhE5HFVz4qGppBlQSvUjHyWB8akTkZWGNNHme4GlyRLw9765ynjb1+0ObR5/4VoABrOwH5rzwL6o21oB/iuIwViobHyYXYq/cKlqDlLRzqdDpdnESem5OFLe5lAD6uRIu2l2GyulQT/7d5qys9wtqdb7/ew410g52U6tYaxXd4fbIW53cYn2Iy/h+s3iY5ju+sMU2XSc83Z6dkq51D1XubVGr7HEdc/NZubUxjc82HU1fiw3476P5Z/2UebpENutPaFLd7lVJyONywQyLLzXgFvXwWx5TnZo5ez3lA7rRm34n0RdG/DJxihkeIdsMBNigd/7iZnXue9Cxv/kITbsT049Sw3MXOH/NfxFHYfbcx6t+XxwGU8w/nCdxxKi7uEHh7FhhF/42R0+hmS+vz4uauxkkSNGvnBdGk6uqZCrlFa3pSsb766Dt/3+8rycLU/kFh4es+VOvaMT5XrgMlsZK+k6ffnHnrtxiP0wM+4k7rl4ibE2zopYvqsp2d0o0Qcvg3f0BKt5z2+1TZy0wpdyQNw2qeODsWZI+WPVrsKQGtHovRh727670wJtTmw2iQJjvFtJr0Lz3Cg2rNPUcNhl1nKSwLI9yr9D0OffXp4Fya6aTo1ybAVKMeFt/KDsstQO6MX7OvxNdMqWRhjP3Bw5BVI7qLJUjfA+QezJi2DADL9U+8F18SwRacXjICy1E3/G7Y5wp5E9/Dx5KB42xygLvPBsk0T5OZ7q+BV32BJRz8i/pZBZP/R6GGc/dHkHZLjzatYFXkwKOPVZgxmMjZrLa1r7NYKXgdvxNZ6RXmPRZ0L2NXLRAAyeQKnzJrn/jK3BcLWjmm+BDOqh2NIl9dnZxJZ2XpdmPnq2woXj2nSOKR8Kazl1T9SvMGC+EExGbjXQqf8Gecf9VXZHBV6NdGZQVLwsucvHpsrlIZcCSMF+wNZcVmExd8IFvbt9v0+DvXSaAsi6Vu07mNrW5szs9T5qp4w/S5cPlf1pPtB1LjvMHdqPM7p1doj/XU7GeqGO0MAvsXLgvhHUFVonpnBXM4ZcO/RVHyn0CHoB+BtXJiBndJAzTuk2uTsfTp8bbrCcar5HlOp1PqnI3wZevz0CXO7S3aMfXBjk5erfOM5ctjAyJ1XNseaV5IPnbQEerylyc2Kl4YfU7coV+1F69zaBd9DpVMGdak0Sbx6rdhy305gdvEVGu+kGrfvaPp25ml2Zs+NsEo0lHAdTN0yG2jKQc5oPnT3mfg5dJmUuObuhhjrUwijLNZ1m6JpcbGb1J+SmgIx7x9hGZYDGr3SozenywFxZLvE2LM1gErl3g1lrs+qud+g8XZnrQL5QfDWMU9pKR7uDkthcQePXjVrsNj6YuZRqKynTXZPp6ChPE222S0ruu/n6trNGC3Zwud7S2Vuys0qxuP1oa9xVm9+u9B045mPFn5y4XCB6hN2eAVwjU7UUqROXe8qffD/h7+piKm2LuHu1KGu7wAhy7HxxwKa48e875J3UPG98e63vf+r+5m+ho9JaJ9U65+3+tgXqcbRLTugLGyCFeEFUx065bhOxUyLmkw6vg+aRQuAVUDSeGDvXmGORU93YCXjk7cF2KNrLbjzTjt5o/A6qoLqt54WdzjEu6FN5+aaSywV6H2YHa9JdXaAMo/7NUPieSxBDfu0XrqfddjJDb7OKcWriXTuEBBg2FDZDjpeeMhx7M6RN9mufOfdrBzmGMU2trNVfrM2OlHMv/ktnLdI92nmXA9SqN3hFAmYb/Pjf/A0HpFPEzY4M2YKrB/KHQc5863Oow/+ugdjW+MJCf4m2xXz86KUtxhv/TmCbzW0G+VbuN1fwZ3zAOKtiUc/u/bApPuNQ5HvzYwELuOGrO0HdmeAMb/giAG8L5B6mbDBWlfk0mI1nfitfnldPslhcYttNyWIVH7LbNJjPenaUTsI87bgHNDqys3atkoMRFLae0BG3sTKv7DEt1vuU7tXF7iZXxzPoBy5ouhp3NcYYl7eA3qdEVYJQK1oxZbfgrnMbIpHGz37ihobEdZu+CVK56Bubud+7T4+v2ZKZAdeh9/HxMpspxS3luvRwvEpSOXW8F90U3ZvsUiPkRuKDFikl2i20/P5GrO/oBrqHodsymqUzk+vTYDZ49Ci3cWHeatvmukg9jONnr/fmPuLUc+LDU3rtkkcQ0W5tR4W2fCtbzfxrM3+2acEEi0mxhRq88T/w1LNfPiiLI6OO+4K8HSMqjjtpQidBPWDKz3G5vQH51qngNEAR2I4i/1qfBa4n35NQT1KPyP25HrjcJ3cXfEn0XMEaLbyMlSEKe0MNT1UDHQdjSkLdTj2NHSYosN19Rp0OKkaoVEiH5vGeKiGScEsPxoMWxNx4Xxtj21tT7suUV65IlLGWcRmUv6Vp5UZo+RzeWBlorJigAXFJ4A8lzFb45TqA9UN+4P1/4o1ctV8Qd2YavIIT4LCCP+vBO37ag+sP8s9a+vnHvjKYzTBKgPdrBjkTHuRecH1GBFcH+uJQtBGdYWwP7GnQL3LH5sarrVEWHbkaLc/cNy8+tcBL5B+mu2mcm+NtP5afurGezw3ub+MxIrSaT1sVtZZ/5k0AuPwKGe4AeXimkVB+rEftbW9MqEoJNe7yxa6vPwDfjW1P5iLNX3SE3otWte2X8j2SBu60tU5jTCDJJNANOX/+JScCcjagKenP/JQ78CYsSyziIMDrBTWRXMaDzWv85EiAugbvnUANILeV6YcHPPtvnKP9Lf8F/S3/hTnr44xNtBfwH6AxRtQ38G3jBJ6bHPHIiWNK0M0niLV0OtCJVrbiXTuuXFvXnUOhQ30hJlQrucCq6MraxVFkOizcTQ2C0VivELdcFR9V6OZN7Xs+mGuO/C++3bad/6vcFxQOC5I5oU4pNwH42EGDiY7WeRRXe4vrVj4eNZ2oMSkptQAffaGFzzYLyYF/19L2UEldvVRd3A68yHRTnal8LNtulNEIY+BnjnDujGSsG//ym6NgNhnwbw61+vf6W+MIPm78LoV8ITq3JLYIh+hDyeRgnFpOmWOvzHXnnc41wBOgKUaPWhfJXJ8Vo4yFvsrQRsfyfaAVaMTkmVYkhGGVb+dNmyWgtx713B4fmV/nyDsdo4Cf47e+z0EWK7f9rIb7/szHffVHkV/uAF8kzTGuUos/09x7pQ6O0hN/TuyU6V/HKLopWJf755mLmfzIsfHK5ltZ5cq7xNVT7clPgo3WnpsLZM73F9PSc//lWBwngGs0n42HDLD04VrM59fIbVwxy5SfltSb7uTE75/hWjNkdf/W7uKagi9dTmH+yBHv50IB2gHyOyaAQyOGpxD/+JuHUujy/BufMv6qO/PEXJNb+5W7pq5xL/K78uZ84dM3NfNcRlPBncNtqsxGKWCPTaHG9aumWeNaHXLsRS2hTQS3ZplYkF9d63gKc1ki39qOBI41QcUNcuE7/LscvTLUPEXteEp/4HRMls75j4Y4nWI/PZlMJrN92gn358lyj+3Rfm1N9gU/WvZkabAaDltWNWhZbRn1npJ8H0vltttqOYfVtDufoIMlDZ49Db6dXhoSRoY81lVndeZ62nkYPQM9Y3af2oZ+zhZPvu380CL1hmbtKVq8d9wlGaHsdvLe6cnhT4FyeE61Pc+Hr3TJexdtnjfFStGLjkXPxd3LZN+9+NIIGdyfHw5a2+t0i+h41e6ujveglQ7NZP6Eul8V+lslF2NpQClxO4P3oX9J5edukZquuqkWXWfmVUdK7NP4Mof9C8soob8voL87Iv/Egf4QNRYA4FQAWLmBfuXeQ10AcAUD3yL+1PZDnnxT438UPLAvkLEu+Fka1H0CBxXMZ/vAD0vdgVzspSEjIzQHvvPe7GFP9IftcvmmED1kd6fj2yElYytTXauVbCn3GYfBcAajlcvxcejeX85LKbiM87QdLalGDIM4dqofVuddfLRjQBF0Wohe+k9ERvJzOXiU5oq1WilTvXS+bZ/Ml5KPQrIIg6ktP+PtNFM9K+uSl99XLPj7wO1XereNOF/YYZ6Pg1tsMTU0GZ3YVTFzq3xhcl1osQ9+bo1PxWVHG+ZjRZ3jjzxS3mdNwRe7SwS+DsyRC6yQUtQHxKCfXN5Goi4W5v739Inq+gWNQH5khmbcFwj+kqOnn1ptMp+2CR9bI0e/bbXdYsBOycqsBn0HFbMR8aL9ezJxg2SmBcnQuA5fESxZPjOuA2U/DfQR2UjyM5SejNtDp8ufnIlQ97SeJ8Fa3iaxieKFhlnhYDs0aZwYmtIf6/HEs9XS2Ctwj9mz47lGljiw/tzTiReWfW6jYX3cE/dBm/2Act//Mk/1EpbCtmrqh64M4mUhEoT0nzrwmrfM0RKteXewEfCXbw3y+EdsEmctPCv2B/lmPm9+H3eLLOW+GR6/XHzQpoYbDvbytSM9Q/fhxnGOFnGGE7yi206XH4+6xcbqMgPdkG1R491vazX3GD82k28F9naG4UbuTj6VAt5P1It3GRer0xOq5+r5N0aQ49ByGBKcwcCzYgfxBAFmD07bYi5HxKNjw4C4HsxjQM0O92X4928B96NbxTCPo3N7ZM77jSaOFX2GX3u9ktrBSRrGBHvTsXSeJtNZh94QdSynRRSCC+7cK9t2lkStTDkWpY194k7tWclW+0ESGANMvVlE3t2XvY69Lte3D9q1JlXx/3h7sy1Vla5b9IG4ABWrywgIKgEJKsU7RQVExbQCffo9IsDMnGvN7y/O2efM1pikIIVRjBhl7/iNCC7e4+mk0M7omjbiXtBYrjeoB9HrYL3jLDopqqkYanWYiy+6UiV8elVntKM9n5og4yeKXQz1sRQujmHagMwocUawQ03BeQ51cz8QCPWG1oHlEoAcL2py2N8R2CDaH/o1m1iGCeq3EvxjXWL+e6xmYH+GMrHADuW8zLz/ZYZR28YJ2nrZc4td33Iys/XDbe1Pr7Xv05bDFOxOm8WVwnTJ/ahFW0+rMSxLJsNY/9S8lnbh1YzrGilWQf+tu//WGwvORajeQdboRQIjFJ4Zy9Y2WdvL2hOqeivnZrND1aVCTb3CSBoH974KutQcs3o2ks+akYR17Lispgmd9Z0hRTOljol6khTTvxHVLyONDLIcTUDng+lJp4Y3eT2turathbAy3hl8nw7VYyz2wA4Vr1eh767E/TTBsLboKDgsBvJ/yl+GLmiqk+mXa6vQQlRG5mb5Uhb1ZvpE28dOdjeec/pCuemptCpSS8poXdmg6nprah6NjLpGkKmBoBO1dhz2m1QpV99fEsg65ODccVRDWRulw36Toi4kWaE9UGNHiopM3gZqdDijCN6VvzOMeW80Eu+HxX4AWmFl/Df2xfjNcKDbesGEJVAw7iXM845e0QkjkCEFtZCfELd2ThYye0SJFiRjfr/kCPaCYr1oi18OshwNBrUk5LLof2Xik77FxwuhxXg6oJofILI4PTaR+LUx8I2OUD+cH4SNMEV6vED3o3g4jG4bY3RjnITnL30MrXUZmvjLEu7i6T1dJ0Jk7OWpuS/xflpj5b1biFdRGOx7oH7LygbUcm+Q6Lf9V3Pbs0RJQxT2TF81tVeXZwAS9Ay66BrGsAprB68VVFvu3q7ezzS0V6obnC+O26BwjONUneFvjrlit38v3cw8g2oGdizDOqRqLo6PYhnf5rmln/TUVgamO3v0JLdyDD26vWOaeUpTalqvklX5FmihS2ehuwuCaDoHHRrV8mLmV5OvZW92WyvxurldFeLc4z7dqEPdQoxPI6Nwwk7ExxlkALkLoBfESNNQcN+KD5b3oPlpZt7f79pkthSisW/W6dJBX1P6urtzfDOU0DmjjI4sxp+dSSbqTX3lLV0N6Xhy46d9LZJTJO2+UHx5hvvhVbzFolir6ZWnb3zyN1r5Y9aI1Um0awvDt6A8hw3akjLu6XZNeiVM/+84NG8YzmHG3c314XfCeCZBbnMfIoyrZXxJZxvx0ZyCXgmGwNFeZSQ6TWbH3X7sfvnS/CqOydBc8/F8z+YVCgm+WF/m2lhb28vVaC6XQT7YXvNhqhn6KNj3BqND8OUKx55Ynoa3HSLmcS5j39b7XPfPtIHoHZD4dRe8HpXRwi5hpS7msYv3+xEnUeF40A0zB5Y1q6t2GWQEYT51wvD7P9wJOYyTFpMDflubj5wGFk1UkqG886G2GCdNorZx2LauFHUxq7ZWkuSd/xyetx9n20eUjKQXWqfycD+ef9mPy3C2udu+ljY1iR6eI6JNiXVf9kTQaNZaVAf9WF8f/Vt5Ptt+6A2bk7ZIh9vR/TUs0D5T+miZHIbqEh1T2bFsbRkH+6kZh1tEjHSEJl9Uq6alKIwpCVA8wVu/GkAvSl/XBN80t/AL4bKR9+O9ttpG0mGX3yQlqEagH33wSHdc31NbHmdM/swfe//OVdT+Qz6WG/wjj7NGobo/I54DRlddDpg9Zamwbf7Gu8uj0jIx6HLHStizXPIu50wkfK++902XV/8rH6HC3/nzrb0Ld36CvvWomL615HmE2Hm3+UVdjTCXk9/vefmN8eVmjqbyWqj0gXjeRVtv6+ayymRrcYv1uUIf8J2E5A6BNXY3j8HWUjHxUQjjmtY+ofXtTqlY3BRNubju4O6YSjU1CydWcjOKw/oehuXbbAjuEaqBChHPjbW2Hvb2C9+xxsfHdQ33wH7G7yU8YO+aOOlH96BMGhVfFF0KhGrkmWGRXCiSHKVJn06Ay2v98eddYb4za53Z+lhHsxtqeH041815nPZTC+zy2uxo8QvDZsBzdVk7NQnzEyzaazgGPt9znJKa4Vbx+cFx9Fkdr4Zajljmu+b3Dpzu/umbhFGHZ5LEXe4sO7dH/g8nbYfNHhOf4wwpv44x/1ebG/ZtJ1COo/SNv96+r8rWtV+/kWO8c+ye9l1BzsVDfNaD09f8eLL8ZxrKXyqiklNHmOT1a3UCs9ZSvDzBOZgEnoqjUsxjxWuilNDJTAlhjNLKI8gMFGKBniQHKk0MGpHAyG+4ecn3KFYXk/uKRsUN3ruUnKw6eoioSf8UlVPQbg5V30BgLiB5bmX3qiS5sdbvBtVHJLFnepD0nWZSOK6fKQqqcuifPYxRdePLO9GN8MyoH5vlZdg7gkgM5L1Cb7aeSRbuX46ZFWiZfwsUFkdIZpeLBSZGvWo8WK68AVgVp+3CQLBowvssyniyOpn9uZoNEprMMHJCi1oBPUxiA5OZF5ka/E5PzdIZjUxq+KZGS+Ib+X22PQ0vUYxBscTBWiGG3hBq6C5BsaMUOj6/L7NQwsh2Do6Jakc/9LdHv9zSQDsIYEFa+RXvm6rvHNSoQNnNUrIM7ICJ8oUmy81T3s6ONLSPDY0Wxxptkalh5OrZdjM7ZI1STFaqDwplhEZ8vOMnjPfNhY13vUYCi5NmbOyHCcNmm7M1Dex3locgcNyAPCVw7sj0B14vz7DZGI42s2drWZ1lZotTwDAIMp6nCLZz2uZ0FyBLXi2+OQ5T0Lm5Xs5qKY8sr5SvFw3D9UkXLV6BBDq9o6v1ZKGCppWtzvvtef+4z+LSzGD2Z5WLU3xDSYRPVxmf0M3XFPNNfNPSgomP/SjXizqcgc6nZpkF+qOKGC74qXrZ57eQ49vRymRXfuVzkJO2WqwG0OPqWpXlhdGTDzrMjcBaghyfuGodiPfqtjiPmtUpKJKIYXRjnZZH5gsYr/Ue9lCiG75D3R5YCOFws42li0InjHeJbEO9jotDQPRbE73KuZI795OfGAoDYsnA5mHFMozjMEc1tKuD1uUeZumXUj8zK5IisD4X815a4QMOD717dNB61syvLXSeYlONFK2IA7e5TbanJoCRaC2jSSGuhgv7VS/0hXmfz0yQqdM9X99/x1MVh+EL8TqR9R+4jT854AyX8BdnLMPE6TCYJMZ59qnn7H3z0WU/fHTuDx9di7fyP8Mg/sbigXHJk6w/gEosz5rlQaME1i+23j0n6B95dn9+zgIE16qsDOI3tu0/sGY1xJ7xO59cb9fU5Huvdjio8qfO7M/Pzypo8bUs9Fd88w5D91/tD4s1YXU7qtPW6fjRH3mebTyN1yP9b/j+/uEbYrHQnz4zw18Yiqw/oI1YLnBXc6dw3FiG0+WxODD6M8+z/sdnBnDldQBaZtcnmQ66isV1DpfUuCI/3yfPAWunnzrQT7v88dma/5d98V3/8MG/buue3BobSGf129Ef/DMcI5LJpA+mZsddw32WPqx96P/r9vWXHIf0+pp8sDifG6nD4fyaPFGHn7mB8/s6w4k6YmH2P8ex84/POiiI4agtEgi69pbxZ36w48cXu2d/+sHqfNrf2KXwzA4blb8Tw/ilqP6uSxx/8FD/+Bw+b13NS8T2bQ3mCX/2zGDq/DXrFj+KI8CxKjgOHmlx//BvbFNKPv3Aa+/+V9yXf9Zu/JYZDBf0t7xiepOmiTKCtp/B+Ora/ZqiTdce+/v/tTZHh7eAGHdugLq2PrPntM98SqP/K2O/lR9GWw8pfftFW9wnaDva5lj8U447tcGxyXRMlr/2J/15ajnWsoTxekxADbyrDK+sivCVynD+0Z3nXGyffHXSAvvdWvnFImaH9HdOgGJ+8EKVqMvDMNvcjgP32eFnRYUWQ20VoXWGbW8ciceD0ANbhLf5xYb2qIMv0PZUsde07zDzsGoIPW+YiHeKbaRXITZTchsF/Jrz7vKJ31nMH3K/MfmwYbyfLb9sh6f7R93PH2PnpXFu6u8Y/U+9MFzzg83LbbYY38lMqaR05l27NrK+ceFg7KeiXWOGBcfy3pDU4sAJN1QZptRe10a7SK8GGQCfWY7ch1eF8awY3jNlhHycA2XCsIon7N7pgbbfr53OXn9WLL/QZDzFnzpQjq/b5otisMuOmHa2A5dZKbNTNNDlNEIjH+bekeFEYp8YQ1wvyLOPdHyYnrx+omRySHw4xnKbcaaskVWZ3i1hpRHMi4bn6lRGy56mGKMM0wwznrb62Z9mka0pROPHatId66+F+nrCXuLCfoW9zUikYb+/v83QP+q3CGXrYvTL75/ijrvc57Gl4r84/pNb2cocXjdpMnvaFwsGugZTjBrwXmH1r2Pio1JYUSlIcpVmOsPBJ3XCar5GFFOTjX2YnloNf7O++0/HEWuH3BuxaYzY788djWNBfoIE3mSPuY+bzeUJq2tmxXuow6NbODym+gfPJou9sThz63fJIr3DLANbOx3wXGFssrizkpGWaw+ld5aXZK8zw+74/vBLVIWV5z9W64EgHGihYqpikGIWlXO1qeZqvQguIsJnZFRoVSvtdf/eUDAWLt549dXM7nNUgSko2yrYsiaVj/oB1fS1XYuJABrQ7vrV2tc//nyKOpzTFNkZ5z/6K+/hL/wVnp/B5Afjw4Mx3WccucwXZakJtcDWaGscwY4Gm5LHi9/RyS0S5sdk9saprVMjrH12iM7Qd3tI/2irx1lYe6OtlAhK3NwS+5KPZ++j5qU1TqaGj2KjFk+h5JdPHeZdQ2nk6QjakJIZymoFv1E887OdMuz3/oi7Z7Mev/+/thvOzOetWKp2cLCyRY+IG4UhyMCC69s3sXo8xPvpqsymKtgxTL4TMBg8ZnMparScK0NzppUYX9bKeN0cV+v3vRtfFgOBnHKeML4Uu3wd9gnbwHghmPEVExiuHIPQk9s9k0kZwgtKzuLGEPrIHYgbgqHFdu1nyxPvJbbEftMOZRzAUNefKLY7vGZoDsYv4ZxQbTI/wtn7waULtIb5KDiGHDsXYD/Rr/QqPJ+j9zAZFjYjwPGte+gXlX1p4uWALm2cDGjonlc0c3eHI9ohLRRqbzT2hrl4BJtuBEMqI3qom/HxVcwUdMKFOM7j5ymv4gWrGwBbPvvJx/7Ud8M6wUKLXd2/Sl6EzVUdeRXC6mA72Pf1wVbCHl0gAdrkwtLKgrPQE/uW2CEhd/x53/cjGcaMR5rzQgeE54swvmf3xTDunbNZpxrj5XHfvAa3y0NlucZRW9fN6/HBZj5wnw3Duy7cNpdVQDDHuzq/Htyb4XHytQnWNLCVVLDp545Kbnt9cb/q/tRWtUnPVJfCsUArtJYPtMyaPPGzENOZGpW4tkCGMISczeQ0rBMwQh1Hr62+m6Uaeo7vWs9ZqmioM/2IMcyZsfvSw3KoLy3mpcyqF3pq4da26PC9jwqkeCNFzWqMe/kC9EdoCDqDKayCraOjHtrojWSLjrtgPhZUM+zG/KhlaSRW8lyhphVnXXv2qcEL+9t8FJ9NIe5/bjlLWjwhVi/y4nXh3D8FumLI4hwMA5DrP1yeREeQRG3dSdbWNHQ1QSyufgb5yjD2WJ7iifm7ONbewRRQkLy+48k5U0BuL9VdCqU3pOLFiJW3I2w1N/bcCs+WVNWRjFPfMmcwghdGsxSvVoWC92Z+jMOt91XEgyZZqPJ0gRyw6W8zI7tdqpmSzehtp2Q3ezbc7hbaaKmdm+VClYQFmr3mx8nKPsw2LHeD5WucXpOnviCj6ByJJ1QpCpUo6pGjHW8nCy0VgqdcKat0ut2Pz94xT/baNoEv2vCsmVJU8Dj2xGqvvG4vsAlegpYJXpwv953r099PML5yfYl7Apy3rFqqAzI45Xa/kbGczdTH0L+w5iiwBS6Pr5K+nVGwt2TVp4TGK10AUR0Na+2x6R/Gp1q7fLne8hUdU/ExEKqqP51SUx26Tu2BdrSrs8wrp4GPk0UunvVTZh/3j719jDdhc32KT104wNBa07cn5O/tDB1WFlqoZJJpUXJ4qcuyJ4Rhtuacb5GgHOvP+vpdH//hgd/ACTZvvu23dq6RGHTA37bDW6Fgyz5zpt8rPA+aY3CswNYZDxDo+yayMnHd1mqbHG8Cpj0cl+fM/v2VP9a2555JYKZ/WkGLi97W9XBuMsYRc7IUFlPqYsfQ5hYqWc4A6O7fseO3yfzyL47FwvjpWH237riX2TTph4KF4zLdPjLh6PT6DDvqKxfv12h/HkcoWOc9qjViiZT7MhQCcfy4P3/ipPeMFdnF0/NrmxUKuquouk9PU7m4qHJ5GhtlHA83Rv9SG6Cf35mcHq97xniByo1QeQOh/ztHzRwL091ZgF7CTHGcK5yWIWP+DvmbX/QHD9Z9EWw1BMOa7jPeXkQXobi6pKi3H903GTk3QSjuarz0ZEeclXiFnDFKZkvRHUqod53qC7wXZwkOa0sUXVnhOn798a8sa2afgEI25XHekDLbhOWpM9vw+I/PGhsX37VroC9y/kuGlRXy88yWhz5jdoKEGQ8Fw2F1GtLmlbYc4PEH455jbtNO/+R8mGAD5bLC7uf+636Rz+7HnocqhlzLN9A/WZYEbAz7OGGYyeo0Y59Ndl7hq2yGIgc3oKkq5GYG6G7lsQur+gQ3WNcbyyKv7IV8ZKiwNvHvf1+PFDJH9I/NA3kSYZoamIo3kLzwHizrEd6hTtnfYD7i2oG/dEN9OUtTQUuznvgM35O4LOY/cXLmx6xTHb5LQUuDa9VpabDJyOtbu/mIedwd7H7jY5N4IF94fljY+lJ+8Sl94mQMv0JjXAlgh7XcAoc2n1d7Oy+Px7CZzf8t+3kdAPMvYxZbefF5vVQ89jvHDGHHwo06uRTRA9prrzWTjCwYR5mGOp8H58wx1epm5/WZ5M7SUOq77o0SrbokvO7tWMy0U5bYASzojRNYTf2w1SpbN3HhHVldExKSPL6SALH7g0UsH7FWQX/aG0VJTJg0RMlnaH66HS1VhhfC2c+zOVdPpL+TU6ikFzc8WubRvx3vwWKj0SIIy94s2DrWIdlo6tFgONn+u6SWggRLia9zWH1YxhL/V//yF4DuDXIw7/Rtxh3KeNsZZyvHTIK2+3uuuTH05t5gOgdr/i57QjgOp1k2M/5z3rgjpARk1B7kJQ1kxh2kUu3yn/NRmbwWVzwftUZnlkcfsvoSNm8VzuP0zSfR5uu0tR+Yx96YjdDm+HzirW7zwzHP9E62jiHM489RF+NiPKqM2+kEOgOLf5UEtXy19qdOq8OC1urV3VcjA85fdFQ7RlPPtME12Mmbwj01VCsapEn3Cx8TGQiwvrB6JePx6OtcvyxWVzlWR7W20QbBSjiRJdgGDJsr8KU0UFUqkhPMGTOB4ykcl4KNXgeqX6293MT3w32vBdITJp6qHMqdL+VjafkV7PxmrknoppWPuGfFz7Aam+PRaTXEa3nojdVhcxrv1gI1qeR7zQWkilXpB8aD/DX3PTlpXqZLDvL64sCIzSsRtF/Q+2BaKCHYZ8u0rWfADzZMOj2K1+90XMJLJtfsLOJ4IA6L8bY1onvu8w8pw5k+ca40zvvMMDMZpiCbu+ZhlpEHVlucHzPj99uhJt2BOEn3V1/cj31htJxvzJV92WzycXJgHLJlasfuV1TUGwWn6UZJq3SYBHa42i2jMlUHwXz1Ki8LeWPszqDexdXJKG59GxMF587aVegDhI23UKKjr4MOVqzI/rh19tB6jmKGSma6i+VUXMQXeP7Euw5WM0rkL9pbRdHBmZPXFDsverDft7NamE+9kRW0WAV6Id2sg3k3M8lwe5dXEQ/npenm89AP1qfybZfl1aDVjBRJP34nlIBE9Eqwj5Wk76i3LejSfapudbcs3x//xyd/lOPXKFzv/Rt+zfFveQYMPOyDtclxfm4Mm27ywZnjGAU1NucgDzre0tav+TfMSVgyFNrhhPyODfx8NsR/XvO+yf+wh9j6y+Yz5w+C5YflxNHMQiBbMpTB3KM28zPDXiuiX/7cv8ahvtcEVEz+jd+Z6TsUHEblxWY5YbA38bjFLOhk+qDd3zrMh0Sdw3XCEn47vDdOqF6ghTG+wvW/7xOydupiHmKHE/HH528+zm/8Lo/54f5Dv7X+G4UyXY/JVkLxP+6bGf/D/vh7+3f8IX+2P39DGvx6NjJVGWYHj19hAvb1P/HN/uftbD06TJ9unC3++v7CaBQIGamEyywQnuNEKOWfa9q+adcrUZzy9apu/csWRUx/O5KG4YQ5H85xzGx1VrNr+tGnVj3v/MtT7sdt4zTtmOr0uu/PjHMm22zN2glJMxhmmLncnQM+9hZC7C/Qi64Qxa1vhvnSaoL0IBSyVyJZjMODcYKD5uA9wDa4pSm0V6zlNZ5T1xC9UsVNlrf16wv02ZtrQ2xxWiuMdF7X9/PZEnOZtvhq3PnC4ifM/8nsXzC3kP7x83O/dFvnyOrD4Z272gqWU39mNZHqdw3yr9/NazT+9Tl0C55/rrJ8UpZLgqhzIC33+ze3Ylsf3dY9w7O/5yRff2XUC6RbTx04ZqCMQbEamorheLzekGpHvQDpisyLq/D9Uad6BnrbiW2sRhbeh20M9k8x3/SCCtg3laYHy/H+2Ccrf+4svlLO/a0X6/OiqsNV4m8VKbpfXpxDZW19pXefOtyfJy6qh6fWD3RZQd89JzI8G67N4D3IzL8KCS4LaOasjXsM233252eNss8lMRv2/QreyST957BEm2Oy4Zgbl+fCGxpoVd/mbf/JbHYZPH/KZPNfRYTjpIYmw+xk+gZlbZkuutiD2sa9+Tg+wDjn9ZHWIQ1Nvm/jC4TpLy9epwZj3Om4nRMQDk5XK8nyi9r7oukUgX2niofMYBx3FJGBWlczGAya/hwNI5omMkYzhbpz8UgMfU48JSvV8Dm24HsWesN1SDOoxz+312WaAdetZDT5uW6H2usyfn+LM9GBnYv2h0yHvYrkucz4AzHDHUV47o1kpjMRRGQV1VTGGSwP9Vx9QO9HGUvIAFsjwwH/viq8UO18/ONrEeznVaS3eZgR01uP3G6oUx82VaGOb9WpBTrdgK17HUYZk20tJ13mWkdrER9NB0seyKHQFhxvukWRKtTaQES3KdqMrnh60782Ev75uzYORytSD9YiEnWCJZh3sB7BPfpbsTcQnuJIXO4nOPVAHt721l4lzd4pYe7D+hGeP58RX8+VA8xnL+GcJbA2MFQnpEQDsHlhc7gftq11Iz7oaNF13b9fA/jZ3uAo3rc3BPb6Qa/xjJqbdP26ocXodvUGjXh5T4fINsR7Dt+J8HbxFvrs866rl/+W/ynTI5ZIKZEDx3/HEb7jDKD/46Ll4SINNbp6XWbXDmDs8bUYg8Tq+Kc0RJoKhGYlRo2zJrAh35H3Y0XegTysiCuAxmvOYF5mEmHsahXjTFqo+YdP6q3nTggbktr7hJ78i2vKRhq2Ryxepuc0AD1obV2fP/xdbADsxYkogZWKFsPOr005DxCzMqEtmf5OXiVmubJsjWA1N7B26KwuxAn45+UaOYlo1Qyv94hSWTl6o764V3XxYOuKamqOHhlqbk/O7HvtMRO9xxOFWn01uMUoDOHv1UZc1coK76f5fuxowc0Vk0qd1lapNWmXT6iC6ZMyhmG2LnNeN9YPzPY3Gd9nxnlgOH+Jk5EWfxVxH+en5q2weE29WbL+YHo44XUEJs5m8MuluCrk/TBBWiJYARaLrMWbNfFhsR9PH8Z1Ps9dh7yv8931IIjx8TBB+hbtEnwG7RJm4rSn1SXKtH3QB2sc7Pf9TkWPUXzaDwe7dQzzNc4vg0tPXH0txhLtdIE2nmP91lc5oRSs1zDeQtYps/obj5LhLwy0gOPK5i7l/rYjw+ZFXcwfBanB7Ls/dNkwzTHb/opJaaqi954g0Ra+ai3mNaFeL0Ov1FEUVcjvdiBWSaYgRjgQwvLynnxtzsI6m9mD/fALPayF97xV3nG18LIw8Y6JksK3xMFUFDNWIsAoR1RxPxAnl/Z6Ec0eVxhpjuLdKnZfrI0Wx0sSCa9MiI+JgF2+/+C9dPH5CfI4jnLHH/NKWB0Ks3cWDEMR5PnAbY8rKJA1VKQZLB471HLtxNAmDFvzgbI5WquFLSlmuaDV2XoPjws1uimU3iIDLH/pAfoKebl+4769YRAaWjh/V4/glWLCYEDC5aU4mjtMZRfscHXtjc9ada+u1mKE7iqJbheJNKQiWN7P+guyPFJf0YLZV2X1QGPUEYw/Layw8xwKnjnbnty3jsKZGRhK8zVffMmDbRTjvfCgZItyeNmCc9b9Ub9js/x5jkeMuT7K+G3AVmE5eLitf5MVtj52ubRs3Rs4Dctz5fEigdmLDMevtee/5Rj5a90t2D6Yfc55/U2fcRBYHAf1X/U42grVd/05HouPgyA01V3Ft3V9khS9qVKFVgudlnMbLHQ3J18kTEwCs0bxywWsg6me35RNaq7F67aLs87szXggCOK4EJ+P6aYvTBk2Hsxv7bkf2uLtIAyd4WgH9oYBayLy3/Pd+TpHafGf66R7kaTXieBlycZVJN3OXrvB8WhoflkrGb1o5l3embdoRunMwWXs9867c1Y/8JfL45rBwBBk+H3PxfT5pERjecN403tuxhLegHwQH6Hw8sbl+3wZvTPooDDDhjOGtfIvfh3uM2792z7zb6c8/4rjcLdk3UmHAdL6UUjdcsxbbY0VjwWy3ANYt+F3EBbDFXgtc6sbHVEX92U5QdDnnZ+B+e7SJa/ny+KJj6IbVqULqAy3Oeirh/cuKuKnWyarU7EsSkSL+B5oyTyLsnFzIUZmgKJS+7OJhNPXKVrrRbTev9fr45ddXvuRMLSk4v120XOl2yIY/gfGI+rc0Foy06WYnM3jMb8Y86V5eek1ucUjssORlRjbaIkbWxj60ZO+7UpD+mVt+dXaCkfPQ9/eWvboaL+iopffy1T6Xg9+2fcCGwILphv8zoX82LoZx11ldTofPMsuR5Jz0ONvbKHsw//IfWMsBwh0bZnlVytg4ynMxvuXX2CAAvWrtTmrFmN/5wW3E2g5S8YJDbZYrL+dvRFGt/hNZauR3oqPbEWvZxhtR7JsbMbP8WS8vp9WX887ouH9q786fdW6/1fbNVY6Pmr+TCwfLDrP5ZjkNFVf7Xv4ijO2FIeqflkar2qsN1RU0SrATTWrbQfT/vo63v/jmeJo8FcbGH6QJcIAj8u2npnV4da4tdS/awajiLUrw56DMcbql0HWgBqatTxd3A+Y33geP/QBO/9A70gl7w/33oTVp2vc78VyozM+ps8mq4H+8G0WnCcMaweux/fQeoSW2gstat3xiDMXL7zmSsX1fYTWmqrTiescoq1OHaWu49is6YwwP3nj7Am9EfvuLBflLUPrzGC+eCwO77PeLdEVqiuvycErMpZnp+zRPDRqx1IaqqfPsY1qWFbqG3nFd0y1+4YSY2q+zQOrm7xntYEyx1STp3B+yoNaqdY4r1ZqWG8ItVZorZSDPCtZShp8z9Fw5qGMXNFSKmbeYIBprSLaP6U7JLs9KfPz20KFRZegEi/F0d2hmYayyJ7RrxvalaBKmopCeVcYIhhwMqgfsNghXpfH8pF5WleE9m0UUsVtXqbP7VPf+ZUzTDp/QDLgNtJHT/0T0xkzvyN+OQKoANhVZNV6O7D+Tv6Xx1MszEBP6eXHRE2kRf89rTMSqvdsTsTx1q2rQHxGMYO3tlEZgLycawiE6GQvTDI5YpS5qpPhEyKeoUpX55UM9RyxnO+5fshOs1cpGD5RYP2E8/Kf58Of8/fs+3r5L+cxymWsrFfL9XM4STNjJlJ4D0zn3pF4FibKlMpRA2v4gPF3P+lc84al8vKvyTK92svtZdHcNgrubZamM7YH+XkB4uz/5fnWH8hxD5cvRCowRvC9xY2KpJaz0GxrVToubJgvEsg3tZNl7drPtxazk8k8XmvEYgI++q6/6fJKYD3hsaGPD5/5rZc81pRzfAK4d0J/jiNDY9yZ8H3mi+S1N0w2NBz/xUCncm0hk6sX6osul3lWqKzeA1QHK4jgeDTDmVTomry00MRSWAlwQdfxC0V6YKF5NBENf6KjNzlZByLr76mEaheZeRmZ2m6vF0kI9wnh+WEg3eIHw51p3DrFzsnF88XxywHdxQkXJy1f5OyYe98a/v1E77sdKont30w1u9nYj0KDBgyvixi+E2N6s9Us29iUWjtNtrWD5CjY9O1eNKB1baynV2Fyv1x3xXZjgapEsszx6BzaAd4lhHZrHMnKXbtHbuHdd0J4LtjAzYu86YkMN8LC2phg+kmk9/xCVP1atN+/Mx3q7Y2rTYuP1AGKFh88BK/jaz0zv5bL+adSJpeXSJswHqonMlKY94qBzAk61gpPTej0vL6r0NZePSQS+uCOHOjfzyvf58vv8yD5v8//5JWRn7wz9Le8M/S38+i/Of/363/y2hD9cMnqBeeB/d5kpfrwyq677zz73Xdk/Dn32YQAt3y6CDQqzpWrCqmhZGxD5+6cN+zOIe1zTlx+rov/J9cp3+cWePfH+yKre5dQ4O/6a0PH4X/67kT9wt292w2t2vt/b0inLU+wOi4/3xl257xHdw7hcvbf3eebP8bg9T+tPyRk/nn4L0J6iXY1JzlefPcT463o+onUBOzSX/3GMO9bzPUfjJu2Bu9bRnGSc5/3f5vjkcvKr/Fw/MTTPhgV/N6g85m4q6viOQM8foaZnsfrAz/HX61ewvKctKrzn86Tdq85GGmsflG/dz5WZeSnEuhUeyNIPHk14XnE60uydF60mClpKT7PwuE5HrLvL4bPeHRfbBZgBHfXY5/5uSt3uzQpPGMzR0E4R0k103KQh7mTYylINZpRsMvjO+jvih+tQHG5Ee3tgj5EiUrj0YjxCDC/edXuM3IXa7xGVDE+/l+k3g8LZXIB3UmgxYnxY8P3V2BaarGjpA9XJwPGKS0+T0Puqz0v41PvvjlNl5v2Hqs2//rYV7OexH8n40Y7NNxGWpCx1WPvwt61SKKVgyoy2402/Bi856f+UxTfjE8HbEenzT/W0zaKHvB277DCJrirge5bIWW867x+meemNW1NJuK8vtzeeX1qLLme/v7U2YP+xHwCLXf7Gb0SZguFbm6ymlmOCYNZDVzecvOyfFenvZbFQVi+H+ip5mdMtDyyrR1w+v5cfOLlfAyxtbH4jC1e09nZaDCWxgieg0P+DKKotxUJ5aMb3UqlMGsrlH2dWm8LVYWjRALxy/G8KX2viHqBOFyQqD54ZfYGzc1Fvdd2hsnGwmas+WapN6Q6x7VO8FsYPCZz9ZWBRnCba3c9Iqt4aEiTF26mug29O1MnBIzeKia3h7t0zxau1Nsa2Wq+8Y9Yj3d+dbB9afX5PiijpVtTzVHyKHjJvbSflnpu+qHiCIHq1KiW1KUlVcS/lSQH3aygGxIU2yVKsJrX2BT4+4B4MHtmsbXdMMsVPDmbMBLnCjGNV1q41FTcwDwHNQnMpvKNhuCV5pRBQyzF12xLcxnJ0WaH0gOsdkuH9gaIPjbI10qdpkKYV2M/pj77Xez3KYU0c3LL3ntjpL2JuxXHvZM4fq5wcjAkeT2XGAEqqS0Q0RhVd+VgBsGLHvScgP6vldHLtwktLQJ9E/WpgvK7jL/z3b7xykLOg53hlkcMf3IZ0e/6C+ZDK8CuiT/nO7nFcA2+5RtfL3/LtzfX2bDG4hhtbdWgraGaqDCumI3zAqWIywrx/p4zOZLbBVnPrzBfb3yu4xoMIJqW1isrLNVZHk8Vn69nAXTUXNqbLyppvcdGTO1C3EiOmb0qMF50OsscdV6ufWmGF5OJa2Z2O+cv9vx9Mfk9lslcRTsX5ELc4+euYG+I4+Ej3DKOjLOjxfl88bVg7wXy8EIPMuiT5XOhO+PtdrERkzd/pgrPMrNax19sP7jo0W61jp+e+smn+eaHovA/rng7t5gQnNv7gzfY6bD4G3v+xbAuI6nVYXnbw3lqfPJb2nwJprdyH8oc+S2Ot9fxX3/XYjP5kzt/xYBKMglsrUoBHTBS3pXklzTVmtpHu9Vc9SN3IacKehsvXWl2x+grLxtoI5zMg5f0pfnSDuRh4vuTw9w/nuPeLFj4kU7qSFUGq7tDJhjVkfWYHQciwYOv9XGAJrCn3lSXnNdLNcHWJEoi4eSqJHNzLw/V801TiKRoDwuPaOKXm2ZfXmQdFVbo6uZTVyYZ2L0sb2xhRH5gHvPb+mJR7VguVJRMSEYslIl/wYhi+SpLlq+yxvsJwyc9tvlCstL6RVj7tjmWLD+My9aM+5I5BpOZtTX3sKldf7X4/nkaqSxfBfNaerBD2NypPjUmEr/XwckIy0NuOk4AkPvokRHVl5bWa3vZYFL6wQSUhzpSMpOCsArR0/QUlCwigvaXcebhrNoqeLvLxlaWDyfn+J2cLojAdJEzlssXqdFVyyLQYqoZ2nkjf/mYbkDfQMuVg6l7rHos1dgdYWeSgI3hae+rMJXLWyTJT7ALNRVdXBTG7kLsg0YHtnuDrCXNQsu87RdjPVl+7Uw3wRfa1Fh7pa9ASfKZOt1uT+hLoYx7alls5rZy8B1LvOSF+GWW6F0KKt2xmJYosPhc5eggNqZIM1He1g8zXwjbjNaHLeHvufDi+OZsHL9tjnWfcgxYHETd3wxfKVq2Nl/y8WcZGsMn5jwmbT6WwXBkGUZ9xrgRJ7BWMn40Vl8+abFZGLZ3W2tgwRrb5nA1jso45tl6ShrGp87uz86ZC7DzM30qT52VWSlSptsvdTrZjzIlSIduAfLKG6JZWCroUJ/R5jqdvsoXzpKhRSss70e5dWClUskBZyCKXebfIEu1CUZmLa/0ZjHqZ1E5hqGB/Mw28XSmy6APZjCqs/lRrannoHqwzsxLeYjRoDC/nNfyqlO5MCMpQfQqCLB2WYFra55uqk1UWJHs14vINPIMq8iUZ0Eqo94kOCrZ8KuQJ+LJyWY1lcEwrFh9l6nWF+tNQVLFaBY4d0+TZ94rKm1qZRb0g7qUllFATq+zdETs92bMRzyd635qG5YDqqt53yD9LD5XVnC/jQ01EexRNZ1d6BKul82YMDs6E78Qbl4uJY2ZmM9himJyCHMS6sVGSFLqYZ9SWSknKCw/69WO1T8lGQ6QJqEN5SvZkefmsXpdhhPAdKwWl6vDy0h4HjSz5xl+F+cdbrE1FBhDLB9wzX2pbY4f06NAPEcRG4M215l4DmCoKdHSwo5i+Tz/TAc5vmhrJrv1kfmqi+is1ZqHMn9xCcuY1zLUsk6ymYxo8yBL6pDsMlmC4FEywysZ5IIoLDe5JimNM9sTVfBROppRTx6DqjJ/lyw+f541Gd6DDlRQ/0tW6gLMY+OGHMmhoKlsQmEUuebyOXwY2F/scjBzbEvQkBYodCehw6leYvmsQFtqqF4oOFWFga2rvjOjWD0ScXwf4aljyOM9dRJXQ0dE5vEAvamh41QTDxshQA7z9xlIKtOZ8pzSms5stNHQSuq51Lmp3mionFabDeg8yI/h7DFdXyVl/oLGOyYRmF7R/mr6mNOUdvUaw5SIWXxh8S67Rr0u/+HTDz+ytU6Mb2y+AnHsEpirC6uhLPZTWG+ZsGNakcagT+y4L4djQfB19bOm8rWw7XuQMfgrPM43VXmZm5OLm8XQnrTsn2WBYJAsGT2Ul7cl7NVcyqPB1LTpBGT61srj/C7GrtsvsxAVV3X9cgq9GD7nPXkT5BlYBfqjNxTyaiUuS3EXGO8hMrx19fUY3L+OR1cN/CKYqML7REGGKe6XO3supKioZqbSe5hjURwNg0EuWr67K/2yP3/FkV7UO6JFo/XKv3tR78rb73e8HlSJGUUPpr/F7CS0RVfzov9gsKYgS7nNQVkbIo6RKqsw9scwPxhPBJs/C9xe2+oQLF5QczxVJlsH/65h57oD0fP6YuP1emQ90vQd3TFOJ3R19d41kd5jU1HyySt+l2BHXTdWBsriscZZ6FwiKaY6+dIMGri+SkeOJMegr1pfy/0f6zbaTee+X1pOiXvVyO2lozKcveq4vx/Pem6ERT97eoPCT/tkgeQbJoZ/j+z0fFaOp0AD2S3FeKZE/ooQaftKpOAQfU283/iUp67+93c+Hva6+iGuV1mv1i7/8Acx+6v1FXKdy2hxI3n+eGfvyQr35Wdpx7NhsjZkNRhMtxBQl/PP9bOWa7HNb+R4gKGole7JoOnZfqVg+9eVUlMT+6TMj0sjxEQDPd+ZgdljvtKnVW9Rnq8ZxrhHUP1WCxfZJL3MpOxKFWfu1BJVs0wpKFhUf4uzJHSB6TSh2NHVJnEMPwl1H7SkxvVMabi8BK5HehNFbbIIdD0H1k+dyNUW+8kDdI0vUpc7s5HZZmpKpmmZMf57fIUgVYT2PRMGcbbhelfO8ZCibox1eEW87ZYcJy1vY4Eq07142/7gy3z8v8wfzHONuznO+qXlHfz2BfO8FDinRuYmnvs3S83kgObm1j1Mba+uj5k0SV383uAafmPjg5yJVqYq971j1Xe1cuoe5L1eREnUkJWGMqPf1JJBRpqFajFUJ5JBp4qGzbni32FywZxM7uP5uXyWKAW7ts5s7JwNNEmjKstVdNONKMmVd3ZUaaSBLVHpza2CdVbDdHKcZ7fczyVdqeusOJJUbeqzptz2+itaY1mud4cva/ev/FE2Xif/P43Xv+LIagiv1FUuGfCMs+VTe8aUehT5lhkvmlIKQHfVlFc50xTQpYvUoGayKDLTVHPkwhg90KAxZsHdnEnkoIbUVeuJiZIKo3/ZDToMoGi+IGSuMJwfLC1IU1J0mEhh4c/jUXQKg5WDcrTScLRVceIp9WhmwFJrN4k2y52ZUTg7tim+cwVZqCri3+QB49eeigrPsYT2hf9UxjLDfTE8llCyumFoE5FzLL4TDeTsjuGt4jbmQGAte7B8WFeNJIb1RTLE2lTT3qmAVdBf6xL5S6y4frKAaf7W6qlOY2Ta/YPwJY73S9d5hjny/HEe5tFrxOLeCr3p+GZ60HJF+ZRRoc30SKkcRNezUYrwJi018i57/iGT1FOiWAfXSEJf2RtgOmTosSQra1bAHH5IDyOcnGyU7F9odHOXMjWy1NClG+h40t7KHNCXn8KlkQxdA13Wrx9mzjGHdLfWHswJr9BJYUfl40Z9NzEelMbWICjIN14Nz2chCbN3d4zvl/Oysdh+w+pr0iW04Zmv7w3DXUkH+JWc3Zph2qaG1X7mcXy2noO90Xcbnguw7PAQDbdJlvjNcZBhbW8/u8gsuR0MY5yP44IGpGnrlxlegQLbp54ZB5XGsvys6bqxVWG7eve8sJZPIdihYXlRVkNp7Gxs0DW8bAxzdfwg7XcP/d1Kcq2QSiXMtZNaDmf0tNt5wajpBVEszyXNuAyEyXA46Fs9eOFBsh3KWF31LHEhTjf1zEe3cOp50gSn4ZRzdNdIyRRpD/eyfJ3dS3j1XtFi6IGt8BgX5HVY3oo7Pp8YJOBkPitYXcTQCyK3Or+l5+2enomg3nC2ucu+U/Wu5tNbTSuvnM7VfPKoEPHOcX/bP+eD/oXz8HooH0/Rc4TRcqKImSYK6Q2fkTNAq6ew2r8t1HtOMrBlmAs8Y+lJ33gL33gtF6RynMcc/9QVMF9DzG04Jh+K6I2orOM3x6RjGF7YYbnYAQGdhOe7nxk2LsMyuzXX6ao/2u5iaRm8GC5bqg7EvWDk6cF9x07Ur4XqXUaaNz4M7ZsaP99Hi2bK5eRSfRFPcbAyz6fxRIyFmNTsFWoVyW+z/7y+vDh+hhpYGtRW9UstuWEioftgeq+NlzAqYW7SeZzUW/qavdv5X/32jxlsUJuU8Yxy+oQHMhirtcrzkn7iNZwzkNdnt76AZOC2fEJb9OGoebcY+JyD8PDvz4gmLI+Pc+S6DDsYd3yDH56hjmsIPgdgo3GfBHyfzZMPDw6T0R3nDbdN8HftE79fW0vf2S5MfmkcbzRj2EZdjILnEHI9vPVLtTV3TIc8txxxybn1azitbvnmPmOl48Zq37fVMRXccHvJ6PgSl1rmRuYhg9FbKLOwrma+tJut68pTyouRS5drUU5mAWxr+cKOwYZVLRT6s+m4t8KBtiiUHZancyxn7jvbmbqcGYcsdWivzqqhSfzh3n2Yu2g8CzZ9xxXLFUpKJK7UibKNHsuk7FP3jTerQ7yyMHm71LdjCpbZux6Jj+EGq7cru/emQLu5mrJ7P+fa5bY9Sn3X0DRT2a6CCap1bN7polHmTRJqNUONr9Y6xkshyQ76+76M3qWmMuwOn5yIJVU62NFuryIjtXra7+opHP2XUdyuxtnc2Uq9S3P5OmuGcKy+sWOz140du9l4+Pt7yutLNVajZ7bT8sV1uivEu3+ch+bLOcCWT1bLjIQ36aYT0V1sz0J0vPd0B81eTjn1nIPrheI4S2arm3947DeLHPS3RHZxFfmO+9qI4ystla2eaa+ZhNp7HizVIT4Fu2qfoPRRG6a8Vk/W2RhGLpZWqKG6+pJPmg7GE0FDTFON0EkI4zhRURIWT7Rz4jb/61e9y4rh67R5rfRs+tG742HqeBzb2jzSzqGj844ObsDqmKO3Fjr/rIdRj3QjHO+ls4/x4WA2h2XYVBtrwYuJLyDTFgsW+Bk+NhkJ/qoDn9PcAKG5SET98L4fV3OD5Q8H2z5cA9eh5eafNT/zd9aZstyf2PKvWhwv6GPD8rnJeL4eP1xWVMdN9InLtLkHHO8rQc56VAb78SFeh/NKnTqZvUahKginhXtQb44Uxpld5HRtZRSJdlmrBzp2vNEDx9kqJf4mM/HGN9DKV0CJKcoAFcnpk08ZgqTi+CkUDZGWsORuFmcPoG2ZbNLsLDp3uDAspgQWMNMLJ4zr7MXxWBm/AMgVDeSZ1uI3LrheGCRLpyEHuI7lf7N8p4j5NeEefRazMjh2NMc7frkFyMWP7ki5D5VvLFeZ6fDoDzxbWef5bG+eS77DeQo65jqJFJTBpiu0GuoH82Dnq2kk3umcktHNT0ZWVNtLMtud6ihT8W2ugTk1W7p1WEyGm0abuT7NUFblM4nusexny1VPWY22q/mWpPrrodsOWc2DaEY0FBmLm+3CSOueiRUlWYulvNmUSb58p1/7yJzkxv3peONcvLTxCLSO5jSXxrNDgywjPkRH63B5ucgJk4PT3AZqph30ImFF2mD0JW5QWGh2oMuDJpOELF6+I9uMY4dexlMZsbroxFa8cbp5TaK5WupODn1QV1+UTBIEykJIvLcZ09ypzVc/T1VYMMMFzsqinipByZ7B6sDR2iq1UDlgVVWjIVZM25LoE/kVw8Zi9StzH9eS1tT2HBRbEtC1608xUZLWX/4rH9eirR78J5ZaynxuAuLYzSnrqwUKuL3VclXUDDec2Wkmz2dmvlfMY5TRDqswhuqU4RSPGB6aUmeCFq303VcM43pSR+qFOsda33zFI79MYi/LbDFlWCEsZpCdFFzZwwHSoAHp/IiaZbYYneltzWqlUX0PQBefRao1D6OLG4U4QAN7YpfWblmaqpRNLNAd/fkhBn0DkUAhRyuwdBzj4TKMRiRMDWXfr55vydTpTVJqx/yKidp+TzORvJIU5MAYua0UtS8qal3YoMfbLyQi9JF33/pDw2Yi9375PK7b5gS8bopZcKxdjrfb5baymLA6hz5lcQNLZX5px+fx/UBWZzWPwXEsdrjPv/Ciu5x35leAPnDGvK6F2SUsnpyaZ3jn2Wy0FbCSfoVSdQR9/hiU8s3KYvnySlm7HhV8s5d3qoVBo+kwDnUS3UIaYXRIbf22WvvxU+hlLp2VSQLXJ35xoWi6t+aHaI4bx8UpconM8DAuDA/jsqsNHRf0EUa39nmS9LCUZyEfsws6Td5KU5pmBXL4hTLQJ5ZOQfZY62Mjy1bKm9oYHa2qpoLxMgvjLZOmqGFgSyc0wuGcXE+oNHewUu1oNjud3+Sloj1MEFafN7+LHQ4eGiHZOpsgv6Od+SaJrpKDUQS3+9E8tf11Q4TFJ3acz4bnfSg8/6hiql6BYD7YGeMFZRio0dKuCbaCVIP+Ui2Wh1xHWHtNmN7HYu0wvkGKvCIM9swSBRHDehpY8DeLP1hhCjI6NTQwaDHYh1rT4hrAfDqD3XXyGA9Z/bN3XxGLc8D64UT83nm05HjOYSpxWcvqA1puXyaDcXCrij5ivljTZhxb44dTT0FooFCaM5/7IZ4oq9pUMBnGWJRERDERHyVZZeIJPQc5WkaheCzVUx4WoOHrMFYxykdvDbuGgsIvXG8LXINOVlNFAeHr1qbhxTJMMNNcVhG0lGmhDfz+mkxxTvXtWdbwstTwkao4BVtgHxGUTSJsT3S03dx6e/ndfy6XKNnEKNo74s5eoCg0xS+XjsFEUutSdaHL0GVsoq1+F8be18VDSpqa+LH2Jg/hNF/HE4KX23RQqaUZaj1M52NM47CikTrKTAXtTQJrs4GVGOaftsd1dF+hDEtZpea1vgIjSHDAdvfiSMHn+wykp7zJEnWfOXCe6mkFdj2drdg6+oMX0uIpWjWOuziiatYygTmtWswGbaJPDa/a1VG2On6Xu639iUnJ81E7/MlP/nb8zSvKvt9irzZKw2Sjo4Pd9LZf8tNp5AE+uNTBEztWJYWqvei6Oi9ObKPWhHHXg4wdMxkLso/UsE86TvvfexRUw5UeGzalYOlnMyXPqEnp3e/H5Tw65gmdbTaw0G30R3Lyhh6rKZbbe2o137PKbFY7PUM/e/TJ5+zwa0s0q/GK5VFxf3+Xy8Ti0E4uk19tInH55cuac5DJf2yPP7CB/1Hzw3FXQO+if62rhgnctVGIHkEwyQjaevQ5QLScWIbS810aGU4e3Y2gPIGdctdCE2xUx4WRyGFNv/faUBGkDlPfgf0JjosMp3cwpi00J+E4foPmerLyK2tD8ZoVXnRchcpRXfW3qqPdv8KQEqO+LRVaWgqLpdWEMBx/uA/62Xstfmq25Fj89MFw/++Iy1x4F6Hke8R9LwzPCH30bcLypDHS4FeyMaxyLLE56AMP9ErZmtK2S2Z+YwgyvbXjj/7mhHZz0vu0ZWuz8rb03W9sgR++aNTVYbnfOLkt1m2H2bpF/+QwAJ10FoMNcUAbW6m+ZkW9cVAyjJQyCA6JgtRVmG+gWzc1Mf9VWx95Ypp5mh956MD2/6yRJ0zPEKoOz1mkHS7xc9S154Zjs8YJvibvkhhoEkE/RGpTk/nCvWZaBKoYe/ZLEx+rH4zX3MTk0D53jiYxjDW7rblvcWBRNObz7p/z7TMPGfYTbvNDzDaeUzI/Q4MI6J4U95DJU2I/Y5vlErwN0KdhbgwYphPKf3jCfuYOx8Xmber+DR/6EMX/5JOA+Rf+Gx/iP2Lksj4PyV/kF0Z45j5l5JbVf+jLk/3/uA8rNtaPHceF9sHiVlHXp9B8nd5xRL/7tJfg+O/96uDHp0/hzX/61H60fTmR1SaKp9FvPOr6hZ1urkmw77fnQBa0e+yQN8zH9vnhL76MP/RBntfMAExBp+M2EMMe4vHpLhbEcq/A/s14HQ7HqfyzBm3SrNWtNB++r0d1KzuLdabNGJdfUJ2/62bRQ5+PxZF0H2/+VSPWrJ4uIRfo4Yq+V4/FdTRRbhkR5B2zfQl2n6yWa9n8tZbrNz4Q5kWdtzYiQReE1cj8wX3KOc2/ua44B/rBWZhq+rJydDIRj0kqr+yD7TPgXFLlcySNZfY8/35c/q45+4rpU1HR4qVOZj+/FWcKr4e7X5fst3qHJ8FB3d5TkPaucKmxwevoxsLQeo/eVDNALeA1wrwWuc0P6vybrT1vfOOQkB3GP+sLr6d6/eTqwm9C3e/oE+y0uXHMd6akOuJrvkNuwTReRubtZQ4mX9XAtIm1jYOpFyVfU8nuz6L96KemObgn+1U/LPcjpQTrdB9nygTJdVItw2x43fSHX6okx4WDhtOyX0yLo+YX115V1mA5f+qqn9f80N88mb99P5gY4uP9XFWTn/h73cJts/pynePmSv+SM6Cr/EvGcCy8v9scTLbEHxx0hq3B4sOIVH0xQ/0gNy9RmNO+huQoOJn5eGTkYxlX+5pB6atsfWR4eCLp9HWGrcVwVzKYEUwuV3gB222lHu3gfSzR5jTJk8Uk3z8yvFBHLdz/Eta/bh1O+TrczkmNxR+z3+shz+ee1WjMaGcXNT4ig+MGs9jhAXSSs5nxfm3XvP9uTcz+uiYef697n3Yhf78+/1k/o/xvchXJyDNL+qR2jmyJFup7ckPr6ubJn7x8v2Y4L7TD3WG6mVihH2ywFqcMZyArWyyYD8ZNrztvMw6CYcbwvrLxkN0H/0WW+upqG78tRFVruQyTAfwcXI3aXHrxgf9YF3/j/v+Bi/6vc9qjXRfHf+iosDaabf1jxutBQInaMHyjeY1tJsZWbH388PoFXT4eyBbnwPlhlR+/PPnbenf823qJ/1ZX+Z/Wy/96LoCuPkfe6y3ERS2qL4vYEogZZUrMTEBdnQRJGZZPt76gG9dHWPsLHX4SbjkT0DcGUdd3f/Rz5pVsDumfOSRE3Ry4MWxJjbhSz3Xfv/qNGouuVmL6J9eC9buP/ui3ye9jz9cL6+q4nXOh+4fue2SYwGjL9P0h46oD+5ky2eojlmOpEB8FLZcX7Wp7ef5kH4XOQs0YNo2stLEHyvGXWX12x/MC60rKOYDdLDxLD2MnueouOJQL85D0gqB8gN13+ZKDM5UcnJ8jVSnu1iFujG2vUcAKuB2f48Mg2RmDjGyPy/O1GR4XVVI9l2E1pZl9Z1iA8/1YF2+e0HhjiwS3iV/ctkTXNht9EYtVtIn04YYGq1l0SDdbp8Sz9ekLBc/ZlhTOc3+yns+xtpZWVvDND6WKK1oivLqxwfxAVomecA7zscd9YqxNOC5RhwnJ4zQEt/X+lv8bl67N1+3yhvXvHNS2bq3lr8zbGA7PewppV4PAfQMLnqvNbNJP/ZtPO1w7bmtxfp02d4DnpxKtoTsctusZzKN3G98GrfSP/Ne0z/TGts4k+uQbgR6QLlAaZaAPO17fy3vBtrbAuvD6ZrMd3F5xZq7UnFo4nByM/dPQi+RgUDrUi82SNseV1SAbN+hks+M+UdXXbUkzZ6aG1QJTqppK0neD5MsIQVumJMD5fXBSNcM/kJXh38JZaE5mYX02MAKh55hKVvtKnsKUqza0zKboPp+R92UeK4gah4unbNKLq14uKE9sUt9ME7s6dGemIovhTqjqQGJkISaKI0xC96I3zsbrr4JGvArDqRUvkLMmuFzssXS28mrL8BmCZHWwjiSCZ+tKUL3iYOi4RaWpysTV8oujvitP96PVnBIG6FcbRSTYhSxYC1OYNVTD1FQJul3rZTXYLXq37Zv2ZqBSKrSODN95O9KFoUczzOhYy26p1hwjjaycytwL40eURZr0f4h7157VlSVh7Huk/IctvdJ7ZsRkbO5wkjNRd/sONrTBgP3lCAy0wYB5uBmI8t9T1Qa81trrOXMmGSnP3iywu92urq5rX6q61p0M/aoLgl2/iC49LWuqZvB8BjrG0R/mUSjt9MSy136Sj30qg6QQhvGeQkvOLSUdSsbyzDIFeC2Zb/ge/j72Y286ZqNYKD2yNHwS1jn4JvxsMaWZIF0vBmCB7B/fxi9o8l61z0JXObl9i6aWzw2MY26wW8tp0ig7jjjbK9/HGqDix3wTKtpxN8yX46G+J2RXxieMffeOuVhjPCf6iXWlCWnHCCgPXvms63px3grzpY0xLol+D7ae72KcEibw3JgetoR2NIXOOyjbh/qojTmkxbDdVLJ2pRKy4hrcldzFTxE3dYg7Phq3ztKfpEO9Zva5S+SGyaFK+mHkJYtrO1kcKhXA+XUx18h5ZVzbV0MZ7zUSfr3ijhA8Io3y5hUPjEscaBzjAXaIi3E0NJnn5jPf4t31p457WZ/Au/f3erFe7P3DfZZ3mcMb15WL2GfoEyayv2X/eU/qMX/7RQbpnPjgVGXgYPl9UDynK3mfFROva+G++m7IWKediAZso1SrxpR3xmF4IfkrliwnlyStyX5e1+0m4avmJXPZvTFtXxuz7iB06SaD/nL27v9rvqODti3Sr/faV/pE+13GUS73Q9YxbqnMUcrCg16sz0/0Yv4U/JKwbqAG04A+7rh/gWBcwekP4y37TzJpd5mDjLT8jOpDpAHtrl9zvXdtaJXKujVQbntSXLPXmGvF2Gr31OBmXzkEk0i7e8lG1YjEidYlrGaOQ+zntKncUkrb+5rI+5akg7XaBFHS+4y37P9/id6r7j34/53eN43zf0u/f6V3xgv78D3uP9I76M3/jvGGD/sv0jkdxjNj+P+ZvtFpQ/qW+37JnrAG8QTGAwnx3NaUgI8TCdyXEmIKU5PYDbITbEVecZMxl9I7Fw2e4XvtqZZxq9HXk/jBzzN8GLn9yVlM2Se+CuKwwCcpcxpT7XM//W35758v7HK4luvihZ2uf8rZD8+X5Wb5/DRi4tTdimzOdnaPbe62/kx60f5rquRU+sLzU9OanZujPubK2uivc6TGvDj7OX/FEVx0j+/Ygvx1Nhbw/aeyyesc6tfrXOqt/Ws7lU/d0avOLvv5G8/lYD6psNFDmE2RnaeVZOs3o68K+uKm9ONHo0285KO8B7ruUJyp9ee//+bqCwbyj+uNv3t+/8193Er+U74oR+57CsgQUxPrKllzcK1slew4W5JeQE6cVcEplXlP5Tz8/Qcfiku/6WD8EI8GPz+ch699/LRNeY7aKOcc9r8r/zXvHfhp/nuvO9i2dQ/zhMk8Rnjm8BeaR3+a/uP2/7P3/7Y8Kcsp8O/Ld1L4WiV83BlrmAatgWGS7Rh8qThIiu/+6zv95fr9TQ3003evGN9sOt/f3f5eHA3MAwEf5Rz22SPrs3uYMj/fuc9Jn67Ql3wQzIcFn+vP38/RP3f/8b6mucuOy9iWPuAyCaeLRJ8Zd7O1nB8ImTcknPrml+/359f7t7r4wbdkwvyajhN3APqm6IfSNll+xrwX0/6BP2z1XFXAByYx+X17u2/e8+v990cqj3GR/1wQPI+GbA8voPfXuUz0wYTz2udmEz0gROYurRV5RsHnkXN8uDfdBV/KfsUTkeemTVzLJ7JOmEJ9Hcp/iBkhc5KYr9huuE9CxiYv9sPgubPwdbYzLs64QTtgq2iNRF+bdFFRaBjimeKc2CvlhnHm8DkXlIRuHzpmTTlvqutBL5nlOr07HUsqIy7Ay+nYu4HTZGRZu+W6tm1x2u9eNWXV067ZQLsKczuvqjba80Ye9wapU70fTMw/1eOq3qN3YZCE2LPaGV45XgnM9cCNcLJXZuHuOA8vy+ukJSgZapW1EWoaSYHbyZBxD7zbXuNC9MsXyaxFr35YL7aVp9rRmB+Ak9RxwZ/RB5cOdeerIeEzuhJpL15qldpj2hKNQUsoHbK6TAAvoucx0WPb+SjYV1ohz4d3exJ/aSAvN6nKuDBHl2NXVHoOFSuzw9/5tuN3vMGxPC/m6wn5bYxA3LustVHuvfekvNc2Bc7fT7Vf56fou31SxOcCO/N3+TjjP7XXcIs5k/ca0Ht9gBX2q4bAOnC/x3W/x23U03J+4A33n+YIy734FNtSMJ8Y7v/hmG+xoWEOEmWO83n313yeg2tQGr4frR98N1wzMsTydiUrYC3Kp695HfIzPu0if/kOaFwF2wL4QsY22GiYr3pT7AeTubcSjuc7H0X+LZv+dt3IWY1Apx9bPOulqNevhyPqS/jda63SHjuizpTlc3LwXntL3uug7dl/9gz+luWCj/80X1Wsv1ly/Y25uI+vjnIA+BFtpiI3KOj1Ig83l2fWLdlfeXb1tSfjk5PyN3Q1Pkr4vvYf+L7mb/i+jl9v+LD8lnvf0SCZ7wFHsn7vP2tPOas6Mf9Erz/t53rxg0NGOn2tMwmHyZwyNYz5ZghcXe5341t7QKfs+3iD05B5w7pLgGd3wzJPDE6sj4u6RO5+kvML9ms/tYv0cyW6S+5F0j4q4zrewwrhgczPIM9wolyl8Y9j8M4BeqCvOEzShmTBS2Y2mMwLAvJUf4ZFbnmOMZ7wzG8RE1KeY8G86QL3pkn/vzg/CvLeFrgnE+N44XOhBbLeRF9RymTekbGyoX3UD4HcCzmGegLPc7jT1/72Kb4baGJA/XCGOayp3BMfjuQ+aZx7Q92Q/A7fQV97CJflDVUfNucM+g0egGXkwjpsXNfOVXD6863GXM8R9ya9xzZ4GLaRELp59HCu5kr1o8ehTZA5YyoaGuWuleeYe8U2e0Zi6I8MFIKdUjxf/Dg3qDh+TbT72aINy9HcdX8SDiwt59rYPugPjP2p9vpj3ZNpzEfByvTDbTSyk+kp5IRnQ+0enHqbHRCY7QBnzwZUrA2uDhiJs7kIqEVUj9LG1Lq7QyLSLUnCqAe6XvPdy/0UryeHcNGvXbLhY13D3CBnOa8zfM3rqDiv43UIZkLXMz3RDQcDbBABOBY2vQMkuQq4UDfayHU1Frt2PZTl8OHG7kh6jzAeTx2goUZKksA0eAbdDQNz2BgZVB0Y5Gh5dzD5QV/2R2rQA94yDfsxsYMefbp3t+b3PNHRuZac4yTo63cxx7ipFg2GRgI8dr+vN89gYCT00n80Nhc15izPR+Y4m+q+27WEbTI8W58H4IPFR2c82bvmUrVGmQk0BaPWaXPVXnlJFlrbcN9npG8ubMqmRF0/k+VkAsMljOb3eVDIO7/r67yNXK/0i/iBck/hk9zd7etcGOoNueY0FCjHXNzbhbS/tXlQLejTHWHdPsYaHukPr6DlbXF2DHN122bU1ndOwC/6yDhoYnmweKfj7daVbnU5J9Ng647Vm7vJRrNJarr5dNR6qGclfFY2VldzuW6T/Mz6qq+QmWC37HaiCdHpRBVWNTKVZR5r+cRRZjoF2tXIpmpvb62KcjYUXwO8DOvBOD3r7J4ehptT6KyboyHIC8Lve5OruZf3NBL1n8NRwzPN0DXVcXc2uXdWs8CXcueHeJrg55xR0w4FoNQMin0xOP8lGjrufbaEG4MswrmRASni5lSHxJXn4V5lT33kUtwDjWeXbDmn5j71XJ61M2x4RsYh3IJswL2vY3k2Edc9qljXK849/nYfBWlmlHDbAGPLYbxhY869IcH8eGeb8UAnOce8lXDfpZVus7US5mN+7MQGeazmj6rby80jlHGwwSY9X58w4i8MNjoOiEvJWNW1h73sJ93qQsSr/tMWl1/3MIn+9iL4lFHMc+pSYDsbd7Eae68J8hIMg9BhxzNjIu6DXQZiKQSbPRi0hRUqG0FrXi0YrRsZGW8r4IUoWurCiKZcI4GG5W7zXDk0gqXN3KF9PFV6wJ9D7o7+pJuJ3LeeK7ezHfGwj0rL4GSO6mWL6ygyzhLm5YtBeeuzPu47BrltJK6Mh0SKvQeAc3m+sYLxGmHsLNA1eDaFSX2zlTrhZXsHpnNvaKDfUZ5jHleLFnttTbkuBQSE5yYp5ubCmJ2Phga8cqUbucdW+gafs6gbjvGaR9TCHKPqdb2/VK27CTaLMVJ2tcwcEY0afEdn2cne5Cs6px1Vaa8OzWGla2Yr7fnY7xrxscf0jHGurc/X7SoNde0pNitlr6ajYGds3Dkljao6bHeTdnjcZEnXeayGK3d4HYnG3L8oQ5c59vTBd8p1VvGDjCIPA93uNKCrfro8uYkKMiZo9oDq3Ydt688KRsnrB4+9ZWnB0N6wFcaVHkSLuHEOKMnFKjJrp0nugrPRnpLtOR73od+T3oBzO+cGvxq31irjelq1qsdQO+5dFfNNwvD76s7hWd8IHG/I/HvnmZm9wNFNX3Dmu1HoJ2BDcT3sGUvOz67xiLZkllMWLj3o4yl+6H1TZBqZZFQDObye7hZmkrn+Zu5sG+5XT9gg37PQvJ9dlnQ6jLHJNv7CE0+xLbq9IYsGsdI0MdSgjft9Lx1DwXj3mpxFnL3yZtScTaH/ca86yHD4xBiji1EGNhHH3GFunSYAA9FTGXOE2MErnwDOpz0wfjPQ4pnwHPE9c4RdoXjOFs+6PUPiPGT+hhXFc/hP+IzVpV8NWwmwjUY6W+PeaZkPrvQeQWgQtc+Ecfdc66zc+pXKjalRHoBczvZU8zLMa4iHLKcHHpCb52/6T36zE/CuNh21/7DJjNKm0r4o51ulprQrlx1ZuXzibk/1pK0sNs/0nAy2uatc1g1GbGYe6qONSSZGbeQ3wuR8bRkbciPnr2d6sHy+MPLMAPkzZALGciRS2xceWdf76/YxMbUBuEH67Mh2s95MwJi1TOXWmms9MzVz0JeJwm/ZEWD7qqj9Vi+YmD16HPIwT/zzelE5uquEjOqqelzuev5ycrTcB8h/2iVG6JMA3uvHu37df7Yfoym3V5HTH773b7/OF732V8n5fwXjSsxknMgOyAu2Jr0OCA15PrGL8ZNwPX+Q4942F+d5NzJvnNwPIPPKPXEeGK9lfZmHL1DBKvinn/+9P6BPDCb3/56gvWeRH9CuymvQP6AzqnC9lGvdxbWs741ljkDQGcE//XwOVgdm4HOLnHw5niqRefY0ghlVMUffn8vJKB+wbScv8jFqHL6BOf5rbbzKcQ4bj7vYeHIY57LxmxEuPQ5bfhfHYb6tx0QlJdlAExmN8XvbZsV9qK/lsj62Myzawec6vysn7/NaN/B/ogn6PzLjBo/f8fVu8mwG+AXkEfjIp3APY8BMirkbVc7RvGKQ+6Bbwd8AG4sXczke6BB5hgN9hRHUlWcmwZ4q76+lj4HxhPLAf93D2ESv2NKqjLsHsOD5Ad/xwc7wwyGurxexAHG9VcKEa/Ygu/VdEfcvXB3b2Qzs9IGbrFperj78vLpXbkApxA7tUcpjFqrOgfDeSA9JonHlZuy1IH5o41XLeNoDeHZ2/YqXpki/4CmQc0qls273KEkXoDfnZgvq5erco/NP+1Dn2/YJ7/6u/YUp+MbMU105nyodHLFxuOyJdE7mbjLP1adxjz1t+iWcrdtzuH4+DNtWO7G/wHew9UybyvhslznRhRhbj2zUFnoT6gSgT57OF/3C9xhP15s/dLO/6SR021oewAZ2WP5FR8ZJG7tXTTS/MhY+2WZWqTo5Hawao17SGTPaI9UEc/OcpoKCDrx3vvRru3Jv5rTPgp77mIu5UD2A8alNzwkdZWeH6JVDpFboRr/1iwWpn/xrXZC9PBcgz/iEeObHRF1ibHgNfIKpDtcE7RKu7+V84YajzWDkfMnTC60uvetuDtwVOH1/GQG/93LqK63tygJfv72oVPuLjsmNRXEd0v5ifiDHjM3qiyibBhZVW8NnfVKrzY0dzfe2kvOu8uVXlfPX/qK07ft9r5PJRSXj1R4c8cb9nk6n5XriK/9jhoe/R2gwO4LU5Pmvh9sH2Td2nvEMuBxMThVz7BwcP7acnHOykfsATNz/KfezajI28p9zLrRHW7dVObkLb2CsyURJA+ra/YpKrHnHXN/IrKIEpwYbzp5j5dKu5Lf2Sq3fOyrOLMK42pfh+ft8klZHOcV0dmttyCxM3Gn4IPs9Uy6MLWvrW7Q7+redsSra8Tprb1ip39pQ3h6vreeYHNbfzmVomJ/2plozTEdkgDch6BnjEIMFcyL9GEOne7g41yQa5kOkMl7JVvpfB0fgHEIRt6Qv3nMQ7r4ok78nYHMU9mNiF3FbRbHfB89fFnHp4gfNQ1bMFzeYB3b6e055iLEWBbyr+A3D2aA/xPSUZSjDMMaZfpdt4L5jzBtjoeyTdg+8B+pU5PyzXBfEWEEyBtnnPUW8NNyzpb/jh05BXpky5sVYxk2jRQzaUPbd+PXZTRHfVL7HDw3ow81jqkaDe4/y5qHvwzsxnjauoOauppEQXONzH+xusCN0sBUDlz3DVW+azXTN3vXuke8njaMuVhxk7xrcdZPsbUq3nmkQfxyQEOPX6OTQsTQNvK/A77u3OwXfc6glqQa+TUx2sUsf9lEjZ8veHLrGiCtoW+qJjd8Gpa470PW9Rs8xD33Dm97nC39ED1sV6GOt+k9bC+rxF/Q3pdrky2dgSrUNa2QnzSnrmJ4eTuzh5aGJNABP0Su+zTOl9gZUqKbfiW+R0Q73Gutgh4M+D+x19ayTTmw+VZC3ndpQ9FsUZ9nvEmaAfd/R8nQKtLFim7xKRg2wF/XQ3FSa59FyB1rRJ8JGjQz4dJnGg56Ma8wDEDT6kOYqI8nZ0zeNL8uudlJw8SJQxuZG98gssFnesLRHOOrk5z3w9571Nmvmq9RJtEoFFEFEgb25u/6ijYjkLtfyxpze2nN9lAJx6X7PFzbYuzWNuiNOs4VG7TFojpg/QsClHeh5zrhlVSpBrpAqXdFx7JAgvsz13UI7mMNsnHU2ljNmk0ll4Md1gy/prLF0dMMRUe7khqYPEI+vb0p9sgTn0dd9TEM87AzufAMmwKTHbBi/WJsnZwXshKF5zyt2onUnuA2FuL4mOnOEv5GENcBzr6+FQqai1raKzuOErrNiznSk43ypb3P7SxENbck9VRHtTiXvmYp9ltfktfWP3zpT+nCNbrGniuo8lfunSdvV4iEY93YHTBzrpjhaZ5tbtzKVGdUUwLudz65SBrMA55YdArJB2WfGcdjMlLHVTVqLypxMU7jH1Fut2CWgDxXQK1u6tl97IvQE3svIfVaZC6y77brrmgUCm+5ux5hEi25fOE2Ed7zuTBDe1hte2c+Ukm3KFAG+hzPr7HiPKE6gzXPvBN8veMlNqRDwqWdTYsdoX9dfewxXxO+wV6z9d0wnvEeljPhhPe3lMysE59e3hfx7xy/FOd8f6q1BJq2JL/3v97qZ9M+1V5zH93dx9lh/nZWVcR+14lvWKWJjN9OKxmIOMsYjQgTUj8GBgWdJphnoYxGzSVb2A2yAtcH5ricaYPtl0D7oQBEUMcI5Z4B4jYG1qaGPAoqA5KFDNrEG9OjCuJoajz2aG64SZzZ9hGBvqCHlZ0PKOBH0cH4VmLTnJx3KcjyoFbDCHA5MsA8cGrgYe8ux+Gp/dkI2axmUbWJ4EdihOcB9j4H3Yjm3BgYEyMueQvZ6e7jp7EG23Nx7MAFfE2yzYIC5NRA/QE/wCeBdaDF3oC9ojrs4v3QnedrT0KIXqqWBVR2sqybj6c0k2dbCOFwgSxiHfglbo+ALapMUZI1qEJybEiHGfjLgozF+4VqSj5nfWn8d45K+7wTpO3/lPZVjRTfknfOKv8fbpvErXwMx6+mktvpigXJ4BFl9UvfTieFbu/Yh4jRxRttlfWL6XP/KDlHTB7N9ZE3UoyPLxOqw1H1wNpez6W43bHbkaZV1ZyT5k+C+Ib2EIyHv/BDis95b7I0F+MCey1OMZ8xmTrW9VJeGH+yqy95oTML5OKsvaxKu+qR6jIaV1a3dX3E9IJtjXZl0jJPqtJatwVg5fI1lH1SsuwQ4XZocB9gHy1/nyRL8dXK8VBXcvCaoqdxDxNcT8SXjTPCC5vU3fjbkzR+8gDPe2yRlRa5AhBf4eFdZAh5MwIO9nI22aW4aacupLxHeIKou5yOA68wGt5ajZIlCZodKUu/QFTHqa6VlkVlqnFID4O9Bves4O7zG4LBUsybAHw02cgzWX4s/P7tTlOxQ2cjzQ9gfG/tzk+cwwESS621FHh3+3p9say/5kHzoQujgR+M6vPuKDUcTF+NtyLlZ58kL+2WEMaQC+PC9NyrGrVhLCif/HA6ufITxCqbxzmF8j7rL8+0x6FLcyIeZ6pnciMZzm6H9M106dH6kq8NqkyrNNrRXXaoRtldf9gZAF1PA1bLqp7PWLM2e7iPYOaP44T74DmzTmX7HnLLxwBKds3Ff6ozzoZEg/+UWnUVjb+M+nY1vexzl+1YxCMj3VQfPp4N8t2cg4y34HOBDwdpWyWHYUsKcLYen7nZdcytwD66NtlLzoKythG24f2YxXFdy50kOqDpsVlc6NjUzoyvIEI1+QoIyHucT19lkXB+M262+aazAcVjsHUecYyyDsu6E4Nl23HdjZo2hYfDB80wH26MfaGoDo0wYBPNDCUbwjDbgVacqIDn+1BF3PrLo+RGMs/bgCffGWWuwzSnYEQtjDiimjQr4gzpoWwuew3HR512xGozBuNDU5mDcHCosnhs0KPx/bwb6cT6iqwzXHwnlMS34RsL75vv3d/utR15x87ek8jgqkeNFU18lQTIJtpOxlborNkmf/Fl1h9VOF+Sk6tWdR7V3GU3m1+qAh7fRRr2AblnaWjh3acMebfKzc28svHFY4dvgMZD4BvjEQhmLCaHLXMIHtsbkrd8MXy/hw/OYb53o62/+2ILs1Qab7AIUlfcE18173PL2h859kx0GY36S9/ys6dWEUbdBdlMx87bOVrHirDdq5L1HSEF8g2JNp3B/QxrpwVTB8B694oEM+0pAoqCAj2JQMLBNAuvFuxPdf8GHMcDGwVsmHfTRW366ux/qz76pX/2hvmZyt9175Hd31DlTHkTGWK3Ph0+j97C7HjufQecYph92vNq2WyvqwmjmeF83k6AL9zv30XkzHLunPnnVnWbv/k8GGvY/3fe22M8NFdyFOnHVrela8khP/c356mQ94H0eYhyu8HZvOpss7zM1A1yBjn/jKj72Hg2oH8r9HM6tK0DXG3WZ37LYh/waT4kn0MmJN36Nn4gLvOA+63v4fI2vxAN9BInBX+P/wRPOIQFdMLA/LDC+HhpRcL8o/J8PG5TcKvDbFrebSsECF/YCc2S7xW9X6yhyplcDOns9axcsiPdIA1dPwSShHWjrIe/LdgmYDrbOoI01tiHvy/ZAWtjAeriPhA2BPkA+LTPi5bRDpFXqFmOMOc9wPvThmjbIFeApjGFv2ULmmYB74IvnMfZv85EvD9yvjfIkrgJ+HmB3ve8fZOzP4jfuDTiADMJ1Nxn3Un6/cmjCd/0Vp5FKnoExIGOXeoUNKts1RsHTGw0PYAehTUZjsG9A2KJcBR9Zx5TEDOwwtJc84ucswx1KOPsJCKHEyL3tqRv2Yl1dkbHOXc3gLpP7rkSm4f4ssJd0tLWgviFnTUUAwppbva2OfrWNdamvVUBf8gb4b4ba5KFS51/DR6MxIHqNCwBMdzHtsWKdNCsvfDpMOoof2jCp0DLM2eQxkjHSWIB9nAfgglcU5dpYTnNfz4QLtttR4wbVnnyITzjc5STJdI2nOrmfezQBPyPRt05CQk0JUuAhJuN7C5dDW81uHthkeumPODwdIp1I+39LZhnoc68l9zFRF8+kbGmugV9htIrN2joZ3ToDtLeaeI6v1PfiPdb6W99vPvYXp5cu2Gxfa9CrXalXU7DjdL+5aj5Arw5Qr6q+yqnzZdRWAZToO7XQuYPxoX6s4x2/7lePzrCy5kCf2kFhOfpHATFf+UX/SbtP+we26VueCQPj7/1qh+XO9HC4NNDWG80i9Qj26sYZpcu6tEOs5WG6B5u0sW4u8xhcWBBn99hZbUjQ2+wt48JVg4IWfexa/crty9J3PbQY0b5Y1pbzORjr05wfLvWjM66ssN1ZYmG7K2u02xHTlvXTpVEJuyQ+sFkmDJYdl48Ftht4lzjabJRTa7ObOXcQmQ1ot7HsTQMSboKjBfasGsjzQb7SGb78w8XrXPR/G97Inv1glw1SsMv0tOXVPnZZbwp22b2y23cfw9Sgw7px232B+u6xWWxWoR96JbbMaTZsEzqPwBabb4FmOtCG+rbF4hba6COwuyO0xZqHcfOxaM4FuFpidzBuQ8THtJrvWhq48yyIZ7oizy6CnlPyDtqrJ7RXQa7Rf9ZeJf+Itl963QZ+8T74clnoVFsFzEn1B5hrgBuwtcGnAb9ibbWmi7pdgX4r8bQyzYhBMmeZLwLow7iZx9FcKGcmSK35fob99+LFreXorxzQ5yr2L46HneBH+hj/037Ka/4z+ZSJN0518ra/yNj2w39AZzELm/dWIR92atwavOQD9knKAFXKgBng7QDwg0SOzRbgTVcyJ8oXOp6N7d5iB/FmCsU9s+Gze18cAQ/jCuCBXvEZvr/nu2MrofMlW83mm5dcUov3Lms/vBfk0riZjb9p4wtwOQdcWrj45arZ8Tu4bKWQn4JYCvirWWg0xY/xqVzQPoBviiffApS7YzzfRHHuxnfxfJucx6Fwz87xnm7I/SqgC0fDVsPrnroDYdjKSdRrN7VFgm2l3T3NlYRDeftWu5yu9DJuhnm0r0RZnYbP1lcerCtXXddu1zbVg7rCUna/qRq5qXVlpuMZwpVyB9NLzPZIF3AN/h3Gw8FUjuDv0xjhOBJfT3TcM8NLuOW9Yl/NigRCq5GfYbtqCzCQ0wK27u1GbvUuyReTylQ358N96ImpV/lKDXt4EpQo7WvuG56SZziPZiidMeKvQ/6EP2Lc4b2Io2/gMnLDWWCMjU1AR+tW3eveuh5cK6ewXh9A39dPheqn9kUslpVJZi6Uve/l06Dy5RrO7TTH/Qbfvf+Fj6ecG5T91//83sW6chFmgwSHyuW5XrS5S5VhRx/drjUajVsLAu/a52Z9vZvTvdJM+fv8sQL6bm7SNfkx3/qP/aXlezt0VAO6yM2Wcgo0OmxVu9zVFUw0plzvNDq1IjGdk+DWNPPFrlhPHVY6r/lG3Eer5ymz8wHYkGAfEueh2OhJDqSRMLh1LJQPP/WfEHmO3r3Lfn/wMBBud5G73Yofa8NpRxvy3pM8650c7inusDMh+O1qw/VTKyaVApzPGfypfcQveeET+cCXv/E9mux3JdUGt6fp5X1XsZXOXSw2ihtdFTdkF+G2lKHKnkNVPa6fJnmeoNxtkda2+Ma92rqmaBz7T37OZ0/jtx1UxAl4FPyI/Pd6f6IH5PPuI77LDevk/Oxs4R69DuEdvRq+U+EAG9jA5e/RHurKZ8kzQ/5SlDwv5tN+y28lHHoJh9yvrEu8y3NgCnneOvdxzJ7zQBsoTwPg8mDsy992u3PnvSrWUwhcg8AH2d2GOuy5Vp+kbmPdDjnXu25rBnXdduE04nyP+y18FtJNCdf4B7h+A7cBfd52HlrMHl9cGwyfNsDWA577/D4St6G4AnCZsSv+HnbY46bWFCbrK+R86oLuKH8L74ptKvCsMg6lPas85PxkVuwSQKNMH4MvMMZYflmuh2S/rXBL66rDOo8xRvZeGK1hw8bfCmaQGYIWBPsktyRd/NQe9DuS+67RH8B5OeAZHXMhylzrroM7KYAX9KvSzpTrtrsHsopxNgAsahIDXw3r1fm6OScp5trRLZJalZl5aMV5UU+5Cq1DrIYiklxJtS5IPq6cCMugHcUfVu7cqZG5cyTLdaU3PVRmt1qPMujPsCrIhBgr6Afae8AOQupzhFXyUYo+kMbkx0ZcOJirXs9Hbczj2hrWQhIDjFvCXAv6Dr6jsp4clV2GRzzA74kZXzfjOR/mZL2tMEt7vVOrnElPQN+6utI2yCGk2T6lVaVxhH6ulDCT9sWv8OAiBcAB7Uqcgd/iUocXY4VwkUfwX8Vhp6a8+uD/v8Ch86rbE7+HN/8eXjn2ON/u/5fHvdvB+pFAWmMuHghVCK38jhaH6lg5B2wpzM2cWzNls4OxaXc3Ys5/7OcX4RmqDnhz4wU/Hi5H+rRsIGSQ6Q260FqBlP8u1dCf8nUZYgf6965j6OtbBTf5SP+Qo/2Me3Dtgo4eQ+jPA8o6OrndKq/3kdf7eLH+5GK8/olb6qqnx2fjBvRHsUGtbF+ftoD+tjOgo47Qtl31NVau9jolLNhUqepGJGYxxjnypV0qc7pV33MJr7nMg5zbxDnk9/1tsAdbE898vNejcL6AurhvR9qqQWKM7Ynjv/JJJ65m58NVg7oGE1wzOGcM80HnQmPAA7iXloJrDb6/SYT4ckWAh4XBkQb/n/7o/3e9aF34/5of97S7z1J9KKhxaF9nwZr7GQN/3jdHjSEJ7C+T2x0yEpqX2IaZqEN9xM8sOfe7LETfHdqX9MVF1i98+P2l75MpE4euQnHuQal1yKXYTi7llYr+/GyO+z8MjpqdGOXZxwBs8uB9/nFqgI0P8rkmY5D4YLtJn1DGGcEYcgnOHw+5viNH+741nc0WPB6T+LYb3jdhdt8Ar0UgAKjN7Jty0sSE8chQPTbNJwTu32ymG2c7uGPdMI1Mk6bv35aRz6Z9xkU8VG/WpnP2dheNH0hiPQmry+hpQ2VC5k+64sX8G3/P5b7zpBTzk+/50yLHXzgkH19D7puQv93ne70y+Mx/06E3spJ7MA26k2MK/mt6Gfb8xnaoU8ffqOAhNe5Dqu7IKEx9bTmL6htvs790VrXqyhunLagDdBT1RuqxR9b+cKRGpt+KJuPqLrBoc9QL7gNfPUMd3hyo2ZdnVK/LzLglWbURVeMaH6V7cPnzAZT3Hk0Tj/JYG10usqVrkD9LaQ8NX+dtDnK+Fs+/v2NP4Z5zFm4pzkX6rsyV85q7t4wit0BhH24nxqzaNcjtosO3fhw23e2ICOvRuNgYG8TviP5GqayEl9E1hZ4c6/6ku4bXOL7RHXnbRUu7N279kb62Hu6pn4B5GMQ6v10rBdHZYK53pzR10b9xZFBEomMMAg6+H/rPDujGA7277xw28uy6nPM+TYCGtvodZMBd01l2a6VivsnEupUO5+HKAqVm0daehv5G1nE5NTWrKxS1S7Jr9jWsVsnZ20ycE8gOO9/v/E0hv7s9+uBGTZALnnsOZLz64CMvipyR73lv/mNO+fd6ddUe2+Dzx74n6xfPluveP6w5vOYC3ustBO1gPtmSrVud7kxzfvyK55nvh2NS9cbQ+9D/2h/vX8nOmHtj4O8J8MkG6H1Etv3bV+r5mdC4KsztxA7VpLlKk81IC+Y2UT2bZtWp4VTAT25M8kGjQfj8S1NveJ7c8OOZMQq/+k+9U2mRjjvqfDlJMDPuAPsYiLElEnvUYC7LU9vMR1pi91iC54LPHggyz7zDb5H1dNEYmSIfaOLZXQspj1/7L5+Khv6C4NLveq1b7eVctsRDsVYJ8h7zyicgOFm3W++M1u0ZV6s9d9MYaLpNe7eWURd2k4zrywWuq6cBa+R2q75uGWR0ZBrPL/2gO+C39kzRTytyW1fuw6ZBgvut/sqf9NY3Z5R4Gpd+AsZMesVnwzn65zsnksx78Xytcz30Vy6NuMi38ZIH6Gu7dzeh6bByZvqmv855P3XyrcgdFoA8q1YZ53h2wjlrJHW46ixmgUNpLobbW5235tvKIvdFgzUSO7Cvik1z0z+fdQNkWurQ2SgbwXVkPnI+BfnIU2PZS+zIzEFCSxsK9LR2e/kjOL/JBv/0umouaRrXwqreU8Xzb3s7/8hF1JMb3LOO8ceLdRuk9w7Ihk+dQyFLJZ6kvoRrFdpinxy0Ce67sD+4K9Z9zu/9IUj/Eyp1S8ELZLdZra0lzmU6ct2emOavc5/K4aTNAnKPiDmmoEthBCYgg78MNZ44JBgUc9cBq/shx7ywNK9Uxlre6bN8ZuT6yBj1QX2cHXZRQTfrrBf4vqVeDrNABvHou0kwN5P41n82OjzHyCdnh8CwMr9Dh+Ml4+NkMf5x/vU4SpcHCbO1rP8As5x/jcGuP29JHJgayUzSCgP9DvJYC8GzCVcAp024Dd7/rHKhuqvxZK2c8vZQ9cfjXXM/1e9JkKo64acl5Q0TU8WSvGfoRDg68CfhXGNPuzVUwWXfgqxN0sje3odDczKNTbCzhNtxmLrAs2u43ju7dcbU5qgfehhYBOdzf9TpdFTIWRfnQsbu67tYk2uOmROa8CH6TDl3rjaj18145SyEvrY3Db0KnLOZUuEHPLxsiOjf6gtlqrJUqV7I0WXO6IxnaRiZKYqWT7a4v4q99sv+bGfoWiFrdaQ7i9zjupG7T/35gufpat491ppPsxdO4cMx4dRsT+52X1OaQG9nl62iSa73syqbXAdmY1cdJAxc9JVr4jOG4fvb7kMYB5KrFs1jRzmeK5XoWZko9SnZnLpVYX+R+T6ucJnETtFI4e8z9JZYSuT8J//EgJgA7f5qK22kjvjgUH5LewlsssLuGEldohnPeEae7vhVb+zmLvTXsl37mIThUaBf8hizHuC+h7ivXNUC99tV74V7o1cBPhDnoZLGA5bnTnMyUvh1HThmo754YHKDnkK9IMf2Qn1igD1V/u7Ha3vU7tbW1S9yXHTnogc4iE8OVSoiN3YkbwCOBOBIrVScW2U6rEdks+7WuH0g881CKnOhBUrOzTUHf19LyajI84L68LXPtchh74j4w+s/rLn/kLP6p/1hCnmvCQtX2mz0/Tw8h/nXtrtmxNLmLhzT47R6Vr30HvsHmoTPcwvwMDNYp+o+O10+2fneM9lGW36fTo6EaxNm5rhgZ+vOg596G7Gvb/KlmSdgzqa3vp8Lpt6NEXH0L8Mbk7q+MkXQ67NO5uQ2HTzvu7B+qa/qyX0J7xym4N8wsDFZgCnwrPGk69FN4IPsGOub7OjrIeuOk/5wcjbAJmi66q43JqBfMddcD+Q32qvrEM8nbgh4oXNOm8SW8dKL+OX3UOoivdBVG7TF/3zftvQ7xzXm4G2TgA3+LHQZ6iyVYt5asO12he8T195jU5zff9s3Hfq+D7hev+bzcY1298q7+PzsxUG7usy9O/vk2hWzuj3Sk+nIFjYD248rrfyhJ/Yk3diMbKZcScKAg5+Qn+2NFtsjIwItY4TDXJCu2gf8xh5GXsLYwUnc8/KGatIA93Y2wFuqMypmmHeBkawx07KOxodLJeA+WK0zwwd5SmU+hrbu66AD+RhM5JGR4D4JcgUeudhgx9ojlV5HDWH74JiwdsV/qAnAlvS52exvSKIPa3d/qi3BfoU+6BdQQq/n6stQD9is1nzMdo3OIgnAhhF9cLgmC/AjKIkt8P3MxZ07jJy5dk9Hi+1lPauDL9kgQyMBJzHvjA0/HAJGfr7G4E/gv8wE+i+Nn+Zv9UeAPZPzeE4RzyIBf5llw6qgR5x7HRA59zrcoe9vEOPWFbnLlSFh29vhsRa9kbJMmaNUi6DAxWTmXk4Zv/76+WsK+TWVzOT+//e1jSb6rbyW8zE/lPNf6qM9QgfldfhLeYzxzo/ltdxM0CqvU6zfK6/P4JdqZnndIJbAaxdezR28MxMgfD7XOiKBl9eIHFD5n2sX/vuxnP9SPyCeMEl5Hf5SHpNMmLXyGg+igXr8XKdQX2uU1zjj5eTlNRADcXJe6+armXOMaolq636y3AfCrxnXyEqFuyV3b9MQfHo/21ZRJ37QRzTzdvEh2kWsOYqmy+rCNB5B3T8uZpNzXOvul9pxGs2c53zavdoav4JlU5/sJ4+4trstNkTtb8Fwf9Decnpv2ppdA+J9uJreDEyQa9A2vGsXQX3b8m/wyaIR1RZ12oz3u8PcAt+7NtkuTWyL7hd1WyzNZGeb0W1x4GJpOUlkTi7hzDnZpqHC9TE8TFQJi9m8wXPbaOZe/X33sWSULmuT56JW3c0tX40xV1oN2wE8vO739zu4dz+Gtck1rgU3jB+xyIESrZTEQPnEjDE7oYozVj6hCcZDiziGUYsJeJJXDHa9wmvNRszfMX9hHwMM6zouop3xuZ/asVyk9AeeD49lnGibLAV8Qzt9zEMO96OcVnFyD9p/4FGRJcHnVbLkOLkt4dsTi5MBxmnDdgR9Yv6LBeYRlMGHyBVXLACeOubnirAdeA7k/o2YMjGAivHeXOmnxAhPD+NVA7xNfN5FPgKLBuo9ZDsyzxduakU49QLuol9w/WofrgHO2+s7Q7igXY2YHTy91MR+wvsPmLVjKRcfXXxui/0o4YJ+YX3EH94nxXsiUZQXz3F8b4L4gucvEh5BT1gP8KW+yo8YWnWJ1z/gZYHtFO/bFvjHeCEhlj/wPryf4rkbaPeJcCw49g/hxXYJ4BvkE+v8AA/Swy/1Aa+yP1BvIcdN9vNa9JfcXqLon/xz6Vv0yf1fhOwwDt8mZz2MlwYSzEenMxVsKLd257htMQD/TLfw5CL4wT3Cz3im2MOYq6CHucxbKvQxGJnU4PoUc8CCnI6In1EzB6L2VTwzuMYTWphBGs9pO0TH+Sbq5HpGRintCf1ERjntc/2K8U9cAl7H2MY5TJWMA+oJvY5BBDGPGhmfMc5At4gdAUSE25SEoaFw9rlhkiAGojfAtcowvr6LMTrGwhiCJUwDDibSxKUTYkzIJKSTHIh5ktKpMBZkktMZN1Zk0qEgORMyRfmrAX5VGuZGSqYBjdAGnwo658YXmZ7xHNeFTBsU/PuczHQaC+NJZpwuuVEjsxj3FjfJLKOrHFyYmUrXwlBk6H4OpkDoItEZJAxpkgNxhSndCLNPwpxuuTkgYYemxPRJZIP1a8otjTthzpBY9tyckwhzoZpLEjXoIQeimmOuQHOLxHLk5p7MY/pFzCOZZ/QrN89krtKTMG9SiHDzQRYuEnuVLEJ6yYH4Fim9CrONxHvjZoUsOii0wDwAJz+3gCkCeheWhczw4FaPxGcgUssjcYM+cyD2pU5VYY2RSarcmpJlTGvEisgyo7UciHqp0rqw1mQFnhy3NmTlIhPvyCqkzdzKyCqlLWGdyCqnbW5dyapDO8S6k7VNO7mlknVAu8Kqk7WgFW61yPpMFWJ1ybpBlRwkC+59lnvNOKPcxrghDIgcPLuUMWH3iciZxu0BER2mE7CiwHrSMS9mEjBD2DOSCGZye06SM7OIvSQyfoItyEZnYBVuyYYzh9t78DWQWY5kk7Febp/JRmV9Yd/kmhK3H2TrMo/YVbINmZcDc21TNhB2Gw93Dznmqu4wThxKUpvx3NFJGjBfOBYy3Yg7PZKe2Zg4HkkbbJyDxb3TWSCcMfFsNiHOhOxCNslBb+9SNhXOguxyNuPOiuw6LCQyYwULcycl+4BFwjmQvWBz7nyR/ZktiHMh+wZb5KDXDzqLBe6t5myJa0WHmK2I0ySHjK1yp0MOKluDG0XQ7eU9MF1dlpCeQbKQJXnPJlnKNqLXJ1nOtrw3IFkHPM2eT442S/NeQI4B24nejBwF2/PenBzP7EB6S3JssEPeE+RLZ5nobckXZ0fe25OvmH2R3pF8Zewr753Jl8pOoncjIInPvPcgJ5ddSK9KTiG75L0GOaXsKnptcsrZjfcq5NQBDdOX4UfyvK+Tc8Duom+Rs2APTPd9PrMnwXR4DfbM+5xcdKaK/phcOKvy/pRcYlYj/YhcMlbL+zG5qKwu+muQ6KzBwcK+uqxJ+jtyDVkz72fkmrKW6J/INWdt3r+SawckdP+OqwGdvK+SW8C6ol8nN8EqvN8itzNTSL9Lbg2m4DkquTcS53A4xkAySR5rjLgOyTON5a4Lvr6mCXeIFoDO3RG5u5pB3AnmAzdyNyT3VDOFuyD3XLO4uyL3DloMCXmAhZS7KXkEGvihB/IQWo+7X+Rx1vrEvRAZD8TNyVPXXOE+yZNrHndr5BlrA+I2yTPTBrnbIU9VGwpXAc2uce4xorqaTzyDqKHm555N1FQbCa9P1BzToQ+I2sHwkT6p2lqQewGpBtpEeDNSFdqUe3NSPWsz4i1JtaHNcg8sAl3DiL6kxrWIe3tSi7U58Y6kluHZrTOpqdpCeDeMDB1z70HqrrYkXpXUQ22Zg2dST7WV8Nqknmtr7lVIvYP7OChp2JrIBzppBFoiBhZpCG3DBz3SOGtbMvBIo6Ft8wFYILqWisGYNDE/62BKmrG2J4OINDNtnw9i0lS1gxisSYtoGQdPrOVqRzLYkVaoHXOMqpxqX2JwIq1cO/HBlbQ6mALhThyuncXgSdpcu/BBjbRj7UoGTdLOtGs+6JC2qt3EQCEdcJP4kJGOq93BzSKdULvnQ5t0Uu0hhn3SyXEL7IB0OppKhj7p2pqaDwPSDbSqGM5IV2g1PpyT7lmrk+GSdBtaPR8KUtG1hhhuSYVrTT7ck0qstcjwSCqZ1sqHZ1JRjah2T+K6a4D9DTa3a4J9nMR7L2Pm5LrcT85gO+/oNAHb2gHl7anhzO7FdT+Jd93dYkbVFfer8MyDmtFxYao22NNrtOmjWoDJea3ievdcEuc2z6NHNK3ewE+wVvvubTHpHhciaS1q3cus1q3CmN6ifQgw7A6LvQHjDtf5RI33xnMORgTa1Ey+Z7IOp3eAB/yGaaDH+24SARMs6svrwoTfRjdZWNyOzG59sb/fwik3lzN6XtQMUPC7a7jvNlidnsPZbh3Wdo+wdt/Rg7OLzUmyJEuAMUI/BXBwP0Jfi3eZ0E7trEf7exLlxyyaGmlsJrfFfvJkB7D7rcklmnQR/v5y3z0vp9XdrObflrWG87mug2FxMOB93TTiyw3gdLuo+TsC+IxyXw2nyyc1nduidrYBxtu8VoWxOBsx+CHgn5hhzbiAb5TQwl/Roc45ItFxaRpnGLv+0pw0lkYXYJO+Tu91XZ9PfRWEbgLjcFjs4JlppGrymeV1VvN24LPsYnF5lz/gfgbM+b7+Ws488IGiJpX44P35tJlG06Y6A7xFB+5+ruuFn6ftowR8HngG+xwdwae60To9hnWglX1gAp6vgPcz20P/jK70t6KZbYZTX75Ljiv0L5r6xyUBukR64pPt3IRP7l8W9WinQb1oRtfh3tjO60vAE/cioBPo7yaceqdlDZ4hyQ+//RzosklnNIF37JCWF3UwStCXk+X3PfiP0KfoFh9key6M/Q7gAz/RqQOMQDuTr2jqAe68LJpFj0WtCbQ92QOuELYa0OH1jQMG9AbvWUtaFscL4KgaV7tPxDmrO7vFtFsDepHXtNY9zeoePNfw4tlkF6M/DG0Xz+6Oi310e5X3MLN5NEV/MrnBe1/8NPnQMZtCWzXvCDx8jvgR+t8sy/bGA2Csv8atD316AM+sX76x/b5ezkjv/VvykNgVYzCRfNWPgebnsyPQdwT+e+5+ruveBXjlrAPdwfuSxdSQvvMLdj2q7QBXPtCfsUd5AbRgR7MdtNPNo2nDKX57IHO8nWbhGDSh78sXHiY4fteIJ1t4x26xBxkkogf0L13UVAt46rIAvIARDDAsr9GM98JaslsegJ923WpM7uUYFXxpAdwq+Oo7wCP0r5vH5u4aVbtblHUa8pgJ47/rbkGmPCN+2S9q9xT4b40ycSG6KCOOK8A94P+BcwPhNPdL3CQ3wCvItibwNRhpgHvoWybbtvz6fOar2FbRt+oe6HQnef5FI0BjgL/JI5zge/zHIveAR1Id+nmI8wTkRvWCPBfnVXUOsic8eDBuVMoqre5nIG82QG9SJs5qxnlJQAabCEMCfB32ARdJfPDXQD/50kqtQuaiDK6CXGiekPcAbwV91inI+CSfTxteNEsQ7iu8B+X6FWS6rANl5tJybiATm6y2BJmUVMPX8+yAY/eRywbwzGVRaxiF/Az6OE5h7fKGZVDKvs+93kvWvvC1hHHbqSDfHqAPUNZsQIec6P71XgF0uZfyuh8Cr0XmDvjaQ57W4oP3JLUkRdmwBFqFcX8shL+J4Der4dyUf4z2MJYzH/gFcLX33/zhzJH+jEJ+0lpRBrzyvi9xrU9fvAe8EgPtLatFfX3/p/svOdvdzlEPoE4r+c9/8yyM3YtnJc2ivr6FIEOXKENAT9MZ8EHt8qR70IsWyvHdBuDdRXvoby3oRQfQ4RgZdD8Bmp0coC3gBV+OMZ0ir4HTu3d24fQCz3rb5YwjjeUrfszDGX3R/y4HeYnzez2J/113g7w4z1FXAn3COBB4DwF9hHIZ3g+06mf4rqgmnCXqh5mD79whvOEe9O20moA82ML1YwkyGuTlUeoh4J8laQKtNZHOUBYWY57QA4zxAfEUm/dSltaWoC+XiNccdPAT2kU6aTLsP/D3C292iDJ+5hey7fW7kN0X5Pcd6I3XeCyBt+7VxbT5hD6DLuBOXAMd8RpfWsd7sh0X+K8GdAM0X9gjaC8s9hektyu1JtfI7CCtH5D/IxNsGNDtqEeAzm4L0I3Q34Jfzc/1s+BVH+gZbA6Qm0s5HwlOKPIz2mOmDnwDes4Meqif5xa0AbgPRbJbgV4CeXiIeBNlVvVNk5L3QP697lVjU9pEFupBGN8LODrQHuhrkHM49iBjn8vpTgU8gdxLJG8UcEWAm2gfgc0FevMWkep+DrJ4BnpyZfkvHDhVuJfC+B0Y8GwMeh/tEzY1LhLOaXMb8Qhkl3+az3g/krwl5exXhLQHdApyPfvojC1Qtm9AP4DHJZ6bkgbk2FHnT/dfvDoEvVVFOpvhfDTyEdhe+hRoYepIHgS9gt8SP6AXizpvvfhzW/b7WtLO63ehF5dA12BfgO6gYBfGln+LSQTyHt4x4y7o+E2BHwq2a3MH4/yWAS/+Od6X064K11JGsLpRXQAu3zYEjD/ywVXaRm87FXnCvAN9f2QsylQeoS0IfPjWn8V4dX/WWUXdHsjwHPVmUeeO9A62MH2+9LsR16pgYwdGhHKq1tAWmM2wtkR9BM9xe16bNEFGozy1pT1clc8NXr8LOw18ggjqooxeoM09zfXC7t0B79HzCt9l5sOXLwF0e9/PapML4LCpSdn9sh1e8o+aHshG4sg2JtImO9HD5FrooCXI+53pjm3QPT/bHqzuAb3j+oH3mIO/wmZeVe5q2u9y4PXXc46uWbS6OhylHJlPJ0CjaLPhO19jt6+C/Sr1m9RDyAf04GVQF2zwZmmTvP0i39iDXIdxABsc7Yr65Ag6FGkb7EbU5dwEGAFWH3XGx558yde3zvj1fqkzPvYm8knzpTM+9s6zsO0LnQH8dVlogR7WvaebRwnqjUXd7oFcPiMsBR0U+hB8uWbkg0+Atr4F9FrtQl0H7JzuFflYn6IM2uUAzxNse6kvYazOtD65zoPw7mmuA/SZrN62rSy/gI3V/MkGLt55KWil2i3K8gT4JtotUEaR4/v3i0cBF6AnXnLBkb6B8bZPXu/WXdBPCcr9t52AdlKOmWIYylgTedTbaT/8BtkFPPumg+BBapMq6MFDeCAayMeU1HZXuP6KrRRsh8mG1C6PZe5tlqYLMnAHNvbuBxnI+UtXbCR9WxToGnTLp/2JoR8K/REewPcEGxDocLMEWyO+R0/AM+grpwm4+aw9gXwpdMSsfA7qAU/b/g/vAltTylDkQwvG9ehv9Zr3eW9Y1azdDd4DMvGDmybIThXkIfhCCeit2FkV9m9hf/5YH8eTL1Ogtxx9Z9Tx6FeBHNlK26cWODB+aF+CfWFcQGKDrvdOgLckMlGG63WXNzdg826W8rmXTheRinptYdn9Jdqw+/vjNb5D0FUIy9tWkjSgga5Ff+AHO+nXegXfmD/Xe8lxC2zGK8rtOF+i7QZ8tQOfDnT2YdKgNR94y9mg3AN7qhmDfo3QVjp4IKPR/4zUQv92zGg/QT9nR030kQMzkrboLicgawCvL5yLGq2hr58cwW7SYCwP5BCd6Gy5g/fccL5hgZ9P/UTTDgVeZ1KGoX253L1pe6AHk3d/frANz8u3PfquN9YH0Ef14wNOfqKJppvfa+iXL2CcwdcEXgk+ZR6vShsKxqDoM9BV2W78qTf40FXa/JQH+qecf/q008ryEgafv8oDPadmeA/H72cN6opP2bMo458yr3yu9m6Xf+Ay6AeuQP/AxQMd6M9Iwk+7hlaWlW2XMNl3NnuVb/WrW95/fJ7buu/n2IfHArtalodlef4pb5Tl6aecf9p32Kc8Ldv3P+07xqf8Sd7lWgmfW8L3/DyvlfC5JXzPsCz/wOeW8D0/8GklfF4Jn1q2X8LnfeDztQ98egkff5Tln+f1Ej5eLcvDsvwDH2+U5R/49BI+/wOfr5ftl/D5JXzjD3xGCV9Qwjf+PG+U8AUlfOOwLP/AF5TwjT/wGSV8kxK+oGy/hG9Swrf9wGeW8IUP5IeopD2zhC0sYStpzyxhC0vYStozS9giJtvel22XcEVvuB7uZ1zt/APXljzKcvdT/oFtS6pleViW55/yRlmefso/sG0p+5TrZfsf+LbUANgf7mdM7bvL/b271Uu4PuNp30u49BKuz3hC+QcuvYTrM572vYTLKOEKyvZLuAyDov1yAJ/0XW9rv+s93M97bLUsDz7lnviU18ty8SkffOBw6Kc8Ldvnn/YdvSwv2/c/7bv5p/z5lsP20y3LS/if/FP+kcVbt1aWx5/yjyzeus1PuVq2/9ERW08ry8v2P/J4yz/wedrnebWEjz/L8s/zagkfr5XlH/jUEj7+gc/Ty/ZL+HytLC/bL+ELSvg+esyulvAFJXwfXWZXS/iCEr6PLrOrJXxBCV9Qtl/CNynhC8r2fckDIerXh7f9PFdzhbxfwrT9PFMrYQpLmLYfmGolTGEJU1q2XcIUlTClZfslzuISZyXN1UucxSV8Jc3VS/jiEr6S5uolfHEJX0lz9RK+ZQmfysE+sOvRp23xgW1Q0lujhE08y/IPbI0SNlEryz+wNUrYxAe2QUlvjRK2RCvLy/ZL3KUlfCW9NUv40hK+kt6aJXxpCV9Jb6VNt01L+Ep6K2267a6Er6S30qZL9Q98/AOfU9p1qf4sy/mn3Cufr5Xl8af8A1/6se0ePCjb/8CXfuy7R2nfOaV9l9olfB++cFgJn13C9+ENh5Xw2SV8H95wWAmfXcKXlu2X8DklfGnZfglfKY/5hzccrYSvlMf8wxuOVsJXymP+4Q1HK+Er5TFXy/ZL+Ep5zNWy/RK+Uh77H/5w9BK+Uh77H/5w9BK+Uh77H/5w9BK+Uh77etl+CV8pj329bL+Er5THfkl/RglfKY/9kv6MEr5SHvsl/RklfKU89kv6M0r4Snnsl/Rn+L7DwQ+t4brCZObt+MzZhUHQBJtqFICvv9wbajSZPKMA/K6pYQzG5K7v6GM+i5KlOZnEtQkF/zMB2zJ3k+/acr9rS/2uLe9buMLv2qp/19aAftdW+k1blH7XFv+uj/p3faT6d219i3v9uz5ihIPftnV3v2trbH/X1vO7trzv8DUOvmur9m1b9+/aEt+11fyuLf5dH4Pv+mho37Xlf9fH4Ls+GuY3bT3c79ra6t+0ZT++bes7fG35d21Vv2vL+45Wt/F3bTW+a2vwHe7T7/rosG/aen43jp723Tjy7+ir+h1vY96p37YV6N/gfkf9b/DFt9/IwsD7Rk7sdP7NOIJu+KYt3/htW4HBfi8nJpQ/fw8XD9yHYThGoN8pVyeeHzQDriY0ABtkok9Gr43WVFE6hIi//e1f/1hnp/388i9/uZyuq8vjuPrLv/7v/+v/8scPf+vscPnf8tVGJJe//nHA2rvf1ThfHrvVbyr838XP/0ORFf7jdXWOT5vj5Q984d/+clndL8p2fpsXd//yx/kU/+0vyeVyPP8VI/Pk/77YHMS/x9lemR83yn5+POM/Mbz2lO3+z3i+2y3mcfo3c3Vx58f/ma4ef/t7Tw///j/Pq0t/fhB/+3ufeGZATP3vf/ljfn4c4j+Wq/Xq9B8AlHzjPwXVf5R9us1PfwAA0Mvy3vp6iC+b7PBHAcW//Osf/9fPWHo99Mff/jis8j/cTXzKztn68u9Q+Yz//Mtf/sf5soEff/m3Xx/Fv3h1uKxOf/3dw/0snuOr/0X9tz/Uf/23Pz/7zLL9X/+o/qYEABpDb+3lX38DUVHy738fW7qr//03T5+TLI+gbXq9XLLD+a9/rOe78+qbihLKlbsqKv/jutr8nCyy+Wn5j6uNV6f9ub85pP9JtdN8vd7E/8yL6Wk1X8an637xj+u9sDP6f5o5Ft3GbeSvaLW4Wr44ipM0iyKPLbLZbDe4pBtsctcWQRDIFmMLlS2fROdRbP79ZoakLEokJae9w2mxsC3NgzMcDmeGo7CUjXmW24HRMCd5tpzHJ1mKgHcfjk/+8dNXcCAf706+nH/5eqcjvdTXX5yNlzOY/DCOeATWc/fx+Pr4zgY0XhY8m53B2kBDW6b1tWoAPJ6Pp1n+65rwv7XA/5EsTrKYFQB2c2sDkuYHML1UGnHRcwADoFh3VQC4A75hOefwdGhDLng0YS4AnsyYXJsfwU6Dfjhh/BpuBtYJGU+jnJcC6kC11XT6AAhFGMXx52gepywPYNQDr/eQsEcgM58wWPWlC0HngWL9q3wawyiEadjlyznC45BzGJNGzGDEjJ+hQ3mI0qAFFC90XqMsfgbCJUv8fWAHn/JZWgVXX05Thh8NUTRc2m4A+yLiU5j4pwCZheCJszT9TA8HNJ4wu78HUeQtM0G8cDDhOE2AsUKnWzpFulWl2FR4dZQ49f70yPc21IA3PP+RfmtKkiR/SWI+tSgsufeCEieNCn6V/AHmeOQV1inBq4FygutgY8PC5cVj4KXWIggiFhZq9gEY1lk5BJtCjRoQ1A697WE3NSwX4CQZLoPGqnUO4GXgbe8Mh3WcBuxquTFabO3rDMVCx/Xdd+SnRrgT2OdUxAhP5xEXnk7ChxBV8SncTfgyZo41N0vmDdwiW3bDBb60a1RwGcwD3Jx04VvHfWQ6rh1bDQ7wAyn9hhSl7215Ow7GJQOFC6PYkMNRuHZsjIu2HcaqYHZaYEbL+3tyutsuqDh5uKAtrLQi2GGkN/zwfBYHvoj/fJvpygiS/AiSIXodnIvE+6ycqoYo7jrcktTqmyM1y2TKNEvyHk6TY3UqLZMvT7NJsPtuGA5xcvbeweffaYEIoTa9Hfgt1InTp5hvqinFmyWdHZuiFNedKtftH5pcpUqMbCMu2YJ43di+mG/jSM7ZA8PdMBDKOBTD63s/Su3sixsWwriqpMcJHIrukiKotTZYLR1TxlAd+/5qFy5FAX/pQovmCSSVkA5iVmlRlk2LKOwdxkUnFPlcYWBzNn/IfmcxKBAJuhDzKCloAxDYFHc5dRYtCxjn0CFMUpxBzIsCJZg+rCnSS9ctZbV3dYreMM4Dz94leKvvWsa9EbbAvcYG+F/ipQHanGBIBYNwATEzZP8Yam0vnnzzyLf3xOb9/zz6oXX0u3sdQg8tPirzJqBbJk6+Uaz7LPcC3AHGkI15yVzPJ9s1ofK4cLEspgES6WDleCHPCcsgmYq+sn8vIRr4sqBxgjIsTIFfwp9Rsn2vd7f6ddezLE/Q/nGaXmbp84TqD7g27aCnRPCC8QhFt63kF6Md1fxpmkXxRRYvUxb0ao+uFjAdUYpyX0F+lYwbqZ15gOVEJdosKf337Q4KRPuAMVeUPwcNvJvkdmCehwF6TONkmpdSSTqRiSPmBuunkeNo/hAVrjAojUYsPSGws9gaDWkLQqb3R94uhieSRflNLkaeLRBklb/Tw+ts4QxfximL8lLIhhJcMch6zqehZ1Wz+P5gayvwT75cXJ6fXp++sWoEL3QnTW9SPrVPS/f6h7pwAgwzsO19+2aamSHOB3HZrFVd3kPcDBdEWdrcdciXNHWtL4GGXloD0KibTRf8DrmnBq9m1xb04fU6A2oavRcsorxgn8Bt8aApcZizRRqNWeDDHjXwfB+mYgMnBT98877llGnXbaGGVLt8atwhd0zbu6xmWDdG3LAWSeu+mHTfFBFcUtUqW4ADbtaRfWWrne+liztbFVv73jhnYFcn5Z1AErNpkJQikD5lc04oVzzHE5T7PJtBXJzjxhBIQcJ7CdQfePVbVLIeeBWGDr2QTgypx6UgGriyEsU4jfhqFCmNqZU5Ku5NR1+xArMHIerS6hf71VE5cgWagOiViFqlpoIYuSqbeGnlIQ3RsQxfXSO01XjKci1Mtg1Gn12Hl7AVsCxMNJhBVQMdmWiTVi0822BeI4k2TxYmGkwnSawl1apXDCmaTlQcDyQ7hvFd9rcK2ovxTLQaoUJg6gxI66aH6xtwsNiE500YGcDPEDzaDLb4lM0nfAohxNAQILdG5uFPYhzHl2cX0Rz2rjxcY6jVsN65b5BvBwDYZ4tlyim6qf6uSuFaebU9q0LhZngbqjSoNT5YpYRpY++7AZlvWyngZWMPO2F4x9kMIgrOwjuKQm7G6W1jx0RO+KAluLDErC2PmiZvVZeDPxV3ca9gXMf3h/5tqOeT4QcwjwtxaPche7JvWHits2kpccqNa+Q6kWn33zq91/jwUe2OS4U1bq9w5qPanTW4vcKrj2p31uD2Cvc+qt1xpnYug6IDBt5YY2SYqkLkWmnkDqh+3B4ZRamKNFxl0yrkV2y3YfMxoGya2lCqV1rGMUF95iEbaSgMK/ptFFfBWFA3XUFSn3Ek6Q6c3Asb5gEcPHyECfZhQDocY3bKUya/q/iafhpi/lZ3UMspvIhaMoyV/8ssmXMci4D5deCV33/rW6NAXRySo6843vj400eHHvFsVD7vQuqvSHBqYyvzly5JTxV+UJ2KZqrTgTXNaUUv9JsUox52cB76LuVIoMTyXI3x1b5iZaOxbGLpe1Eco5LIUujWwFP8LFVCycYm1tjZiSCPxVXfzpGh3ixiom6lH1V32F6rqoDhZCWGY3l+IlsJA9VTeMXBogCS8ccsp19LiP0K+rxgRQFs20voQDjLJTQVlyq0scDiYceIxqK8q3GyCAfWW2Qpo7NJjbZt1qoIGtsuCLrsjul9o8t/nhTcUcNuArcVSwz0RfC6DhPCcJzuWzCcdm3jQm0s3ar4bTmSrWhf/jBmYVZHW7dgm6M3eO8DC6bYYQjXvilZexEHjr7DrnKW+wA28oI30x28qTsX94KfIyoi9654MlumOOJ6P6KCxP6kyycs4NaNh2KpaigmBiTPOIKeqLs2Gq0JjSPFMWahJ8ADRh70duJeM5nY2vrI7pM5o6F4lGSZh4mHyavRbni9xZPXg08lbG0QMICwgtZk+5UV2BYmy/SjqGCxBzovEuZl9x6OOGwOpBCdZEh8BrHWMmfXKBpC17UwDh9lfwsiiR8NkLI/cCWaQUMwVMaFEmCoCfcekzT1Rkwc6cC4R88enzIvJ5FCpyIMasLRfwD5U5wGMBmeLeq2QkSA6RXODyoAjbAxUgVV6mTgUSd3A7C5LschJyfxz6/njarMWmtRqR2j6VLB7UutDBsy5Z5UsnFiruaQNTxMXMd/0+yB5VcPk8Y5F3l9QDa3ROhEtSX381VArxPItwked8Msn2ztDIfDLUDrDbwefhibHx4m2AtwzCGWHC05C/ynWTov8JDETtB4QNekRIsWKS2yIhG9JdEI9ll4eOAtMjpg3GTUOIzvVczhLs3RPp7M/O1A9pzKXx15JjEN3aZhvNpbG6LFgs1h3pM0DnA6DEQek3mcPWK/M3Xg4CbI5iwPemKttTY7N3tpXpp2pEzNbNfl4UJpkWFa5t2Ve7ZEnw41cBZkWyPPnxXJ6+wyeWJpSXnQWFP4uEx6Q/mmSnNBU4/EafonDLdptkBP5ndAVi5LecMAqZlHj+fRvMA3gpA0/cAiXoD7RUC6CJ+8zQoHPB/seZXHz83HfcPuJSMR9BzXWZbyZBE0gfRqp5JkEfGpuV5GExbR1qEBm4/mFPSf0j4SMPoNQdm+4PXFDUG7cSmWGgB5UAdI1RJBmhgC1oAe3MC3W3NBElaomgFBwjQOmtHKojdDNnJOdD9VtMmpYQnU3qYQWbBhdtVa2y+/Gao+ct731RcDCBNzu49C1cbfOYLW7NZ0XvFGO5AWkFab5dGIggNLuOjTc6N90BPVaSY3EWw1U9uI6dy+ipMtonHCn6k7rQ129SITgj9Ok3bylea3PXMTgcYgy2OqPmKfnwcCJLH3dsTwXxsqBmifolmSkijHeRKlXVDk+w3+9k776ChyQ+C323S1wf9xNo8ZxvI++otW7UqPIF4TQizc701I+osl1dVF5Jwb+soWsZEWwV0+J6G0GD4OvXf4sQGZjrMzgucuI86tbUtCD5oouasFnl5w8O8wUMYSSeIiexPxW9eo7O1lJbqcoShNJrS4coy6bB0xPG/OCRJZQ54gwd6b1mH9xVKl7N4uVA0J184vKgPzR1ka/xXqMJYsX9FfqB2CrEze2Z0DKJUGKa67R2f/Gyj/Cc9tsZoKdA5h5qj/je4flvfxZNdZygQYWGCI5ajq0kDLE7PtweqEaYiVDWdFmDd8vrWtzVwtbXaHtx77V4ILlhpTQftk6bAsDbP5LFsWDFMXrUGegqi2Fi/NlW1sOA2oq3+hFZHMIa35fH1xjofED9SGGOWQOWH2tIrEzM0bRovXiMj1hmWLIy/FFcfmH6P8dybOKwI7R/+Odiy/P/A2d/dM3Knc9FQ9phTUFtGE/YouCP7z6ttFENrLtC4DDrm4h22CslZhZPBsZvBbjUH5Ik6Vw2f1UqWVhT7+8dPAa5fB+mqmkYE2/vFzlYFVBhOHz42CSmlHcpbRA2OnZl2CTZDS0YfJ9T7P+vAA+7mCbcInJQ7D+tlJwzora3DJOy5BSX1zGJraXO223sGw13VGjRJDbbiWhlCRlliDd3qs7cUE78g5ZUlBa84y1BaITviKCkOdqSAk055X5fs6BUfmbwXsN5Lk1ukyeDuY+IEXzZqWhnoFs7yU2Qn9LQZD7RDwb4a31Bv81twUDBCiShsWaTJmgTEMq3AyvI1mqFPNlzMVYJxhqRXF2H5nqjfhzhYg+Pv3CAGqA3ENkuQQUOzs7fUJAb4c1Feq7IvOMQQRUKZDihGyU/x+6HvfecOn4fDTJzvjkWI8cjMeCcYjC+OJklNwdPOcKJ4TN8+J4Dkx8MwZX+bgqMqp+xFNwNvHVnfgKzoFAn9IFwXhE+8bSXGIevlGmjzEKemDo5Xg9EvYyea79toB40FhNl3RVGY676RT0AJW7XJU8DzY3q0bjUBt9HBVgtkV9hAPriFggbz0yz2s8V6/ETDW+NXBzczrLV1dmIND6MsWzjXGAHim3EiOo97s9T9VQr33608qQRqsIN5qWrBBigN8czXK2IhgqCNKpkZww7psvuLzvZ2oj39Y59nXRcGPxt9gqvyZKLwwhhJ/mWPgibCwLqJ2DqI/qp6X6E9mEFok833NU2jKNfOKk2KRRs/7jfJJ489cHW5NQWL8Qn83hW4f+Zi93KfZ4/40iWM295XUcfKgQOivad1TNWt/dQp9UB4SlWdEFAft064N1gYTceC/v8wZvppIR5aHW0C1ymCcRkVx1CPBqn/OqsK9p5S5O1w8HShpSdjNPHss72B5qve+yqFOqIlbZVlCJ/GROlhSmGLSaM7kaPB7A7vOuyqt/H64hboXkwEG9P4/1VNvQc/jAwA=", e }(); r.StiBingMapHelper = s }(r = t.Helpers || (t.Helpers = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() { this.progressDelta = 10, this.timerInterval = 20 } return e.add = function(e) {} , e }(); e.StiComponentProgressHelper = t }(t = e.Helpers || (e.Helpers = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() { this.timerInterval = 500, this.browserLifetime = 1e3 * 60 * 5 } return e.init = function() {} , e.fetchAllComponents = function(e) { return null } , e.clean = function(e) {} , e }(); e.StiOnlineMapRepaintHelper = t; var r = function() { function e() { this.elementKey = "" } return e }() }(t = e.Helpers || (e.Helpers = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.StiString , i = e.System.Convert , n = function() { function e() {} return e.pack = function(e) { if (null == e || 0 == e.length || !this.allowPacking) return e; return this.addZipSignature(t.StiGZipHelper.pack(e)) } , e.unpack = function(e) { if (null == e || 0 == e.length || !this.isPacked(e)) return e; try { return t.StiGZipHelper.unpack(e) } catch (t) { return e } } , e.packAndEncrypt = function(e, r) { return t.StiEncryption.encrypt2(this.pack(e), this.encryptedId) } , e.unpackAndDecrypt = function(e, r) { return this.unpack(t.StiEncryption.decrypt2(e, this.encryptedId)) } , e.packAndEncryptToString = function(e) { return e = this.pack(e), e = t.StiEncryption.encrypt2(e, this.encryptedId), null != e ? i.toBase64String(e) : null } , e.unpackAndDecrypt2 = function(e) { if (r.isNullOrWhiteSpace(e)) return null; var n = i.fromBase64String(e); return n = t.StiEncryption.decrypt2(n, this.encryptedId), this.unpack(n) } , e.packToString = function(e) { return e = this.pack(e), null != e ? i.toBase64String(e) : null } , e.unpackFromString = function(e) { if (r.isNullOrWhiteSpace(e)) return null; var t = i.fromBase64String(e); return this.unpack(t) } , e.packToBytes = function(e, t) { if (void 0 === t && (t = !0), r.isNullOrEmpty(e)) return null; var i; return i } , e.unpackToString = function(e) { if (null == e || 0 == e.length) return null; return e = this.unpack(e), null } , e.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 } , e.isPacked = function(e) { return e.length > 3 && this.isPacked2(e[e.length - 3], e[e.length - 2], e[e.length - 1]) } , e.isPacked2 = function(e, t, r) { return e == "Z".charCodeAt(0) && t == "I".charCodeAt(0) && r == "P".charCodeAt(0) } , e.encryptedId = "8pTP&%#5uK889910", e.allowPacking = !0, e }(); t.StiPacker = n }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Type , i = function() { function e() {} return e.equalValues = function(e, i) { if (null == e || null == i) return !1; if (e.stimulsoft.is(Array) && i.stimulsoft.is(Array)) return this.compareArrays(e, i); if (r.isNumericType(r.getType(e)) && r.isNumericType(r.getType(i))) return t.StiValueHelper.tryToNumber(e) == t.StiValueHelper.tryToNumber(i); if (e.stimulsoft.is(String)) return e == i.toString(); return e == i } , e.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 } , e }(); t.StiValueComparer = i }(r = t.Helpers || (t.Helpers = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiNumber , n = e.System.Type , o = e.System.Convert , a = e.System.DateTime , s = e.System.TimeSpan , l = e.System.Globalization.CultureInfo , u = function() { function e() {} return e.isZero = function(e) { if (null == e) return !0; if (n.getType(e) == Number) return 0 == e; return !1 } , e.equalDecimal = function(t, r) { if (null == t || null == r) return !1; return e.tryToNumber(t) == e.tryToNumber(r) } , e.tryToString = function(e) { if (null == e) return null; if (e.stimulsoft.is(String)) return e; return e.toString() } , e.tryToNumber = function(t) { try { if (null == t) return 0; if (t.stimulsoft.is(Boolean)) return t ? 1 : 0; if (t.stimulsoft.is(Number)) return t; var r = t.stimulsoft.as(String); if (null != r) { r = e.normalizeFloatingPointValue(t); var a = i.tryParse(r); if (a.successfully) return a.result; return 0 } if (!n.isNumericType(t)) return 0; return o.toNumber(t) } catch (e) { return 0 } } , e.tryToBool = function(e) { try { if (null == e) return !1; if (e.stimulsoft.is(Boolean)) return e; var t = this.tryToNullableNumber(e); if (null != t) return 1 == t; var r = e.stimulsoft.as(String); if (null != r) return "true" == (r = r.toLowerCase()) || "on" == r || "yes" == r; return !1 } catch (e) { return !1 } } , e.tryToDateTime = function(e) { try { if (e.stimulsoft.is(a)) return e; if (null == e) return a.now; if (n.isNumericType(n.getType(e))) return a.now; return t.StiConvert.changeType(e, a, !1) } catch (e) { return a.now } } , e.tryToTimeSpan = function(e) { try { if (e.stimulsoft.is(s)) return e; if (null == e) return new s(0); return t.StiConvert.changeType(e, s, !1) } catch (e) { return new s(0) } } , e.tryToNullableNumber = function(t) { if (null == t) return null; try { if (t.stimulsoft.is(a)) return t.toOADate(); var r = t.stimulsoft.as(String); if (null != r) { r = e.normalizeFloatingPointValue(t); var s = i.tryParse(r) , l = s.result; return s.successfully && -1 == r.indexOf("\n") ? l : null } if (n.getType(t) != Number) return 0; return o.toNumber(t) } catch (e) { return null } } , e.tryToNullableDateTime = function(e) { if (null == e) return null; if (e.stimulsoft.is(a)) return e; return t.StiConvert.changeType(e, a, !1) } , e.tryToNullableTimeSpan = function(e) { if (null == e) return null; if (e.stimulsoft.is(s)) return e; return t.StiConvert.changeType(e, s, !1) } , e.parseNumber = function(e) { var t, r; if ("0" == e) return 0; var i = "" , n = "" , o = 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 : (n += u, o *= 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 != n.length) return n.stimulsoft.toNumber() / o; if (0 != i.length && 0 != n.length) return i.stimulsoft.toNumber() + n.stimulsoft.toNumber() / o; if (0 != i.length && 0 == n.length) return i.stimulsoft.toNumber(); return 0 } , e.normalizeFloatingPointValue = function(e) { return e.replace(".", ",").replace(",", l.currentCulture.numberFormat.numberDecimalSeparator) } , e }(); r.StiValueHelper = u }(r = t.Helpers || (t.Helpers = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Report = 0] = "Report", e[e.Document = 1] = "Document" }(t = e.StiJsonSaveMode || (e.StiJsonSaveMode = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.Drawing.StiBorderSides , n = e.Base.Drawing.StiPenStyle , o = e.Base.Drawing.StiBorderSide , a = e.System.Drawing.Drawing2D.HatchStyle , s = e.System.Text.StringBuilder , l = e.System.Enum , u = e.Base.Drawing.StiCapStyle , c = e.Base.Drawing.StiCap , d = e.Base.StiJson , h = e.Base.Drawing.StiBorder , m = e.System.Drawing.Rectangle , f = e.Base.Drawing.StiAdvancedBorder , p = e.System.Drawing.Font , S = e.System.Drawing.FontStyle , g = e.System.Drawing.GraphicsUnit , y = e.System.Drawing.Color , v = e.System.Drawing.Size , b = e.System.Drawing.Point , C = e.Base.Drawing.StiEmptyBrush , T = e.Base.Drawing.StiGlareBrush , w = e.Base.Drawing.StiGlassBrush , D = e.Base.Drawing.StiGradientBrush , P = e.Base.Drawing.StiHatchBrush , x = e.Base.Drawing.StiSolidBrush , B = e.Base.Drawing.StiSimpleBorder , L = function() { function e() {} return e.fontArial8 = function(t) { return e.font(t, "Arial", 8, S.Regular, g.Point) } , e.font = function(e, t, r, i, n) { void 0 === t && (t = "Arial"), void 0 === r && (r = 8), void 0 === i && (i = S.Regular), void 0 === n && (n = g.Point); var o = "" , a = "" , s = "" , u = "" , c = 0; if (e.fontFamily.name != t && (c++, o = e.fontFamily.name), e.size != r && (c++, a = e.size.toString()), e.style != i && (c++, s = l.getName(S, e.style)), e.unit != n && (c++, u = l.getName(g, e.unit)), 0 == c) return null; return o + ";" + a + ";" + s + ";" + u } , e.rectangleD = function(e) { return e.x + "," + e.y + "," + e.width + "," + e.height } , e.sizeD = function(e) { return e.width + "," + e.height } , e.jColor = function(e, t) { if (void 0 === t && (t = null), e.stimulsoft.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() } , e.colorArray = function(t) { for (var r = new d, i = 0; i < t.length; i++) { var n = t[i] , o = e.jColor(n); r.addPropertyString(i.toString(), o) } return r } , e.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 } , e.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 } , e.objectArray = function(e, t) { var r, i; if (null == e || 0 == e.length) return null; var n = new d , o = 0; try { for (var a = __values(e), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(t)), o++ } } catch (e) { r = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return n } , e.size = function(e) { var t = new d; return t.addPropertyNumber("Width", e.width), t.addPropertyNumber("Height", e.height), t } , e.point = function(e) { var t = new d; return t.addPropertyStringNullOrEmpty("X", e.x.toString()), t.addPropertyStringNullOrEmpty("Y", e.y.toString()), t } , e.jCap = function(t) { var r = new s; return 10 != t.width && r.append(t.width), r.append(";"), 10 != t.height && r.append(t.height), r.append(";"), t.style != u.None && r.append(l.getName(u, t.style)), r.append(";"), r.append(e.jColor(t.color, y.black)), r.toString() } , e.jBrush = function(t, r) { void 0 === r && (r = null); var i = new s; if (t.stimulsoft.is(x)) { var n = t; i.append("solid:"), i.append(e.jColor(n.color)) } else if (t.stimulsoft.is(C)) i.append("empty"); else if (t.stimulsoft.is(T)) { var o = t; i.append("glare:"), i.append(e.jColor(o.startColor, y.black)), i.append(":"), i.append(e.jColor(o.endColor, y.white)), i.append(":"), 0 != o.angle && i.append(o.angle), i.append(":"), .5 != o.focus && i.append(o.focus), i.append(":"), 1 != o.scale && i.append(o.scale) } else if (t.stimulsoft.is(w)) { var u = t; i.append("glass:"), i.append(e.jColor(u.color, y.silver)), i.append(":"), u.drawHatch && i.append(u.drawHatch), i.append(":"), .2 != u.blend && i.append(u.blend) } else if (t.stimulsoft.is(D)) { var c = t; i.append("gradient:"), i.append(e.jColor(c.startColor, y.black)), i.append(":"), i.append(e.jColor(c.endColor, y.white)), i.append(":"), 0 != c.angle && i.append(c.angle) } else if (t.stimulsoft.is(P)) { var d = t; i.append("hatch:"), i.append(e.jColor(d.backColor, y.black)), i.append(":"), i.append(e.jColor(d.foreColor, y.white)), i.append(":"), d.style != a.BackwardDiagonal && i.append(l.getName(a, d.style)) } return i.toString() } , e.jBorderSide = function(t) { var r = e.jColor(t.color, y.black); null == r && (r = ""); var i = ""; 1 != t.size && (i = t.size.toString()); var o = ""; return t.style != n.None && (o = l.getName(n, t.style)), r + ":" + i + ":" + o } , e.jBorder = function(t) { var r = new s , o = t.stimulsoft.as(f); return null != o ? (r.append(e.jBorderSide(o.topSide)), r.append(";"), r.append(e.jBorderSide(o.bottomSide)), r.append(";"), r.append(e.jBorderSide(o.leftSide)), r.append(";"), r.append(e.jBorderSide(o.rightSide)), r.append(";"), t.dropShadow && r.append(t.dropShadow), r.append(";"), 4 != t.shadowSize && r.append(t.shadowSize), r.append(";"), r.append(e.jBrush(t.shadowBrush, new x(y.black)))) : (t.side != i.None && r.append(l.getName(i, t.side)), r.append(";"), t.color.stimulsoft.equals(y.black) || r.append(e.jColor(t.color)), r.append(";"), 1 != t.size && r.append(t.size), r.append(";"), t.style != n.Solid && r.append(l.getName(n, t.style)), r.append(";"), 4 != t.shadowSize && r.append(t.shadowSize), r.append(";"), t.dropShadow && r.append(t.dropShadow), r.append(";"), t.topmost && r.append(t.topmost), r.append(";"), r.append(e.jBrush(t.shadowBrush, new x(y.black)))), r.toString() } , e.jBorder2 = function(t) { var r = ""; return t.side != i.None && (r += t.side), r += ";", y.gray.stimulsoft.equals(t.color) || (r += e.jColor(t.color)), r += ";", 1 != t.size && (r += t.size), r += ";", t.style != n.Solid && (r += t.style), r += ";" } , e }(); t.Serialize = L; var N = function() { function e() {} return e.stringArray = function(e) { var t, r, i = [], n = 0; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; i[n] = s.value, 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 } , e.numberArray = function(e) { var t, r, i = [], n = 0; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; i[n] = s.value, 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 } , e.font = function(e, t) { var i = e.split(";"); if (4 != i.length) throw new Error("Parsing Error"); var n = t.fontFamily.name , o = t.size , a = t.style , s = t.unit; return r.isNullOrEmpty(i[0]) || (n = i[0]), r.isNullOrEmpty(i[1]) || (o = parseFloat(i[1])), r.isNullOrEmpty(i[2]) || (a = l.parse(S, i[2])), r.isNullOrEmpty(i[3]) || (s = l.parse(g, i[3])), new p(n,o,a,s) } , e.jBorderSide = function(t) { var i = t.split(":") , a = new o; return r.isNullOrEmpty(i[0]) || (a.color = e.color(i[0])), r.isNullOrEmpty(i[1]) || (a.size = parseFloat(i[1])), r.isNullOrEmpty(i[2]) || (a.style = l.parse(n, i[2])), a } , e.jCap = function(t) { var i = t.split(";") , n = new c; if (4 != i.length) throw new Error("Parsing Error"); return r.isNullOrEmpty(i[0]) || (n.width = parseInt(i[0])), r.isNullOrEmpty(i[1]) || (n.height = parseInt(i[1])), r.isNullOrEmpty(i[2]) || (n.style = l.parse(u, i[2])), r.isNullOrEmpty(i[3]) || (n.color = e.color(i[3])), n } , e.border = function(t) { var o = t.split(";"); if (7 == o.length) { var a = new x(y.black); return new f(e.jBorderSide(o[0]),e.jBorderSide(o[1]),e.jBorderSide(o[2]),e.jBorderSide(o[3]),!1,4,a) } var s = new h; return r.isNullOrEmpty(o[0]) || (s.side = l.parse(i, o[0])), r.isNullOrEmpty(o[1]) || (s.color = e.color(o[1])), r.isNullOrEmpty(o[2]) || (s.size = parseFloat(o[2])), r.isNullOrEmpty(o[3]) || (s.style = l.parse(n, o[3])), o.length > 4 && !r.isNullOrEmpty(o[4]) && (s.shadowSize = parseFloat(o[4])), r.isNullOrEmpty(o[5]) || (s.dropShadow = !0), r.isNullOrEmpty(o[6]) || (s.topmost = !0), r.isNullOrEmpty(o[7]) || (s.shadowBrush = e.brush(o[7])), s } , e.simpleBorder = function(t) { var o = t.split(";") , a = new B; return r.isNullOrEmpty(o[0]) || (a.side = l.parse(i, o[0])), r.isNullOrEmpty(o[1]) || (a.color = e.color(o[1])), r.isNullOrEmpty(o[2]) || (a.size = parseFloat(o[2])), r.isNullOrEmpty(o[3]) || (a.style = l.parse(n, o[3])), a } , e.color = function(e) { if (-1 != e.indexOf(",")) { var t = e.split(","); if (4 == t.length) return y.fromArgb(parseInt(t[0].trim()), parseInt(t[1].trim()), parseInt(t[2].trim()), parseInt(t[3].trim())); return y.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 = e.substring(1, e.length - 1).split(":"); if (4 == t.length) return y.fromArgb(parseInt(t[0].trim()), parseInt(t[1].trim()), parseInt(t[2].trim()), parseInt(t[3].trim())); return y.fromArgb(parseInt(t[0].trim()), parseInt(t[1].trim()), parseInt(t[2].trim())) } return y.fromName(e) } , e.brush = function(t) { var i = t.split(":"); switch (i[0]) { case "empty": return new C; case "glass": var n = new w; return r.isNullOrEmpty(i[1]) || (n.color = e.color(i[1])), r.isNullOrEmpty(i[2]) || (n.drawHatch = !0), r.isNullOrEmpty(i[3]) || (n.blend = parseFloat(i[3])), n; case "glare": var o = new T; return r.isNullOrEmpty(i[1]) || (o.startColor = e.color(i[1])), r.isNullOrEmpty(i[2]) || (o.endColor = e.color(i[2])), r.isNullOrEmpty(i[3]) || (o.angle = parseFloat(i[3])), r.isNullOrEmpty(i[4]) || (o.focus = parseFloat(i[4])), r.isNullOrEmpty(i[5]) || (o.scale = parseFloat(i[5])), o; case "hatch": var s = new P; return r.isNullOrEmpty(i[1]) || (s.backColor = e.color(i[1])), r.isNullOrEmpty(i[2]) || (s.foreColor = e.color(i[2])), r.isNullOrEmpty(i[3]) || (s.style = l.parse(a, i[3])), s; case "gradient": var u = new D; return r.isNullOrEmpty(i[1]) || (u.startColor = e.color(i[1])), r.isNullOrEmpty(i[2]) || (u.endColor = e.color(i[2])), r.isNullOrEmpty(i[3]) || (u.angle = parseFloat(i[3])), u; case "solid": var c = new x; return r.isNullOrEmpty(i[1]) || (c.color = e.color(i[1])), c } return null } , e.colorArray = function(t) { var r, i, n = [], o = 0; try { for (var a = __values(t.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = l.value , c = e.color(u); n[o] = c, o++ } } catch (e) { r = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return n } , e.size = function(e) { var t, r, i = new v(0,0); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.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 { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i } , e.rectangleD = function(e) { var t = e.split(","); if (4 != t.length) throw new Error("Parsing Error"); return new m(parseFloat(t[0]),parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3])) } , e.sizeD = function(e) { var t = e.split(","); if (2 != t.length) throw new Error("Parsing Error"); return new v(parseFloat(t[0]),parseFloat(t[1])) } , e.point = function(e) { var t, r, i = new b; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.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 { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i } , e }(); t.Deserialize = N }(r = t.StiJsonReportObjectHelper || (t.StiJsonReportObjectHelper = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Data.DataSet , i = e.System.Data.JsonRelationDirection , n = function() { function e() {} return e.getDataSet = function(e, t) { void 0 === t && (t = i.ChildToParent); var n = new r; return n.readJson(e, t), n } , e }(); t.StiJsonToDataSetConverter = n }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e[e.Ultimate = 1] = "Ultimate", e[e.Net = 2] = "Net", e[e.Wpf = 3] = "Wpf", e[e.Web = 4] = "Web", e[e.Silverlight = 5] = "Silverlight", e[e.Js = 6] = "Js", e[e.Java = 7] = "Java", e[e.Php = 8] = "Php", e[e.NetCore = 9] = "NetCore", e[e.Uwp = 10] = "Uwp", e[e.Flex = 11] = "Flex", e[e.BIDesigner = 12] = "BIDesigner", e[e.DbsJs = 13] = "DbsJs", e[e.DbsWin = 14] = "DbsWin", e[e.DbsWeb = 15] = "DbsWeb", e[e.BIDesktop = 16] = "BIDesktop", e[e.BIServer = 17] = "BIServer", e[e.BICloud = 18] = "BICloud" }(t = e.StiProductIdent || (e.StiProductIdent = {})); var r; !function(e) { e[e.Server = 1] = "Server", e[e.Developer = 2] = "Developer" }(r = e.StiActivationType || (e.StiActivationType = {})) }(t = e.Licenses || (e.Licenses = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = function() { function t() {} return t.decrypt = function(t, r) { return e.System.Crypt.AES.decrypt(t, r) } , t.encrypt = function(t, r) { return void 0 === r && (r = null), e.System.Crypt.AES.encrypt(t, r) } , t.recrypt = function(e, t, r) { return e = this.decrypt(e, t), this.encrypt(e, r) } , t }(); t.StiCryptHelper = r }(r = t.Licenses || (t.Licenses = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.getKey = function() { return { RSAKeyValue: { Modulus: "iyWINuM1TmfC9bdSA3uVpBG6cAoOakVOt+juHTCw/gxz/wQ9YZ+Dd9vzlMTFde6HAWD9DC1IvshHeyJSp8p4H3qXUKSC8n4oIn4KbrcxyLTy17l8Qpi0E3M+CI9zQEPXA6Y1Tg+8GVtJNVziSmitzZddpMFVr+6q8CRi5sQTiTs=", Exponent: "10001" } } } , e }(); e.StiRsaPublicKey = t }(t = e.Licenses || (e.Licenses = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.List , i = e.System.StiString , n = e.System.DateTime , o = e.System.Enum , a = function() { function e() { this.encryptKey = "ieICWsADhNJQBsVv63j/tA==" } return e.prototype.loadFromString = function(e) { var i = JSON.parse(e); this.activationDate = n.fromNetJsonString(i.ActivationDate), this.products = new r; for (var a in i.Products) this.products[a] = new t.StiLicenseProduct, this.products[a].expirationDate = n.fromNetJsonString(i.Products[a].ExpirationDate), this.products[a].ident = o.parse(t.StiProductIdent, i.Products[a].Ident); this.owner = i.Owner, this.userName = i.UserName, this.signature = i.Signature } , e.prototype.saveToString = function() { var e = ""; e += "{\r\n", e += i.format(' "ActivationDate": "{0}",\r\n', this.activationDate.toNetJsonString()), null != this.signature && (e += i.format(' "Signature": "{0}",\r\n', this.signature)), e += i.format(' "Owner": "{0}",\r\n', this.owner), e += i.format(' "UserName": "{0}",\r\n', this.userName), e += ' "Products": [', this.products.length > 0 && (e += "\r\n"); for (var r in this.products) e += " {\r\n", e += i.format(' "ExpirationDate": "{0}",\r\n', this.products[r].expirationDate.toNetJsonString()), e += i.format(' "Ident": "{0}"\r\n', o.getName(t.StiProductIdent, this.products[r].ident)), r.stimulsoft.toNumber() < this.products.length - 1 ? e += " },\r\n" : e += " }\r\n"; return this.products.length > 0 && (e += " "), e += "]\r\n}" } , e.prototype.loadFromBytes = function(e) { var t = i.fromBytesArray(e); this.loadFromString(t) } , e.prototype.decryptFromBytes = function(e) { this.decryptFromString(i.fromBytesArray(e)) } , e.prototype.decryptFromString = function(e) { this.loadFromString(t.StiCryptHelper.decrypt(e, this.encryptKey)) } , e }(); t.StiLicenseObject = a }(r = t.Licenses || (t.Licenses = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.DateTime , i = function(e) { function t() { var t = e.call(this) || this; return t.owner = "", t.userName = "", t.activationDate = r.today, t.owner = "", t.userName = "", t } return __extends(t, e), t.prototype.clone = function() { var e = new t; return e.loadFromString(this.saveToString()), e } , Object.defineProperty(t.prototype, "isServerLicense", { get: function() { return null != this.planId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isProductLicense", { get: function() { return null != this.products && this.products.length > 0 }, enumerable: !0, configurable: !0 }), t.get1 = function(e) { var r = new t; return r.decryptFromBytes(e), r } , t.get2 = function(e) { var r = new t; return r.decryptFromString(e), r } , t }(t.StiLicenseObject); t.StiLicenseKey = i }(r = t.Licenses || (t.Licenses = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.StiString , i = e.Base.Licenses.StiRsaPublicKey , n = e.Base.Licenses.StiLicenseKey , o = function() { function t() {} return Object.defineProperty(t, "key", { get: function() { return this._key }, set: function(e) { this.setNewLicenseKey(e, !1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "Key", { get: function() { return this.key }, set: function(e) { this.key = e }, enumerable: !0, configurable: !0 }), t.setNewLicenseKey = function(e, t) { if (void 0 === t && (t = !0), r.isNullOrWhiteSpace(e)) this._key = null, this.licenseKey = null; else { var i = n.get2(e); if (this.isValidLicenseKey(i)) this.licenseKey = i, this._key = e; else { if (t) throw new Error("The license key is not valid"); this._key = null, this.licenseKey = null } } } , t.isValidLicenseKey = function(t) { try { if (null == t) return !1; if (null == t.signature) return !1; var r = t.clone(); r.signature = null; var n = new e.System.Crypt.RSAKey , o = i.getKey(); return n.setPublic(o.RSAKeyValue.Modulus, o.RSAKeyValue.Exponent), n.verifyString(r.saveToString(), t.signature) } catch (e) { return !1 } } , t.loadFromFile = function(t) { this.loadFromString(e.System.IO.File.getFile(t)) } , t.loadFromString = function(e) { this.key = e } , t }(); t.StiLicense = o }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.encryptKey = "aoc#wm5eoAtrr$a5@m9w", t } return __extends(t, e), t }(e.StiLicenseObject); e.StiLicenseActivationResponse = t }(t = e.Licenses || (e.Licenses = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function t() { this.key = e.StiKeyHelper.generateKey() } return t }(); e.StiKeyObject = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t }(e.StiKeyObject); t.StiLicenseKeyContainer = r }(t = e.Licenses || (e.Licenses = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Base.Licenses.StiProductIdent , o = function() { function r() {} return r.isValid = function(t) { var r = this.getLicenseKey(); return null != r && !i.isNullOrWhiteSpace(r.signature) && null != r.products && r.products.any(function(r) { return (r.ident == t || r.ident == n.Ultimate) && r.expirationDate.ticks > e.StiVersion.created.ticks }) } , r.isValidOnDbsJS = function() { var t = this , r = this.getLicenseKey(); return null != r && !i.isNullOrWhiteSpace(r.signature) && null != r.products && r.products.any(function(r) { return t.isDbsJSPlatform(r.ident) && r.expirationDate.ticks > e.StiVersion.created.ticks }) } , r.isValidOnAnyDbs = function() { var t = this , r = this.getLicenseKey(); return null != r && !i.isNullOrWhiteSpace(r.signature) && null != r.products && r.products.any(function(r) { return t.isAnyDbsPlatform(r.ident) && r.expirationDate.ticks > e.StiVersion.created.ticks }) } , r.isValidOnJS = function() { var t = this , r = this.getLicenseKey(); return null != r && !i.isNullOrWhiteSpace(r.signature) && null != r.products && r.products.any(function(r) { return t.isJSPlatform(r.ident) && r.expirationDate.ticks > e.StiVersion.created.ticks }) } , r.isValidOnAnyReports = function() { var t = this , r = this.getLicenseKey(); return null != r && !i.isNullOrWhiteSpace(r.signature) && null != r.products && r.products.any(function(r) { return t.isAnyReportsPlatform(r.ident) && r.expirationDate.ticks > e.StiVersion.created.ticks }) } , r.isValidOnAnyPlatform = function() { var t = this.getLicenseKey(); return null != t && !i.isNullOrWhiteSpace(t.signature) && null != t.products && t.products.any(function(t) { return t.expirationDate.ticks > e.StiVersion.created.ticks }) } , r.isValidOnBI = function() { var t = this , r = this.getLicenseKey(); return null != r && !i.isNullOrWhiteSpace(r.signature) && null != r.products && r.products.any(function(r) { return t.isBIPlatform(r.ident) && r.expirationDate.ticks > e.StiVersion.created.ticks }) } , r.isJSPlatform = function(e) { return e == n.Js || e == n.Php || e == n.NetCore || e == n.Ultimate } , r.isAnyDbsPlatform = function(e) { return e == n.DbsJs || e == n.DbsWeb || e == n.DbsWin || e == n.Ultimate } , r.isAnyReportsPlatform = function(e) { return e == n.Flex || e == n.Java || e == n.Net || e == n.NetCore || e == n.Php || e == n.Silverlight || e == n.Uwp || e == n.Web || e == n.Wpf || e == n.Js || e == n.Ultimate } , r.isDbsJSPlatform = function(e) { return e == n.DbsJs || e == n.Ultimate } , r.isBIPlatform = function(e) { return e == n.BIDesigner || e == n.BIDesktop || e == n.BIServer || e == n.BICloud } , r.getLicenseKey = function() { if (i.isNullOrWhiteSpace(t.StiLicense.key)) return null; if (10 == this.indexValidator ? (t.StiLicense.setNewLicenseKey(t.StiLicense.key), this.indexValidator = 0) : this.indexValidator++, null == t.StiLicense.licenseKey) return null; if (null == t.StiLicense.licenseKey.signature) return null; return t.StiLicense.licenseKey } , r }(); r.StiLicenseKeyValidator = o }(r = t.Licenses || (t.Licenses = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.StiLicenseProduct = t }(t = e.Licenses || (e.Licenses = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.System.Xml.XmlConverter , o = function() { function r() {} return r.setLocalization = function(e, t) { if (void 0 === t && (t = !1), t) r.languages = {}; else { var i = r.loadLocalization(e); r.cultureName = i } } , Object.defineProperty(r, "cultureName", { get: function() { return i.isNullOrEmpty(r._cultureName) && (r._cultureName = t.StiSettings.get("cultureName", "English"), null == r.languages[r._cultureName] && (r._cultureName = "English")), r._cultureName }, set: function(e) { r._cultureName != e && t.StiSettings.set("cultureName", e), r._cultureName = e }, enumerable: !0, configurable: !0 }), r.addLocalizationFile = function(e, t, n) { if (void 0 === t && (t = !1), void 0 === n && (n = ""), t) { var o = r.loadLocalizationFile(e) , a = r[o]["@language"]; return r.languages[o] = { language: a, cultureName: o, filePath: e, jsonString: JSON.stringify(r[o]) }, a } return i.isNullOrEmpty(n) ? r.languages[e] = { language: n, cultureName: "", filePath: e } : r.languages[n] = { language: n, cultureName: "", filePath: e }, "" } , r.setLocalizationFile = function(e, t) { if (void 0 === t && (t = !1), t) r.languages = {}; else for (var n in r.languages) { var o = r.languages[n]; if (o.filePath == e) { if (i.isNullOrEmpty(o.cultureName)) { delete r.languages[n]; break } return void (r.cultureName = o.cultureName) } } r.cultureName = r.addLocalizationFile(e, !0) } , r.getJsonStringLocalization = function() { var e = r.languages[r.cultureName]; return null == r[e.language] && (r.setLocalizationFile(e.filePath), delete r.languages[e.filePath], e = r.languages[r.cultureName]), null == e.jsonString && (e.jsonString = JSON.stringify(r[r.cultureName])), e.jsonString } , r.loadLocalization = function(t, i) { void 0 === i && (i = !1); try { if (null != t && t.trim().stimulsoft.startsWith("Overlay Legend at Center
        Show Legend at center of the chart

        without resizing
        ", HorAlLeft: "Overlay Legend at Left
        Show Legend at left of the chart

        without resizing
        ", HorAlLeftOutside: "Show Legend at Left
        Show Legend and align left
        ", HorAlRight: "Overlay Legend at Right
        Show Legend at right of the chart

        without resizing
        ", HorAlRightOutside: "Show Legend at Right
        Show Legend and align right
        ", HorizontalMajor: "Major
        Display Horizontal Gridlines for Major units
        ", HorizontalMajorMinor: "Major && Minor Gridlines
        Display Horizontal Gridlines for Major and Minor units
        ", HorizontalMinor: "Minor
        Display Horizontal Gridlines for Minor units
        ", HorizontalNone: "None
        Do not display Horizontal Grirdlines
        ", 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: "Overlay Legend at Bottom
        Show Legend at bottom of the chart

        without resizing
        ", VertAlBottomOutside: "Show Legend at Bottom
        Show Legend and align bottom
        ", VertAlCenter: "Overlay Legend at Center
        Show Legend at center of the chart

        without resizing
        ", VertAlTop: "Overlay Legend at Top
        Show Legend at top of the chart

        without resizing
        ", VertAlTopOutside: "Show Legend at Top
        Show Legend and align top
        ", VerticalMajor: "Major
        Display Vertical Gridlines for Major units
        ", VerticalMajorMinor: "Major && Minor Gridlines
        Display Vertical Gridlines for Major and Minor units
        ", VerticalMinor: "Minor
        Display Vertical Gridlines for Minor units
        ", VerticalNone: "None
        Do not display Vertical Gridlines
        " }, Cloud: { AcceptTermsAndPrivacyPolicy: "I read and accept the {0} and {1}", 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", ButtonLogout: "Logout", ButtonPublish: "Publish", ButtonPurchase: "Purchase", ButtonRecover: "Recover", ButtonRenew: "Renew", ButtonResendEmail: "Resend Email", ButtonResetPassword: "Reset Password", ButtonRun: "Run", ButtonShare: "Share", ButtonSignUp: "Sign Up", 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!", 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", StiSubReport: "Sub-Report", StiSystemText: "System Text", StiTable: "Table", 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", ViewModeDesktop: "Desktop", ViewModeMobile: "Mobile", AfterGroupingData: "Apply after grouping data", AllowUserDrillDown: "Allow User Drill-Down", AllowUserFiltering: "Allow User Filtering", AllowUserSorting: "Allow User Sorting", Blanks: "(Blanks)", FullRowSelect: "Full Row Select", 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...", DataBars: "Data Bars", DataNotDefined: "Data is not defined", DateFilters: "Date Filters", Dimension: "Dimension", Dimensions: "Dimensions", DragDropDataFromDictionary: "Drag & drop data from Dictionary", DragDropData: "Drag & drop data", DrillDown: "Drill-Down", DrillDownSelected: "Drill-Down Selected", DrillDownFiltered: "Drill-Down Filtered", 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", 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", 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", SkipFirstRows: "Skip First Rows", SortAZ: "Sort A to Z", SortLargestToSmallest: "Sort Largest to Smallest", SortSmallestToLargest: "Sort Smallest to Largest", SortOldestToNewest: "Sort Oldest to Newest", SortNewestToOldest: "Sort Newest to Oldest", 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" }, 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: { ButtonAddCloud: "Add Cloud Folder", ButtonAddFolder: "Add Folder", ButtonCreateDashboard: "Create Dashboard", ButtonCreateReport: "Create Report", 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.", WhoAreYou: "Who Are you?" }, 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", InsertSymbol: "Insert Symbol", GotoLine: "Go To &Line", 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", TypeToSearch: "Type to 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", UseRegularExpressions: "Use &Regular Expressions" }, Errors: { ComponentIsNotRelease: 'Component is not release "{0}".', ContainerIsNotValidForComponent: "Container {0} is not valid for component {1}.", DataNotFound: "Data not found.", 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." }, 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: { Token: "Token", ClientId: "Client Id", ClientSecret: "Client Secret", ConnectionString: "Connection String:", DashboardConnections: "Dashboard Connections", 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", 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:", 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", 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", UniDirectEdit: "Edit Uni Direct Connection", UniDirectNew: "New Uni Direct Connection", Unpin: "Unpin", UseBearerAuthentication: "Use Bearer Authentication", 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: "Executed SQL statement 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", 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_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 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!", ActivationMaxActivationsReached: "You reached the maximum number of activations. Please contact our sales department at sales@stimulsoft.com!", 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.", ActivationUserNameOrPasswordIsWrong: "Your user name (Email) or password is wrong!", ActivationWrongAccountType: "Your account type does not allow to activate Stimulsoft Server!", 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}"!', AuthUserHasLoggedOut: "You have logged out!", AuthUserNameAlreadyExists: "The username (Email) is already in use!", AuthUserNameIsNotSpecified: "The username (Email) is not specified!", 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!", 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)?", NewProduct: "A new product is added to your subscription!", NewVersionsAvailable: "New version available!", NotificationFailed: "Failed result!", 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 count exceeded.", QuotaMaximumDataRowsCountExceeded: "Maximum data rows count in one data source exceeded.", QuotaMaximumFileSizeExceeded: "Maximum file size exceeded.", QuotaMaximumItemsCountExceeded: "Maximum items count exceeded.", QuotaMaximumReportPagesCountExceeded: "Maximum report pages count exceeded.", QuotaMaximumResourcesCountExceeded: "Maximum resources count exceeded.", QuotaMaximumUsersCountExceeded: "Maximum users count exceeded.", QuotaMaximumWorkspacesCountExceeded: "Maximum workspaces count 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}", 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: "Thank you for choosing Stimulsoft!", 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!", 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", ControlCategory: "Control", ControlsEventsCategory: "Controls Events", CrossTabCategory: "Cross-Tab", DashboardCategory: "Dashboard", DataCategory: "Data", DatePickerCategory: "Date Picker", DescriptionCategory: "Description", DesignCategory: "Design", DisplayCategory: "Display", ExportCategory: "Export", ExportEventsCategory: "Export Events", FooterTableCategory: "Footer Table", GaugeCategory: "Gauge", 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", 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: { StiTargetModePercentage: "Percentage", StiTargetModeVariation: "Variation", 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", 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", StiDesignerSpecificationBICreator: "I'm BI 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", 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", StiFormStartModeOnEnd: "On End", StiFormStartModeOnPreview: "On Preview", StiFormStartModeOnStart: "On Start", StiGaugeCalculationModeAuto: "Auto", StiGaugeCalculationModeCustom: "Custom", StiGaugeRangeModePercentage: "Percentage", StiGaugeRangeModeValue: "Value", StiGaugeRangeTypeColor: "Color", StiGaugeRangeTypeNone: "None", StiGaugeTypeFullCircular: "Full Circular", StiGaugeTypeHalfCircular: "Half-Circular", StiGaugeTypeLinear: "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", 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", StiSeriesYAxisLeftYAxis: "Left Y Axis", StiSeriesYAxisRightYAxis: "Right Y Axis", StiSeriesXAxisBottomXAxis: "Bottom X Axis", StiSeriesXAxisTopXAxis: "Top X 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", 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: { TargetMode: "Target Mode", Variation: "Variation", TargetIcon: "Target Icon", 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", 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", 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", 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", 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", 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", 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", 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", 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", ParametersOrientation: "Parameters Orientation", ParentColumns: "Parent Columns", ParentSource: "Parent Data Source", ParentValue: "Parent Value", 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", 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: "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", ShowDialog: "Show Dialog", ShowEdgeValues: "Show Edge Values", ShowImageBehind: "Show Image Behind", ShowInLegend: "Show in Legend", ShowInPercent: "Show in Percent", ShowLabels: "Show Labels", ShowLabelText: "Show Label Text", ShowLegend: "Show Legend", ShowMarker: "Show Marker", 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", 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", 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", 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", 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", 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", DeviceWidth: "Device Width" }, 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: { Null: "Null", 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", 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: { UseDemoData: "Use Demo Data", GetData: "Get Data", RunWizard: "Run Wizard", 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", 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", SelectColumns: "Select Columns", SelectTemplate: "Template", Sort: "Sort", StandardReport: "Standard Report", Themes: "Themes", title: "New Report", Totals: "Totals", 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%" } }, r._cultureName = "", r }(); r.StiLocalization = o }(r = t.Localization || (t.Localization = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiMapKeyHelper = "IStiMapKeyHelper" }(t = e.Map || (e.Map = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiArgumentMeter = "IStiArgumentMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiColorMapMeter = "IStiColorMapMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiColorScaleColumn = "IStiColorScaleColumn" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiDataBarsColumn = "IStiDataBarsColumn" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiDimensionColumn = "IStiDimensionColumn" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiDimensionMeter = "IStiDimensionMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiGroupMapMeter = "IStiGroupMapMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiIndicatorColumn = "IStiIndicatorColumn" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiKeyMapMeter = "IStiKeyMapMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiLocalizedMeter = "IStiLocalizedMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiMeasureColumn = "IStiMeasureColumn" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiMeasureMeter = "IStiMeasureMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiMeter = "IStiMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiNameMapMeter = "IStiNameMapMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiPivotColumn = "IStiPivotColumn" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiPivotRow = "IStiPivotRow" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiPivotSummary = "IStiPivotSummary" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiSeriesMeter = "IStiSeriesMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiSparklinesColumn = "IStiSparklinesColumn" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiTableColumn = "IStiTableColumn" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiTargetMeter = "IStiTargetMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiValueMapMeter = "IStiValueMapMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiValueMeter = "IStiValueMeter" }(t = e.Meters || (e.Meters = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.StiNoticeIdent || (e.StiNoticeIdent = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.StiNotice = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Collections.Hashtable , i = e.System.ICloneable , n = function() { function e() { this.items = null, this.valueBoolFalse = !1, this.valueBoolTrue = !0 } return e.prototype.implements = function() { return [i] } , e.prototype.clone = function() { var t = new e; return null != this.items && (t.items = this.items.clone()), t } , e.prototype.setNumber = function(e, t, i) { if (t == i) { if (null == this.items) return; null != this.items.get(e) && this.items.remove(e) } else null == this.items && (this.items = new r), this.items.set(e, t) } , e.prototype.getNumber = function(e, t) { if (null == this.items) return t; var r = this.items.get(e); return null == r ? t : r } , e.prototype.setBool = function(e, t, i) { if (t == i) { if (null == this.items) return; null != this.items.get(e) && this.items.remove(e) } else null == this.items && (this.items = new r), t ? this.items.set(e, this.valueBoolTrue) : this.items.set(e, this.valueBoolFalse) } , e.prototype.getBool = function(e, t) { if (null == this.items) return t; var r = this.items.get(e); if (r == this.valueBoolFalse) return !1; if (r == this.valueBoolTrue) return !0; return t } , e.prototype.set = function(e, t, i) { if (null == this.items && (this.items = new r), null == t || t == i) return void (null != this.items.get(e) && this.items.remove(e)); this.items.set(e, t) } , e.prototype.get = function(e, t) { if (null == this.items) return t; var r = this.items.get(e); if (null == r) return t; return r } , e.prototype.isPresent = function(e) { if (null == this.items) return !1; return this.items.containsKey(e) } , e }(); t.StiRepositoryItems = n }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiRepositoryItems , i = e.System.ICloneable , n = function() { function e() { this._properties = null } return e.prototype.clone = function(e, t) { return void 0 === e && (e = !0), void 0 === t && (t = !0), this.memberwiseClone() } , e.prototype.memberwiseClone = function() { var e = this.stimulsoft.memberwiseClone(!0); return e._properties = this._properties, e } , e.prototype.implements = function() { return [i] } , e.prototype.isPropertyPresent = function(e) { if (null == this.properties) return !1; return this.properties.isPresent(e) } , Object.defineProperty(e.prototype, "properties", { get: function() { return null == this._properties && (this._properties = new r), this._properties }, set: function(e) { this._properties = e }, enumerable: !0, configurable: !0 }), e.prototype.isPropertiesInitializedProtected = function() { return null != this.properties } , Object.defineProperty(e.prototype, "serviceCategory", { get: function() { return "Misc" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "serviceName", { get: function() { return this.stimulsoft.getType().stimulsoft.getTypeName() }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "serviceInfo", { get: function() { return "" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "serviceType", { get: function() { return this.stimulsoft.getType() }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "serviceEnabled", { get: function() { return this.properties.getBool("ServiceEnabled", !0) }, set: function(e) { this.properties.setBool("ServiceEnabled", e, !0) }, enumerable: !0, configurable: !0 }), e }(); t.StiService = n }(r = t.Services || (t.Services = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.StiString, i; !function(e) { e[e.FText = 1] = "FText", e[e.FHcrc = 2] = "FHcrc", e[e.FExtra = 4] = "FExtra", e[e.FName = 8] = "FName", e[e.FComment = 16] = "FComment" }(i || (i = {})); var n = function() { function t() {} return Object.defineProperty(t, "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: !0, configurable: !0 }), t.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 } , t.putByte = function(e, t) { t.push(255 & e) } , t.putShort = function(e, t) { t.push(255 & e), t.push(e >>> 8) } , t.putLong = function(e, r) { t.putShort(65535 & e, r), t.putShort(e >>> 16, r) } , t.putString = function(e, r) { for (var i = 0; i < e.length; i += 1) t.putByte(e.charCodeAt(i), r) } , t.readByte = function(e) { return e.shift() } , t.readShort = function(e) { return e.shift() | e.shift() << 8 } , t.readLong = function(e) { var r = t.readShort(e) , i = t.readShort(e); if (i > 32768) return ((i -= 32768) << 16 | r) + 32768 * Math.pow(2, 16); return i << 16 | r } , t.readString = function(e) { var t = []; while (0 !== e[0]) t.push(String.fromCharCode(e.shift())); return e.shift(), t.join("") } , t.readBytes = function(e, t) { for (var r = [], i = 0; i < t; i += 1) r.push(e.shift()); return r } , t.pack = function(n, o) { var a, s; if (null == n || void 0 === n) return null; var l = 0 , u = [] , c = n; n.stimulsoft.is(String) && (c = n.stimulsoft.toUnicodeString().stimulsoft.toBytesArray()), t.putByte(t.ID1, u), t.putByte(t.ID2, u), t.putByte(t.DefaultMethod, u), r.isNullOrEmpty(o) || (l |= i.FName), t.putByte(l, u), t.putLong(parseInt((Date.now() / 1e3).toString(), 10), u), 1 == t.DefaultLevel ? t.putByte(4, u) : 9 == t.DefaultLevel ? t.putByte(2, u) : t.putByte(0, u), -1 != navigator.appVersion.indexOf("Win") ? t.putByte(11, u) : t.putByte(3, u), r.isNullOrEmpty(o) || (t.putString(o.substring(o.lastIndexOf("/") + 1), u), t.putByte(0, u)); var d = e.ExternalLibrary.JSZip.compressions.DEFLATE.compress(c, { level: 6 }); try { for (var h = __values(d), m = h.next(); !m.done; m = h.next()) { var f = m.value; t.putByte(f, u) } } catch (e) { a = { error: e } } finally { try { m && !m.done && (s = h.return) && s.call(h) } finally { if (a) throw a.error } } if (t.putLong(t.crc32(c), u), t.putLong(c.length, u), n.stimulsoft.is(Array)) return u; return e.System.Convert.toBase64String(u) } , t.unpack = function(r) { var n, o, a = r; if (r.stimulsoft.is(String) && (a = e.System.Convert.fromBase64String(r)), "undefined" != typeof Buffer && r.stimulsoft.is(Buffer) && (a = __spread(r)), t.readByte(a) !== t.ID1 || t.readByte(a) !== t.ID2) throw new Error("Not a GZIP file"); if (8 !== t.readByte(a)) throw new Error("Unsupported compression method"); var s = t.readByte(a) , l = t.readLong(a) , u = t.readByte(a) , c = t.readByte(a); if (s & i.FExtra) { var d = t.readShort(a); t.readBytes(a, d) } s & i.FName && t.readString(a), s & i.FComment && t.readString(a), s & i.FHcrc && t.readShort(a); var h = e.ExternalLibrary.JSZip.compressions.DEFLATE.uncompress(a.splice(0, a.length - 8)); if (r.stimulsoft.is(Array)) return h; var m = ""; try { for (var f = __values(h), p = f.next(); !p.done; p = f.next()) { var S = p.value; m += String.fromCharCode(S) } } catch (e) { n = { error: e } } finally { try { p && !p.done && (o = f.return) && o.call(f) } finally { if (n) throw n.error } } return m.stimulsoft.fromUnicodeString() } , t.DefaultLevel = 6, t.DefaultMethod = 8, t.ID1 = 31, t.ID2 = 139, t._crcTable = null, t }(); t.StiGZipHelper = n }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Text.Encoding , i = function() { function t() { this._mainStream = null, this.zip = null, this._mainStream = null } return t.convertToArray = function(e, t) { if (null == t) return []; return e ? r.UTF8.getBytes(t) : r.Default.getBytes(t) } , t.getDosTime = function(e) { return (e.year - 1980 & 127) << 25 | e.month << 21 | e.day << 16 | e.hour << 11 | e.minute << 5 | e.second >> 1 } , t.prototype.begin = function(t, r) { if (this._mainStream = t, null == this._mainStream) throw new Error("Output stream is null"); this.zip = e.ExternalLibrary.JSZip() } , t.prototype.addFile = function(e, t, r) { void 0 === r && (r = !1), this.zip.file(e, t.toArray()) } , t.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 }(); t.StiZipWriter20 = i }(r = t.Zip || (t.Zip = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e[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" }(t = e.StiAnimationType || (e.StiAnimationType = {})); var r; !function(e) { e[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" }(r = e.StiTokenType || (e.StiTokenType = {})); var i; !function(e) { e[e.Basic = 0] = "Basic", e[e.Standard = 1] = "Standard", e[e.Professional = 2] = "Professional" }(i = e.StiLevel || (e.StiLevel = {})); var n; !function(e) { e[e.Sum = 0] = "Sum", e[e.Min = 1] = "Min", e[e.Max = 2] = "Max", e[e.Count = 3] = "Count", e[e.Average = 4] = "Average" }(n = e.StiSummaryColumnType || (e.StiSummaryColumnType = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiApp = "IStiApp" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiAppCalcDataColumn = "IStiAppCalcDataColumn" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiAppCell = "IStiAppCell" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiIStiAppComponentAppCell = "IStiAppComponent" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiAppConnection = "IStiAppConnection" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiAppDataColumn = "IStiAppDataColumn" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiAppDataRelation = "IStiAppDataRelation" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiAppDataSource = "IStiAppDataSource" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiAppDictionary = "IStiAppDictionary" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiAppFunction = "IStiAppFunction" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiAppVariable = "IStiAppVariable" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiReport = "IStiReport" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiReportComponent = "IStiReportComponent" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { e.IStiReportPage = "IStiReportPage" }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = function() { function t() {} return t.createObject = function(t) { if (t.prototype instanceof e.System.StimulsoftList) return []; return new t } , t.createObject2 = function(t) { var r = t.split("."); if ("Stimulsoft" != r.splice(0, 1)[0]) return null; var i = e; while (r.length > 0) { i = i[r.splice(0, 1)[0]] } if (i != e) return new i; return null } , t }(); t.StiActivator = r }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.alignToMaxGrid = function(e, t, r) { if (r) { var i = Math.round(e / t) * t; e > i && (i += t), e = i } return e } , e.alignToMinGrid = function(e, t, r) { if (r) { var i = Math.round(e / t) * t; e < i && (i -= t), e = i } return e } , e.alignToGrid = function(e, t, r) { if (r) { e = Math.round(e / t) * t } return e } , e }(); e.StiAlignValue = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Collections.List , i = e.System.Collections.Hashtable , n = function() { function e() {} return e.getFunctions = function(e, t) { var i, n, o = new r, a = e ? this.functionsToCompile : this.functions; try { for (var s = __values(a.keys), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = this.getFunctions2(u, e, t); o.addRange(c) } } catch (e) { i = { error: e } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return o.toArray() } , e.getFunctions2 = function(e, t, r) { var i = t ? this.functionsToCompile : this.functions , n = t ? this.functionsToCompileLower : this.functionsLower , o = i.get(e); if (null != o) return o.toArray(); return o = r ? i.get(e) : n.get(e.toLowerCase()), null != o ? o.toArray() : null } , e.functionsToCompile = new i, e.functionsToCompileLower = new i, e.functions = new i, e.functionsLower = new i, e }(); t.StiAppFunctions = n }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.getOrGeneratedKey = function(e) { var t = e.getApp(); return this.getOrGeneratedKey2(t) } , t.getOrGeneratedKey2 = function(t) { return t.setKey(e.StiKeyHelper.getOrGeneratedKey(t.getKey())), t.getKey() } , t.getOrGeneratedKey3 = function(e) { var t = e.getApp(); return this.getOrGeneratedKey2(t) } , t.getOrGeneratedKey4 = function(e) { var t = e.getDictionary(); return this.getOrGeneratedKey3(t) } , t }(); e.StiAppKey = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Convert , i = e.System.Text.Encoding , n = e.System.IO.MemoryStream , o = function() { function e() {} return e.encrypt = function(e, t) { return this.encryptAdv(e, t) } , e.encrypt2 = function(e, t) { var r = this.getKeyFromPassword(t); return this.encryptAdv(e, r) } , e.encryptS = function(e, t) { if (null == e) return null; var n = i.UTF8.getBytes(e) , o = this.getKeyFromPassword(t) , a = this.encryptAdv(n, o); return r.toBase64String(a) } , e.decrypt = function(e, t) { return this.decryptAdv(e, t) } , e.decrypt2 = function(e, t) { var r = this.getKeyFromPassword(t); return this.decryptAdv(e, r) } , e.decryptS = function(e, t) { var n = r.fromBase64String(e) , o = this.getKeyFromPassword(t) , a = this.decryptAdv(n, o); return i.UTF8.getString(a) } , e.generateRandomKey = function() { for (var e = [], t = 0; t < 32; t++) e[t] = Math.floor(256 * Math.random()); return e } , e.encryptAdv = function(e, t) { if (null == e) return null; var r = []; return r = this.cryptRandom(e, t, !0), r = this.cryptXor(r, t), r = this.cryptShift(r, t, !0) } , e.decryptAdv = function(e, t) { if (null == e) return null; var r = []; return r = this.cryptShift(e, t, !1), r = this.cryptXor(r, t), r = this.cryptRandom(r, t, !1) } , e.cryptXor = function(e, t) { var r = [] , i = 0 , n = 0; while (i < e.length) n >= t.length && (n = 0), r[i] = e[i] ^ t[n], i++, n++; return r } , e.cryptShift = function(e, t, r) { var i = [] , n = 0 , o = 0; while (n < e.length) o >= t.length && (o = 0), i[n] = r ? this.shiftLeft(e[n], t[o]) : this.shiftRight(e[n], t[o]), n++, o++; return i } , e.shiftLeft = function(e, t) { var r = e << (7 & t); return r = 255 & r | (65280 & r) >> 8 } , e.shiftRight = function(e, t) { var r = e << 8 - (7 & t); return r = 255 & r | (65280 & r) >> 8 } , e.cryptRandom = function(e, t, r) { var i = [] , n = 0; this.setRandomSeed(t); var o = this.getMixArray(e.length); while (n < e.length) r ? i[n] = e[o[n]] : i[o[n]] = e[n], n++; return i } , e.getMixArray = function(e) { for (var t = [], r = [], i = 0; i < e; i++) t[i] = i; for (var n = 0; n < e; n++) { var o = this.getRandom(0, e - n - 1); r[n] = t[o], t[o] = t[e - n - 1] } return r } , e.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) } , e.getRandom = function(e, t) { return this.randomSeed = (this.randomSeed * this.rand_a + this.rand_c) % this.rand_m, e + (t - e + 1) * this.randomSeed / this.rand_m & 4294967295 } , e.getKeyFromPassword = function(e) { var r = new n , i = t.StiMD5Helper.MD5(e); r.write(i); var o = i.length; while (o < e.length) i = t.StiMD5Helper.MD5(e.substring(0, o)), r.write(i, 0, o + i.length < e.length ? i.length : e.length - o), o += i.length; var a = r.toArray(); return r.close(), r = null, a } , e.randomSeed = 0, e.rand_m = 714025, e.rand_a = 4096, e.rand_c = 150889, e }(); t.StiEncryption = o }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.Base.StiJson , i = e.Base.StiEncryption , n = function() { function e(e, t, r) { this.key = "fjk2dpfko5epefko4prmk", this.prefix = "PL534950", this.machineName = e, this.machineAddress = t, this.machineUserName = r } return e.prototype.saveToString = function() { return this.saveToJsonObject().serialize() } , e.prototype.saveToJsonObject = function() { var e = new r; return e.addPropertyStringNullOrEmpty("MachineName", this.machineName), e.addPropertyStringNullOrEmpty("MachineAddress", this.machineAddress), e.addPropertyStringNullOrEmpty("MachineUserName", this.machineUserName), e } , e.prototype.getDefault = function() { return this.prefix + i.encryptS(this.getDeveloperCID().saveToString(), this.key) } , e.prototype.getDeveloperCID = function() { return new e(this.machineName,this.machineAddress,this.machineUserName) } , e }(); t.StiCID = n }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.ColorTranslator , n = e.System.Drawing.Color , o = function() { function e() {} return e.get = function(e) { if (r.isNullOrWhiteSpace(e)) return n.transparent; if (e = e.toLowerCase(), e.stimulsoft.startsWith("#")) return i.fromHtml("0x" + e.substr(1, e.length - 1)); return i.fromHtml(e.stimulsoft.startsWith("0x") ? e : "0x" + e) } , e.get2 = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; return e.toList().select(this.get).toArray() } , e }(); t.StiColor = o }(r = t.Drawing || (t.Drawing = {})) }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Drawing.Image , i = function() { function i() {} return i.changeType = function(i, n, o) { void 0 === o && (o = !0); try { if (null == i || i == e.System.Data.DBNull) { if (n === String) return ""; if (n === Boolean) return !1; if (n === e.System.Guid) return e.System.Guid.empty; if (n === e.System.DateTime) return ""; if (n === e.System.NullableDecimal || n === e.System.NullableDouble || n === e.System.NullableFloat || n === e.System.NullableInt || n === e.System.NullableInt16 || n === e.System.NullableInt32 || n === e.System.NullableInt64 || n === e.System.NullableLong || n === e.System.NullableByte || n === e.System.NullableShort || n === e.System.NullableUInt || n === e.System.NullableUInt16 || n === e.System.NullableUInt32 || n === e.System.NullableUInt64 || n === e.System.NullableULong || n === e.System.NullableSByte || n === e.System.NullableUShort) return null } if (n === String) { if (i.stimulsoft.is(Array)) return e.System.Convert.fromBase64StringText(e.System.Convert.toBase64String(i)); return i.toString() } if (n === Number || n === e.System.Decimal || n === e.System.Double || n === e.System.Float || n === e.System.NullableDecimal || n === e.System.NullableDouble || n === e.System.NullableFloat || n === e.System.Int || n === e.System.Int16 || n === e.System.Int32 || n === e.System.Int64 || n === e.System.Long || n === e.System.Byte || n === e.System.Short || n === e.System.UInt || n === e.System.UInt16 || n === e.System.UInt32 || n === e.System.UInt64 || n === e.System.ULong || n === e.System.SByte || n === e.System.UShort || n === e.System.NullableInt || n === e.System.NullableInt16 || n === e.System.NullableInt32 || n === e.System.NullableInt64 || n === e.System.NullableLong || n === e.System.NullableByte || n === e.System.NullableShort || n === e.System.NullableUInt || n === e.System.NullableUInt16 || n === e.System.NullableUInt32 || n === e.System.NullableUInt64 || n === e.System.NullableULong || n === e.System.NullableSByte || n === e.System.NullableUShort) { var a = null == i ? "" : i.toString(); i = a.trim(), 0 == a.length && (i = "0"); var s = i.stimulsoft.toNumber(); if (isNaN(s)) throw new Error("NaN"); return s } if (n === Boolean) return i.stimulsoft.toBoolean(); if (n === e.System.DateTime) { if (i.stimulsoft.is(e.System.DateTime)) return i; if (i.stimulsoft.is(String)) { var l = { ref: null }; if (t.StringExt.tryParseDateTime(i, l)) return l.ref; return null } } if (n === e.System.TimeSpan) { if (i.stimulsoft.is(e.System.TimeSpan)) return i; if (i.stimulsoft.is(String)) { var u = e.System.TimeSpan.fromString(i); if (u) return u; return null } } if (n == r) try { var c = new r; return c.base64 = i, c } catch (e) { return i } return i } catch (t) { return e.System.StiError.showError(t, !1), i } } , i }(); t.StiConvert = i }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.Base.Localization.StiLocalization , i = function() { function e() {} return Object.defineProperty(e.prototype, "message", { get: function() { return r.get("Dashboard", "CannotLoadDashboard") }, enumerable: !0, configurable: !0 }), e }(); t.StiDashboardNotSupportedException = i }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Collections.Hashtable , i = e.System.Drawing.FontFamily , n = e.System.Drawing.FontStyle , o = function() { function t() {} return t.addOpentypeFont = function(t, o, a, s, l) { if (void 0 === o && (o = null), void 0 === a && (a = null), void 0 === s && (s = null), void 0 === l && (l = n.Regular), null == o && (o = t.names.fontFamily.en), e.System.Drawing.Graphics.opentypeFonts.containsKey(o)) { e.System.Drawing.Graphics.opentypeFonts.get(o).set(l, { font: t, data: a, filePath: s }) } else { var u = new r; u.set(l, { font: t, data: a, filePath: s }), e.System.Drawing.Graphics.opentypeFonts.add(o, u), i.families.add(new i(o)) } } , t.addOpentypeFontFile = function(r, i, o) { void 0 === i && (i = null), void 0 === o && (o = n.Regular); var a = e.System.IO.File.getFile(r, !0) , s = e.ExternalLibrary.Opentype.parse(a.buffer); t.addOpentypeFont(s, i, a, r, o) } , t.addOpentypeFontFileAsync = function(r, i, o, a) { void 0 === o && (o = null), void 0 === a && (a = n.Regular), e.System.IO.File.getFileAsync(function(n) { var s = e.ExternalLibrary.Opentype.parse(n.buffer); t.addOpentypeFont(s, o, n, i, a), r() }, i, !0) } , t.getFontFamilies = function() { return i.families.stimulsoft.toList().orderBy(function(e) { return e.name }) } , t.getBinFont = function(t, r) { if (void 0 === r && (r = n.Regular), e.System.Drawing.Graphics.opentypeFonts.containsKey(t)) { return e.System.Drawing.Graphics.opentypeFonts.get(t).get(r) } return null } , t.getBinFonts = function() { return e.System.Drawing.Graphics.opentypeFonts.keys } , t }(); t.StiFontCollection = o }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = function() { function t() {} return t.newGuid = function() { return e.System.Guid.newGuid().toString().stimulsoft.replaceAll("-", "") } , t }(); t.StiGuidUtils = r }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.isValidJson = function(e) { if (e = e.trim(), !(e.stimulsoft.startsWith("{") && e.stimulsoft.endsWith("}") || e.stimulsoft.startsWith("[") && e.stimulsoft.endsWith("]"))) return !1; try { return JSON.parse(e), !0 } catch (e) { return !1 } } , e }(); e.StiJsonChecker = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.StiString , i = function() { function e() {} return e.generateKey = function() { return t.StiGuidUtils.newGuid().toString().stimulsoft.replaceAll("-", "") } , e.isKey = function(e) { return !this.isEmptyKey(e) } , e.isCorrectKey = function(e) { if (this.isEmptyKey(e)) return !0; if (32 != e.length) return !1; return !0 } , e.isEmptyKey = function(e) { return r.isNullOrWhiteSpace(e) } , e.isEmptyKey2 = function(e, t) { return this.isEmptyKey(e) && this.isEmptyKey(t) } , e.selectKey = function(e, t) { return this.isEmptyKey(e) ? t : e } , e.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) } , e.getOrGeneratedKey = function(e) { return this.isEmptyKey(e) ? this.generateKey() : e } , e.getOrGeneratedKey2 = function(e, t) { return this.getOrGeneratedKey(this.selectKey(e, t)) } , e }(); t.StiKeyHelper = i }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Collections.List , i = e.System.Char , n = function() { function e(e) { this.positions = new r, this.baseText = e, this.text = e, this.positionInText = 0 } return Object.defineProperty(e.prototype, "text", { get: function() { return this._text }, set: function(e) { this._text = e, this.baseText = e.toString() }, enumerable: !0, configurable: !0 }), e.prototype.savePosToken = function() { this.positions.add(this.positionInText) } , e.prototype.getPosition = function(e) { for (var r = new t.StiPosition(1,1), i = 0; i < this.positionInText; i++) r.column++, "\n" == this.text[i] && (r.line++, r.column = 1); return r } , e.prototype.skip = function() { while (this.positionInText < this.text.length && (i.isWhitespace(this.text[this.positionInText]) || i.isControl(this.text[this.positionInText]))) this.positionInText++ } , e.prototype.waitLparen2 = function() { return this.getToken().type == t.StiTokenType.LPar } , e.prototype.waitComma2 = function() { return this.getToken().type == t.StiTokenType.Comma } , e.prototype.waitAssign2 = function() { return this.getToken().type == t.StiTokenType.Assign } , e.prototype.waitRparen2 = function() { return this.getToken().type == t.StiTokenType.RPar } , e.prototype.waitLbrace2 = function() { return this.getToken().type == t.StiTokenType.LBrace } , e.prototype.waitSemicolon2 = function() { return this.getToken().type == t.StiTokenType.SemiColon } , e.prototype.waitRbrace2 = function() { return this.getToken().type == t.StiTokenType.RBrace } , e.prototype.scanNumber = function() { var e = this.positionInText , r = !1; while (this.positionInText != this.text.length && i.isDigit(this.text[this.positionInText])) this.positionInText++; if (this.positionInText != this.text.length && "." == this.text[this.positionInText] && this.positionInText + 1 != this.text.length && i.isDigit(this.text[this.positionInText + 1])) { this.positionInText++; while (this.positionInText != this.text.length && i.isDigit(this.text[this.positionInText])) this.positionInText++; r = !0 } var n = this.baseText.substring(e, this.positionInText - e); if (r) return new t.StiToken(t.StiTokenType.Value,e,this.positionInText - e,n.stimulsoft.toNumber()); var o = n; try { if (o.length > 19) return new t.StiToken(t.StiTokenType.Value,e,this.positionInText - e,o); var a = o.stimulsoft.toNumber(); return new t.StiToken(t.StiTokenType.Value,e,this.positionInText - e,a) } catch (e) { throw new Error("") } } , e.prototype.scanIdent = function() { var e = this.positionInText , r = ""; while (this.positionInText != this.text.length && (i.isLetterOrDigit(this.text[this.positionInText]) || "_" == this.text[this.positionInText] || "№" == this.text[this.positionInText])) r += this.text[this.positionInText++]; return new t.StiToken(t.StiTokenType.Ident,e,this.positionInText - e,r) } , e.prototype.scanString = function() { var e = this.positionInText; this.positionInText++; var r = ""; while (this.positionInText != this.text.length && '"' != this.text[this.positionInText]) r += this.text[this.positionInText++]; if (this.positionInText == this.text.length) return new t.StiToken(t.StiTokenType.Value,e,this.positionInText - e,r); return this.positionInText++, new t.StiToken(t.StiTokenType.Value,e,this.positionInText - e,r) } , e.prototype.scanChar = function() { if (++this.positionInText == this.text.length) return new t.StiToken(t.StiTokenType.Value,this.positionInText - 3,3," "); var e = this.text[this.positionInText++]; if (this.positionInText == this.text.length || "'" != this.text[this.positionInText]) return new t.StiToken(t.StiTokenType.Value,this.positionInText - 3,3,e); return this.positionInText++, new t.StiToken(t.StiTokenType.Value,this.positionInText - 3,3,e) } , e.prototype.ungetToken = function() { this.positionInText = this.positions[this.positions.length - 1], this.positions.removeAt(this.positions.length - 1) } , e.prototype.getToken = function() { if (this.skip(), this.text.length <= this.positionInText) return new t.StiToken(t.StiTokenType.EOF,this.positionInText,0); if (i.isLetter(this.text[this.positionInText]) || "_" == this.text[this.positionInText] || "№" == this.text[this.positionInText]) { var e = this.positionInText; this.savePosToken(); var r = this.scanIdent(); switch (r.data) { case "true": return new t.StiToken(t.StiTokenType.Value,e,4,!0); case "false": return new t.StiToken(t.StiTokenType.Value,e,5,!1) } return r } if (i.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 t.StiToken(t.StiTokenType.Euro,this.positionInText - 1,1); case "®": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Copyright,this.positionInText - 1,1); case "(": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.LPar,this.positionInText - 1,1); case ")": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.RPar,this.positionInText - 1,1); case "{": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.LBrace,this.positionInText - 1,1); case "}": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.RBrace,this.positionInText - 1,1); case ",": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Comma,this.positionInText - 1,1); case ".": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Dot,this.positionInText - 1,1); case ";": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.SemiColon,this.positionInText - 1,1); case ":": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Colon,this.positionInText - 1,1); case "!": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Minus,this.positionInText - 1,1); case "*": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Mult,this.positionInText - 1,1); case "^": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Not,this.positionInText - 1,1); case "/": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Div,this.positionInText - 1,1); case "\\": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Splash,this.positionInText - 1,1); case "%": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Percent,this.positionInText - 1,1); case "#": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Sharp,this.positionInText - 1,1); case "$": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Dollar,this.positionInText - 1,1); case "@": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Ampersand,this.positionInText - 1,1); case "[": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.LBracket,this.positionInText - 1,1); case "]": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.RBracket,this.positionInText - 1,1); case "?": return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Question,this.positionInText - 1,1); case "|": if (this.savePosToken(), ++this.positionInText != this.text.length && "|" == this.text[this.positionInText]) return this.positionInText++, new t.StiToken(t.StiTokenType.DoubleOr,this.positionInText - 2,2); return new t.StiToken(t.StiTokenType.Or,this.positionInText - 1,1); case "&": if (this.savePosToken(), ++this.positionInText != this.text.length && "&" == this.text[this.positionInText]) return this.positionInText++, new t.StiToken(t.StiTokenType.DoubleAnd,this.positionInText - 2,2); return new t.StiToken(t.StiTokenType.And,this.positionInText - 1,1); case "+": if (this.savePosToken(), ++this.positionInText != this.text.length && "+" == this.text[this.positionInText]) return this.positionInText++, new t.StiToken(t.StiTokenType.DoublePlus,this.positionInText - 2,2); return new t.StiToken(t.StiTokenType.Plus,this.positionInText - 1,1); case "-": if (this.savePosToken(), ++this.positionInText != this.text.length && "-" == this.text[this.positionInText]) return this.positionInText++, new t.StiToken(t.StiTokenType.DoubleMinus,this.positionInText - 2,2); return new t.StiToken(t.StiTokenType.Minus,this.positionInText - 1,1); case "=": if (this.savePosToken(), ++this.positionInText != this.text.length && "=" == this.text[this.positionInText]) return this.positionInText++, new t.StiToken(t.StiTokenType.Equal,this.positionInText - 2,2); return new t.StiToken(t.StiTokenType.Assign,this.positionInText - 1,1); case "<": if (this.savePosToken(), ++this.positionInText != this.text.length && "=" == this.text[this.positionInText]) return this.positionInText++, new t.StiToken(t.StiTokenType.LeftEqual,this.positionInText - 2,2); if (this.positionInText != this.text.length && "<" == this.text[this.positionInText]) return this.positionInText++, new t.StiToken(t.StiTokenType.Shl,this.positionInText - 2,2); return new t.StiToken(t.StiTokenType.Left,this.positionInText - 1,1); case ">": if (this.savePosToken(), ++this.positionInText != this.text.length && "=" == this.text[this.positionInText]) return this.positionInText++, new t.StiToken(t.StiTokenType.RightEqual,this.positionInText - 2,2); if (this.positionInText != this.text.length && ">" == this.text[this.positionInText]) return this.positionInText++, new t.StiToken(t.StiTokenType.Shr,this.positionInText - 2,2); return new t.StiToken(t.StiTokenType.Right,this.positionInText - 1,1); default: return this.savePosToken(), this.positionInText++, new t.StiToken(t.StiTokenType.Unknown,this.positionInText - 1,1) } } , e.prototype.reset = function() { this.positions.clear(), this.positionInText = 0 } , e.replaceWithPrefix = function(r, i, n, o) { var a = r , s = new e(r) , l = s.getToken(); if (l.type == t.StiTokenType.EOF) return r; var u = null; do { u = s.getToken(), u.type == t.StiTokenType.Ident && l.type == t.StiTokenType.Ident && l.data == i && u.data == n && (a = a.stimulsoft.replaceAll(n, o, u.index, u.length), s.positionInText += o.length), l = u } while (u.type != t.StiTokenType.EOF); return a } , e.prototype.replaceWithPrefix = function(e, r, i) { this.reset(); var n = this.getToken(); if (n.type == t.StiTokenType.EOF) return; var o = null; do { o = this.getToken(), o.type == t.StiTokenType.Ident && n.type == t.StiTokenType.Ident && n.data == e && o.data == r && (this.text = this.text.stimulsoft.replaceAll(r, i, o.index, o.length), this.positionInText += i.length), n = o } while (o.type != t.StiTokenType.EOF); this.baseText = this.text } , e.prototype.replaceWithNotEqualPrefix = function(e, r, i) { this.reset(); var n = this.getToken(); if (n.type == t.StiTokenType.EOF) return; var o = null; do { o = this.getToken(), o.type == t.StiTokenType.Ident && n.type != e && o.data == r && (this.text = this.text.stimulsoft.replaceAll(r, i, o.index, o.length), this.positionInText += i.length), n = o } while (o.type != t.StiTokenType.EOF); this.baseText = this.text } , e.identExists = function(r, i, n) { var o = new e(r); while (!0) { var a = o.getToken(); if (null == a || a.type == t.StiTokenType.EOF) return !1; if (a.type == t.StiTokenType.Ident && null != a.data) { if (n && a.data.toString() == i) return !0; if (!n && a.data.toString().toLowerCase() == i.toLowerCase()) return !0 } } } , e.getAllTokens = function(i) { var n = new r , o = new e(i); while (!0) { var a = o.getToken(); if (null == a || a.type == t.StiTokenType.EOF) return n; n.add(a) } } , e }(); t.StiLexer = n }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.MD5 = function(e, t) { function r(e, t) { return e << t | e >>> 32 - t } function i(e, t) { var r, i, n, o, a; if (n = 2147483648 & e, o = 2147483648 & t, r = 1073741824 & e, i = 1073741824 & t, a = (1073741823 & e) + (1073741823 & t), r & i) return 2147483648 ^ a ^ n ^ o; return r | i ? 1073741824 & a ? 3221225472 ^ a ^ n ^ o : 1073741824 ^ a ^ n ^ o : a ^ n ^ o } function n(e, t, r) { return e & t | ~e & r } function o(e, t, r) { return e & r | t & ~r } function a(e, t, r) { return e ^ t ^ r } function s(e, t, r) { return t ^ (e | ~r) } function l(e, t, o, a, s, l, u) { return e = i(e, i(i(n(t, o, a), s), u)), i(r(e, l), t) } function u(e, t, n, a, s, l, u) { return e = i(e, i(i(o(t, n, a), s), u)), i(r(e, l), t) } function c(e, t, n, o, s, l, u) { return e = i(e, i(i(a(t, n, o), s), u)), i(r(e, l), t) } function d(e, t, n, o, a, l, u) { return e = i(e, i(i(s(t, n, o), a), u)), i(r(e, l), t) } function h(e) { var t, r = e.length, i = r + 8, n = (i - i % 64) / 64, o = 16 * (n + 1), a = Array(o - 1), s = 0, l = 0; while (l < r) t = (l - l % 4) / 4, s = l % 4 * 8, a[t] = a[t] | e.charCodeAt(l) << s, l++; return t = (l - l % 4) / 4, s = l % 4 * 8, a[t] = a[t] | 128 << s, a[o - 2] = r << 3, a[o - 1] = r >>> 29, a } function m(e) { var t = "", r = "", i, n; for (n = 0; n <= 3; n++) i = e >>> 8 * n & 255, r = "0" + i.toString(16), t += r.substr(r.length - 2, 2); return t } function f(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 p(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) : i > 127 && i < 2048 ? (t += String.fromCharCode(i >> 6 | 192), t += String.fromCharCode(63 & i | 128)) : (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 = Array(), g, y, v, b, C, T, w, D, P, x = 7, B = 12, L = 17, N = 22, F = 5, A = 9, R = 14, k = 20, O = 4, M = 11, E = 16, H = 23, I = 6, z = 10, W = 15, G = 21; for (t && (e = p(e)), S = h(e), T = 1732584193, w = 4023233417, D = 2562383102, P = 271733878, g = 0; g < S.length; g += 16) y = T, v = w, b = D, C = P, T = l(T, w, D, P, S[g + 0], x, 3614090360), P = l(P, T, w, D, S[g + 1], B, 3905402710), D = l(D, P, T, w, S[g + 2], L, 606105819), w = l(w, D, P, T, S[g + 3], N, 3250441966), T = l(T, w, D, P, S[g + 4], x, 4118548399), P = l(P, T, w, D, S[g + 5], B, 1200080426), D = l(D, P, T, w, S[g + 6], L, 2821735955), w = l(w, D, P, T, S[g + 7], N, 4249261313), T = l(T, w, D, P, S[g + 8], x, 1770035416), P = l(P, T, w, D, S[g + 9], B, 2336552879), D = l(D, P, T, w, S[g + 10], L, 4294925233), w = l(w, D, P, T, S[g + 11], N, 2304563134), T = l(T, w, D, P, S[g + 12], x, 1804603682), P = l(P, T, w, D, S[g + 13], B, 4254626195), D = l(D, P, T, w, S[g + 14], L, 2792965006), w = l(w, D, P, T, S[g + 15], N, 1236535329), T = u(T, w, D, P, S[g + 1], F, 4129170786), P = u(P, T, w, D, S[g + 6], A, 3225465664), D = u(D, P, T, w, S[g + 11], R, 643717713), w = u(w, D, P, T, S[g + 0], k, 3921069994), T = u(T, w, D, P, S[g + 5], F, 3593408605), P = u(P, T, w, D, S[g + 10], A, 38016083), D = u(D, P, T, w, S[g + 15], R, 3634488961), w = u(w, D, P, T, S[g + 4], k, 3889429448), T = u(T, w, D, P, S[g + 9], F, 568446438), P = u(P, T, w, D, S[g + 14], A, 3275163606), D = u(D, P, T, w, S[g + 3], R, 4107603335), w = u(w, D, P, T, S[g + 8], k, 1163531501), T = u(T, w, D, P, S[g + 13], F, 2850285829), P = u(P, T, w, D, S[g + 2], A, 4243563512), D = u(D, P, T, w, S[g + 7], R, 1735328473), w = u(w, D, P, T, S[g + 12], k, 2368359562), T = c(T, w, D, P, S[g + 5], O, 4294588738), P = c(P, T, w, D, S[g + 8], M, 2272392833), D = c(D, P, T, w, S[g + 11], E, 1839030562), w = c(w, D, P, T, S[g + 14], H, 4259657740), T = c(T, w, D, P, S[g + 1], O, 2763975236), P = c(P, T, w, D, S[g + 4], M, 1272893353), D = c(D, P, T, w, S[g + 7], E, 4139469664), w = c(w, D, P, T, S[g + 10], H, 3200236656), T = c(T, w, D, P, S[g + 13], O, 681279174), P = c(P, T, w, D, S[g + 0], M, 3936430074), D = c(D, P, T, w, S[g + 3], E, 3572445317), w = c(w, D, P, T, S[g + 6], H, 76029189), T = c(T, w, D, P, S[g + 9], O, 3654602809), P = c(P, T, w, D, S[g + 12], M, 3873151461), D = c(D, P, T, w, S[g + 15], E, 530742520), w = c(w, D, P, T, S[g + 2], H, 3299628645), T = d(T, w, D, P, S[g + 0], I, 4096336452), P = d(P, T, w, D, S[g + 7], z, 1126891415), D = d(D, P, T, w, S[g + 14], W, 2878612391), w = d(w, D, P, T, S[g + 5], G, 4237533241), T = d(T, w, D, P, S[g + 12], I, 1700485571), P = d(P, T, w, D, S[g + 3], z, 2399980690), D = d(D, P, T, w, S[g + 10], W, 4293915773), w = d(w, D, P, T, S[g + 1], G, 2240044497), T = d(T, w, D, P, S[g + 8], I, 1873313359), P = d(P, T, w, D, S[g + 15], z, 4264355552), D = d(D, P, T, w, S[g + 6], W, 2734768916), w = d(w, D, P, T, S[g + 13], G, 1309151649), T = d(T, w, D, P, S[g + 4], I, 4149444226), P = d(P, T, w, D, S[g + 11], z, 3174756917), D = d(D, P, T, w, S[g + 2], W, 718787259), w = d(w, D, P, T, S[g + 9], G, 3951481745), T = i(T, y), w = i(w, v), D = i(D, b), P = i(P, C); var j = []; return f(T, j, 0), f(w, j, 4), f(D, j, 8), f(P, j, 12), j } , e }(); e.StiMD5Helper = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = function() { function t() {} return t.convertToNumber = function(t) { try { if (null == t) return 0; if (t.stimulsoft.is(String)) { if (0 == t.length) return 0; return t.toString().stimulsoft.toNumber() } return t.stimulsoft.toNumber() } catch (t) { return e.System.StiError.showError(t, !1), 0 } } , t }(); t.StiObjectConverter = r }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e(e, t) { this.line = e, this.column = t } return e }(); e.StiPosition = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.xx = function(e) { return e } , e.yy = function(e) { return e } , e.factor = 1, e }(); e.StiScale = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.get = function(e, t) { var r = t; try { var i = " " + document.cookie , n = " " + e + "=" , o = 0 , a = 0; i.length > 0 && -1 != (o = i.indexOf(n)) && (o += n.length, a = i.indexOf(";", o), -1 == a && (a = i.length), r = unescape(i.substring(o, a))) } catch (e) {} return r } , e.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 }(); e.StiSettings = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t = function() { function t(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 } return t.prototype.toString = function() { switch (this.type) { case e.StiTokenType.Value: return this.type + "=" + this.data; case e.StiTokenType.Ident: return this.type + "(" + this.data + ")"; default: return this.type.toString() } } , t }(); e.StiToken = t }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.Collections.Hashtable , i = function() { function t() {} return t.getCorrectTypeName = function(e) { if (e.stimulsoft.startsWith("System.Nullable`1")) { var t = e.indexOf(","); -1 != t && (e = e.substring(0, t).stimulsoft.replaceAll("[[", "[") + "]") } return "System.Drawing.Bitmap" == e && (e = "System.Drawing.Image"), e } , t.getStiType = function(t) { var r, i, n = this.getCorrectTypeName(t); try { for (var o = __values(e.System.TypeHelper.getTypes()), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (s.stimulsoft.getNetTypeName() == n) return s } } catch (e) { r = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return null } , t.addTypeFF = function(e, t, i) { if (null == e || null == t) return; var n = this.findTypes.get(e); null == n && (n = new r, this.findTypes.set(e, n)), n.containsKey(t) || n.set(t, i) } , t.getTypeFF = function(e, t) { if (null == e) return null; var r = this.findTypes.get(e); if (null == r) return null; return r.get(t) } , t.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 } , t.findTypes = new r, t }(); t.StiTypeFinder = i }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = function() { function t(e) { this._type = e } return Object.defineProperty(t.prototype, "type", { get: function() { return this._type }, enumerable: !0, configurable: !0 }), t.prototype.toString = function() { return t.toString(this._type) } , t.toString = function(t) { if (null == t) return "null"; if (t === Boolean) return "bool"; if (t === e.System.Byte) return "byte"; if (t === e.System.ByteArray) return "byte[]"; if (t === e.System.Char) return "char"; if (t === e.System.DateTime) return "datetime"; if (t === e.System.Decimal) return "decimal"; if (t === e.System.Double) return "double"; if (t === e.System.Guid) return "guid"; if (t === e.System.Short) return "short"; if (t === e.System.Int) return "int"; if (t === e.System.Long) return "long"; if (t === e.System.SByte) return "sbyte"; if (t === e.System.Single) return "float"; if (t === String) return "string"; if (t === e.System.TimeSpan) return "timespan"; if (t === e.System.UShort) return "ushort"; if (t === e.System.UInt) return "uint"; if (t === e.System.ULong) return "ulong"; if (t === e.System.Drawing.Image) return "image"; if (t === e.System.NullableBoolean) return "bool (Nullable)"; if (t === e.System.NullableByte) return "byte (Nullable)"; if (t === e.System.NullableChar) return "char (Nullable)"; if (t === e.System.NullableDateTime) return "datetime (Nullable)"; if (t === e.System.NullableDecimal) return "decimal (Nullable)"; if (t === e.System.NullableDouble) return "double (Nullable)"; if (t === e.System.NullableGuid) return "guid (Nullable)"; if (t === e.System.NullableShort) return "short (Nullable)"; if (t === e.System.NullableInt) return "int (Nullable)"; if (t === e.System.NullableLong) return "long (Nullable)"; if (t === e.System.NullableSByte) return "sbyte (Nullable)"; if (t === e.System.NullableSingle) return "float (Nullable)"; if (t === e.System.NullableTimeSpan) return "timespan (Nullable)"; if (t === e.System.NullableUShort) return "ushort (Nullable)"; if (t === e.System.NullableUInt) return "uint (Nullable)"; if (t === e.System.NullableULong) return "ulong (Nullable)"; if (t === Object) return "object"; return t.stimulsoft.getType().stimulsoft.getNetTypeName() } , Object.defineProperty(t, "simpleTypes", { get: function() { return null == t._simpleTypes && (t._simpleTypes.add(String), t._simpleTypes.add(e.System.Single), t._simpleTypes.add(e.System.Double), t._simpleTypes.add(e.System.Decimal), t._simpleTypes.add(e.System.DateTime), t._simpleTypes.add(e.System.TimeSpan), t._simpleTypes.add(e.System.SByte), t._simpleTypes.add(e.System.Byte), t._simpleTypes.add(e.System.ByteArray), t._simpleTypes.add(e.System.Short), t._simpleTypes.add(e.System.UShort), t._simpleTypes.add(e.System.Int), t._simpleTypes.add(e.System.UInt), t._simpleTypes.add(e.System.Long), t._simpleTypes.add(e.System.ULong), t._simpleTypes.add(Boolean), t._simpleTypes.add(e.System.Char), t._simpleTypes.add(e.System.Guid), t._simpleTypes.add(Object), t._simpleTypes.add(e.System.Drawing.Image), t._simpleTypes.add(e.System.NullableSingle), t._simpleTypes.add(e.System.NullableDouble), t._simpleTypes.add(e.System.NullableDecimal), t._simpleTypes.add(e.System.NullableDateTime), t._simpleTypes.add(e.System.NullableTimeSpan), t._simpleTypes.add(e.System.NullableSByte), t._simpleTypes.add(e.System.NullableByte), t._simpleTypes.add(e.System.NullableShort), t._simpleTypes.add(e.System.NullableUShort), t._simpleTypes.add(e.System.NullableInt), t._simpleTypes.add(e.System.NullableUInt), t._simpleTypes.add(e.System.NullableLong), t._simpleTypes.add(e.System.NullableULong), t._simpleTypes.add(e.System.NullableBoolean), t._simpleTypes.add(e.System.NullableChar), t._simpleTypes.add(e.System.NullableGuid)), t._simpleTypes }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "simpleBaseTypes", { get: function() { return null == t._simpleBaseTypes && (t._simpleBaseTypes.add(String), t._simpleBaseTypes.add(e.System.Single), t._simpleBaseTypes.add(e.System.Double), t._simpleBaseTypes.add(e.System.Decimal), t._simpleBaseTypes.add(e.System.DateTime), t._simpleBaseTypes.add(e.System.TimeSpan), t._simpleBaseTypes.add(e.System.SByte), t._simpleBaseTypes.add(e.System.Byte), t._simpleBaseTypes.add(e.System.Short), t._simpleBaseTypes.add(e.System.UShort), t._simpleBaseTypes.add(e.System.Int), t._simpleBaseTypes.add(e.System.UInt), t._simpleBaseTypes.add(e.System.Long), t._simpleBaseTypes.add(e.System.ULong), t._simpleBaseTypes.add(Boolean), t._simpleBaseTypes.add(e.System.Char), t._simpleBaseTypes.add(e.System.Guid), t._simpleBaseTypes.add(Object), t._simpleBaseTypes.add(e.System.Drawing.Image)), t._simpleBaseTypes }, enumerable: !0, configurable: !0 }), t.getTypeWrappers = function() { var e, r, i = [], n = 0; try { for (var o = __values(t.simpleTypes), a = o.next(); !a.done; a = o.next()) { var s = a.value; i[n++] = new t(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 } , t }(); t.StiTypeWrapper = r }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.StiString , i = function() { function e() {} return e.combine = function(e) { var t = ""; if (null != e && e.length > 0) { var i = ["\\", "/"]; null == e[0] && (e[0] = ""), t = e[0].stimulsoft.trimEnd(i[0]), t = t.stimulsoft.trimEnd(i[1]); for (var n = 1; n < e.length; n++) { var o = ""; null != e[n] && (o = e[n].stimulsoft.trimStart(i[0]), o = o.stimulsoft.trimStart(i[1])), t = t.stimulsoft.trimEnd(i[0]), t = t.stimulsoft.trimEnd(i[1]), t = r.format("{0}/{1}", t, o) } } return t } , e }(); t.StiUrl = i }(t = e.Base || (e.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t = function() { function t() {} return t.platform = function() { return navigator.appName + " * " + navigator.userAgent } , t.version = "2020.1.1", t.creationDate = "2019.12.18", t.created = 5 == t.creationDate.length ? new e.System.DateTime(2017,1,1,0,0,0,0) : e.System.DateTime.fromString(t.creationDate), t.versionInfo = "Version= " + "2020.1.1" + ".0, Culture = neutral", t.copyright = "Copyright (C) 2003-2017 Stimulsoft", t }(); e.StiVersion = t }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r = e.System.StiNumber , i = e.System.StiString , n = e.System.DateTime , o = function() { function t() {} return t.tryParseDateTime = function(t, r) { var o = n.now; if (r.ref = o, i.isNullOrWhiteSpace(t)) return !1; if (this.tryParseJsonDateTime(t, r)) return !0; if (this.tryParseUsingDate(t, r)) return !0; var a = "en-US" == e.System.Globalization.CultureInfo.currentCulture.name ? e.Base.Helpers.DateTimeFormat.USA_DATE : e.Base.Helpers.DateTimeFormat.UK_DATE; if (e.Base.Helpers.DateTimeRoutines.tryParseDateTime(t, a, r)) return !0; if (null != (o = e.System.DateTime.fromString(t, !1))) return r.ref = o, !0; return !1 } , t.tryParseUsingDate = function(t, r) { var i = e.System.DateTime.now; r.ref = i; try { var o = new Date(t); return null != o && !isNaN(o.getTime()) && !isNaN(o.getDate()) && (r.ref = new n(o), !0) } catch (e) { return !1 } } , t.tryParseJsonDateTime = function(t, r) { var o = e.System.DateTime.now; r.ref = o; try { if (i.isNullOrWhiteSpace(t)) return !1; if (!t.stimulsoft.replaceAll(" ", "").stimulsoft.contains("Date(")) return !1; if (this.tryParseJsonDateTimeInNewDate(t, r)) return !0; return r.ref = n.fromNetJsonString(t), !0 } catch (e) { return !1 } } , t.tryParseJsonDateTimeInNewDate = function(t, i) { var o = e.System.DateTime.now; i.ref = o; try { var a = t.stimulsoft.replaceAll(" ", "").toLowerCase(); if (!a.stimulsoft.startsWith("newdate(", !0)) return !1; var s = a.indexOf("(") + 1; if (-1 == s) return !1; var l = a.indexOf(")", s); if (-1 == l) return !1; a = a.substr(s, l - s); var u = r.tryParse(a); if (!u.successfully) return !1; return i.ref = new n(1970,1,1,0,0,0,0).addTicks(u.result), !0 } catch (e) { return !1 } } , t }(); t.StringExt = o }(t = e.Base || (e.Base = {})) }(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, o = [], a; try { while ((void 0 === e || e-- > 0) && !(i = r.next()).done) o.push(i.value) } catch (t) { a = { error: t } } finally { try { i && !i.done && (n = r.return) && n.call(r) } 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 } , __extends = this && this.__extends || function() { var t = function(e, n) { return (t = 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]) } )(e, n) }; return function(e, n) { function r() { this.constructor = e } t(e, n), e.prototype = null === n ? Object.create(n) : (r.prototype = n.prototype, new r) } }(), __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, e, n, r) { function i(t) { return t instanceof n ? t : new n(function(e) { e(t) } ) } return new (n || (n = Promise))(function(n, o) { function a(t) { try { u(r.next(t)) } catch (t) { o(t) } } function s(t) { try { u(r.throw(t)) } catch (t) { o(t) } } function u(t) { t.done ? n(t.value) : i(t.value).then(a, s) } u((r = r.apply(t, e || [])).next()) } ) } , __generator = this && this.__generator || function(t, e) { function n(t) { return function(e) { return r([t, e]) } } function r(n) { if (o) throw new TypeError("Generator is already executing."); while (i) try { if (o = 1, a && (s = 2 & n[0] ? a.return : n[0] ? a.throw || ((s = a.return) && s.call(a), 0) : a.next) && !(s = s.call(a, n[1])).done) return s; switch (a = 0, s && (n = [2 & n[0], s.value]), n[0]) { case 0: case 1: s = n; break; case 4: return i.label++, { value: n[1], done: !1 }; case 5: i.label++, a = n[1], n = [0]; continue; case 7: n = i.ops.pop(), i.trys.pop(); continue; default: if (s = i.trys, !(s = s.length > 0 && s[s.length - 1]) && (6 === n[0] || 2 === n[0])) { i = 0; continue } if (3 === n[0] && (!s || n[1] > s[0] && n[1] < s[3])) { i.label = n[1]; break } if (6 === n[0] && i.label < s[1]) { i.label = s[1], s = n; break } if (s && i.label < s[2]) { i.label = s[2], i.ops.push(n); break } s[2] && i.ops.pop(), i.trys.pop(); continue } n = e.call(t, i) } catch (t) { n = [6, t], a = 0 } finally { o = s = 0 } if (5 & n[0]) throw n[1]; return { value: n[0] ? n[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, u; return u = { next: n(0), throw: n(1), return: n(2) }, "function" == typeof Symbol && (u[Symbol.iterator] = function() { return this } ), u } , Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.correct = function(t) { return t } , t }(); t.StiDateTimeCorrector = e }(e = t.Helpers || (t.Helpers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Data.Helpers.StiDateTimeCorrector , r = t.System.UInt64 , i = t.System.UInt32 , o = t.System.UInt16 , a = t.System.Int64 , s = t.System.Int32 , u = t.System.Type , l = t.System.DateTime , c = function() { function t() {} return t.prototype.equals = function(e, n) { return 0 == t.compare(e, n) } , t.prototype.getHashCode = function(t) { return 0 } , t.compare = function(e, n) { if (null == e && null == n) return 0; if (null == e) return -1; if (null == n) return 1; var c = u.getType(e); if (c == l) return t.dateTimeCompare(e, n); if (c == String) return e.toLowerCase().stimulsoft.compareTo(n); if (c == Boolean) return t.defaultCompare(e, n); if (c == Number) return e.stimulsoft.compareTo(n); if (c == s) return e.stimulsoft.compareTo(n); if (c == a) return e.stimulsoft.compareTo(n); if (c == o) return e.stimulsoft.compareTo(n); if (c == i) return e.stimulsoft.compareTo(n); if (c == r) return e.stimulsoft.compareTo(n); return 0 } , t.defaultCompare = function(t, e) { return 0 } , t.dateTimeCompare = function(t, e) { if (t.stimulsoft.is(l) && e.stimulsoft.is(l)) return l.compare(n.correct(t), n.correct(e)); if (t.stimulsoft.is(l) && !e.stimulsoft.is(l)) return -1; return 1 } , t.arrayCompare = function(t, e) { if (t.length < e.length) return -1; if (t.length > e.length) return 1; return 0 } , t.default = new t, t }(); e.StiObjectComparer = c }(n = e.Comparers || (e.Comparers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Data.Comparers.StiObjectComparer , r = function() { function t() {} return t.prototype.compare = function(t, e) { if (null == t || null == e) return 0; if (t.length != e.length) return -1; for (var r = 0; r < t.length; r++) { var i = n.compare(t[r], e[r]); if (0 != i) return i } return 0 } , t }(); e.StiArrayComparer = r }(n = e.Comparers || (e.Comparers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.prototype.equals = function(t, e) { if (t.length == e.length) { for (var n = 0; n < t.length; n++) if (t[n] != e[n]) return !1; return !0 } return !1 } , t.prototype.getHashCode = function(t) { return null } , t }(); t.StiArrayEqualityComparer = e }(e = t.Comparers || (t.Comparers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.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 } , t }(); t.StiDataActionComparer = e }(e = t.Comparers || (t.Comparers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.prototype.compare = function(t, e) { return null } , t }(); t.StiDataRowComparer = e }(e = t.Comparers || (t.Comparers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Inner = 1] = "Inner", t[t.Left = 2] = "Left", t[t.Right = 3] = "Right", t[t.Cross = 4] = "Cross", t[t.Full = 5] = "Full" }(e = t.StiDataJoinType || (t.StiDataJoinType = {})); var n; !function(t) { t[t.Ascending = 1] = "Ascending", t[t.Descending = 2] = "Descending", t[t.None = 3] = "None" }(n = t.StiDataSortDirection || (t.StiDataSortDirection = {})); var r; !function(t) { t[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.Between = 6] = "Between", t[t.NotBetween = 7] = "NotBetween", t[t.Containing = 8] = "Containing", t[t.NotContaining = 9] = "NotContaining", t[t.BeginningWith = 10] = "BeginningWith", t[t.EndingWith = 11] = "EndingWith", t[t.IsNull = 12] = "IsNull", t[t.IsNotNull = 13] = "IsNotNull", t[t.IsBlank = 14] = "IsBlank", t[t.IsNotBlank = 15] = "IsNotBlank", t[t.IsFalse = 16] = "IsFalse" }(r = t.StiDataFilterCondition || (t.StiDataFilterCondition = {})); var i; !function(t) { t[t.AND = 0] = "AND", t[t.OR = 1] = "OR" }(i = t.StiDataFilterOperation || (t.StiDataFilterOperation = {})); var o; !function(t) { t[t.Limit = 0] = "Limit", t[t.Replace = 1] = "Replace", t[t.RunningTotal = 2] = "RunningTotal", t[t.Percentage = 3] = "Percentage" }(o = t.StiDataActionType || (t.StiDataActionType = {})); var a; !function(t) { t[t.Equal = 0] = "Equal", t[t.NotEqual = 1] = "NotEqual", t[t.Custom = 2] = "Custom", t[t.Empty = 3] = "Empty" }(a = t.StiDataFilterConditionGroupType || (t.StiDataFilterConditionGroupType = {})); var s; !function(t) { t[t.None = 0] = "None", t[t.AllowOpenConnections = 1] = "AllowOpenConnections", t[t.AllowDataSort = 2] = "AllowDataSort", t[t.DisallowTransform = 4] = "DisallowTransform", t[t.All = 3] = "All" }(s = t.StiDataRequestOption || (t.StiDataRequestOption = {})); var u; !function(t) { t[t.None = 0] = "None", t[t.Top = 1] = "Top", t[t.Bottom = 2] = "Bottom" }(u = t.StiDataTopNMode || (t.StiDataTopNMode = {})); var l; !function(t) { t[t.V1 = 0] = "V1", t[t.V2 = 1] = "V2" }(l = t.StiDataJoinEngine || (t.StiDataJoinEngine = {})) }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDataFilters = "IStiDataFilters", t.ImplementsIStiDataFilters = [] }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDataTopN = "IStiDataTopN", t.ImplementsIStiDataTopN = [] }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDataTransformationElement = "IStiDataTransformationElement", t.ImplementsIStiDataTransformationElement = [] }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDrillDownElement = "IStiDrillDownElement", t.ImplementsIStiDrillDownElement = [] }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRetrieval = "IStiRetrieval", t.ImplementsIStiRetrieval = [] }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Data.Engine.IStiRetrieval , r = t.Data.Engine.ImplementsIStiRetrieval; e.IStiQueryObject = "IStiQueryObject", e.ImplementsIStiQueryObject = __spread([n], r) }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTransformActions = "IStiTransformActions", t.ImplementsIStiTransformActions = [] }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTransformFilters = "IStiTransformFilters", t.ImplementsIStiTransformFilters = [] }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTransformSorts = "IStiTransformSorts", t.ImplementsIStiTransformSorts = [] }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiUserFilters = "IStiUserFilters", t.ImplementsIStiUserFilters = [] }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiUserSorts = "IStiUserSorts", t.ImplementsIStiUserSorts = [] }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.LogicalExpressionVisitor = e }(e = t.Domain || (t.Domain = {})) }(e = t.NCalc || (t.NCalc = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.Data.Expressions.NCalc.Domain.LogicalExpressionVisitor , i = t.System.Collections.Dictionary , o = t.System.Collections.List , a = t.Base.StiLexer , s = t.Base.StiTokenType , u = t.System.Collections.Hashtable , l = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.parameters = new u, e } return __extends(e, t), e.prototype.visit7 = function(t) { this.parameters.add(t.name, t.name) } , e.prototype.visit4 = function(t) {} , e.prototype.visit3 = function(t) { t.leftExpression.accept(this), t.rightExpression.accept(this) } , e.prototype.visit2 = function(t) { t.leftExpression.accept(this), t.rightExpression.accept(this), t.middleExpression.accept(this) } , e.prototype.visit6 = function(t) { var e, n; try { for (var r = __values(t.expressions), i = r.next(); !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 } } } , e.prototype.visit1 = function(t) { t.accept(this) } , e.prototype.visit5 = function(t) {} , e }(r) , c = function() { function e() {} return e.newExpression = function(n) { return t.Data.Expressions.NCalc.Expression.create1(e.prepareExpression(n), t.Data.Expressions.NCalc.EvaluateOptions.IgnoreCase) } , e.prepareExpression = function(t) { return t = n.isNullOrWhiteSpace(t) ? t : t.stimulsoft.replaceAll('"', "'"), e.escapeExpression(t) } , e.escapeExpression = function(t) { if (n.isNullOrWhiteSpace(t) || t.stimulsoft.contains("[") && t.stimulsoft.contains("]")) return t; try { var e = new o , r = new a(t); while (!0) { var i = r.getToken(); if (null == i || i.type == s.EOF) break; e.add(i) } for (var u = t, l = 0, c = 0; c < e.length - 2; c++) if (e[c].type == s.Ident && e[c + 1].type == s.Dot && e[c + 2].type == s.Ident) { if (0 != c && c + 3 < e.length && (e[c - 1].type == s.LBracket || e[c + 3].type == s.RBracket)) continue; var h = e[c].index , p = e[c + 2].index + e[c + 2].length; u = u.stimulsoft.insert(h + l, "[", 0), l++, u = u.stimulsoft.insert(p + l, "]", 0), l++, c++ } return u } catch (t) {} return t } , e.replaceFunction = function(t, n) { var r = e.getFunction(t); return null != r ? t = t.substring(r.length) : (t = t.trim(), t.stimulsoft.startsWith("(") || (t = "(" + t), t.stimulsoft.endsWith(")") || (t += ")")), "" + n + t } , e.removeFunction = function(t) { if (null == t) return t; var n = e.getFunction(t); return null != n && (t = t.substring(n.length)), t = t.trim(), t.stimulsoft.startsWith("(") && (t = t.substring(1)), t.stimulsoft.endsWith(")") && (t = t.substring(0, t.length - 1)), t } , e.isAggregationFunctionPresent = function(e) { var r = this.getFunction(e); if (n.isNullOrWhiteSpace(r)) return !1; return t.Data.Functions.Funcs.isAggregationFunction(r) } , e.isFunctionPresent = function(t) { var r = e.getFunction(t); return !n.isNullOrWhiteSpace(r) } , e.getFunction = function(e) { if (n.isNullOrWhiteSpace(e)) return null; try { var r = t.Data.Expressions.NCalc.Expression.compile(this.prepareExpression(e), !0) , i = r.stimulsoft.as(t.Data.Expressions.NCalc.Domain.Functionn); if (null != i) { var o = i.identifier.name; return null != o && e.trim().stimulsoft.startsWith(o) ? o : null } return null } catch (t) { return null } } , e.getArguments = function(r) { if (n.isNullOrWhiteSpace(r)) return new o; try { if (e.expressionToArguments.contains(r)) return e.expressionToArguments.get(r); var i = t.Data.Expressions.NCalc.Expression.compile(this.prepareExpression(r), !0) , a = new l; i.accept(a); var s = a.parameters.values.toList(); return e.expressionToArguments.set(r, s), s } catch (t) {} return new o } , e.getFirstArgumentFromExpression = function(t) { t = e.removeFunction(t); var r = e.getArguments(t); if (null == r) return null; var i = r.firstOrDefault(); if (n.isNullOrWhiteSpace(i)) return null; return i } , e.parseReportExpression = function(t, e, r) { if (null != t && !n.isNullOrEmpty(e)) return r || e.stimulsoft.contains("{") || e.stimulsoft.contains("}") || (e = "{" + e + "}"), t.fetchPages().firstOrDefault().parseExpression(e); return e } , e.expressionToArguments = new i, e }(); e.StiExpressionHelper = c }(n = e.Helpers || (e.Helpers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.Data.Helpers.StiExpressionHelper , i = t.System.Data.DataTable , o = function() { function t() {} return t.getUniqueName = function(t, e) { if (!t.columns.contains(e.label)) return e.label; var i = r.getFunction(e.expression); if (!n.isNullOrWhiteSpace(i)) { var o = e.label + "-" + i; if (!t.columns.contains(o)) return o } return this.getUniqueName3(t, e.label) } , t.getUniqueName2 = function(t, e, i) { if (!t.columns.contains(i)) return i; var o = r.getFunction(e.expression); if (!n.isNullOrWhiteSpace(o)) { var a = i + "-" + o; if (!t.columns.contains(a)) return a } return this.getUniqueName3(t, e.label) } , t.getUniqueName3 = function(t, e) { if (null == e) return null; var n = e , r = 2; while (t.columns.contains(n)) n = e + r++; return n } , t.parentRelationList = function(t) { return t.parentRelations.toList().cast() } , t.childRelationList = function(t) { return t.childRelations.toList().cast() } , t.nullTable = new i, t }(); e.DataTableExt = o }(n = e.Extensions || (e.Extensions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.toNetTable = function(e, n) { return void 0 === n && (n = !1), t.ListTableExt.toNetTable(e.rows, e.meters, n) } , e }(); t.StiDataTableExt = e }(e = t.Extensions || (t.Extensions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Collections.Dictionary , r = t.Data.Extensions.DataTableExt , i = t.Base.StiKeyHelper , o = t.Data.Extensions.StiDataTableExt , a = function() { function t() {} return t.apply = function(t, n, i, o) { if (null == n) return t; if (n = n.where(function(t) { return !t.afterGroupingData }), !n.any()) return t; var a = this.getFromCache(t, i, o); if (a == r.nullTable) return null; if (null == a) { a = t.copy(); var s = t.toList().cast().select(function(t) { return t.columnName }).toList(); e.StiDataActionRuleHelper.applyActions(a, n.toList(), null, s, i), this.addToCache(t, i, o, a) } return a } , t.applyAfterGrouping = function(t, n, r, i) { if (null == n) return t; if (n = n.where(function(t) { return t.afterGroupingData }), !n.any()) return t; var a = this.getFromCache2(t, r, i); if (null == a) { var s = o.toNetTable(t) , u = t.meters.select(function(t) { return t.key }) , l = s.toList().cast().select(function(t) { return t.columnName }); e.StiDataActionRuleHelper.applyActions(s, n.toList(), u, l, r); var c = s.rows.toList().select(function(t) { return t.itemArray }); a = new e.StiDataTable(t.meters,c), this.addToCache2(t, r, i, a) } return a } , t.cleanCache = function(t) { var e = this; null == t ? (this.netCache.clear(), this.meterCache.clear()) : (this.netCache.keys.where(function(e) { return e.stimulsoft.startsWith(t) }).toList().forEach(function(t) { return e.netCache.remove(t) }), this.meterCache.keys.where(function(e) { return e.stimulsoft.startsWith(t) }).toList().forEach(function(t) { return e.meterCache.remove(t) })) } , t.getCacheKey = function(t, e, n) { return e && e.setKey(i.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) } , t.getCacheKey2 = function(t, e, n) { return e && e.setKey(i.getOrGeneratedKey(e.getKey())), (e && e.getKey() || "") + "." + (t.meters.select(function(t) { return t.stimulsoft.getHashCode() }).aggregate2(0, function(t, e) { return t + e }) + n) } , t.getFromCache = function(t, e, n) { var r = this.getCacheKey(t, e, n); return this.netCache.contains(r) ? this.netCache.get(r) : null } , t.getFromCache2 = function(t, e, n) { var r = this.getCacheKey2(t, e, n); return this.meterCache.contains(r) ? this.meterCache.get(r) : null } , t.addToCache = function(t, e, n, i) { null == i && (i = r.nullTable); var o = this.getCacheKey(t, e, n); this.netCache.set(o, i) } , t.addToCache2 = function(t, n, r, i) { null == i && (i = e.StiDataTable.nullTable); var o = this.getCacheKey2(t, n, r); this.meterCache.set(o, i) } , t.lockObject = {}, t.netCache = new n, t.meterCache = new n, t }(); e.StiDataActionOperator = a }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , t }(); t.StiDataRule = e }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Base.StiJson , r = t.System.Enum , i = function(t) { function i(e, n, r, i, o, a, s, u, l, c, h) { void 0 === i && (i = 0), void 0 === o && (o = -1), void 0 === a && (a = !0), void 0 === l && (l = !1), void 0 === c && (c = !1); var p = t.call(this) || this; return p.rowsCount = -1, null != e && (p.key = e), null != n && (p.path = n), null != r && (p.type = r), null != i && (p.startIndex = i), null != o && (p.rowsCount = o), null != s && (p.valueFrom = s), null != u && (p.valueTo = u), null != l && (p.matchCase = l), null != c && (p.matchWholeWord = c), null != h && (p.initialValue = h), null != a && (p.afterGroupingData = a), p } return __extends(i, t), i.prototype.saveToJsonObject = function(t) { var r = new n; return r.addPropertyEnum("Type", e.StiDataActionType, this.type), r.addPropertyStringNullOrEmpty("Key", this.key), r.addPropertyStringNullOrEmpty("Path", this.path), r.addPropertyNumber("StartIndex", this.startIndex), r.addPropertyNumber("RowsCount", this.rowsCount, -1), r.addPropertyStringNullOrEmpty("InitialValue", this.initialValue), r.addPropertyStringNullOrEmpty("ValueFrom", this.valueFrom), r.addPropertyStringNullOrEmpty("ValueTo", this.valueTo), r.addPropertyBool("MatchCase", this.matchCase), r.addPropertyBool("MatchWholeWord", this.matchWholeWord), r.addPropertyBool("AfterGroupingData", this.afterGroupingData), r } , i.prototype.loadFromJsonObject = function(t) { var 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 "Type": this.type = r.parse(e.StiDataActionType, s.value); break; case "Key": this.key = s.value; break; case "Path": this.path = s.value; break; case "StartIndex": this.startIndex = s.value.stimulsoft.toNumber(); break; case "RowsCount": this.rowsCount = null != s.value ? s.value.stimulsoft.toNumber() : -1; break; case "InitialValue": this.initialValue = s.value; break; case "ValueFrom": this.valueFrom = s.value; break; case "ValueTo": this.valueTo = s.value; break; case "MatchCase": this.matchCase = s.value.stimulsoft.toBoolean(); break; case "MatchWholeWord": this.matchWholeWord = s.value.stimulsoft.toBoolean(); break; case "AfterGroupingData": this.afterGroupingData = s.value.stimulsoft.toBoolean(); break } } } catch (t) { n = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (n) throw n.error } } } , i.prototype.loadFromXml = function(t, n) { for (var i = 0; i < t.childNodes.length; i++) { var o = t.childNodes[i]; switch (o.nodeName) { case "Type": this.type = r.parse(e.StiDataActionType, o.textContent); break; case "Key": this.key = o.textContent; break; case "Path": this.path = o.textContent; break; case "StartIndex": this.startIndex = o.textContent.stimulsoft.toNumber(); break; case "RowsCount": this.rowsCount = o.textContent.stimulsoft.toNumber(); break; case "InitialValue": this.initialValue = o.textContent; break; case "ValueFrom": this.valueFrom = o.textContent; break; case "ValueTo": this.valueTo = o.textContent; break; case "MatchCase": this.matchCase = o.textContent.stimulsoft.toBoolean(); break; case "MatchWholeWord": this.matchWholeWord = o.textContent.stimulsoft.toBoolean(); break; case "AfterGroupingData": this.afterGroupingData = o.textContent.stimulsoft.toBoolean(); break } } } , i.loadFromJson = function(t) { var e = new i; return e.loadFromJsonObject(t), e } , i.loadFromXml = function(t) { var e = new i; return e.loadFromXml(t, !1), e } , i.prototype.getUniqueCode = function() { var t = this.type; return t = 397 * t ^ (null != this.key ? this.key.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this.path ? this.path.stimulsoft.getHashCode() : 0), t = 397 * t ^ this.startIndex, t = 397 * t ^ this.rowsCount, t = 397 * t ^ (null != this.initialValue ? this.initialValue.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this.valueFrom ? this.valueFrom.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this.valueTo ? this.valueTo.stimulsoft.getHashCode() : 0), t = 397 * t ^ this.matchCase.stimulsoft.getHashCode(), t = 397 * t ^ this.matchWholeWord.stimulsoft.getHashCode(), t = 397 * t ^ this.afterGroupingData.stimulsoft.getHashCode(), Math.abs(t) } , i.create1 = function(t, n) { return new i(t,n,e.StiDataActionType.Percentage,0,-1,!0,null,null,!1,!1,null) } , i.create2 = function(t, n, r, o, a) { return new i(t,n,e.StiDataActionType.Limit,r,o,a,null,null,!1,!1,null) } , i.create3 = function(t, n, r, o, a, s) { return new i(t,n,e.StiDataActionType.Replace,0,-1,!1,r,o,a,s,null) } , i.create4 = function(t, n, r) { return new i(t,n,e.StiDataActionType.RunningTotal,0,-1,!0,null,null,!1,!1,r) } , i }(e.StiDataRule); e.StiDataActionRule = i }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.StiNumber , i = t.Base.StiKeyHelper , o = t.Base.Helpers.StiValueHelper , a = t.Data.Helpers.StiExpressionHelper , s = t.Data.Comparers.StiDataActionComparer , u = function() { function u() {} return u.toList = function() { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; return t.toList() } , u.validate = function(t, e) { return t.where(function(t) { return i.isKey(t.key) && e.contains(t.key) }).toList() } , u.getColumnIndex = function(t, e, r) { var i = -1; return null == r || n.isNullOrEmpty(t.path) || (i = r.indexOf(t.path)), -1 != i || null == e || n.isNullOrEmpty(t.key) || (i = e.indexOf(t.key)), i } , u.applyActions = function(t, n, r, i, o) { var a, u; n.sort2(new s); try { for (var l = __values(n), c = l.next(); !c.done; c = l.next()) { var h = c.value , p = this.getColumnIndex(h, r, i); switch (h.type) { case e.StiDataActionType.Limit: this.applyLimitAction(t, h.startIndex, h.rowsCount); break; case e.StiDataActionType.Replace: this.applyReplaceAction(t, p, h.valueFrom, h.valueTo, h.matchCase, h.matchWholeWord, o); break; case e.StiDataActionType.RunningTotal: this.applyRunningTotalAction(t, p, h.initialValue, o); break; case e.StiDataActionType.Percentage: this.applyPercentageAction(t, p); break } } } catch (t) { a = { error: t } } finally { try { c && !c.done && (u = l.return) && u.call(l) } finally { if (a) throw a.error } } } , u.applyLimitAction = function(t, e, n) { n < 0 && (n = t.rows.length); var r = t.rows.toList().skip(e).take(Math.max(0, n)); t.rows.toList().except(r).forEach(function(e) { return t.rows.remove(e) }) } , u.applyReplaceAction = function(t, e, r, i, s, u, l) { if (-1 == e) return; r = a.parseReportExpression(l, r, !0), i = a.parseReportExpression(l, i, !0), t.rows.toList().forEach(function(t) { var a = o.tryToString(t.gett(e)); if (n.isNullOrEmpty(a)) return; var l = new RegExp(u ? "\b" + r + "\b" : r,s ? "" : "i"); t.sett(e, a.replace(l, i)) }) } , u.applyRunningTotalAction = function(t, e, n, i) { if (-1 == e) return; n = a.parseReportExpression(i, n, !0); var s = r.tryParse(n.stimulsoft.replaceAll(",", ".")).result; t.rows.toList().forEach(function(t) { return t.sett(e, s += o.tryToNumber(t.gett(e))) }) } , u.applyPercentageAction = function(e, n) { if (-1 == n) return; var r = t.Data.Functions.Funcs.sum(e.rows.toList().select(function(t) { return t.gett(n) })); e.rows.toList().forEach(function(t) { return t.sett(n, Math.round2(o.tryToNumber(t.gett(n)) / r * 100, 2)) }) } , u }(); e.StiDataActionRuleHelper = u }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Collections.List , r = function() { function t() {} return t.analyze = function(t, n, r, i, o, a, s, u, l, c, h, p) { return void 0 === i && (i = e.StiDataRequestOption.All), void 0 === o && (o = null), void 0 === a && (a = null), void 0 === s && (s = null), void 0 === u && (u = null), void 0 === l && (l = null), void 0 === c && (c = null), void 0 === h && (h = null), void 0 === p && (p = null), __awaiter(this, void 0, void 0, function() { var f, m, d, y, v, g, b, S, T; return __generator(this, function(x) { switch (x.label) { case 0: if (null == r || !r.any()) return [2, e.StiDataTable.nullTable]; return f = t.getDictionary(), m = f.getApp(), d = 0, y = this.unionNames(null, null != a ? a.select(function(t) { return t.path }) : null), y = this.unionNames(y, null != s ? s.select(function(t) { return t.path }) : null), y = this.unionNames(y, null != u ? u.select(function(t) { return t.path }) : null), y = this.unionNames(y, null != c ? c.select(function(t) { return t.path }) : null), y = this.unionNames(y, null != h ? h.select(function(t) { return t.path }) : null), y = this.unionNames(y, null != p ? p.select(function(t) { return t.path }) : null), v = e.StiDataLinkHelper.getLinks(f), [4, e.StiDataPicker.fetch(t, n, i, y, v)]; case 1: if (null == (g = x.sent()) || !g.any()) return [2, e.StiDataCreator.create(f, r)]; if (null == (b = e.StiDataJoiner.join(g, e.StiDataLinkHelper.getLinks(f), m))) return [2, e.StiDataTable.nullTable]; if (S = this.unionFilters(s, a, p), d = null != n ? n.stimulsoft.getHashCode() : 0, d = this.getUniqueCode(m, S, d), null == (b = e.StiDataFiltrator.filter(b, S, m, d))) return [2, e.StiDataTable.nullTable]; if (d = this.getUniqueCode(m, u && u.where(function(t) { return !t.afterGroupingData }), d), null == (b = e.StiDataActionOperator.apply(b, u, m, d))) return [2, e.StiDataTable.nullTable]; if (d = this.getUniqueCode2(r, d), null == (T = e.StiDataGrouper.group(f, b, r))) return [2, e.StiDataTable.nullTable]; if (d = this.getUniqueCode(m, u && u.where(function(t) { return t.afterGroupingData }), d), null == (T = e.StiDataActionOperator.applyAfterGrouping(T, u, m, d))) return [2, e.StiDataTable.nullTable]; if (d = this.getUniqueCode(m, c, d), null == (T = e.StiDataFiltrator.filter2(T, c, m, d))) return [2, e.StiDataTable.nullTable]; if (d = this.getUniqueCode(m, h, d), null == (T = e.StiDataActionOperator.applyAfterGrouping(T, h, m, d))) return [2, e.StiDataTable.nullTable]; if (d = this.getUniqueCode(m, l, d), null == (T = e.StiDataSorter.sort(T, l, m, d))) return [2, e.StiDataTable.nullTable]; if (d = this.getUniqueCode(m, o, d), null == (T = e.StiDataSorter.sort(T, o, m, d))) return [2, e.StiDataTable.nullTable]; return [2, T] } }) }) } , t.unionFilters = function(t, e, r) { if (null == t && null == e && null == r) return null; var i = new n; return null != t && (i = i.union(t)), null != e && (i = i.union(e)), null != r && (i = i.union(r)), i } , t.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 } , t.getUniqueCode = function(t, n, r) { if (void 0 === r && (r = null), null == n || !n.any()) return null != r ? r : 0; var i = n.select(function(t) { return t.getUniqueCode() }).aggregate2(0, function(t, e) { return t + e }); if (n.all(function(t) { return t.stimulsoft.is(e.StiDataFilterRule) })) { i += e.StiDataFilterRuleHelper.getFilterRulesHash(t, n.cast()) } return null == r ? i : i + r } , t.getUniqueCode2 = function(t, e) { if (void 0 === e && (e = null), null == t || !t.any()) return null != e ? e : 0; var n = t.select(function(t) { return t.getUniqueCode() }).aggregate2(0, function(t, e) { return t + e }); return null == e ? n : n + e } , t }(); e.StiDataAnalyzer = r }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = function() { function t() {} return t.isGoodColumnName = function(t) { return !n.isNullOrEmpty(t) && 0 == t.indexOf("[") && t.indexOf("]") == t.length - 1 } , t.getGoodColumnName = function(t) { return this.isGoodColumnName(t) ? t : "[" + t + "]" } , t.keywords = ["and", "between", "child", "false", "in", "is", "like", "not", "null", "or", "parent", "true"], t }(); e.StiDataColumnRuleHelper = r }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Collections.Hashtable , r = t.System.Collections.List , i = function() { function t() {} return t.isConnectionActive = function(e) { if (null == e) return !1; return t.connections.containsKey(e) } , t.registerConnection = function(e, n) { if (null == e) return; if (n = null != n ? n : new r, t.connections.containsKey(e)) { var i = t.connections.get(e); null != i ? i.addRange(n) : t.connections.set(e, n) } else t.connections.add(e, n) } , t.unRegisterConnections = function(e) { return t.connections.values.where(function(t) { return null != t }).selectMany(t.unRegisterConnection).toList() } , t.unRegisterConnection = function(e) { if (null == e || !t.connections.containsKey(e)) return new r; var n = t.connections.get(e); return t.connections.remove(e), null != n ? n : new r } , t.connections = new n, t }(); e.StiDataConnections = i }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Collections.List , r = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.compare = function(t, e) { return null } , e.compareValues = function(t, e) { return null } , e.isList = function(t) { return null != t && (!t.stimulsoft.is(String) && t.stimulsoft.is(n)) } , e.isBoolList = function(t) { return e.toList(t).firstOrDefault().stimulsoft.is(Boolean) } , e.toList = function(t) { return t.cast() } , e.toStringList = function(t) { return e.toList(t).tryCastToString() } , e.toNumberList = function(t) { return e.toList(t).tryCastToNumber() } , e.toBoolList = function(t) { return e.toList(t).tryCastToBool() } , e.toNullableDateTimeList = function(t) { return e.toList(t).tryCastToNullableDateTime() } , e.toStringArray = function(t) { return null } , e.toNumberArray = function(t) { return null } , e }(n); e.ListExt = r }(n = e.Extensions || (e.Extensions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t) { void 0 === t && (t = null), this.message = "", this.message = t } return t }(); t.StiDataException = e }(e = t.Exceptions || (t.Exceptions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n) { var r = t.call(this, "Argument '" + n + "' in the function '" + e + "' not found!") || this; return r._functionName = e, r._argumentName = n, r } return __extends(e, t), Object.defineProperty(e.prototype, "functionName", { get: function() { return this._functionName }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "argumentName", { get: function() { return this._argumentName }, enumerable: !0, configurable: !0 }), e }(t.StiDataException); t.StiArgumentNotFoundException = e }(e = t.Exceptions || (t.Exceptions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e) { var n = t.call(this, "Parameter count mismatch in the function '" + e + "'!") || this; return n._functionName = e, n } return __extends(e, t), Object.defineProperty(e.prototype, "functionName", { get: function() { return this._functionName }, enumerable: !0, configurable: !0 }), e }(t.StiDataException); t.StiArgumentCountException = e }(e = t.Exceptions || (t.Exceptions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e) { var n = t.call(this, "Function '" + e + "' not found!") || this; return n._name = e, n } return __extends(e, t), Object.defineProperty(e.prototype, "name", { get: function() { return this._name }, enumerable: !0, configurable: !0 }), e }(t.StiDataException); t.StiFunctionNotFoundException = e }(e = t.Exceptions || (t.Exceptions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t) { this._value = t } return Object.defineProperty(t.prototype, "value", { get: function() { return this._value }, enumerable: !0, configurable: !0 }), t }(); t.SimpleValue = e }(e = t.Types || (t.Types = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.MidpointRounding , r = function() { function t() {} return t.allowNulls = !1, t.roundType = n.ToEven, t }(); e.StiDataOptions = r }(n = e.Options || (e.Options = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Base.Helpers.StiValueHelper , r = function() { function t(t) { this.value = n.tryToNullableDateTime(t) } return t }(); e.DateTimeValue = r }(n = e.Types || (e.Types = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.Base.StiActivator , i = t.Data.Types.DateTimeValue , o = t.System.Collections.Hashtable , a = t.System.Enum , s = t.Base.StiAppFunctions , u = t.Data.Exceptions.StiFunctionNotFoundException , l = t.System.Globalization.CultureInfo , c = t.System.Collections.Dictionary , h = t.Data.Helpers.StiExpressionHelper , p = t.System.Char , f = t.System.Collections.List , m = t.Data.Extensions.ListExt , d = t.System.DateTime , y = t.System.TimeSpan , v = t.Base.Helpers.StiValueHelper , g = t.Data.Types.SimpleValue , b = t.Data.Options.StiDataOptions , S = t.Base.Localization.StiLocalization , T = function() { function t() {} return t.count = function(e) { return m.isList(e) ? t.optionalSkipNulls(m.toList(e)).count2() : v.tryToNumber(e) } , t.countIf = function(t, e) { var n, r; if (!m.isList(t)) return this.getCondition(e) ? 1 : 0; var i = this.skipNulls(m.toList(t)) , o = this.getConditions(e) , a = 0 , s = 0 , u = 0; try { for (var l = __values(i), c = l.next(); !c.done; c = l.next()) { var h = c.value; (u < o.length ? o[u] : o.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 } , t.distinct = function(e) { return m.isList(e) ? t.optionalSkipNulls(m.toList(e)).distinct() : e } , t.distinctCount = function(e) { return m.isList(e) ? t.optionalSkipNulls(m.toList(e)).distinct().count2() : v.tryToNumber(e) } , t.distinctCountIf = function(t, e) { var n, r; if (!m.isList(t)) return this.getCondition(e) ? 1 : 0; var i = m.toList(t) , a = this.getConditions(e) , s = 0 , u = new o , l = 0 , c = 0; try { for (var h = __values(i), p = h.next(); !p.done; p = h.next()) { var f = p.value; (c < a.length ? a[c] : a.lastOrDefault()) && null == u.get(f) && (l += 1), u.set(f, f), c++ } } catch (t) { n = { error: t } } finally { try { p && !p.done && (r = h.return) && r.call(h) } finally { if (n) throw n.error } } return l } , t.first = function(e) { return m.isList(e) ? t.skipNulls(m.toList(e)).firstOrDefault() : e } , t.last = function(e) { return m.isList(e) ? t.skipNulls(m.toList(e)).lastOrDefault() : e } , t.all = function(e) { return m.isList(e) ? t.skipNulls(m.toList(e)).select(function(t) { return new g(t) }) : new g(e) } , t.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 } } , t.avg = function(e) { if (!m.isList(e)) return v.tryToNumber(e); var n = t.skipNulls(m.toList(e)); if (0 == t.count(n)) return 0; return t.sum(n) / t.count(n) } , t.avgDate = function(e) { if (!m.isList(e)) return v.tryToNullableDateTime(e); var n = t.skipNulls(m.toList(e)).where(function(t) { return null != t && t.stimulsoft.is(d) }).tryCastToDateTime(); if (0 == t.count(n)) return null; return new d(n.sum(function(t) { return t.ticks }) / t.count(n)) } , t.avgTime = function(t) { return null } , t.max = function(e) { if (!m.isList(e)) return v.tryToNumber(e); var n = t.skipNulls(m.toList(e)).tryCastToNumber(); return n.any() ? n.max() : 0 } , t.maxD = function(e) { if (!m.isList(e)) return v.tryToNumber(e); var n = t.skipNulls(m.toList(e)).tryCastToNumber(); return n.any() ? n.max() : 0 } , t.maxI = function(e) { if (!m.isList(e)) return v.tryToNumber(e); var n = t.skipNulls(m.toList(e)).tryCastToNumber(); return n.any() ? n.max() : 0 } , t.maxDate = function(e) { if (!m.isList(e)) return v.tryToNullableDateTime(e); var n = t.skipNulls(m.toList(e)).tryCastToNullableDateTime(); return n.any() ? n.max() : null } , t.maxTime = function(e) { if (!m.isList(e)) return v.tryToNullableTimeSpan(e); var n = t.skipNulls(m.toList(e)).tryCastToNullableTimeSpan(); return n.any() ? n.max() : null } , t.maxStr = function(e) { if (!m.isList(e)) return t.toString(e); return t.skipNulls(m.toList(e)).orderBy(t.toString).cast().lastOrDefault() } , t.median = function(t) { if (!m.isList(t)) return v.tryToNumber(t); var e = m.toList(t).tryCastToNumber().orderBy(function(t) { return t }).toList(); if (!e.any()) return 0; if (e.length % 2 == 0) return (e[e.length / 2 - 1] + e[e.length / 2]) / 2; return e[Math.ceil(e.length / 2)] } , t.min = function(e) { if (!m.isList(e)) return v.tryToNumber(e); var n = t.skipNulls(m.toList(e)).tryCastToNumber(); return n.any() ? n.min() : 0 } , t.minDate = function(e) { if (!m.isList(e)) return v.tryToNullableDateTime(e); var n = t.skipNulls(m.toList(e)).tryCastToNullableDateTime(); return n.any() ? n.min() : null } , t.minTime = function(e) { if (!m.isList(e)) return v.tryToNullableTimeSpan(e); var n = t.skipNulls(m.toList(e)).tryCastToNullableTimeSpan(); return n.any() ? n.min() : null } , t.minMaxDateString = function(e) { var n = t.minDate(e) , r = t.maxDate(e); return (null != n ? n.toString("MM/dd/yyyy") : "null") + "-" + (null != r ? r.toString("MM/dd/yyyy") : "null") } , t.minStr = function(e) { if (!m.isList(e)) return t.toString(e); return t.skipNulls(m.toList(e)).orderBy(t.toString).cast().firstOrDefault() } , t.mode = function(e) { if (!m.isList(e)) return v.tryToNumber(e); return t.skipNulls(m.toList(e)).tryCastToNumber().groupBy(function(t) { return t }).orderByDescending(function(t) { return t.count2() }).select(function(t) { return t.key }).firstOrDefault() } , t.sum = function(e) { if (!m.isList(e)) return v.tryToNumber(e); return t.skipNulls(m.toList(e)).tryCastToNumber().sum() } , t.sumD = function(e) { if (!m.isList(e)) return v.tryToNumber(e); return t.skipNulls(m.toList(e)).tryCastToNumber().sum() } , t.sumI = function(e) { if (!m.isList(e)) return v.tryToNumber(e); return t.skipNulls(m.toList(e)).tryCastToNumber().sum() } , t.sumTime = function(t) { if (!m.isList(t)) return v.tryToTimeSpan(t); var e = this.skipNulls(m.toList(t)).tryCastToTimeSpan().sum(function(t) { return t.ticks }); return new y(e) } , t.sumDistinct = function(e) { if (!m.isList(e)) return v.tryToNumber(e); return t.skipNulls(m.toList(e)).tryCastToNumber().distinct().sum() } , t.sumIf = function(t, e) { var n, r; if (!m.isList(t)) return this.getCondition(e) ? v.tryToNumber(t) : 0; var i = m.toList(t).tryCastToNumber() , o = this.getConditions(e) , a = 0 , s = 0; try { for (var u = __values(i), l = u.next(); !l.done; l = u.next()) { var c = l.value; (a < o.length ? o[a] : o.lastOrDefault()) && (s += c), a++ } } catch (t) { n = { error: t } } finally { try { l && !l.done && (r = u.return) && r.call(u) } finally { if (n) throw n.error } } return s } , t.sumDIf = function(t, e) { var n, r; if (!m.isList(t)) return this.getCondition(e) ? v.tryToNumber(t) : 0; var i = m.toList(t).tryCastToNumber() , o = this.getConditions(e) , a = 0 , s = 0; try { for (var u = __values(i), l = u.next(); !l.done; l = u.next()) { var c = l.value; (a < o.length ? o[a] : o.lastOrDefault()) && (s += c), a++ } } catch (t) { n = { error: t } } finally { try { l && !l.done && (r = u.return) && r.call(u) } finally { if (n) throw n.error } } return s } , t.sumIIf = function(t, e) { var n, r; if (!m.isList(t)) return this.getCondition(e) ? v.tryToNumber(t) : 0; var i = m.toList(t).tryCastToNumber() , o = this.getConditions(e) , a = 0 , s = 0; try { for (var u = __values(i), l = u.next(); !l.done; l = u.next()) { var c = l.value; (a < o.length ? o[a] : o.lastOrDefault()) && (s += c), a++ } } catch (t) { n = { error: t } } finally { try { l && !l.done && (r = u.return) && r.call(u) } finally { if (n) throw n.error } } return s } , t.sumTimeIf = function(t, e) { var n, r; if (!m.isList(t)) return this.getCondition(e) ? v.tryToTimeSpan(t) : y.zero; var i = m.toList(t).tryCastToTimeSpan() , o = this.getConditions(e) , a = 0 , s = 0; try { for (var u = __values(i), l = u.next(); !l.done; l = u.next()) { var c = l.value; (a < o.length ? o[a] : o.lastOrDefault()) && (s += c.ticks), a++ } } catch (t) { n = { error: t } } finally { try { l && !l.done && (r = u.return) && r.call(u) } finally { if (n) throw n.error } } return new y(s) } , t.sumDistinctIf = function(t, e) { var n, r; if (!m.isList(t)) return this.getCondition(e) ? v.tryToNumber(t) : 0; var i = m.toList(t).tryCastToNumber() , a = this.getConditions(e) , s = new o , u = 0 , l = 0; try { for (var c = __values(i), h = c.next(); !h.done; h = c.next()) { var p = h.value , f = u < a.length ? a[u] : a.lastOrDefault(); f && null != s.get(f) && (l += p, s.set(f, f)), u++ } } catch (t) { n = { error: t } } finally { try { h && !h.done && (r = c.return) && r.call(c) } finally { if (n) throw n.error } } return l } , t.getCondition = function(t) { if (!m.isList(t)) return v.tryToBool(t); return m.toList(t).tryCastToBool().firstOrDefault() } , t.getConditions = function(t) { if (!m.isList(t)) return new f([v.tryToBool(t)]); return m.toList(t).tryCastToBool().toList() } , t.dayOfWeekIdent = function(t) { return null } , t.dayOfWeekIdentObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.dayOfWeekIdent) : t.dayOfWeekIdent(v.tryToNullableDateTime(e)) } , t.dayOfWeekIndex = function(t) { if (null == t) return -1; return t.dayOfWeek } , t.dayOfWeekIndexObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.dayOfWeekIndex) : t.dayOfWeekIndex(v.tryToNullableDateTime(e)) } , t.dayOfWeek = function(t) { return null != t ? e.StiDayOfWeekToStrHelper.dayOfWeek(t) : "" } , t.dayOfWeekObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.dayOfWeek) : t.dayOfWeek(v.tryToNullableDateTime(e)) } , t.dayOfWeek2 = function(t, n) { return null != t ? e.StiDayOfWeekToStrHelper.dayOfWeek2(t, n) : "" } , t.dayOfWeekObject2 = function(e, n) { return m.isList(e) ? m.toNullableDateTimeList(e).select(function(e) { return t.dayOfWeek2(e, n) }) : t.dayOfWeek2(v.tryToNullableDateTime(e), n) } , t.dayOfWeek3 = function(t, n) { return null != t ? e.StiDayOfWeekToStrHelper.dayOfWeek3(t, n) : "" } , t.dayOfWeekObject3 = function(e, n) { return m.isList(e) ? m.toNullableDateTimeList(e).select(function(e) { return t.dayOfWeek3(e, n) }) : t.dayOfWeek3(v.tryToNullableDateTime(e), n) } , t.dayOfWeek4 = function(t, n, r) { return null != t ? e.StiDayOfWeekToStrHelper.dayOfWeek4(t, n, r) : "" } , t.dayOfWeekObject4 = function(e, n, r) { return m.isList(e) ? m.toNullableDateTimeList(e).select(function(e) { return t.dayOfWeek4(e, n, r) }) : t.dayOfWeek4(v.tryToNullableDateTime(e), n, r) } , t.daysInMonth = function(t, e) { return d.daysInMonth(t, e) } , t.daysInMonthObject = function(e, n) { if (m.isList(e) || m.isList(n)) { for (var r = m.toNullableDateTimeList(e), i = m.toNullableDateTimeList(n), o = null != r ? r.toList() : null, a = null != i ? i.toList() : null, s = null != o ? o.count2() : a.length, u = new f, l = 0; l < s; l++) { var c = null != o ? o[l] : null , h = null != a ? a[l] : null; u.add(t.daysInMonthObject(c, h)) } return u } return t.daysInMonth(v.tryToNumber(e), v.tryToNumber(n)) } , t.daysInMonth2 = function(t) { return null != t ? d.daysInMonth(t.year, t.month) : 0 } , t.daysInMonthObject2 = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.daysInMonth2) : t.daysInMonth2(v.tryToNullableDateTime(e)) } , t.daysInYear = function(t) { return d.isLeapYear(t) ? 366 : 365 } , t.daysInYear2 = function(e) { return null != e ? t.daysInYear(e.year) : 0 } , t.daysInYearObject = function(e) { if (m.isList(e)) return m.toNullableDateTimeList(e).select(t.daysInMonth2); return e.stimulsoft.is(d) ? t.daysInYear2(v.tryToNullableDateTime(e)) : t.daysInYear(v.tryToNumber(e)) } , t.monthIdent = function(t) { return null } , t.monthIdentObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.monthIdent) : t.monthIdent(v.tryToNullableDateTime(e)) } , t.month = function(t) { if (null == t) return -1; return t.month } , t.monthObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.month) : t.month(v.tryToNullableDateTime(e)) } , t.monthName = function(t) { return null != t ? e.StiMonthToStrHelper.monthName(t) : "" } , t.monthNameObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.monthName) : t.monthName(v.tryToNullableDateTime(e)) } , t.monthName2 = function(t, n) { return null != t ? e.StiMonthToStrHelper.monthName2(t, n) : "" } , t.monthNameObject2 = function(e, n) { return m.isList(e) ? m.toNullableDateTimeList(e).select(function(e) { return t.monthName2(e, n) }) : t.monthName2(v.tryToNullableDateTime(e), n) } , t.monthName3 = function(t, n) { return null != t ? e.StiMonthToStrHelper.monthName3(t, n) : "" } , t.monthNameObject3 = function(e, n) { return m.isList(e) ? m.toNullableDateTimeList(e).select(function(e) { return t.monthName3(e, n) }) : t.monthName3(v.tryToNullableDateTime(e), n) } , t.monthName4 = function(t, n, r) { return null != t ? e.StiMonthToStrHelper.monthName4(t, n, r) : "" } , t.monthNameObject4 = function(e, n, r) { return m.isList(e) ? m.toNullableDateTimeList(e).select(function(e) { return t.monthName4(e, n, r) }) : t.monthName4(v.tryToNullableDateTime(e), n, r) } , t.addMonthsObject = function(t, e) { var n = v.tryToNullableDateTime(t); if (null == n) return null; return n.addMonths(e) } , t.addYears = function(t, e) { return t.addYears(e) } , t.addYearsObject = function(e, n) { var r = v.tryToNullableDateTime(e); if (null == r) return null; return t.addYears(r, n) } , t.day = function(t) { if (null == t) return -1; return t.day } , t.dayObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.day) : t.day(v.tryToNullableDateTime(e)) } , t.dateDiff = function(t, e) { if (null == t || null == e) return null; return t.subtract(e) } , t.dateDiffObject = function(e, n) { if (m.isList(e) || m.isList(n)) { for (var r = m.toNullableDateTimeList(e), i = m.toNullableDateTimeList(n), o = null != r ? r.toList() : null, a = null != i ? i.toList() : null, s = null != o ? o.count2() : a.length, u = new f, l = 0; l < s; l++) { var c = null != o ? o[l] : null , h = null != a ? a[l] : null; u.add(t.dateDiff(c, h)) } return u } return t.dateDiff(v.tryToNullableDateTime(e), v.tryToNullableDateTime(n)) } , t.dateTime = function(t) { return m.isList(t) ? this.skipNulls(m.toList(t)).select(function(t) { return new i(t) }) : new i(t) } , t.dayOfYear = function(t) { if (null == t) return -1; return t.dayOfYear } , t.dayOfYearObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.dayOfYear) : t.dayOfYear(v.tryToNullableDateTime(e)) } , t.financialQuarter = function(t) { return null } , t.financialQuarterObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.financialQuarter) : t.financialQuarter(v.tryToNullableDateTime(e)) } , t.financialQuarterIndex = function(t) { if (null == t) return -1; return Math.ceil(t.month / 3 + 2) % 4 + 1 } , t.financialQuarterIndexObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.financialQuarterIndex) : t.financialQuarterIndex(v.tryToNullableDateTime(e)) } , t.hour = function(t) { if (null == t) return -1; return t.hour } , t.hourObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.hour) : t.hour(v.tryToNullableDateTime(e)) } , t.makeDate = function(t, e, n) { return void 0 === e && (e = 1), void 0 === n && (n = 1), null } , t.makeDateObject = function(t, e, n) { return void 0 === e && (e = null), void 0 === n && (n = null), null } , t.makeDateTime = function(t, e, n, r, i, o) { return void 0 === e && (e = 1), void 0 === n && (n = 1), void 0 === r && (r = 0), void 0 === i && (i = 0), void 0 === o && (o = 0), null } , t.makeDateTimeObject = function(t, e, n, r, i, o) { return void 0 === e && (e = null), void 0 === n && (n = null), void 0 === r && (r = null), void 0 === i && (i = null), void 0 === o && (o = null), null } , t.makeTime = function(t, e, n) { return void 0 === e && (e = 0), void 0 === n && (n = 0), null } , t.makeTimeObject = function(t, e, n) { return void 0 === e && (e = null), void 0 === n && (n = null), null } , t.minute = function(t) { if (null == t) return -1; return t.minute } , t.minuteObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.minute) : t.minute(v.tryToNullableDateTime(e)) } , t.now = function() { return d.now } , t.quarterName = function(t, n) { switch (void 0 === n && (n = !0), this.quarter(t)) { case e.StiQuarter.Q1: return n ? S.get("DatePickerRanges", "FirstQuarter") : "First Quarter"; case e.StiQuarter.Q2: return n ? S.get("DatePickerRanges", "SecondQuarter") : "Second Quarter"; case e.StiQuarter.Q3: return n ? S.get("DatePickerRanges", "ThirdQuarter") : "Third Quarter"; case e.StiQuarter.Q4: return n ? S.get("DatePickerRanges", "FourthQuarter") : "FourthQuarter"; default: return "" } } , t.quarterNameObject = function(t, e) { var n = this; return void 0 === e && (e = !0), m.isList(t) ? m.toNullableDateTimeList(t).select(function(t) { return n.quarterName(t, e) }) : this.quarterName(v.tryToNullableDateTime(t), e) } , t.quarter = function(n) { if (null == n) return null; return a.parse(e.StiQuarter, t.quarterIndex(n)) } , t.quarterObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.quarter) : t.quarter(v.tryToNullableDateTime(e)) } , t.quarterIndex = function(t) { if (null == t) return -1; return (t.month + 2) / 3 | 0 } , t.quarterIndexObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.quarterIndex) : t.quarterIndex(v.tryToNullableDateTime(e)) } , t.second = function(t) { if (null == t) return -1; return t.second } , t.secondObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.second) : t.second(v.tryToNullableDateTime(e)) } , t.time = function(t) { return m.isList(t) ? this.skipNulls(m.toList(t)).select(function(t) { return t.stimulsoft.is(d) ? t.timeOfDay : null }) : t.stimulsoft.is(d) ? t.timeOfDay : null } , t.year = function(t) { if (null == t) return -1; return t.year } , t.yearObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.year) : t.year(v.tryToNullableDateTime(e)) } , t.yearMonth = function(t) { if (null == t) return ""; return t.year + "-" + t.month } , t.yearMonthObject = function(e) { return m.isList(e) ? m.toNullableDateTimeList(e).select(t.yearMonth) : t.yearMonth(v.tryToNullableDateTime(e)) } , t.getDateDimensionFunctions = function() { return new f(["Year", "Quarter", "Month", "Day", "DateTime", "Time"]) } , t.localize = function(e) { switch (t.toLowerCase(e)) { 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 e } } , t.abs = function(t) { return Math.abs(t) } , t.absObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.abs) : t.abs(v.tryToNumber(e)) } , t.acos = function(t) { return Math.acos(t) } , t.acosObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.acos) : t.acos(v.tryToNumber(e)) } , t.asin = function(t) { return Math.asin(t) } , t.asinObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.asin) : t.asin(v.tryToNumber(e)) } , t.atan = function(t) { return Math.atan(t) } , t.atanObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.atan) : t.atan(v.tryToNumber(e)) } , t.ceiling = function(t) { return Math.ceil(t) } , t.ceilingObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.ceiling) : t.ceiling(v.tryToNumber(e)) } , t.cos = function(t) { return Math.cos(t) } , t.cosObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.cos) : t.cos(v.tryToNumber(e)) } , t.div = function(t, e, n) { if (void 0 === n && (n = null), 0 == e) return n; return Math.trunc(t / e) } , t.divObject = function(e, n, r) { void 0 === r && (r = null); var i = v.tryToNumber(e) , o = v.tryToNumber(n) , a = v.tryToNullableNumber(r); return t.div(i, o, a) } , t.exp = function(t) { return Math.exp(t) } , t.expObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.exp) : t.exp(v.tryToNumber(e)) } , t.floor = function(t) { return Math.floor(t) } , t.floorObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.floor) : t.floor(v.tryToNumber(e)) } , t.log = function(t) { return Math.log(t) } , t.logObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.log) : t.log(v.tryToNumber(e)) } , t.round = function(t) { return Math.round(t) } , t.roundObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.round) : t.round(v.tryToNumber(e)) } , t.sign = function(t) { return Math.sign(t) } , t.signObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.sign) : t.sign(v.tryToNumber(e)) } , t.sin = function(t) { return Math.sin(t) } , t.sinObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.sin) : t.sin(v.tryToNumber(e)) } , t.sqrt = function(t) { return Math.sqrt(t) } , t.sqrtObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.sqrt) : t.sqrt(v.tryToNumber(e)) } , t.tan = function(t) { return Math.tan(t) } , t.tanObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.tan) : t.tan(v.tryToNumber(e)) } , t.truncate = function(t) { return Math.trunc(t) } , t.truncateObject = function(e) { return m.isList(e) ? m.toNumberList(e).select(t.truncate) : t.truncate(v.tryToNumber(e)) } , t.isMeasureFunction = function(e) { var n = h.getFunction(e); if (null == n) return !1; return n = t.toLowerCase(n), t.getMeasureFunctions().any(function(e) { return t.toLowerCase(e) == n }) } , t.getMeasureFunctions = function() { return t.getAggregateMeasureFunctions().concat(t.getCommonMeasureFunctions()).distinct() } , t.getAggregateMeasureFunctions = function() { return new f(["Sum", "Avg", "Min", "Max", "DistinctCount", "Count", "Median"]) } , t.getCommonMeasureFunctions = function() { return new f(["First", "Last", "Count", "DistinctCount"]) } , t.calculate = function(e, n) { switch (t.toLowerCase(e)) { case "all": return t.all(n); case "avg": case "avgd": case "avgi": return t.avg(n); case "avgdate": return t.avgDate(n); case "avgtime": return t.avgTime(n); case "count": return t.count(n); case "distinctcount": return t.distinctCount(n); case "first": return t.first(n); case "last": return t.last(n); case "max": case "maxd": case "maxi": return t.max(n); case "maxdate": return t.maxDate(n); case "maxtime": return t.maxTime(n); case "maxstr": return t.maxStr(n); case "median": case "mediand": case "mediani": return t.median(n); case "min": case "mind": case "mini": return t.min(n); case "mindate": return t.minDate(n); case "mintime": return t.minTime(n); case "minstr": return t.minStr(n); case "mode": case "moded": case "modei": return t.mode(n); case "sum": case "sumd": case "sumi": return t.sum(n); case "sumtime": return t.sumTime(n); case "sumdistinct": return t.sumDistinct(n); default: throw new u(e) } } , t.getIso2ConvertedValues = function(t) { if (n.isNullOrWhiteSpace(t)) return null; return this.iso2Cache.contains(t) ? this.iso2Cache.get(t) : new f([t]) } , t.iso2 = function(t, e) { if (void 0 === e && (e = null), null == t) return ""; var n = r.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper"); if (null == n) return t; var i = n.getIsoAlpha2FromName(t, e) , o = null != i ? i : t , a = this.iso2Cache.contains(o) ? this.iso2Cache.get(o) : null; return null == a ? (a = new f([t]), this.iso2Cache.set(o, a)) : a.contains(t) || a.add(t), o } , t.iso2Object = function(e, n) { return void 0 === n && (n = null), m.isList(e) ? m.toStringList(e).select(function(e) { return t.iso2(e, n) }) : this.iso2(v.tryToString(e), n) } , t.iso2ToName = function(t, e) { void 0 === e && (e = null); var n = r.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper"); if (null == n) return t; var i = n.getNameFromIsoAlpha2(t, e); return null != i ? i : t } , t.iso2ToNameObject = function(e, n) { return void 0 === n && (n = null), m.isList(e) ? m.toStringList(e).select(function(e) { return t.iso2ToName(e, n) }) : this.iso2ToName(v.tryToString(e), n) } , t.iso3 = function(t, e) { if (void 0 === e && (e = null), null == t) return ""; var n = r.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper"); if (null == n) return t; var i = n.getIsoAlpha3FromName(t, e); return null != i ? i : t } , t.iso3Object = function(e, n) { return void 0 === n && (n = null), m.isList(e) ? m.toStringList(e).select(function(e) { return t.iso3(e, n) }) : this.iso3(v.tryToString(e), n) } , t.iso3ToName = function(t, e) { void 0 === e && (e = null); var n = r.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper"); if (null == n) return t; var i = n.getNameFromIsoAlpha3(t, e); return null != i ? i : t } , t.iso3ToNameObject = function(e, n) { return void 0 === n && (n = null), m.isList(e) ? m.toStringList(e).select(function(e) { return t.iso3ToName(e, n) }) : this.iso3ToName(v.tryToString(e), n) } , t.normalizeName = function(t, e) { void 0 === e && (e = null); var n = r.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper"); if (null == n) return t; return n.normalizeName(t, e) } , t.normalizeNameObject = function(e, n) { return void 0 === n && (n = null), m.isList(e) ? m.toStringList(e).select(function(e) { return t.normalizeName(e, n) }) : this.normalizeName(v.tryToString(e), n) } , t.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) } , t.insertObject = function(e, n, r) { return m.isList(e) ? m.toStringList(e).select(function(e) { return t.insert(e, n, r) }) : t.insert(v.tryToString(e), n, r) } , t.isDataEqual = function(e, n, r) { if (t.toDataName(n) == t.toDataName(r)) return !0; if (!r.stimulsoft.contains(".")) return !1; return t.toDataName(e.getName() + "." + n) == r } , t.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) } , t.leftObject = function(e, n) { return void 0 === n && (n = -1), m.isList(e) ? m.toStringList(e).select(function(e) { return t.left(e, n) }) : t.left(v.tryToString(e), n) } , t.length2 = function(t) { return null == t ? 0 : t.length } , t.lengthObject = function(e) { return m.isList(e) ? m.toStringList(e).select(t.length2).cast() : t.length2(v.tryToString(e)) } , t.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) } , t.removeObject = function(e, n, r) { return m.isList(e) ? m.toStringList(e).select(function(e) { return t.remove(e, n, r) }) : t.remove(v.tryToString(e), n, r) } , t.replace = function(t, e, n) { if (null == t) return null; if (null == e) return t; return null == n && (n = ""), t.stimulsoft.replaceAll(e, n) } , t.replaceObject = function(e, n, r) { return m.isList(e) ? m.toStringList(e).select(function(e) { return t.replace(e, n, r) }) : t.replace(v.tryToString(e), n, r) } , t.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) } , t.rightObject = function(e, n) { return void 0 === n && (n = -1), m.isList(e) ? m.toStringList(e).select(function(e) { return t.right(e, n) }) : t.right(v.tryToString(e), n) } , t.toDataName = function(e) { if (null == e) return null; if (t.toDataNameCache.contains(e)) return t.toDataNameCache.get(e); var n = e.toLowerCase().stimulsoft.replaceAll(" ", ""); return n.stimulsoft.startsWith("[") && (n = n.substring(1)), n.stimulsoft.endsWith("]") && (n = n.substring(0, n.length - 1)), t.toDataNameCache.add(e, n), n } , t.toExpression = function(e) { return t.toExpression2(e, null) } , t.toExpression2 = function(t, e) { if (null == t) return null; if (0 == t.length) return ""; if (!n.isNullOrEmpty(e)) { if (t.split("").toList().any(function(t) { return !(p.isLetterOrDigit(t) || "_" == t) }) || e.split("").toList().any(function(t) { return !(p.isLetterOrDigit(t) || "_" == t) }) || p.isDigit(t[0]) || p.isDigit(e[0])) return "[" + t + "." + e + "]"; return t + "." + e } if (t.split("").toList().any(function(t) { return !(p.isLetterOrDigit(t) || "." == t || "_" == t) }) || p.isDigit(t[0])) return "[" + t + "]"; return t } , t.toLowerCase = function(e) { if (null == e) return null; if (t.toLowerCaseCache.contains(e)) return t.toLowerCaseCache.get(e); var n = e.toLowerCase(); return t.toLowerCaseCache.add(e, n), n } , t.toLowerCaseObject = function(e) { return m.isList(e) ? m.toStringList(e).select(t.toLowerCase) : t.toLowerCase(v.tryToString(e)) } , t.toProperCase = function(e) { if (null == e) return null; if (t.toProperCaseCache.contains(e)) return t.toProperCaseCache.get(e); var n = l.InvariantCulture.textInfo.toTitleCase(e.toLowerCase()); return t.toProperCaseCache.add(e, n), n } , t.toProperCaseObject = function(e) { return m.isList(e) ? m.toStringList(e).select(t.toProperCase) : t.toProperCase(v.tryToString(e)) } , t.toString = function(t) { return null == t ? "" : t.Funcs.toString() } , t.toStringObject = function(e) { return m.isList(e) ? m.toList(e).select(t.toString) : t.toString(e) } , t.toUpperCase = function(e) { if (null == e) return null; if (t.toUpperCaseCache.contains(e)) return t.toUpperCaseCache.get(e); var n = e.toUpperCase(); return t.toUpperCaseCache.add(e, n), n } , t.toUpperCaseObject = function(e) { return m.isList(e) ? m.toStringList(e).select(t.toUpperCase) : t.toUpperCase(v.tryToString(e)) } , t.trim = function(t) { return null != t ? t.trim() : null } , t.trimObject = function(e) { return m.isList(e) ? m.toStringList(e).select(t.trim) : t.trim(v.tryToString(e)) } , t.trimStart = function(t) { return null != t ? t.stimulsoft.trimStart() : null } , t.trimStartObject = function(e) { return m.isList(e) ? m.toStringList(e).select(t.trimStart) : t.trimStart(v.tryToString(e)) } , t.trimEnd = function(t) { return null != t ? t.stimulsoft.trimEnd() : null } , t.trimEndObject = function(e) { return m.isList(e) ? m.toStringList(e).select(t.trimEnd) : t.trimEnd(v.tryToString(e)) } , t.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) } , t.substringObject = function(e, n, r) { return void 0 === r && (r = -1), m.isList(e) ? m.toStringList(e).select(function(e) { return t.substring(e, n, r) }) : t.substring(v.tryToString(e), n, r) } , t.existsCustomFunction = function(t) { return this.getCustomFunctions(t).any() } , t.getCustomFunctions = function(t) { var e = s.getFunctions2(t, !0, !1); if (null != e) return e.toList(); return new f } , t.getCustomFunction = function(t, e) { return this.getCustomFunctions(t).firstOrDefault() } , t.invokeCustomFunction = function(t, e) { var n = this.getCustomFunctions(t); if (1 == n.count2()) return n.firstOrDefault().invoke(e); var r = this.getCustomFunction(t, e.select(function(t) { return null != t ? t.getType() : null })); if (null == r) throw new u(t); return r.invoke(e) } , t.skipNulls = function(t) { return t && t.where(function(t) { return null != t }) } , t.optionalSkipNulls = function(e) { return b.allowNulls ? e : t.skipNulls(e) } , t.iso2Cache = new c, t.toProperCaseCache = new c, t.toLowerCaseCache = new c, t.toUpperCaseCache = new c, t.toDataNameCache = new c, t }(); e.Funcs = T }(n = e.Functions || (e.Functions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.TimeSpan , i = t.Data.Exceptions.StiArgumentNotFoundException , o = t.Data.Exceptions.StiFunctionNotFoundException , a = t.Data.Exceptions.StiArgumentCountException , s = t.Data.Functions.Funcs , u = t.Base.Meters.IStiDimensionMeter , l = t.System.Collections.Dictionary , c = t.System.DateTime , h = t.Base.Helpers.StiValueHelper , p = function() { function t(t, e, n) { this.nameToIndex = new l, this.nameToValue = new l, this.nameToVariable = new l, this.dictionary = t, this.table = e, this.meters = n } return t.prototype.runFunction = function(e, n) { switch (s.toLowerCase(e)) { case "all": return n.parameters.length > 0 ? s.all(t.getDataColumnFromArg0(e, n)) : null; case "avg": return s.avg(t.getDataColumnFromArg0(e, n)); case "avgd": return s.avg(t.getDataColumnFromArg0(e, n)); case "avgi": return s.avg(t.getDataColumnFromArg0(e, n)); case "avgdate": return s.avgDate(t.getDataColumnFromArg0(e, n)); case "avgtime": return s.avgTime(t.getDataColumnFromArg0(e, n)); case "count": return n.parameters.length > 0 ? s.count(t.getDataColumnFromArg0(e, n)) : 0; case "countif": return n.parameters.length > 0 ? s.countIf(t.getDataColumnFromArg0(e, n), t.getObjectFromArg1("condition", e, n)) : 0; case "distinct": return n.parameters.length > 0 ? s.distinct(t.getDataColumnFromArg0(e, n)) : 0; case "distinctcount": return n.parameters.length > 0 ? s.distinctCount(t.getDataColumnFromArg0(e, n)) : 0; case "distinctcountif": return n.parameters.length > 0 ? s.distinctCountIf(t.getDataColumnFromArg0(e, n), t.getObjectFromArg1("condition", e, n)) : 0; case "grandtotal": if (n.parameters.length > 0) { this.isGrandTotal = !0; var i = s.sum(t.getDataColumnFromArg0(e, n)); return this.isGrandTotal = !1, i } return 0; case "first": return n.parameters.length > 0 ? s.first(t.getDataColumnFromArg0(e, n)) : null; case "last": return n.parameters.length > 0 ? s.last(t.getDataColumnFromArg0(e, n)) : null; case "median": return s.median(t.getDataColumnFromArg0(e, n)); case "max": return n.parameters.length > 0 ? s.max(t.getDataColumnFromArg0(e, n)) : 0; case "maxd": return n.parameters.length > 0 ? s.maxD(t.getDataColumnFromArg0(e, n)) : 0; case "maxi": return n.parameters.length > 0 ? s.maxI(t.getDataColumnFromArg0(e, n)) : 0; case "maxdate": return n.parameters.length > 0 ? s.maxDate(t.getDataColumnFromArg0(e, n)) : null; case "maxtime": return n.parameters.length > 0 ? s.maxTime(t.getDataColumnFromArg0(e, n)) : null; case "maxstr": return n.parameters.length > 0 ? s.maxStr(t.getDataColumnFromArg0(e, n)) : null; case "min": return n.parameters.length > 0 ? s.min(t.getDataColumnFromArg0(e, n)) : 0; case "mind": return n.parameters.length > 0 ? s.min(t.getDataColumnFromArg0(e, n)) : 0; case "mini": return n.parameters.length > 0 ? s.min(t.getDataColumnFromArg0(e, n)) : 0; case "mindate": return n.parameters.length > 0 ? s.minDate(t.getDataColumnFromArg0(e, n)) : null; case "minmaxdatestring": return n.parameters.length > 0 ? s.minMaxDateString(t.getDataColumnFromArg0(e, n)) : null; case "mintime": return n.parameters.length > 0 ? s.minTime(t.getDataColumnFromArg0(e, n)) : null; case "minstr": return n.parameters.length > 0 ? s.minStr(t.getDataColumnFromArg0(e, n)) : null; case "sum": return n.parameters.length > 0 ? s.sum(t.getDataColumnFromArg0(e, n)) : 0; case "sumd": return n.parameters.length > 0 ? s.sumD(t.getDataColumnFromArg0(e, n)) : 0; case "sumi": return n.parameters.length > 0 ? s.sumI(t.getDataColumnFromArg0(e, n)) : 0; case "sumdistinct": return n.parameters.length > 0 ? s.sumDistinct(t.getDataColumnFromArg0(e, n)) : 0; case "sumtime": return n.parameters.length > 0 ? s.sumTime(t.getDataColumnFromArg0(e, n)) : new r; case "sumif": return n.parameters.length > 0 ? s.sumIf(t.getDataColumnFromArg0(e, n), t.getObjectFromArg1("condition", e, n)) : 0; case "sumdif": return n.parameters.length > 0 ? s.sumDIf(t.getDataColumnFromArg0(e, n), t.getObjectFromArg1("condition", e, n)) : 0; case "sumiif": return n.parameters.length > 0 ? s.sumIIf(t.getDataColumnFromArg0(e, n), t.getObjectFromArg1("condition", e, n)) : 0; case "sumdistinctif": return n.parameters.length > 0 ? s.sumDistinctIf(t.getDataColumnFromArg0(e, n), t.getObjectFromArg1("condition", e, n)) : 0; case "sumtimeif": return n.parameters.length > 0 ? s.sumTimeIf(t.getDataColumnFromArg0(e, n), t.getObjectFromArg1("condition", e, n)) : 0; case "addmonths": var u = t.getObjectFromArg(0, "date", e, n) , l = h.tryToNumber(t.getObjectFromArg(1, "months", e, n)); return s.addMonthsObject(u, l); case "addyear": var u = t.getObjectFromArg(0, "date", e, n) , l = h.tryToNumber(t.getObjectFromArg(1, "years", e, n)); return s.addYearsObject(u, l); case "datediff": return s.dateDiffObject(t.getObjectFromArg0("date1", e, n), t.getObjectFromArg1("date2", e, n)); case "datetime": return n.parameters.length > 0 ? s.dateTime(t.getDataColumnFromArg0(e, n)) : null; case "day": return s.dayObject(t.getObjectFromArg0("date", e, n)); case "daysinmonth": return 1 == n.parameters.length ? s.daysInMonthObject2(t.getObjectFromArg0("date", e, n)) : s.daysInMonthObject(t.getObjectFromArg0("year", e, n), t.getObjectFromArg1("month", e, n)); case "daysinyear": var p = t.getObjectFromArg0("value", e, n); return p.stimulsoft.is(c) ? s.daysInYearObject(p) : s.daysInYearObject(h.tryToNumber(p)); case "dayofweek": var u = t.getObjectFromArg0("date", e, n); if (1 == n.parameters.length) return s.dayOfWeekObject(u); if (2 == n.parameters.length) { var l = t.getObjectFromArg1("localized", e, n); return l.stimulsoft.is(Boolean) ? s.dayOfWeekObject2(u, l) : s.dayOfWeekObject2(u, l.toString()) } if (3 == n.parameters.length) { var l = t.getObjectFromArg1("culture", e, n) , f = t.getObjectFromArg2("upperCase", e, n); return s.dayOfWeekObject4(u, l.toString(), f.stimulsoft.is(Boolean) && f) } throw new a(e); case "dayofweekident": return s.dayOfWeekIdentObject(t.getObjectFromArg0("date", e, n)); case "dayofweekindex": return s.dayOfWeekIndexObject(t.getObjectFromArg0("date", e, n)); case "dayofyear": return s.dayOfYearObject(t.getObjectFromArg0("date", e, n)); case "financialquarter": return s.financialQuarterObject(t.getObjectFromArg0("date", e, n)); case "financialquarterindex": return s.financialQuarterIndexObject(t.getObjectFromArg0("date", e, n)); case "hour": return s.hourObject(t.getObjectFromArg0("date", e, n)); case "makedate": case "dateserial": var u = t.getObjectFromArg(0, "year", e, n) , l = t.getObjectFromArg(1, "months", e, n) , f = t.getObjectFromArg(2, "day", e, n); return s.makeDateObject(u, l, f); case "makedatetime": var u = t.getObjectFromArg(0, "year", e, n) , l = t.getObjectFromArg(1, "months", e, n) , f = t.getObjectFromArg(2, "day", e, n) , m = t.getObjectFromArg(3, "hour", e, n) , d = t.getObjectFromArg(4, "minute", e, n) , y = t.getObjectFromArg(5, "second", e, n); return s.makeDateTimeObject(u, l, f, m, d, y); case "maketime": case "timeserial": var u = t.getObjectFromArg(0, "hour", e, n) , l = t.getObjectFromArg(1, "minute", e, n) , f = t.getObjectFromArg(2, "second", e, n); return s.makeTimeObject(u, l, f); case "minute": return s.minuteObject(t.getObjectFromArg0("date", e, n)); case "month": return s.monthObject(t.getObjectFromArg0("date", e, n)); case "monthident": return s.monthIdentObject(t.getObjectFromArg0("date", e, n)); case "monthname": var u = t.getObjectFromArg0("date", e, n); if (1 == n.parameters.length) return s.monthNameObject(u); if (2 == n.parameters.length) { var l = t.getObjectFromArg1("localized", e, n); return l.stimulsoft.is(Boolean) ? s.monthNameObject2(u, l) : s.monthNameObject2(u, l.toString()) } if (3 == n.parameters.length) { var l = t.getObjectFromArg1("culture", e, n) , f = t.getObjectFromArg2("upperCase", e, n); return s.monthNameObject4(u, l.toString(), f.stimulsoft.is(Boolean) && f) } throw new a(e); case "now": return s.now(); case "quarter": return s.quarterObject(t.getObjectFromArg0("date", e, n)); case "quarterindex": return s.quarterIndexObject(t.getObjectFromArg0("date", e, n)); case "quartername": var u = t.getObjectFromArg0("date", e, n); if (1 == n.parameters.length) return s.quarterNameObject(u, !1); if (2 == n.parameters.length) { var l = t.getObjectFromArg1("localized", e, n); return l.stimulsoft.is(Boolean) ? s.quarterNameObject(u, l) : s.quarterNameObject(u) } throw new a(e); case "second": return s.secondObject(t.getObjectFromArg0("date", e, n)); case "time": return n.parameters.length > 0 ? s.time(t.getDataColumnFromArg0(e, n)) : null; case "year": return s.yearObject(t.getObjectFromArg0("date", e, n)); case "yearmonth": return s.yearMonthObject(t.getObjectFromArg0("date", e, n)); case "insert": var u = t.getObjectFromArg0("str", e, n) , l = h.tryToNumber(t.getObjectFromArg(1, "startIndex", e, n)) , f = h.tryToString(t.getObjectFromArg(2, "value", e, n)); return s.insertObject(u, l, f); case "iso2": var u = t.getObjectFromArg0("name", e, n) , l = n.parameters.length > 1 ? h.tryToString(t.getObjectFromArg(1, "mapId", e, n)) : null; return s.iso2Object(u, l); case "iso2toname": var u = t.getObjectFromArg0("alpha2", e, n) , l = n.parameters.length > 1 ? h.tryToString(t.getObjectFromArg(1, "mapId", e, n)) : null; return s.iso2ToNameObject(u, l); case "iso3": var u = t.getObjectFromArg0("name", e, n) , l = n.parameters.length > 1 ? h.tryToString(t.getObjectFromArg(1, "mapId", e, n)) : null; return s.iso3Object(u, l); case "iso3toname": var u = t.getObjectFromArg0("alpha2", e, n) , l = n.parameters.length > 1 ? h.tryToString(t.getObjectFromArg(1, "mapId", e, n)) : null; return s.iso3ToNameObject(u, l); case "left": var u = t.getObjectFromArg0("str", e, n) , l = h.tryToNumber(t.getObjectFromArg(1, "length", e, n)); return s.leftObject(u, l); case "length": return s.lengthObject(t.getObjectFromArg0("str", e, n)); case "normalizename": var u = t.getObjectFromArg0("name", e, n) , l = n.parameters.length > 1 ? h.tryToString(t.getObjectFromArg(1, "mapId", e, n)) : null; return s.normalizeNameObject(u, l); case "remove": var u = t.getObjectFromArg0("str", e, n) , l = h.tryToNumber(t.getObjectFromArg(1, "startIndex", e, n)) , f = h.tryToNumber(t.getObjectFromArg(2, "count", e, n)); return s.removeObject(u, l, f); case "replace": var u = t.getObjectFromArg0("str", e, n) , l = h.tryToString(t.getObjectFromArg(1, "oldValue", e, n)) , f = h.tryToString(t.getObjectFromArg(2, "newValue", e, n)); return s.replaceObject(u, l, f); case "right": var u = t.getObjectFromArg0("str", e, n) , l = h.tryToNumber(t.getObjectFromArg(1, "length", e, n)); return s.rightObject(u, l); case "topropercase": return s.toProperCaseObject(t.getObjectFromArg0("str", e, n)); case "tolowercase": return s.toLowerCaseObject(t.getObjectFromArg0("str", e, n)); case "tostring": return s.toStringObject(t.getObjectFromArg0("value", e, n)); case "touppercase": return s.toUpperCaseObject(t.getObjectFromArg0("str", e, n)); case "substring": var u = t.getObjectFromArg0("str", e, n) , l = h.tryToNumber(t.getObjectFromArg(1, "index", e, n)) , f = n.parameters.length > 2 ? h.tryToNumber(t.getObjectFromArg(2, "length", e, n)) : -1; return s.substringObject(u, l, f); case "trim": return s.trimObject(t.getObjectFromArg0("str", e, n)); case "trimstart": return s.trimStartObject(t.getObjectFromArg0("str", e, n)); case "trimend": return s.trimEndObject(t.getObjectFromArg0("str", e, n)); case "array": return n.parameters.select(function(t) { return t.evaluate() }).toArray(); case "list": return n.parameters.select(function(t) { return t.evaluate() }).toList(); case "iif": var v = t.getObjectFromArg0("condition", e, n); return h.tryToBool(v) ? t.getObjectFromArg1("truePart", e, n) : t.getObjectFromArg2("falsePart", e, n); case "choose": var g = t.getObjectFromArg0("index", e, n) , b = h.tryToNumber(g) , S = n.parameters.skip(1).select(function(t) { return t.evaluate() }).toList(); if (0 == S.length) return null; if (b < 1 || b > S.length) return null; return S[b - 1]; case "switch": for (var S = n.parameters.select(function(t) { return t.evaluate() }).toList(), b = 0; b < S.length; b += 2) { var v = S[b] , p = S[b + 1]; if (v.stimulsoft.is(Boolean) && 1 == v) return p; if (v.stimulsoft.is(Boolean) && 1 == v) return p } return null; case "abs": return s.absObject(t.getObjectFromArg0("value", e, n)); case "acos": return s.acosObject(t.getObjectFromArg0("value", e, n)); case "asin": return s.asinObject(t.getObjectFromArg0("value", e, n)); case "atan": return s.atanObject(t.getObjectFromArg0("value", e, n)); case "ceiling": return s.ceilingObject(t.getObjectFromArg0("value", e, n)); case "cos": return s.cosObject(t.getObjectFromArg0("value", e, n)); case "div": return s.divObject(t.getObjectFromArg(0, "value1", e, n), t.getObjectFromArg(1, "value2", e, n), t.getObjectFromArg(2, "zeroResult", e, n)); case "exp": return s.expObject(t.getObjectFromArg0("value", e, n)); case "floor": return s.floorObject(t.getObjectFromArg0("value", e, n)); case "log": return s.logObject(t.getObjectFromArg0("value", e, n)); case "round": return s.roundObject(t.getObjectFromArg0("value", e, n)); case "sign": return s.signObject(t.getObjectFromArg0("value", e, n)); case "sin": return s.sinObject(t.getObjectFromArg0("value", e, n)); case "sqrt": return s.sqrtObject(t.getObjectFromArg0("value", e, n)); case "tan": return s.tanObject(t.getObjectFromArg0("value", e, n)); case "truncate": return s.truncateObject(t.getObjectFromArg0("value", e, n)); default: throw s.existsCustomFunction(e) && s.invokeCustomFunction(e, t.evaluateArgs(n)), new o(e) } } , t.prototype.getVariableValue = function(t) { var e; if (n.isNullOrWhiteSpace(t)) return null; if (this.nameToValue.keys.contains(t)) return this.nameToValue.get(t); var r = null === (e = this.dictionary) || void 0 === e ? void 0 : e.getVariableValueByName(t); return this.nameToValue.set(t, r), r } , t.prototype.isVariable = function(t) { var e; if (n.isNullOrWhiteSpace(t)) return !1; if (this.nameToVariable.keys.contains(t)) return !0; var r = null === (e = this.dictionary) || void 0 === e ? void 0 : e.getVariableValueByName(t); return null != r && (this.nameToValue.set(t, r), !0) } , t.prototype.isSystemVariable = function(t) { return this.dictionary.isSystemVariable(t) } , t.prototype.getSystemVariableValue = function(t) { return this.dictionary.getSystemVariableValue(t) } , t.getObjectFromArg = function(t, e, n, r) { if (t >= r.parameters.length) throw new i(n,e); return r.parameters[t].evaluate() } , t.evaluateArgs = function(t) { return t.parameters.toList().select(function(t) { return t.evaluate() }) } , t.getObjectFromArg0 = function(e, n, r) { return t.getObjectFromArg(0, e, n, r) } , t.getObjectFromArg1 = function(e, n, r) { return t.getObjectFromArg(1, e, n, r) } , t.getObjectFromArg2 = function(e, n, r) { return t.getObjectFromArg(2, e, n, r) } , t.getDataColumnFromArg0 = function(e, n) { return t.getObjectFromArg0("dataColumn", e, n) } , t.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 = s.toDataName(t) , r = this.table.columns.toList().cast().firstOrDefault(function(t) { return e.dataEqual(t, n) }); if (null == r) return -1; var i = this.table.columns.indexOf(r); if (-1 == i) return -1; return this.nameToIndex.add(t, i), i } , t.prototype.dataEqual = function(t, e) { var n = s.toDataName(t.columnName); if (!e.stimulsoft.contains(".")) return !1; return n == e } , t.prototype.getDimensionIndex = function(t) { return this.meters.where(function(t) { return t.stimulsoft.is(u) }).indexOf(t) } , t }(); e.StiDataParser = p }(n = e.Parsers || (e.Parsers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.Exception , i = t.Data.Types.DateTimeValue , o = t.Data.Types.SimpleValue , a = t.Data.Helpers.StiExpressionHelper , s = t.Data.Functions.Funcs , u = t.Base.Meters.IStiDimensionMeter , l = t.Base.Meters.IStiMeasureMeter , c = t.System.Collections.Dictionary , h = function(t) { function h(e, n, r, i) { var o = t.call(this, e, n, r) || this; return o.queryToExpression = new c, o.expressionToPair = new c, o.grandRows = i, o } return __extends(h, t), h.prototype.calculate = function() { var t = this; return this.grandRows.select(function(e) { return t.meters.select(function(n) { return t.calculateMeter(n, e.key, e) }, t) }, this) } , h.prototype.calculateMeter = function(t, e, n) { void 0 === e && (e = null), void 0 === n && (n = null); var i = t.stimulsoft.as(u); if (null != i) return this.calculateDimension(i, e); var o = t.stimulsoft.as(l); if (null != o) { var a = this.getMeasureColumn(o); return null == a ? this.calculateMeasureExpression(o, n) : this.calculateMeasureFunction(a.function, a.columnName, n) } throw new r("NotSupportedException") } , h.prototype.calculateDimension = function(t, e) { var n = this.getDimensionIndex(t); if (-1 == n) return null; var r = e && e[n]; return null != r && r.stimulsoft.is(o) ? r = r.value : null != r && r.stimulsoft.is(i) && (r = r.value), r } , h.prototype.calculateMeasureFunction = function(t, e, n) { var r = this.getDataColumnIndex(e); if (-1 == r) return null; var i = n.select(function(t) { return t[r] }); return s.calculate(t, i) } , h.prototype.calculateMeasureExpression = function(t, e) { if (n.isNullOrWhiteSpace(t.expression)) return null; var r = this.getExpression(t.expression); return this.currentRows = e, r.evaluate() } , h.prototype.getMeasureColumn = function(t) { var r, i; if (null == this.table) return null; if (n.isNullOrWhiteSpace(t.expression)) return null; if (this.expressionToPair.contains(t.expression)) return this.expressionToPair.get(t.expression); var o = t.expression.trim().toLowerCase() , a = s.getMeasureFunctions() , u = this , l = function(n) { var r = s.toLowerCase(n) , i = u.table.columns.toList().cast().firstOrDefault(function(t) { return r + "(" + s.toLowerCase(t.columnName).trim() + ")" == o || r + "([" + s.toLowerCase(t.columnName).trim() + "])" == o }); if (null != i) { var a = new e.StiFunctionColumnPair; return a.function = n, a.columnName = i.columnName, u.expressionToPair.add(t.expression, a), { value: a } } }; try { for (var c = __values(a), h = c.next(); !h.done; h = c.next()) { var p = h.value , f = l(p); if ("object" == typeof f) return f.value } } catch (t) { r = { error: t } } finally { try { h && !h.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } return null } , h.prototype.getExpression = function(t) { if (this.queryToExpression.contains(t)) return this.queryToExpression.get(t); var e = a.newExpression(t) , n = this; return e.evaluateFunction = function(t, e) { return e.result = n.runFunction(t, e) } , e.evaluateParameter = function(t, e) { n.isSystemVariable(t) ? e.result = n.getSystemVariableValue(t) : n.isVariable(t) ? e.result = n.getVariableValue(t) : e.result = n.isGrandTotal ? n.grandRows.selectMany(function(e) { return e.select(function(e) { return n.getDataRowValue(t, e) }) }) : null != n.currentRows ? n.currentRows.select(function(e) { return n.getDataRowValue(t, e) }) : null } , this.queryToExpression.set(t, e), e } , h.prototype.getDataRowValue = function(t, e) { return -1 == this.getDataColumnIndex(t) ? null : e[this.getDataColumnIndex(t)] } , h }(e.StiDataParser); e.StiMeasureDataParser = h }(n = e.Parsers || (e.Parsers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.Data.Helpers.StiDateTimeCorrector , i = t.Data.Helpers.StiExpressionHelper , o = t.System.Collections.Dictionary , a = t.System.DateTime , s = t.Base.Meters.IStiDimensionMeter , u = t.Data.Functions.Funcs , l = function(t) { function e(e, n, r) { var i = t.call(this, e, n, r) || this; return i.queryToExpression = new o, i.expressionToColumn = new o, i.dimensions = r.where(function(t) { return t.stimulsoft.is(s) }).cast(), i } return __extends(e, t), e.prototype.calculate = function(t) { return this.currentRow = t, e.normalizeDates(this.dimensions.select(this.calculateDimension, this).toArray()) } , e.normalizeDates = function(t) { return t.toList().select(function(t) { return null != t && t.stimulsoft.is(a) ? r.correct(t) : t }).toArray() } , e.prototype.calculateDimension = function(t) { if (n.isNullOrWhiteSpace(t.expression)) return null; try { var e = this.getDimensionGroupColumn(t); return null == e ? this.calculateDimensionExpression(t) : this.calculateDimensionGroup(e) } catch (t) { return null } } , e.prototype.getDimensionGroupColumn = function(t) { if (null == this.table) return null; if (n.isNullOrWhiteSpace(t.expression)) return null; if (this.expressionToColumn.contains(t.expression)) return this.expressionToColumn.get(t.expression); var e = u.toDataName(t.expression) , r = this.table.columns.toList().cast().firstOrDefault(function(t) { return u.toDataName(t.columnName) == e }) , i = null != r ? r.columnName : null; return this.expressionToColumn.add(t.expression, null != i ? i : null), i } , e.prototype.calculateDimensionExpression = function(t) { var e = this.getExpression(t.expression); if (null == e) return null; return e.evaluate() } , e.prototype.calculateDimensionGroup = function(t) { var e = this.getDataColumnIndex(t) , n = this.currentRow[e]; return this.normalizeEnum(n, e) } , e.prototype.normalizeEnum = function(t, e) { return t } , e.prototype.getExpression = function(t) { if (this.queryToExpression.contains(t)) return this.queryToExpression.get(t); var e = i.newExpression(t) , n = this; return e.evaluateFunction = function(t, e) { return e.result = n.runFunction(t, e) } , e.evaluateParameter = function(t, e) { if (n.isSystemVariable(t)) e.result = n.getSystemVariableValue(t); else if (n.isVariable(t)) e.result = n.getVariableValue(t); else { var r = n.getDataColumnIndex(t); r >= 0 && r < n.currentRow.length ? e.result = n.currentRow[r] : e.result = null } } , this.queryToExpression.set(t, e), e } , e }(e.StiDataParser); e.StiDimensionDataParser = l }(n = e.Parsers || (e.Parsers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Data.Extensions.ListExt , r = t.Data.Parsers.StiMeasureDataParser , i = t.Base.Meters.IStiMeasureMeter , o = t.Base.Meters.IStiDimensionMeter , a = t.Data.Parsers.StiDimensionDataParser , s = t.System.Collections.List , u = function() { function t() {} return t.create = function(t, r) { var i = this; try { var o = r.select(function(e) { return i.getData(t, e) }, this) , a = o.where(n.isList) , u = a.any() ? a.max(function(t) { return n.toList(t).count2() }) : 1; u = Math.max(1, u); for (var l = o.select(function(t) { return i.convert(t, u) }), c = r.count2(), h = new s, p = 0; p < u; p++) { for (var f = Array.create(Object, c), m = 0; m < c; m++) f[m] = l[m][p]; h.add(f) } return new e.StiDataTable(r,h) } catch (t) { return new e.StiDataTable(r,new s) } } , t.convert = function(t, e) { if (n.isList(t)) { var r = n.toList(t) , i = s.repeat(r.lastOrDefault(), e).toArray() , o = 0; return r.toList().forEach(function(t) { return i[o++] = t }), i } return s.repeat(t, e).toArray() } , t.getData = function(t, e) { if (e.stimulsoft.is(o)) return new a(t,null,new s([e])).calculate([null]).toList().firstOrDefault(); if (e.stimulsoft.is(i)) return new r(t,null,new s([e]),null).calculateMeter(e); return null } , t }(); e.StiDataCreator = u }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.Data.Helpers.StiExpressionHelper , i = t.Data.Functions.Funcs , o = t.System.Collections.List , a = t.System.Type , s = function() { function t() {} return t.getDataColumnFromExpression = function(t, e) { if (n.isNullOrWhiteSpace(e)) return null; e = r.removeFunction(e); var a = r.getArguments(e); if (null == a || 1 != a.count2()) return null; var s = a.firstOrDefault(); if (n.isNullOrWhiteSpace(s)) return null; s = i.toDataName(s); var u = t && t.getDataSources(new o([s])); if (null == u || !u.any()) return null; var l = u.first(); return l.fetchColumns().firstOrDefault(function(t) { return i.isDataEqual(l, t.getName(), s) }) } , t.isDateDataColumnInExpression = function(t, e) { var n = this.getDataColumnFromExpression(t, e); return null != n && null != n.getDataType() && a.isDateType(n.getDataType()) } , t.isNumericDataColumnInExpression = function(t, e) { var n = this.getDataColumnFromExpression(t, e); return null != n && null != n.getDataType() && a.isNumericType(n.getDataType()) } , t }(); e.StiDataExpressionHelper = s }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Type , r = t.System.Convert , i = t.System.DateTime , o = function() { function t(t) { this.convertStrings = t } return t.prototype.compare = function(t, e) { if (null == t && null == e) return 0; if (null == t) return 1; if (null == e) return -1; if (n.getType(t) == Number && n.getType(e) == Number) return r.toNumber(t).stimulsoft.compareTo(r.toNumber(e)); if (t.stimulsoft.is(String) && e.stimulsoft.is(String)) return t.stimulsoft.compareTo(e); if (t.stimulsoft.is(i) && e.stimulsoft.is(i)) return -t.compareTo(e); if (t.stimulsoft.is(String) && n.getType(e) == Number) return this.convertStrings ? r.toNumber(t).stimulsoft.compareTo(r.toNumber(e)) : -1; if (e.stimulsoft.is(String) && n.getType(t) == Number) return this.convertStrings ? r.toNumber(t).stimulsoft.compareTo(r.toNumber(e)) : 1; return 0 } , t }(); e.StiDataFilterComparer = o }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Base.Localization.StiLocalization , r = function() { function t() {} return t.convertStringToCondition = function(t) { if (t == n.get("PropertyEnum", "StiFilterConditionEqualTo")) return e.StiDataFilterCondition.EqualTo; if (t == n.get("PropertyEnum", "StiFilterConditionNotEqualTo")) return e.StiDataFilterCondition.NotEqualTo; if (t == n.get("PropertyEnum", "StiFilterConditionBetween")) return e.StiDataFilterCondition.Between; if (t == n.get("PropertyEnum", "StiFilterConditionNotBetween")) return e.StiDataFilterCondition.NotBetween; if (t == n.get("PropertyEnum", "StiFilterConditionGreaterThan")) return e.StiDataFilterCondition.GreaterThan; if (t == n.get("PropertyEnum", "StiFilterConditionGreaterThanOrEqualTo")) return e.StiDataFilterCondition.GreaterThanOrEqualTo; if (t == n.get("PropertyEnum", "StiFilterConditionLessThan")) return e.StiDataFilterCondition.LessThan; if (t == n.get("PropertyEnum", "StiFilterConditionLessThanOrEqualTo")) return e.StiDataFilterCondition.LessThanOrEqualTo; if (t == n.get("PropertyEnum", "StiFilterConditionContaining")) return e.StiDataFilterCondition.Containing; if (t == n.get("PropertyEnum", "StiFilterConditionNotContaining")) return e.StiDataFilterCondition.NotContaining; if (t == n.get("PropertyEnum", "StiFilterConditionBeginningWith")) return e.StiDataFilterCondition.BeginningWith; if (t == n.get("PropertyEnum", "StiFilterConditionEndingWith")) return e.StiDataFilterCondition.EndingWith; if (t == n.get("PropertyEnum", "StiFilterConditionIsNull")) return e.StiDataFilterCondition.IsNull; if (t == n.get("PropertyEnum", "StiFilterConditionIsNotNull")) return e.StiDataFilterCondition.IsNotNull; if (t == n.get("PropertyEnum", "StiFilterConditionIsBlank")) return e.StiDataFilterCondition.IsBlank; if (t == n.get("PropertyEnum", "StiFilterConditionIsNotBlank")) return e.StiDataFilterCondition.IsNotBlank; return e.StiDataFilterCondition.EqualTo } , t.convertConditionToString = function(t) { switch (t) { case e.StiDataFilterCondition.EqualTo: return n.get("PropertyEnum", "StiFilterConditionEqualTo"); case e.StiDataFilterCondition.NotEqualTo: return n.get("PropertyEnum", "StiFilterConditionNotEqualTo"); case e.StiDataFilterCondition.Between: return n.get("PropertyEnum", "StiFilterConditionBetween"); case e.StiDataFilterCondition.NotBetween: return n.get("PropertyEnum", "StiFilterConditionNotBetween"); case e.StiDataFilterCondition.GreaterThan: return n.get("PropertyEnum", "StiFilterConditionGreaterThan"); case e.StiDataFilterCondition.GreaterThanOrEqualTo: return n.get("PropertyEnum", "StiFilterConditionGreaterThanOrEqualTo"); case e.StiDataFilterCondition.LessThan: return n.get("PropertyEnum", "StiFilterConditionLessThan"); case e.StiDataFilterCondition.LessThanOrEqualTo: return n.get("PropertyEnum", "StiFilterConditionLessThanOrEqualTo"); case e.StiDataFilterCondition.Containing: return n.get("PropertyEnum", "StiFilterConditionContaining"); case e.StiDataFilterCondition.NotContaining: return n.get("PropertyEnum", "StiFilterConditionNotContaining"); case e.StiDataFilterCondition.BeginningWith: return n.get("PropertyEnum", "StiFilterConditionBeginningWith"); case e.StiDataFilterCondition.EndingWith: return n.get("PropertyEnum", "StiFilterConditionEndingWith"); case e.StiDataFilterCondition.IsNull: return n.get("PropertyEnum", "StiFilterConditionIsNull"); case e.StiDataFilterCondition.IsNotNull: return n.get("PropertyEnum", "StiFilterConditionIsNotNull"); case e.StiDataFilterCondition.IsBlank: return n.get("PropertyEnum", "StiFilterConditionIsBlank"); case e.StiDataFilterCondition.IsNotBlank: return n.get("PropertyEnum", "StiFilterConditionIsNotBlank") } return "" } , t }(); e.StiDataFilterHelper = r }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.StiNumber , i = t.System.DateTime , o = t.System.Collections.List , a = t.Base.Localization.StiLocalization , s = t.Base.StiJson , u = t.System.Enum , l = function(t) { function l(n, r, i, o, a, s, u) { void 0 === o && (o = null), void 0 === a && (a = null), void 0 === s && (s = !0), void 0 === u && (u = !1); var l = t.call(this) || this; return l.condition = e.StiDataFilterCondition.EqualTo, l.isEnabled = !0, l.isExpression = !1, null == i && (i = e.StiDataFilterCondition.EqualTo), l.key = n, l.path = r, l.condition = i, l.value = o, l.value2 = a, l.isEnabled = s, l.isExpression = u, l } return __extends(l, t), l.prototype.saveToJsonObject = function(t) { var n = new s; return n.addPropertyStringNullOrEmpty("Key", this.key), n.addPropertyStringNullOrEmpty("Path", this.path), n.addPropertyEnum("Condition", e.StiDataFilterCondition, this.condition, e.StiDataFilterCondition.EqualTo), n.addPropertyStringNullOrEmpty("Value", this.value), n.addPropertyStringNullOrEmpty("Value2", this.value2), n.addPropertyBool("IsEnabled", this.isEnabled, !0), n.addPropertyBool("IsExpression", this.isExpression), n } , l.prototype.loadFromJsonObject = function(t) { var n, r; try { for (var i = __values(t.properties()), o = i.next(); !o.done; o = i.next()) { var a = o.value; switch (a.name) { case "Key": this.key = a.value; break; case "Path": this.path = a.value; break; case "Condition": this.condition = u.parse(e.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) { n = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (n) throw n.error } } } , l.prototype.loadFromXml = function(t, n) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Key": this.key = i.textContent; break; case "Path": this.path = i.textContent; break; case "Condition": this.condition = u.parse(e.StiDataFilterCondition, i.textContent); break; case "Value": this.value = i.textContent; break; case "Value2": this.value2 = i.textContent; break; case "IsEnabled": this.isEnabled = i.textContent.stimulsoft.toBoolean(); break; case "IsExpression": this.isExpression = i.textContent.stimulsoft.toBoolean(); 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.path + " " + this.condition + " " + this.value } , l.prototype.getUniqueCode = function() { var t = null != this.key ? this.key.stimulsoft.getHashCode() : 0; return t = 397 * t ^ (null != this.path ? this.path.stimulsoft.getHashCode() : 0), t = 397 * t ^ this.condition.stimulsoft.getHashCode(), t = 397 * t ^ (null != this.value ? this.value.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this.value2 ? this.value2.stimulsoft.getHashCode() : 0), t = 397 * t ^ this.isEnabled.stimulsoft.getHashCode(), t = 397 * t ^ this.isExpression.stimulsoft.getHashCode(), Math.abs(t) } , l.prototype.toList = function() { return new o([this]) } , l.prototype.getStringRepresentation = function() { var t = this.path , r = this.getValue(this.value) , i = this.getValue(this.value2); switch (n.isNullOrWhiteSpace(t) && (t = "[" + a.get("PropertyMain", "Field") + "]"), n.isNullOrWhiteSpace(r) && (r = "[" + a.get("PropertyMain", "Value") + "]"), n.isNullOrWhiteSpace(i) && (i = "[" + a.get("PropertyMain", "Value") + "]"), this.condition) { case e.StiDataFilterCondition.IsBlank: return t + " " + a.get("PropertyEnum", "StiFilterConditionIsBlank") + " " + r; case e.StiDataFilterCondition.IsNotBlank: return t + " " + a.get("PropertyEnum", "StiFilterConditionIsNotBlank") + " " + r; case e.StiDataFilterCondition.IsNull: return t + " " + a.get("PropertyEnum", "StiFilterConditionIsNull") + " " + r; case e.StiDataFilterCondition.IsNotNull: return t + " " + a.get("PropertyEnum", "StiFilterConditionIsNotNull") + " " + r; case e.StiDataFilterCondition.Containing: return t + " " + a.get("PropertyEnum", "StiFilterConditionContaining") + " " + r; case e.StiDataFilterCondition.NotContaining: return t + " " + a.get("PropertyEnum", "StiFilterConditionNotContaining") + " " + r; case e.StiDataFilterCondition.EqualTo: return t + " = " + r; case e.StiDataFilterCondition.NotEqualTo: return t + " <> " + r; case e.StiDataFilterCondition.GreaterThan: return t + " > " + r; case e.StiDataFilterCondition.GreaterThanOrEqualTo: return t + " >= " + r; case e.StiDataFilterCondition.LessThan: return t + " < " + r; case e.StiDataFilterCondition.LessThanOrEqualTo: return t + " <= " + r; case e.StiDataFilterCondition.BeginningWith: return t + " " + a.get("PropertyEnum", "StiFilterConditionBeginningWith") + " " + r; case e.StiDataFilterCondition.EndingWith: return t + " " + a.get("PropertyEnum", "StiFilterConditionEndingWith") + " " + r; case e.StiDataFilterCondition.Between: return t + " " + a.get("PropertyEnum", "StiFilterConditionBetween") + " " + r + " " + a.get("PropertyEnum", "StiFilterModeAnd").toLowerCase() + " " + i; case e.StiDataFilterCondition.NotBetween: return t + " " + a.get("PropertyEnum", "StiFilterConditionNotBetween") + " " + r + " " + a.get("PropertyEnum", "StiFilterModeAnd").toLowerCase() + " " + i; default: return "" } } , l.prototype.getValue = function(t) { t = t || ""; var e = i.fromString2("MM/dd/yyyy", t); if (null != e) return "'" + e.toShortDateString() + "'"; var n = r.tryParse(t); if (n.successfully) return "" + n.result; if (null != t && ("true" == t.toLowerCase() || "false" == t.toLowerCase())) return t; return "'" + t + "'" } , l }(e.StiDataRule); e.StiDataFilterRule = l }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e) { return t.call(this, "'" + e + "' Is Not Recognized!") || this } return __extends(e, t), e }(t.StiDataException); t.StiTypeNotRecognizedException = e }(e = t.Exceptions || (t.Exceptions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.StiNumber , i = t.Base.Helpers.StiValueHelper , o = t.System.Globalization.CultureInfo , a = t.System.Enum , s = t.System.Type , u = t.Base.StiKeyHelper , l = t.Data.Helpers.StiExpressionHelper , c = t.Data.Exceptions.StiTypeNotRecognizedException , h = t.System.DateTime , p = function() { function t() {} return t.toList = function() { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; return t.toList() } , t.validate = function(t, e) { return t.where(function(t) { return u.isKey(t.key) && e.contains(t.key) }).toList() } , t.getDataTableFilterQuery = function(e, n, r) { return t.getDataTableFilterQuery2(e, n.select(function(t) { return t.getName() }).toList(), n.select(function(t) { return t.getDataType() }).toList(), r) } , t.getDataTableFilterQuery2 = function(r, i, o, a) { var s, u, l = this; if (null == r) return ""; var c = ""; r.any(function(t) { return t.condition == e.StiDataFilterCondition.IsFalse }) && (r = r.firstOrDefault(function(t) { return t.condition == e.StiDataFilterCondition.IsFalse }).toList()); var h = r.where(function(t) { return t.isEnabled && !n.isNullOrWhiteSpace(t.path) }).orderBy(function(t) { return null != i ? i.findIndex2(function(e) { return e == t.path }) : null }).groupBy(t.getFullPath) , p = function(t) { var e = r.where(function(e) { return e.isEnabled && l.getFullPath(e) == t.key }) , n = f.getFilterGroupQuery(e, i, o, a); n.length > 0 && (c.length > 0 && (c += " AND "), e.count2() > 1 && h.count2() > 1 && (c += "("), c = c += n, e.count2() > 1 && h.count2() > 1 && (c += ")")) } , f = this; try { for (var m = __values(h), d = m.next(); !d.done; d = m.next()) { p(d.value) } } catch (t) { s = { error: t } } finally { try { d && !d.done && (u = m.return) && u.call(m) } finally { if (s) throw s.error } } return c } , t.getFullPath = function(t) { return null == t.elementKey ? t.path : t.path + t.elementKey } , t.getFilterGroupQuery = function(t, n, r, i) { var o, s, u = this, c = "", h = t.where(function(t) { return u.getFilterOperation(t) == e.StiDataFilterOperation.OR }), p = t.where(function(t) { return u.getFilterOperation(t) == e.StiDataFilterOperation.AND }), f = !1; try { for (var m = __values(h.concat(p)), d = m.next(); !d.done; d = m.next()) { var y = d.value , v = null != n ? this.getColumnIndex(n, y) : 0 , g = this.getFilterOperation(y); c.length > 0 ? (f && g == e.StiDataFilterOperation.AND && (f = !1, c += ")"), c += " " + a.getName(e.StiDataFilterOperation, g) + " ") : g == e.StiDataFilterOperation.OR && p.any() && (f = !0, c += "("); var b = null != n && -1 != v ? n[v] : y.path , S = null != r && -1 != v ? r[v] : Object , T = this.getValue(S, y.value) , x = this.getValue(S, y.value2); T = y.isExpression ? l.parseReportExpression(i, T, !1) : y.value, x = y.isExpression ? l.parseReportExpression(i, x, !1) : y.value2; c = c += this.getCondition(b, y.condition, T, x, S) } } catch (t) { o = { error: t } } finally { try { d && !d.done && (s = m.return) && s.call(m) } finally { if (o) throw o.error } } return f && (c += ")"), c } , t.getValue = function(t, e) { if (t != Number) return 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 } } , t.getColumnIndex = function(t, e) { var n = e.path , r = t.indexOf(n); if (-1 != r) return r; if (t = t.select(function(t) { return t.stimulsoft.replaceAll(" ", "") }), -1 != (r = t.indexOf(n))) return r; return n.stimulsoft.startsWith("[") && (n = n.substring(1)), n.stimulsoft.endsWith("]") && (n = n.substring(0, n.length - 1)), t.indexOf(n) } , t.getCondition = function(t, n, r, i, o) { var a = e.StiDataColumnRuleHelper.getGoodColumnName(t); switch (n) { case e.StiDataFilterCondition.EqualTo: if (r = this.getQueryValue(r, o, !s.isDateType(o)), s.isDateType(o)) return "Convert(" + a + ", 'System.String') LIKE '" + r + "*'"; return a + " = " + r; case e.StiDataFilterCondition.NotEqualTo: if (r = this.getQueryValue(r, o, !s.isDateType(o)), s.isDateType(o)) return "NOT (Convert(" + a + ", 'System.String') LIKE '" + r + "*')"; return a + " <> " + r; case e.StiDataFilterCondition.GreaterThan: return r = this.getQueryValue(r, o, !0), a + " > " + r; case e.StiDataFilterCondition.GreaterThanOrEqualTo: return r = this.getQueryValue(r, o, !0), a + " >= " + r; case e.StiDataFilterCondition.LessThan: return r = this.getQueryValue(r, o, !0), a + " < " + r; case e.StiDataFilterCondition.LessThanOrEqualTo: return r = this.getQueryValue(r, o, !0), a + " <= " + r; case e.StiDataFilterCondition.Between: return r = this.getQueryValue(r, o, !0), i = this.getQueryValue(i, o, !0), "(" + a + " >= " + r + " AND " + a + " <= " + i + ")"; case e.StiDataFilterCondition.NotBetween: return r = this.getQueryValue(r, o, !0), i = this.getQueryValue(i, o, !0), "(" + a + " < " + r + " OR " + a + " > " + i + ")"; case e.StiDataFilterCondition.Containing: return r = this.getQueryValue(r, o, !1), a + " LIKE '*" + r + "*'"; case e.StiDataFilterCondition.NotContaining: return r = this.getQueryValue(r, o, !1), "NOT (" + a + " LIKE '*" + r + "*')"; case e.StiDataFilterCondition.BeginningWith: return r = this.getQueryValue(r, o, !1), a + " LIKE '" + r + "*'"; case e.StiDataFilterCondition.EndingWith: return r = this.getQueryValue(r, o, !1), a + " LIKE '*" + r + "'"; case e.StiDataFilterCondition.IsNull: return a + " IS NULL"; case e.StiDataFilterCondition.IsNotNull: return a + " IS NOT NULL"; case e.StiDataFilterCondition.IsBlank: return "TRIM(" + a + ") = ''"; case e.StiDataFilterCondition.IsNotBlank: return "TRIM(" + a + ") <> ''"; case e.StiDataFilterCondition.IsFalse: return "FALSE"; default: throw new c(n).message } } , t.getQueryValue = function(t, e, i) { if (null == e) return t; if (s.isNumericType(e)) { if (n.isNullOrEmpty(t)) return "0"; var o = void 0; if (!r.tryParse(t).successfully) return "0"; return t } if (e == Boolean) return (null != t && "true" == t.toLowerCase()).toString(); if (s.isDateType(e)) { var a = void 0 , u = h.tryParseExact(t, "MM/DD/YYYY"); a = u.successfully ? u.result : new h(1800,1,1,0,0,0,0), t = a.toString("MM/dd/yyyy") } if (null != t && (t = t.stimulsoft.replaceAll("'", "''")), i) return "'" + t + "'"; return t } , t.getFilterOperation = function(t) { return t.condition == e.StiDataFilterCondition.EqualTo || t.condition == e.StiDataFilterCondition.BeginningWith || t.condition == e.StiDataFilterCondition.EndingWith || t.condition == e.StiDataFilterCondition.Between || t.condition == e.StiDataFilterCondition.Containing || t.condition == e.StiDataFilterCondition.GreaterThan || t.condition == e.StiDataFilterCondition.GreaterThanOrEqualTo || t.condition == e.StiDataFilterCondition.LessThan || t.condition == e.StiDataFilterCondition.LessThanOrEqualTo || t.condition == e.StiDataFilterCondition.IsNull || t.condition == e.StiDataFilterCondition.IsBlank ? e.StiDataFilterOperation.OR : e.StiDataFilterOperation.AND } , t.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 }) } , t.getFilterRulesHash2 = function(t, n) { if (!n.isExpression) return 0; switch (n.condition) { case e.StiDataFilterCondition.Between: case e.StiDataFilterCondition.NotBetween: return this.getFilterRuleHash3(t, n.value) + this.getFilterRuleHash3(t, n.value2); default: return this.getFilterRuleHash3(t, n.value) } } , t.getFilterRuleHash3 = function(t, e) { var r, i; if (n.isNullOrWhiteSpace(e)) return 0; e = e.toLowerCase(); var o = 0; try { for (var a = __values(t), s = a.next(); !s.done; s = a.next()) { var u = s.value; if (e.stimulsoft.contains(u.getName().toLowerCase())) { var l = u.getValue().toString(); o += null != l ? l.stimulsoft.getHashCode() : 0 } } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return o } , t }(); e.StiDataFilterRuleHelper = p }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.Collections.Dictionary , i = t.Data.Extensions.DataTableExt , o = t.Data.Engine.StiDataFilterRuleHelper , a = t.Base.StiKeyHelper , s = t.Data.Extensions.StiDataTableExt , u = function() { function t() {} return t.filter = function(t, e, r, a) { if (null == e || !e.any()) return t; var s = t.toList().cast().select(function(t) { return t.columnName }) , u = t.toList().cast().select(function(t) { return t.dataType }) , l = o.getDataTableFilterQuery2(e, s, u, r); if (n.isNullOrWhiteSpace(l)) return t; var c = this.getFromCache(t, r, a); if (c == i.nullTable) return null; if (null != c) return c; return t.defaultView.rowFilter = l, c = t.defaultView.toTable(), this.addToCache(t, r, a, c), c } , t.filter2 = function(t, r, i, a) { if (null == r || !r.any()) return t; var u = s.toNetTable(t) , l = u.toList().cast().select(function(t) { return t.columnName }) , c = u.toList().cast().select(function(t) { return t.dataType }) , h = o.getDataTableFilterQuery2(r, l, c, i); if (n.isNullOrWhiteSpace(h)) return t; var p = this.getFromCache2(t, i, a); if (p == e.StiDataTable.nullTable) return null; if (null != p) return p; u.defaultView.rowFilter = h; var f = u.defaultView.toTable().rows.toList().select(function(t) { return t.itemArray }); return p = new e.StiDataTable(t.meters,f), this.addToCache2(t, i, a, p), p } , t.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(e) { return t.meterCache.remove(e) })) } , t.getCacheKey = function(t, e, n) { 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) } , t.getCacheKey2 = function(t, e, n) { 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) } , t.getFromCache = function(e, n, r) { var i = this.getCacheKey(e, n, r); return this.netCache.contains(i) ? t.netCache.get(i) : null } , t.getFromCache2 = function(e, n, r) { var i = this.getCacheKey2(e, n, r); return this.meterCache.contains(i) ? t.meterCache.get(i) : null } , t.addToCache = function(t, e, n, r) { var o = this.getCacheKey(t, e, n); null == r && (r = i.nullTable), this.netCache.set(o, r) } , t.addToCache2 = function(t, n, r, i) { var o = this.getCacheKey2(t, n, r); null == i && (i = e.StiDataTable.nullTable), this.meterCache.set(o, i) } , t.lockObject = {}, t.meterCache = new r, t.netCache = new r, t }(); e.StiDataFiltrator = u }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Data.Parsers.StiDimensionDataParser , r = t.Data.Parsers.StiMeasureDataParser , i = t.Data.Comparers.StiArrayEqualityComparer , o = t.Data.Comparers.StiArrayComparer , a = function() { function t() {} return t.group = function(t, a, s) { var u = new n(t,a,s) , l = a.rows.toList().select(function(t) { return t.itemArray }).groupBy(function(t) { return u.calculate(t) }, new i).orderBy(function(t) { return t.key }, new o) , c = new r(t,a,s,l).calculate(); return new e.StiDataTable(s,c) } , t }(); e.StiDataGrouper = a }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Data.DataRow , r = t.Data.Extensions.DataTableExt , i = t.System.Collections.Dictionary , o = t.System.Collections.List , a = t.System.Data.DataTable , s = t.System.Collections.Hashtable , u = t.System.Data.DataColumn , l = t.Base.StiKeyHelper , c = function() { function t() {} return t.join = function(t, i, u) { var l, c, h = this; if (t.count2() < 2) return t.firstOrDefault(); var p = this.getFromCache(t, u); if (p == r.nullTable) return null; if (null != p) return p; var f = t , m = f.first(); f = f.skip(1); var d = new s , y = new o; p = m.copy(), this.copyColumns(m, p); var v = new o([m]) , g = new o , b = function() { var t = f.firstOrDefault(); if (null == t) return "continue"; var r = v.firstOrDefault(function(e) { return null != h.findLink(t, e, i) }) , o = S.findLink(r, t, i); if (S.joinEngine == e.StiDataJoinEngine.V2 && null == o && f.length > 2 && g.length < f.length) return f.remove(t), f.add(t), g.add(t), "continue"; if (null == r || null == o) return f.remove(t), null == d.get(t) ? f.add(t) : y.add(t), d.set(t, t), "continue"; S.copyColumns(t, p); var s = 0 == p.rows.length ? r : p , u = new e.StiDataRowJoiner(p,s,t).join(e.StiDataJoinType.Left, o); p = u.any() ? n.copyToDataTable(u) : new a, f.remove(t), v.add(t) } , S = this; while (f.any()) b(); try { for (var T = __values(y), x = T.next(); !x.done; x = T.next()) { var E = x.value; p = this.mergeInSequence(p, E) } } catch (t) { l = { error: t } } finally { try { x && !x.done && (c = T.return) && c.call(T) } finally { if (l) throw l.error } } return this.addToCache(t, p, u), p } , t.copyColumns = function(t, e) { var n, r; if (null == t || null == e) return; try { for (var i = __values(t.columns.list), o = i.next(); !o.done; o = i.next()) { var a = o.value; e.columns.contains(a.columnName) || e.columns.add(new u(a.columnName,a.dataType)) } } catch (t) { n = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (n) throw n.error } } } , t.mergeInSequence = function(t, e) { var n = new a; 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 o = 0; o < t.columns.length; o++) try { i.sett(o, t.rows.gett(r, o)) } 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 o = 0; o < e.columns.length; o++) try { i.sett(t.columns.length + o, e.rows.gett(r, o)) } catch (t) {} n.rows.add(i) } return n } , t.findLink = function(t, e, n) { if (null == t || null == e) return null; var r = n.where(function(n) { return n.parentTable == t.tableName && n.childTable == e.tableName || n.parentTable == e.tableName && n.childTable == t.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 = n.where(function(n) { return n.parentTable == t.tableName && n.childTable == e.tableName || n.parentTable == e.tableName && n.childTable == t.tableName }), r.any(function(t) { return t.active }) ? r.first(function(t) { return t.active }) : r.any() ? r.firstOrDefault() : null } , t.getCacheKey = function(t, e) { e.setKey(l.getOrGeneratedKey(e.getKey())); var n = e.getKey() || ""; if (null == t || 0 == t.count2(function(t) { return null != t })) return n + ".0"; return n + "." + 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 }) } , t.getFromCache = function(t, e) { var n = this.getCacheKey(t, e); return this.cache.contains(n) ? this.cache.get(n) : null } , t.addToCache = function(t, e, n) { var i = this.getCacheKey(t, n); null == e && (e = r.nullTable), this.cache.set(i, e) } , t.cleanCache = function(t) { var e = this; null == t ? this.cache.clear() : this.cache.keys.where(function(e) { return e.stimulsoft.startsWith(t) }).forEach(function(t) { return e.cache.remove(t) }) } , t.cache = new i, t.joinEngine = e.StiDataJoinEngine.V2, t }(); e.StiDataJoiner = c }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.Base.StiJson , i = function() { function t(t, e, n, r, i, o) { this.parentTable = t, this.childTable = e, this.parentColumn = n, this.childColumn = r, this.active = i, this.key = o } return t.prototype.saveToJsonObject = function(t) { var e = new r; return e.addPropertyStringNullOrEmpty("Key", this.key), e } , t.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var r = __values(t.properties()), i = r.next(); !i.done; i = r.next()) { var o = i.value; switch (o.name) { case "Key": this.key = o.value; break } } } catch (t) { e = { error: t } } finally { try { i && !i.done && (n = r.return) && n.call(r) } finally { if (e) throw e.error } } } , t.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(t.prototype, "parentKey", { get: function() { if (n.isNullOrEmpty(this.parentTable) || n.isNullOrEmpty(this.parentColumn)) return null; return this.parentTable + "." + this.parentColumn }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "childKey", { get: function() { if (n.isNullOrEmpty(this.childTable) || n.isNullOrEmpty(this.childColumn)) return null; return this.childTable + "." + this.childColumn }, enumerable: !0, configurable: !0 }), t.loadFromJson = function(e) { var n = new t; return n.loadFromJsonObject(e), n } , t.loadFromXml = function(e) { var n = new t; return n.loadFromXml(e), n } , t.prototype.toString = function() { return this.nullStr(this.parentTable) + "->" + this.nullStr(this.childTable) + " : " + this.nullStr(this.parentColumn) + "->" + this.nullStr(this.childColumn) } , t.prototype.nullStr = function(t) { return t || "" } , t }(); e.StiDataLink = i }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.getLinks = function(e) { return e.fetchDataRelations().select(function(e) { return new t.StiDataLink(e.getParentDataSource().getName(),e.getChildDataSource().getName(),e.fetchParentColumns().firstOrDefault(),e.fetchChildColumns().firstOrDefault(),e.getActiveState(),e.getKey()) }) } , e }(); t.StiDataLinkHelper = e }(e = t.Engine || (t.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Collections.Hashtable , r = t.Base.StiBIDataCacheOptions , i = t.System.Data.DataColumn , o = t.Base.IStiAppCalcDataColumn , a = t.Data.Extensions.DataTableExt , s = t.System.Collections.Dictionary , u = t.System.Collections.List , l = t.Base.StiAppKey , c = function() { function t() {} return t.fetch = function(n, r, i, o, a) { return void 0 === i && (i = e.StiDataRequestOption.All), void 0 === o && (o = null), void 0 === a && (a = null), __awaiter(this, void 0, void 0, function() { var s, l, c, h, p, f, m, d, y, v, g, b, S, T, x = this; return __generator(this, function(E) { switch (E.label) { case 0: if (null == n) return [2, null]; if (s = n.retrieveUsedDataNames(r), null != o && (s = s.union(o)), null == (l = n.getDataSources(s)) || !l.any()) return [2, null]; if (l = e.StiDataJoiner.joinEngine == e.StiDataJoinEngine.V1 ? l : l.orderBy(function(t) { return x.getRelationLevel(t, a) }), l = e.StiDataSourceChainFinder.find(l), c = l.select(function(t) { return t.getConnection() }).where(function(t) { return null != t }), l.all(t.existsInCache) && !n.isDataSource) return [2, l.select(t.getFromCache)]; h = n.getDictionary(), p = null, p = (i & e.StiDataRequestOption.AllowOpenConnections) > 0 ? h.openConnections(c) : null, f = new u, E.label = 1; case 1: E.trys.push([1, 6, 7, 8]), m = __values(l), d = m.next(), E.label = 2; case 2: if (d.done) return [3, 5]; return y = d.value, [4, this.getDataTable2(i, y)]; case 3: v = E.sent(), g = { ref: v }, this.addToCache(y, g), v = g.ref, null != v && (f.add(v), this.addTableNameToColumnNames(v)), E.label = 4; case 4: return d = m.next(), [3, 2]; case 5: return [3, 8]; case 6: return b = E.sent(), S = { error: b }, [3, 8]; case 7: try { d && !d.done && (T = m.return) && T.call(m) } finally { if (S) throw S.error } return [7]; case 8: return [2, f] } }) }) } , t.getRelationLevel = function(t, e) { var r; if (!e.any(function(e) { return e.parentTable == t.getName() || e.childTable == t.getName() })) return 100; var i = new n , o = 0 , a = t.getName(); while (!0) { if (null != i.get(a)) break; if (i.set(a, a), null == (a = null === (r = e.firstOrDefault(function(t) { return t.childTable == a })) || void 0 === r ? void 0 : r.parentTable)) break; if (++o > 100) return 100 } return o } , t.retrieveUsedDataSources = function(t, n, r) { if (null == t) return null; var i = t.retrieveUsedDataNames(n); null != r && (i = i.union(r)); var o = t.getDataSources(i); if (null == o || !o.any()) return null; return e.StiDataSourceChainFinder.find(o) } , t.fetch2 = function(t, n, r) { return void 0 === r && (r = e.StiDataRequestOption.All), __awaiter(this, void 0, void 0, function() { var e; return __generator(this, function(i) { switch (i.label) { case 0: return e = t.getDictionary().getDataSourceByName(n), [4, this.fetch3(t, e, r)]; case 1: return [2, i.sent()] } }) }) } , t.fetch3 = function(t, n, r) { return void 0 === r && (r = e.StiDataRequestOption.All), __awaiter(this, void 0, void 0, function() { var e, i, o, a, s; return __generator(this, function(l) { switch (l.label) { case 0: if (e = t.getDictionary(), this.existsInCache(n)) return [3, 5]; i = n.getConnection(), e.openConnections(new u([i])), l.label = 1; case 1: return l.trys.push([1, 3, , 4]), [4, this.getDataTable2(r, n)]; case 2: o = l.sent(); try { return a = { ref: o }, this.addToCache(n, a), o = a.ref, this.addTableNameToColumnNames(o), e.closeConnections(new u([i])), [2, o] } finally { e.closeConnections(new u([i])) } return [3, 4]; case 3: return s = l.sent(), e.closeConnections(new u([i])), [3, 4]; case 4: return [3, 6]; case 5: return [2, this.getFromCache(n)]; case 6: return [2] } }) }) } , t.isAllBICached = function(t, n, i) { if (void 0 === i && (i = e.StiDataRequestOption.All), !r.enabled) return !1; if (null == t) return !1; var o = t.retrieveUsedDataNames(n) , a = t.getDataSources(o); if (null == a || !a.any()) return !1; return a = e.StiDataSourceChainFinder.find(a), a.all(function(t) { return r.cache.exists(t) }) } , t.getDataTable = function(t, n, r) { return void 0 === r && (r = e.StiDataRequestOption.All), __awaiter(this, void 0, void 0, function() { var e, i, o; return __generator(this, function(a) { switch (a.label) { case 0: return e = t.getDictionary(), i = n.getConnection(), e.openConnections(new u([i])), [4, this.getDataTable2(r, n)]; case 1: return o = a.sent(), e.closeConnections(new u([i])), [2, o] } }) }) } , t.getDataTable2 = function(t, n) { return __awaiter(this, void 0, void 0, function() { var r; return __generator(this, function(i) { switch (i.label) { case 0: return [4, n.getDataTable2((t & e.StiDataRequestOption.AllowOpenConnections) > 0)]; case 1: return r = i.sent(), null != r && (r = r.copy(), r.tableName = n.getName()), [2, this.processCalculatedColumns(r, n)] } }) }) } , t.processCalculatedColumns = function(t, e) { var n, r, a, s, u = e.getDictionary(), l = e.fetchColumns().where(function(t) { return t.stimulsoft.is(o) }); if (!l.any()) return t; l.forEach(function(e) { return t.columns.add(new i(e.getName())) }); var c = l.select(function(t) { return t.getName() }) , h = e.fetchColumnValues(c); if (!h.any()) return t; try { var p = l.select(function(e) { return t.columns.getIndexByName(e.getName()) }) , f = 0; try { for (var m = __values(t.rows.list), d = m.next(); !d.done; d = m.next()) { var y = d.value; try { var v = f >= h.length ? h[h.length - 1] : h[f] , g = 0; try { for (var b = (a = void 0, __values(p)), S = b.next(); !S.done; S = b.next()) { var T = S.value; y.sett(T, v[g++]) } } catch (t) { a = { error: t } } finally { try { S && !S.done && (s = b.return) && s.call(b) } finally { if (a) throw a.error } } } catch (t) {} f++ } } catch (t) { n = { error: t } } finally { try { d && !d.done && (r = m.return) && r.call(m) } finally { if (n) throw n.error } } } finally {} return t } , t.addTableNameToColumnNames = function(t) { var e, n, r = t.tableName + "."; try { for (var i = __values(t.columns.list), o = i.next(); !o.done; o = i.next()) { var a = o.value; a.columnName.stimulsoft.startsWith(r) || (a.columnName = "" + r + a.columnName) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (e) throw e.error } } } , t.getFromCache = function(e) { var n = t.getCacheKey(e); return t.cache.contains(n) ? t.cache.get(n) : null } , t.existsInCache = function(e) { var n = t.getCacheKey(e); return t.cache.contains(n) } , t.addToCache = function(e, n) { null == n.ref && (n.ref = a.nullTable); var r = t.getCacheKey(e); t.cache.set(r, n.ref) } , t.getCacheKey = function(t) { var e = l.getOrGeneratedKey4(t) , n = t.getConnection() , r = t.getNameInSource() == t.getName() ? t.getName() : t.getNameInSource() + "." + t.getName(); return null == n ? e + "." + r : e + "." + n.getName() + "." + r } , t.cleanCache = function(e) { null == e ? t.cache.clear() : t.cache.keys.where(function(t) { return t.stimulsoft.startsWith(e) }).forEach(function(e) { return t.cache.remove(e) }) } , t.lockObject = {}, t.cache = new s, t }(); e.StiDataPicker = c }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Type , r = t.System.Exception , i = t.System.Collections.List , o = t.System.Collections.Dictionary , a = function() { function t(t, e, n) { var r, i, a, s, u, l; this.resultColumnIndexes = new o, this.column1Indexes = new o, this.column2Indexes = new o, this.resultTable = t, this.table1 = e, this.table2 = n; try { for (var c = __values(t.columns.list), h = c.next(); !h.done; h = c.next()) { var p = h.value; this.resultColumnIndexes.add(p.columnName, t.columns.getIndexByName(p.columnName)) } } catch (t) { r = { error: t } } finally { try { h && !h.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } try { for (var f = __values(e.columns.list), m = f.next(); !m.done; m = f.next()) { var p = m.value; this.column1Indexes.add(p.columnName, e.columns.getIndexByName(p.columnName)) } } catch (t) { a = { error: t } } finally { try { m && !m.done && (s = f.return) && s.call(f) } finally { if (a) throw a.error } } try { for (var d = __values(n.columns.list), y = d.next(); !y.done; y = d.next()) { var p = y.value; this.column2Indexes.add(p.columnName, n.columns.getIndexByName(p.columnName)) } } catch (t) { u = { error: t } } finally { try { y && !y.done && (l = d.return) && l.call(d) } finally { if (u) throw u.error } } } return t.prototype.join = function(t, n) { switch (t) { case e.StiDataJoinType.Inner: return this.innerJoinRows(n); case e.StiDataJoinType.Left: return e.StiDataJoiner.joinEngine == e.StiDataJoinEngine.V1 ? this.leftJoinRows(n) : this.leftJoinRowsV2(n); case e.StiDataJoinType.Cross: return this.crossJoinRows(); case e.StiDataJoinType.Full: return this.fullJoinRows(n); default: throw new r("NotSupportedException") } } , t.prototype.innerJoinRows = function(t) { var e = this , n = this.getFieldIndex(this.table1, t) , r = this.getFieldIndex(this.table2, t) , i = this.table1.rows.toList() , o = this.table2.rows.toList(); return i.join2(o, function(t) { return e.stimulsoft.getHashCode(t, n) }, function(t) { return e.stimulsoft.getHashCode(t, r) }, this.splitRows, this) } , t.prototype.leftJoinRows = function(t) { var e = this , n = this.getFieldIndex(this.table1, t) , r = this.getFieldIndex(this.table2, t) , i = this.table1.rows.toList() , o = this.table2.rows.toList(); return i.groupJoin(o, function(t) { return e.stimulsoft.getHashCode(t, n) }, function(t) { return e.stimulsoft.getHashCode(t, r) }, function(t, e) { return { key: t, rows: e } }, this).selectMany2(function(t) { return t.rows.defaultIfEmpty() }, function(t, n) { return e.splitRows(t.key, n) }, this) } , t.prototype.leftJoinRowsV2 = function(t) { var e, n, r, o, a = this, s = this.getFieldIndex(this.table1, t), u = this.getFieldIndex(this.table2, t), l = this.table1.rows.toList(), c = this.table2.rows.toList(), h = l.groupJoin(c, function(t) { return a.getHashCode(t, s) }, function(t) { return a.getHashCode(t, u) }, function(t, e) { return { key: t, rows: e } }, this), p = new i; try { for (var f = __values(h), m = f.next(); !m.done; m = f.next()) { var d = m.value , y = !0; try { for (var v = (r = void 0, __values(d.rows.defaultIfEmpty())), g = v.next(); !g.done; g = v.next()) { var b = g.value; if (y) p.add(this.splitRows(d.key, b)); else { for (var S = d.key.itemArray, T = Array.create(Object, S.length), x = 0; x < S.length; x++) this.isNumericType(S[x]) || (T[x] = S[x]); var E = this.resultTable.loadDataRow(T, !1); p.add(this.splitRows(E, b)) } y = !1 } } catch (t) { r = { error: t } } finally { try { g && !g.done && (o = v.return) && o.call(v) } finally { if (r) throw r.error } } } } catch (t) { e = { error: t } } finally { try { m && !m.done && (n = f.return) && n.call(f) } finally { if (e) throw e.error } } return p } , t.prototype.isNumericType = function(t) { return null != t && n.isNumericType(t.stimulsoft.getType()) } , t.prototype.crossJoinRows = function() { var t = this , e = this.table1.rows.toList() , n = this.table2.rows.toList(); return e.selectMany(function(e) { return n.select(function(n) { return t.splitRows(e, n) }, t) }, this) } , t.prototype.fullJoinRows = function(t) { var e = this , n = this.getFieldIndex(this.table1, t) , r = this.getFieldIndex(this.table2, t) , i = this.table1.rows.toList() , o = this.table2.rows.toList(); return i.fullOuterJoin(o, function(t) { return e.stimulsoft.getHashCode(t, n) }, function(t) { return e.stimulsoft.getHashCode(t, r) }, this.splitRows, this) } , t.prototype.getHashCode = function(t, e) { return null != t.gett(e) ? t.gett(e).stimulsoft.getHashCode() : 0 } , t.prototype.splitRows = function(t, e) { var n, r, i = Array.create(Object, this.resultTable.columns.count); try { for (var o = __values(this.resultTable.columns.list), a = o.next(); !a.done; a = o.next()) { var s = a.value , u = this.resultColumnIndexes.contains(s.columnName) ? this.resultColumnIndexes.get(s.columnName) : -1; if (-1 == u) continue; var l = this.column1Indexes.contains(s.columnName) ? this.column1Indexes.get(s.columnName) : -1 , c = this.column2Indexes.contains(s.columnName) ? this.column2Indexes.get(s.columnName) : -1; -1 != l && null != t && (i[u] = t.gett(l)), -1 != c && null != e && (i[u] = e.gett(c)) } } catch (t) { n = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (n) throw n.error } } return this.resultTable.loadDataRow(i, !1) } , t.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) } , t }(); e.StiDataRowJoiner = a }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Base.StiKeyHelper , r = t.Base.StiJson , i = t.System.Enum , o = function(t) { function o(r, i) { void 0 === r && (r = n.generateKey()), void 0 === i && (i = e.StiDataSortDirection.Ascending); var o = t.call(this) || this; return o.direction = e.StiDataSortDirection.Ascending, o.key = r, o.direction = i, o } return __extends(o, t), o.prototype.saveToJsonObject = function(t) { var n = new r; return n.addPropertyStringNullOrEmpty("Key", this.key), n.addPropertyEnum("Direction", e.StiDataSortDirection, this.direction, e.StiDataSortDirection.Ascending), n } , o.prototype.loadFromJsonObject = function(t) { var n, r; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Key": this.key = s.value; break; case "Direction": this.direction = i.parse(e.StiDataSortDirection, s.value); break } } } catch (t) { n = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (n) throw n.error } } } , o.prototype.loadFromXml = function(t, n) { for (var r = 0; r < t.childNodes.length; r++) { var o = t.childNodes[r]; switch (o.nodeName) { case "Key": this.key = o.textContent; break; case "Direction": this.direction = i.parse(e.StiDataSortDirection, o.textContent); break } } } , o.loadFromJson = function(t) { var e = new o; return e.loadFromJsonObject(t), e } , o.loadFromXml = function(t) { var e = new o; return e.loadFromXml(t, !1), e } , o.prototype.toString = function() { return this.direction + " " + this.key } , o.prototype.getUniqueCode = function() { return 397 * (null != this.key ? this.key.stimulsoft.getHashCode() : 0) ^ this.direction } , o }(e.StiDataRule); e.StiDataSortRule = o }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.Base.StiKeyHelper , i = function() { function t() {} return t.toList = function() { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; return t.toList() } , t.validate = function(t, e) { if (null == e || 0 == e.count2()) return t; return t.where(function(t) { return r.isKey(t.key) && e.contains(t.key) }).toList() } , t.getDataTableSortQuery = function(e, n) { var r = n.select(function(t) { return t && t.getKey() }).where(function(t) { return null != t }).toList() , i = n.select(function(t) { return t && t.getName() }).where(function(t) { return null != t }).toList(); return t.getDataTableSortQuery2(e, r, i) } , t.getDataTableSortQuery2 = function(t, r, i) { var o, a; if (null == t || !t.any()) return ""; t = this.validate(t, r); var s = ""; try { for (var u = __values(t.where(function(t) { return !n.isNullOrWhiteSpace(t.key) })), l = u.next(); !l.done; l = u.next()) { var c = l.value; s.length > 0 && (s += ", "); var h = r.indexOf(c.key); if (-1 == h && -1 == (h = i.indexOf(c.key))) continue; var p = e.StiDataColumnRuleHelper.getGoodColumnName(i[h]); c.direction == e.StiDataSortDirection.Descending ? s += p + " DESC" : s += p } } catch (t) { o = { error: t } } finally { try { l && !l.done && (a = u.return) && a.call(u) } finally { if (o) throw o.error } } return s } , t.getSortDirection = function(t, n) { var r = t.firstOrDefault(function(t) { return t.key.toLowerCase() == n.toLowerCase() }); return null == r ? e.StiDataSortDirection.None : r.direction } , t.setSortDirection = function(t, n, r, i) { t = this.validate(t, n); var o = t.firstOrDefault(function(t) { return t.key.toLowerCase() == r.toLowerCase() }); return null == o && i != e.StiDataSortDirection.None ? (o = new e.StiDataSortRule(r,i), t.add(o)) : i == e.StiDataSortDirection.None ? t.remove(o) : o.direction = i, t } , t }(); e.StiDataSortRuleHelper = i }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.Data.Extensions.StiDataTableExt , i = t.System.Collections.Dictionary , o = t.Base.StiKeyHelper , a = function() { function t() {} return t.sort = function(t, i, o, a, s) { void 0 === s && (s = e.StiDataRequestOption.All); var u = (s & e.StiDataRequestOption.AllowDataSort) > 0; if (null == i || !i.any() || !u) return t; var l = r.toNetTable(t) , c = t.meters.select(function(t) { return t.key }) , h = l.columns.toList().cast().select(function(t) { return t.columnName }); i = this.getFixedDataSortRules(i, h, c); var p = e.StiDataSortRuleHelper.getDataTableSortQuery2(i, c, h); if (n.isNullOrWhiteSpace(p)) return t; var f = this.getFromCache(t, o, a); if (f == e.StiDataTable.nullTable) return null; if (null != f) return f; for (var m = l.rows.toList().select(function(t) { return t.itemArray }), d = function(t) { var n = c.indexOf(i[t].key); i[t].direction == e.StiDataSortDirection.Ascending ? m = m.orderBy(function(t) { return t[n] }) : i[t].direction == e.StiDataSortDirection.Descending && (m = m.orderByDescending(function(t) { return t[n] })) }, y = i.length - 1; y >= 0; y--) d(y); return f = new e.StiDataTable(t.meters,m), this.addToCache(t, o, a, f), f } , t.getFixedDataSortRules = function(t, n, r) { var i, o, a = t.select(function(t) { return t.clone().stimulsoft.as(e.StiDataSortRule) }); try { for (var s = __values(a), u = s.next(); !u.done; u = s.next()) { var l = u.value , c = n.indexOf(l.key); -1 != c && (l.key = r[c]) } } catch (t) { i = { error: t } } finally { try { u && !u.done && (o = s.return) && o.call(s) } finally { if (i) throw i.error } } return a } , t.cleanCache = function(t) { var e = this; null == t ? this.hashCache.clear() : this.hashCache.keys.toList().where(function(e) { return e.stimulsoft.startsWith(t) }).forEach(function(t) { return e.hashCache.remove(t) }) } , t.getCacheKey = function(t, e, n) { return e && e.setKey(o.getOrGeneratedKey(e.getKey())), (e && e.getKey() || "") + "." + (t.meters.select(function(t) { return t.stimulsoft.getHashCode() }).aggregate2(0, function(t, e) { return t + e }) + n) } , t.getFromCache = function(t, e, n) { var r = this.getCacheKey(t, e, n); return this.hashCache.contains(r) ? this.hashCache.get(r) : null } , t.addToCache = function(t, n, r, i) { var o = this.getCacheKey(t, n, r); null == i && (i = e.StiDataTable.nullTable), this.hashCache.set(o, i) } , t.lockObject = {}, t.hashCache = new i, t }(); e.StiDataSorter = a }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Collections.List , r = function() { function t() {} return t.find = function(t) { var e = this; return t.selectMany(function(n) { return t.where(function(t) { return t != n }).select(function(t) { return e.find3(n, t) }).where(function(t) { return null != t }).selectMany(function(t) { return t }).where(function(e) { return !t.contains(e) }).distinct() }).union(t.distinct()) } , t.find3 = function(t, e) { var n = this.findInParent(t, e) , r = this.findInChild(t, e); if (null == n && null == r) return null; if (null != n && null == r) return n; if (null == n && null != r) return r; return n.length >= r.length ? r : n } , t.findInParent = function(t, e) { var r, i, o = t.fetchParentRelations(!0); if (!o.any()) return null; if (o.where(function(t) { return t.getParentDataSource() == e }).any()) return new n([t, e]); try { for (var a = __values(this.getActiveRelations(o)), s = a.next(); !s.done; s = a.next()) { var u = s.value , l = this.findInParent(u.getParentDataSource(), e); if (null == l) continue; return l.insert(0, u.getChildDataSource()), l } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return null } , t.findInChild = function(t, e) { var r, i, o = t.fetchChildRelations(!0); if (!o.any()) return this.findInParent(t, e); if (null != o.firstOrDefault(function(t) { return t.getChildDataSource() == e })) return new n([t, e]); try { for (var a = __values(this.getActiveRelations(o)), s = a.next(); !s.done; s = a.next()) { var u = s.value , l = this.findInChild(u.getChildDataSource(), e); if (null == l) continue; return l.insert(0, u.getParentDataSource()), l } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return null } , t.getActiveRelations = function(t) { return t.any(function(t) { return t.getActiveState() }) ? t.where(function(t) { return t.getActiveState() }) : t } , t }(); e.StiDataSourceChainFinder = r }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.Data.Functions.Funcs , i = function() { function t() {} return t.fetch = function(t, e, i, o) { null == i && (i = t.retrieveUsedDataNames(e)), i = i.where(function(t) { return !n.isNullOrWhiteSpace(t) }).select(r.toDataName); var a = o.selectMany(function(t) { return t.fetchColumns().select(function(e) { return { dataSource: t, name: r.toDataName(e.getNameInSource()) } }) }); return i.selectMany(function(t) { return a.where(function(e) { return r.isDataEqual(e.dataSource, e.name, t) }).select(function(t) { return t.dataSource }) }).distinct() } , t }(); e.StiDataSourcePicker = i }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Collections.List , r = function() { function t(e, r) { void 0 === e && (e = new n), void 0 === r && (r = new n), this.isNull = this == t.nullTable, this.isEmpty = this.isNull || null == this.meters || 0 == this.meters.count2() || null == this.rows || 0 == this.rows.count2(), this.meters = e, this.rows = r } return t.nullTable = new t, t }(); e.StiDataTable = r }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.Enum , i = t.Base.StiJson , o = t.Base.Localization.StiLocalization , a = function() { function t(t, n, r, i, o) { this.mode = e.StiDataTopNMode.None, this.count = 5, this.showOthers = !0, this.othersText = "", this.measureField = "", null != t && (this.mode = t), null != n && (this.count = n), null != r && (this.showOthers = r), null != i && (this.othersText = i), null != o && (this.measureField = o) } return t.prototype.saveToJsonObject = function(t) { var n = new i; return n.addPropertyEnum("Mode", e.StiDataTopNMode, this.mode, e.StiDataTopNMode.None), n.addPropertyNumber("Count", this.count, 5), n.addPropertyBool("ShowOthers", this.showOthers, !0), n.addPropertyString("OthersText", this.othersText, ""), n.addPropertyString("MeasureField", this.measureField, ""), n } , t.prototype.loadFromJsonObject = function(t) { var 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 "Mode": s.value && (this.mode = r.parse(e.StiDataTopNMode, s.value.toString())); break; case "Count": this.count = s.value.stimulsoft.toNumber(); break; case "ShowOthers": this.showOthers = s.value.stimulsoft.toBoolean(); break; case "OthersText": this.othersText = s.value.toString(); break; case "MeasureField": null != s.value && (this.measureField = s.value.toString()); break } } } catch (t) { n = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (n) throw n.error } } } , t.prototype.loadFromXml = function(t) { for (var n = 0; n < t.childNodes.length; n++) { var i = t.childNodes[n]; switch (i.nodeName) { case "Mode": this.mode = r.parse(e.StiDataTopNMode, i.textContent.toString()); break; case "Count": this.count = i.textContent.stimulsoft.toNumber(); break; case "ShowOthers": this.showOthers = i.textContent.stimulsoft.toBoolean(); break; case "OthersText": this.othersText = i.textContent.toString(); break; case "MeasureField": this.measureField = i.textContent.toString(); break } } } , t.createFromJsonObject = function(e) { var n = new t; return n.loadFromJsonObject(e), n } , t.createFromXml = function(e) { var n = new t; return n.loadFromXml(e), n } , t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(t.prototype, "isDefault", { get: function() { return this.mode == e.StiDataTopNMode.None && 5 == this.count && this.showOthers && "" == this.othersText && "" == this.measureField }, enumerable: !0, configurable: !0 }), t.prototype.toString = function() { return this.mode == e.StiDataTopNMode.None ? o.get("PropertyEnum", "SelectionModeNone") : "" + (this.mode == e.StiDataTopNMode.Bottom ? o.get("PropertyMain", "Bottom") : o.get("PropertyMain", "Top")) + this.count + (n.isNullOrEmpty(this.measureField) ? "" : " [" + this.measureField + "]") } , t.prototype.getUniqueCode = function() { var t = this.mode; return t = 397 * t ^ this.count, t = 397 * t ^ this.showOthers.stimulsoft.getHashCode(), t = 397 * t ^ (null != this.othersText ? this.othersText.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this.measureField ? this.measureField.stimulsoft.getHashCode() : 0), Math.abs(t) } , t }(); e.StiDataTopN = a }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Collections.Dictionary , r = function() { function t() {} return t.setOk = function(t) { this.keyToError.contains(t) && this.keyToError.remove(t) } , t.setError = function(t, e) { this.keyToError.set(t, e) } , t.getError = function(t) { return this.keyToError.contains(t) ? this.keyToError.get(t) : null } , t.isFail = function(t) { return this.keyToError.contains(t) } , t.keyToError = new n, t }(); e.StiErrorStack = r }(n = e.Engine || (e.Engine = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e) { return t.call(this, "BING: '" + e + "'") || this } return __extends(e, t), e }(t.StiDataException); t.StiBingException = e }(e = t.Exceptions || (t.Exceptions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e) { var n = t.call(this, "Column '" + e + "' not found!") || this; return n._name = e, n } return __extends(e, t), Object.defineProperty(e.prototype, "name", { get: function() { return this._name }, enumerable: !0, configurable: !0 }), e }(t.StiDataException); t.StiColumnNotFoundException = e }(e = t.Exceptions || (t.Exceptions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e) { return t.call(this, "System Variable '" + e + "' Is Not Recognized!") || this } return __extends(e, t), e }(t.StiDataException); t.StiSystemVariableNotRecognizedException = e }(e = t.Exceptions || (t.Exceptions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.System.Collections.List , i = function() { function t() { this._data = new r, this._p = 0, this.range = 0 } return Object.defineProperty(t.prototype, "count", { get: function() { return this._data.length - this._p }, enumerable: !0, configurable: !0 }), t.prototype.get = function(t) { var e = this._p + t; if (e >= this._data.length) throw new Error("queue index " + e + " > last index " + (this._data.length - 1)); if (e < 0) throw new Error("queue index " + e + " < 0"); return e > this.range && (this.range = e), this._data[e] } , t.prototype.dequeue = function() { if (0 == this.count) throw new n("InvalidOperationException"); var t = this.get(0); return this._p++, this._p == this._data.length && this.clear(), t } , t.prototype.enqueue = function(t) { this._data.add(t) } , t.prototype.peek = function() { return this.get(0) } , t.prototype.clear = function() { this._p = 0, this._data.clear() } , t.prototype.toString = function() { for (var t = "", e = this.count, n = 0; n < e; n++) t += this.get(n), n + 1 < e && (t += " "); return t } , t }(); e.FastQueue = i }(n = e.Misc || (e.Misc = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.Action = e; var n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(Function); t.Func = n }(e = t.Misc || (t.Misc = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.System.Collections.List , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.peek = function(t) { void 0 === t && (t = 0); var e; if (!this.tryPeek2(t, e)) throw new n("InvalidOperationException"); return e.item } , e.prototype.tryPeek = function(t) { return this.tryPeek2(0, t) } , e.prototype.tryPeek2 = function(t, e) { if (t >= this.length) return !1; return e.item = this[this.length - t - 1], !0 } , e.prototype.pop = function() { var t; if (!this.tryPop({ item: t })) throw new n("InvalidOperationException"); return t } , e.prototype.tryPop = function(t) { if (0 == this.length) return !1; return t.item = this[this.length - 1], this.removeAt(this.length - 1), !0 } , e }(r); e.ListStack = i }(n = e.Misc || (e.Misc = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e._currentElementIndex = 0, e._eof = null, e } return __extends(e, t), Object.defineProperty(e.prototype, "endOfFile", { get: function() { return this._eof }, set: function(t) { this._eof = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "previousElement", { get: function() { return this._previousElement }, enumerable: !0, configurable: !0 }), e.prototype.reset = function() { this.clear(), this._currentElementIndex = 0, this._p = 0, this._previousElement = null } , e.prototype.nextElement = function() { return null } , e.prototype.isEndOfFile = function(t) { return null } , e.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 } , e.prototype.consume = function() { this.syncAhead(1), this.dequeue(), this._currentElementIndex++ } , e.prototype.syncAhead = function(t) { var e = this._p + t - 1 - this._data.length + 1; e > 0 && this.fill(e) } , e.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(e.prototype, "count", { get: function() { throw new n("streams are of unknown size") }, enumerable: !0, configurable: !0 }), e.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(e.prototype, "index", { get: function() { return this._currentElementIndex }, enumerable: !0, configurable: !0 }), e.prototype.mark = function() { return this._markDepth++, this._lastMarker = this._p, this._lastMarker } , e.prototype.release = function(t) { if (0 == this._markDepth) throw new n("InvalidOperationException"); this._markDepth-- } , e.prototype.rewind2 = function(t) { this._markDepth--; var e = this._p - t; this._currentElementIndex -= e, this._p = t } , e.prototype.rewind = function() { var t = this._p - this._lastMarker; this._currentElementIndex -= t, this._p = this._lastMarker } , e.prototype.seek = function(t) { if (t < 0) throw new n("ArgumentOutOfRangeException"); var e = this._currentElementIndex - t; if (this._p - e < 0) throw new n("can't seek before the beginning of this stream's buffer"); this._p -= e, this._currentElementIndex = t } , e.prototype.lb = function(t) { var e = this._p - t; if (-1 == e) return this._previousElement; if (e >= 0) return this._data[e]; if (e < -1) throw new n("can't look more than one token before the beginning of this stream's buffer"); throw new n("can't look past the end of this stream's buffer using LB(int)") } , e }(e.FastQueue); e.LookaheadStream = r }(n = e.Misc || (e.Misc = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.RegexOptionsHelper = e }(e = t.Misc || (t.Misc = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t) { this._tree = t } return Object.defineProperty(t.prototype, "children", { get: function() { if (null == this._tree || null == this._tree.children) return null; var t = Array.create(null, this._tree.children.length); return this._tree.children.copyTo(t, 0), t }, enumerable: !0, configurable: !0 }), t }(); t.AntlrRuntime_BaseTreeDebugView = e }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var n = function() { function e() {} return e.prototype.implements = function() { return e.ImplementsTreeRuleReturnScope || (e.ImplementsTreeRuleReturnScope = [t.IRuleReturnScope]), e.ImplementsTreeRuleReturnScope } , e }(); e.TreeRuleReturnScope = n }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var n = function(e) { function n() { return null !== e && e.apply(this, arguments) || this } return __extends(n, e), n.prototype.implements = function() { return n.ImplementsAstTreeRuleReturnScope || (n.ImplementsAstTreeRuleReturnScope = e.prototype.implements.call(this).concat([t.IAstRuleReturnScope, t.IAstRuleReturnScope])), n.ImplementsAstTreeRuleReturnScope } , n }(e.TreeRuleReturnScope); e.AstTreeRuleReturnScope = n }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.System.Collections.List , i = function() { function t(t) { this.parent = null, this.childIndex = 0, this.isNil = !1 } return t.prototype.implements = function() { return t.ImplementsBaseTree || (t.ImplementsBaseTree = [e.ITree]), t.ImplementsBaseTree } , Object.defineProperty(t.prototype, "childCount", { get: function() { if (null == this.children) return 0; return this.children.length }, enumerable: !0, configurable: !0 }), t.prototype.getChild = function(t) { if (t < 0) throw new n("ArgumentOutOfRangeException"); if (null == this.children || t >= this.children.length) return null; return this.children[t] } , t.prototype.getFirstChildWithType = function(t) { var e, n; try { for (var r = __values(this.children), i = r.next(); !i.done; i = r.next()) { var o = i.value; if (o.type == t) return 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 } , t.prototype.addChild = function(e) { if (null == e) return; if (e.isNil) { var r = e.stimulsoft.as(t); if (null != r && null != this.children && this.children == r.children) throw new n("attempt to add child list to itself"); if (e.childCount > 0) if (null != this.children || null == r) { null == this.children && (this.children = this.createChildrenList()); for (var i = e.childCount, o = 0; o < i; o++) { var a = e.getChild(o); this.children.add(a), a.parent = this, a.childIndex = this.children.length - 1 } } else this.children = r.children, this.freshenParentAndChildIndexes() } else null == this.children && (this.children = this.createChildrenList()), this.children.add(e), e.parent = this, e.childIndex = this.children.length - 1 } , t.prototype.addChildren = function(t) { var e, r; if (null == t) throw new n("ArgumentNullException"); try { for (var i = __values(t), o = i.next(); !o.done; o = i.next()) { var a = o.value; this.addChild(a) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , t.prototype.setChild = function(t, e) { if (t < 0) throw new n("ArgumentOutOfRangeException"); if (null == e) return; if (e.isNil) throw new n("Can't set single child to a list"); null == this.children && (this.children = this.createChildrenList()), this.children[t] = e, e.parent = this, e.childIndex = t } , t.prototype.insertChild = function(t, e) { if (t < 0) throw new n("ArgumentOutOfRangeException"); if (t > this.childCount) throw new n("ArgumentException"); if (t == this.childCount) return void this.addChild(e); this.children.insert(t, e), this.freshenParentAndChildIndexes(t) } , t.prototype.deleteChild = function(t) { if (t < 0) throw new n("ArgumentOutOfRangeException"); if (t >= this.childCount) throw new n("ArgumentException"); if (null == this.children) return null; var e = this.children[t]; return this.children.removeAt(t), this.freshenParentAndChildIndexes(t), e } , t.prototype.replaceChildren = function(e, i, o) { if (e < 0) throw new n("ArgumentOutOfRangeException"); if (i < 0) throw new n("ArgumentOutOfRangeException"); if (null == o) throw new n("ArgumentNullException"); if (i < e) throw new n("ArgumentException"); if (null == this.children) throw new n("indexes invalid; no children in list"); var a = i - e + 1, s, u = o, l = null; if (u.isNil) { var c = u.stimulsoft.as(t); if (null != c && null != c.children) l = c.children; else { l = this.createChildrenList(); for (var h = u.childCount, p = 0; p < h; p++) l.add(u.getChild(p)) } } else l = new r(1), l.add(u); s = l.length; var f = l.length , m = a - s; if (0 == m) for (var d = 0, p = e; p <= i; p++) { var y = l[d]; this.children[p] = y, y.parent = this, y.childIndex = p, d++ } else if (m > 0) { for (var d = 0; d < f; d++) this.children[e + d] = l[d]; for (var v = e + f, g = v; g <= i; g++) this.children.removeAt(v); this.freshenParentAndChildIndexes(e) } else { for (var d = 0; d < a; d++) this.children[e + d] = l[d]; for (var b = s - a, d = a; d < s; d++) this.children.insert(e + d, l[d]); this.freshenParentAndChildIndexes(e) } } , t.prototype.createChildrenList = function() { return new r } , t.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 } } , t.prototype.freshenParentAndChildIndexesDeeply = function(e) { void 0 === e && (e = 0); for (var n = this.childCount, r = e; r < n; r++) { var i = this.getChild(r); i.childIndex = r, i.parent = this; var o = i.stimulsoft.as(t); null != o && o.freshenParentAndChildIndexesDeeply() } } , t.prototype.sanityCheckParentAndChildIndexes = function(t, e) { if (void 0 === t && (t = null), void 0 === e && (e = -1), t != this.parent) throw new n("parents don't match; expected " + t + " found " + this.parent); if (e != this.childIndex) throw new n("child indexes don't match; expected " + e + " found " + this.childIndex); for (var r = this.childCount, i = 0; i < r; i++) { this.getChild(i).sanityCheckParentAndChildIndexes(this, i) } } , t.prototype.hasAncestor = function(t) { return null != this.getAncestor(t) } , t.prototype.getAncestor = function(t) { var e = this.parent; while (null != e) { if (e.type == t) return e; e = e.parent } return null } , t.prototype.getAncestors = function() { if (null == this.parent) return null; var t = new r , e = this.parent; while (null != e) t.insert(0, e), e = e.parent; return t } , t.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; null != this.children && e < this.children.length; e++) { var n = this.children[e]; e > 0 && (t += " "), t += n.toStringTree() } return this.isNil || (t += ")"), t } , t.prototype.toString = function() { return null } , t.prototype.dupNode = function() { return null } , t }(); e.BaseTree = i }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(n) { var r = t.System.Exception , i = t.System.Collections.Dictionary , o = function() { function t() { this.uniqueNodeID = 1 } return t.prototype.implements = function() { return t.ImplementsBaseTreeAdaptor || (t.ImplementsBaseTreeAdaptor = [n.ITreeAdaptor]), t.ImplementsBaseTreeAdaptor } , t.prototype.nil = function() { return this.create(null) } , t.prototype.errorNode = function(t, e, r, i) { return new n.CommonErrorNode(t,e,r,i) } , t.prototype.isNil = function(t) { return t.isNil } , t.prototype.dupNode = function(t, e, n) { var r = this.dupNode2(e); return this.setType(r, t), this.setText(r, n), r } , t.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 o = this.getChild(t, i) , a = this.dupTree(o, t); this.addChild(n, a) } return n } , t.prototype.addChild = function(t, e) { null != t && null != e && t.addChild(e) } , t.prototype.becomeRoot = function(t, e) { var n = t , i = e; if (null == e) return t; if (n.isNil) { var o = n.childCount; if (1 == o) n = n.getChild(0); else if (o > 1) throw new r("more than one node as root (TODO: make exception hierarchy)") } return n.addChild(i), n } , t.prototype.rulePostProcessing = function(t) { var e = t; return null != e && e.isNil && (0 == e.childCount ? e = null : 1 == e.childCount && (e = e.getChild(0), e.parent = null, e.childIndex = -1)), e } , t.prototype.becomeRoot2 = function(t, e) { return this.becomeRoot(this.create(t), e) } , t.prototype.create5 = function(t, e) { return e = this.createToken(e), e.type = t, this.create(e) } , t.prototype.create2 = function(t, e, n) { if (null == e) return this.create4(t, n); return e = this.createToken(e), e.type = t, e.text = n, this.create(e) } , t.prototype.create3 = function(t, e) { if (null == t) throw new r("ArgumentNullException"); return t = this.createToken(t), t.text = e, this.create(t) } , t.prototype.create4 = function(t, e) { var n = this.createToken2(t, e); return this.create(n) } , t.prototype.getType = function(t) { var n = this.getTree(t); if (null == n) return e.TokenTypes.invalid; return n.type } , t.prototype.setType = function(t, e) { throw new r("don't know enough about Tree node") } , t.prototype.getText = function(t) { var e = this.getTree(t); if (null == e) return null; return e.text } , t.prototype.setText = function(t, e) { throw new r("don't know enough about Tree node") } , t.prototype.getChild = function(t, e) { var n = this.getTree(t); if (null == n) return null; return n.getChild(e) } , t.prototype.setChild = function(t, e, n) { var r = this.getTree(t); if (null == r) return; var i = this.getTree(n); r.setChild(e, i) } , t.prototype.deleteChild = function(t, e) { return t.deleteChild(e) } , t.prototype.getChildCount = function(t) { var e = this.getTree(t); if (null == e) return 0; return e.childCount } , t.prototype.getUniqueID = function(t) { null == this.treeToUniqueIDMap && (this.treeToUniqueIDMap = new i); var e = { ref: null }; if (this.treeToUniqueIDMap.tryGetValue(t, e)) return e.ref; var n = this.uniqueNodeID; return this.treeToUniqueIDMap.set(t, n), this.uniqueNodeID++, n } , t.prototype.createToken2 = function(t, e) { return null } , t.prototype.createToken = function(t) { return null } , t.prototype.create = function(t) { return null } , t.prototype.dupNode2 = function(t) { var e = this.getTree(t); if (null == e) return null; return e.dupNode() } , t.prototype.getToken = function(t) { return null } , t.prototype.setTokenBoundaries = function(t, e, n) { var r = this.getTree(t); if (null == r) return; var i = 0 , o = 0; null != e && (i = e.tokenIndex), null != n && (o = n.tokenIndex), r.tokenStartIndex = i, r.tokenStopIndex = o } , t.prototype.getTokenStartIndex = function(t) { var e = this.getTree(t); if (null == e) return -1; return e.tokenStartIndex } , t.prototype.getTokenStopIndex = function(t) { var e = this.getTree(t); if (null == e) return -1; return e.tokenStopIndex } , t.prototype.getParent = function(t) { var e = this.getTree(t); if (null == e) return null; return e.parent } , t.prototype.setParent = function(t, e) { var n = this.getTree(t); if (null == n) return; var r = this.getTree(e); n.parent = r } , t.prototype.getChildIndex = function(t) { var e = this.getTree(t); if (null == e) return 0; return e.childIndex } , t.prototype.setChildIndex = function(t, e) { var n = this.getTree(t); if (null == n) return; n.childIndex = e } , t.prototype.replaceChildren = function(t, e, n, r) { var i = this.getTree(t); if (null == i) return; i.replaceChildren(e, n, r) } , t.prototype.getTree = function(t) { if (null == t) return null; var e = t.stimulsoft.as(n.ITree); if (null == e) throw new r("NotSupportedException"); return e } , t }(); n.BaseTreeAdaptor = o }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(n) { var r = t.System.Exception , i = t.System.Collections.List , o = t.System.Collections.Stack , a = function() { function t(t, r, o) { 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 n.CommonTreeAdaptor), null == o && (o = this.DEFAULT_INITIAL_BUFFER_SIZE), this.root = r, this.adaptor = t, this.nodes = new i(o), this.down = t.create4(e.TokenTypes.down, "DOWN"), this.up = t.create4(e.TokenTypes.up, "UP"), this.eof = t.create4(e.TokenTypes.endOfFile, "EOF") } return t.prototype.implements = function() { return t.ImplementsBufferedTreeNodeStream || (t.ImplementsBufferedTreeNodeStream = [n.ITreeNodeStream, e.ITokenStreamInformation]), t.ImplementsBufferedTreeNodeStream } , Object.defineProperty(t.prototype, "count", { get: function() { if (-1 == this.p) throw new r("Cannot determine the Count before the buffer is filled."); return this.nodes.length }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "treeSource", { get: function() { return this.root }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "sourceName", { get: function() { return this.tokenStream.sourceName }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tokenStream", { get: function() { return this.tokens }, set: function(t) { this.tokens = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "treeAdaptor", { get: function() { return this.adaptor }, set: function(t) { this.adaptor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "lastToken", { get: function() { return this.treeAdaptor.getToken(this.lb(1)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.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: !0, configurable: !0 }), t.prototype.fillBuffer = function() { this.fillBuffer2(this.root), this.p = 0 } , t.prototype.fillBuffer2 = function(t) { var n = this.adaptor.isNil(t); n || this.nodes.add(t); var r = this.adaptor.getChildCount(t); !n && r > 0 && this.addNavigationNode(e.TokenTypes.down); for (var i = 0; i < r; i++) { var o = this.adaptor.getChild(t, i); this.fillBuffer2(o) } !n && r > 0 && this.addNavigationNode(e.TokenTypes.up) } , t.prototype.getNodeIndex = function(t) { -1 == this.p && this.fillBuffer(); for (var e = 0; e < this.nodes.length; e++) { if (this.nodes[e] == t) return e } return -1 } , t.prototype.addNavigationNode = function(t) { var n = null; n = t == e.TokenTypes.down ? this.uniqueNavigationNodes ? this.adaptor.create4(e.TokenTypes.down, "DOWN") : this.down : this.uniqueNavigationNodes ? this.adaptor.create4(e.TokenTypes.up, "UP") : this.up, this.nodes.add(n) } , t.prototype.get = function(t) { if (-1 == this.p) throw new r("Cannot get the node at index i before the buffer is filled."); return this.nodes[t] } , t.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] } , t.prototype.getCurrentSymbol = function() { return this.lt(1) } , t.prototype.lb = function(t) { if (0 == t) return null; if (this.p - t < 0) return null; return this.nodes[this.p - t] } , t.prototype.consume = function() { -1 == this.p && this.fillBuffer(), this.p++ } , t.prototype.la = function(t) { return this.adaptor.getType(this.lt(t)) } , t.prototype.mark = function() { return -1 == this.p && this.fillBuffer(), this.lastMarker = this.index, this.lastMarker } , t.prototype.release = function(t) {} , Object.defineProperty(t.prototype, "index", { get: function() { return this.p }, enumerable: !0, configurable: !0 }), t.prototype.rewind2 = function(t) { this.seek(t) } , t.prototype.rewind = function() { this.seek(this.lastMarker) } , t.prototype.seek = function(t) { -1 == this.p && this.fillBuffer(), this.p = t } , t.prototype.push = function(t) { null == this.calls && (this.calls = new o), this.calls.push(this.p), this.seek(t) } , t.prototype.pop = function() { var t = this.calls.pop(); return this.seek(t), t } , t.prototype.reset = function() { this.p = 0, this.lastMarker = 0, null != this.calls && this.calls.clear() } , t.prototype.iterator = function() { return -1 == this.p && this.fillBuffer(), new s(this) } , t.prototype.replaceChildren = function(t, e, n, r) { null != t && this.adaptor.replaceChildren(t, e, n, r) } , t.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 } , t.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 } , t.prototype.toString = function(t, n) { if (null == t || null == n) return null; if (-1 == this.p) throw new r("Buffer is not yet filled."); if (null != this.tokens) { var i = this.adaptor.getTokenStartIndex(t) , o = this.adaptor.getTokenStopIndex(n); return this.adaptor.getType(n) == e.TokenTypes.up ? o = this.adaptor.getTokenStopIndex(t) : this.adaptor.getType(n) == e.TokenTypes.endOfFile && (o = this.count - 2), this.tokens.toString(i, o) } for (var a = null, s = 0; s < this.nodes.length; s++) if ((a = this.nodes[s]) == t) break; var u = ""; a = this.nodes[s]; while (a != n) { var l = this.adaptor.getText(a); null == l && (l = " " + this.adaptor.getType(a).toString()), u += l, s++, a = this.nodes[s] } var c = this.adaptor.getText(n); return null == c && (c = " " + this.adaptor.getType(n).toString()), u += c } , t }(); n.BufferedTreeNodeStream = a; var s = function(t) { function e(e) { var n = t.call(this) || this; return n._outer = e, n._index = -1, n } return __extends(e, t), Object.defineProperty(e.prototype, "current", { get: function() { if (this._index < this._outer.nodes.length) return this._outer.nodes[this._index]; return this._outer.eof }, enumerable: !0, configurable: !0 }), e.prototype.dispose = function() {} , e.prototype.moveNext = function() { return this._index < this._outer.nodes.length && this._index++, this._index < this._outer.nodes.length } , e.prototype.reset = function() { this._index = -1 } , e }(i); n.StreamIterator = s }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(n) { var r = t.System.Exception , i = function(t) { function n(e) { var i = t.call(this) || this; if (i.startIndex = -1, i.stopIndex = -1, i.childIndex = -1, null != e && e.stimulsoft.is(n)) { if (null == e) throw new r("ArgumentNullException"); i.token = e.token, i.startIndex = e.startIndex, i.stopIndex = e.stopIndex } else i.token = e; return i } return __extends(n, t), Object.defineProperty(n.prototype, "isNil", { get: function() { return null == this.token }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "text", { get: function() { if (null == this.token) return null; return this.token.text }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.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: !0, configurable: !0 }), Object.defineProperty(n.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: !0, configurable: !0 }), Object.defineProperty(n.prototype, "type", { get: function() { if (null == this.token) return e.TokenTypes.invalid; return this.token.type }, enumerable: !0, configurable: !0 }), n.prototype.dupNode = function() { return new n(this) } , n.prototype.setUnknownTokenBoundaries = function() { var t, e; if (null == this.children) return void ((this.startIndex < 0 || this.stopIndex < 0) && (this.startIndex = this.stopIndex = this.token.tokenIndex)); try { for (var r = __values(this.children), i = r.next(); !i.done; i = r.next()) { var o = i.value , a = o.stimulsoft.as(n); if (null == a) continue; a.setUnknownTokenBoundaries() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } if (this.startIndex >= 0 && this.stopIndex >= 0) return; if (this.children.length > 0) { var s = this.children[0] , u = this.children[this.children.length - 1]; this.startIndex = s.tokenStartIndex, this.stopIndex = u.tokenStopIndex } } , n.prototype.toString = function() { if (this.isNil) return "nil"; if (this.type == e.TokenTypes.invalid) return ""; if (null == this.token) return ""; return this.token.text } , n }(n.BaseTree); n.CommonTree = i }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var n = function(n) { function r(e, r, i, o) { var a = n.call(this) || this; return a.isNil = !1, (null == i || i.tokenIndex < r.tokenIndex && i.type != t.TokenTypes.endOfFile) && (i = r), a.input = e, a.start = r, a.stop = i, a.trappedException = o, a } return __extends(r, n), Object.defineProperty(r.prototype, "text", { get: function() { var n = null; if (this.start.stimulsoft.is(t.IToken)) { var r = this.start.tokenIndex , i = this.stop.tokenIndex; this.stop.type == t.TokenTypes.endOfFile && (i = this.input.count), n = this.input.toString(r, i) } else n = this.start.stimulsoft.is(e.ITree) ? this.input.toString(this.start, this.stop) : ""; return n }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "type", { get: function() { return t.TokenTypes.invalid }, enumerable: !0, configurable: !0 }), r.prototype.toString = function() { if (this.trappedException.stimulsoft.is(t.MissingTokenException)) return ""; if (this.trappedException.stimulsoft.is(t.UnwantedTokenException)) return ""; if (this.trappedException.stimulsoft.is(t.MismatchedTokenException)) return ""; if (this.trappedException.stimulsoft.is(t.NoViableAltException)) return ""; return "" } , r }(e.CommonTree); e.CommonErrorNode = n }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var n = function(n) { function r() { return null !== n && n.apply(this, arguments) || this } return __extends(r, n), r.prototype.create = function(t) { return new e.CommonTree(t) } , r.prototype.createToken2 = function(e, n) { return t.CommonToken.create3(e, n) } , r.prototype.createToken = function(e) { return t.CommonToken.create4(e) } , r.prototype.getToken = function(t) { if (t.stimulsoft.is(e.CommonTree)) return t.token; return null } , r }(e.BaseTreeAdaptor); e.CommonTreeAdaptor = n }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(n) { var r = t.System.Collections.Stack , i = function(t) { function i(e, r) { var i = t.call(this) || this; return i.DEFAULT_INITIAL_BUFFER_SIZE = 100, i.INITIAL_CALL_STACK_SIZE = 10, i._hasNilRoot = !1, i._level = 0, i.uniqueNavigationNodes = !1, i._root = r, i._adaptor = e, i._it = new n.TreeIterator(e,i._root), i } return __extends(i, t), i.prototype.implements = function() { return i.ImplementsCommonTreeNodeStream || (i.ImplementsCommonTreeNodeStream = [n.ITreeNodeStream, n.IPositionTrackingStream]), i.ImplementsCommonTreeNodeStream } , Object.defineProperty(i.prototype, "sourceName", { get: function() { if (null == this.tokenStream) return null; return this.tokenStream.sourceName }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "tokenStream", { get: function() { return this.tokens }, set: function(t) { this.tokens = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "treeAdaptor", { get: function() { return this._adaptor }, set: function(t) { this._adaptor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "treeSource", { get: function() { return this._root }, enumerable: !0, configurable: !0 }), i.prototype.reset = function() { t.prototype.reset.call(this), this._it.reset(), this._hasNilRoot = !1, this._level = 0, this._previousLocationElement = null, null != this._calls && this._calls.clear() } , i.prototype.nextElement = function() { this._it.moveNext(); var t = this._it.current; if (t == this._it.up) { if (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 } , i.prototype.dequeue = function() { var e = t.prototype.dequeue.call(this); return 0 == this._p && this.hasPositionInformation(this.previousElement) && (this._previousLocationElement = this.previousElement), e } , i.prototype.isEndOfFile = function(t) { return this.treeAdaptor.getType(t) == e.CharStreamConstants.endOfFile } , i.prototype.la = function(t) { return this.treeAdaptor.getType(this.lt(t)) } , i.prototype.push = function(t) { null == this._calls && (this._calls = new r), this._calls.push(this._p), this.seek(t) } , i.prototype.pop = function() { var t = this._calls.pop(); return this.seek(t), t } , i.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; n >= 0; n--) if (e = this._data[n], this.hasPositionInformation(e)) return e; return this._previousLocationElement } , i.prototype.hasPositionInformation = function(t) { var e = this.treeAdaptor.getToken(t); if (null == e) return !1; if (e.line <= 0) return !1; return !0 } , i.prototype.replaceChildren = function(t, e, n, r) { null != t && this.treeAdaptor.replaceChildren(t, e, n, r) } , i.prototype.toString1 = function(t, e) { return "n/a" } , i.prototype.toTokenTypeString = function() { this.reset(); var t = "" , n = this.lt(1) , r = this.treeAdaptor.getType(n); while (r != e.TokenTypes.endOfFile) t += " ", t += r, this.consume(), n = this.lt(1), r = this.treeAdaptor.getType(n); return t } , i }(e.Misc.LookaheadStream); n.CommonTreeNodeStream = i }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.Collections.Dictionary , i = function() { function t() { 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 r, this.nodeNumber = 0 } return t.prototype.toDot2 = function(t, e) { var n, r, i, o, a, s, u = ""; try { for (var l = __values(this.headerLines), c = l.next(); !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 h = this.defineNodes(t, e); this.nodeNumber = 0; var p = this.defineEdges(t, e); try { for (var f = __values(h), m = f.next(); !m.done; m = f.next()) { var d = m.value; u += d + "\r\n" } } catch (t) { i = { error: t } } finally { try { m && !m.done && (o = f.return) && o.call(f) } finally { if (i) throw i.error } } u += "\r\n"; try { for (var y = __values(p), v = y.next(); !v.done; v = y.next()) { var d = v.value; u += d + "\r\n" } } catch (t) { a = { error: t } } finally { try { v && !v.done && (s = y.return) && s.call(y) } finally { if (a) throw a.error } } return u += "\r\n", u += this.footer + "\r\n" } , t.prototype.toDot = function(t) { return this.toDot2(t, new e.CommonTreeAdaptor) } , t.prototype.defineNodes = function(t, e) { return null } , t.prototype.defineEdges = function(t, e) { return null } , t.prototype.getNodeText = function(t, e) { var r = t.getText(e) , i = "n" + this.getNodeNumber(e); return n.format(this.nodeFormat, i, this.fixString(r)) } , t.prototype.getNodeNumber = function(t) { var e = { ref: null }; return this.nodeToNumberMap.tryGetValue(t, e) ? e.ref : (this.nodeToNumberMap.set(t, this.nodeNumber), ++this.nodeNumber - 1) } , t.prototype.fixString = function(t) { return null != t && (t = t.stimulsoft.replaceAll('"', '\\\\"'), t = t.stimulsoft.replaceAll("\\t", " "), t = t.stimulsoft.replaceAll("\\n", "\\\\n"), t = t.stimulsoft.replaceAll("\\r", "\\\\r"), t.length > 20 && (t = t.substring(0, 8) + "..." + t.substring(t.length - 8))), t } , t }(); e.DotTreeGenerator = i }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IPositionTrackingStream = "IPositionTrackingStream" }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.ITree = "ITree" }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.ITreeAdaptor = "ITreeAdaptor" }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.ITreeNodeStream = "ITreeNodeStream" }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.ITreeVisitorAction = "ITreeVisitorAction"; var e = function() { function e() {} return e.prototype.implements = function() { return e.ImplementsTreeVisitorAction || (e.ImplementsTreeVisitorAction = [t.ITreeVisitorAction]), e.ImplementsTreeVisitorAction } , e.prototype.pre = function(t) { return t } , e.prototype.post = function(t) { return t } , e }(); t.TreeVisitorAction = e }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var n = function(e) { function n(t) { var n = e.call(this) || this; return n.tokenStartIndex = 0, n.tokenStopIndex = 0, n.type = 0, n.payload = t, n } return __extends(n, e), Object.defineProperty(n.prototype, "text", { get: function() { return this.toString() }, enumerable: !0, configurable: !0 }), n.prototype.dupNode = function() { return null } , n.prototype.toString = function() { if (this.payload.stimulsoft.is(t.IToken)) { var e = this.payload; if (e.type == t.TokenTypes.endOfFile) return ""; return e.text } return this.payload.toString() } , n.prototype.toStringWithHiddenTokens = function() { var t = ""; if (null != this.hiddenTokens) for (var e = 0; e < this.hiddenTokens.length; e++) { var n = this.hiddenTokens[e]; t += n.text } var r = this.toString(); return "" != r && (t += r), t } , n.prototype.toInputString = function() { var t = ""; return this.toStringLeaves(t), t } , n.prototype.toStringLeaves = function(e) { if (this.payload.stimulsoft.is(t.IToken)) return void (e += this.toStringWithHiddenTokens()); for (var n = 0; null != this.children && n < this.children.length; n++) { this.children[n].toStringLeaves(e) } } , n }(e.BaseTree); e.ParseTree = n }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = function(t) { function e(e, n, r) { var i = t.call(this, e, r) || this; return i._elementDescription = n, i } return __extends(e, t), e }(n); e.RewriteCardinalityException = r }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r) { return t.call(this, e, n, r) || this } return __extends(e, t), e }(t.RewriteCardinalityException); t.RewriteEarlyExitException = e }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r) { return t.call(this, e, n, r) || this } return __extends(e, t), e }(t.RewriteCardinalityException); t.RewriteEmptyStreamException = e }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Collections.List , r = function() { function t(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) } return t.prototype.reset = function() { this.cursor = 0, this.dirty = !0 } , t.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 n(5), this.elements.add(this.singleElement), this.singleElement = null, this.elements.add(t) } , t.prototype.nextTree = function() { var t = this.count; if (this.dirty || this.cursor >= t && 1 == t) { var e = this.nextCore(); return this.dup(e) } return this.nextCore() } , t.prototype.nextCore = function() { var t = this.count; if (0 == t) throw new e.RewriteEmptyStreamException(this.elementDescription); if (this.cursor >= t) { if (1 == t) return this.toTree(this.singleElement); throw new e.RewriteCardinalityException(this.elementDescription) } if (null != this.singleElement) return this.cursor++, this.toTree(this.singleElement); var n = this.toTree(this.elements[this.cursor]); return this.cursor++, n } , t.prototype.dup = function(t) { return null } , t.prototype.toTree = function(t) { return t } , Object.defineProperty(t.prototype, "hasNext", { get: function() { return null != this.singleElement && this.cursor < 1 || null != this.elements && this.cursor < this.elements.length }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "count", { get: function() { var t = 0; if (null != this.singleElement && (t = 1), null != this.elements) return this.elements.length; return t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "description", { get: function() { return this.elementDescription }, enumerable: !0, configurable: !0 }), t }(); e.RewriteRuleElementStream = r }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = function(t) { function e(e, n, r, i) { return t.call(this, e, n, r, i) || this } return __extends(e, t), e.prototype.nextNode = function() { return this.nextCore() } , e.prototype.toTree = function(t) { return this.adaptor.dupNode(t) } , e.prototype.dup = function(t) { throw new n("dup can't be called for a node stream.") } , e }(e.RewriteRuleElementStream); e.RewriteRuleNodeStream = r }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r, i) { return t.call(this, e, n, r, i) || this } return __extends(e, t), e.prototype.nextNode = function() { var t = this.count; if (this.dirty || this.cursor >= t && 1 == t) { var e = this.nextCore(); return this.adaptor.dupNode(e) } var n = this.nextCore(); while (this.adaptor.isNil(n) && 1 == this.adaptor.getChildCount(n)) n = this.adaptor.getChild(n, 0); return this.adaptor.dupNode(n) } , e.prototype.dup = function(t) { return this.adaptor.dupTree(t) } , e }(t.RewriteRuleElementStream); t.RewriteRuleSubtreeStream = e }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = function(t) { function e(e, n, r, i) { return t.call(this, e, n, r, i) || this } return __extends(e, t), e.prototype.nextNode = function() { var t = this.nextCore(); return this.adaptor.create(t) } , e.prototype.nextToken = function() { return this.nextCore() } , e.prototype.toTree = function(t) { return t } , e.prototype.dup = function(t) { throw new n("dup can't be called for a token stream.") } , e }(e.RewriteRuleElementStream); e.RewriteRuleTokenStream = r }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var n = function(e) { function n() { return null !== e && e.apply(this, arguments) || this } return __extends(n, e), n.prototype.implements = function() { return n.ImplementsTemplateTreeRuleReturnScope || (n.ImplementsTemplateTreeRuleReturnScope = e.prototype.implements.call(this).concat([t.ITemplateRuleReturnScope, t.ITemplateRuleReturnScope])), n.ImplementsTemplateTreeRuleReturnScope } , n }(e.TreeRuleReturnScope); e.TemplateTreeRuleReturnScope = n }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Collections.List , r = t.System.Collections.Dictionary , i = function() { function t(t) { this.memoRuleFailed = -2, this.memoRuleUnknown = -1, this.defaultTokenChannel = e.TokenChannels.default, this.hidden = e.TokenChannels.hidden, this.nextTokenRuleName = "nextToken", this.tokenNames = null, null == this.state && (this.state = new e.RecognizerSharedState), this.state = this.state, this.initDFAs() } return t.prototype.setState = function(t) { this.state = t } , t.prototype.initDFAs = function() {} , t.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, this.state.backtracking = 0; for (var t = 0; null != this.state.ruleMemo && t < this.state.ruleMemo.length; t++) this.state.ruleMemo[t] = null } , t.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 (this.state.backtracking > 0) return this.state.failed = !0, r; return r = this.recoverFromMismatchedToken(t, e, n) } , t.prototype.matchAny = function(t) { this.state.errorRecovery = !1, this.state.failed = !1, t.consume() } , t.prototype.mismatchIsUnwantedToken = function(t, e) { return t.la(2) == e } , t.prototype.mismatchIsMissingToken = function(t, n) { if (null == n) return !1; if (n.member(e.TokenTypes.endOfRule)) { var r = this.computeContextSensitiveRuleFOLLOW(); n = n.or(r), this.state._fsp >= 0 && n.remove(e.TokenTypes.endOfRule) } if (n.member(t.la(1)) || n.member(e.TokenTypes.endOfRule)) return !0; return !1 } , t.prototype.reportError = function(t) { if (this.state.errorRecovery) return; this.state.syntaxErrors++, this.state.errorRecovery = !0, this.displayRecognitionError(this.tokenNames, t) } , t.prototype.displayRecognitionError = function(t, e) { var n = this.getErrorHeader(e) , r = this.getErrorMessage(e, t); this.emitErrorMessage(n + " " + r) } , t.prototype.getErrorMessage = function(t, n) { var r = t.message; if (t.stimulsoft.is(e.UnwantedTokenException)) { var i = t , o = ""; o = i.expecting == e.TokenTypes.endOfFile ? "EndOfFile" : n[i.expecting], r = "extraneous input " + this.getTokenErrorDisplay(i.unexpectedToken) + " expecting " + o } else if (t.stimulsoft.is(e.MissingTokenException)) { var a = t , o = ""; o = a.expecting == e.TokenTypes.endOfFile ? "EndOfFile" : n[a.expecting], r = "missing " + o + " at " + this.getTokenErrorDisplay(t.token) } else if (t.stimulsoft.is(e.MismatchedTokenException)) { var a = t , o = ""; o = a.expecting == e.TokenTypes.endOfFile ? "EndOfFile" : n[a.expecting], r = "mismatched input " + this.getTokenErrorDisplay(t.token) + " expecting " + o } else if (t.stimulsoft.is(e.MismatchedTreeNodeException)) { var s = t , o = ""; o = s.expecting == e.TokenTypes.endOfFile ? "EndOfFile" : n[s.expecting]; var u = null != s.node ? s.node.toString() : ""; r = "mismatched tree node: " + u + " expecting " + o } else if (t.stimulsoft.is(e.NoViableAltException)) r = "no viable alternative at input " + this.getTokenErrorDisplay(t.token); else if (t.stimulsoft.is(e.EarlyExitException)) r = "required (...)+ loop did not match anything at input " + this.getTokenErrorDisplay(t.token); else if (t.stimulsoft.is(e.MismatchedSetException)) { var l = t; r = "mismatched input " + this.getTokenErrorDisplay(t.token) + " expecting set " + l.expecting } else if (t.stimulsoft.is(e.MismatchedNotSetException)) { var l = t; r = "mismatched input " + this.getTokenErrorDisplay(t.token) + " expecting set " + l.expecting } else if (t.stimulsoft.is(e.FailedPredicateException)) { var c = t; r = "rule " + c.ruleName + " failed predicate: {" + c.predicateText + "}?" } return r } , Object.defineProperty(t.prototype, "numberOfSyntaxErrors", { get: function() { return this.state.syntaxErrors }, enumerable: !0, configurable: !0 }), t.prototype.getErrorHeader = function(t) { var e = null != this.sourceName ? this.sourceName : ""; return e.length > 0 && (e += " "), e + "line " + t.line + ":" + (t.charPositionInLine + 1) } , t.prototype.getTokenErrorDisplay = function(t) { var n = t.text; return null == n && (n = t.type == e.TokenTypes.endOfFile ? "" : "<" + t.type + ">"), n = n.stimulsoft.replaceAll("\n", "\\\\n"), n = n.stimulsoft.replaceAll("\r", "\\\\r"), "'" + (n = n.stimulsoft.replaceAll("\t", "\\\\t")) + "'" } , t.prototype.emitErrorMessage = function(t) {} , t.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() } , t.prototype.beginResync = function() {} , t.prototype.endResync = function() {} , t.prototype.computeErrorRecoverySet = function() { return this.combineFollows(!1) } , t.prototype.computeContextSensitiveRuleFOLLOW = function() { return this.combineFollows(!0) } , t.prototype.combineFollows = function(t) { for (var n = this.state._fsp, r = new e.BitSet, i = n; i >= 0; i--) { var o = this.state.following[i]; if (r.orInPlace(o), t) { if (!o.member(e.TokenTypes.endOfRule)) break; i > 0 && r.remove(e.TokenTypes.endOfRule) } } return r } , t.prototype.recoverFromMismatchedToken = function(t, n, r) { var i = null; if (this.mismatchIsUnwantedToken(t, n)) { i = new e.UnwantedTokenException(null,n,t,this.tokenNames.toList()), this.beginResync(), t.consume(), this.endResync(), this.reportError(i); var o = this.getCurrentInputSymbol(t); return t.consume(), o } if (this.mismatchIsMissingToken(t, r)) { var a = this.getMissingSymbol(t, i, n, r); return i = new e.MissingTokenException(null,n,t,a), this.reportError(i), a } throw i = new e.MismatchedTokenException(null,n,t,this.tokenNames.toList()) } , t.prototype.recoverFromMismatchedSet = function(t, n, r) { if (this.mismatchIsMissingToken(t, r)) return this.reportError(n), this.getMissingSymbol(t, n, e.TokenTypes.invalid, r); throw n } , t.prototype.getCurrentInputSymbol = function(t) { return null } , t.prototype.getMissingSymbol = function(t, e, n, r) { return null } , t.prototype.consumeUntil = function(t, n) { var r = t.la(1); while (r != e.TokenTypes.endOfFile && r != n) t.consume(), r = t.la(1) } , t.prototype.consumeUntil2 = function(t, n) { var r = t.la(1); while (r != e.TokenTypes.endOfFile && !n.member(r)) t.consume(), r = t.la(1) } , t.prototype.pushFollow = function(t) { this.state._fsp + 1 >= this.state.following.length && this.state.following.addRange(Array.create(e.BitSet, this.state.following.length)), this.state.following[++this.state._fsp] = t } , t.prototype.popFollow = function() { this.state._fsp-- } , Object.defineProperty(t.prototype, "backtrackingLevel", { get: function() { return this.state.backtracking }, set: function(t) { this.state.backtracking = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "failed", { get: function() { return this.state.failed }, enumerable: !0, configurable: !0 }), t.prototype.toStrings = function(t) { var e, r; if (null == t) return null; var i = new n(t.length); try { for (var o = __values(t), a = o.next(); !a.done; a = o.next()) { var s = a.value; i.add(s.text) } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } return i } , t.prototype.getRuleMemoization = function(t, e) { null == this.state.ruleMemo[t] && (this.state.ruleMemo[t] = new r); var n = { ref: null }; if (!this.state.ruleMemo[t].tryGetValue(e, n)) return this.memoRuleUnknown; return n.ref } , t.prototype.alreadyParsedRule = function(t, e) { var n = this.getRuleMemoization(e, t.index); if (n == this.memoRuleUnknown) return !1; return n == this.memoRuleFailed ? this.state.failed = !0 : t.seek(n + 1), !0 } , t.prototype.memoize = function(t, e, n) { var r = 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, r) } , t.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 } , t.initialFollowStackSize = 100, t }(); e.BaseRecognizer = i }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var n = function(e) { function n(n, r) { var i = e.call(this, r) || this; return i.DOWN = t.TokenTypes.down, i.UP = t.TokenTypes.up, i.input = n, i } return __extends(n, e), n.prototype.reset = function() { e.prototype.reset.call(this), null != this.input && this.input.seek(0) } , n.prototype.setTreeNodeStream = function(t) { this.input = t } , n.prototype.getTreeNodeStream = function() { return this.input } , Object.defineProperty(n.prototype, "sourceName", { get: function() { return this.input.sourceName }, enumerable: !0, configurable: !0 }), n.prototype.getCurrentInputSymbol = function(t) { return t.lt(1) } , n.prototype.getMissingSymbol = function(e, n, r, i) { var o = ""; return n.input.treeAdaptor.create(t.CommonToken.create3(r, o)) } , n.prototype.matchAny = function(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 (n > 0) { switch (this.input.la(1)) { case this.DOWN: n++; break; case this.UP: n--; break; case t.TokenTypes.endOfFile: return; default: break } this.input.consume() } } } , n.prototype.recoverFromMismatchedToken = function(e, n, r) { throw new t.MismatchedTreeNodeException("",n,e) } , n.prototype.getErrorHeader = function(t) { return this.grammarFileName + ": node from " + (t.approximateLineInfo ? "after " : "") + "line " + t.line + ":" + t.charPositionInLine } , n.prototype.getErrorMessage = function(r, i) { if (this.stimulsoft.is(n)) { var o = r.input.treeAdaptor; r.token = o.getToken(r.node), null == r.token && (r.token = t.CommonToken.create3(o.getType(r.node), o.getText(r.node))) } return e.prototype.getErrorMessage.call(this, r, i) } , n.dotdot = ".*[^.]\\.\\.[^.].*", n.doubleEtc = ".*\\.\\.\\.\\s+\\.\\.\\..*", n }(t.BaseRecognizer); e.TreeParser = n }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var n = function(e) { function n(n, r) { var i = this; return null == r && (r = new t.RecognizerSharedState), i = e.call(this, n, r) || this, i.originalAdaptor = n.treeAdaptor, i.originalTokenStream = n.tokenStream, i } return __extends(n, e), n.prototype.applyOnce = function(t, e) {} , n.prototype.downup = function(t) {} , n.prototype.topdown = function() {} , n.prototype.bottomup = function() {} , n }(e.TreeParser); e.TreeFilter = n }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(n) { var r = t.System.Collections.List , i = t.System.Collections.Queue , o = function(t) { function n(n, r) { var o = t.call(this) || this; return o.firstTime = !0, o.adaptor = n, o.tree = r, o.root = r, o.nodes = new i, o.down = n.create4(e.TokenTypes.down, "DOWN"), o.up = n.create4(e.TokenTypes.up, "UP"), o.eof = n.create4(e.TokenTypes.endOfFile, "EOF"), o } return __extends(n, t), n.prototype.dispose = function() {} , n.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 && this.nodes.count > 0) this.current = this.nodes.dequeue(); else if (null == this.tree) this.current = this.eof; else if (this.adaptor.getChildCount(this.tree) > 0) 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); 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); if (null == t) this.tree = null, this.nodes.enqueue(this.eof), this.current = this.nodes.dequeue(); else { var 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 n = this.current != this.eof || !this.reachedEof; return this.reachedEof = this.current == this.eof, n } , n.prototype.reset = function() { this.firstTime = !0, this.tree = this.root, this.nodes.clear() } , n }(r); n.TreeIterator = o }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var n = function() { function e(t) { this.p = -1, this.sval = "", this.error = !1, this.pattern = t, this.n = t.length, this.consume() } return e.prototype.nextToken = function() { this.sval = ""; while (this.c != t.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 e.id } if (this.c == "(".charCodeAt(0)) return this.consume(), e.begin; if (this.c == ")".charCodeAt(0)) return this.consume(), e.end; if (this.c == "%".charCodeAt(0)) return this.consume(), e.percent; if (this.c == ":".charCodeAt(0)) return this.consume(), e.colon; if (this.c == ".".charCodeAt(0)) return this.consume(), e.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.sval += String.fromCharCode(this.c), this.consume(); return this.consume(), e.arg } return this.consume(), this.error = !0, t.CharStreamConstants.endOfFile } return t.CharStreamConstants.endOfFile } , e.prototype.consume = function() { this.p++, this.p >= this.n ? this.c = t.CharStreamConstants.endOfFile : this.c = this.pattern[this.p].charCodeAt(0) } , e.begin = 1, e.end = 2, e.id = 3, e.arg = 4, e.percent = 5, e.colon = 6, e.dot = 7, e }(); e.TreePatternLexer = n }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(n) { var r = t.System.Exception , i = t.System.Type , o = function() { function t(t, e, n) { this.tokenizer = t, this.wizard = e, this.adaptor = n, this.ttype = t.nextToken() } return t.prototype.pattern = function() { if (this.ttype == n.TreePatternLexer.begin) return this.parseTree(); if (this.ttype == n.TreePatternLexer.id) { var t = this.parseNode(); if (this.ttype == e.CharStreamConstants.endOfFile) return t; return null } return null } , t.prototype.parseTree = function() { if (this.ttype != n.TreePatternLexer.begin) throw new r("No beginning."); this.ttype = this.tokenizer.nextToken(); var t = this.parseNode(); if (null == t) return null; while (this.ttype == n.TreePatternLexer.begin || this.ttype == n.TreePatternLexer.id || this.ttype == n.TreePatternLexer.percent || this.ttype == n.TreePatternLexer.dot) if (this.ttype == n.TreePatternLexer.begin) { var e = this.parseTree(); this.adaptor.addChild(t, e) } else { var i = this.parseNode(); if (null == i) return null; this.adaptor.addChild(t, i) } if (this.ttype != n.TreePatternLexer.end) throw new r("No end."); return this.ttype = this.tokenizer.nextToken(), t } , t.prototype.parseNode = function() { var t = null; if (this.ttype == n.TreePatternLexer.percent) { if (this.ttype = this.tokenizer.nextToken(), this.ttype != n.TreePatternLexer.id) return null; if (t = this.tokenizer.sval.toString(), this.ttype = this.tokenizer.nextToken(), this.ttype != n.TreePatternLexer.colon) return null; this.ttype = this.tokenizer.nextToken() } if (this.ttype == n.TreePatternLexer.dot) { this.ttype = this.tokenizer.nextToken(); var r = e.CommonToken.create3(0, ".") , o = new n.WildcardTreePattern(r); return null != t && (o.label = t), o } if (this.ttype != n.TreePatternLexer.id) return null; var a = this.tokenizer.sval.toString(); if (this.ttype = this.tokenizer.nextToken(), "nil" == a) return this.adaptor.nil(); var s = a , u = null; this.ttype == n.TreePatternLexer.arg && (u = this.tokenizer.sval.toString(), s = u, this.ttype = this.tokenizer.nextToken()); var l = this.wizard.getTokenType(a); if (l == e.TokenTypes.invalid) return null; var c; return c = this.adaptor.create4(l, s), null != t && i.getType(c) == n.TreePattern && (c.label = t), null != u && i.getType(c) == n.TreePattern && (c.hasTextArg = !0), c } , t }(); n.TreePatternParser = o }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var n = function(n) { function r(t, e) { var r = n.call(this, t, e) || this; return r.originalAdaptor = t.treeAdaptor, r.originalTokenStream = t.tokenStream, r.topdown_func = function() { return r.topdown() } , r.bottomup_func = function() { return r.bottomup() } , r } return __extends(r, n), r.prototype.applyOnce = function(n, r) { if (null == n) return null; try { this.setState(new t.RecognizerSharedState), this.setTreeNodeStream(new e.CommonTreeNodeStream(this.originalAdaptor,n)), this.input.tokenStream = this.originalTokenStream, this.backtrackingLevel = 1; var i = r(); if (this.backtrackingLevel = 0, this.failed) return n; return this.showTransformations && null != i && !n.Equals(i.Tree) && null != i.Tree && this.reportTransformation(n, i.Tree), null != i && null != i.Tree ? i.Tree : n } catch (t) {} return n } , r.prototype.applyRepeatedly = function(t, e) { var n = !0; while (n) { var r = this.applyOnce(t, e); n = !t.equals(r), t = r } return t } , r.prototype.downup = function(t, n) { void 0 === n && (n = !1), this.showTransformations = n; var r = new e.TreeVisitor(new e.CommonTreeAdaptor); return t } , r.prototype.topdown = function() { return null } , r.prototype.bottomup = function() { return null } , r.prototype.reportTransformation = function(t, n) { var r = t.stimulsoft.as(e.ITree) , i = n.stimulsoft.as(e.ITree) , o = null != r ? r.toStringTree() : "??" , a = null != i ? i.toStringTree() : "??" } , r }(e.TreeParser); e.TreeRewriter = n }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(e) { null == e && (e = new t.CommonTreeAdaptor), this.adaptor = e } return e.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 } , e }(); t.TreeVisitor = e }(e = t.Tree || (t.Tree = {})) }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(n) { var r = t.System.Collections.Dictionary , i = t.System.Collections.List , o = t.System.Type , a = function() { function t() {} return t.prototype.computeTokenTypes = function(t) { var n = new r; if (null == t) return n; for (var i = e.TokenTypes.min; i < t.length; i++) { var o = t[i]; n.set(o, i) } return n } , t.prototype.getTokenType = function(t) { if (null == this.tokenNameToTypeMap) return e.TokenTypes.invalid; var n = { ref: null }; if (this.tokenNameToTypeMap.tryGetValue(t, n)) return n.ref; return e.TokenTypes.invalid } , t.prototype.index = function(t) { var e = new r; return this.indexCore(t, e), e } , t.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 i, e.set(n, r.ref)), r.ref.add(t); for (var o = this.adaptor.getChildCount(t), a = 0; a < o; a++) { var s = this.adaptor.getChild(t, a); this.indexCore(s, e) } } , t.prototype.find = function(t, e) { var n = new i; return this.visit(t, e, new p(n)), n } , t.prototype.find2 = function(t, e) { var r = new i , a = new n.TreePatternLexer(e) , s = new n.TreePatternParser(a,this,new h) , u = s.pattern(); if (null == u || u.isNil || o.getType(u) == c) return null; var l = u.type; return this.visit(t, l, new f(this,u,r)), r } , t.prototype.findFirst = function(t, e) { return null } , t.prototype.findFirst2 = function(t, e) { return null } , t.prototype.visit = function(t, e, n) { this.visitCore(t, null, 0, e, n) } , t.prototype.visit2 = function(t, e, n) { this.visit(t, e, new u(n)) } , t.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 o = this.adaptor.getChildCount(t), a = 0; a < o; a++) { var s = this.adaptor.getChild(t, a); this.visitCore(s, t, a, r, i) } } , t.prototype.visit3 = function(t, e, i) { var a = new n.TreePatternLexer(e) , s = new n.TreePatternParser(a,this,new h) , u = s.pattern(); if (null == u || u.isNil || o.getType(u) == c) return; var l = new r , p = u.type; this.visit(t, p, new m(this,i,l,u)) } , t.prototype.parse = function(t, e, r) { var i = new n.TreePatternLexer(e) , o = new n.TreePatternParser(i,this,new h) , a = o.pattern(); return this.parseCore(t, a, r) } , t.prototype.parse2 = function(t, e) { return this.parse(t, e, null) } , t.prototype.parseCore = function(t, e, n) { if (null == t || null == e) return !1; if (o.getType(e) != c) { 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); if (r != e.childCount) return !1; for (var i = 0; i < r; i++) { var a = this.adaptor.getChild(t, i) , s = e.getChild(i); if (!this.parseCore(a, s, n)) return !1 } return !0 } , t.prototype.create = function(t) { var e = new n.TreePatternLexer(t); return new n.TreePatternParser(e,this,this.adaptor).pattern() } , t.equals = function(t, e, n) { return this.equalsCore(t, e, n) } , t.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); if (r != n.getChildCount(e)) return !1; for (var i = 0; i < r; i++) { var o = n.getChild(t, i) , a = n.getChild(e, i); if (!this.equalsCore(o, a, n)) return !1 } return !0 } , t }(); n.TreeWizard = a, n.IContextVisitor = "IContextVisitor"; var s = function() { function t() {} return t.prototype.implements = function() { return t.ImplementsVisitor || (t.ImplementsVisitor = [n.IContextVisitor]), t.ImplementsVisitor } , t.prototype.visit2 = function(t, e, n, r) { this.visit(t) } , t.prototype.visit = function(t) {} , t }(); n.Visitor = s; var u = function(t) { function e(e) { var n = t.call(this) || this; return n._action = e, n } return __extends(e, t), e.prototype.visit = function(t) {} , e }(s); n.ActionVisitor = u; var l = function(t) { function e(e) { return t.call(this, e) || this } return __extends(e, t), e.prototype.toString = function() { return null != this.label ? "%" + this.label + ":" : t.prototype.toString.call(this) } , e }(n.CommonTree); n.TreePattern = l; var c = function(t) { function e(e) { return t.call(this, e) || this } return __extends(e, t), e }(l); n.WildcardTreePattern = c; var h = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.create = function(t) { return new l(t) } , e }(n.CommonTreeAdaptor); n.TreePatternTreeAdaptor = h; var p = function(t) { function e(e) { var n = t.call(this) || this; return n._nodes = e, n } return __extends(e, t), e.prototype.visit = function(t) { this._nodes.add(t) } , e }(s); n.FindTreeWizardVisitor = p; var f = function() { function t(t, e, n) { this._outer = t, this._tpattern = e, this._subtrees = n } return t.prototype.implements = function() { return t.ImplementsFindTreeWizardContextVisitor || (t.ImplementsFindTreeWizardContextVisitor = [n.IContextVisitor]), t.ImplementsFindTreeWizardContextVisitor } , t.prototype.visit = function(t, e, n, r) { this._outer.parseCore(t, this._tpattern, null) && this._subtrees.add(t) } , t }(); n.FindTreeWizardContextVisitor = f; var m = function() { function t(t, e, n, r) { this._outer = t, this._visitor = e, this._labels = n, this._tpattern = r } return t.prototype.implements = function() { return t.ImplementsVisitTreeWizardContextVisitor || (t.ImplementsVisitTreeWizardContextVisitor = [n.IContextVisitor]), t.ImplementsVisitTreeWizardContextVisitor } , t.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) } , t }(); n.VisitTreeWizardContextVisitor = m }(n = e.Tree || (e.Tree = {})) }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.System.Collections.List , i = function() { function t(t, e, r, i) { if (void 0 === e && (e = t.split("")), void 0 === r && (r = null != t ? t.length : null), void 0 === i && (i = null), this.p = 0, this.markDepth = 0, this.line = 1, this.charPositionInLine = 0, null == e) throw new n("ArgumentNullException"); if (r < 0) throw new n("ArgumentOutOfRangeException"); if (r > e.length) throw new n("ArgumentException"); this.data = e, this.n = r, this.name = i } return t.prototype.implements = function() { return t.ImplementsANTLRStringStream || (t.ImplementsANTLRStringStream = [e.ICharStream]), t.ImplementsANTLRStringStream } , Object.defineProperty(t.prototype, "index", { get: function() { return this.p }, enumerable: !0, configurable: !0 }), t.prototype.reset = function() { this.p = 0, this.line = 1, this.charPositionInLine = 0, this.markDepth = 0 } , t.prototype.consume = function() { this.p < this.n && (this.charPositionInLine++, "\n" == this.data[this.p] && (this.line++, this.charPositionInLine = 0), this.p++) } , t.prototype.la = function(t) { if (0 == t) return 0; if (t < 0 && (t++, this.p + t - 1 < 0)) return e.CharStreamConstants.endOfFile; if (this.p + t - 1 >= this.n) return e.CharStreamConstants.endOfFile; return this.data[this.p + t - 1].charCodeAt(0) } , t.prototype.lt = function(t) { return this.la(t) } , Object.defineProperty(t.prototype, "count", { get: function() { return this.n }, enumerable: !0, configurable: !0 }), t.prototype.mark = function() { null == this.markers && (this.markers = new r, this.markers.add(null)), this.markDepth++; var t = null; return this.markDepth >= this.markers.length ? (t = new e.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 } , t.prototype.rewind = function(t) { if (void 0 === t && (t = this.lastMarker), t < 0) throw new n("ArgumentOutOfRangeException"); var e = this.markers[t]; this.seek(e.p), this.line = e.line, this.charPositionInLine = e.charPositionInLine, this.release(t) } , t.prototype.release = function(t) { this.markDepth = t, this.markDepth-- } , t.prototype.seek = function(t) { if (t <= this.p) return void (this.p = t); while (this.p < t) this.consume() } , t.prototype.substring = function(t, e) { if (t < 0) throw new n("ArgumentOutOfRangeException"); if (e < 0) throw new n("ArgumentOutOfRangeException"); if (t + e > this.data.length) throw new n("ArgumentException"); if (0 == e) return ""; return this.data.join("").substr(t, e) } , Object.defineProperty(t.prototype, "sourceName", { get: function() { return this.name }, enumerable: !0, configurable: !0 }), t.prototype.toString = function() { return this.data.join("") } , t }(); e.ANTLRStringStream = i }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.readBufferSize = 1024, e.initialBufferSize = 1024, e } return __extends(e, t), e }(t.ANTLRStringStream); t.ANTLRReaderStream = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(t.ANTLRReaderStream); t.ANTLRInputStream = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.prototype.implements = function() { return e.ImplementsParserRuleReturnScope || (e.ImplementsParserRuleReturnScope = [t.IRuleReturnScope]), e.ImplementsParserRuleReturnScope } , e }(); t.ParserRuleReturnScope = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function n() { return null !== e && e.apply(this, arguments) || this } return __extends(n, e), n.prototype.implements = function() { return n.ImplementsAstParserRuleReturnScope || (n.ImplementsAstParserRuleReturnScope = e.prototype.implements.call(this).concat([t.IAstRuleReturnScope, t.IAstRuleReturnScope])), n.ImplementsAstParserRuleReturnScope } , n }(t.ParserRuleReturnScope); t.AstParserRuleReturnScope = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = function() { function t(e) { null == e && (e = t.BITS), this._bits = Array.create(Number, (e - 1 >> t.LOG_BITS) + 1) } return t.create = function(e) { var n = new t; return n._bits = e, n } , t.of = function(e) { var n = new t(e + 1); return n.add(e), n } , t.of2 = function(e, n) { var r = new t(Math.max(e, n) + 1); return r.add(e), r.add(n), r } , t.of3 = function(e, n, r) { var i = new t; return i.add(e), i.add(n), i.add(r), i } , t.of4 = function(e, n, r, i) { var o = new t; return o.add(e), o.add(n), o.add(r), o.add(i), o } , t.prototype.or = function(t) { if (null == t) return this; var e = this.clone(); return e.orInPlace(t), e } , t.prototype.add = function(e) { var n = t.wordNumber(e); n >= this._bits.length && this.growToInclude(e), this._bits[n] |= t.bitMask(e) } , t.prototype.growToInclude = function(e) { var n = Math.max(this._bits.length << 1, t.numWordsToHold(e)); this.setSize(n) } , t.prototype.orInPlace = function(t) { if (null == t) return; t._bits.length > this._bits.length && this.setSize(t._bits.length); for (var e = Math.min(this._bits.length, t._bits.length), n = e - 1; n >= 0; n--) this._bits[n] |= t._bits[n] } , t.prototype.setSize = function(t) { this._bits.addRange(Array.create(Number, t - this._bits.length)) } , t.bitMask = function(t) { return 1 << (t & this.MOD_MASK) } , t.prototype.clone = function() { return t.create(this._bits.clone()) } , t.prototype.size = function() { for (var e = 0, n = this._bits.length - 1; n >= 0; n--) { var r = this._bits[n]; if (0 != r) for (var i = t.BITS - 1; i >= 0; i--) 0 != (r & 1 << i) && e++ } return e } , t.prototype.getHashCode = function() { throw new n("NotImplementedException") } , t.prototype.equals = function(e) { if (null == e || !e.stimulsoft.is(t)) return !1; for (var n = e, r = Math.min(this._bits.length, n._bits.length), i = 0; i < r; i++) if (this._bits[i] != n._bits[i]) return !1; if (this._bits.length > r) { for (var i = r + 1; i < this._bits.length; i++) if (0 != this._bits[i]) return !1 } else if (n._bits.length > r) for (var i = r + 1; i < n._bits.length; i++) if (0 != n._bits[i]) return !1; return !0 } , t.prototype.member = function(e) { if (e < 0) return !1; var n = t.wordNumber(e); if (n >= this._bits.length) return !1; return 0 != (this._bits[n] & t.bitMask(e)) } , t.prototype.remove = function(e) { var n = t.wordNumber(e); this._bits.length } , t.prototype.isNil = function() { for (var t = this._bits.length - 1; t >= 0; t--) if (0 != this._bits[t]) return !1; return !0 } , t.numWordsToHold = function(t) { return (t >> this.LOG_BITS) + 1 } , t.prototype.numBits = function() { return this._bits.length << t.LOG_BITS } , t.prototype.lengthInLongWords = function() { return this._bits.length } , t.prototype.toArray = function() { for (var e = Array.create(Number, this.size()), n = 0, r = 0; r < this._bits.length << t.LOG_BITS; r++) this.member(r) && (e[n++] = r); return e } , t.wordNumber = function(t) { return t >> this.LOG_BITS } , t.prototype.toString = function(e) { void 0 === e && (e = null); var n = "" , r = "," , i = !1; n += "{"; for (var o = 0; o < this._bits.length << t.LOG_BITS; o++) this.member(o) && (o > 0 && i && (n += r), n += null != e ? e[o] : o, i = !0); return n += "}" } , t.BITS = 64, t.LOG_BITS = 6, t.MOD_MASK = t.BITS - 1, t }(); e.BitSet = r }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.System.Collections.List , i = function() { function t(t) { this._tokens = new r(100), this._p = -1, this.range = 0, this.maxLookBehind = Number.MAX_VALUE, this._tokenSource = t } return t.prototype.implements = function() { return t.ImplementsBufferedTokenStream || (t.ImplementsBufferedTokenStream = [e.ITokenStream, e.ITokenStreamInformation]), t.ImplementsBufferedTokenStream } , Object.defineProperty(t.prototype, "tokenSource", { get: function() { return this._tokenSource }, set: function(t) { this._tokenSource = t, this._tokens.clear(), this._p = -1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "index", { get: function() { return this._p }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "count", { get: function() { return this._tokens.length }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "sourceName", { get: function() { return this._tokenSource.sourceName }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "lastToken", { get: function() { return this.lb(1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "lastRealToken", { get: function() { var t = 0, e; do { t++, e = this.lb(t) } while (null != e && e.line <= 0); return e }, enumerable: !0, configurable: !0 }), t.prototype.mark = function() { return -1 == this._p && this.setup(), this._lastMarker = this.index, this._lastMarker } , t.prototype.release = function(t) {} , t.prototype.rewind = function(t) { void 0 === t && (t = this._lastMarker), this.seek(t) } , t.prototype.reset = function() { this._p = 0, this._lastMarker = 0 } , t.prototype.seek = function(t) { this._p = t } , t.prototype.consume = function() { -1 == this._p && this.setup(), this._p++, this.sync(this._p) } , t.prototype.sync = function(t) { var e = t - this._tokens.length + 1; e > 0 && this.fetch(e) } , t.prototype.fetch = function(t) { for (var n = 0; n < t; n++) { var r = this.tokenSource.nextToken(); if (r.tokenIndex = this._tokens.length, this._tokens.add(r), r.type == e.CharStreamConstants.endOfFile) break } } , t.prototype.get = function(t) { if (t < 0 || t >= this._tokens.length) throw new n("token index " + t + " out of range 0.." + (this._tokens.length - 1)); return this._tokens[t] } , t.prototype.la = function(t) { return this.lt(t).type } , t.prototype.lb = function(t) { if (this._p - t < 0) return null; return this._tokens[this._p - t] } , t.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] } , t.prototype.setup = function() { this.sync(0), this._p = 0 } , t.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), t > e) return null; for (var i = new r, o = t; o <= e; o++) { var a = this._tokens[o]; (null == n || n.member(a.type)) && i.add(a) } return 0 == i.length && (i = null), i } , t.prototype.toString = function() { return -1 == this._p && this.setup(), this.fill(), this.toString2(0, this._tokens.length - 1) } , t.prototype.toString2 = function(t, n) { if (t < 0 || n < 0) return null; -1 == this._p && this.setup(), n >= this._tokens.length && (n = this._tokens.length - 1); for (var r = "", i = t; i <= n; i++) { var o = this._tokens[i]; if (o.type == e.CharStreamConstants.endOfFile) break; r += o.text } return r } , t.prototype.fill = function() { if (-1 == this._p && this.setup(), this._tokens[this._p].type == e.CharStreamConstants.endOfFile) return; var t = this._p + 1; this.sync(t); while (this._tokens[t].type != e.CharStreamConstants.endOfFile) t++, this.sync(t) } , t }(); e.BufferedTokenStream = i }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.endOfFile = -1, t }(); t.CharStreamConstants = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.CharStreamState = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(e, n, r) { this.channel = t.TokenChannels.default, this.startIndex = -1, this.stopIndex = -1, this.inputStream = null, this.type = e, this.text = n, this.channel = r } return e.prototype.implements = function() { return e.ImplementsClassicToken || (e.ImplementsClassicToken = [t.IToken]), e.ImplementsClassicToken } , Object.defineProperty(e.prototype, "tokenIndex", { get: function() { return this.index }, set: function(t) { this.index = t }, enumerable: !0, configurable: !0 }), e.prototype.toString = function() { var t = ""; this.channel > 0 && (t = ",channel=" + this.channel); var e = this.text; return null != e ? (e = e.stimulsoft.replaceAll("\n", "\\\\n"), e = e.stimulsoft.replaceAll("\r", "\\\\r"), e = e.stimulsoft.replaceAll("\t", "\\\\t")) : e = "", "[@" + this.tokenIndex + ",'" + e + "',<" + this.type + ">" + t + "," + this.line + ":" + this.charPositionInLine + "]" } , e }(); t.ClassicToken = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() { this.index = -1, this.charPositionInLine = -1, this.channel = t.TokenChannels.default } return e.prototype.implements = function() { return e.ImplementsCommonToken || (e.ImplementsCommonToken = [t.IToken]), e.ImplementsCommonToken } , e.create1 = function(t) { var n = new e; return n.type = t, n } , e.create2 = function(t, n, r, i, o) { var a = new e; return a.input = t, a.type = n, a.channel = r, a.start = i, a.stop = o, a } , e.create3 = function(n, r) { var i = new e; return i.type = n, i.channel = t.TokenChannels.default, i.text = r, i } , e.create4 = function(t) { var n = new e; return n._text = t.text, n.type = t.type, n.line = t.line, n.index = t.tokenIndex, n.charPositionInLine = t.charPositionInLine, n.channel = t.channel, n.input = t.inputStream, t.stimulsoft.is(e) && (n.start = t.start, n.stop = t.stop), n } , Object.defineProperty(e.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 "" }, set: function(t) { this._text = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "startIndex", { get: function() { return this.start }, set: function(t) { this.start = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "stopIndex", { get: function() { return this.stop }, set: function(t) { this.stop = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "tokenIndex", { get: function() { return this.index }, set: function(t) { this.index = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "inputStream", { get: function() { return this.input }, set: function(t) { this.input = t }, enumerable: !0, configurable: !0 }), e.prototype.toString = function() { var t = ""; this.channel > 0 && (t = ",channel=" + this.channel); var e = this.text; return null != e ? (e = e.stimulsoft.replaceAll("\n", "\\\\n"), e = e.stimulsoft.replaceAll("\r", "\\\\r"), e = e.stimulsoft.replaceAll("\t", "\\\\t")) : e = "", "[@" + this.tokenIndex + "," + this.start + ":" + this.stop + "='" + e + "',<" + this.type + ">" + t + "," + this.line + ":" + this.charPositionInLine + "]" } , e }(); t.CommonToken = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function n(n, r) { void 0 === r && (r = t.TokenChannels.default); var i = e.call(this, n) || this; return i.channel = r, i } return __extends(n, e), n.prototype.consume = function() { -1 == this._p && this.setup(), this._p++, this._p = this.skipOffTokenChannels(this._p) } , n.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] } , n.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] } , n.prototype.skipOffTokenChannels = function(t) { this.sync(t); while (this._tokens[t].channel != this.channel) t++, this.sync(t); return t } , n.prototype.skipOffTokenChannelsReverse = function(t) { while (t >= 0 && this._tokens[t].channel != this.channel) t--; return t } , n.prototype.reset = function() { e.prototype.reset.call(this), this._p = this.skipOffTokenChannels(0) } , n.prototype.setup = function() { this._p = 0, this._p = this.skipOffTokenChannels(this._p) } , n }(t.BufferedTokenStream); t.CommonTokenStream = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = function() { function t() { this.debug = !1, this.description = "n/a" } return t.prototype.predict = function(t) { if (null == t) throw new n("ArgumentNullException"); this.dfaDebugMessage("Enter DFA.Predict for decision {0}", this.decisionNumber); var r = t.mark() , i = 0; try { while (!0) { this.dfaDebugMessage("DFA {0} state {1} LA(1)={2}({3}), index={4}", this.decisionNumber, i, String.fromCharCode(t.la(1)), String.fromCharCode(t.la(1)), String.fromCharCode(t.index)); var o = this.special[i]; if (o >= 0) { if (this.dfaDebugMessage("DFA {0} state {1} is special state {2}", this.decisionNumber, i, o), this.dfaDebugMessage("DFA {0} returns from special state {1} to {2}", this.decisionNumber, o, i), -1 == i) return this.noViableAlt(i, t), 0; t.consume(); continue } if (this.accept[i] >= 1) return this.dfaDebugMessage("accept; predict {0} from state {1}", this.accept[i], i), this.accept[i]; var a = String.fromCharCode(t.la(1)); if (a >= this.min[i] && a <= this.max[i]) { var s = this.transition[i][a.charCodeAt(0) - this.min[i].charCodeAt(0)]; if (s < 0) { if (this.eot[i] >= 0) { this.dfaDebugMessage("EOT transition"), i = this.eot[i], t.consume(); continue } return this.noViableAlt(i, t), 0 } i = s, t.consume(); continue } if (this.eot[i] >= 0) { this.dfaDebugMessage("EOT transition"), i = this.eot[i], t.consume(); continue } if (a.charCodeAt(0) == e.TokenTypes.endOfFile && this.eof[i] >= 0) return this.dfaDebugMessage("accept via EOF; predict {0} from {1}", this.accept[this.eof[i]], this.eof[i]), this.accept[this.eof[i]]; return this.dfaDebugInvalidSymbol(i), this.noViableAlt(i, t), 0 } } finally { t.rewind(r) } } , t.prototype.dfaDebugMessage = function(t) { for (var e = [], n = 1; n < arguments.length; n++) e[n - 1] = arguments[n] } , t.prototype.dfaDebugInvalidSymbol = function(t) {} , t.prototype.noViableAlt = function(t, n) { if (this.recognizer.state.backtracking > 0) return void (this.recognizer.state.failed = !0); var r = new e.NoViableAltException("",this.description,this.decisionNumber,t,n); throw this.error(r), r } , t.prototype.error = function(t) {} , t.specialStateTransitionDefault = function(t, e, n) { return -1 } , t.unpackEncodedString = function(t) { for (var e = 0, n = 0; n < t.length; n += 2) e += t[n].charCodeAt(0); for (var r = Array.create(Number, e), i = 0, n = 0; n < t.length; n += 2) for (var o = t[n].charCodeAt(0), a = t[n + 1].charCodeAt(0).stimulsoft.toShort(), s = 1; s <= o; s++) r[i++] = a; return r } , t.unpackEncodedStringToUnsignedChars = function(t) { for (var e = 0, n = 0; n < t.length; n += 2) e += t[n].charCodeAt(0); for (var r = Array.create(String, e), i = 0, n = 0; n < t.length; n += 2) for (var o = t[n].charCodeAt(0), a = t[n + 1], s = 1; s <= o; s++) r[i++] = a; return r } , t.prototype.debugRecognitionException = function(t) {} , t }(); e.DFA = r }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.Data.Expressions.Antlr.Runtime.Tree.ITreeNodeStream , i = t.Data.Expressions.Antlr.Runtime.Tree.IPositionTrackingStream , o = t.Data.Expressions.Antlr.Runtime.Tree.ITree , a = t.Data.Expressions.Antlr.Runtime.Tree.CommonTree , s = function(t) { function n(n, i, o, a) { void 0 === n && (n = "A recognition error occurred."), void 0 === o && (o = 1); var s = t.call(this, n, a) || this; if (s.input = i, s._k = o, null != i) { s.index = i.index + o - 1, i.stimulsoft.is(e.ITokenStream) && (s.token = i.lt(o), s.line = s.token.line, s.charPositionInLine = s.token.charPositionInLine); var u = i.stimulsoft.as(r); if (null != u) s.extractInformationFromTreeNodeStream2(u, o); else { if (null != i.stimulsoft.as(e.ICharStream)) { var l = i.mark(); try { for (var c = 0; c < o - 1; c++) i.consume(); s._c = i.la(1), s.line = i.line, s.charPositionInLine = i.charPositionInLine } finally { i.rewind(l) } } else s._c = i.la(o) } } return s } return __extends(n, t), Object.defineProperty(n.prototype, "unexpectedType", { get: function() { if (this.input.stimulsoft.is(e.ITokenStream)) return this.token.type; var t = this.input.stimulsoft.as(r); if (null != t) { return t.treeAdaptor.getType(this.node) } return this._c }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "lookahead", { get: function() { return this._k }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "character", { get: function() { return String.fromCharCode(this._c) }, set: function(t) { this._c = t.charCodeAt(0) }, enumerable: !0, configurable: !0 }), n.prototype.extractInformationFromTreeNodeStream = function(t) { this.node = t.lt(1); var n = null , r = t.stimulsoft.as(i); null != r && null == (n = r.getKnownPositionElement(!1)) && (n = r.getKnownPositionElement(!0), this.approximateLineInfo = null != n); var s = t.stimulsoft.as(e.ITokenStreamInformation); if (null != s) { var u = s.lastToken , l = s.lastRealToken; null != l && (this.token = l, this.line = l.line, this.charPositionInLine = l.charPositionInLine, this.approximateLineInfo = l == u) } else { var c = t.treeAdaptor , h = c.getToken(null != n ? n : this.node); if (null != h) if (this.token = h, h.line <= 0) { var p = -1 , f = t.lt(p); while (null != f) { var m = c.getToken(f); if (null != m && m.line > 0) { this.line = m.line, this.charPositionInLine = m.charPositionInLine, this.approximateLineInfo = !0; break } --p; try { f = t.lt(p) } catch (t) { f = null } } } else this.line = h.line, this.charPositionInLine = h.charPositionInLine; else if (this.node.stimulsoft.is(o)) this.line = this.node.line, this.charPositionInLine = this.node.charPositionInLine, this.node.stimulsoft.is(a) && (this.token = this.node.token); else { var d = c.getType(this.node) , y = c.getText(this.node); this.token = e.CommonToken.create3(d, y) } } } , n.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 }(n); e.RecognitionException = s }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r, i) { var o = t.call(this, e, r, 1, i) || this; return o.decisionNumber = n, o } return __extends(e, t), e }(t.RecognitionException); t.EarlyExitException = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r, i, o) { var a = t.call(this, e, n, 1, o) || this; return a.ruleName = r, a.predicateText = i, a } return __extends(e, t), e.prototype.toString = function() { return "FailedPredicateException(" + this.ruleName + ",{" + this.predicateText + "}?)" } , e }(t.RecognitionException); t.FailedPredicateException = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Attribute , r = function(t) { function e(e) { var n = t.call(this) || this; return n.name = e, n } return __extends(e, t), e }(n); e.GrammarRuleAttribute = r }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IAstRuleReturnScope = "IAstRuleReturnScope" }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.ICharStream = "ICharStream" }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IIntStream = "IIntStream" }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IRuleReturnScope = "IRuleReturnScope" }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.ITemplateRuleReturnScope = "ITemplateRuleReturnScope" }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IToken = "IToken" }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.ITokenSource = "ITokenSource" }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.ITokenStream = "ITokenStream" }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.ITokenStreamInformation = "ITokenStreamInformation" }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.System.Collections.List , i = t.System.Collections.Dictionary , o = function() { function t(t, n) { this.channel = e.TokenChannels.default, this.discardOffChannelTokens = !1, this.p = -1, this.range = 0, this.tokens = new r(500), this._tokenSource = t, this.channel = n } return t.prototype.implements = function() { return t.ImplementsLegacyCommonTokenStream || (t.ImplementsLegacyCommonTokenStream = [e.ITokenStream]), t.ImplementsLegacyCommonTokenStream } , Object.defineProperty(t.prototype, "index", { get: function() { return this.p }, enumerable: !0, configurable: !0 }), t.prototype.setTokenSource = function(t) { this._tokenSource = t, this.tokens.clear(), this.p = -1, this.channel = e.TokenChannels.default } , t.prototype.fillBuffer = function() { if (-1 != this.p) return; var t = 0 , n = this._tokenSource.nextToken(); while (null != n && n.type != e.CharStreamConstants.endOfFile) { var r = !1 , i = { ref: null }; null != this.channelOverrideMap && this.channelOverrideMap.tryGetValue(n.type, i) && (n.channel = i.ref), null != this.discardSet && this.discardSet.contains(n.type) ? r = !0 : this.discardOffChannelTokens && n.channel != this.channel && (r = !0), r || (n.tokenIndex = t, this.tokens.add(n), t++), n = this._tokenSource.nextToken() } this.p = 0, this.p = this.skipOffTokenChannels(this.p) } , t.prototype.consume = function() { this.p < this.tokens.length && (this.p++, this.p = this.skipOffTokenChannels(this.p)) } , t.prototype.skipOffTokenChannels = function(t) { var e = this.tokens.length; while (t < e && this.tokens[t].channel != this.channel) t++; return t } , t.prototype.skipOffTokenChannelsReverse = function(t) { while (t >= 0 && this.tokens[t].channel != this.channel) t--; return t } , t.prototype.setTokenTypeChannel = function(t, e) { null == this.channelOverrideMap && (this.channelOverrideMap = new i), this.channelOverrideMap.set(t, e) } , t.prototype.discardTokenType = function(t) { null == this.discardSet && (this.discardSet = new r), this.discardSet.add(t) } , t.prototype.setDiscardOffChannelTokens = function(t) { this.discardOffChannelTokens = t } , t.prototype.getTokens = function() { return -1 == this.p && this.fillBuffer(), this.tokens } , t.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), t > e) return null; for (var i = new r, o = t; o <= e; o++) { var a = this.tokens[o]; (null == n || n.member(a.type)) && i.add(a) } return 0 == i.length && (i = null), i } , t.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] } , t.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] } , t.prototype.get = function(t) { return this.tokens[t] } , t.prototype.la = function(t) { return this.lt(t).type } , t.prototype.mark = function() { return -1 == this.p && this.fillBuffer(), this.lastMarker = this.index, this.lastMarker } , t.prototype.release = function(t) {} , Object.defineProperty(t.prototype, "count", { get: function() { return this.tokens.length }, enumerable: !0, configurable: !0 }), t.prototype.rewind = function(t) { null == t && (t = this.lastMarker), this.seek(t) } , t.prototype.reset = function() { this.p = 0, this.lastMarker = 0 } , t.prototype.seek = function(t) { this.p = t } , Object.defineProperty(t.prototype, "sourceName", { get: function() { return this.tokenSource.sourceName }, enumerable: !0, configurable: !0 }), t.prototype.toString = function() { if (-1 == this.p) throw new n("Buffer is not yet filled."); return this.toString2(0, this.tokens.length - 1) } , t.prototype.toString2 = function(t, e) { if (t < 0 || e < 0) return null; if (-1 == this.p) throw new n("Buffer is not yet filled."); e >= this.tokens.length && (e = this.tokens.length - 1); for (var r = "", i = t; i <= e; i++) { r += this.tokens[i].text } return r } , t.prototype.toString3 = function(t, e) { if (null != t && null != e) return this.toString2(t.tokenIndex, e.tokenIndex); return null } , t }(); e.LegacyCommonTokenStream = o }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function n(t, n) { var r = e.call(this, n) || this; return r.input = t, r } return __extends(n, e), n.prototype.implements = function() { return n.ImplementsLexer || (n.ImplementsLexer = [t.ITokenSource]), n.ImplementsLexer } , Object.defineProperty(n.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: !0, configurable: !0 }), Object.defineProperty(n.prototype, "line", { get: function() { return this.input.line }, set: function(t) { this.input.line = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "charPositionInLine", { get: function() { return this.input.charPositionInLine }, set: function(t) { this.input.charPositionInLine = t }, enumerable: !0, configurable: !0 }), n.prototype.reset = function() { if (e.prototype.reset.call(this), null != this.input && this.input.seek(0), null == this.state) return; this.state.token = null, this.state.type = t.TokenTypes.invalid, this.state.channel = t.TokenChannels.default, this.state.tokenStartCharIndex = -1, this.state.tokenStartCharPositionInLine = -1, this.state.tokenStartLine = -1, this.state.text = null } , n.prototype.nextToken = function() { for (; ; ) { if (this.state.token = null, this.state.channel = t.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) == t.CharStreamConstants.endOfFile) return this.getEndOfFileToken(); try { if (this.parseNextToken(), null == this.state.token) this.emit(); else if (this.state.token == t.Tokens.skip) continue; return this.state.token } catch (t) { this.reportError(t) } } } , n.prototype.getEndOfFileToken = function() { var e = t.CommonToken.create2(this.input, t.CharStreamConstants.endOfFile, t.TokenChannels.default, this.input.index, this.input.index); return e.line = this.line, e.charPositionInLine = this.charPositionInLine, e } , n.prototype.skip = function() { this.state.token = t.Tokens.skip } , n.prototype.mTokens = function() {} , Object.defineProperty(n.prototype, "charStream", { get: function() { return this.input }, set: function(t) { this.input = null, this.reset(), this.input = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "sourceName", { get: function() { return this.input.sourceName }, enumerable: !0, configurable: !0 }), n.prototype.emit2 = function(t) { this.state.token = t } , n.prototype.emit = function() { var e = t.CommonToken.create2(this.input, this.state.type, this.state.channel, this.state.tokenStartCharIndex, this.charIndex - 1); return e.line = this.state.tokenStartLine, e.text = this.state.text, e.charPositionInLine = this.state.tokenStartCharPositionInLine, this.emit2(e), e } , n.prototype.match3 = function(e) { var n = 0; while (n < e.length) { if (this.input.la(1) != e.charCodeAt(n)) { if (this.state.backtracking > 0) return void (this.state.failed = !0); var r = new t.MismatchedTokenException("",e.charCodeAt(n),this.input,this.tokenNames.toList()); throw this.recover2(r), r } n++, this.input.consume(), this.state.failed = !1 } } , n.prototype.matchAny = function() { this.input.consume() } , n.prototype.match2 = function(e) { if (this.input.la(1) != e) { if (this.state.backtracking > 0) return void (this.state.failed = !0); var n = new t.MismatchedTokenException("",e,this.input,this.tokenNames.toList()); throw this.recover2(n), n } this.input.consume(), this.state.failed = !1 } , n.prototype.matchRange = function(e, n) { if (this.input.la(1) < e || this.input.la(1) > n) { if (this.state.backtracking > 0) return void (this.state.failed = !0); var r = new t.MismatchedRangeException("",e,n,this.input); throw this.recover2(r), r } this.input.consume(), this.state.failed = !1 } , Object.defineProperty(n.prototype, "charIndex", { get: function() { return this.input.index }, enumerable: !0, configurable: !0 }), n.prototype.reportError = function(t) { this.displayRecognitionError(this.tokenNames, t) } , n.prototype.getErrorMessage = function(n, r) { var i = null; if (n.stimulsoft.is(t.MismatchedTokenException)) { var o = n; i = "mismatched character " + this.getCharErrorDisplay(n.character.charCodeAt(0)) + " expecting " + this.getCharErrorDisplay(o.expecting) } else if (n.stimulsoft.is(t.NoViableAltException)) { var a = n; i = "no viable alternative at character " + this.getCharErrorDisplay(n.character.charCodeAt(0)) } else if (n.stimulsoft.is(t.EarlyExitException)) { var s = n; i = "required (...)+ loop did not match anything at character " + this.getCharErrorDisplay(n.character.charCodeAt(0)) } else if (n.stimulsoft.is(t.MismatchedNotSetException)) { var u = n; i = "mismatched character " + this.getCharErrorDisplay(n.character.charCodeAt(0)) + " expecting set " + u.expecting } else if (n.stimulsoft.is(t.MismatchedSetException)) { var u = n; i = "mismatched character " + this.getCharErrorDisplay(n.character.charCodeAt(0)) + " expecting set " + u.expecting } else if (n.stimulsoft.is(t.MismatchedRangeException)) { var l = n; i = "mismatched character " + this.getCharErrorDisplay(n.character.charCodeAt(0)) + " expecting set " + this.getCharErrorDisplay(l.a) + ".." + this.getCharErrorDisplay(l.b) } else i = e.prototype.getErrorMessage.call(this, n, r); return i } , n.prototype.getCharErrorDisplay = function(e) { var n = String.fromCharCode(e); switch (e) { case t.TokenTypes.endOfFile: n = ""; break; case "\n".charCodeAt(0): n = "\\n"; break; case "\t".charCodeAt(0): n = "\\t"; break; case "\r".charCodeAt(0): n = "\\r"; break } return "'" + n + "'" } , n.prototype.recover2 = function(t) { this.input.consume() } , n.prototype.parseNextToken = function() { this.mTokens() } , n }(t.BaseRecognizer); t.Lexer = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r, i) { var o = t.call(this, e, r, 1, i) || this; return o.expecting = n, o } return __extends(e, t), e.prototype.toString = function() { return "MismatchedSetException(" + this.unexpectedType + "!=" + this.expecting + ")" } , e }(t.RecognitionException); t.MismatchedSetException = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r, i) { return t.call(this, e, n, r, i) || this } return __extends(e, t), e.prototype.toString = function() { return "MismatchedNotSetException(" + this.unexpectedType + "!=" + this.expecting + ")" } , e }(t.MismatchedSetException); t.MismatchedNotSetException = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r, i, o) { var a = t.call(this, e, i, 1, o) || this; return a.a = n, a.b = r, a } return __extends(e, t), e.prototype.toString = function() { return "MismatchedRangeException(" + this.unexpectedType + " not in [" + this.a + "," + this.b + "])" } , e }(t.RecognitionException); t.MismatchedRangeException = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Collections.List , r = function(t) { function e(e, r, i, o, a) { var s = t.call(this, e, i, null, a) || this; return s.expecting = r, null != o && (s.tokenNames = new n(o)), s } return __extends(e, t), e.prototype.toString = function() { var t = this.unexpectedType; return "MismatchedTokenException(" + (null != this.tokenNames && t >= 0 && t < this.tokenNames.length ? this.tokenNames[t] : t.toString()) + "!=" + (null != this.tokenNames && this.expecting >= 0 && this.expecting < this.tokenNames.length ? this.tokenNames[this.expecting] : this.expecting.toString()) + ")" } , e }(e.RecognitionException); e.MismatchedTokenException = r }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r, i) { var o = t.call(this, e, r, 1, i) || this; return o.expecting = n, o } return __extends(e, t), e.prototype.toString = function() { return "MismatchedTreeNodeException(" + this.unexpectedType + "!=" + this.expecting + ")" } , e }(t.RecognitionException); t.MismatchedTreeNodeException = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r, i, o, a) { var s = t.call(this, e, n, r, o, a) || this; return s._inserted = i, s } return __extends(e, t), Object.defineProperty(e.prototype, "missingType", { get: function() { return this.expecting }, enumerable: !0, configurable: !0 }), e.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" } , e }(t.MismatchedTokenException); t.MissingTokenException = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function n(t, n, r, i, o, a, s) { void 0 === a && (a = 1); var u = e.call(this, t, o, a, s) || this; return u.grammarDecisionDescription = n, u.decisionNumber = r, u.stateNumber = i, u } return __extends(n, e), n.prototype.toString = function() { return this.input.stimulsoft.is(t.ICharStream) ? "NoViableAltException('" + String.fromCharCode(this.unexpectedType) + "'@[" + this.grammarDecisionDescription + "])" : "NoViableAltException(" + this.unexpectedType + "@[" + this.grammarDecisionDescription + "])" } , n }(t.RecognitionException); t.NoViableAltException = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function n(t, n) { var r = e.call(this, n) || this; return r.input = t, r } return __extends(n, e), n.prototype.reset = function() { e.prototype.reset.call(this), null != this.input && this.input.seek(0) } , n.prototype.getCurrentInputSymbol = function(t) { return this.input.lt(1) } , n.prototype.getMissingSymbol = function(e, n, r, i) { var o = null; o = r == t.TokenTypes.endOfFile ? "" : ""; var a = t.CommonToken.create3(r, o) , s = e.lt(1); return s.type == t.TokenTypes.endOfFile && (s = e.lt(-1)), a.line = s.line, a.charPositionInLine = s.charPositionInLine, a.channel = this.defaultTokenChannel, a.inputStream = s.inputStream, a } , Object.defineProperty(n.prototype, "tokenStream", { get: function() { return this.input }, set: function(t) { this.input = null, this.reset(), this.input = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "sourceName", { get: function() { return this.input.sourceName }, enumerable: !0, configurable: !0 }), n }(t.BaseRecognizer); t.Parser = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = function() { function t() { this.following = Array.create(e.BitSet, e.BaseRecognizer.initialFollowStackSize), this._fsp = -1, this.lastErrorIndex = -1, this.tokenStartCharIndex = -1 } return t.recognizerSharedState = function(e) { if (null == e) throw new n("ArgumentNullException"); var r = new t; return r.following = e.following.clone(), r._fsp = e._fsp, r.errorRecovery = e.errorRecovery, r.lastErrorIndex = e.lastErrorIndex, r.failed = e.failed, r.syntaxErrors = e.syntaxErrors, r.backtracking = e.backtracking, null != e.ruleMemo && (r.ruleMemo = e.ruleMemo.clone()), r.token = e.token, r.tokenStartCharIndex = e.tokenStartCharIndex, r.tokenStartCharPositionInLine = e.tokenStartCharPositionInLine, r.channel = e.channel, r.type = e.type, r.text = e.text, r } , t }(); e.RecognizerSharedState = r }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function n() { return null !== e && e.apply(this, arguments) || this } return __extends(n, e), n.prototype.implements = function() { return n.ImplementsTemplateParserRuleReturnScope || (n.ImplementsTemplateParserRuleReturnScope = e.prototype.implements.call(this).concat([t.ITemplateRuleReturnScope, t.ITemplateRuleReturnScope])), n.ImplementsTemplateParserRuleReturnScope } , n }(t.ParserRuleReturnScope); t.TemplateParserRuleReturnScope = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.default = 0, t.hidden = 99, t }(); t.TokenChannels = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.System.Type , i = t.System.Collections.Dictionary , o = t.System.Collections.List , a = function(t) { function a(e, n) { var r = t.call(this, e, n) || this; return r.DEFAULT_PROGRAM_NAME = "default", r.PROGRAM_INIT_SIZE = 100, r.MIN_TOKEN_INDEX = 0, r.programs = null, r.lastRewriteTokenIndexes = null, r.init(), r } return __extends(a, t), a.prototype.init = function() { this.programs = new i, this.programs.set(this.DEFAULT_PROGRAM_NAME, new o(this.PROGRAM_INIT_SIZE)), this.lastRewriteTokenIndexes = new i } , a.prototype.rollback = function(t, e) { var n = { ref: null }; if (this.programs.tryGetValue(t, n) && null != n.ref) { for (var r = new o, i = this.MIN_TOKEN_INDEX; i <= e; i++) r.add(n.ref[i]); this.programs.set(t, r) } } , a.prototype.deleteProgram = function(t) { void 0 === t && (t = this.DEFAULT_PROGRAM_NAME), this.rollback(t, this.MIN_TOKEN_INDEX) } , a.prototype.unsertAfter = function(t, e, n) { this.insertBefore(t, e + 1, n) } , a.prototype.insertBefore = function(t, e, n) { var r = new u(this,e,n) , i = this.getProgram(t); r.instructionIndex = i.length, i.add(r) } , a.prototype.replace = function(t, e, r, i) { if (e > r || e < 0 || r < 0 || r >= this._tokens.length) throw new n("replace: range invalid: " + e + ".." + r + "(size=" + this._tokens.length + ")"); var o = new l(this,e,r,i) , a = this.getProgram(t); o.instructionIndex = a.length, a.add(o) } , a.prototype.replace2 = function(t, e, n, r) { this.replace(t, e.tokenIndex, n.tokenIndex, r) } , a.prototype.delete = function(t, e, n) { this.replace2(t, e, n, null) } , a.prototype.getLastRewriteTokenIndex = function(t) { var e = { ref: null }; if (this.lastRewriteTokenIndexes.tryGetValue(t, e)) return e.ref; return -1 } , a.prototype.setLastRewriteTokenIndex = function(t, e) { this.lastRewriteTokenIndexes.set(t, e) } , a.prototype.getProgram = function(t) { var e = { ref: null }; return this.programs.tryGetValue(t, e) && null != e.ref || (e.ref = this.initializeProgram(t)), e.ref } , a.prototype.initializeProgram = function(t) { var e = new o(this.PROGRAM_INIT_SIZE); return this.programs.set(t, e), e } , a.prototype.toOriginalString = function() { return this.fill(), this.toOriginalString2(this.MIN_TOKEN_INDEX, this.count - 1) } , a.prototype.toOriginalString2 = function(t, n) { for (var r = "", i = t; i >= this.MIN_TOKEN_INDEX && i <= n && i < this._tokens.length; i++) this.get(i).type != e.CharStreamConstants.endOfFile && (r += this.get(i).text); return r } , a.prototype.toString = function() { return this.fill(), this.toString3(this.DEFAULT_PROGRAM_NAME, this.MIN_TOKEN_INDEX, this.count - 1) } , a.prototype.toString3 = function(t, n, r) { var i, o, a = { ref: null }; if (this.programs.tryGetValue(t, a) || (a.ref = null), r > this._tokens.length - 1 && (r = this._tokens.length - 1), n < 0 && (n = 0), null == a.ref || 0 == a.ref.length) return this.toOriginalString2(n, r); var s = "" , u = this.reduceToSingleOperationPerIndex(a.ref) , l = n; while (l <= r && l < this._tokens.length) { var c = { ref: null } , h = u.tryGetValue(l, c); if (h && u.remove(l), h && null != c.ref) l = c.ref.execute(s); else { var p = this._tokens[l]; p.type != e.CharStreamConstants.endOfFile && (s += p.text), l++ } } if (r == this._tokens.length - 1) try { for (var f = __values(u.values), m = f.next(); !m.done; m = f.next()) { var c = m.value; c.index >= this._tokens.length - 1 && (s += c.text) } } catch (t) { i = { error: t } } finally { try { m && !m.done && (o = f.return) && o.call(f) } finally { if (i) throw i.error } } return s } , a.prototype.reduceToSingleOperationPerIndex = function(t) { for (var e = 0; e < t.length; e++) { var r = t[e]; if (null == r) continue; if (!r.stimulsoft.is(l)) continue; for (var o = t[e], a = this.getKindOfOps(t, u, e), s = 0; s < a.length; s++) { var c = a[s]; c.index == o.index ? (t[c.instructionIndex] = null, o.text = c.text.ToString() + (null != o.text ? o.text.ToString() : "")) : c.index > o.index && c.index <= o.lastIndex && (t[c.instructionIndex] = null) } for (var h = this.getKindOfOps(t, l, e), s = 0; s < h.length; s++) { var p = h[s]; if (p.index >= o.index && p.lastIndex <= o.lastIndex) { t[p.instructionIndex] = null; continue } var f = p.lastIndex < o.index || p.index > o.lastIndex , m = p.index == o.index && p.lastIndex == o.lastIndex; if (null != p.text || null != o.text || f) { if (!f && !m) throw new n("replace op boundaries of " + o + " overlap with previous " + p) } else t[p.instructionIndex] = null, o.index = Math.min(p.index, o.index), o.lastIndex = Math.max(p.lastIndex, o.lastIndex) } } for (var e = 0; e < t.length; e++) { var r = t[e]; if (null == r) continue; if (!r.stimulsoft.is(u)) continue; for (var c = t[e], d = this.getKindOfOps(t, u, e), s = 0; s < d.length; s++) { var y = d[s]; y.index == c.index && (c.text = this.catOpText(c.text, y.text), t[y.instructionIndex] = null) } for (var h = this.getKindOfOps(t, l, e), s = 0; s < h.length; s++) { var o = h[s]; if (c.index == o.index) { o.text = this.catOpText(c.text, o.text), t[e] = null; continue } if (c.index >= o.index && c.index <= o.lastIndex) throw new n("insert op " + c + " within boundaries of previous " + o) } } for (var v = new i, e = 0; e < t.length; e++) { var r = t[e]; if (null == r) continue; var g = { ref: null }; if (v.tryGetValue(r.index, g) && null != g.ref) throw new n("should only be one op per index"); v.set(r.index, r) } return v } , a.prototype.catOpText = function(t, e) { return t.toString() + e.toString() } , a.prototype.getKindOfOps = function(t, e, n) { void 0 === n && (n = t.length); for (var i = new o, a = 0; a < n && a < t.length; a++) { var s = t[a]; if (null == s) continue; r.getType(s) == e && i.add(s) } return i } , a.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 } , a }(e.CommonTokenStream); e.TokenRewriteStream = a; var s = function() { function t(t, e, n) { this.index = e, this.text = n, this.stream = t } return t.prototype.execute = function(t) { return this.index } , t.prototype.toString = function() { var t = r.getTypeName(this) , e = t.indexOf("$"); return "<" + (t = t.substring(e + 1)) + "@" + this.stream._tokens[this.index] + ':"' + this.text + '">"' } , t }(); e.RewriteOperation = s; var u = function(t) { function n(e, n, r) { return t.call(this, e, n, r) || this } return __extends(n, t), n.prototype.execute = function(t) { return t += this.text, this.stream._tokens[this.index].type != e.CharStreamConstants.endOfFile && (t += this.stream._tokens[this.index].text), this.index + 1 } , n }(s); e.InsertBeforeOp = u; var l = function(t) { function e(e, n, r, i) { var o = t.call(this, e, n, i) || this; return o.lastIndex = r, o } return __extends(e, t), e.prototype.execute = function(t) { return null != this.text && (t += this.text), this.lastIndex + 1 } , e.prototype.toString = function() { if (null == this.text) return ""; return "' } , e }(s); e.ReplaceOp = l }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.endOfFile = t.CharStreamConstants.endOfFile, e.invalid = 0, e.endOfRule = 1, e.down = 2, e.up = 3, e.min = e.up + 1, e }(); t.TokenTypes = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.skip = t.CommonToken.create1(t.TokenTypes.invalid), e }(); t.Tokens = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.Data.Expressions.Antlr.Runtime.Misc.LookaheadStream , i = t.Data.Expressions.Antlr.Runtime.Misc.ListStack , o = function(t) { function r(n) { var r = t.call(this) || this; return r.channel = e.TokenChannels.default, r._realTokens = new i, r.maxLookBehind = 1, r.tokenSource = n, r } return __extends(r, t), r.prototype.implements = function() { return r.ImplementsUnbufferedTokenStream || (r.ImplementsUnbufferedTokenStream = [e.ITokenStream, e.ITokenStreamInformation]), r.ImplementsUnbufferedTokenStream } , Object.defineProperty(r.prototype, "sourceName", { get: function() { return this.tokenSource.sourceName }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "lastToken", { get: function() { return this.lb(1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "lastRealToken", { get: function() { return this._realTokens.peek() }, enumerable: !0, configurable: !0 }), r.prototype.mark = function() { return this._realTokens.push(this._realTokens.peek()), t.prototype.mark.call(this) } , r.prototype.release = function(e) { t.prototype.release.call(this, e), this._realTokens.pop() } , r.prototype.clear = function() { this._realTokens.clear(), this._realTokens.push(null) } , r.prototype.consume = function() { t.prototype.consume.call(this), null != this.previousElement && this.previousElement.line > 0 && (this._realTokens[this._realTokens.length - 1] = this.previousElement) } , r.prototype.extElement = function() { var t = this.tokenSource.nextToken(); return t.tokenIndex = this.tokenIndex++, t } , r.prototype.isEndOfFile = function(t) { return t.type == e.CharStreamConstants.endOfFile } , r.prototype.get = function(t) { throw new n("Absolute token indexes are meaningless in an unbuffered stream") } , r.prototype.la = function(t) { return this.lt(t).type } , r.prototype.toString2 = function(t, e) { return "n/a" } , r }(r); e.UnbufferedTokenStream = o }(n = e.Runtime || (e.Runtime = {})) }(n = e.Antlr || (e.Antlr = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function n(t, n, r, i, o) { return e.call(this, t, n, r, i, o) || this } return __extends(n, e), Object.defineProperty(n.prototype, "unexpectedToken", { get: function() { return this.token }, enumerable: !0, configurable: !0 }), n.prototype.toString = function() { var e = null != this.tokenNames && this.expecting >= 0 && this.expecting < this.tokenNames.length ? this.tokenNames[this.expecting] : this.expecting.toString() , n = ", expected " + e; if (this.expecting == t.TokenTypes.invalid && (n = ""), null == this.token) return "UnwantedTokenException(found=" + null + n + ")"; return "UnwantedTokenException(found=" + this.token.text + n + ")" } , n }(t.MismatchedTokenException); t.UnwantedTokenException = e }(e = t.Runtime || (t.Runtime = {})) }(e = t.Antlr || (t.Antlr = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = function() { function t() {} return t.extractString = function(e) { var r = e , i = 1 , o = -1; while (-1 != (o = r.indexOf(t.bs, i))) { var a = r[o + 1]; switch (a) { case "u": var s = r[o + 4] + r[o + 5] , u = r[o + 2] + r[o + 3]; break; case "n": r.stimulsoft.insert(o, "\n", 2); break; case "r": r.stimulsoft.insert(o, "\r", 2); break; case "t": r.stimulsoft.insert(o, "\t", 2); break; case "'": r.stimulsoft.insert(o, "'", 2); break; case "\\": r.stimulsoft.insert(o, "\\", 2); break; default: throw new n("Unvalid escape sequence: \\" + a) } i = o + 1 } return r.stimulsoft.remove(0, 1), r.stimulsoft.remove(r.length - 1, 1), r } , t.prototype.and = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.And,this,n) : new e.BinaryExpression(e.BinaryExpressionType.And,this,new e.ValueExpression(n)) } , t.prototype.dividedBy = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.Div,this,n) : new e.BinaryExpression(e.BinaryExpressionType.Div,this,new e.ValueExpression(n)) } , t.prototype.equalsTo = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.Equal,this,n) : new e.BinaryExpression(e.BinaryExpressionType.Equal,this,new e.ValueExpression(n)) } , t.prototype.greaterThan = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.Greater,this,n) : new e.BinaryExpression(e.BinaryExpressionType.Greater,this,new e.ValueExpression(n)) } , t.prototype.greaterOrEqualThan = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.GreaterOrEqual,this,n) : new e.BinaryExpression(e.BinaryExpressionType.GreaterOrEqual,this,new e.ValueExpression(n)) } , t.prototype.lesserThan = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.Lesser,this,n) : new e.BinaryExpression(e.BinaryExpressionType.Lesser,this,new e.ValueExpression(n)) } , t.prototype.lesserOrEqualThan = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.LesserOrEqual,this,n) : new e.BinaryExpression(e.BinaryExpressionType.LesserOrEqual,this,new e.ValueExpression(n)) } , t.prototype.minus = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.Minus,this,n) : new e.BinaryExpression(e.BinaryExpressionType.Minus,this,new e.ValueExpression(n)) } , t.prototype.modulo = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.Modulo,this,n) : new e.BinaryExpression(e.BinaryExpressionType.Modulo,this,new e.ValueExpression(n)) } , t.prototype.notEqual = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.NotEqual,this,n) : new e.BinaryExpression(e.BinaryExpressionType.NotEqual,this,new e.ValueExpression(n)) } , t.prototype.or = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.Or,this,n) : new e.BinaryExpression(e.BinaryExpressionType.Or,this,new e.ValueExpression(n)) } , t.prototype.plus = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.Plus,this,n) : new e.BinaryExpression(e.BinaryExpressionType.Plus,this,new e.ValueExpression(n)) } , t.prototype.mult = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.Times,this,n) : new e.BinaryExpression(e.BinaryExpressionType.Times,this,new e.ValueExpression(n)) } , t.prototype.bitwiseOr = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.BitwiseOr,this,n) : new e.BinaryExpression(e.BinaryExpressionType.BitwiseOr,this,new e.ValueExpression(n)) } , t.prototype.bitwiseAnd = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.BitwiseAnd,this,n) : new e.BinaryExpression(e.BinaryExpressionType.BitwiseAnd,this,new e.ValueExpression(n)) } , t.prototype.bitwiseXOr = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.BitwiseXOr,this,n) : new e.BinaryExpression(e.BinaryExpressionType.BitwiseXOr,this,new e.ValueExpression(n)) } , t.prototype.leftShift = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.LeftShift,this,n) : new e.BinaryExpression(e.BinaryExpressionType.LeftShift,this,new e.ValueExpression(n)) } , t.prototype.rightShift = function(n) { return n.stimulsoft.is(t) ? new e.BinaryExpression(e.BinaryExpressionType.RightShift,this,n) : new e.BinaryExpression(e.BinaryExpressionType.RightShift,this,new e.ValueExpression(n)) } , t.prototype.toString = function() { var t = new e.SerializationVisitor; return this.accept(t), t.result.toString().stimulsoft.trimEnd(" ") } , t.prototype.accept = function(t) { t.visit1(this) } , t.bs = "\\", t }(); e.LogicalExpression = r }(n = e.Domain || (e.Domain = {})) }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r) { var i = t.call(this) || this; return i.type = e, i.leftExpression = n, i.rightExpression = r, i } return __extends(e, t), e.prototype.accept = function(t) { t.visit3(this) } , e }(t.LogicalExpression); t.BinaryExpression = e; var n; !function(t) { t[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" }(n = t.BinaryExpressionType || (t.BinaryExpressionType = {})) }(e = t.Domain || (t.Domain = {})) }(e = t.NCalc || (t.NCalc = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(n) { var r = t.System.Exception , i = t.System.Collections.List , o = t.System.Convert , a = t.Data.Extensions.ListExt , s = t.Data.Expressions.NCalc.Domain.LogicalExpressionVisitor , u = function(t) { function s(n) { var r = t.call(this) || this; return r._options = e.EvaluateOptions.None, r.evaluateFunction = function(t, e) {} , r.evaluateParameter = function() { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e] } , r._options = n, r } return __extends(s, t), Object.defineProperty(s.prototype, "ignoreCase", { get: function() { return (this._options & e.EvaluateOptions.IgnoreCase) == e.EvaluateOptions.IgnoreCase }, enumerable: !0, configurable: !0 }), s.prototype.evaluate = function(t) { return t.accept(this), this.result } , s.prototype.visit1 = function(t) { throw new r("The method or operation is not implemented.") } , s.getMostPreciseType = function(t, e) { var n, r; try { for (var i = __values(s.commonTypes), o = i.next(); !o.done; o = i.next()) { var a = o.value; if (t == a || e == a) return a } } catch (t) { n = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (n) throw n.error } } return t } , s.prototype.compareUsingMostPreciseType = function(t, e) { return null } , s.prototype.visit2 = function(t) { t.leftExpression.accept(this), o.toBoolean(this.result) ? t.middleExpression.accept(this) : t.rightExpression.accept(this) } , s.isReal = function(t) { return null } , s.prototype.visit3 = function(t) { var r = null , u = this , l = function() { return null == r && (t.leftExpression.accept(u), r = u.result), r } , c = null , h = function() { return null == c && (t.rightExpression.accept(u), c = u.result), c }; switch (t.type) { case n.BinaryExpressionType.And: this.result = o.toBoolean(l()) && o.toBoolean(h()); break; case n.BinaryExpressionType.Or: this.result = o.toBoolean(l()) || o.toBoolean(h()); break; case n.BinaryExpressionType.Div: l().stimulsoft.is(i) || h().stimulsoft.is(i) ? this.result = e.Numbers.divide(l(), h()) : s.isReal(l()) || s.isReal(h()) ? this.result = e.Numbers.divide(l(), h()) : this.result = e.Numbers.divide(o.toDouble(l()), h()); break; case n.BinaryExpressionType.Equal: this.result = this.compareUsingMostPreciseType(l(), h()), this.result.stimulsoft.is(Number) && (this.result = 0 == this.result); break; case n.BinaryExpressionType.Greater: this.result = this.compareUsingMostPreciseType(l(), h()), this.result.stimulsoft.is(Number) && (this.result = this.result > 0); break; case n.BinaryExpressionType.GreaterOrEqual: this.result = this.compareUsingMostPreciseType(l(), h()), this.result.stimulsoft.is(Number) && (this.result = this.result >= 0); break; case n.BinaryExpressionType.Lesser: this.result = this.compareUsingMostPreciseType(l(), h()), this.result.stimulsoft.is(Number) && (this.result = this.result < 0); break; case n.BinaryExpressionType.LesserOrEqual: this.result = this.compareUsingMostPreciseType(l(), h()), this.result.stimulsoft.is(Number) && (this.result = this.result <= 0); break; case n.BinaryExpressionType.Minus: this.result = e.Numbers.soustract(l(), h()); break; case n.BinaryExpressionType.Modulo: this.result = e.Numbers.modulo(l(), h()); break; case n.BinaryExpressionType.NotEqual: this.result = this.compareUsingMostPreciseType(l(), h()), this.result.stimulsoft.is(Number) && (this.result = 0 != this.result); break; case n.BinaryExpressionType.Plus: this.result = l().stimulsoft.is(String) ? l() + h() : e.Numbers.add(l(), h()); break; case n.BinaryExpressionType.Times: this.result = e.Numbers.multiply(l(), h()); break; case n.BinaryExpressionType.BitwiseAnd: var p = l() , f = h(); a.isList(p) || a.isList(f) ? this.result = i.bitwiseAnd(p, f) : this.result = o.toUInt32(p) & o.toUInt32(f); break; case n.BinaryExpressionType.BitwiseOr: var m = l() , d = h(); a.isList(m) || a.isList(d) ? this.result = i.bitwiseOr(m, d) : this.result = o.toUInt32(m) | o.toUInt32(d); break; case n.BinaryExpressionType.BitwiseXOr: var y = l() , v = h(); a.isList(y) || a.isList(v) ? this.result = i.bitwiseXOr(y, v) : this.result = o.toUInt32(y) | o.toUInt32(v); break; case n.BinaryExpressionType.LeftShift: this.result = o.toUInt32(l()) << o.toUInt32(h()); break; case n.BinaryExpressionType.RightShift: this.result = o.toUInt32(l()) >> o.toUInt32(h()); break } } , s.prototype.visit4 = function(t) { switch (t.expression.accept(this), t.type) { case n.UnaryExpressionType.Not: a.isList(this.result) ? this.result = i.bitwiseXOr(this.result, 1) : this.result = !o.toBoolean(this.result); break; case n.UnaryExpressionType.Negate: this.result = e.Numbers.soustract(0, this.result); break; case n.UnaryExpressionType.BitwiseNot: this.result = ~o.toUInt32(this.result); break } } , s.prototype.visit5 = function(t) { this.result = t.value } , s.prototype.visit6 = function(t) { var n = new e.FunctionArgs; n.parameters = i.create(e.Expression, t.expressions.length); for (var a = 0; a < t.expressions.length; a++) n.parameters[a] = e.Expression.create2(t.expressions[a], this._options), n.parameters[a].evaluateFunction = this.evaluateFunction, n.parameters[a].evaluateParameter = this.evaluateParameter, n.parameters[a].parameters = this.parameters; if (this.onEvaluateFunction(this.ignoreCase ? t.identifier.name.toLowerCase() : t.identifier.name, n), n.hasResult) return void (this.result = n.result); switch (t.identifier.name.toLowerCase()) { case "abs": if (this.checkCase("Abs", t.identifier.name), 1 != t.expressions.length) throw new r("Abs() takes exactly 1 argument"); this.result = Math.abs(o.toNumber(this.evaluate(t.expressions[0]))); break; case "acos": if (this.checkCase("Acos", t.identifier.name), 1 != t.expressions.length) throw new r("Acos() takes exactly 1 argument"); this.result = Math.acos(o.toDouble(this.evaluate(t.expressions[0]))); break; case "asin": if (this.checkCase("Asin", t.identifier.name), 1 != t.expressions.length) throw new r("Asin() takes exactly 1 argument"); this.result = Math.asin(o.toDouble(this.evaluate(t.expressions[0]))); break; case "atan": if (this.checkCase("Atan", t.identifier.name), 1 != t.expressions.length) throw new r("Atan() takes exactly 1 argument"); this.result = Math.atan(o.toDouble(this.evaluate(t.expressions[0]))); break; case "ceiling": if (this.checkCase("Ceiling", t.identifier.name), 1 != t.expressions.length) throw new r("Ceiling() takes exactly 1 argument"); this.result = Math.ceil(o.toDouble(this.evaluate(t.expressions[0]))); break; case "cos": if (this.checkCase("Cos", t.identifier.name), 1 != t.expressions.length) throw new r("Cos() takes exactly 1 argument"); this.result = Math.cos(o.toDouble(this.evaluate(t.expressions[0]))); break; case "exp": if (this.checkCase("Exp", t.identifier.name), 1 != t.expressions.length) throw new r("Exp() takes exactly 1 argument"); this.result = Math.exp(o.toDouble(this.evaluate(t.expressions[0]))); break; case "floor": if (this.checkCase("Floor", t.identifier.name), 1 != t.expressions.length) throw new r("Floor() takes exactly 1 argument"); this.result = Math.floor(o.toDouble(this.evaluate(t.expressions[0]))); break; case "ieeeremainder": if (this.checkCase("IEEERemainder", t.identifier.name), 2 != t.expressions.length) throw new r("IEEERemainder() takes exactly 2 arguments"); break; case "log": if (this.checkCase("Log", t.identifier.name), 2 != t.expressions.length) throw new r("Log() takes exactly 2 arguments"); break; case "log10": if (this.checkCase("Log10", t.identifier.name), 1 != t.expressions.length) throw new r("Log10() takes exactly 1 argument"); this.result = Math.log10(o.toDouble(this.evaluate(t.expressions[0]))); break; case "pow": if (this.checkCase("Pow", t.identifier.name), 2 != t.expressions.length) throw new r("Pow() takes exactly 2 arguments"); this.result = Math.pow(o.toDouble(this.evaluate(t.expressions[0])), o.toDouble(this.evaluate(t.expressions[1]))); break; case "round": if (this.checkCase("Round", t.identifier.name), 2 != t.expressions.length) throw new r("Round() takes exactly 2 arguments"); break; case "sign": if (this.checkCase("Sign", t.identifier.name), 1 != t.expressions.length) throw new r("Sign() takes exactly 1 argument"); this.result = Math.sign(o.toDouble(this.evaluate(t.expressions[0]))); break; case "sin": if (this.checkCase("Sin", t.identifier.name), 1 != t.expressions.length) throw new r("Sin() takes exactly 1 argument"); this.result = Math.sin(o.toDouble(this.evaluate(t.expressions[0]))); break; case "sqrt": if (this.checkCase("Sqrt", t.identifier.name), 1 != t.expressions.length) throw new r("Sqrt() takes exactly 1 argument"); this.result = Math.sqrt(o.toDouble(this.evaluate(t.expressions[0]))); break; case "tan": if (this.checkCase("Tan", t.identifier.name), 1 != t.expressions.length) throw new r("Tan() takes exactly 1 argument"); this.result = Math.tan(o.toDouble(this.evaluate(t.expressions[0]))); break; case "truncate": if (this.checkCase("Truncate", t.identifier.name), 1 != t.expressions.length) throw new r("Truncate() takes exactly 1 argument"); this.result = Math.trunc(o.toDouble(this.evaluate(t.expressions[0]))); break; case "max": if (this.checkCase("Max", t.identifier.name), 2 != t.expressions.length) throw new r("Max() takes exactly 2 arguments"); var s = this.evaluate(t.expressions[0]) , u = this.evaluate(t.expressions[1]); this.result = e.Numbers.max(s, u); break; case "min": if (this.checkCase("Min", t.identifier.name), 2 != t.expressions.length) throw new r("Min() takes exactly 2 arguments"); var l = this.evaluate(t.expressions[0]) , c = this.evaluate(t.expressions[1]); this.result = e.Numbers.min(l, c); break; case "if": if (this.checkCase("if", t.identifier.name), 3 != t.expressions.length) throw new r("if() takes exactly 3 arguments"); var h = o.toBoolean(this.evaluate(t.expressions[0])); this.result = h ? 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 r("in() takes at least 2 arguments"); for (var p = this.evaluate(t.expressions[0]), f = !1, a = 1; a < t.expressions.length; a++) { var m = this.evaluate(t.expressions[a]) , d = this.compareUsingMostPreciseType(p, m); if (d.stimulsoft.is(Number) && 0 == d) { f = !0; break } } this.result = f; break; default: throw new r("Function not found") } } , s.prototype.checkCase = function(t, e) { if (this.ignoreCase) { if (t.toLowerCase() == e.toLowerCase()) return; throw new r("Function not found") } if (t != e) throw new Error("Function not found " + e + ". Try " + t + " instead.") } , s.prototype.onEvaluateFunction = function(t, e) { null != this.evaluateFunction && this.evaluateFunction(t, e) } , s.prototype.visit7 = function(t) { var n, i; if (this.parameters.contains(t.name)) if (this.parameters.get(t.name).stimulsoft.is(e.Expression)) { var o = this.parameters.get(t.name); try { for (var a = __values(this.parameters.pairs), s = a.next(); !s.done; s = a.next()) { var u = s.value; o.parameters.set(u.key, u.value) } } catch (t) { n = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (n) throw n.error } } o.evaluateFunction = this.evaluateFunction, o.evaluateParameter = this.evaluateParameter, this.result = this.parameters.get(t.name).evaluate() } else this.result = this.parameters.get(t.name); else { var l = new e.ParameterArgs; if (this.onEvaluateParameter(t.name, l), !l.hasResult) throw new r("Parameter was not defined"); this.result = l.result } } , s.prototype.onEvaluateParameter = function(t, e) { null != this.evaluateParameter && this.evaluateParameter(t, e) } , s.commonTypes = [Number, Boolean, String], s }(s); n.EvaluationVisitor = u }(n = e.Domain || (e.Domain = {})) }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n) { var r = t.call(this) || this; return r.identifier = e, r.expressions = n, r } return __extends(e, t), e.prototype.accept = function(t) { t.visit6(this) } , e }(t.LogicalExpression); t.Functionn = e }(e = t.Domain || (t.Domain = {})) }(e = t.NCalc || (t.NCalc = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e) { var n = t.call(this) || this; return n.name = e, n } return __extends(e, t), e.prototype.accept = function(t) { t.visit7(this) } , e }(t.LogicalExpression); t.Identifier = e }(e = t.Domain || (t.Domain = {})) }(e = t.NCalc || (t.NCalc = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.System.Globalization.NumberFormatInfo , i = function(t) { function i() { var e = t.call(this) || this; return e.result = "", e._numberFormatInfo = new r, e._numberFormatInfo.numberDecimalSeparator = ".", e } return __extends(i, t), i.prototype.visit1 = function(t) { throw new n("The method or operation is not implemented.") } , i.prototype.visit2 = function(t) { this.encapsulateNoValue(t.leftExpression), this.result += "? ", this.encapsulateNoValue(t.middleExpression), this.result += ": ", this.encapsulateNoValue(t.rightExpression) } , i.prototype.visit3 = function(t) { switch (this.encapsulateNoValue(t.leftExpression), t.type) { case e.BinaryExpressionType.And: this.result += "and "; break; case e.BinaryExpressionType.Or: this.result += "or "; break; case e.BinaryExpressionType.Div: this.result += "/ "; break; case e.BinaryExpressionType.Equal: this.result += "= "; break; case e.BinaryExpressionType.Greater: this.result += "> "; break; case e.BinaryExpressionType.GreaterOrEqual: this.result += ">= "; break; case e.BinaryExpressionType.Lesser: this.result += "< "; break; case e.BinaryExpressionType.LesserOrEqual: this.result += "<= "; break; case e.BinaryExpressionType.Minus: this.result += "- "; break; case e.BinaryExpressionType.Modulo: this.result += "% "; break; case e.BinaryExpressionType.NotEqual: this.result += "!= "; break; case e.BinaryExpressionType.Plus: this.result += "+ "; break; case e.BinaryExpressionType.Times: this.result += "* "; break; case e.BinaryExpressionType.BitwiseAnd: this.result += "& "; break; case e.BinaryExpressionType.BitwiseOr: this.result += "| "; break; case e.BinaryExpressionType.BitwiseXOr: this.result += "~ "; break; case e.BinaryExpressionType.LeftShift: this.result += "<< "; break; case e.BinaryExpressionType.RightShift: this.result += ">> "; break } this.encapsulateNoValue(t.rightExpression) } , i.prototype.visit4 = function(t) { switch (t.type) { case e.UnaryExpressionType.Not: this.result += "!"; break; case e.UnaryExpressionType.Negate: this.result += "-"; break; case e.UnaryExpressionType.BitwiseNot: this.result += "~"; break } this.encapsulateNoValue(t.expression) } , i.prototype.visit5 = function(t) { switch (t.type) { case e.ValueType.Boolean: this.result += t.value.toString() + " "; break; case e.ValueType.DateTime: this.result += "#" + t.value.toString + "#" + " "; break; case e.ValueType.Float: break; case e.ValueType.Integer: this.result += t.value.toString() + " "; break; case e.ValueType.String: this.result += "'" + t.value.toString + "'" + " "; break } } , i.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 += ") " } , i.prototype.visit7 = function(t) { this.result += "[" + t.name + "] " } , i.prototype.encapsulateNoValue = function(t) { if (t.stimulsoft.is(e.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 += ") " } } , i }(e.LogicalExpressionVisitor); e.SerializationVisitor = i }(n = e.Domain || (e.Domain = {})) }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n, r) { var i = t.call(this) || this; return i.leftExpression = e, i.middleExpression = n, i.rightExpression = r, i } return __extends(e, t), e.prototype.accept = function(t) { t.visit2(this) } , e }(t.LogicalExpression); t.TernaryExpression = e }(e = t.Domain || (t.Domain = {})) }(e = t.NCalc || (t.NCalc = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, n) { var r = t.call(this) || this; return r.type = e, r.expression = n, r } return __extends(e, t), e.prototype.accept = function(t) { t.visit4(this) } , e }(t.LogicalExpression); t.UnaryExpression = e; var n; !function(t) { t[t.Not = 0] = "Not", t[t.Negate = 1] = "Negate", t[t.BitwiseNot = 2] = "BitwiseNot" }(n = t.UnaryExpressionType || (t.UnaryExpressionType = {})) }(e = t.Domain || (t.Domain = {})) }(e = t.NCalc || (t.NCalc = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.System.Type , i = t.System.DateTime , o = function(t) { function e(e, o) { var s = t.call(this) || this; if (null == o) switch (r.getType(e)) { case Boolean: o = a.Boolean; break; case i: o = a.DateTime; break; case Number: o = a.Integer; break; case Number: o = a.Float; break; case String: o = a.String; break; default: throw new n("This value could not be handled: " + e) } return s.value = e, s.type = o, s } return __extends(e, t), e.prototype.accept = function(t) { t.visit5(this) } , e }(e.LogicalExpression); e.ValueExpression = o; var a; !function(t) { t[t.Integer = 0] = "Integer", t[t.String = 1] = "String", t[t.DateTime = 2] = "DateTime", t[t.Float = 3] = "Float", t[t.Boolean = 4] = "Boolean" }(a = e.ValueType || (e.ValueType = {})) }(n = e.Domain || (e.Domain = {})) }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = function(t) { function e(e, n) { return t.call(this, e, n) || this } return __extends(e, t), e }(n); e.EvaluationException = r }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.None = 1] = "None", t[t.IgnoreCase = 2] = "IgnoreCase", t[t.NoCache = 4] = "NoCache", t[t.IterateParameters = 8] = "IterateParameters", t[t.RoundAwayFromZero = 16] = "RoundAwayFromZero" }(e = t.EvaluateOptions || (t.EvaluateOptions = {})) }(e = t.NCalc || (t.NCalc = {})) }(e = t.Expressions || (t.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.Data.Expressions.Antlr.Runtime.DFA , r = t.Data.Expressions.Antlr.Runtime.NoViableAltException , i = t.Data.Expressions.Antlr.Runtime.MismatchedSetException , o = t.Data.Expressions.Antlr.Runtime.EarlyExitException , a = t.Data.Expressions.Antlr.Runtime.Lexer , s = function(t) { function e(e, n) { var r = t.call(this, e, n) || this; return r.EOF = -1, r.DATETIME = 4, r.DIGIT = 5, r.E = 6, r.EscapeSequence = 7, r.FALSE = 8, r.FLOAT = 9, r.HexDigit = 10, r.ID = 11, r.INTEGER = 12, r.LETTER = 13, r.NAME = 14, r.STRING = 15, r.TRUE = 16, r.UnicodeEscape = 17, r.WS = 18, r.T__19 = 19, r.T__20 = 20, r.T__21 = 21, r.T__22 = 22, r.T__23 = 23, r.T__24 = 24, r.T__25 = 25, r.T__26 = 26, r.T__27 = 27, r.T__28 = 28, r.T__29 = 29, r.T__30 = 30, r.T__31 = 31, r.T__32 = 32, r.T__33 = 33, r.T__34 = 34, r.T__35 = 35, r.T__36 = 36, r.T__37 = 37, r.T__38 = 38, r.T__39 = 39, r.T__40 = 40, r.T__41 = 41, r.T__42 = 42, r.T__43 = 43, r.T__44 = 44, r.T__45 = 45, r.T__46 = 46, r.T__47 = 47, r.T__48 = 48, r } return __extends(e, t), e.prototype.mT__19 = function() { try { var t = this.T__19 , e = this.defaultTokenChannel; this.match3("!"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__20 = function() { try { var t = this.T__20 , e = this.defaultTokenChannel; this.match3("!="), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__21 = function() { try { var t = this.T__21 , e = this.defaultTokenChannel; this.match3("%"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__22 = function() { try { var t = this.T__22 , e = this.defaultTokenChannel; this.match3("&&"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__23 = function() { try { var t = this.T__23 , e = this.defaultTokenChannel; this.match3("&"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__24 = function() { try { var t = this.T__24 , e = this.defaultTokenChannel; this.match3("("), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__25 = function() { try { var t = this.T__25 , e = this.defaultTokenChannel; this.match3(")"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__26 = function() { try { var t = this.T__26 , e = this.defaultTokenChannel; this.match3("*"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__27 = function() { try { var t = this.T__27 , e = this.defaultTokenChannel; this.match3("+"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__28 = function() { try { var t = this.T__28 , e = this.defaultTokenChannel; this.match3(","), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__29 = function() { try { var t = this.T__29 , e = this.defaultTokenChannel; this.match3("-"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__30 = function() { try { var t = this.T__30 , e = this.defaultTokenChannel; this.match3("/"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__31 = function() { try { var t = this.T__31 , e = this.defaultTokenChannel; this.match3(":"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__32 = function() { try { var t = this.T__32 , e = this.defaultTokenChannel; this.match3("<"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__33 = function() { try { var t = this.T__33 , e = this.defaultTokenChannel; this.match3("<<"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.enterRule_T__34 = function() {} , e.prototype.leaveRule_T__34 = function() {} , e.prototype.mT__34 = function() { try { var t = this.T__34 , e = this.defaultTokenChannel; this.match3("<="), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__35 = function() { try { var t = this.T__35 , e = this.defaultTokenChannel; this.match3("<>"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__36 = function() { try { var t = this.T__36 , e = this.defaultTokenChannel; this.match3("="), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__37 = function() { try { var t = this.T__37 , e = this.defaultTokenChannel; this.match3("=="), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__38 = function() { try { var t = this.T__38 , e = this.defaultTokenChannel; this.match3(">"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__39 = function() { try { var t = this.T__39 , e = this.defaultTokenChannel; this.match3(">="), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__40 = function() { try { var t = this.T__40 , e = this.defaultTokenChannel; this.match3(">>"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__41 = function() { try { var t = this.T__41 , e = this.defaultTokenChannel; this.match3("?"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__42 = function() { try { var t = this.T__42 , e = this.defaultTokenChannel; this.match3("^"), this.state.type = t, this.state.channel = e } finally {} } , e.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 {} } , e.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 {} } , e.prototype.enterRule_T__45 = function() {} , e.prototype.leaveRule_T__45 = function() {} , e.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 {} } , e.prototype.mT__46 = function() { try { var t = this.T__46 , e = this.defaultTokenChannel; this.match3("|"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__47 = function() { try { var t = this.T__47 , e = this.defaultTokenChannel; this.match3("||"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mT__48 = function() { try { var t = this.T__48 , e = this.defaultTokenChannel; this.match3("~"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mTRUE = function() { try { var t = this.TRUE , e = this.defaultTokenChannel; this.match3("true"), this.state.type = t, this.state.channel = e } finally {} } , e.prototype.mFALSE = function() { try { var t = this.FALSE , e = this.defaultTokenChannel; this.match3("false"), this.state.type = t, this.state.channel = e } finally {} } , e.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 {} } , e.prototype.mINTEGER = function() { try { var t = this.INTEGER , e = this.defaultTokenChannel , n = 0; 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: if (n >= 1) { r = !0; break } throw new o(null,2,this.input) } n++ } } finally {} this.state.type = t, this.state.channel = e } finally {} } , e.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 s = 0; try { var r = !1; while (!r) { var u = 2; try { var l = this.input.la(1); l >= "0".charCodeAt(0) && l <= "9".charCodeAt(0) && (u = 1) } finally {} switch (u) { case 1: this.input.consume(); break; default: if (s >= 1) { r = !0; break } throw new o(null,4,this.input) } s++ } } 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; try { var m = this.input.la(1); m >= "0".charCodeAt(0) && m <= "9".charCodeAt(0) && (f = 1) } finally {} switch (f) { case 1: this.input.consume(); break; default: if (p >= 1) { r = !0; break } throw new o(null,6,this.input) } p++ } } finally {} this.mE(); break } this.state.type = t, this.state.channel = e } finally {} } , e.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 {} } , e.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 {} } , e.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 {} } , e.prototype.mE = function() { try { if (this.input.la(1) != "E".charCodeAt(0) && this.input.la(1) != "e".charCodeAt(0)) { var t = new i(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 a = !1; while (!a) { var s = 2; try { var u = this.input.la(1); u >= "0".charCodeAt(0) && u <= "9".charCodeAt(0) && (s = 1) } finally {} switch (s) { case 1: this.input.consume(); break; default: if (r >= 1) { a = !0; break } throw new o(null,12,this.input) } r++ } } finally {} } finally {} } , e.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 i(null,null,this.input); throw this.recover2(t), t } this.input.consume() } finally {} } , e.prototype.mDIGIT = function() { try { if (!(this.input.la(1) >= "0".charCodeAt(0) && this.input.la(1) <= "9".charCodeAt(0))) { var t = new i(null,null,this.input); throw this.recover2(t), t } this.input.consume() } finally {} } , e.prototype.mEscapeSequence = function() { try { this.match3("\\"); var t = 6; 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 {} } , e.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 i(null,null,this.input); throw this.recover2(t), t } this.input.consume() } finally {} } , e.prototype.mUnicodeEscape = function() { try { this.match3("u"), this.mHexDigit(), this.mHexDigit(), this.mHexDigit(), this.mHexDigit() } finally {} } , e.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 i(null,null,this.input); throw this.recover2(n), n } this.input.consume(), e = this.hidden, this.state.type = t, this.state.channel = e } finally {} } , e.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 } } , e.prototype.initDFAs = function() { t.prototype.initDFAs.call(this), this.dfa7 = new u(this), this.dfa14 = new l(this) } , e }(a); e.NCalcLexer = s; var u = function(t) { function e(n) { var r = t.call(this) || this; return r.description = "252:1: FLOAT : ( ( DIGIT )* '.' ( DIGIT )+ ( E )? | ( DIGIT )+ E );", r.recognizer = n, r.decisionNumber = 7, r.eot = e.DFA7_eot, r.eof = e.DFA7_eof, r.min = e.DFA7_min, r.max = e.DFA7_max, r.accept = e.DFA7_accept, r.special = e.DFA7_special, r.transition = e.DFA7_transition, r } return __extends(e, t), e.initialize = function() { var t = this.DFA7_transitionS.length; e.DFA7_transition = []; for (var r = 0; r < t; r++) e.DFA7_transition[r] = n.unpackEncodedString(e.DFA7_transitionS[r]) } , e.prototype.error = function(t) { this.debugRecognitionException(t) } , e.DFA7_eotS = "￿", e.DFA7_eofS = "￿", e.DFA7_minS = ".￿", e.DFA7_maxS = "9e￿", e.DFA7_acceptS = "￿", e.DFA7_specialS = "￿}>", e.DFA7_transitionS = ["￿\n", "￿\n\v￿￿", "", ""], e.DFA7_eot = n.unpackEncodedString(e.DFA7_eotS), e.DFA7_eof = n.unpackEncodedString(e.DFA7_eofS), e.DFA7_min = n.unpackEncodedStringToUnsignedChars(e.DFA7_minS), e.DFA7_max = n.unpackEncodedStringToUnsignedChars(e.DFA7_maxS), e.DFA7_accept = n.unpackEncodedString(e.DFA7_acceptS), e.DFA7_special = n.unpackEncodedString(e.DFA7_specialS), e }(n); u.initialize(); var l = function(t) { function e(n) { var r = t.call(this) || this; return r.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 );", r.recognizer = n, r.decisionNumber = 14, r.eot = e.DFA14_eot, r.eof = e.DFA14_eof, r.min = e.DFA14_min, r.max = e.DFA14_max, r.accept = e.DFA14_accept, r.special = e.DFA14_special, r.transition = e.DFA14_transition, r } return __extends(e, t), e.initialize = function() { var t = e.DFA14_transitionS.length; e.DFA14_transition = []; for (var r = 0; r < t; r++) e.DFA14_transition[r] = n.unpackEncodedString(e.DFA14_transitionS[r]) } , e.prototype.error = function(t) { this.debugRecognitionException(t) } , e.DFA14_eotS = '￿ ￿"\b￿&(+￿' + "0￿￿3￿6" + "￿￿9:￿￿=" + "￿?￿", e.DFA14_eofS = "@￿", e.DFA14_minS = "\t=￿&\b￿<=￿n" + "or|￿ra￿.￿" + "dt0￿ul￿0￿" + "es￿0e￿0￿", e.DFA14_maxS = "~=￿&\b￿>=>￿" + "nor|￿ra￿e" + "￿dtz￿ul￿z" + "￿es￿ze￿z￿", e.DFA14_acceptS = "￿￿\b\t\n\v\f" + "\r￿￿￿!￿" + "#$%&'" + "￿" + '￿"￿￿￿' + "￿ ", e.DFA14_specialS = "@￿}>", e.DFA14_transitionS = ["￿￿￿￿" + "\b\t\n" + "\n\v￿\f\r￿" + "￿￿" + "￿￿", "", "", "!", "", "", "", "", "", "", "", "", "#$%", "'", ")*", "", "", ",", "-", ".", "/", "", "1", "2", "", "￿\n\v￿￿", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "4", "5", "\n￿￿￿", "", "", "7", "8", "", "\n￿￿￿", "\n￿￿￿", "", ";", "<", "", "", "\n￿￿￿", ">", "", "\n￿￿￿", ""], e.DFA14_eot = n.unpackEncodedString(e.DFA14_eotS), e.DFA14_eof = n.unpackEncodedString(e.DFA14_eofS), e.DFA14_min = n.unpackEncodedStringToUnsignedChars(e.DFA14_minS), e.DFA14_max = n.unpackEncodedStringToUnsignedChars(e.DFA14_maxS), e.DFA14_accept = n.unpackEncodedString(e.DFA14_acceptS), e.DFA14_special = n.unpackEncodedString(e.DFA14_specialS), e }(n); l.initialize() }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.Exception , i = t.System.Collections.Dictionary , o = t.System.Collections.List , a = t.Data.Expressions.NCalc.Domain.EvaluationVisitor , s = t.System.Environment , u = t.Data.Expressions.Antlr.Runtime.CommonTokenStream , l = t.Data.Expressions.Antlr.Runtime.ANTLRStringStream , c = t.Data.Expressions.NCalc.NCalcLexer , h = function() { function t() {} return t.prototype.releaseReaderLock = function() {} , t.prototype.releaseWriterLock = function() {} , t.prototype.acquireReaderLock = function(t) {} , t.prototype.acquireWriterLock = function(t) {} , t }(); e.ReaderWriterLock = h; var p = function() { function t(t) { this.isAlive = !1 } return t }(); e.WeakReference = p; var f = function() { function t() { this.parameters = new i } return t.create1 = function(i, o) { if (n.isNullOrEmpty(i)) throw new r("Expression can't be empty"); null == o && (o = e.EvaluateOptions.None); var a = new t; return a.originalExpression = i, a.options = o, a } , t.create2 = function(n, i) { if (null == n) throw new r("Expression can't be null"); null == i && (i = e.EvaluateOptions.None); var o = new t; return o.parsedExpression = n, o.options = i, o } , Object.defineProperty(t, "cacheEnabled", { get: function() { return t._cacheEnabled }, set: function(e) { t._cacheEnabled = e, t.cacheEnabled || (t._compiledExpressions = new i) }, enumerable: !0, configurable: !0 }), t.cleanCache = function() { var e, n, r, i, a = new o; try { t.rwl.acquireWriterLock(this.Timeout.Infinite); try { for (var s = __values(t._compiledExpressions.pairs), u = s.next(); !u.done; u = s.next()) { var l = u.value; l.value.isAlive || a.add(l.key) } } catch (t) { e = { error: t } } finally { try { u && !u.done && (n = s.return) && n.call(s) } finally { if (e) throw e.error } } try { for (var c = __values(a), h = c.next(); !h.done; h = c.next()) { var p = h.value; t._compiledExpressions.remove(p) } } catch (t) { r = { error: t } } finally { try { h && !h.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } } finally { t.rwl.releaseReaderLock() } } , t.compile = function(i, o) { var a = null; if (t._cacheEnabled && !o) try { if (t.rwl.acquireReaderLock(this.Timeout.Infinite), t._compiledExpressions.contains(i)) { if (t._compiledExpressions.get(i).isAlive && null != a) return a } } finally { t.rwl.releaseReaderLock() } if (null == a) { var h = new c(new l(i)) , f = new e.NCalcParser(new u(h)); if (a = f.ncalcExpression().value, null != f.errors && f.errors.length > 0) throw new r(n.join(s.newLine, f.errors)); if (t._cacheEnabled && !o) { try { t.rwl.acquireWriterLock(this.Timeout.Infinite), t._compiledExpressions.set(i, new p(a)) } finally { t.rwl.releaseWriterLock() } t.cleanCache() } } return a } , t.prototype.hasErrors = function() { try { return null == this.parsedExpression && (this.parsedExpression = t.compile(this.originalExpression, (this.options & e.EvaluateOptions.NoCache) == e.EvaluateOptions.NoCache)), null != this.parsedExpression && null != this.error } catch (t) { return this.error = t.message, !0 } } , t.prototype.evaluate = function() { var n, s, u, l, c, h, p, f, m, d; if (this.hasErrors()) throw new e.EvaluationException(this.error); null == this.parsedExpression && (this.parsedExpression = t.compile(this.originalExpression, (this.options & e.EvaluateOptions.NoCache) == e.EvaluateOptions.NoCache)); var y = new a(this.options); if (y.evaluateFunction = this.evaluateFunction, y.evaluateParameter = this.evaluateParameter, y.parameters = this.parameters, (this.options & e.EvaluateOptions.IterateParameters) == e.EvaluateOptions.IterateParameters) { var v = -1; this.parametersBackup = new i; try { for (var g = __values(this.parameters.keys), b = g.next(); !b.done; b = g.next()) { var S = b.value; this.parametersBackup.add(S, this.parameters.get(S)) } } catch (t) { n = { error: t } } finally { try { b && !b.done && (s = g.return) && s.call(g) } finally { if (n) throw n.error } } this.parameterEnumerators = new i; try { for (var T = __values(this.parameters.values), x = T.next(); !x.done; x = T.next()) { var E = x.value; if (E.stimulsoft.is(o)) { var _ = 0; try { for (var w = (c = void 0, __values(E)), D = w.next(); !D.done; D = w.next()) { var C = D.value; _++ } } catch (t) { c = { error: t } } finally { try { D && !D.done && (h = w.return) && h.call(w) } finally { if (c) throw c.error } } if (-1 == v) v = _; else if (_ != v) throw new r("When IterateParameters option is used, IEnumerable parameters must have the same number of items") } } } catch (t) { u = { error: t } } finally { try { x && !x.done && (l = T.return) && l.call(T) } finally { if (u) throw u.error } } try { for (var k = __values(this.parameters.keys), I = k.next(); !I.done; I = k.next()) { var S = I.value , E = this.parameters.get(S).stimulsoft.as(o); null != E && this.parameterEnumerators.add(S, E.getEnumerator()) } } catch (t) { p = { error: t } } finally { try { I && !I.done && (f = k.return) && f.call(k) } finally { if (p) throw p.error } } for (var N = new o, O = 0; O < v; O++) { try { for (var A = (m = void 0, __values(this.parameterEnumerators.keys)), F = A.next(); !F.done; F = A.next()) var S = F.value } catch (t) { m = { error: t } } finally { try { F && !F.done && (d = A.return) && d.call(A) } finally { if (m) throw m.error } } this.parsedExpression.accept(y), N.add(y.result) } return N } return this.parsedExpression.accept(y), y.result } , t.Timeout = { Infinite: 1e5 }, t._cacheEnabled = !0, t._compiledExpressions = new i, t.rwl = new h, t }(); e.Expression = f }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Collections.List , r = t.System.EventArgs , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.hasResult = !1, e.parameters = new n, e } return __extends(e, t), Object.defineProperty(e.prototype, "result", { get: function() { return this._result }, set: function(t) { this._result = t, this.hasResult = !0 }, enumerable: !0, configurable: !0 }), e.prototype.evaluateParameters = function() { for (var t = n.create(Object, this.parameters.length), e = 0; e < t.length; e++) t[e] = this.parameters[e].evaluate(); return t } , e }(r); e.FunctionArgs = i }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.Exception , r = t.Data.Expressions.NCalc.Domain.Functionn , i = t.Data.Expressions.NCalc.Domain.UnaryExpressionType , o = t.Data.Expressions.NCalc.Domain.UnaryExpression , a = t.Data.Expressions.NCalc.Domain.BinaryExpression , s = t.Data.Expressions.NCalc.Domain.TernaryExpression , u = t.Data.Expressions.NCalc.Domain.ValueExpression , l = t.Data.Expressions.NCalc.Domain.Identifier , c = t.Data.Expressions.Antlr.Runtime.NoViableAltException , h = t.Data.Expressions.Antlr.Runtime.MismatchedSetException , p = t.Data.Expressions.Antlr.Runtime.BitSet , f = t.Data.Expressions.Antlr.Runtime.Tree.CommonTreeAdaptor , m = t.Data.Expressions.Antlr.Runtime.Parser , d = t.System.Collections.List , y = t.Data.Expressions.Antlr.Runtime.AstParserRuleReturnScope , v = t.Data.Expressions.NCalc.Domain.BinaryExpressionType , g = t.System.DateTime , b = function(t) { function e(e, n) { var r = t.call(this, e, n) || this; r.tokenNames = ["", "", "", "", "DATETIME", "DIGIT", "E", "EscapeSequence", "FALSE", "FLOAT", "HexDigit", "ID", "INTEGER", "LETTER", "NAME", "STRING", "TRUE", "UnicodeEscape", "WS", "'!'", "'!='", "'%'", "'&&'", "'&'", "'('", "')'", "'*'", "'+'", "','", "'-'", "'/'", "':'", "'<'", "'<<'", "'<='", "'<>'", "'='", "'=='", "'>'", "'>='", "'>>'", "'?'", "'^'", "'and'", "'not'", "'or'", "'|'", "'||'", "'~'"], r.EOF = -1, r.DATETIME = 4, r.DIGIT = 5, r.E = 6, r.EscapeSequence = 7, r.FALSE = 8, r.FLOAT = 9, r.HexDigit = 10, r.ID = 11, r.INTEGER = 12, r.LETTER = 13, r.NAME = 14, r.STRING = 15, r.TRUE = 16, r.UnicodeEscape = 17, r.WS = 18, r.T__19 = 19, r.T__20 = 20, r.T__21 = 21, r.T__22 = 22, r.T__23 = 23, r.T__24 = 24, r.T__25 = 25, r.T__26 = 26, r.T__27 = 27, r.T__28 = 28, r.T__29 = 29, r.T__30 = 30, r.T__31 = 31, r.T__32 = 32, r.T__33 = 33, r.T__34 = 34, r.T__35 = 35, r.T__36 = 36, r.T__37 = 37, r.T__38 = 38, r.T__39 = 39, r.T__40 = 40, r.T__41 = 41, r.T__42 = 42, r.T__43 = 43, r.T__44 = 44, r.T__45 = 45, r.T__46 = 46, r.T__47 = 47, r.T__48 = 48, r.grammarFileName = "C:\\Work\\Projects\\OSS\\NCalc\\Grammar\\NCalc.g", r.bs = "\\"; var i = { ref: null }; return r.createTreeAdaptor(i), r.adaptor = null != i.ref ? i.ref : new f, r.onCreated(), r } return __extends(e, t), e.prototype.createTreeAdaptor = function(t) {} , e.prototype.extractString = function(t) { var e = t , r = 1 , i = -1; while (-1 != (i = e.indexOf(this.bs, r))) { var o = e[i + 1]; switch (o) { case "u": var a = e[i + 4] + e[i + 5] , s = e[i + 2] + e[i + 3]; break; case "n": e = e.stimulsoft.insert(i, "\n", 2); break; case "r": e = e.stimulsoft.insert(i, "\r", 2); break; case "t": e = e.stimulsoft.insert(i, "\t", 2); break; case "'": e = e.stimulsoft.insert(i, "'", 2); break; case "\\": e = e.stimulsoft.insert(i, "\\", 2); break; default: throw new n("Unvalid escape sequence: \\" + o) } r = i + 1 } return e = e.stimulsoft.remove(0, 1), e = e.stimulsoft.remove(e.length - 1, 1) } , e.prototype.displayRecognitionError = function(e, n) { t.prototype.displayRecognitionError.call(this, e, n), null == this.errors && (this.errors = new d); var r = this.getErrorHeader(n) , i = this.getErrorMessage(n, e); this.errors.add(i + " at " + r) } , e.prototype.onCreated = function() {} , e.prototype.enterRule = function(t, e) {} , e.prototype.leaveRule = function(t, e) {} , e.prototype.traceIn = function(t, e) {} , e.prototype.enterRule_ncalcExpression = function() {} , e.prototype.leaveRule_ncalcExpression = function() {} , e.prototype.ncalcExpression = function() { var t = new S(this); t.start = this.input.lt(1); var e, n, r, i; try { try { e = this.adaptor.nil(), this.pushFollow(M._logicalExpression_in_ncalcExpression52), r = this.logicalExpression(), this.popFollow(), this.adaptor.addChild(e, r.tree), n = this.match(this.input, this.EOF, M._EOF_in_ncalcExpression54), t.value = null != r ? r.value : {}, t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_logicalExpression = function() {} , e.prototype.leaveRule_logicalExpression = function() {} , e.prototype.logicalExpression = function() { var t = new T(this); t.start = this.input.lt(1); var e, n, r, i, o, a, u, l; try { try { e = this.adaptor.nil(), this.pushFollow(M._conditionalExpression_in_logicalExpression74), i = this.conditionalExpression(), this.popFollow(), this.adaptor.addChild(e, i.tree), t.value = null != i ? i.value : {}; var c = 2; try { try { 41 == this.input.la(1) && (c = 1) } finally {} switch (c) { case 1: n = this.match(this.input, 41, M._41_in_logicalExpression80), u = this.adaptor.create(n), this.adaptor.addChild(e, u), this.pushFollow(M._conditionalExpression_in_logicalExpression84), o = this.conditionalExpression(), this.popFollow(), this.adaptor.addChild(e, o.tree), r = this.match(this.input, 31, M._31_in_logicalExpression86), l = this.adaptor.create(r), this.adaptor.addChild(e, l), this.pushFollow(M._conditionalExpression_in_logicalExpression90), a = this.conditionalExpression(), this.popFollow(), this.adaptor.addChild(e, a.tree), t.value = new s(null != i ? i.value : {},null != o ? o.value : {},null != a ? a.value : {}); break } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_conditionalExpression = function() {} , e.prototype.leaveRule_conditionalExpression = function() {} , e.prototype.conditionalExpression = function() { var t = new x(this); t.start = this.input.lt(1); var e, n, r, i, o, s = v.Unknown; try { try { e = this.adaptor.nil(), this.pushFollow(M._booleanAndExpression_in_conditionalExpression117), r = this.booleanAndExpression(), this.popFollow(), this.adaptor.addChild(e, r.tree), t.value = null != r ? r.value : {}; try { var u = !1; while (!u) { var l = 2; try { var c = this.input.la(1); 45 != c && 47 != c || (l = 1) } finally {} switch (l) { case 1: if (n = this.input.lt(1), 45 != this.input.la(1) && 47 != this.input.la(1)) { throw new h(null,null,this.input) } this.input.consume(), this.adaptor.addChild(e, this.adaptor.create(n)), this.state.errorRecovery = !1, s = v.Or, this.pushFollow(M._conditionalExpression_in_conditionalExpression142), i = this.conditionalExpression(), this.popFollow(), this.adaptor.addChild(e, i.tree), t.value = new a(s,t.value,null != i ? i.value : {}); break; default: u = !0 } } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_booleanAndExpression = function() {} , e.prototype.leaveRule_booleanAndExpression = function() {} , e.prototype.booleanAndExpression = function() { var t = new E(this); t.start = this.input.lt(1); var e, n, r, i, o, s = v.Unknown; try { try { e = this.adaptor.nil(), this.pushFollow(M._bitwiseOrExpression_in_booleanAndExpression176), r = this.bitwiseOrExpression(), this.popFollow(), this.adaptor.addChild(e, r.tree), t.value = null != r ? r.value : {}; try { var u = !1; while (!u) { var l = 2; try { var c = this.input.la(1); 22 != c && 43 != c || (l = 1) } finally {} switch (l) { case 1: if (n = this.input.lt(1), 22 != this.input.la(1) && 43 != this.input.la(1)) { throw new h(null,null,this.input) } this.input.consume(), this.adaptor.addChild(e, this.adaptor.create(n)), this.state.errorRecovery = !1, s = v.And, this.pushFollow(M._bitwiseOrExpression_in_booleanAndExpression201), i = this.bitwiseOrExpression(), this.popFollow(), this.adaptor.addChild(e, i.tree), t.value = new a(s,t.value,null != i ? i.value : {}); break; default: u = !0 } } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_bitwiseOrExpression = function() {} , e.prototype.leaveRule_bitwiseOrExpression = function() {} , e.prototype.bitwiseOrExpression = function() { var t = new _(this); t.start = this.input.lt(1); var e, n, r, i, o, s = v.Unknown; try { try { e = this.adaptor.nil(), this.pushFollow(M._bitwiseXOrExpression_in_bitwiseOrExpression233), r = this.bitwiseXOrExpression(), this.popFollow(), this.adaptor.addChild(e, r.tree), t.value = null != r ? r.value : {}; try { var u = !1; while (!u) { var l = 2; try { 46 == this.input.la(1) && (l = 1) } finally {} switch (l) { case 1: n = this.match(this.input, 46, M._46_in_bitwiseOrExpression242), o = this.adaptor.create(n), this.adaptor.addChild(e, o), s = v.BitwiseOr, this.pushFollow(M._bitwiseOrExpression_in_bitwiseOrExpression252), i = this.bitwiseOrExpression(), this.popFollow(), this.adaptor.addChild(e, i.tree), t.value = new a(s,t.value,null != i ? i.value : {}); break; default: u = !0 } } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_bitwiseXOrExpression = function() {} , e.prototype.leaveRule_bitwiseXOrExpression = function() {} , e.prototype.bitwiseXOrExpression = function() { var t = new w(this); t.start = this.input.lt(1); var e, n, r, i, o, s = v.Unknown; try { try { e = this.adaptor.nil(), this.pushFollow(M._bitwiseAndExpression_in_bitwiseXOrExpression286), r = this.bitwiseAndExpression(), this.popFollow(), this.adaptor.addChild(e, r.tree), t.value = null != r ? r.value : {}; try { var u = !1; while (!u) { var l = 2; try { 42 == this.input.la(1) && (l = 1) } finally {} switch (l) { case 1: n = this.match(this.input, 42, M._42_in_bitwiseXOrExpression295), o = this.adaptor.create(n), this.adaptor.addChild(e, o), s = v.BitwiseXOr, this.pushFollow(M._bitwiseAndExpression_in_bitwiseXOrExpression305), i = this.bitwiseAndExpression(), this.popFollow(), this.adaptor.addChild(e, i.tree), t.value = new a(s,t.value,null != i ? i.value : {}); break; default: u = !0 } } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_bitwiseAndExpression = function() {} , e.prototype.leaveRule_bitwiseAndExpression = function() {} , e.prototype.bitwiseAndExpression = function() { var t = new D(this); t.start = this.input.lt(1); var e, n, r, i, o, s = v.Unknown; try { try { e = this.adaptor.nil(), this.pushFollow(M._equalityExpression_in_bitwiseAndExpression337), r = this.equalityExpression(), this.popFollow(), this.adaptor.addChild(e, r.tree), t.value = null != r ? r.value : {}; try { var u = !1; while (!u) { var l = 2; try { 23 == this.input.la(1) && (l = 1) } finally {} switch (l) { case 1: n = this.match(this.input, 23, M._23_in_bitwiseAndExpression346), o = this.adaptor.create(n), this.adaptor.addChild(e, o), s = v.BitwiseAnd, this.pushFollow(M._equalityExpression_in_bitwiseAndExpression356), i = this.equalityExpression(), this.popFollow(), this.adaptor.addChild(e, i.tree), t.value = new a(s,t.value,null != i ? i.value : {}); break; default: u = !0 } } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_equalityExpression = function() {} , e.prototype.leaveRule_equalityExpression = function() {} , e.prototype.equalityExpression = function() { var t = new C(this); t.start = this.input.lt(1); var e, n, r, i, o, s, u, l = v.Unknown; try { try { e = this.adaptor.nil(), this.pushFollow(M._relationalExpression_in_equalityExpression390), i = this.relationalExpression(), this.popFollow(), this.adaptor.addChild(e, i.tree), t.value = null != i ? i.value : {}; try { var p = !1; while (!p) { var f = 2; try { var m = this.input.la(1); (20 == m || m >= 35 && m <= 37) && (f = 1) } finally {} switch (f) { case 1: var d = 2; try { try { var y = this.input.la(1); if (y >= 36 && y <= 37) d = 1; else { if (20 != y && 35 != y) { throw new c("",null,7,0,this.input,1) } d = 2 } } finally {} switch (d) { case 1: if (n = this.input.lt(1), !(this.input.la(1) >= 36 && this.input.la(1) <= 37)) { var g = new h(null,null,this.input); throw g } this.input.consume(), this.adaptor.addChild(e, this.adaptor.create(n)), this.state.errorRecovery = !1, l = v.Equal; break; case 2: if (r = this.input.lt(1), 20 != this.input.la(1) && 35 != this.input.la(1)) { var g = new h(null,null,this.input); throw g } this.input.consume(), this.adaptor.addChild(e, this.adaptor.create(r)), this.state.errorRecovery = !1, l = v.NotEqual; break } } finally {} this.pushFollow(M._relationalExpression_in_equalityExpression437), o = this.relationalExpression(), this.popFollow(), this.adaptor.addChild(e, o.tree), t.value = new a(l,t.value,null != o ? o.value : {}); break; default: p = !0 } } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_relationalExpression = function() {} , e.prototype.leaveRule_relationalExpression = function() {} , e.prototype.relationalExpression = function() { var t = new k(this); t.start = this.input.lt(1); var e, n, r, i, o, s, u, l, h, p, f, m = v.Unknown; try { try { e = this.adaptor.nil(), this.pushFollow(M._shiftExpression_in_relationalExpression470), s = this.shiftExpression(), this.popFollow(), this.adaptor.addChild(e, s.tree), t.value = null != s ? s.value : {}; try { var d = !1; while (!d) { var y = 2; try { var g = this.input.la(1); (32 == g || 34 == g || g >= 38 && g <= 39) && (y = 1) } finally {} switch (y) { case 1: var b = 4; try { try { switch (this.input.la(1)) { case 32: b = 1; break; case 34: b = 2; break; case 38: b = 3; break; case 39: b = 4; break; default: throw new c("",null,9,0,this.input,1) } } finally {} switch (b) { case 1: n = this.match(this.input, 32, M._32_in_relationalExpression481), l = this.adaptor.create(n), this.adaptor.addChild(e, l), m = v.Lesser; break; case 2: r = this.match(this.input, 34, M._34_in_relationalExpression491), h = this.adaptor.create(r), this.adaptor.addChild(e, h), m = v.LesserOrEqual; break; case 3: i = this.match(this.input, 38, M._38_in_relationalExpression502), p = this.adaptor.create(i), this.adaptor.addChild(e, p), m = v.Greater; break; case 4: o = this.match(this.input, 39, M._39_in_relationalExpression512), f = this.adaptor.create(o), this.adaptor.addChild(e, f), m = v.GreaterOrEqual; break } } finally {} this.pushFollow(M._shiftExpression_in_relationalExpression524), u = this.shiftExpression(), this.popFollow(), this.adaptor.addChild(e, u.tree), t.value = new a(m,t.value,null != u ? u.value : {}); break; default: d = !0 } } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_shiftExpression = function() {} , e.prototype.leaveRule_shiftExpression = function() {} , e.prototype.shiftExpression = function() { var t = new I(this); t.start = this.input.lt(1); var e, n, r, i, o, s, u, l = v.Unknown; try { try { e = this.adaptor.nil(), this.pushFollow(M._additiveExpression_in_shiftExpression556), i = this.additiveExpression(), this.popFollow(), this.adaptor.addChild(e, i.tree), t.value = null != i ? i.value : {}; try { var h = !1; while (!h) { var p = 2; try { var f = this.input.la(1); 33 != f && 40 != f || (p = 1) } finally {} switch (p) { case 1: var m = 2; try { try { var d = this.input.la(1); if (33 == d) m = 1; else { if (40 != d) { throw new c("",null,11,0,this.input,1) } m = 2 } } finally {} switch (m) { case 1: n = this.match(this.input, 33, M._33_in_shiftExpression567), s = this.adaptor.create(n), this.adaptor.addChild(e, s), l = v.LeftShift; break; case 2: r = this.match(this.input, 40, M._40_in_shiftExpression577), u = this.adaptor.create(r), this.adaptor.addChild(e, u), l = v.RightShift; break } } finally {} this.pushFollow(M._additiveExpression_in_shiftExpression589), o = this.additiveExpression(), this.popFollow(), this.adaptor.addChild(e, o.tree), t.value = new a(l,t.value,null != o ? o.value : {}); break; default: h = !0 } } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_additiveExpression = function() {} , e.prototype.leaveRule_additiveExpression = function() {} , e.prototype.additiveExpression = function() { var t = new N(this); t.start = this.input.lt(1); var e, n, r, i, o, s, u, l = v.Unknown; try { try { e = this.adaptor.nil(), this.pushFollow(M._multiplicativeExpression_in_additiveExpression621), i = this.multiplicativeExpression(), this.popFollow(), this.adaptor.addChild(e, i.tree), t.value = null != i ? i.value : {}; try { var h = !1; while (!h) { var p = 2; try { var f = this.input.la(1); 27 != f && 29 != f || (p = 1) } finally {} switch (p) { case 1: var m = 2; try { try { var d = this.input.la(1); if (27 == d) m = 1; else { if (29 != d) { throw new c("",null,13,0,this.input,1) } m = 2 } } finally {} switch (m) { case 1: n = this.match(this.input, 27, M._27_in_additiveExpression632), s = this.adaptor.create(n), this.adaptor.addChild(e, s), l = v.Plus; break; case 2: r = this.match(this.input, 29, M._29_in_additiveExpression642), u = this.adaptor.create(r), this.adaptor.addChild(e, u), l = v.Minus; break } } finally {} this.pushFollow(M._multiplicativeExpression_in_additiveExpression654), o = this.multiplicativeExpression(), this.popFollow(), this.adaptor.addChild(e, o.tree), t.value = new a(l,t.value,null != o ? o.value : {}); break; default: h = !0 } } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_multiplicativeExpression = function() {} , e.prototype.leaveRule_multiplicativeExpression = function() {} , e.prototype.multiplicativeExpression = function() { var t = new O(this); t.start = this.input.lt(1); var e, n, r, i, o, s, u, l, h, p = v.Unknown; try { try { e = this.adaptor.nil(), this.pushFollow(M._unaryExpression_in_multiplicativeExpression686), o = this.unaryExpression(), this.popFollow(), this.adaptor.addChild(e, o.tree), t.value = null != o ? o.value : {}; try { var f = !1; while (!f) { var m = 2; try { var d = this.input.la(1); 21 != d && 26 != d && 30 != d || (m = 1) } finally {} switch (m) { case 1: var y = 3; try { try { switch (this.input.la(1)) { case 26: y = 1; break; case 30: y = 2; break; case 21: y = 3; break; default: throw new c("",null,15,0,this.input,1) } } finally {} switch (y) { case 1: n = this.match(this.input, 26, M._26_in_multiplicativeExpression697), u = this.adaptor.create(n), this.adaptor.addChild(e, u), p = v.Times; break; case 2: r = this.match(this.input, 30, M._30_in_multiplicativeExpression707), l = this.adaptor.create(r), this.adaptor.addChild(e, l), p = v.Div; break; case 3: i = this.match(this.input, 21, M._21_in_multiplicativeExpression717), h = this.adaptor.create(i), this.adaptor.addChild(e, h), p = v.Modulo; break } } finally {} this.pushFollow(M._unaryExpression_in_multiplicativeExpression729), s = this.unaryExpression(), this.popFollow(), this.adaptor.addChild(e, s.tree), t.value = new a(p,t.value,null != s ? s.value : {}); break; default: f = !0 } } } finally {} t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_unaryExpression = function() {} , e.prototype.leaveRule_unaryExpression = function() {} , e.prototype.unaryExpression = function() { var t = new A(this); t.start = this.input.lt(1); var e, n, r, a, s, u, l, p, f, m, d; try { try { var y = 4; 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: y = 1; break; case 19: case 44: y = 2; break; case 48: y = 3; break; case 29: y = 4; break; default: throw new c("",null,17,0,this.input,1) } } finally {} switch (y) { case 1: e = this.adaptor.nil(), this.pushFollow(M._primaryExpression_in_unaryExpression756), s = this.primaryExpression(), this.popFollow(), this.adaptor.addChild(e, s.tree), t.value = null != s ? s.value : {}; break; case 2: if (e = this.adaptor.nil(), n = this.input.lt(1), 19 != this.input.la(1) && 44 != this.input.la(1)) { throw new h(null,null,this.input) } this.input.consume(), this.adaptor.addChild(e, this.adaptor.create(n)), this.state.errorRecovery = !1, this.pushFollow(M._primaryExpression_in_unaryExpression775), u = this.primaryExpression(), this.popFollow(), this.adaptor.addChild(e, u.tree), t.value = new o(i.Not,null != u ? u.value : {}); break; case 3: e = this.adaptor.nil(), r = this.match(this.input, 48, M._48_in_unaryExpression787), m = this.adaptor.create(r), this.adaptor.addChild(e, m), this.pushFollow(M._primaryExpression_in_unaryExpression790), l = this.primaryExpression(), this.popFollow(), this.adaptor.addChild(e, l.tree), t.value = new o(i.BitwiseNot,null != l ? l.value : {}); break; case 4: e = this.adaptor.nil(), a = this.match(this.input, 29, M._29_in_unaryExpression801), d = this.adaptor.create(a), this.adaptor.addChild(e, d), this.pushFollow(M._primaryExpression_in_unaryExpression803), p = this.primaryExpression(), this.popFollow(), this.adaptor.addChild(e, p.tree), t.value = new o(i.Negate,null != p ? p.value : {}); break } t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_primaryExpression = function() {} , e.prototype.leaveRule_primaryExpression = function() {} , e.prototype.primaryExpression = function() { var t = new F(this); t.start = this.input.lt(1); var e, n, i, o, a, s, u, l, h; try { try { var p = 3; try { switch (this.input.la(1)) { case 24: p = 1; break; case this.DATETIME: case this.FALSE: case this.FLOAT: case this.INTEGER: case this.STRING: case this.TRUE: p = 2; break; case this.ID: case this.NAME: p = 3; break; default: throw new c("",null,19,0,this.input,1) } } finally {} switch (p) { case 1: e = this.adaptor.nil(), n = this.match(this.input, 24, M._24_in_primaryExpression825), l = this.adaptor.create(n), this.adaptor.addChild(e, l), this.pushFollow(M._logicalExpression_in_primaryExpression827), a = this.logicalExpression(), this.popFollow(), this.adaptor.addChild(e, a.tree), i = this.match(this.input, 25, M._25_in_primaryExpression829), h = this.adaptor.create(i), this.adaptor.addChild(e, h), t.value = null != a ? a.value : {}; break; case 2: e = this.adaptor.nil(), this.pushFollow(M._value_in_primaryExpression839), o = this.value(), this.popFollow(), this.adaptor.addChild(e, o.tree), t.value = null != o ? o.value : {}; break; case 3: e = this.adaptor.nil(), this.pushFollow(M._identifier_in_primaryExpression847), s = this.identifier(), this.popFollow(), this.adaptor.addChild(e, s.tree), t.value = null != s ? s.value : {}; var f = 2; try { try { 24 == this.input.la(1) && (f = 1) } finally {} switch (f) { case 1: this.pushFollow(M._arguments_in_primaryExpression852), u = this.arguments(), this.popFollow(), this.adaptor.addChild(e, u.tree), t.value = new r(null != s ? s.value : {},(null != u ? u.value : {}).toArray()); break } } finally {} break } t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_value = function() {} , e.prototype.leaveRule_value = function() {} , e.prototype.value = function() { var t = new L(this); t.start = this.input.lt(1); var e, n, r, i, o, a, s, l, h, p, f, m, d; try { try { var y = 6; try { switch (this.input.la(1)) { case this.INTEGER: y = 1; break; case this.FLOAT: y = 2; break; case this.STRING: y = 3; break; case this.DATETIME: y = 4; break; case this.TRUE: y = 5; break; case this.FALSE: y = 6; break; default: throw new c("",null,20,0,this.input,1) } } finally {} switch (y) { case 1: e = this.adaptor.nil(), n = this.match(this.input, this.INTEGER, M._INTEGER_in_value872), l = this.adaptor.create(n), this.adaptor.addChild(e, l); try { t.value = new u(null != n ? n.text.stimulsoft.toNumber() : 0) } catch (t) {} break; case 2: e = this.adaptor.nil(), r = this.match(this.input, this.FLOAT, M._FLOAT_in_value880), h = this.adaptor.create(r), this.adaptor.addChild(e, h), t.value = new u(null != r ? r.text.stimulsoft.toNumber() : 0); break; case 3: e = this.adaptor.nil(), i = this.match(this.input, this.STRING, M._STRING_in_value888), p = this.adaptor.create(i), this.adaptor.addChild(e, p), t.value = new u(this.extractString(null != i ? i.text : {})); break; case 4: e = this.adaptor.nil(), o = this.match(this.input, this.DATETIME, M._DATETIME_in_value897), f = this.adaptor.create(o), this.adaptor.addChild(e, f), t.value = new u(g.fromString((null != o ? o.text : {}).substring(1, (null != o ? o.text : {}).length - 2))); break; case 5: e = this.adaptor.nil(), a = this.match(this.input, this.TRUE, M._TRUE_in_value904), m = this.adaptor.create(a), this.adaptor.addChild(e, m), t.value = new u(!0); break; case 6: e = this.adaptor.nil(), s = this.match(this.input, this.FALSE, M._FALSE_in_value912), d = this.adaptor.create(s), this.adaptor.addChild(e, d), t.value = new u(!1); break } t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_identifier = function() {} , e.prototype.leaveRule_identifier = function() {} , e.prototype.identifier = function() { var t = new R(this); t.start = this.input.lt(1); var e, n, r, i, o; try { try { var a = 2; try { var s = this.input.la(1); if (s == this.ID) a = 1; else { if (s != this.NAME) { throw new c("",null,21,0,this.input,1) } a = 2 } } finally {} switch (a) { case 1: e = this.adaptor.nil(), n = this.match(this.input, this.ID, M._ID_in_identifier930), i = this.adaptor.create(n), this.adaptor.addChild(e, i), t.value = new l(null != n ? n.text : {}); break; case 2: e = this.adaptor.nil(), r = this.match(this.input, this.NAME, M._NAME_in_identifier938), o = this.adaptor.create(r), this.adaptor.addChild(e, o), t.value = new l((null != r ? r.text : {}).substr(1, (null != r ? r.text : {}).length - 2)); break } t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_expressionList = function() {} , e.prototype.leaveRule_expressionList = function() {} , e.prototype.expressionList = function() { var t = new B(this); t.start = this.input.lt(1); var e, n, r, i, o, a = new d; try { try { e = this.adaptor.nil(), this.pushFollow(M._logicalExpression_in_expressionList962), r = this.logicalExpression(), this.popFollow(), this.adaptor.addChild(e, r.tree), a.add(null != r ? r.value : {}); try { var s = !1; while (!s) { var u = 2; try { 28 == this.input.la(1) && (u = 1) } finally {} switch (u) { case 1: n = this.match(this.input, 28, M._28_in_expressionList969), o = this.adaptor.create(n), this.adaptor.addChild(e, o), this.pushFollow(M._logicalExpression_in_expressionList973), i = this.logicalExpression(), this.popFollow(), this.adaptor.addChild(e, i.tree), a.add(null != i ? i.value : {}); break; default: s = !0 } } } finally {} t.value = a, t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e.prototype.enterRule_arguments = function() {} , e.prototype.leaveRule_arguments = function() {} , e.prototype.arguments = function() { var t = new P(this); t.start = this.input.lt(1); var e, n, r, i, o, a; t.value = new d; try { try { e = this.adaptor.nil(), n = this.match(this.input, 24, M._24_in_arguments1002), o = this.adaptor.create(n), this.adaptor.addChild(e, o); var s = 2; try { try { var u = this.input.la(1); (u == this.DATETIME || u >= this.FALSE && u <= this.FLOAT || u >= this.ID && u <= this.INTEGER || u >= this.NAME && u <= this.TRUE || 19 == u || 24 == u || 29 == u || 44 == u || 48 == u) && (s = 1) } finally {} switch (s) { case 1: this.pushFollow(M._expressionList_in_arguments1006), i = this.expressionList(), this.popFollow(), this.adaptor.addChild(e, i.tree), t.value = null != i ? i.value : {}; break } } finally {} r = this.match(this.input, 25, M._25_in_arguments1013), a = this.adaptor.create(r), this.adaptor.addChild(e, a), t.stop = this.input.lt(-1), t.tree = this.adaptor.rulePostProcessing(e), this.adaptor.setTokenBoundaries(t.tree, t.start, t.stop) } catch (e) { this.reportError(e), this.recover(this.input, e), t.tree = this.adaptor.errorNode(this.input, t.start, this.input.lt(-1), e) } } finally {} return t } , e }(m); e.NCalcParser = b; var S = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , T = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , x = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , E = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , _ = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , w = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , D = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , C = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , k = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , I = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , N = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , O = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , A = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , F = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , L = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , R = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , B = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , P = function(t) { function e(e) { var n = t.call(this) || this; return n.onCreated(e), n } return __extends(e, t), e.prototype.onCreated = function(t) {} , e }(y) , M = function() { function t() {} return t._logicalExpression_in_ncalcExpression52 = p.create([0]), t._EOF_in_ncalcExpression54 = p.create([2]), t._conditionalExpression_in_logicalExpression74 = p.create([2199023255554]), t._41_in_logicalExpression80 = p.create([299067717049104]), t._conditionalExpression_in_logicalExpression84 = p.create([2147483648]), t._31_in_logicalExpression86 = p.create([299067717049104]), t._conditionalExpression_in_logicalExpression90 = p.create([2]), t._booleanAndExpression_in_conditionalExpression117 = p.create([0xa00000000002]), t._set_in_conditionalExpression126 = p.create([299067717049104]), t._conditionalExpression_in_conditionalExpression142 = p.create([0xa00000000002]), t._bitwiseOrExpression_in_booleanAndExpression176 = p.create([8796097216514]), t._set_in_booleanAndExpression185 = p.create([299067717049104]), t._bitwiseOrExpression_in_booleanAndExpression201 = p.create([8796097216514]), t._bitwiseXOrExpression_in_bitwiseOrExpression233 = p.create([70368744177666]), t._46_in_bitwiseOrExpression242 = p.create([299067717049104]), t._bitwiseOrExpression_in_bitwiseOrExpression252 = p.create([70368744177666]), t._bitwiseAndExpression_in_bitwiseXOrExpression286 = p.create([4398046511106]), t._42_in_bitwiseXOrExpression295 = p.create([299067717049104]), t._bitwiseAndExpression_in_bitwiseXOrExpression305 = p.create([4398046511106]), t._equalityExpression_in_bitwiseAndExpression337 = p.create([8388610]), t._23_in_bitwiseAndExpression346 = p.create([299067717049104]), t._equalityExpression_in_bitwiseAndExpression356 = p.create([8388610]), t._relationalExpression_in_equalityExpression390 = p.create([240519217154]), t._set_in_equalityExpression401 = p.create([299067717049104]), t._set_in_equalityExpression418 = p.create([299067717049104]), t._relationalExpression_in_equalityExpression437 = p.create([240519217154]), t._shiftExpression_in_relationalExpression470 = p.create([846108557314]), t._32_in_relationalExpression481 = p.create([299067717049104]), t._34_in_relationalExpression491 = p.create([299067717049104]), t._38_in_relationalExpression502 = p.create([299067717049104]), t._39_in_relationalExpression512 = p.create([299067717049104]), t._shiftExpression_in_relationalExpression524 = p.create([846108557314]), t._additiveExpression_in_shiftExpression556 = p.create([1108101562370]), t._33_in_shiftExpression567 = p.create([299067717049104]), t._40_in_shiftExpression577 = p.create([299067717049104]), t._additiveExpression_in_shiftExpression589 = p.create([1108101562370]), t._multiplicativeExpression_in_additiveExpression621 = p.create([671088642]), t._27_in_additiveExpression632 = p.create([299067717049104]), t._29_in_additiveExpression642 = p.create([299067717049104]), t._multiplicativeExpression_in_additiveExpression654 = p.create([671088642]), t._unaryExpression_in_multiplicativeExpression686 = p.create([1142947842]), t._26_in_multiplicativeExpression697 = p.create([299067717049104]), t._30_in_multiplicativeExpression707 = p.create([299067717049104]), t._21_in_multiplicativeExpression717 = p.create([299067717049104]), t._unaryExpression_in_multiplicativeExpression729 = p.create([1142947842]), t._primaryExpression_in_unaryExpression756 = p.create([2]), t._set_in_unaryExpression767 = p.create([16898832]), t._primaryExpression_in_unaryExpression775 = p.create([2]), t._48_in_unaryExpression787 = p.create([16898832]), t._primaryExpression_in_unaryExpression790 = p.create([2]), t._29_in_unaryExpression801 = p.create([16898832]), t._primaryExpression_in_unaryExpression803 = p.create([2]), t._24_in_primaryExpression825 = p.create([299067717049104]), t._logicalExpression_in_primaryExpression827 = p.create([33554432]), t._25_in_primaryExpression829 = p.create([2]), t._value_in_primaryExpression839 = p.create([2]), t._identifier_in_primaryExpression847 = p.create([16777218]), t._arguments_in_primaryExpression852 = p.create([2]), t._INTEGER_in_value872 = p.create([2]), t._FLOAT_in_value880 = p.create([2]), t._STRING_in_value888 = p.create([2]), t._DATETIME_in_value897 = p.create([2]), t._TRUE_in_value904 = p.create([2]), t._FALSE_in_value912 = p.create([2]), t._ID_in_identifier930 = p.create([2]), t._NAME_in_identifier938 = p.create([2]), t._logicalExpression_in_expressionList962 = p.create([268435458]), t._28_in_expressionList969 = p.create([299067717049104]), t._logicalExpression_in_expressionList973 = p.create([268435458]), t._24_in_arguments1002 = p.create([299067750603536]), t._expressionList_in_arguments1006 = p.create([33554432]), t._25_in_arguments1013 = p.create([2]), t }() }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.StiNumber , r = t.System.Exception , i = t.System.Collections.List , o = t.System.Convert , a = t.System.TypeCode , s = t.System.Type , u = t.Base.Helpers.StiValueHelper , l = function() { function t() {} return t.convertIfString = function(t) { if (null != t && t.stimulsoft.is(String)) { var e = n.tryParse(t); if (e.successfully) return e.result } return t } , t.add = function(t, e) { if (t = this.convertIfString(t), e = this.convertIfString(e), null != t && t.stimulsoft.is(i) || null != e && e.stimulsoft.is(i)) return i.add2(t, e); var n = s.getTypeCode(t) , l = s.getTypeCode(e); switch (n) { case a.Boolean: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'bool'"); case a.Byte: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'"); case a.SByte: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'"); case a.Int16: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'"); case a.UInt16: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'"); case a.Int32: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'"); case a.UInt32: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'"); case a.Int64: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'"); case a.UInt64: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'"); case a.Single: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'"); case a.Double: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'"); case a.Decimal: throw new r("Operator '+' can't be applied to operands of types 'bool' and 'byte'") } break; case a.Byte: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'byte' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + e; case a.Int16: return t + e; case a.UInt16: return t + e; case a.Int32: return t + e; case a.UInt32: return t + e; case a.Int64: return t + e; case a.UInt64: return t + e; case a.Single: return t + e; case a.Double: return t + e; case a.Decimal: return t + e } break; case a.SByte: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'sbyte' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + e; case a.Int16: return t + e; case a.UInt16: return t + e; case a.Int32: return t + e; case a.UInt32: return t + e; case a.Int64: return t + e; case a.UInt64: return t + u.tryToNumber(e); case a.Single: return t + e; case a.Double: return t + e; case a.Decimal: return t + e } break; case a.Int16: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'short' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + e; case a.Int16: return t + e; case a.UInt16: return t + e; case a.Int32: return t + e; case a.UInt32: return t + e; case a.Int64: return t + e; case a.UInt64: return t + u.tryToNumber(e); case a.Single: return t + e; case a.Double: return t + e; case a.Decimal: return t + e } break; case a.UInt16: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'ushort' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + e; case a.Int16: return t + e; case a.UInt16: return t + e; case a.Int32: return t + e; case a.UInt32: return t + e; case a.Int64: return t + e; case a.UInt64: return t + e; case a.Single: return t + e; case a.Double: return t + e; case a.Decimal: return t + e } break; case a.Int32: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'int' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + e; case a.Int16: return t + e; case a.UInt16: return t + e; case a.Int32: return t + e; case a.UInt32: return t + e; case a.Int64: return t + e; case a.UInt64: return t + u.tryToNumber(e); case a.Single: return t + e; case a.Double: return t + e; case a.Decimal: return t + e } break; case a.UInt32: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'unit' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + e; case a.Int16: return t + e; case a.UInt16: return t + e; case a.Int32: return t + e; case a.UInt32: return t + e; case a.Int64: return t + e; case a.UInt64: return t + e; case a.Single: return t + e; case a.Double: return t + e; case a.Decimal: return t + e } break; case a.Int64: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'long' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + e; case a.Int16: return t + e; case a.UInt16: return t + e; case a.Int32: return t + e; case a.UInt32: return t + e; case a.Int64: return t + e; case a.UInt64: return t + u.tryToNumber(e); case a.Single: return t + e; case a.Double: return t + e; case a.Decimal: return t + e } break; case a.UInt64: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'ulong' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + u.tryToNumber(e); case a.Int16: return t + u.tryToNumber(e); case a.UInt16: return t + e; case a.Int32: return t + u.tryToNumber(e); case a.UInt32: return t + e; case a.Int64: return t + u.tryToNumber(e); case a.UInt64: return t + e; case a.Single: return t + e; case a.Double: return t + e; case a.Decimal: return t + e } break; case a.Single: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'float' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + e; case a.Int16: return t + e; case a.UInt16: return t + e; case a.Int32: return t + e; case a.UInt32: return t + e; case a.Int64: return t + e; case a.UInt64: return t + e; case a.Single: return t + e; case a.Double: return t + e; case a.Decimal: return o.toNumber(t) + e } break; case a.Double: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'double' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + e; case a.Int16: return t + e; case a.UInt16: return t + e; case a.Int32: return t + e; case a.UInt32: return t + e; case a.Int64: return t + e; case a.UInt64: return t + e; case a.Single: return t + e; case a.Double: return t + e; case a.Decimal: return o.toNumber(t) + e } break; case a.Decimal: switch (l) { case a.Boolean: throw new r("Operator '+' can't be applied to operands of types 'decimal' and 'bool'"); case a.Byte: return t + e; case a.SByte: return t + e; case a.Int16: return t + e; case a.UInt16: return t + e; case a.Int32: return t + e; case a.UInt32: return t + e; case a.Int64: return t + e; case a.UInt64: return t + e; case a.Single: return t + o.toNumber(e); case a.Double: return t + o.toNumber(e); case a.Decimal: return t + e } break } return null } , t.soustract = function(t, e) { if (t = this.convertIfString(t), e = this.convertIfString(e), null != t && t.stimulsoft.is(i) || null != e && e.stimulsoft.is(i)) return i.sub(t, e); var n = s.getTypeCode(t) , o = s.getTypeCode(e); switch (n) { case a.Boolean: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'bool'"); case a.Byte: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'"); case a.SByte: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'"); case a.Int16: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'"); case a.UInt16: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'"); case a.Int32: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'"); case a.UInt32: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'"); case a.Int64: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'"); case a.UInt64: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'"); case a.Single: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'"); case a.Double: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'"); case a.Decimal: throw new r("Operator '-' can't be applied to operands of types 'bool' and 'byte'") } break; case a.Byte: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'byte' and 'bool'"); case a.SByte: return t - e; case a.Int16: return t - e; case a.UInt16: return t - e; case a.Int32: return t - e; case a.UInt32: return t - e; case a.Int64: return t - e; case a.UInt64: return t - e; case a.Single: return t - e; case a.Double: return t - e; case a.Decimal: return t - e } break; case a.SByte: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'sbyte' and 'bool'"); case a.SByte: return t - e; case a.Int16: return t - e; case a.UInt16: return t - e; case a.Int32: return t - e; case a.UInt32: return t - e; case a.Int64: return t - e; case a.UInt64: return t - u.tryToNumber(e); case a.Single: return t - e; case a.Double: return t - e; case a.Decimal: return t - e } break; case a.Int16: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'short' and 'bool'"); case a.SByte: return t - e; case a.Int16: return t - e; case a.UInt16: return t - e; case a.Int32: return t - e; case a.UInt32: return t - e; case a.Int64: return t - e; case a.UInt64: return t - u.tryToNumber(e); case a.Single: return t - e; case a.Double: return t - e; case a.Decimal: return t - e } break; case a.UInt16: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'ushort' and 'bool'"); case a.SByte: return t - e; case a.Int16: return t - e; case a.UInt16: return t - e; case a.Int32: return t - e; case a.UInt32: return t - e; case a.Int64: return t - e; case a.UInt64: return t - e; case a.Single: return t - e; case a.Double: return t - e; case a.Decimal: return t - e } break; case a.Int32: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'int' and 'bool'"); case a.SByte: return t - e; case a.Int16: return t - e; case a.UInt16: return t - e; case a.Int32: return t - e; case a.UInt32: return t - e; case a.Int64: return t - e; case a.UInt64: return t - u.tryToNumber(e); case a.Single: return t - e; case a.Double: return t - e; case a.Decimal: return t - e } break; case a.UInt32: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'uint' and 'bool'"); case a.SByte: return t - e; case a.Int16: return t - e; case a.UInt16: return t - e; case a.Int32: return t - e; case a.UInt32: return t - e; case a.Int64: return t - e; case a.UInt64: return t - e; case a.Single: return t - e; case a.Double: return t - e; case a.Decimal: return t - e } break; case a.Int64: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'long' and 'bool'"); case a.SByte: return t - e; case a.Int16: return t - e; case a.UInt16: return t - e; case a.Int32: return t - e; case a.UInt32: return t - e; case a.Int64: return t - e; case a.UInt64: return t - u.tryToNumber(e); case a.Single: return t - e; case a.Double: return t - e; case a.Decimal: return t - e } break; case a.UInt64: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'ulong' and 'bool'"); case a.SByte: return t - u.tryToNumber(e); case a.Int16: return t - u.tryToNumber(e); case a.UInt16: return t - e; case a.Int32: return t - u.tryToNumber(e); case a.UInt32: return t - e; case a.Int64: return t - u.tryToNumber(e); case a.UInt64: return t - e; case a.Single: return t - e; case a.Double: return t - e; case a.Decimal: return t - e } break; case a.Single: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'float' and 'bool'"); case a.SByte: return t - e; case a.Int16: return t - e; case a.UInt16: return t - e; case a.Int32: return t - e; case a.UInt32: return t - e; case a.Int64: return t - e; case a.UInt64: return t - e; case a.Single: return t - e; case a.Double: return t - e; case a.Decimal: return t - u.tryToNumber(e) } break; case a.Double: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'double' and 'bool'"); case a.SByte: return t - e; case a.Int16: return t - e; case a.UInt16: return t - e; case a.Int32: return t - e; case a.UInt32: return t - e; case a.Int64: return t - e; case a.UInt64: return t - e; case a.Single: return t - e; case a.Double: return t - e; case a.Decimal: return t - u.tryToNumber(e) } break; case a.Decimal: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'decimal' and 'bool'"); case a.SByte: return t - e; case a.Int16: return t - e; case a.UInt16: return t - e; case a.Int32: return t - e; case a.UInt32: return t - e; case a.Int64: return t - e; case a.UInt64: return t - e; case a.Single: return t - u.tryToNumber(e); case a.Double: return t - u.tryToNumber(e); case a.Decimal: return t - e } break } return null } , t.multiply = function(t, e) { if (t = this.convertIfString(t), e = this.convertIfString(e), Array.isArray(t) || Array.isArray(e)) return i.mult(t, e); var n = s.getTypeCode(t) , o = s.getTypeCode(e); switch (n) { case a.Byte: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'byte' and 'bool'"); case a.SByte: return t * e; case a.Int16: return t * e; case a.UInt16: return t * e; case a.Int32: return t * e; case a.UInt32: return t * e; case a.Int64: return t * e; case a.UInt64: return t * e; case a.Single: return t * e; case a.Double: return t * e; case a.Decimal: return t * e } break; case a.SByte: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'sbyte' and 'bool'"); case a.SByte: return t * e; case a.Int16: return t * e; case a.UInt16: return t * e; case a.Int32: return t * e; case a.UInt32: return t * e; case a.Int64: return t * e; case a.UInt64: return t * u.tryToNumber(e); case a.Single: return t * e; case a.Double: return t * e; case a.Decimal: return t * e } break; case a.Int16: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'short' and 'bool'"); case a.SByte: return t * e; case a.Int16: return t * e; case a.UInt16: return t * e; case a.Int32: return t * e; case a.UInt32: return t * e; case a.Int64: return t * e; case a.UInt64: return t * u.tryToNumber(e); case a.Single: return t * e; case a.Double: return t * e; case a.Decimal: return t * e } break; case a.UInt16: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'ushort' and 'bool'"); case a.SByte: return t * e; case a.Int16: return t * e; case a.UInt16: return t * e; case a.Int32: return t * e; case a.UInt32: return t * e; case a.Int64: return t * e; case a.UInt64: return t * e; case a.Single: return t * e; case a.Double: return t * e; case a.Decimal: return t * e } break; case a.Int32: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'int' and 'bool'"); case a.SByte: return t * e; case a.Int16: return t * e; case a.UInt16: return t * e; case a.Int32: return t * e; case a.UInt32: return t * e; case a.Int64: return t * e; case a.UInt64: return t * u.tryToNumber(e); case a.Single: return t * e; case a.Double: return t * e; case a.Decimal: return t * e } break; case a.UInt32: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'uint' and 'bool'"); case a.SByte: return t * e; case a.Int16: return t * e; case a.UInt16: return t * e; case a.Int32: return t * e; case a.UInt32: return t * e; case a.Int64: return t * e; case a.UInt64: return t * e; case a.Single: return t * e; case a.Double: return t * e; case a.Decimal: return t * e } break; case a.Int64: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'long' and 'bool'"); case a.SByte: return t * e; case a.Int16: return t * e; case a.UInt16: return t * e; case a.Int32: return t * e; case a.UInt32: return t * e; case a.Int64: return t * e; case a.UInt64: return t * u.tryToNumber(e); case a.Single: return t * e; case a.Double: return t * e; case a.Decimal: return t * e } break; case a.UInt64: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'ulong' and 'bool'"); case a.SByte: return t * u.tryToNumber(e); case a.Int16: return t * u.tryToNumber(e); case a.UInt16: return t * e; case a.Int32: return t * u.tryToNumber(e); case a.UInt32: return t * e; case a.Int64: return t * u.tryToNumber(e); case a.UInt64: return t * e; case a.Single: return t * e; case a.Double: return t * e; case a.Decimal: return t * e } break; case a.Single: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'float' and 'bool'"); case a.SByte: return t * e; case a.Int16: return t * e; case a.UInt16: return t * e; case a.Int32: return t * e; case a.UInt32: return t * e; case a.Int64: return t * e; case a.UInt64: return t * e; case a.Single: return t * e; case a.Double: return t * e; case a.Decimal: return t * u.tryToNumber(e) } break; case a.Double: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'double' and 'bool'"); case a.SByte: return t * e; case a.Int16: return t * e; case a.UInt16: return t * e; case a.Int32: return t * e; case a.UInt32: return t * e; case a.Int64: return t * e; case a.UInt64: return t * e; case a.Single: return t * e; case a.Double: return t * e; case a.Decimal: return t * u.tryToNumber(e) } break; case a.Decimal: switch (o) { case a.Boolean: throw new r("Operator '*' can't be applied to operands of types 'decimal' and 'bool'"); case a.SByte: return t * e; case a.Int16: return t * e; case a.UInt16: return t * e; case a.Int32: return t * e; case a.UInt32: return t * e; case a.Int64: return t * e; case a.UInt64: return t * e; case a.Single: return t * u.tryToNumber(e); case a.Double: return t * u.tryToNumber(e); case a.Decimal: return t * e } break } return null } , t.divide = function(t, e) { if (t = this.convertIfString(t), e = this.convertIfString(e), Array.isArray(t) || Array.isArray(e)) return i.div(t, e); if (u.isZero(e)) return null; var n = s.getTypeCode(t) , o = s.getTypeCode(e); switch (n) { case a.Byte: switch (o) { case a.Boolean: throw new r("Operator '/' can't be applied to operands of types 'byte' and 'bool'"); case a.SByte: return t / e; case a.Int16: return t / e; case a.UInt16: return t / e; case a.Int32: return t / e; case a.UInt32: return t / e; case a.Int64: return t / e; case a.UInt64: return t / e; case a.Single: return t / e; case a.Double: return t / e; case a.Decimal: return t / e } break; case a.SByte: switch (o) { case a.Boolean: throw new r("Operator '/' can't be applied to operands of types 'sbyte' and 'bool'"); case a.SByte: return t / e; case a.Int16: return t / e; case a.UInt16: return t / e; case a.Int32: return t / e; case a.UInt32: return t / e; case a.Int64: return t / e; case a.UInt64: return t * u.tryToNumber(e); case a.Single: return t / e; case a.Double: return t / e; case a.Decimal: return t / e } break; case a.Int16: switch (o) { case a.Boolean: throw new r("Operator '/' can't be applied to operands of types 'short' and 'bool'"); case a.SByte: return t / e; case a.Int16: return t / e; case a.UInt16: return t / e; case a.Int32: return t / e; case a.UInt32: return t / e; case a.Int64: return t / e; case a.UInt64: return t * u.tryToNumber(e); case a.Single: return t / e; case a.Double: return t / e; case a.Decimal: return t / e } break; case a.UInt16: switch (o) { case a.Boolean: throw new r("Operator '/' can't be applied to operands of types 'ushort' and 'bool'"); case a.SByte: return t / e; case a.Int16: return t / e; case a.UInt16: return t / e; case a.Int32: return t / e; case a.UInt32: return t / e; case a.Int64: return t / e; case a.UInt64: return t / e; case a.Single: return t / e; case a.Double: return t / e; case a.Decimal: return t / e } break; case a.Int32: switch (o) { case a.Boolean: throw new r("Operator '/' can't be applied to operands of types 'int' and 'bool'"); case a.SByte: return t / e; case a.Int16: return t / e; case a.UInt16: return t / e; case a.Int32: return t / e; case a.UInt32: return t / e; case a.Int64: return t / e; case a.UInt64: return t * u.tryToNumber(e); case a.Single: return t / e; case a.Double: return t / e; case a.Decimal: return t / e } break; case a.UInt32: switch (o) { case a.Boolean: throw new r("Operator '/' can't be applied to operands of types 'uint' and 'bool'"); case a.SByte: return t / e; case a.Int16: return t / e; case a.UInt16: return t / e; case a.Int32: return t / e; case a.UInt32: return t / e; case a.Int64: return t / e; case a.UInt64: return t / e; case a.Single: return t / e; case a.Double: return t / e; case a.Decimal: return t / e } break; case a.Int64: switch (o) { case a.Boolean: throw new r("Operator '/' can't be applied to operands of types 'long' and 'bool'"); case a.SByte: return t / e; case a.Int16: return t / e; case a.UInt16: return t / e; case a.Int32: return t / e; case a.UInt32: return t / e; case a.Int64: return t / e; case a.UInt64: return t * u.tryToNumber(e); case a.Single: return t / e; case a.Double: return t / e; case a.Decimal: return t / e } break; case a.UInt64: switch (o) { case a.Boolean: throw new r("Operator '-' can't be applied to operands of types 'ulong' and 'bool'"); case a.SByte: return t * u.tryToNumber(e); case a.Int16: return t * u.tryToNumber(e); case a.UInt16: return t / e; case a.Int32: return t * u.tryToNumber(e); case a.UInt32: return t / e; case a.Int64: return t * u.tryToNumber(e); case a.UInt64: return t / e; case a.Single: return t / e; case a.Double: return t / e; case a.Decimal: return t / e } break; case a.Single: switch (o) { case a.Boolean: throw new r("Operator '/' can't be applied to operands of types 'float' and 'bool'"); case a.SByte: return t / e; case a.Int16: return t / e; case a.UInt16: return t / e; case a.Int32: return t / e; case a.UInt32: return t / e; case a.Int64: return t / e; case a.UInt64: return t / e; case a.Single: return t / e; case a.Double: return t / e; case a.Decimal: return t * u.tryToNumber(e) } break; case a.Double: switch (o) { case a.Boolean: throw new r("Operator '/' can't be applied to operands of types 'double' and 'bool'"); case a.SByte: return t / e; case a.Int16: return t / e; case a.UInt16: return t / e; case a.Int32: return t / e; case a.UInt32: return t / e; case a.Int64: return t / e; case a.UInt64: return t / e; case a.Single: return t / e; case a.Double: return t / e; case a.Decimal: return t * u.tryToNumber(e) } break; case a.Decimal: switch (o) { case a.Boolean: throw new r("Operator '/' can't be applied to operands of types 'decimal' and 'bool'"); case a.SByte: return t / e; case a.Int16: return t / e; case a.UInt16: return t / e; case a.Int32: return t / e; case a.UInt32: return t / e; case a.Int64: return t / e; case a.UInt64: return t / e; case a.Single: return t * u.tryToNumber(e); case a.Double: return t * u.tryToNumber(e); case a.Decimal: return t / e } break } return null } , t.modulo = function(t, e) { t = this.convertIfString(t), e = this.convertIfString(e); var n = s.getTypeCode(t) , i = s.getTypeCode(e); switch (n) { case a.Byte: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'byte' and 'bool'"); case a.SByte: return t % e; case a.Int16: return t % e; case a.UInt16: return t % e; case a.Int32: return t % e; case a.UInt32: return t % e; case a.Int64: return t % e; case a.UInt64: return t % e; case a.Single: return t % e; case a.Double: return t % e; case a.Decimal: return t % e } break; case a.SByte: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'sbyte' and 'bool'"); case a.SByte: return t % e; case a.Int16: return t % e; case a.UInt16: return t % e; case a.Int32: return t % e; case a.UInt32: return t % e; case a.Int64: return t % e; case a.UInt64: return t % u.tryToNumber(e); case a.Single: return t % e; case a.Double: return t % e; case a.Decimal: return t % e } break; case a.Int16: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'short' and 'bool'"); case a.SByte: return t % e; case a.Int16: return t % e; case a.UInt16: return t % e; case a.Int32: return t % e; case a.UInt32: return t % e; case a.Int64: return t % e; case a.UInt64: return t % u.tryToNumber(e); case a.Single: return t % e; case a.Double: return t % e; case a.Decimal: return t % e } break; case a.UInt16: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'ushort' and 'bool'"); case a.SByte: return t % e; case a.Int16: return t % e; case a.UInt16: return t % e; case a.Int32: return t % e; case a.UInt32: return t % e; case a.Int64: return t % e; case a.UInt64: return t % e; case a.Single: return t % e; case a.Double: return t % e; case a.Decimal: return t % e } break; case a.Int32: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'int' and 'bool'"); case a.SByte: return t % e; case a.Int16: return t % e; case a.UInt16: return t % e; case a.Int32: return t % e; case a.UInt32: return t % e; case a.Int64: return t % e; case a.UInt64: return t % u.tryToNumber(e); case a.Single: return t % e; case a.Double: return t % e; case a.Decimal: return t % e } break; case a.UInt32: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'uint' and 'bool'"); case a.SByte: return t % e; case a.Int16: return t % e; case a.UInt16: return t % e; case a.Int32: return t % e; case a.UInt32: return t % e; case a.Int64: return t % e; case a.UInt64: return t % e; case a.Single: return t % e; case a.Double: return t % e; case a.Decimal: return t % e } break; case a.Int64: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'long' and 'bool'"); case a.SByte: return t % e; case a.Int16: return t % e; case a.UInt16: return t % e; case a.Int32: return t % e; case a.UInt32: return t % e; case a.Int64: return t % e; case a.UInt64: return t % u.tryToNumber(e); case a.Single: return t % e; case a.Double: return t % e; case a.Decimal: return t % e } break; case a.UInt64: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'ulong' and 'bool'"); case a.SByte: return t % u.tryToNumber(e); case a.Int16: return t % u.tryToNumber(e); case a.UInt16: return t % e; case a.Int32: return t % u.tryToNumber(e); case a.UInt32: return t % e; case a.Int64: return t % u.tryToNumber(e); case a.UInt64: return t % e; case a.Single: return t % e; case a.Double: return t % e; case a.Decimal: return t % e } break; case a.Single: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'float' and 'bool'"); case a.SByte: return t % e; case a.Int16: return t % e; case a.UInt16: return t % e; case a.Int32: return t % e; case a.UInt32: return t % e; case a.Int64: return t % e; case a.UInt64: return t % e; case a.Single: return t % e; case a.Double: return t % e; case a.Decimal: return t % u.tryToNumber(e) } break; case a.Double: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'double' and 'bool'"); case a.SByte: return t % e; case a.Int16: return t % e; case a.UInt16: return t % e; case a.Int32: return t % e; case a.UInt32: return t % e; case a.Int64: return t % e; case a.UInt64: return t % e; case a.Single: return t % e; case a.Double: return t % e; case a.Decimal: return t % u.tryToNumber(e) } break; case a.Decimal: switch (i) { case a.Boolean: throw new r("Operator '%' can't be applied to operands of types 'decimal' and 'bool'"); case a.SByte: return t % e; case a.Int16: return t % e; case a.UInt16: return t % e; case a.Int32: return t % e; case a.UInt32: return t % e; case a.Int64: return t % e; case a.UInt64: return t % e; case a.Single: return t % u.tryToNumber(e); case a.Double: return t % u.tryToNumber(e); case a.Decimal: return t % e } break } return null } , t.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; switch (s.getTypeCode(t)) { case a.Byte: return Math.max(t, o.toNumber(e)); case a.SByte: return Math.max(t, o.toNumber(e)); case a.Int16: return Math.max(t, o.toNumber(e)); case a.UInt16: return Math.max(t, o.toNumber(e)); case a.Int32: return Math.max(t, o.toNumber(e)); case a.UInt32: return Math.max(t, o.toNumber(e)); case a.Int64: return Math.max(t, o.toNumber(e)); case a.UInt64: return Math.max(t, o.toNumber(e)); case a.Single: return Math.max(t, o.toNumber(e)); case a.Double: return Math.max(t, o.toNumber(e)); case a.Decimal: return Math.max(t, o.toNumber(e)) } return null } , t.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; switch (s.getTypeCode(t)) { case a.Byte: return Math.min(t, o.toNumber(e)); case a.SByte: return Math.min(t, o.toNumber(e)); case a.Int16: return Math.min(t, o.toNumber(e)); case a.UInt16: return Math.min(t, o.toNumber(e)); case a.Int32: return Math.min(t, o.toNumber(e)); case a.UInt32: return Math.min(t, o.toNumber(e)); case a.Int64: return Math.min(t, o.toNumber(e)); case a.UInt64: return Math.min(t, o.toNumber(e)); case a.Single: return Math.min(t, o.toNumber(e)); case a.Double: return Math.min(t, o.toNumber(e)); case a.Decimal: return Math.min(t, o.toNumber(e)) } return null } , t }(); e.Numbers = l }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n; !function(e) { var n = t.System.EventArgs , r = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "result", { get: function() { return this._result }, set: function(t) { this._result = t, this.hasResult = !0 }, enumerable: !0, configurable: !0 }), e }(n); e.ParameterArgs = r }(n = e.NCalc || (e.NCalc = {})) }(n = e.Expressions || (e.Expressions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.Char , i = function() { function t() {} return t.getSize = function(t) { var e = ["B", "KB", "MB", "GB"] , n = 0; while (t >= 1024 && ++n < e.length) t /= 1024; return t + " " + e[n] } , t.getHumanReadableName = function(t) { if (n.isNullOrEmpty(t)) return ""; var e = t.trim(); e.stimulsoft.replaceAll("_", " "); for (var i = 1; i < e.length; i++) { var o = e[i - 1] , a = e[i]; r.isLetter(o) && r.isLetter(a) && r.isLower(o) && r.isUpper(a) && (e.stimulsoft.insert(i, " ", 0), i++) } for (var i = 1; i < e.length; i++) { var o = e[i - 1] , a = e[i]; (r.isLetter(o) && r.isDigit(a) || r.isDigit(o) && r.isLetter(a)) && (e.stimulsoft.insert(i, " ", 0), i++) } for (var i = 0; i < e.length; i++) { var a = e[i]; r.isLetterOrDigit(a) || " " == a || e.stimulsoft.remove(i, 1) } return e.length > 0 && !r.isUpper(e[0]) && e.stimulsoft.insert(0, e[0].toUpperCase()[0], 1), e } , t }(); e.StiHumanReadableHelper = i }(n = e.Helpers || (e.Helpers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = function() { function t() {} return t.isMoneyName = function(t) { return !n.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")) } , t }(); e.StiMoneyNameHelper = r }(n = e.Helpers || (e.Helpers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Data.Helpers.StiMoneyNameHelper , r = t.Data.Helpers.StiHumanReadableHelper , i = t.System.Type , o = function() { function t() {} return t.isNumericType = function(t) { return null != t && null != t.dataType && i.isNumericType(t.dataType) } , t.isDateType = function(t) { return null != t && null != t.dataType && i.isDateType(t.dataType) } , t.isIntegerType = function(t) { return null != t && null != t.dataType && i.isIntegerType(t.dataType) } , t.isMoneyName = function(t) { return n.isMoneyName(t.columnName) } , t.getHumanReadableName = function(t) { return r.getHumanReadableName(t.columnName) } , t }(); e.DataColumnExt = o }(n = e.Extensions || (e.Extensions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.DataTimeExt = e }(e = t.Extensions || (t.Extensions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.EnumerableRowCollectionExt = e }(e = t.Extensions || (t.Extensions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Base.Helpers.StiValueHelper , r = t.System.Collections.List , i = t.Base.Helpers.StiValueComparer; r.prototype.whereEqualsTo = function(t, e) { return this.where(function(n) { return i.equalValues(t, e) }) } , r.prototype.whereArrayItemEqualsTo = function(t, e) { return -1 == t ? this : this.where(function(n) { return i.equalValues(n[t], e) }) } , r.prototype.whereArrayItemStringEqualsTo = function(t, e) { return -1 == t ? this : this.where(function(n) { return i.equalValues(r.toString2(n[t]), e) }) } , r.prototype.whereFirstOrDefaultArrayItemStringEqualsTo = function(t, e) { return -1 == t ? this.firstOrDefault() : this.firstOrDefault(function(n) { return i.equalValues(r.toString2(n[t]), e) }) } , r.toString2 = function(t) { return null == t ? "" : t.toString() } , r.prototype.getArrayItem = function(t) { return this.select(function(e) { return e[t] }) } , r.prototype.tryCastValueOrFirstDefaultToNullableNumber = function() { return this.select(function(t) { return n.tryToNullableNumber(e.ListExt.getValueOrFirstOrDefault(t)) }) } , r.prototype.tryCastToNullableNumber = function() { return this.select(function(t) { return n.tryToNullableNumber(t) }) } , r.prototype.tryCastToNumber = function() { return this.select(function(t) { return n.tryToNumber(t) }) } , r.prototype.tryCastToBool = function() { return this.select(function(t) { return n.tryToBool(t) }) } , r.prototype.tryCastToDateTime = function() { return this.select(function(t) { return n.tryToDateTime(t) }) } , r.prototype.tryCastToNullableDateTime = function() { return this.select(function(t) { return n.tryToNullableDateTime(t) }) } , r.prototype.tryCastToNullableTimeSpan = function() { return this.select(function(t) { return n.tryToNullableTimeSpan(t) }) } , r.prototype.tryCastToString = function() { return this.select(function(t) { return n.tryToString(t) }) } , r.prototype.firstOrDefaultAsNullableNumber = function() { return n.tryToNullableNumber(e.ListExt.getValueOrFirstOrDefault(this.firstOrDefault())) } , r.prototype.firstOrDefaultAsNumber = function() { return n.tryToNumber(e.ListExt.getValueOrFirstOrDefault(this.firstOrDefault())) } , r.getValueOrFirstOrDefault = function(t) { return e.ListExt.isList(t) ? e.ListExt.toList(t).firstOrDefault() : t } , r.add2 = function(t, e) { var i = null != t ? t.stimulsoft.as(r) : null , o = null != e ? e.stimulsoft.as(r) : null; if (null == i && null == o) return null; if (null != i && null != o) return i.zip(o, function(t, e) { return n.tryToNumber(t) + n.tryToNumber(e) }).cast(); if (null != i) { var a = n.tryToNumber(e); return i.select(function(t) { return n.tryToNumber(t) + a }).cast() } var s = n.tryToNumber(t); return o.select(function(t) { return n.tryToNumber(t) + s }).cast() } , r.sub = function(t, e) { var i = t.stimulsoft.as(r) , o = e.stimulsoft.as(r); if (null == i && null == o) return null; if (null != i && null != o) return i.zip(o, function(t, e) { return n.tryToNumber(t) - n.tryToNumber(e) }).cast(); if (null != i) { var a = n.tryToNumber(e); return i.select(function(t) { return n.tryToNumber(t) - a }).cast() } var s = n.tryToNumber(t); return o.select(function(t) { return n.tryToNumber(t) - s }).cast() } , r.mult = function(t, e) { var i = t.stimulsoft.as(r) , o = e.stimulsoft.as(r); if (null == i && null == o) return null; if (null != i && null != o) return i.zip(o, function(t, e) { return n.tryToNumber(t) * n.tryToNumber(e) }).cast(); if (null != i) { var a = n.tryToNumber(e); return i.select(function(t) { return n.tryToNumber(t) * a }).cast() } var s = n.tryToNumber(t); return o.select(function(t) { return n.tryToNumber(t) * s }).cast() } , r.bitwiseAnd = function(t, i) { var o = t.stimulsoft.as(r) , a = i.stimulsoft.as(r); if (null == o && null == a) return null; if (null != o && null != a) { var s = o.zip(a, function(t, e) { return n.tryToNumber(t) & n.tryToNumber(e) }).cast(); return e.ListExt.isBoolList(o) ? s.tryCastToNumber().select(function(t) { return 1 == t }).cast() : s } if (null != o) { var u = n.tryToNumber(i) , s = o.select(function(t) { return n.tryToNumber(t) & u }).cast(); return e.ListExt.isBoolList(o) ? s.tryCastToNumber().select(function(t) { return 1 == t }).cast() : s } var l = n.tryToNumber(t) , c = a.select(function(t) { return n.tryToNumber(t) & l }).cast(); return e.ListExt.isBoolList(a) ? c.tryCastToNumber().select(function(t) { return 1 == t }).cast() : c } , r.bitwiseXOr = function(t, i) { var o = t.stimulsoft.as(r) , a = i.stimulsoft.as(r); if (null == o && null == a) return null; if (null != o && null != a) { var s = o.zip(a, function(t, e) { return n.tryToNumber(t) ^ n.tryToNumber(e) }).cast(); return e.ListExt.isBoolList(o) ? s.tryCastToNumber().select(function(t) { return 1 == t }).cast() : s } if (null != o) { var u = n.tryToNumber(i) , s = o.select(function(t) { return n.tryToNumber(t) ^ u }).cast(); return e.ListExt.isBoolList(o) ? s.tryCastToNumber().select(function(t) { return 1 == t }).cast() : s } var l = n.tryToNumber(t) , c = a.select(function(t) { return n.tryToNumber(t) ^ l }).cast(); return e.ListExt.isBoolList(a) ? c.tryCastToNumber().select(function(t) { return 1 == t }).cast() : c } , r.bitwiseOr = function(t, i) { var o = t.stimulsoft.as(r) , a = i.stimulsoft.as(r); if (null == o && null == a) return null; if (null != o && null != a) { var s = o.zip(a, function(t, e) { return n.tryToNumber(t) | n.tryToNumber(e) }).cast(); return e.ListExt.isBoolList(o) ? s.tryCastToNumber().select(function(t) { return 1 == t }).cast() : s } if (null != o) { var u = n.tryToNumber(i) , s = o.select(function(t) { return n.tryToNumber(t) | u }).cast(); return e.ListExt.isBoolList(o) ? s.tryCastToNumber().select(function(t) { return 1 == t }).cast() : s } var l = n.tryToNumber(t) , c = a.select(function(t) { return n.tryToNumber(t) | l }).cast(); return e.ListExt.isBoolList(a) ? c.tryCastToNumber().select(function(t) { return 1 == t }).cast() : c } , r.div = function(t, e) { var i = t.stimulsoft.as(r) , o = e.stimulsoft.as(r); if (null == i && null == o) return null; if (null != i && null != o) return i.zip(o, function(t, e) { return 0 != n.tryToNumber(e) ? n.tryToNumber(t) / n.tryToNumber(e) : 0 }).cast(); if (null != i) { var a = n.tryToNumber(e); return i.select(function(t) { return 0 != a ? n.tryToNumber(t) / a : 0 }).cast() } var s = n.tryToNumber(t); return o.select(function(t) { return 0 != s ? n.tryToNumber(t) / s : 0 }).cast() } }(n = e.Extensions || (e.Extensions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.Base.Meters.IStiLocalizedMeter , i = t.System.Collections.Dictionary , o = t.System.Char , a = function() { function a() {} return a.getLabel = function(i) { if (null == i) return "Unknown"; if (!n.isNullOrEmpty(i.label)) return i.label; var a = i.stimulsoft.is(r) && i.stimulsoft.as(r).localizedName; try { if (!n.isNullOrWhiteSpace(i.expression) && this.cache.contains(i.expression)) return this.cache.get(i.expression); var s = e.StiExpressionHelper.getFirstArgumentFromExpression(i.expression); return null == s && (s = e.StiExpressionHelper.getFunction(i.expression)), null == s && null != a && (s = a), s.stimulsoft.contains(".") && (s = s.split(".").toList().lastOrDefault()), s.length > 0 && o.isUpper(s[0]) || (s = t.Data.Functions.Funcs.toProperCase(s)), n.isNullOrWhiteSpace(i.expression) || this.cache.add(i.expression, s), s } catch (t) { return n.isNullOrWhiteSpace(i.expression) || this.cache.add(i.expression, a), a } } , a.cache = new i, a }(); e.StiLabelHelper = a }(n = e.Helpers || (e.Helpers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Data.Helpers.StiLabelHelper , r = t.System.Type , i = t.System.Data.DataTable , o = t.System.Data.DataColumn , a = function() { function t() {} return t.toNetTable = function(t, r, a) { var s = this; void 0 === a && (a = !1); var u = new i , l = t , c = 0; return r.forEach(function(t) { var r = s.findType(l, c) , i = new o(e.DataTableExt.getUniqueName2(u, t, n.getLabel(t)),r); u.columns.add(i), c++ }), a || t.forEach(function(t) { return s.loadDataRow(u, t) }), u } , t.loadDataRow = function(t, e) { try { t.loadDataRow(e, !0) } catch (i) { for (var n = t.newRow(), r = 0; r < e.length; r++) try { n.sett(r, e[r]) } catch (t) {} t.rows.add(n) } } , t.findType = function(t, e) { var n = this.findTypeInRows(t, e); if (null != n) return n; return Object } , t.findTypeInRows = function(t, e) { var n = t.select(function(t) { return t[e] }).where(function(t) { return null != t }).select(function(t) { return r.getType(t) }).where(function(t) { return null != t }).distinct(); if (null == n || !n.any() || n.count2() > 1) return Object; return n.firstOrDefault() } , t }(); e.ListTableExt = a }(n = e.Extensions || (e.Extensions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.Base.Meters.IStiDimensionMeter , r = function() { function t() {} return t.indexOf = function(t, e) { return null != e ? t.toList().indexOf(e) : -1 } , t.getDimensions = function(t) { return t && t.where(function(t) { return t.stimulsoft.is(n) }).cast() } , t }(); e.StiMeterExt = r }(n = e.Extensions || (e.Extensions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.TOuterExt = e }(e = t.Extensions || (t.Extensions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Q1 = 1] = "Q1", t[t.Q2 = 2] = "Q2", t[t.Q3 = 3] = "Q3", t[t.Q4 = 4] = "Q4" }(e = t.StiQuarter || (t.StiQuarter = {})); var n; !function(t) { t[t.January = 1] = "January", t[t.February = 2] = "February", t[t.March = 3] = "March", t[t.April = 4] = "April", t[t.May = 5] = "May", t[t.June = 6] = "June", t[t.July = 7] = "July", t[t.August = 8] = "August", t[t.September = 9] = "September", t[t.October = 10] = "October", t[t.November = 11] = "November", t[t.December = 12] = "December" }(n = t.StiMonth || (t.StiMonth = {})) }(e = t.Functions || (t.Functions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Collections.List , r = t.System.Collections.Hashtable , i = t.System.DayOfWeek , o = t.System.Globalization.CultureInfo , a = t.Base.Localization.StiLocalization , s = function() { function t() {} return t.dayOfWeek = function(t) { return o.currentCulture.dateTimeFormat.dayNames[t.dayOfWeek] } , t.dayOfWeek2 = function(e, n) { if (!n) return t.dayOfWeek(e); switch (e.dayOfWeek) { case i.Sunday: return a.get("A_WebViewer", "DaySunday"); case i.Monday: return a.get("A_WebViewer", "DayMonday"); case i.Tuesday: return a.get("A_WebViewer", "DayTuesday"); case i.Wednesday: return a.get("A_WebViewer", "DayWednesday"); case i.Thursday: return a.get("A_WebViewer", "DayThursday"); case i.Friday: return a.get("A_WebViewer", "DayFriday"); case i.Saturday: return a.get("A_WebViewer", "DaySaturday") } return t.dayOfWeek(e) } , t.dayOfWeek3 = function(e, n) { var r = ""; try { var i = o.cultures[n]; r = i.dateTimeFormat.getDayName(e.dayOfWeek) } catch (i) { var a = e.dayOfWeek , s = n.toLowerCase(); if (!t.cultureIndexes.containsKey(s)) throw new Error("Function 'DayOfWeek': There is no data for specified culture '" + n + "'."); var u = t.cultureIndexes.get(s); a < t.days[u].length && (r = t.days[u][a]), t.defaultUpperCaseList[u] && (r = r.substring(0, 1).toUpperCase() + r.substring(1)) } return r } , t.dayOfWeek4 = function(e, n, r) { var i = t.dayOfWeek3(e, n).toLowerCase(); return r ? i.substring(0, 1).toUpperCase() + i.substring(1) : i } , t.addCulture = function(e, n, r) { var i, o, a = t.days.count2(); t.days.add(e), t.defaultUpperCaseList.add(r); try { for (var s = __values(n), u = s.next(); !u.done; u = s.next()) { var l = u.value; t.cultureIndexes.set(l.toLowerCase(), a) } } catch (t) { i = { error: t } } finally { try { u && !u.done && (o = s.return) && o.call(s) } finally { if (i) throw i.error } } } , t.initialize = function() { t.days = new n, t.defaultUpperCaseList = new n, t.cultureIndexes = new r, t.addCulture(["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], ["fr"], !1), t.addCulture(["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], ["it"], !1), t.addCulture(["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], ["es"], !1), t.addCulture(["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], ["pt"], !1), t.addCulture(["duminică", "luni", "marţi", "miercuri", "joi", "vineri", "sâmbătă"], ["ro"], !1), t.addCulture(["Il-Ħadd", "It-Tnejn", "It-Tlieta", "L-Erbgħa", "Il-Ħamis", "Il-Ġimgħa", "Is-Sibt"], ["mt"], !1), t.addCulture(["Ku wa mbere", "Ku wa kabiri", "Ku wa gatatu", "Ku wa kane", "Ku wa gatanu", "Ku wa gatandatu", "Ku cyumweru"], ["rw"], !1), t.addCulture(["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"], ["id"], !1), t.addCulture(["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"], ["sk"], !1), t.addCulture(["nedjelja", "ponedjeljak", "utorak", "srijeda", "četvrtak", "petak", "subota"], ["hr"], !1), t.addCulture(["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"], ["pl"], !1), t.addCulture(["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], ["tr"], !1), t.addCulture(["sekmadienis", "pirmadienis", "antradienis", "trečiadienis", "ketvirtadienis", "penktadienis", "šeštadienis"], ["lt"], !1), t.addCulture(["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], ["de"], !1), t.addCulture(["sotnabeaivi", "mánnodat", "disdat", "gaskavahkku", "duorastat", "bearjadat", "lávvardat"], ["se"], !1), t.addCulture(["sunnudagur", "mánadagur", "týsdagur", "mikudagur", "hósdagur", "fríggjadagur", "leygardagur"], ["fo"], !1), t.addCulture(["sunnudagur", "mánudagur", "þriðjudagur", "miðvikudagur", "fimmtudagur", "föstudagur", "laugardagur"], ["is"], !1), t.addCulture(["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"], ["fi"], !1), t.addCulture(["svētdiena", "pirmdiena", "otrdiena", "trešdiena", "ceturtdiena", "piektdiena", "sestdiena"], ["lv"], !1), t.addCulture(["vasárnap", "hétfő", "kedd", "szerda", "csütörtök", "péntek", "szombat"], ["hu"], !1), t.addCulture(["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], ["nl"], !1), t.addCulture(["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], ["ru"], !1), t.addCulture(["недела", "понеделник", "вторник", "среда", "четврток", "петок", "сабота"], ["mk"], !1), t.addCulture(["неделя", "понеделник", "вторник", "сряда", "четвъртък", "петък", "събота"], ["bg"], !1), t.addCulture(["Ням", "Даваа", "Мягмар", "Лхагва", "Пүрэв", "Баасан", "Бямба"], ["mn"], !1), t.addCulture(["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศุกร์", "เสาร์"], ["th"], !1) } , t }(); e.StiDayOfWeekToStrHelper = s, s.initialize() }(n = e.Functions || (e.Functions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Collections.List , r = t.System.Collections.Hashtable , i = t.Base.Localization.StiLocalization , o = t.System.Globalization.CultureInfo , a = function() { function t() {} return t.monthName = function(t) { return t.toString("MMMM") } , t.monthName2 = function(e, n) { if (!n) return t.monthName(e); switch (e.month) { case 1: return i.get("A_WebViewer", "MonthJanuary"); case 2: return i.get("A_WebViewer", "MonthFebruary"); case 3: return i.get("A_WebViewer", "MonthMarch"); case 4: return i.get("A_WebViewer", "MonthApril"); case 5: return i.get("A_WebViewer", "MonthMay"); case 6: return i.get("A_WebViewer", "MonthJune"); case 7: return i.get("A_WebViewer", "MonthJuly"); case 8: return i.get("A_WebViewer", "MonthAugust"); case 9: return i.get("A_WebViewer", "MonthSeptember"); case 10: return i.get("A_WebViewer", "MonthOctober"); case 11: return i.get("A_WebViewer", "MonthNovember"); case 12: return i.get("A_WebViewer", "MonthDecember") } return t.monthName(e) } , t.monthName3 = function(e, n) { var r = e.month , i = ""; try { var a = o.cultures[n]; i = a.DateTimeFormat.GetMonthName(r) } catch (e) { var s = n.toLowerCase(); if (!t.cultureIndexes.containsKey(s)) throw new Error("Function 'MonthName': There is no data for specified culture '" + n + "'."); var u = t.cultureIndexes.get(s); r < t.months[u].length && (i = t.months[u][r - 1]), t.defaultUpperCaseList[u] && (i = i.substring(0, 1).toUpperCase() + i.substring(1)) } return i } , t.monthName4 = function(e, n, r) { var i = t.monthName3(e, n).toLowerCase(); return r ? i.substring(0, 1).toUpperCase() + i.substring(1) : i } , t.addCulture = function(e, n, r) { var i, o, a = t.months.count2(); t.months.add(e), t.defaultUpperCaseList.add(r); try { for (var s = __values(n), u = s.next(); !u.done; u = s.next()) { var l = u.value; t.cultureIndexes.set(l.toLowerCase(), a) } } catch (t) { i = { error: t } } finally { try { u && !u.done && (o = s.return) && o.call(s) } finally { if (i) throw i.error } } } , t.initialize = function() { t.months = new n, t.defaultUpperCaseList = new n, t.cultureIndexes = new r, t.addCulture(["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], ["en"], !1), t.addCulture(["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"], ["ru"], !1), t.addCulture(["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"], ["es"], !1), t.addCulture(["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre"], ["it"], !1), t.addCulture(["ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie"], ["ro"], !1), t.addCulture(["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], ["pt"], !1), t.addCulture(["Jannar", "Frar", "Marzu", "April", "Mejju", "Ġunju", "Lulju", "Awissu", "Settembru", "Ottubru", "Novembru", "Diċembru"], ["mt"], !1), t.addCulture(["január", "február", "március", "április", "május", "június", "július", "augusztus", "szeptember", "október", "november", "december"], ["hu"], !1), t.addCulture(["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december"], ["sk"], !1), t.addCulture(["janúar", "febrúar", "mars", "apríl", "maí", "júní", "júlí", "ágúst", "september", "október", "nóvember", "desember"], ["is"], !1), t.addCulture(["januar", "februar", "mars", "apríl", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember"], ["fo"], !1), t.addCulture(["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], ["de"], !1), t.addCulture(["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"], ["nl"], !1), t.addCulture(["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "Nopember", "Desember"], ["id"], !1), t.addCulture(["janvāris", "februāris", "marts", "aprīlis", "maijs", "jūnijs", "jūlijs", "augusts", "septembris", "oktobris", "novembris", "decembris"], ["lv"], !1), t.addCulture(["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"], ["fr"], !1), t.addCulture(["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec"], ["cs"], !1), t.addCulture(["Mutarama", "Gashyantare", "Werurwe", "Mata", "Gicurasi", "Kamena", "Nyakanga", "Kanama", "Nzeli", "Ukwakira", "Ugushyingo", "Ukuboza"], ["rw"], !1), t.addCulture(["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"], ["tr"], !1), t.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), t.addCulture(["sausis", "vasaris", "kovas", "balandis", "gegužė", "birželis", "liepa", "rugpjūtis", "rugsėjis", "spalis", "lapkritis", "gruodis"], ["lt"], !1), t.addCulture(["siječanj", "veljača", "ožujak", "travanj", "svibanj", "lipanj", "srpanj", "kolovoz", "rujan", "listopad", "studeni", "prosinac"], ["hr"], !1), t.addCulture(["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień"], ["pl"], !1), t.addCulture(["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"], ["fi"], !1), t.addCulture(["јануари", "февруари", "март", "април", "мај", "јуни", "јули", "август", "септември", "октомври", "ноември", "декември"], ["mk"], !1), t.addCulture(["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"], ["bg"], !1), t.addCulture(["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"], ["th"], !1) } , t }(); e.StiMonthToStrHelper = a, a.initialize() }(n = e.Functions || (e.Functions = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.Data.DataTable , r = t.System.Type , i = t.System.Data.DataColumn , o = t.Base.StiConvert , a = t.Data.Extensions.DataTableExt , s = function() { function t() {} return t.toNetTable = function(e, r) { if (void 0 === r && (r = null), null == e) return null; var s = new n , u = e.rows.firstOrDefault() , l = 0; return e.meters.forEach(function(e) { s.columns.add(new i(a.getUniqueName(s, e),t.getDataType(u, l, r))), l++ }), e.rows.forEach(function(t) { var e = s.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, o.changeType(t[n], s.columns.getByIndex(n).dataType)) } catch (t) {} } } catch (t) {} s.rows.add(e) }), s } , t.getDataType = function(t, e, n) { if (void 0 === n && (n = null), null != n && e < n.length) { var i = n[e]; return i } var i = null != t ? r.getType(t[e]) : Object; return i } , t }(); e.StiDataTableConverter = s }(n = e.Helpers || (e.Helpers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var n; !function(e) { var n = t.System.StiString , r = t.System.Collections.List , i = function() { function t() {} return t.getMany = function() { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; if (null == t) return new r; return t.toList().where(function(t) { return null != t }).selectMany(this.getSingle, this).distinct().toList() } , t.getMany2 = function(t) { if (null == t) return new r; return t.where(function(t) { return null != t }).selectMany(this.getSingle, this).distinct() } , t.getSingle = function(t) { return this.getSingle2(t.expression) } , t.getSingle2 = function(t) { if (n.isNullOrWhiteSpace(t)) return new r; try { return e.StiExpressionHelper.getArguments(t) } catch (t) {} return new r } , t }(); e.StiUsedDataHelper = i }(n = e.Helpers || (e.Helpers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return Object.defineProperty(t.prototype, "function", { get: function() { return this._function }, set: function(t) { this._function = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "columnName", { get: function() { return this._columnName }, set: function(t) { this._columnName = t }, enumerable: !0, configurable: !0 }), t }(); t.StiFunctionColumnPair = e }(e = t.Parsers || (t.Parsers = {})) }(e = t.Data || (t.Data = {})) }(Stimulsoft || (Stimulsoft = {})); ;var __values = this && this.__values || function(t) { var e = "function" == typeof Symbol && Symbol.iterator , r = e && t[e] , i = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function() { return t && i >= t.length && (t = void 0), { value: t && t[i++], done: !t } } }; throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.") } , __extends = this && this.__extends || function() { var t = function(e, r) { return (t = 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]) } )(e, r) }; return function(e, r) { function i() { this.constructor = e } t(e, r), e.prototype = null === r ? Object.create(r) : (i.prototype = r.prototype, new i) } }(), __awaiter = this && this.__awaiter || function(t, e, r, i) { function n(t) { return t instanceof r ? t : new r(function(e) { e(t) } ) } return new (r || (r = Promise))(function(r, o) { function a(t) { try { l(i.next(t)) } catch (t) { o(t) } } function s(t) { try { l(i.throw(t)) } catch (t) { o(t) } } function l(t) { t.done ? r(t.value) : n(t.value).then(a, s) } l((i = i.apply(t, e || [])).next()) } ) } , __generator = this && this.__generator || function(t, e) { function r(t) { return function(e) { return i([t, e]) } } function i(r) { if (o) throw new TypeError("Generator is already executing."); while (n) try { if (o = 1, a && (s = 2 & r[0] ? a.return : r[0] ? a.throw || ((s = a.return) && s.call(a), 0) : a.next) && !(s = s.call(a, r[1])).done) return s; switch (a = 0, s && (r = [2 & r[0], s.value]), r[0]) { case 0: case 1: s = r; break; case 4: return n.label++, { value: r[1], done: !1 }; case 5: n.label++, a = r[1], r = [0]; continue; case 7: r = n.ops.pop(), n.trys.pop(); continue; default: if (s = n.trys, !(s = s.length > 0 && s[s.length - 1]) && (6 === r[0] || 2 === r[0])) { n = 0; continue } if (3 === r[0] && (!s || r[1] > s[0] && r[1] < s[3])) { n.label = r[1]; break } if (6 === r[0] && n.label < s[1]) { n.label = s[1], s = r; break } if (s && n.label < s[2]) { n.label = s[2], n.ops.push(r); break } s[2] && n.ops.pop(), n.trys.pop(); continue } r = e.call(t, n) } catch (t) { r = [6, t], a = 0 } finally { o = s = 0 } if (5 & r[0]) throw r[1]; return { value: r[0] ? r[1] : void 0, done: !0 } } var n = { label: 0, sent: function() { if (1 & s[0]) throw s[1]; return s[1] }, trys: [], ops: [] }, o, a, s, l; return l = { next: r(0), throw: r(1), return: r(2) }, "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 i = r.call(t), n, o = [], a; try { while ((void 0 === e || e-- > 0) && !(n = i.next()).done) o.push(n.value) } catch (t) { a = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } 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; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.copy = function(t, e, r, i, n) { for (var o = 0; o < r.length; o++) void 0 === r[o] && (r[o] = 0); for (var o = 0; o < n; o++) r[i + o] = t[e + o] } , t }(); t.ArrayHelper = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = function() { function r() { this.sizeInBits = 0, this.array = Array.create(Number, 32) } return r.prototype.at = function(t) { return (255 & this.array[t >> 3]) >> 7 - (7 & t) & 1 } , r.prototype.size = function() { return this.sizeInBits } , r.prototype.sizeInBytes = function() { return this.sizeInBits + 7 >> 3 } , r.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 } , r.prototype.appendBits = function(t, e) { var r = e; while (r > 0) if (0 == (7 & this.sizeInBits) && r >= 8) { var i = t >> r - 8 & 255; this.appendByte(i), r -= 8 } else { var n = t >> r - 1 & 1; this.appendBit(n), --r } } , r.prototype.appendBitVector = function(t) { for (var e = t.size(), r = 0; r < e; ++r) this.appendBit(t.at(r)) } , r.prototype.xor = function(t) { for (var e = this.sizeInBits + 7 >> 3, r = 0; r < e; ++r) this.array[r] ^= t.array[r] } , r.prototype.toString = function() { for (var e = new t.System.Text.StringBuilder, r = 0; r < this.sizeInBits; r++) 0 == this.at(r) ? e.append("0") : 1 == this.at(r) && e.append("1"); return e.toString() } , r.prototype.getArray = function() { return this.array } , r.prototype.appendByte = function(t) { if (this.sizeInBits >> 3 == this.array.length) { var r = new Array(this.array.length << 1); e.ArrayHelper.copy(this.array, 0, r, 0, this.array.length), this.array = r } this.array[this.sizeInBits >> 3] = t, this.sizeInBits += 8 } , r }(); e.BitVector = r }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e) { this.dataBytes = t, this.errorCorrectionBytes = e } return t.prototype.getDataBytes = function() { return this.dataBytes } , t.prototype.getErrorCorrectionBytes = function() { return this.errorCorrectionBytes } , t }(); t.BlockPair = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(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) } return e.prototype.at = function(t) { return 255 & this._bytes[t] } , e.prototype.set = function(t, e) { this._bytes[t] = e } , e.prototype.size = function() { return this._size } , e.prototype.isEmpty = function() { return 0 == this._size } , e.prototype.appendByte = function(t) { if (0 == this._size || this._size >= this._bytes.length) { var r = Math.max(e.INITIAL_SIZE, this._size << 1); this.reserve(r) } this._bytes[this._size] = t, this._size++ } , e.prototype.reserve = function(e) { if (null == this._bytes || this._bytes.length < e) { var r = new Array(e); null != this._bytes && t.ArrayHelper.copy(this._bytes, 0, r, 0, this._bytes.length), this._bytes = r } } , e.prototype.set1 = function(t, e, r) { this._bytes = new Array(r), this._size = r; for (var i = 0; i < r; i++) this._bytes[i] = t[e + i] } , e.INITIAL_SIZE = 32, e }(); t.ByteArray = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = function() { function e(e, r) { this._bytes = Array.create(t.System.SByte, r); for (var i = 0; i < r; i++) this._bytes[i] = Array.create(t.System.SByte, e); this._width = e, this._height = r } return e.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 } , e.prototype.getHeight = function() { return this._height } , e.prototype.getWidth = function() { return this._width } , e.prototype.get = function(t, e) { return this._bytes[e][t] } , e.prototype.getArray = function() { return this._bytes } , e.prototype.set = function(t, e, r) { this._bytes[e][t] = r } , e.prototype.set2 = function(t, e, r) { this._bytes[e][t] = r } , e.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 }(); e.ByteMatrix = r }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function t(t, e) { this._value = t, this._encodingName = e } return Object.defineProperty(t, "NAME_TO_ECI", { get: function() { return null == this._name_to_eci && t.Initialize(), this._name_to_eci }, set: function(t) { this._name_to_eci = t }, enumerable: !0, configurable: !0 }), t.Initialize = function() { var e = new r; t.addCharacterSet(0, "Cp437", e), t.addCharacterSet(1, "ISO-8859-1", e), t.addCharacterSet(2, "Cp437", e), t.addCharacterSet(3, "ISO-8859-1", e), t.addCharacterSet(4, "ISO-8859-2", e), t.addCharacterSet(5, "ISO-8859-3", e), t.addCharacterSet(6, "ISO-8859-4", e), t.addCharacterSet(7, "ISO-8859-5", e), t.addCharacterSet(8, "ISO-8859-6", e), t.addCharacterSet(9, "ISO-8859-7", e), t.addCharacterSet(10, "ISO-8859-8", e), t.addCharacterSet(11, "ISO-8859-9", e), t.addCharacterSet(13, "ISO-8859-11", e), t.addCharacterSet(15, "ISO-8859-13", e), t.addCharacterSet(17, "ISO-8859-15", e), t.addCharacterSet(20, "Shift_JIS", e), t.addCharacterSet(21, "Windows-1250", e), t.addCharacterSet(22, "Windows-1251", e), t.addCharacterSet(23, "Windows-1252", e), t.addCharacterSet(24, "Windows-1256", e), t.addCharacterSet(26, "UTF-8", e), this._name_to_eci = e } , t.prototype.getEncodingName = function() { return this._encodingName } , t.prototype.getValue = function() { return this._value } , t.addCharacterSet = function(e, r, i) { var n = new t(e,r); i.set(r, n) } , t.getCharacterSetECIByName = function(t) { return this.NAME_TO_ECI.get(t) } , t.GetEncodingByNumber = function(e, r) { var i, n; try { for (var o = __values(this.NAME_TO_ECI.values), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s.stimulsoft.as(t); if (l._value == e) return l._encodingName } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } return r } , t.lockNAME_TO_ECI = new Object, t._name_to_eci = null, t }(); e.CharacterSetECI = i }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e, r) { this._ordinal = t, this._bits = e, this._name = r } return t.prototype.ordinal = function() { return this._ordinal } , t.prototype.getBits = function() { return this._bits } , t.prototype.getName = function() { return this._name } , t.prototype.toString = function() { return this._name } , t.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 } , t.L = new t(0,1,"L"), t.M = new t(1,0,"M"), t.Q = new t(2,3,"Q"), t.H = new t(3,2,"H"), t }(); t.ErrorCorrectionLevel = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(e) { this.FORMAT_INFO_MASK_QR = 21522, this.errorCorrectionLevel = t.ErrorCorrectionLevel.forBits(e >> 3 & 3), this.dataMask = 7 & e } return e.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] } , e.decodeFormatInformation = function(t, r) { var i = e.doDecodeFormatInformation(t, r); if (null != i) return i; return this.doDecodeFormatInformation(21522 ^ t, 21522 ^ r) } , e.doDecodeFormatInformation = function(t, r) { for (var i = 2147483647, n = 0, o = 0; o < this.FORMAT_INFO_DECODE_LOOKUP.getStiLength(0); o++) { var a = this.FORMAT_INFO_DECODE_LOOKUP[o] , s = a[0]; if (s == t || s == r) return new e(a[1]); var l = e.numBitsDiffering(t, s); l < i && (n = a[1], i = l), t != r && (l = e.numBitsDiffering(r, s)) < i && (n = a[1], i = l) } if (i <= 3) return new e(n); return null } , e.prototype.getErrorCorrectionLevel = function() { return this.errorCorrectionLevel } , e.prototype.getDataMask = function() { return this.dataMask } , e.prototype.equals = function(t) { if (!(t instanceof e)) return !1; var r = t; return this.errorCorrectionLevel == r.errorCorrectionLevel && this.dataMask == r.dataMask } , e.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]], e.BITS_SET_IN_HALF_BYTE = [0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4], e }(); t.FormatInformation = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(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, (e <<= 1) >= 256 && (e ^= t); for (var r = 0; r < 255; r++) this._logTable[this._expTable[r]] = r } return e.prototype.getZero = function() { return new t.GF256Poly(this,[0]) } , e.prototype.getOne = function() { return new t.GF256Poly(this,[1]) } , e.prototype.buildMonomial = function(e, r) { if (0 == r) return new t.GF256Poly(this,[0]); var i = new Array(e + 1); return i[0] = r, new t.GF256Poly(this,i) } , e.addOrSubtract = function(t, e) { return t ^ e } , e.prototype.exp = function(t) { return this._expTable[t] } , e.prototype.log = function(t) { return this._logTable[t] } , e.prototype.inverse = function(t) { return this._expTable[255 - this._logTable[t]] } , e.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] } , e.QR_CODE_FIELD = new e(285), e.DATA_MATRIX_FIELD = new e(301), e }(); t.GF256 = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(e, r) { this._field = e; var i = r.length; if (i > 1 && 0 == r[0]) { var n = 1; while (n < i && 0 == r[n]) n++; n == i ? this._coefficients = e.getZero()._coefficients : (this._coefficients = new Array(i - n), t.ArrayHelper.copy(r, n, this._coefficients, 0, this._coefficients.length)) } else this._coefficients = r } return e.prototype.getCoefficients = function() { return this._coefficients } , e.prototype.getDegree = function() { return this._coefficients.length - 1 } , e.prototype.isZero = function() { return 0 == this._coefficients[0] } , e.prototype.getCoefficient = function(t) { return this._coefficients[this._coefficients.length - 1 - t] } , e.prototype.evaluateAt = function(e) { if (0 == e) return this.getCoefficient(0); var r = this._coefficients.length; if (1 == e) { for (var i = 0, n = 0; n < r; n++) i = t.GF256.addOrSubtract(i, this._coefficients[n]); return i } for (var o = this._coefficients[0], n = 1; n < r; n++) o = t.GF256.addOrSubtract(this._field.multiply(e, o), this._coefficients[n]); return o } , e.prototype.addOrSubtract = function(r) { if (this.isZero()) return r; if (r.isZero()) return this; var i = this._coefficients , n = r._coefficients; if (i.length > n.length) { var o = i; i = n, n = o } var a = new Array(n.length) , s = n.length - i.length; t.ArrayHelper.copy(n, 0, a, 0, s); for (var l = s; l < n.length; l++) a[l] = t.GF256.addOrSubtract(i[l - s], n[l]); return new e(this._field,a) } , e.prototype.multiply = function(r) { if (this.isZero() || r.isZero()) return this._field.getZero(); for (var i = this._coefficients, n = i.length, o = r._coefficients, a = o.length, s = new Array(n + (a - 1)), l = 0; l < n; l++) for (var u = i[l], c = 0; c < a; c++) s[l + c] = t.GF256.addOrSubtract(s[l + c], this._field.multiply(u, o[c])); return new e(this._field,s) } , e.prototype.multiply1 = function(t) { if (0 == t) return this._field.getZero(); if (1 == t) return this; for (var r = this._coefficients.length, i = new Array(r), n = 0; n < r; n++) i[n] = this._field.multiply(this._coefficients[n], t); return new e(this._field,i) } , e.prototype.multiplyByMonomial = function(t, r) { if (0 == r) return this._field.getZero(); for (var i = this._coefficients.length, n = new Array(i + t), o = 0; o < i; o++) n[o] = this._field.multiply(this._coefficients[o], r); return new e(this._field,n) } , e.prototype.divide = function(t) { var e = this._field.getZero() , r = this , i = t.getCoefficient(t.getDegree()) , n = this._field.inverse(i); while (r.getDegree() >= t.getDegree() && !r.isZero()) { if (9 == r.getDegree()) var o = 1; var a = r.getDegree() - t.getDegree() , s = this._field.multiply(r.getCoefficient(r.getDegree()), n) , l = t.multiplyByMonomial(a, s) , u = this._field.buildMonomial(a, s); e = e.addOrSubtract(u), r = r.addOrSubtract(l) } return [e, r] } , e }(); t.GF256Poly = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.applyMaskPenaltyRule1 = function(e) { return t.ApplyMaskPenaltyRule1Internal(e, !0) + t.ApplyMaskPenaltyRule1Internal(e, !1) } , t.applyMaskPenaltyRule2 = function(t) { for (var e = 0, r = t.getArray(), i = t.getWidth(), n = t.getHeight(), o = 0; o < n - 1; o++) for (var a = 0; a < i - 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 } , t.applyMaskPenaltyRule3 = function(t) { for (var e = 0, r = t.getArray(), i = t.getWidth(), n = t.getHeight(), o = 0; o < n; o++) for (var a = 0; a < i; a++) a + 6 < i && 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 < i && 0 == r[o][a + 7] && 0 == r[o][a + 8] && 0 == r[o][a + 9] && 0 == r[o][a + 10] || a - 4 >= 0 && 0 == r[o][a - 1] && 0 == r[o][a - 2] && 0 == r[o][a - 3] && 0 == r[o][a - 4]) && (e += 40), o + 6 < n && 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 < n && 0 == r[o + 7][a] && 0 == r[o + 8][a] && 0 == r[o + 9][a] && 0 == r[o + 10][a] || o - 4 >= 0 && 0 == r[o - 1][a] && 0 == r[o - 2][a] && 0 == r[o - 3][a] && 0 == r[o - 4][a]) && (e += 40); return e } , t.applyMaskPenaltyRule4 = function(t) { for (var e = 0, r = t.getArray(), i = t.getWidth(), n = t.getHeight(), o = 0; o < n; o++) for (var a = 0; a < i; a++) 1 == r[o][a] && e++; var s = t.getHeight() * t.getWidth() , l = e / s; return Math.abs(100 * l - 50) / (5 * 10) } , t.getDataMaskBit = function(t, e, r) { var i, n; switch (t) { case 0: n = r + e & 1; break; case 1: n = 1 & r; break; case 2: n = e % 3; break; case 3: n = (r + e) % 3; break; case 4: n = (r >> 1) + e / 3 & 1; break; case 5: i = r * e, n = (1 & i) + i % 3; break; case 6: i = r * e, n = (1 & i) + i % 3 & 1; break; case 7: i = r * e, n = i % 3 + (r + e & 1) & 1; break } return 0 == n } , t.ApplyMaskPenaltyRule1Internal = function(t, e) { for (var r = 0, i = 0, n = -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 == n ? (i += 1, 5 == i ? r += 3 : i > 5 && (r += 1)) : (i = 1, n = c) } i = 0 } return r } , t }(); t.MaskUtil = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.ClearMatrix = function(t) { t.clear(-1) } , e.BuildMatrix = function(t, r, i, n, o) { e.ClearMatrix(o), e.EmbedBasicPatterns(i, o), e.EmbedTypeInfo(r, n, o), e.MaybeEmbedVersionInfo(i, o), e.EmbedDataBits(t, n, o) } , e.EmbedBasicPatterns = function(t, r) { e.EmbedPositionDetectionPatternsAndSeparators(r), e.EmbedDarkDotAtLeftBottomCorner(r), e.MaybeEmbedPositionAdjustmentPatterns(t, r), e.EmbedTimingPatterns(r) } , e.EmbedTypeInfo = function(r, i, n) { var o = new t.BitVector; e.MakeTypeInfoBits(r, i, o); for (var a = 0; a < o.size(); a++) { var s = o.at(o.size() - 1 - a) , l = this.TYPE_INFO_COORDINATES[a][0] , u = this.TYPE_INFO_COORDINATES[a][1]; if (n.set(l, u, s), a < 8) { var c = n.getWidth() - a - 1 , m = 8; n.set(c, m, s) } else { var c = 8 , m = n.getHeight() - 7 + (a - 8); n.set(c, m, s) } } } , e.MaybeEmbedVersionInfo = function(r, i) { if (r < 7) return; var n = new t.BitVector; e.MakeVersionInfoBits(r, n); for (var o = 6 * 3 - 1, a = 0; a < 6; ++a) for (var s = 0; s < 3; ++s) { var l = n.at(o); o--, i.set(a, i.getHeight() - 11 + s, l), i.set(i.getHeight() - 11 + s, a, l) } } , e.EmbedDataBits = function(r, i, n) { var o = 0 , a = -1 , s = n.getWidth() - 1 , l = n.getHeight() - 1; while (s > 0) { 6 == s && (s -= 1); while (l >= 0 && l < n.getHeight()) { for (var u = 0; u < 2; ++u) { var c = s - u; if (10 == c && 8 == l) var m = 1; if (!e.IsEmpty(n.get(c, l))) continue; var p = void 0; o < r.size() ? (p = r.at(o), ++o) : p = 0, -1 != i && t.MaskUtil.getDataMaskBit(i, c, l) && (p ^= 1), n.set(c, l, p) } l += a } a = -a, l += a, s -= 2 } } , e.FindMSBSet = function(t) { var e = t , r = 0; while (0 != e) e >>= 1, ++r; return r } , e.CalculateBCHCode = function(t, r) { var i = e.FindMSBSet(r); t <<= i - 1; while (this.FindMSBSet(t) >= i) t ^= r << this.FindMSBSet(t) - i; return t } , e.MakeTypeInfoBits = function(r, i, n) { var o = r.getBits() << 3 | i; n.appendBits(o, 5); var a = e.CalculateBCHCode(o, this.TYPE_INFO_POLY); n.appendBits(a, 10); var s = new t.BitVector; s.appendBits(this.TYPE_INFO_MASK_PATTERN, 15), n.xor(s) } , e.MakeVersionInfoBits = function(t, r) { r.appendBits(t, 6); var i = e.CalculateBCHCode(t, this.VERSION_INFO_POLY); r.appendBits(i, 12) } , e.IsEmpty = function(t) { return -1 == t } , e.IsValidValue = function(t) { return -1 == t || 0 == t || 1 == t } , e.EmbedTimingPatterns = function(t) { for (var r = 8; r < t.getWidth() - 8; r++) { var i = Math.floor((r + 1) % 2); e.IsEmpty(t.get(r, 6)) && t.set(r, 6, i), e.IsEmpty(t.get(6, r)) && t.set(6, r, i) } } , e.EmbedDarkDotAtLeftBottomCorner = function(t) { t.set(8, t.getHeight() - 8, 1) } , e.EmbedHorizontalSeparationPattern = function(t, e, r) { for (var i = 0; i < 8; ++i) r.set(t + i, e, this.HORIZONTAL_SEPARATION_PATTERN[0][i]) } , e.EmbedVerticalSeparationPattern = function(t, e, r) { for (var i = 0; i < 7; ++i) r.set(t, e + i, this.VERTICAL_SEPARATION_PATTERN[i][0]) } , e.EmbedPositionAdjustmentPattern = function(t, e, r) { for (var i = 0; i < 5; i++) for (var n = 0; n < 5; n++) r.set(t + n, e + i, this.POSITION_ADJUSTMENT_PATTERN[i][n]) } , e.EmbedPositionDetectionPattern = function(t, e, r) { for (var i = 0; i < 7; i++) for (var n = 0; n < 7; n++) r.set(t + n, e + i, this.POSITION_DETECTION_PATTERN[i][n]) } , e.EmbedPositionDetectionPatternsAndSeparators = function(t) { var r = this.POSITION_DETECTION_PATTERN[0].length; e.EmbedPositionDetectionPattern(0, 0, t), e.EmbedPositionDetectionPattern(t.getWidth() - r, 0, t), e.EmbedPositionDetectionPattern(0, t.getWidth() - r, t); var i = this.HORIZONTAL_SEPARATION_PATTERN[0].length; e.EmbedHorizontalSeparationPattern(0, i - 1, t), e.EmbedHorizontalSeparationPattern(t.getWidth() - i, i - 1, t), e.EmbedHorizontalSeparationPattern(0, t.getWidth() - i, t); var n = this.VERTICAL_SEPARATION_PATTERN.length; e.EmbedVerticalSeparationPattern(n, 0, t), e.EmbedVerticalSeparationPattern(t.getHeight() - n - 1, 0, t), e.EmbedVerticalSeparationPattern(n, t.getHeight() - n, t) } , e.MaybeEmbedPositionAdjustmentPatterns = function(t, r) { if (t < 2) return; for (var i = t - 1, n = this.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[i], o = this.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[i].length, a = 0; a < o; a++) for (var s = 0; s < o; s++) { var l = n[a] , u = n[s]; if (-1 == u || -1 == l) continue; e.IsEmpty(r.get(u, l)) && e.EmbedPositionAdjustmentPattern(u - 2, l - 2, r) } } , e.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]], e.HORIZONTAL_SEPARATION_PATTERN = [[0, 0, 0, 0, 0, 0, 0, 0]], e.VERTICAL_SEPARATION_PATTERN = [[0], [0], [0], [0], [0], [0], [0]], e.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]], e.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]], e.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]], e.VERSION_INFO_POLY = 7973, e.TYPE_INFO_POLY = 1335, e.TYPE_INFO_MASK_PATTERN = 21522, e }(); t.MatrixUtil = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e, r) { this.characterCountBitsForVersions = t, this.bits = e, this.name = r } return t.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("") } , t.prototype.GetCharacterCountBits = function(t) { var e = t.getVersionNumber(), r; return r = e <= 9 ? 0 : e <= 26 ? 1 : 2, this.characterCountBitsForVersions[r] } , t.prototype.GetBits = function() { return this.bits } , t.prototype.GetName = function() { return this.name } , t.prototype.ToString = function() { return this.name } , t.TERMINATOR = new t([0, 0, 0],0,"TERMINATOR"), t.NUMERIC = new t([10, 12, 14],1,"NUMERIC"), t.ALPHANUMERIC = new t([9, 11, 13],2,"ALPHANUMERIC"), t.STRUCTURED_APPEND = new t([0, 0, 0],3,"STRUCTURED_APPEND"), t.BYTE = new t([8, 16, 16],4,"BYTE"), t.ECI = new t(null,7,"ECI"), t.KANJI = new t([8, 10, 12],8,"KANJI"), t.FNC1_FIRST_POSITION = new t(null,5,"FNC1_FIRST_POSITION"), t.FNC1_SECOND_POSITION = new t(null,9,"FNC1_SECOND_POSITION"), t }(); t.Mode = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Text.Encoding , i = function() { function i() {} return i.CalculateMaskPenalty = function(t) { var r = 0; return r += e.MaskUtil.applyMaskPenaltyRule1(t), r += e.MaskUtil.applyMaskPenaltyRule2(t), r += e.MaskUtil.applyMaskPenaltyRule3(t), r += e.MaskUtil.applyMaskPenaltyRule4(t) } , i.Encode = function(t, r, n) { var o = i.BYTE_MODE_UTF8 , a = o , s = i.ChooseMode1(t, a); s == e.Mode.BYTE && o != i.BYTE_MODE_UTF8 && (a = i.GetEncodingName(t, o)); var l = new e.BitVector; i.AppendBytes(t, s, l, a); var u = l.sizeInBytes(); i.InitQRCode(u, r, s, n); var c = new e.BitVector; if (s == e.Mode.BYTE && !i.defaultECIByteModeEncoding.stimulsoft.equals(a) && a != i.BYTE_MODE_UTF8) { var m = e.CharacterSetECI.getCharacterSetECIByName(a); null != m && i.AppendECI(m, c) } i.AppendModeInfo(s, c); var p = s.stimulsoft.equals(e.Mode.BYTE) ? l.sizeInBytes() : t.length; i.AppendLengthInfo(p, n.GetVersion(), s, c), c.appendBitVector(l), i.TerminateBits(n.GetNumDataBytes(), c); var h = new e.BitVector; i.InterleaveWithECBytes(c, n.GetNumTotalBytes(), n.GetNumDataBytes(), n.GetNumRSBlocks(), h); var d = new e.ByteMatrix(n.GetMatrixWidth(),n.GetMatrixWidth()); n.SetMaskPattern(i.ChooseMaskPattern(h, n.GetECLevel(), n.GetVersion(), d)), e.MatrixUtil.BuildMatrix(h, n.GetECLevel(), n.GetVersion(), n.GetMaskPattern(), d), n.SetMatrix(d) } , i.GetEncodingName = function(t, e) { return e } , i.GetAlphanumericCode = function(t) { if (t < i.ALPHANUMERIC_TABLE.length) return i.ALPHANUMERIC_TABLE[t]; return -1 } , i.ChooseMode = function(t) { return i.ChooseMode1(t, null) } , i.ChooseMode1 = function(t, r) { for (var n = !1, o = !1, a = 0; a < t.length; a++) { var s = t[a]; if (s >= "0" && s <= "9") n = !0; else { if (-1 == i.GetAlphanumericCode(s.charCodeAt(0))) return e.Mode.BYTE; o = !0 } } if (o) return e.Mode.ALPHANUMERIC; if (n) return e.Mode.NUMERIC; return e.Mode.BYTE } , i.ChooseMaskPattern = function(t, r, n, o) { for (var a = 2147483647, s = -1, l = 0; l < e.StiQRCode.NUM_MASK_PATTERNS; l++) { e.MatrixUtil.BuildMatrix(t, r, n, l, o); var u = i.CalculateMaskPenalty(o); u < a && (a = u, s = l) } return s } , i.InitQRCode = function(t, r, i, n) { n.SetECLevel(r), n.SetMode(i); for (var o = 1; o <= 40; o++) { var a = e.Version.getVersionForNumber(o) , s = a.getTotalCodewords() , l = a.getECBlocksForLevel(r) , u = l.getTotalECCodewords() , c = l.getNumBlocks() , m = s - u; if (m >= t + 4) return n.SetVersion(o), n.SetNumTotalBytes(s), n.SetNumDataBytes(m), n.SetNumRSBlocks(c), n.SetNumECBytes(u), void n.SetMatrixWidth(a.getDimensionForVersion()) } } , i.TerminateBits = function(t, e) { for (var r = t << 3, i = 0; i < 4 && e.size() < r; i++) e.appendBit(0); var n = e.size() % 8; if (n > 0) for (var o = 8 - n, i = 0; i < o; i++) e.appendBit(0); for (var a = t - e.sizeInBytes(), i = 0; i < a; i++) i % 2 == 0 ? e.appendBits(236, 8) : e.appendBits(17, 8) } , i.GetNumDataBytesAndNumECBytesForBlockID = function(t, e, r, i, n, o) { var a = Math.trunc(t % r) , s = Math.trunc(r - a) , l = Math.trunc(t / r) , u = Math.trunc(l + 1) , c = Math.trunc(e / r) , m = Math.trunc(c + 1) , p = Math.trunc(l - c) , h = Math.trunc(u - m); i < s ? (n[0] = c, o[0] = p) : (n[0] = m, o[0] = h) } , i.InterleaveWithECBytes = function(t, r, n, o, a) { for (var s = 0, l = 0, u = 0, c = Array.create(e.BlockPair, o), m = 0; m < o; m++) { var p = new Array(1) , h = new Array(1); i.GetNumDataBytesAndNumECBytesForBlockID(r, n, o, m, p, h); var d = new e.ByteArray; d.set1(t.getArray(), s, p[0]); var g = i.GenerateECBytes(d, h[0]); c[m] = new e.BlockPair(d,g), l = Math.max(l, d.size()), u = Math.max(u, g.size()), s += p[0] } for (var m = 0; m < l; m++) for (var f = 0; f < c.length; f++) { var d = c[f].getDataBytes(); m < d.size() && a.appendBits(d.at(m), 8) } for (var m = 0; m < u; m++) for (var f = 0; f < c.length; f++) { var g = c[f].getErrorCorrectionBytes(); m < g.size() && a.appendBits(g.at(m), 8) } } , i.GenerateECBytes = function(t, r) { for (var i = t.size(), n = new Array(i + r), o = 0; o < i; o++) n[o] = t.at(o); new e.ReedSolomonEncoder(e.GF256.QR_CODE_FIELD).Encode(n, r); for (var a = new e.ByteArray(r), o = 0; o < r; o++) a.set(o, n[i + o]); return a } , i.AppendModeInfo = function(t, e) { e.appendBits(t.GetBits(), 4) } , i.AppendLengthInfo = function(t, r, i, n) { var o = i.GetCharacterCountBits(e.Version.getVersionForNumber(r)); n.appendBits(t, o) } , i.AppendBytes = function(t, r, n, o) { r.stimulsoft.equals(e.Mode.NUMERIC) ? i.AppendNumericBytes(t, n) : r.stimulsoft.equals(e.Mode.ALPHANUMERIC) ? i.AppendAlphanumericBytes(t, n) : r.stimulsoft.equals(e.Mode.BYTE) ? i.Append8BitBytes(t, n, o) : r.stimulsoft.equals(e.Mode.KANJI) && i.AppendKanjiBytes(t, n) } , i.AppendNumericBytes = function(t, e) { var r = t.length , i = 0; while (i < r) { var n = t.charCodeAt(i) - 48; if (i + 2 < r) { var o = t.charCodeAt(i + 1) - 48 , a = t.charCodeAt(i + 2) - 48; e.appendBits(100 * n + (10 * o + a), 10), i += 3 } else if (i + 1 < r) { var o = t.charCodeAt(i + 1) - 48; e.appendBits(10 * n + o, 7), i += 2 } else e.appendBits(n, 4), i++ } } , i.AppendAlphanumericBytes = function(t, e) { var r = t.length , n = 0; while (n < r) { var o = i.GetAlphanumericCode(t.charCodeAt(n)); if (n + 1 < r) { var a = i.GetAlphanumericCode(t.charCodeAt(n + 1)); e.appendBits(45 * o + a, 11), n += 2 } else e.appendBits(o, 6), n++ } } , i.Append8BitBytes = function(e, n, o) { var a; try { a = r.UTF8.getBytes(e) } catch (e) { t.System.StiError.showError(e.message, !1) } o == i.BYTE_MODE_UTF8 && (n.appendBits(239, 8), n.appendBits(187, 8), n.appendBits(191, 8)); for (var s = 0; s < a.length; s++) n.appendBits(a[s], 8) } , i.AppendKanjiBytes = function(t, e) { for (var r, i = r.length, n = 0; n < i; n += 2) { var o = 255 & r[n] , a = 255 & r[n + 1] , s = o + 8 | a , l = -1; s >= 33088 && s <= 40956 ? l = s - 33088 : s >= 57408 && s <= 60351 && (l = s - 49472); var u = 192 * (l >> 8) + (255 & l); e.appendBits(u, 13) } } , i.AppendECI = function(t, r) { r.appendBits(e.Mode.ECI.GetBits(), 4), r.appendBits(t.getValue(), 8) } , i.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], i.defaultECIByteModeEncoding = "ISO-8859-1", i.BYTE_MODE_UTF8 = "UTF-8", i.QUESTION_MARK_CHAR = 63, i }(); e.QREncoder = i }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(e) { this.field = e, this.cachedGenerators = [], this.cachedGenerators.add(new t.GF256Poly(this.field,[1])) } return e.prototype.BuildGenerator = function(e) { if (e >= this.cachedGenerators.length) for (var r = this.cachedGenerators[this.cachedGenerators.length - 1], i = this.cachedGenerators.length; i <= e; i++) { var n = r.multiply(new t.GF256Poly(this.field,[1, this.field.exp(i - 1)])); this.cachedGenerators.add(n), r = n } return this.cachedGenerators[e] } , e.prototype.Encode = function(e, r) { var i = e.length - r , n = this.BuildGenerator(r) , o = new Array(i); t.ArrayHelper.copy(e, 0, o, 0, i); var a = new t.GF256Poly(this.field,o); a = a.multiplyByMonomial(r, 1); for (var s = a.divide(n)[1], l = s.getCoefficients(), u = r - l.length, c = 0; c < u; c++) e[i + c] = 0; for (var m = 0; m < l.length; m++) e[i + u + m] = l[m] } , e }(); t.ReedSolomonEncoder = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() { 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 } return t.prototype.GetMode = function() { return this._mode } , t.prototype.GetECLevel = function() { return this._ecLevel } , t.prototype.GetVersion = function() { return this._version } , t.prototype.GetMatrixWidth = function() { return this._matrixWidth } , t.prototype.GetMaskPattern = function() { return this._maskPattern } , t.prototype.GetNumTotalBytes = function() { return this._numTotalBytes } , t.prototype.GetNumDataBytes = function() { return this._numDataBytes } , t.prototype.GetNumECBytes = function() { return this._numECBytes } , t.prototype.GetNumRSBlocks = function() { return this._numRSBlocks } , t.prototype.GetMatrix = function() { return this._matrix } , t.prototype.At = function(t, e) { return this._matrix.get(t, e) } , t.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 && t.IsValidMaskPattern(this._maskPattern) && this._numTotalBytes == this._numDataBytes + this._numECBytes && null != this._matrix && this._matrixWidth == this._matrix.getWidth() && this._matrix.getWidth() == this._matrix.getHeight() } , t.prototype.SetMode = function(t) { this._mode = t } , t.prototype.SetECLevel = function(t) { this._ecLevel = t } , t.prototype.SetVersion = function(t) { this._version = t } , t.prototype.SetMatrixWidth = function(t) { this._matrixWidth = t } , t.prototype.SetMaskPattern = function(t) { this._maskPattern = t } , t.prototype.SetNumTotalBytes = function(t) { this._numTotalBytes = t } , t.prototype.SetNumDataBytes = function(t) { this._numDataBytes = t } , t.prototype.SetNumECBytes = function(t) { this._numECBytes = t } , t.prototype.SetNumRSBlocks = function(t) { this._numRSBlocks = t } , t.prototype.SetMatrix = function(t) { this._matrix = t } , t.IsValidMaskPattern = function(t) { return t >= 0 && t < this.NUM_MASK_PATTERNS } , t.NUM_MASK_PATTERNS = 8, t }(); t.StiQRCode = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = function() { function t(t, e) { this._count = t, this._dataCodewords = e } return t.prototype.getCount = function() { return this._count } , t.prototype.getDataCodewords = function() { return this._dataCodewords } , t }(); e.ECB = r; var i = function() { function t(t, e, i) { void 0 === i && (i = new r(0,0)), this.ecCodewordsPerBlock = t, this.ecBlocks = [e, i] } return t.prototype.getECCodewordsPerBlock = function() { return this.ecCodewordsPerBlock } , t.prototype.getNumBlocks = function() { for (var t = 0, e = 0; e < this.ecBlocks.length; e++) t += this.ecBlocks[e].getCount(); return t } , t.prototype.getTotalECCodewords = function() { return this.ecCodewordsPerBlock * this.getNumBlocks() } , t.prototype.getECBlocks = function() { return this.ecBlocks } , t }(); e.ECBlocks = i; var n = function() { function n(t, e, r, i, n, o) { this._versionNumber = t, this._alignmentPatternCenters = e, this._ecBlocks = [r, i, n, 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 } return n.BuildVersions = function() { return [new n(1,[],new i(7,new r(1,19)),new i(10,new r(1,16)),new i(13,new r(1,13)),new i(17,new r(1,9))), new n(2,[6, 18],new i(10,new r(1,34)),new i(16,new r(1,28)),new i(22,new r(1,22)),new i(28,new r(1,16))), new n(3,[6, 22],new i(15,new r(1,55)),new i(26,new r(1,44)),new i(18,new r(2,17)),new i(22,new r(2,13))), new n(4,[6, 26],new i(20,new r(1,80)),new i(18,new r(2,32)),new i(26,new r(2,24)),new i(16,new r(4,9))), new n(5,[6, 30],new i(26,new r(1,108)),new i(24,new r(2,43)),new i(18,new r(2,15),new r(2,16)),new i(22,new r(2,11),new r(2,12))), new n(6,[6, 34],new i(18,new r(2,68)),new i(16,new r(4,27)),new i(24,new r(4,19)),new i(28,new r(4,15))), new n(7,[6, 22, 38],new i(20,new r(2,78)),new i(18,new r(4,31)),new i(18,new r(2,14),new r(4,15)),new i(26,new r(4,13),new r(1,14))), new n(8,[6, 24, 42],new i(24,new r(2,97)),new i(22,new r(2,38),new r(2,39)),new i(22,new r(4,18),new r(2,19)),new i(26,new r(4,14),new r(2,15))), new n(9,[6, 26, 46],new i(30,new r(2,116)),new i(22,new r(3,36),new r(2,37)),new i(20,new r(4,16),new r(4,17)),new i(24,new r(4,12),new r(4,13))), new n(10,[6, 28, 50],new i(18,new r(2,68),new r(2,69)),new i(26,new r(4,43),new r(1,44)),new i(24,new r(6,19),new r(2,20)),new i(28,new r(6,15),new r(2,16))), new n(11,[6, 30, 54],new i(20,new r(4,81)),new i(30,new r(1,50),new r(4,51)),new i(28,new r(4,22),new r(4,23)),new i(24,new r(3,12),new r(8,13))), new n(12,[6, 32, 58],new i(24,new r(2,92),new r(2,93)),new i(22,new r(6,36),new r(2,37)),new i(26,new r(4,20),new r(6,21)),new i(28,new r(7,14),new r(4,15))), new n(13,[6, 34, 62],new i(26,new r(4,107)),new i(22,new r(8,37),new r(1,38)),new i(24,new r(8,20),new r(4,21)),new i(22,new r(12,11),new r(4,12))), new n(14,[6, 26, 46, 66],new i(30,new r(3,115),new r(1,116)),new i(24,new r(4,40),new r(5,41)),new i(20,new r(11,16),new r(5,17)),new i(24,new r(11,12),new r(5,13))), new n(15,[6, 26, 48, 70],new i(22,new r(5,87),new r(1,88)),new i(24,new r(5,41),new r(5,42)),new i(30,new r(5,24),new r(7,25)),new i(24,new r(11,12),new r(7,13))), new n(16,[6, 26, 50, 74],new i(24,new r(5,98),new r(1,99)),new i(28,new r(7,45),new r(3,46)),new i(24,new r(15,19),new r(2,20)),new i(30,new r(3,15),new r(13,16))), new n(17,[6, 30, 54, 78],new i(28,new r(1,107),new r(5,108)),new i(28,new r(10,46),new r(1,47)),new i(28,new r(1,22),new r(15,23)),new i(28,new r(2,14),new r(17,15))), new n(18,[6, 30, 56, 82],new i(30,new r(5,120),new r(1,121)),new i(26,new r(9,43),new r(4,44)),new i(28,new r(17,22),new r(1,23)),new i(28,new r(2,14),new r(19,15))), new n(19,[6, 30, 58, 86],new i(28,new r(3,113),new r(4,114)),new i(26,new r(3,44),new r(11,45)),new i(26,new r(17,21),new r(4,22)),new i(26,new r(9,13),new r(16,14))), new n(20,[6, 34, 62, 90],new i(28,new r(3,107),new r(5,108)),new i(26,new r(3,41),new r(13,42)),new i(30,new r(15,24),new r(5,25)),new i(28,new r(15,15),new r(10,16))), new n(21,[6, 28, 50, 72, 94],new i(28,new r(4,116),new r(4,117)),new i(26,new r(17,42)),new i(28,new r(17,22),new r(6,23)),new i(30,new r(19,16),new r(6,17))), new n(22,[6, 26, 50, 74, 98],new i(28,new r(2,111),new r(7,112)),new i(28,new r(17,46)),new i(30,new r(7,24),new r(16,25)),new i(24,new r(34,13))), new n(23,[6, 30, 54, 74, 102],new i(30,new r(4,121),new r(5,122)),new i(28,new r(4,47),new r(14,48)),new i(30,new r(11,24),new r(14,25)),new i(30,new r(16,15),new r(14,16))), new n(24,[6, 28, 54, 80, 106],new i(30,new r(6,117),new r(4,118)),new i(28,new r(6,45),new r(14,46)),new i(30,new r(11,24),new r(16,25)),new i(30,new r(30,16),new r(2,17))), new n(25,[6, 32, 58, 84, 110],new i(26,new r(8,106),new r(4,107)),new i(28,new r(8,47),new r(13,48)),new i(30,new r(7,24),new r(22,25)),new i(30,new r(22,15),new r(13,16))), new n(26,[6, 30, 58, 86, 114],new i(28,new r(10,114),new r(2,115)),new i(28,new r(19,46),new r(4,47)),new i(28,new r(28,22),new r(6,23)),new i(30,new r(33,16),new r(4,17))), new n(27,[6, 34, 62, 90, 118],new i(30,new r(8,122),new r(4,123)),new i(28,new r(22,45),new r(3,46)),new i(30,new r(8,23),new r(26,24)),new i(30,new r(12,15),new r(28,16))), new n(28,[6, 26, 50, 74, 98, 122],new i(30,new r(3,117),new r(10,118)),new i(28,new r(3,45),new r(23,46)),new i(30,new r(4,24),new r(31,25)),new i(30,new r(11,15),new r(31,16))), new n(29,[6, 30, 54, 78, 102, 126],new i(30,new r(7,116),new r(7,117)),new i(28,new r(21,45),new r(7,46)),new i(30,new r(1,23),new r(37,24)),new i(30,new r(19,15),new r(26,16))), new n(30,[6, 26, 52, 78, 104, 130],new i(30,new r(5,115),new r(10,116)),new i(28,new r(19,47),new r(10,48)),new i(30,new r(15,24),new r(25,25)),new i(30,new r(23,15),new r(25,16))), new n(31,[6, 30, 56, 82, 108, 134],new i(30,new r(13,115),new r(3,116)),new i(28,new r(2,46),new r(29,47)),new i(30,new r(42,24),new r(1,25)),new i(30,new r(23,15),new r(28,16))), new n(32,[6, 34, 60, 86, 112, 138],new i(30,new r(17,115)),new i(28,new r(10,46),new r(23,47)),new i(30,new r(10,24),new r(35,25)),new i(30,new r(19,15),new r(35,16))), new n(33,[6, 30, 58, 86, 114, 142],new i(30,new r(17,115),new r(1,116)),new i(28,new r(14,46),new r(21,47)),new i(30,new r(29,24),new r(19,25)),new i(30,new r(11,15),new r(46,16))), new n(34,[6, 34, 62, 90, 118, 146],new i(30,new r(13,115),new r(6,116)),new i(28,new r(14,46),new r(23,47)),new i(30,new r(44,24),new r(7,25)),new i(30,new r(59,16),new r(1,17))), new n(35,[6, 30, 54, 78, 102, 126, 150],new i(30,new r(12,121),new r(7,122)),new i(28,new r(12,47),new r(26,48)),new i(30,new r(39,24),new r(14,25)),new i(30,new r(22,15),new r(41,16))), new n(36,[6, 24, 50, 76, 102, 128, 154],new i(30,new r(6,121),new r(14,122)),new i(28,new r(6,47),new r(34,48)),new i(30,new r(46,24),new r(10,25)),new i(30,new r(2,15),new r(64,16))), new n(37,[6, 28, 54, 80, 106, 132, 158],new i(30,new r(17,122),new r(4,123)),new i(28,new r(29,46),new r(14,47)),new i(30,new r(49,24),new r(10,25)),new i(30,new r(24,15),new r(46,16))), new n(38,[6, 32, 58, 84, 110, 136, 162],new i(30,new r(4,122),new r(18,123)),new i(28,new r(13,46),new r(32,47)),new i(30,new r(48,24),new r(14,25)),new i(30,new r(42,15),new r(32,16))), new n(39,[6, 26, 54, 82, 110, 138, 166],new i(30,new r(20,117),new r(4,118)),new i(28,new r(40,47),new r(7,48)),new i(30,new r(43,24),new r(22,25)),new i(30,new r(10,15),new r(67,16))), new n(40,[6, 30, 58, 86, 114, 142, 170],new i(30,new r(19,118),new r(6,119)),new i(28,new r(18,47),new r(31,48)),new i(30,new r(34,24),new r(34,25)),new i(30,new r(20,15),new r(61,16)))] } , n.prototype.getVersionNumber = function() { return this._versionNumber } , n.prototype.getAlignmentPatternCenters = function() { return this._alignmentPatternCenters } , n.prototype.getTotalCodewords = function() { return this._totalCodewords } , n.prototype.getDimensionForVersion = function() { return 17 + 4 * this._versionNumber } , n.prototype.getECBlocksForLevel = function(t) { return this._ecBlocks[t.ordinal()] } , n.getProvisionalVersionForDimension = function(e) { try { return this.getVersionForNumber(e - 17 >> 2) } catch (e) { throw t.System.StiError.showError(e.message, !1), e } } , n.getVersionForNumber = function(t) { return n.VERSIONS[t - 1] } , n.decodeVersionInformation = function(t) { for (var r = 2147483647, i = 0, o = 0; o < this.VERSION_DECODE_INFO.length; o++) { var a = this.VERSION_DECODE_INFO[o]; if (a == t) return n.getVersionForNumber(o + 7); var s = e.FormatInformation.numBitsDiffering(t, a); s < r && (i = o + 7, r = s) } if (r <= 3) return n.getVersionForNumber(i); return null } , n.prototype.toString = function() { return this._versionNumber.toString() } , n.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], n.VERSIONS = n.BuildVersions(), n }(); e.Version = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.None = 0] = "None", t[t.A = 1] = "A", t[t.B = 2] = "B", t[t.C = 3] = "C" }(e = t.CodeSet || (t.CodeSet = {})); var r; !function(t) { t[t.FNC1 = 129] = "FNC1", t[t.FNC2 = 130] = "FNC2", t[t.FNC3 = 131] = "FNC3", t[t.FNC4 = 132] = "FNC4", t[t.CodeA = 133] = "CodeA", t[t.CodeB = 134] = "CodeB", t[t.CodeC = 135] = "CodeC", t[t.Shift = 136] = "Shift" }(r = t.ControlCodes || (t.ControlCodes = {})); var i; !function(t) { t[t.FNC1 = 102] = "FNC1", t[t.FNC2 = 97] = "FNC2", t[t.FNC3 = 96] = "FNC3", t[t.FNC4A = 101] = "FNC4A", t[t.FNC4B = 100] = "FNC4B", t[t.CodeA = 101] = "CodeA", t[t.CodeB = 100] = "CodeB", t[t.CodeC = 99] = "CodeC", t[t.Shift = 98] = "Shift", t[t.StartA = 103] = "StartA", t[t.StartB = 104] = "StartB", t[t.StartC = 105] = "StartC", t[t.Stop = 106] = "Stop" }(i = t.BarcodeCommands || (t.BarcodeCommands = {})); var n; !function(t) { t[t.Yes = 0] = "Yes", t[t.No = 1] = "No" }(n = t.StiCheckSum || (t.StiCheckSum = {})); var o; !function(t) { t[t.None = 0] = "None", t[t.Modulo10 = 1] = "Modulo10", t[t.Modulo11 = 2] = "Modulo11" }(o = t.StiPlesseyCheckSum || (t.StiPlesseyCheckSum = {})); var a; !function(t) { t[t.Automatic = -1] = "Automatic", t[t.s10x10 = 0] = "s10x10", t[t.s12x12 = 1] = "s12x12", t[t.s8x18 = 2] = "s8x18", t[t.s14x14 = 3] = "s14x14", t[t.s8x32 = 4] = "s8x32", t[t.s16x16 = 5] = "s16x16", t[t.s12x26 = 6] = "s12x26", t[t.s18x18 = 7] = "s18x18", t[t.s20x20 = 8] = "s20x20", t[t.s12x36 = 9] = "s12x36", t[t.s22x22 = 10] = "s22x22", t[t.s16x36 = 11] = "s16x36", t[t.s24x24 = 12] = "s24x24", t[t.s26x26 = 13] = "s26x26", t[t.s16x48 = 14] = "s16x48", t[t.s32x32 = 15] = "s32x32", t[t.s36x36 = 16] = "s36x36", t[t.s40x40 = 17] = "s40x40", t[t.s44x44 = 18] = "s44x44", t[t.s48x48 = 19] = "s48x48", t[t.s52x52 = 20] = "s52x52", t[t.s64x64 = 21] = "s64x64", t[t.s72x72 = 22] = "s72x72", t[t.s80x80 = 23] = "s80x80", t[t.s88x88 = 24] = "s88x88", t[t.s96x96 = 25] = "s96x96", t[t.s104x104 = 26] = "s104x104", t[t.s120x120 = 27] = "s120x120", t[t.s132x132 = 28] = "s132x132", t[t.s144x144 = 29] = "s144x144" }(a = t.StiDataMatrixSize || (t.StiDataMatrixSize = {})); var s; !function(t) { t[t.Ascii = 0] = "Ascii", t[t.C40 = 1] = "C40", t[t.Text = 2] = "Text", t[t.X12 = 3] = "X12", t[t.Edifact = 4] = "Edifact", t[t.Binary = 5] = "Binary" }(s = t.StiDataMatrixEncodingType || (t.StiDataMatrixEncodingType = {})); var l; !function(t) { t[t.Text = 0] = "Text", t[t.Numeric = 1] = "Numeric", t[t.Byte = 2] = "Byte" }(l = t.StiPdf417EncodingMode || (t.StiPdf417EncodingMode = {})); var u; !function(t) { t[t.Automatic = -1] = "Automatic", t[t.Level0 = 0] = "Level0", t[t.Level1 = 1] = "Level1", t[t.Level2 = 2] = "Level2", t[t.Level3 = 3] = "Level3", t[t.Level4 = 4] = "Level4", t[t.Level5 = 5] = "Level5", t[t.Level6 = 6] = "Level6", t[t.Level7 = 7] = "Level7", t[t.Level8 = 8] = "Level8" }(u = t.StiPdf417ErrorsCorrectionLevel || (t.StiPdf417ErrorsCorrectionLevel = {})); var c; !function(t) { t[t.None = 0] = "None", t[t.TwoDigit = 1] = "TwoDigit", t[t.FiveDigit = 2] = "FiveDigit" }(c = t.StiEanSupplementType || (t.StiEanSupplementType = {})); var m; !function(t) { t[t.None = 0] = "None", t[t.OneDigit = 1] = "OneDigit", t[t.TwoDigits = 2] = "TwoDigits", t[t.Auto = 3] = "Auto" }(m = t.StiCode11CheckSum || (t.StiCode11CheckSum = {})); var p; !function(t) { t[t.Automatic = 0] = "Automatic", t[t.v1 = 1] = "v1", t[t.v2 = 2] = "v2", t[t.v3 = 3] = "v3", t[t.v4 = 4] = "v4", t[t.v5 = 5] = "v5", t[t.v6 = 6] = "v6", t[t.v7 = 7] = "v7", t[t.v8 = 8] = "v8", t[t.v9 = 9] = "v9", t[t.v10 = 10] = "v10", t[t.v11 = 11] = "v11", t[t.v12 = 12] = "v12", t[t.v13 = 13] = "v13", t[t.v14 = 14] = "v14", t[t.v15 = 15] = "v15", t[t.v16 = 16] = "v16", t[t.v17 = 17] = "v17", t[t.v18 = 18] = "v18", t[t.v19 = 19] = "v19", t[t.v20 = 20] = "v20", t[t.v21 = 21] = "v21", t[t.v22 = 22] = "v22", t[t.v23 = 23] = "v23", t[t.v24 = 24] = "v24", t[t.v25 = 25] = "v25", t[t.v26 = 26] = "v26", t[t.v27 = 27] = "v27", t[t.v28 = 28] = "v28", t[t.v29 = 29] = "v29", t[t.v30 = 30] = "v30", t[t.v31 = 31] = "v31", t[t.v32 = 32] = "v32", t[t.v33 = 33] = "v33", t[t.v34 = 34] = "v34", t[t.v35 = 35] = "v35", t[t.v36 = 36] = "v36", t[t.v37 = 37] = "v37", t[t.v38 = 38] = "v38", t[t.v39 = 39] = "v39", t[t.v40 = 40] = "v40" }(p = t.StiQRCodeSize || (t.StiQRCodeSize = {})); var h; !function(t) { t[t.Level1 = 0] = "Level1", t[t.Level2 = 1] = "Level2", t[t.Level3 = 2] = "Level3", t[t.Level4 = 3] = "Level4" }(h = t.StiQRCodeErrorCorrectionLevel || (t.StiQRCodeErrorCorrectionLevel = {})); var d; !function(t) { t[t.Cp437 = 2] = "Cp437", t[t.ISO_8859_1 = 3] = "ISO_8859_1", t[t.ISO_8859_2 = 4] = "ISO_8859_2", t[t.ISO_8859_3 = 5] = "ISO_8859_3", t[t.ISO_8859_4 = 6] = "ISO_8859_4", t[t.ISO_8859_5 = 7] = "ISO_8859_5", t[t.ISO_8859_6 = 8] = "ISO_8859_6", t[t.ISO_8859_7 = 9] = "ISO_8859_7", t[t.ISO_8859_8 = 10] = "ISO_8859_8", t[t.ISO_8859_9 = 11] = "ISO_8859_9", t[t.ISO_8859_11 = 13] = "ISO_8859_11", t[t.ISO_8859_13 = 15] = "ISO_8859_13", t[t.ISO_8859_15 = 17] = "ISO_8859_15", t[t.Shift_JIS = 20] = "Shift_JIS", t[t.Windows_1250 = 21] = "Windows_1250", t[t.Windows_1251 = 22] = "Windows_1251", t[t.Windows_1252 = 23] = "Windows_1252", t[t.Windows_1256 = 24] = "Windows_1256", t[t.UTF_8 = 26] = "UTF_8" }(d = t.StiQRCodeECIMode || (t.StiQRCodeECIMode = {})); var g; !function(t) { t[t.Mode2 = 2] = "Mode2", t[t.Mode3 = 3] = "Mode3", t[t.Mode4 = 4] = "Mode4", t[t.Mode5 = 5] = "Mode5", t[t.Mode6 = 6] = "Mode6" }(g = t.StiMaxicodeMode || (t.StiMaxicodeMode = {})) }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBarCode = "IStiBarCode" }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.None = 0] = "None", t[t.DecimalDigits = 1] = "DecimalDigits", t[t.DecimalSeparator = 2] = "DecimalSeparator", t[t.GroupSeparator = 4] = "GroupSeparator", t[t.GroupSize = 8] = "GroupSize", t[t.PositivePattern = 16] = "PositivePattern", t[t.NegativePattern = 32] = "NegativePattern", t[t.CurrencySymbol = 64] = "CurrencySymbol", t[t.PercentageSymbol = 128] = "PercentageSymbol", t[t.Abbreviation = 256] = "Abbreviation", t[t.NegativeInRed = 512] = "NegativeInRed" }(e = t.StiTextFormatState || (t.StiTextFormatState = {})); var r; !function(t) { t[t.None = 0] = "None", t[t.Full = 1] = "Full", t[t.ArrowsColored3 = 2] = "ArrowsColored3", t[t.ArrowsColored4 = 3] = "ArrowsColored4", t[t.ArrowsColored5 = 4] = "ArrowsColored5", t[t.ArrowsGray3 = 5] = "ArrowsGray3", t[t.ArrowsGray4 = 6] = "ArrowsGray4", t[t.ArrowsGray5 = 7] = "ArrowsGray5", t[t.Flags3 = 8] = "Flags3", t[t.Latin4 = 9] = "Latin4", t[t.Quarters5 = 10] = "Quarters5", t[t.QuartersGreen5 = 11] = "QuartersGreen5", t[t.QuartersRed5 = 12] = "QuartersRed5", t[t.Ratings3 = 13] = "Ratings3", t[t.Ratings4 = 14] = "Ratings4", t[t.Ratings5 = 15] = "Ratings5", t[t.RedToBlack4 = 16] = "RedToBlack4", t[t.Signs3 = 17] = "Signs3", t[t.Squares5 = 18] = "Squares5", t[t.Stars3 = 19] = "Stars3", t[t.Stars5 = 20] = "Stars5", t[t.SymbolsCircled3 = 21] = "SymbolsCircled3", t[t.SymbolsUncircled3 = 22] = "SymbolsUncircled3", t[t.TrafficLights4 = 23] = "TrafficLights4", t[t.TrafficLightsRimmed3 = 24] = "TrafficLightsRimmed3", t[t.TrafficLightsUnrimmed3 = 25] = "TrafficLightsUnrimmed3", t[t.Triangles3 = 26] = "Triangles3" }(r = t.StiIconSet || (t.StiIconSet = {})); var i; !function(t) { t[t.None = 0] = "None", t[t.ArrowRightDownGray = 1] = "ArrowRightDownGray", t[t.ArrowRightUpGray = 2] = "ArrowRightUpGray", t[t.ArrowDownGray = 3] = "ArrowDownGray", t[t.ArrowRightGray = 4] = "ArrowRightGray", t[t.ArrowUpGray = 5] = "ArrowUpGray", t[t.ArrowUpGreen = 6] = "ArrowUpGreen", t[t.ArrowDownRed = 7] = "ArrowDownRed", t[t.ArrowRightYellow = 8] = "ArrowRightYellow", t[t.ArrowRightDownYellow = 9] = "ArrowRightDownYellow", t[t.ArrowRightUpYellow = 10] = "ArrowRightUpYellow", t[t.CheckGreen = 11] = "CheckGreen", t[t.CircleBlack = 12] = "CircleBlack", t[t.CircleGreen = 13] = "CircleGreen", t[t.CircleCheckGreen = 14] = "CircleCheckGreen", t[t.CircleRed = 15] = "CircleRed", t[t.CircleCrossRed = 16] = "CircleCrossRed", t[t.CircleYellow = 17] = "CircleYellow", t[t.CircleExclamationYellow = 18] = "CircleExclamationYellow", t[t.CrossRed = 19] = "CrossRed", t[t.ExclamationYellow = 20] = "ExclamationYellow", t[t.FlagGreen = 21] = "FlagGreen", t[t.FlagRed = 22] = "FlagRed", t[t.FlagYellow = 23] = "FlagYellow", t[t.FromRedToBlackGray = 24] = "FromRedToBlackGray", t[t.FromRedToBlackPink = 25] = "FromRedToBlackPink", t[t.FromRedToBlackRed = 26] = "FromRedToBlackRed", t[t.Latin1 = 27] = "Latin1", t[t.Latin2 = 28] = "Latin2", t[t.Latin3 = 29] = "Latin3", t[t.Latin4 = 30] = "Latin4", t[t.LightsGreen = 31] = "LightsGreen", t[t.LightsRed = 32] = "LightsRed", t[t.LightsYellow = 33] = "LightsYellow", t[t.MinusYellow = 34] = "MinusYellow", t[t.QuarterFull = 35] = "QuarterFull", t[t.QuarterFullGreen = 36] = "QuarterFullGreen", t[t.QuarterFullRed = 37] = "QuarterFullRed", t[t.QuarterHalf = 38] = "QuarterHalf", t[t.QuarterHalfGreen = 39] = "QuarterHalfGreen", t[t.QuarterHalfRed = 40] = "QuarterHalfRed", t[t.QuarterNone = 41] = "QuarterNone", t[t.QuarterNoneGreen = 42] = "QuarterNoneGreen", t[t.QuarterNoneRed = 43] = "QuarterNoneRed", t[t.QuarterQuarter = 44] = "QuarterQuarter", t[t.QuarterQuarterGreen = 45] = "QuarterQuarterGreen", t[t.QuarterQuarterRed = 46] = "QuarterQuarterRed", t[t.QuarterThreeFourth = 47] = "QuarterThreeFourth", t[t.QuarterThreeFourthGreen = 48] = "QuarterThreeFourthGreen", t[t.QuarterThreeFourthRed = 49] = "QuarterThreeFourthRed", t[t.Rating0 = 50] = "Rating0", t[t.Rating1 = 51] = "Rating1", t[t.Rating2 = 52] = "Rating2", t[t.Rating3 = 53] = "Rating3", t[t.Rating4 = 54] = "Rating4", t[t.RhombRed = 55] = "RhombRed", t[t.Square0 = 56] = "Square0", t[t.Square1 = 57] = "Square1", t[t.Square2 = 58] = "Square2", t[t.Square3 = 59] = "Square3", t[t.Square4 = 60] = "Square4", t[t.StarFull = 61] = "StarFull", t[t.StarHalf = 62] = "StarHalf", t[t.StarNone = 63] = "StarNone", t[t.StarQuarter = 64] = "StarQuarter", t[t.StarThreeFourth = 65] = "StarThreeFourth", t[t.TriangleGreen = 66] = "TriangleGreen", t[t.TriangleRed = 67] = "TriangleRed", t[t.TriangleYellow = 68] = "TriangleYellow" }(i = t.StiIcon || (t.StiIcon = {})); var n; !function(t) { t[t.MoreThan = 0] = "MoreThan", t[t.MoreThanOrEqual = 1] = "MoreThanOrEqual" }(n = t.StiIconSetOperation || (t.StiIconSetOperation = {})); var o; !function(t) { t[t.Value = 0] = "Value", t[t.Percent = 1] = "Percent" }(o = t.StiIconSetValueType || (t.StiIconSetValueType = {})); var a; !function(t) { t[t.None = 0] = "None", t[t.EndOfReport = 1] = "EndOfReport", t[t.EndOfPage = 2] = "EndOfPage" }(a = t.StiProcessAt || (t.StiProcessAt = {})); var s; !function(t) { t[t.Auto = 0] = "Auto", t[t.Value = 1] = "Value", t[t.Percent = 2] = "Percent", t[t.Minimum = 3] = "Minimum" }(s = t.StiMinimumType || (t.StiMinimumType = {})); var l; !function(t) { t[t.Auto = 0] = "Auto", t[t.Value = 1] = "Value", t[t.Percent = 2] = "Percent" }(l = t.StiMidType || (t.StiMidType = {})); var u; !function(t) { t[t.Auto = 0] = "Auto", t[t.Value = 1] = "Value", t[t.Percent = 2] = "Percent", t[t.Maximum = 3] = "Maximum" }(u = t.StiMaximumType || (t.StiMaximumType = {})); var c; !function(t) { t[t.SinglePage = 0] = "SinglePage", t[t.MultiPage = 1] = "MultiPage" }(c = t.StiDrillDownMode || (t.StiDrillDownMode = {})); var m; !function(t) { t[t.None = 0] = "None", t[t.All = 15] = "All", t[t.Top = 1] = "Top", t[t.Left = 2] = "Left", t[t.Right = 4] = "Right", t[t.Bottom = 8] = "Bottom", t[t.NotAssigned = 16] = "NotAssigned" }(m = t.StiConditionBorderSides || (t.StiConditionBorderSides = {})); var p; !function(t) { t[t.None = 0] = "None", t[t.Font = 1] = "Font", t[t.FontSize = 2] = "FontSize", t[t.FontStyleBold = 4] = "FontStyleBold", t[t.FontStyleItalic = 8] = "FontStyleItalic", t[t.FontStyleUnderline = 16] = "FontStyleUnderline", t[t.FontStyleStrikeout = 32] = "FontStyleStrikeout", t[t.TextColor = 64] = "TextColor", t[t.BackColor = 128] = "BackColor", t[t.Borders = 256] = "Borders", t[t.All = 511] = "All" }(p = t.StiConditionPermissions || (t.StiConditionPermissions = {})); var h; !function(t) { t[t.None = 0] = "None", t[t.ShowComponentsNames = 1] = "ShowComponentsNames", t[t.ShowAliases = 2] = "ShowAliases", t[t.ShowFieldsOnly = 3] = "ShowFieldsOnly", t[t.ShowFields = 4] = "ShowFields", t[t.ShowEvents = 5] = "ShowEvents", t[t.ShowContent = 6] = "ShowContent" }(h = t.StiQuickInfoType || (t.StiQuickInfoType = {})); var d; !function(t) { t[t.Angle0 = 0] = "Angle0", t[t.Angle90 = 90] = "Angle90", t[t.Angle180 = 180] = "Angle180", t[t.Angle270 = 270] = "Angle270" }(d = t.StiAngle || (t.StiAngle = {})); var g; !function(t) { t[t.Left = 0] = "Left", t[t.Right = 1] = "Right", t[t.Top = 2] = "Top", t[t.Bottom = 3] = "Bottom", t[t.None = 4] = "None", t[t.Fill = 5] = "Fill" }(g = t.StiDockStyle || (t.StiDockStyle = {})); var f; !function(t) { t[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.Between = 6] = "Between", t[t.NotBetween = 7] = "NotBetween", t[t.Containing = 8] = "Containing", t[t.NotContaining = 9] = "NotContaining", t[t.BeginningWith = 10] = "BeginningWith", t[t.EndingWith = 11] = "EndingWith", t[t.IsNull = 12] = "IsNull", t[t.IsNotNull = 13] = "IsNotNull" }(f = t.StiFilterCondition || (t.StiFilterCondition = {})); var S; !function(t) { t[t.Argument = 0] = "Argument", t[t.Value = 1] = "Value", t[t.ValueEnd = 2] = "ValueEnd", t[t.Expression = 3] = "Expression", t[t.ValueOpen = 4] = "ValueOpen", t[t.ValueClose = 5] = "ValueClose", t[t.ValueLow = 6] = "ValueLow", t[t.ValueHigh = 7] = "ValueHigh" }(S = t.StiFilterItem || (t.StiFilterItem = {})); var A; !function(t) { t[t.String = 0] = "String", t[t.Numeric = 1] = "Numeric", t[t.DateTime = 2] = "DateTime", t[t.Boolean = 3] = "Boolean", t[t.Expression = 4] = "Expression" }(A = t.StiFilterDataType || (t.StiFilterDataType = {})); var y; !function(t) { t[t.And = 0] = "And", t[t.Or = 1] = "Or" }(y = t.StiFilterMode || (t.StiFilterMode = {})); var w; !function(t) { t[t.ReportEngine = 0] = "ReportEngine", t[t.SQLQuery = 1] = "SQLQuery" }(w = t.StiFilterEngine || (t.StiFilterEngine = {})); var b; !function(t) { t[t.None = 0] = "None", t[t.KeepFirstRowTogether = 1] = "KeepFirstRowTogether", t[t.KeepFirstDetailTogether = 2] = "KeepFirstDetailTogether", t[t.KeepDetailsTogether = 3] = "KeepDetailsTogether" }(b = t.StiKeepDetails || (t.StiKeepDetails = {})); var v; !function(t) { t[t.AllPages = 0] = "AllPages", t[t.ExceptFirstPage = 1] = "ExceptFirstPage", t[t.ExceptLastPage = 2] = "ExceptLastPage", t[t.ExceptFirstAndLastPage = 3] = "ExceptFirstAndLastPage", t[t.OnlyFirstPage = 4] = "OnlyFirstPage", t[t.OnlyLastPage = 8] = "OnlyLastPage", t[t.OnlyFirstAndLastPage = 12] = "OnlyFirstAndLastPage" }(v = t.StiPrintOnType || (t.StiPrintOnType = {})); var C; !function(t) { t[t.Ignore = 0] = "Ignore", t[t.PrintOnEvenPages = 1] = "PrintOnEvenPages", t[t.PrintOnOddPages = 2] = "PrintOnOddPages" }(C = t.StiPrintOnEvenOddPagesType || (t.StiPrintOnEvenOddPagesType = {})); var E; !function(t) { t[t.None = 0] = "None", t[t.IncreasingSize = 1] = "IncreasingSize", t[t.DecreasingSize = 2] = "DecreasingSize", t[t.OnlyInWidthOfComponent = 4] = "OnlyInWidthOfComponent" }(E = t.StiShiftMode || (t.StiShiftMode = {})); var B; !function(t) { t[t.Top = 1] = "Top", t[t.Bottom = 2] = "Bottom", t[t.Left = 4] = "Left", t[t.Right = 8] = "Right" }(B = t.StiAnchorMode || (t.StiAnchorMode = {})); var T; !function(t) { t[t.None = 0] = "None", t[t.Merge = 1] = "Merge", t[t.Hide = 2] = "Hide", t[t.RemoveText = 3] = "RemoveText", t[t.BasedOnTagMerge = 4] = "BasedOnTagMerge", t[t.BasedOnTagHide = 5] = "BasedOnTagHide", t[t.BasedOnTagRemoveText = 6] = "BasedOnTagRemoveText", t[t.GlobalMerge = 7] = "GlobalMerge", t[t.GlobalHide = 8] = "GlobalHide", t[t.GlobalRemoveText = 9] = "GlobalRemoveText", t[t.BasedOnValueRemoveText = 10] = "BasedOnValueRemoveText", t[t.BasedOnValueAndTagMerge = 11] = "BasedOnValueAndTagMerge", t[t.BasedOnValueAndTagHide = 12] = "BasedOnValueAndTagHide", t[t.GlobalBasedOnValueRemoveText = 13] = "GlobalBasedOnValueRemoveText", t[t.GlobalBasedOnValueAndTagMerge = 14] = "GlobalBasedOnValueAndTagMerge", t[t.GlobalBasedOnValueAndTagHide = 15] = "GlobalBasedOnValueAndTagHide" }(T = t.StiProcessingDuplicatesType || (t.StiProcessingDuplicatesType = {})); var I; !function(t) { t[t.None = 0] = "None", t[t.Merge = 1] = "Merge", t[t.Hide = 2] = "Hide", t[t.RemoveImage = 3] = "RemoveImage", t[t.GlobalMerge = 4] = "GlobalMerge", t[t.GlobalHide = 5] = "GlobalHide", t[t.GlobalRemoveImage = 6] = "GlobalRemoveImage" }(I = t.StiImageProcessingDuplicatesType || (t.StiImageProcessingDuplicatesType = {})); var x; !function(t) { t[t.Cross = 0] = "Cross", t[t.Check = 1] = "Check", t[t.CrossRectangle = 2] = "CrossRectangle", t[t.CheckRectangle = 3] = "CheckRectangle", t[t.CrossCircle = 4] = "CrossCircle", t[t.DotCircle = 5] = "DotCircle", t[t.DotRectangle = 6] = "DotRectangle", t[t.NoneCircle = 7] = "NoneCircle", t[t.NoneRectangle = 8] = "NoneRectangle", t[t.None = 9] = "None" }(x = t.StiCheckStyle || (t.StiCheckStyle = {})); var F; !function(t) { t[t.Bands = 0] = "Bands", t[t.Cross = 1] = "Cross", t[t.Components = 2] = "Components", t[t.Shapes = 3] = "Shapes", t[t.Controls = 4] = "Controls", t[t.Dashboards = 5] = "Dashboards" }(F = t.StiToolboxCategory || (t.StiToolboxCategory = {})); var D; !function(t) { t[t.Component = 0] = "Component", t[t.ReportTitleBand = 1] = "ReportTitleBand", t[t.ReportSummaryBand = 2] = "ReportSummaryBand", t[t.PageHeaderBand = 3] = "PageHeaderBand", t[t.PageFooterBand = 4] = "PageFooterBand", t[t.GroupHeaderBand = 5] = "GroupHeaderBand", t[t.GroupFooterBand = 6] = "GroupFooterBand", t[t.HeaderBand = 7] = "HeaderBand", t[t.FooterBand = 8] = "FooterBand", t[t.ColumnHeaderBand = 9] = "ColumnHeaderBand", t[t.ColumnFooterBand = 10] = "ColumnFooterBand", t[t.DataBand = 11] = "DataBand", t[t.HierarchicalBand = 13] = "HierarchicalBand", t[t.ChildBand = 14] = "ChildBand", t[t.EmptyBand = 15] = "EmptyBand", t[t.OverlayBand = 16] = "OverlayBand", t[t.CrossGroupHeaderBand = 21] = "CrossGroupHeaderBand", t[t.CrossGroupFooterBand = 22] = "CrossGroupFooterBand", t[t.CrossHeaderBand = 23] = "CrossHeaderBand", t[t.CrossFooterBand = 24] = "CrossFooterBand", t[t.CrossDataBand = 25] = "CrossDataBand", t[t.Text = 101] = "Text", t[t.TextInCells = 102] = "TextInCells", t[t.SystemText = 103] = "SystemText", t[t.ContourText = 104] = "ContourText", t[t.RichText = 105] = "RichText", t[t.Image = 106] = "Image", t[t.BarCode = 107] = "BarCode", t[t.Shape = 108] = "Shape", t[t.Line = 109] = "Line", t[t.Container = 110] = "Container", t[t.Panel = 110] = "Panel", t[t.Clone = 112] = "Clone", t[t.CheckBox = 113] = "CheckBox", t[t.SubReport = 114] = "SubReport", t[t.WinControl = 115] = "WinControl", t[t.ZipCode = 116] = "ZipCode", t[t.HorizontalLinePrimitive = 150] = "HorizontalLinePrimitive", t[t.VerticalLinePrimitive = 151] = "VerticalLinePrimitive", t[t.RectanglePrimitive = 152] = "RectanglePrimitive", t[t.RoundedRectanglePrimitive = 153] = "RoundedRectanglePrimitive", t[t.Chart = 200] = "Chart", t[t.Table = 201] = "Table", t[t.CrossTab = 202] = "CrossTab", t[t.Map = 210] = "Map", t[t.Gauge = 220] = "Gauge", t[t.TableElement = 301] = "TableElement", t[t.ChartElement = 302] = "ChartElement", t[t.ComboBoxElement = 400] = "ComboBoxElement", t[t.GaugeElement = 303] = "GaugeElement", t[t.PivotTableElement = 304] = "PivotTableElement", t[t.IndicatorElement = 305] = "IndicatorElement", t[t.ProgressElement = 306] = "ProgressElement", t[t.RegionMapElement = 307] = "RegionMapElement", t[t.ListBoxElement = 308] = "ListBoxElement", t[t.OnlineMapElement = 309] = "OnlineMapElement", t[t.ImageElement = 310] = "ImageElement", t[t.TextElement = 311] = "TextElement", t[t.PanelElement = 312] = "PanelElement", t[t.ShapeElement = 313] = "ShapeElement", t[t.TreeViewElement = 314] = "TreeViewElement", t[t.TreeViewBoxElement = 315] = "TreeViewBoxElement", t[t.DatePickerElement = 316] = "DatePickerElement", t[t.UserCode = 1e3] = "UserCode" }(D = t.StiComponentToolboxPosition || (t.StiComponentToolboxPosition = {})); var R; !function(t) { t[t.Component = 0] = "Component", t[t.CrossTab = 1500] = "CrossTab", t[t.SubReportsV1 = 1500] = "SubReportsV1", t[t.SubReportsV2 = 0] = "SubReportsV2", t[t.Container = 0] = "Container", t[t.Panel = 0] = "Panel", t[t.ReportTitleBandBefore = -400] = "ReportTitleBandBefore", t[t.ReportTitleBandAfterV1 = -200] = "ReportTitleBandAfterV1", t[t.ReportTitleBandAfterV2 = 200] = "ReportTitleBandAfterV2", t[t.ReportSummaryBand = 500] = "ReportSummaryBand", t[t.PageHeaderBandBefore = -200] = "PageHeaderBandBefore", t[t.PageHeaderBandAfter = -400] = "PageHeaderBandAfter", t[t.PageFooterBandBottom = -300] = "PageFooterBandBottom", t[t.PageFooterBandTop = 1e3] = "PageFooterBandTop", t[t.GroupHeaderBand = 300] = "GroupHeaderBand", t[t.GroupFooterBand = 300] = "GroupFooterBand", t[t.HeaderBand = 300] = "HeaderBand", t[t.FooterBand = 300] = "FooterBand", t[t.ColumnHeaderBand = 300] = "ColumnHeaderBand", t[t.ColumnFooterBand = 300] = "ColumnFooterBand", t[t.DataBand = 300] = "DataBand", t[t.Table = 300] = "Table", t[t.ChildBand = 300] = "ChildBand", t[t.EmptyBand = 300] = "EmptyBand", t[t.OverlayBand = 700] = "OverlayBand", t[t.Primitive = 1500] = "Primitive", t[t.CrossGroupHeaderBand = 300] = "CrossGroupHeaderBand", t[t.CrossGroupFooterBand = 300] = "CrossGroupFooterBand", t[t.CrossHeaderBand = 300] = "CrossHeaderBand", t[t.CrossFooterBand = 300] = "CrossFooterBand", t[t.CrossDataBand = 300] = "CrossDataBand" }(R = t.StiComponentPriority || (t.StiComponentPriority = {})); var P; !function(t) { t[t.Simple = 0] = "Simple", t[t.Master = 1] = "Master", t[t.Detail = 2] = "Detail", t[t.Static = 3] = "Static" }(P = t.StiComponentType || (t.StiComponentType = {})); var N; !function(t) { t[t.None = 0] = "None", t[t.AllowMove = 1] = "AllowMove", t[t.AllowResize = 2] = "AllowResize", t[t.AllowSelect = 4] = "AllowSelect", t[t.AllowChange = 8] = "AllowChange", t[t.AllowDelete = 16] = "AllowDelete", t[t.All = 31] = "All" }(N = t.StiRestrictions || (t.StiRestrictions = {})); var k; !function(t) { t[t.Hide = 0] = "Hide", t[t.Show = 1] = "Show", t[t.Active = 2] = "Active" }(k = t.StiHighlightState || (t.StiHighlightState = {})); var M; !function(t) { t[t.Left = 0] = "Left", t[t.Center = 1] = "Center", t[t.Right = 2] = "Right", t[t.Top = 3] = "Top", t[t.Middle = 4] = "Middle", t[t.Bottom = 5] = "Bottom" }(M = t.StiAligning || (t.StiAligning = {})); var O; !function(t) { t[t.DownThenAcross = 0] = "DownThenAcross", t[t.AcrossThenDown = 1] = "AcrossThenDown" }(O = t.StiColumnDirection || (t.StiColumnDirection = {})); var _; !function(t) { t[t.IncreaseLastRow = 0] = "IncreaseLastRow", t[t.DecreaseLastRow = 1] = "DecreaseLastRow", t[t.AlignFooterToBottom = 2] = "AlignFooterToBottom", t[t.AlignFooterToTop = 3] = "AlignFooterToTop" }(_ = t.StiEmptySizeMode || (t.StiEmptySizeMode = {})); var L; !function(t) { t[t.Ascending = 0] = "Ascending", t[t.Descending = 1] = "Descending", t[t.None = 2] = "None" }(L = t.StiGroupSortDirection || (t.StiGroupSortDirection = {})); var j; !function(t) { t[t.Avg = 0] = "Avg", t[t.AvgDate = 1] = "AvgDate", t[t.AvgTime = 2] = "AvgTime", t[t.Count = 3] = "Count", t[t.CountDistinct = 4] = "CountDistinct", t[t.MaxDate = 5] = "MaxDate", t[t.MaxTime = 6] = "MaxTime", t[t.Max = 7] = "Max", t[t.MinDate = 8] = "MinDate", t[t.MinTime = 9] = "MinTime", t[t.Min = 10] = "Min", t[t.Median = 11] = "Median", t[t.Mode = 12] = "Mode", t[t.Sum = 13] = "Sum", t[t.SumTime = 14] = "SumTime" }(j = t.StiGroupSummaryType || (t.StiGroupSummaryType = {})); var H; !function(t) { t[t.Portrait = 0] = "Portrait", t[t.Landscape = 1] = "Landscape" }(H = t.StiPageOrientation || (t.StiPageOrientation = {})); var G; !function(t) { t[t.Standard = 0] = "Standard", t[t.Typographic = 1] = "Typographic", t[t.Wysiwyg = 2] = "Wysiwyg" }(G = t.StiTextQuality || (t.StiTextQuality = {})); var Q; !function(t) { t[t.Totals = 0] = "Totals", t[t.SystemVariables = 1] = "SystemVariables", t[t.Expression = 2] = "Expression", t[t.DataColumn = 3] = "DataColumn", t[t.None = 4] = "None" }(Q = t.StiSystemTextType || (t.StiSystemTextType = {})); var Y; !function(t) { t[t.Solid = 0] = "Solid", t[t.Gradient = 1] = "Gradient" }(Y = t.StiBrushType || (t.StiBrushType = {})); var U; !function(t) { t[t.Color2 = 0] = "Color2", t[t.Color3 = 1] = "Color3" }(U = t.StiColorScaleType || (t.StiColorScaleType = {})); var J; !function(t) { t[t.Default = 0] = "Default", t[t.LeftToRight = 1] = "LeftToRight", t[t.RighToLeft = 2] = "RighToLeft" }(J = t.StiDataBarDirection || (t.StiDataBarDirection = {})); var W; !function(t) { t[t.Ascending = 0] = "Ascending", t[t.Descending = 1] = "Descending", t[t.None = 2] = "None" }(W = t.StiInteractionSortDirection || (t.StiInteractionSortDirection = {})); var V; !function(t) { t[t.None = 0] = "None", t[t.Rotate90CW = 1] = "Rotate90CW", t[t.Rotate90CCW = 2] = "Rotate90CCW", t[t.Rotate180 = 3] = "Rotate180", t[t.FlipHorizontal = 4] = "FlipHorizontal", t[t.FlipVertical = 5] = "FlipVertical" }(V = t.StiImageRotation || (t.StiImageRotation = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString, i = t.System.Drawing.StringFormat, n = t.System.Drawing.Point, o = t.System.Drawing.GraphicsUnit, a = t.Base.Drawing.StiSolidBrush, s = t.System.Drawing.Rectangle, l = t.Base.StiJson, u = t.Base.Services.StiService, c = t.System.Text.StringBuilder, m = t.System.Drawing.StringAlignment, p = t.System.Drawing.Font, h = t.Report.Components.StiAngle, d = t.System.Drawing.Color, g = t.Base.Drawing.StiVertAlignment, f = t.Base.Drawing.StiHorAlignment, S; !function(t) { t[t.Fnc1 = 256] = "Fnc1", t[t.Fnc2 = 512] = "Fnc2", t[t.Fnc3 = 768] = "Fnc3", t[t.Fnc4 = 1024] = "Fnc4" }(S = e.BarcodeCommandCode || (e.BarcodeCommandCode = {})); var A = function(u) { function A() { var t = null !== u && u.apply(this, arguments) || this; return t.visiblePropertiesCount = 27, t._barCodeData = new e.StiBarCodeData, t.rectWindow = new s(0,0,0,0), t.defaultLabelFontHeight = 8, t } return __extends(A, u), A.loadFromJsonObjectInternal = function(t) { var e = t.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value.toString() , i = StiOptions.Services.barCodes.firstOrDefault(function(t) { return t.stimulsoft.getType().stimulsoft.getTypeName() == e }); if (null == i) throw r.format("Type {0} is not found!", e); var n = i.createNew(); return n.loadFromJsonObject(t), n } , A.loadFromXmlInternal = function(t) { if (null == t.attributes) return null; var e = t.attributes.getNamedItem("type") , i = StiOptions.Services.barCodes.firstOrDefault(function(t) { return t.stimulsoft.getType().stimulsoft.getNetTypeName() == e.value }); if (null == i) throw r.format("Type {0} is not found!", e.value); var n = i.createNew(); return n.loadFromXmlObject(t), n } , A.prototype.saveToJsonObject = function(t) { var e = new l; return e.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), e } , A.prototype.loadFromJsonObject = function(t) {} , Object.defineProperty(A.prototype, "componentId", { get: function() { return null }, enumerable: !0, configurable: !0 }), A.prototype.loadFromXmlObject = function(t) {} , Object.defineProperty(A.prototype, "visibleProperties", { get: function() { return this._visibleProperties }, set: function(t) { this._visibleProperties = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "defaultCodeValue", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "customPainter", { get: function() { return this._customPainter }, set: function(t) { this._customPainter = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "mainWidth", { get: function() { return this.barCodeData.mainWidth }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "mainHeight", { get: function() { return this.barCodeData.mainHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "barCodeData", { get: function() { return this._barCodeData }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "module", { get: function() { return null }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "height", { get: function() { return null }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "textAlignment", { get: function() { return m.Center }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "textSpacing", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "labelFontHeight", { get: function() { return null }, enumerable: !0, configurable: !0 }), A.prototype.checkCodeSymbols = function(t, e) { var r = new c; if (null != t) for (var i = 0; i < t.length; i++) { var n = t[i]; -1 != e.indexOf(n) && r.append(n) } return r.toString() } , A.prototype.getCode = function(t) { return t.getBarCodeString() } , A.prototype.getCombinedCode = function() { return null } , A.unpackTilde = function(e, r) { var i = 0 , n = []; while (i < e.length) { var o = e[i++]; if (r && 126 == o) { var a = !1; if (i < e.length && 126 == e[i] && (n.add(126), a = !0, i++), !a && i + 2 < e.length) { if (70 == e[i] && 78 == e[i + 1] && 67 == e[i + 2] && i + 3 < e.length) { var s = e[i + 3] - 48; 1 != s && 2 != s && 3 != s && 4 != s || (1 == s && n.add(S.Fnc1), 2 == s && n.add(S.Fnc2), 3 == s && n.add(S.Fnc3), 4 == s && n.add(S.Fnc4), a = !0, i += 4) } if (!a && t.System.Char.isDigit(e[i]) && t.System.Char.isDigit(e[i + 1]) && t.System.Char.isDigit(e[i + 2])) { var s = 100 * (e[i] - 48) + 10 * (e[i + 1] - 48) + (e[i + 2] - 48); s >= 0 && s <= 255 && (n.add(s), a = !0, i += 3) } } if (a) continue } n.add(o) } return n } , A.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 } , A.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 } , A.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 } , A.prototype.isSymbolPostDescend = function(t) { var e; switch (t) { case "e": case "f": e = !0; break; default: e = !1; break } return e } , A.prototype.getSymbolsStringWidth = function(t) { for (var e = 0, r = 0; r < t.length; r++) e += this.getSymbolWidth(t[r]); return e } , A.prototype.drawBars = function(t, e, r) { for (var i = this.barCodeData.spaceLeft, n = this.barCodeData.spaceTop, o = 0, a = 0; a < e.length; a++) { var s = e[a]; if (0 == this.isSymbolSpace(s)) { var l = this.barCodeData.lineHeightShort; 1 == this.isSymbolLong(s) && (l = this.barCodeData.lineHeightLong); var u = 0; 1 == this.isSymbolPostDescend(s) && (u = this.barCodeData.lineHeightLong - this.barCodeData.lineHeightShort), this.baseFillRectangle(t, r, i + this.barCodeData.lineWidth * o, n + u, this.barCodeData.lineWidth * this.getSymbolWidth(s), l - u) } o += this.getSymbolWidth(s) } } , A.prototype.drawBarCode = function(t, e, r) { this.drawBarCode1(t, e, r, null) } , A.prototype.drawBarCode1 = function(t, e, r, n) { var l = new p(r.font.name,r.font.size * (r.barCodeType.labelFontHeight / 8) * this.barCodeData.fullZoomY,r.font.style,o.Pixel); this.translateRect(t, e, r); var u = new a(r.foreColor) , h = new a(r.backColor); if (this.baseFillRectangle(t, h, 0, 0, this.barCodeData.mainWidth, this.barCodeData.mainHeight), this.drawBars(t, this.barCodeData.barsArray, u), r.showLabelText && this.barCodeData.textString.length > 0) { var d = new c; if (this.textSpacing) { for (var g = 0; g < this.barCodeData.textString.length; g++) d.append(this.barCodeData.textString[g]), d.append(" "); d.length = d.length - 1 } else d.append(this.barCodeData.textString); var f = d.toString() , S = this.baseMeasureString3(t, f, l) , A = this.getSymbolsStringWidth(this.barCodeData.barsArray); S.width > A * this.barCodeData.lineWidth + this.barCodeData.spaceLeft + this.barCodeData.spaceRight && (f = this.barCodeData.textString); var y = this.barCodeData.textPosition , w = new i; w.alignment = this.textAlignment, w.formatFlags = 0, this.textAlignment == m.Center ? this.baseDrawString2(t, f, l, u, new s(0,y,A * this.barCodeData.lineWidth + this.barCodeData.spaceLeft + this.barCodeData.spaceRight,2 * this.barCodeData.textHeight), w) : this.baseDrawString2(t, this.barCodeData.textString, l, u, new s(this.barCodeData.spaceLeft,y,A * this.barCodeData.lineWidth,2 * this.barCodeData.textHeight), w) } null != n && n(t, u, this), this.rollbackTransform(t) } , A.prototype.calculateSizeFull = function(t, r, i, n, o, a, l, u, c, m, p, d, g, f, S, A, y) { this.barCodeData.wideToNarrowRatio = p, this.barCodeData.code = g, this.barCodeData.textString = f, this.barCodeData.barsArray = S, y.showQuietZones || this.stimulsoft.is(e.StiAustraliaPost4StateBarCodeType) || this.stimulsoft.is(e.StiITF14BarCodeType) || (t = 0, r = 0, i = 0, n = 0), this.rectWindow = new s(0,0,A.width,A.height), y.angle != h.Angle90 && y.angle != h.Angle270 || (this.rectWindow = new s(0,0,A.height,A.width)); var w = y.font.sizeInPoints - 8 + .5; c += w, u += w; var b = this.module / 10 * d , v = b , C = m * (1 - this.height); y.autoScale && (b = this.rectWindow.width / (this.getSymbolsStringWidth(S) + t + r), C = -(this.rectWindow.height / v - c), !y.showLabelText && l > m && (C -= u)), this.barCodeData.fullZoomY = v, this.barCodeData.spaceLeft = t * b, this.barCodeData.spaceRight = r * b, this.barCodeData.lineWidth = 1 * b, this.barCodeData.mainWidth = (this.getSymbolsStringWidth(S) + t + r) * b, this.barCodeData.spaceTop = i * v, this.barCodeData.spaceBottom = n * v, this.barCodeData.lineHeightShort = (o - C) * v, this.barCodeData.lineHeightLong = (a - C) * v, l > i && (l -= C), this.barCodeData.textPosition = l * v, this.barCodeData.mainHeight = (c - C) * v, this.barCodeData.textHeight = u * v } , A.prototype.calculateSize2 = function(t, e, r, i, n, o, a, s, l, u, c, m, p, h) { this.calculateSizeFull(t, e, r, i, n, o, a, s, l, n, u, c, "", "", m, p, h) } , A.prototype.draw2DBarCode = function(t, e, r, i) { this.rectWindow = new s(0,0,e.width,e.height), r.angle != h.Angle90 && r.angle != h.Angle270 || (this.rectWindow = new s(0,0,e.height,e.width)); var n = 2; r.showQuietZones || (n = 0); var o = this.module / 10 * i , l = o; r.autoScale && (o = this.rectWindow.width / (this.barCodeData.matrixWidth + 2 * n), l = this.rectWindow.height / (this.barCodeData.matrixHeight * this.barCodeData.matrixRatioY + 2 * n), o = Math.min(o, l), l = o), this.barCodeData.mainWidth = (this.barCodeData.matrixWidth + 2 * n) * o, this.barCodeData.mainHeight = (this.barCodeData.matrixHeight * this.barCodeData.matrixRatioY + 2 * n) * l, this.barCodeData.spaceLeft = n * o, this.barCodeData.spaceTop = n * l, this.translateRect(t, e, r); var u = new a(r.foreColor) , c = new a(r.backColor); this.baseFillRectangle(t, c, 0, 0, this.barCodeData.mainWidth, this.barCodeData.mainHeight); for (var m = this.barCodeData.spaceLeft, p = this.barCodeData.spaceTop, d = 0; d < this.barCodeData.matrixHeight; d++) for (var g = 0; g < this.barCodeData.matrixWidth; g++) 0 != this.barCodeData.matrixGrid[g + d * this.barCodeData.matrixWidth] && this.baseFillRectangle2D(t, u, m + g * o, p + d * l * this.barCodeData.matrixRatioY, o, l * this.barCodeData.matrixRatioY); this.rollbackTransform(t) } , A.prototype.drawMaxicode = function(t, e, r, i) { this.rectWindow = new s(0,0,e.width,e.height), r.angle != h.Angle90 && r.angle != h.Angle270 || (this.rectWindow = new s(0,0,e.height,e.width)); var o = 100 , l = o / 29 , u = 1.1547 * l , c = .866 * l , m = 1.5 * l , p = c + u / 2 , g = i , f = 32 * l , S = 34 * c + u; r.autoScale && (g = Math.min(this.rectWindow.height, this.rectWindow.width) / f), this.barCodeData.mainWidth = f * g, this.barCodeData.mainHeight = S * g, this.translateRect(t, e, r); var A = new a(r.foreColor) , y = new a(r.backColor.a < 64 ? d.white : r.backColor); this.baseFillRectangle(t, y, 0, 0, this.barCodeData.mainWidth, this.barCodeData.mainHeight); for (var w = [0, l / 2, l / 2, 0, -l / 2, -l / 2], b = [u / 2, u / 4, -u / 4, -u / 2, -u / 4, u / 4], v = .87, C = 0; C < 33; C++) for (var E = 0; E < 30; E++) if (1 == this.barCodeData.matrixGrid[30 * C + E]) { var B = m + E * l; 0 != (1 & C) && (B += l / 2); for (var T = p + c * C, I = [], x = 0; x < 6; x++) I[x] = new n((B + w[x] * v) * g,(T + b[x] * v) * g); this.baseFillPolygon(t, A, I) } for (var F = m + 14 * l, D = p + 16 * c, R = [15.236, 12.598, 9.96, 7.32, 4.646, 2.008], x = 0; x < R.length; x++) { var P = new s((F - R[x]) * g,(D - R[x]) * g,2 * R[x] * g,2 * R[x] * g); this.baseFillEllipse(t, (1 & x) > 0 ? y : A, P.x, P.y, P.width, P.height) } this.rollbackTransform(t) } , A.prototype.drawBarCodeError = function(t, e, r) { this.drawBarCodeError2(t, e, r, null) } , A.prototype.drawBarCodeError2 = function(t, e, i, n) { var o = new a(i.backColor); this.baseFillRectangle(t, o, e.x, e.y, e.width, e.height), this.baseDrawRectangle(t, d.red, 4, e.x, e.y, e.width, e.height); var s = new p("Arial",8); r.isNullOrEmpty(n) ? this.baseDrawString(t, "Not valid data", s, new a(d.red), e.x + 1, e.y + 1) : this.baseDrawString(t, n, s, new a(d.red), e.x + 1, e.y + 1) } , A.prototype.draw = function(t, e, r, i) {} , A.prototype.translateRect = function(t, e, r) { var i, n, o, a, s; switch (r.horAlignment) { case f.Right: a = this.rectWindow.width - this.barCodeData.mainWidth; break; case f.Center: a = (this.rectWindow.width - this.barCodeData.mainWidth) / 2; break; default: a = 0; break } switch (r.vertAlignment) { case g.Bottom: s = this.rectWindow.height - this.barCodeData.mainHeight; break; case g.Center: s = (this.rectWindow.height - this.barCodeData.mainHeight) / 2; break; default: s = 0; break } switch (r.angle) { case h.Angle90: i = -90, n = e.x, o = e.y + e.height; break; case h.Angle180: i = -180, n = e.x + e.width, o = e.y + e.height; break; case h.Angle270: i = -270, n = e.x + e.width, o = e.y; break; default: i = 0, n = e.x, o = e.y; break } this.baseTransform(t, n, o, i, a, s) } , A.prototype.rollbackTransform = function(t) { this.baseRollbackTransform(t) } , A.prototype.baseDrawString = function(t, e, r, i, n, o) { this.baseDrawString2(t, e, r, i, new s(n,o,0,0), null) } , A.prototype.baseTransform = function(e, r, i, n, o, a) { var s = null; e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter) ? s = e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter) : null != this.customPainter && (s = this.customPainter), s.baseTransform(e, r, i, n, o, a) } , A.prototype.baseRollbackTransform = function(e) { var r = null; e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter) ? r = e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter) : null != this.customPainter && (r = this.customPainter), r.baseRollbackTransform(e) } , A.prototype.baseFillRectangle = function(e, r, i, n, o, a) { var s = null; e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter) ? s = e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter) : null != this.customPainter && (s = this.customPainter), s.baseFillRectangle(e, r, i, n, o, a) } , A.prototype.baseFillRectangle2D = function(e, r, i, n, o, a) { var s = null; e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter) ? s = e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter) : null != this.customPainter && (s = this.customPainter), s.baseFillRectangle2D(e, r, i, n, o, a) } , A.prototype.baseFillPolygon = function(e, r, i) { var n = null; e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter) ? n = e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter) : null != this.customPainter && (n = this.customPainter), n.baseFillPolygon(e, r, i) } , A.prototype.baseFillEllipse = function(e, r, i, n, o, a) { var s = null; e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter) ? s = e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter) : null != this.customPainter && (s = this.customPainter), s.baseFillEllipse(e, r, i, n, o, a) } , A.prototype.baseDrawRectangle = function(e, r, i, n, o, a, s) { var l = null; e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter) ? l = e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter) : null != this.customPainter && (l = this.customPainter), l.baseDrawRectangle(e, r, i, n, o, a, s) } , A.prototype.baseDrawImage = function(e, r, i, n, o, a, s) { var l = null; e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter) ? l = e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter) : null != this.customPainter && (l = this.customPainter), l.baseDrawImage(e, r, i, n, o, a, s) } , A.prototype.baseDrawString2 = function(e, r, i, n, o, a) { var s = null; e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter) ? s = e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter) : null != this.customPainter && (s = this.customPainter), s.baseDrawString(e, r, i, n, o, a) } , A.prototype.baseMeasureString3 = function(e, r, i) { var n = null; return e.stimulsoft.is(t.Report.Export.StiBarCodeExportPainter) ? n = e.stimulsoft.as(t.Report.Export.StiBarCodeExportPainter) : null != this.customPainter && (n = this.customPainter), n.baseMeasureString(e, r, i) } , A.prototype.createNew = function() { return null } , A }(u); e.StiBarCodeTypeService = A }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Drawing.StringAlignment , o = t.System.Text.StringBuilder , a = function(t) { function r(e, r) { void 0 === e && (e = 20), void 0 === r && (r = 1); var i = t.call(this) || this; return i.australiaPost4StateSymbolsC = "ABC DEF#GHIabcdeJKLfMNOgPQRhijklSTUmVWXnYZ0opqrs123t456u789vwxyz", i.australiaPost4StateSymbolsN = "012_345_678_9", i.australiaPost4StateStartCode = "13", i.australiaPost4StateStopCode = "13", i._module = 20, i._height = 1, i.australiaPost4StateSpaceLeft = 11.8, i.australiaPost4StateSpaceRight = 11.8, i.australiaPost4StateSpaceTop = 3.9 + 7, i.australiaPost4StateSpaceBottom = 3.9, i.australiaPost4StateLineHeightLong = 10, i.australiaPost4StateLineHeightShort = .62 * i.australiaPost4StateLineHeightLong, i.australiaPost4StateTextPosition = 1, i.australiaPost4StateTextHeight = 5, i.australiaPost4StateMainHeight = i.australiaPost4StateSpaceTop + i.australiaPost4StateLineHeightLong + i.australiaPost4StateSpaceBottom, i.australiaPost4StateLineHeightForCut = i.australiaPost4StateLineHeightLong, i.mult = Array.create(Number, 64, 64), i.gen = [0, 0, 0, 0, 0], i._module = e, i._height = r, i } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Module", this.module, 20), r.addPropertyNumber("Height", this.height, 1), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiAustraliaPost4StateBarCodeType }, enumerable: !0, configurable: !0 }), r.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Angle": this.module = i.textContent.stimulsoft.toNumber(); break; case "Height": this.height = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Australia Post 4-state" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "1139987520" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 20 && (this._module = 20), t > 20 && (this._module = 20) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < 1 && (this._height = 1), t > 1 && (this._height = 1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelFontHeight", { get: function() { return this.australiaPost4StateTextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[13] = !0, t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "textAlignment", { get: function() { return n.Near }, enumerable: !0, configurable: !0 }), r.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 i = 1, r = 1; r < 64; r++) { var n = i << 1; 0 != (n & e) && (n ^= t); for (var o = 0; o < 64; o++) this.mult[n][o] = this.mult[i][o] << 1, 0 != (this.mult[n][o] & e) && (this.mult[n][o] ^= t); i = n } this.gen[0] = 48, this.gen[1] = 17, this.gen[2] = 29, this.gen[3] = 30, this.gen[4] = 1 } , r.prototype.rSEncode = function(t) { 0 == this.gen[0] && this.rSInitialise(); for (var e = Array.create(Number, 31), r = t.length, i = 0; i < 4; i++) e[i] = 0; for (var i = 0; i < r; i++) e[i + 4] = t[r - 1 - i]; for (var i = r - 1; i >= 0; i--) for (var n = 0; n <= 4; n++) { var o = this.gen[n] , a = e[4 + i] , s = this.mult[o][a]; e[i + n] = e[i + n] ^ s } for (var l = Array.create(Number, 4), i = 0; i < 4; i++) l[i] = e[3 - i]; return l } , r.prototype.charTo4State = function(t, e) { var r = new o; if (e) { var i = this.australiaPost4StateSymbolsC.indexOf(t); r.append(String.fromCharCode((i >> 4 & 3) + 48)), r.append(String.fromCharCode((i >> 2 & 3) + 48)), r.append(String.fromCharCode((3 & i) + 48)) } else { var i = this.australiaPost4StateSymbolsN.indexOf(t); r.append(String.fromCharCode((i >> 2 & 3) + 48)), r.append(String.fromCharCode((3 & i) + 48)) } return r.toString() } , r.prototype.stateToBar = function(t) { for (var e = new o, 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() } , r.prototype.makeBarsArray = function(t, e, r) { var n = t.ref , a = e.ref , s = r.ref; if (n.length < 10) return s = "Data too short", !1; var l = n.substr(0, 2) , u = n.substr(2, 8) , c = n.substr(10) , m = -1; switch (l) { case "11": case "87": case "45": case "92": m = 0; break; case "59": m = 16; break; case "62": case "44": m = 31; break } if (m < 0) return s = "Unknown FCC", !1; var p = m / 3; if (c.length > p) return s = "CustomerInfo too long", !1; p > c.length && (p = c.length); var h = new o; h.append(this.charTo4State(l[0], !1)), h.append(this.charTo4State(l[1], !1)), h.append(this.charTo4State(u[0], !1)), h.append(this.charTo4State(u[1], !1)), h.append(this.charTo4State(u[2], !1)), h.append(this.charTo4State(u[3], !1)), h.append(this.charTo4State(u[4], !1)), h.append(this.charTo4State(u[5], !1)), h.append(this.charTo4State(u[6], !1)), h.append(this.charTo4State(u[7], !1)); for (var d = 0; d < p; d++) h.append(this.charTo4State(c[d], !0)); if (h.length < 21 + m) for (var g = 21 + m - h.length, d = 0; d < g; d++) h.append("3"); h.toString().charCodeAt(0); for (var f = Math.floor(h.length / 3), S = Array.create(Number, f), d = 0; d < f; d++) S[d] = (h.toString().charCodeAt(3 * d + 0) - 48 << 4) + (h.toString().charCodeAt(3 * d + 1) - 48 << 2) + (h.toString().charCodeAt(3 * d + 2) - 48); for (var A = this.rSEncode(S), d = 0; d < 4; d++) h.append(String.fromCharCode((A[d] >> 4 & 3) + 48)), h.append(String.fromCharCode((A[d] >> 2 & 3) + 48)), h.append(String.fromCharCode((3 & A[d]) + 48)); return a = this.stateToBar(this.australiaPost4StateStartCode + h.toString() + this.australiaPost4StateStopCode), n = i.format("{0} {1} {2} {3} {4} {5} {6}", l, u, c.substr(0, p), A[0], A[1], A[2], A[3]), t.ref = n, e.ref = a, r.ref = s, !0 } , r.prototype.draw = function(t, e, r, i) { var n = this.getCode(e); n = this.checkCodeSymbols(n, this.australiaPost4StateSymbolsC); var o = "" , a = "" , s = { ref: n } , l = { ref: o } , u = { ref: a }; this.makeBarsArray(s, l, u) ? (n = 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, i, n, n, o, r, e), this.drawBarCode(t, r, e)) : a.length > 0 ? this.drawBarCodeError2(t, r, e, a) : this.drawBarCodeError(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiBarCodeTypeService); r.StiAustraliaPost4StateBarCodeType = a }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBorder = "IStiBorder" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiEnumAngle = "IStiEnumAngle" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiHorAlignment = "IStiHorAlignment", t.ImplementsIStiHorAlignment = [] }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiVertAlignment = "IStiVertAlignment", t.ImplementsIStiVertAlignment = [] }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiForeColor = "IStiForeColor", t.ImplementsIStiForeColor = [] }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBackColor = "IStiBackColor", t.ImplementsIStiBackColor = [] }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiExportImage = "IStiExportImage" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiExportImageExtended = "IStiExportImageExtended" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.ICloneable , i = t.Base.JsonReportObject.IStiJsonReportObject , n = t.Base.StiJson , o = function() { function e(t) { void 0 === t && (t = ""), this.val = "", this.parentComponent = null, this.fullConvert = !0, this.applyFormat = !0, this.genAddEvent = !0, this.val = t } return e.prototype.implements = function() { return [r, i] } , e.prototype.saveToJsonObject = function(t) { var e = new n; return e.addPropertyStringNullOrEmpty("Value", this.value), e } , e.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.value; switch (o.name) { case "Value": this.value = o.value; break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , e.prototype.loadFromXml = function(t) { this.value = t.textContent } , Object.defineProperty(e.prototype, "value", { get: function() { return this.getValueProp() }, set: function(t) { this.setValueProp(t) }, enumerable: !0, configurable: !0 }), e.prototype.getValueProp = function() { return this.val } , e.prototype.setValueProp = function(e) { this.val != e && (null != this.parentComponent && this.parentComponent.stimulsoft.is(t.Report.Components.StiText), this.val = e) } , e.prototype.toString = function() { return this.value } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e }(); e.StiExpression = o }(r = e.Expressions || (e.Expressions = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.CollectionBase , i = t.System.ICloneable , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.StiJson , a = t.System.Text.XMLConvert , s = t.System.Enum , l = t.System.Text.StiReportObjectStringConverter , u = t.System.Xml.XmlConverter , c = function(r) { function c() { return null !== r && r.apply(this, arguments) || this } return __extends(c, r), c.prototype.implements = function() { return [i, n] } , c.prototype.saveToJsonObject = function(t) { var e, r; if (0 == this.list.length) return null; var i = new o , n = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; i.addPropertyJObject(n.toString(), l.saveToJsonObject(t)), n++ } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (e) throw e.error } } return i } , c.prototype.loadFromJsonObject = function(t) { var r, i; try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = null , l = a.value; switch (l.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value) { case "StiBaseCondition": s = new e.StiBaseCondition; break; case "StiCondition": s = new e.StiCondition; break; case "StiIconSetCondition": s = new e.StiIconSetCondition; break; case "StiColorScaleCondition": s = new e.StiColorScaleCondition; break; case "StiDataBarCondition": s = new e.StiDataBarCondition; break; case "StiMultiCondition": s = new e.StiMultiCondition; break } s.loadFromJsonObject(l), this.list.add(s) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , c.prototype.isBorderSides = function(t) { return "False" != (t = a.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")) } , c.prototype.convertIconSetItemFromString = function(t) { if ("null" == t) return null; var r = t.split(","); return new e.StiIconSetItem(s.parse(e.StiIcon, a.decodeName(r[0])),s.parse(e.StiIconSetOperation, a.decodeName(r[1])),s.parse(e.StiIconSetValueType, a.decodeName(r[2])),a.decodeName(r[3]).stimulsoft.toNumber()) } , c.prototype.loadFromXml = function(r) { for (var i = 0; i < r.childNodes.length; i++) { var n = r.childNodes[i]; if ("value" == n.nodeName) { var o = n.textContent , c = !1; if (o.stimulsoft.startsWith("BreakIfTrue,") && (c = !0, o = o.stimulsoft.replaceAll("BreakIfTrue,", "")), n.textContent.stimulsoft.startsWith("Multi<")) { var m = new e.StiMultiCondition; m.loadfromXmlDoc(u.toXml(n.textContent.substr(5))), this.list.add(m); continue } var p = o.split(","); if ("DataBar" == p[0]) { var m = new e.StiDataBarCondition(a.decodeName(p[1]),s.parse(e.StiBrushType, a.decodeName(p[2])),l.convertStringToColor(p[3]),l.convertStringToColor(p[4]),"true" == p[5].toLowerCase(),l.convertStringToColor(p[6]),l.convertStringToColor(p[7]),s.parse(e.StiDataBarDirection, a.decodeName(p[8])),s.parse(e.StiMinimumType, a.decodeName(p[9])),p[10].stimulsoft.toNumber(),s.parse(e.StiMaximumType, a.decodeName(p[11])),p[12].stimulsoft.toNumber()); this.list.add(m); continue } if ("ColorScale" == p[0]) { var m = new e.StiColorScaleCondition(a.decodeName(p[1]),s.parse(e.StiColorScaleType, a.decodeName(p[2])),l.convertStringToColor(p[3]),l.convertStringToColor(p[4]),l.convertStringToColor(p[5]),s.parse(e.StiMinimumType, a.decodeName(p[6])),p[7].stimulsoft.toNumber(),s.parse(e.StiMidType, a.decodeName(p[8])),p[9].stimulsoft.toNumber(),s.parse(e.StiMaximumType, a.decodeName(p[10])),p[11].stimulsoft.toNumber()); this.list.add(m); continue } if ("IconSet" == p[0]) { var m = new e.StiIconSetCondition(a.decodeName(p[1]),s.parse(e.StiIconSet, a.decodeName(p[2])),s.parse(t.System.Drawing.ContentAlignment, a.decodeName(p[3])),this.convertIconSetItemFromString(a.decodeName(p[4])),this.convertIconSetItemFromString(a.decodeName(p[5])),this.convertIconSetItemFromString(a.decodeName(p[6])),this.convertIconSetItemFromString(a.decodeName(p[7])),this.convertIconSetItemFromString(a.decodeName(p[8]))); this.list.add(m); continue } if (5 == p.length) { var m = new e.StiCondition(e.StiFilterItem.Value,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,a.decodeName(p[0]),l.convertStringToColor(p[1]),l.convertStringToColor(p[2]),t.System.Convert.toFont(a.decodeName(p[3])),"true" == p[4].toLowerCase()); this.list.add(m); continue } if (6 == p.length) { var m = new e.StiCondition(e.StiFilterItem.Value,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,a.decodeName(p[0]),l.convertStringToColor(p[1]),l.convertStringToColor(p[2]),t.System.Convert.toFont(a.decodeName(p[3])),"true" == p[4].toLowerCase(),"true" == p[5].toLowerCase(),""); this.list.add(m); continue } if (7 == p.length) { var m = new e.StiCondition(e.StiFilterItem.Value,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,a.decodeName(p[0]),l.convertStringToColor(p[1]),l.convertStringToColor(p[2]),t.System.Convert.toFont(a.decodeName(p[3])),"true" == p[4].toLowerCase(),"true" == p[5].toLowerCase(),a.decodeName(p[6])); this.list.add(m); continue } if (9 == p.length && this.isBorderSides(p[8])) { var m = new e.StiCondition(e.StiFilterItem.Expression,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,a.decodeName(p[0]),l.convertStringToColor(p[1]),l.convertStringToColor(p[2]),t.System.Convert.toFont(a.decodeName(p[3])),"true" == p[4].toLowerCase(),"true" == p[5].toLowerCase(),a.decodeName(p[6]),a.decodeName(p[7]),s.parse(e.StiConditionBorderSides, a.decodeName(p[8]))); m.breakIfTrue = c, this.list.add(m); continue } if (10 == p.length && this.isBorderSides(p[8])) { var m = new e.StiCondition(e.StiFilterItem.Expression,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,a.decodeName(p[0]),l.convertStringToColor(p[1]),l.convertStringToColor(p[2]),t.System.Convert.toFont(a.decodeName(p[3])),"true" == p[4].toLowerCase(),"true" == p[5].toLowerCase(),a.decodeName(p[6]),a.decodeName(p[7]),s.parse(e.StiConditionBorderSides, a.decodeName(p[8])),s.parse(e.StiConditionPermissions, a.decodeName(p[9]))); m.breakIfTrue = c, this.list.add(m); continue } var h = p[1]; if ("GreaterThen" == h && (h = "GreaterThan"), "GreaterThenOrEqualTo" == h && (h = "GreaterThanOrEqualTo"), "LessThen" == h && (h = "LessThan"), "LessThenOrEqualTo" == h && (h = "LessThanOrEqualTo"), 9 == p.length) { var m = new e.StiCondition(e.StiFilterItem.Value,a.decodeName(p[0]),s.parse(e.StiFilterCondition, h),a.decodeName(p[2]),a.decodeName(p[3]),s.parse(e.StiFilterDataType, p[4]),"",l.convertStringToColor(p[5]),l.convertStringToColor(p[6]),t.System.Convert.toFont(a.decodeName(p[7])),"true" == p[8].toLowerCase()); m.breakIfTrue = c, this.list.add(m); continue } if (11 == p.length) { var m = new e.StiCondition(e.StiFilterItem.Value,a.decodeName(p[0]),s.parse(e.StiFilterCondition, h),a.decodeName(p[2]),a.decodeName(p[3]),s.parse(e.StiFilterDataType, p[4]),"",l.convertStringToColor(p[5]),l.convertStringToColor(p[6]),t.System.Convert.toFont(a.decodeName(p[7])),"true" == p[8].toLowerCase(),"true" == p[9].toLowerCase(),a.decodeName(p[10])); m.breakIfTrue = c, this.list.add(m); continue } if (13 == p.length) { var m = new e.StiCondition(e.StiFilterItem.Value,a.decodeName(p[0]),s.parse(e.StiFilterCondition, h),a.decodeName(p[2]),a.decodeName(p[3]),s.parse(e.StiFilterDataType, p[4]),"",l.convertStringToColor(p[5]),l.convertStringToColor(p[6]),t.System.Convert.toFont(a.decodeName(p[7])),"true" == p[8].toLowerCase(),"true" == p[9].toLowerCase(),a.decodeName(p[10]),a.decodeName(p[11]),s.parse(e.StiConditionBorderSides, a.decodeName(p[12]))); m.breakIfTrue = c, this.list.add(m); continue } if (14 == p.length) { var m = new e.StiCondition(e.StiFilterItem.Value,a.decodeName(p[0]),s.parse(e.StiFilterCondition, h),a.decodeName(p[2]),a.decodeName(p[3]),s.parse(e.StiFilterDataType, p[4]),"",l.convertStringToColor(p[5]),l.convertStringToColor(p[6]),t.System.Convert.toFont(a.decodeName(p[7])),"true" == p[8].toLowerCase(),"true" == p[9].toLowerCase(),a.decodeName(p[10]),a.decodeName(p[11]),s.parse(e.StiConditionBorderSides, a.decodeName(p[12])),s.parse(e.StiConditionPermissions, a.decodeName(p[13]))); m.breakIfTrue = c, this.list.add(m); continue } } } } , c.prototype.clone = function() { var t, e, r = new c; 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 } , c.prototype.addRange = function(t, e) { var r, i, n, 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 = (n = void 0, __values(this.list)), c = u.next(); !c.done; c = u.next()) { var m = c.value; if (!m.stimulsoft.equals(l)) { this.add(l); break } } } catch (t) { n = { error: t } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (n) throw n.error } } else this.add(l) } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } } , c }(r); e.StiConditionsCollection = c }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.Base.Services.StiService , i = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._name = "", e } return __extends(r, t), r.prototype.memberwiseClone = function() { var e = t.prototype.memberwiseClone.call(this); return e._name = this._name, e } , Object.defineProperty(r.prototype, "name", { get: function() { return this.getName() }, set: function(t) { this.setName(t) }, enumerable: !0, configurable: !0 }), r.prototype.getName = function() { return this._name } , r.prototype.setName = function(t) { this._name = t } , r.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiName]) } , Object.defineProperty(r.prototype, "localizedName", { get: function() { return this.name }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedCategory", { get: function() { return this.name }, enumerable: !0, configurable: !0 }), r }(r); e.StiBase = i }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.ICloneable , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.StiJson , a = function() { function t(t) { void 0 === t && (t = ""), this._script = "", this.parent = null, "string" == typeof t ? this._script = t : this.parent = t } return t.prototype.implements = function() { return t.ImplementsStiEvent || (t.ImplementsStiEvent = [i, n]), t.ImplementsStiEvent } , t.prototype.saveToJsonObject = function(t) { if (r.isNullOrEmpty(this.script)) return null; var e = new o; return e.addPropertyStringNullOrEmpty("Script", this.script), e } , t.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.value; "Script" == o.name && (this.script = o.value.toString()) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(t.prototype, "propertyName", { get: function() { return this.toString() + "Event" }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.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: !0, configurable: !0 }), t.prototype.set = function(t, e) { this.parent = t, this.script = e } , t }(); e.StiEvent = a }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetToolTip" } , e }(t.StiEvent); t.StiGetToolTipEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetHyperlink" } , e }(t.StiEvent); t.StiGetHyperlinkEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetTag" } , e }(t.StiEvent); t.StiGetTagEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetBookmark" } , e }(t.StiEvent); t.StiGetBookmarkEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "BeforePrint" } , e }(t.StiEvent); t.StiBeforePrintEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "AfterPrint" } , e }(t.StiEvent); t.StiAfterPrintEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetDrillDownReport" } , e }(t.StiEvent); t.StiGetDrillDownReportEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Click" } , e }(t.StiEvent); t.StiClickEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "DoubleClick" } , e }(t.StiEvent); t.StiDoubleClickEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "MouseEnter" } , e }(t.StiEvent); t.StiMouseEnterEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "MouseLeave" } , e }(t.StiEvent); t.StiMouseLeaveEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiValueEventHandler = new r("sender: any, e: StiValueEventArgs"); var n = function(t) { function e(e) { void 0 === e && (e = null); var r = t.call(this) || this; return r.value = e, r } return __extends(e, t), e }(i); e.StiValueEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.EventHandler , o = t.Report.Events.StiValueEventHandler , a = t.Report.Events.StiGetToolTipEvent , s = t.Report.Events.StiGetHyperlinkEvent , l = t.Report.Events.StiGetTagEvent , u = t.Report.Events.StiGetBookmarkEvent , c = t.Report.Events.StiBeforePrintEvent , m = t.Report.Events.StiAfterPrintEvent , p = t.Report.Events.StiGetDrillDownReportEvent , h = t.Report.Events.StiClickEvent , d = t.Report.Events.StiDoubleClickEvent , g = t.Report.Events.StiMouseEnterEvent , f = t.Report.Events.StiMouseLeaveEvent , S = t.Report.Events.StiValueEventArgs , A = t.Report.Expressions.StiExpression , y = t.Base.Drawing.StiSolidBrush , w = t.Base.StiJsonSaveMode , b = t.Report.StiBase , v = t.System.Guid , C = t.Report.Components.StiConditionsCollection , E = t.System.Collections.Hashtable , B = t.Base.StiJson , T = t.Base.StiJsonReportObjectHelper , I = t.System.Drawing.Rectangle , x = t.System.Drawing.Size , F = t.Base.JsonReportObject.IStiJsonReportObject , D = t.System.ICloneable , R = t.System.Enum , P = t.Base.Drawing.StiGradientBrush , N = t.Base.Drawing.StiGlareBrush , k = t.Base.Drawing.StiHatchBrush , M = t.Base.Drawing.StiGlassBrush , O = t.Base.IStiReportComponent , _ = function() { function t(t, e, i, n, o, a, s, l, u) { this.bookmarkValue = null, this.toolTipValue = null, this.hyperlinkValue = null, this.tagValue = null, this.enabled = !0, this.highlightState = r.StiHighlightState.Hide, this.ignoreNamingRule = !1, this._dockStyle = r.StiDockStyle.None, this.printable = !0, this.bookmarkValue = t, this.toolTipValue = e, this.hyperlinkValue = i, this.tagValue = n, this.enabled = o, this.highlightState = a, this.ignoreNamingRule = s, this.dockStyle = l, this.printable = u } return t.prototype.implements = function() { return [D] } , t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(t.prototype, "dockStyle", { get: function() { return this.getDockStyle() }, set: function(t) { this.setDockStyle(t) }, enumerable: !0, configurable: !0 }), t.prototype.getDockStyle = function() { return this._dockStyle } , t.prototype.setDockStyle = function(t) { this._dockStyle = t } , t }() , L = function(b) { function D(t, e) { void 0 === t && (t = I.empty), void 0 === e && (e = !1); var i = b.call(this) || this; return i._infographicsDisplayRectangle = new I(0,0,0,0), i._isSelected = !1, i._states = null, i._shiftMode = r.StiShiftMode.IncreasingSize, i._guid = null, i._printOn = r.StiPrintOnType.AllPages, i._canShrink = !1, i._canGrow = !1, i._growToHeight = !1, i._anchor = r.StiAnchorMode.Left | r.StiAnchorMode.Top, i._conditions = null, i._isRendered = !1, i.disableCheckWidthHeight = !1, i.defaultClientRectangle = new I(0,0,60,20), i._alias = "", i.toolboxPosition = 0, i._componentPlacement = "", i._drillDownParameters = null, i.lockOnResize = !0, e || i.construct(t), i } return __extends(D, b), D.prototype.implements = function() { return D.ImplementsStiComponent || (D.ImplementsStiComponent = b.prototype.implements.call(this).concat([r.IStiComponentGuid, r.IStiCanGrow, r.IStiCanShrink, r.IStiUnitConvert, r.IStiShift, r.IStiGrowToHeight, r.IStiAnchor, r.IStiConditions, r.IStiPrintOn, e.IStiInherited, e.IStiStateSaveRestore, F, O, r.IStiComponent])), D.ImplementsStiComponent } , D.prototype.saveToJsonObject = function(t) { var e = new B; return e.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), e.addPropertyStringNullOrEmpty("Name", this.name), e.addPropertyEnum("ShiftMode", r.StiShiftMode, this.shiftMode, r.StiShiftMode.IncreasingSize), e.addPropertyStringNullOrEmpty("Guid", this.guid), e.addPropertyEnum("PrintOn", r.StiPrintOnType, this.printOn, r.StiPrintOnType.AllPages), e.addPropertyBool("CanShrink", this.canShrink), e.addPropertyBool("CanGrow", this.canGrow), e.addPropertyBool("GrowToHeight", this.growToHeight), e.addPropertyEnum("Anchor", r.StiAnchorMode, this.anchor, r.StiAnchorMode.Left | r.StiAnchorMode.Top), e.addPropertyBool("Inherited", this.inherited), e.addPropertyBool("Printable", this.printable, !0), e.addPropertyEnum("DockStyle", r.StiDockStyle, this.dockStyle, r.StiDockStyle.None), e.addPropertyString("MinSize", T.Serialize.sizeD(this.minSize), T.Serialize.sizeD(x.empty)), e.addPropertyString("MaxSize", T.Serialize.sizeD(this.maxSize), T.Serialize.sizeD(x.empty)), e.addPropertyStringNullOrEmpty("ClientRectangle", T.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", r.StiRestrictions, this.restrictions, r.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 == w.Report && (e.addPropertyJObject("Conditions", this.conditions.saveToJsonObject(t)), null != this.interaction && e.addPropertyJObject("Interaction", this.interaction.saveToJsonObject(t)), e.addPropertyJObject("Bookmark", new A(this.bookmark).saveToJsonObject(t)), e.addPropertyJObject("ToolTip", new A(this.toolTip).saveToJsonObject(t)), e.addPropertyJObject("Hyperlink", new A(this.hyperlink).saveToJsonObject(t)), e.addPropertyJObject("Tag", new A(this.tag).saveToJsonObject(t))), e } , D.prototype.loadFromJsonObject = function(t) { var e, i; try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var S = o.value; switch (S.name) { case "Name": this.name = S.value; break; case "ShiftMode": this._shiftMode = R.parse(r.StiShiftMode, S.value); break; case "Guid": this._guid = S.value; break; case "PrintOn": this._printOn = R.parse(r.StiPrintOnType, S.value); break; case "CanShrink": this._canShrink = S.value.stimulsoft.toBoolean(); break; case "CanGrow": this._canGrow = S.value.stimulsoft.toBoolean(); break; case "GrowToHeight": this._growToHeight = S.value.stimulsoft.toBoolean(); break; case "Anchor": this._anchor = R.parse(r.StiAnchorMode, S.value.toString()); break; case "Conditions": this.conditions.loadFromJsonObject(S.value); break; case "Inherited": this.inherited = S.value.stimulsoft.toBoolean(); break; case "Interaction": this.interaction = r.StiInteraction.loadInteractionFromJsonObject(S.value); break; case "Printable": this.printable = S.value.stimulsoft.toBoolean(); break; case "DockStyle": this.dockStyle = R.parse(r.StiDockStyle, S.value); break; case "MinSize": this.minSize = T.Deserialize.sizeD(S.value); break; case "MaxSize": this.maxSize = T.Deserialize.sizeD(S.value); break; case "ClientRectangle": this.clientRectangle = T.Deserialize.rectangleD(S.value); break; case "GetToolTipEvent": var y = new a; y.loadFromJsonObject(S.value), this.getToolTipEvent = y; break; case "GetHyperlinkEvent": var y = new s; y.loadFromJsonObject(S.value), this.getHyperlinkEvent = y; break; case "GetTagEvent": var y = new l; y.loadFromJsonObject(S.value), this.getTagEvent = y; break; case "GetBookmarkEvent": var y = new u; y.loadFromJsonObject(S.value), this.getBookmarkEvent = y; break; case "BeforePrintEvent": var y = new c; y.loadFromJsonObject(S.value), this.beforePrintEvent = y; break; case "AfterPrintEvent": var y = new m; y.loadFromJsonObject(S.value), this.afterPrintEvent = y; break; case "GetDrillDownReportEvent": var y = new p; y.loadFromJsonObject(S.value), this.getDrillDownReportEvent = y; break; case "ClickEvent": var y = new h; y.loadFromJsonObject(S.value), this.clickEvent = y; break; case "DoubleClickEvent": var y = new d; y.loadFromJsonObject(S.value), this.doubleClickEvent = y; break; case "MouseEnterEvent": var y = new g; y.loadFromJsonObject(S.value), this.mouseEnterEvent = y; break; case "MouseLeaveEvent": var y = new f; y.loadFromJsonObject(S.value), this.mouseLeaveEvent = y; break; case "Bookmark": var w = new A; w.loadFromJsonObject(S.value), this.bookmark = w.value; break; case "ToolTip": var w = new A; w.loadFromJsonObject(S.value), this.toolTip = w.value; break; case "Hyperlink": var w = new A; w.loadFromJsonObject(S.value), this.hyperlink = w.value; break; case "Tag": var w = new A; w.loadFromJsonObject(S.value), this.tag = w.value; break; case "Alias": this._alias = S.value; break; case "Restrictions": this.restrictions = R.parse(r.StiRestrictions, S.value); break; case "ComponentPlacement": this._componentPlacement = S.value; break; case "ComponentStyle": this.componentStyle = S.value; break; case "Locked": this.locked = S.value.stimulsoft.toBoolean(); break; case "Linked": this.linked = S.value.stimulsoft.toBoolean(); break; case "Enabled": this.enabled = S.value.stimulsoft.toBoolean(); break; case "UseParentStyles": this.useParentStyles = S.value.stimulsoft.toBoolean(); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , D.prototype.loadRectangleDFromXml = function(t) { var e = t.split(","); return new I(e[0].stimulsoft.toNumber(),e[1].stimulsoft.toNumber(),e[2].stimulsoft.toNumber(),e[3].stimulsoft.toNumber()) } , D.prototype.loadFromXml = function(t, e) { for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; if ("#text" == n.nodeName) continue; switch (n.nodeName) { case "Name": this.name = n.textContent; break; case "ShiftMode": this._shiftMode = R.parse(r.StiShiftMode, n.textContent); break; case "Guid": this._guid = n.textContent; break; case "PrintOn": this._printOn = R.parse(r.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 = R.parse(r.StiAnchorMode, n.textContent.toString()); break; case "Conditions": this.conditions.loadFromXml(n); break; case "Inherited": this.inherited = n.textContent.stimulsoft.toBoolean(); break; case "Interaction": this.interaction = r.StiInteraction.loadInteractionFromXml(n); break; case "Printable": this.printable = n.textContent.stimulsoft.toBoolean(); break; case "DockStyle": this.dockStyle = R.parse(r.StiDockStyle, n.textContent); break; case "MinSize": this.minSize = x.convertFromXml(n.textContent); break; case "MaxSize": this.maxSize = x.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": var o = new c; o.script = n.textContent, this.beforePrintEvent = o; break; case "AfterPrintEvent": var o = new m; o.script = n.textContent, this.afterPrintEvent = o; 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 = R.parse(r.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(D.prototype, "componentId", { get: function() { return e.StiComponentId.StiComponent }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "infographicsDisplayRectangle", { get: function() { return this._infographicsDisplayRectangle }, set: function(t) { this._infographicsDisplayRectangle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isSelected", { get: function() { return this._isSelected }, set: function(t) { this._isSelected = t }, enumerable: !0, configurable: !0 }), D.prototype.select = function() { this.isSelected = !0 } , D.prototype.invert = function() { this.isSelected = !this.isSelected } , D.prototype.reset = function() { this._isSelected = !1 } , D.prototype.getApp = function() { return this.report } , D.prototype.getKey = function() { return i.isNullOrWhiteSpace(this.guid) && this.newGuid(), this.guid } , D.prototype.setKey = function(t) { this.guid = t } , D.prototype.getReport = function() { return this.report } , D.prototype.saveState = function(t) {} , D.prototype.restoreState = function(t) {} , Object.defineProperty(D.prototype, "states", { get: function() { return this.getStates() }, enumerable: !0, configurable: !0 }), D.prototype.getStates = function() { return null == this._states && (this._states = new e.StiStatesManager), this._states } , D.prototype.clearAllStates = function() {} , Object.defineProperty(D.prototype, "shift", { get: function() { return this.getShift() }, set: function(t) { this.shiftMode = r.StiShiftMode.IncreasingSize }, enumerable: !0, configurable: !0 }), D.prototype.getShift = function() { return this.shiftMode == r.StiShiftMode.IncreasingSize } , Object.defineProperty(D.prototype, "shiftMode", { get: function() { return this._shiftMode }, set: function(t) { this._shiftMode = t, t != r.StiShiftMode.None && (this.anchor = r.StiAnchorMode.Left | r.StiAnchorMode.Top) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "guid", { get: function() { return this._guid }, set: function(t) { this._guid = t }, enumerable: !0, configurable: !0 }), D.prototype.newGuid = function() { this.guid = v.newGuid().toString().stimulsoft.replaceAll("-", "") } , Object.defineProperty(D.prototype, "printOn", { get: function() { return this._printOn }, set: function(t) { this._printOn = t }, enumerable: !0, configurable: !0 }), D.prototype.clone = function(t, e) { void 0 === t && (t = !0); var r = b.prototype.clone.call(this); return null != this._conditions ? r._conditions = this._conditions.clone() : r._conditions = null, null != this._interaction ? r._interaction = this._interaction.clone() : r._interaction = null, null != r._interaction && (r._interaction.parentComponent = r), t && (r.properties = this.properties.clone()), null != this.bits && (r.bits = this.bits.clone()), r } , D.prototype.memberwiseClone = function() { var t = b.prototype.memberwiseClone.call(this); 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 } , D.prototype.convert = function(t, e, r) { void 0 === r && (r = !1), this.disableCheckWidthHeight = !0; var i = this.right , n = 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(i)), 2) - this.left, this.height = Math.round2(e.convertFromHInches(t.convertToHInches(n)), 2) - this.top, this.disableCheckWidthHeight = !1, r || (this.minSize = e.convertFromHInches(t.convertToHInches(this.minSize)), this.maxSize = e.convertFromHInches(t.convertToHInches(this.maxSize))) } , Object.defineProperty(D.prototype, "canShrink", { get: function() { return this.getCanShrink() }, set: function(t) { this._canShrink = t }, enumerable: !0, configurable: !0 }), D.prototype.getCanShrink = function() { return this._canShrink } , Object.defineProperty(D.prototype, "canGrow", { get: function() { return this.getCanGrow() }, set: function(t) { this.setCanGrow(t) }, enumerable: !0, configurable: !0 }), D.prototype.getCanGrow = function() { return this._canGrow } , D.prototype.setCanGrow = function(t) { this._canGrow = t } , Object.defineProperty(D.prototype, "growToHeight", { get: function() { return this.getGrowToHeight() }, set: function(t) { this._growToHeight = t, t && (this.anchor = r.StiAnchorMode.Left | r.StiAnchorMode.Top) }, enumerable: !0, configurable: !0 }), D.prototype.getGrowToHeight = function() { return this._growToHeight } , Object.defineProperty(D.prototype, "anchor", { get: function() { return this._anchor }, set: function(t) { this._anchor = t, this._anchor != (r.StiAnchorMode.Left | r.StiAnchorMode.Top) && (this.growToHeight = !1, this.shiftMode = r.StiShiftMode.None) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "conditions", { get: function() { return this.getConditions() }, set: function(t) { this.setConditions(t) }, enumerable: !0, configurable: !0 }), D.prototype.getConditions = function() { return null == this._conditions && (this._conditions = new C), this._conditions } , D.prototype.setConditions = function(t) { this._conditions = t } , Object.defineProperty(D.prototype, "inherited", { get: function() { return this.properties.getBool(D.propertyInherited, !1) }, set: function(t) { this.properties.setBool(D.propertyInherited, t, !1) }, enumerable: !0, configurable: !0 }), D.prototype.getActualSize = function() { return new x(this.width,this.height) } , Object.defineProperty(D.prototype, "report", { get: function() { if (null != this.page) return this.page.report; return null }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "interaction", { get: function() { return this._interaction }, set: function(t) { this._interaction != t && (this._interaction = t, null != t && (this._interaction.parentComponent = this)) }, enumerable: !0, configurable: !0 }), D.prototype.doBookmark = function() { this.doGetBookmark() } , D.prototype.doGetBookmark = function() { var r = !0 , i = R.getName(e.StiCalculationMode, this.report.calculationMode); if (null != this.report && (r = this.report.calculationMode == e.StiCalculationMode.Compilation), r && null != this.events.get(D.eventGetBookmark) || !r && null == this.bookmarkValue && this.bookmark.length > 0) { var n = new S; if (r) this.invokeGetBookmark(this, n); else { var o = t.Report.Engine.StiParser.StiParser.parseTextValue(this.bookmark, this); n.value = this.report.toString2(o) } if (n.value.stimulsoft.is(String) && n.value.length > 0) { this.newGuid(); var a = n.value; if (a.length > 2 && "%" == a[0]) { var s = a.substr(0, 1) , l = a[1]; a = a.substr(2); for (var u = a.split(l), c = this.report.bookmark, m = 0; m < u.length; m++) { var p = u[m]; s += l + p, c = t.Report.Engine.StiBookmarksHelper.getBookmark(c, p), m == u.length - 1 && (c.componentGuid = this.guid) } this.currentBookmark = c } else this.currentBookmark = t.Report.Engine.StiBookmarksHelper.createBookmark(a, this.guid), null != this.parentBookmark && this.parentBookmark.bookmarks.add(this.currentBookmark) } else this.currentBookmark = this.parentBookmark } else this.currentBookmark = this.parentBookmark } , Object.defineProperty(D.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 _(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isRendered", { get: function() { return this._isRendered }, set: function(t) { this._isRendered = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "renderedCount", { get: function() { return this.properties.getNumber(D.propertyRenderedCount, 0) }, set: function(t) { this.properties.setNumber(D.propertyRenderedCount, t, 0) }, enumerable: !0, configurable: !0 }), D.prototype.allowPrintOn = function() { if (this.printOn == r.StiPrintOnType.AllPages) return !0; if (null != this.report) { var t = this.report.pageNumber , i = this.report.totalPageCount; if (!StiOptions.Engine.useAdvancedPrint) { if ((this.printOn & r.StiPrintOnType.ExceptFirstPage) > 0 && 1 == t) return !1; if (this.printOn == r.StiPrintOnType.OnlyFirstPage && t > 1) return !1; return !0 } if ((this.page.segmentPerWidth > 1 || this.page.segmentPerHeight > 1) && (t += this.page.segmentPerWidth * this.page.segmentPerHeight - 1), this.report.reportPass == e.StiReportPass.First) { if ((this.printOn & r.StiPrintOnType.OnlyLastPage) > 0) return !1; if ((this.printOn & r.StiPrintOnType.ExceptLastPage) > 0) return !0 } if ((this.printOn & r.StiPrintOnType.ExceptFirstPage) > 0 && 1 == t) return !1; if (this.printOn == r.StiPrintOnType.OnlyFirstAndLastPage) return !(t > 1 && t < i); if ((this.printOn & r.StiPrintOnType.OnlyFirstPage) > 0 && t > 1) return !1; if ((this.printOn & r.StiPrintOnType.OnlyLastPage) > 0 && t < i) return !1; if ((this.printOn & r.StiPrintOnType.ExceptLastPage) > 0 && t == i) return !1; return !0 } return !0 } , Object.defineProperty(D.prototype, "isEnabled", { get: function() { return this.enabled && this.allowPrintOn() }, enumerable: !0, configurable: !0 }), D.prototype.prepare = function() { t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()).prepare(this) } , D.prototype.unPrepare = function() { t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()).unPrepare(this) } , D.prototype.setReportVariables = function() { t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()).setReportVariables(this) } , D.prototype.internalRenderAsync = function() { return __awaiter(this, void 0, void 0, function() { var e; return __generator(this, function(r) { switch (r.label) { case 0: return e = t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()), [4, e.internalRenderAsync(this)]; case 1: return [2, r.sent()] } }) }) } , D.prototype.internalRender = function() { return t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()).internalRender(this) } , D.prototype.renderAsync = function() { return __awaiter(this, void 0, void 0, function() { var e; return __generator(this, function(r) { switch (r.label) { case 0: return e = t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()), [4, e.renderAsync(this)]; case 1: return [2, r.sent()] } }) }) } , D.prototype.render = function() { return t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()).render(this) } , D.prototype.paint = function(t) {} , Object.defineProperty(D.prototype, "dockStyle", { get: function() { return this.getDockStyle() }, set: function(t) { if (t == r.StiDockStyle.None && null == this.bits) return; null != this.bits ? this.bits.dockStyle = t : this.bits = new _(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,t,this.printable) }, enumerable: !0, configurable: !0 }), D.prototype.getDockStyle = function() { return null == this.bits ? r.StiDockStyle.None : this.bits.dockStyle } , Object.defineProperty(D.prototype, "isAutomaticDock", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), D.prototype.getDockRegion = function(t, e) { var i, n; if (void 0 === e && (e = !0), null != t) { var o = t.clientRectangle , a = t; this.componentType != r.StiComponentType.Static && null != a && a.columns > 1 && e && (o.width = a.getColumnWidth()); var s = t; this.componentType != r.StiComponentType.Static && null != s && s.columns > 1 && e && (o.width = s.getColumnWidth()), t.isSelected && (o = D.doOffsetRect(t, o, t.page.offsetRectangle)), o.x = 0, o.y = 0; var l = t; try { for (var u = __values(l.components.list), c = u.next(); !c.done; c = u.next()) { var m = c.value; if (m.dockable && (this.isDesigning || m.enabled)) { if (m == this) break; var p = m.displayRectangle; switch (m.dockStyle) { case r.StiDockStyle.Left: o.x += p.width, o.width -= p.width; break; case r.StiDockStyle.Right: o.width -= p.width; break; case r.StiDockStyle.Top: o.y += p.height, o.height -= p.height; break; case r.StiDockStyle.Bottom: o.height -= p.height; break } } } } catch (t) { i = { error: t } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (i) throw i.error } } return o } return this.clientRectangle } , D.prototype.dockToContainer = function() { var t, e; this.dockStyle != r.StiDockStyle.None && this.dockable && (this.isDesigning || this.enabled) && (this.isCross ? this.clientRectangle = this.dockToContainer2(this.clientRectangle) : this.displayRectangle = this.dockToContainer2(this.displayRectangle)); var i = this.stimulsoft.as(r.StiContainer); if (null != i) try { for (var n = __values(i.components.list), o = n.next(); !o.done; o = n.next()) { o.value.dockToContainer() } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } } , D.prototype.dockToContainer2 = function(t) { if (null != this.parent && this.dockStyle != r.StiDockStyle.None && this.dockable) { var e = void 0; switch (e = this.getDockRegion(this.parent), 1e11 == this.parent.height && this.dockStyle != r.StiDockStyle.Top && (e.y = 0, e.height = t.height), this.dockStyle) { case r.StiDockStyle.Left: t.x = e.x, t.y = e.y, t.height = e.height; break; case r.StiDockStyle.Right: t.x = e.right - t.width, t.y = e.y, t.height = e.height; break; case r.StiDockStyle.Top: t.x = e.x, t.y = e.y, t.width = e.width; break; case r.StiDockStyle.Bottom: t.x = e.x, t.y = e.bottom - t.height, t.width = e.width; break; case r.StiDockStyle.Fill: t.x = e.x, t.y = e.y, t.width = e.width, t.height = e.height; break } } return t } , D.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 } , D.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(D.prototype, "minSize", { get: function() { return this.getMinSize() }, set: function(t) { this.setMinSize(t) }, enumerable: !0, configurable: !0 }), D.prototype.getMinSize = function() { return this.properties.get(D.propertyMinSize, x.empty) } , D.prototype.setMinSize = function(t) { var e = this.minSize; e.width == t.width && e.height == t.height || (this.properties.set(D.propertyMinSize, t, x.empty), this._width = this.checkWidth(this._width), this._height = this.checkHeight(this._height)) } , Object.defineProperty(D.prototype, "maxSize", { get: function() { return this.getMaxSize() }, set: function(t) { this.setMaxSize(t) }, enumerable: !0, configurable: !0 }), D.prototype.getMaxSize = function() { return this.properties.get(D.propertyMaxSize, x.empty) } , D.prototype.setMaxSize = function(t) { var e = this.maxSize; e.width == t.width && e.height == t.height || (this.properties.set(D.propertyMaxSize, t, x.empty), this._width = this.checkWidth(this._width), this._height = this.checkHeight(this._height)) } , Object.defineProperty(D.prototype, "left", { get: function() { return this.getLeft() }, set: function(t) { this.setLeft(t) }, enumerable: !0, configurable: !0 }), D.prototype.getLeft = function() { return this._left } , D.prototype.setLeft = function(t) { this._left = Math.round2(t, 2) } , Object.defineProperty(D.prototype, "top", { get: function() { return this.getTop() }, set: function(t) { this.setTop(t) }, enumerable: !0, configurable: !0 }), D.prototype.getTop = function() { return this._top } , D.prototype.setTop = function(t) { this._top = Math.round2(t, 2) } , Object.defineProperty(D.prototype, "width", { get: function() { return this.getWidth() }, set: function(t) { this.setWidth(t) }, enumerable: !0, configurable: !0 }), D.prototype.getWidth = function() { return this._width } , D.prototype.setWidth = function(t) { var e = this._width; this._width = this.checkWidth(Math.round2(t, 2)), this._width != e && this.invokeOnResizeComponent(new x(e,this._height), new x(this._width,this._height)) } , Object.defineProperty(D.prototype, "height", { get: function() { return this.getHeight() }, set: function(t) { this.setHeight(t) }, enumerable: !0, configurable: !0 }), D.prototype.getHeight = function() { return this._height } , D.prototype.setHeight = function(t) { var e = this._height; this._height = this.checkHeight(Math.round2(t, 2)), this._height != e && this.invokeOnResizeComponent(new x(this._width,e), new x(this._width,this._height)) } , Object.defineProperty(D.prototype, "right", { get: function() { return this.left + this.width }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "bottom", { get: function() { return this.top + this.height }, enumerable: !0, configurable: !0 }), D.prototype.getBottom = function() { return this.bottom } , Object.defineProperty(D.prototype, "clientRectangle", { get: function() { return new I(this.left,this.top,this.width,this.height) }, set: function(t) { this.setClientRectangle(t) }, enumerable: !0, configurable: !0 }), D.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 x(e,r), new x(this._width,this._height)) } , Object.defineProperty(D.prototype, "displayRectangle", { get: function() { return this.getDisplayRectangle() }, set: function(t) { this.setDisplayRectangle(t) }, enumerable: !0, configurable: !0 }), D.prototype.getDisplayRectangle = function() { return new I(this.left,this.top,this.width,this.height) } , D.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 x(e,r), new x(this._width,this._height)) } , D.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 x(e,r), new x(this._width,this._height)) } , Object.defineProperty(D.prototype, "selectRectangle", { get: function() { return this.displayRectangle }, set: function(t) { this.displayRectangle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "parentBookmark", { get: function() { return this._parentBookmark }, set: function(t) { this._parentBookmark = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "currentBookmark", { get: function() { return this._currentBookmark }, set: function(t) { this._currentBookmark = t }, enumerable: !0, configurable: !0 }), D.prototype.invokeEvents = function() { try { var r = t.Report.Engine.StiParser.StiParser , n = !0; if (null != this.report && (n = this.report.calculationMode == e.StiCalculationMode.Compilation), n) { if (null != this.events.get(D.eventGetBookmark) && null == this.bookmarkValue) { var o = new S; this.invokeGetBookmark(this, o), this.bookmarkValue = o.value } } else { if (null == this.bookmarkValue && this.bookmark.length > 0) { var a = r.parseTextValue(this.bookmark, this); this.bookmarkValue = this.report.toString2(a) } if (null != this.events.get(D.eventGetBookmark) && null == this.bookmarkValue) { var o = new S; this.invokeGetBookmark(this, o), this.bookmarkValue = o.value } } if (n) { if (null != this.events.get(D.eventGetTag) && null == this.tagValue) { var s = new S; this.invokeGetTag(this, s), this.tagValue = s.value } } else { if (null == this.tagValue && this.tag.length > 0) { var a = r.parseTextValue(this.tag, this); this.tagValue = this.report.toString2(a) } if (null != this.events.get(D.eventGetTag) && null == this.tagValue) { var s = new S; this.invokeGetTag(this, s), this.tagValue = s.value } } if (n) { if (null != this.events.get(D.eventGetToolTip) && null == this.toolTipValue) { var l = new S; this.invokeGetToolTip(this, l), this.toolTipValue = l.value } } else { if (null == this.toolTipValue && this.toolTip.length > 0) { var a = r.parseTextValue(this.toolTip, this); this.toolTipValue = this.report.toString2(a) } if (null != this.events.get(D.eventGetToolTip) && null == this.toolTipValue) { var l = new S; this.invokeGetToolTip(this, l), this.toolTipValue = l.value } } if (n) { if (null != this.events.get(D.eventGetHyperlink) && null == this.hyperlinkValue) { var u = new S; this.invokeGetHyperlink(this, u), this.hyperlinkValue = u.value } } else { if (null == this.hyperlinkValue && this.hyperlink.length > 0) { var a = r.parseTextValue(this.hyperlink, this); this.hyperlinkValue = this.report.toString2(a) } if (null != this.events.get(D.eventGetHyperlink) && null == this.hyperlinkValue) { var u = new S; this.invokeGetHyperlink(this, u), this.hyperlinkValue = u.value } } } catch (e) { var c = i.format("'{0}'.Events error: {1}", this.name, e.message); t.System.StiError.showError(c, !1), this.report.writeToReportRenderingMessages(c) } } , Object.defineProperty(D.prototype, "isGetToolTipHandlerEmpty", { get: function() { return null == this.events.get(D.eventGetToolTip) }, enumerable: !0, configurable: !0 }), D.prototype.onGetToolTip = function() {} , D.prototype.invokeGetToolTip = function(t, e) { this.onGetToolTip(); var r = this.events.get(D.eventGetToolTip); if (null != r) try { r(t, e) } catch (e) {} } , Object.defineProperty(D.prototype, "getToolTipEvent", { get: function() { return new a(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(D.eventGetToolTip, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isGetHyperlinkHandlerEmpty", { get: function() { return null == this.events.get(D.eventGetHyperlink) }, enumerable: !0, configurable: !0 }), D.prototype.onGetHyperlink = function(t) {} , D.prototype.invokeGetHyperlink = function(t, e) { try { this.onGetHyperlink(e); var r = this.events.get(D.eventGetHyperlink); null != r && r(t, e) } catch (t) {} } , Object.defineProperty(D.prototype, "getHyperlinkEvent", { get: function() { return new s(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(D.eventGetHyperlink, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isGetTagHandlerEmpty", { get: function() { return null == this.events.get(D.eventGetTag) }, enumerable: !0, configurable: !0 }), D.prototype.onGetTag = function(t) {} , D.prototype.invokeGetTag = function(t, e) { try { this.onGetTag(e); var r = this.events.get(D.eventGetTag); null != r && r(t, e) } catch (t) {} } , Object.defineProperty(D.prototype, "getTagEvent", { get: function() { return new l(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(D.eventGetTag, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isGetBookmarkHandlerEmpty", { get: function() { return null == this.events.get(D.eventGetBookmark) }, enumerable: !0, configurable: !0 }), D.prototype.onGetBookmark = function() {} , D.prototype.invokeGetBookmark = function(t, e) { this.onGetBookmark(); var r = this.events.get(D.eventGetBookmark); null != r && r(t) } , Object.defineProperty(D.prototype, "getBookmarkEvent", { get: function() { return new u(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(D.eventGetBookmark, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), D.prototype.onBeforePrint = function(t) {} , D.prototype.invokeBeforePrint = function(r, n) { try { this.onBeforePrint(n); var o = !0; if (null != this.report && (o = this.report.calculationMode == e.StiCalculationMode.Compilation), o) { var a = this.events.get(D.eventBeforePrint); if (null != a) try { a(r, n) } catch (n) {} } else { var a = this.events.get(D.eventBeforePrint); if (null != a) try { a(r, n) } catch (n) {} if (null != this.report && null != this.report.engine) { var s = this.report.engine.parserConversionStore.get("*StiConditionExpression*" + this.name); null == s || this.stimulsoft.is(t.Report.CrossTab.StiCrossCell) || this.applyConditions(r, s) } if (null != this.interaction) { var l = r; l.drillDownParameters = [], this.interaction.drillDownParameter1.isDefault() || l.drillDownParameters.add({ name: this.interaction.drillDownParameter1.name, value: t.Report.Engine.StiParser.StiParser.parseTextValue("{" + this.interaction.drillDownParameter1.expression.value + "}", this, r) }), this.interaction.drillDownParameter2.isDefault() || l.drillDownParameters.add({ name: this.interaction.drillDownParameter2.name, value: t.Report.Engine.StiParser.StiParser.parseTextValue("{" + this.interaction.drillDownParameter2.expression.value + "}", this, r) }), this.interaction.drillDownParameter3.isDefault() || l.drillDownParameters.add({ name: this.interaction.drillDownParameter3.name, value: t.Report.Engine.StiParser.StiParser.parseTextValue("{" + this.interaction.drillDownParameter3.expression.value + "}", this, r) }), this.interaction.drillDownParameter4.isDefault() || l.drillDownParameters.add({ name: this.interaction.drillDownParameter4.name, value: t.Report.Engine.StiParser.StiParser.parseTextValue("{" + this.interaction.drillDownParameter4.expression.value + "}", this, r) }), this.interaction.drillDownParameter5.isDefault() || l.drillDownParameters.add({ name: this.interaction.drillDownParameter5.name, value: t.Report.Engine.StiParser.StiParser.parseTextValue("{" + this.interaction.drillDownParameter5.expression.value + "}", this, r) }) } } } catch (n) { var u = i.format("{0}.BeforePrint event error: {1}", this.name, n.message); t.System.StiError.showError(u, !1) } } , D.prototype.applyConditions = function(e, n) { var o, a; if (null == n) return; try { for (var s = __values(n), l = s.next(); !l.done; l = s.next()) { var u = l.value; try { var c = t.Report.Engine.StiParser.StiParser.parseTextValue(u.value, this, e); if (null != c && c.stimulsoft.is(Boolean) && c.stimulsoft.toBoolean()) { var m = u.key; if (i.isNullOrEmpty(m.style)) { var p = e.stimulsoft.as(r.IStiBrush); null != p && (m.permissions & r.StiConditionPermissions.BackColor) > 0 && (p.brush = new y(m.backColor), e.stimulsoft.is("StiCrossField") && (e.stimulsoft.as("StiCrossField").conditionBrush = new y(m.backColor))); var h = e.stimulsoft.as(r.IStiBorder); null != h && (m.permissions & r.StiConditionPermissions.Borders) > 0 && 0 == (m.borderSides & r.StiConditionBorderSides.NotAssigned) && (h.border = h.border.clone(), h.border.side = m.borderSides); var d = e.stimulsoft.as(r.IStiTextBrush); null != d && (m.permissions & r.StiConditionPermissions.TextColor) > 0 && (d.textBrush = new y(m.textColor), e.stimulsoft.is("StiCrossField") && (e.stimulsoft.as("StiCrossField").conditionTextBrush = new y(m.textColor))); null != e.stimulsoft.as(r.IStiFont) && r.StiConditionHelper.applyFont(e, m.font, m.permissions) } else t.Report.Components.StiConditionHelper.apply(e, m.style); if (null != m.icon && e.stimulsoft.is(r.StiText) && (e.stimulsoft.as(r.StiText).indicator = new r.StiIconSetIndicator(r.StiIcon.None,m.iconAlignment,m.icon,m.iconSize)), e.stimulsoft.is("StiCrossField") && (e.stimulsoft.as("StiCrossField").conditionPermissions |= m.permissions), e.enabled = m.enabled, m.breakIfTrue) break } } catch (t) {} } } catch (t) { o = { error: t } } finally { try { l && !l.done && (a = s.return) && a.call(s) } finally { if (o) throw o.error } } } , Object.defineProperty(D.prototype, "beforePrintEvent", { get: function() { return new c(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(D.eventBeforePrint, n.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), D.prototype.onAfterPrint = function(t) {} , D.prototype.invokeAfterPrint = function(t, e) { this.onAfterPrint(e); var r = this.events.get(D.eventAfterPrint); if (null != r) try { r(t, e) } catch (e) {} } , Object.defineProperty(D.prototype, "afterPrintEvent", { get: function() { return new m(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(D.eventAfterPrint, n.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), D.prototype.onGetDrillDownReport = function(t) {} , D.prototype.invokeGetDrillDownReport = function(t, e) { this.onGetDrillDownReport(e); var r = this.events.get(D.eventGetDrillDownReport); if (null != r) try { r(t, e) } catch (e) {} } , Object.defineProperty(D.prototype, "getDrillDownReportEvent", { get: function() { return new p(this) }, set: function(e) { null != e && e.set(this, e.script), this.events.set(D.eventGetDrillDownReport, t.Report.Events.StiGetDrillDownReportEventHandler.create(e.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isClickHandlerEmpty", { get: function() { return null == this.events.get(D.eventClick) }, enumerable: !0, configurable: !0 }), D.prototype.onClick = function(t) {} , D.prototype.invokeClick = function(t, e) { this.onClick(e) } , Object.defineProperty(D.prototype, "clickEvent", { get: function() { return new h(this) }, set: function(t) { null != t && t.set(this, t.script) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isDoubleClickHandlerEmpty", { get: function() { return null == this.events.get(D.eventDoubleClick) }, enumerable: !0, configurable: !0 }), D.prototype.onDoubleClick = function(t) {} , D.prototype.invokeDoubleClick = function(t, e) { this.onDoubleClick(e) } , Object.defineProperty(D.prototype, "doubleClickEvent", { get: function() { return new d(this) }, set: function(t) { null != t && t.set(this, t.script) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isMouseEnterHandlerEmpty", { get: function() { return null == this.events.get(D.eventMouseEnter) }, enumerable: !0, configurable: !0 }), D.prototype.onMouseEnter = function(t) {} , D.prototype.invokeMouseEnter = function(t, e) { this.onMouseEnter(e) } , Object.defineProperty(D.prototype, "mouseEnterEvent", { get: function() { return new g(this) }, set: function(t) { null != t && t.set(this, t.script) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isMouseLeaveHandlerEmpty", { get: function() { return null == this.events.get(D.eventMouseLeave) }, enumerable: !0, configurable: !0 }), D.prototype.onMouseLeave = function(t) {} , D.prototype.invokeMouseLeave = function(t, e) { this.onMouseLeave(e) } , Object.defineProperty(D.prototype, "mouseLeaveEvent", { get: function() { return new f(this) }, set: function(t) { null != t && t.set(this, t.script) }, enumerable: !0, configurable: !0 }), D.prototype.onPainting = function(t) {} , D.prototype.invokePainting = function(t, e) { this.onPainting(e) } , D.prototype.onPainted = function(t) {} , D.prototype.invokePainted = function(t, e) { this.onPainted(e) } , Object.defineProperty(D.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 _(t,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "bookmark", { get: function() { return this.properties.get("Bookmark", "") }, set: function(t) { null != t && this.properties.set("Bookmark", t, "") }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.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 _(this.bookmarkValue,t,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "toolTip", { get: function() { return this.properties.get("ToolTip", "") }, set: function(t) { null != t && this.properties.set("ToolTip", t, "") }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.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 _(this.bookmarkValue,this.toolTipValue,t,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "hyperlink", { get: function() { return this.properties.get("Hyperlink", "") }, set: function(t) { null != t && this.properties.set("Hyperlink", t, "") }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.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 _(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,t,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "tag", { get: function() { return this.properties.get("Tag", "") }, set: function(t) { null != t && this.properties.set("Tag", t, "") }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "alias", { get: function() { return this._alias }, set: function(t) { this._alias = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "events", { get: function() { return null == this._events && (this._events = new E), this._events }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "restrictions", { get: function() { return this.getRestrictions() }, set: function(t) { this.setRestrictions(t) }, enumerable: !0, configurable: !0 }), D.prototype.getRestrictions = function() { return this.properties.get(D.propertyRestrictions, r.StiRestrictions.All) } , D.prototype.setRestrictions = function(t) { this.properties.set(D.propertyRestrictions, t, r.StiRestrictions.All) } , Object.defineProperty(D.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 _(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,t,this.dockStyle,this.printable) }, enumerable: !0, configurable: !0 }), D.prototype.setName = function(t) { this.ignoreNamingRule || null == this.report ? b.prototype.setName.call(this, t) : b.prototype.setName.call(this, e.StiNameValidator.correctName(t)) } , Object.defineProperty(D.prototype, "placeOnToolbox", { get: function() { return this.properties.getBool(D.propertyPlaceOnToolbox, !1) }, set: function(t) { this.properties.setBool(D.propertyPlaceOnToolbox, t, !1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isPrinting", { get: function() { if (null != this.report) return this.report.isPrinting; return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isExporting", { get: function() { if (null != this.report) return this.report.isExporting; return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "isDesigning", { get: function() { if (null != this.report) return this.report.isDesigning; return !1 }, enumerable: !0, configurable: !0 }), D.prototype.allowDelete = function() { return !this.inherited } , Object.defineProperty(D.prototype, "priority", { get: function() { return r.StiComponentPriority.Component }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "componentType", { get: function() { return r.StiComponentType.Simple }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "dockable", { get: function() { return this.properties.getBool(D.propertyDockable, !0) }, set: function(t) { this.properties.setBool(D.propertyDockable, t, !0) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "highlightState", { get: function() { return null == this.bits ? r.StiHighlightState.Hide : this.bits.highlightState }, set: function(t) { if (t == r.StiHighlightState.Hide && null == this.bits) return; null != this.bits ? this.bits.highlightState = t : this.bits = new _(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,t,this.ignoreNamingRule,this.dockStyle,this.printable) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "componentPlacement", { get: function() { return this._componentPlacement }, set: function(t) { this._componentPlacement = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "drillDownParameters", { get: function() { return this._drillDownParameters }, set: function(t) { this._drillDownParameters != t && (this._drillDownParameters = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "componentStyle", { get: function() { return this.getComponentStyle() }, set: function(t) { this.setComponentStyle(t) }, enumerable: !0, configurable: !0 }), D.prototype.getComponentStyle = function() { return this.properties.get(D.propertyComponentStyle, "") } , D.prototype.setComponentStyle = function(t) { if (this.properties.set(D.propertyComponentStyle, t, ""), null != this.report && null != t) { var e = this.report.styles.getByName(t); null != e && e.setStyleToComponent(this) } this.stimulsoft.is(r.StiContainer) && this.stimulsoft.as(r.StiContainer).setParentStylesToChilds() } , Object.defineProperty(D.prototype, "locked", { get: function() { return this.properties.getBool(D.propertyLocked, !1) }, set: function(t) { this.properties.setBool(D.propertyLocked, t, !1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "linked", { get: function() { return this.getLinked() }, set: function(t) { this.setLinked(t) }, enumerable: !0, configurable: !0 }), D.prototype.getLinked = function() { return this.properties.getBool(D.propertyLinked, !1) } , D.prototype.setLinked = function(t) { this.properties.setBool(D.propertyLinked, t, !1) } , Object.defineProperty(D.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 _(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,t,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable), t || this.dockStyle == r.StiDockStyle.None || null == this.parent || this.stimulsoft.is(r.StiBand) && null != e && !StiOptions.Engine.checkDockToContainerIfComponentDisabled || this.parent.dockToContainer() }, enumerable: !0, configurable: !0 }), D.prototype.getEnabled = function() { return this.enabled } , D.prototype.setEnabled = function(t) { this.enabled = t } , Object.defineProperty(D.prototype, "useParentStyles", { get: function() { return this.getUseParentStyles() }, set: function(t) { this.setUseParentStyles(t) }, enumerable: !0, configurable: !0 }), D.prototype.getUseParentStyles = function() { return this.properties.getBool(D.propertyUseParentStyles, !1) } , D.prototype.setUseParentStyles = function(t) { this.useParentStyles != t && (this.properties.setBool(D.propertyUseParentStyles, t, !1), t && null != this.parent && this.parent.setParentStylesToChilds()) } , Object.defineProperty(D.prototype, "page", { get: function() { return this.getPage() }, set: function(t) { this.setPage(t) }, enumerable: !0, configurable: !0 }), D.prototype.getPage = function() { return this._page } , D.prototype.setPage = function(t) { this._page = t } , Object.defineProperty(D.prototype, "parent", { get: function() { return this._parent }, set: function(t) { this._parent = t }, enumerable: !0, configurable: !0 }), D.prototype.isExportAsImage = function(t) { var i = this.stimulsoft.as(r.IStiBrush) , n = this.stimulsoft.as(r.IStiTextBrush); if (null != i) { var o = i.brush; if (t == e.StiExportFormat.Pdf && (o.stimulsoft.is(P) || o.stimulsoft.is(N) || o.stimulsoft.is(k) || o.stimulsoft.is(M))) return !1; if (t == e.StiExportFormat.Xps && o.stimulsoft.is(P) && (null == n || !n.textBrush.stimulsoft.is(P))) return !1; if (t == e.StiExportFormat.ImageSvg && (o.stimulsoft.is(P) || o.stimulsoft.is(N) || o.stimulsoft.is(k) || o.stimulsoft.is(M))) return !1; if (o.stimulsoft.is(P) || o.stimulsoft.is(N) || o.stimulsoft.is(M) || o.stimulsoft.is(k)) return !0 } if (null != n) { var a = n.textBrush; if (t == e.StiExportFormat.Pdf && (a.stimulsoft.is(P) || a.stimulsoft.is(N) || a.stimulsoft.is(k))) return !1; if (a.stimulsoft.is(P) || a.stimulsoft.is(N) || a.stimulsoft.is(M) || a.stimulsoft.is(k)) return !0 } return !1 } , D.prototype.invokeOnResizeComponent = function(t, e) { this.lockOnResize || this.onResizeComponent(t, e) } , D.prototype.onResizeComponent = function(t, e) { var i, n, o = this.stimulsoft.as(r.StiContainer); if (null == o) return; var a = e.width - t.width , s = e.height - t.height; try { for (var l = __values(o.components.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; 0 != a && ((c.anchor & r.StiAnchorMode.Left) > 0 && (c.anchor & r.StiAnchorMode.Right) > 0 && (c._width = c._width + a), 0 == (c.anchor & r.StiAnchorMode.Left) && (c.anchor & r.StiAnchorMode.Right) > 0 && (c._left = c._left + a)), 0 != s && ((c.anchor & r.StiAnchorMode.Top) > 0 && (c.anchor & r.StiAnchorMode.Bottom) > 0 && (c._height = c._height + s), 0 == (c.anchor & r.StiAnchorMode.Top) && (c.anchor & r.StiAnchorMode.Bottom) > 0 && (c._top = c._top + s)) } } catch (t) { i = { error: t } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (i) throw i.error } } } , D.prototype.clearContents = function() { var t, e, i = this.stimulsoft.as(r.IStiText); null != i && this.isSelected && i.setTextInternal(""); var n = this.stimulsoft.as(r.StiContainer); if (null != n) try { for (var o = __values(n.components.list), a = o.next(); !a.done; a = o.next()) { a.value.clearContents() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } } , D.prototype.toString = function() { if (i.isNullOrEmpty(this.alias)) return this.name; if (StiOptions.Dictionary.showOnlyAliasForComponents) return this.alias; return this.name + " [" + this.alias + "]" } , Object.defineProperty(D.prototype, "isCross", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), D.prototype.canContainIn = function(t) { if (t.stimulsoft.is(r.IStiCrossTab)) { if (this.stimulsoft.is(r.IStiCrossTabField)) return !0; return !1 } if (!t.stimulsoft.is(r.StiContainer)) return !1; if (t.stimulsoft.is(r.StiClone)) return !1; if (t.stimulsoft.is(r.StiSubReport)) return !1; return !0 } , D.prototype.componentToPage = function(t) { return null != (null == this.parent ? null : this.parent.stimulsoft.as(r.StiContainer)) ? this.parent.containerToPage(t) : t } , D.prototype.pageToComponent = function(t) { return null != (null == this.parent ? null : this.parent.stimulsoft.as(r.StiContainer)) ? this.parent.pageToContainer(t) : t } , D.isParentSelect = function(t) { var e = t.parent; while (null != e && !e.stimulsoft.is(r.StiPage)) { if (e.isSelected) return !0; e = e.parent } return !1 } , D.doOffsetRect = function(t, e, i) { if (t.stimulsoft.is(r.StiPage)) return e; return !this.isParentSelect(t) && t.isSelected && (e = e.offsetRect(i)), e } , D.prototype.getPaintRectangle = function(t, e, i) { if (void 0 === t && (t = !0), void 0 === e && (e = !0), void 0 === i && (i = !0), null != this.page) { i && (this.isCross ? this.clientRectangle = this.dockToContainer2(this.clientRectangle) : this.dockStyle != r.StiDockStyle.None && this.dockable && (this.displayRectangle = this.dockToContainer2(this.displayRectangle))); var n = this.clientRectangle.clone() , o = this.page.offsetRectangle; if (n = D.doOffsetRect(this, n, this.page.offsetRectangle), n = this.componentToPage(n), n = n.normalize(), !t) return e ? n.multiply(this.page.zoom) : n; return e ? this.page.unit.convertToHInches(n).multiply(this.page.zoom) : this.page.unit.convertToHInches(n) } return I.empty } , D.prototype.setPaintRectangle = function(t) { t = this.pageToComponent(t), t = t.normalize(), this.clientRectangle = t } , D.prototype.getDisplayRectangle2 = function() { var t = this.displayRectangle , e = this.page.offsetRectangle; return t = D.doOffsetRect(this, t, this.page.offsetRectangle), t = this.componentToPage(t), t = t.normalize() } , D.prototype.getDataBand = function() { var e = this.parent; if (null == e) return null; while (null != e && !e.stimulsoft.is(r.StiDataBand) && !e.stimulsoft.is(r.StiPage)) { var i = e.stimulsoft.as(r.StiReportTitleBand); if (null != i) { var n = i.getMaster(); if (null != n) return n } var o = e.stimulsoft.as(r.StiPageHeaderBand); if (null != o) { var a = o.getMaster(); if (null != a) return a } var s = e.stimulsoft.as(r.StiReportSummaryBand); if (null != s) { var l = s.getMaster(); if (null != l) return l } var u = e.stimulsoft.as(r.StiPageFooterBand); if (null != u) { var c = u.getMaster(); if (null != c) return c } var m = e.stimulsoft.as(r.StiHeaderBand); if (null != m) { var p = t.Report.Engine.StiHeaderBandBuilder.getMaster(m); if (null != p) return p } var h = e.stimulsoft.as(r.StiFooterBand); if (null != h) { var d = t.Report.Engine.StiFooterBandBuilder.getMaster(h); if (null != d) return d } e = e.parent } if (e.stimulsoft.is(r.StiDataBand)) return e; return null } , D.prototype.getGroupHeaderBand = function() { var e = null; if (null == (e = this.stimulsoft.is(r.StiGroupFooterBand) ? this : this.parent)) return null; if (e.stimulsoft.is(r.StiChildBand) && null != e.parent) { var i = e.parent.components.indexOf(e) - 1; while (i > 0 && e.parent.components.getByIndex(i).stimulsoft.is(r.StiChildBand)) i--; i >= 0 && (e = e.parent.components.getByIndex(i)) } while (!(null == e || e.stimulsoft.is(r.StiDataBand) || e.stimulsoft.is(r.StiGroupHeaderBand) || e.stimulsoft.is(r.StiGroupFooterBand) || e.stimulsoft.is(r.StiPage))) e = e.parent; if (e.stimulsoft.is(r.StiGroupHeaderBand)) return e; if (e.stimulsoft.is(r.StiGroupFooterBand) || e.stimulsoft.is(r.StiDataBand)) { var n = null; if (e.stimulsoft.is(r.StiDataBand)) n = e.stimulsoft.as(r.StiDataBand); else for (var i = e.parent.components.indexOf(e) - 1, o = i; o >= 0; o--) { var a = e.parent.components.getByIndex(o).stimulsoft.as(r.StiDataBand); if (null != a) { n = a; break } } if (null != n) { var s = t.Report.Engine.StiBuilder.getBuilder(r.StiDataBand); if (n.dataBandInfo.groupHeaderComponents = s.getGroupHeaders(n), n.dataBandInfo.groupFooterComponents = s.getGroupFooters(n), s.groupsComparison(n), e.stimulsoft.is(r.StiGroupFooterBand)) return e.groupFooterBandInfo.groupHeader; if (n.dataBandInfo.groupHeaderComponents.count > 0) return n.dataBandInfo.groupHeaderComponents.getByIndex(n.dataBandInfo.groupHeaderComponents.count - 1) } } return null } , D.prototype.getContainer = function() { var t = this.parent; if (null == t) return null; while (null != t && !t.stimulsoft.is(r.StiContainer) && !t.stimulsoft.is(r.StiPage)) t = t.parent; if (t.stimulsoft.is(r.StiContainer)) return t; if (t.stimulsoft.is(r.StiPage)) return t; return t.page } , D.prototype.checkForParentComponent = function(t) { if (null == this.parent) return !1; if (this.parent == t) return !0; return this.parent.checkForParentComponent(t) } , D.prototype.getComponentStyle2 = function() { if (i.isNullOrWhiteSpace(this.componentStyle) || null == this.report) return null; return this.report.styles.getByName(this.componentStyle) } , D.prototype.construct = function(e) { void 0 === e && (e = I.empty), this.clientRectangle = e, this.lockOnResize = !1, this.stimulsoft.is(r.StiDataBand) || this.stimulsoft.is(r.StiGroupHeaderBand) ? this.interaction = new r.StiBandInteraction : this.stimulsoft.is(t.Report.CrossTab.StiCrossHeader) ? this.interaction = new r.StiCrossHeaderInteraction : this.interaction = new r.StiInteraction } , D.propertyInherited = Math.random().toString().substr(2), D.propertyRenderedCount = Math.random().toString().substr(2), D.propertyMinSize = Math.random().toString().substr(2), D.propertyMaxSize = Math.random().toString().substr(2), D.eventGetToolTip = {}, D.eventGetHyperlink = {}, D.eventGetTag = {}, D.eventGetBookmark = {}, D.eventBeforePrint = {}, D.eventAfterPrint = {}, D.eventGetDrillDownReport = {}, D.eventClick = {}, D.eventDoubleClick = {}, D.eventMouseEnter = {}, D.eventMouseLeave = {}, D.eventPainting = {}, D.eventPainted = {}, D.propertyRestrictions = Math.random().toString().substr(2), D.propertyPlaceOnToolbox = Math.random().toString().substr(2), D.propertyDockable = Math.random().toString().substr(2), D.propertyComponentStyle = Math.random().toString().substr(2), D.propertyLocked = Math.random().toString().substr(2), D.propertyLinked = Math.random().toString().substr(2), D.propertyUseParentStyles = Math.random().toString().substr(2), D }(b); r.StiComponent = L }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Events.StiValueEventHandler , o = t.Report.Components.StiComponent , a = t.Base.StiJsonReportObjectHelper , s = t.Base.StiJsonSaveMode , l = t.Base.JsonReportObject.IStiJsonReportObject , u = t.Base.Localization.StiLocalization , c = t.System.Enum , m = t.System.Drawing.Color , p = t.System.Drawing.Rectangle , h = t.Base.Drawing.StiVertAlignment , d = t.Base.Drawing.StiHorAlignment , g = t.Report.Expressions.StiExpression , f = t.System.Drawing.Font , S = t.Report.Events.StiValueEventArgs , A = t.System.Drawing.FontStyle , y = t.System.Drawing.GraphicsUnit , w = t.Report.Components.StiAngle , b = t.Base.Drawing.StiBorder , v = t.Report.Components.IStiBackColor , C = t.Report.Components.IStiForeColor , E = t.Report.Components.IStiExportImage , B = t.Report.Components.IStiExportImageExtended , T = t.Report.Components.IStiHorAlignment , I = t.Report.Components.IStiVertAlignment , x = t.Report.Components.IStiBorder , F = t.Report.Components.IStiEnumAngle , D = function(o) { function D(t) { void 0 === t && (t = p.empty); var e = o.call(this, t) || this; return e._angle = w.Angle0, e._border = new b, e._foreColor = m.black, e._backColor = m.white, e._autoScale = !1, e._showLabelText = !0, e._showQuietZones = !0, e._barCodeType = new r.StiEAN13BarCodeType, e._font = null, e._horAlignment = d.Left, e._vertAlignment = h.Top, e._codeValue = null, e._code = null, e.defaultClientRectangle = new p(0,0,240,110), e.code = "1234567890123", e } return __extends(D, o), D.prototype.implements = function() { return D.implementsStiBarCode || (D.implementsStiBarCode = o.prototype.implements.call(this).concat([r.IStiBarCode, v, C, E, B, I, T, F, x, l])), D.implementsStiBarCode } , D.prototype.saveToJsonObject = function(t) { var e = o.prototype.saveToJsonObject.call(this, t); return e.removeProperty("CanShrink"), e.removeProperty("CanGrow"), e.addPropertyEnum("Angle", w, this.angle, w.Angle0), e.addPropertyStringNullOrEmpty("Border", a.Serialize.jBorder(this.border)), e.addPropertyStringNullOrEmpty("ForeColor", a.Serialize.jColor(this.foreColor, m.black)), e.addPropertyStringNullOrEmpty("BackColor", a.Serialize.jColor(this.backColor, m.white)), e.addPropertyBool("AutoScale", this.autoScale), e.addPropertyBool("ShowLabelText", this.showLabelText, !0), e.addPropertyBool("ShowQuietZones", this.showQuietZones, !0), e.addPropertyStringNullOrEmpty("Font", a.Serialize.font(this.font, "Arial", 8, A.Bold, y.Pixel)), e.addPropertyEnum("HorAlignment", d, this.horAlignment, d.Left), e.addPropertyEnum("VertAlignment", h, this.vertAlignment, h.Top), e.addPropertyJObject("GetBarCodeEvent", this.getBarCodeEvent.saveToJsonObject(t)), e.addPropertyJObject("BarCodeType", this.barCodeType.saveToJsonObject(t)), t == s.Document ? e.addPropertyStringNullOrEmpty("CodeValue", this.codeValue) : e.addPropertyJObject("Code", new g(this.code).saveToJsonObject(t)), e } , D.prototype.loadFromJsonObject = function(e) { var i, n; o.prototype.loadFromJsonObject.call(this, e); try { for (var s = __values(e.properties()), l = s.next(); !l.done; l = s.next()) { var u = l.value; switch (u.name) { case "Angle": this._angle = c.parse(w, u.value.toString()); break; case "Border": this._border = a.Deserialize.border(u.value.toString()); break; case "ForeColor": this._foreColor = a.Deserialize.color(u.value.toString()); break; case "BackColor": this._backColor = a.Deserialize.color(u.value.toString()); break; case "AutoScale": this._autoScale = u.value.stimulsoft.toBoolean(); break; case "ShowLabelText": this._showLabelText = u.value.stimulsoft.toBoolean(); break; case "ShowQuietZones": this._showQuietZones = u.value.stimulsoft.toBoolean(); break; case "Font": this._font = a.Deserialize.font(u.value.toString(), this.font); break; case "HorAlignment": this._horAlignment = c.parse(d, u.value.toString()); break; case "VertAlignment": this._vertAlignment = c.parse(h, u.value.toString()); break; case "CodeValue": this._codeValue = u.value.toString(); break; case "Code": var m = new g; m.loadFromJsonObject(u.value), this.code = m.value; break; case "GetBarCodeEvent": var p = new t.Report.Events.StiGetBarCodeEvent; p.loadFromJsonObject(u.value), this.getBarCodeEvent = p; break; case "BarCodeType": this._barCodeType = r.StiBarCodeTypeService.loadFromJsonObjectInternal(u.value); break } } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } } , D.prototype.loadFromXml = function(e, n) { o.prototype.loadFromXml.call(this, e, n); for (var a = 0; a < e.childNodes.length; a++) { var s = e.childNodes[a]; switch (s.nodeName) { case "Angle": this._angle = c.parse(w, s.textContent); break; case "Border": case "br": this._border = b.loadFromXml(s.textContent); break; case "ForeColor": this._foreColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(s.textContent); break; case "BackColor": this._backColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(s.textContent); break; case "AutoScale": this._autoScale = s.textContent.stimulsoft.toBoolean(); break; case "ShowLabelText": this._showLabelText = s.textContent.stimulsoft.toBoolean(); break; case "ShowQuietZones": this._showQuietZones = s.textContent.stimulsoft.toBoolean(); break; case "Font": case "fn": this._font = t.System.Convert.toFont(s.textContent); break; case "HorAlignment": case "ha": this._horAlignment = c.parse(d, s.textContent); break; case "VertAlignment": case "va": this._vertAlignment = c.parse(h, s.textContent); break; case "CodeValue": this.codeValue = s.textContent; break; case "Code": this.code = s.textContent; break; case "BarCodeType": var l = s.getAttribute("isRef"); if (!i.isNullOrEmpty(l) && this.report.jsonLoaderHelper) this.barCodeType = this.report.jsonLoaderHelper.barcodeTypes[l.stimulsoft.toNumber()].stimulsoft.memberwiseClone(); else { this.barCodeType = r.StiBarCodeTypeService.loadFromXmlInternal(s), this.barCodeType.loadFromXmlObject(s); var u = s.getAttribute("Ref"); !i.isNullOrEmpty(u) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.barcodeTypes[u.stimulsoft.toNumber()] = this.barCodeType) } break } } } , Object.defineProperty(D.prototype, "componentId", { get: function() { return e.StiComponentId.StiBarCode }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "helpUrl", { get: function() { return "user-manual/report_internals_barcodes.htm" }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "localizedCategory", { get: function() { return u.get("Report", "Components") }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "localizedName", { get: function() { return u.get("Components", "StiBarCode") }, enumerable: !0, configurable: !0 }), D.prototype.isExportAsImage = function(t) { if (t == e.StiExportFormat.Excel2007 || t == e.StiExportFormat.Word2007) return !0; return !1 } , D.prototype.getImage = function(r, i) { void 0 === i && (i = e.StiExportFormat.None); var n = new e.Export.StiSvgData; return n.component = this, n.x = 0, n.y = 0, n.width = this.report.unit.convertToHInches(this.width), n.height = this.report.unit.convertToHInches(this.height), t.Report.Export.StiBarCodeSvgHelper.getImage(n) } , Object.defineProperty(D.prototype, "angle", { get: function() { return this._angle }, set: function(t) { this._angle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "border", { get: function() { return this._border }, set: function(t) { this._border = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "foreColor", { get: function() { return this._foreColor }, set: function(t) { this._foreColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "backColor", { get: function() { return this._backColor }, set: function(t) { this._backColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "autoScale", { get: function() { return this._autoScale }, set: function(t) { this._autoScale = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "showLabelText", { get: function() { return this._showLabelText }, set: function(t) { this._showLabelText = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "showQuietZones", { get: function() { return this._showQuietZones }, set: function(t) { this._showQuietZones = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "barCodeType", { get: function() { return this._barCodeType }, set: function(t) { this._barCodeType = t }, enumerable: !0, configurable: !0 }), D.prototype.getBarCodeString = function() { if (null != this.codeValue) return this.codeValue; return this.code } , Object.defineProperty(D.prototype, "font", { get: function() { return null == this._font && (this._font = new f("Arial",8,A.Bold,y.Pixel)), this._font }, set: function(t) { this._font = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "horAlignment", { get: function() { return this._horAlignment }, set: function(t) { this._horAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "vertAlignment", { get: function() { return this._vertAlignment }, set: function(t) { this._vertAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "codeValue", { get: function() { return this._codeValue }, set: function(t) { this._codeValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(D.prototype, "code", { get: function() { return this._code }, set: function(t) { this._code = t }, enumerable: !0, configurable: !0 }), D.prototype.invokeEvents = function() { o.prototype.invokeEvents.call(this); try { if (this.report.calculationMode == e.StiCalculationMode.Compilation) { if (null != this.events.get(D.eventGetBarCode) && null == this._codeValue) { var r = new S; this.invokeGetBarCode(this, r), null != r.value && (this._codeValue = r.value.toString()) } } else if (null == this.codeValue) { var r = new S; this.invokeGetBarCode(this, r), null != r.value && (this.codeValue = r.value.toString()) } } catch (r) { t.System.StiError.showError(r, !1) } } , D.prototype.onGetBarCode = function(t) {} , D.prototype.invokeGetBarCode = function(r, i) { try { if (this.onGetBarCode(i), this.report.calculationMode == e.StiCalculationMode.Compilation) { var n = this.events.get(D.eventGetBarCode); if (null != n) try { n(r, i) } catch (i) {} } else { var o = t.Report.Engine.StiParser.StiParser.parseTextValue(this.code, this, r); null != o && (i.value = o); var n = this.events.get(D.eventGetBarCode); if (null != n) try { n(r, i) } catch (i) {} } } catch (e) { t.System.StiError.showError(e.message, !1) } } , Object.defineProperty(D.prototype, "getBarCodeEvent", { get: function() { return new t.Report.Events.StiGetBarCodeEvent(this) }, set: function(t) { t.set(this, t.script), this.events.set(D.eventGetBarCode, n.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), D.prototype.createNew = function() { return new D(p.empty) } , D.eventGetBarCode = {}, D }(o); r.StiBarCode = D }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.StiBarCodeData = e }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r, i) { void 0 === e && (e = 13), void 0 === r && (r = 1), void 0 === i && (i = 2.2); var n = t.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 = e, n._height = r, n._ratio = i, n } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Module", this.module, 13), r.addPropertyNumber("Height", this.height, 1), r.addPropertyNumber("Ratio", this.ratio, 2.2), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , r.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Module": this.module = i.textContent.stimulsoft.toNumber(); break; case "Height": this.height = i.textContent.stimulsoft.toNumber(); break; case "Ratio": this.ratio = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCodabarBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Codabar" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "A12345678B" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 7.5 && (this._module = 7.5), t > 40 && (this._module = 40), this.ratio = this.ratio }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .5 && (this._height = .5), t > 2 && (this._height = 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "ratio", { get: function() { return this._ratio }, set: function(t) { this._ratio = t; var e = this.module > 20 ? 2 : 2.2; t < e && (this._ratio = e), t > 3 && (this._ratio = 3) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelFontHeight", { get: function() { return this.codabarTextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[15] = !0, t }, enumerable: !0, configurable: !0 }), r.prototype.codeToBar = function(t) { for (var e = new i, r = !0, n = 0; n < t.length; n++) { var o = void 0; o = 1 == r ? "1" == t[n] ? "4" : "5" : "1" == t[n] ? "0" : "1", e.append(o), r = !r } return e.toString() } , r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, this.codabarSymbols); for (var a = Array.create(Number, o.length), s = 0; s < o.length; s++) a[s] = this.codabarSymbols.indexOf(o[s]); for (var l = new i, s = 0; s < a.length; s++) l.append(this.codeToBar(this.codabarTable[a[s]])); 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, o, o, l.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiBarCodeTypeService); r.StiCodabarBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = t.System.Text.StringBuilder , o = function(t) { function o(e, i, n) { void 0 === e && (e = 8), void 0 === i && (i = 1), void 0 === n && (n = r.StiCode11CheckSum.Auto); var o = t.call(this) || this; return o.code11Symbols = "0123456789-", o.code11StartStopSymbolIndex = 11, o.code11Table = ["40405", "50405", "41405", "51404", "40505", "50504", "41504", "40415", "50414", "50404", "40504", "40514"], o.code11SpaceLeft = 5, o.code11SpaceRight = 5, o.code11SpaceTop = 0, o.code11SpaceBottom = 1, o.code11LineHeightShort = 40, o.code11LineHeightLong = o.code11LineHeightShort, o.code11TextPosition = o.code11LineHeightShort + o.code11SpaceBottom, o.code11TextHeight = 8, o.code11MainHeight = 50, o.code11LineHeightForCut = o.code11LineHeightShort, o.defaultCode11Module = 8, o._module = o.defaultCode11Module, o._height = 1, o._checksum = r.StiCode11CheckSum.Auto, o._module = e, o._height = i, o._checksum = n, o } return __extends(o, t), o.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyNumber("Module", this.module, 8), i.addPropertyNumber("Height", this.height, 1), i.addPropertyEnum("Checksum", r.StiCode11CheckSum, this.checksum, r.StiCode11CheckSum.Auto), i } , o.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Module": this._module = s.value.stimulsoft.toNumber(); break; case "Height": this._height = s.value.stimulsoft.toNumber(); break; case "Checksum": this.checksum = i.parse(r.StiCode11CheckSum, s.value.toString()); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , o.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Module": this._module = o.textContent.stimulsoft.toNumber(); break; case "Height": this.height = o.textContent.stimulsoft.toNumber(); break; case "Checksum": this.checksum = i.parse(r.StiCode11CheckSum, o.textContent.toString()); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return e.StiComponentId.StiCode11BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "serviceName", { get: function() { return "Code11" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "defaultCodeValue", { get: function() { return "A12345678B" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 4 && (this._module = 4), t > 40 && (this._module = 40) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .2 && (this._height = .2), t > 2 && (this._height = 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "checksum", { get: function() { return this._checksum }, set: function(t) { this._checksum = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "labelFontHeight", { get: function() { return this.code11TextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[3] = !0, t[11] = !0, t[13] = !0, t }, enumerable: !0, configurable: !0 }), o.prototype.draw = function(t, e, i, o) { var a = this.getCode(e); a = this.checkCodeSymbols(a, this.code11Symbols); var s = 0; this.checksum == r.StiCode11CheckSum.Auto && (s = a.length >= 10 ? 2 : 1), this.checksum == r.StiCode11CheckSum.OneDigit && (s = 1), this.checksum == r.StiCode11CheckSum.TwoDigits && (s = 2); var l = Array.create(Number, a.length + 2 + s); l[0] = this.code11StartStopSymbolIndex; for (var u = 0; u < a.length; u++) l[u + 1] = this.code11Symbols.indexOf(a[u]); for (var c = 0, m = 1, u = a.length; u > 0; u--) c += l[u] * m, ++m > 10 && (m = 1); if (l[a.length + 1] = c % 11, 2 == s) { c = 0, m = 1; for (var u = a.length + 1; u > 0; u--) c += l[u] * m, ++m > 9 && (m = 1); l[a.length + 2] = c % 9 } l[l.length - 1] = l[0]; for (var p = new n, u = 0; u < l.length; u++) p.append(this.code11Table[l[u]]), u != l.length - 1 && p.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, o, a, a, p.toString(), i, e), this.drawBarCode(t, i, e) } , o.prototype.createNew = function() { return new o } , o }(r.StiBarCodeTypeService); r.StiCode11BarCodeType = o }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Text.StringBuilder , i = function(t) { function i(r, i) { void 0 === r && (r = 20), void 0 === i && (i = 1); var n = t.call(this) || this; return n.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"], n._module = 13, n._height = 1, n.code128SpaceLeft = 10, n.code128SpaceRight = 10, n.code128SpaceTop = 0, n.code128SpaceBottom = 1, n.code128LineHeightShort = 45, n.code128LineHeightLong = n.code128LineHeightShort, n.code128TextPosition = n.code128LineHeightShort + n.code128SpaceBottom, n.code128TextHeight = 8.33, n.code128MainHeight = 55, n.code128LineHeightForCut = n.code128LineHeightShort, n.defaultCodeSetAB = e.CodeSet.B, n.module = r, n.height = i, n } return __extends(i, t), i.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Module", this.module, 13), r.addPropertyNumber("Height", this.height, 1), r } , i.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , i.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Module": this.module = i.textContent.stimulsoft.toNumber(); break; case "Height": this.height = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(i.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 9.84 && (this._module = 9.84), t > 40 && (this._module = 40) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .5 && (this._height = .5), t > 2 && (this._height = 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "labelFontHeight", { get: function() { return this.code128TextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t }, enumerable: !0, configurable: !0 }), i.prototype.codeToBar = function(t) { for (var e = new r, i = !0, n = 0; n < t.length; n++) { var o = void 0; if (1 == i) switch (t[n]) { case "1": o = "4"; break; case "2": o = "5"; break; case "3": o = "6"; break; case "4": o = "7"; break; default: o = "4"; break } else switch (t[n]) { case "1": o = "0"; break; case "2": o = "1"; break; case "3": o = "2"; break; case "4": o = "3"; break; default: o = "0"; break } e.append(o), i = !i } return e.toString() } , i.prototype.encodeAuto = function(t, i) { for (var n = new r, o = new r, a = 0; a < t.length; a++) { var s = t.charCodeAt(a); (s < 128 || s >= e.ControlCodes.FNC1 && s <= e.ControlCodes.FNC4) && o.append(t.charAt(a)) } var l = o.toString() , u = this.getSet(l, 0, e.CodeSet.None); u == e.CodeSet.A ? n.append(String.fromCharCode(e.BarcodeCommands.StartA)) : u == e.CodeSet.B ? n.append(String.fromCharCode(e.BarcodeCommands.StartB)) : n.append(String.fromCharCode(e.BarcodeCommands.StartC)), i && n.append(String.fromCharCode(e.BarcodeCommands.FNC1)); var c = 0; while (c < l.length) { var m = this.getSet(l, c, u); m != u && (m == e.CodeSet.A ? n.append(String.fromCharCode(e.BarcodeCommands.CodeA)) : m == e.CodeSet.B ? n.append(String.fromCharCode(e.BarcodeCommands.CodeB)) : n.append(String.fromCharCode(e.BarcodeCommands.CodeC)), u = m); var s = l.charCodeAt(c); if (s >= e.ControlCodes.FNC1 && s <= e.ControlCodes.FNC4 && (s == e.ControlCodes.FNC1 ? n.append(String.fromCharCode(e.BarcodeCommands.FNC1)) : s == e.ControlCodes.FNC2 ? n.append(String.fromCharCode(e.BarcodeCommands.FNC2)) : s == e.ControlCodes.FNC3 ? n.append(String.fromCharCode(e.BarcodeCommands.FNC3)) : u == e.CodeSet.A ? n.append(String.fromCharCode(e.BarcodeCommands.FNC4A)) : n.append(String.fromCharCode(e.BarcodeCommands.FNC4B))), u == e.CodeSet.A) n.append(String.fromCharCode(s >= 32 ? s - 32 : s + 64)); else if (u == e.CodeSet.B) n.append(String.fromCharCode(s - 32)); else { var p = l.charCodeAt(c + 1) , h = 10 * (s - 48) + (p - 48); n.append(String.fromCharCode(h)), c++ } c++ } return n.append(String.fromCharCode(0)), n.append(String.fromCharCode(e.BarcodeCommands.Stop)), n.toString() } , i.prototype.isDigit = function(t) { var e = t.charCodeAt(0); if (e > 47 && e < 58) return !0; return !1 } , i.prototype.getSet = function(t, r, i) { if (0 == t.length || r > t.length - 1) return e.CodeSet.A; var n = t.charCodeAt(r); if (n >= e.ControlCodes.FNC1 && n <= e.ControlCodes.FNC4) { if (i == e.CodeSet.None) return this.defaultCodeSetAB; if (n == e.ControlCodes.FNC1) return i; return i == e.CodeSet.C ? this.defaultCodeSetAB : i } if (n < 32) return e.CodeSet.A; if (n >= 96) return e.CodeSet.B; if (this.isDigit(t.charAt(r))) if (i == e.CodeSet.C) { if (r + 1 < t.length && this.isDigit(t.charAt(r + 1))) return e.CodeSet.C } else if (r + 3 < t.length && this.isDigit(t.charAt(r + 1)) && this.isDigit(t.charAt(r + 2)) && this.isDigit(t.charAt(r + 3))) return e.CodeSet.C; return i != e.CodeSet.None && i != e.CodeSet.C ? i : this.defaultCodeSetAB } , i }(e.StiBarCodeTypeService); e.StiCode128BarCodeType = i }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r) { return void 0 === e && (e = 13), void 0 === r && (r = 1), t.call(this, e, r) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCode128AutoBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Code128 Auto" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "123456780123" }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { for (var o = this.getCode(e), a = new i, s = 0; s < o.length; s++) { var l = o.charCodeAt(s); a.append(l >= 32 && 129 != l ? String.fromCharCode(l) : String.fromCharCode(8226)) } for (var u = this.encodeAuto(o, !1), c = Array.create(Number, u.length), s = 0; s < u.length; s++) c[s] = u.toString().charCodeAt(s); for (var m = c[0], s = 0; s < u.length - 3; s++) m += c[s + 1] * (s + 1); c[c.length - 2] = m % 103; for (var p = new i, s = 0; s < c.length; s++) p.append(this.codeToBar(this.code128Table[c[s]])); var h = a.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, o, h, p.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiCode128BarCodeType); r.StiCode128AutoBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r) { return void 0 === e && (e = 13), void 0 === r && (r = 1), t.call(this, e, r) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCode128aBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Code128a" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "ABC123" }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" + "\0\b\t\n\v\f\r" + "" + ""); var a = new i , s = Array.create(Number, o.length + 3); s[0] = 103; for (var l = s[0], u = 0; u < o.length; u++) { var c = o.charCodeAt(u); s[u + 1] = c >= 32 ? c - 32 : c + 64, 129 == c && (s[u + 1] = 102), l += s[u + 1] * (u + 1), a.append(c >= 32 && 129 != c ? String.fromCharCode(c) : String.fromCharCode(8729)) } s[s.length - 2] = l % 103, s[s.length - 1] = 106; for (var m = new i, u = 0; u < s.length; u++) m.append(this.codeToBar(this.code128Table[s[u]])); var p = a.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, o, p, m.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiCode128BarCodeType); r.StiCode128aBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r) { return void 0 === e && (e = 13), void 0 === r && (r = 1), t.call(this, e, r) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCode128bBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Code128b" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "ABCabc123" }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" + "" + ""); var a = new i , s = Array.create(Number, o.length + 3); s[0] = 104; for (var l = s[0], u = 0; u < o.length; u++) { var c = o.charCodeAt(u); s[u + 1] = c - 32, 129 == c && (s[u + 1] = 102), l += s[u + 1] * (u + 1), a.append(129 != c ? String.fromCharCode(c) : String.fromCharCode(8729)) } s[s.length - 2] = l % 103, s[s.length - 1] = 106; for (var m = new i, u = 0; u < s.length; u++) m.append(this.codeToBar(this.code128Table[s[u]])); var p = a.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, o, p, m.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiCode128BarCodeType); r.StiCode128bBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r) { return void 0 === e && (e = 13), void 0 === r && (r = 1), t.call(this, e, r) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCode128cBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Code128c" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "0123456789012345" }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, "0123456789" + ""); for (var a = [], s = new i, l = "", u = 0; u < o.length; u++) { var c = o.charCodeAt(u); 129 == c ? (a.add(l), l = "", s.append(String.fromCharCode(8226))) : (l += String.fromCharCode(c), s.append(c)) } l.length > 0 && a.add(l), 0 == a.length && a.add(l); for (var m = new i, u = 0; u < a.length; u++) { for (var p = a[u], h = Math.floor(p.length / 2), d = 0; d < h; d++) { var g = parseInt(p.substr(2 * d, 2)); m.append(String.fromCharCode(g)) } if (p.length % 2 == 1) { m.append(String.fromCharCode(100)); var g = p.charCodeAt(p.length - 1); m.append(String.fromCharCode(g - 32)), u < a.length - 1 && m.append(String.fromCharCode(99)) } u < a.length - 1 && m.append(String.fromCharCode(102)) } var f = Array.create(Number, m.length + 3); f[0] = 105; for (var u = 0; u < m.length; u++) f[u + 1] = m.toString().charCodeAt(u); for (var S = f[0], u = 0; u < f.length - 3; u++) S += f[u + 1] * (u + 1); f[f.length - 2] = S % 103, f[f.length - 1] = 106; for (var A = new i, u = 0; u < f.length; u++) A.append(this.codeToBar(this.code128Table[f[u]])); for (var y = new i, u = 0; u < s.length; u++) { var g = parseInt(s.toString().substr(u, 2)); y.append(String.fromCharCode(g)), u++ } this.calculateSizeFull(this.code128SpaceLeft, this.code128SpaceRight, this.code128SpaceTop, this.code128SpaceBottom, this.code128LineHeightShort, this.code128LineHeightLong, this.code128TextPosition, this.code128TextHeight, this.code128MainHeight, this.code128LineHeightForCut, 2, n, o, y.toString(), A.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiCode128BarCodeType); r.StiCode128cBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = t.System.Text.StringBuilder , o = function(t) { function o(e, i, n, o) { void 0 === e && (e = 13), void 0 === i && (i = 1), void 0 === n && (n = 2.2), void 0 === o && (o = r.StiCheckSum.Yes); var a = t.call(this) || this; return a.code39Symbols = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%", a.code39StartStopSymbolIndex = 43, a.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"], a._checkSum = r.StiCheckSum.Yes, a._module = 13, a._height = 1, a._ratio = 2.2, a.code39SpaceLeft = 10, a.code39SpaceRight = 10, a.code39SpaceTop = 0, a.code39SpaceBottom = 1, a.code39LineHeightShort = 45, a.code39LineHeightLong = a.code39LineHeightShort, a.code39TextPosition = a.code39LineHeightShort + a.code39SpaceBottom, a.code39TextHeight = 8.33, a.code39MainHeight = 55, a.code39LineHeightForCut = a.code39LineHeightShort, a._module = e, a._height = i, a._ratio = n, a._checkSum = o, a } return __extends(o, t), o.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyNumber("Module", this.module, 13), i.addPropertyNumber("Height", this.height, 1), i.addPropertyEnum("CheckSum", r.StiCheckSum, this.checkSum, r.StiCheckSum.Yes), i.addPropertyNumber("Ratio", this.ratio, 2.2), i } , o.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Module": this.module = s.value.stimulsoft.toNumber(); break; case "Height": this.height = s.value.stimulsoft.toNumber(); break; case "CheckSum": this.checkSum = i.parse(r.StiCheckSum, s.value.toString()); break; case "Ratio": this.ratio = s.value.stimulsoft.toNumber(); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , o.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Module": this.module = o.textContent.stimulsoft.toNumber(); break; case "Height": this.height = o.textContent.stimulsoft.toNumber(); break; case "CheckSum": this.checkSum = i.parse(r.StiCheckSum, o.textContent); break; case "Ratio": this.ratio = o.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return e.StiComponentId.StiCode39BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "serviceName", { get: function() { return "Code39" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "defaultCodeValue", { get: function() { return "ABC123" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "checkSum", { get: function() { return this._checkSum }, set: function(t) { this._checkSum = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 2 && (this._module = 2), t > 40 && (this._module = 40), this.ratio = this.ratio }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .5 && (this._height = .5), t > 2 && (this._height = 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "ratio", { get: function() { return this._ratio }, set: function(t) { this._ratio = t; var e = this.module > 20 ? 2 : 2.2; t < e && (this._ratio = e), t > 3 && (this._ratio = 3) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "labelFontHeight", { get: function() { return this.code39TextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[15] = !0, t[23] = !0, t }, enumerable: !0, configurable: !0 }), o.prototype.codeToBar = function(t) { for (var e = new n, r = !0, i = 0; i < t.length; i++) { var o = void 0; o = 1 == r ? "1" == t[i] ? "4" : "5" : "1" == t[i] ? "0" : "1", e.append(o), r = !r } return e.toString() } , o.prototype.draw = function(t, e, i, o) { var a = this.getCode(e); a = this.checkCodeSymbols(a, this.code39Symbols); var s = Array.create(Number, a.length + (this.checkSum == r.StiCheckSum.Yes ? 3 : 2)); s[0] = this.code39StartStopSymbolIndex; for (var l = 0, u = 0; u < a.length; u++) s[u + 1] = this.code39Symbols.indexOf(a[u]), l += s[u + 1]; this.checkSum == r.StiCheckSum.Yes && (s[s.length - 2] = l % 43), s[s.length - 1] = s[0]; for (var c = new n, u = 0; u < s.length; u++) c.append(this.codeToBar(this.code39Table[s[u]])); this.calculateSizeFull(this.code39SpaceLeft, this.code39SpaceRight, this.code39SpaceTop, this.code39SpaceBottom, this.code39LineHeightShort, this.code39LineHeightLong, this.code39TextPosition, this.code39TextHeight, this.code39MainHeight, this.code39LineHeightForCut, this.ratio, o, a, a, c.toString(), i, e), this.drawBarCode(t, i, e) } , o.prototype.createNew = function() { return new o } , o }(r.StiBarCodeTypeService); r.StiCode39BarCodeType = o }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function n(e, i, n, o) { void 0 === e && (e = 13), void 0 === i && (i = 1), void 0 === n && (n = 2.2), void 0 === o && (o = r.StiCheckSum.Yes); var a = t.call(this, e, i, n, o) || this; return a.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"], a } return __extends(n, t), Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiCode39ExtBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "serviceName", { get: function() { return "Code39 Extended" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "defaultCodeValue", { get: function() { return "Abc123" }, enumerable: !0, configurable: !0 }), n.prototype.draw = function(t, e, n, o) { var a = this.getCode(e); null == a && (a = ""); for (var s = new i, l = new i, u = 0; u < a.length; u++) { var c = a.charCodeAt(u); c < 128 && (s.append(this.code39ExtTable[c]), l.append(String.fromCharCode(c))) } a = s.toString(); var m = Array.create(Number, a.length + (this.checkSum == r.StiCheckSum.Yes ? 3 : 2)); m[0] = this.code39StartStopSymbolIndex; for (var p = 0, u = 0; u < a.length; u++) m[u + 1] = this.code39Symbols.indexOf(a[u]), p += m[u + 1]; this.checkSum == r.StiCheckSum.Yes && (m[m.length - 2] = p % 43), m[m.length - 1] = m[0]; for (var h = new i, u = 0; u < m.length; u++) h.append(this.codeToBar(this.code39Table[m[u]])); this.calculateSizeFull(this.code39SpaceLeft, this.code39SpaceRight, this.code39SpaceTop, this.code39SpaceBottom, this.code39LineHeightShort, this.code39LineHeightLong, this.code39TextPosition, this.code39TextHeight, this.code39MainHeight, this.code39LineHeightForCut, this.ratio, o, a, l.toString(), h.toString(), n, e), this.drawBarCode(t, n, e) } , n.prototype.createNew = function() { return new n } , n }(r.StiCode39BarCodeType); r.StiCode39ExtBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r, i) { void 0 === e && (e = 13), void 0 === r && (r = 1), void 0 === i && (i = 2.2); var n = t.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 = e, n._height = r, n._ratio = i, n } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Module", this.module, 13), r.addPropertyNumber("Height", this.height, 1), r.addPropertyNumber("Ratio", this.ratio, 2.2), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , r.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Module": this.module = i.textContent.stimulsoft.toNumber(); break; case "Height": this.height = i.textContent.stimulsoft.toNumber(); break; case "Ratio": this.ratio = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCode93BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Code93" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "ABC123" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 2 && (this._module = 2), t > 40 && (this._module = 40), this.ratio = this.ratio }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .5 && (this._height = .5), t > 2 && (this._height = 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "ratio", { get: function() { return this._ratio }, set: function(t) { this._ratio = t; var e = this.module > 20 ? 2 : 2.2; t < e && (this._ratio = e), t > 3 && (this._ratio = 3) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelFontHeight", { get: function() { return this.code93TextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[15] = !0, t }, enumerable: !0, configurable: !0 }), r.prototype.codeToBar = function(t) { for (var e = new i, r = !0, n = 0; n < t.length; n++) { var o = void 0; if (1 == r) switch (t[n]) { case "1": o = "4"; break; case "2": o = "5"; break; case "3": o = "6"; break; case "4": o = "7"; break; default: o = "4"; break } else switch (t[n]) { case "1": o = "0"; break; case "2": o = "1"; break; case "3": o = "2"; break; case "4": o = "3"; break; default: o = "0"; break } e.append(o), r = !r } return e.toString() } , r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, this.code93Symbols); for (var a = Array.create(Number, o.length + 4), s = 0; s < o.length; s++) a[s + 1] = this.code93Symbols.indexOf(o[s]); for (var l = 0, u = 1, s = o.length - 1; s >= 0; s--) l += a[s + 1] * u, ++u > 20 && (u = 1); a[a.length - 3] = l % 47; var c = 0; u = 1; for (var s = o.length; s >= 0; s--) c += a[s + 1] * u, ++u > 15 && (u = 1); a[a.length - 2] = c % 47, a[0] = this.code93Table.length - 2, a[a.length - 1] = this.code93Table.length - 1; for (var m = new i, s = 0; s < a.length; s++) m.append(this.codeToBar(this.code93Table[a[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, o, o, m.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiBarCodeTypeService); r.StiCode93BarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r, i) { void 0 === e && (e = 13), void 0 === r && (r = 1), void 0 === i && (i = 2.2); var n = t.call(this, e, r, i) || this; return n.code93ExtSymbols = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%<]>[", n.code93ExtTable = ["]U", "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 } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCode93ExtBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Code93 Extended" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "Abc123" }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); null == o && (o = ""); for (var a = new i, s = new i, l = 0; l < o.length; l++) { var u = o.charCodeAt(l); u < 128 && (a.append(this.code93ExtTable[u]), s.append(String.fromCharCode(u))) } o = a.toString(); for (var c = Array.create(Number, o.length + 4), l = 0; l < o.length; l++) c[l + 1] = this.code93ExtSymbols.indexOf(o[l]); for (var m = 0, p = 1, l = o.length - 1; l >= 0; l--) m += c[l + 1] * p, ++p > 20 && (p = 1); c[c.length - 3] = m % 47; var h = 0; p = 1; for (var l = o.length; l >= 0; l--) h += c[l + 1] * p, ++p > 15 && (p = 1); c[c.length - 2] = h % 47, c[0] = this.code93Table.length - 2, c[c.length - 1] = this.code93Table.length - 1; for (var d = new i, l = 0; l < c.length; l++) d.append(this.codeToBar(this.code93Table[c[l]])); 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, o, s.toString(), d.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiCode93BarCodeType); r.StiCode93ExtBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString, n = t.System.Enum, o; !function(t) { t[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" }(o || (o = {})); var a = function() { function t(t) { this.log = null, this.alog = null, this.rspoly = null, this.logmod = 255, this.log = Array.create(Number, this.logmod + 1), this.alog = Array.create(Number, this.logmod); for (var e = 1, r = 0; r < this.logmod; r++) this.alog[r] = e, this.log[e] = r, (e <<= 1) > 255 && (e ^= 301); this.rlen = t, this.rspoly = Array.create(Number, t + 1); var i = 1; this.rspoly[0] = 1; for (var n = 1; n <= t; n++) { this.rspoly[n] = 1; for (var o = n - 1; o > 0; o--) 0 != this.rspoly[o] && (this.rspoly[o] = this.alog[(this.log[this.rspoly[o]] + i) % this.logmod]), this.rspoly[o] ^= this.rspoly[o - 1]; this.rspoly[0] = this.alog[(this.log[this.rspoly[0]] + i) % this.logmod], i++ } } return t.prototype.encode = function(t, e) { for (var r = Array.create(Number, this.rlen), i = 0; i < t; i++) { for (var n = r[this.rlen - 1] ^ e[i], o = this.rlen - 1; o > 0; o--) 0 != n && 0 != this.rspoly[o] ? r[o] = r[o - 1] ^ this.alog[(this.log[n] + this.log[this.rspoly[o]]) % this.logmod] : r[o] = r[o - 1]; 0 != n && 0 != this.rspoly[0] ? r[0] = this.alog[(this.log[n] + this.log[this.rspoly[0]]) % this.logmod] : r[0] = 0 } return r } , t }() , s = function() { function t(t, e, r, i, n, o, a) { this.height = t, this.width = e, this.fh = r, this.fw = i, this.bytes = n, this.datablock = o, this.rsblock = a } return t }() , l = function() { function t(e, i, n, o, a) { this.gridWidth = 0, this.gridHeight = 0, this.grid = null, this._errorMessage = null, this.ecc200List = null, this._processTilde = !1; var l = t.convertStringToBytes(e); this.gridWidth = 0, this.gridHeight = 0; var u = null; if (this._processTilde = a, o != r.StiDataMatrixSize.Automatic && (n = !0), this.ecc200List = n ? [new s(10,10,10,10,3,3,5), new s(12,12,12,12,5,5,7), new s(8,18,8,18,5,5,7), new s(14,14,14,14,8,8,10), new s(8,32,8,16,10,10,11), new s(16,16,16,16,12,12,12), new s(12,26,12,26,16,16,14), new s(18,18,18,18,18,18,14), new s(20,20,20,20,22,22,18), new s(12,36,12,18,22,22,18), new s(22,22,22,22,30,30,20), new s(16,36,16,18,32,32,24), new s(24,24,24,24,36,36,24), new s(26,26,26,26,44,44,28), new s(16,48,16,24,49,49,28), new s(32,32,16,16,62,62,36), new s(36,36,18,18,86,86,42), new s(40,40,20,20,114,114,48), new s(44,44,22,22,144,144,56), new s(48,48,24,24,174,174,68), new s(52,52,26,26,204,102,42), new s(64,64,16,16,280,140,56), new s(72,72,18,18,368,92,36), new s(80,80,20,20,456,114,48), new s(88,88,22,22,576,144,56), new s(96,96,24,24,696,174,68), new s(104,104,26,26,816,136,56), new s(120,120,20,20,1050,175,68), new s(132,132,22,22,1304,163,62), new s(144,144,24,24,1558,156,62)] : [new s(10,10,10,10,3,3,5), new s(12,12,12,12,5,5,7), new s(14,14,14,14,8,8,10), new s(16,16,16,16,12,12,12), new s(18,18,18,18,18,18,14), new s(20,20,20,20,22,22,18), new s(22,22,22,22,30,30,20), new s(24,24,24,24,36,36,24), new s(26,26,26,26,44,44,28), new s(32,32,16,16,62,62,36), new s(36,36,18,18,86,86,42), new s(40,40,20,20,114,114,48), new s(44,44,22,22,144,144,56), new s(48,48,24,24,174,174,68), new s(52,52,26,26,204,102,42), new s(64,64,16,16,280,140,56), new s(72,72,18,18,368,92,36), new s(80,80,20,20,456,114,48), new s(88,88,22,22,576,144,56), new s(96,96,24,24,696,174,68), new s(104,104,26,26,816,136,56), new s(120,120,20,20,1050,175,68), new s(132,132,22,22,1304,163,62), new s(144,144,24,24,1558,156,62)], o != r.StiDataMatrixSize.Automatic) { var c = this.ecc200List[o]; this.gridWidth = c.width, this.gridHeight = c.height } try { var m = { ref: this.gridWidth } , p = { ref: this.gridHeight }; u = this.makeGrid(l, m, p, i), this.gridWidth = m.ref, this.gridHeight = p.ref } catch (t) { this._errorMessage = t.message } if (null != u) { this.grid = Array.create(Number, this.gridWidth * this.gridHeight); for (var h = 0; h < this.gridHeight; h++) for (var d = h * this.gridWidth, g = (this.gridHeight - h - 1) * this.gridWidth, f = 0; f < this.gridWidth; f++) this.grid[g + f] = u[d + f] } } return Object.defineProperty(t.prototype, "matrix", { get: function() { return this.grid }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "width", { get: function() { return this.gridWidth }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "height", { get: function() { return this.gridHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "errorMessage", { get: function() { return this._errorMessage }, enumerable: !0, configurable: !0 }), t.prototype.dataMatrixPlacementbit = function(t, e, r, i, n, o, a) { i < 0 && (i += e, n += 4 - (e + 4) % 8), n < 0 && (n += r, i += 4 - (r + 4) % 8), t[i * r + n] = (o << 3) + a } , t.prototype.dataMatrixPlacementBlock = function(t, e, r, i, n, o) { this.dataMatrixPlacementbit(t, e, r, i - 2, n - 2, o, 7), this.dataMatrixPlacementbit(t, e, r, i - 2, n - 1, o, 6), this.dataMatrixPlacementbit(t, e, r, i - 1, n - 2, o, 5), this.dataMatrixPlacementbit(t, e, r, i - 1, n - 1, o, 4), this.dataMatrixPlacementbit(t, e, r, i - 1, n - 0, o, 3), this.dataMatrixPlacementbit(t, e, r, i - 0, n - 2, o, 2), this.dataMatrixPlacementbit(t, e, r, i - 0, n - 1, o, 1), this.dataMatrixPlacementbit(t, e, r, i - 0, n - 0, o, 0) } , t.prototype.dataMatrixPlacementCornerA = function(t, e, r, i) { this.dataMatrixPlacementbit(t, e, r, e - 1, 0, i, 7), this.dataMatrixPlacementbit(t, e, r, e - 1, 1, i, 6), this.dataMatrixPlacementbit(t, e, r, e - 1, 2, i, 5), this.dataMatrixPlacementbit(t, e, r, 0, r - 2, i, 4), this.dataMatrixPlacementbit(t, e, r, 0, r - 1, i, 3), this.dataMatrixPlacementbit(t, e, r, 1, r - 1, i, 2), this.dataMatrixPlacementbit(t, e, r, 2, r - 1, i, 1), this.dataMatrixPlacementbit(t, e, r, 3, r - 1, i, 0) } , t.prototype.dataMatrixPlacementCornerB = function(t, e, r, i) { this.dataMatrixPlacementbit(t, e, r, e - 3, 0, i, 7), this.dataMatrixPlacementbit(t, e, r, e - 2, 0, i, 6), this.dataMatrixPlacementbit(t, e, r, e - 1, 0, i, 5), this.dataMatrixPlacementbit(t, e, r, 0, r - 4, i, 4), this.dataMatrixPlacementbit(t, e, r, 0, r - 3, i, 3), this.dataMatrixPlacementbit(t, e, r, 0, r - 2, i, 2), this.dataMatrixPlacementbit(t, e, r, 0, r - 1, i, 1), this.dataMatrixPlacementbit(t, e, r, 1, r - 1, i, 0) } , t.prototype.dataMatrixPlacementCornerC = function(t, e, r, i) { this.dataMatrixPlacementbit(t, e, r, e - 3, 0, i, 7), this.dataMatrixPlacementbit(t, e, r, e - 2, 0, i, 6), this.dataMatrixPlacementbit(t, e, r, e - 1, 0, i, 5), this.dataMatrixPlacementbit(t, e, r, 0, r - 2, i, 4), this.dataMatrixPlacementbit(t, e, r, 0, r - 1, i, 3), this.dataMatrixPlacementbit(t, e, r, 1, r - 1, i, 2), this.dataMatrixPlacementbit(t, e, r, 2, r - 1, i, 1), this.dataMatrixPlacementbit(t, e, r, 3, r - 1, i, 0) } , t.prototype.dataMatrixPlacementCornerD = function(t, e, r, i) { this.dataMatrixPlacementbit(t, e, r, e - 1, 0, i, 7), this.dataMatrixPlacementbit(t, e, r, e - 1, r - 1, i, 6), this.dataMatrixPlacementbit(t, e, r, 0, r - 3, i, 5), this.dataMatrixPlacementbit(t, e, r, 0, r - 2, i, 4), this.dataMatrixPlacementbit(t, e, r, 0, r - 1, i, 3), this.dataMatrixPlacementbit(t, e, r, 1, r - 3, i, 2), this.dataMatrixPlacementbit(t, e, r, 1, r - 2, i, 1), this.dataMatrixPlacementbit(t, e, r, 1, r - 1, i, 0) } , t.prototype.dataMatrixPlacement = function(t, e) { var r = Array.create(Number, e * t) , i = 4 , n = 0 , o = 1; do { i == t && 0 == n && this.dataMatrixPlacementCornerA(r, t, e, o++), i == t - 2 && 0 == n && e % 4 != 0 && this.dataMatrixPlacementCornerB(r, t, e, o++), i == t - 2 && 0 == n && e % 8 == 4 && this.dataMatrixPlacementCornerC(r, t, e, o++), i == t + 4 && 2 == n && e % 8 == 0 && this.dataMatrixPlacementCornerD(r, t, e, o++); do { i < t && n >= 0 && 0 == r[i * e + n] && this.dataMatrixPlacementBlock(r, t, e, i, n, o++), i -= 2, n += 2 } while (i >= 0 && n < e); i++, n += 3; do { i >= 0 && n < e && 0 == r[i * e + n] && this.dataMatrixPlacementBlock(r, t, e, i, n, o++), i += 2, n -= 2 } while (i < t && n >= 0); i += 3, n++ } while (i < t || n < e); return 0 == r[t * e - 1] && (r[t * e - 1] = r[t * e - e - 2] = 1), r } , t.prototype.makeEcc200Blocks = function(t, e, r, i) { for (var n = new a(i), o = Math.floor((e + 2) / r), s = 0; s < o; s++) { for (var l = Array.create(Number, 256), u = 0, c = s; c < e; c += o) l[u++] = t[c]; var m = n.encode(u, l); u = i - 1; for (var c = s; c < i * o; c += o) t[e + c] = m[u--] } } , t.prototype.dataMatrixEncode = function(t, e, i, n) { var a = 0 , s = 0 , l = r.StiBarCodeTypeService.unpackTilde(i, this._processTilde); if (l[s] == r.BarcodeCommandCode.Fnc1 && (t[a++] = o.FNC1, s++), l.length > 0) switch (n) { case r.StiDataMatrixEncodingType.C40: case r.StiDataMatrixEncodingType.Text: case r.StiDataMatrixEncodingType.X12: var u = { res: s } , c = { res: a }; this.encodeCTX(t, e, l, n, u, c), s = u.res, a = c.res; break; case r.StiDataMatrixEncodingType.Edifact: var u = { res: s } , c = { res: a }; this.encodeE(t, e, l, u, c), s = u.res, a = c.res; break; case r.StiDataMatrixEncodingType.Ascii: var u = { res: s } , c = { res: a }; this.encodeA(t, e, l, u, c), s = u.res, a = c.res; break; case r.StiDataMatrixEncodingType.Binary: var u = { res: s } , c = { res: a }; this.encodeB(t, e, l, u, c), s = u.res, a = c.res; break } var m = a; a < e && n != r.StiDataMatrixEncodingType.Ascii && (t[a++] = o.EscapeToAscii), a < e && (t[a++] = o.Padding); while (a < e) { var p = 129 + 149 * (a + 1) % 253 + 1; p > 254 && (p -= 254), t[a++] = p } if (a > e || s < l.length) return 0; return m } , t.prototype.encodeB = function(t, e, r, i, n) { var a = i.res , s = n.res; a = 0, s = 0, t[s++] = o.ModeBinary, r.length < 250 ? t[s++] = r.length : (t[s++] = 249 + r.length / 250, t[s++] = r.length % 250); do { t[s] = r[a++] + 149 * (s + 1) % 255 + 1, s++ } while (a < r.length && s < e); i.res = a, n.res = s } , t.prototype.encodeA = function(e, i, n, a, s) { var l = a.res , u = s.res; l = 0, u = 0; do { n[l] > 255 ? (n[l] == r.BarcodeCommandCode.Fnc1 && (e[u++] = o.FNC1), l++) : n.length - l >= 2 && t.isDigit(n[l]) && t.isDigit(n[l + 1]) ? (e[u++] = 10 * (n[l] - "0".charCodeAt(0)) + n[l + 1] - "0".charCodeAt(0) + 130, l += 2) : n[l] > 127 ? (e[u++] = 235, e[u++] = n[l++] - 127) : e[u++] = n[l++] + 1 } while (l < n.length && u < i); a.res = l, s.res = u } , t.prototype.encodeE = function(t, e, r, i, n) { var a = i.res , s = n.res , l = Array.create(Number, 4); a = 0, s = 0, t[s++] = o.ModeEdifact; do { l[0] = 0, l[1] = 0, l[2] = 0, l[3] = 0; var u = 0; while (a < r.length && u < 4) l[u++] = r[a++]; u < 4 && (l[u++] = 31), t[s] = (63 & l[0]) << 2, t[s++] |= (48 & l[1]) >> 4, t[s] = (15 & l[1]) << 4, 2 == u ? s++ : (t[s++] |= (60 & l[2]) >> 2, t[s] = (3 & l[2]) << 6, t[s++] |= 63 & l[3]) } while (a < r.length && s < e); i.res = a, n.res = s } , t.prototype.encodeCTX = function(t, e, n, a, s, l) { var u = s.res , c = l.res , m = Array.create(Number, 6) , p = 0; c = 0, u = 0; var h = "!\"#$%&'()*+,-./:;<=>?@[\\]_" + String.fromCharCode(r.BarcodeCommandCode.Fnc1) , d = "" , g = ""; a == r.StiDataMatrixEncodingType.C40 && (t[c++] = o.ModeC40, g = " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", d = "`abcdefghijklmnopqrstuvwxyz{|}~"), a == r.StiDataMatrixEncodingType.Text && (t[c++] = o.ModeText, g = " 0123456789abcdefghijklmnopqrstuvwxyz", d = "`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~"), a == r.StiDataMatrixEncodingType.X12 && (t[c++] = o.ModeX12, g = " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\r*>"); do { if (u + 1 == n.length && 0 == p) { t[c++] = o.EscapeToAscii; var f = { res: u } , S = { res: c }; return this.encodeA(t, e, n, f, S), u = f.res, c = S.res, void (a = r.StiDataMatrixEncodingType.Ascii) } var A = n[u++]; if (0 != (128 & A)) { if (a == r.StiDataMatrixEncodingType.X12) throw i.format("Cannot encode char 0x{0:X2} in X12", A); A &= 127, m[p++] = 1, m[p++] = 30 } var y = g.indexOf(String.fromCharCode(A)); if (y >= 0) m[p++] = (y + 3) % 40; else { if (a == r.StiDataMatrixEncodingType.X12) throw i.format("Cannot encode char 0x{0:X2} in X12", A); if (A < 32) m[p++] = 0, m[p++] = A; else if ((y = h.indexOf(String.fromCharCode(A))) >= 0) m[p++] = 1, m[p++] = y; else { if (!((y = d.indexOf(String.fromCharCode(A))) >= 0)) throw i.format("Cannot encode char 0x{0:X2}", A); m[p++] = 2, m[p++] = y } } u == n.length && p % 3 == 2 && (m[p++] = 0); while (p >= 3) { var w = 1600 * m[0] + 40 * m[1] + m[2] + 1; t[c++] = w >> 8, t[c++] = 255 & w, p -= 3, m[0] = m[3], m[1] = m[4], m[2] = m[5], m[3] = 0, m[4] = 0, m[5] = 0 } } while (u < n.length && c < e); s.res = u, l.res = c } , t.isDigit = function(t) { return t >= "0".charCodeAt(0) && t <= "9".charCodeAt(0) } , t.convertStringToBytes = function(t) { for (var e = Array.create(Number, t.length), r = 0; r < t.length; r++) e[r] = t[r].charCodeAt(0); return e } , t.prototype.makeGrid = function(t, e, r, n) { var o = e.ref , a = r.ref , s = o , l = a , u = Array.create(Number, 3200) , c = null , m = 0; if (0 != s) { for (m = 0; m < this.ecc200List.length; m++) if (this.ecc200List[m].width == s && this.ecc200List[m].height == l) break; if (m == this.ecc200List.length) throw i.format("Invalid size {0}x{1}", s, l) } else { var p = this.dataMatrixEncode(u, 1558, t, n); for (m = 0; m < this.ecc200List.length; m++) if (p <= this.ecc200List[m].bytes) break; if (m == this.ecc200List.length || 0 == p && t.length > 0) throw new Error("Cannot find suitable size, barcode too long"); s = this.ecc200List[m].width, l = this.ecc200List[m].height } if (0 == this.dataMatrixEncode(u, this.ecc200List[m].bytes, t, n) && t.length > 0) throw i.format("Barcode too long for {0}x{1}", s, l); this.makeEcc200Blocks(u, this.ecc200List[m].bytes, this.ecc200List[m].datablock, this.ecc200List[m].rsblock); var h = s - 2 * (s / this.ecc200List[m].fw) , d = l - 2 * (l / this.ecc200List[m].fh) , g = this.dataMatrixPlacement(d, h); c = Array.create(Number, s * l); var f = 0 , S = 0; for (S = 0; S < l; S += this.ecc200List[m].fh) { for (f = 0; f < s; f++) c[S * s + f] = 1; for (f = 0; f < s; f += 2) c[(S + this.ecc200List[m].fh - 1) * s + f] = 1 } for (f = 0; f < s; f += this.ecc200List[m].fw) { for (S = 0; S < l; S++) c[S * s + f] = 1; for (S = 0; S < l; S += 2) c[S * s + f + this.ecc200List[m].fw - 1] = 1 } for (S = 0; S < d; S++) for (f = 0; f < h; f++) { var A = g[(d - S - 1) * h + f]; (1 == A || A > 7 && 0 != (u[(A >> 3) - 1] & 1 << (7 & A))) && (c[(1 + S + 2 * Math.floor(S / (this.ecc200List[m].fh - 2))) * s + 1 + f + 2 * Math.floor(f / (this.ecc200List[m].fw - 2))] = 1) } return o = s, a = l, e.ref = o, r.ref = a, c } , t }(); r.StiDataMatrix = l; var u = function(t) { function i(e, i, n, o, a) { void 0 === e && (e = 40), void 0 === i && (i = r.StiDataMatrixEncodingType.Ascii), void 0 === n && (n = !1), void 0 === o && (o = r.StiDataMatrixSize.Automatic), void 0 === a && (a = !1); var s = t.call(this) || this; return s._module = 40, s._height = 1, s._encodingType = r.StiDataMatrixEncodingType.Ascii, s._matrixSize = r.StiDataMatrixSize.Automatic, s._useRectangularSymbols = !1, s._processTilde = !1, s.module = e, s.encodingType = i, s.useRectangularSymbols = n, s.matrixSize = o, s.processTilde = a, s } return __extends(i, t), i.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyNumber("Height", this.height, 1), i.addPropertyNumber("Module", this.module, 40), i.addPropertyEnum("EncodingType", r.StiDataMatrixEncodingType, this.encodingType, r.StiDataMatrixEncodingType.Ascii), i.addPropertyEnum("MatrixSize", r.StiDataMatrixSize, this.matrixSize, r.StiDataMatrixSize.Automatic), i.addPropertyBool("UseRectangularSymbols", this.useRectangularSymbols), i.addPropertyBool("ProcessTilde", this.processTilde, !1), i } , i.prototype.loadFromJsonObject = function(t) { var e, i; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Module": this.module = s.value.stimulsoft.toNumber(); break; case "Height": this.height = s.value.stimulsoft.toNumber(); break; case "EncodingType": this.encodingType = n.parse(r.StiDataMatrixEncodingType, s.value.toString()); break; case "MatrixSize": this.matrixSize = n.parse(r.StiDataMatrixSize, s.value.toString()); break; case "UseRectangularSymbols": this.useRectangularSymbols = s.value.stimulsoft.toBoolean(); break; case "ProcessTilde": this.processTilde = s.value.stimulsoft.toBoolean(); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (e) throw e.error } } } , i.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var i = 0; i < e.childNodes.length; i++) { var o = e.childNodes[i]; switch (o.nodeName) { case "Module": this.module = o.textContent.stimulsoft.toNumber(); break; case "Height": this.height = o.textContent.stimulsoft.toNumber(); break; case "EncodingType": this.encodingType = n.parse(r.StiDataMatrixEncodingType, o.textContent); break; case "MatrixSize": this.matrixSize = n.parse(r.StiDataMatrixSize, o.textContent); break; case "UseRectangularSymbols": this.useRectangularSymbols = o.textContent.stimulsoft.toBoolean(); break; case "ProcessTilde": this.processTilde = o.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(i.prototype, "componentId", { get: function() { return e.StiComponentId.StiDataMatrixBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "DataMatrix" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "defaultCodeValue", { get: function() { return "12345678901" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 2 && (this._module = 2), t > 400 && (this._module = 400) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "encodingType", { get: function() { return this._encodingType }, set: function(t) { this._encodingType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "matrixSize", { get: function() { return this._matrixSize }, set: function(t) { this._matrixSize = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "useRectangularSymbols", { get: function() { return this._useRectangularSymbols }, set: function(t) { this._useRectangularSymbols = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "processTilde", { get: function() { return this._processTilde }, set: function(t) { this._processTilde = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "labelFontHeight", { get: function() { return this.defaultLabelFontHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[9] = !0, t[12] = !0, t[13] = !0, t[21] = !0, t }, enumerable: !0, configurable: !0 }), i.prototype.draw = function(t, e, r, i) { var n = this.getCode(e); this.barCodeData.code = n; var o = new l(n,this.encodingType,this.useRectangularSymbols,this.matrixSize,this.processTilde); this.barCodeData.matrixGrid = o.matrix, this.barCodeData.matrixWidth = o.width, this.barCodeData.matrixHeight = o.height, this.barCodeData.matrixRatioY = 1, null == o.errorMessage ? this.draw2DBarCode(t, r, e, i) : this.drawBarCodeError2(t, r, e, o.errorMessage) } , i.prototype.createNew = function() { return new i } , i }(r.StiBarCodeTypeService); r.StiDataMatrixBarCodeType = u }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Drawing.StringAlignment , n = t.System.Text.StringBuilder , o = function(t) { function r(e, r) { void 0 === e && (e = 20), void 0 === r && (r = 1); var i = t.call(this) || this; return i.dutchKIXSymbols = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", i.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"], i._module = 20, i._height = 1, i.dutchKIXSpaceLeft = 3.9, i.dutchKIXSpaceRight = 3.9, i.dutchKIXSpaceTop = 3.9, i.dutchKIXSpaceBottom = 2, i.dutchKIXLineHeightLong = 10, i.dutchKIXLineHeightShort = .62 * i.dutchKIXLineHeightLong, i.dutchKIXTextPosition = i.dutchKIXSpaceTop + i.dutchKIXLineHeightLong + i.dutchKIXSpaceBottom + 1, i.dutchKIXTextHeight = 5, i.dutchKIXMainHeight = i.dutchKIXSpaceTop + i.dutchKIXLineHeightLong + i.dutchKIXSpaceBottom + 7, i.dutchKIXLineHeightForCut = i.dutchKIXLineHeightLong, i._module = e, i._height = r, i } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Module", this.module, 20), r.addPropertyNumber("Height", this.height, 1), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , r.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Module": this._module = i.textContent.stimulsoft.toNumber(); break; case "Height": this.height = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiDutchKIXBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Royal TPG Post KIX 4-State" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "2500GG30250" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 15 && (this._module = 15), t > 25 && (this._module = 25) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < 1 && (this._height = 1), t > 1 && (this._height = 1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelFontHeight", { get: function() { return this.dutchKIXTextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[13] = !0, t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "textAlignment", { get: function() { return i.Center }, enumerable: !0, configurable: !0 }), r.prototype.charTo4State = function(t) { var e = this.dutchKIXSymbols.indexOf(t); return this.dutchKIXCodes[e] } , r.prototype.stateToBar = function(t) { for (var e = new n, 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() } , r.prototype.makeBarsArray = function(t, e, r) { for (var i = t.ref, o = e.ref, a = r.ref, s = new n, l = 0; l < i.length; l++) s.append(this.charTo4State(i[l])); return o = this.stateToBar(s.toString()), t.ref = i, e.ref = o, r.ref = a, !0 } , r.prototype.draw = function(t, e, r, i) { var n = this.getCode(e); n = this.checkCodeSymbols(n, this.dutchKIXSymbols); var o = "" , a = "" , s = { ref: n } , l = { ref: o } , u = { ref: a }; this.makeBarsArray(s, l, u) ? (n = 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, i, n, n, o, r, e), this.drawBarCode(t, r, e)) : a.length > 0 ? this.drawBarCodeError2(t, r, e, a) : this.drawBarCodeError(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiBarCodeTypeService); r.StiDutchKIXBarCodeType = o }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r) { return void 0 === e && (e = 13), void 0 === r && (r = 1), t.call(this, e, r) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiEAN128AutoBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "EAN-128 Auto" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "1234567890123" }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { for (var o = this.getCode(e), a = new i, s = 0; s < o.length; s++) { var l = o.charCodeAt(s); a.append(l >= 32 && 129 != l ? String.fromCharCode(l) : String.fromCharCode(8729)) } for (var u = this.encodeAuto(o, !0), c = Array.create(Number, u.length), s = 0; s < u.length; s++) c[s] = u.toString().charCodeAt(s); for (var m = c[0] + c[1], s = 0; s < u.length - 4; s++) m += c[s + 2] * (s + 2); c[c.length - 2] = m % 103; for (var p = new i, s = 0; s < c.length; s++) p.append(this.codeToBar(this.code128Table[c[s]])); var h = a.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, o, h, p.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiCode128BarCodeType); r.StiEAN128AutoBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r) { return void 0 === e && (e = 13), void 0 === r && (r = 1), t.call(this, e, r) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiEAN128aBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "EAN-128a" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "ABC123" }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" + "\0\b\t\n\v\f\r" + "" + ""); var a = new i , s = Array.create(Number, o.length + 4); s[0] = 103, s[1] = 102; for (var l = s[0] + s[1], u = 0; u < o.length; u++) { var c = o.charCodeAt(u); s[u + 2] = c >= 32 ? c - 32 : c + 64, 129 == c && (s[u + 2] = 102), l += s[u + 2] * (u + 2), a.append(c >= 32 && 129 != c ? String.fromCharCode(c) : String.fromCharCode(8729)) } s[s.length - 2] = l % 103, s[s.length - 1] = 106; for (var m = new i, u = 0; u < s.length; u++) m.append(this.codeToBar(this.code128Table[s[u]])); var p = a.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, o, p, m.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiCode128BarCodeType); r.StiEAN128aBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r) { return void 0 === e && (e = 13), void 0 === r && (r = 1), t.call(this, e, r) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiEAN128bBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "EAN-128b" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "ABCabc123" }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" + "F" + ""); var a = new i , s = Array.create(Number, o.length + 4); s[0] = 104, s[1] = 102; for (var l = s[0] + s[1], u = 0; u < o.length; u++) { var c = o.charCodeAt(u); s[u + 2] = c - 32, 129 == c && (s[u + 2] = 102), l += s[u + 2] * (u + 2), a.append(129 != c ? String.fromCharCode(c) : String.fromCharCode(8729)) } s[s.length - 2] = l % 103, s[s.length - 1] = 106; for (var m = new i, u = 0; u < s.length; u++) m.append(this.codeToBar(this.code128Table[s[u]])); var p = a.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, o, p, m.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiCode128BarCodeType); r.StiEAN128bBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r) { return void 0 === e && (e = 13), void 0 === r && (r = 1), t.call(this, e, r) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiEAN128cBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "EAN-128c" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "0123456789012345" }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, "0123456789" + ""); for (var a = [], s = new i, l = "", u = 0; u < o.length; u++) { var c = o.charCodeAt(u); 129 == c ? (a.add(l), l = "", s.append(String.fromCharCode(8226))) : (l += String.fromCharCode(c), s.append(c)) } l.length > 0 && a.add(l), 0 == a.length && a.add(l); for (var m = new i, u = 0; u < a.length; u++) { for (var p = a[u], h = Math.floor(p.length / 2), d = 0; d < h; d++) { var g = parseInt(p.substr(2 * d, 2)); m.append(String.fromCharCode(g)) } if (p.length % 2 == 1) { m.append(String.fromCharCode(100)); var g = p.charCodeAt(p.length - 1); m.append(String.fromCharCode(g - 32)), u < a.length - 1 && m.append(String.fromCharCode(99)) } u < a.length - 1 && m.append(String.fromCharCode(102)) } var f = Array.create(Number, m.length + 4); f[0] = 105, f[1] = 102; for (var u = 0; u < m.length; u++) f[u + 2] = m.toString().charCodeAt(u); for (var S = f[0] + f[1], u = 0; u < f.length - 4; u++) S += f[u + 2] * (u + 2); f[f.length - 2] = S % 103, f[f.length - 1] = 106; for (var A = new i, u = 0; u < f.length; u++) A.append(this.codeToBar(this.code128Table[f[u]])); for (var y = new i, u = 0; u < s.length; u++) { var g = parseInt(s.toString().substr(u, 2)); y.append(String.fromCharCode(g)), u++ } this.calculateSizeFull(this.code128SpaceLeft, this.code128SpaceRight, this.code128SpaceTop, this.code128SpaceBottom, this.code128LineHeightShort, this.code128LineHeightLong, this.code128TextPosition, this.code128TextHeight, this.code128MainHeight, this.code128LineHeightForCut, 2, n, o, y.toString(), A.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiCode128BarCodeType); r.StiEAN128cBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Drawing.StringAlignment , n = t.System.Drawing.GraphicsUnit , o = t.Report.Components.StiAngle , a = t.System.Text.StringBuilder , s = t.System.Drawing.Rectangle , l = t.Base.Drawing.StiSolidBrush , u = t.System.Drawing.Font , c = t.System.Drawing.StringFormat , m = t.System.Enum , p = function() { function t(t, e, r, i) { void 0 === i && (i = !1), this.symbolType = t, this.symbolText = e, this.textAtTop = r, this.makeLonger = i } return t }(); r.EanBarInfo = p; var h; !function(t) { t[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" }(h = r.Ean13Symbol || (r.Ean13Symbol = {})); var d = function(t) { function d(e, i, n, o, a) { void 0 === e && (e = 13), void 0 === i && (i = 1), void 0 === n && (n = r.StiEanSupplementType.None), void 0 === o && (o = null), void 0 === a && (a = !0); var s = t.call(this) || this; return s._module = 13, s._height = 1, s._supplementType = r.StiEanSupplementType.None, s._supplementCode = null, s._showQuietZoneIndicator = !0, s.symComboSet = ["000000", "001011", "001101", "001110", "010011", "011001", "011100", "010101", "010110", "011010"], s.symParitySetAdd2 = ["oo", "oe", "eo", "ee"], s.symParitySetAdd5 = ["eeooo", "eoeoo", "eooeo", "eoooe", "oeeoo", "ooeeo", "oooee", "oeoeo", "oeooe", "ooeoe"], s.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"], s.module = e, s.height = i, s.supplementType = n, s.supplementCode = o, s.showQuietZoneIndicator = a, s } return __extends(d, t), d.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyNumber("Module", this.module, 13), i.addPropertyNumber("Height", this.height, 1), i.addPropertyEnum("SupplementType", r.StiEanSupplementType, this.supplementType, r.StiEanSupplementType.None), i.addPropertyStringNullOrEmpty("SupplementCode", this.supplementCode), i.addPropertyBool("ShowQuietZoneIndicator", this.showQuietZoneIndicator, !0), i } , d.prototype.loadFromJsonObject = function(t) { var e, i; try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Module": this.module = a.value.stimulsoft.toNumber(); break; case "Height": this.height = a.value.stimulsoft.toNumber(); break; case "SupplementType": this.supplementType = m.parse(r.StiEanSupplementType, a.value.toString()); break; case "SupplementCode": this.supplementCode = a.value.toString(); break; case "ShowQuietZoneIndicator": this.showQuietZoneIndicator = a.value.stimulsoft.toBoolean(); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , d.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "Module": this.module = n.textContent.stimulsoft.toNumber(); break; case "Height": this.height = n.textContent.stimulsoft.toNumber(); break; case "SupplementType": this.supplementType = m.parse(r.StiEanSupplementType, n.textContent.toString()); break; case "SupplementCode": this.supplementCode = n.textContent.toString(); break; case "ShowQuietZoneIndicator": this.showQuietZoneIndicator = n.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(d.prototype, "componentId", { get: function() { return e.StiComponentId.StiEAN13BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "serviceName", { get: function() { return "EAN-13" }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "defaultCodeValue", { get: function() { return "0123456789012" }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[17] = !0, t[19] = !0, t[20] = !0, t }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 10.4 && (this._module = 10.4), t > 26 && (this._module = 26) }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .5 && (this._height = .5), t > 1 && (this._height = 1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "supplementType", { get: function() { return this._supplementType }, set: function(t) { this._supplementType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "supplementCode", { get: function() { return this._supplementCode }, set: function(t) { this._supplementCode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "showQuietZoneIndicator", { get: function() { return this._showQuietZoneIndicator }, set: function(t) { this._showQuietZoneIndicator = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "labelFontHeight", { get: function() { return this.eanTextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanSpaceLeft", { get: function() { return 11 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanSpaceRight", { get: function() { return 8 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanSpaceTop", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanSpaceBottom", { get: function() { return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanSpaceBeforeAdd", { get: function() { return 10 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanSpaceTextTop", { get: function() { return 10 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanLineHeightShort", { get: function() { return 69.2 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanLineHeightLong", { get: function() { return this.eanLineHeightShort + 5 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanTextPositionTop", { get: function() { return .5 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanTextPositionBottom", { get: function() { return this.eanLineHeightShort + this.eanSpaceBottom }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanTextHeight", { get: function() { return 8.33 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanMainHeight", { get: function() { return 78.58 }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanLineHeightForCut", { get: function() { return this.eanLineHeightShort }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "eanWideToNarrowRatio", { get: function() { return 2 }, enumerable: !0, configurable: !0 }), d.prototype.calculateSizeEan = function(t, e, r, i, n) { var l, u; this.barCodeData.wideToNarrowRatio = 2, this.barCodeData.eanBarsArray = r; var c = new a; try { for (var m = __values(r), p = m.next(); !p.done; p = m.next()) { var h = p.value; c.append(this.ean13SymData[h.symbolType]) } } catch (t) { l = { error: t } } finally { try { p && !p.done && (u = m.return) && u.call(m) } finally { if (l) throw l.error } } var d = this.getSymbolsStringWidth(c.toString()); this.rectWindow = new s(0,0,i.width,i.height), n.angle != o.Angle90 && n.angle != o.Angle270 || (this.rectWindow = new s(0,0,i.height,i.width)); var g = n.font.sizeInPoints - 8 + .5 , f = this.eanMainHeight + g , S = this.eanTextHeight + g , A = this.module / 10 * e , y = A , w = this.eanLineHeightForCut * (1 - this.height) , b = this.eanSpaceTextTop + g; n.autoScale && (A = this.rectWindow.width / d, w = -(this.rectWindow.height / y - (f + t)), n.showLabelText || (w -= this.eanTextHeight, b -= this.eanTextHeight)), this.barCodeData.fullZoomY = y, this.barCodeData.spaceLeft = this.eanSpaceLeft * A, this.barCodeData.spaceRight = this.eanSpaceRight * A, this.barCodeData.spaceBeforeAdd = this.eanSpaceBeforeAdd * A, this.barCodeData.lineWidth = 1 * A, this.barCodeData.mainWidth = d * A, this.barCodeData.spaceTop = this.eanSpaceTop * y, this.barCodeData.spaceBottom = this.eanSpaceBottom * y, this.barCodeData.spaceTextTop = b * y, this.barCodeData.lineHeightShort = (this.eanLineHeightShort - w) * y, this.barCodeData.lineHeightLong = (this.eanLineHeightLong - w) * y, this.barCodeData.textPositionTop = this.eanTextPositionTop * y, this.barCodeData.textPositionBottom = (this.eanTextPositionBottom - w) * y, this.barCodeData.mainHeight = (f + t - w) * y, this.barCodeData.textHeight = S * y, this.barCodeData.offsetY = t * y } , d.prototype.drawEanBars = function(t, e, r) { var o, a, m = new l(r.backColor), p = new l(r.foreColor); this.baseFillRectangle(t, m, 0, 0, this.barCodeData.mainWidth, this.barCodeData.mainHeight); var h = 0 , d = this.barCodeData.offsetY + this.barCodeData.spaceTop , g = new c , f = new u(r.font.name,r.font.size * (r.barCodeType.labelFontHeight / 8) * this.barCodeData.fullZoomY,r.font.style,n.Pixel); g.alignment = i.Center, g.lineAlignment = i.Near; try { for (var S = __values(e), A = S.next(); !A.done; A = S.next()) { var y = A.value , w = 0 , b = this.ean13SymData[y.symbolType]; y.makeLonger && (b = this.makeLonger(b)); for (var v = 0; v < b.length; v++) { var C = b[v]; if (0 == this.isSymbolSpace(C)) { var E = this.barCodeData.lineHeightShort; (this.isSymbolLong(C) || y.textAtTop) && (E = this.barCodeData.lineHeightLong); var B = 0; y.textAtTop && (B = this.barCodeData.spaceTextTop), this.baseFillRectangle(t, p, h + this.barCodeData.lineWidth * w, d + B, this.barCodeData.lineWidth * this.getSymbolWidth(C), E - B) } w += this.getSymbolWidth(C) } if (r.showLabelText && " " != y.symbolText) { var T = null; T = y.textAtTop ? new s(h,d + this.barCodeData.textPositionTop,w * this.barCodeData.lineWidth,this.barCodeData.spaceTextTop) : new s(h,d + this.barCodeData.textPositionBottom,w * this.barCodeData.lineWidth,this.barCodeData.spaceTextTop), this.baseDrawString2(t, y.symbolText.toString(), f, p, T, g) } h += this.barCodeData.lineWidth * w } } catch (t) { o = { error: t } } finally { try { A && !A.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } } , d.prototype.makeEan13Bars = function(t, e) { for (var r = t.ref, i = Array.create(Number, 12), n = 0; n < 12; n++) i[n] = r.charCodeAt(n) - 48; var o = 3 * (i[1] + i[3] + i[5] + i[7] + i[9] + i[11]) + i[0] + i[2] + i[4] + i[6] + i[8] + i[10] , a = 10 - o % 10; 10 == a && (a = 0), r = r.substr(0, 12) + String.fromCharCode(a + 48), i[12] = a; var s = []; s.add(new p(h.SpaceLeft,r[0],!1)), s.add(new p(h.GuardLeft," ",!1)); for (var l = i[0], u = 0; u < 6; u++) { var c = i[1 + u] , m = new p(h.ComboA0 + c,r.charAt(1 + u),!1); "0" != this.symComboSet[l][u] && (m.symbolType = h.ComboB0 + c), s.add(m) } s.add(new p(h.GuardCenter," ",!1)); for (var u = 0; u < 6; u++) { var c = i[7 + u] , m = new p(h.ComboC0 + c,r.charAt(7 + u),!1); s.add(m) } return s.add(new p(h.GuardRight," ",!1)), e ? s.add(new p(h.SpaceRight,this.showQuietZoneIndicator ? ">" : " ",!1)) : s.add(new p(h.SpaceBeforeAdd," ",!1)), t.ref = r, s } , d.prototype.makeEanAdd2Bars = function(t, e, r) { var i = null != e ? e : []; i.add(new p(h.GuardAddLeft," ",!0)); for (var n = 2, o = this.symParitySetAdd2[parseInt(t.substr(0, 2)) % 4], a = 0; a < n; a++) { var s = parseInt(t[a].toString()) , l = o[a] , u = new p(h.ComboA0 + s,t[a],!0); "o" != l && (u.symbolType = h.ComboB0 + s), i.add(u), a < n - 1 && i.add(new p(h.GuardAddDelineator," ",!0)) } return r ? i.add(new p(h.SpaceRight,this.showQuietZoneIndicator ? ">" : " ",!0)) : i.add(new p(h.SpaceBeforeAdd," ",!0)), i } , d.prototype.makeEanAdd5Bars = function(t, e, r) { var i = null != e ? e : []; i.add(new p(h.GuardAddLeft," ",!0)); for (var n = 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()), o = this.symParitySetAdd5[n % 10], a = 5, s = 0; s < a; s++) { var l = parseInt(t[s].toString()) , u = o[s] , c = new p(h.ComboA0 + l,t[s],!0); "o" != u && (c.symbolType = h.ComboB0 + l), i.add(c), s < a - 1 && i.add(new p(h.GuardAddDelineator," ",!0)) } return r ? i.add(new p(h.SpaceRight,this.showQuietZoneIndicator ? ">" : " ",!0)) : i.add(new p(h.SpaceBeforeAdd," ",!0)), i } , d.prototype.makeLonger = function(t) { for (var e = new a, r = 0; r < t.length; r++) { var i = t[r]; switch (i) { case "4": i = "8"; break; case "5": i = "9"; break; case "6": i = "a"; break; case "7": i = "b"; break } e.append(i) } return e.toString() } , d.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 } , d.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 } , d.prototype.draw = function(t, e, i, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, "0123456789") + "0000000000000"; var a = this.checkCodeSymbols(this.supplementCode, "0123456789") + "00000" , s = null; if (this.supplementType == r.StiEanSupplementType.None) { var l = { ref: o }; s = this.makeEan13Bars(l, !0), o = l.ref } else { var l = { ref: o }; s = this.makeEan13Bars(l, !1), o = l.ref, this.supplementType == r.StiEanSupplementType.TwoDigit ? this.makeEanAdd2Bars(a, s, !0) : this.makeEanAdd5Bars(a, s, !0) } this.calculateSizeEan(0, n, s, i, e), this.translateRect(t, i, e), this.drawEanBars(t, s, e), this.rollbackTransform(t) } , d.prototype.createNew = function() { return new d } , d }(r.StiBarCodeTypeService); r.StiEAN13BarCodeType = d }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, i, n, o, a) { return void 0 === t && (t = 13), void 0 === i && (i = 1), void 0 === n && (n = e.StiEanSupplementType.None), void 0 === o && (o = null), void 0 === a && (a = !0), r.call(this, t, i, n, o, a) || this } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiEAN8BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "EAN-8" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "defaultCodeValue", { get: function() { return "12345678" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "eanSpaceLeft", { get: function() { return 7 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "eanSpaceRight", { get: function() { return 7 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "eanLineHeightShort", { get: function() { return 55.2 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "eanMainHeight", { get: function() { return 64.58 }, enumerable: !0, configurable: !0 }), i.prototype.makeEan8Bars = function(t, r) { for (var i = Array.create(Number, 8), n = 0; n < 7; n++) i[n] = parseInt(t.charAt(n)); var o = 3 * (i[0] + i[2] + i[4] + i[6]) + i[1] + i[3] + i[5] , a = 10 - o % 10; 10 == a && (a = 0), t = t.substr(0, 7) + String.fromCharCode(a + 48); var s = []; s.add(new e.EanBarInfo(e.Ean13Symbol.SpaceLeft,this.showQuietZoneIndicator ? "<" : " ",!1)), s.add(new e.EanBarInfo(e.Ean13Symbol.GuardLeft," ",!1)); for (var l = 0; l < 4; l++) { var u = parseInt(t.charAt(0 + l)) , c = new e.EanBarInfo(e.Ean13Symbol.ComboA0 + u,t.charAt(0 + l),!1); s.add(c) } s.add(new e.EanBarInfo(e.Ean13Symbol.GuardCenter," ",!1)); for (var l = 0; l < 4; l++) { var u = parseInt(t.charAt(4 + l)) , c = new e.EanBarInfo(e.Ean13Symbol.ComboC0 + u,t.charAt(4 + l),!1); s.add(c) } return s.add(new e.EanBarInfo(e.Ean13Symbol.GuardRight," ",!1)), r ? s.add(new e.EanBarInfo(e.Ean13Symbol.SpaceRight,this.showQuietZoneIndicator ? ">" : " ",!1)) : s.add(new e.EanBarInfo(e.Ean13Symbol.SpaceBeforeAdd," ",!1)), s } , i.prototype.draw = function(t, r, i, n) { var o = this.getCode(r); o = this.checkCodeSymbols(o, "0123456789") + "00000000"; var a = this.checkCodeSymbols(this.supplementCode, "0123456789") + "00000" , s = []; this.supplementType == e.StiEanSupplementType.None ? s = this.makeEan8Bars(o, !0) : (s = this.makeEan8Bars(o, !1), this.supplementType == e.StiEanSupplementType.TwoDigit ? this.makeEanAdd2Bars(a, s, !0) : this.makeEanAdd5Bars(a, s, !0)), this.calculateSizeEan(0, n, s, i, r), this.translateRect(t, i, r), this.drawEanBars(t, s, r), this.rollbackTransform(t) } , i.prototype.createNew = function() { return new i } , i }(e.StiEAN13BarCodeType); e.StiEAN8BarCodeType = r }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r, i) { void 0 === t && (t = 31.25), void 0 === r && (r = 1), void 0 === i && (i = !1); var n = e.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 = r, n._addClearZone = i, n } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyNumber("Module", this.module, this.defaultFIMModule), r.addPropertyNumber("Height", this.height, 1), r.addPropertyBool("AddClearZone", this.addClearZone), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , r.prototype.loadFromXmlObject = function(t) { e.prototype.loadFromXmlObject.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Module": this._module = i.textContent.stimulsoft.toNumber(); break; case "Height": this.height = i.textContent.stimulsoft.toNumber(); break; case "AddClearZone": this._addClearZone = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiFIMBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "FIM" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "A" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[22] = !0, t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = this.defaultFIMModule }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "addClearZone", { get: function() { return this._addClearZone }, set: function(t) { this._addClearZone = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelFontHeight", { get: function() { return this.fIMTextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fIMSpaceLeft", { get: function() { return this.addClearZone ? 16 : 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "fIMSpaceRight", { get: function() { return this.addClearZone ? 7 : 1 }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, i) { var n = this.getCode(e).toLowerCase(); n = this.checkCodeSymbols(n, this.fIMSymbols) + "a"; var o = ""; switch (n[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, i, n, "", o, r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(e.StiBarCodeTypeService); e.StiFIMBarCodeType = r }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Text.StringBuilder , o = t.Base.Drawing.StiSolidBrush , a = function(t) { function a(e, r, i, n) { void 0 === e && (e = 13), void 0 === r && (r = 1), void 0 === i && (i = 2.5), void 0 === n && (n = !1); var o = t.call(this) || this; return o._module = 40, o._height = 1, o._ratio = 2.5, o._printVerticalBars = !1, o.symTableSet = ["00110", "10001", "01001", "11000", "00101", "10100", "01100", "00011", "10010", "01010", "0000", "100"], o.itf14BearerBarWidth = 2, o.itf14SpaceLeft = 10, o.itf14SpaceRight = 10, o.itf14SpaceTop = o.itf14BearerBarWidth, o.itf14SpaceBottom = o.itf14BearerBarWidth + 1, o.itf14LineHeightShort = 31.25, o.itf14LineHeightLong = o.itf14LineHeightShort, o.itf14TextHeight = 8.33, o.itf14MainHeight = 51.75, o.itf14TextPosition = o.itf14SpaceTop + o.itf14LineHeightShort + o.itf14SpaceBottom, o.itf14LineHeightForCut = o.itf14LineHeightShort, o.module = e, o.height = r, o.ratio = i, o.printVerticalBars = n, o } return __extends(a, t), a.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Module", this.module, 40), r.addPropertyNumber("Height", this.height, 1), r.addPropertyNumber("Ratio", this.ratio, 2.5), r.addPropertyBool("PrintVerticalBars", this.printVerticalBars), r } , a.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , a.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Module": this.module = i.textContent.stimulsoft.toNumber(); break; case "Height": this.height = i.textContent.stimulsoft.toNumber(); break; case "Ratio": this.ratio = i.textContent.stimulsoft.toNumber(); break; case "PrintVerticalBars": this.printVerticalBars = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(a.prototype, "componentId", { get: function() { return e.StiComponentId.StiITF14BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "serviceName", { get: function() { return "ITF-14" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "defaultCodeValue", { get: function() { return "15400141288763" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 10 && (this._module = 10), t > 40 && (this._module = 40), this.ratio = this.ratio }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .5 && (this._height = .5), t > 2 && (this._height = 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "ratio", { get: function() { return this._ratio }, set: function(t) { this._ratio = t, t < 2.25 && (this._ratio = 2.25), t > 3 && (this._ratio = 3) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "printVerticalBars", { get: function() { return this._printVerticalBars }, set: function(t) { this._printVerticalBars = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "labelFontHeight", { get: function() { return this.itf14TextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[14] = !0, t[15] = !0, t }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(t, e, a, s) { var l = this.getCode(e); l = this.checkCodeSymbols(l, "0123456789") + i.fill("0", 14); for (var u = Array.create(Number, 14), c = 0; c < 14; c++) u[c] = l[c].stimulsoft.toNumber(); var m = 3 * (u[0] + u[2] + u[4] + u[6] + u[8] + u[10] + u[12]) + u[1] + u[3] + u[5] + u[7] + u[9] + u[11] , p = 10 - m % 10; 10 == p && (p = 0), u[13] = p, l = l.substr(0, 13) + String.fromCharCode(p + 48); var h = new n; h.append(this.symTableSet[10]); for (var d = 0; d < 7; d++) { var g = this.symTableSet[u[2 * d + 0]] , f = this.symTableSet[u[2 * d + 1]] , S = g[0] + f[0] + g[1] + f[1] + g[2] + f[2] + g[3] + f[3] + g[4] + f[4]; h.append(S) } h.append(this.symTableSet[11]); for (var A = h.toString(), y = new n, w = !0, d = 0; d < A.length; d++) { var b = void 0; b = 1 == w ? "0" == A[d] ? "4" : "5" : "0" == A[d] ? "0" : "1", y.append(b), w = !w } 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, s, l, l, y.toString(), a, e); var v = function(t, e, i) { i.baseFillRectangle(t, e, 0, 0, i.barCodeData.mainWidth, i.barCodeData.spaceTop), i.baseFillRectangle(t, e, 0, i.barCodeData.spaceTop + i.barCodeData.lineHeightShort, i.barCodeData.mainWidth, i.barCodeData.spaceTop), i.stimulsoft.as(r.StiBarCodeTypeService).printVerticalBars && (i.baseFillRectangle(t, e, 0, 0, i.barCodeData.spaceTop, i.barCodeData.lineHeightShort + 2 * i.barCodeData.spaceTop), i.baseFillRectangle(t, e, i.barCodeData.mainWidth - i.barCodeData.spaceTop, 0, i.barCodeData.spaceTop, i.barCodeData.lineHeightShort + 2 * i.barCodeData.spaceTop)) }; this.drawBarCode1(t, a, e, v); var C = new o(e.foreColor) } , a.prototype.createNew = function() { return new a } , a }(r.StiBarCodeTypeService); r.StiITF14BarCodeType = a }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._module = 13, e._height = 1, e._ratio = 2.2, e.symTableSet = ["00110", "10001", "01001", "11000", "00101", "10100", "01100", "00011", "10010", "01010", "0000", "100"], e.interleaved2of5SpaceLeft = 10, e.interleaved2of5SpaceRight = 10, e.interleaved2of5SpaceTop = 0, e.interleaved2of5SpaceBottom = 1, e.interleaved2of5LineHeightShort = 40, e.interleaved2of5LineHeightLong = e.interleaved2of5LineHeightShort, e.interleaved2of5TextHeight = 8.33, e.interleaved2of5MainHeight = 50, e.interleaved2of5TextPosition = e.interleaved2of5LineHeightShort + e.interleaved2of5SpaceBottom, e.interleaved2of5LineHeightForCut = e.interleaved2of5LineHeightShort, e } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Module", this.module, 13), r.addPropertyNumber("Height", this.height, 1), r.addPropertyNumber("Ratio", this.ratio, 2.2), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , r.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Module": this.module = i.textContent.stimulsoft.toNumber(); break; case "Height": this.height = i.textContent.stimulsoft.toNumber(); break; case "Ratio": this.ratio = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiInterleaved2of5BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "2of5 Interleaved" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "12345678" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 7.5 && (this._module = 7.5), t > 40 && (this._module = 40) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .5 && (this._height = .5), t > 2 && (this._height = 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "ratio", { get: function() { return this._ratio }, set: function(t) { this._ratio = t; var e = this.module > 20 ? 2 : 2.2; t < e && (this._ratio = e), t > 3 && (this._ratio = 3) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelFontHeight", { get: function() { return 8.33 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[15] = !0, t }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, "0123456789"), o.length % 2 == 1 && (o = "0" + o); var a = new i; if (a.append(this.symTableSet[10]), o.length > 0) for (var s = 0; s < o.length / 2; s++) { var l = this.symTableSet[parseInt(o[2 * s + 0].toString())] , u = this.symTableSet[parseInt(o[2 * s + 1].toString())] , c = new i; c.append(l[0]), c.append(u[0]), c.append(l[1]), c.append(u[1]), c.append(l[2]), c.append(u[2]), c.append(l[3]), c.append(u[3]), c.append(l[4]), c.append(u[4]), a.append(c.toString()) } a.append(this.symTableSet[11]); for (var m = !0, p = a.toString(), h = new i, s = 0; s < p.length; s++) { var d = void 0; d = 1 == m ? "0" == p.charAt(s) ? "4" : "5" : "0" == p.charAt(s) ? "0" : "1", h.append(d), m = !m } 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, o, o, h.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r.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 } , r }(r.StiBarCodeTypeService); r.StiInterleaved2of5BarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Drawing.StiSolidBrush , n = t.System.Drawing.Rectangle , o = t.System.Drawing.Font , a = t.System.Drawing.StringFormat , s = t.System.Drawing.StringAlignment , l = t.System.Drawing.GraphicsUnit , u = function(t) { function u(e, i, n, o, a) { void 0 === e && (e = 13), void 0 === i && (i = 1), void 0 === n && (n = r.StiEanSupplementType.None), void 0 === o && (o = null), void 0 === a && (a = !0); var s = t.call(this, e, i, n, o, a) || this; return s.isbnOffsetY = 10, s } return __extends(u, t), Object.defineProperty(u.prototype, "componentId", { get: function() { return e.StiComponentId.StiIsbn13BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "serviceName", { get: function() { return "ISBN-13" }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "defaultCodeValue", { get: function() { return "978-0-7356-2153-4" }, enumerable: !0, configurable: !0 }), u.prototype.draw = function(t, e, u, c) { var m = this.getCode(e) , p = this.checkCodeSymbols(m, "0123456789") + "0000000000000" , h = this.checkCodeSymbols(this.supplementCode, "0123456789") + "00000" , d = []; if (this.supplementType == r.StiEanSupplementType.None) { var g = { ref: p }; d = this.makeEan13Bars(g, !0), p = g.ref } else { var g = { ref: p }; d = this.makeEan13Bars(g, !1), p = g.ref, this.supplementType == r.StiEanSupplementType.TwoDigit ? this.makeEanAdd2Bars(h, d, !0) : this.makeEanAdd5Bars(h, d, !0) } this.calculateSizeEan(this.isbnOffsetY, c, d, u, e), this.translateRect(t, u, e), this.drawEanBars(t, d, e); var f = new i(e.foreColor) , S = new a , A = new o(e.font.name,e.font.size * (e.barCodeType.labelFontHeight / 8) * this.barCodeData.fullZoomY,e.font.style,l.Pixel) , y = "ISBN " + m; S.lineAlignment = s.Center, S.alignment = s.Center, this.baseDrawString2(t, y, A, f, new n(0,0,this.barCodeData.mainWidth,this.barCodeData.spaceTextTop), S), this.rollbackTransform(t) } , u.prototype.createNew = function() { return new u } , u }(r.StiEAN13BarCodeType); r.StiIsbn13BarCodeType = u }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Drawing.StiSolidBrush , n = t.System.Drawing.StringAlignment , o = t.System.Drawing.Rectangle , a = t.System.Drawing.Font , s = t.System.Drawing.StringFormat , l = t.System.Drawing.GraphicsUnit , u = function(t) { function u(e, i, n, o, a) { return void 0 === e && (e = 13), void 0 === i && (i = 1), void 0 === n && (n = r.StiEanSupplementType.None), void 0 === o && (o = null), void 0 === a && (a = !0), t.call(this, e, i, n, o, a) || this } return __extends(u, t), Object.defineProperty(u.prototype, "componentId", { get: function() { return e.StiComponentId.StiIsbn10BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[17] = !0, t[19] = !0, t[20] = !0, t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "serviceName", { get: function() { return "ISBN-10" }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "defaultCodeValue", { get: function() { return "0-7356-2153-5" }, enumerable: !0, configurable: !0 }), u.prototype.draw = function(t, e, u, c) { var m = this.getCode(e) , p = "978" + this.checkCodeSymbols(m, "0123456789") + "0000000000000" , h = this.checkCodeSymbols(this.supplementCode, "0123456789") + "00000" , d = []; if (this.supplementType == r.StiEanSupplementType.None) { var g = { ref: p }; d = this.makeEan13Bars(g, !0), p = g.ref } else { var g = { ref: p }; d = this.makeEan13Bars(g, !1), p = g.ref, this.supplementType == r.StiEanSupplementType.TwoDigit ? this.makeEanAdd2Bars(h, d, !0) : this.makeEanAdd5Bars(h, d, !0) } this.calculateSizeEan(this.isbnOffsetY, c, d, u, e), this.translateRect(t, u, e), this.drawEanBars(t, d, e); var f = new i(e.foreColor) , S = new s , A = new a(e.font.name,e.font.size * (e.barCodeType.labelFontHeight / 8) * this.barCodeData.fullZoomY,e.font.style,l.Pixel) , y = "ISBN " + m; S.lineAlignment = n.Center, S.alignment = n.Center, this.baseDrawString2(t, y, A, f, new o(0,0,this.barCodeData.mainWidth,this.barCodeData.spaceTextTop), S), this.rollbackTransform(t) } , u.prototype.createNew = function() { return new u } , u }(r.StiIsbn13BarCodeType); r.StiIsbn10BarCodeType = u }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, i, n, o, a) { return void 0 === t && (t = 13), void 0 === i && (i = 1), void 0 === n && (n = e.StiEanSupplementType.None), void 0 === o && (o = null), void 0 === a && (a = !0), r.call(this, t, i, n, o, a) || this } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiJan13BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "JAN-13" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "defaultCodeValue", { get: function() { return "4523456789012" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[17] = !0, t[19] = !0, t[20] = !0, t }, enumerable: !0, configurable: !0 }), i.prototype.draw = function(t, r, i, n) { var o = this.getCode(r) , a = this.checkCodeSymbols(o, "0123456789") + "0000000000000" , s = this.checkCodeSymbols(this.supplementCode, "0123456789") + "00000"; if (!a.stimulsoft.startsWith("45") && !a.stimulsoft.startsWith("49")) return void this.drawBarCodeError(t, i, r); var l = []; if (this.supplementType == e.StiEanSupplementType.None) { var u = { ref: a }; l = this.makeEan13Bars(u, !0), a = u.ref } else { var u = { ref: a }; l = this.makeEan13Bars(u, !1), a = u.ref, this.supplementType == e.StiEanSupplementType.TwoDigit ? this.makeEanAdd2Bars(s, l, !0) : this.makeEanAdd5Bars(s, l, !0) } this.calculateSizeEan(0, n, l, i, r), this.translateRect(t, i, r), this.drawEanBars(t, l, r), this.rollbackTransform(t) } , i.prototype.createNew = function() { return new i } , i }(e.StiEAN13BarCodeType); e.StiJan13BarCodeType = r }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, i, n, o, a) { return void 0 === t && (t = 13), void 0 === i && (i = 1), void 0 === n && (n = e.StiEanSupplementType.None), void 0 === o && (o = null), void 0 === a && (a = !0), r.call(this, t, i, n, o, a) || this } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiJan8BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "JAN-8" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "defaultCodeValue", { get: function() { return "4523456789012" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[17] = !0, t[19] = !0, t[20] = !0, t }, enumerable: !0, configurable: !0 }), i.prototype.draw = function(t, r, i, n) { var o = this.getCode(r) , a = this.checkCodeSymbols(o, "0123456789") + "0000000000000" , s = this.checkCodeSymbols(this.supplementCode, "0123456789") + "00000"; if (!a.stimulsoft.startsWith("45") && !a.stimulsoft.startsWith("49")) return void this.drawBarCodeError(t, i, r); var l = []; this.supplementType == e.StiEanSupplementType.None ? l = this.makeEan8Bars(a, !0) : (l = this.makeEan8Bars(a, !1), this.supplementType == e.StiEanSupplementType.TwoDigit ? this.makeEanAdd2Bars(s, l, !0) : this.makeEanAdd5Bars(s, l, !0)), this.calculateSizeEan(0, n, l, i, r), this.translateRect(t, i, r), this.drawEanBars(t, l, r), this.rollbackTransform(t) } , i.prototype.createNew = function() { return new i } , i }(e.StiEAN8BarCodeType); e.StiJan8BarCodeType = r }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = t.Report.BarCodes.StiMaxicodeMode , o = t.System.Text.Encoding , a = function() { function t(t, e, r) { this.log = null, this.alog = null, this.rspoly = null; var i = 0 , n = 0; for (n = 1; n <= t; n <<= 1) i++; n >>= 1, i--, this.logmod = (1 << i) - 1, this.log = Array.create(Number, this.logmod + 1), this.alog = Array.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) & n) && (o ^= t); this.rlen = e, this.rspoly = Array.create(Number, e + 1), this.rspoly[0] = 1; for (var s = 1; s <= e; s++) { this.rspoly[s] = 1; for (var l = s - 1; l > 0; 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++ } } return t.prototype.encode = function(t, e) { for (var r = Array.create(Number, this.rlen), i = 0; i < t; i++) { for (var n = r[this.rlen - 1] ^ e[i], o = this.rlen - 1; o > 0; o--) 0 != n && 0 != this.rspoly[o] ? r[o] = r[o - 1] ^ this.alog[(this.log[n] + this.log[this.rspoly[o]]) % this.logmod] : r[o] = r[o - 1]; 0 != n && 0 != this.rspoly[0] ? r[0] = this.alog[(this.log[n] + this.log[this.rspoly[0]]) % this.logmod] : r[0] = 0 } return r } , t }() , s = function() { function t(e, r, i, o, a) { 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 = Array.create(Number, 144), this.character = Array.create(Number, 144), this.grid = Array.create(Boolean, 33, 30), this.errorMessage = null; try { if (i < 1 || i > 8) throw new Error("Invalid structured append position: " + i); if (o < 1 || o > 8) throw new Error("Invalid structured append total: " + o); this.mode = r, this.structuredAppendPosition = i, this.structuredAppendTotal = o; var s = a ? this.unpackTilde(e) : e; if (this.mode == n.Mode2 || this.mode == n.Mode3) { var l = null; if (s.stimulsoft.startsWith(t.formatHeader)) { if (!s.stimulsoft.endsWith(t.formatTrailer)) throw new Error("Unexpected end of input data"); l = s.substr(7, 2), s = s.substr(9, s.length - 11) } var u = this.extractPrimaryParts(s); if (u.length < 4) throw new Error("Invalid message format"); if (this.data_Postcode = u[0].trim(), this.data_Country = u[1].trim().stimulsoft.toNumber(), isNaN(this.data_Country)) throw new Error("Invalid country data"); if (this.data_Service = u[2].trim().stimulsoft.toNumber(), isNaN(this.data_Service)) throw new Error("Invalid service data"); if (this.content = u[3].trim(), null != l && (this.content = t.formatHeader + l + this.content + t.formatTrailer), this.mode == n.Mode2) for (var c = 0; c < this.data_Postcode.length; c++) if (this.data_Postcode[c] < "0" || this.data_Postcode[c] > "9") { this.mode = n.Mode3; break } } else this.content = s; this.encode() } catch (t) { this.errorMessage = t.message } } return Object.defineProperty(t.prototype, "matrix", { get: function() { return this.gridToMatrix() }, enumerable: !0, configurable: !0 }), t.prototype.getEciEncoding = function() { if (this.tryCodePage(20127)) return 3; return this.tryCodePage(65001), 26 } , t.prototype.tryCodePage = function(t) { try { var e = o.getEncoding(t); this.sourceBytes = e.getBytes(this.content); var r = e.getString(this.sourceBytes); if (this.content == r) return !0 } catch (t) {} return !1 } , t.prototype.unpackTilde = function(t) { var e = 0 , r = ""; while (e < t.length) { var i = t[e++] , n = !1; if ("~" == i && e + 2 < t.length) { var o = t.substr(e, 3) , a = o.stimulsoft.toNumber(); isNaN(a) || a >= 0 && a < 255 && (r += String.fromCharCode(a), n = !0, e += 3) } n || (r += i) } return r } , t.prototype.extractPrimaryParts = function(e) { var r = [] , i = 0 , n = ""; while (i < e.length) { var o = e[i++]; if (o == t.com_GS) { if (r.add(n), 3 == r.length) { r.add(e.substr(i)); break } n = "" } else n += o } return n.length > 0 && r.add(n), r } , t.prototype.gridToMatrix = function() { for (var t = Array.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 } , t.prototype.findBestSet = function(t, e, r, i, n, o, a) { void 0 === n && (n = -1), void 0 === o && (o = -1), void 0 === a && (a = -1); var s = this.set[t - 1] , l = s == r || s == i || s == n || s == o || s == a; if (t + 1 < e) { var u = this.set[t + 1] , c = u == r || u == i || u == n || u == o || u == a; if (l && c) return Math.min(s, u); if (l) return s; if (c) return u } else if (l) return s; return r } , t.prototype.insertSymbol = function(t, e) { for (var r = 143; r > t; r--) this.set[r] = this.set[r - 1], this.character[r] = this.character[r - 1]; this.character[t] = e } , t.prototype.processTextToSymbols = function() { var e = this.sourceBytes.length, r, i; if (e > 138) return !1; for (var o = 0; o < 144; o++) this.set[o] = -1, this.character[o] = 0; for (var o = 0; o < e; o++) this.set[o] = t.codeSet_Map[this.sourceBytes[o]], this.character[o] = t.charToSym_Map[this.sourceBytes[o]]; for (0 == this.set[0] && (13 == this.character[0] && (this.character[0] = 0), this.set[0] = 1), r = 1; r < e; r++) 0 == this.set[r] && (13 == this.character[r] ? (this.set[r] = this.findBestSet(r, e, 1, 5), 5 == this.set[r] ? this.character[r] = 13 : this.character[r] = 0) : 28 == this.character[r] ? (this.set[r] = this.findBestSet(r, e, 1, 2, 3, 4, 5), 5 == this.set[r] && (this.character[r] = 32)) : 29 == this.character[r] ? (this.set[r] = this.findBestSet(r, e, 1, 2, 3, 4, 5), 5 == this.set[r] && (this.character[r] = 33)) : 30 == this.character[r] ? (this.set[r] = this.findBestSet(r, e, 1, 2, 3, 4, 5), 5 == this.set[r] && (this.character[r] = 34)) : 32 == this.character[r] ? (this.set[r] = this.findBestSet(r, e, 1, 2, 3, 4, 5), 1 == this.set[r] ? this.character[r] = 32 : 2 == this.set[r] ? this.character[r] = 47 : this.character[r] = 59) : 44 == this.character[r] ? (this.set[r] = this.findBestSet(r, e, 1, 2), 2 == this.set[r] && (this.character[r] = 48)) : 46 == this.character[r] ? (this.set[r] = this.findBestSet(r, e, 1, 2), 2 == this.set[r] && (this.character[r] = 49)) : 47 == this.character[r] ? (this.set[r] = this.findBestSet(r, e, 1, 2), 2 == this.set[r] && (this.character[r] = 50)) : 58 == this.character[r] && (this.set[r] = this.findBestSet(r, e, 1, 2), 2 == this.set[r] && (this.character[r] = 51))); for (r = e; r < this.set.length; r++) 2 == this.set[e - 1] ? this.set[r] = 2 : this.set[r] = 1, this.character[r] = 33; i = this.mode == n.Mode2 || this.mode == n.Mode3 ? 9 : 0; var a = 0; for (r = i; r < 143; r++) 1 == this.set[r] && this.character[r] >= 48 && this.character[r] <= 57 ? a++ : a = 0, 9 == a && (this.set[r] = 6, this.set[r - 1] = 6, this.set[r - 2] = 6, this.set[r - 3] = 6, this.set[r - 4] = 6, this.set[r - 5] = 6, this.set[r - 6] = 6, this.set[r - 7] = 6, this.set[r - 8] = 6, a = 0); var s = 1; r = 0; do { if (this.set[r] != s && 6 != this.set[r]) { switch (this.set[r]) { case 1: r + 1 < this.set.length && 1 == this.set[r + 1] ? r + 2 < this.set.length && 1 == this.set[r + 2] ? r + 3 < this.set.length && 1 == this.set[r + 3] ? (this.insertSymbol(r, 63), s = 1, e++, r += 3) : (this.insertSymbol(r, 57), e++, r += 2) : (this.insertSymbol(r, 56), e++, r++) : (this.insertSymbol(r, 59), e++); break; case 2: r + 1 < this.set.length && 2 == this.set[r + 1] ? (this.insertSymbol(r, 63), s = 2, e++, r++) : (this.insertSymbol(r, 59), e++); break; case 3: r + 3 < this.set.length && 3 == this.set[r + 1] && 3 == this.set[r + 2] && 3 == this.set[r + 3] ? (this.insertSymbol(r, 60), this.insertSymbol(r, 60), s = 3, e++, r += 3) : (this.insertSymbol(r, 60), e++); break; case 4: r + 3 < this.set.length && 4 == this.set[r + 1] && 4 == this.set[r + 2] && 4 == this.set[r + 3] ? (this.insertSymbol(r, 61), this.insertSymbol(r, 61), s = 4, e++, r += 3) : (this.insertSymbol(r, 61), e++); break; case 5: r + 3 < this.set.length && 5 == this.set[r + 1] && 5 == this.set[r + 2] && 5 == this.set[r + 3] ? (this.insertSymbol(r, 62), this.insertSymbol(r, 62), s = 5, e++, r += 3) : (this.insertSymbol(r, 62), e++); break; default: throw new Error("Encoding: unexpected set " + this.set[r] + " at index " + r + ".") } r++ } r++ } while (r < this.set.length); r = 0; do { if (6 == this.set[r]) { var l = 0; for (i = 0; i < 9; i++) l *= 10, l += this.character[r + i] - "0".charCodeAt(0); for (this.character[r] = 31, this.character[r + 1] = (1056964608 & l) >> 24, this.character[r + 2] = (16515072 & l) >> 18, this.character[r + 3] = (258048 & l) >> 12, this.character[r + 4] = (4032 & l) >> 6, this.character[r + 5] = 63 & l, r += 6, i = r; i < 140; i++) this.set[i] = this.set[i + 3], this.character[i] = this.character[i + 3]; e -= 3 } else r++ } while (r < this.set.length); if (3 != this.eciMode && (this.insertSymbol(0, 27), this.insertSymbol(1, 31 & this.eciMode), e += 2), (this.mode == n.Mode2 || this.mode == n.Mode3) && e > 84) return !1; if ((this.mode == n.Mode4 || this.mode == n.Mode6) && e > 93) return !1; if (this.mode == n.Mode5 && e > 77) return !1; return !0 } , t.getErrorCorrectionCodewords = function(t, e) { for (var r = new a(67,e,1), i = r.encode(t.length, t), n = Array.create(Number, e), o = 0; o < e; o++) n[o] = i[e - 1 - o]; return n } , t.prototype.getPrimaryCodewords = function() { return this.mode == n.Mode2 ? t.getMode2PrimaryCodewords(this.data_Postcode, this.data_Country, this.data_Service) : t.getMode3PrimaryCodewords(this.data_Postcode, this.data_Country, this.data_Service) } , t.getMode2PrimaryCodewords = function(t, e, r) { var i = t.stimulsoft.toNumber() , n = Array.create(Number, 10); return n[0] = (3 & i) << 4 | 2, n[1] = (252 & i) >> 2, n[2] = (16128 & i) >> 8, n[3] = (1032192 & i) >> 14, n[4] = (66060288 & i) >> 20, n[5] = (1006632960 & i) >> 26 | (3 & t.length) << 4, n[6] = (60 & t.length) >> 2 | (3 & e) << 4, n[7] = (252 & e) >> 2, n[8] = (768 & e) >> 8 | (15 & r) << 2, n[9] = (1008 & r) >> 4, n } , t.getMode3PrimaryCodewords = function(t, e, r) { var i = Array.create(Number, t.length); t = t.toUpperCase(); for (var n = 0; n < i.length; n++) i[n] = t[n].charCodeAt(0), t[n] >= "A" && t[n] <= "Z" && (i[n] -= 64), (27 == i[n] || 31 == i[n] || 33 == i[n] || i[n] >= 59) && (i[n] = 32); var o = Array.create(Number, 10); return o[0] = (3 & i[5]) << 4 | 3, o[1] = (3 & i[4]) << 4 | (60 & i[5]) >> 2, o[2] = (3 & i[3]) << 4 | (60 & i[4]) >> 2, o[3] = (3 & i[2]) << 4 | (60 & i[3]) >> 2, o[4] = (3 & i[1]) << 4 | (60 & i[2]) >> 2, o[5] = (3 & i[0]) << 4 | (60 & i[1]) >> 2, o[6] = (60 & i[0]) >> 2 | (3 & e) << 4, o[7] = (252 & e) >> 2, o[8] = (768 & e) >> 8 | (15 & r) << 2, o[9] = (1008 & r) >> 4, o } , t.prototype.encode = function() { if (this.eciMode = this.getEciEncoding(), !this.processTextToSymbols()) throw new Error("Input data too long"); if (this.codewords = [], this.codewords.addRange(this.character), this.mode == n.Mode2 || this.mode == n.Mode3 ? this.codewords.splice(0, 0, this.getPrimaryCodewords()) : this.codewords.insert(0, this.mode), this.structuredAppendTotal > 1) { var e = Array.create(Number, 2); e[0] = 33, e[1] = this.structuredAppendPosition - 1 << 3 | this.structuredAppendTotal - 1; var r = void 0; r = this.mode == n.Mode2 || this.mode == n.Mode3 ? 10 : 1, this.codewords.splice(r, 0, e) } var i, o; this.mode == n.Mode5 ? (i = 68, o = 56) : (i = 84, o = 40); var a = i + 10; this.codewords.length > a && this.codewords.removeRange(a, this.codewords.length - a); var s = Array.create(Number, 10); Array.copy(this.codewords.toArray(), 0, s, 10), this.codewords = this.codewords.slice(0, 10).concat(t.getErrorCorrectionCodewords(s, 10)).concat(this.codewords.slice(10)); var l = Array.create(Number, this.codewords.length - 20); this.codewords.slice(20).copyTo(l); for (var u = Array.create(Number, l.length / 2), c = Array.create(Number, l.length / 2), m = 0; m < l.length; m++) 0 != (1 & m) ? u[(m - 1) / 2] = l[m] : c[m / 2] = l[m]; for (var p = t.getErrorCorrectionCodewords(u, o / 2), h = t.getErrorCorrectionCodewords(c, o / 2), m = 0; m < h.length; m++) this.codewords.add(h[m]), this.codewords.add(p[m]); for (var d = Array.create(Number, 7), m = 0; m < 33; m++) for (var g = 0; g < 30; g++) { var f = Math.floor((t.grid_Map[30 * m + g] + 5) / 6) , S = (t.grid_Map[30 * m + g] + 5) % 6; 0 != f && (d[0] = (32 & this.codewords[f - 1]) >> 5, d[1] = (16 & this.codewords[f - 1]) >> 4, d[2] = (8 & this.codewords[f - 1]) >> 3, d[3] = (4 & this.codewords[f - 1]) >> 2, d[4] = (2 & this.codewords[f - 1]) >> 1, d[5] = 1 & this.codewords[f - 1], 0 != d[S] ? this.grid[m][g] = !0 : this.grid[m][g] = !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 } , t.com_RS = String.fromCharCode(30), t.com_GS = String.fromCharCode(29), t.formatHeader = "[)>" + t.com_RS + "01" + t.com_GS, t.formatTrailer = "" + t.com_RS + String.fromCharCode(4), t.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], t.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], t.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], t }() , l = function(t) { function r(e, r, i, o) { void 0 === e && (e = n.Mode4), void 0 === r && (r = 1), void 0 === i && (i = 1), void 0 === o && (o = !0); var a = t.call(this) || this; return a._mode = n.Mode4, a._processTilde = !0, a._structuredAppendPosition = 1, a._structuredAppendTotal = 1, a.mode = e, a.structuredAppendPosition = r, a.structuredAppendTotal = i, a.processTilde = o, a } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyEnum("Mode", n, this.mode, n.Mode4), r.addPropertyNumber("StructuredAppendPosition", this.structuredAppendPosition, 1), r.addPropertyNumber("StructuredAppendTotal", this.structuredAppendTotal, 1), r.addPropertyBool("ProcessTilde", this.processTilde, !0), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Mode": this.mode = i.parse(n, s.toString()); break; case "StructuredAppendPosition": this.structuredAppendPosition = s.value.stimulsoft.toNumber(); break; case "StructuredAppendTotal": this.structuredAppendTotal = s.value.stimulsoft.toNumber(); break; case "ProcessTilde": this.processTilde = s.value.stimulsoft.toBoolean(); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiMaxicodeBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Maxicode" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "ABC abc 123" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "module", { get: function() { return 10 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "innerHeight", { set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "mode", { get: function() { return this._mode }, set: function(t) { this._mode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "processTilde", { get: function() { return this._processTilde }, set: function(t) { this._processTilde = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "structuredAppendPosition", { get: function() { return this._structuredAppendPosition }, set: function(t) { this._structuredAppendPosition = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "structuredAppendTotal", { get: function() { return this._structuredAppendTotal }, set: function(t) { this._structuredAppendTotal = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelFontHeight", { get: function() { return this.defaultLabelFontHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[9] = !0, t[12] = !0, t[13] = !0, t[21] = !0, t }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, i) { var n = this.getCode(e); this.barCodeData.code = n; var o = new s(n,this.mode,this.structuredAppendPosition,this.structuredAppendTotal,this.processTilde); this.barCodeData.matrixGrid = o.matrix, null == o.errorMessage ? this.drawMaxicode(t, r, e, i) : this.drawBarCodeError2(t, r, e, o.errorMessage) } , r.prototype.createNew = function() { return new r } , r }(r.StiBarCodeTypeService); r.StiMaxicodeBarCodeType = l }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = t.System.Text.StringBuilder , o = function(t) { function o(e, i, n, o) { void 0 === e && (e = 8), void 0 === i && (i = 1), void 0 === n && (n = r.StiPlesseyCheckSum.None), void 0 === o && (o = r.StiPlesseyCheckSum.None); var a = t.call(this) || this; return a.plesseySymbols = "0123456789ABCDEF", a.plesseyTable = ["0000", "1000", "0100", "1100", "0010", "1010", "0110", "1110", "0001", "1001", "0101", "1101", "0011", "1011", "0111", "1111"], a.plesseyStartCode = "1101", a.plesseyStopCode = "11", a._module = 8, a._height = 1, a._checkSum1 = r.StiPlesseyCheckSum.None, a._checkSum2 = r.StiPlesseyCheckSum.None, a.plesseySpaceLeft = 4 * 5, a.plesseySpaceRight = 4 * 5, a.plesseySpaceTop = 0, a.plesseySpaceBottom = 1, a.plesseyLineHeightShort = 70, a.plesseyLineHeightLong = a.plesseyLineHeightShort, a.plesseyTextPosition = a.plesseyLineHeightShort + a.plesseySpaceBottom, a.plesseyTextHeight = 11.5, a.plesseyMainHeight = 84, a.plesseyLineHeightForCut = a.plesseyLineHeightShort, a._module = e, a._height = i, a._checkSum1 = n, a._checkSum2 = o, a } return __extends(o, t), o.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyNumber("Module", this.module, 8), i.addPropertyNumber("Height", this.height, 1), i.addPropertyEnum("CheckSum1", r.StiPlesseyCheckSum, this.checkSum1, r.StiPlesseyCheckSum.None), i.addPropertyEnum("CheckSum2", r.StiPlesseyCheckSum, this.checkSum2, r.StiPlesseyCheckSum.None), i } , o.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Module": this._module = s.value.stimulsoft.toNumber(); break; case "Height": this._height = s.value.stimulsoft.toNumber(); break; case "CheckSum1": this._checkSum1 = i.parse(r.StiPlesseyCheckSum, s.value.toString()); break; case "CheckSum2": this._checkSum2 = i.parse(r.StiPlesseyCheckSum, s.value.toString()); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , o.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Module": this._module = o.textContent.stimulsoft.toNumber(); break; case "Height": this.height = o.textContent.stimulsoft.toNumber(); break; case "CheckSum1": this._checkSum1 = i.parse(r.StiPlesseyCheckSum, o.textContent); break; case "CheckSum2": this._checkSum2 = i.parse(r.StiPlesseyCheckSum, o.textContent); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return e.StiComponentId.StiPlesseyBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "serviceName", { get: function() { return "Plessey" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "defaultCodeValue", { get: function() { return "1234567" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 1 && (this._module = 1), t > 40 && (this._module = 40) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .5 && (this._height = .5), t > 2 && (this._height = 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "checkSum1", { get: function() { return this._checkSum1 }, set: function(t) { this._checkSum1 = t, this._checkSum1 == r.StiPlesseyCheckSum.None && (this.checkSum2 = r.StiPlesseyCheckSum.None) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "checkSum2", { get: function() { return this._checkSum2 }, set: function(t) { this._checkSum2 = t, this._checkSum2 != r.StiPlesseyCheckSum.None && this.checkSum1 == r.StiPlesseyCheckSum.None && (this.checkSum1 = r.StiPlesseyCheckSum.Modulo10) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "labelFontHeight", { get: function() { return this.plesseyTextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[4] = !0, t[5] = !0, t[11] = !0, t[13] = !0, t }, enumerable: !0, configurable: !0 }), o.prototype.codeToBar = function(t) { for (var e = new n, r = 0; r < t.length; r++) { var i = new n; "1" == t[r] ? i.append("71") : i.append("53"), e.append(i) } return e.toString() } , o.prototype.draw = function(t, e, i, o) { var a = this.getCode(e); a = this.checkCodeSymbols(a, this.plesseySymbols); var s = new n(a) , l = a.length; this.checkSum1 != r.StiPlesseyCheckSum.None && l++, this.checkSum2 != r.StiPlesseyCheckSum.None && l++; for (var u = Array.create(Number, l), c = 0; c < a.length; c++) u[c] = this.plesseySymbols.indexOf(a.charAt(c)); if (this.checkSum1 != r.StiPlesseyCheckSum.None) { var m = 0; if (this.checkSum1 == r.StiPlesseyCheckSum.Modulo10) { for (var p = 0, h = 0, d = 1, g = !1, c = a.length - 1; c >= 0; c--) 0 == g ? (p += u[c] * d, d *= 10) : h += u[c], g = !g; p *= 2; var f = 0; while (p >= 10) f += p % 10, p = Math.floor(p / 10); f += p, m = (f + h) % 10, 0 != m && (m = 10 - m) } if (this.checkSum1 == r.StiPlesseyCheckSum.Modulo11) { for (var p = 0, d = 2, c = a.length - 1; c >= 0; c--) p += u[c] * d, ++d > 7 && (d = 2); m = p % 11, 0 != m && (m = 11 - m) } u[a.length] = m, s.append(this.plesseySymbols[m]) } if (this.checkSum2 != r.StiPlesseyCheckSum.None) { var m = 0; if (this.checkSum2 == r.StiPlesseyCheckSum.Modulo10) { for (var p = 0, h = 0, d = 1, g = !1, c = a.length; c >= 0; c--) 0 == g ? (p += u[c] * d, d *= 10) : h += u[c], g = !g; p *= 2; var f = 0; while (p >= 10) f += p % 10, p = Math.floor(p / 10); f += p, m = (f + h) % 10, 0 != m && (m = 10 - m) } if (this.checkSum2 == r.StiPlesseyCheckSum.Modulo11) { for (var p = 0, d = 2, c = a.length; c >= 0; c--) p += u[c] * d, ++d > 7 && (d = 2); m = p % 11, 0 != m && (m = 11 - m) } u[a.length + 1] = m, s.append(this.plesseySymbols[m]) } var S = new n; S.append(this.plesseyStartCode); for (var c = 0; c < u.length; c++) S.append(this.plesseyTable[u[c]]); S.append(this.plesseyStopCode); var A = new n(this.codeToBar(S.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, o, a, s.toString(), A.toString(), i, e), this.drawBarCode(t, i, e) } , o.prototype.createNew = function() { return new o } , o }(r.StiBarCodeTypeService); r.StiPlesseyBarCodeType = o }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function n(e, i, n, o) { void 0 === e && (e = 8), void 0 === i && (i = 1), void 0 === n && (n = r.StiPlesseyCheckSum.Modulo10), void 0 === o && (o = r.StiPlesseyCheckSum.None); var a = t.call(this, e, i, n, o) || this; return a.msiTable = ["0000", "0001", "0010", "0011", "0100", "0101", "0110", "0111", "1000", "1001", "1010", "1011", "1100", "1101", "1110", "1111"], a.msiStartCode = "1", a.msiStopCode = "00", a } return __extends(n, t), Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiMsiBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "serviceName", { get: function() { return "Msi" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "defaultCodeValue", { get: function() { return "1234567" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[4] = !0, t[5] = !0, t[11] = !0, t[13] = !0, t }, enumerable: !0, configurable: !0 }), n.prototype.codeToBarMsi = function(t) { for (var e = new i, r = 0; r < t.length; r++) { var n = new i; "1" == t[r] ? n.append("71") : n.append("53"), e.append(n) } return e.toString() } , n.prototype.draw = function(t, e, n, o) { var a = this.getCode(e); a = this.checkCodeSymbols(a, this.plesseySymbols); var s = new i(a) , l = a.length; this.checkSum1 != r.StiPlesseyCheckSum.None && l++, this.checkSum2 != r.StiPlesseyCheckSum.None && l++; for (var u = Array.create(Number, l), c = 0; c < a.length; c++) u[c] = this.plesseySymbols.indexOf(a.charAt(c)); if (this.checkSum1 != r.StiPlesseyCheckSum.None) { var m = 0; if (this.checkSum1 == r.StiPlesseyCheckSum.Modulo10) { for (var p = 0, h = 0, d = 1, g = !1, c = a.length - 1; c >= 0; c--) 0 == g ? (p += u[c] * d, d *= 10) : h += u[c], g = !g; p *= 2; var f = 0; while (p >= 10) f += p % 10, p = Math.floor(p / 10); f += p, m = (f + h) % 10, 0 != m && (m = 10 - m) } if (this.checkSum1 == r.StiPlesseyCheckSum.Modulo11) { for (var p = 0, d = 2, c = a.length - 1; c >= 0; c--) p += u[c] * d, ++d > 7 && (d = 2); m = p % 11, 0 != m && (m = 11 - m) } u[a.length] = m, s.append(this.plesseySymbols[m]) } if (this.checkSum2 != r.StiPlesseyCheckSum.None) { var m = 0; if (this.checkSum2 == r.StiPlesseyCheckSum.Modulo10) { for (var p = 0, h = 0, d = 1, g = !1, c = a.length; c >= 0; c--) 0 == g ? (p += u[c] * d, d *= 10) : h += u[c], g = !g; p *= 2; var f = 0; while (p >= 10) f += p % 10, p = Math.floor(p / 10); f += p, m = (f + h) % 10, 0 != m && (m = 10 - m) } if (this.checkSum2 == r.StiPlesseyCheckSum.Modulo11) { for (var p = 0, d = 2, c = a.length; c >= 0; c--) p += u[c] * d, ++d > 7 && (d = 2); m = p % 11, 0 != m && (m = 11 - m) } u[a.length + 1] = m, s.append(this.plesseySymbols[m]) } var S = new i; S.append(this.msiStartCode); for (var c = 0; c < u.length; c++) S.append(this.msiTable[u[c]]); S.append(this.msiStopCode); var A = new i(this.codeToBarMsi(S.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, o, a, s.toString(), A.toString(), n, e), this.drawBarCode(t, n, e) } , n.prototype.createNew = function() { return new n } , n }(r.StiPlesseyBarCodeType); r.StiMsiBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum, n; !function(t) { t[t.Text = 0] = "Text", t[t.Numeric = 1] = "Numeric", t[t.Byte = 2] = "Byte" }(n || (n = {})); var o; !function(t) { t[t.TextMode = 900] = "TextMode", t[t.NumericMode = 902] = "NumericMode", t[t.ByteMode = 901] = "ByteMode", t[t.ByteMode6 = 924] = "ByteMode6" }(o || (o = {})); var a; !function(t) { t[t.None = 0] = "None", t[t.Upper = 1] = "Upper", t[t.Lower = 2] = "Lower", t[t.Mixed = 4] = "Mixed", t[t.Punctuation = 8] = "Punctuation" }(a || (a = {})); var s; !function(t) { t[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" }(s || (s = {})); var l = function() { function t(t, e, r) { this.type = t, this.start = e, this.length = r } return t }() , u = function() { function t() { this.list = [] } return t.prototype.addSegment = function(t, e, r) { this.list.add(new l(t,e,r)) } , t.prototype.getSegment = function(t) { return this.list[t] } , Object.defineProperty(t.prototype, "size", { get: function() { return this.list.length }, enumerable: !0, configurable: !0 }), t }() , c = function() { function t(t, e, i, a, s, l, c, m, p) { void 0 === i && (i = r.StiPdf417ErrorsCorrectionLevel.Automatic), void 0 === a && (a = 0), void 0 === s && (s = 0), void 0 === l && (l = !0), void 0 === c && (c = !0), void 0 === m && (m = 1), void 0 === p && (p = 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 = a, this.codeRows = s, this.aspectRatio = m, this.ratioY = p, i != r.StiPdf417ErrorsCorrectionLevel.Automatic && (this.errorLevel = i), this.codewords = Array.create(Number, 2 * this.max_data_codewords + 2); try { if (null == t) throw new Error("Input data cannot be null."); this.text = Array.create(Number, t.length); for (var h = 0; h < t.length; h++) { if (t[h].charCodeAt(0) > 255) throw new Error("Input data not valid for this barcode."); this.text[h] = t[h].charCodeAt(0) } var d = new u; switch (e) { case r.StiPdf417EncodingMode.Text: for (var g = 0; g < this.text.length; g++) { var f = this.text[g]; if (f >= 32 && f <= 127 || 9 == f || 10 == f || 13 == f) continue; throw new Error("Input data not valid for current encoding mode.") } d.addSegment(n.Text, 0, this.text.length); break; case r.StiPdf417EncodingMode.Numeric: for (var g = 0; g < this.text.length; g++) { if (this.text[g] >= "0".charCodeAt(0) && this.text[g] <= "9".charCodeAt(0)) continue; throw new Error("Input data not valid for current encoding mode.") } d.addSegment(n.Numeric, 0, this.text.length); break; case r.StiPdf417EncodingMode.Byte: d.addSegment(n.Byte, 0, this.text.length); break } var S = this.dataCompaction(d); d = null; var A = S; if (A > this.max_data_codewords) throw new Error("Too many data."); var y = this.max_data_codewords + 2 - A , w = 8 , b = 512; while (w > 0) { if (y >= b) break; w--, b >>= 1 } if (i == r.StiPdf417ErrorsCorrectionLevel.Automatic && (this.errorLevel = 5, A <= 320 && (this.errorLevel = 4), A <= 160 && (this.errorLevel = 3), A <= 40 && (this.errorLevel = 2)), this.errorLevel > w) throw new Error("Too many data - \r\n No space for error correction."); var v = 2 << this.errorLevel , C = A + v; if (l && c) { var E = (Math.sqrt(C * p * m * 4 / 17 + 16) - 4) / 2; this.codeColumns = Math.trunc(E + .5), this.codeColumns < 1 && (this.codeColumns = 1), this.codeColumns > 30 && (this.codeColumns = 30), this.codeRows = Math.floor((C - 1) / this.codeColumns) + 1, this.codeRows < 3 && (this.codeRows = 3), this.codeRows > 90 && (this.codeRows = 90, this.codeColumns = Math.floor((C - 1) / this.codeRows) + 1) } else if (l) this.codeColumns = Math.floor((C - 1) / this.codeRows) + 1, this.codeColumns < 1 && (this.codeColumns = 1), this.codeColumns > 30 && (this.codeColumns = 30, this.codeRows = Math.floor((C - 1) / this.codeColumns) + 1); else if (c) this.codeRows = Math.floor((C - 1) / this.codeColumns) + 1, this.codeRows < 3 && (this.codeRows = 3), this.codeRows > 90 && (this.codeRows = 90, this.codeColumns = Math.floor((C - 1) / this.codeRows) + 1); else if (this.codeColumns * this.codeRows < C) 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 - v - A; S = A; while (0 != B) this.codewords[S++] = o.TextMode, B--; A = S, this.codewords[0] = A, this.calculateErrorCorrection(A), this.makeOutBits(), this.codewords = null, this.text = null } catch (t) { this._errorMessage = t.message } } return Object.defineProperty(t.prototype, "matrix", { get: function() { return this._matrix }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "matrixWidth", { get: function() { return this._matrixWidth }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "matrixHeight", { get: function() { return this.codeRows }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "errorMessage", { get: function() { return this._errorMessage }, enumerable: !0, configurable: !0 }), t.prototype.makeOutBits = function() { var e = 0; this._matrixWidth = (1 + 1 + this.codeColumns + 1 + 1) * this.codeWordLength + 1, this._matrix = Array.create(Number, this.matrixWidth * this.codeRows); for (var r = 0, i = { ref: r }, n = 0; n < this.codeRows; n++) { this.outCodeword(this.startPatternCode, i, this.codeWordLength); var o = n % 3 , a = 30 * Math.floor(n / 3); switch (o) { case 0: a += Math.floor((this.codeRows - 1) / 3); break; case 1: a += 3 * this.errorLevel + (this.codeRows - 1) % 3; break; default: a += this.codeColumns - 1; break } this.outCodeword(t.clustersData[o][a], i, this.codeWordLength); for (var s = 0; s < this.codeColumns; s++) this.outCodeword(t.clustersData[o][this.codewords[e++]], i, this.codeWordLength); switch (a = 30 * Math.floor(n / 3), o) { case 0: a += this.codeColumns - 1; break; case 1: a += Math.floor((this.codeRows - 1) / 3); break; default: a += 3 * this.errorLevel + (this.codeRows - 1) % 3; break } this.outCodeword(t.clustersData[o][a], i, this.codeWordLength), this.outCodeword(this.stopPatternCode, i, this.codeWordLength + 1) } } , t.prototype.outCodeword = function(t, e, r) { for (var i = e.ref, n = 0; n < r; n++) { var o = i + r - n - 1; this.matrix[o] = 0 != (1 & t) ? 1 : 0, t >>= 1 } i += r, e.ref = i } , t.prototype.calculateErrorCorrection = function(e) { for (var r = e, i = 929, n = 2 << this.errorLevel, o = 0; o < n; o++) this.codewords[r + o] = 0; for (var a = n - 1, s = 0; s < e; s++) for (var l = this.codewords[s] + this.codewords[r], u = 0; u <= a; u++) { var c = l * t.errorLevelData[this.errorLevel][a - u] % i , m = i - c; this.codewords[r + u] = ((u == a ? 0 : this.codewords[r + u + 1]) + m) % i } for (var o = 0; o < n; o++) this.codewords[r + o] = (i - this.codewords[r + o]) % i } , t.prototype.dataCompaction = function(t) { for (var e = 1, r = { ref: e }, i = 0; i < t.size; i++) { var o = t.getSegment(i); switch (o.type) { case n.Text: this.textCompaction(o, r); break; case n.Numeric: this.numberCompaction(o, r); break; case n.Byte: this.byteCompaction(o, r); break } } return e = r.ref } , t.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), a.Upper; if (r >= "a".charCodeAt(0) && r <= "z".charCodeAt(0)) return e.ref = r - "a".charCodeAt(0), a.Lower; if (r == " ".charCodeAt(0)) return e.ref = s.Space, a.Upper | a.Lower | a.Mixed; var i = "0123456789&\r\t,:#-.$/+%*=^".indexOf(String.fromCharCode(r)) , n = ";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'".indexOf(String.fromCharCode(r)); if (-1 == i && -1 == n) return e.ref = 0, a.None; if (i == n) return e.ref = i, a.Mixed | a.Punctuation; if (-1 != i) return e.ref = i, a.Mixed; return e.ref = n, a.Punctuation } , t.prototype.textCompaction = function(t, e) { var r = e.ref; 1 != r && (this.codewords[r++] = o.TextMode); for (var i = t.start, n = t.length, l = Array.create(Number, 3 * n), u = a.Upper, c = 0, m = i; m < i + n; m++) { var p = void 0 , h = s.None , d = s.None , g = { ref: p } , f = this.getSubMode(m, g); if (p = g.ref, 0 != (f & u)) { l[c++] = p; continue } var S = a.None; if (m + 2 < n) { var A = void 0 , y = { ref: A }; S = this.getSubMode(m + 1, y) & this.getSubMode(m + 2, y) } switch (u) { case a.Upper: 0 != (f & a.Lower) ? (h = s.Lower, u = a.Lower) : 0 != (f & a.Mixed) ? (h = s.Mixed, u = a.Mixed) : 0 != (S & a.Punctuation) ? (h = s.Mixed, d = s.Punctuation, u = a.Punctuation) : h = s.TempPunctuation; break; case a.Lower: 0 != (f & a.Upper) ? 0 != (S & a.Upper) ? (h = s.Mixed, d = s.UpperFromMixed, u = a.Upper) : h = s.TempUpper : 0 != (f & a.Mixed) ? (h = s.Mixed, u = a.Mixed) : 0 != (S & a.Punctuation) ? (h = s.Mixed, d = s.Punctuation, u = a.Punctuation) : h = s.TempPunctuation; break; case a.Mixed: 0 != (f & a.Lower) ? (h = s.Lower, u = a.Lower) : 0 != (f & a.Upper) ? (h = s.UpperFromMixed, u = a.Upper) : 0 != (S & a.Punctuation) ? (h = s.Punctuation, u = a.Punctuation) : h = s.TempPunctuation; break; case a.Punctuation: l[c++] = s.UpperFromPunctuation, u = a.Upper, m--; continue } h != s.None && (l[c++] = h), d != s.None && (l[c++] = d), l[c++] = p } 0 != (1 & c) && (l[c++] = s.TempPunctuation); var w = c; c = 0; while (c < w) this.codewords[r++] = 30 * l[c] + l[c + 1], c += 2; e.ref = r } , t.prototype.numberCompaction = function(t, e) { var r = e.ref; this.codewords[r++] = o.NumericMode; var i = t.start , n = t.length; while (n > 0) { for (var a = n < 44 ? n : 44, s = Math.floor(a / 3), l = 0; l <= s; l++) this.codewords[r + l] = 0; this.codewords[r + s] = 1; for (var u = i; u < i + a; u++) { for (var l = s; l >= 0; l--) this.codewords[r + l] *= 10; this.codewords[r + s] += this.text[u] - "0".charCodeAt(0); for (var l = s; l > 0; l--) { var c = this.codewords[r + l]; c >= 900 && (this.codewords[r + l - 1] += Math.floor(c / 900), this.codewords[r + l] = c % 900) } } r += s + 1, i += a, n -= a } e.ref = r } , t.prototype.byteCompaction = function(t, e) { var r = e.ref; this.codewords[r++] = t.length % 6 != 0 ? o.ByteMode : o.ByteMode6; var i = t.start , n = t.length; while (n >= 6) { var a = this.text[i]; a *= 256, a += this.text[i + 1], a *= 256, a += this.text[i + 2], a *= 256, a += this.text[i + 3], a *= 256, a += this.text[i + 4], a *= 256, a += this.text[i + 5], this.codewords[r + 4] = Math.trunc(a % 900), a = Math.floor(a / 900), this.codewords[r + 3] = Math.trunc(a % 900), a = Math.floor(a / 900), this.codewords[r + 2] = Math.trunc(a % 900), a = Math.floor(a / 900), this.codewords[r + 1] = Math.trunc(a % 900), a = Math.floor(a / 900), this.codewords[r + 0] = Math.trunc(a % 900), r += 5, i += 6, n -= 6 } if (n > 0) for (var s = 0; s < n; s++) this.codewords[r++] = this.text[i + s]; e.ref = r } , t.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]], t.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]], t }() , m = function(t) { function n(e, i, n, o, a, s, l, u, c) { void 0 === e && (e = 25), void 0 === i && (i = r.StiPdf417EncodingMode.Text), void 0 === n && (n = r.StiPdf417ErrorsCorrectionLevel.Automatic), void 0 === o && (o = 5), void 0 === a && (a = 3), void 0 === s && (s = !0), void 0 === l && (l = !0), void 0 === u && (u = 1), void 0 === c && (c = 3); var m = t.call(this) || this; return m._module = 20, m._height = 1, m._encodingMode = r.StiPdf417EncodingMode.Text, m._errorsCorrectionLevel = r.StiPdf417ErrorsCorrectionLevel.Automatic, m._dataColumns = 4, m._dataRows = 7, m._autoDataColumns = !0, m._autoDataRows = !0, m._aspectRatio = 3, m._ratioY = 3, m._module = e, m._encodingMode = i, m._errorsCorrectionLevel = n, m._dataColumns = o, m._dataRows = a, m._autoDataColumns = s, m._autoDataRows = l, m._aspectRatio = u, m._ratioY = c, m } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyNumber("Module", this.module, 20), i.addPropertyNumber("Height", this.height, 1), i.addPropertyEnum("EncodingMode", r.StiPdf417EncodingMode, this.encodingMode, r.StiPdf417EncodingMode.Text), i.addPropertyEnum("ErrorsCorrectionLevel", r.StiPdf417ErrorsCorrectionLevel, this.errorsCorrectionLevel, r.StiPdf417ErrorsCorrectionLevel.Automatic), i.addPropertyNumber("DataColumns", this.dataColumns, 4), i.addPropertyNumber("DataRows", this.dataRows, 7), i.addPropertyBool("AutoDataColumns", this.autoDataColumns, !0), i.addPropertyBool("AutoDataRows", this.autoDataRows, !0), i.addPropertyNumber("AspectRatio", this.aspectRatio, 3), i.addPropertyNumber("RatioY", this.ratioY, 3), i } , n.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Module": this.module = s.value.stimulsoft.toNumber(); break; case "Height": this.height = s.value.stimulsoft.toNumber(); break; case "EncodingMode": this.encodingMode = i.parse(r.StiPdf417EncodingMode, s.value.toString()); break; case "ErrorsCorrectionLevel": this.errorsCorrectionLevel = i.parse(r.StiPdf417ErrorsCorrectionLevel, s.value.toString()); break; case "DataColumns": this.dataColumns = s.value.stimulsoft.toNumber(); break; case "DataRows": this.dataRows = s.value.stimulsoft.toNumber(); break; case "AutoDataColumns": this.autoDataColumns = s.value.stimulsoft.toBoolean(); break; case "AutoDataRows": this.autoDataRows = s.value.stimulsoft.toBoolean(); break; case "AspectRatio": this.aspectRatio = s.value.stimulsoft.toNumber(); break; case "RatioY": this.ratioY = s.value.stimulsoft.toNumber(); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , n.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Module": this.module = o.textContent.stimulsoft.toNumber(); break; case "Height": this.height = o.textContent.stimulsoft.toNumber(); break; case "EncodingMode": this.encodingMode = i.parse(r.StiPdf417EncodingMode, o.textContent.toString()); break; case "ErrorsCorrectionLevel": this.errorsCorrectionLevel = i.parse(r.StiPdf417ErrorsCorrectionLevel, o.textContent.toString()); break; case "DataColumns": this.dataColumns = o.textContent.stimulsoft.toNumber(); break; case "DataRows": this.dataRows = o.textContent.stimulsoft.toNumber(); break; case "AutoDataColumns": this.autoDataColumns = o.textContent.stimulsoft.toBoolean(); break; case "AutoDataRows": this.autoDataRows = o.textContent.stimulsoft.toBoolean(); break; case "AspectRatio": this.aspectRatio = o.textContent.stimulsoft.toNumber(); break; case "RatioY": this.ratioY = o.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiPdf417BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "serviceName", { get: function() { return "Pdf417" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "defaultCodeValue", { get: function() { return "12345678901" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 2 && (this._module = 2), t > 400 && (this._module = 400) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "encodingMode", { get: function() { return this._encodingMode }, set: function(t) { this._encodingMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "errorsCorrectionLevel", { get: function() { return this._errorsCorrectionLevel }, set: function(t) { this._errorsCorrectionLevel = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "dataColumns", { get: function() { return this._dataColumns }, set: function(t) { t < 1 && (t = 1), t > 30 && (t = 30), this._dataColumns = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "dataRows", { get: function() { return this._dataRows }, set: function(t) { t < 3 && (t = 3), t > 90 && (t = 90), this._dataRows = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "autoDataColumns", { get: function() { return this._autoDataColumns }, set: function(t) { this._autoDataColumns = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "autoDataRows", { get: function() { return this._autoDataRows }, set: function(t) { this._autoDataRows = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "aspectRatio", { get: function() { return this._aspectRatio }, set: function(t) { t < .01 && (t = .01), t > 100 && (t = 100), this._aspectRatio = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "ratioY", { get: function() { return this._ratioY }, set: function(t) { t < 2 && (t = 2), t > 5 && (t = 5), this._ratioY = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "labelFontHeight", { get: function() { return this.defaultLabelFontHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "visibleProperties", { get: function() { var t = Array.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: !0, configurable: !0 }), n.prototype.draw = function(t, e, r, i) { var n = this.getCode(e); this.barCodeData.code = n; var o = new c(n,this.encodingMode,this.errorsCorrectionLevel,this.dataColumns,this.dataRows,this.autoDataColumns,this.autoDataRows,this.aspectRatio,this.ratioY); this.barCodeData.matrixGrid = o.matrix, this.barCodeData.matrixWidth = o.matrixWidth, this.barCodeData.matrixHeight = o.matrixHeight, this.barCodeData.matrixRatioY = this.ratioY, null == o.errorMessage ? this.draw2DBarCode(t, r, e, i) : this.drawBarCodeError2(t, r, e, o.errorMessage) } , n.prototype.createNew = function() { return new n } , n }(r.StiBarCodeTypeService); r.StiPdf417BarCodeType = m }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r) { void 0 === e && (e = 20), void 0 === r && (r = 1); var i = t.call(this) || this; return i.pharmacodeSymbols = "0123456789", i.defaultPharmacodeModule = 20, i._module = 20, i._height = 1, i.pharmacodeSpaceLeft = 1, i.pharmacodeSpaceRight = 1, i.pharmacodeSpaceTop = 0, i.pharmacodeSpaceBottom = .5, i.pharmacodeLineHeightShort = 16, i.pharmacodeLineHeightLong = i.pharmacodeLineHeightShort, i.pharmacodeTextPosition = i.pharmacodeLineHeightShort + i.pharmacodeSpaceBottom, i.pharmacodeTextHeight = 5, i.pharmacodeMainHeight = 22, i.pharmacodeLineHeightForCut = i.pharmacodeLineHeightShort, i._module = e, i._height = r, i } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Module", this.module, 20), r.addPropertyNumber("Height", this.height, 1), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , r.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Module": this._module = i.textContent.stimulsoft.toNumber(); break; case "Height": this._height = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiPharmacodeBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Pharmacode" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "1256" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = 20 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .5 && (this._height = .5), t > 2 && (this._height = 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelFontHeight", { get: function() { return this.pharmacodeTextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, this.pharmacodeSymbols), o.length > 6 && (o = "131070"), o.length < 1 && (o = "3"); var a = parseInt(o); a > 131070 && (a = 131070), a < 3 && (a = 3); var s = new i , l = a - 3 , u = 2 , c = 3; while (l > c) l -= c + 1, u++, c = (1 << u) - 1; for (var m = u - 1; m >= 0; m--) (l & 1 << m) > 0 ? s.append("6") : s.append("4"), 0 != m && s.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, o, a.toString(), s.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiBarCodeTypeService); r.StiPharmacodeBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r, i) { void 0 === e && (e = 20), void 0 === r && (r = 1), void 0 === i && (i = 26); var n = t.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 = e, n._height = r, n._space = i, n } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Module", this.module, 20), r.addPropertyNumber("Height", this.height, 1), r.addPropertyNumber("Space", this.space, 26), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , r.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Module": this._module = i.textContent.stimulsoft.toNumber(); break; case "Height": this.height = i.textContent.stimulsoft.toNumber(); break; case "Space": this._space = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiPostnetBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "Postnet" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "12345" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 20 && (this._module = 20), t > 20 && (this._module = 20) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "space", { get: function() { return this._space }, set: function(t) { this._space = t, t < 12 && (this._space = 12), t > 40 && (this._space = 40) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < 1 && (this._height = 1), t > 4 && (this._height = 4) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelFontHeight", { get: function() { return this.postnetTextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[18] = !0, t }, enumerable: !0, configurable: !0 }), r.prototype.codeToBar = function(t) { for (var e = new i, r = 0; r < t.length; r++) { var n = new i; "1" == t[r] ? n.append("81") : n.append("e1"), e.append(n) } return e.toString() } , r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); switch (o = this.checkCodeSymbols(o, this.postnetSymbols), o.length > 11 && (o = o.substr(0, 11)), o.length) { case 0: o = "00000"; break; case 1: o += "0000"; break; case 2: case 6: o += "000"; break; case 3: case 7: o += "00"; break; case 4: case 8: case 10: o += "0"; break } var a = new i(o); 11 == o.length && a.insert(9, "-"), o.length > 5 && a.insert(5, "-"); for (var s = Array.create(Number, o.length + 1), l = 0; l < o.length; l++) s[l] = this.postnetSymbols.indexOf(o[l]); for (var u = 0, l = 0; l < o.length; l++) u += s[l]; u %= 10, 0 != u && (u = 10 - u), s[o.length] = u; var c = new i; c.append(this.postnetStartCode); for (var l = 0; l < s.length; l++) c.append(this.postnetTable[s[l]]); c.append(this.postnetStopCode); var m = new i(this.codeToBar(c.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, o, a.toString(), m.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiBarCodeTypeService); r.StiPostnetBarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Drawing.StiImageConverter , n = t.System.Enum , o = function(o) { function a(t, e, i, n, a) { void 0 === t && (t = 40), void 0 === e && (e = r.StiQRCodeErrorCorrectionLevel.Level1), void 0 === i && (i = r.StiQRCodeSize.Automatic), void 0 === n && (n = null), void 0 === a && (a = 0); var s = o.call(this) || this; return s._module = 40, s._height = 1, s._errorCorrectionLevel = r.StiQRCodeErrorCorrectionLevel.Level1, s._matrixSize = r.StiQRCodeSize.Automatic, s._image = null, s._imageMultipleFactor = 1, s.module = t, s.errorCorrectionLevel = e, s.matrixSize = i, s.image = n, s.imageMultipleFactor = a, s } return __extends(a, o), a.prototype.saveToJsonObject = function(t) { var e = o.prototype.saveToJsonObject.call(this, t); return e.addPropertyNumber("Height", this.height, 1), e.addPropertyNumber("Module", this.module, 40), e.addPropertyEnum("ErrorCorrectionLevel", r.StiQRCodeErrorCorrectionLevel, this.errorCorrectionLevel, r.StiQRCodeErrorCorrectionLevel.Level1), e.addPropertyEnum("MatrixSize", r.StiQRCodeSize, this.matrixSize, r.StiQRCodeSize.Automatic), e.addPropertyNumber("ImageMultipleFactor", this.imageMultipleFactor, 1), e.addPropertyStringNullOrEmpty("Image", i.imageToString(this.image)), e } , a.prototype.loadFromJsonObject = function(t) { var e, o; try { for (var a = __values(t.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "Module": this.module = l.value.stimulsoft.toNumber(); break; case "Height": this.height = l.value.stimulsoft.toNumber(); break; case "ErrorCorrectionLevel": this.errorCorrectionLevel = n.parse(typeof r.StiQRCodeErrorCorrectionLevel, l.value.toString()); break; case "MatrixSize": this.matrixSize = n.parse(typeof r.StiQRCodeSize, l.value.toString()); break; case "ImageMultipleFactor": this.imageMultipleFactor = l.value.stimulsoft.toNumber(); break; case "Image": this.image = i.stringToImage(l.value); break } } } catch (t) { e = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } 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 a = t.childNodes[e]; switch (a.nodeName) { case "Module": this.module = a.textContent.stimulsoft.toNumber(); break; case "Height": this.height = a.textContent.stimulsoft.toNumber(); break; case "ErrorCorrectionLevel": this.errorCorrectionLevel = n.parse(typeof r.StiQRCodeErrorCorrectionLevel, a.textContent); break; case "MatrixSize": this.matrixSize = n.parse(typeof r.StiQRCodeSize, a.textContent); break; case "ImageMultipleFactor": this.imageMultipleFactor = a.textContent.stimulsoft.toNumber(); break; case "Image": this.image = i.stringToImage(a.textContent); break } } } , Object.defineProperty(a.prototype, "componentId", { get: function() { return e.StiComponentId.StiQRCodeBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "serviceName", { get: function() { return "QR Code" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "defaultCodeValue", { get: function() { return "12345678901" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 2 && (this._module = 2), t > 400 && (this._module = 400) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "errorCorrectionLevel", { get: function() { return this._errorCorrectionLevel }, set: function(t) { this._errorCorrectionLevel = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "matrixSize", { get: function() { return this._matrixSize }, set: function(t) { this._matrixSize = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "image", { get: function() { return this._image }, set: function(t) { this._image != t && (this._image = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "imageMultipleFactor", { get: function() { return this._imageMultipleFactor }, set: function(t) { this._imageMultipleFactor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "labelFontHeight", { get: function() { return 8 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[10] = !0, t[12] = !0, t[13] = !0, t }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e, i, n, o) { var a = this.getCode(i); this.barCodeData.code = a; var s = r.ErrorCorrectionLevel.L; this.errorCorrectionLevel == r.StiQRCodeErrorCorrectionLevel.Level2 && (s = r.ErrorCorrectionLevel.M), this.errorCorrectionLevel == r.StiQRCodeErrorCorrectionLevel.Level3 && (s = r.ErrorCorrectionLevel.Q), this.errorCorrectionLevel == r.StiQRCodeErrorCorrectionLevel.Level4 && (s = r.ErrorCorrectionLevel.H); try { var l = new r.StiQRCode; r.QREncoder.Encode(a, s, l); for (var u = l.GetMatrix(), c = Array.create(Number, u.getWidth() * u.getHeight()), m = 0; m < u.getHeight(); m++) for (var p = m * u.getWidth(), h = 0; h < u.getWidth(); h++) c[p + h] = u.get(h, m); this.barCodeData.matrixGrid = c, this.barCodeData.matrixWidth = u.getWidth(), this.barCodeData.matrixHeight = u.getHeight(), this.barCodeData.matrixRatioY = 1, this.draw2DBarCode(e, n, i, o) } catch (r) { t.System.StiError.showError(r, !1), this.drawBarCodeError(e, n, i) } } , a.prototype.createNew = function() { return new a } , a }(r.StiBarCodeTypeService); r.StiQRCodeBarCodeType = o }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = t.System.Drawing.StringAlignment , o = t.System.Enum , a = function(t) { function a(e, i, n) { void 0 === e && (e = 20), void 0 === i && (i = 1), void 0 === n && (n = r.StiCheckSum.Yes); var o = t.call(this) || this; return o.royalMail4StateSymbols = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", o.royalMail4StateStartCode = "1", o.royalMail4StateStopCode = "0", o.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"], o._module = 20, o._height = 1, o._checkSum = r.StiCheckSum.Yes, o.royalMail4StateSpaceLeft = 3.9, o.royalMail4StateSpaceRight = 3.9, o.royalMail4StateSpaceTop = 3.9, o.royalMail4StateSpaceBottom = 3.9, o.royalMail4StateLineHeightLong = 10, o.royalMail4StateLineHeightShort = .62 * o.royalMail4StateLineHeightLong, o.royalMail4StateTextPosition = o.royalMail4StateSpaceTop + o.royalMail4StateLineHeightLong + o.royalMail4StateSpaceBottom + 1, o.royalMail4StateTextHeight = 5, o.royalMail4StateMainHeight = o.royalMail4StateSpaceTop + o.royalMail4StateLineHeightLong + o.royalMail4StateSpaceBottom + 7, o.royalMail4StateLineHeightForCut = o.royalMail4StateLineHeightLong, o._module = e, o._height = i, o._checkSum = n, o } return __extends(a, t), a.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyNumber("Module", this.module, 20), i.addPropertyNumber("Height", this.height, 1), i.addPropertyEnum("CheckSum", r.StiCheckSum, this.checkSum, r.StiCheckSum.Yes), i } , a.prototype.loadFromJsonObject = function(t) { var e, i; try { for (var n = __values(t.properties()), a = n.next(); !a.done; a = n.next()) { var s = a.value; switch (s.name) { case "Module": this._module = s.value.stimulsoft.toNumber(); break; case "Height": this._height = s.value.stimulsoft.toNumber(); break; case "CheckSum": this.checkSum = o.parse(r.StiCheckSum, s.value.toString()); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , a.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "Module": this._module = n.textContent.stimulsoft.toNumber(); break; case "Height": this.height = n.textContent.stimulsoft.toNumber(); break; case "CheckSum": this.checkSum = o.parse(r.StiCheckSum, n.textContent); break } } } , Object.defineProperty(a.prototype, "componentId", { get: function() { return e.StiComponentId.StiRoyalMail4StateBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "serviceName", { get: function() { return "Royal Mail 4-state" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "defaultCodeValue", { get: function() { return "529508A" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 20 && (this._module = 20), t > 20 && (this._module = 20) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < 1 && (this._height = 1), t > 1 && (this._height = 1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "checkSum", { get: function() { return this._checkSum }, set: function(t) { this._checkSum = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "labelFontHeight", { get: function() { return 5 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[13] = !0, t[23] = !0, t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "textAlignment", { get: function() { return n.Center }, enumerable: !0, configurable: !0 }), a.prototype.charTo4State = function(t) { var e = this.royalMail4StateSymbols.indexOf(t); return this.royalMail4StateCodes[e] } , a.prototype.stateToBar = function(t) { for (var e = new i, 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() } , a.prototype.makeBarsArray = function(t, e, n) { for (var o = t.ref, a = e.ref, s = n.ref, l = new i, u = 0, c = 0, m = 0; m < o.length; m++) { var p = this.charTo4State(o[m]); "0" != p[0] && "1" != p[0] || (u += 4), "0" != p[0] && "2" != p[0] || (c += 4), "0" != p[1] && "1" != p[1] || (u += 2), "0" != p[1] && "2" != p[1] || (c += 2), "0" != p[2] && "1" != p[2] || (u += 1), "0" != p[2] && "2" != p[2] || (c += 1), l.append(p) } u %= 6, c %= 6, 0 == u && (u = 6), 0 == c && (c = 6); var h = 6 * (u - 1) + (c - 1); return this.checkSum == r.StiCheckSum.Yes && l.append(this.charTo4State(this.royalMail4StateSymbols[h])), a = this.stateToBar(this.royalMail4StateStartCode + l.toString() + this.royalMail4StateStopCode), t.ref = o, e.ref = a, n.ref = s, !0 } , a.prototype.draw = function(t, e, r, i) { var n = this.getCode(e); n = this.checkCodeSymbols(n, this.royalMail4StateSymbols); var o = "" , a = "" , s = { ref: n } , l = { ref: o } , u = { ref: a }; this.makeBarsArray(s, l, u) ? (n = 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, i, n, n, o, r, e), this.drawBarCode(t, r, e)) : a.length > 0 ? this.drawBarCodeError2(t, r, e, a) : this.drawBarCodeError(t, r, e) } , a.prototype.createNew = function() { return new a } , a }(r.StiBarCodeTypeService); r.StiRoyalMail4StateBarCodeType = a }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = function(t) { function r(e, r) { void 0 === e && (e = 13), void 0 === r && (r = 1); var i = t.call(this, e, r) || this; return i._companyPrefix = "0123456", i._serialNumber = "000000001", i._extensionDigit = "0", i } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyString("CompanyPrefix", this.companyPrefix, "0123456"), r.addPropertyString("SerialNumber", this.serialNumber, "000000001"), r.addPropertyString("ExtensionDigit", this.extensionDigit, "0"), r } , r.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "CompanyPrefix": this._companyPrefix = a.value.toString(); break; case "SerialNumber": this._serialNumber = a.value.toString(); break; case "ExtensionDigit": this._extensionDigit = a.value.toString(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , r.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "CompanyPrefix": this._companyPrefix = i.textContent; break; case "SerialNumber": this._serialNumber = i.textContent; break; case "ExtensionDigit": this._serialNumber = i.textContent; break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiSSCC18BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "SSCC" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "(00)001234560000000018" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "companyPrefix", { get: function() { return this._companyPrefix }, set: function(t) { this._companyPrefix = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serialNumber", { get: function() { return this._serialNumber }, set: function(t) { this._serialNumber = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "extensionDigit", { get: function() { return this._extensionDigit }, set: function(t) { this._extensionDigit = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "textSpacing", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[24] = !0, t[25] = !0, t[26] = !0, t }, enumerable: !0, configurable: !0 }), r.prototype.getCombinedCode = function() { return i.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 + i.fill("0", 17), "0123456789"))) } , r.prototype.getCheckDigit = function(t) { for (var e = Array.create(Number, 17), r = 0; r < 17; r++) e[r] = parseInt(t[r].toString()); var i = 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]) , n = 10 - i % 10; return 10 == n && (n = 0), String.fromCharCode(n + 48) } , r.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; if (r < 7 || r > 10) return !0; if (e[3].length + r != 16) return !0; if (24 != t.length) return !0; return !1 } , r.prototype.createNew = function() { return new r } , r }(r.StiCode128cBarCodeType); r.StiSSCC18BarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.StringBuilder , n = function(t) { function r(e, r, i) { void 0 === e && (e = 13), void 0 === r && (r = 1), void 0 === i && (i = 2.2); var n = t.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 = e, n.height = r, n.ratio = i, n } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Module", this.module, 13), r.addPropertyNumber("Height", this.height, 1), r.addPropertyNumber("Ratio", this.ratio, 2.2), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , r.prototype.loadFromXmlObject = function(e) { t.prototype.loadFromXmlObject.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Module": this.module = i.textContent.stimulsoft.toNumber(); break; case "Height": this.height = i.textContent.stimulsoft.toNumber(); break; case "Ratio": this.ratio = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiStandard2of5BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "serviceName", { get: function() { return "2of5 Standard" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "defaultCodeValue", { get: function() { return "12345678" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "module", { get: function() { return this._module }, set: function(t) { this._module = t, t < 7.5 && (this._module = 7.5), t > 40 && (this._module = 40), this.ratio = this.ratio }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, t < .5 && (this._height = .5), t > 2 && (this._height = 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "ratio", { get: function() { return this._ratio }, set: function(t) { this._ratio = t; var e = this.module > 20 ? 2 : 2.2; t < e && (this._ratio = e), t > 3 && (this._ratio = 3) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelFontHeight", { get: function() { return this.standard2of5TextHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[15] = !0, t }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(t, e, r, n) { var o = this.getCode(e); o = this.checkCodeSymbols(o, "0123456789"); var a = new i; if (a.append(this.symTableSet[10]), o.length > 0) for (var s = 0; s < o.length; s++) { var l = this.symTableSet[parseInt(o[s].toString())] , u = l[0] + "0" + l[1] + "0" + l[2] + "0" + l[3] + "0" + l[4] + "0"; a.append(u) } a.append(this.symTableSet[11]); for (var c = a.toString(), m = new i, p = !0, s = 0; s < c.length; s++) { var h = void 0; h = 1 == p ? "0" == c[s] ? "4" : "5" : "0" == c[s] ? "0" : "1", m.append(h), p = !p } 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, o, o, m.toString(), r, e), this.drawBarCode(t, r, e) } , r.prototype.createNew = function() { return new r } , r }(r.StiBarCodeTypeService); r.StiStandard2of5BarCodeType = n }(r = e.BarCodes || (e.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, i, n, o, a) { return void 0 === t && (t = 13), void 0 === i && (i = 1), void 0 === n && (n = e.StiEanSupplementType.None), void 0 === o && (o = null), void 0 === a && (a = !0), r.call(this, t, i, n, o, a) || this } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiUpcABarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "UPC-A" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "eanSpaceLeft", { get: function() { return 9 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "eanSpaceRight", { get: function() { return 9 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "defaultCodeValue", { get: function() { return "4523456789012" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[19] = !0, t[20] = !0, t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "showQuietZoneIndicator", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), i.prototype.makeUpcABars = function(t, r) { for (var i = Array.create(Number, 12), n = 0; n < 12; n++) i[n] = parseInt(t[n].toString()); var o = 3 * (i[1] + i[3] + i[5] + i[7] + i[9] + i[11]) + i[0] + i[2] + i[4] + i[6] + i[8] + i[10] , a = 10 - o % 10; 10 == a && (a = 0), t = t.substr(0, 12) + String.fromCharCode(a + 48); var s = []; s.add(new e.EanBarInfo(e.Ean13Symbol.SpaceLeft,t[1],!1)), s.add(new e.EanBarInfo(e.Ean13Symbol.GuardLeft," ",!1)), s.add(new e.EanBarInfo(e.Ean13Symbol.ComboA0 + parseInt(t[1].toString())," ",!1,!0)); for (var l = 0; l < 5; l++) { var u = parseInt(t[2 + l].toString()) , c = new e.EanBarInfo(e.Ean13Symbol.ComboA0 + u,t[2 + l],!1); s.add(c) } s.add(new e.EanBarInfo(e.Ean13Symbol.GuardCenter," ",!1)); for (var l = 0; l < 5; l++) { var u = parseInt(t[7 + l].toString()) , c = new e.EanBarInfo(e.Ean13Symbol.ComboC0 + u,t[7 + l],!1); s.add(c) } return s.add(new e.EanBarInfo(e.Ean13Symbol.ComboC0 + parseInt(t[12].toString())," ",!1,!0)), s.add(new e.EanBarInfo(e.Ean13Symbol.GuardRight," ",!1)), r ? s.add(new e.EanBarInfo(e.Ean13Symbol.SpaceRight,t[12],!1)) : s.add(new e.EanBarInfo(e.Ean13Symbol.SpaceBeforeAdd,t[12],!1)), s } , i.prototype.draw = function(t, r, i, n) { var o = this.getCode(r); o = "0" + this.checkCodeSymbols(o, "0123456789") + "000000000000"; var a = this.checkCodeSymbols(this.supplementCode, "0123456789") + "00000" , s = []; this.supplementType == e.StiEanSupplementType.None ? s = this.makeUpcABars(o, !0) : (s = this.makeUpcABars(o, !1), this.supplementType == e.StiEanSupplementType.TwoDigit ? this.makeEanAdd2Bars(a, s, !0) : this.makeEanAdd5Bars(a, s, !0)), this.calculateSizeEan(0, n, s, i, r), this.translateRect(t, i, r), this.drawEanBars(t, s, r), this.rollbackTransform(t) } , i.prototype.createNew = function() { return new i } , i }(e.StiEAN13BarCodeType); e.StiUpcABarCodeType = r }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, i, n, o, a) { void 0 === t && (t = 13), void 0 === i && (i = 1), void 0 === n && (n = e.StiEanSupplementType.None), void 0 === o && (o = null), void 0 === a && (a = !0); var s = r.call(this, t, i, n, o, a) || this; return s.symParitySet = ["eeeooo", "eeoeoo", "eeooeo", "eeoooe", "eoeeoo", "eooeeo", "eoooee", "eoeoeo", "eoeooe", "eooeoe"], s } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiUpcEBarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "UPC-E" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "eanSpaceLeft", { get: function() { return 9 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "eanSpaceRight", { get: function() { return 7 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "defaultCodeValue", { get: function() { return "01234567" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[19] = !0, t[20] = !0, t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "showQuietZoneIndicator", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), i.prototype.makeUpcEBars = function(t, r) { var i = []; i.add(new e.EanBarInfo(e.Ean13Symbol.SpaceLeft,t[0],!1)), i.add(new e.EanBarInfo(e.Ean13Symbol.GuardLeft," ",!1)); for (var n = this.symParitySet[t[7].stimulsoft.toNumber()], o = 0; o < 6; o++) { var a = t[1 + o].stimulsoft.toNumber() , s = n[o]; "0" != t[0] && (s = "o" == s ? "e" : "o"); var l = new e.EanBarInfo(e.Ean13Symbol.ComboA0 + a,t[1 + o],!1); "o" != s && (l.symbolType = e.Ean13Symbol.ComboB0 + a), i.add(l) } return i.add(new e.EanBarInfo(e.Ean13Symbol.GuardSpecial," ",!1)), i.add(new e.EanBarInfo(r ? e.Ean13Symbol.SpaceRight : e.Ean13Symbol.SpaceBeforeAdd,t[7],!1)), i } , i.prototype.createNew = function() { return new i } , i }(e.StiEAN13BarCodeType); e.StiUpcEBarCodeType = r }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, i, n, o, a) { return void 0 === t && (t = 13), void 0 === i && (i = 1), void 0 === n && (n = e.StiEanSupplementType.None), void 0 === o && (o = null), void 0 === a && (a = !0), r.call(this, t, i, n, o, a) || this } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiUpcSup2BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "UPC-Supp2" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "defaultCodeValue", { get: function() { return "02" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[17] = !0, t }, enumerable: !0, configurable: !0 }), i.prototype.draw = function(t, e, r, i) { var n = this.getCode(e); n = this.checkCodeSymbols(n, "0123456789") + "00"; var o = this.makeEanAdd2Bars(n, null, !0); this.calculateSizeEan(0, i, o, r, e), this.translateRect(t, r, e), this.drawEanBars(t, o, e), this.rollbackTransform(t) } , i.prototype.createNew = function() { return new i } , i }(e.StiEAN13BarCodeType); e.StiUpcSup2BarCodeType = r }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, i, n, o, a) { return void 0 === t && (t = 13), void 0 === i && (i = 1), void 0 === n && (n = e.StiEanSupplementType.None), void 0 === o && (o = null), void 0 === a && (a = !0), r.call(this, t, i, n, o, a) || this } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiUpcSup5BarCodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "UPC-Supp5" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "defaultCodeValue", { get: function() { return "00321" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "visibleProperties", { get: function() { var t = Array.create(Boolean, this.visiblePropertiesCount); return t[11] = !0, t[13] = !0, t[17] = !0, t }, enumerable: !0, configurable: !0 }), i.prototype.draw = function(t, e, r, i) { var n = this.getCode(e); n = this.checkCodeSymbols(n, "0123456789") + "00000"; var o = this.makeEanAdd5Bars(n, null, !0); this.calculateSizeEan(0, i, o, r, e), this.translateRect(t, r, e), this.drawEanBars(t, o, e), this.rollbackTransform(t) } , i.prototype.createNew = function() { return new i } , i }(e.StiEAN13BarCodeType); e.StiUpcSup5BarCodeType = r }(e = t.BarCodes || (t.BarCodes = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBubbleArea = "IStiBubbleArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCandlestickArea = "IStiCandlestickArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiClusteredBarArea = "IStiClusteredBarArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAreaArea = "IStiAreaArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiClusteredColumnArea = "IStiClusteredColumnArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiLineArea = "IStiLineArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiParetoArea = "IStiParetoArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSplineArea = "IStiSplineArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSplineAreaArea = "IStiSplineAreaArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSteppedAreaArea = "IStiSteppedAreaArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSteppedLineArea = "IStiSteppedLineArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDoughnutArea = "IStiDoughnutArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedBarArea = "IStiFullStackedBarArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedAreaArea = "IStiFullStackedAreaArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedColumnArea = "IStiFullStackedColumnArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedLineArea = "IStiFullStackedLineArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedSplineArea = "IStiFullStackedSplineArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedSplineAreaArea = "IStiFullStackedSplineAreaArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFunnelArea = "IStiFunnelArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGanttArea = "IStiGanttArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPictorialArea = "IStiPictorialArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPieArea = "IStiPieArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarArea = "IStiRadarArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarAreaArea = "IStiRadarAreaArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarLineArea = "IStiRadarLineArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarPointArea = "IStiRadarPointArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRangeArea = "IStiRangeArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRangeBarArea = "IStiRangeBarArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSplineRangeArea = "IStiSplineRangeArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSteppedRangeArea = "IStiSteppedRangeArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiScatterArea = "IStiScatterArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedBarArea = "IStiStackedBarArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedAreaArea = "IStiStackedAreaArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedColumnArea = "IStiStackedColumnArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedLineArea = "IStiStackedLineArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedSplineArea = "IStiStackedSplineArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedSplineAreaArea = "IStiStackedSplineAreaArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStockArea = "IStiStockArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTreemapArea = "IStiTreemapArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiArea = "IStiArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAreaCoreXF = "IStiAreaCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisArea = "IStiAxisArea" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisAreaCoreXF = "IStiAxisAreaCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStripLineXF = "IStiStripLineXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStripLinesXF = "IStiStripLinesXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStripPositionXF = "IStiStripPositionXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxis = "IStiAxis" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisCoreXF = "IStiAxisCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisDateTimeStep = "IStiAxisDateTimeStep" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisInfoXF = "IStiAxisInfoXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisInteraction = "IStiAxisInteraction" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisLabels = "IStiAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisLabelsCoreXF = "IStiAxisLabelsCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisRange = "IStiAxisRange" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisTicks = "IStiAxisTicks" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisTitle = "IStiAxisTitle" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisTitleCoreXF = "IStiAxisTitleCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiXAxis = "IStiXAxis" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiXBottomAxis = "IStiXBottomAxis" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiXTopAxis = "IStiXTopAxis" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiYAxis = "IStiYAxis" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiYLeftAxis = "IStiYLeftAxis" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiYRightAxis = "IStiYRightAxis" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartTitle = "IStiChartTitle" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartTitleCoreXF = "IStiChartTitleCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartCondition = "IStiChartCondition" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartConditionsCollection = "IStiChartConditionsCollection" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiConstantLines = "IStiConstantLines" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiConstantLinesCollection = "IStiConstantLinesCollection" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiConstantLinesCoreXF = "IStiConstantLinesCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartFilter = "IStiChartFilter" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartFiltersCollection = "IStiChartFiltersCollection" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGridLines = "IStiGridLines" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGridLinesCoreXF = "IStiGridLinesCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGridLinesHor = "IStiGridLinesHor" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGridLinesVert = "IStiGridLinesVert" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarGridLines = "IStiRadarGridLines" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarGridLinesCoreXF = "IStiRadarGridLinesCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarGridLinesHor = "IStiRadarGridLinesHor" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarGridLinesVert = "IStiRadarGridLinesVert" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiInterlacing = "IStiInterlacing" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiInterlacingCoreXF = "IStiInterlacingCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiInterlacingHor = "IStiInterlacingHor" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiInterlacingVert = "IStiInterlacingVert" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiLegend = "IStiLegend" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiLegendCoreXF = "IStiLegendCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiLegendMarker = "IStiLegendMarker" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiLineMarker = "IStiLineMarker" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiMarker = "IStiMarker" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiMarkerCoreXF = "IStiMarkerCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarAxis = "IStiRadarAxis" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarAxisCoreXF = "IStiRadarAxisCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarAxisLabels = "IStiRadarAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarAxisLabelsCoreXF = "IStiRadarAxisLabelsCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiXRadarAxis = "IStiXRadarAxis" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiXRadarAxisCoreXF = "IStiXRadarAxisCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiYRadarAxis = "IStiYRadarAxis" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiYRadarAxisCoreXF = "IStiYRadarAxisCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAxisSeriesLabels = "IStiAxisSeriesLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCenterAxisLabels = "IStiCenterAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiInsideBaseAxisLabels = "IStiInsideBaseAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiInsideEndAxisLabels = "IStiInsideEndAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiLeftAxisLabels = "IStiLeftAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiOutsideAxisLabels = "IStiOutsideAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiOutsideBaseAxisLabels = "IStiOutsideBaseAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiOutsideEndAxisLabels = "IStiOutsideEndAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRightAxisLabels = "IStiRightAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiValueAxisLabels = "IStiValueAxisLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCenterFunnelLabels = "IStiCenterFunnelLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFunnelSeriesLabels = "IStiFunnelSeriesLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiOutsideLeftFunnelLabels = "IStiOutsideLeftFunnelLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiOutsideRightFunnelLabels = "IStiOutsideRightFunnelLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCenterPieLabels = "IStiCenterPieLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiInsideEndPieLabels = "IStiInsideEndPieLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiOutsidePieLabels = "IStiOutsidePieLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPieSeriesLabels = "IStiPieSeriesLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTwoColumnsPieLabels = "IStiTwoColumnsPieLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarSeriesLabels = "IStiRadarSeriesLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTangentRadarLabels = "IStiTangentRadarLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiNoneLabels = "IStiNoneLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSeriesLabels = "IStiSeriesLabels" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSeriesLabelsCoreXF = "IStiSeriesLabelsCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBubbleSeries = "IStiBubbleSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiClusteredBarSeries = "IStiClusteredBarSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAreaSeries = "IStiAreaSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBaseLineSeries = "IStiBaseLineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiClusteredColumnSeries = "IStiClusteredColumnSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiLineSeries = "IStiLineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiParetoSeries = "IStiParetoSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSplineAreaSeries = "IStiSplineAreaSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSplineSeries = "IStiSplineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSteppedAreaSeries = "IStiSteppedAreaSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSteppedLineSeries = "IStiSteppedLineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDoughnutSeries = "IStiDoughnutSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCandlestickSeries = "IStiCandlestickSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFinancialSeries = "IStiFinancialSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStockSeries = "IStiStockSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedBarSeries = "IStiFullStackedBarSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedAreaSeries = "IStiFullStackedAreaSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedColumnSeries = "IStiFullStackedColumnSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedLineSeries = "IStiFullStackedLineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedSplineAreaSeries = "IStiFullStackedSplineAreaSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFullStackedSplineSeries = "IStiFullStackedSplineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFunnelSeries = "IStiFunnelSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFunnelWeightedSlicesSeries = "IStiFunnelWeightedSlicesSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGanttSeries = "IStiGanttSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPictorialSeries = "IStiPictorialSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPieSeries = "IStiPieSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarAreaSeries = "IStiRadarAreaSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarLineSeries = "IStiRadarLineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarPointSeries = "IStiRadarPointSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRadarSeries = "IStiRadarSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiLineRangeSeries = "IStiLineRangeSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRangeBarSeries = "IStiRangeBarSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRangeSeries = "IStiRangeSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSplineRangeSeries = "IStiSplineRangeSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSteppedRangeSeries = "IStiSteppedRangeSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiScatterLineSeries = "IStiScatterLineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiScatterSeries = "IStiScatterSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiScatterSplineSeries = "IStiScatterSplineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedBarSeries = "IStiStackedBarSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedAreaSeries = "IStiStackedAreaSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedBaseLineSeries = "IStiStackedBaseLineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedColumnSeries = "IStiStackedColumnSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedLineSeries = "IStiStackedLineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedSplineAreaSeries = "IStiStackedSplineAreaSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStackedSplineSeries = "IStiStackedSplineSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTreemapSeries = "IStiTreemapSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAllowApplyBorderColor = "IStiAllowApplyBorderColor" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAllowApplyBrush = "IStiAllowApplyBrush" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAllowApplyBrushNegative = "IStiAllowApplyBrushNegative" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAllowApplyColorNegative = "IStiAllowApplyColorNegative" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSeries = "IStiSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSeriesCollection = "IStiSeriesCollection" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSeriesCoreXF = "IStiSeriesCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSeriesInteractionData = "IStiSeriesInteractionData" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStrips = "IStiStrips" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStripsCollection = "IStiStripsCollection" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStripsCoreXF = "IStiStripsCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartStyle = "IStiChartStyle" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCustomStyle = "IStiCustomStyle" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCustomStyleCoreXF = "IStiCustomStyleCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiStyleCoreXF = "IStiStyleCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartTable = "IStiChartTable" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartTableCoreXF = "IStiTrendLineCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartTableDataCells = "IStiChartTableDataCells" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartTableHeader = "IStiChartTableHeader" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSeriesTopN = "IStiSeriesTopN" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTrendLine = "IStiTrendLine" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTrendLineCoreXF = "IStiTrendLineCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTrendLineExponential = "IStiTrendLineExponential" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTrendLineLinear = "IStiTrendLineLinear" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTrendLineLogarithmic = "IStiTrendLineLogarithmic" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTrendLineNone = "IStiTrendLineNone" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiApplyStyle = "IStiApplyStyle" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiApplyStyleSeries = "IStiApplyStyleSeries" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCellGeom = "IStiCellGeom" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChart = "IStiChart" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartCoreXF = "IStiChartCoreXF" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartInfo = "IStiChartInfo" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGeomInteraction = "IStiGeomInteraction" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSeriesElement = "IStiSeriesElement" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSeriesInteraction = "IStiSeriesInteraction" }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() { this.lineColor = 90, this.lineStyle = 100, this.lineWidth = 110, this.showShadow = 120 } return t }(); t.StiTrendLinePropertyOrder = e; var r = function() { function t() { 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 } return t }(); t.StiSeriesLabelsPropertyOrder = r; var i = function() { function t() { 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 } return t }(); t.StiSeriesPropertyOrder = i; var n; !function(t) { t[t.Top = 0] = "Top", t[t.Right = 90] = "Right", t[t.Bottom = 180] = "Bottom", t[t.Left = 270] = "Left" }(n = t.StiChartTitleDock || (t.StiChartTitleDock = {})); var o; !function(t) { t[t.LeftToRight = 0] = "LeftToRight", t[t.RightToLeft = 1] = "RightToLeft", t[t.TopToBottom = 2] = "TopToBottom", t[t.BottomToTop = 3] = "BottomToTop" }(o = t.StiLegendDirection || (t.StiLegendDirection = {})); var a; !function(t) { t[t.LeftToRight = 0] = "LeftToRight", t[t.RightToLeft = 1] = "RightToLeft", t[t.TopToBottom = 2] = "TopToBottom", t[t.BottomToTop = 3] = "BottomToTop" }(a = t.StiDirection || (t.StiDirection = {})); var s; !function(t) { t[t.LeftOutside = 0] = "LeftOutside", t[t.Left = 1] = "Left", t[t.Center = 2] = "Center", t[t.Right = 3] = "Right", t[t.RightOutside = 4] = "RightOutside" }(s = t.StiLegendHorAlignment || (t.StiLegendHorAlignment = {})); var l; !function(t) { t[t.TopOutside = 0] = "TopOutside", t[t.Top = 1] = "Top", t[t.Center = 2] = "Center", t[t.Bottom = 3] = "Bottom", t[t.BottomOutside = 4] = "BottomOutside" }(l = t.StiLegendVertAlignment || (t.StiLegendVertAlignment = {})); var u; !function(t) { t[t.Left = 0] = "Left", t[t.Center = 1] = "Center", t[t.Right = 2] = "Right" }(u = t.StiMarkerAlignment || (t.StiMarkerAlignment = {})); var c; !function(t) { t[t.ClusteredColumn = 0] = "ClusteredColumn", t[t.StackedColumn = 1] = "StackedColumn", t[t.FullStackedColumn = 2] = "FullStackedColumn", t[t.Pareto = 3] = "Pareto", t[t.ClusteredBar = 10] = "ClusteredBar", t[t.StackedBar = 11] = "StackedBar", t[t.FullStackedBar = 12] = "FullStackedBar", t[t.Pie = 20] = "Pie", t[t.Doughnut = 21] = "Doughnut", t[t.Line = 30] = "Line", t[t.SteppedLine = 31] = "SteppedLine", t[t.StackedLine = 32] = "StackedLine", t[t.FullStackedLine = 33] = "FullStackedLine", t[t.Spline = 40] = "Spline", t[t.StackedSpline = 41] = "StackedSpline", t[t.FullStackedSpline = 42] = "FullStackedSpline", t[t.Area = 50] = "Area", t[t.SteppedArea = 51] = "SteppedArea", t[t.StackedArea = 52] = "StackedArea", t[t.FullStackedArea = 53] = "FullStackedArea", t[t.SplineArea = 60] = "SplineArea", t[t.StackedSplineArea = 61] = "StackedSplineArea", t[t.FullStackedSplineArea = 62] = "FullStackedSplineArea", t[t.Gantt = 70] = "Gantt", t[t.Scatter = 80] = "Scatter", t[t.Bubble = 81] = "Bubble", t[t.RadarPoint = 82] = "RadarPoint", t[t.RadarLine = 83] = "RadarLine", t[t.RadarArea = 84] = "RadarArea", t[t.Range = 90] = "Range", t[t.SteppedRange = 91] = "SteppedRange", t[t.RangeBar = 92] = "RangeBar", t[t.SplineRange = 93] = "SplineRange", t[t.Funnel = 100] = "Funnel", t[t.Candlestick = 110] = "Candlestick", t[t.Stock = 120] = "Stock", t[t.Treemap = 130] = "Treemap", t[t.Pictorial = 131] = "Pictorial" }(c = t.StiChartAreaPosition || (t.StiChartAreaPosition = {})); var m; !function(t) { t[t.Horizontal = 0] = "Horizontal", t[t.Vertical = 1] = "Vertical" }(m = t.StiChartSeriesOrientation || (t.StiChartSeriesOrientation = {})); var p; !function(t) { t[t.None = 0] = "None", t[t.Triangle = 1] = "Triangle", t[t.Lines = 2] = "Lines", t[t.Circle = 3] = "Circle", t[t.Arc = 4] = "Arc", t[t.ArcAndCircle = 5] = "ArcAndCircle" }(p = t.StiArrowStyle || (t.StiArrowStyle = {})); var h; !function(t) { t[t.None = 0] = "None", t[t.OneLine = 1] = "OneLine", t[t.TwoLines = 2] = "TwoLines", t[t.AutoRotation = 3] = "AutoRotation" }(h = t.StiLabelsPlacement || (t.StiLabelsPlacement = {})); var d; !function(t) { t[t.Top = 0] = "Top", t[t.Bottom = 1] = "Bottom" }(d = t.StiXAxisDock || (t.StiXAxisDock = {})); var g; !function(t) { t[t.Left = 0] = "Left", t[t.Right = 1] = "Right" }(g = t.StiYAxisDock || (t.StiYAxisDock = {})); var f; !function(t) { t[t.Inside = 0] = "Inside", t[t.Outside = 1] = "Outside" }(f = t.StiTitlePosition || (t.StiTitlePosition = {})); var S; !function(t) { t[t.None = 0] = "None", t[t.InsideEndAxis = 1] = "InsideEndAxis", t[t.InsideBaseAxis = 2] = "InsideBaseAxis", t[t.CenterAxis = 3] = "CenterAxis", t[t.OutsideEndAxis = 4] = "OutsideEndAxis", t[t.OutsideBaseAxis = 5] = "OutsideBaseAxis", t[t.OutsideAxis = 6] = "OutsideAxis", t[t.Left = 7] = "Left", t[t.Value = 8] = "Value", t[t.Right = 9] = "Right", t[t.InsideEndPie = 10] = "InsideEndPie", t[t.CenterPie = 11] = "CenterPie", t[t.OutsidePie = 12] = "OutsidePie", t[t.TwoColumnsPie = 13] = "TwoColumnsPie", t[t.CenterFunnel = 14] = "CenterFunnel", t[t.OutsideRightFunnel = 15] = "OutsideRightFunnel", t[t.OutsideLeftFunnel = 16] = "OutsideLeftFunnel", t[t.CenterTreemap = 17] = "CenterTreemap" }(S = t.StiSeriesLabelsPosition || (t.StiSeriesLabelsPosition = {})); var A; !function(t) { t[t.Axis = 1] = "Axis", t[t.Pie = 2] = "Pie", t[t.Doughnut = 4] = "Doughnut", t[t.Radar = 8] = "Radar", t[t.Funnel = 10] = "Funnel", t[t.Treemap = 12] = "Treemap", t[t.All = 15] = "All" }(A = t.StiSeriesLabelsType || (t.StiSeriesLabelsType = {})); var y; !function(t) { t[t.Value = 0] = "Value", t[t.SeriesTitle = 1] = "SeriesTitle", t[t.Argument = 2] = "Argument", t[t.Tag = 3] = "Tag", t[t.Weight = 4] = "Weight", t[t.ValueArgument = 5] = "ValueArgument", t[t.ArgumentValue = 6] = "ArgumentValue", t[t.SeriesTitleValue = 7] = "SeriesTitleValue", t[t.SeriesTitleArgument = 8] = "SeriesTitleArgument" }(y = t.StiSeriesLabelsValueType || (t.StiSeriesLabelsValueType = {})); var w; !function(t) { t[t.Rectangle = 0] = "Rectangle", t[t.Triangle = 1] = "Triangle", t[t.Circle = 2] = "Circle", t[t.HalfCircle = 3] = "HalfCircle", t[t.Star5 = 4] = "Star5", t[t.Star6 = 5] = "Star6", t[t.Star7 = 6] = "Star7", t[t.Star8 = 7] = "Star8", t[t.Hexagon = 8] = "Hexagon" }(w = t.StiMarkerType || (t.StiMarkerType = {})); var b; !function(t) { t[t.Value = 0] = "Value", t[t.Argument = 1] = "Argument", t[t.None = 2] = "None" }(b = t.StiSeriesSortType || (t.StiSeriesSortType = {})); var v; !function(t) { t[t.Ascending = 0] = "Ascending", t[t.Descending = 1] = "Descending" }(v = t.StiSeriesSortDirection || (t.StiSeriesSortDirection = {})); var C; !function(t) { t[t.BottomXAxis = 0] = "BottomXAxis", t[t.TopXAxis = 1] = "TopXAxis" }(C = t.StiSeriesXAxis || (t.StiSeriesXAxis = {})); var E; !function(t) { t[t.LeftYAxis = 0] = "LeftYAxis", t[t.RightYAxis = 1] = "RightYAxis" }(E = t.StiSeriesYAxis || (t.StiSeriesYAxis = {})); var B; !function(t) { t[t.None = 0] = "None", t[t.FromChart = 1] = "FromChart", t[t.FromSeries = 2] = "FromSeries" }(B = t.StiShowSeriesLabels || (t.StiShowSeriesLabels = {})); var T; !function(t) { t[t.Left = 0] = "Left", t[t.Center = 1] = "Center", t[t.Both = 2] = "Both" }(T = t.StiShowYAxis || (t.StiShowYAxis = {})); var I; !function(t) { t[t.Bottom = 0] = "Bottom", t[t.Center = 1] = "Center", t[t.Both = 2] = "Both" }(I = t.StiShowXAxis || (t.StiShowXAxis = {})); var x; !function(t) { t[t.Polygon = 0] = "Polygon", t[t.Circle = 1] = "Circle" }(x = t.StiRadarStyle || (t.StiRadarStyle = {})); var F; !function(t) { t[t.None = 0] = "None", t[t.Second = 1] = "Second", t[t.Minute = 2] = "Minute", t[t.Hour = 3] = "Hour", t[t.Day = 4] = "Day", t[t.Month = 5] = "Month", t[t.Year = 6] = "Year" }(F = t.StiTimeDateStep || (t.StiTimeDateStep = {})); var D; !function(t) { t[t.None = 0] = "None", t[t.Top = 1] = "Top", t[t.Bottom = 2] = "Bottom" }(D = t.StiTopNMode || (t.StiTopNMode = {})); var R; !function(t) { t[t.StiStyle01 = 0] = "StiStyle01", t[t.StiStyle02 = 1] = "StiStyle02", t[t.StiStyle03 = 2] = "StiStyle03", t[t.StiStyle04 = 3] = "StiStyle04", t[t.StiStyle05 = 4] = "StiStyle05", t[t.StiStyle06 = 5] = "StiStyle06", t[t.StiStyle07 = 6] = "StiStyle07", t[t.StiStyle08 = 7] = "StiStyle08", t[t.StiStyle09 = 8] = "StiStyle09", t[t.StiStyle10 = 9] = "StiStyle10", t[t.StiStyle11 = 10] = "StiStyle11", t[t.StiStyle12 = 11] = "StiStyle12", t[t.StiStyle13 = 12] = "StiStyle13", t[t.StiStyle14 = 13] = "StiStyle14", t[t.StiStyle15 = 14] = "StiStyle15", t[t.StiStyle16 = 15] = "StiStyle16", t[t.StiStyle17 = 16] = "StiStyle17", t[t.StiStyle18 = 17] = "StiStyle18", t[t.StiStyle19 = 18] = "StiStyle19", t[t.StiStyle20 = 19] = "StiStyle20", t[t.StiStyle21 = 20] = "StiStyle21", t[t.StiStyle22 = 21] = "StiStyle22", t[t.StiStyle23 = 22] = "StiStyle23", t[t.StiStyle24 = 23] = "StiStyle24", t[t.StiStyle25 = 24] = "StiStyle25", t[t.StiStyle26 = 25] = "StiStyle26", t[t.StiStyle27 = 26] = "StiStyle27", t[t.StiStyle28 = 27] = "StiStyle28", t[t.StiStyle29 = 28] = "StiStyle29", t[t.StiStyle30 = 29] = "StiStyle30", t[t.StiStyle31 = 30] = "StiStyle31", t[t.StiStyle32 = 31] = "StiStyle32", t[t.StiStyle33 = 32] = "StiStyle33" }(R = t.StiChartStyleId || (t.StiChartStyleId = {})); var P; !function(t) { t[t.Horizontal = 0] = "Horizontal", t[t.Vertical = 1] = "Vertical", t[t.HorizontalRight = 2] = "HorizontalRight" }(P = t.StiStrips_StiOrientation || (t.StiStrips_StiOrientation = {})); var N; !function(t) { t[t.Horizontal = 0] = "Horizontal", t[t.Vertical = 1] = "Vertical", t[t.HorizontalRight = 2] = "HorizontalRight" }(N = t.StiConstantLines_StiOrientation || (t.StiConstantLines_StiOrientation = {})); var k; !function(t) { t[t.LeftTop = 0] = "LeftTop", t[t.LeftBottom = 1] = "LeftBottom", t[t.CenterTop = 2] = "CenterTop", t[t.CenterBottom = 3] = "CenterBottom", t[t.RightTop = 4] = "RightTop", t[t.RightBottom = 5] = "RightBottom" }(k = t.StiConstantLines_StiTextPosition || (t.StiConstantLines_StiTextPosition = {})); var M; !function(t) { t[t.LeftTop = 0] = "LeftTop", t[t.LeftBottom = 1] = "LeftBottom", t[t.RightTop = 2] = "RightTop", t[t.RightBottom = 3] = "RightBottom" }(M = t.StiTrendLine_StiTextPosition || (t.StiTrendLine_StiTextPosition = {})); var O; !function(t) { t[t.FromStyle = 0] = "FromStyle", t[t.True = 1] = "True", t[t.False = 2] = "False" }(O = t.StiExtendedStyleBool || (t.StiExtendedStyleBool = {})); var _; !function(t) { t[t.Value = 0] = "Value", t[t.Argument = 1] = "Argument", t[t.Series = 2] = "Series" }(_ = t.StiChartConditionalField || (t.StiChartConditionalField = {})) }(e = t.Chart || (t.Chart = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Text.StringBuilder , i = function() { function t() {} return t.parseRtf = function(t, e) { if (null != e) { var i = t.toString() , n = !1 , o = i.lastIndexOf("__LP__"); -1 == o && (o = 0); for (var a = t.length - 1; a > o; a--) { if (" " == t.toString()[a]) { n = !0; break } if ("\\" == t.toString()[a]) break } if (!n) { var s = new r; return s.append('"'), s.append(t), s.append(" "), s.append('"'), s } } if (t.length > 0) { var s = new r; return s.append('"'), s.append(t), s.append('"'), s } return new r } , t.readString = function(t, e, i, n, o, a, s) { var l = e.ref , u = i.ref , c = o.ref; u = u.append(n[l++]); var m = new r; while (l != n.length && '"' != n[l]) { if ("\\" == n[l] && l + 1 != n.length) { if ("\\" == n[l + 1]) { m.append("\\\\"), l += 2; continue } '"' == n[l + 1] && l++ } m.append(n[l++]) } var p; null != t ? (m = this.replaceBackslash(m, a, s), p = t.quoteSnippetString(m.toString())) : p = m.toString(), u = p.stimulsoft.startsWith('"') && p.stimulsoft.endsWith('"') && p.length > 1 ? u.append(p.substr(1, p.length - 2)) : u.append(p), l != n.length && (u = u.append(n[l]), l++), l == n.length && (u.length > 0 && c.add(u.toString()), u = new r), l--, e.ref = l, i.ref = u, o.ref = c } , t.readChar = function(t, e, r) { var i = t.ref , n = e.ref; n = n.append(r[i++]), i != r.length && (n = n.append(r[i++])), i != r.length && (n = n.append(r[i])), t.ref = i, e.ref = n } , t.getLexemSimple = function(t, e, i) { var n = [] , o = new r , a = !1 , s = 0; while (s < e.length) { if (0 == a) if ("{" == e[s]) { if (a = !0, o = this.parseRtf(o, i), o.length > 0) { var l = o.toString().substr(1, o.length - 2); null != t && (l = t.quoteSnippetString(l)), n.add(l) } o = new r } else o = o.append(e[s]); else if ('"' == e[s]) { var u = { ref: s } , c = { ref: o } , m = { ref: n }; this.readString(t, u, c, e, m, null != i, !1), s = u.ref, o = c.ref, n = m.ref } else if ("'" == e[s]) { var u = { ref: s } , c = { ref: o }; this.readChar(u, c, e), s = u.ref, o = c.ref } else if ("}" == e[s]) { if (a = !1, null == t) { var l = o.toString(); o = new r, o = o.append("{"), o = o.append(l), o = o.append("}") } o.length > 0 && n.add(o.toString()), o = new r } else o = o.append(e[s]); s++ } if (0 == a) { if (o = this.parseRtf(o, i), o.length > 0) { var l = o.toString().substr(1, o.length - 2); null != t && (l = t.quoteSnippetString(l)), n.add(l) } } else n.clear(); return n } , t.getLexem = function(t) { return this.getLexemSimple(null, t, null) } , t.replaceBackslash = function(t, e, i) { for (var n = new r, o = 0; o < t.length; o++) if ("\\" == t.toString()[o] && o < t.length - 1) { o++; var a = t.toString()[o]; switch (a) { case "\\": e && !i && o + 1 < t.length && "n" == t.toString()[o + 1] ? (n.append("\n"), o++) : 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 s = new r , l = 0; while (o < t.length - 1 && l < 4 && -1 != "0123456789abcdefABCDEF".indexOf(t.toString()[o + 1])) s.append(t.toString()[o + 1]), o++, l++; var u = s.stimulsoft.toNumber(); n.append(String.fromCharCode(u)); break; default: n.append("\\" + a); break } } else n.append(t.toString()[o]); return n } , t }(); e.StiCodeDomExpressionHelper = i }(r = e.CodeDom || (e.CodeDom = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function t() {} return t.isKeywordExist = function(t) { return null != this.keywordsHashtable.get(t) } , t.prototype.quoteSnippetString = function(t) { return "" } , t.init = function() { var t, e; try { for (var r = __values(this.keywords), i = r.next(); !i.done; i = r.next()) { var n = i.value; this.keywordsHashtable.add(n, n) } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , t.keywordsHashtable = new r, t.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"], t }(); e.StiCodeGenerator = i, i.init() }(r = e.CodeDom || (e.CodeDom = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t[t.High = 0] = "High", t[t.Normal = 1] = "Normal", t[t.Low = 2] = "Low" }(e = t.StiNestedFactor || (t.StiNestedFactor = {})); var r; !function(t) { t[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" }(r = t.StiResizeReportOptions || (t.StiResizeReportOptions = {})); var i; !function(t) { t[t.Compilation = 0] = "Compilation", t[t.Interpretation = 1] = "Interpretation" }(i = t.StiCalculationMode || (t.StiCalculationMode = {})); var n; !function(t) { t[t.CSharp = 0] = "CSharp", t[t.VB = 1] = "VB", t[t.JS = 2] = "JS" }(n = t.StiReportLanguageType || (t.StiReportLanguageType = {})); var o; !function(t) { t[t.Centimeters = 0] = "Centimeters", t[t.HundredthsOfInch = 1] = "HundredthsOfInch", t[t.Inches = 2] = "Inches", t[t.Millimeters = 3] = "Millimeters" }(o = t.StiReportUnitType || (t.StiReportUnitType = {})); var a; !function(t) { t[t.Lines = 0] = "Lines", t[t.Dots = 1] = "Dots" }(a = t.StiGridMode || (t.StiGridMode = {})); var s; !function(t) { t[t.None = 0] = "None", t[t.First = 1] = "First", t[t.Second = 2] = "Second" }(s = t.StiReportPass || (t.StiReportPass = {})); var l; !function(t) { t[t.SinglePass = 0] = "SinglePass", t[t.DoublePass = 1] = "DoublePass" }(l = t.StiNumberOfPass || (t.StiNumberOfPass = {})); var u; !function(t) { t[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" }(u = t.StiExportFormat || (t.StiExportFormat = {})); var c; !function(t) { t[t.Off = 0] = "Off", t[t.On = 1] = "On", t[t.Auto = 2] = "Auto" }(c = t.StiReportCacheMode || (t.StiReportCacheMode = {})); var m; !function(t) { t[t.Bitmap = 0] = "Bitmap", t[t.Metafile = 1] = "Metafile", t[t.Report = 2] = "Report" }(m = t.StiReportResourceType || (t.StiReportResourceType = {})); var p; !function(t) { t[t.All = 1] = "All", t[t.CurrentPage = 2] = "CurrentPage", t[t.Pages = 3] = "Pages" }(p = t.StiRangeType || (t.StiRangeType = {})); var h; !function(t) { t[t.Html = 1] = "Html", t[t.Html5 = 2] = "Html5", t[t.Mht = 3] = "Mht" }(h = t.StiHtmlType || (t.StiHtmlType = {})); var d; !function(t) { t[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" }(d = t.ImageFormat || (t.ImageFormat = {})); var g; !function(t) { t[t.Standard = 0] = "Standard", t[t.Eastern = 1] = "Eastern" }(g = t.StiArabicDigitsType || (t.StiArabicDigitsType = {})); var f; !function(t) { t[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" }(f = t.StiBrushType || (t.StiBrushType = {})); var S; !function(t) { t[t.StiComponent = 0] = "StiComponent", t[t.StiBarCode = 1] = "StiBarCode", t[t.StiButtonControl = 2] = "StiButtonControl", t[t.StiChart = 3] = "StiChart", t[t.StiChartCommon = 4] = "StiChartCommon", t[t.StiCheckBox = 5] = "StiCheckBox", t[t.StiCheckBoxControl = 6] = "StiCheckBoxControl", t[t.StiCheckedListBoxControl = 7] = "StiCheckedListBoxControl", t[t.StiChildBand = 8] = "StiChildBand", t[t.StiClone = 9] = "StiClone", t[t.StiColumnFooterBand = 10] = "StiColumnFooterBand", t[t.StiColumnHeaderBand = 11] = "StiColumnHeaderBand", t[t.StiComboBoxControl = 12] = "StiComboBoxControl", t[t.StiContainer = 13] = "StiContainer", t[t.StiContourText = 14] = "StiContourText", t[t.StiCrossColumn = 15] = "StiCrossColumn", t[t.StiCrossColumnTotal = 16] = "StiCrossColumnTotal", t[t.StiCrossDataBand = 17] = "StiCrossDataBand", t[t.StiCrossFooterBand = 18] = "StiCrossFooterBand", t[t.StiCrossGroupFooterBand = 19] = "StiCrossGroupFooterBand", t[t.StiCrossGroupHeaderBand = 20] = "StiCrossGroupHeaderBand", t[t.StiCrossHeaderBand = 21] = "StiCrossHeaderBand", t[t.StiCrossRow = 22] = "StiCrossRow", t[t.StiCrossRowTotal = 23] = "StiCrossRowTotal", t[t.StiCrossSummary = 24] = "StiCrossSummary", t[t.StiCrossTab = 25] = "StiCrossTab", t[t.StiCrossTitle = 26] = "StiCrossTitle", t[t.StiDashboardPage = 27] = "StiDashboardPage", t[t.StiDataBand = 28] = "StiDataBand", t[t.StiDateTimePickerControl = 29] = "StiDateTimePickerControl", t[t.StiEmptyBand = 30] = "StiEmptyBand", t[t.StiFooterBand = 31] = "StiFooterBand", t[t.StiForm = 32] = "StiForm", t[t.StiGridControl = 33] = "StiGridControl", t[t.StiGroupBoxControl = 34] = "StiGroupBoxControl", t[t.StiGroupFooterBand = 35] = "StiGroupFooterBand", t[t.StiGroupHeaderBand = 36] = "StiGroupHeaderBand", t[t.StiHeaderBand = 37] = "StiHeaderBand", t[t.StiHierarchicalBand = 38] = "StiHierarchicalBand", t[t.StiHorizontalLinePrimitive = 39] = "StiHorizontalLinePrimitive", t[t.StiImage = 40] = "StiImage", t[t.StiLabelControl = 41] = "StiLabelControl", t[t.StiListBoxControl = 42] = "StiListBoxControl", t[t.StiListViewControl = 43] = "StiListViewControl", t[t.StiLookUpBoxControl = 44] = "StiLookUpBoxControl", t[t.StiNumericUpDownControl = 45] = "StiNumericUpDownControl", t[t.StiOverlayBand = 46] = "StiOverlayBand", t[t.StiPage = 47] = "StiPage", t[t.StiPageFooterBand = 48] = "StiPageFooterBand", t[t.StiPageHeaderBand = 49] = "StiPageHeaderBand", t[t.StiPanel = 50] = "StiPanel", t[t.StiPanelControl = 51] = "StiPanelControl", t[t.StiPictureBoxControl = 52] = "StiPictureBoxControl", t[t.StiRadioButtonControl = 53] = "StiRadioButtonControl", t[t.StiRectanglePrimitive = 54] = "StiRectanglePrimitive", t[t.StiReportControl = 55] = "StiReportControl", t[t.StiReportSummaryBand = 56] = "StiReportSummaryBand", t[t.StiReportTitleBand = 57] = "StiReportTitleBand", t[t.StiRichText = 58] = "StiRichText", t[t.StiRichTextBoxControl = 59] = "StiRichTextBoxControl", t[t.StiRoundedRectanglePrimitive = 60] = "StiRoundedRectanglePrimitive", t[t.StiShape = 61] = "StiShape", t[t.StiSubReport = 62] = "StiSubReport", t[t.StiSystemText = 63] = "StiSystemText", t[t.StiTable = 64] = "StiTable", t[t.StiTableCell = 65] = "StiTableCell", t[t.StiText = 66] = "StiText", t[t.StiTextBoxControl = 67] = "StiTextBoxControl", t[t.StiTextInCells = 68] = "StiTextInCells", t[t.StiTreeViewControl = 69] = "StiTreeViewControl", t[t.StiVerticalLinePrimitive = 70] = "StiVerticalLinePrimitive", t[t.StiWinControl = 71] = "StiWinControl", t[t.StiUndefinedComponent = 72] = "StiUndefinedComponent", t[t.StiZipCode = 73] = "StiZipCode", t[t.StiTableCellCheckBox = 74] = "StiTableCellCheckBox", t[t.StiTableCellImage = 75] = "StiTableCellImage", t[t.StiTableCellRichText = 76] = "StiTableCellRichText", t[t.StiDataColumn = 77] = "StiDataColumn", t[t.StiCalcDataColumn = 78] = "StiCalcDataColumn", t[t.StiBusinessObject = 79] = "StiBusinessObject", t[t.StiDataSource = 80] = "StiDataSource", t[t.StiDataStoreSource = 81] = "StiDataStoreSource", t[t.StiFileDataSource = 82] = "StiFileDataSource", t[t.StiDataRelation = 83] = "StiDataRelation", t[t.StiVariable = 84] = "StiVariable", t[t.StiResource = 85] = "StiResource", t[t.StiReport = 86] = "StiReport", t[t.StiStyle = 87] = "StiStyle", t[t.StiCrossTabStyle = 88] = "StiCrossTabStyle", t[t.StiChartStyle = 89] = "StiChartStyle", t[t.StiMapStyle = 90] = "StiMapStyle", t[t.StiTableStyle = 91] = "StiTableStyle", t[t.StiGaugeStyle = 92] = "StiGaugeStyle", t[t.StiIndicatorStyle = 93] = "StiIndicatorStyle", t[t.StiDialogStyle = 94] = "StiDialogStyle", t[t.StiDataParameter = 95] = "StiDataParameter", t[t.StiCrossField = 96] = "StiCrossField", t[t.StiCrossTotal = 97] = "StiCrossTotal", t[t.StiCrossCell = 98] = "StiCrossCell", t[t.StiCrossHeader = 99] = "StiCrossHeader", t[t.StiCrossSummaryHeader = 100] = "StiCrossSummaryHeader", t[t.StiStartPointPrimitive = 101] = "StiStartPointPrimitive", t[t.StiEndPointPrimitive = 102] = "StiEndPointPrimitive", t[t.StiEvent = 103] = "StiEvent", t[t.StiChartElement = 104] = "StiChartElement", t[t.StiGaugeElement = 105] = "StiGaugeElement", t[t.StiImageElement = 106] = "StiImageElement", t[t.StiIndicatorElement = 107] = "StiIndicatorElement", t[t.StiRegionMapElement = 108] = "StiRegionMapElement", t[t.StiOnlineMapElement = 109] = "StiOnlineMapElement", t[t.StiTableElement = 110] = "StiTableElement", t[t.StiPivotTableElement = 111] = "StiPivotTableElement", t[t.StiProgressElement = 112] = "StiProgressElement", t[t.StiTextElement = 113] = "StiTextElement", t[t.StiPanelElement = 114] = "StiPanelElement", t[t.StiShapeElement = 115] = "StiShapeElement", t[t.StiTreeViewElement = 116] = "StiTreeViewElement", t[t.StiTreeViewBoxElement = 117] = "StiTreeViewBoxElement", t[t.StiListBoxElement = 118] = "StiListBoxElement", t[t.StiComboBoxElement = 119] = "StiComboBoxElement", t[t.StiDatePickerElement = 120] = "StiDatePickerElement", t[t.StiDateRangeElement = 121] = "StiDateRangeElement", t[t.StiDashboard = 122] = "StiDashboard", t[t.StiSeries = 123] = "StiSeries", t[t.StiBubbleSeries = 124] = "StiBubbleSeries", t[t.StiClusteredColumnSeries = 125] = "StiClusteredColumnSeries", t[t.StiParetoSeries = 126] = "StiParetoSeries", t[t.StiLineSeries = 127] = "StiLineSeries", t[t.StiSteppedLineSeries = 128] = "StiSteppedLineSeries", t[t.StiSplineSeries = 129] = "StiSplineSeries", t[t.StiAreaSeries = 130] = "StiAreaSeries", t[t.StiSteppedAreaSeries = 131] = "StiSteppedAreaSeries", t[t.StiSplineAreaSeries = 132] = "StiSplineAreaSeries", t[t.StiStackedColumnSeries = 133] = "StiStackedColumnSeries", t[t.StiStackedLineSeries = 134] = "StiStackedLineSeries", t[t.StiStackedSplineSeries = 135] = "StiStackedSplineSeries", t[t.StiStackedAreaSeries = 136] = "StiStackedAreaSeries", t[t.StiStackedSplineAreaSeries = 137] = "StiStackedSplineAreaSeries", t[t.StiFullStackedColumnSeries = 138] = "StiFullStackedColumnSeries", t[t.StiFullStackedLineSeries = 139] = "StiFullStackedLineSeries", t[t.StiFullStackedAreaSeries = 140] = "StiFullStackedAreaSeries", t[t.StiFullStackedSplineSeries = 141] = "StiFullStackedSplineSeries", t[t.StiFullStackedSplineAreaSeries = 142] = "StiFullStackedSplineAreaSeries", t[t.StiClusteredBarSeries = 143] = "StiClusteredBarSeries", t[t.StiStackedBarSeries = 144] = "StiStackedBarSeries", t[t.StiTreemapSeries = 145] = "StiTreemapSeries", t[t.StiPictorialSeries = 146] = "StiPictorialSeries", t[t.StiFullStackedBarSeries = 147] = "StiFullStackedBarSeries", t[t.StiPieSeries = 148] = "StiPieSeries", t[t.StiDoughnutSeries = 149] = "StiDoughnutSeries", t[t.StiGanttSeries = 150] = "StiGanttSeries", t[t.StiScatterSeries = 151] = "StiScatterSeries", t[t.StiScatterLineSeries = 152] = "StiScatterLineSeries", t[t.StiScatterSplineSeries = 153] = "StiScatterSplineSeries", t[t.StiRadarAreaSeries = 154] = "StiRadarAreaSeries", t[t.StiRadarLineSeries = 155] = "StiRadarLineSeries", t[t.StiRadarPointSeries = 156] = "StiRadarPointSeries", t[t.StiRangeSeries = 157] = "StiRangeSeries", t[t.StiSteppedRangeSeries = 158] = "StiSteppedRangeSeries", t[t.StiFunnelSeries = 159] = "StiFunnelSeries", t[t.StiFunnelWeightedSlicesSeries = 160] = "StiFunnelWeightedSlicesSeries", t[t.StiRangeBarSeries = 161] = "StiRangeBarSeries", t[t.StiSplineRangeSeries = 162] = "StiSplineRangeSeries", t[t.StiCandlestickSeries = 163] = "StiCandlestickSeries", t[t.StiStockSeries = 164] = "StiStockSeries", t[t.StiChartTitle = 165] = "StiChartTitle", t[t.StiLineMarker = 166] = "StiLineMarker", t[t.StiMarker = 167] = "StiMarker", t[t.StiChartTable = 168] = "StiChartTable", t[t.StiSeriesTopN = 169] = "StiSeriesTopN", t[t.StiSeriesInteraction = 170] = "StiSeriesInteraction", t[t.StiTrendLine = 171] = "StiTrendLine", t[t.StiSeriesLabels = 172] = "StiSeriesLabels", t[t.StiNoneLabels = 173] = "StiNoneLabels", t[t.StiInsideEndAxisLabels = 174] = "StiInsideEndAxisLabels", t[t.StiInsideBaseAxisLabels = 175] = "StiInsideBaseAxisLabels", t[t.StiCenterTreemapLabels = 176] = "StiCenterTreemapLabels", t[t.StiCenterAxisLabels = 177] = "StiCenterAxisLabels", t[t.StiOutsideEndAxisLabels = 178] = "StiOutsideEndAxisLabels", t[t.StiOutsideBaseAxisLabels = 179] = "StiOutsideBaseAxisLabels", t[t.StiOutsideAxisLabels = 180] = "StiOutsideAxisLabels", t[t.StiLeftAxisLabels = 181] = "StiLeftAxisLabels", t[t.StiValueAxisLabels = 182] = "StiValueAxisLabels", t[t.StiRightAxisLabels = 183] = "StiRightAxisLabels", t[t.StiCenterFunnelLabels = 184] = "StiCenterFunnelLabels", t[t.StiCenterPieLabels = 185] = "StiCenterPieLabels", t[t.StiOutsidePieLabels = 186] = "StiOutsidePieLabels", t[t.StiTwoColumnsPieLabels = 187] = "StiTwoColumnsPieLabels", t[t.StiOutsideLeftFunnelLabels = 188] = "StiOutsideLeftFunnelLabels", t[t.StiOutsideRightFunnelLabels = 189] = "StiOutsideRightFunnelLabels", t[t.StiLegend = 190] = "StiLegend", t[t.StiClusteredColumnArea = 191] = "StiClusteredColumnArea", t[t.StiPieArea = 192] = "StiPieArea", t[t.StiTreemapArea = 193] = "StiTreemapArea", t[t.StiFunnelArea = 194] = "StiFunnelArea", t[t.StiFunnelWeightedSlicesArea = 195] = "StiFunnelWeightedSlicesArea", t[t.StiPictorialArea = 196] = "StiPictorialArea", t[t.StiRadarAreaArea = 197] = "StiRadarAreaArea", t[t.StiRadarLineArea = 198] = "StiRadarLineArea", t[t.StiRadarPointArea = 199] = "StiRadarPointArea"; t[t.StiStackedColumnArea = 200] = "StiStackedColumnArea", t[t.StiGridLines = 201] = "StiGridLines", t[t.StiInterlacing = 202] = "StiInterlacing", t[t.StiXAxis = 203] = "StiXAxis", t[t.StiXTopAxis = 204] = "StiXTopAxis", t[t.StiYAxis = 205] = "StiYAxis", t[t.StiYRightAxis = 206] = "StiYRightAxis", t[t.StiRadarGridLines = 207] = "StiRadarGridLines", t[t.StiXRadarAxis = 208] = "StiXRadarAxis", t[t.StiYRadarAxis = 209] = "StiYRadarAxis", t[t.StiDialogInfoItem = 210] = "StiDialogInfoItem", t[t.StiStringDialogInfoItem = 211] = "StiStringDialogInfoItem", t[t.StiGuidDialogInfoItem = 212] = "StiGuidDialogInfoItem", t[t.StiCharDialogInfoItem = 213] = "StiCharDialogInfoItem", t[t.StiBoolDialogInfoItem = 214] = "StiBoolDialogInfoItem", t[t.StiImageDialogInfoItem = 215] = "StiImageDialogInfoItem", t[t.StiDateTimeDialogInfoItem = 216] = "StiDateTimeDialogInfoItem", t[t.StiTimeSpanDialogInfoItem = 217] = "StiTimeSpanDialogInfoItem", t[t.StiDoubleDialogInfoItem = 218] = "StiDoubleDialogInfoItem", t[t.StiDecimalDialogInfoItem = 219] = "StiDecimalDialogInfoItem", t[t.StiLongDialogInfoItem = 220] = "StiLongDialogInfoItem", t[t.StiExpressionDialogInfoItem = 221] = "StiExpressionDialogInfoItem", t[t.StiStringRangeDialogInfoItem = 222] = "StiStringRangeDialogInfoItem", t[t.StiGuidRangeDialogInfoItem = 223] = "StiGuidRangeDialogInfoItem", t[t.StiByteArrayRangeDialogInfoItem = 224] = "StiByteArrayRangeDialogInfoItem", t[t.StiCharRangeDialogInfoItem = 225] = "StiCharRangeDialogInfoItem", t[t.StiDateTimeRangeDialogInfoItem = 226] = "StiDateTimeRangeDialogInfoItem", t[t.StiTimeSpanRangeDialogInfoItem = 227] = "StiTimeSpanRangeDialogInfoItem", t[t.StiDoubleRangeDialogInfoItem = 228] = "StiDoubleRangeDialogInfoItem", t[t.StiDecimalRangeDialogInfoItem = 229] = "StiDecimalRangeDialogInfoItem", t[t.StiLongRangeDialogInfoItem = 230] = "StiLongRangeDialogInfoItem", t[t.StiExpressionRangeDialogInfoItem = 231] = "StiExpressionRangeDialogInfoItem", t[t.OracleConnectionStringBuilder = 232] = "OracleConnectionStringBuilder", t[t.StiStrips = 233] = "StiStrips", t[t.StiConstantLines = 234] = "StiConstantLines", t[t.StiShapeTypeService = 235] = "StiShapeTypeService", t[t.StiDiagonalDownLineShapeType = 236] = "StiDiagonalDownLineShapeType", t[t.StiRoundedRectangleShapeType = 237] = "StiRoundedRectangleShapeType", t[t.StiTriangleShapeType = 238] = "StiTriangleShapeType", t[t.StiComplexArrowShapeType = 239] = "StiComplexArrowShapeType", t[t.StiBentArrowShapeType = 240] = "StiBentArrowShapeType", t[t.StiChevronShapeType = 241] = "StiChevronShapeType", t[t.StiEqualShapeType = 242] = "StiEqualShapeType", t[t.StiFlowchartCollateShapeType = 243] = "StiFlowchartCollateShapeType", t[t.StiFlowchartOffPageConnectorShapeType = 244] = "StiFlowchartOffPageConnectorShapeType", t[t.StiArrowShapeType = 245] = "StiArrowShapeType", t[t.StiOctagonShapeType = 246] = "StiOctagonShapeType", t[t.StiAustraliaPost4StateBarCodeType = 247] = "StiAustraliaPost4StateBarCodeType", t[t.StiCode11BarCodeType = 248] = "StiCode11BarCodeType", t[t.StiCode128aBarCodeType = 249] = "StiCode128aBarCodeType", t[t.StiCode128bBarCodeType = 250] = "StiCode128bBarCodeType", t[t.StiCode128cBarCodeType = 251] = "StiCode128cBarCodeType", t[t.StiCode128AutoBarCodeType = 252] = "StiCode128AutoBarCodeType", t[t.StiCode39BarCodeType = 253] = "StiCode39BarCodeType", t[t.StiCode39ExtBarCodeType = 254] = "StiCode39ExtBarCodeType", t[t.StiCode93BarCodeType = 255] = "StiCode93BarCodeType", t[t.StiCode93ExtBarCodeType = 256] = "StiCode93ExtBarCodeType", t[t.StiCodabarBarCodeType = 257] = "StiCodabarBarCodeType", t[t.StiEAN128aBarCodeType = 258] = "StiEAN128aBarCodeType", t[t.StiEAN128bBarCodeType = 259] = "StiEAN128bBarCodeType", t[t.StiEAN128cBarCodeType = 260] = "StiEAN128cBarCodeType", t[t.StiEAN128AutoBarCodeType = 261] = "StiEAN128AutoBarCodeType", t[t.StiGS1_128BarCodeType = 262] = "StiGS1_128BarCodeType", t[t.StiEAN13BarCodeType = 263] = "StiEAN13BarCodeType", t[t.StiEAN8BarCodeType = 264] = "StiEAN8BarCodeType", t[t.StiFIMBarCodeType = 265] = "StiFIMBarCodeType", t[t.StiIsbn10BarCodeType = 266] = "StiIsbn10BarCodeType", t[t.StiIsbn13BarCodeType = 267] = "StiIsbn13BarCodeType", t[t.StiITF14BarCodeType = 268] = "StiITF14BarCodeType", t[t.StiJan13BarCodeType = 269] = "StiJan13BarCodeType", t[t.StiJan8BarCodeType = 270] = "StiJan8BarCodeType", t[t.StiMsiBarCodeType = 271] = "StiMsiBarCodeType", t[t.StiPdf417BarCodeType = 272] = "StiPdf417BarCodeType", t[t.StiPharmacodeBarCodeType = 273] = "StiPharmacodeBarCodeType", t[t.StiPlesseyBarCodeType = 274] = "StiPlesseyBarCodeType", t[t.StiPostnetBarCodeType = 275] = "StiPostnetBarCodeType", t[t.StiQRCodeBarCodeType = 276] = "StiQRCodeBarCodeType", t[t.StiRoyalMail4StateBarCodeType = 277] = "StiRoyalMail4StateBarCodeType", t[t.StiDutchKIXBarCodeType = 278] = "StiDutchKIXBarCodeType", t[t.StiSSCC18BarCodeType = 279] = "StiSSCC18BarCodeType", t[t.StiUpcABarCodeType = 280] = "StiUpcABarCodeType", t[t.StiUpcEBarCodeType = 281] = "StiUpcEBarCodeType", t[t.StiUpcSup2BarCodeType = 282] = "StiUpcSup2BarCodeType", t[t.StiUpcSup5BarCodeType = 283] = "StiUpcSup5BarCodeType", t[t.StiInterleaved2of5BarCodeType = 284] = "StiInterleaved2of5BarCodeType", t[t.StiStandard2of5BarCodeType = 285] = "StiStandard2of5BarCodeType", t[t.StiDataMatrixBarCodeType = 286] = "StiDataMatrixBarCodeType", t[t.StiMaxicodeBarCodeType = 287] = "StiMaxicodeBarCodeType", t[t.StiDatabase = 288] = "StiDatabase", t[t.StiFileDatabase = 289] = "StiFileDatabase", t[t.StiCsvDatabase = 290] = "StiCsvDatabase", t[t.StiDBaseDatabase = 291] = "StiDBaseDatabase", t[t.StiExcelDatabase = 292] = "StiExcelDatabase", t[t.StiJsonDatabase = 293] = "StiJsonDatabase", t[t.StiXmlDatabase = 294] = "StiXmlDatabase", t[t.StiSqlDatabase = 295] = "StiSqlDatabase", t[t.StiGauge = 296] = "StiGauge", t[t.StiMap = 297] = "StiMap", t[t.StiFullStackedColumnArea = 298] = "StiFullStackedColumnArea", t[t.StiClusteredBarArea = 299] = "StiClusteredBarArea", t[t.StiStackedBarArea = 300] = "StiStackedBarArea", t[t.StiFullStackedBarArea = 301] = "StiFullStackedBarArea", t[t.StiDoughnutArea = 302] = "StiDoughnutArea", t[t.StiLineArea = 303] = "StiLineArea", t[t.StiParetoArea = 304] = "StiParetoArea", t[t.StiSteppedLineArea = 305] = "StiSteppedLineArea", t[t.StiStackedLineArea = 306] = "StiStackedLineArea", t[t.StiFullStackedLineArea = 307] = "StiFullStackedLineArea", t[t.StiSplineArea = 308] = "StiSplineArea", t[t.StiStackedSplineArea = 309] = "StiStackedSplineArea", t[t.StiFullStackedSplineArea = 310] = "StiFullStackedSplineArea", t[t.StiAreaArea = 311] = "StiAreaArea", t[t.StiSteppedAreaArea = 312] = "StiSteppedAreaArea", t[t.StiStackedAreaArea = 313] = "StiStackedAreaArea", t[t.StiFullStackedAreaArea = 314] = "StiFullStackedAreaArea", t[t.StiSplineAreaArea = 315] = "StiSplineAreaArea", t[t.StiStackedSplineAreaArea = 316] = "StiStackedSplineAreaArea", t[t.StiFullStackedSplineAreaArea = 317] = "StiFullStackedSplineAreaArea", t[t.StiGanttArea = 318] = "StiGanttArea", t[t.StiScatterArea = 319] = "StiScatterArea", t[t.StiBubbleArea = 320] = "StiBubbleArea", t[t.StiRangeArea = 321] = "StiRangeArea", t[t.StiSteppedRangeArea = 322] = "StiSteppedRangeArea", t[t.StiRangeBarArea = 323] = "StiRangeBarArea", t[t.StiSplineRangeArea = 324] = "StiSplineRangeArea", t[t.StiCandlestickArea = 325] = "StiCandlestickArea", t[t.StiStockArea = 326] = "StiStockArea", t[t.StiInsideEndPieLabels = 327] = "StiInsideEndPieLabels", t[t.StiTrendLineNone = 328] = "StiTrendLineNone", t[t.StiTrendLineLinear = 329] = "StiTrendLineLinear", t[t.StiTrendLineExponential = 330] = "StiTrendLineExponential", t[t.StiTrendLineLogarithmic = 331] = "StiTrendLineLogarithmic", t[t.StiDB2Database = 332] = "StiDB2Database", t[t.StiDotConnectUniversalDatabase = 333] = "StiDotConnectUniversalDatabase", t[t.StiFirebirdDatabase = 334] = "StiFirebirdDatabase", t[t.StiInformixDatabase = 335] = "StiInformixDatabase", t[t.StiMongoDbDatabase = 336] = "StiMongoDbDatabase", t[t.StiAzureTableStorageDatabase = 337] = "StiAzureTableStorageDatabase", t[t.StiMySqlDatabase = 338] = "StiMySqlDatabase", t[t.StiMSAccessDatabase = 339] = "StiMSAccessDatabase", t[t.StiOdbcDatabase = 340] = "StiOdbcDatabase", t[t.StiOleDbDatabase = 341] = "StiOleDbDatabase", t[t.StiOracleDatabase = 342] = "StiOracleDatabase", t[t.StiPostgreSQLDatabase = 343] = "StiPostgreSQLDatabase", t[t.StiSQLiteDatabase = 344] = "StiSQLiteDatabase", t[t.StiSqlCeDatabase = 345] = "StiSqlCeDatabase", t[t.StiSybaseDatabase = 346] = "StiSybaseDatabase", t[t.StiTeradataDatabase = 347] = "StiTeradataDatabase", t[t.StiVistaDBDatabase = 348] = "StiVistaDBDatabase", t[t.StiODataDatabase = 349] = "StiODataDatabase", t[t.StiDataTableSource = 350] = "StiDataTableSource", t[t.StiDataViewSource = 351] = "StiDataViewSource", t[t.StiUndefinedDataSource = 352] = "StiUndefinedDataSource", t[t.StiCsvSource = 353] = "StiCsvSource", t[t.StiDBaseSource = 354] = "StiDBaseSource", t[t.StiBusinessObjectSource = 355] = "StiBusinessObjectSource", t[t.StiCrossTabDataSource = 356] = "StiCrossTabDataSource", t[t.StiEnumerableSource = 357] = "StiEnumerableSource", t[t.StiUserSource = 358] = "StiUserSource", t[t.StiVirtualSource = 359] = "StiVirtualSource", t[t.StiDataTransformation = 360] = "StiDataTransformation", t[t.StiOracleODPSource = 361] = "StiOracleODPSource", t[t.StiFirebirdSource = 362] = "StiFirebirdSource", t[t.StiInformixSource = 363] = "StiInformixSource", t[t.StiMongoDbSource = 364] = "StiMongoDbSource", t[t.StiAzureTableStorageSource = 365] = "StiAzureTableStorageSource", t[t.StiMSAccessSource = 366] = "StiMSAccessSource", t[t.StiMySqlSource = 367] = "StiMySqlSource", t[t.StiDataWorldSource = 368] = "StiDataWorldSource", t[t.StiOdbcSource = 369] = "StiOdbcSource", t[t.StiOleDbSource = 370] = "StiOleDbSource", t[t.StiOracleSource = 371] = "StiOracleSource", t[t.StiPostgreSQLSource = 372] = "StiPostgreSQLSource", t[t.StiSqlCeSource = 373] = "StiSqlCeSource", t[t.StiSQLiteSource = 374] = "StiSQLiteSource", t[t.StiSqlSource = 375] = "StiSqlSource", t[t.StiNoSqlSource = 376] = "StiNoSqlSource", t[t.StiSybaseSource = 377] = "StiSybaseSource", t[t.StiTeradataSource = 378] = "StiTeradataSource", t[t.StiVistaDBSource = 379] = "StiVistaDBSource", t[t.StiDB2Source = 380] = "StiDB2Source", t[t.StiDiagonalUpLineShapeType = 381] = "StiDiagonalUpLineShapeType", t[t.StiHorizontalLineShapeType = 382] = "StiHorizontalLineShapeType", t[t.StiLeftAndRightLineShapeType = 383] = "StiLeftAndRightLineShapeType", t[t.StiOvalShapeType = 384] = "StiOvalShapeType", t[t.StiRectangleShapeType = 385] = "StiRectangleShapeType", t[t.StiTopAndBottomLineShapeType = 386] = "StiTopAndBottomLineShapeType", t[t.StiVerticalLineShapeType = 387] = "StiVerticalLineShapeType", t[t.StiDivisionShapeType = 388] = "StiDivisionShapeType", t[t.StiFlowchartCardShapeType = 389] = "StiFlowchartCardShapeType", t[t.StiFlowchartDecisionShapeType = 390] = "StiFlowchartDecisionShapeType", t[t.StiFlowchartManualInputShapeType = 391] = "StiFlowchartManualInputShapeType", t[t.StiFlowchartSortShapeType = 392] = "StiFlowchartSortShapeType", t[t.StiFrameShapeType = 393] = "StiFrameShapeType", t[t.StiMinusShapeType = 394] = "StiMinusShapeType", t[t.StiMultiplyShapeType = 395] = "StiMultiplyShapeType", t[t.StiParallelogramShapeType = 396] = "StiParallelogramShapeType", t[t.StiPlusShapeType = 397] = "StiPlusShapeType", t[t.StiRegularPentagonShapeType = 398] = "StiRegularPentagonShapeType", t[t.StiTrapezoidShapeType = 399] = "StiTrapezoidShapeType"; t[t.StiSnipSameSideCornerRectangleShapeType = 400] = "StiSnipSameSideCornerRectangleShapeType", t[t.StiSnipDiagonalSideCornerRectangleShapeType = 401] = "StiSnipDiagonalSideCornerRectangleShapeType", t[t.StiFlowchartPreparationShapeType = 402] = "StiFlowchartPreparationShapeType", t[t.StiRadialScale = 403] = "StiRadialScale", t[t.StiLinearScale = 404] = "StiLinearScale", t[t.StiLinearBar = 405] = "StiLinearBar", t[t.StiRadialBar = 406] = "StiRadialBar", t[t.StiNeedle = 407] = "StiNeedle", t[t.StiRadialMarker = 408] = "StiRadialMarker", t[t.StiScaleRangeList = 409] = "StiScaleRangeList", t[t.StiRadialRange = 410] = "StiRadialRange", t[t.StiStateIndicator = 411] = "StiStateIndicator", t[t.StiStateIndicatorFilter = 412] = "StiStateIndicatorFilter", t[t.StiRadialRangeList = 413] = "StiRadialRangeList", t[t.StiLinearRangeList = 414] = "StiLinearRangeList", t[t.StiLinearRange = 415] = "StiLinearRange", t[t.StiLinearTickMarkMajor = 416] = "StiLinearTickMarkMajor", t[t.StiLinearTickMarkMinor = 417] = "StiLinearTickMarkMinor", t[t.StiLinearTickMarkCustomValue = 418] = "StiLinearTickMarkCustomValue", t[t.StiLinearTickLabelMajor = 419] = "StiLinearTickLabelMajor", t[t.StiLinearTickLabelMinor = 420] = "StiLinearTickLabelMinor", t[t.StiLinearTickLabelCustom = 421] = "StiLinearTickLabelCustom", t[t.StiLinearTickLabelCustomValue = 422] = "StiLinearTickLabelCustomValue", t[t.StiRadialTickMarkMajor = 423] = "StiRadialTickMarkMajor", t[t.StiRadialTickMarkMinor = 424] = "StiRadialTickMarkMinor", t[t.StiRadialTickMarkCustom = 425] = "StiRadialTickMarkCustom", t[t.StiRadialTickMarkCustomValue = 426] = "StiRadialTickMarkCustomValue", t[t.StiRadialTickLabelMajor = 427] = "StiRadialTickLabelMajor", t[t.StiRadialTickLabelMinor = 428] = "StiRadialTickLabelMinor", t[t.StiRadialTickLabelCustom = 429] = "StiRadialTickLabelCustom", t[t.StiRadialTickLabelCustomValue = 430] = "StiRadialTickLabelCustomValue", t[t.StiLinearMarker = 431] = "StiLinearMarker", t[t.StiLinearTickMarkCustom = 432] = "StiLinearTickMarkCustom", t[t.StiLinearIndicatorRangeInfo = 433] = "StiLinearIndicatorRangeInfo", t[t.StiRadialIndicatorRangeInfo = 434] = "StiRadialIndicatorRangeInfo", t[t.StiBlueDashboardControlStyle = 435] = "StiBlueDashboardControlStyle", t[t.StiBlueDashboardIndicatorStyle = 436] = "StiBlueDashboardIndicatorStyle", t[t.StiBlueDashboardPageStyle = 437] = "StiBlueDashboardPageStyle", t[t.StiBlueDashboardPivotStyle = 438] = "StiBlueDashboardPivotStyle", t[t.StiBlueDashboardProgressStyle = 439] = "StiBlueDashboardProgressStyle", t[t.StiBlueDashboardTableStyle = 440] = "StiBlueDashboardTableStyle", t[t.StiOrangeDashboardControlStyle = 441] = "StiOrangeDashboardControlStyle", t[t.StiOrangeDashboardIndicatorStyle = 442] = "StiOrangeDashboardIndicatorStyle", t[t.StiOrangeDashboardPageStyle = 443] = "StiOrangeDashboardPageStyle", t[t.StiOrangeDashboardPivotStyle = 444] = "StiOrangeDashboardPivotStyle", t[t.StiOrangeDashboardProgressStyle = 445] = "StiOrangeDashboardProgressStyle", t[t.StiOrangeDashboardTableStyle = 446] = "StiOrangeDashboardTableStyle", t[t.StiGreenDashboardControlStyle = 447] = "StiGreenDashboardControlStyle", t[t.StiGreenDashboardIndicatorStyle = 448] = "StiGreenDashboardIndicatorStyle", t[t.StiGreenDashboardPageStyle = 449] = "StiGreenDashboardPageStyle", t[t.StiGreenDashboardProgressStyle = 450] = "StiGreenDashboardProgressStyle", t[t.StiGreenDashboardPivotStyle = 451] = "StiGreenDashboardPivotStyle", t[t.StiGreenDashboardTableStyle = 452] = "StiGreenDashboardTableStyle", t[t.StiTurquoiseDashboardControlStyle = 453] = "StiTurquoiseDashboardControlStyle", t[t.StiTurquoiseDashboardIndicatorStyle = 454] = "StiTurquoiseDashboardIndicatorStyle", t[t.StiTurquoiseDashboardPageStyle = 455] = "StiTurquoiseDashboardPageStyle", t[t.StiTurquoiseDashboardProgressStyle = 456] = "StiTurquoiseDashboardProgressStyle", t[t.StiTurquoiseDashboardPivotStyle = 457] = "StiTurquoiseDashboardPivotStyle", t[t.StiTurquoiseDashboardTableStyle = 458] = "StiTurquoiseDashboardTableStyle", t[t.StiSlateGrayDashboardControlStyle = 459] = "StiSlateGrayDashboardControlStyle", t[t.StiSlateGrayDashboardIndicatorStyle = 460] = "StiSlateGrayDashboardIndicatorStyle", t[t.StiSlateGrayDashboardPageStyle = 461] = "StiSlateGrayDashboardPageStyle", t[t.StiSlateGrayDashboardProgressStyle = 462] = "StiSlateGrayDashboardProgressStyle", t[t.StiSlateGrayDashboardPivotStyle = 463] = "StiSlateGrayDashboardPivotStyle", t[t.StiSlateGrayDashboardTableStyle = 464] = "StiSlateGrayDashboardTableStyle", t[t.StiDarkBlueDashboardControlStyle = 465] = "StiDarkBlueDashboardControlStyle", t[t.StiDarkBlueDashboardIndicatorStyle = 466] = "StiDarkBlueDashboardIndicatorStyle", t[t.StiDarkBlueDashboardPageStyle = 467] = "StiDarkBlueDashboardPageStyle", t[t.StiDarkBlueDashboardProgressStyle = 468] = "StiDarkBlueDashboardProgressStyle", t[t.StiDarkBlueDashboardPivotStyle = 469] = "StiDarkBlueDashboardPivotStyle", t[t.StiDarkBlueDashboardTableStyle = 470] = "StiDarkBlueDashboardTableStyle", t[t.StiYellowDashboardPageStyle = 471] = "StiYellowDashboardPageStyle", t[t.StiDarkGrayDashboardControlStyle = 472] = "StiDarkGrayDashboardControlStyle", t[t.StiDarkGrayDashboardIndicatorStyle = 473] = "StiDarkGrayDashboardIndicatorStyle", t[t.StiDarkGrayDashboardPageStyle = 474] = "StiDarkGrayDashboardPageStyle", t[t.StiDarkGrayDashboardProgressStyle = 475] = "StiDarkGrayDashboardProgressStyle", t[t.StiDarkGrayDashboardPivotStyle = 476] = "StiDarkGrayDashboardPivotStyle", t[t.StiDarkGrayDashboardTableStyle = 477] = "StiDarkGrayDashboardTableStyle", t[t.StiDarkTurquoiseDashboardControlStyle = 478] = "StiDarkTurquoiseDashboardControlStyle", t[t.StiDarkTurquoiseDashboardIndicatorStyle = 479] = "StiDarkTurquoiseDashboardIndicatorStyle", t[t.StiDarkTurquoiseDashboardPageStyle = 480] = "StiDarkTurquoiseDashboardPageStyle", t[t.StiDarkTurquoiseDashboardProgressStyle = 481] = "StiDarkTurquoiseDashboardProgressStyle", t[t.StiDarkTurquoiseDashboardPivotStyle = 482] = "StiDarkTurquoiseDashboardPivotStyle", t[t.StiDarkTurquoiseDashboardTableStyle = 483] = "StiDarkTurquoiseDashboardTableStyle", t[t.StiSilverDashboardControlStyle = 484] = "StiSilverDashboardControlStyle", t[t.StiSilverDashboardIndicatorStyle = 485] = "StiSilverDashboardIndicatorStyle", t[t.StiSilverDashboardPageStyle = 486] = "StiSilverDashboardPageStyle", t[t.StiSilverDashboardPivotStyle = 487] = "StiSilverDashboardPivotStyle", t[t.StiSilverDashboardProgressStyle = 488] = "StiSilverDashboardProgressStyle", t[t.StiSilverDashboardTableStyle = 489] = "StiSilverDashboardTableStyle", t[t.StiAliceBlueDashboardControlStyle = 490] = "StiAliceBlueDashboardControlStyle", t[t.StiAliceBlueDashboardIndicatorStyle = 491] = "StiAliceBlueDashboardIndicatorStyle", t[t.StiAliceBlueDashboardPageStyle = 492] = "StiAliceBlueDashboardPageStyle", t[t.StiAliceBlueDashboardPivotStyle = 493] = "StiAliceBlueDashboardPivotStyle", t[t.StiAliceBlueDashboardProgressStyle = 494] = "StiAliceBlueDashboardProgressStyle", t[t.StiAliceBlueDashboardTableStyle = 495] = "StiAliceBlueDashboardTableStyle", t[t.StiCustomDashboardControlStyle = 496] = "StiCustomDashboardControlStyle", t[t.StiCustomDashboardPivotStyle = 497] = "StiCustomDashboardPivotStyle", t[t.StiCustomDashboardIndicatorStyle = 498] = "StiCustomDashboardIndicatorStyle", t[t.StiCustomDashboardProgressStyle = 499] = "StiCustomDashboardProgressStyle", t[t.StiCustomDashboardTableStyle = 500] = "StiCustomDashboardTableStyle", t[t.StiDataWorldDatabase = 501] = "StiDataWorldDatabase" }(S = t.StiComponentId || (t.StiComponentId = {})); var A; !function(t) { t[t.Asc = 0] = "Asc", t[t.Desc = 1] = "Desc" }(A = t.StiRankOrder || (t.StiRankOrder = {})); var y; !function(t) { t[t.AdoNetXml = 0] = "AdoNetXml", t[t.Xml = 1] = "Xml" }(y = t.StiXmlType || (t.StiXmlType = {})); var w; !function(t) { t[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" }(w = t.StiStyleElements || (t.StiStyleElements = {})); var b; !function(t) { t[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" }(b = t.StiDateRangeKind || (t.StiDateRangeKind = {})); var v; !function(t) { t[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.All = 63] = "All" }(v = t.StiDashboardViewerSettings || (t.StiDashboardViewerSettings = {})); var C; !function(t) { t[t.None = 0] = "None", t[t.Rename = 1] = "Rename", t[t.Delete = 2] = "Delete", t[t.ClearAll = 3] = "ClearAll" }(C = t.StiElementMeterAction || (t.StiElementMeterAction = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.Drawing.StiBorderSides , n = t.System.Drawing.Graphics , o = t.System.Char , a = function() { function a() {} return a.breakText = function(e, i, a, s, l, u, c, m) { null != m && m.report; var p = a.ref; if (!r.isNullOrWhiteSpace(p)) { c && (p = "" + t.Report.Export.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(m, p, 1)); var h = n.measureString(p, s, i.width, !0, 1, 0, !c); if (h.height <= i.height) return a.ref = "", p; if (h = n.measureString("A", s), h.height > i.height) return a.ref = p, ""; var d = []; if (c) for (var g = 0, f = p.length, S = 0; S < f; S++) { var A = p.charAt(S); if ("<" == A) { while (S < f && ">" != p.charAt(S)) d[S] = g, S++; d[S] = g } else d[S] = g++ } var y = 0 , w = p.length; while (w - y > 1) { var b = (y + w) / 2 | 0; if (c) { if (d[w] - d[y] < 2) break; while (b > y && d[b] == d[b - 1]) b--; if (b == y) break } h = n.measureString(p.substr(0, b), s, i.width, !0, 1, 0, !c), h.height > i.height ? w = b : y = b } w = y; while (y > 0 && o.isLetterOrDigit(p, y) && o.isLetterOrDigit(p, y - 1)) y--; return 0 == y && (y = w), a.ref = "" + p.substr(y), p.substr(0, y) } return "" } , a.breakContainer = function(r, n) { var o, a; if (StiOptions.Engine.allowBreakContainerOptimization) return this.breakContainerV2(r, n); var s = n.clone(!1, !1) , l = s.components , u = n.components , c = r , m = 0 , p = !1 , h = !1 , d = !0; while (d) { d = !1; try { for (var g = (o = void 0, __values(u.list)), f = g.next(); !f.done; f = g.next()) { var S = f.value; if (S.top < c && S.top + S.height > c) { var A = S.stimulsoft.as(e.IStiBreakable); if (null != A && A.canBreak) { var y = S.height , w = c - S.top; S.height = w; var b = S.clone() , v = null; v = S.stimulsoft.is(e.StiContainer) ? S.stimulsoft.as(e.StiContainer).clone(!0, !1).stimulsoft.as(e.StiComponent) : S.stimulsoft.as(e.StiComponent).clone(); var C = b.stimulsoft.as(e.IStiBreakable) , E = { ref: m }; if (C.break(v, w / y, E)) { if (m = E.ref, m > c && (c = m), S.height = y, !h && b.bottom < c) { p ? (c = r, h = !0) : (c = b.bottom, p = !0), d = !0; break } continue } m = E.ref, S.height = y } if (S.stimulsoft.is(t.Report.Engine.StiNewPageContainer)) { c = S.bottom, p = !0, d = !0; break } c = Math.min(c, S.top), d = !0 } } } catch (t) { o = { error: t } } finally { try { f && !f.done && (a = g.return) && a.call(g) } finally { if (o) throw o.error } } } var B = 0 , T = []; while (B < u.count) { var S = u.getByIndex(B); if (S.top + S.height > c) { var A = S.stimulsoft.as(e.IStiBreakable); if (!(S.top < c && null != A && A.canBreak)) { S.top -= c, u.remove(S), B++, l.add(S); continue } var w = c - S.top , v = null; v = S.stimulsoft.is(e.StiContainer) ? S.stimulsoft.as(e.StiContainer).clone(!0, !1).stimulsoft.as(e.StiComponent) : S.clone(); var y = S.height; v.height = S.height - w, v.top = 0, v.stimulsoft.is(e.StiImage) ? (v.canGrow = !1, v.canShrink = !1) : (v.canGrow = !0, v.canShrink = !1), l.add(v), S.height = w; var E = { ref: m }; if (!A.break(v, w / y, E)) { m = E.ref, u.remove(S), B++, v.canGrow = !1; continue } m = E.ref } T.add(S), B++ } if (T.length != u.count) { for (var I = 0; I < T.length; I++) u.setByIndex(I, T[I]); while (u.count > T.length) u.removeAt(u.count - 1) } return StiOptions.Engine.removeBottomBorderOfSplitContainer && l.count > 0 && (n.border = n.border.clone(), n.border.side &= i.Left | i.Right | i.Top), n.height = c, s } , a.breakContainerV2 = function(t, r) { var n = r.clone(!1, !1) , o = n.components , a = r.components , s = t; s = this.getDivideLine(r, s); var l = Math.round(1e3 * s) , u = 0 , c = []; while (u < a.count) { var m = a.getByIndex(u) , p = Math.round(1e3 * m.top); if (Math.round(1e3 * (m.top + m.height)) > l) { var h = m.stimulsoft.as(e.IStiBreakable); if (!(p < l && null != h && h.canBreak)) { m.top -= s, u++, o.add(m); continue } var d = s - m.top , g = null; g = m.stimulsoft.is(e.StiContainer) ? m.stimulsoft.as(e.StiContainer).clone(!0, !1).stimulsoft.as(e.StiComponent) : m.clone(); var f = m.height; g.height = m.height - d, g.top = 0, g.stimulsoft.is(e.StiImage) ? (g.canGrow = !1, g.canShrink = !1) : (g.canGrow = !0, g.canShrink = !1), o.add(g), m.height = d; var S = s; if (!h.break(g, d / f, { ref: S })) { u++, g.canGrow = !1; continue } } c.add(m), u++ } if (c.length != a.count) { for (var A = 0; A < c.length; A++) a.setByIndex(A, c[A]); while (a.count > c.length) a.removeAt(a.count - 1) } return StiOptions.Engine.removeBottomBorderOfSplitContainer && o.count > 0 && (r.border = r.border.clone(), r.border.side &= i.Left | i.Right | i.Top), r.height = s, n } , a.getDivideLine = function(t, e) { var r = 2 , i = { ref: r } , n = this.searchDivideLine(t, e, e, i); if (r = i.ref, n == e) return e; while (n > 0) { var o = { ref: r } , a = this.searchDivideLine(t, n, e, o); if (r = o.ref, a == n) return n; n = a } return 0 } , a.searchDivideLine = function(r, i, n, o) { var a, s, l = o.ref, u = 0, c = Math.round(1e3 * i); try { for (var m = __values(r.components.list), p = m.next(); !p.done; p = m.next()) { var h = p.value , d = Math.round(1e3 * h.top) , g = Math.round(1e3 * (h.top + h.height)); if (d < c && g > c) { var f = h.stimulsoft.as(e.IStiBreakable); if (null != f && f.canBreak) { if (0 == l) continue; var S = h.height , A = i - h.top; if (h.stimulsoft.is(e.StiContainer)) { if ((u = this.getDivideLine(h, A)) < A && (l--, o.ref = l, 0 == l)) return n; if (u != A) return h.top + u; continue } var y = h.clone() , w = h.clone(); y.height = A, w.height = A; var b = y.stimulsoft.as(e.IStiBreakable) , v = { ref: u }; if (b.break(w, A / S, v)) { if (y.bottom < i) return y.bottom; continue } u = v.ref } if (h.stimulsoft.is(t.Report.Engine.StiNewPageContainer)) return h.bottom; i = h.top } } } catch (t) { a = { error: t } } finally { try { p && !p.done && (s = m.return) && s.call(m) } finally { if (a) throw a.error } } return i } , a }(); e.StiComponentDivider = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Drawing.StiActionUtils , n = t.System.Collections.Hashtable , o = t.Base.Drawing.StiBorder , a = t.Base.Drawing.StiBrush , s = t.Base.Drawing.StiSolidBrush , l = t.System.Drawing.Color , u = t.Report.Components.StiComponentDivider , c = t.System.Drawing.Rectangle , m = t.System.Drawing.Size , p = t.Base.JsonReportObject.IStiJsonReportObject , h = t.Base.StiJsonReportObjectHelper , d = t.System.Drawing.Point , g = function(g) { function f(t, e) { void 0 === t && (t = c.empty), void 0 === e && (e = !1); var r = g.call(this, t, !0) || this; return r._border = new o, r._brush = new s(l.transparent), r._containerInfo = null, r.parentComponentIsBand = !1, r.parentComponentIsCrossBand = !1, r._collapsedValue = null, r._collapsingIndex = 0, r._collapsingTreePath = null, r.defaultClientRectangle = new c(0,0,100,100), e || r.construct(t), r } return __extends(f, g), f.prototype.implements = function() { return f.ImplementsStiContainer || (f.ImplementsStiContainer = g.prototype.implements.call(this).concat([r.IStiBorder, r.IStiBrush, r.IStiBreakable, e.IStiIgnoryStyle, p])), f.ImplementsStiContainer } , f.prototype.saveToJsonObject = function(t) { var e = g.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 } , f.prototype.loadFromJsonObject = function(t) { var e, r; g.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , f.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 = a.loadFromXml(t.attributes.getNamedItem("bh").value)), null != t.attributes.getNamedItem("br") && (this.border = o.loadFromXml(t.attributes.getNamedItem("br").value)) } , f.prototype.loadFromXml = function(t, e) { g.prototype.loadFromXml.call(this, t, e), this.parseContainerFromXml(t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Components": e ? this.components.loadDocumentFromXml(i) : 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 = a.loadFromXml(i.textContent); break } } } , Object.defineProperty(f.prototype, "componentId", { get: function() { return e.StiComponentId.StiContainer }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "canBreak", { get: function() { return this.properties.getBool(f.propertyCanBreak, !1) }, set: function(t) { this.properties.setBool(f.propertyCanBreak, t, !1) }, enumerable: !0, configurable: !0 }), f.prototype.break = function(e, i, n) { var o, a, s, l, c, m, p, h, d, g, S = u.breakContainer(this.height, this); e.components.clear(), e.components.addRange(S.components); var A = this.height; if (StiOptions.Engine.usePrintOnAllPagesPropertyOfHeadersInSubreports) { var y = [] , w = [] , b = []; try { for (var v = __values(this.components.list), C = v.next(); !C.done; C = v.next()) { var E = C.value; if (E.stimulsoft.is(f)) { var B = E.containerInfo.parentBand; null != B && B.stimulsoft.is(t.Report.Components.StiHeaderBand) && B.stimulsoft.as(r.IStiPrintOnAllPages).printOnAllPages && (y.contains(B) || (y.add(B.stimulsoft.as(t.Report.Components.StiHeaderBand)), w.add(E.clone().stimulsoft.as(f)), null != B.parent ? b.add(t.Report.Engine.StiHeaderBandBuilder.getMaster(B.stimulsoft.as(t.Report.Components.StiHeaderBand))) : b.add(B))) } } } catch (t) { o = { error: t } } finally { try { C && !C.done && (a = v.return) && a.call(v) } finally { if (o) throw o.error } } if (y.length > 0) { var T = e.components , I = [] , x = y.length; try { for (var F = __values(T.list), D = F.next(); !D.done; D = F.next()) { var E = D.value; if (E.stimulsoft.is(f)) { var B = E.containerInfo.parentBand , R = B.stimulsoft.as(t.Report.Components.StiDataBand); if (null != R) { var P = B; if (B.stimulsoft.is(t.Report.Components.Table.StiTable) && null != R.dataBandInfo.headers) try { for (var N = (c = void 0, __values(R.dataBandInfo.headers.list)), k = N.next(); !k.done; k = N.next()) { var M = k.value; if (M.stimulsoft.is(t.Report.Components.StiHeaderBand) && M.name == B.name.substr(0, B.name.length - 3) + "_Hd") { P = M.stimulsoft.as(t.Report.Components.StiBand); break } } } catch (t) { c = { error: t } } finally { try { k && !k.done && (m = N.return) && m.call(N) } finally { if (c) throw c.error } } for (var O = y.length - 1; O >= 0; O--) if (null != y[O] && (B == b[O] || P == b[O])) { for (var _ = !0, L = 0; L < y.length; L++) { var j = null; L < T.count && (j = T.getByIndex(L).stimulsoft.as(f)), null != j && j.containerInfo.parentBand == y[O] && (_ = !1) } _ && I.add(w[O]), y[O] = null, x-- } if (0 == x) break } } } } catch (t) { s = { error: t } } finally { try { D && !D.done && (l = F.return) && l.call(F) } finally { if (s) throw s.error } } if (I.length > 0) try { for (var H = __values(I), G = H.next(); !G.done; G = H.next()) { var Q = G.value; try { for (var Y = (d = void 0, __values(T.list)), U = Y.next(); !U.done; U = Y.next()) { var M = U.value; M.top += Q.height } } catch (t) { d = { error: t } } finally { try { U && !U.done && (g = Y.return) && g.call(Y) } finally { if (d) throw d.error } } Q.top = 0, T.insert(0, Q) } } catch (t) { p = { error: t } } finally { try { G && !G.done && (h = H.return) && h.call(H) } finally { if (p) throw p.error } } } } return n.ref = A, !0 } , f.prototype.clone = function(t, e) { var i, n; void 0 === t && (t = !0), void 0 === e && (e = !0); var o = g.prototype.clone.call(this, t); if (o._containerInfo = this.containerInfo.clone(), null != this._border ? o._border = this._border.clone() : o._border = null, null != this._brush ? o._brush = this._brush.clone() : o._brush = null, o._components = new r.StiComponentsCollection(o), e) try { for (var a = __values(this._components.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; o._components.add(l.clone()) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } return o } , f.prototype.convert = function(t, e, r, i) { var n, o; if (void 0 === r && (r = !1), void 0 === i && (i = !0), g.prototype.convert.call(this, t, e, r), i) try { for (var a = __values(this._components.list), s = a.next(); !s.done; s = a.next()) { s.value.convert(t, e, r) } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , Object.defineProperty(f.prototype, "border", { get: function() { return this._border }, set: function(t) { this._border = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "brush", { get: function() { return this._brush }, set: function(t) { this._brush = t }, enumerable: !0, configurable: !0 }), f.prototype.getActualSize = function(e, i) { var n, o, a, s; void 0 === e && (e = !1), void 0 === i && (i = { ref: !1 }); var l = i.ref , u = new m(this.width,this.height); if (this.canGrow || this.canShrink) { var c = 0 , p = 0; if (!this.stimulsoft.is(r.StiPage)) { try { for (var h = __values(this.components.list), d = h.next(); !d.done; d = h.next()) { var g = d.value; if (!g.enabled) continue; if (g.stimulsoft.is(t.Report.Components.StiPointPrimitive)) { c = Math.max(g.top, c), p = Math.max(g.left, p); continue } if (g.stimulsoft.is(t.Report.Components.StiPrimitive) && !g.stimulsoft.is(t.Report.Components.StiHorizontalLinePrimitive)) continue; if (0 != g.width && 0 != g.height) { var f = new m(g.clientRectangle.width,g.clientRectangle.height); g.dockStyle != t.Report.Components.StiDockStyle.None && g.dockable && (e || (g.dockToContainer(), StiOptions.Engine.allowCacheForGetActualSize && null != g.report && null != g.report.engine && null != g.report.engine.hashCheckSize && g.report.engine.hashCheckSize.set(g, null), f = g.getActualSize()), l = !0), c = g.stimulsoft.is(t.Report.Components.StiHorizontalLinePrimitive) ? Math.max(g.top, c) : Math.max(g.bottom, c), p = Math.max(g.right, p) } } } catch (t) { n = { error: t } } finally { try { d && !d.done && (o = h.return) && o.call(h) } finally { if (n) throw n.error } } this.canGrow && (u.width = Math.max(p, u.width), u.height = Math.max(c, u.height)), this.canShrink && (u.width = Math.min(p, u.width), u.height = Math.min(c, u.height)) } } if ((this.stimulsoft.is(r.StiPage) && this.stimulsoft.as(r.StiPage)).unlimitedHeight) { var c = 0 , p = 0; try { for (var S = __values(this.components.list), A = S.next(); !A.done; A = S.next()) { var g = A.value; if (!g.enabled) continue; if (g.stimulsoft.is(t.Report.Components.StiPointPrimitive)) { c = Math.max(g.top, c), p = Math.max(g.left, p); continue } if (g.stimulsoft.is(t.Report.Components.StiPrimitive) && !g.stimulsoft.is(t.Report.Components.StiHorizontalLinePrimitive)) continue; 0 != g.width && 0 != g.height && (c = g.stimulsoft.is(t.Report.Components.StiHorizontalLinePrimitive) ? Math.max(g.top, c) : Math.max(g.bottom, c), p = Math.max(g.right, p)) } } catch (t) { a = { error: t } } finally { try { A && !A.done && (s = S.return) && s.call(S) } finally { if (a) throw a.error } } u.width = Math.max(p, u.width), u.height = Math.max(c, u.height) } return i.ref = l, u } , Object.defineProperty(f.prototype, "containerInfo", { get: function() { return null == this._containerInfo && (this._containerInfo = new r.StiContainerInfo), this._containerInfo }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "priority", { get: function() { return r.StiComponentPriority.Container }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "toolboxPosition", { get: function() { return r.StiComponentToolboxPosition.Container }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "toolboxCategory", { get: function() { return r.StiToolboxCategory.Components }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "componentType", { get: function() { return null != this._containerInfo && null != this._containerInfo.parentBand ? this._containerInfo.parentBand.componentType : r.StiComponentType.Simple }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "collapsedValue", { get: function() { return this._collapsedValue }, set: function(t) { this._collapsedValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "collapsingIndex", { get: function() { return this._collapsingIndex }, set: function(t) { this._collapsingIndex = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "collapsingTreePath", { get: function() { return this._collapsingTreePath }, set: function(t) { this._collapsingTreePath = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "hasSelected", { get: function() { var t, e; try { for (var r = __values(this.components.list), i = r.next(); !i.done; i = r.next()) { var n = i.value; if (n.isSelected) return !0; var o = n.stimulsoft.as(f); if (null != o && o.hasSelected) return !0 } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "components", { get: function() { return this._components }, set: function(t) { this._components = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "blocked", { get: function() { return this.properties.get(f.propertyBlocked, !1) }, set: function(t) { this.properties.set(f.propertyBlocked, t, !1) }, enumerable: !0, configurable: !0 }), f.prototype.setParentStylesToChilds = function(e) { var r, i, n, o; if (void 0 === e && (e = null), null == e) { var a = !0; try { for (var s = __values(this.components.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; u.useParentStyles && (a && (e = t.Report.Styles.StiBaseStyle.getStyle(this), a = !1), null != e && e.setStyleToComponent(u)) } } catch (t) { r = { error: t } } finally { try { l && !l.done && (i = s.return) && i.call(s) } finally { if (r) throw r.error } } } else try { for (var c = __values(this.components.list), m = c.next(); !m.done; m = c.next()) { var u = m.value; u.useParentStyles && e.setStyleToComponent(u) } } catch (t) { n = { error: t } } finally { try { m && !m.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } } , f.prototype.offsetLocation = function(t, e) { var r, i; try { for (var n = __values(this.components.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.left += t, a.top += e } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , f.prototype.changePosition = function(t) { var e, i; try { for (var n = __values(this.components.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.isSelected) a.displayRectangle = r.StiComponent.doOffsetRect(a, a.displayRectangle, t); else { var s = a.stimulsoft.as(f); null != s && s.changePosition(t) } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , f.prototype.normalize = function() { var t, e; try { for (var r = __values(this.components.list), i = r.next(); !i.done; i = r.next()) { var n = i.value; n.isSelected && (n.clientRectangle = n.clientRectangle.normalize()); var o = n.stimulsoft.as(f); null != o && o.normalize() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , f.prototype.sortByPriority = function() { var t, e; this.components.sortByPriority(); try { for (var r = __values(this.components.list), i = r.next(); !i.done; i = r.next()) { var n = i.value , o = n.stimulsoft.as(f); null != o && o.sortByPriority() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , f.prototype.bringToFront = function() { var t = this.components.count , e = 0; while (e < t) { var i = this.components.getByIndex(e).stimulsoft.as(r.StiComponent) , n = i.stimulsoft.as(f); null != n && n.bringToFront(), i.isSelected ? (this.components.remove(i), this.components.add(i), t--) : e++ } this.sortByPriority() } , f.prototype.sendToBack = function() { var t = this.components.count , e = 0; while (e < t) { var i = this.components.getByIndex(e).stimulsoft.as(r.StiComponent) , n = i.stimulsoft.as(f); null != n && n.sendToBack(), i.isSelected && (this.components.remove(i), this.components.insert(0, i)), e++ } this.sortByPriority() } , f.prototype.moveForward = function() { var t = this.components.count - 1; while (t >= 0) { var e = this.components.getByIndex(t).stimulsoft.as(r.StiComponent) , i = e.stimulsoft.as(f); if (null != i && i.moveForward(), e.isSelected) { var n = this.components.indexOf(e); n < this.components.count - 1 && (this.components.remove(e), this.components.insert(n + 1, e)) } t-- } this.sortByPriority() } , f.prototype.moveBackward = function() { var t = this.components.count , e = 0; while (e < t) { var i = this.components.getByIndex(e).stimulsoft.as(r.StiComponent) , n = i.stimulsoft.as(f); if (null != n && n.moveBackward(), i.isSelected) { var o = this.components.indexOf(i); o > 0 && (this.components.remove(i), this.components.insert(o - 1, i)) } e++ } this.sortByPriority() } , f.prototype.alignTo = function(t) { var e = this.getSelectedComponents() , i = e.clone() , n = this.getSelectedRectangle(); switch (t) { case r.StiAligning.Left: e.sortByLeftPosition(); for (var o = 0; o < e.count; o++) e.getByIndex(o).left = n.left; break; case r.StiAligning.Center: for (var o = 0; o < e.count; o++) e.getByIndex(o).left = n.left + (n.width - e.getByIndex(o).width) / 2; break; case r.StiAligning.Right: e.sortByRightPosition(); for (var o = 0; o < e.count; o++) e.getByIndex(o).left = n.right - e.getByIndex(o).width; break; case r.StiAligning.Top: e.sortByTopPosition(); for (var o = 0; o < e.count; o++) e.getByIndex(o).top = n.top; break; case r.StiAligning.Middle: for (var o = 0; o < e.count; o++) e.getByIndex(o).top = n.top + (n.height - e.getByIndex(o).height) / 2; break; case r.StiAligning.Bottom: e.sortByBottomPosition(); for (var o = 0; o < e.count; o++) e.getByIndex(o).top = n.bottom - e.getByIndex(o).height; break } } , f.prototype.getContainerInRectPrivate = function(n, o) { for (var a = null, s = this.pageToContainer(n), l = this.getComponents(), u = l.count - 1; u >= 0; u--) { var m = l.getByIndex(u); if (m != o && !m.checkForParentComponent(o)) { var p = m.stimulsoft.as(f); if (null != p && o.canContainIn(p)) { var h = this.pageToContainer(m.componentToPage(m.clientRectangle)); if (h.intersectsWith(s) && o.isCross && (a = p), m.stimulsoft.is(t.Report.Components.StiBand) && !m.isCross) { var d = this.page.unit.convertFromHInches(1); if (o.stimulsoft.is(t.Report.Components.StiPrimitive) && (h.width += d), null != e && this.report.info.showHeaders) { h.height += d; var g = this.page.unit.convertFromHInches(m.headerSize); h = h.offsetRect(new c(0,g,0,g)) } } if (o.stimulsoft.is(r.StiEndPointPrimitive) || o.stimulsoft.is(r.StiStartPointPrimitive)) { var S = Math.round2(s.x, 2) , A = Math.round2(s.y, 2) , y = Math.round2(h.left, 2) , w = Math.round2(h.top, 2) , b = Math.round2(h.right, 2) , v = Math.round2(h.bottom, 2); w <= A && v >= A && y <= S && b >= S && (a = p) } i.pointInRect(s.x, s.y, h) && (a = p); var C = p.getContainerInRectPrivate(n, o); null != C && (a = C) } } } if (o.isCross) return a; if (o.stimulsoft.is(t.Report.Components.Table.StiTable) && a.stimulsoft.is(t.Report.Components.Table.StiTable)) return null; if (o.stimulsoft.is(t.Report.Components.Table.StiTable) && a.stimulsoft.is(t.Report.Components.StiDataBand)) return a; if (!o.stimulsoft.is(t.Report.Components.Table.IStiTableCell) && a.stimulsoft.is(t.Report.Components.Table.StiTable)) return null; if (o.stimulsoft.is(t.Report.Components.Table.IStiTableCell) && !a.stimulsoft.is(t.Report.Components.Table.StiTable)) return null; if (o.stimulsoft.is(t.Report.Components.StiBand) && null != a && a.stimulsoft.is(t.Report.Components.StiBand)) return null; return a } , f.prototype.getContainerInRect = function(e, r) { if (null != r.page && r.stimulsoft.is(t.Report.Components.StiBand)) { var i = r.page.unit.convertFromHInches(r.headerSize); e = e.offsetRect(new c(0,i,0,i)) } var n = this.getContainerInRectPrivate(e, r); if (null == n) return this.page; if (n.checkForParentComponent(r)) return this.page; return n } , f.prototype.getSizesTable = function(t) { var e = new n , r = new c; return this.getNodeSize(e, t, { ref: r }), e } , f.prototype.getNodeSize = function(e, r, i) { var n, o, a = i.ref, s = this.containerToPage(r.clientRectangle); if (null != r.page && r.stimulsoft.is(t.Report.Components.StiBand) && !r.isCross) { var l = r.page.unit.convertFromHInches(r.headerSize); s = s.offsetRect(new c(0,l,0,l)); var u = this.page.unit.convertFromHInches(1); s.width += u, null != this.report && this.report.info.showHeaders && (s.height += u) } var m = r.stimulsoft.as(f); if (null != m) try { for (var p = __values(m.components.list), h = p.next(); !h.done; h = p.next()) { var d = h.value , g = { ref: s }; m.getNodeSize(e, d, g), s = g.ref } } catch (t) { n = { error: t } } finally { try { h && !h.done && (o = p.return) && o.call(p) } finally { if (n) throw n.error } } s.x < a.x && (a.width += a.x - s.x, a.x = s.x), s.y < a.y && (a.height += a.y - s.y, a.y = s.y), s.x + s.width > a.x + a.width && (a.width = s.x + s.width - a.x), s.y + s.height > a.y + a.height && (a.height = s.y + s.height - a.y), e.set(r, s), i.ref = a } , f.prototype.getContainerInRect2Private = function(r, n, o) { var a = null , s = o.get(this); if (!i.pointInRect(r.x, r.y, s)) return null; if (this == n || this.checkForParentComponent(n)) return null; for (var l = this.components, u = l.count - 1; u >= 0; u--) { var m = l.getByIndex(u); if (m == n) continue; if ((0 == m.width || 0 == m.height) && u < l.count - 1 && l.getByIndex(u + 1).left == m.left && l.getByIndex(u + 1).top == m.top) continue; var p = m.stimulsoft.as(f); if (null != p) { var h = o.get(m); if (!i.pointInRect(r.x, r.y, h)) continue; var d = p.getContainerInRect2Private(r, n, o); if (null != d) { a = d; break } } } if (null == a && null != this.parent && n.canContainIn(this)) { if (s = this.parent.containerToPage(this.clientRectangle), null != this.page && this.stimulsoft.is(t.Report.Components.StiBand) && !this.isCross) { var g = this.page.unit.convertFromHInches(this.stimulsoft.as(t.Report.Components.StiBand).headerSize); s = s.offsetRect(new c(0,g,0,g)); var S = this.page.unit.convertFromHInches(1); n.stimulsoft.is(t.Report.Components.StiPrimitive) && (s.width += S), null != e && this.report.info.showHeaders && (s.height += S) } i.pointInRect(r.x, r.y, s) && (a = this) } if (n.isCross) return a; if (n.stimulsoft.is(t.Report.Components.Table.StiTable) && null != a && a.stimulsoft.is(t.Report.Components.Table.StiTable)) return null; if (n.stimulsoft.is(t.Report.Components.Table.StiTable) && null != a && a.stimulsoft.is(t.Report.Components.StiDataBand)) return a; if (!n.stimulsoft.is(t.Report.Components.Table.IStiTableCell) && null != a && a.stimulsoft.is(t.Report.Components.Table.StiTable)) return null; if (n.stimulsoft.is(t.Report.Components.Table.IStiTableCell) && (null == a || !a.stimulsoft.is(t.Report.Components.Table.StiTable))) return null; if (n.stimulsoft.is(t.Report.Components.StiBand) && null != a && null != a && a.stimulsoft.is(t.Report.Components.StiBand)) return null; return a } , f.prototype.getContainerInRect2 = function(e, i, n) { var o = i.stimulsoft.is(r.StiCrossDataBand) || i.stimulsoft.is(r.StiCrossHeaderBand) || i.stimulsoft.is(r.StiCrossFooterBand) || i.stimulsoft.is(r.StiCrossGroupHeaderBand) || i.stimulsoft.is(r.StiCrossGroupFooterBand); if (null != i.page && i.stimulsoft.is(t.Report.Components.StiBand) && !o) { var a = i.page.unit.convertFromHInches(i.headerSize); e = e.offsetRect(new c(0,a,0,a)) } var s = this.getContainerInRect2Private(e, i, n); if (null == s) return this.page; if (s.checkForParentComponent(i)) return this.page; return s } , f.prototype.getIncorrect2 = function(e, i) { var n, o; void 0 === i && (i = null); var a = new r.StiComponentsCollection; null == i && (i = this.getSizesTable(this)); try { for (var s = __values(this.components.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (!(u.linked || u.inherited) && (!e || e && u.isSelected)) { var c = this.containerToPage(u.clientRectangle) , m = this.page.getContainerInRect2(c, u, i); if (m == u.parent || m.checkForParentComponent(u)) u.isCross && !u.canContainIn(u.parent) && a.add(u); else { var p = this.containerToPage(m.clientRectangle) , h = this.containerToPage(u.clientRectangle); 0 == u.left && p.left == h.left && u.dockStyle != t.Report.Components.StiDockStyle.None || a.add(u) } } var d = u.stimulsoft.as(f); null != d && a.addRange(d.getIncorrect2(e, i)) } } catch (t) { n = { error: t } } finally { try { l && !l.done && (o = s.return) && o.call(s) } finally { if (n) throw n.error } } return a } , f.prototype.correct2 = function(t) { var e, i, n = this.getSizesTable(this), o = this.getIncorrect2(t, n); try { for (var a = __values(o.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (null == l.parent) continue; l.clientRectangle = l.componentToPage(l.clientRectangle); var u = l.parent; l.parent.components.remove(l); var c = void 0; c = this.getContainerInRect2(l.clientRectangle, l, n), null == c && (c = this.page), l.canContainIn(c) ? (l.clientRectangle = c.pageToContainer(l.clientRectangle), c.components.add(l)) : u.stimulsoft.is(r.StiPage) || (l.clientRectangle = l.pageToComponent(l.clientRectangle), u.components.add(l)) } } catch (t) { e = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (e) throw e.error } } this.dockToContainer(), this.sortByPriority() } , f.prototype.getIncorrect = function(e) { var i, n; void 0 === e && (e = !1); var o = new r.StiComponentsCollection; try { for (var a = __values(this.components.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (!(l.linked || l.inherited)) { var u = this.containerToPage(new d(l.left,l.top)) , c = this.containerToPage(l.clientRectangle) , m = this.page.getContainerInRect(c, l); if (m == l.parent || m.checkForParentComponent(l)) l.isCross && !l.canContainIn(l.parent) && o.add(l); else { var p = this.containerToPage(m.clientRectangle) , h = this.containerToPage(l.clientRectangle); 0 == l.left && p.left == h.left && l.dockStyle != t.Report.Components.StiDockStyle.None || o.add(l) } } var g = l.stimulsoft.as(f); null != g && o.addRange(g.getIncorrect(e)) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } return o } , f.prototype.correct = function(t) { var e, i; if (void 0 === t && (t = !1), StiOptions.Designer.useComponentPlacementOptimization) return this.correct2(t), void this.checkLargeHeight(); var n = this.getIncorrect(t); try { for (var o = __values(n.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 = this.getContainerInRect(s.clientRectangle, s), null == u && (u = this.page), s.canContainIn(u) ? (s.clientRectangle = u.pageToContainer(s.clientRectangle), u.components.add(s)) : l.stimulsoft.is(r.StiPage) || (s.clientRectangle = s.pageToComponent(s.clientRectangle), l.components.add(s)) } } catch (t) { e = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (e) throw e.error } } this.dockToContainer(), this.sortByPriority(), this.checkLargeHeight() } , f.prototype.checkLargeHeight = function(e) { var i, n, o, a; void 0 === e && (e = !1); var s = this.stimulsoft.as(r.StiPage); if (null == s) return; if (s.largeHeight || !StiOptions.Designer.autoLargeHeight || !this.isDesigning) return; var l = 0 , u = s.height; if (e) try { for (var c = __values(s.components.list), m = c.next(); !m.done; m = c.next()) { var p = m.value; p.stimulsoft.is(t.Report.Components.StiBand) && !p.isCross && (p.stimulsoft.is(r.StiPageFooterBand) ? u -= p.displayRectangle.height : l += p.displayRectangle.height) } } catch (t) { i = { error: t } } finally { try { m && !m.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } else try { for (var h = __values(s.components.list), d = h.next(); !d.done; d = h.next()) { var p = d.value; p.stimulsoft.is(t.Report.Components.StiBand) && !p.isCross && (p.stimulsoft.is(r.StiPageFooterBand) ? u = Math.min(u, p.top) : l = Math.max(l, p.bottom)) } } catch (t) { o = { error: t } } finally { try { d && !d.done && (a = h.return) && a.call(h) } finally { if (o) throw o.error } } var g = .2 , f = s.unit.convertFromHInches(30 * 3); while (s.pageHeight * g < f) g += .2; var S = s.largeHeightAutoFactor; while (s.largeHeightAutoFactor < 49 && u - l < s.pageHeight * g) { var A = s.height; s.largeHeightAutoFactor += g, u += s.height - A } while (u - l > s.pageHeight * (2 * g) && s.largeHeightAutoFactor > 1) { var A = s.height; s.largeHeightAutoFactor -= g, u -= A - s.height } s.largeHeightAutoFactor } , f.prototype.resetSelection = function() { var t, e; this.reset(); try { for (var r = __values(this.components.list), i = r.next(); !i.done; i = r.next()) { var n = i.value; n.reset(); var o = n.stimulsoft.as(f); null != o && o.resetSelection() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , f.prototype.getSelectedComponents = function() { var t, e, i = new r.StiComponentsCollection; try { for (var n = __values(this.components.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.isSelected && i.add(a); var s = a.stimulsoft.as(f); if (null != s) { var l = { ref: i }; s.getSelectedComponents2(l), i = l.ref } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } return i } , f.prototype.getSelectedComponents2 = function(t) { var e, r, i = t.ref; try { for (var n = __values(this.components.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.isSelected && i.add(a); var s = a.stimulsoft.as(f); if (null != s) { var l = { ref: i }; s.getComponents2(l), i = l.ref } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } t.ref = i } , f.prototype.getSelectedRectangle = function() { var t, e, r = c.empty; try { for (var i = __values(this.components.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; o.isSelected && (r = r.isEmpty ? o.getDisplayRectangle2() : r.fitToRectangle(o.getDisplayRectangle2())); var a = o.stimulsoft.as(f); if (null != a) { var s = a.getSelectedRectangle(); s.isEmpty || (r = r.fitToRectangle(s)) } } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } return r } , f.prototype.makeHorizontalSpacingEqual = function() { var t, e, r = this.getSelectedComponents(), i = this.getSelectedRectangle(), n = 0; try { for (var o = __values(r.list), a = o.next(); !a.done; a = o.next()) { n += a.value.width } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } var s = (i.width - n) / Math.max(r.count - 1, 1); r.sortByLeftPosition(); for (var l = r.getByIndex(0).right + s, u = 1; u < r.count - 1; u++) r.getByIndex(u).left = l, l = r.getByIndex(u).right + s } , f.prototype.makeVerticalSpacingEqual = function() { var t, e, r = this.getSelectedComponents(), i = this.getSelectedRectangle(), n = 0; try { for (var o = __values(r.list), a = o.next(); !a.done; a = o.next()) { n += a.value.height } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } var s = (i.height - n) / Math.max(r.count - 1, 1); r.sortByTopPosition(); for (var l = r.getByIndex(0).bottom + s, u = 1; u < r.count - 1; u++) r.getByIndex(u).top = l, l = r.getByIndex(u).bottom + s } , f.prototype.makeSameSize = function(t) { var e, r, i = this.getSelectedComponents(); try { for (var n = __values(i.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.width = t.width, a.height = t.height } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } } , f.prototype.makeSameWidth = function(t) { var e, r, i = this.getSelectedComponents(); try { for (var n = __values(i.list), o = n.next(); !o.done; o = n.next()) { o.value.width = t } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } } , f.prototype.makeSameHeight = function(t) { var e, r, i = this.getSelectedComponents(); try { for (var n = __values(i.list), o = n.next(); !o.done; o = n.next()) { o.value.height = t } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } } , f.prototype.setCenterHorizontally = function() { var t, e; try { for (var r = __values(this.components.list), i = r.next(); !i.done; i = r.next()) { var n = i.value; n.isSelected && (n.left = (n.parent.width - n.width) / 2); var o = n.stimulsoft.as(f); null != o && o.setCenterHorizontally() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , f.prototype.setCenterVertically = function() { var t, e; try { for (var r = __values(this.components.list), i = r.next(); !i.done; i = r.next()) { var n = i.value; n.isSelected && (n.top = (n.parent.height - n.height) / 2); var o = n.stimulsoft.as(f); null != o && o.setCenterVertically() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , f.prototype.selectAll = function() { var t, e; try { for (var r = __values(this.components.list), i = r.next(); !i.done; i = r.next()) { var n = i.value; n.select(); var o = n.stimulsoft.as(f); null != o && o.selectAll() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , f.prototype.containerToPage = function(t) { if (t.stimulsoft.is(d)) return this.containerToPagePoint(t); return this.containerToPageRectangle(t) } , f.prototype.containerToPageRectangle = function(t) { var e = this; while (null != e && !e.stimulsoft.is(r.StiPage)) { var i = e.clientRectangle; e.isSelected && (i = r.StiComponent.doOffsetRect(e, i, this.page.offsetRectangle)), t.x += i.left, t.y += i.top, e = e.parent } return t } , f.prototype.containerToPagePoint = function(t) { var e = this; while (null != e) { var i = e.clientRectangle; e.isSelected && (i = r.StiComponent.doOffsetRect(e, i, this.page.offsetRectangle)), t.x = t.x + i.left, t.y = t.y + i.top, e = e.parent } return t } , f.prototype.pageToContainer = function(t) { var e = this; if (t.stimulsoft.is(d)) { var i = t.stimulsoft.as(d); while (null != e) { var n = e.clientRectangle; e.isSelected && (n = r.StiComponent.doOffsetRect(e, n, this.page.offsetRectangle)), i.x -= n.left, i.y -= n.top, e = e.parent } return i } if (t.stimulsoft.is(c)) { var o = t.stimulsoft.as(c); while (null != e) { var n = e.clientRectangle; e.isSelected && (n = r.StiComponent.doOffsetRect(e, n, this.page.offsetRectangle)), o.x -= n.left, o.y -= n.top, e = e.parent } return o } return null } , f.prototype.getComponents = function() { var t, e, i = new r.StiComponentsCollection; if (this.stimulsoft.is(r.StiClone)) return i; i.addRange(this.components); try { for (var n = __values(this.components.list), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = a.stimulsoft.as(f); if (null != s) { var l = { ref: i }; s.getComponents2(l), i = l.ref } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } return i } , f.prototype.getComponents2 = function(t) { var e, i; if (this.stimulsoft.is(r.StiClone)) return; var n = t.ref; n.addRange(this.components); try { for (var o = __values(this.components.list), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s.stimulsoft.as(f); if (null != l) { var u = { ref: n }; l.getComponents2(u), n = u.ref } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (e) throw e.error } } t.ref = n } , f.prototype.getComponentsList = function() { var t, e, i = new Array; if (this.stimulsoft.is(r.StiClone)) return i; try { for (var n = __values(this.components.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; i.add(a); var s = a.stimulsoft.as(f); null != s && i.addRange(s.getComponentsList()) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } return i } , f.prototype.moveComponentsToPage = function() { var t, e, r, i, n = this.getComponentsList(); try { for (var o = __values(n), a = o.next(); !a.done; a = o.next()) { var s = a.value; s.parent != s.page && (s.setDirectDisplayRectangle(s.componentToPage(s.displayRectangle)), s.page.components.add(s)) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } try { for (var l = __values(n), u = l.next(); !u.done; u = l.next()) { var s = u.value , c = s.stimulsoft.as(f); null != c && c.components.count > 0 && c.components.clear() } } catch (t) { r = { error: t } } finally { try { u && !u.done && (i = l.return) && i.call(l) } finally { if (r) throw r.error } } } , f.prototype.construct = function(t) { void 0 === t && (t = c.empty), g.prototype.construct.call(this, t), this._components = new r.StiComponentsCollection(this) } , f.propertyCanBreak = Math.random().toString().substr(2), f.propertyBlocked = Math.random().toString().substr(2), f }(r.StiComponent); r.StiContainer = g }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = t.System.Drawing.Size , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.StiAlignValue , a = function(a) { function s(t) { void 0 === t && (t = r.empty); var i = a.call(this, t) || this; return i._resetPageNumber = !1, i.defaultClientRectangle = new r(0,0,300,30), i._rectangleMoveComponent = null, i.canGrow = !0, i.dockStyle = e.StiDockStyle.Top, i } return __extends(s, a), s.prototype.implements = function() { return s.ImplementsStiBand || (s.ImplementsStiBand = a.prototype.implements.call(this).concat([e.IStiResetPageNumber, n, e.IStiCanGrow, e.IStiConditions])), s.ImplementsStiBand } , s.prototype.saveToJsonObject = function(t) { var e = a.prototype.saveToJsonObject.call(this, t); return e.addPropertyBool("CanGrow", this.canGrow, !0), e.removeProperty("GrowToHeight"), e.removeProperty("ShiftMode"), e.removeProperty("Printable"), e.removeProperty("DockStyle"), e.removeProperty("MinSize"), e.removeProperty("MaxSize"), e.addPropertyBool("ResetPageNumber", this.resetPageNumber), e.addPropertyNumber("MinHeight", this.minHeight, 0), e.addPropertyNumber("MaxHeight", this.maxHeight, 0), e } , s.prototype.loadFromJsonObject = function(t) { var e, r; a.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } 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 i = t.childNodes[r]; switch (i.nodeName) { case "ResetPageNumber": this._resetPageNumber = i.textContent.stimulsoft.toBoolean(); break; case "MinHeight": this.minHeight = i.textContent.stimulsoft.toNumber(); break; case "MaxHeight": this.maxHeight = i.textContent.stimulsoft.toNumber(); break } } } , s.prototype.canContainIn = function(e) { if (this.isCross && e.stimulsoft.is(s)) return !0; if (this.stimulsoft.is(t.Report.Components.Table.StiTable) && e.stimulsoft.is(s)) return !0; if (e.stimulsoft.is(s)) return !1; return a.prototype.canContainIn.call(this, e) } , Object.defineProperty(s.prototype, "componentType", { get: function() { return this.getComponentType() }, enumerable: !0, configurable: !0 }), s.prototype.getComponentType = function() { return e.StiComponentType.Master } , s.prototype.clone = function(t, e) { var r = a.prototype.clone.call(this, t, e); return r._bandInfo = this.bandInfo.clone(), r } , Object.defineProperty(s.prototype, "resetPageNumber", { get: function() { return this._resetPageNumber }, set: function(t) { this._resetPageNumber = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "bandInfo", { get: function() { return null == this._bandInfo && (this._bandInfo = new e.StiBandInfo), this._bandInfo }, enumerable: !0, configurable: !0 }), s.prototype.getDockStyle = function() { return StiOptions.Engine.dockPageFooterToBottom && this.stimulsoft.is(e.StiPageFooterBand) ? e.StiDockStyle.Bottom : e.StiDockStyle.Top } , s.prototype.setDockStyle = function(t) {} , Object.defineProperty(s.prototype, "isAutomaticDock", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printable", { get: function() { return !0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "minHeight", { get: function() { return this.getMinHeight() }, set: function(t) { this.setMinHeight(t) }, enumerable: !0, configurable: !0 }), s.prototype.getMinHeight = function() { return a.prototype.getMinSize.call(this).height } , s.prototype.setMinHeight = function(t) { a.prototype.getMinSize.call(this).height != t && a.prototype.setMinSize.call(this, new i(0,t)) } , Object.defineProperty(s.prototype, "maxHeight", { get: function() { return this.getMaxHeight() }, set: function(t) { this.setMaxHeight(t) }, enumerable: !0, configurable: !0 }), s.prototype.getMaxHeight = function() { return a.prototype.getMaxSize.call(this).height } , s.prototype.setMaxHeight = function(t) { a.prototype.getMaxSize.call(this).height != t && a.prototype.setMaxSize.call(this, new i(0,t)) } , s.prototype.getDisplayRectangle = function() { if (null != this.report && this.report.isRendering) return new r(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 r(this.left,this.top - t,this.width,this.height + t + e) } , s.prototype.setDisplayRectangle = function(t) { if (null != this.report && this.report.isRendering) this.left = t.left, this.top = t.top, this.width = t.width, this.height = t.height; else { var e = this.page.unit.convertFromHInches(this.headerSize) , r = this.page.unit.convertFromHInches(this.footerSize); null == this.report || this.report.info.showHeaders || (e = 0, r = 0), this.left = t.left, this.top = t.top + e, this.width = t.width, this.height = t.height - e - r } } , s.prototype.setDirectDisplayRectangle = function(t) { this.displayRectangle = t } , Object.defineProperty(s.prototype, "selectRectangle", { get: function() { var t = this.page.unit.convertFromHInches(this.headerSize); return this.dockStyle == e.StiDockStyle.Left || this.dockStyle == e.StiDockStyle.Right ? new r(this.left - t,this.top,this.width + t,this.height) : new r(this.left,this.top - t,this.width,this.height + t) }, set: function(t) { var r = this.page.unit.convertFromHInches(this.headerSize); this.dockStyle == e.StiDockStyle.Left || this.dockStyle == e.StiDockStyle.Right ? (this.left = t.left + r, this.top = t.top, this.width = t.width - r, this.height = t.height) : (this.left = t.left, this.top = t.top + r, this.width = t.width, this.height = t.height - r) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "nestedLevel", { get: function() { var r, i, n, o, a, s, l, u, c, m, p = this.stimulsoft.as(e.StiPageHeaderBand); if (null != p) { var h = 1; try { for (var d = __values(this.page.components.list), g = d.next(); !g.done; g = d.next()) { var f = g.value; if (f == p) return h; f.stimulsoft.is(e.StiPageHeaderBand) && h++ } } catch (t) { r = { error: t } } finally { try { g && !g.done && (i = d.return) && i.call(d) } finally { if (r) throw r.error } } return h } var S = this.stimulsoft.as(e.StiPageFooterBand); if (null != S) { var h = 1; try { for (var A = __values(this.page.components.list), y = A.next(); !y.done; y = A.next()) { var f = y.value; if (f == S) return h; f.stimulsoft.is(e.StiPageFooterBand) && h++ } } catch (t) { n = { error: t } } finally { try { y && !y.done && (o = A.return) && o.call(A) } finally { if (n) throw n.error } } return h } var w = this.stimulsoft.as(e.StiReportTitleBand); if (null != w) { var h = 1; try { for (var b = __values(this.page.components.list), v = b.next(); !v.done; v = b.next()) { var f = v.value; if (f == w) return h; f.stimulsoft.is(e.StiReportTitleBand) && h++ } } catch (t) { a = { error: t } } finally { try { v && !v.done && (s = b.return) && s.call(b) } finally { if (a) throw a.error } } return h } var C = this.stimulsoft.as(e.StiReportSummaryBand); if (null != C) { for (var h = 1, E = this.page.components.count - 1; E >= 0; E--) { var f = this.page.components.getByIndex(E); if (f == C) return h; f.stimulsoft.is(e.StiReportSummaryBand) && h++ } return h } var B = this.stimulsoft.as(e.StiEmptyBand); if (null != B) { var h = 1; try { for (var T = __values(this.page.components.list), I = T.next(); !I.done; I = T.next()) { var f = I.value; if (f == B) return h; f.stimulsoft.is(e.StiEmptyBand) && h++ } } catch (t) { l = { error: t } } finally { try { I && !I.done && (u = T.return) && u.call(T) } finally { if (l) throw l.error } } return h } var x = this.stimulsoft.as(e.StiOverlayBand); if (null != x) { var h = 1; try { for (var F = __values(this.page.components.list), D = F.next(); !D.done; D = F.next()) { var f = D.value; if (f == x) return h; f.stimulsoft.is(e.StiOverlayBand) && h++ } } catch (t) { c = { error: t } } finally { try { D && !D.done && (m = F.return) && m.call(F) } finally { if (c) throw c.error } } return h } var R = this.stimulsoft.as(e.StiDataBand); if (null != R) { var P = R.masterComponent ? R.masterComponent.stimulsoft.as(e.StiDataBand) : null , h = 1; while (null != P) P = P.masterComponent ? P.masterComponent.stimulsoft.as(e.StiDataBand) : null, h++; return h } var N = this.stimulsoft.as(e.StiHeaderBand); if (null != N) { var P = t.Report.Engine.StiHeaderBandBuilder.getMaster(N); if (null == P) return 1; return P.nestedLevel } var k = this.stimulsoft.as(e.StiFooterBand); if (null != k) { var P = t.Report.Engine.StiFooterBandBuilder.getMaster(k); if (null == P) return 1; return P.nestedLevel } var M = this.stimulsoft.as(e.StiGroupHeaderBand); if (null != M) { var P = t.Report.Engine.StiGroupHeaderBandBuilder.getMaster(M); if (null == P) return 1; return P.nestedLevel } var O = this.stimulsoft.as(e.StiGroupFooterBand); if (null != O) { var P = t.Report.Engine.StiGroupFooterBandBuilder.getMaster(O); if (null == P) return 1; return P.nestedLevel } var _ = this.stimulsoft.as(e.StiChildBand); if (null != _) { var L = _.getMaster(); return null == L ? 1 : L.nestedLevel } return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "rectangleMoveComponent", { get: function() { return this._rectangleMoveComponent }, set: function(t) { this._rectangleMoveComponent = t }, enumerable: !0, configurable: !0 }), s.prototype.getHeaderText = function() { return this.toString() } , Object.defineProperty(s.prototype, "headerSize", { get: function() { return null != this.report && this.report.info.showHeaders ? o.alignToMaxGrid(15, +this.page.unit.convertToHInches(this.page.gridSize), !0) : 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "footerSize", { get: function() { return null != this.report && this.report.info.showHeaders ? o.alignToMaxGrid(15, this.page.unit.convertToHInches(this.page.gridSize), !0) : 0 }, enumerable: !0, configurable: !0 }), s }(e.StiContainer); e.StiBand = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.System.Drawing.Rectangle , n = function(t) { function n(e) { void 0 === e && (e = i.empty); var r = t.call(this, e) || this; return r._printAtBottom = !1, r._newPageBefore = !1, r._newPageAfter = !1, r._newColumnBefore = !1, r._newColumnAfter = !1, r._skipFirst = !0, r._breakIfLessThan = 100, r } return __extends(n, t), n.prototype.implements = function() { return this._implementsStiDynamicBand || (this._implementsStiDynamicBand = t.prototype.implements.call(this).concat([e.IStiPageBreak, e.IStiBreakable, e.IStiPrintAtBottom, r])), this._implementsStiDynamicBand } , n.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyBool("PrintAtBottom", this.printAtBottom), r.addPropertyBool("NewPageBefore", this.newPageBefore), r.addPropertyBool("NewPageAfter", this.newPageAfter), r.addPropertyBool("NewColumnBefore", this.newColumnBefore), r.addPropertyBool("NewColumnAfter", this.newColumnAfter), r.addPropertyBool("SkipFirst", this.skipFirst, !0), r.addPropertyNumber("BreakIfLessThan", this.breakIfLessThan, 100), r } , n.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "PrintAtBottom": this._printAtBottom = a.value.stimulsoft.toBoolean(); break; case "NewPageBefore": this._newPageBefore = a.value.stimulsoft.toBoolean(); break; case "NewPageAfter": this._newPageAfter = a.value.stimulsoft.toBoolean(); break; case "NewColumnBefore": this._newColumnBefore = a.value.stimulsoft.toBoolean(); break; case "NewColumnAfter": this._newColumnAfter = a.value.stimulsoft.toBoolean(); break; case "SkipFirst": this._skipFirst = a.value.stimulsoft.toBoolean(); break; case "BreakIfLessThan": this._breakIfLessThan = a.value.stimulsoft.toNumber(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , n.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; 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(n.prototype, "printAtBottom", { get: function() { return this._printAtBottom }, set: function(t) { this._printAtBottom != t && (this._printAtBottom = t) }, enumerable: !0, configurable: !0 }), n.prototype.break = function(t, e, r) { return !1 } , Object.defineProperty(n.prototype, "newPageBefore", { get: function() { return this._newPageBefore }, set: function(t) { this._newPageBefore = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "newPageAfter", { get: function() { return this._newPageAfter }, set: function(t) { this._newPageAfter = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "newColumnBefore", { get: function() { return this._newColumnBefore }, set: function(t) { this._newColumnBefore = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "newColumnAfter", { get: function() { return this._newColumnAfter }, set: function(t) { this._newColumnAfter = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "skipFirst", { get: function() { return this._skipFirst }, set: function(t) { this._skipFirst != t && (this._skipFirst = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "breakIfLessThan", { get: function() { return this._breakIfLessThan }, set: function(t) { this._breakIfLessThan != t && t >= 0 && t <= 100 && (this._breakIfLessThan = t) }, enumerable: !0, configurable: !0 }), n }(e.StiBand); e.StiDynamicBand = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.System.Drawing.Color , n = t.Base.Drawing.StiColorUtils , o = t.System.Drawing.Rectangle , a = function(t) { function a(e) { void 0 === e && (e = o.empty); var r = t.call(this, e) || this; return r._keepChildTogether = !0, r._printIfParentDisabled = !1, r } return __extends(a, t), a.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiKeepChildTogether, r]) } , a.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyBool("KeepChildTogether", this.keepChildTogether, !0), r.addPropertyBool("PrintIfParentDisabled", this.printIfParentDisabled), r } , a.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "KeepChildTogether": this._keepChildTogether = a.value.stimulsoft.toBoolean(); break; case "PrintIfParentDisabled": this._printIfParentDisabled = a.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , a.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "KeepChildTogether": this._keepChildTogether = n.textContent.stimulsoft.toBoolean(); break; case "PrintIfParentDisabled": this._printIfParentDisabled = n.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(a.prototype, "keepChildTogether", { get: function() { return this._keepChildTogether }, set: function(t) { this._keepChildTogether != t && (this._keepChildTogether = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "headerStartColor", { get: function() { var t = this.getMaster(); return null != t ? n.light(t.headerStartColor, 50) : i.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "headerEndColor", { get: function() { var t = this.getMaster(); return null != t ? n.light(t.headerEndColor, 50) : i.white }, enumerable: !0, configurable: !0 }), a.prototype.getComponentType = function() { return e.StiComponentType.Detail } , Object.defineProperty(a.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.ChildBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "priority", { get: function() { return e.StiComponentPriority.ChildBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "printIfParentDisabled", { get: function() { return this._printIfParentDisabled }, set: function(t) { this._printIfParentDisabled != t && (this._printIfParentDisabled = t) }, enumerable: !0, configurable: !0 }), a.prototype.createNew = function() { return new a } , a.prototype.getMaster = function() { var t = this.parent.components.indexOf(this) - 1; while (t >= 0) { if (this.parent.components.getByIndex(t).stimulsoft.is(e.StiBand) && !this.parent.components.getByIndex(t).stimulsoft.is(a)) return this.parent.components.getByIndex(t).stimulsoft.as(e.StiBand); t-- } return null } , a }(e.StiDynamicBand); e.StiChildBand = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventArgs , i = t.System.Enum , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.System.Drawing.Color , a = t.System.Drawing.Rectangle , s = function(t) { function s(r) { void 0 === r && (r = a.empty); var i = t.call(this, r) || this; return i._keepFooterTogether = !0, i._startNewPage = !1, i._printIfEmpty = !1, i._printOnEvenOddPages = e.StiPrintOnEvenOddPagesType.Ignore, i._printOnAllPages = !1, i } return __extends(s, t), s.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiPrintOnAllPages, e.IStiPrintIfEmpty, e.IStiKeepFooterTogether, e.IStiPrintOnEvenOddPages, n]) } , s.prototype.saveToJsonObject = function(r) { var i = t.prototype.saveToJsonObject.call(this, r); return i.addPropertyBool("CanBreak", this.canBreak), i.addPropertyBool("KeepFooterTogether", this.keepFooterTogether, !0), i.addPropertyBool("StartNewPage", this.startNewPage), i.addPropertyNumber("StartNewPageIfLessThan", this.startNewPageIfLessThan, 100), i.addPropertyBool("PrintIfEmpty", this.printIfEmpty), i.addPropertyEnum("PrintOnEvenOddPages", e.StiPrintOnEvenOddPagesType, this.printOnEvenOddPages, e.StiPrintOnEvenOddPagesType.Ignore), i.addPropertyBool("PrintOnAllPages", this.printOnAllPages), i } , s.prototype.loadFromJsonObject = function(r) { var n, o; t.prototype.loadFromJsonObject.call(this, r); try { for (var a = __values(r.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "KeepFooterTogether": this._keepFooterTogether = l.value.stimulsoft.toBoolean(); break; case "StartNewPage": this._startNewPage = l.value.stimulsoft.toBoolean(); break; case "StartNewPageIfLessThan": this.startNewPageIfLessThan = l.value.stimulsoft.toNumber(); break; case "PrintIfEmpty": this._printIfEmpty = l.value.stimulsoft.toBoolean(); break; case "PrintOnEvenOddPages": this._printOnEvenOddPages = i.parse(e.StiPrintOnEvenOddPagesType, l.value); break; case "PrintOnAllPages": this._printOnAllPages = l.value.stimulsoft.toBoolean(); break } } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , s.prototype.loadFromXml = function(r, n) { t.prototype.loadFromXml.call(this, r, n); for (var o = 0; o < r.childNodes.length; o++) { var a = r.childNodes[o]; switch (a.nodeName) { case "KeepFooterTogether": this._keepFooterTogether = a.textContent.stimulsoft.toBoolean(); break; case "StartNewPage": this._startNewPage = a.textContent.stimulsoft.toBoolean(); break; case "StartNewPageIfLessThan": this.startNewPageIfLessThan = a.textContent.stimulsoft.toNumber(); break; case "PrintIfEmpty": this._printIfEmpty = a.textContent.stimulsoft.toBoolean(); break; case "PrintOnEvenOddPages": this._printOnEvenOddPages = i.parse(e.StiPrintOnEvenOddPagesType, a.textContent); break; case "PrintOnAllPages": this._printOnAllPages = a.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(s.prototype, "keepFooterTogether", { get: function() { return this._keepFooterTogether }, set: function(t) { this._keepFooterTogether != t && (this._keepFooterTogether = t) }, enumerable: !0, configurable: !0 }), s.prototype.clone = function(e, r) { var i = t.prototype.clone.call(this, e, r); return i._footerBandInfo = this.footerBandInfo.clone(), i } , Object.defineProperty(s.prototype, "startNewPage", { get: function() { return this._startNewPage }, set: function(t) { this._startNewPage = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "startNewPageIfLessThan", { get: function() { return this.breakIfLessThan }, set: function(t) { this.breakIfLessThan = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printIfEmpty", { get: function() { return this._printIfEmpty }, set: function(t) { this._printIfEmpty != t && (this._printIfEmpty = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printOnEvenOddPages", { get: function() { return this._printOnEvenOddPages }, set: function(t) { this._printOnEvenOddPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printOnAllPages", { get: function() { return this._printOnAllPages }, set: function(t) { this._printOnAllPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "footerBandInfo", { get: function() { return null == this._footerBandInfo && (this._footerBandInfo = new e.StiFooterBandInfo), this._footerBandInfo }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "headerStartColor", { get: function() { return o.fromArgb(178, 197, 223) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "headerEndColor", { get: function() { return o.fromArgb(178, 197, 223) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.FooterBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "priority", { get: function() { return e.StiComponentPriority.ColumnFooterBand }, enumerable: !0, configurable: !0 }), s.prototype.getComponentType = function() { return e.StiComponentType.Detail } , s.prototype.onMoveFooterToBottom = function(t) {} , s.prototype.invokeMoveFooterToBottom = function() { this.onMoveFooterToBottom(r.empty) } , s.prototype.createNew = function() { return new s } , s.eventMoveFooterToBottom = {}, s }(e.StiDynamicBand); e.StiFooterBand = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.System.Drawing.Color , n = t.System.Drawing.Rectangle , o = function(t) { function o(e) { return void 0 === e && (e = n.empty), t.call(this, e) || this } return __extends(o, t), o.prototype.implements = function() { return t.prototype.implements.call(this).concat([r]) } , o.prototype.saveToJsonObject = function(r) { var i = t.prototype.saveToJsonObject.call(this, r); return i.addPropertyBool("KeepFooterTogether", this.keepFooterTogether, !0), i.addPropertyBool("StartNewPage", this.startNewPage), i.addPropertyNumber("StartNewPageIfLessThan", this.startNewPageIfLessThan, 100), i.addPropertyBool("PrintIfEmpty", this.printIfEmpty), i.addPropertyEnum("PrintOnEvenOddPages", e.StiPrintOnEvenOddPagesType, this.printOnEvenOddPages, e.StiPrintOnEvenOddPagesType.Ignore), i.addPropertyBool("PrintOnAllPages", this.printOnAllPages), i } , o.prototype.loadFromJsonObject = function(e) { t.prototype.loadFromJsonObject.call(this, e) } , Object.defineProperty(o.prototype, "headerStartColor", { get: function() { return i.fromArgb(239, 109, 73) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "headerEndColor", { get: function() { return i.fromArgb(239, 109, 73) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.ColumnFooterBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "priority", { get: function() { return e.StiComponentPriority.ColumnFooterBand }, enumerable: !0, configurable: !0 }), o }(e.StiFooterBand); e.StiColumnFooterBand = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Enum , i = t.Base.JsonReportObject.IStiJsonReportObject , n = t.System.Drawing.Color , o = t.System.Drawing.Rectangle , a = function(t) { function a(r) { void 0 === r && (r = o.empty); var i = t.call(this, r) || this; return i._keepHeaderTogether = !0, i._startNewPage = !1, i._printIfEmpty = !1, i._printOnAllPages = !0, i._printOnEvenOddPages = e.StiPrintOnEvenOddPagesType.Ignore, i } return __extends(a, t), a.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiPrintIfEmpty, e.IStiPrintOnAllPages, e.IStiPrintOnEvenOddPages, e.IStiKeepHeaderTogether, i]) } , a.prototype.saveToJsonObject = function(r) { var i = t.prototype.saveToJsonObject.call(this, r); return i.addPropertyBool("CanBreak", this.canBreak), i.addPropertyBool("KeepHeaderTogether", this.keepHeaderTogether, !0), i.addPropertyBool("StartNewPage", this.startNewPage), i.addPropertyNumber("StartNewPageIfLessThan", this.startNewPageIfLessThan, 100), i.addPropertyBool("PrintIfEmpty", this.printIfEmpty), i.addPropertyBool("PrintOnAllPages", this.printOnAllPages, !0), i.addPropertyEnum("PrintOnEvenOddPages", e.StiPrintOnEvenOddPagesType, this.printOnEvenOddPages, e.StiPrintOnEvenOddPagesType.Ignore), i } , a.prototype.loadFromJsonObject = function(i) { var n, o; t.prototype.loadFromJsonObject.call(this, i); try { for (var a = __values(i.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "KeepHeaderTogether": this._keepHeaderTogether = l.value.stimulsoft.toBoolean(); break; case "StartNewPage": this._startNewPage = l.value.stimulsoft.toBoolean(); break; case "StartNewPageIfLessThan": this.startNewPageIfLessThan = l.value.stimulsoft.toNumber(); break; case "PrintIfEmpty": this._printIfEmpty = l.value.stimulsoft.toBoolean(); break; case "PrintOnAllPages": this._printOnAllPages = l.value.stimulsoft.toBoolean(); break; case "PrintOnEvenOddPages": this._printOnEvenOddPages = r.parse(e.StiPrintOnEvenOddPagesType, l.value); break } } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , a.prototype.loadFromXml = function(i, n) { t.prototype.loadFromXml.call(this, i, n); for (var o = 0; o < i.childNodes.length; o++) { var a = i.childNodes[o]; switch (a.nodeName) { case "KeepHeaderTogether": this._keepHeaderTogether = a.textContent.stimulsoft.toBoolean(); break; case "StartNewPage": this._startNewPage = a.textContent.stimulsoft.toBoolean(); break; case "StartNewPageIfLessThan": this.startNewPageIfLessThan = a.textContent.stimulsoft.toNumber(); break; case "PrintIfEmpty": this._printIfEmpty = a.textContent.stimulsoft.toBoolean(); break; case "PrintOnAllPages": this._printOnAllPages = a.textContent.stimulsoft.toBoolean(); break; case "PrintOnEvenOddPages": this._printOnEvenOddPages = r.parse(e.StiPrintOnEvenOddPagesType, a.textContent); break } } } , a.prototype.clone = function(e, r) { var i = t.prototype.clone.call(this, e, r); return i._headerBandInfo = this.headerBandInfo.clone(), i } , Object.defineProperty(a.prototype, "keepHeaderTogether", { get: function() { return this._keepHeaderTogether }, set: function(t) { this._keepHeaderTogether != t && (this._keepHeaderTogether = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "startNewPage", { get: function() { return this._startNewPage }, set: function(t) { this._startNewPage = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "startNewPageIfLessThan", { get: function() { return this.breakIfLessThan }, set: function(t) { this.breakIfLessThan = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "printIfEmpty", { get: function() { return this._printIfEmpty }, set: function(t) { this._printIfEmpty = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "printOnAllPages", { get: function() { return this._printOnAllPages }, set: function(t) { this._printOnAllPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "printOnEvenOddPages", { get: function() { return this._printOnEvenOddPages }, set: function(t) { this._printOnEvenOddPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "headerBandInfo", { get: function() { return null == this._headerBandInfo && (this._headerBandInfo = new e.StiHeaderBandInfo), this._headerBandInfo }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "headerStartColor", { get: function() { return n.fromArgb(178, 197, 223) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "headerEndColor", { get: function() { return n.fromArgb(178, 197, 223) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.HeaderBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "priority", { get: function() { return e.StiComponentPriority.HeaderBand }, enumerable: !0, configurable: !0 }), a.prototype.getComponentType = function() { return e.StiComponentType.Detail } , a.prototype.createNew = function() { return new a } , a }(e.StiDynamicBand); e.StiHeaderBand = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Color , i = t.System.Drawing.Rectangle , n = function(t) { function n(e) { return void 0 === e && (e = i.empty), t.call(this, e) || this } return __extends(n, t), Object.defineProperty(n.prototype, "headerStartColor", { get: function() { return r.fromArgb(239, 109, 73) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "headerEndColor", { get: function() { return r.fromArgb(239, 109, 73) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.ColumnHeaderBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(e.StiHeaderBand); e.StiColumnHeaderBand = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Collections.CollectionBase , n = t.System.ICloneable , o = t.System.Collections.IComparer , a = t.System.Collections.Hashtable , s = t.Base.JsonReportObject.IStiJsonReportObject , l = t.Base.StiJson , u = function(t) { function i(e, r) { var i = t.call(this) || this; return i.directionFactor = 1, i.dictionary = e, i.parentBusinessObject = r, i } return __extends(i, t), i.prototype.implements = function() { return [n, s, o] } , i.prototype.saveToJsonObject = function(t) { var e, 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(t)), n++ } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } return i } , i.prototype.loadFromJsonObject = function(t) { var e, i; try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = new r.StiBusinessObject; s.dictionary = this.dictionary, s.loadFromJsonObject(a.value), this.list.add(s) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , i.prototype.loadFromXml = function(t) { for (var e = 0; e < t.childNodes.length; e++) { var i = t.childNodes[e]; if (null == i.attributes) continue; if (null != i.attributes.getNamedItem("type")) { var n = new r.StiBusinessObject; n.dictionary = this.dictionary, n.loadFromXml(i), this.list.add(n) } } } , i.prototype.compare = function(t, e) { var r = t , i = e; return r.name.stimulsoft.compareTo(i.name) * this.directionFactor } , i.prototype.onSet = function(t, e, r) { var i = r; null != this.dictionary && (i.dictionary = this.dictionary), null != this.parentBusinessObject && (i.parentBusinessObject = this.parentBusinessObject) } , i.prototype.onInsert = function(t, e) { var r = e; null != this.dictionary && (r.dictionary = this.dictionary), null != this.parentBusinessObject && (r.parentBusinessObject = this.parentBusinessObject) } , i.prototype.remove = function(t) { this.list.remove(t); var e = t.name.toLowerCase(); null != this.cachedBusinessObjects.get(e) && this.cachedBusinessObjects.remove(e) } , Object.defineProperty(i.prototype, "cachedBusinessObjects", { get: function() { return null == this._cachedBusinessObjects && (this._cachedBusinessObjects = new a), this._cachedBusinessObjects }, enumerable: !0, configurable: !0 }), i.prototype.getByName = function(t) { var r, i; t = t.toLowerCase(); var n = this.cachedBusinessObjects.get(t); if (null != n) return n; try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (s.name.toLowerCase() == t) return this.cachedBusinessObjects.set(t, s), s; if (e.StiNameValidator.correctName(s.name.toLowerCase()) == e.StiNameValidator.correctName(t)) return this.cachedBusinessObjects.set(t, s), s } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return null } , i.prototype.setByName = function(t, e) { t = t.toLowerCase(); for (var r = 0; r < this.list.length; r++) { if (this.getByIndex(r).name.toLowerCase() == t) return void (this.list[r] = e) } this.add(e) } , i.prototype.clone = function() { var t, e, r = new i(this.dictionary,this.parentBusinessObject); try { for (var n = __values(this.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; r.add(a.clone()) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } return r } , i.prototype.sort = function(t, e) { var i, n; if (void 0 === t && (t = r.StiSortOrder.Asc), void 0 === e && (e = !0), t == r.StiSortOrder.Asc ? this.directionFactor = 1 : this.directionFactor = -1, this.list.sort(), e) try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; s.columns.sort(t); var l = s.businessObjects; null != l && l.length > 0 && l.sort(t) } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , i.prototype.connect = function() { var t, e; try { for (var r = __values(this.list), i = r.next(); !i.done; i = r.next()) { i.value.connect() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , i.prototype.disconnect = function() { var t, e; try { for (var r = __values(this.list), i = r.next(); !i.done; i = r.next()) { i.value.disconnect() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , i }(i); r.StiBusinessObjectsCollection = u }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiObject , n = t.System.Type , o = t.Report.Dictionary.StiBusinessObjectsCollection , a = function() { function t() {} return t.getElementType = function(t) { return null } , t.getElement = function(t) { if (null == t) return null; var e = t.stimulsoft.getType(); return this.getElementType(e) } , t.getAlias = function(t) { return null } , t.isAllowUseProperty = function(t) { return !0 } , t.getType = function(t) { return t } , t.getDataColumn = function(t, e, i) { return null == e && (e = t), new r.StiDataColumn(t,e,e,this.getType(i)) } , t.getDataColumn2 = function(t) { return new r.StiDataColumn(t.columnName,t.caption,t.caption,t.dataType) } , t.getColumnsFromObject = function(t) { var e = new r.StiDataColumnsCollection; if (null == t) return e; var i = this.getElement(t); return null == i && (i = t), i.stimulsoft.is(n), this.getColumnsFromClass(i) } , t.getColumnsFromClass = function(t) { var e, n, o = new r.StiDataColumnsCollection; if (StiOptions.BusinessObjects.allowUseProperties) { var a = i.keys(t); try { for (var s = __values(a), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = this.getDataColumn(u, this.getAlias(u), Object); o.add(c) } } catch (t) { e = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (e) throw e.error } } } return StiOptions.BusinessObjects.allowUseFields, o } , t.getColumnsFromData = function(t, e) { var i, n; void 0 === e && (e = !1); var o = this.getColumnsFromObject(t); if (e) return o; var a = new r.StiDataColumnsCollection; try { for (var s = __values(o.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (!this.isDataColumn(u.type)) continue; a.add(u) } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return a } , t.isDataColumn = function(t) { return !1 } , t.getBusinessObjectFromGuid = function(e, r) { var i, n, o = t.getBusinessObjectsFromReport(e); if (null == o) return null; try { for (var a = __values(o), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.guid == r) return l } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } return null } , t.getBusinessObjectsFromReport = function(t) { var r, i, n, a; if (t.stimulsoft.is(o)) { var s = t , l = null; try { for (var u = __values(s.list), c = u.next(); !c.done; c = u.next()) { var m = c.value , p = this.getBusinessObjectsFromReport(m.businessObjects); if (null != p) { null == l && (l = new Array); try { for (var h = (n = void 0, __values(p)), d = h.next(); !d.done; d = h.next()) { var g = d.value; l.add(g) } } catch (t) { n = { error: t } } finally { try { d && !d.done && (a = h.return) && a.call(h) } finally { if (n) throw n.error } } } null == l && (l = new Array), l.add(m) } } catch (t) { r = { error: t } } finally { try { c && !c.done && (i = u.return) && i.call(u) } finally { if (r) throw r.error } } return l } if (t.stimulsoft.is(e.StiReport)) { var f = t; return this.getBusinessObjectsFromReport(f.dictionary.businessObjects) } return null } , t }(); r.StiBusinessObjectHelper = a }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetCollapsed" } , e }(t.StiEvent); t.StiGetCollapsedEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "EndRender" } , e }(t.StiEvent); t.StiEndRenderEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Rendering" } , e }(t.StiEvent); t.StiRenderingEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "BeginRender" } , e }(t.StiEvent); t.StiBeginRenderEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.EventArgs , o = t.System.EventHandler , a = t.Report.Events.StiValueEventHandler , s = t.Report.Events.StiGetCollapsedEvent , l = t.Report.Events.StiEndRenderEvent , u = t.Report.Events.StiRenderingEvent , c = t.Report.Events.StiBeginRenderEvent , m = t.Base.StiJsonSaveMode , p = t.System.Drawing.Rectangle , h = t.Base.StiJsonReportObjectHelper , d = t.System.Enum , g = t.Base.JsonReportObject.IStiJsonReportObject , f = t.System.Drawing.Color , S = t.Base.Localization.StiLocalization , A = function(A) { function y(t) { void 0 === t && (t = p.empty); var e = A.call(this, t) || this; return e._masterComponent = null, e._keepDetails = r.StiKeepDetails.None, e._sort = [], e._printOnAllPages = !1, e._printIfDetailEmpty = !1, e._dataSourceName = "", e._businessObjectGuid = "", e.isEofValue = !1, e.isBofValue = !1, e._dataRelationName = "", e._filterMode = r.StiFilterMode.And, e._filterEngine = r.StiFilterEngine.ReportEngine, e._filters = new r.StiFiltersCollection, e._filterOn = !0, e._collapsed = "", e._rightToLeft = !1, e._columnGaps = 0, e._columnWidth = 0, e._columns = 0, e._minRowsInColumn = 0, e._columnDirection = r.StiColumnDirection.AcrossThenDown, e._lineThrough = 1, e._line = 1, e._selectedLine = 1, e._resetDataSource = !1, e._calcInvisible = !1, e._countData = 0, e._limitRows = "", e.printIfDetailEmpty = StiOptions.Engine.printIfDetailEmptyDefaultValue, e } return __extends(y, A), y.prototype.implements = function() { return y.ImplementsStiDataBand || (y.ImplementsStiDataBand = A.prototype.implements.call(this).concat([r.IStiDataSource, t.Report.Dictionary.IStiEnumerator, r.IStiMasterComponent, r.IStiDataRelation, r.IStiOddEvenStyles, r.IStiSort, r.IStiFilter, r.IStiPrintOnAllPages, r.IStiPrintIfDetailEmpty, r.IStiKeepDetailsTogether, r.IStiResetPageNumber, r.IStiRenderMaster, r.IStiBusinessObject, g])), y.ImplementsStiDataBand } , y.prototype.saveToJsonObject = function(t) { var e = A.prototype.saveToJsonObject.call(this, t); return e.addPropertyEnum("KeepDetails", r.StiKeepDetails, this.keepDetails, r.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", r.StiFilterMode, this.filterMode, r.StiFilterMode.And), e.addPropertyEnum("FilterEngine", r.StiFilterEngine, this.filterEngine, r.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", r.StiColumnDirection, this.columnDirection, r.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", h.Serialize.stringArray(this.sort)), e.addPropertyJObject("Filters", this.filters.saveToJsonObject(t))), e } , y.prototype.loadFromJsonObject = function(t) { var e, i; A.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "StartNewPage": break; case "StartNewPageIfLessThan": break; case "KeepGroupTogether": break; case "KeepHeaderTogether": break; case "KeepFooterTogether": break; case "KeepChildTogether": break; case "KeepDetails": this._keepDetails = d.parse(r.StiKeepDetails, a.value); break; case "Sort": this._sort = h.Deserialize.stringArray(a.value); break; case "PrintOnAllPages": this._printOnAllPages = a.value.stimulsoft.toBoolean(); break; case "PrintIfDetailEmpty": this._printIfDetailEmpty = a.value.stimulsoft.toBoolean(); break; case "DataSourceName": this._dataSourceName = a.value; break; case "BusinessObjectGuid": this._businessObjectGuid = a.value; break; case "DataRelationName": this._dataRelationName = a.value; break; case "FilterMode": this._filterMode = d.parse(r.StiFilterMode, a.value); break; case "FilterEngine": this._filterEngine = d.parse(r.StiFilterEngine, a.value); break; case "Filters": null == this._filters && (this._filters = new r.StiFiltersCollection), this._filters.loadFromJsonObject(a.value); break; case "FilterOn": this._filterOn = a.value.stimulsoft.toBoolean(); break; case "EvenStyle": this.evenStyle = a.value; break; case "OddStyle": this.oddStyle = a.value; break; case "BeginRenderEvent": var m = new c; m.loadFromJsonObject(a.value), this.beginRenderEvent = m; break; case "RenderingEvent": var m = new u; m.loadFromJsonObject(a.value), this.renderingEvent = m; break; case "EndRenderEvent": var m = new l; m.loadFromJsonObject(a.value), this.endRenderEvent = m; break; case "GetCollapsedEvent": var m = new s; m.loadFromJsonObject(a.value), this.getCollapsedEvent = m; break; case "Collapsed": break; case "RightToLeft": this._rightToLeft = a.value.stimulsoft.toBoolean(); break; case "ColumnGaps": this._columnGaps = a.value.stimulsoft.toNumber(); break; case "ColumnWidth": this._columnWidth = a.value.stimulsoft.toNumber(); break; case "Columns": this._columns = a.value.stimulsoft.toNumber(); break; case "MinRowsInColumn": this._minRowsInColumn = a.value.stimulsoft.toNumber(); break; case "ColumnDirection": this._columnDirection = d.parse(r.StiColumnDirection, a.value); break; case "ResetDataSource": this._resetDataSource = a.value.stimulsoft.toBoolean(); break; case "CalcInvisible": this._calcInvisible = a.value.stimulsoft.toBoolean(); break; case "CountData": this._countData = a.value.stimulsoft.toNumber(); break; case "LimitRows": this._limitRows = a.value; break; case "MasterComponent": this.jsonMasterComponentTemp = a.value, this.report.jsonLoaderHelper && this.report.jsonLoaderHelper.masterComponents.add(this); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , y.prototype.loadFromXml = function(e, n) { A.prototype.loadFromXml.call(this, e, n); var o = e.getAttribute("Ref"); !i.isNullOrEmpty(o) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[o.stimulsoft.toNumber()] = e.nodeName); for (var a = 0; a < e.childNodes.length; a++) { var m = e.childNodes[a]; switch (m.nodeName) { case "StartNewPage": break; case "StartNewPageIfLessThan": break; case "KeepGroupTogether": break; case "KeepHeaderTogether": break; case "KeepFooterTogether": break; case "KeepChildTogether": break; case "KeepChildTogether": break; case "KeepDetails": this._keepDetails = d.parse(r.StiKeepDetails, m.textContent); break; case "Sort": this._sort = y.loadXmlSort(m); break; case "PrintOnAllPages": this._printOnAllPages = m.textContent.stimulsoft.toBoolean(); break; case "PrintIfDetailEmpty": this._printIfDetailEmpty = m.textContent.stimulsoft.toBoolean(); break; case "DataSourceName": this._dataSourceName = m.textContent; break; case "BusinessObjectGuid": this._businessObjectGuid = m.textContent; break; case "DataRelationName": this._dataRelationName = m.textContent; break; case "FilterMode": this._filterMode = d.parse(r.StiFilterMode, m.textContent); break; case "FilterEngine": this._filterEngine = d.parse(r.StiFilterEngine, m.textContent); break; case "Filters": null == this._filters && (this._filters = new r.StiFiltersCollection), this._filters.loadFromXml(m); break; case "FilterOn": this._filterOn = m.textContent.stimulsoft.toBoolean(); break; case "EvenStyle": this.evenStyle = m.textContent; break; case "OddStyle": this.oddStyle = m.textContent; break; case "BeginRenderEvent": var p = new c; p.script = m.textContent, this.beginRenderEvent = p; break; case "RenderingEvent": var p = new u; p.script = m.textContent, this.renderingEvent = p; break; case "EndRenderEvent": var p = new l; p.script = m.textContent, this.endRenderEvent = p; break; case "GetCollapsedEvent": var p = new s; p.script = m.textContent, this.getCollapsedEvent = p; break; case "Collapsed": var h = new t.Report.Expressions.StiExpression; h.loadFromXml(m), this.collapsed = h.value; break; case "RightToLeft": this._rightToLeft = m.textContent.stimulsoft.toBoolean(); break; case "ColumnGaps": this._columnGaps = m.textContent.stimulsoft.toNumber(); break; case "ColumnWidth": this._columnWidth = m.textContent.stimulsoft.toNumber(); break; case "Columns": this._columns = m.textContent.stimulsoft.toNumber(); break; case "MinRowsInColumn": this._minRowsInColumn = m.textContent.stimulsoft.toNumber(); break; case "ColumnDirection": this._columnDirection = d.parse(r.StiColumnDirection, m.textContent); break; case "ResetDataSource": this._resetDataSource = m.textContent.stimulsoft.toBoolean(); break; case "CalcInvisible": this._calcInvisible = m.textContent.stimulsoft.toBoolean(); break; case "CountData": this._countData = m.textContent.stimulsoft.toNumber(); break; case "LimitRows": this._limitRows = m.textContent; break; case "MasterComponent": this.jsonMasterComponentTemp = m.getAttribute("isRef"), this.report.jsonLoaderHelper && this.report.jsonLoaderHelper.masterComponents.add(this); break } } } , y.loadXmlSort = function(t) { for (var e = [], r = 0, i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; "value" == n.nodeName && (e[r] = n.textContent, r++) } return e } , y.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), i.isNullOrEmpty(this.businessObjectGuid) || this.businessObject.saveState(t)) } , y.prototype.restoreState = function(e) { null != this.report && (this.isBofValue = this.states.popBool(e, this, "isBofValue"), this.isEofValue = this.states.popBool(e, this, "isEofValue"), this.positionValue = this.states.popInt(e, this, "positionValue"), null != this.dataSource && this.dataSource.restoreState(e), i.isNullOrEmpty(this.businessObjectGuid) || this.businessObject.restoreState(e), t.Report.Engine.StiDataBandBuilder.prepareGroupResults(this)) } , Object.defineProperty(y.prototype, "masterComponent", { get: function() { return this._masterComponent }, set: function(t) { this._masterComponent = t }, enumerable: !0, configurable: !0 }), y.prototype.convert = function(t, e, r) { void 0 === r && (r = !1), A.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(y.prototype, "keepDetailsTogether", { get: function() { return this._keepDetails == r.StiKeepDetails.KeepDetailsTogether }, set: function(t) { var e = t ? r.StiKeepDetails.KeepDetailsTogether : r.StiKeepDetails.None; this._keepDetails != e && (this._keepDetails = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "keepDetails", { get: function() { return this._keepDetails }, set: function(t) { this._keepDetails != t && (this._keepDetails = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "sort", { get: function() { return this._sort }, set: function(t) { this._sort = t }, enumerable: !0, configurable: !0 }), y.prototype.clone = function(t, e) { var r = A.prototype.clone.call(this, t, e); return r._dataBandInfo = this.dataBandInfo.clone(), r._masterComponent = null, null != this._sort ? r._sort = this._sort.clone() : r._sort = null, null != this._filters ? r._filters = this._filters.clone() : r._filters = null, r } , Object.defineProperty(y.prototype, "printOnAllPages", { get: function() { return this._printOnAllPages }, set: function(t) { this._printOnAllPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "printIfDetailEmpty", { get: function() { return this._printIfDetailEmpty }, set: function(t) { this._printIfDetailEmpty = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "isDataSourceEmpty", { get: function() { return i.isNullOrEmpty(this.dataSourceName) || null == this.dataSource }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.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: !0, configurable: !0 }), Object.defineProperty(y.prototype, "dataSourceName", { get: function() { return this._dataSourceName }, set: function(t) { this._dataSourceName != t && (this._dataSourceName = t, i.isNullOrEmpty(t) || (this._businessObjectGuid = null), i.isNullOrEmpty(t) || (this._countData = 0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "isBusinessObjectEmpty", { get: function() { return i.isNullOrEmpty(this.businessObjectGuid) || null == this.businessObject }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "businessObject", { get: function() { if (null == this.page || null == this.report || null == this.businessObjectGuid || 0 == this.businessObjectGuid.length) return null; return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "businessObjectGuid", { get: function() { return this._businessObjectGuid }, set: function(t) { this._businessObjectGuid != t && (this._businessObjectGuid = t, i.isNullOrEmpty(t) || (this.dataSourceName = null)) }, enumerable: !0, configurable: !0 }), y.prototype.first = function() { this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? (this.isEofValue = !1, this.isBofValue = !0, this.positionValue = 0) : this.dataSource.first() : this.businessObject.first(), t.Report.Engine.StiDataBandBuilder.setDetails(this) } , y.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(), t.Report.Engine.StiDataBandBuilder.setDetails(this) } , y.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(), t.Report.Engine.StiDataBandBuilder.setDetails(this) } , y.prototype.last = function() { this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? (this.isEofValue = !0, this.isBofValue = !1, this.positionValue = this._countData - 1) : this.dataSource.last() : this.businessObject.last(), t.Report.Engine.StiDataBandBuilder.setDetails(this) } , Object.defineProperty(y.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: !0, configurable: !0 }), Object.defineProperty(y.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: !0, configurable: !0 }), Object.defineProperty(y.prototype, "isEmpty", { get: function() { return this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? 0 == this.countData : this.dataSource.isEmpty : this.businessObject.isEmpty }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.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: !0, configurable: !0 }), Object.defineProperty(y.prototype, "count", { get: function() { return this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? this._countData : this.dataSource.count : this.businessObject.count }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.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: !0, configurable: !0 }), Object.defineProperty(y.prototype, "dataRelationName", { get: function() { return this._dataRelationName }, set: function(t) { this._dataRelationName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "filterMode", { get: function() { return this._filterMode }, set: function(t) { this._filterMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "filterEngine", { get: function() { return this._filterEngine }, set: function(t) { this._filterEngine = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "filterMethodHandler", { get: function() { return this._filterMethodHandler }, set: function(t) { this._filterMethodHandler = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "filters", { get: function() { return this._filters }, set: function(t) { this._filters = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "filter", { get: function() { return 0 == this.filters.count && this.filters.add(new t.Report.Components.StiFilter), this.filters.getByIndex(0).item = r.StiFilterItem.Expression, this.filters.getByIndex(0).expression }, set: function(e) { 0 == this.filters.count && this.filters.add(new t.Report.Components.StiFilter), this.filters.getByIndex(0).item = r.StiFilterItem.Expression, this.filters.getByIndex(0).expression = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "filterOn", { get: function() { return this._filterOn }, set: function(t) { this._filterOn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "evenStyle", { get: function() { return this.properties.get(y.propertyEvenStyle, "") }, set: function(t) { this.properties.set(y.propertyEvenStyle, t, "") }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "oddStyle", { get: function() { return this.properties.get(y.propertyOddStyle, "") }, set: function(t) { this.properties.set(y.propertyOddStyle, t, "") }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "headerStartColor", { get: function() { return f.fromArgb(239, 155, 52) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "headerEndColor", { get: function() { return f.fromArgb(239, 155, 52) }, enumerable: !0, configurable: !0 }), y.prototype.getHeaderText = function() { var t = this.businessObject; if (null != t) { return this.toString() + "; " + S.get("PropertyMain", "BusinessObject") + ": " + t.getFullName() } var e = this.toString() + "; " + S.get("PropertyMain", "DataSource") + ": "; if (null == this.dataSource) { if (this.countData > 0) return e + this.countData.toString(); return e + S.get("Report", "NotAssigned") } return e + this.dataSource.toString() } , y.prototype.doBookmark = function() { null != this.report && A.prototype.doBookmark.call(this) } , y.prototype.invokeGroupRendering = function() { var t, e; if (null != this.report) try { for (var r = __values(this.dataBandInfo.groupHeaders.list), i = r.next(); !i.done; i = r.next()) { i.value.invokeRendering() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , Object.defineProperty(y.prototype, "dataBandInfo", { get: function() { return null == this._dataBandInfo && (this._dataBandInfo = new r.StiDataBandInfo), this._dataBandInfo }, enumerable: !0, configurable: !0 }), y.prototype.renderAsync = function() { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(t) { return [2, null] }) }) } , y.prototype.render = function() { return null } , y.prototype.renderMasterAsync = function() { return __awaiter(this, void 0, void 0, function() { var e; return __generator(this, function(r) { switch (r.label) { case 0: return e = t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()), [4, e.renderMasterAsync(this)]; case 1: return r.sent(), [2] } }) }) } , y.prototype.renderMaster = function() { t.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()).renderMaster(this) } , Object.defineProperty(y.prototype, "toolboxPosition", { get: function() { return r.StiComponentToolboxPosition.DataBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "toolboxCategory", { get: function() { return r.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "priority", { get: function() { return r.StiComponentPriority.DataBand }, enumerable: !0, configurable: !0 }), y.prototype.getComponentType = function() { if (null == this._masterComponent) return r.StiComponentType.Master; if (null != this._masterComponent) { if (this.page.skip && this._masterComponent.page != this.page) return r.StiComponentType.Master; if (this.parent != this._masterComponent.parent) return r.StiComponentType.Master } return r.StiComponentType.Detail } , y.prototype.onBeginRender = function() {} , y.prototype.invokeBeginRender = function() { this.onBeginRender(); var t = this.events.get(y.eventBeginRender); null != t && t(this, n.empty) } , Object.defineProperty(y.prototype, "beginRenderEvent", { get: function() { return new c(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(y.eventBeginRender, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), y.prototype.onRendering = function() {} , y.prototype.invokeRendering = function() { if (null != this.report) try { this.onRendering(); var t = this.events.get(y.eventRendering); null != t && t(this) } catch (t) {} } , Object.defineProperty(y.prototype, "renderingEvent", { get: function() { return new u(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(y.eventRendering, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), y.prototype.onEndRender = function() {} , y.prototype.invokeEndRender = function() { this.onEndRender(); var t = this.events.get(y.eventEndRender); null != t && t(this) } , Object.defineProperty(y.prototype, "endRenderEvent", { get: function() { return new l(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(y.eventEndRender, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), y.prototype.onGetCollapsed = function(t) {} , y.prototype.invokeGetCollapsed = function(r) { try { this.onGetCollapsed(r), null != this.report && this.report.calculationMode == e.StiCalculationMode.Interpretation && this.collapsed.length > 0 && (r.value = t.Report.Engine.StiParser.StiParser.parseTextValue(this.collapsed, this)); var i = this.events.get(y.eventGetCollapsed); null != i && i(this, r) } catch (r) {} } , Object.defineProperty(y.prototype, "getCollapsedEvent", { get: function() { return new s(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(y.eventGetCollapsed, a.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "collapsed", { get: function() { return this._collapsed }, set: function(t) { null != t && (this._collapsed = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "rightToLeft", { get: function() { return this.getRightToLeft() }, set: function(t) { this.setRightToLeft(t) }, enumerable: !0, configurable: !0 }), y.prototype.getRightToLeft = function() { return this._rightToLeft } , y.prototype.setRightToLeft = function(t) { this._rightToLeft != t && (this._rightToLeft = t) } , y.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(y.prototype, "columnGaps", { get: function() { return this._columnGaps }, set: function(t) { this._columnGaps != t && (this._columnGaps = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "columnWidth", { get: function() { return this._columnWidth }, set: function(t) { this._columnWidth != t && (this._columnWidth = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "columns", { get: function() { return this._columns }, set: function(t) { this._columns != t && (this._columns = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "minRowsInColumn", { get: function() { return this._minRowsInColumn }, set: function(t) { this._minRowsInColumn != t && (this._minRowsInColumn = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "columnDirection", { get: function() { return this._columnDirection }, set: function(t) { this._columnDirection != t && (this._columnDirection = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "lineThrough", { get: function() { return this._lineThrough }, set: function(t) { this._lineThrough = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "line", { get: function() { return this._line }, set: function(t) { this._line = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "selectedLine", { get: function() { return this._selectedLine }, set: function(t) { this._selectedLine = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "resetDataSource", { get: function() { return this._resetDataSource }, set: function(t) { this._resetDataSource = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "calcInvisible", { get: function() { return this._calcInvisible }, set: function(t) { this._calcInvisible = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "countData", { get: function() { return this._countData }, set: function(t) { this._countData != t && (this._countData = t, t > 0 && (this.dataSourceName = "")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "limitRows", { get: function() { return this._limitRows }, set: function(t) { this._limitRows = t }, enumerable: !0, configurable: !0 }), y.prototype.createNew = function() { return new y } , y.propertyEvenStyle = Math.random().toString().substr(2), y.propertyOddStyle = Math.random().toString().substr(2), y.eventBeginRender = {}, y.eventRendering = {}, y.eventEndRender = {}, y.eventGetCollapsed = {}, y }(r.StiDynamicBand); r.StiDataBand = A }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs , n = t.Report.Events.StiEndRenderEvent , o = t.Report.Events.StiRenderingEvent , a = t.Report.Events.StiBeginRenderEvent , s = t.System.Enum , l = t.Base.JsonReportObject.IStiJsonReportObject , u = t.System.Drawing.Color , c = t.System.Drawing.Rectangle , m = function(t) { function m(r) { void 0 === r && (r = c.empty); var i = t.call(this, r) || this; return i._sizeMode = e.StiEmptySizeMode.AlignFooterToTop, i } return __extends(m, t), m.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiOddEvenStyles, l]) } , m.prototype.saveToJsonObject = function(r) { var i = t.prototype.saveToJsonObject.call(this, r); return i.addPropertyStringNullOrEmpty("EvenStyle", this.evenStyle), i.addPropertyStringNullOrEmpty("OddStyle", this.oddStyle), i.addPropertyJObject("BeginRenderEvent", this.beginRenderEvent.saveToJsonObject(r)), i.addPropertyJObject("RenderingEvent", this.renderingEvent.saveToJsonObject(r)), i.addPropertyJObject("EndRenderEvent", this.endRenderEvent.saveToJsonObject(r)), i.addPropertyEnum("SizeMode", e.StiEmptySizeMode, this.sizeMode, e.StiEmptySizeMode.AlignFooterToTop), i } , m.prototype.loadFromJsonObject = function(r) { var i, l; t.prototype.loadFromJsonObject.call(this, r); try { for (var u = __values(r.properties()), c = u.next(); !c.done; c = u.next()) { var m = c.value; switch (m.name) { case "EvenStyle": this.evenStyle = m.value; break; case "OddStyle": this.oddStyle = m.value; break; case "BeginRenderEvent": var p = new a; p.loadFromJsonObject(m.value), this.beginRenderEvent = p; break; case "RenderingEvent": var p = new o; p.loadFromJsonObject(m.value), this.renderingEvent = p; break; case "EndRenderEvent": var p = new n; p.loadFromJsonObject(m.value), this.endRenderEvent = p; break; case "SizeMode": this._sizeMode = s.parse(e.StiEmptySizeMode, m.value); break } } } catch (t) { i = { error: t } } finally { try { c && !c.done && (l = u.return) && l.call(u) } finally { if (i) throw i.error } } } , m.prototype.loadFromXml = function(r, i) { t.prototype.loadFromXml.call(this, r, i); for (var n = 0; n < r.childNodes.length; n++) { var o = r.childNodes[n]; switch (o.nodeName) { case "EvenStyle": this.evenStyle = o.textContent; break; case "OddStyle": this.oddStyle = o.textContent; break; case "BeginRenderEvent": break; case "RenderingEvent": break; case "EndRenderEvent": break; case "SizeMode": this._sizeMode = s.parse(e.StiEmptySizeMode, o.textContent); break } } } , m.prototype.getHeaderText = function() { return this.toString() } , Object.defineProperty(m.prototype, "headerStartColor", { get: function() { return u.fromArgb(186, 235, 137) }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "headerEndColor", { get: function() { return u.fromArgb(186, 235, 137) }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.EmptyBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "priority", { get: function() { return e.StiComponentPriority.EmptyBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "evenStyle", { get: function() { return this.properties.get(e.StiDataBand.propertyEvenStyle, "") }, set: function(t) { this.properties.set(e.StiDataBand.propertyEvenStyle, t, "") }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "oddStyle", { get: function() { return this.properties.get(e.StiDataBand.propertyOddStyle, "") }, set: function(t) { this.properties.set(e.StiDataBand.propertyOddStyle, t, "") }, enumerable: !0, configurable: !0 }), m.prototype.onBeginRender = function(t) {} , m.prototype.invokeBeginRender = function() { this.onBeginRender(i.empty); var t = this.events.get(m.eventBeginRender); null != t && t(this, i.empty) } , Object.defineProperty(m.prototype, "beginRenderEvent", { get: function() { return new a(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(m.eventBeginRender, r.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), m.prototype.onRendering = function(t) {} , m.prototype.invokeRendering = function() { this.onRendering(i.empty); var t = this.events.get(m.eventRendering); null != t && t(this, i.empty) } , Object.defineProperty(m.prototype, "renderingEvent", { get: function() { return new o(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(m.eventRendering, r.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), m.prototype.onEndRender = function(t) {} , m.prototype.invokeEndRender = function() { this.onEndRender(i.empty); var t = this.events.get(m.eventEndRender); null != t && t(this, i.empty) } , Object.defineProperty(m.prototype, "endRenderEvent", { get: function() { return new n(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(m.eventEndRender, r.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), m.prototype.createNew = function() { return new m } , Object.defineProperty(m.prototype, "sizeMode", { get: function() { return this._sizeMode }, set: function(t) { this._sizeMode = t }, enumerable: !0, configurable: !0 }), m.eventBeginRender = {}, m.eventRendering = {}, m.eventEndRender = {}, m }(e.StiBand); e.StiEmptyBand = m }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.System.Drawing.Color , n = t.System.Drawing.Rectangle , o = function(t) { function o(e) { void 0 === e && (e = n.empty); var r = t.call(this, e) || this; return r._keepGroupFooterTogether = !0, r } return __extends(o, t), o.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiKeepGroupFooterTogether, r]) } , o.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyBool("KeepGroupFooterTogether", this.keepGroupFooterTogether, !0), r } , o.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "KeepGroupFooterTogether": this._keepGroupFooterTogether = a.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "KeepGroupFooterTogether": this._keepGroupFooterTogether = n.textContent.stimulsoft.toBoolean(); break } } } , o.prototype.clone = function(e, r) { var i = t.prototype.clone.call(this, e, r); return i._groupFooterBandInfo = this.groupFooterBandInfo.clone(), i } , Object.defineProperty(o.prototype, "keepGroupFooterTogether", { get: function() { return this._keepGroupFooterTogether }, set: function(t) { this._keepGroupFooterTogether != t && (this._keepGroupFooterTogether = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "groupFooterBandInfo", { get: function() { return null == this._groupFooterBandInfo && (this._groupFooterBandInfo = new e.StiGroupFooterBandInfo), this._groupFooterBandInfo }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "line", { get: function() { if (null != this.groupFooterBandInfo.groupHeader) return this.groupFooterBandInfo.groupHeader.line; return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "headerStartColor", { get: function() { return i.fromArgb(239, 155, 52) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "headerEndColor", { get: function() { return i.fromArgb(239, 155, 52) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.GroupFooterBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), o.prototype.getComponentType = function() { return e.StiComponentType.Detail } , Object.defineProperty(o.prototype, "priority", { get: function() { return e.StiComponentPriority.GroupFooterBand }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(e.StiDynamicBand); e.StiGroupFooterBand = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetSummaryExpression" } , e }(t.StiEvent); t.StiGetSummaryExpressionEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetValue" } , e }(t.StiEvent); t.StiGetGroupConditionEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.EventHandler , o = t.Report.Events.StiValueEventHandler , a = t.Report.Events.StiGetSummaryExpressionEvent , s = t.Report.Events.StiGetGroupConditionEvent , l = t.Report.Events.StiGetCollapsedEvent , u = t.Report.Events.StiBeginRenderEvent , c = t.Report.Events.StiRenderingEvent , m = t.Report.Events.StiEndRenderEvent , p = t.Base.StiJsonSaveMode , h = t.System.Enum , d = t.Base.JsonReportObject.IStiJsonReportObject , g = t.System.Drawing.Color , f = t.System.Drawing.Rectangle , S = t.Base.Localization.StiLocalization , A = t.Report.Expressions.StiExpression , y = function(y) { function w(t) { void 0 === t && (t = f.empty); var e = y.call(this, t) || this; return e._keepGroupHeaderTogether = !0, e._keepGroupTogether = !1, e._startNewPage = !1, e._sortDirection = r.StiGroupSortDirection.Ascending, e._summarySortDirection = r.StiGroupSortDirection.None, e._summaryType = r.StiGroupSummaryType.Sum, e._printOnAllPages = !1, e._line = 0, e._condition = "", e._summaryExpression = "", e._collapsed = "", e } return __extends(w, y), w.prototype.implements = function() { return y.prototype.implements.call(this).concat([r.IStiGroup, r.IStiPrintOnAllPages, r.IStiKeepGroupTogether, d]) } , w.prototype.saveToJsonObject = function(t) { var e = y.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", r.StiGroupSortDirection, this.sortDirection, r.StiGroupSortDirection.Ascending), e.addPropertyEnum("SummarySortDirection", r.StiGroupSortDirection, this.summarySortDirection, r.StiGroupSortDirection.None), e.addPropertyEnum("SummaryType", r.StiGroupSummaryType, this.summaryType, r.StiGroupSummaryType.Sum), e.addPropertyBool("PrintOnAllPages", this.printOnAllPages), e.addPropertyJObject("Condition", new A(this.condition).saveToJsonObject(t)), e.addPropertyJObject("SummaryExpression", new A(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 == p.Report && e.addPropertyJObject("Collapsed", new A(this.collapsed).saveToJsonObject(t)), e } , w.prototype.loadFromJsonObject = function(t) { var e, i; y.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var p = o.value; switch (p.name) { case "KeepGroupHeaderTogether": this._keepGroupHeaderTogether = p.value.stimulsoft.toBoolean(); break; case "KeepGroupTogether": this._keepGroupTogether = p.value.stimulsoft.toBoolean(); break; case "StartNewPage": this._startNewPage = p.value.stimulsoft.toBoolean(); break; case "StartNewPageIfLessThan": this.startNewPageIfLessThan = p.value.stimulsoft.toNumber(); break; case "SortDirection": this._sortDirection = h.parse(r.StiGroupSortDirection, p.value); break; case "SummarySortDirection": this._summarySortDirection = h.parse(r.StiGroupSortDirection, p.value); break; case "SummaryType": this._summaryType = h.parse(r.StiGroupSummaryType, p.value); break; case "PrintOnAllPages": this._printOnAllPages = p.value.stimulsoft.toBoolean(); break; case "Condition": var d = new A; d.loadFromJsonObject(p.value), this.condition = d.value; break; case "SummaryExpression": var g = new A; g.loadFromJsonObject(p.value), this.summaryExpression = g.value; break; case "Collapsed": var f = new A; f.loadFromJsonObject(p.value), this.collapsed = f.value; break; case "GetSummaryExpressionEvent": var S = new a; S.loadFromJsonObject(p.value), this.getSummaryExpressionEvent = S; break; case "GetValueEvent": var S = new s; S.loadFromJsonObject(p.value), this.getValueEvent = S; break; case "GetCollapsedEvent": var S = new l; S.loadFromJsonObject(p.value), this.getCollapsedEvent = S; break; case "BeginRenderEvent": var S = new u; S.loadFromJsonObject(p.value), this.beginRenderEvent = S; break; case "RenderingEvent": var S = new c; S.loadFromJsonObject(p.value), this.renderingEvent = S; break; case "EndRenderEvent": var S = new m; S.loadFromJsonObject(p.value), this.endRenderEvent = S; break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , w.prototype.loadFromXml = function(t, e) { y.prototype.loadFromXml.call(this, t, e); for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[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 = h.parse(r.StiGroupSortDirection, n.textContent); break; case "SummarySortDirection": this._summarySortDirection = h.parse(r.StiGroupSortDirection, n.textContent); break; case "SummaryType": this._summaryType = h.parse(r.StiGroupSummaryType, n.textContent); break; case "PrintOnAllPages": this._printOnAllPages = n.textContent.stimulsoft.toBoolean(); break; case "Condition": var o = new A; o.loadFromXml(n), this.condition = o.value; break; case "SummaryExpression": var p = new A; p.loadFromXml(n), this.summaryExpression = p.value; break; case "Collapsed": var d = new A; d.loadFromXml(n), this.collapsed = d.value; break; case "GetSummaryExpressionEvent": var g = new a; g.script = n.textContent, this.getSummaryExpressionEvent = g; break; case "GetValueEvent": var g = new s; g.script = n.textContent, this.getValueEvent = g; break; case "GetCollapsedEvent": var g = new l; g.script = n.textContent, this.getCollapsedEvent = g; break; case "BeginRenderEvent": var g = new u; g.script = n.textContent, this.beginRenderEvent = g; break; case "RenderingEvent": var g = new c; g.script = n.textContent, this.renderingEvent = g; break; case "EndRenderEvent": var g = new m; g.script = n.textContent, this.endRenderEvent = g; break } } } , w.prototype.clone = function(t, e) { var r = y.prototype.clone.call(this, t, e); return r._groupHeaderBandInfo = this.groupHeaderBandInfo.clone(), r } , Object.defineProperty(w.prototype, "keepGroupHeaderTogether", { get: function() { return this._keepGroupHeaderTogether }, set: function(t) { this._keepGroupHeaderTogether != t && (this._keepGroupHeaderTogether = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "keepGroupTogether", { get: function() { return this._keepGroupTogether }, set: function(t) { this._keepGroupTogether != t && (this._keepGroupTogether = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "startNewPage", { get: function() { return this._startNewPage }, set: function(t) { this._startNewPage = t }, enumerable: !0, 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: !0, configurable: !0 }), w.prototype.saveState = function(t) { y.prototype.saveState.call(this, t), y.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")), y.prototype.restoreState.call(this, t) } , Object.defineProperty(w.prototype, "headerStartColor", { get: function() { return g.fromArgb(239, 155, 52) }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "headerEndColor", { get: function() { return g.fromArgb(239, 155, 52) }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "sortDirection", { get: function() { return this._sortDirection }, set: function(t) { this._sortDirection = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "summarySortDirection", { get: function() { return this._summarySortDirection }, set: function(t) { this._summarySortDirection = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "summaryType", { get: function() { return this._summaryType }, set: function(t) { this._summaryType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "printOnAllPages", { get: function() { return this._printOnAllPages }, set: function(t) { this._printOnAllPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "groupHeaderBandInfo", { get: function() { return null == this._groupHeaderBandInfo && (this._groupHeaderBandInfo = new r.StiGroupHeaderBandInfo), this._groupHeaderBandInfo }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "toolboxPosition", { get: function() { return r.StiComponentToolboxPosition.GroupHeaderBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "toolboxCategory", { get: function() { return r.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), w.prototype.getComponentType = function() { return r.StiComponentType.Detail } , Object.defineProperty(w.prototype, "priority", { get: function() { return r.StiComponentPriority.GroupHeaderBand }, enumerable: !0, configurable: !0 }), w.prototype.getDataBand = function() { if (null == this.parent) return null; for (var t = this.parent.components.indexOf(this) + 1, e = t; e < this.parent.components.count; e++) if (this.parent.components.getByIndex(e).stimulsoft.is(r.StiDataBand)) return this.parent.components.getByIndex(e).stimulsoft.as(r.StiDataBand); return null } , Object.defineProperty(w.prototype, "line", { get: function() { return this._line }, set: function(t) { this._line = t }, enumerable: !0, configurable: !0 }), w.prototype.onGetSummaryExpression = function(t) {} , w.prototype.invokeGetSummaryExpression = function(r) { try { if (this.report.calculationMode == e.StiCalculationMode.Compilation) { this.onGetSummaryExpression(r); var i = this.events.get(w.eventGetSummaryExpression); null != i && i(this, r) } else { this.onGetSummaryExpression(r), r.value = t.Report.Engine.StiParser.StiParser.parseTextValue(this.summaryExpression, this); var i = this.events.get(w.eventGetSummaryExpression); null != i && i(this, r) } } catch (e) { t.System.StiError.showError(e.message, !1) } } , Object.defineProperty(w.prototype, "getSummaryExpressionEvent", { get: function() { return new a(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(w.eventGetSummaryExpression, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), w.prototype.onGetValue = function(t) {} , w.prototype.invokeGetValue = function(r) { try { if (this.report.calculationMode == e.StiCalculationMode.Compilation) { this.onGetValue(r); var i = this.events.get(w.eventGetValue); null != i && i(this, r) } else { this.onGetValue(r), r.value = t.Report.Engine.StiParser.StiParser.parseTextValue(this.condition, this); var i = this.events.get(w.eventGetValue); null != i && i(this, r) } } catch (e) { t.System.StiError.showError(e.message, !1) } } , Object.defineProperty(w.prototype, "getValueEvent", { get: function() { return new s(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(w.eventGetValue, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), w.prototype.onGetCollapsed = function(t) {} , w.prototype.invokeGetCollapsed = function(r) { try { this.onGetCollapsed(r), null != this.report && this.report.calculationMode == e.StiCalculationMode.Interpretation && this.collapsed.length > 0 && (r.value = t.Report.Engine.StiParser.StiParser.parseTextValue(this.collapsed, this)); var i = this.events.get(w.eventGetCollapsed); null != i && i(this, r) } catch (r) {} } , Object.defineProperty(w.prototype, "getCollapsedEvent", { get: function() { return new l(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(w.eventGetCollapsed, o.create(t.script, this.report)) }, enumerable: !0, 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 u(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(w.eventBeginRender, n.create(t.script, this.report)) }, enumerable: !0, 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 c(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(w.eventRendering, n.create(t.script, this.report)) }, enumerable: !0, 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 m(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(w.eventEndRender, n.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "condition", { get: function() { return this._condition }, set: function(t) { null != t && (this._condition = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "summaryExpression", { get: function() { return this._summaryExpression }, set: function(t) { null != t && (this._summaryExpression = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "collapsed", { get: function() { return this._collapsed }, set: function(t) { null != t && (this._collapsed = t) }, enumerable: !0, configurable: !0 }), w.prototype.getHeaderText = function() { var t = null; return (t = i.isNullOrEmpty(this.alias) ? this.name : StiOptions.Dictionary.showOnlyAliasForComponents ? this.alias : this.name + " [" + this.alias + "]") + "; " + S.get("PropertyMain", "Condition") + ": " + this.condition } , w.prototype.createNew = function() { return new w } , w.prototype.getCurrentConditionValue = function() { return t.Report.Engine.StiGroupHeaderBandBuilder.getCurrentConditionValue(this) } , w.eventGetSummaryExpression = {}, w.eventGetValue = {}, w.eventGetCollapsed = {}, w.eventBeginRender = {}, w.eventRendering = {}, w.eventEndRender = {}, w }(r.StiDynamicBand); r.StiGroupHeaderBand = y }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.System.Drawing.Color , n = t.System.Drawing.Rectangle , o = function(t) { function o(e) { void 0 === e && (e = n.empty); var r = t.call(this, e) || this; return r._keyDataColumn = "", r._masterKeyDataColumn = "", r._parentValue = "", r._indent = 20, r._headers = "", r._footers = "", r } return __extends(o, t), o.prototype.implements = function() { return t.prototype.implements.call(this).concat([r]) } , o.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyStringNullOrEmpty("KeyDataColumn", this.keyDataColumn), r.addPropertyStringNullOrEmpty("MasterKeyDataColumn", this.masterKeyDataColumn), r.addPropertyStringNullOrEmpty("ParentValue", this.parentValue), r.addPropertyNumber("Indent", this.indent, 20), r.addPropertyStringNullOrEmpty("Headers", this.headers), r.addPropertyStringNullOrEmpty("Footers", this.footers), r } , o.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "KeyDataColumn": this._keyDataColumn = a.value; break; case "MasterKeyDataColumn": this._masterKeyDataColumn = a.value; break; case "ParentValue": this._parentValue = a.value; break; case "Indent": this._indent = a.value.stimulsoft.toNumber(); break; case "Headers": this._headers = a.value; break; case "Footers": this._footers = a.value; break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; 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(o.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.HierarchicalBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "headerStartColor", { get: function() { return i.fromArgb(118, 167, 151) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "headerEndColor", { get: function() { return i.fromArgb(118, 167, 151) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "keyDataColumn", { get: function() { return this._keyDataColumn }, set: function(t) { this._keyDataColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "masterKeyDataColumn", { get: function() { return this._masterKeyDataColumn }, set: function(t) { this._masterKeyDataColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "parentValue", { get: function() { return this._parentValue }, set: function(t) { this._parentValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "indent", { get: function() { return this._indent }, set: function(t) { this._indent = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "headers", { get: function() { return this._headers }, set: function(t) { this._headers = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "footers", { get: function() { return this._footers }, set: function(t) { this._footers = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "hierarchicalBandInfo", { get: function() { return null == this._hierarchicalBandInfo && (this._hierarchicalBandInfo = new e.StiHierarchicalBandInfo), this._hierarchicalBandInfo }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(e.StiDataBand); e.StiHierarchicalBand = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.System.Drawing.Rectangle , n = function(t) { function n(e) { return void 0 === e && (e = i.empty), t.call(this, e) || this } return __extends(n, t), n.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiBreakable, r]) } , n.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("CanBreak"), r } , n.prototype.loadFromJsonObject = function(e) { t.prototype.loadFromJsonObject.call(this, e) } , n.prototype.getComponentType = function() { return e.StiComponentType.Static } , n }(e.StiBand); e.StiStaticBand = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Drawing.StiVertAlignment , i = t.System.Enum , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.System.Drawing.Color , a = t.System.Drawing.Rectangle , s = function(t) { function s(e) { void 0 === e && (e = a.empty); var i = t.call(this, e) || this; return i._vertAlignment = r.Center, i } return __extends(s, t), s.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiVertAlignment, n]) } , s.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.removeProperty("CanBreak"), i.removeProperty("Bookmark"), i.removeProperty("Hyperlink"), i.addPropertyEnum("VertAlignment", r, this.vertAlignment, r.Center), i } , s.prototype.loadFromJsonObject = function(e) { var n, o; t.prototype.loadFromJsonObject.call(this, e); try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "VertAlignment": this._vertAlignment = i.parse(r, l.value); break } } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , s.prototype.loadFromXml = function(e, n) { t.prototype.loadFromXml.call(this, e, n); for (var o = 0; o < e.childNodes.length; o++) { var a = e.childNodes[o]; switch (a.nodeName) { case "VertAlignment": this._vertAlignment = i.parse(r, a.textContent); break } } } , Object.defineProperty(s.prototype, "vertAlignment", { get: function() { return this._vertAlignment }, set: function(t) { this._vertAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "headerStartColor", { get: function() { return o.fromArgb(131, 124, 174) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "headerEndColor", { get: function() { return o.fromArgb(131, 124, 174) }, enumerable: !0, configurable: !0 }), s.prototype.getComponentType = function() { return null != this.report ? e.StiComponentType.Static : e.StiComponentType.Detail } , Object.defineProperty(s.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.OverlayBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "priority", { get: function() { return e.StiComponentPriority.OverlayBand }, enumerable: !0, configurable: !0 }), s.prototype.createNew = function() { return new s } , s }(e.StiStaticBand); e.StiOverlayBand = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = t.System.Enum , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.System.Drawing.Color , a = function(t) { function a(i) { void 0 === i && (i = r.empty); var n = t.call(this, i) || this; return n._printOnEvenOddPages = e.StiPrintOnEvenOddPagesType.Ignore, StiOptions.Engine.dockPageFooterToBottom && (n.dockStyle = e.StiDockStyle.Bottom), n } return __extends(a, t), a.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiPrintOnEvenOddPages, n]) } , a.prototype.saveToJsonObject = function(r) { var i = t.prototype.saveToJsonObject.call(this, r); return i.addPropertyEnum("PrintOnEvenOddPages", e.StiPrintOnEvenOddPagesType, this.printOnEvenOddPages, e.StiPrintOnEvenOddPagesType.Ignore), i } , a.prototype.loadFromJsonObject = function(r) { var n, o; t.prototype.loadFromJsonObject.call(this, r); try { for (var a = __values(r.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "PrintOnEvenOddPages": this._printOnEvenOddPages = i.parse(e.StiPrintOnEvenOddPagesType, l.value); break } } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , a.prototype.loadFromXml = function(r, n) { t.prototype.loadFromXml.call(this, r, n); for (var o = 0; o < r.childNodes.length; o++) { var a = r.childNodes[o]; switch (a.nodeName) { case "PrintOnEvenOddPages": this._printOnEvenOddPages = i.parse(e.StiPrintOnEvenOddPagesType, a.textContent); break } } } , Object.defineProperty(a.prototype, "printOnEvenOddPages", { get: function() { return this._printOnEvenOddPages }, set: function(t) { this._printOnEvenOddPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "headerStartColor", { get: function() { return o.fromArgb(206, 207, 206) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "headerEndColor", { get: function() { return o.fromArgb(206, 207, 206) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.PageFooterBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "priority", { get: function() { if (StiOptions.Engine.dockPageFooterToBottom) return e.StiComponentPriority.PageFooterBandBottom; return e.StiComponentPriority.PageFooterBandTop }, enumerable: !0, configurable: !0 }), a.prototype.canContainIn = function(t) { if (t.stimulsoft.is(e.StiPage)) return !0; return !1 } , a.prototype.getComponentType = function() { if (null != this.report) return t.prototype.getComponentType.call(this); return e.StiComponentType.Simple } , a.prototype.getDisplayRectangle = function() { if (StiOptions.Engine.dockPageFooterToBottom) { var e = this.page.unit.convertFromHInches(this.headerSize) , i = this.page.unit.convertFromHInches(this.footerSize); return new r(this.left,this.top - e - i,this.width,this.height + e + i) } return t.prototype.getDisplayRectangle.call(this) } , a.prototype.setDisplayRectangle = function(e) { if (StiOptions.Engine.dockPageFooterToBottom) { var r = this.page.unit.convertFromHInches(this.headerSize) , i = this.page.unit.convertFromHInches(this.footerSize); return this.left = e.left, this.top = e.top + r + i, this.width = e.width, void (this.height = e.height - r - i) } t.prototype.setDisplayRectangle.call(this, e) } , a.prototype.createNew = function() { return new a } , a.prototype.getMaster = function() { var t, r; try { for (var i = __values(this.parent.components.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.stimulsoft.is(e.StiDataBand) && !o.stimulsoft.is(e.StiEmptyBand)) return o } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return null } , a }(e.StiStaticBand); e.StiPageFooterBand = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Enum , i = t.Base.JsonReportObject.IStiJsonReportObject , n = t.System.Drawing.Color , o = t.System.Drawing.Rectangle , a = function(t) { function a(r) { void 0 === r && (r = o.empty); var i = t.call(this, r) || this; return i._printOnEvenOddPages = e.StiPrintOnEvenOddPagesType.Ignore, i } return __extends(a, t), a.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiBreakable, e.IStiPrintOnEvenOddPages, i]) } , a.prototype.saveToJsonObject = function(r) { var i = t.prototype.saveToJsonObject.call(this, r); return i.removeProperty("CanBreak"), i.addPropertyEnum("PrintOnEvenOddPages", e.StiPrintOnEvenOddPagesType, this.printOnEvenOddPages, e.StiPrintOnEvenOddPagesType.Ignore), i } , a.prototype.loadFromJsonObject = function(i) { var n, o; t.prototype.loadFromJsonObject.call(this, i); try { for (var a = __values(i.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "PrintOnEvenOddPages": this._printOnEvenOddPages = r.parse(e.StiPrintOnEvenOddPagesType, l.value); break } } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , a.prototype.loadFromXml = function(i, n) { t.prototype.loadFromXml.call(this, i, n); for (var o = 0; o < i.childNodes.length; o++) { var a = i.childNodes[o]; switch (a.nodeName) { case "PrintOnEvenOddPages": this._printOnEvenOddPages = r.parse(e.StiPrintOnEvenOddPagesType, a.textContent); break } } } , Object.defineProperty(a.prototype, "headerStartColor", { get: function() { return n.fromArgb(206, 207, 206) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "headerEndColor", { get: function() { return n.fromArgb(206, 207, 206) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.PageHeaderBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "priority", { get: function() { return this.page.titleBeforeHeader ? e.StiComponentPriority.PageHeaderBandBefore : e.StiComponentPriority.PageHeaderBandAfter }, enumerable: !0, configurable: !0 }), a.prototype.canContainIn = function(t) { if (t.stimulsoft.is(e.StiPage)) return !0; return !1 } , a.prototype.getComponentType = function() { if (null != this.report) return t.prototype.getComponentType.call(this); return e.StiComponentType.Simple } , Object.defineProperty(a.prototype, "printOnEvenOddPages", { get: function() { return this._printOnEvenOddPages }, set: function(t) { this._printOnEvenOddPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "printOnFirstPage", { get: function() { return 0 == (this.printOn & e.StiPrintOnType.ExceptFirstPage) }, set: function(t) { t ? (this.printOn & e.StiPrintOnType.ExceptFirstPage) > 0 && (this.printOn -= e.StiPrintOnType.ExceptFirstPage) : this.printOn |= e.StiPrintOnType.ExceptFirstPage }, enumerable: !0, configurable: !0 }), a.prototype.getMaster = function() { var t, r; try { for (var i = __values(this.parent.components.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.stimulsoft.is(e.StiDataBand) && !o.stimulsoft.is(e.StiEmptyBand)) return o } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return null } , a.prototype.createNew = function() { return new a } , a }(e.StiStaticBand); e.StiPageHeaderBand = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = t.Base.JsonReportObject.IStiJsonReportObject , n = t.System.Drawing.Color , o = function(t) { function o(i) { void 0 === i && (i = r.empty); var n = t.call(this, i) || this; return n._keepReportSummaryTogether = !0, n._printIfEmpty = !0, n.dockStyle = e.StiDockStyle.Top, n } return __extends(o, t), o.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiPrintIfEmpty, e.IStiKeepReportSummaryTogether, i]) } , o.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("PrintOn"), r.addPropertyBool("KeepReportSummaryTogether", this.keepReportSummaryTogether, !0), r.addPropertyBool("PrintIfEmpty", this.printIfEmpty, !0), r } , o.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "KeepReportSummaryTogether": this._keepReportSummaryTogether = a.value.stimulsoft.toBoolean(); break; case "PrintIfEmpty": this._printIfEmpty = a.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "KeepReportSummaryTogether": this._keepReportSummaryTogether = n.textContent.stimulsoft.toBoolean(); break; case "PrintIfEmpty": this._printIfEmpty = n.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(o.prototype, "keepReportSummaryTogether", { get: function() { return this._keepReportSummaryTogether }, set: function(t) { this._keepReportSummaryTogether != t && (this._keepReportSummaryTogether = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "printIfEmpty", { get: function() { return this._printIfEmpty }, set: function(t) { this._printIfEmpty = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "headerStartColor", { get: function() { return n.fromArgb(159, 213, 183) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "headerEndColor", { get: function() { return n.fromArgb(159, 213, 183) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.ReportSummaryBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), o.prototype.canContainIn = function(t) { if (t.stimulsoft.is(e.StiPage)) return !0; return !1 } , Object.defineProperty(o.prototype, "priority", { get: function() { return e.StiComponentPriority.ReportSummaryBand }, enumerable: !0, configurable: !0 }), o.prototype.getComponentType = function() { if (null != this.report) return t.prototype.getComponentType.call(this); return e.StiComponentType.Master } , o.prototype.createNew = function() { return new o } , o.prototype.getMaster = function() { var t, r; try { for (var i = __values(this.parent.components.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.stimulsoft.is(e.StiDataBand)) return o } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return null } , o }(e.StiDynamicBand); e.StiReportSummaryBand = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.System.Drawing.Color , n = t.System.Drawing.Rectangle , o = function(t) { function o(e) { void 0 === e && (e = n.empty); var r = t.call(this, e) || this; return r._printIfEmpty = !0, r } return __extends(o, t), o.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiBreakable, e.IStiPrintIfEmpty, r]) } , o.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("PrintOn"), r.removeProperty("CanBreak"), r.addPropertyBool("PrintIfEmpty", this.printIfEmpty, !0), r } , o.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "PrintIfEmpty": this._printIfEmpty = a.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "PrintIfEmpty": this._printIfEmpty = n.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(o.prototype, "printIfEmpty", { get: function() { return this._printIfEmpty }, set: function(t) { this._printIfEmpty = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "headerStartColor", { get: function() { return i.fromArgb(159, 213, 183) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "headerEndColor", { get: function() { return i.fromArgb(159, 213, 183) }, enumerable: !0, configurable: !0 }), o.prototype.getComponentType = function() { if (null != this.report) return this.page.titleBeforeHeader ? e.StiComponentType.Static : e.StiComponentType.Master; return e.StiComponentType.Simple } , Object.defineProperty(o.prototype, "toolboxPosition", { get: function() { return e.StiComponentToolboxPosition.ReportTitleBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "toolboxCategory", { get: function() { return e.StiToolboxCategory.Bands }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "priority", { get: function() { return this.page.titleBeforeHeader ? e.StiComponentPriority.ReportTitleBandBefore : e.StiComponentPriority.ReportTitleBandAfterV2 }, enumerable: !0, configurable: !0 }), o.prototype.canContainIn = function(t) { if (t.stimulsoft.is(e.StiPage)) return !0; return !1 } , o.prototype.createNew = function() { return new o } , o.prototype.getMaster = function() { var t, r; try { for (var i = __values(this.parent.components.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.stimulsoft.is(e.StiDataBand) && !o.stimulsoft.is(e.StiEmptyBand)) return o } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return null } , o }(e.StiStaticBand); e.StiReportTitleBand = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Drawing.Rectangle , o = function(t) { function o(e, i) { void 0 === e && (e = n.empty), void 0 === i && (i = !1); var o = t.call(this, e, !0) || this; return o._container = new r.StiContainer, o._components2 = new r.StiComponentsCollection(o), i || o.construct(e), o } return __extends(o, t), o.prototype.implements = function() { return o.ImplementsStiClone || (o.ImplementsStiClone = t.prototype.implements.call(this).concat([r.IStiClone])), o.ImplementsStiClone } , o.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("CanShrink"), r.removeProperty("CanGrow"), r.removeProperty("Conditions"), r.removeProperty("GrowToHeight"), r.removeProperty("Components"), null != this.container && r.addPropertyStringNullOrEmpty("Container", this.container.name), r } , o.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Container": this.jsonContainerValueTemp = a.value.toString(), this.report.jsonLoaderHelper && this.report.jsonLoaderHelper.clones.add(this); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); var n = e.getAttribute("Ref"); !i.isNullOrEmpty(n) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[n.stimulsoft.toNumber()] = e.nodeName); for (var o = 0; o < e.childNodes.length; o++) { var a = e.childNodes[o]; switch (a.nodeName) { case "Container": this.jsonContainerValueTemp = a.getAttribute("isRef"), this.report.jsonLoaderHelper && this.report.jsonLoaderHelper.clones.add(this); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return e.StiComponentId.StiClone }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "canShrink", { get: function() { return t.prototype.getCanShrink.call(this) }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "canGrow", { get: function() { return t.prototype.getCanGrow.call(this) }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "container", { get: function() { return this._container }, set: function(t) { this._container = t }, enumerable: !0, configurable: !0 }), o.prototype.clone = function(e, i) { void 0 === e && (e = !0), void 0 === i && (i = !0); var n = t.prototype.clone.call(this, e); return n.components = new r.StiComponentsCollection(n), n } , Object.defineProperty(o.prototype, "toolboxPosition", { get: function() { return r.StiComponentToolboxPosition.Clone }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "toolboxCategory", { get: function() { return r.StiToolboxCategory.Components }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "componentType", { get: function() { return r.StiComponentType.Simple }, enumerable: !0, configurable: !0 }), o.prototype.canContainIn = function(t) { if (t.stimulsoft.is(o)) return !1; if (t.stimulsoft.is(r.StiContainer)) return !0; return !1 } , Object.defineProperty(o.prototype, "components", { get: function() { return null == this.container || this.isDesigning ? this._components2 : this.container.components }, set: function(t) {}, enumerable: !0, configurable: !0 }), o.prototype.construct = function(e) { void 0 === e && (e = n.empty), t.prototype.construct.call(this, e) } , o }(r.StiContainer); r.StiClone = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.Base.Drawing.StiHorAlignment , n = t.Base.Drawing.StiTextHorAlignment , o = t.System.Drawing.Size , a = function() { function t() {} return t.checkSize = function(a) { var s, l, u, c, m, p, h = a; if (null == h) return; var d = null; if (StiOptions.Engine.allowCacheForGetActualSize) { var g = a.report; if (null == g && null != h.containerInfo && null != h.containerInfo.parentBand && (g = h.containerInfo.parentBand.report), null == g && null != h.parent && null != h.parent.containerInfo && null != h.parent.containerInfo.parentBand && (g = h.parent.containerInfo.parentBand.report), null != g && null != g.engine) { if (null == g.engine.hashCheckSize && (g.engine.hashCheckSize = new r), g.engine.hashCheckSize.containsKey(a)) return; d = g.engine.hashCheckSize } } var f = new r , S = new r , A = !1; try { for (var y = __values(h.components.list), w = y.next(); !w.done; w = y.next()) { var b = w.value; if (b.isEnabled) { var v = void 0; if (b.stimulsoft.is(e.StiContainer)) { var C = b.height; StiOptions.Engine.useCheckSizeForContinuedContainers && t.checkSize(b); var E = !1 , B = { ref: E }; if (v = b.getActualSize(!0, B), E = B.ref) { var T = b.height; b.height = v.height, B = { ref: E }, v = b.getActualSize(!1, E), E = B.ref, b.height = T } StiOptions.Engine.useCheckSizeForContinuedContainers && (b.height = C) } else v = b.getActualSize(); b.stimulsoft.is(e.StiHorizontalLinePrimitive) || (v.height = Math.round2(v.height, 2)), v.width = Math.round2(v.width, 2), S.set(b, v), v.height != b.height && (A = !0) } else S.set(b, new o(0,0)) } } catch (t) { s = { error: t } } finally { try { w && !w.done && (l = y.return) && l.call(y) } finally { if (s) throw s.error } } if (A) { var I = new e.StiComponentsCollection; I.addRange(h.components), I.sortByTopPosition(); var x = 0; try { for (var F = __values(I.list), D = F.next(); !D.done; D = F.next()) { var b = D.value , R = S.get(b).height - b.height , P = Math.round2(b.left, 2) , N = Math.round2(b.right, 2) , k = Math.round2(b.bottom, 2); if (0 != R) { var M = 0; null != f.get(b) && (M = f.get(b)); for (var O = x + 1; O < I.count; O++) { var _ = I.getByIndex(O) , L = Math.round2(_.left, 2) , j = Math.round2(_.top, 2); if (0 != (_.shiftMode & e.StiShiftMode.OnlyInWidthOfComponent) && (P > L || N <= L)) continue; if (k <= j) { var H = 0; null != f.get(_) && (H = f.get(_)), R > 0 && 0 != (_.shiftMode & e.StiShiftMode.IncreasingSize) && f.set(_, Math.max(R + M, H)), R < 0 && 0 != (_.shiftMode & e.StiShiftMode.DecreasingSize) && f.set(_, Math.min(R + M, H)) } } } x++ } } catch (t) { u = { error: t } } finally { try { D && !D.done && (c = F.return) && c.call(F) } finally { if (u) throw u.error } } } try { for (var G = __values(h.components.list), Q = G.next(); !Q.done; Q = G.next()) { var b = Q.value , Y = S.get(b) , U = b.stimulsoft.as(e.IStiAutoWidth); if (null != U && U.autoWidth) { var J = i.Left , W = U.stimulsoft.as(e.IStiTextHorAlignment); if (null != W) switch (W.horAlignment) { case n.Left: J = i.Left; break; case n.Center: case n.Width: J = i.Center; break; case n.Right: J = i.Right; break } var V = U.stimulsoft.as(e.IStiHorAlignment); if (null != V) switch (V.horAlignment) { case i.Left: J = i.Left; break; case i.Center: J = i.Center; break; case i.Right: J = i.Right; break } var z = b.left; switch (J) { case i.Left: b.width = Y.width; break; case i.Center: var X = Y.width; b.left += (b.width - X) / 2, b.width = X; break; case i.Right: var K = Y.width; b.left = b.right - K, b.width = K; break } if (z >= 0 && b.left < 0) { var Z = b.width; b.left = 0, b.width = Z } } if (b.canGrow) { var q = Math.max(Y.width, b.width); b.width != q && (b.width = q), q = Math.max(Y.height, b.height), b.height != q && (b.height = q) } if (b.canShrink && (b.stimulsoft.is(e.StiContainer) && b.parentComponentIsBand || (b.width = Math.min(Y.width, b.width))), b.height = Math.min(Y.height, b.height), this.checkContainerGrowToHeight(b), 0 == (b.shiftMode & e.StiShiftMode.IncreasingSize) && 0 == (b.shiftMode & e.StiShiftMode.DecreasingSize)) continue; null != f.get(b) && (b.top += f.get(b)) } } catch (t) { m = { error: t } } finally { try { Q && !Q.done && (p = G.return) && p.call(G) } finally { if (m) throw m.error } } if (this.componentPlacedOnBand(h) || h.parentComponentIsBand) { var E = !1 , B = { ref: E } , v = h.getActualSize(!0, B); E = B.ref, h.parentComponentIsBand && !h.parentComponentIsCrossBand || (h.width = v.width), h.height = v.height, E && (B = { ref: E }, v = h.getActualSize(!1, B), E = B.ref, h.parentComponentIsBand && !h.parentComponentIsCrossBand || (h.width = v.width), h.height = v.height), this.checkContainerGrowToHeight(h) } if (h.stimulsoft.is(e.StiPage) && h.unlimitedHeight) { var $ = h , E = !1 , B = { ref: E } , v = h.getActualSize(!0, B); E = B.ref; while (v.height > $.height) $.segmentPerHeight++ } null != d && d.set(a, null) } , t.componentPlacedOnBand = function(t) { var r = t.parent; while (1 == 1) { if (null == r) return !1; if (r.stimulsoft.is(e.StiBand)) return !0; if (r.stimulsoft.is(e.StiPage)) return !1; if (r.parentComponentIsBand) return !0; r = r.parent } return !1 } , t.checkContainerGrowToHeight = function(t) { var r, i, n = t.stimulsoft.as(e.StiContainer); if (null != n) try { for (var o = __values(n.components.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; s.growToHeight && s.isEnabled && (s.height = n.height - s.top, this.checkContainerGrowToHeight(s)) } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , t }(); e.StiContainerHelper = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBreakable = "IStiBreakable" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.JsonReportObject.IStiJsonReportObject , n = t.Report.Components.IStiBreakable , o = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e._rightToLeft = !1, e._columnGaps = 0, e._columnWidth = 0, e._columns = 0, e } return __extends(e, t), e.prototype.implements = function() { return e.ImplementsStiPanel || (e.ImplementsStiPanel = t.prototype.implements.call(this).concat([n, i])), e.ImplementsStiPanel } , e.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyBool("RightToLeft", this.rightToLeft), r.addPropertyNumber("ColumnGaps", this.columnGaps, 0), r.addPropertyNumber("ColumnWidth", this.columnWidth, 0), r.addPropertyNumber("Columns", this.columns), r } , e.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "RightToLeft": this._rightToLeft = a.value.stimulsoft.toBoolean(); break; case "ColumnGaps": this._columnGaps = a.value.stimulsoft.toNumber(); break; case "ColumnWidth": this._columnWidth = a.value.stimulsoft.toNumber(); break; case "Columns": this._columns = a.value.stimulsoft.toNumber(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , e.prototype.loadFromXml = function(e, i) { t.prototype.loadFromXml.call(this, e, i); var n = e.getAttribute("Ref"); !r.isNullOrEmpty(n) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[n.stimulsoft.toNumber()] = e.nodeName); for (var o = 0; o < e.childNodes.length; o++) { var a = e.childNodes[o]; switch (a.nodeName) { case "RightToLeft": this._rightToLeft = a.textContent.stimulsoft.toBoolean(); break; case "ColumnGaps": this._columnGaps = a.textContent.stimulsoft.toNumber(); break; case "ColumnWidth": this._columnWidth = a.textContent.stimulsoft.toNumber(); break; case "Columns": this._columns = a.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(e.prototype, "rightToLeft", { get: function() { return this._rightToLeft }, set: function(t) { this._rightToLeft != t && (this._rightToLeft = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "columnGaps", { get: function() { return this._columnGaps }, set: function(t) { this._columnGaps != t && (this._columnGaps = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "columnWidth", { get: function() { return this._columnWidth }, set: function(t) { this.columnWidth != t && (this._columnWidth = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "columns", { get: function() { return this._columns }, set: function(t) { this._columns != t && (this._columns = t) }, enumerable: !0, configurable: !0 }), e.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 } , e }(e.StiContainer); e.StiPanel = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "FillParameters" } , e }(t.StiEvent); t.StiFillParametersEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiGetSubReportEventHandler = new r("sender: any, e: StiGetSubReportEventArgs"); var n = function(t) { function e(e) { var r = t.call(this) || this; return r.subReportName = e, r } return __extends(e, t), e }(i); e.StiGetSubReportEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.Localization.StiLocalization , n = t.System.Drawing.Image , o = function() { function e() {} return e.getBytes = function(e, r) { var i = this.getResource(e, this.getResourceNameFromHyperlink(r)); if (null != i) return i.content; var n = this.getVariable(e, this.getVariableNameFromHyperlink(r)); if (null != n) return n.valueObject; var o = this.getFileNameFromHyperlink(r); if (null != o) try { return t.System.IO.File.getFile(o, !0) } catch (t) {} return t.System.IO.File.getFile(r, !0) } , e.getImage = function(t, e) { var r = this.getResource(t, this.getResourceNameFromHyperlink(e)); if (null != r) return r.getResourceAsImage(); var i = this.getVariable(t, this.getVariableNameFromHyperlink(e)); if (null != i) return i.valueObject; var o = this.getFileNameFromHyperlink(e); if (null != o) try { return n.fromFile(o) } catch (t) {} return n.fromFile(e) } , e.getString = function(e, i) { var n = this.getResource(e, this.getResourceNameFromHyperlink(i)); if (null != n) return r.fromBytesArray(n.content); var o = this.getVariable(e, this.getVariableNameFromHyperlink(i)); if (null != o) return o.valueObject; var a = this.getFileNameFromHyperlink(i); if (null != a) try { return t.System.IO.File.getFile(a) } catch (t) {} return t.System.IO.File.getFile(i) } , e.getResource = function(t, e) { if (null == t || r.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 }) } , e.getVariable = function(t, e) { if (null == t || r.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 }) } , e.getServerNameFromHyperlink = function(t) { if (!this.isServerHyperlink(t)) return null; return t.stimulsoft.remove(0, this.serverIdent.length) } , e.getResourceNameFromHyperlink = function(t) { if (!this.isResourceHyperlink(t)) return null; return t.stimulsoft.remove(0, this.resourceIdent.length) } , e.getVariableNameFromHyperlink = function(t) { if (!this.isVariableHyperlink(t)) return null; return t.stimulsoft.remove(0, this.variableIdent.length) } , e.getFileNameFromHyperlink = function(t) { if (!this.isFileHyperlink(t)) return null; return t.stimulsoft.remove(0, this.fileIdent.length) } , e.isServerHyperlink = function(t) { return !r.isNullOrWhiteSpace(t) && t.toLowerCase().stimulsoft.startsWith(this.serverIdent) } , e.isResourceHyperlink = function(t) { return !r.isNullOrWhiteSpace(t) && t.toLowerCase().stimulsoft.startsWith(this.resourceIdent) } , e.isVariableHyperlink = function(t) { return !r.isNullOrWhiteSpace(t) && t.toLowerCase().stimulsoft.startsWith(this.variableIdent) } , e.isFileHyperlink = function(t) { return !r.isNullOrWhiteSpace(t) && t.toLowerCase().stimulsoft.startsWith(this.fileIdent) } , e.createResourceName = function(t) { return r.format("{0}{1}", this.resourceIdent, t) } , e.createVariableName = function(t) { return r.format("{0}{1}", this.variableIdent, t) } , e.createFileName = function(t) { return r.format("{0}{1}", this.fileIdent, t) } , e.hyperlinkToString = function(t) { if (this.isResourceHyperlink(t)) return r.format("{0}: {1}", i.get("PropertyMain", "Resource"), this.getResourceNameFromHyperlink(t)); if (this.isVariableHyperlink(t)) return r.format("{0}: {1}", i.get("PropertyMain", "Variable"), this.getVariableNameFromHyperlink(t)); if (this.isServerHyperlink(t)) return r.format("Server: {0}", this.getVariableNameFromHyperlink(t)); if (this.isFileHyperlink(t)) return r.format("{0}: {1}", i.get("PropertyMain", "File"), this.getFileNameFromHyperlink(t)); return r.format("{0}: {1}", i.get("PropertyMain", "Hyperlink"), t) } , e.serverIdent = "stimulsoft-server://", e.resourceIdent = "resource://", e.variableIdent = "variable://", e.fileIdent = "file://", e }(); e.StiHyperlinkProcessor = o }(r = e.Helpers || (e.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Events.StiFillParametersEventHandler , o = t.Report.Events.StiGetSubReportEventArgs , a = t.Report.Events.StiFillParametersEvent , s = t.Base.StiJsonSaveMode , l = t.Base.StiGuidUtils , u = t.Report.Expressions.StiExpression , c = t.Report.Helpers.StiHyperlinkProcessor , m = function(m) { function p() { var t = null !== m && m.apply(this, arguments) || this; return t._keepSubReportTogether = !1, t._subReportPageGuid = null, t._subReportUrl = null, t._parameters = new r.StiParametersCollection, t } return __extends(p, m), p.prototype.saveToJsonObject = function(t) { var e = m.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 == s.Report && e.addPropertyJObject("Parameters", this.parameters.saveToJsonObject(t)), e } , p.prototype.loadFromJsonObject = function(t) { var e, r; m.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.value; switch (o.name) { case "FillParametersEvent": var s = new a; s.loadFromJsonObject(o.value), this.fillParametersEvent = s; 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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , p.prototype.loadFromXml = function(t, e) { m.prototype.loadFromXml.call(this, t, e); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "FillParametersEvent": break; case "KeepSubReportTogether": this._keepSubReportTogether = i.textContent.stimulsoft.toBoolean(); break; case "SubReportPageGuid": this._subReportPageGuid = i.textContent; break; case "SubReportUrl": var n = new u; n.loadFromXml(i), this.subReportUrl = n.value; break; case "Parameters": this._parameters.loadFromXml(i); break } } } , Object.defineProperty(p.prototype, "componentType", { get: function() { return r.StiComponentType.Simple }, enumerable: !0, configurable: !0 }), p.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , p.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)), m.prototype.setWidth.call(this, e.convertFromHInches(t.convertToHInches(this.width))), this.height = e.convertFromHInches(t.convertToHInches(this.height)), r || (this.minSize = e.convertFromHInches(t.convertToHInches(this.minSize)), this.maxSize = e.convertFromHInches(t.convertToHInches(this.maxSize))) } , Object.defineProperty(p.prototype, "width", { get: function() { return m.prototype.getWidth.call(this) }, set: function(t) { m.prototype.setWidth.call(this, t), this.updateSubReportPageWidth() }, enumerable: !0, configurable: !0 }), p.prototype.setClientRectangle = function(t) { m.prototype.setClientRectangle.call(this, t), this.updateSubReportPageWidth() } , p.prototype.updateSubReportPageWidth = function() { if (null != this.subReportPage && null != this.report) { if (null != this.page && this.subReportPage.orientation != this.page.orientation) { var 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 } } , p.prototype.getExternalSubReport = function() { var t, e, r = this.getSubReportFromUrl(this.subReportUrl); if (null == r && (r = this.getSubReportFromFile(this.subReportUrl)), null == r) { var i = new o(this.name); this.report.invokeGetSubReport(i), r = i.report } if (null != r && r.reportUnit != this.report.reportUnit) if (r.isDocument) try { for (var n = __values(r.renderedPages.list), a = n.next(); !a.done; a = n.next()) { var s = a.value; s.convert(r.unit, this.report.unit) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } else r.reportUnit = this.report.reportUnit; return r } , p.prototype.getSubReportFromUrl = function(t) { try { if (!i.isNullOrEmpty(t)) { var r = new e.StiReport , n = c.getResourceNameFromHyperlink(t); if (null != n) { n = n.toLowerCase().trim(); var o = this.report.dictionary.resources.toList().firstOrDefault(function(t) { return null != t.name && t.name.toLowerCase().trim() == n }); if (null != o) switch (o.type) { case e.Dictionary.StiResourceType.Report: r.load(o.content); break; case e.Dictionary.StiResourceType.ReportSnapshot: r.loadDocument(o.content); break } } else t = t.stimulsoft.replaceAll("file://", ""), t.stimulsoft.endsWith(".mdc") || t.stimulsoft.endsWith(".mdz") ? r.loadDocumentFile(t) : r.loadFile(t); return r } } catch (e) { var a = i.format("SubReport can't be loaded from URL '{0}' in subreport component {1}!", t, this.name) } return null } , p.prototype.getSubReportFromFile = function(t) { return this.getSubReportFromUrl(t) } , p.prototype.onFillParameters = function(t) {} , p.prototype.invokeFillParameters = function(r, n) { var o, a; try { this.onFillParameters(n); var s = this.events.get(p.eventFillParameters); if (null != s) try { s(r, n) } catch (n) {} if (null != this.report && this.report.calculationMode == e.StiCalculationMode.Interpretation && null != this.parameters && this.parameters.count > 0) try { for (var l = __values(this.parameters.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; if (!i.isNullOrEmpty(c.name) && null != c.expression && !i.isNullOrEmpty(c.expression)) { var m = t.Report.Engine.StiParser.StiParser.parseTextValue("{" + c.expression + "}", this); n.value.add({ key: c.name, value: m }) } } } catch (t) { o = { error: t } } finally { try { u && !u.done && (a = l.return) && a.call(l) } finally { if (o) throw o.error } } } catch (t) {} } , Object.defineProperty(p.prototype, "fillParametersEvent", { get: function() { return new a(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(p.eventFillParameters, n.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "useExternalReport", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "keepSubReportTogether", { get: function() { return this._keepSubReportTogether }, set: function(t) { this._keepSubReportTogether = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "subReportPage", { get: function() { var t, e; if (null == this.report) return null; try { for (var r = __values(this.report.pages.list), i = r.next(); !i.done; i = r.next()) { var n = i.value; if (n.guid == this._subReportPageGuid) return n } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } return null }, set: function(t) { null == t ? this._subReportPageGuid = null : (null == t.guid && (t.guid = l.newGuid()), this._subReportPageGuid = t.guid, this.updateSubReportPageWidth()) }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "subReportPageGuid", { get: function() { return this._subReportPageGuid }, set: function(t) { this._subReportPageGuid = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "subReportUrl", { get: function() { return this._subReportUrl }, set: function(t) { this._subReportUrl = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "parameters", { get: function() { return this._parameters }, set: function(t) { this._parameters = t }, enumerable: !0, configurable: !0 }), p.getSubReportForPage = function(t) { var e, r; if (null == t) return null; var i = t.report.getComponents(); try { for (var n = __values(i.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.stimulsoft.is(p) && a.subReportPage == t) return a.stimulsoft.as(p) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return null } , p.eventFillParameters = {}, p }(r.StiContainer); r.StiSubReport = m }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.Base.StiJson , n = t.System.Enum , o = t.System.ICloneable , a = t.Report.Expressions.StiExpression , s = function() { function t(t, r, i, n, o, a, s) { void 0 === t && (t = null), void 0 === r && (r = ""), void 0 === i && (i = e.StiFilterCondition.EqualTo), void 0 === n && (n = ""), void 0 === o && (o = ""), void 0 === a && (a = e.StiFilterDataType.String), void 0 === s && (s = ""), this._condition = e.StiFilterCondition.EqualTo, this._dataType = e.StiFilterDataType.String, this._column = "", this._item = e.StiFilterItem.Value, this.valueObj1 = "", this.valueObj2 = "", this._expression = "", this._item = null == t ? e.StiFilterItem.Value : t, this._column = r, this._condition = i, this.valueObj1 = n, this.valueObj2 = o, this._dataType = a, this._expression = s } return t.prototype.implements = function() { return [o, r] } , t.prototype.saveToJsonObject = function(t) { var r = new i; return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyEnum("Condition", e.StiFilterCondition, this.condition, e.StiFilterCondition.EqualTo), r.addPropertyEnum("DataType", e.StiFilterDataType, this.dataType, e.StiFilterDataType.String), r.addPropertyStringNullOrEmpty("Column", this.column), r.addPropertyEnum("Item", e.StiFilterItem, this.item, e.StiFilterItem.Value), r.addPropertyStringNullOrEmpty("Value1", this.value1), r.addPropertyStringNullOrEmpty("Value2", this.value2), r.addPropertyJObject("Expression", new a(this.expression).saveToJsonObject(t)), r } , t.prototype.loadFromJsonObject = function(t) { var r, i; try { for (var o = __values(t.properties()), s = o.next(); !s.done; s = o.next()) { var l = s.value; switch (l.name) { case "Condition": this._condition = n.parse(e.StiFilterCondition, l.value); break; case "DataType": this._dataType = n.parse(e.StiFilterDataType, l.value); break; case "Column": this._column = l.value; break; case "Item": this._item = n.parse(e.StiFilterItem, l.value); break; case "Value1": this.valueObj1 = l.value; break; case "Value2": this.valueObj2 = l.value; break; case "Expression": var u = new a; u.loadFromJsonObject(l.value), this._expression = u.value; break } } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , t.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(t.prototype, "condition", { get: function() { return this._condition }, set: function(t) { this._condition = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "dataType", { get: function() { return this._dataType }, set: function(t) { this._dataType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "column", { get: function() { return this._column }, set: function(t) { this._column = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "item", { get: function() { return this._item }, set: function(t) { this._item = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "value1", { get: function() { return this.valueObj1 }, set: function(t) { this.valueObj1 = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "value2", { get: function() { return this.valueObj2 }, set: function(t) { this.valueObj2 = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "expression", { get: function() { return this._expression }, set: function(t) { this._expression = t }, enumerable: !0, configurable: !0 }), t }(); e.StiFilter = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(r, i, n, o, a, s, l) { void 0 === r && (r = t.StiFilterItem.Value), void 0 === i && (i = ""), void 0 === n && (n = t.StiFilterCondition.EqualTo), void 0 === o && (o = ""), void 0 === a && (a = ""), void 0 === s && (s = t.StiFilterDataType.String), void 0 === l && (l = ""); var u = e.call(this, r, i, n, o, a, s, l) || this; return u._tag = null, u } return __extends(r, e), r.prototype.implements = function() { return e.prototype.implements.call(this) } , Object.defineProperty(r.prototype, "tag", { get: function() { return this._tag }, set: function(t) { this._tag = t }, enumerable: !0, configurable: !0 }), r }(t.StiFilter); t.StiBaseCondition = e }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Drawing.Color , o = t.Base.Drawing.StiSolidBrush , a = t.Base.JsonReportObject.IStiJsonReportObject , s = t.Base.StiJsonReportObjectHelper , l = t.System.Enum , u = function(u) { function c(t, e, i, o, a, s, l, c, m, p, h) { void 0 === t && (t = ""), void 0 === e && (e = r.StiColorScaleType.Color2), void 0 === i && (i = n.red), void 0 === o && (o = n.yellow), void 0 === a && (a = n.green), void 0 === s && (s = r.StiMinimumType.Auto), void 0 === l && (l = 0), void 0 === c && (c = r.StiMidType.Auto), void 0 === m && (m = 50), void 0 === p && (p = r.StiMaximumType.Auto), void 0 === h && (h = 100); var d = u.call(this) || this; return d._scaleType = r.StiColorScaleType.Color2, d._minimumColor = n.red, d._midColor = n.yellow, d._maximumColor = n.green, d._minimumValue = 0, d._midType = 0, d._midValue = 50, d._maximumValue = 100, d.minimum = null, d.maximum = null, d.column = t, d.scaleType = e, d.minimumColor = i, d.midColor = o, d.maximumColor = a, d.minimumType = s, d.minimumValue = l, d.midType = c, d.midValue = m, d.maximumType = p, d.maximumValue = h, d } return __extends(c, u), c.prototype.implements = function() { return u.prototype.implements.call(this).concat([r.IStiIndicatorCondition, a]) } , c.prototype.saveToJsonObject = function(t) { var e = u.prototype.saveToJsonObject.call(this, t); return e.addPropertyEnum("ScaleType", r.StiColorScaleType, this.scaleType, r.StiColorScaleType.Color2), e.addPropertyStringNullOrEmpty("MinimumColor", s.Serialize.jColor(this.minimumColor, n.red)), e.addPropertyStringNullOrEmpty("MidColor", s.Serialize.jColor(this.midColor, n.yellow)), e.addPropertyStringNullOrEmpty("MaximumColor", s.Serialize.jColor(this.maximumColor, n.green)), e.addPropertyEnum("MinimumType", r.StiMinimumType, this.minimumType, r.StiMinimumType.Auto), e.addPropertyNumber("MinimumValue", this.minimumValue, 0), e.addPropertyEnum("MidType", r.StiMidType, this.midType, r.StiMidType.Auto), e.addPropertyNumber("MidValue", this.midValue, 50), e.addPropertyEnum("MaximumType", r.StiMaximumType, this.maximumType, r.StiMaximumType.Auto), e.addPropertyNumber("MaximumValue", this.maximumValue, 100), e } , c.prototype.loadFromJsonObject = function(t) { var e, i; u.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ScaleType": this._scaleType = l.parse(r.StiColorScaleType, a.value); break; case "MinimumColor": this._minimumColor = s.Deserialize.color(a.value); break; case "MidColor": this._midColor = s.Deserialize.color(a.value); break; case "MaximumColor": this._maximumColor = s.Deserialize.color(a.value); break; case "MinimumType": this._minimumType = l.parse(r.StiMinimumType, a.value); break; case "MinimumValue": this._minimumValue = a.value.stimulsoft.toNumber(); break; case "MidType": this._midType = l.parse(r.StiMidType, a.value); break; case "MidValue": this._midValue = a.value.stimulsoft.toNumber(); break; case "MaximumType": this._maximumType = l.parse(r.StiMaximumType, a.value); break; case "MaximumValue": this._maximumValue = a.value.stimulsoft.toNumber(); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , c.prototype.loadFromXml = function(e, i) { for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "ScaleType": this._scaleType = l.parse(r.StiColorScaleType, o.textContent); break; case "MinimumColor": this._minimumColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break; case "MidColor": this._midColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break; case "MaximumColor": this._maximumColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break; case "MinimumType": this._minimumType = l.parse(r.StiMinimumType, o.textContent); break; case "MinimumValue": this._minimumValue = o.textContent.stimulsoft.toNumber(); break; case "MidType": this._midType = l.parse(r.StiMidType, o.textContent); break; case "MidValue": this._midValue = o.textContent.stimulsoft.toNumber(); break; case "MaximumType": this._maximumType = l.parse(r.StiMaximumType, o.textContent); break; case "MaximumValue": this._maximumValue = o.textContent.stimulsoft.toNumber(); break } } } , c.prototype.createIndicator = function(a) { if (i.isNullOrEmpty(this.column)) return null; if (null == this.minimum || null == this.maximum) { this.minimum = 0, this.maximum = 0; var s = t.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(a.report.dictionary, this.column); if (null != s) { s.saveState("Indicator"), s.first(); var l = 0; while (!s.isEof) { var u = t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(a.report.dictionary, this.column) , c = 0; try { c = +e.StiReport.changeType(u, Number.stimulsoft.getType()) } catch (e) { t.System.StiError.showError(e, !1) } 0 == l ? (this.minimum = c, this.maximum = c) : (this.minimum = Math.min(this.minimum, c), this.maximum = Math.max(this.maximum, c)), l++, s.next() } s.restoreState("Indicator") } if (null == s) { var m = t.Report.Dictionary.StiDataColumn.getBusinessObjectFromDataColumn(a.report.dictionary, this.column); if (null == m) return null; m.saveState("Indicator"), m.createEnumerator(); var l = 0; while (!m.isEof) { var u = t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(a.report.dictionary, this.column) , c = 0; try { c = +e.StiReport.changeType(u, Number.stimulsoft.getType()) } catch (e) { t.System.StiError.showError(e, !1) } 0 == l ? (this.minimum = c, this.maximum = c) : (this.minimum = Math.min(this.minimum, c), this.maximum = Math.max(this.maximum, c)), l++, m.next() } m.restoreState("Indicator") } } var p = this.minimum , h = this.maximum , d = h - p , g = this.minimumValue; g = Math.min(g, 100), g = Math.max(g, 0); var f = this.maximumValue; f = Math.min(f, 100), f = Math.max(f, 0), g > f && (g = f); var S = this.midValue; this.minimumType == r.StiMinimumType.Value ? p = this.minimumValue : this.minimumType == r.StiMinimumType.Percent && (p += d * g / 100), this.maximumType == r.StiMaximumType.Value ? h = this.maximumValue : this.maximumType == r.StiMaximumType.Percent && (h = p + d * f / 100); var A = (h - p) / 2; this.midType == r.StiMidType.Value ? A = this.midValue : this.midType == r.StiMidType.Percent && (A = p + d * S / 100), A < p && (A = p), A > h && (A = h); var y = t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(a.report.dictionary, this.column) , w = 0; try { w = +e.StiReport.changeType(y, Number.stimulsoft.getType()) } catch (e) { t.System.StiError.showError(e, !1) } w > h && (w = h), w < p && (w = p); var b = 0, v, C; this.scaleType == r.StiColorScaleType.Color2 ? (b = (w - p) / (h - p), v = this.minimumColor, C = this.maximumColor) : w > A ? (b = (w - A) / (h - A), v = this.midColor, C = this.maximumColor) : (b = w / (A - p), v = this.minimumColor, C = this.midColor); var E = (C.a - v.a) * b + v.a , B = (C.r - v.r) * b + v.r , T = (C.g - v.g) * b + v.g , I = (C.b - v.b) * b + v.b; return E = Math.round(Math.min(E, 255)), B = Math.round(Math.min(B, 255)), T = Math.round(Math.min(T, 255)), I = Math.round(Math.min(I, 255)), a.brush = new o(n.fromArgb(E, B, T, I)), null } , c.prototype.reset = function() { this.minimum = null, this.maximum = null } , Object.defineProperty(c.prototype, "scaleType", { get: function() { return this._scaleType }, set: function(t) { this._scaleType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minimumColor", { get: function() { return this._minimumColor }, set: function(t) { this._minimumColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "midColor", { get: function() { return this._midColor }, set: function(t) { this._midColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "maximumColor", { get: function() { return this._maximumColor }, set: function(t) { this._maximumColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minimumType", { get: function() { return this._minimumType }, set: function(t) { this._minimumType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minimumValue", { get: function() { return this._minimumValue }, set: function(t) { this._minimumValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "midType", { get: function() { return this._midType }, set: function(t) { this._midType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "midValue", { get: function() { return this._midValue }, set: function(t) { this._midValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "maximumType", { get: function() { return this._maximumType }, set: function(t) { this._maximumType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "maximumValue", { get: function() { return this._maximumValue }, set: function(t) { this._maximumValue = t }, enumerable: !0, configurable: !0 }), c.prototype.equals = function(t) { var e = t; if (null == e) return !1; return this.column.stimulsoft.equals(e.column) && +this.scaleType == +e.scaleType && this.minimumColor.stimulsoft.equals(e.minimumColor) && this.midColor.stimulsoft.equals(e.midColor) && this.maximumColor.stimulsoft.equals(e.maximumColor) && +this.minimumType == +e.minimumType && this.minimumValue.stimulsoft.equals(e.minimumValue) && +this.midType == +e.midType && this.midValue.stimulsoft.equals(e.midValue) && +this.maximumType == +e.maximumType && this.maximumValue.stimulsoft.equals(e.maximumValue) } , c }(r.StiBaseCondition); r.StiColorScaleCondition = u }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.ContentAlignment , i = t.System.Drawing.Color , n = t.System.Drawing.Font , o = t.Base.JsonReportObject.IStiJsonReportObject , a = t.Base.StiJsonReportObjectHelper , s = t.System.Enum , l = function(l) { function u(t, o, a, s, u, c, m, p, h, d, g, f, S, A, y, w, b, v, C) { void 0 === t && (t = e.StiFilterItem.Value), void 0 === o && (o = ""), void 0 === a && (a = e.StiFilterCondition.EqualTo), void 0 === s && (s = ""), void 0 === u && (u = ""), void 0 === c && (c = e.StiFilterDataType.String), void 0 === m && (m = ""), void 0 === p && (p = i.red), void 0 === h && (h = i.transparent), void 0 === d && (d = new n("Arial",8)), void 0 === g && (g = !0), void 0 === f && (f = !1), void 0 === S && (S = ""), void 0 === A && (A = ""), void 0 === y && (y = e.StiConditionBorderSides.NotAssigned), void 0 === w && (w = e.StiConditionPermissions.All), void 0 === b && (b = null), void 0 === v && (v = r.MiddleRight), void 0 === C && (C = null); var E = l.call(this, t, o, a, s, u, c, m) || this; return E._enabled = !0, E._textColor = i.red, E._backColor = i.transparent, E._font = new n("Arial",8), E._canAssignExpression = !0, E._breakIfTrue = !1, E._assignExpression = "", E._style = "", E._borderSides = e.StiConditionBorderSides.NotAssigned, E._permissions = e.StiConditionPermissions.All, E.iconAlignment = r.MiddleRight, E.textColor = p, E.backColor = h, null != d && (E.font = d), E.enabled = g, E.canAssignExpression = f, E.assignExpression = S, E.style = A, E.borderSides = y, E.permissions = w, E.icon = b, E.iconAlignment = v, E.iconSize = C, E } return __extends(u, l), u.prototype.implements = function() { return l.prototype.implements.call(this).concat([o]) } , u.prototype.saveToJsonObject = function(t) { var r = l.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("Enabled", this.enabled, !0), r.addPropertyStringNullOrEmpty("TextColor", a.Serialize.jColor(this.textColor, i.red)), r.addPropertyStringNullOrEmpty("BackColor", a.Serialize.jColor(this.backColor, i.transparent)), r.addPropertyStringNullOrEmpty("Font", a.Serialize.fontArial8(this.font)), r.addPropertyBool("CanAssignExpression", this.canAssignExpression), r.addPropertyStringNullOrEmpty("AssignExpression", this.assignExpression), r.addPropertyStringNullOrEmpty("Style", this.style), r.addPropertyEnum("BorderSides", e.StiConditionBorderSides, this.borderSides, e.StiConditionBorderSides.NotAssigned), r.addPropertyEnum("Permissions", e.StiConditionPermissions, this.permissions, e.StiConditionPermissions.All), r.addPropertyBool("BreakIfTrue", this.breakIfTrue, !1), r } , u.prototype.loadFromJsonObject = function(t) { var r, i; l.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var u = o.value; switch (u.name) { case "Enabled": this._enabled = u.value.stimulsoft.toBoolean(); break; case "TextColor": this._textColor = a.Deserialize.color(u.value); break; case "BackColor": this._backColor = a.Deserialize.color(u.value); break; case "Font": this._font = a.Deserialize.font(u.value, this._font); break; case "CanAssignExpression": this._canAssignExpression = u.value.stimulsoft.toBoolean(); break; case "AssignExpression": this._assignExpression = u.value.toString(); break; case "Style": this._style = u.value; break; case "BorderSides": this._borderSides = s.parse(e.StiConditionBorderSides, u.value); break; case "Permissions": this._permissions = s.parse(e.StiConditionPermissions, u.value); break; case "BreakIfTrue": this._breakIfTrue = u.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , u.prototype.loadFromXml = function(r, i) { for (var n = 0; n < r.childNodes.length; n++) { var o = r.childNodes[n]; switch (o.nodeName) { case "Enabled": this._enabled = o.textContent.stimulsoft.toBoolean(); break; case "TextColor": this._textColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break; case "BackColor": this._backColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break; case "Font": case "fn": this._font = t.System.Convert.toFont(o.textContent); break; case "CanAssignExpression": this._canAssignExpression = o.textContent.stimulsoft.toBoolean(); break; case "AssignExpression": this.assignExpression = o.textContent; break; case "Style": this._style = o.textContent; break; case "BorderSides": this._borderSides = s.parse(e.StiConditionBorderSides, o.textContent); break; case "Permissions": this._permissions = s.parse(e.StiConditionPermissions, o.textContent); break; case "BreakIfTrue": this._breakIfTrue = o.textContent.stimulsoft.toBoolean(); break } } } , u.prototype.clone = function() { return l.prototype.clone.call(this) } , u.prototype.memberwiseClone = function() { var t = l.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 } , Object.defineProperty(u.prototype, "enabled", { get: function() { return this._enabled }, set: function(t) { this._enabled = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "textColor", { get: function() { return this._textColor }, set: function(t) { this._textColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "backColor", { get: function() { return this._backColor }, set: function(t) { this._backColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "font", { get: function() { return this._font }, set: function(t) { this._font = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "canAssignExpression", { get: function() { return this._canAssignExpression }, set: function(t) { this._canAssignExpression = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "breakIfTrue", { get: function() { return this._breakIfTrue }, set: function(t) { this._breakIfTrue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "assignExpression", { get: function() { return this._assignExpression }, set: function(t) { this._assignExpression = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "style", { get: function() { return this._style }, set: function(t) { this._style = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "borderSides", { get: function() { return this._borderSides }, set: function(t) { this._borderSides = t, t == e.StiConditionBorderSides.NotAssigned && (this._borderSides = e.StiConditionBorderSides.None, (this.permissions & e.StiConditionPermissions.Borders) > 0 && (this.permissions -= e.StiConditionPermissions.Borders)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "permissions", { get: function() { return this._permissions }, set: function(t) { this._permissions = t }, enumerable: !0, configurable: !0 }), u.prototype.equals = function(t) { var e = t; if (null == e) return !1; return this.backColor.stimulsoft.equals(e.backColor) && this.textColor.stimulsoft.equals(e.textColor) && this.column.stimulsoft.equals(e.column) && this.condition == e.condition && this.dataType == e.dataType && this.enabled.stimulsoft.equals(e.enabled) && this.font.stimulsoft.equals(e.font) && this.item == e.item && this.value1.stimulsoft.equals(e.value1) && this.value2.stimulsoft.equals(e.value2) && this.expression.trim().stimulsoft.equals(e.expression.trim()) && this.canAssignExpression.stimulsoft.equals(e.canAssignExpression) && this.assignExpression.stimulsoft.equals(e.assignExpression) && this.icon == e.icon && this.iconAlignment == e.iconAlignment && this.iconSize == e.iconSize } , u }(e.StiBaseCondition); e.StiCondition = l }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.System.Drawing.Font , n = t.System.Drawing.FontStyle , o = function(t) { function o() { return null !== t && t.apply(this, arguments) || this } return __extends(o, t), o.prototype.implements = function() { return t.prototype.implements.call(this) } , o.apply = function(t, e) { var r, i, n = t; if (e.stimulsoft.startsWith("##") && e.stimulsoft.endsWith("##")) { e = e.substr(2, e.length - 4); try { for (var a = __values(StiOptions.Designer.styles.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.name == e) return l.setStyleToComponent(n), void o.applyParentStyle(l, n) } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } } var u = n.report.styles.getByName(e); if (null != u) return u.setStyleToComponent(n), void this.applyParentStyle(u, n) } , o.applyParentStyle = function(t, e) { null != e && null != e.report && null != e.report.engine && (null == e.report.engine.hashParentStyles && (e.report.engine.hashParentStyles = new r), e.report.engine.hashParentStyles.set(e, t)) } , o.applyFont = function(t, r, o) { var a = t; if (null != a) { var s = !1 , l = a.font.name , u = a.font.size , c = a.font.bold , m = a.font.italic , p = a.font.underline , h = a.font.strikeout; if ((o & e.StiConditionPermissions.Font) > 0 && (s = !0, l = r.name), (o & e.StiConditionPermissions.FontSize) > 0 && (s = !0, u = r.size), (o & e.StiConditionPermissions.FontStyleBold) > 0 && (s = !0, c = r.bold), (o & e.StiConditionPermissions.FontStyleItalic) > 0 && (s = !0, m = r.italic), (o & e.StiConditionPermissions.FontStyleUnderline) > 0 && (s = !0, p = r.underline), (o & e.StiConditionPermissions.FontStyleStrikeout) > 0 && (s = !0, h = r.strikeout), s) { var d = n.Regular; c && (d |= n.Bold), m && (d |= n.Italic), p && (d |= n.Underline), h && (d |= n.Strikeout), a.font = new i(l,u,d) } } } , o }(e.StiFilter); e.StiConditionHelper = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Drawing.Color , o = t.Base.JsonReportObject.IStiJsonReportObject , a = t.Base.StiJsonReportObjectHelper , s = t.System.Enum , l = t.Report.Components.StiBrushType , u = function(u) { function c(t, e, i, o, a, s, c, m, p, h, d, g) { void 0 === t && (t = ""), void 0 === e && (e = l.Gradient), void 0 === i && (i = n.green), void 0 === o && (o = n.red), void 0 === a && (a = !1), void 0 === s && (s = n.darkGreen), void 0 === c && (c = n.darkRed), void 0 === m && (m = r.StiDataBarDirection.Default), void 0 === p && (p = r.StiMinimumType.Auto), void 0 === h && (h = 0), void 0 === d && (d = r.StiMaximumType.Auto), void 0 === g && (g = 100); var f = u.call(this) || this; return f._brushType = l.Gradient, f._positiveColor = n.green, f._negativeColor = n.red, f._positiveBorderColor = n.darkGreen, f._negativeBorderColor = n.darkRed, f._showBorder = !1, f._direction = r.StiDataBarDirection.Default, f._minimumType = r.StiMinimumType.Auto, f._minimumValue = 0, f._maximumType = r.StiMaximumType.Auto, f._maximumValue = 100, f.minimum = null, f.maximum = null, f.column = t, f.brushType = e, f.positiveColor = i, f.negativeColor = o, f.showBorder = a, f.positiveBorderColor = s, f.negativeBorderColor = c, f.direction = m, f.minimumType = p, f.minimumValue = h, f.maximumType = d, f.maximumValue = g, f } return __extends(c, u), c.prototype.implements = function() { return u.prototype.implements.call(this).concat([r.IStiDataBarIndicator, r.IStiIndicatorCondition, o]) } , c.prototype.saveToJsonObject = function(t) { var e = u.prototype.saveToJsonObject.call(this, t); return e.addPropertyEnum("BrushType", l, this.brushType, l.Gradient), e.addPropertyStringNullOrEmpty("PositiveColor", a.Serialize.jColor(this.positiveColor, n.green)), e.addPropertyStringNullOrEmpty("NegativeColor", a.Serialize.jColor(this.negativeColor, n.red)), e.addPropertyStringNullOrEmpty("PositiveBorderColor", a.Serialize.jColor(this.positiveBorderColor, n.darkGreen)), e.addPropertyStringNullOrEmpty("NegativeBorderColor", a.Serialize.jColor(this.negativeBorderColor, n.darkRed)), e.addPropertyBool("ShowBorder", this.showBorder), e.addPropertyEnum("Direction", r.StiDataBarDirection, this.direction, r.StiDataBarDirection.Default), e.addPropertyEnum("MinimumType", r.StiMinimumType, this.minimumType, r.StiMinimumType.Auto), e.addPropertyNumber("MinimumValue", this.minimumValue, 0), e.addPropertyEnum("MaximumType", r.StiMaximumType, this.maximumType, r.StiMaximumType.Auto), e.addPropertyNumber("MaximumValue", this.maximumValue, 100), e } , c.prototype.loadFromJsonObject = function(t) { var e, i; u.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var c = o.value; switch (c.name) { case "BrushType": this._brushType = s.parse(l, c.value); break; case "PositiveColor": this._positiveColor = a.Deserialize.color(c.value); break; case "NegativeColor": this._negativeColor = a.Deserialize.color(c.value); break; case "PositiveBorderColor": this._positiveBorderColor = a.Deserialize.color(c.value); break; case "NegativeBorderColor": this._negativeBorderColor = a.Deserialize.color(c.value); break; case "ShowBorder": this._showBorder = c.value.stimulsoft.toBoolean(); break; case "Direction": this._direction = s.parse(r.StiDataBarDirection, c.value); break; case "MinimumType": this._minimumType = s.parse(r.StiMinimumType, c.value); break; case "MinimumValue": this._minimumValue = c.value.stimulsoft.toNumber(); break; case "MaximumType": this._maximumType = s.parse(r.StiMaximumType, c.value); break; case "MaximumValue": this._maximumValue = c.value.stimulsoft.toNumber(); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , c.prototype.createIndicator = function(n) { if (i.isNullOrEmpty(this.column)) return null; if (!(this.minimumType == r.StiMinimumType.Value && this.maximumType == r.StiMaximumType.Value || null != this.minimum && null != this.maximum)) { this.minimum = 0, this.maximum = 0; var o = t.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(n.report.dictionary, this.column); if (null != o) { o.saveState("Indicator"), o.first(); var a = 0; while (!o.isEof) { var s = t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(n.report.dictionary, this.column) , l = 0; try { l = +e.StiReport.changeType(s, Number.stimulsoft.getType()) } catch (e) { t.System.StiError.showError(e, !1) } 0 == a ? (this.minimum = l, this.maximum = l) : (this.minimum = Math.min(this.minimum, l), this.maximum = Math.max(this.maximum, l)), a++, o.next() } o.restoreState("Indicator") } if (null == o) { var u = t.Report.Dictionary.StiDataColumn.getBusinessObjectFromDataColumn(n.report.dictionary, this.column); if (null == u) return null; u.saveState("Indicator"), u.createEnumerator(); var a = 0; while (!u.isEof) { var s = t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(n.report.dictionary, this.column) , l = 0; try { l = +e.StiReport.changeType(s, Number.stimulsoft.getType()) } catch (e) { t.System.StiError.showError(e, !1) } 0 == a ? (this.minimum = l, this.maximum = l) : (this.minimum = Math.min(this.minimum, l), this.maximum = Math.max(this.maximum, l)), a++, u.next() } u.restoreState("Indicator") } this.minimum > 0 && this.minimumType != r.StiMinimumType.Minimum && (this.minimum = 0), this.maximum < 0 && this.maximumType != r.StiMaximumType.Maximum && (this.maximum = 0) } var c = this.minimum , m = this.maximum , p = m - c , h = this.minimumValue; h = Math.min(h, 100), h = Math.max(h, 0); var d = this.maximumValue; d = Math.min(d, 100), d = Math.max(d, 0), h > d && (h = d), this.minimumType == r.StiMinimumType.Value ? c = this.minimumValue : this.minimumType == r.StiMinimumType.Percent && (c += p * h / 100), this.maximumType == r.StiMaximumType.Value ? m = this.maximumValue : this.maximumType == r.StiMaximumType.Percent && (m = c + p * d / 100); var g = t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(n.report.dictionary, this.column) , f = 0; try { f = +e.StiReport.changeType(g, Number.stimulsoft.getType()) } catch (e) { t.System.StiError.showError(e, !1) } f > m && (f = m), f < c && (f = c), c > 0 && (f -= c, m -= c, c = 0), m < 0 && (f -= m, c -= m, m = 0); var S = new r.StiDataBarIndicator; return S.brushType = this.brushType, S.positiveColor = this.positiveColor, S.negativeColor = this.negativeColor, S.showBorder = this.showBorder, S.positiveBorderColor = this.positiveBorderColor, S.negativeBorderColor = this.negativeBorderColor, S.direction = this.direction, S.minimum = c, S.maximum = m, S.value = f, S } , c.prototype.reset = function() { this.minimum = null, this.maximum = null } , Object.defineProperty(c.prototype, "brushType", { get: function() { return this._brushType }, set: function(t) { this._brushType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "positiveColor", { get: function() { return this._positiveColor }, set: function(t) { this._positiveColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "negativeColor", { get: function() { return this._negativeColor }, set: function(t) { this._negativeColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "positiveBorderColor", { get: function() { return this._positiveBorderColor }, set: function(t) { this._positiveBorderColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "negativeBorderColor", { get: function() { return this._negativeBorderColor }, set: function(t) { this._negativeBorderColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "showBorder", { get: function() { return this._showBorder }, set: function(t) { this._showBorder = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "direction", { get: function() { return this._direction }, set: function(t) { this._direction = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minimumType", { get: function() { return this._minimumType }, set: function(t) { this._minimumType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minimumValue", { get: function() { return this._minimumValue }, set: function(t) { this._minimumValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "maximumType", { get: function() { return this._maximumType }, set: function(t) { this._maximumType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "maximumValue", { get: function() { return this._maximumValue }, set: function(t) { this._maximumValue = t }, enumerable: !0, configurable: !0 }), c.prototype.equals = function(t) { var e = t; if (null == e) return !1; return this.column.stimulsoft.equals(e.column) && this.brushType == e.brushType && this.positiveColor.stimulsoft.equals(e.positiveColor) && this.negativeColor == e.negativeColor && this.showBorder.stimulsoft.equals(e.showBorder) && this.positiveBorderColor.stimulsoft.equals(e.positiveBorderColor) && this.negativeBorderColor.stimulsoft.equals(e.negativeBorderColor) && this.minimumType == e.minimumType && this.minimumValue.stimulsoft.equals(e.minimumValue) && this.maximumType == e.maximumType && this.maximumValue.stimulsoft.equals(e.maximumValue) } , c }(r.StiBaseCondition); r.StiDataBarCondition = u }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Enum , n = t.System.Drawing.ContentAlignment , o = t.Base.JsonReportObject.IStiJsonReportObject , a = function(a) { function s(t, r, i, o, s, l, u, c) { void 0 === t && (t = ""), void 0 === r && (r = e.StiIconSet.None), void 0 === i && (i = n.MiddleLeft), void 0 === o && (o = null), void 0 === s && (s = null), void 0 === l && (l = null), void 0 === u && (u = null), void 0 === c && (c = null); var m = a.call(this) || this; return m._iconSet = e.StiIconSet.None, m._contentAlignment = n.MiddleLeft, m._iconSetItem1 = null, m._iconSetItem2 = null, m._iconSetItem3 = null, m._iconSetItem4 = null, m._iconSetItem5 = null, m.minimum = null, m.maximum = null, m.column = t, m.iconSet = r, m.contentAlignment = i, m.iconSetItem1 = o, m.iconSetItem2 = s, m.iconSetItem3 = l, m.iconSetItem4 = u, m.iconSetItem5 = c, m } return __extends(s, a), s.prototype.implements = function() { return a.prototype.implements.call(this).concat([e.IStiIndicatorCondition, o]) } , s.prototype.saveToJsonObject = function(t) { var r = a.prototype.saveToJsonObject.call(this, t); return r.addPropertyEnum("IconSet", e.StiIconSet, this.iconSet, e.StiIconSet.None), r.addPropertyEnum("ContentAlignment", n, this.contentAlignment, n.MiddleLeft), null != this.iconSetItem1 && r.addPropertyJObject("IconSetItem1", this.iconSetItem1.saveToJsonObject(t)), null != this.iconSetItem2 && r.addPropertyJObject("IconSetItem2", this.iconSetItem2.saveToJsonObject(t)), null != this.iconSetItem3 && r.addPropertyJObject("IconSetItem3", this.iconSetItem3.saveToJsonObject(t)), null != this.iconSetItem4 && r.addPropertyJObject("IconSetItem4", this.iconSetItem4.saveToJsonObject(t)), null != this.iconSetItem5 && r.addPropertyJObject("IconSetItem5", this.iconSetItem5.saveToJsonObject(t)), r } , s.prototype.loadFromJsonObject = function(t) { var r, o; a.prototype.loadFromJsonObject.call(this, t); try { for (var s = __values(t.properties()), l = s.next(); !l.done; l = s.next()) { var u = l.value; switch (u.name) { case "IconSet": this._iconSet = i.parse(e.StiIconSet, u.value); break; case "ContentAlignment": this._contentAlignment = i.parse(n, u.value); break; case "IconSetItem1": var c = new e.StiIconSetItem; c.loadFromJsonObject(u.value), this._iconSetItem1 = c; break; case "IconSetItem2": var c = new e.StiIconSetItem; c.loadFromJsonObject(u.value), this._iconSetItem2 = c; break; case "IconSetItem3": var c = new e.StiIconSetItem; c.loadFromJsonObject(u.value), this._iconSetItem3 = c; break; case "IconSetItem4": var c = new e.StiIconSetItem; c.loadFromJsonObject(u.value), this._iconSetItem4 = c; break; case "IconSetItem5": var c = new e.StiIconSetItem; c.loadFromJsonObject(u.value), this._iconSetItem5 = c; break } } } catch (t) { r = { error: t } } finally { try { l && !l.done && (o = s.return) && o.call(s) } finally { if (r) throw r.error } } } , s.prototype.createIndicator = function(i) { if (r.isNullOrEmpty(this.column)) return null; if (null == this.minimum || null == this.maximum) { this.minimum = 0, this.maximum = 0; var n = t.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(i.report.dictionary, this.column); if (null != n) { n.saveState("Indicator"), null != n.detailRows && null != n.dataTable && (n.detailRows = null), n.first(); var o = 0; while (!n.isEof) { var a = t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(i.report.dictionary, this.column) , s = a.stimulsoft.toNumber(); 0 == o ? (this.minimum = s, this.maximum = s) : (this.minimum = Math.min(this.minimum, s), this.maximum = Math.max(this.maximum, s)), o++, n.next() } n.restoreState("Indicator") } if (null == n) { var l = t.Report.Dictionary.StiDataColumn.getBusinessObjectFromDataColumn(i.report.dictionary, this.column); if (null == l) return null; l.saveState("Indicator"), l.createEnumerator(); var o = 0; while (!l.isEof) { var a = t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(i.report.dictionary, this.column) , s = a.stimulsoft.toNumber(); 0 == o ? (this.minimum = s, this.maximum = s) : (this.minimum = Math.min(this.minimum, s), this.maximum = Math.max(this.maximum, s)), o++, l.next() } l.restoreState("Indicator") } } var u = this.minimum , c = this.maximum , m = c - u , p = t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(i.report.dictionary, this.column) , h = p.stimulsoft.toNumber(); h > c && (h = c), h < u && (h = u); var d = (h - u) / m * 100 , g = e.StiIcon.None; if (null == this.iconSetItem4 && null == this.iconSetItem5 ? this.inRange(this.iconSetItem1, h, d) ? g = this.iconSetItem1.icon : this.inRange(this.iconSetItem2, h, d) ? g = this.iconSetItem2.icon : null != this.iconSetItem3 && (g = this.iconSetItem3.icon) : null == this.iconSetItem5 ? this.inRange(this.iconSetItem1, h, d) ? g = this.iconSetItem1.icon : this.inRange(this.iconSetItem2, h, d) ? g = this.iconSetItem2.icon : this.inRange(this.iconSetItem3, h, d) ? g = this.iconSetItem3.icon : null != this.iconSetItem4 && (g = this.iconSetItem4.icon) : this.inRange(this.iconSetItem1, h, d) ? g = this.iconSetItem1.icon : this.inRange(this.iconSetItem2, h, d) ? g = this.iconSetItem2.icon : this.inRange(this.iconSetItem3, h, d) ? g = this.iconSetItem3.icon : this.inRange(this.iconSetItem4, h, d) ? g = this.iconSetItem4.icon : null != this.iconSetItem5 && (g = this.iconSetItem5.icon), g == e.StiIcon.None) return null; var f = new e.StiIconSetIndicator; return f.icon = g, f.alignment = this.contentAlignment, f } , s.prototype.inRange = function(t, r, i) { if (null == t) return !1; if (t.valueType == e.StiIconSetValueType.Percent) { if (t.operation == e.StiIconSetOperation.MoreThan) { if (i > t.value) return !0 } else if (i >= t.value) return !0 } else if (t.operation == e.StiIconSetOperation.MoreThan) { if (r > t.value) return !0 } else if (r >= t.value) return !0; return !1 } , s.prototype.reset = function() { this.minimum = null, this.maximum = null } , Object.defineProperty(s.prototype, "iconSet", { get: function() { return this._iconSet }, set: function(t) { this._iconSet = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "contentAlignment", { get: function() { return this._contentAlignment }, set: function(t) { this._contentAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "iconSetItem1", { get: function() { return this._iconSetItem1 }, set: function(t) { this._iconSetItem1 = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "iconSetItem2", { get: function() { return this._iconSetItem2 }, set: function(t) { this._iconSetItem2 = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "iconSetItem3", { get: function() { return this._iconSetItem3 }, set: function(t) { this._iconSetItem3 = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "iconSetItem4", { get: function() { return this._iconSetItem4 }, set: function(t) { this._iconSetItem4 = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "iconSetItem5", { get: function() { return this._iconSetItem5 }, set: function(t) { this._iconSetItem5 = t }, enumerable: !0, configurable: !0 }), s.prototype.equals = function(t) { var e = t; if (null == e) return !1; return this.iconSet == e.iconSet && this.contentAlignment == e.contentAlignment } , s }(e.StiBaseCondition); e.StiIconSetCondition = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiJson , i = t.Base.JsonReportObject.IStiJsonReportObject , n = t.System.Enum , o = function() { function t(t, r, i, n) { void 0 === t && (t = e.StiIcon.None), void 0 === r && (r = e.StiIconSetOperation.MoreThan), void 0 === i && (i = e.StiIconSetValueType.Percent), void 0 === n && (n = 0), this._icon = e.StiIcon.None, this._operation = e.StiIconSetOperation.MoreThan, this._valueType = e.StiIconSetValueType.Percent, this._value = 0, this.icon = t, this.operation = r, this.valueType = i, this.value = n } return t.prototype.implements = function() { return [i] } , t.prototype.saveToJsonObject = function(t) { var i = new r; return i.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), i.addPropertyEnum("Icon", e.StiIcon, this.icon, e.StiIcon.None), i.addPropertyEnum("Operation", e.StiIconSetOperation, this.operation, e.StiIconSetOperation.MoreThan), i.addPropertyEnum("ValueType", e.StiIconSetValueType, this.valueType, e.StiIconSetValueType.Percent), i.addPropertyNumber("Value", this.value, 0), i } , t.prototype.loadFromJsonObject = function(t) { var r, i; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Icon": this._icon = n.parse(e.StiIcon, s.value); break; case "Operation": this._operation = n.parse(e.StiIconSetOperation, s.value); break; case "ValueType": this._valueType = n.parse(e.StiIconSetValueType, s.value); break; case "Value": this._value = s.value.stimulsoft.toNumber(); break } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , Object.defineProperty(t.prototype, "icon", { get: function() { return this._icon }, set: function(t) { this._icon = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "operation", { get: function() { return this._operation }, set: function(t) { this._operation = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "valueType", { get: function() { return this._valueType }, set: function(t) { this._valueType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "value", { get: function() { return this._value }, set: function(t) { this._value = t }, enumerable: !0, configurable: !0 }), t }(); e.StiIconSetItem = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiJsonReportObjectHelper , i = t.Base.StiJson , n = t.System.Drawing.Color , o = t.Base.JsonReportObject.IStiJsonReportObject , a = t.System.Text.StiReportObjectStringConverter , s = t.System.Enum , l = function(l) { function u(t, r, i, o, a, s, u, c, m, p) { var h, d; void 0 === t && (t = n.red), void 0 === r && (r = n.transparent), void 0 === i && (i = null), void 0 === o && (o = !0), void 0 === a && (a = e.StiFilterMode.And), void 0 === s && (s = null), void 0 === u && (u = !1), void 0 === c && (c = ""), void 0 === m && (m = ""), void 0 === p && (p = e.StiConditionBorderSides.NotAssigned); var g = l.call(this) || this; if (g._filterMode = e.StiFilterMode.And, g._filters = new e.StiFiltersCollection, g.style = m, g.borderSides = p, g.filterMode = a, null != s) try { for (var f = __values(s), S = f.next(); !S.done; S = f.next()) { var A = S.value; g.filters.add(A) } } catch (t) { h = { error: t } } finally { try { S && !S.done && (d = f.return) && d.call(f) } finally { if (h) throw h.error } } return g } return __extends(u, l), u.prototype.implements = function() { return l.prototype.implements.call(this).concat([e.IStiFilter, o]) } , u.prototype.saveToJsonObject = function(t) { var o = new i; return o.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), o.addPropertyBool("Enabled", this.enabled, !0), o.addPropertyStringNullOrEmpty("TextColor", r.Serialize.jColor(this.textColor, n.red)), o.addPropertyStringNullOrEmpty("BackColor", r.Serialize.jColor(this.backColor, n.transparent)), o.addPropertyStringNullOrEmpty("Font", r.Serialize.fontArial8(this.font)), o.addPropertyBool("CanAssignExpression", this.canAssignExpression), o.addPropertyStringNullOrEmpty("Style", this.style), o.addPropertyEnum("BorderSides", e.StiConditionBorderSides, this.borderSides, e.StiConditionBorderSides.NotAssigned), o.addPropertyEnum("Permissions", e.StiConditionPermissions, this.permissions, e.StiConditionPermissions.All), o.addPropertyEnum("FilterMode", e.StiFilterMode, this.filterMode, e.StiFilterMode.And), o.addPropertyJObject("Filters", this.filters.saveToJsonObject(t)), o } , u.prototype.loadFromJsonObject = function(t) { var r, i; l.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "FilterMode": this._filterMode = s.parse(e.StiFilterMode, a.value); break; case "Filters": this._filters.loadFromJsonObject(a.value); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , u.prototype.loadfromXmlDoc = function(r) { try { if ("StiSerializer" != r.firstChild.nodeName) return; for (var i = 0; i < r.firstChild.childNodes.length; i++) { var n = r.firstChild.childNodes[i]; switch (n.nodeName) { case "Enabled": this.enabled = n.textContent.stimulsoft.toBoolean(); break; case "TextColor": this.textColor = a.convertStringToColor(n.textContent); break; case "BackColor": this.backColor = a.convertStringToColor(n.textContent); break; case "TextColor": this.textColor = a.convertStringToColor(n.textContent); break; case "Font": case "fn": this.font = t.System.Convert.toFont(n.textContent); break; case "CanAssignExpression": this.canAssignExpression = n.textContent.stimulsoft.toBoolean(); break; case "Style": this.style = n.textContent; break; case "BorderSides": this.borderSides = s.parse(e.StiConditionBorderSides, n.textContent); break; case "Permissions": this.permissions = s.parse(e.StiConditionPermissions, n.textContent); break; case "FilterMode": this.filterMode = s.parse(e.StiFilterMode, n.textContent); break; case "AssignExpression": this.assignExpression = n.textContent; break; case "Filters": this.filters.loadFromXml(n); break } } } catch (e) { t.System.StiError.showError(e, !1) } } , u.prototype.clone = function() { return l.prototype.clone.call(this) } , Object.defineProperty(u.prototype, "filterMode", { get: function() { return this._filterMode }, set: function(t) { this._filterMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "filters", { get: function() { return this._filters }, set: function(t) { this._filters = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "filterMethodHandler", { get: function() { return null }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "filterOn", { get: function() { return !0 }, enumerable: !0, 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: !0, 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: !0, 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: !0, 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: !0, 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: !0, 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: !0, 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: !0, configurable: !0 }), u.prototype.equals = function(t) { var e = t; if (null == e) return !1; return this.backColor.stimulsoft.equals(e.backColor) && this.textColor.stimulsoft.equals(e.textColor) && this.enabled.stimulsoft.equals(e.enabled) && this.font.stimulsoft.equals(e.font) && this.filterMode == e.filterMode && this.filters.stimulsoft.equals(e.filters) && this.canAssignExpression.stimulsoft.equals(e.canAssignExpression) && this.assignExpression.stimulsoft.equals(e.assignExpression) } , u }(e.StiCondition); e.StiMultiCondition = l }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Color , i = t.System.Drawing.Font , n = function() { function t() { this._filters = new e.StiFiltersCollection, this._filterMode = e.StiFilterMode.And, this._enabled = !0, this._textColor = r.red, this._backColor = r.transparent, this._font = new i("Arial",8), this._canAssignExpression = !1, this._assignExpression = "", this._style = "", this._borderSides = e.StiConditionBorderSides.NotAssigned, this._permissions = e.StiConditionPermissions.All } return Object.defineProperty(t.prototype, "filters", { get: function() { return this._filters }, set: function(t) { this._filters = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "filterMode", { get: function() { return this._filterMode }, set: function(t) { this._filterMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "enabled", { get: function() { return this._enabled }, set: function(t) { this._enabled = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "textColor", { get: function() { return this._textColor }, set: function(t) { this._textColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "backColor", { get: function() { return this._backColor }, set: function(t) { this._backColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "font", { get: function() { return this._font }, set: function(t) { this._font = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "canAssignExpression", { get: function() { return this._canAssignExpression }, set: function(t) { this._canAssignExpression = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "assignExpression", { get: function() { return this._assignExpression }, set: function(t) { this._assignExpression = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "style", { get: function() { return this._style }, set: function(t) { this._style = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "borderSides", { get: function() { return this._borderSides }, set: function(t) { this._borderSides = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "permissions", { get: function() { return this._permissions }, set: function(t) { this._permissions = t }, enumerable: !0, configurable: !0 }), t }(); e.StiMultiConditionContainer = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.StiAlignValue , n = t.System.Drawing.Rectangle , o = t.System.Drawing.Size , a = t.Base.Localization.StiLocalization , s = function(t) { function s(e) { void 0 === e && (e = n.empty); var i = t.call(this, e) || this; return i.isRightToLeft = !1, i.defaultClientRectangle = new n(0,0,30,50), i.columnCurrent = 0, i._columnMode = !1, i.resetDataSource = !0, i.dockStyle = r.StiDockStyle.Left, i } return __extends(s, t), s.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("NewPageBefore"), r.removeProperty("NewPageAfter"), r.removeProperty("NewColumnBefore"), r.removeProperty("NewColumnAfter"), r.removeProperty("SkipFirst"), r.removeProperty("BreakIfLessThan"), r.removeProperty("GrowToHeight"), r.removeProperty("ResetPageNumber"), r.removeProperty("StartNewPage"), r.removeProperty("StartNewPageIfLessThan"), r.removeProperty("KeepHeaderTogether"), r.removeProperty("KeepFooterTogether"), r.removeProperty("KeepChildTogether"), r.removeProperty("KeepGroupTogether"), r.removeProperty("PrintAtBottom"), r.addPropertyBool("CanBreak", this.canBreak), r.removeProperty("PrintOnAllPages"), r.removeProperty("PrintOn"), r.removeProperty("RightToLeft"), r.removeProperty("ColumnGaps"), r.removeProperty("ColumnWidth"), r.removeProperty("Columns"), r.removeProperty("MinRowsInColumn"), r.removeProperty("ColumnDirection"), r.addPropertyBool("ResetDataSource", this.resetDataSource, !0), r.addPropertyBool("ResetDataSource", this.resetDataSource, !0), r.removeProperty("DockStyle"), r.removeProperty("MinSize"), r.removeProperty("MaxSize"), r.removeProperty("MaxHeight"), r.removeProperty("MinHeight"), r.addPropertyNumber("MinWidth", this.minWidth, 0), r.addPropertyNumber("MaxWidth", this.maxWidth, 0), r } , s.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "MinWidth": this.minWidth = a.value.stimulsoft.toNumber(); break; case "MaxWidth": this.maxWidth = a.value.stimulsoft.toNumber(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , Object.defineProperty(s.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossDataBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "growToHeight", { get: function() { return !0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "resetPageNumber", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "startNewPage", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "startNewPageIfLessThan", { get: function() { return 0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), s.prototype.restoreState = function(e) { t.prototype.restoreState.call(this, e), this.setColumnModeToParent() } , Object.defineProperty(s.prototype, "keepHeaderTogether", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "keepFooterTogether", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "keepChildTogether", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "keepGroupTogether", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printAtBottom", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printOnAllPages", { get: function() { return !0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), s.prototype.setColumnModeToParent = function() { this.columnMode && this.parent.stimulsoft.is(r.StiDataBand) && null == this.dataSource && (this.parent.isEofValue = this.isEof, this.parent.isBofValue = this.isBof, this.parent.positionValue = this.position) } , s.prototype.getColumnModeFromParent = function() { this.columnMode && this.parent.stimulsoft.is(r.StiDataBand) && null == this.dataSource && (this.enabled = this.parent.enabled, this.isEofValue = this.parent.isEofValue, this.isBofValue = this.parent.isBofValue, this.positionValue = this.parent.positionValue) } , s.prototype.first = function() { t.prototype.first.call(this), this.setColumnModeToParent() } , s.prototype.prior = function() { t.prototype.prior.call(this), this.setColumnModeToParent() } , s.prototype.next = function() { t.prototype.next.call(this), this.setColumnModeToParent() } , s.prototype.last = function() { t.prototype.last.call(this), this.setColumnModeToParent() } , Object.defineProperty(s.prototype, "localizedCategory", { get: function() { return a.get("Report", "CrossBands") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedName", { get: function() { return a.get("Components", "StiCrossDataBand") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "isCross", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), s.prototype.getDockStyle = function() { return this.isRightToLeft ? r.StiDockStyle.Right : r.StiDockStyle.Left } , Object.defineProperty(s.prototype, "minWidth", { get: function() { return this.minSize.width }, set: function(t) { this.minSize.width != t && (this.minSize = new o(t,0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "maxWidth", { get: function() { return this.maxSize.width }, set: function(t) { this.maxSize.width != t && (this.maxSize = new o(t,0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "selectRectangle", { get: function() { var t = this.page.unit.convertFromHInches(this.headerSize); return new n(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: !0, configurable: !0 }), Object.defineProperty(s.prototype, "displayRectangle", { get: function() { return this.selectRectangle }, set: function(t) { this.selectRectangle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "headerSize", { get: function() { return this.report.info.showHeaders ? i.alignToMaxGrid(15, this.page.unit.convertToHInches(this.page.gridSize), !0) - 4 : 0 }, enumerable: !0, configurable: !0 }), s.prototype.createNew = function() { return new s } , Object.defineProperty(s.prototype, "columnMode", { get: function() { return this._columnMode }, set: function(t) { this._columnMode = t }, enumerable: !0, configurable: !0 }), s }(r.StiDataBand); r.StiCrossDataBand = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.StiAlignValue , n = t.System.Drawing.Rectangle , o = t.System.Drawing.Size , a = t.Base.Localization.StiLocalization , s = function(t) { function s(e) { void 0 === e && (e = n.empty); var r = t.call(this, e) || this; return r.defaultClientRectangle = new n(0,0,30,50), r } return __extends(s, t), s.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("NewPageBefore"), r.removeProperty("NewPageAfter"), r.removeProperty("NewColumnBefore"), r.removeProperty("NewColumnAfter"), r.removeProperty("SkipFirst"), r.removeProperty("BreakIfLessThan"), r.removeProperty("GrowToHeight"), r.removeProperty("ResetPageNumber"), r.removeProperty("StartNewPage"), r.removeProperty("StartNewPageIfLessThan"), r.removeProperty("PrintAtBottom"), r.removeProperty("PrintOnAllPages"), r.removeProperty("PrintIfEmpty"), r.removeProperty("PrintOnEvenOddPages"), r.removeProperty("PrintOn"), r.removeProperty("DockStyle"), r.removeProperty("MinSize"), r.removeProperty("MaxSize"), r.removeProperty("MaxHeight"), r.removeProperty("MinHeight"), r.addPropertyNumber("MinWidth", this.minWidth, 0), r.addPropertyNumber("MaxWidth", this.maxWidth, 0), r } , s.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "MinWidth": this.minWidth = a.value.stimulsoft.toNumber(); break; case "MaxWidth": this.maxWidth = a.value.stimulsoft.toNumber(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , Object.defineProperty(s.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossFooterBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "helpUrl", { get: function() { return "user-manual/report_internals_bands_band_types_cross_bands.htm" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "growToHeight", { get: function() { return !0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "resetPageNumber", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "startNewPage", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "startNewPageIfLessThan", { get: function() { return 0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printAtBottom", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printOnAllPages", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedCategory", { get: function() { return a.get("Report", "CrossBands") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedName", { get: function() { return a.get("Components", "StiCrossFooterBand") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "isCross", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), s.prototype.getDockStyle = function() { return r.StiDockStyle.Left } , s.prototype.setDockStyle = function(t) {} , Object.defineProperty(s.prototype, "minWidth", { get: function() { return this.minSize.width }, set: function(t) { this.minSize.width != t && (this.minSize = new o(t,0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "maxWidth", { get: function() { return this.maxSize.width }, set: function(t) { this.maxSize.width != t && (this.maxSize = new o(t,0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "selectRectangle", { get: function() { var t = this.page.unit.convertFromHInches(this.headerSize); return new n(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: !0, configurable: !0 }), Object.defineProperty(s.prototype, "displayRectangle", { get: function() { return this.selectRectangle }, set: function(t) { this.selectRectangle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "headerSize", { get: function() { return this.report.info.showHeaders ? i.alignToMaxGrid(15, this.page.unit.convertToHInches(this.page.gridSize), !0) - 4 : 0 }, enumerable: !0, configurable: !0 }), s.prototype.createNew = function() { return new s } , s }(r.StiFooterBand); r.StiCrossFooterBand = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.StiAlignValue , n = t.System.Drawing.Rectangle , o = t.System.Drawing.Size , a = t.Base.Localization.StiLocalization , s = function(t) { function s(e) { void 0 === e && (e = n.empty); var r = t.call(this, e) || this; return r.defaultClientRectangle = new n(0,0,30,50), r } return __extends(s, t), s.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("NewPageBefore"), r.removeProperty("NewPageAfter"), r.removeProperty("NewColumnBefore"), r.removeProperty("NewColumnAfter"), r.removeProperty("SkipFirst"), r.removeProperty("BreakIfLessThan"), r.removeProperty("GrowToHeight"), r.removeProperty("ResetPageNumber"), r.removeProperty("PrintAtBottom"), r.addPropertyBool("CanBreak", this.canBreak), r.removeProperty("DockStyle"), r.removeProperty("MinSize"), r.removeProperty("MaxSize"), r.removeProperty("MaxHeight"), r.removeProperty("MinHeight"), r.addPropertyNumber("MinWidth", this.minWidth, 0), r.addPropertyNumber("MaxWidth", this.maxWidth, 0), r } , s.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "MinWidth": this.minWidth = a.value.stimulsoft.toNumber(); break; case "MaxWidth": this.maxWidth = a.value.stimulsoft.toNumber(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , Object.defineProperty(s.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossGroupFooterBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "helpUrl", { get: function() { return "user-manual/report_internals_bands_band_types_cross_bands.htm" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "growToHeight", { get: function() { return !0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "resetPageNumber", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printAtBottom", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedCategory", { get: function() { return a.get("Report", "CrossBands") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedName", { get: function() { return a.get("Components", "StiCrossGroupFooterBand") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "isCross", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), s.prototype.getDockStyle = function() { return r.StiDockStyle.Left } , s.prototype.setDockStyle = function(t) {} , Object.defineProperty(s.prototype, "minWidth", { get: function() { return this.minSize.width }, set: function(t) { this.minSize.width != t && (this.minSize = new o(t,0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "maxWidth", { get: function() { return this.maxSize.width }, set: function(t) { this.maxSize.width != t && (this.maxSize = new o(t,0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "selectRectangle", { get: function() { var t = this.page.unit.convertFromHInches(this.headerSize); return new n(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: !0, configurable: !0 }), Object.defineProperty(s.prototype, "displayRectangle", { get: function() { return this.selectRectangle }, set: function(t) { this.selectRectangle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "headerSize", { get: function() { return this.report.info.showHeaders ? i.alignToMaxGrid(15, this.page.unit.convertToHInches(this.page.gridSize), !0) - 4 : 0 }, enumerable: !0, configurable: !0 }), s.prototype.createNew = function() { return new s } , s }(r.StiGroupFooterBand); r.StiCrossGroupFooterBand = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.StiAlignValue , n = t.System.Drawing.Rectangle , o = t.System.Drawing.Size , a = t.Base.Localization.StiLocalization , s = function(t) { function s(e) { void 0 === e && (e = n.empty); var r = t.call(this, e) || this; return r.defaultClientRectangle = new n(0,0,30,50), r } return __extends(s, t), s.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("NewPageBefore"), r.removeProperty("NewPageAfter"), r.removeProperty("NewColumnBefore"), r.removeProperty("NewColumnAfter"), r.removeProperty("SkipFirst"), r.removeProperty("BreakIfLessThan"), r.removeProperty("GrowToHeight"), r.removeProperty("ResetPageNumber"), r.removeProperty("StartNewPage"), r.removeProperty("PrintOnAllPages"), r.removeProperty("PrintAtBottom"), r.removeProperty("DockStyle"), r.removeProperty("MinSize"), r.removeProperty("MaxSize"), r.removeProperty("MaxHeight"), r.removeProperty("MinHeight"), r.addPropertyNumber("MinWidth", this.minWidth, 0), r.addPropertyNumber("MaxWidth", this.maxWidth, 0), r } , s.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "MinWidth": this.minWidth = a.value.toNumber; break; case "MaxWidth": this.maxWidth = a.value.stimulsoft.toNumber(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , Object.defineProperty(s.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossGroupHeaderBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "helpUrl", { get: function() { return "user-manual/report_internals_bands_band_types_cross_bands.htm" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "growToHeight", { get: function() { return !0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "resetPageNumber", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "startNewPage", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printOnAllPages", { get: function() { return !0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printAtBottom", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedCategory", { get: function() { return a.get("Report", "CrossBands") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedName", { get: function() { return a.get("Components", "StiCrossGroupHeaderBand") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "isCross", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), s.prototype.getDockStyle = function() { return r.StiDockStyle.Left } , s.prototype.setDockStyle = function(t) {} , Object.defineProperty(s.prototype, "minWidth", { get: function() { return this.minSize.width }, set: function(t) { this.minSize.width != t && (this.minSize = new o(t,0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "maxWidth", { get: function() { return this.maxSize.width }, set: function(t) { this.maxSize.width != t && (this.maxSize = new o(t,0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "selectRectangle", { get: function() { var t = this.page.unit.convertFromHInches(this.headerSize); return new n(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: !0, configurable: !0 }), Object.defineProperty(s.prototype, "displayRectangle", { get: function() { return this.selectRectangle }, set: function(t) { this.selectRectangle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "headerSize", { get: function() { return this.report.info.showHeaders ? i.alignToMaxGrid(15, this.page.unit.convertToHInches(this.page.gridSize), !0) - 4 : 0 }, enumerable: !0, configurable: !0 }), s.prototype.createNew = function() { return new s } , s }(r.StiGroupHeaderBand); r.StiCrossGroupHeaderBand = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.StiAlignValue , n = t.System.Drawing.Rectangle , o = t.System.Drawing.Size , a = t.Base.Localization.StiLocalization , s = function(t) { function s(e) { void 0 === e && (e = n.empty); var r = t.call(this, e) || this; return r.defaultClientRectangle = new n(0,0,30,50), r } return __extends(s, t), s.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("NewPageBefore"), r.removeProperty("NewPageAfter"), r.removeProperty("NewColumnBefore"), r.removeProperty("NewColumnAfter"), r.removeProperty("SkipFirst"), r.removeProperty("BreakIfLessThan"), r.removeProperty("GrowToHeight"), r.removeProperty("ResetPageNumber"), r.removeProperty("StartNewPage"), r.removeProperty("StartNewPageIfLessThan"), r.removeProperty("PrintAtBottom"), r.removeProperty("PrintOnAllPages"), r.removeProperty("PrintIfEmpty"), r.removeProperty("PrintOnEvenOddPages"), r.removeProperty("PrintOn"), r.removeProperty("DockStyle"), r.removeProperty("MinSize"), r.removeProperty("MaxSize"), r.removeProperty("MaxHeight"), r.removeProperty("MinHeight"), r.addPropertyNumber("MinWidth", this.minWidth, 0), r.addPropertyNumber("MaxWidth", this.maxWidth, 0), r } , s.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "MinWidth": this.minWidth = a.value.stimulsoft.toNumber(); break; case "MaxWidth": this.maxWidth = a.value.stimulsoft.toNumber(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , Object.defineProperty(s.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossHeaderBand }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "helpUrl", { get: function() { return "user-manual/report_internals_bands_band_types_cross_bands.htm" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "growToHeight", { get: function() { return !0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "resetPageNumber", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "startNewPage", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "startNewPageIfLessThan", { get: function() { return 0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printAtBottom", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "printOnAllPages", { get: function() { return !0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedCategory", { get: function() { return a.get("Report", "CrossBands") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedName", { get: function() { return a.get("Components", "StiCrossHeaderBand") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "isCross", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), s.prototype.getDockStyle = function() { return r.StiDockStyle.Left } , s.prototype.setDockStyle = function(t) {} , Object.defineProperty(s.prototype, "minWidth", { get: function() { return this.minSize.width }, set: function(t) { this.minSize.width != t && (this.minSize = new o(t,0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "maxWidth", { get: function() { return this.maxSize.width }, set: function(t) { this.maxSize.width != t && (this.maxSize = new o(t,0)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "selectRectangle", { get: function() { var t = this.page.unit.convertFromHInches(this.headerSize); return new n(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: !0, configurable: !0 }), Object.defineProperty(s.prototype, "displayRectangle", { get: function() { return this.selectRectangle }, set: function(t) { this.selectRectangle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "headerSize", { get: function() { return this.report.info.showHeaders ? i.alignToMaxGrid(15, this.page.unit.convertToHInches(this.page.gridSize), !0) - 4 : 0 }, enumerable: !0, configurable: !0 }), s.prototype.createNew = function() { return new r.StiCrossFooterBand } , s }(r.StiHeaderBand); r.StiCrossHeaderBand = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.Base.StiJson , n = t.System.Enum , o = t.System.Drawing.ContentAlignment , a = function() { function a() {} return a.prototype.implements = function() { return [r] } , a.prototype.saveToJsonObject = function(t) { var e = new i; return e.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), e } , a.prototype.loadFromJsonObject = function(t) {} , a.loadFromJsonObjectInternal = function(t) { var r = null; switch (t.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value) { case "StiIconSetIndicator": r = new e.StiIconSetIndicator; break; case "StiDataBarIndicator": r = new e.StiDataBarIndicator; break } return r.loadFromJsonObject(t), r } , a.loadFromXml = function(r) { var i = r.split(","); if ("DataBar" == i[0]) return new e.StiDataBarIndicator(n.parse(e.StiBrushType, t.System.Text.XMLConvert.decodeName(i[1])),t.System.Text.StiReportObjectStringConverter.convertStringToColor(i[2]),t.System.Text.StiReportObjectStringConverter.convertStringToColor(i[3]),"true" == i[4].toLowerCase(),t.System.Text.StiReportObjectStringConverter.convertStringToColor(i[5]),t.System.Text.StiReportObjectStringConverter.convertStringToColor(i[6]),n.parse(e.StiDataBarDirection, t.System.Text.XMLConvert.decodeName(i[7])),i[8].stimulsoft.toNumber(),i[9].stimulsoft.toNumber(),i[10].stimulsoft.toNumber()); if ("IconSet" == i[0]) return new e.StiIconSetIndicator(n.parse(e.StiIcon, t.System.Text.XMLConvert.decodeName(i[1])),n.parse(o, t.System.Text.XMLConvert.decodeName(i[2]))); return null } , a }(); e.StiIndicator = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Color , i = t.Base.JsonReportObject.IStiJsonReportObject , n = t.Base.StiJsonReportObjectHelper , o = t.System.Enum , a = t.Report.Components.StiBrushType , s = function(t) { function s(i, n, o, s, l, u, c, m, p, h) { void 0 === i && (i = a.Gradient), void 0 === n && (n = r.green), void 0 === o && (o = r.red), void 0 === s && (s = !1), void 0 === l && (l = r.darkGreen), void 0 === u && (u = r.darkRed), void 0 === c && (c = e.StiDataBarDirection.Default), void 0 === m && (m = 0), void 0 === p && (p = 0), void 0 === h && (h = 100); var d = t.call(this) || this; return d._brushType = a.Gradient, d._positiveColor = r.green, d._negativeColor = r.red, d._positiveBorderColor = r.darkGreen, d._negativeBorderColor = r.darkRed, d._showBorder = !1, d._value = 0, d._minimum = 0, d._maximum = 100, d._direction = e.StiDataBarDirection.Default, d.brushType = i, d.positiveColor = n, d.negativeColor = o, d.showBorder = s, d.positiveBorderColor = l, d.negativeBorderColor = u, d.direction = c, d.value = m, d.minimum = p, d.maximum = h, d } return __extends(s, t), s.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiDataBarIndicator, i]) } , s.prototype.saveToJsonObject = function(i) { var o = t.prototype.saveToJsonObject.call(this, i); return o.addPropertyEnum("BrushType", a, this.brushType, a.Gradient), o.addPropertyStringNullOrEmpty("PositiveColor", n.Serialize.jColor(this.positiveColor, r.green)), o.addPropertyStringNullOrEmpty("NegativeColor", n.Serialize.jColor(this.negativeColor, r.red)), o.addPropertyStringNullOrEmpty("PositiveBorderColor", n.Serialize.jColor(this.positiveBorderColor, r.darkGreen)), o.addPropertyStringNullOrEmpty("NegativeBorderColor", n.Serialize.jColor(this.negativeBorderColor, r.darkRed)), o.addPropertyBool("ShowBorder", this.showBorder), o.addPropertyNumber("Value", this.value, 0), o.addPropertyNumber("Minimum", this.minimum, 0), o.addPropertyNumber("Maximum", this.maximum, 100), o.addPropertyEnum("Direction", e.StiDataBarDirection, this.direction, e.StiDataBarDirection.Default), o } , s.prototype.loadFromJsonObject = function(t) { var r, i; try { for (var s = __values(t.properties()), l = s.next(); !l.done; l = s.next()) { var u = l.value; switch (u.name) { case "BrushType": this._brushType = o.parse(a, u.value); break; case "PositiveColor": this._positiveColor = n.Deserialize.color(u.value); break; case "NegativeColor": this._negativeColor = n.Deserialize.color(u.value); break; case "PositiveBorderColor": this._positiveBorderColor = n.Deserialize.color(u.value); break; case "NegativeBorderColor": this._negativeBorderColor = n.Deserialize.color(u.value); break; case "ShowBorder": this._showBorder = u.value.stimulsoft.toBoolean(); break; case "Value": this._value = u.value.stimulsoft.toNumber(); break; case "Minimum": this._minimum = u.value.stimulsoft.toNumber(); break; case "Maximum": this._maximum = u.value.stimulsoft.toNumber(); break; case "Direction": this._direction = o.parse(e.StiDataBarDirection, u.value); break } } } catch (t) { r = { error: t } } finally { try { l && !l.done && (i = s.return) && i.call(s) } finally { if (r) throw r.error } } } , Object.defineProperty(s.prototype, "brushType", { get: function() { return this._brushType }, set: function(t) { this._brushType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "positiveColor", { get: function() { return this._positiveColor }, set: function(t) { this._positiveColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "negativeColor", { get: function() { return this._negativeColor }, set: function(t) { this._negativeColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "positiveBorderColor", { get: function() { return this._positiveBorderColor }, set: function(t) { this._positiveBorderColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "negativeBorderColor", { get: function() { return this._negativeBorderColor }, set: function(t) { this._negativeBorderColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "showBorder", { get: function() { return this._showBorder }, set: function(t) { this._showBorder = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "value", { get: function() { return this._value }, set: function(t) { this._value = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "minimum", { get: function() { return this._minimum }, set: function(t) { this._minimum = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "maximum", { get: function() { return this._maximum }, set: function(t) { this._maximum = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "direction", { get: function() { return this._direction }, set: function(t) { this._direction = t }, enumerable: !0, configurable: !0 }), s }(e.StiIndicator); e.StiDataBarIndicator = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Convert , i = t.Report.Components.StiIcon , n = t.System.Enum , o = function() { function t() {} return t.getIconSet = function(t) { switch (t) { case e.StiIconSet.ArrowsColored3: return [i.ArrowUpGreen, i.ArrowRightYellow, i.ArrowDownRed]; case e.StiIconSet.ArrowsColored4: return [i.ArrowUpGreen, i.ArrowRightUpYellow, i.ArrowRightDownYellow, i.ArrowDownRed]; case e.StiIconSet.ArrowsColored5: return [i.ArrowUpGreen, i.ArrowRightUpYellow, i.ArrowRightYellow, i.ArrowRightDownYellow, i.ArrowDownRed]; case e.StiIconSet.ArrowsGray3: return [i.ArrowUpGray, i.ArrowRightGray, i.ArrowDownGray]; case e.StiIconSet.ArrowsGray4: return [i.ArrowUpGray, i.ArrowRightUpGray, i.ArrowRightDownGray, i.ArrowDownGray]; case e.StiIconSet.ArrowsGray5: return [i.ArrowUpGray, i.ArrowRightUpGray, i.ArrowRightGray, i.ArrowRightDownGray, i.ArrowDownGray]; case e.StiIconSet.Flags3: return [i.FlagGreen, i.FlagYellow, i.FlagRed]; case e.StiIconSet.Latin4: return [i.Latin1, i.Latin2, i.Latin3, i.Latin4]; case e.StiIconSet.Quarters5: return [i.QuarterFull, i.QuarterThreeFourth, i.QuarterHalf, i.QuarterQuarter, i.QuarterNone]; case e.StiIconSet.QuartersGreen5: return [i.QuarterFullGreen, i.QuarterThreeFourthGreen, i.QuarterHalfGreen, i.QuarterQuarterGreen, i.QuarterNoneGreen]; case e.StiIconSet.QuartersRed5: return [i.QuarterFullRed, i.QuarterThreeFourthRed, i.QuarterHalfRed, i.QuarterQuarterRed, i.QuarterNoneRed]; case e.StiIconSet.Ratings3: return [i.Rating4, i.Rating2, i.Rating0]; case e.StiIconSet.Ratings4: return [i.Rating4, i.Rating3, i.Rating2, i.Rating1]; case e.StiIconSet.Ratings5: return [i.Rating4, i.Rating3, i.Rating2, i.Rating1, i.Rating0]; case e.StiIconSet.RedToBlack4: return [i.FromRedToBlackRed, i.FromRedToBlackPink, i.FromRedToBlackGray, i.QuarterFull]; case e.StiIconSet.Signs3: return [i.CircleGreen, i.TriangleYellow, i.RhombRed]; case e.StiIconSet.Squares5: return [i.Square0, i.Square1, i.Square2, i.Square3, i.Square4]; case e.StiIconSet.Stars3: return [i.StarFull, i.StarHalf, i.StarNone]; case e.StiIconSet.Stars5: return [i.StarFull, i.StarThreeFourth, i.StarHalf, i.StarQuarter, i.StarNone]; case e.StiIconSet.SymbolsCircled3: return [i.CircleCheckGreen, i.CircleExclamationYellow, i.CircleCrossRed]; case e.StiIconSet.SymbolsUncircled3: return [i.CheckGreen, i.ExclamationYellow, i.CrossRed]; case e.StiIconSet.TrafficLights4: return [i.CircleGreen, i.CircleYellow, i.CircleRed, i.CircleBlack]; case e.StiIconSet.TrafficLightsRimmed3: return [i.LightsGreen, i.LightsYellow, i.LightsRed]; case e.StiIconSet.TrafficLightsUnrimmed3: return [i.CircleGreen, i.CircleYellow, i.CircleRed]; case e.StiIconSet.Triangles3: return [i.TriangleGreen, i.MinusYellow, i.TriangleRed]; case e.StiIconSet.Full: return [i.ArrowUpGreen, i.ArrowRightYellow, i.ArrowDownRed, i.ArrowUpGray, i.ArrowRightGray, i.ArrowDownGray, i.ArrowRightUpYellow, i.ArrowRightDownYellow, i.ArrowRightUpGray, i.ArrowRightDownGray, i.TriangleGreen, i.MinusYellow, i.TriangleRed, i.FlagGreen, i.FlagYellow, i.FlagRed, i.Latin1, i.Latin2, i.Latin3, i.Latin4, i.CheckGreen, i.ExclamationYellow, i.CrossRed, i.CircleCheckGreen, i.CircleExclamationYellow, i.CircleCrossRed, i.CircleGreen, i.CircleYellow, i.CircleRed, i.CircleBlack, i.TriangleYellow, i.RhombRed, i.FromRedToBlackRed, i.FromRedToBlackPink, i.FromRedToBlackGray, i.LightsGreen, i.LightsYellow, i.LightsRed, i.QuarterFull, i.QuarterThreeFourth, i.QuarterHalf, i.QuarterQuarter, i.QuarterNone, i.QuarterFullGreen, i.QuarterThreeFourthGreen, i.QuarterHalfGreen, i.QuarterQuarterGreen, i.QuarterNoneGreen, i.QuarterFullRed, i.QuarterThreeFourthRed, i.QuarterHalfRed, i.QuarterQuarterRed, i.QuarterNoneRed, i.Rating0, i.Rating1, i.Rating2, i.Rating3, i.Rating4, i.Square0, i.Square1, i.Square2, i.Square3, i.Square4, i.StarFull, i.StarThreeFourth, i.StarHalf, i.StarQuarter, i.StarNone]; default: return null } } , t.getIcons = function(t) { var e, r, i = this.getIconSet(t), n = Array.create(String, i.length), o = 0; try { for (var a = __values(i), s = a.next(); !s.done; s = a.next()) { var l = s.value; n[o] = this.getIcon(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 n } , t.imageToBase64 = function(t) { var i = "data:image/png;base64,"; return e.StiImageHelper.isWmf(t) && (i = "data:image/x-wmf;base64,"), e.StiImageHelper.isEmf(t) ? i = "data:image/x-emf;base64," : e.StiImageHelper.isBmp(t) ? i = "data:image/bmp;base64," : e.StiImageHelper.isJpeg(t) ? i = "data:image/jpeg;base64," : e.StiImageHelper.isGif(t) ? i = "data:image/gif;base64," : e.StiImageHelper.isSvg(t) && (i = "data:image/svg+xml;base64,"), i + r.toBase64String(t) } , t.getIcon = function(t) { if (t == i.None) return null; return this.getIcon2(n.getName(i, t)) } , t.getIcon3 = function(t) { if (null != t.customIcon) return this.imageToBase64(t.customIcon); return t.icon == i.None ? null : this.getIcon2(n.getName(i, t.icon)) } , t.getIcon2 = function(t) { switch (t) { case "ArrowDownGray": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAN1JREFUeNqs1NEJhDAMAND0cBJBhKIUPwR/BF3MEVypC+gKuojauwiReqZV7hoIlFofaU0VxhgIERE32batU9dai8cQRtd1sK7rKfu+d1b0cj34RjB94YS2bTvyL8iuhLCfKwqyNbuSYFt7AkVc3+R5zkJJklzWUl8J6mxcoJSCpmlgWZbjZRrbc+M4wjzPp+YU9hVBLMsyqOuaBXDMIReIMCklVFXFVjJNE3tNBHdpEUvTFMqyPFXiQpwQYXi4RVHAMAxexAsRFsfxLbIHQr78fEVztwZThPqxvQUYAMkFQzOhj4qDAAAAAElFTkSuQmCC"; case "ArrowDownRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAONJREFUeNpi/P//PwM1AAs2wYkaMjhNz7/xhJFog0Ags2Uiw/8/fxgYQPj3HyD7N8PM3gacLmLCJYFuCIjGB3AahGHI799kGoRmyH9yDcIwhBIXIRsCDjPyDEIzhICLWLClGy1tQ0xDgFhTXhVDLSxdMcJSNkiBlq4xg62NC1ZD4OEE9PLRG+cYrj97iJI4GZGzCNgwTX0GGzM7kgzBMAhumKo2g7WhJdGGYDUIbpiiOoOVtjFRhuA0CGaYpqwyg7WqHkFD8BoEN0xKnqAhkBQMNAgfnqAu/Z+QGhBmpFbBBhBgAD+BHSrfOF/gAAAAAElFTkSuQmCC"; case "ArrowRightDownGray": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQ1JREFUeNq0lEkORUAQhqt5NxALK7FhZUMskBA2TuGshhtwAgunENIv1UlLax3eWEkFpX35a0IopfAL0+RAXde0KAr6FQghhmGA53nwLuwhQkzThCiKYF1XFkNY0zTkZUUIsSwL0jQFXdeZJ0lyq0x8x0DzPMOyLDtEhLmuq4SVZUlPilD+MAzQti1omnYLw3vbttU1Qhg/nOc58LHAaxzHh1QcxwHf92GapjNIhmVZxiCoisN4I7ZtY345RzzNrusOKcop4/MliMPGcYS+708NEP0WJMJkJaI6ZbFVRgjZPxCLr9rPx9WwBUFwAInFfwmEkDAMoaoq1h0ZoFJF5MC7y8p3kfztf/SpPQUYAMw4nSlad+0eAAAAAElFTkSuQmCC"; case "ArrowRightDownYellow": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQVJREFUeNpi/P//PwM1ABO6wJ4a8/83i1j+U2QQyBB9zX8MAjoaDKQaxoJiiDYrg4ilBQPDvx9gMZBh6n1/GIl2EdgQHV4GEVsPoAgHGIs5OBB0GbIc2CDZb2cZ/v36zcDAyAE3iJBhN4tZ/2O4COT8DxeOMrzau5kow0BsAU0J7GEEMgymWMzZFyUaQIYhe0VAS45BzFKF4cO155gGEWOYmB0wIv7/gETGv5/YXUSMYWDwD1vqw2IQuYYx4YpaWASAAx0tAuBihFwEB4xAe5jY8XqJoEEgrwmauCEMImAYCy5DBIy9GMQ8koCafzH8ZyIc2IzoxQipmRWWFxlpVh6RCwACDADTG3TsSFHrCwAAAABJRU5ErkJggg=="; case "ArrowRightGray": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAL9JREFUeNrMlE8OxBAYxT+TuUixs2liYWHlZD2aE+gR6iLFhKTS0k6ZdDEvEcLnl/fiDwohwBN6wUNqBimlwmOOvsG6QIyxS9i7xfYGkVKCcy7Va61RBYqapikVee9TH9u6rtVYCJFqSliOFhf3kBK6n+OcAyHkkCSDyg13bRxHGIYhwypHZy7OXM3zDNZa2OL95MgYc4BEofhEWk6NUprinEEyqPUyYoxhWZYK0n0hryDdoCtIV7T/+0bu9BFgAJkB9COMwS2UAAAAAElFTkSuQmCC"; case "ArrowRightUpGray": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQtJREFUeNq0lE+uREAQxqtl4gJiZ+MAWIitPyuX4GyuYcUKK7Fm5xYW6HklaenX3WbG5L1KKh2drp+vPtUIpRT+IogISpLkFrmua6IEMZjv+5CmKWzbBuu6SitmURQnSLt6S9/3UJblUbjv+7HyiXt8aK8kD8MgFfPPH4EwsG1RyW0Q+uS67mVbH4EYJAzD7xUhxPM8iKLopT+i2Y8rCH5evrjrOpim6Thn2zY4jqMGXSnhIWxm8Kw4fxoPieNYaqFt218QNhrzPMsgy7JA13VJiQrCoqoqorxreZ5T0zQhCILDn6ZpYBxHJeTtpUWYYRiwLMstyDm9fGZZRn+8ouL+uyT/9j/6Np4CDAAvBnYmNVluYQAAAABJRU5ErkJggg=="; case "ArrowRightUpYellow": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPlJREFUeNpi/P//PwM1AAu6wM0iFpJMVu/7w4jVIJAEyDABYy8Gcc8kBoZ/vxj+//8BpH9CMZAN5v9guDWhA7eLkA1jZPzDIOoagdUQMEYCTPic/P7sHtyGEGsQGPz/h9sQYg0Ch5OBNW5D/hNhEMwQMWdf3IYQchHRhoC8jCsd4TPk1YEDDB+u3ACrE9CSYxCzVMFuEDGGwBIfJNH+xvQaKYbAksaH6y8wDXrMZczAxMZKlCFww3p/o4gxwjLtnhrz//rarAwilhYEDcEGGJFzP9gwzX/ACPlOkiGQxAs0CBnvrjb7f6OQ+T+6OCHMSK3yiImBSgAgwAA/ZCfMBhHM+wAAAABJRU5ErkJggg=="; case "ArrowRightYellow": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOFJREFUeNpi/P//PwM1ABMxim4WsfynikHEGEa0QQIG1ngNI9ogMWdfBgF9U5yGsRDjbAF9CwaG/z8YxBydGRj+/QSrV+/7w4hhEAio124GKv4JVPiL4T9QE0gDBP8AGwKmgVjM3grI/4VhGMJrRBgCN8zWgEFASxHFJwiDiDQEJiZmrcEgoCkNNwxuECmGgNS8OnKJ4cP1pwww7yG5iHxDQIARlEUIxpq2CoOYjQ5OQ6Be+k8Q3yhk/v/vms//F7Pk/oPY2NQQnSBxuoTUlI3PEJIMwmcIPLDpVh4RAwACDAAjBPgn9bL/8gAAAABJRU5ErkJggg=="; case "ArrowUpGray": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANBJREFUeNq81FsKhCAUBuCjtBUJIoh6EILEglqry/CtRbQWy+EEhWOZM1NMcJDMPn4vSKy18MRDYwO6rrO3IUTKsvwIozGk73soiiKK0RBSVRUMwwDLskDbtpDn+SVGQwgmmed5LcSEEJBlWRCjV0k2aKu6riFN01OMniFuEh/jnANj7IARPEd+Jy6ulHL90Rizt+M4wjRNb0m01gTbxH1x0zVNc0iDiD82uv0+gvXTOfIRXK9HoNuJ3J27nQixv00tCX1QSn11H5GnLraXAAMACjzifAPsf9sAAAAASUVORK5CYII="; case "ArrowUpGreen": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANRJREFUeNpi/P//PwM1ABMhBWrxMv8pNghkiLKOAVGGMREyRN/GkUFBS5egYUyEDPnz/y+Dlo0dg6ymNl7DmAgZAsJ///1lULOyYpDS0MBpGBMxhoDZQFrJ3JxBXF0Nq2FMxBoCY8uaGjOIqCpjGMYISkfognJaOgyaVjYYhtw9cZLh9a3bKC65tfAJI4hmQeYgu07V0hLFEBAbZAi6WoLRj24IiCYrHaEbAuKTZRC6IWS7CN0Q8g1CM4Rsr6Eb8peAi1hwSVxevpak8oiRWgUbQIABALWj3x6/E6sXAAAAAElFTkSuQmCC"; case "CheckGreen": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaNJREFUeNpi/P//PwM1ABMDlQALiDBI1iBFTy+ULgYRF+beQBhEAmgXUpYp+gcMjQ/3nsANI9WgChEVmQpRHRWGf8AQ+fX1e9G3l293A8V3kBJGHkDcIqapyMDMysLw+uodBqAhy2CGEGuQIhAvVbUzYGbj4mB4ff0+w7vbj84CxVJIiTVmkCEKRqpCgjKiDB8ev2R4eeXua6CYPxB/x2VQFBBfAuJwJLFSGQ1ZS2ktBYZ/f/8xvLkLDuAIIH6KKx0JAfFkF39TXVlliRVA9mEgdgXiRlltBbCCJxduM3x5+a4PyNyHMx0BwQRdEyUhMSkhBiEJQQYpJQmbe9ce75JWl2Xg4OZgeHTjCcOLm4+uAdVV4k2QoNC/fOae/e/f/+S0jJUZpBTEGETlxBh+/WNg+PbtF8PdU9d/Qb30i1AWAUWlxo2LD7pPH7zK8Ob5e7iCB5fugahuIL5MMItAASgWyh7ffXEWiOfo2WrzsHFzMjy5/ugOULyJnEy7EogdLh2++u7xjccM0HD5RW7uByU455cPXm4F0muISfqMg648AggwAJuyjeLhsHEtAAAAAElFTkSuQmCC"; case "CircleBlack": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUhJREFUeNqsk0Fqg0AUhl+CghtBEV24EZceIAHXzbo5SS7QA/QCOUldpxdIlp4g4EKJiAE3EqJ9f5hQR9o6UAd+5qEz38y8979F3/c0x9DGH3Rdd3l6ZW1YK1bAOrNOrAMrud1ul/G+xfBGDHnhaReG4dZ1XbIsiwzDoKZpqKoqKsuSsiz74DV7hn3+CBKQ9ziO177vU9d1D93vdynO85zSND3y2rchbDl4zm4KAjmOQ1EUrbFe7PsGISd4zhTkGdu2TZ7nbUUuJdAGOVGBPGPTNEkURAKtkFhVCGYUQVRVAgX4oQqBNO3hnGAMOqPEqhDEbduS8JcEOsEnqhAIBwuTSqADzKYKQSxAhzEogWNhNhXI9Xqluq7h8EQCid7Zw7FFUUxC+NCjaJPLn70Gs8EnqCSqg8TiKZC4ye+9Nmv3/2csaabxJcAAcxjHnyL9wHkAAAAASUVORK5CYII="; case "CircleCheckGreen": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnFJREFUeNqsk11Lk2EYx//bsxdns+l61t5sAyeo1IFBc5KNJBMhyAVBQSfRQYd+gT5AX6CjAqEd+AEyCIrZm1tao6MwJ6lzM63N9qJ70af2PE/XPR5kz9KjdsOfG27u+8d1Xf//rZFlGa1YuuaD/rseG22TpKskP8lLSpHipAhpNhFO7zS/0zRWRJAx2qa8/WdDvLMbFp6Hob0dldIuijtZ/Nr+jh9rq8/oziOCzR0JUiAPA+PXhuzeHkiSCFGWYDS2oSaLdYl0trm8hEQs9onuPmiEaRvamWqGsL0RIlQrcJhtGAlODLH7yjvVjCZZO80Q9ljDIGINxfUN9Nv7MBoIQa/TI5FaDuXS6ef0dvqwIjZYNpNmSF0E2UumcbFnGPcv3cOIbxidJgvaeSsUQ1QV+dlgjW0mVIoFSATTmU3QEGgvmUKwN4g7/lvgtFq8WHqFuZW3MJ40Q3FVBfLW3Snkca6jB8yA2PoC9KetGHAM4PaFm3V4+MMMYsmP2LcawBkNUKKhAqXIYp98IGDMPwqXxQmbmce71SgmAuPQaTk8iT5FlOCSsxM1jQShUoWSLxUoTjnx8W433qy8x5W+y7gxeB3nPYOwnujCy68RqmQRkrvr0MXq7i6UkKJx2BEWNo7ai60t4PH8NOKpz/Baz6B0UMLrb/MQbR2qKFRzeShJV1U0yxJrcdhDXS4XNjKbCC/OoFAtoiSUsVXcQo2qkfIlyAySyaK8nWEJnz022b2BwJC1z4c/ggDpZwF6jkNF2MfvbgvkXAllgmS/JP5J9pF/7ZTHE2I5YRYzd9hg2UxYO0olx/+1lv7+/1latGj9FWAA6TNb6dqAJ/YAAAAASUVORK5CYII="; case "CircleCrossRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnBJREFUeNqsk99PUmEYx7+IEgkxAcGIBJFySRetlV61thbppgXp1lVbs9atF932B3TbRRdtXXTR1tpaa0p3hs7W1loOqxvJViiCoUd+qYAThNPzHA/FMb2Kd3v2nHP2ns/7PN/n+6pEUUQ9VuPeDw89DgslH4WXoofCSRGlmKEIUgTuzS2t7f1PVVsRQS5TGu0+c95/vMMNa9sx6HUG5LJpCIk44ksRhOe+jtOeRwSb3BckQx70D9/sdXd5gEoFYrlCuQzImd8jP8KYeBv4RHvv18IaatoZZUizWoVMMQ9hNa6ArMYXkRWL0Gs06Ls02Mv75f/+glgTbocrUTfrYBq4htbhGxBWYhIkEZmHcWAQllsj0DgdcLW7cMrd7Ze1VIC8rAm3s5NKITcbgrazE2bfEJLrKRi9fTBcuIjtxQUUY1RpuQw76ScPRDG1HhaWNbCd9GA5OIGdbBamqz5YR+5AfcSA9ekpZMbHYG21SSBLixnyVBUVOXk6VU3sXaeR+/iBqktCY6OTVSpsTE3+gYhUuV57GLI1FKAoj7gqbIImY/IP4VCHC1vfwhBLJRh9fgjJXxKEYbnNTcj+UoBm2CcSZOE7TL7raLnSj/yXWaw+eYzM2Gvozp6D9fZdJDOCdOBaWoBsUgUoyGZjjVTURqPRhPznEJIvnsNqtmHj3TTSr16iUiiQqmrpwLiQgOx0hdgBdmy73enXbhUgPHsKbJfQZnNIbRx1nsDKGzJ0U5MEi2i0mI/9ZIcHDnQ2m419woCqsLvPu/pFlqMIht7/4+x97xqbjX3CI+bpsLCsCbcjV3LwXavr7f+f1YA6rd8CDACvEz/0lnIIPQAAAABJRU5ErkJggg=="; case "CircleExclamationYellow": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAihJREFUeNqsk09rE1EUxU9mnDRJkzChthiIjWiglAiC0AquhIauxIJu+xWK4LIfwKUbEUHcu3FjXEhLBaFuNKIVKY2BSkLT1ESatJmaOH8y473xTZyp7coMHN4w777fvHfueQHHcTCM58zxD5v3guM03CLlSDOkNKlCKpDWSPnsA+PH8XUB744IMkfDUuLKjYXRC9MIJyehxFQYhw382vuGo3IRB1/evaCahwR7fSJIQO6fv313Nj51FZ2mg87nJ5DVDOxOHcrYNGIXk2iXNlB9+ew91S57YZLnOEsuBI4FY3cdsWvLSMw/hTr3CGZjg76biGemkLp5Z5brxbq/IPaEj+NCWNb+VwST1/8URc7B1jUxR7BLGajZywvCSx8ox564EIckRcZhtYr9SbvbQEAZ6UNcWDSVgmiIDzTDxroQHpWzWXRLz/uTenkF0mhyAOExNDEG0VUfKM3dcSGsaCoGs/6J3m3ou2+RyGY8O6IfRUMQ0fCBKtxieEC8yDZaaL5ahNXc8kH43WwfQuTLBypwTryFRzUdcnySIORTQEZrs+Q7WrdRhwipD7TGYfMWmvtbGEnPY2LxI9TcY/Tae4M5tuDnTg0i6T5QnhPLYXNhcpA8+l4gnz5A33kDKRgZQLTtMg6K25zw/KnJ5rBxTrSKhp5WhaXVIClhan+YcmBADvVQXV3/J9kn3jUOG+eEW8zdYWPZEz6O2Mnpd22ot/9/HglDen4LMADOWEcoNWNH9gAAAABJRU5ErkJggg=="; case "CircleGreen": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWdJREFUeNqsk0FKw1AQhqdVWghiUSPaIg2Ii4LrNgewblzYI3iCXsADeIGewCPYdV120y7dZKFgg1SaWDHYBlwkcX4dsa+oeWAe/MyQvPfx3sw/uSRJKIu1uvyhdlbd5nDKarLqLIs1Yg1ZPVbXuXT95XO5xRsx5IhD26odtszyHpVMkwqGQfPXgF58j57GD/R4d3vFezoMu/4RJJAL+/iksWPtUxxHFCXxZxQhn7j35PT7A957vgjLLzynnQZB3KhU6MC2G9gv575BqAmekwb5UBRRqbxLW9VqS2qpgJqoiQ7kKzfMTZKGKKA6CqsLgYrrayRdVUAWuqMLgVaKBRJrKKARWqwLwf+3eUjiLwU0hE90IVEcUxgEJCZVQD2YTReCPJw+kzhdAXXhWJhNBzKbeDQbT+DwrgKS2enAsb7rpkK8G2cgY+L/OWswG3yCFqM7KCxqgufITX6ftUyn/z8rTxmtdwEGACHEx5NTsUeYAAAAAElFTkSuQmCC"; case "CircleRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWxJREFUeNqsk79Lw0AUx1+Lg2IRQargj9YaENvFxXYXiw6CBVf/hg6u/gGuDv1LzKhxcmtxcGlRNJAaKTRQhHZNzveVB+aKmgNz8OXlkrvP5d77voxSitIYM9MvriqFPIcTVp1VZRVZHqvDclj2ebcfTO/LxP+IIQccmuXdvcb6pkXLK6uUm1+gyceIhgOf/L5Lve7jNa9pMezuR5BALo9Oz2rWdoUoikiFEceQSCLm7kuPbm7tNq+9iMOyses0kyAUhrRVsOhw/7iG9bLvG4Sc4DpJkC/x99JGiXasckNyqYHqyIkJRMnzGudPCqKBqkisKQTKLy6RVFUDFVEdU4jieW52jsQaGshDiU0hiJPxmMRfGqgDn5hCcGAwGpKYVAM5MJspBAf6wwGJ0zWQDcfCbCYQ992jp7dXONzWQNI7LTjWdZ8TIc7DfVvaJPiz12A2+AQlRnWQWOQE15E/+b3XUu3+/4wspTQ+BRgAOf98T7zyo24AAAAASUVORK5CYII="; case "CircleYellow": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWZJREFUeNqsk0FLQkEUha+SYWRiREHwyiBBwiAIdB3kMhLqd0jQsh/Qso0/onWvXdiqVboJJBDDUJIi3eirKDSY7olrvZHqDfQGDvfxmPmYOffcgFKK/Fhjoz+u98dnuWyzsqw0K85qssqsIstOHfU7o+cC7hsxZJNLfnptIze5tEIT84sUmopRv9emt4dbem5UqVu5POE9BYad/wgSyOHCzl4mmlwnUu+fUlKHcmpX1Do9LvHeAzcs6HpO3gtCakDRRJKsrd0M9su5bxA8wXO8IF+w5QTFUqs58VIDZeGJCWRYI5ZF0hANlIaxphDU8NwMSVc1UBzdMYVAoUiYJBoaqIkWm0LwPXB6JPnSQGXkxBSC+tp+JAmpBioibKYQWPByd0+SdA1kI7EImwnkqd6gbrWOhNsaSGangMQ6NxVPSOvsoiRj0vlz1hA25AQtRndgLDzBc+Qmv8+ar9P/nxUkn9aHAAMA0bFpX/he+/QAAAAASUVORK5CYII="; case "CrossRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAktJREFUeNqs1EtoE0EYAOB/9jW7qQoeDAhW6qHgQaoogkKFglpLLG2hVdOmRVpEMYciInjx6FnEQ9WbRC3W4qO+KCSmSHOoCILE0lIqCjm0iErSbh6Tndl1dsmWmF0RIT8MOzM78zH7z88iy7KgHiFAnUJyOzf277YfQTXQ8KZUyId4//tf9jRijN8SQlrtNZc/LnpOFORttb379AH7WRnXRhNHFjrbOppr12xACsafIhcuocadu2Dk4hXkgzWpWE33h/oatm3ZCt1H2pGq4IQHYpTGXj2O5Ug+DxrGMHxutBpzkHCod5MqyVDUdXiRipulMjnmhRi7qq/l7k7E7qwV8zposgLDg+cdrBaJTT8x+W1vr84jcq+/kmxACF3XtMBouHdoM5YksAwDEGNgUeog96efGqZl7nARv2Q7weFrxWLh1vjkPR34ZhehpZIH+WcdcWzMMi3BhmwEDAqSZZ8WrP8pyKAoil/7T/YFXMQFI60nFFEQMn6lUQsFeY5WhrrCipvYR4mp3M/sLwfTBBEiB9t8MaEWOdszILjIePx5MauvH5+am8m8X0ozG1M5NrD3sCKiP7ENiF/xTM/RTgchhQJMJl+vG5Tu468+lKnRsriSSaeW5wkvONCQCF3NLQoWpZQHImXyLDn3LscIgZez8WzJILf59FLlNR+XD335sTqbXJ7PM44lvi3kCKOnfOtIlqQxWZQHDWo8MBiN+t0OP8WELIgdHHlomCzq1pFUvYh/SpS3m1Un8QQHzvC2h3c/V8+jev3YfgswADMCLXXUtkcxAAAAAElFTkSuQmCC"; case "ExclamationYellow": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAM1JREFUeNpi/P//PwM1AAs+yVfZrDZAqgWIFYG4T2zq74k4FYNchAu/zGK58f3Usv9/Xtz8D2S/wqeWiYCL2ViVLGHsd2R7DQie/vvwVPH/zy8g9n1KDHr0990jhv8/PlJs0NPfzy8z/P/6nnKD/jy/CjToHeVe+/P6NgPDN7DX7lAW2J9eMjD+/A42lBKD7jN+/fQUSHMCEyPe6GekVhZhYqASIJTXVgCpcCh3PdB7QeS6yIbfi4cBhIHAg5LAnv5x25dAmIuGVmADBBgANf6AfKLR0tsAAAAASUVORK5CYII="; case "FlagGreen": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAblJREFUeNqslDtIA0EQhueinkpOTRSTiA+EWAnBiIUgWlgINgoK4gO0tLO0UhuNlaVYiJVWVhai2AlaiIhPjIIgaJFo3rlcHpf3+R+cEIMhiXGOj1lmd/+dHWaPkSSJ/sPKvwdTK+NmuBlgAvI4Ds7A6v7awWs+IdX3IBFLbjrpY1EyxIa7B42GkYn+tnaTbhZTTzhkvmCh091zu+vST96UhwIxgVQVDJnMRqrrVrFpLr4NsaGChHhXwOJ4dvsSvjS5eA8JkRCpy9XUYtBTqkGUl+xBrCOvEIpuFYPiS+KNyCP4yCv4KZVOk75GR5yOJak5bMCyO4hZQE9OIdnEYHTr49ZpE/1Jcge8FBZF0lZrqJFrpKg2SM0DLNfaWbek1rDXEDvKKQQ7dr67bZWfHDmsAj3ev1KIj1JTrY7YMpY8fIAkfGE+bsfahcyNTHYfMQyzDmebXB67gh9VMCvT90pLbKAl7D82ykKZwLrAYXY8H9lXk4MPcBFk1ldMZ6tyxE/AdFFv5Lc0YQ3gHNT/+WqKuBfuBkyUlJGSVS+4KCkjxa5BFYreW0qx5VNScDtgrhAh5r9+bF8CDADfci8waj1snwAAAABJRU5ErkJggg=="; case "FlagRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbFJREFUeNqslNsrg3EYx7/vEm/DnFbkkFpulMNKUrh1607iQvkDlPuhzJRyQcmF041bdyJXkmOSY9w4jJlNo9m8NlM7+r56J7QZ5qlPz6/n/b3f9/v8Dq8QiUTwH5ESHYwaTXqmdlJJ5LGfrBJjd1/PRSIhIepoyNC7Xna811iQJqK4sBRifhFuvI/YFEVZsItik98JqaKDsZlp+5zTjSzLBVQuJ8SAH1VparRenaeWSO4JOm76kdDtncO0bbW5rrNz4X98QODZgxDdaUU1Khx2ecosxcoSCrHFE+lJOl1XayjkQkByIxQOIZKjhc7nRYPdWsBpBxQzkZq4QnJIHs/4ssVqu9VkvbkKvvgQTs8ENDnQW83odN5n1EIwaIFdii3EFWIsnl2abRvl1Vgp1WE/6Me9ilPoCsxe7xOtA05A7rUr5q69FwRhkMk20j+ww9ysoFceHypHYpi7aP/0oiz0EUY1mf9aT8TX1uTiEZOPzup/c7JVcepLpO1XdySWTUYeWSO5f25NEX9g2iMtSTlSXNWRraQcKbFLRC56XTKLLX8lxDRFOn4iJPzXj+1VgAEAH8EvI11TK0kAAAAASUVORK5CYII="; case "FlagYellow": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbZJREFUeNpi/P//PwM1AAuMMWfWZAMgFQXEukAMYv8C4oNA3JSSlnuHkEGMMBdNntR92Fxyh42oCD8Dn7gZwx9WdYanj64wnLsrADIwF2jYLHwGMcEYXd0Tns5Y/4NBhusMAxfjIwZu9t8MasoSDD6aG9mkeG7NBLrYlSiDnjx51nLg+NN3t1+IMTD9esjA+PcNw38WMQYBQQkGDcGjICWLgIapEDQI6MUr7z98uLnxlCwD0+/HDIy/n4HF/3JoMcgKvWIwldwlAeSeBxrWAsTGOA0CgQ8fPk7duPfJk4dvBIGuegR01SeG/2wKDP/Y1Bh0BLcyhJsf59FX/VctxPf/DNCwLTgNAoKtN67ferL+ogvD9osqDFdvv2F4/4Wd4R+HDsN/Ji6Gb5+egtzO8O4TI4iRizXW4AKMjK2gIJs9c9IpIO0HxQZQ6QvQJNENjMWnKBpBBiFjINAH4k3o4oQwutdAgheB1Degy6xISdlMOMS3A3EkSXkEmzOBQBiIDwGxENlegxr+FkidBeJQilwEdZU5EB+jyEVQcAaIOYCBbk5JYINs+QukZgNxHDEGMVKrYAMIMAANgSkwr5PF1QAAAABJRU5ErkJggg=="; case "FromRedToBlackGray": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQFJREFUeNqskzEOgkAQRQeQAB2NNafAC0itLZfgAh7AC3AJWqnxAnIKahs6IITg/GQSl40GN/KTyRL4+8LO/rHmeaYttNNfFEWx5+XElXDFXBFXw1VzVVxlmqZPfZ+l/hFDjrxkQRCcPc8j13XJcRyaponGcaRhGKjruht7cobdP4IEcg3D8OD7/tcj9H1Pbds++PGiwmzlONkaBMJ3+OCXfW8QeoLjrEFUGPzSywUoQU9MJP5EB8VorInEH+ugCLdjIvFHOqjBFZtI/I0OqpETE4m/1kEVwmYi8Vc6qERiEbZfBJ8kvFyAZHZyJHYNpiQ7V2du+1nbdPr/kU0b6SXAANBmkg+dr/KQAAAAAElFTkSuQmCC"; case "FromRedToBlackPink": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQNJREFUeNqsk7EKwkAMhnNV6CI4FF27+QYVnO2sT1IQRx/AUYQ+iZ3rLNg3cOuqOBS6OOiZQMBrENvD+yHk6P33cZcmSmsNLtSXH0773QjTAiPGiDBCjBKjwMgxstlqfZPnlHkjhMwxJWP9Wg5BwwC3fMwPUFArgArzVXkH9KQIO34FMWQ70c9p8OO5d6XgonpnXG5MmGc8J2mDkGiffOTncx8Q1YSeE3QsPPnIz7VsgGKqiY3YH0tQNLDsAvZHEhT6ljdifyhBJf1iG7G/lKCituMA+wsJyivLG7E/l6CMOpaarYvIxx2eNUA8Oyl1bBvM6OzUnDn3s+Z0+v+RB470FmAAb6uGD7csPvsAAAAASUVORK5CYII="; case "FromRedToBlackRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARxJREFUeNpi/P//PwM1AAu6wPEJfaJAyg+IXYDYFIjlgfghEJ8G4j1AvMmyoOg1uj5GZBcBDXEGUrliJ07689+6zcDz+BED+7v3DD+FBBm+yMoxfFRTZXhlYb4RqGYy0LC9KCaBDALhY/29zkB88o2+HshonBgkD1IHUg/T+x8iCzZEFIg3EDIEzbANIH0wg5igDvMDeUf44iWiAhakDqQeGpZgADPIBRQmpACoehd0g0xBAUsKgKo3RTdIHhQ7pACoenl0gx6CopgUAFX/EN2g06B0QgqAqj+NbtAeUGIjBUDV70E3aBMoxb7V1yPKEJA6aArfhGIQNO9MvpUQf4qQYSB5kDpoNnlN9bzGiF6MUCX3UwKYGKgEAAIMAARGyzW+NImdAAAAAElFTkSuQmCC"; case "Latin1": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE9JREFUeNpi/P//PwM1AOPQMoiRkRFFEqiWEZdaJny2ADUqIrFD8allIsH1Z6hlEMOoQUPQIBkGAokOJwZJw7CCgsJ/fGoZR2juJwUABBgAdtBRjTJr3HoAAAAASUVORK5CYII="; case "Latin2": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFdJREFUeNpi/P//PwM1AOPQMIiRkRGv6UA9jOhiTDgUKiJrQuOHYtPDRISrFdD4Z8g1iCgwatAgM+gBGl8GVyrFwCBhGFZQUPiPzsemh3GE5X5yAECAAQDrlVERvvylPAAAAABJRU5ErkJggg=="; case "Latin3": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFpJREFUeNpi/P//PwM1AOPgNoiRkZEkU4F6GZE5yFgBJAQRxuCHYJGHYyY8Fiqg8c/gk2dioBIYNWiQGPQAjS+DVx45UcESGwgrKCj8J8RH1ss4QnI/JQAgwABSHWh1IkE1yAAAAABJRU5ErkJggg=="; case "Latin4": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAM1JREFUeNpi/P//PwM1AOOgM4gBZBDUsP/4MBAoYFMLE2NCMlARiR2KxldEs18aSpvABJhwOPQMiDA1NYXxH6DJS0Lp54QMAgNFRUU/EG1mZoYSkEALzuTk5IBc+gwjjEBhgB4ebW1t5uhiQCAFFTNG0ovfIBANtB05UEFqjKHqpJANYiIUq+jew+otQl7D5j1s3iLGa+jeUwC6BsNb+AyyQRYPCwvzRUqEGK5BMQg5tSooKPxHUQR0AchVgQEBWF0DwozDN/dTzSCAAAMAQQ5HEXoVVCwAAAAASUVORK5CYII="; case "LightsGreen": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAoJJREFUeNqsU81PE0Ecfdtu22VLS1BEIsGkERA/YoIfkJh40pqoiCc9+hcQE/4Bbx706N2z9/oRDdGLMUbTRqJ4MSRIAaWLgMDuzHZndsffLAFpoJ74JbPz28zM2/fe7DOUUtiPMrea0ZEbN7O5fKnVthFGIWQYbc5CUh9CCIFQSgRBAJv2qFCOlp6/eLZ13tCMNAj1peKVIsqVMpjvg3MfjHMwxjaH58GjoXsN6tOekevXtsFiRprJxeFh3Bsfj9H7zw5g6PYges8dwaq/DMdl+POFQ76aw+Lk4rYcI2mW9PQPiKiWK5V48XzxAu4+uIMDLQfBpIf59VmSOA1+SqHvTD9an9j49mYq3ru2ttboUUgecJ+j82gXbt2/ikL7MfS1D+A3cyBkgCVWg0VSuVQ4MdYN57uDpTmnwexEDBRF5IeP45f7YSaSMA0TLaZFfQoJeo/ZK/00Yh0ni4W9by2KgTjsHhMrfBnV9R/ggsETLrFx4AYbqEcKSfqsSbiHeu29gYQU8W2EMoOf7jxCJTGXqkJEAcmrYYVky8hA3gIypoLcFLIbSMoQHgEpN4VfXh3r9VlY9PmQ1jwRwRWKpBpozShkUwZWvbA5I+4Ro6kI9lAWK3VFXkTQxmhPcmkCSUdotwykSdvsp+UmjAIB13NRezuNnksdyJ/OkDzyxDDIcGKTVshnDFjpJBY+1DE58XUXUCxW/6mczNb1/nEF9TJDVw44nFPx3JFNwkqZmJlgePnoY/Os6ewIypAub3UDrx++Q+fTThQGu5G2UwiYxMznBTjVWsPhtra2RiAdQMpOaecmp+rE43+lzzWEdiv9Ojs7f/tmpZnsmf79qAT2qf4KMADo908btDBkcwAAAABJRU5ErkJggg=="; case "LightsRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnNJREFUeNqsVE1vElEUPQ8GinwUWrR+p1YTA2hDXGgT11YtlLr2DxhWJv03jfFXoBjizsSdJZomtJoYpS0KxgCF6QzIfHneJNA2wsKkL7nzZvLuO/fcc+8d4TgOTmMpw5e11WwuFJkuhIJBWJYFy7ZdM03zyAwDg8EAQfo4lrlWeF18NbwvJCMJwvfC8oNlfChvotfvo0/T9R40XeeuQzvUuNN6PRgEk+ermZURmMtIMrm/tITn6+suejwSQeZWEk/nZgGvCUfp4y08KP5W0VW1UTrCqxTkNgIKk+pmueweLl6bx8snq7g9fxUMC+vHPuy9KrKmhfydJPLVBrb2aq5vp9M5qZFJTSTl2UgYL1YeIn33HjwLC3DaLcYTcNQunE4bScvERiqBXLuDpqqeENsjH1LU/h/mnLyJxfNnIWIxeK/fgDg3BxEMAT4fPb1w6JdSFGQSiX+q5gLZdJCMHsXCbnSrUYf56SPs6nfYB22AZyAbQTB4FTy+dHl8+Q2WVtN0YMqCXa/DoX72T+pAlvavBuxWExgYwJkwhD9ALSb0kewRWWI2A4FqENohnIC8QGD1wGUpFB/TnHbBoB5OBtI0DSV+ZsjG6ZMVRSY1Vxfh87NHYhDROEQghNKXz+M1MtixOoGK32rYkVGnggzBy0zDE5mBmLkAT/wiRDiGCtm+2dmeoBE7Ve/p6LJ78193sZFOI0UWQjCO3z8CrjD9Z+/fodntjgeSs2NIMbm2dvfZJwfIJFOszhVWbOBaieIXtytoHeufaDR6hCRnLZfN5IQQ8jfwXybvyfvSxPA3IgdXzs7xtp+0JJOx038ay4NTWn8FGAAI2k45EVMz0AAAAABJRU5ErkJggg=="; case "LightsYellow": return "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="; case "MinusYellow": return "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="; case "QuarterFull": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALhJREFUeNpi/P//PwM1AAu6ACMjoyiQ8gNiFyA2BWJ5IH4IxKeBeA8QbwJa/hrDJJCLYBgInIF4A0gYDwbJOyPrA+tFM+QkAUNg+CS6YTBDRIlwCTaXiaIblEyiITCcDDOICRpULmRGlgtKYAPBHTJddAfmIkYwwcj4G1tSIAL8AepnBTFgXntIptfg+mAGnSbToNPoBu0h06A96IFNnXREtZRNjbzGiF6MkJv7GalVHjExUAkABBgAZ7bvMbpLRFkAAAAASUVORK5CYII="; case "QuarterFullGreen": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAX9JREFUeNqsk8FKAlEUhq+OLixTMMxwJqegAYPcBOYD5LpXaCP0TIGbXsG1PoBICzeiJKQ2Y0TU4ExQLe5M548rzUyFF/LCP/fcgftxzzn/ifm+z9axEtEf5YtSnrZzUp1UJemkKalHapNaw+vZU/ReLPgigpwpSqKRyW2re0ZZ2dF1LbWVKboLe/44nZjWeMRfbdvyOG8SrPMrCJDNTPayfHJa2j+q1DzmMe7TV4gLmcNBd9Lvz95d9yoIiy/TwUtWQRAXDKOmVY5LcUVpiDJ8g1ATpLMKwj3+FeeNw1oqm1VFLUOgOmoiA1mecwe6IhoS6lqVCpuUhXCfs7S6q7EbVoiCdOqONARxMr1RDHZtmdoULZaFIH5znLnwVwjUg09kIdgd68EUJg2B2jCbLAT7YnLPhdNDoBYcC7PJQF7Gd90Px7VwLwTC7MD2cKw1GnZXQZ4HtzOfe83gzP2YNTgWZoNP0GJ0B4VFTZAOXiIgnT+Hdm3T/58VZ2tanwIMAF5R5JGe7b4mAAAAAElFTkSuQmCC"; case "QuarterFullRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYJJREFUeNqsk89KAlEUxmdsmEhn4SzMZpGWlkELK0No1UbXvYfLlj1By5a+h2tdtkkQlQiCQR0hxjIaw3BKZpzuR3dorhVeyAsf98yf++Pcc74jep4nLGNJ8y+u9hMxsp0RFYnyREkig6hOVCWqnN/1h/PnxGBGBFKQw5GSls5kdw+O1Y1YPKqsyNKbPXHMoTnSb5uW2dXbU3tSJrDaryBA4unMxdFpIZfSEqrguoIvD7vzFXdeBlbz5rrxaHQug7CQfx1ksggiOI6wHVHVw9xJTl4Ll2gZvkGoCa6zCOL5sFVF1Ta3srSWDKiImvBA/HgntafShjCgPArLC8G+HlaitKtM+5PoDi8E3xR3JlFrMBkZaDEvBP+MxZlD/cWA6vAJLwTPT/Z4RE3KgKowGy8Esd7TLep0BlSBY2E2HkjPm1qDh34b5xgQZge2h2O7r8/WIkjrvtWYvtvl4Mz9nDXiWJgNPkGLlQ9XQmFRE1wHmVBI7c+hXdr0/2eFhCWtTwEGAOMrnODZ7gExAAAAAElFTkSuQmCC"; case "QuarterHalf": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANZJREFUeNqslDEOwjAMReuqHKEnYOECTIzkJjlclg4Vcy5Q5QphYOYIIJnvqkbFVB2ifOk3VVS/2G4SYuamhjo7QUQnDBfYwWf4CN/hBEf4hsWffyTJSA1d4dF7zyEEzjnLpPUo363j5lgDmYZh4LU2QOLJwhTSy0oWsgPSzHoL8lLOlnZAYq+gdmmVg0p+lvtpNpSlsQUZZc2I5gfRC+qgZmM77GX0RvxBXrS0B1RS2jdIQQkqASULilAJKNpm19lH1XZ2jbNG9hopPf1U6z5qm0r6CDAA2axZLQC7wZgAAAAASUVORK5CYII="; case "QuarterHalfGreen": return "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=="; case "QuarterHalfRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAadJREFUeNpi/P//PwM1AAu6QL+WnCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qbyq89ug1uj5GZBcBDXFmYWdPEVJWldbwCWRWtHOS4Tp7Xu7L969/nj9/8uH2+dPvn9+5eenXt6/TgYbtxWoQyBB+Gdl009RsOd3QKHOYgl9r1iJU//3LcPfh3ffnD+059/Le7XZkw5hg3gG5BN0QFAA05P/vPwxKolKChpZ2RmycXJnQYEAYBAoTkHcIGcLw+zcQ/2JQ5BMRlFRQ1oOGJYpBLqAwIcaQ/z+B+NcvBhVVTUFohKDEmikwYFmxmYPNEIafPxnEOHkEoLGKYpC8gLw89gSCxZD/QMzz+w8LNGmgeO3hh4cPn2E3CNMQBiD78x+QU8HpC8Wg0/cP7XuC1WtYDAGJvfr26QM0kaIYtOfGlvV/sRqExRCQK+88uP0emtJRDNr07u7tp5dXLzuJYRIWQx78+/X+xbPHl0D6UAwC5Z0/P3/OOT176iN0w7AZcuHW5XO/fnyfjpznCOY1tjnz5UABCwoTkHdALoEashdnpqVa7qcEMDFQCQAEGAA1Zzns7WFLDgAAAABJRU5ErkJggg=="; case "QuarterNone": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAORJREFUeNqsVLsNwjAUzIviEVIzBROQmiU8XJoUEXUWQFnBTWpGsCVzF9kIHhJg5JMulu17l/f8kxhjUwOdHhCRHs0ZHMAjeAA3cAUX8IKf396cmFEmcAJna20cxzE656L3fm/Z5zjnqXuO22OVyXWapvgJnKdOm2UTljN/M1FmzKzXRpZplyCVabNRm5ZqAIp2KemHl8UGHBe0BNQzLmck+0cEm+M74OeMQgiNMSYg3rCfS9uAotKS/hGUjVagyCjpV220AEVGSb/oxa5zjqqd7Bp3TfQz8u/tl1rvUdtUwl2AAQAjf9rqmeYw1gAAAABJRU5ErkJggg=="; case "QuarterNoneGreen": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARpJREFUeNpi/P//PwM1AAu6gEa8nCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qb7qx8NFrdH2MyC4CGuLMzsqeoiytKu1rGchsr+8kIy8mL/Xw1cNnBy/ue7L5+Pq/d5/efvrz9885QMP2opgEMgiE1eNknZ2LrVat3L/0xH88ACQPUgdSD9MLdgzUEFG9ZJXlhAxBNgykHqQPZhAT1GF+IO+EOUSZExOwIHUg9dCwBAOYQS6gMCEllqDqXdANMgUFLCkGQdWboke/PDB2SEo3oNhE5sNc9BAUxaQYBFX/EN2g06B0QopBUPWn0Q3aA0pspBgEVb8H3aBNoBS76sCyk8QYAlIHUg/SR/WUTbW8xohejFAl91MCmBioBAACDAC69SCCZRqp9wAAAABJRU5ErkJggg=="; case "QuarterNoneRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARpJREFUeNpi/P//PwM1AAu6QL+WnCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qbyq89ug1uj5GZBcBDXFmYWdPEVJWldbwCWRWtHOSEZCXl/rw8OGz+4f2PbmxZf3fd3dvP/3z8+ccoGF7UUwCGQTCfZqyznNdrVZdWrX0xH88ACQPUgdSD9MLdgzUENFJBirLCRmCbBhIPUgfzCAmqMP8QN7RDY0yJyZgQepA6qFhCQYwg1xAYUJKLEHVu6AbZAoKWFIMgqo3RY9+eWDskJRuQLGJzIe56CEoikkxCKr+IbpBp0HphBSDoOpPoxu0B5TYSDEIqn4PukGbQCn28uplJ4kxBKQOpB6kj+opm2p5jRG9GKFK7qcEMDFQCQAEGACDrSM46epEZgAAAABJRU5ErkJggg=="; case "QuarterQuarter": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQNJREFUeNqsVLsNgzAUxCgrpE7LAhkgInWW8AoZiM4NBUrNAogVnIIqRdpUpHDuWc+S8wIEECcdCDgf72cr51yyCcgoJrAHNWhASxKwBzuwADO5xq8TJjlYaa2dMcZZax0bxXyA11EjNmnKsnQxBoyIL2kWp1NJkwmjEFkmjTSlM4QJI2IRjFKu+RlY06vTV9eoO1TYFRH1ISLlL0q9gR3w80t8+zc+XhBS64BZcxaIDOjzPeiCUQssKg7rW2lUA4uMWF/LYo/O0RBIR3paN3uyR0wa0i/aa+imv9MzvedIcll8JY8RtJvSvNCQgkfwwDu/5ZrcsOb5MyZbnUdpshE+AgwAM8CytM/xk38AAAAASUVORK5CYII="; case "QuarterQuarterGreen": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaBJREFUeNpi/P//PwM1AAu6gEa8nCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qb7qx8NFrdH2MyC4CGuLMzsqeoiytKu1rGchsr+8ks+TxDrl/33/++fjy1Ye7Ny+9f/Tk3qUfP75NBxq2F6uLQIbIiMqmp/lky4U5RJnDxP8+/sfwh4OJhU1WVERV2l5E4bmuyLVzJwSA6hmQDWOCeQfkEnRDQODP/78Mf/6B8B+G30D6tyiXoKqBsREHO2cmNBgQBoHCBOQddEPABiEb8u83EP9h+CbMLighLa8HDUsUg1xAYYItNtANgWEJJWVBaISghJEpMGBZsRmEzRAQZhbgEIDGKopB8vJi8gzYDcI05M//PwyfmP+xQJMGBICiXz1O9s7dZ3ce/icBgNSD9IH0gzAsjE4fvLjvCSkpGar+NHpg79l8fP1fUgyCqt+DbtCmu09vP111YNlJYgwBqQOpB+lDCSNoODk7F1utWrl/6Ql8YQOSB6kDqYfpBWGCeQ0Ym1IPXz18BgoTkHdALvn5++cc9LzGiF6MUCX3UwKYGKgEAAIMAKK6VKYTEvq8AAAAAElFTkSuQmCC"; case "QuarterQuarterRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaNJREFUeNpi/P//PwM1AAu6QL+WnCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qbyq89ug1uj5GZBcBDXFmYWdPEVJWldbwCWRWtHOS4Tp7Xu7Lt89/nj99/OH2hTPvn9+9denX92/TgYbtxWoQyBB+Gdl009RsOd3QKHOYgl8rVzH8//2HgeH3byD+xXD3+ZP3F04eOvfywd12ZMOYYN4BuQTdEBBANuT/z18MijwCggaG5kZsnJyZ0GBAGAQKE5B30A0BAyRD/v/6xcDw8yeDAgunoKSMgh40LFEMcgGFCdboQDPkPxAzANnK8iqC0AhBiTVTYMCyYjMHmyEgMTFWDgForKIYJC8gL4/VQdgMAbmS589fFmjSQDHo4YeHD1mFlJTl0A3iLC7EasG7e3cfMRzc9Bs9jE7fP7TvCSkpGar+NLpBe25sWf+XFIOg6vegG7Tp3d3bTy+vXnaSGENA6kDqQfoQgQlM2SDcpynrPNfVatWlVUtP/McDQPIgdSD1ML0gTDCvAWNTChgRz0BhAvIOyCV/fv6cgzOvUTX3UwKYGKgEAAIMAFdBHxSzVPYAAAAAAElFTkSuQmCC"; case "QuarterThreeFourth": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPZJREFUeNqslDEOgkAQRRmj8QTUtlzAE0jtJfYKFB7Bm9BQEGsuQLiAxTZUFLY2RpP1D3ENDhMkGyZ5QDaZx+wwLDnnoiViLReIKMbtCFKwBzvQggY8wBkvv45MXJEHcQClMcblee6stbwoKUE2zOtzhaQuisINQxExtZR5CW+nlJIJka8sliLD29FiQsQYL1p9WpUiQj5W+tNshOXGBlRkfUXUX4ie2ijMiBfyN/zgt9YGzuE3z4uaQFEjRVWgqJLNTkD3p7HaHCXaZGfgPlOiT7aQdTMqGf1rJI8RjAJv8wS2yt/PPbkg5zY6NZY6j1bRQvEWYAB1GjI1ev8a6gAAAABJRU5ErkJggg=="; case "QuarterThreeFourthGreen": return "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"; case "QuarterThreeFourthRed": return "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="; case "Rating0": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIdJREFUeNqslGEKwCAIhVV2o87TWaqzdJ52pFqM7UcOmmlCiESP92mFrTXYEYf2YM459hT6St77SAYTwTkHjxhYhKA2BRpH4fukRbEIDSgmIR4oGf9fT7gSrfQEQYn26QkKbrYIZaJLUxQUGxrRquH9ktT6khDiHkfpLOXOb10Watz1sV0CDABFzzYl6O6gWAAAAABJRU5ErkJggg=="; case "Rating1": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALFJREFUeNpi/P//PwM1AAu5GufPn/+fhYWF4c+fPwyJiYmMTGS7AGiIsbExmAYBJkq88+8/GV5D9wq6PBO5XiHbIHSvUGQQOmAkJvoJhQm6SUykhAkjA5lewwgTRiIMMgwsOcaon/AfRJMTRnCDLtx7Y1mVFQGm4QoZiXYQqtc+fPlOdgyiGPTq3ReiXYDXoJfvv1DuIgMlkeOHj54E0yA+KP2cPXsWTBPDZ6RWwQYQYAADAlUqgaDmawAAAABJRU5ErkJggg=="; case "Rating2": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMhJREFUeNpi/P//PwM1AAu5GufPn/+fhYWF4c+fPwyJiYmMTGS7AGiIsbExmAYBJkq88+8/GV5D9wq6PBO5XiHbIHSvUGQQOmAkxiDDwJJjjPoJ/0E0MSbhNOjCvTeWVVkRYBqbC0jy2o9ff3D7BZdB2Lzy9ccv0sMIm1e+fPtJrINQvfbhy3cUyU9ffxAdgygGvXr3BUXyM5qLiDbo5XtUgwiFEVaDDJREjh8+ehJMw/inT5+D80F57OzZs2AaG5+RWgUbQIABABPEZS/gjRSzAAAAAElFTkSuQmCC"; case "Rating3": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOdJREFUeNpi/P//PwM1AAu5GufPn/+fhYWF4c+fPwyJiYmMTGS7AGiIsbExmAYBJkq88w8pVIg2yDCw5BijfsJ/EI1NnmiDLtx7Y1mVFQGmKTIIBP78/YdTjiSDfv3+g8JnJMYgbGHyE80gZJOYSAmTHz//kOe1H79QNX7/9ZuwQdi88vXHL1SDfhIRRti88uXbT1QX/vxNnNc+fPmOIvnp6w+8XsVp0Kt3X1AkP6O5CCPWcBn08j2qQehh9Ov3X8IGGSiJHD989CSYhvFPnz6Hwj937jycDyo+zp49C6bBAU+tgg0gwAAOf4E07dySjgAAAABJRU5ErkJggg=="; case "Rating4": return "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="; case "RhombRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAATFJREFUeNqs1GFOwjAUB/A/cyaAhJsYQ0gAlTowaLLhKTjImnkQb+EFqFHUkMXoSQx+MqP0dbBM3dqZsGRrP7z99rL332pSSuzjcOkyax+aasLteltWcPf5nUIm5OLMi6C6nj/NjZhrQ4KJDyQJ5HodieeHUsy1Ie3mESEIRlcAYa+PhZhTBaGOaB+wS7DuIMq9t1KoEEEO889HYJ3eH8ypitAqCWs04Q8Y2En3B+b8B8k6I6w3BDvuZNgOOqARO+q0IbuVaiG39+amxiknCglvxtdoqSeakNXXCvcLAfER0/T47/FznRPCvAla9UZlpChHXOdEYdPhWGNVkLJAcrFcpNipp7C6FTElm4v4RWFJOO0z3ZEJsX1rXLwtdWc0HRNig1LsPc72psLavn5sGwEGAFmY/uoyH+ELAAAAAElFTkSuQmCC"; case "Square0": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJNJREFUeNpi/P//PwM1AAuIMAgoPnbx3htLdEl9JZHjFzb0WhGShxsEUlSUEgKRZQTi/2DE0D9njSUx8nCDQODrj18IqxiBqtG8TEgebtCX70gK/0NtRgKE5OEGff72A6gA6m64HxCAkDySQRAbGaG2occlIXkWWOjvP3gMa6wQIw+xYDQdjaajQZSOmBioBAACDACh/KcFkAtFXQAAAABJRU5ErkJggg=="; case "Square1": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMVJREFUeNpi/P//PwM1AAuIMAgoPnbx3htLdEl9JZHjFzb0Wi1atKgByK3Hor8xLi6uAW4QyJCilBCIFCMQ/wcjhv45a2CG15uYmGCYcubMGZDhCINA4OuPXwgVjEDTSPQy3KAv35EM+g91GTkGff72A2gA1F9wP5JlEMRFjFDX/Ccn1kCxs//gMayxBosdaMBixBo8WOmajgjJE52OiEhnxKcjQvJEpyNC8kSnI0LyRKcjQvJEpSMi0hn10hETA5UAQIABAEDQjPQ2214MAAAAAElFTkSuQmCC"; case "Square2": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMNJREFUeNpi/P//PwM1AAuIWLRoUQOQqsci3xgXF9dASB5uEEiRiYkJhqozZ86ANDcQIc/AxEAlMIwNggV2IzTgMGKFSHkGRqqmI4OA4mMX772xRJfUVxI5fmFDrxUhebhBIEVFKSFQNwLxfzBi6J+zxpIYeeQwYvj64xfCKkagajQvE5KHG/TlO5LC/1CbkQAhebhBn7/9ACqAuhvuBwQgJI9k0C9oNELUoMclIXkWWOjvP3gMa6wQI0/VdES1LAIQYAB+fHLbqufYXAAAAABJRU5ErkJggg=="; case "Square3": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALZJREFUeNpi/P//PwM1AAuIWLRoUQOQqsci3xgXF9dASB5uEEiRiYkJhqozZ86ANDcQIc/AxEAlMIwNggV2IzTgMGKFSHkGRqqmI4OA4mMX772xRJfUVxI5fmFDrxXR6QhkSFFKCNSNQPwfjBj656yxJDKdwcOI4euPXwgVjEDTSPQy3KAv35EM+g91GTkGff72A2gA1F9wP5Jl0C9oNELM+E9OrIFiZ//BY1hjje7piGpZBCDAAJeNWMpRbKWWAAAAAElFTkSuQmCC"; case "Square4": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeNpi/P//PwM1AAuIWLRoUQOQqsci3xgXF9dASB5uEEiRiYkJhqozZ86ANDcQIc/AxEAlMIwNggV2IzTgMGKFSHkGxtF0NJqOBlM6oprXAAIMAGHFPrGNYSSXAAAAAElFTkSuQmCC"; case "StarFull": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjdJREFUeNqslE1oE0EUx2dmZ3dnzYdiWmwaPxpqYiu0pdSUFKEnD6IHBW+lJ8WDeJCeeiw9evAqeBQ8iJKLeK09KCqCVFBUkJLa+NE02TRNdmG/ZsZZW0NMtolIB/77mJn3fvvmMW8g5xzsx8D+J7c4vuc+VpTvEMIl17Zn9nK6srACUKe/SBjfSaTTUc7YZTE90sm3EyjCGLs5dHaSnBg9TWSi3v8vkKyq95JjIxwJj9TEKFRUJSuWM/8CCglNC83JhOREbS6eyk5gzlzga/zc1EEs4ycSlu4Kn1mh4bZii8A16jj94VjMPNwf16K9MTWRSv4GcLoD0sIqyFyY6isXNm5UN7dma3qNO5Z7AMtoSSDO410gHTyTwels5hBnXiO42TIfFlLA0XQcJAZjEX/9w8sv9e2y8aNxNNeyJvPvVopGRQd/jtIQDbIe+Ph61dgum089l11trpHuOc7Yi4eP6rZR/ztQiLXAPr9ZNaul+jPPpTNBxd6kHj25/OAxbcuC7WTh29K3MqgUa69ch15qK3YzDADIPMeSEGQB2XjANi1RL57vdo96EIIUIRZ4JF+qJgHhMxTYa03juKoRWwQSP2irWAHrn9ZrqiYrA8O9RJIYUAkEotEHuoGSWoTAUmED5N/nq5ZpFVzHW0QSmi5+1a/3xMPsWCoaoh7v6wZ6Ky4aEnru2u6CmC/7i4yynDC3Sj+N23rRuAYhIK2vTytoTQBGfBvUT5zxecrAfNAe3K+H7ZcAAwA2+mLmimzXOgAAAABJRU5ErkJggg=="; case "StarHalf": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNqslE1oE0EUx99+5sttweC2kcbPmNpaqYrWVsWP6qG3glJQ6Unx4EF68ODFi0dPXkQQT95aBa2lFTxYqV9JFQ8KCiJUMM2H2Y1NTeImO5kZZ7dNIG2ygvTBzPD2zfzmvf++XY5SCmthojWNPnxUNyhoM245/6mAwyMPTETONYKcHToNvNMtQlmPtoW380SbPcPcFqe9DUFC+kUAFr92Sy4e/M1eSZbl+/8Fkoke2bqnGyhBcGzoOrhcci97fOCfIKaHKqSeXRHi4+Oe1Fhcwtqm9h4GwsiOHznU1yxJ4oQoineYO8xGxyqxvT/uImwsiMqGAF0fULkmvwobQ4cBowLLyLQ3Kso6ONV/ojWZSl3W9cxw5tcCLRaLXkmSnrPwgA0CjqOhnoPQ3tfLEfQHCDJsCLFAyxlVYIoSgvCOkGL5b95Gc2lNT1RLK7nCu+Y+fiY5LVEDsaEE1dUkEn2X13R9EiF0oQrC6vFvprdz98uxx9T4nalC8IqMKjb7/kPhZ1qbNk10fpXYWO3/Um7a1zUzOlWFWCtdkdF8PAHJZCpimuZgw9dvwZheYBq5pbLKBrCpBmQYBiuXfHfsIyE9HeZ5HjhatCG0XARKcc0Bn88HgsDvdG5IWt4veVy0AsnqecjnePpq6h5ieiyDvCwjuqXuR1s1gvZ6PCJkklmIzZVoCXlKphy8DWaLPDH59FIw2Ea6Ojt8GONWZ5DgfpLLGldzhn/RFLfdwJsHbi2JZ5c3EovN34zHExc5jnM7grB68jXr46PWWq93mMjXrFEvxq3Vj+2vAAMAxrs0rpWgrjsAAAAASUVORK5CYII="; case "StarNone": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgFJREFUeNpi/P//PwM1AAuIWLF6HU55IHjKxMS499ev31G4FEWEBjEw4bOFmZm5V15Olu/fv/8BQK44PrX4DOL99+9ftoG+LoeqqjIHGxvbQrIMYmNjnammqvIf6CoGXW0tRnZ2NgugsCkxBnEDsR0QFwJtX8vCwuqtr6fDApO0sbLkZ2Vl2QQMs2lAbgwQa2IENtD2B3/+/JXi4+P9KiIizCkkKMiuIC+H6k9eHgYXJ0eJ5y9eZL558zbm7bv3/3/8+MHFysq6FyjtAbPxr7q6KgvQCwL4wgFkGC+vCgPQy7wg/tFjJz6/ev3mGdxrwKg1u3Pn7svPn78QnW6Onzj15fWbN1t+//6dhBxGb3///qO/a8++zz9+/CRoyMnTZ7++fPV6H3LaQg7sV3///lXZvHX7X3yGPHn6jOH58xfHf/365Y8v+l8xMjL+AwY8ToO+f//OAExf9wmlIxFgdvjLwsKM0yBubm5gimfSwJrXkIAcBwcHKJA4QBxgYDJcv3HrEzcXF5uujjYwdbMCDeICuui/AiGDFHl4eBifPX/BcPXa9Q9fv357DAyLRmDqtrv/4GGqrKzMPx0tTW5gWEoQMujs+/fvmU6fOXv4589f9UD+fnAi+/t3LZDKf/z4SefTp8+SgeHIQcigB0ADdEE0tvABBnI5CGOTY6RWwQYQYACCusaAujfEdQAAAABJRU5ErkJggg=="; case "StarQuarter": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAkxJREFUeNqslMtrE1EUh8+daSbJxKmCMlZMfNAm2DysBYtWtGqr4E4piCKuBBfiwoWgf4W4cuFCsLgRfKEIIpqoUNuqRARBBR9RmyZpnm2TyeNO7lzPRCwWM7OQHrgz3HPOfHPOub8ZwjmH5bAO83Lz1l3LONqMIJAopfoJq6TjR0dBsHuLKIqXNm7wdRoGP4LbtXa5diDFMIyz2/oiLr+/2yVJ0th/gdyZ2+8D/h6OVUEkFCROp7QT3QO2M2q1kXuhAqsfA1YbkUQ64DCK6/q2hsmf+O5dgyufxp49wLO512w2J9AVx/VxCUj+eVVntVKHoq7nq71eskpdA5Vidmmfygo4MLy/K53JnMnnCycLxRKv1+uyw+GIYvjQ74oI4f7BPRDce5AYzQYYugafxpP/Dg1hitID2LJi7l9OTJWzuXxqcUYNZyD09e07YyGbakEYrYAJtLPJqdeVXD7/UNf1U4sgpu77TOXeyPOxa7w6lwPWmAfO6paQV2/i2mw2F/tbW4unxtThD3pnfzh2/UYLZFVRciYF6XRmklJ62PL4TRjOC6hWxIrag2q1GqC+ErY6ErOxgCCISNTAsAB5PB5UvLDFUkct483tktvJGS0TznSIP7oMmrJjwSPLUiQcQnU7ECRjRXyTPcjQ+11uEQqpEpSwuyrwBNVmL6C6hxLff5z2+bxGONjrYYx12X8iout+ea4KX77J82UheJ66Nnej9w4+eA7nIk9PJ688fhItEEKobUVMHRnHjCHz3m4+CLtornYxslw/tl8CDAAS2wfU7oS1lwAAAABJRU5ErkJggg=="; case "StarThreeFourth": return "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"; case "TriangleGreen": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPlJREFUeNrsk0luwkAQRX+bTQ4QCcXgMNrtgBlkicG+i4GzcaTsQpTswhqJDdi4i3IjkCCLDMAKqvX1S+rqV9WLEkSES4SBC8Utg5xxgc4GyfEz1Ro+nOiJ/g3KICWvDScMYDW7kCOL/gxyIpNK7RbcYYA4jVHu+zBfPMhJkX4Nqo1MqnQ6kL0Aa4asFIv90ZcwXVc3+RFkR0WyvS7sfqghWpv4kD94VeTdpm52ChL7FbH5ss6QymCIWCX8pWTnrITzhDZIlQLxWb5+YjF7x9v0SxyBskkMIXRxjl0gx+Xp9/nJgCEYlT1XXMH+MZ2Lo4nuu3Z90FaAAQBat3AkY5cdmgAAAABJRU5ErkJggg=="; case "TriangleRed": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAATBJREFUeNrsk71OAkEQx/9zx1MgRE1UVimwsxITTWzsTGy04A1Q4nvg17soDYno+QiXU69QwUMe4faAHXcRhBA4G2JhnGR2k53Jb2bng5gZsxALM5I/DEqY41ykexVXSsEGgcgGow2l4zABttI2Ut+Ru8QgbbCsBI69Opl3GnTtMpPmldw6tg8KwzCdDjhqA5EEhxIIQ32HcKrXcINXnPgBDVxptP0Gtipy2Doq9CERIL8gBmBATu0GXuMdRb9Oo1+j8Tm60jCxLJDfPwRLk8UQUrurwG294dRr0niNaNJAnmWSnF1YQ353rw+RuL2vwG81UHwMaFKxadpkl0WKs6l5bG7swHmowv14QempSdO6RnErcqEzW5pbxHMQD+mJAcVpWST5Jx+j9L+0vwf6FGAAUqTDoUy9nwgAAAAASUVORK5CYII="; case "TriangleYellow": return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVdJREFUeNpi/P//PwM1AAuIuFnEgk+NE5Teh0uBet8fBhYiLOsC4r9AbI5PERMBQ0J41Y2NeVQNzYDsQHINYgbiFn59KwYBAysQvwUqRrJByfx6FupcMnIMXLIKDHzaJlpAsVhSDeIE4joBPSMGhv/fwRjMZmBoBGI2UgzKETQyk2YX5mdg+PcdjDnEhBkEDUzlgHKZxBokBMQVArraQAO+oWB+HU2QfDUQ8xBjUKmQsaEQCzcLw/+/31AwKx87g6ChnihQTREhg6TB3tJXxXANDAvqqoAtg7ocp0F1wqZaPEwsf+Bhg46ZOYAmGGrwQL2I1SCQVclC+nLwmMKFhQzkwBEC9QGGQS0i5irMDP9/Am3+gRczMv1mEDZWYoMmBxSDjNmFecIFtcSACn8ShYV0xUH6EkB5Fp77gaD959svDLfnHyO19GCGZp1QRmqVR0wMVAIAAQYArNiUNokAcDwAAAAASUVORK5CYII=" } return null } , t }(); e.StiIconSetHelper = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.ContentAlignment , i = t.Base.JsonReportObject.IStiJsonReportObject , n = t.System.Enum , o = function(t) { function o(i, n, o, a) { void 0 === i && (i = e.StiIcon.None), void 0 === n && (n = r.MiddleLeft), void 0 === o && (o = null), void 0 === a && (a = null); var s = t.call(this) || this; return s._icon = e.StiIcon.None, s._alignment = r.MiddleLeft, s.icon = i, s.alignment = n, s.customIcon = o, s.customIconSize = a, s } return __extends(o, t), o.prototype.implements = function() { return t.prototype.implements.call(this).concat([i, "StiIndicator"]) } , o.prototype.saveToJsonObject = function(i) { var n = t.prototype.saveToJsonObject.call(this, i); return n.addPropertyEnum("Icon", e.StiIcon, this.icon, e.StiIcon.None), n.addPropertyEnum("Alignment", r, this.alignment, r.MiddleLeft), n } , o.prototype.loadFromJsonObject = function(t) { var i, o; try { for (var a = __values(t.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "Icon": this._icon = n.parse(e.StiIcon, l.value); break; case "Alignment": this._alignment = n.parse(r, l.value); break } } } catch (t) { i = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (i) throw i.error } } } , Object.defineProperty(o.prototype, "icon", { get: function() { return this._icon }, set: function(t) { this._icon = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "alignment", { get: function() { return this._alignment }, set: function(t) { this._alignment = t }, enumerable: !0, configurable: !0 }), o }(e.StiIndicator); e.StiIconSetIndicator = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAnchor = "IStiAnchor" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAutoWidth = "IStiAutoWidth" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBorderColor = "IStiBorderColor" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBrush = "IStiBrush" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBusinessObject = "IStiBusinessObject" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCanGrow = "IStiCanGrow" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCanShrink = "IStiCanShrink" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiClone = "IStiClone" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiComponent = "IStiComponent" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiComponentGuid = "IStiComponentGuid" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiComponentsOwnerRenderer = "IStiComponentsOwnerRenderer" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiConditions = "IStiConditions" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCrossTab = "IStiCrossTab" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCrossTabField = "IStiCrossTabField" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDataBarIndicator = "IStiDataBarIndicator" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDataRelation = "IStiDataRelation" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDataSource = "IStiDataSource" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiEditable = "IStiEditable" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFilter = "IStiFilter" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFont = "IStiFont", t.ImplementsIStiFont = [] }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGroup = "IStiGroup" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGrowToHeight = "IStiGrowToHeight" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiIgnoreBorderWhenExport = "IStiIgnoreBorderWhenExport" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiIndicatorCondition = "IStiIndicatorCondition" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiKeepChildTogether = "IStiKeepChildTogether" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiKeepDetailsTogether = "IStiKeepDetailsTogether" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiKeepFooterTogether = "IStiKeepFooterTogether" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiKeepGroupFooterTogether = "IStiKeepGroupFooterTogether" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiKeepGroupTogether = "IStiKeepGroupTogether" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiKeepHeaderTogether = "IStiKeepHeaderTogether" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiKeepReportSummaryTogether = "IStiKeepReportSummaryTogether" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiMasterComponent = "IStiMasterComponent" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiOddEvenStyles = "IStiOddEvenStyles" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPageBreak = "IStiPageBreak" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPrintAtBottom = "IStiPrintAtBottom" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPrintIfDetailEmpty = "IStiPrintIfDetailEmpty" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPrintIfEmpty = "IStiPrintIfEmpty" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPrintOn = "IStiPrintOn" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPrintOnAllPages = "IStiPrintOnAllPages" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPrintOnEvenOddPages = "IStiPrintOnEvenOddPages" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRenderMaster = "IStiRenderMaster" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiResetPageNumber = "IStiResetPageNumber" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiShape = "IStiShape" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiShift = "IStiShift" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSimpleBorder = "IStiSimpleBorder" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSort = "IStiSort" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiText = "IStiText" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTextBrush = "IStiTextBrush" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTextFont = "IStiTextFont" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTextFormat = "IStiTextFormat", t.ImplementsIStiTextFormat = [] }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTextHorAlignment = "IStiTextHorAlignment", t.ImplementsIStiTextHorAlignment = [] }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTextOptions = "IStiTextOptions" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiUnitConvert = "IStiUnitConvert" }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Up = 0] = "Up", t[t.Down = 1] = "Down", t[t.Left = 2] = "Left", t[t.Right = 3] = "Right" }(e = t.StiShapeDirection || (t.StiShapeDirection = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.StiJson , o = t.Base.Services.StiService , a = function(t) { function o() { return null !== t && t.apply(this, arguments) || this } return __extends(o, t), o.prototype.saveToJsonObject = function(t) { var e = new n; return e.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), e } , o.prototype.loadFromJsonObject = function(t) {} , o.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 i.format("Type {0} is not found!", e); var n = r.createNew(); return n.loadFromJsonObject(t), n } , o.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 i = r.createNew(); return i.loadFromJsonObject(t), i } , o.prototype.loadFromXml = function(t) {} , o.convertFromXml = function(t) { switch (t.attributes.getNamedItem("type").value) { case "Stimulsoft.Report.Components.ShapeTypes.StiVerticalLineShapeType": return new r.StiVerticalLineShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiTriangleShapeType": return new r.StiTriangleShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiTrapezoidShapeType": return new r.StiTrapezoidShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiTopAndBottomLineShapeType": return new r.StiTopAndBottomLineShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiSnipSameSideCornerRectangleShapeType": return new r.StiSnipSameSideCornerRectangleShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiSnipDiagonalSideCornerRectangleShapeType": return new r.StiSnipDiagonalSideCornerRectangleShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiRoundedRectangleShapeType": return new r.StiRoundedRectangleShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiRegularPentagonShapeType": return new r.StiRegularPentagonShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiRectangleShapeType": return new r.StiRectangleShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiPlusShapeType": return new r.StiPlusShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiParallelogramShapeType": return new r.StiParallelogramShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiOvalShapeType": return new r.StiOvalShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiOctagonShapeType": return new r.StiOctagonShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiMultiplyShapeType": return new r.StiMultiplyShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiMinusShapeType": return new r.StiMinusShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiLeftAndRightLineShapeType": return new r.StiLeftAndRightLineShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiHorizontalLineShapeType": return new r.StiHorizontalLineShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiFrameShapeType": return new r.StiFrameShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiFlowchartSortShapeType": return new r.StiFlowchartSortShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiFlowchartPreparationShapeType": return new r.StiFlowchartPreparationShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiFlowchartOffPageConnectorShapeType": return new r.StiFlowchartOffPageConnectorShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiFlowchartManualInputShapeType": return new r.StiFlowchartManualInputShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiFlowchartDecisionShapeType": return new r.StiFlowchartDecisionShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiFlowchartCollateShapeType": return new r.StiFlowchartCollateShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiFlowchartCardShapeType": return new r.StiFlowchartCardShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiEqualShapeType": return new r.StiEqualShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiDivisionShapeType": return new r.StiDivisionShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiDiagonalUpLineShapeType": return new r.StiDiagonalUpLineShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiDiagonalDownLineShapeType": return new r.StiDiagonalDownLineShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiComplexArrowShapeType": return new r.StiComplexArrowShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiChevronShapeType": return new r.StiChevronShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiBentArrowShapeType": return new r.StiBentArrowShapeType; case "Stimulsoft.Report.Components.ShapeTypes.StiArrowShapeType": return new r.StiArrowShapeType } return null } , Object.defineProperty(o.prototype, "componentId", { get: function() { return e.StiComponentId.StiShapeTypeService }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return null } , o }(o); r.StiShapeTypeService = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = function(t) { function n(e, i, n) { void 0 === e && (e = r.StiShapeDirection.Up), void 0 === i && (i = .3), void 0 === n && (n = .4); var o = t.call(this) || this; return o._direction = r.StiShapeDirection.Up, o._arrowWidth = .3, o._arrowHeight = .4, o.direction = e, o.arrowWidth = i, o.arrowHeight = n, o } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyEnum("Direction", r.StiShapeDirection, this.direction, r.StiShapeDirection.Up), i.addPropertyNumber("ArrowWidth", this.arrowWidth, .3), i.addPropertyNumber("ArrowHeight", this.arrowHeight, .4), i } , n.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Direction": this.direction = i.parse(r.StiShapeDirection, s.value); break; case "ArrowWidth": this.arrowWidth = s.value.stimulsoft.toNumber(); break; case "ArrowHeight": this.arrowHeight = s.value.stimulsoft.toNumber(); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , n.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Direction": this.direction = i.parse(r.StiShapeDirection, o.textContent); break; case "ArrowWidth": this.arrowWidth = o.textContent.stimulsoft.toNumber(); break; case "ArrowHeight": this.arrowHeight = o.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiArrowShapeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "direction", { get: function() { return this._direction }, set: function(t) { this._direction = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "arrowWidth", { get: function() { return this._arrowWidth }, set: function(t) { t >= 0 && t <= .5 && (this._arrowWidth = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "arrowHeight", { get: function() { return this._arrowHeight }, set: function(t) { t >= 0 && t <= 1 && (this._arrowHeight = t) }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(r.StiShapeTypeService); r.StiArrowShapeType = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = function(t) { function n(e) { void 0 === e && (e = r.StiShapeDirection.Up); var i = t.call(this) || this; return i._direction = r.StiShapeDirection.Up, i.direction = e, i } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyEnum("Direction", r.StiShapeDirection, this.direction, r.StiShapeDirection.Up), i } , n.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Direction": this._direction = i.parse(r.StiShapeDirection, s.value); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , n.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Direction": this._direction = i.parse(r.StiShapeDirection, o.textContent); break } } } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiBentArrowShapeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "direction", { get: function() { return this._direction }, set: function(t) { this._direction = t }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(r.StiShapeTypeService); r.StiBentArrowShapeType = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = function(t) { function n(e) { void 0 === e && (e = r.StiShapeDirection.Right); var i = t.call(this) || this; return i._direction = r.StiShapeDirection.Right, i.direction = e, i } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyEnum("Direction", r.StiShapeDirection, this.direction, r.StiShapeDirection.Right), i } , n.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Direction": this._direction = i.parse(r.StiShapeDirection, s.value); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , n.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Direction": this._direction = i.parse(r.StiShapeDirection, o.textContent); break } } } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiChevronShapeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "direction", { get: function() { return this._direction }, set: function(t) { this._direction = t }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(r.StiShapeTypeService); r.StiChevronShapeType = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = function(t) { function n(e) { void 0 === e && (e = r.StiShapeDirection.Left); var i = t.call(this) || this; return i._direction = r.StiShapeDirection.Left, i.direction = e, i } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyEnum("Direction", r.StiShapeDirection, this.direction, r.StiShapeDirection.Left), i } , n.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Direction": this._direction = i.parse(r.StiShapeDirection, s.value); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , n.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Direction": this._direction = i.parse(r.StiShapeDirection, o.textContent); break } } } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiComplexArrowShapeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "direction", { get: function() { return this._direction }, set: function(t) { this._direction = t }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(r.StiShapeTypeService); r.StiComplexArrowShapeType = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiDiagonalDownLineShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiDiagonalDownLineShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiDiagonalUpLineShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiDiagonalUpLineShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiDivisionShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiDivisionShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiEqualShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiEqualShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiFlowchartCardShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiFlowchartCardShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = function(t) { function n(e) { void 0 === e && (e = r.StiShapeDirection.Down); var i = t.call(this) || this; return i._direction = r.StiShapeDirection.Left, i.direction = e, i } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyEnum("Direction", r.StiShapeDirection, this.direction, r.StiShapeDirection.Up), i } , n.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Direction": this._direction = i.parse(r.StiShapeDirection, s.value); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , n.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Direction": this._direction = i.parse(r.StiShapeDirection, o.textContent); break } } } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiFlowchartCollateShapeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "direction", { get: function() { return this._direction }, set: function(t) { this._direction = t }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(r.StiShapeTypeService); r.StiFlowchartCollateShapeType = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiFlowchartDecisionShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiFlowchartDecisionShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiFlowchartManualInputShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiFlowchartManualInputShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = function(t) { function n(e) { void 0 === e && (e = r.StiShapeDirection.Down); var i = t.call(this) || this; return i._direction = r.StiShapeDirection.Up, i.direction = e, i } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyEnum("Direction", r.StiShapeDirection, this.direction, r.StiShapeDirection.Up), i } , n.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Direction": this._direction = i.parse(r.StiShapeDirection, s.value); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , n.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Direction": this._direction = i.parse(r.StiShapeDirection, o.textContent); break } } } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiFlowchartOffPageConnectorShapeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "direction", { get: function() { return this._direction }, set: function(t) { this._direction = t }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(r.StiShapeTypeService); r.StiFlowchartOffPageConnectorShapeType = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = function(t) { function n(e) { void 0 === e && (e = r.StiShapeDirection.Left); var i = t.call(this) || this; return i._direction = r.StiShapeDirection.Left, i.direction = e, i } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyEnum("Direction", r.StiShapeDirection, this.direction, r.StiShapeDirection.Left), i } , n.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Direction": this._direction = i.parse(r.StiShapeDirection, s.value); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , n.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Direction": this._direction = i.parse(r.StiShapeDirection, o.textContent); break } } } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiFlowchartPreparationShapeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "direction", { get: function() { return this._direction }, set: function(t) { this._direction = t }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(r.StiShapeTypeService); r.StiFlowchartPreparationShapeType = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiFlowchartSortShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiFlowchartSortShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiFrameShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiFrameShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiHorizontalLineShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiHorizontalLineShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiLeftAndRightLineShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiLeftAndRightLineShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiMinusShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiMinusShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiMultiplyShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiMultiplyShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r) { void 0 === t && (t = !0), void 0 === r && (r = 0); var i = e.call(this) || this; return i._autoSize = !0, i._bevel = 0, i.autoSize = t, i.bevel = r, i } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("AutoSize", this.autoSize, !0), r.addPropertyNumber("Bevel", this.bevel, 0), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , r.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "AutoSize": this._autoSize = i.textContent.stimulsoft.toBoolean(); break; case "Bevel": this._bevel = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiOctagonShapeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "autoSize", { get: function() { return this._autoSize }, set: function(t) { this._autoSize = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "bevel", { get: function() { return this._bevel }, set: function(t) { t >= 0 && (this._bevel = t) }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiOctagonShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiOvalShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiOvalShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiParallelogramShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiParallelogramShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiPlusShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiPlusShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRectangleShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiRectangleShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRegularPentagonShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiRegularPentagonShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t) { void 0 === t && (t = .2); var r = e.call(this) || this; return r._round = .2, r.round = t, r } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyNumber("Round", this.round, .2), r } , r.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.value; switch (o.name) { case "Round": this._round = o.value.stimulsoft.toNumber(); break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , r.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Round": this._round = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRoundedRectangleShapeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "round", { get: function() { return this._round }, set: function(t) { t > 0 && t <= .5 && (this._round = t) }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiRoundedRectangleShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiSnipDiagonalSideCornerRectangleShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiSnipDiagonalSideCornerRectangleShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiSnipSameSideCornerRectangleShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiSnipSameSideCornerRectangleShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiTopAndBottomLineShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiTopAndBottomLineShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiTrapezoidShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiTrapezoidShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Enum , n = function(t) { function n(e) { void 0 === e && (e = r.StiShapeDirection.Up); var i = t.call(this) || this; return i._direction = r.StiShapeDirection.Up, i.direction = e, i } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.addPropertyEnum("Direction", r.StiShapeDirection, this.direction, r.StiShapeDirection.Up), i } , n.prototype.loadFromJsonObject = function(t) { var e, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Direction": this._direction = i.parse(r.StiShapeDirection, s.value); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , n.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Direction": this._direction = i.parse(r.StiShapeDirection, o.textContent); break } } } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiTriangleShapeType }, enumerable: !0, configurable: !0 }), n.prototype.clone = function() { var t = this.stimulsoft.memberwiseClone(); return t.direction = this.direction, t } , Object.defineProperty(n.prototype, "direction", { get: function() { return this._direction }, set: function(t) { this._direction = t }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(r.StiShapeTypeService); r.StiTriangleShapeType = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiVerticalLineShapeType }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiShapeTypeService); e.StiVerticalLineShapeType = r }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetExcelValue" } , e }(t.StiEvent); t.StiGetExcelValueEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetChecked" } , e }(t.StiEvent); t.StiGetCheckedEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiGetExcelValueEventHandler = new r("sender: any, e: StiGetExcelValueEventArgs"); var n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiGetExcelValueEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Report.Events.StiGetExcelValueEventHandler , a = t.Report.Events.StiValueEventHandler , s = t.Report.Events.StiGetExcelValueEventArgs , l = t.Report.Events.StiGetExcelValueEvent , u = t.Report.Events.StiGetCheckedEvent , c = t.Base.StiJsonSaveMode , m = t.Report.Components.IStiEditable , p = t.Base.Drawing.StiBrush , h = t.Base.Drawing.StiSolidBrush , d = t.Base.Drawing.StiBorder , g = t.System.Drawing.Color , f = t.Base.StiJsonReportObjectHelper , S = t.System.Enum , A = t.Report.Expressions.StiExpression , y = t.System.Text.StiReportObjectStringConverter , w = t.Report.Events.StiValueEventArgs , b = function(b) { function v() { var t = null !== b && b.apply(this, arguments) || this; return t._brush = new h, t._border = new d, t._textBrush = new h(g.black), t._editable = !1, t._canBreak = !1, t._contourColor = g.black, t._size = 1, t._checkStyle = r.StiCheckStyle.Check, t._values = "true/false", t._checkStyleForTrue = r.StiCheckStyle.Check, t._checkStyleForFalse = r.StiCheckStyle.None, t._checked = "", t._excelDataValue = "", t._excelValue = "", t } return __extends(v, b), v.prototype.implements = function() { return b.prototype.implements.call(this).concat([r.IStiBorder, r.IStiTextBrush, r.IStiBrush, r.IStiBreakable, m, n]) } , v.prototype.saveToJsonObject = function(t) { var e = b.prototype.saveToJsonObject.call(this, t); return e.removeProperty("CanShrink"), e.removeProperty("CanGrow"), e.addPropertyStringNullOrEmpty("Brush", f.Serialize.jBrush(this.brush)), e.addPropertyStringNullOrEmpty("Border", f.Serialize.jBorder(this.border)), e.addPropertyStringNullOrEmpty("TextBrush", f.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 A(this.checked).saveToJsonObject(t)), e.addPropertyJObject("ExcelValue", new A(this.excelValue).saveToJsonObject(t)), e.addPropertyStringNullOrEmpty("ExcelDataValue", this.excelDataValue), e.addPropertyStringNullOrEmpty("ContourColor", f.Serialize.jColor(this.contourColor, g.black)), e.addPropertyNumber("Size", this.size, 1), e.addPropertyString("Values", this.values, "true/false"), e.addPropertyEnum("CheckStyleForTrue", r.StiCheckStyle, this.checkStyleForTrue, r.StiCheckStyle.Check), e.addPropertyEnum("CheckStyleForFalse", r.StiCheckStyle, this.checkStyleForFalse, r.StiCheckStyle.None), t == c.Document && e.addPropertyString("CheckedValue", this.checkedValue.toString()), e } , v.prototype.loadFromJsonObject = function(t) { var e, i; b.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Brush": this.brush = f.Deserialize.brush(a.value); break; case "Border": this.border = f.Deserialize.border(a.value); break; case "TextBrush": this.textBrush = f.Deserialize.brush(a.value); break; case "Editable": this.editable = a.value.stimulsoft.toBoolean(); break; case "GetCheckedEvent": var s = new u; s.loadFromJsonObject(a.value), this.getCheckedEvent = s; break; case "GetExcelValueEvent": var s = new l; s.loadFromJsonObject(a.value), this.getExcelValueEvent = s; break; case "Checked": var c = new A; c.loadFromJsonObject(a.value), this.checked = c.value; break; case "ExcelDataValue": this.excelDataValue = a.value; break; case "ExcelValue": var c = new A; c.loadFromJsonObject(a.value), this.excelValue = c.value; break; case "ContourColor": this.contourColor = f.Deserialize.color(a.value); break; case "Size": this.size = a.value.stimulsoft.toNumber(); break; case "Values": this.values = a.value; break; case "CheckStyleForTrue": this.checkStyleForTrue = S.parse(r.StiCheckStyle, a.value); break; case "CheckStyleForFalse": this.checkStyleForFalse = S.parse(r.StiCheckStyle, a.value); break; case "CheckedValue": this.checkedValue = a.value; break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , v.prototype.loadFromXml = function(t, e) { b.prototype.loadFromXml.call(this, t, e); for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "Brush": case "bh": this.brush = p.loadFromXml(n.textContent); break; case "Border": case "br": this.border = d.loadFromXml(n.textContent); break; case "TextBrush": case "tb": this.textBrush = p.loadFromXml(n.textContent); break; case "Editable": this.editable = n.textContent.stimulsoft.toBoolean(); break; case "GetCheckedEvent": break; case "GetExcelValueEvent": break; case "Checked": var o = new A; o.loadFromXml(n), this.checked = o.value; break; case "ExcelDataValue": this.excelDataValue = n.textContent; break; case "ExcelValue": var o = new A; o.loadFromXml(n), this.excelValue = o.value; break; case "ContourColor": this.contourColor = y.convertStringToColor(n.textContent); break; case "Size": this.size = n.textContent.stimulsoft.toNumber(); break; case "Values": this.values = n.textContent; break; case "CheckStyleForTrue": this.checkStyleForTrue = S.parse(r.StiCheckStyle, n.textContent); break; case "CheckStyleForFalse": this.checkStyleForFalse = S.parse(r.StiCheckStyle, n.textContent); break } } } , Object.defineProperty(v.prototype, "brush", { get: function() { return this._brush }, set: function(t) { this._brush = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "border", { get: function() { return this._border }, set: function(t) { this._border = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "textBrush", { get: function() { return this._textBrush }, set: function(t) { this._textBrush = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "editable", { get: function() { return this._editable }, set: function(t) { this._editable = t }, enumerable: !0, configurable: !0 }), v.prototype.clone = function(t) { var e = b.prototype.clone.call(this, t); return null != this._textBrush ? e._textBrush = this._textBrush.clone() : e._textBrush = null, e } , Object.defineProperty(v.prototype, "canBreak", { get: function() { return this._canBreak || this.growToHeight && null != this.page && this.height / this.page.pageHeight > .5 }, set: function(t) { this._canBreak = t }, enumerable: !0, configurable: !0 }), v.prototype.break = function(t, e, r) { return e > .5 || null != this.page && this.height / this.page.pageHeight > .5 ? t.checkedValue = null : this.checkedValue = null, r.ref = 0, !0 } , v.prototype.invokeEvents = function() { b.prototype.invokeEvents.call(this); try { if (this.report.calculationMode == e.StiCalculationMode.Compilation) { if (null != this.events.get(v.eventGetChecked) && null == this.checkedValue) { var t = new w; this.invokeGetChecked(this, t), this.checkedValue = t.value } } else if ((null != this.events.get(v.eventGetChecked) || !i.isNullOrEmpty(this.checked)) && null == this.checkedValue) { var t = new w; this.invokeGetChecked(this, t), this.checkedValue = t.value } if (null != this.events.get(v.eventGetExcelValue) && null == this.excelDataValue) { var t = new s; this.invokeGetExcelValue(this, t), null != t.value && (this.excelDataValue = t.value.toString()) } } catch (t) {} } , v.prototype.onGetChecked = function(t) {} , v.prototype.invokeGetChecked = function(r, i) { try { if (this.report.calculationMode == e.StiCalculationMode.Compilation) { this.onGetChecked(i); var n = this.events.get(v.eventGetChecked); if (null != n) try { n(r, i) } catch (i) {} } else { if (this.onGetChecked(i), null != this.checked && this.checked.length > 0) { var o = t.Report.Engine.StiParser.StiParser.parseTextValue(this.checked, this, r); null != o && (i.value = o) } var n = this.events.get(v.eventGetChecked); if (null != n) try { n(r, i) } catch (i) {} } } catch (t) {} } , Object.defineProperty(v.prototype, "getCheckedEvent", { get: function() { return new u(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(v.eventGetChecked, a.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), v.prototype.onGetExcelValue = function(t) {} , v.prototype.invokeGetExcelValue = function(t, e) { try { this.onGetExcelValue(e); var r = this.events.get(v.eventGetExcelValue); if (null != r) try { r(t, e) } catch (e) {} } catch (t) {} } , Object.defineProperty(v.prototype, "getExcelValueEvent", { get: function() { return new l(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(v.eventGetExcelValue, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "checkedValue", { get: function() { return this._checkedValue }, set: function(t) { this._checkedValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "contourColor", { get: function() { return this._contourColor }, set: function(t) { this._contourColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "size", { get: function() { return this._size }, set: function(t) { this._size = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "checkStyle", { get: function() { return this.checkStyleForTrue }, set: function(t) { this._checkStyle == t && (this.checkStyleForTrue = t, this.checkStyleForFalse = r.StiCheckStyle.None) }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "values", { get: function() { return this._values }, set: function(t) { this._values = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "checkStyleForTrue", { get: function() { return this._checkStyleForTrue }, set: function(t) { this._checkStyleForTrue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "checkStyleForFalse", { get: function() { return this._checkStyleForFalse }, set: function(t) { this._checkStyleForFalse = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "checked", { get: function() { return this._checked }, set: function(t) { this._checked = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "excelDataValue", { get: function() { return this._excelDataValue }, set: function(t) { this._excelDataValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "excelValue", { get: function() { return this._excelValue }, set: function(t) { this._excelValue = t }, enumerable: !0, configurable: !0 }), v.eventGetChecked = {}, v.eventGetExcelValue = {}, v }(r.StiComponent); r.StiCheckBox = b }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Globalization.CultureInfo , n = t.Base.Services.StiService , o = t.Base.StiJson , a = t.Base.JsonReportObject.IStiJsonReportObject , s = t.System.TimeSpan , l = t.System.DateTime , u = function(n) { function u() { var t = null !== n && n.apply(this, arguments) || this; return t._stringFormat = "", t } return __extends(u, n), u.prototype.implements = function() { return [a] } , u.prototype.saveToJsonObject = function(t) { var e = new o; return e.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), e.addPropertyStringNullOrEmpty("StringFormat", this.stringFormat), e } , u.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.value; switch (o.name) { case "StringFormat": this._stringFormat = o.value; break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , u.createFromJsonObject = function(t) { var e = StiOptions.Services.formats , r = t.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value.toString() , i = e.firstOrDefault(function(t) { return t.stimulsoft.getType().stimulsoft.getTypeName() == r }).createNew(); return i.loadFromJsonObject(t), i } , u.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 } } } , u.loadFormatFromXml = function(t, i) { var n = t.attributes.getNamedItem("type") , o = null != n ? n.value : null , a = t.getAttribute("Ref"); null == i || null == i.jsonLoaderHelper || r.isNullOrEmpty(a) || r.isNullOrEmpty(o) || (i.jsonLoaderHelper.textFormatTypes[a.stimulsoft.toNumber()] = o); var s = t.getAttribute("isRef"); switch (null == i || null == i.jsonLoaderHelper || r.isNullOrEmpty(s) || (o = i.jsonLoaderHelper.textFormatTypes[s.stimulsoft.toNumber()]), o) { case "BooleanFormat": var l = new e.StiBooleanFormatService; return l.loadFromXml(t), l; case "CurrencyFormat": var u = new e.StiCurrencyFormatService; return u.loadFromXml(t), u; case "CustomFormat": var c = new e.StiCustomFormatService; return c.loadFromXml(t), c; case "DateFormat": var m = new e.StiDateFormatService; return m.loadFromXml(t), m; case "GeneralFormat": var p = new e.StiGeneralFormatService; return p.loadFromXml(t), p; case "NumberFormat": var h = new e.StiNumberFormatService; return h.loadFromXml(t), h; case "PercentageFormat": var d = new e.StiPercentageFormatService; return d.loadFromXml(t), d; case "TimeFormat": var g = new e.StiTimeFormatService; return g.loadFromXml(t), g } return null } , u.loadFromJsonObjectInternal = function(t) { var e = StiOptions.Services.formats , r = t.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value , i = e.firstOrDefault(function(t) { return t.stimulsoft.getType().stimulsoft.getTypeName() == r }).createNew(); return i.loadFromJsonObject(t), i } , Object.defineProperty(u.prototype, "position", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "sample", { get: function() { return {} }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "nativeFormatString", { get: function() { return "{0}" }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "isFormatStringFromVariable", { get: function() { if (this.stimulsoft.is(e.StiCustomFormatService) && null != this.stringFormat) { var t = this.stringFormat.trim(); return t.length > 2 && t.stimulsoft.startsWith("{") && t.stimulsoft.endsWith("}") } return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "stringFormat", { get: function() { return this._stringFormat }, set: function(t) { this._stringFormat = t }, enumerable: !0, configurable: !0 }), u.prototype.format = function(t) { return this.format2(this.stringFormat, t) } , u.prototype.format2 = function(e, n) { try { if (null == n) return ""; if (r.isNullOrEmpty(e)) { if (n.stimulsoft.is(Number)) return Math.round2(n, 15).toString().replace(".", ",").replace(",", i.currentCulture.numberFormat.numberDecimalSeparator); return n.toString() } var o = !1; if (n.stimulsoft.is(s)) { var a = n.stimulsoft.as(s) , u = l.today; a.ticks < 0 && (a = a.negate(), o = !0), u = new l(u.year,u.month,u.day,a.hours,a.minutes,a.seconds,a.milliseconds), n = u } return r.format("{0}{1:" + e + "}", o ? "-" : "", n) } catch (e) { return t.System.StiError.showError(e, !1), null == n ? "" : n.toString() } } , u.prototype.createNew = function() { return null } , u }(n); e.StiFormatService = u }(r = e.TextFormats || (e.TextFormats = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = function(e) { function r(t) { void 0 === t && (t = ""); var r = e.call(this) || this; return r.stringFormat = t, r } return __extends(r, e), Object.defineProperty(r.prototype, "sample", { get: function() { if (null == this.stringFormat) return ""; var e = this.stringFormat.toLowerCase().trim(); if ("d" == e || "f" == e || "g" == e || e.stimulsoft.startsWith("y")) return t.System.DateTime.now; if (e.stimulsoft.startsWith("c") || e.stimulsoft.startsWith("n") || e.stimulsoft.startsWith("#") || e.stimulsoft.startsWith("$")) return 123.45; if (e.stimulsoft.startsWith("(#")) return 1234567890; return "" }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiFormatService); e.StiCustomFormatService = r }(r = e.TextFormats || (e.TextFormats = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Data.DBNull , n = t.System.DateTime , o = t.System.TimeSpan , a = function(e) { function a(t) { void 0 === t && (t = "t"); var r = e.call(this) || this; return r.stringFormat = t, r } return __extends(a, e), a.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyString("StringFormat", this.stringFormat, "t"), r } , Object.defineProperty(a.prototype, "sample", { get: function() { return n.now }, enumerable: !0, configurable: !0 }), a.prototype.format = function(t) { return this.format2(this.stringFormat, t) } , a.prototype.format2 = function(e, a) { if (null == a || a.stimulsoft.is(i)) return ""; if (r.isNullOrEmpty(e) && (e = "H:mm:ss"), a.stimulsoft.is(String)) if (StiOptions.Engine.allowConvertingInFormatting) { var s = t.Base.Helpers.StiValueHelper.tryToDateTime(a); null != s && (a = s) } else { var s = n.fromString(a.toString()); null != s && (a = s) } if (a.stimulsoft.is(n)) return a.stimulsoft.as(n).toString(e); if (a.stimulsoft.is(o)) return a.stimulsoft.as(o).toString(e); return a.toString() } , a.prototype.createNew = function() { return new a } , a }(e.StiFormatService); e.StiTimeFormatService = a }(r = e.TextFormats || (e.TextFormats = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Data.DBNull , n = t.System.DateTime , o = t.System.TimeSpan , a = function(e) { function a(t, r) { void 0 === t && (t = "d"), void 0 === r && (r = " "); var i = e.call(this) || this; return i._nullDisplay = " ", i.stringFormat = t, i._nullDisplay = r, i } return __extends(a, e), a.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyString("StringFormat", this.stringFormat, "d"), r.addPropertyString("NullDisplay", this.nullDisplay, " "), r } , a.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "NullDisplay": this.nullDisplay = a.value; break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , a.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "NullDisplay": this.nullDisplay = i.textContent; break } } } , Object.defineProperty(a.prototype, "sample", { get: function() { return n.now }, enumerable: !0, configurable: !0 }), a.prototype.format = function(t) { return this.format2(this.stringFormat, t) } , a.prototype.format2 = function(e, s) { if (null == s || s.stimulsoft.is(i)) return this.nullDisplay; if (r.isNullOrEmpty(e)) return s.toString(); if (s.stimulsoft.is(String)) if (StiOptions.Engine.allowConvertingInFormatting) { var l = t.Base.Helpers.StiValueHelper.tryToDateTime(s); null != l && (s = l) } else { var l = n.fromString(s.toString()); null != l && (s = l) } if (s.stimulsoft.is(n) || s.stimulsoft.is(o)) { var u = e.toUpperCase(); if ("Q" == u || "QI" == u || "YQ" == u || "YQI" == u) return a.formatQuarter(e, s); if (s.stimulsoft.is(n)) return s.toString(e); if (s.stimulsoft.is(o)) return s.toString(e) } return s.toString() } , a.formatQuarter = function(e, i) { if (i.stimulsoft.is(n)) { var o = i; if ("Q" == e) return t.Data.Functions.Funcs.quarterName(o); if ("QI" == e) return t.Data.Functions.Funcs.quarterIndex(o).toString(); if ("YQ" == e) return r.format("{0}-{1}", o.year, t.Data.Functions.Funcs.quarterName(o)); if ("YQI" == e) return r.format("{0}-{1}", o.year, t.Data.Functions.Funcs.quarterIndex(o)) } return i.ToString() } , Object.defineProperty(a.prototype, "nullDisplay", { get: function() { return this._nullDisplay }, set: function(t) { this._nullDisplay = t }, enumerable: !0, configurable: !0 }), a.prototype.createNew = function() { return new a } , a }(e.StiFormatService); e.StiDateFormatService = a }(r = e.TextFormats || (e.TextFormats = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.ICloneable , n = t.System.Globalization.NumberFormatInfo , o = t.System.Globalization.CultureInfo , a = t.Report.Components.StiTextFormatState , s = t.System.Enum , l = function() { function t(t, e, r, i, n, o, a, s, l) { this.negativePattern = t, this.decimalSeparator = e, this.decimalDigits = r, this.groupSeparator = i, this.groupSize = n, this.useGroupSeparator = o, this.useLocalSetting = a, this.nullDisplay = s, this.states = l } return t.prototype.implements = function() { return [i] } , t.prototype.clone = function() { return new t(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.states) } , t }() , u = function(e) { function i(t, r, i, n, s, l, u, c, m, p) { void 0 === t && (t = null), void 0 === r && (r = 0), void 0 === i && (i = null), void 0 === n && (n = null), void 0 === s && (s = null), void 0 === l && (l = null), void 0 === u && (u = !0), void 0 === c && (c = !0), void 0 === m && (m = " "), void 0 === p && (p = null); var h = e.call(this) || this; return null == t && (t = o.currentCulture.numberFormat.numberNegativePattern), null == i && (i = o.currentCulture.numberFormat.numberDecimalSeparator), null == n && (n = o.currentCulture.numberFormat.numberDecimalDigits), null == s && (s = o.currentCulture.numberFormat.numberGroupSeparator), null == l && (l = o.currentCulture.numberFormat.numberGroupSizes[0]), null == p && (p = a.None), h.decimalDigits = n, h.decimalSeparator = i, h.groupSeparator = s, h.groupSize = l, h.negativePattern = t, h.useGroupSeparator = u, h.useLocalSetting = c, h.nullDisplay = m, h.state = p, h } return __extends(i, e), i.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("StringFormat"), r.addPropertyNumberNoDefaultValue("NegativePattern", this.negativePattern), r.addPropertyString("DecimalSeparator", this.decimalSeparator, "."), r.addPropertyNumber("DecimalDigits", this.decimalDigits, 2), r.addPropertyString("GroupSeparator", this.groupSeparator), r.addPropertyNumber("GroupSize", this.groupSize, 3), r.addPropertyBool("UseGroupSeparator", this.useGroupSeparator, !0), r.addPropertyBool("UseLocalSetting", this.useLocalSetting, !0), r.addPropertyString("NullDisplay", this.nullDisplay, " "), r.addPropertyString("State", s.getName(a, this.state), "None"), r } , i.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var l = o.value; switch (l.name) { case "NegativePattern": this.negativePattern = l.value.stimulsoft.toNumber(); break; case "DecimalSeparator": this.decimalSeparator = l.value; break; case "DecimalDigits": this.decimalDigits = l.value.stimulsoft.toNumber(); break; case "GroupSeparator": this.groupSeparator = l.value; break; case "GroupSize": this.groupSize = l.value.stimulsoft.toNumber(); break; case "UseGroupSeparator": this.useGroupSeparator = l.value.stimulsoft.toBoolean(); break; case "UseLocalSetting": this.useLocalSetting = l.value.stimulsoft.toBoolean(); break; case "NullDisplay": this.nullDisplay = l.value; break; case "State": this.state = s.parse(a, l.value); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , i.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "NegativePattern": this.negativePattern = i.textContent.stimulsoft.toNumber(); break; case "DecimalSeparator": this.decimalSeparator = i.textContent; break; case "DecimalDigits": this.decimalDigits = i.textContent.stimulsoft.toNumber(); break; case "GroupSeparator": this.groupSeparator = i.textContent; break; case "GroupSize": this.groupSize = i.textContent.stimulsoft.toNumber(); break; case "UseGroupSeparator": this.useGroupSeparator = i.textContent.stimulsoft.toBoolean(); break; case "UseLocalSetting": this.useLocalSetting = i.textContent.stimulsoft.toBoolean(); break; case "NullDisplay": this.nullDisplay = i.textContent; break; case "State": this.state = s.parse(a, i.textContent); break } } } , i.prototype.clone = function() { var t = e.prototype.clone.call(this); return null != this.bits && (t.bits = this.bits.clone()), t } , Object.defineProperty(i.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.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,t,this.state) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.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 l(t,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.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 l(this.negativePattern,t,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.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 l(this.negativePattern,this.decimalSeparator,t,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.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 l(this.negativePattern,this.decimalSeparator,this.decimalDigits,t,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "groupSize", { get: function() { return null == this.bits ? 3 : this.bits.groupSize }, set: function(t) { if (3 == t && null == this.bits) return; t > 9 && (t = 9), null != this.bits ? this.bits.groupSize = t : this.bits = new l(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,t,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "useGroupSeparator", { get: function() { return null == this.bits || this.bits.useGroupSeparator }, set: function(t) { if (t && null == this.bits) return; null != this.bits ? this.bits.useGroupSeparator = t : this.bits = new l(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,t,this.useLocalSetting,this.nullDisplay,this.state) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.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 l(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,t,this.nullDisplay,this.state) }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "sample", { get: function() { return -1234.123456789 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "nativeFormatString", { get: function() { return "{0:N2}" }, enumerable: !0, configurable: !0 }), i.prototype.equals = function(t) { var e = t; if (null == e) return !1; if (this.nullDisplay != e.nullDisplay) return !1; if (this.negativePattern != e.negativePattern) return !1; if (this.decimalDigits != e.decimalDigits) return !1; if (this.decimalSeparator != e.decimalSeparator) return !1; if (this.groupSeparator != e.groupSeparator) return !1; if (this.groupSize != e.groupSize) return !1; if (this.useGroupSeparator != e.useGroupSeparator) return !1; if (this.useLocalSetting != e.useLocalSetting) return !1; if (this.stringFormat != e.stringFormat) return !1; return !0 } , Object.defineProperty(i.prototype, "state", { get: function() { return null == this.bits ? a.None : this.bits.states }, set: function(t) { if (t == a.None && null == this.bits) return; null != this.bits ? this.bits.states = t : this.bits = new l(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,t) }, enumerable: !0, configurable: !0 }), i.prototype.fillLocalSetting = function(t) { t.numberDecimalDigits = o.currentCulture.numberFormat.numberDecimalDigits, t.numberDecimalSeparator = o.currentCulture.numberFormat.numberDecimalSeparator, t.numberGroupSeparator = o.currentCulture.numberFormat.numberGroupSeparator, t.numberGroupSizes = o.currentCulture.numberFormat.numberGroupSizes, t.numberNegativePattern = o.currentCulture.numberFormat.numberNegativePattern, t.currencyDecimalDigits = o.currentCulture.numberFormat.currencyDecimalDigits, t.currencyDecimalSeparator = o.currentCulture.numberFormat.currencyDecimalSeparator, t.currencyGroupSeparator = o.currentCulture.numberFormat.currencyGroupSeparator, t.currencyGroupSizes = o.currentCulture.numberFormat.currencyGroupSizes, t.currencyNegativePattern = o.currentCulture.numberFormat.currencyNegativePattern, t.currencyPositivePattern = o.currentCulture.numberFormat.currencyPositivePattern, t.currencySymbol = o.currentCulture.numberFormat.currencySymbol, t.percentDecimalDigits = o.currentCulture.numberFormat.percentDecimalDigits, t.percentDecimalSeparator = o.currentCulture.numberFormat.percentDecimalSeparator, t.percentGroupSeparator = o.currentCulture.numberFormat.percentGroupSeparator, t.percentGroupSizes = o.currentCulture.numberFormat.percentGroupSizes, t.percentNegativePattern = o.currentCulture.numberFormat.percentNegativePattern, t.percentPositivePattern = o.currentCulture.numberFormat.percentPositivePattern, t.percentSymbol = o.currentCulture.numberFormat.percentSymbol, t.perMilleSymbol = o.currentCulture.numberFormat.perMilleSymbol, t.positiveInfinitySymbol = o.currentCulture.numberFormat.positiveInfinitySymbol, t.positiveSign = o.currentCulture.numberFormat.positiveSign, t.NaNSymbol = o.currentCulture.numberFormat.NaNSymbol, t.negativeInfinitySymbol = o.currentCulture.numberFormat.negativeInfinitySymbol, t.negativeSign = o.currentCulture.numberFormat.negativeSign } , i.prototype.format = function(t) { return this.format2(this.stringFormat, t) } , i.prototype.format2 = function(e, i) { if (null == i) return this.nullDisplay; var s = new n; if (this.useLocalSetting ? (this.fillLocalSetting(s), (this.state & a.DecimalDigits) > 0 && (s.numberDecimalDigits = this.decimalDigits), (this.state & a.DecimalSeparator) > 0 && !r.isNullOrEmpty(this.decimalSeparator) && (s.numberDecimalSeparator = this.decimalSeparator), (this.state & a.GroupSeparator) > 0 && !r.isNullOrEmpty(this.groupSeparator) && (s.numberGroupSeparator = this.groupSeparator), (this.state & a.GroupSize) > 0 && (s.numberGroupSizes = [this.groupSize]), (this.state & a.NegativePattern) > 0 && (s.numberNegativePattern = this.negativePattern)) : (r.isNullOrEmpty(this.decimalSeparator) ? s.numberDecimalSeparator = o.currentCulture.numberFormat.numberDecimalSeparator : s.numberDecimalSeparator = this.decimalSeparator, s.numberDecimalDigits = this.decimalDigits, null != this.groupSeparator && (s.numberGroupSeparator = this.groupSeparator), s.numberGroupSizes = [this.groupSize], s.numberNegativePattern = this.negativePattern), this.useGroupSeparator || (s.numberGroupSeparator = ""), (this.state & a.Abbreviation) > 0) { var l = t.Base.Helpers.StiValueHelper.tryToNullableNumber(i); if (null != l) { var u = { ref: "" }; l = t.Report.StiAbbreviationNumberFormatHelper.format2(l, u); return "" + this.formatStr(s, l) + u.ref } } return this.formatStr(s, i) } , i.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 i = "" , n = r < 0 , o = Math.abs(r) , a = Math.floor(o) , s = 0; if (0 == t.numberDecimalDigits) a = Math.round(Math.abs(r)); else { var l = Math.pow(10, t.numberDecimalDigits); s = Math.round2(Math.round2(Math.round2(o - a, t.numberDecimalDigits + 1), t.numberDecimalDigits) * l), s >= l && (a++, s = 0) } var u = a.toString(); if (t.numberGroupSizes[0] > 0 && this.useGroupSeparator) { var c = u.length - t.numberGroupSizes[0]; while (c >= 0) i = (c > 0 ? t.numberGroupSeparator : "") + u.substr(c, t.numberGroupSizes[0]) + i, c -= t.numberGroupSizes[0]; c < 0 && (i = u.substring(0, c + t.numberGroupSizes[0]) + i) } else i = u; if (t.numberDecimalDigits > 0) { u = s.toString(); while (u.length < t.numberDecimalDigits) u = "0" + u; i += t.numberDecimalSeparator + u } if (n) switch (t.numberNegativePattern) { case 0: i = "(" + i + ")"; break; case 2: i = t.negativeSign + " " + i; break; case 3: i += t.negativeSign; break; case 4: i = i + " " + t.negativeSign; break; default: i = t.negativeSign + i; break } return i } , i.prototype.createNew = function() { return new i } , i }(e.StiFormatService); e.StiNumberFormatService = u }(r = e.TextFormats || (e.TextFormats = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Data.DBNull , o = t.System.Globalization.NumberFormatInfo , a = t.System.Globalization.CultureInfo , s = function(r) { function s(t, i, n, o, s, l, u, c, m, p, h, d) { void 0 === t && (t = a.currentCulture.numberFormat.currencyPositivePattern), void 0 === i && (i = a.currentCulture.numberFormat.currencyNegativePattern), void 0 === n && (n = 0), void 0 === o && (o = a.currentCulture.numberFormat.currencyDecimalSeparator), void 0 === s && (s = a.currentCulture.numberFormat.currencyDecimalDigits), void 0 === l && (l = a.currentCulture.numberFormat.currencyGroupSeparator), void 0 === u && (u = a.currentCulture.numberFormat.currencyGroupSizes[0]), void 0 === c && (c = "$"), void 0 === m && (m = !0), void 0 === p && (p = !0), void 0 === h && (h = " "), void 0 === d && (d = e.StiTextFormatState.None); var g = r.call(this) || this; return g._positivePattern = 1, g._symbol = "$", g.decimalDigits = s, g.decimalSeparator = o, g.groupSeparator = l, g.groupSize = u, g.negativePattern = i, g.positivePattern = t, g._symbol = c, g.useGroupSeparator = m, g.useLocalSetting = p, g.nullDisplay = h, g.state = d, g } return __extends(s, r), s.prototype.saveToJsonObject = function(t) { var e = r.prototype.saveToJsonObject.call(this, t); return e.removeProperty("StringFormat"), e.addPropertyNumberNoDefaultValue("PositivePattern", this.positivePattern), e.addPropertyString("Symbol", this.symbol, "$"), e } , s.prototype.loadFromJsonObject = function(t) { var e, i; r.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "PositivePattern": this.positivePattern = a.value.stimulsoft.toNumber(); break; case "Symbol": this.symbol = a.value; break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , s.prototype.loadFromXml = function(t) { r.prototype.loadFromXml.call(this, t); for (var e = 0; e < t.childNodes.length; e++) { var i = t.childNodes[e]; switch (i.nodeName) { case "PositivePattern": this.positivePattern = i.textContent.stimulsoft.toNumber(); break; case "Symbol": this.symbol = i.textContent; break } } } , Object.defineProperty(s.prototype, "positivePattern", { get: function() { return this._positivePattern }, set: function(t) { this._positivePattern = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "symbol", { get: function() { return this._symbol }, set: function(t) { this._symbol = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "nativeFormatString", { get: function() { return "{0:C2}" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "sample", { get: function() { return -1234.12345679 }, enumerable: !0, configurable: !0 }), s.prototype.equals = function(t) { var e = t; if (null == e) return !1; if (!r.prototype.equals.call(this, e)) return !1; if (this.positivePattern != e.positivePattern) return !1; if (this.symbol != e.symbol) return !1; return !0 } , s.prototype.format = function(t) { return this.format2(this.stringFormat, t) } , s.prototype.format2 = function(r, s) { if (null == s) return this.nullDisplay; if (null == s || s.stimulsoft.is(n)) return this.nullDisplay; var l = new o; if (this.useLocalSetting ? (this.fillLocalSetting(l), (this.state & e.StiTextFormatState.DecimalDigits) > 0 && (l.currencyDecimalDigits = this.decimalDigits), (this.state & e.StiTextFormatState.DecimalSeparator) > 0 && !i.isNullOrEmpty(this.decimalSeparator) && (l.currencyDecimalSeparator = this.decimalSeparator), (this.state & e.StiTextFormatState.GroupSeparator) > 0 && !i.isNullOrEmpty(this.groupSeparator) && (l.currencyGroupSeparator = this.groupSeparator), (this.state & e.StiTextFormatState.GroupSize) > 0 && (l.currencyGroupSizes = [this.groupSize]), (this.state & e.StiTextFormatState.NegativePattern) > 0 && (l.currencyNegativePattern = this.negativePattern), (this.state & e.StiTextFormatState.PositivePattern) > 0 && (l.currencyPositivePattern = this.positivePattern), (this.state & e.StiTextFormatState.CurrencySymbol) > 0 && (l.currencySymbol = this.symbol)) : (i.isNullOrEmpty(this.decimalSeparator) ? l.currencyDecimalSeparator = a.currentCulture.numberFormat.currencyDecimalSeparator : l.currencyDecimalSeparator = this.decimalSeparator, l.currencyDecimalDigits = this.decimalDigits, null != this.groupSeparator && (l.currencyGroupSeparator = this.groupSeparator), l.currencyGroupSizes = [this.groupSize], l.currencyPositivePattern = this.positivePattern, l.currencyNegativePattern = this.negativePattern, null != this.symbol && (l.currencySymbol = this.symbol)), this.useGroupSeparator || (l.currencyGroupSeparator = ""), (this.state & e.StiTextFormatState.Abbreviation) > 0) { var u = t.Base.Helpers.StiValueHelper.tryToNullableNumber(s); if (null != u) { var c = { ref: "" }; u = t.Report.StiAbbreviationNumberFormatHelper.format2(u, c); var m = u.toFixed(l.currencyDecimalDigits); return m = "" + m + c.ref, this.formatAsCurrency(u, m) } } return this.formatStr(l, s) } , s.prototype.formatAsCurrency = function(t, e) { var r = this.getCurrencySymbol(); if (t >= 0) { var i = this.getPositivePattern(); return i.stimulsoft.replaceAll("n", e).stimulsoft.replaceAll("$", r) } e = e.stimulsoft.replaceAll("-", ""); var i = this.getNegativePattern(); return i.stimulsoft.replaceAll("n", e).stimulsoft.replaceAll("$", r) } , s.prototype.getCurrencySymbol = function() { return this.useLocalSetting && 0 == (this.state & e.StiTextFormatState.CurrencySymbol) ? a.currentCulture.numberFormat.currencySymbol : this.symbol } , s.prototype.getPositivePattern = function() { var t = this.useLocalSetting && 0 == (this.state & e.StiTextFormatState.PositivePattern) ? a.currentCulture.numberFormat.currencyPositivePattern : this.positivePattern , r = ["$n", "n$", "$ n", "n $"]; return t >= 0 && t < r.length ? r[t] : "$n" } , s.prototype.getNegativePattern = function() { var t = this.useLocalSetting && 0 == (this.state & e.StiTextFormatState.NegativePattern) ? a.currentCulture.numberFormat.currencyNegativePattern : this.negativePattern , r = ["($n)", "-$n", "$-n", "$n-", "(n$)", "-n$", "n-$", "n$-", "-n $", "-$ n", "n $-", "$ n-", "$ -n", "n- $", "($ n)", "(n $)"]; return t >= 0 && t < r.length ? r[t] : "($n)" } , s.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 i = "" , n = Math.abs(r) , o = r < 0 , a = Math.floor(n) , s = 0; if (0 == t.currencyDecimalDigits) a = Math.round(Math.abs(r)); else { var l = Math.pow(10, t.currencyDecimalDigits); s = Math.round2(Math.round2(Math.round2(n - a, t.currencyDecimalDigits + 1), t.currencyDecimalDigits) * l), s >= l && (a++, s = 0) } var u = a.toString(); if (t.currencyGroupSizes[0] > 0 && this.useGroupSeparator) { var c = u.length - t.currencyGroupSizes[0]; while (c >= 0) i = (c > 0 ? t.currencyGroupSeparator : "") + u.substr(c, t.currencyGroupSizes[0]) + i, c -= t.currencyGroupSizes[0]; c < 0 && (i = u.substring(0, c + t.currencyGroupSizes[0]) + i) } else i = u; if (t.currencyDecimalDigits > 0) { u = s.toString(); while (u.length < t.currencyDecimalDigits) u = "0" + u; i += t.currencyDecimalSeparator + u } if (o) switch (t.currencyNegativePattern) { case 0: i = "(" + t.currencySymbol + i + ")"; break; case 1: i = "-" + t.currencySymbol + i; break; case 2: i = t.currencySymbol + "-" + i; break; case 3: i = t.currencySymbol + i + "-"; break; case 4: i = "(" + i + t.currencySymbol + ")"; break; case 6: i = i + "-" + t.currencySymbol; break; case 7: i = i + t.currencySymbol + "-"; break; case 8: i = "-" + i + " " + t.currencySymbol; break; case 9: i = i + " " + t.currencySymbol + "-"; break; case 10: i = t.currencySymbol + " " + i + "-"; break; case 11: i = t.currencySymbol + " " + "-" + i; break; case 12: i = i + "- " + t.currencySymbol; break; case 13: i = "(" + t.currencySymbol + " " + i + ")"; break; case 14: i = "(" + i + " " + t.currencySymbol + ")"; break; case 15: i = "(" + t.currencySymbol + " " + i + ")"; break; case 16: i = "(" + i + " " + t.currencySymbol + ")"; break; default: i = "-" + i + t.currencySymbol; break } else switch (t.currencyPositivePattern) { case 0: i = t.currencySymbol + i; break; case 1: i += t.currencySymbol; break; case 2: i = t.currencySymbol + " " + i; break; case 3: i = i + " " + t.currencySymbol; break } return i } , s.prototype.createNew = function() { return new s } , s }(r.StiNumberFormatService); r.StiCurrencyFormatService = s }(r = e.TextFormats || (e.TextFormats = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Data.DBNull , o = t.System.Globalization.NumberFormatInfo , a = t.System.Globalization.CultureInfo , s = function(t) { function r(r, i, n, o, s, l, u, c, m, p, h, d) { void 0 === r && (r = a.currentCulture.numberFormat.percentPositivePattern), void 0 === i && (i = a.currentCulture.numberFormat.percentNegativePattern), void 0 === n && (n = 0), void 0 === o && (o = a.currentCulture.numberFormat.percentDecimalSeparator), void 0 === s && (s = a.currentCulture.numberFormat.percentDecimalDigits), void 0 === l && (l = a.currentCulture.numberFormat.percentGroupSeparator), void 0 === u && (u = a.currentCulture.numberFormat.percentGroupSizes[0]), void 0 === c && (c = a.currentCulture.numberFormat.percentSymbol), void 0 === m && (m = !0), void 0 === p && (p = !0), void 0 === h && (h = " "), void 0 === d && (d = e.StiTextFormatState.None); var g = t.call(this) || this; return g.decimalDigits = s, g.decimalSeparator = o, g.groupSeparator = l, g.groupSize = u, g.negativePattern = i, g.positivePattern = r, g.symbol = c, g.useGroupSeparator = m, g.useLocalSetting = p, g.nullDisplay = h, g.state = d, g } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("StringFormat"), r } , r.prototype.format = function(t) { return this.format2(this.stringFormat, t) } , r.prototype.format2 = function(t, r) { if (null == r || r.stimulsoft.is(n)) return this.nullDisplay; var s = new o; return this.useLocalSetting ? (this.fillLocalSetting(s), (this.state & e.StiTextFormatState.DecimalDigits) > 0 && (s.percentDecimalDigits = this.decimalDigits), (this.state & e.StiTextFormatState.DecimalSeparator) > 0 && !i.isNullOrEmpty(this.decimalSeparator) && (s.percentDecimalSeparator = this.decimalSeparator), (this.state & e.StiTextFormatState.GroupSeparator) > 0 && !i.isNullOrEmpty(this.groupSeparator) && (s.percentGroupSeparator = this.groupSeparator), (this.state & e.StiTextFormatState.GroupSize) > 0 && (s.percentGroupSizes = [this.groupSize]), (this.state & e.StiTextFormatState.NegativePattern) > 0 && (s.percentNegativePattern = this.negativePattern), (this.state & e.StiTextFormatState.PositivePattern) > 0 && (s.percentPositivePattern = this.positivePattern), (this.state & e.StiTextFormatState.PercentageSymbol) > 0 && (s.percentSymbol = this.symbol)) : (i.isNullOrEmpty(this.decimalSeparator) ? s.percentDecimalSeparator = a.currentCulture.numberFormat.percentDecimalSeparator : s.percentDecimalSeparator = this.decimalSeparator, s.percentDecimalDigits = this.decimalDigits, s.percentGroupSeparator = this.groupSeparator, s.percentGroupSizes = [this.groupSize], s.percentPositivePattern = this.positivePattern, s.percentNegativePattern = this.negativePattern, s.percentSymbol = this.symbol), this.useGroupSeparator || (s.percentGroupSeparator = ""), this.formatStr(s, r) } , r.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 i = ""; r *= 100; var n = r < 0 , o = Math.abs(r) , a = Math.floor(o) , s = 0; if (0 == t.percentDecimalDigits) a = Math.round(Math.abs(r)); else { var l = Math.pow(10, t.percentDecimalDigits); s = Math.round2(Math.round2(Math.round2(o - a, t.percentDecimalDigits + 1), t.percentDecimalDigits) * l), s >= l && (a++, s = 0) } var u = a.toString(); if (t.percentGroupSizes[0] > 0 && this.useGroupSeparator) { var c = u.length - t.percentGroupSizes[0]; while (c >= 0) i = (c > 0 ? t.percentGroupSeparator : "") + u.substr(c, t.percentGroupSizes[0]) + i, c -= t.percentGroupSizes[0]; c < 0 && (i = u.substring(0, c + t.percentGroupSizes[0]) + i) } else i = u; if (t.percentDecimalDigits > 0) { u = s.toString(); while (u.length < t.percentDecimalDigits) u = "0" + u; i += t.percentDecimalSeparator + u } if (n) switch (t.percentNegativePattern) { case 0: i = "-" + i + " " + t.percentSymbol; break; case 2: i = "-" + t.percentSymbol + i; break; default: i = "-" + i + t.percentSymbol; break } else switch (t.percentPositivePattern) { case 0: i = i + " " + t.percentSymbol; break; case 2: i = t.percentSymbol + i; break; default: i += t.percentSymbol; break } return i } , r.prototype.createNew = function() { return new r } , r }(r.StiCurrencyFormatService); r.StiPercentageFormatService = s }(r = e.TextFormats || (e.TextFormats = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { var e = t.call(this) || this; return e.stringFormat = "", e } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("StringFormat"), r } , Object.defineProperty(e.prototype, "sample", { get: function() { return "" }, enumerable: !0, configurable: !0 }), e.prototype.equals = function(t) { if (null == t) return !1; return !0 } , e.prototype.createNew = function() { return new e } , e.default = new e, e }(t.StiFormatService); t.StiGeneralFormatService = e }(e = t.TextFormats || (t.TextFormats = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetValue" } , e }(t.StiEvent); t.StiGetValueEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiGetValueEventHandler = new r("sender: any, e: StiGetValueEventArgs"); var n = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.value = null, e } return __extends(e, t), e }(i); e.StiGetValueEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Report.Events.StiGetValueEventHandler , a = t.Report.Events.StiGetValueEvent , s = t.System.Enum , l = t.Report.Components.IStiEditable , u = t.Base.Drawing.StiPenStyle , c = t.Report.Events.StiGetValueEventArgs , m = t.Report.Events.StiValueEventArgs , p = t.System.Drawing.Rectangle , h = t.Report.Expressions.StiExpression , d = t.Report.Components.TextFormats.StiCurrencyFormatService , g = function(g) { function f(t, e) { void 0 === t && (t = p.empty), void 0 === e && (e = !1); var r = g.call(this) || this; return r._linesOfUnderline = u.None, r._hideZeros = !1, r._editable = !1, r._text = "", r._totalValueHelp = null, e || r.construct(t), r } return __extends(f, g), f.prototype.implements = function() { return f.ImplementsStiSimpleText || (f.ImplementsStiSimpleText = g.prototype.implements.call(this).concat([r.IStiText, l, n])), f.ImplementsStiSimpleText } , f.prototype.saveToJsonObject = function(t) { var e = g.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", r.StiProcessingDuplicatesType, this.processingDuplicates, r.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", r.StiProcessAt, this.processAt, r.StiProcessAt.None), e.addPropertyJObject("Text", new h(this.text).saveToJsonObject(t)), e.addPropertyJObject("GetValueEvent", this.getValueEvent.saveToJsonObject(t)), e.addPropertyStringNullOrEmpty("TotalValueHelp", this.totalValueHelp), e } , f.prototype.loadFromJsonObject = function(t) { var e, i; g.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var l = o.value; switch (l.name) { case "GlobalizedName": this.globalizedName = l.value; break; case "LinesOfUnderline": this._linesOfUnderline = s.parse(u, l.value); break; case "HideZeros": this._hideZeros = l.value.stimulsoft.toBoolean(); break; case "ProcessingDuplicates": this.processingDuplicates = s.parse(r.StiProcessingDuplicatesType, l.value); break; case "MaxNumberOfLines": this.maxNumberOfLines = l.value.stimulsoft.toNumber(); break; case "OnlyText": this.onlyText = l.value.stimulsoft.toBoolean(); break; case "Editable": this._editable = l.value.stimulsoft.toBoolean(); break; case "ProcessAtEnd": this.processAtEnd = l.value.stimulsoft.toBoolean(); break; case "ProcessAt": this.processAt = s.parse(r.StiProcessAt, l.value); break; case "Text": var c = new h; c.loadFromJsonObject(l.value), this._text = c.value; break; case "GetValueEvent": var m = new a; m.loadFromJsonObject(l.value), this.getValueEvent = m; break; case "TotalValueHelp": this._totalValueHelp = l.value; break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , f.prototype.loadFromXml = function(t, e) { g.prototype.loadFromXml.call(this, t, e); for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "GlobalizedName": this.globalizedName = n.textContent; break; case "LinesOfUnderline": this._linesOfUnderline = s.parse(u, n.textContent); break; case "HideZeros": this._hideZeros = n.textContent.stimulsoft.toBoolean(); break; case "ProcessingDuplicates": this.processingDuplicates = s.parse(r.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 = s.parse(r.StiProcessAt, n.textContent); break; case "Text": var o = new h; o.loadFromXml(n), this._text = o.value; break; case "GetValueEvent": break; case "TotalValueHelp": this._totalValueHelp = n.textContent; break } } } , Object.defineProperty(f.prototype, "globalizedName", { get: function() { return this.properties.get(f.propertyGlobalizedName, "") }, set: function(t) { this.properties.set(f.propertyGlobalizedName, t, "") }, enumerable: !0, configurable: !0 }), f.prototype.clone = function(t) { var e = g.prototype.clone.call(this, t); return null != this._text ? e._text = this._text : e._text = null, e } , f.prototype.memberwiseClone = function() { var t = g.prototype.memberwiseClone.call(this); 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 } , f.prototype.getTextWithoutZero = function(e) { if (!this.hideZeros) return e; if ("0" == e) return this.canShrink ? "" : " "; if (null == e || 0 == e.trim().length) return e; var n = e.trim(); try { if (-1 != i.indexOfAny(n, ["1", "2", "3", "4", "5", "6", "7", "8", "9"])) return e; if (-1 == n.indexOf("0")) return e; var o = "$"; this.stimulsoft.is(r.StiText) && this.stimulsoft.as(r.StiText).textFormat.stimulsoft.is(d) && (o = this.stimulsoft.as(r.StiText).textFormat.symbol), n.stimulsoft.startsWith(o) && (n = n.substr(o.length)), n.stimulsoft.endsWith(o) && (n = n.substr(0, n.length - o.length)); var a = n.stimulsoft.toNumber(!1); if (0 == a) return this.canShrink ? "" : " " } catch (e) { t.System.StiError.showError(e.message, !1), n = n.stimulsoft.replaceAll("%", ""); var a = n.stimulsoft.toNumber(!1); if (null != a && 0 == a) return this.canShrink ? "" : " " } return e } , f.prototype.setText = function(t, e) { var r, i, n, 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 && u.length > 0) { try { for (var c = __values(u), m = c.next(); !m.done; m = c.next()) { var p = m.value , h = p.pageIndex; if (null != this.report.engine && (this.report.engine.indexPageForPageTotal = h - 1), h--, this.report.renderedPages.cacheMode && h < this.report.renderedPages.count) { var d = this.report.renderedPages.getByIndex(h); if (this.report.renderedPages.getPage(this.page), this.report.renderedPages.isNotSavedPage(this.page)) { this.setTextTo(p.textBox, p, t, e); continue } var g = d.getComponents(); try { for (var S = (n = void 0, __values(g.list)), A = S.next(); !A.done; A = S.next()) { var y = A.value , w = y.stimulsoft.as(f); null != w && y.name == this.name && null == w.totalValueHelp && this.setTextTo(y, p, t, e) } } catch (t) { n = { error: t } } finally { try { A && !A.done && (o = S.return) && o.call(S) } finally { if (n) throw n.error } } this.report.renderedPages.markPageAsNotSaved(d) } else this.setTextTo(p.textBox, p, t, e) } } catch (t) { r = { error: t } } finally { try { m && !m.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } u.clear() } else null != e && (this._text = e) } null == s && (this._textValue = this.processText(this.getTextWithoutZero(this._text))) } , f.prototype.setTextTo = function(n, o, a, s) { var l = n.stimulsoft.as(r.IStiText); if (null != l) { n.totalValueHelp = "1"; var u = this.report.pageNumber , p = new e.StiRuntimeVariables(this.report); o.setVariables(this.report); var h = "" , d = "-" , g = !0; if (null != this.report && (g = this.report.calculationMode == e.StiCalculationMode.Compilation), null != s) this._text = s; else if (g) ; else try { var f = n.stimulsoft.as(r.StiText) , S = null != f && null != f.excelValue && f.excelValue.length > 0 , A = f.text; this.report.totals.contains("#%#" + n.name) && (A = this.report.totals.get("#%#" + n.name)); var y = !1 , w = { ref: y } , b = t.Report.Engine.StiParser.StiParser.parseTextValue(A, this, f, w, !0); y = w.ref, h = null != f && null != f.format && "G" != f.format ? S ? f.textFormat.format(b) : f.textFormat.format(this.report.checkExcelValue(n, b)) : this.report.toString3(n, b, !S) } catch (e) { t.System.StiError.showError(i.format("Expression in Text property of '{0}' can't be evaluated! {1}", this.name, e.message), !1) } if (p.setVariables(this.report), this.report.pageNumber = u, g) ; else { var v = new c; v.value = h, l.invokeGetValue(l, v), (v.storeToPrinted && i.isNullOrEmpty(v.value) || v.value.stimulsoft.startsWith("#%#")) && (v.value = h); var C = new m(v.value); this.invokeTextProcess(n, C); var E = this.processText(this.getTextWithoutZero(C.value)); l.setTextInternal(E) } } } , Object.defineProperty(f.prototype, "linesOfUnderline", { get: function() { return this._linesOfUnderline }, set: function(t) { this._linesOfUnderline = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "linesOfUnderlining", { get: function() { return this.linesOfUnderline != u.None }, set: function(t) { this.linesOfUnderline = t ? u.Solid : u.None }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "hideZeros", { get: function() { return this._hideZeros }, set: function(t) { this._hideZeros = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "mergeDuplicates", { get: function() { return this.processingDuplicates == r.StiProcessingDuplicatesType.Merge }, set: function(t) { this.processingDuplicates = r.StiProcessingDuplicatesType.Merge }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "processingDuplicates", { get: function() { return this.properties.get(f.propertyProcessingDuplicates, r.StiProcessingDuplicatesType.None) }, set: function(t) { this.properties.set(f.propertyProcessingDuplicates, t, r.StiProcessingDuplicatesType.None) }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "maxNumberOfLines", { get: function() { return this.properties.getNumber(f.propertyMaxNumberOfLines, 0) }, set: function(t) { this.properties.setNumber(f.propertyMaxNumberOfLines, t, 0) }, enumerable: !0, configurable: !0 }), f.prototype.processText = function(t) { return t } , Object.defineProperty(f.prototype, "onlyText", { get: function() { return this.properties.getBool(f.propertyOnlyText, !1) }, set: function(t) { this.properties.setBool(f.propertyOnlyText, t, !1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "editable", { get: function() { return this._editable }, set: function(t) { this._editable = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "processAtEnd", { get: function() { return this.processAt == r.StiProcessAt.EndOfReport }, set: function(t) { this.processAt = t ? r.StiProcessAt.EndOfReport : r.StiProcessAt.None }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "processAt", { get: function() { return this.properties.get(f.propertyProcessAt, r.StiProcessAt.None) }, set: function(t) { this.properties.set(f.propertyProcessAt, t, r.StiProcessAt.None) }, enumerable: !0, configurable: !0 }), f.prototype.invokeRenderTo = function(t) {} , Object.defineProperty(f.prototype, "text", { get: function() { return this._text }, set: function(t) { this._text = t }, enumerable: !0, configurable: !0 }), f.prototype.getTextInternal = function() { return this.text } , f.prototype.setTextInternal = function(t) { this.text = t } , Object.defineProperty(f.prototype, "textValue", { get: function() { return this._textValue }, set: function(t) { this._textValue != t && (this._textValue = t) }, enumerable: !0, configurable: !0 }), f.prototype.onGetValue = function(t) {} , f.prototype.invokeGetValue = function(n, o) { try { if (this.onGetValue(o), this.report.calculationMode == e.StiCalculationMode.Interpretation) { var a = n , s = null != a && !i.isNullOrEmpty(a.excelValue) , l = !1 , u = null , c = n.stimulsoft.as(r.StiRichText); if (null != c) { if (c.onlyText) u = r.StiRichText.notSupportedText; else if (null != this.report.engine) { var m = this.report.engine.parserConversionStore.get("*StiRichTextExpression*" + n.name); null != m && (u = m) } } else if (a.onlyText) u = a.text; else { var p = this.stimulsoft.as(r.StiText); if (null == p || p.type != r.StiSystemTextType.DataColumn || i.isNullOrEmpty(p.nullValue)) { var h = { ref: l }; u = t.Report.Engine.StiParser.StiParser.parseTextValue(a.text, a, null, h, !1), l = h.ref } else { var d = a.text; if (d.stimulsoft.startsWith("{") && d.stimulsoft.endsWith("}") && d.length > 2) if (d = d.substr(1, d.length - 2), e.StiNullValuesHelper.isNull(this.report, d)) u = p.nullValue; else { var h = { ref: l }; u = t.Report.Engine.StiParser.StiParser.parseTextValue(a.text, a, null, h, !1), l = h.ref } } } l && (o.storeToPrinted = !0, u = "#%#" + a.text), null != a && null != a.format && "G" != a.format ? o.value = s ? a.textFormat.format2(a.textFormat.stringFormat, u) : a.textFormat.format2(a.textFormat.stringFormat, this.report.checkExcelValue(n, u)) : o.value = this.report.toString3(n, u, !s) } var g = this.events.get(f.eventGetValue); if (null != g) try { g(n, o) } catch (o) {} } catch (e) { var S = i.format("Expression in Text property of '{0}' can't be evaluated! {1}", this.name, e.message); t.System.StiError.showError(S, !1), this.report.writeToReportRenderingMessages(S) } } , f.prototype.checkDuplicates = function(e, n) { try { var o = e , a = this.processingDuplicates; if (a == r.StiProcessingDuplicatesType.BasedOnValueAndTagMerge || a == r.StiProcessingDuplicatesType.BasedOnValueAndTagHide || a == r.StiProcessingDuplicatesType.BasedOnValueRemoveText) { var s = a == r.StiProcessingDuplicatesType.BasedOnValueAndTagMerge || a == r.StiProcessingDuplicatesType.BasedOnValueAndTagHide ? t.System.Convert.toString(o.tagValue) : null; this.report.engine.checkForDuplicate(this.name, n.value, s) && (n.value = "") } if (a == r.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagMerge || a == r.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagHide || a == r.StiProcessingDuplicatesType.GlobalBasedOnValueRemoveText) { var s = a == r.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagMerge || a == r.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagHide ? t.System.Convert.toString(o.tagValue) : null; this.report.engine.checkForDuplicate(i.format("{0}_{1}", this.left, this.width), n.value, s) && (n.value = "") } } catch (n) {} } , Object.defineProperty(f.prototype, "getValueEvent", { get: function() { return new a(this) }, set: function(t) { t.set(this, t.script), this.events.set(f.eventGetValue, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), f.prototype.onTextProcess = function(t) {} , f.prototype.invokeTextProcess = function(r, i) { try { this.onTextProcess(i); var n = !0; if (null != this.report && (n = this.report.calculationMode == e.StiCalculationMode.Compilation), n) { var o = this.events.get(f.eventTextProcess); if (null != o) try { o(r, i) } catch (i) {} } else { var o = this.events.get(f.eventTextProcess); if (null != o) try { o(r, i) } catch (i) {} if (null != this.report && null != this.report.engine) { var a = this.report.engine.parserConversionStore.get("*StiConditionExpression*" + this.name); null != a && (this.report.engine.lastInvokeTextProcessValueEventArgsValue = i.value, this.applyConditionsAssignExpression(r, a), this.stimulsoft.is(t.Report.CrossTab.StiCrossCell) && this.applyConditions(r, a)) } } } catch (e) { t.System.StiError.showError(e.message, !1), null != this.report && this.report.writeToReportRenderingMessages(this.name + " InvokeTextProcess error: " + e.message) } } , f.prototype.applyConditionsAssignExpression = function(e, r) { var i, n; if (null == r) return; try { for (var o = __values(r), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s.key; if (l.canAssignExpression && null != l.assignExpression && l.assignExpression.trim().length > 0) { var u = t.Report.Engine.StiParser.StiParser.parseTextValue(s.value, this, e); if (u.stimulsoft.is(Boolean) && u.stimulsoft.toBoolean()) { var c = t.Report.Engine.StiParser.StiParser.parseTextValue("{" + l.assignExpression + "}", this, e); e.textValue = this.report.toString2(c) } } } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , Object.defineProperty(f.prototype, "totalValueHelp", { get: function() { return this._totalValueHelp }, set: function(t) { this._totalValueHelp = t }, enumerable: !0, configurable: !0 }), f.prototype.construct = function(t) { void 0 === t && (t = p.empty), g.prototype.construct.call(this, t) } , f.propertyGlobalizedName = Math.random().toString().substr(2), f.propertyProcessingDuplicates = Math.random().toString().substr(2), f.propertyMaxNumberOfLines = Math.random().toString().substr(2), f.propertyOnlyText = Math.random().toString().substr(2), f.propertyProcessAt = Math.random().toString().substr(2), f.eventGetValue = {}, f.eventTextProcess = {}, f }(r.StiComponent); r.StiSimpleText = g }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Report.Events.StiGetExcelValueEventHandler , a = t.Report.Events.StiGetExcelValueEvent , s = t.Report.Components.IStiEditable , l = t.System.Enum , u = t.Base.StiJsonSaveMode , c = t.System.Drawing.Font , m = t.Base.Drawing.StiTextHorAlignment , p = t.Base.Drawing.StiVertAlignment , h = t.Base.Drawing.StiBorder , d = t.Base.Drawing.StiBrush , g = t.Base.Drawing.StiSolidBrush , f = t.System.Drawing.Color , S = t.Base.Drawing.StiTextOptions , A = t.Report.Components.TextFormats.StiFormatService , y = t.Report.Components.TextFormats.StiGeneralFormatService , w = t.Report.Components.TextFormats.StiPercentageFormatService , b = t.Report.Components.TextFormats.StiCurrencyFormatService , v = t.Report.Components.TextFormats.StiDateFormatService , C = t.Report.Components.TextFormats.StiNumberFormatService , E = t.Report.Components.TextFormats.StiTimeFormatService , B = t.Report.Components.TextFormats.StiCustomFormatService , T = t.Report.Events.StiGetExcelValueEventArgs , I = t.System.Drawing.Rectangle , x = t.System.Drawing.Size , F = t.Base.Drawing.StiAdvancedBorder , D = t.Base.StiJsonReportObjectHelper , R = t.Base.Drawing.StiTextRenderer , P = t.Base.Drawing.StiPenStyle , N = t.Report.Expressions.StiExpression , k = function(k) { function M(t, e) { void 0 === t && (t = I.empty), void 0 === e && (e = !1); var r = k.call(this) || this; return r._horAlignment = m.Left, r._vertAlignment = p.Top, r._font = new c("Arial",8), r._border = new h, r._brush = new g(f.transparent), r._textBrush = new g(f.black), r._textFormat = null, r._format = "", r._textOptions = new S, e || r.construct(t), r } return __extends(M, k), M.prototype.implements = function() { return M.ImplementsStiText || (M.ImplementsStiText = k.prototype.implements.call(this).concat([r.IStiTextOptions, r.IStiAutoWidth, r.IStiTextHorAlignment, r.IStiVertAlignment, r.IStiBorder, r.IStiFont, r.IStiBrush, r.IStiTextBrush, r.IStiTextFormat, r.IStiBreakable, e.IStiGlobalizationProvider, s, n])), M.ImplementsStiText } , M.prototype.saveToJsonObject = function(t) { var e = k.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", m, this.horAlignment, m.Left), e.addPropertyEnum("VertAlignment", p, this.vertAlignment, p.Top), e.addPropertyStringNullOrEmpty("Font", D.Serialize.fontArial8(this.font)), e.addPropertyStringNullOrEmpty("Border", D.Serialize.jBorder(this.border)), e.addPropertyStringNullOrEmpty("Brush", D.Serialize.jBrush(this.brush)), e.addPropertyStringNullOrEmpty("TextBrush", D.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", r.StiTextQuality, this.textQuality, r.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 == u.Report ? (this.textFormat.stimulsoft.is(r.TextFormats.StiGeneralFormatService) || e.addPropertyJObject("TextFormat", this.textFormat.saveToJsonObject(t)), e.addPropertyEnum("Type", r.StiSystemTextType, this.type, r.StiSystemTextType.None), e.addPropertyJObject("ExcelValue", new N(this.excelValue).saveToJsonObject(t))) : (e.addPropertyStringNullOrEmpty("Format", this.format), null != this.excelDataValue && e.addPropertyString("ExcelDataValue", this.excelDataValue)), e } , M.prototype.loadFromJsonObject = function(t) { var e, i; k.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var s = o.value; switch (s.name) { case "Indicator": this._indicator = r.StiIndicator.loadFromJsonObjectInternal(s.value); break; case "CanBreak": this.canBreak = s.value.stimulsoft.toBoolean(); break; case "AutoWidth": this.autoWidth = s.value.stimulsoft.toBoolean(); break; case "RenderTo": this.renderTo = s.value; break; case "HorAlignment": this._horAlignment = l.parse(m, s.value); break; case "VertAlignment": this._vertAlignment = l.parse(p, s.value); break; case "Font": this._font = D.Deserialize.font(s.value, this._font); break; case "Border": this._border = D.Deserialize.border(s.value); break; case "Brush": this._brush = D.Deserialize.brush(s.value); break; case "TextBrush": this._textBrush = D.Deserialize.brush(s.value); break; case "TextFormat": this.textFormat = A.loadFromJsonObjectInternal(s.value); break; case "Format": this._format = s.value; break; case "TextOptions": this._textOptions.loadFromJsonObject(s.value); break; case "ExcelValue": var u = new N; u.loadFromJsonObject(s.value), this.excelValue = u.value; break; case "ExcelDataValue": this.excelDataValue = s.value; break; case "GetExcelValueEvent": var c = new a; c.loadFromJsonObject(s.value), this.getExcelValueEvent = c; break; case "NullValue": this.nullValue = s.value; break; case "Type": this.type = l.parse(r.StiSystemTextType, s.value); break; case "ExportAsImage": this.exportAsImage = s.value.stimulsoft.toBoolean(); break; case "TextQuality": this.textQuality = l.parse(r.StiTextQuality, s.value); break; case "LineSpacing": this.lineSpacing = s.value.stimulsoft.toNumber(); break; case "AllowHtmlTags": this.allowHtmlTags = s.value.stimulsoft.toBoolean(); break; case "Margins": var h = new r.StiMargins; h.loadFromJsonObject(s.value), this.margins = h; break; case "ShrinkFontToFit": this.shrinkFontToFit = s.value.stimulsoft.toBoolean(); break; case "ShrinkFontToFitMinimumSize": this.shrinkFontToFitMinimumSize = s.value.stimulsoft.toNumber(); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , M.prototype.parseTextFromXml = function(e) { null != e.attributes.getNamedItem("name") && (this.name = e.attributes.getNamedItem("name").value), null != e.attributes.getNamedItem("text") && (this.text = e.attributes.getNamedItem("text").value), null != e.attributes.getNamedItem("ha") && (this.horAlignment = l.parse(m, e.attributes.getNamedItem("ha").value)), null != e.attributes.getNamedItem("va") && (this.vertAlignment = l.parse(p, e.attributes.getNamedItem("va").value)), null != e.attributes.getNamedItem("tq") && (this.textQuality = l.parse(r.StiTextQuality, e.attributes.getNamedItem("tq").value)), null != e.attributes.getNamedItem("ls") && (this.lineSpacing = e.attributes.getNamedItem("ls").value.stimulsoft.toNumber()), null != e.attributes.getNamedItem("ed") && (this.editable = "true" == e.attributes.getNamedItem("ed").value.toLowerCase()), null != e.attributes.getNamedItem("html") && (this.allowHtmlTags = "true" == e.attributes.getNamedItem("html").value.toLowerCase()), null != e.attributes.getNamedItem("enabled") && (this.enabled = "true" == e.attributes.getNamedItem("enabled").value.toLowerCase()), null != e.attributes.getNamedItem("pr") && (this.printable = "true" == e.attributes.getNamedItem("pr").value.toLowerCase()), null != e.attributes.getNamedItem("lou") && (this.linesOfUnderlining = "true" == e.attributes.getNamedItem("lou").value.toLowerCase()), null != e.attributes.getNamedItem("lu") && (this.linesOfUnderline = l.parse(P, e.attributes.getNamedItem("lu").value)), null != e.attributes.getNamedItem("guid") && (this.guid = e.attributes.getNamedItem("guid").value), null != e.attributes.getNamedItem("tvh") && (this.totalValueHelp = e.attributes.getNamedItem("tvh").value), null != e.attributes.getNamedItem("bookmark") && (this.bookmarkValue = e.attributes.getNamedItem("bookmark").value), null != e.attributes.getNamedItem("hyperlink") && (this.hyperlinkValue = e.attributes.getNamedItem("hyperlink").value), null != e.attributes.getNamedItem("tag") && (this.tagValue = e.attributes.getNamedItem("tag").value), null != e.attributes.getNamedItem("toolTip") && (this.toolTipValue = e.attributes.getNamedItem("toolTip").value), null != e.attributes.getNamedItem("excelvalue") && (this.excelDataValue = e.attributes.getNamedItem("excelvalue").value), null != e.attributes.getNamedItem("format") && (this.format = e.attributes.getNamedItem("format").value), null != e.attributes.getNamedItem("pl") && (this.componentPlacement = e.attributes.getNamedItem("pl").value), null != e.attributes.getNamedItem("style") && (this.componentStyle = e.attributes.getNamedItem("style").value), null != e.attributes.getNamedItem("rc") && (this.clientRectangle = this.loadRectangleDFromXml(e.attributes.getNamedItem("rc").value)), null != e.attributes.getNamedItem("fn") && (this.font = t.System.Convert.toFont(e.attributes.getNamedItem("fn").value)), null != e.attributes.getNamedItem("tb") && (this.textBrush = d.loadFromXml(e.attributes.getNamedItem("tb").value)), null != e.attributes.getNamedItem("bh") && (this.brush = d.loadFromXml(e.attributes.getNamedItem("bh").value)), null != e.attributes.getNamedItem("to") && (this.textOptions = S.loadFromXml(e.attributes.getNamedItem("to").value)), null != e.attributes.getNamedItem("br") && (this.border = h.loadFromXml(e.attributes.getNamedItem("br").value)), null != e.attributes.getNamedItem("mr") && (this.margins = r.StiMargins.loadFromText(e.attributes.getNamedItem("mr").value)), null != e.attributes.getNamedItem("indicator") && (this.indicator = r.StiIndicator.loadFromXml(e.attributes.getNamedItem("indicator").value)) } , M.prototype.loadFromXml = function(e, i) { k.prototype.loadFromXml.call(this, e, i); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "CanBreak": this.canBreak = o.textContent.stimulsoft.toBoolean(); break; case "AutoWidth": this.autoWidth = o.textContent.stimulsoft.toBoolean(); break; case "RenderTo": this.renderTo = o.textContent; break; case "HorAlignment": case "ha": this._horAlignment = l.parse(m, o.textContent); break; case "VertAlignment": case "va": this._vertAlignment = l.parse(p, o.textContent); break; case "Font": case "fn": this._font = t.System.Convert.toFont(o.textContent); break; case "Border": case "br": this._border = h.loadFromXml(o.textContent); break; case "Brush": case "bh": this._brush = d.loadFromXml(o.textContent); break; case "TextBrush": case "tb": this._textBrush = d.loadFromXml(o.textContent); break; case "TextFormat": this.textFormat = A.loadFormatFromXml(o, this.report); break; case "Format": this._format = o.textContent; break; case "TextOptions": this._textOptions.loadFromXml(o); break; case "ExcelValue": var a = new N; a.loadFromXml(o), this.excelValue = a.value; break; case "GetExcelValueEvent": case "NullValue": this.nullValue = o.textContent; break; case "Type": this.type = l.parse(r.StiSystemTextType, o.textContent); break; case "ExportAsImage": this.exportAsImage = o.textContent.stimulsoft.toBoolean(); break; case "TextQuality": this.textQuality = l.parse(r.StiTextQuality, o.textContent); break; case "ls": case "LineSpacing": this.lineSpacing = o.textContent.stimulsoft.toNumber(); break; case "AllowHtmlTags": this.allowHtmlTags = o.textContent.stimulsoft.toBoolean(); break; case "Margins": this.margins = r.StiMargins.loadFromXml(o); break; case "ShrinkFontToFit": this.shrinkFontToFit = o.textContent.stimulsoft.toBoolean(); break; case "ShrinkFontToFitMinimumSize": this.shrinkFontToFitMinimumSize = o.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(M.prototype, "componentId", { get: function() { return e.StiComponentId.StiText }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "indicator", { get: function() { return this._indicator }, set: function(t) { this._indicator = t }, enumerable: !0, configurable: !0 }), M.prototype.getImage = function(t, r) { return void 0 === r && (r = e.StiExportFormat.None), null } , M.prototype.isExportAsImage = function(t) { var r = k.prototype.isExportAsImage.call(this, t); if (r) return r; if (this.checkAllowHtmlTags()) { var i = t == e.StiExportFormat.Html || t == e.StiExportFormat.HtmlDiv || t == e.StiExportFormat.HtmlSpan || t == e.StiExportFormat.HtmlTable || t == e.StiExportFormat.Rtf || t == e.StiExportFormat.RtfTabbedText || t == e.StiExportFormat.RtfFrame || t == e.StiExportFormat.RtfWinWord || t == e.StiExportFormat.RtfTable || t == e.StiExportFormat.Text || t == e.StiExportFormat.Pdf || t == e.StiExportFormat.ImageSvg || t == e.StiExportFormat.Word2007 && !StiOptions.Export.Word.renderHtmlTagsAsImage || t == e.StiExportFormat.Excel2007 && !StiOptions.Export.Excel.RenderHtmlTagsAsImage; if (!i) return !0 } if (this.linesOfUnderlining) { var i = t == e.StiExportFormat.Dif || t == e.StiExportFormat.Pdf || t == e.StiExportFormat.Sylk || t == e.StiExportFormat.Text; if (!i) return !0 } return this.exportAsImage } , M.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 i.format("Property with name {0}", t); this.hyperlink = e } } , M.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 i.format("Property with name {0}", t) } , M.prototype.getAllStrings = function() { var t = []; return StiOptions.Engine.Globalization.allowUseText && t.add("Text"), StiOptions.Engine.Globalization.allowUseTag && t.add("Tag"), StiOptions.Engine.Globalization.allowUseToolTip && t.add("ToolTip"), StiOptions.Engine.Globalization.allowUseHyperlink && t.add("Hyperlink"), t } , Object.defineProperty(M.prototype, "canBreak", { get: function() { return this.properties.getBool(M.propertyCanBreak, !1) }, set: function(t) { this.properties.setBool(M.propertyCanBreak, t, !1) }, enumerable: !0, configurable: !0 }), M.prototype.break = function(t, e, i) { var n = 0 , o = !0; if (null != this.getTextInternal() && this.getTextInternal().length > 0) { var a = this.getTextInternal() , s = this.report.unit.convertToHInches(this.clientRectangle); s = this.convertTextMargins(s, !1), s = this.convertTextBorders(s, !1); var l = ""; if (s.height >= 0) { var u = { ref: a }; l = r.StiComponentDivider.breakText(null, s, u, this.font, this.textOptions, this.textQuality, this.checkAllowHtmlTags(), this), a = u.ref } this.setTextInternal(l), this.growToHeight || null != this.getTextInternal() && 0 != this.getTextInternal().length || (o = !1), t.setTextInternal(a) } return i.ref = n, o } , Object.defineProperty(M.prototype, "autoWidth", { get: function() { return this.properties.getBool(M.propertyAutoWidth, !1) }, set: function(t) { this.properties.setBool(M.propertyAutoWidth, t, !1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "renderTo", { get: function() { return this.properties.get(M.propertyRenderTo, "") }, set: function(t) { this.properties.set(M.propertyRenderTo, t, "") }, enumerable: !0, configurable: !0 }), M.prototype.invokeRenderTo = function(t) { if (!t.isPropertyPresent(M.propertyRenderTo)) return; var e = t.renderTo; if (e.length > 0 && (e = e.trim(), e.length > 0)) { var n = t.parent.components.getByName(e).stimulsoft.as(r.StiSimpleText); if (null != n) { var o = t.getTextInternal(); null == o && (o = ""); var a = { ref: o } , s = this.getVisibleTextForRenderTo(t.getPaintRectangle(!0, !1, !0), a, t); o = a.ref, i.isNullOrEmpty(s) && (s = " "), t.textValue = s, t.setTextInternal(s), n.textValue = o, n.setTextInternal(o), this.invokeRenderTo(n) } } } , M.prototype.getVisibleTextForRenderTo = function(t, e, i) { return t = this.convertTextMargins(t, !1), t = this.convertTextBorders(t, !1), r.StiComponentDivider.breakText(null, t, e, i.font, i.textOptions, i.textQuality, this.checkAllowHtmlTags(), this) } , Object.defineProperty(M.prototype, "horAlignment", { get: function() { return this._horAlignment }, set: function(t) { this._horAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "vertAlignment", { get: function() { return this._vertAlignment }, set: function(t) { this._vertAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "font", { get: function() { return this._font }, set: function(t) { null == t && this.isDesigning || (this._font = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "border", { get: function() { return this._border }, set: function(t) { this._border = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "brush", { get: function() { return this._brush }, set: function(t) { this._brush = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "textBrush", { get: function() { return this._textBrush }, set: function(t) { this._textBrush = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "textFormat", { get: function() { if (null == this._textFormat) return y.default; return this._textFormat }, set: function(t) { if (t && t.stimulsoft.is(y) && (t = null), this._textFormat != t) if (this._textFormat = t, null == t) this._format = "G"; else if (t.stimulsoft.is(w)) { var e = t; e.useLocalSetting && e.state == r.StiTextFormatState.None ? this._format = "P" : (this._format = "P" + e.decimalDigits, e.useGroupSeparator && (this._format += "G"), !e.useLocalSetting && e.decimalDigits > 0 && ("." == e.decimalSeparator[0] || "," == e.decimalSeparator[0]) && (this._format += e.decimalSeparator[0])) } else if (t.stimulsoft.is(b)) { var i = t; i.useLocalSetting && i.state == r.StiTextFormatState.None ? this._format = "C" : (this._format = "C" + i.decimalDigits, i.useGroupSeparator && (this._format += "G"), 0 != i.negativePattern && 4 != i.negativePattern && 14 != i.negativePattern && 15 != i.negativePattern || (this._format += "("), !i.useLocalSetting && i.decimalDigits > 0 && ("." == i.decimalSeparator[0] || "," == i.decimalSeparator[0]) && (this._format += i.decimalSeparator[0]), 0 == i.positivePattern || 2 == i.positivePattern ? this._format += "+" : this._format += "-", this._format += i.symbol, (!i.useLocalSetting || (i.state & r.StiTextFormatState.PositivePattern) > 0 || (i.state & r.StiTextFormatState.NegativePattern) > 0) && (this._format += "|" + String.fromCharCode(65 + i.positivePattern) + String.fromCharCode(65 + i.negativePattern))) } else if (t.stimulsoft.is(v)) { var n = t; this._format = "D" + n.stringFormat } else if (t.stimulsoft.is(C)) { var o = t; o.useLocalSetting && o.state == r.StiTextFormatState.None ? this._format = "N" : (this._format = "N" + o.decimalDigits, o.useGroupSeparator && (this._format += "G"), 0 == o.negativePattern && (this._format += "("), !o.useLocalSetting && o.decimalDigits > 0 && ("." == o.decimalSeparator[0] || "," == o.decimalSeparator[0]) && (this._format += o.decimalSeparator[0])) } else if (t.stimulsoft.is(E)) { var a = t; this._format = "T" + a.stringFormat } else if (t.stimulsoft.is(B)) { var s = t; this._format = "U" } else this._format = "" }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "format", { get: function() { return this._format }, set: function(t) { this._format != t && (this._format = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "textOptions", { get: function() { return this._textOptions }, set: function(t) { this._textOptions = t }, enumerable: !0, configurable: !0 }), M.prototype.clone = function(t) { var e = k.prototype.clone.call(this, t); return null != this._border ? e._border = this._border.clone() : e._border = null, null != this._brush ? e._brush = this._brush.clone() : e._brush = null, null != this._textFormat ? e._textFormat = this._textFormat.clone() : e._textFormat = null, null != this._textBrush ? e._textBrush = this._textBrush.clone() : e._textBrush = null, null != this._textOptions ? e._textOptions = this._textOptions.clone() : e._textOptions = null, e._horAlignment = this._horAlignment, e._vertAlignment = this._vertAlignment, e } , M.prototype.memberwiseClone = function() { var t = k.prototype.memberwiseClone.call(this); 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 } , M.prototype.convertTextMargins = function(t, e) { var r = this.margins; if (r.isEmpty) return t; var i = this.page.zoom , n = r.left , o = r.right , a = r.top , s = r.bottom; return e || (i = 1), 0 != n && (t.x += n * i, t.width -= n * i), 0 != a && (t.y += a * i, t.height -= a * i), 0 != o && (t.width -= o * i), 0 != s && (t.height -= s * i), t } , M.prototype.convertTextBorders = function(t, e) { var r = this.border.getSizeOffset() , i = this.border.getSizeOffset() , n = this.border.getSizeOffset() , o = this.border.getSizeOffset() , a = this.border.stimulsoft.as(F); if (null != a && (r = a.leftSide.getSizeOffset(), i = a.rightSide.getSizeOffset(), n = a.topSide.getSizeOffset(), o = a.bottomSide.getSizeOffset()), e) { var s = this.page.zoom; r *= s, i *= s, n *= s, o *= s } return t.x += r, t.y += n, t.width -= r + i, t.height -= n + o, null != this.report && t.inflate(-1, -1), t } , M.prototype.getTextForPaint = function() { return this.getTextInternal() } , M.prototype.getActualSize = function() { var e = this.autoWidth , r = this.angle; if ((this.canGrow || this.canShrink || e) && null != this.page) { var n = this.page.unit , o = n.convertToHInches(this.clientRectangle) , a = new x(o.width,o.height); o = this.convertTextMargins(o, !1), o = this.convertTextBorders(o, !1); var s = o.width , l = x.empty , u = this.textQuality , c = r; this.angle = 0; var m = this.text; i.isNullOrEmpty(m) || (this.allowHtmlTags ? (m = m.stimulsoft.replaceAll("\r", "").stimulsoft.replaceAll("\n", ""), m = t.Report.Export.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(this, m, 1)) : m = m.stimulsoft.replaceAll("<", "<").stimulsoft.replaceAll(">", ">")), l = this.stimulsoft.is(t.Report.CrossTab.StiCrossField) ? R.measureString(1e4, this.font, m) : 90 == r || 270 == r ? R.measureString(this.textOptions.wordWrap ? o.height : null, this.font, m, 0, this.allowHtmlTags) : R.measureString(this.textOptions.wordWrap ? o.width : null, this.font, m, 0, this.allowHtmlTags), l.height = l.height * this.lineSpacing; var p = this.margins; l.width += p.left + p.right, l.height += p.top + p.bottom; var h = this.border.size / 2; if (l.width += h + h, l.height += h + h, e && (90 == r || 270 == r ? a.height = l.height : a.width = l.width), this.canGrow) if (90 == r || 270 == r) { if (l.width > a.width && (a.width = l.width, this.maxNumberOfLines > 0)) { var d = this.font.getHeight() , g = Math.trunc(a.width / d); g > this.maxNumberOfLines && (a.width = d * this.maxNumberOfLines) } } else if (l.height > a.height && (a.height = l.height, this.maxNumberOfLines > 0)) { var d = this.font.getHeight() , g = Math.trunc(a.height / d); g > this.maxNumberOfLines && (a.height = d * this.maxNumberOfLines) } this.canShrink && (90 == r || 270 == r ? null == this.getTextInternal() || 0 == this.getTextInternal().trim().length ? a.width = 0 : a.width = Math.min(l.width, a.width) : null == this.getTextInternal() || 0 == this.getTextInternal().trim().length ? a.height = 0 : a.height = Math.min(l.height, a.height)); return n.convertFromHInches(a) } return new x(this.width,this.height) } , M.prototype.prepare = function() { var t, e; if (k.prototype.prepare.call(this), null != this.conditions) try { for (var i = __values(this.conditions.list), n = i.next(); !n.done; n = i.next()) { var o = n.value , a = o.stimulsoft.as(r.IStiIndicatorCondition); null != a && a.reset() } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } } , Object.defineProperty(M.prototype, "excelDataValue", { get: function() { return this._excelDataValue }, set: function(t) { this._excelDataValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "excelValue", { get: function() { return this.properties.get("excelValue", "") }, set: function(t) { this.properties.set("excelValue", t, "") }, enumerable: !0, configurable: !0 }), M.prototype.invokeEvents = function() { k.prototype.invokeEvents.call(this); try { if (this.report.calculationMode == e.StiCalculationMode.Compilation) { if (null != this.events.get(M.eventGetExcelValue)) { var r = new T; if (r.value = this.excelDataValue, this.invokeGetExcelValue(this, r), null != r.value ? this.excelDataValue = r.value.toString() : this.excelDataValue = null, this.hideZeros && !i.isNullOrEmpty(this.excelDataValue)) { var n = this.excelDataValue.stimulsoft.toNumber(); 0 == n && (this.excelDataValue = null) } } } else { if (null != this.events.get(M.eventGetExcelValue)) { var r = new T; if (r.value = this.excelDataValue, this.invokeGetExcelValue(this, r), this.excelDataValue = r.value, this.hideZeros && !i.isNullOrEmpty(this.excelDataValue)) { var n = this.excelDataValue.stimulsoft.toNumber(); 0 == n && (this.excelDataValue = null) } } if (this.excelValue.length > 0) { var o = t.Report.Engine.StiParser.StiParser.parseTextValue(this.excelValue, this); if (this.excelDataValue = null != o ? o.toString() : null, this.hideZeros && !i.isNullOrEmpty(this.excelDataValue)) { var n = this.excelDataValue.stimulsoft.toNumber(); 0 == n && (this.excelDataValue = null) } } } } catch (e) { var a = i.format("Expression in ExcelValue property of '{0}' can't be evaluated! {1}", this.name, e.message); t.System.StiError.showError(a, !1), this.report.writeToReportRenderingMessages(a) } } , M.prototype.onGetExcelValue = function(t) {} , M.prototype.invokeGetExcelValue = function(e, r) { try { this.onGetExcelValue(r); var i = this.events.get(M.eventGetExcelValue); null != i && i(e) } catch (r) { t.System.StiError.showError(r, !1) } } , Object.defineProperty(M.prototype, "getExcelValueEvent", { get: function() { return new a(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(M.eventGetExcelValue, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "nullValue", { get: function() { return this.properties.get(M.propertyNullValue, "") }, set: function(t) { this.properties.set(M.propertyNullValue, t, "") }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "type", { get: function() { return this.properties.get(M.propertyType, r.StiSystemTextType.None) }, set: function(t) { this.properties.set(M.propertyType, t, r.StiSystemTextType.None) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "wordWrap", { get: function() { return this.textOptions.wordWrap }, set: function(t) { this.textOptions.wordWrap = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "rightToLeft", { get: function() { return this.textOptions.rightToLeft }, set: function(t) { this.textOptions.rightToLeft = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "trimming", { get: function() { return this.textOptions.trimming }, set: function(t) { this.textOptions.trimming = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "angle", { get: function() { return this.textOptions.angle }, set: function(t) { this.textOptions.angle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "lineSpacing", { get: function() { return this.properties.getNumber(M.propertyLineSpacing, 1) }, set: function(t) { t > 0 && this.properties.setNumber(M.propertyLineSpacing, t, 1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "exportAsImage", { get: function() { return this.properties.getBool(M.propertyExportAsImage, !1) }, set: function(t) { this.properties.setBool(M.propertyExportAsImage, t, !1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "textQuality", { get: function() { if (!StiOptions.Engine.fullTrust) return r.StiTextQuality.Typographic; return this.properties.get(M.propertyTextQuality, r.StiTextQuality.Standard) }, set: function(t) { this.properties.set(M.propertyTextQuality, t, r.StiTextQuality.Standard) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "allowHtmlTags", { get: function() { return this.properties.getBool(M.propertyAllowHtmlTags, !1) }, set: function(t) { this.properties.setBool(M.propertyAllowHtmlTags, t, !1), t && (this.textQuality = r.StiTextQuality.Wysiwyg) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "margins", { get: function() { return this.properties.get(M.propertyMargins, r.StiMargins.empty) }, set: function(t) { this.properties.set(M.propertyMargins, t, r.StiMargins.empty) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "shrinkFontToFit", { get: function() { return this.properties.getBool(M.propertyShrinkFontToFit, !1) }, set: function(t) { this.properties.setBool(M.propertyShrinkFontToFit, t, !1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(M.prototype, "shrinkFontToFitMinimumSize", { get: function() { return this.properties.getNumber(M.propertyShrinkFontToFitMinimumSize, 1) }, set: function(t) { t >= 1 && this.properties.setNumber(M.propertyShrinkFontToFitMinimumSize, t, 1) }, enumerable: !0, configurable: !0 }), M.prototype.createNew = function() { return new M } , M.prototype.checkAllowHtmlTags = function() { if (!StiOptions.Engine.fullTrust && null != this.report && !this.report.isSerializing) return !1; return this.allowHtmlTags } , M.prototype.getActualFont = function(e, i) { void 0 === i && (i = 1); var n = this.page.unit.convertToHInches(this.clientRectangle); n = this.convertTextMargins(n, !1), n = this.convertTextBorders(n, !1), n.width -= this.border.size; var o = this.page.unit.convertToHInches(this.width) - this.margins.left - this.margins.right , a = this.page.unit.convertToHInches(this.height) - this.margins.top - this.margins.bottom , s = this.font , l = this.font; while (!0) { var u = x.empty; if (u = r.StiStandardTextRenderer.measureString(n.width, l, this), !(u.width > o || u.height > a)) break; var c = l.size; if (c <= i) break; l = t.Base.Drawing.StiFontUtils.changeFontSize(this.font, c - .5), this.font = l } return this.font = s, l } , M.prototype.construct = function(t) { void 0 === t && (t = I.empty), k.prototype.construct.call(this, t), this.textQuality = StiOptions.Engine.defaultTextQualityMode } , M.propertyCanBreak = Math.random().toString().substr(2), M.propertyAutoWidth = Math.random().toString().substr(2), M.propertyRenderTo = Math.random().toString().substr(2), M.eventGetExcelValue = {}, M.propertyNullValue = Math.random().toString().substr(2), M.propertyType = Math.random().toString().substr(2), M.propertyLineSpacing = Math.random().toString().substr(2), M.propertyExportAsImage = Math.random().toString().substr(2), M.propertyTextQuality = Math.random().toString().substr(2), M.propertyAllowHtmlTags = Math.random().toString().substr(2), M.propertyMargins = Math.random().toString().substr(2), M.propertyShrinkFontToFit = Math.random().toString().substr(2), M.propertyShrinkFontToFitMinimumSize = Math.random().toString().substr(2), M }(r.StiSimpleText); r.StiText = k }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Color , i = t.Base.Drawing.StiSolidBrush , n = t.Base.StiJsonReportObjectHelper , o = t.System.Text.StiReportObjectStringConverter , a = function(t) { function e(e, n) { void 0 === e && (e = null), void 0 === n && (n = ""); var o = t.call(this, e) || this; return o._contourColor = r.black, o._size = 1, o.textBrush = new i(r.white), o } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return i.removeProperty("LinesOfUnderline"), i.addPropertyStringNullOrEmpty("ContourColor", n.Serialize.jColor(this.contourColor, r.black)), i.addPropertyNumber("Size", this.size, 1), i } , e.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "ContourColor": this._contourColor = n.Deserialize.color(s.value); break; case "Size": this._size = s.value.stimulsoft.toNumber(); break } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , e.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "ContourColor": this._contourColor = o.convertStringToColor(n.textContent); break; case "Size": this._size = n.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(e.prototype, "contourColor", { get: function() { return this._contourColor }, set: function(t) { this._contourColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "size", { get: function() { return this._size }, set: function(t) { this._size = t }, enumerable: !0, configurable: !0 }), e }(e.StiText); e.StiContourText = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Localization.StiLocalization , i = t.System.Drawing.Rectangle , n = function(t) { function n(e, r) { void 0 === r && (r = !1); var i = t.call(this) || this; return r || i.construct(e), i } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("CanShrink"), r.removeProperty("CanGrow"), r.removeProperty("Shift"), r.removeProperty("UseParentStyles"), r.removeProperty("DockStyle"), r.removeProperty("GrowToHeight"), r } , Object.defineProperty(n.prototype, "canShrink", { get: function() { return t.prototype.getCanShrink.call(this) }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "canGrow", { get: function() { return t.prototype.getCanGrow.call(this) }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "shift", { get: function() { return t.prototype.getShift.call(this) }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "useParentStyles", { get: function() { return t.prototype.getUseParentStyles.call(this) }, set: function(e) { t.prototype.setUseParentStyles.call(this, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "dockStyle", { get: function() { return t.prototype.getDockStyle.call(this) }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "growToHeight", { get: function() { return t.prototype.getGrowToHeight.call(this) }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "localizedCategory", { get: function() { return r.get("Report", "Shapes") }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "componentType", { get: function() { return e.StiComponentType.Simple }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "priority", { get: function() { return e.StiComponentPriority.Primitive }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "clientRectangle", { get: function() { return new i(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: !0, configurable: !0 }), n.prototype.getDisplayRectangle = function() { return new i(this.left,this.top,this.width,this.height) } , n.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) } , n.prototype.setDirectDisplayRectangle = function(t) { this.displayRectangle = t } , n.prototype.construct = function(e) { null == e && (e = i.empty), t.prototype.construct.call(this, e) } , n }(e.StiComponent); e.StiPrimitive = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Drawing.StiPenStyle , i = t.System.Drawing.Color , n = t.Base.StiJsonReportObjectHelper , o = t.System.Drawing.Rectangle , a = t.System.Enum , s = t.System.Text.StiReportObjectStringConverter , l = function(t) { function e(e) { void 0 === e && (e = o.empty); var n = t.call(this, e) || this; return n.defaultClientRectangle = new o(0,0,60,60), n._style = r.Solid, n._color = i.black, n._size = 1, n } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { var o = t.prototype.saveToJsonObject.call(this, e); return o.addPropertyEnum("Style", r, this.style, r.Solid), o.addPropertyStringNullOrEmpty("Color", n.Serialize.jColor(this.color, i.black)), o.addPropertyNumber("Size", this.size, 1), o } , e.prototype.loadFromJsonObject = function(e) { var i, o; t.prototype.loadFromJsonObject.call(this, e); try { for (var s = __values(e.properties()), l = s.next(); !l.done; l = s.next()) { var u = l.value; switch (u.name) { case "Style": this._style = a.parse(r, u.value); break; case "Color": this._color = n.Deserialize.color(u.value); break; case "Size": this._size = u.value.stimulsoft.toNumber(); break } } } catch (t) { i = { error: t } } finally { try { l && !l.done && (o = s.return) && o.call(s) } finally { if (i) throw i.error } } } , e.prototype.loadFromXml = function(e, i) { t.prototype.loadFromXml.call(this, e, i); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Style": this._style = a.parse(r, o.textContent); break; case "Color": this._color = s.convertStringToColor(o.textContent); break; case "Size": this._size = o.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(e.prototype, "invalidateOnMouseOver", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "style", { get: function() { return this._style }, set: function(t) { this._style = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "color", { get: function() { return this._color }, set: function(t) { this._color = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "size", { get: function() { return this._size }, set: function(t) { this._size = t }, enumerable: !0, configurable: !0 }), e }(e.StiPrimitive); e.StiLinePrimitive = l }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = t.System.Drawing.Point , n = function(t) { function n(e) { void 0 === e && (e = r.empty); var i = t.call(this, e) || this; return i.storedStartPoint = null, i.storedEndPoint = null, i.newGuid(), i } return __extends(n, t), n.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 e = this.getEndPoint(); null != e && null != e.parent && e.parent.components.contains(e) && (e.referenceToGuid = null, e.parent.components.remove(e)) } , n.prototype.canContainIn = function(t) { return t.stimulsoft.is(e.StiPage) } , Object.defineProperty(n.prototype, "linked", { get: function() { return t.prototype.getLinked.call(this) }, set: function(e) { t.prototype.setLinked.call(this, e); var r = this.getStartPoint(); null != r && (r.linked = e); var i = this.getEndPoint(); null != i && (i.linked = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "left", { get: function() { var e = this.getStartPoint(); if (null == e) return t.prototype.getLeft.call(this); var r = new i(e.left,e.top); return Math.round2(e.componentToPage(r).x, 2) }, set: function(e) { var r = this.getStartPoint(); if (null == r) t.prototype.setLeft.call(this, e); else if (!this.isParentContainerSelected(r)) { var n = new i(e,0); n = r.pageToComponent(n), r.left = n.x } }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "top", { get: function() { var e = this.getStartPoint(); if (null == e) return t.prototype.getTop.call(this); var r = new i(e.left,e.top); return Math.round2(e.componentToPage(r).y, 2) }, set: function(e) { var r = this.getStartPoint(); if (null == r) t.prototype.setTop.call(this, e); else if (!this.isParentContainerSelected(r)) { var n = new i(0,e); n = r.pageToComponent(n), r.top = n.y } }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "height", { get: function() { var e = this.getStartPoint() , r = this.getEndPoint(); if (null == e || null == r) return t.prototype.getHeight.call(this); var n = new i(e.left,e.top) , o = new i(r.left,r.top); return n = e.componentToPage(n), o = r.componentToPage(o), Math.round2(o.y - n.y, 2) }, set: function(e) { t.prototype.setHeight.call(this, e); var r = this.getStartPoint() , n = this.getEndPoint(); if (null != r && null != n) { var o = new i(r.left,r.top); o = r.componentToPage(o); var a = new i(o.x,o.y + e); a = n.pageToComponent(a), n.top = a.y } }, enumerable: !0, configurable: !0 }), n.prototype.getStartPoint = function(t) { var r, i; if (void 0 === t && (t = null), null != t) { try { for (var o = __values(t.components.list), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s.stimulsoft.as(e.StiStartPointPrimitive); if (null != l && l.referenceToGuid == this.guid) return l; var u = s.stimulsoft.as(e.StiContainer); if (null != u) { var c = this.getStartPoint(u); if (null != c) return c } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return null } if (null != this.report && !this.report.isRendering && !this.isDesigning) return null; if (this.guid == n.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 } , n.prototype.getEndPoint = function(t) { var r, i; if (void 0 === t && (t = null), null != t) { try { for (var n = __values(t.components.list), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = a.stimulsoft.as(e.StiEndPointPrimitive); if (null != s && s.referenceToGuid == this.guid) return s; var l = a.stimulsoft.as(e.StiContainer); if (null != l) { var u = this.getEndPoint(l); if (null != u) return u } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.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 } , n.prototype.isParentContainerSelected = function(t) { var e = t.parent; while (!0) { if (null == e) return !1; e = e.parent } } , n.nullGuid = "nullGuid", n }(e.StiLinePrimitive); e.StiCrossLinePrimitive = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = function(t) { function e(e) { void 0 === e && (e = r.empty); var i = t.call(this, e) || this; return i._referenceToGuid = null, i.storedColumn = 0, i } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("IsSelected"), r.addPropertyString("ReferenceToGuid", this.referenceToGuid), r } , e.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ReferenceToGuid": this._referenceToGuid = a.value; break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , e.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "ReferenceToGuid": this._referenceToGuid = n.textContent; break } } } , Object.defineProperty(e.prototype, "isSelected", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "referenceToGuid", { get: function() { return this._referenceToGuid }, set: function(t) { this._referenceToGuid = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "width", { get: function() { return 0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "height", { get: function() { return 0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), e }(e.StiPrimitive); e.StiPointPrimitive = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = function(t) { function e(e) { return void 0 === e && (e = r.empty), t.call(this, e) || this } return __extends(e, t), e }(e.StiPointPrimitive); e.StiEndPointPrimitive = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.Base.StiJsonReportObjectHelper , n = t.Base.Drawing.StiBorder , o = t.Base.Drawing.StiBorderSides , a = t.Base.Drawing.StiCap , s = t.System.Drawing.Rectangle , l = function(t) { function l(e) { void 0 === e && (e = s.empty); var r = t.call(this, e) || this; return r._border = null, r._startCap = new a, r._endCap = new a, r } return __extends(l, t), l.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiBorder, r]) } , l.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyStringNullOrEmpty("StartCap", i.Serialize.jCap(this.startCap)), r.addPropertyStringNullOrEmpty("EndCap", i.Serialize.jCap(this.endCap)), r } , l.prototype.loadFromJsonObject = function(e) { var r, n; t.prototype.loadFromJsonObject.call(this, e); try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "StartCap": this._startCap = i.Deserialize.jCap(s.value); break; case "EndCap": this._endCap = i.Deserialize.jCap(s.value); break } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , l.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "StartCap": this._startCap.loadFromXml(n); break; case "EndCap": this._endCap.loadFromXml(n); break } } } , l.prototype.clone = function(e) { var r = t.prototype.clone.call(this, e); return null != this._startCap ? r._startCap = this._startCap.clone() : r._startCap = null, null != this._endCap ? r._endCap = this._endCap.clone() : r._endCap = null, r } , Object.defineProperty(l.prototype, "border", { get: function() { return null == this._border && (this._border = new n(o.Top,this.color,this.size,this.style,!1,0,null)), this._border }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "startCap", { get: function() { return this._startCap }, set: function(t) { this._startCap = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "endCap", { get: function() { return this._endCap }, set: function(t) { this._endCap = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "height", { get: function() { if (null != this.page && null != this.page.unit) return this.page.unit.convertFromHInches(1); return 1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), l.prototype.createNew = function() { return new l } , l }(e.StiLinePrimitive); e.StiHorizontalLinePrimitive = l }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiGetImageDataEventHandler = new r("sender: any, e: StiGetImageDataEventArgs"); var n = function(t) { function e(e) { void 0 === e && (e = null); var r = t.call(this) || this; return r.value = e, r } return __extends(e, t), e }(i); e.StiGetImageDataEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function() { function e() {} return e.parseText = function(e, i) { if (r.isNullOrEmpty(i) || null == e) return i; if (i.stimulsoft.contains("{") && i.stimulsoft.contains("}") && !i.stimulsoft.contains("{{") && !i.stimulsoft.contains("}}")) try { var n = new t.Report.Components.StiText; n.page = e; var o = t.Report.Engine.StiParser.StiParser.parseTextValue(i, n); if (null != o) return o.toString() } catch (t) {} return i } , e.parseBool = function(e, i) { if (r.isNullOrEmpty(i)) return !1; try { var n = new t.Report.Components.StiText; n.page = e, i = i.trim(), i.stimulsoft.startsWith("{") || (i = "{" + i), i.stimulsoft.endsWith("}") || (i += "}"); return t.Report.Engine.StiParser.StiParser.parseTextValue(i, n).stimulsoft.toBoolean() } catch (t) {} return !1 } , e }(); e.StiExpressionHelper = i }(r = e.Helpers || (e.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetImageData" } , e }(t.StiEvent); t.StiGetImageDataEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetImageURL" } , e }(t.StiEvent); t.StiGetImageURLEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Image , i = t.Base.Drawing.StiImageConverter , n = function() { function e() {} return e.getImageFromObject = function(e) { if (null != e && e.stimulsoft.is(r)) { if (StiOptions.Engine.Image.useImageCloning) return e.stimulsoft.as(r).clone().stimulsoft.as(r); return e.stimulsoft.as(r) } if (null != e && e.stimulsoft.is(String) && e.length > 0) try { return i.stringToImage(e) } catch (e) { t.System.StiError.showError(e.message, !1) } if (null != e && e.stimulsoft.is(Array) && e.length > 0) try { return i.bytesToImage(e) } catch (e) { t.System.StiError.showError(e.message, !1) } return null } , e.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 } , e.isXml = function(t) { return 60 == t[0] && 63 == t[1] && 120 == t[2] && 109 == t[3] && 108 == t[4] } , e.isSvg = function(t) { return 60 == t[0] && 115 == t[1] && 118 == t[2] && 103 == t[3] } , e.isIcon = function(t) { return 0 == t[0] && 0 == t[1] && (1 == t[2] || 2 == t[2]) && 0 == t[3] && 0 != t[4] } , e.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] } , e.isEmf = function(t) { return 32 == t[40] && 69 == t[41] && 77 == t[42] && 70 == t[43] } , e.isBmp = function(t) { return 66 == t[0] && 77 == t[1] } , e.isJpeg = function(t) { return 255 == t[0] && 216 == t[1] } , e.isGif = function(t) { return 71 == t[0] && 73 == t[1] && 70 == t[2] } , e.isPng = function(t) { return 137 == t[0] && 80 == t[1] && 78 == t[2] && 71 == t[3] } , e.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] } , e.isImage = function(e) { if (null == e) return !1; if (e.stimulsoft.is(t.System.ByteArray)) return this.isImage2(e); if (e.stimulsoft.is(String)) return this.isImage3(e); return e.stimulsoft.is(r) } , e.isImage2 = function(t) { if (t.length < 128) return !1; return null != this.getImageName(t) } , e.isImage3 = function(e) { if (e.length < 128) return !1; try { if (!e.stimulsoft.isBase64String()) return !1; var r = t.System.Convert.fromBase64String(e.substring(0, 128)); return null != this.getImageName(r) } catch (t) {} return !1 } , e }(); e.StiImageHelper = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.StiString , i = t.System.IO.Path , n = t.System.Collections.Hashtable , o = function() { function t() {} return t.createNewCache = function() { return "StimulsoftImageCache" } , t.getImageCacheName = function(t, e) { return i.Combine(t, r.format("{0}.ich", e)) } , t.saveImage = function(e, r) { null == t.imageCache && (t.imageCache = new n), t.imageCache.set(r, e) } , t.loadImage = function(e) { if (null == t.imageCache) return null; return t.imageCache.get(e) } , t.exist = function(e) { return null != t.imageCache && t.imageCache.contains(e) } , t.clear = function() { t.imageCache && t.imageCache.clear() } , t.remove = function(e) { if (null == t.imageCache) return null; t.imageCache.remove(e) } , t }(); e.StiFileImageCache = o }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.System.Enum , a = t.Base.StiJsonSaveMode , s = t.Base.StiJsonReportObjectHelper , l = t.Base.Drawing.StiBorder , u = t.Base.Drawing.StiBrush , c = t.Base.Drawing.StiHorAlignment , m = t.Base.Drawing.StiVertAlignment , p = t.Base.Drawing.StiSolidBrush , h = t.System.Drawing.Color , d = t.System.Drawing.Size , g = t.Base.Drawing.StiImageConverter , f = t.Report.StiFileImageCache , S = function(S) { function A() { var t = null !== S && S.apply(this, arguments) || this; return t._horAlignment = c.Left, t._vertAlignment = m.Top, t._border = new l, t._brush = new p(h.transparent), t._smoothing = !0, t._isCachedImage = !1, t._objectToDraw = null, t._imageToDraw = null, t._stretch = !1, t._multipleFactor = 1, t._aspectRatio = !1, t } return __extends(A, S), A.prototype.implements = function() { return A.ImplementsStiView || (A.ImplementsStiView = S.prototype.implements.call(this).concat([r.IStiHorAlignment, r.IStiVertAlignment, r.IStiBorder, r.IStiExportImage, r.IStiExportImageExtended, r.IStiBrush, n])), A.ImplementsStiView } , A.prototype.saveToJsonObject = function(t) { var e = S.prototype.saveToJsonObject.call(this, t); return e.addPropertyEnum("HorAlignment", c, this.horAlignment, c.Left), e.addPropertyEnum("VertAlignment", m, this.vertAlignment, m.Top), e.addPropertyStringNullOrEmpty("Border", s.Serialize.jBorder(this.border)), e.addPropertyStringNullOrEmpty("Brush", s.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 == a.Document && e.addPropertyStringNullOrEmpty("ImageBytesToDraw", g.imageToString(this.imageToDraw)), e } , A.prototype.loadFromJsonObject = function(t) { var e, r; S.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var a = n.value; switch (a.name) { case "HorAlignment": this._horAlignment = o.parse(c, a.value); break; case "VertAlignment": this._vertAlignment = o.parse(m, a.value); break; case "Border": this._border = s.Deserialize.border(a.value); break; case "Brush": this._brush = s.Deserialize.brush(a.value); break; case "Smoothing": this._smoothing = a.value.stimulsoft.toBoolean(); break; case "Stretch": this._stretch = a.value.stimulsoft.toBoolean(); break; case "MultipleFactor": this._multipleFactor = a.value.stimulsoft.toNumber(); break; case "AspectRatio": this._aspectRatio = a.value.stimulsoft.toBoolean(); break; case "ImageToDraw": case "ImageBytesToDraw": this.imageToDraw = g.stringToImage(a.value); break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , A.prototype.loadFromXml = function(e, r) { S.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "HorAlignment": case "ha": this._horAlignment = o.parse(c, n.textContent); break; case "VertAlignment": case "va": this._vertAlignment = o.parse(m, n.textContent); break; case "Border": case "br": this._border = t.Base.Drawing.StiBorder.loadFromXml(n.textContent); break; case "Brush": case "bh": this._brush = u.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 = g.stringToImage(n.textContent); break } } } , A.prototype.clone = function(t) { var e = S.prototype.clone.call(this, t); return null != this._border ? e._border = this._border.clone() : e._border = null, null != this._brush ? e._brush = this._brush.clone() : e._brush = null, e._horAlignment = this._horAlignment, e._vertAlignment = this._vertAlignment, e } , Object.defineProperty(A.prototype, "horAlignment", { get: function() { return this._horAlignment }, set: function(t) { this._horAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "vertAlignment", { get: function() { return this._vertAlignment }, set: function(t) { this._vertAlignment = t }, enumerable: !0, configurable: !0 }), A.prototype.getImage = function(r, i) { if (void 0 === i && (i = e.StiExportFormat.None), null != this.objectToDraw) { var n = t.Report.Painters.StiPainter.getPainter(this.stimulsoft.getType()); return n.getImage(this, r, i) } var n = t.Report.Painters.StiPainter.getPainter(this.stimulsoft.getType()); return n.getImage(this, r, i) } , A.prototype.isExportAsImage = function(t) { return !0 } , Object.defineProperty(A.prototype, "border", { get: function() { return this._border }, set: function(t) { this._border = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "brush", { get: function() { return this._brush }, set: function(t) { this._brush = t }, enumerable: !0, configurable: !0 }), A.prototype.getActualSize = function() { var t = new d(this.width,this.height); if (this.canGrow || this.canShrink) { if (null == this.imageToDraw) return d.empty; var e = this.page.unit , r = e.convertToHInches(this.width) , i = 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 > i && (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 < i && (t.height = e.convertFromHInches(this.imageToDraw.height * this.multipleFactor))) } return t } , A.prototype.getRealSize = function() { var t = new d(this.width,this.height); if (this.canGrow || this.canShrink) { if (null == this.imageToDraw) return d.empty; var e = this.page.unit , r = e.convertToHInches(this.width) , i = 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 > i && (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 < i && (t.height = e.convertFromHInches(this.imageToDraw.height * this.multipleFactor)) } return t } , A.prototype.setPage = function(t) { var e = this.imageToDraw; S.prototype.setPage.call(this, t), this.imageToDraw = e } , Object.defineProperty(A.prototype, "smoothing", { get: function() { return this._smoothing }, set: function(t) { this._smoothing = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "isCachedImage", { get: function() { return this._isCachedImage }, set: function(t) { this._isCachedImage = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "objectToDraw", { get: function() { return this._objectToDraw }, set: function(t) { this._objectToDraw = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.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 = f.getImageCacheName(this.report.imageCachePath, this.guid); if (f.exist(t)) return f.loadImage(t) } return null }, set: function(t) { if (this.isCachedImage = !1, null == this.report || this.isDesigning) this._imageToDraw = t; else if (null != t) { i.isNullOrEmpty(this.report.imageCachePath) && (this.report.imageCachePath = f.createNewCache()), null == this.guid && this.newGuid(); var e = f.getImageCacheName(this.report.imageCachePath, this.guid); f.saveImage(t, e), this.isCachedImage = !0 } else this._imageToDraw = null }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "stretch", { get: function() { return this._stretch }, set: function(t) { this._stretch = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "multipleFactor", { get: function() { return this._multipleFactor }, set: function(t) { this._multipleFactor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "aspectRatio", { get: function() { return this._aspectRatio }, set: function(t) { this._aspectRatio = t }, enumerable: !0, configurable: !0 }), A.prototype.getImageFromSource = function() { return null } , A }(r.StiComponent); r.StiView = S }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.GdiImage = 0] = "GdiImage", t[t.SvgObject = 1] = "SvgObject" }(e = t.StiImageType || (t.StiImageType = {})); var r; !function(t) { t[t.Rating = 0] = "Rating", t[t.Quarter = 1] = "Quarter", t[t.Square = 2] = "Square", t[t.Star = 3] = "Star", t[t.Latin = 4] = "Latin" }(r = t.StiFontIconSet || (t.StiFontIconSet = {})); var i; !function(t) { t[t.WebApplicationIcons = 0] = "WebApplicationIcons", t[t.AccessibilityIcons = 1] = "AccessibilityIcons", t[t.HandIcons = 2] = "HandIcons", t[t.TransportationIcons = 3] = "TransportationIcons", t[t.GenderIcons = 4] = "GenderIcons", t[t.FileTypeIcons = 5] = "FileTypeIcons", t[t.SpinnerIcons = 6] = "SpinnerIcons", t[t.FormControlIcons = 7] = "FormControlIcons", t[t.PaymentIcons = 8] = "PaymentIcons", t[t.ChartIcons = 9] = "ChartIcons", t[t.CurrencyIcons = 10] = "CurrencyIcons", t[t.TextEditorIcons = 11] = "TextEditorIcons", t[t.DirectionalIcons = 12] = "DirectionalIcons", t[t.VideoPlayerIcons = 13] = "VideoPlayerIcons", t[t.BrandIcons = 14] = "BrandIcons", t[t.MedicalIcons = 15] = "MedicalIcons", t[t.OtherIcons = 16] = "OtherIcons" }(i = t.StiFontIconGroup || (t.StiFontIconGroup = {})); var n; !function(t) { t[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" }(n = t.StiFontIcons || (t.StiFontIcons = {})) }(e = t.Helpers || (t.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Drawing.Color , n = t.System.StiString , o = t.Base.JsonReportObject.IStiJsonReportObject , a = t.Base.Drawing.StiImageFromURL , s = t.Report.Helpers.StiHyperlinkProcessor , l = t.Report.Helpers.StiExpressionHelper , u = t.Report.Events.StiGetImageDataEventHandler , c = t.Report.Events.StiValueEventHandler , m = t.Report.Events.StiGetImageDataEventArgs , p = t.Report.Events.StiValueEventArgs , h = t.Report.Events.StiGetImageDataEvent , d = t.Report.Events.StiGetImageURLEvent , g = t.System.Enum , f = t.Base.StiJsonSaveMode , S = t.System.Drawing.Image , A = t.Report.Components.IStiBreakable , y = t.Base.Drawing.StiImageConverter , w = t.Report.Components.StiImageHelper , b = t.Report.Expressions.StiExpression , v = t.System.Drawing.Rectangle , C = t.Base.StiJsonReportObjectHelper , E = t.Report.Helpers.StiFontIcons , B = function(B) { function T() { var t = null !== B && B.apply(this, arguments) || this; return t.defaultClientRectangle = new v(0,0,100,100), t._imageRotation = r.StiImageRotation.None, t._image = null, t._file = "", t._dataColumn = "", t._imageURL = "", t._imageData = "", t.icon = null, t.iconColor = i.fromArgb(68, 114, 196), t } return __extends(T, B), T.prototype.implements = function() { return T.ImplementsStiImage || (T.ImplementsStiImage = B.prototype.implements.call(this).concat([A, o])), T.ImplementsStiImage } , T.prototype.saveToJsonObject = function(t) { var e = B.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", r.StiImageProcessingDuplicatesType, this.processingDuplicates, r.StiImageProcessingDuplicatesType.None), e.addPropertyEnum("ImageRotation", r.StiImageRotation, this.imageRotation, r.StiImageRotation.None), e.addPropertyStringNullOrEmpty("File", this.file), e.addPropertyStringNullOrEmpty("DataColumn", this.dataColumn), null != this.icon && e.addPropertyEnum("Icon", E, this.icon), e.addPropertyStringNullOrEmpty("IconColor", C.Serialize.jColor(this.iconColor, i.fromArgb(68, 114, 196))), t == f.Document ? e.addPropertyStringNullOrEmpty("ImageURLValue", this.imageURLValue) : (e.addPropertyJObject("ImageURL", new b(this.imageURL).saveToJsonObject(t)), e.addPropertyJObject("ImageData", new b(this.imageData).saveToJsonObject(t)), e.addPropertyString("ImageBytes", y.imageToString(this.image))), e } , T.prototype.loadFromJsonObject = function(t) { var e, i; B.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "GlobalizedName": break; case "CanBreak": this.canBreak = a.value.stimulsoft.toBoolean(); break; case "ImageURLValue": this._imageURLValue = a.value; break; case "ImageURL": var s = new b; s.loadFromJsonObject(a.value), this.imageURL = s.value; break; case "ImageData": var s = new b; s.loadFromJsonObject(a.value), this.imageData = s.value; break; case "GetImageURLEvent": var l = new d; l.loadFromJsonObject(a.value), this.getImageURLEvent = l; break; case "GetImageDataEvent": var l = new h; l.loadFromJsonObject(a.value), this.getImageDataEvent = l; break; case "ProcessingDuplicates": this.processingDuplicates = g.parse(r.StiImageProcessingDuplicatesType, a.value); break; case "ImageRotation": this._imageRotation = g.parse(r.StiImageRotation, a.value); break; case "Image": case "ImageBytes": this.image = y.stringToImage(a.value); break; case "File": this._file = a.value; break; case "DataColumn": this._dataColumn = a.value; break; case "Icon": this.icon = g.parse(E, a.value.toString()); break; case "IconColor": this.iconColor = C.Deserialize.color(a.value.toString()); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , T.prototype.loadFromXml = function(t, e) { B.prototype.loadFromXml.call(this, t, e); for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[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": var o = new b; o.loadFromXml(n), this.imageURL = o.value; break; case "ImageData": var o = new b; o.loadFromXml(n), this.imageData = o.value; break; case "GetImageURLEvent": break; case "GetImageDataEvent": break; case "ProcessingDuplicates": this.processingDuplicates = g.parse(r.StiImageProcessingDuplicatesType, n.textContent); break; case "ImageRotation": this._imageRotation = g.parse(r.StiImageRotation, n.textContent); break; case "Image": case "ImageBytes": this.image = y.stringToImage(n.textContent); break; case "File": this._file = n.textContent; break; case "DataColumn": this._dataColumn = n.textContent; break; case "Icon": this.icon = g.parse(E, n.textContent); break; case "IconColor": this.iconColor = C.Deserialize.color(n.textContent); break } } } , T.prototype.getImage = function(t, r) { return void 0 === r && (r = e.StiExportFormat.None), this.imageToDraw } , T.prototype.getImageFromFile = function() { if (!n.isNullOrEmpty(this.file)) { var t = l.parseText(this.page, this.file); return S.fromFile(t) } return null } , T.prototype.getImageFromUrl = function() { var e = this.imageURLValue; try { if (!n.isNullOrEmpty(e)) { if (null != s.getResourceNameFromHyperlink(e)) return s.getImage(this.report, e); if (null != s.getVariableNameFromHyperlink(e)) return s.getImage(this.report, e); return a.loadBitmap(e) } } catch (e) { t.System.StiError.showError(e.message, !1) } return null } , T.prototype.getImageFromDataColumn = function() { try { var e = t.Report.Dictionary.StiDataColumn.getDataFromDataColumn(this.report.dictionary, this.dataColumn); return w.getImageFromObject(e) } catch (e) { t.System.StiError.showError(e.message, !1) } return null } , T.prototype.getImageFromIcon = function() { try { if (null == this.icon) return null; var r = this.getPaintRectangle(!0, !1); return e.StiFontIconsHelper.convertFontIconToImage(this.icon, this.iconColor, r.width, r.height) } catch (e) { t.System.StiError.showError(e.message, !1) } return null } , T.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(T.prototype, "canBreak", { get: function() { return this.properties.getBool(T.propertyCanBreak, !1) }, set: function(t) { this.properties.setBool(T.propertyCanBreak, t, !1) }, enumerable: !0, configurable: !0 }), T.prototype.break = function(t, e, r) { return r.ref = 0, this.imageToDraw, !0 } , Object.defineProperty(T.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: !0, configurable: !0 }), T.prototype.invokeEvents = function() { try { if (B.prototype.invokeEvents.call(this), this.report.calculationMode == e.StiCalculationMode.Compilation) { if (null != this.events.get(T.eventGetImageURL) && (null == this.imageURLValue || this.imageURLValue.stimulsoft.is(String) && 0 == this.imageURLValue.length)) { var t = new p; this.invokeGetImageURL(this, t), this.imageURLValue = t.value } } else if (null == this.imageURLValue || this.imageURLValue.stimulsoft.is(String) && 0 == this.imageURLValue.length) { var t = new p; this.invokeGetImageURL(this, t), this.imageURLValue = t.value } if (this.report.calculationMode == e.StiCalculationMode.Compilation) { if (null != this.events.get(T.eventGetImageData)) { var r = new m; this.invokeGetImageData(this, r), null != r.value && (this.image = r.value) } } else if (!n.isNullOrEmpty(this.imageData)) { var r = new m; this.invokeGetImageData(this, r), null != r.value && (this.image = r.value) } } catch (t) {} } , T.prototype.onGetImageURL = function(t) {} , T.prototype.invokeGetImageURL = function(r, i) { try { if (this.report.calculationMode == e.StiCalculationMode.Compilation) { this.onGetImageURL(i); var n = this.events.get(T.eventGetImageURL); if (null != n) try { n(r, i) } catch (i) {} } else { this.onGetImageURL(i); var o = t.Report.Engine.StiParser.StiParser.parseTextValue(this.imageURL, this, r); null != o && (i.value = o.toString()); var n = this.events.get(T.eventGetImageURL); if (null != n) try { n(r, i) } catch (i) {} } } catch (t) {} } , Object.defineProperty(T.prototype, "getImageURLEvent", { get: function() { return new d(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(T.eventGetImageURL, c.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), T.prototype.onGetImageData = function(t) {} , T.prototype.invokeGetImageData = function(r, i) { try { if (this.report.calculationMode == e.StiCalculationMode.Compilation) { this.onGetImageData(i); var n = this.events.get(T.eventGetImageData); if (null != n) try { n(r, i) } catch (i) {} } else { this.onGetImageData(i); var o = t.Report.Engine.StiParser.StiParser.parseTextValue(this.imageData, this, r); o.stimulsoft.is(S) && (i.value = o); var n = this.events.get(T.eventGetImageData); if (null != n) try { n(r, i) } catch (i) {} } } catch (t) {} } , Object.defineProperty(T.prototype, "getImageDataEvent", { get: function() { return new h(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(T.eventGetImageData, u.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(T.prototype, "processingDuplicates", { get: function() { return this.properties.get(T.propertyProcessingDuplicates, r.StiImageProcessingDuplicatesType.None) }, set: function(t) { this.properties.set(T.propertyProcessingDuplicates, t, r.StiImageProcessingDuplicatesType.None) }, enumerable: !0, configurable: !0 }), Object.defineProperty(T.prototype, "imageRotation", { get: function() { return this._imageRotation }, set: function(t) { this._imageRotation = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(T.prototype, "image", { get: function() { return this._image }, set: function(t) { this._image != t && (this._image = t, this.imageToDraw = this._image) }, enumerable: !0, configurable: !0 }), Object.defineProperty(T.prototype, "margins", { get: function() { return this.properties.get(T.propertyMargins, r.StiMargins.empty) }, set: function(t) { this.properties.set(T.propertyMargins, t, r.StiMargins.empty) }, enumerable: !0, configurable: !0 }), Object.defineProperty(T.prototype, "file", { get: function() { return this._file }, set: function(e) { if (this._file != e && (this._file = e, null == this.image)) try { var r = this.getImageFromFile(); this.imageToDraw = r } catch (e) { t.System.StiError.showError(e) } }, enumerable: !0, configurable: !0 }), Object.defineProperty(T.prototype, "dataColumn", { get: function() { return this._dataColumn }, set: function(t) { this._dataColumn = t, this.imageToDraw = null }, enumerable: !0, configurable: !0 }), Object.defineProperty(T.prototype, "imageURL", { get: function() { return this._imageURL }, set: function(t) { this._imageURL = t, this.imageToDraw = null }, enumerable: !0, configurable: !0 }), Object.defineProperty(T.prototype, "imageData", { get: function() { return this._imageData }, set: function(t) { this._imageData = t, this.imageToDraw = null }, enumerable: !0, configurable: !0 }), T.prototype.convertImageMargins = function(t, e) { var r = this.margins; if (r.isEmpty) return t; var i = this.page.zoom; e || (i = 1); var n = r.left , o = r.right , a = r.top , s = r.bottom; return 0 != n && (t.x += n * i, t.width -= n * i), 0 != a && (t.y += a * i, t.height -= a * i), 0 != o && (t.width -= o * i), 0 != s && (t.height -= s * i), t } , T.propertyCanBreak = Math.random().toString().substr(2), T.eventGetImageURL = {}, T.eventGetImageData = {}, T.propertyProcessingDuplicates = Math.random().toString().substr(2), T.propertyMargins = Math.random().toString().substr(2), T }(r.StiView); r.StiImage = B }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.Base.Drawing.StiBorder , n = t.Base.Drawing.StiBorderSides , o = t.System.Drawing.Point , a = t.System.Drawing.Rectangle , s = function(t) { function s(e) { void 0 === e && (e = a.empty); var r = t.call(this, e) || this; return r._border = null, r._topSide = !0, r._leftSide = !0, r._bottomSide = !0, r._rightSide = !0, r } return __extends(s, t), s.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiBorder, r]) } , s.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyBool("TopSide", this.topSide, !0), r.addPropertyBool("LeftSide", this.leftSide, !0), r.addPropertyBool("BottomSide", this.bottomSide, !0), r.addPropertyBool("RightSide", this.rightSide, !0), r } , s.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "TopSide": this._topSide = a.value.stimulsoft.toBoolean(); break; case "LeftSide": this._leftSide = a.value.stimulsoft.toBoolean(); break; case "BottomSide": this._bottomSide = a.value.stimulsoft.toBoolean(); break; case "RightSide": this._rightSide = a.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , s.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; 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(s.prototype, "border", { get: function() { return null == this._border && (this._border = new i(n.All,this.color,this.size,this.style,!1,0,null)), this._border }, set: function(t) {}, enumerable: !0, configurable: !0 }), s.prototype.convert = function(e, r, i) { void 0 === i && (i = !1), null == this.getStartPoint() && null == this.getEndPoint() && t.prototype.convert.call(this, e, r, i) } , Object.defineProperty(s.prototype, "width", { get: function() { var e = this.getStartPoint() , r = this.getEndPoint(); if (null == e || null == r) return t.prototype.getWidth.call(this); var i = new o(e.left,e.top) , n = new o(r.left,r.top); return i = e.componentToPage(i), n = r.componentToPage(n), Math.round2(n.x - i.x, 2) }, set: function(e) { t.prototype.setWidth.call(this, e); var r = this.getStartPoint() , i = this.getEndPoint(); if (null != r && null != i) { var n = new o(r.left,r.top); n = r.componentToPage(n); var a = new o(n.x + e,n.y); a = i.pageToComponent(a), i.left = a.x } }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "topSide", { get: function() { return this._topSide }, set: function(t) { this._topSide = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "leftSide", { get: function() { return this._leftSide }, set: function(t) { this._leftSide = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "bottomSide", { get: function() { return this._bottomSide }, set: function(t) { this._bottomSide = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "rightSide", { get: function() { return this._rightSide }, set: function(t) { this._rightSide = t }, enumerable: !0, configurable: !0 }), s.prototype.createNew = function() { return new s } , s }(e.StiCrossLinePrimitive); e.StiRectanglePrimitive = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetDataUrl" } , e }(t.StiEvent); t.StiGetDataUrlEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Report.Events.StiGetDataUrlEventHandler , a = t.Report.Events.StiGetDataUrlEvent , s = t.Report.Components.IStiEditable , l = t.Base.Drawing.StiBorder , u = t.System.Drawing.Color , c = t.Base.StiJsonReportObjectHelper , m = t.Report.Expressions.StiExpression , p = t.System.Text.StiReportObjectStringConverter , h = function(t) { function h() { var e = null !== t && t.apply(this, arguments) || this; return e._border = new l, e._margins = new r.StiMargins(0,0,0,0), e._defaultFont = null, e._defaultColor = u.empty, e._wordWrap = !0, e._detectUrls = !0, e._backColor = u.white, e._dataColumn = "", e._wysiwyg = !1, e._rightToLeft = !1, e._dataUrl = "", e } return __extends(h, t), h.prototype.implements = function() { return h.implementsStiRichText || (h.implementsStiRichText = t.prototype.implements.call(this).concat([s, r.IStiBreakable, r.IStiBorder, e.IStiGlobalizationProvider, r.IStiBackColor, n])), h.implementsStiRichText } , h.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("GlobalizedName"), r.removeProperty("LinesOfUnderline"), r.removeProperty("HideZeros"), r.removeProperty("ProcessingDuplicates"), r.removeProperty("MaxNumberOfLines"), r.addPropertyBool("CanBreak", this.canBreak, !1), r.addPropertyStringNullOrEmpty("Border", c.Serialize.jBorder(this.border)), r.addPropertyJObject("GetDataUrlEvent", this.getDataUrlEvent.saveToJsonObject(e)), r.addPropertyJObject("Margins", this.margins.saveToJsonObject(e, 0, 0, 0, 0)), r.addPropertyBool("WordWrap", this.wordWrap, !0), r.addPropertyBool("DetectUrls", this.detectUrls, !0), r.addPropertyStringNullOrEmpty("BackColor", c.Serialize.jColor(this.backColor, u.white)), r.addPropertyStringNullOrEmpty("DataColumn", this.dataColumn), r.addPropertyJObject("DataUrl", new m(this.dataUrl).saveToJsonObject(e)), r.addPropertyBool("Wysiwyg", this.wysiwyg), r.addPropertyBool("RightToLeft", this.rightToLeft), r } , h.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var s = o.value; switch (s.name) { case "CanBreak": this.canBreak = s.value.stimulsoft.toBoolean(); break; case "Border": this.border = c.Deserialize.border(s.value); break; case "GetDataUrlEvent": var l = new a; l.loadFromJsonObject(s.value), this.getDataUrlEvent = l; break; case "Margins": this.margins.loadFromJsonObject(s.value); break; case "WordWrap": this.wordWrap = s.value.stimulsoft.toBoolean(); break; case "DetectUrls": this.detectUrls = s.value.stimulsoft.toBoolean(); break; case "BackColor": this.backColor = c.Deserialize.color(s.value); break; case "DataColumn": this.dataColumn = s.value.toString(); break; case "DataUrl": var u = new m; u.loadFromJsonObject(s.value), this.dataUrl = u.value; break; case "FullConvertExpression": break; case "Wysiwyg": this.wysiwyg = s.value.stimulsoft.toBoolean(); break; case "RightToLeft": this.rightToLeft = s.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , h.prototype.loadFromXml = function(e, i) { t.prototype.loadFromXml.call(this, e, i); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "CanBreak": this.canBreak = o.textContent.stimulsoft.toBoolean(); break; case "Border": case "br": this.border = l.loadFromXml(o.textContent); break; case "GetDataUrlEvent": break; case "Margins": this.margins = r.StiMargins.loadFromXml(o); break; case "WordWrap": this.wordWrap = o.textContent.stimulsoft.toBoolean(); break; case "DetectUrls": this.detectUrls = o.textContent.stimulsoft.toBoolean(); break; case "BackColor": this.backColor = p.convertStringToColor(o.textContent); break; case "DataColumn": this.dataColumn = o.textContent; break; case "DataUrl": var a = new m; a.loadFromXml(o), this.dataUrl = a.value; break; case "FullConvertExpression": break; case "Wysiwyg": this.wysiwyg = o.textContent.stimulsoft.toBoolean(); break; case "RightToLeft": this.rightToLeft = o.textContent.stimulsoft.toBoolean(); break } } } , 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: !0, configurable: !0 }), h.prototype.clone = function(e) { var r = t.prototype.clone.call(this, e); return null != this._border ? r._border = this._border.clone() : r._border = null, r } , h.prototype.onGetDataUrl = function(t) {} , h.prototype.invokeGetDataUrl = function(t, e) { try { this.onGetDataUrl(e); var r = this.events.get(h.eventGetDataUrl); if (null != r) try { r(t, e) } catch (e) {} } catch (t) {} } , Object.defineProperty(h.prototype, "getDataUrlEvent", { get: function() { return new a(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(h.eventGetDataUrl, o.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), 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 i.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 i.format("Property with name {0}", t) } , h.prototype.getAllStrings = function() { var t = []; return StiOptions.Engine.Globalization.allowUseText && t.add("Text"), StiOptions.Engine.Globalization.allowUseTag && t.add("Tag"), StiOptions.Engine.Globalization.allowUseToolTip && t.add("ToolTip"), StiOptions.Engine.Globalization.allowUseHyperlink && t.add("Hyperlink"), t } , Object.defineProperty(h.prototype, "border", { get: function() { return this._border }, set: function(t) { this._border = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "margins", { get: function() { return this._margins }, set: function(t) { this._margins = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "defaultFont", { get: function() { return this._defaultFont }, set: function(t) { this._defaultFont = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "defaultColor", { get: function() { return this._defaultColor }, set: function(t) { this._defaultColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "wordWrap", { get: function() { return this._wordWrap }, set: function(t) { this._wordWrap = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "detectUrls", { get: function() { return this._detectUrls }, set: function(t) { this._detectUrls = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "backColor", { get: function() { return this._backColor }, set: function(t) { this._backColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "dataColumn", { get: function() { return this._dataColumn }, set: function(t) { this._dataColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "wysiwyg", { get: function() { return this._wysiwyg }, set: function(t) { this._wysiwyg = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "rightToLeft", { get: function() { return this._rightToLeft }, set: function(t) { this._rightToLeft = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "dataUrl", { get: function() { return this._dataUrl }, set: function(t) { this._dataUrl = t }, enumerable: !0, configurable: !0 }), h.notSupportedText = "RichText is not supported in the JS component", h.propertyCanBreak = Math.random().toString().substr(2), h.eventGetDataUrl = {}, h }(r.StiSimpleText); r.StiRichText = h }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = function(t) { function e(e) { void 0 === e && (e = r.empty); var i = t.call(this, e) || this; return i._round = .2, i } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumber("Round", this.round, .2), r } , e.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Round": this._round = a.value.stimulsoft.toNumber(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , e.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "Round": this._round = n.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(e.prototype, "round", { get: function() { return this._round }, set: function(t) { t > 0 && t <= .5 && (this._round = t) }, enumerable: !0, configurable: !0 }), e.prototype.createNew = function() { return new e } , e }(e.StiRectanglePrimitive); e.StiRoundedRectanglePrimitive = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.NodeJs , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.System.Drawing.Image , a = t.System.Enum , s = t.Base.StiJsonReportObjectHelper , l = t.Base.Drawing.StiBrush , u = t.System.Drawing.Color , c = t.Base.Drawing.StiSolidBrush , m = t.System.Drawing.Rectangle , p = t.Base.Drawing.StiPenStyle , h = t.Report.Components.IStiBorderColor , d = t.Report.Components.IStiShape , g = t.System.Xml.XmlTextWriter , f = t.System.Text.Encoding , S = t.System.Drawing.Imaging.ImageFormat , A = t.System.StiString , y = function(y) { function w(t) { void 0 === t && (t = m.empty); var e = y.call(this, t) || this; return e._brush = new c, e._borderColor = u.black, e.defaultClientRectangle = new m(0,0,64,64), e._style = p.Solid, e._size = 1, e._shapeType = new r.StiRectangleShapeType, e } return __extends(w, y), w.prototype.implements = function() { return this._implementsStiShape || (this._implementsStiShape = y.prototype.implements.call(this).concat([r.IStiBrush, h, r.IStiExportImageExtended, r.IStiExportImage, d, n])), this._implementsStiShape } , w.prototype.saveToJsonObject = function(t) { var e = y.prototype.saveToJsonObject.call(this, t); return e.removeProperty("CanShrink"), e.removeProperty("CanGrow"), e.addPropertyStringNullOrEmpty("Brush", s.Serialize.jBrush(this.brush)), e.addPropertyStringNullOrEmpty("BorderColor", s.Serialize.jColor(this.borderColor, u.black)), e.addPropertyEnum("Style", p, this.style, p.Solid), e.addPropertyNumber("Size", this.size, 1), e.addPropertyJObject("ShapeType", this.shapeType.saveToJsonObject(t)), e } , w.prototype.loadFromJsonObject = function(t) { var e, i; y.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var l = o.value; switch (l.name) { case "Brush": this._brush = s.Deserialize.brush(l.value); break; case "BorderColor": this._borderColor = s.Deserialize.color(l.value); break; case "Style": this._style = a.parse(p, l.value); break; case "Size": this._size = l.value.stimulsoft.toNumber(); break; case "ShapeType": this._shapeType = r.StiShapeTypeService.loadFromJsonObjectInternal(l.value); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , w.prototype.loadFromXml = function(e, i) { y.prototype.loadFromXml.call(this, e, i); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "Brush": case "bh": this._brush = l.loadFromXml(o.textContent); break; case "BorderColor": this._borderColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break; case "Style": this._style = a.parse(p, o.textContent); break; case "Size": this._size = o.textContent.stimulsoft.toNumber(); break; case "ShapeType": this._shapeType = r.StiShapeTypeService.convertFromXml(o), this._shapeType.loadFromXml(o); break } } } , w.prototype.clone = function(t) { var e = y.prototype.clone.call(this, t); return null != this._shapeType ? e._shapeType = this.shapeType.clone() : e._shapeType = null, e } , w.prototype.convert = function(t, e, i) { void 0 === i && (i = !1), y.prototype.convert.call(this, t, e, i), this.shapeType.stimulsoft.is(r.StiOctagonShapeType) && (this.shapeType.bevel = e.convertFromHInches(t.convertToHInches(this.shapeType.bevel))) } , w.prototype.getImage = function(r, n) { void 0 === n && (n = e.StiExportFormat.None); var a = new o; if (!i.useWebKit) return a; var s = new t.Report.Export.StiSvgData; s.x = 0, s.y = 0, s.width = this.report.unit.convertToHInches(this.width), s.height = this.report.unit.convertToHInches(this.height), s.component = this; var l = new g(f.UTF8); t.Report.Export.StiSvgHelper.writeShape(l, s), l.flush(); var u = document.createElement("canvas"); u.width = s.width + 10, u.height = s.height + 10; var c = A.format('{2}', s.width + 10, s.height + 10, l.textWriter.getStringBuilder().toString()); canvg(u, c); var m = u.toDataURL(S.Jpeg.mimeType, 1); return a.base64 = m, u.svg.stop(), a } , w.prototype.isExportAsImage = function(t) { return !0 } , Object.defineProperty(w.prototype, "brush", { get: function() { return this._brush }, set: function(t) { this._brush = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(t) { this._borderColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "style", { get: function() { return this._style }, set: function(t) { this._style = t }, enumerable: !0, 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: !0, configurable: !0 }), Object.defineProperty(w.prototype, "shapeType", { get: function() { return this._shapeType }, set: function(t) { this._shapeType = t }, enumerable: !0, configurable: !0 }), w }(r.StiComponent); r.StiShape = y }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Drawing.Rectangle , n = function(t) { function r(e) { return void 0 === e && (e = i.empty), t.call(this, e) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiStartPointPrimitive }, enumerable: !0, configurable: !0 }), r }(r.StiPointPrimitive); r.StiStartPointPrimitive = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Report.Components.IStiEditable , a = t.Base.Drawing.StiSolidBrush , s = t.System.Drawing.Color , l = t.Base.StiJsonReportObjectHelper , u = t.System.Drawing.Size , c = t.System.Drawing.Size , m = t.System.Collections.List , p = t.System.Char , h = t.System.Drawing.Rectangle , d = t.Base.Drawing.StiBorderSides , g = t.System.Drawing.Font , f = t.System.Drawing.FontStyle , S = function(S) { function A(t, e) { void 0 === t && (t = h.empty), void 0 === e && (e = ""); var r = S.call(this, t) || this; return r.textBrush = new a(s.black), r.brush = new a(s.white), r.border.side = d.All, r.border.color = s.black, r.border.size = 2, r.setTextInternal(e), r.placeOnToolbox = !1, r.font = new g("Arial",14,f.Bold), r } return __extends(A, S), A.prototype.implements = function() { return A.ImplementsTextInCells || (A.ImplementsTextInCells = S.prototype.implements.call(this).concat([r.IStiTextOptions, r.IStiAutoWidth, r.IStiTextHorAlignment, r.IStiVertAlignment, r.IStiBorder, r.IStiFont, r.IStiBrush, r.IStiTextBrush, r.IStiBreakable, e.IStiGlobalizationProvider, o, n])), A.ImplementsTextInCells } , A.prototype.saveToJsonObject = function(t) { var e = S.prototype.saveToJsonObject.call(this, t); return e.removeProperty("VertAlignment"), e.removeProperty("AutoWidth"), e.removeProperty("CanShrink"), e.removeProperty("AllowHtmlTags"), e.removeProperty("ShrinkFontToFit"), e.removeProperty("ShrinkFontToFitMinimumSize"), e.removeProperty("Angle"), e.removeProperty("LinesOfUnderline"), e.removeProperty("MaxNumberOfLines"), e.removeProperty("ProcessingDuplicates"), e.removeProperty("RenderTo"), e.removeProperty("TextQuality"), e.removeProperty("ExcelValue"), e.removeProperty("Font"), e.addPropertyStringNullOrEmpty("Font", l.Serialize.font(this.font, "Arial", 14, f.Bold)), e.addPropertyNumber("CellWidth", this.cellWidth, 0), e.addPropertyNumber("CellHeight", this.cellHeight, 0), e.addPropertyNumber("HorSpacing", this.horSpacing, 0), e.addPropertyNumber("VertSpacing", this.vertSpacing, 0), e.addPropertyBool("WordWrap", this.wordWrap), e.addPropertyBool("RightToLeft", this.rightToLeft), e.addPropertyBool("ContinuousText", this.continuousText, !0), e } , A.prototype.loadFromJsonObject = function(t) { var e, r; S.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , A.prototype.loadFromXml = function(t, e) { S.prototype.loadFromXml.call(this, t, e); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "CellWidth": this.cellWidth = i.textContent.stimulsoft.toNumber(); break; case "CellHeight": this.cellHeight = i.textContent.stimulsoft.toNumber(); break; case "HorSpacing": this.horSpacing = i.textContent.stimulsoft.toNumber(); break; case "VertSpacing": this.vertSpacing = i.textContent.stimulsoft.toNumber(); break; case "WordWrap": this.wordWrap = i.textContent.stimulsoft.toBoolean(); break; case "RightToLeft": this.rightToLeft = i.textContent.stimulsoft.toBoolean(); break; case "ContinuousText": this.continuousText = i.textContent.stimulsoft.toBoolean(); break } } } , A.prototype.getImage = function(r, i) { return void 0 === i && (i = e.StiExportFormat.None), t.Report.Painters.StiPainter.getPainter(this.stimulsoft.getType()).getImage(this, r, i) } , A.prototype.convert = function(t, e, r) { void 0 === r && (r = !1), S.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(A.prototype, "cellWidth", { get: function() { return this.properties.getNumber(A.propertyCellWidth, 0) }, set: function(t) { this.properties.setNumber(A.propertyCellWidth, t, 0) }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "cellHeight", { get: function() { return this.properties.getNumber(A.propertyCellHeight, 0) }, set: function(t) { t < 0 ? this.properties.setNumber(A.propertyCellHeight, 0, 0) : this.properties.setNumber(A.propertyCellHeight, t, 0) }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "horSpacing", { get: function() { return this.properties.getNumber(A.propertyHorSpacing, 0) }, set: function(t) { t < 0 ? this.properties.setNumber(A.propertyHorSpacing, 0, 0) : this.properties.setNumber(A.propertyHorSpacing, t, 0) }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "vertSpacing", { get: function() { return this.properties.getNumber(A.propertyVertSpacing, 0) }, set: function(t) { t < 0 ? this.properties.setNumber(A.propertyVertSpacing, 0, 0) : this.properties.setNumber(A.propertyVertSpacing, t, 0) }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "wordWrap", { get: function() { return this.textOptions.wordWrap }, set: function(t) { this.textOptions.wordWrap = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "rightToLeft", { get: function() { return this.textOptions.rightToLeft }, set: function(t) { this.textOptions.rightToLeft = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "continuousText", { get: function() { return this.properties.getBool(A.propertyContinuousText, !1) }, set: function(t) { this.properties.setBool(A.propertyContinuousText, t, !1) }, enumerable: !0, configurable: !0 }), A.prototype.getActualSize = function() { return new u(this.width,this.height) } , A.splitByCells = function(t, e, r) { return this.splitByCells2(t, e, r, !1) } , A.splitByCells2 = function(t, n, o, a) { var s = new r.StiContainer; s.clientRectangle = n.clientRectangle, s.name = n.name, s.canGrow = n.canGrow; var l = s.clientRectangle; l.x = 0, l.y = 0; var u = t.page.unit , d = u.convertFromHInches(t.border.size / 2 * t.page.zoom) , g = t.horSpacing , f = t.vertSpacing , S = t.cellWidth , A = t.cellHeight , y = t.border.isLeftBorderSidePresent || t.border.isRightBorderSidePresent; if (0 == t.cellWidth && (S = u.convertFromHInches(2.4 * t.font.getHeight() * e.StiDpiHelper.deviceCapsScale + (y ? t.border.size : 0))), 0 == t.cellHeight && (A = u.convertFromHInches(2.4 * t.font.getHeight() * e.StiDpiHelper.deviceCapsScale)), t.continuousText) { var w = l.x + d , b = l.y + d , v = !0 , C = 0; while (1 == 1) { var E = Math.round2(w, 2) , B = Math.round2(b, 2) , T = Math.round2(w + S, 2) - E , I = Math.round2(b + A, 2) - B , x = new h(E,B,T,I); if (x.right + g < l.right || v) { var F = n.clone(); F.clientRectangle = x, F.horAlignment = StiTextHorAlignment.Center, F.vertAlignment = StiVertAlignment.Center, F.wordWrap = !1, s.components.add(F); var D = ""; null != o && C < o.length && (D = o[C]), F.setTextInternal(D), w += S + g, C++, v = !1 } else { if (b += A + f, w = l.x + d, v = !0, !t.wordWrap) break; if (a && t.canGrow) { if (C >= o.length) break } else if (l.bottom < b + A + f) break } } } else { var R = new c(1,1) , w = l.x + d + S; while (w + g + S < l.right) w += g + S, R.width++; var b = l.y + d + A; while (b + f + A < l.bottom) b += f + A, R.height++; t.wordWrap || (R.height = 1); var P = new m , N = ""; if (null != o) for (var k = 0; k < o.length; k++) { var I = o[k]; p.isControl(I) ? "\n" == I && (P.add(r.StiTextInCellsHelper.trimEndWhiteSpace(N)), N = "") : N += I } if ("" != N && P.add(r.StiTextInCellsHelper.trimEndWhiteSpace(N)), 0 == P.length && P.add(N), t.wordWrap) for (var M = 0; M < P.length; M++) { var O = P[M]; if (O.length > R.width) { var _ = [] , L = 0 , j = 0; while (j < O.length && p.isWhitespace(O[j])) _[j] = L, j++; for (var H = j; H < O.length; H++) p.isWhitespace(O[H]) && L++, _[H] = L; var C = R.width , G = C - 1; if (_[C] > 0) if (_[C] != _[G]) while (p.isWhitespace(O[C])) C++; else { while (!p.isWhitespace(O[C])) C--; G = C++; while (p.isWhitespace(O[G])) G-- } P.setByIndex(M, O.substring(0, G + 1)), P.insert(M + 1, O.substring(C, O.length - C)) } } a && t.canGrow && (R.height = P.length), b = l.y + d; for (var Q = 0; Q < R.height; Q++) { var Y = Q < P.length ? P[Q] : "" , U = 0; t.horAlignment == StiTextHorAlignment.Center && (U = (R.width - Y.length) / 2), t.horAlignment == StiTextHorAlignment.Right && (U = R.width - Y.length), U > 0 && (Y = i.repeat(" ", U) + Y), w = l.x + d; for (var J = 0; J < R.width; J++) { var E = Math.round2(w, 2) , B = Math.round2(b, 2) , T = Math.round2(w + S, 2) - E , I = Math.round2(b + A, 2) - B , x = new h(E,B,T,I) , F = n.clone(); F.clientRectangle = x, F.horAlignment = StiTextHorAlignment.Center, F.vertAlignment = StiVertAlignment.Center, F.wordWrap = !1, s.components.add(F); var D = "" , W = t.rightToLeft ? R.width - J - 1 : J; W < Y.length && (D = Y[W]), F.setTextInternal(D), w += S + g } b += A + f } } return s } , A.replaceContainerWithContentCells = function(t, e) { var r, i, n = t.parent.components.indexOf(t); t.parent.components.removeAt(n); 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(n++, s) } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , A.prototype.createNew = function() { return new A } , A.propertyCellWidth = Math.random().toString().substr(2), A.propertyCellHeight = Math.random().toString().substr(2), A.propertyHorSpacing = Math.random().toString().substr(2), A.propertyVertSpacing = Math.random().toString().substr(2), A.propertyContinuousText = Math.random().toString().substr(2), A }(r.StiText); r.StiTextInCells = S }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Char , i = function() { function t() {} return t.trimEndWhiteSpace = function(t) { if (StiOptions.Engine.measureTrailingSpaces) return t; var e = "" , i = t.length; while (i > 0 && r.isWhitespace(t[i - 1])) i--; return i == t.length ? e = t : i > 0 && (e = t.substring(0, i)), e } , t }(); e.StiTextInCellsHelper = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.Base.StiJsonReportObjectHelper , n = t.Base.Drawing.StiBorder , o = t.Base.Drawing.StiBorderSides , a = t.Base.Drawing.StiCap , s = t.System.Drawing.Rectangle , l = t.System.Drawing.Point , u = function(t) { function u(e) { void 0 === e && (e = s.empty); var r = t.call(this, e) || this; return r._border = null, r._startCap = new a, r._endCap = new a, r } return __extends(u, t), u.prototype.implements = function() { return t.prototype.implements.call(this).concat([e.IStiBorder, r]) } , u.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyStringNullOrEmpty("StartCap", i.Serialize.jCap(this._startCap)), r.addPropertyStringNullOrEmpty("EndCap", i.Serialize.jCap(this._endCap)), r } , u.prototype.loadFromJsonObject = function(e) { var r, n; t.prototype.loadFromJsonObject.call(this, e); try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "StartCap": this._startCap = i.Deserialize.jCap(s.value); break; case "EndCap": this._endCap = i.Deserialize.jCap(s.value); break } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , u.prototype.loadFromXml = function(e, r) { t.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; switch (n.nodeName) { case "StartCap": this._startCap.loadFromXml(n); break; case "EndCap": this._endCap.loadFromXml(n); break } } } , u.prototype.clone = function(e) { var r = t.prototype.clone.call(this, e); return null != this._startCap ? r._startCap = this._startCap.clone() : r._startCap = null, null != this._endCap ? r._endCap = this._endCap.clone() : r._endCap = null, r } , Object.defineProperty(u.prototype, "border", { get: function() { return null == this._border && (this._border = new n(o.Left,this.color,this.size,this.style,!1,0,null)), this._border }, set: function(t) {}, enumerable: !0, configurable: !0 }), u.prototype.convert = function(e, r, i) { void 0 === i && (i = !1), null == this.getStartPoint() && null == this.getEndPoint() && t.prototype.convert.call(this, e, r, i) } , Object.defineProperty(u.prototype, "startCap", { get: function() { return this._startCap }, set: function(t) { this._startCap = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "endCap", { get: function() { return this._endCap }, set: function(t) { this._endCap = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "width", { get: function() { if (null != this.page) return this.page.unit.convertFromHInches(1); return 0 }, set: function(e) { if (this.isDesigning) { t.prototype.setWidth.call(this, e); var r = this.getStartPoint() , i = this.getEndPoint(); if (null != r && null != i) { var n = new l(r.left,r.top); n = r.componentToPage(n); var o = new l(n.x,n.y); o = i.pageToComponent(o), i.left = o.x } } }, enumerable: !0, configurable: !0 }), u.prototype.createNew = function() { return new u } , u }(e.StiCrossLinePrimitive); e.StiVerticalLinePrimitive = u }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[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" }(e = t.StiTableStyle || (t.StiTableStyle = {})); var r; !function(t) { t[t.Text = 0] = "Text", t[t.Image = 1] = "Image", t[t.CheckBox = 2] = "CheckBox", t[t.RichText = 3] = "RichText" }(r = t.StiTablceCellType || (t.StiTablceCellType = {})); var i; !function(t) { t[t.None = 0] = "None", t[t.Page = 1] = "Page", t[t.Table = 2] = "Table" }(i = t.StiTableAutoWidth || (t.StiTableAutoWidth = {})); var n; !function(t) { t[t.None = 0] = "None", t[t.LastColumns = 1] = "LastColumns", t[t.FullTable = 2] = "FullTable" }(n = t.StiTableAutoWidthType || (t.StiTableAutoWidthType = {})) }(e = t.Table || (t.Table = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTableCell = "IStiTableCell" }(e = t.Table || (t.Table = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTableComponent = "IStiTableComponent" }(e = t.Table || (t.Table = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(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 } return t.prototype.setFixedColumn = function(t, e) { this._fixedColumn[t] = !0, this._widths[t] < e && (this._widths[t] = e) } , t.prototype.add = function(t, e) { this._fixedColumn[t] || (this._widths[t] += e) } , t.prototype.addLastNotFixed = function(t) { for (var e = this._fixedColumn.length - 1; 0 != e; e--) if (!this._fixedColumn[e]) return void (this._widths[e] += t) } , t.prototype.subtract = function(t, e) { this._fixedColumn[t] || (this._widths[t] -= e) } , t.prototype.setWidth = function(t, e) { this._fixedColumn[t] || (this._widths[t] = e) } , t.prototype.getFixed = function(t) { return this._fixedColumn[t] } , Object.defineProperty(t.prototype, "length", { get: function() { return this._widths.length }, enumerable: !0, configurable: !0 }), t.prototype.getCountNotFixedColumn = function() { for (var t = 0, e = 0; e < this._fixedColumn.length; e++) this._fixedColumn[e] || t++; return t } , t.prototype.getWidth = function(t) { return this._widths[t] } , t.prototype.normalize = function() { for (var t = 0, e = 0, r = 0; r < this._widths.length; r++) { t += +this._widths[r]; var i = Math.round2(t - e, 2); this._widths[r] = +i, e += i } } , t }(); t.StiColumnSize = e }(e = t.Table || (t.Table = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.StiString , o = t.Base.JsonReportObject.IStiJsonReportObject , a = t.Base.Localization.StiLocalization , s = t.System.Collections.Hashtable , l = t.System.Drawing.Rectangle , u = t.System.Drawing.Size , c = t.System.Enum , m = t.System.Drawing.Color , p = t.Base.Drawing.StiSolidBrush , h = t.Base.Drawing.StiBrush , d = t.Base.Drawing.StiBorder , g = t.Base.Drawing.StiBorderSides , f = t.Base.Drawing.StiPenStyle , S = t.System.Drawing.Font , A = t.Base.Drawing.StiEmptyBrush , y = function(y) { function b(t) { void 0 === t && (t = l.empty); var e = y.call(this, t) || this; return e.isConverted = !1, e._dockableTable = !0, e._autoWidth = i.StiTableAutoWidth.None, e._autoWidthType = i.StiTableAutoWidthType.None, e._rowCount = 5, e._columnCount = 5, e._footerRowsCount = 0, e._headerRowsCount = 0, e._headerPrintOn = r.StiPrintOnType.AllPages, e._headerCanGrow = !0, e._headerCanShrink = !1, e._headerCanBreak = !1, e._headerPrintAtBottom = !1, e._headerPrintIfEmpty = !0, e._headerPrintOnAllPages = !0, e._headerPrintOnEvenOddPages = r.StiPrintOnEvenOddPagesType.Ignore, e._footerPrintOn = r.StiPrintOnType.AllPages, e._footerCanGrow = !0, e._footerCanShrink = !1, e._footerCanBreak = !1, e._footerPrintAtBottom = !1, e._footerPrintIfEmpty = !0, e._footerPrintOnAllPages = !1, e._footerPrintOnEvenOddPages = r.StiPrintOnEvenOddPagesType.Ignore, e._numberID = 0, e.defaultClientRectangle = new l(0,0,300,120), e._tableStyle = i.StiTableStyle.StyleNone, e._rowCount = e._columnCount = 5, e.placeOnToolbox = !1, e } return __extends(b, y), b.prototype.implements = function() { return b.ImplementsStiTable || (b.ImplementsStiTable = y.prototype.implements.call(this).concat([i.IStiTableComponent, o])), b.ImplementsStiTable } , b.prototype.saveToJsonObject = function(t) { var e = y.prototype.saveToJsonObject.call(this, t); return e.removeProperty("Columns"), e.removeProperty("ColumnWidth"), e.removeProperty("ColumnGaps"), e.removeProperty("MinRowsInColumn"), e.addPropertyBool("DockableTable", this.dockableTable, !0), e.addPropertyEnum("AutoWidth", i.StiTableAutoWidth, this.autoWidth, i.StiTableAutoWidth.None), e.addPropertyEnum("AutoWidthType", i.StiTableAutoWidthType, this.autoWidthType, i.StiTableAutoWidthType.None), e.addPropertyNumber("RowCount", this.rowCount, 5), e.addPropertyNumber("ColumnCount", this.columnCount, 5), e.addPropertyNumber("FooterRowsCount", this.footerRowsCount), e.addPropertyNumber("HeaderRowsCount", this.headerRowsCount), e.addPropertyEnum("HeaderPrintOn", r.StiPrintOnType, this.headerPrintOn, r.StiPrintOnType.AllPages), e.addPropertyBool("HeaderCanGrow", this.headerCanGrow, !0), e.addPropertyBool("HeaderCanShrink", this.headerCanShrink), e.addPropertyBool("HeaderCanBreak", this.headerCanBreak), e.addPropertyBool("HeaderPrintAtBottom", this.headerPrintAtBottom), e.addPropertyBool("HeaderPrintIfEmpty", this.headerPrintIfEmpty, !0), e.addPropertyBool("HeaderPrintOnAllPages", this.headerPrintOnAllPages, !0), e.addPropertyEnum("HeaderPrintOnEvenOddPages", r.StiPrintOnEvenOddPagesType, this.headerPrintOnEvenOddPages, r.StiPrintOnEvenOddPagesType.Ignore), e.addPropertyEnum("FooterPrintOn", r.StiPrintOnType, this.footerPrintOn, r.StiPrintOnType.AllPages), e.addPropertyBool("FooterCanGrow", this.footerCanGrow, !0), e.addPropertyBool("FooterCanShrink", this.footerCanShrink), e.addPropertyBool("FooterCanBreak", this.footerCanBreak), e.addPropertyBool("FooterPrintAtBottom", this.footerPrintAtBottom), e.addPropertyBool("FooterPrintIfEmpty", this.footerPrintIfEmpty, !0), e.addPropertyBool("FooterPrintOnAllPages", this.footerPrintOnAllPages), e.addPropertyEnum("FooterPrintOnEvenOddPages", r.StiPrintOnEvenOddPagesType, this.footerPrintOnEvenOddPages, r.StiPrintOnEvenOddPagesType.Ignore), e.addPropertyNumber("NumberID", this.numberID), e.addPropertyEnum("TableStyle", i.StiTableStyle, this.tableStyle, i.StiTableStyle.StyleNone), e } , b.prototype.loadFromJsonObject = function(t) { var e, n; y.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "DockableTable": this._dockableTable = s.value.stimulsoft.toBoolean(); break; case "AutoWidth": this._autoWidth = c.parse(i.StiTableAutoWidth, s.value); break; case "AutoWidthType": this._autoWidthType = c.parse(i.StiTableAutoWidthType, s.value); break; case "RowCount": this._rowCount = s.value.stimulsoft.toNumber(); break; case "ColumnCount": this._columnCount = s.value.stimulsoft.toNumber(); break; case "FooterRowsCount": this._footerRowsCount = s.value.stimulsoft.toNumber(); break; case "HeaderRowsCount": this._headerRowsCount = s.value.stimulsoft.toNumber(); break; case "HeaderPrintOn": this._headerPrintOn = c.parse(r.StiPrintOnType, s.value); break; case "HeaderCanGrow": this._headerCanGrow = s.value.stimulsoft.toBoolean(); break; case "HeaderCanShrink": this._headerCanShrink = s.value.stimulsoft.toBoolean(); break; case "HeaderCanBreak": this._headerCanBreak = s.value.stimulsoft.toBoolean(); break; case "HeaderPrintAtBottom": this._headerPrintAtBottom = s.value.stimulsoft.toBoolean(); break; case "HeaderPrintIfEmpty": this._headerPrintIfEmpty = s.value.stimulsoft.toBoolean(); break; case "HeaderPrintOnAllPages": this._headerPrintOnAllPages = s.value.stimulsoft.toBoolean(); break; case "HeaderPrintOnEvenOddPages": this._headerPrintOnEvenOddPages = c.parse(r.StiPrintOnEvenOddPagesType, s.value); break; case "FooterPrintOn": this._footerPrintOn = c.parse(r.StiPrintOnType, s.value); break; case "FooterCanGrow": this._footerCanGrow = s.value.stimulsoft.toBoolean(); break; case "FooterCanShrink": this._footerCanShrink = s.value.stimulsoft.toBoolean(); break; case "FooterCanBreak": this._footerCanBreak = s.value.stimulsoft.toBoolean(); break; case "FooterPrintAtBottom": this._footerPrintAtBottom = s.value.stimulsoft.toBoolean(); break; case "FooterPrintIfEmpty": this._footerPrintIfEmpty = s.value.stimulsoft.toBoolean(); break; case "FooterPrintOnAllPages": this._footerPrintOnAllPages = s.value.stimulsoft.toBoolean(); break; case "FooterPrintOnEvenOddPages": this._footerPrintOnEvenOddPages = c.parse(r.StiPrintOnEvenOddPagesType, s.value); break; case "NumberID": this._numberID = s.value.stimulsoft.toNumber(); break; case "TableStyle": this._tableStyle = c.parse(i.StiTableStyle, s.value); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , b.prototype.loadFromXml = function(t, e) { y.prototype.loadFromXml.call(this, t, e); for (var n = 0; n < t.childNodes.length; n++) { var o = t.childNodes[n]; switch (o.nodeName) { case "DockableTable": this._dockableTable = o.textContent.stimulsoft.toBoolean(); break; case "AutoWidth": this._autoWidth = c.parse(i.StiTableAutoWidth, o.textContent); break; case "AutoWidthType": this._autoWidthType = c.parse(i.StiTableAutoWidthType, o.textContent); break; case "RowCount": this._rowCount = o.textContent.stimulsoft.toNumber(); break; case "ColumnCount": this._columnCount = o.textContent.stimulsoft.toNumber(); break; case "FooterRowsCount": this._footerRowsCount = o.textContent.stimulsoft.toNumber(); break; case "HeaderRowsCount": this._headerRowsCount = o.textContent.stimulsoft.toNumber(); break; case "HeaderPrintOn": this._headerPrintOn = c.parse(r.StiPrintOnType, o.textContent); break; case "HeaderCanGrow": this._headerCanGrow = o.textContent.stimulsoft.toBoolean(); break; case "HeaderCanShrink": this._headerCanShrink = o.textContent.stimulsoft.toBoolean(); break; case "HeaderCanBreak": this._headerCanBreak = o.textContent.stimulsoft.toBoolean(); break; case "HeaderPrintAtBottom": this._headerPrintAtBottom = o.textContent.stimulsoft.toBoolean(); break; case "HeaderPrintIfEmpty": this._headerPrintIfEmpty = o.textContent.stimulsoft.toBoolean(); break; case "HeaderPrintOnAllPages": this._headerPrintOnAllPages = o.textContent.stimulsoft.toBoolean(); break; case "HeaderPrintOnEvenOddPages": this._headerPrintOnEvenOddPages = c.parse(r.StiPrintOnEvenOddPagesType, o.textContent); break; case "FooterPrintOn": this._footerPrintOn = c.parse(r.StiPrintOnType, o.textContent); break; case "FooterCanGrow": this._footerCanGrow = o.textContent.stimulsoft.toBoolean(); break; case "FooterCanShrink": this._footerCanShrink = o.textContent.stimulsoft.toBoolean(); break; case "FooterCanBreak": this._footerCanBreak = o.textContent.stimulsoft.toBoolean(); break; case "FooterPrintAtBottom": this._footerPrintAtBottom = o.textContent.stimulsoft.toBoolean(); break; case "FooterPrintIfEmpty": this._footerPrintIfEmpty = o.textContent.stimulsoft.toBoolean(); break; case "FooterPrintOnAllPages": this._footerPrintOnAllPages = o.textContent.stimulsoft.toBoolean(); break; case "FooterPrintOnEvenOddPages": this._footerPrintOnEvenOddPages = c.parse(r.StiPrintOnEvenOddPagesType, o.textContent); break; case "NumberID": this._numberID = o.textContent.stimulsoft.toNumber(); break; case "TableStyle": this._tableStyle = c.parse(i.StiTableStyle, o.textContent); break } } } , Object.defineProperty(b.prototype, "componentId", { get: function() { return e.StiComponentId.StiTable }, enumerable: !0, configurable: !0 }), b.prototype.clone = function(t, e) { var n, o, a = y.prototype.clone.call(this, t, !1); if (a._numberID = this._numberID, a._rowCount = this._rowCount, a._columnCount = this._columnCount, a._footerRowsCount = this._footerRowsCount, a._headerRowsCount = this._headerRowsCount, a._tableStyle = this._tableStyle, a._dockableTable = this._dockableTable, a._headerPrintOn = this._headerPrintOn, a._headerCanGrow = this._headerCanGrow, a._headerCanShrink = this._headerCanShrink, a._headerCanBreak = this._headerCanBreak, a._headerPrintAtBottom = this._headerPrintAtBottom, a._headerPrintIfEmpty = this._headerPrintIfEmpty, a._headerPrintOnAllPages = this._headerPrintOnAllPages, a._headerPrintOnEvenOddPages = this._headerPrintOnEvenOddPages, a._footerPrintOn = this._footerPrintOn, a._footerCanGrow = this._footerCanGrow, a._footerCanShrink = this._footerCanShrink, a._footerCanBreak = this._footerCanBreak, a._footerPrintAtBottom = this._footerPrintAtBottom, a._footerPrintIfEmpty = this._footerPrintIfEmpty, a._footerPrintOnAllPages = this._footerPrintOnAllPages, a._footerPrintOnEvenOddPages = this._footerPrintOnEvenOddPages, a._autoWidth = this._autoWidth, a._autoWidthType = this._autoWidthType, a.components = new r.StiComponentsCollection(a), e) try { for (var s = __values(this.components.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; switch (u.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: var c = u.clone(!0); c.parent = a, a.components.add(c); break; case i.StiTablceCellType.Image: var m = u.clone(!0); m.parent = a, a.components.add(m); break; case i.StiTablceCellType.CheckBox: var p = u.clone(!0); p.parent = a, a.components.add(p); break; case i.StiTablceCellType.RichText: var h = u.clone(!0); h.parent = a, a.components.add(h); break } } } catch (t) { n = { error: t } } finally { try { l && !l.done && (o = s.return) && o.call(s) } finally { if (n) throw n.error } } return a } , b.prototype.convert = function(t, e, r) { void 0 === r && (r = !1), y.prototype.convert.call(this, t, e, r), this.distributeRows(), this.distributeColumns() } , Object.defineProperty(b.prototype, "canGrow", { get: function() { return y.prototype.getCanGrow.call(this) }, set: function(t) { y.prototype.setCanGrow.call(this, t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "localizedName", { get: function() { return a.get("Components", "StiTable") }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "localizedCategory", { get: function() { return a.get("Report", "Bands") }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "dockableTable", { get: function() { return this._dockableTable }, set: function(t) { this._dockableTable = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "autoWidth", { get: function() { return this._autoWidth }, set: function(t) { this._autoWidth = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "autoWidthType", { get: function() { return this._autoWidthType }, set: function(t) { this._autoWidthType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "rowCount", { get: function() { return this._rowCount }, set: function(t) { if (t > 0) { var e = this._rowCount; this._rowCount = t, this.changeRowCount(e, t) } }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "columnCount", { get: function() { return this._columnCount }, set: function(t) { if (t > 0) { var e = this._columnCount; this._columnCount = t, this.changeColumnCount(e, t) } }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "footerRowsCount", { get: function() { return this._footerRowsCount }, set: function(t) { (!this.isDesigning || t <= this._rowCount - this._headerRowsCount) && (this._footerRowsCount = t, this.refreshTableStyle()) }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerRowsCount", { get: function() { return this._headerRowsCount }, set: function(t) { (!this.isDesigning || t <= this._rowCount - this._footerRowsCount) && (this._headerRowsCount = t, this.refreshTableStyle()) }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "defaultHeightCell", { get: function() { if (null != this.page && null != this.page.report) switch (this.page.report.reportUnit) { case e.StiReportUnitType.Centimeters: return .8; case e.StiReportUnitType.HundredthsOfInch: return 30; case e.StiReportUnitType.Inches: return .3; case e.StiReportUnitType.Millimeters: return 8 } return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerPrintOn", { get: function() { return this._headerPrintOn }, set: function(t) { this._headerPrintOn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerCanGrow", { get: function() { return this._headerCanGrow }, set: function(t) { this._headerCanGrow = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerCanShrink", { get: function() { return this._headerCanShrink }, set: function(t) { this._headerCanShrink = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerCanBreak", { get: function() { return this._headerCanBreak }, set: function(t) { this._headerCanBreak = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerPrintAtBottom", { get: function() { return this._headerPrintAtBottom }, set: function(t) { this._headerPrintAtBottom = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerPrintIfEmpty", { get: function() { return this._headerPrintIfEmpty }, set: function(t) { this._headerPrintIfEmpty = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerPrintOnAllPages", { get: function() { return this._headerPrintOnAllPages }, set: function(t) { this._headerPrintOnAllPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerPrintOnEvenOddPages", { get: function() { return this._headerPrintOnEvenOddPages }, set: function(t) { this._headerPrintOnEvenOddPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "footerPrintOn", { get: function() { return this._footerPrintOn }, set: function(t) { this._footerPrintOn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "footerCanGrow", { get: function() { return this._footerCanGrow }, set: function(t) { this._footerCanGrow = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "footerCanShrink", { get: function() { return this._footerCanShrink }, set: function(t) { this._footerCanShrink = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "footerCanBreak", { get: function() { return this._footerCanBreak }, set: function(t) { this._footerCanBreak = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "footerPrintAtBottom", { get: function() { return this._footerPrintAtBottom }, set: function(t) { this._footerPrintAtBottom = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "footerPrintIfEmpty", { get: function() { return this._footerPrintIfEmpty }, set: function(t) { this._footerPrintIfEmpty = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "footerPrintOnAllPages", { get: function() { return this._footerPrintOnAllPages }, set: function(t) { this._footerPrintOnAllPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "footerPrintOnEvenOddPages", { get: function() { return this._footerPrintOnEvenOddPages }, set: function(t) { this._footerPrintOnEvenOddPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "numberID", { get: function() { return this._numberID }, set: function(t) { this._numberID = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "columns", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "columnWidth", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "columnGaps", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "minRowsInColumn", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "minHeight", { get: function() { return y.prototype.getMinHeight.call(this) }, set: function(t) { y.prototype.setMinHeight.call(this, t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "maxHeight", { get: function() { return y.prototype.getMaxHeight.call(this) }, set: function(t) { y.prototype.setMaxHeight.call(this, t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "minSize", { get: function() { return new u(0,0) }, set: function(t) { y.prototype.setMinSize.call(this, t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "rightToLeft", { get: function() { return y.prototype.getRightToLeft.call(this) }, set: function(t) { y.prototype.setRightToLeft.call(this, t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "width", { get: function() { return y.prototype.getWidth.call(this) }, set: function(t) { var e = y.prototype.getWidth.call(this); if (t == y.prototype.getWidth.call(this)) return; y.prototype.setWidth.call(this, t), t > 0 && t != e && this.resizeWidthCell(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "height", { get: function() { return y.prototype.getHeight.call(this) }, set: function(t) { if (y.prototype.setHeight.call(this, t), 0 == this.components.count && null != this.page) return this.selectAll(), void this.createCell() }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "dockable", { get: function() { return this.dockableTable }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerStartColor", { get: function() { return m.fromArgb(144, 192, 241) }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "headerEndColor", { get: function() { return m.fromArgb(144, 192, 241) }, enumerable: !0, configurable: !0 }), b.prototype.changeGrowToHeightAtCell = function(t) { var e = this.components.indexOf(t); if (-1 == e) return; for (var r = Math.trunc(e / this.columnCount), i = r * this.columnCount, n = !1, o = i; o < i + this.columnCount; o++) { var a = this.components.getByIndex(o); if (a.canGrow) { n || (n = !0); break } } for (var o = i; o < i + this.columnCount; o++) { var a = this.components.getByIndex(o); a.growToHeight = n } } , Object.defineProperty(b.prototype, "tableStyle", { get: function() { return this._tableStyle }, set: function(t) { this._tableStyle != t && (this._tableStyle = t, 0 != +this._tableStyle && this.refreshTableStyle()) }, enumerable: !0, configurable: !0 }), b.prototype.refreshTableStyle = function() { switch (this._tableStyle) { case i.StiTableStyle.StyleNone: break; case i.StiTableStyle.Style11: this.applyStyle1(w.getStyle(i.StiTableStyle.Style11)); break; case i.StiTableStyle.Style12: this.applyStyle1(w.getStyle(i.StiTableStyle.Style12)); break; case i.StiTableStyle.Style13: this.applyStyle1(w.getStyle(i.StiTableStyle.Style13)); break; case i.StiTableStyle.Style14: this.applyStyle1(w.getStyle(i.StiTableStyle.Style14)); break; case i.StiTableStyle.Style15: this.applyStyle1(w.getStyle(i.StiTableStyle.Style15)); break; case i.StiTableStyle.Style16: this.applyStyle1(w.getStyle(i.StiTableStyle.Style16)); break; case i.StiTableStyle.Style17: this.applyStyle1(w.getStyle(i.StiTableStyle.Style17)); break; case i.StiTableStyle.Style18: this.applyStyle1(w.getStyle(i.StiTableStyle.Style18)); break; case i.StiTableStyle.Style19: this.applyStyle1(w.getStyle(i.StiTableStyle.Style19)); break; case i.StiTableStyle.Style31: this.applyStyle3(w.getStyle(i.StiTableStyle.Style31)); break; case i.StiTableStyle.Style32: this.applyStyle3(w.getStyle(i.StiTableStyle.Style32)); break; case i.StiTableStyle.Style33: this.applyStyle3(w.getStyle(i.StiTableStyle.Style33)); break; case i.StiTableStyle.Style34: this.applyStyle3(w.getStyle(i.StiTableStyle.Style34)); break; case i.StiTableStyle.Style35: this.applyStyle3(w.getStyle(i.StiTableStyle.Style35)); break; case i.StiTableStyle.Style36: this.applyStyle3(w.getStyle(i.StiTableStyle.Style36)); break; case i.StiTableStyle.Style37: this.applyStyle3(w.getStyle(i.StiTableStyle.Style37)); break; case i.StiTableStyle.Style38: this.applyStyle3(w.getStyle(i.StiTableStyle.Style38)); break; case i.StiTableStyle.Style39: this.applyStyle3(w.getStyle(i.StiTableStyle.Style39)); break; case i.StiTableStyle.Style41: this.applyStyle4(w.getStyle(i.StiTableStyle.Style41)); break; case i.StiTableStyle.Style42: this.applyStyle4(w.getStyle(i.StiTableStyle.Style42)); break; case i.StiTableStyle.Style43: this.applyStyle4(w.getStyle(i.StiTableStyle.Style43)); break; case i.StiTableStyle.Style44: this.applyStyle4(w.getStyle(i.StiTableStyle.Style44)); break; case i.StiTableStyle.Style45: this.applyStyle4(w.getStyle(i.StiTableStyle.Style45)); break; case i.StiTableStyle.Style46: this.applyStyle4(w.getStyle(i.StiTableStyle.Style46)); break; case i.StiTableStyle.Style47: this.applyStyle4(w.getStyle(i.StiTableStyle.Style47)); break; case i.StiTableStyle.Style48: this.applyStyle4(w.getStyle(i.StiTableStyle.Style48)); break; case i.StiTableStyle.Style49: this.applyStyle4(w.getStyle(i.StiTableStyle.Style49)); break; case i.StiTableStyle.Style51: this.applyStyle5(w.getStyle(i.StiTableStyle.Style51)); break; case i.StiTableStyle.Style52: this.applyStyle5(w.getStyle(i.StiTableStyle.Style52)); break; case i.StiTableStyle.Style53: this.applyStyle5(w.getStyle(i.StiTableStyle.Style53)); break; case i.StiTableStyle.Style54: this.applyStyle5(w.getStyle(i.StiTableStyle.Style54)); break; case i.StiTableStyle.Style55: this.applyStyle5(w.getStyle(i.StiTableStyle.Style55)); break; case i.StiTableStyle.Style56: this.applyStyle5(w.getStyle(i.StiTableStyle.Style56)); break; case i.StiTableStyle.Style57: this.applyStyle5(w.getStyle(i.StiTableStyle.Style57)); break; case i.StiTableStyle.Style58: this.applyStyle5(w.getStyle(i.StiTableStyle.Style58)); break; case i.StiTableStyle.Style59: this.applyStyle5(w.getStyle(i.StiTableStyle.Style59)); break } } , b.prototype.applyStyleNone = function() { var e, r; if (0 == this.components.count) return; var n = w.getStyle(i.StiTableStyle.StyleNone); try { for (var o = __values(this.components.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: s.border = new d(g.All,n.gridColor,1,f.Solid,!1,4,new p(n.gridColor)), s.brush = new p(t.System.Drawing.Color.transparent), s.textBrush = new p(n.dataTextColor); break; case i.StiTablceCellType.Image: s.stimulsoft.as(i.StiTableCellImage).border = new d(g.All,n.gridColor,1,f.Solid,!1,4,new p(n.gridColor)), s.stimulsoft.as(i.StiTableCellImage).brush = new p(t.System.Drawing.Color.transparent); break; case i.StiTablceCellType.CheckBox: s.stimulsoft.as(i.StiTableCellCheckBox).border = new d(g.All,n.gridColor,1,f.Solid,!1,4,new p(n.gridColor)), s.stimulsoft.as(i.StiTableCellCheckBox).brush = new p(t.System.Drawing.Color.transparent); break; case i.StiTablceCellType.RichText: s.stimulsoft.as(i.StiTableCellRichText).border = new d(g.All,n.gridColor,1,f.Solid,!1,4,new p(n.gridColor)), s.stimulsoft.as(i.StiTableCellRichText).backColor = p.toColor(new p(t.System.Drawing.Color.transparent)); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } } , b.prototype.applyStyleNoneForCell = function(e) { var r = w.getStyle(i.StiTableStyle.StyleNone); switch (e.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: e.border = new d(g.All,r.gridColor,1,f.Solid,!1,4,new p(r.gridColor)), e.brush = new p(t.System.Drawing.Color.transparent), e.textBrush = new p(r.dataTextColor); break; case i.StiTablceCellType.Image: e.stimulsoft.as(i.StiTableCellImage).border = new d(g.All,r.gridColor,1,f.Solid,!1,4,new p(r.gridColor)), e.stimulsoft.as(i.StiTableCellImage).brush = new p(t.System.Drawing.Color.transparent); break; case i.StiTablceCellType.CheckBox: e.stimulsoft.as(i.StiTableCellCheckBox).border = new d(g.All,r.gridColor,1,f.Solid,!1,4,new p(r.gridColor)), e.stimulsoft.as(i.StiTableCellCheckBox).brush = new p(t.System.Drawing.Color.transparent); break; case i.StiTablceCellType.RichText: e.stimulsoft.as(i.StiTableCellRichText).border = new d(g.All,r.gridColor,1,f.Solid,!1,4,new p(r.gridColor)), e.stimulsoft.as(i.StiTableCellRichText).backColor = p.toColor(new p(t.System.Drawing.Color.transparent)); break } } , b.prototype.applyStyle1 = function(e) { var r, n; if (0 == this.components.count) return; try { for (var o = __values(this.components.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: s.border = new d(g.All,e.gridColor,1,f.Solid,!1,4,new p(e.gridColor)), s.brush = new p(t.System.Drawing.Color.transparent), s.textBrush = new p(e.dataTextColor); break; case i.StiTablceCellType.Image: s.stimulsoft.as(i.StiTableCellImage).border = new d(g.All,e.gridColor,1,f.Solid,!1,4,new p(e.gridColor)), s.stimulsoft.as(i.StiTableCellImage).brush = new p(t.System.Drawing.Color.transparent); break; case i.StiTablceCellType.CheckBox: s.stimulsoft.as(i.StiTableCellCheckBox).border = new d(g.All,e.gridColor,1,f.Solid,!1,4,new p(e.gridColor)), s.stimulsoft.as(i.StiTableCellCheckBox).brush = new p(t.System.Drawing.Color.transparent); break; case i.StiTablceCellType.RichText: s.stimulsoft.as(i.StiTableCellRichText).border = new d(g.All,e.gridColor,1,f.Solid,!1,4,new p(e.gridColor)), s.stimulsoft.as(i.StiTableCellRichText).backColor = p.toColor(new p(t.System.Drawing.Color.transparent)); break } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , b.prototype.applyStyle3 = function(t) { if (0 == this.components.count) return; var e = new d(g.All,t.headerColor,1,f.Solid,!1,4,new p(t.headerColor)) , r = new p(t.headerColor) , n = new p(t.headerFooterTextColor) , o = new d(g.None | g.Top | g.Bottom,t.headerColor,1,f.Solid,!1,4,new p(t.headerColor)) , a = new d(g.None | g.Top | g.Left | g.Bottom,t.headerColor,1,f.Solid,!1,4,new p(t.headerColor)) , s = new d(g.None | g.Top | g.Right | g.Bottom,t.headerColor,1,f.Solid,!1,4,new p(t.headerColor)) , l = new p(t.dataColor) , u = new p(t.dataTextColor) , c = 0; if (this._headerRowsCount > 0) { for (var m = 0, S = 0; S < this._headerRowsCount; S++) for (var A = 0; A < this._columnCount; A++) { var y = this.components.getByIndex(m); if (null != y) switch (y.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: y.border = e.clone(), y.brush = r.clone(), y.textBrush = n.clone(); break; case i.StiTablceCellType.Image: y.border = e.clone(), y.brush = r.clone(); break; case i.StiTablceCellType.CheckBox: y.border = e.clone(), y.brush = r.clone(); break; case i.StiTablceCellType.RichText: y.border = e.clone(), y.backColor = p.toColor(r.clone()); break } m++ } c = this._headerRowsCount } for (var w = this._rowCount - c, b = c * this._columnCount, S = c; S < this._rowCount; S++) for (var A = 0; A < this._columnCount; A++) { var v = this.components.getByIndex(b); if (null != v) switch (v.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: 0 == A ? v.border = a.clone() : A == this._columnCount - 1 ? v.border = s.clone() : v.border = o.clone(), v.brush = l.clone(), v.textBrush = u.clone(); break; case i.StiTablceCellType.Image: 0 == A ? v.stimulsoft.as(i.StiTableCellImage).border = a.clone() : A == this._columnCount - 1 ? v.stimulsoft.as(i.StiTableCellImage).border = s.clone() : v.stimulsoft.as(i.StiTableCellImage).border = o.clone(), v.stimulsoft.as(i.StiTableCellImage).brush = l.clone(); break; case i.StiTablceCellType.CheckBox: 0 == A ? v.stimulsoft.as(i.StiTableCellCheckBox).border = a.clone() : A == this._columnCount - 1 ? v.stimulsoft.as(i.StiTableCellCheckBox).border = s.clone() : v.stimulsoft.as(i.StiTableCellCheckBox).border = o.clone(), v.stimulsoft.as(i.StiTableCellCheckBox).brush = l.clone(); break; case i.StiTablceCellType.RichText: 0 == A ? v.stimulsoft.as(i.StiTableCellRichText).border = a.clone() : A == this._columnCount - 1 ? v.stimulsoft.as(i.StiTableCellRichText).border = s.clone() : v.stimulsoft.as(i.StiTableCellRichText).border = o.clone(), v.stimulsoft.as(i.StiTableCellRichText).backColor = h.toColor(l.clone()); break } b++ } } , b.prototype.applyStyle4 = function(t) { if (0 == this.components.count) return; var e = new d(g.All,t.footerColor,1,f.Solid,!1,4,new p(t.footerColor)) , r = new p(t.footerColor) , n = new p(t.headerFooterTextColor) , o = new d(g.None | g.Top | g.Bottom,t.footerColor,1,f.Solid,!1,4,new p(t.footerColor)) , a = new d(g.None | g.Top | g.Left | g.Bottom,t.footerColor,1,f.Solid,!1,4,new p(t.footerColor)) , s = new d(g.None | g.Top | g.Right | g.Bottom,t.footerColor,1,f.Solid,!1,4,new p(t.footerColor)) , l = new p(t.dataColor) , u = new p(t.dataTextColor); if (this._footerRowsCount > 0) for (var c = this._rowCount - this._footerRowsCount, m = c * this._columnCount, S = c; S < this._rowCount; S++) for (var A = 0; A < this._columnCount; A++) { var y = this.components.getByIndex(m); if (null != y) switch (y.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: y.border = e.clone(), y.brush = r.clone(), y.textBrush = n.clone(); break; case i.StiTablceCellType.Image: y.stimulsoft.as(i.StiTableCellImage).border = e.clone(), y.stimulsoft.as(i.StiTableCellImage).brush = r.clone(); break; case i.StiTablceCellType.CheckBox: y.stimulsoft.as(i.StiTableCellCheckBox).border = e.clone(), y.stimulsoft.as(i.StiTableCellCheckBox).brush = r.clone(); break; case i.StiTablceCellType.RichText: y.stimulsoft.as(i.StiTableCellRichText).border = e.clone(), y.stimulsoft.as(i.StiTableCellRichText).backColor = h.toColor(r.clone()); break } m++ } for (var w = 0, S = 0; S < this._rowCount - this._footerRowsCount; S++) for (var A = 0; A < this._columnCount; A++) { var b = this.components.getByIndex(w); if (null != b) switch (b.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: 0 == A ? b.border = a.clone() : A == this._columnCount - 1 ? b.border = s.clone() : b.border = o.clone(), b.brush = l.clone(), b.textBrush = u.clone(); break; case i.StiTablceCellType.Image: 0 == A ? b.stimulsoft.as(i.StiTableCellImage).border = a.clone() : A == this._columnCount - 1 ? b.stimulsoft.as(i.StiTableCellImage).border = s.clone() : b.stimulsoft.as(i.StiTableCellImage).border = o.clone(), b.stimulsoft.as(i.StiTableCellImage).brush = l.clone(); break; case i.StiTablceCellType.CheckBox: 0 == A ? b.stimulsoft.as(i.StiTableCellCheckBox).border = a.clone() : A == this._columnCount - 1 ? b.stimulsoft.as(i.StiTableCellCheckBox).border = s.clone() : b.stimulsoft.as(i.StiTableCellCheckBox).border = o.clone(), b.stimulsoft.as(i.StiTableCellCheckBox).brush = l.clone(); break; case i.StiTablceCellType.RichText: 0 == A ? b.stimulsoft.as(i.StiTableCellRichText).border = a.clone() : A == this._columnCount - 1 ? b.stimulsoft.as(i.StiTableCellRichText).border = s.clone() : b.stimulsoft.as(i.StiTableCellRichText).border = o.clone(), b.stimulsoft.as(i.StiTableCellRichText).backColor = h.toColor(l.clone()); break } w++ } } , b.prototype.applyStyle5 = function(t) { if (0 == this.components.count) return; var e = new d(g.All,t.headerColor,1,f.Solid,!1,4,new p(t.headerColor)) , r = new p(t.headerColor) , n = new p(t.headerFooterTextColor) , o = new d(g.None | g.Top | g.Bottom,t.headerColor,1,f.Solid,!1,4,new p(t.headerColor)) , a = new d(g.None | g.Top | g.Left | g.Bottom,t.headerColor,1,f.Solid,!1,4,new p(t.headerColor)) , s = new d(g.None | g.Top | g.Right | g.Bottom,t.headerColor,1,f.Solid,!1,4,new p(t.headerColor)) , l = new p(t.dataColor) , u = new p(t.dataTextColor) , c = 0; if (this._headerRowsCount > 0) { for (var m = 0, S = 0; S < this._headerRowsCount; S++) for (var A = 0; A < this._columnCount; A++) { var y = this.components.getByIndex(m); if (null != y) switch (y.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: y.border = e.clone(), y.brush = r.clone(), y.textBrush = n.clone(); break; case i.StiTablceCellType.Image: y.stimulsoft.as(i.StiTableCellImage).border = e.clone(), y.stimulsoft.as(i.StiTableCellImage).brush = r.clone(); break; case i.StiTablceCellType.CheckBox: y.stimulsoft.as(i.StiTableCellCheckBox).border = e.clone(), y.stimulsoft.as(i.StiTableCellCheckBox).brush = r.clone(); break; case i.StiTablceCellType.RichText: y.stimulsoft.as(i.StiTableCellRichText).border = e.clone(), y.stimulsoft.as(i.StiTableCellRichText).backColor = h.toColor(r.clone()); break } m++ } c = this._headerRowsCount } if (this.footerRowsCount > 0) for (var w = this._rowCount - this._footerRowsCount, m = w * this._columnCount, S = w; S < this._rowCount; S++) for (var A = 0; A < this._columnCount; A++) { var b = this.components.getByIndex(m); if (null != b) switch (b.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: b.border = e.clone(), b.brush = r.clone(), b.textBrush = n.clone(); break; case i.StiTablceCellType.Image: b.stimulsoft.as(i.StiTableCellImage).border = e.clone(), b.stimulsoft.as(i.StiTableCellImage).brush = r.clone(); break; case i.StiTablceCellType.CheckBox: b.stimulsoft.as(i.StiTableCellCheckBox).border = e.clone(), b.stimulsoft.as(i.StiTableCellCheckBox).brush = r.clone(); break; case i.StiTablceCellType.RichText: b.stimulsoft.as(i.StiTableCellRichText).border = e.clone(), b.stimulsoft.as(i.StiTableCellRichText).backColor = h.toColor(r.clone()); break } m++ } for (var v = c * this._columnCount, S = c; S < this._rowCount - this._footerRowsCount; S++) for (var A = 0; A < this._columnCount; A++) { var C = this.components.getByIndex(v); if (null != C) switch (C.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Text: 0 == A ? C.border = a.clone() : A == this._columnCount - 1 ? C.border = s.clone() : C.border = o.clone(), C.brush = l.clone(), C.textBrush = u.clone(); break; case i.StiTablceCellType.Image: 0 == A ? C.stimulsoft.as(i.StiTableCellImage).border = a.clone() : A == this._columnCount - 1 ? C.stimulsoft.as(i.StiTableCellImage).border = s.clone() : C.stimulsoft.as(i.StiTableCellImage).border = o.clone(), C.stimulsoft.as(i.StiTableCellImage).brush = l.clone(); break; case i.StiTablceCellType.CheckBox: 0 == A ? C.stimulsoft.as(i.StiTableCellCheckBox).border = a.clone() : A == this._columnCount - 1 ? C.stimulsoft.as(i.StiTableCellCheckBox).border = s.clone() : C.stimulsoft.as(i.StiTableCellCheckBox).border = o.clone(), C.stimulsoft.as(i.StiTableCellCheckBox).brush = l.clone(); break; case i.StiTablceCellType.RichText: 0 == A ? C.stimulsoft.as(i.StiTableCellRichText).border = a.clone() : A == this._columnCount - 1 ? C.stimulsoft.as(i.StiTableCellRichText).border = s.clone() : C.stimulsoft.as(i.StiTableCellRichText).border = o.clone(), C.stimulsoft.as(i.StiTableCellRichText).backColor = h.toColor(l.clone()); break } v++ } } , b.prototype.changeRowCount = function(t, e) { if (null == this.page || null == this.report) return; if (e > 0 && e != t) { e < this._headerRowsCount + this._footerRowsCount && (this._headerRowsCount = 0, this._footerRowsCount = 0), y.prototype.setMinHeight.call(this, this.page.gridSize * e); var r = e - t; r > 0 ? this.addNewRows(r) : this.deleteLastRows(Math.abs(r), t) } } , b.prototype.changeColumnCount = function(t, e) { if (null == this.page || null == this.report) return; if (e > 0 && e != t) { var r = e - t; r > 0 ? this.addTableNewColumns(r, t) : this.deleteTableColumns(Math.abs(r), t) } } , b.prototype.createJoin = function(t, e, r, n) { var o, a, s = t.ref, l = e.ref, u = r.ref, c = n.ref, m = this.getCountSelectedCells(); if (m <= 1 || null == this.page) return new Array; var p = new Array(m) , h = new Array(m) , d = 0 , g = 0 , f = 0; try { for (var S = __values(this.components.list), A = S.next(); !A.done; A = S.next()) { var y = A.value; y.isSelected && (p[f] = g, h[f] = d, f++, y.isSelected = !1), g++, g == this._columnCount && (g = 0, d++) } } catch (t) { o = { error: t } } finally { try { A && !A.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } var w, b, v, C, E = { ref: w }, B = { ref: b }, T = { ref: v }, I = { ref: C }; this.findLeftSelectedElement(p, E, T), this.findRightSelectedElement(h, B, I), w = E.ref, b = B.ref, v = T.ref, C = I.ref, u = v - w + 1, c = C - b + 1; for (var x = new Array((C - b + 1) * (v - w + 1)), F = 0, D = b; D <= C; D++) { for (var R = null, P = w; P <= v; P++) { var N = D * this._columnCount + P; if (R = this.components.getByIndex(N), R.stimulsoft.as(i.IStiTableCell).merged) { R.stimulsoft.as(i.IStiTableCell).getJoinComponentByGuid(R.stimulsoft.as(i.IStiTableCell).parentJoin).stimulsoft.as(i.IStiTableCell).join = !1 } x[F] = R.stimulsoft.as(i.IStiTableCell).id, D == b && (s += R.width), F++ } l += R.height } return t.ref = s, e.ref = l, r.ref = u, n.ref = c, x } , b.prototype.getCountSelectedCells = function() { var t, e, r = 0; try { for (var i = __values(this.components.list), n = i.next(); !n.done; n = i.next()) { n.value.isSelected && r++ } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } return r } , b.prototype.getCountJoinSelectedCells = function(t) { var e, r, n = t.ref, o = 0; n = 0; try { for (var a = __values(this.components.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; l.isSelected && (o++, l.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).merged && n++) } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (e) throw e.error } } return t.ref = n, o } , b.prototype.findLeftSelectedElement = function(t, e, r) { var i = e.ref , n = r.ref; i = t[0], n = t[0]; for (var o = 1; o < t.length; o++) i > t[o] && (i = t[o]), n < t[o] && (n = t[o]); e.ref = i, r.ref = n } , b.prototype.findRightSelectedElement = function(t, e, r) { var i = e.ref , n = r.ref; i = t[0], n = t[0]; for (var o = 1; o < t.length; o++) i > t[o] && (i = t[o]), n < t[o] && (n = t[o]); e.ref = i, r.ref = n } , b.prototype.changeTableCellContentInImage = function(t) { if (t.stimulsoft.is(i.StiTableCell)) { var e = t.stimulsoft.as(i.StiTableCell) , r = this.components.indexOf(e); if (-1 == r) return; var n = new i.StiTableCellImage; n.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.stimulsoft.is(i.StiTableCellCheckBox)) { var o = t.stimulsoft.as(i.StiTableCellCheckBox) , r = this.components.indexOf(o); if (-1 == r) return; var n = new i.StiTableCellImage; n.clientRectangle = o.clientRectangle, n.name = o.name, n.border = o.border, n.brush = o.brush, n.id = o.id, n.restrictions = o.restrictions, n.page = o.page, n.parent = o.parent, n.canGrow = o.canGrow, n.canShrink = o.canShrink, n.enabled = o.enabled, n.growToHeight = o.growToHeight, n.printable = o.printable, 0 != o.checkedValue.toString().length && (n.dataColumn = o.checkedValue.toString().substring(1, o.checkedValue.toString().length - 2)), o._join && (n._join = o._join, n._parentJoin = o._parentJoin, n._joinCells = o._joinCells), this.components.removeAt(r), this.components.insert(r, n), n.select(), o = null } else if (t.stimulsoft.is(i.StiTableCellRichText)) { var a = t.stimulsoft.as(i.StiTableCellRichText) , r = this.components.indexOf(a); if (-1 == r) return; var n = new i.StiTableCellImage; n.clientRectangle = a.clientRectangle, n.name = a.name, n.border = a.border, n.brush = new p(a.backColor), n.id = a.id, n.restrictions = a.restrictions, n.page = a.page, n.parent = a.parent, n.canGrow = a.canGrow, n.canShrink = a.canShrink, n.enabled = a.enabled, n.growToHeight = a.growToHeight, n.printable = a.printable, 0 != a.dataColumn.length && (n.dataColumn = a.dataColumn), a._join && (n._join = a._join, n._parentJoin = a._parentJoin, n._joinCells = a._joinCells), this.components.removeAt(r), this.components.insert(r, n), n.select(), a = null } return } , b.prototype.changeTableCellContentInText = function(t) { if (t.stimulsoft.is(i.StiTableCellImage)) { var e = t.stimulsoft.as(i.StiTableCellImage) , r = this.components.indexOf(e); if (-1 == r) return; var n = new i.StiTableCell; n.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.stimulsoft.is(i.StiTableCellCheckBox)) { var o = t.stimulsoft.as(i.StiTableCellCheckBox) , r = this.components.indexOf(o); if (-1 == r) return; var n = new i.StiTableCell; n.clientRectangle = o.clientRectangle, n.name = o.name, n.border = o.border, n.brush = o.brush, n.id = o.id, n.restrictions = o.restrictions, n.page = o.page, n.parent = o.parent, n.canGrow = o.canGrow, n.canShrink = o.canShrink, n.enabled = o.enabled, n.growToHeight = o.growToHeight, n.printable = o.printable, 0 != o.checked.toString().length && (n.text = o.checked.toString()), o.join && (n._join = o._join, n._parentJoin = o._parentJoin, n._joinCells = o._joinCells), this.components.removeAt(r), this.components.insert(r, n), n.select(), o = null } else if (t.stimulsoft.is(i.StiTableCellRichText)) { var a = t.stimulsoft.as(i.StiTableCellRichText) , r = this.components.indexOf(a); if (-1 == r) return; var n = new i.StiTableCell; n.clientRectangle = a.clientRectangle, n.name = a.name, n.border = a.border, n.brush = new p(a.backColor), n.id = a.id, n.restrictions = a.restrictions, n.page = a.page, n.parent = a.parent, n.canGrow = a.canGrow, n.canShrink = a.canShrink, n.enabled = a.enabled, n.growToHeight = a.growToHeight, n.printable = a.printable, 0 != a.dataColumn.length && (n.text = a.dataColumn), a._join && (n._join = a._join, n._parentJoin = a._parentJoin, n._joinCells = a._joinCells), this.components.removeAt(r), this.components.insert(r, n), n.select(), a = null } } , b.prototype.changeTableCellContentInCheckBox = function(t) { if (t.stimulsoft.is(i.StiTableCellImage)) { var e = t.stimulsoft.as(i.StiTableCellImage) , r = this.components.indexOf(e); if (-1 == r) return; var n = new i.StiTableCellCheckBox; n.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.stimulsoft.is(i.StiTableCellRichText)) { var o = t.stimulsoft.as(i.StiTableCellRichText) , r = this.components.indexOf(o); if (-1 == r) return; var n = new i.StiTableCellCheckBox; n.clientRectangle = o.clientRectangle, n.name = o.name, n.border = o.border, n.brush = new p(o.backColor), n.id = o.id, n.restrictions = o.restrictions, n.page = o.page, n.parent = o.parent, n.canGrow = o.canGrow, n.canShrink = o.canShrink, n.enabled = o.enabled, n.growToHeight = o.growToHeight, n.printable = o.printable, 0 != o.dataColumn.length && (n.checkedValue = "{" + o.dataColumn + "}"), o._join && (n._join = o._join, n._parentJoin = o._parentJoin, n._joinCells = o._joinCells), this.components.removeAt(r), this.components.insert(r, n), n.select(), o = null } else if (t.stimulsoft.is(i.StiTableCell)) { var a = t.stimulsoft.as(i.StiTableCell) , r = this.components.indexOf(a); if (-1 == r) return; var n = new i.StiTableCellCheckBox; n.clientRectangle = a.clientRectangle, n.name = a.name, n.border = a.border, n.brush = a.brush, n.id = a.id, n.restrictions = a.restrictions, n.page = a.page, n.parent = a.parent, n.canGrow = a.canGrow, n.canShrink = a.canShrink, n.enabled = a.enabled, n.growToHeight = a.growToHeight, n.printable = a.printable, 0 != a.text.length && (n.checkedValue = a.text), a._join && (n._join = a._join, n._parentJoin = a._parentJoin, n._joinCells = a._joinCells), this.components.removeAt(r), this.components.insert(r, n), n.select(), a = null } } , b.prototype.changeTableCellContentInRichText = function(t) { if (t.stimulsoft.is(i.StiTableCellImage)) { var e = t.stimulsoft.as(i.StiTableCellImage) , r = this.components.indexOf(e); if (-1 == r) return; var n = new i.StiTableCellRichText; n.clientRectangle = e.clientRectangle, n.name = e.name, n.border = e.border, n.backColor = h.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.stimulsoft.is(i.StiTableCellCheckBox)) { var o = t.stimulsoft.as(i.StiTableCellCheckBox) , r = this.components.indexOf(o); if (-1 == r) return; var n = new i.StiTableCellRichText; n.clientRectangle = o.clientRectangle, n.name = o.name, n.border = o.border, n.backColor = h.toColor(o.brush), n.id = o.id, n.restrictions = o.restrictions, n.page = o.page, n.parent = o.parent, n.canGrow = o.canGrow, n.canShrink = o.canShrink, n.enabled = o.enabled, n.growToHeight = o.growToHeight, n.printable = o.printable, 0 != o.checkedValue.toString().length && (n.dataColumn = o.checkedValue.toString().substring(1, o.checkedValue.toString().length - 2)), o._join && (n._join = o._join, n._parentJoin = o._parentJoin, n._joinCells = o._joinCells), this.components.removeAt(r), this.components.insert(r, n), n.select(), o = null } else if (t.stimulsoft.is(i.StiTableCell)) { var a = t.stimulsoft.as(i.StiTableCell) , r = this.components.indexOf(a); if (-1 == r) return; var n = new i.StiTableCellRichText; n.clientRectangle = a.clientRectangle, n.name = a.name, n.border = a.border, n.backColor = h.toColor(a.brush), n.id = a.id, n.restrictions = a.restrictions, n.page = a.page, n.parent = a.parent, n.canBreak = a.canBreak, n.canGrow = a.canGrow, n.canShrink = a.canShrink, n.enabled = a.enabled, n.growToHeight = a.growToHeight, n.printable = a.printable, 0 != a.text.length && (n.dataColumn = a.text.substring(1, a.text.length - 2)), a._join && (n._join = a._join, n._parentJoin = a._parentJoin, n._joinCells = a._joinCells), this.components.removeAt(r), this.components.insert(r, n), n.select(), a = null } } , b.prototype.getColumnForCell = function(t) { return 0 } , b.prototype.setCellID = function(t) { t.id = this._numberID, this._numberID++ } , b.prototype.createCell = function() { if (null == this.page || null == this.parent || null == this.page.report) return; var t = this.clientRectangle; if (t.width < 0) return; y.prototype.setHeight.call(this, this._rowCount * this.defaultHeightCell), t = this.clientRectangle, 0 != this.components.count && this.components.clear(); for (var e = t.width / this._columnCount, r = +e / this.page.gridSize, o = t.height / this._rowCount, a = +o / this.page.gridSize, s = r * this.page.gridSize, u = t.width - s * (this._columnCount - 1), c = a * this.page.gridSize, m = t.height - c * (this._rowCount - 1), p = 0, h = 1, d = 0; d < this._rowCount; d++) { for (var g = 0; g < this._columnCount; g++) { var f = new i.StiTableCell; this.setCellID(f.stimulsoft.as(i.IStiTableCell)), f.name = n.format("{0}_Cell{1}", this.name, h); var S = g == this._columnCount - 1 ? u : s , A = d == this._rowCount - 1 ? m : c; f.clientRectangle = new l(p,c * d,S,A), this.setStyleForCell(f, !1), p = f.right, this.components.add(f), h++ } p = 0 } this.resizeHeightCell(), this.applyStyleNone() } , b.prototype.setStyleForCell = function(e, n) { if (e.stimulsoft.is(r.StiComponent)) { var o = e.stimulsoft.as(r.StiComponent); o.restrictions = t.Report.Components.StiRestrictions.None | t.Report.Components.StiRestrictions.AllowMove | t.Report.Components.StiRestrictions.AllowSelect | t.Report.Components.StiRestrictions.AllowChange, o.isSelected = n, o.canGrow = !1, o.growToHeight = !1, o.page = this.page, o.parent = this } else if (e.stimulsoft.is(i.StiTableCell)) { var o = e.stimulsoft.as(i.StiTableCell); o.restrictions = t.Report.Components.StiRestrictions.None | t.Report.Components.StiRestrictions.AllowMove | t.Report.Components.StiRestrictions.AllowSelect | t.Report.Components.StiRestrictions.AllowChange, o.brush = new p(m.white), o.font = new S("Arial",9), o.isSelected = n, o.canGrow = !1, o.growToHeight = !1, o.page = this.page, o.parent = this } } , b.prototype.addNewRows = function(t) { if (0 == this.components.count) return; var e = this.components.count + 1 , o = this.clientRectangle; o.height += this.defaultHeightCell * t, y.prototype.setClientRectangle.call(this, o); for (var a = 0; a < t; a++) for (var s = 0; s < this._columnCount; s++) { var u = new i.StiTableCell , c = this.components.getByIndex(this.components.count - this._columnCount).stimulsoft.as(r.StiComponent); u.name = n.format("{0}_Cell{1}", this.name, e), this.setCellID(u.stimulsoft.as(i.IStiTableCell)); var m = c.stimulsoft.as(i.IStiTableCell).getRealLeft() , p = c.stimulsoft.as(i.IStiTableCell).getRealWidth(); u.clientRectangle = new l(m,c.bottom,p,this.defaultHeightCell), this.setStyleForCell(u, !0), this.tableStyle == i.StiTableStyle.StyleNone && this.applyStyleNoneForCell(u), this.components.add(u), e++ } this.refreshTableStyle() } , b.prototype.deleteLastRows = function(t, e) { if (0 == this.components.count) return; for (var n = 0, o = e - t; o < e; o++) { if (o * this._columnCount >= this.components.count) break; for (var a = 0; a < this._columnCount; a++) { var s = this.components.getByIndex(o * this._columnCount + a).stimulsoft.as(r.StiComponent); if (s.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).merged) { s.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getJoinComponentByGuid(s.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).parentJoin).stimulsoft.as(i.IStiTableCell).join = !1 } } n += this.components.getByIndex(o * this._columnCount).height } var l = (e - t) * this._columnCount; while (this.components.count > l) this.components.removeAt(this.components.count - 1); y.prototype.setHeight.call(this, y.prototype.getHeight.call(this) - n), this.refreshTableStyle() } , b.prototype.addTableNewColumns = function(t, e) { if (0 == this.components.count) return; for (var o = this.clientRectangle, a = +o.width / this.page.gridSize, s = this._columnCount, u = Math.trunc(a / s), c = a - u * s, m = new Array(s), p = 0; p < s; p++) m[p] = u * this.page.gridSize, p < c && (m[p] += this.page.gridSize); m[s - 1] += o.width - a * this.page.gridSize; for (var h = 0, d = 0, g = 0, p = 0; p < this._rowCount; p++) { for (var f = 0; f < e; f++) { var S = this.components.getByIndex(h).stimulsoft.as(r.StiComponent); if (S.name = n.format("{0}_Cell{1}", this.name, h + 1), S.clientRectangle = new l(g,S.top,m[d],S.height), g += m[d], h++, d++, f == e - 1) for (var A = S.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealHeight(), y = S.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealTop(), w = 0; w < t; w++) { var b = new i.StiTableCell; b.name = n.format("{0}_Cell{1}", this.name, h + 1), this.setCellID(b.stimulsoft.as(i.IStiTableCell)), b.clientRectangle = new l(g,y,m[d],A), this.setStyleForCell(b, !0), this._tableStyle == i.StiTableStyle.StyleNone && this.applyStyleNoneForCell(b), this.components.insert(h, b), g += m[d], h++, d++ } } g = 0, d = 0 } for (var p = 0; p < this.components.count; p++) { var v = this.components.getByIndex(p).stimulsoft.as(r.StiComponent); null != v && v.stimulsoft.as(i.IStiTableCell).join && v.stimulsoft.as(i.IStiTableCell).setJoinSize() } this.refreshTableStyle() } , b.prototype.deleteTableColumns = function(t, e) { if (0 == this.components.count) return; for (var o = e - t, a = 0, s = 0; s < this._rowCount; s++) { a += o; for (var l = 0; l < t; l++) this.components.removeAt(a) } for (var u = this.clientRectangle, c = +u.width / this.page.gridSize, m = Math.trunc(c / o), p = c - m * o, h = new Array(o), s = 0; s < o; s++) h[s] = m * this.page.gridSize, s < p && (h[s] += this.page.gridSize); var d = 0; a = 0; for (var s = 0; s < this._rowCount; s++) { for (var l = 0; l < o; l++) { var g = this.components.getByIndex(a).stimulsoft.as(r.StiComponent); g.name = n.format("{0}_Cell{1}", this.name, a + 1), g.left = d, g.width = h[l], d += h[l], a++ } d = 0 } for (var s = 0; s < this.components.count; s++) { var f = this.components.getByIndex(s).stimulsoft.as(r.StiComponent); null != f && f.stimulsoft.as(i.IStiTableCell).join && f.stimulsoft.as(i.IStiTableCell).setJoinSize() } this.refreshTableStyle() } , b.prototype.insertColumnToLeft = function(t) { if (t < 0) return; if (0 != t) for (var e = t, n = 0; n < this._rowCount; n++) { var o = this.components.getByIndex(e).stimulsoft.as(r.StiComponent) , a = this.components.getByIndex(e - 1).stimulsoft.as(r.StiComponent); if (o.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).merged && a.stimulsoft.as(i.IStiTableCell).merged) { var s = o.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getJoinComponentByGuid(o.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).parentJoin); s.stimulsoft.as(i.IStiTableCell).containsGuid(a.stimulsoft.as(i.IStiTableCell).id) && (s.stimulsoft.as(i.IStiTableCell).join = !1) } e += this.columnCount } for (var l = t, u = 0; u < this._rowCount; u++) { var o = this.components.getByIndex(l) , c = new i.StiTableCell; this.setCellID(c.stimulsoft.as(i.IStiTableCell)), c.top = o.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealTop(), c.height = o.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealHeight(), this.setStyleForCell(c, !1), this._tableStyle == i.StiTableStyle.StyleNone && this.applyStyleNoneForCell(c), this.components.insert(l, c), l++, l += this._columnCount } this._columnCount++, this.resizeWidthCellsAfterChanges(), this.refreshTableStyle() } , b.prototype.insertColumnToRight = function(t) { if (t < 0) return; if (t != this._columnCount - 1) for (var e = t, n = 0; n < this._rowCount; n++) { var o = this.components.getByIndex(e) , a = this.components.getByIndex(e + 1); if (o.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).merged && a.stimulsoft.as(i.IStiTableCell).merged) { var s = o.stimulsoft.as(i.IStiTableCell).stimulsoft.as(r.StiComponent).getJoinComponentByGuid(o.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).parentJoin); s.stimulsoft.as(i.IStiTableCell).containsGuid(a.stimulsoft.as(i.IStiTableCell).id) && (s.stimulsoft.as(i.IStiTableCell).join = !1) } e += this.columnCount } for (var l = t, u = 0; u < this._rowCount; u++) { var o = this.components.getByIndex(l) , c = new i.StiTableCell; this.setCellID(c.stimulsoft.as(i.IStiTableCell)), c.top = o.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealTop(), c.height = o.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealHeight(), this.setStyleForCell(c, !1), this._tableStyle == i.StiTableStyle.StyleNone && this.applyStyleNoneForCell(c), this.components.insert(l + 1, c), l++, l += this._columnCount } this._columnCount++, this.resizeWidthCellsAfterChanges(), this.refreshTableStyle() } , b.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) , o = this.components.getByIndex(e - this._columnCount); if (n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).merged && o.stimulsoft.as(i.IStiTableCell).merged) { var a = n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getJoinComponentByGuid(n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).parentJoin); a.stimulsoft.as(i.IStiTableCell).containsGuid(o.stimulsoft.as(i.IStiTableCell).id) && (a.stimulsoft.as(i.IStiTableCell).join = !1) } e++ } for (var s = t * this._columnCount, l = 0; l < this._columnCount; l++) { var n = this.components.getByIndex(s + l) , u = new i.StiTableCell; this.setCellID(u.stimulsoft.as(i.IStiTableCell)), u.left = n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealLeft(), u.width = n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealWidth(), u.height = this.defaultHeightCell, this.setStyleForCell(u, !1), this._tableStyle == i.StiTableStyle.StyleNone && this.applyStyleNoneForCell(u), this.components.insert(s, u), s++ } this._rowCount++, this.resizeHeightCellsAfterChanges(this.defaultHeightCell), this.refreshTableStyle() } , b.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) , o = this.components.getByIndex(e - this._columnCount); if (n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).merged && o.stimulsoft.as(i.IStiTableCell).merged) { var a = n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getJoinComponentByGuid(n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).parentJoin); a.stimulsoft.as(i.IStiTableCell).containsGuid(o.stimulsoft.as(i.IStiTableCell).id) && (a.stimulsoft.as(i.IStiTableCell).join = !1) } e++ } for (var s = t * this._columnCount, l = 0; l < this._columnCount; l++) { var n = void 0; n = t == this._rowCount ? this.components.getByIndex(s - this._columnCount) : this.components.getByIndex(s + l); var u = new i.StiTableCell; this.setCellID(u.stimulsoft.as(i.IStiTableCell)), u.left = n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealLeft(), u.width = n.stimulsoft.as(i.IStiTableCell).getRealWidth(), u.height = this.defaultHeightCell, this.setStyleForCell(u, !1), this._tableStyle == i.StiTableStyle.StyleNone && this.applyStyleNoneForCell(u), this.components.insert(s, u), s++ } this._rowCount++, this.resizeHeightCellsAfterChanges(this.defaultHeightCell), this.refreshTableStyle() } , b.prototype.deleteRows = function(t, e) { var r = e - t + 1; if (r == this._rowCount) return null; for (var n = new Array, o = t * this._columnCount, a = 0, s = t; s <= e; s++) for (var l = 0; l < this._columnCount; l++) { var u = this.components.getByIndex(o); null != u && (u.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).merged && (u.stimulsoft.as(i.IStiTableCell).getJoinComponentByGuid(u.stimulsoft.as(i.IStiTableCell).parentJoin).stimulsoft.as(i.IStiTableCell).join = !1), 0 == l && (a += u.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealHeight()), this.components.removeAt(o), n.add(u)) } return this._rowCount -= r, this.resizeHeightCellsAfterChanges(-1 * a), this.refreshTableStyle(), n } , b.prototype.deleteColumns = function(t, e) { var r = e - t + 1; if (r == this._columnCount) return null; for (var n = new Array, o = t, a = 0; a < this._rowCount; a++) { for (var s = t; s <= e; s++) { var l = this.components.getByIndex(o); null != l && (l.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).merged && (l.stimulsoft.as(i.IStiTableCell).getJoinComponentByGuid(l.stimulsoft.as(i.IStiTableCell).parentJoin).stimulsoft.as(i.IStiTableCell).join = !1), this.components.removeAt(o), n.add(l)) } o += this._columnCount - r } return this._columnCount -= r, this.resizeWidthCellsAfterChanges(), this.refreshTableStyle(), n } , b.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, n = e / this._rowCount, o = e - n * this._rowCount, a = new Array(this._rowCount), s = 0; s < this._rowCount; s++) a[s] = n * this.page.gridSize, s < o && (a[s] += this.page.gridSize); a[a.length - 1] += t.height - e * this.page.gridSize; for (var u = 0, c = 0, s = 0; s < this._rowCount; s++) { for (var m = 0; m < this._columnCount; m++) { var p = this.components.getByIndex(c).stimulsoft.as(r.StiComponent); null != p && (p.clientRectangle = new l(p.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealLeft(),u,p.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealWidth(),a[s]), p.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).join && p.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).setJoinSize(), c++) } u += a[s] } } , b.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, n = e / this._columnCount, o = e - n * this._columnCount, a = new Array(this._columnCount), s = 0; s < this._columnCount; s++) a[s] = n * this.page.gridSize, s < o && (a[s] += this.page.gridSize); a[a.length - 1] += t.width - e * this.page.gridSize; for (var u = 0, c = 0, m = 0; m < this._rowCount; m++) { for (var s = 0; s < this._columnCount; s++) { var p = this.components.getByIndex(c).stimulsoft.as(r.StiComponent); null != p && (p.clientRectangle = new l(u,p.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealTop(),a[s],p.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealHeight()), u += a[s], c++) } u = 0 } } , b.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), i = e - r * this._columnCount, n = new Array(this._columnCount), o = 0; o < this._columnCount; o++) n[o] = r * this.page.gridSize, o < i && (n[o] += this.page.gridSize); n[n.length - 1] += t.width - e * this.page.gridSize; var a = +t.height / this.page.gridSize; r = Math.trunc(a / this._rowCount); for (var s = a - r * this._rowCount, u = new Array(this._rowCount), c = 0; c < this._rowCount; c++) u[c] = r * this.page.gridSize, c < s && (u[c] += this.page.gridSize); u[u.length - 1] += t.height - a * this.page.gridSize; for (var m = 0, p = 0, h = 0, c = 0; c < this._rowCount; c++) { for (var o = 0; o < this._columnCount; o++) { this.components.getByIndex(h).clientRectangle = new l(m,p,n[o],u[c]), m += n[o], h++ } m = 0, p += u[c] } } , b.prototype.resizeWidthCellsAfterChanges = function() { if (this.isConverted) return; for (var t = this.clientRectangle, e = +t.width / this.page.gridSize, o = Math.trunc(e / this._columnCount), a = e - o * this._columnCount, s = new Array(this._columnCount), u = 0; u < this._columnCount; u++) s[u] = o * this.page.gridSize, u < a && (s[u] += this.page.gridSize); s[this._columnCount - 1] += t.width - e * this.page.gridSize; for (var c = 0, m = 0, p = 0, u = 0; u < this._rowCount; u++) { for (var h = 0; h < this._columnCount; h++) { var d = this.components.getByIndex(c).stimulsoft.as(r.StiComponent); d.name = n.format("{0}_Cell{1}", this.name, c + 1), d.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).join ? (d.left = p, d.width = s[m], d.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).setJoinSize()) : d.clientRectangle = new l(p,d.top,s[m],d.height), p += s[m], c++, m++ } m = 0, p = 0 } } , b.prototype.resizeHeightCellsAfterChanges = function(t) { if (this.isConverted) return; var e = this.clientRectangle; e.height += t; for (var r = 0, o = 0, a = null, s = 0; s < this._rowCount; s++) { for (var l = 0; l < this._columnCount; l++) a = this.components.getByIndex(o), a.name = n.format("{0}_Cell{1}", this.name, o + 1), a.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).join ? (a.height = a.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealHeightAfterInsertRows(), a.top = r, a.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).setJoinSize()) : a.top = r, o++; null != a && (r += a.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getRealHeight()) } y.prototype.setClientRectangle.call(this, e) } , b.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 = y.prototype.getWidth.call(this) - t, i = e / this._columnCount, n = +i / this.page.gridSize, o = this.page.gridSize * n, a = e - o * (this._columnCount - 1), s = 0; s < this._columnCount; s++) for (var l = 0; l < this._rowCount; l++) { var u = this.components.getByIndex(l * this._columnCount + s).stimulsoft.as(r.StiComponent); s == this._columnCount - 1 ? (u.left += s * o, u.width += a) : (u.left += s * o, u.width += o) } } , b.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; e < this._columnCount; e++) { var n = this.components.getByIndex(e).stimulsoft.as(r.StiComponent); n.top = 0, n.height = t.height } else { for (var o = new Array(this._rowCount), a = +t.height / this.page.gridSize, s = Math.trunc(a / this._rowCount), l = a - s * this._rowCount, u = s * this.page.gridSize, e = 0; e < this._rowCount; e++) o[e] = u, e < l && (o[e] += this.page.gridSize); o[this._rowCount - 1] += t.height - this.page.gridSize * a; for (var c = 0, e = 0; e < this._rowCount; e++) { for (var m = 0; m < this._columnCount; m++) { var n = this.components.getByIndex(e * this._columnCount + m).stimulsoft.as(r.StiComponent); if (n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).join) { var p = n.stimulsoft.as(i.IStiTableCell).stimulsoft.as(i.IStiTableCell).getJoinComponentByIndex(0); n.left = p.left, n.top = p.top, n.height = c + o[e] - p.top } else n.top = c, n.height = o[e] } c += o[e] } } } , b.prototype.startRenderTableBand = function(t) { var e = t.ref; if (!this.report.isInteractionRendering && !this.enabled) return null; var i = this.parent.stimulsoft.as(r.StiPage) , n = this.parent.stimulsoft.as(r.StiDataBand) , o = this.parent.stimulsoft.as(r.StiPanel); if (this._dockableTable) { if (null != n) { var a = new r.StiPanel; a.name = this.name + "_Panel", a.canBreak = !0, a.clientRectangle = n.clientRectangle, a.dockStyle = r.StiDockStyle.Fill; var s = n.components.indexOf(this); return n.components.insert(s, a), this.startRenderTable(a, 0, t) } if (null != i) { var l = this.page.components.indexOf(this); return this.startRenderTable(i, l, t) } if (null != o) { var l = o.components.indexOf(this); return this.startRenderTable(o, l, t) } } else { if (null != n) { var a = new r.StiPanel; a.name = this.name + "_Panel", a.canBreak = !0, a.canGrow = !0, a.clientRectangle = this.clientRectangle; var s = n.components.indexOf(this); return n.components.insert(s, a), this.startRenderTable(a, 0, t) } if (null != i) { var l = this.page.components.indexOf(this) , u = new r.StiDataBand; u.name = this.name + "_Band", u.left = this.left, u.top = this.top, this.page.components.insert(l, u); var a = new r.StiPanel; return a.name = this.name + "_Panel", a.canBreak = !0, a.canGrow = !0, a.clientRectangle = this.clientRectangle, a.top = 0, u.components.add(a), this.startRenderTable(a, 0, t) } if (null != o) { var l = o.parent.components.indexOf(o); return this.startRenderTable(o, l, t) } } return null } , b.prototype.startRenderTable = function(t, e, n) { var o = n.ref , a = this.page , u = null; o.containsKey(a) ? u = o.get(a).stimulsoft.as(Array) : (u = new Array, o.add(a, u)), y.prototype.setEnabled.call(this, !1); var c = 0 , m = null , p = this.clientRectangle , h = this.dockableTable ? p.y : 0 , d = 0 , g = 0 , f = 0 , S = +this.components.count / this._columnCount; this.reverseCells(this.rightToLeft); for (var w = 0; w < this._rowCount; w++) for (var b = 0; b < this._columnCount; b++) this.components.getByIndex(this._columnCount * w + b).stimulsoft.as(i.IStiTableCell).column = b, this.components.getByIndex(this._columnCount * w + b).stimulsoft.as(i.IStiTableCell).tableTag = this; var v = !1 , C = this.parent.components.indexOf(this) - 1; while (C >= 0) { var E = this.parent.components.getByIndex(C); if (!E.stimulsoft.is(r.StiHeaderBand)) if (E.stimulsoft.is(r.StiChildBand)) ; else if (!E.stimulsoft.is(r.StiEmptyBand)) { if (E.stimulsoft.is(r.StiGroupHeaderBand)) { v = !0; break } break } C-- } if (this._headerRowsCount > 0) { for (var B = 0; B < this._headerRowsCount; B++) d += this.components.getByIndex(B * this._columnCount).stimulsoft.as(i.IStiTableCell).getRealHeight(); var T = new s , I = new s , x = null; v ? (x = new r.StiGroupHeaderBand, x.stimulsoft.as(r.StiGroupHeaderBand).groupHeaderBandInfo.isTableGroupHeader = !0, x.name = this.name + "_GrHd", x.stimulsoft.as(r.StiGroupHeaderBand).printOnAllPages = this._headerPrintOnAllPages) : (x = new r.StiHeaderBand, x.name = this.name + "_Hd", x.stimulsoft.as(r.StiHeaderBand).headerBandInfo.isTableHeader = !0, x.stimulsoft.as(r.StiHeaderBand).printOnAllPages = this._headerPrintOnAllPages, x.stimulsoft.as(r.StiHeaderBand).printIfEmpty = this._headerPrintIfEmpty, x.stimulsoft.as(r.StiHeaderBand).printOnEvenOddPages = this._headerPrintOnEvenOddPages), x.height = d, x.clientRectangle = new l(p.x,h,p.width,d), x.border = this.border, x.brush = this.brush, x.page = this.page, x.parent = this.page, x.canGrow = this._headerCanGrow, x.canShrink = this._headerCanShrink, x.canBreak = this._headerCanBreak, x.printAtBottom = this._headerPrintAtBottom, x.printOn = this._headerPrintOn; for (var F = 0, D = 0; D < this._headerRowsCount; D++) { var R = this.components.getByIndex(c).stimulsoft.as(i.IStiTableCell).getRealHeight() , P = new r.StiPanel; P.clientRectangle = new l(p.x,F,p.width,R), P.name = x.name + "_HPnl" + D.toString(), P.canGrow = !0, P.canShrink = !0, P.dockStyle = r.StiDockStyle.Top, x.components.add(P), F += R, c += this._columnCount; for (var N = this._columnCount * D; N < c; N++) { var k = this.components.getByIndex(N) , M = !1 , O = null; if (-1 != k.stimulsoft.as(i.IStiTableCell).parentJoin) { var _ = 0 , L = { ref: _ }; if (O = this.getParentJoin(k.stimulsoft.as(i.IStiTableCell).parentJoin, L), _ = L.ref, T.containsKey(O)) { if (D == +T.get(O)) continue; var j = new r.StiText; j.page = k.page, j.conditions = k.conditions, j.setPaintRectangle(k.getPaintRectangle()), j.clientRectangle = new l(k.stimulsoft.as(i.IStiTableCell).getRealLeft(),0,k.stimulsoft.as(i.IStiTableCell).getRealWidth(),k.stimulsoft.as(i.IStiTableCell).getRealHeight()), j.name = k.name + "_Emp", j.growToHeight = !0, j.brush = new A, j.dockStyle = k.stimulsoft.as(i.IStiTableCell).cellDockStyle, P.components.add(j), u.add(j), k == O && (I.get(O).stimulsoft.as(i.IStiTableCell).parentJoinCell = j); continue } T.add(O, D), k = O, M = !0 } switch (k.top = 0, k.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Image: var H = k.stimulsoft.as(i.StiTableCellImage).clone(!0).stimulsoft.as(r.StiImage); H.restrictions = H.restrictions ^ r.StiRestrictions.AllowDelete, H.dockStyle = k.stimulsoft.as(i.StiTableCellImage).cellDockStyle, this.setInteraction(k), P.components.add(H), u.add(H), M && (H.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (H.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, H)); break; case i.StiTablceCellType.Text: var G = k.stimulsoft.as(i.StiTableCell).clone(!0).stimulsoft.as(r.StiText); G.restrictions = G.restrictions ^ r.StiRestrictions.AllowDelete, G.dockStyle = k.stimulsoft.as(i.StiTableCell).cellDockStyle, this.setInteraction(k), P.components.add(G), u.add(G), M && (G.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (G.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, G)); break; case i.StiTablceCellType.CheckBox: var Q = k.stimulsoft.as(i.StiTableCellCheckBox).clone(!0).stimulsoft.as(r.StiCheckBox); Q.restrictions = Q.restrictions ^ r.StiRestrictions.AllowDelete, Q.dockStyle = k.stimulsoft.as(i.StiTableCellCheckBox).cellDockStyle, this.setInteraction(k), P.components.add(Q), u.add(Q), M && (Q.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (Q.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, Q)); break; case i.StiTablceCellType.RichText: var Y = k.stimulsoft.as(i.StiTableCellRichText).clone(!0).stimulsoft.as(r.StiRichText); Y.restrictions = Y.restrictions ^ r.StiRestrictions.AllowDelete, Y.dockStyle = k.stimulsoft.as(i.StiTableCellRichText).cellDockStyle, this.setInteraction(k), P.components.add(Y), u.add(Y), M && (Y.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (Y.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, Y)); break } } } t.components.insert(e, x), u.add(x), e++, h += d + 1 } else if (v && this._footerRowsCount > 0) { var U = new r.StiGroupHeaderBand; U.height = 0, U.clientRectangle = new l(p.x,h,p.width,0), U.name = this.name + "_GrHdEmp", U.page = this.page, U.parent = this.page, U.printAtBottom = this._headerPrintAtBottom, t.components.insert(e, U), u.add(U), e++, h += 1 } if (this._rowCount - this._headerRowsCount - this._footerRowsCount > 0) { this.isConverted = !0, m = this.clone(!0, !1).stimulsoft.as(r.StiDataBand), this.isConverted = !1, m.components.clear(), this.setFilter(m); for (var B = this._headerRowsCount; B < S - this._footerRowsCount; B++) f += this.components.getByIndex(B * this._columnCount).stimulsoft.as(i.IStiTableCell).getRealHeight(); m.parent = this.parent, m.page = this.page, m.enabled = !0, m.clientRectangle = new l(p.x,h,p.width,f), m.name = this.name + "_DB", m.masterComponent = this.masterComponent; for (var T = new s, I = new s, J = this._headerRowsCount * this._columnCount, W = 0, V = 0; V < this._rowCount - this._headerRowsCount - this._footerRowsCount; V++) { var R = this.components.getByIndex(J).stimulsoft.as(i.IStiTableCell).getRealHeight() , P = new r.StiPanel; P.clientRectangle = new l(p.x,W,p.width,R), P.name = m.name + "_DPnl" + V.toString(), P.canGrow = !0, P.canBreak = !0, P.canShrink = !0, P.dockStyle = r.StiDockStyle.Top, m.components.add(P), W += R; for (var N = J; N < J + this._columnCount; N++) { var k = this.components.getByIndex(N) , M = !1 , O = null; if (-1 != k.stimulsoft.as(i.IStiTableCell).parentJoin) { var _ = 0 , L = { ref: _ }; if (O = this.getParentJoin(k.stimulsoft.as(i.IStiTableCell).parentJoin, L), _ = L.ref, T.containsKey(O)) { if (V == +T.get(O)) continue; var j = new r.StiText; j.page = k.page, j.conditions = k.conditions, j.setPaintRectangle(k.getPaintRectangle()), j.clientRectangle = new l(k.stimulsoft.as(i.IStiTableCell).getRealLeft(),0,k.stimulsoft.as(i.IStiTableCell).getRealWidth(),k.stimulsoft.as(i.IStiTableCell).getRealHeight()), j.name = k.name + "_Emp", j.growToHeight = !0, j.brush = new A, j.dockStyle = k.stimulsoft.as(i.IStiTableCell).cellDockStyle, P.components.add(j), u.add(j), k == O && (I.get(O).stimulsoft.as(i.IStiTableCell).parentJoinCell = j); continue } T.add(O, V), k = O, M = !0 } switch (k.top = 0, k.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Image: var H = k.stimulsoft.as(i.StiTableCellImage).stimulsoft.as(r.StiImage).clone(!0); H.restrictions = H.restrictions ^ r.StiRestrictions.AllowDelete, H.dockStyle = k.stimulsoft.as(i.StiTableCellImage).cellDockStyle, this.setInteraction(k), P.components.add(H), u.add(H), M && (H.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (H.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, H)); break; case i.StiTablceCellType.Text: var G = k.stimulsoft.as(i.StiTableCell).clone(!0).stimulsoft.as(r.StiText); G.restrictions = G.restrictions ^ r.StiRestrictions.AllowDelete, G.dockStyle = k.stimulsoft.as(i.StiTableCell).cellDockStyle, this.setInteraction(k), P.components.add(G), u.add(G), M && (G.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (P.canGrow = !1), I.add(O, G)); break; case i.StiTablceCellType.CheckBox: var Q = k.stimulsoft.as(i.StiTableCellCheckBox).clone(!0).stimulsoft.as(r.StiCheckBox); Q.restrictions = Q.restrictions ^ r.StiRestrictions.AllowDelete, Q.dockStyle = k.stimulsoft.as(i.StiTableCellCheckBox).cellDockStyle, this.setInteraction(k), P.components.add(Q), u.add(Q), M && (Q.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (Q.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, Q)); break; case i.StiTablceCellType.RichText: var Y = k.stimulsoft.as(i.StiTableCellRichText).clone(!0).stimulsoft.as(r.StiRichText); Y.restrictions = Y.restrictions ^ r.StiRestrictions.AllowDelete, Y.dockStyle = k.stimulsoft.as(i.StiTableCellRichText).cellDockStyle, this.setInteraction(k), P.components.add(Y), u.add(Y), M && (Y.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (Y.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, Y)); break } } J += this._columnCount } t.components.insert(e, m), u.add(m), h += f + .8, e++ } if (this._footerRowsCount > 0) { for (var z = new s, I = new s, X = this.components.count - this._footerRowsCount * this._columnCount, B = S - this._footerRowsCount; B < S; B++) g += this.components.getByIndex(B * this._columnCount).stimulsoft.as(i.IStiTableCell).getRealHeight(); var K = null; v ? (K = new r.StiGroupFooterBand, K.stimulsoft.as(r.StiGroupFooterBand).groupFooterBandInfo.isTableGroupFooter = !0, K.name = this.name + "_GrFt") : (K = new r.StiFooterBand, K.name = this.name + "_Ft", K.stimulsoft.as(r.StiFooterBand).footerBandInfo.isTableFooter = !0, K.stimulsoft.as(r.StiFooterBand).printOnAllPages = this._footerPrintOnAllPages, K.stimulsoft.as(r.StiFooterBand).printIfEmpty = this._footerPrintIfEmpty, K.stimulsoft.as(r.StiFooterBand).printOnEvenOddPages = this._footerPrintOnEvenOddPages), K.clientRectangle = new l(p.x,h,p.width,g), K.border = this.border, K.brush = this.brush, K.interaction = null, K.page = this.page, K.parent = this.page, K.canGrow = this._footerCanGrow, K.canShrink = this._footerCanShrink, K.canBreak = this._footerCanBreak, K.printAtBottom = this._footerPrintAtBottom, K.printOn = this._footerPrintOn; for (var Z = 0, q = 0; q < this._footerRowsCount; q++) { var R = this.components.getByIndex(X).stimulsoft.as(i.IStiTableCell).getRealHeight() , P = new r.StiPanel; P.clientRectangle = new l(p.x,Z,p.width,R), P.name = K.name + "_FPnl" + q.toString(), P.canGrow = !0, P.canShrink = !0, P.dockStyle = r.StiDockStyle.Top, K.components.add(P), Z += R; for (var N = X; N < X + this._columnCount; N++) { var k = this.components.getByIndex(N) , M = !1 , O = null; if (-1 != k.stimulsoft.as(i.IStiTableCell).parentJoin) { var _ = 0 , L = { ref: _ }; if (O = this.getParentJoin(k.stimulsoft.as(i.IStiTableCell).parentJoin, L), _ = L.ref, z.containsKey(O)) { if (q == +z.get(O)) continue; var j = new r.StiText; j.page = k.page, j.conditions = k.conditions, j.setPaintRectangle(k.getPaintRectangle()), j.clientRectangle = new l(k.stimulsoft.as(i.IStiTableCell).getRealLeft(),0,k.stimulsoft.as(i.IStiTableCell).getRealWidth(),k.stimulsoft.as(i.IStiTableCell).getRealHeight()), j.name = k.name + "_Emp", j.growToHeight = !0, j.brush = new A, j.dockStyle = k.stimulsoft.as(i.IStiTableCell).cellDockStyle, P.components.add(j), u.add(j), k == O && (I.get(O).stimulsoft.as(i.IStiTableCell).parentJoinCell = j); continue } z.add(O, q), k = O, M = !0 } switch (k.top = 0, k.stimulsoft.as(i.IStiTableCell).cellType) { case i.StiTablceCellType.Image: var H = k.stimulsoft.as(i.StiTableCellImage).clone(!0).stimulsoft.as(r.StiImage); H.restrictions = H.restrictions ^ r.StiRestrictions.AllowDelete, H.dockStyle = k.stimulsoft.as(i.StiTableCellImage).cellDockStyle, this.setInteraction(k), P.components.add(H), u.add(H), M && (H.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (H.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, H)); break; case i.StiTablceCellType.Text: var G = k.stimulsoft.as(i.StiTableCell).clone(!0).stimulsoft.as(r.StiText); G.restrictions = G.restrictions ^ r.StiRestrictions.AllowDelete, G.dockStyle = k.stimulsoft.as(i.StiTableCell).cellDockStyle, this.setInteraction(k), P.components.add(G), u.add(G), M && (G.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (G.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, G)); break; case i.StiTablceCellType.CheckBox: var Q = k.stimulsoft.as(i.StiTableCellCheckBox).clone(!0).stimulsoft.as(r.StiCheckBox); Q.restrictions = Q.restrictions ^ r.StiRestrictions.AllowDelete, Q.dockStyle = k.stimulsoft.as(i.StiTableCellCheckBox).cellDockStyle, this.setInteraction(k), P.components.add(Q), u.add(Q), M && (Q.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (Q.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, Q)); break; case i.StiTablceCellType.RichText: var Y = k.stimulsoft.as(i.StiTableCellRichText).clone(!0).stimulsoft.as(r.StiRichText); Y.restrictions = Y.restrictions ^ r.StiRestrictions.AllowDelete, Y.dockStyle = k.stimulsoft.as(i.StiTableCellRichText).cellDockStyle, this.setInteraction(k), P.components.add(Y), u.add(Y), M && (Y.canGrow = !0, this.isEqualRows(k, this.components.getByIndex(N)) || (Y.height = k.stimulsoft.as(i.IStiTableCell).getRealHeight()), I.add(O, Y)); break } } X += this._columnCount } t.components.insert(e, K), e++, u.add(K) } else if (v && this._headerRowsCount > 0) { var $ = new r.StiGroupFooterBand; $.height = 0, $.clientRectangle = new l(p.x,h,p.width,0), $.name = this.name + "_GrFtEmp", $.page = this.page, $.parent = this.page, $.printAtBottom = this._footerPrintAtBottom, t.components.insert(e, $), u.add($), e++ } return this.reverseCells(this.rightToLeft), m } , b.prototype.reverseCells = function(t) { if (!t) return; for (var e = 0; e < this.rowCount; e++) for (var r = e * this.columnCount, i = this.columnCount / 2, n = 0; n < i; n++) { var o = this.components.getByIndex(r + n); this.components.setByIndex(r + n, this.components.getByIndex(r + this.columnCount - 1 - n)), this.components.setByIndex(r + this.columnCount - 1 - n, o) } for (var a = 0; a < this.components.count; a++) { var s = this.components.getByIndex(a); s.left = this.width - s.right } } , b.prototype.setFilter = function(e) { var i = e.stimulsoft.as(t.Report.Dictionary.IStiEnumerator) , n = e.stimulsoft.as(r.IStiFilter) , o = e.stimulsoft.as(r.IStiDataSource) } , b.prototype.setInteraction = function(t) { if (null == t.interaction) return } , b.prototype.getParentJoin = function(t, e) { var n, o, a = e.ref, s = 0; try { for (var l = __values(this.components.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; if (c.stimulsoft.as(i.IStiTableCell).id == t) return a = +s / this._columnCount, c.stimulsoft.as(r.StiComponent); s++ } } catch (t) { n = { error: t } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (n) throw n.error } } return e.ref = a, null } , b.prototype.isEqualRows = function(t, e) { return +this.components.indexOf(t) / this._columnCount == +this.components.indexOf(e) / this._columnCount } , b.prototype.createNew = function() { return new b } , b }(r.StiDataBand); i.StiTable = y; var w = function() { function t(t, e, r, i, n) { void 0 === r && (r = null), void 0 === i && (i = null), void 0 === n && (n = null), null != n ? n.stimulsoft.is(Boolean) ? (this.dataColor = t, this.dataTextColor = r, this.headerFooterTextColor = i, n ? this.headerColor = e : this.footerColor = e) : (this.dataColor = t, this.dataTextColor = i, this.headerFooterTextColor = n.stimulsoft.as(m), this.headerColor = e, this.footerColor = r) : (this.gridColor = t, this.dataTextColor = e) } return t.getStyle = function(e) { switch (e) { case i.StiTableStyle.StyleNone: return new t(m.fromArgb(105, 105, 105),m.black); case i.StiTableStyle.Style11: return new t(m.fromArgb(0, 0, 0),m.black); case i.StiTableStyle.Style12: return new t(m.fromArgb(79, 129, 189),m.black); case i.StiTableStyle.Style13: return new t(m.fromArgb(192, 80, 77),m.black); case i.StiTableStyle.Style14: return new t(m.fromArgb(155, 187, 89),m.black); case i.StiTableStyle.Style15: return new t(m.fromArgb(128, 100, 162),m.black); case i.StiTableStyle.Style16: return new t(m.fromArgb(75, 172, 198),m.black); case i.StiTableStyle.Style17: return new t(m.fromArgb(247, 150, 70),m.black); case i.StiTableStyle.Style18: return new t(m.fromArgb(221, 160, 221),m.black); case i.StiTableStyle.Style19: return new t(m.fromArgb(32, 178, 170),m.black); case i.StiTableStyle.Style31: return new t(m.white,m.fromArgb(0, 0, 0),m.black,m.white,!0); case i.StiTableStyle.Style32: return new t(m.white,m.fromArgb(79, 129, 189),m.black,m.white,!0); case i.StiTableStyle.Style33: return new t(m.white,m.fromArgb(192, 80, 77),m.black,m.white,!0); case i.StiTableStyle.Style34: return new t(m.white,m.fromArgb(155, 187, 89),m.black,m.white,!0); case i.StiTableStyle.Style35: return new t(m.white,m.fromArgb(128, 100, 162),m.black,m.white,!0); case i.StiTableStyle.Style36: return new t(m.white,m.fromArgb(75, 172, 198),m.black,m.white,!0); case i.StiTableStyle.Style37: return new t(m.white,m.fromArgb(247, 150, 70),m.black,m.white,!0); case i.StiTableStyle.Style38: return new t(m.white,m.fromArgb(221, 160, 221),m.black,m.white,!0); case i.StiTableStyle.Style39: return new t(m.white,m.fromArgb(32, 178, 170),m.black,m.white,!0); case i.StiTableStyle.Style41: return new t(m.white,m.fromArgb(0, 0, 0),m.black,m.white,!1); case i.StiTableStyle.Style42: return new t(m.white,m.fromArgb(79, 129, 189),m.black,m.white,!1); case i.StiTableStyle.Style43: return new t(m.white,m.fromArgb(192, 80, 77),m.black,m.white,!1); case i.StiTableStyle.Style44: return new t(m.white,m.fromArgb(155, 187, 89),m.black,m.white,!1); case i.StiTableStyle.Style45: return new t(m.white,m.fromArgb(128, 100, 162),m.black,m.white,!1); case i.StiTableStyle.Style46: return new t(m.white,m.fromArgb(75, 172, 198),m.black,m.white,!1); case i.StiTableStyle.Style47: return new t(m.white,m.fromArgb(247, 150, 70),m.black,m.white,!1); case i.StiTableStyle.Style48: return new t(m.white,m.fromArgb(221, 160, 221),m.black,m.white,!1); case i.StiTableStyle.Style49: return new t(m.white,m.fromArgb(32, 178, 170),m.black,m.white,!1); case i.StiTableStyle.Style51: return new t(m.white,m.fromArgb(0, 0, 0),m.fromArgb(0, 0, 0),m.black,m.white); case i.StiTableStyle.Style52: return new t(m.white,m.fromArgb(79, 129, 189),m.fromArgb(79, 129, 189),m.black,m.white); case i.StiTableStyle.Style53: return new t(m.white,m.fromArgb(192, 80, 77),m.fromArgb(192, 80, 77),m.black,m.white); case i.StiTableStyle.Style54: return new t(m.white,m.fromArgb(155, 187, 89),m.fromArgb(155, 187, 89),m.black,m.white); case i.StiTableStyle.Style55: return new t(m.white,m.fromArgb(128, 100, 162),m.fromArgb(128, 100, 162),m.black,m.white); case i.StiTableStyle.Style56: return new t(m.white,m.fromArgb(75, 172, 198),m.fromArgb(75, 172, 198),m.black,m.white); case i.StiTableStyle.Style57: return new t(m.white,m.fromArgb(247, 150, 70),m.fromArgb(247, 150, 70),m.black,m.white); case i.StiTableStyle.Style58: return new t(m.white,m.fromArgb(221, 160, 221),m.fromArgb(221, 160, 221),m.black,m.white); case i.StiTableStyle.Style59: return new t(m.white,m.fromArgb(32, 178, 170),m.fromArgb(32, 178, 170),m.black,m.white) } return null } , t }() }(i = r.Table || (r.Table = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.StiJsonReportObjectHelper , a = t.System.Drawing.Rectangle , s = t.System.Drawing.Size , l = t.System.Enum , u = function(t) { function u() { var e = null !== t && t.apply(this, arguments) || this; return e._cellDockStyle = r.StiDockStyle.None, e._parentJoinCell = null, e._joinCells = new Array(0), e._parentJoin = -1, e._join = !1, e._id = -1, e._joinWidth = 0, e._joinHeight = 0, e._tableTag = null, e._cellType = i.StiTablceCellType.Text, e._fixedWidth = !1, e._column = 0, e } return __extends(u, t), u.prototype.implements = function() { return u.ImplementsStiTableCell || (u.ImplementsStiTableCell = t.prototype.implements.call(this).concat([i.IStiTableCell, i.IStiTableComponent, n])), u.ImplementsStiTableCell } , u.prototype.saveToJsonObject = function(e) { var n = t.prototype.saveToJsonObject.call(this, e); return n.removeProperty("Locked"), n.removeProperty("Linked"), n.addPropertyEnum("CellDockStyle", r.StiDockStyle, this.cellDockStyle, r.StiDockStyle.None), n.addPropertyJObject("JoinCells", o.Serialize.numberArray(this.joinCells)), n.addPropertyNumber("ParentJoin", this.parentJoin, -1), n.addPropertyBool("Join", this.join), n.addPropertyNumber("ID", this.id, -1), n.addPropertyNumber("JoinWidth", this.joinWidth), n.addPropertyNumber("JoinHeight", this.joinHeight), n.addPropertyEnum("CellType", i.StiTablceCellType, this.cellType, i.StiTablceCellType.Text), n.addPropertyBool("FixedWidth", this.fixedWidth), n } , u.prototype.loadFromJsonObject = function(e) { var n, a; t.prototype.loadFromJsonObject.call(this, e); try { for (var s = __values(e.properties()), u = s.next(); !u.done; u = s.next()) { var c = u.value; switch (c.name) { case "CellDockStyle": this._cellDockStyle = l.parse(r.StiDockStyle, c.value); break; case "JoinCells": this._joinCells = o.Deserialize.numberArray(c.value); break; case "ParentJoin": this._parentJoin = c.value.stimulsoft.toNumber(); break; case "Join": this._join = c.value.stimulsoft.toBoolean(); break; case "ID": this._id = c.value.stimulsoft.toNumber(); break; case "JoinWidth": this._joinWidth = c.value.stimulsoft.toNumber(); break; case "JoinHeight": this._joinHeight = c.value.stimulsoft.toNumber(); break; case "CellType": this._cellType = l.parse(i.StiTablceCellType, c.value); break; case "FixedWidth": this._fixedWidth = c.value.stimulsoft.toBoolean(); break } } } catch (t) { n = { error: t } } finally { try { u && !u.done && (a = s.return) && a.call(s) } finally { if (n) throw n.error } } } , u.prototype.loadJoinCellsFromXml = function(t) { for (var e = [], r = 0, i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; "value" == n.nodeName && (e[r] = n.textContent.stimulsoft.toNumber(), r++) } return e } , u.prototype.loadFromXml = function(e, n) { t.prototype.loadFromXml.call(this, e, n); for (var o = 0; o < e.childNodes.length; o++) { var a = e.childNodes[o]; switch (a.nodeName) { case "CellDockStyle": this._cellDockStyle = l.parse(r.StiDockStyle, a.textContent); break; case "JoinCells": this._joinCells = this.loadJoinCellsFromXml(a); break; case "ParentJoin": this._parentJoin = a.textContent.stimulsoft.toNumber(); break; case "Join": this._join = a.textContent.stimulsoft.toBoolean(); break; case "ID": this._id = a.textContent.stimulsoft.toNumber(); break; case "JoinWidth": this._joinWidth = a.textContent.stimulsoft.toNumber(); break; case "JoinHeight": this._joinHeight = a.textContent.stimulsoft.toNumber(); break; case "CellType": this._cellType = l.parse(i.StiTablceCellType, a.textContent); break; case "FixedWidth": this._fixedWidth = a.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(u.prototype, "componentId", { get: function() { return e.StiComponentId.StiTableCell }, enumerable: !0, configurable: !0 }), u.prototype.clone = function(e) { var r = t.prototype.clone.call(this, e).stimulsoft.as(u); return r._join = this._join, r.minSize = new s(0,0), r.maxSize = new s(0,0), r._cellDockStyle = this._cellDockStyle, r._joinWidth = this._joinWidth, r._joinHeight = this._joinHeight, r._cellType = this._cellType, r._column = this._column, r._fixedWidth = this._fixedWidth, r._id = this._id, r._joinCells = this._joinCells.clone(), -1 != this._parentJoin ? r._parentJoin = this._parentJoin : r._parentJoin = -1, r } , Object.defineProperty(u.prototype, "locked", { get: function() { return this.isDesigning && !this.report.isPageDesigner }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "linked", { get: function() { return this.isDesigning && !this.report.isPageDesigner }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "canGrow", { get: function() { return t.prototype.getCanGrow.call(this) }, set: function(e) { t.prototype.getCanGrow.call(this) != e && (t.prototype.setCanGrow.call(this, e), this.parent.stimulsoft.is(i.StiTable) && this.parent.changeGrowToHeightAtCell(this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "autoWidth", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "cellDockStyle", { get: function() { return this._cellDockStyle }, set: function(t) { this._cellDockStyle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "parentJoinCell", { get: function() { return this._parentJoinCell }, set: function(t) { this._parentJoinCell = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "joinCells", { get: function() { return this._joinCells }, set: function(t) { this._joinCells = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "parentJoin", { get: function() { return this._parentJoin }, set: function(t) { this._parentJoin = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.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: !0, configurable: !0 }), Object.defineProperty(u.prototype, "id", { get: function() { return this._id }, set: function(t) { this._id = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "joinWidth", { get: function() { return this._joinWidth }, set: function(t) { this._joinWidth = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "joinHeight", { get: function() { return this._joinHeight }, set: function(t) { this._joinHeight = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "merged", { get: function() { return -1 != this._parentJoin }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "changeTopPosition", { get: function() { if (this.parent.stimulsoft.is(i.StiTable)) { return this.parent.components.indexOf(this) >= this.parent.columnCount } return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "changeLeftPosition", { get: function() { if (this.parent.stimulsoft.is(i.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: !0, configurable: !0 }), Object.defineProperty(u.prototype, "changeRightPosition", { get: function() { if (this.parent.stimulsoft.is(i.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: !0, configurable: !0 }), Object.defineProperty(u.prototype, "tableTag", { get: function() { return this._tableTag }, set: function(t) { this._tableTag = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "cellType", { get: function() { return this._cellType }, set: function(t) { this._cellType = t; var e = this.parent.stimulsoft.as(i.StiTable); if (null != e) switch (t) { case i.StiTablceCellType.Image: e.changeTableCellContentInImage(this); break; case i.StiTablceCellType.CheckBox: e.changeTableCellContentInCheckBox(this); break; case i.StiTablceCellType.RichText: e.changeTableCellContentInRichText(this); break } }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "fixedWidth", { get: function() { return this._fixedWidth }, set: function(t) { this._fixedWidth = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "column", { get: function() { return this._column }, set: function(t) { this._column = t }, enumerable: !0, configurable: !0 }), u.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), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.stimulsoft.as(i.IStiTableCell).id == t) return a } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return null } , u.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), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.stimulsoft.as(i.IStiTableCell).id == this._joinCells[t]) return a } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return null } , u.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 } , u.prototype.createJoin = function() { var t = this.parent.stimulsoft.as(i.StiTable); if (null == t && null == this.page) return; var e = 0 , r = 0 , n = { ref: e } , o = { ref: r } , s = { ref: this._joinWidth } , l = { ref: this._joinHeight }; if (this._joinCells = t.createJoin(n, o, s, l), 0 == this._joinCells.length) return; e = n.ref, r = o.ref, this._joinWidth = s.ref, this._joinHeight = l.ref; for (var u = 0, c = 0, m = 0; m < this._joinCells.length - 1; m++) { var p = this.getJoinComponentByIndex(m); 0 == m && (u = p.left, c = p.top), p.enabled = !1, p.stimulsoft.as(i.IStiTableCell).parentJoin = this._id } this._parentJoin = this._id, this.clientRectangle = new a(u,c,e,r) } , u.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(i.IStiTableCell).parentJoin = -1 } this.clientRectangle = this.getNewClientRectangle(), this._joinCells = new Array(0), this._parentJoin = -1, this._joinWidth = 0, this._joinHeight = 0 } , u.prototype.getNewClientRectangle = function() { var t = this.getJoinComponentByIndex(this._joinCells.length - 2) , e = this.parent.components.indexOf(t); return this.parent.components.indexOf(this) - e == 1 ? new a(t.right,t.top,this.right - t.right,t.height) : new a(t.left,t.bottom,t.width,this.bottom - t.bottom) } , u.prototype.setJoinSize = function() { if (!this._join) return; var t = this.getJoinComponentByIndex(0) , e = t.left , r = t.top; this.clientRectangle = new a(e,r,this.right - e,this.bottom - r) } , u.prototype.getRealHeightAfterInsertRows = function() { if (this._join) { if (1 == this._joinHeight) return t.prototype.getHeight.call(this); for (var e = 0, r = Math.trunc(this.parent.components.indexOf(this.getJoinComponentByIndex(0)) / this.parent.columnCount), i = Math.trunc(this.parent.components.indexOf(this) / this.parent.columnCount), n = r; n < i; n++) { var o = n * this.parent.columnCount; e += this.parent.components.getByIndex(o).height } return t.prototype.getHeight.call(this) - e } return t.prototype.getHeight.call(this) } , u.prototype.getRealHeight = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , n = this.parent.components.indexOf(e); return this.parent.columnCount > 1 ? r - n == 1 ? e.height : this.bottom - e.top - e.stimulsoft.as(i.IStiTableCell).getRealHeight() : t.prototype.getBottom.call(this) - e.bottom } return t.prototype.getHeight.call(this) } , u.prototype.getRealTop = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , i = this.parent.components.indexOf(e); return this.parent.columnCount > 1 && r - i == 1 ? e.top : e.bottom } return t.prototype.getTop.call(this) } , u.prototype.getRealWidth = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , i = this.parent.components.indexOf(e); return this.parent.rowCount > 1 ? r - i == 1 ? this.right - e.right : e.width : this.right - e.right } return t.prototype.getWidth.call(this) } , u.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 this.parent.rowCount > 1 ? e - r == 1 ? t.right : t.left : t.right } return this.left } , u.prototype.createNew = function() { return new u } , u }(r.StiText); i.StiTableCell = u }(i = r.Table || (r.Table = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.StiJsonReportObjectHelper , a = t.System.Drawing.Rectangle , s = t.System.Drawing.Size , l = t.System.Enum , u = function(t) { function u() { var e = null !== t && t.apply(this, arguments) || this; return e._cellDockStyle = r.StiDockStyle.None, e._parentJoinCell = null, e._joinCells = new Array(0), e._parentJoin = -1, e._join = !1, e._id = -1, e._joinWidth = 0, e._joinHeight = 0, e._tableTag = null, e._cellType = i.StiTablceCellType.CheckBox, e._fixedWidth = !1, e._column = 0, e } return __extends(u, t), u.prototype.implements = function() { return u.ImplementsStiTableCellCheckBox || (u.ImplementsStiTableCellCheckBox = t.prototype.implements.call(this).concat([i.IStiTableCell, i.IStiTableComponent, n])), u.ImplementsStiTableCellCheckBox } , u.prototype.saveToJsonObject = function(e) { var n = t.prototype.saveToJsonObject.call(this, e); return n.removeProperty("Locked"), n.removeProperty("Linked"), n.addPropertyEnum("CellDockStyle", r.StiDockStyle, this.cellDockStyle, r.StiDockStyle.None), n.addPropertyJObject("JoinCells", o.Serialize.numberArray(this.joinCells)), n.addPropertyNumber("ParentJoin", this.parentJoin, -1), n.addPropertyBool("Join", this.join), n.addPropertyNumber("ID", this.id, -1), n.addPropertyNumber("JoinWidth", this.joinWidth), n.addPropertyNumber("JoinHeight", this.joinHeight), n.addPropertyEnum("CellType", i.StiTablceCellType, this.cellType, i.StiTablceCellType.CheckBox), n.addPropertyBool("FixedWidth", this.fixedWidth), n } , u.prototype.loadFromJsonObject = function(e) { var n, a; t.prototype.loadFromJsonObject.call(this, e); try { for (var s = __values(e.properties()), u = s.next(); !u.done; u = s.next()) { var c = u.value; switch (c.name) { case "CellDockStyle": this._cellDockStyle = l.parse(r.StiDockStyle, c.value); break; case "JoinCells": this._joinCells = o.Deserialize.numberArray(c.value); break; case "ParentJoin": this._parentJoin = c.value.stimulsoft.toNumber(); break; case "Join": this._join = c.value.stimulsoft.toBoolean(); break; case "ID": this._id = c.value.stimulsoft.toNumber(); break; case "JoinWidth": this._joinWidth = c.value.stimulsoft.toNumber(); break; case "JoinHeight": this._joinHeight = c.value.stimulsoft.toNumber(); break; case "CellType": this._cellType = l.parse(i.StiTablceCellType, c.value); break; case "FixedWidth": this._fixedWidth = c.value.stimulsoft.toBoolean(); break } } } catch (t) { n = { error: t } } finally { try { u && !u.done && (a = s.return) && a.call(s) } finally { if (n) throw n.error } } } , u.prototype.loadJoinCellsFromXml = function(t) { for (var e = [], r = 0, i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; "value" == n.nodeName && (e[r] = n.textContent.stimulsoft.toNumber(), r++) } return e } , u.prototype.loadFromXml = function(e, n) { t.prototype.loadFromXml.call(this, e, n); for (var o = 0; o < e.childNodes.length; o++) { var a = e.childNodes[o]; switch (a.nodeName) { case "CellDockStyle": this._cellDockStyle = l.parse(r.StiDockStyle, a.textContent); break; case "JoinCells": this._joinCells = this.loadJoinCellsFromXml(a); break; case "ParentJoin": this._parentJoin = a.textContent.stimulsoft.toNumber(); break; case "Join": this._join = a.textContent.stimulsoft.toBoolean(); break; case "ID": this._id = a.textContent.stimulsoft.toNumber(); break; case "JoinWidth": this._joinWidth = a.textContent.stimulsoft.toNumber(); break; case "JoinHeight": this._joinHeight = a.textContent.stimulsoft.toNumber(); break; case "CellType": this._cellType = l.parse(i.StiTablceCellType, a.textContent); break; case "FixedWidth": this._fixedWidth = a.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(u.prototype, "componentId", { get: function() { return e.StiComponentId.StiTableCellCheckBox }, enumerable: !0, configurable: !0 }), u.prototype.clone = function(e) { var r = t.prototype.clone.call(this, e).stimulsoft.as(u); return r._join = this._join, r.minSize = new s(0,0), r.maxSize = new s(0,0), r._cellDockStyle = this._cellDockStyle, r._joinWidth = this._joinWidth, r._joinHeight = this._joinHeight, r._cellType = this._cellType, r._column = this._column, r._fixedWidth = this._fixedWidth, r._id = this._id, r._joinCells = this._joinCells.clone(), -1 != this._parentJoin ? r._parentJoin = this._parentJoin : r._parentJoin = -1, r } , Object.defineProperty(u.prototype, "locked", { get: function() { return this.isDesigning && !this.report.isPageDesigner }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "linked", { get: function() { return this.isDesigning && !this.report.isPageDesigner }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "canShrink", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "canGrow", { get: function() { return t.prototype.getCanGrow.call(this) }, set: function(e) { t.prototype.getCanGrow.call(this) != e && (t.prototype.setCanGrow.call(this, e), this.parent.stimulsoft.is(i.StiTable) && this.parent.changeGrowToHeightAtCell(this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "cellDockStyle", { get: function() { return this._cellDockStyle }, set: function(t) { this._cellDockStyle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "parentJoinCell", { get: function() { return this._parentJoinCell }, set: function(t) { this._parentJoinCell = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "joinCells", { get: function() { return this._joinCells }, set: function(t) { this._joinCells = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "parentJoin", { get: function() { return this._parentJoin }, set: function(t) { this._parentJoin = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.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: !0, configurable: !0 }), Object.defineProperty(u.prototype, "id", { get: function() { return this._id }, set: function(t) { this._id = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "joinWidth", { get: function() { return this._joinWidth }, set: function(t) { this._joinWidth = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "joinHeight", { get: function() { return this._joinHeight }, set: function(t) { this._joinHeight = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "merged", { get: function() { return -1 != this._parentJoin }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "changeTopPosition", { get: function() { if (this.parent.stimulsoft.is(i.StiTable)) { return this.parent.components.indexOf(this) >= this.parent.stimulsoft.as(i.StiTable).columnCount } return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "changeLeftPosition", { get: function() { if (this.parent.stimulsoft.is(i.StiTable)) { var t = this.parent.components.indexOf(this) , e = 0; while (e < this.parent.components.count) { if (e == t) return !1; e += this.parent.stimulsoft.as(i.StiTable).columnCount } return !0 } return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "changeRightPosition", { get: function() { if (this.parent.stimulsoft.is(i.StiTable)) { var t = this.parent.components.indexOf(this) , e = this.parent.stimulsoft.as(i.StiTable).columnCount - 1; while (e < this.parent.components.count) { if (e == t) return !1; e += this.parent.stimulsoft.as(i.StiTable).columnCount } } return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "tableTag", { get: function() { return this._tableTag }, set: function(t) { this._tableTag = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "cellType", { get: function() { return this._cellType }, set: function(t) { this._cellType = t; var e = this.parent.stimulsoft.as(i.StiTable); if (null != e) switch (t) { case i.StiTablceCellType.Text: e.changeTableCellContentInText(this); break; case i.StiTablceCellType.Image: e.changeTableCellContentInImage(this); break; case i.StiTablceCellType.RichText: e.changeTableCellContentInRichText(this); break } }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "fixedWidth", { get: function() { return this._fixedWidth }, set: function(t) { this._fixedWidth = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "column", { get: function() { return this._column }, set: function(t) { this._column = t }, enumerable: !0, configurable: !0 }), u.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), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.stimulsoft.as(i.IStiTableCell).id == t) return a } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return null } , u.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), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.stimulsoft.as(i.IStiTableCell).id == this._joinCells[t]) return a } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return null } , u.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 } , u.prototype.createJoin = function() { var t = this.parent.stimulsoft.as(i.StiTable); if (null == t && null == this.page) return; var e = 0 , r = 0 , n = { ref: e } , o = { ref: r } , s = { ref: this._joinWidth } , l = { ref: this._joinHeight }; if (this._joinCells = t.createJoin(n, o, s, l), e = n.ref, r = o.ref, this._joinWidth = s.ref, this._joinHeight = l.ref, null == this._joinCells || 0 == this._joinCells.length) return; for (var u = 0, c = 0, m = 0; m < this._joinCells.length - 1; m++) { var p = this.getJoinComponentByIndex(m); 0 == m && (u = p.left, c = p.top), p.enabled = !1, p.stimulsoft.as(i.IStiTableCell).parentJoin = this._id } this._parentJoin = this._id, this.clientRectangle = new a(u,c,e,r) } , u.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(i.IStiTableCell).parentJoin = -1 } this.clientRectangle = this.getNewClientRectangle(), this._joinCells = new Array(0), this._parentJoin = -1, this._joinWidth = 0, this._joinHeight = 0 } , u.prototype.getNewClientRectangle = function() { var t = this.getJoinComponentByIndex(this._joinCells.length - 2) , e = this.parent.components.indexOf(t); return this.parent.components.indexOf(this) - e == 1 ? new a(t.right,t.top,this.right - t.right,t.height) : new a(t.left,t.bottom,t.width,this.bottom - t.bottom) } , u.prototype.setJoinSize = function() { if (!this._join) return; var t = this.getJoinComponentByIndex(0) , e = t.left , r = t.top; this.clientRectangle = new a(e,r,this.right - e,this.bottom - r) } , u.prototype.getRealHeightAfterInsertRows = function() { if (this._join) { if (1 == this._joinHeight) return t.prototype.getHeight.call(this); for (var e = 0, r = +this.parent.components.indexOf(this.getJoinComponentByIndex(0)) / this.parent.stimulsoft.as(i.StiTable).columnCount, n = +this.parent.components.indexOf(this) / this.parent.stimulsoft.as(i.StiTable).columnCount, o = r; o < n; o++) { var a = o * this.parent.stimulsoft.as(i.StiTable).columnCount; e += this.parent.components.getByIndex(a).height } return t.prototype.getHeight.call(this) - e } return t.prototype.getHeight.call(this) } , u.prototype.getRealHeight = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , n = this.parent.components.indexOf(e); return this.parent.stimulsoft.as(i.StiTable).columnCount > 1 && r - n == 1 ? e.height : t.prototype.getBottom.call(this) - e.bottom } return t.prototype.getHeight.call(this) } , u.prototype.getRealTop = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , n = this.parent.components.indexOf(e); return this.parent.stimulsoft.as(i.StiTable).columnCount > 1 && r - n == 1 ? e.top : e.bottom } return t.prototype.getTop.call(this) } , u.prototype.getRealWidth = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , n = this.parent.components.indexOf(e); return this.parent.stimulsoft.as(i.StiTable).rowCount > 1 ? r - n == 1 ? this.right - e.right : e.width : this.right - e.right } return t.prototype.getWidth.call(this) } , u.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 this.parent.stimulsoft.as(i.StiTable).rowCount > 1 ? e - r == 1 ? t.right : t.left : t.right } return this.left } , u.prototype.createNew = function() { return new u } , u }(r.StiCheckBox); i.StiTableCellCheckBox = u }(i = r.Table || (r.Table = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.StiJsonReportObjectHelper , a = t.System.Drawing.Rectangle , s = t.System.Drawing.Size , l = t.System.Enum , u = function(t) { function u() { var e = null !== t && t.apply(this, arguments) || this; return e._cellDockStyle = r.StiDockStyle.None, e._parentJoinCell = null, e._joinCells = new Array(0), e._parentJoin = -1, e._join = !1, e._id = -1, e._joinWidth = 0, e._joinHeight = 0, e._tableTag = null, e._cellType = i.StiTablceCellType.Image, e._fixedWidth = !1, e._column = 0, e } return __extends(u, t), u.prototype.implements = function() { return u.ImplementsStiTableCellImage || (u.ImplementsStiTableCellImage = t.prototype.implements.call(this).concat([i.IStiTableCell, i.IStiTableComponent, n])), u.ImplementsStiTableCellImage } , u.prototype.saveToJsonObject = function(e) { var n = t.prototype.saveToJsonObject.call(this, e); return n.removeProperty("Locked"), n.removeProperty("Linked"), n.addPropertyEnum("CellDockStyle", r.StiDockStyle, this.cellDockStyle, r.StiDockStyle.None), n.addPropertyJObject("JoinCells", o.Serialize.numberArray(this.joinCells)), n.addPropertyNumber("ParentJoin", this.parentJoin, -1), n.addPropertyBool("Join", this.join), n.addPropertyNumber("ID", this.id, -1), n.addPropertyNumber("JoinWidth", this.joinWidth), n.addPropertyNumber("JoinHeight", this.joinHeight), n.addPropertyEnum("CellType", i.StiTablceCellType, this.cellType, i.StiTablceCellType.Image), n.addPropertyBool("FixedWidth", this.fixedWidth), n } , u.prototype.loadFromJsonObject = function(e) { var n, a; t.prototype.loadFromJsonObject.call(this, e); try { for (var s = __values(e.properties()), u = s.next(); !u.done; u = s.next()) { var c = u.value; switch (c.name) { case "CellDockStyle": this._cellDockStyle = l.parse(r.StiDockStyle, c.value); break; case "JoinCells": this._joinCells = o.Deserialize.numberArray(c.value); break; case "ParentJoin": this._parentJoin = c.value.stimulsoft.toNumber(); break; case "Join": this._join = c.value.stimulsoft.toBoolean(); break; case "ID": this._id = c.value.stimulsoft.toNumber(); break; case "JoinWidth": this._joinWidth = c.value.stimulsoft.toNumber(); break; case "JoinHeight": this._joinHeight = c.value.stimulsoft.toNumber(); break; case "CellType": this._cellType = l.parse(i.StiTablceCellType, c.value); break; case "FixedWidth": this._fixedWidth = c.value.stimulsoft.toBoolean(); break } } } catch (t) { n = { error: t } } finally { try { u && !u.done && (a = s.return) && a.call(s) } finally { if (n) throw n.error } } } , u.prototype.loadJoinCellsFromXml = function(t) { for (var e = [], r = 0, i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; "value" == n.nodeName && (e[r] = n.textContent.stimulsoft.toNumber(), r++) } return e } , u.prototype.loadFromXml = function(e, n) { t.prototype.loadFromXml.call(this, e, n); for (var o = 0; o < e.childNodes.length; o++) { var a = e.childNodes[o]; switch (a.nodeName) { case "CellDockStyle": this._cellDockStyle = l.parse(r.StiDockStyle, a.textContent); break; case "JoinCells": this._joinCells = this.loadJoinCellsFromXml(a); break; case "ParentJoin": this._parentJoin = a.textContent.stimulsoft.toNumber(); break; case "Join": this._join = a.textContent.stimulsoft.toBoolean(); break; case "ID": this._id = a.textContent.stimulsoft.toNumber(); break; case "JoinWidth": this._joinWidth = a.textContent.stimulsoft.toNumber(); break; case "JoinHeight": this._joinHeight = a.textContent.stimulsoft.toNumber(); break; case "CellType": this._cellType = l.parse(i.StiTablceCellType, a.textContent); break; case "FixedWidth": this._fixedWidth = a.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(u.prototype, "componentId", { get: function() { return e.StiComponentId.StiTableCellImage }, enumerable: !0, configurable: !0 }), u.prototype.clone = function(e) { var r = t.prototype.clone.call(this, e).stimulsoft.as(u); return r._join = this._join, r.minSize = new s(0,0), r.maxSize = new s(0,0), r._cellDockStyle = this._cellDockStyle, r._joinWidth = this._joinWidth, r._joinHeight = this._joinHeight, r._cellType = this._cellType, r._column = this._column, r._fixedWidth = this._fixedWidth, r._id = this._id, r._joinCells = this._joinCells.clone(), -1 != this._parentJoin ? r._parentJoin = this._parentJoin : r._parentJoin = -1, r } , Object.defineProperty(u.prototype, "locked", { get: function() { return this.isDesigning && !this.report.isPageDesigner }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "linked", { get: function() { return this.isDesigning && !this.report.isPageDesigner }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "canShrink", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "canGrow", { get: function() { return t.prototype.getCanGrow.call(this) }, set: function(e) { t.prototype.getCanGrow.call(this) != e && (t.prototype.setCanGrow.call(this, e), this.parent.stimulsoft.is(i.StiTable) && this.parent.changeGrowToHeightAtCell(this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "cellDockStyle", { get: function() { return this._cellDockStyle }, set: function(t) { this._cellDockStyle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "parentJoinCell", { get: function() { return this._parentJoinCell }, set: function(t) { this._parentJoinCell = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "joinCells", { get: function() { return this._joinCells }, set: function(t) { this._joinCells = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "parentJoin", { get: function() { return this._parentJoin }, set: function(t) { this._parentJoin = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.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: !0, configurable: !0 }), Object.defineProperty(u.prototype, "id", { get: function() { return this._id }, set: function(t) { this._id = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "joinWidth", { get: function() { return this._joinWidth }, set: function(t) { this._joinWidth = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "joinHeight", { get: function() { return this._joinHeight }, set: function(t) { this._joinHeight = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "merged", { get: function() { return -1 != this._parentJoin }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "changeTopPosition", { get: function() { if (this.parent.stimulsoft.is(i.StiTable)) { return this.parent.components.indexOf(this) >= this.parent.stimulsoft.as(i.StiTable).columnCount } return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "changeLeftPosition", { get: function() { if (this.parent.stimulsoft.is(i.StiTable)) { var t = this.parent.components.indexOf(this) , e = 0; while (e < this.parent.components.count) { if (e == t) return !1; e += this.parent.stimulsoft.as(i.StiTable).columnCount } return !0 } return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "changeRightPosition", { get: function() { if (this.parent.stimulsoft.is(i.StiTable)) { var t = this.parent.components.indexOf(this) , e = this.parent.stimulsoft.as(i.StiTable).columnCount - 1; while (e < this.parent.components.count) { if (e == t) return !1; e += this.parent.stimulsoft.as(i.StiTable).columnCount } } return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "tableTag", { get: function() { return this._tableTag }, set: function(t) { this._tableTag = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "cellType", { get: function() { return this._cellType }, set: function(t) { this._cellType = t; var e = this.parent.stimulsoft.as(i.StiTable); if (null != e) switch (t) { case i.StiTablceCellType.Text: e.changeTableCellContentInText(this); break; case i.StiTablceCellType.CheckBox: e.changeTableCellContentInCheckBox(this); break; case i.StiTablceCellType.RichText: e.changeTableCellContentInRichText(this); break } }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "fixedWidth", { get: function() { return this._fixedWidth }, set: function(t) { this._fixedWidth = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "column", { get: function() { return this._column }, set: function(t) { this._column = t }, enumerable: !0, configurable: !0 }), u.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), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.stimulsoft.as(i.IStiTableCell).id == t) return a } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return null } , u.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), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.stimulsoft.as(i.IStiTableCell).id == this._joinCells[t]) return a } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return null } , u.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 } , u.prototype.createJoin = function() { var t = this.parent.stimulsoft.as(i.StiTable); if (null == t && null == this.page) return; var e = 0 , r = 0 , n = { ref: e } , o = { ref: r } , s = { ref: this._joinWidth } , l = { ref: this._joinHeight }; if (this._joinCells = t.createJoin(n, o, s, l), 0 == this._joinCells.length) return; e = n.ref, r = o.ref, this._joinWidth = s.ref, this._joinHeight = l.ref; for (var u = 0, c = 0, m = 0; m < this._joinCells.length - 1; m++) { var p = this.getJoinComponentByIndex(m); 0 == m && (u = p.left, c = p.top), p.enabled = !1, p.stimulsoft.as(i.IStiTableCell).parentJoin = this._id } this._parentJoin = this._id, this.clientRectangle = new a(u,c,e,r) } , u.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(i.IStiTableCell).parentJoin = -1 } this.clientRectangle = this.getNewClientRectangle(), this._joinCells = new Array(0), this._parentJoin = -1, this._joinWidth = 0, this._joinHeight = 0 } , u.prototype.getNewClientRectangle = function() { var t = this.getJoinComponentByIndex(this._joinCells.length - 2) , e = this.parent.components.indexOf(t); return this.parent.components.indexOf(this) - e == 1 ? new a(t.right,t.top,this.right - t.right,t.height) : new a(t.left,t.bottom,t.width,this.bottom - t.bottom) } , u.prototype.setJoinSize = function() { if (!this._join) return; var t = this.getJoinComponentByIndex(0) , e = t.left , r = t.top; this.clientRectangle = new a(e,r,this.right - e,this.bottom - r) } , u.prototype.getRealHeightAfterInsertRows = function() { if (this._join) { if (1 == this._joinHeight) return t.prototype.getHeight.call(this); for (var e = 0, r = +this.parent.components.indexOf(this.getJoinComponentByIndex(0)) / this.parent.stimulsoft.as(i.StiTable).columnCount, n = +this.parent.components.indexOf(this) / this.parent.stimulsoft.as(i.StiTable).columnCount, o = r; o < n; o++) { var a = o * this.parent.stimulsoft.as(i.StiTable).columnCount; e += this.parent.components.getByIndex(a).height } return t.prototype.getHeight.call(this) - e } return t.prototype.getHeight.call(this) } , u.prototype.getRealHeight = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , n = this.parent.components.indexOf(e); return this.parent.stimulsoft.as(i.StiTable).columnCount > 1 && r - n == 1 ? e.height : t.prototype.getBottom.call(this) - e.bottom } return t.prototype.getHeight.call(this) } , u.prototype.getRealTop = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , n = this.parent.components.indexOf(e); return this.parent.stimulsoft.as(i.StiTable).columnCount > 1 && r - n == 1 ? e.top : e.bottom } return t.prototype.getTop.call(this) } , u.prototype.getRealWidth = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , n = this.parent.components.indexOf(e); return this.parent.stimulsoft.as(i.StiTable).rowCount > 1 ? r - n == 1 ? this.right - e.right : e.width : this.right - e.right } return t.prototype.getWidth.call(this) } , u.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 this.parent.stimulsoft.as(i.StiTable).rowCount > 1 ? e - r == 1 ? t.right : t.left : t.right } return this.left } , u.prototype.createNew = function() { return new u } , u }(r.StiImage); i.StiTableCellImage = u }(i = r.Table || (r.Table = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.StiJsonReportObjectHelper , a = t.System.Drawing.Rectangle , s = t.System.Drawing.Size , l = t.System.Enum , u = t.System.Drawing.Color , c = function(t) { function c() { var e = t.call(this) || this; return e._cellDockStyle = r.StiDockStyle.None, e._parentJoinCell = null, e._joinCells = new Array(0), e._parentJoin = -1, e._join = !1, e._id = -1, e._joinWidth = 0, e._joinHeight = 0, e._tableTag = null, e._cellType = i.StiTablceCellType.RichText, e._fixedWidth = !1, e._column = 0, e.backColor = u.white, e } return __extends(c, t), c.prototype.implements = function() { return c.ImplementsStiTableCellRichText || (c.ImplementsStiTableCellRichText = t.prototype.implements.call(this).concat([i.IStiTableCell, i.IStiTableComponent, n])), c.ImplementsStiTableCellRichText } , c.prototype.saveToJsonObject = function(e) { var n = t.prototype.saveToJsonObject.call(this, e); return n.removeProperty("Locked"), n.removeProperty("Linked"), n.addPropertyEnum("CellDockStyle", r.StiDockStyle, this.cellDockStyle, r.StiDockStyle.None), n.addPropertyJObject("JoinCells", o.Serialize.numberArray(this.joinCells)), n.addPropertyNumber("ParentJoin", this.parentJoin, -1), n.addPropertyBool("Join", this.join), n.addPropertyNumber("ID", this.id, -1), n.addPropertyNumber("JoinWidth", this.joinWidth), n.addPropertyNumber("JoinHeight", this.joinHeight), n.addPropertyEnum("CellType", i.StiTablceCellType, this.cellType, i.StiTablceCellType.RichText), n.addPropertyBool("FixedWidth", this.fixedWidth), n } , c.prototype.loadFromJsonObject = function(e) { var n, a; t.prototype.loadFromJsonObject.call(this, e); try { for (var s = __values(e.properties()), u = s.next(); !u.done; u = s.next()) { var c = u.value; switch (c.name) { case "CellDockStyle": this._cellDockStyle = l.parse(r.StiDockStyle, c.value); break; case "JoinCells": this._joinCells = o.Deserialize.numberArray(c.value); break; case "ParentJoin": this._parentJoin = c.value.stimulsoft.toNumber(); break; case "Join": this._join = c.value.stimulsoft.toBoolean(); break; case "ID": this._id = c.value.stimulsoft.toNumber(); break; case "JoinWidth": this._joinWidth = c.value.stimulsoft.toNumber(); break; case "JoinHeight": this._joinHeight = c.value.stimulsoft.toNumber(); break; case "CellType": this._cellType = l.parse(i.StiTablceCellType, c.value); break; case "FixedWidth": this._fixedWidth = c.value.stimulsoft.toBoolean(); break } } } catch (t) { n = { error: t } } finally { try { u && !u.done && (a = s.return) && a.call(s) } finally { if (n) throw n.error } } } , c.prototype.loadJoinCellsFromXml = function(t) { for (var e = [], r = 0, i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; "value" == n.nodeName && (e[r] = n.textContent.stimulsoft.toNumber(), r++) } return e } , c.prototype.loadFromXml = function(e, n) { t.prototype.loadFromXml.call(this, e, n); for (var o = 0; o < e.childNodes.length; o++) { var a = e.childNodes[o]; switch (a.nodeName) { case "CellDockStyle": this._cellDockStyle = l.parse(r.StiDockStyle, a.textContent); break; case "JoinCells": this._joinCells = this.loadJoinCellsFromXml(a); break; case "ParentJoin": this._parentJoin = a.textContent.stimulsoft.toNumber(); break; case "Join": this._join = a.textContent.stimulsoft.toBoolean(); break; case "ID": this._id = a.textContent.stimulsoft.toNumber(); break; case "JoinWidth": this._joinWidth = a.textContent.stimulsoft.toNumber(); break; case "JoinHeight": this._joinHeight = a.textContent.stimulsoft.toNumber(); break; case "CellType": this._cellType = l.parse(i.StiTablceCellType, a.textContent); break; case "FixedWidth": this._fixedWidth = a.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return e.StiComponentId.StiTableCellRichText }, enumerable: !0, configurable: !0 }), c.prototype.clone = function(e) { var r = t.prototype.clone.call(this, e).stimulsoft.as(c); return r._join = this._join, r.minSize = new s(0,0), r.maxSize = new s(0,0), r._cellDockStyle = this._cellDockStyle, r._joinWidth = this._joinWidth, r._joinHeight = this._joinHeight, r._cellType = this._cellType, r._column = this._column, r._fixedWidth = this._fixedWidth, r._id = this._id, r._joinCells = this._joinCells.clone(), -1 != this._parentJoin ? r._parentJoin = this._parentJoin : r._parentJoin = -1, r } , Object.defineProperty(c.prototype, "locked", { get: function() { return this.isDesigning && !this.report.isPageDesigner }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "linked", { get: function() { return this.isDesigning && !this.report.isPageDesigner }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "canShrink", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "canGrow", { get: function() { return t.prototype.getCanGrow.call(this) }, set: function(e) { t.prototype.getCanGrow.call(this) != e && (t.prototype.setCanGrow.call(this, e), this.parent.stimulsoft.is(i.StiTable) && this.parent.changeGrowToHeightAtCell(this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "cellDockStyle", { get: function() { return this._cellDockStyle }, set: function(t) { this._cellDockStyle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "parentJoinCell", { get: function() { return this._parentJoinCell }, set: function(t) { this._parentJoinCell = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "joinCells", { get: function() { return this._joinCells }, set: function(t) { this._joinCells = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "parentJoin", { get: function() { return this._parentJoin }, set: function(t) { this._parentJoin = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.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: !0, configurable: !0 }), Object.defineProperty(c.prototype, "id", { get: function() { return this._id }, set: function(t) { this._id = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "joinWidth", { get: function() { return this._joinWidth }, set: function(t) { this._joinWidth = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "joinHeight", { get: function() { return this._joinHeight }, set: function(t) { this._joinHeight = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "merged", { get: function() { return -1 != this._parentJoin }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "changeTopPosition", { get: function() { if (this.parent.stimulsoft.is(i.StiTable)) { return this.parent.components.indexOf(this) >= this.parent.stimulsoft.as(i.StiTable).columnCount } return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "changeLeftPosition", { get: function() { if (this.parent.stimulsoft.is(i.StiTable)) { var t = this.parent.components.indexOf(this) , e = 0; while (e < this.parent.components.count) { if (e == t) return !1; e += this.parent.stimulsoft.as(i.StiTable).columnCount } return !0 } return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "changeRightPosition", { get: function() { if (this.parent.stimulsoft.is(i.StiTable)) { var t = this.parent.components.indexOf(this) , e = this.parent.stimulsoft.as(i.StiTable).columnCount - 1; while (e < this.parent.components.count) { if (e == t) return !1; e += this.parent.stimulsoft.as(i.StiTable).columnCount } } return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "tableTag", { get: function() { return this._tableTag }, set: function(t) { this._tableTag = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "cellType", { get: function() { return this._cellType }, set: function(t) { this._cellType = t; var e = this.parent.stimulsoft.as(i.StiTable); if (null != e) switch (t) { case i.StiTablceCellType.Text: e.changeTableCellContentInText(this); break; case i.StiTablceCellType.Image: e.changeTableCellContentInImage(this); break; case i.StiTablceCellType.CheckBox: e.changeTableCellContentInCheckBox(this); break } }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "fixedWidth", { get: function() { return this._fixedWidth }, set: function(t) { this._fixedWidth = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "column", { get: function() { return this._column }, set: function(t) { this._column = t }, enumerable: !0, configurable: !0 }), c.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), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.stimulsoft.as(i.IStiTableCell).id == t) return a } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return null } , c.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), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.stimulsoft.as(i.IStiTableCell).id == this._joinCells[t]) return a } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return null } , c.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 } , c.prototype.createJoin = function() { var t = this.parent.stimulsoft.as(i.StiTable); if (null == t && null == this.page) return; var e = 0 , r = 0 , n = { ref: e } , o = { ref: r } , s = { ref: this._joinWidth } , l = { ref: this._joinHeight }; if (this._joinCells = t.createJoin(n, o, s, l), 0 == this._joinCells.length) return; e = n.ref, r = o.ref, this._joinWidth = s.ref, this._joinHeight = l.ref; for (var u = 0, c = 0, m = 0; m < this._joinCells.length - 1; m++) { var p = this.getJoinComponentByIndex(m); 0 == m && (u = p.left, c = p.top), p.enabled = !1, p.stimulsoft.as(i.IStiTableCell).parentJoin = this._id } this._parentJoin = this._id, this.clientRectangle = new a(u,c,e,r) } , c.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(i.IStiTableCell).parentJoin = -1 } this.clientRectangle = this.getNewClientRectangle(), this._joinCells = new Array(0), this._parentJoin = -1, this._joinWidth = 0, this._joinHeight = 0 } , c.prototype.getNewClientRectangle = function() { var t = this.getJoinComponentByIndex(this._joinCells.length - 2) , e = this.parent.components.indexOf(t); return this.parent.components.indexOf(this) - e == 1 ? new a(t.right,t.top,this.right - t.right,t.height) : new a(t.left,t.bottom,t.width,this.bottom - t.bottom) } , c.prototype.setJoinSize = function() { if (!this._join) return; var t = this.getJoinComponentByIndex(0) , e = t.left , r = t.top; this.clientRectangle = new a(e,r,this.right - e,this.bottom - r) } , c.prototype.getRealHeightAfterInsertRows = function() { if (this._join) { if (1 == this._joinHeight) return t.prototype.getHeight.call(this); for (var e = 0, r = +this.parent.components.indexOf(this.getJoinComponentByIndex(0)) / this.parent.stimulsoft.as(i.StiTable).columnCount, n = +this.parent.components.indexOf(this) / this.parent.stimulsoft.as(i.StiTable).columnCount, o = r; o < n; o++) { var a = o * this.parent.stimulsoft.as(i.StiTable).columnCount; e += this.parent.components.getByIndex(a).height } return t.prototype.getHeight.call(this) - e } return t.prototype.getHeight.call(this) } , c.prototype.getRealHeight = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , n = this.parent.components.indexOf(e); return this.parent.stimulsoft.as(i.StiTable).columnCount > 1 && r - n == 1 ? e.height : t.prototype.getBottom.call(this) - e.bottom } return t.prototype.getHeight.call(this) } , c.prototype.getRealTop = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , n = this.parent.components.indexOf(e); return this.parent.stimulsoft.as(i.StiTable).columnCount > 1 && r - n == 1 ? e.top : e.bottom } return t.prototype.getTop.call(this) } , c.prototype.getRealWidth = function() { if (this._join) { var e = this.getJoinComponentByIndex(this._joinCells.length - 2) , r = this.parent.components.indexOf(this) , n = this.parent.components.indexOf(e); return this.parent.stimulsoft.as(i.StiTable).rowCount > 1 ? r - n == 1 ? this.right - e.right : e.width : this.right - e.right } return t.prototype.getWidth.call(this) } , c.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 this.parent.stimulsoft.as(i.StiTable).rowCount > 1 ? e - r == 1 ? t.right : t.left : t.right } return this.left } , c.prototype.createNew = function() { return new c } , c }(r.StiRichText); i.StiTableCellRichText = c }(i = r.Table || (r.Table = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function() { function r() {} return r.isNegativeInRed = function(r) { if (null == r) return !1; if (r.stimulsoft.is(e.StiNumberFormatService) && (r.state & t.StiTextFormatState.NegativeInRed) > 0) return !0; if (r.stimulsoft.is(e.StiCurrencyFormatService) && (r.state & t.StiTextFormatState.NegativeInRed) > 0) return !0; if (r.stimulsoft.is(e.StiPercentageFormatService) && (r.state & t.StiTextFormatState.NegativeInRed) > 0) return !0; return !1 } , r }(); e.StiNegativeColorChecker = r }(e = t.TextFormats || (t.TextFormats = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.Base.Localization.StiLocalization , i = t.System.ICloneable , n = function() { function t(t, e, r, i, n) { this.falseValue = t, this.trueValue = e, this.falseDisplay = r, this.trueDisplay = i, this.nullDisplay = n } return t.prototype.implements = function() { return [i] } , t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , t }() , o = function(t) { function e(e, i, n, o, a) { void 0 === e && (e = "false"), void 0 === i && (i = "true"), void 0 === n && (n = r.get("FormFormatEditor", "nameFalse")), void 0 === o && (o = r.get("FormFormatEditor", "nameTrue")), void 0 === a && (a = " "); var s = t.call(this) || this; return s.falseValue = e, s.trueValue = i, s.falseDisplay = n, s.trueDisplay = o, s.nullDisplay = a, s } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return null != this.bits && (r.addPropertyStringNullOrEmpty("FalseValue", this.bits.falseValue), r.addPropertyStringNullOrEmpty("TrueValue", this.bits.trueValue), r.addPropertyStringNullOrEmpty("FalseDisplay", this.bits.falseDisplay), r.addPropertyStringNullOrEmpty("TrueDisplay", this.bits.trueDisplay), r.addPropertyStringNullOrEmpty("NullDisplay", this.bits.nullDisplay)), r } , e.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "FalseValue": this.falseValue = a.value; break; case "TrueValue": this.trueValue = a.value; break; case "FalseDisplay": this.falseDisplay = a.value; break; case "TrueDisplay": this.trueDisplay = a.value; break; case "NullDisplay": this.nullDisplay = a.value; break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , e.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 } } } , e.prototype.clone = function() { var e = t.prototype.clone.call(this); return null != this.bits && (e.bits = this.bits.clone()), e } , Object.defineProperty(e.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 n(t,this.trueValue,this.falseDisplay,this.trueDisplay,this.nullDisplay) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 n(this.falseValue,t,this.falseDisplay,this.trueDisplay,this.nullDisplay) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 n(this.falseValue,this.trueValue,t,this.trueDisplay,this.nullDisplay) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 n(this.falseValue,this.trueValue,this.falseDisplay,t,this.nullDisplay) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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 n(this.falseValue,this.trueValue,this.falseDisplay,this.trueDisplay,t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "sample", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), e.prototype.equals = function(t) { var e = t; if (null == e) return !1; if (this.falseValue != e.falseValue) return !1; if (this.trueValue != e.trueValue) return !1; if (this.falseDisplay != e.falseDisplay) return !1; if (this.trueDisplay != e.trueDisplay) return !1; if (this.nullDisplay != e.nullDisplay) return !1; if (this.stringFormat != e.stringFormat) return !1; return !0 } , e.prototype.format = function(t) { return this.format2(this.stringFormat, t) } , e.prototype.format2 = function(t, e) { if (null == e) return this.nullDisplay; var r = e.toString(); if (null != r && null != this.trueValue && r.toLowerCase() == this.trueValue.toLowerCase()) return this.trueDisplay; if (null != r && null != this.trueValue && r.toLowerCase() == this.falseValue.toLowerCase()) return this.falseDisplay; return this.nullDisplay } , e.prototype.createNew = function() { return new e } , e }(e.StiFormatService); e.StiBooleanFormatService = o }(r = e.TextFormats || (e.TextFormats = {})) }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.StiJson , n = t.System.ICloneable , o = t.Base.JsonReportObject.IStiJsonReportObject , a = t.Report.Components.StiInteractionSortDirection , s = t.Report.Components.StiDrillDownMode , l = t.Base.StiGuidUtils , u = t.System.Enum , c = function() { function c() { this._sortingEnabled = !0, this._sortingColumn = "", this._sortingIndex = 0, this._sortingDirection = a.None, this._drillDownEnabled = !1, this._drillDownReport = "", this._drillDownMode = s.MultiPage, this._drillDownParameter1 = null, this._drillDownParameter2 = null, this._drillDownParameter3 = null, this._drillDownParameter4 = null, this._drillDownParameter5 = null, this._drillDownPageGuid = null, this.parentComponent = null, this.drillDownParameter1 = new e.StiDrillDownParameter, this.drillDownParameter2 = new e.StiDrillDownParameter, this.drillDownParameter3 = new e.StiDrillDownParameter, this.drillDownParameter4 = new e.StiDrillDownParameter, this.drillDownParameter5 = new e.StiDrillDownParameter } return c.prototype.implements = function() { return [n, o] } , c.prototype.saveToJsonObject = function(t) { var e = new i; 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", s, this.drillDownMode, s.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 } , c.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 = u.parse(s, u.getName(s, 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 } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , c.loadInteractionFromJsonObject = function(t) { var r = t.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value , i = null; switch (r) { case "StiInteraction": i = new c; break; case "StiBandInteraction": i = new e.StiBandInteraction; break; case "StiCrossHeaderInteraction": i = new e.StiCrossHeaderInteraction; break } return i.loadFromJsonObject(t), i } , c.loadInteractionFromXml = function(e) { switch (e.attributes.getNamedItem("type").value) { case "Stimulsoft.Report.Components.StiInteraction": var r = new t.Report.Components.StiInteraction; return r.loadFromXml(e), r; case "Stimulsoft.Report.Components.StiBandInteraction": var i = new t.Report.Components.StiBandInteraction; return i.loadFromXml(e), i; case "Stimulsoft.Report.Components.StiCrossHeaderInteraction": var n = new t.Report.Components.StiCrossHeaderInteraction; return n.loadFromXml(e), n } return null } , c.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 = u.parse(s, 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 } } } , c.prototype.getReport = function() { if (null == this.parentComponent) return null; return this.parentComponent.report } , c.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , c.prototype.isDefault = function() { return this.sortingEnabled && r.isNullOrEmpty(this.sortingColumn) && !this.drillDownEnabled && r.isNullOrEmpty(this.drillDownReport) && null == this.drillDownPageGuid && this.drillDownParameter1.isDefault() && this.drillDownParameter2.isDefault() && this.drillDownParameter3.isDefault() && this.drillDownParameter4.isDefault() && this.drillDownParameter5.isDefault() } , Object.defineProperty(c.prototype, "sortingEnabled", { get: function() { return this._sortingEnabled }, set: function(t) { this._sortingEnabled = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "sortingColumn", { get: function() { return this._sortingColumn }, set: function(t) { this._sortingColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "sortingIndex", { get: function() { return this._sortingIndex }, set: function(t) { this._sortingIndex = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "sortingDirection", { get: function() { return this._sortingDirection }, set: function(t) { this._sortingDirection = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drillDownEnabled", { get: function() { return this._drillDownEnabled }, set: function(t) { this._drillDownEnabled = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drillDownReport", { get: function() { return this._drillDownReport }, set: function(t) { this._drillDownReport = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drillDownMode", { get: function() { return this._drillDownMode }, set: function(t) { this._drillDownMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drillDownParameter1", { get: function() { return this._drillDownParameter1 }, set: function(t) { this._drillDownParameter1 != t && (this._drillDownParameter1 = t, null != t && (t.interaction = this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drillDownParameter2", { get: function() { return this._drillDownParameter2 }, set: function(t) { this._drillDownParameter2 != t && (this._drillDownParameter2 = t, null != t && (t.interaction = this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drillDownParameter3", { get: function() { return this._drillDownParameter3 }, set: function(t) { this._drillDownParameter3 != t && (this._drillDownParameter3 = t, null != t && (t.interaction = this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drillDownParameter4", { get: function() { return this._drillDownParameter4 }, set: function(t) { this._drillDownParameter4 != t && (this._drillDownParameter4 = t, null != t && (t.interaction = this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drillDownParameter5", { get: function() { return this._drillDownParameter5 }, set: function(t) { this._drillDownParameter5 != t && (this._drillDownParameter5 = t, null != t && (t.interaction = this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drillDownPage", { get: function() { var t, e; if (null == this.parentComponent || null == this.parentComponent.report) return null; try { for (var r = __values(this.parentComponent.report.pages.list), i = r.next(); !i.done; i = r.next()) { var n = i.value; if (n.guid == this.drillDownPageGuid) return n } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } return null }, set: function(t) { null == t ? this._drillDownPageGuid = null : (null == t.guid && (t.guid = l.newGuid()), this._drillDownPageGuid = t.guid) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drillDownPageGuid", { get: function() { return this._drillDownPageGuid }, set: function(t) { this._drillDownPageGuid = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "bookmark", { get: function() { return this.parentComponent.bookmark }, set: function(t) { this.parentComponent.bookmark = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "hyperlink", { get: function() { return this.parentComponent.hyperlink }, set: function(t) { this.parentComponent.hyperlink = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "tag", { get: function() { return this.parentComponent.tag }, set: function(t) { this.parentComponent.tag = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "toolTip", { get: function() { return this.parentComponent.toolTip }, set: function(t) { this.parentComponent.toolTip = t }, enumerable: !0, configurable: !0 }), c.prototype.getSortDataBandName = function() { if (r.isNullOrEmpty(this.sortingColumn) || !this.sortingEnabled) return ""; var t = this.sortingColumn.indexOf("."); if (-1 != t) return this.sortingColumn.substr(0, t); return "" } , c.prototype.getSortColumns = function() { var t = this.getSortColumnsString(); if (0 == t.length) return null; return t.split(".") } , c.prototype.getSortColumnsString = function() { if (r.isNullOrEmpty(this.sortingColumn) || !this.sortingEnabled) return ""; var t = this.sortingColumn.indexOf("."); if (-1 != t) return this.sortingColumn.substr(t + 1); return "" } , c }(); e.StiInteraction = c }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t.collapsingEnabled = !1, t.selectionEnabled = !1, t.collapseGroupFooter = !1, t } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("CollapsingEnabled", this.collapsingEnabled), r.addPropertyBool("SelectionEnabled", this.selectionEnabled), r.addPropertyBool("CollapseGroupFooter", this.collapseGroupFooter), r } , r.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "CollapsingEnabled": this.collapsingEnabled = a.value.stimulsoft.toBoolean(); break; case "SelectionEnabled": this.selectionEnabled = a.value.stimulsoft.toBoolean(); break; case "CollapseGroupFooter": this.collapseGroupFooter = a.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , r.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "CollapsingEnabled": this.collapsingEnabled = i.textContent.stimulsoft.toBoolean(); break; case "SelectionEnabled": this.selectionEnabled = i.textContent.stimulsoft.toBoolean(); break; case "CollapseGroupFooter": this.collapseGroupFooter = i.textContent.stimulsoft.toBoolean(); break } } } , r.prototype.isDefault = function() { return e.prototype.isDefault.call(this) && !this.collapsingEnabled && !this.selectionEnabled } , Object.defineProperty(r.prototype, "collapsed", { get: function() { return this.parentComponent.stimulsoft.is(t.StiGroupHeaderBand), this.parentComponent.collapsed }, set: function(e) { this.parentComponent.stimulsoft.is(t.StiGroupHeaderBand), this.parentComponent.collapsed = e }, enumerable: !0, configurable: !0 }), r }(t.StiInteraction); t.StiBandInteraction = e }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(t, e) { void 0 === t && (t = ""), void 0 === e && (e = null), this._bookmarks = null, this._text = "", this._pageIndex = -1, this._text = t } return e.prototype.add = function(t) { -1 == this.bookmarks.indexOf(t) && this.bookmarks.add(new e(t)) } , Object.defineProperty(e.prototype, "bookmarks", { get: function() { return null == this._bookmarks && (this._bookmarks = new t.StiBookmarksCollection), this._bookmarks }, set: function(t) { this._bookmarks = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "text", { get: function() { return this._text }, set: function(t) { this._text = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "componentGuid", { get: function() { return this._componentGuid }, set: function(t) { this._componentGuid = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isManualBookmark", { get: function() { return this._isManualBookmark }, set: function(t) { this._isManualBookmark = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "pageIndex", { get: function() { return this._pageIndex }, set: function(t) { this._pageIndex = t }, enumerable: !0, configurable: !0 }), e }(); t.StiBookmark = e }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.CollectionBase , i = function(t) { function r() { return null !== t && t.apply(this, arguments) || this } return __extends(r, t), r.prototype.indexOf = function(t) { var r, i; if (t.stimulsoft.is(e.StiBookmark)) return this.list.indexOf(t); var n = 0; try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { if (a.value.text == t) return n; n++ } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return -1 } , r.prototype.getByName = function(t) { var r = null , i = this.indexOf(t); return -1 == i ? (r = new e.StiBookmark(t,this), this.add(r)) : r = this.getByIndex(i), r } , r }(r); e.StiBookmarksCollection = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.fillComponentPlacement = function(e) { var r = e.parent; while (null != r && !r.stimulsoft.is(t.StiPage) && (!r.stimulsoft.is(t.StiBand) || r.isCross)) r = r.parent; if (null == r) return; if (r.stimulsoft.is(t.StiPage) && (StiOptions.Export.optimizeDataOnlyMode && e.stimulsoft.is(t.StiBand) ? r = e.stimulsoft.as(t.StiContainer) : e.componentPlacement = "p"), r.stimulsoft.is(t.StiBand)) { if (r.stimulsoft.is(t.StiChildBand) && null != r.parent) { var i = r.parent , n = i.components.indexOf(r); if (n > 0) { while (n > 0 && (i.components.getByIndex(n).stimulsoft.is(t.StiChildBand) || !i.components.getByIndex(n).stimulsoft.is(t.StiBand))) n--; i.components.getByIndex(n).stimulsoft.is(t.StiBand) && (r = i.components.getByIndex(n)) } } r.stimulsoft.is(t.StiReportTitleBand) && (e.componentPlacement = "rt"), r.stimulsoft.is(t.StiReportSummaryBand) && (e.componentPlacement = "rs"), r.stimulsoft.is(t.StiPageHeaderBand) && (e.componentPlacement = "ph"), r.stimulsoft.is(t.StiPageFooterBand) && (e.componentPlacement = "pf"), r.stimulsoft.is(t.StiHeaderBand) && (r.printOnAllPages ? e.componentPlacement = "h.ap" : e.componentPlacement = "h"), r.stimulsoft.is(t.StiFooterBand) && (r.printOnAllPages ? e.componentPlacement = "f.ap" : e.componentPlacement = "f"), r.stimulsoft.is(t.StiDataBand) && (e.componentPlacement = "d"), r.stimulsoft.is(t.StiGroupHeaderBand) && (e.componentPlacement = "gh"), r.stimulsoft.is(t.StiGroupFooterBand) && (e.componentPlacement = "gf"), r.stimulsoft.is(t.StiEmptyBand) && (e.componentPlacement = "e") } e.componentPlacement.length > 0 && (e.parent.isCross ? e.componentPlacement += "." + r.name : e.componentPlacement += "." + e.parent.name) } , e }(); t.StiComponentHelper = e }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Collections.CollectionBase , o = t.System.Collections.Hashtable , a = t.Report.Components.StiComponent , s = t.Report.Components.StiBand , l = t.System.ICloneable , u = t.Base.JsonReportObject.IStiJsonReportObject , c = t.Base.StiJson , m = t.Base.StiActivator , p = function(n) { function p(t) { void 0 === t && (t = null); var e = n.call(this) || this; return e.parent = t, e } return __extends(p, n), p.prototype.implements = function() { return [l, u] } , p.prototype.saveToJsonObject = function(t) { var e, 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(t)), n++ } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } return i } , p.prototype.loadFromJsonObject = function(t) { var e, r, n = function(t) { var e = t.value , r = e.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value , n = StiOptions.Services.components.firstOrDefault(function(t) { return t.stimulsoft.getType().stimulsoft.getTypeName() == r }); if (null == n) throw i.format("Type {0} is not found!", r); var a = new n; o.add(a); try { a.loadFromJsonObject(t.value) } catch (t) { o.list.pop() } }, o = this; try { for (var a = __values(t.properties()), s = a.next(); !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 } } } , p.prototype.loadFromXml = function(e, i) { for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; if (null == o.attributes) continue; if (null != o.attributes.getNamedItem("type")) { var a = o.attributes.getNamedItem("type").value; switch (a) { case "Stimulsoft.Report.Components.StiReportTitleBand": case "ReportTitleBand": var s = new r.StiReportTitleBand; this.add(s), s.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiReportSummaryBand": case "ReportSummaryBand": var l = new r.StiReportSummaryBand; this.add(l), l.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiPageHeaderBand": case "PageHeaderBand": var u = new r.StiPageHeaderBand; this.add(u), u.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiPageFooterBand": case "PageFooterBand": var c = new r.StiPageFooterBand; this.add(c), c.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiGroupHeaderBand": case "GroupHeaderBand": var p = new r.StiGroupHeaderBand; this.add(p), p.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiGroupFooterBand": case "GroupFooterBand": var h = new r.StiGroupFooterBand; this.add(h), h.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiHeaderBand": case "HeaderBand": var d = new r.StiHeaderBand; this.add(d), d.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiFooterBand": case "FooterBand": var g = new r.StiFooterBand; this.add(g), g.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiColumnHeaderBand": case "ColumnHeaderBand": var f = new r.StiColumnHeaderBand; this.add(f), f.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiColumnFooterBand": case "ColumnFooterBand": var S = new r.StiColumnFooterBand; this.add(S), S.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiHierarchicalBand": case "HierarchicalBand": var A = new r.StiHierarchicalBand; this.add(A), A.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiEmptyBand": case "EmptyBand": var y = new r.StiEmptyBand; this.add(y), y.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiOverlayBand": case "OverlayBand": var w = new r.StiOverlayBand; this.add(w), w.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiDataBand": case "DataBand": var b = new r.StiDataBand; this.add(b), b.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.Table.StiTable": case "Table": var v = new t.Report.Components.Table.StiTable; this.add(v), v.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.Table.StiTableCell": case "TableCell": var C = new t.Report.Components.Table.StiTableCell; this.add(C), C.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.Table.StiTableCellCheckBox": case "TableCellCheckBox": var E = new t.Report.Components.Table.StiTableCellCheckBox; this.add(E), E.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.Table.StiTableCellImage": case "TableCellImage": var B = new t.Report.Components.Table.StiTableCellImage; this.add(B), B.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.Table.StiTableCellRichText": case "TableCellRichText": var T = new t.Report.Components.Table.StiTableCellRichText; this.add(T), T.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiPage": case "Page": var I = new t.Report.Components.StiPage; this.add(I), I.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiPanel": case "Panel": var x = new t.Report.Components.StiPanel; this.add(x), x.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiContainer": case "Container": var F = new t.Report.Components.StiContainer; this.add(F), F.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiCheckBox": case "CheckBox": var D = new t.Report.Components.StiCheckBox; this.add(D), D.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiChildBand": case "ChildBand": var R = new t.Report.Components.StiChildBand; this.add(R), R.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiText": case "Text": var P = new t.Report.Components.StiText; this.add(P), P.loadFromXml(o, i); break; case "Clone": var N = new t.Report.Components.StiClone; this.add(N), N.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiImage": case "Image": var k = new t.Report.Components.StiImage; this.add(k), k.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiRichText": case "RichText": var M = new t.Report.Components.StiRichText; this.add(M), M.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiShape": case "Shape": var O = new t.Report.Components.StiShape; this.add(O), O.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiSubReport": case "SubReport": var _ = new t.Report.Components.StiSubReport; this.add(_), _.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiHorizontalLinePrimitive": case "HorizontalLinePrimitive": var L = new t.Report.Components.StiHorizontalLinePrimitive; this.add(L), L.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiVerticalLinePrimitive": case "VerticalLinePrimitive": var j = new t.Report.Components.StiVerticalLinePrimitive; this.add(j), j.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiRectanglePrimitive": case "RectanglePrimitive": var H = new t.Report.Components.StiRectanglePrimitive; this.add(H), H.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiRoundedRectanglePrimitive": case "RoundedRectanglePrimitive": var G = new t.Report.Components.StiRoundedRectanglePrimitive; this.add(G), G.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiStartPointPrimitive": case "StartPointPrimitive": var Q = new t.Report.Components.StiStartPointPrimitive; this.add(Q), Q.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiEndPointPrimitive": case "EndPointPrimitive": var Y = new t.Report.Components.StiEndPointPrimitive; this.add(Y), Y.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiCrossDataBand": case "CrossDataBand": var U = new t.Report.Components.StiCrossDataBand; this.add(U), U.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiCrossHeaderBand": case "CrossHeaderBand": var J = new t.Report.Components.StiCrossHeaderBand; this.add(J), J.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiCrossFooterBand": case "CrossFooterBand": var W = new t.Report.Components.StiCrossFooterBand; this.add(W), W.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiCrossGroupHeaderBand": case "CrossGroupHeaderBand": var V = new t.Report.Components.StiCrossGroupHeaderBand; this.add(V), V.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiCrossGroupFooterBand": case "CrossGroupFooterBand": var z = new t.Report.Components.StiCrossGroupFooterBand; this.add(z), z.loadFromXml(o, i); break; case "Stimulsoft.Report.BarCodes.StiBarCode": case "BarCode": var X = new t.Report.BarCodes.StiBarCode; this.add(X); try { X.loadFromXml(o, i) } catch (t) { this.list.pop() } break; case "Stimulsoft.Report.CrossTab.StiCrossTab": case "CrossTab": var K = new t.Report.CrossTab.StiCrossTab; this.add(K), K.loadFromXml(o); break; case "Stimulsoft.Report.CrossTab.StiCrossColumn": case "CrossColumn": var Z = new t.Report.CrossTab.StiCrossColumn; this.add(Z), Z.loadFromXml(o); break; case "Stimulsoft.Report.CrossTab.StiCrossTotal": case "CrossTotal": var q = new t.Report.CrossTab.StiCrossTotal; this.add(q), q.loadFromXml(o); break; case "Stimulsoft.Report.CrossTab.StiCrossRowTotal": case "CrossRowTotal": var $ = new t.Report.CrossTab.StiCrossRowTotal; this.add($), $.loadFromXml(o); break; case "Stimulsoft.Report.CrossTab.StiCrossColumnTotal": case "CrossColumnTotal": var tt = new t.Report.CrossTab.StiCrossColumnTotal; this.add(tt), tt.loadFromXml(o); break; case "Stimulsoft.Report.CrossTab.StiCrossRow": case "CrossRow": var et = new t.Report.CrossTab.StiCrossRow; this.add(et), et.loadFromXml(o); break; case "Stimulsoft.Report.CrossTab.StiCrossSummary": case "CrossSummary": var rt = new t.Report.CrossTab.StiCrossSummary; this.add(rt), rt.loadFromXml(o); break; case "Stimulsoft.Report.CrossTab.StiCrossTitle": case "CrossTitle": var it = new t.Report.CrossTab.StiCrossTitle; this.add(it), it.loadFromXml(o); break; case "Stimulsoft.Report.CrossTab.StiCrossSummaryHeader": case "CrossSummaryHeader": var nt = new t.Report.CrossTab.StiCrossSummaryHeader; this.add(nt), nt.loadFromXml(o); break; case "Stimulsoft.Report.Chart.StiChart": case "Chart": var ot = m.createObject(t.Report.Components.StiChart); ot.report = this.parent.report, this.add(ot), ot.loadFromXml(o, i); break; case "Stimulsoft.Report.Components.StiTextInCells": case "TextInCells": var at = new t.Report.Components.StiTextInCells; this.add(at), at.loadFromXml(o, i); break; case "Stimulsoft.Report.Maps.StiMap": case "Map": var st = new t.Report.Maps.StiMap; this.add(st), st.loadFromXml(o, i); break; case "Stimulsoft.Dashboard.Components.Table.StiTableElement": case "Stimulsoft.Dashboard.Components.Chart.StiChartElement": 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 lt = t.Report.Dashboard.StiDashboardCreator.createDashboardElement(a); null != lt && (this.add(lt), lt.loadFromXml(o, i)); break } } } } , p.prototype.loadDocumentFromXml = function(e) { for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; if (null == n.attributes) continue; var o = n.attributes.getNamedItem("type"); if (null != o) switch (o.value) { case "Stimulsoft.Report.Components.StiReportTitleBand": case "ReportTitleBand": var a = new r.StiReportTitleBand; this.add(a), a.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiReportSummaryBand": case "ReportSummaryBand": var s = new r.StiReportSummaryBand; this.add(s), s.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiPageHeaderBand": case "PageHeaderBand": var l = new r.StiPageHeaderBand; this.add(l), l.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiPageFooterBand": case "PageFooterBand": var u = new r.StiPageFooterBand; this.add(u), u.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiGroupHeaderBand": case "GroupHeaderBand": var c = new r.StiGroupHeaderBand; this.add(c), c.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiGroupFooterBand": case "GroupFooterBand": var p = new r.StiGroupFooterBand; this.add(p), p.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiHeaderBand": case "HeaderBand": var h = new r.StiHeaderBand; this.add(h), h.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiFooterBand": case "FooterBand": var d = new r.StiFooterBand; this.add(d), d.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiColumnHeaderBand": case "ColumnHeaderBand": var g = new r.StiColumnHeaderBand; this.add(g), g.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiColumnFooterBand": case "ColumnFooterBand": var f = new r.StiColumnFooterBand; this.add(f), f.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiHierarchicalBand": case "HierarchicalBand": var S = new r.StiHierarchicalBand; this.add(S), S.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiEmptyBand": case "EmptyBand": var A = new r.StiEmptyBand; this.add(A), A.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiOverlayBand": case "OverlayBand": var y = new r.StiOverlayBand; this.add(y), y.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiDataBand": case "DataBand": var w = new r.StiDataBand; this.add(w), w.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.Table.StiTable": case "Table": var b = new t.Report.Components.Table.StiTable; this.add(b), b.loadFromXml(n, !0); break; case "TableCell": var v = new t.Report.Components.Table.StiTableCell; this.add(v), v.parseTextFromXml(n); break; case "Stimulsoft.Report.Components.Table.StiTableCellCheckBox": case "TableCellCheckBox": var C = new t.Report.Components.Table.StiTableCellCheckBox; this.add(C), C.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.Table.StiTableCellImage": case "TableCellImage": var E = new t.Report.Components.Table.StiTableCellImage; this.add(E), E.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.Table.StiTableCellRichText": case "TableCellRichText": var B = new t.Report.Components.Table.StiTableCellRichText; this.add(B), B.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiPage": case "Page": var T = new t.Report.Components.StiPage; this.add(T), T.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiPanel": case "Panel": var I = new t.Report.Components.StiPanel; this.add(I), I.loadFromXml(n, !0); break; case "Container": var x = new t.Report.Components.StiContainer; this.add(x), x.parseContainerFromXml(n); break; case "Stimulsoft.Report.Components.StiCheckBox": case "CheckBox": var F = new t.Report.Components.StiCheckBox; this.add(F), F.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiChildBand": case "ChildBand": var D = new t.Report.Components.StiChildBand; this.add(D), D.loadFromXml(n, !0); break; case "Text": case "SystemText": var R = new t.Report.Components.StiText; this.add(R), R.parseTextFromXml(n); break; case "Stimulsoft.Report.Components.StiTextInCells": case "TextInCells": var P = new t.Report.Components.StiTextInCells; this.add(P), P.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiImage": case "Image": var N = new t.Report.Components.StiImage; this.add(N), N.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiRichText": case "RichText": var k = new t.Report.Components.StiRichText; this.add(k), k.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiShape": case "Shape": var M = new t.Report.Components.StiShape; this.add(M), M.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiSubReport": case "SubReport": var O = new t.Report.Components.StiSubReport; this.add(O), O.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiHorizontalLinePrimitive": case "HorizontalLinePrimitive": var _ = new t.Report.Components.StiHorizontalLinePrimitive; this.add(_), _.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiVerticalLinePrimitive": case "VerticalLinePrimitive": var L = new t.Report.Components.StiVerticalLinePrimitive; this.add(L), L.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiRectanglePrimitive": case "RectanglePrimitive": var j = new t.Report.Components.StiRectanglePrimitive; this.add(j), j.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiRoundedRectanglePrimitive": case "RoundedRectanglePrimitive": var H = new t.Report.Components.StiRoundedRectanglePrimitive; this.add(H), H.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiStartPointPrimitive": case "StartPointPrimitive": var G = new t.Report.Components.StiStartPointPrimitive; this.add(G), G.loadFromXml(n, !0); break; case "Stimulsoft.Report.Components.StiEndPointPrimitive": case "EndPointPrimitive": var Q = new t.Report.Components.StiEndPointPrimitive; this.add(Q), Q.loadFromXml(n, !0); break; case "Stimulsoft.Report.Chart.StiChart": case "Chart": var Y = m.createObject(t.Report.Components.StiChart); Y.report = this.parent.report, this.add(Y), Y.loadFromXml(n, !0); break; case "Stimulsoft.Report.Maps.StiMap": case "Map": var U = new t.Report.Maps.StiMap; U.report = this.parent.report, this.add(U), U.loadFromXml(n, !0); break; case "Stimulsoft.Report.BarCodes.StiBarCode": case "BarCode": var J = new t.Report.BarCodes.StiBarCode; J.report = this.parent.report, this.add(J); try { J.loadFromXml(n, !0) } catch (t) { this.list.pop() } break; case "Stimulsoft.Dashboard.Components.Table.StiTableElement": case "Stimulsoft.Dashboard.Components.Chart.StiChartElement": 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 W = t.Report.Dashboard.StiDashboardCreator.createDashboardElement(o.value); null != W && (this.add(W), W.loadFromXml(n, !0)); break } } } , p.prototype.clone = function() { var t, e, r = new p; 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 } , p.prototype.memberwiseClone = function() { var t = new (this.stimulsoft.getType()); return t.parent = this.parent, t } , p.prototype.addCore = function(t) { null != this.parent && (t.parent = this.parent, null != this.parent.page && (t.page = this.parent.page, i.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) } , p.prototype.add = function(t) { this.addCore(t) } , p.prototype.indexOf = function(t) { var e, r; if ("string" == typeof t) { var i = t.toLowerCase() , n = 0; try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { if (a.value.name.toLowerCase() == i) return n; 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 } return this.list.indexOf(t) } , p.prototype.insertRange = function(t, e) { var r, i; try { for (var n = __values(e.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; this.insert(t, a) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , p.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) } , p.prototype.remove = function(t, e) { void 0 === e && (e = !0), e && null != t.page && null != t.report && (t.parent = null), this.contains(t) && n.prototype.remove.call(this, t) } , p.prototype.getByName = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name.toLowerCase() == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , p.prototype.setByName = function(t, e) { t = t.toLowerCase(); for (var r = 0; r < this.list.length; r++) { if (this.getByIndex(r).stimulsoft.as(a).name.toLowerCase() == t) return void (this.list[r] = e) } this.addCore(e) } , p.prototype.sortByPriority = function() { if (this.count > 1) { var t = 1; while (t < this.count) if (this.list[t - 1].priority > this.list[t].priority) { var e = this.list[t - 1]; this.list[t - 1] = this.list[t], this.list[t] = e, 1 != t && t-- } else t++ } } , p.prototype.sortByTopPosition = function() { var t, e, r, i; if (this.count > 1) { var n = !0 , a = null , s = this.count; if (s > 100) { n = !1; var l = this.list[0].top; a = new o; for (var u = 0; u < s; u++) { var c = this.getByIndex(u).top; a.set(c, null), c < l && (n = !0), l = c } var m = a.keys.length; if (a.clear(), n && m < s / 2) { for (var u = 0; u < this.count; u++) { var p = this.getByIndex(u) , c = p.top , h = a.get(c); null == h && (h = [], a.set(c, h)), h.add(p) } var d = Array.create(Object, a.keys.length); a.keys.copyTo(d, 0), d = Array.sti_sort(d); var g = 0; try { for (var f = __values(d), S = f.next(); !S.done; S = f.next()) { var A = S.value , h = a.get(A); try { for (var y = (r = void 0, __values(h)), w = y.next(); !w.done; w = y.next()) { var p = w.value; this.list[g++] = p } } catch (t) { r = { error: t } } finally { try { w && !w.done && (i = y.return) && i.call(y) } finally { if (r) throw r.error } } } } catch (e) { t = { error: e } } finally { try { S && !S.done && (e = f.return) && e.call(f) } finally { if (t) throw t.error } } a.clear(), n = !1 } } if (n) { var b = 1; while (b < s) if (this.list[b - 1].top > this.list[b].top) { var v = this.list[b - 1]; this.list[b - 1] = this.list[b], this.list[b] = v, 1 != b && b-- } else b++ } } } , p.prototype.sortByBottomPosition = function() { if (this.count > 1) { var t = 1; while (t < this.count) if (this.list[t - 1].bottom > this.list[t].bottom) { var e = this.list[t - 1]; this.list[t - 1] = this.list[t], this.list[t] = e, 1 != t && t-- } else t++ } } , p.prototype.sortByLeftPosition = function() { if (this.count > 1) { var t = 1; while (t < this.count) if (this.list[t - 1].left > this.list[t].left) { var e = this.list[t - 1]; this.list[t - 1] = this.list[t], this.list[t] = e, 1 != t && t-- } else t++ } } , p.prototype.sortByRightPosition = function() { if (this.count > 1) { var t = 1; while (t < this.count) if (this.list[t - 1].right > this.list[t].right) { var e = this.list[t - 1]; this.list[t - 1] = this.list[t], this.list[t] = e, 1 != t && t-- } else t++ } } , p.prototype.sortBandsByTopPosition = function() { if (this.count > 1) { var e = 1; while (e < this.count) if (this.list[e - 1].stimulsoft.is(s) && this.list[e].stimulsoft.is(s) && this.list[e - 1].dockStyle == this.list[e].dockStyle && (this.list[e - 1].dockStyle == t.Report.Components.StiDockStyle.Top && this.list[e - 1].top > this.list[e].top || this.list[e - 1].dockStyle == t.Report.Components.StiDockStyle.Bottom && this.list[e - 1].top < this.list[e].top)) { var r = this.list[e - 1]; this.list[e - 1] = this.list[e], this.list[e] = r, 1 != e && e-- } else e++ } } , p.prototype.sortBandsByLeftPosition = function() { if (this.count > 1) { var t = 1; while (t < this.count) if (this.list[t - 1].stimulsoft.is(s) && this.list[t].stimulsoft.is(s) && this.list[t - 1].left > this.list[t].left) { var e = this.list[t - 1]; this.list[t - 1] = this.list[t], this.list[t] = e, 1 != t && t-- } else t++ } } , p.prototype.getComponentByName = function(t, e) { var i, n; try { for (var o = __values(e.components.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (s.name == t) return s; var l = s.stimulsoft.as(r.StiContainer); if (null != l) { var u = this.getComponentByName(t, l); if (null != u) return u } } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } return null } , p.prototype.getPageByAlias = function(t) { var e, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.alias == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , p.prototype.setParent = function(t) { var e, i; this.parent = t; try { for (var n = __values(this.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.parent = t; var s = a.stimulsoft.as(r.StiContainer); null != s && s.components.setParent(s) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , p }(n); r.StiComponentsCollection = p }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e._collapsingEnabled = !1, e } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyBool("CollapsingEnabled", this.collapsingEnabled), r } , e.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "CollapsingEnabled": this._collapsingEnabled = a.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , e.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "CollapsingEnabled": this._collapsingEnabled = i.textContent.stimulsoft.toBoolean(); break } } } , e.prototype.isDefault = function() { return t.prototype.isDefault.call(this) && !this.collapsingEnabled } , Object.defineProperty(e.prototype, "collapsingEnabled", { get: function() { return this._collapsingEnabled }, set: function(t) { this._collapsingEnabled = t }, enumerable: !0, configurable: !0 }), e }(t.StiInteraction); t.StiCrossHeaderInteraction = e }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiEnumerator = "IStiEnumerator" }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString, n = t.Report.Dictionary.StiBusinessObjectsCollection, o = t.System.Collections.Hashtable, a = t.Base.JsonReportObject.IStiJsonReportObject, s = t.Base.StiJson, l = t.System.ICloneable, u; !function(t) { t[t.Name = 100] = "Name", t[t.Alias = 200] = "Alias", t[t.Category = 300] = "Category", t[t.Columns = 400] = "Columns" }(u || (u = {})); var c = function() { function u(e, i, o, a, s) { void 0 === e && (e = ""), void 0 === i && (i = ""), void 0 === o && (o = ""), void 0 === a && (a = null), void 0 === s && (s = 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 = e, this._name = i, this._alias = o, this._columns = new r.StiDataColumnsCollection(this), this._businessObjects = new n(null,this), null == this._guid && (this._guid = t.System.Guid.newGuid().toString().stimulsoft.replaceAll("-", "")), this._guid = a, this._key = s } return u.prototype.implements = function() { return [l, e.IStiStateSaveRestore, r.IStiEnumerator, e.IStiInherited, a] } , u.prototype.saveToJsonObject = function(t) { var e = new s; 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 } , u.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } 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 "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(u.prototype, "states", { get: function() { return null == this._states && (this._states = new e.StiStatesManager), this._states }, enumerable: !0, 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.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) } , u.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")) } , u.prototype.clearAllStates = function() { this._states = null } , Object.defineProperty(u.prototype, "inherited", { get: function() { return this._inherited }, set: function(t) { this._inherited = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "position", { get: function() { return this.positionValue }, set: function(t) { if (t != this.positionValue) { this.first(); var e = t; while (e > 0) e--, this.next() } }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "count", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "isBof", { get: function() { return this.isBofValue }, set: function(t) { this.isBofValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "isEof", { get: function() { return this.isEofValue }, set: function(t) { this.isEofValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "isEmpty", { get: function() { return this._isEmpty }, enumerable: !0, configurable: !0 }), u.prototype.enumeratorReset = function() {} , u.prototype.first = function() { if (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) } else this.currentObject = null, this.specPrevValue = null, this._isEmpty = !0, this.isEofValue = !0 } , u.prototype.prior = function() { throw new Error("StiBusinessObject does not support IStiEnumerator.Prior") } , u.prototype.next = function() { if (null != this.enumerator) if (this.specNextValueRead) { var t = this.specMoveNextResult; t ? (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 } else { this.specNextValue = null, this.specNextValueRead = !1; var t = this.enumerator.moveNext(); t ? (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) } } , u.prototype.last = function() { while (!this.isEof) this.next() } , u.prototype.clone = function() { var t, e, i, o, a = this.stimulsoft.memberwiseClone(); a.columns = new r.StiDataColumnsCollection(a), a.businessObjects = new n(this.dictionary,a); try { for (var s = __values(this.columns.list), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = u.clone(); c.businessObject = a, a.columns.add(c) } } catch (e) { t = { error: e } } finally { try { l && !l.done && (e = s.return) && e.call(s) } finally { if (t) throw t.error } } try { for (var m = __values(this.businessObjects.list), p = m.next(); !p.done; p = m.next()) { var h = p.value , d = h.clone(); d.parentBusinessObject = a, a.businessObjects.add(d) } } catch (t) { i = { error: t } } finally { try { p && !p.done && (o = m.return) && o.call(m) } finally { if (i) throw i.error } } return a } , Object.defineProperty(u.prototype, "current", { get: function() { if (this.checkEnumerator(), null == this.currentObject && this.isEof) return this.specPrevValue; return this.currentObject }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "report", { get: function() { if (null == this.dictionary) return null; return this.dictionary.report }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "businessObjects", { get: function() { return this._businessObjects }, set: function(t) { this._businessObjects = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "columns", { get: function() { return this._columns }, set: function(t) { this._columns = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "guid", { get: function() { return this._guid }, set: function(t) { this._guid = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "category", { get: function() { return this._category }, set: function(t) { this._category = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "name", { get: function() { return this._name }, set: function(t) { this._name = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "alias", { get: function() { return this._alias }, set: function(t) { this._alias = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.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: !0, configurable: !0 }), Object.defineProperty(u.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 i = __values(this.businessObjects.list), n = i.next(); !n.done; n = i.next()) { n.value.dictionary = this._dictionary } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "parentBusinessObject", { get: function() { return this._parentBusinessObject }, set: function(t) { this._parentBusinessObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "ownerBand", { get: function() { return this._ownerBand }, set: function(t) { this._ownerBand = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "key", { get: function() { return this._key }, set: function(t) { this._key = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u, "fieldsIgnoreList", { get: function() { return u._fieldsIgnoreList }, set: function(t) { u._fieldsIgnoreList = t }, enumerable: !0, configurable: !0 }), u.prototype.getLevel = function() { if (null == this.rowToLevel) return 0; var t = this.rowToLevel.get(this.current); if (t.stimulsoft.is(Number)) return +t; return 0 } , u.prototype.checkEnumerator = function() { this.isEnumeratorCreated || this.setDetails() } , u.prototype.setPrevValue = function() { this.specStoredCurrentValue = this.current, this.currentObject = this.specPrevValue, this.specSetPrevValue = !0 } , u.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 } , u.prototype.restoreCurrentValue = function() { this.currentObject = this.specStoredCurrentValue, this.specSetPrevValue = !1, this.specSetNextValue = !1 } , u.prototype.getTopParentBusinessObject = function() { var t = this; while (null != t.parentBusinessObject) t = t.parentBusinessObject; return t } , u.prototype.createEnumerator = function() {} , u.prototype.sortData = function() { if (null != this.ownerBand && null != this.ownerBand.sort && this.ownerBand.sort.length > 0 && null != this.enumerator) { var e = new Array; try { this.enumerator.reset() } catch (e) { t.System.StiError.showError(e, !1) } while (this.enumerator.moveNext()) e.add(this.enumerator.current); if (this.ownerBand.stimulsoft.is(t.Report.Components.StiHierarchicalBand)) { var i = new r.StiHierarchicalBusinessObjectSort(this,this.ownerBand,this.ownerBand.sort); e.sort() } else { var i = new r.StiBusinessObjectSort(this.ownerBand.sort,this,null,null); e.sort() } } } , u.prototype.sortDataByGroups = function() { var e, i, n, a; if (null == this.ownerBand || null == this.enumerator) return; if (!t.Report.Components.StiDataHelper.needGroupSort(this.ownerBand)) return; var s = null; s = this.ownerBand.dataBandInfo.groupHeaders; var l = 0; try { for (var u = __values(s.list), c = u.next(); !c.done; c = u.next()) { var m = c.value; m.sortDirection != t.Report.Components.StiGroupSortDirection.None && l++ } } catch (t) { e = { error: t } } finally { try { c && !c.done && (i = u.return) && i.call(u) } finally { if (e) throw e.error } } var p = new Array; try { this.enumerator.reset() } catch (e) { t.System.StiError.showError(e, !1) } var h = 0; while (this.enumerator.moveNext()) h++; var d = Array.create(Object, h, l + 1, 2) , g = new o , f = 0 , S = this.currentObject; this.specSortGroup = !0; try { this.enumerator.reset() } catch (e) { t.System.StiError.showError(e, !1) } while (this.enumerator.moveNext()) { var A = this.enumerator.current; p.add(A), g.set(A, f), this.currentObject = A; var y = 0; try { for (var w = (n = void 0, __values(s.list)), b = w.next(); !b.done; b = w.next()) { var m = b.value; m.sortDirection != t.Report.Components.StiGroupSortDirection.None && (d[f][y][0] = t.Report.Engine.StiGroupHeaderBandBuilder.getCurrentConditionValue(m), d[f][y][1] = m.sortDirection, y++) } } catch (t) { n = { error: t } } finally { try { b && !b.done && (a = w.return) && a.call(w) } finally { if (n) throw n.error } } d[f][l][0] = f, d[f][l][1] = t.Report.Components.StiGroupSortDirection.Ascending, f++ } this.specSortGroup = !1, this.currentObject = S; var v = new r.StiBusinessObjectSort(this.ownerBand.sort,this,g,d); p.sort(), this.first() } , u.prototype.filterData = function() { if (null != this.enumerator) { var e = t.Report.Components.StiDataHelper.getFilterEventHandler(this.ownerBand, this); if (null != this.ownerBand && null != e) { this.isEnumeratorCreated = !0; var r = this.position , i = this.dictionary.report.line , n = new Array; if (this.specFilterData = !0, e.stimulsoft.is(t.Report.Engine.StiParser.StiFilterParserData)) { var o = e , a = 0; try { this.enumerator.reset() } catch (e) { t.System.StiError.showError(e, !1) } while (this.enumerator.moveNext()) { this.position = a, 0 == a && 0 == this.positionValue && (this.currentObject = this.enumerator.current), this.dictionary.report.line = a + 1; try { var s = t.Report.Engine.StiParser.StiParser.parseTextValue(o.expression, o.component); s.stimulsoft.is(Boolean) && s && n.add(this.enumerator.current) } catch (e) { t.System.StiError.showError(e, !1) } a++ } } this.specFilterData = !1, this.position = r, this.dictionary.report.line = i, this.isEnumeratorCreated = !1 } } } , u.prototype.destroyEnumerator = function() { this.isEnumeratorCreated = !1, this.countFiltered = null } , u.prototype.setDetails = function() { this.updateChilds(), this.createEnumerator() } , u.prototype.updateChilds = function() { var t, e; this.isEnumeratorCreated = !1; try { for (var r = __values(this.businessObjects.list), i = r.next(); !i.done; i = r.next()) { i.value.updateChilds() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , u.prototype.getBusinessObjectDataFromParent = function(t) { var e, r; try { for (var i = __values(t.dictionary.report.businessObjectsStore), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name == t.name) return o.businessObjectValue } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , u.prototype.getColumnIndex = function(t) { var e, r, i, n, o = 0; try { for (var a = __values(this.columns.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.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(); !c.done; c = u.next()) { var l = c.value; if (l.name == t || l.alias == t) return o; o++ } } catch (t) { i = { error: t } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (i) throw i.error } } return -1 } , u.prototype.getBusinessObjectData = function(t) { if (void 0 === t && (t = !1), null == this.parentBusinessObject) return this.getBusinessObjectDataFromParent(this); var e = new Array , r = this; while (null != r.parentBusinessObject) e.insert(0, r), r = r.parentBusinessObject; return this.getBusinessObjectDataFromParent(r) } , u.prototype.getFullName = function() { return null } , u.prototype.getCorrectFullName = function() { return null != this.parentBusinessObject ? this.parentBusinessObject.getCorrectFullName() + "." + t.Report.StiNameValidator.correctName(this.name) : this.name } , u.prototype.toString = function() { return name == this.alias ? name : i.format("{0} [{1}]", this.name, this.alias) } , u.prototype.connect = function() { this.createEnumerator() } , u.prototype.disconnect = function() { this.destroyEnumerator(), this.businessObjectValue = null, this.rowToLevel = null } , u.prototype.getByName = function(t) { var e = this.isEnumeratorCreated; try { var r = this.current , i = this.parentBusinessObject; while (null != i) { if (i.specSetPrevValue || i.specSetNextValue || i.specFilterData || i.specSortGroup || i.specTotalsCalculation) { r = this.parentBusinessObject.getByName(this.name); break } i = i.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) } } , u._fieldsIgnoreList = new o, u }(); r.StiBusinessObject = c }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Dictionary.StiBusinessObject , o = t.Report.Dictionary.IStiEnumerator , a = t.Report.Components.IStiDataSource , s = function() { function s() {} return s.setData = function(e, i, n) { void 0 === n && (n = null); var l = e.stimulsoft.as(a); if (null != l && null != l.dataSource) { var u = e.stimulsoft.as(r.IStiDataRelation) , c = null; if (null != u && null != u.dataRelation && (c = u.dataRelationName), null == n) { var m = e.stimulsoft.as(r.IStiMasterComponent); null != m && null != m.masterComponent || (c = null) } var p = s.getFilterEventHandler(e, l) , h = e.stimulsoft.as(t.Report.Components.IStiSort) , d = null; null != h && null != h.sort && h.sort.length > 0 && (d = h.sort), l.dataSource.setData(e.stimulsoft.as(r.StiDataBand), c, p, d, i, e) } var g = e.stimulsoft.as(o); null != g && g.first(); var f = e.stimulsoft.as(r.IStiBusinessObject) , S = null != f ? f.businessObject : null; if (null != S) { var A = e; S.setDetails() } } , s.needGroupSort = function(t) { var e, i; if (null == t || null == t.report) return !1; var n = null; if (null == (n = t.dataBandInfo.groupHeaders) || 0 == n.count) return !1; var o = 0; try { for (var a = __values(n.list), s = a.next(); !s.done; s = a.next()) { s.value.sortDirection != r.StiGroupSortDirection.None && o++ } } catch (t) { e = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (e) throw e.error } } return o > 0 } , s.getFilterEventHandler = function(i, o) { var l = i.stimulsoft.as(t.Report.Components.IStiFilter) , u = null; null != l && null != l.filterMethodHandler && (u = l.filterMethodHandler); var c = null; if (null != i && null != i.report && (c = i.report), null == c && null != o && o.stimulsoft.is(n) && null != o.dictionary && (c = o.dictionary.report), null != c && (c.calculationMode == e.StiCalculationMode.Interpretation || c.isDesigning) && null != l && l.filterOn && l.filters.count > 0) { for (var m = "{", p = 0; p < l.filters.count; p++) { var h = l.filters.getByIndex(p); m += "(", o.stimulsoft.is(a) ? m += s.getFilterExpression(h, e.StiNameValidator.correctName(o.dataSourceName) + "." + h.column, c) : m += s.getFilterExpression(h, o.name + "." + h.column, c), m += ")", p < l.filters.count - 1 && (m += l.filterMode == r.StiFilterMode.And ? " && " : " || ") } m += "}", u = new t.Report.Engine.StiParser.StiFilterParserData(i,m); var d = t.Report.Engine.StiParser.StiParser.checkExpression(m, i); null != d && c.writeToReportRenderingMessages(i.name + ".Filters " + d.message) } return u } , s.getFilterExpression = function(t, e, n) { var o = ""; if (t.item == r.StiFilterItem.Expression) { var a = t.expression; null != a && (a.stimulsoft.startsWith("{") && a.stimulsoft.endsWith("}") ? o += a.substr(1, a.length - 2) : o += a) } else if (t.item == r.StiFilterItem.Value) if (t.condition == r.StiFilterCondition.IsNull || t.condition == r.StiFilterCondition.IsNotNull) { var s = null , l = e.lastIndexOf("."); if (l < 0) s = e; else { var u = e.substr(0, l) , c = e.substr(l + 1); s = i.format('{0}["{1}"]', u, c) } t.condition == r.StiFilterCondition.IsNull ? o += i.format("{0} == null || {0} == DBNull.Value", s) : o += i.format("{0} != null && {0} != DBNull.Value", s) } else if (t.dataType == r.StiFilterDataType.String) t.condition == r.StiFilterCondition.EqualTo ? o += i.format('{0}.ToString().ToLower() == ToString("{1}").ToLower()', e, t.value1) : t.condition == r.StiFilterCondition.NotEqualTo ? o += i.format('{0}.ToString().ToLower() != ToString("{1}").ToLower()', e, t.value1) : t.condition == r.StiFilterCondition.Containing ? o += i.format('ToString({0}).ToLower().IndexOf(ToString("{1}").ToLower()) != -1', e, t.value1) : t.condition == r.StiFilterCondition.NotContaining ? o += i.format('ToString({0}).ToLower().IndexOf(ToString("{1}").ToLower()) == -1', e, t.value1) : t.condition == r.StiFilterCondition.BeginningWith ? o += i.format('ToString({0}).ToLower().StartsWith(ToString("{1}").ToLower())', e, t.value1) : t.condition == r.StiFilterCondition.EndingWith && (o += i.format('ToString({0}).ToLower().EndsWith(ToString("{1}").ToLower())', e, t.value1)); else if (t.dataType == r.StiFilterDataType.Numeric) t.condition == r.StiFilterCondition.EqualTo ? o += i.format("(decimal){0} == (decimal){1}", e, t.value1) : t.condition == r.StiFilterCondition.NotEqualTo ? o += i.format("(decimal){0} != (decimal){1}", e, t.value1) : t.condition == r.StiFilterCondition.Between ? o += i.format("(decimal){0} >= (decimal){1} && (decimal){0} <= (decimal){2}", e, t.value1, t.value2) : t.condition == r.StiFilterCondition.NotBetween ? o += i.format("(decimal){0} < (decimal){1} || (decimal){0} > (decimal){2}", e, t.value1, t.value2) : t.condition == r.StiFilterCondition.GreaterThan ? o += i.format("(decimal){0} > (decimal){1}", e, t.value1) : t.condition == r.StiFilterCondition.GreaterThanOrEqualTo ? o += i.format("(decimal){0} >= (decimal){1}", e, t.value1) : t.condition == r.StiFilterCondition.LessThan ? o += i.format("(decimal){0} < (decimal){1}", e, t.value1) : t.condition == r.StiFilterCondition.LessThanOrEqualTo && (o += i.format("(decimal){0} <= (decimal){1}", e, t.value1)); else if (t.dataType == r.StiFilterDataType.DateTime) { var m = ""; if (!i.isNullOrEmpty(t.value1)) { var p = t.value1.split("/"); m = i.format("DateSerial({0},{1},{2})", p[2], p[0], p[1]) } var h = ""; if (!i.isNullOrEmpty(t.value2)) { var p = t.value2.split("/"); h = i.format("DateSerial({0},{1},{2})", p[2], p[0], p[1]) } t.condition == r.StiFilterCondition.EqualTo ? o += i.format("(DateTime){0} == {1}", e, m) : t.condition == r.StiFilterCondition.NotEqualTo ? o += i.format("(DateTime){0} != {1}", e, m) : t.condition == r.StiFilterCondition.Between ? o += i.format("(DateTime){0} >= {1} && (DateTime){0} <= {2}", e, m, h) : t.condition == r.StiFilterCondition.NotBetween ? o += i.format("(DateTime){0} < {1} || (DateTime){0} > {2}", e, m, h) : t.condition == r.StiFilterCondition.GreaterThan ? o += i.format("(DateTime){0} > {1}", e, m) : t.condition == r.StiFilterCondition.GreaterThanOrEqualTo ? o += i.format("(DateTime){0} >= {1}", e, m) : t.condition == r.StiFilterCondition.LessThan ? o += i.format("(DateTime){0} < {1}", e, m) : t.condition == r.StiFilterCondition.LessThanOrEqualTo && (o += i.format("(DateTime){0} <= {1}", e, m)) } else t.dataType == r.StiFilterDataType.Boolean ? t.condition == r.StiFilterCondition.EqualTo ? o += i.format("(bool){0} == {1}", e, t.value1) : t.condition == r.StiFilterCondition.NotEqualTo && (o += i.format("(bool){0} != {1}", e, t.value1)) : t.dataType == r.StiFilterDataType.Expression && (t.condition == r.StiFilterCondition.EqualTo ? o += i.format("{0} == {1}", e, t.value1) : t.condition == r.StiFilterCondition.NotEqualTo ? o += i.format("{0} != ){1}", e, t.value1) : t.condition == r.StiFilterCondition.Between ? o += i.format("{0} >= {1} && {0} <= {2}", e, t.value1, t.value2) : t.condition == r.StiFilterCondition.NotBetween ? o += i.format("{0} < {1} || {0} > {2}", e, t.value1, t.value2) : t.condition == r.StiFilterCondition.GreaterThan ? o += i.format("{0} > {1}", e, t.value1) : t.condition == r.StiFilterCondition.GreaterThanOrEqualTo ? o += i.format("{0} >= {1}", e, t.value1) : t.condition == r.StiFilterCondition.LessThan ? o += i.format("{0} < {1}", e, t.value1) : t.condition == r.StiFilterCondition.LessThanOrEqualTo ? o += i.format("{0} <= {1}", e, t.value1) : t.condition == r.StiFilterCondition.Containing ? o += i.format("ToString({0}).ToLower().IndexOf(ToString({1}).ToLower()) != -1", e, t.value1) : t.condition == r.StiFilterCondition.NotContaining ? o += i.format("ToString({0}).ToLower().IndexOf(ToString({1}).ToLower()) == -1", e, t.value1) : t.condition == r.StiFilterCondition.BeginningWith ? o += i.format("ToString({0}).ToLower().StartsWith(ToString({1}).ToLower())", e, t.value1) : t.condition == r.StiFilterCondition.EndingWith && (o += i.format("ToString({0}).ToLower().EndsWith(ToString({1}).ToLower())", e, t.value1))); return o } , s }(); r.StiDataHelper = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.JsonReportObject.IStiJsonReportObject , n = t.Base.StiJson , o = t.Report.Expressions.StiExpression , a = function() { function t() { this._name = "", this._expression = new o, this._interaction = null } return t.prototype.implements = function() { return [i] } , t.prototype.saveToJsonObject = function(t) { var e = new n; if (e.addPropertyStringNullOrEmpty("Name", this.name), e.addPropertyJObject("Expression", this.expression.saveToJsonObject(t)), 0 == e.count) return null; return e } , t.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , t.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 } } } , t.prototype.isDefault = function() { return r.isNullOrEmpty(this.name) && (null == this.expression || 0 == this.expression.value.length) } , Object.defineProperty(t.prototype, "name", { get: function() { return this._name }, set: function(t) { this._name = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "expression", { get: function() { return this._expression }, set: function(t) { this._expression = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "interaction", { set: function(t) { this._interaction = t }, enumerable: !0, configurable: !0 }), t }(); e.StiDrillDownParameter = a }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Localization.StiLocalization , i = function() { function t() {} return t.convertStringToCondition = function(t) { if (t == r.get("PropertyEnum", "StiFilterConditionEqualTo")) return e.StiFilterCondition.EqualTo; if (t == r.get("PropertyEnum", "StiFilterConditionNotEqualTo")) return e.StiFilterCondition.NotEqualTo; if (t == r.get("PropertyEnum", "StiFilterConditionBetween")) return e.StiFilterCondition.Between; if (t == r.get("PropertyEnum", "StiFilterConditionNotBetween")) return e.StiFilterCondition.NotBetween; if (t == r.get("PropertyEnum", "StiFilterConditionGreaterThan")) return e.StiFilterCondition.GreaterThan; if (t == r.get("PropertyEnum", "StiFilterConditionGreaterThanOrEqualTo")) return e.StiFilterCondition.GreaterThanOrEqualTo; if (t == r.get("PropertyEnum", "StiFilterConditionLessThan")) return e.StiFilterCondition.LessThan; if (t == r.get("PropertyEnum", "StiFilterConditionLessThanOrEqualTo")) return e.StiFilterCondition.LessThanOrEqualTo; if (t == r.get("PropertyEnum", "StiFilterConditionContaining")) return e.StiFilterCondition.Containing; if (t == r.get("PropertyEnum", "StiFilterConditionNotContaining")) return e.StiFilterCondition.NotContaining; if (t == r.get("PropertyEnum", "StiFilterConditionBeginningWith")) return e.StiFilterCondition.BeginningWith; if (t == r.get("PropertyEnum", "StiFilterConditionEndingWith")) return e.StiFilterCondition.EndingWith; if (t == r.get("PropertyEnum", "StiFilterConditionIsNull")) return e.StiFilterCondition.IsNull; if (t == r.get("PropertyEnum", "StiFilterConditionIsNotNull")) return e.StiFilterCondition.IsNotNull; return e.StiFilterCondition.EqualTo } , t.convertConditionToString = function(t) { switch (t) { case e.StiFilterCondition.EqualTo: return r.get("PropertyEnum", "StiFilterConditionEqualTo"); case e.StiFilterCondition.NotEqualTo: return r.get("PropertyEnum", "StiFilterConditionNotEqualTo"); case e.StiFilterCondition.Between: return r.get("PropertyEnum", "StiFilterConditionBetween"); case e.StiFilterCondition.NotBetween: return r.get("PropertyEnum", "StiFilterConditionNotBetween"); case e.StiFilterCondition.GreaterThan: return r.get("PropertyEnum", "StiFilterConditionGreaterThan"); case e.StiFilterCondition.GreaterThanOrEqualTo: return r.get("PropertyEnum", "StiFilterConditionGreaterThanOrEqualTo"); case e.StiFilterCondition.LessThan: return r.get("PropertyEnum", "StiFilterConditionLessThan"); case e.StiFilterCondition.LessThanOrEqualTo: return r.get("PropertyEnum", "StiFilterConditionLessThanOrEqualTo"); case e.StiFilterCondition.Containing: return r.get("PropertyEnum", "StiFilterConditionContaining"); case e.StiFilterCondition.NotContaining: return r.get("PropertyEnum", "StiFilterConditionNotContaining"); case e.StiFilterCondition.BeginningWith: return r.get("PropertyEnum", "StiFilterConditionBeginningWith"); case e.StiFilterCondition.EndingWith: return r.get("PropertyEnum", "StiFilterConditionEndingWith"); case e.StiFilterCondition.IsNull: return r.get("PropertyEnum", "StiFilterConditionIsNull"); case e.StiFilterCondition.IsNotNull: return r.get("PropertyEnum", "StiFilterConditionIsNotNull") } return "" } , t.convertStringToDataType = function(t) { if (t == r.get("PropertyEnum", "StiFilterDataTypeString")) return e.StiFilterDataType.String; if (t == r.get("PropertyEnum", "StiFilterDataTypeNumeric")) return e.StiFilterDataType.Numeric; if (t == r.get("PropertyEnum", "StiFilterDataTypeDateTime")) return e.StiFilterDataType.DateTime; if (t == r.get("PropertyEnum", "StiFilterDataTypeBoolean")) return e.StiFilterDataType.Boolean; if (t == r.get("PropertyEnum", "StiFilterDataTypeExpression")) return e.StiFilterDataType.Expression; return e.StiFilterDataType.String } , t.convertDataTypeToString = function(t) { switch (t) { case e.StiFilterDataType.String: return r.get("PropertyEnum", "StiFilterDataTypeString"); case e.StiFilterDataType.Numeric: return r.get("PropertyEnum", "StiFilterDataTypeNumeric"); case e.StiFilterDataType.DateTime: return r.get("PropertyEnum", "StiFilterDataTypeDateTime"); case e.StiFilterDataType.Boolean: return r.get("PropertyEnum", "StiFilterDataTypeBoolean"); case e.StiFilterDataType.Expression: return r.get("PropertyEnum", "StiFilterDataTypeExpression") } return "" } , t.setFilter = function(t) {} , t }(); e.StiFilterHelper = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.CollectionBase , i = t.System.ICloneable , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.StiJson , a = t.System.Enum , s = t.System.Text.XMLConvert , l = function(t) { function r() { return null !== t && t.apply(this, arguments) || this } return __extends(r, t), r.prototype.implements = function() { return [i, n] } , r.prototype.saveToJsonObject = function(t) { var e, r; if (0 == this.list.length) return null; var i = new o , n = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; i.addPropertyJObject(n.toString(), l.saveToJsonObject(t)), n++ } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (e) throw e.error } } return i } , r.prototype.loadFromJsonObject = function(t) { var r, i; try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = null; switch (a.value.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value) { case "StiFilter": s = new e.StiFilter; break; case "StiBaseCondition": s = new e.StiBaseCondition; break; case "StiConditionHelper": s = new e.StiConditionHelper; break } s.loadFromJsonObject(a.value), this.list.add(s) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , r.prototype.loadFromXml = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; if ("value" == i.nodeName) { var n = i.textContent.split(",") , o = void 0; o = 1 == n.length ? new e.StiFilter(e.StiFilterItem.Expression,"",e.StiFilterCondition.EqualTo,"","",e.StiFilterDataType.String,s.decodeName(n[0])) : new e.StiFilter(e.StiFilterItem.Value,s.decodeName(n[0]),a.parse(e.StiFilterCondition, n[1]),s.decodeName(n[2]),s.decodeName(n[3]),a.parse(e.StiFilterDataType, n[4])), this.list.add(o) } } } , r.prototype.clone = function() { var t, e, i = new r; try { for (var n = __values(this.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; i.add(a.clone()) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } return i } , r }(r); e.StiFiltersCollection = l }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.Base.StiJson , n = function() { function t(t, e, r, i) { void 0 === t && (t = 0), void 0 === e && (e = 0), void 0 === r && (r = 0), void 0 === i && (i = 0), this._left = t, this._top = r, this._right = e, this._bottom = i } return t.prototype.implements = function() { return [r] } , t.prototype.saveToJsonObject = function(t, e, r, n, o) { if (void 0 === e && (e = 0), void 0 === r && (r = 0), void 0 === n && (n = 0), void 0 === o && (o = 0), this._left == e && this._right == r && this._top == n && this._bottom == o) return null; var a = new i; return a.addPropertyNumberNoDefaultValue("Left", this.left), a.addPropertyNumberNoDefaultValue("Right", this.right), a.addPropertyNumberNoDefaultValue("Top", this.top), a.addPropertyNumberNoDefaultValue("Bottom", this.bottom), a } , t.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.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 "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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , t.loadFromText = function(e) { var r = e.split(","); return new t(r[0].stimulsoft.toNumber(),r[1].stimulsoft.toNumber(),r[2].stimulsoft.toNumber(),r[3].stimulsoft.toNumber()) } , t.loadFromXml = function(e) { var r = e.textContent.split(","); return new t(r[0].stimulsoft.toNumber(),r[1].stimulsoft.toNumber(),r[2].stimulsoft.toNumber(),r[3].stimulsoft.toNumber()) } , t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(t.prototype, "left", { get: function() { return this._left }, set: function(t) { this._left = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "right", { get: function() { return this._right }, set: function(t) { this._right = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "top", { get: function() { return this._top }, set: function(t) { this._top = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "bottom", { get: function() { return this._bottom }, set: function(t) { this._bottom = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isEmpty", { get: function() { return 0 == this._left && 0 == this._right && 0 == this._top && 0 == this._bottom }, enumerable: !0, configurable: !0 }), t.create = function(e) { return void 0 === e && (e = 0), new t(e,e,e,e) } , t.empty = new t(0,0,0,0), t }(); e.StiMargins = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetExcelSheet" } , e }(t.StiEvent); t.StiGetExcelSheetEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "ColumnEndRender" } , e }(t.StiEvent); t.StiColumnEndRenderEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "ColumnBeginRender" } , e }(t.StiEvent); t.StiColumnBeginRenderEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Printing.PaperKind , i = t.System.Drawing.Printing.PrinterUnitConvert , n = t.System.Drawing.Printing.PrinterUnit , o = t.System.Drawing.Printing.PrinterSettings.PrinterSettings , a = t.System.Drawing.Size , s = function() { function s() {} return s.getPaperSizeFromPaperKind = function(t) { var e, i; if (t == r.Custom || !StiOptions.Print.allowUsePaperSizesFromPrinterSettings) return null; var n = StiOptions.Print.customPaperSizes; if (null == n) { n = (new o).paperSizes } try { for (var a = __values(n.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.kind == t) return l } } catch (t) { e = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (e) throw e.error } } return null } , s.getPaperSize = function(r, o) { var s = o.width , l = o.height; return r.unit.stimulsoft.is(t.Report.Units.StiCentimetersUnit) || r.unit.stimulsoft.is(t.Report.Units.StiMillimetersUnit) ? (s = i.convert(o.width, n.ThousandthsOfAnInch, n.TenthsOfAMillimeter), l = i.convert(o.height, n.ThousandthsOfAnInch, n.TenthsOfAMillimeter), r.unit.stimulsoft.is(t.Report.Units.StiCentimetersUnit) && (s /= 10, l /= 10)) : (s = Math.round2(r.convertFromHInches(r.unit, s), 2), l = Math.round2(r.convertFromHInches(r.unit, l), 2)), r.orientation == e.StiPageOrientation.Landscape ? new a(l,s) : new a(s,l) } , s }(); e.StiPageHelper = s }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.ICloneable , i = function() { function t() {} return t.prototype.implements = function() { return [r] } , t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , t }(); e.StiComponentInfo = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiComponentInfo , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.overlays = null, e.indexOfStartRenderedPages = -1, e.masterDataBand = null, e.isReportTitlesRendered = !1, e.renderedCount = 0, e.positionFromTop = 0, e.positionFromBottom = 0, e } return __extends(e, t), e }(r); e.StiPageInfo = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.StiJson , n = t.System.Drawing.Rectangle , o = t.System.Drawing.Size , a = function() { function t() {} return t.saveToJsonObject = function(t) { var e = new i; return e.addPropertyIdent("Ident", t.stimulsoft.getType().stimulsoft.getTypeName()), e } , t.loadFromJsonObject = function(t) { switch (t.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value) { case "StiMillimetersUnit": return new r.StiMillimetersUnit; case "StiInchesUnit": return new r.StiInchesUnit; case "StiHundredthsOfInchUnit": return new r.StiHundredthsOfInchUnit; case "StiCentimetersUnit": return new r.StiCentimetersUnit } return null } , t.loadFromXml = function(t) { switch (t.textContent) { case "Millimeters": return new r.StiMillimetersUnit; case "Inches": return new r.StiInchesUnit; case "HundredthsOfInch": return new r.StiHundredthsOfInchUnit; case "Centimeters": return new r.StiCentimetersUnit } return new r.StiHundredthsOfInchUnit } , t.getUnitFromReportUnit = function(r) { switch (r) { case e.StiReportUnitType.HundredthsOfInch: return t.HundredthsOfInch; case e.StiReportUnitType.Inches: return t.Inches; case e.StiReportUnitType.Millimeters: return t.Millimeters; default: return t.Centimeters } } , Object.defineProperty(t, "Centimeters", { get: function() { return null == this._centimeters && r.StiCentimetersUnit && (this._centimeters = new r.StiCentimetersUnit), this._centimeters }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "HundredthsOfInch", { get: function() { return null == this._hundredthsOfInch && r.StiHundredthsOfInchUnit && (this._hundredthsOfInch = new r.StiHundredthsOfInchUnit), this._hundredthsOfInch }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "Inches", { get: function() { return null == this._inches && r.StiInchesUnit && (this._inches = new r.StiInchesUnit), this._inches }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "Millimeters", { get: function() { return null == this._millimeters && r.StiMillimetersUnit && (this._millimeters = new r.StiMillimetersUnit), this._millimeters }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "rulerStep", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "factor", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "shortName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "name", { get: function() { return "" }, enumerable: !0, configurable: !0 }), t.prototype.convertToHInches = function(t) { if ("number" != typeof t) { if (t.stimulsoft.is(n)) return this.convertRectangleToHInches(t); if (t.stimulsoft.is(o)) return this.convertSizeToHInches(t) } return t } , t.prototype.convertFromHInches = function(t) { if (t.stimulsoft.is(n)) return this.convertRectangleFromHInches(t); if (t.stimulsoft.is(o)) return this.convertSizeFromHInches(t); return t } , t.prototype.convertRectangleToHInches = function(t) { return new n(this.convertToHInches(t.left),this.convertToHInches(t.top),this.convertToHInches(t.width),this.convertToHInches(t.height)) } , t.prototype.convertRectangleFromHInches = function(t) { return new n(this.convertFromHInches(t.left),this.convertFromHInches(t.top),this.convertFromHInches(t.width),this.convertFromHInches(t.height)) } , t.prototype.convertSizeToHInches = function(t) { return new o(this.convertToHInches(t.width),this.convertToHInches(t.height)) } , t.prototype.convertSizeFromHInches = function(t) { return new o(this.convertFromHInches(t.width),this.convertFromHInches(t.height)) } , t }(); r.StiUnit = a }(r = e.Units || (e.Units = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Helpers.StiHyperlinkProcessor , n = t.Base.Drawing.StiImageConverter , o = t.System.Drawing.ContentAlignment , a = t.System.Enum , s = t.Base.Drawing.StiBrush , l = t.Base.Drawing.StiSolidBrush , u = t.System.Drawing.Font , c = t.System.Drawing.Color , m = t.Base.StiJson , p = t.Base.StiJsonReportObjectHelper , h = t.System.ICloneable , d = t.Base.JsonReportObject.IStiJsonReportObject , g = function() { function e(t, e, r, i, n, a, s, m) { void 0 === t && (t = null), void 0 === e && (e = ""), void 0 === r && (r = 45), void 0 === i && (i = null), void 0 === n && (n = !1), void 0 === a && (a = !0), void 0 === s && (s = !1), void 0 === m && (m = !1), this._font = new u("Arial",100), this._textBrush = new l(c.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 = o.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 != i && (this._font = i), this._showBehind = n, this._enabled = a, this._aspectRatio = s, this._rightToLeft = m } return e.prototype.implements = function() { return [h, d] } , e.prototype.saveToJsonObject = function(t) { var e = new m; if (e.addPropertyStringNullOrEmpty("Font", p.Serialize.font(this.font, "Arial", 100)), e.addPropertyStringNullOrEmpty("TextBrush", p.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", n.imageToString(this.image)), e.addPropertyEnum("ImageAlignment", o, this.imageAlignment, o.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 } , e.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), s = i.next(); !s.done; s = i.next()) { var l = s.value; switch (l.name) { case "Font": case "fn": this._font = p.Deserialize.font(l.value, this.font); break; case "TextBrush": case "tb": this._textBrush = p.Deserialize.brush(l.value); break; case "Text": case "text": this._text = l.value; break; case "Angle": this._angle = l.value.stimulsoft.toNumber(); break; case "Enabled": this._enabled = l.value.stimulsoft.toBoolean(); break; case "ShowImageBehind": this._showImageBehind = l.value.stimulsoft.toBoolean(); break; case "ShowBehind": this._showBehind = l.value.stimulsoft.toBoolean(); break; case "RightToLeft": this._rightToLeft = l.value.stimulsoft.toBoolean(); break; case "ImageMultipleFactor": this._imageMultipleFactor = l.value.stimulsoft.toNumber(); break; case "ImageTransparency": this._imageTransparency = l.value.stimulsoft.toNumber(); break; case "Image": case "ImageBytes": this._image = n.stringToImage(l.value); break; case "ImageHyperlink": this.imageHyperlink = l.value.toString(); break; case "ImageAlignment": this._imageAlignment = a.parse(o, l.value); break; case "ImageTiling": this._imageTiling = l.value.stimulsoft.toBoolean(); break; case "ImageStretch": this._imageStretch = l.value.stimulsoft.toBoolean(); break; case "AspectRatio": this._aspectRatio = l.value.stimulsoft.toBoolean(); break; case "EnabledExpression": this._enabledExpression = l.value; break } } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , e.prototype.loadFromXml = function(e) { for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Font": this._font = t.System.Convert.toFont(i.textContent); break; case "TextBrush": this._textBrush = s.convertToBrush(i.textContent); break; case "Text": this._text = i.textContent; break; case "Angle": this._angle = i.textContent.stimulsoft.toNumber(); break; case "Enabled": this._enabled = i.textContent.stimulsoft.toBoolean(); break; case "ShowImageBehind": this._showImageBehind = i.textContent.stimulsoft.toBoolean(); break; case "ShowBehind": this._showBehind = i.textContent.stimulsoft.toBoolean(); break; case "RightToLeft": this._rightToLeft = i.textContent.stimulsoft.toBoolean(); break; case "ImageMultipleFactor": this._imageMultipleFactor = i.textContent.stimulsoft.toNumber(); break; case "ImageTransparency": this._imageTransparency = i.textContent.stimulsoft.toNumber(); break; case "Image": case "ImageBytes": this._image = n.stringToImage(i.textContent); break; case "ImageAlignment": this._imageAlignment = a.parse(o, i.textContent); break; case "ImageTiling": this._imageTiling = i.textContent.stimulsoft.toBoolean(); break; case "ImageStretch": this._imageStretch = i.textContent.stimulsoft.toBoolean(); break; case "ImageHyperlink": this._imageHyperlink = i.textContent; break; case "AspectRatio": this._aspectRatio = i.textContent.stimulsoft.toBoolean(); break } } } , e.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(e.prototype, "font", { get: function() { return this._font }, set: function(t) { this._font = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "textBrush", { get: function() { return this._textBrush }, set: function(t) { this._textBrush = t }, enumerable: !0, configurable: !0 }), e.prototype.shouldSerializeTextBrush = function() { return !(this._textBrush.stimulsoft.is(l) && this._textBrush.color.stimulsoft.equals(c.fromArgb(50, 0, 0, 0))) } , Object.defineProperty(e.prototype, "text", { get: function() { return this._text }, set: function(t) { this._text = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "angle", { get: function() { return this._angle }, set: function(t) { this._angle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "enabled", { get: function() { return this._enabled }, set: function(t) { this._enabled = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showImageBehind", { get: function() { return this._showImageBehind }, set: function(t) { this._showImageBehind = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showBehind", { get: function() { return this._showBehind }, set: function(t) { this._showBehind = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "rightToLeft", { get: function() { return this._rightToLeft }, set: function(t) { this._rightToLeft = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "imageMultipleFactor", { get: function() { return this._imageMultipleFactor }, set: function(t) { this._imageMultipleFactor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.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: !0, configurable: !0 }), Object.defineProperty(e.prototype, "image", { get: function() { return this._image }, set: function(t) { this._image != t && (this._image = t, this.disposeCachedImage()) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "imageHyperlink", { get: function() { return this._imageHyperlink }, set: function(t) { this._imageHyperlink != t && (this._imageHyperlink = t) }, enumerable: !0, configurable: !0 }), e.prototype.getImage = function(t) { var e = r.isNullOrWhiteSpace(this.imageHyperlink) ? this.image : i.getImage(t, this.imageHyperlink); if (0 == this.imageTransparency) return e; return null == this.cachedImage && (this.cachedImage = this.getTransparentedImage(e, 1 - this.imageTransparency / 255)), this.cachedImage } , Object.defineProperty(e.prototype, "imageAlignment", { get: function() { return this._imageAlignment }, set: function(t) { this._imageAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "imageTiling", { get: function() { return this._imageTiling }, set: function(t) { this._imageTiling = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "imageStretch", { get: function() { return this._imageStretch }, set: function(t) { this._imageStretch = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "aspectRatio", { get: function() { return this._aspectRatio }, set: function(t) { this._aspectRatio = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "enabledExpression", { get: function() { return this._enabledExpression }, set: function(t) { this._enabledExpression = t }, enumerable: !0, configurable: !0 }), e.prototype.getTransparentedImage = function(t, e) { return t } , e.prototype.disposeCachedImage = function() { null != this.cachedImage && (this.cachedImage.dispose(), this.cachedImage = null) } , e }(); e.StiWatermark = g }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiGetExcelSheetEventHandler = new r("sender: any, e: StiGetExcelSheetEventArgs"); var n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiGetExcelSheetEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.StiActivator , o = t.Base.JsonReportObject.IStiJsonReportObject , a = t.System.EventHandler , s = t.Report.Events.StiGetExcelSheetEventHandler , l = t.Report.Events.StiGetExcelSheetEventArgs , u = t.Report.Events.StiBeginRenderEvent , c = t.Report.Events.StiRenderingEvent , m = t.Report.Events.StiEndRenderEvent , p = t.Report.Events.StiColumnBeginRenderEvent , h = t.Report.Events.StiColumnEndRenderEvent , d = t.Report.Events.StiGetExcelSheetEvent , g = t.Base.StiJsonSaveMode , f = t.Base.Drawing.StiAdvancedBorder , S = t.System.Drawing.Font , A = t.Report.Units.StiUnit , y = t.Report.Components.StiShiftMode , w = t.Report.Components.StiMargins , b = t.Report.Components.StiPageInfo , v = t.Report.Components.StiPageOrientation , C = t.Report.Components.StiWatermark , E = t.System.Drawing.Printing.PaperKind , B = t.Report.Components.StiPageHelper , T = t.Report.Components.IStiResetPageNumber , I = t.System.Drawing.Rectangle , x = t.System.Collections.Hashtable , F = t.Base.Drawing.StiBorderSides , D = t.Base.Drawing.StiSolidBrush , R = t.System.Drawing.Color , P = t.System.Enum , N = t.Base.IStiReportPage , k = t.Report.Expressions.StiExpression , M = function(M) { function O(t, e) { void 0 === e && (e = !1); var r = M.call(this, I.empty, !0) || this; return r._resetPageNumber = !1, r._excelSheetValue = null, r._excelSheet = "", r._printOnPreviousPage = !1, r._printHeadersFootersFromPreviousPage = !1, r._paperSize = E.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 = I.empty, r._orientation = v.Portrait, r._segmentPerWidth = 1, r._segmentPerHeight = 1, r._margins = new w(39,39,39,39), r._mirrorMargins = !1, r._reportUnit = null, r._drillDownActivated = !1, r._cacheGuid = null, e || r.construct(t), r } return __extends(O, M), O.prototype.implements = function() { return O.ImplementsStiPage || (O.ImplementsStiPage = M.prototype.implements.call(this).concat([T, N, o])), O.ImplementsStiPage } , O.prototype.saveToJsonObject = function(t) { var e = M.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 == g.Report && e.addPropertyJObject("ExcelSheet", new k(this._excelSheet).saveToJsonObject(t)), e.addPropertyBool("PrintOnPreviousPage", this.printOnPreviousPage), e.addPropertyBool("PrintHeadersFootersFromPreviousPage", this.printHeadersFootersFromPreviousPage), e.addPropertyEnum("PaperSize", E, this.paperSize, E.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", v, this.orientation, v.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", A.saveToJsonObject(this.reportUnit)), e } , O.prototype.loadFromJsonObject = function(t) { var e, r; M.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.value; switch (o.name) { case "ResetPageNumber": this._resetPageNumber = o.value.stimulsoft.toBoolean(); break; case "BeginRenderEvent": this.beginRenderEvent.loadFromJsonObject(o.value); break; case "RenderingEvent": this.renderingEvent.loadFromJsonObject(o.value); break; case "EndRenderEvent": this.endRenderEvent.loadFromJsonObject(o.value); break; case "ColumnBeginRenderEvent": this.columnBeginRenderEvent.loadFromJsonObject(o.value); break; case "ColumnEndRenderEvent": this.columnEndRenderEvent.loadFromJsonObject(o.value); break; case "GetExcelSheetEvent": this.getExcelSheetEvent.loadFromJsonObject(o.value); break; case "ExcelSheetValue": this._excelSheetValue = o.value; break; case "ExcelSheet": var a = new k; a.loadFromJsonObject(o.value), this._excelSheet = a.value; break; case "PrintOnPreviousPage": this._printOnPreviousPage = o.value.stimulsoft.toBoolean(); break; case "PrintHeadersFootersFromPreviousPage": this._printHeadersFootersFromPreviousPage = o.value.stimulsoft.toBoolean(); break; case "PaperSize": this._paperSize = P.parse(E, 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 = P.parse(v, 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 = A.loadFromJsonObject(o.value); break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , O.prototype.loadFromXml = function(e, r) { M.prototype.loadFromXml.call(this, e, r); for (var i = 0; i < e.childNodes.length; i++) { var o = e.childNodes[i]; switch (o.nodeName) { case "ResetPageNumber": this._resetPageNumber = o.textContent.stimulsoft.toBoolean(); break; case "BeginRenderEvent": break; case "RenderingEvent": break; case "EndRenderEvent": break; case "ColumnBeginRenderEvent": break; case "ColumnEndRenderEvent": break; case "GetExcelSheetEvent": break; case "ExcelSheetValue": this._excelSheetValue = o.textContent; break; case "ExcelSheet": var a = new k; a.loadFromXml(o), this._excelSheet = a.value; break; case "PrintOnPreviousPage": this._printOnPreviousPage = o.textContent.stimulsoft.toBoolean(); break; case "PrintHeadersFootersFromPreviousPage": this._printHeadersFootersFromPreviousPage = o.textContent.stimulsoft.toBoolean(); break; case "PaperSize": this._paperSize = P.parse(E, o.textContent); break; case "PaperSourceOfFirstPage": this._paperSourceOfFirstPage = o.textContent; break; case "PaperSourceOfOtherPages": this._paperSourceOfOtherPages = o.textContent; break; case "NumberOfCopies": this._numberOfCopies = o.textContent.stimulsoft.toNumber(); break; case "UnlimitedBreakable": this._unlimitedBreakable = o.textContent.stimulsoft.toBoolean(); break; case "LargeHeight": this._largeHeight = o.textContent.stimulsoft.toBoolean(); break; case "LargeHeightFactor": this._largeHeightFactor = o.textContent.stimulsoft.toNumber(); break; case "StopBeforePrint": this._stopBeforePrint = o.textContent.stimulsoft.toNumber(); break; case "StretchToPrintArea": this._stretchToPrintArea = o.textContent.stimulsoft.toBoolean(); break; case "TitleBeforeHeader": this._titleBeforeHeader = o.textContent.stimulsoft.toBoolean(); break; case "UnlimitedHeight": this._unlimitedHeight = o.textContent.stimulsoft.toBoolean(); break; case "UnlimitedWidth": this._unlimitedWidth = o.textContent.stimulsoft.toBoolean(); break; case "Orientation": this._orientation = P.parse(v, o.textContent); break; case "PageWidth": this._pageWidth = o.textContent.stimulsoft.toNumber(); break; case "PageHeight": this._pageHeight = o.textContent.stimulsoft.toNumber(); break; case "SegmentPerWidth": this._segmentPerWidth = o.textContent.stimulsoft.toNumber(); break; case "SegmentPerHeight": this._segmentPerHeight = o.textContent.stimulsoft.toNumber(); break; case "Watermark": this.watermark.loadFromXml(o); break; case "Margins": this._margins = w.loadFromXml(o); break; case "MirrorMargins": this._mirrorMargins = o.textContent.stimulsoft.toBoolean(); break; case "ReportUnit": this._reportUnit = t.Report.Units.StiUnit.loadFromXml(o); break; case "Name": if (o.textContent.indexOf(":Unit:") > 0) { this.name = o.textContent.substring(0, o.textContent.indexOf(":Unit:")); var s = o.textContent.substring(o.textContent.lastIndexOf(":") + 1); this._reportUnit = n.createObject2(s) } break } } } , Object.defineProperty(O.prototype, "componentId", { get: function() { return e.StiComponentId.StiPage }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "resetPageNumber", { get: function() { return this._resetPageNumber }, set: function(t) { this._resetPageNumber = t }, enumerable: !0, configurable: !0 }), O.prototype.convertToHInches = function(e, r) { if (e.stimulsoft.is(t.Report.Units.StiCentimetersUnit)) { if (21 == r) return 827; if (29.7 == r) return 1169; if (1 == r) return 39 } else if (e.stimulsoft.is(t.Report.Units.StiMillimetersUnit)) { if (210 == r) return 827; if (297 == r) return 1169; if (10 == r) return 39 } return e.convertToHInches(r) } , O.prototype.convertFromHInchesRect = function(t, e) { return new I(this.convertFromHInches(t, e.left),this.convertFromHInches(t, e.top),this.convertFromHInches(t, e.width),this.convertFromHInches(t, e.height)) } , O.prototype.convertFromHInches = function(e, r) { if (e.stimulsoft.is(t.Report.Units.StiCentimetersUnit)) { if (827 == r) return 21; if (1169 == r) return 29.7; if (39 == r) return 1 } else if (e.stimulsoft.is(t.Report.Units.StiMillimetersUnit)) { if (827 == r) return 210; if (1169 == r) return 297; if (39 == r) return 10 } return e.convertFromHInches(r) } , O.prototype.convert = function(t, e, r) { var i, n; 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 w(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(); !a.done; a = o.next()) { a.value.convert(t, e, r) } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , O.prototype.clone = function(t, e) { var i, n, o, a; void 0 === t && (t = !0), void 0 === e && (e = !0); var s = M.prototype.clone.call(this, t, e); if (s._pageInfo = this.pageInfo.clone(), s._margins = this.margins.clone(), s._orientation = this._orientation, null != this._watermark ? s._watermark = this._watermark.clone() : s._watermark = null, s.components = new r.StiComponentsCollection(s), e) { try { for (var l = __values(this.components.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; s.components.add(c.clone(t, e)) } } catch (t) { i = { error: t } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (i) throw i.error } } var m = s.getComponents(); try { for (var p = __values(m.list), h = p.next(); !h.done; h = p.next()) { var c = h.value; c.page = s } } catch (t) { o = { error: t } } finally { try { h && !h.done && (a = p.return) && a.call(p) } finally { if (o) throw o.error } } } return s } , O.prototype.parseExpression = function(e) { return t.Report.Helpers.StiExpressionHelper.parseText(this, e) } , Object.defineProperty(O.prototype, "pageInfo", { get: function() { return null == this._pageInfo && (this._pageInfo = new b), this._pageInfo }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "isAutomaticDock", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "left", { get: function() { return 0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "top", { get: function() { return 0 }, set: function(t) {}, enumerable: !0, configurable: !0 }), O.prototype.getWidth = function() { return (this.pageWidth - this.margins.left - this.margins.right) * this.segmentPerWidth } , O.prototype.setWidth = function(t) { this._pageWidth = t / this.segmentPerWidth + this.margins.left + this.margins.right } , O.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 } , O.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(O.prototype, "right", { get: function() { return this.width }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "bottom", { get: function() { return this.height }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "clientRectangle", { get: function() { return new I(0,0,this.width,this.height) }, set: function(t) { this.width = t.width, this.height = t.height }, enumerable: !0, configurable: !0 }), O.prototype.getDisplayRectangle = function() { return new I(0,0,this.width + this.margins.left + this.margins.right,this.height + this.margins.top + this.margins.bottom) } , Object.defineProperty(O.prototype, "shiftMode", { get: function() { return y.None }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "printable", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "page", { get: function() { return this }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "parent", { get: function() { return null }, set: function(t) {}, enumerable: !0, configurable: !0 }), O.prototype.invokeEvents = function() { if (M.prototype.invokeEvents.call(this), null == this.excelSheetValue && this.excelSheet.length > 0) { var e = t.Report.Engine.StiParser.StiParser.parseTextValue(this.excelSheet, this); null != e && (this.excelSheetValue = this.report.toString2(e)) } if (null != this.events.get(O.eventGetExcelSheet) && null == this.excelSheetValue) { var r = new l; this.invokeGetExcelSheet(this, r), null != r.value && (this.excelSheetValue = r.value.toString()) } this.printOnPreviousPage && this.printHeadersFootersFromPreviousPage && null != this.report && this.report.renderedPages.count > 0 && (this.excelSheetValue = this.report.renderedPages.getByIndex(this.report.renderedPages.count - 1).excelSheetValue) } , O.prototype.onBeginRender = function() {} , O.prototype.invokeBeginRender = function() { this.onBeginRender(); var t = this.events.get(O.eventBeginRender); null != t && t(this) } , Object.defineProperty(O.prototype, "beginRenderEvent", { get: function() { return new u(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(O.eventBeginRender, a.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), O.prototype.onRendering = function() {} , O.prototype.invokeRendering = function() { this.onRendering(); var t = this.events.get(O.eventRendering); null != t && t(this) } , Object.defineProperty(O.prototype, "renderingEvent", { get: function() { return new c(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(O.eventRendering, a.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), O.prototype.onEndRender = function() {} , O.prototype.invokeEndRender = function() { this.onEndRender(); var t = this.events.get(O.eventEndRender); null != t && t(this) } , Object.defineProperty(O.prototype, "endRenderEvent", { get: function() { return new m(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(O.eventEndRender, a.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), O.prototype.onColumnBeginRender = function() {} , O.prototype.invokeColumnBeginRender = function(t) { void 0 === t && (t = this), this.onColumnBeginRender(); var e = this.events.get(O.eventColumnBeginRender); null != e && e(t) } , Object.defineProperty(O.prototype, "columnBeginRenderEvent", { get: function() { return new p(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(O.eventColumnBeginRender, a.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), O.prototype.onColumnEndRender = function() {} , O.prototype.invokeColumnEndRender = function(t) { void 0 === t && (t = this), this.onColumnEndRender(); var e = this.events.get(O.eventColumnEndRender); null != e && e(t) } , Object.defineProperty(O.prototype, "columnEndRenderEvent", { get: function() { return new h(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(O.eventColumnEndRender, a.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), O.prototype.onGetExcelSheet = function(t) {} , O.prototype.invokeGetExcelSheet = function(t, e) { try { this.onGetExcelSheet(e); var r = this.events.get(O.eventGetExcelSheet); if (null != r) try { r(t, e) } catch (e) {} } catch (t) {} } , Object.defineProperty(O.prototype, "getExcelSheetEvent", { get: function() { return new d(this) }, set: function(t) { null != t && t.set(this, t.script), this.events.set(O.eventGetExcelSheet, s.create(t.script, this.report)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "excelSheetValue", { get: function() { return this._excelSheetValue }, set: function(t) { this._excelSheetValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "excelSheet", { get: function() { return this._excelSheet }, set: function(t) { this._excelSheet = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "zoom", { get: function() { if (null == this.report || null == this.report.info) return 1; return this.report.info.zoom }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "gridSize", { get: function() { if (this.isDashboard) return this.report.info.gridSizePoints; if (this.report.unit.stimulsoft.is(t.Report.Units.StiMillimetersUnit)) return this.report.info.gridSizeMillimeters; if (this.report.unit.stimulsoft.is(t.Report.Units.StiCentimetersUnit)) return this.report.info.gridSizeCentimetres; if (this.report.unit.stimulsoft.is(t.Report.Units.StiHundredthsOfInchUnit)) return this.report.info.gridSizeHundredthsOfInch; return this.report.info.gridSizeInch }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "printOnPreviousPage", { get: function() { return this._printOnPreviousPage }, set: function(t) { this._printOnPreviousPage = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "printHeadersFootersFromPreviousPage", { get: function() { return this._printHeadersFootersFromPreviousPage }, set: function(t) { this._printHeadersFootersFromPreviousPage = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "paperSize", { get: function() { return this._paperSize }, set: function(e) { if (this._paperSize != e) { if (this._paperSize = e, e == E.Custom || null == this._report) return; var r = t.Report.Components.StiPageHelper.getPaperSizeFromPaperKind(e); if (null == r) return; var i = B.getPaperSize(this, r); this.pageWidth = i.width, this.pageHeight = i.height } }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "paperSourceOfFirstPage", { get: function() { return this._paperSourceOfFirstPage }, set: function(t) { this._paperSourceOfFirstPage != t && (this._paperSourceOfFirstPage = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "paperSourceOfOtherPages", { get: function() { return this._paperSourceOfOtherPages }, set: function(t) { this._paperSourceOfOtherPages != t && (this._paperSourceOfOtherPages = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "numberOfCopies", { get: function() { return this._numberOfCopies }, set: function(t) { this._numberOfCopies != t && (this._numberOfCopies = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "unlimitedBreakable", { get: function() { return this._unlimitedBreakable }, set: function(t) { this._unlimitedBreakable = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "largeHeight", { get: function() { return this._largeHeight }, set: function(t) { this._largeHeight = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "largeHeightFactor", { get: function() { return this._largeHeightFactor }, set: function(t) { t >= 1 && t <= 20 && (this._largeHeightFactor = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "largeHeightAutoFactor", { get: function() { if (this.largeHeight) return this.largeHeightFactor; return this._largeHeightAutoFactor }, set: function(t) { t < 1 && (this._largeHeightAutoFactor = 1), t >= 1 && t <= 50 && (this._largeHeightAutoFactor = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "currentWidthSegment", { get: function() { return this._currentWidthSegment }, set: function(t) { this._currentWidthSegment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "currentHeightSegment", { get: function() { return this._currentHeightSegment }, set: function(t) { this._currentHeightSegment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "stopBeforePrint", { get: function() { return this._stopBeforePrint }, set: function(t) { this._stopBeforePrint = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "skip", { get: function() { return this._skip }, set: function(t) { this._skip = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "stretchToPrintArea", { get: function() { return this._stretchToPrintArea }, set: function(t) { this._stretchToPrintArea = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "titleBeforeHeader", { get: function() { return this._titleBeforeHeader }, set: function(t) { this._titleBeforeHeader != t && (this._titleBeforeHeader = t, this.correct()) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "unlimitedHeight", { get: function() { return this._unlimitedHeight }, set: function(t) { this._unlimitedHeight = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "unlimitedWidth", { get: function() { return this._unlimitedWidth }, set: function(t) { this._unlimitedWidth = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "offsetRectangle", { get: function() { return this._offsetRectangle }, set: function(t) { this._offsetRectangle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "orientation", { get: function() { return this._orientation }, set: function(t) { var e = this.margins.left , r = this.margins.right , i = this.margins.top , n = this.margins.bottom; if (this._orientation != t && null != this._report && !this._report.isSerializing) { var o = this.pageHeight; this.pageHeight = this.pageWidth, this.pageWidth = o, t == v.Landscape ? this.margins = new w(i,n,r,e) : this.margins = new w(n,i,e,r) } this._orientation = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "locked", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "linked", { get: function() { return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "pageWidth", { get: function() { return this._pageWidth }, set: function(t) { this._pageWidth = Math.round2(t, 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "pageHeight", { get: function() { return this._pageHeight }, set: function(t) { this._pageHeight = Math.round2(t, 2) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "segmentPerWidth", { get: function() { return this._segmentPerWidth }, set: function(t) { t > 0 && (this._segmentPerWidth = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "segmentPerHeight", { get: function() { return this._segmentPerHeight }, set: function(t) { t > 0 && (this._segmentPerHeight = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "watermark", { get: function() { return null == this._watermark && (this._watermark = new C), this._watermark }, set: function(t) { this._watermark = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "margins", { get: function() { return this._margins }, set: function(t) { this._margins = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "mirrorMargins", { get: function() { return this._mirrorMargins }, set: function(t) { this._mirrorMargins = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "report", { get: function() { return this._report }, set: function(t) { this._report = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "unit", { get: function() { if (null == this._report) return A.HundredthsOfInch; return this._report.unit }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "reportUnit", { get: function() { return this._reportUnit }, set: function(t) { this._reportUnit = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "drillDownActivated", { get: function() { return this._drillDownActivated }, set: function(t) { this._drillDownActivated = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "isDashboard", { get: function() { return this.stimulsoft.is(t.Report.Dashboard.IStiDashboard) }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "isPage", { get: function() { return !this.isDashboard }, enumerable: !0, configurable: !0 }), Object.defineProperty(O.prototype, "cacheGuid", { get: function() { return null == this._cacheGuid && this.newCacheGuid(), this._cacheGuid }, set: function(t) { this._cacheGuid = t }, enumerable: !0, configurable: !0 }), O.prototype.newCacheGuid = function() { this._cacheGuid = t.System.Guid.newGuid().toString().stimulsoft.replaceAll("-", "") } , O.prototype.getIsPageTotalDataBand = function(t) { var e, r; if (null == this.report || null == this.report.dataBandsUsedInPageTotals) return !1; try { for (var i = __values(this.report.dataBandsUsedInPageTotals), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o == t || "Breaked_" + o == t || "Continued_" + o == t) return !0 } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return !1 } , O.prototype.clearPage = function() { var t = new x , e = {} , i = {}; if (this.components.setParent(this), 1e11 == this.height) return; this.removeNewPageContainers(this), this.moveComponentsToPage(); var n = new r.StiComponentsCollection(this) , o = 0; while (o < this.components.count) { var a = this.components.getByIndex(o) , s = a.stimulsoft.as(r.StiContainer) , l = !1; null != s && (null == t.get(s.name) ? (l = this.getIsPageTotalDataBand(s.name), l ? t.set(s.name, e) : t.set(s.name, i)) : l = t.get(s.name) == e); !l && null != s && null == s.tagValue && null == s.bookmarkValue && null == s.toolTipValue && null == s.hyperlinkValue && null == s.guid && null == s.interaction && (null == s.border || s.border.side == F.None && 0 == s.border.dropShadow) && (null == s.brush || s.brush.stimulsoft.is(D) && s.brush.color.stimulsoft.equals(R.transparent)) || n.add(a), o++ } this.components.clear(), this.components.addRange(n), n.clear() } , O.prototype.removeNewPageContainers = function(e) { for (var i = !1, n = e.components.count - 1; n >= 0; n--) { var o = e.components.getByIndex(n); if (o.stimulsoft.is(t.Report.Engine.StiNewPageContainer)) e.components.removeAt(n), i = !0; else { var a = o.stimulsoft.as(r.StiContainer); null != a && this.removeNewPageContainers(a) } } i && (e.canGrow && (e.canShrink = !0), r.StiContainerHelper.checkSize(e)) } , O.prototype.getComponentsCount2 = function(t) { var e, i, n = t.components.count; try { for (var o = __values(t.components.list), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s.stimulsoft.as(r.StiContainer); null != l && (n += this.getComponentsCount2(l)) } } catch (t) { e = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (e) throw e.error } } return n } , O.prototype.getComponentsCount = function() { return this.getComponentsCount2(this) } , O.prototype.resizePage = function(t, e, i) { var n, o, a, s, l, u; if (void 0 === i && (i = !0), i && (this.margins = new w(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 c = __values(this.conditions.toCast()), m = c.next(); !m.done; m = c.next()) { var p = m.value; p.font = new S(p.font.name,p.font.size * t,p.font.style) } } catch (t) { n = { error: t } } finally { try { m && !m.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } var h = this.getComponents(); try { for (var d = __values(h.list), g = d.next(); !g.done; g = d.next()) { var A = g.value; A.stimulsoft.is(r.StiLinePrimitive) && (A.size *= t), A.left *= t, A.top *= e, A.width *= t, A.height *= e; var y = A.stimulsoft.as(r.IStiFont); null != y && (y.font = new S(y.font.name,y.font.size * t,y.font.style)); var b = A.stimulsoft.as(r.StiDataBand); null != b && (b.columnWidth *= t, b.columnGaps *= t); var v = A.stimulsoft.as(r.StiPanel); if (null != v && (v.columnWidth *= t, v.columnGaps *= t), null != A.conditions) try { for (var C = (l = void 0, __values(A.conditions.toCast())), E = C.next(); !E.done; E = C.next()) { var p = E.value; p.font = new S(p.font.name,p.font.size * t,p.font.style) } } catch (t) { l = { error: t } } finally { try { E && !E.done && (u = C.return) && u.call(C) } finally { if (l) throw l.error } } var B = A.stimulsoft.as(r.IStiBorder); null != B && (B.stimulsoft.is(f) ? (B.border = B.border.clone(), B.border.leftSide.size *= t, B.border.rightSide.size *= t, B.border.bottomSide.size *= e, B.border.topSide.size *= e) : (B.border = B.border.clone(), B.border.size *= t)) } } catch (t) { a = { error: t } } finally { try { g && !g.done && (s = d.return) && s.call(d) } finally { if (a) throw a.error } } } , O.prototype.toString = function() { return i.isNullOrEmpty(this.alias) ? this.name : this.name + " [" + this.alias + "]" } , O.prototype.construct = function(e) { M.prototype.construct.call(this); try { this.newGuid(), this.border.size = 2, this.parent = null, this.paperSize = E.Custom; var r = null; if (this.paperSize != E.Custom && (r = B.getPaperSizeFromPaperKind(this.paperSize)), null == r || this.paperSize == E.Custom) this._pageWidth = 827, this._pageHeight = 1169; else { var i = B.getPaperSize(this, r); this.pageWidth = i.width, this.pageHeight = i.height } this._report = e, this._segmentPerWidth = 1, this._segmentPerHeight = 1, this._margins = new w(39,39,39,39), null == this._report || this._report.isSerializing || this.convert(A.HundredthsOfInch, this.unit) } catch (e) { t.System.StiError.showError(e, !1) } } , O.eventBeginRender = {}, O.eventRendering = {}, O.eventEndRender = {}, O.eventColumnBeginRender = {}, O.eventColumnEndRender = {}, O.eventGetExcelSheet = {}, O }(r.StiPanel); r.StiPage = M }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Collections.CollectionBase , o = t.Base.JsonReportObject.IStiJsonReportObject , a = t.Base.StiJson , s = function(n) { function s(t, e) { void 0 === e && (e = null); var r = n.call(this) || this; return r.canUseCacheMode = !1, r.cacheMode = !1, r.quickCachedPages = null, r.notCachedPages = null, r.report = t, r } return __extends(s, n), s.prototype.implements = function() { return [e.IStiStateSaveRestore, o] } , s.prototype.saveToJsonObject = function(t) { var e, r; if (0 == this.list.length) return null; var i = new a , n = 0; try { for (var o = __values(this.list), s = o.next(); !s.done; s = o.next()) { var l = s.value; i.addPropertyJObject(n.toString(), l.saveToJsonObject(t)), n++ } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } return i } , s.prototype.loadFromJsonObject = function(e) { var i, n; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = null , u = s.value; switch (u.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value) { case "StiPage": l = new r.StiPage; break; case "StiDashboard": if (null == (l = t.Report.Dashboard.StiDashboardCreator.createDashboard(this.report))) return; break; case "StiForm": break } this.add(l), l.loadFromJsonObject(u) } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , s.prototype.loadFromXml = function(e, i) { for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; if (null == o.attributes) continue; var a = o.attributes.getNamedItem("type"); if (null != a) switch (a.value) { case "Page": var s = new r.StiPage; s.report = this.report, this.list.add(s), s.loadFromXml(o, i); break; case "Stimulsoft.Dashboard.Components.StiDashboard": var l = t.Report.Dashboard.StiDashboardCreator.createDashboard(this.report); if (null == l) return; l.report = this.report, this.list.add(l), l.loadFromXml(o, i); break; case "Form": break } } } , s.prototype.add = function(t) { null != this.report && (t.displayRectangle = t.convertFromHInchesRect(t.unit, t.displayRectangle)), null != this.report && this.report.isDesigning && i.isNullOrEmpty(t.name) && (t.name = e.StiNameCreation.createName(this.report, e.StiNameCreation.generateName(t))), i.isNullOrEmpty(t.name) && (null != this.report && this.report.isDesigning ? t.name = e.StiNameCreation.createName(this.report, e.StiNameCreation.generateName(t)) : t.name = e.StiNameCreation.createSimpleName(this.report, e.StiNameCreation.generateName(t))), this.addV2Internal(t) } , s.prototype.addV2Internal = function(t) { null == t.report && (t.report = this.report), this.list.add(t) } , s.prototype.remove = function(t, e) { if (t.stimulsoft.is(r.StiPage)) return void this.list.remove(t); while (e > 0) this.removeAt(this.length - 1), e--; while (t > 0) this.removeAt(0), t-- } , s.prototype.getPageWithoutCache = function(t) { return this.getByIndex(t) } , s.prototype.getByName = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name.toLowerCase() == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , s.prototype.setByName = function(t, e) { t = t.toLowerCase(); for (var i = 0; i < this.list.length; i++) { if (this.getByIndex(i).stimulsoft.as(r.StiComponent).name.toLowerCase() == t) return void (this.list[i] = e) } this.add(e) } , s.prototype.getComponentByName = function(t) { var e, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value , a = o.components.getComponentByName(t, o); if (null != a) return a } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , s.setParent = function(t) { var e, i; try { for (var n = __values(t.components.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.parent = t; var l = a.stimulsoft.as(r.StiContainer); null != l && s.setParent(l) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , s.prototype.saveState = function(t) { var e, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { n.value.saveState(t) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , s.prototype.restoreState = function(t) { var e, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { n.value.restoreState(t) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , s.prototype.clearAllStates = function() { var t, e; try { for (var r = __values(this.list), i = r.next(); !i.done; i = r.next()) { i.value.clearAllStates() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , Object.defineProperty(s.prototype, "containsDashboards", { get: function() { var e, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { if (n.value.stimulsoft.is(t.Report.Dashboard.IStiDashboard)) return !0 } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return !1 }, enumerable: !0, configurable: !0 }), s.prototype.isNotSavedPage = function(t) { return !1 } , s.prototype.markPageAsNotSaved = function(t) {} , s.prototype.getPage = function(t) { return t } , s.prototype.savePage = function(t) {} , s }(n); r.StiPagesCollection = s; var l = function() { function t(t, e) { this.page = t, this.savePage = e } return Object.defineProperty(t.prototype, "isNotSaved", { get: function() { return this.savePage }, enumerable: !0, configurable: !0 }), t }() }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.StiJson , n = t.Report.Expressions.StiExpression , o = function() { function t() { this._name = "", this._expression = "" } return t.prototype.saveToJsonObject = function(t) { var e = new i; return e.addPropertyStringNullOrEmpty("Name", this.name), e.addPropertyJObject("Expression", new n(this._expression).saveToJsonObject(t)), e } , t.prototype.loadFromJsonObject = function(t) { var e, r; 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.toString(); break; case "Expression": var s = new n; s.loadFromJsonObject(a.value), this._expression = s.value; break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , t.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 } } } , Object.defineProperty(t.prototype, "isDefault", { get: function() { return r.isNullOrEmpty(this.name) && (null == this.expression || 0 == this.expression.length) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "name", { get: function() { return this._name }, set: function(t) { this._name = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "expression", { get: function() { return this._expression }, set: function(t) { this._expression = t }, enumerable: !0, configurable: !0 }), t }(); e.StiParameter = o }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiJson , i = t.System.Collections.CollectionBase , n = function(t) { function i() { return t.call(this) || this } return __extends(i, t), i.prototype.saveToJsonObject = function(t) { var e, i; if (0 == this.list.length) return null; var n = new r , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(t)), o++ } } catch (t) { e = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (e) throw e.error } } return n } , i.prototype.loadFromJsonObject = function(t) { var r, i; try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = new e.StiParameter; s.loadFromJsonObject(a.value), this.list.add(s) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , i.prototype.loadFromXml = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r] , n = new e.StiParameter; n.loadFromXml(i), this.list.add(n) } } , i.prototype.clone = function() { var t, r, n = new i; try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = new e.StiParameter; l.name = s.name, l.expression = s.expression, n.add(l) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } return n } , i.prototype.indexOf2 = function(t) { var e, r; t = t.toLowerCase(); var i = 0; try { for (var n = __values(this.list), o = n.next(); !o.done; o = n.next()) { if (o.value.name.toLowerCase() == t) return i; i++ } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return -1 } , i.prototype.insertRange = function(t, e) { var r, i; try { for (var n = __values(e.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; this.insert(t, a) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , i.prototype.remove2 = function(t) { this.list.contains(t) && this.list.remove(t) } , i.prototype.getByName = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name.toLowerCase() == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , i.prototype.setByName = function(t, e) { t = t.toLowerCase(); for (var r = 0; r < this.list.length; r++) { if (this.getByIndex(r).name.toLowerCase() == t) return void (this.list[r] = e) } this.add(e) } , i.prototype.copyTo = function(t, e) { this.list.copyTo(t, e) } , i }(i); e.StiParametersCollection = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.isAllowChange = function(e) { if (null == e) return !0; return (e.restrictions & t.StiRestrictions.AllowChange) > 0 } , e.isAllowDelete2 = function(e) { return (e & t.StiRestrictions.AllowDelete) > 0 } , e.isAllowDelete = function(e) { if (null == e) return !0; return (e.restrictions & t.StiRestrictions.AllowDelete) > 0 } , e.isAllowMove = function(e) { if (null == e) return !0; return (e.restrictions & t.StiRestrictions.AllowMove) > 0 } , e.isAllowSelect = function(e) { if (null == e) return !0; return (e.restrictions & t.StiRestrictions.AllowSelect) > 0 } , e.isAllowResize = function(e) { if (null == e) return !0; return (e.restrictions & t.StiRestrictions.AllowResize) > 0 } , e.isAllowChangePosition = function(t) { return this.isAllowMove(t) || this.isAllowResize(t) } , e }(); t.StiRestrictionsHelper = e }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.getColumnIndexInSorting = function(t, e) { var r, i, n = 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) && o.length > 0) { if (e == o) return n; o = "", n++ } a++ } } catch (t) { r = { error: t } } finally { try { l && !l.done && (i = s.return) && i.call(s) } finally { if (r) throw r.error } } return -1 } , e.getColumnSortDirection = function(e, r) { var i, n, o = this.getColumnIndexInSorting(e, r); if (-1 == o) return t.StiInteractionSortDirection.None; try { for (var a = __values(e), s = a.next(); !s.done; s = a.next()) { var l = s.value; if ("ASC" == l || "DESC" == l) { if (0 == o) { if ("ASC" == l) return t.StiInteractionSortDirection.Ascending; if ("DESC" == l) return t.StiInteractionSortDirection.Descending } o-- } } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } return t.StiInteractionSortDirection.None } , e.changeColumnSortDirection = function(t, e) { var r, i, n = this.getColumnIndexInSorting(t, e); if (-1 == n) 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 == n) return "ASC" == l && (t[o] = "DESC"), "DESC" == l && (t[o] = "ASC"), t; n-- } o++ } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return t } , e.isColumnExistInSorting = function(t, e) { return -1 != this.getColumnIndexInSorting(t, e) } , e.addColumnToSorting = function(t, e, r) { for (var i = e.split("."), n = Array.create(String, t.length + i.length + 1), o = 0; o < t.length; o++) n[o] = t[o]; n[t.length] = r ? "ASC" : "DESC"; for (var o = 0; o < i.length; o++) n[t.length + o + 1] = i[o]; return n } , e }(); t.StiSortHelper = e }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Drawing.StiFontUtils , n = function() { function r() {} return r.measureString = function(r, n, o) { var a = n; e.StiDpiHelper.needDeviceCapsScale && (a = i.changeFontSize(n, n.size)); var s = t.Base.Drawing.StiTextDrawing.measureString(null, o.text, a, r, o.textOptions, o.horAlignment, o.vertAlignment, !1, o.allowHtmlTags) , l = o.report; if (null != l && l.reportUnit != e.StiReportUnitType.HundredthsOfInch) { var u = l.unit , c = o.margins , m = s.width + c.left + c.right + o.border.size; u.convertToHInches(Math.round2(u.convertFromHInches(m), 2)) < m && (s.width += u.convertToHInches(.01)) } return s } , r }(); r.StiStandardTextRenderer = n }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Asc = 0] = "Asc", t[t.Desc = 1] = "Desc", t[t.None = 2] = "None" }(e = t.StiSortDirection || (t.StiSortDirection = {})); var r; !function(t) { t[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" }(r = t.StiSummaryType || (t.StiSummaryType = {})); var i; !function(t) { t[t.AllValues = 0] = "AllValues", t[t.SkipZerosAndNulls = 1] = "SkipZerosAndNulls", t[t.SkipNulls = 2] = "SkipNulls" }(i = t.StiSummaryValues || (t.StiSummaryValues = {})); var n; !function(t) { t[t.ByValue = 0] = "ByValue", t[t.ByDisplayValue = 1] = "ByDisplayValue" }(n = t.StiSortType || (t.StiSortType = {})); var o; !function(t) { t[t.Column = 0] = "Column", t[t.Row = 1] = "Row", t[t.Cell = 2] = "Cell" }(o = t.StiFieldType || (t.StiFieldType = {})); var a; !function(t) { t[t.LeftToRight = 0] = "LeftToRight", t[t.UpToDown = 1] = "UpToDown" }(a = t.StiSummaryDirection || (t.StiSummaryDirection = {})); var s; !function(t) { t[t.None = 0] = "None", t[t.Arabic = 1] = "Arabic", t[t.Roman = 2] = "Roman", t[t.ABC = 3] = "ABC" }(s = t.StiEnumeratorType || (t.StiEnumeratorType = {})); var l; !function(t) { t[t.Dot = 0] = "Dot", t[t.Dash = 1] = "Dash", t[t.Colon = 2] = "Colon", t[t.RoundBrackets = 3] = "RoundBrackets", t[t.SquareBrackets = 4] = "SquareBrackets" }(l = t.StiEnumeratorSeparator || (t.StiEnumeratorSeparator = {})) }(e = t.Core || (t.Core = {})) }(e = t.CrossTab || (t.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Size , i = function() { function t(t, e, i, n, o) { void 0 === t && (t = ""), void 0 === e && (e = 0), void 0 === i && (i = NaN), void 0 === n && (n = NaN), void 0 === o && (o = null), this.size = r.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._drillDownParameters = null, (isNaN(i) || isNaN(n)) && (this.isNumeric = !0, i = 1, n = 1), this._text = t, this.value = e, this.width = i, this.height = n, this.field = o } return t.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone().stimulsoft.as(t); return e.parentCell = e, e } , Object.defineProperty(t.prototype, "text", { get: function() { return this._text }, set: function(t) { this._text = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "drillDownParameters", { get: function() { return this._drillDownParameters }, set: function(t) { this._drillDownParameters != t && (this._drillDownParameters = t) }, enumerable: !0, configurable: !0 }), t }(); e.StiCell = i }(r = e.Core || (e.Core = {})) }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(e, r) { this.hyperlinkValue = null, this.tagValue = null, this.toolTipValue = null, this.drillDownParameters = null, this.isTotal = !1, this.level = -1, this.value = e, this.displayValue = r, this.cols = new t.StiColumnCollection } return e }(); t.StiColumn = e }(e = t.Core || (t.Core = {})) }(e = t.CrossTab || (t.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Collections.CollectionBase , i = t.System.Collections.Hashtable , n = function(t) { function r() { var r = null !== t && t.apply(this, arguments) || this; return r.directionFactor = 1, r.sortType = e.StiSortType.ByDisplayValue, r.items = new i, r } return __extends(r, t), r.prototype.compare = function(t, r) { var i = t.stimulsoft.as(e.StiColumn) , n = r.stimulsoft.as(e.StiColumn) , o = i.parentCollection.sortType , a = i.parentCollection.directionFactor; if (o == e.StiSortType.ByDisplayValue) { if (null != i.displayValue) { if (null != n.othersText) return -1; if (null != i.othersText) return 1; return i.displayValue.stimulsoft.compareTo(n.displayValue) * a } return 1 } if (null != i.value) { if (null != n.othersText) return -1; if (null != i.othersText) return 1; return i.value.stimulsoft.compareTo(n.value) * a } return 1 } , r.prototype.add2 = function(t, r) { var i = new e.StiColumn(t,r); this.add(i) } , r.prototype.add = function(e) { t.prototype.add.call(this, e), e.isTotal || this.items.add(e.value, e), e.parentCollection = this } , r.prototype.sort = function(t, r) { this.sortType = r, t == e.StiSortDirection.Asc ? this.directionFactor = 1 : this.directionFactor = -1, this.list.sort(this.compare) } , r.prototype.clear = function() { this.list.clear(), this.items.clear() } , r.prototype.getByValue = function(t) { var e, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.value == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , r }(r); e.StiColumnCollection = n }(r = e.Core || (e.Core = {})) }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = t.System.Drawing.ContentAlignment , n = t.System.Drawing.Rectangle , o = t.Base.Drawing.StiTextRenderer , a = t.System.Drawing.Point , s = t.Report.Events.StiValueEventArgs , l = t.System.Drawing.Size , u = t.System.Collections.Hashtable , c = t.Base.StiAlignValue , m = function() { function t() { this.fields = new u, this.designTime = !1, this.maxWidth = 10, this.maxHeight = 10 } return Object.defineProperty(t.prototype, "gridSize", { get: function() { return this.report.info.gridSize }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "rowCount", { get: function() { return this.heights.length }, set: function(t) { this.init(this.widths.length, t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "colCount", { get: function() { return this.widths.length }, set: function(t) { this.init(t, this.heights.length) }, enumerable: !0, configurable: !0 }), t.prototype.setTextOfCell = function(t, e, r) { this.cells[t][e].text = r } , t.prototype.align = function(t) { return c.alignToMaxGrid(t, this.gridSize, !0) } , t.prototype.getCellTotalWidth = function(t, e) { for (var r = 0, i = t; i < t + e; i++) i < this.widths.length && (r += this.widths[i]); return r } , t.prototype.getCellTotalHeight = function(t, e) { for (var r = 0, i = t; i < t + e; i++) r += this.heights[i]; return r } , t.prototype.doAutoSize = function() { for (var t = 0; t < this.colCount; t++) for (var e = 0; e < this.rowCount; e++) { var r = this.cells[t][e]; if (null != r.field && r.parentCell == r) { var 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))); var a = l.empty; a = o.measureString(n, r.field.font, r.text, r.field.angle), a.width += r.field.margins.left + r.field.margins.right, a.height += r.field.margins.top + r.field.margins.bottom; var s = r.field.indicator; null != s && null != s.customIcon && null != s.customIconSize && (a.height = Math.max(a.height, s.customIconSize.height), s.alignment != i.BottomCenter && s.alignment != i.MiddleCenter && s.alignment != i.TopCenter && (a.width += s.customIconSize.width)), a.width = this.report.unit.convertFromHInches(a.width), a.height = this.report.unit.convertFromHInches(a.height), 0 != r.field.maxSize.width && r.field.maxSize.width < a.width && (a.width = r.field.maxSize.width), 0 != r.field.minSize.width && r.field.minSize.width > a.width && (a.width = r.field.maxSize.width), r.size = a } else r.size = l.empty, t > 0 && 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 u = this.report.unit.convertFromHInches(StiOptions.Engine.CrossTab.defaultWidth), e = 0; e < this.rowCount; e++) { var r = this.cells[t][e]; if (r.width > 1) continue; var m = r.size.width; null != r.field && (0 != r.field.minSize.width && (m = Math.max(m, r.field.minSize.width)), 0 != r.field.maxSize.width && (m = Math.min(m, r.field.maxSize.width))), u = Math.max(u, m) } u = Math.min(u, this.maxWidth), u = this.align(u), this.widths[t] = u } for (var e = 0; e < this.rowCount; e++) { for (var p = this.report.unit.convertFromHInches(StiOptions.Engine.CrossTab.defaultHeight), t = 0; t < this.colCount; t++) { var r = this.cells[t][e]; if (r.height > 1) continue; var h = r.size.height; null != r.field && (0 != r.field.minSize.height && (h = Math.max(h, r.field.minSize.height)), 0 != r.field.maxSize.height && (h = Math.min(h, r.field.maxSize.height))), p = Math.max(p, h) } p = Math.min(p, this.maxHeight), p = this.align(p), this.heights[e] = p } for (var t = 0; t < this.colCount; t++) for (var e = 0; e < this.rowCount; e++) { var r = this.cells[t][e]; if (null != r.field && r.parentCell == r && (r.width > 1 || r.height > 1)) { var d = this.getCellTotalWidth(t, r.width) , g = this.getCellTotalHeight(e, r.height); if (r.size.width > d) for (var f = r.size.width / d, S = t; S < t + r.size.width; S++) S < this.widths.length && (this.widths[S] *= f); if (r.size.height > g) for (var f = r.size.height / g, S = e; S < e + r.size.height; S++) S < this.heights.length && (this.heights[S] *= f) } } for (var t = 0; t < this.colCount; t++) this.widths[t] = c.alignToMaxGrid(this.widths[t], this.report.info.gridSize, !0); for (var e = 0; e < this.rowCount; e++) this.heights[e] = c.alignToMaxGrid(this.heights[e], this.report.info.gridSize, !0); for (var A = 0, t = 0; t < this.colCount; t++) this.coordX[t] = A, A += this.widths[t]; for (var y = 0, e = 0; e < this.rowCount; e++) this.coordY[e] = y, y += this.heights[e] } , t.prototype.getFieldWidth = function(t, e) { var r = new n(0,0,e,t.height); return r = t.convertTextMargins(r, !1), r = t.convertTextBorders(r, !1), r.width } , t.prototype.getFieldHeight = function(t, e) { var r = new n(0,0,t.height,e); return r = t.convertTextMargins(r, !1), r = t.convertTextBorders(r, !1), r.height } , t.prototype.setCell = function(t, r, i, n, o, l, u, c, m, p, h, d, g, f, S) { void 0 === g && (g = -1), void 0 === f && (f = null), void 0 === S && (S = null); var A = this.cells[t][r]; this.designTime || (u = u.clone(!0).stimulsoft.as(e.StiCrossField)); var y = u.tagValue , w = u.toolTipValue , b = u.hyperlinkValue , v = u.textValue , C = new s(l); u.tagValue = h, u.toolTipValue = p, u.hyperlinkValue = m, u.originalValue = l; var E = u.stimulsoft.as(e.StiCrossSummary); null != E && (this.cellExists(0, r) && (E.crossRowValue = this.cells[0][r].value), this.cellExists(t, 1) && (E.crossColumnValue = this.cells[t][1].value)), u.invokeTextProcess(u, C), u.tagValue = y, u.toolTipValue = w, u.hyperlinkValue = b, u.stimulsoft.is(e.StiCrossSummary) && (u.crossRowValue = null, u.crossColumnValue = null), u.textValue != v && (o = u.textValue); for (var B = t; B < t + i; B++) for (var T = r; T < r + n; T++) null != o && (this.cells[B][T].text = o.toString()), this.cells[B][T].parentCell = A, this.cells[B][T].value = l, this.cells[B][T].width = i - (B - t), this.cells[B][T].height = n - (T - r), this.cells[B][T].field = u, this.cells[B][T].isNumeric = c, this.cells[B][T].hyperlinkValue = m, this.cells[B][T].toolTipValue = p, this.cells[B][T].tagValue = h, this.cells[B][T].drillDownParameters = d, this.cells[B][T].level = g, this.cells[B][T].parentGuid = f, this.cells[B][T].guid = S; return this.designTime && null == this.fields.get(u) && this.fields.set(u, new a(t,r)), this.cells[t][r] } , t.prototype.cellExists = function(t, e) { return this.cells.getStiLength(0) > t && this.cells[t].getStiLength(0) > e } , t.prototype.setCellField = function(t, e, r) { null != this.cells[t][e] && (this.cells[t][e].field = r) } , t.prototype.init = function(t, e) { this.widths = Array.create(Number, t), this.heights = Array.create(Number, e), this.coordX = Array.create(Number, t), this.coordY = Array.create(Number, e); for (var i = 0; i < t; i++) this.widths[i] = 10; for (var i = 0; i < e; i++) this.heights[i] = 10; this.cells = Array.create(Array, t); for (var n = 0; n < t; n++) { this.cells[n] = Array.create(r.StiCell, e); for (var o = 0; o < e; o++) this.cells[n][o] = new r.StiCell } } , t }(); r.StiGrid = m }(r = e.Core || (e.Core = {})) }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.StiString , o = t.Data.Engine.StiDataTopNMode , a = t.System.Collections.List , s = t.Report.Components.TextFormats.StiGeneralFormatService , l = t.System.EventArgs , u = t.System.Data.DBNull , c = t.System.DateTime , m = t.Report.Components.TextFormats.StiFormatService , p = t.Report.Components.StiComponentsCollection , h = t.System.Drawing.Rectangle , d = t.Report.Events.StiValueEventArgs , g = t.System.Char , f = t.Report.Events.StiGetValueEventArgs , S = t.System.Collections.Hashtable , A = t.System.Guid , y = t.System.Type , w = t.Base.Helpers.StiValueHelper , b = function(b) { function v() { var t = null !== b && b.apply(this, arguments) || this; return t.crossTab = null, t.strNull = "", t.emptyField = v.emptyField, t.oneCellSize = 0, t.oneCellWidth = 0, t.oneCellHeight = 0, t.summaryDirection = i.StiSummaryDirection.LeftToRight, t.widthCorrection = 0, t.heightCorrection = 0, t.columnsCell = new S, t.rowsCell = new S, t.rows = new i.StiRowCollection, t.cols = new i.StiColumnCollection, t.summaryContainer = null, t.leftCrossTitle = null, t.rightCrossTitle = null, t.summaryCrossTitle = null, t } return __extends(v, b), v.prototype.invokeEvents2 = function(r, i) { var n = !0; if (null != this.report && (n = this.report.calculationMode == e.StiCalculationMode.Compilation), n) { var o = new d; o.displayValue = i, r.invokeGetHyperlink(r, o), r.hyperlinkValue = o.value; var a = new d; a.displayValue = i, r.invokeGetToolTip(r, a), r.toolTipValue = a.value; var s = new d; s.displayValue = i, r.invokeGetTag(r, s), r.tagValue = s.value } else { if (r.hyperlink.length > 0) { var u = t.Report.Engine.StiParser.StiParser.parseTextValue(r.hyperlink, r); r.hyperlinkValue = this.report.toString2(u) } if (r.toolTip.length > 0) { var u = t.Report.Engine.StiParser.StiParser.parseTextValue(r.toolTip, r); r.toolTipValue = this.report.toString2(u) } if (r.tag.length > 0) { var u = t.Report.Engine.StiParser.StiParser.parseTextValue(r.tag, r); r.tagValue = this.report.toString2(u) } } r.invokeBeforePrint(r, l.empty), r.invokeAfterPrint(r, l.empty) } , v.prototype.invokeEvents = function(r) { var i = !0; if (null != this.report && (i = this.report.calculationMode == e.StiCalculationMode.Compilation), i) { var n = new d; r.invokeGetHyperlink(r, n), r.hyperlinkValue = n.value; var o = new d; r.invokeGetToolTip(r, o), r.toolTipValue = o.value; var a = new d; r.invokeGetTag(r, a), r.tagValue = a.value } else { if (r.hyperlink.length > 0) { var s = t.Report.Engine.StiParser.StiParser.parseTextValue(r.hyperlink, r); r.hyperlinkValue = this.report.toString2(s) } if (r.toolTip.length > 0) { var s = t.Report.Engine.StiParser.StiParser.parseTextValue(r.toolTip, r); r.toolTipValue = this.report.toString2(s) } if (r.tag.length > 0) { var s = t.Report.Engine.StiParser.StiParser.parseTextValue(r.tag, r); r.tagValue = this.report.toString2(s) } } r.invokeBeforePrint(r, l.empty), r.invokeAfterPrint(r, l.empty) } , v.prototype.addRowTotal = function(t, e, r, n) { while (!0) { var o = new i.StiRow("",""); o.isTotal = !0, o.level = n; var a = new f , s = this.rowFields.getByIndex(n).total; if (null != s && s.invokeGetValue(s, a), o.displayValue = a.value, t.add(o), ++e >= r) return; t = t.getByIndex(t.count - 1).rows } } , v.prototype.addColTotal = function(t, e, r, n) { while (!0) { var o = new i.StiColumn("",""); o.isTotal = !0, o.level = n; var a = new f , s = this.colFields.getByIndex(n).total; if (null != s && s.invokeGetValue(s, a), o.displayValue = a.value, t.add(o), ++e >= r) return; t = t.getByIndex(t.count - 1).cols } } , v.prototype.sortRows = function(t, e, r) { var n, 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 && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } if (e < r) { var u = this.rowFields.getByIndex(e).sortDirection; u != i.StiSortDirection.None && t.sort(u, this.rowFields.getByIndex(e).sortType) } } , v.prototype.sortCols = function(t, e, r) { var n, 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 && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } if (e < r) { var u = this.colFields.getByIndex(e).sortDirection; u != i.StiSortDirection.None && t.sort(u, this.colFields.getByIndex(e).sortType) } } , v.prototype.createRowTotals = function() { var t = this.getRowsHeaderWidth(); t > 0 && this.createRowTotals2(this.rows, 0, t) } , v.prototype.createRowTotals2 = function(t, e, i) { var n, o; if (t.count > 0) { try { for (var a = __values(t.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; this.createRowTotals2(l.rows, e + 1, i) } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } var u = this.rowFields.getByIndex(e).stimulsoft.as(r.StiCrossRow) , c = 0 == e ? null : this.rowFields.getByIndex(e - 1).stimulsoft.as(r.StiCrossRow); this.allowTotal(u, c) && this.addRowTotal(t, e, i, e) } } , v.prototype.createColTotals = function() { var t = this.getColsHeaderHeight(); t > 0 && this.createColTotals2(this.cols, 0, t) } , v.prototype.createColTotals2 = function(t, e, i) { var n, o; if (t.count > 0) { try { for (var a = __values(t.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; this.createColTotals2(l.cols, e + 1, i) } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } var u = this.colFields.getByIndex(e).stimulsoft.as(r.StiCrossColumn) , c = 0 == e ? null : this.colFields.getByIndex(e - 1).stimulsoft.as(r.StiCrossColumn); this.allowTotal(u, c) && this.addColTotal(t, e, i, e) } } , v.prototype.getDataFromDataRow = function(t, e) { if (null == t) return this.strNull; return null != t.gett(e) ? t.gett(e) : this.strNull } , v.prototype.getValueFromDataRow = function(e, r) { if (null == e) return null; try { var n = e.gett(r.name) , o = r.summary; if (o == i.StiSummaryType.Image) return n; if (o == i.StiSummaryType.Count) return n; if (o == i.StiSummaryType.CountDistinct) return n; if (o == i.StiSummaryType.None) { if (n.stimulsoft.is(c)) return n; if (r.hideZeros) { var a = 0; try { if (n.stimulsoft.is(String)) { for (var s = n.toString(), l = !1, m = 0; m < s.length; m++) if (g.isDigit(s[m])) { l = !0; break } if (!l) return n; s = s.replace(".", ",").replace(",", t.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator).stimulsoft.replaceAll(" ", ""), a = s.stimulsoft.toNumber() } else a = t.System.Convert.changeType(n, Number); if (0 == a) return "" } catch (t) {} return n } return n } if (n.stimulsoft.is(String)) { var s = n.toString(); if (0 == s.length) return null; s = s.replace(".", ",").replace(",", t.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); var p = s.stimulsoft.toNumber(); return isNaN(p) ? 0 : p } if (n.stimulsoft.is(c)) return n; if (null == n) return 0; if (n == u) return 0; return t.System.Convert.changeType(n, Number) } catch (t) { return 0 } } , v.prototype.allowTotal = function(e, r) { if (null == e) return !1; if (null != r) { var i = null == r.interaction ? null : r.interaction.stimulsoft.as(t.Report.Components.StiCrossHeaderInteraction); if (null != i && i.collapsingEnabled) return !1 } return e.isTotalVisible } , v.prototype.getRow = function(e) { var n, o, a = !1, s = this.rows, l = null, u = 0; try { for (var c = __values(this.rowFields.toCast()), m = c.next(); !m.done; m = c.next()) { var p = m.value , h = this.strNull , g = this.strNull; if (p.name != this.emptyField && (h = this.getDataFromDataRow(e, p.name), g = this.getDataFromDataRow(e, "Display__" + p.name)), a && (h = "all", g = "all"), null == (l = s.getByValue(h))) { l = new i.StiRow(h,g); var f = new d; p.invokeGetHyperlink(p, f), l.hyperlinkValue = f.value; var S = new d; p.invokeGetToolTip(p, S), l.toolTipValue = S.value; var A = new d; p.invokeGetTag(p, A), l.tagValue = A.value, s.add(l) } a = p.stimulsoft.is(r.StiCrossHeader) && t.Report.Engine.StiCrossTabBuilder.isCollapsed2(p.stimulsoft.as(r.StiCrossHeader), u, h.toString()), s = l.rows, u++ } } catch (t) { n = { error: t } } finally { try { m && !m.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } return l } , v.prototype.getColumn = function(e) { var n, o, a = !1, s = this.cols, l = null, u = 0; try { for (var c = __values(this.colFields.toCast()), m = c.next(); !m.done; m = c.next()) { var p = m.value , h = "" , g = ""; if (p.name != this.emptyField && (h = this.getDataFromDataRow(e, p.name), g = this.getDataFromDataRow(e, "Display__" + p.name)), a && (h = "all", g = "all"), null == (l = s.getByValue(h))) { l = new i.StiColumn(h,g); var f = new d; p.invokeGetHyperlink(p, f), l.hyperlinkValue = f.value; var S = new d; p.invokeGetToolTip(p, S), l.toolTipValue = S.value; var A = new d; p.invokeGetTag(p, A), l.tagValue = A.value, s.add(l) } a = p.stimulsoft.is(r.StiCrossHeader) && t.Report.Engine.StiCrossTabBuilder.isCollapsed2(p.stimulsoft.as(r.StiCrossHeader), u, h.toString()), s = l.cols, u++ } } catch (t) { n = { error: t } } finally { try { m && !m.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } return l } , v.prototype.calculateTopN = function() { for (var t = this.colFields.count - 1; t >= 0; t--) { var e = this.colFields.getByIndex(t) , r = this.getSumFiledIndex(e.topN); r >= 0 && this.processTopNColumns(t, 0, r, this.cols, e.topN) } for (var t = this.rowFields.count - 1; t >= 0; t--) { var i = this.rowFields.getByIndex(t) , r = this.getSumFiledIndex(i.topN); r >= 0 && this.processTopNRows(t, 0, r, this.rows, i.topN) } } , v.prototype.processTopNRows = function(t, e, r, n, s) { var l, u, c, m, p, h, d, g, f, A, y, w; if (e < t) try { for (var b = __values(n.list), v = b.next(); !v.done; v = b.next()) { var C = v.value; this.processTopNRows(t, e + 1, r, C.rows, s) } } catch (t) { l = { error: t } } finally { try { v && !v.done && (u = b.return) && u.call(b) } finally { if (l) throw l.error } } else { var E = new S; try { for (var B = __values(n.list), T = B.next(); !T.done; T = B.next()) { var C = T.value , I = new a; this.getRowsArray2(C.rows, I), 0 == I.length && I.add(C); var x = []; try { for (var F = (p = void 0, __values(I)), D = F.next(); !D.done; D = F.next()) { var R = D.value; try { for (var P = (d = void 0, __values(this.summaryContainer.getDataCol().keys)), N = P.next(); !N.done; N = P.next()) { var k = N.value , M = this.summaryContainer.getDataCol().get(k).get(R); if (null != M && (M = M.stimulsoft.as(i.StiSummary)), null != M) try { for (var O = (f = void 0, __values(M.sums[r])), _ = O.next(); !_.done; _ = O.next()) { var L = _.value; x.add(L) } } catch (t) { f = { error: t } } finally { try { _ && !_.done && (A = O.return) && A.call(O) } finally { if (f) throw f.error } } } } catch (t) { d = { error: t } } finally { try { N && !N.done && (g = P.return) && g.call(P) } finally { if (d) throw d.error } } } } catch (t) { p = { error: t } } finally { try { D && !D.done && (h = F.return) && h.call(F) } finally { if (p) throw p.error } } var j = this.getSummaryResult(x, r, !1); null == E.get(j) && E.set(j, new a), E.get(j).add(C) } } catch (t) { c = { error: t } } finally { try { T && !T.done && (m = B.return) && m.call(B) } finally { if (c) throw c.error } } var H = new a; try { for (var G = __values(E.keys), Q = G.next(); !Q.done; Q = G.next()) { var j = Q.value; H.addRange(E.get(j)) } } catch (t) { y = { error: t } } finally { try { Q && !Q.done && (w = G.return) && w.call(G) } finally { if (y) throw y.error } } for (var Y = new a, U = s.mode == o.Top ? Math.max(0, H.length - s.count) : 0; U < (s.mode == o.Top ? H.length : Math.min(H.length, s.count)); U++) Y.add(H[U]); var J = 0 , W = new a; while (J < n.count) Y.contains(n.getByIndex(J)) ? J++ : (W.add(n.getByIndex(J)), n.removeAt(J)); if (s.showOthers && W.length > 0) { var V = new i.StiRow(s.othersText,s.othersText); V.othersText = s.othersText, n.add(V), this.fillOtherRows(V, W) } } } , v.prototype.fillOtherRows = function(t, e) { var r, n, o, s, l, u, c, m; try { for (var p = __values(e), h = p.next(); !h.done; h = p.next()) { var d = h.value; if (0 == d.rows.count) try { for (var g = (o = void 0, __values(this.summaryContainer.getDataCol().keys)), f = g.next(); !f.done; f = g.next()) { var S = f.value , A = this.summaryContainer.getDataCol().get(S).get(d); if (null != A && (A = A.stimulsoft.as(i.StiSummary)), null != A) { var y = this.summaryContainer.getSummary(S, t) , w = 0; try { for (var b = (l = void 0, __values(this.sumFields.list)), v = b.next(); !v.done; v = b.next()) { v.value.name != this.emptyField && (0 == y.sums[w].length && (y.hyperlinkValues = A.hyperlinkValues, y.toolTipValues = A.toolTipValues, y.tagValues = A.tagValues, y.drillDownParameters = A.drillDownParameters), y.sums[w].addRange(A.sums[w]), w++) } } catch (t) { l = { error: t } } finally { try { v && !v.done && (u = b.return) && u.call(b) } finally { if (l) throw l.error } } } } } catch (t) { o = { error: t } } finally { try { f && !f.done && (s = g.return) && s.call(g) } finally { if (o) throw o.error } } else try { for (var C = (c = void 0, __values(d.rows.list)), E = C.next(); !E.done; E = C.next()) { var B = E.value; if (null == t.rows.getByValue(B.value)) t.rows.add(B); else { var T = new a; T.add(B), this.fillOtherRows(t.rows.getByValue(B.value), T) } } } catch (t) { c = { error: t } } finally { try { E && !E.done && (m = C.return) && m.call(C) } finally { if (c) throw c.error } } } } catch (t) { r = { error: t } } finally { try { h && !h.done && (n = p.return) && n.call(p) } finally { if (r) throw r.error } } } , v.prototype.processTopNColumns = function(t, e, r, n, s) { var l, u, c, m, p, h, d, g, f, A, y, w; if (e < t) try { for (var b = __values(n.list), v = b.next(); !v.done; v = b.next()) { var C = v.value; this.processTopNColumns(t, e + 1, r, C.cols, s) } } catch (t) { l = { error: t } } finally { try { v && !v.done && (u = b.return) && u.call(b) } finally { if (l) throw l.error } } else { var E = new S; try { for (var B = __values(n.list), T = B.next(); !T.done; T = B.next()) { var C = T.value , I = new a; this.getColsArray2(C.cols, I), 0 == I.length && I.add(C); var x = []; try { for (var F = (p = void 0, __values(I)), D = F.next(); !D.done; D = F.next()) { var R = D.value , P = this.summaryContainer.getDataCol().get(R).stimulsoft.as(S); if (null != P) try { for (var N = (d = void 0, __values(P.values)), k = N.next(); !k.done; k = N.next()) { var M = k.value; try { for (var O = (f = void 0, __values(M.sums[r])), _ = O.next(); !_.done; _ = O.next()) { var L = _.value; x.add(L) } } catch (t) { f = { error: t } } finally { try { _ && !_.done && (A = O.return) && A.call(O) } finally { if (f) throw f.error } } } } catch (t) { d = { error: t } } finally { try { k && !k.done && (g = N.return) && g.call(N) } finally { if (d) throw d.error } } } } catch (t) { p = { error: t } } finally { try { D && !D.done && (h = F.return) && h.call(F) } finally { if (p) throw p.error } } var j = this.getSummaryResult(x, r, !1); null == E.get(j) && E.set(j, new a), E.get(j).add(C) } } catch (t) { c = { error: t } } finally { try { T && !T.done && (m = B.return) && m.call(B) } finally { if (c) throw c.error } } var H = new a; try { for (var G = __values(E.keys), Q = G.next(); !Q.done; Q = G.next()) { var j = Q.value; H.addRange(E.get(j)) } } catch (t) { y = { error: t } } finally { try { Q && !Q.done && (w = G.return) && w.call(G) } finally { if (y) throw y.error } } for (var Y = new a, U = s.mode == o.Top ? Math.max(0, H.length - s.count) : 0; U < (s.mode == o.Top ? H.length : Math.min(H.length, s.count)); U++) Y.add(H[U]); var J = 0 , W = new a; while (J < n.count) Y.contains(n.getByIndex(J)) ? J++ : (W.add(n.getByIndex(J)), n.removeAt(J)); if (s.showOthers && W.length > 0) { var V = new i.StiColumn(s.othersText,s.othersText); V.othersText = s.othersText, n.add(V), this.fillOtherColumns(V, W) } } } , v.prototype.fillOtherColumns = function(t, e) { var r, i, n, o, s, l, u, c; try { for (var m = __values(e), p = m.next(); !p.done; p = m.next()) { var h = p.value; if (0 == h.cols.count) { var d = this.summaryContainer.getDataCol().get(h).stimulsoft.as(S); if (null != d) try { for (var g = (n = void 0, __values(d.keys)), f = g.next(); !f.done; f = g.next()) { var A = f.value , y = this.summaryContainer.getSummary(t, A) , w = d.get(A) , b = 0; try { for (var v = (s = void 0, __values(this.sumFields.list)), C = v.next(); !C.done; C = v.next()) { C.value.name != this.emptyField && (0 == y.sums[b].length && (y.hyperlinkValues = w.hyperlinkValues, y.toolTipValues = w.toolTipValues, y.tagValues = w.tagValues, y.drillDownParameters = w.drillDownParameters), y.sums[b].addRange(w.sums[b]), b++) } } catch (t) { s = { error: t } } finally { try { C && !C.done && (l = v.return) && l.call(v) } finally { if (s) throw s.error } } } } catch (t) { n = { error: t } } finally { try { f && !f.done && (o = g.return) && o.call(g) } finally { if (n) throw n.error } } } else try { for (var E = (u = void 0, __values(h.cols.list)), B = E.next(); !B.done; B = E.next()) { var T = B.value; if (null == t.cols.getByValue(T.value)) t.cols.add(T); else { var I = new a; I.add(T), this.fillOtherColumns(t.cols.getByValue(T.value), I) } } } catch (t) { u = { error: t } } finally { try { B && !B.done && (c = E.return) && c.call(E) } finally { if (u) throw u.error } } } } catch (t) { r = { error: t } } finally { try { p && !p.done && (i = m.return) && i.call(m) } finally { if (r) throw r.error } } } , v.prototype.getSumFiledIndex = function(t) { if (null != t && t.mode != o.None && !n.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 } , v.prototype.calculateDataTable = function(t) { var e, r, i, n; 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), m = c.next(); !m.done; m = c.next()) { var u = m.value; this.crossTab.businessObject.position = a++, this.calculateDataRow(u) } } catch (t) { i = { error: t } } finally { try { m && !m.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } this.crossTab.businessObject.position = o } } , v.prototype.calculateDataRow = function(t) { var e, r, i, n, o, a, s = this.getRow(t), l = this.getColumn(t), u = this.summaryContainer.getSummary(l, s), c = 0; try { for (var m = __values(this.sumFields.toCast()), p = m.next(); !p.done; p = m.next()) { var h = p.value; if (h.name != this.emptyField) { var d = this.getValueFromDataRow(t, h); u.sums[c].add(d), this.invokeEvents(h), u.hyperlinkValues[c] = h.hyperlinkValue, u.toolTipValues[c] = h.toolTipValue, u.tagValues[c] = h.tagValue, null != h.drillDownParameters && (null == u.drillDownParameters && (u.drillDownParameters = Array.create(Object, u.tagValues.length)), u.drillDownParameters[c] = h.drillDownParameters), c++ } } } catch (t) { e = { error: t } } finally { try { p && !p.done && (r = m.return) && r.call(m) } finally { if (e) throw e.error } } try { for (var g = __values(this.rowFields.toCast()), f = g.next(); !f.done; f = g.next()) { var h = f.value; h.name != this.emptyField && (this.invokeEvents(h), s.hyperlinkValue = h.hyperlinkValue, s.toolTipValue = h.toolTipValue, s.tagValue = h.tagValue, null != h.drillDownParameters && (null == s.drillDownParameters && (s.drillDownParameters = {}), s.drillDownParameters = h.drillDownParameters)) } } catch (t) { i = { error: t } } finally { try { f && !f.done && (n = g.return) && n.call(g) } finally { if (i) throw i.error } } try { for (var S = __values(this.colFields.toCast()), A = S.next(); !A.done; A = S.next()) { var h = A.value; h.name != this.emptyField && (this.invokeEvents(h), l.hyperlinkValue = h.hyperlinkValue, l.toolTipValue = h.toolTipValue, l.tagValue = h.tagValue, null != h.drillDownParameters && (null == l.drillDownParameters && (l.drillDownParameters = {}), l.drillDownParameters = h.drillDownParameters)) } } catch (t) { o = { error: t } } finally { try { A && !A.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } } , v.prototype.copyRows = function(e, n, o, a, l, u, c) { var m, p, d = 0; c.ref = A.newGuid().toString(); try { for (var g = __values(e.list), f = g.next(); !f.done; f = g.next()) { var S = f.value , y = { ref: "" } , w = this.copyRows(S.rows, n + 1, o, a + 1, l, u, y) , b = this.rowFields.getByIndex(a).stimulsoft.as(r.StiCrossField); d += w; var v = 1; if (t.Report.Engine.StiCrossTabBuilder.isCollapsed2(b.stimulsoft.as(r.StiCrossHeader), a, S.value.toString())) { var C = S; while (!0) { if (0 == C.rows.count) break; v++, C = C.rows.getByIndex(0) } } var E = new h(n,o,v,w); S.isTotal && (E.width = this.rowsHeaderWidth + this.widthCorrection - E.x - (this.isSummarySubHeadersPresent && this.summaryDirection == i.StiSummaryDirection.UpToDown ? 1 : 0), b = b.total); var B = b.textFormat.format(S.displayValue); this.invokeEvents2(b, B); var T = null != b && b.stimulsoft.is(t.Report.CrossTab.StiCrossRow) && !b.textFormat.stimulsoft.is(s); if (b.mergeHeaders || this.report.isDesigning) this.setCell(E.x, E.y, E.width, E.height, B, B, b, T, S.hyperlinkValue, S.toolTipValue, S.tagValue, S.drillDownParameters, a, c.ref, y.ref); else for (var I = 0; I < E.height; I++) this.setCell(E.x, E.y + I, E.width, 1, B, B, b, T, S.hyperlinkValue, S.toolTipValue, S.tagValue, S.drillDownParameters, a, c.ref, y.ref); o += E.height } } catch (t) { m = { error: t } } finally { try { f && !f.done && (p = g.return) && p.call(g) } finally { if (m) throw m.error } } return Math.max(d, this.oneCellHeight) } , v.prototype.copyCols = function(e, n, o, a, l, u, c) { var m, p, d = 0; c.ref = A.newGuid().toString(); try { for (var g = __values(e.list), f = g.next(); !f.done; f = g.next()) { var S = f.value , y = { ref: "" } , w = this.copyCols(S.cols, n, o + 1, a + 1, l, u, y) , b = this.colFields.getByIndex(a).stimulsoft.as(r.StiCrossField); d += w; var v = 1; if (t.Report.Engine.StiCrossTabBuilder.isCollapsed2(b.stimulsoft.as(r.StiCrossHeader), a, S.value.toString())) { var C = S; while (!0) { if (0 == C.cols.count) break; v++, C = C.cols.getByIndex(0) } } var E = new h(n,o,w,v); S.isTotal && (E.height = this.colsHeaderHeight + this.heightCorrection - E.y - (this.isSummarySubHeadersPresent && this.summaryDirection == i.StiSummaryDirection.LeftToRight ? 1 : 0), b = b.total); var B = b.textFormat.format(S.displayValue); this.invokeEvents2(b, B); var T = null != b && b.stimulsoft.is(t.Report.CrossTab.StiCrossColumn) && !b.textFormat.stimulsoft.is(s); if (b.mergeHeaders || this.report.isDesigning) this.setCell(E.x, E.y, E.width, E.height, B, B, b, T, S.hyperlinkValue, S.toolTipValue, S.tagValue, S.drillDownParameters, a, c.ref, y.ref); else for (var I = 0; I < E.width; I++) this.setCell(E.x + I, E.y, 1, E.height, B, B, b, T, S.hyperlinkValue, S.toolTipValue, S.tagValue, S.drillDownParameters, a, c.ref, y.ref); n += E.width } } catch (t) { m = { error: t } } finally { try { f && !f.done && (p = g.return) && p.call(g) } finally { if (m) throw m.error } } return Math.max(d, this.oneCellWidth) } , v.prototype.convertToDecimal = function(t) { try { if (t.stimulsoft.is(String) && ("-" == t.toString() || "" == t.toString())) return 0; return t.stimulsoft.toNumber() } catch (t) { return 0 } } , v.prototype.isAllowConvertToDecimal = function(t) { if (null == t || u.stimulsoft.equals(t)) return !1; if (t.stimulsoft.is(Number)) return !0; return !1 } , v.prototype.getSummary2 = function(t, e, r, i) { void 0 === i && (i = !1); var n = this.sumFields.getByIndex(e) , o = this.getSummaryResult(t, e, r, i); return this.isHideZeros(o) && n.hideZeros ? this.crossTab.emptyValue : o } , v.prototype.getSummaryResult = function(t, e, n, o) { var a, s, l, m, p, h, d, g, f, A, y, w, b, v, C, E, B, T; void 0 === o && (o = !1); var I = this.sumFields.getByIndex(e).stimulsoft.as(r.StiCrossSummary) , x = I.summary , F = I.summaryValues; !n || x != i.StiSummaryType.Count && x != i.StiSummaryType.CountDistinct || (x = i.StiSummaryType.Sum), !o || x != i.StiSummaryType.Count && x != i.StiSummaryType.CountDistinct || (x = i.StiSummaryType.Sum); var D = 0 , R = !0; switch (x) { case i.StiSummaryType.None: case i.StiSummaryType.Image: var P = 0; if (0 != e) for (var N = e - 1; N >= 0; N--) if (-1 != this.sumFields.getByIndex(N).indexOfSelectValue) { if ((P = this.sumFields.getByIndex(N).indexOfSelectValue) < t.length) break; P = 0 } if (null == t || 0 == t.length) return ""; return t[P]; case i.StiSummaryType.Sum: try { for (var k = __values(t), M = k.next(); !M.done; M = k.next()) { var O = M.value; if (null == O || u.stimulsoft.equals(O)) continue; R = !1, this.isAllowConvertToDecimal(D) && (D += this.convertToDecimal(O)) } } catch (t) { a = { error: t } } finally { try { M && !M.done && (s = k.return) && s.call(k) } finally { if (a) throw a.error } } if (R) return this.crossTab.emptyValue; return D; case i.StiSummaryType.Max: if (null != t && t.length > 0 && this.isDateTime(t)) { var _ = !1 , L = null , j = -1 , N = 0; try { for (var H = __values(t), G = H.next(); !G.done; G = H.next()) { var O = G.value; if (null == O || u.stimulsoft.equals(O)) continue; if (R = !1, O.stimulsoft.is(c)) { var Q = O; _ ? L < Q && (L = Q, j = N) : (L = Q, _ = !0, j = 0) } N++ } } catch (t) { l = { error: t } } finally { try { G && !G.done && (m = H.return) && m.call(H) } finally { if (l) throw l.error } } if (I.indexOfSelectValue = j, R) return this.crossTab.emptyValue; return _ ? L : null } var j = -1 , N = 0; try { for (var Y = __values(t), U = Y.next(); !U.done; U = Y.next()) { var O = U.value; if (null == O || u.stimulsoft.equals(O)) continue; if (R = !1, 0 == N) this.isAllowConvertToDecimal(O) && (D = this.convertToDecimal(O), j = N); else if (this.isAllowConvertToDecimal(O)) { var J = this.convertToDecimal(O); D < J && (D = J, j = N) } N++ } } catch (t) { p = { error: t } } finally { try { U && !U.done && (h = Y.return) && h.call(Y) } finally { if (p) throw p.error } } if (I.indexOfSelectValue = j, R) return this.crossTab.emptyValue; return D; case i.StiSummaryType.Min: if (null != t && t.length > 0 && this.isDateTime(t)) { var _ = !1 , W = null , j = -1 , N = 0; try { for (var V = __values(t), z = V.next(); !z.done; z = V.next()) { var O = z.value; if (null == O || u.stimulsoft.equals(O)) continue; if (R = !1, O.stimulsoft.is(c)) { var Q = O; _ ? W > Q && (W = Q, j = N) : (W = Q, _ = !0, j = 0) } N++ } } catch (t) { d = { error: t } } finally { try { z && !z.done && (g = V.return) && g.call(V) } finally { if (d) throw d.error } } if (I.indexOfSelectValue = j, R) return this.crossTab.emptyValue; return _ ? W : null } var X = 0 , j = -1; try { for (var K = __values(t), Z = K.next(); !Z.done; Z = K.next()) { var O = Z.value; if (null == O || u.stimulsoft.equals(O)) continue; if (R = !1, 0 == X) this.isAllowConvertToDecimal(O) && (D = this.convertToDecimal(O), j = 0); else if (this.isAllowConvertToDecimal(O)) { var J = this.convertToDecimal(O); D > J && (D = J, j = X) } X++ } } catch (t) { f = { error: t } } finally { try { Z && !Z.done && (A = K.return) && A.call(K) } finally { if (f) throw f.error } } if (I.indexOfSelectValue = j, R) return this.crossTab.emptyValue; return D; case i.StiSummaryType.Count: if (null == t || 0 == t.length) return 0; var q = 0; try { for (var $ = __values(t), tt = $.next(); !tt.done; tt = $.next()) { var O = tt.value; R = !1; var et = 0; this.isAllowConvertToDecimal(O) && (et = this.convertToDecimal(O)), F == i.StiSummaryValues.AllValues && q++, F == i.StiSummaryValues.SkipNulls && null != O && q++, F == i.StiSummaryValues.SkipZerosAndNulls && null != O && 0 != et && q++ } } catch (t) { y = { error: t } } finally { try { tt && !tt.done && (w = $.return) && w.call($) } finally { if (y) throw y.error } } if (R) return this.crossTab.emptyValue; return q; case i.StiSummaryType.Average: if (null != t && t.length > 0 && this.isDateTime(t)) { var rt = 0 , it = 0; try { for (var nt = __values(t), ot = nt.next(); !ot.done; ot = nt.next()) { var O = ot.value; if (null == O || u.stimulsoft.equals(O)) continue; if (R = !1, O.stimulsoft.is(c)) { var Q = O; rt += Q.ticks, it++ } } } catch (t) { b = { error: t } } finally { try { ot && !ot.done && (v = nt.return) && v.call(nt) } finally { if (b) throw b.error } } if (0 == it) return null; if (R) return this.crossTab.emptyValue; return new c(rt / it) } if (null == t || 0 == t.length) return 0; var at = 0; try { for (var st = __values(t), lt = st.next(); !lt.done; lt = st.next()) { var O = lt.value; if (null == O || u.stimulsoft.equals(O)) continue; R = !1; var et = 0; this.isAllowConvertToDecimal(O) && (et = this.convertToDecimal(O), D += et), F == i.StiSummaryValues.AllValues && at++, F == i.StiSummaryValues.SkipNulls && null != O && at++, F == i.StiSummaryValues.SkipZerosAndNulls && null != O && 0 != et && at++ } } catch (t) { C = { error: t } } finally { try { lt && !lt.done && (E = st.return) && E.call(st) } finally { if (C) throw C.error } } if (0 == at) return 0; if (R) return this.crossTab.emptyValue; return Math.round2(D / at, 4); case i.StiSummaryType.CountDistinct: if (null == t || 0 == t.length) return 0; var ut = new S , ct = 0 , mt = !1; try { for (var pt = __values(t), ht = pt.next(); !ht.done; ht = pt.next()) { var O = ht.value; R = !1; var et = 0 , dt = !1; if (this.isAllowConvertToDecimal(O) && (et = this.convertToDecimal(O), dt = !0), null == O) F == i.StiSummaryValues.AllValues && (mt || (mt = !0, ct++)); else if (null == ut.get(O)) { if (0 == et && dt && F == i.StiSummaryValues.SkipZerosAndNulls) continue; ut.set(O, O), ct++ } } } catch (t) { B = { error: t } } finally { try { ht && !ht.done && (T = pt.return) && T.call(pt) } finally { if (B) throw B.error } } if (R) return this.crossTab.emptyValue; return ct } return D } , v.prototype.copySummaries = function(t, e, o) { for (var a, s, l, u, c, m, p, h, d = this.getRowsArray(), g = this.getColsArray(), f = Array.create(Array, this.colsHeaderHeight * this.oneCellSize), S = 0; S < f.length; S++) f[S] = []; var A = 0 , y = 0; try { for (var w = __values(d), b = w.next(); !b.done; b = w.next()) { for (var v = b.value, S = 0; S < f.length; S++) f[S].clear(); y = 0; try { for (var C = (l = void 0, __values(g)), E = C.next(); !E.done; E = C.next()) { var B = E.value; if (B.isTotal) for (var T = 0; T < this.oneCellSize; T++) { var I = f[B.level * this.oneCellSize + T] , x = this.getSummary2(I, T, !0); I.clear(); var F = 0 , D = 0; this.summaryDirection == i.StiSummaryDirection.UpToDown ? (F = t + y, D = e + A * this.oneCellSize + T) : (F = t + y * this.oneCellSize + T, D = e + A); var R = this.summaryContainer.getSummary(B, v, !0); R.sums[T].add(x), this.invokeEvents(this.sumFields.getByIndex(T)); var P = this.setCellValue(F, D, x, T, B.level, i.StiFieldType.Column, this.sumFields.getByIndex(T).hyperlinkValue, this.sumFields.getByIndex(T).toolTipValue, this.sumFields.getByIndex(T).tagValue, this.sumFields.getByIndex(T).drillDownParameters); P.summaryIndex = T, P.isCrossSummary = !0, this.sumFields.getByIndex(T).summary != i.StiSummaryType.Image && this.sumFields.getByIndex(T).summary != i.StiSummaryType.None || (P.value = null, P.text = ""); var N = 0; P.isNumeric && null != P.value && (N = P.value.stimulsoft.toNumber()); for (var k = !1, M = F - 1; M >= 0; M--) { var O = this.cells[M][D]; if (null != O.field && !O.field.stimulsoft.is(r.StiCrossSummary)) break; var _ = 0; O.isNumeric && (_ = O.value.stimulsoft.toNumber()), _ = 0 != N ? Math.round2(_ / N * 100, 2) : 0, O.isNumeric && null != O.field && O.field.stimulsoft.is(r.StiCrossSummary) && O.field.showPercents && (O.value = _, O.text = n.format("{0}%", _), k = !0) } k && null != P.field && P.field.stimulsoft.is(r.StiCrossTotal) && (P.text = "100%"), this.sumFields.getByIndex(T).useStyleOfSummaryInColumnTotal && this.setCellField(F, D, this.sumFields.getByIndex(T).clone().stimulsoft.as(r.StiCrossField)) } else for (var R = this.summaryContainer.getSummary(B, v, !1), L = this.copySummary(R, t, e, y, A, !0, !1, o), S = 0; S < this.colsHeaderHeight; S++) for (var T = 0; T < this.oneCellSize; T++) { var I = f[S * this.oneCellSize + T]; I.add(L[T]) } y++ } } catch (t) { l = { error: t } } finally { try { E && !E.done && (u = C.return) && u.call(C) } finally { if (l) throw l.error } } A++ } } catch (t) { a = { error: t } } finally { try { b && !b.done && (s = w.return) && s.call(w) } finally { if (a) throw a.error } } f = Array.create(Array, this.rowsHeaderWidth * this.oneCellSize); for (var S = 0; S < f.length; S++) f[S] = []; y = 0; try { for (var j = __values(g), H = j.next(); !H.done; H = j.next()) { for (var B = H.value, S = 0; S < this.rowsHeaderWidth * this.oneCellSize; S++) f[S].clear(); A = 0; try { for (var G = (p = void 0, __values(d)), Q = G.next(); !Q.done; Q = G.next()) { var v = Q.value; if (v.isTotal) for (var T = 0; T < this.oneCellSize; T++) { var I = f[v.level * this.oneCellSize + T] , Y = y == g.length - 1 && A == d.length - 1 , x = this.getSummary2(I, T, !0, Y); I.clear(); var F = 0 , D = 0; this.summaryDirection == i.StiSummaryDirection.UpToDown ? (F = t + y, D = e + A * this.oneCellSize + T) : (F = t + y * this.oneCellSize + T, D = e + A), this.invokeEvents(this.sumFields.getByIndex(T)); var P = this.setCellValue(F, D, x, T, v.level, i.StiFieldType.Row, this.sumFields.getByIndex(T).hyperlinkValue, this.sumFields.getByIndex(T).toolTipValue, this.sumFields.getByIndex(T).tagValue, this.sumFields.getByIndex(T).drillDownParameters); P.summaryIndex = T, this.sumFields.getByIndex(T).summary != i.StiSummaryType.Image && this.sumFields.getByIndex(T).summary != i.StiSummaryType.None || (P.value = null, P.text = ""), this.sumFields.getByIndex(T).useStyleOfSummaryInRowTotal && this.setCellField(F, D, this.sumFields.getByIndex(T).clone().stimulsoft.as(r.StiCrossField)) } else for (var R = this.summaryContainer.getSummary(B, v, !1), L = this.copySummary(R, t, e, y, A, !1, g.indexOf(B) == g.length - 1, o), S = 0; S < this.rowsHeaderWidth; S++) for (var T = 0; T < this.oneCellSize; T++) { var I = f[S * this.oneCellSize + T]; I.add(L[T]) } A++ } } catch (t) { p = { error: t } } finally { try { Q && !Q.done && (h = G.return) && h.call(G) } finally { if (p) throw p.error } } y++ } } catch (t) { c = { error: t } } finally { try { H && !H.done && (m = j.return) && m.call(j) } finally { if (c) throw c.error } } } , v.prototype.copySummary = function(t, e, r, n, o, a, s, l) { for (var u = Array.create(Object, this.oneCellSize), c = 0; c < this.oneCellSize; c++) { var m = l; null != t && (m = this.getSummary(t, c, s), u[c] = m); var p = 0 , h = 0; this.summaryDirection == i.StiSummaryDirection.UpToDown ? (p = e + n, h = r + o * this.oneCellSize + c) : (p = e + n * this.oneCellSize + c, h = r + o); var d = null != t ? t.hyperlinkValues[c] : null , g = null != t ? t.toolTipValues[c] : null , f = null != t ? t.tagValues[c] : null , S = null != t && null != t.drillDownParameters ? t.drillDownParameters[c] : null; if (!a || p >= this.widths.length || h >= this.heights.length) continue; this.setCellValue(p, h, m, c, 0, i.StiFieldType.Cell, d, g, f, S).summaryIndex = c } return u } , v.prototype.getSummary = function(t, e, r) { var i, n, o = []; try { for (var a = __values(t.sums[e]), s = a.next(); !s.done; s = a.next()) { var l = s.value; o.add(l) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } return this.getSummaryResult(o, e, r) } , v.prototype.isHideZeros = function(t) { return null != t && y.isNumericType(y.getType(t)) && 0 == w.tryToNumber(t) } , v.prototype.isDateTime = function(t) { var e, r; try { for (var i = __values(t), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (null != o && o.stimulsoft.is(c)) return !0 } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return !1 } , v.convertValueToString = function(t, e) { if (null == t) return ""; if (t.stimulsoft.is(Number) && 0 == t && e.hideZeros) return ""; if (t.stimulsoft.is(Number)) return e.textFormat.format(t); if (t.stimulsoft.is(c)) return e.textFormat.format(t); return t.toString() } , v.prototype.setCellValue = function(t, e, r, n, o, a, s, l, u, c) { switch (a) { case i.StiFieldType.Column: var m = this.getColumnTotalCell(o, n) , p = v.convertValueToString(r, m) , h = this.setCell(t, e, 1, 1, p, r, m, null != r && r.stimulsoft.is(Number), s, l, u, c); return v.checkNegativeColor(r, m, h), h; case i.StiFieldType.Row: var m = this.getRowTotalCell(o, n) , p = v.convertValueToString(r, m) , h = this.setCell(t, e, 1, 1, p, r, m, null != r && r.stimulsoft.is(Number), s, l, u, c); return v.checkNegativeColor(r, m, h), h; case i.StiFieldType.Cell: var m = this.sumFields.getByIndex(n) , p = v.convertValueToString(r, m) , h = this.setCell(t, e, 1, 1, p, r, m, null != r && r.stimulsoft.is(Number), s, l, u, c); return v.checkNegativeColor(r, m, h), h } return null } , v.checkNegativeColor = function(e, r, i) { if (t.Report.Components.TextFormats.StiNegativeColorChecker.isNegativeInRed(r.textFormat)) { var n = w.tryToNullableNumber(e); i.isNegativeColor = null != n && n < 0 } } , v.prototype.getColumnTotalCell = function(t, e) { var i = this.columnsCell.get(t * this.oneCellSize + e); if (null == i) { i = this.colFields.getByIndex(t).stimulsoft.as(r.StiCrossHeader).total.clone(!0).stimulsoft.as(r.StiCrossField), this.columnsCell.set(t * this.oneCellSize + e, i), i.horAlignment = this.sumFields.getByIndex(e).horAlignment, i.vertAlignment = this.sumFields.getByIndex(e).vertAlignment, i.textFormat = this.sumFields.getByIndex(e).textFormat.clone().stimulsoft.as(m) } return i } , v.prototype.getRowTotalCell = function(t, e) { var i = this.rowsCell.get(t * this.oneCellSize + e); return null == i && (i = this.rowFields.getByIndex(t).total.clone(!0).stimulsoft.as(r.StiCrossField), this.rowsCell.set(t * this.oneCellSize + e, i), i.horAlignment = this.sumFields.getByIndex(e).horAlignment, i.vertAlignment = this.sumFields.getByIndex(e).vertAlignment, i.textFormat = this.sumFields.getByIndex(e).textFormat.clone().stimulsoft.as(m)), i } , v.prototype.getRowsArray = function() { var t = []; return this.getRowsArray2(this.rows, t), t } , v.prototype.getRowsArray2 = function(t, e) { var r, i; try { for (var n = __values(t.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; 0 == a.rows.count && e.add(a), this.getRowsArray2(a.rows, e) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , v.prototype.getColsArray = function() { var t = []; return this.getColsArray2(this.cols, t), t } , v.prototype.getColsArray2 = function(t, e) { var r, i; try { for (var n = __values(t.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; 0 == a.cols.count && e.add(a), this.getColsArray2(a.cols, e) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , v.prototype.getRowsHeaderWidth = function() { if (this.isRowsEmpty) return 0; return this.getRowsHeaderWidth2(this.rows) } , v.prototype.getRowsHeaderWidth2 = function(t) { var e = 0; while (t.count > 0) e++, t = t.getByIndex(0).rows; return e } , v.prototype.getColsHeaderHeight = function() { if (this.isColsEmpty) return 0; return this.getColsHeaderHeight2(this.cols) } , v.prototype.getColsHeaderHeight2 = function(t) { var e = 0; while (t.count > 0) e++, t = t.getByIndex(0).cols; return e } , v.prototype.getRowsHeight = function(t, e, r) { var i, n; 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) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } return o } , v.prototype.getColsWidth = function(t, e, r) { var i, n; 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) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } return o } , v.prototype.enumerateRows = function(t, o) { var a, s, l = this.rowFields.getByIndex(o).stimulsoft.as(r.StiCrossRow), u = l.enumeratorSeparator, c = 0; try { for (var m = __values(t.list), p = m.next(); !p.done; p = m.next()) { var h = p.value; if (null != h.rows && h.rows.count > 0 && this.enumerateRows(h.rows, o + 1), l.enumeratorType != i.StiEnumeratorType.None) { c++; var d = null; d = l.enumeratorType == i.StiEnumeratorType.Arabic ? c.toString() : l.enumeratorType == i.StiEnumeratorType.ABC ? e.Func.Convert.toABC(c) : e.Func.Convert.toRoman(c), h.displayValue = n.format("{0}{1}{2}", d, u, h.displayValue) } } } catch (t) { a = { error: t } } finally { try { p && !p.done && (s = m.return) && s.call(m) } finally { if (a) throw a.error } } } , v.prototype.enumerateColumns = function(t, o) { var a, s, l = this.colFields.getByIndex(o).stimulsoft.as(r.StiCrossColumn), u = l.enumeratorSeparator, c = 0; try { for (var m = __values(t.list), p = m.next(); !p.done; p = m.next()) { var h = p.value; if (null != h.cols && h.cols.count > 0 && this.enumerateColumns(h.cols, o + 1), l.enumeratorType != i.StiEnumeratorType.None) { c++; var d = null; d = l.enumeratorType == i.StiEnumeratorType.Arabic ? c.toString() : l.enumeratorType == i.StiEnumeratorType.ABC ? e.Func.Convert.toABC(c) : e.Func.Convert.toRoman(c), h.displayValue = n.format("{0}{1}{2}", d, u, h.displayValue) } } } catch (t) { a = { error: t } } finally { try { p && !p.done && (s = m.return) && s.call(m) } finally { if (a) throw a.error } } } , v.prototype.checkSeparators = function() { for (var t = 0, e = new S, r = new S, n = !1, o = 0; o < this.colCount; o++) { for (var a = 1, s = 0; s < this.rowCount; s++) { var l = this.cells[o][s]; if (l.parentCell == l && l.text.stimulsoft.contains("#|#") && 1 == l.width) { for (var u = 1, c = 0; c < l.text.length; c++) c < l.text.length - 3 && "#" == l.text[c] && "|" == l.text[c + 1] && "#" == l.text[c + 2] && (e.set(l, l), n = !0, u++); a = Math.max(a, u) } } r[o] = a, t += a } if (t > this.colCount || n) { var m = this.colCount , p = this.cells; this.init(t, this.rowCount); for (var h = 0, o = 0; o < m; o++) { for (var d = Math.trunc(r.get(o)), a = 1, s = 0; s < this.rowCount; s++) { var g = p[o][s]; if (null != e.get(g) && g.parentCell == g) { var f = g.text.split("#|#"); a = Math.max(a, f.length + 1), g.text = f[0], this.cells[h][s] = g; for (var c = 1; c < f.length; c++) { var A = g.clone().stimulsoft.as(i.StiCell); this.cells[h + c][s] = A, A.text = f[c] } } else g.parentCell.width += d - 1, this.cells[h][s] = g } h += d } } } , v.prototype.create = function(t, e, n, o) { var a, s, l, u, c, m, p, h; this.summaryDirection = n, this.report = e, this.oneCellSize = this.sumFields.count, this.oneCellWidth = this.summaryDirection == i.StiSummaryDirection.LeftToRight ? this.oneCellSize : 1, this.oneCellHeight = this.summaryDirection == i.StiSummaryDirection.UpToDown ? this.oneCellSize : 1, this.summaryContainer = new i.StiSummaryContainer(this.oneCellSize), this.rows.clear(), this.cols.clear(), this.calculateDataTable(t), this.calculateTopN(), this.sortRows(), this.sortCols(), this.rows.count > 0 && this.enumerateRows(this.rows, 0), this.cols.count > 0 && this.enumerateColumns(this.cols, 0), this.createRowTotals(), this.createColTotals(), this.colsHeaderHeight = this.getColsHeaderHeight(), this.rowsHeaderWidth = this.getRowsHeaderWidth(), this.isSummarySubHeadersPresent && (n == i.StiSummaryDirection.LeftToRight ? this.colsHeaderHeight++ : this.rowsHeaderWidth++), this.colsWidth = this.getColsWidth(), this.rowsHeight = this.getRowsHeight(); var d = this.colsWidth + this.rowsHeaderWidth , g = this.rowsHeight + this.colsHeaderHeight; if (this.isRowsEmpty && (g += this.oneCellHeight), this.isColsEmpty && (d += 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++, b.prototype.init.call(this, d + this.widthCorrection, g + this.heightCorrection), this.isRowsEmpty && this.isColsEmpty) return; var S = 0; try { for (var A = __values(this.colFields.toCast()), y = A.next(); !y.done; y = A.next()) { var w = y.value , v = null; try { for (var C = (l = void 0, __values(this.colTitleFields.toCast())), E = C.next(); !E.done; E = C.next()) { var B = E.value; if (B.typeOfComponent == "Col:" + w.name) { v = B; break } } } catch (t) { l = { error: t } } finally { try { E && !E.done && (u = C.return) && u.call(C) } finally { if (l) throw l.error } } if (null != v && v.isEnabled) { var T = 1 , I = Math.max(this.rowsHeaderWidth, 1); this.invokeEvents(v), this.setCell(0, S++, I, T, null == v.textValue ? v.getTextInternal() : v.textValue, o, v, !1, v.hyperlinkValue, v.toolTipValue, v.tagValue, v.drillDownParameters) } } } catch (t) { a = { error: t } } finally { try { y && !y.done && (s = A.return) && s.call(A) } finally { if (a) throw a.error } } var x = this.isRowTitlePresent; S = 0; try { for (var F = __values(this.rowFields.toCast()), D = F.next(); !D.done; D = F.next()) { var R = D.value , v = null; try { for (var P = (p = void 0, __values(this.rowTitleFields.toCast())), N = P.next(); !N.done; N = P.next()) { var B = N.value; if (B.typeOfComponent == "Row:" + R.name) { v = B; break } } } catch (t) { p = { error: t } } finally { try { N && !N.done && (h = P.return) && h.call(P) } finally { if (p) throw p.error } } if (null != v && x) { var I = 1 , T = Math.max(this.colsHeaderHeight, 1) , k = this.isTopLinePresent ? 1 : 0; this.invokeEvents(v), n == i.StiSummaryDirection.LeftToRight && this.isColsEmpty && this.sumFields.count > 1 && T++, this.setCell(S++, k, I, T, null == v.textValue ? v.getTextInternal() : v.textValue, o, v, !1, v.hyperlinkValue, v.toolTipValue, v.tagValue, v.drillDownParameters) } } } catch (t) { c = { error: t } } finally { try { D && !D.done && (m = F.return) && m.call(F) } finally { if (c) throw c.error } } if (this.isSummarySubHeadersPresent) if (n == i.StiSummaryDirection.LeftToRight) { var M = this.colsHeaderHeight + this.heightCorrection - 1; S = this.rowsHeaderWidth + this.widthCorrection; for (var O = 0, _ = 0 == this.colsWidth ? this.sumFields.count : this.colsWidth, L = 0; L < _; L++) { var j = this.sumHeaderFields.getByIndex(O).stimulsoft.as(r.StiCrossSummaryHeader); if (!this.designTime) { null != j.text && (null == j.originalValue ? j.originalValue = j.text : j.text = j.originalValue); var H = new f; j.invokeGetValue(j, H), j.setTextInternal(H.value) } this.invokeEvents(j), this.setCell(S, M, 1, 1, null == j.textValue ? j.getTextInternal() : j.textValue, o, j, !1, j.hyperlinkValue, j.toolTipValue, j.tagValue, j.drillDownParameters), S++, O++, O == this.sumHeaderFields.count && (O = 0) } } else { var G = this.rowsHeaderWidth + this.widthCorrection - 1; S = this.colsHeaderHeight + this.heightCorrection; var Q = 0 , Y = 0; Y = 0 == this.rowsHeight ? this.sumHeaderFields.count : this.rowsHeight; for (var L = 0; L < Y; L++) { var j = this.sumHeaderFields.getByIndex(Q).stimulsoft.as(r.StiCrossSummaryHeader); if (!this.designTime) { null != j.text && (null == j.originalValue ? j.originalValue = j.text : j.text = j.originalValue); var H = new f; j.invokeGetValue(j, H), j.setTextInternal(H.value) } this.invokeEvents(j), this.setCell(G, S, 1, 1, null == j.textValue ? j.getTextInternal() : j.textValue, o, j, !1, j.hyperlinkValue, j.toolTipValue, j.tagValue, j.drillDownParameters), S++, Q++, Q == this.sumHeaderFields.count && (Q = 0) } } if (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, o, this.leftCrossTitle, !1, this.leftCrossTitle.hyperlinkValue, this.leftCrossTitle.toolTipValue, this.leftCrossTitle.tagValue, this.leftCrossTitle.drillDownParameters)), this.isRightTopLinePresent && d - this.rowsHeaderWidth > 0 && (this.invokeEvents(this.rightCrossTitle), this.setCell(this.rowsHeaderWidth, 0, d - this.rowsHeaderWidth, 1, null == this.rightCrossTitle.textValue ? this.rightCrossTitle.getTextInternal() : this.rightCrossTitle.textValue, o, this.rightCrossTitle, !1, this.rightCrossTitle.hyperlinkValue, this.rightCrossTitle.toolTipValue, this.rightCrossTitle.tagValue, this.rightCrossTitle.drillDownParameters))), 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, o, this.summaryCrossTitle, !1, this.summaryCrossTitle.hyperlinkValue, this.summaryCrossTitle.toolTipValue, this.summaryCrossTitle.tagValue, this.summaryCrossTitle.drillDownParameters)), this.isRowsEmpty)) { this.invokeEvents(this.summaryCrossTitle); var U = n == i.StiSummaryDirection.LeftToRight ? this.colsHeaderHeight - 1 : this.colsHeaderHeight , J = n == i.StiSummaryDirection.LeftToRight ? this.oneCellHeight + 1 : this.oneCellHeight; this.setCell(0, U, 1, J, null == this.summaryCrossTitle.textValue ? this.summaryCrossTitle.getTextInternal() : this.summaryCrossTitle.textValue, o, this.summaryCrossTitle, !1, this.summaryCrossTitle.hyperlinkValue, this.summaryCrossTitle.toolTipValue, this.summaryCrossTitle.tagValue, this.summaryCrossTitle.drillDownParameters) } var W = { ref: "" }; this.isRowsEmpty || this.copyRows(this.rows, 0, this.colsHeaderHeight + this.heightCorrection, 0, o, this.colsWidth, W), this.isColsEmpty || this.copyCols(this.cols, this.rowsHeaderWidth + this.widthCorrection, this.heightCorrection, 0, o, this.rowsHeight, W), this.copySummaries(this.rowsHeaderWidth + this.widthCorrection, this.colsHeaderHeight + this.heightCorrection, o), this.designTime || this.checkSeparators(), this.report.cells.clear(); for (var V = 0; V < this.colCount; V++) for (var z = 0; z < this.rowCount; z++) { var X = this.cells[V][z]; X.isNumeric && null != X.value && X.value.stimulsoft.is(Number) ? this.report.cells.setCell(V, z, X.value.stimulsoft.toNumber()) : this.report.cells.setCell(V, z, 0) } for (var V = 0; V < this.colCount; V++) for (var z = 0; z < this.rowCount; z++) { var X = this.cells[V][z]; if (X.parentCell == X) { X.field.stimulsoft.is(r.StiCrossSummary) && X.field.summary == i.StiSummaryType.Image && (X.isImage = !0); var K = new r.StiProcessCellEventArgs; K.row = z, K.column = V, K.cell = X; var Z = 0; if (null != X.value && X.value.stimulsoft.is(Number) && (Z = X.value.stimulsoft.toNumber()), K.text = X.text, K.value = Z, e.cells.distX = V, e.cells.distY = z, X.field.stimulsoft.is(r.StiCrossTotal) && (X.field = X.field), null != X.field && X.field.invokeProcessCell(K), K.value != Z ? (this.report.cells.setCell(V, z, K.value), X.value = K.value, X.text = X.field.textFormat.format(K.value)) : X.text = K.text, X.isNumeric && null != X.field) { if (X.field.hideZeros && null != X.value && X.value.stimulsoft.is(Number) && 0 == X.value.stimulsoft.toNumber()) continue; null != X.value && (X.field.excelDataValue = X.value.toString()) } } } if (this.isRowsEmpty && !this.isColsEmpty && this.isSummariesEmpty) { this.heights.splice(this.heights.length - 1, 1); for (var q = 0; q < this.cells.length; q++) this.cells[q].splice(this.cells[q].length - 1, 1) } } , v.prototype.clear = function() { var t = !1; if (null != this.cells && this.cells.length > 1 && null != this.cells[0]) { this.cells.length * this.cells[0].length > 5e4 && (t = !0) } return this.cells = null, t } , v.prototype.getCorrectedColumnsHeaderHeight = function() { return this.colsHeaderHeight + this.heightCorrection } , Object.defineProperty(v.prototype, "isSummaryPresent", { get: function() { if (this.report.isDesigning) return !0; return null != this.summaryCrossTitle && this.summaryCrossTitle.isEnabled }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "isRowTitlePresent", { get: function() { var t, e; if (this.report.isDesigning) return !0; try { for (var r = __values(this.rowFields.toCast()), i = r.next(); !i.done; i = r.next()) { if (!i.value.isEnabled) return !1 } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.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: !0, configurable: !0 }), Object.defineProperty(v.prototype, "isTopCrossTitleVisible", { get: function() { return !this.isRowsEmpty && this.isCrossTitleEnabled }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "isLeftCrossTitleVisible", { get: function() { return !this.isTopCrossTitleVisible && this.isCrossTitleEnabled }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "isCrossTitleEnabled", { get: function() { return null != this.leftCrossTitle && this.leftCrossTitle.enabled && null != this.rightCrossTitle && this.rightCrossTitle.enabled || null != this.summaryCrossTitle && this.summaryCrossTitle.enabled }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "isCrossTitlePrintOnAllPages", { get: function() { return null != this.leftCrossTitle && this.leftCrossTitle.printOnAllPages && null != this.rightCrossTitle && this.rightCrossTitle.printOnAllPages || null != this.summaryCrossTitle && this.summaryCrossTitle.printOnAllPages }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "isShowSummarySubHeaders", { get: function() { var t, e; if (this.designTime) return !0; try { for (var r = __values(this.sumHeaderFields.toCast()), i = r.next(); !i.done; i = r.next()) { if (i.value.enabled) return !0 } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "isSummarySubHeadersPresent", { get: function() { return this.sumFields.count > 1 && this.isShowSummarySubHeaders && this.sumHeaderFields.count > 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.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: !0, configurable: !0 }), Object.defineProperty(v.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: !0, configurable: !0 }), Object.defineProperty(v.prototype, "isRowsEmpty", { get: function() { return 1 == this.rowFields.count && this.rowFields.getByIndex(0).name == this.emptyField }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "isColsEmpty", { get: function() { return 1 == this.colFields.count && this.colFields.getByIndex(0).name == this.emptyField }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "isSummariesEmpty", { get: function() { return 1 == this.sumFields.count && this.sumFields.getByIndex(0).name == this.emptyField }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "rowFields", { get: function() { return this._rowFields }, set: function(t) { if (null == t || 0 == t.count) { null == t ? t = new p : t.clear(); var e = new r.StiCrossRow; e.name = this.emptyField, t.add(e) } this._rowFields = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "colFields", { get: function() { return this._colFields }, set: function(t) { if (null == t || 0 == t.count) { null == t ? t = new p : t.clear(); var e = new r.StiCrossColumn; e.name = this.emptyField, t.add(e) } this._colFields = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "sumFields", { get: function() { return this._sumFields }, set: function(t) { if (null == t || 0 == t.count) { null == t ? t = new p : t.clear(); var e = new r.StiCrossSummary; e.name = this.emptyField, t.add(e) } this._sumFields = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(v.prototype, "sumHeaderFields", { get: function() { return this._sumHeaderFields }, set: function(t) { if (null == t || 0 == t.count) { null == t ? t = new p : t.clear(); var e = new r.StiCrossSummaryHeader; e.name = this.emptyField, t.add(e) } this._sumHeaderFields = t }, enumerable: !0, configurable: !0 }), v.emptyField = "EMPTY_FIELD", v }(i.StiGrid); i.StiCross = b }(i = r.Core || (r.Core = {})) }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(e, r) { this.hyperlinkValue = null, this.tagValue = null, this.toolTipValue = null, this.drillDownParameters = null, this.isTotal = !1, this.level = -1, this.value = e, this.displayValue = r, this.rows = new t.StiRowCollection } return e }(); t.StiRow = e }(e = t.Core || (t.Core = {})) }(e = t.CrossTab || (t.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Collections.CollectionBase , i = t.System.Collections.Hashtable , n = t.System.Data.DBNull , o = function(t) { function r() { var r = null !== t && t.apply(this, arguments) || this; return r.directionFactor = 1, r.sortType = e.StiSortType.ByDisplayValue, r.items = new i, r } return __extends(r, t), r.prototype.compare = function(t, r) { var i = t.stimulsoft.as(e.StiRow) , o = r.stimulsoft.as(e.StiRow) , a = i.parentCollection.sortType , s = i.parentCollection.directionFactor; if (a == e.StiSortType.ByDisplayValue) { if (null != i.displayValue && i.displayValue != n.value) { if (o.displayValue == n.value) return -1; if (null != o.othersText) return -1; if (null != i.othersText) return 1; return i.displayValue.stimulsoft.compareTo(o.displayValue) * s } return 1 } if (null != i.value && i.value != n.value) { if (o.value == n.value) return -1; if (null != o.othersText) return -1; if (null != i.othersText) return 1; return i.value.stimulsoft.compareTo(o.value) * s } return 1 } , r.prototype.add2 = function(t, r) { var i = new e.StiRow(t,r); this.add(i) } , r.prototype.add = function(e) { t.prototype.add.call(this, e), e.parentCollection = this, e.isTotal || this.items.add(e.value, e) } , r.prototype.clear = function() { this.list.clear(), this.items.clear() } , r.prototype.sort = function(t, r) { this.sortType = r, t == e.StiSortDirection.Asc ? this.directionFactor = 1 : this.directionFactor = -1, this.list.sort(this.compare) } , r.prototype.getByValue = function(t) { var e, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.value == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , r }(r); e.StiRowCollection = o }(r = e.Core || (e.Core = {})) }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t) { this.sums = null, this.hyperlinkValues = null, this.tagValues = null, this.toolTipValues = null, this.drillDownParameters = null, this.sums = Array.create(Array, t), this.hyperlinkValues = Array.create(Object, t), this.tagValues = Array.create(Object, t), this.toolTipValues = Array.create(Object, t); for (var e = 0; e < t; e++) this.sums[e] = [] } return t }(); t.StiSummary = e }(e = t.Core || (t.Core = {})) }(e = t.CrossTab || (t.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function t(t) { this.level = 0, this.dataCol = new r, this.level = t } return t.prototype.getSummary = function(t, i, n) { void 0 === n && (n = !0); var o = this.dataCol.get(t); if (null == o) { if (!n) return null; this.dataCol.set(t, new r), o = this.dataCol.get(t) } var a = o.get(i); if (null == a) { if (!n) return null; a = new e.StiSummary(this.level), o.set(i, a) } return a } , t.prototype.getDataCol = function() { return this.dataCol } , t }(); e.StiSummaryContainer = i }(r = e.Core || (e.Core = {})) }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Events.StiEvent , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetCrossValue" } , e }(r); e.StiGetCrossValueEvent = i }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventArgs , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(r); e.StiGetCrossValueEventArgs = i }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Events.StiEvent , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetDisplayCrossValue" } , e }(r); e.StiGetDisplayCrossValueEvent = i }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Events.StiEvent , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "ProcessCell" } , e }(r); e.StiProcessCellEvent = i }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventArgs , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(r); e.StiProcessCellEventArgs = i }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Left = 0] = "Left", t[t.Center = 1] = "Center", t[t.Right = 2] = "Right", t[t.None = 3] = "None", t[t.Width = 4] = "Width" }(e = t.StiCrossHorAlignment || (t.StiCrossHorAlignment = {})) }(e = t.CrossTab || (t.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiConditionPermissions , i = t.System.StiString , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Report.Components.StiText , a = t.Report.Components.StiRestrictions , s = t.Base.Localization.StiLocalization , l = t.Base.Drawing.StiBorderSides , u = t.System.Drawing.Rectangle , c = t.Report.Components.IStiBorder , m = t.Report.Components.IStiBrush , p = t.Report.Components.IStiFont , h = t.Report.Components.IStiTextBrush , d = t.Report.Components.IStiTextHorAlignment , g = t.Report.Components.IStiVertAlignment , f = t.Base.Drawing.StiTextHorAlignment , S = t.Base.Drawing.StiVertAlignment , A = t.Report.Components.IStiCrossTabField , y = function(y) { function w() { var i = y.call(this, new u(0,0,1,1)) || this; return i.processCellEvent = new e.StiProcessCellEvent, i._mergeHeaders = !0, i.conditionPermissions = r.None, i.newGuid(), i.border.side = l.All, i.vertAlignment = S.Center, i.horAlignment = f.Center, i.restrictions = t.Report.Components.StiRestrictions.None | t.Report.Components.StiRestrictions.AllowMove | t.Report.Components.StiRestrictions.AllowResize | t.Report.Components.StiRestrictions.AllowSelect | t.Report.Components.StiRestrictions.AllowChange, i } return __extends(w, y), w.prototype.implements = function() { return w.ImplementsStiCrossField || (w.ImplementsStiCrossField = y.prototype.implements.call(this).concat([d, g, c, p, m, h, A, n])), w.ImplementsStiCrossField } , w.prototype.saveToJsonObject = function(t) { var e = y.prototype.saveToJsonObject.call(this, t); return e.addPropertyEnum("HorAlignment", f, this.horAlignment, f.Center), e.addPropertyEnum("VertAlignment", S, this.vertAlignment, S.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 r, i; y.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ProcessCellEvent": var s = new e.StiProcessCellEvent; s.loadFromJsonObject(a.value), this.processCellEvent = s; break; case "MergeHeaders": this._mergeHeaders = a.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , w.prototype.loadFromXml = function(t) { y.prototype.loadFromXml.call(this, t, !1); var e = t.getAttribute("Ref"); !i.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 f.Center }, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "locked", { get: function() { return this.isDesigning && !this.report.isPageDesigner }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(w.prototype, "linked", { get: function() { return this.isDesigning && !this.report.isPageDesigner }, set: function(t) {}, enumerable: !0, 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: !0, configurable: !0 }), w.prototype.toString = function() { return this.name } , Object.defineProperty(w.prototype, "localizedCategory", { get: function() { return s.get("Report", "CrossBands") }, enumerable: !0, configurable: !0 }), w.prototype.getRestrictions = function() { return null != this.report && this.report.isPageDesigner ? y.prototype.getRestrictions.call(this) ^ a.AllowDelete : y.prototype.getRestrictions.call(this) } , w.prototype.setRestrictions = function(e) { t.Report.Components.StiRestrictionsHelper.isAllowDelete2(e) && (e ^= a.AllowDelete), y.prototype.setRestrictions.call(this, e) } , w.prototype.getTextBoxFromField = function() { var t = new o; 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: !0, configurable: !0 }), Object.defineProperty(w.prototype, "mergeHeaders", { get: function() { return this._mergeHeaders }, set: function(t) { this._mergeHeaders = t }, enumerable: !0, configurable: !0 }), w }(o); e.StiCrossField = y }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Expressions.StiExpression , o = function(o) { function a() { var t = null !== o && o.apply(this, arguments) || this; return t.getCrossValueEvent = new r.StiGetCrossValueEvent, t.val = "", t } return __extends(a, o), a.prototype.saveToJsonObject = function(t) { var e = o.prototype.saveToJsonObject.call(this, t); return e.addPropertyJObject("GetCrossValueEvent", this.getCrossValueEvent.saveToJsonObject(t)), e.addPropertyJObject("Value", new n(this.value).saveToJsonObject(t)), e } , a.prototype.loadFromJsonObject = function(t) { var e, i; o.prototype.loadFromJsonObject.call(this, t); try { for (var a = __values(t.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "GetCrossValueEvent": var u = new r.StiGetCrossValueEvent; u.loadFromJsonObject(l.value), this.getCrossValueEvent = u; break; case "Value": var c = new n; c.loadFromJsonObject(l.value), this.val = c.value; break } } } catch (t) { e = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (e) throw e.error } } } , a.prototype.loadFromXml = function(t) { o.prototype.loadFromXml.call(this, t); var e = t.getAttribute("Ref"); !i.isNullOrEmpty(e) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()] = t.nodeName); for (var r = 0; r < t.childNodes.length; r++) { var a = t.childNodes[r]; switch (a.nodeName) { case "GetCrossValueEvent": break; case "Value": var s = new n; s.loadFromXml(a), this.val = s.value; break } } } , a.prototype.paint = function(t) { this.parent.stimulsoft.is(r.StiCrossTab) && this.setTextInternal(this.cellText) } , a.prototype.onGetCrossValue = function(t) {} , a.prototype.invokeGetCrossValue = function(r) { if (this.report.calculationMode == e.StiCalculationMode.Compilation) this.onGetCrossValue(r); else { this.onGetCrossValue(r); var i = t.Report.Engine.StiParser.StiParser.parseTextValue(this.value, this); null != i && (r.value = i) } } , Object.defineProperty(a.prototype, "value", { get: function() { return this.getValue() }, set: function(t) { this.setValue(t) }, enumerable: !0, configurable: !0 }), a.prototype.getValue = function() { return this.val } , a.prototype.setValue = function(t) { this.val = t } , a }(r.StiCrossField); r.StiCrossCell = o }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.Drawing.StiSolidBrush , o = t.System.Drawing.Color , a = t.Report.CrossTab.Core.StiSortType , s = t.Report.CrossTab.Core.StiSortDirection , l = t.Report.Expressions.StiExpression , u = t.System.Enum , c = function(c) { function m() { var t = c.call(this) || this; return t.getDisplayCrossValueEvent = new r.StiGetDisplayCrossValueEvent, t._displayValue = "", t._headerLevel = -1, t._headerValue = null, t._totalGuid = null, t._showTotal = !0, t._sortDirection = s.Asc, t._sortType = a.ByDisplayValue, t._printOnAllPages = !0, t.brush = new n(o.lightGray), t } return __extends(m, c), m.prototype.saveToJsonObject = function(t) { var e = c.prototype.saveToJsonObject.call(this, t); return e.removeProperty("HideZeros"), e.addPropertyJObject("GetDisplayCrossValueEvent", this.getDisplayCrossValueEvent.saveToJsonObject(t)), e.addPropertyJObject("DisplayValue", new l(this.displayValue).saveToJsonObject(t)), e.addPropertyStringNullOrEmpty("TotalGuid", this.totalGuid), e.addPropertyBool("ShowTotal", this.showTotal, !0), e.addPropertyEnum("SortDirection", s, this.sortDirection, s.Asc), e.addPropertyEnum("SortType", a, this.sortType, a.ByDisplayValue), e.addPropertyBool("PrintOnAllPages", this.printOnAllPages, !0), e } , m.prototype.loadFromJsonObject = function(t) { var e, i; c.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var m = o.value; switch (m.name) { case "GetDisplayCrossValueEvent": var p = new r.StiGetDisplayCrossValueEvent; p.loadFromJsonObject(m.value), this.getDisplayCrossValueEvent = p; break; case "DisplayValue": var h = new l; h.loadFromJsonObject(m.value), this.displayValue = h.value; break; case "TotalGuid": this.totalGuid = m.value.toString(); break; case "ShowTotal": this.showTotal = m.value.stimulsoft.toBoolean(); break; case "SortDirection": this.sortDirection = u.parse(s, m.value.toString()); break; case "SortType": this.sortType = u.parse(a, m.value.toString()); break; case "PrintOnAllPages": this.printOnAllPages = m.value.stimulsoft.toBoolean(); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , m.prototype.loadFromXml = function(t) { c.prototype.loadFromXml.call(this, t); var e = t.getAttribute("Ref"); !i.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 o = new l; o.loadFromXml(n), this.displayValue = o.value; break; case "TotalGuid": this.totalGuid = n.textContent.toString(); break; case "ShowTotal": this.showTotal = n.textContent.stimulsoft.toBoolean(); break; case "SortDirection": this.sortDirection = u.parse(s, n.textContent.toString()); break; case "SortType": this.sortType = u.parse(a, n.textContent.toString()); break; case "PrintOnAllPages": this.printOnAllPages = n.textContent.stimulsoft.toBoolean(); break } } } , m.prototype.onGetDisplayCrossValue = function(t) {} , m.prototype.invokeGetDisplayCrossValue = function(r) { if (this.report.calculationMode == e.StiCalculationMode.Compilation) this.onGetDisplayCrossValue(r); else { this.onGetDisplayCrossValue(r); var i = t.Report.Engine.StiParser.StiParser.parseTextValue(this.displayValue, this); null != i && (r.value = i) } } , m.prototype.setValue = function(t) { c.prototype.getValue.call(this) == this.displayValue && (this.displayValue = t), c.prototype.setValue.call(this, t) } , Object.defineProperty(m.prototype, "displayValue", { get: function() { return this._displayValue }, set: function(t) { this._displayValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "total", { get: function() { var t, e; if (null == this.totalGuid || null == this.parent) return null; try { for (var i = __values(this.parent.components.list), n = i.next(); !n.done; n = i.next()) { var o = n.value , a = o.stimulsoft.as(r.StiCrossTotal); if (null != a && a.guid == this.totalGuid) return a } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } return null }, set: function(t) { this.totalGuid = null == t ? null : t.guid }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "isTotalVisible", { get: function() { return this.showTotal && null != this.total && this.total.enabled }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "headerLevel", { get: function() { return this._headerLevel }, set: function(t) { this._headerLevel = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "headerValue", { get: function() { return this._headerValue }, set: function(t) { this._headerValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "totalGuid", { get: function() { return this._totalGuid }, set: function(t) { this._totalGuid = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "showTotal", { get: function() { return this._showTotal }, set: function(t) { this._showTotal = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "sortDirection", { get: function() { return this._sortDirection }, set: function(t) { this._sortDirection = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "sortType", { get: function() { return this._sortType }, set: function(t) { this._sortType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "printOnAllPages", { get: function() { return this._printOnAllPages }, set: function(t) { this._printOnAllPages = t }, enumerable: !0, configurable: !0 }), m }(r.StiCrossCell); r.StiCrossHeader = c }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.Localization.StiLocalization , o = t.System.Enum , a = t.Report.CrossTab.Core.StiEnumeratorType , s = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._enumeratorType = a.None, e._enumeratorSeparator = ".", e } return __extends(r, t), r.prototype.implements = function() { return r.ImplementsStiCrossColumn || (r.ImplementsStiCrossColumn = t.prototype.implements.call(this).concat(["StiCrossCell", "StiCrossField", "StiCrossHeader"])), r.ImplementsStiCrossColumn } , r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyEnum("EnumeratorType", a, this.enumeratorType, a.None), r.addPropertyString("EnumeratorSeparator", this.enumeratorSeparator, "."), r } , r.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), s = n.next(); !s.done; s = n.next()) { var l = s.value; switch (l.name) { case "EnumeratorType": this._enumeratorType = o.parse(a, l.value.toString()); break; case "EnumeratorSeparator": this._enumeratorSeparator = l.value.toString(); break } } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , r.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); var r = e.getAttribute("Ref"); !i.isNullOrEmpty(r) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()] = e.nodeName); for (var n = 0; n < e.childNodes.length; n++) { var s = e.childNodes[n]; switch (s.nodeName) { case "EnumeratorType": this._enumeratorType = o.parse(a, s.textContent.toString()); break; case "EnumeratorSeparator": this._enumeratorSeparator = s.textContent.toString(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossColumn }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedName", { get: function() { return n.get("Components", "StiCrossColumn") }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "enumeratorType", { get: function() { return this._enumeratorType }, set: function(t) { this._enumeratorType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "enumeratorSeparator", { get: function() { return this._enumeratorSeparator }, set: function(t) { this._enumeratorSeparator = t }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(r.StiCrossHeader); r.StiCrossColumn = s }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Drawing.StiSolidBrush , n = t.System.Drawing.Color , o = function(t) { function r() { var e = t.call(this) || this; return e.brush = new i(n.whiteSmoke), e } return __extends(r, t), r.prototype.implements = function() { return r.ImplementsStiCrossTotal || (r.ImplementsStiCrossTotal = t.prototype.implements.call(this).concat(["StiCrossField"])), r.ImplementsStiCrossTotal } , r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("TextFormat"), r.removeProperty("HideZeros"), r } , Object.defineProperty(r.prototype, "cellText", { get: function() { return this.text }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossTotal }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(r.StiCrossField); r.StiCrossTotal = o }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Localization.StiLocalization , n = function(t) { function r() { var e = t.call(this) || this; return e.text = "Total", e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossColumnTotal }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedName", { get: function() { return i.get("Components", "StiCrossColumnTotal") }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(r.StiCrossTotal); r.StiCrossColumnTotal = n }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.CrossTab.Core.StiEnumeratorType , o = t.System.Enum , a = t.Base.Localization.StiLocalization , s = function(t) { function s() { var e = null !== t && t.apply(this, arguments) || this; return e._enumeratorType = n.None, e._enumeratorSeparator = ".", e } return __extends(s, t), s.prototype.implements = function() { return s.ImplementsStiCrossRow || (s.ImplementsStiCrossRow = t.prototype.implements.call(this).concat(["StiCrossCell", "StiCrossField", "StiCrossHeader"])), s.ImplementsStiCrossRow } , s.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyEnum("EnumeratorType", n, this.enumeratorType, n.None), r.addPropertyString("EnumeratorSeparator", this.enumeratorSeparator, "."), r } , s.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "EnumeratorType": this._enumeratorType = o.parse(n, l.value.toString()); break; case "EnumeratorSeparator": this._enumeratorSeparator = l.value.toString(); break } } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } } , s.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); var r = e.getAttribute("Ref"); !i.isNullOrEmpty(r) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()] = e.nodeName); for (var a = 0; a < e.childNodes.length; a++) { var s = e.childNodes[a]; switch (s.nodeName) { case "EnumeratorType": this._enumeratorType = o.parse(n, s.textContent.toString()); break; case "EnumeratorSeparator": this._enumeratorSeparator = s.textContent.toString(); break } } } , Object.defineProperty(s.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossRow }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedName", { get: function() { return a.get("Components", "StiCrossRow") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "enumeratorType", { get: function() { return this._enumeratorType }, set: function(t) { this._enumeratorType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "enumeratorSeparator", { get: function() { return this._enumeratorSeparator }, set: function(t) { this._enumeratorSeparator = t }, enumerable: !0, configurable: !0 }), s.prototype.getCrossRowTitle = function() { var t = this.parent.stimulsoft.as(r.StiCrossTab); if (null == t) return null; var e = i.format("{0}_Title", this.name); return t.components.toList().firstOrDefault(function(t) { return t.stimulsoft.is(r.StiCrossTitle) && t.name == e }).stimulsoft.as(r.StiCrossTitle) } , s.prototype.getCrossRowTotal = function() { var t = this.parent.stimulsoft.as(r.StiCrossTab); if (null == t) return null; var e = this.name.stimulsoft.replaceAll("Row", "RowTotal"); return t.components.toList().firstOrDefault(function(t) { return t.stimulsoft.is(r.StiCrossRowTotal) && t.name == e }).stimulsoft.as(r.StiCrossRowTotal) } , s.prototype.createNew = function() { return new s } , s }(r.StiCrossHeader); r.StiCrossRow = s }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Localization.StiLocalization , n = function(t) { function r() { var e = t.call(this) || this; return e.text = "Total", e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossRowTotal }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedName", { get: function() { return i.get("Components", "StiCrossRowTotal") }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(r.StiCrossTotal); r.StiCrossRowTotal = n }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.Drawing.StiTextHorAlignment , o = t.Base.Drawing.StiHorAlignment , a = t.Base.Drawing.StiVertAlignment , s = t.Report.CrossTab.Core.StiSummaryType , l = t.Report.CrossTab.Core.StiSummaryValues , u = t.System.Enum , c = t.Base.Localization.StiLocalization , m = function(t) { function r() { var e = t.call(this) || this; return e._aspectRatio = !1, e._stretch = !0, e._imageHorAlignment = o.Left, e._imageVertAlignment = a.Top, e._indexOfSelectValue = -1, e._summary = s.Sum, e._summaryValues = l.AllValues, e._useStyleOfSummaryInRowTotal = !1, e._useStyleOfSummaryInColumnTotal = !1, e._showPercents = !1, e.horAlignment = n.Right, e.hideZeros = !0, e } return __extends(r, t), r.prototype.implements = function() { return r.ImplementsStiCrossSummary || (r.ImplementsStiCrossSummary = t.prototype.implements.call(this).concat(["StiCrossCell", "StiCrossField"])), r.ImplementsStiCrossSummary } , r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyEnum("HorAlignment", n, this.horAlignment, n.Right), r.addPropertyBool("HideZeros", this.hideZeros, !0), r.addPropertyBool("AspectRatio", this.aspectRatio), r.addPropertyBool("Stretch", this.stretch, !0), r.addPropertyEnum("Summary", s, this.summary, s.Sum), r.addPropertyEnum("SummaryValues", l, this.summaryValues, l.AllValues), r.addPropertyBool("UseStyleOfSummaryInRowTotal", this.useStyleOfSummaryInRowTotal), r.addPropertyBool("UseStyleOfSummaryInColumnTotal", this.useStyleOfSummaryInColumnTotal), r.addPropertyBool("ShowPercents", this.showPercents), r } , r.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "AspectRatio": this._aspectRatio = a.value.stimulsoft.toBoolean(); break; case "Stretch": this._stretch = a.value.stimulsoft.toBoolean(); break; case "Summary": this._summary = u.parse(s, a.value.toString()); break; case "SummaryValues": this._summaryValues = u.parse(l, a.value.toString()); break; case "UseStyleOfSummaryInRowTotal": this._useStyleOfSummaryInRowTotal = a.value.stimulsoft.toBoolean(); break; case "UseStyleOfSummaryInColumnTotal": this._useStyleOfSummaryInColumnTotal = a.value.stimulsoft.toBoolean(); break; case "ShowPercents": this._showPercents = a.value.stimulsoft.toBoolean(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , r.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); var r = e.getAttribute("Ref"); !i.isNullOrEmpty(r) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()] = e.nodeName); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "AspectRatio": this._aspectRatio = o.textContent.stimulsoft.toBoolean(); break; case "Stretch": this._stretch = o.textContent.stimulsoft.toBoolean(); break; case "Summary": this._summary = u.parse(s, o.textContent.toString()); break; case "SummaryValues": this._summaryValues = u.parse(l, o.textContent.toString()); break; case "UseStyleOfSummaryInRowTotal": this._useStyleOfSummaryInRowTotal = o.textContent.stimulsoft.toBoolean(); break; case "UseStyleOfSummaryInColumnTotal": this._useStyleOfSummaryInColumnTotal = o.textContent.stimulsoft.toBoolean(); break; case "ShowPercents": this._showPercents = o.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossSummary }, enumerable: !0, configurable: !0 }), r.prototype.clone = function(e) { var r = t.prototype.clone.call(this, e); return r.aspectRatio = this.aspectRatio, r.stretch = this.stretch, r.imageHorAlignment = this.imageHorAlignment, r.imageVertAlignment = this.imageVertAlignment, r.summary = this.summary, r.summaryValues = this.summaryValues, r.useStyleOfSummaryInRowTotal = this.useStyleOfSummaryInRowTotal, r.useStyleOfSummaryInColumnTotal = this.useStyleOfSummaryInColumnTotal, r } , Object.defineProperty(r.prototype, "defaultHorAlignment", { get: function() { return n.Right }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "aspectRatio", { get: function() { return this._aspectRatio }, set: function(t) { this._aspectRatio = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "stretch", { get: function() { return this._stretch }, set: function(t) { this._stretch = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "imageHorAlignment", { get: function() { return this._imageHorAlignment }, set: function(t) { this._imageHorAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "imageVertAlignment", { get: function() { return this._imageVertAlignment }, set: function(t) { this._imageVertAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "crossColumnValue", { get: function() { return this._crossColumnValue }, set: function(t) { this._crossColumnValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "crossRowValue", { get: function() { return this._crossRowValue }, set: function(t) { this._crossRowValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "indexOfSelectValue", { get: function() { return this._indexOfSelectValue }, set: function(t) { this._indexOfSelectValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cellText", { get: function() { return "0" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "summary", { get: function() { return this._summary }, set: function(t) { this._summary = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "summaryValues", { get: function() { return this._summaryValues }, set: function(t) { this._summaryValues = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "useStyleOfSummaryInRowTotal", { get: function() { return this._useStyleOfSummaryInRowTotal }, set: function(t) { this._useStyleOfSummaryInRowTotal = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "useStyleOfSummaryInColumnTotal", { get: function() { return this._useStyleOfSummaryInColumnTotal }, set: function(t) { this._useStyleOfSummaryInColumnTotal = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedName", { get: function() { return c.get("Components", "StiCrossSummary") }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "showPercents", { get: function() { return this._showPercents }, set: function(t) { this._showPercents = t }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(r.StiCrossCell); r.StiCrossSummary = m }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Localization.StiLocalization , n = function(t) { function r() { return null !== t && t.apply(this, arguments) || this } return __extends(r, t), Object.defineProperty(r.prototype, "cellText", { get: function() { return this.getTextInternal() }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedName", { get: function() { return i.get("Components", "StiCrossSummaryHeader") }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossSummaryHeader }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(r.StiCrossField); r.StiCrossSummaryHeader = n }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiFillParametersEventHandler = new r("sender: any, e: StiFillParametersEventArgs"); var n = function(t) { function e(e) { void 0 === e && (e = []); var r = t.call(this) || this; return r.val = [], r.val = e, r } return __extends(e, t), Object.defineProperty(e.prototype, "value", { get: function() { return this.val }, set: function(t) { this.val = t }, enumerable: !0, configurable: !0 }), e }(i); e.StiFillParametersEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Events.StiFillParametersEventArgs , i = t.Report.Components.IStiRenderMaster , n = t.Report.Components.StiComponentType , o = t.Report.Components.StiBand , a = t.Report.Components.StiDataBand , s = t.Report.Components.StiChildBand , l = t.Report.Components.StiContainer , u = t.Report.Components.StiPage , c = function() { function c() {} return c.getMasterDataBand = function(t) { t = t.parent; while (!0) { if (t.stimulsoft.is(a)) return t; if (t.stimulsoft.is(u)) return null; if (null == t) return null; if (t.stimulsoft.is(s)) { var e = t.getMaster(); if (null != e) { t = e; continue } } t = t.parent } } , c.getParentBand = function(t) { t = t.parent; while (!0) { if (t.stimulsoft.is(o)) return t; if (t.stimulsoft.is(u)) return null; if (null == t) return null; t = t.parent } } , c.renderSubReportAsync = function(t, e) { return __awaiter(this, void 0, void 0, function() { var i, n, o, a, s, u, c, m, p, h, d, g, f, f, S, A, y, w, b, v, C, E, B, u, T, I, x, F, D, R, P, N, k, M; return __generator(this, function(O) { switch (O.label) { case 0: i = e.subReportPage, n = null != i ? i.height : 0, o = e.report.engine, null != i && (i.pageInfo.masterDataBand = this.getMasterDataBand(e)); try { for (a = __values(e.report.dictionary.dataSources.list), s = a.next(); !s.done; s = a.next()) u = s.value, u.initForSubreport = !0 } catch (t) { T = { error: t } } finally { try { s && !s.done && (I = a.return) && I.call(a) } finally { if (T) throw T.error } } if (null != i && (i.unlimitedBreakable = !1), c = e.getExternalSubReport(), m = new r, e.invokeFillParameters(e, m), null != m.value && m.value.length > 0) { p = c || e.report; try { for (h = __values(m.value), d = h.next(); !d.done; d = h.next()) g = d.value, p.setVariable(g.key, g.value) } catch (t) { x = { error: t } } finally { try { d && !d.done && (F = h.return) && F.call(h) } finally { if (x) throw x.error } } } if (null == c) return [3, 1]; return f = this.renderExternalSubReport(e, c), t.components.addRange(f.components), [3, 3]; case 1: return [4, this.renderInternalSubReportAsync(e)]; case 2: f = O.sent(), t.components.addRange(f.components), O.label = 3; case 3: try { for (S = __values(t.components.list), A = S.next(); !A.done; A = S.next()) if (y = A.value, y.right > t.width && (y.width = t.width - y.left), null != (w = y.stimulsoft.as(l))) try { for (P = void 0, b = __values(w.components.list), v = b.next(); !v.done; v = b.next()) C = v.value, C.left > t.width && (C.left = t.width), C.right + y.left > t.width && (C.width = t.width - (C.left + y.left)) } catch (t) { P = { error: t } } finally { try { v && !v.done && (N = b.return) && N.call(b) } finally { if (P) throw P.error } } } catch (t) { D = { error: t } } finally { try { A && !A.done && (R = S.return) && R.call(S) } finally { if (D) throw D.error } } e.report.engine = o, null != i && (i.height = n, i.pageInfo.masterDataBand = null); try { for (E = __values(e.report.dictionary.dataSources.list), B = E.next(); !B.done; B = E.next()) u = B.value, u.initForSubreport = !1 } catch (t) { k = { error: t } } finally { try { B && !B.done && (M = E.return) && M.call(E) } finally { if (k) throw k.error } } return [2] } }) }) } , c.renderSubReport = function(t, e) { var i, n, o, a, s, u, c, m, p, h, d = e.subReportPage, g = null != d ? d.height : 0, f = e.report.engine; null != d && (d.pageInfo.masterDataBand = this.getMasterDataBand(e)); try { for (var S = __values(e.report.dictionary.dataSources.list), A = S.next(); !A.done; A = S.next()) { var y = A.value; y.initForSubreport = !0 } } catch (t) { i = { error: t } } finally { try { A && !A.done && (n = S.return) && n.call(S) } finally { if (i) throw i.error } } null != d && (d.unlimitedBreakable = !1); var w = e.getExternalSubReport() , b = new r; if (e.invokeFillParameters(e, b), null != b.value && b.value.length > 0) { var v = w || e.report; try { for (var C = __values(b.value), E = C.next(); !E.done; E = C.next()) { var B = E.value; v.setVariable(B.key, B.value) } } catch (t) { o = { error: t } } finally { try { E && !E.done && (a = C.return) && a.call(C) } finally { if (o) throw o.error } } } if (null != w) { var T = this.renderExternalSubReport(e, w); t.components.addRange(T.components) } else { var T = this.renderInternalSubReport(e); t.components.addRange(T.components) } try { for (var I = __values(t.components.list), x = I.next(); !x.done; x = I.next()) { var F = x.value; F.right > t.width && (F.width = t.width - F.left); var D = F.stimulsoft.as(l); if (null != D) try { for (var R = (c = void 0, __values(D.components.list)), P = R.next(); !P.done; P = R.next()) { var N = P.value; N.left > t.width && (N.left = t.width), N.right + F.left > t.width && (N.width = t.width - (N.left + F.left)) } } catch (t) { c = { error: t } } finally { try { P && !P.done && (m = R.return) && m.call(R) } finally { if (c) throw c.error } } } } catch (t) { s = { error: t } } finally { try { x && !x.done && (u = I.return) && u.call(I) } finally { if (s) throw s.error } } e.report.engine = f, null != d && (d.height = g, d.pageInfo.masterDataBand = null); try { for (var k = __values(e.report.dictionary.dataSources.list), M = k.next(); !M.done; M = k.next()) { var y = M.value; y.initForSubreport = !1 } } catch (t) { p = { error: t } } finally { try { M && !M.done && (h = k.return) && h.call(k) } finally { if (p) throw p.error } } } , c.renderInternalSubReportAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var r, i, n, o, a, s, u, c, m, p, h; return __generator(this, function(d) { switch (d.label) { case 0: if (r = t.subReportPage, i = new l, null == r) return [2, i]; return i.width = r.width, i.height = this.specialSubReportHeight, n = r.currentBookmark, o = r.parentBookmark, r.currentBookmark = t.currentBookmark, r.parentBookmark = t.parentBookmark, i.currentBookmark = t.parentBookmark, a = new e.StiEngine(t.report), a.parserConversionStore = t.report.engine.parserConversionStore.clone(), null != t.report.engine.hashDataSourceReferencesCounter && (a.hashDataSourceReferencesCounter = t.report.engine.hashDataSourceReferencesCounter.clone()), a.templatePage = r, a.templateContainer = t.subReportPage, a.containerForRender = i, t.report.engine = a, a.setNewPageParameters(), a.freeSpace = this.specialSubReportHeight, a.positionBottomY = this.specialSubReportHeight, [4, a.newListAsync()]; case 1: return d.sent(), [4, e.StiPageHelper.renderPageAsync(r)]; case 2: return d.sent(), [4, a.finalClearAsync()]; case 3: d.sent(), a.parserConversionStore = null, s = a.positionBottomY - a.positionY; try { for (u = __values(i.components.list), c = u.next(); !c.done; c = u.next()) m = c.value, m.top >= a.positionY && m.top - s >= 0 && (m.top -= s) } catch (t) { p = { error: t } } finally { try { c && !c.done && (h = u.return) && h.call(u) } finally { if (p) throw p.error } } return e.StiPostProcessProvider.postProcessPrimitivesInContainer(i), r.currentBookmark = n, r.parentBookmark = o, [2, i] } }) }) } , c.renderInternalSubReport = function(t) { var r, i, n = t.subReportPage, o = new l; if (null == n) return o; o.width = n.width, o.height = this.specialSubReportHeight; var a = n.currentBookmark , s = n.parentBookmark; n.currentBookmark = t.currentBookmark, n.parentBookmark = t.parentBookmark, o.currentBookmark = t.parentBookmark; var u = new e.StiEngine(t.report); u.parserConversionStore = t.report.engine.parserConversionStore.clone(), null != t.report.engine.hashDataSourceReferencesCounter && (u.hashDataSourceReferencesCounter = t.report.engine.hashDataSourceReferencesCounter.clone()), u.templatePage = n, u.templateContainer = t.subReportPage, u.containerForRender = o, t.report.engine = u, u.setNewPageParameters(), u.freeSpace = this.specialSubReportHeight, u.positionBottomY = this.specialSubReportHeight, u.newList(), e.StiPageHelper.renderPage(n), u.finalClear(), u.parserConversionStore = null; var c = u.positionBottomY - u.positionY; try { for (var m = __values(o.components.list), p = m.next(); !p.done; p = m.next()) { var h = p.value; h.top >= u.positionY && h.top - c >= 0 && (h.top -= c) } } catch (t) { r = { error: t } } finally { try { p && !p.done && (i = m.return) && i.call(m) } finally { if (r) throw r.error } } return e.StiPostProcessProvider.postProcessPrimitivesInContainer(o), n.currentBookmark = a, n.parentBookmark = s, o } , c.renderExternalSubReport = function(t, e) { var r, i, n, o, a, s, u = new l; if (null != e) { if (StiOptions.Engine.renderExternalSubReportsWithHelpOfUnlimitedHeightPages) try { for (var c = __values(e.pages.list), m = c.next(); !m.done; m = c.next()) { var p = m.value; p.unlimitedHeight = !0, p.unlimitedBreakable = !1, p.height = this.specialSubReportHeight } } catch (t) { r = { error: t } } finally { try { m && !m.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } e.isDocument || e.render(!1); var h = 0; try { for (var d = __values(e.renderedPages.list), g = d.next(); !g.done; g = d.next()) { var p = g.value; u.components.addRange(p.components); try { for (var f = (a = void 0, __values(p.components.list)), S = f.next(); !S.done; S = f.next()) { var A = S.value; A.top += h, A.left += 0, A.growToHeight = !1, A.canShrink = !1 } } catch (t) { a = { error: t } } finally { try { S && !S.done && (s = f.return) && s.call(f) } finally { if (a) throw a.error } } p.components.clear(), h += p.height } } catch (t) { n = { error: t } } finally { try { g && !g.done && (o = d.return) && o.call(d) } finally { if (n) throw n.error } } } return u } , c.renderDataBandsInContainerAsync = function(r, o, a) { return void 0 === a && (a = !1), __awaiter(this, void 0, void 0, function() { var s, u, c, m, p, h, d, g, f, S, A, y, w, b, v, C, E, B, T, I, E, x, F, D, R, E, P, N, k, M, O, _, L, j, H, G, Q, Y, U, J; return __generator(this, function(W) { switch (W.label) { case 0: r.canGrow = !0, s = o.report.engine, u = 0, c = 0, null != o.report.engine.page && (u = o.report.engine.page.pageInfo.positionFromTop, c = o.report.engine.page.pageInfo.positionFromBottom), W.label = 1; case 1: return W.trys.push([1, , 12, 13]), m = 1e11, p = !1, h = new l, h.width = o.width, h.height = m, d = new e.StiEngine(o.report), d.denyChangeThread = !0, d.parserConversionStore = o.report.engine.parserConversionStore.clone(), null != o.report.engine.hashDataSourceReferencesCounter && (d.hashDataSourceReferencesCounter = o.report.engine.hashDataSourceReferencesCounter.clone()), null != o.report.engine.hashParentStyles && o.report.engine.hashParentStyles.count > 0 && (d.hashParentStyles = o.report.engine.hashParentStyles.clone()), d.page = o.report.engine.page, d.templatePage = o.report.engine.templatePage, d.templateContainer = o, d.containerForRender = h, o.report.engine = d, d.setNewPageParameters(), d.freeSpace = m, d.positionBottomY = m, [4, d.newListAsync(a)]; case 2: W.sent(), h.components.clear(), g = h.getDockRegion(h, !1), d.crossFreeSpace = s.templatePage.width - (o.left + g.left), d.freeSpace = g.height, d.positionX = g.left, d.positionY = g.top, W.label = 3; case 3: W.trys.push([3, 8, 9, 10]), f = __values(o.components.list), S = f.next(), W.label = 4; case 4: if (S.done) return [3, 7]; if (A = S.value, A.parentBookmark = o.currentBookmark, A.componentType != n.Master) return [3, 6]; if (A.stimulsoft.is(t.Report.Components.StiCrossDataBand) && (p = !0), null == (y = A.stimulsoft.as(i))) return [3, 6]; return [4, y.renderMasterAsync()]; case 5: W.sent(), W.label = 6; case 6: return S = f.next(), [3, 4]; case 7: return [3, 10]; case 8: return w = W.sent(), O = { error: w }, [3, 10]; case 9: try { S && !S.done && (_ = f.return) && _.call(f) } finally { if (O) throw O.error } return [7]; case 10: return [4, d.finalClearAsync()]; case 11: if (W.sent(), d.parserConversionStore = null, d.hashParentStyles = null, p) { B = 0; try { for (T = __values(h.components.list), I = T.next(); !I.done; I = T.next()) E = I.value, B = Math.max(E.right, B) } catch (t) { H = { error: t } } finally { try { I && !I.done && (G = T.return) && G.call(T) } finally { if (H) throw H.error } } x = 1; do { if (F = s.templatePage.width * x, B + r.left <= F) break; x++ } while (1 == 1); r.containerInfo.setSegmentPerWidth = x } else { b = d.positionBottomY - d.positionY, r.bottom - d.positionY > m - d.positionBottomY && !o.canShrink && (b = m - r.height); try { for (v = __values(h.components.list), C = v.next(); !C.done; C = v.next()) E = C.value, E.top >= d.positionY && E.top - b >= 0 && (E.top -= b) } catch (t) { L = { error: t } } finally { try { C && !C.done && (j = v.return) && j.call(v) } finally { if (L) throw L.error } } } if (r.components.addRange(h.components), !p) try { for (D = __values(r.components.list), R = D.next(); !R.done; R = D.next()) if (E = R.value, E.right > r.width && (E.width = r.width - E.left), null != (P = E.stimulsoft.as(l))) try { for (U = void 0, N = __values(P.components.list), k = N.next(); !k.done; k = N.next()) M = k.value, M.left > r.width && (M.left = r.width), M.right + E.left > r.width && (M.width = r.width - (M.left + E.left)) } catch (t) { U = { error: t } } finally { try { k && !k.done && (J = N.return) && J.call(N) } finally { if (U) throw U.error } } } catch (t) { Q = { error: t } } finally { try { R && !R.done && (Y = D.return) && Y.call(D) } finally { if (Q) throw Q.error } } return [3, 13]; case 12: return o.report.engine = s, null != o.report.engine.page && (o.report.engine.page.pageInfo.positionFromTop = u, o.report.engine.page.pageInfo.positionFromBottom = c), [7]; case 13: return [2] } }) }) } , c.renderDataBandsInContainer = function(r, o, a) { var s, u, c, m, p, h, d, g, f, S; void 0 === a && (a = !1), r.canGrow = !0; var A = o.report.engine , y = 0 , w = 0; null != o.report.engine.page && (y = o.report.engine.page.pageInfo.positionFromTop, w = o.report.engine.page.pageInfo.positionFromBottom); try { var b = 1e11 , v = !1 , C = new l; C.width = o.width, C.height = b; var E = new e.StiEngine(o.report); E.denyChangeThread = !0, E.parserConversionStore = o.report.engine.parserConversionStore.clone(), null != o.report.engine.hashDataSourceReferencesCounter && (E.hashDataSourceReferencesCounter = o.report.engine.hashDataSourceReferencesCounter.clone()), null != o.report.engine.hashParentStyles && o.report.engine.hashParentStyles.count > 0 && (E.hashParentStyles = o.report.engine.hashParentStyles.clone()), E.page = o.report.engine.page, E.templatePage = o.report.engine.templatePage, E.templateContainer = o, E.containerForRender = C, o.report.engine = E, E.setNewPageParameters(), E.freeSpace = b, E.positionBottomY = b, E.newList(a), C.components.clear(); var B = C.getDockRegion(C, !1); E.crossFreeSpace = A.templatePage.width - (o.left + B.left), E.freeSpace = B.height, E.positionX = B.left, E.positionY = B.top; try { for (var T = __values(o.components.list), I = T.next(); !I.done; I = T.next()) { var x = I.value; if (x.parentBookmark = o.currentBookmark, x.componentType == n.Master) { x.stimulsoft.is(t.Report.Components.StiCrossDataBand) && (v = !0); var F = x.stimulsoft.as(i); null != F && F.renderMaster() } } } catch (t) { s = { error: t } } finally { try { I && !I.done && (u = T.return) && u.call(T) } finally { if (s) throw s.error } } if (E.finalClear(), E.parserConversionStore = null, E.hashParentStyles = null, v) { var D = 0; try { for (var R = __values(C.components.list), P = R.next(); !P.done; P = R.next()) { var N = P.value; D = Math.max(N.right, D) } } catch (t) { p = { error: t } } finally { try { P && !P.done && (h = R.return) && h.call(R) } finally { if (p) throw p.error } } var k = 1; do { var M = A.templatePage.width * k; if (D + r.left <= M) break; k++ } while (1 == 1); r.containerInfo.setSegmentPerWidth = k } else { var O = E.positionBottomY - E.positionY; r.bottom - E.positionY > b - E.positionBottomY && !o.canShrink && (O = b - r.height); try { for (var _ = __values(C.components.list), L = _.next(); !L.done; L = _.next()) { var N = L.value; N.top >= E.positionY && N.top - O >= 0 && (N.top -= O) } } catch (t) { c = { error: t } } finally { try { L && !L.done && (m = _.return) && m.call(_) } finally { if (c) throw c.error } } } if (r.components.addRange(C.components), !v) try { for (var j = __values(r.components.list), H = j.next(); !H.done; H = j.next()) { var N = H.value; N.right > r.width && (N.width = r.width - N.left); var G = N.stimulsoft.as(l); if (null != G) try { for (var Q = (f = void 0, __values(G.components.list)), Y = Q.next(); !Y.done; Y = Q.next()) { var U = Y.value; U.left > r.width && (U.left = r.width), U.right + N.left > r.width && (U.width = r.width - (U.left + N.left)) } } catch (t) { f = { error: t } } finally { try { Y && !Y.done && (S = Q.return) && S.call(Q) } finally { if (f) throw f.error } } } } catch (t) { d = { error: t } } finally { try { H && !H.done && (g = j.return) && g.call(j) } finally { if (d) throw d.error } } } finally { o.report.engine = A, null != o.report.engine.page && (o.report.engine.page.pageInfo.positionFromTop = y, o.report.engine.page.pageInfo.positionFromBottom = w) } } , c.specialSubReportHeight = 1e11, c }(); e.StiSubReportsHelper = c }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.ICloneable , i = t.System.Collections.CollectionBase , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.StiJson , a = function(i) { function a() { return null !== i && i.apply(this, arguments) || this } return __extends(a, i), a.prototype.implements = function() { return [r, n] } , a.prototype.saveToJsonObject = function(t) { var e, r; if (0 == this.list.length) return null; var i = new o , n = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; i.addPropertyJObject(n.toString(), l.saveToJsonObject(t)), n++ } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (e) throw e.error } } return i } , a.prototype.loadFromJsonObject = function(t) { var r, i; try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = new e.StiStyleCondition; s.loadFromJsonObject(a.value), this.list.add(s) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , a.prototype.loadFromXml = function(e) { 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")) { var n = new t.Report.Styles.Conditions.StiStyleCondition; n.loadFromXml(i), this.list.add(n) } } } , a.prototype.clone = function() { var t, e, r = new a; 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 } , a.prototype.add = function(t) { if (t.stimulsoft.is(e.StiStyleCondition)) this.list.add(t); else { var r = new e.StiStyleCondition; r.fromElements(t), this.add(r) } } , a.prototype.addRange = function(t) { var e, r, i = t.stimulsoft.is(a) ? t.list : t; try { for (var n = __values(i), o = n.next(); !o.done; o = n.next()) { var s = o.value; this.add(s) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } } , a }(i); e.StiStyleConditionsCollection = a }(r = e.Conditions || (e.Conditions = {})) }(r = e.Styles || (e.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Chart.IStiChartStyle , o = t.System.Type , a = t.Report.Chart.IStiCustomStyle , s = t.Report.Chart.IStiChart , l = t.System.ICloneable , u = t.Report.Styles.Conditions.StiStyleConditionsCollection , c = t.Base.JsonReportObject.IStiJsonReportObject , m = t.Base.StiJson , p = t.Base.Services.StiService , h = function(p) { function h(t, e, r) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === r && (r = null); var i = p.call(this) || this; return i._collectionName = "", i._conditions = null, i._description = "", i._name = "", i.dashboardName = null, i.report = null, i._name = t, i._description = e, i.report = r, i } return __extends(h, p), h.prototype.implements = function() { return [l, c] } , h.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 } , h.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } 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 "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 } } } , h.prototype.clone = function() { var t = this.stimulsoft.memberwiseClone(); return null != this.conditions ? t.conditions = this.conditions.clone() : t.conditions = null, t } , h.prototype.equals = function(i, s, l) { if (void 0 === s && (s = !0), void 0 === l && (l = !0), this.stimulsoft.is(r.StiStyle)) { var u = i.stimulsoft.as(r.StiStyle); if (null == u) return !1; var c = this; if (!u.border.stimulsoft.equals(c.border)) return !1; if (!u.brush.stimulsoft.equals(c.brush)) return !1; if (!u.font.stimulsoft.equals(c.font)) return !1; if (null == u.image && null != u.image) return !1; if (null != u.image && null == u.image) return !1; if (null != u.image && null != c.image && !u.image.stimulsoft.equals(c.image)) return !1; if (!u.textBrush.stimulsoft.equals(c.textBrush)) return !1; if (!u.collectionName.stimulsoft.equals(c.collectionName)) return !1; if (!u.conditions.stimulsoft.equals(c.conditions)) return !1; if (u.allowUseBorderFormatting != c.allowUseBorderFormatting) return !1; if (u.allowUseBorderSides != c.allowUseBorderSides) return !1; if (u.allowUseBorderSidesFromLocation != c.allowUseBorderSidesFromLocation) return !1; if (u.allowUseBrush != c.allowUseBrush) return !1; if (u.allowUseFont != c.allowUseFont) return !1; if (u.allowUseHorAlignment != c.allowUseHorAlignment) return !1; if (u.allowUseImage != c.allowUseImage) return !1; if (u.allowUseTextBrush != c.allowUseTextBrush) return !1; if (u.allowUseVertAlignment != c.allowUseVertAlignment) return !1; if (u.horAlignment != c.horAlignment) return !1; if (u.vertAlignment != c.vertAlignment) return !1; if (s && u.name != c.name) return !1; if (l && u.description != c.description) return !1; return !0 } if (this.stimulsoft.is(r.StiChartStyle)) { var u = i.stimulsoft.as(r.StiChartStyle); if (null == u) return !1; var c = this; if (!u.border.stimulsoft.equals(c.border)) return !1; if (!u.brush.stimulsoft.equals(c.brush)) return !1; if (!u.basicStyleColor.stimulsoft.equals(c.basicStyleColor)) return !1; if (!u.brushType.stimulsoft.equals(c.brushType)) return !1; if (!u.styleColors.stimulsoft.equals(c.styleColors)) return !1; if (u.allowUseBorderFormatting != c.allowUseBorderFormatting) return !1; if (u.allowUseBorderSides != c.allowUseBorderSides) return !1; if (u.allowUseBrush != c.allowUseBrush) return !1; if (s && u.name != c.name) return !1; if (l && u.description != c.description) return !1; return !0 } if (this.stimulsoft.is(e.StiIndicatorStyle)) { var u = i.stimulsoft.as(e.StiIndicatorStyle); if (null == u) return !1; var c = this; if (!u.backColor.stimulsoft.equals(c.backColor)) return !1; if (!u.glyphColor.stimulsoft.equals(c.glyphColor)) return !1; if (!u.foreColor.stimulsoft.equals(c.foreColor)) return !1; if (!u.hotBackColor.stimulsoft.equals(c.hotBackColor)) return !1; if (!u.positiveColor.stimulsoft.equals(c.positiveColor)) return !1; if (!u.negativeColor.stimulsoft.equals(c.negativeColor)) return !1; if (s && u.name != c.name) return !1; if (l && u.description != c.description) return !1; return !0 } if (this.stimulsoft.is(e.StiProgressStyle)) { var u = i.stimulsoft.as(e.StiProgressStyle); if (null == u) return !1; var c = this; if (!u.trackColor.stimulsoft.equals(c.trackColor)) return !1; if (!u.bandColor.stimulsoft.equals(c.bandColor)) return !1; if (!u.seriesColors.stimulsoft.equals(c.seriesColors)) return !1; if (!u.foreColor.stimulsoft.equals(c.foreColor)) return !1; if (!u.backColor.stimulsoft.equals(c.backColor)) return !1; if (s && u.name != c.name) return !1; if (l && u.description != c.description) return !1; return !0 } if (this.stimulsoft.is(n)) { var u = i.stimulsoft.as(n); if (null == u) return !1; var c = this; if (u.stimulsoft.is(a) && c.stimulsoft.is(a)) return u.core.reportStyleName == c.core.reportStyleName; if (u.stimulsoft.is(a) || c.stimulsoft.is(a)) return !1; return o.getType(u) == o.getType(c) } if (this.stimulsoft.is(t.Report.Styles.StiCrossTabStyle)) { var u = i.stimulsoft.as(t.Report.Styles.StiCrossTabStyle); if (null == u) return !1; var c = this; if (!u.color.stimulsoft.equals(c.color)) return !1; if (s && u.name != c.name) return !1; if (l && u.description != c.description) return !1; return !0 } if (this.stimulsoft.is(e.StiTableStyle)) { var u = i.stimulsoft.as(e.StiTableStyle); if (null == u) return !1; var c = this; if (!u.headerColor.stimulsoft.equals(c.headerColor)) return !1; if (!u.headerForeground.stimulsoft.equals(c.headerForeground)) return !1; if (!u.footerForeground.stimulsoft.equals(c.footerForeground)) return !1; if (!u.dataColor.stimulsoft.equals(c.dataColor)) return !1; if (!u.dataForeground.stimulsoft.equals(c.dataForeground)) return !1; if (!u.gridColor.stimulsoft.equals(c.gridColor)) return !1; if (s && u.name != c.name) return !1; if (l && u.description != c.description) return !1; return !0 } if (this.stimulsoft.is(e.StiGaugeStyle)) { var u = i.stimulsoft.as(e.StiGaugeStyle); if (null == u) return !1; var c = this; if (!u.brush.stimulsoft.equals(c.brush)) return !1; if (!u.borderColor.stimulsoft.equals(c.borderColor)) return !1; if (!u.foreColor.stimulsoft.equals(c.foreColor)) return !1; if (!u.borderWidth.stimulsoft.equals(c.borderWidth)) return !1; if (s && u.name != c.name) return !1; if (l && u.description != c.description) return !1; return !0 } if (this.stimulsoft.is(r.StiMapStyle)) { var u = i.stimulsoft.as(r.StiMapStyle); if (null == u) return !1; var c = this; if (!u.colors.stimulsoft.equals(c.colors)) return !1; if (!u.heatmapColors.stimulsoft.equals(c.heatmapColors)) return !1; if (!u.defaultColor.stimulsoft.equals(c.defaultColor)) return !1; if (!u.backColor.stimulsoft.equals(c.backColor)) return !1; if (!u.labelForeground.stimulsoft.equals(c.labelForeground)) return !1; if (!u.labelShadowForeground.stimulsoft.equals(c.labelShadowForeground)) return !1; if (!u.borderSize.stimulsoft.equals(c.borderSize)) return !1; if (!u.borderColor.stimulsoft.equals(c.borderColor)) return !1; if (s && u.name != c.name) return !1; if (l && u.description != c.description) return !1; return !0 } if (this.stimulsoft.is(r.StiDialogStyle)) { var u = i.stimulsoft.as(r.StiDialogStyle); if (null == u) return !1; var c = this; if (!u.foreColor.stimulsoft.equals(c.foreColor)) return !1; if (!u.backColor.stimulsoft.equals(c.backColor)) return !1; if (u.allowUseFont != c.allowUseFont) return !1; if (u.allowUseBackColor != c.allowUseBackColor) return !1; if (u.allowUseForeColor != c.allowUseForeColor) return !1; if (s && u.name != c.name) return !1; if (l && u.description != c.description) return !1; return !0 } return !1 } , h.getStyle = function(i, n, o) { if (void 0 === o && (o = null), i.stimulsoft.is(s)) { return i.style } i.stimulsoft.is(t.Report.CrossTab.StiCrossTab), n && !n.stimulsoft.is(h) || (o = n, n = e.StiStyleElements.All); var a = new r.StiStyle; return a.getStyleFromComponent(i, n, o), a } , h.prototype.getStyleFromComponent = function(t, e) {} , h.prototype.setStyleToComponent = function(t) {} , h.prototype.getStyleFromComponents = function(t, e) { for (var r = t.count - 1; r >= 0; r--) this.getStyleFromComponent(t.getByIndex(r), e) } , h.prototype.toString = function() { if (i.isNullOrEmpty(this.description)) return this.name; return this.description } , Object.defineProperty(h.prototype, "collectionName", { get: function() { return this._collectionName }, set: function(t) { this._collectionName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "conditions", { get: function() { return null == this._conditions && (this._conditions = new u), this._conditions }, set: function(t) { this._conditions = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "description", { get: function() { return this._description }, set: function(t) { this._description = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "name", { get: function() { return this._name }, set: function(t) { if (null != this.report && this.report.isDesigning && i.isNullOrWhiteSpace(t)) throw new Error("ArgumentException()"); this._name != t && null != this.report && this.report.renameStyle(this._name, t), this._name = t }, enumerable: !0, configurable: !0 }), h }(p); r.StiBaseStyle = h }(r = e.Styles || (e.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.Drawing.StiColorUtils , o = t.System.Drawing.ColorTranslator , a = t.System.Drawing.Color , s = t.Base.StiJsonReportObjectHelper , l = function(r) { function l() { var t = null !== r && r.apply(this, arguments) || this; return t.backColor = a.transparent, t.cellBackColor = a.white, t.alternatingCellBackColor = o.fromHtml("#eee"), t.alternatingCellForeColor = o.fromHtml("#323a45"), t.selectedCellBackColor = n.light(o.fromHtml("#3498db"), 30), t.selectedCellForeColor = a.white, t.columnHeaderBackColor = o.fromHtml("#3498db"), t.columnHeaderForeColor = o.fromHtml("#fff"), t.rowHeaderBackColor = o.fromHtml("#3498db"), t.rowHeaderForeColor = o.fromHtml("#eee"), t.hotColumnHeaderBackColor = n.dark(o.fromHtml("#3498db"), 30), t.hotRowHeaderBackColor = n.dark(o.fromHtml("#3498db"), 30), t.cellForeColor = o.fromHtml("#323a45"), t.lineColor = a.white, t } return __extends(l, r), l.prototype.saveToJsonObject = function(t) { var e = r.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("BackColor", s.Serialize.jColor(this.backColor, a.transparent)), e.addPropertyStringNullOrEmpty("CellBackColor", s.Serialize.jColor(this.cellBackColor, a.white)), e.addPropertyStringNullOrEmpty("AlternatingCellBackColor", s.Serialize.jColor(this.alternatingCellBackColor, o.fromHtml("#eee"))), e.addPropertyStringNullOrEmpty("AlternatingCellForeColor", s.Serialize.jColor(this.alternatingCellForeColor, o.fromHtml("#323a45"))), e.addPropertyStringNullOrEmpty("SelectedCellBackColor", s.Serialize.jColor(this.selectedCellBackColor, n.light(o.fromHtml("#3498db"), 30))), e.addPropertyStringNullOrEmpty("SelectedCellForeColor", s.Serialize.jColor(this.selectedCellForeColor, a.white)), e.addPropertyStringNullOrEmpty("ColumnHeaderBackColor", s.Serialize.jColor(this.columnHeaderBackColor, o.fromHtml("#3498db"))), e.addPropertyStringNullOrEmpty("ColumnHeaderForeColor", s.Serialize.jColor(this.columnHeaderForeColor, o.fromHtml("#fff"))), e.addPropertyStringNullOrEmpty("RowHeaderBackColor", s.Serialize.jColor(this.rowHeaderBackColor, o.fromHtml("#3498db"))), e.addPropertyStringNullOrEmpty("RowHeaderForeColor", s.Serialize.jColor(this.rowHeaderForeColor, o.fromHtml("#eee"))), e.addPropertyStringNullOrEmpty("HotColumnHeaderBackColor", s.Serialize.jColor(this.hotColumnHeaderBackColor, n.dark(o.fromHtml("#3498db"), 30))), e.addPropertyStringNullOrEmpty("HotRowHeaderBackColor", s.Serialize.jColor(this.hotRowHeaderBackColor, n.dark(o.fromHtml("#3498db"), 30))), e.addPropertyStringNullOrEmpty("CellForeColor", s.Serialize.jColor(this.cellForeColor, o.fromHtml("#323a45"))), e.addPropertyStringNullOrEmpty("LineColor", s.Serialize.jColor(this.lineColor, a.white)), e } , l.prototype.loadFromJsonObject = function(t) { var e, i; r.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "BackColor": this.backColor = s.Deserialize.color(a.value); break; case "CellBackColor": this.cellBackColor = s.Deserialize.color(a.value); break; case "AlternatingCellBackColor": this.alternatingCellBackColor = s.Deserialize.color(a.value); break; case "AlternatingCellForeColor": this.alternatingCellForeColor = s.Deserialize.color(a.value); break; case "SelectedCellBackColor": this.selectedCellBackColor = s.Deserialize.color(a.value); break; case "SelectedCellForeColor": this.selectedCellForeColor = s.Deserialize.color(a.value); break; case "ColumnHeaderBackColor": this.columnHeaderBackColor = s.Deserialize.color(a.value); break; case "ColumnHeaderForeColor": this.columnHeaderForeColor = s.Deserialize.color(a.value); break; case "RowHeaderBackColor": this.rowHeaderBackColor = s.Deserialize.color(a.value); break; case "RowHeaderForeColor": this.rowHeaderForeColor = s.Deserialize.color(a.value); break; case "HotColumnHeaderBackColor": this.hotColumnHeaderBackColor = s.Deserialize.color(a.value); break; case "HotRowHeaderBackColor": this.hotRowHeaderBackColor = s.Deserialize.color(a.value); break; case "CellForeColor": this.cellForeColor = s.Deserialize.color(a.value); break; case "LineColor": this.lineColor = s.Deserialize.color(a.value); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , l.prototype.loadFromXml = function(t) { r.prototype.loadFromXml.call(this, t); for (var e = 0; e < t.childNodes.length; e++) { var i = t.childNodes[e]; switch (i.nodeName) { case "BackColor": this.backColor = s.Deserialize.color(i.textContent); break; case "CellBackColor": this.cellBackColor = s.Deserialize.color(i.textContent); break; case "AlternatingCellBackColor": this.alternatingCellBackColor = s.Deserialize.color(i.textContent); break; case "AlternatingCellForeColor": this.alternatingCellForeColor = s.Deserialize.color(i.textContent); break; case "SelectedCellBackColor": this.selectedCellBackColor = s.Deserialize.color(i.textContent); break; case "SelectedCellForeColor": this.selectedCellForeColor = s.Deserialize.color(i.textContent); break; case "ColumnHeaderBackColor": this.columnHeaderBackColor = s.Deserialize.color(i.textContent); break; case "ColumnHeaderForeColor": this.columnHeaderForeColor = s.Deserialize.color(i.textContent); break; case "RowHeaderBackColor": this.rowHeaderBackColor = s.Deserialize.color(i.textContent); break; case "RowHeaderForeColor": this.rowHeaderForeColor = s.Deserialize.color(i.textContent); break; case "HotColumnHeaderBackColor": this.hotColumnHeaderBackColor = s.Deserialize.color(i.textContent); break; case "HotRowHeaderBackColor": this.hotRowHeaderBackColor = s.Deserialize.color(i.textContent); break; case "CellForeColor": this.cellForeColor = s.Deserialize.color(i.textContent); break; case "LineColor": this.lineColor = s.Deserialize.color(i.textContent); break } } } , Object.defineProperty(l.prototype, "color", { get: function() { return this.columnHeaderBackColor }, set: function(t) { this.columnHeaderBackColor = t, this.rowHeaderBackColor = t }, enumerable: !0, configurable: !0 }), l.prototype.getStyleFromComponent = function(t, r) { if (r != e.StiStyleElements.All) throw new Error("StiCrossTabStyle support only StiStyleElements.All."); var n = t; if (null == n) return; var o = n.crossTabStyle; !i.isNullOrEmpty(o) && null != n.report && n.report.styles.getByName(o).stimulsoft.is(l) ? this.color = n.report.styles.getByName(o).color : n.crossTabStyleIndex < StiOptions.Designer.CrossTab.styleColors.length && n.crossTabStyleIndex >= 0 && n.crossTabStyleIndex < StiOptions.Designer.CrossTab.styleColors.length - 1 && (this.color = StiOptions.Designer.CrossTab.styleColors[n.crossTabStyleIndex]) } , l.prototype.setStyleToComponent = function(r) { if (null != r && r.stimulsoft.is(t.Report.CrossTab.StiCrossTab)) { var i = r; if (!e.StiStyleConditionHelper.isAllowStyle(r, this)) return; i.crossTabStyleColor = this.color, i.updateStyles() } } , l }(r.StiBaseStyle); r.StiCrossTabStyle = l }(r = e.Styles || (e.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Report.Styles.StiCrossTabStyle , a = t.Report.Dictionary.StiBusinessObjectHelper , s = t.Report.Components.StiFilter , l = t.Report.Components.StiFilterItem , u = t.Report.Components.StiComponentPriority , c = t.Report.Components.StiBand , m = t.Report.Components.StiComponentType , p = t.System.Drawing.Color , h = t.Base.Drawing.StiSolidBrush , d = t.Base.Drawing.StiColorUtils , g = t.System.Drawing.Rectangle , f = t.Report.CrossTab.Core.StiSummaryDirection , S = t.Report.Components.StiFilterMode , A = t.Report.Components.StiFilterEngine , y = t.Base.Localization.StiLocalization , w = t.Report.Components.StiContainer , b = t.System.Enum , v = t.Report.Components.IStiDataSource , C = t.Report.Components.IStiFilter , E = t.Report.Components.IStiCrossTab , B = t.Report.Components.IStiSort , T = t.Report.Components.IStiDataRelation , I = t.Report.Components.IStiPrintIfEmpty , x = t.Report.Components.IStiBusinessObject , F = t.Base.StiJsonReportObjectHelper , D = t.Report.Engine.StiSubReportsHelper , R = function(R) { function P(e) { void 0 === e && (e = g.empty); var i = R.call(this, e) || this; return i._printIfEmpty = !0, i._dataRelationName = "", i._dataSourceName = "", i._businessObjectGuid = "", i._sort = [], i._crossTabInfo = new r.StiCrossTabInfo, i._filterEngine = A.ReportEngine, i._filterMode = S.And, i._filters = new t.Report.Components.StiFiltersCollection, i._filterOn = !0, i.defaultClientRectangle = new g(0,0,300,100), i._crossTabStyleIndex = 0, i._crossTabStyleColor = null, i._horAlignment = r.StiCrossHorAlignment.None, i._printTitleOnAllPages = !0, i._summaryDirection = f.UpToDown, i._keepCrossTabTogether = !1, i._emptyValue = "", i._wrap = !1, i._wrapGap = 0, i._rightToLeft = !1, i.placeOnToolbox = !1, i.canGrow = !0, i } return __extends(P, R), P.prototype.implements = function() { return P.ImplementsStiCrossTab || (P.ImplementsStiCrossTab = R.prototype.implements.call(this).concat([v, C, E, B, T, I, x, n])), P.ImplementsStiCrossTab } , P.prototype.saveToJsonObject = function(t) { var e = R.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", F.Serialize.stringArray(this.sort)), e.addPropertyEnum("FilterEngine", A, this.filterEngine, A.ReportEngine), e.addPropertyEnum("FilterMode", S, this.filterMode, S.And), e.addPropertyJObject("Filters", this.filters.saveToJsonObject(t)), e.addPropertyBool("FilterOn", this.filterOn, !0), e.addPropertyNumber("CrossTabStyleIndex", this.crossTabStyleIndex), e.addPropertyEnum("HorAlignment", r.StiCrossHorAlignment, this.horAlignment, r.StiCrossHorAlignment.None), e.addPropertyBool("PrintTitleOnAllPages", this.printTitleOnAllPages, !0), e.addPropertyEnum("SummaryDirection", f, this.summaryDirection, f.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 } , P.prototype.loadFromJsonObject = function(t) { var e, i; R.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "PrintIfEmpty": this.printIfEmpty = a.value.stimulsoft.toBoolean(); break; case "DataRelationName": this.dataRelationName = a.value.toString(); break; case "DataSourceName": this.dataSourceName = a.value.toString(); break; case "BusinessObjectGuid": this.businessObjectGuid = a.value.toString(); break; case "Sort": this.sort = F.Deserialize.stringArray(a.value); break; case "FilterEngine": this.filterEngine = b.parse(A, a.value.toString()); break; case "FilterMode": this.filterMode = b.parse(S, a.value.toString()); break; case "Filters": this.filters.loadFromJsonObject(a.value); break; case "FilterOn": this.filterOn = a.value.stimulsoft.toBoolean(); break; case "CrossTabStyleIndex": this.crossTabStyleIndex = a.value.stimulsoft.toNumber(); break; case "HorAlignment": this.horAlignment = b.parse(r.StiCrossHorAlignment, a.value.toString()); break; case "PrintTitleOnAllPages": this.printTitleOnAllPages = a.value.stimulsoft.toBoolean(); break; case "SummaryDirection": this.summaryDirection = b.parse(f, a.value.toString()); break; case "KeepCrossTabTogether": this.keepCrossTabTogether = a.value.stimulsoft.toBoolean(); break; case "EmptyValue": this.emptyValue = a.value.toString(); break; case "Wrap": this.wrap = a.value.stimulsoft.toBoolean(); break; case "WrapGap": this.wrapGap = a.value.stimulsoft.toNumber(); break; case "RightToLeft": this.rightToLeft = a.value.stimulsoft.toBoolean(); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , P.prototype.loadFromXml = function(e) { var n, o; R.prototype.loadFromXml.call(this, e, !1); var a = e.getAttribute("Ref"); !i.isNullOrEmpty(a) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[a.stimulsoft.toNumber()] = e.nodeName); for (var s = 0; s < e.childNodes.length; s++) { var l = e.childNodes[s]; switch (l.nodeName) { case "PrintIfEmpty": this.printIfEmpty = l.textContent.stimulsoft.toBoolean(); break; case "DataRelationName": this.dataRelationName = l.textContent.toString(); break; case "DataSourceName": this.dataSourceName = l.textContent.toString(); break; case "BusinessObjectGuid": this.businessObjectGuid = l.textContent.toString(); break; case "Sort": this._sort = t.Report.Components.StiDataBand.loadXmlSort(l); break; case "FilterEngine": this.filterEngine = b.parse(A, l.textContent.toString()); break; case "FilterMode": this.filterMode = b.parse(S, l.textContent.toString()); break; case "Filters": null == this._filters && (this._filters = new t.Report.Components.StiFiltersCollection), this._filters.loadFromXml(l); break; case "FilterOn": this.filterOn = l.textContent.stimulsoft.toBoolean(); break; case "CrossTabStyleIndex": this.crossTabStyleIndex = l.textContent.stimulsoft.toNumber(); break; case "HorAlignment": this.horAlignment = b.parse(r.StiCrossHorAlignment, l.textContent.toString()); break; case "PrintTitleOnAllPages": this.printTitleOnAllPages = l.textContent.stimulsoft.toBoolean(); break; case "SummaryDirection": this.summaryDirection = b.parse(f, l.textContent.toString()); break; case "KeepCrossTabTogether": this.keepCrossTabTogether = l.textContent.stimulsoft.toBoolean(); break; case "EmptyValue": this.emptyValue = l.textContent.toString(); break; case "Wrap": this.wrap = l.textContent.stimulsoft.toBoolean(); break; case "WrapGap": this.wrapGap = l.textContent.stimulsoft.toNumber(); break; case "RightToLeft": this.rightToLeft = l.textContent.stimulsoft.toBoolean(); break } } try { for (var u = __values(this.components.list), c = u.next(); !c.done; c = u.next()) { c.value.paint(null) } } catch (t) { n = { error: t } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (n) throw n.error } } } , Object.defineProperty(P.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossTab }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "helpUrl", { get: function() { return "user-manual/report_internals_crosstable.htm" }, enumerable: !0, configurable: !0 }), P.prototype.convert = function(t, e, r) { void 0 === r && (r = !1), R.prototype.convert.call(this, t, e, r), this.wrapGap = e.convertFromHInches(t.convertToHInches(this.wrapGap)) } , Object.defineProperty(P.prototype, "printIfEmpty", { get: function() { return this._printIfEmpty }, set: function(t) { this._printIfEmpty = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.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: !0, configurable: !0 }), Object.defineProperty(P.prototype, "dataRelationName", { get: function() { return this._dataRelationName }, set: function(t) { this._dataRelationName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.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: !0, configurable: !0 }), Object.defineProperty(P.prototype, "dataSourceName", { get: function() { return this._dataSourceName }, set: function(t) { this._dataSourceName != t && (this._dataSourceName = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "isDataSourceEmpty", { get: function() { return i.isNullOrEmpty(this.dataSourceName) || null == this.dataSource }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "isBusinessObjectEmpty", { get: function() { return i.isNullOrEmpty(this.businessObjectGuid) || null == this.businessObject }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "businessObject", { get: function() { if (null == this.page || null == this.report || null == this.businessObjectGuid || 0 == this.businessObjectGuid.length) return null; return a.getBusinessObjectFromGuid(this.report, this.businessObjectGuid) }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "businessObjectGuid", { get: function() { return this._businessObjectGuid }, set: function(t) { this._businessObjectGuid != t && (this._businessObjectGuid = t, i.isNullOrEmpty(t) || (this.dataSourceName = null)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "sort", { get: function() { return this._sort }, set: function(t) { this._sort = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "canBreak", { get: function() { return null != D.getParentBand(this) || this.properties.getBool(w.propertyCanBreak, !1) }, enumerable: !0, configurable: !0 }), P.prototype.first = function() { null != this.dataSource ? this.dataSource.first() : null != this.businessObject && this.businessObject.first() } , P.prototype.prior = function() { null != this.dataSource ? this.dataSource.prior() : null != this.businessObject && this.businessObject.prior() } , P.prototype.next = function() { null != this.dataSource ? this.dataSource.next() : null != this.businessObject && this.businessObject.next() } , P.prototype.last = function() { null != this.dataSource ? this.dataSource.last() : null != this.businessObject && this.businessObject.last() } , Object.defineProperty(P.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: !0, configurable: !0 }), Object.defineProperty(P.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: !0, configurable: !0 }), Object.defineProperty(P.prototype, "isEmpty", { get: function() { return null != this.dataSource ? this.dataSource.isEmpty : null == this.businessObject || this.businessObject.isEmpty }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.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: !0, configurable: !0 }), Object.defineProperty(P.prototype, "count", { get: function() { return null != this.dataSource ? this.dataSource.count : null != this.businessObject ? this.businessObject.count : 0 }, enumerable: !0, configurable: !0 }), P.prototype.clone = function() { var e = R.prototype.clone.call(this); return e._crossTabInfo = this.crossTabInfo.clone().stimulsoft.as(r.StiCrossTabInfo), null != this._filters ? e._filters = this._filters.clone().stimulsoft.as(t.Report.Components.StiFiltersCollection) : e._filters = null, e } , P.prototype.packService = function() { this._filters = null } , Object.defineProperty(P.prototype, "crossTabInfo", { get: function() { return this._crossTabInfo }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "filterEngine", { get: function() { return this._filterEngine }, set: function(t) { this._filterEngine = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "filterMode", { get: function() { return this._filterMode }, set: function(t) { this._filterMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "filters", { get: function() { return this._filters }, set: function(t) { this._filters = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "filter", { get: function() { return 0 == this.filters.count && this.filters.add(new s), this.filters.getByIndex(0).item = l.Expression, this.filters.getByIndex(0).expression }, set: function(t) { 0 == this.filters.count && this.filters.add(new s), this.filters.getByIndex(0).item = l.Expression, this.filters.getByIndex(0).expression = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "filterOn", { get: function() { return this._filterOn }, set: function(t) { this._filterOn = t }, enumerable: !0, configurable: !0 }), P.prototype.canContainIn = function(t) { if (t.stimulsoft.is(P)) return !1; if (t.stimulsoft.is(w)) return !0; return !1 } , Object.defineProperty(P.prototype, "localizedCategory", { get: function() { return y.get("Report", "Components") }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "priority", { get: function() { return u.CrossTab }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "componentType", { get: function() { if (null != this.report) return m.Simple; if (this.parent.stimulsoft.is(c)) return m.Simple; return m.Master }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "localizedName", { get: function() { return y.get("Components", "StiCrossTab") }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "crossTabStyleIndex", { get: function() { return this._crossTabStyleIndex }, set: function(t) { t != this._crossTabStyleIndex && (-1 != t && (R.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: !0, configurable: !0 }), Object.defineProperty(P.prototype, "crossTabStyleColor", { get: function() { return this._crossTabStyleColor }, set: function(t) { this._crossTabStyleColor != t && (this._crossTabStyleColor = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "crossTabStyle", { get: function() { return this.componentStyle }, set: function(t) { this.componentStyle = t }, enumerable: !0, configurable: !0 }), P.prototype.setComponentStyle = function(t) { var e, r; if (null == t && (t = ""), R.prototype.getComponentStyle.call(this) != t) { R.prototype.setComponentStyle.call(this, t), this._crossTabStyleColor = null, this._crossTabStyleIndex = -1, this.updateStyles(); try { for (var i = __values(this.components.list), n = i.next(); !n.done; n = i.next()) { n.value.componentStyle = this.componentStyle } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } } , P.prototype.updateStyles = function() { var t, e; try { for (var r = __values(this.components.toCast()), i = r.next(); !i.done; i = r.next()) { var n = i.value; this.applyFieldStyle(n) } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , P.prototype.getCellColor = function() { if (null != this.crossTabStyleColor && this.crossTabStyleColor.stimulsoft.is(p)) return this.crossTabStyleColor; if (!i.isNullOrEmpty(this.crossTabStyle) && null != this.report) { var t = this.report.styles.getByName(this.crossTabStyle).stimulsoft.as(o); if (null != t) return t.color } if (-1 != this.crossTabStyleIndex) return StiOptions.Designer.CrossTab.styleColors[this.crossTabStyleIndex]; return p.white } , P.prototype.applyFieldStyle = function(t) { null != t && (t.brush = new h(p.white), t.border.color = d.dark(this.getCellColor(), 100), (t.stimulsoft.is(r.StiCrossTitle) || t.stimulsoft.is(r.StiCrossRow) || t.stimulsoft.is(r.StiCrossColumn) || t.stimulsoft.is(r.StiCrossSummaryHeader)) && (t.brush = new h(this.getCellColor()), t.textBrush = new h(d.dark(this.getCellColor(), 150))), t.stimulsoft.is(r.StiCrossTotal) && (t.brush = new h(d.light(this.getCellColor(), 50))), t.stimulsoft.is(r.StiCrossSummary) && (t.brush = new h(d.light(this.getCellColor(), 100)))) } , Object.defineProperty(P.prototype, "horAlignment", { get: function() { return this._horAlignment }, set: function(t) { this._horAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "printTitleOnAllPages", { get: function() { return this._printTitleOnAllPages }, set: function(t) { this._printTitleOnAllPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "summaryDirection", { get: function() { return this._summaryDirection }, set: function(t) { this._summaryDirection = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "keepCrossTabTogether", { get: function() { return this._keepCrossTabTogether }, set: function(t) { this._keepCrossTabTogether = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "emptyValue", { get: function() { return this._emptyValue }, set: function(t) { this._emptyValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "wrap", { get: function() { return this._wrap }, set: function(t) { this._wrap = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "wrapGap", { get: function() { return this._wrapGap }, set: function(t) { this._wrapGap = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "rightToLeft", { get: function() { return this._rightToLeft }, set: function(t) { this._rightToLeft != t && (this._rightToLeft = t) }, enumerable: !0, configurable: !0 }), P.prototype.createNew = function() { return new P } , P }(w); r.StiCrossTab = R }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Helpers.StiValueHelper , i = t.Base.Drawing.StiSolidBrush , n = t.Base.Drawing.StiFontUtils , o = t.Report.Components.StiDataHelper , a = t.Report.Components.StiImageHelper , s = t.Base.Drawing.StiBorder , l = t.Base.Drawing.StiBorderSides , u = t.Report.Events.StiGetValueEventArgs , c = t.Report.CrossTab.Core.StiCross , m = t.Report.Components.StiComponentsCollection , p = t.System.Data.DataColumn , h = t.System.Data.DataTable , d = t.Report.Components.StiDataBand , g = t.System.Drawing.Size , f = t.Report.Components.StiText , S = t.Report.Components.StiImage , A = t.Report.CrossTab.Core.StiCell , y = t.System.Drawing.Rectangle , w = t.Base.StiAlignValue , b = t.System.Collections.Hashtable , v = t.Base.StiGuidUtils , C = function() { function t() {} return t.getCellRect = function(t, e, r) { for (var i = 0, n = 0, o = t.crossTabInfo.cross.cells[e][r], a = e; a < e + o.width; a++) i += t.crossTabInfo.cross.widths[a]; for (var s = r; s < r + o.height; s++) n += t.crossTabInfo.cross.heights[s]; return new y(t.crossTabInfo.cross.coordX[e],t.crossTabInfo.cross.coordY[r],i,n) } , t.getCellsRect = function(t, e, r, i, n) { for (var o = 0, a = 0, s = e; s < i; s++) o += t.crossTabInfo.cross.widths[s]; for (var l = r; l < n; l++) a += t.crossTabInfo.cross.heights[l]; return new g(o,a) } , t.renderCells = function(t, r, n, o, u, c, m) { t.crossTabInfo.hidedCells.clear(); for (var p = m.left - t.crossTabInfo.cross.coordX[n], h = m.top - t.crossTabInfo.cross.coordY[o], d = o; d < c; d++) for (var A = n; A < u; A++) { var w = t.crossTabInfo.cross.cells[A][d]; if (null == t.crossTabInfo.hidedCells.get(w)) { var b = null; if (w.isImage) { var C = null; null != w.field ? (C = new S, C.border = w.field.border.clone().stimulsoft.as(s)) : (C = new S, C.border.side = l.All), null != w.value && (C.image = a.getImageFromObject(w.value)), w.field.stimulsoft.is(e.StiCrossSummary) && (C.stretch = w.field.stretch, C.aspectRatio = w.field.aspectRatio, C.horAlignment = w.field.imageHorAlignment, C.vertAlignment = w.field.imageVertAlignment), b = C } else { var E = null; if (null != w.field) { E = w.width > 1 || w.height > 1 || !w.isNumeric || w.field.stimulsoft.is(e.StiCrossHeader) ? w.field.clone(!0).stimulsoft.as(e.StiCrossField) : w.field; var B = E.stimulsoft.as(e.StiCrossHeader); null != B && (B.headerLevel = w.level, B.headerValue = null != w.value ? w.value.toString() : null), E.border = w.field.border.clone().stimulsoft.as(s), E.maxSize = new g(0,0), E.minSize = new g(0,0), E.guid = v.newGuid(), w.height > 1 && (E.canBreak = !0) } else w.width <= 1 && w.height <= 1 || (E = new f, E.border.side = l.All); w.isNegativeColor && (E.textBrush = new i(StiOptions.Engine.negativeColor)), null != E && (E.setTextInternal(w.text), b = E) } null != b && (b.hyperlinkValue = w.hyperlinkValue, b.toolTipValue = w.toolTipValue, b.tagValue = w.tagValue, b.drillDownParameters = w.drillDownParameters, w.field.stimulsoft.is(e.StiCrossColumn) ? StiOptions.Export.optimizeDataOnlyMode ? b.componentPlacement = "d" : b.componentPlacement = "h" : w.field.stimulsoft.is(e.StiCrossHeader) ? StiOptions.Export.optimizeDataOnlyMode ? b.componentPlacement = "d" : b.componentPlacement = "h" : w.field.stimulsoft.is(e.StiCrossTitle) ? b.componentPlacement = "h" : b.componentPlacement = "d", b.componentPlacement.length > 0 && null != w.field && null != w.field.parent && (b.componentPlacement += "." + w.field.parent.name), r.components.add(b)); var T = A + w.width , I = d + w.height; T > u && (T = u), I > c && (I = c); for (var x = A; x < T; x++) for (var F = d; F < I; F++) { var D = t.crossTabInfo.cross.cells[x][F]; t.crossTabInfo.hidedCells.set(D, D) } for (var R = 0, P = 0, x = A; x < T; x++) R += t.crossTabInfo.cross.widths[x]; for (var F = d; F < I; F++) P += t.crossTabInfo.cross.heights[F]; var N = new y(t.crossTabInfo.cross.coordX[A],t.crossTabInfo.cross.coordY[d],R,P); N.x += p, N.y += h, null != b && (b.clientRectangle = N.clone()) } } } , t.createCrossForCrossTabDataSource = function(t) { return o.setData(t, !0, t.parent.stimulsoft.as(d)), this.buildCrossForCrossTabDataSource(t, !1) } , t.buildCrossForCrossTabDataSource = function(t, r) { var i, n, o, a, s = new m(null), l = new m(null), c = new m(null), d = new m(null), g = new m(null), f = new m(null), S = new h; try { for (var A = __values(t.components.list), y = A.next(); !y.done; y = A.next()) { var w = y.value; if (w.stimulsoft.is(e.StiCrossCell) || w.stimulsoft.is(e.StiCrossTitle) || w.stimulsoft.is(e.StiCrossSummaryHeader)) { var b = w.stimulsoft.as(e.StiCrossRow) , v = w.stimulsoft.as(e.StiCrossColumn) , C = w.stimulsoft.as(e.StiCrossSummary) , E = w.stimulsoft.as(e.StiCrossSummaryHeader) , B = w.stimulsoft.as(e.StiCrossTitle); if (null != B) { B.typeOfComponent.stimulsoft.startsWith("Row:") && g.add(B), B.typeOfComponent.stimulsoft.startsWith("Col:") && f.add(B); continue } null != b && (l.add(b), b.isTotalVisible || (b.total.height = 0)), null != v && (s.add(v), v.isTotalVisible || (v.total.width = 0)), null != C && c.add(C), null != E && d.add(E); var T = new p(w.name,Object); S.columns.add(T), w.stimulsoft.is(e.StiCrossHeader) && (T = new p("Display__" + w.name,Object), S.columns.add(T)) } } } catch (t) { i = { error: t } } finally { try { y && !y.done && (n = A.return) && n.call(A) } finally { if (i) throw i.error } } if (!r) { t.first(); while (!t.isEof) { var b = S.newRow(); try { for (var I = (o = void 0, __values(t.components.list)), x = I.next(); !x.done; x = I.next()) { var w = x.value; if (w.stimulsoft.is(e.StiCrossSummaryHeader)) continue; var F = w.stimulsoft.as(e.StiCrossCell); if (null != F) { var D = new e.StiGetCrossValueEventArgs; F.invokeGetCrossValue(D), b.sett(F.name, D.value), F.stimulsoft.is(e.StiCrossHeader) && (D = new e.StiGetCrossValueEventArgs, F.stimulsoft.as(e.StiCrossHeader).InvokeGetDisplayCrossValue(D), b.sett("Display__" + w.name, D.value)) } else if (w.stimulsoft.is(e.StiCrossTitle)) { var R = new u; w.invokeGetValue(w, R), w.textValue = R.value } } } catch (t) { o = { error: t } } finally { try { x && !x.done && (a = I.return) && a.call(I) } finally { if (o) throw o.error } } S.rows.add(b), t.next() } } return S } , t.buildCross = function(t, i) { var n, o, a, s, l = new m(null), d = new m(null), g = new m(null), f = new m(null), S = new m(null), A = new m(null), y = null, w = null, b = null, v = new h; try { for (var C = __values(t.components.list), E = C.next(); !E.done; E = C.next()) { var B = E.value; if (B.stimulsoft.is(e.StiCrossCell) || B.stimulsoft.is(e.StiCrossTitle) || B.stimulsoft.is(e.StiCrossSummaryHeader)) { var T = B.stimulsoft.as(e.StiCrossRow) , I = B.stimulsoft.as(e.StiCrossColumn) , x = B.stimulsoft.as(e.StiCrossSummary) , F = B.stimulsoft.as(e.StiCrossSummaryHeader) , D = B.stimulsoft.as(e.StiCrossTitle); if (null != D) { D.typeOfComponent.stimulsoft.startsWith("Row:") && S.add(D), D.typeOfComponent.stimulsoft.startsWith("Col:") && A.add(D), D.typeOfComponent.stimulsoft.startsWith("LeftTitle") && (y = D), D.typeOfComponent.stimulsoft.startsWith("RightTitle") && (w = D), D.typeOfComponent.stimulsoft.startsWith("SummaryTitle") && (b = D); continue } null != T && (d.add(T), T.isTotalVisible || (T.total.height = 0)), null != I && (l.add(I), I.isTotalVisible || (I.total.width = 0)), null != x && g.add(x), null != F && f.add(F); var R = new p(B.name,Object); v.columns.add(R), B.stimulsoft.is(e.StiCrossHeader) && (R = new p("Display__" + B.name,Object), v.columns.add(R)) } } } catch (t) { n = { error: t } } finally { try { E && !E.done && (o = C.return) && o.call(C) } finally { if (n) throw n.error } } if (!i) { t.first(); while (!t.isEof) { var T = v.newRow(); try { for (var P = (a = void 0, __values(t.components.list)), N = P.next(); !N.done; N = P.next()) { var B = N.value; if (B.stimulsoft.is(e.StiCrossSummaryHeader)) continue; var k = B.stimulsoft.as(e.StiCrossCell); if (null != k) { var M = new e.StiGetCrossValueEventArgs; k.invokeGetCrossValue(M); var O = M.value; null != O && O.stimulsoft.is(String) || null == (O = r.tryToNullableNumber(M.value)) && (O = M.value), T.sett(k.name, O), k.stimulsoft.is(e.StiCrossHeader) && (M = new e.StiGetCrossValueEventArgs, k.invokeGetDisplayCrossValue(M), T.sett("Display__" + B.name, M.value)) } else if (B.stimulsoft.is(e.StiCrossTitle)) { var _ = new u; B.invokeGetValue(B, _), B.textValue = _.value } } } catch (t) { a = { error: t } } finally { try { N && !N.done && (s = P.return) && s.call(P) } finally { if (a) throw a.error } } v.rows.add(T), t.next() } } t.crossTabInfo.cross = new c, t.crossTabInfo.cross.designTime = i, t.crossTabInfo.cross.colFields = l, t.crossTabInfo.cross.rowFields = d, t.crossTabInfo.cross.sumFields = g, t.crossTabInfo.cross.sumHeaderFields = f, t.crossTabInfo.cross.colTitleFields = A, t.crossTabInfo.cross.rowTitleFields = S, t.crossTabInfo.cross.leftCrossTitle = y, t.crossTabInfo.cross.rightCrossTitle = w, t.crossTabInfo.cross.summaryCrossTitle = b, t.crossTabInfo.cross.crossTab = t, t.crossTabInfo.cross.create(v, t.report, t.summaryDirection, t.emptyValue), t.crossTabInfo.cross.crossTab = null } , t.getEndCol = function(t, r, i) { var n = t.crossTabInfo.cross.colCount; if (t.horAlignment != e.StiCrossHorAlignment.None && t.horAlignment != e.StiCrossHorAlignment.Left && !t.wrap) return n; for (var o = r, a = 0, s = r; s < t.crossTabInfo.cross.colCount; s++) { if ((a += t.crossTabInfo.cross.widths[s]) > i.width) break; o++ } return o == r && o + 1 <= n && o++, o } , t.getEndRow = function(t, e, r) { for (var i = t.crossTabInfo.cross.rowCount, n = e, o = 0, a = e; a < t.crossTabInfo.cross.rowCount; a++) { if ((o += t.crossTabInfo.cross.heights[a]) > r.height) break; n++ } return n == e && n + 1 <= i && n++, n } , t.getPageSegmentsRequired = function(t) { if (t.horAlignment == e.StiCrossHorAlignment.Width || t.wrap) return 1; for (var r = t.crossTabInfo.cross, i = t.page, n = i.pageWidth - i.margins.left - i.margins.right, o = 1, a = 0, s = 0; s < r.colCount; s++) n < a + r.widths[s] && (o++, a = 0), a += r.widths[s]; return o } , t.checkMergedRowCells = function(t, e, r, i, n) { for (var o = t.crossTabInfo.cross.cells, a = 0, s = i; s < n; s++) { var l = o[s][r - 1] , u = l.parentCell; null != l.field && l.height > 1 && null != u && u.keepMergedCellsTogether && (a = Math.max(a, u.height - l.height + 1)) } return Math.max(r - a, e + 1) } , t.isColFieldsEmpty = function(t) { return 1 == t.crossTabInfo.cross.colFields.count && t.crossTabInfo.cross.colFields.getByIndex(0).name == c.emptyField } , t.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 == c.emptyField } , t.createCross = function(t) { o.setData(t, !0, t.parent.stimulsoft.as(d)), 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() } , t.makeRightToLeft = function(t) { for (var e = t.crossTabInfo.cross, r = Array.create(Array, e.colCount), i = 0; i < e.colCount; i++) { r[i] = Array.create(A, e.rowCount); for (var n = 0; n < e.rowCount; n++) { var o = e.cells[e.colCount - i - 1][n]; r[i][n] = o } } for (var a = new b, i = 0; i < e.colCount; i++) for (var n = 0; n < e.rowCount; n++) if (n < 2) { var o = r[e.colCount - i - 1][n]; if (null != o && o.width > 1 && !o.isChangeWidthForRightToLeft) { var s = 0; a.contains(o.text) ? (s = Math.trunc(a.get(o.text)), 2 == o.width && a.remove(o.text)) : (s = i, a.set(o.text, i)); var l = r[e.colCount - s - o.width][n]; o.isChangeWidthForRightToLeft = !0, l.isChangeWidthForRightToLeft = !0, r[e.colCount - s - o.width][n] = o, r[e.colCount - i - 1][n] = l } } else { var o = r[i][n]; if (null != o && o.width > 1) { var l = r[i - o.width + 1][n]; r[i - o.width + 1][n] = o, r[i][n] = l } } a.clear(), e.cells = r; for (var u = new m, i = e.colFields.count - 1; i >= 0; i--) u.add(e.colFields.getByIndex(i)) } , t.calculateMaxAndMin = function(t, e, r, i) { var n = e.ref , o = r.ref; n = 0, o = 0; for (var a = i; a < t.components.count; a++) { var s = t.components.getByIndex(a); a == i ? (n = s.left, o = s.right) : (n = Math.min(n, s.left), o = Math.max(o, s.right)) } e.ref = n, r.ref = o } , t.makeHorAlignmentByWidth = function(t, e) { var r, i, o = 0, a = 0, s = { ref: o }, l = { ref: a }; this.calculateMaxAndMin(t, s, l, e), o = s.ref, a = l.ref; for (var u = new b, c = e; c < t.components.count; c++) { var m = t.components.getByIndex(c); u.set(m.left, m.left), u.set(m.right, m.right) } var p = t.width / (a - o) , h = Array.create(Number, u.count); u.keys.copyTo(h, 0); try { for (var d = __values(h), g = d.next(); !g.done; g = d.next()) { var S = g.value , A = S - o; A = w.alignToGrid(A * p, .01, !0), u.set(S, A) } } catch (t) { r = { error: t } } finally { try { g && !g.done && (i = d.return) && i.call(d) } finally { if (r) throw r.error } } for (var c = e; c < t.components.count; c++) { var m = t.components.getByIndex(c) , y = 0; u.containsKey(m.left) && (y = u.get(m.left)); var v = 0; if (u.containsKey(m.right) && (v = u.get(m.right)), m.left = y, m.width = v - y, p < 1) { var C = m.stimulsoft.as(f); null != C && (C.font = n.changeFontSize(C.font, C.font.size * p)) } } } , t.clearCross = function(t) { if (null != t && null != t.crossTabInfo && null != t.crossTabInfo.cross) { var e = t.crossTabInfo.cross.clear(); t.crossTabInfo.cross = null } } , t.isCrossTabRendering = !1, t }(); e.StiCrossTabHelper = C }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiComponentInfo , i = t.System.Drawing.Rectangle , n = t.System.Collections.Hashtable , o = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.defaultWidth = 60, e.defaultHeight = 14, e.hidedCells = new n, e.cross = null, e.renderRect = i.empty, e.finishRender = !1, e } return __extends(e, t), e }(r); e.StiCrossTabInfo = o }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = function() { function t() { this._startRow = 0, this._startColumn = 0, this._renderingIsFinished = !1, this._allowRendering = !0, this._destinationRectangle = r.empty } return Object.defineProperty(t.prototype, "startRow", { get: function() { return this._startRow }, set: function(t) { this._startRow = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "startColumn", { get: function() { return this._startColumn }, set: function(t) { this._startColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "renderingIsFinished", { get: function() { return this._renderingIsFinished }, set: function(t) { this._renderingIsFinished = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "allowRendering", { get: function() { return this._allowRendering }, set: function(t) { this._allowRendering = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "destinationRectangle", { get: function() { return this._destinationRectangle }, set: function(t) { this._destinationRectangle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "destinationContainer", { get: function() { return this._destinationContainer }, set: function(t) { this._destinationContainer = t }, enumerable: !0, configurable: !0 }), t }(); e.StiCrossTabParams = i }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.Drawing.StiSolidBrush , o = t.System.Drawing.Color , a = t.Base.Localization.StiLocalization , s = function(t) { function r() { var e = t.call(this) || this; return e._printOnAllPages = !0, e._typeOfComponent = "", e.brush = new n(o.lightGray), e } return __extends(r, t), r.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.removeProperty("TextFormat"), r.removeProperty("HideZeros"), r.removeProperty("Conditions"), r.addPropertyBool("PrintOnAllPages", this.printOnAllPages, !0), r.addPropertyStringNullOrEmpty("TypeOfComponent", this.typeOfComponent), r } , r.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "PrintOnAllPages": this.printOnAllPages = a.value.stimulsoft.toBoolean(); break; case "TypeOfComponent": this.typeOfComponent = a.value.toString(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , r.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); var r = e.getAttribute("Ref"); !i.isNullOrEmpty(r) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()] = e.nodeName); for (var n = 0; n < e.childNodes.length; n++) { var o = e.childNodes[n]; switch (o.nodeName) { case "PrintOnAllPages": this.printOnAllPages = o.textContent.stimulsoft.toBoolean(); break; case "TypeOfComponent": this.typeOfComponent = o.textContent.toString(); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCrossTitle }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedName", { get: function() { return a.get("Components", "StiCrossTitle") }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "printOnAllPages", { get: function() { return this._printOnAllPages }, set: function(t) { this._printOnAllPages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "typeOfComponent", { get: function() { return this._typeOfComponent }, set: function(t) { this._typeOfComponent = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cellText", { get: function() { return this.getTextInternal() }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(r.StiCrossField); r.StiCrossTitle = s }(r = e.CrossTab || (e.CrossTab = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDashboardExportSettings = "IStiDashboardExportSettings" }(e = t.Export || (t.Export = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDataDashboardExportSettings = "IStiDataDashboardExportSettings" }(e = t.Export || (t.Export = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiExcelDashboardExportSettings = "IStiExcelDashboardExportSettings" }(e = t.Export || (t.Export = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiImageDashboardExportSettings = "IStiImageDashboardExportSettings" }(e = t.Export || (t.Export = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPdfDashboardExportSettings = "IStiPdfDashboardExportSettings" }(e = t.Export || (t.Export = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.Report.Components.IStiSimpleBorder , i = function() { function t() {} return t.getBorderContentRect = function(t, i, n) { void 0 === n && (n = !0); var o = i.stimulsoft.as(r); if (null != o && null == o.border2) return t; return this.getBorderContentRect2(t, o.border2, e.StiElementScale.factor(i), n) } , t.getBorderContentRect2 = function(t, e, r, i) { void 0 === i && (i = !0); var n = e.getSizeIncludingSide(); return n >= 1 && (n -= i ? 1 : 0), t.inflate(Math.ceil(-n * r), Math.ceil(-n * r)), t } , t.getBorderContentRect3 = function(t, e, r, i) { void 0 === i && (i = !0); var n = e.getSizeIncludingSide(); return n >= 1 && (n -= i ? 1 : 0), t.inflate(Math.ceil(-n * r), Math.ceil(-n * r)), t } , t }(); e.StiBorderElementHelper = i }(r = e.Helpers || (e.Helpers = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Components.StiComponent , o = t.System.Collections.List , a = function() { function t() {} return t.isCrossLinkedFilter = function(t) { if (null == t) return !1; var r = t.stimulsoft.as(n).page.getComponents().toList().where(function(t) { return t.stimulsoft.is(e.IStiFilterElement) }); if (null == r) return !1; var a = new o , s = function() { var e = t.getParentKey(); if (i.isNullOrWhiteSpace(e)) return { value: !1 }; if (null == (t = r.cast().firstOrDefault(function(t) { return null != t && t.getKey() == e }))) return { value: !1 }; if (a.contains(t)) return { value: !0 }; a.add(t) }; while (!0) { var l = s(); if ("object" == typeof l) return l.value } } , t }(); r.StiCrossLinkedFilterHelper = a }(r = e.Helpers || (e.Helpers = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Drawing.Image , n = t.Report.Helpers.StiHyperlinkProcessor , o = t.System.Collections.Dictionary , a = t.Base.StiKeyHelper , s = function() { function t() {} return t.get = function(t, e) { var r = this.getCacheKey(t, e) , o = this.cache.contains(r) ? this.getFromCache(r, e) : null; if (null == o) return o = n.getImage(e, t), null == o && (o = new i), this.addToCache(t, o, e), o; return o } , t.getCacheKey = function(t, e) { e.setKey(a.getOrGeneratedKey(e.getKey())); var i = e.getKey(); return null == i && (i = ""), r.isNullOrWhiteSpace(t) ? i + ".0" : i + "." + t } , t.getFromCache = function(t, e) { var r = this.getCacheKey(t, e); return this.cache.contains(r) ? this.cache.get(r) : null } , t.addToCache = function(t, e, r) { var n = this.getCacheKey(t, r); null == e && (e = new i), this.cache.set(n, e) } , t.clean = function(t) { var e = this; null == t ? this.cache.clear() : this.cache.keys.where(function(e) { return e.stimulsoft.startsWith(t) }).forEach(function(t) { return e.cache.remove(t) }, this) } , t.cache = new o, t }(); e.StiDashboardImageHyperlinkCache = s }(r = e.Helpers || (e.Helpers = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Collections.List , i = function() { function t() {} return t.getSettingsPath = function() { return "" } , t.getNewSettingsPath = function() { return "" } , t.save = function() { if (null == this.dbsFiles) return !1; return !0 } , t.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 r), null == this.reportFiles && (this.reportFiles = new r) } , t.add = function(t, e, r) { if (void 0 === r && (r = !0), null == t || null == e) return; this.load(); var i = !1 , n = e.toLowerCase(); t.pages.containsDashboards ? (this.dbsFiles.contains(n) || (this.dbsFiles.add(n), i = !0), this.reportFiles.contains(n) && (this.reportFiles.remove(n), i = !0)) : (this.reportFiles.contains(n) || (this.reportFiles.add(n), i = !0), this.dbsFiles.contains(n) && (this.dbsFiles.remove(n), i = !0)), i && r && this.save() } , t.add2 = function(t, e, r) { if (void 0 === r && (r = !0), null == e) return; this.load(); var i = !1 , n = e.toLowerCase(); t ? (this.dbsFiles.contains(n) || (this.dbsFiles.add(n), i = !0), this.reportFiles.contains(n) && (this.reportFiles.remove(n), i = !0)) : (this.reportFiles.contains(n) || (this.reportFiles.add(n), i = !0), this.dbsFiles.contains(n) && (this.dbsFiles.remove(n), i = !0)), i && r && this.save() } , t.remove = function(t) { if (null == t) return; this.load(); var e = t.toLowerCase() , r = !1; this.dbsFiles.contains(e) && (this.dbsFiles.remove(e), r = !0), this.reportFiles.contains(e) && (this.reportFiles.remove(e), r = !0), r && this.save() } , t.containsDbs = function(t) { if (null == t) return !1; return this.load(), this.dbsFiles.contains(t.toLowerCase()) } , t.containsFile = function(t) { if (null == t) return !1; this.load(); var e = t.toLowerCase(); if (this.dbsFiles.contains(e)) return !0; if (this.reportFiles.contains(e)) return !0; return !1 } , t.dbsFiles = null, t.reportFiles = null, t }(); e.StiDashboardRecentHelper = i }(r = e.Helpers || (e.Helpers = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.factor = function(t) { return 1 } , t }(); t.StiElementScale = e }(e = t.Helpers || (t.Helpers = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Point , i = function() { function t() {} return t.setMouseOverPoint = function(t, e) { this.indicatorElement = t, this.mouseOverPoint = e } , t.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 r(this.mouseOverPoint.x * t.zoom,this.mouseOverPoint.y * t.zoom) : this.mouseOverPoint; return null } , t.resetMouseOverPoint = function(t) { null != this.indicatorElement && null != t && this.indicatorElement.getKey() == t.getKey() && (this.indicatorElement = null, this.mouseOverPoint = null) } , t }(); e.StiIndicatorElementMouseOverHelper = i }(r = e.Helpers || (e.Helpers = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function() { function r() {} return r.applyMargin = function(r, i, n) { null == n && (n = e.StiElementScale.factor(r)); var o = r.stimulsoft.as(t.IStiMargin).margin; if (null == o) return i; return i.x += o.left * n, i.y += o.top * n, i.width -= o.left * n + o.right * n, i.height -= o.top * n + o.bottom * n, i } , r }(); e.StiMarginHelper = r }(e = t.Helpers || (t.Helpers = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function() { function r() {} return r.applyPadding = function(r, i, n) { null == n && (n = e.StiElementScale.factor(r)); var o = r.stimulsoft.as(t.IStiPadding).padding; if (null == o) return i; return i.x += o.left * n, i.y += o.top * n, i.width -= o.left * n + o.right * n, i.height -= o.top * n + o.bottom * n, i } , r }(); e.StiPaddingHelper = r }(e = t.Helpers || (t.Helpers = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = t.Data.Engine.StiDataTopNMode , n = t.Data.Engine.IStiDataTopN , o = function() { function t() {} return t.isAllowUserSorting = function(t) { var r, o, a, s = t.stimulsoft.as(n); if (null != s && s.topN.mode != i.None) return !1; var l = t.stimulsoft.as(e.IStiElementInteraction); if (null != l) { var u = l.dashboardInteraction.stimulsoft.as(e.IStiAllowUserSortingDashboardInteraction); if (null != u && !u.allowUserSorting) return !1 } var c = t.stimulsoft.as(e.IStiChartElement); if (null != c) return c.isAxisAreaChart; if (t.stimulsoft.is(e.IStiChartElement)) return !0; if (t.stimulsoft.is(e.IStiGaugeElement) && null != (null === (r = t) || void 0 === r ? void 0 : r.getSeries())) return !0; if (t.stimulsoft.is(e.IStiProgressElement) && null != (null === (o = t) || void 0 === o ? void 0 : o.getSeries())) return !0; if (t.stimulsoft.is(e.IStiIndicatorElement) && null != (null === (a = t) || void 0 === a ? void 0 : a.getSeries())) return !0; return !1 } , t }(); r.StiSortMenuHelper = o }(r = e.Helpers || (e.Helpers = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.EventArgs , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(r); e.StiTableElementClickEventArgs = i }(r = e.Helpers || (e.Helpers = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.StiTableElementClickRightHelper = e }(e = t.Helpers || (t.Helpers = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.StiTableElementMouseOverHelper = e }(e = t.Helpers || (t.Helpers = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.StiTablePartDrawer = e }(e = t.Helpers || (t.Helpers = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.StiTableSizer = e }(e = t.Helpers || (t.Helpers = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.Report.Styles.StiBaseStyle , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.drawBox = function(t, e, r, i) {} , e.prototype.drawStyle = function(t, e, r, i) {} , e.prototype.getStyleFromComponent = function(t, e) {} , e.prototype.setStyleToComponent = function(t) {} , e }(r); e.StiElementStyle = i }(r = e.Styles || (e.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Font , i = t.Base.Drawing.StiColorUtils , n = t.System.Drawing.Color , o = t.Base.Dashboard.StiElementConsts , a = t.System.Drawing.ColorTranslator , s = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.backColor = o.BackgroundColor, e.foreColor = o.ForegroundColor, e.glyphColor = n.dimGray, e.separatorColor = n.lightGray, e.selectedBackColor = a.fromHtml("#3498db"), e.selectedForeColor = n.white, e.selectedGlyphColor = n.white, e.hotBackColor = i.light(n.lightGray, 15), e.hotForeColor = o.ForegroundColor, e.hotGlyphColor = o.ForegroundColor, e.hotSelectedBackColor = i.light(a.fromHtml("#3498db"), 30), e.hotSelectedForeColor = n.white, e.hotSelectedGlyphColor = n.white, e.font = new r("Arial",8), e } return __extends(e, t), e }(e.StiElementStyle); e.StiControlElementStyle = s }(r = e.Styles || (e.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColor , o = t.Base.Localization.StiLocalization , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiAliceBlueDashboardControlStyle, i.ident = r.StiElementStyleIdent.AliceBlue, i.backColor = n.get("f2f5fc"), i.foreColor = n.get("1e1e1e"), i.glyphColor = n.get("1e1e1e"), i.separatorColor = n.get("c0cae9"), i.selectedBackColor = n.get("40568d"), i.selectedForeColor = n.get("e4ffff"), i.selectedGlyphColor = n.get("e4ffff"), i.hotBackColor = n.get("f5cc84"), i.hotForeColor = n.get("1e1e1e"), i.hotGlyphColor = n.get("1e1e1e"), i.hotSelectedBackColor = n.get("5d6b99"), i.hotSelectedForeColor = n.get("e4ffff"), i.hotSelectedGlyphColor = n.get("e4ffff"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "AliceBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiControlElementStyle); i.StiAliceBlueControlElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiBlueDashboardControlStyle, i.ident = r.StiElementStyleIdent.Blue, i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Blue") }, enumerable: !0, configurable: !0 }), i }(i.StiControlElementStyle); i.StiBlueControlElementStyle = o }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(r) { var i = function(r) { function i(i) { var n = r.call(this) || this; return n.componentId = e.StiComponentId.StiCustomDashboardControlStyle, n.ident = t.Report.Dashboard.StiElementStyleIdent.Custom, n.font = i.font, n.styleName = i.name, n.backColor = i.backColor, n.foreColor = i.foreColor, n.glyphColor = i.glyphColor, n.hotBackColor = i.hotBackColor, n.hotForeColor = i.hotForeColor, n.hotGlyphColor = i.hotGlyphColor, n.hotSelectedBackColor = i.hotSelectedBackColor, n.hotSelectedForeColor = i.hotSelectedForeColor, n.hotSelectedGlyphColor = i.hotSelectedGlyphColor, n.selectedBackColor = i.selectedBackColor, n.selectedForeColor = i.selectedForeColor, n.selectedGlyphColor = i.selectedGlyphColor, n.separatorColor = i.separatorColor, n } return __extends(i, r), Object.defineProperty(i.prototype, "localizedName", { get: function() { return this.styleName }, enumerable: !0, configurable: !0 }), i }(r.StiControlElementStyle); r.StiCustomControlElementStyle = i }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColorUtils , o = t.Base.Localization.StiLocalization , a = t.System.Drawing.ColorTranslator , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkBlueDashboardControlStyle, i.ident = r.StiElementStyleIdent.DarkBlue, i.separatorColor = a.fromHtml("#758696"), i.backColor = a.fromHtml("#0a325a"), i.foreColor = a.fromHtml("#ccc"), i.glyphColor = a.fromHtml("#eee"), i.selectedBackColor = n.light(a.fromHtml("#0a325a"), 20), i.selectedForeColor = a.fromHtml("#eee"), i.selectedGlyphColor = a.fromHtml("#eee"), i.hotBackColor = n.dark(a.fromHtml("#0a325a"), 10), i.hotForeColor = a.fromHtml("#eee"), i.hotGlyphColor = a.fromHtml("#eee"), i.hotSelectedBackColor = n.light(a.fromHtml("#0a325a"), 40), i.hotSelectedForeColor = a.fromHtml("#eee"), i.hotSelectedGlyphColor = a.fromHtml("#ddd"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "DarkBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiControlElementStyle); i.StiDarkBlueControlElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColorUtils , o = t.System.Drawing.ColorTranslator , a = t.Base.Localization.StiLocalization , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkGrayDashboardControlStyle, i.ident = r.StiElementStyleIdent.DarkGray, i.backColor = o.fromHtml("#595b65"), i.foreColor = o.fromHtml("#ddd"), i.selectedBackColor = o.fromHtml("#db7b46"), i.selectedForeColor = o.fromHtml("#eee"), i.glyphColor = o.fromHtml("#db7b46"), i.separatorColor = o.fromHtml("#66d3d3d5"), i.selectedGlyphColor = o.fromHtml("#eee"), i.hotBackColor = n.dark(o.fromHtml("#db7b46"), 10), i.hotForeColor = o.fromHtml("#eee"), i.hotGlyphColor = o.fromHtml("#eee"), i.hotSelectedBackColor = n.light(o.fromHtml("#db7b46"), 50), i.hotSelectedForeColor = o.fromHtml("#eee"), i.hotSelectedGlyphColor = o.fromHtml("#ddd"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return a.get("PropertyColor", "DarkGray") }, enumerable: !0, configurable: !0 }), i }(i.StiControlElementStyle); i.StiDarkGrayControlElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColorUtils , o = t.System.Drawing.ColorTranslator , a = t.Base.Localization.StiLocalization , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkTurquoiseDashboardControlStyle, i.ident = r.StiElementStyleIdent.DarkTurquoise, i.backColor = o.fromHtml("#235e6d"), i.foreColor = o.fromHtml("#fbffff"), i.selectedBackColor = o.fromHtml("#f0621e"), i.selectedForeColor = o.fromHtml("#eee"), i.glyphColor = o.fromHtml("#fbffff"), i.separatorColor = o.fromHtml("#aed2e5"), i.selectedGlyphColor = o.fromHtml("#fbffff"), i.hotBackColor = n.dark(o.fromHtml("#f0621e"), 10), i.hotForeColor = o.fromHtml("#fbffff"), i.hotGlyphColor = o.fromHtml("#fbffff"), i.hotSelectedBackColor = n.light(o.fromHtml("#f0621e"), 50), i.hotSelectedForeColor = o.fromHtml("#fbffff"), i.hotSelectedGlyphColor = o.fromHtml("#fbffff"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return a.get("PropertyColor", "DarkTurquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiControlElementStyle); i.StiDarkTurquoiseControlElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColorUtils , o = t.Base.Localization.StiLocalization , a = t.System.Drawing.ColorTranslator , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiGreenDashboardControlStyle, i.ident = r.StiElementStyleIdent.Green, i.selectedBackColor = a.fromHtml("#70ad47"), i.hotSelectedBackColor = n.light(a.fromHtml("#70ad47"), 30), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "Green") }, enumerable: !0, configurable: !0 }), i }(i.StiControlElementStyle); i.StiGreenControlElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColorUtils , o = t.Base.Localization.StiLocalization , a = t.System.Drawing.ColorTranslator , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiOrangeDashboardControlStyle, i.ident = r.StiElementStyleIdent.Orange, i.selectedBackColor = a.fromHtml("#ed7d31"), i.hotSelectedBackColor = n.light(a.fromHtml("#ed7d31"), 30), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "Orange") }, enumerable: !0, configurable: !0 }), i }(i.StiControlElementStyle); i.StiOrangeControlElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColorUtils , o = t.Base.Drawing.StiColor , a = t.Base.Localization.StiLocalization , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSilverDashboardControlStyle, i.ident = r.StiElementStyleIdent.Silver, i.backColor = o.get("6d7e8b"), i.foreColor = o.get("e9f5fc"), i.glyphColor = o.get("e9f5fc"), i.separatorColor = o.get("e9f5fc"), i.selectedBackColor = o.get("3a5263"), i.selectedForeColor = o.get("e9f5fc"), i.selectedGlyphColor = o.get("e9f5fc"), i.hotBackColor = n.light(o.get("3a5263"), 60), i.hotForeColor = o.get("e9f5fc"), i.hotGlyphColor = o.get("e9f5fc"), i.hotSelectedBackColor = n.light(o.get("3a5263"), 30), i.hotSelectedForeColor = n.light(o.get("e9f5fc"), 30), i.hotSelectedGlyphColor = n.light(o.get("e9f5fc"), 30), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return a.get("PropertyColor", "Silver") }, enumerable: !0, configurable: !0 }), i }(i.StiControlElementStyle); i.StiSilverControlElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColorUtils , o = t.Base.Localization.StiLocalization , a = t.System.Drawing.ColorTranslator , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSlateGrayDashboardControlStyle, i.ident = r.StiElementStyleIdent.SlateGray, i.backColor = a.fromHtml("#33475b"), i.foreColor = a.fromHtml("#ddd"), i.selectedBackColor = n.light(a.fromHtml("#33475b"), 20), i.selectedForeColor = a.fromHtml("#eee"), i.glyphColor = a.fromHtml("#ddd"), i.separatorColor = a.fromHtml("#c0c0c0"), i.selectedGlyphColor = a.fromHtml("#eee"), i.hotBackColor = n.dark(a.fromHtml("#33475b"), 10), i.hotForeColor = a.fromHtml("#eee"), i.hotGlyphColor = a.fromHtml("#eee"), i.hotSelectedBackColor = n.light(a.fromHtml("#33475b"), 50), i.hotSelectedForeColor = a.fromHtml("#eee"), i.hotSelectedGlyphColor = a.fromHtml("#ddd"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "SlateGray") }, enumerable: !0, configurable: !0 }), i }(i.StiControlElementStyle); i.StiSlateGrayControlElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColorUtils , o = t.Base.Localization.StiLocalization , a = t.System.Drawing.ColorTranslator , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiTurquoiseDashboardControlStyle, i.ident = r.StiElementStyleIdent.Turquoise, i.selectedBackColor = a.fromHtml("#2ec6c8"), i.hotSelectedBackColor = n.light(a.fromHtml("#2ec6c8"), 30), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "Turquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiControlElementStyle); i.StiTurquoiseControlElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Color , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.backColor = r.white, e } return __extends(e, t), Object.defineProperty(e.prototype, "borderColor", { get: function() { return this.titleBackColor }, enumerable: !0, configurable: !0 }), e.prototype.drawStyleForGallery = function(t, e) {} , e }(e.StiElementStyle); e.StiDashboardStyle = i }(r = e.Styles || (e.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.Base.Drawing.StiColor , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiAliceBlueDashboardPageStyle, i.ident = r.StiElementStyleIdent.AliceBlue, i.borderColor = o.get("40568d"), i.foreColor = o.get("3a3a3a"), i.backColor = o.get("f2f5fc"), i.titleBackColor = o.get("40568d"), i.titleForeColor = o.get("ffffff"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "AliceBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiDashboardStyle); i.StiAliceBlueDashboardStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.Color , a = t.System.Drawing.ColorTranslator , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiBlueDashboardPageStyle, i.ident = r.StiElementStyleIdent.Blue, i.foreColor = a.fromHtml("#3498db"), i.backColor = o.white, i.titleBackColor = a.fromHtml("#3498db"), i.titleForeColor = o.white, i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Blue") }, enumerable: !0, configurable: !0 }), i }(i.StiDashboardStyle); i.StiBlueDashboardStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkBlueDashboardPageStyle, i.ident = r.StiElementStyleIdent.DarkBlue, i.foreColor = o.fromHtml("#dddddd"), i.backColor = o.fromHtml("#1f4265"), i.titleBackColor = o.fromHtml("#0a325a"), i.titleForeColor = o.fromHtml("#dddddd"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "DarkBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiDashboardStyle); i.StiDarkBlueDashboardStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.Drawing.Color , o = t.System.Drawing.ColorTranslator , a = t.Base.Localization.StiLocalization , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkGrayDashboardPageStyle, i.ident = r.StiElementStyleIdent.DarkGray, i.foreColor = o.fromHtml("#f1f1f1"), i.backColor = o.fromHtml("#595b65"), i.titleForeColor = o.fromHtml("#4a4c55"), i.titleBackColor = o.fromHtml("#db7b46"), i.borderColor = n.transparent, i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return a.get("PropertyColor", "DarkGray") }, enumerable: !0, configurable: !0 }), i }(i.StiDashboardStyle); i.StiDarkGrayDashboardStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.Drawing.ColorTranslator , o = t.Base.Localization.StiLocalization , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkTurquoiseDashboardPageStyle, i.ident = r.StiElementStyleIdent.DarkTurquoise, i.foreColor = n.fromHtml("#f4fcff"), i.backColor = n.fromHtml("#2c8590"), i.titleForeColor = n.fromHtml("#f4fcff"), i.titleBackColor = n.fromHtml("#216275"), i.borderColor = n.fromHtml("#1c475c"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "DarkTurquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiDashboardStyle); i.StiDarkTurquoiseDashboardStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.Color , a = t.System.Drawing.ColorTranslator , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiGreenDashboardPageStyle, i.ident = r.StiElementStyleIdent.Green, i.foreColor = a.fromHtml("#70ad47"), i.backColor = o.white, i.titleBackColor = a.fromHtml("#70ad47"), i.titleForeColor = o.white, i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Green") }, enumerable: !0, configurable: !0 }), i }(i.StiDashboardStyle); i.StiGreenDashboardStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.Color , a = t.System.Drawing.ColorTranslator , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiOrangeDashboardPageStyle, i.ident = r.StiElementStyleIdent.Orange, i.foreColor = a.fromHtml("#ed7d31"), i.backColor = o.white, i.titleBackColor = a.fromHtml("#ed7d31"), i.titleForeColor = o.white, i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Orange") }, enumerable: !0, configurable: !0 }), i }(i.StiDashboardStyle); i.StiOrangeDashboardStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.Base.Drawing.StiColor , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSilverDashboardPageStyle, i.ident = r.StiElementStyleIdent.Silver, i.borderColor = o.get("3a5263"), i.foreColor = o.get("3a5263"), i.backColor = o.get("e9f5fc"), i.titleBackColor = o.get("3a5263"), i.titleForeColor = o.get("e9f5fc"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Silver") }, enumerable: !0, configurable: !0 }), i }(i.StiDashboardStyle); i.StiSilverDashboardStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.Color , a = t.System.Drawing.ColorTranslator , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSlateGrayDashboardPageStyle, i.ident = r.StiElementStyleIdent.SlateGray, i.foreColor = o.white, i.backColor = a.fromHtml("#708090"), i.titleBackColor = a.fromHtml("#475b6f"), i.titleForeColor = o.white, i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "SlateGray") }, enumerable: !0, configurable: !0 }), i }(i.StiDashboardStyle); i.StiSlateGrayDashboardStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.Color , a = t.System.Drawing.ColorTranslator , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiTurquoiseDashboardPageStyle, i.ident = r.StiElementStyleIdent.Turquoise, i.foreColor = a.fromHtml("#2ec6c8"), i.backColor = o.white, i.titleBackColor = a.fromHtml("#2ec6c8"), i.titleForeColor = o.white, i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Turquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiDashboardStyle); i.StiTurquoiseDashboardStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Color , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.backColor = r.white, e.foreColor = r.white, e.hotBackColor = r.white, e.positiveColor = r.green, e.negativeColor = r.red, e } return __extends(e, t), e }(e.StiElementStyle); e.StiIndicatorElementStyle = i }(r = e.Styles || (e.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.Base.Drawing.StiColor , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiAliceBlueDashboardIndicatorStyle, i.ident = r.StiElementStyleIdent.AliceBlue, i.glyphColor = o.get("40568d"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "AliceBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiIndicatorElementStyle); i.StiAliceBlueIndicatorElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiBlueDashboardIndicatorStyle, i.ident = r.StiElementStyleIdent.Blue, i.glyphColor = o.fromHtml("#3498db"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Blue") }, enumerable: !0, configurable: !0 }), i }(i.StiIndicatorElementStyle); i.StiBlueIndicatorElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(r) { var i = function(r) { function i(i) { var n = r.call(this) || this; return n.componentId = e.StiComponentId.StiCustomDashboardIndicatorStyle, n.ident = t.Report.Dashboard.StiElementStyleIdent.Custom, n.name = i.name, n.glyphColor = i.glyphColor, n.foreColor = i.foreColor, n.backColor = i.backColor, n.hotBackColor = i.hotBackColor, n.positiveColor = i.positiveColor, n.negativeColor = i.negativeColor, n } return __extends(i, r), Object.defineProperty(i.prototype, "localizedName", { get: function() { return this.name }, enumerable: !0, configurable: !0 }), i }(r.StiIndicatorElementStyle); r.StiCustomIndicatorElementStyle = i }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkBlueDashboardIndicatorStyle, i.ident = r.StiElementStyleIdent.DarkBlue, i.glyphColor = o.fromHtml("#165d9e"), i.backColor = o.fromHtml("#0a325a"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "DarkBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiIndicatorElementStyle); i.StiDarkBlueIndicatorElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColor , o = t.Base.Localization.StiLocalization , a = t.System.Drawing.Color , s = t.System.Drawing.ColorTranslator , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkGrayDashboardIndicatorStyle, i.ident = r.StiElementStyleIdent.DarkGray, i.glyphColor = s.fromHtml("#db7b46"), i.backColor = s.fromHtml("#595b65"), i.positiveColor = a.limeGreen, i.negativeColor = n.get("dd5555"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "DarkGray") }, enumerable: !0, configurable: !0 }), i }(i.StiIndicatorElementStyle); i.StiDarkGrayIndicatorElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColor , o = t.System.Drawing.Color , a = t.System.Drawing.ColorTranslator , s = t.Base.Localization.StiLocalization , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkTurquoiseDashboardIndicatorStyle, i.ident = r.StiElementStyleIdent.DarkTurquoise, i.glyphColor = a.fromHtml("#f0621e"), i.backColor = a.fromHtml("#235e6d"), i.positiveColor = o.limeGreen, i.negativeColor = n.get("dd5555"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return s.get("PropertyColor", "DarkTurquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiIndicatorElementStyle); i.StiDarkTurquoiseIndicatorElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiGreenDashboardIndicatorStyle, i.ident = r.StiElementStyleIdent.Green, i.glyphColor = o.fromHtml("#70ad47"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Green") }, enumerable: !0, configurable: !0 }), i }(i.StiIndicatorElementStyle); i.StiGreenIndicatorElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiOrangeDashboardIndicatorStyle, i.ident = r.StiElementStyleIdent.Orange, i.glyphColor = o.fromHtml("#ed7d31"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Orange") }, enumerable: !0, configurable: !0 }), i }(i.StiIndicatorElementStyle); i.StiOrangeIndicatorElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.Base.Drawing.StiColor , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSilverDashboardIndicatorStyle, i.ident = r.StiElementStyleIdent.Silver, i.glyphColor = o.get("3a5263"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Silver") }, enumerable: !0, configurable: !0 }), i }(i.StiIndicatorElementStyle); i.StiSilverIndicatorElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSlateGrayDashboardIndicatorStyle, i.ident = r.StiElementStyleIdent.SlateGray, i.glyphColor = o.fromHtml("#0bac45"), i.backColor = o.fromHtml("#33475b"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "SlateGray") }, enumerable: !0, configurable: !0 }), i }(i.StiIndicatorElementStyle); i.StiSlateGrayIndicatorElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiTurquoiseDashboardIndicatorStyle, i.ident = r.StiElementStyleIdent.Turquoise, i.glyphColor = o.fromHtml("#2ec6c8"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Turquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiIndicatorElementStyle); i.StiTurquoiseIndicatorElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.ColorTranslator , i = t.System.Drawing.Color , n = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.cellForeColor = r.fromHtml("#222"), e.selectedCellForeColor = r.fromHtml("#222"), e.alternatingCellForeColor = r.fromHtml("#222"), e.columnHeaderForeColor = i.white, e.rowHeaderForeColor = i.white, e.lineColor = i.gainsboro, e.backColor = i.white, e } return __extends(e, t), e }(e.StiElementStyle); e.StiPivotElementStyle = n }(r = e.Styles || (e.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.Base.Drawing.StiColor , a = t.Base.Drawing.StiColorUtils , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiAliceBlueDashboardPivotStyle, i.ident = r.StiElementStyleIdent.AliceBlue, i.cellBackColor = o.get("#f2f5fc"), i.cellForeColor = o.get("#1e1e1e"), i.alternatingCellBackColor = o.get("#ccd5f0"), i.alternatingCellForeColor = o.get("#1e1e1e"), i.selectedCellBackColor = o.get("f5cc84"), i.selectedCellForeColor = o.get("1e1e1e"), i.columnHeaderBackColor = o.get("#5d6b99"), i.columnHeaderForeColor = o.get("#e4ffff"), i.rowHeaderBackColor = o.get("#5d6b99"), i.rowHeaderForeColor = o.get("#e4ffff"), i.hotColumnHeaderBackColor = a.light(o.get("#5d6b99"), 30), i.hotRowHeaderBackColor = a.light(o.get("#5d6b99"), 30), i.lineColor = o.get("c0cae9"), i.backColor = o.get("#595b65"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "AliceBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiPivotElementStyle); i.StiAliceBluePivotElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = t.System.Drawing.Color , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiBlueDashboardPivotStyle, i.ident = r.StiElementStyleIdent.Blue, i.cellBackColor = s.white, i.alternatingCellBackColor = o.fromHtml("#eee"), i.selectedCellBackColor = a.light(o.fromHtml("#3498db"), 30), i.selectedCellForeColor = s.white, i.columnHeaderBackColor = o.fromHtml("#3498db"), i.columnHeaderForeColor = o.fromHtml("#fff"), i.rowHeaderBackColor = o.fromHtml("#3498db"), i.rowHeaderForeColor = o.fromHtml("#eee"), i.hotColumnHeaderBackColor = a.dark(o.fromHtml("#3498db"), 30), i.hotRowHeaderBackColor = a.dark(o.fromHtml("#3498db"), 30), i.cellForeColor = o.fromHtml("#323a45"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Blue") }, enumerable: !0, configurable: !0 }), i }(i.StiPivotElementStyle); i.StiBluePivotElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(r) { var i = function(r) { function i(i) { var n = r.call(this) || this; return n.componentId = t.StiComponentId.StiCustomDashboardPivotStyle, n.ident = e.StiElementStyleIdent.Custom, n.name2 = i.name, n.backColor = i.backColor, n.alternatingCellForeColor = i.alternatingCellForeColor, n.alternatingCellBackColor = i.alternatingCellBackColor, n.cellBackColor = i.cellBackColor, n.cellForeColor = i.cellForeColor, n.columnHeaderBackColor = i.columnHeaderBackColor, n.columnHeaderForeColor = i.columnHeaderForeColor, n.hotColumnHeaderBackColor = i.hotColumnHeaderBackColor, n.hotRowHeaderBackColor = i.hotRowHeaderBackColor, n.rowHeaderBackColor = i.rowHeaderBackColor, n.rowHeaderForeColor = i.rowHeaderForeColor, n.selectedCellBackColor = i.selectedCellBackColor, n.selectedCellForeColor = i.selectedCellForeColor, n.lineColor = i.lineColor, n } return __extends(i, r), Object.defineProperty(i.prototype, "localizedName", { get: function() { return this.name2 }, enumerable: !0, configurable: !0 }), i }(r.StiPivotElementStyle); r.StiCustomPivotElementStyle = i }(r = e.Styles || (e.Styles = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkBlueDashboardPivotStyle, i.ident = r.StiElementStyleIdent.DarkBlue, i.cellBackColor = o.fromHtml("#1f4265"), i.cellForeColor = o.fromHtml("#ddd"), i.alternatingCellBackColor = o.fromHtml("#0a325a"), i.alternatingCellForeColor = o.fromHtml("#ddd"), i.selectedCellBackColor = a.light(o.fromHtml("#0a325a"), 50), i.selectedCellForeColor = o.fromHtml("#eee"), i.columnHeaderBackColor = o.fromHtml("#0a325a"), i.columnHeaderForeColor = o.fromHtml("#ddd"), i.rowHeaderBackColor = o.fromHtml("#0a325a"), i.rowHeaderForeColor = o.fromHtml("#ddd"), i.hotColumnHeaderBackColor = a.light(o.fromHtml("#0a325a"), 20), i.hotRowHeaderBackColor = a.light(o.fromHtml("#0a325a"), 20), i.lineColor = o.fromHtml("#758696"), i.backColor = o.fromHtml("#0a325a"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "DarkBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiPivotElementStyle); i.StiDarkBluePivotElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColorUtils , o = t.System.Drawing.ColorTranslator , a = t.Base.Localization.StiLocalization , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkGrayDashboardPivotStyle, i.ident = r.StiElementStyleIdent.DarkGray, i.cellBackColor = o.fromHtml("#595b65"), i.cellForeColor = o.fromHtml("#ddd"), i.alternatingCellBackColor = o.fromHtml("#6b6e75"), i.alternatingCellForeColor = o.fromHtml("#ddd"), i.selectedCellBackColor = o.fromHtml("#db7b46"), i.selectedCellForeColor = o.fromHtml("#eee"), i.columnHeaderBackColor = o.fromHtml("#6b6e75"), i.columnHeaderForeColor = o.fromHtml("#ddd"), i.rowHeaderBackColor = o.fromHtml("#6b6e75"), i.rowHeaderForeColor = o.fromHtml("#ddd"), i.hotColumnHeaderBackColor = n.light(o.fromHtml("#db7b46"), 30), i.hotRowHeaderBackColor = n.light(o.fromHtml("#db7b46"), 30), i.lineColor = o.fromHtml("#66d3d3d5"), i.backColor = o.fromHtml("#595b65"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return a.get("PropertyColor", "DarkGray") }, enumerable: !0, configurable: !0 }), i }(i.StiPivotElementStyle); i.StiDarkGrayPivotElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.Drawing.ColorTranslator , o = t.Base.Localization.StiLocalization , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkTurquoiseDashboardPivotStyle, i.ident = r.StiElementStyleIdent.DarkTurquoise, i.cellBackColor = n.fromHtml("#235e6d"), i.cellForeColor = n.fromHtml("#fefdff"), i.alternatingCellBackColor = n.fromHtml("#215667"), i.alternatingCellForeColor = n.fromHtml("#fefdff"), i.selectedCellBackColor = n.fromHtml("#f0621e"), i.selectedCellForeColor = n.fromHtml("#1c445b"), i.columnHeaderBackColor = n.fromHtml("#2a7f9e"), i.columnHeaderForeColor = n.fromHtml("#fefdff"), i.rowHeaderBackColor = n.fromHtml("#2a7f9e"), i.rowHeaderForeColor = n.fromHtml("#fefdff"), i.hotColumnHeaderBackColor = n.fromHtml("#f0621e"), i.hotRowHeaderBackColor = n.fromHtml("#f0621e"), i.lineColor = n.fromHtml("#5da0b7"), i.backColor = n.fromHtml("#235e6d"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "DarkTurquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiPivotElementStyle); i.StiDarkTurquoisePivotElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = t.System.Drawing.Color , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiGreenDashboardPivotStyle, i.ident = r.StiElementStyleIdent.Green, i.cellBackColor = s.white, i.alternatingCellBackColor = o.fromHtml("#eee"), i.selectedCellBackColor = a.light(o.fromHtml("#70ad47"), 30), i.selectedCellForeColor = s.white, i.columnHeaderBackColor = o.fromHtml("#70ad47"), i.rowHeaderBackColor = o.fromHtml("#70ad47"), i.hotColumnHeaderBackColor = a.light(o.fromHtml("#70ad47"), 20), i.hotRowHeaderBackColor = a.light(o.fromHtml("#70ad47"), 20), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Green") }, enumerable: !0, configurable: !0 }), i }(i.StiPivotElementStyle); i.StiGreenPivotElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = t.System.Drawing.Color , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiOrangeDashboardPivotStyle, i.ident = r.StiElementStyleIdent.Orange, i.cellBackColor = s.white, i.alternatingCellBackColor = o.fromHtml("#eee"), i.selectedCellBackColor = a.light(o.fromHtml("#ed7d31"), 30), i.selectedCellForeColor = s.white, i.columnHeaderBackColor = o.fromHtml("#ed7d31"), i.rowHeaderBackColor = o.fromHtml("#ed7d31"), i.hotColumnHeaderBackColor = a.light(o.fromHtml("#ed7d31"), 20), i.hotRowHeaderBackColor = a.light(o.fromHtml("#ed7d31"), 20), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Orange") }, enumerable: !0, configurable: !0 }), i }(i.StiPivotElementStyle); i.StiOrangePivotElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.Base.Drawing.StiColor , a = t.Base.Drawing.StiColorUtils , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSilverDashboardPivotStyle, i.ident = r.StiElementStyleIdent.Silver, i.cellBackColor = o.get("#6d7e8b"), i.cellForeColor = o.get("#e9f5fc"), i.alternatingCellBackColor = o.get("#3a5263"), i.alternatingCellForeColor = o.get("#e9f5fc"), i.selectedCellBackColor = o.get("e9f5fc"), i.selectedCellForeColor = o.get("3a5263"), i.columnHeaderBackColor = o.get("#3a5263"), i.columnHeaderForeColor = o.get("#e9f5fc"), i.rowHeaderBackColor = o.get("#3a5263"), i.rowHeaderForeColor = o.get("#e9f5fc"), i.hotColumnHeaderBackColor = a.light(o.get("#6d7e8b"), 30), i.hotRowHeaderBackColor = a.light(o.get("#6d7e8b"), 30), i.lineColor = o.get("66e9f5fc"), i.backColor = o.get("#595b65"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Silver") }, enumerable: !0, configurable: !0 }), i }(i.StiPivotElementStyle); i.StiSilverPivotElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSlateGrayDashboardPivotStyle, i.ident = r.StiElementStyleIdent.SlateGray, i.cellBackColor = o.fromHtml("#475b6f"), i.cellForeColor = o.fromHtml("#ddd"), i.alternatingCellBackColor = o.fromHtml("#33475b"), i.alternatingCellForeColor = o.fromHtml("#ddd"), i.selectedCellBackColor = a.light(o.fromHtml("#33475b"), 50), i.selectedCellForeColor = o.fromHtml("#eee"), i.columnHeaderBackColor = o.fromHtml("#33475b"), i.columnHeaderForeColor = o.fromHtml("#ddd"), i.rowHeaderBackColor = o.fromHtml("#33475b"), i.rowHeaderForeColor = o.fromHtml("#ddd"), i.hotColumnHeaderBackColor = a.light(o.fromHtml("#33475b"), 20), i.hotRowHeaderBackColor = a.light(o.fromHtml("#33475b"), 20), i.lineColor = o.fromHtml("#c0c0c0"), i.backColor = o.fromHtml("#33475b"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "SlateGray") }, enumerable: !0, configurable: !0 }), i }(i.StiPivotElementStyle); i.StiSlateGrayPivotElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = t.System.Drawing.Color , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiTurquoiseDashboardPivotStyle, i.ident = r.StiElementStyleIdent.Turquoise, i.cellBackColor = s.white, i.alternatingCellBackColor = o.fromHtml("#eee"), i.selectedCellBackColor = a.light(o.fromHtml("#2ec6c8"), 30), i.selectedCellForeColor = s.white, i.columnHeaderBackColor = o.fromHtml("#2ec6c8"), i.rowHeaderBackColor = o.fromHtml("#2ec6c8"), i.hotColumnHeaderBackColor = a.light(o.fromHtml("#2ec6c8"), 20), i.hotRowHeaderBackColor = a.light(o.fromHtml("#2ec6c8"), 20), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Turquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiPivotElementStyle); i.StiTurquoisePivotElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Color , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.foreColor = r.transparent, e.backColor = r.white, e } return __extends(e, t), e }(e.StiElementStyle); e.StiProgressElementStyle = i }(r = e.Styles || (e.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.Base.Drawing.StiColor , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiAliceBlueDashboardProgressStyle, i.ident = r.StiElementStyleIdent.AliceBlue, i.foreColor = o.get("e9f5fc"), i.trackColor = o.get("3a5263"), i.bandColor = o.get("e9f5fc"), i.seriesColors = [o.get("4569bb"), o.get("e47334"), o.get("9d9c9c"), o.get("f8b92d"), o.get("5e93cc"), o.get("6ea548")], i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "AliceBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiProgressElementStyle); i.StiAliceBlueProgressElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiBlueDashboardProgressStyle, i.ident = r.StiElementStyleIdent.Blue, i.trackColor = o.fromHtml("#e7ebec"), i.bandColor = o.fromHtml("#3498db"), i.seriesColors = [o.fromHtml("#3498db"), o.fromHtml("#ef717a"), o.fromHtml("#6dcbb3"), o.fromHtml("#f28161"), o.fromHtml("#fccd1b")], i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Blue") }, enumerable: !0, configurable: !0 }), i }(i.StiProgressElementStyle); i.StiBlueProgressElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(r) { var i = function(r) { function i(i) { var n = r.call(this) || this; return n.componentId = e.StiComponentId.StiCustomDashboardProgressStyle, n.ident = t.Report.Dashboard.StiElementStyleIdent.Custom, n.name = i.name, n.trackColor = i.trackColor, n.bandColor = i.bandColor, n.seriesColors = i.seriesColors, n.foreColor = i.foreColor, n.backColor = i.backColor, n } return __extends(i, r), Object.defineProperty(i.prototype, "localizedName", { get: function() { return this.name }, enumerable: !0, configurable: !0 }), i }(r.StiProgressElementStyle); r.StiCustomProgressElementStyle = i }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkBlueDashboardProgressStyle, i.ident = r.StiElementStyleIdent.DarkBlue, i.trackColor = o.fromHtml("#1f4265"), i.bandColor = o.fromHtml("#165d9e"), i.seriesColors = [o.fromHtml("#165d9e"), o.fromHtml("#577eb6"), o.fromHtml("#569436"), o.fromHtml("#225056"), o.fromHtml("#d4dae0")], i.backColor = o.fromHtml("#0a325a"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "DarkBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiProgressElementStyle); i.StiDarkBlueProgressElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.Drawing.ColorTranslator , o = t.Base.Localization.StiLocalization , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkGrayDashboardProgressStyle, i.ident = r.StiElementStyleIdent.DarkGray, i.trackColor = n.fromHtml("#4a4c55"), i.bandColor = n.fromHtml("#6b6e75"), i.seriesColors = [n.fromHtml("#db7b46"), n.fromHtml("#d3d3d5"), n.fromHtml("#6b6e75"), n.fromHtml("#4a4c55")], i.backColor = n.fromHtml("#595b65"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "DarkGray") }, enumerable: !0, configurable: !0 }), i }(i.StiProgressElementStyle); i.StiDarkGrayProgressElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.Drawing.ColorTranslator , o = t.Base.Localization.StiLocalization , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkTurquoiseDashboardProgressStyle, i.ident = r.StiElementStyleIdent.DarkTurquoise, i.trackColor = n.fromHtml("#1c445b"), i.bandColor = n.fromHtml("#f0621e"), i.seriesColors = [n.fromHtml("#99a8d7e2"), n.fromHtml("#995ea8bf"), n.fromHtml("#992b7f9e")], i.backColor = n.fromHtml("#235e6d"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "DarkTurquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiProgressElementStyle); i.StiDarkTurquoiseProgressElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.Drawing.ColorTranslator , o = t.Base.Localization.StiLocalization , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiGreenDashboardProgressStyle, i.ident = r.StiElementStyleIdent.Green, i.trackColor = n.fromHtml("#e6e6e6"), i.bandColor = n.fromHtml("#70ad47"), i.seriesColors = [n.fromHtml("#70ad47"), n.fromHtml("#4472c4"), n.fromHtml("#ffc000"), n.fromHtml("#43682b"), n.fromHtml("#fd6a37"), n.fromHtml("#997300")], i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return o.get("PropertyColor", "Green") }, enumerable: !0, configurable: !0 }), i }(i.StiProgressElementStyle); i.StiGreenProgressElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiOrangeDashboardProgressStyle, i.ident = r.StiElementStyleIdent.Orange, i.trackColor = o.fromHtml("#e6e6e6"), i.bandColor = o.fromHtml("#ed7d31"), i.seriesColors = [o.fromHtml("#ed7d31"), o.fromHtml("#ffc000"), o.fromHtml("#70ad47"), o.fromHtml("#9e480e"), o.fromHtml("#997300"), o.fromHtml("#43682b")], i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Orange") }, enumerable: !0, configurable: !0 }), i }(i.StiProgressElementStyle); i.StiOrangeProgressElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.Base.Drawing.StiColor , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSilverDashboardProgressStyle, i.ident = r.StiElementStyleIdent.Silver, i.trackColor = o.get("3a5263"), i.bandColor = o.get("e9f5fc"), i.seriesColors = [o.get("73829a"), o.get("343c49"), o.get("4f737a"), o.get("cfd3dd")], i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Silver") }, enumerable: !0, configurable: !0 }), i }(i.StiProgressElementStyle); i.StiSilverProgressElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSlateGrayDashboardProgressStyle, i.ident = r.StiElementStyleIdent.SlateGray, i.trackColor = o.fromHtml("#3b4d5f"), i.bandColor = o.fromHtml("#0BAC45"), i.seriesColors = [o.fromHtml("#0bac45"), o.fromHtml("#ec334d"), o.fromHtml("#a1ae94"), o.fromHtml("#ed7d31"), o.fromHtml("#5ab0ee"), o.fromHtml("#3dde77")], i.backColor = o.fromHtml("#33475b"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "SlateGray") }, enumerable: !0, configurable: !0 }), i }(i.StiProgressElementStyle); i.StiSlateGrayProgressElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiTurquoiseDashboardProgressStyle, i.ident = r.StiElementStyleIdent.Turquoise, i.trackColor = o.fromHtml("#e6e6e6"), i.bandColor = o.fromHtml("#2ec6c8"), i.seriesColors = [o.fromHtml("#2ec6c8"), o.fromHtml("#b5a1dd"), o.fromHtml("#5ab0ee"), o.fromHtml("#f4984e"), o.fromHtml("#d77a80"), o.fromHtml("#d04456")], i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Turquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiProgressElementStyle); i.StiTurquoiseProgressElementStyle = a }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.ColorTranslator , i = t.System.Drawing.Color , n = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.cellForeColor = r.fromHtml("#222"), e.selectedCellBackColor = r.fromHtml("#3498db"), e.selectedCellForeColor = i.white, e.alternatingCellForeColor = r.fromHtml("#222"), e.headerForeColor = i.white, e.lineColor = i.gainsboro, e.footerColor = i.white, e.footerForeground = i.black, e.backColor = i.white, e.cellDataBarsOverlapped = i.fromArgb(255, 51, 94, 150), e.cellDataBarsPositive = i.fromArgb(255, 99, 142, 198), e.cellDataBarsNegative = i.fromArgb(255, 255, 0, 0), e.cellWinLossPositive = i.fromArgb(255, 99, 142, 198), e.cellWinLossNegative = i.fromArgb(255, 255, 0, 0), e.cellSparkline = i.fromArgb(255, 83, 126, 182), e.cellIndicatorPositive = i.green, e.cellIndicatorNegative = i.red, e.cellIndicatorNeutral = i.lightGray, e } return __extends(e, t), e }(e.StiElementStyle); e.StiTableElementStyle = n }(r = e.Styles || (e.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.Base.Drawing.StiColor , a = t.Base.Drawing.StiColorUtils , s = t.System.Drawing.Color , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiAliceBlueDashboardTableStyle, i.ident = r.StiElementStyleIdent.AliceBlue, i.cellBackColor = o.get("#f2f5fc"), i.cellForeColor = o.get("#1e1e1e"), i.alternatingCellBackColor = o.get("#ccd5f0"), i.alternatingCellForeColor = o.get("#1e1e1e"), i.headerBackColor = o.get("#5d6b99"), i.headerForeColor = o.get("#e4ffff"), i.footerColor = o.get("#5d6b99"), i.footerForeground = o.get("#e4ffff"), i.selectedCellBackColor = o.get("f5cc84"), i.selectedCellForeColor = o.get("1e1e1e"), i.hotHeaderBackColor = a.light(o.get("#5d6b99"), 30), i.lineColor = o.get("c0cae9"), i.backColor = o.get("#595b65"), i.cellDataBarsOverlapped = o.get("40568d"), i.cellDataBarsPositive = o.get("40568d"), i.cellDataBarsNegative = o.get("d43642"), i.cellWinLossPositive = o.get("40568d"), i.cellSparkline = o.get("273946"), i.cellIndicatorPositive = s.limeGreen, i.cellIndicatorNegative = o.get("dd5555"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "AliceBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiTableElementStyle); i.StiAliceBlueTableElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.System.Drawing.Color , s = t.Base.Drawing.StiColorUtils , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiBlueDashboardTableStyle, i.ident = r.StiElementStyleIdent.Blue, i.cellBackColor = a.white, i.alternatingCellBackColor = o.fromHtml("#eee"), i.headerBackColor = o.fromHtml("#3498db"), i.headerForeColor = a.white, i.footerColor = o.fromHtml("#3498db"), i.footerForeground = a.white, i.cellForeColor = o.fromHtml("#323a45"), i.selectedCellBackColor = s.light(o.fromHtml("#3498db"), 30), i.selectedCellForeColor = a.white, i.hotHeaderBackColor = s.dark(o.fromHtml("#3498db"), 20), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Blue") }, enumerable: !0, configurable: !0 }), i }(i.StiTableElementStyle); i.StiBlueTableElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(r) { var i = function(r) { function i(i) { var n = r.call(this) || this; return n.componentId = t.StiComponentId.StiBlueDashboardTableStyle, n.ident = e.StiElementStyleIdent.Blue, n.name2 = i.name, n.alternatingCellBackColor = i.alternatingDataColor, n.alternatingCellForeColor = i.alternatingDataForeground, n.cellBackColor = i.dataColor, n.cellForeColor = i.dataForeground, n.lineColor = i.gridColor, n.headerBackColor = i.headerColor, n.headerForeColor = i.headerForeground, n.hotHeaderBackColor = i.hotHeaderColor, n.selectedCellBackColor = i.selectedDataColor, n.selectedCellForeColor = i.selectedDataForeground, n.footerColor = i.footerColor, n.footerForeground = i.footerForeground, n } return __extends(i, r), Object.defineProperty(i.prototype, "localizedName", { get: function() { return this.name2 }, enumerable: !0, configurable: !0 }), i }(r.StiTableElementStyle); r.StiCustomTableElementStyle = i }(r = e.Styles || (e.Styles = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkBlueDashboardTableStyle, i.ident = r.StiElementStyleIdent.DarkBlue, i.cellBackColor = o.fromHtml("#1f4265"), i.cellForeColor = o.fromHtml("#ddd"), i.alternatingCellBackColor = o.fromHtml("#0a325a"), i.alternatingCellForeColor = o.fromHtml("#ddd"), i.headerBackColor = o.fromHtml("#0a325a"), i.headerForeColor = o.fromHtml("#ddd"), i.footerColor = o.fromHtml("#0a325a"), i.footerForeground = o.fromHtml("#ddd"), i.selectedCellBackColor = a.light(o.fromHtml("#0a325a"), 50), i.selectedCellForeColor = o.fromHtml("#eee"), i.hotHeaderBackColor = a.light(o.fromHtml("#0a325a"), 30), i.lineColor = o.fromHtml("#758696"), i.backColor = o.fromHtml("#0a325a"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "DarkBlue") }, enumerable: !0, configurable: !0 }), i }(i.StiTableElementStyle); i.StiDarkBlueTableElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Drawing.StiColorUtils , o = t.System.Drawing.ColorTranslator , a = t.System.Drawing.Color , s = t.Base.Drawing.StiColor , l = t.Base.Localization.StiLocalization , u = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkGrayDashboardTableStyle, i.ident = r.StiElementStyleIdent.DarkGray, i.cellBackColor = o.fromHtml("#595b65"), i.cellForeColor = o.fromHtml("#ddd"), i.alternatingCellBackColor = o.fromHtml("#6b6e75"), i.alternatingCellForeColor = o.fromHtml("#ddd"), i.headerBackColor = o.fromHtml("#6b6e75"), i.headerForeColor = o.fromHtml("#ddd"), i.footerColor = o.fromHtml("#6b6e75"), i.footerForeground = o.fromHtml("#ddd"), i.selectedCellBackColor = o.fromHtml("#db7b46"), i.selectedCellForeColor = o.fromHtml("#eee"), i.hotHeaderBackColor = n.light(o.fromHtml("#db7b46"), 30), i.lineColor = o.fromHtml("#66d3d3d5"), i.backColor = o.fromHtml("#595b65"), i.cellDataBarsOverlapped = s.get("db7b46"), i.cellDataBarsPositive = s.get("db7b46"), i.cellDataBarsNegative = s.get("dd5555"), i.cellWinLossPositive = s.get("db7b46"), i.cellSparkline = s.get("db7b46"), i.cellIndicatorPositive = a.limeGreen, i.cellIndicatorNegative = s.get("dd5555"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return l.get("PropertyColor", "DarkGray") }, enumerable: !0, configurable: !0 }), i }(i.StiTableElementStyle); i.StiDarkGrayTableElementStyle = u }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.System.Drawing.Color , s = t.Base.Drawing.StiColor , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiDarkTurquoiseDashboardTableStyle, i.ident = r.StiElementStyleIdent.DarkTurquoise, i.cellBackColor = o.fromHtml("#235e6d"), i.cellForeColor = o.fromHtml("#fefdff"), i.alternatingCellBackColor = o.fromHtml("#215667"), i.alternatingCellForeColor = o.fromHtml("#fefdff"), i.headerBackColor = o.fromHtml("#2a7f9e"), i.headerForeColor = o.fromHtml("#fefdff"), i.footerColor = o.fromHtml("#2a7f9e"), i.footerForeground = o.fromHtml("#fefdff"), i.selectedCellBackColor = o.fromHtml("#f0621e"), i.selectedCellForeColor = o.fromHtml("#1c445b"), i.hotHeaderBackColor = o.fromHtml("#f0621e"), i.lineColor = o.fromHtml("#5da0b7"), i.backColor = o.fromHtml("#235e6d"), i.cellDataBarsOverlapped = s.get("db7b46"), i.cellDataBarsPositive = s.get("5daac1"), i.cellDataBarsNegative = s.get("dd5555"), i.cellWinLossPositive = s.get("db7b46"), i.cellSparkline = s.get("db7b46"), i.cellIndicatorPositive = a.limeGreen, i.cellIndicatorNegative = s.get("dd5555"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "DarkTurquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiTableElementStyle); i.StiDarkTurquoiseTableElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = t.System.Drawing.Color , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiGreenDashboardTableStyle, i.ident = r.StiElementStyleIdent.Green, i.cellBackColor = s.white, i.alternatingCellBackColor = o.fromHtml("#eee"), i.selectedCellBackColor = a.light(o.fromHtml("#70ad47"), 30), i.headerBackColor = o.fromHtml("#70ad47"), i.hotHeaderBackColor = a.light(o.fromHtml("#70ad47"), 30), i.footerColor = o.fromHtml("#70ad47"), i.footerForeground = s.white, i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Green") }, enumerable: !0, configurable: !0 }), i }(i.StiTableElementStyle); i.StiGreenTableElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = t.System.Drawing.Color , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiOrangeDashboardTableStyle, i.ident = r.StiElementStyleIdent.Orange, i.cellBackColor = s.white, i.alternatingCellBackColor = o.fromHtml("#eee"), i.selectedCellBackColor = a.light(o.fromHtml("#ed7d31"), 30), i.headerBackColor = o.fromHtml("#ed7d31"), i.hotHeaderBackColor = a.light(o.fromHtml("#ed7d31"), 30), i.footerColor = o.fromHtml("#ed7d31"), i.footerForeground = s.white, i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Orange") }, enumerable: !0, configurable: !0 }), i }(i.StiTableElementStyle); i.StiOrangeTableElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.Base.Drawing.StiColor , a = t.Base.Drawing.StiColorUtils , s = t.System.Drawing.Color , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSilverDashboardTableStyle, i.ident = r.StiElementStyleIdent.Silver, i.cellBackColor = o.get("#6d7e8b"), i.cellForeColor = o.get("#e9f5fc"), i.alternatingCellBackColor = o.get("#3a5263"), i.alternatingCellForeColor = o.get("#e9f5fc"), i.headerBackColor = o.get("#3a5263"), i.headerForeColor = o.get("#e9f5fc"), i.footerColor = o.get("#3a5263"), i.footerForeground = o.get("#e9f5fc"), i.selectedCellBackColor = o.get("e9f5fc"), i.selectedCellForeColor = o.get("3a5263"), i.hotHeaderBackColor = a.light(o.get("#6d7e8b"), 30), i.lineColor = o.get("66e9f5fc"), i.backColor = o.get("#595b65"), i.cellDataBarsOverlapped = o.get("273946"), i.cellDataBarsPositive = o.get("273946"), i.cellDataBarsNegative = o.get("d43642"), i.cellWinLossPositive = o.get("273946"), i.cellSparkline = o.get("273946"), i.cellIndicatorPositive = s.limeGreen, i.cellIndicatorNegative = o.get("dd5555"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Silver") }, enumerable: !0, configurable: !0 }), i }(i.StiTableElementStyle); i.StiSilverTableElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiSlateGrayDashboardTableStyle, i.ident = r.StiElementStyleIdent.SlateGray, i.cellBackColor = o.fromHtml("#475b6f"), i.cellForeColor = o.fromHtml("#ddd"), i.alternatingCellBackColor = o.fromHtml("#33475b"), i.alternatingCellForeColor = o.fromHtml("#ddd"), i.headerBackColor = o.fromHtml("#33475b"), i.headerForeColor = o.fromHtml("#ddd"), i.footerColor = o.fromHtml("#33475b"), i.footerForeground = o.fromHtml("#ddd"), i.selectedCellBackColor = a.light(o.fromHtml("#33475b"), 50), i.selectedCellForeColor = o.fromHtml("#eee"), i.hotHeaderBackColor = a.light(o.fromHtml("#33475b"), 30), i.lineColor = o.fromHtml("#c0c0c0"), i.backColor = o.fromHtml("#33475b"), i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "SlateGray") }, enumerable: !0, configurable: !0 }), i }(i.StiTableElementStyle); i.StiSlateGrayTableElementStyle = s }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColorUtils , s = t.System.Drawing.Color , l = function(t) { function i() { var i = null !== t && t.apply(this, arguments) || this; return i.componentId = e.StiComponentId.StiTurquoiseDashboardTableStyle, i.ident = r.StiElementStyleIdent.Turquoise, i.cellBackColor = s.white, i.alternatingCellBackColor = o.fromHtml("#eee"), i.selectedCellBackColor = a.light(o.fromHtml("#2ec6c8"), 30), i.headerBackColor = o.fromHtml("#2ec6c8"), i.hotHeaderBackColor = a.light(o.fromHtml("#2ec6c8"), 30), i.footerColor = o.fromHtml("#2ec6c8"), i.footerForeground = s.white, i } return __extends(i, t), Object.defineProperty(i.prototype, "localizedName", { get: function() { return n.get("PropertyColor", "Turquoise") }, enumerable: !0, configurable: !0 }), i }(i.StiTableElementStyle); i.StiTurquoiseTableElementStyle = l }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Manual = 0] = "Manual", t[t.DataColumns = 1] = "DataColumns" }(e = t.StiMapSource || (t.StiMapSource = {})); var r; !function(t) { t[t.None = 1] = "None", t[t.Full = 2] = "Full", t[t.Short = 3] = "Short" }(r = t.StiDisplayNameType || (t.StiDisplayNameType = {})); var i; !function(t) { t[t.Choropleth = 0] = "Choropleth", t[t.Online = 1] = "Online" }(i = t.StiMapMode || (t.StiMapMode = {})); var n; !function(t) { t[t.World = 1] = "World", t[t.Australia = 2] = "Australia", t[t.Austria = 3] = "Austria", t[t.Brazil = 4] = "Brazil", t[t.Canada = 5] = "Canada", t[t.China = 6] = "China", t[t.ChinaWithHongKongAndMacau = 7] = "ChinaWithHongKongAndMacau", t[t.ChinaWithHongKongMacauAndTaiwan = 8] = "ChinaWithHongKongMacauAndTaiwan", t[t.Taiwan = 9] = "Taiwan", t[t.EU = 10] = "EU", t[t.Europe = 11] = "Europe", t[t.France = 12] = "France", t[t.Germany = 13] = "Germany", t[t.Italy = 14] = "Italy", t[t.Netherlands = 15] = "Netherlands", t[t.Russia = 16] = "Russia", t[t.UK = 17] = "UK", t[t.UKCountries = 18] = "UKCountries", t[t.USAAndCanada = 19] = "USAAndCanada", t[t.NorthAmerica = 20] = "NorthAmerica", t[t.SouthAmerica = 21] = "SouthAmerica", t[t.USA = 22] = "USA", t[t.Albania = 23] = "Albania", t[t.Andorra = 24] = "Andorra", t[t.Argentina = 25] = "Argentina", t[t.ArgentinaFD = 26] = "ArgentinaFD", t[t.Armenia = 27] = "Armenia", t[t.Azerbaijan = 28] = "Azerbaijan", t[t.Belarus = 29] = "Belarus", t[t.Belgium = 30] = "Belgium", t[t.Bolivia = 31] = "Bolivia", t[t.BosniaAndHerzegovina = 32] = "BosniaAndHerzegovina", t[t.Bulgaria = 33] = "Bulgaria", t[t.Chile = 34] = "Chile", t[t.Colombia = 35] = "Colombia", t[t.Croatia = 36] = "Croatia", t[t.Cyprus = 37] = "Cyprus", t[t.CzechRepublic = 38] = "CzechRepublic", t[t.Denmark = 39] = "Denmark", t[t.Ecuador = 40] = "Ecuador", t[t.Estonia = 41] = "Estonia", t[t.FalklandIslands = 42] = "FalklandIslands", t[t.Finland = 43] = "Finland", t[t.Georgia = 44] = "Georgia", t[t.Greece = 45] = "Greece", t[t.Guyana = 46] = "Guyana", t[t.Hungary = 47] = "Hungary", t[t.Iceland = 48] = "Iceland", t[t.India = 49] = "India", t[t.Indonesia = 50] = "Indonesia", t[t.Ireland = 51] = "Ireland", t[t.Israel = 52] = "Israel", t[t.Japan = 53] = "Japan", t[t.Kazakhstan = 54] = "Kazakhstan", t[t.Latvia = 55] = "Latvia", t[t.Liechtenstein = 56] = "Liechtenstein", t[t.Lithuania = 57] = "Lithuania", t[t.Luxembourg = 58] = "Luxembourg", t[t.Macedonia = 59] = "Macedonia", t[t.Malaysia = 60] = "Malaysia", t[t.Malta = 61] = "Malta", t[t.Mexico = 62] = "Mexico", t[t.Moldova = 63] = "Moldova", t[t.Monaco = 64] = "Monaco", t[t.Montenegro = 65] = "Montenegro", t[t.NewZealand = 66] = "NewZealand", t[t.Norway = 67] = "Norway", t[t.Paraguay = 68] = "Paraguay", t[t.Peru = 69] = "Peru", t[t.Philippines = 70] = "Philippines", t[t.Poland = 71] = "Poland", t[t.Portugal = 72] = "Portugal", t[t.Romania = 73] = "Romania", t[t.SanMarino = 74] = "SanMarino", t[t.SaudiArabia = 75] = "SaudiArabia", t[t.Serbia = 76] = "Serbia", t[t.Slovakia = 77] = "Slovakia", t[t.Slovenia = 78] = "Slovenia", t[t.SouthAfrica = 79] = "SouthAfrica", t[t.SouthKorea = 80] = "SouthKorea", t[t.Spain = 81] = "Spain", t[t.Suriname = 82] = "Suriname", t[t.Sweden = 83] = "Sweden", t[t.Switzerland = 84] = "Switzerland", t[t.Thailand = 85] = "Thailand", t[t.Turkey = 86] = "Turkey", t[t.Ukraine = 87] = "Ukraine", t[t.Uruguay = 88] = "Uruguay", t[t.Vatican = 89] = "Vatican", t[t.Venezuela = 90] = "Venezuela", t[t.Vietnam = 91] = "Vietnam", t[t.MiddleEast = 92] = "MiddleEast", t[t.Oman = 93] = "Oman", t[t.Qatar = 94] = "Qatar", t[t.Benelux = 95] = "Benelux", t[t.Scandinavia = 96] = "Scandinavia", t[t.FranceDepartments = 97] = "FranceDepartments", t[t.France18Regions = 98] = "France18Regions" }(n = t.StiMapID || (t.StiMapID = {})); var o; !function(t) { t[t.Style21 = 0] = "Style21", t[t.Style24 = 1] = "Style24", t[t.Style25 = 2] = "Style25", t[t.Style26 = 3] = "Style26", t[t.Style27 = 4] = "Style27", t[t.Style28 = 5] = "Style28", t[t.Style29 = 6] = "Style29", t[t.Style30 = 7] = "Style30", t[t.Style31 = 8] = "Style31", t[t.Style32 = 9] = "Style32", t[t.Style33 = 10] = "Style33" }(o = t.StiMapStyleIdent || (t.StiMapStyleIdent = {})); var a; !function(t) { t[t.None = 0] = "None", t[t.Individual = 4] = "Individual", t[t.Group = 1] = "Group", t[t.Heatmap = 2] = "Heatmap", t[t.HeatmapWithGroup = 3] = "HeatmapWithGroup" }(a = t.StiMapType || (t.StiMapType = {})) }(e = t.Maps || (t.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Exception , n = t.Base.StiJsonReportObjectHelper , o = t.System.Drawing.Color , a = t.System.Drawing.ColorTranslator , s = function(r) { function s(t, e, i) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = null); var n = r.call(this, t, e, i) || this; return n.defaultColors = [a.fromHtml("#70ad47"), a.fromHtml("#4472c4"), a.fromHtml("#ffc000"), a.fromHtml("#43682b"), a.fromHtml("#fd6a37"), a.fromHtml("#997300")], n.defaultHeatmapColors = [a.fromHtml("#70ad47"), a.fromHtml("#ffc000")], n.individualColor = a.fromHtml("#70ad47"), n.defaultColor = a.fromHtml("#4472c4"), n.backColor = o.white, n.foreColor = o.white, n.borderSize = .5, n.borderColor = o.white, n.labelShadowForeground = o.fromArgb(255, 251, 251, 251), n.labelForeground = o.fromArgb(255, 37, 37, 37), n.colors = n.defaultColors.clone(), n.heatmapColors = n.defaultHeatmapColors.clone(), n } return __extends(s, r), s.prototype.saveToJsonObject = function(t) { var e = r.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("IndividualColor", n.Serialize.jColor(this.individualColor, a.fromHtml("#70ad47"))), e.addPropertyJObject("Colors", n.Serialize.colorArray(this.colors)), e.addPropertyJObject("HeatmapColors", n.Serialize.colorArray(this.heatmapColors)), e.addPropertyStringNullOrEmpty("DefaultColor", n.Serialize.jColor(this.defaultColor, a.fromHtml("#4472c4"))), e.addPropertyStringNullOrEmpty("BackColor", n.Serialize.jColor(this.backColor, o.white)), e.addPropertyNumber("BorderSize", this.borderSize, .5), e.addPropertyStringNullOrEmpty("BorderColor", n.Serialize.jColor(this.borderColor, o.white)), e.addPropertyStringNullOrEmpty("LabelShadowForeground", n.Serialize.jColor(this.labelShadowForeground, o.fromArgb(255, 251, 251, 251))), e.addPropertyStringNullOrEmpty("LabelForeground", n.Serialize.jColor(this.labelForeground, o.fromArgb(255, 37, 37, 37))), e } , s.prototype.loadFromJsonObject = function(t) { var e, i; r.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "IndividualColor": this.individualColor = n.Deserialize.color(s.value.toString()); break; case "Colors": this.colors = n.Deserialize.colorArray(s.value); break; case "HeatmapColors": this.heatmapColors = n.Deserialize.colorArray(s.value); break; case "DefaultColor": this.defaultColor = n.Deserialize.color(s.value.toString()); break; case "BackColor": this.backColor = n.Deserialize.color(s.value.toString()); break; case "BorderSize": this.borderSize = s.value.stimulsoft.toNumber(); break; case "BorderColor": this.borderColor = n.Deserialize.color(s.value.toString()); break; case "LabelShadowForeground": this.labelShadowForeground = n.Deserialize.color(s.value.toString()); break; case "LabelForeground": this.labelForeground = n.Deserialize.color(s.value.toString()); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (e) throw e.error } } } , s.prototype.loadFromXml = function(e) { r.prototype.loadFromXml.call(this, e); for (var i = 0; i < e.childNodes.length; i++) { var o = e.childNodes[i]; switch (o.nodeName) { case "IndividualColor": this.individualColor = n.Deserialize.color(o.textContent); break; case "Colors": this.colors = t.System.Text.StiReportObjectStringConverter.convertStringToColorArray(o.textContent); break; case "HeatmapColors": this.heatmapColors = t.System.Text.StiReportObjectStringConverter.convertStringToColorArray(o.textContent); break; case "DefaultColor": this.defaultColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break; case "BackColor": this.backColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break; case "BorderSize": this.borderSize = o.textContent.stimulsoft.toNumber(); break; case "BorderColor": this.borderColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break; case "LabelShadowForeground": this.labelShadowForeground = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break; case "LabelForeground": this.labelForeground = t.System.Text.StiReportObjectStringConverter.convertStringToColor(o.textContent); break } } } , Object.defineProperty(s.prototype, "componentId", { get: function() { return e.StiComponentId.StiMapStyle }, enumerable: !0, configurable: !0 }), s.prototype.getStyleFromComponent = function(t, r) { if (r != e.StiStyleElements.All) throw new i("StiCrossTabStyle support only StiStyleElements.All."); var n = t.stimulsoft.as(e.Maps.StiMap); if (null == n) return; var o = n.getComponentStyle2().stimulsoft.as(s); if (null == o) return; this.individualColor = o.individualColor, null == o.colors ? this.colors = null : this.colors = o.colors.clone(), null == o.heatmapColors ? this.heatmapColors = null : this.heatmapColors = o.heatmapColors.clone(), this.defaultColor = o.defaultColor, this.backColor = o.backColor, this.borderSize = o.borderSize, this.borderColor = o.borderColor, this.labelShadowForeground = o.labelShadowForeground, this.labelForeground = o.labelForeground } , s.prototype.setStyleToComponent = function(t) {} , s }(r.StiBaseStyle); r.StiMapStyle = s }(r = e.Styles || (e.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Styles.StiMapStyle , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.allowDashboard = !1, e } return __extends(e, t), e }(r); e.StiMapStyleFX = i }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Auto = 1] = "Auto", t[t.Blue = 2] = "Blue", t[t.Orange = 3] = "Orange", t[t.Green = 4] = "Green", t[t.Turquoise = 5] = "Turquoise", t[t.SlateGray = 6] = "SlateGray", t[t.DarkBlue = 7] = "DarkBlue", t[t.DarkGray = 8] = "DarkGray", t[t.DarkGreen = 9] = "DarkGreen", t[t.DarkTurquoise = 10] = "DarkTurquoise", t[t.Silver = 11] = "Silver", t[t.AliceBlue = 12] = "AliceBlue", t[t.Custom = 13] = "Custom" }(e = t.StiElementStyleIdent || (t.StiElementStyleIdent = {})); var r; !function(t) { t[t.One = 0] = "One", t[t.Multi = 1] = "Multi" }(r = t.StiItemSelectionMode || (t.StiItemSelectionMode = {})); var i; !function(t) { t[t.Single = 0] = "Single", t[t.Range = 1] = "Range", t[t.AutoRange = 2] = "AutoRange" }(i = t.StiDateSelectionMode || (t.StiDateSelectionMode = {})); var n; !function(t) { t[t.DayTomorrow = 0] = "DayTomorrow", t[t.DayToday = 1] = "DayToday", t[t.DayYesterday = 2] = "DayYesterday", t[t.WeekNext = 3] = "WeekNext", t[t.WeekCurrent = 4] = "WeekCurrent", t[t.WeekPrevious = 5] = "WeekPrevious", t[t.MonthNext = 6] = "MonthNext", t[t.MonthCurrent = 7] = "MonthCurrent", t[t.MonthPrevious = 8] = "MonthPrevious", t[t.QuarterNext = 9] = "QuarterNext", t[t.QuarterCurrent = 10] = "QuarterCurrent", t[t.QuarterPrevious = 11] = "QuarterPrevious", t[t.QuarterFirst = 12] = "QuarterFirst", t[t.QuarterSecond = 13] = "QuarterSecond", t[t.QuarterThird = 14] = "QuarterThird", t[t.QuarterFourth = 15] = "QuarterFourth", t[t.YearNext = 16] = "YearNext", t[t.YearCurrent = 17] = "YearCurrent", t[t.YearPrevious = 18] = "YearPrevious", t[t.Last7Days = 19] = "Last7Days", t[t.Last14Days = 20] = "Last14Days", t[t.Last30Days = 21] = "Last30Days", t[t.DateToWeek = 22] = "DateToWeek", t[t.DateToMonth = 23] = "DateToMonth", t[t.DateToQuarter = 24] = "DateToQuarter", t[t.DateToYear = 25] = "DateToYear" }(n = t.StiInitialDateRangeSelection || (t.StiInitialDateRangeSelection = {})); var o; !function(t) { t[t.Pie = 0] = "Pie", t[t.Circle = 1] = "Circle", t[t.DataBars = 2] = "DataBars" }(o = t.StiProgressElementMode || (t.StiProgressElementMode = {})); var a; !function(t) { t[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" }(a = t.StiDateCondition || (t.StiDateCondition = {})); var s; !function(t) { t[t.AutoSize = 0] = "AutoSize", t[t.Fit = 1] = "Fit" }(s = t.StiTableSizeMode || (t.StiTableSizeMode = {})); var l; !function(t) { t[t.None = 0] = "None", t[t.Center = 1] = "Center", t[t.InsideBase = 2] = "InsideBase", t[t.InsideEnd = 3] = "InsideEnd", t[t.Left = 4] = "Left", t[t.Outside = 5] = "Outside", t[t.OutsideBase = 6] = "OutsideBase", t[t.OutsideEnd = 7] = "OutsideEnd", t[t.OutsideLeft = 8] = "OutsideLeft", t[t.OutsideRight = 9] = "OutsideRight", t[t.Right = 10] = "Right", t[t.TwoColumns = 11] = "TwoColumns", t[t.Value = 12] = "Value" }(l = t.StiChartLabelsPosition || (t.StiChartLabelsPosition = {})); var u; !function(t) { t[t.Chart = 1] = "Chart", t[t.Gauge = 2] = "Gauge", t[t.Image = 3] = "Image", t[t.Indicator = 4] = "Indicator", t[t.OnlineMap = 5] = "OnlineMap", t[t.Page = 6] = "Page", t[t.PivotTable = 7] = "PivotTable", t[t.Progress = 8] = "Progress", t[t.RegionMap = 9] = "RegionMap", t[t.Table = 10] = "Table", t[t.TableColumn = 11] = "TableColumn", t[t.Text = 12] = "Text" }(u = t.StiInteractionIdent || (t.StiInteractionIdent = {})); var c; !function(t) { t[t.ShowToolTip = 1] = "ShowToolTip", t[t.ShowHyperlink = 2] = "ShowHyperlink", t[t.None = 0] = "None", t[t.All = 3] = "All" }(c = t.StiAvailableInteractionOnHover || (t.StiAvailableInteractionOnHover = {})); var m; !function(t) { t[t.ShowDashboard = 1] = "ShowDashboard", t[t.OpenHyperlink = 2] = "OpenHyperlink", t[t.ApplyFilter = 4] = "ApplyFilter", t[t.DrillDown = 8] = "DrillDown", t[t.None = 0] = "None", t[t.All = 15] = "All" }(m = t.StiAvailableInteractionOnClick || (t.StiAvailableInteractionOnClick = {})); var p; !function(t) { t[t.AllowSorting = 1] = "AllowSorting", t[t.AllowFiltering = 2] = "AllowFiltering", t[t.AllowDrillDown = 4] = "AllowDrillDown", t[t.All = 7] = "All", t[t.None = 0] = "None" }(p = t.StiAvailableInteractionOnDataManipulation || (t.StiAvailableInteractionOnDataManipulation = {})); var h; !function(t) { t[t.None = 0] = "None", t[t.ShowToolTip = 1] = "ShowToolTip", t[t.ShowHyperlink = 2] = "ShowHyperlink" }(h = t.StiInteractionOnHover || (t.StiInteractionOnHover = {})); var d; !function(t) { t[t.None = 0] = "None", t[t.ShowDashboard = 1] = "ShowDashboard", t[t.OpenHyperlink = 2] = "OpenHyperlink", t[t.ApplyFilter = 3] = "ApplyFilter", t[t.DrillDown = 4] = "DrillDown" }(d = t.StiInteractionOnClick || (t.StiInteractionOnClick = {})); var g; !function(t) { t[t.NewTab = 0] = "NewTab", t[t.CurrectTab = 1] = "CurrectTab" }(g = t.StiInteractionOpenHyperlinkDestination || (t.StiInteractionOpenHyperlinkDestination = {})); var f; !function(t) { t[t.None = 0] = "None", t[t.Rename = 1] = "Rename", t[t.Delete = 2] = "Delete", t[t.ClearAll = 3] = "ClearAll" }(f = t.StiElementMeterAction || (t.StiElementMeterAction = {})); var S; !function(t) { t[t.Auto = 0] = "Auto", t[t.AdminDivision1 = 1] = "AdminDivision1", t[t.AdminDivision2 = 2] = "AdminDivision2", t[t.CountryRegion = 3] = "CountryRegion", t[t.Neighborhood = 4] = "Neighborhood", t[t.PopulatedPlace = 5] = "PopulatedPlace", t[t.Postcode1 = 6] = "Postcode1", t[t.Postcode2 = 7] = "Postcode2", t[t.Postcode3 = 8] = "Postcode3", t[t.Postcode4 = 9] = "Postcode4" }(S = t.StiOnlineMapLocationType || (t.StiOnlineMapLocationType = {})); var A; !function(t) { t[t.Single = 0] = "Single", t[t.ColorEach = 1] = "ColorEach", t[t.Group = 2] = "Group", t[t.Value = 3] = "Value" }(A = t.StiOnlineMapLocationColorType || (t.StiOnlineMapLocationColorType = {})); var y; !function(t) { t[t.Bubble = 0] = "Bubble", t[t.Value = 1] = "Value", t[t.Icon = 2] = "Icon", t[t.Chart = 3] = "Chart" }(y = t.StiOnlineMapValueViewMode || (t.StiOnlineMapValueViewMode = {})); var w; !function(t) { t[t.ar_SA = 0] = "ar_SA", t[t.eu = 1] = "eu", t[t.bg = 2] = "bg", t[t.bg_BG = 3] = "bg_BG", t[t.ca = 4] = "ca", t[t.ku_Arab = 5] = "ku_Arab", t[t.zh_CN = 6] = "zh_CN", t[t.zh_HK = 7] = "zh_HK", t[t.zh_Hans = 8] = "zh_Hans", t[t.zh_TW = 9] = "zh_TW", t[t.zh_Hant = 10] = "zh_Hant", t[t.cs = 11] = "cs", t[t.cs_CZ = 12] = "cs_CZ", t[t.da = 13] = "da", t[t.da_DK = 14] = "da_DK", t[t.nl_BE = 15] = "nl_BE", t[t.nl = 16] = "nl", t[t.nl_NL = 17] = "nl_NL", t[t.en_AU = 18] = "en_AU", t[t.en_CA = 19] = "en_CA", t[t.en_IN = 20] = "en_IN", t[t.en_GB = 21] = "en_GB", t[t.en_US = 22] = "en_US", t[t.fi = 23] = "fi", t[t.fi_FI = 24] = "fi_FI", t[t.fr_BE = 25] = "fr_BE", t[t.fr_CA = 26] = "fr_CA", t[t.fr = 27] = "fr", t[t.fr_FR = 28] = "fr_FR", t[t.fr_CH = 29] = "fr_CH", t[t.gl = 30] = "gl", t[t.de = 31] = "de", t[t.de_DE = 32] = "de_DE", t[t.el = 33] = "el", t[t.he = 34] = "he", t[t.he_IL = 35] = "he_IL", t[t.hi = 36] = "hi", t[t.hi_IN = 37] = "hi_IN", t[t.hu = 38] = "hu", t[t.hu_HU = 39] = "hu_HU", t[t.is_IS = 40] = "is_IS", t[t.it = 41] = "it", t[t.it_IT = 42] = "it_IT", t[t.ja = 43] = "ja", t[t.ja_JP = 44] = "ja_JP", t[t.ko = 45] = "ko", t[t.Ko_KR = 46] = "Ko_KR", t[t.ky_Cyrl = 47] = "ky_Cyrl", t[t.lv = 48] = "lv", t[t.lv_LV = 49] = "lv_LV", t[t.lt = 50] = "lt", t[t.lt_LT = 51] = "lt_LT", t[t.nb = 52] = "nb", t[t.nb_NO = 53] = "nb_NO", t[t.nn = 54] = "nn", t[t.pl = 55] = "pl", t[t.pl_PL = 56] = "pl_PL", t[t.pt_BR = 57] = "pt_BR", t[t.pt_P = 58] = "pt_P", t[t.ru = 59] = "ru", t[t.ru_RU = 60] = "ru_RU", t[t.es_MX = 61] = "es_MX", t[t.es = 62] = "es", t[t.es_ES = 63] = "es_ES", t[t.es_US = 64] = "es_US", t[t.sv = 65] = "sv", t[t.sv_SE = 66] = "sv_SE", t[t.tt_Cyrl = 67] = "tt_Cyrl", t[t.th = 68] = "th", t[t.th_TH = 69] = "th_TH", t[t.tr = 70] = "tr", t[t.tr_TR = 71] = "tr_TR", t[t.uk = 72] = "uk", t[t.uk_UA = 73] = "uk_UA", t[t.ug_Arab = 74] = "ug_Arab", t[t.ca_ES_valencia = 75] = "ca_ES_valencia", t[t.vi = 76] = "vi", t[t.vi_VN = 77] = "vi_VN" }(w = t.StiOnlineMapCulture || (t.StiOnlineMapCulture = {})); var b; !function(t) { t[t.None = 0] = "None", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t[t.Top = 3] = "Top", t[t.Bottom = 4] = "Bottom" }(b = t.StiIconAlignment || (t.StiIconAlignment = {})); var v; !function(t) { t[t.Value = 0] = "Value", t[t.Series = 1] = "Series", t[t.Target = 2] = "Target", t[t.Variation = 3] = "Variation" }(v = t.StiIndicatorFieldCondition || (t.StiIndicatorFieldCondition = {})); var C; !function(t) { t[t.None = 0] = "None", t[t.Font = 1] = "Font", t[t.FontSize = 2] = "FontSize", t[t.FontStyleBold = 4] = "FontStyleBold", t[t.FontStyleItalic = 8] = "FontStyleItalic", t[t.FontStyleUnderline = 16] = "FontStyleUnderline", t[t.FontStyleStrikeout = 32] = "FontStyleStrikeout", t[t.TextColor = 64] = "TextColor", t[t.BackColor = 128] = "BackColor", t[t.Borders = 256] = "Borders", t[t.Icon = 512] = "Icon", t[t.TargetIcon = 1024] = "TargetIcon", t[t.All = 2047] = "All" }(C = t.StiIndicatorConditionPermissions || (t.StiIndicatorConditionPermissions = {})); var E; !function(t) { t[t.Percentage = 0] = "Percentage", t[t.Variation = 1] = "Variation" }(E = t.StiTargetMode || (t.StiTargetMode = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Drawing.StiColor , i = t.Report.Dashboard.StiElementStyleIdent , n = t.Base.Localization.StiLocalization , o = function(t) { function o() { return null !== t && t.apply(this, arguments) || this } return __extends(o, t), Object.defineProperty(o.prototype, "allowDashboard", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleIdent", { get: function() { return i.AliceBlue }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "dashboardName", { get: function() { return n.get("PropertyColor", "AliceBlue") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style33 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "localizeName", { get: function() { return n.get("Chart", "Style") + "33" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "borderColor", { get: function() { return r.get("bb40568d") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "individualColor", { get: function() { return r.get("40568d") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "colors", { get: function() { return [r.get("4569bb"), r.get("e47334"), r.get("9d9c9c"), r.get("f8b92d"), r.get("5e93cc"), r.get("6ea548")] }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "heatmapColors", { get: function() { return [r.get("40568d"), r.get("ccd5f0")] }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "defaultColor", { get: function() { return r.get("#40568d") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "backColor", { get: function() { return r.get("#ffffff") }, enumerable: !0, configurable: !0 }), o }(e.StiMapStyleFX); e.StiMap33StyleFX = o }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Drawing.StiColor , i = t.Report.Dashboard.StiElementStyleIdent , n = t.Base.Localization.StiLocalization , o = function(t) { function o() { return null !== t && t.apply(this, arguments) || this } return __extends(o, t), Object.defineProperty(o.prototype, "allowDashboard", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleIdent", { get: function() { return i.Silver }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "dashboardName", { get: function() { return n.get("PropertyColor", "Silver") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style32 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "localizeName", { get: function() { return n.get("Chart", "Style") + "32" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "borderColor", { get: function() { return r.get("bb8698a2") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "individualColor", { get: function() { return r.get("3a5263") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "colors", { get: function() { return [r.get("3a5263"), r.get("90a1ab"), r.get("c9d5dc")] }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "heatmapColors", { get: function() { return [r.get("3a5263"), r.get("c9d5dc")] }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "defaultColor", { get: function() { return r.get("#fefef9") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "backColor", { get: function() { return r.get("#6d7e8b") }, enumerable: !0, configurable: !0 }), o }(e.StiMapStyleFX); e.StiMap32StyleFX = o }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Drawing.StiColor , i = t.Report.Dashboard.StiElementStyleIdent , n = t.Base.Localization.StiLocalization , o = t.System.Drawing.ColorTranslator , a = function(t) { function a() { return null !== t && t.apply(this, arguments) || this } return __extends(a, t), Object.defineProperty(a.prototype, "allowDashboard", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleIdent", { get: function() { return i.DarkTurquoise }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "dashboardName", { get: function() { return n.get("PropertyColor", "DarkTurquoise") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style31 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "localizeName", { get: function() { return n.get("Chart", "Style") + 31 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "borderColor", { get: function() { return r.get("aa1c4458") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "individualColor", { get: function() { return r.get("#5ea8bf") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "colors", { get: function() { return [o.fromHtml("#fefef9"), o.fromHtml("#a8d7e2"), o.fromHtml("#5ea8bf"), o.fromHtml("#2b7f9e"), o.fromHtml("#1c4458")] }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "heatmapColors", { get: function() { return [o.fromHtml("#a8d7e2"), o.fromHtml("#1c4458")] }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "defaultColor", { get: function() { return r.get("#fefef9") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "backColor", { get: function() { return r.get("#235e6d") }, enumerable: !0, configurable: !0 }), a }(e.StiMapStyleFX); e.StiMap31StyleFX = a }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Drawing.StiColor , i = t.Report.Dashboard.StiElementStyleIdent , n = t.Base.Localization.StiLocalization , o = function(t) { function o() { return null !== t && t.apply(this, arguments) || this } return __extends(o, t), Object.defineProperty(o.prototype, "allowDashboard", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleIdent", { get: function() { return i.DarkGray }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "dashboardName", { get: function() { return n.get("PropertyColor", "DarkGray") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style30 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "localizeName", { get: function() { return n.get("Chart", "Style") + 30 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "borderColor", { get: function() { return r.get("aadb7b46") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "individualColor", { get: function() { return r.get("#4a4c55") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "colors", { get: function() { return [r.get("#db7b46"), r.get("#d3d3d5"), r.get("#6b6e75"), r.get("#4a4c55")] }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "heatmapColors", { get: function() { return [r.get("#d3d3d5"), r.get("#4a4c55")] }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "defaultColor", { get: function() { return r.get("#d0d0d0") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "backColor", { get: function() { return r.get("#595b65") }, enumerable: !0, configurable: !0 }), o }(e.StiMapStyleFX); e.StiMap30StyleFX = o }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.StiElementStyleIdent , i = t.Base.Localization.StiLocalization , n = t.System.Drawing.Color , o = t.System.Drawing.ColorTranslator , a = t.Base.Drawing.StiColor , s = function(t) { function s() { return null !== t && t.apply(this, arguments) || this } return __extends(s, t), Object.defineProperty(s.prototype, "allowDashboard", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleIdent", { get: function() { return r.Blue }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "dashboardName", { get: function() { return i.get("PropertyColor", "Blue") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style29 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizeName", { get: function() { return i.get("Chart", "Style") + 29 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "colors", { get: function() { return [o.fromHtml("#3498db"), o.fromHtml("#ef717a"), o.fromHtml("#6dcbb3"), o.fromHtml("#f28161"), o.fromHtml("#fccd1b")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "individualColor", { get: function() { return a.get("#3498db") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "heatmapColors", { get: function() { return [o.fromHtml("#3498db"), o.fromHtml("#ef717a")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "defaultColor", { get: function() { return o.fromHtml("#d0d0d0") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "backColor", { get: function() { return o.fromHtml("#ffffff") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "borderColor", { get: function() { return n.fromArgb(255, 211, 212, 213) }, set: function(t) {}, enumerable: !0, configurable: !0 }), s }(e.StiMapStyleFX); e.StiMap29StyleFX = s }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.StiElementStyleIdent , i = t.Base.Localization.StiLocalization , n = t.System.Drawing.ColorTranslator , o = t.Base.Drawing.StiColor , a = function(t) { function a() { return null !== t && t.apply(this, arguments) || this } return __extends(a, t), Object.defineProperty(a.prototype, "allowDashboard", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleIdent", { get: function() { return r.DarkBlue }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "dashboardName", { get: function() { return i.get("PropertyColor", "DarkBlue") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style28 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "localizeName", { get: function() { return i.get("Chart", "Style") + 28 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "colors", { get: function() { return [n.fromHtml("#165d9e"), n.fromHtml("#577eb6"), n.fromHtml("#569436"), n.fromHtml("#225056"), n.fromHtml("#d4dae0")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "individualColor", { get: function() { return o.get("#165d9e") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "heatmapColors", { get: function() { return [n.fromHtml("#165d9e"), n.fromHtml("#569436")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "defaultColor", { get: function() { return n.fromHtml("#ffffff") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "backColor", { get: function() { return n.fromHtml("#0a325a") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "borderColor", { get: function() { return n.fromHtml("#99bbbbbb") }, set: function(t) {}, enumerable: !0, configurable: !0 }), a }(e.StiMapStyleFX); e.StiMap28StyleFX = a }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.StiElementStyleIdent , i = t.Base.Localization.StiLocalization , n = t.System.Drawing.ColorTranslator , o = function(t) { function o() { return null !== t && t.apply(this, arguments) || this } return __extends(o, t), Object.defineProperty(o.prototype, "allowDashboard", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleIdent", { get: function() { return r.SlateGray }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "dashboardName", { get: function() { return i.get("PropertyColor", "SlateGray") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style27 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "localizeName", { get: function() { return i.get("Chart", "Style") + 27 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "individualColor", { get: function() { return n.fromHtml("#0bac45") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "borderColor", { get: function() { return n.fromHtml("#bb33475b") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "colors", { get: function() { return [n.fromHtml("#0bac45"), n.fromHtml("#585257"), n.fromHtml("#ec334d"), n.fromHtml("#a1ae94"), n.fromHtml("#ed7d31"), n.fromHtml("#5ab0ee")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "heatmapColors", { get: function() { return [n.fromHtml("#0bac45"), n.fromHtml("#ec334d")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "defaultColor", { get: function() { return n.fromHtml("#ffffff") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "backColor", { get: function() { return n.fromHtml("#33475B") }, set: function(t) {}, enumerable: !0, configurable: !0 }), o }(e.StiMapStyleFX); e.StiMap27StyleFX = o }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.StiElementStyleIdent , i = t.Base.Localization.StiLocalization , n = t.System.Drawing.Color , o = t.System.Drawing.ColorTranslator , a = function(t) { function a() { return null !== t && t.apply(this, arguments) || this } return __extends(a, t), Object.defineProperty(a.prototype, "allowDashboard", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleIdent", { get: function() { return r.Turquoise }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "dashboardName", { get: function() { return i.get("PropertyColor", "Turquoise") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style26 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "localizeName", { get: function() { return i.get("Chart", "Style") + 26 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "individualColor", { get: function() { return o.fromHtml("#2ec6c8") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "borderColor", { get: function() { return n.fromArgb(255, 211, 212, 213) }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "colors", { get: function() { return [o.fromHtml("#2ec6c8"), o.fromHtml("#b5a1dd"), o.fromHtml("#5ab0ee"), o.fromHtml("#f4984e"), o.fromHtml("#d77a80"), o.fromHtml("#d04456")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "heatmapColors", { get: function() { return [o.fromHtml("#2ec6c8"), o.fromHtml("#f4984e")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "defaultColor", { get: function() { return o.fromHtml("#d0d0d0") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "backColor", { get: function() { return o.fromHtml("#ffffff") }, set: function(t) {}, enumerable: !0, configurable: !0 }), a }(e.StiMapStyleFX); e.StiMap26StyleFX = a }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.StiElementStyleIdent , i = t.Base.Localization.StiLocalization , n = t.System.Drawing.Color , o = t.System.Drawing.ColorTranslator , a = function(t) { function a() { return null !== t && t.apply(this, arguments) || this } return __extends(a, t), Object.defineProperty(a.prototype, "allowDashboard", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleIdent", { get: function() { return r.Green }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "dashboardName", { get: function() { return i.get("PropertyColor", "Green") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style25 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "localizeName", { get: function() { return i.get("Chart", "Style") + 25 }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "individualColor", { get: function() { return o.fromHtml("#70ad47") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "borderColor", { get: function() { return n.fromArgb(255, 211, 212, 213) }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "colors", { get: function() { return [o.fromHtml("#70ad47"), o.fromHtml("#4472c4"), o.fromHtml("#ffc000"), o.fromHtml("#43682b"), o.fromHtml("#fd6a37"), o.fromHtml("#997300")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "heatmapColors", { get: function() { return [o.fromHtml("#70ad47"), o.fromHtml("#ffc000")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "defaultColor", { get: function() { return o.fromHtml("#d0d0d0") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "backColor", { get: function() { return o.fromHtml("#ffffff") }, set: function(t) {}, enumerable: !0, configurable: !0 }), a }(e.StiMapStyleFX); e.StiMap25StyleFX = a }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.StiElementStyleIdent , i = t.Base.Localization.StiLocalization , n = t.System.Drawing.ColorTranslator , o = function(t) { function o() { return null !== t && t.apply(this, arguments) || this } return __extends(o, t), Object.defineProperty(o.prototype, "allowDashboard", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleIdent", { get: function() { return r.Orange }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "dashboardName", { get: function() { return i.get("PropertyColor", "Blue") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style24 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "localizeName", { get: function() { return i.get("Chart", "Style") + 24 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "individualColor", { get: function() { return n.fromHtml("#ed7d31") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "colors", { get: function() { return [n.fromHtml("#ed7d31"), n.fromHtml("#ffc000"), n.fromHtml("#70ad47"), n.fromHtml("#9e480e"), n.fromHtml("#997300"), n.fromHtml("#43682b")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "heatmapColors", { get: function() { return [n.fromHtml("#ed7d31"), n.fromHtml("#70ad47")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "defaultColor", { get: function() { return n.fromHtml("#d0d0d0") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "backColor", { get: function() { return n.fromHtml("#ffffff") }, set: function(t) {}, enumerable: !0, configurable: !0 }), o }(e.StiMapStyleFX); e.StiMap24StyleFX = o }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Font , i = t.System.Drawing.FontStyle , n = t.Base.Dashboard.StiElementConsts , o = t.Base.Drawing.StiColorUtils , a = t.System.Drawing.ColorTranslator , s = t.System.Drawing.Color , l = t.Base.StiJsonReportObjectHelper , u = function(e) { function u() { var t = null !== e && e.apply(this, arguments) || this; return t.font = new r("Arial",8), t.foreColor = s.black, t.backColor = s.white, t.glyphColor = s.dimGray, t.separatorColor = s.lightGray, t.selectedBackColor = a.fromHtml("#3498db"), t.selectedForeColor = s.white, t.selectedGlyphColor = s.white, t.hotBackColor = o.light(s.lightGray, 15), t.hotForeColor = n.ForegroundColor, t.hotGlyphColor = n.ForegroundColor, t.hotSelectedBackColor = o.light(a.fromHtml("#3498db"), 30), t.hotSelectedForeColor = s.white, t.hotSelectedGlyphColor = s.white, t.allowUseFont = !0, t.allowUseBackColor = !0, t.allowUseForeColor = !0, t } return __extends(u, e), u.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyStringNullOrEmpty("ForeColor", l.Serialize.jColor(this.foreColor, s.black)), r.addPropertyStringNullOrEmpty("BackColor", l.Serialize.jColor(this.backColor, s.white)), r.addPropertyStringNullOrEmpty("GlyphColor", l.Serialize.jColor(this.glyphColor, s.dimGray)), r.addPropertyStringNullOrEmpty("SeparatorColor", l.Serialize.jColor(this.separatorColor, s.lightGray)), r.addPropertyStringNullOrEmpty("SelectedBackColor", l.Serialize.jColor(this.selectedBackColor, a.fromHtml("#3498db"))), r.addPropertyStringNullOrEmpty("SelectedForeColor", l.Serialize.jColor(this.selectedForeColor, s.white)), r.addPropertyStringNullOrEmpty("SelectedGlyphColor", l.Serialize.jColor(this.selectedGlyphColor, s.white)), r.addPropertyStringNullOrEmpty("HotBackColor", l.Serialize.jColor(this.hotBackColor, o.light(s.lightGray, 15))), r.addPropertyStringNullOrEmpty("HotForeColor", l.Serialize.jColor(this.hotForeColor, n.ForegroundColor)), r.addPropertyStringNullOrEmpty("HotGlyphColor", l.Serialize.jColor(this.hotGlyphColor, n.ForegroundColor)), r.addPropertyStringNullOrEmpty("HotSelectedBackColor", l.Serialize.jColor(this.hotSelectedBackColor, o.light(a.fromHtml("#3498db"), 30))), r.addPropertyStringNullOrEmpty("HotSelectedForeColor", l.Serialize.jColor(this.hotSelectedForeColor, s.white)), r.addPropertyStringNullOrEmpty("HotSelectedGlyphColor", l.Serialize.jColor(this.hotSelectedGlyphColor, s.white)), r.addPropertyBool("AllowUseFont", this.allowUseFont, !0), r.addPropertyBool("AllowUseBackColor", this.allowUseBackColor, !0), r.addPropertyBool("AllowUseForeColor", this.allowUseForeColor, !0), r.addPropertyStringNullOrEmpty("Font", l.Serialize.fontArial8(this.font)), r } , u.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ForeColor": this.foreColor = l.Deserialize.color(a.value); break; case "BackColor": this.backColor = l.Deserialize.color(a.value); break; case "GlyphColor": this.glyphColor = l.Deserialize.color(a.value); break; case "SeparatorColor": this.separatorColor = l.Deserialize.color(a.value); break; case "SelectedBackColor": this.selectedBackColor = l.Deserialize.color(a.value); break; case "SelectedForeColor": this.selectedForeColor = l.Deserialize.color(a.value); break; case "SelectedGlyphColor": this.selectedGlyphColor = l.Deserialize.color(a.value); break; case "HotBackColor": this.hotBackColor = l.Deserialize.color(a.value); break; case "HotForeColor": this.hotForeColor = l.Deserialize.color(a.value); break; case "HotGlyphColor": this.hotGlyphColor = l.Deserialize.color(a.value); break; case "HotSelectedBackColor": this.hotSelectedBackColor = l.Deserialize.color(a.value); break; case "HotSelectedForeColor": this.hotSelectedForeColor = l.Deserialize.color(a.value); break; case "HotSelectedGlyphColor": this.hotSelectedGlyphColor = l.Deserialize.color(a.value); break; case "AllowUseFont": this.allowUseFont = a.value.stimulsoft.toBoolean(); break; case "AllowUseBackColor": this.allowUseBackColor = a.value.stimulsoft.toBoolean(); break; case "AllowUseForeColor": this.allowUseForeColor = a.value.stimulsoft.toBoolean(); break; case "Font": this.font = l.Deserialize.font(a.value, this.font); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , u.prototype.loadFromXml = function(r) { e.prototype.loadFromXml.call(this, r); for (var i = 0; i < r.childNodes.length; i++) { var n = r.childNodes[i]; switch (n.nodeName) { case "ForeColor": this.foreColor = l.Deserialize.color(n.textContent); break; case "BackColor": this.backColor = l.Deserialize.color(n.textContent); break; case "GlyphColor": this.glyphColor = l.Deserialize.color(n.textContent); break; case "SeparatorColor": this.separatorColor = l.Deserialize.color(n.textContent); break; case "SelectedBackColor": this.selectedBackColor = l.Deserialize.color(n.textContent); break; case "SelectedForeColor": this.selectedForeColor = l.Deserialize.color(n.textContent); break; case "SelectedGlyphColor": this.selectedGlyphColor = l.Deserialize.color(n.textContent); break; case "HotBackColor": this.hotBackColor = l.Deserialize.color(n.textContent); break; case "HotForeColor": this.hotForeColor = l.Deserialize.color(n.textContent); break; case "HotGlyphColor": this.hotGlyphColor = l.Deserialize.color(n.textContent); break; case "HotSelectedBackColor": this.hotSelectedBackColor = l.Deserialize.color(n.textContent); break; case "HotSelectedForeColor": this.hotSelectedForeColor = l.Deserialize.color(n.textContent); break; case "HotSelectedGlyphColor": this.hotSelectedGlyphColor = l.Deserialize.color(n.textContent); break; case "AllowUseFont": this.allowUseFont = n.textContent.stimulsoft.toBoolean(); break; case "AllowUseBackColor": this.allowUseBackColor = n.textContent.stimulsoft.toBoolean(); break; case "AllowUseForeColor": this.allowUseForeColor = n.textContent.stimulsoft.toBoolean(); break; case "Font": this.font = t.System.Convert.toFont(n.textContent); break } } } , u.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.font = this.font.clone(), t } , u.prototype.stimulsofthouldSerializeFont = function() { return !(null != this.font && "Arial" == this.font.name && 8 == this.font.size && this.font.style == i.Regular) } , u.prototype.shouldSerializeForeColor = function() { return !s.black.stimulsoft.equals(this.foreColor) } , u.prototype.shouldSerializeBackColor = function() { return !s.white.stimulsoft.equals(this.backColor) } , u.prototype.shouldSerializeGlyphColor = function() { return !s.dimGray.stimulsoft.equals(this.glyphColor) } , u.prototype.shouldSerializeSeparatorColor = function() { return !s.lightGray.stimulsoft.equals(this.separatorColor) } , u.prototype.shouldSerializeSelectedBackColor = function() { return !a.fromHtml("#3498db").stimulsoft.equals(this.selectedBackColor) } , u.prototype.shouldSerializeSelectedForeColor = function() { return !s.white.stimulsoft.equals(this.selectedForeColor) } , u.prototype.shouldSerializeSelectedGlyphColor = function() { return !s.white.stimulsoft.equals(this.selectedGlyphColor) } , u.prototype.shouldSerializeHotBackColor = function() { return this.hotBackColor != o.light(s.lightGray, 15) } , u.prototype.shouldSerializeHotForeColor = function() { return this.hotForeColor != n.ForegroundColor } , u.prototype.shouldSerializeHotGlyphColor = function() { return this.hotGlyphColor != n.ForegroundColor } , u.prototype.shouldSerializeHotSelectedBackColor = function() { return this.hotSelectedBackColor != o.light(a.fromHtml("#3498db"), 30) } , u.prototype.shouldSerializeHotSelectedForeColor = function() { return !s.white.stimulsoft.equals(this.hotSelectedForeColor) } , u.prototype.shouldSerializeHotSelectedGlyphColor = function() { return !s.white.stimulsoft.equals(this.hotSelectedGlyphColor) } , u.prototype.getStyleFromComponent = function(t, e, r) { void 0 === r && (r = null) } , u.prototype.setStyleToComponent = function(t) {} , u }(e.StiBaseStyle); e.StiDialogStyle = u }(r = e.Styles || (e.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.Base.StiJsonReportObjectHelper , i = t.Report.Styles.StiBaseStyle , n = t.System.Drawing.ColorTranslator , o = t.System.Drawing.Color , a = function(e) { function i(t, r, i) { void 0 === t && (t = ""), void 0 === r && (r = ""); var a = e.call(this, t, r, i) || this; return a.backColor = o.transparent, a.dataColor = o.white, a.dataForeground = n.fromHtml("#222"), a.selectedDataColor = n.fromHtml("#3498db"), a.selectedDataForeground = o.white, a.alternatingDataColor = n.fromHtml("#eee"), a.alternatingDataForeground = n.fromHtml("#222"), a.headerColor = n.fromHtml("#3498db"), a.headerForeground = o.white, a.hotHeaderColor = o.transparent, a.footerColor = o.white, a.footerForeground = o.black, a.gridColor = o.gainsboro, a } return __extends(i, e), i.prototype.saveToJsonObject = function(t) { var i = e.prototype.saveToJsonObject.call(this, t); return i.addPropertyStringNullOrEmpty("BackColor", r.Serialize.jColor(this.backColor, o.transparent)), i.addPropertyStringNullOrEmpty("DataColor", r.Serialize.jColor(this.dataColor, o.white)), i.addPropertyStringNullOrEmpty("DataForeground", r.Serialize.jColor(this.dataForeground, n.fromHtml("#222"))), i.addPropertyStringNullOrEmpty("SelectedDataColor", r.Serialize.jColor(this.selectedDataColor, n.fromHtml("#3498db"))), i.addPropertyStringNullOrEmpty("SelectedDataForeground", r.Serialize.jColor(this.selectedDataForeground, o.white)), i.addPropertyStringNullOrEmpty("AlternatingDataColor", r.Serialize.jColor(this.alternatingDataColor, n.fromHtml("#eee"))), i.addPropertyStringNullOrEmpty("AlternatingDataForeground", r.Serialize.jColor(this.alternatingDataForeground, n.fromHtml("#222"))), i.addPropertyStringNullOrEmpty("HeaderColor", r.Serialize.jColor(this.headerColor, n.fromHtml("#3498db"))), i.addPropertyStringNullOrEmpty("HeaderForeground", r.Serialize.jColor(this.headerForeground, o.white)), i.addPropertyStringNullOrEmpty("HotHeaderColor", r.Serialize.jColor(this.hotHeaderColor, o.transparent)), i.addPropertyStringNullOrEmpty("FooterColor", r.Serialize.jColor(this.footerColor, o.white)), i.addPropertyStringNullOrEmpty("FooterForeground", r.Serialize.jColor(this.footerForeground, o.black)), i.addPropertyStringNullOrEmpty("GridColor", r.Serialize.jColor(this.gridColor, o.black)), i } , i.prototype.loadFromJsonObject = function(t) { var i, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "BackColor": this.backColor = r.Deserialize.color(s.value); break; case "DataColor": this.dataColor = r.Deserialize.color(s.value); break; case "DataForeground": this.dataForeground = r.Deserialize.color(s.value); break; case "SelectedDataColor": this.selectedDataColor = r.Deserialize.color(s.value); break; case "SelectedDataForeground": this.selectedDataForeground = r.Deserialize.color(s.value); break; case "AlternatingDataColor": this.alternatingDataColor = r.Deserialize.color(s.value); break; case "AlternatingDataForeground": this.alternatingDataForeground = r.Deserialize.color(s.value); break; case "HeaderColor": this.headerColor = r.Deserialize.color(s.value); break; case "HeaderForeground": this.headerForeground = r.Deserialize.color(s.value); break; case "HotHeaderColor": this.hotHeaderColor = r.Deserialize.color(s.value); break; case "FooterColor": this.footerColor = r.Deserialize.color(s.value); break; case "FooterForeground": this.footerForeground = r.Deserialize.color(s.value); break; case "GridColor": this.gridColor = r.Deserialize.color(s.value); break } } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , i.prototype.loadFromXml = function(r) { e.prototype.loadFromXml.call(this, r); for (var i = 0; i < r.childNodes.length; i++) { var n = r.childNodes[i]; switch (n.nodeName) { case "BackColor": this.backColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "DataColor": this.dataColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "DataForeground": this.dataForeground = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "SelectedDataColor": this.selectedDataColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "SelectedDataForeground": this.selectedDataForeground = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "AlternatingDataColor": this.alternatingDataColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "AlternatingDataForeground": this.alternatingDataForeground = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "HeaderColor": this.headerColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "HeaderForeground": this.headerForeground = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "HotHeaderColor": this.hotHeaderColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "FooterColor": this.footerColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "FooterForeground": this.footerForeground = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "GridColor": this.gridColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break } } } , i.prototype.getColor = function(t) { return o.white.stimulsoft.equals(t) ? o.fromArgb(180, 255, 255, 255) : t } , i.prototype.getStyleFromComponent = function(t, e) {} , i.prototype.setStyleToComponent = function(t) {} , i }(i); e.StiTableStyle = a }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.Drawing.StiSolidBrush , o = t.Base.Drawing.StiBrush , a = t.Base.Drawing.StiBorder , s = t.System.Drawing.Color , l = t.Base.StiJsonReportObjectHelper , u = t.System.Enum , c = t.Report.StiBrushType , m = t.Report.Components.IStiBorder , p = t.Report.Components.IStiBrush , h = t.Report.Components.IStiBackColor , d = function(d) { function g() { var t = null !== d && d.apply(this, arguments) || this; return t.border = new a, t.brush = new n(s.transparent), t.chartAreaBrush = new n(s.white), t.chartAreaBorderColor = s.fromArgb(171, 172, 173), t.chartAreaShowShadow = !1, t.seriesLighting = !1, t.seriesShowShadow = !1, t.seriesShowBorder = !1, t.seriesLabelsLineColor = s.fromArgb(140, 140, 140), t.trendLineColor = s.fromArgb(140, 140, 140), t.trendLineShowShadow = !1, t.seriesLabelsBrush = new n(s.white), t.seriesLabelsColor = s.fromArgb(90, 90, 90), t.seriesLabelsBorderColor = s.fromArgb(140, 140, 140), t.legendBrush = new n(s.white), t.legendLabelsColor = s.fromArgb(140, 140, 140), t.legendBorderColor = s.fromArgb(105, 105, 105), t.legendTitleColor = s.fromArgb(105, 105, 105), t.axisTitleColor = s.fromArgb(140, 140, 140), t.axisLineColor = s.fromArgb(140, 140, 140), t.axisLabelsColor = s.fromArgb(140, 140, 140), t.markerVisible = !0, t.interlacingHorBrush = new n(s.fromArgb(10, 155, 155, 155)), t.interlacingVertBrush = new n(s.fromArgb(10, 155, 155, 155)), t.gridLinesHorColor = s.fromArgb(100, 105, 105, 105), t.gridLinesVertColor = s.fromArgb(100, 105, 105, 105), t.brushType = c.Solid, t.styleColors = [s.fromArgb(112, 173, 71), s.fromArgb(68, 114, 196), s.fromArgb(255, 192, 0), s.fromArgb(67, 104, 43), s.fromArgb(38, 68, 120), s.fromArgb(153, 115, 0)], t.basicStyleColor = s.whiteSmoke, t.allowUseBorderFormatting = !0, t.allowUseBorderSides = !0, t.allowUseBrush = !0, t } return __extends(g, d), g.prototype.saveToJsonObject = function(t) { var e = d.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("Border", l.Serialize.jBorder(this.border)), e.addPropertyStringNullOrEmpty("Brush", l.Serialize.jBrush(this.brush)), e.addPropertyEnum("BrushType", c, this.brushType, c.Glare), e.addPropertyJObject("StyleColors", l.Serialize.colorArray(this.styleColors)), e.addPropertyStringNullOrEmpty("BasicStyleColor", l.Serialize.jColor(this.basicStyleColor, s.whiteSmoke)), e.addPropertyBool("AllowUseBorderFormatting", this.allowUseBorderFormatting, !0), e.addPropertyBool("AllowUseBorderSides", this.allowUseBorderSides, !0), e.addPropertyBool("AllowUseBrush", this.allowUseBrush, !0), e.addPropertyStringNullOrEmpty("ChartAreaBrush", l.Serialize.jBrush(this.chartAreaBrush)), e.addPropertyStringNullOrEmpty("ChartAreaBorderColor", l.Serialize.jColor(this.chartAreaBorderColor, s.fromArgb(171, 172, 173))), e.addPropertyBool("ChartAreaShowShadow", this.chartAreaShowShadow), e.addPropertyStringNullOrEmpty("SeriesLabelsBrush", l.Serialize.jBrush(this.seriesLabelsBrush)), e.addPropertyStringNullOrEmpty("SeriesLabelsColor", l.Serialize.jColor(this.seriesLabelsColor, s.fromArgb(90, 90, 90))), e.addPropertyStringNullOrEmpty("SeriesLabelsLineColor", l.Serialize.jColor(this.seriesLabelsLineColor, s.fromArgb(140, 140, 140))), e.addPropertyStringNullOrEmpty("SeriesLabelsBorderColor", l.Serialize.jColor(this.seriesLabelsBorderColor, s.fromArgb(90, 90, 90))), e.addPropertyBool("SeriesShowShadow", this.seriesShowShadow), e.addPropertyBool("SeriesShowBorder", this.seriesShowBorder), e.addPropertyBool("SeriesLighting", this.seriesLighting), e.addPropertyStringNullOrEmpty("TrendLineColor", l.Serialize.jColor(this.trendLineColor, s.fromArgb(140, 140, 140))), e.addPropertyBool("TrendLineShowShadow", this.trendLineShowShadow), e.addPropertyStringNullOrEmpty("LegendBrush", l.Serialize.jBrush(this.legendBrush)), e.addPropertyStringNullOrEmpty("LegendLabelsColor", l.Serialize.jColor(this.legendLabelsColor, s.fromArgb(140, 140, 140))), e.addPropertyStringNullOrEmpty("LegendBorderColor", l.Serialize.jColor(this.legendBorderColor, s.fromArgb(105, 105, 105))), e.addPropertyStringNullOrEmpty("LegendTitleColor", l.Serialize.jColor(this.legendTitleColor, s.fromArgb(105, 105, 105))), e.addPropertyStringNullOrEmpty("AxisTitleColor", l.Serialize.jColor(this.axisTitleColor, s.fromArgb(140, 140, 140))), e.addPropertyStringNullOrEmpty("AxisLineColor", l.Serialize.jColor(this.axisLineColor, s.fromArgb(140, 140, 140))), e.addPropertyStringNullOrEmpty("AxisLabelsColor", l.Serialize.jColor(this.axisLabelsColor, s.fromArgb(140, 140, 140))), e.addPropertyBool("MarkerVisible", this.markerVisible, !0), e.addPropertyStringNullOrEmpty("InterlacingHorBrush", l.Serialize.jBrush(this.interlacingHorBrush)), e.addPropertyStringNullOrEmpty("InterlacingVertBrush", l.Serialize.jBrush(this.interlacingVertBrush)), e.addPropertyStringNullOrEmpty("GridLinesHorColor", l.Serialize.jColor(this.gridLinesHorColor, s.fromArgb(105, 105, 105))), e.addPropertyStringNullOrEmpty("GridLinesVertColor", l.Serialize.jColor(this.gridLinesVertColor, s.fromArgb(105, 105, 105))), e } , g.prototype.loadFromJsonObject = function(t) { var e, r; d.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.value; switch (o.name) { case "Border": this.border = l.Deserialize.border(o.value); break; case "Brush": this.brush = l.Deserialize.brush(o.value); break; case "BrushType": this.brushType = u.parse(c, o.value); break; case "StyleColors": this.styleColors = l.Deserialize.colorArray(o.value); break; case "BasicStyleColor": this.basicStyleColor = l.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 = l.Deserialize.brush(o.value); break; case "ChartAreaBorderColor": this.chartAreaBorderColor = l.Deserialize.color(o.value); break; case "SeriesLabelsBrush": this.seriesLabelsBrush = l.Deserialize.brush(o.value); break; case "SeriesLabelsColor": this.seriesLabelsColor = l.Deserialize.color(o.value); break; case "SeriesLabelsBorderColor": this.seriesLabelsBorderColor = l.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 = l.Deserialize.color(o.value); break; case "TrendLineColor": this.trendLineColor = l.Deserialize.color(o.value); break; case "TrendLineShowShadow": this.trendLineShowShadow = o.value.stimulsoft.toBoolean(); break; case "LegendBrush": this.legendBrush = l.Deserialize.brush(o.value); break; case "LegendLabelsColor": this.legendLabelsColor = l.Deserialize.color(o.value); break; case "LegendBorderColor": this.legendBorderColor = l.Deserialize.color(o.value); break; case "LegendTitleColor": this.legendTitleColor = l.Deserialize.color(o.value); break; case "AxisTitleColor": this.axisTitleColor = l.Deserialize.color(o.value); break; case "AxisLineColor": this.axisLineColor = l.Deserialize.color(o.value); break; case "AxisLabelsColor": this.axisLabelsColor = l.Deserialize.color(o.value); break; case "MarkerVisible": this.markerVisible = o.value.stimulsoft.toBoolean(); break; case "InterlacingHorBrush": this.interlacingHorBrush = l.Deserialize.brush(o.value); break; case "InterlacingVertBrush": this.interlacingVertBrush = l.Deserialize.brush(o.value); break; case "GridLinesHorColor": this.gridLinesHorColor = l.Deserialize.color(o.value); break; case "GridLinesVertColor": this.gridLinesVertColor = l.Deserialize.color(o.value); break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , g.prototype.loadFromXml = function(e) { d.prototype.loadFromXml.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Border": case "br": this.border = a.loadFromXml(i.textContent); break; case "Brush": case "bh": this.brush = o.loadFromXml(i.textContent); break; case "BrushType": this.brushType = u.parse(c, i.textContent); break; case "StyleColors": this.styleColors = t.System.Text.StiReportObjectStringConverter.convertStringToColorArray(i.textContent); break; case "BasicStyleColor": this.basicStyleColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "AllowUseBorderFormatting": this.allowUseBorderFormatting = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseBorderSides": this.allowUseBorderSides = i.textContent.stimulsoft.toBoolean(); break; case "ChartAreaBrush": this.chartAreaBrush = o.loadFromXml(i.textContent); break; case "ChartAreaBorderColor": this.chartAreaBorderColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "SeriesLabelsBrush": this.seriesLabelsBrush = o.loadFromXml(i.textContent); break; case "SeriesLabelsColor": this.seriesLabelsColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "SeriesLabelsBorderColor": this.seriesLabelsBorderColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "SeriesShowShadow": this.seriesShowShadow = i.textContent.stimulsoft.toBoolean(); break; case "SeriesShowBorder": this.seriesShowBorder = i.textContent.stimulsoft.toBoolean(); break; case "SeriesLighting": this.seriesLighting = i.textContent.stimulsoft.toBoolean(); break; case "SeriesLabelsLineColor": this.seriesLabelsLineColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "TrendLineColor": this.trendLineColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "TrendLineShowShadow": this.trendLineShowShadow = i.textContent.stimulsoft.toBoolean(); break; case "LegendBrush": this.legendBrush = o.loadFromXml(i.textContent); break; case "LegendLabelsColor": this.legendLabelsColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "LegendBorderColor": this.legendBorderColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "LegendTitleColor": this.legendTitleColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "AxisTitleColor": this.axisTitleColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "AxisLineColor": this.axisLineColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "AxisLabelsColor": this.axisLabelsColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "MarkerVisible": this.markerVisible = i.textContent.stimulsoft.toBoolean(); break; case "InterlacingHorBrush": this.interlacingHorBrush = o.loadFromXml(i.textContent); break; case "InterlacingVertBrush": this.interlacingVertBrush = o.loadFromXml(i.textContent); break; case "GridLinesHorColor": this.gridLinesHorColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "GridLinesVertColor": this.gridLinesVertColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break } } } , g.prototype.getStyleFromComponent = function(o, a, s) { void 0 === s && (s = null); var l = null == s ? null : s.stimulsoft.as(r.StiStyle) , u = o.stimulsoft.as(t.Report.Chart.IStiChart); if (null != u) { if (u.style.stimulsoft.is(t.Report.Chart.IStiCustomStyle)) { var c = u.customStyleName; !i.isNullOrEmpty(c) && null != u.report && u.report.styles.getByName(c) && u.report.styles.getByName(c).stimulsoft.is(g) && (this.basicStyleColor = u.report.styles.getByName(c).basicStyleColor, this.styleColors = u.report.styles.getByName(c).styleColors, this.axisLabelsColor = u.report.styles.getByName(c).axisLabelsColor) } else this.basicStyleColor = u.style.core.basicStyleColor, this.styleColors = u.style.core.styleColors, this.axisLabelsColor = u.style.core.axisLabelsColor; if ((a & e.StiStyleElements.Border) > 0) { var d = o.stimulsoft.as(m); this.border = d.border.clone(), this.allowUseBorderFormatting = !0, this.allowUseBorderSides = !0 } if ((a & e.StiStyleElements.Brush) > 0) { var d = o.stimulsoft.as(p); this.brush = d.brush.clone(), this.allowUseBrush = !0 } if (o.stimulsoft.is(h) && (a & e.StiStyleElements.Brush) > 0) { var d = o.stimulsoft.as(h); this.brush = new n(d.backColor), this.allowUseBrush = !0 } } } , g }(r.StiBaseStyle); r.StiChartStyle = d }(r = e.Styles || (e.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.StiString , o = t.Report.StiTableStyle , a = t.Base.Drawing.StiColor , s = t.Base.Drawing.StiEmptyBrush , l = t.Report.Maps.StiMap28StyleFX , u = t.Report.Maps.StiMap27StyleFX , c = t.Report.Maps.StiMap26StyleFX , m = t.Report.Maps.StiMap25StyleFX , p = t.Report.Maps.StiMap24StyleFX , h = t.Report.Maps.StiMap29StyleFX , d = t.Report.Maps.StiMap30StyleFX , g = t.Report.Maps.StiMap31StyleFX , f = t.Report.Maps.StiMap32StyleFX , S = t.Report.Maps.StiMap33StyleFX , A = t.Base.Drawing.StiBrush , y = t.Base.Drawing.StiColorUtils , w = t.Report.Styles.StiDialogStyle , b = t.Report.Styles.StiCrossTabStyle , v = t.Base.Drawing.StiSolidBrush , C = t.Report.Styles.StiMapStyle , E = t.Report.Maps.StiMapStyleIdent , B = t.System.Drawing.ColorTranslator , T = t.System.Drawing.Color , I = t.Report.Components.IStiBackColor , x = t.Report.Components.IStiForeColor , F = t.Base.Dashboard.StiElementConsts , D = t.System.Drawing.FontFamily , R = t.Report.Styles.StiChartStyle , P = function() { function P() {} return P.cloneColors = function(t) { if (null == t) return null; for (var e = Array.create(T, t.length), r = 0; r < t.length; r++) e[r] = t[r]; return e } , P.getCopyChartStyle = function(t, e) { var r = t.core , i = new R; return i.brush = new v(this.getBackColor(e)), i.chartAreaBrush = r.chartAreaBrush.clone(), i.chartAreaBorderColor = r.chartAreaBorderColor, i.seriesLighting = r.seriesLighting, i.seriesShowShadow = r.seriesShowShadow, i.seriesShowBorder = r.seriesShowBorder, i.seriesLabelsBrush = r.seriesLabelsBrush.clone(), i.seriesLabelsColor = r.seriesLabelsColor, i.seriesLabelsBorderColor = r.seriesLabelsBorderColor, i.legendBrush = r.legendBrush, i.legendLabelsColor = r.legendLabelsColor, i.legendBorderColor = r.legendBorderColor, i.legendTitleColor = r.legendTitleColor, i.axisTitleColor = r.axisTitleColor, i.axisLineColor = r.axisLineColor, i.axisLabelsColor = r.axisLabelsColor, i.markerVisible = r.markerVisible, i.interlacingHorBrush = r.interlacingHorBrush.clone(), i.interlacingVertBrush = r.interlacingVertBrush.clone(), i.gridLinesHorColor = r.gridLinesHorColor, i.gridLinesVertColor = r.gridLinesVertColor, i.styleColors = this.cloneColors(r.styleColors), i.basicStyleColor = r.basicStyleColor, i } , P.getCopyTableStyle = function(t) { var e = new o; 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 } , P.convertToReportGaugeStyle = function(i) { var o = null; if (i.style != r.StiElementStyleIdent.Custom || n.isNullOrEmpty(i.customStyleName)) { var a = i.style == r.StiElementStyleIdent.Auto ? i.page.style : i.style; o = this.getGaugeStyle2(a) } else { var l = i.report.styles.toList().firstOrDefault(function(t) { return t.name == i.customStyleName }); null != l && (o = new t.Report.Gauge.StiCustomGaugeStyle(l)) } null == o && (o = new t.Report.Gauge.StiGaugeStyleXF29); var u = o.core , c = new e.StiGaugeStyle; return c.brush = u.brush.clone(), c.borderColor = u.borderColor, c.foreColor = u.foreColor, c.borderWidth = u.borderWidth, c.tickMarkMajorBrush = new s, c.tickMarkMajorBorder = u.tickMarkMajorBorder.clone(), c.tickMarkMinorBrush = u.tickMarkMinorBrush.clone(), c.tickMarkMinorBorder = u.tickMarkMinorBorder.clone(), c.tickLabelMajorTextBrush = u.tickLabelMajorTextBrush.clone(), c.tickLabelMajorFont = u.tickLabelMajorFont.clone(), c.tickLabelMinorTextBrush = u.tickLabelMinorTextBrush.clone(), c.tickLabelMinorFont = u.tickLabelMinorFont.clone(), c.markerBrush = u.markerBrush.clone(), c.linearBarBrush = u.linearBarBrush.clone(), c.linearBarBorderBrush = u.linearBarBorderBrush.clone(), c.linearBarEmptyBrush = u.linearBarEmptyBrush.clone(), c.linearBarEmptyBorderBrush = u.linearBarEmptyBorderBrush.clone(), c.radialBarBrush = u.radialBarBrush.clone(), c.radialBarBorderBrush = u.radialBarBorderBrush.clone(), c.radialBarEmptyBrush = u.radialBarEmptyBrush.clone(), c.radialBarEmptyBorderBrush = u.radialBarEmptyBorderBrush.clone(), c.needleBrush = u.needleBrush.clone(), c.needleBorderBrush = u.needleBorderBrush.clone(), c.needleCapBrush = u.needleCapBrush.clone(), c.needleCapBorderBrush = u.needleCapBorderBrush.clone(), c } , P.convertToReportPivotTableStyle = function(t) { var e = this.getPivotTableStyle(t) , r = new b; return r.backColor = e.backColor, r.alternatingCellForeColor = e.alternatingCellForeColor, r.alternatingCellBackColor = e.alternatingCellBackColor, r.cellBackColor = e.cellBackColor, r.cellForeColor = e.cellForeColor, r.lineColor = e.lineColor, r.columnHeaderBackColor = e.columnHeaderBackColor, r.columnHeaderForeColor = e.columnHeaderForeColor, r.hotColumnHeaderBackColor = e.hotColumnHeaderBackColor, r.hotRowHeaderBackColor = e.hotRowHeaderBackColor, r.rowHeaderBackColor = e.rowHeaderBackColor, r.rowHeaderForeColor = e.rowHeaderForeColor, r.selectedCellBackColor = e.selectedCellBackColor, r.selectedCellForeColor = e.selectedCellForeColor, r } , P.convertToReportIndicatorStyle = function(t) { var r = this.getIndicatorStyle(t) , i = new e.StiIndicatorStyle; return i.backColor = this.getBackColor(t), i.foreColor = this.getForeColor(t), i.hotBackColor = this.getHotBackColor(t), i.glyphColor = r.glyphColor, i.positiveColor = r.positiveColor, i.negativeColor = r.negativeColor, i } , P.convertToReportProgressStyle = function(t) { var r = this.getProgressStyle(t) , i = new e.StiProgressStyle; return i.backColor = r.backColor, i.trackColor = r.trackColor, i.bandColor = r.bandColor, i.seriesColors = r.seriesColors, i } , P.convertToReportRegionMapStyle = function(t) { var e; if (t.style != r.StiElementStyleIdent.Custom || n.isNullOrEmpty(t.customStyleName)) { var i = t.style == r.StiElementStyleIdent.Auto ? t.page.style : t.style; e = this.getMapStyle2(i) } else e = t.report.styles.toList().firstOrDefault(function(e) { return e.name == t.customStyleName }); null == e && (e = new h); var o = new C; return o.backColor = e.backColor, o.borderColor = e.borderColor, o.borderSize = e.borderSize, o.colors = e.colors, o.defaultColor = e.defaultColor, o.heatmapColors = e.heatmapColors, o.individualColor = e.individualColor, o.labelForeground = e.labelForeground, o.labelShadowForeground = e.labelShadowForeground, o } , P.convertToReportControlStyle = function(t) { var e = this.getControlStyle(t) , r = new w; return r.backColor = e.backColor, r.foreColor = e.foreColor, r.glyphColor = e.glyphColor, r.hotBackColor = e.hotBackColor, r.hotForeColor = e.hotForeColor, r.hotGlyphColor = e.hotGlyphColor, r.hotSelectedBackColor = e.hotSelectedBackColor, r.hotSelectedForeColor = e.hotSelectedForeColor, r.hotSelectedGlyphColor = e.hotSelectedGlyphColor, r.selectedBackColor = e.selectedBackColor, r.selectedForeColor = e.selectedForeColor, r.selectedGlyphColor = e.selectedGlyphColor, r.separatorColor = e.separatorColor, r } , P.getDashboardBackColor = function(t, e) { if (null == t) return T.white; var i = t.stimulsoft.as(I); if (null != i && !i.backColor.stimulsoft.equals(T.transparent)) return i.backColor; switch (t.style) { case r.StiElementStyleIdent.SlateGray: case r.StiElementStyleIdent.DarkBlue: case r.StiElementStyleIdent.DarkGray: return a.get("#333333"); case r.StiElementStyleIdent.DarkTurquoise: return a.get("#1e4a61"); case r.StiElementStyleIdent.Silver: return a.get("43545e"); case r.StiElementStyleIdent.AliceBlue: return a.get("40508d"); default: return e ? a.get("#f3f3f3") : T.white } } , P.isDarkStyle = function(t) { if (null == t) return !1; return this.isDarkStyle2(t.style) } , P.isDarkStyle3 = function(t) { var e = this.getStyle(t); if (e != r.StiElementStyleIdent.Custom && e != r.StiElementStyleIdent.Auto || null == t.page || (e = this.getStyle(t.page.stimulsoft.as(r.IStiDashboard))), e == r.StiElementStyleIdent.AliceBlue && !t.stimulsoft.is(r.IStiDashboard)) return !1; return this.isDarkStyle2(e) } , P.isDarkStyle2 = function(t) { switch (t) { case r.StiElementStyleIdent.SlateGray: case r.StiElementStyleIdent.DarkBlue: case r.StiElementStyleIdent.DarkGray: case r.StiElementStyleIdent.DarkTurquoise: case r.StiElementStyleIdent.Silver: case r.StiElementStyleIdent.AliceBlue: return !0; default: return !1 } } , P.getFont = function(t) { if (this.getStyle(t) == r.StiElementStyleIdent.Custom) { var e = t.report.styles.getByName(t.customStyleName).stimulsoft.as(w); if (null != e && e.allowUseFont && null != e.font) return e.font } return t.font } , P.getForeColor = function(t, e) { void 0 === e && (e = null); var i = t.stimulsoft.as(x); if (null != i && !i.foreColor.stimulsoft.equals(T.transparent)) return i.foreColor; var n = this.getStyleForeColor(t); if (!n.stimulsoft.equals(T.transparent)) return n; var o = t.stimulsoft.as(r.IStiControlElement); if (null != o && !T.transparent.stimulsoft.equals(this.getControlStyle(o).foreColor)) return this.getControlStyle(o).foreColor; if (null != e) return e; return this.getNativeForeColor(t) } , P.getStyleForeColor = function(t) { if (this.getStyle(t) != r.StiElementStyleIdent.Custom) return T.transparent; var e = t.stimulsoft.as(r.IStiDashboardElementStyle) , i = null != e ? e.customStyleName : null; if (t.stimulsoft.is(r.IStiIndicatorElement)) { var n = this.getIndicatorStyle(t); return null == n ? T.transparent : n.foreColor } if (t.stimulsoft.is(r.IStiProgressElement)) { var n = this.getProgressStyle(t); return null == n ? T.transparent : n.foreColor } if (t.stimulsoft.is(r.IStiGaugeElement)) { var n = t.report.styles.getCustomGaugeStyle(i); return null != n && null != n.core && null != n.core.foreColor ? n.core.foreColor : T.transparent } if (t.stimulsoft.is(r.IStiRegionMapElement)) { var n = t.report.styles.getByName(i); return null == n ? T.transparent : n.labelForeground } if (t.stimulsoft.is(r.IStiControlElement)) { var n = t.report.styles.getByName(i); return null == n ? T.transparent : n.foreColor } return T.transparent } , P.getForeColor2 = function(t) { if (t == r.StiElementStyleIdent.Silver) return a.get("e9f4fc"); if (t == r.StiElementStyleIdent.AliceBlue) return a.get("2e2e2e"); return this.isDarkStyle2(t) ? B.fromHtml("#dddddd") : F.ForegroundColor } , P.getNativeForeColor = function(t) { return void 0 === t && (t = null), this.getForeColor2(this.getStyle(t)) } , P.getSelectedForeColor = function(t) { if (this.getStyle(t) == r.StiElementStyleIdent.Custom) { var e = t.report.styles.getByName(t.customStyleName).stimulsoft.as(w); if (null != e && !T.transparent.stimulsoft.equals(e.selectedForeColor)) return e.selectedForeColor } return this.getControlStyle(t).foreColor } , P.getSelectedBackColor = function(t) { if (this.getStyle(t) == r.StiElementStyleIdent.Custom) { var e = t.report.styles.getByName(t.customStyleName).stimulsoft.as(w); if (null != e && !T.transparent.stimulsoft.equals(e.selectedBackColor)) return e.selectedBackColor } return this.getControlStyle(t).backColor } , P.getGlyphColor2 = function(t) { if (this.getStyle(t) == r.StiElementStyleIdent.Custom) { var e = t.report.styles.getByName(t.customStyleName).stimulsoft.as(w); if (null != e && !T.transparent.stimulsoft.equals(e.glyphColor)) return e.glyphColor } return this.getControlStyle(t).glyphColor } , P.getGlyphColor = function(t) { if (!T.transparent.stimulsoft.equals(t.glyphColor)) return t.glyphColor; if (this.getStyle(t) == r.StiElementStyleIdent.Custom) { var e = t.report.styles.getByName(t.customStyleName); if (null != e && !T.transparent.stimulsoft.equals(e.glyphColor)) return e.glyphColor } return this.getIndicatorStyle(t).glyphColor } , P.getSeparatorColor = function(t) { if (this.getStyle(t) == r.StiElementStyleIdent.Custom) { var e = t.report.styles.getByName(t.customStyleName); if (null != e && !T.transparent.stimulsoft.equals(e.separatorColor)) return e.separatorColor } return this.getControlStyle(t).separatorColor } , P.getBackColor = function(t, e) { void 0 === e && (e = null); var i = t.stimulsoft.as(I); if (null != i && !i.backColor.stimulsoft.equals(T.transparent)) { var n = i.backColor; return 255 != n.a ? T.fromArgb(255, n) : n } var o = this.getStyleBackColor(t); if (!o.stimulsoft.equals(T.transparent)) return o; var a = t.stimulsoft.as(r.IStiControlElement); if (null != a && !T.transparent.stimulsoft.equals(this.getControlStyle(a).backColor)) return this.getControlStyle(a).backColor; if (null != e) return e; return this.getBackColor2(this.getStyle(t)) } , P.getStyleBackColor = function(t) { if (this.getStyle(t) != r.StiElementStyleIdent.Custom) return T.transparent; var e = t.stimulsoft.as(r.IStiDashboardElementStyle) , i = null != e ? e.customStyleName : null; if (t.stimulsoft.is(r.IStiIndicatorElement)) { var n = this.getIndicatorStyle(t); return null == n ? T.transparent : n.backColor } if (t.stimulsoft.is(r.IStiProgressElement)) { var n = this.getProgressStyle(t); return null == n ? T.transparent : n.backColor } if (t.stimulsoft.is(r.IStiGaugeElement)) { var n = t.report.styles.getCustomGaugeStyle(i); return null != n && null != n.core && null != n.core.brush ? A.toColor(n.core.brush) : T.transparent } if (t.stimulsoft.is(r.IStiChartElement)) { var n = t.report.styles.getByName(i); return null != n && null != n.brush ? A.toColor(n.brush) : T.transparent } if (t.stimulsoft.is(r.IStiRegionMapElement)) { var n = t.report.styles.getByName(i); return null == n ? T.transparent : n.backColor } if (t.stimulsoft.is(r.IStiTableElement)) { var n = t.report.styles.getByName(i); return null == n ? T.transparent : n.backColor } if (t.stimulsoft.is(r.IStiPivotTableElement)) { var n = t.report.styles.getByName(i); return null == n ? T.transparent : n.backColor } if (t.stimulsoft.is(r.IStiControlElement)) { var n = t.report.styles.getByName(i); return null == n ? T.transparent : n.backColor } return T.transparent } , P.getHotBackColor = function(t) { var e = this.getStyle(t); return this.isDarkStyle2(e) ? y.light(this.getBackColor(t), 15) : y.dark(this.getBackColor(t), 15) } , P.getBackColor2 = function(t) { switch (t) { case r.StiElementStyleIdent.DarkBlue: return B.fromHtml("#0a325a"); case r.StiElementStyleIdent.SlateGray: return B.fromHtml("#33475b"); case r.StiElementStyleIdent.DarkGray: return B.fromHtml("#595b65"); case r.StiElementStyleIdent.DarkTurquoise: return B.fromHtml("#235e6d"); case r.StiElementStyleIdent.Silver: return a.get("6d7e8b"); case r.StiElementStyleIdent.AliceBlue: return a.get("f2f5fc"); default: return F.BackgroundColor } } , P.getTitleForeColor = function(t) { var e = this.getStyle(t); if (e == r.StiElementStyleIdent.Silver) return a.get("e9f4fc"); if (e == r.StiElementStyleIdent.AliceBlue) return a.get("1f377f"); return this.isDarkStyle2(this.getStyle(t)) ? B.fromHtml("#dddddd") : F.TitleFont.Color } , P.getGaugeStyle = function(t) { return this.getGaugeStyle2(this.getStyle(t)) } , P.getGaugeStyle2 = function(e) { switch (e) { case r.StiElementStyleIdent.Orange: return new t.Report.Gauge.StiGaugeStyleXF24; case r.StiElementStyleIdent.Green: return new t.Report.Gauge.StiGaugeStyleXF25; case r.StiElementStyleIdent.Turquoise: return new t.Report.Gauge.StiGaugeStyleXF26; case r.StiElementStyleIdent.SlateGray: return new t.Report.Gauge.StiGaugeStyleXF27; case r.StiElementStyleIdent.DarkBlue: return new t.Report.Gauge.StiGaugeStyleXF28; case r.StiElementStyleIdent.Blue: return new t.Report.Gauge.StiGaugeStyleXF29; case r.StiElementStyleIdent.DarkGray: return new t.Report.Gauge.StiGaugeStyleXF30; case r.StiElementStyleIdent.DarkTurquoise: return new t.Report.Gauge.StiGaugeStyleXF31; case r.StiElementStyleIdent.Silver: return new t.Report.Gauge.StiGaugeStyleXF32; case r.StiElementStyleIdent.AliceBlue: return new t.Report.Gauge.StiGaugeStyleXF33; default: return new t.Report.Gauge.StiGaugeStyleXF29 } } , P.getChartStyle = function(t) { return this.getChartStyle2(this.getStyle(t)) } , P.getChartStyle2 = function(e) { switch (e) { case r.StiElementStyleIdent.Orange: var i = new t.Report.Chart.StiStyle24; return i.core.markerVisible = !1, i; case r.StiElementStyleIdent.Green: var n = new t.Report.Chart.StiStyle25; return n.core.markerVisible = !1, n; case r.StiElementStyleIdent.Turquoise: var o = new t.Report.Chart.StiStyle26; return o.core.markerVisible = !1, o; case r.StiElementStyleIdent.SlateGray: var a = new t.Report.Chart.StiStyle27; return a.core.markerVisible = !1, a; case r.StiElementStyleIdent.DarkBlue: var s = new t.Report.Chart.StiStyle28; return s.core.markerVisible = !1, s; case r.StiElementStyleIdent.Blue: var l = new t.Report.Chart.StiStyle29; return l.core.markerVisible = !1, l; case r.StiElementStyleIdent.DarkGray: var u = new t.Report.Chart.StiStyle30; return u.core.markerVisible = !1, u; case r.StiElementStyleIdent.DarkTurquoise: var c = new t.Report.Chart.StiStyle31; return c.core.markerVisible = !1, c; case r.StiElementStyleIdent.Silver: var m = new t.Report.Chart.StiStyle32; return m.core.markerVisible = !1, m; case r.StiElementStyleIdent.AliceBlue: var p = new t.Report.Chart.StiStyle33; return p.core.markerVisible = !1, p; default: var h = new t.Report.Chart.StiStyle29; return h.core.markerVisible = !1, h } } , P.getMapStyleIdent = function(t) { switch (this.getStyle(t)) { case r.StiElementStyleIdent.Orange: return E.Style24; case r.StiElementStyleIdent.Green: return E.Style25; case r.StiElementStyleIdent.Turquoise: return E.Style26; case r.StiElementStyleIdent.SlateGray: return E.Style27; case r.StiElementStyleIdent.DarkBlue: return E.Style28; case r.StiElementStyleIdent.Blue: return E.Style29; case r.StiElementStyleIdent.DarkGray: return E.Style30; case r.StiElementStyleIdent.DarkTurquoise: return E.Style31; case r.StiElementStyleIdent.Silver: return E.Style32; case r.StiElementStyleIdent.AliceBlue: return E.Style33; default: return E.Style29 } } , P.getMapStyle = function(t) { return this.getMapStyle2(this.getStyle(t)) } , P.getMapStyle2 = function(t) { switch (t) { case r.StiElementStyleIdent.Orange: return new p; case r.StiElementStyleIdent.Green: return new m; case r.StiElementStyleIdent.Turquoise: return new c; case r.StiElementStyleIdent.SlateGray: return new u; case r.StiElementStyleIdent.DarkBlue: return new l; case r.StiElementStyleIdent.Blue: return new h; case r.StiElementStyleIdent.DarkGray: return new d; case r.StiElementStyleIdent.DarkTurquoise: return new g; case r.StiElementStyleIdent.Silver: return new f; case r.StiElementStyleIdent.AliceBlue: return new S; default: return new h } } , P.getControlStyle = function(t) { switch (this.getStyle(t)) { case r.StiElementStyleIdent.Orange: return new i.StiOrangeControlElementStyle; case r.StiElementStyleIdent.Green: return new i.StiGreenControlElementStyle; case r.StiElementStyleIdent.Turquoise: return new i.StiTurquoiseControlElementStyle; case r.StiElementStyleIdent.SlateGray: return new i.StiSlateGrayControlElementStyle; case r.StiElementStyleIdent.DarkBlue: return new i.StiDarkBlueControlElementStyle; case r.StiElementStyleIdent.Blue: return new i.StiBlueControlElementStyle; case r.StiElementStyleIdent.DarkGray: return new i.StiDarkGrayControlElementStyle; case r.StiElementStyleIdent.DarkTurquoise: return new i.StiDarkTurquoiseControlElementStyle; case r.StiElementStyleIdent.Silver: return new i.StiSilverControlElementStyle; case r.StiElementStyleIdent.AliceBlue: return new i.StiAliceBlueControlElementStyle; case r.StiElementStyleIdent.Custom: var e = t.stimulsoft.as(r.IStiControlElement); if (null != e && !n.isNullOrWhiteSpace(e.customStyleName)) { var o = e.customStyleName.toLowerCase() , a = t.report.styles.toList().where(function(t) { return t.stimulsoft.is(w) && null != t.name }).cast().firstOrDefault(function(t) { return t.name.toLowerCase() == o }); if (null != a) return new i.StiCustomControlElementStyle(a) } break } return new i.StiDarkBlueControlElementStyle } , P.getIndicatorStyle = function(t) { switch (this.getStyle(t)) { case r.StiElementStyleIdent.Orange: return new i.StiOrangeIndicatorElementStyle; case r.StiElementStyleIdent.Green: return new i.StiGreenIndicatorElementStyle; case r.StiElementStyleIdent.Turquoise: return new i.StiTurquoiseIndicatorElementStyle; case r.StiElementStyleIdent.SlateGray: return new i.StiSlateGrayIndicatorElementStyle; case r.StiElementStyleIdent.DarkBlue: return new i.StiDarkBlueIndicatorElementStyle; case r.StiElementStyleIdent.Blue: return new i.StiBlueIndicatorElementStyle; case r.StiElementStyleIdent.DarkGray: return new i.StiDarkGrayIndicatorElementStyle; case r.StiElementStyleIdent.DarkTurquoise: return new i.StiDarkTurquoiseIndicatorElementStyle; case r.StiElementStyleIdent.Silver: return new i.StiSilverIndicatorElementStyle; case r.StiElementStyleIdent.AliceBlue: return new i.StiAliceBlueIndicatorElementStyle; case r.StiElementStyleIdent.Custom: if (!n.isNullOrWhiteSpace(t.customStyleName)) { var o = t.customStyleName.toLowerCase() , a = t.report.styles.toList().where(function(t) { return t.stimulsoft.is(e.StiIndicatorStyle) && null != t.name }).cast().firstOrDefault(function(t) { return t.name.toLowerCase() == o }); if (null != a) return new i.StiCustomIndicatorElementStyle(a) } break } return new i.StiOrangeIndicatorElementStyle } , P.getProgressStyle = function(t) { switch (this.getStyle(t)) { case r.StiElementStyleIdent.Blue: return new i.StiBlueProgressElementStyle; case r.StiElementStyleIdent.Orange: return new i.StiOrangeProgressElementStyle; case r.StiElementStyleIdent.Green: return new i.StiGreenProgressElementStyle; case r.StiElementStyleIdent.Turquoise: return new i.StiTurquoiseProgressElementStyle; case r.StiElementStyleIdent.SlateGray: return new i.StiSlateGrayProgressElementStyle; case r.StiElementStyleIdent.DarkBlue: return new i.StiDarkBlueProgressElementStyle; case r.StiElementStyleIdent.Blue: return new i.StiBlueProgressElementStyle; case r.StiElementStyleIdent.DarkGray: return new i.StiDarkGrayProgressElementStyle; case r.StiElementStyleIdent.DarkTurquoise: return new i.StiDarkTurquoiseProgressElementStyle; case r.StiElementStyleIdent.Silver: return new i.StiSilverProgressElementStyle; case r.StiElementStyleIdent.AliceBlue: return new i.StiAliceBlueProgressElementStyle; case r.StiElementStyleIdent.Custom: if (!n.isNullOrWhiteSpace(t.customStyleName)) { var o = t.customStyleName.toLowerCase() , a = t.report.styles.toList().where(function(t) { return t.stimulsoft.is(e.StiProgressStyle) && null != t.name }).cast().firstOrDefault(function(t) { return t.name.toLowerCase() == o }); if (null != a) return new i.StiCustomProgressElementStyle(a) } break } return new i.StiOrangeProgressElementStyle } , P.getTableStyle = function(t) { switch (this.getStyle(t)) { case r.StiElementStyleIdent.Orange: return new i.StiOrangeTableElementStyle; case r.StiElementStyleIdent.Green: return new i.StiGreenTableElementStyle; case r.StiElementStyleIdent.Turquoise: return new i.StiTurquoiseTableElementStyle; case r.StiElementStyleIdent.SlateGray: return new i.StiSlateGrayTableElementStyle; case r.StiElementStyleIdent.DarkBlue: return new i.StiDarkBlueTableElementStyle; case r.StiElementStyleIdent.Blue: return new i.StiBlueTableElementStyle; case r.StiElementStyleIdent.DarkGray: return new i.StiDarkGrayTableElementStyle; case r.StiElementStyleIdent.DarkTurquoise: return new i.StiDarkTurquoiseTableElementStyle; case r.StiElementStyleIdent.Silver: return new i.StiSilverTableElementStyle; case r.StiElementStyleIdent.AliceBlue: return new i.StiAliceBlueTableElementStyle; case r.StiElementStyleIdent.Silver: return new i.StiSilverTableElementStyle; case r.StiElementStyleIdent.AliceBlue: return new i.StiAliceBlueTableElementStyle; case r.StiElementStyleIdent.Custom: if (!n.isNullOrWhiteSpace(t.customStyleName)) { var e = t.customStyleName.toLowerCase() , a = t.report.styles.toList().where(function(t) { return t.stimulsoft.is(o) && null != t.name }).cast().firstOrDefault(function(t) { return t.name.toLowerCase() == e }); if (null != a) return new i.StiCustomTableElementStyle(a) } break } return new i.StiBlueTableElementStyle } , P.getPivotTableStyle = function(t) { switch (this.getStyle(t)) { case r.StiElementStyleIdent.Orange: return new i.StiOrangePivotElementStyle; case r.StiElementStyleIdent.Green: return new i.StiGreenPivotElementStyle; case r.StiElementStyleIdent.Turquoise: return new i.StiTurquoisePivotElementStyle; case r.StiElementStyleIdent.SlateGray: return new i.StiSlateGrayPivotElementStyle; case r.StiElementStyleIdent.DarkBlue: return new i.StiDarkBluePivotElementStyle; case r.StiElementStyleIdent.Blue: return new i.StiBluePivotElementStyle; case r.StiElementStyleIdent.DarkGray: return new i.StiDarkGrayPivotElementStyle; case r.StiElementStyleIdent.DarkTurquoise: return new i.StiDarkTurquoisePivotElementStyle; case r.StiElementStyleIdent.Silver: return new i.StiSilverPivotElementStyle; case r.StiElementStyleIdent.AliceBlue: return new i.StiAliceBluePivotElementStyle; case r.StiElementStyleIdent.Custom: if (!n.isNullOrWhiteSpace(t.customStyleName)) { var e = t.customStyleName.toLowerCase() , o = t.report.styles.toList().where(function(t) { return t.stimulsoft.is(b) && null != t.name }).cast().firstOrDefault(function(t) { return t.name.toLowerCase() == e }); if (null != o) return new i.StiCustomPivotElementStyle(o) } break } return new i.StiOrangePivotElementStyle } , P.getStyle = function(t) { var e = t.stimulsoft.as(r.IStiDashboardElementStyle) , i = null != t.page ? t.page.stimulsoft.as(r.IStiDashboardElementStyle) : null; if (null == e && null == i) return r.StiElementStyleIdent.Blue; if (null == e) return i.style; if (null == i) return e.style; return e.style == r.StiElementStyleIdent.Auto ? i.style : e.style } , P.getIconFontFamily = function() { if (null == this.iconFontFamily) { var e = t.Dashboard.Helpers.StiFontIconsHelper; if (null != e) { var r = e.getFontFamaliIcons; null != r && (this.iconFontFamily = r.apply()) } } return null == this.iconFontFamily && (this.iconFontFamily = new D("Arial")), this.iconFontFamily } , P }(); i.StiDashboardStyleHelper = P }(i = r.Styles || (r.Styles = {})) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGaugeVisualSvgHelper = "IStiGaugeVisualSvgHelper" }(e = t.Visuals || (t.Visuals = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiIndicatorVisualSvgHelper = "IStiIndicatorVisualSvgHelper" }(e = t.Visuals || (t.Visuals = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiProgressVisualSvgHelper = "IStiProgressVisualSvgHelper" }(e = t.Visuals || (t.Visuals = {})) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAllowUserDrillDownDashboardInteraction = "IStiAllowUserDrillDownDashboardInteraction" }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAllowUserFilteringDashboardInteraction = "IStiAllowUserFilteringDashboardInteraction" }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiAllowUserSortingDashboardInteraction = "IStiAllowUserSortingDashboardInteraction" }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartArea = "IStiChartArea", t.ImplementsIStiChartArea = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var StiPenStyle = Stimulsoft.Base.Drawing.StiPenStyle, Color = Stimulsoft.System.Drawing.Color, Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartConstantLines = "IStiChartConstantLines", t.ImplementsIStiChartConstantLines = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.IStiReportComponent , i = t.Data.Engine.IStiRetrieval , n = t.Data.Engine.ImplementsIStiRetrieval; e.IStiElement = "IStiElement", e.ImplementsIStiElement = __spread([r, i], n) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGroupElement = "IStiGroupElement", t.ImplementsIStiGroupElement = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDashboardElementStyle = "IStiDashboardElementStyle", t.ImplementsIStiDashboardElementStyle = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiConvertibleElement = "IStiConvertibleElement", t.ImplementsIStiConvertibleElement = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.IStiUserSorts , i = t.Report.Dashboard.ImplementsIStiConvertibleElement , n = t.Report.Dashboard.IStiConvertibleElement , o = t.Data.Engine.ImplementsIStiDataTransformationElement , a = t.Data.Engine.ImplementsIStiDataTopN , s = t.Data.Engine.IStiDataTransformationElement , l = t.Data.Engine.IStiDataTopN , u = t.Report.Dashboard.ImplementsIStiGroupElement , c = t.Report.Dashboard.IStiGroupElement , m = t.Report.Dashboard.ImplementsIStiDashboardElementStyle , p = t.Report.Dashboard.IStiDashboardElementStyle , h = t.Report.Dashboard.ImplementsIStiElement , d = t.Report.Dashboard.IStiElement , g = t.Data.Engine.IStiUserFilters , f = t.Data.Engine.ImplementsIStiUserFilters , S = t.Data.Engine.ImplementsIStiUserSorts , A = t.Data.Engine.IStiTransformActions , y = t.Data.Engine.ImplementsIStiTransformActions , w = t.Data.Engine.IStiTransformFilters , b = t.Data.Engine.ImplementsIStiTransformFilters , v = t.Data.Engine.IStiTransformSorts , C = t.Data.Engine.ImplementsIStiTransformSorts , E = t.Data.Engine.IStiDataFilters , B = t.Data.Engine.ImplementsIStiDataFilters; e.IStiChartElement = "IStiChartElement", e.ImplementsIStiChartElement = __spread([d, g, r, p, A, w, v, l, s, c, E, n], h, f, S, m, y, b, C, a, o, u, B, i) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var StiMarkerType = Stimulsoft.Report.Chart.StiMarkerType, StiFilterCondition = Stimulsoft.Report.Components.StiFilterCondition, StiFilterDataType = Stimulsoft.Report.Components.StiFilterDataType, Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartElementCondition = "IStiChartElementCondition", t.ImplementsIStiChartElementCondition = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiChartLabels = "IStiChartLabels", t.ImplementsIStiChartLabels = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiItemElement = "IStiItemElement", t.ImplementsIStiItemElement = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.ImplementsIStiConvertibleElement , i = t.Report.Dashboard.IStiConvertibleElement , n = t.Base.IStiAppCell; e.IStiFilterElement = "IStiFilterElement", e.ImplementsIStiFilterElement = __spread([n, i], r) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.ImplementsIStiFilterElement , i = t.Report.Dashboard.ImplementsIStiDashboardElementStyle , n = t.Report.Dashboard.ImplementsIStiElement , o = t.Report.Dashboard.IStiElement , a = t.Report.Dashboard.IStiDashboardElementStyle , s = t.Report.Dashboard.IStiFilterElement , l = t.Data.Engine.IStiUserFilters , u = t.Data.Engine.ImplementsIStiUserFilters , c = t.Report.Components.IStiBackColor , m = t.Report.Components.ImplementsIStiBackColor , p = t.Report.Components.IStiForeColor , h = t.Report.Components.ImplementsIStiForeColor , d = t.Report.Components.IStiTextFormat , g = t.Report.Components.ImplementsIStiTextFormat , f = t.Report.Components.IStiFont , S = t.Report.Components.ImplementsIStiFont; e.IStiControlElement = "IStiControlElement", e.ImplementsIStiControlElement = __spread([o, a, l, s, f, p, c, d], n, i, u, r, S, h, m, g) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.ImplementsIStiDataTransformationElement , i = t.Data.Engine.IStiDataTransformationElement , n = t.Report.Dashboard.ImplementsIStiGroupElement , o = t.Report.Dashboard.ImplementsIStiItemElement , a = t.Report.Dashboard.ImplementsIStiControlElement , s = t.Report.Dashboard.IStiItemElement , l = t.Report.Dashboard.IStiGroupElement , u = t.Report.Dashboard.IStiControlElement , c = t.Data.Engine.IStiTransformActions , m = t.Data.Engine.ImplementsIStiTransformActions , p = t.Data.Engine.IStiTransformFilters , h = t.Data.Engine.ImplementsIStiTransformFilters , d = t.Data.Engine.IStiTransformSorts , g = t.Data.Engine.ImplementsIStiTransformSorts , f = t.Data.Engine.IStiDataFilters , S = t.Data.Engine.ImplementsIStiDataFilters; e.IStiComboBoxElement = "IStiComboBoxElement", e.ImplementsIStiComboBoxElement = __spread([u, s, c, p, d, i, l, f], a, o, m, h, g, r, n, S) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.IStiBackColor , i = t.Report.Components.ImplementsIStiBackColor; e.IStiPanel = "IStiPanel", e.ImplementsIStiPanel = __spread([e.IStiElement, r], e.ImplementsIStiElement, i) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.IStiPanel , i = t.Report.Dashboard.ImplementsIStiPanel , n = t.Report.Dashboard.IStiDashboardElementStyle , o = t.Report.Dashboard.ImplementsIStiDashboardElementStyle , a = t.Data.Engine.IStiQueryObject , s = t.Data.Engine.ImplementsIStiQueryObject; e.IStiDashboard = "IStiDashboard", e.ImplementsIStiDashboard = __spread([r, a, n], i, s, o) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiDashboardDrillDownParameter = "IStiDashboardDrillDownParameter", t.ImplementsIStiDashboardDrillDownParameter = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.ICloneable , i = t.Base.Design.IStiDefault; e.IStiDashboardInteraction = "IStiDashboardInteraction", e.ImplementsIStiDashboardInteraction = [r, i] }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.IStiDataFilters , i = t.Data.Engine.ImplementsIStiDataFilters; e.IStiDatePickerElement = "IStiDatePickerElement", e.ImplementsIStiDatePickerElement = __spread([e.IStiControlElement, r], e.ImplementsIStiControlElement, i) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiElementInteraction = "IStiElementInteraction" }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiElementLayout = "IStiElementLayout", t.ImplementsIStiElementLayout = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiFixedHeightElement = "IStiFixedHeightElement", t.ImplementsIStiFixedHeightElement = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.IStiUserSorts , i = t.Report.Dashboard.ImplementsIStiConvertibleElement , n = t.Report.Dashboard.IStiConvertibleElement , 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 , m = t.Data.Engine.IStiTransformSorts , p = t.Data.Engine.ImplementsIStiTransformSorts , h = t.Data.Engine.IStiDataFilters , d = t.Data.Engine.ImplementsIStiDataFilters , g = t.Data.Engine.ImplementsIStiUserSorts; e.IStiGaugeElement = "IStiGaugeElement", e.ImplementsIStiGaugeElement = __spread([e.IStiElement, r, e.IStiDashboardElementStyle, s, u, m, a, e.IStiGroupElement, h, n], e.ImplementsIStiElement, g, e.ImplementsIStiDashboardElementStyle, l, c, p, o, e.ImplementsIStiGroupElement, d, i) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGaugeRange = "IStiGaugeRange", t.ImplementsIStiGaugeRange = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiImageElement = "IStiImageElement", t.ImplementsIStiImageElement = __spread([t.IStiElement], t.ImplementsIStiElement) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.IStiUserSorts , i = t.Report.Dashboard.ImplementsIStiConvertibleElement , n = t.Report.Dashboard.IStiConvertibleElement , o = t.Data.Engine.ImplementsIStiDataTransformationElement , a = t.Data.Engine.ImplementsIStiDataTopN , s = t.Data.Engine.IStiDataTransformationElement , l = t.Data.Engine.IStiDataTopN , u = t.Data.Engine.IStiTransformActions , c = t.Data.Engine.ImplementsIStiTransformActions , m = t.Data.Engine.IStiTransformFilters , p = t.Data.Engine.ImplementsIStiTransformFilters , h = t.Data.Engine.IStiTransformSorts , d = t.Data.Engine.ImplementsIStiTransformSorts , g = t.Data.Engine.IStiDataFilters , f = t.Data.Engine.ImplementsIStiDataFilters , S = t.Data.Engine.ImplementsIStiUserSorts; e.IStiIndicatorElement = "IStiIndicatorElement", e.ImplementsIStiIndicatorElement = __spread([e.IStiElement, r, e.IStiDashboardElementStyle, u, m, h, l, s, e.IStiGroupElement, g, n], e.ImplementsIStiElement, S, e.ImplementsIStiDashboardElementStyle, c, p, d, a, o, e.ImplementsIStiGroupElement, f, i) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Font = Stimulsoft.System.Drawing.Font, StiFontIcons = Stimulsoft.Report.Helpers.StiFontIcons, Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiIndicatorElementCondition = "IStiIndicatorElementCondition", t.ImplementsIStiIndicatorElementCondition = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiInteractionLayout = "IStiInteractionLayout" }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.ImplementsIStiDataTransformationElement , i = t.Data.Engine.IStiDataTransformationElement , n = t.Data.Engine.IStiTransformActions , o = t.Data.Engine.ImplementsIStiTransformActions , a = t.Data.Engine.IStiTransformFilters , s = t.Data.Engine.ImplementsIStiTransformFilters , l = t.Data.Engine.IStiTransformSorts , u = t.Data.Engine.ImplementsIStiTransformSorts , c = t.Data.Engine.IStiDataFilters , m = t.Data.Engine.ImplementsIStiDataFilters; e.IStiListBoxElement = "IStiListBoxElement", e.ImplementsIStiListBoxElement = __spread([e.IStiControlElement, e.IStiItemElement, n, a, l, i, e.IStiGroupElement, c], e.ImplementsIStiControlElement, e.ImplementsIStiItemElement, o, s, u, r, e.ImplementsIStiGroupElement, m) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiMargin = "IStiMargin", t.ImplementsIStiMargin = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiNegativeSeriesColors = "IStiNegativeSeriesColors", t.ImplementsIStiNegativeSeriesColors = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.ImplementsIStiDataTransformationElement , i = t.Data.Engine.IStiDataTransformationElement , n = t.Data.Engine.IStiTransformActions , o = t.Data.Engine.ImplementsIStiTransformActions , a = t.Data.Engine.IStiTransformFilters , s = t.Data.Engine.ImplementsIStiTransformFilters , l = t.Data.Engine.IStiTransformSorts , u = t.Data.Engine.ImplementsIStiTransformSorts , c = t.Data.Engine.IStiDataFilters , m = t.Data.Engine.ImplementsIStiDataFilters; e.IStiOnlineMapElement = "IStiOnlineMapElement", e.ImplementsIStiOnlineMapElement = __spread([e.IStiElement, n, a, l, i, e.IStiGroupElement, c], e.ImplementsIStiElement, o, s, u, r, e.ImplementsIStiGroupElement, m) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPadding = "IStiPadding", t.ImplementsIStiPadding = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPivotTableCreator = "IStiPivotTableCreator", t.ImplementsIStiPivotTableCreator = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPivotGridContainer = "IStiPivotGridContainer", t.ImplementsIStiPivotGridContainer = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.ImplementsIStiConvertibleElement , i = t.Report.Dashboard.IStiConvertibleElement , n = t.Data.Engine.ImplementsIStiDataTransformationElement , o = t.Data.Engine.IStiDataTransformationElement , a = t.Data.Engine.IStiTransformActions , s = t.Data.Engine.ImplementsIStiTransformActions , l = t.Data.Engine.IStiTransformFilters , u = t.Data.Engine.ImplementsIStiTransformFilters , c = t.Data.Engine.IStiTransformSorts , m = t.Data.Engine.ImplementsIStiTransformSorts , p = t.Data.Engine.IStiDataFilters , h = t.Data.Engine.ImplementsIStiDataFilters; e.IStiPivotTableElement = "IStiPivotTableElement", e.ImplementsIStiPivotTableElement = __spread([e.IStiElement, e.IStiDashboardElementStyle, a, l, c, o, e.IStiGroupElement, p, i], e.ImplementsIStiElement, e.ImplementsIStiDashboardElementStyle, s, u, m, n, e.ImplementsIStiGroupElement, h, r) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject; e.IStiPivotTableElementCondition = "IStiPivotTableElementCondition", e.ImplementsIStiPivotTableElementCondition = [r] }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.IStiUserSorts , i = t.Report.Dashboard.ImplementsIStiConvertibleElement , n = t.Report.Dashboard.IStiConvertibleElement , o = t.Data.Engine.ImplementsIStiDataTransformationElement , a = t.Data.Engine.ImplementsIStiDataTopN , s = t.Data.Engine.IStiDataTransformationElement , l = t.Data.Engine.IStiDataTopN , u = t.Data.Engine.IStiTransformActions , c = t.Data.Engine.ImplementsIStiTransformActions , m = t.Data.Engine.IStiTransformFilters , p = t.Data.Engine.ImplementsIStiTransformFilters , h = t.Data.Engine.IStiTransformSorts , d = t.Data.Engine.ImplementsIStiTransformSorts , g = t.Data.Engine.IStiDataFilters , f = t.Data.Engine.ImplementsIStiDataFilters , S = t.Data.Engine.ImplementsIStiUserSorts; e.IStiProgressElement = "IStiProgressElement", e.ImplementsIStiProgressElement = __spread([e.IStiElement, r, e.IStiDashboardElementStyle, u, m, h, l, s, e.IStiGroupElement, g, n], e.ImplementsIStiElement, S, e.ImplementsIStiDashboardElementStyle, c, p, d, a, o, e.ImplementsIStiGroupElement, f, i) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.ImplementsIStiDataTransformationElement , i = t.Data.Engine.IStiDataTransformationElement , n = t.Data.Engine.IStiUserFilters , o = t.Data.Engine.ImplementsIStiUserFilters , a = t.Data.Engine.IStiTransformActions , s = t.Data.Engine.ImplementsIStiTransformActions , l = t.Data.Engine.IStiTransformFilters , u = t.Data.Engine.ImplementsIStiTransformFilters , c = t.Data.Engine.IStiTransformSorts , m = t.Data.Engine.ImplementsIStiTransformSorts , p = t.Data.Engine.IStiDataFilters , h = t.Data.Engine.ImplementsIStiDataFilters; e.IStiRegionMapElement = "IStiRegionMapElement", e.ImplementsIStiRegionMapElement = __spread([e.IStiElement, e.IStiDashboardElementStyle, n, a, l, c, i, e.IStiGroupElement, p], e.ImplementsIStiElement, e.ImplementsIStiDashboardElementStyle, o, s, u, m, r, e.ImplementsIStiGroupElement, h) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSeriesColors = "IStiSeriesColors", t.ImplementsIStiSeriesColors = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiShapeElement = "IStiShapeElement", t.ImplementsIStiShapeElement = __spread([t.IStiElement], t.ImplementsIStiElement) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiSkipOwnFilter = "IStiSkipOwnFilter", t.ImplementsIStiSkipOwnFilter = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.IStiDashboardInteraction; e.IStiTableDashboardInteraction = "IStiTableDashboardInteraction", e.ImplementsIStiTableDashboardInteraction = [r] }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dashboard.ImplementsIStiConvertibleElement , i = t.Report.Dashboard.IStiConvertibleElement , n = t.Data.Engine.ImplementsIStiDataTransformationElement , o = t.Data.Engine.IStiDataTransformationElement , a = t.Data.Engine.IStiUserFilters , s = t.Data.Engine.ImplementsIStiUserFilters , l = t.Data.Engine.IStiTransformActions , u = t.Data.Engine.ImplementsIStiTransformActions , c = t.Data.Engine.IStiTransformFilters , m = t.Data.Engine.ImplementsIStiTransformFilters , p = t.Data.Engine.IStiTransformSorts , h = t.Data.Engine.ImplementsIStiTransformSorts , d = t.Data.Engine.IStiDataFilters , g = t.Data.Engine.ImplementsIStiDataFilters , f = t.Data.Engine.IStiUserSorts , S = t.Data.Engine.ImplementsIStiUserSorts , A = t.Report.Components.IStiFont , y = t.Report.Components.ImplementsIStiFont; e.IStiTableElement = "IStiTableElement", e.ImplementsIStiTableElement = __spread([e.IStiElement, f, a, e.IStiDashboardElementStyle, l, c, p, o, e.IStiGroupElement, d, A, i], e.ImplementsIStiElement, S, s, e.ImplementsIStiDashboardElementStyle, u, m, h, n, e.ImplementsIStiGroupElement, g, y, r) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTableElementAutoSizer = "IStiTableElementAutoSizer", t.ImplementsIStiTableElementAutoSizer = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTextElement = "IStiTextElement", t.ImplementsIStiTextElement = __spread([t.IStiElement], t.ImplementsIStiElement) }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.IStiBackColor , i = t.Report.Components.ImplementsIStiBackColor , n = t.Report.Components.IStiForeColor , o = t.Report.Components.ImplementsIStiForeColor , a = t.Report.Components.IStiHorAlignment , s = t.Report.Components.ImplementsIStiHorAlignment , l = t.Report.Components.IStiFont , u = t.Report.Components.ImplementsIStiFont; e.IStiTitle = "IStiTitle", e.ImplementsIStiTitle = __spread([l, a, n, r], u, s, o, i) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiTitleElement = "IStiTitleElement", t.ImplementsIStiTitleElement = [] }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.ImplementsIStiDataTransformationElement , i = t.Data.Engine.IStiDataTransformationElement , n = t.Data.Engine.IStiTransformActions , o = t.Data.Engine.ImplementsIStiTransformActions , a = t.Data.Engine.IStiTransformFilters , s = t.Data.Engine.ImplementsIStiTransformFilters , l = t.Data.Engine.IStiTransformSorts , u = t.Data.Engine.ImplementsIStiTransformSorts , c = t.Data.Engine.IStiDataFilters , m = t.Data.Engine.ImplementsIStiDataFilters; e.IStiTreeViewBoxElement = "IStiTreeViewBoxElement", e.ImplementsIStiTreeViewBoxElement = __spread([e.IStiControlElement, e.IStiItemElement, n, a, l, i, e.IStiGroupElement, c], e.ImplementsIStiControlElement, e.ImplementsIStiItemElement, o, s, u, r, e.ImplementsIStiGroupElement, m) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.ImplementsIStiDataTransformationElement , i = t.Data.Engine.IStiDataTransformationElement , n = t.Data.Engine.IStiTransformActions , o = t.Data.Engine.ImplementsIStiTransformActions , a = t.Data.Engine.IStiTransformFilters , s = t.Data.Engine.ImplementsIStiTransformFilters , l = t.Data.Engine.IStiTransformSorts , u = t.Data.Engine.ImplementsIStiTransformSorts , c = t.Data.Engine.IStiDataFilters , m = t.Data.Engine.ImplementsIStiDataFilters; e.IStiTreeViewElement = "IStiTreeViewElement", e.ImplementsIStiTreeViewElement = __spread([e.IStiControlElement, e.IStiItemElement, n, a, l, i, e.IStiGroupElement, c], e.ImplementsIStiControlElement, e.ImplementsIStiItemElement, o, s, u, r, e.ImplementsIStiGroupElement, m) }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiAppKey , i = t.System.Collections.Dictionary , n = function() { function t() {} return t.getKey = function(t) { var e = r.getOrGeneratedKey(t); null == e && (e = ""); var i = null != t ? t.getKey() : ""; return null == i && (i = ""), e + "." + i } , t.getLastImage = function(t) { var e = this.getKey(t); return this.cache.contains(e) ? this.cache.get(e) : null } , t.existsLastImage = function(t) { var e = this.getKey(t); return this.cache.contains(e) } , t.storeLastImage = function(t, e) { var r = this.getKey(t); this.cache.set(r, e) } , t.clean = function(t) { var e = this; null == t ? this.cache.clear() : this.cache.keys.toList().where(function(e) { return e.stimulsoft.startsWith(t) }, this).forEach(function(t) { return e.cache.remove(t) }) } , t.cache = new i, t }(); e.StiOnlineMapLastImageCache = n }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiAppKey , i = t.System.Collections.Dictionary , n = function() { function t() {} return t.getIntKey = function(t) { var e, r, i = t.getMeters(); if (null == i || !i.any()) return "0"; var n = 0 , o = i.select(function(t) { return (n++).toString() + t.getUniqueCode().toString() }).toList() , a = t.title.text; null == a && (a = ""), o.add(a.stimulsoft.getHashCode().toString()); var s = 0; try { for (var l = __values(o), u = l.next(); !u.done; u = l.next()) { s += u.value.stimulsoft.getHashCode() } } catch (t) { e = { error: t } } finally { try { u && !u.done && (r = l.return) && r.call(l) } finally { if (e) throw e.error } } return "" + s } , t.getKey = function(t) { var e = r.getOrGeneratedKey(t); null == e && (e = ""); var i = null != t ? t.getKey() : ""; null == i && (i = ""); var n = null != t ? this.getIntKey(t) : ""; return null == n && (n = ""), e + "." + i + "." + n } , t.isConverted = function(t) { var e = this.getKey(t); return this.cache.contains(e) && this.cache.get(e) } , t.putTrue = function(t) { this.put(t, !0) } , t.putFalse = function(t) { this.put(t, !1) } , t.put = function(t, e) { var r = this.getKey(t); this.cache.set(r, e) } , t.contains = function(t) { var e = this.getKey(t); return this.cache.contains(e) } , t.clean = function(t) { var e = this; void 0 === t && (t = null), null == t ? this.cache.clear() : this.cache.keys.toList().where(function(e) { return e.stimulsoft.startsWith(t) }).forEach(function(t) { return e.cache.remove(t) }) } , t.cache = new i, t }(); e.StiPivotToConvertedStateCache = n }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Dictionary , i = t.Base.StiAppKey , n = function() { function t() {} return t.getKey = function(t) { var e = i.getOrGeneratedKey(t); null == e && (e = ""); var r = null != t ? t.getKey() : ""; return null == r && (r = ""), e + "." + r } , t.get = function(t) { var e = this.getKey(t); return this.cache.contains(e) ? this.cache.get(e) : null } , t.put = function(t, e) { var r = this.getKey(t); this.cache.set(r, e) } , t.contains = function(t) { var e = this.getKey(t); return this.cache.contains(e) } , t.remove = function(t) { var e = this.getKey(t); this.cache.contains(e) && this.cache.remove(e) } , t.clean = function(t) { var e = this; null == t ? this.cache.clear() : this.cache.keys.toList().where(function(e) { return e.stimulsoft.startsWith(t) }).forEach(function(t) { return e.cache.remove(t) }) } , t.cache = new r, t }(); e.StiPivotTableToCrossTabCache = n }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Dictionary , i = function() { function t() {} return t.get = function(t) { var r = e.StiElementDataCache.getKey(t); return this.cache.contains(r) ? this.cache.get(r) : null } , t.put = function(t, r) { var i = e.StiElementDataCache.getKey(t); this.cache.set(i, r) } , t.remove = function(t) { var r = e.StiElementDataCache.getKey(t); this.cache.contains(r) && this.cache.remove(r) } , t.contains = function(t) { var r = e.StiElementDataCache.getKey(t); return this.cache.contains(r) } , t.clean = function(t) { var e = this; null == t ? this.cache.clear() : this.cache.keys.where(function(e) { return e.stimulsoft.startsWith(t) }).forEach(function(t) { return e.cache.remove(t) }, this) } , t.cache = new r, t }(); e.StiPivotToContainerCache = i }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Collections.Hashtable , n = function() { function t() {} return t.removeFunction = function(t) { null != this.functionsToCompile.get(t) && this.functionsToCompile.remove(t), null != this.functionsToCompileLower.get(t.toLowerCase()) && this.functionsToCompileLower.remove(t.toLowerCase()), null != this.functions.get(t) && this.functions.remove(t), null != this.functionsLower.get(t.toLowerCase()) && this.functionsLower.remove(t.toLowerCase()) } , t.getFunctionsList = function(t) { return null != this.functions.get(t) ? this.functions.get(t) : null } , t.getFunctionsGrouppedInCategories = function() { var t, e, r = new i, n = this.getFunctions(!1); try { for (var o = __values(n), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = r.get(s.category); null == l && (l = [], r.set(s.category, l)), l.add(s) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } return r } , t.getFunctions = function(t) { var e, r, i, n, o, a; if (t.stimulsoft.is(Boolean)) { var s = t.stimulsoft.as(Boolean) , l = [] , u = s ? this.functionsToCompile : this.functions; try { for (var c = __values(u.keys), m = c.next(); !m.done; m = c.next()) { var p = m.value , h = this.getFunctionsEx(null, p, s); try { for (var d = (i = void 0, __values(h)), g = d.next(); !g.done; g = d.next()) { var f = g.value; l.add(f) } } catch (t) { i = { error: t } } finally { try { g && !g.done && (n = d.return) && n.call(d) } finally { if (i) throw i.error } } } } catch (t) { e = { error: t } } finally { try { m && !m.done && (r = c.return) && r.call(c) } finally { if (e) throw e.error } } return l.toArray() } if (t.stimulsoft.is(String)) { var S = t.stimulsoft.as(String) , A = this.getFunctions(!1) , l = []; try { for (var y = __values(A), w = y.next(); !w.done; w = y.next()) { var f = w.value; f.category == S && l.add(f) } } catch (t) { o = { error: t } } finally { try { w && !w.done && (a = y.return) && a.call(y) } finally { if (o) throw o.error } } return l.toArray() } return null } , t.getFunctionsEx = function(t, e, r) { if (r) { var i = this.functionsToCompile.get(e); if (null == i && null == (i = this.functionsToCompile.get(e))) return null; return i.toArray() } var i = this.functions.get(e); if (null == i && null == (i = this.functions.get(e))) return null; return i.toArray() } , t.getCategories = function() { var t, e, r = new i, n = this.getFunctions(!1), o = new Array; try { for (var a = __values(n), s = a.next(); !s.done; s = a.next()) { var l = s.value; null == r.get(l.category) && (o.add(l.category), r.set(l.category, l.category)) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (e = a.return) && e.call(a) } finally { if (t) throw t.error } } return o } , t.getAssebliesOfFunctions = function() { var t, e, r = this.getFunctions(!0), n = new i; try { for (var o = __values(r), a = o.next(); !a.done; a = o.next()) var s = a.value } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } return Array.create(String, n.count) } , t.addFunction = function(t, i, n, o, a, s, l, u, c, m, p) { void 0 === l && (l = ""), void 0 === u && (u = null), void 0 === c && (c = null), void 0 === m && (m = null), void 0 === p && (p = null), r.isNullOrEmpty(i) && (i = n); var h = new e.StiFunction(t,i,n,o,a,s,l,u,c,m) , d = this.functions.get(i); return null == d && (d = [], this.functions.set(i, d)), d.add(h), d = this.functionsToCompile.get(n), null == d && (d = [], this.functionsToCompile.set(n, d)), d.add(h), h.jsFunction = p, h } , t.StiFunctions = function() {} , t.functionsToCompile = new i, t.functionsToCompileLower = new i, t.functions = new i, t.functionsLower = new i, t }(); e.StiFunctions = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Empty = 0] = "Empty", t[t.Delimiter = 1] = "Delimiter", t[t.Variable = 2] = "Variable", t[t.SystemVariable = 3] = "SystemVariable", t[t.DataSourceField = 4] = "DataSourceField", t[t.BusinessObjectField = 5] = "BusinessObjectField", t[t.Number = 6] = "Number", t[t.Function = 7] = "Function", t[t.Method = 8] = "Method", t[t.Property = 9] = "Property", t[t.Component = 10] = "Component", t[t.Cast = 11] = "Cast", t[t.String = 12] = "String", t[t.Dot = 13] = "Dot", t[t.Comma = 14] = "Comma", t[t.Colon = 15] = "Colon", t[t.SemiColon = 16] = "SemiColon", t[t.Shl = 17] = "Shl", t[t.Shr = 18] = "Shr", t[t.Assign = 19] = "Assign", t[t.Equal = 20] = "Equal", t[t.NotEqual = 21] = "NotEqual", t[t.LeftEqual = 22] = "LeftEqual", t[t.Left = 23] = "Left", t[t.RightEqual = 24] = "RightEqual", t[t.Right = 25] = "Right", t[t.Not = 26] = "Not", t[t.Or = 27] = "Or", t[t.And = 28] = "And", t[t.Xor = 29] = "Xor", t[t.DoubleOr = 30] = "DoubleOr", t[t.DoubleAnd = 31] = "DoubleAnd", t[t.Question = 32] = "Question", t[t.Plus = 33] = "Plus", t[t.Minus = 34] = "Minus", t[t.Mult = 35] = "Mult", t[t.Div = 36] = "Div", t[t.Percent = 37] = "Percent", t[t.LParenthesis = 38] = "LParenthesis", t[t.RParenthesis = 39] = "RParenthesis", t[t.LBracket = 40] = "LBracket", t[t.RBracket = 41] = "RBracket", t[t.Identifier = 42] = "Identifier", t[t.Unknown = 43] = "Unknown" }(e = t.StiTokenType || (t.StiTokenType = {})); var r; !function(t) { t[t.PushValue = 2e3] = "PushValue", t[t.PushVariable = 2001] = "PushVariable", t[t.PushSystemVariable = 2002] = "PushSystemVariable", t[t.PushDataSourceField = 2003] = "PushDataSourceField", t[t.PushBusinessObjectField = 2004] = "PushBusinessObjectField", t[t.PushFunction = 2005] = "PushFunction", t[t.PushMethod = 2006] = "PushMethod", t[t.PushProperty = 2007] = "PushProperty", t[t.PushComponent = 2008] = "PushComponent", t[t.PushArrayElement = 2009] = "PushArrayElement", t[t.CopyToVariable = 2010] = "CopyToVariable", t[t.Add = 2020] = "Add", t[t.Sub = 2021] = "Sub", t[t.Mult = 2022] = "Mult", t[t.Div = 2023] = "Div", t[t.Mod = 2024] = "Mod", t[t.Power = 2025] = "Power", t[t.Neg = 2026] = "Neg", t[t.Cast = 2027] = "Cast", t[t.Not = 2028] = "Not", t[t.CompareLeft = 2029] = "CompareLeft", t[t.CompareLeftEqual = 2030] = "CompareLeftEqual", t[t.CompareRight = 2031] = "CompareRight", t[t.CompareRightEqual = 2032] = "CompareRightEqual", t[t.CompareEqual = 2033] = "CompareEqual", t[t.CompareNotEqual = 2034] = "CompareNotEqual", t[t.Shl = 2035] = "Shl", t[t.Shr = 2036] = "Shr", t[t.And = 2037] = "And", t[t.And2 = 2038] = "And2", t[t.Or = 2039] = "Or", t[t.Or2 = 2040] = "Or2", t[t.Xor = 2041] = "Xor", t[t.Jump = 2042] = "Jump", t[t.JumpTrue = 2043] = "JumpTrue", t[t.JumpFalse = 2044] = "JumpFalse" }(r = t.StiAsmCommandType || (t.StiAsmCommandType = {})); var i; !function(t) { t[t.Column = 0] = "Column", t[t.Line = 1] = "Line", t[t.LineThrough = 2] = "LineThrough", t[t.LineABC = 3] = "LineABC", t[t.LineRoman = 4] = "LineRoman", t[t.GroupLine = 5] = "GroupLine", t[t.PageNumber = 6] = "PageNumber", t[t.PageNumberThrough = 7] = "PageNumberThrough", t[t.PageNofM = 8] = "PageNofM", t[t.PageNofMThrough = 9] = "PageNofMThrough", t[t.TotalPageCount = 10] = "TotalPageCount", t[t.TotalPageCountThrough = 11] = "TotalPageCountThrough", t[t.IsFirstPage = 12] = "IsFirstPage", t[t.IsFirstPageThrough = 13] = "IsFirstPageThrough", t[t.IsLastPage = 14] = "IsLastPage", t[t.IsLastPageThrough = 15] = "IsLastPageThrough", t[t.PageCopyNumber = 16] = "PageCopyNumber", t[t.ReportAlias = 17] = "ReportAlias", t[t.ReportAuthor = 18] = "ReportAuthor", t[t.ReportChanged = 19] = "ReportChanged", t[t.ReportCreated = 20] = "ReportCreated", t[t.ReportDescription = 21] = "ReportDescription", t[t.ReportName = 22] = "ReportName", t[t.Time = 23] = "Time", t[t.Today = 24] = "Today", t[t.ConditionValue = 25] = "ConditionValue", t[t.ConditionValue2 = 26] = "ConditionValue2", t[t.ConditionTag = 27] = "ConditionTag", t[t.Sender = 28] = "Sender", t[t.DateTimeNow = 29] = "DateTimeNow", t[t.DateTimeToday = 30] = "DateTimeToday" }(i = t.StiSystemVariableType || (t.StiSystemVariableType = {})); var n; !function(t) { t[t.Year = 0] = "Year", t[t.Month = 1] = "Month", t[t.Day = 2] = "Day", t[t.Hour = 3] = "Hour", t[t.Minute = 4] = "Minute", t[t.Second = 5] = "Second", t[t.Date = 6] = "Date", t[t.Length = 7] = "Length", t[t.From = 8] = "From", t[t.To = 9] = "To", t[t.FromDate = 10] = "FromDate", t[t.ToDate = 11] = "ToDate", t[t.FromTime = 12] = "FromTime", t[t.ToTime = 13] = "ToTime", t[t.SelectedLine = 14] = "SelectedLine", t[t.Name = 15] = "Name", t[t.TagValue = 16] = "TagValue", t[t.Days = 17] = "Days", t[t.Hours = 18] = "Hours", t[t.Milliseconds = 19] = "Milliseconds", t[t.Minutes = 20] = "Minutes", t[t.Seconds = 21] = "Seconds", t[t.Ticks = 22] = "Ticks", t[t.TotalDays = 23] = "TotalDays", t[t.TotalHours = 24] = "TotalHours", t[t.TotalMinutes = 25] = "TotalMinutes", t[t.TotalSeconds = 26] = "TotalSeconds", t[t.TotalMilliseconds = 27] = "TotalMilliseconds", t[t.Count = 28] = "Count", t[t.BusinessObjectValue = 29] = "BusinessObjectValue" }(n = t.StiPropertyType || (t.StiPropertyType = {})); var o; !function(t) { t[t.NameSpace = 0] = "NameSpace", t[t.Count = 1] = "Count", t[t.CountDistinct = 2] = "CountDistinct", t[t.Avg = 3] = "Avg", t[t.AvgD = 4] = "AvgD", t[t.AvgDate = 5] = "AvgDate", t[t.AvgI = 6] = "AvgI", t[t.AvgTime = 7] = "AvgTime", t[t.Max = 8] = "Max", t[t.MaxD = 9] = "MaxD", t[t.MaxDate = 10] = "MaxDate", t[t.MaxI = 11] = "MaxI", t[t.MaxStr = 12] = "MaxStr", t[t.MaxTime = 13] = "MaxTime", t[t.Median = 14] = "Median", t[t.MedianD = 15] = "MedianD", t[t.MedianI = 16] = "MedianI", t[t.Min = 17] = "Min", t[t.MinD = 18] = "MinD", t[t.MinDate = 19] = "MinDate", t[t.MinI = 20] = "MinI", t[t.MinStr = 21] = "MinStr", t[t.MinTime = 22] = "MinTime", t[t.Mode = 23] = "Mode", t[t.ModeD = 24] = "ModeD", t[t.ModeI = 25] = "ModeI", t[t.Sum = 26] = "Sum", t[t.SumD = 27] = "SumD", t[t.SumDistinct = 28] = "SumDistinct", t[t.SumI = 29] = "SumI", t[t.SumTime = 30] = "SumTime", t[t.First = 31] = "First", t[t.Last = 32] = "Last", t[t.rCount = 33] = "rCount", t[t.rCountDistinct = 34] = "rCountDistinct", t[t.rAvg = 35] = "rAvg", t[t.rAvgD = 36] = "rAvgD", t[t.rAvgDate = 37] = "rAvgDate", t[t.rAvgI = 38] = "rAvgI", t[t.rAvgTime = 39] = "rAvgTime", t[t.rMax = 40] = "rMax", t[t.rMaxD = 41] = "rMaxD", t[t.rMaxDate = 42] = "rMaxDate", t[t.rMaxI = 43] = "rMaxI", t[t.rMaxStr = 44] = "rMaxStr", t[t.rMaxTime = 45] = "rMaxTime", t[t.rMedian = 46] = "rMedian", t[t.rMedianD = 47] = "rMedianD", t[t.rMedianI = 48] = "rMedianI", t[t.rMin = 49] = "rMin", t[t.rMinD = 50] = "rMinD", t[t.rMinDate = 51] = "rMinDate", t[t.rMinI = 52] = "rMinI", t[t.rMinStr = 53] = "rMinStr", t[t.rMinTime = 54] = "rMinTime", t[t.rMode = 55] = "rMode", t[t.rModeD = 56] = "rModeD", t[t.rModeI = 57] = "rModeI", t[t.rSum = 58] = "rSum", t[t.rSumD = 59] = "rSumD", t[t.rSumDistinct = 60] = "rSumDistinct", t[t.rSumI = 61] = "rSumI", t[t.rSumTime = 62] = "rSumTime", t[t.rFirst = 63] = "rFirst", t[t.rLast = 64] = "rLast", t[t.iCount = 65] = "iCount", t[t.iCountDistinct = 66] = "iCountDistinct", t[t.iAvg = 67] = "iAvg", t[t.iAvgD = 68] = "iAvgD", t[t.iAvgDate = 69] = "iAvgDate", t[t.iAvgI = 70] = "iAvgI", t[t.iAvgTime = 71] = "iAvgTime", t[t.iMax = 72] = "iMax", t[t.iMaxD = 73] = "iMaxD", t[t.iMaxDate = 74] = "iMaxDate", t[t.iMaxI = 75] = "iMaxI", t[t.iMaxStr = 76] = "iMaxStr", t[t.iMaxTime = 77] = "iMaxTime", t[t.iMedian = 78] = "iMedian", t[t.iMedianD = 79] = "iMedianD", t[t.iMedianI = 80] = "iMedianI", t[t.iMin = 81] = "iMin", t[t.iMinD = 82] = "iMinD", t[t.iMinDate = 83] = "iMinDate", t[t.iMinI = 84] = "iMinI", t[t.iMinStr = 85] = "iMinStr", t[t.iMinTime = 86] = "iMinTime", t[t.iMode = 87] = "iMode", t[t.iModeD = 88] = "iModeD", t[t.iModeI = 89] = "iModeI", t[t.iSum = 90] = "iSum", t[t.iSumD = 91] = "iSumD", t[t.iSumDistinct = 92] = "iSumDistinct", t[t.iSumI = 93] = "iSumI", t[t.iSumTime = 94] = "iSumTime", t[t.iFirst = 95] = "iFirst", t[t.iLast = 96] = "iLast", t[t.riCount = 97] = "riCount", t[t.riCountDistinct = 98] = "riCountDistinct", t[t.riAvg = 99] = "riAvg", t[t.riAvgD = 100] = "riAvgD", t[t.riAvgDate = 101] = "riAvgDate", t[t.riAvgI = 102] = "riAvgI", t[t.riAvgTime = 103] = "riAvgTime", t[t.riMax = 104] = "riMax", t[t.riMaxD = 105] = "riMaxD", t[t.riMaxDate = 106] = "riMaxDate", t[t.riMaxI = 107] = "riMaxI", t[t.riMaxStr = 108] = "riMaxStr", t[t.riMaxTime = 109] = "riMaxTime", t[t.riMedian = 110] = "riMedian", t[t.riMedianD = 111] = "riMedianD", t[t.riMedianI = 112] = "riMedianI", t[t.riMin = 113] = "riMin", t[t.riMinD = 114] = "riMinD", t[t.riMinDate = 115] = "riMinDate", t[t.riMinI = 116] = "riMinI", t[t.riMinStr = 117] = "riMinStr", t[t.riMinTime = 118] = "riMinTime", t[t.riMode = 119] = "riMode", t[t.riModeD = 120] = "riModeD", t[t.riModeI = 121] = "riModeI", t[t.riSum = 122] = "riSum", t[t.riSumD = 123] = "riSumD", t[t.riSumDistinct = 124] = "riSumDistinct", t[t.riSumI = 125] = "riSumI", t[t.riSumTime = 126] = "riSumTime", t[t.riFirst = 127] = "riFirst", t[t.riLast = 128] = "riLast", t[t.cCount = 129] = "cCount", t[t.cCountDistinct = 130] = "cCountDistinct", t[t.cAvg = 131] = "cAvg", t[t.cAvgD = 132] = "cAvgD", t[t.cAvgDate = 133] = "cAvgDate", t[t.cAvgI = 134] = "cAvgI", t[t.cAvgTime = 135] = "cAvgTime", t[t.cMax = 136] = "cMax", t[t.cMaxD = 137] = "cMaxD", t[t.cMaxDate = 138] = "cMaxDate", t[t.cMaxI = 139] = "cMaxI", t[t.cMaxStr = 140] = "cMaxStr", t[t.cMaxTime = 141] = "cMaxTime", t[t.cMedian = 142] = "cMedian", t[t.cMedianD = 143] = "cMedianD", t[t.cMedianI = 144] = "cMedianI", t[t.cMin = 145] = "cMin", t[t.cMinD = 146] = "cMinD", t[t.cMinDate = 147] = "cMinDate", t[t.cMinI = 148] = "cMinI", t[t.cMinStr = 149] = "cMinStr", t[t.cMinTime = 150] = "cMinTime", t[t.cMode = 151] = "cMode", t[t.cModeD = 152] = "cModeD", t[t.cModeI = 153] = "cModeI", t[t.cSum = 154] = "cSum", t[t.cSumD = 155] = "cSumD", t[t.cSumDistinct = 156] = "cSumDistinct", t[t.cSumI = 157] = "cSumI", t[t.cSumTime = 158] = "cSumTime", t[t.cFirst = 159] = "cFirst", t[t.cLast = 160] = "cLast", t[t.crCount = 161] = "crCount", t[t.crCountDistinct = 162] = "crCountDistinct", t[t.crAvg = 163] = "crAvg", t[t.crAvgD = 164] = "crAvgD", t[t.crAvgDate = 165] = "crAvgDate", t[t.crAvgI = 166] = "crAvgI", t[t.crAvgTime = 167] = "crAvgTime", t[t.crMax = 168] = "crMax", t[t.crMaxD = 169] = "crMaxD", t[t.crMaxDate = 170] = "crMaxDate", t[t.crMaxI = 171] = "crMaxI", t[t.crMaxStr = 172] = "crMaxStr", t[t.crMaxTime = 173] = "crMaxTime", t[t.crMedian = 174] = "crMedian", t[t.crMedianD = 175] = "crMedianD", t[t.crMedianI = 176] = "crMedianI", t[t.crMin = 177] = "crMin", t[t.crMinD = 178] = "crMinD", t[t.crMinDate = 179] = "crMinDate", t[t.crMinI = 180] = "crMinI", t[t.crMinStr = 181] = "crMinStr", t[t.crMinTime = 182] = "crMinTime", t[t.crMode = 183] = "crMode", t[t.crModeD = 184] = "crModeD", t[t.crModeI = 185] = "crModeI", t[t.crSum = 186] = "crSum", t[t.crSumD = 187] = "crSumD", t[t.crSumDistinct = 188] = "crSumDistinct", t[t.crSumI = 189] = "crSumI", t[t.crSumTime = 190] = "crSumTime", t[t.crFirst = 191] = "crFirst", t[t.crLast = 192] = "crLast", t[t.ciCount = 193] = "ciCount", t[t.ciCountDistinct = 194] = "ciCountDistinct", t[t.ciAvg = 195] = "ciAvg", t[t.ciAvgD = 196] = "ciAvgD", t[t.ciAvgDate = 197] = "ciAvgDate", t[t.ciAvgI = 198] = "ciAvgI", t[t.ciAvgTime = 199] = "ciAvgTime"; t[t.ciMax = 200] = "ciMax", t[t.ciMaxD = 201] = "ciMaxD", t[t.ciMaxDate = 202] = "ciMaxDate", t[t.ciMaxI = 203] = "ciMaxI", t[t.ciMaxStr = 204] = "ciMaxStr", t[t.ciMaxTime = 205] = "ciMaxTime", t[t.ciMedian = 206] = "ciMedian", t[t.ciMedianD = 207] = "ciMedianD", t[t.ciMedianI = 208] = "ciMedianI", t[t.ciMin = 209] = "ciMin", t[t.ciMinD = 210] = "ciMinD", t[t.ciMinDate = 211] = "ciMinDate", t[t.ciMinI = 212] = "ciMinI", t[t.ciMinStr = 213] = "ciMinStr", t[t.ciMinTime = 214] = "ciMinTime", t[t.ciMode = 215] = "ciMode", t[t.ciModeD = 216] = "ciModeD", t[t.ciModeI = 217] = "ciModeI", t[t.ciSum = 218] = "ciSum", t[t.ciSumD = 219] = "ciSumD", t[t.ciSumDistinct = 220] = "ciSumDistinct", t[t.ciSumI = 221] = "ciSumI", t[t.ciSumTime = 222] = "ciSumTime", t[t.ciFirst = 223] = "ciFirst", t[t.ciLast = 224] = "ciLast", t[t.criCount = 225] = "criCount", t[t.criCountDistinct = 226] = "criCountDistinct", t[t.criAvg = 227] = "criAvg", t[t.criAvgD = 228] = "criAvgD", t[t.criAvgDate = 229] = "criAvgDate", t[t.criAvgI = 230] = "criAvgI", t[t.criAvgTime = 231] = "criAvgTime", t[t.criMax = 232] = "criMax", t[t.criMaxD = 233] = "criMaxD", t[t.criMaxDate = 234] = "criMaxDate", t[t.criMaxI = 235] = "criMaxI", t[t.criMaxStr = 236] = "criMaxStr", t[t.criMaxTime = 237] = "criMaxTime", t[t.criMedian = 238] = "criMedian", t[t.criMedianD = 239] = "criMedianD", t[t.criMedianI = 240] = "criMedianI", t[t.criMin = 241] = "criMin", t[t.criMinD = 242] = "criMinD", t[t.criMinDate = 243] = "criMinDate", t[t.criMinI = 244] = "criMinI", t[t.criMinStr = 245] = "criMinStr", t[t.criMinTime = 246] = "criMinTime", t[t.criMode = 247] = "criMode", t[t.criModeD = 248] = "criModeD", t[t.criModeI = 249] = "criModeI", t[t.criSum = 250] = "criSum", t[t.criSumD = 251] = "criSumD", t[t.criSumDistinct = 252] = "criSumDistinct", t[t.criSumI = 253] = "criSumI", t[t.criSumTime = 254] = "criSumTime", t[t.criFirst = 255] = "criFirst", t[t.criLast = 256] = "criLast", t[t.pCount = 257] = "pCount", t[t.pCountDistinct = 258] = "pCountDistinct", t[t.pAvg = 259] = "pAvg", t[t.pAvgD = 260] = "pAvgD", t[t.pAvgDate = 261] = "pAvgDate", t[t.pAvgI = 262] = "pAvgI", t[t.pAvgTime = 263] = "pAvgTime", t[t.pMax = 264] = "pMax", t[t.pMaxD = 265] = "pMaxD", t[t.pMaxDate = 266] = "pMaxDate", t[t.pMaxI = 267] = "pMaxI", t[t.pMaxStr = 268] = "pMaxStr", t[t.pMaxTime = 269] = "pMaxTime", t[t.pMedian = 270] = "pMedian", t[t.pMedianD = 271] = "pMedianD", t[t.pMedianI = 272] = "pMedianI", t[t.pMin = 273] = "pMin", t[t.pMinD = 274] = "pMinD", t[t.pMinDate = 275] = "pMinDate", t[t.pMinI = 276] = "pMinI", t[t.pMinStr = 277] = "pMinStr", t[t.pMinTime = 278] = "pMinTime", t[t.pMode = 279] = "pMode", t[t.pModeD = 280] = "pModeD", t[t.pModeI = 281] = "pModeI", t[t.pSum = 282] = "pSum", t[t.pSumD = 283] = "pSumD", t[t.pSumDistinct = 284] = "pSumDistinct", t[t.pSumI = 285] = "pSumI", t[t.pSumTime = 286] = "pSumTime", t[t.pFirst = 287] = "pFirst", t[t.pLast = 288] = "pLast", t[t.prCount = 289] = "prCount", t[t.prCountDistinct = 290] = "prCountDistinct", t[t.prAvg = 291] = "prAvg", t[t.prAvgD = 292] = "prAvgD", t[t.prAvgDate = 293] = "prAvgDate", t[t.prAvgI = 294] = "prAvgI", t[t.prAvgTime = 295] = "prAvgTime", t[t.prMax = 296] = "prMax", t[t.prMaxD = 297] = "prMaxD", t[t.prMaxDate = 298] = "prMaxDate", t[t.prMaxI = 299] = "prMaxI", t[t.prMaxStr = 300] = "prMaxStr", t[t.prMaxTime = 301] = "prMaxTime", t[t.prMedian = 302] = "prMedian", t[t.prMedianD = 303] = "prMedianD", t[t.prMedianI = 304] = "prMedianI", t[t.prMin = 305] = "prMin", t[t.prMinD = 306] = "prMinD", t[t.prMinDate = 307] = "prMinDate", t[t.prMinI = 308] = "prMinI", t[t.prMinStr = 309] = "prMinStr", t[t.prMinTime = 310] = "prMinTime", t[t.prMode = 311] = "prMode", t[t.prModeD = 312] = "prModeD", t[t.prModeI = 313] = "prModeI", t[t.prSum = 314] = "prSum", t[t.prSumD = 315] = "prSumD", t[t.prSumDistinct = 316] = "prSumDistinct", t[t.prSumI = 317] = "prSumI", t[t.prSumTime = 318] = "prSumTime", t[t.prFirst = 319] = "prFirst", t[t.prLast = 320] = "prLast", t[t.piCount = 321] = "piCount", t[t.piCountDistinct = 322] = "piCountDistinct", t[t.piAvg = 323] = "piAvg", t[t.piAvgD = 324] = "piAvgD", t[t.piAvgDate = 325] = "piAvgDate", t[t.piAvgI = 326] = "piAvgI", t[t.piAvgTime = 327] = "piAvgTime", t[t.piMax = 328] = "piMax", t[t.piMaxD = 329] = "piMaxD", t[t.piMaxDate = 330] = "piMaxDate", t[t.piMaxI = 331] = "piMaxI", t[t.piMaxStr = 332] = "piMaxStr", t[t.piMaxTime = 333] = "piMaxTime", t[t.piMedian = 334] = "piMedian", t[t.piMedianD = 335] = "piMedianD", t[t.piMedianI = 336] = "piMedianI", t[t.piMin = 337] = "piMin", t[t.piMinD = 338] = "piMinD", t[t.piMinDate = 339] = "piMinDate", t[t.piMinI = 340] = "piMinI", t[t.piMinStr = 341] = "piMinStr", t[t.piMinTime = 342] = "piMinTime", t[t.piMode = 343] = "piMode", t[t.piModeD = 344] = "piModeD", t[t.piModeI = 345] = "piModeI", t[t.piSum = 346] = "piSum", t[t.piSumD = 347] = "piSumD", t[t.piSumDistinct = 348] = "piSumDistinct", t[t.piSumI = 349] = "piSumI", t[t.piSumTime = 350] = "piSumTime", t[t.piFirst = 351] = "piFirst", t[t.piLast = 352] = "piLast", t[t.priCount = 353] = "priCount", t[t.priCountDistinct = 354] = "priCountDistinct", t[t.priAvg = 355] = "priAvg", t[t.priAvgD = 356] = "priAvgD", t[t.priAvgDate = 357] = "priAvgDate", t[t.priAvgI = 358] = "priAvgI", t[t.priAvgTime = 359] = "priAvgTime", t[t.priMax = 360] = "priMax", t[t.priMaxD = 361] = "priMaxD", t[t.priMaxDate = 362] = "priMaxDate", t[t.priMaxI = 363] = "priMaxI", t[t.priMaxStr = 364] = "priMaxStr", t[t.priMaxTime = 365] = "priMaxTime", t[t.priMedian = 366] = "priMedian", t[t.priMedianD = 367] = "priMedianD", t[t.priMedianI = 368] = "priMedianI", t[t.priMin = 369] = "priMin", t[t.priMinD = 370] = "priMinD", t[t.priMinDate = 371] = "priMinDate", t[t.priMinI = 372] = "priMinI", t[t.priMinStr = 373] = "priMinStr", t[t.priMinTime = 374] = "priMinTime", t[t.priMode = 375] = "priMode", t[t.priModeD = 376] = "priModeD", t[t.priModeI = 377] = "priModeI", t[t.priSum = 378] = "priSum", t[t.priSumD = 379] = "priSumD", t[t.priSumDistinct = 380] = "priSumDistinct", t[t.priSumI = 381] = "priSumI", t[t.priSumTime = 382] = "priSumTime", t[t.priFirst = 383] = "priFirst", t[t.priLast = 384] = "priLast", t[t.CountAllLevels = 385] = "CountAllLevels", t[t.CountAllLevelsOnlyChilds = 386] = "CountAllLevelsOnlyChilds", t[t.CountOnlyChilds = 387] = "CountOnlyChilds", t[t.Rank = 388] = "Rank", t[t.Abs = 389] = "Abs", t[t.Acos = 390] = "Acos", t[t.Asin = 391] = "Asin", t[t.Atan = 392] = "Atan", t[t.Ceiling = 393] = "Ceiling", t[t.Cos = 394] = "Cos", t[t.Div = 395] = "Div", t[t.Exp = 396] = "Exp", t[t.Floor = 397] = "Floor", t[t.Log = 398] = "Log", t[t.Maximum = 399] = "Maximum"; t[t.Minimum = 400] = "Minimum", t[t.Round = 401] = "Round", t[t.Sign = 402] = "Sign", t[t.Sin = 403] = "Sin", t[t.Sqrt = 404] = "Sqrt", t[t.Tan = 405] = "Tan", t[t.Truncate = 406] = "Truncate", t[t.DateDiff = 407] = "DateDiff", t[t.DateSerial = 408] = "DateSerial", t[t.Day = 409] = "Day", t[t.DayOfWeek = 410] = "DayOfWeek", t[t.DayOfYear = 411] = "DayOfYear", t[t.DaysInMonth = 412] = "DaysInMonth", t[t.DaysInYear = 413] = "DaysInYear", t[t.Hour = 414] = "Hour", t[t.Minute = 415] = "Minute", t[t.Month = 416] = "Month", t[t.Second = 417] = "Second", t[t.TimeSerial = 418] = "TimeSerial", t[t.Year = 419] = "Year", t[t.MonthName = 420] = "MonthName", t[t.WeekOfYear = 421] = "WeekOfYear", t[t.WeekOfMonth = 422] = "WeekOfMonth", t[t.DateToStr = 423] = "DateToStr", t[t.DateToStrPl = 424] = "DateToStrPl", t[t.DateToStrRu = 425] = "DateToStrRu", t[t.DateToStrUa = 426] = "DateToStrUa", t[t.DateToStrPt = 427] = "DateToStrPt", t[t.DateToStrPtBr = 428] = "DateToStrPtBr", t[t.Insert = 429] = "Insert", t[t.Length = 430] = "Length", t[t.Remove = 431] = "Remove", t[t.Replace = 432] = "Replace", t[t.Roman = 433] = "Roman", t[t.Substring = 434] = "Substring", t[t.ToCurrencyWords = 435] = "ToCurrencyWords", t[t.ToCurrencyWordsEnGb = 436] = "ToCurrencyWordsEnGb", t[t.ToCurrencyWordsEnIn = 437] = "ToCurrencyWordsEnIn", t[t.ToCurrencyWordsEs = 438] = "ToCurrencyWordsEs", t[t.ToCurrencyWordsFr = 439] = "ToCurrencyWordsFr", t[t.ToCurrencyWordsNl = 440] = "ToCurrencyWordsNl", t[t.ToCurrencyWordsPl = 441] = "ToCurrencyWordsPl", t[t.ToCurrencyWordsPt = 442] = "ToCurrencyWordsPt", t[t.ToCurrencyWordsPtBr = 443] = "ToCurrencyWordsPtBr", t[t.ToCurrencyWordsRu = 444] = "ToCurrencyWordsRu", t[t.ToCurrencyWordsThai = 445] = "ToCurrencyWordsThai", t[t.ToCurrencyWordsTr = 446] = "ToCurrencyWordsTr", t[t.ToCurrencyWordsUa = 447] = "ToCurrencyWordsUa", t[t.ToCurrencyWordsZh = 448] = "ToCurrencyWordsZh", t[t.ToLowerCase = 449] = "ToLowerCase", t[t.ToProperCase = 450] = "ToProperCase", t[t.ToUpperCase = 451] = "ToUpperCase", t[t.ToWords = 452] = "ToWords", t[t.ToWordsEs = 453] = "ToWordsEs", t[t.ToWordsEnIn = 454] = "ToWordsEnIn", t[t.ToWordsFa = 455] = "ToWordsFa", t[t.ToWordsPl = 456] = "ToWordsPl", t[t.ToWordsPt = 457] = "ToWordsPt", t[t.ToWordsRu = 458] = "ToWordsRu", t[t.ToWordsTr = 459] = "ToWordsTr", t[t.ToWordsUa = 460] = "ToWordsUa", t[t.Trim = 461] = "Trim", t[t.TryParseDecimal = 462] = "TryParseDecimal", t[t.TryParseDouble = 463] = "TryParseDouble", t[t.TryParseLong = 464] = "TryParseLong", t[t.Arabic = 465] = "Arabic", t[t.Persian = 466] = "Persian", t[t.ToOrdinal = 467] = "ToOrdinal", t[t.Left = 468] = "Left", t[t.Mid = 469] = "Mid", t[t.Right = 470] = "Right", t[t.StrToNullableDateTime = 471] = "StrToNullableDateTime", t[t.IsNull = 472] = "IsNull", t[t.Next = 473] = "Next", t[t.NextIsNull = 474] = "NextIsNull", t[t.Previous = 475] = "Previous", t[t.PreviousIsNull = 476] = "PreviousIsNull", t[t.IIF = 477] = "IIF", t[t.Choose = 478] = "Choose", t[t.Switch = 479] = "Switch", t[t.ToString = 480] = "ToString", t[t.Format = 481] = "Format", t[t.SystemConvertToBoolean = 482] = "SystemConvertToBoolean", t[t.SystemConvertToByte = 483] = "SystemConvertToByte", t[t.SystemConvertToChar = 484] = "SystemConvertToChar", t[t.SystemConvertToDateTime = 485] = "SystemConvertToDateTime", t[t.SystemConvertToDecimal = 486] = "SystemConvertToDecimal", t[t.SystemConvertToDouble = 487] = "SystemConvertToDouble", t[t.SystemConvertToInt16 = 488] = "SystemConvertToInt16", t[t.SystemConvertToInt32 = 489] = "SystemConvertToInt32", t[t.SystemConvertToInt64 = 490] = "SystemConvertToInt64", t[t.SystemConvertToSByte = 491] = "SystemConvertToSByte", t[t.SystemConvertToSingle = 492] = "SystemConvertToSingle", t[t.SystemConvertToString = 493] = "SystemConvertToString", t[t.SystemConvertToUInt16 = 494] = "SystemConvertToUInt16", t[t.SystemConvertToUInt32 = 495] = "SystemConvertToUInt32", t[t.SystemConvertToUInt64 = 496] = "SystemConvertToUInt64", t[t.MathRound = 497] = "MathRound", t[t.MathPow = 498] = "MathPow", t[t.AddAnchor = 499] = "AddAnchor", t[t.GetAnchorPageNumber = 500] = "GetAnchorPageNumber", t[t.GetAnchorPageNumberThrough = 501] = "GetAnchorPageNumberThrough", t[t.ConvertRtf = 502] = "ConvertRtf", t[t.ParseInt = 503] = "ParseInt", t[t.ParseDouble = 504] = "ParseDouble", t[t.ParseDecimal = 505] = "ParseDecimal", t[t.ParseDateTime = 506] = "ParseDateTime", t[t.StringIsNullOrEmpty = 507] = "StringIsNullOrEmpty", t[t.StringIsNullOrWhiteSpace = 508] = "StringIsNullOrWhiteSpace", t[t.EngineHelperJoinColumnContent = 509] = "EngineHelperJoinColumnContent", t[t.EngineHelperToQueryString = 510] = "EngineHelperToQueryString", t[t.m_Substring = 1e3] = "m_Substring", t[t.m_ToString = 1001] = "m_ToString", t[t.m_ToLower = 1002] = "m_ToLower", t[t.m_ToUpper = 1003] = "m_ToUpper", t[t.m_IndexOf = 1004] = "m_IndexOf", t[t.m_StartsWith = 1005] = "m_StartsWith", t[t.m_EndsWith = 1006] = "m_EndsWith", t[t.m_Parse = 1007] = "m_Parse", t[t.m_Contains = 1008] = "m_Contains", t[t.m_GetData = 1009] = "m_GetData", t[t.m_ToQueryString = 1010] = "m_ToQueryString", t[t.m_AddYears = 1011] = "m_AddYears", t[t.m_AddMonths = 1012] = "m_AddMonths", t[t.m_AddDays = 1013] = "m_AddDays", t[t.m_AddHours = 1014] = "m_AddHours", t[t.m_AddMinutes = 1015] = "m_AddMinutes", t[t.m_AddSeconds = 1016] = "m_AddSeconds", t[t.m_AddMilliseconds = 1017] = "m_AddMilliseconds", t[t.m_ToShortDateString = 1018] = "m_ToShortDateString", t[t.m_ToShortTimeString = 1019] = "m_ToShortTimeString", t[t.m_ToLongDateString = 1020] = "m_ToLongDateString", t[t.m_ToLongTimeString = 1021] = "m_ToLongTimeString", t[t.m_GetCurrentConditionValue = 1022] = "m_GetCurrentConditionValue", t[t.m_Add = 1023] = "m_Add", t[t.m_Subtract = 1024] = "m_Subtract", t[t.m_MethodNameSpace = 1025] = "m_MethodNameSpace", t[t.op_Add = 2020] = "op_Add", t[t.op_Sub = 2021] = "op_Sub", t[t.op_Mult = 2022] = "op_Mult", t[t.op_Div = 2023] = "op_Div", t[t.op_Mod = 2024] = "op_Mod", t[t.op_Power = 2025] = "op_Power", t[t.op_Neg = 2026] = "op_Neg", t[t.op_Cast = 2027] = "op_Cast", t[t.op_Not = 2028] = "op_Not", t[t.op_CompareLeft = 2029] = "op_CompareLeft", t[t.op_CompareLeftEqual = 2030] = "op_CompareLeftEqual", t[t.op_CompareRight = 2031] = "op_CompareRight", t[t.op_CompareRightEqual = 2032] = "op_CompareRightEqual", t[t.op_CompareEqual = 2033] = "op_CompareEqual", t[t.op_CompareNotEqual = 2034] = "op_CompareNotEqual", t[t.op_Shl = 2035] = "op_Shl", t[t.op_Shr = 2036] = "op_Shr", t[t.op_And = 2037] = "op_And", t[t.op_And2 = 2038] = "op_And2", t[t.op_Or = 2039] = "op_Or", t[t.op_Or2 = 2040] = "op_Or2", t[t.op_Xor = 2041] = "op_Xor", t[t.UserFunction = 3e3] = "UserFunction" }(o = t.StiFunctionType || (t.StiFunctionType = {})); var a; !function(t) { t[t.Substring = 1e3] = "Substring", t[t.ToString = 1001] = "ToString", t[t.ToLower = 1002] = "ToLower", t[t.ToUpper = 1003] = "ToUpper", t[t.IndexOf = 1004] = "IndexOf", t[t.StartsWith = 1005] = "StartsWith", t[t.EndsWith = 1006] = "EndsWith", t[t.Parse = 1007] = "Parse", t[t.Contains = 1008] = "Contains", t[t.GetData = 1009] = "GetData", t[t.ToQueryString = 1010] = "ToQueryString", t[t.AddYears = 1011] = "AddYears", t[t.AddMonths = 1012] = "AddMonths", t[t.AddDays = 1013] = "AddDays", t[t.AddHours = 1014] = "AddHours", t[t.AddMinutes = 1015] = "AddMinutes", t[t.AddSeconds = 1016] = "AddSeconds", t[t.AddMilliseconds = 1017] = "AddMilliseconds", t[t.ToShortDateString = 1018] = "ToShortDateString", t[t.ToShortTimeString = 1019] = "ToShortTimeString", t[t.ToLongDateString = 1020] = "ToLongDateString", t[t.ToLongTimeString = 1021] = "ToLongTimeString", t[t.GetCurrentConditionValue = 1022] = "GetCurrentConditionValue", t[t.Add = 1023] = "Add", t[t.Subtract = 1024] = "Subtract", t[t.MethodNameSpace = 1025] = "MethodNameSpace" }(a = t.StiMethodType || (t.StiMethodType = {})); var s; !function(t) { t[t.Param1 = 1] = "Param1", t[t.Param2 = 2] = "Param2", t[t.Param3 = 4] = "Param3", t[t.Param4 = 8] = "Param4" }(s = t.StiParameterNumber || (t.StiParameterNumber = {})) }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function i() {} return i.getBuilder = function(r) { var i = this.typeToBuilder.get(r); if (null == i) { if (t.Report.Components.StiChart && (r === t.Report.Components.StiChart || r.prototype instanceof t.Report.Components.StiChart)) i = new e.StiChartBuilder; else if (t.Report.Components.StiGauge && (r === t.Report.Components.StiGauge || r.prototype instanceof t.Report.Components.StiGauge)) i = new e.StiGaugeBuilder; else if (r === t.Report.Maps.StiMap || r.prototype instanceof t.Report.Maps.StiMap) i = new e.StiMapBuilder; else { if (r === t.Report.Components.StiClone || r.prototype instanceof t.Report.Components.StiClone) return new e.StiCloneBuilder; r === t.Report.Components.StiColumnFooterBand || r.prototype instanceof t.Report.Components.StiColumnFooterBand ? i = new e.StiColumnFooterBandBuilder : r === t.Report.Components.StiColumnHeaderBand || r.prototype instanceof t.Report.Components.StiColumnHeaderBand ? i = new e.StiColumnHeaderBandBuilder : r === t.Report.CrossTab.StiCrossTab || r.prototype instanceof t.Report.CrossTab.StiCrossTab ? i = new e.StiCrossTabBuilder : r === t.Report.Components.StiHierarchicalBand || r.prototype instanceof t.Report.Components.StiHierarchicalBand ? i = new e.StiHierarchicalBandBuilder : r === t.Report.Components.StiDataBand || r.prototype instanceof t.Report.Components.StiDataBand || r === t.Report.Components.StiCrossDataBand || r.prototype instanceof t.Report.Components.StiCrossDataBand || r === t.Report.Components.Table.StiTable || r.prototype instanceof t.Report.Components.Table.StiTable ? i = new e.StiDataBandBuilder : r === t.Report.Components.StiFooterBand || r.prototype instanceof t.Report.Components.StiFooterBand || r === t.Report.Components.StiCrossFooterBand || r.prototype instanceof t.Report.Components.StiCrossFooterBand ? i = new e.StiFooterBandBuilder : r === t.Report.Components.StiGroupFooterBand || r.prototype instanceof t.Report.Components.StiGroupFooterBand || r === t.Report.Components.StiCrossGroupFooterBand || r.prototype instanceof t.Report.Components.StiCrossGroupFooterBand ? i = new e.StiGroupFooterBandBuilder : r === t.Report.Components.StiGroupHeaderBand || r.prototype instanceof t.Report.Components.StiGroupHeaderBand || r === t.Report.Components.StiCrossGroupHeaderBand || r.prototype instanceof t.Report.Components.StiCrossGroupHeaderBand ? i = new e.StiGroupHeaderBandBuilder : r === t.Report.Components.StiHeaderBand || r.prototype instanceof t.Report.Components.StiHeaderBand || r === t.Report.Components.StiCrossHeaderBand || r.prototype instanceof t.Report.Components.StiCrossHeaderBand ? i = new e.StiHeaderBandBuilder : r === t.Report.Components.StiImage || r.prototype instanceof t.Report.Components.StiImage || r === t.Report.Components.Table.StiTableCellImage || r.prototype instanceof t.Report.Components.Table.StiTableCellImage ? i = new e.StiImageBuilder : r === t.Report.Components.StiPage || r.prototype instanceof t.Report.Components.StiPage ? i = new e.StiPageBuilder : r === t.Report.Components.StiPointPrimitive || r.prototype instanceof t.Report.Components.StiPointPrimitive || r === t.Report.Components.StiEndPointPrimitive || r.prototype instanceof t.Report.Components.StiEndPointPrimitive || r === t.Report.Components.StiStartPointPrimitive || r.prototype instanceof t.Report.Components.StiStartPointPrimitive ? i = new e.StiPointPrimitiveBuilder : r === t.Report.Components.StiVerticalLinePrimitive || r.prototype instanceof t.Report.Components.StiVerticalLinePrimitive || r === t.Report.Components.StiRoundedRectanglePrimitive || r.prototype instanceof t.Report.Components.StiRoundedRectanglePrimitive || r === t.Report.Components.StiRectanglePrimitive || r.prototype instanceof t.Report.Components.StiRectanglePrimitive ? i = new e.StiCrossLinePrimitiveBuilder : r === t.Report.Components.StiSubReport || r.prototype instanceof t.Report.Components.StiSubReport ? i = new e.StiSubReportBuilder : r === t.Report.Components.StiTextInCells || r.prototype instanceof t.Report.Components.StiTextInCells ? i = new e.StiTextInCellsBuilder : r === t.Report.Components.StiSimpleText || r.prototype instanceof t.Report.Components.StiSimpleText || r === t.Report.Components.Table.StiTableCell || r.prototype instanceof t.Report.Components.Table.StiTableCell ? i = new e.StiSimpleTextBuilder : r === t.Report.Components.StiView || r.prototype instanceof t.Report.Components.StiView ? i = new e.StiViewBuilder : r === t.Report.Components.StiBand || r.prototype instanceof t.Report.Components.StiBand ? i = new e.StiBandBuilder : r === t.Report.Components.StiContainer || r.prototype instanceof t.Report.Components.StiContainer ? i = new e.StiContainerBuilder : (r === t.Report.Components.StiComponent || r.prototype instanceof t.Report.Components.StiComponent) && (i = new e.StiComponentBuilder) } this.typeToBuilder.set(r, i) } return i } , i.prototype.setReportVariables = function(t) {} , i.prototype.prepare = function(t) {} , i.prototype.unPrepare = function(t) {} , i.prototype.internalRenderAsync = function(t) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(t) { return [2, null] }) }) } , i.prototype.internalRender = function(t) { return null } , i.prototype.renderAsync = function(t) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(t) { return [2, null] }) }) } , i.prototype.render = function(t) { return null } , i.typeToBuilder = new r, i }(); e.StiBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.Report.Styles.StiBaseStyle , n = t.System.EventArgs , o = t.Report.Components.StiSubReport , a = t.Base.Drawing.StiBorderSides , s = t.Report.Components.StiEmptyBand , l = t.Report.Components.IStiTextBrush , u = t.Report.Components.IStiFont , c = t.Report.Components.IStiBrush , m = t.Report.Components.IStiBorder , p = t.Report.Components.StiComponentHelper , h = function(e) { function h() { return null !== e && e.apply(this, arguments) || this } return __extends(h, e), h.prototype.setReportVariables = function(t) {} , h.prototype.prepare = function(t) { p.fillComponentPlacement(t), StiOptions.Engine.allowResetValuesAtComponent && (t.tagValue = null, t.toolTipValue = null, t.bookmarkValue = null, t.hyperlinkValue = null) } , h.prototype.unPrepare = function(t) {} , h.prototype.internalRenderAsync = function(t) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(e) { return [2, t.clone(!1)] }) }) } , h.prototype.internalRender = function(t) { return t.clone(!1) } , h.prototype.renderAsync = function(e) { return __awaiter(this, void 0, void 0, function() { var p, h, d, g, f, S, A, y, w, b, v, C, E, B, T, I, x, F, D, R, P, N, k; return __generator(this, function(M) { switch (M.label) { case 0: if (p = null, h = e.stimulsoft.as(l), d = e.stimulsoft.as(c), g = e.stimulsoft.as(u), f = e.stimulsoft.as(m), S = e.stimulsoft.as(t.Report.Components.IStiTextHorAlignment), A = null, y = null, w = null, b = a.None, null != h && (A = h.textBrush), null != d && (y = d.brush), null != g && (w = g.font), null != f && null != f.border && (b = f.border.side), C = e.enabled, null != S && (v = S.horAlignment), E = e.report, B = !1, T = null, e.useParentStyles && null != e.parent && (null != E && null != E.engine && null != E.engine.hashParentStyles && E.engine.hashParentStyles.count > 0 && (T = E.engine.hashParentStyles.get(e.parent).stimulsoft.as(i)), null == T && (T = i.getStyle(e.parent)), null != T && (T.setStyleToComponent(e), B = !0, null != (I = e.getComponentStyle2()) && I.setStyleToComponent(e))), e.invokeBeforePrint(e, n.empty), null != E && null != E.engine && E.engine.hashUseParentStyles.containsKey(e) && (x = i.getStyle(e, T), null == E.engine.hashParentStyles && (E.engine.hashParentStyles = new r), E.engine.hashParentStyles.set(e, x), B = !0), !e.isEnabled) return [3, 2]; return e.stimulsoft.is(s) || e.doBookmark(), [4, e.internalRenderAsync()]; case 1: p = M.sent(), null != p && p.invokeEvents(), M.label = 2; case 2: return e.invokeAfterPrint(e, n.empty), B && null != E.engine.hashParentStyles && E.engine.hashParentStyles.remove(e), null != h && (h.textBrush = A), null != d && (d.brush = y), null != g && (g.font = w), null != f && null != f.border && (f.border.side = b), e.stimulsoft.is(o) || (e.enabled = C), null != S && (S.horAlignment = v), F = e.stimulsoft.as(m), null != F && null != (D = p ? p.stimulsoft.as(m) : null) && F.border != D.border && F.border.stimulsoft.equals(D.border) && (D.border = F.border), R = e.stimulsoft.as(c), null != R && null != (P = p ? p.stimulsoft.as(c) : null) && R.brush != P.brush && R.brush.stimulsoft.equals(P.brush) && (P.brush = R.brush), N = e.stimulsoft.as(l), null != N && null != (k = p ? p.stimulsoft.as(l) : null) && N.textBrush != k.textBrush && N.textBrush.stimulsoft.equals(k.textBrush) && (k.textBrush = N.textBrush), e.isRendered = !0, [2, p] } }) }) } , h.prototype.render = function(e) { var p = null, h = e.stimulsoft.as(l), d = e.stimulsoft.as(c), g = e.stimulsoft.as(u), f = e.stimulsoft.as(m), S = e.stimulsoft.as(t.Report.Components.IStiTextHorAlignment), A = null, y = null, w = null, b = a.None, v; null != h && (A = h.textBrush), null != d && (y = d.brush), null != g && (w = g.font), null != f && null != f.border && (b = f.border.side); var C = e.enabled; null != S && (v = S.horAlignment); var E = e.report , B = !1 , T = null; if (e.useParentStyles && null != e.parent && (null != E && null != E.engine && null != E.engine.hashParentStyles && E.engine.hashParentStyles.count > 0 && (T = E.engine.hashParentStyles.get(e.parent).stimulsoft.as(i)), null == T && (T = i.getStyle(e.parent)), null != T)) { T.setStyleToComponent(e), B = !0; var I = e.getComponentStyle2(); null != I && I.setStyleToComponent(e) } if (e.invokeBeforePrint(e, n.empty), null != E && null != E.engine && E.engine.hashUseParentStyles.containsKey(e)) { var x = i.getStyle(e, T); null == E.engine.hashParentStyles && (E.engine.hashParentStyles = new r), E.engine.hashParentStyles.set(e, x), B = !0 } e.isEnabled && (e.stimulsoft.is(s) || e.doBookmark(), null != (p = e.internalRender()) && p.invokeEvents()), e.invokeAfterPrint(e, n.empty), B && null != E.engine.hashParentStyles && E.engine.hashParentStyles.remove(e), null != h && (h.textBrush = A), null != d && (d.brush = y), null != g && (g.font = w), null != f && null != f.border && (f.border.side = b), e.stimulsoft.is(o) || (e.enabled = C), null != S && (S.horAlignment = v); var F = e.stimulsoft.as(m); if (null != F) { var D = p ? p.stimulsoft.as(m) : null; null != D && F.border != D.border && F.border.stimulsoft.equals(D.border) && (D.border = F.border) } var R = e.stimulsoft.as(c); if (null != R) { var P = p ? p.stimulsoft.as(c) : null; null != P && R.brush != P.brush && R.brush.stimulsoft.equals(P.brush) && (P.brush = R.brush) } var N = e.stimulsoft.as(l); if (null != N) { var k = p ? p.stimulsoft.as(l) : null; null != k && N.textBrush != k.textBrush && N.textBrush.stimulsoft.equals(k.textBrush) && (k.textBrush = N.textBrush) } return e.isRendered = !0, p } , h }(e.StiBuilder); e.StiComponentBuilder = h }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Report.Components.StiBand , n = t.Report.Components.StiGroupHeaderBand , o = t.Report.Components.IStiComponentsOwnerRenderer , a = t.Report.Components.StiContainerHelper , s = t.Report.Components.StiContainer , l = t.Report.Components.StiPanel , u = function(u) { function c() { return null !== u && u.apply(this, arguments) || this } return __extends(c, u), c.getRenderContainer = function(e, r) { void 0 === r && (r = null); var o = null; null != r ? (o = t.System.Activator.createInstance(r), o.clientRectangle = e.clientRectangle.clone()) : e.stimulsoft.is(l) ? (o = new l(e.clientRectangle.clone()), o.columns = e.columns) : o = new s(e.clientRectangle.clone()), o.minSize = e.minSize, o.maxSize = e.maxSize, o.dockStyle = e.dockStyle, o.name = e.name, o.parentComponentIsBand = e.stimulsoft.is(i), o.parentComponentIsCrossBand = e.stimulsoft.is(t.Report.Components.StiCrossDataBand), o.canBreak = e.canBreak, o.canGrow = e.canGrow, o.canShrink = e.canShrink, o.growToHeight = e.growToHeight, o.shiftMode = e.shiftMode, o.printable = e.printable, o.printOn = e.printOn, o.componentStyle = e.componentStyle, o.currentBookmark = e.currentBookmark, o.parentBookmark = e.parentBookmark, o.guid = e.guid, o.interaction = e.interaction, o.drillDownParameters = e.drillDownParameters, e.stimulsoft.is(n) && (o.collapsingIndex = e.collapsingIndex, o.collapsedValue = e.collapsedValue), e.stimulsoft.is(t.Report.Components.StiDataBand) && (o.collapsingIndex = e.collapsingIndex, o.collapsedValue = e.collapsedValue, o.collapsingTreePath = e.collapsingTreePath); var a = e.stimulsoft.as(i); null != a && (a.bandInfo.forceCanBreak && (o.canBreak = !0), a.bandInfo.forceCanGrow && (o.canGrow = !0)); var u = e.stimulsoft.as(s); return null != u && (o.brush = u.brush.clone(), o.border = u.border.clone()), StiOptions.Export.optimizeDataOnlyMode && (o.componentPlacement = e.componentPlacement), o } , c.prototype.internalRenderAsync = function(i) { return __awaiter(this, void 0, void 0, function() { var n, l, u, m, p, h, d, g, f, S, A, y, w, b, v, h, C, E, B, T, I, x, F, D, R, P; return __generator(this, function(N) { switch (N.label) { case 0: if (n = i, l = !1, u = c.getRenderContainer(n), n.report.calculationMode == e.StiCalculationMode.Interpretation && (u.bookmark = n.bookmark, u.hyperlink = n.hyperlink, u.tag = n.tag), n.stimulsoft.is(o)) return [3, 8]; N.label = 1; case 1: N.trys.push([1, 6, 7, 8]), m = __values(n.components.list), p = m.next(), N.label = 2; case 2: if (p.done) return [3, 5]; if (h = p.value, null == h.parentBookmark && (h.parentBookmark = n.currentBookmark), h.componentType != t.Report.Components.StiComponentType.Simple) return [3, 4]; return h.parentBookmark = n.currentBookmark, [4, h.renderAsync()]; case 3: if (null != (d = N.sent()) && (g = d.stimulsoft.as(s), null != g && -1 != g.containerInfo.setSegmentPerWidth && (u.containerInfo.setSegmentPerWidth = g.containerInfo.setSegmentPerWidth), u.components.add(d), StiOptions.Engine.allowInteractionInChartWithComponents && null != (f = d.stimulsoft.as(t.Report.Chart.IStiChart)) && null != f.chartInfo.interactiveComps)) try { for (F = void 0, S = __values(f.chartInfo.interactiveComps), A = S.next(); !A.done; A = S.next()) y = A.value, y.left += d.left, y.top += d.top, u.components.add(y) } catch (t) { F = { error: t } } finally { try { A && !A.done && (D = S.return) && D.call(S) } finally { if (F) throw F.error } } N.label = 4; case 4: return p = m.next(), [3, 2]; case 5: return [3, 8]; case 6: return w = N.sent(), I = { error: w }, [3, 8]; case 7: try { p && !p.done && (x = m.return) && x.call(m) } finally { if (I) throw I.error } return [7]; case 8: if (n.report.engine.denyRenderMasterComponentsInContainer) return [3, 16]; if (n.stimulsoft.is(o)) return [3, 16]; N.label = 9; case 9: N.trys.push([9, 14, 15, 16]), b = __values(n.components.list), v = b.next(), N.label = 10; case 10: if (v.done) return [3, 13]; if (h = v.value, h.parentBookmark = n.currentBookmark, h.componentType != t.Report.Components.StiComponentType.Master) return [3, 12]; return [4, h.renderAsync()]; case 11: N.sent(), h.stimulsoft.is(t.Report.Components.StiDataBand) && (l = !0), N.label = 12; case 12: return v = b.next(), [3, 10]; case 13: return [3, 16]; case 14: return C = N.sent(), R = { error: C }, [3, 16]; case 15: try { v && !v.done && (P = b.return) && P.call(b) } finally { if (R) throw R.error } return [7]; case 16: if (!l) return [3, 18]; E = !1, B = n; while (!0) { if (B.stimulsoft.is(t.Report.Components.StiPageHeaderBand) || B.stimulsoft.is(t.Report.Components.StiPageFooterBand) || B.stimulsoft.is(t.Report.Components.StiReportTitleBand) || B.stimulsoft.is(t.Report.Components.StiReportSummaryBand)) { E = !0; break } if (null == B || B.stimulsoft.is(t.Report.Components.StiPage)) break; B = B.parent } return [4, r.StiSubReportsHelper.renderDataBandsInContainerAsync(u, n, E)]; case 17: N.sent(), N.label = 18; case 18: return T = u.width, a.checkSize(u), u.parentComponentIsCrossBand || (u.width = T), [2, u] } }) }) } , c.prototype.internalRender = function(i) { var n, l, u, m, p, h, d = i, g = !1, f = c.getRenderContainer(d); if (d.report.calculationMode == e.StiCalculationMode.Interpretation && (f.bookmark = d.bookmark, f.hyperlink = d.hyperlink, f.tag = d.tag), !d.stimulsoft.is(o)) try { for (var S = __values(d.components.list), A = S.next(); !A.done; A = S.next()) { var y = A.value; if (null == y.parentBookmark && (y.parentBookmark = d.currentBookmark), y.componentType == t.Report.Components.StiComponentType.Simple) { y.parentBookmark = d.currentBookmark; var w = y.render(); if (null != w) { var b = w.stimulsoft.as(s); if (null != b && -1 != b.containerInfo.setSegmentPerWidth && (f.containerInfo.setSegmentPerWidth = b.containerInfo.setSegmentPerWidth), f.components.add(w), StiOptions.Engine.allowInteractionInChartWithComponents) { var v = w.stimulsoft.as(t.Report.Chart.IStiChart); if (null != v && null != v.chartInfo.interactiveComps) try { for (var C = (u = void 0, __values(v.chartInfo.interactiveComps)), E = C.next(); !E.done; E = C.next()) { var B = E.value; B.left += w.left, B.top += w.top, f.components.add(B) } } catch (t) { u = { error: t } } finally { try { E && !E.done && (m = C.return) && m.call(C) } finally { if (u) throw u.error } } } } } } } catch (t) { n = { error: t } } finally { try { A && !A.done && (l = S.return) && l.call(S) } finally { if (n) throw n.error } } if (!d.report.engine.denyRenderMasterComponentsInContainer && !d.stimulsoft.is(o)) try { for (var T = __values(d.components.list), I = T.next(); !I.done; I = T.next()) { var y = I.value; y.parentBookmark = d.currentBookmark, y.componentType == t.Report.Components.StiComponentType.Master && (y.render(), y.stimulsoft.is(t.Report.Components.StiDataBand) && (g = !0)) } } catch (t) { p = { error: t } } finally { try { I && !I.done && (h = T.return) && h.call(T) } finally { if (p) throw p.error } } if (g) { var x = !1 , F = d; while (!0) { if (F.stimulsoft.is(t.Report.Components.StiPageHeaderBand) || F.stimulsoft.is(t.Report.Components.StiPageFooterBand) || F.stimulsoft.is(t.Report.Components.StiReportTitleBand) || F.stimulsoft.is(t.Report.Components.StiReportSummaryBand)) { x = !0; break } if (null == F || F.stimulsoft.is(t.Report.Components.StiPage)) break; F = F.parent } r.StiSubReportsHelper.renderDataBandsInContainer(f, d, x) } var D = f.width; return a.checkSize(f), f.parentComponentIsCrossBand || (f.width = D), f } , c }(r.StiComponentBuilder); r.StiContainerBuilder = u }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.CrossTab.StiCrossTab , i = t.Report.Components.StiChildBand , n = t.Report.Components.StiSubReport , o = t.Report.Components.StiComponentsCollection , a = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.getChildBands = function(t) { var e = new o , r = t.parent.components.indexOf(t) + 1; while (r < t.parent.components.count) { if (!t.parent.components.getByIndex(r).stimulsoft.is(i)) break; e.add(t.parent.components.getByIndex(r)), r++ } return e } , e.getSubReports = function(t) { var e, r, i = new o; try { for (var a = __values(t.components.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; l.stimulsoft.is(n) && i.add(l) } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (e) throw e.error } } return i } , e.prototype.prepare = function(e) { var i, o; t.prototype.prepare.call(this, e); var a = e , s = a.getComponents(); try { for (var l = __values(s.list), u = l.next(); !u.done; u = l.next()) { var c = u.value , m = c.stimulsoft.as(n); if (null != m) { m.keepSubReportTogether || (a.bandInfo.forceCanBreak = !0), a.bandInfo.forceCanGrow = !0; break } var p = c.stimulsoft.as(r); if (null != p) { p.keepCrossTabTogether || (a.bandInfo.forceCanBreak = !0), a.bandInfo.forceCanGrow = !0; break } } } catch (t) { i = { error: t } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (i) throw i.error } } } , e }(e.StiContainerBuilder); e.StiBandBuilder = a }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiDataBand , i = t.Report.Events.StiValueEventArgs , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.getMaster = function(t) { var e = t.parent.components.indexOf(t) + 1; while (e < t.parent.components.count) { if (t.parent.components.getByIndex(e).stimulsoft.is(r)) return t.parent.components.getByIndex(e); e++ } return null } , e.getCurrentConditionValue = function(t) { var e = new i(null); return t.invokeGetValue(e), e.value } , e.getCurrentSummaryExpressionValue = function(t) { var e = new i(null); return t.invokeGetSummaryExpression(e), e.value } , e.prototype.setReportVariables = function(t) { var e = t; e.report.groupLine = e.line } , e.prototype.prepare = function(e) { var r = e; t.prototype.prepare.call(this, r), r.line = 1 } , e }(e.StiBandBuilder); e.StiGroupHeaderBandBuilder = n }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString, n = t.Data.Engine.StiDataPicker, o = t.System.Data.DBNull, a = t.System.Data.DataRow, s = t.System.Data.DataTable, l = t.System.Data.DataColumn, u = t.System.ICloneable, c = t.System.Collections.List, m = t.System.Collections.IEnumerator, p = t.Base.JsonReportObject.IStiJsonReportObject, h = t.System.Collections.Hashtable, d = t.System.Convert, g = t.Report.Components.StiHierarchicalBand, f = t.Report.Engine.StiGroupHeaderBandBuilder, S = t.Report.Components.StiGroupSummaryType, A = t.System.TimeSpan, y = t.System.DateTime, w = t.Base.StiJson, b = t.System.StiPromise, v = t.Base.IStiAppDataSource, C = t.Base.StiKeyHelper, E; !function(t) { t[t.NameInSource = 100] = "NameInSource", t[t.Name = 200] = "Name", t[t.Alias = 300] = "Alias", t[t.AllowExpressions = 400] = "AllowExpressions", t[t.Columns = 500] = "Columns", t[t.CommandTimeout = 600] = "CommandTimeout", t[t.ConnectOnStart = 700] = "ConnectOnStart", t[t.Parameters = 800] = "Parameters", t[t.ReconnectOnEachRow = 900] = "ReconnectOnEachRow", t[t.SqlCommand = 1e3] = "SqlCommand", t[t.Type = 1100] = "Type" }(E || (E = {})); var B = function() { function E(e, n, o) { void 0 === o && (o = ""), 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 h, this.detailRows = null, this.rowToLevel = null, this._isCloud = !1, this.connectionOrder = t.Report.Dictionary.StiConnectionOrder.Standard, this.connectOnStart = !0, this._key = null, this.name = e, this.alias = n, i.isNullOrEmpty(this.alias) && (this.alias = e), this.rows = new t.Report.Dictionary.StiRowsCollection(this), this.columns = new r.StiDataColumnsCollection(this), this.parameters = new t.Report.Dictionary.StiDataParametersCollection(this), this.key = o } return E.prototype.implements = function() { return [u, v, e.IStiStateSaveRestore, r.IStiEnumerator, m, e.IStiName, e.IStiInherited, p] } , E.prototype.saveToJsonObject = function(t) { var e = new w; 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 } , E.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , E.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 } } } , E.prototype.getNameInSource = function() { var t = this.stimulsoft.as(r.StiDataStoreSource); return null != t ? i.isNullOrEmpty(t.nameInSource) ? "" : t.nameInSource : "" } , E.prototype.getName = function() { return this.name } , E.prototype.getDataTable2 = function(e) { return __awaiter(this, void 0, void 0, function() { var i = this; return __generator(this, function(n) { return [2, new Promise(function(n) { var o, a; if (!e) return n(i.dataTable); var s = i.stimulsoft.as(r.StiSqlSource) , l = i.stimulsoft.as(r.StiVirtualSource) , u = ""; try { if (null != s) { u = s.sqlCommand; var c = new t.Report.Components.StiText; c.name = "**DataSourceParameter**", c.page = i.dictionary.report.pages.getByIndex(0); try { for (var m = __values(i.parameters.list), p = m.next(); !p.done; p = m.next()) { var h = p.value; h.parameterValue = t.Report.Engine.StiParser.StiParser.parseTextValue("{" + h.value + "}", c) } } catch (t) { o = { error: t } } finally { try { p && !p.done && (a = m.return) && a.call(m) } finally { if (o) throw o.error } } s.sqlCommand = d.toString(t.Report.Engine.StiParser.StiParser.parseTextValue(s.sqlCommand, c)), t.Report.Dictionary.StiDataSourceParserHelper.connectSqlSource(s), r.StiDataLeader.connectAsync(i, null).try(function() { null != s && (s.sqlCommand = u), n(i.dataTable) }, i).catch(function() { null != s && (s.sqlCommand = u), n(null) }) } else null != l ? l.connectToDataAsync(!0).try(function() { n(i.dataTable) }) : r.StiDataLeader.connectAsync(i, null).try(function() { null != s && (s.sqlCommand = u), n(i.dataTable) }, i).catch(function() { null != s && (s.sqlCommand = u), n(null) }) } catch (t) { null != s && (s.sqlCommand = u), i.dataTable = null, n(i.dataTable) } } )] }) }) } , E.prototype.getDictionary = function() { return this.dictionary } , E.prototype.fetchColumns = function() { return this.columns.toList().cast() } , E.prototype.getConnection = function() { return r.StiDataSourceHelper.getDatabaseFromDataSource(this) } , E.prototype.fetchParentRelations = function(t) { return this.parentRelationList(t) } , E.prototype.fetchChildRelations = function(t) { return this.childRelationList(t) } , E.prototype.fetchColumnValues = function(e) { var i, n, o, a, s = this, l = new c; if (null == e || 0 == e.length) return l; var u = e.select(function(t) { return s.columns.getByName(t) }); if (u.all(function(t) { return null == t })) return l; var m = null == this.dataTable || 0 == this.dataTable.rows.count; if (null == this.dataTable || 0 == this.dataTable.rows.count) return l; this.first(); try { for (var p = __values(this.dataTable.rows.list), h = p.next(); !h.done; h = p.next()) { var d = h.value , g = Array.create(Object, u.count2()) , f = 0; try { for (var S = (o = void 0, __values(u)), A = S.next(); !A.done; A = S.next()) { var y = A.value; if (y.stimulsoft.is(r.StiCalcDataColumn)) { var w = "{" + y.value + "}" , b = t.Report.Dashboard.StiReportParser.parse(w, this.dictionary.report.pages.getByIndex(0), !1); g[f] = b } else { var v = this.dataTable.columns.getIndexByName(y.nameInSource) , b = d.gett(v); g[f] = b } f++ } } catch (t) { o = { error: t } } finally { try { A && !A.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } l.add(g), this.next() } } catch (t) { i = { error: t } } finally { try { h && !h.done && (n = p.return) && n.call(p) } finally { if (i) throw i.error } } return this.first(), l } , E.prototype.getKey = function() { return this.key = C.getOrGeneratedKey(this.key), this.key } , E.prototype.setKey = function(t) { this.key = t } , Object.defineProperty(E.prototype, "inherited", { get: function() { return this._inherited }, set: function(t) { this._inherited = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "current", { get: function() { return this }, enumerable: !0, configurable: !0 }), E.prototype.moveNext = function() { return this.next(), !this.isEof } , E.prototype.reset = function() { this.first() } , E.prototype.getEnumerator = function() { return this } , Object.defineProperty(E.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 = e.StiNameValidator.correctName(t)), this._name = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "position", { get: function() { return this.positionValue }, set: function(t) { this.positionValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "realCount", { get: function() { if (null != this.detailRows) return this.detailRows.length; return null == this.dataTable ? 0 : this.dataTable.rows.count }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.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: !0, configurable: !0 }), Object.defineProperty(E.prototype, "isBof", { get: function() { if (this.isEmpty) return !0; return this.isBofValue }, set: function(t) { this.isBofValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "isEof", { get: function() { if (this.isEmpty) return !0; return this.isEofValue }, set: function(t) { this.isEofValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "isEmpty", { get: function() { return 0 == this.count }, enumerable: !0, configurable: !0 }), E.prototype.first = function() { this.positionValue = 0, this.isEofValue = !1, this.isBofValue = !0 } , E.prototype.prior = function() { this.isBofValue = !1, this.isEofValue = !1, this.positionValue <= 0 ? this.isBofValue = !0 : this.positionValue-- } , E.prototype.next = function() { if (this.isBofValue = !1, this.isEofValue = !1, this.positionValue >= this.count - 1) return void (this.isEofValue = !0); this.positionValue++ } , E.prototype.last = function() { this.positionValue = this.count - 1, this.isEofValue = !0, this.isBofValue = !1 } , E.prototype.clone = function() { var t, e, i = this.stimulsoft.memberwiseClone(); i.columns = new r.StiDataColumnsCollection(i); try { for (var n = __values(this.columns.list), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = a.clone(); s.dataSource = i, i.columns.add(s) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } return i } , E.prototype.memberwiseClone = function() { return new (this.stimulsoft.getType()) } , Object.defineProperty(E.prototype, "states", { get: function() { return null == this._states && (this._states = new e.StiStatesManager), this._states }, enumerable: !0, configurable: !0 }), E.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) } , E.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) } , E.prototype.clearAllStates = function() { this._states = null } , E.prototype.isEqualSort = function(t, e) { var r, i; 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 n = 0; try { for (var o = __values(t), a = o.next(); !a.done; a = o.next()) { if (a.value != e[n]) return !1; n++ } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return !0 } , E.prototype.setData = function(t, e, r, i, n, o) { if (this.resFilterMethod != r && (this.isInited = !1), this.isEqualSort(i, this.resSortColumns) || (this.isInited = !1), null != t && (t.name != this.nameOfDataBandWhichInitDataSource && (this.isInited = !1), this.nameOfDataBandWhichInitDataSource = t.name), !!1 && this.isInited && !n && !this.initForSubreport && e == this.relationNameStored) return; if (null != t) { var a = t.report; null == a && null != o && (a = o.report), null != a && a.cacheTotals && null != a.cachedTotals && !a.cachedTotalsLocked && a.cachedTotals.set(t, null) } var s = !1 , l = r , u = i , c = null; null != t && (c = t.dataBandInfo.groupHeaders, t.dataBandInfo.groupHeaderCachedResults = null, t.dataBandInfo.groupFooterCachedResults = null), this.detailRows = null, this.setDetails(e), StiOptions.Engine.filterDataInDataSourceBeforeSorting && this.setFilter(r); var m = this.getConditions(t); this.setSort(m, i, o, t, c), StiOptions.Engine.filterDataInDataSourceBeforeSorting || this.setFilter(r), this.isInited = !0, e = this.relationNameStored } , E.prototype.getConditions = function(e) { var r, i, n, o, a = null; if (null == e) return a; var s = null; if (null != (s = e.dataBandInfo.groupHeaders) && s.count > 0) { var l = e.isEof , u = e.isBof , c = 0; try { for (var m = __values(s.toCast()), p = m.next(); !p.done; p = m.next()) { var h = p.value; h.sortDirection != t.Report.Components.StiGroupSortDirection.None && c++ } } catch (t) { r = { error: t } } finally { try { p && !p.done && (i = m.return) && i.call(m) } finally { if (r) throw r.error } } if (0 == c) return a; a = Array.create(Object, e.count, c, 2); for (var d = 0; d < e.count; d++) { e.position = d; var g = 0; try { for (var S = (n = void 0, __values(s.toCast())), A = S.next(); !A.done; A = S.next()) { var h = A.value; h.sortDirection != t.Report.Components.StiGroupSortDirection.None && (a[d][g][0] = f.getCurrentConditionValue(h), a[d][g][1] = h.sortDirection, g++) } } catch (t) { n = { error: t } } finally { try { A && !A.done && (o = S.return) && o.call(S) } finally { if (n) throw n.error } } } e.isEof = l, e.isBof = u } return a } , E.prototype.setDetails = function(t) { var e = this.stimulsoft.as(r.StiSqlSource); if (null != e && e.reconnectOnEachRow && e.updateParameters(), !i.isNullOrEmpty(t)) { var n = this.dictionary.relations.getByName(t); if (null != n) { var o = n.parentSource; if (null != o) { var a = o.dataTable; null != a && (null != o.detailRows ? 0 != o.detailRows.length ? o.position < o.detailRows.length ? this.detailRows = o.detailRows[o.position].getChildRows(t) : this.detailRows = [] : this.detailRows = o.detailRows : o.position < a.rows.count && (this.detailRows = a.rows.getByIndex(o.position).getChildRows(t))) } } } } , E.prototype.setFilter = function(e) { if (null != e && this.realCount > 0) { var r = this.position , i = this.dictionary.report.line , n = new Array; if (e.stimulsoft.is(t.Report.Engine.StiParser.StiFilterParserData)) for (var o = e, a = 0; a < this.count; a++) { this.position = a, this.dictionary.report.line = a + 1; try { var s = t.Report.Engine.StiParser.StiParser.parseTextValue(o.expression, o.component); null != s && s.stimulsoft.is(Boolean) && s && (null == this.detailRows ? n.add(this.dataTable.rows.getByIndex(a)) : n.add(this.detailRows[a])) } catch (e) { t.System.StiError.showError(e, !1) } } this.detailRows = n, this.position = r, this.dictionary.report.line = i } } , E.prototype.setSort = function(n, o, s, l, u) { var c, m, p, f, w, b, v, C, E, B, T, I, x, F, D, R, P, N; try { if (null != s && s.stimulsoft.is(g)) { if (0 == this.realCount) return; null == this.detailRows && null != this.dataTable && (this.detailRows = Array.create(a, this.dataTable.rows.count), this.dataTable.rows.copyTo(this.detailRows, 0)); var k = new h , M = 0; try { for (var O = __values(this.detailRows), _ = O.next(); !_.done; _ = O.next()) { var L = _.value; k.set(L.recordIndex, M++) } } catch (t) { c = { error: t } } finally { try { _ && !_.done && (m = O.return) && m.call(O) } finally { if (c) throw c.error } } return void new r.StiHierarchicalDataSort(this,s.stimulsoft.as(g),o).process(k) } if ((null != n || null != o) && this.realCount > 0) { var j = []; if (null == this.detailRows && null != this.dataTable) try { for (var H = __values(this.dataTable.rows.list), G = H.next(); !G.done; G = H.next()) { var L = G.value; j.add(L) } } catch (t) { p = { error: t } } finally { try { G && !G.done && (f = H.return) && f.call(H) } finally { if (p) throw p.error } } if (null != this.detailRows) try { for (var Q = __values(this.detailRows), Y = Q.next(); !Y.done; Y = Q.next()) { var L = Y.value; j.add(L) } } catch (t) { w = { error: t } } finally { try { Y && !Y.done && (b = Q.return) && b.call(Q) } finally { if (w) throw w.error } } var k = new h , M = 0; try { for (var U = __values(j), J = U.next(); !J.done; J = U.next()) { var L = J.value; k.set(L.recordIndex, M++) } } catch (t) { v = { error: t } } finally { try { J && !J.done && (C = U.return) && C.call(U) } finally { if (v) throw v.error } } var W = new r.StiDataSort(k,n,o,this); j.sort2(W); var V = 0; this.detailRows = []; try { for (var z = __values(j), X = z.next(); !X.done; X = z.next()) { var L = X.value; this.detailRows[V++] = L } } catch (t) { E = { error: t } } finally { try { X && !X.done && (B = z.return) && B.call(z) } finally { if (E) throw E.error } } var K = !1; if (null != u) try { for (var Z = __values(u.toCast()), q = Z.next(); !q.done; q = Z.next()) { var $ = q.value; if ($.summarySortDirection != t.Report.Components.StiGroupSortDirection.None) { K = !0; break } } } catch (t) { T = { error: t } } finally { try { q && !q.done && (I = Z.return) && I.call(Z) } finally { if (T) throw T.error } } if (K) { var tt = new h , et = new h , rt = Array.create(Number, u.count) , it = new h , nt = 0; try { for (var ot = __values(j), at = ot.next(); !at.done; at = ot.next()) { var L = at.value; l.position = nt, it.set(L, nt), t.Report.Engine.StiDataBandBuilder.prepareGroupResults(l); var st = 0; try { for (var lt = (D = void 0, __values(u.toCast())), ut = lt.next(); !ut.done; ut = lt.next()) { var $ = ut.value; if (l.dataBandInfo.groupHeaderResults[st] && null != $.report) { var ct = $.report; ct.cacheTotals && null != ct.cachedTotals && ct.cachedTotals.set($, null) } var mt = null , pt = $; if ($.summaryType != S.Count) if ($.report.calculationMode == e.StiCalculationMode.Compilation) { if (mt = $.name + "__GetSummaryExpression", null == t.Report.Totals.getMethod($.report, mt)) continue } else { if (i.isNullOrEmpty($.summaryExpression)) continue; var ht = !1 , dt = new t.Report.Engine.StiParser.StiParser , gt = { ref: ht } , ft = t.Report.Engine.StiParser.StiParser.parseTextValue($.summaryExpression, $, $, gt, !1, !0, dt); pt = new t.Report.Engine.StiParser.StiParserData($,ft,dt) } var St = null; switch ($.summaryType) { case S.Avg: try { St = d.changeType(t.Report.Totals.avg(pt, $.report, mt), Number) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.AvgDate: try { St = t.System.Convert.changeType(t.Report.Totals.avgDate(pt, $.report, mt), y) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.AvgTime: try { St = t.System.Convert.changeType(t.Report.Totals.avgTime(pt, $.report, mt), A) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.Count: try { St = t.Report.Totals.count($) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.CountDistinct: try { St = t.Report.Totals.countDistinct($, $.report, mt) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.Max: try { St = t.System.Convert.changeType(t.Report.Totals.max(pt, $.report, mt), Number) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.MaxDate: try { St = t.System.Convert.changeType(t.Report.Totals.maxDate(pt, $.report, mt), y) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.MaxTime: try { St = t.System.Convert.changeType(t.Report.Totals.maxTime(pt, $.report, mt), A) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.Median: try { St = t.System.Convert.changeType(t.Report.Totals.median(pt, $.report, mt), Number) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.Min: try { St = t.System.Convert.changeType(t.Report.Totals.min(pt, $.report, mt), Number) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.MinDate: try { St = t.System.Convert.changeType(t.Report.Totals.minDate(pt, $.report, mt), y) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.MinTime: try { St = t.System.Convert.changeType(t.Report.Totals.minTime(pt, $.report, mt), A) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.Mode: try { St = t.System.Convert.changeType(t.Report.Totals.mode(pt, $.report, mt), Number) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.Sum: try { St = t.System.Convert.changeType(t.Report.Totals.sum(pt, $.report, mt), Number) } catch (e) { t.System.StiError.showError(e, !1) } break; case S.SumTime: try { St = t.System.Convert.changeType(t.Report.Totals.sumTime(pt, $.report, mt), A) } catch (e) { t.System.StiError.showError(e, !1) } break } l.dataBandInfo.groupHeaderResults[st] && rt[st]++; var At = tt.get($); null == At && (At = new h, tt.set($, At)), At.set(L, St), At = et.get($), null == At && (At = new h, et.set($, At)), At.set(L, rt[st]), st++ } } catch (t) { D = { error: t } } finally { try { ut && !ut.done && (R = lt.return) && R.call(lt) } finally { if (D) throw D.error } } nt++ } } catch (t) { x = { error: t } } finally { try { at && !at.done && (F = ot.return) && F.call(ot) } finally { if (x) throw x.error } } if (null != tt && tt.count > 0) { l.dataBandInfo.groupHeaderCachedResults = null, l.dataBandInfo.groupFooterCachedResults = null; var yt = new t.Report.Dictionary.StiGroupSummaryDataSort(tt,et,u,it); j.sort2(yt), V = 0, this.detailRows = []; try { for (var wt = __values(j), bt = wt.next(); !bt.done; bt = wt.next()) { var L = bt.value; this.detailRows[V++] = L } } catch (t) { P = { error: t } } finally { try { bt && !bt.done && (N = wt.return) && N.call(wt) } finally { if (P) throw P.error } } yt.clear() } } W.clear() } } catch (e) { t.System.StiError.showError("SetSort...ERROR:" + e.message, !1) } } , E.prototype.resetDetailsRows = function() { this.detailRows = null } , E.prototype.resetData = function() { this.isInited = !1, this.relationNameStored = null, this.resFilterMethod = null, this.resSortColumns = null } , E.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 } , E.prototype.getParentData = function(t) { var e = this.getDataRow(this.position); if (null != e) { var i = this.dictionary.relations.getByName(t); null != i && (t = i.nameInSource); var n = e.getParentRows(t); e = null != n && n.length > 0 ? n[0] : null } return new r.StiDataRow(this.dictionary.relations.getByName(t).parentSource,e) } , E.prototype.getParentRelations = function() { var e, r, i = new t.Report.Dictionary.StiDataRelationsCollection(this.dictionary); if (null == this.dictionary) return i; try { for (var n = __values(this.dictionary.relations.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.childSource == this && i.add(a) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return i } , E.prototype.getChildRelations = function() { var e, r, i = new t.Report.Dictionary.StiDataRelationsCollection(this.dictionary); try { for (var n = __values(i.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.parentSource == this && i.add(a) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return i } , E.prototype.getParentDataSource = function(e, r) { var i, n, o, a; void 0 === r && (r = !1); try { for (var s = __values(this.dictionary.relations.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (u.childSource == this && u.nameInSource == e) return u.parentSource; if (u.childSource == this && r && u.name == e) return u.parentSource } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } try { for (var c = __values(this.dictionary.relations.list), m = c.next(); !m.done; m = c.next()) { var u = m.value; if (u.childSource == this && t.Report.StiNameValidator.correctName(u.nameInSource) == e) return u.parentSource } } catch (t) { o = { error: t } } finally { try { m && !m.done && (a = c.return) && a.call(c) } finally { if (o) throw o.error } } return null } , E.prototype.getChildDataSource = function(t) { var e, r; try { for (var i = __values(this.dictionary.relations.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.parentSource == this && o.nameInSource == t) return o.childSource } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , E.prototype.invokeConnecting = function() { var i, n; try { var o = !0; if (null != this.dictionary && null != this.dictionary.report && this.dictionary.report.calculationMode == e.StiCalculationMode.Interpretation && (o = !1), !o) { var a = new t.Report.Components.StiText; a.name = "**DataSourceParameter**", a.page = this.dictionary.report.pages.getByIndex(0); try { for (var s = __values(this.parameters.list), l = s.next(); !l.done; l = s.next()) var u = l.value } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } var c = this.stimulsoft.as(r.StiSqlSource); if (null != c) { var m = null; if (null != this.dictionary.report.variables && null != this.dictionary.report.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**" + c.name) && (m = this.dictionary.report.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**" + c.name)), null != m && m.stimulsoft.is(String)) { a.name = "**DataSourceSqlCommand**"; var p = ""; while (m.indexOf("{") >= 0) { p += m.substr(0, m.indexOf("{")), m = m.substr(m.indexOf("{")); var h = m.substr(0, m.indexOf("}") + 1) , d = t.System.Convert.toString(t.Report.Engine.StiParser.StiParser.parseTextValue(h, a)); null != d ? !0 === StiOptions.Engine.escapeQueryParameters ? p += d.replace(/\\/gi, "\\\\").replace(/\'/gi, "\\'").replace(/\"/gi, '\\"') : p += d : p += h, m = m.substr(m.indexOf("}") + 1) } c.sqlCommand = p + m } } } } catch (t) {} } , E.prototype.invokeDisconnecting = function() {} , E.prototype.connectAsync = function(t, e) { var i = new b; null == this.dictionary || this.dictionary.useInternalData || this.invokeConnecting(); var n = this.getDataAdapter(); return r.StiDataLeader.connectDataSourceToDataAsync(n, this.dictionary, this, e).try(function() { i.callTry() }).catch(function(t) { i.callCatch(t) }).abort(i), i } , E.prototype.connect = function(e, i) { var n, a, u, c; null == this.dictionary || this.dictionary.useInternalData || this.invokeConnecting(); var m = this.getDataAdapter(); if (r.StiDataLeader.connectDataSourceToData(m, this.dictionary, this, i), (null == this.dataTable || 0 == this.realCount) && StiOptions.Engine.emulateData && this.dictionary.report.isRendering) { var p = this.dataTable; if (null == p) { p = new s; try { for (var h = __values(this.columns.list), d = h.next(); !d.done; d = h.next()) { var g = d.value , f = new l(g.nameInSource,g.type); p.columns.add(f) } } catch (t) { n = { error: t } } finally { try { d && !d.done && (a = h.return) && a.call(h) } finally { if (n) throw n.error } } } try { var S = p.newRow(); try { for (var A = __values(this.columns.list), w = A.next(); !w.done; w = A.next()) { var g = w.value , b = g.type , v = o.value; b == String ? v = null != this.dataTable && null != this.dataTable.columns.getByName(g.nameInSource) && this.dataTable.columns.getByName(g.nameInSource).stimulsoft.getType() == String ? "Test" : "" : b == Boolean ? v = !0 : b == y ? v = y.now : b == t.System.Char && (v = " "), v = 0, S.setValue(g.nameInSource, v) } } catch (t) { u = { error: t } } finally { try { w && !w.done && (c = A.return) && c.call(A) } finally { if (u) throw u.error } } p.rows.add(S) } catch (e) { t.System.StiError.showError(e, !1), this.dataTable = null, this.dataTable = p } } } , E.prototype.getDataAdapterType = function() { return null } , Object.defineProperty(E.prototype, "dataAdapterType", { get: function() { return this.getDataAdapterType().stimulsoft.getType().stimulsoft.getTypeName() }, enumerable: !0, configurable: !0 }), E.prototype.fillColumns = function() { try { if (null == r.StiDataAdapterService.getDataAdapter(this)) return } catch (e) { t.System.StiError.showError(e, !1) } } , E.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(E.prototype, "parameters", { get: function() { return this._parameters }, set: function(t) { this._parameters = t }, enumerable: !0, configurable: !0 }), E.prototype.getDataTable = function(e) { if (void 0 === e && (e = null), null == e) { if (null != this.dataTable) return this.getDataTable(this.dataTable); return new s(this.name) } for (var r = e.clone(), i = new Array(r.columns.count), n = 0; n < r.columns.count; n++) { var o = r.columns.getByIndex(n); i[n] = e.columns.getIndexByName(o.columnName) } for (var n = 0; n < e.rows.count; n++) for (var a = r.addNewRow(), l = 0; l < r.columns.count; l++) try { a.sett(l, e.rows.getByIndex(n).gett(i[l])) } catch (e) { t.System.StiError.showError(e, !1) } return r } , E.prototype.getByName = function(t) { return this.getData(t) } , E.prototype.getData = function(e, i) { void 0 === i && (i = this.position); try { if (this.isConnected) { var a = this.calcColumns.get(e); if (null != a) { var s = new t.Report.Components.StiText; return s.page = this.dictionary.report.pages.getByIndex(0), s.name = this.dictionary.report.reportGuid, t.Report.Engine.StiParser.StiParser.parseTextValue("{" + a.expression + "}", s) } var l = this.getColumnIndex(e); if (l < 0) return null; var u = this.getDataRow(i); if (null == u) return null; return u.getValue(l) } var c = n.getFromCache(this); if (null == c && null != this.dictionary.report && this.dictionary.report.pages.toList().any(function(t) { return t.isPage }) && (r.StiDataLeader.connect(this, null), c = this.getDataTable(), c = c.copy(), c = n.processCalculatedColumns(c, this), n.addToCache(this, { ref: c }), r.StiDataLeader.disconnect(this)), null != c) return c.columns.contains(e) && i >= 0 && i < c.rows.count ? c.rows.getByIndex(i).gett(e) : o.value; return t.System.Data.DBNull } catch (e) { t.System.StiError.showError(e, !1) } return null } , E.prototype.getDataAsync = function(e, i) { var a = this; void 0 === i && (i = this.position); var s = new b; try { if (this.isConnected) return s.callTry(this.getData(e, i)); var l = n.getFromCache(this); null == l && null != this.dictionary.report && this.dictionary.report.pages.toList().any(function(t) { return t.isPage }) && r.StiDataLeader.connectAsync(this, null).try(function() { if (l = a.getDataTable(), l = l.copy(), l = n.processCalculatedColumns(l, a), n.addToCache(a, { ref: l }), r.StiDataLeader.disconnect(a), null != l) return s.callTry(l.columns.contains(e) && i >= 0 && i < l.rows.count ? l.rows.getByIndex(i).gett(e) : o.value); return s.callTry(o) }), s.callTry(o) } catch (e) { t.System.StiError.showError(e, !1) } return s } , E.prototype.getColumnIndex = function(t) { var e, r, n, o; if (null != this.columnsIndexs) { var a = this.columnsIndexs.get(t); if ((null == a || a.stimulsoft.is(Number) && -1 == +a) && null == (a = this.columnsIndexs.get(t)) && (a = this.columnsIndexs.get(t.toLowerCase())), null == a) return -1; if (-1 == +a) throw i.format("Column '{0}' from data source '{1}' not found in table '{2}'", t, this.name, this.dataTable.tableName); return +a } var a = 0; try { for (var s = __values(this.columns.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (u.nameInSource == t) return a; a++ } } catch (t) { e = { error: t } } finally { try { l && !l.done && (r = s.return) && r.call(s) } finally { if (e) throw e.error } } a = 0; try { for (var c = __values(this.columns.list), m = c.next(); !m.done; m = c.next()) { var u = m.value; if (u.name == t || u.alias == t) return a; a++ } } catch (t) { n = { error: t } } finally { try { m && !m.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } return -1 } , Object.defineProperty(E.prototype, "rows", { get: function() { return this._rows }, set: function(t) { this._rows = t }, enumerable: !0, configurable: !0 }), E.prototype.synchronizeColumns = function() { var t, e, i = this.stimulsoft.as(r.StiDataStoreSource); if (null == i) return; var n = null; try { for (var o = __values(this.dictionary.dataStore.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (s.name.toLowerCase() == i.nameInSource.toLowerCase()) { n = s; break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } if (null == n) return; this.dictionary.synchronizeColumns(n, this) } , E.prototype.checkColumnsIndexs = function() { var t, i; if ((null == this.columnsIndexs || 0 == this.columnsIndexs.keys.length) && null != this.dataTable && this.dataTable.columns.count > 0) { this.columnsIndexs = new h; for (var n = new h, o = 0; o < this.dataTable.columns.count; o++) n.set(this.dataTable.columns.getByIndex(o).columnName.toLowerCase(), o); try { for (var a = __values(this.columns.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.stimulsoft.is(r.StiCalcDataColumn)) { this.calcColumns.set(l.nameInSource.toLowerCase(), l), this.calcColumns.set(l.nameInSource, l), this.calcColumns.set(l.name, l), this.calcColumns.set(l.alias, l), this.calcColumns.set(e.StiNameValidator.correctName(l.name), l); continue } var o = -1 , u = n.get(l.nameInSource.toLowerCase()); null != u && (o = Math.trunc(u.stimulsoft.toNumber())), this.columnsIndexs.set(l.nameInSource.toLowerCase(), o), this.columnsIndexs.set(l.nameInSource, o), this.columnsIndexs.set(l.name, o), this.columnsIndexs.set(l.alias, o), this.columnsIndexs.set(e.StiNameValidator.correctName(l.name), o) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (t) throw t.error } } } } , E.prototype.toString = function() { if (StiOptions.Dictionary.showOnlyAliasForDataSource) return this.alias; return name == this.alias || i.isNullOrEmpty(this.alias) ? name : i.format("{0} [{1}]", this.name, this.alias) } , E.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 e = this.rowToLevel.get(t); if (e.stimulsoft.is(Number)) return +e; return 0 } , E.prototype.getCategoryName = function() { var t = r.StiDataAdapterService.getDataAdapter(this); if (null != t) return t.serviceName; return "" } , E.prototype.createNew = function() { return null } , Object.defineProperty(E.prototype, "isCloud", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "dictionary", { get: function() { return this._dictionary }, set: function(t) { this._dictionary = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "dataTable", { get: function() { return this._dataTable }, set: function(t) { if (this._dataTable = t, this.detailRows = null, null != t && (this.checkColumnsIndexs(), (this.stimulsoft.is(r.StiDataTableSource) && this.dictionary.report.cacheAllData || null == this._dataTable.dataSet) && null != this.dictionary.cacheDataSet)) { var e = 0 , n = this._dataTable.tableName; while (null != this.dictionary.cacheDataSet.tables.getByName(n)) e++, n = i.format("{0}{1}", this.dataTable.tableName, e); this.dataTable.tableName != n && (this.dataTable.tableName = n), this.dictionary.cacheDataSet.tables.add(this.dataTable) } this.first() }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "isConnected", { get: function() { return null != this._dataTable }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "columns", { get: function() { return this._columns }, set: function(t) { var e = this; this._columns = t, null != t && (t.dataSource = this, t.toList().forEach(function(t) { return t.dataSource = e })) }, enumerable: !0, configurable: !0 }), E.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 } , E.prototype.getByColumnName = function(t) { return this.getData(t) } , Object.defineProperty(E.prototype, "alias", { get: function() { return this._alias }, set: function(t) { this._alias = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "key", { get: function() { return this._key }, set: function(t) { this._key = t }, enumerable: !0, configurable: !0 }), E.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 } , E.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 } , E }(); r.StiDataSource = B }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.Report.Dictionary.StiFunctions , o = t.System.Collections.Hashtable , a = t.System.DateTime , s = t.System.TimeSpan , l = t.System.TypeCode , u = t.Report.Dictionary.StiDataSource , c = function() { function t(t, e, r, i) { void 0 === i && (i = String), this.name = t, this.number = e, this.arguments = r, this.returnType = i } return t }(); i.StiParserMethodInfo = c; var m = function() { function i() { this.report = null, this.expressionPosition = 0, this._componentsList = null, this.lockUserFunctionsList = {}, this._userFunctionsList = null } return i.prototype.get_category = function(e) { if (null == e) return -1; var r = e.stimulsoft.getType() , i = 0; return r == String ? i = 1 : r == Number ? i = 4 : r == t.System.DateTime ? i = 8 : r == Boolean && (i = 9), i } , Object.defineProperty(i, "typesList", { get: function() { return null == this._typesList && (this._typesList = new o, this._typesList.set("bool", l.Boolean), this._typesList.set("Boolean", l.Boolean), this._typesList.set("byte", l.Byte), this._typesList.set("Byte", l.Byte), this._typesList.set("sbyte", l.SByte), this._typesList.set("Sbyte", l.SByte), this._typesList.set("char", l.Char), this._typesList.set("Char", l.Char), this._typesList.set("decimal", l.Decimal), this._typesList.set("Decimal", l.Decimal), this._typesList.set("double", l.Double), this._typesList.set("Double", l.Double), this._typesList.set("float", l.Single), this._typesList.set("Single", l.Single), this._typesList.set("int", l.Int32), this._typesList.set("uint", l.UInt32), this._typesList.set("long", l.Int64), this._typesList.set("ulong", l.UInt64), this._typesList.set("short", l.Int16), this._typesList.set("Int16", l.Int16), this._typesList.set("Int32", l.Int32), this._typesList.set("Int64", l.Int64), this._typesList.set("ushort", l.UInt16), this._typesList.set("UInt16", l.UInt16), this._typesList.set("UInt32", l.UInt32), this._typesList.set("UInt64", l.UInt64), this._typesList.set("object", l.Object), this._typesList.set("string", l.String), this._typesList.set("String", l.String), this._typesList.set("DateTime", l.DateTime), this._typesList.set("TimeSpan", s)), this._typesList }, enumerable: !0, configurable: !0 }), Object.defineProperty(i, "systemVariablesList", { get: function() { return null == this._systemVariablesList && (this._systemVariablesList = new o, this._systemVariablesList.set("Column", r.StiSystemVariableType.Column), this._systemVariablesList.set("Line", r.StiSystemVariableType.Line), this._systemVariablesList.set("LineThrough", r.StiSystemVariableType.LineThrough), this._systemVariablesList.set("LineABC", r.StiSystemVariableType.LineABC), this._systemVariablesList.set("LineRoman", r.StiSystemVariableType.LineRoman), this._systemVariablesList.set("GroupLine", r.StiSystemVariableType.GroupLine), this._systemVariablesList.set("PageNumber", r.StiSystemVariableType.PageNumber), this._systemVariablesList.set("PageNumberThrough", r.StiSystemVariableType.PageNumberThrough), this._systemVariablesList.set("PageNofM", r.StiSystemVariableType.PageNofM), this._systemVariablesList.set("PageNofMThrough", r.StiSystemVariableType.PageNofMThrough), this._systemVariablesList.set("TotalPageCount", r.StiSystemVariableType.TotalPageCount), this._systemVariablesList.set("TotalPageCountThrough", r.StiSystemVariableType.TotalPageCountThrough), this._systemVariablesList.set("IsFirstPage", r.StiSystemVariableType.IsFirstPage), this._systemVariablesList.set("IsFirstPageThrough", r.StiSystemVariableType.IsFirstPageThrough), this._systemVariablesList.set("IsLastPage", r.StiSystemVariableType.IsLastPage), this._systemVariablesList.set("IsLastPageThrough", r.StiSystemVariableType.IsLastPageThrough), this._systemVariablesList.set("PageCopyNumber", r.StiSystemVariableType.PageCopyNumber), this._systemVariablesList.set("ReportAlias", r.StiSystemVariableType.ReportAlias), this._systemVariablesList.set("ReportAuthor", r.StiSystemVariableType.ReportAuthor), this._systemVariablesList.set("ReportChanged", r.StiSystemVariableType.ReportChanged), this._systemVariablesList.set("ReportCreated", r.StiSystemVariableType.ReportCreated), this._systemVariablesList.set("ReportDescription", r.StiSystemVariableType.ReportDescription), this._systemVariablesList.set("ReportName", r.StiSystemVariableType.ReportName), this._systemVariablesList.set("Time", r.StiSystemVariableType.Time), this._systemVariablesList.set("Today", r.StiSystemVariableType.Today), this._systemVariablesList.set("value", r.StiSystemVariableType.ConditionValue), this._systemVariablesList.set("value2", r.StiSystemVariableType.ConditionValue2), this._systemVariablesList.set("tag", r.StiSystemVariableType.ConditionTag), this._systemVariablesList.set("sender", r.StiSystemVariableType.Sender), this._systemVariablesList.set("DateTime.Now", r.StiSystemVariableType.DateTimeNow), this._systemVariablesList.set("DateTime.Today", r.StiSystemVariableType.DateTimeToday)), this._systemVariablesList }, enumerable: !0, configurable: !0 }), Object.defineProperty(i, "propertiesList", { get: function() { return null == this._propertiesList && (this._propertiesList = new o, this._propertiesList.set("Year", r.StiPropertyType.Year), this._propertiesList.set("Month", r.StiPropertyType.Month), this._propertiesList.set("Day", r.StiPropertyType.Day), this._propertiesList.set("Hour", r.StiPropertyType.Hour), this._propertiesList.set("Minute", r.StiPropertyType.Minute), this._propertiesList.set("Second", r.StiPropertyType.Second), this._propertiesList.set("Date", r.StiPropertyType.Date), this._propertiesList.set("Length", r.StiPropertyType.Length), this._propertiesList.set("From", r.StiPropertyType.From), this._propertiesList.set("To", r.StiPropertyType.To), this._propertiesList.set("FromDate", r.StiPropertyType.FromDate), this._propertiesList.set("ToDate", r.StiPropertyType.ToDate), this._propertiesList.set("FromTime", r.StiPropertyType.FromTime), this._propertiesList.set("ToTime", r.StiPropertyType.ToTime), this._propertiesList.set("SelectedLine", r.StiPropertyType.SelectedLine), this._propertiesList.set("Name", r.StiPropertyType.Name), this._propertiesList.set("TagValue", r.StiPropertyType.TagValue), this._propertiesList.set("Days", r.StiPropertyType.Days), this._propertiesList.set("Hours", r.StiPropertyType.Hours), this._propertiesList.set("Milliseconds", r.StiPropertyType.Milliseconds), this._propertiesList.set("Minutes", r.StiPropertyType.Minutes), this._propertiesList.set("Seconds", r.StiPropertyType.Seconds), this._propertiesList.set("Ticks", r.StiPropertyType.Ticks), this._propertiesList.set("TotalDays", r.StiPropertyType.TotalDays), this._propertiesList.set("TotalHours", r.StiPropertyType.TotalHours), this._propertiesList.set("TotalMinutes", r.StiPropertyType.TotalMinutes), this._propertiesList.set("TotalSeconds", r.StiPropertyType.TotalSeconds), this._propertiesList.set("TotalMilliseconds", r.StiPropertyType.TotalMilliseconds), this._propertiesList.set("Count", r.StiPropertyType.Count), this._propertiesList.set("BusinessObjectValue", r.StiPropertyType.BusinessObjectValue)), this._propertiesList }, enumerable: !0, configurable: !0 }), Object.defineProperty(i, "functionsList", { get: function() { if (null == this._functionsList) { this._functionsList = new o, this._functionsList.set("Count", r.StiFunctionType.Count), this._functionsList.set("CountDistinct", r.StiFunctionType.CountDistinct), this._functionsList.set("Avg", r.StiFunctionType.Avg), this._functionsList.set("AvgD", r.StiFunctionType.AvgD), this._functionsList.set("AvgDate", r.StiFunctionType.AvgDate), this._functionsList.set("AvgI", r.StiFunctionType.AvgI), this._functionsList.set("AvgTime", r.StiFunctionType.AvgTime), this._functionsList.set("Max", r.StiFunctionType.Max), this._functionsList.set("MaxD", r.StiFunctionType.MaxD), this._functionsList.set("MaxDate", r.StiFunctionType.MaxDate), this._functionsList.set("MaxI", r.StiFunctionType.MaxI), this._functionsList.set("MaxStr", r.StiFunctionType.MaxStr), this._functionsList.set("MaxTime", r.StiFunctionType.MaxTime), this._functionsList.set("Median", r.StiFunctionType.Median), this._functionsList.set("MedianD", r.StiFunctionType.MedianD), this._functionsList.set("MedianI", r.StiFunctionType.MedianI), this._functionsList.set("Min", r.StiFunctionType.Min), this._functionsList.set("MinD", r.StiFunctionType.MinD), this._functionsList.set("MinDate", r.StiFunctionType.MinDate), this._functionsList.set("MinI", r.StiFunctionType.MinI), this._functionsList.set("MinStr", r.StiFunctionType.MinStr), this._functionsList.set("MinTime", r.StiFunctionType.MinTime), this._functionsList.set("Mode", r.StiFunctionType.Mode), this._functionsList.set("ModeD", r.StiFunctionType.ModeD), this._functionsList.set("ModeI", r.StiFunctionType.ModeI), this._functionsList.set("Sum", r.StiFunctionType.Sum), this._functionsList.set("SumD", r.StiFunctionType.SumD), this._functionsList.set("SumDistinct", r.StiFunctionType.SumDistinct), this._functionsList.set("SumI", r.StiFunctionType.SumI), this._functionsList.set("SumTime", r.StiFunctionType.SumTime), this._functionsList.set("First", r.StiFunctionType.First), this._functionsList.set("Last", r.StiFunctionType.Last), this._functionsList.set("CountRunning", r.StiFunctionType.rCount), this._functionsList.set("CountDistinctRunning", r.StiFunctionType.rCountDistinct), this._functionsList.set("AvgRunning", r.StiFunctionType.rAvg), this._functionsList.set("AvgDRunning", r.StiFunctionType.rAvgD), this._functionsList.set("AvgDateRunning", r.StiFunctionType.rAvgDate), this._functionsList.set("AvgIRunning", r.StiFunctionType.rAvgI), this._functionsList.set("AvgTimeRunning", r.StiFunctionType.rAvgTime), this._functionsList.set("MaxRunning", r.StiFunctionType.rMax), this._functionsList.set("MaxDRunning", r.StiFunctionType.rMaxD), this._functionsList.set("MaxDateRunning", r.StiFunctionType.rMaxDate), this._functionsList.set("MaxIRunning", r.StiFunctionType.rMaxI), this._functionsList.set("MaxStrRunning", r.StiFunctionType.rMaxStr), this._functionsList.set("MaxTimeRunning", r.StiFunctionType.rMaxTime), this._functionsList.set("MedianRunning", r.StiFunctionType.rMedian), this._functionsList.set("MedianDRunning", r.StiFunctionType.rMedianD), this._functionsList.set("MedianIRunning", r.StiFunctionType.rMedianI), this._functionsList.set("MinRunning", r.StiFunctionType.rMin), this._functionsList.set("MinDRunning", r.StiFunctionType.rMinD), this._functionsList.set("MinDateRunning", r.StiFunctionType.rMinDate), this._functionsList.set("MinIRunning", r.StiFunctionType.rMinI), this._functionsList.set("MinStrRunning", r.StiFunctionType.rMinStr), this._functionsList.set("MinTimeRunning", r.StiFunctionType.rMinTime), this._functionsList.set("ModeRunning", r.StiFunctionType.rMode), this._functionsList.set("ModeDRunning", r.StiFunctionType.rModeD), this._functionsList.set("ModeIRunning", r.StiFunctionType.rModeI), this._functionsList.set("SumRunning", r.StiFunctionType.rSum), this._functionsList.set("SumDRunning", r.StiFunctionType.rSumD), this._functionsList.set("SumDistinctRunning", r.StiFunctionType.rSumDistinct), this._functionsList.set("SumIRunning", r.StiFunctionType.rSumI), this._functionsList.set("SumTimeRunning", r.StiFunctionType.rSumTime), this._functionsList.set("FirstRunning", r.StiFunctionType.rFirst), this._functionsList.set("LastRunning", r.StiFunctionType.rLast), this._functionsList.set("CountIf", r.StiFunctionType.iCount), this._functionsList.set("CountDistinctIf", r.StiFunctionType.iCountDistinct), this._functionsList.set("AvgIf", r.StiFunctionType.iAvg), this._functionsList.set("AvgDIf", r.StiFunctionType.iAvgD), this._functionsList.set("AvgDateIf", r.StiFunctionType.iAvgDate), this._functionsList.set("AvgIIf", r.StiFunctionType.iAvgI), this._functionsList.set("AvgTimeIf", r.StiFunctionType.iAvgTime), this._functionsList.set("MaxIf", r.StiFunctionType.iMax), this._functionsList.set("MaxDIf", r.StiFunctionType.iMaxD), this._functionsList.set("MaxDateIf", r.StiFunctionType.iMaxDate), this._functionsList.set("MaxIIf", r.StiFunctionType.iMaxI), this._functionsList.set("MaxStrIf", r.StiFunctionType.iMaxStr), this._functionsList.set("MaxTimeIf", r.StiFunctionType.iMaxTime), this._functionsList.set("MedianIf", r.StiFunctionType.iMedian), this._functionsList.set("MedianDIf", r.StiFunctionType.iMedianD), this._functionsList.set("MedianIIf", r.StiFunctionType.iMedianI), this._functionsList.set("MinIf", r.StiFunctionType.iMin), this._functionsList.set("MinDIf", r.StiFunctionType.iMinD), this._functionsList.set("MinDateIf", r.StiFunctionType.iMinDate), this._functionsList.set("MinIIf", r.StiFunctionType.iMinI), this._functionsList.set("MinStrIf", r.StiFunctionType.iMinStr), this._functionsList.set("MinTimeIf", r.StiFunctionType.iMinTime), this._functionsList.set("ModeIf", r.StiFunctionType.iMode), this._functionsList.set("ModeDIf", r.StiFunctionType.iModeD), this._functionsList.set("ModeIIf", r.StiFunctionType.iModeI), this._functionsList.set("SumIf", r.StiFunctionType.iSum), this._functionsList.set("SumDIf", r.StiFunctionType.iSumD), this._functionsList.set("SumDistinctIf", r.StiFunctionType.iSumDistinct), this._functionsList.set("SumIIf", r.StiFunctionType.iSumI), this._functionsList.set("SumTimeIf", r.StiFunctionType.iSumTime), this._functionsList.set("FirstIf", r.StiFunctionType.iFirst), this._functionsList.set("LastIf", r.StiFunctionType.iLast), this._functionsList.set("CountIfRunning", r.StiFunctionType.riCount), this._functionsList.set("CountDistinctIfRunning", r.StiFunctionType.riCountDistinct), this._functionsList.set("AvgIfRunning", r.StiFunctionType.riAvg), this._functionsList.set("AvgDIfRunning", r.StiFunctionType.riAvgD), this._functionsList.set("AvgDateIfRunning", r.StiFunctionType.riAvgDate), this._functionsList.set("AvgIIfRunning", r.StiFunctionType.riAvgI), this._functionsList.set("AvgTimeIfRunning", r.StiFunctionType.riAvgTime), this._functionsList.set("MaxIfRunning", r.StiFunctionType.riMax), this._functionsList.set("MaxDIfRunning", r.StiFunctionType.riMaxD), this._functionsList.set("MaxDateIfRunning", r.StiFunctionType.riMaxDate), this._functionsList.set("MaxIIfRunning", r.StiFunctionType.riMaxI), this._functionsList.set("MaxStrIfRunning", r.StiFunctionType.riMaxStr), this._functionsList.set("MaxTimeIfRunning", r.StiFunctionType.riMaxTime), this._functionsList.set("MedianIfRunning", r.StiFunctionType.riMedian), this._functionsList.set("MedianDIfRunning", r.StiFunctionType.riMedianD), this._functionsList.set("MedianIIfRunning", r.StiFunctionType.riMedianI), this._functionsList.set("MinIfRunning", r.StiFunctionType.riMin), this._functionsList.set("MinDIfRunning", r.StiFunctionType.riMinD), this._functionsList.set("MinDateIfRunning", r.StiFunctionType.riMinDate), this._functionsList.set("MinIIfRunning", r.StiFunctionType.riMinI), this._functionsList.set("MinStrIfRunning", r.StiFunctionType.riMinStr), this._functionsList.set("MinTimeIfRunning", r.StiFunctionType.riMinTime), this._functionsList.set("ModeIfRunning", r.StiFunctionType.riMode), this._functionsList.set("ModeDIfRunning", r.StiFunctionType.riModeD), this._functionsList.set("ModeIIfRunning", r.StiFunctionType.riModeI), this._functionsList.set("SumIfRunning", r.StiFunctionType.riSum), this._functionsList.set("SumDIfRunning", r.StiFunctionType.riSumD), this._functionsList.set("SumDistinctIfRunning", r.StiFunctionType.riSumDistinct), this._functionsList.set("SumIIfRunning", r.StiFunctionType.riSumI), this._functionsList.set("SumTimeIfRunning", r.StiFunctionType.riSumTime), this._functionsList.set("FirstIfRunning", r.StiFunctionType.riFirst), this._functionsList.set("LastIfRunning", r.StiFunctionType.riLast), this._functionsList.set("colCount", r.StiFunctionType.cCount), this._functionsList.set("colCountDistinct", r.StiFunctionType.cCountDistinct), this._functionsList.set("colAvg", r.StiFunctionType.cAvg), this._functionsList.set("colAvgD", r.StiFunctionType.cAvgD), this._functionsList.set("colAvgDate", r.StiFunctionType.cAvgDate), this._functionsList.set("colAvgI", r.StiFunctionType.cAvgI), this._functionsList.set("colAvgTime", r.StiFunctionType.cAvgTime), this._functionsList.set("colMax", r.StiFunctionType.cMax), this._functionsList.set("colMaxD", r.StiFunctionType.cMaxD), this._functionsList.set("colMaxDate", r.StiFunctionType.cMaxDate), this._functionsList.set("colMaxI", r.StiFunctionType.cMaxI), this._functionsList.set("colMaxStr", r.StiFunctionType.cMaxStr), this._functionsList.set("colMaxTime", r.StiFunctionType.cMaxTime), this._functionsList.set("colMedian", r.StiFunctionType.cMedian), this._functionsList.set("colMedianD", r.StiFunctionType.cMedianD), this._functionsList.set("colMedianI", r.StiFunctionType.cMedianI), this._functionsList.set("colMin", r.StiFunctionType.cMin), this._functionsList.set("colMinD", r.StiFunctionType.cMinD), this._functionsList.set("colMinDate", r.StiFunctionType.cMinDate), this._functionsList.set("colMinI", r.StiFunctionType.cMinI), this._functionsList.set("colMinStr", r.StiFunctionType.cMinStr), this._functionsList.set("colMinTime", r.StiFunctionType.cMinTime), this._functionsList.set("colMode", r.StiFunctionType.cMode), this._functionsList.set("colModeD", r.StiFunctionType.cModeD), this._functionsList.set("colModeI", r.StiFunctionType.cModeI), this._functionsList.set("colSum", r.StiFunctionType.cSum), this._functionsList.set("colSumD", r.StiFunctionType.cSumD), this._functionsList.set("colSumDistinct", r.StiFunctionType.cSumDistinct), this._functionsList.set("colSumI", r.StiFunctionType.cSumI), this._functionsList.set("colSumTime", r.StiFunctionType.cSumTime), this._functionsList.set("colFirst", r.StiFunctionType.cFirst), this._functionsList.set("colLast", r.StiFunctionType.cLast), this._functionsList.set("colCountRunning", r.StiFunctionType.crCount), this._functionsList.set("colCountDistinctRunning", r.StiFunctionType.crCountDistinct), this._functionsList.set("colAvgRunning", r.StiFunctionType.crAvg), this._functionsList.set("colAvgDRunning", r.StiFunctionType.crAvgD), this._functionsList.set("colAvgDateRunning", r.StiFunctionType.crAvgDate), this._functionsList.set("colAvgIRunning", r.StiFunctionType.crAvgI), this._functionsList.set("colAvgTimeRunning", r.StiFunctionType.crAvgTime), this._functionsList.set("colMaxRunning", r.StiFunctionType.crMax), this._functionsList.set("colMaxDRunning", r.StiFunctionType.crMaxD), this._functionsList.set("colMaxDateRunning", r.StiFunctionType.crMaxDate), this._functionsList.set("colMaxIRunning", r.StiFunctionType.crMaxI), this._functionsList.set("colMaxStrRunning", r.StiFunctionType.crMaxStr), this._functionsList.set("colMaxTimeRunning", r.StiFunctionType.crMaxTime), this._functionsList.set("colMedianRunning", r.StiFunctionType.crMedian), this._functionsList.set("colMedianDRunning", r.StiFunctionType.crMedianD), this._functionsList.set("colMedianIRunning", r.StiFunctionType.crMedianI), this._functionsList.set("colMinRunning", r.StiFunctionType.crMin), this._functionsList.set("colMinDRunning", r.StiFunctionType.crMinD), this._functionsList.set("colMinDateRunning", r.StiFunctionType.crMinDate), this._functionsList.set("colMinIRunning", r.StiFunctionType.crMinI), this._functionsList.set("colMinStrRunning", r.StiFunctionType.crMinStr), this._functionsList.set("colMinTimeRunning", r.StiFunctionType.crMinTime), this._functionsList.set("colModeRunning", r.StiFunctionType.crMode), this._functionsList.set("colModeDRunning", r.StiFunctionType.crModeD), this._functionsList.set("colModeIRunning", r.StiFunctionType.crModeI), this._functionsList.set("colSumRunning", r.StiFunctionType.crSum), this._functionsList.set("colSumDRunning", r.StiFunctionType.crSumD), this._functionsList.set("colSumDistinctRunning", r.StiFunctionType.crSumDistinct), this._functionsList.set("colSumIRunning", r.StiFunctionType.crSumI), this._functionsList.set("colSumTimeRunning", r.StiFunctionType.crSumTime), this._functionsList.set("colFirstRunning", r.StiFunctionType.crFirst), this._functionsList.set("colLastRunning", r.StiFunctionType.crLast), this._functionsList.set("colCountIf", r.StiFunctionType.ciCount), this._functionsList.set("colCountDistinctIf", r.StiFunctionType.ciCountDistinct), this._functionsList.set("colAvgIf", r.StiFunctionType.ciAvg), this._functionsList.set("colAvgDIf", r.StiFunctionType.ciAvgD), this._functionsList.set("colAvgDateIf", r.StiFunctionType.ciAvgDate), this._functionsList.set("colAvgIIf", r.StiFunctionType.ciAvgI), this._functionsList.set("colAvgTimeIf", r.StiFunctionType.ciAvgTime); this._functionsList.set("colMaxIf", r.StiFunctionType.ciMax), this._functionsList.set("colMaxDIf", r.StiFunctionType.ciMaxD), this._functionsList.set("colMaxDateIf", r.StiFunctionType.ciMaxDate), this._functionsList.set("colMaxIIf", r.StiFunctionType.ciMaxI), this._functionsList.set("colMaxStrIf", r.StiFunctionType.ciMaxStr), this._functionsList.set("colMaxTimeIf", r.StiFunctionType.ciMaxTime), this._functionsList.set("colMedianIf", r.StiFunctionType.ciMedian), this._functionsList.set("colMedianDIf", r.StiFunctionType.ciMedianD), this._functionsList.set("colMedianIIf", r.StiFunctionType.ciMedianI), this._functionsList.set("colMinIf", r.StiFunctionType.ciMin), this._functionsList.set("colMinDIf", r.StiFunctionType.ciMinD), this._functionsList.set("colMinDateIf", r.StiFunctionType.ciMinDate), this._functionsList.set("colMinIIf", r.StiFunctionType.ciMinI), this._functionsList.set("colMinStrIf", r.StiFunctionType.ciMinStr), this._functionsList.set("colMinTimeIf", r.StiFunctionType.ciMinTime), this._functionsList.set("colModeIf", r.StiFunctionType.ciMode), this._functionsList.set("colModeDIf", r.StiFunctionType.ciModeD), this._functionsList.set("colModeIIf", r.StiFunctionType.ciModeI), this._functionsList.set("colSumIf", r.StiFunctionType.ciSum), this._functionsList.set("colSumDIf", r.StiFunctionType.ciSumD), this._functionsList.set("colSumDistinctIf", r.StiFunctionType.ciSumDistinct), this._functionsList.set("colSumIIf", r.StiFunctionType.ciSumI), this._functionsList.set("colSumTimeIf", r.StiFunctionType.ciSumTime), this._functionsList.set("colFirstIf", r.StiFunctionType.ciFirst), this._functionsList.set("colLastIf", r.StiFunctionType.ciLast), this._functionsList.set("colCountIfRunning", r.StiFunctionType.criCount), this._functionsList.set("colCountDistinctIfRunning", r.StiFunctionType.criCountDistinct), this._functionsList.set("colAvgIfRunning", r.StiFunctionType.criAvg), this._functionsList.set("colAvgDIfRunning", r.StiFunctionType.criAvgD), this._functionsList.set("colAvgDateIfRunning", r.StiFunctionType.criAvgDate), this._functionsList.set("colAvgIIfRunning", r.StiFunctionType.criAvgI), this._functionsList.set("colAvgTimeIfRunning", r.StiFunctionType.criAvgTime), this._functionsList.set("colMaxIfRunning", r.StiFunctionType.criMax), this._functionsList.set("colMaxDIfRunning", r.StiFunctionType.criMaxD), this._functionsList.set("colMaxDateIfRunning", r.StiFunctionType.criMaxDate), this._functionsList.set("colMaxIIfRunning", r.StiFunctionType.criMaxI), this._functionsList.set("colMaxStrIfRunning", r.StiFunctionType.criMaxStr), this._functionsList.set("colMaxTimeIfRunning", r.StiFunctionType.criMaxTime), this._functionsList.set("colMedianIfRunning", r.StiFunctionType.criMedian), this._functionsList.set("colMedianDIfRunning", r.StiFunctionType.criMedianD), this._functionsList.set("colMedianIIfRunning", r.StiFunctionType.criMedianI), this._functionsList.set("colMinIfRunning", r.StiFunctionType.criMin), this._functionsList.set("colMinDIfRunning", r.StiFunctionType.criMinD), this._functionsList.set("colMinDateIfRunning", r.StiFunctionType.criMinDate), this._functionsList.set("colMinIIfRunning", r.StiFunctionType.criMinI), this._functionsList.set("colMinStrIfRunning", r.StiFunctionType.criMinStr), this._functionsList.set("colMinTimeIfRunning", r.StiFunctionType.criMinTime), this._functionsList.set("colModeIfRunning", r.StiFunctionType.criMode), this._functionsList.set("colModeDIfRunning", r.StiFunctionType.criModeD), this._functionsList.set("colModeIIfRunning", r.StiFunctionType.criModeI), this._functionsList.set("colSumIfRunning", r.StiFunctionType.criSum), this._functionsList.set("colSumDIfRunning", r.StiFunctionType.criSumD), this._functionsList.set("colSumDistinctIfRunning", r.StiFunctionType.criSumDistinct), this._functionsList.set("colSumIIfRunning", r.StiFunctionType.criSumI), this._functionsList.set("colSumTimeIfRunning", r.StiFunctionType.criSumTime), this._functionsList.set("colFirstIfRunning", r.StiFunctionType.criFirst), this._functionsList.set("colLastIfRunning", r.StiFunctionType.criLast), this._functionsList.set("cCount", r.StiFunctionType.pCount), this._functionsList.set("cCountDistinct", r.StiFunctionType.pCountDistinct), this._functionsList.set("cAvg", r.StiFunctionType.pAvg), this._functionsList.set("cAvgD", r.StiFunctionType.pAvgD), this._functionsList.set("cAvgDate", r.StiFunctionType.pAvgDate), this._functionsList.set("cAvgI", r.StiFunctionType.pAvgI), this._functionsList.set("cAvgTime", r.StiFunctionType.pAvgTime), this._functionsList.set("cMax", r.StiFunctionType.pMax), this._functionsList.set("cMaxD", r.StiFunctionType.pMaxD), this._functionsList.set("cMaxDate", r.StiFunctionType.pMaxDate), this._functionsList.set("cMaxI", r.StiFunctionType.pMaxI), this._functionsList.set("cMaxStr", r.StiFunctionType.pMaxStr), this._functionsList.set("cMaxTime", r.StiFunctionType.pMaxTime), this._functionsList.set("cMedian", r.StiFunctionType.pMedian), this._functionsList.set("cMedianD", r.StiFunctionType.pMedianD), this._functionsList.set("cMedianI", r.StiFunctionType.pMedianI), this._functionsList.set("cMin", r.StiFunctionType.pMin), this._functionsList.set("cMinD", r.StiFunctionType.pMinD), this._functionsList.set("cMinDate", r.StiFunctionType.pMinDate), this._functionsList.set("cMinI", r.StiFunctionType.pMinI), this._functionsList.set("cMinStr", r.StiFunctionType.pMinStr), this._functionsList.set("cMinTime", r.StiFunctionType.pMinTime), this._functionsList.set("cMode", r.StiFunctionType.pMode), this._functionsList.set("cModeD", r.StiFunctionType.pModeD), this._functionsList.set("cModeI", r.StiFunctionType.pModeI), this._functionsList.set("cSum", r.StiFunctionType.pSum), this._functionsList.set("cSumD", r.StiFunctionType.pSumD), this._functionsList.set("cSumDistinct", r.StiFunctionType.pSumDistinct), this._functionsList.set("cSumI", r.StiFunctionType.pSumI), this._functionsList.set("cSumTime", r.StiFunctionType.pSumTime), this._functionsList.set("cFirst", r.StiFunctionType.pFirst), this._functionsList.set("cLast", r.StiFunctionType.pLast), this._functionsList.set("cCountRunning", r.StiFunctionType.prCount), this._functionsList.set("cCountDistinctRunning", r.StiFunctionType.prCountDistinct), this._functionsList.set("cAvgRunning", r.StiFunctionType.prAvg), this._functionsList.set("cAvgDRunning", r.StiFunctionType.prAvgD), this._functionsList.set("cAvgDateRunning", r.StiFunctionType.prAvgDate), this._functionsList.set("cAvgIRunning", r.StiFunctionType.prAvgI), this._functionsList.set("cAvgTimeRunning", r.StiFunctionType.prAvgTime), this._functionsList.set("cMaxRunning", r.StiFunctionType.prMax), this._functionsList.set("cMaxDRunning", r.StiFunctionType.prMaxD), this._functionsList.set("cMaxDateRunning", r.StiFunctionType.prMaxDate), this._functionsList.set("cMaxIRunning", r.StiFunctionType.prMaxI), this._functionsList.set("cMaxStrRunning", r.StiFunctionType.prMaxStr), this._functionsList.set("cMaxTimeRunning", r.StiFunctionType.prMaxTime), this._functionsList.set("cMedianRunning", r.StiFunctionType.prMedian), this._functionsList.set("cMedianDRunning", r.StiFunctionType.prMedianD), this._functionsList.set("cMedianIRunning", r.StiFunctionType.prMedianI), this._functionsList.set("cMinRunning", r.StiFunctionType.prMin), this._functionsList.set("cMinDRunning", r.StiFunctionType.prMinD), this._functionsList.set("cMinDateRunning", r.StiFunctionType.prMinDate), this._functionsList.set("cMinIRunning", r.StiFunctionType.prMinI), this._functionsList.set("cMinStrRunning", r.StiFunctionType.prMinStr), this._functionsList.set("cMinTimeRunning", r.StiFunctionType.prMinTime), this._functionsList.set("cModeRunning", r.StiFunctionType.prMode), this._functionsList.set("cModeDRunning", r.StiFunctionType.prModeD), this._functionsList.set("cModeIRunning", r.StiFunctionType.prModeI), this._functionsList.set("cSumRunning", r.StiFunctionType.prSum), this._functionsList.set("cSumDRunning", r.StiFunctionType.prSumD), this._functionsList.set("cSumDistinctRunning", r.StiFunctionType.prSumDistinct), this._functionsList.set("cSumIRunning", r.StiFunctionType.prSumI), this._functionsList.set("cSumTimeRunning", r.StiFunctionType.prSumTime), this._functionsList.set("cFirstRunning", r.StiFunctionType.prFirst), this._functionsList.set("cLastRunning", r.StiFunctionType.prLast), this._functionsList.set("cCountIf", r.StiFunctionType.piCount), this._functionsList.set("cCountDistinctIf", r.StiFunctionType.piCountDistinct), this._functionsList.set("cAvgIf", r.StiFunctionType.piAvg), this._functionsList.set("cAvgDIf", r.StiFunctionType.piAvgD), this._functionsList.set("cAvgDateIf", r.StiFunctionType.piAvgDate), this._functionsList.set("cAvgIIf", r.StiFunctionType.piAvgI), this._functionsList.set("cAvgTimeIf", r.StiFunctionType.piAvgTime), this._functionsList.set("cMaxIf", r.StiFunctionType.piMax), this._functionsList.set("cMaxDIf", r.StiFunctionType.piMaxD), this._functionsList.set("cMaxDateIf", r.StiFunctionType.piMaxDate), this._functionsList.set("cMaxIIf", r.StiFunctionType.piMaxI), this._functionsList.set("cMaxStrIf", r.StiFunctionType.piMaxStr), this._functionsList.set("cMaxTimeIf", r.StiFunctionType.piMaxTime), this._functionsList.set("cMedianIf", r.StiFunctionType.piMedian), this._functionsList.set("cMedianDIf", r.StiFunctionType.piMedianD), this._functionsList.set("cMedianIIf", r.StiFunctionType.piMedianI), this._functionsList.set("cMinIf", r.StiFunctionType.piMin), this._functionsList.set("cMinDIf", r.StiFunctionType.piMinD), this._functionsList.set("cMinDateIf", r.StiFunctionType.piMinDate), this._functionsList.set("cMinIIf", r.StiFunctionType.piMinI), this._functionsList.set("cMinStrIf", r.StiFunctionType.piMinStr), this._functionsList.set("cMinTimeIf", r.StiFunctionType.piMinTime), this._functionsList.set("cModeIf", r.StiFunctionType.piMode), this._functionsList.set("cModeDIf", r.StiFunctionType.piModeD), this._functionsList.set("cModeIIf", r.StiFunctionType.piModeI), this._functionsList.set("cSumIf", r.StiFunctionType.piSum), this._functionsList.set("cSumDIf", r.StiFunctionType.piSumD), this._functionsList.set("cSumDistinctIf", r.StiFunctionType.piSumDistinct), this._functionsList.set("cSumIIf", r.StiFunctionType.piSumI), this._functionsList.set("cSumTimeIf", r.StiFunctionType.piSumTime), this._functionsList.set("cFirstIf", r.StiFunctionType.piFirst), this._functionsList.set("cLastIf", r.StiFunctionType.piLast), this._functionsList.set("cCountIfRunning", r.StiFunctionType.priCount), this._functionsList.set("cCountDistinctIfRunning", r.StiFunctionType.priCountDistinct), this._functionsList.set("cAvgIfRunning", r.StiFunctionType.priAvg), this._functionsList.set("cAvgDIfRunning", r.StiFunctionType.priAvgD), this._functionsList.set("cAvgDateIfRunning", r.StiFunctionType.priAvgDate), this._functionsList.set("cAvgIIfRunning", r.StiFunctionType.priAvgI), this._functionsList.set("cAvgTimeIfRunning", r.StiFunctionType.priAvgTime), this._functionsList.set("cMaxIfRunning", r.StiFunctionType.priMax), this._functionsList.set("cMaxDIfRunning", r.StiFunctionType.priMaxD), this._functionsList.set("cMaxDateIfRunning", r.StiFunctionType.priMaxDate), this._functionsList.set("cMaxIIfRunning", r.StiFunctionType.priMaxI), this._functionsList.set("cMaxStrIfRunning", r.StiFunctionType.priMaxStr), this._functionsList.set("cMaxTimeIfRunning", r.StiFunctionType.priMaxTime), this._functionsList.set("cMedianIfRunning", r.StiFunctionType.priMedian), this._functionsList.set("cMedianDIfRunning", r.StiFunctionType.priMedianD), this._functionsList.set("cMedianIIfRunning", r.StiFunctionType.priMedianI), this._functionsList.set("cMinIfRunning", r.StiFunctionType.priMin), this._functionsList.set("cMinDIfRunning", r.StiFunctionType.priMinD), this._functionsList.set("cMinDateIfRunning", r.StiFunctionType.priMinDate), this._functionsList.set("cMinIIfRunning", r.StiFunctionType.priMinI), this._functionsList.set("cMinStrIfRunning", r.StiFunctionType.priMinStr), this._functionsList.set("cMinTimeIfRunning", r.StiFunctionType.priMinTime), this._functionsList.set("cModeIfRunning", r.StiFunctionType.priMode), this._functionsList.set("cModeDIfRunning", r.StiFunctionType.priModeD), this._functionsList.set("cModeIIfRunning", r.StiFunctionType.priModeI), this._functionsList.set("cSumIfRunning", r.StiFunctionType.priSum), this._functionsList.set("cSumDIfRunning", r.StiFunctionType.priSumD), this._functionsList.set("cSumDistinctIfRunning", r.StiFunctionType.priSumDistinct), this._functionsList.set("cSumIIfRunning", r.StiFunctionType.priSumI), this._functionsList.set("cSumTimeIfRunning", r.StiFunctionType.priSumTime), this._functionsList.set("cFirstIfRunning", r.StiFunctionType.priFirst), this._functionsList.set("cLastIfRunning", r.StiFunctionType.priLast), this._functionsList.set("Totals.Count", r.StiFunctionType.Count), this._functionsList.set("Totals.CountDistinct", r.StiFunctionType.CountDistinct), this._functionsList.set("Totals.Avg", r.StiFunctionType.Avg), this._functionsList.set("Totals.AvgD", r.StiFunctionType.AvgD), this._functionsList.set("Totals.AvgDate", r.StiFunctionType.AvgDate), this._functionsList.set("Totals.AvgI", r.StiFunctionType.AvgI), this._functionsList.set("Totals.AvgTime", r.StiFunctionType.AvgTime), this._functionsList.set("Totals.Max", r.StiFunctionType.Max), this._functionsList.set("Totals.MaxD", r.StiFunctionType.MaxD), this._functionsList.set("Totals.MaxDate", r.StiFunctionType.MaxDate), this._functionsList.set("Totals.MaxI", r.StiFunctionType.MaxI), this._functionsList.set("Totals.MaxStr", r.StiFunctionType.MaxStr), this._functionsList.set("Totals.MaxTime", r.StiFunctionType.MaxTime), this._functionsList.set("Totals.Median", r.StiFunctionType.Median), this._functionsList.set("Totals.MedianD", r.StiFunctionType.MedianD); this._functionsList.set("Totals.MedianI", r.StiFunctionType.MedianI), this._functionsList.set("Totals.Min", r.StiFunctionType.Min), this._functionsList.set("Totals.MinD", r.StiFunctionType.MinD), this._functionsList.set("Totals.MinDate", r.StiFunctionType.MinDate), this._functionsList.set("Totals.MinI", r.StiFunctionType.MinI), this._functionsList.set("Totals.MinStr", r.StiFunctionType.MinStr), this._functionsList.set("Totals.MinTime", r.StiFunctionType.MinTime), this._functionsList.set("Totals.Mode", r.StiFunctionType.Mode), this._functionsList.set("Totals.ModeD", r.StiFunctionType.ModeD), this._functionsList.set("Totals.ModeI", r.StiFunctionType.ModeI), this._functionsList.set("Totals.Sum", r.StiFunctionType.Sum), this._functionsList.set("Totals.SumD", r.StiFunctionType.SumD), this._functionsList.set("Totals.SumDistinct", r.StiFunctionType.SumDistinct), this._functionsList.set("Totals.SumI", r.StiFunctionType.SumI), this._functionsList.set("Totals.SumTime", r.StiFunctionType.SumTime), this._functionsList.set("Totals.First", r.StiFunctionType.First), this._functionsList.set("Totals.Last", r.StiFunctionType.Last), this._functionsList.set("Totals.cCount", r.StiFunctionType.pCount), this._functionsList.set("Totals.cCountDistinct", r.StiFunctionType.pCountDistinct), this._functionsList.set("Totals.cAvg", r.StiFunctionType.pAvg), this._functionsList.set("Totals.cAvgD", r.StiFunctionType.pAvgD), this._functionsList.set("Totals.cAvgDate", r.StiFunctionType.pAvgDate), this._functionsList.set("Totals.cAvgI", r.StiFunctionType.pAvgI), this._functionsList.set("Totals.cAvgTime", r.StiFunctionType.pAvgTime), this._functionsList.set("Totals.cMax", r.StiFunctionType.pMax), this._functionsList.set("Totals.cMaxD", r.StiFunctionType.pMaxD), this._functionsList.set("Totals.cMaxDate", r.StiFunctionType.pMaxDate), this._functionsList.set("Totals.cMaxI", r.StiFunctionType.pMaxI), this._functionsList.set("Totals.cMaxStr", r.StiFunctionType.pMaxStr), this._functionsList.set("Totals.cMaxTime", r.StiFunctionType.pMaxTime), this._functionsList.set("Totals.cMedian", r.StiFunctionType.pMedian), this._functionsList.set("Totals.cMedianD", r.StiFunctionType.pMedianD), this._functionsList.set("Totals.cMedianI", r.StiFunctionType.pMedianI), this._functionsList.set("Totals.cMin", r.StiFunctionType.pMin), this._functionsList.set("Totals.cMinD", r.StiFunctionType.pMinD), this._functionsList.set("Totals.cMinDate", r.StiFunctionType.pMinDate), this._functionsList.set("Totals.cMinI", r.StiFunctionType.pMinI), this._functionsList.set("Totals.cMinStr", r.StiFunctionType.pMinStr), this._functionsList.set("Totals.cMinTime", r.StiFunctionType.pMinTime), this._functionsList.set("Totals.cMode", r.StiFunctionType.pMode), this._functionsList.set("Totals.cModeD", r.StiFunctionType.pModeD), this._functionsList.set("Totals.cModeI", r.StiFunctionType.pModeI), this._functionsList.set("Totals.cSum", r.StiFunctionType.pSum), this._functionsList.set("Totals.cSumD", r.StiFunctionType.pSumD), this._functionsList.set("Totals.cSumDistinct", r.StiFunctionType.pSumDistinct), this._functionsList.set("Totals.cSumI", r.StiFunctionType.pSumI), this._functionsList.set("Totals.cSumTime", r.StiFunctionType.pSumTime), this._functionsList.set("Totals.cFirst", r.StiFunctionType.pFirst), this._functionsList.set("Totals.cLast", r.StiFunctionType.pLast), this._functionsList.set("Totals.cCountRunning", r.StiFunctionType.prCount), this._functionsList.set("Totals.cCountDistinctRunning", r.StiFunctionType.prCountDistinct), this._functionsList.set("Totals.cAvgRunning", r.StiFunctionType.prAvg), this._functionsList.set("Totals.cAvgDRunning", r.StiFunctionType.prAvgD), this._functionsList.set("Totals.cAvgDateRunning", r.StiFunctionType.prAvgDate), this._functionsList.set("Totals.cAvgIRunning", r.StiFunctionType.prAvgI), this._functionsList.set("Totals.cAvgTimeRunning", r.StiFunctionType.prAvgTime), this._functionsList.set("Totals.cMaxRunning", r.StiFunctionType.prMax), this._functionsList.set("Totals.cMaxDRunning", r.StiFunctionType.prMaxD), this._functionsList.set("Totals.cMaxDateRunning", r.StiFunctionType.prMaxDate), this._functionsList.set("Totals.cMaxIRunning", r.StiFunctionType.prMaxI), this._functionsList.set("Totals.cMaxStrRunning", r.StiFunctionType.prMaxStr), this._functionsList.set("Totals.cMaxTimeRunning", r.StiFunctionType.prMaxTime), this._functionsList.set("Totals.cMedianRunning", r.StiFunctionType.prMedian), this._functionsList.set("Totals.cMedianDRunning", r.StiFunctionType.prMedianD), this._functionsList.set("Totals.cMedianIRunning", r.StiFunctionType.prMedianI), this._functionsList.set("Totals.cMinRunning", r.StiFunctionType.prMin), this._functionsList.set("Totals.cMinDRunning", r.StiFunctionType.prMinD), this._functionsList.set("Totals.cMinDateRunning", r.StiFunctionType.prMinDate), this._functionsList.set("Totals.cMinIRunning", r.StiFunctionType.prMinI), this._functionsList.set("Totals.cMinStrRunning", r.StiFunctionType.prMinStr), this._functionsList.set("Totals.cMinTimeRunning", r.StiFunctionType.prMinTime), this._functionsList.set("Totals.cModeRunning", r.StiFunctionType.prMode), this._functionsList.set("Totals.cModeDRunning", r.StiFunctionType.prModeD), this._functionsList.set("Totals.cModeIRunning", r.StiFunctionType.prModeI), this._functionsList.set("Totals.cSumRunning", r.StiFunctionType.prSum), this._functionsList.set("Totals.cSumDRunning", r.StiFunctionType.prSumD), this._functionsList.set("Totals.cSumDistinctRunning", r.StiFunctionType.prSumDistinct), this._functionsList.set("Totals.cSumIRunning", r.StiFunctionType.prSumI), this._functionsList.set("Totals.cSumTimeRunning", r.StiFunctionType.prSumTime), this._functionsList.set("Totals.cFirstRunning", r.StiFunctionType.prFirst), this._functionsList.set("Totals.cLastRunning", r.StiFunctionType.prLast), this._functionsList.set("Totals.CountAllLevels", r.StiFunctionType.CountAllLevels), this._functionsList.set("Totals.CountAllLevelsOnlyChilds", r.StiFunctionType.CountAllLevelsOnlyChilds), this._functionsList.set("Totals.CountOnlyChilds", r.StiFunctionType.CountOnlyChilds), this._functionsList.set("Totals.Rank", r.StiFunctionType.Rank), this._functionsList.set("Abs", r.StiFunctionType.Abs), this._functionsList.set("Acos", r.StiFunctionType.Acos), this._functionsList.set("Asin", r.StiFunctionType.Asin), this._functionsList.set("Atan", r.StiFunctionType.Atan), this._functionsList.set("Ceiling", r.StiFunctionType.Ceiling), this._functionsList.set("Cos", r.StiFunctionType.Cos), this._functionsList.set("Div", r.StiFunctionType.Div), this._functionsList.set("Exp", r.StiFunctionType.Exp), this._functionsList.set("Floor", r.StiFunctionType.Floor), this._functionsList.set("Log", r.StiFunctionType.Log), this._functionsList.set("Maximum", r.StiFunctionType.Maximum), this._functionsList.set("Minimum", r.StiFunctionType.Minimum), this._functionsList.set("Round", r.StiFunctionType.Round), this._functionsList.set("Sign", r.StiFunctionType.Sign), this._functionsList.set("Sin", r.StiFunctionType.Sin), this._functionsList.set("Sqrt", r.StiFunctionType.Sqrt), this._functionsList.set("Tan", r.StiFunctionType.Tan), this._functionsList.set("Truncate", r.StiFunctionType.Truncate), this._functionsList.set("DateDiff", r.StiFunctionType.DateDiff), this._functionsList.set("DateSerial", r.StiFunctionType.DateSerial), this._functionsList.set("Day", r.StiFunctionType.Day), this._functionsList.set("DayOfWeek", r.StiFunctionType.DayOfWeek), this._functionsList.set("DayOfYear", r.StiFunctionType.DayOfYear), this._functionsList.set("DaysInMonth", r.StiFunctionType.DaysInMonth), this._functionsList.set("DaysInYear", r.StiFunctionType.DaysInYear), this._functionsList.set("Hour", r.StiFunctionType.Hour), this._functionsList.set("Minute", r.StiFunctionType.Minute), this._functionsList.set("Month", r.StiFunctionType.Month), this._functionsList.set("Second", r.StiFunctionType.Second), this._functionsList.set("TimeSerial", r.StiFunctionType.TimeSerial), this._functionsList.set("Year", r.StiFunctionType.Year), this._functionsList.set("MonthName", r.StiFunctionType.MonthName), this._functionsList.set("WeekOfYear", r.StiFunctionType.WeekOfYear), this._functionsList.set("WeekOfMonth", r.StiFunctionType.WeekOfMonth), this._functionsList.set("DateToStr", r.StiFunctionType.DateToStr), this._functionsList.set("DateToStrPl", r.StiFunctionType.DateToStrPl), this._functionsList.set("DateToStrRu", r.StiFunctionType.DateToStrRu), this._functionsList.set("DateToStrUa", r.StiFunctionType.DateToStrUa), this._functionsList.set("DateToStrPt", r.StiFunctionType.DateToStrPt), this._functionsList.set("DateToStrPtBr", r.StiFunctionType.DateToStrPtBr), this._functionsList.set("Insert", r.StiFunctionType.Insert), this._functionsList.set("Length", r.StiFunctionType.Length), this._functionsList.set("Remove", r.StiFunctionType.Remove), this._functionsList.set("Replace", r.StiFunctionType.Replace), this._functionsList.set("Roman", r.StiFunctionType.Roman), this._functionsList.set("Substring", r.StiFunctionType.Substring), this._functionsList.set("ToCurrencyWords", r.StiFunctionType.ToCurrencyWords), this._functionsList.set("ToCurrencyWordsEnGb", r.StiFunctionType.ToCurrencyWordsEnGb), this._functionsList.set("ToCurrencyWordsEnIn", r.StiFunctionType.ToCurrencyWordsEnIn), this._functionsList.set("ToCurrencyWordsEs", r.StiFunctionType.ToCurrencyWordsEs), this._functionsList.set("ToCurrencyWordsFr", r.StiFunctionType.ToCurrencyWordsFr), this._functionsList.set("ToCurrencyWordsNl", r.StiFunctionType.ToCurrencyWordsNl), this._functionsList.set("ToCurrencyWordsPl", r.StiFunctionType.ToCurrencyWordsPl), this._functionsList.set("ToCurrencyWordsPt", r.StiFunctionType.ToCurrencyWordsPt), this._functionsList.set("ToCurrencyWordsPtBr", r.StiFunctionType.ToCurrencyWordsPtBr), this._functionsList.set("ToCurrencyWordsRu", r.StiFunctionType.ToCurrencyWordsRu), this._functionsList.set("ToCurrencyWordsThai", r.StiFunctionType.ToCurrencyWordsThai), this._functionsList.set("ToCurrencyWordsTr", r.StiFunctionType.ToCurrencyWordsTr), this._functionsList.set("ToCurrencyWordsUa", r.StiFunctionType.ToCurrencyWordsUa), this._functionsList.set("ToCurrencyWordsZh", r.StiFunctionType.ToCurrencyWordsZh), this._functionsList.set("ToLowerCase", r.StiFunctionType.ToLowerCase), this._functionsList.set("ToProperCase", r.StiFunctionType.ToProperCase), this._functionsList.set("ToUpperCase", r.StiFunctionType.ToUpperCase), this._functionsList.set("ToWords", r.StiFunctionType.ToWords), this._functionsList.set("ToWordsEs", r.StiFunctionType.ToWordsEs), this._functionsList.set("ToWordsEnIn", r.StiFunctionType.ToWordsEnIn), this._functionsList.set("ToWordsFa", r.StiFunctionType.ToWordsFa), this._functionsList.set("ToWordsPl", r.StiFunctionType.ToWordsPl), this._functionsList.set("ToWordsPt", r.StiFunctionType.ToWordsPt), this._functionsList.set("ToWordsRu", r.StiFunctionType.ToWordsRu), this._functionsList.set("ToWordsTr", r.StiFunctionType.ToWordsTr), this._functionsList.set("ToWordsUa", r.StiFunctionType.ToWordsUa), this._functionsList.set("Trim", r.StiFunctionType.Trim), this._functionsList.set("TryParseDecimal", r.StiFunctionType.TryParseDecimal), this._functionsList.set("TryParseDouble", r.StiFunctionType.TryParseDouble), this._functionsList.set("TryParseLong", r.StiFunctionType.TryParseLong), this._functionsList.set("Arabic", r.StiFunctionType.Arabic), this._functionsList.set("Persian", r.StiFunctionType.Persian), this._functionsList.set("ToOrdinal", r.StiFunctionType.ToOrdinal), this._functionsList.set("Left", r.StiFunctionType.Left), this._functionsList.set("Mid", r.StiFunctionType.Mid), this._functionsList.set("Right", r.StiFunctionType.Right), this._functionsList.set("StrToNullableDateTime", r.StiFunctionType.StrToNullableDateTime), this._functionsList.set("IsNull", r.StiFunctionType.IsNull), this._functionsList.set("Next", r.StiFunctionType.Next), this._functionsList.set("NextIsNull", r.StiFunctionType.NextIsNull), this._functionsList.set("Previous", r.StiFunctionType.Previous), this._functionsList.set("PreviousIsNull", r.StiFunctionType.PreviousIsNull), this._functionsList.set("IIF", r.StiFunctionType.IIF), this._functionsList.set("Choose", r.StiFunctionType.Choose), this._functionsList.set("Switch", r.StiFunctionType.Switch), this._functionsList.set("ToString", r.StiFunctionType.ToString), this._functionsList.set("Format", r.StiFunctionType.Format), this._functionsList.set("System.Convert.ToBoolean", r.StiFunctionType.SystemConvertToBoolean), this._functionsList.set("System.Convert.ToByte", r.StiFunctionType.SystemConvertToByte), this._functionsList.set("System.Convert.ToChar", r.StiFunctionType.SystemConvertToChar), this._functionsList.set("System.Convert.ToDateTime", r.StiFunctionType.SystemConvertToDateTime), this._functionsList.set("System.Convert.ToDecimal", r.StiFunctionType.SystemConvertToDecimal), this._functionsList.set("System.Convert.ToDouble", r.StiFunctionType.SystemConvertToDouble), this._functionsList.set("System.Convert.ToInt16", r.StiFunctionType.SystemConvertToInt16), this._functionsList.set("System.Convert.ToInt32", r.StiFunctionType.SystemConvertToInt32), this._functionsList.set("System.Convert.ToInt64", r.StiFunctionType.SystemConvertToInt64), this._functionsList.set("System.Convert.ToSByte", r.StiFunctionType.SystemConvertToSByte), this._functionsList.set("System.Convert.ToSingle", r.StiFunctionType.SystemConvertToSingle), this._functionsList.set("System.Convert.ToString", r.StiFunctionType.SystemConvertToString), this._functionsList.set("System.Convert.ToUInt16", r.StiFunctionType.SystemConvertToUInt16), this._functionsList.set("System.Convert.ToUInt32", r.StiFunctionType.SystemConvertToUInt32), this._functionsList.set("System.Convert.ToUInt64", r.StiFunctionType.SystemConvertToUInt64), this._functionsList.set("Convert.ToBoolean", r.StiFunctionType.SystemConvertToBoolean), this._functionsList.set("Convert.ToByte", r.StiFunctionType.SystemConvertToByte), this._functionsList.set("Convert.ToChar", r.StiFunctionType.SystemConvertToChar), this._functionsList.set("Convert.ToDateTime", r.StiFunctionType.SystemConvertToDateTime), this._functionsList.set("Convert.ToDecimal", r.StiFunctionType.SystemConvertToDecimal), this._functionsList.set("Convert.ToDouble", r.StiFunctionType.SystemConvertToDouble), this._functionsList.set("Convert.ToInt16", r.StiFunctionType.SystemConvertToInt16); this._functionsList.set("Convert.ToInt32", r.StiFunctionType.SystemConvertToInt32), this._functionsList.set("Convert.ToInt64", r.StiFunctionType.SystemConvertToInt64), this._functionsList.set("Convert.ToSByte", r.StiFunctionType.SystemConvertToSByte), this._functionsList.set("Convert.ToSingle", r.StiFunctionType.SystemConvertToSingle), this._functionsList.set("Convert.ToString", r.StiFunctionType.SystemConvertToString), this._functionsList.set("Convert.ToUInt16", r.StiFunctionType.SystemConvertToUInt16), this._functionsList.set("Convert.ToUInt32", r.StiFunctionType.SystemConvertToUInt32), this._functionsList.set("Convert.ToUInt64", r.StiFunctionType.SystemConvertToUInt64), this._functionsList.set("Math.Round", r.StiFunctionType.MathRound), this._functionsList.set("Math.Pow", r.StiFunctionType.MathPow), this._functionsList.set("AddAnchor", r.StiFunctionType.AddAnchor), this._functionsList.set("GetAnchorPageNumber", r.StiFunctionType.GetAnchorPageNumber), this._functionsList.set("GetAnchorPageNumberThrough", r.StiFunctionType.GetAnchorPageNumberThrough), this._functionsList.set("ConvertRtf", r.StiFunctionType.ConvertRtf), this._functionsList.set("int.Parse", r.StiFunctionType.ParseInt), this._functionsList.set("double.Parse", r.StiFunctionType.ParseDouble), this._functionsList.set("Double.Parse", r.StiFunctionType.ParseDouble), this._functionsList.set("decimal.Parse", r.StiFunctionType.ParseDecimal), this._functionsList.set("Decimal.Parse", r.StiFunctionType.ParseDecimal), this._functionsList.set("DateTime.Parse", r.StiFunctionType.ParseDateTime), this._functionsList.set("string.IsNullOrEmpty", r.StiFunctionType.StringIsNullOrEmpty), this._functionsList.set("String.IsNullOrEmpty", r.StiFunctionType.StringIsNullOrEmpty), this._functionsList.set("string.IsNullOrWhiteSpace", r.StiFunctionType.StringIsNullOrWhiteSpace), this._functionsList.set("String.IsNullOrWhiteSpace", r.StiFunctionType.StringIsNullOrWhiteSpace), this._functionsList.set("string.Format", r.StiFunctionType.Format), this._functionsList.set("String.Format", r.StiFunctionType.Format), this._functionsList.set("Func.EngineHelper.JoinColumnContent", r.StiFunctionType.EngineHelperJoinColumnContent), this._functionsList.set("Func.EngineHelper.ToQueryString", r.StiFunctionType.EngineHelperToQueryString) } return this._functionsList }, enumerable: !0, configurable: !0 }), Object.defineProperty(i, "methodsList", { get: function() { return null == this._methodsList && (this._methodsList = new o, this._methodsList.set("Substring", r.StiMethodType.Substring), this._methodsList.set("ToString", r.StiMethodType.ToString), this._methodsList.set("ToLower", r.StiMethodType.ToLower), this._methodsList.set("ToUpper", r.StiMethodType.ToUpper), this._methodsList.set("IndexOf", r.StiMethodType.IndexOf), this._methodsList.set("StartsWith", r.StiMethodType.StartsWith), this._methodsList.set("EndsWith", r.StiMethodType.EndsWith), this._methodsList.set("Parse", r.StiMethodType.Parse), this._methodsList.set("Contains", r.StiMethodType.Contains), this._methodsList.set("GetData", r.StiMethodType.GetData), this._methodsList.set("ToQueryString", r.StiMethodType.ToQueryString), this._methodsList.set("AddYears", r.StiMethodType.AddYears), this._methodsList.set("AddMonths", r.StiMethodType.AddMonths), this._methodsList.set("AddDays", r.StiMethodType.AddDays), this._methodsList.set("AddHours", r.StiMethodType.AddHours), this._methodsList.set("AddMinutes", r.StiMethodType.AddMinutes), this._methodsList.set("AddSeconds", r.StiMethodType.AddSeconds), this._methodsList.set("AddMilliseconds", r.StiMethodType.AddMilliseconds), this._methodsList.set("ToShortDateString", r.StiMethodType.ToShortDateString), this._methodsList.set("ToShortTimeString", r.StiMethodType.ToShortTimeString), this._methodsList.set("ToLongDateString", r.StiMethodType.ToLongDateString), this._methodsList.set("ToLongTimeString", r.StiMethodType.ToLongTimeString), this._methodsList.set("GetCurrentConditionValue", r.StiMethodType.GetCurrentConditionValue), this._methodsList.set("Add", r.StiMethodType.Add), this._methodsList.set("Subtract", r.StiMethodType.Subtract)), this._methodsList }, enumerable: !0, configurable: !0 }), Object.defineProperty(i, "parametersList", { get: function() { if (null == this._parametersList) { this._parametersList = new o, this._parametersList.set(r.StiFunctionType.CountDistinct, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.Avg, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.AvgD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.AvgDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.AvgI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.AvgTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.Max, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MaxD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MaxDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MaxI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MaxStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MaxTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.Median, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MedianD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MedianI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.Min, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MinD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MinDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MinI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MinStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.MinTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.Mode, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.ModeD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.ModeI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.Sum, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.SumD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.SumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.SumI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.SumTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.First, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.Last, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rCountDistinct, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rAvg, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rAvgD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rAvgDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rAvgI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rAvgTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMax, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMaxD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMaxDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMaxI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMaxStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMaxTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMedian, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMedianD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMedianI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMin, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMinD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMinDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMinI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMinStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMinTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rMode, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rModeD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rModeI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rSum, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rSumD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.rSumI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rSumTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rFirst, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.rLast, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.iCount, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.iCountDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iAvg, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iAvgD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iAvgDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iAvgI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iAvgTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMax, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMaxD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMaxDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMaxI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMaxStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMaxTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMedian, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMedianD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMedianI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMin, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMinD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMinDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMinI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMinStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMinTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iMode, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iModeD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iModeI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iSum, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iSumD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3 | r.StiParameterNumber.Param4), this._parametersList.set(r.StiFunctionType.iSumI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iSumTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iFirst, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.iLast, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riCount, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.riCountDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riAvg, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riAvgD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riAvgDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riAvgI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riAvgTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMax, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMaxD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMaxDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMaxI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMaxStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMaxTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMedian, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMedianD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMedianI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMin, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMinD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMinDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMinI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMinStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMinTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riMode, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riModeD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riModeI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riSum, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riSumD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3 | r.StiParameterNumber.Param4), this._parametersList.set(r.StiFunctionType.riSumI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riSumTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riFirst, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.riLast, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.cCountDistinct, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cAvg, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cAvgD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cAvgDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cAvgI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cAvgTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMax, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMaxD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMaxDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMaxI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMaxStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMaxTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMedian, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMedianD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMedianI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMin, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMinD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMinDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMinI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMinStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMinTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cMode, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cModeD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cModeI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cSum, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cSumD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.cSumI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cSumTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cFirst, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.cLast, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crCountDistinct, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crAvg, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crAvgD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crAvgDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crAvgI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crAvgTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMax, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMaxD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMaxDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMaxI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMaxStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMaxTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMedian, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMedianD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMedianI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMin, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMinD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMinDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMinI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMinStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMinTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crMode, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crModeD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crModeI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crSum, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crSumD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.crSumI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crSumTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crFirst, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.crLast, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.ciCount, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.ciCountDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciAvg, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciAvgD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciAvgDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciAvgI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciAvgTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMax, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMaxD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMaxDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMaxI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3); this._parametersList.set(r.StiFunctionType.ciMaxStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMaxTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMedian, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMedianD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMedianI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMin, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMinD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMinDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMinI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMinStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMinTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciMode, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciModeD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciModeI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciSum, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciSumD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3 | r.StiParameterNumber.Param4), this._parametersList.set(r.StiFunctionType.ciSumI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciSumTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciFirst, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.ciLast, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criCount, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.criCountDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criAvg, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criAvgD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criAvgDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criAvgI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criAvgTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMax, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMaxD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMaxDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMaxI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMaxStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMaxTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMedian, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMedianD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMedianI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMin, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMinD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMinDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMinI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMinStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMinTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criMode, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criModeD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criModeI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criSum, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criSumD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3 | r.StiParameterNumber.Param4), this._parametersList.set(r.StiFunctionType.criSumI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criSumTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criFirst, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.criLast, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.pCountDistinct, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pAvg, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pAvgD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pAvgDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pAvgI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pAvgTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMax, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMaxD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMaxDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMaxI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMaxStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMaxTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMedian, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMedianD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMedianI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMin, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMinD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMinDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMinI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMinStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMinTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pMode, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pModeD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pModeI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pSum, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pSumD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.pSumI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pSumTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pFirst, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.pLast, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prCountDistinct, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prAvg, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prAvgD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prAvgDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prAvgI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prAvgTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMax, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMaxD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMaxDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMaxI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMaxStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMaxTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMedian, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMedianD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMedianI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMin, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMinD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMinDate, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMinI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMinStr, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMinTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prMode, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prModeD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prModeI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prSum, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prSumD, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.prSumI, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prSumTime, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prFirst, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.prLast, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.piCount, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.piCountDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piAvg, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piAvgD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piAvgDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piAvgI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piAvgTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMax, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMaxD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMaxDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMaxI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMaxStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMaxTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMedian, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMedianD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMedianI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMin, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMinD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMinDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMinI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMinStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMinTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piMode, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piModeD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piModeI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piSum, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piSumD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3 | r.StiParameterNumber.Param4), this._parametersList.set(r.StiFunctionType.piSumI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piSumTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piFirst, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.piLast, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priCount, r.StiParameterNumber.Param2), this._parametersList.set(r.StiFunctionType.priCountDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priAvg, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priAvgD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priAvgDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priAvgI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priAvgTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMax, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMaxD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMaxDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMaxI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMaxStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMaxTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMedian, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMedianD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMedianI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMin, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMinD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMinDate, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMinI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMinStr, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMinTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priMode, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priModeD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priModeI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priSum, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priSumD, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priSumDistinct, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3 | r.StiParameterNumber.Param4), this._parametersList.set(r.StiFunctionType.priSumI, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priSumTime, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priFirst, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.priLast, r.StiParameterNumber.Param2 | r.StiParameterNumber.Param3), this._parametersList.set(r.StiFunctionType.Rank, r.StiParameterNumber.Param2) } return this._parametersList }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "componentsList", { get: function() { var t, e; if (null == this._componentsList) { this._componentsList = new o; var r = this.report.getComponents(); try { for (var i = __values(r.list), n = i.next(); !n.done; n = i.next()) { var a = n.value; this._componentsList.set(a.name, a) } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } this._componentsList.set("this", this.report) } return this._componentsList }, enumerable: !0, configurable: !0 }), Object.defineProperty(i, "methodsHash", { get: function() { var e, i; if (null == this._methodsHash) { var n = [new c(r.StiFunctionType.DateDiff,1,[a.stimulsoft.getType(), a.stimulsoft.getType()],s.stimulsoft.getType()), new c(r.StiFunctionType.DateSerial,1,[Number.stimulsoft.getType()],a.stimulsoft.getType()), new c(r.StiFunctionType.DateSerial,2,[Number.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()],a.stimulsoft.getType()), new c(r.StiFunctionType.TimeSerial,1,[Number.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()],s.stimulsoft.getType()), new c(r.StiFunctionType.Year,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Month,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Day,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Hour,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Minute,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Second,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.DayOfWeek,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.DayOfWeek,3,[a.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.DayOfWeek,5,[a.stimulsoft.getType(), String.stimulsoft.getType()]), new c(r.StiFunctionType.DayOfWeek,7,[a.stimulsoft.getType(), String.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.DayOfYear,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.DaysInMonth,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.DaysInMonth,3,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.DaysInYear,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.DaysInYear,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.MonthName,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.MonthName,3,[a.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.MonthName,5,[a.stimulsoft.getType(), String.stimulsoft.getType()]), new c(r.StiFunctionType.MonthName,7,[a.stimulsoft.getType(), String.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.WeekOfYear,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.WeekOfYear,3,[a.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.WeekOfYear,5,[a.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.WeekOfMonth,1,[a.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.WeekOfMonth,3,[a.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.WeekOfMonth,5,[a.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Abs,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Abs,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Abs,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Acos,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Asin,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Atan,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Cos,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Sin,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Tan,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Ceiling,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Ceiling,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Div,1,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Div,2,[Number.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Div,3,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Div,4,[Number.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Div,5,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Div,6,[Number.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Exp,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Floor,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Floor,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Log,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Maximum,1,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Maximum,2,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Maximum,3,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Minimum,1,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Minimum,2,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Minimum,3,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Round,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Round,2,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Round,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Round,4,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Sign,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Sign,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Sign,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Truncate,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Truncate,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.IsNull,1,[Object.stimulsoft.getType(), String.stimulsoft.getType()],Boolean.stimulsoft.getType()), new c(r.StiFunctionType.Next,1,[Object.stimulsoft.getType(), String.stimulsoft.getType()],Object.stimulsoft.getType()), new c(r.StiFunctionType.NextIsNull,1,[Object.stimulsoft.getType(), String.stimulsoft.getType()],Boolean.stimulsoft.getType()), new c(r.StiFunctionType.Previous,1,[Object.stimulsoft.getType(), String.stimulsoft.getType()],Object.stimulsoft.getType()), new c(r.StiFunctionType.PreviousIsNull,1,[Object.stimulsoft.getType(), String.stimulsoft.getType()],Boolean.stimulsoft.getType()), new c(r.StiFunctionType.DateToStr,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.DateToStr,3,[a.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.DateToStrPl,1,[a.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.DateToStrRu,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.DateToStrRu,2,[a.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.DateToStrUa,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.DateToStrUa,2,[a.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.DateToStrPt,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.DateToStrPtBr,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.Insert,1,[String.stimulsoft.getType(), Number.stimulsoft.getType(), String.stimulsoft.getType()]), new c(r.StiFunctionType.Left,1,[String.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.Right,1,[String.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.Mid,1,[String.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.Length,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Remove,1,[String.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.Remove,2,[String.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.Replace,1,[String.stimulsoft.getType(), String.stimulsoft.getType(), String.stimulsoft.getType()]), new c(r.StiFunctionType.Substring,1,[String.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.Trim,1,[String.stimulsoft.getType()]), new c(r.StiFunctionType.Roman,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToOrdinal,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToLowerCase,1,[String.stimulsoft.getType()]), new c(r.StiFunctionType.ToUpperCase,1,[String.stimulsoft.getType()]), new c(r.StiFunctionType.ToProperCase,1,[String.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWords,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWords,4,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWords,7,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWords,10,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType(), Boolean.stimulsoft.getType(), String.stimulsoft.getType(), String.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsEnGb,1,[Number.stimulsoft.getType(), String.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsEnIn,1,[String.stimulsoft.getType(), String.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsEs,1,[Number.stimulsoft.getType(), String.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsFr,1,[Number.stimulsoft.getType(), String.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsNl,1,[Number.stimulsoft.getType(), String.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsPl,1,[Number.stimulsoft.getType(), String.stimulsoft.getType(), Boolean.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsPt,1,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsPtBr,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsRu,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsRu,4,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsRu,7,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType(), String.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsRu,10,[Number.stimulsoft.getType(), String.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsThai,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsTr,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsTr,2,[Number.stimulsoft.getType(), String.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsUa,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsUa,4,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsUa,7,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType(), String.stimulsoft.getType()]), new c(r.StiFunctionType.ToCurrencyWordsZh,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToWords,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToWords,4,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsEs,1,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsEs,2,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsEnIn,1,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsFa,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsPl,1,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsPt,1,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsRu,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsRu,4,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsTr,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsUa,1,[Number.stimulsoft.getType()]), new c(r.StiFunctionType.ToWordsUa,4,[Number.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.StrToNullableDateTime,1,[String.stimulsoft.getType()],a.stimulsoft.getType()), new c(r.StiFunctionType.CountAllLevels,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.CountAllLevelsOnlyChilds,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.CountOnlyChilds,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.Rank,1,[Object.stimulsoft.getType(), Object.stimulsoft.getType()]), new c(r.StiFunctionType.Rank,2,[Object.stimulsoft.getType(), Object.stimulsoft.getType(), Boolean.stimulsoft.getType(), Object.stimulsoft.getType()]), new c(r.StiFunctionType.MathRound,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.MathRound,2,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.MathRound,3,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.MathRound,4,[Number.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.MathRound,5,[Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.MathRound,6,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.MathRound,7,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.MathRound,8,[Number.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.MathPow,1,[Number.stimulsoft.getType(), Number.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.GetAnchorPageNumber,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.GetAnchorPageNumberThrough,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.ParseDateTime,1,[String.stimulsoft.getType()],a.stimulsoft.getType()), new c(r.StiFunctionType.ParseDecimal,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.ParseDouble,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.ParseInt,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.ToString,1,[Object.stimulsoft.getType()]), new c(r.StiFunctionType.StringIsNullOrEmpty,1,[String.stimulsoft.getType()],Boolean.stimulsoft.getType()), new c(r.StiFunctionType.StringIsNullOrWhiteSpace,1,[String.stimulsoft.getType()],Boolean.stimulsoft.getType()), new c(r.StiFunctionType.EngineHelperJoinColumnContent,1,[u.stimulsoft.getType(), String.stimulsoft.getType(), String.stimulsoft.getType()]), new c(r.StiFunctionType.EngineHelperJoinColumnContent,2,[t.Report.Dictionary.StiBusinessObject.stimulsoft.getType(), String.stimulsoft.getType(), String.stimulsoft.getType()]), new c(r.StiFunctionType.EngineHelperJoinColumnContent,3,[t.Report.Dictionary.StiDataSource.stimulsoft.getType(), String.stimulsoft.getType(), String.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.EngineHelperJoinColumnContent,4,[t.Report.Dictionary.StiBusinessObject.stimulsoft.getType(), String.stimulsoft.getType(), String.stimulsoft.getType(), Boolean.stimulsoft.getType()]), new c(r.StiFunctionType.EngineHelperToQueryString,1,[Object.stimulsoft.getType(), String.stimulsoft.getType(), String.stimulsoft.getType()]), new c(r.StiFunctionType.m_ToShortDateString,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.m_ToShortTimeString,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.m_ToLongDateString,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.m_ToLongTimeString,1,[a.stimulsoft.getType()]), new c(r.StiFunctionType.m_Substring,1,[String.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.m_Substring,2,[String.stimulsoft.getType(), Number.stimulsoft.getType(), Number.stimulsoft.getType()]), new c(r.StiFunctionType.m_ToLower,1,[String.stimulsoft.getType()]), new c(r.StiFunctionType.m_ToUpper,1,[String.stimulsoft.getType()]), new c(r.StiFunctionType.m_IndexOf,1,[String.stimulsoft.getType(), String.stimulsoft.getType()],Number.stimulsoft.getType()), new c(r.StiFunctionType.m_StartsWith,1,[String.stimulsoft.getType(), String.stimulsoft.getType()],Boolean.stimulsoft.getType()), new c(r.StiFunctionType.m_EndsWith,1,[String.stimulsoft.getType(), String.stimulsoft.getType()],Boolean.stimulsoft.getType()), new c(r.StiFunctionType.m_Contains,1,[String.stimulsoft.getType(), String.stimulsoft.getType()],Boolean.stimulsoft.getType()), new c(r.StiFunctionType.m_Contains,21,[Object.stimulsoft.getType(), Object.stimulsoft.getType()],Boolean.stimulsoft.getType()), new c(r.StiFunctionType.m_ToString,1,[Object.stimulsoft.getType()]), new c(r.StiFunctionType.m_ToString,2,[Object.stimulsoft.getType(), String.stimulsoft.getType()])]; this._methodsHash = new o; try { for (var l = __values(n), m = l.next(); !m.done; m = l.next()) { var p = m.value , h = this._methodsHash.get(p.name); null == h && (h = [], this._methodsHash.set(p.name, h)), h.add(p) } } catch (t) { e = { error: t } } finally { try { m && !m.done && (i = l.return) && i.call(l) } finally { if (e) throw e.error } } } return this._methodsHash }, enumerable: !0, configurable: !0 }), Object.defineProperty(i, "constantsList", { get: function() { return null == this._constantsList && (this._constantsList = new o, 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", t.System.MidpointRounding.ToEven), this._constantsList.set("MidpointRounding.AwayFromZero", t.System.MidpointRounding.AwayFromZero), this._constantsList.set("StiRankOrder", this.namespaceObj), this._constantsList.set("StiRankOrder.Asc", e.StiRankOrder.Asc), this._constantsList.set("StiRankOrder.Desc", e.StiRankOrder.Desc), this._constantsList.set("DayOfWeek", this.namespaceObj), this._constantsList.set("DayOfWeek.Sunday", t.System.DayOfWeek.Sunday), this._constantsList.set("DayOfWeek.Monday", t.System.DayOfWeek.Monday), this._constantsList.set("DayOfWeek.Tuesday", t.System.DayOfWeek.Tuesday), this._constantsList.set("DayOfWeek.Wednesday", t.System.DayOfWeek.Wednesday), this._constantsList.set("DayOfWeek.Thursday", t.System.DayOfWeek.Thursday), this._constantsList.set("DayOfWeek.Friday", t.System.DayOfWeek.Friday), this._constantsList.set("DayOfWeek.Saturday", t.System.DayOfWeek.Saturday), this._constantsList.set("CalendarWeekRule", this.namespaceObj), this._constantsList.set("CalendarWeekRule.FirstDay", t.System.Globalization.CalendarWeekRule.FirstDay), this._constantsList.set("CalendarWeekRule.FirstFullWeek", t.System.Globalization.CalendarWeekRule.FirstFullWeek), this._constantsList.set("CalendarWeekRule.FirstFourDayWeek", t.System.Globalization.CalendarWeekRule.FirstFourDayWeek), this._constantsList.set("System.Globalization.CalendarWeekRule", this.namespaceObj), this._constantsList.set("System.Globalization.CalendarWeekRule.FirstDay", t.System.Globalization.CalendarWeekRule.FirstDay), this._constantsList.set("System.Globalization.CalendarWeekRule.FirstFullWeek", t.System.Globalization.CalendarWeekRule.FirstFullWeek), this._constantsList.set("System.Globalization.CalendarWeekRule.FirstFourDayWeek", t.System.Globalization.CalendarWeekRule.FirstFourDayWeek)), this._constantsList }, enumerable: !0, configurable: !0 }), Object.defineProperty(i, "namespacesList", { get: function() { return null == this._namespacesList && (this._namespacesList = new o, 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: !0, configurable: !0 }), Object.defineProperty(i.prototype, "userFunctionsList", { get: function() { var t, e; if (null == this._userFunctionsList) { this._userFunctionsList = new o; var i = new o , a = n.getFunctions(!1); try { for (var s = __values(a), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = i.get(u.functionName); null == c && (c = [], i.set(u.functionName, c), this._userFunctionsList.set(u.functionName, r.StiFunctionType.UserFunction + this._userFunctionsList.count)), c.add(u) } } catch (e) { t = { error: e } } finally { try { l && !l.done && (e = s.return) && e.call(s) } finally { if (t) throw t.error } } } return this._userFunctionsList }, enumerable: !0, 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 }(); i.StiParser_Properties = m }(i = r.StiParser || (r.StiParser = {})) }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = t.System.StiString, n = t.System.Type, o = t.System.Enum, a = t.System.Text.StringBuilder, s; !function(t) { t[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" }(s = r.ParserErrorCode || (r.ParserErrorCode = {})); var l = function() { function t(t, e, r) { this.position = -1, this.length = -1, this.typeCode = t, this.position = e, this.length = r } return t.prototype.toString = function() { return i.format("{0}", this.typeCode) } , t }() , u = function() { function t(t) { this.message = null, this.baseMessage = null, this.position = -1, this.length = -1, this.message = t } return t }(); r.StiParserException = u; var c = function(c) { function m() { var t = null !== c && c.apply(this, arguments) || this; return t.report = null, t } return __extends(m, c), m.prototype.throwError = function(t, e, r, n, o, a) { void 0 === e && (e = null), void 0 === r && (r = ""), void 0 === n && (n = ""), void 0 === o && (o = ""), void 0 === a && (a = ""); var s = "Unknown error" , l = t; l < m.errorsList.length && (s = i.format(m.errorsList[l], r, n, o, a)); var c = "Parser error: " + s , p = new u(c); throw p.baseMessage = s, null != e && (p.position = this.expressionPosition + e.position, p.length = e.length), p } , m.prototype.checkTypes = function(r) { var i, n; if (null == r || 0 == r.length) return; var o = new Array, a = null, s = null, u, c; try { for (var m = __values(r), p = m.next(); !p.done; p = m.next()) { var h = p.value , d = Object.stimulsoft.getType(); switch (h.type) { case e.StiAsmCommandType.PushValue: o.push(new l(null == h.parameter1 ? Object.stimulsoft.getType() : h.parameter1.stimulsoft.getType(),h.position,h.length)); break; case e.StiAsmCommandType.PushVariable: var g = h.parameter1 , f = this.report.dictionary.variables.getByName(g); if (null != f) d = f.type; else if (null != this.report.variables && this.report.variables.containsKey(g)) { var S = this.report.variables.get(g); null != S && (d = S.stimulsoft.getType()) } o.push(new l(d,h.position,h.length)); break; case e.StiAsmCommandType.PushSystemVariable: var A = this.get_systemVariable(h.parameter1); null != A && (d = A.stimulsoft.getType()), o.push(new l(d,h.position,h.length)); break; case e.StiAsmCommandType.PushComponent: o.push(new l(null == h.parameter1 ? Object.stimulsoft.getType() : h.parameter1.stimulsoft.getType(),h.position,h.length)); break; case e.StiAsmCommandType.CopyToVariable: break; case e.StiAsmCommandType.PushFunction: a = new Array; for (var y = 0; y < h.parameter2.stimulsoft.toNumber(); y++) a.add(o.pop()); a.reverse(), s = new Array(a.length); for (var y = 0; y < a.length; y++) s[y] = a[y].typeCode; var w = this.getParserMethodInfo(h.parameter1, s); d = null != w ? w.returnType : Object.stimulsoft.getType(), o.push(new l(d,h.position,h.length)); break; case e.StiAsmCommandType.PushMethod: a = new Array; for (var y = 0; y < h.parameter2.stimulsoft.toNumber(); y++) a.add(o.pop()); a.reverse(), s = new Array(a.length); for (var y = 0; y < a.length; y++) s[y] = a[y].typeCode; d = this.getMethodResultType(h.parameter1, s), o.push(new l(d,h.position,h.length)); break; case e.StiAsmCommandType.PushProperty: d = this.getPropertyType(h.parameter1, o.pop().typeCode), o.push(new l(d,h.position,h.length)); break; case e.StiAsmCommandType.PushDataSourceField: var b = h.parameter1.split(".") , v = this.report.dictionary.dataSources.getByName(b[0]); if (v.stimulsoft.is(t.Report.Dictionary.StiVirtualSource) && b.length > 2 && !v.columns.contains(b[1])) { var C = b[1] + "." + b[2]; v.columns.contains(C) ? (b[1] = C, b.removeAt(2)) : b.length > 3 && (C += "." + b[3], v.columns.contains(C) && (b[1] = C, b.removeAt(2), b.removeAt(2))) } if (b.length > 1) if (2 == b.length) { var E = v.columns.getByName(b[1]); null != E && (d = E.type) } else { var B = b[1]; v = v.getParentDataSource(B); var T = 2; while (T < b.length - 1) B = b[T], v = v.getParentDataSource(B), T++; var E = v.columns.getByName(b[T]); null != E && (d = E.type) } else d = v.stimulsoft.getType(); o.push(new l(d,h.position,h.length)); break; case e.StiAsmCommandType.PushBusinessObjectField: var I = h.parameter1.split(".") , x = this.report.dictionary.businessObjects.getByName(I[0]); if (I.length > 1) { var F = null , T = 1; while (T < I.length - 1) { if (F = I[T], x.columns.contains(F)) break; x = x.businessObjects.getByName(F), T++ } d = x.columns.contains(I[T]) ? x.columns.getByName(I[T]).type : x.businessObjects.getByName(I[T]).stimulsoft.getType() } else d = x.stimulsoft.getType(); o.push(new l(d,h.position,h.length)); break; case e.StiAsmCommandType.PushArrayElement: a = new Array; for (var y = 0; y < h.parameter1.stimulsoft.toNumber(); y++) a.add(o.pop()); a.reverse(), s = new Array(a.length); for (var y = 0; y < a.length; y++) s[y] = a[y].typeCode; d = this.getArrayElementType(s), o.push(new l(d,h.position,h.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: c = o.pop(), u = o.pop(), s = [u.typeCode, c.typeCode], o.push(new l(u.typeCode,h.position,h.length)); break; case e.StiAsmCommandType.Neg: case e.StiAsmCommandType.Not: u = o.pop(), s = [u.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: c = o.pop(), u = o.pop(), d = Boolean.stimulsoft.getType(), o.push(new l(d,h.position,h.length)); break; case e.StiAsmCommandType.Cast: u = o.pop(), o.push(new l(d,h.position,h.length)); break } } } catch (t) { i = { error: t } } finally { try { p && !p.done && (n = m.return) && n.call(m) } finally { if (i) throw i.error } } } , m.prototype.getMethodResultType = function(t, e) { var r = this.getParserMethodInfo(t, e); if (null != r) return r.returnType; return null } , m.prototype.getPropertyType = function(t, e) { return null } , m.prototype.getArrayElementType = function(t) { var e = t[0]; return null } , m.prototype.get_systemVariable = function(t) { return null } , m.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 n.isNumericType(e); if (t.stimulsoft.is(e)) return !0; return e == t } , m.prototype.getTypeName = function(t) { return null == t ? "null" : t.stimulsoft.getType().stimulsoft.getTypeName() } , m.prototype.checkParserMethodInfo = function(t, e) { for (var r = e.length, i = Array.create(n, r), o = 0; o < r; o++) null == e[o] ? i[o] = Object : i[o] = e[o].stimulsoft.getType(); var a = this.getParserMethodInfo(t, i); if (null != a) return a.number; return 0 } , m.prototype.getParserMethodInfo = function(t, i) { var n, l, u = r.StiParser_AsmFunctions.methodsHash.get(t); if (null == u) return null; var c = i.length , p = u , h = !1; try { for (var d = __values(p), g = d.next(); !g.done; g = d.next()) { var f = g.value; if (f.arguments.length != c) continue; h = !0; for (var S = !0, A = 0; A < c; A++) { if (m.isImplicitlyCastableTo(i[A], f.arguments[A])) continue; S = !1; break } if (S) return f } } catch (t) { n = { error: t } } finally { try { g && !g.done && (l = d.return) && l.call(d) } finally { if (n) throw n.error } } h || this.throwError(s.NoOverloadForMethodTakesNArguments, null, o.getName(e.StiFunctionType, t.stimulsoft.toNumber()), c.toString()); for (var y = new a, A = 0; A < c; A++) { var w = null == i[A] ? "null" : i[A].stimulsoft.getType().stimulsoft.getTypeName(); "Decimal" == w && (w = "Number"), y.append(w), A < c - 1 && y.append(",") } return this.throwError(s.NoMatchingOverloadedMethod, null, o.getName(e.StiFunctionType, t.stimulsoft.toNumber()), y.toString()), null } , m.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}'"], m }(r.StiParser_Properties); r.StiParser_Check = c }(r = e.StiParser || (e.StiParser = {})) }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.StiString , o = t.System.TypeCode , a = t.System.Text.StringBuilder , s = t.System.Char , l = t.System.Collections.Hashtable , u = t.Report.Components.StiComponent , c = function(c) { function m() { var t = null !== c && c.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 } return __extends(m, c), 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]; if (s.isLetter(e) || "_" == e) { var n = this.position + 1; while (n < this.inputExpression.length && (s.isLetterOrDigit(this.inputExpression[n]) || "_" == this.inputExpression[n])) n++; t = new i.StiToken, t.value = this.inputExpression.substr(this.position, n - this.position), t.type = r.StiTokenType.Identifier, t.position = this.position, t.length = n - this.position, this.position = n; var o = t.value; return t.position > 0 && "." == this.inputExpression[t.position - 1] && (o = "." + o), this.hashAliases.containsKey(o) && (t.value = this.hashAliases.get(o)), t } if (s.isDigit(e)) return t = new i.StiToken, t.type = r.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 a = !0; "@" == e && (a = !1, this.position++), this.position++; var n = this.position; while (n < this.inputExpression.length) { if ('"' == this.inputExpression[n]) break; "\\" == this.inputExpression[n] && n++, n++ } t = new i.StiToken, t.type = r.StiTokenType.String; var l = this.inputExpression.substr(this.position, n - this.position); return t.valueObject = a ? m.replaceBackslash(l) : l, t.position = this.position - 1, this.position = n + 1, t.length = this.position - t.position, t } if ("[" == e) { var n = this.inputExpression.indexOf("]", this.position); if (-1 != n) { n++; var o = this.inputExpression.substr(this.position, n - this.position); if (this.position > 0 && "." == this.inputExpression[this.position - 1] && (o = "." + o), this.hashAliases.containsKey(o)) return t = new i.StiToken, t.value = this.hashAliases.get(o), t.type = r.StiTokenType.Identifier, t.position = this.position, t.length = n - this.position, this.position = n, t } } var u = this.position; this.position++; var c = " "; switch (this.position < this.inputExpression.length && (c = this.inputExpression[this.position]), e) { case ".": return new i.StiToken(r.StiTokenType.Dot,u,1); case "(": return new i.StiToken(r.StiTokenType.LParenthesis,u,1); case ")": return new i.StiToken(r.StiTokenType.RParenthesis,u,1); case "[": return new i.StiToken(r.StiTokenType.LBracket,u,1); case "]": return new i.StiToken(r.StiTokenType.RBracket,u,1); case "+": return new i.StiToken(r.StiTokenType.Plus,u,1); case "-": return new i.StiToken(r.StiTokenType.Minus,u,1); case "*": return new i.StiToken(r.StiTokenType.Mult,u,1); case "/": return new i.StiToken(r.StiTokenType.Div,u,1); case "%": return new i.StiToken(r.StiTokenType.Percent,u,1); case "^": return new i.StiToken(r.StiTokenType.Xor,u,1); case ",": return new i.StiToken(r.StiTokenType.Comma,u,1); case ":": return new i.StiToken(r.StiTokenType.Colon,u,1); case ";": return new i.StiToken(r.StiTokenType.SemiColon,u,1); case "?": return new i.StiToken(r.StiTokenType.Question,u,1); case "|": return "|" == c ? (this.position++, new i.StiToken(r.StiTokenType.DoubleOr,u,2)) : new i.StiToken(r.StiTokenType.Or,u,1); case "&": return "&" == c ? (this.position++, new i.StiToken(r.StiTokenType.DoubleAnd,u,2)) : new i.StiToken(r.StiTokenType.And,u,1); case "!": return "=" == c ? (this.position++, new i.StiToken(r.StiTokenType.NotEqual,u,2)) : new i.StiToken(r.StiTokenType.Not,u,1); case "=": return "=" == c ? (this.position++, new i.StiToken(r.StiTokenType.Equal,u,2)) : new i.StiToken(r.StiTokenType.Assign,u,1); case "<": return "<" == c ? (this.position++, new i.StiToken(r.StiTokenType.Shl,u,2)) : "=" == c ? (this.position++, new i.StiToken(r.StiTokenType.LeftEqual,u,2)) : new i.StiToken(r.StiTokenType.Left,u,1); case ">": return ">" == c ? (this.position++, new i.StiToken(r.StiTokenType.Shr,u,2)) : "=" == c ? (this.position++, new i.StiToken(r.StiTokenType.RightEqual,u,2)) : new i.StiToken(r.StiTokenType.Right,u,1); default: return t = new i.StiToken(r.StiTokenType.Unknown), t.valueObject = e, t.position = u, t.length = 1, t } } , m.isWhiteSpace = function(t) { return s.isWhitespace(t) || t.charCodeAt(0) < 32 } , m.prototype.buildAliases = function() { var t, e, r, i, n, o, a, s, u, c; if (null != this.hashAliases) return; this.hashAliases = new l; try { for (var p = __values(this.report.dictionary.dataSources.list), h = p.next(); !h.done; h = p.next()) { var d = h.value , g = d.name , f = m.getCorrectedAlias(d.alias); f != g && this.hashAliases.set(f, g); try { for (var S = (r = void 0, __values(d.columns.list)), A = S.next(); !A.done; A = S.next()) { var y = A.value , w = y.name , b = m.getCorrectedAlias(y.alias); b != w && this.hashAliases.set("." + b, w) } } catch (t) { r = { error: t } } finally { try { A && !A.done && (i = S.return) && i.call(S) } finally { if (r) throw r.error } } } } catch (e) { t = { error: e } } finally { try { h && !h.done && (e = p.return) && e.call(p) } finally { if (t) throw t.error } } try { for (var v = __values(this.report.dictionary.businessObjects.list), C = v.next(); !C.done; C = v.next()) { var E = C.value; this.buildBusinessObject(this.report, E) } } catch (t) { n = { error: t } } finally { try { C && !C.done && (o = v.return) && o.call(v) } finally { if (n) throw n.error } } try { for (var B = __values(this.report.dictionary.relations.list), T = B.next(); !T.done; T = B.next()) { var I = T.value , x = I.name , F = m.getCorrectedAlias(I.alias); F != x && this.hashAliases.set("." + F, x) } } catch (t) { a = { error: t } } finally { try { T && !T.done && (s = B.return) && s.call(B) } finally { if (a) throw a.error } } try { for (var D = __values(this.report.dictionary.variables.list), R = D.next(); !R.done; R = D.next()) { var P = R.value , N = P.name , k = m.getCorrectedAlias(P.alias); k != N && this.hashAliases.set(k, N) } } catch (t) { u = { error: t } } finally { try { R && !R.done && (c = D.return) && c.call(D) } finally { if (u) throw u.error } } } , m.prototype.buildBusinessObject = function(t, e) { var r, i, n, 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 , h = m.getCorrectedAlias(c.alias); h != p && this.hashAliases.set("." + h, p) } } catch (t) { r = { error: t } } finally { try { u && !u.done && (i = l.return) && i.call(l) } finally { if (r) throw r.error } } try { for (var d = __values(e.businessObjects.list), g = d.next(); !g.done; g = d.next()) { var f = g.value; this.buildBusinessObject(t, f) } } catch (t) { n = { error: t } } finally { try { g && !g.done && (o = d.return) && o.call(d) } finally { if (n) throw n.error } } } , m.isValidName = function(t) { if (n.isNullOrEmpty(t) || !s.isLetter(t[0]) && "_" != t[0]) return !1; for (var e = 0; e < t.length; e++) if (!s.isLetterOrDigit(t[e]) && "_" != t[e]) return !1; return !0 } , m.getCorrectedAlias = function(t) { if (this.isValidName(t)) return t; return n.format("[{0}]", t) } , m.replaceBackslash = function(t) { for (var e = "", r = 0; r < t.length; r++) if ("\\" == t[r] && r < t.length - 1) { r++; var i = t[r]; switch (i) { 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 n = new a , o = 0; while (r < t.length - 1 && o < 4 && -1 != "0123456789abcdefABCDEF".indexOf(t[r + 1])) n.append(t[r + 1]), r++, o++; var s = parseFloat(n.toString()); e += String.fromCharCode(s); break; default: e += "\\" + i; break } } else e += t[r]; return e } , m.prototype.scanNumber = function() { var e = o.Int32 , n = this.position , a = this.position; while (this.position != this.inputExpression.length && s.isDigit(this.inputExpression[this.position])) this.position++; if (this.position != this.inputExpression.length && "." == this.inputExpression[this.position] && this.position + 1 != this.inputExpression.length && s.isDigit(this.inputExpression[this.position + 1])) { this.position++; while (this.position != this.inputExpression.length && s.isDigit(this.inputExpression[this.position])) this.position++; e = o.Double } var l = this.inputExpression.substr(n, this.position - n); if (l = l.replace(",", "."), this.position != this.inputExpression.length && s.isLetter(this.inputExpression[this.position])) { n = this.position; while (this.position != this.inputExpression.length && s.isLetter(this.inputExpression[this.position])) this.position++; var u = this.inputExpression.substr(n, this.position - n).toLowerCase(); "f" == u && (e = o.Single), "d" == u && (e = o.Double), "m" == u && (e = o.Decimal), "l" == u && (e = o.Int64), "u" != u && "ul" != u && "lu" != u || (e = o.UInt64) } e == o.Int32 && l.length > 9 && (e = o.Int64); var c = +l; try { c = t.System.Convert.changeType2(l, e) } catch (t) { e != o.Int32 && e != o.Int64 && e != o.UInt32 && e != o.UInt64 || this.throwError(i.ParserErrorCode.IntegralConstantIsTooLarge, new i.StiToken(r.StiTokenType.Number,a,this.position - a)) } return c } , m.prototype.postProcessTokensList = function(o) { var a = new Array; this.tokenPos = 0; while (this.tokenPos < o.length) { var s = o[this.tokenPos]; if (this.tokenPos++, s.type == r.StiTokenType.Identifier) { var l = this.report.dictionary.dataSources.getByName(s.value) , c = this.report.dictionary.businessObjects.getByName(s.value) , m = ""; if (t.Report.Engine.StiParser.StiParser_Properties.namespacesList.contains(s.value)) { this.tokenPos + 1 >= o.length && this.throwError(i.ParserErrorCode.UnexpectedEndOfExpression), o[this.tokenPos].type != r.StiTokenType.Dot && this.throwError(i.ParserErrorCode.SyntaxError, s, s.value), m = s.value + ".", s = o[this.tokenPos + 1], this.tokenPos += 2; while (t.Report.Engine.StiParser.StiParser_Properties.namespacesList.contains(m + o[this.tokenPos - 1].value)) this.tokenPos + 1 >= o.length && this.throwError(i.ParserErrorCode.UnexpectedEndOfExpression), o[this.tokenPos].type != r.StiTokenType.Dot && this.throwError(i.ParserErrorCode.SyntaxError, s, s.value), m += s.value + ".", s = o[this.tokenPos + 1], this.tokenPos += 2 } if (null != l) { var p = e.StiNameValidator.correctName(s.value) , h = []; h.add(e.StiNameValidator.correctName(s.value)); while (this.tokenPos + 1 < o.length && o[this.tokenPos].type == r.StiTokenType.Dot) { s = o[this.tokenPos + 1]; var d = e.StiNameValidator.correctName(s.value) , g = this.getDataRelationByName(d, l); if (null != g) { l = g.parentSource, this.tokenPos += 2, p += ".", p += g.nameInSource, h.add(g.nameInSource); continue } var f = this.getDataColumnByName(d, l); if (null != f) { this.tokenPos += 2, p += ".", p += d, h.add(f.name); break } s = o[this.tokenPos - 1]; break } s.type = r.StiTokenType.DataSourceField, s.value = p, s.valueObject = h } else if (null != c) { var p = s.value; while (this.tokenPos + 1 < o.length && o[this.tokenPos].type == r.StiTokenType.Dot) { s = o[this.tokenPos + 1]; var d = s.value; if (c.columns.contains(d)) { this.tokenPos += 2, p += ".", p += d; break } if (null != (c = c.businessObjects.getByName(d))) { this.tokenPos += 2, p += ".", p += c.name; continue } s = o[this.tokenPos - 1]; break } s.type = r.StiTokenType.BusinessObjectField, s.value = p } else if (a.length > 0 && a[a.length - 1].type == r.StiTokenType.Dot && 0 == m.length) if (t.Report.Engine.StiParser.StiParser_Properties.methodsList.contains(s.value)) s.type = r.StiTokenType.Method; else if (t.Report.Engine.StiParser.StiParser_Properties.propertiesList.contains(s.value)) s.type = r.StiTokenType.Property; else { var S = this.tokenPos < o.length && o[this.tokenPos].type == r.StiTokenType.LParenthesis; S || a.length > 1 && a[a.length - 2].type == r.StiTokenType.DataSourceField && (s.type = r.StiTokenType.Property), s.type == r.StiTokenType.Identifier && this.throwError(i.ParserErrorCode.FieldMethodOrPropertyNotFound, s, s.value) } else if (t.Report.Engine.StiParser.StiParser_Properties.typesList.contains(s.value)) { var A = t.Report.Engine.StiParser.StiParser_Properties.typesList.get(s.value); if (s.type = r.StiTokenType.Cast, s.valueObject = A, this.tokenPos + 1 < o.length && o[this.tokenPos].type == r.StiTokenType.Dot) { var y = s.value + "." + o[this.tokenPos + 1].value; t.Report.Engine.StiParser.StiParser_Properties.functionsList.contains(y) && (s.type = r.StiTokenType.Function, s.value = y, this.tokenPos += 2), t.Report.Engine.StiParser.StiParser_Properties.systemVariablesList.contains(y) && (s.type = r.StiTokenType.SystemVariable, s.value = y, this.tokenPos += 2) } } else if (!this.componentsList.contains(s.value) || this.tokenPos < o.length && o[this.tokenPos].type == r.StiTokenType.LParenthesis) if (t.Report.Engine.StiParser.StiParser_Properties.functionsList.contains(m + s.value) && this.tokenPos < o.length && o[this.tokenPos].type == r.StiTokenType.LParenthesis) s.value = m + s.value, s.type = r.StiTokenType.Function; else if (null != this.runtimeConstants && this.runtimeConstants.count > 0 && this.runtimeConstantsHash.contains(s.value)) { while (this.runtimeConstantsHash.get(s.value) == i.StiParser_Properties.namespaceObj) { this.tokenPos + 1 >= o.length && this.throwError(i.ParserErrorCode.UnexpectedEndOfExpression); var w = s.value; s.value += "." + o[this.tokenPos + 1].value, this.tokenPos += 2, this.runtimeConstantsHash.contains(s.value) || this.throwError(i.ParserErrorCode.ItemDoesNotContainDefinition, s, w, o[this.tokenPos + 1].value) } s.type = r.StiTokenType.Variable } else if (t.Report.Engine.StiParser.StiParser_Properties.systemVariablesList.contains(s.value) && ("value" != s.value || this.component.stimulsoft.is(t.Report.CrossTab.StiCrossCell))) s.type = r.StiTokenType.SystemVariable; else if (t.Report.Engine.StiParser.StiParser_Properties.constantsList.contains(m + s.value)) { while (t.Report.Engine.StiParser.StiParser_Properties.constantsList.get(m + s.value) == t.Report.Engine.StiParser.StiParser_Properties.namespaceObj) { this.tokenPos + 1 >= o.length && this.throwError(i.ParserErrorCode.UnexpectedEndOfExpression); var w = s.value; s.value += "." + o[this.tokenPos + 1].value, this.tokenPos += 2, t.Report.Engine.StiParser.StiParser_Properties.constantsList.contains(m + s.value) || this.throwError(i.ParserErrorCode.ItemDoesNotContainDefinition, s, w, o[this.tokenPos + 1].value) } s.value = m + s.value, s.valueObject = t.Report.Engine.StiParser.StiParser_Properties.constantsList.get(s.value), s.type = r.StiTokenType.Number } else this.report.dictionary.variables.contains(s.value) ? s.type = r.StiTokenType.Variable : this.userFunctionsList.contains(s.value) ? s.type = r.StiTokenType.Function : n.isNullOrEmpty(m) ? this.throwError(i.ParserErrorCode.NameDoesNotExistInCurrentContext, s, s.value) : this.throwError(i.ParserErrorCode.TheTypeOrNamespaceNotExistInTheNamespace, s, s.value, m.substring(0, m.length - 1)); else if (s.type = r.StiTokenType.Component, this.tokenPos + 1 < o.length && o[this.tokenPos].type == r.StiTokenType.Colon && this.componentsList.contains(o[this.tokenPos + 1].value)) { var b = this.componentsList.get(o[this.tokenPos + 1].value).stimulsoft.as(u); null != b && b.stimulsoft.is(t.Report.Components.StiDataBand) && (s.value = b.dataSourceName, s.type = r.StiTokenType.DataSourceField, this.tokenPos += 2) } } a.add(s) } return a } , m.prototype.createRuntimeConstantsHash = function() { var t, e; null != this.runtimeConstantsHash ? this.runtimeConstantsHash.clear() : this.runtimeConstantsHash = new l; try { for (var r = __values(this.runtimeConstants.keys), n = r.next(); !n.done; n = r.next()) { var o = n.value , a = o.toString(); if (a.stimulsoft.contains(".")) { var s = a.split(".") , u = 0 , c = s[0]; while (u < s.length - 1) this.runtimeConstantsHash.set(c, i.StiParser_Properties.namespaceObj), u++, c += "." + s[u] } this.runtimeConstantsHash.set(a, this.runtimeConstants.get(o)) } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , m.prototype.getDataSourceByName = function(t) { var e, r; try { for (var i = __values(this.report.dictionary.dataSources.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.alias == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , m.prototype.getDataRelationByName = function(t, r) { var i, n, o, a; try { for (var s = __values(this.report.dictionary.relations.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (u.childSource == r && (u.name == t || u.nameInSource == t)) return u } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } try { for (var c = __values(this.report.dictionary.relations.list), m = c.next(); !m.done; m = c.next()) { var u = m.value; if (u.childSource == r && (e.StiNameValidator.correctName(u.name) == t || e.StiNameValidator.correctName(u.nameInSource) == t)) return u } } catch (t) { o = { error: t } } finally { try { m && !m.done && (a = c.return) && a.call(c) } finally { if (o) throw o.error } } return null } , m.prototype.getDataColumnByName = function(t, e) { var r, i; if (null != e.dataTable) { var n = e.getColumnIndex(t); if (n >= 0) { var o = e.dataTable.columns.getByIndex(n) , a = o ? o.columnName : ""; try { for (var s = __values(e.columns.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (u.nameInSource == a) return u } } catch (t) { r = { error: t } } finally { try { l && !l.done && (i = s.return) && i.call(s) } 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 (!0) { var t = this.getNextLexem(); if (null == t) break; this.tokensList.add(t) } this.tokensList = this.postProcessTokensList(this.tokensList) } , m }(i.StiParser_Check); i.StiParser_Lexer = c }(i = r.StiParser || (r.StiParser = {})) }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Convert , i = t.System.Type , n = t.System.DateTime , o = t.System.IComparable , a = function(a) { function s() { return null !== a && a.apply(this, arguments) || this } return __extends(s, a), s.prototype.op_Add = function(i, o) { var a = this.get_category(i) , s = this.get_category(o); if (a <= 1 || s <= 1) return r.toString(i) + r.toString(o); if (4 == a || 4 == s) return i.stimulsoft.toNumber() + o.stimulsoft.toNumber(); if (8 == a && o.stimulsoft.getType() == t.System.TimeSpan) return new n(r.toDateTime(i).ticks + o.ticks); if (8 == s && i.stimulsoft.getType() == t.System.TimeSpan) return new n(r.toDateTime(o).ticks + i.ticks); return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "+", this.getTypeName(i), this.getTypeName(o)), null } , s.prototype.op_Sub = function(i, o) { var a = this.get_category(i) , s = this.get_category(o); if (a <= 1 || s <= 1) this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "-", this.getTypeName(i), this.getTypeName(o)); else { if (4 == a || 4 == s) return i.stimulsoft.toNumber() - o.stimulsoft.toNumber(); if (8 == a && (8 == s || o.stimulsoft.getType() == t.System.TimeSpan)) return 8 == s ? r.toDateTime(i).subtract(r.toDateTime(o)) : new n(r.toDateTime(i).ticks - o.ticks); this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "-", this.getTypeName(i), this.getTypeName(o)) } return null } , s.prototype.op_Mult = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (i <= 1 || n <= 1) this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "*", this.getTypeName(t), this.getTypeName(r)); else { if (4 == i || 4 == n) return t.stimulsoft.toNumber() * r.stimulsoft.toNumber(); this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "*", this.getTypeName(t), this.getTypeName(r)) } return null } , s.prototype.op_Div = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (i <= 1 || n <= 1) this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "/", this.getTypeName(t), this.getTypeName(r)); else { if (4 == i || 4 == n) return 0 == r.stimulsoft.toNumber() && this.throwError(e.ParserErrorCode.DivisionByZero), t.stimulsoft.toNumber() / r.stimulsoft.toNumber(); this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "/", this.getTypeName(t), this.getTypeName(r)) } return null } , s.prototype.op_Mod = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (i <= 1 || n <= 1) this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "%", this.getTypeName(t), this.getTypeName(r)); else { if (4 == i || 4 == n) return t.stimulsoft.toNumber() % r.stimulsoft.toNumber(); this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "%", this.getTypeName(t), this.getTypeName(r)) } return null } , s.prototype.op_Pow = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (i >= 2 && n >= 2 && i <= 7 && n <= 7) return Math.pow(t.stimulsoft.toNumber(), r.stimulsoft.toNumber()); return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "^", this.getTypeName(t), this.getTypeName(r)), null } , s.prototype.op_Neg = function(t) { var r = this.get_category(t); return (r <= 1 || r >= 8) && this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "Negative", this.getTypeName(t)), this.op_Mult(t, -1) } , s.prototype.op_Not = function(t) { return 9 != this.get_category(t) && this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "Not", this.getTypeName(t)), !t } , s.prototype.op_Cast = function(e, n) { var o = n.stimulsoft.as(i); if (null != o) try { return r.changeType(e, o) } catch (t) { return e } switch (n) { case t.System.TypeCode.Boolean: return r.toBoolean(e); case t.System.TypeCode.Char: return String.fromCharCode(r.toNumber(e)); case t.System.TypeCode.DateTime: return t.System.Convert.toDateTime(e); case t.System.TypeCode.Decimal: return r.toNumber(e); case t.System.TypeCode.Double: return r.toNumber(e); case t.System.TypeCode.UInt16: case t.System.TypeCode.UInt32: case t.System.TypeCode.UInt64: case t.System.TypeCode.Int16: case t.System.TypeCode.Int32: case t.System.TypeCode.Int64: case t.System.TypeCode.SByte: case t.System.TypeCode.Byte: return this.toIntegerCheckChar(e); case t.System.TypeCode.Single: return r.toNumber(e); case t.System.TypeCode.String: return r.toString(e) } return e } , s.prototype.toIntegerCheckChar = function(t) { if (t.stimulsoft.is(String) && 1 == t.length) return t.charCodeAt(0); return 0 | r.toNumber(t) } , s.prototype.op_CompareLeft = function(t, i) { var n = this.get_category(t) , a = this.get_category(i); if (0 == n || 0 == a) { var s = t.stimulsoft.as(o) , l = i.stimulsoft.as(o); if (null != s && null != l) return s.compareTo(l) < 0; this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "<", this.getTypeName(t), this.getTypeName(i)) } if (1 == n || 1 == a) this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "<", this.getTypeName(t), this.getTypeName(i)); else { if (4 == n || 4 == a) return t.stimulsoft.toNumber() < i.stimulsoft.toNumber(); if (8 == n || 8 == a) return r.toDateTime(t).ticks < r.toDateTime(i).ticks; this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "<", this.getTypeName(t), this.getTypeName(i)) } return null } , s.prototype.op_CompareLeftEqual = function(t, i) { var n = this.get_category(t) , a = this.get_category(i); if (0 == n || 0 == a) { var s = t.stimulsoft.as(o) , l = i.stimulsoft.as(o); if (null != s && null != l) return s.compareTo(l) <= 0; this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "<=", this.getTypeName(t), this.getTypeName(i)) } if (1 == n || 1 == a) this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "<=", this.getTypeName(t), this.getTypeName(i)); else { if (4 == n || 4 == a) return t.stimulsoft.toNumber() <= i.stimulsoft.toNumber(); if (8 == n || 8 == a) return r.toDateTime(t).ticks <= r.toDateTime(i).ticks; this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "<=", this.getTypeName(t), this.getTypeName(i)) } return null } , s.prototype.op_CompareRight = function(t, i) { var n = this.get_category(t) , a = this.get_category(i); if (0 == n || 0 == a) { var s = t.stimulsoft.as(o) , l = i.stimulsoft.as(o); if (null != s && null != l) return s.compareTo(l) > 0; this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, ">", this.getTypeName(t), this.getTypeName(i)) } if (1 == n || 1 == a) this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, ">", this.getTypeName(t), this.getTypeName(i)); else { if (4 == n || 4 == a) return t.stimulsoft.toNumber() > i.stimulsoft.toNumber(); if (8 == n || 8 == a) return r.toDateTime(t).ticks > r.toDateTime(i).ticks; this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, ">", this.getTypeName(t), this.getTypeName(i)) } return null } , s.prototype.op_CompareRightEqual = function(t, i) { var n = this.get_category(t) , a = this.get_category(i); if (0 == n || 0 == a) { var s = t.stimulsoft.as(o) , l = i.stimulsoft.as(o); if (null != s && null != l) return s.compareTo(l) >= 0; this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, ">=", this.getTypeName(t), this.getTypeName(i)) } if (1 == n || 1 == a) this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, ">=", this.getTypeName(t), this.getTypeName(i)); else { if (4 == n || 4 == a) return t.stimulsoft.toNumber() >= i.stimulsoft.toNumber(); if (8 == n || 8 == a) return r.toDateTime(t).ticks >= r.toDateTime(i).ticks; this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, ">=", this.getTypeName(t), this.getTypeName(i)) } return null } , s.prototype.op_CompareEqual = function(t, e) { var i = this.get_category(t) , n = this.get_category(e); if (-1 == i || -1 == n) return i == n; if (0 == i || 0 == n) { var a = t.stimulsoft.as(o) , s = e.stimulsoft.as(o); return null != a && null != s ? 0 == a.compareTo(s) : t.stimulsoft.equals(e) } if (1 == i || 1 == n) return t == e; if (4 == i || 4 == n) return t.stimulsoft.toNumber() == e.stimulsoft.toNumber(); if (8 == i || 8 == n) return r.toDateTime(t).ticks == r.toDateTime(e).ticks; return t == e } , s.prototype.op_CompareNotEqual = function(t, e) { var i = this.get_category(t) , n = this.get_category(e); if (-1 == i || -1 == n) return i != n; if (0 == i || 0 == n) { var a = t.stimulsoft.as(o) , s = e.stimulsoft.as(o); return null != a && null != s ? 0 != a.compareTo(s) : !t.stimulsoft.equals(e) } if (1 == i || 1 == n) return t != e; if (4 == i || 4 == n) return t.stimulsoft.toNumber() != e.stimulsoft.toNumber(); if (8 == i || 8 == n) return r.toDateTime(t).ticks != r.toDateTime(e).ticks; return t != e } , s.prototype.op_Shl = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (!(i < 4 || i >= 8 || 4 != n)) return t.stimulsoft.toNumber() << r.stimulsoft.toNumber(); return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "<<", this.getTypeName(t), this.getTypeName(r)), null } , s.prototype.op_Shr = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (!(i < 4 || i >= 8 || 4 != n)) return t.stimulsoft.toNumber() >> r.stimulsoft.toNumber(); return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, ">>", this.getTypeName(t), this.getTypeName(r)), null } , s.prototype.op_And = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (!(i < 4 || 8 == i || n < 4 || 8 == n)) return 9 == i || 9 == n ? t.stimulsoft.toBoolean() && r.stimulsoft.toBoolean() : t.stimulsoft.toNumber() & r.stimulsoft.toNumber(); return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "&", this.getTypeName(t), this.getTypeName(r)), null } , s.prototype.op_Or = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (!(i < 4 || 8 == i || n < 4 || 8 == n)) return 9 == i || 9 == n ? t.stimulsoft.toBoolean() || r.stimulsoft.toBoolean() : t.stimulsoft.toNumber() | r.stimulsoft.toNumber(); return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "|", this.getTypeName(t), this.getTypeName(r)), null } , s.prototype.op_Xor = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (!(i < 4 || 8 == i || n < 4 || 8 == n)) return 9 == i || 9 == n ? t.stimulsoft.toBoolean() !== r.stimulsoft.toBoolean() : t.stimulsoft.toNumber() ^ r.stimulsoft.toNumber(); return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "^", this.getTypeName(t), this.getTypeName(r)), null } , s.prototype.op_And2 = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (9 == i && 9 == n) return t && r; return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "&&", this.getTypeName(t), this.getTypeName(r)), null } , s.prototype.op_Or2 = function(t, r) { var i = this.get_category(t) , n = this.get_category(r); if (9 == i && 9 == n) return t || r; return this.throwError(e.ParserErrorCode.OperatorCannotBeAppliedToOperands, null, "||", this.getTypeName(t), this.getTypeName(r)), null } , s }(e.StiParser_Lexer); e.StiParser_AsmOperations = a }(r = e.StiParser || (e.StiParser = {})) }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = t.System.Enum , n = t.System.DateTime , o = t.System.TimeSpan , a = t.System.Convert , s = function(s) { function l() { return null !== s && s.apply(this, arguments) || this } return __extends(l, s), l.prototype.call_property = function(s, l) { var u = l[0]; if (s.stimulsoft.is(String)) return u[s]; if (u.stimulsoft.is(n)) { switch (s.stimulsoft.toNumber()) { case e.StiPropertyType.Year: return u.year; case e.StiPropertyType.Month: return u.month; case e.StiPropertyType.Day: return u.day; case e.StiPropertyType.Hour: return u.hour; case e.StiPropertyType.Minute: return u.minute; case e.StiPropertyType.Second: return u.second; case e.StiPropertyType.Date: var c = u; return new n(c.year,c.month,c.day,0,0,0,0) } this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(l[0]), i.getName(e.StiPropertyType, s.stimulsoft.toNumber())) } if (u.stimulsoft.is(o)) { switch (s.stimulsoft.toNumber()) { case e.StiPropertyType.Days: return u.days; case e.StiPropertyType.Hours: return u.hours; case e.StiPropertyType.Milliseconds: return u.milliseconds; case e.StiPropertyType.Minutes: return u.minutes; case e.StiPropertyType.Seconds: return u.seconds; case e.StiPropertyType.Ticks: return u.ticks; case e.StiPropertyType.TotalDays: return u.totalDays; case e.StiPropertyType.TotalHours: return u.totalHours; case e.StiPropertyType.TotalMinutes: return u.totalMinutes; case e.StiPropertyType.TotalSeconds: return u.totalSeconds; case e.StiPropertyType.TotalMilliseconds: return u.totalMilliseconds } this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(l[0]), i.getName(e.StiPropertyType, s.stimulsoft.toNumber())) } if (u.stimulsoft.is(String)) { switch (s.stimulsoft.toNumber()) { case e.StiPropertyType.Length: return a.toString(u).length } this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(l[0]), i.getName(e.StiPropertyType, s.stimulsoft.toNumber())) } if (null == u) switch (s.stimulsoft.toNumber()) { case e.StiPropertyType.Length: return 0 } if (u.stimulsoft.is(t.Report.Range)) { switch (s.stimulsoft.toNumber()) { case e.StiPropertyType.From: return u.fromObject; case e.StiPropertyType.To: return u.toObject; case e.StiPropertyType.FromDate: return u.fromObject; case e.StiPropertyType.ToDate: return u.toObject; case e.StiPropertyType.FromTime: return u.fromObject; case e.StiPropertyType.ToTime: return u.toObject } this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(l[0]), i.getName(e.StiPropertyType, s.stimulsoft.toNumber())) } if (u.stimulsoft.is(Array)) { switch (s.stimulsoft.toNumber()) { case e.StiPropertyType.Count: return u.length } this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(l[0]), i.getName(e.StiPropertyType, s.stimulsoft.toNumber())) } if (u.stimulsoft.is(t.Report.Components.StiDataBand)) { switch (s.stimulsoft.toNumber()) { case e.StiPropertyType.Count: return u.count; case e.StiPropertyType.SelectedLine: return u.selectedLine } this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(l[0]), i.getName(e.StiPropertyType, s.stimulsoft.toNumber())) } if (u.stimulsoft.is(t.Report.Dictionary.StiDataSource)) { switch (s.stimulsoft.toNumber()) { case e.StiPropertyType.Count: return u.count } this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(l[0]), i.getName(e.StiPropertyType, s.stimulsoft.toNumber())) } if (u.stimulsoft.is(t.Report.Dictionary.StiBusinessObject)) { switch (s.stimulsoft.toNumber()) { case e.StiPropertyType.BusinessObjectValue: return u.businessObjectValue } this.throwError(r.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(l[0]), i.getName(e.StiPropertyType, s.stimulsoft.toNumber())) } if (u.stimulsoft.is(t.Report.Components.StiComponent)) switch (s.stimulsoft.toNumber()) { case e.StiPropertyType.Name: return u.name; case e.StiPropertyType.TagValue: return u.tagValue } return null } , l }(r.StiParser_AsmOperations); r.StiParser_AsmProperties = s }(r = e.StiParser || (e.StiParser = {})) }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.StiString , o = t.System.Convert , a = t.System.Enum , s = t.System.DateTime , l = t.System.TimeSpan , u = t.Report.Components.StiGroupHeaderBand , c = function(c) { function m() { return null !== c && c.apply(this, arguments) || this } return __extends(m, c), m.prototype.call_method = function(c, m) { var p, h = m[0], d = this.checkParserMethodInfo(c, m), g = c; switch (g) { case r.StiMethodType.ToString: if (1 == (p = this.get_category(m[0]))) return o.toString(m[0]); if (4 == p || 6 == p) { var f = o.toNumber(m[0]); return 1 == m.length ? f.toString() : n.customFormat(f, o.toString(m[1])) } if (8 == p) { var S = o.toDateTime(m[0]); return 1 == m.length ? S.toString() : S.toString(o.toString(m[1])) } return 9 == p ? o.toBoolean(m[0]).toString() : null == h ? "" : m[0].toString() } if (null != h && h.stimulsoft.is(String)) switch (g) { case r.StiMethodType.Substring: if (1 == d) return ("" + m[0]).substr(+m[1]); if (2 == d) return ("" + m[0]).substr(+m[1], +m[2]); break; case r.StiMethodType.ToLower: if (1 == d) return ("" + m[0]).toLowerCase(); break; case r.StiMethodType.ToUpper: if (p = this.get_category(m[0]), 1 != p && this.throwError(0), 1 == m.length) return ("" + m[0]).toUpperCase(); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "ToUpper", (m.length - 1).toString()); break; case r.StiMethodType.IndexOf: if (p = this.get_category(m[0]), 1 != p && this.throwError(i.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(m[0]), "IndexOf"), 2 == m.length) return p = this.get_category(m[1]), 1 != p && this.throwError(i.ParserErrorCode.MethodHasInvalidArgument, null, "IndexOf", "1", this.getTypeName(m[0]), "string"), ("" + m[0]).indexOf("" + m[1]); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "IndexOf", (m.length - 1).toString()); break; case r.StiMethodType.StartsWith: if (p = this.get_category(m[0]), 1 != p && this.throwError(i.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(m[0]), "StartsWith"), 2 == m.length) return p = this.get_category(m[1]), 1 != p && this.throwError(i.ParserErrorCode.MethodHasInvalidArgument, null, "StartsWith", "1", this.getTypeName(m[0]), "string"), ("" + m[0]).stimulsoft.startsWith("" + m[1]); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "StartsWith", (m.length - 1).toString()); break; case r.StiMethodType.EndsWith: if (p = this.get_category(m[0]), 1 != p && this.throwError(i.ParserErrorCode.ItemDoesNotContainDefinition, null, this.getTypeName(m[0]), "EndsWith"), 2 == m.length) return p = this.get_category(m[1]), 1 != p && this.throwError(i.ParserErrorCode.MethodHasInvalidArgument, null, "EndsWith", "1", this.getTypeName(m[0]), "string"), ("" + m[0]).stimulsoft.endsWith("" + m[1]); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "EndsWith", (m.length - 1).toString()); break; case r.StiMethodType.Contains: if (p = this.get_category(m[0]), 1 != p && this.throwError(0), 2 == m.length) return ("" + m[0]).stimulsoft.contains("" + m[1]); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "Contains", (m.length - 1).toString()); break } if (!0 && null != h && h.stimulsoft.is(Array)) switch (g) { case r.StiMethodType.Contains: if (2 == m.length) return m[0].contains(m[1]); break; case r.StiMethodType.ToQueryString: if (1 == m.length) { if (h.stimulsoft.is(Array)) return e.Func.EngineHelper.toQueryString(m[0], "", "") } else if (2 == m.length) { if (h.stimulsoft.is(Array)) return e.Func.EngineHelper.toQueryString(m[0], o.toString(m[1]), "") } else if (3 == m.length) { if (h.stimulsoft.is(Array)) return e.Func.EngineHelper.toQueryString(m[0], o.toString(m[1]), o.toString(m[2])) } else this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "ToQueryString", (m.length - 1).toString()); break } if (null != h && h.stimulsoft.is(t.Report.Dictionary.StiDataSource)) { switch (a.parse(r.StiMethodType, c.toString())) { case r.StiMethodType.GetData: if (p = this.get_category(m[1]), 1 != p && this.throwError(i.ParserErrorCode.MethodHasInvalidArgument, null, "GetData", "1", this.getTypeName(m[0]), "string"), 3 == m.length) return p = this.get_category(m[2]), (p < 4 || p > 7) && this.throwError(i.ParserErrorCode.MethodHasInvalidArgument, null, "GetData", "2", this.getTypeName(m[0]), "int"), m[0].getData(o.toString(m[1]), o.toNumber(m[2])); if (2 == m.length) return m[0].getData(o.toString(m[1])); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "GetData", (m.length - 1).toString()); break } } if (null != h && h.stimulsoft.is(s)) { switch (a.parse(r.StiMethodType, c.toString())) { case r.StiMethodType.AddDays: if (p = this.get_category(m[1]), (p < 2 || p > 7) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "AddDays", "1", this.getTypeName(m[1]), "double"), 2 == m.length) return m[0].addDays(o.toNumber(m[1])); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "AddDays", (m.length - 1).toString()); break; case r.StiMethodType.AddHours: if (p = this.get_category(m[1]), (p < 2 || p > 7) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "AddHours", "1", this.getTypeName(m[1]), "double"), 2 == m.length) return m[0].addHours(o.toNumber(m[1])); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "AddHours", (m.length - 1).toString()); break; case r.StiMethodType.AddMilliseconds: if (p = this.get_category(m[1]), (p < 2 || p > 7) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "AddMilliseconds", "1", this.getTypeName(m[1]), "double"), 2 == m.length) return m[0].addMilliseconds(o.toNumber(m[1])); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "AddMilliseconds", (m.length - 1).toString()); break; case r.StiMethodType.AddMinutes: if (p = this.get_category(m[1]), (p < 2 || p > 7) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "AddMinutes", "1", this.getTypeName(m[1]), "double"), 2 == m.length) return m[0].addMinutes(o.toNumber(m[1])); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "AddMinutes", (m.length - 1).toString()); break; case r.StiMethodType.AddMonths: if (p = this.get_category(m[1]), (p < 4 || p > 7) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "AddMonths", "1", this.getTypeName(m[1]), "int"), 2 == m.length) return m[0].addMonths(o.toNumber(m[1])); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "AddMonths", (m.length - 1).toString()); break; case r.StiMethodType.AddSeconds: if (p = this.get_category(m[1]), (p < 2 || p > 7) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "AddSeconds", "1", this.getTypeName(m[1]), "double"), 2 == m.length) return m[0].addSeconds(o.toNumber(m[1])); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "AddSeconds", (m.length - 1).toString()); break; case r.StiMethodType.AddYears: if (p = this.get_category(m[1]), (p < 4 || p > 7) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "AddYears", "1", this.getTypeName(m[1]), "int"), 2 == m.length) return m[0].addYears(o.toNumber(m[1])); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "AddYears", (m.length - 1).toString()); break; case r.StiMethodType.ToShortDateString: if (1 == d) return m[0].toShortDateString(); break } } if (null != h && h.stimulsoft.is(l)) switch (g) { case r.StiMethodType.Add: if (m[1].stimulsoft.is(l) || this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Add", "1", this.getTypeName(m[1]), "TimeSpan"), 2 == m.length) return m[0].add2(m[1]); this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "Add", (m.length - 1).toString()); break } if (null != h && h.stimulsoft.is(u)) { switch (a.parse(r.StiMethodType, c.toString())) { case r.StiMethodType.GetCurrentConditionValue: return m[0].getCurrentConditionValue() } } var A = null == h ? "null" : m[0].stimulsoft.getType().fullName; return this.throwError(i.ParserErrorCode.ItemDoesNotContainDefinition, null, A, a.getName(r.StiMethodType, c.stimulsoft.toNumber())), null } , m }(i.StiParser_AsmProperties); i.StiParser_AsmMethods = c }(i = r.StiParser || (r.StiParser = {})) }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.DateTime , n = t.System.TimeSpan , o = t.System.Globalization.CalendarWeekRule , a = t.System.DayOfWeek , s = function() { function s() {} return s.create = function() { 0 == s.isCreated && (r.StiFunctions.addFunction("Date", "", "DateDiff", "Returns a number of time intervals between two specified dates.", "Stimulsoft.Report.Dictionary.StiFunctionsDate", t.System.TimeSpan, "A TimeSpan value.", [t.System.DateTime, t.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", t.System.Int64, "An integer value.", [t.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", t.System.Int64, "An integer value.", [t.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", t.System.Int64, "An integer value.", [t.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", t.System.Int64, "An integer value.", [t.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", t.System.Int64, "An integer value.", [t.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", t.System.Int64, "A integer value.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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", t.System.Int64, "A day of the year.", [t.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", t.System.Int64, "The number of days in the specified month and year.", [t.System.Int64, t.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", t.System.Int64, "The number of days in the specified month.", [t.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", t.System.Int64, "The number of days in the specified year.", [t.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", t.System.Int64, "The number of days in the specified year.", [t.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", t.System.DateTime, "DateTime value.", [t.System.Int64, t.System.Int64, t.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", t.System.TimeSpan, "TimeSpan value.", [t.System.Int64, t.System.Int64, t.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", t.System.Int64, "The week of the year.", [t.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", t.System.Int64, "The week of the year.", [t.System.DateTime, t.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", t.System.Int64, "The week of the year.", [t.System.DateTime, t.System.Int, t.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", t.System.Int64, "The week of the month.", [t.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", t.System.Int64, "The week of the month.", [t.System.DateTime, t.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", t.System.Int64, "The week of the month.", [t.System.DateTime, t.System.Int, t.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."]), s.isCreated = !0) } , s.dateDiff = function(t, e) { return t.subtract(e) } , s.year = function(t) { return null != t ? t.year : 0 } , s.month = function(t) { return null != t ? t.month : 0 } , s.hour = function(t) { return null != t ? t.hour : 0 } , s.minute = function(t) { return null != t ? t.minute : 0 } , s.second = function(t) { return null != t ? t.second : 0 } , s.day = function(t) { return null != t ? t.day : 0 } , s.dayOfWeek = function(t, r, i) { return void 0 === r && (r = null), void 0 === i && (i = null), null != r && r.stimulsoft.is(Boolean) ? e.Func.DayOfWeekToStr.dayOfWeek(t, r.stimulsoft.toBoolean()) : e.Func.DayOfWeekToStr.dayOfWeek(t, r, i) } , s.monthName = function(t, r, i) { return void 0 === r && (r = null), void 0 === i && (i = null), null != r && r.stimulsoft.is(Boolean) ? e.Func.MonthToStr.monthName(t, r.stimulsoft.toBoolean()) : e.Func.MonthToStr.monthName(t, r, i) } , s.dayOfYear = function(t) { return +t.dayOfYear } , s.dateSerial = function(t, e, r) { return new i(new Date(t,e,r)) } , s.timeSerial = function(t, e, r) { return new n(t,e,r) } , s.daysInMonth = function(t, e) { if (t.stimulsoft.is(i)) { var r = t.stimulsoft.as(i); return +i.daysInMonth(r.year, r.month) } return +i.daysInMonth(+t, e) } , s.daysInYear = function(t) { var e; if (t.stimulsoft.is(i)) { e = t.stimulsoft.as(i).year } else e = +t; return +(i.isLeapYear(e) ? 366 : 365) } , s.weekOfYear = function(e, r, i) { return void 0 === r && (r = a.Monday), void 0 === i && (i = o.FirstDay), t.System.Globalization.Calendar.getWeekOfYear(e, i, r) } , s.weekOfMonth = function(e, r, i) { return void 0 === r && (r = a.Monday), void 0 === i && (i = o.FirstDay), t.System.Globalization.Calendar.getWeekOfMonth(e, i, r) } , s.isCreated = !1, s }(); r.StiFunctionsDate = s }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.StiString , o = t.Report.Dictionary.StiFunctions , a = t.System.Type , s = t.System.Convert , l = t.System.DateTime , u = t.System.TimeSpan , c = t.System.Data.DBNull , m = t.System.Collections.List , p = t.Report.Dictionary.StiFunctionsDate , h = function(h) { function d() { return null !== h && h.apply(this, arguments) || this } return __extends(d, h), d.prototype.call_func = function(h, d) { var g, f, S, A, y, w, b, v, C = h, E = this.checkParserMethodInfo(C, d); switch (C) { case r.StiFunctionType.Count: return t.Report.Totals.count(d[0], this.report, null); case r.StiFunctionType.CountDistinct: return t.Report.Totals.countDistinct(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.Avg: case r.StiFunctionType.AvgD: case r.StiFunctionType.AvgI: return t.Report.Totals.avg(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.AvgDate: return t.Report.Totals.avgDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.AvgTime: return t.Report.Totals.avgTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.Max: case r.StiFunctionType.MaxD: case r.StiFunctionType.MaxI: return t.Report.Totals.max(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.MaxDate: return t.Report.Totals.maxDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.MaxStr: return t.Report.Totals.maxStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.MaxTime: return t.Report.Totals.maxTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.Median: case r.StiFunctionType.MedianD: return t.Report.Totals.median(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.Min: case r.StiFunctionType.MinD: case r.StiFunctionType.MinI: return t.Report.Totals.min(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.MinDate: return t.Report.Totals.minDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.MinStr: return t.Report.Totals.minStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.MinTime: return t.Report.Totals.minTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.Mode: case r.StiFunctionType.ModeD: case r.StiFunctionType.ModeI: return t.Report.Totals.mode(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.Sum: case r.StiFunctionType.SumD: case r.StiFunctionType.SumI: return t.Report.Totals.sum(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.SumDistinct: var B = new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)); return t.Report.Totals.sumDistinct(B, this.report, null); case r.StiFunctionType.SumTime: return t.Report.Totals.sumTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.First: return t.Report.Totals.first(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.Last: return t.Report.Totals.last(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pCount: return t.Report.Totals.cCount(d[0], this.report, null); case r.StiFunctionType.pCountDistinct: return t.Report.Totals.cCountDistinct(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pAvg: case r.StiFunctionType.pAvgD: case r.StiFunctionType.pAvgI: return t.Report.Totals.cAvg(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pAvgDate: return t.Report.Totals.cAvgDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pAvgTime: return t.Report.Totals.cAvgTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pMax: case r.StiFunctionType.pMaxD: case r.StiFunctionType.pMaxI: return t.Report.Totals.cMax(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pMaxDate: return t.Report.Totals.cMaxDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pMaxStr: return t.Report.Totals.cMaxStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pMaxTime: return t.Report.Totals.cMaxTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pMedian: case r.StiFunctionType.pMedianD: case r.StiFunctionType.pMedianI: return t.Report.Totals.cMedian(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pMin: case r.StiFunctionType.pMinD: case r.StiFunctionType.pMinI: return t.Report.Totals.cMin(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pMinDate: return t.Report.Totals.cMinDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pMinStr: return t.Report.Totals.cMinStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pMinTime: return t.Report.Totals.cMinTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pMode: case r.StiFunctionType.pModeD: case r.StiFunctionType.pModeI: return t.Report.Totals.cMode(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pSum: case r.StiFunctionType.pSumD: case r.StiFunctionType.pSumI: return t.Report.Totals.cSum(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pSumDistinct: return t.Report.Totals.cSum(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pSumTime: return t.Report.Totals.cSumTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pFirst: return t.Report.Totals.cFirst(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.pLast: return t.Report.Totals.cLast(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prCount: return t.Report.Totals.cCountRunning(d[0], this.report, null); case r.StiFunctionType.prCountDistinct: return t.Report.Totals.cCountDistinctRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prAvg: case r.StiFunctionType.prAvgD: case r.StiFunctionType.prAvgI: return t.Report.Totals.cAvgRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prAvgDate: return t.Report.Totals.cAvgDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prAvgTime: return t.Report.Totals.cAvgTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prMax: case r.StiFunctionType.prMaxD: case r.StiFunctionType.prMaxI: return t.Report.Totals.cMaxRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prMaxDate: return t.Report.Totals.cMaxDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prMaxStr: return t.Report.Totals.cMaxStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prMaxTime: return t.Report.Totals.cMaxTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prMedian: case r.StiFunctionType.prMedianD: case r.StiFunctionType.prMedianI: return t.Report.Totals.cMedianRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prMin: case r.StiFunctionType.prMinD: case r.StiFunctionType.prMinI: return t.Report.Totals.cMinRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prMinDate: return t.Report.Totals.cMinDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prMinStr: return t.Report.Totals.cMinStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prMinTime: return t.Report.Totals.cMinTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prMode: case r.StiFunctionType.prModeD: case r.StiFunctionType.prModeI: return t.Report.Totals.cModeRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prSum: case r.StiFunctionType.prSumD: case r.StiFunctionType.prSumI: return t.Report.Totals.cSumRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prSumDistinct: return t.Report.Totals.cSum(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prSumTime: return t.Report.Totals.cSumTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prFirst: return t.Report.Totals.cFirstRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.prLast: return t.Report.Totals.cLastRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case r.StiFunctionType.iCount: return t.Report.Totals.count(new i.StiParserData(d[0],null,this.stimulsoft.as(i.StiParser),d[1]), this.report, null); case r.StiFunctionType.iCountDistinct: return t.Report.Totals.countDistinct(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iAvg: case r.StiFunctionType.iAvgD: case r.StiFunctionType.iAvgI: return t.Report.Totals.avg(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iAvgDate: return t.Report.Totals.avgDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iAvgTime: return t.Report.Totals.avgTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iMax: case r.StiFunctionType.iMaxD: case r.StiFunctionType.iMaxI: return t.Report.Totals.max(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iMaxDate: return t.Report.Totals.maxDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iMaxStr: return t.Report.Totals.maxStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iMaxTime: return t.Report.Totals.maxTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iMedian: case r.StiFunctionType.iMedianD: case r.StiFunctionType.iMedianI: return t.Report.Totals.median(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iMin: case r.StiFunctionType.iMinD: case r.StiFunctionType.iMinI: return t.Report.Totals.min(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iMinDate: return t.Report.Totals.minDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iMinStr: return t.Report.Totals.minStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iMinTime: return t.Report.Totals.minTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iMode: case r.StiFunctionType.iModeD: case r.StiFunctionType.iModeI: return t.Report.Totals.mode(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iSum: case r.StiFunctionType.iSumD: case r.StiFunctionType.iSumI: return t.Report.Totals.sum(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iSumDistinct: return t.Report.Totals.sumDistinct(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iSumTime: return t.Report.Totals.sumTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iFirst: return t.Report.Totals.first(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.iLast: return t.Report.Totals.last(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piCount: return t.Report.Totals.cCount(new i.StiParserData(d[0],null,this.stimulsoft.as(i.StiParser),d[1]), this.report, null); case r.StiFunctionType.piCountDistinct: return t.Report.Totals.cCountDistinct(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piAvg: case r.StiFunctionType.piAvgD: case r.StiFunctionType.piAvgI: return t.Report.Totals.cAvg(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piAvgDate: return t.Report.Totals.cAvgDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piAvgTime: return t.Report.Totals.cAvgTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piMax: case r.StiFunctionType.piMaxD: case r.StiFunctionType.piMaxI: return t.Report.Totals.cMax(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piMaxDate: return t.Report.Totals.cMaxDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piMaxStr: return t.Report.Totals.cMaxStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piMaxTime: return t.Report.Totals.cMaxTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piMedian: case r.StiFunctionType.piMedianD: case r.StiFunctionType.piMedianI: return t.Report.Totals.cMedian(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piMin: case r.StiFunctionType.piMinD: case r.StiFunctionType.piMinI: return t.Report.Totals.cMin(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piMinDate: return t.Report.Totals.cMinDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piMinStr: return t.Report.Totals.cMinStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piMinTime: return t.Report.Totals.cMinTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piMode: case r.StiFunctionType.piModeD: case r.StiFunctionType.piModeI: return t.Report.Totals.cMode(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piSum: case r.StiFunctionType.piSumD: case r.StiFunctionType.piSumI: return t.Report.Totals.cSum(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piSumDistinct: return t.Report.Totals.cSum(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piSumTime: return t.Report.Totals.cSumTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piFirst: return t.Report.Totals.cFirst(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.piLast: return t.Report.Totals.cLast(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priCount: return t.Report.Totals.cCountRunning(new i.StiParserData(d[0],null,this.stimulsoft.as(i.StiParser),d[1]), this.report, null); case r.StiFunctionType.priCountDistinct: return t.Report.Totals.cCountDistinctRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priAvg: case r.StiFunctionType.priAvgD: case r.StiFunctionType.priAvgI: return t.Report.Totals.cAvgRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priAvgDate: return t.Report.Totals.cAvgDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priAvgTime: return t.Report.Totals.cAvgTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priMax: case r.StiFunctionType.priMaxD: case r.StiFunctionType.priMaxI: return t.Report.Totals.cMaxRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priMaxDate: return t.Report.Totals.cMaxDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priMaxStr: return t.Report.Totals.cMaxStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priMaxTime: return t.Report.Totals.cMaxTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priMedian: case r.StiFunctionType.priMedianD: case r.StiFunctionType.priMedianI: return t.Report.Totals.cMedianRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priMin: case r.StiFunctionType.priMinD: case r.StiFunctionType.priMinI: return t.Report.Totals.cMinRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priMinDate: return t.Report.Totals.cMinDate(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priMinStr: return t.Report.Totals.cMinStr(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priMinTime: return t.Report.Totals.cMinTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priMode: case r.StiFunctionType.priModeD: case r.StiFunctionType.priModeI: return t.Report.Totals.cModeRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priSum: case r.StiFunctionType.priSumD: case r.StiFunctionType.priSumI: return t.Report.Totals.cSumRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priSumDistinct: return t.Report.Totals.cSum(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priSumTime: return t.Report.Totals.cSumTime(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priFirst: return t.Report.Totals.cFirstRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.priLast: return t.Report.Totals.cLastRunning(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser),d[2]), this.report, null); case r.StiFunctionType.Rank: switch (E) { case 1: return e.Totals.rank(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null); case 2: return e.Totals.rank(new i.StiParserData(d[0],d[1],this.stimulsoft.as(i.StiParser)), this.report, null, !!d[2], +d[3]) } break; case r.StiFunctionType.CountAllLevels: return t.Report.Totals.countAllLevels(d[0]); case r.StiFunctionType.CountAllLevelsOnlyChilds: return t.Report.Totals.countAllLevelsOnlyChilds(d[0]); case r.StiFunctionType.CountOnlyChilds: return t.Report.Totals.countOnlyChilds(d[0]); case r.StiFunctionType.Abs: if ((b = this.get_category(d[0])) <= 1 || b >= 8) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Abs", "1", this.getTypeName(d[0]), "double"); else if (2 == b || 3 == b) return Math.abs(+d[0]); return Math.abs(+d[0]); case r.StiFunctionType.Acos: return b = this.get_category(d[0]), (b <= 1 || b >= 8) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Acos", "1", this.getTypeName(d[0]), "double"), Math.acos(+d[0]); case r.StiFunctionType.Asin: return b = this.get_category(d[0]), (b <= 1 || b >= 8) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Asin", "1", this.getTypeName(d[0]), "double"), Math.asin(+d[0]); case r.StiFunctionType.Atan: return b = this.get_category(d[0]), (b <= 1 || b >= 8) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Atan", "1", this.getTypeName(d[0]), "double"), Math.atan(+d[0]); case r.StiFunctionType.Ceiling: if ((b = this.get_category(d[0])) <= 1 || b >= 8) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Ceiling", "1", this.getTypeName(d[0]), "double"); else if (2 == b) return Math.ceil(+d[0]); return Math.ceil(+d[0]); case r.StiFunctionType.Cos: return b = this.get_category(d[0]), (b <= 1 || b >= 8) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Cos", "1", this.getTypeName(d[0]), "double"), Math.cos(+d[0]); case r.StiFunctionType.Div: if (b = this.get_category(d[0]), v = this.get_category(d[1]), b <= 1 || b >= 8) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Div", "1", this.getTypeName(d[0]), "double"); else if (v <= 1 || v >= 8) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Div", "2", this.getTypeName(d[1]), "double"); else { if (3 == d.length) { if (2 == b) { if (0 == +d[1]) return +d[2]; return +d[0] / +d[1] } if (0 == +d[1]) return +d[2]; return +d[0] / +d[1] } if (2 == d.length) { if (0 == d[1].stimulsoft.toNumber()) throw new Error("DivideByZeroException: Attempt to divide by zero."); return +d[0] / +d[1] } } this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "Div", d.length.toString()); break; case r.StiFunctionType.Exp: return b = this.get_category(d[0]), (b <= 1 || b >= 8) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Exp", "1", this.getTypeName(d[0]), "double"), Math.exp(+d[0]); case r.StiFunctionType.Floor: if (b = this.get_category(d[0]), (b <= 1 || b > 4) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Floor", "1", this.getTypeName(d[0]), "double"), 2 == b) return Math.floor(+d[0]); return Math.floor(+d[0]); case r.StiFunctionType.Log: return b = this.get_category(d[0]), (b <= 1 || b >= 8) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Log", "1", this.getTypeName(d[0]), "double"), Math.log(+d[0]); case r.StiFunctionType.Maximum: if (2 != d.length && this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "Maximum", d.length.toString()), b = this.get_category(d[0]), v = this.get_category(d[1]), b <= 1 || b >= 8) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Maximum", "1", this.getTypeName(d[0]), "double"); else if (v <= 1 || v >= 8) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Maximum", "2", this.getTypeName(d[1]), "double"); else { if (2 == b) return Math.max(+d[0], +d[1]); if (3 == b) return Math.max(+d[0], +d[1]) } return Math.max(+d[0], +d[1]); case r.StiFunctionType.Minimum: if (2 != d.length && this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "Minimum", d.length.toString()), b = this.get_category(d[0]), v = this.get_category(d[1]), b <= 1 || b >= 8) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Minimum", "1", this.getTypeName(d[0]), "double"); else if (v <= 1 || v >= 8) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Minimum", "2", this.getTypeName(d[1]), "double"); else { if (2 == b) return Math.min(+d[0], +d[1]); if (3 == b) return Math.min(+d[0], +d[1]) } return Math.min(+d[0], +d[1]); case r.StiFunctionType.Round: if ((b = this.get_category(d[0])) <= 1 || b > 4) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Round", "1", this.getTypeName(d[0]), "double"); else { if (1 == d.length) return Math.round2(+d[0]); if (2 == d.length) return v = this.get_category(d[1]), (v < 4 || v > 7) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Round", "2", this.getTypeName(d[1]), "int"), Math.round2(+d[0], +d[1]) } this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "Round", d.length.toString()); break; case r.StiFunctionType.Sign: if ((b = this.get_category(d[0])) <= 1 || b >= 8) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Sign", "1", this.getTypeName(d[0]), "double"); else { if (2 == b) return Math.sign(+d[0]); if (3 == b) return Math.sign(+d[0]) } return Math.sign(d[0]); case r.StiFunctionType.Sin: return b = this.get_category(+d[0]), (b <= 1 || b >= 8) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Sin", "1", this.getTypeName(d[0]), "double"), Math.sin(+d[0]); case r.StiFunctionType.Sqrt: return b = this.get_category(+d[0]), (b <= 1 || b >= 8) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Sqrt", "1", this.getTypeName(d[0]), "double"), Math.sqrt(+d[0]); case r.StiFunctionType.Tan: return b = this.get_category(+d[0]), (b <= 1 || b >= 8) && this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Tan", "1", this.getTypeName(d[0]), "double"), Math.tan(+d[0]); case r.StiFunctionType.Truncate: if ((b = this.get_category(+d[0])) <= 1 || b > 4) this.throwError(i.ParserErrorCode.FunctionHasInvalidArgument, null, "Truncate", "1", this.getTypeName(d[0]), "double"); else if (2 == b) return Math.trunc(+d[0]); return Math.trunc(+d[0]); case r.StiFunctionType.DateDiff: if (1 == E || 2 == E) return s.toDateTime(d[0]).subtract(s.toDateTime(d[1])); break; case r.StiFunctionType.DateSerial: if (1 == E) return new l(l.ticksNetToTicksJs(d[0].stimulsoft.toNumber())); if (2 == E) return new l(d[0].stimulsoft.toNumber(),d[1].stimulsoft.toNumber(),d[2].stimulsoft.toNumber(),0,0,0,0); break; case r.StiFunctionType.TimeSerial: if (1 == E) return new u(s.toInt32(d[0]),s.toInt32(d[1]),s.toInt32(d[2])); break; case r.StiFunctionType.Year: if (1 == E || 2 == E) return s.toDateTime(d[0]).year; break; case r.StiFunctionType.Month: if (1 == E || 2 == E) return s.toDateTime(d[0]).month; break; case r.StiFunctionType.Day: if (1 == E || 2 == E) return s.toDateTime(d[0]).day; break; case r.StiFunctionType.Hour: if (1 == E || 2 == E) return s.toDateTime(d[0]).hour; break; case r.StiFunctionType.Minute: if (1 == E || 2 == E) return s.toDateTime(d[0]).minute; break; case r.StiFunctionType.Second: if (1 == E || 2 == E) return s.toDateTime(d[0]).second; break; case r.StiFunctionType.DayOfWeek: switch (E) { case 1: return p.dayOfWeek(s.toDateTime(d[0])); case 3: return p.dayOfWeek(s.toDateTime(d[0]), d[1].stimulsoft.toBoolean()); case 5: return p.dayOfWeek(s.toDateTime(d[0]), d[1]); case 7: return p.dayOfWeek(s.toDateTime(d[0]), d[1], d[2].stimulsoft.toBoolean()) } break; case r.StiFunctionType.DayOfYear: if (1 == E || 2 == E) return s.toDateTime(d[0]).dayOfYear.toString(); break; case r.StiFunctionType.DaysInMonth: switch (E) { case 1: return l.daysInMonth(s.toDateTime(d[0]).year, s.toDateTime(d[0]).month); case 3: return l.daysInMonth(s.toInt32(d[0]), s.toInt32(d[1])) } break; case r.StiFunctionType.DaysInYear: switch (E) { case 1: return l.isLeapYear(s.toDateTime(d[0]).year) ? 366 : 365; case 3: return l.isLeapYear(s.toInt32(d[0])) ? 366 : 365 } break; case r.StiFunctionType.MonthName: switch (E) { case 1: return p.monthName(s.toDateTime(d[0])); case 3: return p.monthName(s.toDateTime(d[0]), d[1]); case 5: return p.monthName(s.toDateTime(d[0]), d[1]); case 7: return p.monthName(s.toDateTime(d[0]), d[1], d[2]) } break; case r.StiFunctionType.WeekOfYear: switch (E) { case 1: return p.weekOfYear(s.toDateTime(d[0])); case 3: return p.weekOfYear(s.toDateTime(d[0]), d[1]); case 5: return p.weekOfYear(s.toDateTime(d[0]), d[1], d[2]) } break; case r.StiFunctionType.WeekOfMonth: switch (E) { case 1: return p.weekOfMonth(s.toDateTime(d[0])); case 3: return p.weekOfMonth(s.toDateTime(d[0]), d[1]); case 5: return p.weekOfMonth(s.toDateTime(d[0]), d[1], d[2]) } break; case r.StiFunctionType.Insert: return b = this.get_category(d[0]), b = this.get_category(d[1]), b = this.get_category(d[2]), s.toString(d[0]).stimulsoft.insert(s.toNumber(d[1]), s.toString(d[2]), 0); case r.StiFunctionType.Length: return b = this.get_category(d[0]), s.toString(d[0]).length; case r.StiFunctionType.Remove: return b = this.get_category(d[0]), b = this.get_category(d[1]), b = this.get_category(d[2]), s.toString(d[0]).stimulsoft.remove(s.toNumber(d[1]), s.toNumber(d[2])); case r.StiFunctionType.Replace: return b = this.get_category(d[0]), b = this.get_category(d[1]), b = this.get_category(d[2]), s.toString(d[0]).stimulsoft.replaceAll(s.toString(d[1]), s.toString(d[2])); case r.StiFunctionType.Roman: if ((b = this.get_category(d[0])) >= 4 && b <= 7) return e.Dictionary.StiFunctionsStrings.roman(s.toNumber(d[0])); break; case r.StiFunctionType.Substring: return b = this.get_category(d[0]), b = this.get_category(d[1]), b = this.get_category(d[2]), s.toString(d[0]).substr(s.toNumber(d[1]), s.toNumber(d[2])); case r.StiFunctionType.ToLowerCase: return b = this.get_category(d[0]), s.toString(d[0]).toLowerCase(); case r.StiFunctionType.ToProperCase: return b = this.get_category(d[0]), s.toString(d[0]); case r.StiFunctionType.ToUpperCase: return b = this.get_category(d[0]), s.toString(d[0]).toUpperCase(); case r.StiFunctionType.Trim: return b = this.get_category(d[0]), s.toString(d[0]).trim(); case r.StiFunctionType.TryParseDecimal: return b = this.get_category(d[0]), !isNaN(s.toNumber(d[0])); case r.StiFunctionType.TryParseDouble: return b = this.get_category(d[0]), !isNaN(s.toNumber(d[0])); case r.StiFunctionType.TryParseLong: return b = this.get_category(d[0]), !isNaN(s.toNumber(d[0])); case r.StiFunctionType.Arabic: if (1 == (b = this.get_category(d[0]))) return e.Dictionary.StiFunctionsStrings.arabic(s.toString(d[0])); if (b >= 4 && b <= 7) return e.Dictionary.StiFunctionsStrings.arabic(s.toNumber(d[0])); break; case r.StiFunctionType.Persian: if (1 == (b = this.get_category(d[0]))) return e.Dictionary.StiFunctionsStrings.persian(s.toString(d[0])); if (b >= 4 && b <= 7) return e.Dictionary.StiFunctionsStrings.persian(s.toNumber(d[0])); break; case r.StiFunctionType.ToOrdinal: if ((b = this.get_category(d[0])) >= 4 && b <= 7) return e.Dictionary.StiFunctionsStrings.toOrdinal(s.toNumber(d[0])); break; case r.StiFunctionType.Left: if (1 == E) return e.Dictionary.StiFunctionsStrings.left(s.toString(d[0]), s.toNumber(d[1])); break; case r.StiFunctionType.Right: if (1 == E) return e.Dictionary.StiFunctionsStrings.right(s.toString(d[0]), s.toNumber(d[1])); break; case r.StiFunctionType.Mid: if (1 == E) return e.Dictionary.StiFunctionsStrings.mid(s.toString(d[0]), s.toNumber(d[1]), s.toNumber(d[2])); break; case r.StiFunctionType.ToWords: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.toWords(s.toNumber(d[0])); case 4: return e.Dictionary.StiFunctionsStrings.toWords(s.toNumber(d[0]), s.toBoolean(d[1])) } break; case r.StiFunctionType.ToWordsEs: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.toWordsEs(s.toNumber(d[0]), s.toBoolean(d[1])); case 2: return e.Dictionary.StiFunctionsStrings.toWordsEs2(s.toNumber(d[0]), s.toBoolean(d[1]), s.toBoolean(d[2])) } break; case r.StiFunctionType.ToWordsEnIn: return e.Dictionary.StiFunctionsStrings.toWordsEnIn(s.toNumber(d[0]), s.toBoolean(d[1])); case r.StiFunctionType.ToWordsFa: return e.Dictionary.StiFunctionsStrings.toWordsFa(s.toNumber(d[0])); case r.StiFunctionType.ToWordsPl: return e.Dictionary.StiFunctionsStrings.toWordsPl(s.toNumber(d[0]), s.toBoolean(d[1])); case r.StiFunctionType.ToWordsPt: return e.Dictionary.StiFunctionsStrings.toWordsPt(s.toNumber(d[0]), s.toBoolean(d[1])); case r.StiFunctionType.ToWordsRu: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.toWordsRu(s.toNumber(d[0])); case 4: return e.Dictionary.StiFunctionsStrings.toWordsRu(s.toNumber(d[0]), s.toBoolean(d[1])) } break; case r.StiFunctionType.ToWordsTr: return e.Dictionary.StiFunctionsStrings.toWordsTr(s.toNumber(d[0])); case r.StiFunctionType.ToWordsUa: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.toWordsUa(s.toNumber(d[0])); case 4: return e.Dictionary.StiFunctionsStrings.toWordsUa(s.toNumber(d[0]), s.toBoolean(d[1])) } break; case r.StiFunctionType.ToCurrencyWords: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.toCurrencyWords(s.toNumber(d[0]), !0, !0); case 4: return e.Dictionary.StiFunctionsStrings.toCurrencyWords(s.toNumber(d[0]), !0, s.toBoolean(d[1])); case 7: return e.Dictionary.StiFunctionsStrings.toCurrencyWords(s.toNumber(d[0]), s.toBoolean(d[1]), s.toBoolean(d[2])); case 10: return e.Dictionary.StiFunctionsStrings.toCurrencyWords(s.toNumber(d[0]), s.toBoolean(d[1]), s.toBoolean(d[2]), s.toString(d[3]), s.toString(d[4])) } break; case r.StiFunctionType.ToCurrencyWordsEnGb: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsEnGb(s.toNumber(d[0]), s.toString(d[1]), s.toNumber(d[2])); case r.StiFunctionType.ToCurrencyWordsEnIn: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsEnIn(s.toString(d[0]), s.toString(d[1]), s.toNumber(d[2]), s.toNumber(d[3]), s.toBoolean(d[4])); case r.StiFunctionType.ToCurrencyWordsEs: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsEs(s.toNumber(d[0]), s.toString(d[1]), s.toNumber(d[2])); case r.StiFunctionType.ToCurrencyWordsFr: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsFr(s.toNumber(d[0]), s.toString(d[1]), s.toNumber(d[2])); case r.StiFunctionType.ToCurrencyWordsNl: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsNl(s.toNumber(d[0]), s.toString(d[1]), s.toNumber(d[2])); case r.StiFunctionType.ToCurrencyWordsPl: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsPl(s.toNumber(d[0]), s.toString(d[1]), s.toBoolean(d[2]), s.toBoolean(d[3])); case r.StiFunctionType.ToCurrencyWordsPt: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsPt(s.toNumber(d[0]), s.toBoolean(d[1]), s.toBoolean(d[2])); case r.StiFunctionType.ToCurrencyWordsPtBr: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsPtBr(s.toNumber(d[0])); case r.StiFunctionType.ToCurrencyWordsRu: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(s.toNumber(d[0])); case 4: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(s.toNumber(d[0]), !0, "RUR", s.toBoolean(d[1])); case 7: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(s.toNumber(d[0]), !0, s.toString(d[2]), s.toBoolean(d[1])); case 10: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(s.toNumber(d[0]), s.toBoolean(d[2]), s.toString(d[1]), !0) } break; case r.StiFunctionType.ToCurrencyWordsThai: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsThai(s.toNumber(d[0])) } break; case r.StiFunctionType.ToCurrencyWordsTr: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsTr(s.toNumber(d[0])); case 2: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsTr2(s.toNumber(d[0]), s.toString(d[1]), s.toBoolean(d[2])) } break; case r.StiFunctionType.ToCurrencyWordsUa: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsUa(s.toNumber(d[0])); case 4: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsUa(s.toNumber(d[0]), !0, "UAH", s.toBoolean(d[1])); case 7: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsUa(s.toNumber(d[0]), !0, s.toString(d[2]), s.toBoolean(d[1])) } break; case r.StiFunctionType.ToCurrencyWordsZh: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.toCurrencyWordsZh(s.toNumber(d[0])) } break; case r.StiFunctionType.DateToStr: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.dateToStr(s.toDateTime(d[0])); case 3: return e.Dictionary.StiFunctionsStrings.dateToStr(s.toDateTime(d[0]), s.toBoolean(d[1])) } break; case r.StiFunctionType.DateToStrPl: return e.Dictionary.StiFunctionsStrings.dateToStrPl(s.toDateTime(d[0]), s.toBoolean(d[1])); case r.StiFunctionType.DateToStrRu: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.dateToStrRu(s.toDateTime(d[0])); case 2: return e.Dictionary.StiFunctionsStrings.dateToStrRu(s.toDateTime(d[0]), s.toBoolean(d[1])) } break; case r.StiFunctionType.DateToStrUa: switch (E) { case 1: return e.Dictionary.StiFunctionsStrings.dateToStrUa(s.toDateTime(d[0])); case 2: return e.Dictionary.StiFunctionsStrings.dateToStrUa(s.toDateTime(d[0]), s.toBoolean(d[1])) } break; case r.StiFunctionType.DateToStrPt: return e.Dictionary.StiFunctionsStrings.DateToStrPt(s.toDateTime(d[0])); case r.StiFunctionType.DateToStrPtBr: return e.Dictionary.StiFunctionsStrings.dateToStrPtBr(s.toDateTime(d[0])); case r.StiFunctionType.StringIsNullOrEmpty: if (1 == E) return n.isNullOrEmpty(s.toString(d[0])); break; case r.StiFunctionType.StringIsNullOrWhiteSpace: if (1 == E) return n.isNullOrWhiteSpace(s.toString(d[0])); break; case r.StiFunctionType.StrToNullableDateTime: if (1 == E) { var T = { ref: null }; return t.Base.StringExt.tryParseDateTime(s.toString(d[0]), T) ? T.ref : null } break; case r.StiFunctionType.IsNull: if (1 == E) return e.Dictionary.StiFunctionsPrintState.isNull(d[0], s.toString(d[1])); break; case r.StiFunctionType.Next: if (1 == E) return e.Dictionary.StiFunctionsPrintState.next(d[0], s.toString(d[1])); break; case r.StiFunctionType.NextIsNull: if (1 == E) return e.Dictionary.StiFunctionsPrintState.nextIsNull(d[0], s.toString(d[1])); break; case r.StiFunctionType.Previous: if (1 == E) return e.Dictionary.StiFunctionsPrintState.previous(d[0], s.toString(d[1])); break; case r.StiFunctionType.PreviousIsNull: if (1 == E) return e.Dictionary.StiFunctionsPrintState.previousIsNull(d[0], s.toString(d[1])); break; case r.StiFunctionType.IIF: return s.toBoolean(d[0]) ? d[1] : d[2]; case r.StiFunctionType.Choose: b = this.get_category(d[0]); var I = s.toNumber(d[0]); if (I > 0 && I < d.length) return d[I]; return null; case r.StiFunctionType.Switch: var x = 0; while (x + 1 < d.length) { if (s.toBoolean(d[x])) return d[x + 1]; x += 2 } return null; case r.StiFunctionType.ToString: if (null == d[0] || d[0] == c.value) return ""; if (1 == (b = this.get_category(d[0]))) return s.toString(d[0]); if (2 == b || 3 == b) { var F = s.toNumber(d[0]); return 1 == d.length ? F.toString() : n.customFormat(F, s.toString(d[1])) } if (4 == b || 6 == b) { var D = s.toNumber(d[0]); return 1 == d.length ? D.toString() : n.customFormat(D, s.toString(d[1])) } if (5 == b || 7 == b) { var R = s.toNumber(d[0]); return 1 == d.length ? R.toString() : n.customFormat(R, s.toString(d[1])) } if (8 == b) { var P = s.toDateTime(d[0]); return 1 == d.length ? P.toString() : n.format(s.toString(d[1]), P.toString) } return 8 == b ? s.toBoolean(d[0]).toString() : d[0].toString(); case r.StiFunctionType.Format: return b = this.get_category(d[0]), n.format(s.toString(d[0]), d[1]); case r.StiFunctionType.SystemConvertToBoolean: return t.System.Convert.toBoolean(d[0]); case r.StiFunctionType.SystemConvertToByte: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.SystemConvertToChar: return t.System.Convert.toString(d[0]); case r.StiFunctionType.SystemConvertToDateTime: return t.System.Convert.toDateTime(d[0]); case r.StiFunctionType.SystemConvertToDecimal: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.SystemConvertToDouble: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.SystemConvertToInt16: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.SystemConvertToInt32: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.SystemConvertToInt64: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.SystemConvertToSByte: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.SystemConvertToSingle: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.SystemConvertToString: return t.System.Convert.toString(d[0]); case r.StiFunctionType.SystemConvertToUInt16: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.SystemConvertToUInt32: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.SystemConvertToUInt64: return t.System.Convert.toNumber(d[0]); case r.StiFunctionType.MathRound: switch (E) { case 1: return Math.round2(s.toNumber(d[0])); case 2: return Math.round2(s.toNumber(d[0]), s.toNumber(d[1])); case 3: return Math.round2(s.toNumber(d[0]), s.toNumber(d[1])); case 4: return Math.round2(s.toNumber(d[0]), s.toNumber(d[1])); case 5: return Math.round2(s.toNumber(d[0])); case 6: return Math.round2(s.toNumber(d[0]), s.toNumber(d[1])); case 7: return Math.round2(s.toNumber(d[0]), s.toNumber(d[1])); case 8: return Math.round2(s.toNumber(d[0]), s.toNumber(d[1])) } break; case r.StiFunctionType.MathPow: switch (E) { case 1: return Math.pow(s.toNumber(d[0]), s.toNumber(d[1])) } break; case r.StiFunctionType.ConvertRtf: var N = Array.create(Object, d.length); return d.copyTo(N), null; case r.StiFunctionType.GetAnchorPageNumber: switch (E) { case 1: return this.report.getAnchorPageNumber(d[0]) } break; case r.StiFunctionType.GetAnchorPageNumberThrough: switch (E) { case 1: return this.report.getAnchorPageNumberThrough(d[0]) } break; case r.StiFunctionType.ParseDateTime: switch (E) { case 1: return s.toDateTime(s.toString(d[0])) } break; case r.StiFunctionType.ParseDecimal: switch (E) { case 1: return s.toNumber(s.toString(d[0])) } break; case r.StiFunctionType.ParseDouble: switch (E) { case 1: return s.toNumber(s.toString(d[0])) } break; case r.StiFunctionType.ParseInt: switch (E) { case 1: return s.toNumber(s.toString(d[0])) } break; case r.StiFunctionType.EngineHelperJoinColumnContent: switch (E) { case 1: return e.Func.EngineHelper.joinColumnContent(d[0], s.toString(d[1]), s.toString(d[2])); case 2: return e.Func.EngineHelper.joinColumnContent(d[0], s.toString(d[1]), s.toString(d[2])); case 3: return e.Func.EngineHelper.joinColumnContent(d[0], s.toString(d[1]), s.toString(d[2]), s.toBoolean(d[3])); case 4: return e.Func.EngineHelper.joinColumnContent(d[0], s.toString(d[1]), s.toString(d[2]), s.toBoolean(d[3])) } break; case r.StiFunctionType.EngineHelperToQueryString: switch (E) { case 1: if (d[0].stimulsoft.is(m) || d[0].stimulsoft.is(Array)) try { var k = [] , M = d[0]; try { for (var O = __values(M), _ = O.next(); !_.done; _ = O.next()) { var L = _.value; k.add(L) } } catch (t) { g = { error: t } } finally { try { _ && !_.done && (f = O.return) && f.call(O) } finally { if (g) throw g.error } } return e.Func.EngineHelper.toQueryString(k, s.toString(d[1]), s.toString(d[2])) } catch (e) { t.System.StiError.showError(e, !1) } break } break } if (C >= r.StiFunctionType.rCount && C <= r.StiFunctionType.rLast || C >= r.StiFunctionType.riCount && C <= r.StiFunctionType.riLast || C >= r.StiFunctionType.cCount && C <= r.StiFunctionType.cLast || C >= r.StiFunctionType.crCount && C <= r.StiFunctionType.crLast || C >= r.StiFunctionType.ciCount && C <= r.StiFunctionType.ciLast || C >= r.StiFunctionType.criCount && r.StiFunctionType.criLast, C >= r.StiFunctionType.UserFunction) { var j = null; try { for (var H = __values(this.userFunctionsList.keys), G = H.next(); !G.done; G = H.next()) { var Q = G.value; if (this.userFunctionsList.get(Q) == C) { j = Q; break } } } catch (t) { S = { error: t } } finally { try { G && !G.done && (A = H.return) && A.call(H) } finally { if (S) throw S.error } } if (null != j) { for (var Y = d.length, U = Array.create(a, Y), J = Array.create(Object, Y), W = 0; W < Y; W++) null == d[W] ? U[W] = Object : U[W] = d[W].stimulsoft.getType(), J[W] = d[W]; var V = o.getFunctions(!1); try { for (var z = __values(V), X = z.next(); !X.done; X = z.next()) { var K = X.value; if (K.functionName != j) continue; if ((null != K.argumentTypes ? K.argumentTypes.length : 0) != Y) continue; for (var Z = !0, W = 0; W < Y; W++) { if (i.StiParser_Check.isImplicitlyCastableTo(U[W], K.argumentTypes[W])) continue; Z = !1; break } if (Z && null != K.jsFunction) return K.jsFunction.apply(null, J) } } catch (t) { y = { error: t } } finally { try { X && !X.done && (w = z.return) && w.call(z) } finally { if (y) throw y.error } } } } return null } , d }(i.StiParser_AsmMethods); i.StiParser_AsmFunctions = h }(i = r.StiParser || (r.StiParser = {})) }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = function(i) { function n() { var t = null !== i && i.apply(this, arguments) || this; return t.currentToken = null, t.asmList = null, t } return __extends(n, i), n.prototype.eval_exp = function() { if (this.tokenPos = 0, 0 == this.tokensList.length) return void this.throwError(r.ParserErrorCode.ExpressionIsEmpty); this.eval_exp0(), this.tokenPos <= this.tokensList.length && this.throwError(r.ParserErrorCode.UnprocessedLexemesRemain) } , n.prototype.eval_exp0 = function() { this.get_token(), this.eval_exp01() } , n.prototype.eval_exp01 = function() { if (this.currentToken.type == e.StiTokenType.Variable) { var t = this.currentToken; if (this.get_token(), this.currentToken.type == e.StiTokenType.Assign) return this.get_token(), this.eval_exp1(), void this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.CopyToVariable,t.value)); this.tokenPos--, this.currentToken = this.tokensList[this.tokenPos - 1] } this.eval_exp1() } , n.prototype.eval_exp1 = function() { if (this.eval_exp10(), this.currentToken.type == e.StiTokenType.Question) { this.get_token(); var t = new r.StiAsmCommand(e.StiAsmCommandType.JumpFalse,0,null); this.asmList.add(t); var i = this.asmList.length; this.eval_exp10(), this.currentToken.type != e.StiTokenType.Colon && this.throwError(r.ParserErrorCode.SyntaxError, this.currentToken); var n = new r.StiAsmCommand(e.StiAsmCommandType.Jump,0,null); this.asmList.add(n); var o = this.asmList.length; this.get_token(), this.eval_exp10(), t.parameter1 = o - i, n.parameter1 = this.asmList.length - o } } , n.prototype.eval_exp10 = function() { this.eval_exp11(); while (this.currentToken.type == e.StiTokenType.DoubleOr) this.get_token(), this.eval_exp11(), this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.Or2)) } , n.prototype.eval_exp11 = function() { this.eval_exp12(); while (this.currentToken.type == e.StiTokenType.DoubleAnd) this.get_token(), this.eval_exp12(), this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.And2)) } , n.prototype.eval_exp12 = function() { this.eval_exp14(), this.currentToken.type == e.StiTokenType.Or && (this.get_token(), this.eval_exp14(), this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.Or))) } , n.prototype.eval_exp14 = function() { this.eval_exp15(), this.currentToken.type == e.StiTokenType.Xor && (this.get_token(), this.eval_exp15(), this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.Xor))) } , n.prototype.eval_exp15 = function() { this.eval_exp16(), this.currentToken.type == e.StiTokenType.And && (this.get_token(), this.eval_exp16(), this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.And))) } , n.prototype.eval_exp16 = function() { if (this.eval_exp17(), this.currentToken.type == e.StiTokenType.Equal || this.currentToken.type == e.StiTokenType.NotEqual) { var t = new r.StiAsmCommand(e.StiAsmCommandType.CompareEqual); this.currentToken.type == e.StiTokenType.NotEqual && (t.type = e.StiAsmCommandType.CompareNotEqual), this.get_token(), this.eval_exp17(), this.asmList.add(t) } } , n.prototype.eval_exp17 = function() { if (this.eval_exp18(), this.currentToken.type == e.StiTokenType.Left || this.currentToken.type == e.StiTokenType.LeftEqual || this.currentToken.type == e.StiTokenType.Right || this.currentToken.type == e.StiTokenType.RightEqual) { var t = null; this.currentToken.type == e.StiTokenType.Left && (t = new r.StiAsmCommand(e.StiAsmCommandType.CompareLeft)), this.currentToken.type == e.StiTokenType.LeftEqual && (t = new r.StiAsmCommand(e.StiAsmCommandType.CompareLeftEqual)), this.currentToken.type == e.StiTokenType.Right && (t = new r.StiAsmCommand(e.StiAsmCommandType.CompareRight)), this.currentToken.type == e.StiTokenType.RightEqual && (t = new r.StiAsmCommand(e.StiAsmCommandType.CompareRightEqual)), this.get_token(), this.eval_exp18(), this.asmList.add(t) } } , n.prototype.eval_exp18 = function() { if (this.eval_exp2(), this.currentToken.type == e.StiTokenType.Shl || this.currentToken.type == e.StiTokenType.Shr) { var t = new r.StiAsmCommand(e.StiAsmCommandType.Shl); this.currentToken.type == e.StiTokenType.Shr && (t.type = e.StiAsmCommandType.Shr), this.get_token(), this.eval_exp2(), this.asmList.add(t) } } , n.prototype.eval_exp2 = function() { this.eval_exp3(); while (this.currentToken.type == e.StiTokenType.Plus || this.currentToken.type == e.StiTokenType.Minus) { var t = this.currentToken; this.get_token(), this.eval_exp3(), t.type == e.StiTokenType.Minus ? this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.Sub)) : t.type == e.StiTokenType.Plus && this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.Add)) } } , n.prototype.eval_exp3 = function() { this.eval_exp4(); while (this.currentToken.type == e.StiTokenType.Mult || this.currentToken.type == e.StiTokenType.Div || this.currentToken.type == e.StiTokenType.Percent) { var t = this.currentToken; this.get_token(), this.eval_exp4(), t.type == e.StiTokenType.Mult ? this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.Mult)) : t.type == e.StiTokenType.Div && this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.Div)), t.type == e.StiTokenType.Percent && this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.Mod)) } } , n.prototype.eval_exp4 = function() { this.eval_exp5() } , n.prototype.eval_exp5 = function() { var t = null; this.currentToken.type != e.StiTokenType.Plus && this.currentToken.type != e.StiTokenType.Minus && this.currentToken.type != e.StiTokenType.Not || (this.currentToken.type == e.StiTokenType.Minus && (t = new r.StiAsmCommand(e.StiAsmCommandType.Neg)), this.currentToken.type == e.StiTokenType.Not && (t = new r.StiAsmCommand(e.StiAsmCommandType.Not)), this.get_token()), this.eval_exp6(), null != t && this.asmList.add(t) } , n.prototype.eval_exp6 = function() { if (this.currentToken.type == e.StiTokenType.LParenthesis) if (this.get_token(), this.currentToken.type == e.StiTokenType.Cast) { var t = this.currentToken.valueObject; this.get_token(), this.currentToken.type != e.StiTokenType.RParenthesis && this.throwError(r.ParserErrorCode.RightParenthesisExpected), this.get_token(), this.eval_exp5(), this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.Cast,t)) } else this.eval_exp1(), this.currentToken.type != e.StiTokenType.RParenthesis && this.throwError(r.ParserErrorCode.RightParenthesisExpected), this.get_token(), this.currentToken.type == e.StiTokenType.Dot && (this.get_token(), this.eval_exp7()), this.currentToken.type == e.StiTokenType.LBracket && this.eval_exp62(); else this.eval_exp62() } , n.prototype.eval_exp62 = function() { if (this.currentToken.type == e.StiTokenType.LBracket) { var t = 0; while (0 == t || this.currentToken.type == e.StiTokenType.Comma) this.get_token(), this.eval_exp1(), t++; this.currentToken.type != e.StiTokenType.RBracket && this.throwError(r.ParserErrorCode.SyntaxError, this.currentToken), this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.PushArrayElement,t + 1)), this.get_token(), this.currentToken.type == e.StiTokenType.LBracket && this.eval_exp62(), this.currentToken.type == e.StiTokenType.Dot && (this.get_token(), this.eval_exp7()) } else this.eval_exp7() } , n.prototype.eval_exp7 = function() { this.atom(), this.currentToken.type == e.StiTokenType.Dot && (this.get_token(), this.eval_exp7()), this.currentToken.type == e.StiTokenType.LBracket && this.eval_exp62() } , n.prototype.atom = function() { if (this.currentToken.type == e.StiTokenType.Variable) return this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.PushVariable,this.currentToken.value)), void this.get_token(); if (this.currentToken.type == e.StiTokenType.SystemVariable) return this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.PushSystemVariable,r.StiParser_Properties.systemVariablesList.get(this.currentToken.value))), void this.get_token(); if (this.currentToken.type == e.StiTokenType.Function) { var t = this.currentToken , i = void 0 , n = r.StiParser_Properties.functionsList.get(t.value); i = null != n ? n : this.userFunctionsList.get(t.value); var o = new r.StiAsmCommand(e.StiAsmCommandType.PushFunction,i,this.get_args_count(i)); return o.position = this.expressionPosition + t.position, o.length = t.length, this.asmList.add(o), void this.get_token() } if (this.currentToken.type == e.StiTokenType.Method) { var a = this.currentToken , s = r.StiParser_Properties.methodsList.get(a.value); return this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.PushMethod,s,this.get_args_count(s) + 1)), void this.get_token() } if (this.currentToken.type == e.StiTokenType.Property) { var l = this.currentToken , u = r.StiParser_Properties.propertiesList.get(l.value); return null == u && (u = l.value), this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.PushProperty,u)), void this.get_token() } if (this.currentToken.type == e.StiTokenType.DataSourceField) return this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.PushDataSourceField,this.currentToken.value,this.currentToken.valueObject)), void this.get_token(); if (this.currentToken.type == e.StiTokenType.BusinessObjectField) { var o = new r.StiAsmCommand(e.StiAsmCommandType.PushBusinessObjectField,this.currentToken.value); return o.position = this.expressionPosition + this.currentToken.position, o.length = this.currentToken.length, this.asmList.add(o), void this.get_token() } if (this.currentToken.type == e.StiTokenType.Component) return this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.PushComponent,this.componentsList.get(this.currentToken.value))), void this.get_token(); if (this.currentToken.type == e.StiTokenType.Number) return this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.PushValue,this.currentToken.valueObject)), void this.get_token(); if (this.currentToken.type == e.StiTokenType.String) return this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.PushValue,this.currentToken.valueObject)), void this.get_token(); this.currentToken.type == e.StiTokenType.Empty && this.throwError(r.ParserErrorCode.UnexpectedEndOfExpression), this.throwError(r.ParserErrorCode.SyntaxError, this.currentToken) } , n.prototype.get_args_count = function(i) { var n, o, a, s, l = -1, u = !1; null != this.currentToken && (l = this.currentToken.position, u = this.currentToken.value.stimulsoft.startsWith("Totals.")); var c = this.get_args() , m = i; if ((m == e.StiFunctionType.Count || m == e.StiFunctionType.rCount || m == e.StiFunctionType.cCount || m == e.StiFunctionType.crCount || m == e.StiFunctionType.pCount || m == e.StiFunctionType.prCount) && 0 == c.length || (m >= e.StiFunctionType.CountDistinct && m <= e.StiFunctionType.Last || m >= e.StiFunctionType.rCountDistinct && m <= e.StiFunctionType.rLast || m >= e.StiFunctionType.cCountDistinct && m <= e.StiFunctionType.cLast || m >= e.StiFunctionType.crCountDistinct && m <= e.StiFunctionType.crLast || m >= e.StiFunctionType.pCountDistinct && m <= e.StiFunctionType.pLast || m >= e.StiFunctionType.prCountDistinct && m <= e.StiFunctionType.prLast) && 1 == c.length || (m == e.StiFunctionType.iCount || m == e.StiFunctionType.riCount || m == e.StiFunctionType.ciCount || m == e.StiFunctionType.criCount || m == e.StiFunctionType.piCount || m == e.StiFunctionType.priCount) && 1 == c.length || (m >= e.StiFunctionType.iCountDistinct && m <= e.StiFunctionType.iLast || m >= e.StiFunctionType.riCountDistinct && m <= e.StiFunctionType.riLast || m >= e.StiFunctionType.ciCountDistinct && m <= e.StiFunctionType.ciLast || m >= e.StiFunctionType.criCountDistinct && m <= e.StiFunctionType.criLast || m >= e.StiFunctionType.piCountDistinct && m <= e.StiFunctionType.piLast || m >= e.StiFunctionType.priCountDistinct && m <= e.StiFunctionType.priLast) && 2 == c.length) { var p = this.component.getGroupHeaderBand(); null == p && (p = this.component.getDataBand()); var h = [] , d = new r.StiAsmCommand(e.StiAsmCommandType.PushComponent,p); d.position = this.expressionPosition + l, h.add(d), c.insert(0, h) } if (!(c.length > 0 && c[0].length > 0 && c[0][0].type == e.StiAsmCommandType.PushComponent && null != c[0][0].parameter1 && c[0][0].parameter1.stimulsoft.is(t.Report.Components.StiGroupHeaderBand)) && !u && (m >= e.StiFunctionType.Count && m <= e.StiFunctionType.Last || m >= e.StiFunctionType.rCount && m <= e.StiFunctionType.rLast || m >= e.StiFunctionType.iCount && m <= e.StiFunctionType.iLast || m >= e.StiFunctionType.riCount && m <= e.StiFunctionType.riLast || m >= e.StiFunctionType.cCount && m <= e.StiFunctionType.cLast || m >= e.StiFunctionType.crCount && m <= e.StiFunctionType.crLast || m >= e.StiFunctionType.ciCount && m <= e.StiFunctionType.ciLast || m >= e.StiFunctionType.criCount && m <= e.StiFunctionType.criLast || m >= e.StiFunctionType.pCount && m <= e.StiFunctionType.pLast || m >= e.StiFunctionType.prCount && m <= e.StiFunctionType.prLast || m >= e.StiFunctionType.piCount && m <= e.StiFunctionType.piLast || m >= e.StiFunctionType.priCount && m <= e.StiFunctionType.priLast)) { var p = this.component.getGroupHeaderBand(); if (null != p) { var h = []; h.add(new r.StiAsmCommand(e.StiAsmCommandType.PushComponent,p)), c[0] = h } } if ((m >= e.StiFunctionType.pCount && m <= e.StiFunctionType.pLast || m >= e.StiFunctionType.prCount && m <= e.StiFunctionType.prLast || m >= e.StiFunctionType.piCount && m <= e.StiFunctionType.piLast || m >= e.StiFunctionType.priCount && m <= e.StiFunctionType.priLast) && c.length > 0) { var g = c[0]; if (null != g && g.length > 0 && g[0].type == e.StiAsmCommandType.PushComponent && g[0].parameter1.stimulsoft.is(t.Report.Components.StiBand)) { var f = g[0].parameter1.name; if (null == this.report.dataBandsUsedInPageTotals) this.report.dataBandsUsedInPageTotals = [], this.report.dataBandsUsedInPageTotals[0] = f; else { var S = !1; try { for (var A = __values(this.report.dataBandsUsedInPageTotals), y = A.next(); !y.done; y = A.next()) { if (y.value == f) { S = !0; break } } } catch (t) { n = { error: t } } finally { try { y && !y.done && (o = A.return) && o.call(A) } finally { if (n) throw n.error } } if (!S) { for (var w = [], b = 0; b < this.report.dataBandsUsedInPageTotals.length; b++) w[b] = this.report.dataBandsUsedInPageTotals[b]; w[this.report.dataBandsUsedInPageTotals.length] = f, this.report.dataBandsUsedInPageTotals = w } } } } var v = 0; r.StiParser_Properties.parametersList.contains(i) && (v = r.StiParser_Properties.parametersList.get(i)); var C = 1; try { for (var E = __values(c), B = E.next(); !B.done; B = E.next()) { var T = B.value; (v & C) > 0 ? this.asmList.add(new r.StiAsmCommand(e.StiAsmCommandType.PushValue,T)) : this.asmList.addRange(T), C <<= 1 } } catch (t) { a = { error: t } } finally { try { B && !B.done && (s = E.return) && s.call(E) } finally { if (a) throw a.error } } return c.length } , n.prototype.get_args = function() { var t = []; if (this.get_token(), this.currentToken.type != e.StiTokenType.LParenthesis && this.throwError(r.ParserErrorCode.LeftParenthesisExpected), this.get_token(), this.currentToken.type == e.StiTokenType.RParenthesis) return t; this.tokenPos--, this.currentToken = this.tokensList[this.tokenPos - 1]; var i = this.asmList; do { this.asmList = new Array, this.eval_exp0(), t.add(this.asmList) } while (this.currentToken.type == e.StiTokenType.Comma); return this.asmList = i, this.currentToken.type != e.StiTokenType.RParenthesis && this.throwError(r.ParserErrorCode.RightParenthesisExpected), t } , n.prototype.get_token = function() { this.tokenPos < this.tokensList.length ? this.currentToken = this.tokensList[this.tokenPos] : this.currentToken = new r.StiToken, this.tokenPos++ } , n }(r.StiParser_AsmFunctions); r.StiParser_Parser = i }(r = e.StiParser || (e.StiParser = {})) }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() { this.executeIfStoreToPrint = !0 } return t }(); t.StiParserParameters = e }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i; !function(i) { var n = t.System.Collections.List , o = t.Report.Engine.StiParserParameters , a = t.System.StiString , s = t.Base.StiActivator , l = t.System.Collections.Hashtable , u = t.Report.Components.StiText , c = t.System.DateTime , m = function() { function t(t, e, r, i) { void 0 === i && (i = 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 = i } return t }(); i.StiParserData = m; var p = function() { function t(t, e) { this.component = t, this.expression = e } return t }(); i.StiFilterParserData = p; var h = function() { function t(t, e, i) { void 0 === t && (t = r.StiTokenType.Empty), void 0 === e && (e = -1), void 0 === i && (i = -1), this.type = r.StiTokenType.Empty, this.position = -1, this.length = -1, this.type = t, this.position = e, this.length = i } return t.prototype.toString = function() { return a.format("TokenType={0}{1}", this.type.stimulsoft.getType().stimulsoft.getNetTypeName(), null != this.value ? a.format(', value="{0}"', this.value) : "") } , t }(); i.StiToken = h; var d = function() { function e(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 } return e.prototype.toString = function() { return a.format("{0}({1},{2})", t.System.Enum.getName(r.StiAsmCommandType, this.type), null != this.parameter1 ? this.parameter1.toString() : "null", null != this.parameter2 ? this.parameter2.toString() : "null") } , e }(); i.StiAsmCommand = d; var g = function() { function t(t, e) { this.dataSourceName = t, this.dataColumnName = e } return t }(); i.StiParserGetDataFieldValueEventArgs = g; var f = function(m) { function p() { var t = null !== m && m.apply(this, arguments) || this; return t.sender = null, t } return __extends(p, m), p.prototype.executeAsm = function(i) { var n = i; if (null == n || 0 == n.length) return null; for (var o = [], a = null, s = 0, l = 0, u = 0; u < n.length; u++) { var c = n[u]; switch (c.type) { case r.StiAsmCommandType.PushValue: o.push(c.parameter1); break; case r.StiAsmCommandType.PushVariable: o.push(this.getVariableValue(c.parameter1)); break; case r.StiAsmCommandType.PushSystemVariable: o.push(this.get_systemVariable(c.parameter1)); break; case r.StiAsmCommandType.PushComponent: o.push(c.parameter1); break; case r.StiAsmCommandType.CopyToVariable: this.report.setVariable(c.parameter1, o[o.length - 1]); break; case r.StiAsmCommandType.PushFunction: a = new Array; for (var m = 0; m < c.parameter2; m++) a.add(o.pop()); a.reverse(), o.push(this.call_func(c.parameter1, a)); break; case r.StiAsmCommandType.PushMethod: a = []; for (var m = 0; m < c.parameter2; m++) a.add(o.pop()); a.reverse(), o.push(this.call_method(c.parameter1, a)); break; case r.StiAsmCommandType.PushProperty: a = [], a.add(o.pop()), o.push(this.call_property(c.parameter1, a)); break; case r.StiAsmCommandType.PushDataSourceField: var h = null; h = null != c.parameter2 && c.parameter2.stimulsoft.is(Array) ? c.parameter2 : c.parameter1.split("."); var d = this.report.dictionary.dataSources.getByName(h[0]); if (d.stimulsoft.is(t.Report.Dictionary.StiVirtualSource) && h.length > 2 && !d.columns.contains(h[1])) { var g = h[1] + "." + h[2]; d.columns.contains(g) ? (h[1] = g, h.removeAt(2)) : h.length > 3 && (g += "." + h[3], d.columns.contains(g) && (h[1] = g, h.removeAt(2), h.removeAt(2))) } if (h.length > 1) if (2 == h.length) { var f = d.columns.getByName(h[1]); null != f && f.stimulsoft.is(t.Report.Dictionary.StiCalcDataColumn) ? o.push(p.parseTextValue("{" + f.expression + "}", this.component)) : o.push(e.StiReport.changeType(d.getData(h[1]), f.type)) } else { var S = h[1] , A = d.getParentData(S); d = d.getParentDataSource(S); var y = 2; while (y < h.length - 1) S = h[y], A = A.getParentData(S), d = d.getParentDataSource(S), y++; var f = d.columns.getByName(h[y]); if (null != f && f.stimulsoft.is(t.Report.Dictionary.StiCalcDataColumn)) o.push(p.parseTextValue("{" + f.expression + "}", this.component)); else { var w = null; null != A && (w = A.getByColumnName(h[y])), o.push(e.StiReport.changeType(w, f.type)) } } else o.push(d); break; case r.StiAsmCommandType.PushBusinessObjectField: break; case r.StiAsmCommandType.PushArrayElement: a = []; for (var m = 0; m < c.parameter1.stimulsoft.toNumber(); m++) a.add(o.pop()); a.reverse(), o.push(this.call_arrayElement(a)); break; case r.StiAsmCommandType.Jump: u += c.parameter1.stimulsoft.toNumber(); break; case r.StiAsmCommandType.JumpTrue: o.pop() && (u += c.parameter1.stimulsoft.toNumber()); break; case r.StiAsmCommandType.JumpFalse: o.pop() || (u += c.parameter1.stimulsoft.toNumber()); break; case r.StiAsmCommandType.Add: l = o.pop(), s = o.pop(), o.push(this.op_Add(s, l)); break; case r.StiAsmCommandType.Sub: l = o.pop(), s = o.pop(), o.push(this.op_Sub(s, l)); break; case r.StiAsmCommandType.Mult: l = o.pop(), s = o.pop(), o.push(this.op_Mult(s, l)); break; case r.StiAsmCommandType.Div: l = o.pop(), s = o.pop(), o.push(this.op_Div(s, l)); break; case r.StiAsmCommandType.Mod: l = o.pop(), s = o.pop(), o.push(this.op_Mod(s, l)); break; case r.StiAsmCommandType.Power: l = o.pop(), s = o.pop(), o.push(this.op_Pow(s, l)); break; case r.StiAsmCommandType.Neg: s = o.pop(), o.push(this.op_Neg(s)); break; case r.StiAsmCommandType.Cast: s = o.pop(), l = c.parameter1, o.push(this.op_Cast(s, l)); break; case r.StiAsmCommandType.Not: s = o.pop(), o.push(this.op_Not(s)); break; case r.StiAsmCommandType.CompareLeft: l = o.pop(), s = o.pop(), o.push(this.op_CompareLeft(s, l)); break; case r.StiAsmCommandType.CompareLeftEqual: l = o.pop(), s = o.pop(), o.push(this.op_CompareLeftEqual(s, l)); break; case r.StiAsmCommandType.CompareRight: l = o.pop(), s = o.pop(), o.push(this.op_CompareRight(s, l)); break; case r.StiAsmCommandType.CompareRightEqual: l = o.pop(), s = o.pop(), o.push(this.op_CompareRightEqual(s, l)); break; case r.StiAsmCommandType.CompareEqual: l = o.pop(), s = o.pop(), o.push(this.op_CompareEqual(s, l)); break; case r.StiAsmCommandType.CompareNotEqual: l = o.pop(), s = o.pop(), o.push(this.op_CompareNotEqual(s, l)); break; case r.StiAsmCommandType.Shl: l = o.pop(), s = o.pop(), o.push(this.op_Shl(s, l)); break; case r.StiAsmCommandType.Shr: l = o.pop(), s = o.pop(), o.push(this.op_Shr(s, l)); break; case r.StiAsmCommandType.And: l = o.pop(), s = o.pop(), o.push(this.op_And(s, l)); break; case r.StiAsmCommandType.Or: l = o.pop(), s = o.pop(), o.push(this.op_Or(s, l)); break; case r.StiAsmCommandType.Xor: l = o.pop(), s = o.pop(), o.push(this.op_Xor(s, l)); break; case r.StiAsmCommandType.And2: l = o.pop(), s = o.pop(), o.push(this.op_And2(s, l)); break; case r.StiAsmCommandType.Or2: l = o.pop(), s = o.pop(), o.push(this.op_Or2(s, l)); break } } return o.pop() } , p.prototype.getVariableValue = function(e) { if (null != this.runtimeConstants && this.runtimeConstants.count > 0 && this.runtimeConstantsHash.containsKey(e)) return this.runtimeConstantsHash.get(e); var r = null == this.report.compiledReport ? this.report : this.report.compiledReport , i = r.dictionary.variables.getByName(e); if (null != i && i.readOnly && i.initBy == t.Report.Dictionary.StiVariableInitBy.Expression) { var n = new u; return n.name = "**ReportVariables**", n.page = this.report.pages.getByIndex(0), p.parseTextValue("{" + i.value + "}", n) } if (null != r.variables && r.variables.containsKey(e)) return r.variables.get(e); if (null != i) { if (i.initBy == t.Report.Dictionary.StiVariableInitBy.Expression) return p.prepareVariableValue(i, r); return i.valueObject } return null } , p.prototype.call_arrayElement = function(r) { var n = r[0]; if (r.length < 2 && this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "get_ArrayElement", (r.length - 1).toString()), n.stimulsoft.is(String)) { 2 != r.length && this.throwError(i.ParserErrorCode.NoOverloadForMethodTakesNArguments, null, "string.get_Item", (r.length - 1).toString()); var o = r[1].stimulsoft.toNumber(); return n[o] } if (n.stimulsoft.is(e.StiReport)) { var a = r[1].toString(); return n.getVariable(a) } if (n.stimulsoft.is(t.Report.Dictionary.StiDataSource)) { var s = r[1].toString(); return n.getData(s) } if (n.stimulsoft.is(Array)) { for (var l = [], o = 0; o < r.length - 1; o++) l.add(n[r[o + 1].stimulsoft.toNumber()]); return l } return null } , p.prototype.get_systemVariable = function(t) { switch (t) { case r.StiSystemVariableType.Column: return this.report.column; case r.StiSystemVariableType.Line: return this.report.line; case r.StiSystemVariableType.LineThrough: return this.report.lineThrough; case r.StiSystemVariableType.LineABC: return this.report.lineABC; case r.StiSystemVariableType.LineRoman: return this.report.lineRoman; case r.StiSystemVariableType.GroupLine: return this.report.groupLine; case r.StiSystemVariableType.PageNumber: return this.report.pageNumber; case r.StiSystemVariableType.PageNumberThrough: return this.report.pageNumberThrough; case r.StiSystemVariableType.PageNofM: return this.report.pageNofM; case r.StiSystemVariableType.PageNofMThrough: return this.report.pageNofMThrough; case r.StiSystemVariableType.TotalPageCount: return this.report.totalPageCount; case r.StiSystemVariableType.TotalPageCountThrough: return this.report.totalPageCountThrough; case r.StiSystemVariableType.IsFirstPage: return this.report.isFirstPage; case r.StiSystemVariableType.IsFirstPageThrough: return this.report.isFirstPageThrough; case r.StiSystemVariableType.IsLastPage: return this.report.isLastPage; case r.StiSystemVariableType.IsLastPageThrough: return this.report.isLastPageThrough; case r.StiSystemVariableType.PageCopyNumber: return this.report.pageCopyNumber; case r.StiSystemVariableType.ReportAlias: return this.report.reportAlias; case r.StiSystemVariableType.ReportAuthor: return this.report.reportAuthor; case r.StiSystemVariableType.ReportChanged: return this.report.reportChanged; case r.StiSystemVariableType.ReportCreated: return this.report.reportCreated; case r.StiSystemVariableType.ReportDescription: return this.report.reportDescription; case r.StiSystemVariableType.ReportName: return this.report.reportName; case r.StiSystemVariableType.Time: return this.report.time; case r.StiSystemVariableType.Today: return this.report.today; case r.StiSystemVariableType.ConditionValue: return this.report.engine.lastInvokeTextProcessValueEventArgsValue.stimulsoft.is(Number) ? this.report.engine.lastInvokeTextProcessValueEventArgsValue : 0; case r.StiSystemVariableType.ConditionValue2: return this.report.engine.lastInvokeTextProcessValueEventArgsValue; case r.StiSystemVariableType.ConditionTag: return this.component.stimulsoft.is(u) ? this.component.tagValue : null; case r.StiSystemVariableType.Sender: return this.sender; case r.StiSystemVariableType.DateTimeNow: return c.now; case r.StiSystemVariableType.DateTimeToday: return c.today } return null } , p.parseTextValue2 = function(e, i, o, s) { if (void 0 === o && (o = i), void 0 === s && (s = null), a.isNullOrEmpty(e)) return null; null == s.parser && (s.parser = new p), s.parser.report = i.report, s.parser.component = i, s.parser.sender = o, s.parser.runtimeConstants = s.constants, null != s.constants && s.parser.createRuntimeConstantsHash(); var c = null , m = e + i.name + s.globalizedNameExt , h = s.conversionStore; if (null == h) { var g = i.report.engine; null != g ? (null == g.parserConversionStore && (g.parserConversionStore = new l), h = g.parserConversionStore) : h = new l } if (h.contains(m) && (c = h.get(m)), null == c) { if (i.stimulsoft.is(u) && i.onlyText) c = new n, c.add(new d(r.StiAsmCommandType.PushValue,e)); else try { c = new n; var f = 0 , S = 0; while (S < e.length) { var A = S; while (S < e.length && "{" != e[S]) S++; if (S != A && (1 == f && c.add(new d(r.StiAsmCommandType.Cast,t.System.TypeCode.String)), c.add(new d(r.StiAsmCommandType.PushValue,e.substr(A, S - A))), ++f > 1 && c.add(new d(r.StiAsmCommandType.Add))), S < e.length && "{" == e[S]) { S++, A = S; var y = !1; while (S < e.length) { if ('"' == e[S]) { S++; var w = S; while (w < e.length) { if ('"' == e[w]) break; "\\" == e[w] && w++, w++ } S = w + 1; continue } if ("}" == e[S]) { var b = e.substr(A, S - A); null != b && b.length > 0 && (s.parser.expressionPosition = A, c.addRange(s.parser.parseToAsm(b)), ++f > 1 && (c.add(new d(r.StiAsmCommandType.Cast,t.System.TypeCode.String)), c.add(new d(r.StiAsmCommandType.Add)))), y = !0, S++; break } S++ } y || (s.parser.expressionPosition = A, c.add(new d(r.StiAsmCommandType.PushValue,e.substr(A))), ++f > 1 && c.add(new d(r.StiAsmCommandType.Add))) } } } catch (e) { throw t.System.StiError.showError(e, !1), h.set(m, new n), e } h.set(m, c) } if (s.returnAsmList) return c; if (c.length > 0) { if (s.storeToPrint = p.checkForStoreToPrint(c), s.storeToPrint && !s.executeIfStoreToPrint) return e; return s.parser.executeAsm(c) } return null } , p.parseTextValue = function(t, e, r, i, n, a, s) { void 0 === r && (r = null), void 0 === i && (i = { ref: !1 }), void 0 === n && (n = !0), void 0 === a && (a = !1), void 0 === s && (s = null); var l = new o; l.storeToPrint = i.ref, l.executeIfStoreToPrint = n, l.returnAsmList = a, l.parser = s; var u = this.parseTextValue2(t, e, r, l); return i.ref = l.storeToPrint, u } , p.prototype.parseToAsm = function(t) { return this.inputExpression = t, this.makeTokensList(), this.asmList = new Array, this.eval_exp(), this.asmList } , p.checkForStoreToPrint = function(t) { var e, i, n = !1, o = t; if (null != o) try { for (var a = __values(o), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.type == r.StiAsmCommandType.PushSystemVariable) { var u = l.parameter1; if (u == r.StiSystemVariableType.PageNumber || u == r.StiSystemVariableType.PageNumberThrough || u == r.StiSystemVariableType.TotalPageCount || u == r.StiSystemVariableType.TotalPageCountThrough || u == r.StiSystemVariableType.PageNofM || u == r.StiSystemVariableType.PageNofMThrough || u == r.StiSystemVariableType.IsFirstPage || u == r.StiSystemVariableType.IsFirstPageThrough || u == r.StiSystemVariableType.IsLastPage || u == r.StiSystemVariableType.IsLastPageThrough) { n = !0; break } } if (l.type == r.StiAsmCommandType.PushFunction) { var u = l.parameter1; if (u >= r.StiFunctionType.pCount && u <= r.StiFunctionType.pLast || u >= r.StiFunctionType.prCount && u <= r.StiFunctionType.prLast || u >= r.StiFunctionType.piCount && u <= r.StiFunctionType.piLast || u >= r.StiFunctionType.priCount && u <= r.StiFunctionType.priLast || u == r.StiFunctionType.GetAnchorPageNumber || u == r.StiFunctionType.GetAnchorPageNumberThrough) { n = !0; break } } } } catch (t) { e = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (e) throw e.error } } return n } , p.checkExpression = function(t, e) { try { var r = new p , i = !1 , n = { ref: i } , o = p.parseTextValue(t, e, e, n, !1, !0, r) , a = o; null != a && r.checkTypes(a) } catch (t) { return t } return null } , p.checkForDataBandsUsedInPageTotals = function(e) { try { var r = e.report , i = !1 , n = { ref: i } , o = p.parseTextValue(e.text, e, null, n, !1, !0) } catch (r) { var s = a.format("Expression in Text property of '{0}' can't be evaluated! {1}", e.name, r); t.System.StiError.showError(s, !1), e.report.writeToReportRenderingMessages(s) } } , p.prepareReportVariables = function(t) { var r, i; if (t.variables = new l, t.calculationMode == e.StiCalculationMode.Compilation) return; var n = new u; n.name = "**ReportVariables**", n.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; try { this.prepareVariableValue(s, t, n) } catch (t) {} } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } t.modifiedVariables.clear() } , p.prepareVariableValue = function(e, i, n, o) { var a, c; void 0 === n && (n = null), void 0 === o && (o = !1), null == n && (n = new u, n.name = "**ReportVariables**", n.page = i.pages.getByIndex(0)); var m = null; o && (m = new l); var p = null; if (t.System.TypeHelper.isValueType(e.type)) p = e.initBy == t.Report.Dictionary.StiVariableInitBy.Value ? e.valueObject : this.getExpressionValue("{" + e.value + "}", n, m, i); else { p = s.createObject(e.type); var h = { ref: t.Report.Dictionary.StiTypeMode.Value }; t.Report.Dictionary.StiType.getTypeModeFromType(e.type, h); var d = h.ref; d == t.Report.Dictionary.StiTypeMode.Range ? e.initBy == t.Report.Dictionary.StiVariableInitBy.Value ? (e.valueObject.fromObject ? p.fromObject = e.valueObject.fromObject : e.valueObject.from ? p.fromObject = e.valueObject.from : e.valueObject.fromDate && (p.fromObject = e.valueObject.fromDate), e.valueObject.toObject ? p.toObject = e.valueObject.toObject : e.valueObject.to ? p.toObject = e.valueObject.to : e.valueObject.toDate && (p.toObject = e.valueObject.toDate)) : (p.fromObject = this.getExpressionValue("{" + e.initByExpressionFrom + "}", n, m, i), p.toObject = this.getExpressionValue("{" + e.initByExpressionTo + "}", n, m, i)) : d == t.Report.Dictionary.StiTypeMode.List && ((p = i.getVariable(e.name, !0)) || (p = [])), o && r.StiVariableHelper.fillItemsOfVariables2(e, i, { ref: !1 }) } if (o) try { for (var g = __values(m.keys), f = g.next(); !f.done; f = g.next()) { var S = f.value , A = i.dictionary.dataSources.getByName(S); t.Report.Dictionary.StiDataLeader.disconnect(A) } } catch (t) { a = { error: t } } finally { try { f && !f.done && (c = g.return) && c.call(g) } finally { if (a) throw a.error } } return i.setVariable(e.name, p, !0), p } , p.getExpressionValue = function(e, r, i, n) { var o, a; if (null != i) { var s = new l; t.Report.Dictionary.StiDataSourceHelper.checkExpression(e, r, s); try { for (var u = __values(s.keys), c = u.next(); !c.done; c = u.next()) { var m = c.value; if (null == i.get(m)) { i.set(m, !0); var h = n.dictionary.dataSources.getByName(m); t.Report.Dictionary.StiDataLeader.connect(h, null, !1) } } } catch (t) { o = { error: t } } finally { try { c && !c.done && (a = u.return) && a.call(u) } finally { if (o) throw o.error } } } return p.parseTextValue(e, r) } , p }(i.StiParser_Parser); i.StiParser = f }(i = r.StiParser || (r.StiParser = {})) }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiParserParameters , i = t.System.StiString , n = t.Report.Engine.StiAsmCommandType , o = t.Report.Engine.StiParser.StiParserGetDataFieldValueEventArgs , a = t.Data.Engine.StiDataPicker , s = t.Report.Engine.StiParser.StiParser , l = t.System.StiPromise , u = t.Base.StiAppKey , c = t.System.Collections.Dictionary , m = function() { function e() {} return e.parse = function(t, e, r, i, n, o) { if (void 0 === r && (r = !0), void 0 === i && (i = null), void 0 === n && (n = !0), void 0 === o && (o = !1), o && null != t && (t = t.trim(), t.stimulsoft.contains("{") || (t = "{" + t), t.stimulsoft.contains("}") || (t += "}")), null != t && !t.stimulsoft.contains("{")) return t; var a = this.getFromWrongCache(t, e); if (null != a) return a; if (null != (a = r && null != i ? this.getFromCache(t, e) : null)) return a; if ((a = this.parseOrDefault(t, e, i, n)) == t && null != t && t.stimulsoft.contains("{")) return this.addToWrongCache(t, a, e), a; return r && null != i && this.addToCache(t, a, e), a } , e.parseAsync = function(t, e, r) { var i = this; void 0 === r && (r = !0); var n = new l; if (null != t && !t.stimulsoft.contains("{")) return n.callTry(t); var o = r ? this.getFromCache(t, e) : null; if (null != o) return n.callTry(o); return this.parseOrDefaultAsync(t, e).try(function(o) { return r && i.addToCache(t, o, e), n.callTry(o) }), n } , e.parseOrDefault = function(t, e, r, i) { void 0 === r && (r = null), void 0 === i && (i = !0); var n = { ref: null }; return this.tryParse(t, n, e, r, i) ? n.ref : t } , e.parseOrDefaultAsync = function(t, e) { var r = new l , i = { ref: null }; return this.tryParseAsync(t, i, e).try(function(e) { r.callTry(1 == e ? i.ref : t) }), r } , e.tryParse = function(e, i, n, o, a) { void 0 === o && (o = null), void 0 === a && (a = !0); try { if (null == e || !e.stimulsoft.contains("{")) return i.ref = e, !0; var s = new r; s.syntaxCaseSensitive = !1, s.constants = o; var l = t.Report.Engine.StiParser.StiParser.parseTextValue2(e, n, n, s); return i.ref = null != l ? l.toString() : "", !0 } catch (t) { return i.ref = "", !1 } } , e.tryParseAsync = function(e, r, i, a, u) { var c, m; void 0 === a && (a = null), void 0 === u && (u = !0); var p = new l; try { if (null == e || !e.stimulsoft.contains("{")) return r.ref = e, p.callTry(!0); var h = new s , d = t.Report.Engine.StiParser.StiParser.parseTextValue(e, i, null, { ref: !1 }, !0, !0, h) , g = 0; if (u && d && d.length > 0) { var f = function(t) { switch (t.type) { case n.PushDataSourceField: var e = null; e = null != t.parameter2 && t.parameter2.stimulsoft.is(Array) ? t.parameter2 : t.parameter1.split("."), g++; var a = new o(e[0],e[1]); a.asmCommand = t, S.getDataFieldValueProcessorAsync(i.report, a).try(function() { if (a.asmCommand.type = n.PushValue, a.asmCommand.parameter1 = a.value, 0 == --g) { var t = h.executeAsm(d); r.ref = null != t ? t.toString() : "", p.callTry(!0) } }).catch(function() { return r.ref = "", p.callTry(!1) }) } } , S = this; try { for (var A = __values(d), y = A.next(); !y.done; y = A.next()) { f(y.value) } } catch (t) { c = { error: t } } finally { try { y && !y.done && (m = A.return) && m.call(A) } finally { if (c) throw c.error } } } if (0 == g) { var w = h.executeAsm(d); r.ref = null != w ? w.toString() : "", p.callTry(!0) } } catch (t) { return r.ref = "", p.callTry(!1) } return p } , e.getDataFieldValueProcessorAsync = function(t, e) { var r = this , i = new l , n = t; return setTimeout(function() { return __awaiter(r, void 0, void 0, function() { var t, r, o; return __generator(this, function(s) { switch (s.label) { case 0: return [4, a.fetch2(n, e.dataSourceName)]; case 1: if (null == (t = s.sent())) return [2, i.callCatch()]; if (r = e.dataSourceName + "." + e.dataColumnName, null == (o = t.rows.toList().cast().firstOrDefault())) return [2, i.callCatch()]; return e.value = o.gett(r), e.processed = !0, [2, i.callTry()] } }) }) }, 0), i } , e.getCacheKey = function(t, e) { var r = u.getOrGeneratedKey(e); return null == r && (r = ""), r + "." + (null != t ? t : "") } , e.addToCache = function(t, e, r) { null == e && (e = ""); var i = this.getCacheKey(t, r); this.cache.set(i, e) } , e.addToWrongCache = function(t, e, r) { null == e && (e = ""); var i = this.getCacheKey(t, r); this.wrongCache.set(i, e) } , e.getFromCache = function(t, e) { if (i.isNullOrEmpty(t)) return ""; if (i.isNullOrWhiteSpace(t)) return t; var r = this.getCacheKey(t, e); return this.cache.contains(r) ? this.cache.get(r) : null } , e.getFromWrongCache = function(t, e) { if (i.isNullOrEmpty(t)) return ""; if (i.isNullOrWhiteSpace(t)) return t; var r = this.getCacheKey(t, e); return this.wrongCache.contains(r) ? this.wrongCache.get(r) : null } , e.cleanCache = function(t) { var e = this; null == t ? this.cache.clear() : this.cache.keys.toList().where(function(e) { return e.stimulsoft.startsWith(t) }).forEach(function(t) { return e.cache.remove(t) }), null == t ? this.wrongCache.clear() : this.wrongCache.keys.toList().where(function(e) { return e.stimulsoft.startsWith(t) }).forEach(function(t) { return e.wrongCache.remove(t) }) } , e.cache = new c, e.wrongCache = new c, e }(); e.StiReportParser = m }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Helpers.StiOnlineMapRepaintHelper , i = t.Base.IStiAppDictionary , n = t.Base.IStiApp , o = t.Report.Dashboard.Helpers.StiDashboardImageHyperlinkCache , a = t.Report.Dashboard.StiPivotToConvertedStateCache , s = t.Report.Dashboard.StiPivotTableToCrossTabCache , l = t.Report.Dashboard.StiPivotToContainerCache , u = t.Report.Dashboard.StiReportParser , c = t.Data.Engine.StiDataActionOperator , m = t.Data.Engine.StiDataSorter , p = t.Data.Engine.StiDataFiltrator , h = t.Data.Engine.StiDataJoiner , d = t.Data.Engine.StiDataPicker , g = function() { function t() {} return t.clean = function(t) { if (void 0 === t && (t = null), null != t) { if (t.stimulsoft.is(e.IStiElement)) return this.clean1(t); if (t.stimulsoft.is(i)) return this.clean2(t); if (t.stimulsoft.is(n)) return this.clean3(t) } else this.clean4(t) } , t.clean1 = function(t) { this.clean4(t.getApp().getKey()) } , t.clean2 = function(t) { this.clean4(t.getApp().getKey()) } , t.clean3 = function(t) { this.clean4(t.getKey()) } , t.clean4 = function(t) { void 0 === t && (t = null), e.StiElementDataCache.cleanCache(t), d.cleanCache(t), h.cleanCache(t), p.cleanCache(t), m.cleanCache(t), c.cleanCache(t), u.cleanCache(t), r.clean(t), l.clean(t), s.clean(t), a.clean(t), o.clean(t) } , t }(); e.StiCacheCleaner = g }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = function() { function e() {} return Object.defineProperty(e, "isAssemblyLoaded", { get: function() { return null != t.Dashboard }, enumerable: !0, configurable: !0 }), e }(); e.StiDashboardAssembly = r }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiError , i = t.Base.StiDashboardNotSupportedException , n = t.Report.Components.StiComponent , o = t.System.Activator , a = t.Report.Dashboard.IStiDashboard , s = t.Base.StiActivator , l = function() { function l() {} return l.createDashboard = function(s) { if (!e.StiDashboardAssembly.isAssemblyLoaded) { var l = new i; return r.showError(l, !0), null } var u = StiOptions.Services.components.toList().firstOrDefault(function(e) { return e == t.Dashboard.Components.StiDashboard }) , c = o.createInstance(u).stimulsoft.as(n); return null != c && (c.report = s), c.stimulsoft.as(a) } , l.createDashboardElement = function(t) { var e = null; switch (t) { case "StiTableElement": case "Stimulsoft.Dashboard.Components.Table.StiTableElement": e = s.createObject2("Stimulsoft.Dashboard.Components.Table.StiTableElement"); break; case "StiChartElement": case "Stimulsoft.Dashboard.Components.Chart.StiChartElement": e = s.createObject2("Stimulsoft.Dashboard.Components.Chart.StiChartElement"); break; case "StiGaugeElement": case "Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement": e = s.createObject2("Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement"); break; case "StiPivotTableElement": case "Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement": e = s.createObject2("Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement"); break; case "StiIndicatorElement": case "Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement": e = s.createObject2("Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement"); break; case "StiProgressElement": case "Stimulsoft.Dashboard.Components.Progress.StiProgressElement": e = s.createObject2("Stimulsoft.Dashboard.Components.Progress.StiProgressElement"); break; case "StiRegionMapElement": case "Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement": e = s.createObject2("Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement"); break; case "StiOnlineMapElement": case "Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement": e = s.createObject2("Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement"); break; case "StiImageElement": case "Stimulsoft.Dashboard.Components.Image.StiImageElement": e = s.createObject2("Stimulsoft.Dashboard.Components.Image.StiImageElement"); break; case "StiTextElement": case "Stimulsoft.Dashboard.Components.Text.StiTextElement": e = s.createObject2("Stimulsoft.Dashboard.Components.Text.StiTextElement"); break; case "StiPanelElement": case "Stimulsoft.Dashboard.Components.Panel.StiPanelElement": e = s.createObject2("Stimulsoft.Dashboard.Components.Panel.StiPanelElement"); break; case "StiShapeElement": case "Stimulsoft.Dashboard.Components.Shape.StiShapeElement": e = s.createObject2("Stimulsoft.Dashboard.Components.Shape.StiShapeElement"); break; case "StiListBoxElement": case "Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement": e = s.createObject2("Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement"); break; case "StiComboBoxElement": case "Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement": e = s.createObject2("Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement"); break; case "StiTreeViewElement": case "Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement": e = s.createObject2("Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement"); break; case "StiTreeViewBoxElement": case "Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement": e = s.createObject2("Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement"); break; case "StiDatePickerElement": case "Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement": e = s.createObject2("Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement"); break } return e } , l }(); e.StiDashboardCreator = l }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiActivator , i = function() { function t() {} return t.getHtmlTextHelper = function() { try { return r.createObject2("Stimulsoft.Dashboard.Design.Helpers.StiHtmlTextHelper") } catch (t) {} return null } , t }(); e.StiDashboardDesignAssembly = i }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Default = 20] = "Default", t[t.LZW = 2] = "LZW", t[t.CCITT3 = 3] = "CCITT3", t[t.CCITT4 = 4] = "CCITT4", t[t.Rle = 5] = "Rle", t[t.None = 6] = "None" }(e = t.StiTiffCompressionScheme || (t.StiTiffCompressionScheme = {})); var r; !function(t) { t[t.Span = 1] = "Span", t[t.Div = 2] = "Div", t[t.Table = 3] = "Table" }(r = t.StiHtmlExportMode || (t.StiHtmlExportMode = {})); var i; !function(t) { t[t.High = 1] = "High", t[t.Low = 2] = "Low" }(i = t.StiHtmlExportQuality || (t.StiHtmlExportQuality = {})); var n; !function(t) { t[t.None = 0] = "None", t[t.PrintDocument = 1] = "PrintDocument", t[t.ModifyContents = 2] = "ModifyContents", t[t.CopyTextAndGraphics = 4] = "CopyTextAndGraphics", t[t.AddOrModifyTextAnnotations = 8] = "AddOrModifyTextAnnotations", t[t.All = 15] = "All" }(n = t.StiUserAccessPrivileges || (t.StiUserAccessPrivileges = {})); var o; !function(t) { t[t.Bit40 = 1] = "Bit40", t[t.Bit128 = 2] = "Bit128", t[t.Bit128_r4 = 3] = "Bit128_r4", t[t.Bit256_r5 = 4] = "Bit256_r5", t[t.Bit256_r6 = 5] = "Bit256_r6" }(o = t.StiPdfEncryptionKeyLength || (t.StiPdfEncryptionKeyLength = {})); var a; !function(t) { t[t.Jpeg = 1] = "Jpeg", t[t.Flate = 2] = "Flate", t[t.Indexed = 3] = "Indexed" }(a = t.StiPdfImageCompressionMethod || (t.StiPdfImageCompressionMethod = {})); var s; !function(t) { t[t.None = 1] = "None", t[t.Dialog = 2] = "Dialog", t[t.Silent = 3] = "Silent" }(s = t.StiPdfAutoPrintMode || (t.StiPdfAutoPrintMode = {})); var l; !function(t) { t[t.Simple = 1] = "Simple", t[t.UnicodeSingle = 2] = "UnicodeSingle", t[t.UnicodeDouble = 3] = "UnicodeDouble" }(l = t.StiTxtBorderType || (t.StiTxtBorderType = {})); var u; !function(t) { t[t.Monochrome = 1] = "Monochrome", t[t.Color = 2] = "Color" }(u = t.StiPcxPaletteType || (t.StiPcxPaletteType = {})); var c; !function(t) { t[t.None = 1] = "None", t[t.FloydSteinberg = 2] = "FloydSteinberg", t[t.Ordered = 3] = "Ordered" }(c = t.StiMonochromeDitheringType || (t.StiMonochromeDitheringType = {})); var m; !function(t) { t[t.Bmp = 1] = "Bmp", t[t.Gif = 2] = "Gif", t[t.Jpeg = 3] = "Jpeg", t[t.Pcx = 4] = "Pcx", t[t.Png = 5] = "Png", t[t.Tiff = 6] = "Tiff", t[t.Emf = 7] = "Emf", t[t.Svg = 8] = "Svg", t[t.Svgz = 9] = "Svgz" }(m = t.StiImageType || (t.StiImageType = {})); var p; !function(t) { t[t.Html = 1] = "Html", t[t.Html5 = 2] = "Html5", t[t.Mht = 3] = "Mht" }(p = t.StiHtmlType || (t.StiHtmlType = {})); var h; !function(t) { t[t.Image = 1] = "Image", t[t.Vector = 2] = "Vector", t[t.AnimatedVector = 3] = "AnimatedVector" }(h = t.StiHtmlChartType || (t.StiHtmlChartType = {})); var d; !function(t) { t[t.ExcelBinary = 1] = "ExcelBinary", t[t.ExcelXml = 2] = "ExcelXml", t[t.Excel2007 = 3] = "Excel2007" }(d = t.StiExcelType || (t.StiExcelType = {})); var g; !function(t) { t[t.Csv = 1] = "Csv", t[t.Dbf = 2] = "Dbf", t[t.Dif = 3] = "Dif", t[t.Sylk = 4] = "Sylk", t[t.Xml = 5] = "Xml", t[t.Json = 6] = "Json" }(g = t.StiDataType || (t.StiDataType = {})); var f; !function(t) { t[t.Pdf = 0] = "Pdf", t[t.Xps = 1] = "Xps", t[t.Ppt2007 = 2] = "Ppt2007", t[t.Html = 10] = "Html", t[t.Html5 = 11] = "Html5", t[t.Mht = 12] = "Mht", t[t.Txt = 20] = "Txt", t[t.Rtf = 21] = "Rtf", t[t.Word2007 = 22] = "Word2007", t[t.Odt = 23] = "Odt", t[t.Excel = 30] = "Excel", t[t.ExcelXml = 31] = "ExcelXml", t[t.Excel2007 = 32] = "Excel2007", t[t.Ods = 33] = "Ods", t[t.Data = 40] = "Data", t[t.Dbf = 41] = "Dbf", t[t.Xml = 42] = "Xml", t[t.Dif = 43] = "Dif", t[t.Sylk = 44] = "Sylk", t[t.Image = 50] = "Image", t[t.Bmp = 50] = "Bmp", t[t.Gif = 51] = "Gif", t[t.Jpeg = 52] = "Jpeg", t[t.Pcx = 53] = "Pcx", t[t.Png = 54] = "Png", t[t.Tiff = 55] = "Tiff", t[t.Emf = 60] = "Emf", t[t.Svg = 61] = "Svg", t[t.Svgz = 62] = "Svgz" }(f = t.StiExportPosition || (t.StiExportPosition = {})); var S; !function(t) { t[t.BookmarksOnly = 1] = "BookmarksOnly", t[t.ReportOnly = 2] = "ReportOnly", t[t.All = 3] = "All" }(S = t.StiHtmlExportBookmarksMode || (t.StiHtmlExportBookmarksMode = {})); var A; !function(t) { t[t.Default = 0] = "Default", t[t.USDOS = 437] = "USDOS", t[t.MazoviaDOS = 620] = "MazoviaDOS", t[t.GreekDOS = 737] = "GreekDOS", t[t.InternationalDOS = 850] = "InternationalDOS", t[t.EasternEuropeanDOS = 852] = "EasternEuropeanDOS", t[t.IcelandicDOS = 861] = "IcelandicDOS", t[t.NordicDOS = 865] = "NordicDOS", t[t.RussianDOS = 866] = "RussianDOS", t[t.KamenickyDOS = 895] = "KamenickyDOS", t[t.TurkishDOS = 857] = "TurkishDOS", t[t.EasternEuropeanWindows = 1250] = "EasternEuropeanWindows", t[t.RussianWindows = 1251] = "RussianWindows", t[t.WindowsANSI = 1252] = "WindowsANSI", t[t.GreekWindows = 1253] = "GreekWindows", t[t.TurkishWindows = 1254] = "TurkishWindows", t[t.StandardMacintosh = 1e4] = "StandardMacintosh", t[t.GreekMacintosh = 10006] = "GreekMacintosh", t[t.RussianMacintosh = 10007] = "RussianMacintosh", t[t.EasternEuropeanMacintosh = 10029] = "EasternEuropeanMacintosh" }(A = t.StiDbfCodePages || (t.StiDbfCodePages = {})); var y; !function(t) { t[t.String = 0] = "String", t[t.Int = 1] = "Int", t[t.Long = 2] = "Long", t[t.Float = 3] = "Float", t[t.Double = 4] = "Double", t[t.Date = 5] = "Date", t[t.Bool = 6] = "Bool" }(y = t.StiExportDataType || (t.StiExportDataType = {})); var w; !function(t) { t[t.Color = 1] = "Color", t[t.Grayscale = 2] = "Grayscale", t[t.Monochrome = 3] = "Monochrome" }(w = t.StiImageFormat || (t.StiImageFormat = {})); var b; !function(t) { t[t.Table = 4] = "Table", t[t.Frame = 1] = "Frame", t[t.WinWord = 2] = "WinWord", t[t.TabbedText = 3] = "TabbedText" }(b = t.StiRtfExportMode || (t.StiRtfExportMode = {})); var v; !function(t) { t[t.Data = 1] = "Data", t[t.Headers = 2] = "Headers", t[t.DataAndHeaders = 3] = "DataAndHeaders", t[t.Footers = 4] = "Footers", t[t.HeadersFooters = 6] = "HeadersFooters", t[t.DataAndHeadersFooters = 7] = "DataAndHeadersFooters", t[t.AllBands = 15] = "AllBands" }(v = t.StiDataExportMode || (t.StiDataExportMode = {})); var C; !function(t) { t[t.No = 1] = "No", t[t.ExceptEditableFields = 2] = "ExceptEditableFields", t[t.Yes = 3] = "Yes" }(C = t.StiWord2007RestrictEditing || (t.StiWord2007RestrictEditing = {})); var E; !function(t) { t[t.No = 1] = "No", t[t.ExceptEditableFields = 2] = "ExceptEditableFields", t[t.Yes = 3] = "Yes" }(E = t.StiExcel2007RestrictEditing || (t.StiExcel2007RestrictEditing = {})); var B; !function(t) { t[t.No = 1] = "No", t[t.Yes = 2] = "Yes" }(B = t.StiPdfAllowEditable || (t.StiPdfAllowEditable = {})); var T; !function(t) { t[t.Exactly = 1] = "Exactly", t[t.NoMoreThan = 2] = "NoMoreThan", t[t.Auto = 3] = "Auto" }(T = t.StiImageResolutionMode || (t.StiImageResolutionMode = {})); var I; !function(t) { t[t.None = 0] = "None", t[t.A1 = 1] = "A1", t[t.A2 = 2] = "A2", t[t.A3 = 3] = "A3" }(I = t.StiPdfComplianceMode || (t.StiPdfComplianceMode = {})); var x; !function(t) { t[t.Normal = 1] = "Normal", t[t.PageLayout = 2] = "PageLayout", t[t.PageBreakPreview = 3] = "PageBreakPreview" }(x = t.StiExcelSheetViewMode || (t.StiExcelSheetViewMode = {})) }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiPromise , n = t.System.IO.MemoryStream , o = t.Base.StiDashboardNotSupportedException , a = t.Report.Export.StiPdfAutoPrintMode , s = function() { function t() {} return t.exportAsync = function(t, s, l) { var u = new i; if (!r.StiDashboardAssembly.isAssemblyLoaded) throw new o; var c = r.StiInvokeMethodsHelper.invokeStaticMethod("Stimulsoft.Dashboard.Export", "Helpers.StiExportSettingsHelper", "getDashboardExportSettings", [l]); return l.getExportFormat() == e.StiExportFormat.Pdf && l.autoPrintMode == a.Dialog && r.StiInvokeMethodsHelper.setPropertyValue(c, "autoPrint", !0), r.StiInvokeMethodsHelper.invokeStaticMethod("Stimulsoft.Dashboard.Export", "StiDashboardExportTools", "exportToStreamAsync", [t, c]).try(function(t) { var e = new n(t); null != e && e.copyTo(s), u.callTry() }), u } , t }(); r.StiDashboardExport = s }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiActivator , i = function() { function t() {} return t.createTableElementAutoSizer = function() { try { return r.createObject2("Stimulsoft.Dashboard.Drawing.Helpers.StiTableElementAutoSizer") } catch (t) {} return null } , t.createProgressVisualSvgHelper = function() { try { return r.createObject2("Stimulsoft.Dashboard.Helpers.StiProgressVisualSvgHelper") } catch (t) {} return null } , t.createIndicatorVisualSvgHelper = function() { try { return r.createObject2("Stimulsoft.Dashboard.Helpers.StiIndicatorVisualSvgHelper") } catch (t) {} return null } , t.createGaugeVisualSvgHelper = function() { try { return r.createObject2("Stimulsoft.Dashboard.Helpers.StiGaugeVisualSvgHelper") } catch (t) {} return null } , t }(); e.StiDashboardHelperCreator = i }(r = e.Dashboards || (e.Dashboards = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var StiElementMeterAction = Stimulsoft.Report.StiElementMeterAction, Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() { this.action = t.StiElementMeterAction.None } return e.createEmptyArgs = function() { return new e } , e.createRenamingArgs = function(r, i) { var n = new e; return n.action = t.StiElementMeterAction.Rename, n.oldName = r, n.newName = i, n } , e.createDeletingArgs = function(r) { var i = new e; return i.action = t.StiElementMeterAction.Delete, i.oldName = r, i } , e.createClearingAllArgs = function() { var r = new e; return r.action = t.StiElementMeterAction.ClearAll, r } , e }(); t.StiElementChangedArgs = e }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var IStiTransformActions = Stimulsoft.Data.Engine.IStiTransformActions, IStiTransformFilters = Stimulsoft.Data.Engine.IStiTransformFilters, Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.processElementChanging = function(e, r) { switch (r.action) { case t.StiElementMeterAction.Rename: this.processElementRenaming(e, r); break; case t.StiElementMeterAction.ClearAll: this.processElementClearing(e); break; case t.StiElementMeterAction.Delete: this.processElementDeleting(e, r); break } } , e.processElementRenaming = function(t, e) { var r = t.stimulsoft.as(IStiTransformActions); 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 i = t.stimulsoft.as(IStiTransformFilters); null != i && null != i.transformFilters && i.transformFilters.where(function(t) { return t.path == e.oldName }).toList().forEach(function(t) { return t.path = e.newName }) } , e.processElementClearing = function(t) { var e = t.stimulsoft.as(IStiTransformActions); null != e && null != e.transformActions && e.transformActions.clear(); var r = t.stimulsoft.as(IStiTransformFilters); null != r && null != r.transformFilters && r.transformFilters.clear() } , e.processElementDeleting = function(t, e) { var r = t.stimulsoft.as(IStiTransformActions); 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 i = t.stimulsoft.as(IStiTransformFilters); null != i && null != i.transformFilters && i.transformFilters.where(function(t) { return t.path == e.oldName }).toList().forEach(function(t) { return i.transformFilters.remove(t) }) } , e }(); t.StiElementChangedProcessor = e }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Engine.IStiDrillDownElement , i = t.Data.Engine.StiDataFilterRuleHelper , n = t.Data.Engine.StiDataRequestOption , o = t.Data.Engine.StiDataTable , a = t.System.Collections.List , s = t.System.Collections.Dictionary , l = t.Data.Engine.IStiUserSorts , u = t.Data.Engine.IStiDataFilters , c = t.Data.Engine.IStiTransformActions , m = t.Data.Engine.IStiTransformFilters , p = t.Data.Engine.IStiTransformSorts , h = t.Base.StiAppKey , d = t.Data.Engine.StiDataAnalyzer , g = t.Base.Helpers.StiComponentProgressHelper , f = function() { function t() {} return t.tryToGetOrCreate = function(t, e) { return void 0 === e && (e = n.All), __awaiter(this, void 0, void 0, function() { var r; return __generator(this, function(i) { switch (i.label) { case 0: return i.trys.push([0, 2, , 3]), [4, this.getOrCreate(t, e)]; case 1: return [2, i.sent()]; case 2: return r = i.sent(), [2, null]; case 3: return [2] } }) }) } , t.getOrCreate = function(t, e) { return void 0 === e && (e = n.All), __awaiter(this, void 0, void 0, function() { var r; return __generator(this, function(i) { switch (i.label) { case 0: if (null != (r = this.get(t))) return [2, r]; return [4, this.create(t, e)]; case 1: return r = i.sent(), this.add(t, r), [2, r] } }) }) } , t.getOrCreatePivot = function(t, r, i) { return void 0 === i && (i = n.All), __awaiter(this, void 0, void 0, function() { var n, o; return __generator(this, function(a) { switch (a.label) { case 0: if (e.StiPivotToContainerCache.contains(t) && null != this.get(t)) return [2, e.StiPivotToContainerCache.get(t)]; if (null != (n = this.get(t))) return [3, 2]; return [4, this.create(t, i)]; case 1: o = a.sent(), this.add(t, o), e.StiPivotToContainerCache.remove(t), r.create(t, o), a.label = 2; case 2: return [2, n] } }) }) } , t.getOrCreateWithProgress = function(t, e) { return void 0 === e && (e = n.All), __awaiter(this, void 0, void 0, function() { var r; return __generator(this, function(i) { switch (i.label) { case 0: if (null != (r = this.get(t))) return [2, r]; if (this.elements.contains(t)) return [2, null]; return g.add(t), this.elements.add(t), [4, this.initWorker(e)]; case 1: return i.sent(), [2, null] } }) }) } , t.getOrCreatePivotWithProgress = function(t, r, i) { return void 0 === i && (i = n.All), __awaiter(this, void 0, void 0, function() { return __generator(this, function(n) { switch (n.label) { case 0: if (e.StiPivotToContainerCache.contains(t) && null != this.get(t)) return [2, e.StiPivotToContainerCache.get(t)]; if (this.elements.contains(t)) return [2, null]; return this.pivotCreator = r, g.add(t), this.elements.add(t), [4, this.initWorker(i)]; case 1: return n.sent(), [2, null] } }) }) } , t.get = function(t) { var e = this.getKey(t); return this.cache.contains(e) ? this.cache.get(e) : null } , t.create = function(t, r) { return __awaiter(this, void 0, void 0, function() { var i, a, s, l, u, c, m, p, h, g, f, S; return __generator(this, function(A) { switch (A.label) { case 0: if (i = (r & n.DisallowTransform) > 0, a = t.page.stimulsoft.as(e.IStiDashboard), null == (s = t.getMeters()) || !s.any()) return [2, o.nullTable]; return l = e.StiGroupElementHelper.getGroup(t), u = this.getUserFilters(t, a), c = this.getUserSorts(t, r), m = this.getDataFilters(t), p = i ? null : this.getTransformActions(t), h = i ? null : this.getTransformFilters(t), g = i ? null : this.getTransformSorts(t), f = this.getDrillDownFilters(t), [4, d.analyze(a, l, s, r, c, u, m, null, g, h, p, f)]; case 1: return S = A.sent(), [2, S] } }) }) } , t.add = function(t, e) { var r = this.getKey(t); this.cache.set(r, e) } , t.initWorker = function(t) { return void 0 === t && (t = n.All), __awaiter(this, void 0, void 0, function() { var r, i, n, a; return __generator(this, function(s) { switch (s.label) { case 0: if (null != this.worker) return [2]; this.worker = {}, s.label = 1; case 1: if (0) return [3, 8]; if (0 == this.elements.length) return [3, 1]; r = void 0, r = this.elements.firstOrDefault(), this.elements.remove(r), s.label = 2; case 2: if (s.trys.push([2, 5, 6, 7]), null != (i = this.get(r))) return [3, 4]; return [4, this.create(r, t)]; case 3: n = s.sent(), this.add(r, n), r.stimulsoft.is(e.IStiPivotTableElement) && e.StiPivotToContainerCache.remove(r), s.label = 4; case 4: return r.stimulsoft.is(e.IStiPivotTableElement) && this.pivotCreator.create(r, i), [3, 7]; case 5: return a = s.sent(), this.add(r, o.nullTable), [3, 7]; case 6: return [7]; case 7: return [3, 1]; case 8: return [2] } }) }) } , t.getKey = function(t) { var r, n, o = h.getOrGeneratedKey(t); null == o && (o = ""); var a = null != t ? t.getMeters() : null; if (null == a || !a.any()) return o + ".0"; var s = t.page.stimulsoft.as(e.IStiDashboard), u = 0, c = a.select(function(t) { return (u++).toString() + t.getUniqueCode().toString() }), m; if (null != s) { var p = s.getUserFilters(t); if (null != p) { var d = p.select(function(t) { return (u++).toString() + t.getUniqueCode().toString() }); null != d && c.addRange(d) } } var g = this.getDataFilters(t); if (null != g) { var f = g.select(function(t) { return (u++).toString() + t.getUniqueCode().toString() }); null != f && c.addRange(f) } var S = this.getDrillDownFilters(t); if (null != S) { var A = S.select(function(t) { return (u++).toString() + t.getUniqueCode().toString() }); null != A && c.addRange(A) } if (t.stimulsoft.is(l)) { var y = t.userSorts.select(function(t) { return (u++).toString() + t.getUniqueCode().toString() }); null != y && c.addRange(y) } if (t.stimulsoft.is(e.IStiPivotTableElement) && t.stimulsoft.is(e.IStiTitleElement)) { var w = t.title.text; null == w && (w = ""), c.add(w.stimulsoft.getHashCode().toString()), c.addRange(t.pivotTableConditions.select(function(t) { return t.getUniqueCode().toString() }).toList()) } var b = 0; try { for (var v = __values(c), C = v.next(); !C.done; C = v.next()) { b += C.value.stimulsoft.getHashCode() } } catch (t) { r = { error: t } } finally { try { C && !C.done && (n = v.return) && n.call(v) } finally { if (r) throw r.error } } return b += i.getFilterRulesHash(s.getApp(), m), o + "." + b } , t.cleanCache = function(t) { var e = this; null == t ? this.cache.clear() : this.cache.keys.where(function(e) { return e.stimulsoft.startsWith(t) }).forEach(function(t) { return e.cache.remove(t) }) } , t.getUserFilters = function(t, e) { if (null == e) return null; return e.getUserFilters(t) } , t.getUserSorts = function(t, e) { if (!t.stimulsoft.is(l)) return null; return (e & n.AllowDataSort) > 0 ? t.userSorts : null } , t.getDataFilters = function(t) { return t.stimulsoft.is(u) ? t.dataFilters : null } , t.getTransformActions = function(t) { return t.stimulsoft.is(c) ? t.transformActions : null } , t.getTransformFilters = function(t) { return t.stimulsoft.is(m) ? t.transformFilters : null } , t.getTransformSorts = function(t) { return t.stimulsoft.is(p) ? t.transformSorts : null } , t.getDrillDownFilters = function(t) { return t.stimulsoft.is(r) ? t.drillDownFilters : null } , t.elements = new a, t.cache = new s, t }(); e.StiElementDataCache = f }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiJson , i = function() { function t(t, e) { this.fullScreenButton = !0, this.saveButton = !0, null != t && (this.saveButton = t), null != e && (this.fullScreenButton = e) } return t.prototype.saveToJsonObject = function(t) { var e = new r; return e.addPropertyBool("FullScreenButton", this.fullScreenButton, !0), e.addPropertyBool("SaveButton", this.saveButton, !0), e } , t.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , t.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 } } } , t.createFromJsonObject = function(e) { var r = new t; return r.loadFromJsonObject(e), r } , t.createFromXml = function(e) { var r = new t; return r.loadFromXml(e), r } , t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(t.prototype, "isDefault", { get: function() { return this.fullScreenButton && this.saveButton }, enumerable: !0, configurable: !0 }), t.prototype.StiElementLayout = function() {} , t }(); e.StiElementLayout = i }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.getGroup = function(e) { if (null == e) return null; if (!e.stimulsoft.is(t.IStiGroupElement)) return null; var r = e.stimulsoft.as(t.IStiGroupElement).group; if (null == r) return null; return r.toLowerCase().trim() } , e }(); t.StiGroupElementHelper = e }(e = t.Dashboard || (t.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = function() { function e() {} return e.invokeStaticMethod = function(e, r, i, n, o) { var a, s = (a = e.split(".")).concat.apply(a, __spread(r.split("."))); if ("Stimulsoft" != s.splice(0, 1)[0]) return null; var l = t; while (s.length > 0) { l = l[s.splice(0, 1)[0]] } if (l == t) return null; var u = l[i]; if (null != u) return u.apply(l, n); return null } , e.setPropertyValue = function(t, e, r) { null != t && (t[e] = r) } , e.getPropertyValue = function(t, e) { if (null != t) return t[e]; return null } , e }(); e.StiInvokeMethodsHelper = r }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiJson , i = function() { function t(t, e, r, i) { this.left = 3, this.top = 3, this.right = 3, this.bottom = 3, this.left = t, this.right = r, this.top = e, this.bottom = i } return t.prototype.saveToJsonObject = function(t, e, i, n, o) { if (void 0 === e && (e = 3), void 0 === i && (i = 3), void 0 === n && (n = 3), void 0 === o && (o = 3), this.left == e && this.top == i && this.right == n && this.bottom == o) return null; var a = new r; return a.addPropertyNumber("Left", this.left), a.addPropertyNumber("Top", this.top), a.addPropertyNumber("Right", this.right), a.addPropertyNumber("Bottom", this.bottom), a } , t.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.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 "Right": this.right = o.value.stimulsoft.toNumber(); break; case "Bottom": this.bottom = o.value.stimulsoft.toNumber(); break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , t.prototype.loadFromXml = function(t) { var e = t.textContent.toString().split(","); this.left = e[0].stimulsoft.toNumber(), this.top = e[1].stimulsoft.toNumber(), this.right = e[2].stimulsoft.toNumber(), this.bottom = e[3].stimulsoft.toNumber() } , t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(t.prototype, "isEmpty", { get: function() { return 0 == this.left && 0 == this.top && 0 == this.right && 0 == this.bottom }, enumerable: !0, configurable: !0 }), t.prototype.equals = function(t) { var e = t; return null != e && e.left == this.left && e.top == this.top && e.right == this.right && e.bottom == this.bottom } , t.create = function(e) { return void 0 === e && (e = 3), new t(e,e,e,e) } , t.empty = t.create(), t }(); e.StiMargin = i }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiJson , i = function() { function t(t, e, r, i) { this.left = 5, this.top = 5, this.right = 5, this.bottom = 5, this.left = t, this.right = r, this.top = e, this.bottom = i } return t.prototype.saveToJsonObject = function(t, e, i, n, o) { if (void 0 === e && (e = 5), void 0 === i && (i = 5), void 0 === n && (n = 5), void 0 === o && (o = 5), this.left == e && this.top == i && this.right == n && this.bottom == o) return null; var a = new r; return a.addPropertyNumber("Left", this.left, e), a.addPropertyNumber("Top", this.top, i), a.addPropertyNumber("Right", this.right, n), a.addPropertyNumber("Bottom", this.bottom, o), a } , t.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.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 "Right": this.right = o.value.stimulsoft.toNumber(); break; case "Bottom": this.bottom = o.value.stimulsoft.toNumber(); break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , t.prototype.loadFromXml = function(t) { var e = t.textContent.toString().split(","); this.left = e[0].stimulsoft.toNumber(), this.top = e[1].stimulsoft.toNumber(), this.right = e[2].stimulsoft.toNumber(), this.bottom = e[3].stimulsoft.toNumber() } , t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(t.prototype, "isEmpty", { get: function() { return 0 == this.left && 0 == this.top && 0 == this.right && 0 == this.bottom }, enumerable: !0, configurable: !0 }), t.prototype.equals = function(t) { var e = t; return null != e && e.left == this.left && e.top == this.top && e.right == this.right && e.bottom == this.bottom } , t.create = function(e) { return void 0 === e && (e = 5), new t(e,e,e,e) } , t.empty = t.create(), t }(); e.StiPadding = i }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Drawing.StiColor , i = t.System.Collections.List , n = function() { function t() {} return t.sets = new i([r.get2("2f528f", "3960a7", "406dbb", "6d89cb", "9eadd8", "c0c9e4"), r.get2("ae5a21", "ca6a28", "e2772e", "ef9164", "f3b29a", "f6ccbe"), r.get2("787878", "8c8c8c", "9d9d9d", "b1b1b1", "c6c6c6", "d8d8d8"), r.get2("bc8c00", "daa400", "f3b700", "ffc859", "ffd695", "ffe2bc"), r.get2("41719c", "4c84b6", "5694cb", "7aa9da", "a4c0e3", "c4d5eb"), r.get2("507e32", "5f933b", "6ba543", "88b76e", "acca9e", "c9dbc1"), r.get2("5f5f5f", "b3b3b3", "898989", "212121", "dadada", "aaaaaa"), r.get2("c0c9e4", "9eadd8", "6d89cb", "406dbb", "3960a7", "2f528f"), r.get2("f6ccbe", "f3b29a", "ef9164", "e2772e", "ca6a28", "ae5a21"), r.get2("d8d8d8", "c6c6c6", "b1b1b1", "9d9d9d", "8c8c8c", "787878"), r.get2("ffe2bc", "ffd695", "ffc859", "f3b700", "daa400", "bc8c00"), r.get2("c4d5eb", "a4c0e3", "7aa9da", "5694cb", "4c84b6", "41719c"), r.get2("c9dbc1", "acca9e", "88b76e", "6ba543", "5f933b", "507e32")]), t.negativeSets = new i([r.get2("ee0e1b", "d20213", "b3030f", "9d040c", "7f0005", "6b0004"), r.get2("f36642", "f24e29", "e64926", "d74222", "c93c1e", "af3017"), r.get2("de3a70", "c81a57", "c81a57", "b21852", "9c144e", "780d46"), r.get2("718792", "5b7481", "4f6570", "41525b", "344047", "252e32")]), t }(); e.StiPredefinedColors = n }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function t() {} return t.getSize = function(t, e) { if (null == e) return null; var r = this.stimulsoft.getHashCode(t, e); return null != this.stringToSize.get(r) ? this.stringToSize.get(r) : null } , t.putSize = function(t, e, r) { if (null == e) return; var i = this.stimulsoft.getHashCode(t, e); this.stringToSize.set(i, r) } , t.getHashCode = function(t, e) { return t.stimulsoft.getHashCode().toString() + e } , t.stringToSize = new r, t }(); e.StiStringMeasureCache = i }(r = e.Dashboard || (e.Dashboard = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.StiString , i = t.System.Text.XMLConvert , n = function() { function n() {} return Object.defineProperty(n.prototype, "getPropertiesSupported", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), n.rangeToString = function(t) { return (new n).convertTo(null, null, t, String) } , n.stringToRange = function(t) { return (new n).convertFrom(null, null, t) } , n.prototype.convertTo = function(t, n, o, a) { if (a == String) { var s = o.stimulsoft.as(e.CharRange); if (null != s) return r.format("Char,{0},{1}", i.encodeName(s.from.toString()), i.encodeName(s.to.toString())); var l = null , u = null , c = o.stimulsoft.as(e.DateTimeRange); if (null != c) { try { l = c.from ? c.from.toString() : "", u = c.to ? c.to.toString() : "" } finally {} return r.format("DateTime,{0},{1}", i.encodeName(l), i.encodeName(u)) } var m = o.stimulsoft.as(e.TimeSpanRange); if (null != m) { try { l = m.from ? m.from.toString() : "", u = m.to ? m.to.toString() : "" } finally {} return r.format("TimeSpan,{0},{1}", i.encodeName(l), i.encodeName(u)) } var p = o.stimulsoft.as(e.DecimalRange); if (null != p) return r.format("Decimal,{0},{1}", i.encodeName(p.from.toString().stimulsoft.replaceAll(",", ".")), i.encodeName(p.to.toString().stimulsoft.replaceAll(",", "."))); var h = o.stimulsoft.as(e.FloatRange); if (null != h) return r.format("Float,{0},{1}", i.encodeName(h.from.toString().stimulsoft.replaceAll(",", ".")), i.encodeName(h.to.toString().stimulsoft.replaceAll(",", "."))); var d = o.stimulsoft.as(e.DoubleRange); if (null != d) return r.format("Double,{0},{1}", i.encodeName(d.from.toString().stimulsoft.replaceAll(",", ".")), i.encodeName(d.to.toString().stimulsoft.replaceAll(",", "."))); var g = o.stimulsoft.as(e.ByteRange); if (null != g) return r.format("Byte,{0},{1}", g.from, g.to); var f = o.stimulsoft.as(e.ShortRange); if (null != f) return r.format("Short,{0},{1}", f.from, f.to); var S = o.stimulsoft.as(e.IntRange); if (null != S) return r.format("Int,{0},{1}", S.from, S.to); var A = o.stimulsoft.as(e.LongRange); if (null != A) return r.format("Long,{0},{1}", A.from, A.to); var y = o.stimulsoft.as(e.GuidRange); if (null != y) return r.format("Guid,{0},{1}", i.encodeName(y.from.toString()), i.encodeName(y.to.toString())); var w = o.stimulsoft.as(e.StringRange); if (null != w) return r.format("String,{0},{1}", i.encodeName(w.from.toString()), i.encodeName(w.to.toString())) } return !1 } , n.prototype.canConvertFrom = function(t, e) { if ("string" == typeof e) return !0; return !1 } , n.prototype.canConvertTo = function(t, e) { if ("object" == typeof e) return !0; if ("string" == typeof e) return !0; return !1 } , n.prototype.convertFrom = function(n, o, a) { if ("string" == typeof a) { var s = a.stimulsoft.as(String) , l = s.split(","); if ("Char" == l[0]) return new e.CharRange(i.decodeName(l[1])[0],i.decodeName(l[2])[0]); if ("DateTime" == l[0]) { var u = void 0 , c = void 0; try { var m = i.decodeName(l[1]) , p = i.decodeName(l[2]); u = r.isNullOrEmpty(m.trim()) ? null : t.System.DateTime.fromString(m), c = r.isNullOrEmpty(p.trim()) ? null : t.System.DateTime.fromString(p) } finally {} return new e.DateTimeRange(u,c) } if ("TimeSpan" == l[0]) { var h = void 0 , d = void 0; try { var m = i.decodeName(l[1]) , p = i.decodeName(l[2]); h = r.isNullOrEmpty(m.trim()) ? null : t.System.TimeSpan.fromString(m), d = r.isNullOrEmpty(p.trim()) ? null : t.System.TimeSpan.fromString(p) } finally {} return new e.TimeSpanRange(h,d) } if ("Decimal" == l[0]) { var g = i.decodeName(l[1]).stimulsoft.toNumber() , f = i.decodeName(l[2]).stimulsoft.toNumber(); return new e.DecimalRange(g,f) } if ("Float" == l[0]) { var g = i.decodeName(l[1]).stimulsoft.toNumber() , f = i.decodeName(l[2]).stimulsoft.toNumber(); return new e.FloatRange(g,f) } if ("Double" == l[0]) { var g = i.decodeName(l[1]).stimulsoft.toNumber() , f = i.decodeName(l[2]).stimulsoft.toNumber(); return new e.DoubleRange(g,f) } if ("Byte" == l[0]) { var g = l[1].stimulsoft.toNumber(!1) , f = l[2].stimulsoft.toNumber(!1); return new e.ByteRange(g,f) } if ("Short" == l[0]) { var g = l[1].stimulsoft.toNumber(!1) , f = l[2].stimulsoft.toNumber(!1); return new e.ShortRange(g,f) } if ("Int" == l[0]) { var g = l[1].stimulsoft.toNumber(!1) , f = l[2].stimulsoft.toNumber(!1); return new e.IntRange(g,f) } if ("Long" == l[0]) { var g = l[1].stimulsoft.toNumber(!1) , f = l[2].stimulsoft.toNumber(!1); return new e.LongRange(g,f) } if ("Guid" == l[0]) { var m = i.decodeName(l[1]) , p = i.decodeName(l[2]) , S = void 0 , A = void 0; return S = r.isNullOrEmpty(m) ? t.System.Guid.empty : new t.System.Guid(m), A = r.isNullOrEmpty(p) ? t.System.Guid.empty : new t.System.Guid(p), new e.GuidRange(S,A) } if ("String" == l[0]) { var m = i.decodeName(l[1]) , p = i.decodeName(l[2]); return new e.StringRange(m,p) } } return !1 } , n }(); e.RangeConverter = n }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = t.System.Drawing.Size , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "rulerStep", { get: function() { return 100 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "factor", { get: function() { return 100 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "shortName", { get: function() { return "hi" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "name", { get: function() { return "HundredthsOfInch" }, enumerable: !0, configurable: !0 }), e.prototype.convertToHInches = function(e) { if (e.stimulsoft.is(r)) return t.prototype.convertToHInches.call(this, e); if (e.stimulsoft.is(i)) return t.prototype.convertToHInches.call(this, e); return e } , e.prototype.convertFromHInches = function(e) { if (e.stimulsoft.is(r)) return t.prototype.convertFromHInches.call(this, e); if (e.stimulsoft.is(i)) return t.prototype.convertFromHInches.call(this, e); return e } , e }(e.StiUnit); e.StiHundredthsOfInchUnit = n }(r = e.Units || (e.Units = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = t.System.Drawing.Size , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "rulerStep", { get: function() { return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "factor", { get: function() { return 100 / 2.54 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "shortName", { get: function() { return "cm" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "name", { get: function() { return "Centimeters" }, enumerable: !0, configurable: !0 }), e.prototype.convertToHInches = function(e) { if ("number" != typeof e) return t.prototype.convertToHInches.call(this, e); return 100 * e / 2.54 } , e.prototype.convertFromHInches = function(e) { if (e.stimulsoft.is(r)) return t.prototype.convertFromHInches.call(this, e); if (e.stimulsoft.is(i)) return t.prototype.convertFromHInches.call(this, e); return 2.54 * e / 100 } , e }(e.StiUnit); e.StiCentimetersUnit = n }(r = e.Units || (e.Units = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = t.System.Drawing.Size , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "rulerStep", { get: function() { return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "factor", { get: function() { return 100 / 2.54 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "shortName", { get: function() { return "mm" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "name", { get: function() { return "Millimeters" }, enumerable: !0, configurable: !0 }), e.prototype.convertToHInches = function(e) { if (e.stimulsoft.is(r)) return t.prototype.convertToHInches.call(this, e); if (e.stimulsoft.is(i)) return t.prototype.convertToHInches.call(this, e); return 10 * e / 2.54 } , e.prototype.convertFromHInches = function(e) { if (e.stimulsoft.is(r)) return t.prototype.convertFromHInches.call(this, e); if (e.stimulsoft.is(i)) return t.prototype.convertFromHInches.call(this, e); return 2.54 * e / 10 } , e }(t.Report.Units.StiUnit); e.StiMillimetersUnit = n }(r = e.Units || (e.Units = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Drawing.StiAction , n = t.Report.Units.StiMillimetersUnit , o = t.Report.Units.StiCentimetersUnit , a = t.Report.Units.StiHundredthsOfInchUnit , s = t.System.Drawing.Color , l = t.Base.Drawing.StiColorUtils , u = t.Report.Components.StiQuickInfoType , c = function() { function t(t) { void 0 === t && (t = null), this._forceDesigningMode = !1, this._quickInfoType = u.None, this._generateLocalizedName = !1, this._showDimensionLines = !0, this._quickInfoOverlay = !0, this._isComponentsMoving = !1, this._currentAction = i.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 = e.StiGridMode.Lines, this._report = t } return t.prototype.clone = function(e) { var r = new t(e); return r._forceDesigningMode = this._forceDesigningMode, r._quickInfoType = this._quickInfoType, r._generateLocalizedName = this._generateLocalizedName, r._showDimensionLines = this._showDimensionLines, r._quickInfoOverlay = this._quickInfoOverlay, r._isComponentsMoving = this._isComponentsMoving, r._currentAction = this._currentAction, r._isTableMode = this._isTableMode, r._drawMarkersWhenMoving = this._drawMarkersWhenMoving, r._runDesignerAfterInsert = this._runDesignerAfterInsert, r._useLastFormat = this._useLastFormat, r._autoSaveInterval = this._autoSaveInterval, r._enableAutoSaveMode = this._enableAutoSaveMode, r._showOrder = this._showOrder, r._alignToGrid = this._alignToGrid, r._autoSaveReportToReportClass = this._autoSaveReportToReportClass, r._showGrid = this._showGrid, r._showInteractive = this._showInteractive, r._zoom = this._zoom, r._showRulers = this._showRulers, r._gridSizePixels = this._gridSizePixels, r._gridSizeCentimetres = this._gridSizeCentimetres, r._gridSizeHundredthsOfInch = this._gridSizeHundredthsOfInch, r._gridSizeInch = this._gridSizeInch, r._gridSizeMillimeters = this._gridSizeMillimeters, r._fillBands = this._fillBands, r._fillCrossBands = this._fillCrossBands, r._fillContainer = this._fillContainer, r._fillComponent = this._fillComponent, r._useComponentColor = this._useComponentColor, r._gridMode = this._gridMode, r._forceDesigningMode = this._forceDesigningMode, r._quickInfoType = this._quickInfoType, r._generateLocalizedName = this._generateLocalizedName, r._showDimensionLines = this._showDimensionLines, r._quickInfoOverlay = this._quickInfoOverlay, r._isComponentsMoving = this._isComponentsMoving, r._currentAction = this._currentAction, r._isTableMode = this._isTableMode, r._drawEventMarkers = this._drawEventMarkers, r._drawMarkersWhenMoving = this._drawMarkersWhenMoving, r._runDesignerAfterInsert = this._runDesignerAfterInsert, r._useLastFormat = this._useLastFormat, r._autoSaveInterval = this._autoSaveInterval, r._enableAutoSaveMode = this._enableAutoSaveMode, r._showOrder = this._showOrder, r._alignToGrid = this._alignToGrid, r._autoSaveReportToReportClass = this._autoSaveReportToReportClass, r._showHeaders = this._showHeaders, r._showGrid = this._showGrid, r._showInteractive = this._showInteractive, r._zoom = this._zoom, r._showRulers = this._showRulers, r._gridSizePixels = this._gridSizePixels, r._gridSizeCentimetres = this._gridSizeCentimetres, r._gridSizeHundredthsOfInch = this._gridSizeHundredthsOfInch, r._gridSizeInch = this._gridSizeInch, r._gridSizeMillimeters = this._gridSizeMillimeters, r._fillBands = this._fillBands, r._fillCrossBands = this._fillCrossBands, r._fillContainer = this._fillContainer, r._fillComponent = this._fillComponent, r._useComponentColor = this._useComponentColor, r._gridMode = this._gridMode, r } , Object.defineProperty(t.prototype, "forceDesigningMode", { get: function() { return this._forceDesigningMode }, set: function(t) { this._forceDesigningMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "quickInfoType", { get: function() { return this._quickInfoType }, set: function(t) { this._quickInfoType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "generateLocalizedName", { get: function() { return this._generateLocalizedName }, set: function(t) { this._generateLocalizedName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "showDimensionLines", { get: function() { return this._showDimensionLines }, set: function(t) { this._showDimensionLines = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "quickInfoOverlay", { get: function() { return this._quickInfoOverlay }, set: function(t) { this._quickInfoOverlay = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isComponentsMoving", { get: function() { return this._isComponentsMoving }, set: function(t) { this._isComponentsMoving = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "currentAction", { get: function() { return this._currentAction }, set: function(t) { this._currentAction = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isTableMode", { get: function() { return this._isTableMode }, set: function(t) { this._isTableMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "drawEventMarkers", { get: function() { return this._drawEventMarkers }, set: function(t) { this._drawEventMarkers = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "drawMarkersWhenMoving", { get: function() { return this._drawMarkersWhenMoving }, set: function(t) { this._drawMarkersWhenMoving = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "runDesignerAfterInsert", { get: function() { return this._runDesignerAfterInsert }, set: function(t) { this._runDesignerAfterInsert = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "useLastFormat", { get: function() { return this._useLastFormat }, set: function(t) { this._useLastFormat = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "autoSaveInterval", { get: function() { return this._autoSaveInterval }, set: function(t) { this._autoSaveInterval = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "enableAutoSaveMode", { get: function() { return this._enableAutoSaveMode }, set: function(t) { this._enableAutoSaveMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "showOrder", { get: function() { return this._showOrder }, set: function(t) { this._showOrder = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "alignToGrid", { get: function() { return this._alignToGrid }, set: function(t) { this._alignToGrid = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "autoSaveReportToReportClass", { get: function() { return this._autoSaveReportToReportClass }, set: function(t) { this._autoSaveReportToReportClass = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "showHeaders", { get: function() { return this._showHeaders }, set: function(t) { this._showHeaders = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "showGrid", { get: function() { return this._showGrid }, set: function(t) { this._showGrid = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "showInteractive", { get: function() { return this._showInteractive }, set: function(t) { this._showInteractive = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "zoom", { get: function() { return this._zoom }, set: function(t) { this._zoom = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "showRulers", { get: function() { return this._showRulers }, set: function(t) { this._showRulers = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "gridSizePoints", { get: function() { return this._gridSizePoints }, set: function(t) { this._gridSizePoints = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "gridSizePixels", { get: function() { return this._gridSizePixels }, set: function(t) { this._gridSizePixels = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "gridSizeCentimetres", { get: function() { return this._gridSizeCentimetres }, set: function(t) { this._gridSizeCentimetres = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "gridSizeHundredthsOfInch", { get: function() { return this._gridSizeHundredthsOfInch }, set: function(t) { this._gridSizeHundredthsOfInch = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "gridSizeInch", { get: function() { return this._gridSizeInch }, set: function(t) { this._gridSizeInch = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "gridSizeMillimeters", { get: function() { return this._gridSizeMillimeters }, set: function(t) { this._gridSizeMillimeters = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "gridSize", { get: function() { if (this.report.unit.stimulsoft.is(n)) return this.report.info.gridSizeMillimeters; if (this.report.unit.stimulsoft.is(o)) return this.report.info.gridSizeCentimetres; if (this.report.unit.stimulsoft.is(a)) return this.report.info.gridSizeHundredthsOfInch; return this.report.info.gridSizeInch }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "fillBands", { get: function() { return this._fillBands }, set: function(t) { this._fillBands = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "fillCrossBands", { get: function() { return this._fillCrossBands }, set: function(t) { this._fillCrossBands = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "fillContainer", { get: function() { return this._fillContainer }, set: function(t) { this._fillContainer = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "fillComponent", { get: function() { return this._fillComponent }, set: function(t) { this._fillComponent = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "useComponentColor", { get: function() { return this._useComponentColor }, set: function(t) { this._useComponentColor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "gridMode", { get: function() { return this._gridMode }, set: function(t) { this._gridMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "report", { get: function() { return this._report }, set: function(t) { this._report = t }, enumerable: !0, configurable: !0 }), t.prototype.getFillColor = function(t) { var e = s.empty; return this.useComponentColor ? e = s.fromArgb(40, t) : (e = l.dark(s.white, 40), e = s.fromArgb(100, e)), e } , t }(); r.StiDesignerInfo = c }(r = e.Design || (e.Design = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Char , o = t.Base.StiLexer , a = t.Base.StiTokenType , s = t.System.Collections.Hashtable , l = function() { function t(t, e) { this.first = t, this.second = e } return t }() , u = function() { function t() {} return t.packExpression = function(t, e, r) { var i, n, u = { ref: new s }, c = { ref: new s }; this.buildDictionary(e, u, c, !0); var m = 0 , p = new o(t) , h = null , d = null , g = t , f = 0; do { var S = p.getToken(); if (S.type == a.EOF) break; if (r && S.type == a.LBrace) f++; else if (r && S.type == a.RBrace) f--; else if (S.type == a.Ident && (!r || r && f > 0)) { var A = S.data.toString().stimulsoft.replaceAll(" ", "").toLowerCase() , y = null; if (null != h && h.type == a.Dot) { var w = Array.isArray(c.ref.get(A)) ? c.ref.get(A) : null; if (null != w) try { for (var b = (i = void 0, __values(w)), v = b.next(); !v.done; v = b.next()) { var C = v.value , E = C.stimulsoft.as(l); null != E && (null != d ? d.type == a.Ident && d.data.toString().toLowerCase() == E.first.toLowerCase() && (y = E.second) : y = E.second) } } catch (t) { i = { error: t } } finally { try { v && !v.done && (n = b.return) && n.call(b) } finally { if (i) throw i.error } } } else y = u.ref.get(A); if (null != y) { var B = y.length - S.length; g = g.stimulsoft.remove(S.index + m, S.length), g = g.stimulsoft.insert(S.index + m, y, 0), m += B } } d = h, h = S } while (1 == 1); return g } , t.unPackExpression = function(t, e, r) { var i, n, l = { ref: new s }, u = { ref: new s }; this.buildDictionary(e, l, u, !1); var c = 0 , m = new o(t) , p = null , h = null , d = t , g = 0 , f = null; do { var S = m.getToken(); if (S.type == a.EOF) break; if (r && S.type == a.LBrace) g++; else if (r && S.type == a.RBrace) g--; else if ((!r || r && g > 0) && (S.type == a.LBracket || S.type == a.Ident)) { var A = -1 , y = -1 , w = null; if (S.type == a.LBracket) { A = S.index + c, y = A; do { var b = m.getToken(); if (null == S && (S = b), b.type == a.EOF) { A = -1; break } if (b.type == a.RBracket) break; y = b.index + b.length + c } while (1 == 1); if (-1 == A) break; A -= c, y -= c, w = t.substr(A, y - A + 1) } else A = S.index, y = S.index + S.length, w = S.data.toString(); var v = w.length; w = w.stimulsoft.replaceAll(" ", "").toLowerCase(); var C = null; if (null != p && p.type == a.Dot) { var E = u.ref.get(w); if (null != E) try { for (var B = (i = void 0, __values(E)), T = B.next(); !T.done; T = B.next()) { var I = T.value , x = I; null != x && (null != h ? null != f && f.toLowerCase() == x.first.toLowerCase() && (C = x.second) : C = x.second) } } catch (t) { i = { error: t } } finally { try { T && !T.done && (n = B.return) && n.call(B) } finally { if (i) throw i.error } } } else C = l.ref.get(w); if (null != C) { var F = C.length - v; d = d.stimulsoft.remove(S.index + c, v), d = d.stimulsoft.insert(S.index + c, C, 0), c += F } f = C } h = p, p = S } while (1 == 1); return d } , t.isValidName = function(t) { if (i.isNullOrEmpty(t) || !n.isLetter(t[0]) && "_" != t[0]) return !1; for (var e = 0; e < t.length; e++) if (!n.isLetterOrDigit(t[e]) && "_" != t[e]) return !1; return !0 } , t.getCorrectedAlias = function(t, e) { if (this.isValidName(e)) return e; return i.format("[{0}]", e) } , t.addWord = function(t, e, r) { if (t.containsKey(e)) { var i = t.get(e); i.add(r) } else { var i = []; i.add(r), t.set(e, i) } } , t.buildDictionary = function(t, r, i, n) { var o, a, u, c, m, p, h, d, g, f; if (r.ref = new s, i.ref = new s, null != t) { try { for (var S = __values(t.dictionary.dataSources.list), A = S.next(); !A.done; A = S.next()) { var y = A.value , w = y.name , b = this.getCorrectedAlias(t, y.alias); n ? (w = w.stimulsoft.replaceAll(" ", "").toLowerCase(), y.name != y.alias && r.ref.set(w, b), e.StiNameValidator.correctName(y.name, !0, t) != y.alias && (r.ref.set(e.StiNameValidator.correctName(w, !0, t), b), r.ref.set(e.StiNameValidator.correctName(y.name, !0, t).toLowerCase(), b))) : (b = b.stimulsoft.replaceAll(" ", "").toLowerCase(), r.ref.set(b, e.StiNameValidator.correctName(w, !0, t))); try { for (var v = (u = void 0, __values(y.columns.list)), C = v.next(); !C.done; C = v.next()) { var E = C.value , B = E.name , T = this.getCorrectedAlias(t, E.alias); if (n) { B = B.stimulsoft.replaceAll(" ", "").toLowerCase(); var I = e.StiNameValidator.correctName(B, !0, t); E.name != E.alias && this.addWord(i.ref, B, new l(w,T)), e.StiNameValidator.correctName(E.name, !0, t) != E.alias && (this.addWord(i.ref, e.StiNameValidator.correctName(B, !0, t), new l(w,T)), this.addWord(i.ref, e.StiNameValidator.correctName(E.name, !0, t).toLowerCase(), new l(w,T))) } else T = T.stimulsoft.replaceAll(" ", "").toLowerCase(), this.addWord(i.ref, T, new l(w,e.StiNameValidator.correctName(B, !0, t))) } } catch (t) { u = { error: t } } finally { try { C && !C.done && (c = v.return) && c.call(v) } finally { if (u) throw u.error } } } } catch (t) { o = { error: t } } finally { try { A && !A.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } try { for (var x = __values(t.dictionary.businessObjects.list), F = x.next(); !F.done; F = x.next()) { var D = F.value; this.buildBusinessObject(t, D, r, i, n) } } catch (t) { m = { error: t } } finally { try { F && !F.done && (p = x.return) && p.call(x) } finally { if (m) throw m.error } } } if (null != t) try { for (var R = __values(t.dictionary.relations.list), P = R.next(); !P.done; P = R.next()) { var N = P.value , k = N.name , M = this.getCorrectedAlias(t, N.alias); if (n) { k = k.stimulsoft.replaceAll(" ", "").toLowerCase(); var O = e.StiNameValidator.correctName(k, !0, t); N.name != N.alias && this.addWord(i.ref, k, M), e.StiNameValidator.correctName(N.name, !0, t) != N.alias && (this.addWord(i.ref, e.StiNameValidator.correctName(k, !0, t), M), this.addWord(i.ref, e.StiNameValidator.correctName(N.name, !0, t).toLowerCase(), M)) } else M = M.stimulsoft.replaceAll(" ", "").toLowerCase(), this.addWord(i.ref, M, e.StiNameValidator.correctName(k, !0, t)) } } catch (t) { h = { error: t } } finally { try { P && !P.done && (d = R.return) && d.call(R) } finally { if (h) throw h.error } } if (null != t) try { for (var _ = __values(t.dictionary.variables.list), L = _.next(); !L.done; L = _.next()) { var j = L.value , H = j.name , G = this.getCorrectedAlias(t, j.alias); if (n) { H = H.stimulsoft.replaceAll(" ", "").toLowerCase(); var Q = e.StiNameValidator.correctName(H, !0, t); j.name != j.alias && r.ref.set(H, G), e.StiNameValidator.correctName(j.name, !0, t) != j.alias && (r.ref.set(e.StiNameValidator.correctName(H, !0, t), G), r.ref.set(e.StiNameValidator.correctName(j.name, !0, t).toLowerCase(), G)) } else G = G.stimulsoft.replaceAll(" ", "").toLowerCase(), r.ref.set(G, e.StiNameValidator.correctName(H, !0, t)) } } catch (t) { g = { error: t } } finally { try { L && !L.done && (f = _.return) && f.call(_) } finally { if (g) throw g.error } } } , t.buildBusinessObject = function(t, r, i, n, o) { var a, s, u, c, m = r.name, p = this.getCorrectedAlias(t, r.alias); o ? (m = m.stimulsoft.replaceAll(" ", "").toLowerCase(), r.name != r.alias && i.ref.set(m, p), e.StiNameValidator.correctName(r.name, !0, t) != r.alias && (i.ref.set(e.StiNameValidator.correctName(m, !0, t), p), i.ref.set(e.StiNameValidator.correctName(r.name, !0, t).toLowerCase(), p))) : (p = p.stimulsoft.replaceAll(" ", "").toLowerCase(), i.ref.set(p, e.StiNameValidator.correctName(m, !0, t))); try { for (var h = __values(r.columns.list), d = h.next(); !d.done; d = h.next()) { var g = d.value , f = g.name , S = this.getCorrectedAlias(t, g.alias); if (o) { f = f.stimulsoft.replaceAll(" ", "").toLowerCase(); var A = e.StiNameValidator.correctName(f, !0, t); g.name != g.alias && this.addWord(n.ref, f, new l(m,S)), e.StiNameValidator.correctName(g.name, !0, t) != g.alias && (this.addWord(n.ref, e.StiNameValidator.correctName(f, !0, t), new l(m,S)), this.addWord(n.ref, e.StiNameValidator.correctName(g.name, !0, t).toLowerCase(), new l(m,S))) } else S = S.stimulsoft.replaceAll(" ", "").toLowerCase(), this.addWord(n.ref, S, new l(m,e.StiNameValidator.correctName(f, !0, t))) } } catch (t) { a = { error: t } } finally { try { d && !d.done && (s = h.return) && s.call(h) } finally { if (a) throw a.error } } try { for (var y = __values(r.businessObjects.list), w = y.next(); !w.done; w = y.next()) { var b = w.value; this.buildBusinessObject(t, b, i, n, o) } } catch (t) { u = { error: t } } finally { try { w && !w.done && (c = y.return) && c.call(y) } finally { if (u) throw u.error } } } , t }(); r.StiExpressionPacker = u }(r = e.Design || (e.Design = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Localization.StiLocalization , i = t.Base.Services.StiService , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceCategory", { get: function() { return r.get("Services", "categoryDictionary") }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "serviceType", { get: function() { return e.stimulsoft.getType() }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isObjectAdapter", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), e.prototype.getDatabaseSpecificName = function(t) { return t } , e.prototype.getDataCategoryName = function(t) { return null } , e.getDataAdapter = function(t) { var e = StiOptions.Services.dataAdapters.where(function(t) { return t.serviceEnabled }) , r = null; if (null != r) return r; return e.firstOrDefault(function(e) { return e.getDataSourceType() == t.stimulsoft.getType() }) } , e.getDataAdapter2 = function(t) { var e, r; if (null == t || null == t.data) return null; var i = t.data.stimulsoft.getType(); try { for (var n = __values(StiOptions.Services.dataAdapters.where(function(t) { return t.serviceEnabled })), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (null != a && a.isAdapterDataType(i)) return a } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return null } , e.prototype.create = function(t, e) { return void 0 === e && (e = !0), null } , e.prototype.getDataSourceType = function() { return null } , e.prototype.getDataTypes = function() { return null } , e.prototype.isAdapterDataType = function(t) { var e, r; if (null == t) return !1; var i = this.getDataTypes(); if (null == i) return !1; try { for (var n = __values(i), o = n.next(); !o.done; o = n.next()) { if (o.value == t) return !0 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return !1 } , e.prototype.getColumnsFromDataAsync = function(t, e, r) { return null } , e.prototype.getColumnsFromData = function(t, e, r) { return null } , e.prototype.getParametersFromData = function(t, e) { return } , e.prototype.setDataSourceNames = function(t, e) {} , e.prototype.connectDataSourceToDataAsync = function(t, e, r) { return null } , e.prototype.connectDataSourceToData = function(t, e, r) {} , e.prototype.toString = function() { return this.serviceName } , e }(i); e.StiDataAdapterService = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Activator , n = t.Base.Localization.StiLocalization , o = function(t) { function o() { return null !== t && t.apply(this, arguments) || this } return __extends(o, t), o.prototype.setDataSourceNames = function(t, e) { e.stimulsoft.as(r.StiDataStoreSource).nameInSource = t.name } , o.prototype.create = function(t, r) { void 0 === r && (r = !0); var o = i.createInstance(this.getDataSourceType()); return null != o && r && (o.name = o.alias = e.StiNameCreation.createName(t.report, n.get("PropertyMain", "DataSource")), t.dataSources.add(o)), o } , o }(r.StiDataAdapterService); r.StiDataStoreAdapterService = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Localization.StiLocalization , i = t.System.StiString , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return i.format(r.get("Adapters", "AdapterConnection")) }, enumerable: !0, configurable: !0 }), e.prototype.getDataCategoryName = function(t) { return t.name } , e }(e.StiDataStoreAdapterService); e.StiFileAdapterService = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiPromise , i = t.Base.StiBIDataCacheHelper , n = t.Base.StiBIDataCacheOptions , o = function() { function t() {} return t.fetchAll = function(t, e) { return e.dataSources.toList().where(function(e) { return e.getCategoryName().toLowerCase() == t.name.toLowerCase() }).toList() } , t.regData = function(t, e, r) { if (this.existsInCache(t, e)) return; t && t.regData(e, r), this.regDataAfter(t, e, r) } , t.regDataAsync = function(t, e, i) { var n = this , o = new r; if (this.existsInCache(t, e)) return o.callTry(); return t ? t.regDataAsync(e, i).try(function() { n.regDataAfterAsync(t, e, i).try(function() { o.callTry() }) }) : this.regDataAfterAsync(t, e, i).try(function() { o.callTry() }), o } , t.regDataAfter = function(t, r, o) { var a, s; if (!n.enabled) return; if (t && t.stimulsoft.is(e.StiFileDatabase) && (o = !0), !o) return; var l = this.fetchAll(t, r); try { for (var u = __values(l), c = u.next(); !c.done; c = u.next()) { var m = c.value; if (i.exists(m.key)) continue; m.connect(null, o), null != m.dataTable && m.dataTable.columns.count > 0 && i.add(r.report, m.key, m.dataTable), m.disconnect() } } catch (t) { a = { error: t } } finally { try { c && !c.done && (s = u.return) && s.call(u) } finally { if (a) throw a.error } } } , t.regDataAfterAsync = function(t, o, a) { var s, l, u = new r; if (!n.enabled) return u.callTry(); if (t && t.stimulsoft.is(e.StiFileDatabase) && (a = !0), !a) return u.callTry(); var c = this.fetchAll(t, o) , m = c.length , p = function(t) { if (i.exists(t.key)) return "continue"; t.connectAsync(null, a).try(function() { null != t.dataTable && t.dataTable.columns.count > 0 && i.add(o.report, t.key, t.dataTable), t.disconnect(), 0 == m && u.callTry() }) }; try { for (var h = __values(c), d = h.next(); !d.done; d = h.next()) { p(d.value) } } catch (t) { s = { error: t } } finally { try { d && !d.done && (l = h.return) && l.call(h) } finally { if (s) throw s.error } } return 0 == m && u.callTry(), u } , t.existsInCache = function(t, e) { if (!n.enabled) return !1; var r = this.fetchAll(t, e); if (null == r) return !1; return r.all(function(t) { return i.exists(t.key) }) } , t.getColumnsFromData = function(t, e, r) { return t.getColumnsFromData(e, r, "") } , t.getColumnsFromDataAsync = function(t, e, r) { return t.getColumnsFromDataAsync(e, r, "") } , t.connectDataSourceToData = function(t, e, r, o) { if (n.enabled && i.exists(r.key)) return void (r.dataTable = i.get(r.key, o)); t.connectDataSourceToData(e, r, o), n.enabled && null != r.dataTable && r.dataTable.columns.count > 0 && o && i.add(e.report, r.key, r.dataTable) } , t.connectDataSourceToDataAsync = function(t, e, o, a) { var s = new r; if (n.enabled && i.exists(o.key)) return o.dataTable = i.get(o.key, a), s.callTry(); var l = function() { n.enabled && null != o.dataTable && o.dataTable.columns.count > 0 && a && i.add(e.report, o.key, o.dataTable) }; return t.connectDataSourceToDataAsync(e, o, a).try(function() { l(), s.callTry() }).catch(function(t) { l(), s.callCatch(t) }), s } , t.retrieveDataAsync = function(t, e) { return void 0 === e && (e = !1), t.retrieveDataAsync(e) } , t.connect = function(t, e, r) { void 0 === r && (r = !0), t.connect(e, r) } , t.connectAsync = function(t, e, r) { return void 0 === r && (r = !0), t.connectAsync(e, r) } , t.disconnect = function(t) { t.disconnect() } , t }(); e.StiDataLeader = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Report.Dictionary.StiDataLeader , n = t.Base.StiCsvHelper , o = function(t) { function o() { return null !== t && t.apply(this, arguments) || this } return __extends(o, t), Object.defineProperty(o.prototype, "name", { get: function() { return "CSV" }, enumerable: !0, configurable: !0 }), o.prototype.getColumnsFromData = function(t, i) { var o, a, s = new r.StiDataColumnsCollection, l = i.stimulsoft.as(r.StiCsvSource); if (null == l) return s; try { var u = n.getTable(l.path, l.codePage, l.separator); try { for (var c = __values(u.columns.list), m = c.next(); !m.done; m = c.next()) { var p = m.value , h = e.StiNameValidator.correctName(p.columnName); s.add(new r.StiDataColumn(h,p.caption,"",p.dataType)) } } catch (t) { o = { error: t } } finally { try { m && !m.done && (a = c.return) && a.call(c) } finally { if (o) throw o.error } } } catch (t) {} return s } , o.prototype.getParametersFromData = function(t, e) { return new r.StiDataParametersCollection } , o.prototype.setDataSourceNames = function(e, r) { t.prototype.setDataSourceNames.call(this, e, r); var i = r.path; i = null == i || 0 == i.trim().length ? "Csv" : i.substr(i.lastIndexOf(".")), r.name = i, r.alias = i } , o.prototype.getDataSourceType = function() { return r.StiCsvSource } , o.prototype.getDataTypes = function() { return [r.StiCsvSource] } , o.prototype.connectDataSourceToData = function(t, e, r) { try { i.disconnect(e); var o = e , a = n.getTable(o.path, o.codePage, o.separator); r || a.rows.clear(), a.tableName = o.name, e.dataTable = a, this.checkConvertNulls(o) } catch (t) {} } , o.prototype.checkConvertNulls = function(t) { var e, r; if (null == t.dictionary || null == t.dictionary.report) return; if (!t.convertEmptyStringToNull) return; for (var i = t.dataTable, n = Array.create(Boolean, i.columns.count), o = 0; o < i.columns.count; o++) { var a = i.columns.getByIndex(o) , s = t.columns.getByName(a.columnName); null != s && s.type != String && (n[o] = !0) } try { for (var l = __values(i.rows.list), u = l.next(); !u.done; u = l.next()) for (var c = u.value, o = 0; o < i.columns.count; o++) if (n[o]) { var m = c.getValueByIndex(o); m.stimulsoft.is(String) && "" == m && c.setValueByIndex(o, null) } } catch (t) { e = { error: t } } finally { try { u && !u.done && (r = l.return) && r.call(l) } finally { if (e) throw e.error } } } , o }(r.StiFileAdapterService); r.StiCsvAdapterService = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Localization.StiLocalization , i = function(e) { function i() { return null !== e && e.apply(this, arguments) || this } return __extends(i, e), i.prototype.getDataCategoryName = function(t) { return t.name } , i.prototype.testConnection = function(e) { try { return "" } catch (e) { return t.System.StiError.showError(e, !1), r.get("DesignerFx", "ConnectionError") + ": " + e.message } } , i }(e.StiDataStoreAdapterService); e.StiNoSqlAdapterService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dictionary.StiDataLeader , i = function(t) { function i() { return null !== t && t.apply(this, arguments) || this } return __extends(i, t), Object.defineProperty(i.prototype, "name", { get: function() { return "MongoDB" }, enumerable: !0, configurable: !0 }), i.prototype.getDataSourceType = function() { return e.StiMongoDbSource } , i.prototype.getColumnsFromData = function(t, r) { var i = new e.StiDataColumnsCollection , n = r; return i } , i.prototype.connectDataSourceToData = function(t, e, i) { if (r.disconnect(e), !i) return } , i }(e.StiNoSqlAdapterService); e.StiMongoDbAdapterService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Dictionary.StiDataLeader , n = t.Base.Localization.StiLocalization , o = function(t) { function o() { var e = null !== t && t.apply(this, arguments) || this; return e.serviceName = r.format(n.get("Adapters", "AdapterConnection"), n.get("PropertyMain", "DataTransformation")), e.isObjectAdapter = !0, e } return __extends(o, t), o.prototype.edit = function(t, e) { throw new Error("NotImplementedException") } , o.prototype.new = function(t, e) { throw new Error("NotImplementedException") } , o.prototype.getDataTypes = function() { return null } , o.prototype.getColumnsFromData = function(t, r) { return new e.StiDataColumnsCollection } , o.prototype.getParametersFromData = function(t, r) { return new e.StiDataParametersCollection } , o.prototype.getDataCategoryName = function(t) { return this.serviceName } , o.prototype.getDataSourceType = function() { return e.StiDataTransformation } , o.prototype.connectDataSourceToData = function(t, e, r) { i.disconnect(e) } , o }(e.StiDataStoreAdapterService); e.StiDataTransformationAdapterService = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dictionary.StiDataLeader , i = t.Base.Localization.StiLocalization , n = t.System.StiPromise , o = function(t) { function o() { return null !== t && t.apply(this, arguments) || this } return __extends(o, t), Object.defineProperty(o.prototype, "serviceName", { get: function() { return i.get("Adapters", "AdapterVirtualSource") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "isObjectAdapter", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), o.prototype.getDataTypes = function() { return null } , o.prototype.getColumnsFromDataAsync = function(t, r, i) { var o = new n; return o.callTry(new e.StiDataColumnsCollection), o } , o.prototype.getColumnsFromData = function(t, r, i) { return new e.StiDataColumnsCollection } , o.prototype.getParametersFromData = function(t, r) { return new e.StiDataParametersCollection } , o.prototype.getDataCategoryName = function(t) { return this.serviceName } , o.prototype.getDataSourceType = function() { return e.StiVirtualSource } , o.prototype.connectDataSourceToDataAsync = function(t, e, i) { var o = new n; return r.disconnect(e), o.callTry(), o } , o.prototype.connectDataSourceToData = function(t, e, i) { r.disconnect(e) } , o }(e.StiDataStoreAdapterService); e.StiVirtualAdapterService = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiDataWorldConnector , i = t.Report.Dictionary.StiDataLeader , n = t.System.Data.DataTable , o = t.System.StiPromise , a = t.Base.StiDataSchema , s = t.System.StiString , l = t.Base.StiDataWorldHelper , u = t.Base.Localization.StiLocalization , c = function(c) { function m() { return null !== c && c.apply(this, arguments) || this } return __extends(m, c), m.prototype.getDataSourceType = function() { return e.StiDataWorldSource } , m.prototype.createConnector = function(t) { return r.get(t) } , m.prototype.getColumnsFromData = function(t, r) { for (var i, n, o = new e.StiDataColumnsCollection, a = r, s, l = 0; l < r.dictionary.databases.count; l++) { var u = r.dictionary.databases.getByIndex(l).stimulsoft.as(e.StiDatabase); if (null != u && u.name == a.nameInSource) { s = u.stimulsoft.as(e.StiDataWorldDatabase); break } } if (null == s) return o; var c = this.createConnector(s.connectionString) , m = c.getColumns(a.name); try { for (var p = __values(m), h = p.next(); !h.done; h = p.next()) { var d = h.value; o.add(new e.StiDataColumn(d.name,d.name,"",d.type)) } } catch (t) { i = { error: t } } finally { try { h && !h.done && (n = p.return) && n.call(p) } finally { if (i) throw i.error } } return o } , m.prototype.getParametersFromData = function(t, r) { return new e.StiDataParametersCollection } , m.prototype.connectDataSourceToDataAsync = function(e, r, i) { var n = new o , a = this; return setTimeout(function() { try { a.connectDataSourceToData(e, r, i), n.callTry() } catch (e) { t.System.StiError.showError(e, !1), n.callCatch(e.message) } }), n } , m.prototype.connectDataSourceToData = function(t, r, o) { if (i.disconnect(r), !o) return void (r.dataTable = new n); for (var a = r.stimulsoft.as(e.StiDataWorldSource), s, l = 0; l < t.databases.count; l++) { var u = t.databases.getByIndex(l).stimulsoft.as(e.StiDataWorldDatabase); if (null != u && u.name == a.nameInSource) { s = u; break } } var c = this.createConnector(s.connectionString); if (null == c) return; var m = a.query , p = t.report; r.dataTable = c.getDataTable(a.name, m) } , m.prototype.testConnectionAsync = function(e, r) { var i = new o; try { var n = new l(r) , a = n.testConnection(); 1 == a.success ? i.callTry(u.get("DesignerFx", "ConnectionSuccessfull")) : i.callCatch(u.get("DesignerFx", "ConnectionError") + ": " + a.notice) } catch (e) { t.System.StiError.showError(e, !1), i.callCatch(u.get("DesignerFx", "ConnectionError") + ": " + e.message) } return i } , m.prototype.retrieveSchemaAsync = function(e, r, i, n) { void 0 === n && (n = null); var u = new o; if (s.isNullOrEmpty(i)) return u.callCatch("The connection string is empty."), u; var c = new a; try { c = new l(i).retrieveSchema(), u.callTry(c) } catch (e) { t.System.StiError.showError(e, !1), u.callCatch(e.message) } return u } , m }(e.StiNoSqlAdapterService); e.StiDataWorldAdapterService = c }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Dictionary.StiDataLeader , n = t.System.Data.DataColumn , o = t.Base.StiDataColumnSchema , a = t.Base.StiDataTableSchema , s = t.System.Collections.Hashtable , l = t.Base.StiDataSchema , u = t.System.Data.DataTable , c = t.Base.Localization.StiLocalization , m = t.System.StiPromise , p = function(p) { function h() { return p.call(this) || this } return __extends(h, p), Object.defineProperty(h.prototype, "url", { get: function() { return StiOptions.WebServer.url }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "serviceName", { get: function() { return r.format(c.get("Adapters", "AdapterConnection"), this.name) }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "name", { get: function() { return "MS SQL" }, enumerable: !0, configurable: !0 }), h.prototype.getDatabaseSpecificName = function(t) { return r.format("[{0}]", t) } , h.prototype.getDataCategoryName = function(t) { return t.name } , h.prototype.getColumnsFromDataAsync = function(i, n, o) { var a = new m , s = new e.StiDataColumnsCollection , l = n; try { if (r.isNullOrEmpty(l.sqlCommand)) a.callCatch(); else { var u = l.type == e.StiSqlSourceType.StoredProcedure; u || 0 || this.retrieveDataAsync(l.dictionary.report, l, o, l.sqlCommand).try(function(t) { var r, i; try { for (var n = __values(t.columns.list), o = n.next(); !o.done; o = n.next()) { var l = o.value , u = l.dataType; s.add(new e.StiDataColumn(l.columnName,l.columnName,l.columnName,u)) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } a.callTry(s) }).catch(function(t) { a.callCatch(t) }).abort(a) } } catch (e) { t.System.StiError.showError(e, !1) } return a } , h.prototype.getParametersFromData = function(t, i) { var n = new e.StiDataParametersCollection , o = i; if (o.type == e.StiSqlSourceType.StoredProcedure) try { r.isNullOrEmpty(o.sqlCommand) } catch (t) {} return n } , h.prototype.getDataSourceType = function() { return e.StiSqlSource } , h.prototype.connectDataSourceToDataAsync = function(e, r, n) { var o = new m; if (i.disconnect(r), !n) return r.dataTable = new u, o.callTry(), o; var a = r , s = a.nameInSource.toLowerCase(); try { i.retrieveDataAsync(a, !n).try(function() { o.callTry() }).catch(function(t) { o.callCatch(t) }).abort(o) } catch (e) { t.System.StiError.showError(e, !1), o.callCatch(e) } return o } , h.prototype.callRemoteApi = function(e, i) { var n, o, a = new m; e.rnd = Math.random(); try { if (r.isNullOrEmpty(this.url)) a.callCatch('An URL to the data adapter should be specified to get data from SQL database.
        Please, read the manual for additional information.'); else { var s = new XMLHttpRequest; if (s.open("post", this.url, !0), s.timeout = i, e.headers) try { for (var l = __values(e.headers), u = l.next(); !u.done; u = l.next()) { var p = u.value; s.setRequestHeader(p.key, p.value) } } catch (t) { n = { error: t } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (n) throw n.error } } delete e.headers, s.onload = function() { if (200 == s.status) { var t = s.responseText; s.abort(), a.callTry(t) } } , s.onerror = function(t) { a.callCatch(c.get("DesignerFx", "ConnectionError")) } ; var h = JSON.stringify(e); s.send(h) } } catch (e) { t.System.StiError.showError(e, !1), a.callCatch(e.message) } return a.catch(function(t) { s && s.abort() }), a.onAbort(function() { s && s.abort() }), a } , h.prototype.process = function(e, r, i) { var n = this , o = new m; h.callTurn.insert(0, { command: r, timeout: i, promise: o }); var a = function() { if (h.callTurn.length > 0) { var r = h.callTurn.peek() , i = function(i) { var n, o, s = i; try { if (null != i && i.stimulsoft.is(String) && (s = JSON.parse(i)), s.hasOwnProperty("types") && null != s.types && s.types.stimulsoft.is(Array)) for (var l in s.types) if ("array" == s.types[l]) try { for (var u = (n = void 0, __values(s.rows)), c = u.next(); !c.done; c = u.next()) { var m = c.value; m[l] = t.System.Convert.fromBase64String(m[l]) } } catch (t) { n = { error: t } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (n) throw n.error } } } catch (t) { s = { success: !1, notice: "Error Parse." } } var p = { result: s }; e.invokeEndProcessData(p), p.result.success ? r.promise.callTry(p.result) : r.promise.callCatch(p.result), h.callTurn.pop(), a() }; r.command.preventDefault = !1, e.invokeBeginProcessData(r.command, i), 0 == r.command.preventDefault && (delete r.command.preventDefault, n.callRemoteApi(r.command, r.timeout).timeout(r.timeout).try(function(e) { try { i(e) } catch (e) { t.System.StiError.showError(e, !1), r.promise.callCatch({ success: !1, notice: e.message }), h.callTurn.pop(), a() } }).catch(function(t) { r.promise.callCatch({ success: !1, notice: t }), h.callTurn.pop(), a() }).abort(o)) } }; return 1 == h.callTurn.length && a(), o.onAbort(function() { for (var t = 0; t < h.callTurn.length; t++) if (h.callTurn[t].promise == o) return void h.callTurn.splice(t, 1) }), o } , h.prototype.testConnectionAsync = function(t, e) { var i = new m; if (r.isNullOrEmpty(e)) return i.callCatch(c.get("DesignerFx", "ConnectionError") + ": Connection string empty"), i; var n = { command: "TestConnection", connectionString: e, database: this.name, headers: [] }; return this.process(t, n, 1e4).try(function(t) { i.callTry(c.get("DesignerFx", "ConnectionSuccessfull")) }).catch(function(t) { i.callCatch(c.get("DesignerFx", "ConnectionError") + ": " + t.notice) }).abort(i), i } , h.prototype.createConnectionInDataStore = function(r, i) { try { if (null == i.name) return; var n = r.dataStore.toList().firstOrDefault(function(t) { return null != t.name && t.name.toLowerCase() == i.name.toLowerCase() }); null != n && r.dataStore.remove(n), n = new e.StiData(i.name,null), n.isReportData = !0, r.dataStore.add(n) } catch (e) { t.System.StiError.showError(e, !1) } } , h.prototype.retrieveSchemaAsync = function(e, i, n, u) { void 0 === u && (u = null); var p = new m; if (r.isNullOrEmpty(n)) return p.callCatch(c.get("DesignerFx", "ConnectionError") + ": Connection string empty"), p; u || (u = "SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES"); var h = { command: "ExecuteQuery", connectionString: n, queryString: u.stimulsoft.replaceAll("\t", " ").stimulsoft.replaceAll("\\t", " ").stimulsoft.replaceAll("\r", " ").stimulsoft.replaceAll("\n", " "), database: this.name, headers: [] }; if (i) { var d = i.nameInSource.indexOf("."); -1 == d && (d = i.nameInSource.length); var g = i.nameInSource.substring(0, d); h.dataSource = i.name, h.connection = g } var f = i ? 1e3 * i.commandTimeout : 30 * 1e3 , S = this , A = new l; S.process(e, h, f).try(function(i) { var n, l, u = new s, c = ""; try { for (var m = __values(i.rows), d = m.next(); !d.done; d = m.next()) { var g = d.value , w = g[i.columns.indexOf("TABLE_NAME")] , b = g[i.columns.indexOf("TABLE_TYPE")] , v = a.newTableOrView(w); u.set(w, v), r.isNullOrEmpty(c) ? c = " WHERE " : c += " OR ", c += "TABLE_NAME='" + w + "'", "BASE TABLE" == b && A.tables.add(v), "VIEW" == b && A.views.add(v) } } catch (t) { n = { error: t } } finally { try { d && !d.done && (l = m.return) && l.call(m) } finally { if (n) throw n.error } } if (c.length <= 0) return void y(A); h.queryString = "SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS" + c, S.process(e, h, f).try(function(e) { var r, i; try { for (var n = __values(e.rows), s = n.next(); !s.done; s = n.next()) { var l = s.value , c = l[e.columns.indexOf("TABLE_NAME")] , m = l[e.columns.indexOf("COLUMN_NAME")] , p = l[e.columns.indexOf("DATA_TYPE")] , h = String; switch (p.toLowerCase()) { case "bigint": h = t.System.Int64; break; case "numeric": case "bit": h = t.System.Int16; break; case "smallint": h = t.System.Int16; break; case "decimal": h = t.System.Decimal; break; case "smallmoney": h = t.System.Decimal; break; case "int": h = t.System.Int32; break; case "tinyint": h = t.System.Int16; break; case "money": h = t.System.Decimal; break; case "float": case "real": h = t.System.Float; break; case "date": case "datetimeoffset": case "datetime2": case "smalldatetime": case "datetime": case "time": h = t.System.DateTime; break; case "char": case "varchar": case "text": case "nchar": case "nvarchar": case "ntext": case "binary strings": h = String; break; case "binary": case "varbinary": case "image": h = t.System.ByteArray; break; case "cursor": case "timestamp": case "hierarchyid": case "uniqueidentifier": case "sql_variant": case "xml": case "table": case "spatial types": } var d = new o(m,h) , g = u.get(c).stimulsoft.as(a); null != g && g.columns.add(d) } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } }).catch(function(e) { t.System.StiError.showError(e.notice) }).finally(function(t) { y(A) }).abort(p) }).catch(function(t) { p.callCatch(t.notice) }).abort(p); var y = function(t) { h.queryString = "SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE'", S.process(e, h, f).try(function(e) { var r, i; try { for (var n = __values(e.rows), o = n.next(); !o.done; o = n.next()) { var s = o.value , l = s[e.columns.indexOf("ROUTINE_NAME")] , u = a.newProcedure(l); t.storedProcedures.add(u) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } p.callTry(t) }).catch(function(t) { p.callCatch(t.notice) }).abort(p) }; return p } , h.prototype.retrieveDataAsync = function(e, i, o, a) { var s = new m; r.isNullOrEmpty(o) && (o = ""), r.isNullOrEmpty(a) && (a = ""); var l = { command: "ExecuteQuery", connectionString: o, queryString: a.stimulsoft.replaceAll("\t", " ").stimulsoft.replaceAll("\\t", " ").stimulsoft.replaceAll("\r", " ").stimulsoft.replaceAll("\n", " "), database: this.name, headers: [] }; if (i) { var c = i.nameInSource.indexOf("."); -1 == c && (c = i.nameInSource.length); var p = i.nameInSource.substring(0, c); l.dataSource = i.name, l.connection = p } var h = i ? 1e3 * i.commandTimeout : 30 * 1e3, d; return this.process(e, l, h).try(function(e) { var i, o; try { d = new u(r.isNullOrEmpty(l.dataSource) ? "table1" : l.dataSource); for (var a in e.columns) { var c = e.columns[a] , m = String; if (e.hasOwnProperty("types") && null != e.types) switch (e.types[a]) { case "boolean": m = Boolean; break; case "int": m = t.System.Int32; break; case "number": m = t.System.Decimal; break; case "string": m = String; break; case "array": m = t.System.ByteArray; break; case "datetime": m = t.System.DateTime; break } var p = new n(c,m); d.columns.add(p) } try { for (var h = __values(e.rows), g = h.next(); !g.done; g = h.next()) { var f = g.value , S = d.addNewRow(); for (var a in f) { var p = d.columns.getByIndex(a.stimulsoft.toNumber()) , A = f[a]; S.setValue(p, A) } } } catch (t) { i = { error: t } } finally { try { g && !g.done && (o = h.return) && o.call(h) } finally { if (i) throw i.error } } s.callTry(d) } catch (e) { t.System.StiError.showError(e, !1), s.callCatch(e.message) } }).catch(function(t) { s.callCatch(t.notice) }).abort(s), s } , h.callTurn = [], h }(e.StiDataStoreAdapterService); e.StiSqlAdapterService = p }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Dictionary.StiDataLeader , n = t.Base.Localization.StiLocalization , o = t.System.Data.DataTable , a = t.System.Data.DataColumn , s = t.Base.StiODataHelper , l = t.Base.StiDataSchema , u = t.System.StiPromise , c = function(c) { function m() { return null !== c && c.apply(this, arguments) || this } return __extends(m, c), Object.defineProperty(m.prototype, "serviceName", { get: function() { return n.get("Adapters", "AdapterDataTables") }, enumerable: !0, configurable: !0 }), m.prototype.getDataSourceType = function() { return e.StiODataSource } , m.prototype.connectDataSourceToDataAsync = function(e, r, i) { var n = new u , o = this; return setTimeout(function() { try { o.connectDataSourceToData(e, r, i), n.callTry() } catch (e) { t.System.StiError.showError(e, !1), n.callCatch(e.message) } }), n } , m.prototype.connectDataSourceToData = function(t, r, n) { if (!n) return; i.disconnect(r); for (var l = r.stimulsoft.as(e.StiODataSource), u, c = 0; c < t.databases.count; c++) { var m = t.databases.getByIndex(c).stimulsoft.as(e.StiODataDatabase); if (null != m && m.name == l.nameInSource) { u = m; break } } if (null == u) return; for (var p = new o(l.name), c = 0; c < l.columns.count; c++) { var h = l.columns.getByIndex(c); p.columns.add(new a(h.name,h.type)) } new s(u.connectionString).fillDataTable(p, l.sqlCommand), l.dataTable = p } , m.prototype.testConnectionAsync = function(e, r) { var i = new u; try { var o = new s(r) , a = o.testConnection(); 1 == a.success ? i.callTry(n.get("DesignerFx", "ConnectionSuccessfull")) : i.callCatch(n.get("DesignerFx", "ConnectionError") + ": " + a.notice) } catch (e) { t.System.StiError.showError(e, !1), i.callCatch(n.get("DesignerFx", "ConnectionError") + ": " + e.message) } return i } , m.prototype.retrieveSchemaAsync = function(e, i, n, o) { void 0 === o && (o = null); var a = new u; if (r.isNullOrEmpty(n)) return a.callCatch("The connection string is empty."), a; var c = new l; try { c = new s(n).retrieveSchema(), a.callTry(c) } catch (e) { t.System.StiError.showError(e, !1), a.callCatch(e.message) } return a } , m }(e.StiSqlAdapterService); e.StiODataAdapterService = c }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.StiDataSchema , n = t.Base.StiDataColumnSchema , o = t.Base.StiDataTableSchema , a = t.System.Collections.Hashtable , s = t.Base.Localization.StiLocalization , l = t.System.StiPromise , u = function(u) { function c() { return null !== u && u.apply(this, arguments) || this } return __extends(c, u), Object.defineProperty(c.prototype, "name", { get: function() { return "Firebird" }, enumerable: !0, configurable: !0 }), c.prototype.getDataSourceType = function() { return e.StiFirebirdSource } , c.prototype.retrieveSchemaAsync = function(e, u, c, m) { void 0 === m && (m = null); var p = new l; if (r.isNullOrEmpty(c)) return p.callCatch(s.get("DesignerFx", "ConnectionError") + ": Connection string empty"), p; m || (m = "SELECT RDB$RELATION_NAME, RDB$VIEW_BLR FROM RDB$RELATIONS WHERE (RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0)"); var h = { command: "ExecuteQuery", connectionString: c, queryString: m, database: this.name, headers: [] }; if (u) { var d = u.nameInSource.indexOf("."); -1 == d && (d = u.nameInSource.length); var g = u.nameInSource.substring(0, d); h.dataSource = u.name, h.connection = g } var f = u ? 1e3 * u.commandTimeout : 30 * 1e3 , S = this; return S.process(e, h, f).try(function(s) { for (var l, u, c = new i, m = new a, d = "", g = 0; g < s.columns.length; g++) s.columns[g] = s.columns[g].toLowerCase(); try { for (var A = __values(s.rows), y = A.next(); !y.done; y = A.next()) { var w = y.value , b = w[s.columns.indexOf("rdb$relation_name")].trim() , v = w[s.columns.indexOf("rdb$view_blr")] , C = o.newTableOrView(b); m.set(b, C), r.isNullOrEmpty(d) ? d = " AND (" : d += " OR ", d += "b.RDB$RELATION_NAME='" + b + "'", null == v ? c.tables.add(C) : c.views.add(C) } } catch (t) { l = { error: t } } finally { try { y && !y.done && (u = A.return) && u.call(A) } finally { if (l) throw l.error } } r.isNullOrEmpty(d) || (d += ") "), h.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'" + d + "ORDER BY a.RDB$RELATION_NAME, b.RDB$FIELD_ID", S.process(e, h, f).try(function(e) { for (var r, i, a = 0; a < e.columns.length; a++) e.columns[a] = e.columns[a].toLowerCase(); try { for (var s = __values(e.rows), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = u[e.columns.indexOf("rdb$relation_name")].trim() , p = u[e.columns.indexOf("rdb$field_name")].trim() , h = u[e.columns.indexOf("rdb$type_name")].trim() , d = String; switch (h) { case "BLOB": d = t.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": d = String; break; case "DATE": case "TIME": case "TIMESTAMP": d = t.System.DateTime; break; case "DECIMAL": d = t.System.Decimal; break; case "LONG": d = t.System.Long; break; case "SHORT": d = t.System.Short; break; case "DOUBLE PRECISION": d = t.System.Double; break; case "FLOAT": d = t.System.Float; break; case "INT64": d = t.System.Int64; break; case "INTEGER": d = t.System.Int32; break; case "NUMERIC": d = t.System.Int64; break; case "SMALLINT": d = t.System.Int16; break } var g = new n(p,d) , f = m.get(c).stimulsoft.as(o); null != f && f.columns.add(g) } } catch (t) { r = { error: t } } finally { try { l && !l.done && (i = s.return) && i.call(s) } finally { if (r) throw r.error } } }).catch(function(e) { t.System.StiError.showError(e.notice) }).finally(function(t) { p.callTry(c) }) }).catch(function(t) { p.callCatch(t.notice) }).abort(p), p } , c }(e.StiSqlAdapterService); e.StiFirebirdAdapterService = u }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.StiDataSchema , n = t.Base.StiDataColumnSchema , o = t.Base.StiDataTableSchema , a = t.System.Collections.Hashtable , s = t.Base.Localization.StiLocalization , l = t.System.StiPromise , u = function(u) { function c() { return null !== u && u.apply(this, arguments) || this } return __extends(c, u), Object.defineProperty(c.prototype, "name", { get: function() { return "MySQL" }, enumerable: !0, configurable: !0 }), c.prototype.getDatabaseSpecificName = function(t) { return r.format("`{0}`", t) } , c.prototype.getDataSourceType = function() { return e.StiMySqlSource } , c.prototype.retrieveSchemaAsync = function(e, u, c, m) { var p, h; void 0 === m && (m = null); var d = new l; if (r.isNullOrEmpty(c)) return d.callCatch(s.get("DesignerFx", "ConnectionError") + ": Connection string empty"), d; var g = { command: "ExecuteQuery", connectionString: c, queryString: m, database: this.name, headers: [] }; if (u) { var f = u.nameInSource.indexOf("."); -1 == f && (f = u.nameInSource.length); var S = u.nameInSource.substring(0, f); g.dataSource = u.name, g.connection = S } var A = ""; try { for (var y = __values(c.split(";")), w = y.next(); !w.done; w = y.next()) { var b = w.value; if (b) { var v = b.split("="); if (v && v.length >= 2) switch (v[0] = v[0].trim().toLowerCase(), v[1] = v[1].trim(), v[0]) { case "database": case "data source": A = v[1]; break } } } } catch (t) { p = { error: t } } finally { try { w && !w.done && (h = y.return) && h.call(y) } finally { if (p) throw p.error } } null == g.queryString && (g.queryString = "SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '" + A + "'"); var C = u ? 1e3 * u.commandTimeout : 30 * 1e3 , E = this; E.process(e, g, C).try(function(s) { var l, u, c = new i, m = new a, p = ""; try { for (var h = __values(s.rows), f = h.next(); !f.done; f = h.next()) { var S = f.value , A = S[s.columns.indexOf("TABLE_NAME")] , y = S[s.columns.indexOf("TABLE_TYPE")] , w = o.newTableOrView(A); m.set(A, w), r.isNullOrEmpty(p) ? p = " WHERE " : p += " OR ", p += "TABLE_NAME='" + A + "'", "BASE TABLE" == y && c.tables.add(w), "VIEW" == y && c.views.add(w) } } catch (t) { l = { error: t } } finally { try { f && !f.done && (u = h.return) && u.call(h) } finally { if (l) throw l.error } } if (p.length <= 0) return void B(c); g.queryString = "SELECT TABLE_NAME, COLUMN_NAME, COLUMN_TYPE FROM INFORMATION_SCHEMA.COLUMNS" + p, E.process(e, g, C).try(function(e) { var r, i; try { for (var o = __values(e.rows), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s[e.columns.indexOf("TABLE_NAME")] , u = s[e.columns.indexOf("COLUMN_NAME")] , c = s[e.columns.indexOf("COLUMN_TYPE")] , p = String; switch (c.indexOf("(") > 0 && (c = c.substr(0, c.indexOf("("))), c.indexOf(" ") > 0 && (c = c.substr(0, c.indexOf(" "))), c.toUpperCase()) { case "CHAR": case "VARCHAR": case "TINYTEXT": case "TEXT": case "MEDIUMTEXT": case "LONGTEXT": p = String; break; case "BLOB": case "MEDIUMBLOB": case "LONGBLOB": p = t.System.ByteArray; break; case "ENUM": case "SET": p = String; break; case "TINYINT": p = t.System.Int16; break; case "SMALLINT": p = t.System.Int16; break; case "MEDIUMINT": p = t.System.Int32; break; case "INT": p = t.System.Int16; break; case "BIGINT": p = t.System.Int64; break; case "FLOAT": p = t.System.Float; break; case "DOUBLE": p = t.System.Double; break; case "DECIMAL": p = t.System.Decimal; break; case "DATE": case "DATETIME": case "TIMESTAMP": case "TIME": case "YEAR": p = t.System.DateTime; break } var h = new n(u,p) , d = m.get(l); null != d && d.columns.add(h) } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } }).catch(function(e) { t.System.StiError.showError(e.notice) }).finally(function(t) { B(c) }).abort(d) }).catch(function(t) { d.callCatch(t.notice) }).abort(d); var B = function(t) { g.queryString = "SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE' AND ROUTINE_SCHEMA = '" + A + "'", E.process(e, g, C).try(function(e) { var r, i; try { for (var n = __values(e.rows), a = n.next(); !a.done; a = n.next()) { var s = a.value , l = s[e.columns.indexOf("ROUTINE_NAME")] , u = o.newProcedure(l); t.storedProcedures.add(u) } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } d.callTry(t) }).catch(function(t) { d.callCatch(t.notice) }).abort(d) }; return d } , c }(e.StiSqlAdapterService); e.StiMySqlAdapterService = u }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.StiDataSchema , n = t.Base.StiDataColumnSchema , o = t.Base.StiDataTableSchema , a = t.System.Collections.Hashtable , s = t.Base.Localization.StiLocalization , l = t.System.StiPromise , u = function(u) { function c() { return null !== u && u.apply(this, arguments) || this } return __extends(c, u), Object.defineProperty(c.prototype, "name", { get: function() { return "Oracle" }, enumerable: !0, configurable: !0 }), c.prototype.getDataSourceType = function() { return e.StiOracleSource } , c.prototype.retrieveSchemaAsync = function(e, u, c, m) { void 0 === m && (m = null); var p = new l; if (r.isNullOrEmpty(c)) return p.callCatch(s.get("DesignerFx", "ConnectionError") + ": Connection string empty"), p; m || (m = "SELECT OWNER, TABLE_NAME FROM ALL_TABLES WHERE OWNER NOT IN ('SYS','SYSTEM','OUTLN','WMSYS','CTXSYS','ORDSYS','XDB','MDSYS','TSMSYS','LBACSYS')"); var h = { command: "ExecuteQuery", connectionString: c, queryString: m, database: this.name, headers: [] }; if (u) { var d = u.nameInSource.indexOf("."); -1 == d && (d = u.nameInSource.length); var g = u.nameInSource.substring(0, d); h.dataSource = u.name, h.connection = g } var f = u ? 1e3 * u.commandTimeout : 30 * 1e3 , S = this , A = new i; return S.process(e, h, f).try(function(i) { var s, l, u = new a, c = ""; try { for (var m = __values(i.rows), d = m.next(); !d.done; d = m.next()) { var g = d.value , y = g[i.columns.indexOf("OWNER")] , w = g[i.columns.indexOf("TABLE_NAME")] , b = o.newTableOrView(y + "." + w); u.set(w, b), r.isNullOrEmpty(c) ? c = " WHERE " : c += " OR ", c += "TABLE_NAME='" + w + "'", A.tables.add(b) } } catch (t) { s = { error: t } } finally { try { d && !d.done && (l = m.return) && l.call(m) } finally { if (s) throw s.error } } if (c.length <= 0) return void p.callTry(A); h.queryString = "SELECT TABLE_NAME, COLUMN_NAME FROM ALL_TAB_COLS" + c, S.process(e, h, f).try(function(t) { var e, r; try { for (var i = __values(t.rows), a = i.next(); !a.done; a = i.next()) { var s = a.value , l = s[t.columns.indexOf("TABLE_NAME")] , c = s[t.columns.indexOf("COLUMN_NAME")] , m = new n(c) , p = u.get(l).stimulsoft.as(o); null != p && p.columns.add(m) } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } }).catch(function(e) { t.System.StiError.showError(e.notice) }).finally(function(t) { p.callTry(A) }).abort(p) }).catch(function(t) { p.callCatch(t.notice) }).abort(p), p } , c }(e.StiSqlAdapterService); e.StiOracleAdapterService = u }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.StiDataColumnSchema , n = t.Base.StiDataTableSchema , o = t.System.Collections.Hashtable , a = t.Base.StiDataSchema , s = t.Base.Localization.StiLocalization , l = t.System.StiPromise , u = function(u) { function c() { return null !== u && u.apply(this, arguments) || this } return __extends(c, u), Object.defineProperty(c.prototype, "name", { get: function() { return "PostgreSQL" }, enumerable: !0, configurable: !0 }), c.prototype.getDatabaseSpecificName = function(t) { return r.format('public."{0}"', t) } , c.prototype.getDataSourceType = function() { return e.StiPostgreSQLSource } , c.prototype.retrieveSchemaAsync = function(e, u, c, m) { void 0 === m && (m = null); var p = new l; if (r.isNullOrEmpty(c)) return p.callCatch(s.get("DesignerFx", "ConnectionError") + ": Connection string empty"), p; m || (m = "SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'public'"); var h = { command: "ExecuteQuery", connectionString: c, queryString: m, database: this.name, headers: [] }; if (u) { var d = u.nameInSource.indexOf("."); -1 == d && (d = u.nameInSource.length); var g = u.nameInSource.substring(0, d); h.dataSource = u.name, h.connection = g } var f = u ? 1e3 * u.commandTimeout : 30 * 1e3 , S = this , A = new a; S.process(e, h, f).try(function(a) { var s, l, u = new o, c = ""; try { for (var m = __values(a.rows), d = m.next(); !d.done; d = m.next()) { var g = d.value , w = g[a.columns.indexOf(a.columns.stimulsoft.toList().firstOrDefault(function(t) { return "TABLE_TYPE" == t.toUpperCase() }))] , b = g[a.columns.indexOf(a.columns.stimulsoft.toList().firstOrDefault(function(t) { return "TABLE_NAME" == t.toUpperCase() }))] , v = n.newTableOrView(b); u.set(b, v), r.isNullOrEmpty(c) ? c = " WHERE " : c += " OR ", c += "TABLE_NAME='" + b + "'", "BASE TABLE" == w && A.tables.add(v), "VIEW" == w && A.views.add(v) } } catch (t) { s = { error: t } } finally { try { d && !d.done && (l = m.return) && l.call(m) } finally { if (s) throw s.error } } if (c.length <= 0) return void y(A); h.queryString = "SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS" + c, S.process(e, h, f).try(function(e) { var r, o; try { for (var a = __values(e.rows), s = a.next(); !s.done; s = a.next()) { var l = s.value , c = l[e.columns.indexOf(e.columns.stimulsoft.toList().firstOrDefault(function(t) { return "TABLE_NAME" == t.toUpperCase() }))] , m = l[e.columns.indexOf(e.columns.stimulsoft.toList().firstOrDefault(function(t) { return "COLUMN_NAME" == t.toUpperCase() }))] , p = l[e.columns.indexOf(e.columns.stimulsoft.toList().firstOrDefault(function(t) { return "DATA_TYPE" == t.toUpperCase() }))] , h = String; switch (p) { case "boolean": case "bool": h = Boolean; break; case "bytea": h = t.System.ByteArray; break; case "serial": case "smallserial": case "smallint": case "integer": case "int": case "int4": case "double": h = t.System.Int64; break; case "numeric": h = t.System.Decimal; break; case "date": case "time": h = t.System.DateTime; break; case "timestamp": case "interval": h = t.System.TimeSpan; break } var d = new i(m,h) , g = u.get(c).stimulsoft.as(n); null != g && g.columns.add(d) } } catch (t) { r = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (r) throw r.error } } }).catch(function(e) { t.System.StiError.showError(e.notice) }).finally(function(t) { y(A) }).abort(p) }).catch(function(t) { p.callCatch(t.notice) }).abort(p); var y = function(t) { h.queryString = "SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE'", S.process(e, h, f).try(function(e) { var r, i; try { for (var o = __values(e.rows), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s[e.columns.indexOf("ROUTINE_NAME")] , u = n.newProcedure(l); t.storedProcedures.add(u) } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } p.callTry(t) }).catch(function(t) { p.callCatch(t.notice) }).abort(p) }; return p } , c }(e.StiSqlAdapterService); e.StiPostgreSQLAdapterService = u }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.Localization.StiLocalization , n = t.System.StiPromise , o = t.Base.StiDataSchema , a = t.Base.StiDataColumnSchema , s = t.Base.StiDataTableSchema , l = t.System.Data.DataSet , u = function(u) { function c() { var t = u.call(this) || this; return t._name = "Custom", t } return __extends(c, u), c.registerCustomAdapterService = function(t) { var e = new c; return e._name = t.name, e.processUserFunction = t.process, StiOptions.Services.dataAdapters.add(e), e } , Object.defineProperty(c.prototype, "name", { get: function() { return this._name }, enumerable: !0, configurable: !0 }), c.prototype.getDataSourceType = function() { return e.StiCustomSource } , c.prototype.callRemoteApi = function(e, r) { var i = this, o = new n, a, s; try { a = setTimeout(function() { null != s && clearTimeout(s), delete e.event, i.processUserFunction(e, function(t) { return o.callTry(t) }) }), s = setTimeout(function() { o.catch(function(t) { null != a && clearTimeout(a) }) }, r) } catch (e) { t.System.StiError.showError(e, !1), o.callCatch(e.message) } return o } , c.prototype.retrieveDataAsync = function(e, i, o, a) { var s = new n; r.isNullOrEmpty(o) && (o = ""), r.isNullOrEmpty(a) && (a = ""); var u = { command: "RetrieveData", connectionString: o, queryString: a.stimulsoft.replaceAll("\t", " ").stimulsoft.replaceAll("\\t", " ").stimulsoft.replaceAll("\r", " ").stimulsoft.replaceAll("\n", " "), database: this.name, headers: [] }, c = i ? 1e3 * i.commandTimeout : 30 * 1e3, m = i.name, p; return this.process(e, u, c).try(function(e) { var r, i, n, o; try { var a = new l; if (a.readJson({ root: e.data }), 1 == a.tables.count) s.callTry(a.tables.getByIndex(0)); else if (a.tables.count > 0) { var u = null; try { for (var c = __values(a.tables.list), p = c.next(); !p.done; p = c.next()) { var h = p.value; if (h.tableName == m) { u = h; break } } } catch (t) { r = { error: t } } finally { try { p && !p.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } if (null == u) try { for (var d = __values(a.tables.list), g = d.next(); !g.done; g = d.next()) { var f = g.value; if (0 == m.indexOf(f.tableName)) { u = f; break } } } catch (t) { n = { error: t } } finally { try { g && !g.done && (o = d.return) && o.call(d) } finally { if (n) throw n.error } } s.callTry(u || a.tables.getByIndex(0)) } } catch (e) { t.System.StiError.showError(e, !1), s.callCatch(e.message) } }).catch(function(t) { s.callCatch(t.notice) }).abort(s), s } , c.prototype.retrieveSchemaAsync = function(t, e, u, c) { void 0 === c && (c = null); var m = new n; if (r.isNullOrEmpty(u)) return m.callCatch(i.get("DesignerFx", "ConnectionError") + ": Connection string empty"), m; var p = { command: "RetrieveSchema", connectionString: u, database: this.name, headers: [] } , h = e ? 1e3 * e.commandTimeout : 30 * 1e3; return this.process(t, p, h).try(function(t) { var e, r, i, n, u = new l; u.readJson(t.data); var c = new o; try { for (var p = __values(u.tables.list), h = p.next(); !h.done; h = p.next()) { var d = h.value , g = s.newTableOrView(d.tableName); try { for (var f = (i = void 0, __values(d.columns.list)), S = f.next(); !S.done; S = f.next()) { var A = S.value , y = new a(A.columnName,A.dataType); g.columns.add(y) } } catch (t) { i = { error: t } } finally { try { S && !S.done && (n = f.return) && n.call(f) } finally { if (i) throw i.error } } c.tables.add(g) } } catch (t) { e = { error: t } } finally { try { h && !h.done && (r = p.return) && r.call(p) } finally { if (e) throw e.error } } m.callTry(c) }).catch(function(t) { m.callCatch(t.notice) }).abort(m), m } , c }(e.StiSqlAdapterService); e.StiCustomAdapterService = u }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function(t) { function i(e, r, i, n) { void 0 === e && (e = ""), void 0 === r && (r = ""), void 0 === i && (i = r), void 0 === n && (n = ""); var o = t.call(this, r, i, n) || this; return o.nameInSource = e, o } return __extends(i, t), i.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyStringNullOrEmpty("NameInSource", this.nameInSource), r } , i.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "NameInSource": this._nameInSource = a.value; break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , i.prototype.loadFromXml = function(e) { t.prototype.loadFromXml.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "NameInSource": this._nameInSource = i.textContent; break } } } , i.prototype.getCategoryName = function() { var i = e.StiDataAdapterService.getDataAdapter(this) , n = this.dictionary.dataStore.getByName(this.nameInSource); if (null != n && null != i) return i.getDataCategoryName(n); 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 o = this.nameInSource.lastIndexOf("."); if (-1 != o) return this.nameInSource.substr(0, o); if (!r.isNullOrEmpty(this.nameInSource)) return this.nameInSource; return t.prototype.getCategoryName.call(this) } , Object.defineProperty(i.prototype, "dataName", { get: function() { return this.nameInSource }, set: function(t) { this.nameInSource = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "nameInSource", { get: function() { return this._nameInSource }, set: function(t) { this._nameInSource = t }, enumerable: !0, configurable: !0 }), i }(e.StiDataSource); e.StiDataStoreSource = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = function(t) { function n(e, r, i, n) { return void 0 === e && (e = ""), void 0 === r && (r = ""), void 0 === i && (i = r), void 0 === n && (n = ""), t.call(this, e, r, i, n) || this } return __extends(n, t), n.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyStringNullOrEmpty("NameInSource", this.nameInSource), r } , n.prototype.loadFromJsonObject = function(e) { t.prototype.loadFromJsonObject.call(this, e) } , n.prototype.getCategoryName = function() { var e = this.nameInSource; if (i.isNullOrEmpty(e)) return t.prototype.getCategoryName.call(this); if (e = e.toLowerCase(), null != this.dictionary) { var n = this.dictionary.databases.toList().firstOrDefault(function(t) { return t.name.toLowerCase() == e }); if (null != n) return n.name } var o = r.StiDataAdapterService.getDataAdapter(this); if (null != o && null != o.stimulsoft.as(r.StiDataTableAdapterService)) { var a = o.getDataFromDataSource(this.dictionary, this); if (null == a) return t.prototype.getCategoryName.call(this); return o.getDataCategoryName(a) } return t.prototype.getCategoryName.call(this) } , n.prototype.getDataAdapterType = function() { return r.StiDataTableAdapterService } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiDataTableSource }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(r.StiDataStoreSource); r.StiDataTableSource = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.Localization.StiLocalization , o = t.System.Data.DataTable , a = t.System.StiPromise , s = function(s) { function l() { return null !== s && s.apply(this, arguments) || this } return __extends(l, s), Object.defineProperty(l.prototype, "serviceName", { get: function() { return n.get("Adapters", "AdapterDataTables") }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "isObjectAdapter", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), l.prototype.getDataCategoryName = function(t) { var e = t.name , r = t.viewData.stimulsoft.as(o); if (null == r && t.viewData.stimulsoft.is(o) && (r = t.viewData), null != r) if (null != t.name && t.data.stimulsoft.is(o)) { var n = e.lastIndexOf(".") , a = r.tableName.indexOf("."); -1 != a ? 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 && !i.isNullOrEmpty(t.alias)) { if (StiOptions.Dictionary.showOnlyAliasForData) return t.alias; e = i.format("{0} [{1}]", e, t.alias) } return e } , l.prototype.getColumnsFromDataAsync = function(t, e) { var r = new a; return r.callTry(this.getColumnsFromData(t, e)), r } , l.prototype.getColumnsFromData = function(t, i) { var n, a, s = new r.StiDataColumnsCollection, l = t.viewData.stimulsoft.as(o); null == l && t.viewData.stimulsoft.is(o) && (l = t.viewData.stimulsoft.as(o)); try { for (var u = __values(l.columns.list), c = u.next(); !c.done; c = u.next()) { var m = c.value; s.add(new r.StiDataColumn(m.columnName,m.caption,m.caption,m.dataType)) } } catch (t) { n = { error: t } } finally { try { c && !c.done && (a = u.return) && a.call(u) } finally { if (n) throw n.error } } for (var p = 0; p < s.count; p++) { var m = s.getByIndex(p).stimulsoft.as(r.StiDataColumn) , h = m.name , d = m.alias , g = m.name; StiOptions.Designer.autoCorrectDataColumnName && (m.name = e.StiNameValidator.correctName(m.name)), m.nameInSource = g, m.alias = g, d != h && (m.alias = d) } return s } , l.prototype.getParametersFromData = function(t, e) { return new r.StiDataParametersCollection } , l.prototype.setDataSourceNames = function(t, e) { s.prototype.setDataSourceNames.call(this, t, e); var r = t.viewData; null == r && t.viewData.stimulsoft.is(o) && (r = t.viewData), e.name = r.tableName, e.alias = r.tableName; var n = r.tableName; i.isNullOrEmpty(n) || (n = n.trim(), n.stimulsoft.startsWith("'") && n.stimulsoft.endsWith("'") && (e.alias = n.substr(1, n.length - 2))) } , l.prototype.create = function(t, e) { return void 0 === e && (e = !0), s.prototype.create.call(this, t, e) } , l.prototype.getDataSourceType = function() { return t.Report.Dictionary.StiDataTableSource } , l.prototype.getDataTypes = function() { return [o.stimulsoft.getType()] } , l.prototype.getDataFromDataSource = function(t, e) { var r, i, n, a, s, u, c, m, p = e, h = p.nameInSource.toLowerCase(); try { for (var d = __values(e.dictionary.dataStore.list), g = d.next(); !g.done; g = d.next()) { var f = g.value; if (f.name.toLowerCase() == h && f.viewData.stimulsoft.is(o)) return f } } catch (t) { r = { error: t } } finally { try { g && !g.done && (i = d.return) && i.call(d) } 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 S = null; -1 != h.indexOf(".") && (S = h.substr(h.indexOf(".") + 1)); try { for (var A = __values(e.dictionary.dataStore.list), y = A.next(); !y.done; y = A.next()) { var f = y.value; if (null != f.viewData && !f.viewData.stimulsoft.is(o)) continue; var w = f.name.toLowerCase(); if (w == h || w == S) return f; if (-1 != w.indexOf(".") && (w = w.substr(w.indexOf(".") + 1)), w == h || w == S) return f } } catch (t) { n = { error: t } } finally { try { y && !y.done && (a = A.return) && a.call(A) } finally { if (n) throw n.error } } if (!StiOptions.Dictionary.allowConnectToFirstTableForEmptyDataSource) return null; var b = 0 , v = null; try { for (var C = __values(e.dictionary.dataStore.list), E = C.next(); !E.done; E = C.next()) { var f = E.value; if (null != f.viewData && f.viewData.stimulsoft.is(o)) { if (++b > 1) return null; v = f } } } catch (t) { s = { error: t } } finally { try { E && !E.done && (u = C.return) && u.call(C) } finally { if (s) throw s.error } } if (1 == b && e.dictionary.dataSources.count > 1) { var B = 0; try { for (var T = __values(e.dictionary.dataSources.list), I = T.next(); !I.done; I = T.next()) { I.value.getDataAdapter().stimulsoft.is(l) && B++ } } catch (t) { c = { error: t } } finally { try { I && !I.done && (m = T.return) && m.call(T) } finally { if (c) throw c.error } } if (B > 1) return null } return v } , l.prototype.connectDataSourceToDataAsync = function(e, r, i) { var n = new a , o = this; return setTimeout(function() { try { o.connectDataSourceToData(e, r, i), n.callTry() } catch (e) { t.System.StiError.showError(e, !1), n.callCatch(e.message) } }), n } , l.prototype.connectDataSourceToData = function(t, e, i) { r.StiDataLeader.disconnect(e); var n = this.getDataFromDataSource(t, e); if (null == n) return; var a = n.viewData.stimulsoft.as(o); if (null == a && n.viewData.stimulsoft.is(o) && (a = n.viewData), null == a) return; e.dictionary.report.cacheAllData && i ? e.dataTable = e.getDataTable(a) : e.dictionary.report.cacheAllData ? (e.dictionary.report.cacheAllData = !1, e.dataTable = a, e.dictionary.report.cacheAllData = !0) : e.dataTable = a } , l }(r.StiDataStoreAdapterService); r.StiDataTableAdapterService = s }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t) { void 0 === t && (t = !1), this.isFirstInit = !1, this._runningTotal = !1, this._runningTotal = t } return Object.defineProperty(t.prototype, "serviceName", { get: function() { return null }, enumerable: !0, configurable: !0 }), t.prototype.init = function() {} , t.prototype.reset = function() { var t = this.runningTotal; this._runningTotal = !1, this.init(), this._runningTotal = t } , t.prototype.calcItem = function(t) {} , t.prototype.getValue = function() {} , t.prototype.setValue = function(t) {} , Object.defineProperty(t.prototype, "recureParam", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "runningTotal", { get: function() { return this._runningTotal }, set: function(t) { this._runningTotal = t }, enumerable: !0, configurable: !0 }), t }(); t.StiAggregateFunctionService = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.DateTime , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.avgValue = 0, e.count = 0, e } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "AvgDate" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.avgValue = 0, this.count = 0) } , e.prototype.calcItem = function(t) { if (null != t && t.stimulsoft.is(r)) { var e = t; this.count++ } } , e.prototype.getValue = function() { if (0 == this.count) return null } , e.prototype.setValue = function(t) {} , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiAvgDateFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiObjectConverter , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "Avg" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.summary = 0, this.count = 0) } , e.prototype.calcItem = function(t) { if (null == t) return; this.summary += r.convertToNumber(t), this.count++ } , e.prototype.getValue = function() { if (0 == this.count) return 0; return this.summary / this.count } , e.prototype.setValue = function(t) {} , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiAvgFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.TimeSpan , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.avgValue = 0, e.count = 0, e } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "AvgTime" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.avgValue = 0, this.count = 0) } , e.prototype.calcItem = function(t) { if (null != t && t.stimulsoft.is(r)) { var e = t; this.avgValue += e.ticks, this.count++ } } , e.prototype.getValue = function() { if (0 == this.count) return null; return new r(this.avgValue / this.count) } , e.prototype.setValue = function(t) {} , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiAvgTimeFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "CountDistinct" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.counter = 0, this.values = new r) } , e.prototype.calcItem = function(t) { null == this.values && (this.values = new r), null == this.values.get(t) && (this.values.set(t, t), this.counter++) } , e.prototype.getValue = function() { return this.counter } , e.prototype.setValue = function(t) { this.counter = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiCountDistinctFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "Count" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.counter = 0) } , e.prototype.calcItem = function(t) { this.counter++ } , e.prototype.getValue = function() { return this.counter } , e.prototype.setValue = function(t) { this.counter = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(t.StiAggregateFunctionService); t.StiCountFunctionService = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.first = !0, e } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "First" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.first = !0, this.value = null) } , e.prototype.calcItem = function(t) { this.first && (this.first = !1, this.value = t) } , e.prototype.getValue = function() { return this.value } , e.prototype.setValue = function(t) { this.value = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(t.StiAggregateFunctionService); t.StiFirstFunctionService = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "Last" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.value = null) } , e.prototype.calcItem = function(t) { this.value = t } , e.prototype.getValue = function() { return this.value } , e.prototype.setValue = function(t) { this.value = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(t.StiAggregateFunctionService); t.StiLastFunctionService = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.DateTime , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.valueProcessed = !1, e } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "MaxDate" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.valueProcessed = !1) } , e.prototype.calcItem = function(t) { if (t.stimulsoft.is(r)) { var e = t; this.valueProcessed ? this.maximum.ticks < e.ticks && (this.maximum = e) : (this.maximum = e, this.valueProcessed = !0) } } , e.prototype.getValue = function() { if (this.valueProcessed) return this.maximum; return null } , e.prototype.setValue = function(t) { this.maximum = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiMaxDateFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiObjectConverter , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "Max" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.maximum = Number.MIN_VALUE) } , e.prototype.calcItem = function(t) { if (null == t) return; var e = r.convertToNumber(t); this.maximum < e && (this.maximum = e) } , e.prototype.getValue = function() { return this.maximum } , e.prototype.setValue = function(t) { this.maximum = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiMaxFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.ascComparison = function(t, e) { return t.stimulsoft.compareTo(e) } , Object.defineProperty(e.prototype, "serviceName", { get: function() { return "MaxStr" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.values = new Array) } , e.prototype.calcItem = function(t) { var e = null != t ? t.toString() : ""; this.values.add(e) } , e.prototype.getValue = function() { if (null == this.values || 0 == this.values.length) return ""; return this.values.sort(e.ascComparison), this.values[this.values.length - 1] } , e.prototype.setValue = function(t) {} , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(t.StiAggregateFunctionService); t.StiMaxStrFunctionService = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.TimeSpan , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.valueProcessed = !1, e } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "MaxTime" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.valueProcessed = !1) } , e.prototype.calcItem = function(t) { if (t.stimulsoft.is(r)) { var e = t; this.valueProcessed ? this.maximum.ticks < e.ticks && (this.maximum = e) : (this.maximum = e, this.valueProcessed = !0) } } , e.prototype.getValue = function() { return this.maximum } , e.prototype.setValue = function(t) { this.maximum = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiMaxTimeFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiObjectConverter , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "Median" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.values = new Array) } , e.prototype.calcItem = function(t) { if (null == t) return; var e = r.convertToNumber(t); this.values.add(e) } , e.prototype.getValue = function() { if (null == this.values || this.values.length < 2) return null; this.values.sort(); var t = this.values.length / 2; if (this.values.length % 2 == 1) return this.values[t]; return (this.values[t - 1] + this.values[t]) / 2 } , e.prototype.setValue = function(t) {} , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiMedianFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.DateTime , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.valueProcessed = !1, e } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "MinDate" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.valueProcessed = !1) } , e.prototype.calcItem = function(t) { if (t.stimulsoft.is(r)) { var e = t; this.valueProcessed ? this.minimum.ticks > e.ticks && (this.minimum = e) : (this.minimum = e, this.valueProcessed = !0) } } , e.prototype.getValue = function() { if (this.valueProcessed) return this.minimum; return null } , e.prototype.setValue = function(t) { this.minimum = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiMinDateFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiObjectConverter , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "Min" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.minimum = Number.MAX_VALUE) } , e.prototype.calcItem = function(t) { if (null == t) return; var e = r.convertToNumber(t); this.minimum > e && (this.minimum = e) } , e.prototype.getValue = function() { return this.minimum } , e.prototype.setValue = function(t) { this.minimum = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiMinFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.ascComparison = function(t, e) { return t.stimulsoft.compareTo(e) } , Object.defineProperty(e.prototype, "serviceName", { get: function() { return "MinStr" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.values = new Array) } , e.prototype.calcItem = function(t) { var e = null != t ? t.toString() : ""; this.values.add(e) } , e.prototype.getValue = function() { if (null == this.values || 0 == this.values.length) return ""; return this.values.sort(e.ascComparison), this.values[0] } , e.prototype.setValue = function(t) {} , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(t.StiAggregateFunctionService); t.StiMinStrFunctionService = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.TimeSpan , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.valueProcessed = !1, e } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "MinTime" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.valueProcessed = !1) } , e.prototype.calcItem = function(t) { if (t.stimulsoft.is(r)) { var e = t; this.valueProcessed ? this.minimum.ticks > e.ticks && (this.minimum = e) : (this.minimum = e, this.valueProcessed = !0) } } , e.prototype.getValue = function() { return this.minimum } , e.prototype.setValue = function(t) { this.minimum = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiMinTimeFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.Base.StiObjectConverter , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "Mode" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.values = new r) } , e.prototype.calcItem = function(t) { if (null == t) return; var e = i.convertToNumber(t) , r = this.values.get(e); null == r && (r = 0), r += 1, this.values.set(e, r) } , e.prototype.getValue = function() { var t, e; if (null == this.values || 0 == this.values.count) return null; var r = 0 , i = 0; try { for (var n = __values(this.values.keys), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = this.values.get(a); s > i && (i = s, r = a) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } return r } , e.prototype.setValue = function(t) {} , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiModeFunctionService = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.Report.StiRankOrder , n = function(t) { function e(e, n, o) { void 0 === n && (n = !0), void 0 === o && (o = i.Asc); var a = t.call(this, e) || this; return a.hash = new r, a.sortOrder = i.Asc, a.dense = !0, a.dense = n, a.sortOrder = o, a } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "Rank" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.isFirstInit && this.hash.clear() } , e.prototype.calcItem = function(t) { if (null == t) return; if (this.hash.containsKey(t)) { var e = this.hash.get(t); this.hash.set(t, e + 1) } else this.hash.set(t, 1) } , e.prototype.getValue = function() { var t, e, r = new Array(this.hash.keys.length); this.hash.keys.copyTo(r), r.sort(function(t, e) { return t - e }), this.sortOrder == i.Desc && r.reverse(); var n = 1; try { for (var o = __values(r), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = this.hash.get(s); this.hash.set(s, n), n += this.dense ? 1 : l } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } return this.hash } , e.prototype.setValue = function(t) { this.hash = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiRankFunctionService = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.Base.StiObjectConverter , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "SumDistinct" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.summary = 0, this.values = new r) } , e.prototype.calcItem = function(t, e) { if (void 0 === e && (e = t), null == this.values && (this.values = new r), null == t) return; null == this.values.get(t) && (this.values.set(t, t), this.summary += i.convertToNumber(t)) } , e.prototype.getValue = function() { return this.summary } , e.prototype.setValue = function(t) { this.summary = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiSumDistinctFunctionService = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiObjectConverter , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "Sum" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.summary = 0) } , e.prototype.calcItem = function(t) { if (null == t) return; this.summary += r.convertToNumber(t) } , e.prototype.getValue = function() { return Math.round2(this.summary, 8) } , e.prototype.setValue = function(t) { this.summary = r.convertToNumber(t) } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiSumFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiObjectConverter , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "SumNullable" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.summary = 0, this.hasValues = !1) } , e.prototype.calcItem = function(t) { if (null == t) return; this.summary += r.convertToNumber(t), this.hasValues = !0 } , e.prototype.getValue = function() { if (this.hasValues) return this.summary; return null } , e.prototype.setValue = function(t) { this.summary = t, this.hasValues = null != t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiSumNullableFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.TimeSpan , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.sumValue = 0, e } return __extends(e, t), Object.defineProperty(e.prototype, "serviceName", { get: function() { return "SumTime" }, enumerable: !0, configurable: !0 }), e.prototype.init = function() { this.runningTotal && !this.isFirstInit || (this.sumValue = 0) } , e.prototype.calcItem = function(t) { if (null != t && t.stimulsoft.is(r)) { var e = t; this.sumValue += e.ticks } } , e.prototype.getValue = function() { return new r(this.sumValue) } , e.prototype.setValue = function(t) { this.sumValue = t } , Object.defineProperty(e.prototype, "recureParam", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), e }(e.StiAggregateFunctionService); e.StiSumTimeFunctionService = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t) { this._category = t } return Object.defineProperty(t.prototype, "category", { get: function() { return this._category }, set: function(t) { this._category = t }, enumerable: !0, configurable: !0 }), t }(); t.StiBusinessObjectCategory = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e, r, i) { this.category = t, this.name = e, this.alias = r, this.businessObjectValue = i } return Object.defineProperty(t.prototype, "category", { get: function() { return this._category }, set: function(t) { this._category = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "name", { get: function() { return this._name }, set: function(t) { this._name = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "alias", { get: function() { return this._alias }, set: function(t) { this._alias = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "businessObjectValue", { get: function() { return this._businessObjectValue }, set: function(t) { this._businessObjectValue = t }, enumerable: !0, configurable: !0 }), t }(); t.StiBusinessObjectData = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r, i, n, o) { void 0 === t && (t = ""), void 0 === r && (r = ""), void 0 === i && (i = ""), void 0 === n && (n = 0), void 0 === o && (o = null); var a = e.call(this, r, r, i, o) || this; return a.path = t, a.codePage = n, a } return __extends(r, e), Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiFileDataSource }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "path", { get: function() { return this.nameInSource }, set: function(t) { this.nameInSource = t }, enumerable: !0, configurable: !0 }), r }(e.StiDataStoreSource); e.StiFileDataSource = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o, a) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = ""), void 0 === n && (n = 0), void 0 === o && (o = null), void 0 === a && (a = ""); var s = r.call(this, t, e, i, n, a) || this; return s.convertEmptyStringToNull = !0, s.separator = o, s } return __extends(i, r), i.prototype.saveToJsonObject = function(t) { var e = r.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("Path", this.path), e.addPropertyNumber("CodePage", this.codePage), e.addPropertyStringNullOrEmpty("Separator", this.separator), e.addPropertyBool("ConvertEmptyStringToNull", this.convertEmptyStringToNull, !0), e } , i.prototype.loadFromJsonObject = function(t) { var e, i; r.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Path": this.path = a.toString(); break; case "CodePage": this.codePage = a.stimulsoft.toNumber(); break; case "Separator": this.separator = a.toString(); break; case "ConvertEmptyStringToNull": this.convertEmptyStringToNull = a.stimulsoft.toBoolean(); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , i.prototype.loadFromXml = function(t) { r.prototype.loadFromXml.call(this, t); for (var e = 0; e < t.childNodes.length; e++) { var i = t.childNodes[e]; switch (i.nodeName) { case "Path": this.path = i.textContent; break; case "CodePage": this.codePage = i.textContent.stimulsoft.toNumber(); break; case "Separator": this.separator = i.textContent; break; case "ConvertEmptyStringToNull": this.convertEmptyStringToNull = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiCsvSource }, enumerable: !0, configurable: !0 }), i.prototype.getDataAdapterType = function() { return e.StiCsvAdapterService } , i.prototype.createNew = function() { return new i } , i }(e.StiFileDataSource); e.StiCsvSource = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Data.DataColumn , n = t.System.Enum , o = t.System.StiPromise , a = function(a) { function s(t, e, i, n, o, s, l, u) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = e), void 0 === n && (n = ""), void 0 === o && (o = !0), void 0 === s && (s = !1), void 0 === l && (l = 30), void 0 === u && (u = ""); var c = a.call(this, t, e, i, u) || this; return c._allowExpressions = !0, c._type = r.StiSqlSourceType.Table, c._commandTimeout = 30, c._reconnectOnEachRow = !1, c._sqlCommand = "", c._sqlCommand = n, c.connectOnStart = o, c._reconnectOnEachRow = s, c._commandTimeout = l, c.connectionOrder = r.StiConnectionOrder.Sql, c } return __extends(s, a), s.prototype.saveToJsonObject = function(t) { var e = a.prototype.saveToJsonObject.call(this, t); return e.addPropertyBool("ConnectOnStart", this.connectOnStart, !0), e.addPropertyBool("AllowExpressions", this.allowExpressions, !0), e.addPropertyEnum("Type", r.StiSqlSourceType, this.type, r.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 } , s.prototype.loadFromJsonObject = function(e) { var r, i; a.prototype.loadFromJsonObject.call(this, e); try { for (var o = __values(e.properties()), s = o.next(); !s.done; s = o.next()) { var l = s.value; switch (l.name) { case "ConnectOnStart": this.connectOnStart = l.value.stimulsoft.toBoolean(); break; case "AllowExpressions": this._allowExpressions = l.value.stimulsoft.toBoolean(); break; case "Type": this._type = n.parse(t.Report.Dictionary.StiSqlSourceType, l.value.toString()); break; case "CommandTimeout": this._commandTimeout = l.value.stimulsoft.toNumber(); break; case "ReconnectOnEachRow": this._reconnectOnEachRow = l.value.stimulsoft.toBoolean(); break; case "SqlCommand": this._sqlCommand = l.value.toString(); break; case "Parameters": this.parameters.loadFromJsonObject(l.value); break } } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , s.prototype.loadFromXml = function(t) { a.prototype.loadFromXml.call(this, t); for (var e = 0; e < t.childNodes.length; e++) { var i = t.childNodes[e]; switch (i.nodeName) { case "ConnectOnStart": this.connectOnStart = i.textContent.stimulsoft.toBoolean(); break; case "AllowExpressions": this._allowExpressions = i.textContent.stimulsoft.toBoolean(); break; case "Type": this._type = n.parse(r.StiSqlSourceType, i.textContent); break; case "CommandTimeout": this._commandTimeout = i.textContent.stimulsoft.toNumber(); break; case "ReconnectOnEachRow": this._reconnectOnEachRow = i.textContent.stimulsoft.toBoolean(); break; case "SqlCommand": this._sqlCommand = i.textContent; break; case "Parameters": this.parameters.loadFromXml(i); break } } } , Object.defineProperty(s.prototype, "allowExpressions", { get: function() { return this._allowExpressions }, set: function(t) { this._allowExpressions = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "type", { get: function() { return this._type }, set: function(t) { this._type = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "commandTimeout", { get: function() { return this._commandTimeout }, set: function(t) { this._commandTimeout = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "reconnectOnEachRow", { get: function() { return this._reconnectOnEachRow }, set: function(t) { this._reconnectOnEachRow = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "sqlCommand", { get: function() { return this._sqlCommand }, set: function(t) { this._sqlCommand = t }, enumerable: !0, configurable: !0 }), s.prototype.getDataAdapterType = function() { return r.StiSqlAdapterService } , s.prototype.updateParameters = function() { if (null == this.dataTable || 0 == this.parameters.count) return; this.invokeConnecting() } , s.prototype.retrieveDataAsync = function(e) { var r, n, a = this; void 0 === e && (e = !1); var s = new o; if (this.parameters.count > 0) { this.invokeConnecting(); try { for (var l = __values(this.parameters.list), u = l.next(); !u.done; u = l.next()) var c = u.value , m = c.getParameterValue() } catch (t) { r = { error: t } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (r) throw r.error } } } var p = this.getDataAdapter() , h = this.nameInSource.indexOf("."); -1 == h && (h = this.nameInSource.length); var d = this.nameInSource.substring(0, h) , g = this.dictionary.databases.toList().firstOrDefault(function(t) { return t.name == d }) , f = this; if (null == g) return s.callTry(), s; return e ? p.retrieveSchemaAsync(f.dictionary.report, f, g.connectionString, this.sqlCommand).try(function(e) { var r, n; try { try { for (var o = __values(e.tables), l = o.next(); !l.done; l = o.next()) { var u = l.value; u.name == f.name && u.columns.forEach(function(t) { null == f.dataTable.columns.getByName(t.name) && f.dataTable.columns.add(new i(t.name,t.type)) }) } } catch (t) { r = { error: t } } finally { try { l && !l.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } a.checkColumnsIndexs(), s.callTry() } catch (e) { t.System.StiError.showError(e, !1), s.callCatch(e.message) } }).catch(function(t) { s.callCatch(t) }).abort(s) : p.retrieveDataAsync(this.dictionary.report, this, g.connectionString, this.sqlCommand).try(function(t) { f.dataTable = t, f.checkColumnsIndexs(), s.callTry() }).catch(function(t) { s.callCatch(t) }).abort(s), s } , s.prototype.getFinalSqlCommand = function() { return null } , Object.defineProperty(s.prototype, "componentId", { get: function() { return e.StiComponentId.StiSqlSource }, enumerable: !0, configurable: !0 }), s.prototype.createNew = function() { return new s } , s }(r.StiDataTableSource); r.StiSqlSource = a }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, r, i, n, o, a, s, l) { return void 0 === e && (e = ""), void 0 === r && (r = ""), void 0 === i && (i = r), void 0 === n && (n = ""), void 0 === o && (o = !0), void 0 === a && (a = !1), void 0 === s && (s = 30), void 0 === l && (l = ""), t.call(this, e, r, i, n, o, a, s, l) || this } return __extends(e, t), Object.defineProperty(e.prototype, "query", { get: function() { return this.sqlCommand }, set: function(t) { this.sqlCommand = t }, enumerable: !0, configurable: !0 }), e }(t.StiSqlSource); t.StiNoSqlSource = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o, a, s, l) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = e), void 0 === n && (n = ""), void 0 === o && (o = !0), void 0 === a && (a = !1), void 0 === s && (s = 30), void 0 === l && (l = ""), r.call(this, t, e, i, n, o, a, s, l) || this } return __extends(i, r), i.prototype.getDataAdapterType = function() { return e.StiMongoDbAdapterService } , Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiMongoDbSource }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i }(e.StiNoSqlSource); e.StiMongoDbSource = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.StiObject , o = t.System.StiPromise , a = t.Data.Engine.StiDataPicker , s = t.System.StiError , l = t.System.Data.DBNull , u = t.System.Collections.Hashtable , c = t.System.Data.DataColumn , m = t.System.Data.DataTable , p = t.Report.Components.StiDataHelper , h = t.Report.Components.StiDataBand , d = t.Base.StiJsonReportObjectHelper , g = t.Report.Components.StiFilterMode , f = t.System.Enum , S = function(S) { function A(e, i, n) { void 0 === e && (e = ""), void 0 === i && (i = ""), void 0 === n && (n = ""); var o = S.call(this, e, i, i, n) || this; return o._filterOn = !0, o._filterMode = g.And, o._filters = new t.Report.Components.StiFiltersCollection, o._groupColumns = [], o._results = [], o._sort = [], o.connectionOrder = r.StiConnectionOrder.None, o } return __extends(A, S), A.prototype.saveToJsonObject = function(t) { var e = S.prototype.saveToJsonObject.call(this, t); return e.addPropertyEnum("FilterMode", g, this.filterMode, g.And), e.addPropertyJObject("Filters", this.filters.saveToJsonObject(t)), e.addPropertyJObject("GroupColumns", d.Serialize.stringArray(this.groupColumns)), e.addPropertyJObject("Results", d.Serialize.stringArray(this.results)), e.addPropertyJObject("Sort", d.Serialize.stringArray(this.sort)), e } , A.prototype.loadFromJsonObject = function(t) { var e, r; S.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.value; switch (o.name) { case "FilterMode": this._filterMode = f.parse(g, o.value.toString()); break; case "Filters": this._filters.loadFromJsonObject(o.value); break; case "GroupColumns": this._groupColumns = d.Deserialize.stringArray(o.value); break; case "Results": this._results = d.Deserialize.stringArray(o.value); break; case "Sort": this._sort = d.Deserialize.stringArray(o.value); break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , A.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 "FilterMode": this._filterMode = f.parse(g, r.textContent.toString()); break; case "Filters": this._filters.loadFromXml(r); break; case "GroupColumns": for (var i = 0; i < r.childNodes.length; i++) "value" == r.childNodes[i].nodeName && this._groupColumns.add(r.childNodes[i].textContent); break; case "Results": for (var n = 0; n < r.childNodes.length; n++) "value" == r.childNodes[n].nodeName && this._results.add(r.childNodes[n].textContent); break; case "Sort": for (var o = 0; o < r.childNodes.length; o++) "value" == r.childNodes[o].nodeName && this._sort.add(r.childNodes[o].textContent); break } } } , Object.defineProperty(A.prototype, "filterMethodHandler", { get: function() { return this._filterMethodHandler }, set: function(t) { this._filterMethodHandler = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "filterOn", { get: function() { return this._filterOn }, set: function(t) { this._filterOn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "filterMode", { get: function() { return this._filterMode }, set: function(t) { this._filterMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "filters", { get: function() { return this._filters }, set: function(t) { this._filters = t }, enumerable: !0, configurable: !0 }), A.prototype.getDataAdapterType = function() { return r.StiVirtualAdapterService } , Object.defineProperty(A.prototype, "groupColumns", { get: function() { return this._groupColumns }, set: function(t) { this._groupColumns = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "results", { get: function() { return this._results }, set: function(t) { this._results = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(A.prototype, "sort", { get: function() { return this._sort }, set: function(t) { this._sort = t }, enumerable: !0, configurable: !0 }), A.prototype.connectToDataAsync = function(t) { var e = this; void 0 === t && (t = !1); var r = new o; if (!t) return this.connectToDataInternal(), r.callTry(); var i = this.dictionary.dataSources.getByName(this.nameInSource); if (null != i.dataTable) return this.connectToDataInternal(), r.callTry(); if (a.existsInCache(i)) return i.dataTable = a.getFromCache(i).copy(), this.connectToDataInternal(), r.callTry(); return setTimeout(function() { return __awaiter(e, void 0, void 0, function() { var t; return __generator(this, function(e) { switch (e.label) { case 0: return [4, a.getDataTable(this.dictionary.report, i)]; case 1: return t = e.sent(), t && (i.dataTable = t.copy(), this.connectToDataInternal()), [2, r.callTry()] } }) }) }, 0), r } , A.prototype.connectToDataInternal = function() { var t, n, o, a, d, g, f, S, A, y, w, b, v, C, E = null, B = e.StiNameValidator.correctName(this.name); if (null == E && this.dictionary.report.calculationMode == e.StiCalculationMode.Interpretation || this.dictionary.report.isDesigning) { var T = new h; T.name = "VirtualSourceBand", T.page = this.dictionary.report.pages.getByIndex(0), T.dataSourceName = this.nameInSource, T.filters = this.filters, E = p.getFilterEventHandler(T, T) } var I = this.dictionary.dataSources.getByName(this.nameInSource); if (null == I) throw i.format("'{0}' filter. Datasource '{1}' is not found.", this.name, this.nameInSource); var x = []; try { for (var F = __values(this.groupColumns), D = F.next(); !D.done; D = F.next()) { var R = D.value , P = R; if (P.stimulsoft.startsWith("DESC")) null != I.columns.getByName(P) && null == I.columns.getByName(P.substr(4)) ? x.add("ASC") : (x.add("DESC"), P = P.substr(4)); else { if (P.stimulsoft.startsWith("NONE")) continue; x.add("ASC") } var N = P.split(".") , k = 0; try { for (var M = (o = void 0, __values(N)), O = M.next(); !O.done; O = M.next()) { var _ = O.value , L = _; (0 == k && N.length > 1 || k < N.length - 1) && (L = r.StiDataColumn.getRelationName(this.dictionary, I, _)), x.add(L) } } catch (t) { o = { error: t } } finally { try { O && !O.done && (a = M.return) && a.call(M) } finally { if (o) throw o.error } } } } catch (e) { t = { error: e } } finally { try { D && !D.done && (n = F.return) && n.call(F) } finally { if (t) throw t.error } } try { for (var j = __values(this.sort), H = j.next(); !H.done; H = j.next()) { var G = H.value; x.add(G) } } catch (t) { d = { error: t } } finally { try { H && !H.done && (g = j.return) && g.call(j) } finally { if (d) throw d.error } } var Q = x.toArray(); 0 == Q.length && (Q = null), I.resetDetailsRows(), I.first(), I.setSort(null, Q, null, null, null), I.setFilter(E); var Y = new m; try { for (var U = __values(this.columns.list), J = U.next(); !J.done; J = U.next()) { var W = J.value , V = new c(W.name,W.type); Y.columns.add(V) } } catch (t) { f = { error: t } } finally { try { J && !J.done && (S = U.return) && S.call(U) } finally { if (f) throw f.error } } var z = !1 , X = new u , K = []; try { for (var Z = __values(this.groupColumns), q = Z.next(); !q.done; q = Z.next()) { var R = q.value , P = R; P.stimulsoft.startsWith("DESC") ? null != I.columns.getByName(P) && null == I.columns.getByName(P.substr(4)) || (P = P.substr(4)) : P.stimulsoft.startsWith("NONE") && (P = P.substr(4)); var $ = new r.StiFirstFunctionService; X.set(P, $), K.add($) } } catch (t) { A = { error: t } } finally { try { q && !q.done && (y = Z.return) && y.call(Z) } finally { if (A) throw A.error } } var tt = 0; while (tt < this.results.length) { var W = this.results[tt++] , et = this.results[tt++] , rt = this.results[tt++]; switch (et) { case "Sum": var it = new r.StiSumFunctionService; X.set(rt, it), K.add(it), z = !0; break; case "SumDistinct": var nt = new r.StiSumDistinctFunctionService; X.set(rt, nt), K.add(nt), z = !0; break; case "Count": var ot = new r.StiCountFunctionService; X.set(rt, ot), K.add(ot), z = !0; break; case "CountDistinct": var at = new r.StiCountDistinctFunctionService; X.set(rt, at), K.add(at), z = !0; break; case "Min": var st = new r.StiMinFunctionService; X.set(rt, st), K.add(st), z = !0; break; case "Max": var lt = new r.StiMaxFunctionService; X.set(rt, lt), K.add(lt), z = !0; break; case "Avg": var ut = new r.StiAvgFunctionService; X.set(rt, ut), K.add(ut), z = !0; break; case "First": var ct = new r.StiFirstFunctionService; X.set(rt, ct), K.add(ct), z = !0; break; case "Last": var mt = new r.StiLastFunctionService; X.set(rt, mt), K.add(mt), z = !0; break; case "MinDate": var pt = new r.StiMinDateFunctionService; X.set(rt, pt), K.add(pt), z = !0; break; case "MaxDate": var ht = new r.StiMaxDateFunctionService; X.set(rt, ht), K.add(ht), z = !0; break; case "MinTime": var dt = new r.StiMinTimeFunctionService; X.set(rt, dt), K.add(dt), z = !0; break; case "MaxTime": var gt = new r.StiMaxTimeFunctionService; X.set(rt, gt), K.add(gt), z = !0; break; case "MinStr": var ft = new r.StiMinStrFunctionService; X.set(rt, ft), K.add(ft), z = !0; break; case "MaxStr": var St = new r.StiMaxStrFunctionService; X.set(rt, St), K.add(St), z = !0; break; case "Mode": var At = new r.StiModeFunctionService; X.set(rt, At), K.add(At), z = !0; break; case "Median": var yt = new r.StiMedianFunctionService; X.set(rt, yt), K.add(yt), z = !0; break; default: var wt = new r.StiFirstFunctionService; X.set(rt, wt), K.add(wt); break } } var bt = this.groupColumns.length > 0 , vt = Array.create(Object, this.groupColumns.length) , Ct = !0 , Et = 0; !bt && z && this.initTotals(K); var Bt = !z && !bt; I.first(), this.dictionary.report.line = 1, this.dictionary.report.lineThrough = 1; while (!I.isEof) { if (bt) { var Tt = Array.create(Object, this.groupColumns.length) , It = 0; try { for (var xt = (w = void 0, __values(this.groupColumns)), Ft = xt.next(); !Ft.done; Ft = xt.next()) { var R = Ft.value , P = R; P.stimulsoft.startsWith("DESC") ? null != I.columns.getByName(P) && null == I.columns.getByName(P.substr(4)) || (P = P.substr(4)) : P.stimulsoft.startsWith("NONE") && (P = P.substr(4)), Tt[It++] = r.StiDataColumn.getDataFromDataColumn(this.dictionary, e.StiNameValidator.correctName(I.name) + "." + P, !1) } } catch (t) { w = { error: t } } finally { try { Ft && !Ft.done && (b = xt.return) && b.call(xt) } finally { if (w) throw w.error } } var Dt = !1; Ct ? this.initTotals(K) : Dt = this.compare(vt, Tt), Dt && (this.addRow(Y, X), this.initTotals(K), Et = 0), vt = Tt, Ct = !1 } var Rt = null; Bt && (Rt = Y.newRow()); try { try { for (var Pt = (v = void 0, __values(this.groupColumns)), Nt = Pt.next(); !Nt.done; Nt = Pt.next()) { var R = Nt.value , P = R; P.stimulsoft.startsWith("DESC") ? null != I.columns.getByName(P) && null == I.columns.getByName(P.substr(4)) || (P = P.substr(4)) : P.stimulsoft.startsWith("NONE") && (P = P.substr(4)); var kt = r.StiDataColumn.getDataFromDataColumn(this.dictionary, e.StiNameValidator.correctName(I.name) + "." + P, !1); if (null == kt && (kt = l.value), Bt) Rt.sett(R, kt); else { var Mt = X.get(P).stimulsoft.as(r.StiAggregateFunctionService); null != Mt && Mt.calcItem(kt) } } } catch (t) { v = { error: t } } finally { try { Nt && !Nt.done && (C = Pt.return) && C.call(Pt) } finally { if (v) throw v.error } } } catch (t) { s.showError(t, !1) } var Ot = 0; while (Ot < this.results.length) try { var W = this.results[Ot++] , et = this.results[Ot++] , _t = this.results[Ot++] , kt = l.value; if (i.isNullOrEmpty(W) || null == (kt = r.StiDataColumn.getDataFromDataColumn(this.dictionary, e.StiNameValidator.correctName(I.name) + "." + W, !1)) && (kt = l.value), Bt) Rt.sett(_t, kt); else { var Mt = X.get(_t).stimulsoft.as(r.StiAggregateFunctionService); null != Mt && Mt.calcItem(kt) } } catch (t) { s.showError(t, !1) } Et++, Bt && Y.rows.add(Rt), I.next(), this.dictionary.report.line++, this.dictionary.report.lineThrough++ } Et > 0 && (z || bt) && this.addRow(Y, X), this.dataTable = Y, I.resetData(), I.first() } , A.prototype.compare = function(t, e) { var r, i, o = 0; try { for (var a = __values(t), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (null == l) { if (null == e[o]) { o++; continue } return !0 } if (!n.stimulsoft.equals(l, e[o++])) return !0 } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return !1 } , A.prototype.initTotals = function(t) { var e, r; try { for (var i = __values(t), n = i.next(); !n.done; n = i.next()) { n.value.init() } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , A.prototype.addRow = function(t, e) { var i, n, o = t.newRow(); try { for (var a = __values(this.columns.list), s = a.next(); !s.done; s = a.next()) { var u = s.value , c = null != e.get(u.name) ? e.get(u.name).stimulsoft.as(r.StiAggregateFunctionService) : null; if (null != c) { var m = c.getValue(); null == m && (m = l.value), o.sett(u.name, m) } } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } t.rows.add(o) } , Object.defineProperty(A.prototype, "componentId", { get: function() { return e.StiComponentId.StiVirtualSource }, enumerable: !0, configurable: !0 }), A.prototype.createNew = function() { return new A } , A }(r.StiDataStoreSource); r.StiVirtualSource = S }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o, a, s, l) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = ""), void 0 === n && (n = ""), void 0 === o && (o = !0), void 0 === a && (a = !1), void 0 === s && (s = 30), void 0 === l && (l = ""), r.call(this, t, e, i, n, o, a, s, l) || this } return __extends(i, r), i.prototype.getDataAdapterType = function() { return e.StiDataWorldAdapterService } , Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiDataWorldSource }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i }(e.StiNoSqlSource); e.StiDataWorldSource = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o, a, s, l) { return void 0 === t && (t = ""), void 0 === r && (r = ""), void 0 === i && (i = r), void 0 === n && (n = ""), void 0 === o && (o = !0), void 0 === a && (a = !1), void 0 === s && (s = 30), void 0 === l && (l = ""), e.call(this, t, r, i, n, o, a, s, l) || this } return __extends(r, e), r.prototype.getDataAdapterType = function() { return t.StiODataAdapterService } , r.prototype.createNew = function() { return new r } , r }(t.StiSqlSource); t.StiODataSource = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o, a, s, l) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = e), void 0 === n && (n = ""), void 0 === o && (o = !0), void 0 === a && (a = !1), void 0 === s && (s = 30), void 0 === l && (l = ""), r.call(this, t, e, i, n, o, a, s, l) || this } return __extends(i, r), i.prototype.getDataAdapterType = function() { return e.StiFirebirdAdapterService } , Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiFirebirdSource }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i }(e.StiSqlSource); e.StiFirebirdSource = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o, a, s, l) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = e), void 0 === n && (n = ""), void 0 === o && (o = !0), void 0 === a && (a = !1), void 0 === s && (s = 30), void 0 === l && (l = ""), r.call(this, t, e, i, n, o, a, s, l) || this } return __extends(i, r), i.prototype.getDataAdapterType = function() { return e.StiMySqlAdapterService } , Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiMySqlSource }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i }(e.StiSqlSource); e.StiMySqlSource = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o, a, s, l) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = e), void 0 === n && (n = ""), void 0 === o && (o = !0), void 0 === a && (a = !1), void 0 === s && (s = 100), void 0 === l && (l = ""), r.call(this, t, e, i, n, o, a, s, l) || this } return __extends(i, r), i.prototype.getDataAdapterType = function() { return e.StiOracleAdapterService } , Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiOracleSource }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i }(e.StiSqlSource); e.StiOracleSource = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o, a, s, l) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = e), void 0 === n && (n = ""), void 0 === o && (o = !0), void 0 === a && (a = !1), void 0 === s && (s = 30), void 0 === l && (l = ""), r.call(this, t, e, i, n, o, a, s, l) || this } return __extends(i, r), i.prototype.getDataAdapterType = function() { return e.StiPostgreSQLAdapterService } , Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiPostgreSQLSource }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i }(e.StiSqlSource); e.StiPostgreSQLSource = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o, a, s, l) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = e), void 0 === n && (n = ""), void 0 === o && (o = !0), void 0 === a && (a = !1), void 0 === s && (s = 30), void 0 === l && (l = ""), r.call(this, t, e, i, n, o, a, s, l) || this } return __extends(i, r), i.registerCustomSource = function() { var t = new i; StiOptions.Services.dataSource.add(t) } , i.prototype.getDataAdapterType = function() { return e.StiCustomAdapterService } , Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiSqlSource }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i }(e.StiSqlSource); e.StiCustomSource = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.CrossTab.StiCrossHeader , o = t.Report.CrossTab.StiCrossCell , a = t.Report.Components.StiFilterMode , s = t.Report.Components.StiCondition , l = t.Report.Components.StiRichText , u = t.Report.Components.StiDataHelper , c = t.System.Text.StringBuilder , m = t.Report.Components.StiMultiCondition , p = t.Report.BarCodes.StiBarCode , h = t.Report.Components.IStiConditions , d = t.Report.CrossTab.StiCrossTab , g = t.Report.Components.StiCheckBox , f = t.Report.Components.StiImage , S = t.System.Collections.Hashtable , A = t.Report.Components.StiDataBand , y = t.Report.Components.StiGroupHeaderBand , w = t.Report.Components.StiSimpleText , b = t.Report.Components.StiText , v = t.Report.Engine.StiParser.StiParser , C = t.Report.Engine.StiAsmCommandType , E = t.Report.Engine.StiParser.StiAsmCommand , B = function() { function B() {} return B.getDatabaseFromDataSource = function(t) { if (null == t || null == t.dictionary) return null; var e = t.getCategoryName(); if (i.isNullOrWhiteSpace(e)) return null; return e = e.toLowerCase(), t.dictionary.databases.toList().firstOrDefault(function(t) { return null != t.name && t.name.toLowerCase() == e }) } , B.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() }) } , B.getUsedDataSourcesNamesList = function(t) { var e, r, i = B.getUsedDataSourcesNames(t), n = new Array; try { for (var o = __values(i.keys), a = o.next(); !a.done; a = o.next()) { var s = a.value; 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 n } , B.getUsedDataSourcesNames = function(e) { var v, C, E, T, I, x, F, D, R, P, N, k, M, O, _, L, j = new S, H = e.renderedPages.count > 0 ? e.renderedPages.getByIndex(0) : new t.Report.Components.StiPage; H.report = e; var G = new b; G.page = H, G.name = "*GetUsedDataSourcesNames*"; for (var Q = e.getComponents(), Y = 0; Y < Q.count; Y++) { var U = Q.getByIndex(Y); try { var J = U.stimulsoft.as(A); null != J && null != J.dataSourceName && J.dataSourceName.length > 0 && (this.addDataSourceName(j, J.dataSourceName), this.addRelation(j, J.dataRelation), this.addSort(j, G, J.sort, J.dataSourceName)); var W = U.stimulsoft.as(d); null != W && null != W.dataSourceName && W.dataSourceName.length > 0 && (this.addDataSourceName(j, W.dataSourceName), this.addSort(j, G, W.sort, W.dataSourceName)); var V = U.stimulsoft.as(y); null != V && B.checkExpression(V.condition, U, j); var z = U.stimulsoft.as(o); null != z && B.checkExpression(z.value, U, j); var X = U.stimulsoft.as(n); null != X && B.checkExpression(X.displayValue, U, j); var K = U.stimulsoft.as(w); null != K && B.checkExpression(K.text, U, j); var Z = U.stimulsoft.as(b); null != Z && B.checkExpression(Z.excelValue, U, j); var q = U.stimulsoft.as(l) , $ = U.stimulsoft.as(f); null != $ && (this.checkExpression($.imageData, U, j), this.checkExpression("{" + $.dataColumn + "}", U, j)); var tt = U.stimulsoft.as(p); null != tt && this.checkExpression(tt.code, U, j); var et = U.stimulsoft.as(g); null != et && this.checkExpression(et.checked, U, j); var rt = U.stimulsoft.as(t.Report.Chart.IStiChart); if (null != rt) { i.isNullOrEmpty(rt.dataSourceName) || this.addDataSourceName(j, rt.dataSourceName); try { for (var it = (v = void 0, __values(rt.series.toCast())), nt = it.next(); !nt.done; nt = it.next()) { var ot = nt.value; this.checkExpression(ot.argument, U, j), this.checkExpression("{" + ot.argumentDataColumn + "}", U, j) } } catch (t) { v = { error: t } } finally { try { nt && !nt.done && (C = it.return) && C.call(it) } finally { if (v) throw v.error } } } var at = U.stimulsoft.as(t.Report.Components.StiPage) , st = U.stimulsoft.as(h); if (null != st && st.conditions.count > 0) { var lt = []; try { for (var ut = (E = void 0, __values(st.conditions.list)), ct = ut.next(); !ct.done; ct = ut.next()) { var mt = ct.value , pt = mt.stimulsoft.as(s) , ht = null; if (mt.stimulsoft.is(m)) { var dt = mt.stimulsoft.as(m); if (dt.filterOn && dt.filters.count > 0) { for (var gt = new c("{"), ft = 0; ft < dt.filters.count; ft++) { var St = dt.filters.getByIndex(ft); gt.append("("), gt.append(u.getFilterExpression(St, St.column, e)), gt.append(")"), ft < dt.filters.count - 1 && gt.append(dt.filterMode == a.And ? " && " : " || ") } gt.append("}"); var At = { condition: dt, expression: gt.toString() }; lt.add(At) } } else if (null != pt) { ht = "{" + u.getFilterExpression(pt, pt.column, e) + "}"; var At = { condition: pt, expression: ht }; lt.add(At) } } } catch (t) { E = { error: t } } finally { try { ct && !ct.done && (T = ut.return) && T.call(ut) } finally { if (E) throw E.error } } if (lt.length > 0) try { for (var yt = (I = void 0, __values(lt)), wt = yt.next(); !wt.done; wt = yt.next()) { var At = wt.value; this.checkExpression(At.condition, U, j) } } catch (t) { I = { error: t } } finally { try { wt && !wt.done && (x = yt.return) && x.call(yt) } finally { if (I) throw I.error } } } } catch (e) { t.System.StiError.showError(e, !1) } } var bt = new Array; try { for (var vt = __values(j.keys), Ct = vt.next(); !Ct.done; Ct = vt.next()) { var Et = Ct.value , Bt = Et , Tt = e.dictionary.dataSources.getByName(Bt); if (null != Tt) { var It = Tt.stimulsoft.as(r.StiVirtualSource); null == It || i.isNullOrEmpty(It.nameInSource) || bt.add(Bt) } } } catch (t) { F = { error: t } } finally { try { Ct && !Ct.done && (D = vt.return) && D.call(vt) } finally { if (F) throw F.error } } try { for (var xt = __values(bt), Ft = xt.next(); !Ft.done; Ft = xt.next()) { var Dt = Ft.value , Rt = e.dictionary.dataSources.getByName(Dt).stimulsoft.as(r.StiVirtualSource) , Tt = e.dictionary.dataSources.getByName(Rt.nameInSource); this.addDataSourceName(j, Tt.name); try { for (var Pt = (N = void 0, __values(Rt.groupColumns)), Nt = Pt.next(); !Nt.done; Nt = Pt.next()) { var kt = Nt.value; this.addDataSourceColumn(j, Tt.name, kt) } } catch (t) { N = { error: t } } finally { try { Nt && !Nt.done && (k = Pt.return) && k.call(Pt) } finally { if (N) throw N.error } } var ft = 0; while (ft < Rt.results.length) this.addDataSourceColumn(j, Tt.name, Rt.results[ft]), ft += 3; this.addSort(j, G, Rt.sort, Tt.name) } } catch (t) { R = { error: t } } finally { try { Ft && !Ft.done && (P = xt.return) && P.call(xt) } finally { if (R) throw R.error } } try { for (var Mt = __values(e.dictionary.variables.list), Ot = Mt.next(); !Ot.done; Ot = Mt.next()) { var _t = Ot.value; _t.initBy == r.StiVariableInitBy.Expression && (this.checkExpression("{" + _t.value + "}", G, j), _t.type == t.Report.Range && (this.checkExpression("{" + _t.initByExpressionFrom + "}", G, j), this.checkExpression("{" + _t.initByExpressionTo + "}", G, j))), _t.requestFromUser && _t.dialogInfo.itemsInitializationType == r.StiItemsInitializationType.Columns && this.checkExpression("{" + _t.dialogInfo.keysColumn + "}", G, j) } } catch (t) { M = { error: t } } finally { try { Ot && !Ot.done && (O = Mt.return) && O.call(Mt) } finally { if (M) throw M.error } } if (null != e.listOfUsedData) try { for (var Lt = __values(e.listOfUsedData), jt = Lt.next(); !jt.done; jt = Lt.next()) { var Dt = jt.value; this.addDataSourceName(j, Dt) } } catch (t) { _ = { error: t } } finally { try { jt && !jt.done && (L = Lt.return) && L.call(Lt) } finally { if (_) throw _.error } } return j } , B.checkExpression = function(e, i, n) { var o, a; try { var s = !1 , l = { ref: s } , u = v.parseTextValue(e, i, i, l, !1, !0); if (s = l.ref, null != u && u.stimulsoft.is(Array) && u.length > 0 && u[0].stimulsoft.is(E)) { var c = function(t) { if (t.type == C.PushDataSourceField) { var e = t.parameter1.split(".") , o = i.report.dictionary.dataSources.getByName(e[0]); if (o.stimulsoft.is(r.StiVirtualSource) && e.length > 2) { var a = e[1] + "." + e[2]; o.columns.contains(a) ? (e[1] = a, e.removeAt(2)) : e.length > 3 && (a += "." + e[3], o.columns.contains(a) && (e[1] = a, e.removeAt(2), e.removeAt(2))) } if (m.addDataSourceName(n, o.name), e.length > 2) { var s = e[1]; m.addRelation(n, o.getParentRelations().toList().where(function(t) { return t.nameInSource == s }).first()), o = o.getParentDataSource(s), m.addDataSourceName(n, o.name); var l = 2; while (l < e.length - 1) s = e[l], m.addRelation(n, o.getParentRelations().toList().where(function(t) { return t.nameInSource == s }).first()), o = o.getParentDataSource(s), m.addDataSourceName(n, o.name), l++ } e.length > 1 && m.addDataSourceColumn(n, o.name, e[e.length - 1]) } } , m = this; try { for (var p = __values(u), h = p.next(); !h.done; h = p.next()) { c(h.value) } } catch (t) { o = { error: t } } finally { try { h && !h.done && (a = p.return) && a.call(p) } finally { if (o) throw o.error } } } } catch (e) { t.System.StiError.showError(e, !1) } } , B.addDataSourceName = function(t, e) { t.containsKey(e) || t.set(e, new S) } , B.addDataSourceColumn = function(t, e, r) { var i = t.get(e).stimulsoft.as(S); null == i && (i = new S, t.set(e, i)), i.set(r, r) } , B.addRelation = function(t, e) { var r, i, n, 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 && (i = a.return) && i.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) { n = { error: t } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (n) throw n.error } } } } } , B.addSort = function(t, e, r, i) { var n = 1; while (n < r.length) { var o = r[n]; o.stimulsoft.startsWith("{") ? this.checkExpression(o, e, t) : this.addDataSourceColumn(t, i, o), n += 2 } } , B.getDataSourcesUsedInRequestFromUsersVariables = function(i) { var n, o, a = new S, s = new b; s.name = "*RequestFromUserVariable*", s.page = new t.Report.Components.StiPage(i); try { for (var l = __values(i.dictionary.variables.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; c.requestFromUser && (c.dialogInfo.itemsInitializationType == r.StiItemsInitializationType.Columns && this.checkExpression("{" + c.dialogInfo.keysColumn + "}", s, a), c.initBy == r.StiVariableInitBy.Expression && (this.checkExpression("{" + c.value + "}", s, a), c.type == e.Range && (this.checkExpression("{" + c.initByExpressionFrom + "}", s, a), this.checkExpression("{" + c.initByExpressionTo + "}", s, a)))) } } catch (t) { n = { error: t } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (n) throw n.error } } return a } , B }(); r.StiDataSourceHelper = B }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiParser.StiParser , i = t.Report.Components.StiText , n = function() { function t() {} return t.connectSqlSource = function(t) { var e, n, o = new i; o.name = "**DataSourceParameter**", o.page = t.dictionary.report.pages.getByIndex(0); try { for (var a = __values(t.parameters.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; l.parameterValue = r.parseTextValue("{" + l.value + "}", o) } } catch (t) { e = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (e) throw e.error } } t.sqlCommand = r.parseTextValue(t.sqlCommand, o) } , t }(); e.StiDataSourceParserHelper = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Value = 0] = "Value", t[t.Expression = 1] = "Expression" }(e = t.StiVariableInitBy || (t.StiVariableInitBy = {})); var r; !function(t) { t[t.Date = 0] = "Date", t[t.DateAndTime = 1] = "DateAndTime", t[t.Time = 2] = "Time" }(r = t.StiDateTimeType || (t.StiDateTimeType = {})); var i; !function(t) { t[t.Items = 0] = "Items", t[t.Columns = 1] = "Columns" }(i = t.StiItemsInitializationType || (t.StiItemsInitializationType = {})); var n; !function(t) { t[t.Value = 0] = "Value", t[t.NullableValue = 1] = "NullableValue", t[t.List = 2] = "List", t[t.Range = 3] = "Range" }(n = t.StiTypeMode || (t.StiTypeMode = {})); var o; !function(t) { t[t.Asc = 0] = "Asc", t[t.Desc = 1] = "Desc" }(o = t.StiSortOrder || (t.StiSortOrder = {})); var a; !function(t) { t[t.None = 0] = "None", t[t.IfDictionaryEmpty = 1] = "IfDictionaryEmpty", t[t.Always = 2] = "Always" }(a = t.StiAutoSynchronizeMode || (t.StiAutoSynchronizeMode = {})); var s; !function(t) { t[t.None = 0] = "None", t[t.DenyEdit = 1] = "DenyEdit", t[t.DenyDelete = 2] = "DenyDelete", t[t.DenyMove = 4] = "DenyMove", t[t.DenyShow = 8] = "DenyShow" }(s = t.StiRestrictionTypes || (t.StiRestrictionTypes = {})); var l; !function(t) { t[t.BusinessObject = 0] = "BusinessObject", t[t.DataSource = 1] = "DataSource", t[t.DataRelation = 2] = "DataRelation", t[t.DataColumn = 3] = "DataColumn", t[t.Database = 4] = "Database", t[t.Resource = 5] = "Resource", t[t.Variable = 6] = "Variable", t[t.Total = 7] = "Total" }(l = t.StiDataType || (t.StiDataType = {})); var u; !function(t) { t[t.Never = 0] = "Never", t[t.OnEachRecord = 1] = "OnEachRecord", t[t.OnGroupChanged = 2] = "OnGroupChanged", t[t.OnPageChanged = 3] = "OnPageChanged", t[t.OnColumnChanged = 4] = "OnColumnChanged", t[t.OnEachNewBand = 5] = "OnEachNewBand", t[t.OnExpressionChanged = 6] = "OnExpressionChanged" }(u = t.StiTotalEvent || (t.StiTotalEvent = {})); var c; !function(t) { t[t.Image = 0] = "Image", t[t.Csv = 1] = "Csv", t[t.Dbf = 2] = "Dbf", t[t.Json = 3] = "Json", t[t.Xml = 4] = "Xml", t[t.Xsd = 5] = "Xsd", t[t.Excel = 6] = "Excel", t[t.Rtf = 7] = "Rtf", t[t.Txt = 8] = "Txt", t[t.Report = 9] = "Report", t[t.ReportSnapshot = 10] = "ReportSnapshot", t[t.FontTtc = 11] = "FontTtc", t[t.FontTtf = 12] = "FontTtf", t[t.FontOtf = 13] = "FontOtf", t[t.FontEot = 14] = "FontEot", t[t.FontWoff = 15] = "FontWoff", t[t.Pdf = 16] = "Pdf", t[t.Word = 17] = "Word" }(c = t.StiResourceType || (t.StiResourceType = {})); var m; !function(t) { t[t.All = 0] = "All", t[t.Browsable = 1] = "Browsable" }(m = t.StiPropertiesProcessingType || (t.StiPropertiesProcessingType = {})); var p; !function(t) { t[t.All = 0] = "All", t[t.Browsable = 1] = "Browsable" }(p = t.StiFieldsProcessingType || (t.StiFieldsProcessingType = {})); var h; !function(t) { t[t.None = 0] = "None", t[t.Standard = 1] = "Standard", t[t.Sql = 2] = "Sql" }(h = t.StiConnectionOrder || (t.StiConnectionOrder = {})); var d; !function(t) { t[t.Table = 0] = "Table", t[t.StoredProcedure = 1] = "StoredProcedure" }(d = t.StiSqlSourceType || (t.StiSqlSourceType = {})); var g; !function(t) { t[t.KeepAbsentColumns = 0] = "KeepAbsentColumns", t[t.RemoveAbsentColumns = 1] = "RemoveAbsentColumns" }(g = t.StiColumnsSynchronizationMode || (t.StiColumnsSynchronizationMode = {})); var f; !function(t) { t[t.FromVariable = 0] = "FromVariable", t[t.Nothing = 1] = "Nothing", t[t.First = 2] = "First" }(f = t.StiSelectionMode || (t.StiSelectionMode = {})) }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(t.StiDataTableSource); t.StiUndefinedDataSource = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Collections.CollectionBase , n = t.System.ICloneable , o = t.System.Collections.IComparer , a = t.System.Collections.Hashtable , s = t.Base.JsonReportObject.IStiJsonReportObject , l = t.Base.StiJson , u = t.Report.Dictionary.StiUndefinedDataSource , c = t.System.StiPromise , m = function(t) { function i(e) { var r = t.call(this) || this; return r.directionFactor = 1, r.dictionary = e, r } return __extends(i, t), i.prototype.implements = function() { return [s, n, o] } , i.prototype.saveToJsonObject = function(t) { var e, 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(t)), n++ } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } return i } , i.prototype.loadFromJsonObject = function(t) { var e, i, n = StiOptions.Services.dataSource, o = function(t) { var e = t.value , i = e.properties().firstOrDefault(function(t) { return "Ident" == t.name }) , o = i.value , s = null; if (null == (s = "StiCustomSource" == o ? new r.StiCustomSource : n.firstOrDefault(function(t) { return t.stimulsoft.getType().stimulsoft.getTypeName() == o }))) return "continue"; var l = s.createNew(); if (null == l) return "continue"; l.dictionary = a.dictionary, l.loadFromJsonObject(e), a.list.add(l) }, a = this; try { for (var s = __values(t.properties()), l = s.next(); !l.done; l = s.next()) { o(l.value) } } catch (t) { e = { error: t } } finally { try { l && !l.done && (i = s.return) && i.call(s) } finally { if (e) throw e.error } } } , i.prototype.loadFromXml = function(t) { for (var e = 0; e < t.childNodes.length; e++) { var i = t.childNodes[e]; if (null == i.attributes) continue; if (null != i.attributes.getNamedItem("type")) { var n = i.attributes.getNamedItem("Ref").value , o = i.attributes.getNamedItem("type").value.split(".").pop(); switch (0 == o.indexOf("Sti") && (o = o.substr(3)), o) { case "DataTableSource": var a = new r.StiDataTableSource; a.xmlRefAttrValue = n, a.dictionary = this.dictionary, a.loadFromXml(i), this.list.add(a); break; case "MySqlSource": var s = new r.StiMySqlSource; s.xmlRefAttrValue = n, s.dictionary = this.dictionary, s.loadFromXml(i), this.list.add(s); break; case "SqlSource": var l = new r.StiSqlSource; l.xmlRefAttrValue = n, l.dictionary = this.dictionary, l.loadFromXml(i), this.list.add(l); break; case "VirtualSource": var c = new r.StiVirtualSource; c.xmlRefAttrValue = n, c.dictionary = this.dictionary, c.loadFromXml(i), this.list.add(c); break; case "FirebirdSource": var m = new r.StiFirebirdSource; m.xmlRefAttrValue = n, m.dictionary = this.dictionary, m.loadFromXml(i), this.list.add(m); break; case "OracleSource": var p = new r.StiOracleSource; p.xmlRefAttrValue = n, p.dictionary = this.dictionary, p.loadFromXml(i), this.list.add(p); break; case "PostgreSQLSource": var h = new r.StiPostgreSQLSource; h.xmlRefAttrValue = n, h.dictionary = this.dictionary, h.loadFromXml(i), this.list.add(h); break; case "ODataSource": var d = new r.StiODataSource; d.xmlRefAttrValue = n, d.dictionary = this.dictionary, d.loadFromXml(i), this.list.add(d); break; case "DataTransformation": var g = new r.StiDataTransformation; g.xmlRefAttrValue = n, g.dictionary = this.dictionary, g.loadFromXml(i), this.list.add(g); break; case "DataWorldSource": var f = new r.StiDataWorldSource; f.xmlRefAttrValue = n, f.dictionary = this.dictionary, f.loadFromXml(i), this.list.add(f); break; default: var S = new u; S.xmlRefAttrValue = n, S.dictionary = this.dictionary, S.loadFromXml(i), this.list.add(S); break } } } } , i.prototype.compare = function(t, e) { var i = t.stimulsoft.as(r.StiDataSource) , n = e.stimulsoft.as(r.StiDataSource); return i.name.stimulsoft.compareTo(n.name) * this.directionFactor } , Object.defineProperty(i.prototype, "cachedDataSources", { get: function() { return null == this._cachedDataSources && (this._cachedDataSources = new a), this._cachedDataSources }, enumerable: !0, configurable: !0 }), i.prototype.fetchAllDataTransformations = function() { return this.toList().where(function(t) { return t.stimulsoft.is(r.StiDataTransformation) }).cast() } , i.prototype.fetchAllVirtualDataSources = function() { return this.toList().where(function(t) { return t.stimulsoft.is(r.StiVirtualSource) }).cast() } , i.prototype.add = function(e) { null != this.dictionary && (e.dictionary = this.dictionary), t.prototype.add.call(this, e) } , i.prototype.contains = function(t) { if (t.stimulsoft.is(r.StiDataSource)) return this.list.contains(t.stimulsoft.as(r.StiDataSource)); if (t.stimulsoft.is(String)) return null != this.getByName(t); return !1 } , i.prototype.remove = function(t) { if (this.list.remove(t), null != this.dictionary) { var e = 0; while (e < this.dictionary.relations.length) this.dictionary.relations.getByIndex(e).parentSource == t || this.dictionary.relations.getByIndex(e).childSource == t ? this.dictionary.relations.remove(this.dictionary.relations.getByIndex(e)) : e++ } var r = t.name.toLowerCase(); null != this.cachedDataSources.get(r) && this.cachedDataSources.remove(r) } , i.prototype.getByName = function(t) { var r, i; t = t.toLowerCase(); var n = this.cachedDataSources.get(t); if (null != n) return n; try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (s.name.toLowerCase() == t) return this.cachedDataSources.set(t, s), s; if (e.StiNameValidator.correctName(s.name.toLowerCase()) == e.StiNameValidator.correctName(t)) return this.cachedDataSources.set(t, s), s } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return null } , i.prototype.getByXmlRef = function(t) { var e, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.xmlRefAttrValue == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , i.prototype.setByName = function(t, e) { t = t.toLowerCase(); for (var i = 0; i < this.list.length; i++) { if (this.getByIndex(i).stimulsoft.as(r.StiDataSource).name.toLowerCase() == t) return void (this.list[i] = e) } this.add(e) } , i.prototype.clone = function() { var t, e, n = new i(this.dictionary); try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; n.add(s.clone().stimulsoft.as(r.StiDataSource)) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } return n } , i.prototype.sort = function(t, e) { var i, n; if (void 0 === t && (t = r.StiSortOrder.Asc), void 0 === e && (e = !0), t == r.StiSortOrder.Asc ? this.directionFactor = 1 : this.directionFactor = -1, this.list.sort(), e) try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { a.value.columns.sort(t) } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , i.prototype.clearParametersExpression = function() { var t, e, r, i; try { for (var n = __values(this.list), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = a; if (null != s) try { for (var l = (r = void 0, __values(s.parameters.list)), u = l.next(); !u.done; u = l.next()) { u.value.expression = "" } } catch (t) { r = { error: t } } finally { try { u && !u.done && (i = l.return) && i.call(l) } finally { if (r) throw r.error } } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } } , i.prototype.connectAsync = function(t, e) { var i, n; void 0 === e && (e = null); var o = new c , a = []; this.list.copyTo(a), a.sort(); var s = 0; try { for (var l = __values(a), u = l.next(); !u.done; u = l.next()) { var m = u.value; if (m.connectionOrder == r.StiConnectionOrder.None) continue; m.connectOnStart && (t || m.stimulsoft.is(r.StiDataTableSource)) && (s++, r.StiDataLeader.connectAsync(m, e, t).try(function() { 0 == --s && o.callTry() }).catch(function(t) { o.callCatch(t) }).abort(o)) } } catch (t) { i = { error: t } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (i) throw i.error } } return 0 == s && o.callTry(), o } , i.prototype.connect = function(t, e) { var i, n; void 0 === e && (e = null); var o = []; this.list.copyTo(o), o.sort(); try { for (var a = __values(o), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.connectionOrder == r.StiConnectionOrder.None) continue; l.connectOnStart && (t || l.stimulsoft.is(r.StiDataTableSource)) && r.StiDataLeader.connect(l, e, t) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } , i.prototype.disconnect = function() { var t, e; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; r.StiDataLeader.disconnect(o) } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } } , i }(i); r.StiDataSourcesCollection = m; var p = function() { function t() {} return t.prototype.compare = function(t, e) { return t.connectionOrder.stimulsoft.compareTo(e.connectionOrder) } , t }() }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Dimension = 0] = "Dimension", t[t.Measure = 1] = "Measure" }(e = t.StiDataTransformationMode || (t.StiDataTransformationMode = {})) }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiPromise , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.System.Collections.List , a = t.System.Data.DataTable , s = t.Base.StiKeyHelper , l = t.Data.Engine.IStiQueryObject , u = t.Data.Helpers.StiUsedDataHelper , c = t.Data.Engine.StiDataSourcePicker , m = t.Data.Engine.StiDataRequestOption , p = t.Data.Engine.StiDataSortRule , h = t.Data.Engine.StiDataFilterRule , d = t.Data.Engine.StiDataActionRule , g = t.Data.Engine.StiDataAnalyzer , f = t.Data.Helpers.StiDataTableConverter , S = t.Data.Exceptions.StiTypeNotRecognizedException , A = t.Base.StiJsonReportObjectHelper , y = function(y) { function w(t, i, n) { var a = y.call(this, t, i, i, null != n ? n : s.generateKey()) || this; return a.sorts = new o, a.filters = new o, a.actions = new o, a.componentId = e.StiComponentId.StiDataTransformation, a.connectionOrder = r.StiConnectionOrder.None, a.key = s.getOrGeneratedKey(n), a } return __extends(w, y), w.prototype.implements = function() { return w.ImplementsStiDataTransformation || (w.ImplementsStiDataTransformation = y.prototype.implements.call(this).concat([l, n])), w.ImplementsStiDataTransformation } , w.prototype.saveToJsonObject = function(t) { var e = y.prototype.saveToJsonObject.call(this, t); return e.addPropertyJObject("Sorts", A.Serialize.objectArray(this.sorts, t)), e.addPropertyJObject("Filters", A.Serialize.objectArray(this.filters, t)), e.addPropertyJObject("Actions", A.Serialize.objectArray(this.actions, t)), e } , w.prototype.loadFromJsonObject = function(t) { var e, r; y.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.value; switch (o.name) { case "Sorts": this.sorts.addRange(o.value.properties().toList().select(function(t) { return p.loadFromJson(t.value) })); break; case "Filters": this.filters.addRange(o.value.properties().toList().select(function(t) { return h.loadFromJson(t.value) })); break; case "Actions": this.actions.addRange(o.value.properties().toList().select(function(t) { return d.loadFromJson(t.value) })); break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , w.prototype.loadFromXml = function(t) { var e, r; y.prototype.loadFromXml.call(this, t); try { for (var i = __values(t.childNodes), n = i.next(); !n.done; n = i.next()) { var o = n.value; switch (o.nodeName) { case "Sorts": this.sorts.addRange(o.childNodes.toList().select(function(t) { return p.loadFromXml(t) })); break; case "Filters": this.filters.addRange(o.childNodes.toList().select(function(t) { return h.loadFromXml(t) })); break; case "Actions": this.actions.addRange(o.childNodes.toList().select(function(t) { return d.loadFromXml(t) })); break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , w.prototype.retrieveUsedDataNames = function(t) { return u.getMany2(this.getMeters()) } , w.prototype.getDataSources = function(t) { var e = this , r = this.getDictionary(); if (null == r) return null; var i = r.fetchDataSources().where(function(t) { return !t.stimulsoft.is(w) && (t.getKey() != e.getKey() || null == e.getKey()) }, this); return c.fetch(this, null, t, i) } , w.prototype.getKey = function() { return this.key } , w.prototype.getDataTable2 = function(t) { return __awaiter(this, void 0, void 0, function() { var e = this; return __generator(this, function(r) { return [2, new Promise(function(r) { e.retrieveDataTableAsync(t ? m.AllowOpenConnections : m.None).try(function(t) { return r(t) }) } )] }) }) } , w.prototype.getDataAdapterType = function() { return r.StiDataTransformationAdapterService } , w.prototype.retrieveDataTableAsync = function(t) { var e = this , r = new i; if (0 == this.columns.count) return r.callTry(new a(this.name)); return setTimeout(function() { return __awaiter(e, void 0, void 0, function() { var e, i, n; return __generator(this, function(o) { switch (o.label) { case 0: return [4, g.analyze(this, null, this.getMeters(), t, this.sorts, this.filters, null, this.actions)]; case 1: return e = o.sent(), i = this.columns.toList().select(function(t) { return t.type }), n = f.toNetTable(e, i), n.tableName = this.name, r.callTry(n), [2] } }) }) }, 0), r } , w.prototype.connectToDataAsync = function() { var t = this , e = new i; return this.retrieveDataTableAsync(m.None).try(function(r) { t.dataTable = r, e.callTry() }, this), e } , w.prototype.getMeters = function(e) { return this.columns.toList().where(function(e) { return e.stimulsoft.is(t.Report.Dictionary.StiDataTransformationColumn) }).cast().select(this.getMeter) } , w.prototype.getMeter = function(t) { switch (t.mode) { case r.StiDataTransformationMode.Dimension: return new r.StiDimensionTransformationMeter(t.expression,t.name,t.key); case r.StiDataTransformationMode.Measure: return new r.StiMeasureTransformationMeter(t.expression,t.name,t.key); default: throw new S(t.mode) } } , w.prototype.createNew = function() { return new w } , w }(r.StiDataStoreSource); r.StiDataTransformation = y }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.convertTypeToString = function(t) { if (null != t) return t.stimulsoft.getType().stimulsoft.getNetTypeName(); return "" } , t }(); t.StiDataColumnConverter = e }(e = t.Design || (t.Design = {})) }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.StiTypeFinder , o = t.Report.Dictionary.Design.StiDataColumnConverter , a = t.System.ICloneable , s = t.Base.StiJson , l = t.Base.JsonReportObject.IStiJsonReportObject , u = t.Base.IStiAppDataColumn , c = t.Base.StiKeyHelper , m = function() { function m(t, e, r, i, n) { void 0 === t && (t = "Column"), void 0 === e && (e = "Column"), void 0 === r && (r = e), void 0 === i && (i = String), void 0 === n && (n = null), this.dataColumnsCollection = null, this._index = 0, this._nameInSource = "Column", this.nameInSource = t, this.name = e, this.alias = r, this.type = i, this.index = -1, this.key = n } return m.prototype.implements = function() { return [l, u, a, e.IStiName, e.IStiInherited] } , m.prototype.saveToJsonObject = function(t) { var e = new s; return e.addPropertyStringNullOrEmpty("Name", this.name), e.addPropertyNumber("Index", this.index), e.addPropertyStringNullOrEmpty("NameInSource", this.nameInSource), e.addPropertyStringNullOrEmpty("Alias", this.alias), e.addPropertyStringNullOrEmpty("Type", o.convertTypeToString(this.type)), e.addPropertyStringNullOrEmpty("Key", this.key), e } , m.prototype.loadFromJsonObject = function(e) { var r, i; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Name": this._name = s.value; break; case "Index": this._index = s.value.stimulsoft.toNumber(); break; case "NameInSource": this._nameInSource = s.value; break; case "Alias": this._alias = s.value; break; case "Type": try { this._type = n.getStiType(s.value) } catch (e) { t.System.StiError.showError(e, !1) } break; case "Key": this._key = s.value; break } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , m.prototype.loadFromXml = function(e) { var r, i; try { for (var o = __values(e.childNodes), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.nodeName) { case "Name": this._name = s.textContent; break; case "Index": this._index = s.textContent.stimulsoft.toNumber(); break; case "NameInSource": this._nameInSource = s.textContent; break; case "Alias": this._alias = s.textContent; break; case "Type": try { this._type = n.getStiType(s.textContent) } catch (e) { t.System.StiError.showError(e, !1) } break; case "Key": this._key = s.textContent; break } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , m.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , m.prototype.memberwiseClone = function() { return new (this.stimulsoft.getType()) } , m.prototype.getNameInSource = function() { return this.nameInSource } , m.prototype.getName = function() { return this.name } , m.prototype.getDataType = function() { return this.type } , m.prototype.getKey = function() { return this.key = c.getOrGeneratedKey(this.key), this.key } , m.prototype.setKey = function(t) { this.key = t } , Object.defineProperty(m.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 = e.StiNameValidator.correctName(t)), this._name != t && (this._name == this._nameInSource && (this._nameInSource = t), this._name == this._alias && (this._alias = t), this._name = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "inherited", { get: function() { if (null != this.dataSource) return this.dataSource.inherited; return !1 }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "dataSource", { get: function() { return this._dataSource }, set: function(t) { this._dataSource = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "businessObject", { get: function() { return this._businessObject }, set: function(t) { this._businessObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "index", { get: function() { return this._index }, set: function(t) { this._index = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "nameInSource", { get: function() { return this._nameInSource }, set: function(t) { this._nameInSource != t && (this._nameInSource = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "alias", { get: function() { return this._alias }, set: function(t) { this._alias = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "type", { get: function() { return this._type }, set: function(t) { this._type = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "key", { get: function() { return this._key }, set: function(t) { this._key = t }, enumerable: !0, configurable: !0 }), m.prototype.getColumnPath = function() { return i.format("{0}.{1}", this.dataSource.name, this.name) } , m.prototype.toString = function() { if (StiOptions.Dictionary.showOnlyAliasForDataColumn) return this.alias; return name == this._alias || i.isNullOrEmpty(this._alias) ? this.name : i.format("{0} [{1}]", this.name, this.alias) } , m.getDataColumnFromColumnName = function(t, e, r) { if (void 0 === r && (r = !1), null == e) return null; if (e = e.trim(), 0 == e.length) return null; var i = e.split(".") , n = t.dataSources.getByName(i[0]); if (null == n) return null; var o = i.length - 1 , a = 1; while (o > 0) { if (!(o >= 2)) return n.columns.contains(i[a]) ? n.columns.getByName(i[a]) : null; n = n.getParentDataSource(i[a], r), a++, o-- } return null } , m.getRelationName = function(t, e, r) { var i, n; 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) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } return r } , m.getDataFromBusinessObject = function(t, e) { var r = e.split(".") , i = t.businessObjects.getByName(r[0]); if (null == i) return null; var n = 1; while (n < r.length) { if (n == r.length - 1) return i.getByName(r[n]); i = i.businessObjects.getByName(r[n]), n++ } return null } , m.getBusinessObjectFromDataColumn = function(t, e) { var r = e.split(".") , i = t.businessObjects.getByName(r[0]); if (null == i) return null; var n = 1; while (n < r.length) { if (n == r.length - 1) return i; i = i.businessObjects.getByName(r[n]), n++ } return null } , m.getDataFromDataColumn = function(n, o, a) { if (void 0 === a && (a = !0), null == o) return null; var s = o.split(".") , l = n.dataSources.getByName(s[0]); if (null == l) return this.getDataFromBusinessObject(n, o); var u = null , c = s.length - 1 , m = 1; while (c > 0) { if (!(c >= 2)) { if (null != l) { var p = null != l.columns.getByName(s[m]) ? l.columns.getByName(s[m]).stimulsoft.as(r.StiCalcDataColumn) : null; if (null != p) { if (null != n && null != n.report && n.report.isDesigning) return null; if (null != n && null != n.report && n.report.calculationMode == e.StiCalculationMode.Interpretation) { var h = new t.Report.Components.StiText; h.name = "**StiCalcDataColumn**", h.page = n.report.pages.getByIndex(0); return t.Report.Engine.StiParser.StiParser.parseTextValue("{" + p.expression + "}", h) } var d = i.format("Get{0}_{1}", e.StiNameValidator.correctName(p.dataSource.name), e.StiNameValidator.correctName(p.name)); if (n.report.hasOwnProperty(d)) return n.report[d](n.report, []) } } if (null != u) return u.getByColumnName(s[m]); if (null == l) return null; return l.getByColumnName(s[m]) } var g = s[m]; a || (g = this.getRelationName(n, l, g)), u = null == u ? l.getParentData(g) : u.getParentData(g), l = l.getParentDataSource(g), m++, c-- } } , m.getDataSourceFromDataColumn = function(t, e) { var r = e.split("."); return t.dataSources.getByName(r[0]) } , m.getColumnNameFromDataColumn = function(t, e) { var r = e.split("."); return e.substr(r[0].length + 1) } , m.getDataListFromDataColumn = function(t, e, r, i) { void 0 === r && (r = null), void 0 === i && (i = !1); var n = this.getDatasFromDataColumn(t, e, r, i); return null != n ? n : null } , m.getDatasFromDataColumn = function(t, e, r, i) { void 0 === r && (r = null), void 0 === i && (i = !1); var n = [] , o = m.getDataSourceFromDataColumn(t, e); if (null != o) { i && o.first(); var a = 0; while (!o.isEof) { var s = m.getDataFromDataColumn(t, e); if (null != s && n.add(s), o.next(), a++, null != r && r == a) break } o.first() } var l = m.getBusinessObjectFromDataColumn(t, e); if (null != l) { l.saveState("Totals"), l.createEnumerator(); var a = 0; while (!l.isEof) { var s = m.getDataFromDataColumn(t, e); if (null != s && n.add(s), l.next(), a++, null != r && r == a) break } l.restoreState("Totals") } return n } , m }(); r.StiDataColumn = m; var p; !function(t) { t[t.NameInSource = 100] = "NameInSource", t[t.Name = 200] = "Name", t[t.Alias = 300] = "Alias", t[t.Expression = 400] = "Expression", t[t.Type = 500] = "Type" }(p || (p = {})) }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Data.Helpers.StiExpressionHelper , i = t.System.Collections.List , n = t.System.Enum , o = function(t) { function o(r, i, n, o, a, s) { void 0 === r && (r = "DataTransformationColumn"), void 0 === i && (i = "DataTransformationColumn"), void 0 === o && (o = ""), void 0 === a && (a = ""); var l = this; return null == n && (n = Number), null == s && (s = e.StiDataTransformationMode.Dimension), l = t.call(this, r, r, i, n) || this, l.expression = o, l.key = a, l.mode = s, l } return __extends(o, t), o.prototype.saveToJsonObject = function(r) { var i = t.prototype.saveToJsonObject.call(this, r); return i.addPropertyIdent("Ident", "Transform"), i.addPropertyString("Expression", this.expression), i.addPropertyEnum("Mode", e.StiDataTransformationMode, this.mode, e.StiDataTransformationMode.Dimension), i } , o.prototype.loadFromJsonObject = function(r) { var i, o; t.prototype.loadFromJsonObject.call(this, r); try { for (var a = __values(r.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "Expression": this.expression = l.value; break; case "Mode": this.mode = n.parse(e.StiDataTransformationMode, l.value); break } } } catch (t) { i = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (i) throw i.error } } } , o.prototype.loadFromXml = function(r) { var i, o; t.prototype.loadFromXml.call(this, r); try { for (var a = __values(r.childNodes), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.nodeName) { case "Expression": this.expression = l.textContent; break; case "Mode": this.mode = n.parse(e.StiDataTransformationMode, l.textContent); break } } } catch (t) { i = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (i) throw i.error } } } , o.prototype.getDictionaryColumn = function() { var t = this.dataSource; if (null != t) { var n = r.removeFunction(this.expression) , o = t.getDataSources(new i([n])).firstOrDefault().stimulsoft.as(e.StiDataSource); if (null != o) return o.columns.toList().firstOrDefault(function(t) { return t.getColumnPath().toLowerCase() == n.toLowerCase() }) } return null } , o }(e.StiDataColumn); e.StiDataTransformationColumn = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Type , i = function() { function t(t, e) { this.expression = t, this.label = e } return t.prototype.getUniqueCode = function() { var t = null != this.expression ? this.expression.stimulsoft.getHashCode() : 0; return t = 397 * t ^ r.stimulsoft.getHashCode(this), t = 397 * t ^ (null != this.label ? this.label.stimulsoft.getHashCode() : 0), Math.abs(t) } , t }(); e.StiDataTransformationMeter = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Type , i = t.Base.Meters.IStiDimensionMeter , n = function(t) { function e(e, r, i) { var n = t.call(this, e, r) || this; return n.key = i, n } return __extends(e, t), e.prototype.implements = function() { return e.ImplementsStiDimensionTransformationMeter || (e.ImplementsStiDimensionTransformationMeter = [i]), e.ImplementsStiDimensionTransformationMeter } , e.prototype.getUniqueCode = function() { var t = null != this.expression ? this.expression.stimulsoft.getHashCode() : 0; return t = 397 * t ^ r.stimulsoft.getHashCode(this), t = 397 * t ^ (null != this.label ? this.label.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this.key ? this.key.stimulsoft.getHashCode() : 0), Math.abs(t) } , e }(e.StiDataTransformationMeter); e.StiDimensionTransformationMeter = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Type , i = t.Base.Meters.IStiMeasureMeter , n = function(t) { function e(e, r, i) { var n = t.call(this, e, r) || this; return n.key = i, n } return __extends(e, t), e.prototype.implements = function() { return e.ImplementsStiMeasureTransformationMeter || (e.ImplementsStiMeasureTransformationMeter = [i]), e.ImplementsStiMeasureTransformationMeter } , e.prototype.getUniqueCode = function() { var t = null != this.expression ? this.expression.stimulsoft.getHashCode() : 0; return t = 397 * t ^ r.stimulsoft.getHashCode(this), t = 397 * t ^ (null != this.label ? this.label.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this.key ? this.key.stimulsoft.getHashCode() : 0), Math.abs(t) } , e }(e.StiDataTransformationMeter); e.StiMeasureTransformationMeter = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.StiDataLoaderHelper , n = t.Base.StiDataLoaderHelperData , o = function() { function t() {} return t.loadMutiple = function(t, o, a, s, l) { if (r.isNullOrEmpty(o)) return null; if (e.StiHyperlinkProcessor.isResourceHyperlink(o)) return new n(e.StiHyperlinkProcessor.getResourceNameFromHyperlink(o),e.StiHyperlinkProcessor.getBytes(t, o)).toList(); return i.loadMultiple(o, a, s, l) } , t.loadSingle = function(t, o, a, s) { if (r.isNullOrEmpty(o)) return null; if (e.StiHyperlinkProcessor.isResourceHyperlink(o)) return new n(e.StiHyperlinkProcessor.getResourceNameFromHyperlink(o),e.StiHyperlinkProcessor.getBytes(t, o)); return i.loadSingle(o, a, s) } , t }(); e.StiUniversalDataLoader = o }(r = e.Helpers || (e.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Disconnected" } , e }(t.StiEvent); t.StiDisconnectedEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Disconnecting" } , e }(t.StiEvent); t.StiDisconnectingEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Connected" } , e }(t.StiEvent); t.StiConnectedEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Connecting" } , e }(t.StiEvent); t.StiConnectingEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString, n = t.Report.Events.StiDisconnectedEvent, o = t.Report.Events.StiDisconnectingEvent, a = t.Report.Events.StiConnectedEvent, s = t.Report.Events.StiConnectingEvent, l = t.System.EventArgs, u = t.Base.Services.StiService, c = t.Base.Localization.StiLocalization, m = t.Base.JsonReportObject.IStiJsonReportObject, p = t.Base.StiJson, h = t.System.StiPromise, d = t.Base.IStiAppConnection, g = t.Base.StiKeyHelper, f; !function(t) { t[t.Name = 100] = "Name", t[t.Alias = 200] = "Alias", t[t.ConnectionString = 300] = "ConnectionString", t[t.FirstRowIsHeader = 350] = "FirstRowIsHeader", t[t.PathSchema = 400] = "PathSchema", t[t.PathData = 500] = "PathData", t[t.XmlType = 600] = "XmlType", t[t.PromptUserNameAndPassword = 700] = "PromptUserNameAndPassword", t[t.SaveDataInReportResources = 800] = "SaveDataInReportResources" }(f = r.Order || (r.Order = {})); var S = function(t) { function u(e, r, i) { void 0 === e && (e = ""), void 0 === r && (r = null), void 0 === i && (i = null); var l = t.call(this) || this; return l._inherited = !1, l.connectingEvent = new s, l.connectedEvent = new a, l.disconnectingEvent = new o, l.disconnectedEvent = new n, l._key = null, l._name = e, l._alias = r || e, l._key = i, l } return __extends(u, t), u.prototype.implements = function() { return [e.IStiInherited, d, m] } , u.prototype.saveToJsonObject = function(t) { var e = new p; 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 } , u.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } 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 "Alias": this._alias = r.textContent; break; case "Key": this._key = r.textContent; break } } } , Object.defineProperty(u.prototype, "inherited", { get: function() { return this._inherited }, set: function(t) { this._inherited = t }, enumerable: !0, configurable: !0 }), u.prototype.getName = function() { return this.name } , u.prototype.getKey = function() { return this.key = g.getOrGeneratedKey(this.key), this.key } , u.prototype.setKey = function(t) { this.key = t } , Object.defineProperty(u.prototype, "serviceCategory", { get: function() { return c.get("PropertyMain", "CategoryConnections") }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "serviceType", { get: function() { return u.stimulsoft.getType() }, enumerable: !0, configurable: !0 }), u.prototype.onConnecting = function(t) {} , u.prototype.invokeConnecting = function() { this.onConnecting(l.empty) } , u.prototype.onConnected = function(t) {} , u.prototype.invokeConnected = function() { this.onConnected(l.empty) } , u.prototype.onDisconnecting = function(t) {} , u.prototype.invokeDisconnecting = function() { this.onDisconnecting(l.empty) } , u.prototype.onDisconnected = function(t) {} , u.prototype.invokeDisconnected = function() { this.onDisconnected(l.empty) } , Object.defineProperty(u.prototype, "serviceName", { get: function() { return this.name }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "name", { get: function() { return this._name }, set: function(t) { this._name = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "alias", { get: function() { return this._alias }, set: function(t) { this._alias = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "key", { get: function() { return this._key }, set: function(t) { this._key = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "connectionType", { get: function() { return r.StiConnectionType.Other }, enumerable: !0, configurable: !0 }), u.prototype.applyDatabaseInformation = function(t, i, n) { var o, a, s, l; void 0 === n && (n = null); try { for (var u = __values(t.tables), c = u.next(); !c.done; c = u.next()) { var m = c.value , p = new r.StiDataTableSource(this.name + "." + m.tableName,e.StiNameCreation.createName(i, m.tableName, !1, !1, !0)); try { for (var h = (s = void 0, __values(m.columns.list)), d = h.next(); !d.done; d = h.next()) { var g = d.value , f = new r.StiDataColumn(g.columnName,g.columnName,g.columnName,g.dataType); p.columns.add(f) } } catch (t) { s = { error: t } } finally { try { d && !d.done && (l = h.return) && l.call(h) } finally { if (s) throw s.error } } i.dictionary.dataSources.add(p) } } catch (t) { o = { error: t } } finally { try { c && !c.done && (a = u.return) && a.call(u) } finally { if (o) throw o.error } } } , u.prototype.getDatabaseInformationAsync = function(t) { var e = new h , r = this; return setTimeout(function() { try { var i = r.getDatabaseInformation(t); e.callTry(i) } catch (t) { e.callCatch(t.message) } }), e } , u.prototype.getDatabaseInformation = function(t) { return null } , u.prototype.toString = function() { if (!StiOptions.Dictionary.showOnlyAliasForDatabase) { if (this.name == this.alias || 0 == this.alias.length) return i.format("{0} [{1}] ", this.name, this.serviceName); return i.format("{0} [{1}] ", this.name, this.alias) } if (!i.isNullOrEmpty(this.alias)) return this.alias; return this.name } , u.prototype.regData = function(t, e) {} , u.prototype.regDataAsync = function(t, e) { var r = new h , i = this; return setTimeout(function() { try { i.regData(t, e), r.callTry() } catch (t) { r.callTry() } }), r } , u.prototype.createNew = function() { return null } , u }(u); r.StiDatabase = S }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Convert , n = t.System.StiString , o = t.System.Drawing.Image , a = t.Base.StiJson , s = t.Base.JsonReportObject.IStiJsonReportObject , l = t.System.Enum , u = t.Base.StiPacker , c = t.System.Text.XMLConvert , m = function() { function m(t, e, i, n, o, a) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = !1), void 0 === n && (n = r.StiResourceType.Image), void 0 === o && (o = null), void 0 === a && (a = !1), this.availableInTheViewer = !1, this.name = t, this.alias = e, this.inherited = i, this.type = n, this.content = o, this.availableInTheViewer = a } return m.prototype.implements = function() { return [e.IStiName, e.IStiInherited, s] } , m.prototype.clone = function() { var t = new m; 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 } , m.prototype.saveToJsonObject = function(t) { var e = new a; return e.addPropertyStringNullOrEmpty("Name", this.name), e.addPropertyStringNullOrEmpty("Alias", this.alias), e.addPropertyStringNullOrEmpty("Key", this.key), e.addPropertyBool("Inherited", this.inherited), e.addPropertyEnum("Type", r.StiResourceType, this.type, r.StiResourceType.Image), null == this.packAndEncryptContent && (this.packAndEncryptContent = u.packAndEncryptToString(this.content)), e.addPropertyString("Image", this.packAndEncryptContent), e.addPropertyBool("AvailableInTheViewer", this.availableInTheViewer), e } , m.prototype.loadFromJsonObject = function(t) { var e, i; try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Name": this.name = a.value.toString(); break; case "Alias": this.alias = a.value.toString(); break; case "Key": this.key = a.value.toString(); break; case "Inherited": this.inherited = a.value.stimulsoft.toBoolean(); break; case "Type": this.type = l.parse(r.StiResourceType, a.value); break; case "Image": this.packAndEncryptContent = a.value; break; case "AvailableInTheViewer": this.availableInTheViewer = a.value.stimulsoft.toBoolean(); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , m.prototype.loadFromXml = function(t) { var e, i, n = t.textContent.split(","); this.type = r.StiResourceType.Image; try { for (var o = __values(n), a = o.next(); !a.done; a = o.next()) { var s = a.value , u = c.decodeName(s).trim() , m = u.split("=")[0]; switch (u = u.substr(m.length + 1), m) { case "Name": this.name = u; break; case "Alias": this.alias = u; break; case "Inherited": this.inherited = u.stimulsoft.toBoolean(); break; case "Type": this.type = l.parse(r.StiResourceType, u); break; case "Content": this.packAndEncryptContent = u; break; case "AvailableInTheViewer": this.availableInTheViewer = u.stimulsoft.toBoolean(); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (e) throw e.error } } } , Object.defineProperty(m.prototype, "componentId", { get: function() { return e.StiComponentId.StiResource }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "propName", { get: function() { return this.name }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "name", { get: function() { return this._name }, set: function(t) { this._name != t && (this._name == this.alias && (this.alias = t), this._name = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "content", { get: function() { if (null == this._content && !n.isNullOrEmpty(this._packAndEncryptContent) && (this._content = u.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: !0, configurable: !0 }), Object.defineProperty(m.prototype, "packAndEncryptContent", { get: function() { return n.isNullOrEmpty(this._packAndEncryptContent) && null != this._content && (this._packAndEncryptContent = u.packAndEncryptToString(this._content)), this._packAndEncryptContent }, set: function(t) { this._packAndEncryptContent != t && (this._packAndEncryptContent = t, this.content = null) }, enumerable: !0, configurable: !0 }), m.prototype.getResourceAsImage = function() { if (null == this.content || this.type != r.StiResourceType.Image) return null; try { return o.fromBytes(this.content) } catch (t) {} return null } , m.prototype.toString = function() { if (StiOptions.Dictionary.showOnlyAliasForResource) return this.alias; return this.alias == this.name ? this.name : this.name + " [" + this.alias + "]" } , m.prototype.getContentType = function() { switch (this.type) { case r.StiResourceType.ReportSnapshot: case r.StiResourceType.Report: return "application/octet-stream"; case r.StiResourceType.Pdf: return "application/pdf"; case r.StiResourceType.Txt: return "text/plain"; case r.StiResourceType.Json: return "text/plain"; case r.StiResourceType.Rtf: return "application/rtf"; case r.StiResourceType.Word: return "application/vnd.openxmlformats-officedocument.wordprocessingml.document"; case r.StiResourceType.Excel: return "application/vnd.ms-excel"; case r.StiResourceType.Csv: return "text/csv"; case r.StiResourceType.Dbf: return "application/dbf"; case r.StiResourceType.Image: if (t.Report.Components.StiImageHelper.isPng(this.content)) return "image/png"; if (t.Report.Components.StiImageHelper.isBmp(this.content)) return "image/bmp"; if (t.Report.Components.StiImageHelper.isJpeg(this.content)) return "image/jpeg"; if (t.Report.Components.StiImageHelper.isGif(this.content)) return "image/gif"; if (t.Report.Components.StiImageHelper.isTiff(this.content)) return "image/tiff"; if (t.Report.Components.StiImageHelper.isEmf(this.content)) return "image/x-emf"; return "image/png" } return "text/plain" } , m.prototype.getFileExt = function() { switch (this.type) { case r.StiResourceType.ReportSnapshot: return ".mdc"; case r.StiResourceType.Report: return ".mrt"; case r.StiResourceType.Pdf: return ".pdf"; case r.StiResourceType.Txt: return ".txt"; case r.StiResourceType.Rtf: return ".rtf"; case r.StiResourceType.Word: return ".docx"; case r.StiResourceType.Excel: return ".xlsx"; case r.StiResourceType.Csv: return ".csv"; case r.StiResourceType.Dbf: return ".dbf"; case r.StiResourceType.Json: return ".json"; case r.StiResourceType.Image: if (t.Report.Components.StiImageHelper.isPng(this.content)) return ".png"; if (t.Report.Components.StiImageHelper.isBmp(this.content)) return ".bmp"; if (t.Report.Components.StiImageHelper.isJpeg(this.content)) return ".jpg"; if (t.Report.Components.StiImageHelper.isGif(this.content)) return ".gif"; if (t.Report.Components.StiImageHelper.isTiff(this.content)) return ".tiff"; if (t.Report.Components.StiImageHelper.isEmf(this.content)) return ".emf"; return ".png" } return "" } , m }(); r.StiResource = m }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.StiJsonReportObjectHelper , o = t.System.Enum , a = t.Base.StiJson , s = t.Base.Localization.StiLocalization , l = t.Base.StiTypeFinder , u = t.Base.Drawing.StiImageConverter , c = function() { function s() { this._dateTimeType = r.StiDateTimeType.Date, this._itemsInitializationType = r.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 = [] } return s.prototype.saveToJsonObject = function() { var t = new a; return t.addPropertyEnum("DateTimeType", r.StiDateTimeType, this.dateTimeType, r.StiDateTimeType.Date), t.addPropertyEnum("ItemsInitializationType", r.StiItemsInitializationType, this.itemsInitializationType, r.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", n.Serialize.stringArray(this.keys)), t.addPropertyJObject("Values", n.Serialize.stringArray(this.values)), null != this.bindingVariable && t.addPropertyStringNullOrEmpty("BindingVariable", this.bindingVariable.name), t } , s.prototype.loadFromJsonObject = function(t, e) { var i, a; try { for (var s = __values(t.properties()), l = s.next(); !l.done; l = s.next()) { var u = l.value; switch (u.name) { case "DateTimeType": this._dateTimeType = o.parse(r.StiDateTimeType, u.value); break; case "ItemsInitializationType": this._itemsInitializationType = o.parse(r.StiItemsInitializationType, u.value); break; case "KeysColumn": this._keysColumn = u.value; break; case "ValuesColumn": this._valuesColumn = u.value; break; case "BindingValuesColumn": this._bindingValuesColumn = u.value; break; case "Mask": this._mask = u.value; break; case "AllowUserValues": this._allowUserValues = u.value.stimulsoft.toBoolean(); break; case "BindingValue": this._bindingValue = u.value.stimulsoft.toBoolean(); break; case "Keys": this._keys = n.Deserialize.stringArray(u.value); break; case "Values": this._values = n.Deserialize.stringArray(u.value); break; case "BindingVariable": this.jsonLoadedBindingVariableName = u.value, e.jsonLoaderHelper.dialogInfo.add(this); break } } } catch (t) { i = { error: t } } finally { try { l && !l.done && (a = s.return) && a.call(s) } finally { if (i) throw i.error } } } , Object.defineProperty(s.prototype, "dateTimeType", { get: function() { return this._dateTimeType }, set: function(t) { this._dateTimeType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "itemsInitializationType", { get: function() { return this._itemsInitializationType }, set: function(t) { this._itemsInitializationType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "keysColumn", { get: function() { return this._keysColumn }, set: function(t) { this._keysColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "valuesColumn", { get: function() { return this._valuesColumn }, set: function(t) { this._valuesColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "bindingVariable", { get: function() { return this._bindingVariable }, set: function(t) { this._bindingVariable = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "bindingValuesColumn", { get: function() { return this._bindingValuesColumn }, set: function(t) { this._bindingValuesColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "mask", { get: function() { return this._mask }, set: function(t) { this._mask = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "allowUserValues", { get: function() { return this._allowUserValues }, set: function(t) { this._allowUserValues = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "bindingValue", { get: function() { return this._bindingValue }, set: function(t) { this._bindingValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "keys", { get: function() { return this._keys }, set: function(t) { this._keys = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "values", { get: function() { return this._values }, set: function(t) { this._values = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "valuesBinding", { get: function() { return this._valuesBinding }, set: function(t) { this._valuesBinding = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "isDefault", { get: function() { return this.allowUserValues && this.dateTimeType == r.StiDateTimeType.Date && null == this.bindingVariable && (null == this.keys || 0 == this.keys.length) && (null == this.values || 0 == this.values.length) && i.isNullOrEmpty(this.mask) && i.isNullOrEmpty(this.keysColumn) && i.isNullOrEmpty(this.valuesColumn) && i.isNullOrEmpty(this.bindingValuesColumn) }, enumerable: !0, configurable: !0 }), s.convert = function(t) { return t.toString() } , s.prototype.getDialogInfoItems = function(r) { var n, o; try { var a = []; if (null == this.keys) return a; var s = 0; try { for (var c = __values(this.keys), m = c.next(); !m.done; m = c.next()) { var p = m.value , T = null , k = null , M = null; try { if (null != p && p.stimulsoft.startsWith("{") && p.stimulsoft.endsWith("}")) if (l.findType(r, e.Range)) { if (p.stimulsoft.contains("<<|>>")) { var O = p.substr(1, p.length - 2) , _ = O.split("<<|>>"); 2 == _.length ? (k = _[0], M = _[0]) : k = p.substr(1, p.length - 2) } else k = p.substr(1, p.length - 2); T = new N } else k = p.substr(1, p.length - 2), T = new C; else if (r == t.System.SByte || r == t.System.Byte || r == t.System.Short || r == t.System.Int16 || r == t.System.UInt16 || r == t.System.Int || r == t.System.Int32 || r == t.System.UInt || r == t.System.UInt32 || r == t.System.Long || r == t.System.Int64 || r == t.System.ULong || r == t.System.UInt64 || r == t.System.NullableSByte || r == t.System.NullableByte || r == t.System.NullableShort || r == t.System.NullableInt16 || r == t.System.NullableUInt16 || r == t.System.NullableInt || r == t.System.NullableInt32 || r == t.System.NullableUInt32 || r == t.System.NullableLong || r == t.System.NullableInt64 || r == t.System.NullableULong || r == t.System.NullableUInt64 || r == t.System.StimulsoftByteList || r == t.System.StimulsoftShortList || r == t.System.StimulsoftIntList || r == t.System.StimulsoftLongList) k = null != p ? p.stimulsoft.toNumber(!1) : null, isNaN(k) && (k = null), T = new v; else if (r == String || r == t.System.StimulsoftStringList) k = p, T = new h; else if (r == t.System.Double || r == t.System.Single || r == t.System.NullableDouble || r == t.System.NullableSingle || r == t.System.StimulsoftDoubleList || r == t.System.StimulsoftFloatList) k = null != p ? p.stimulsoft.toNumber() : null, isNaN(k) && (k = null), T = new w; else if (r == t.System.Decimal || r == t.System.NullableDecimal || r == t.System.StimulsoftDecimalList) k = null != p ? p.stimulsoft.toNumber() : null, isNaN(k) && (k = null), T = new b; else if (r == t.System.DateTime || r == t.System.NullableDateTime || r == t.System.StimulsoftDateTimeList) k = new t.System.DateTime(Date.parse(p)), T = new A; else if (r == t.System.TimeSpan || r == t.System.NullableTimeSpan || r == t.System.StimulsoftTimeSpanList) k = t.System.TimeSpan.fromString(p), T = new y; else if (r == Boolean || r == t.System.NullableBoolean || r == t.System.StimulsoftBoolList) k = null != p && "true" == p.toLowerCase(), T = new f; else if (r == t.System.Char || r == t.System.NullableChar || r == t.System.StimulsoftCharList) k = "" == p ? " " : null != p ? p.toString() : null, T = new g; else if (r == t.System.Guid || r == t.System.NullableGuid || r == t.System.StimulsoftGuidList) k = new t.System.Guid(p), T = new d; else if (r == t.System.Drawing.Image) k = u.stringToImage(p), T = new S; else if (r == t.System.StimulsoftByteRange || r == t.System.StimulsoftShortRange || r == t.System.StimulsoftIntRange || r == t.System.StimulsoftLongRange) { var L = e.RangeConverter.stringToRange(p); T = new P, k = L.fromObject, M = L.toObject } else if (r == t.System.StimulsoftStringRange) { var L = e.RangeConverter.stringToRange(p); T = new E, k = L.fromObject.toString(), M = L.toObject.toString() } else if (r == t.System.StimulsoftDoubleRange || r == t.System.StimulsoftFloatRange) { var L = e.RangeConverter.stringToRange(p); T = new D, k = L.fromObject, M = L.toObject } else if (r == t.System.StimulsoftDecimalRange) { var L = e.RangeConverter.stringToRange(p); T = new R, k = L.fromObject, M = L.toObject } else if (r == t.System.StimulsoftDateTimeRange) { var L = e.RangeConverter.stringToRange(p); T = new x, k = L.fromObject, M = L.toObject } else if (r == t.System.StimulsoftTimeSpanRange) { var L = e.RangeConverter.stringToRange(p); T = new F, k = L.fromObject, M = L.toObject } else if (r == t.System.StimulsoftCharRange) { var L = e.RangeConverter.stringToRange(p); T = new I, k = L.fromObject, M = L.toObject } else if (r == t.System.StimulsoftGuidRange) { var L = e.RangeConverter.stringToRange(p); T = new B, k = L.fromObject, M = L.toObject } T.keyObject = k, T.keyObjectTo = M } catch (e) { t.System.StiError.showError(e, !1) } T.value = this.values.length > s && !i.isNullOrEmpty(this.values[s]) ? this.values[s] : "", T.valueBinding = this.valuesBinding.length > s ? this.valuesBinding[s] : null, a.add(T), s++ } } catch (t) { n = { error: t } } finally { try { m && !m.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } return a } finally {} } , s.prototype.setDialogInfoItems = function(e, r) { var n, o; if (null == e || 0 == e.length) return this.keys = null, void (this.values = null); try { this.keys = Array.create(Object, e.length), this.values = Array.create(Object, e.length), this.valuesBinding = Array.create(Object, e.length); var a = 0; try { for (var s = __values(e), l = s.next(); !l.done; l = s.next()) { var c = l.value , m = null; try { c.stimulsoft.is(C) ? m = i.format("{{{0}}}", c.keyObject) : c.stimulsoft.is(N) ? m = i.format("{{{0}<<|>>{1}}}", c.keyObject, c.keyObjectTo) : c.stimulsoft.is(v) || c.stimulsoft.is(w) || c.stimulsoft.is(b) || c.stimulsoft.is(A) || c.stimulsoft.is(y) || c.stimulsoft.is(f) || c.stimulsoft.is(g) || c.stimulsoft.is(d) || c.stimulsoft.is(h) ? m = c.keyObject.toString() : c.stimulsoft.is(S) ? m = u.imageToString(c.keyObject) : c.stimulsoft.is(P) || c.stimulsoft.is(D) || c.stimulsoft.is(R) || c.stimulsoft.is(x) || c.stimulsoft.is(F) || c.stimulsoft.is(I) || c.stimulsoft.is(B) || c.stimulsoft.is(E) } catch (e) { t.System.StiError.showError(e, !1) } this.keys[a] = null == m ? "" : m.toString(), this.values[a] = c.value, this.valuesBinding[a] = c.valueBinding, a++ } } catch (t) { n = { error: t } } finally { try { l && !l.done && (o = s.return) && o.call(s) } finally { if (n) throw n.error } } } finally {} } , s }(); r.StiDialogInfo = c; var m = function() { function t() { this._keyObject = null, this._keyObjectTo = null, this._valueBinding = null, this._value = "" } return Object.defineProperty(t.prototype, "componentId", { get: function() { return e.StiComponentId.StiDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "keyObject", { get: function() { return this._keyObject }, set: function(t) { this._keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "keyObjectTo", { get: function() { return this._keyObjectTo }, set: function(t) { this._keyObjectTo = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "valueBinding", { get: function() { return this._valueBinding }, set: function(t) { this._valueBinding = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "value", { get: function() { return this._value }, set: function(t) { this._value = t }, enumerable: !0, configurable: !0 }), t.prototype.toString = function(t) { if (this.stimulsoft.is(E) || this.stimulsoft.is(B) || this.stimulsoft.is(I) || this.stimulsoft.is(F) || this.stimulsoft.is(D) || this.stimulsoft.is(R) || this.stimulsoft.is(P) || this.stimulsoft.is(N)) { var e = null == this.keyObject ? s.get("Report", "NotAssigned") : this.keyObject.toString() , n = null == this.keyObjectTo ? s.get("Report", "NotAssigned") : this.keyObjectTo.toString() , o = i.isNullOrEmpty(e) && i.isNullOrEmpty(n) ? "" : i.format("{0}-{1}", e, n); return this.stimulsoft.is(N) ? i.format("{{{0}}}", i.isNullOrEmpty(this.value) ? o : this.value) : i.isNullOrEmpty(this.value) ? o : this.value } if (this.stimulsoft.is(x)) { var a = this.stimulsoft.as(x) , e = null , n = null; t == r.StiDateTimeType.DateAndTime ? (e = a.from.toString(), n = a.to.toString()) : t == r.StiDateTimeType.Date ? (e = a.from.toString(), n = a.to.toString()) : t == r.StiDateTimeType.Time && (e = a.from.toString(), n = a.to.toString()); var o = i.format("{0}-{1}", e, n); return i.isNullOrEmpty(this.value) ? o : this.value } if (this.stimulsoft.is(S)) { return null == this.stimulsoft.as(S).key ? s.get("Report", "NotAssigned") : s.get("Components", "StiImage") } if (this.stimulsoft.is(A)) { var l = this.stimulsoft.as(A) , u = null; return t == r.StiDateTimeType.DateAndTime ? u = l.key.toString() : t == r.StiDateTimeType.Date ? u = l.key.toString() : t == r.StiDateTimeType.Time && (u = l.key.toString()), i.isNullOrEmpty(this.value) ? u : this.value } var u = null == this.keyObject ? s.get("Report", "NotAssigned") : this.keyObject.toString(); return this.stimulsoft.is(C) ? i.format("{{{0}}}", i.isNullOrEmpty(this.value) ? u : this.value) : i.isNullOrEmpty(this.value) ? u : this.value } , t }(); r.StiDialogInfoItem = m; var p = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(m); r.StiRangeDialogInfoItem = p; var h = function(t) { function r() { return null !== t && t.apply(this, arguments) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiStringDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), r }(m); r.StiStringDialogInfoItem = h; var d = function(r) { function i() { var e = r.call(this) || this; return e.keyObject = t.System.Guid.newGuid(), e } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return e.StiComponentId.StiGuidDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), i }(m); r.StiGuidDialogInfoItem = d; var g = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = " ", e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCharDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), r }(m); r.StiCharDialogInfoItem = g; var f = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = !1, e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiBoolDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), r }(m); r.StiBoolDialogInfoItem = f; var S = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = null, e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiImageDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), r }(m); r.StiImageDialogInfoItem = S; var A = function(r) { function i() { var e = r.call(this) || this; return e.keyObject = t.System.DateTime.now, e } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return e.StiComponentId.StiDateTimeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), i }(m); r.StiDateTimeDialogInfoItem = A; var y = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = 0, e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiTimeSpanDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), r }(m); r.StiTimeSpanDialogInfoItem = y; var w = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = 0, e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiDoubleDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), r }(m); r.StiDoubleDialogInfoItem = w; var b = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = 0, e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiDecimalDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), r }(m); r.StiDecimalDialogInfoItem = b; var v = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = 0, e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiLongDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), r }(m); r.StiLongDialogInfoItem = v; var C = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = "", e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiExpressionDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "key", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), r }(m); r.StiExpressionDialogInfoItem = C; var E = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = "", e.keyObjectTo = "", e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiStringRangeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "from", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "to", { get: function() { return this.keyObjectTo }, set: function(t) { this.keyObjectTo = t }, enumerable: !0, configurable: !0 }), r }(p); r.StiStringRangeDialogInfoItem = E; var B = function(r) { function i() { var e = r.call(this) || this; return e.keyObject = t.System.Guid.newGuid(), e.keyObjectTo = t.System.Guid.newGuid(), e } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return e.StiComponentId.StiGuidRangeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "from", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "to", { get: function() { return this.keyObjectTo }, set: function(t) { this.keyObjectTo = t }, enumerable: !0, configurable: !0 }), i }(p); r.StiGuidRangeDialogInfoItem = B; var T = function(t) { function r() { return null !== t && t.apply(this, arguments) || this } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiByteArrayRangeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "from", { get: function() { return this.keyObject }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "form", { set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "to", { get: function() { return this.keyObjectTo }, set: function(t) { this.keyObjectTo = t }, enumerable: !0, configurable: !0 }), r }(p); r.StiByteArrayRangeDialogInfoItem = T; var I = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = "A", e.keyObjectTo = "Z", e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiCharRangeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "from", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "to", { get: function() { return this.keyObjectTo }, set: function(t) { this.keyObjectTo = t }, enumerable: !0, configurable: !0 }), r }(p); r.StiCharRangeDialogInfoItem = I; var x = function(r) { function i() { var e = r.call(this) || this; return e.keyObject = t.System.DateTime.now, e.keyObjectTo = t.System.DateTime.now, e } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return e.StiComponentId.StiDateTimeRangeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "from", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "to", { get: function() { return this.keyObjectTo }, set: function(t) { this.keyObjectTo = t }, enumerable: !0, configurable: !0 }), i }(p); r.StiDateTimeRangeDialogInfoItem = x; var F = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = 0, e.keyObjectTo = 0, e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiTimeSpanRangeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "from", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "to", { get: function() { return this.keyObjectTo }, set: function(t) { this.keyObjectTo = t }, enumerable: !0, configurable: !0 }), r }(p); r.StiTimeSpanRangeDialogInfoItem = F; var D = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = 0, e.keyObjectTo = 0, e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiDoubleRangeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "from", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "to", { get: function() { return this.keyObjectTo }, set: function(t) { this.keyObjectTo = t }, enumerable: !0, configurable: !0 }), r }(p); r.StiDoubleRangeDialogInfoItem = D; var R = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = 0, e.keyObjectTo = 0, e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiDecimalRangeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "from", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "to", { get: function() { return this.keyObjectTo }, set: function(t) { this.keyObjectTo = t }, enumerable: !0, configurable: !0 }), r }(p); r.StiDecimalRangeDialogInfoItem = R; var P = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = 0, e.keyObjectTo = 0, e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiLongRangeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "from", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "to", { get: function() { return this.keyObjectTo }, set: function(t) { this.keyObjectTo = t }, enumerable: !0, configurable: !0 }), r }(p); r.StiLongRangeDialogInfoItem = P; var N = function(t) { function r() { var e = t.call(this) || this; return e.keyObject = "", e.keyObjectTo = "", e } return __extends(r, t), Object.defineProperty(r.prototype, "componentId", { get: function() { return e.StiComponentId.StiExpressionRangeDialogInfoItem }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "from", { get: function() { return this.keyObject }, set: function(t) { this.keyObject = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "to", { get: function() { return this.keyObjectTo }, set: function(t) { this.keyObjectTo = t }, enumerable: !0, configurable: !0 }), r }(p); r.StiExpressionRangeDialogInfoItem = N }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString, i = t.System.Globalization.CultureInfo, n = t.System.DateTime, o = t.System.Enum, a = t.Base.StiTypeFinder, s = t.Report.Expressions.StiExpression, l = t.Base.StiJson, u = t.System.Text.XMLConvert, c = t.Report.Dictionary.StiDialogInfo, m = t.Report.Range, p = t.Base.Drawing.StiImageConverter, h = t.Report.RangeConverter, d = t.Base.StiKeyHelper, g; !function(t) { t[t.Name = 100] = "Name", t[t.Alias = 200] = "Alias", t[t.Category = 300] = "Category" }(g || (g = {})); var f = function(s) { function g(t, r, i, n, o, a, l, u, m, p, h, d, g) { void 0 === t && (t = ""), void 0 === r && (r = ""), void 0 === i && (i = ""), void 0 === n && (n = ""), void 0 === o && (o = String.stimulsoft.getType()), void 0 === a && (a = ""), void 0 === l && (l = !1), void 0 === u && (u = e.StiVariableInitBy.Value), void 0 === m && (m = !1), void 0 === p && (p = new c), void 0 === h && (h = null), void 0 === d && (d = !1), void 0 === g && (g = e.StiSelectionMode.FromVariable); var f = s.call(this) || this; return f._inherited = !1, f._name = "", f._dialogInfo = new c, f._alias = "", f._readOnly = !1, f._requestFromUser = !1, f._category = "", f._description = "", f._initBy = e.StiVariableInitBy.Value, f._selection = e.StiSelectionMode.First, f._key = null, f._category = t, f.name = r, f._alias = i, f._description = n, f._type = o, f._readOnly = l, f._initBy = u, f.value = a, f._requestFromUser = m, f._dialogInfo = p, f._key = h, f._allowUseAsSqlParameter = d, f._selection = g, f } return __extends(g, s), g.prototype.convertTypeToJsonString = function(t) { var e = t.stimulsoft.getNetTypeName(); if (e.stimulsoft.startsWith("System.Nullable`1")) { var r = e.indexOf(","); -1 != r && (e = e.substr(0, r).stimulsoft.replaceAll("[[", "[") + "]") } return e } , g.prototype.convertJsonStringToType = function(t) { return t.stimulsoft.startsWith("System.Nullable`1") && !t.stimulsoft.contains(", mscorlib,") && (t = t.substr(0, t.length - 1) + ", mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]", t = t.stimulsoft.replaceAll("[", "[[")), a.getStiType(t) } , g.prototype.saveToJsonObject = function() { var t = new l; 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", e.StiVariableInitBy, this.initBy, e.StiVariableInitBy.Value), t.addPropertyStringNullOrEmpty("Key", this.key), t.addPropertyBool("AllowUseAsSqlParameter", this.allowUseAsSqlParameter), t.addPropertyEnum("SelectionMode", e.StiSelectionMode, this._selection, e.StiSelectionMode.FromVariable), 0 == t.count) return null; return t } , g.prototype.loadFromJsonObject = function(t, r) { var i, n; s.prototype.loadFromJsonObject.call(this, t); try { for (var a = __values(t.properties()), l = a.next(); !l.done; l = a.next()) { var u = l.value; switch (u.name) { case "Name": this._name = u.value; break; case "DialogInfo": this._dialogInfo.loadFromJsonObject(u.value, r); break; case "Alias": this._alias = u.value; break; case "Type": this._type = this.convertJsonStringToType(u.value); break; case "ReadOnly": this._readOnly = u.value.stimulsoft.toBoolean(); break; case "RequestFromUser": this._requestFromUser = u.value.stimulsoft.toBoolean(); break; case "Category": this._category = u.value; break; case "Description": this._description = u.value; break; case "InitBy": this._initBy = o.parse(e.StiVariableInitBy, u.value); break; case "Key": this._key = u.value; break; case "AllowUseAsSqlParameter": this.allowUseAsSqlParameter = u.value.stimulsoft.toBoolean(); break; case "SelectionMode": this._selection = o.parse(e.StiSelectionMode, u.value); break } } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } , g.loadFromXml = function(i, n) { var s = i.textContent.split(","); if (1 == s.length) return new g(s[0]); if (2 == s.length) { var l = new g(s[0]); return l.inherited = !0, l } if (5 == s.length) { var c = e.StiVariableInitBy.Expression , m = u.decodeName(s[3]) , p = "null" == s[2] ? null : a.getStiType(s[2]); try { g.getValue(m, p), c = e.StiVariableInitBy.Value } catch (r) { t.System.StiError.showError(r, !1), c = e.StiVariableInitBy.Expression } return new g(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[1]),"",p,m,"True" == s[4],c) } if (6 == s.length) { var c = e.StiVariableInitBy.Value , m = u.decodeName(s[4]) , p = a.getStiType(s[3]); try { g.getValue(m, p), c = e.StiVariableInitBy.Value } catch (r) { t.System.StiError.showError(r, !1), c = e.StiVariableInitBy.Expression } return new g(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),"",p,m,"True" == s[5],c) } if (7 == s.length) return new g(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),"",a.getStiType(s[3]),u.decodeName(s[4]),"True" == s[5],"True" == s[6] ? e.StiVariableInitBy.Expression : e.StiVariableInitBy.Value); if (8 == s.length) { var l = new g(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),"",a.getStiType(s[3]),u.decodeName(s[4]),"True" == s[5],"True" == s[6] ? e.StiVariableInitBy.Expression : e.StiVariableInitBy.Value); return l.inherited = !0, l } if (9 == s.length) return new g(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True" == s[6],"True" == s[7] ? e.StiVariableInitBy.Expression : e.StiVariableInitBy.Value,"True" == s[8]); if (10 == s.length) { var l = new g(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True" == s[6],"True" == s[7] ? e.StiVariableInitBy.Expression : e.StiVariableInitBy.Value,"True" == s[8]); return l.inherited = "True" == s[9], l } if (11 == s.length) { var l = new g(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True" == s[6],"True" == s[7] ? e.StiVariableInitBy.Expression : e.StiVariableInitBy.Value,"True" == s[8],this.convertFromStringToDialogInfo(u.decodeName(s[10]), n)); return l.inherited = "True" == s[9], l } if (12 == s.length) { var l = new g(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True" == s[6],"True" == s[7] ? e.StiVariableInitBy.Expression : e.StiVariableInitBy.Value,"True" == s[8],this.convertFromStringToDialogInfo(u.decodeName(s[10]), n),s[11]); return l.inherited = "True" == s[9], l } if (13 == s.length) { var l = new g(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True" == s[6],"True" == s[7] ? e.StiVariableInitBy.Expression : e.StiVariableInitBy.Value,"True" == s[8],this.convertFromStringToDialogInfo(u.decodeName(s[10]), n),r.isNullOrWhiteSpace(s[11]) ? null : u.decodeName(s[11]),"True" == s[12]); return l.inherited = "True" == s[9], l } if (14 == s.length) { var l = new g(u.decodeName(s[0]),u.decodeName(s[1]),u.decodeName(s[2]),u.decodeName(s[3]),a.getStiType(s[4]),u.decodeName(s[5]),"True" == s[6],"True" == s[7] ? e.StiVariableInitBy.Expression : e.StiVariableInitBy.Value,"True" == s[8],this.convertFromStringToDialogInfo(u.decodeName(s[10]), n),r.isNullOrWhiteSpace(s[11]) ? null : u.decodeName(s[11]),"True" == s[12],o.parse(e.StiSelectionMode, s[13])); return l.inherited = "True" == s[9], l } return null } , g.convertFromStringToDialogInfo = function(r, i) { if ("" == r || "null" == r) return new c; for (var n = new c, a = t.System.Xml.XmlConverter.toXml(r).childNodes[0], s = 0; s < a.childNodes.length; s++) { var l = a.childNodes[s]; switch (l.nodeName) { case "DateTimeType": n.dateTimeType = o.parse(e.StiDateTimeType, l.textContent); break; case "ItemsInitializationType": n.itemsInitializationType = o.parse(e.StiItemsInitializationType, l.textContent); break; case "KeysColumn": n.keysColumn = l.textContent; break; case "ValuesColumn": n.valuesColumn = l.textContent; break; case "BindingValuesColumn": n.bindingValuesColumn = l.textContent; break; case "Mask": n.mask = l.textContent; break; case "AllowUserValues": n.allowUserValues = l.textContent.stimulsoft.toBoolean(); break; case "BindingValue": n.bindingValue = l.textContent.stimulsoft.toBoolean(); break; case "Keys": n.keys = g.parseStringArray(l); break; case "Values": n.values = g.parseStringArray(l); break; case "BindingVariable": n.xmlLoadedBindingVariable = "" != l.textContent ? l : null, i.jsonLoaderHelper.dialogInfo.add(n); break } } return n } , g.parseStringArray = function(t) { for (var e = [], r = 0, i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; "value" == n.nodeName && (e[i] = n.textContent, r++) } return e } , g.prototype.getName = function() { return this.name } , g.prototype.getValue = function() { return this.valueObject } , g.prototype.getKey = function() { return this.key = d.getOrGeneratedKey(this.key), this.key } , g.prototype.setKey = function(t) { this.key = t } , Object.defineProperty(g.prototype, "inherited", { get: function() { return this._inherited }, set: function(t) { this._inherited = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "name", { get: function() { return this._name }, set: function(t) { this._name = t.stimulsoft.replaceAll(" ", "_") }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "applyFormat", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "dialogInfo", { get: function() { return this._dialogInfo }, set: function(t) { this._dialogInfo = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "alias", { get: function() { return this._alias }, set: function(t) { this._alias = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "type", { get: function() { return this._type }, set: function(t) { this._type = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "readOnly", { get: function() { return this._readOnly }, set: function(t) { this._readOnly = t, t && (this._requestFromUser = !1) }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "requestFromUser", { get: function() { return this._requestFromUser }, set: function(t) { this._requestFromUser = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "allowUseAsSqlParameter", { get: function() { return this._allowUseAsSqlParameter }, set: function(t) { this._allowUseAsSqlParameter = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "category", { get: function() { return this._category }, set: function(t) { this._category = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "description", { get: function() { return this._description }, set: function(t) { this._description = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "isCategory", { get: function() { return r.isNullOrEmpty(this.name) }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "valueObject", { get: function() { var t = this.value; if (this.initBy == e.StiVariableInitBy.Expression) return this.value; return g.getValue(t, this.type) }, set: function(t) { this.initBy == e.StiVariableInitBy.Expression && (this.value = t), null == t ? this.value = "" : this.setValue(t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "initByExpressionFrom", { get: function() { if (!a.findType(this.type, m.stimulsoft.getType())) return null; var t = this.getRangeValues(); if (null == t) return ""; return t[0] }, set: function(t) { if (!a.findType(this.type, m.stimulsoft.getType())) return; var e = this.getRangeValues() , i = ""; null != e && (i = e[1]), this.value = r.format("{0}<<|>>{1}", t, i) }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "initByExpressionTo", { get: function() { if (!a.findType(this.type, m.stimulsoft.getType())) return null; var t = this.getRangeValues(); if (null == t) return ""; return t[1] }, set: function(t) { if (!a.findType(this.type, m.stimulsoft.getType())) return; var e = this.getRangeValues() , i = ""; null != e && (i = e[0]), this.value = r.format("{0}<<|>>{1}", i, t) }, enumerable: !0, configurable: !0 }), g.prototype.getValueProp = function() { if (this.initBy == e.StiVariableInitBy.Expression) return s.prototype.getValueProp.call(this); if (!r.isNullOrEmpty(s.prototype.getValueProp.call(this)) && (this.type == t.System.DateTime || this.type == t.System.NullableDateTime)) { var i = g.getDateTimeFromValue(s.prototype.getValueProp.call(this)) , n = t.System.Globalization.CultureInfo.currentCulture; try { return t.System.Globalization.CultureInfo.currentCulture = t.System.Globalization.CultureInfo.getCultureInfo("en-US"), i.toString() } finally { t.System.Globalization.CultureInfo.currentCulture = n } } if (this.type == t.System.DateTime || this.type == t.System.NullableDateTime) return null; return s.prototype.getValueProp.call(this) } , g.prototype.setValueProp = function(r) { if (this.initBy == e.StiVariableInitBy.Expression) s.prototype.setValueProp.call(this, r); else { if (null != r && "null" != r && r.length > 0 && (this.type == t.System.DateTime || this.type == t.System.NullableDateTime)) try { var i = t.System.Globalization.CultureInfo.currentCulture; try { t.System.Globalization.CultureInfo.currentCulture = t.System.Globalization.CultureInfo.getCultureInfo("en-US"); var o = t.System.DateTime.fromString(r); null == o && (o = new n(Date.parse(r))), null == o && (o = n.now), s.prototype.setValueProp.call(this, g.getValueFromDateTime(o)) } finally { t.System.Globalization.CultureInfo.currentCulture = i } } catch (e) { t.System.StiError.showError(e, !1) } s.prototype.setValueProp.call(this, r) } } , Object.defineProperty(g.prototype, "function", { get: function() { return this.initBy == e.StiVariableInitBy.Expression }, set: function(t) { this.initBy = t ? e.StiVariableInitBy.Expression : e.StiVariableInitBy.Value }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "initBy", { get: function() { return this._initBy }, set: function(t) { this._initBy = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "selection", { get: function() { return this._selection }, set: function(t) { this._selection = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "key", { get: function() { return this._key }, set: function(t) { this._key = t }, enumerable: !0, configurable: !0 }), g.prototype.getRangeValues = function() { var t = this.value; if (r.isNullOrEmpty(t)) return null; if (-1 == t.indexOf("<<|>>")) return null; var e = t.split("<<|>>"); if (2 != e.length) return null; return e } , g.getValue = function(e, i) { if (r.isNullOrEmpty(e)) { if (i == t.System.Int32 || i == t.System.UInt32 || i == t.System.Int64 || i == t.System.UInt64 || i == t.System.Byte || i == t.System.SByte || i == t.System.Int16 || i == t.System.UInt16) return 0; if (i == String) return ""; if (i == Boolean) return !1; if (i == t.System.Char) return " "; if (i == t.System.Double) return 0; if (i == t.System.Single) return 0; if (i == t.System.Decimal) return 0; if (i == t.System.DateTime) return null; if (i == t.System.TimeSpan) return null; if (a.findType(i, m)) return t.System.Activator.createInstance(i); if (a.findType(i, t.System.Drawing.Image)) return null; if (i == t.System.NullableInt32 || i == t.System.NullableUInt32 || i == t.System.NullableInt64 || i == t.System.NullableUInt64 || i == t.System.NullableByte || i == t.System.NullableSByte || i == t.System.NullableInt16 || i == t.System.NullableUInt16) return 0; if (i == t.System.NullableBoolean) return !1; if (i == t.System.NullableChar) return " "; if (i == t.System.NullableDouble) return 0; if (i == t.System.NullableSingle) return 0; if (i == t.System.NullableDecimal) return 0; if (i == t.System.NullableDateTime) return null; if (i == t.System.NullableTimeSpan) return null } if (i == t.System.Int32 || i == t.System.UInt32 || i == t.System.Int64 || i == t.System.UInt64 || i == t.System.Byte || i == t.System.SByte || i == t.System.Int16 || i == t.System.UInt16) return e.stimulsoft.toNumber(!1); if (i == String) return e; if (i == Boolean) return "true" == e.toLowerCase(); if (i == t.System.Char) return e.substring(0, 1); if (i == t.System.Double || i == t.System.Single || i == t.System.Decimal) return e.stimulsoft.toNumber(); if (i == t.System.Guid) return r.isNullOrEmpty(e) ? t.System.Guid.empty : new t.System.Guid(e); if (i == t.System.DateTime) try { return new n(Date.parse(e)) } finally {} else if (i == t.System.TimeSpan) try { return t.System.TimeSpan.fromString(e) } finally {} else { if (i == t.System.NullableInt32 || i == t.System.NullableUInt32 || i == t.System.NullableInt64 || i == t.System.NullableUInt64 || i == t.System.NullableByte || i == t.System.NullableSByte || i == t.System.NullableInt16 || i == t.System.NullableUInt16) return e.stimulsoft.toNumber(!1); if (i == t.System.NullableBoolean) return "true" == e.toLowerCase(); if (i == t.System.NullableChar) return e.substring(0, 1); if (i == t.System.NullableDouble || i == t.System.NullableSingle || i == t.System.NullableDecimal) return e.stimulsoft.toNumber(); if (i == t.System.NullableDateTime) try { return new n(Date.parse(e)) } finally {} else if (i == t.System.NullableTimeSpan) try { return t.System.TimeSpan.fromString(e) } finally {} else { if (a.findType(i, t.System.Drawing.Image)) return p.stringToImage(e); if (a.findType(i, m)) return h.stringToRange(e) } } return null } , g.prototype.setValue = function(e) { if (null == e) this.value = null; else if (e.stimulsoft.is(String)) this.value = e; else if (e.stimulsoft.is(t.System.Char)) this.value = e.toString(); else if (e.stimulsoft.is(t.System.Guid)) this.value = e.toString(); else if (e.stimulsoft.is(t.System.NullableChar)) this.value = e.toString(); else if (e.stimulsoft.is(Boolean)) this.value = e.toString().toLowerCase(); else if (e.stimulsoft.is(t.System.NullableBoolean)) this.value = e.toString().toLowerCase(); else if (e.stimulsoft.is(t.System.Drawing.Image)) this.value = p.imageToString(e); else if (e.stimulsoft.is(t.Report.Range)) this.value = h.rangeToString(e); else if (e.stimulsoft.is(Array)) this.value = e.select(function(t) { return t.toString() }).toArray(); else if (e.stimulsoft.is(t.System.TimeSpan)) try { this.value = e.toString() } finally {} else if (e.stimulsoft.is(t.System.DateTime)) try { this.value = e.toString() } finally {} else if (e.stimulsoft.is(t.System.NullableTimeSpan)) try { this.value = e.toString() } finally {} else if (e.stimulsoft.is(t.System.NullableDateTime)) try { this.value = e.toString() } finally {} else if (this.type == t.System.Int || this.type == t.System.Int32 || this.type == t.System.UInt32 || this.type == t.System.Long || this.type == t.System.Int64 || this.type == t.System.ULong || this.type == t.System.UInt64 || this.type == t.System.Byte || this.type == t.System.SByte || this.type == t.System.Short || this.type == t.System.Int16 || this.type == t.System.UShort || this.type == t.System.UInt16 || this.type == t.System.Double || this.type == t.System.Single || this.type == t.System.Decimal || this.type == t.System.NullableInt || this.type == t.System.NullableInt32 || this.type == t.System.NullableUInt || this.type == t.System.NullableUInt32 || this.type == t.System.NullableLong || this.type == t.System.NullableInt64 || this.type == t.System.NullableULong || this.type == t.System.NullableUInt64 || this.type == t.System.NullableByte || this.type == t.System.NullableSByte || this.type == t.System.NullableShort || this.type == t.System.NullableInt16 || this.type == t.System.NullableUShort || this.type == t.System.NullableUInt16 || this.type == t.System.NullableDouble || this.type == t.System.NullableSingle || this.type == t.System.NullableDecimal) { var r = i.currentCulture; try { i.currentCulture = i.cultures["en-US"], this.value = e.toString().replace(".", i.currentCulture.numberFormat.numberDecimalSeparator) } finally { i.currentCulture = r } } } , g.prototype.getNativeValue = function() { return s.prototype.getValueProp.call(this) } , g.getDateTimeFromValue = function(e) { if ("null" == e) return n.now; var r = t.System.Globalization.CultureInfo.currentCulture; try { t.System.Globalization.CultureInfo.currentCulture = t.System.Globalization.CultureInfo.getCultureInfo("en-US"); var i = n.fromString(e); if (null == i && (i = new n(Date.parse(e))), null != i) return i; return n.now } catch (e) { t.System.StiError.showError(e, !1) } finally { t.System.Globalization.CultureInfo.currentCulture = r } return n.now } , g.getValueFromDateTime = function(e) { var r = t.System.Globalization.CultureInfo.currentCulture; try { return t.System.Globalization.CultureInfo.currentCulture = t.System.Globalization.CultureInfo.getCultureInfo("en-US"), e.toString() } finally { t.System.Globalization.CultureInfo.currentCulture = r } } , g.prototype.eval = function(e) { return t.Report.Engine.StiParser.StiParser.prepareVariableValue(this, e, null, !0) } , g.prototype.toString = function() { return this.isCategory ? this.category : this.alias == this.name ? this.name : this.name + " [" + this.alias + "]" } , g }(s); e.StiVariable = f }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.StiString, i = t.Base.Localization.StiLocalization, n = t.System.Char, o; !function(t) { t[t.Simple = 0] = "Simple", t[t.Advanced = 1] = "Advanced" }(o = e.StiNamingRule || (e.StiNamingRule = {})); var a = function() { function e() {} return Object.defineProperty(e, "namingRule", { get: function() { return StiOptions.Engine.namingRule }, set: function(t) { StiOptions.Engine.namingRule = t }, enumerable: !0, configurable: !0 }), e.removeSpacesFromName = function(e, r, i) { if (void 0 === i && (i = null), r) { for (var o = e, a = 0, s = e.length, l = 0; l < s; l++) " " == e.charAt(l) ? (o.stimulsoft.remove(a, 1), a < o.length && n.isLetter(o.charAt(a)) && o.stimulsoft.insert(a, n.toUpper(o.charAt(a)), 1)) : a++; return e = o.toString(), t.Report.StiNameValidator.correctName(e, !0, i) } return e } , e.createSimpleName = function(t, e) { return (e = this.removeSpacesFromName(e, !0)) + (t.indexName++).toString() } , e.createName = function(t, r, i, n, a) { if (void 0 === i && (i = !0), void 0 === n && (n = !0), void 0 === a && (a = !1), r = e.removeSpacesFromName(r, n), !(a || t.isDesigning && e.namingRule != o.Simple)) return r + (t.indexName++).toString(); var s = t.getComponents() , l = 1; if (0 == s.count && 0 == t.dataSources.count && 0 == t.dictionary.dataSources.count && 0 == t.dictionary.relations.count && 0 == t.dictionary.variables.count) { if (i) return r + "1"; return r } while (!0) { var u = r + l.toString() , c = void 0; if (c = i || 1 != l ? u : r, null == e.getObjectWithName(null, t, s, c)) { if (!i && 1 == l) return r; return u } l++ } } , e.createResourceName = function(t, e) { e = this.removeSpacesFromName(e, !1); var r = 1; while (!0) { var i = 1 == r ? e : e + r; if (!this.isResourceNameExists(t, i)) return i; r++ } } , e.createConnectionName = function(t, e) { e = this.removeSpacesFromName(e, !1); var r = 1; while (!0) { var i = 1 == r ? e : e + r; if (!this.isConnectionNameExists(t, i)) return i; r++ } } , e.isResourceNameExists = function(t, e) { return e = e.toLowerCase().trim(), t.dictionary.resources.toList().any(function(t) { return t.name.toLowerCase().trim() == e }) } , e.isConnectionNameExists = function(t, e) { return e = e.toLowerCase().trim(), t.dictionary.databases.toList().any(function(t) { return t.name.toLowerCase().trim() == e }) } , e.createColumnName = function(t, e) { var r = null != t && null != t.dictionary ? t.dictionary.report : null; e = this.removeSpacesFromName(e, !1, r); var i = 1; while (!0) { var n = 1 == i ? e : e + i; if (!this.isColumnNameExists(t, n)) return n; i++ } } , e.isColumnNameExists = function(t, e) { return e = e.toLowerCase().trim(), t.columns.toList().any(function(t) { return t.name.toLowerCase().trim() == e }) } , e.isValidName = function(t, e) { var i, o; if (r.isNullOrEmpty(e) || !n.isLetter(e.charAt(0)) && "_" != e.charAt(0)) return !1; for (var a = 0; a < e.length; a++) if (!n.isLetterOrDigit(e.charAt(a)) && "_" != e.charAt(a)) return !1; var s = t.getComponents(); try { for (var l = __values(s.list), u = l.next(); !u.done; u = l.next()) { if (e == u.value.name) return !1 } } catch (t) { i = { error: t } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (i) throw i.error } } return !0 } , e.exists = function(t, r, i) { if (null == r) return null; return null != e.getObjectWithName(t, r, r.getComponents(), i) } , e.checkName = function(t, r, i, n, o) { if (void 0 === o && (o = !0), null != r && r.isDesigning) { if (e.exists(t, r, i)) return !1; if (o && !e.isValidName(r, i)) return !1 } return !0 } , e.getObjectWithName = function(t, e, r, i) { if (null == e) return null; for (var n = 0; n < r.count; n++) { var o = r.getByIndex(n); if (i == o.name && t != o) return o } for (var n = 0; n < e.dictionary.dataSources.count; n++) { var a = e.dictionary.dataSources.getByIndex(n); if (i == a.name && t != a) return a } for (var n = 0; n < e.dictionary.businessObjects.count; n++) { var s = e.dictionary.businessObjects.getByIndex(n); if (i == s.name && t != s) return s } for (var n = 0; n < e.dictionary.variables.count; n++) { var l = e.dictionary.variables.getByIndex(n); if (i == l.name && t != l) return l } return null } , e.generateName1 = function(t, e, r) { var i = r; return i.length > 1 && "Sti" == i.substr(0, 3) && (i = i.substr(3)), i } , e.generateName2 = function(t, r, i) { return e.generateName1(t, r, i.stimulsoft.getType().stimulsoft.getTypeName()) } , e.generateName = function(t) { return e.generateName2(t.report, t.localizedName, t.stimulsoft.getType()) } , e.generateName4 = function(t) { return e.generateName2(t.dictionary.report, i.get("PropertyMain", "DataRelation"), t.stimulsoft.getType()) } , e.generateName5 = function(t) { return e.generateName2(t.dictionary.report, i.get("PropertyMain", "DataSource"), t.stimulsoft.getType()) } , e }(); e.StiNameCreation = a }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.DateTime , o = t.Report.Components.StiText , a = function(a) { function s(t, e, r) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === r && (r = ""); var i = a.call(this, t, t, r) || this; return i.pathData = e, i } return __extends(s, a), s.prototype.saveToJsonObject = function(t) { var e = a.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("PathData", this.pathData), e } , s.prototype.loadFromJsonObject = function(t) { var e, r; a.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.value; switch (o.name) { case "PathData": this.pathData = o.value; break } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } 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 "PathData": this.pathData = r.textContent; break } } } , s.prototype.createDataSources = function(t) { var e = this; this.getDatabaseInformation(t).tables.select(function(n) { var o = new r.StiDataTableSource; return o.dictionary = t, o.nameInSource = i.format("{0}.{1}", e.name, n.tableName), o.name = n.tableName, o.alias = n.tableName, o.columns = new r.StiDataColumnsCollection(n.columns.toList()), t.dataSources.add(o), o }) } , s.prototype.parsePathExpression = function(r, i) { if (!StiOptions.Dictionary.allowRestConnections) return i; var a = new o; if (a.name = "**RestConnection**", a.page = r.report.pages.getByIndex(0), i.match(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/gi)) { var s = "" , l = 0; while (l < i.length) { var u = l; while (l < i.length && "{" != i[l]) l++; if (l != u && (s += i.substr(u, l - u)), l < i.length && "{" == i[l]) { l++, u = l; var c = !1; while (l < i.length) { if ('"' == i[l]) { l++; var m = l; while (m < i.length) { if ('"' == i[m]) break; "\\" == i[m] && m++, m++ } l = m + 1; continue } if ("}" == i[l]) { var p = i.substr(u, l - u) , h = t.Report.Engine.StiParser.StiParser.parseTextValue("{" + p + "}", a); null != h && h.stimulsoft.is(n) && (h = h.toString("YYYY-MM-DDThh:mm:ss")), null != h && (s += t.Report.Export.StiExportUtils.stringToUrl(h.toString())), c = !0, l++; break } l++ } c || (s += i.substr(u)) } } return s } var d = null; try { d = e.Engine.StiParser.StiParser.parseTextValue(i, a) } catch (t) {} if (null == d) return ""; return d.toString() } , s }(r.StiDatabase); r.StiFileDatabase = a }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Report.Helpers.StiHyperlinkProcessor , n = t.Report.Helpers.StiUniversalDataLoader , o = t.System.Data.DataSet , a = function(a) { function s(t, e, r, i, n) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === r && (r = 0), void 0 === i && (i = null), void 0 === n && (n = ""); var o = a.call(this, t, e, n) || this; return o.codePage = r, o.separator = i, o } return __extends(s, a), s.prototype.saveToJsonObject = function(t) { var e = a.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("Separator", this.separator), e.addPropertyNumberNoDefaultValue("CodePage", this.codePage), e } , s.prototype.loadFromJsonObject = function(t) { var e, r; a.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } 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 "Separator": this.separator = r.textContent; break; case "CodePage": this.codePage = r.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(s.prototype, "serviceName", { get: function() { return "CSV" }, enumerable: !0, configurable: !0 }), s.prototype.createNew = function() { return new s } , Object.defineProperty(s.prototype, "componentId", { get: function() { return e.StiComponentId.StiCsvDatabase }, enumerable: !0, configurable: !0 }), s.prototype.getDataSet = function(e, r) { var a = this.parsePathExpression(e, this.pathData) , s = { pathData: a, database: this.serviceName, command: "GetData", preventDefault: !1, headers: [] } , l = new o , u = function(a) { var u, c; if (null == a) { if (null == (a = n.loadMutiple(e.report, this.pathData, ".csv", !0, s.headers))) return; try { for (var m = __values(a), p = m.next(); !p.done; p = m.next()) { var h = p.value , d = h.array; if (null != d) { var g = t.Base.StiCsvHelper.getTable2(d, this.codePage, this.separator, r); if (null != g) { if (i.isResourceHyperlink(this.pathData)) g.tableName = i.getResourceNameFromHyperlink(this.pathData); else if (h.name) g.tableName = h.name; else { var f = this.pathData.substring(this.pathData.lastIndexOf("/")); this.pathData != f ? f = f.substr(1) : (f = this.pathData.substring(this.pathData.lastIndexOf("\\")), this.pathData != f && (f = f.substr(1))), g.tableName = f.lastIndexOf(".") >= 0 ? f.substring(0, f.lastIndexOf(".")) : f } null == l && (l = new o, l.enforceConstraints = !1), l.tables.add(g) } } d = null } } catch (t) { u = { error: t } } finally { try { p && !p.done && (c = m.return) && c.call(m) } finally { if (u) throw u.error } } } }; return e.report.invokeBeginProcessData(s, u), 0 == s.preventDefault && u(null), e.report.invokeEndProcessData({ dataSet: l }), l } , s.prototype.getDatabaseInformation = function(e) { var i, n; try { var o = this.getDataSet(e, !1) , a = new r.StiDatabaseInformation; try { for (var s = __values(o.tables.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; a.tables.add(u) } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return a } catch (e) { throw t.System.StiError.showError(e, !1), e } } , s.prototype.regData = function(t, e) { var i, n, o = this.getDataSet(t, e); if (null != o) { o.dataSetName = this.name; try { for (var a = __values(o.tables.list), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = new r.StiData(this.name + "." + l.tableName,l); u.isReportData = !0, t.dataStore.setByName(u.name, u) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } } , s }(r.StiFileDatabase); r.StiCsvDatabase = a }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.DateTime , n = t.Report.Helpers.StiUniversalDataLoader , o = t.System.Data.DataColumn , a = t.System.Data.DataSet , s = function(s) { function l(t, e, r, i) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === r && (r = null), void 0 === i && (i = !0); var n = s.call(this, t, e, r) || this; return n._firstRowIsHeader = !0, n.pathData = e, n.firstRowIsHeader = i, n } return __extends(l, s), l.prototype.createNew = function() { return new l } , Object.defineProperty(l.prototype, "serviceName", { get: function() { return "Excel" }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "componentId", { get: function() { return e.StiComponentId.StiExcelDatabase }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "firstRowIsHeader", { get: function() { return this._firstRowIsHeader }, set: function(t) { this._firstRowIsHeader = t }, enumerable: !0, configurable: !0 }), l.prototype.getDatabaseInformation = function(e) { var i, n; try { var o = this.getDataSet(e) , a = new r.StiDatabaseInformation; try { for (var s = __values(o.tables.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; a.tables.add(u) } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return a } catch (e) { throw 0 == e.message.indexOf("Unsupported file") && (e.message = "Unsupported file."), t.System.StiError.showError(e, !1), e } } , l.prototype.regData = function(e, i) { var n, o; try { var a = this.getDataSet(e); if (null != a) { a.dataSetName = this.name; try { for (var s = __values(a.tables.list), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = new r.StiData(this.name + "." + u.tableName,u); c.isReportData = !0, e.dataStore.setByName(c.name, c) } } catch (t) { n = { error: t } } finally { try { l && !l.done && (o = s.return) && o.call(s) } finally { if (n) throw n.error } } } } catch (e) { throw 0 == e.message.indexOf("Unsupported file") && (e.message = "Unsupported file."), t.System.StiError.showError(e, !1), e } } , l.prototype.getDataSet = function(e) { var r = this.parsePathExpression(e, this.pathData) , i = { pathData: r, database: this.serviceName, command: "GetData", preventDefault: !1, headers: [] } , o = new a , s = this , l = function(a) { if (null == a) { var s = n.loadSingle(e.report, r, !0, i.headers); null != s && (a = s.array) } o = t.Report.Helpers.StiResourceArrayToDataSet.get(t.Report.Dictionary.StiResourceType.Excel, a, e.report, r) }; return e.report.invokeBeginProcessData(i, l), 0 == i.preventDefault && l(null), e.report.invokeEndProcessData({ dataSet: o }), o } , l.prototype.getDataSetPrivate = function(e) { var r, i, n, s; if (null == e) return null; var l = new a; try { for (var u = __values(e.SheetNames), c = u.next(); !c.done; c = u.next()) { var m = c.value , p = e.Sheets[m] , h = []; for (var d in p) { if ("!range" == d || "!ref" == d || "!merges" == d || "!margins" == d || "!autofilter" == d) continue; var g = p[d] , f = d.match(/(\w+?)(\d+)/) , S = f[1] , A = +f[2] , y = h[A]; y ? y[S] = g : (y = {}, y[S] = g, h[A] = y) } var w = new t.System.Data.DataTable(m); l.tables.add(w), h.splice(0, 1); var b = {} , v = 0 , C = h[0]; this.firstRowIsHeader && (C = h.splice(0, 1)[0]); try { for (var S in C) { var E = this.getType1(S, h); b[S] = v++, w.columns.add(new o(C[S].w,E)) } try { for (var B = (n = void 0, __values(h)), T = B.next(); !T.done; T = B.next()) { var y = T.value , I = w.addNewRow(); for (var S in y) I.sett(b[S], y[S].v) } } catch (t) { n = { error: t } } finally { try { T && !T.done && (s = B.return) && s.call(B) } finally { if (n) throw n.error } } } catch (t) {} } } catch (t) { r = { error: t } } finally { try { c && !c.done && (i = u.return) && i.call(u) } finally { if (r) throw r.error } } return l } , l.prototype.getType1 = function(t, e) { var r, n; try { for (var o = __values(e), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (null != s[t]) switch (s[t].t) { case "b": return Boolean; case "n": return Number; case "d": return i } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } return String } , l }(r.StiFileDatabase); r.StiExcelDatabase = s }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Helpers.StiUniversalDataLoader , i = t.System.StiPromise , n = t.System.Data.DataSet , o = function(o) { function a(t, e, r) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === r && (r = null); var i = o.call(this, t, t, r) || this; return i.pathData = e, i } return __extends(a, o), a.prototype.createNew = function() { return new a } , Object.defineProperty(a.prototype, "serviceName", { get: function() { return "JSON" }, enumerable: !0, configurable: !0 }), a.prototype.getDataSet = function(e) { var i = this.parsePathExpression(e, this.pathData) , o = { pathData: i, database: this.serviceName, command: "GetData", preventDefault: !1, headers: [] } , a = new n , s = function(n) { if (null == n) { var s = r.loadSingle(e.report, i, !1, o.headers); null != s && (n = s.array) } a = t.Report.Helpers.StiResourceArrayToDataSet.get(t.Report.Dictionary.StiResourceType.Json, n, e.report, i) }; return e.report.invokeBeginProcessData(o, s), 0 == o.preventDefault && s(null), e.report.invokeEndProcessData({ dataSet: a }), a } , a.prototype.getDataSetAsync = function(e) { var o = new i , a = this.parsePathExpression(e, this.pathData) , s = { pathData: a, database: this.serviceName, command: "GetData", preventDefault: !1, headers: [] } , l = new n , u = function(i) { if (null == i) { var n = r.loadSingle(e.report, a, !1, s.headers); null != n && (i = n.array) } l = t.Report.Helpers.StiResourceArrayToDataSet.get(t.Report.Dictionary.StiResourceType.Json, i, e.report, a), o.callTry(l) }; return e.report.invokeBeginProcessData(s, u), 0 == s.preventDefault && u(null), e.report.invokeEndProcessData({ dataSet: l }), o } , a.prototype.getDatabaseInformation = function(r) { var i, n; try { var o = this.getDataSet(r) , a = new e.StiDatabaseInformation; try { for (var s = __values(o.tables.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; a.tables.add(u) } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return a } catch (e) { throw t.System.StiError.showError(e, !1), e } } , a.prototype.getDatabaseInformationAsync = function(r) { var n = new i; try { this.getDataSetAsync(r).try(function(t) { var r, i, o = new e.StiDatabaseInformation; try { for (var a = __values(t.tables.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; o.tables.add(l) } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } n.callTry(o) }).abort(n) } catch (e) { t.System.StiError.showError(e, !1); var o = e; null != e && null != e.message && (o = e.message), n.callCatch(o) } return n } , a.prototype.regData = function(t, r) { var i, n, o = this.getDataSet(t); if (null != o) { o.dataSetName = this.name; try { for (var a = __values(o.tables.list), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = new e.StiData(this.name + "." + l.tableName,l); u.isReportData = !0, t.dataStore.setByName(u.name, u) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } } , a.prototype.regDataAsync = function(t, r) { var n = new i , o = this; return o.getDataSetAsync(t).try(function(r) { var i, a; if (null != r) { r.dataSetName = o.name; try { for (var s = __values(r.tables.list), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = new e.StiData(o.name + "." + u.tableName,u); c.isReportData = !0, t.dataStore.setByName(c.name, c) } } catch (t) { i = { error: t } } finally { try { l && !l.done && (a = s.return) && a.call(s) } finally { if (i) throw i.error } } } n.callTry() }).abort(n), n } , a }(e.StiFileDatabase); e.StiJsonDatabase = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Helpers.StiUniversalDataLoader , o = t.System.StiPromise , a = t.System.Enum , s = t.System.Data.DataSet , l = function(l) { function u(t, r, i, n, o) { void 0 === t && (t = ""), void 0 === r && (r = ""), void 0 === i && (i = ""), void 0 === n && (n = null), void 0 === o && (o = e.StiXmlType.AdoNetXml); var a = l.call(this, t, t, n) || this; return a._xmlType = e.StiXmlType.AdoNetXml, a.pathSchema = r, a.pathData = i, a.xmlType = o, a } return __extends(u, l), u.prototype.createNew = function() { return new u } , u.prototype.saveToJsonObject = function(t) { var r = l.prototype.saveToJsonObject.call(this, t); return r.addPropertyStringNullOrEmpty("PathSchema", this.pathSchema), r.addPropertyStringNullOrEmpty("PathData", this.pathData), r.addPropertyEnum("XmlType", e.StiXmlType, this.xmlType, e.StiXmlType.AdoNetXml), r } , u.prototype.loadFromJsonObject = function(t) { var r, i; l.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var s = o.value; switch (s.name) { case "PathSchema": this._pathSchema = s.value; break; case "PathData": this.pathData = s.value; break; case "XmlType": this._xmlType = a.parse(e.StiXmlType, s.value); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , u.prototype.loadFromXml = function(t) { l.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "PathSchema": this._pathSchema = i.textContent; break; case "PathData": this.pathData = i.textContent; break; case "XmlType": this._xmlType = a.parse(e.StiXmlType, i.textContent); break } } } , Object.defineProperty(u.prototype, "serviceName", { get: function() { return "XML" }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "pathSchema", { get: function() { return this._pathSchema }, set: function(t) { this._pathSchema = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "xmlType", { get: function() { return this._xmlType }, set: function(t) { this._xmlType = t }, enumerable: !0, configurable: !0 }), u.prototype.getDataSet = function(t) { var e = this.parsePathExpression(t, this.pathSchema) , r = this.parsePathExpression(t, this.pathData) , o = { pathData: e, database: this.serviceName, command: "GetSchema", preventDefault: !1, headers: [] } , a = { pathData: r, database: this.serviceName, command: "GetData", preventDefault: !1, headers: [] } , l = new s , u = function(r) { if (null == r && !i.isNullOrEmpty(e)) { var a = n.loadSingle(t.report, e, !1, o.headers); null != a && (r = a.array) } l.readXmlSchema(r) } , c = function(e) { if (null == e && !i.isNullOrEmpty(r)) { var o = n.loadSingle(t.report, r, !1, a.headers); null != o && (e = o.array) } l.readXml(e) }; return t.report.invokeBeginProcessData(o, u), t.report.invokeBeginProcessData(a, c), 0 == o.preventDefault && u(null), 0 == a.preventDefault && c(null), t.report.invokeEndProcessData({ dataSet: l }), l } , u.prototype.getDataSetAsync = function(t) { var e = new o , r = this.parsePathExpression(t, this.pathSchema) , a = this.parsePathExpression(t, this.pathData) , l = { pathData: r, database: this.serviceName, command: "GetSchema", preventDefault: !1, headers: [] } , u = { pathData: a, database: this.serviceName, command: "GetData", preventDefault: !1, headers: [] } , c = new s , m = !1 , p = !1 , h = function(o) { m = !0, null != o || i.isNullOrEmpty(r) || (o = n.loadSingle(t.report, r, !1, l.headers).array), c.readXmlSchema(o), p && e.callTry(c) } , d = function(r) { p = !0, null != r || i.isNullOrEmpty(a) || (r = n.loadSingle(t.report, a, !1, u.headers).array), c.readXml(r), m && e.callTry(c) }; return t.report.invokeBeginProcessData(l, h), t.report.invokeBeginProcessData(u, d), 0 == l.preventDefault && h(null), 0 == u.preventDefault && d(null), m && p && e.callTry(c), t.report.invokeEndProcessData({ dataSet: c }), e } , u.prototype.regData = function(t, e) { var i, n, o = this.getDataSet(t); if (null != o) { o.dataSetName = this.name; try { for (var a = __values(o.tables.list), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = new r.StiData(this.name + "." + l.tableName,l); u.isReportData = !0, t.dataStore.setByName(u.name, u) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } } , u.prototype.regDataAsync = function(t, e) { var i = this , n = new o; return this.getDataSetAsync(t).try(function(e) { var o, a; if (null != e) { e.dataSetName = i.name; try { for (var s = __values(e.tables.list), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = new r.StiData(i.name + "." + u.tableName,u); c.isReportData = !0, t.dataStore.setByName(c.name, c) } } catch (t) { o = { error: t } } finally { try { l && !l.done && (a = s.return) && a.call(s) } finally { if (o) throw o.error } } } n.callTry() }).abort(n), n } , u.prototype.getDatabaseInformation = function(e) { var i, n; try { var o = this.getDataSet(e) , a = new r.StiDatabaseInformation; try { for (var s = __values(o.tables.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; a.tables.add(u) } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return a } catch (e) { throw t.System.StiError.showError(e, !1), e } } , u.prototype.getDatabaseInformationAsync = function(e) { var i = new o; try { this.getDataSetAsync(e).try(function(t) { var e, n, o = new r.StiDatabaseInformation; try { for (var a = __values(t.tables.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; o.tables.add(l) } } catch (t) { e = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (e) throw e.error } } i.callTry(o) }).abort(i) } catch (e) { t.System.StiError.showError(e, !1), i.callCatch(e.message) } return i } , u }(r.StiFileDatabase); r.StiXmlDatabase = l }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.StiEncryption , o = t.System.Data.DataColumn , a = t.System.Data.DataTable , s = function(s) { function l(t, e, r, i, n) { void 0 === t && (t = ""), void 0 === e && (e = null), void 0 === r && (r = ""), void 0 === i && (i = !1), void 0 === n && (n = null); var o = s.call(this, t, e, n) || this; return o.connectionString = r, o.promptUserNameAndPassword = i, o } return __extends(l, s), l.prototype.saveToJsonObject = function(t) { var e = s.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("ConnectionStringEncrypted", this.connectionStringEncrypted), e.addPropertyBool("PromptUserNameAndPassword", this.promptUserNameAndPassword), e } , l.prototype.loadFromJsonObject = function(t) { var e, r; s.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } 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 "ConnectionString": this.connectionString = r.textContent; break; case "ConnectionStringEncrypted": this.connectionStringEncrypted = r.textContent; break; case "PromptUserNameAndPassword": this.promptUserNameAndPassword = r.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(l.prototype, "connectionType", { get: function() { return r.StiConnectionType.NoSql }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "connectionStringEncrypted", { get: function() { return n.encryptS(this.connectionString, "8pTP5X15uKADcSw7") }, set: function(t) { this.connectionString = n.decryptS(t, "8pTP5X15uKADcSw7") }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "canEditConnectionString", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "dataAdapterType", { get: function() { return this.getDataAdapterType().stimulsoft.getTypeName() }, enumerable: !0, configurable: !0 }), l.prototype.regData = function(t, e) { if (null == this.getDataAdapter()) throw i.format("A data adapter for the database {0} not found", this.stimulsoft.getTypeName()) } , l.prototype.getDataAdapterType = function() { return null } , l.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 i.format("Data adapter for the {0} database is not found!", this) } , l.prototype.applyDatabaseInformation = function(t, e, r) { var i, n; 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) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , l.prototype.applyDatabaseInformationSource = function(t, i, n, o, a) { var s, l; void 0 === a && (a = r.StiSqlSourceType.Table); var u = this.createDataSource(this.name, e.StiNameCreation.createName(i, o.tableName, !1, !1, !0)); u.alias = o.tableName; try { for (var c = __values(o.columns.list), m = c.next(); !m.done; m = c.next()) { var p = m.value; u.columns.add(new r.StiDataColumn(p.columnName,p.columnName,p.columnName,p.dataType)) } } catch (t) { s = { error: t } } finally { try { m && !m.done && (l = c.return) && l.call(c) } finally { if (s) throw s.error } } i.dictionary.dataSources.add(u) } , l.prototype.getDatabaseInformation = function() { try { var e = new r.StiDatabaseInformation , i = this.createConnector(this.connectionString) , n = i.retrieveSchema(); if (null == n) return e; return e.tables.addRange(this.getDatabaseInformationTables(n)), e } catch (e) { return t.System.StiError.showError(e, !1), null } } , l.prototype.getDatabaseInformationTables = function(e) { var r, n, s, l, u = []; try { for (var c = __values(e.tables), m = c.next(); !m.done; m = c.next()) { var p = m.value; try { var h = new a(p.name); try { for (var d = (s = void 0, __values(p.columns)), g = d.next(); !g.done; g = d.next()) { var f = g.value; null == h.columns.getByName(f.name) && h.columns.add(new o(f.name,f.type)) } } catch (t) { s = { error: t } } finally { try { g && !g.done && (l = d.return) && l.call(d) } finally { if (s) throw s.error } } i.isNullOrWhiteSpace(p.query) || (h.extendedProperties.Query = p.query), u.add(h) } catch (e) { t.System.StiError.showError(e, !1) } } } catch (t) { r = { error: t } } finally { try { m && !m.done && (n = c.return) && n.call(c) } finally { if (r) throw r.error } } return u } , l.prototype.createDataSource = function(t, e) { return null } , l.prototype.getConnectionStringHelper = function() { return null } , l.prototype.createConnector = function(t) { return void 0 === t && (t = null), null } , l.prototype.getSampleConnectionString = function() { return "" } , l }(r.StiDatabase); r.StiNoSqlDatabase = s }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o) { return void 0 === t && (t = ""), void 0 === e && (e = null), void 0 === i && (i = ""), void 0 === n && (n = !1), void 0 === o && (o = null), r.call(this, t, e, i, n, o) || this } return __extends(i, r), i.prototype.createNew = function() { return new i } , Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiMongoDbDatabase }, enumerable: !0, configurable: !0 }), i.prototype.getDataAdapterType = function() { return e.StiMongoDbAdapterService } , i.prototype.createDataSource = function(t, r) { return new e.StiMongoDbSource(t,r) } , i.prototype.getSampleConnectionString = function() { return "mongodb://:@localhost/test" } , i }(e.StiNoSqlDatabase); e.StiMongoDbDatabase = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.StiDataWorldConnector , n = function(t) { function n(e, r, i, n, o) { return void 0 === e && (e = ""), void 0 === r && (r = ""), void 0 === i && (i = null), void 0 === n && (n = !1), void 0 === o && (o = null), t.call(this, e, r, i, n, o) || this } return __extends(n, t), Object.defineProperty(n.prototype, "serviceName", { get: function() { return "Data.World" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "connectionType", { get: function() { return r.StiConnectionType.OnlineServices }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiDataWorldDatabase }, enumerable: !0, configurable: !0 }), n.prototype.getSampleConnectionString = function() { return "Owner=;Database=;Token=" } , n.prototype.createConnector = function(t) { return void 0 === t && (t = null), i.get(t) } , n.prototype.getDataAdapterType = function() { return r.StiDataWorldAdapterService } , n.prototype.createDataSource = function(t, e) { return new r.StiDataWorldSource(t,e) } , n }(r.StiNoSqlDatabase); r.StiDataWorldDatabase = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Text.StringBuilder , o = t.System.Data.DataColumn , a = t.System.Data.DataTable , s = t.Base.StiEncryption , l = t.System.StiPromise , u = function(u) { function c(t, e, r, i, n) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === r && (r = ""), void 0 === i && (i = !1), void 0 === n && (n = null); var o = u.call(this, t, e, n) || this; return o._promptUserNameAndPassword = !1, o._connectionString = r, o._promptUserNameAndPassword = i, o } return __extends(c, u), c.prototype.createNew = function() { return new c } , Object.defineProperty(c.prototype, "serviceName", { get: function() { return "MS SQL" }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "componentId", { get: function() { return e.StiComponentId.StiSqlDatabase }, enumerable: !0, configurable: !0 }), c.prototype.saveToJsonObject = function(t) { var e = u.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("ConnectionStringEncrypted", this.connectionStringEncrypted), e.addPropertyBool("PromptUserNameAndPassword", this.promptUserNameAndPassword), e } , c.prototype.loadFromJsonObject = function(t) { var e, r; u.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , c.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 "ConnectionString": this.connectionString = r.textContent; break; case "ConnectionStringEncrypted": this.connectionStringEncrypted = r.textContent; break; case "PromptUserNameAndPassword": this._promptUserNameAndPassword = r.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(c.prototype, "dataAdapterType", { get: function() { return this.getDataAdapterType().stimulsoft.getTypeName() }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "connectionType", { get: function() { return r.StiConnectionType.Sql }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "connectionString", { get: function() { return this._connectionString }, set: function(t) { this._connectionString = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "connectionStringEncrypted", { get: function() { return s.encryptS(this._connectionString, c.encryptedId) }, set: function(t) { this._connectionString = s.decryptS(t, c.encryptedId) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "promptUserNameAndPassword", { get: function() { return this._promptUserNameAndPassword }, set: function(t) { this._promptUserNameAndPassword = t }, enumerable: !0, configurable: !0 }), c.prototype.createDataSource = function(t, e) { return new r.StiSqlSource(t,e) } , c.prototype.getDataAdapter = function() { var t = this.dataAdapterType , e = StiOptions.Services.dataAdapters.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == t }); if (null != e) return e; throw i.format("Data adapter for the {0} database is not found!", this) } , c.prototype.getDataAdapterType = function() { return r.StiSqlAdapterService } , c.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) } , c.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) } , c.prototype.applyDatabaseInformationTables = function(t, e, r) { var i, n; 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) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , c.prototype.applyDatabaseInformationViews = function(t, e, r) { var i, n; 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) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , c.prototype.applyDatabaseInformationProcedures = function(t, e, i) { var n, o; try { for (var a = __values(t.storedProcedures), s = a.next(); !s.done; s = a.next()) { var l = s.value; this.applyDatabaseInformationSource(t, e, i, l, r.StiSqlSourceType.StoredProcedure) } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , c.prototype.applyDatabaseInformationSource = function(t, o, a, s, l) { var u, c; void 0 === l && (l = r.StiSqlSourceType.Table); var m = this.createDataSource(this.name, e.StiNameCreation.createName(o, s.tableName, !1, !1, !0)) , p = m.getDataAdapter(); m.sqlCommand = null != s.extendedProperties.Query ? m.sqlCommand = s.extendedProperties.Query : i.format("select * from {0}", null != p ? p.getDatabaseSpecificName(s.tableName) : s.tableName); var h = new n; try { for (var d = __values(s.columns.list), g = d.next(); !g.done; g = d.next()) { var f = g.value; h = 0 == h.length ? h.append(f.columnName) : h.appendFormat(", {0}", f.columnName), m.columns.add(new r.StiDataColumn(f.columnName,f.columnName,f.columnName,f.dataType)) } } catch (t) { u = { error: t } } finally { try { g && !g.done && (c = d.return) && c.call(d) } finally { if (u) throw u.error } } m.type = l; var S = null != a ? a.tables.firstOrDefault(function(t) { return t.tableName == s.tableName }) : null; null != S && s.columns.count != S.columns.count && m.sqlCommand.stimulsoft.contains("*") && h.length > 0 && (m.sqlCommand = m.sqlCommand.stimulsoft.replaceAll("*", h.toString())), o.dictionary.dataSources.add(m) } , c.prototype.getDatabaseInformationAsync = function(e) { var i = new l , n = new r.StiDatabaseInformation; return this.getDataAdapter().retrieveSchemaAsync(e.report, null, this.connectionString).try(function(t) { n.tables.addRange(c.getDatabaseInformationTables(t)), n.views.addRange(c.getDatabaseInformationViews(t)), n.storedProcedures.addRange(c.getDatabaseInformationProcedures(t)) }).catch(function(e) { t.System.StiError.showError(e) }).finally(function() { i.callTry(n) }).abort(i), i } , c.getDatabaseInformationTables = function(e) { var r, n, s = [], l = function(e) { try { var r = new a(e.name); e.columns.forEach(function(t) { null == r.columns.getByName(t.name) && r.columns.add(new o(t.name,t.type)) }), i.isNullOrWhiteSpace(e.query) || (r.extendedProperties.Query = e.query), s.add(r) } catch (e) { throw t.System.StiError.showError(e, !1), e } }; try { for (var u = __values(e.tables), c = u.next(); !c.done; c = u.next()) { l(c.value) } } catch (t) { r = { error: t } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (r) throw r.error } } return s } , c.getDatabaseInformationViews = function(e) { var r, n, s = [], l = function(e) { try { var r = new a(e.name); e.columns.forEach(function(t) { null == r.columns.getByName(t.name) && r.columns.add(new o(t.name,t.type)) }), i.isNullOrWhiteSpace(e.query) || (r.extendedProperties.Query = e.query), s.add(r) } catch (e) { throw t.System.StiError.showError(e, !1), e } }; try { for (var u = __values(e.views), c = u.next(); !c.done; c = u.next()) { l(c.value) } } catch (t) { r = { error: t } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (r) throw r.error } } return s } , c.getDatabaseInformationProcedures = function(e) { var r, n, s = [], l = function(e) { try { var r = new a(e.name); e.columns.forEach(function(t) { if (null == r.columns.getByName(t.name)) { var e = new o(t.name,t.type); e.caption = "Columns", r.columns.add(e) } }), e.parameters.forEach(function(t) { if (null == r.columns.getByName(t.name)) { var e = new o(t.name,t.type); e.caption = "Parameters", r.columns.add(e) } }), i.isNullOrWhiteSpace(e.query) || (r.extendedProperties.Query = e.query), s.add(r) } catch (e) { throw t.System.StiError.showError(e, !1), e } }; try { for (var u = __values(e.storedProcedures), c = u.next(); !c.done; c = u.next()) { l(c.value) } } catch (t) { r = { error: t } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (r) throw r.error } } return s } , c.prototype.getSampleConnectionString = function() { return "Integrated Security=False; Data Source=myServerAddress;" + "\r\n" + "Initial Catalog=myDataBase; User ID=myUsername; Password=myPassword;" } , c.encryptedId = "8pTP5X15uKADcSw7", c }(r.StiDatabase); r.StiSqlDatabase = u }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = function(t) { function n(e, r, i, n, o) { return void 0 === e && (e = ""), void 0 === r && (r = ""), void 0 === i && (i = null), void 0 === n && (n = !1), void 0 === o && (o = null), t.call(this, e, r, i, n, o) || this } return __extends(n, t), n.prototype.createNew = function() { return new n } , Object.defineProperty(n.prototype, "serviceName", { get: function() { return "OData" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "componentId", { get: function() { return e.StiComponentId.StiODataDatabase }, enumerable: !0, configurable: !0 }), n.prototype.createDataSource = function(t, e) { return new r.StiODataSource(t,e) } , n.prototype.getDataAdapterType = function() { return r.StiODataAdapterService } , n.prototype.getConnectionStringHelper = function() { return "StiODataConnectionHelper" } , n.prototype.mapUserNameAndPassword = function(t, e) { return i.format("UserName = {0}; Password = {1}", t, e) } , Object.defineProperty(n.prototype, "connectionType", { get: function() { return r.StiConnectionType.Rest }, enumerable: !0, configurable: !0 }), n.prototype.getSampleConnectionString = function() { return "http://services.odata.org/v3/odata/OData.svc/" } , n }(r.StiSqlDatabase); r.StiODataDatabase = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = null), void 0 === n && (n = !1), void 0 === o && (o = null), r.call(this, t, e, i, n, o) || this } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiFirebirdDatabase }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "Firebird" }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i.prototype.createDataSource = function(t, r) { return new e.StiFirebirdSource(t,r) } , i.prototype.getDataAdapterType = function() { return e.StiFirebirdAdapterService } , i.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;" } , i }(e.StiSqlDatabase); e.StiFirebirdDatabase = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = null), void 0 === n && (n = !1), void 0 === o && (o = null), r.call(this, t, e, i, n, o) || this } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiMySqlDatabase }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , Object.defineProperty(i.prototype, "serviceName", { get: function() { return "MySQL" }, enumerable: !0, configurable: !0 }), i.prototype.createDataSource = function(t, r) { return new e.StiMySqlSource(t,r) } , i.prototype.getDataAdapterType = function() { return e.StiMySqlAdapterService } , i.prototype.getSampleConnectionString = function() { return "Server=myServerAddress; Database=myDataBase;" + "\r\n" + "UserId=myUsername; Pwd=myPassword;" } , i }(e.StiSqlDatabase); e.StiMySqlDatabase = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = null), void 0 === n && (n = !1), void 0 === o && (o = null), r.call(this, t, e, i, n, o) || this } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiOracleDatabase }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "Oracle" }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i.prototype.createDataSource = function(t, r) { return new e.StiOracleSource(t,r) } , i.prototype.getDataAdapterType = function() { return e.StiOracleAdapterService } , i.prototype.getSampleConnectionString = function() { return "Data Source=TORCL;User Id=myUsername;Password=myPassword;" } , i }(e.StiSqlDatabase); e.StiOracleDatabase = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o) { return void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === i && (i = null), void 0 === n && (n = !1), void 0 === o && (o = null), r.call(this, t, e, i, n, o) || this } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return t.StiComponentId.StiPostgreSQLDatabase }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceName", { get: function() { return "PostgreSQL" }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i.prototype.createDataSource = function(t, r) { return new e.StiPostgreSQLSource(t,r) } , i.prototype.getDataAdapterType = function() { return e.StiPostgreSQLAdapterService } , i.prototype.getSampleConnectionString = function() { return "Server=myServerAddress; Port=5432; Database=myDataBase;" + "\r\n" + "User Id=myUsername; Password=myPassword;" } , i }(e.StiSqlDatabase); e.StiPostgreSQLDatabase = r }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function(t) { function i(e, r, i) { void 0 === e && (e = ""), void 0 === r && (r = ""), void 0 === i && (i = ""); var n = t.call(this, e, r, i) || this; return n._serviceName = "Custom", n._sampleConnectionString = "Sample ConnectionString", n } return __extends(i, t), i.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyString("ServiceName", this.serviceName, "Custom"), r } , i.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ServiceName": this._serviceName = a.value.toString(); break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , i.registerCustomDatabase = function(t) { var r = new i; r._serviceName = t.serviceName, "sampleConnectionString"in t && (r._sampleConnectionString = t.sampleConnectionString), StiOptions.Services.databases.add(r), r.dataAdapter = e.StiCustomAdapterService.registerCustomAdapterService({ name: t.serviceName, process: t.process }), e.StiCustomSource.registerCustomSource() } , i.prototype.createNew = function() { return new i } , Object.defineProperty(i.prototype, "serviceName", { get: function() { return this._serviceName }, enumerable: !0, configurable: !0 }), i.prototype.createDataSource = function(t, r) { return new e.StiCustomSource(t,r) } , i.prototype.getDataAdapter = function() { if (null == this.dataAdapter && (this.dataAdapter = StiOptions.Services.dataAdapters.firstOrDefault(function(t) { return t.stimulsoft.is(e.StiCustomAdapterService) })), this.dataAdapter) return this.dataAdapter; throw r.format("Data adapter for the {0} database is not found!", this) } , i.prototype.getDataAdapterType = function() { return e.StiCustomAdapterService } , i.prototype.applyDatabaseInformationSource = function(r, i, n, o, a) { void 0 === a && (a = e.StiSqlSourceType.Table), o.extendedProperties.Query = o.tableName, t.prototype.applyDatabaseInformationSource.call(this, r, i, n, o, a) } , i.prototype.getSampleConnectionString = function() { return this._sampleConnectionString } , i }(e.StiSqlDatabase); e.StiCustomDatabase = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.CollectionBase , i = t.System.ICloneable , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.StiJson , a = function(r) { function a(t) { var e = r.call(this) || this; return e.dictionary = t, e } return __extends(a, r), a.prototype.implements = function() { return [i, n] } , a.prototype.saveToJsonObject = function(t) { var e, r; if (0 == this.list.length) return null; var i = new o , n = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; i.addPropertyJObject(n.toString(), l.saveToJsonObject(t)), n++ } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (e) throw e.error } } return i } , a.prototype.loadFromJsonObject = function(t) { var e, r, i = function(t) { var e = t.value , r = e.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value , i = StiOptions.Services.databases.firstOrDefault(function(t) { return t.stimulsoft.getType().stimulsoft.getTypeName() == r }); if (null != i) { var o = i.createNew(); o.loadFromJsonObject(t.value), n.list.add(o) } }, n = this; try { for (var o = __values(t.properties()), a = o.next(); !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 } } } , a.prototype.loadFromXml = function(e) { 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.Dictionary.StiXmlDatabase": var n = new t.Report.Dictionary.StiXmlDatabase; n.loadFromXml(i), this.list.add(n); break; case "Stimulsoft.Report.Dictionary.StiJsonDatabase": var o = new t.Report.Dictionary.StiJsonDatabase; o.loadFromXml(i), this.list.add(o); break; case "Stimulsoft.Report.Dictionary.StiSqlDatabase": var a = new t.Report.Dictionary.StiSqlDatabase; a.loadFromXml(i), this.list.add(a); break; case "Stimulsoft.Report.Dictionary.StiMySqlDatabase": var s = new t.Report.Dictionary.StiMySqlDatabase; s.loadFromXml(i), this.list.add(s); break; case "Stimulsoft.Report.Dictionary.StiExcelDatabase": var l = new t.Report.Dictionary.StiExcelDatabase; l.loadFromXml(i), this.list.add(l); break; case "Stimulsoft.Report.Dictionary.StiCsvDatabase": var u = new t.Report.Dictionary.StiCsvDatabase; u.loadFromXml(i), this.list.add(u); break; case "Stimulsoft.Report.Dictionary.StiODataDatabase": var c = new t.Report.Dictionary.StiODataDatabase; c.loadFromXml(i), this.list.add(c); break; case "Stimulsoft.Report.Dictionary.StiPostgreSQLDatabase": var m = new t.Report.Dictionary.StiPostgreSQLDatabase; m.loadFromXml(i), this.list.add(m); break; case "Stimulsoft.Report.Dictionary.StiOracleDatabase": var p = new t.Report.Dictionary.StiOracleDatabase; p.loadFromXml(i), this.list.add(p); break; case "Stimulsoft.Report.Dictionary.StiDataWorldDatabase": var h = new t.Report.Dictionary.StiDataWorldDatabase; h.loadFromXml(i), this.list.add(h); break; case "Stimulsoft.Report.Dictionary.StiFirebirdDatabase": var d = new t.Report.Dictionary.StiFirebirdDatabase; d.loadFromXml(i), this.list.add(d); break; default: var g = new t.Report.Dictionary.StiUndefinedDatabase; g.loadFromXml(i), this.list.add(g); break } } } , a.prototype.indexOf = function(t) { var r, i; if (t.stimulsoft.is(e.StiDatabase)) return this.list.indexOf(t); var n = 0; try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { if (t == a.value.name) return n; n++ } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return -1 } , a.prototype.remove = function(t) { if (t.stimulsoft.is(e.StiDatabase)) this.list.remove(t); else { alert(); var r = this.indexOf(t); if (-1 == r) throw new Error("Database '" + t + "' is not found"); this.list.splice(r, 1) } } , a.prototype.getByName = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name.toLowerCase() == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , a.prototype.setByName = function(t, e) { t = t.toLowerCase(); for (var r = 0; r < this.list.length; r++) { if (this.getByIndex(r).name.toLowerCase() == t) return void (this.list[r] = e) } this.add(e) } , a.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , a.prototype.memberwiseClone = function() { return new (this.stimulsoft.getType()) } , a }(r); e.StiDatabaseCollection = a }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, r, i, n, o) { return void 0 === e && (e = ""), void 0 === r && (r = ""), void 0 === i && (i = ""), void 0 === n && (n = !1), void 0 === o && (o = ""), t.call(this, e, r, o) || this } return __extends(e, t), e }(t.StiDatabase); t.StiUndefinedDatabase = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[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" }(e = t.StiConnectionType || (t.StiConnectionType = {})) }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.IComparable , n = t.System.Text.StringBuilder , o = function() { function r(t, e, r, i, n, 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._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 = i, this.returnDescription = a, this.groupFunctionName = e, this.functionName = r, this.typeOfFunction = n, this.returnType = o, this.argumentTypes = s, this.argumentNames = l, this.argumentDescriptions = u } return r.prototype.implements = function() { return [i] } , r.prototype.compareTo = function(t) { var e = t.stimulsoft.as(r); return this.functionName.stimulsoft.compareTo(e.functionName) } , Object.defineProperty(r.prototype, "useFullPath", { get: function() { return this._useFullPath }, set: function(t) { this._useFullPath = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "category", { get: function() { return this._category }, set: function(t) { this._category = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "groupFunctionName", { get: function() { return this._groupFunctionName }, set: function(t) { this._groupFunctionName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "functionName", { get: function() { return this._functionName }, set: function(t) { this._functionName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "description", { get: function() { return this._description }, set: function(t) { this._description = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "typeOfFunction", { get: function() { return this._typeOfFunction }, set: function(t) { this._typeOfFunction = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "returnType", { get: function() { return this._returnType }, set: function(t) { this._returnType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "returnDescription", { get: function() { return this._returnDescription }, set: function(t) { this._returnDescription = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "argumentTypes", { get: function() { return this._argumentTypes }, set: function(t) { this._argumentTypes = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "argumentNames", { get: function() { return this._argumentNames }, set: function(t) { this._argumentNames = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "argumentDescriptions", { get: function() { return this._argumentDescriptions }, set: function(t) { this._argumentDescriptions = t }, enumerable: !0, configurable: !0 }), r.prototype.toString = function() { return this.functionName } , r.prototype.getLongFunctionString = function(t) { var r, i, o, a; if (t == e.StiReportLanguageType.CSharp) { var s = new n; s.append(this.convertTypeToString(this.returnType, t)), s.append(" "), s.append(this.functionName), s.append(" ("); var l = 0; if (null != this.argumentTypes) try { for (var u = __values(this.argumentTypes), c = u.next(); !c.done; c = u.next()) { var m = c.value , p = this.argumentNames[l]; m.stimulsoft.is(Array) || (s.append(this.convertTypeToString(m, t)), s.append(" ")), s.append(p), l++, l != this.argumentTypes.length && s.append(", ") } } catch (t) { r = { error: t } } finally { try { c && !c.done && (i = u.return) && i.call(u) } finally { if (r) throw r.error } } return s.append(")"), s.toString() } var s = new n; s.append(this.functionName), s.append("("); var l = 0; if (null != this.argumentTypes) try { for (var h = __values(this.argumentTypes), d = h.next(); !d.done; d = h.next()) { var m = d.value , p = this.argumentNames[l]; s.append(p), s.append(" As "), s.append(this.convertTypeToString(m, t)), l++, l != this.argumentTypes.length && s.append(", ") } } catch (t) { o = { error: t } } finally { try { d && !d.done && (a = h.return) && a.call(h) } finally { if (o) throw o.error } } return s.append(")"), "void" != this.returnType.toString() && s.append(" As " + this.convertTypeToString(this.returnType, t)), s.toString() } , r.prototype.getFunctionString = function(t, e) { var r, i; void 0 === e && (e = !0); var o = new n; e && 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(c) : o.append(this.convertTypeToString(u, t)), a++, a != this.argumentTypes.length && o.append(", ") } } catch (t) { r = { error: t } } finally { try { l && !l.done && (i = s.return) && i.call(s) } finally { if (r) throw r.error } } return o.append(")"), "void" != this.returnType.toString() && o.append(" : " + this.convertTypeToString(this.returnType, t)), o.toString() } , r.prototype.convertTypeToString = function(e, r) { if (e == t.System.Int32) return "int"; if (e == t.System.UInt32) return "uint"; if (e == t.System.Int64) return "long"; if (e == t.System.UInt64) return "ulong"; if (e == String) return "string"; if (e == Boolean) return "bool"; if (e == t.System.Byte) return "byte"; if (e == t.System.SByte) return "sbyte"; if (e == t.System.Int16) return "short"; if (e == t.System.UInt16) return "ushort"; if (e == t.System.Char) return "char"; if (e == t.System.Double) return "double"; if (e == t.System.Single) return "float"; if (e == t.System.Decimal) return "decimal"; if (e == t.System.DateTime) return "DateTime"; if (e == t.System.TimeSpan) return "TimeSpan"; if (e == t.System.Guid) return "Guid"; if (e == t.System.NullableByte) return "byte?"; if (e == t.System.NullableSByte) return "sbyte?"; if (e == t.System.NullableBoolean) return "bool?"; if (e == t.System.NullableByte) return "char?"; if (e == t.System.NullableInt16) return "short?"; if (e == t.System.NullableUInt16) return "ushort?"; if (e == t.System.NullableInt32) return "int?"; if (e == t.System.NullableUInt32) return "uint?"; if (e == t.System.NullableInt64) return "long?"; if (e == t.System.NullableUInt64) return "ulong?"; if (e == t.System.NullableDouble) return "double?"; if (e == t.System.NullableSingle) return "float?"; if (e == t.System.NullableDecimal) return "decimal?"; if (e == t.System.NullableDateTime) return "DateTime?"; if (e == t.System.NullableTimeSpan) return "TimeSpan?"; if (e == t.System.NullableGuid) return "Guid?"; if (e == Object) return "object"; return e.stimulsoft.getType().stimulsoft.getTypeName() } , r }(); r.StiFunction = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = function() { function r() {} return r.create = function() { 0 == r.isCreated && (e.StiFunctions.addFunction("Math", "", "Abs", "Returns the absolute value of an integer.", "System.Math", t.System.Int64, "An integer.", [t.System.Int64], ["value"], ["integer."]), e.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."]), e.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."]), e.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"]), e.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"]), e.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"]), e.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."]), e.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"]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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. "]), e.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."]), e.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. "]), e.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."]), r.isCreated = !0) } , r.isCreated = !1, r }(); e.StiFunctionsMath = r }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.create = function() { 0 == e.isCreated && (t.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."]), t.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."]), t.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."]), t.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."]), t.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."]), e.isCreated = !0) } , e.isNull = function(t, e) { var r = t; if (null != r) { return null == r.getData(e) } return !0 } , e.next = function(t, e) { var r = t , i = "*nextFunction*"; null != r && r.saveState(i); var n = null; try { if (null != r) { if (r.next(), r.isEof) return null; n = r.getData(e) } } finally { null != r && r.restoreState(i) } return n } , e.nextIsNull = function(t, e) { return null == this.next(t, e) } , e.previous = function(t, e) { var r = t , i = "*prevFunction*"; null != r && r.saveState(i); var n = null; try { if (null != r) { if (r.prior(), r.isBof) return null; n = r.getData(e) } } finally { null != r && r.restoreState(i) } return n } , e.previousIsNull = function(t, e) { return null == this.previous(t, e) } , e.isCreated = !1, e }(); t.StiFunctionsPrintState = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e() {} return e.create = function() { 0 == e.isCreated && (t.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."]), t.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."]), t.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."]), e.isCreated = !0) } , e.isCreated = !1, e }(); t.StiFunctionsProgrammingShortcut = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Data.DBNull , o = function() { function o() {} return o.create = function() { 0 == o.isCreated && (r.StiFunctions.addFunction("Strings", "", "Length", "Returns the number of characters of the specified String.", "Stimulsoft.Report.Dictionary.StiFunctionsStrings", t.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, t.System.Int32, t.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, t.System.Int32, t.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, t.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, t.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.", [t.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.", [t.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.", [t.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, t.System.Int32, t.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, t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.System.Decimal, String, t.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.", [t.System.Decimal, String, t.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.", [t.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.", [t.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.", [t.System.Decimal, String, t.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.", [t.System.Decimal, String, t.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.", [t.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.", [t.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.", [t.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.", [t.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.", [t.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, t.System.Decimal, t.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.", [t.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.", [t.System.Int64], ["value"], ["A value containing a number to convert."]), o.isCreated = !0) } , o.toProperCase = function(t) { if (null == t || t == n.value) return ""; return t.toLowerCase().replace(/(^|[\s\xA0])[^\s\xA0]/g, function(t) { return t.toUpperCase() }) } , o.substring = function(t, e, r) { if (null == t || t == n.value) return ""; var i = t.toString(); if (e + r >= i.length) return i.substr(e); return i.substr(e, r) } , o.left = function(t, e) { if (null == t || t == n.value) return ""; var r = t.toString(); if (e >= r.length) return r; return r.substr(0, e) } , o.right = function(t, e) { if (null == t || t == n.value) return ""; var r = t.toString(); if (e >= r.length) return r; return r.substr(r.length - e, e) } , o.mid = function(t, e, r) { return this.substring(t, e, r) } , o.roman = function(t) { return e.Func.Convert.toRoman(t) } , o.abc = function(t) { return e.Func.Convert.toABC(+t) } , o.arabic = function(t) { return e.Func.Convert.toArabic(t, !1) } , o.persian = function(t) { return e.Func.Convert.toArabic(t, !1) } , o.toWords = function(t, r, i) { return void 0 === r && (r = null), void 0 === i && (i = null), e.Func.En.numToStr(t, r) } , o.dateToStr = function(t, r) { return void 0 === r && (r = null), e.Func.En.dateToStr(t, r) } , o.toCurrencyWords = function(t, r, i, n, o) { return void 0 === n && (n = "dollar/dollars"), void 0 === o && (o = "cent/cents"), e.Func.En.currToStr(t, r, i, n, o) } , o.toCurrencyWords2 = function(t, e, r, i, n) { return void 0 === e && (e = null), void 0 === r && (r = null), void 0 === i && (i = null), void 0 === n && (n = null), "EN only implemented" } , o.toOrdinal = function(t) { var e = "" + t; if (t < 1) return e; if ((t %= 100) >= 11 && 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" } } , o.toWordsRu = function(t, r) { return void 0 === r && (r = !0), e.Func.Ru.numToStr(t, r) } , o.dateToStrRu = function(t, r) { return void 0 === r && (r = !1), e.Func.Ru.dateToStr(t, r) } , o.toCurrencyWordsRu = function(t, r, i, n) { return void 0 === r && (r = !0), void 0 === i && (i = "RUR"), void 0 === n && (n = !0), e.Func.Ru.currToStr(t, r, i, n) } , o.toCurrencyWordsThai = function(t) { return this.SP_STRtNumToMny(t) } , o.SP_STRtNumToMny = function(t) { var e = "" , r = "" , n = null , o = "" , a = "" , s = "" , l = ""; if (l = Math.round2(t, 2).toString(), n = l.split("."), n.length - 1 > 1) return ""; if (r = n[0], n.length - 1 > 0 && (e = n[1], e.length > 2)) return ""; if (o = i.isNullOrEmpty(r) ? this.tC_0 : this.SP_XCGtNumToMny(r), i.isNullOrEmpty(e)) a = this.tC_0; else { switch (e.length) { case 1: e += "0"; break; case 2: break; default: e = e.stimulsoft.remove(2); break } a = this.SP_XCGtNumToMny(e) } return o == this.tC_0 && a == this.tC_0 ? s = o + this.tC_Baht + this.tC_Complete : o == this.tC_0 && a != this.tC_0 ? s = a + this.tC_Satang : o != this.tC_0 && a == this.tC_0 ? s = o + this.tC_Baht + this.tC_Complete : o != this.tC_0 && a != this.tC_0 && (s = o + this.tC_Baht + a + this.tC_Satang), s } , o.SP_XCGtNumToMny = function(t) { var e = t; if (i.isNullOrEmpty(t)) return ""; while ("0" == e[0] && e.length > 1) e = e.stimulsoft.remove(1, 1); e = this.reverseString(e); var r = 0 , n = "" , o = e; for (r = 0; r <= o.length - 1; r++) { var a = "" , s = "" , l = 0; switch (l = r % 6, o[r]) { case "0": s = ""; break; case "1": switch (l) { case 0: s = o.length % 6 == 0 && r == o.length - 1 ? this.tC_1 : this.tC_01; break; case 1: s = this.tC_10; break; default: s = this.tC_1; break } break; case "2": switch (l) { case 1: s = this.tC_20; break; default: s = this.tC_2; break } break; case "3": s = this.tC_3; break; case "4": s = this.tC_4; break; case "5": s = this.tC_5; break; case "6": s = this.tC_6; break; case "7": s = this.tC_7; break; case "8": s = this.tC_8; break; case "9": s = this.tC_9; break } if (!i.isNullOrEmpty(s) || r % 6 == 0) switch (l) { case 0: a = r / 6 <= 0 ? "" : this.tC_1000000; break; case 1: a = s == this.tC_10 ? "" : this.tC_10; break; case 2: a = this.tC_100; break; case 3: a = this.tC_1000; break; case 4: a = this.tC_10000; break; case 5: a = this.tC_100000; break } n = s + a + n } return i.isNullOrEmpty(n) && (n = this.tC_0), n } , o.reverseString = function(t) { var e = t.split(""); return Array.reverse(e), e.join() } , o.toWordsUa = function(r, i, n) { return void 0 === i && (i = !0), void 0 === n && (n = t.Report.Func.Gender.Masculine), e.Func.Ua.numToStr(r, i, n) } , o.dateToStrUa = function(t, r) { return void 0 === r && (r = !1), e.Func.Ua.dateToStr(t, r) } , o.toCurrencyWordsUa = function(t, r, i, n) { return void 0 === r && (r = !0), void 0 === i && (i = "UAH"), void 0 === n && (n = !0), e.Func.Ua.currToStr(t, r, i, n) } , o.toWordsPt = function(t, r) { return e.Func.Pt.numToStr(t, r) } , o.toCurrencyWordsPt = function(t, r, i) { return e.Func.Pt.currToStr(t, r, i) } , o.toCurrencyWordsPtBr = function(t) { return e.Func.PtBr.numToStr(t) } , o.DateToStrPt = function(t) { return e.Func.Pt.dateToStr(t) } , o.dateToStrPtBr = function(t) { return e.Func.Pt.dateToStr(t).toLowerCase() } , o.toCurrencyWordsFr = function(t, r, i) { return e.Func.Fr.convertToWord(t, r, i) } , o.toCurrencyWordsEs = function(t, r, i) { return e.Func.Es.convertToWord(t, r, i) } , o.toWordsEs = function(t, r) { return e.Func.Es.numToStr(t, r) } , o.toWordsEs2 = function(t, r, i) { return e.Func.Es.numToStr2(t, r, i) } , o.toCurrencyWordsNl = function(t, r, i) { return e.Func.Nl.convertToWord(t, r, i) } , o.toCurrencyWordsEnGb = function(t, r, i) { return e.Func.EnGb.convertToWord(t, r, i) } , o.toWordsPl = function(t, r) { return e.Func.Pl.numToStr(t, r) } , o.dateToStrPl = function(t, r) { return e.Func.Pl.dateToStr(t, r) } , o.toCurrencyWordsPl = function(t, r, i, n) { return e.Func.Pl.currToStr(t, r, i, n) } , o.toWordsEnIn = function(t, r) { return e.Func.EnIn.numberToStr(t, r) } , o.toCurrencyWordsEnIn = function(t, r, i, n, o) { return void 0 === o && (o = !1), e.Func.EnIn.currencyToStr(t, r, i, n, o) } , o.toWordsFa = function(t) { return e.Func.Fa.convertToWord(t) } , o.toWordsZh = function(t) { return e.Func.Zh.toWordsZh(t) } , o.toCurrencyWordsZh = function(t) { return e.Func.Zh.toCurrencyWordsZh(t) } , o.toWordsTr = function(t) { return e.Func.Tr.numToStr(t) } , o.toCurrencyWordsTr = function(t) { return e.Func.Tr.currToStr(t) } , o.toCurrencyWordsTr2 = function(t, r, i) { return e.Func.Tr.currToStr(t, r, i) } , o.isCreated = !1, o.tC_0 = "ศูนย์", o.tC_1 = "หนึ่ง", o.tC_2 = "สอง", o.tC_3 = "สาม", o.tC_4 = "สี่", o.tC_5 = "ห้า", o.tC_6 = "หก", o.tC_7 = "เจ็ด", o.tC_8 = "แปด", o.tC_9 = "เก้า", o.tC_01 = "เอ็ด", o.tC_10 = "สิบ", o.tC_20 = "ยี่", o.tC_100 = "ร้อย", o.tC_1000 = "พัน", o.tC_10000 = "หมื่น", o.tC_100000 = "แสน", o.tC_1000000 = "ล้าน", o.tC_Baht = "บาท", o.tC_Satang = "สตางค์", o.tC_Complete = "ถ้วน", o }(); r.StiFunctionsStrings = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = function() { function r() {} return r.create = function() { 0 == r.isCreated && (e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.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."]), e.StiFunctions.addFunction("Totals", "Count", "Count", "A function counts how many values are in the specified data source.", "IsNull", t.System.Int64, "An integer number."), e.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."]), e.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."]), e.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."]), e.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."]), r.isCreated = !0) } , r.isCreated = !1, r }(); e.StiFunctionsTotals = r }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t) { this._alias = t } return Object.defineProperty(t.prototype, "alias", { get: function() { return this._alias }, set: function(t) { this._alias = t }, enumerable: !0, configurable: !0 }), t }(); t.StiAliasAttribute = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Data.DBNull , i = t.Report.Components.StiGroupSortDirection , n = function() { function e(t, e, r, i) { this.businessObject = null, this.businessObject = e, this.sortColumns = t, this.conditions = i, this.rowToConditions = r } return e.prototype.compare = function(e, r) { try { if (e == r) return 0; if (null != this.rowToConditions && null != this.conditions) for (var n = this.rowToConditions.get(e), o = this.rowToConditions.get(r), a = this.conditions.length, s = 0; s < a; s++) { var l = this.conditions[n][s][0] , u = this.conditions[o][s][0] , c = +this.conditions[n][s][1] , m = this.compareValues(l, u, c == i.Ascending); if (0 == m) continue; return m } if (null == this.sortColumns || 0 == this.sortColumns.length) return 0; var p = 0 , h = 0; while (h < this.sortColumns.length) { var d = !1; "ASC" == this.sortColumns[h++] && (d = !0); var g = h; while (h < this.sortColumns.length && "ASC" != this.sortColumns[h] && "DESC" != this.sortColumns[h]) h++; var f = e , S = r; if (h - g > 1) var A = g; var y = this.sortColumns[h - 1]; p++ } return 0 } catch (e) { return t.System.StiError.showError(e, !1), 0 } } , e.prototype.compareValues = function(t, e, i) { void 0 === i && (i = !0); var n = 1; if (i || (n = -1), t == r.value && e == r.value) return 0; if (t == r.value) return -1 * n; if (e == r.value) return 1 * n; var o = t , a = e; if (null == o && null == a) return 0; if (null == o) return -1 * n; if (null == a) return 1 * n; if (o != a) { var s = o.compareTo(a); if (i || (s = -s), 0 != s) return s } return 0 } , e.prototype.clear = function() { this.sortColumns = null } , e }(); e.StiBusinessObjectSort = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Data.DataSet , i = function() { function t(t, e, r, i, n) { this.name = t, this.parentTableName = e, this.childTableName = r, this.parentColumnName = i, this.childColumnName = n } return t }() , n = function() { function t() { this.dataSet = null, this.relations = null, this.uniques = null, this.level = 0 } return t.prototype.convertBusinessObjectToDataSet = function(t, e) { return new r(t) } , t }(); e.StiBusinessObjectToDataSet = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.IStiAppCalcDataColumn , i = t.System.Type , n = function(t) { function e(e, r, n, o, a) { void 0 === e && (e = "CalcColumn"), void 0 === r && (r = "CalcColumn"), void 0 === n && (n = new i), void 0 === o && (o = ""), void 0 === a && (a = ""); var s = t.call(this, e, e, r, n) || this; return s._value = o, "" != a && (s.key = a), s } return __extends(e, t), e.prototype.implements = function() { return e.ImplementsStiCalcDataColumn || (e.ImplementsStiCalcDataColumn = t.prototype.implements.call(this).concat([r])), e.ImplementsStiCalcDataColumn } , e.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyIdent("Ident", "Calc"), r.addPropertyString("Expression", this.expression), r } , e.prototype.loadFromJsonObject = function(e) { var r, i; t.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Expression": this.expression = a.value; break } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , Object.defineProperty(e.prototype, "value", { get: function() { return this._value }, set: function(t) { this._value = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "expression", { get: function() { return this.value }, set: function(t) { this.value = t }, enumerable: !0, configurable: !0 }), e }(e.StiDataColumn); e.StiCalcDataColumn = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e, r) { this.OriginalConnectionState = null, this._name = t, this._data = e, this._viewData = r, r || (this._viewData = e) } return Object.defineProperty(t.prototype, "viewData", { get: function() { return this._viewData }, set: function(t) { this._viewData = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "data", { get: function() { return this._data }, set: function(t) { this._data = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "name", { get: function() { return this._name }, set: function(t) { this._name != t && (this._alias == name && (this._alias = t), this._name = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "alias", { get: function() { return this._alias }, set: function(t) { this._alias = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isReportData", { get: function() { return this._isReportData }, set: function(t) { this._isReportData = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isBusinessObjectData", { get: function() { return this._isReportData }, set: function(t) { this._isBusinessObjectData = t }, enumerable: !0, configurable: !0 }), t.prototype.toString = function() { return this.name == this.alias ? this.name + "(" + this.viewData.stimulsoft.getTypeName() + ")" : this.name + "(" + this.alias + ")" } , t }(); t.StiData = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.StiString , i = t.System.Char , n = t.System.Collections.Hashtable , o = t.Report.CodeDom.StiCodeGenerator , a = function() { function t() {} return t.correctName = function(e, r, n) { if (void 0 === r && (r = !0), void 0 === n && (n = null), null == e || 0 == e.length) return ""; var o = "_" + e; if (t.cache.contains(o)) { var a = t.cache.get(o); if (a.stimulsoft.is(Boolean)) return e; return a } for (var s = e, l = 0; l < s.length; l++) i.isLetterOrDigit(s.charAt(l)) || (s = s.substr(0, l) + "_" + s.substr(l + 1)); return s.length > 0 && i.isDigit(s.charAt(0)) && (s = "n" + s), r && (e = this.checkKeyword(e, n)), e == s ? t.cache.add(o, !0) : t.cache.add(o, s), s } , t.checkKeyword = function(t, e) { if (o.isKeywordExist(t)) { if ("date" == t) return t; return t + "_" } return t } , t.correctBusinessObjectName = function(e) { if (r.isNullOrEmpty(e)) return ""; for (var i = e.split("."), n = 0; n < i.length; n++) e += t.correctName(i[n]), n < i.length - 1 && (e += "."); return e } , t.cache = new n, t }(); e.StiNameValidator = a }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.StiNameValidator , i = function() { function t() {} return t.getColumnFromPath = function(t, e) { var i, n, o = t.split("."), a = o[0]; try { for (var s = __values(e.dataSources.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (r.correctName(u.name) == a && t.length > u.name.length + 1) { var c = t.substring(u.name.length + 1); return this.getColumnFromPath2(c, u) } } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return null } , t.getColumnFromPath2 = function(t, e) { var i, n, o, a, s = t.split("."), l = 0, u = s[l]; while (1 == 1) { try { for (var c = (i = void 0, __values(e.columns.list)), m = c.next(); !m.done; m = c.next()) { var p = m.value; if (r.correctName(p.name) == u && l == s.length - 1) return p } } catch (t) { i = { error: t } } finally { try { m && !m.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } var h = e.getParentRelations(); try { for (var d = (o = void 0, __values(h.list)), g = d.next(); !g.done; g = d.next()) { var f = g.value; if (r.correctName(f.name) == u) { var S = t.substring(f.name.length + 1); return this.getColumnFromPath2(S, f.parentSource) } } } catch (t) { o = { error: t } } finally { try { g && !g.done && (a = d.return) && a.call(d) } finally { if (o) throw o.error } } if (l == s.length - 1) return null; l++, u += "." + s[l] } return null } , t }(); e.StiDataBuilder = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Collections.CollectionBase , n = t.System.Data.DataTable , o = t.System.Data.DataSet , a = t.System.Data.JsonRelationDirection , s = function(i) { function s() { return null !== i && i.apply(this, arguments) || this } return __extends(s, i), s.prototype.getByName = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name.toLowerCase() == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , s.prototype.setByName = function(t, e) { for (var r = t.toLowerCase(), i = 0; i < this.list.length; i++) { if (this.getByIndex(i).name.toLowerCase() == r) return void (this.list[i] = e) } this.add(e) } , s.prototype.regData = function(i, l, u, c) { var m, p; if (void 0 === c && (c = a.ParentToChild), null != u) { if (r.isNullOrEmpty(l) && !r.isNullOrEmpty(i) && (l = i), u.stimulsoft.is(n)) return void (r.isNullOrEmpty(l) ? this.regDataDataTable2(u) : this.regDataDataTable(i, l, u)); if (u.stimulsoft.is(o)) return r.isNullOrEmpty(l) && this.regDataDataSet2(u), void this.regDataDataSet(i, l, u); if (u.stimulsoft.is(String)) try { var h = new o(i); return u.trim().stimulsoft.startsWith(" 0) try { for (var j = (u = void 0, __values(L)), H = j.next(); !H.done; H = j.next()) { var G = H.value , Q = N.get(G); null != Q && (Q.stimulsoft.is(r.StiDataSource) && null == this.usedDataSources.get(Q) ? this.usedDataSources.set(Q, Q) : Q.stimulsoft.is(r.StiDataColumn) && null == this.usedColumns.get(Q) ? this.usedColumns.set(Q, Q) : Q.stimulsoft.is(r.StiDataRelation) && null == this.usedRelations.get(Q) && this.usedRelations.set(Q, Q)) } } catch (t) { u = { error: t } } finally { try { H && !H.done && (m = j.return) && m.call(j) } finally { if (u) throw u.error } } } } } catch (t) { n = { error: t } } finally { try { M && !M.done && (l = k.return) && l.call(k) } finally { if (n) throw n.error } } var Y = t.getComponents(); try { for (var U = __values(Y.list), J = U.next(); !J.done; J = U.next()) { var W = J.value , V = W.stimulsoft.as(o); null != V && null != V.dataSource && this.usedDataSources.set(V.dataSource, V.dataSource); var z = W.stimulsoft.as(a); null != z && null != z.dataRelation && this.usedRelations.set(z.dataRelation, z.dataRelation); var X = W.stimulsoft.as(s); if (null != X && null != X.sort) { var Q = "" , K = W.stimulsoft.as(o); null != K && null != K.DataSource && (Q = e.StiNameValidator.correctName(K.DataSource.Name) + "."); var Z = 1; while (Z < X.sort.length) { var q = ""; while (Z < X.sort.length && "ASC" != X.sort[Z] && "DESC" != X.sort[Z]) 0 == q.length ? q = X.sort[Z] : q += "." + X.sort[Z], Z++; Z++, q = e.StiNameValidator.correctName(q); var $ = N.get(Q + q); null != $ && this.usedColumns.set($, $) } } } } catch (t) { p = { error: t } } finally { try { J && !J.done && (h = U.return) && h.call(U) } finally { if (p) throw p.error } } var tt = this.usedColumns.values; try { for (var et = __values(tt), rt = et.next(); !rt.done; rt = et.next()) { var $ = rt.value; null != $.dataSource && (this.usedDataSources.contains($.dataSource) || this.usedDataSources.set($.dataSource, $.dataSource)) } } catch (t) { d = { error: t } } finally { try { rt && !rt.done && (g = et.return) && g.call(et) } finally { if (d) throw d.error } } var it = this.usedRelations.values; try { for (var nt = __values(it), ot = nt.next(); !ot.done; ot = nt.next()) { var z = ot.value; this.usedDataSources.set(z.parentSource, z.parentSource), this.usedDataSources.set(z.childSource, z.childSource) } } catch (t) { f = { error: t } } finally { try { ot && !ot.done && (S = nt.return) && S.call(nt) } finally { if (f) throw f.error } } var at = this.usedDataSources.values; try { for (var st = __values(at), lt = st.next(); !lt.done; lt = st.next()) { var V = lt.value , ut = V.getParentRelations(); try { for (var ct = (w = void 0, __values(ut.list)), mt = ct.next(); !mt.done; mt = ct.next()) { var pt = mt.value; null != this.usedDataSources.get(pt.parentSource) && this.usedRelations.set(pt, pt) } } catch (t) { w = { error: t } } finally { try { mt && !mt.done && (b = ct.return) && b.call(ct) } finally { if (w) throw w.error } } ut = V.getChildRelations(); try { for (var ht = (v = void 0, __values(ut.list)), dt = ht.next(); !dt.done; dt = ht.next()) { var pt = dt.value; null != this.usedDataSources.get(pt.childSource) && this.usedRelations.set(pt, pt) } } catch (t) { v = { error: t } } finally { try { dt && !dt.done && (C = ht.return) && C.call(ht) } finally { if (v) throw v.error } } } } catch (t) { A = { error: t } } finally { try { lt && !lt.done && (y = st.return) && y.call(st) } finally { if (A) throw A.error } } it = this.usedRelations.values; try { for (var gt = __values(it), ft = gt.next(); !ft.done; ft = gt.next()) { var z = ft.value; if (null != z.parentSource) try { for (var St = (T = void 0, __values(z.parentColumns)), At = St.next(); !At.done; At = St.next()) { var q = At.value , $ = z.parentSource.columns.getByName(q); null != $ && this.usedColumns.set($, $) } } catch (t) { T = { error: t } } finally { try { At && !At.done && (I = St.return) && I.call(St) } finally { if (T) throw T.error } } if (null != z.childSource) try { for (var yt = (x = void 0, __values(z.childColumns)), wt = yt.next(); !wt.done; wt = yt.next()) { var q = wt.value , $ = z.childSource.columns.getByName(q); null != $ && this.usedColumns.set($, $) } } catch (t) { x = { error: t } } finally { try { wt && !wt.done && (F = yt.return) && F.call(yt) } finally { if (x) throw x.error } } } } catch (t) { E = { error: t } } finally { try { ft && !ft.done && (B = gt.return) && B.call(gt) } finally { if (E) throw E.error } } } } , t }(); r.StiDataRetrieval = l; var u; !function(t) { t[t.Lexem = 0] = "Lexem", t[t.Find = 1] = "Find" }(u || (u = {})); var c = function() { function t() {} return t.prototype.buildColumns = function(t, r, i) { var n, o; try { for (var a = __values(r.list), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = i + "." + e.StiNameValidator.correctName(l.name); t.set(u, l) } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , t.prototype.buildRelations = function(t, r, i, n) { var o, a; if (r.count > 0) try { for (var s = __values(r.list), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = n + "." + e.StiNameValidator.correctName(u.name); t.set(c, u), this.buildData(t, u.parentSource, i, c, !0), u.name != u.nameInSource && (c = n + "." + e.StiNameValidator.correctName(u.nameInSource), t.set(c, u), t.set(e.StiNameValidator.correctName(u.nameInSource), u), this.buildData(t, u.parentSource, i, c, !0)) } } catch (t) { o = { error: t } } finally { try { l && !l.done && (a = s.return) && a.call(s) } finally { if (o) throw o.error } } } , t.prototype.buildData = function(t, r, i, n, o) { var a = ""; "" != n ? a = n + "." + e.StiNameValidator.correctName(r.name) : "" == n && (a = e.StiNameValidator.correctName(r.name)), this.level++, i.contains(r) || (i.add(r), o ? this.buildRelations(t, r.getParentRelations(), i, n) : this.buildRelations(t, r.getParentRelations(), i, a), i.remove(r)), o ? this.buildColumns(t, r.columns, n) : this.buildColumns(t, r.columns, a), this.level-- } , t.prototype.build = function(t, i) { var n, o, a = i.dataSources, s = new r.StiDataSourcesCollection(null); try { for (var l = __values(a.list), u = l.next(); !u.done; u = l.next()) { var c = u.value , m = e.StiNameValidator.correctName(c.name); t.set(m, c), this.buildData(t, c, s, "", !1) } } catch (t) { n = { error: t } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (n) throw n.error } } } , t }() }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e) { this.dataSource = t, this._row = e } return t.prototype.createDataRow = function(e) { return new t(null != e ? e.dataSource : null,null != e ? e.row : null) } , Object.defineProperty(t.prototype, "row", { get: function() { return this._row }, set: function(t) { this._row = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "dictionary", { get: function() { return this.dataSource.dictionary }, enumerable: !0, configurable: !0 }), t.prototype.getByColumnName = function(t) { if (null == this._row) return null; return this._row.getValueByIndex(this.dataSource.getColumnIndex(t)) } , t.prototype.getParentData = function(e) { if (null == this.row) return null; var r = this.row.getParentRows(e); if (null == r || 0 == r.length) return null; return new t(this.dataSource.getParentDataSource(e),r[0]) } , t }(); t.StiDataRow = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiParser.StiParser , i = t.System.Collections.Hashtable , n = t.Report.Components.StiText , o = t.System.Data.DBNull , a = t.Report.Components.StiGroupSortDirection , s = function() { function t(t, e, r, o) { if (this.rowToConditions = null, this.dataSource = null, this.textComp = null, this.dataSource = o, this.sortColumns = r, this.conditions = e, this.rowToConditions = t, null != this.sortColumns) { var a = 0 , s = 0; while (a < this.sortColumns.length) "ASC" == this.sortColumns[a] && s++, "DESC" == this.sortColumns[a] && s++, a++; this.hashValues = []; for (var l = 0; l < s; l++) this.hashValues[l] = new i } if (null != this.dataSource.dictionary) { var u = this.dataSource.dictionary.report; null != u && (this.textComp = new n, this.textComp.name = "**StiDataSort**", this.textComp.page = u.pages.getByIndex(0)) } } return t.prototype.compare = function(t, e) { return this.compareRows(t, e) } , t.prototype.compareRows = function(t, i) { if (t == i) return 0; var n = t , o = i; if (null != this.rowToConditions && null != this.conditions) for (var s = this.rowToConditions.get(n.recordIndex), l = this.rowToConditions.get(o.recordIndex), u = this.conditions.getStiLength(1), c = 0; c < u; c++) { var m = this.conditions[s][c][0] , p = this.conditions[l][c][0] , h = this.conditions[s][c][1] , d = this.compareValues(m, p, h == a.Ascending); if (0 == d) continue; return d } if (null == this.sortColumns || 0 == this.sortColumns.length) return 0; var g = 0 , f = 0; while (f < this.sortColumns.length) { var S = "ASC" == this.sortColumns[f++] , A = f; while (f < this.sortColumns.length && "ASC" != this.sortColumns[f] && "DESC" != this.sortColumns[f]) f++; var m = this.hashValues[g].get(t) , p = this.hashValues[g].get(i); if (null == m || null == p) { var y = this.dataSource , w = t , b = i , v = this.sortColumns[A]; if (v.stimulsoft.startsWith("{") && v.stimulsoft.endsWith("}")) { var C = this.rowToConditions.get(w.recordIndex) , E = this.rowToConditions.get(b.recordIndex) , B = y.position; y.position = C, m = r.parseTextValue(v, this.textComp), y.position = E, p = r.parseTextValue(v, this.textComp), y.position = B } else { if (f - A > 1) { var T = A; while (T < f - 1) { if (null == (y = y.getParentDataSource(this.sortColumns[T]))) return null; if (null == m) { var I = null != w ? w.getParentRows(this.sortColumns[T]) : null; w = null != I && I.length > 0 ? I[0] : null } if (null == p) { var I = null != b ? b.getParentRows(this.sortColumns[T]) : null; b = null != I && I.length > 0 ? I[0] : null } T++ } } var x = y.getColumnIndex(this.sortColumns[f - 1]); if (-1 != x) null == m && (m = null != w ? w.gett(x) : null, null == this.hashValues[g].get(t) && this.hashValues[g].set(t, m)), null == p && (p = null != b ? b.gett(x) : null, null == this.hashValues[g].get(i) && this.hashValues[g].set(i, p)); else { var F = y.columns.getByName(this.sortColumns[f - 1]) , D = null != F ? F.stimulsoft.as(e.StiCalcDataColumn) : null; if (null != D && null != this.rowToConditions) { if (null == m) { if (null != w) { var s = this.rowToConditions.get(w.recordIndex) , R = y.position; y.position = s, m = r.parseTextValue("{" + D.expression + "}", this.textComp), y.position = R } else m = null; null == this.hashValues[g].get(t) && this.hashValues[g].set(t, m) } if (null == p) { if (null != b) { var l = this.rowToConditions.get(b.recordIndex) , R = y.position; y.position = l, p = r.parseTextValue("{" + D.expression + "}", this.textComp), y.position = R } else p = null; null == this.hashValues[g].get(i) && this.hashValues[g].set(i, p) } } } } } g++; var P = this.compareValues(m, p, S); if (0 == P) continue; return P } return 0 } , t.prototype.compareValues = function(t, e, r) { null == r && (r = !0); var i = 1; if (r || (i = -1), t == o.value && e == o.value) return 0; if (t == o.value) return -1 * i; if (e == o.value) return 1 * i; var n = t , a = e; if (void 0 === n.stimulsoft.compareTo && (n = null), void 0 === a.stimulsoft.compareTo && (a = null), null == n && null == a) return 0; if (null == n) return -1 * i; if (null == a) return 1 * i; if (n != a) { var s = n.stimulsoft.compareTo(a); if (r || (s = -s), 0 != s) return s } return 0 } , t.prototype.clear = function() { this.sortColumns = null, null != this.rowToConditions && (this.rowToConditions.clear(), this.rowToConditions = null), this.conditions = null, this.hashValues = null, this.dataSource = null, this.textComp = null } , t.nullObject = new Object, t }(); e.StiDataSort = s }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Services.StiService , i = t.Base.Localization.StiLocalization , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "serviceCategory", { get: function() { return i.get("Services", "categoryDictionary") }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "serviceType", { get: function() { return e.stimulsoft.getType() }, enumerable: !0, configurable: !0 }), e.prototype.setName = function(t, e, r, i) { t.nameInSource = r.dataSetName + "." + i, t.name = i, t.alias = i } , e }(r); e.StiDataTableSetNameService = n }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.List , i = function() { function t() { this.tables = new r, this.views = new r, this.storedProcedures = new r } return t }(); e.StiDatabaseInformation = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Report.Dictionary.StiDataSource , n = t.System.StiString , o = t.Data.Engine.StiDataConnections , a = t.System.DateTime , s = t.System.TimeSpan , l = t.Report.Dictionary.StiDatabaseCollection , u = t.Report.Dictionary.StiBusinessObjectsCollection , c = t.System.Collections.Hashtable , m = t.System.Data.DataSet , p = t.Base.JsonReportObject.IStiJsonReportObject , h = t.Base.StiJson , d = t.System.ICloneable , g = t.System.Data.DataRelation , f = t.System.StiPromise , S = t.Base.IStiAppDictionary , A = t.Data.Exceptions.StiSystemVariableNotRecognizedException , y = function() { function y(t) { void 0 === t && (t = null), this._cachedUserNamesAndPasswords = null, this._useInternalData = !1, this._restrictions = new r.StiRestrictions, this._dataStore = new r.StiDataCollection, this._variables = new r.StiVariablesCollection, this._resources = new r.StiResourcesCollection, this._report = t, this._dataSources = new r.StiDataSourcesCollection(this), this._relations = new r.StiDataRelationsCollection(this), this._databases = new l(this), this._businessObjects = new u(this,null) } return y.prototype.implements = function() { return [d, S, p] } , y.prototype.saveToJsonObject = function(t) { var e = new h; 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 } , y.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } 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 "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 } } } , y.prototype.clone = function() { return new y } , y.prototype.fetchDataSources = function() { return this.dataSources.toList().cast() } , y.prototype.fetchDataRelations = function() { return this.relations.toList().cast() } , y.prototype.fetchVariables = function() { return this.variables.toList().cast() } , y.prototype.getDataSourceByName = function(t) { if (n.isNullOrWhiteSpace(t)) return null; return this.dataSources.getByName(t) } , y.prototype.getColumnByName = function(t) { return r.StiDataColumn.getDataColumnFromColumnName(this, t, !0) } , y.prototype.getVariableByName = function(t) { if (n.isNullOrWhiteSpace(t)) return null; return t = t.toLowerCase(), this.variables.toList().cast().where(function(t) { return !n.isNullOrWhiteSpace(t.name) }).firstOrDefault(function(e) { return e.name.toLowerCase() == t }) } , y.prototype.getVariableValueByName = function(t) { var e; if (n.isNullOrWhiteSpace(t)) return null; if (null != this.report && null != this.report.getVariable(t)) return this.report.getVariable(t); return null === (e = this.getVariableByName(t)) || void 0 === e ? void 0 : e.getValue() } , y.prototype.isSystemVariable = function(t) { return ["reportname", "reportalias", "reportauthor", "reportdescription", "reportcreated", "reportchanged", "time", "today"].contains(t.toLowerCase()) } , y.prototype.getSystemVariableValue = function(t) { 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 a.now; case "today": return a.today; default: throw new A(t) } } , y.prototype.getApp = function() { return this.report } , y.prototype.openConnections = function(t) { var e, i; null == t && (t = this.databases.toList()), t = t.where(function(t) { return !o.isConnectionActive(t) }); try { for (var n = __values(t), a = n.next(); !a.done; a = n.next()) { var s = a.value , l = this.dataStore.toList(); s && s.invokeConnecting(), r.StiDataLeader.regData(s, this, !0), s && s.invokeConnected(); var u = this.dataStore.toList().except(l).cast().toList(); o.registerConnection(s, u) } } catch (t) { e = { error: t } } finally { try { a && !a.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } return t } , y.prototype.closeConnections = function(t) { var e, r, i = this; null == t && (t = this.databases.toList()); try { for (var n = __values(t), a = n.next(); !a.done; a = n.next()) { var s = a.value; s && s.invokeDisconnecting(); var l = o.unRegisterConnection(s).cast(); if (null == l) continue; this.disconnectingConnectionInDataStore(l), l.forEach(function(t) { i.dataStore.contains(t) && i.dataStore.remove(t) }, this) } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } } , Object.defineProperty(y.prototype, "cachedUserNamesAndPasswords", { get: function() { return this._cachedUserNamesAndPasswords }, set: function(t) { this._cachedUserNamesAndPasswords = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "useInternalData", { get: function() { return this._useInternalData }, set: function(t) { this._useInternalData = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "restrictions", { get: function() { return this._restrictions }, set: function(t) { this._restrictions = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y, "autoSynchronize", { get: function() { return StiOptions.Dictionary.autoSynchronize }, set: function(t) { StiOptions.Dictionary.autoSynchronize = t }, enumerable: !0, configurable: !0 }), y.doAutoSynchronize = function(t) { if (null == t) return; (y.autoSynchronize == r.StiAutoSynchronizeMode.Always || y.autoSynchronize == r.StiAutoSynchronizeMode.IfDictionaryEmpty && 0 == t.dictionary.dataSources.count) && t.dictionary.synchronize() } , Object.defineProperty(y.prototype, "cacheDataSet", { get: function() { return this._cacheDataSet }, set: function(t) { this._cacheDataSet = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "report", { get: function() { return this._report }, set: function(t) { this._report = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "dataStore", { get: function() { return this._dataStore }, set: function(t) { this._dataStore = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "variables", { get: function() { return this._variables }, set: function(t) { this._variables = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "resources", { get: function() { return this._resources }, set: function(t) { this._resources = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "dataSources", { get: function() { return this._dataSources }, set: function(t) { this._dataSources = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "databases", { get: function() { return this._databases }, set: function(t) { this._databases = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "businessObjects", { get: function() { return this._businessObjects }, set: function(t) { this._businessObjects = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "relations", { get: function() { return this._relations }, set: function(t) { this._relations = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "isRequestFromUserVariablesPresent", { get: function() { var t, e; if (null == this.variables) return !1; try { for (var r = __values(this.variables.list), i = r.next(); !i.done; i = r.next()) { if (i.value.requestFromUser) return !0 } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } return !1 }, enumerable: !0, configurable: !0 }), y.prototype.equalsColumns = function(t, e) { var r, i, n, 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 = (n = void 0, __values(e)), m = c.next(); !m.done; m = c.next()) { var p = m.value; if (p.columnName == l.columnName && p.table == l.table) { u = !0; break } } } catch (t) { n = { error: t } } finally { try { m && !m.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } if (!u) return !1 } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return !0 } , y.prototype.createDatabases = function(t) { var e, r; this.dataStore.clearReportDatabase(); try { for (var i = __values(this.databases.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; o.invokeConnecting(), o.regData(this, t), o.invokeConnected() } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , y.prototype.createDatabasesAsync = function(t) { var e = new f , r = this; return setTimeout(function() { var i, n; r.dataStore.clearReportDatabase(); var o = r.databases.count , a = function(i) { i.invokeConnecting(), i.regDataAsync(r, t).try(function() { i.invokeConnected(), 0 == --o && e.callTry() }).abort(e) }; try { for (var s = __values(r.databases.list), l = s.next(); !l.done; l = s.next()) { a(l.value) } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } 0 == r.databases.count && e.callTry() }), e } , y.prototype.removeUnusedData = function() { var t, e, i = new r.StiDataRetrieval; i.retrieval(this.report); var n = 0; while (n < this.relations.count) null == i.usedRelations.get(this.relations.getByIndex(n)) ? this.relations.remove(this.relations.getByIndex(n)) : n++; try { for (var o = __values(this.dataSources.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; n = 0; while (n < s.columns.count) null == i.usedColumns.get(s.columns.getByIndex(n)) ? s.columns.remove(s.columns.getByIndex(n)) : n++ } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } n = 0; while (n < this.dataSources.count) null == i.usedDataSources.get(this.dataSources.getByIndex(n)) ? this.dataSources.remove(this.dataSources.getByIndex(n)) : n++; i.dispose() } , y.prototype.removeUnusedDataSourcesV2 = function() { var t = r.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)) } , y.prototype.retrievalData = function(t, e, i) { var n = t.ref , o = e.ref , a = i.ref , s = new r.StiDataRetrieval; s.retrieval(this.report), n = s.usedRelations, o = s.usedDataSources, a = s.usedColumns, t.ref = n, e.ref = o, i.ref = a } , y.prototype.getUnusedRelationsFromDataStore = function() { var t, e, i, n, o, a, s, l, u = new r.StiDataRelationsCollection(this), c = this.dataSources.toList().where(function(t) { return null != t.stimulsoft.is(r.StiDataTableSource) }).where(function(t) { return null != t.dataTable }); try { for (var m = __values(c), p = m.next(); !p.done; p = m.next()) { var h = p.value; try { for (var d = (i = void 0, __values(h.dataTable.parentRelations.list)), g = d.next(); !g.done; g = d.next()) { var f = g.value; try { for (var S = (o = void 0, __values(c)), A = S.next(); !A.done; A = S.next()) { var y = A.value; if (y.dataTable != f.parentTable) continue; var w = 0; try { for (var b = (s = void 0, __values(this.relations.list)), v = b.next(); !v.done; v = b.next()) { var C = v.value; if (r.StiStrFix.Del_(C.nameInSource) == r.StiStrFix.Del_(f.relationName)) break; w++ } } catch (t) { s = { error: t } } finally { try { v && !v.done && (l = b.return) && l.call(b) } finally { if (s) throw s.error } } if (w == this.relations.count) { var E = new r.StiDataRelation(f.relationName,"","",y,h,f.parentColumns.map(function(t) { return t.columnName }),f.childColumns.map(function(t) { return t.columnName })); r.StiDataRelationSetName.setName(E, this.report, f.dataSet, f.relationName), u.add(E); break } } } catch (t) { o = { error: t } } finally { try { A && !A.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } } } catch (t) { i = { error: t } } finally { try { g && !g.done && (n = d.return) && n.call(d) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { p && !p.done && (e = m.return) && e.call(m) } finally { if (t) throw t.error } } return u } , y.prototype.synchronize2 = function(t) { var e, r; try { for (var i = __values(t.list), n = i.next(); !n.done; n = i.next()) { var o = n.value , a = o.getBusinessObjectData(); null != a && this.synchronizeColumns2(a, o), this.synchronize2(o.businessObjects) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , y.prototype.synchronize = function() { var t, i, n, o, a, s; try { for (var l = __values(this.dataSources.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; c.columns.cachedDataColumns.clear() } } catch (e) { t = { error: e } } finally { try { u && !u.done && (i = l.return) && i.call(l) } finally { if (t) throw t.error } } this.dataSources.cachedDataSources.clear(), this.connect(!1); for (var m = 0; m < this.dataStore.count; m++) { var p = this.dataStore.getByIndex(m).stimulsoft.as(r.StiData); if (null != p.viewData) { var h = null; try { for (var d = (n = void 0, __values(this.dataSources.list)), g = d.next(); !g.done; g = d.next()) { var c = g.value; if (c.stimulsoft.is(r.StiDataStoreSource) && !c.stimulsoft.is(r.StiSqlSource) && c.nameInSource.toLowerCase() == p.name.toLowerCase()) { h = c; break } } } catch (t) { n = { error: t } } finally { try { g && !g.done && (o = d.return) && o.call(d) } finally { if (n) throw n.error } } if (null == h) { var f = r.StiDataAdapterService.getDataAdapter2(p); if (null != f) { var c = f.create(this, !1); c.columns.addRange(r.StiDataLeader.getColumnsFromData(f, p, c)), f.setDataSourceNames(p, c), c.name = e.StiNameCreation.createName(this.report, c.name, !1, !1, !0), this.dataSources.add(c), this.synchronizeColumns(p, c) } } else this.synchronizeColumns(p, h) } } this.connect(!1); var S = this.getUnusedRelationsFromDataStore() , A = function(t) { if (y.relations.toList().firstOrDefault(function(e) { return r.StiStrFix.Del_(t.nameInSource) == r.StiStrFix.Del_(e.nameInSource) })) return "continue"; t.name = y.getRelationName(t), y.relations.add(t) } , y = this; try { for (var w = __values(S.list), b = w.next(); !b.done; b = w.next()) { A(b.value) } } catch (t) { a = { error: t } } finally { try { b && !b.done && (s = w.return) && s.call(w) } finally { if (a) throw a.error } } this.connect(!1) } , y.prototype.synchronizeBusinessObjects = function() { var t, e, i, n; try { for (var o = __values(this.report.businessObjectsStore), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = !1; try { for (var u = (i = void 0, __values(this.businessObjects.list)), c = u.next(); !c.done; c = u.next()) { var m = c.value; if (m.name == s.name) { l = !0, m.alias = s.alias, m.category = s.category, this.synchronizeColumns3(s, m), this.synchronize2(m.businessObjects); break } } } catch (t) { i = { error: t } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (i) throw i.error } } if (!l) { var p = new r.StiBusinessObject(s.category,s.name,s.alias,null); this.businessObjects.add(p), this.synchronizeColumns3(s, p) } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = o.return) && e.call(o) } finally { if (t) throw t.error } } } , y.prototype.synchronizeColumns = function(i, o) { var a, s, l, u, m, p, h, d, g = null; if (null != (g = r.StiDataAdapterService.getDataAdapter2(i))) { var f = void 0; f = r.StiDataLeader.getColumnsFromData(g, i, o); try { for (var S = __values(o.columns.list), A = S.next(); !A.done; A = S.next()) { var y = A.value , w = !1; try { for (var b = (l = void 0, __values(f.list)), v = b.next(); !v.done; v = b.next()) { var C = v.value; y.nameInSource == C.nameInSource && (C.name = y.name, StiOptions.Designer.autoCorrectDataColumnName && (C.name = e.StiNameValidator.correctName(C.name)), C.alias = y.alias, C.nameInSource = y.nameInSource, y.type != t.System.DateTime && y.type != t.System.NullableDateTime || !StiOptions.Dictionary.useNullableDateTime ? y.type != t.System.TimeSpan && y.type != t.System.NullableTimeSpan || !StiOptions.Dictionary.useNullableTimeSpan || (C.type = t.System.NullableTimeSpan) : C.type = t.System.NullableDateTime, w = !0) } } catch (t) { l = { error: t } } finally { try { v && !v.done && (u = b.return) && u.call(b) } finally { if (l) throw l.error } } (!w && StiOptions.Dictionary.columnsSynchronizationMode == r.StiColumnsSynchronizationMode.KeepAbsentColumns || y.stimulsoft.is(r.StiCalcDataColumn)) && f.add(y) } } catch (t) { a = { error: t } } finally { try { A && !A.done && (s = S.return) && s.call(S) } finally { if (a) throw a.error } } for (var E = new c, B = f.count - 1; B >= 0; B--) { var C = f.getByIndex(B) , T = 1 , I = null; while (!0) { if (I = 1 != T ? n.format("{0}{1}", C.name, T) : C.name, null == E.get(I)) { E.set(I, I); break } T++ } C.name = I } var x = new r.StiDataColumnsCollection; try { for (var F = __values(o.columns.list), D = F.next(); !D.done; D = F.next()) { var R = D.value; try { for (var P = (h = void 0, __values(f.list)), N = P.next(); !N.done; N = P.next()) { var C = N.value; if (R.nameInSource == C.nameInSource) { x.add(C), f.remove(C); break } } } catch (t) { h = { error: t } } finally { try { N && !N.done && (d = P.return) && d.call(P) } finally { if (h) throw h.error } } } } catch (t) { m = { error: t } } finally { try { D && !D.done && (p = F.return) && p.call(F) } finally { if (m) throw m.error } } x.addRange(f), o.columns.clear(), o.columns.addRange(x) } } , y.prototype.synchronizeColumnsAsync = function(i, o) { var a = new f , s = null; if (null != (s = r.StiDataAdapterService.getDataAdapter2(i))) { var l = void 0; s.getColumnsFromDataAsync(i, o, "").try(function(i) { var s, l, u, m, p, h, d, g; try { for (var f = __values(o.columns.list), S = f.next(); !S.done; S = f.next()) { var A = S.value , y = !1; try { for (var w = (u = void 0, __values(i.list)), b = w.next(); !b.done; b = w.next()) { var v = b.value; A.nameInSource == v.nameInSource && (v.name = A.name, StiOptions.Designer.autoCorrectDataColumnName && (v.name = e.StiNameValidator.correctName(v.name)), v.alias = A.alias, v.nameInSource = A.nameInSource, A.type != t.System.DateTime && A.type != t.System.NullableDateTime || !StiOptions.Dictionary.useNullableDateTime ? A.type != t.System.TimeSpan && A.type != t.System.NullableTimeSpan || !StiOptions.Dictionary.useNullableTimeSpan || (v.type = t.System.NullableTimeSpan) : v.type = t.System.NullableDateTime, y = !0) } } catch (t) { u = { error: t } } finally { try { b && !b.done && (m = w.return) && m.call(w) } finally { if (u) throw u.error } } (!y && StiOptions.Dictionary.columnsSynchronizationMode == r.StiColumnsSynchronizationMode.KeepAbsentColumns || A.stimulsoft.is(r.StiCalcDataColumn)) && i.add(A) } } catch (t) { s = { error: t } } finally { try { S && !S.done && (l = f.return) && l.call(f) } finally { if (s) throw s.error } } for (var C = new c, E = i.count - 1; E >= 0; E--) { var v = i.getByIndex(E) , B = 1 , T = null; while (!0) { if (T = 1 != B ? n.format("{0}{1}", v.name, B) : v.name, null == C.get(T)) { C.set(T, T); break } B++ } v.name = T } var I = new r.StiDataColumnsCollection; try { for (var x = __values(o.columns.list), F = x.next(); !F.done; F = x.next()) { var D = F.value; try { for (var R = (d = void 0, __values(i.list)), P = R.next(); !P.done; P = R.next()) { var v = P.value; if (D.nameInSource == v.nameInSource) { I.add(v), i.remove(v); break } } } catch (t) { d = { error: t } } finally { try { P && !P.done && (g = R.return) && g.call(R) } finally { if (d) throw d.error } } } } catch (t) { p = { error: t } } finally { try { F && !F.done && (h = x.return) && h.call(x) } finally { if (p) throw p.error } } I.addRange(i), o.columns.clear(), o.columns.addRange(I), a.callTry() }).abort(a) } return a } , y.prototype.synchronizeColumns3 = function(t, e) { this.synchronizeColumns2(t.businessObjectValue, e) } , y.prototype.synchronizeColumns2 = function(t, i) { var o, l, u, m, p = r.StiBusinessObjectHelper.getColumnsFromData(t); try { for (var h = __values(i.columns.list), d = h.next(); !d.done; d = h.next()) { var g = d.value , f = !1; try { for (var S = (u = void 0, __values(p.list)), A = S.next(); !A.done; A = S.next()) { var y = A.value; if (g.nameInSource == y.nameInSource) { y.name = g.name, StiOptions.Designer.autoCorrectDataColumnName && (y.name = e.StiNameValidator.correctName(y.name)), y.alias = g.alias, y.nameInSource = g.nameInSource, g.type == a && StiOptions.Dictionary.useNullableDateTime ? y.type = a : g.type == s && StiOptions.Dictionary.useNullableTimeSpan && (y.type = s), f = !0; break } } } catch (t) { u = { error: t } } finally { try { A && !A.done && (m = S.return) && m.call(S) } finally { if (u) throw u.error } } f || StiOptions.Dictionary.BusinessObjects.columnsSynchronizationMode != r.StiColumnsSynchronizationMode.KeepAbsentColumns || p.add(g) } } catch (t) { o = { error: t } } finally { try { d && !d.done && (l = h.return) && l.call(h) } finally { if (o) throw o.error } } for (var w = new c, b = p.count - 1; b >= 0; b--) { var y = p.getByIndex(b) , v = 1 , C = null; while (!0) { if (C = 1 != v ? n.format("{0}{1}", y.name, v) : y.name, null == w.get(C)) { w.set(C, C); break } v++ } y.name = C } i.columns.clear(), i.columns.addRange(p) } , y.prototype.clear = function() { this._variables.clear(), this._databases.clear(), this._dataSources.clear(), this._relations.clear(), this._dataStore.clearReportDatabase(), this._resources.clear(), this._restrictions.clear() } , y.prototype.disposeCacheDataSet = function() { var t, e; if (null != this.cacheDataSet) { this.cacheDataSet.relations.clear(); try { for (var r = __values(this.cacheDataSet.tables.list), i = r.next(); !i.done; i = r.next()) var n = i.value } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } this.cacheDataSet.tables.clear(), this.cacheDataSet.dispose(), this.cacheDataSet = null } } , y.prototype.renameDatabase = function(t, e) { if (t.name == e) return; for (var i = t.name + ".", n = e + ".", o = 0; o < this.dataSources.count; o++) { var a = this.dataSources.getByIndex(o).stimulsoft.as(r.StiDataTableSource); null != a && (a.nameInSource.stimulsoft.startsWith(i) ? a.nameInSource = a.nameInSource.stimulsoft.replaceAll(i, n) : a.nameInSource == t.name && (a.nameInSource = e)) } t.name = e } , y.prototype.connectToDatabasesAsync = function(t, e) { var i, n; void 0 === t && (t = null), void 0 === e && (e = !0); var o = new f; null == t && (t = this.databases.toList()), this.dataStore.clearReportDatabase(); var a = t.length , s = function(t) { t.invokeConnecting(), r.StiDataLeader.regDataAsync(t, l, e).try(function() { a--, t.invokeConnected() }), 0 == a && o.callTry() } , l = this; try { for (var u = __values(t), c = u.next(); !c.done; c = u.next()) { s(c.value) } } catch (t) { i = { error: t } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (i) throw i.error } } return 0 == a && o.callTry(), o } , y.prototype.connectAsync = function(e, i) { void 0 === e && (e = !0), void 0 === i && (i = null); var n = new f , o = this; try { var a = function() { o.businessObjects.connect(), e && o.regRelations2(), n.callTry() }; null != o.cacheDataSet && o.cacheDataSet.dispose(), o.cacheDataSet = new m("CacheDataSet"), o.createDatabasesAsync(e).try(function() { var s, l; if (null != i && i.length > 0) { var u = 0; try { for (var c = __values(i), m = c.next(); !m.done; m = c.next()) { var p = m.value; u++, r.StiDataLeader.connectAsync(p, null, e).try(function() { 0 == --u && a() }).catch(function(t) { n.callCatch(t) }).abort(n) } } catch (t) { s = { error: t } } finally { try { m && !m.done && (l = c.return) && l.call(c) } finally { if (s) throw s.error } } } else if (o.report.retrieveOnlyUsedData && e) { for (var h = r.StiDataSourceHelper.getUsedDataSourcesNames(o.report), d = !1, g = 0; g < o.dataSources.count; g++) { var f = o.dataSources.getByIndex(g); h.containsKey(f.name) && (d = !0, r.StiDataLeader.connectAsync(f, null, !0).try(function() { try { a() } catch (e) { t.System.StiError.showError(e, !1), n.callCatch(e) } }).catch(function(t) { n.callCatch(t) }).abort(n)) } d || a() } else o.dataSources.connectAsync(e).try(function() { try { a() } catch (e) { t.System.StiError.showError(e, !1), n.callCatch(e) } }).catch(function(t) { n.callCatch(t) }).abort(n) }).abort(n) } catch (t) { n.callCatch(t.message) } return n } , y.prototype.connect = function(t, e) { if (void 0 === t && (t = !0), void 0 === e && (e = null), null != this.cacheDataSet && this.cacheDataSet.dispose(), this.cacheDataSet = new m("CacheDataSet"), this.createDatabases(t), null != e) e.forEach(function(e) { return r.StiDataLeader.connect(e, null, t) }); else if (this.report.retrieveOnlyUsedData && t) for (var i = r.StiDataSourceHelper.getUsedDataSourcesNames(this.report), n = 0; n < this.dataSources.count; n++) { var o = this.dataSources.getByIndex(n); i.containsKey(o.name) && r.StiDataLeader.connect(o, null, !0) } else this.dataSources.connect(t); this.businessObjects.connect(), t && this.regRelations2() } , y.prototype.connectVirtualDataSourcesAsync = function() { var t, e, i = new f, n = new c, o = 0, a = !0; while (a) { a = !1; try { for (var s = (t = void 0, __values(this.dataSources.fetchAllVirtualDataSources())), l = s.next(); !l.done; l = s.next()) { var u = l.value , m = this.report.dictionary.dataSources.getByName(u.nameInSource); if (null == m || m.name == u.name) { n.set(u, u); continue } if (m.stimulsoft.is(r.StiVirtualSource) && null == n.get(m)) { a = !0; continue } n.set(u, u), o++, u.connectToDataAsync().try(function() { 0 == --o && i.callTry() }) } } catch (e) { t = { error: e } } finally { try { l && !l.done && (e = s.return) && e.call(s) } finally { if (t) throw t.error } } } return 0 == o && i.callTry(), i } , y.prototype.connectDataTransformationsAsync = function() { var t = new f , e = 0; return this.dataSources.fetchAllDataTransformations().forEach(function(r) { e++, r.connectToDataAsync().try(function() { 0 == --e && t.callTry() }) }), 0 == e && t.callTry(), t } , y.prototype.connectCrossTabDataSources = function() {} , y.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()), o.unRegisterConnections(this.databases.toList().cast()) } , y.prototype.disconnectingDatabases = function(t) { var e, r; try { for (var i = __values(t), n = i.next(); !n.done; n = i.next()) { n.value.invokeDisconnecting() } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , y.prototype.disconnectedDatabases = function(t) { var e, r; try { for (var i = __values(t), n = i.next(); !n.done; n = i.next()) { n.value.invokeDisconnected() } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , y.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 i = __values(t), n = i.next(); !n.done; n = i.next()) var o = n.value } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , y.prototype.checkRelation = function(t, e, r, i) { var n = t.relations.getByName(e) ? t.relations.getByName(e) : t.relations.getByName(e.trim()); if (null != n) { if (this.equalsRelationColumns(r, n.parentColumns) && this.equalsRelationColumns(i, n.childColumns)) return !0; t.relations.remove(n) } var o = 0; while (o < t.relations.count) n = t.relations.getByIndex(o), this.equalsRelationColumns(n.parentColumns, r) && this.equalsRelationColumns(n.childColumns, i) ? t.relations.removeAt(o) : o++; return !1 } , y.prototype.equalsRelationColumns = function(t, e) { var r, i, n, o; try { for (var a = __values(t), s = a.next(); !s.done; s = a.next()) { var l = s.value; try { for (var u = (n = void 0, __values(e)), c = u.next(); !c.done; c = u.next()) { var m = c.value , p = m.columnName == l.columnName && m.table == l.table; if (p) return p } } catch (t) { n = { error: t } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (n) throw n.error } } } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return !1 } , y.prototype.getRelationName = function(t) { var e, n, o, a, s, l, u = !0, c = 2, m = t.name, p = m; try { for (var h = __values(t.childSource.columns.list), d = h.next(); !d.done; d = h.next()) { if (d.value.name == p) { m = p = "Parent" + p; break } } } catch (t) { e = { error: t } } finally { try { d && !d.done && (n = h.return) && n.call(h) } finally { if (e) throw e.error } } while (u) { u = !1; try { for (var g = (o = void 0, __values(this.relations.list)), f = g.next(); !f.done; f = g.next()) { var S = f.value , A = S.stimulsoft.as(r.StiDataRelation); if (A.childSource == t.childSource && A != t && A.name == p) { var y = c++; p = m + "_" + y.toString(), u = !0; break } } } catch (t) { o = { error: t } } finally { try { f && !f.done && (a = g.return) && a.call(g) } finally { if (o) throw o.error } } } u = !0; while (u) { u = !1; try { for (var w = (s = void 0, __values(this.dataSources.list)), b = w.next(); !b.done; b = w.next()) { if ("Parent" + b.value.stimulsoft.as(i).name == p) { var y = c++; p = m + "_" + y.toString(), u = !0; break } } } catch (t) { s = { error: t } } finally { try { b && !b.done && (l = w.return) && l.call(w) } finally { if (s) throw s.error } } } return p } , y.prototype.regRelations2 = function(t) { var e, r; void 0 === t && (t = !1); try { for (var i = __values(this.relations.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; this.regRelation(o, t) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , y.prototype.regRelation = function(e, i) { var o, a, s, l; try { var u = null , c = null; null != e.parentSource && (u = e.parentSource), null != e.childSource && (c = e.childSource); var m = null != u && u.stimulsoft.is(r.StiVirtualSource) || null != c && c.stimulsoft.is(r.StiVirtualSource); if (!i && m) return; if (i && !m) return; if (!this.report.isDesigning && null == u) throw n.format("Please, check relation '{0}'. " + "Report engine can't find parent Data Source!", e.name); if (null == c) throw n.format("Please, check relation '{0}'. " + "Report engine can't find child Data Source!", e.name); if (null == u.dataTable) return; if (null == c.dataTable) return; if (!this.report.isDesigning && null == u.dataTable.dataSet) throw n.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.", u.name, e.name); if (null == c.dataTable.dataSet) throw n.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.", c.name, e.name); if (!this.report.isDesigning && u.dataTable.dataSet != c.dataTable.dataSet) throw n.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.", u.name, c.name, e.name); if (!this.report.isDesigning && 0 == e.parentColumns.length) throw n.format("Parent columns is specified in " + "in relation '{0}'! Relation can't be created!", e.name); if (0 == e.childColumns.length) throw n.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 n.format("Count of parent columns is not equal to " + "count of child columns in relation '{0}'! Relation can't be created!", e.name); var p = [] , h = 0; try { for (var d = __values(e.parentColumns), f = d.next(); !f.done; f = d.next()) { var S = f.value; if (null == u.dataTable.columns.getByName(S)) throw n.format("Column '{0}' does not exist in " + "Data Source '{1}' and relation '{2}' can't be created!", S, u.name, e.name); p[h] = u.dataTable.columns.getByName(S), h++ } } catch (t) { o = { error: t } } finally { try { f && !f.done && (a = d.return) && a.call(d) } finally { if (o) throw o.error } } var A = []; h = 0; try { for (var y = __values(e.childColumns), w = y.next(); !w.done; w = y.next()) { var S = w.value; if (null == c.dataTable.columns.getByName(S)) throw n.format("Column '{0}' does not exist in " + "Data Source '{1}' and relation '{2}' can't be created!", S, c.name, e.name); A[h] = c.dataTable.columns.getByName(S), h++ } } catch (t) { s = { error: t } } finally { try { w && !w.done && (l = y.return) && l.call(y) } finally { if (s) throw s.error } } var b = u.dataTable.dataSet; p.length > 0 && A.length > 0 && (this.checkRelation(b, e.nameInSource, p, A) || (b.enforceConstraints = !1, b.relations.add(new g(e.nameInSource,p,A)))) } catch (e) { if (t.System.StiError.showError(e, !1), !StiOptions.Dictionary.hideRelationExceptions && !this.report.isDesigning) throw e } } , y }(); r.StiDictionary = y }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.Report.Components.StiGroupSortDirection , n = t.System.DateTime , o = t.System.TimeSpan , a = function() { function t(t, e, r, i) { this.groupHeaders = null, this.groupSummaries = t, this.groupLines = e, this.groupHeaders = r, this.baseRowOrder = i } return t.prototype.compare = function(t, e) { var n, o; if (t == e) return 0; try { for (var a = __values(this.groupHeaders.toCast()), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.summarySortDirection == i.None) continue; var u = l.summarySortDirection == i.Ascending ? 1 : -1 , c = this.groupSummaries.get(l).stimulsoft.as(r) , m = this.groupLines.get(l).stimulsoft.as(r) , p = c.get(t) , h = c.get(e) , d = this.compareValues(p, h); if (0 != d) return d * u; var g = m.get(t) , f = m.get(e); if (0 != (d = g.stimulsoft.compareTo(f))) return d * u } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } var S = this.baseRowOrder.get(t) , A = this.baseRowOrder.get(e); return S.stimulsoft.compareTo(A) } , t.prototype.compareValues = function(t, e) { if (t.stimulsoft.is(Number) || e.stimulsoft.is(Number)) return (+t).stimulsoft.compareTo(+e); if (t.stimulsoft.is(n) || e.stimulsoft.is(n)) return t.stimulsoft.as(n).compareTo(e.stimulsoft.as(n)); if (t.stimulsoft.is(o) || e.stimulsoft.is(o)) return t.stimulsoft.as(o).compareTo(e.stimulsoft.as(o)); return 0 } , t.prototype.clear = function() { this.groupSummaries.clear(), this.groupSummaries = null, this.groupLines.clear(), this.groupLines = null, this.groupHeaders = null, this.baseRowOrder.clear(), this.baseRowOrder = null } , t }(); e.StiGroupSummaryDataSort = a }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.System.Type , n = t.System.Data.DBNull , o = function() { function t(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 = "") } return t.prototype.compare = function(t, e) { return 0 } , t.prototype.getParentValue = function(t) { if (t.stimulsoft.is(i) && (t = null), null == t) return ""; if (t == n.value) return ""; var e = t.toString(); if (0 == e.trim().length) return ""; return e } , t.prototype.process = function() { var t = new r; this.createTree(t), this.setLevelAndSort(t, this.parentValue, 0); var e = []; this.createRowList(t, e, this.parentValue), this.businessObject.enumerator = null } , t.prototype.createTree = function(t) { this.businessObject.enumerator.reset() } , t.prototype.setLevelAndSort = function(t, r, i) { var n = t.get(this.getParentValue(r)).stimulsoft.as(Array); if (null != n) { var o = new e.StiBusinessObjectSort(this.businessObject.ownerBand.sort,this.businessObject,null,null); n.Sort(o), o.clear() } } , t.prototype.createRowList = function(t, e, r) { var i, n, 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.add(l) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } , t }(); e.StiHierarchicalBusinessObjectSort = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.System.Data.DBNull , n = t.System.Data.DataRow , o = function() { function o(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 = "") } return o.prototype.compare = function(r, i) { try { if (r == i) return 0; var o = r.stimulsoft.as(n) , a = i.stimulsoft.as(n) , s = o.gett(this.keyColumn) , l = a.gett(this.keyColumn); return new e.StiDataSort(null,null,null,null).compareValues(s, l) } catch (e) { return t.System.StiError.showError(e.message, !1), 0 } } , o.prototype.getParentValue = function(t) { if (null == t) return ""; if (t == i) return ""; var e = t.toString(); if (0 == e.trim().length) return ""; return e } , o.prototype.process = function(t) { if (null == this.dataSource.detailRows) return; var e = new r; this.createTree(e), this.dataSource.rowToLevel = new r, this.setLevelAndSort(t, e, this.parentValue, 0); var i = []; this.createRowList(e, i, this.parentValue), this.dataSource.detailRows = Array.create(n, i.length), i.copyTo(this.dataSource.detailRows) } , o.prototype.createTree = function(t) { var e, r; try { for (var i = __values(this.dataSource.detailRows), n = i.next(); !n.done; n = i.next()) { var o = n.value , a = o.gett(this.masterKeyColumn); a = this.getParentValue(a); var s = t.get(a); null == s && (s = [], t.set(a, s)), s.add(o) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , o.prototype.setLevelAndSort = function(t, r, i, n) { var o, a, s, l, u, c, m = r.get(this.getParentValue(i)); if (null != m) { try { for (var p = __values(m), h = p.next(); !h.done; h = p.next()) { var d = h.value; this.dataSource.rowToLevel.set(d, n); var g = d.gett(this.keyColumn); this.setLevelAndSort(t.clone(), r, g, n + 1) } } catch (t) { o = { error: t } } finally { try { h && !h.done && (a = p.return) && a.call(p) } finally { if (o) throw o.error } } var f = new e.StiDataSort(t,null,this.sortColumns,this.dataSource) , S = []; try { for (var A = __values(m), y = A.next(); !y.done; y = A.next()) { var d = y.value; S.add(d) } } catch (t) { s = { error: t } } finally { try { y && !y.done && (l = A.return) && l.call(A) } finally { if (s) throw s.error } } S.sort2(f), m.clear(); try { for (var w = __values(S), b = w.next(); !b.done; b = w.next()) { var d = b.value; m.add(d) } } catch (t) { u = { error: t } } finally { try { b && !b.done && (c = w.return) && c.call(w) } finally { if (u) throw u.error } } f.clear() } } , o.prototype.createRowList = function(t, e, r) { var i, n, 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.add(l); var u = l.gett(this.keyColumn); this.createRowList(t, e, u) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } , o }(); e.StiHierarchicalDataSort = o }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.Base.StiJsonSaveMode , n = t.System.Collections.CollectionBase , o = t.System.Collections.IComparer , a = t.Base.StiJson , s = function(t) { function n() { var e = null !== t && t.apply(this, arguments) || this; return e.directionFactor = 1, e } return __extends(n, t), n.prototype.implements = function() { return [o, r] } , n.prototype.clone = function() { var t, e, r = new n; try { for (var i = __values(this.list), o = i.next(); !o.done; o = i.next()) { var a = o.value; r.add(a.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 } , n.prototype.saveToJsonObject = function(t) { var e, r; if (0 == this.list.length) return null; var n = new a , o = 0; try { for (var s = __values(this.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; n.addPropertyJObject(o.toString(), u.saveToJsonObject(i.Report)), o++ } } catch (t) { e = { error: t } } finally { try { l && !l.done && (r = s.return) && r.call(s) } finally { if (e) throw e.error } } return n } , n.prototype.loadFromJsonObject = function(t, r) { var i, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = new e.StiResource; l.loadFromJsonObject(s.value), this.list.add(l) } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , n.prototype.loadFromXml = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; if ("value" == i.nodeName) { var n = new e.StiResource; n.loadFromXml(i), this.list.add(n) } } } , n.prototype.compare = function(t, e) { var r = t , i = e; return StiOptions.Designer.sortDictionaryByAliases ? r.alias.stimulsoft.compareTo(i.alias) * this.directionFactor : r.name.stimulsoft.compareTo(i.name) * this.directionFactor } , n.prototype.sort = function(t) { void 0 === t && (t = e.StiSortOrder.Asc), t == e.StiSortOrder.Asc ? this.directionFactor = 1 : this.directionFactor = -1, this.list.sort2(this) } , n.prototype.getByName = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name.toLowerCase() == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , n.prototype.getByAlias = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.alias.toLowerCase() == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , n.prototype.setByName = function(t, e) { t = t.toLowerCase(); for (var r = 0; r < this.list.length; r++) { if (this.getByIndex(r).name.toLowerCase() == t) return void (this.list[r] = e) } this.add(e) } , n }(n); e.StiResourcesCollection = s }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function t() {} return t.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) } , t.prototype.getHashtable = function(t, i) { switch (t) { case e.StiDataType.Database: return null == this.restrictionsDatabase && i && (this.restrictionsDatabase = new r), this.restrictionsDatabase; case e.StiDataType.DataColumn: return null == this.restrictionsDataColumn && i && (this.restrictionsDataColumn = new r), this.restrictionsDataColumn; case e.StiDataType.DataRelation: return null == this.restrictionsDataRelation && i && (this.restrictionsDataRelation = new r), this.restrictionsDataRelation; case e.StiDataType.DataSource: return null == this.restrictionsDataSource && i && (this.restrictionsDataSource = new r), this.restrictionsDataSource; case e.StiDataType.BusinessObject: return null == this.restrictionsBusinessObject && i && (this.restrictionsBusinessObject = new r), this.restrictionsBusinessObject; case e.StiDataType.Total: return null == this.restrictionsTotal && i && (this.restrictionsTotal = new r), this.restrictionsTotal; default: return null == this.restrictionsVariable && i && (this.restrictionsVariable = new r), this.restrictionsVariable } } , t.prototype.add = function(t, e, r) { var i = this.getHashtable(e, !0) , n = i.get(t).stimulsoft.as(Array); null == n && (n = new Array, i.set(t, n)), n.add(r) } , t.prototype.isAllowEdit = function(t, r) { var i, n, o = this.getHashtable(r, !1); if (null == o || null == o.get(t)) return !0; var a = o.get(t).stimulsoft.as(Array); if (null != a) try { for (var s = __values(a), l = s.next(); !l.done; l = s.next()) { if (0 != (l.value & e.StiRestrictionTypes.DenyEdit)) return !1 } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return !0 } , t.prototype.isAllowDelete = function(t, r) { var i, n, o = this.getHashtable(r, !1); if (null == o || null == o.get(t)) return !0; var a = o.get(t).stimulsoft.as(Array); if (null != a) try { for (var s = __values(a), l = s.next(); !l.done; l = s.next()) { if (0 != (l.value & e.StiRestrictionTypes.DenyDelete)) return !1 } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return !0 } , t.prototype.isAllowShow = function(t, r) { var i, n, o = this.getHashtable(r, !1); if (null == o || null == o.get(t)) return !0; var a = o.get(t).stimulsoft.as(Array); if (null != a) try { for (var s = __values(a), l = s.next(); !l.done; l = s.next()) { if (0 != (l.value & e.StiRestrictionTypes.DenyShow)) return !1 } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return !0 } , t.prototype.isAllowMove = function(t, r) { var i, n, o = this.getHashtable(r, !1); if (null == o || null == o.get(t)) return !0; var a = o.get(t).stimulsoft.as(Array); if (null != a) try { for (var s = __values(a), l = s.next(); !l.done; l = s.next()) { if (0 != (l.value & e.StiRestrictionTypes.DenyMove)) return !1 } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return !0 } , t }(); e.StiRestrictions = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e) { this.dataSource = t, this.rowIndex = e } return t.prototype.getByName = function(t) { return this.dataSource.getData(t, this.rowIndex) } , t }(); t.StiRow = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(t) { this.dataSource = null, this.dataSource = t } return e.prototype.getEnumerator = function() { return this } , Object.defineProperty(e.prototype, "current", { get: function() { return new t.StiRow(this.dataSource,this.dataSource.position) }, enumerable: !0, configurable: !0 }), e.prototype.moveNext = function() { return this.dataSource.next(), !this.dataSource.isEof } , e.prototype.reset = function() { this.dataSource.first() } , e.prototype.getbyIndex = function(e) { return new t.StiRow(this.dataSource,e) } , Object.defineProperty(e.prototype, "count", { get: function() { return this.dataSource.count }, enumerable: !0, configurable: !0 }), e }(); t.StiRowsCollection = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function() { function t() {} return t.Del_ = function(t) { return r.isNullOrWhiteSpace(t) ? t : t.stimulsoft.replaceAll("_", "") } , t }(); e.StiStrFix = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Localization.StiLocalization , i = function() { function t() {} return t.getSystemVariableInfo = function(t) { return r.get("SystemVariables", t) } , t.getSystemVariables = function(t) { if (null != t) return this.getSystemVariablesV2(); return [] } , t.getSystemVariablesV2 = function() { return null == t.systemVariablesV2 && (t.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"]), t.systemVariablesV2 } , t }(); e.StiSystemVariablesHelper = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.StiTypeWrapper , i = function() { function i(t, e) { this._name = "", this._name = t, this._type = e } return Object.defineProperty(i.prototype, "name", { get: function() { return this._name }, set: function(t) { this._name = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "type", { get: function() { return this._type }, set: function(t) { this._type = t }, enumerable: !0, configurable: !0 }), i.getTypes = function() { var t, n, o = new e.StiTypesCollection; try { for (var a = __values(r.simpleTypes), s = a.next(); !s.done; s = a.next()) { var l = s.value; o.add(new i(r.toString(l),l)) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (t) throw t.error } } return o } , i.getBaseTypes = function() { var t, n, o = new e.StiTypesCollection; try { for (var a = __values(r.simpleBaseTypes), s = a.next(); !s.done; s = a.next()) { var l = s.value; o.add(new i(r.toString(l),l)) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (t) throw t.error } } return o } , i.getTypeModeFromType = function(r, i) { if (i.ref = e.StiTypeMode.Value, null == r) return r; if (r == String) return r; if (r == Boolean) return r; if (r == t.System.Byte) return r; if (r == t.System.SByte) return r; if (r == t.System.UInt16) return r; if (r == t.System.UShort) return r; if (r == t.System.Int16) return r; if (r == t.System.Short) return r; if (r == t.System.UInt) return r; if (r == t.System.Int) return r; if (r == t.System.Int32) return r; if (r == t.System.UInt64) return r; if (r == t.System.ULong) return r; if (r == t.System.Int64) return r; if (r == t.System.Long) return r; if (r == t.System.Single) return r; if (r == t.System.Double) return r; if (r == t.System.Decimal) return r; if (r == t.System.Char) return r; if (r == t.System.TimeSpan) return r; if (r == t.System.DateTime) return r; if (r == t.System.Guid) return r; if (r == t.System.Drawing.Image) return r; if (r == Object) return r; if (i.ref = e.StiTypeMode.NullableValue, r == t.System.NullableBoolean) return Boolean; if (r == t.System.NullableByte) return t.System.Byte; if (r == t.System.NullableSByte) return t.System.SByte; if (r == t.System.NullableUInt16) return t.System.UInt16; if (r == t.System.NullableUShort) return t.System.UShort; if (r == t.System.NullableInt16) return t.System.Int16; if (r == t.System.NullableShort) return t.System.Short; if (r == t.System.NullableUInt) return t.System.UInt; if (r == t.System.NullableInt) return t.System.Int; if (r == t.System.NullableInt32) return t.System.Int32; if (r == t.System.NullableUInt32) return t.System.UInt32; if (r == t.System.NullableUInt64) return t.System.UInt64; if (r == t.System.NullableULong) return t.System.ULong; if (r == t.System.NullableInt64) return t.System.Int64; if (r == t.System.NullableLong) return t.System.Long; if (r == t.System.NullableSingle) return t.System.Single; if (r == t.System.NullableDouble) return t.System.Double; if (r == t.System.NullableDecimal) return t.System.Decimal; if (r == t.System.NullableChar) return t.System.Char; if (r == t.System.NullableTimeSpan) return t.System.TimeSpan; if (r == t.System.NullableDateTime) return t.System.DateTime; if (r == t.System.NullableGuid) return t.System.Guid; if (i.ref = e.StiTypeMode.List, r == t.System.StimulsoftStringList) return String; if (r == t.System.StimulsoftBoolList) return Boolean; if (r == t.System.StimulsoftByteList) return t.System.Byte; if (r == t.System.StimulsoftShortList) return t.System.Short; if (r == t.System.StimulsoftIntList) return t.System.Int; if (r == t.System.StimulsoftLongList) return t.System.Long; if (r == t.System.StimulsoftFloatList) return t.System.Single; if (r == t.System.StimulsoftDoubleList) return t.System.Double; if (r == t.System.StimulsoftDecimalList) return t.System.Decimal; if (r == t.System.StimulsoftCharList) return t.System.Char; if (r == t.System.StimulsoftTimeSpanList) return t.System.TimeSpan; if (r == t.System.StimulsoftDateTimeList) return t.System.DateTime; if (r == t.System.StimulsoftGuidList) return t.System.Guid; if (i.ref = e.StiTypeMode.Range, r == t.System.StimulsoftStringRange) return String; if (r == t.System.StimulsoftByteRange) return t.System.Byte; if (r == t.System.StimulsoftShortRange) return t.System.Short; if (r == t.System.StimulsoftIntRange) return t.System.Int; if (r == t.System.StimulsoftLongRange) return t.System.Long; if (r == t.System.StimulsoftFloatRange) return t.System.Single; if (r == t.System.StimulsoftDoubleRange) return t.System.Double; if (r == t.System.StimulsoftDecimalRange) return t.System.Decimal; if (r == t.System.StimulsoftCharRange) return t.System.Char; if (r == t.System.StimulsoftTimeSpanRange) return t.System.TimeSpan; if (r == t.System.StimulsoftDateTimeRange) return t.System.DateTime; if (r == t.System.StimulsoftGuidRange) return t.System.Guid; if (r == t.Report.StringRange) return String; if (r == t.Report.ByteRange) return t.System.Byte; if (r == t.Report.ShortRange) return t.System.Short; if (r == t.Report.IntRange) return t.System.Int; if (r == t.Report.LongRange) return t.System.Long; if (r == t.Report.FloatRange) return t.System.Single; if (r == t.Report.DoubleRange) return t.System.Double; if (r == t.Report.DecimalRange) return t.System.Decimal; if (r == t.Report.CharRange) return t.System.Char; if (r == t.Report.TimeSpanRange) return t.System.TimeSpan; if (r == t.Report.DateTimeRange) return t.System.DateTime; if (r == t.Report.GuidRange) return t.System.Guid; return i.ref = e.StiTypeMode.Value, r } , i.getTypeFromTypeMode = function(r, i) { if (null == r) return null; switch (i) { case e.StiTypeMode.Value: return r; case e.StiTypeMode.NullableValue: if (r == Boolean) return t.System.NullableBoolean; if (r == t.System.Byte) return t.System.NullableByte; if (r == t.System.SByte) return t.System.NullableSByte; if (r == t.System.UInt16) return t.System.NullableUInt16; if (r == t.System.Int16) return t.System.NullableInt16; if (r == t.System.UInt32) return t.System.NullableUInt32; if (r == t.System.Int32) return t.System.NullableInt32; if (r == t.System.UInt64) return t.System.NullableUInt64; if (r == t.System.Int64) return t.System.NullableInt64; if (r == t.System.Single) return t.System.NullableSingle; if (r == t.System.Double) return t.System.NullableDouble; if (r == t.System.Decimal) return t.System.NullableDecimal; if (r == t.System.Char) return t.System.NullableChar; if (r == t.System.TimeSpan) return t.System.NullableTimeSpan; if (r == t.System.DateTime) return t.System.NullableDateTime; if (r == t.System.Guid) return t.System.NullableGuid; break; case e.StiTypeMode.List: if (r == String) return t.System.StimulsoftStringList; if (r == Boolean) return t.System.StimulsoftBoolList; if (r == t.System.Byte) return t.System.StimulsoftByteList; if (r == t.System.Int16) return t.System.StimulsoftShortList; if (r == t.System.Int32) return t.System.StimulsoftIntList; if (r == t.System.Int64) return t.System.StimulsoftLongList; if (r == t.System.Single) return t.System.StimulsoftFloatList; if (r == t.System.Double) return t.System.StimulsoftDoubleList; if (r == t.System.Decimal) return t.System.StimulsoftDecimalList; if (r == t.System.Char) return t.System.StimulsoftCharList; if (r == t.System.TimeSpan) return t.System.StimulsoftTimeSpanList; if (r == t.System.DateTime) return t.System.StimulsoftDateTimeList; if (r == t.System.Guid) return t.System.StimulsoftGuidList; break; case e.StiTypeMode.Range: if (r == String) return t.System.StimulsoftStringRange; if (r == t.System.Byte) return t.System.StimulsoftByteRange; if (r == t.System.Int16) return t.System.StimulsoftShortRange; if (r == t.System.Int32) return t.System.StimulsoftIntRange; if (r == t.System.Int64) return t.System.StimulsoftLongRange; if (r == t.System.Single) return t.System.StimulsoftFloatRange; if (r == t.System.Double) return t.System.StimulsoftDoubleRange; if (r == t.System.Decimal) return t.System.StimulsoftDecimalRange; if (r == t.System.Char) return t.System.StimulsoftCharRange; if (r == t.System.TimeSpan) return t.System.StimulsoftTimeSpanRange; if (r == t.System.DateTime) return t.System.StimulsoftDateTimeRange; if (r == t.System.Guid) return t.System.StimulsoftGuidRange; break } return r } , i.prototype.toString = function() { return this._name } , i }(); e.StiType = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.CollectionBase , i = function(t) { function r() { return null !== t && t.apply(this, arguments) || this } return __extends(r, t), r.prototype.getByName = function(t) { var e, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , r.prototype.setByName = function(t, e) { for (var r = 0; r < this.list.length; r++) { if (this.getByIndex(r).name == t) return void (this.list[r] = e) } this.add(e) } , r.prototype.get = function(t) { var e, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.type == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , r.prototype.set = function(t, e) { var r, i, n = 0; try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { a.value.type == t && (this.list[n] = e), n++ } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , r.prototype.regType = function(t, r) { this.add(new e.StiType(t,r)) } , r }(r); e.StiTypesCollection = i }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e) { this._userName = t, this._password = e } return Object.defineProperty(t.prototype, "userName", { get: function() { return this._userName }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "password", { get: function() { return this._password }, enumerable: !0, configurable: !0 }), t }(); t.StiUserNameAndPassword = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.StiVariableAsParameterHelper = e }(e = t.Dictionary || (t.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.JsonReportObject.IStiJsonReportObject , i = t.System.Collections.CollectionBase , n = t.System.ICloneable , o = t.System.Collections.IComparer , a = t.Base.StiJson , s = function(t) { function i() { var e = null !== t && t.apply(this, arguments) || this; return e.directionFactor = 1, e } return __extends(i, t), i.prototype.implements = function() { return [o, n, r] } , i.prototype.saveToJsonObject = function(t) { var e, r; if (0 == this.list.length) return null; var i = new a , n = 0; try { for (var o = __values(this.list), s = o.next(); !s.done; s = o.next()) { var l = s.value; i.addPropertyJObject(n.toString(), l.saveToJsonObject()), n++ } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } return i } , i.prototype.loadFromJsonObject = function(t, r) { var i, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = new e.StiVariable; l.loadFromJsonObject(s.value, r), this.list.add(l) } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , i.prototype.loadFromXml = function(t, r) { for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; if ("value" == n.nodeName) { var o = e.StiVariable.loadFromXml(n, r); this.list.add(o) } } } , i.prototype.compare = function(t, e) { var r = t , i = e , n = r.category.stimulsoft.compareTo(i.category) * this.directionFactor; return 0 == n ? r.name.stimulsoft.compareTo(i.name) * this.directionFactor : n } , i.prototype.sort = function(t) { void 0 === t && (t = e.StiSortOrder.Asc), t == e.StiSortOrder.Asc ? this.directionFactor = 1 : this.directionFactor = -1, this.list.sort() } , i.prototype.add = function(t) { t.name.length > 0 && this.contains(t.name) && this.remove(t.name), this.list.add(t) } , i.prototype.addRange = function(t) { var e, r; try { for (var i = __values(t.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; this.add(o) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , i.prototype.contains = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { if (n.value.name.toLowerCase() == t) return !0 } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return !1 } , i.prototype.containsCategory = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { if (n.value.category.toLowerCase() == t) return !0 } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return !1 } , i.prototype.indexOf = function(t) { var r, i; if (t.stimulsoft.is(e.StiVariable)) return this.list.indexOf(t); var n = t; n = n.toLowerCase(); var o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { if (s.value.name.toLowerCase() == n) return o; o++ } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return -1 } , i.prototype.remove = function(t) { if (t.stimulsoft.is(e.StiVariable)) { var r = t; r.category.length > 0 && 1 == this.getVariablesCount(r.category) ? r.name = "" : this.list.remove(r) } else { var i = t; i = i.toLowerCase(); var n = 0; while (n < this.list.length) { var r = this.getByIndex(n); r.name.toLowerCase() == i ? this.list.removeAt(n) : n++ } } } , i.prototype.getByName = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name.toLowerCase() == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , i.prototype.setByName = function(t, e) { t = t.toLowerCase(); for (var r = 0; r < this.list.length; r++) { if (this.getByIndex(r).name.toLowerCase() == t) return void (this.list[r] = e) } this.add(e) } , i.prototype.clone = function() { var t, e, r = new i; try { for (var n = __values(this.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; r.add(a.clone()) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } return r } , i.prototype.moveCategoryTo = function(t, e) { var r, i, n, 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(); !c.done; c = u.next()) { var m = c.value; m.category == t && l.add(m) } } catch (t) { r = { error: t } } finally { try { c && !c.done && (i = u.return) && i.call(u) } finally { if (r) throw r.error } } this.removeCategory(t); var p = a > s ? this.getFirstCategoryIndex(e) : this.getLastCategoryIndex(e) + 1; try { for (var h = __values(l), d = h.next(); !d.done; d = h.next()) { var m = d.value; this.insert(p, m), p++ } } catch (t) { n = { error: t } } finally { try { d && !d.done && (o = h.return) && o.call(h) } finally { if (n) throw n.error } } } , i.prototype.getFirstCategoryIndex = function(t) { var e, r, i = 0; try { for (var n = __values(this.list), o = n.next(); !o.done; o = n.next()) { if (t == o.value.category) return i; i++ } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return -1 } , i.prototype.getLastCategoryIndex = function(t) { var e, r, i = -1, n = 0, o = !1; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { if (t == s.value.category) i = n, o = !0; else if (o) break; n++ } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (e) throw e.error } } return i } , i.prototype.renameCategory = function(t, e) { var r, i; t = t.toLowerCase(); try { for (var n = __values(this.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.category.toLowerCase() == t && (a.category = e) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , i.prototype.removeCategory = function(t) { var e = 0; while (e < this.length) this.list[e].category == t ? this.removeAt(e) : e++ } , i.prototype.getVariablesCount = function(t) { var e, r, i = 0; try { for (var n = __values(this.list), o = n.next(); !o.done; o = n.next()) { o.value.category == t && i++ } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return i } , i }(i); e.StiVariablesCollection = s }(r = e.Dictionary || (e.Dictionary = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiFilterHelper , i = t.Report.Components.StiDataHelper , n = function(e) { function n() { return null !== e && e.apply(this, arguments) || this } return __extends(n, e), n.renderAtEnd = function(t) { null != t.chartInfo.storedForProcessAtEndChart && n.renderChart(t), t.chartInfo.storedForProcessAtEndChart = null } , n.renderChart = function(e) { var r = null; if (null != e.chartInfo.storedForProcessAtEndChart) r = e.chartInfo.storedForProcessAtEndChart; else if (r = e.clone(), e.processAtEnd) return r; return StiOptions.Engine.dontSaveDataSourceBeforeChartRendering || e.saveState("ChartRender"), null == e.masterComponent && i.setData(e, !0, e.parent), t.Report.Chart.StiChartHelper.createChart(e, r), StiOptions.Engine.dontSaveDataSourceBeforeChartRendering || e.restoreState("ChartRender"), r } , n.prototype.prepare = function(t) { e.prototype.prepare.call(this, t), r.setFilter(t), (t.height > t.page.height || t.height > t.parent.height) && (t.height = Math.min(t.page.height, t.parent.height)) } , n.prototype.internalRenderAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i; return __generator(this, function(o) { return e = t, r = n.renderChart(e), i = r, e.processAtEnd && (e.chartInfo.storedForProcessAtEndChart = r), [2, r] }) }) } , n.prototype.internalRender = function(t) { var e = t , r = n.renderChart(e) , i = r; return e.processAtEnd && (e.chartInfo.storedForProcessAtEndChart = r), r } , n }(e.StiComponentBuilder); e.StiChartBuilder = n }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiClone , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.internalRenderAsync = function(e) { return __awaiter(this, void 0, void 0, function() { var i, n, o; return __generator(this, function(a) { switch (a.label) { case 0: i = e.stimulsoft.as(r), n = i.container; while (null != n && n.stimulsoft.is(r)) n = n.container; if (null != n) return [3, 2]; return [4, t.prototype.internalRenderAsync.call(this, i)]; case 1: return [2, a.sent()]; case 2: return [4, n.render()]; case 3: return o = a.sent(), o.border = i.border.clone(), o.brush = i.brush.clone(), o.clientRectangle = i.clientRectangle, [2, o] } }) }) } , e.prototype.internalRender = function(e) { var i = e.stimulsoft.as(r) , n = i.container; while (null != n && n.stimulsoft.is(r)) n = n.container; if (null == n) return t.prototype.internalRender.call(this, i); var o = n.render(); return o.border = i.border.clone(), o.brush = i.brush.clone(), o.clientRectangle = i.clientRectangle, o } , e }(e.StiContainerBuilder); e.StiCloneBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiDataBand , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.getMaster = function(t) { var e = t.parent.components.indexOf(t) - 1; while (e >= 0) { if (t.parent.components.getByIndex(e).stimulsoft.is(r)) return t.parent.components.getByIndex(e); e-- } return null } , e }(e.StiBandBuilder); e.StiFooterBandBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiDockStyle , i = t.Report.Components.StiContainer , n = function(t) { function n() { return null !== t && t.apply(this, arguments) || this } return __extends(n, t), n.prototype.internalRenderAsync = function(n) { return __awaiter(this, void 0, void 0, function() { var o, a, s, l, u, c; return __generator(this, function(m) { switch (m.label) { case 0: if (o = n, !(null == (a = e.StiFooterBandBuilder.getMaster(o)) || a.columns < 2)) return [3, 2]; return [4, t.prototype.internalRenderAsync.call(this, o)]; case 1: return [2, m.sent()]; case 2: s = new i, s.name = o.name, s.width = o.width, s.height = o.height, l = a.getColumnWidth() + a.columnGaps, u = 0, m.label = 3; case 3: if (!(u < a.columns)) return [3, 7]; if (o.report.column = u + 1, !(a.position + u < a.count && !o.printIfEmpty || o.printIfEmpty)) return [3, 5]; return [4, t.prototype.internalRenderAsync.call(this, o)]; case 4: return c = m.sent(), c.dockStyle = r.None, c.width = l, s.components.add(c), a.rightToLeft ? c.left = s.width - l * (u + 1) + a.columnGaps : c.left = l * u, c.top = 0, [3, 6]; case 5: return [3, 7]; case 6: return u++, [3, 3]; case 7: return [2, s] } }) }) } , n.prototype.internalRender = function(n) { var o = n , a = e.StiFooterBandBuilder.getMaster(o); if (null == a || a.columns < 2) return t.prototype.internalRender.call(this, o); var s = new i; s.name = o.name, s.width = o.width, s.height = o.height; for (var l = a.getColumnWidth() + a.columnGaps, u = 0; u < a.columns; u++) { if (o.report.column = u + 1, !(a.position + u < a.count && !o.printIfEmpty || o.printIfEmpty)) break; var c = t.prototype.internalRender.call(this, o); c.dockStyle = r.None, c.width = l, s.components.add(c), a.rightToLeft ? c.left = s.width - l * (u + 1) + a.columnGaps : c.left = l * u, c.top = 0 } return s } , n }(e.StiFooterBandBuilder); e.StiColumnFooterBandBuilder = n }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiDataBand , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.getMaster = function(t) { var e = t.parent.components.indexOf(t) + 1; while (e < t.parent.components.count) { if (t.parent.components.getByIndex(e).stimulsoft.is(r)) return t.parent.components.getByIndex(e); e++ } return null } , e }(e.StiBandBuilder); e.StiHeaderBandBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiDockStyle , i = t.Report.Components.StiContainerHelper , n = t.Report.Components.StiContainer , o = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.internalRenderAsync = function(o) { return __awaiter(this, void 0, void 0, function() { var a, s, l, u, c, m, p; return __generator(this, function(h) { switch (h.label) { case 0: if (a = o, !(null == (s = e.getMaster(a)) || s.columns < 2)) return [3, 2]; return [4, t.prototype.internalRenderAsync.call(this, a)]; case 1: return [2, h.sent()]; case 2: l = new n, l.name = a.name, l.width = a.width, l.height = a.height, l.canGrow = a.canGrow, l.canShrink = a.canShrink, l.parentComponentIsBand = !0, u = s.getColumnWidth() + s.columnGaps, c = 0, h.label = 3; case 3: if (!(c < s.columns)) return [3, 7]; if (a.report.column = c + 1, !(s.position + c < s.count && !a.printIfEmpty || a.printIfEmpty)) return [3, 5]; return [4, t.prototype.internalRenderAsync.call(this, o)]; case 4: return m = h.sent(), m.dockStyle = r.None, m.width = u, l.components.add(m), s.rightToLeft ? m.left = l.width - u * (c + 1) + s.columnGaps : m.left = u * c, m.top = 0, [3, 6]; case 5: return [3, 7]; case 6: return c++, [3, 3]; case 7: return p = l.width, i.checkSize(l), l.parentComponentIsCrossBand || (l.width = p), [2, l] } }) }) } , e.prototype.internalRender = function(o) { var a = o , s = e.getMaster(a); if (null == s || s.columns < 2) return t.prototype.internalRender.call(this, a); var l = new n; l.name = a.name, l.width = a.width, l.height = a.height, l.canGrow = a.canGrow, l.canShrink = a.canShrink, l.parentComponentIsBand = !0; for (var u = s.getColumnWidth() + s.columnGaps, c = 0; c < s.columns; c++) { if (a.report.column = c + 1, !(s.position + c < s.count && !a.printIfEmpty || a.printIfEmpty)) break; var m = t.prototype.internalRender.call(this, o); m.dockStyle = r.None, m.width = u, l.components.add(m), s.rightToLeft ? m.left = l.width - u * (c + 1) + s.columnGaps : m.left = u * c, m.top = 0 } var p = l.width; return i.checkSize(l), l.parentComponentIsCrossBand || (l.width = p), l } , e }(e.StiHeaderBandBuilder); e.StiColumnHeaderBandBuilder = o }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiPrintOnType , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.prepare = function(e) { if (t.prototype.prepare.call(this, e), e.printOn != r.AllPages) { var i = e.getStartPoint(); null != i && (i.printOn = e.printOn); var n = e.getEndPoint(); null != n && (n.printOn = e.printOn) } } , e }(e.StiComponentBuilder); e.StiCrossLinePrimitiveBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.CrossTab.Core.StiSummaryDirection , n = t.Report.CrossTab.StiCrossColumn , o = t.Report.CrossTab.StiCrossSummary , a = t.Report.Components.StiFilterHelper , s = t.Report.Components.StiDataBand , l = t.Report.Components.StiDockStyle , u = t.System.Drawing.Rectangle , c = t.Report.CrossTab.StiCrossTab , m = t.Report.CrossTab.StiCrossTabParams , p = t.Report.CrossTab.StiCrossTabHelper , h = t.Report.Components.StiContainer , d = t.Report.CrossTab.StiCrossHorAlignment , g = t.Report.Components.StiCrossHeaderInteraction , f = t.System.Collections.Hashtable , S = function(t) { function S() { return null !== t && t.apply(this, arguments) || this } return __extends(S, t), S.getCollapsingName = function(t) { return this.getCollapsingName2(t.name, t.headerLevel, t.headerValue) } , S.getCollapsingName2 = function(t, e, i) { return r.format("{0}.{1}.{2}", t, e, i) } , S.isCollapsed = function(t) { return this.isCollapsed2(t, t.headerLevel, t.headerValue) } , S.isCollapsed2 = function(t, e, r) { if (null == t.interaction || t.interaction.stimulsoft.is(g) && !t.interaction.collapsingEnabled) return !1; if (null == t.report.interactionCollapsingStates) return !0; var i = t.report.interactionCollapsingStates[this.getCollapsingName2(t.name, e, r)]; if (i.stimulsoft.is(Boolean)) return i.stimulsoft.toBoolean(); return !0 } , S.setCollapsed = function(t, e) { if (null == t.interaction || t.interaction.stimulsoft.is(g) && !t.interaction.collapsingEnabled) return; null == t.report.interactionCollapsingStates && (t.report.interactionCollapsingStates = new f), t.report.interactionCollapsingStates[this.getCollapsingName(t)] = e } , S.makeHorAlignment = function(t, e, r, i, n) { if (t.wrap) return; if (t.horAlignment == d.Width) e.left = 0, e.width = i, p.makeHorAlignmentByWidth(e, r); else if (t.horAlignment != d.None) { e.left = 0, e.width = i * n; var o = 0 , a = 0 , s = { ref: o } , l = { ref: a }; p.calculateMaxAndMin(e, s, l, r), o = s.ref, a = l.ref; for (var u = r; u < e.components.count; u++) { var c = e.components.getByIndex(u); if (t.horAlignment == d.Left) c.left -= o; else if (t.horAlignment == d.Right) c.left += e.width - a; else if (t.horAlignment == d.Center) { var m = (e.width - (a - o)) / 2; c.left -= o - m } } } } , S.prototype.renderCrossTabOnPage = function(t, e, r, i, n, o) { this.renderCrossTabSegment(t, e, r, i, n, o), this.makeHorAlignment(e, r, 0, null != t.destinationContainer ? t.destinationContainer.width : e.parent.width, 1), this.finalizeCross(r) } , S.prototype.makeHorAlignment = function(t, e, r, i, n) { if (t.wrap) return; if (t.horAlignment == d.Width) e.left = 0, e.width = i, p.makeHorAlignmentByWidth(e, r); else if (t.horAlignment != d.None) { e.left = 0, e.width = i * (n > 1 ? n : 1); var o = { ref: 0 } , a = { ref: 0 }; p.calculateMaxAndMin(e, o, a, r); for (var s = r; s < e.components.count; s++) { var l = e.components.getByIndex(s); switch (t.horAlignment) { case d.Left: l.left -= o.ref; break; case d.Right: l.left += e.width - a.ref; break; case d.Center: var u = (e.width - (a.ref - o.ref)) / 2; l.left -= o.ref - u; break } } } } , S.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 } , S.prototype.renderCrossTabSegment = function(t, e, r, i, n, o) { var a = e.crossTabInfo.cross , s = { ref: i }; this.renderRowHeaders(t, e, r, s), this.renderColHeaders(t, e, r, s), i = s.ref, o.ref = p.getEndRow(e, t.startRow, i), n.ref = p.getEndCol(e, t.startColumn, i), o.ref = p.checkMergedRowCells(e, t.startRow, o.ref, t.startColumn, n.ref), t.startRow < o.ref && p.renderCells(e, r, t.startColumn, t.startRow, n.ref, o.ref, i), t.renderingIsFinished = n.ref == a.colCount && o.ref == a.rowCount, t.startColumn = n.ref, n.ref == a.colCount && (t.startColumn = 0, t.startRow = o.ref) } , S.prototype.renderColHeaders = function(t, e, r, i, n, o) { var a, s; if (void 0 === n && (n = !1), void 0 === o && (o = !1), 0 == t.startRow && !o) return 0; if (!n) { var l = i.ref.clone(); l.height = 1e5; var u = this.renderColHeaders(t, e, r, { ref: l }, !0, o); if (u > i.ref.height) return 0 } var c = e.crossTabInfo.cross , m = this.getEndColumn(t, i.ref, c, e); if (!n) { var h = i.ref.clone(); if (this.renderColHeaders(t, e, r, { ref: h }, !0) > i.ref.height) return 0 } var d = 0 , g = 0; if (c.isTopCrossTitleVisible && (c.isCrossTitlePrintOnAllPages && (n || p.renderCells(e, r, t.startColumn, 0, m, 1, i.ref), i.ref.y += c.heights[0], i.ref.height -= c.heights[0], d += c.heights[0]), g++), p.isColFieldsEmpty(e)) return d; !n && this.allColFieldsPresentOnAllPages(c) && p.renderCells(e, r, t.startColumn, g, m, g + c.colFields.count, i.ref); try { for (var f = __values(c.colFields.toCast()), S = f.next(); !S.done; S = f.next()) { if (S.value.printOnAllPages) { n || this.allColFieldsPresentOnAllPages(c) || p.renderCells(e, r, t.startColumn, g, m, g + 1, i.ref); var u = c.heights.length > g ? c.heights[g] : 0; i.ref.y += u, i.ref.height -= u, d += u } g++ } } catch (t) { a = { error: t } } finally { try { S && !S.done && (s = f.return) && s.call(f) } finally { if (a) throw a.error } } return d } , S.prototype.allColFieldsPresentOnAllPages = function(t) { return t.colFields.toList().count2(function(t) { return t.printOnAllPages }) == t.colFields.count } , S.prototype.getEndColumn = function(t, e, r, i) { var n = e.width , o = t.startColumn; while (o < r.colCount) { if ((n -= r.widths[o]) < 0 && i.horAlignment != d.Width) break; o++ } return o == t.startColumn && o + 1 <= r.colCount && o++, o } , S.prototype.getEndRow = function(t, e, r) { var i = e.height , n = t.startRow; while (n < r.rowCount) { if ((i -= r.heights[n]) < 0) break; n++ } return n == t.startRow && n + 1 <= r.rowCount && n++, n } , S.prototype.renderRowHeaders = function(t, e, r, i, n) { var o, a; void 0 === n && (n = !1); var s = e.crossTabInfo.cross; if (!e.rightToLeft && 0 == t.startColumn) return 0; if (e.rightToLeft && !n) { var l = p.getEndCol(e, t.startColumn, i); if (l == s.cells.length) { if (e.rightToLeft && i.ref.width != 1e5 - t.shiftX - r.left) { for (var u = 0, c = t.startColumn; c < l; c++) u += s.widths[c]; i.ref.x += i.ref.width - u } return 0 } } var m = 0; if (!n) { var h = i.ref.clone(); h.width = 1e5; var d = { ref: h }; if (m = this.renderRowHeaders(t, e, r, d, !0), h = d.ref, m > i.ref.width) return 0; if (e.rightToLeft) { h = i.ref.clone(), h.width -= m; for (var l = p.getEndCol(e, t.startColumn, h), g = 0, c = t.startColumn; c < l; c++) g += s.widths[c]; 1e5 != i.ref.width && (i.ref.x += i.ref.width - (g + m)), i.ref.width = g + m } } var f = i.ref.height , S = i.ref.y , A = i.ref.x; if (this.renderCorner(t, e, r, i, s, n), !n) { var y = i.ref.clone(); if (this.renderRowHeaders(t, e, r, { ref: y }, !0) > i.ref.width) return 0 } var w = 0 , b = this.getEndRow(t, i.ref, s) , v = 0; if ((s.isLeftCrossTitleVisible || s.isTopCrossTitleVisible && s.isColsEmpty) && (s.isCrossTitlePrintOnAllPages && (n || p.renderCells(e, r, 0, t.startRow, 1, b, i.ref), i.ref.X += s.widths[0], i.ref.width -= s.widths[0], w += s.widths[0]), v++), p.isRowFieldsEmpty(e)) return w; var C = 1; e.rightToLeft && (v = s.cells.length - 1 - v, C = -1); var E = v , B = 0; try { for (var T = __values(s.rowFields.toCast()), I = T.next(); !I.done; I = T.next()) { var x = I.value , F = s.widths.length > v ? s.widths[v] : 0; x.printOnAllPages && (B += F, w += F), (!x.printOnAllPages || x == s.rowFields.getByIndex(s.rowFields.count - 1)) && B > 0 && (e.rightToLeft && (i.ref.x = A + i.ref.width - B), n || p.renderCells(e, r, E, t.startRow, v + 1, b, i.ref), e.rightToLeft || (i.ref.X += B), i.ref.width -= B, B = 0, E = v + C), e.rightToLeft ? E-- : v++ } } catch (t) { o = { error: t } } finally { try { I && !I.done && (a = T.return) && a.call(T) } finally { if (o) throw o.error } } return e.rightToLeft && (i.ref.x = A), i.ref.y = S, i.ref.height = f, w } , S.prototype.renderCorner = function(t, e, r, i, n, o) { var a, s; if (void 0 === o && (o = !1), 0 == t.startRow || p.isColFieldsEmpty(e)) return 0; if (!o) { var l = i.ref.clone(); if (this.renderCorner(t, e, r, { ref: l }, n, !0) > i.ref.height) return 0 } var u = 0 , c = 0 , m = n.rowFields.toList().count2(function(t) { return t.printOnAllPages }); n.isTopCrossTitleVisible && (n.isCrossTitlePrintOnAllPages && (o || p.renderCells(e, r, 0, 0, m, 1, i.ref), i.ref.y += n.heights[0], i.ref.height -= n.heights[0], u += n.heights[0]), c++), !o && this.allColFieldsPresentOnAllPages(n) && p.renderCells(e, r, 0, c, m, c + n.colFields.count, i.ref); try { for (var h = __values(n.colFields.toCast()), d = h.next(); !d.done; d = h.next()) { if (d.value.printOnAllPages) { o || this.allColFieldsPresentOnAllPages(n) || p.renderCells(e, r, 0, c, m, c + 1, i.ref); var g = n.heights.length > c ? n.heights[c] : 0; i.ref.y += g, i.ref.height -= g, u += g } c++ } } catch (t) { a = { error: t } } finally { try { d && !d.done && (s = h.return) && s.call(h) } finally { if (a) throw a.error } } return u } , S.prototype.renderCrossTabOnDataBand = function(t, e, r) { var i = t.destinationRectangle.clone(); i.x = 0, i.y = 0, i.width = e.parent.width - i.left, i.height = Number.MAX_VALUE; var n = 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 || (i.width = 1e9, l = 1e9, s = 1e9); var c = r.components.count , m = 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 || (m = null != e.crossTabInfo.cross.rowTitleFields && e.crossTabInfo.cross.rowTitleFields.count > 0 && e.crossTabInfo.cross.rowTitleFields.toList().any(function(t) { return t.enabled })), h || (h = null != e.crossTabInfo.cross.rowTitleFields && e.crossTabInfo.cross.rowTitleFields.count > 0 && null != e.crossTabInfo.cross.summaryCrossTitle && e.crossTabInfo.cross.summaryCrossTitle.printOnAllPages); var d = 0 , g = 0; while (d < e.crossTabInfo.cross.rowCount) { var f = new u; e.printTitleOnAllPages ? 0 == d ? (f.height = e.report.engine.freeSpace, a.unlimitedHeight && !a.unlimitedBreakable && (f.height = 1e9), f.height -= e.top) : f.height = e.report.engine.staticBands.reservedFreeSpace : f.height = 1e9; while (t.startColumn < e.crossTabInfo.cross.colCount) { var A = 0 , y = 0; f.width = s; var w = 0 , b = this.getActualHeaderRowCount(e); if (e.wrap && e.rightToLeft) { for (var v = e.crossTabInfo.cross.widths.length - 1; v > e.crossTabInfo.cross.widths.length - b - 1; v--) w += e.crossTabInfo.cross.widths[v]; f.width -= w } if (o = p.getEndCol(e, t.startColumn, f), 0 != d && e.printTitleOnAllPages) { m && h && (1 == d && (i.y += .7 * e.crossTabInfo.cross.heights[0]), p.renderCells(e, r, t.startColumn, 0, o, 1, i), i.y += e.crossTabInfo.cross.heights[0], A += e.crossTabInfo.cross.heights[0], f.height -= e.crossTabInfo.cross.heights[0]); var C = this.getActualHeaderRowCount(e); if (0 != C && 1 != d && e.crossTabInfo.cross.isTopCrossTitleVisible && e.crossTabInfo.cross.isCrossTitlePrintOnAllPages) { p.renderCells(e, r, t.startColumn, 1, o, C + 1, i); for (var E = 1; E <= C; E++) i.y += e.crossTabInfo.cross.heights[E], A += e.crossTabInfo.cross.heights[E], f.height -= e.crossTabInfo.cross.heights[E] } o = p.getEndCol(e, t.startColumn, f) } if (n = p.getEndRow(e, d, f), p.renderCells(e, r, t.startColumn, d, o, n, i), e.wrap) { if (e.rightToLeft && o < e.crossTabInfo.cross.colCount - 1) { for (var B = 0, v = t.startColumn; v < o; v++) B += e.crossTabInfo.cross.widths[v]; i.x += B, p.renderCells(e, r, e.crossTabInfo.cross.widths.length - b, d, e.crossTabInfo.cross.widths.length, n, i), i.x -= B } var T = p.getCellsRect(e, t.startColumn, t.startRow, o, n); f.height - T.height < T.height + e.wrapGap ? (g++, i.y = e.page.height * g, i.x = 0, f.height = 0 == d ? e.report.engine.freeSpace - e.top : e.report.engine.staticBands.reservedFreeSpace) : (i.y += T.height + e.wrapGap, f.height -= T.height + e.wrapGap, i.x = 0), t.startColumn = o } else i.x += l - y, i.width = s, t.startColumn = o, 0 != d && (i.y -= A, f.height += A) } e.wrap || (i.y += f.height, i.x = 0), d = n, t.startColumn = 0 } var I = r.containerInfo.setSegmentPerWidth = p.getPageSegmentsRequired(e); if (S.makeHorAlignment(e, r, c, e.parent.width, I), !a.unlimitedBreakable) { for (var x = 0, F = c; F < r.components.count; F++) { var D = r.components.getByIndex(F); x = Math.max(D.right, x) } var R = a.width , P = a.segmentPerWidth; while (R < x) P++, r.containerInfo.setSegmentPerWidth = P, R += a.width } return r } , S.prototype.renderCrossTabAsync = function(r, i) { return __awaiter(this, void 0, void 0, function() { var n, o, a, s, u, c, m, d, g, f, A, y, w, b, v, C, E, B, T, b, I, x, F, D, R, C, P, N, k, M, O; return __generator(this, function(_) { switch (_.label) { case 0: if (n = null != e.StiSubReportsHelper.getParentBand(i), null != (o = r.destinationContainer)) return [3, 2]; return [4, t.prototype.internalRenderAsync.call(this, i)]; case 1: o = _.sent().stimulsoft.as(h), o.components.clear(), _.label = 2; case 2: if (o.dockStyle = l.None, i.page.unlimitedHeight && !i.page.unlimitedBreakable || (o.canBreak = !0), !r.allowRendering) return [2, o]; if ((null == i.dataSource || i.dataSource.isEmpty) && !i.printIfEmpty) return r.renderingIsFinished = !0, [2, o]; if (n) return [2, this.renderCrossTabOnDataBand(r, i, o)]; if (a = r.destinationRectangle.clone(), i.page.unlimitedHeight && (a.height = 1e8), a.x = 0, a.y = 0, s = r.startRow, u = r.startColumn, i.wrap) { c = o.stimulsoft.as(h); while (r.startColumn < i.crossTabInfo.cross.colCount) { if (s = p.getEndRow(i, r.startRow, a), u = p.getEndCol(i, r.startColumn, a), p.renderCells(i, o, r.startColumn, r.startRow, u, s, a), m = p.getCellsRect(i, r.startColumn, r.startRow, u, s), u == i.crossTabInfo.cross.colCount && s == i.crossTabInfo.cross.rowCount) return r.renderingIsFinished = !0, [2, o]; if (u == i.crossTabInfo.cross.colCount ? (r.startRow = s, r.startColumn = 0) : r.startColumn = u, !(a.height - i.wrapGap - m.height > m.height)) return r.renderingIsFinished = !1, [2, o]; a.y = m.height + i.wrapGap, a.height -= m.height + i.wrapGap } return r.renderingIsFinished = !0, [2, o] } if (a.x = 0, a.y = 0, u = p.getEndCol(i, r.startColumn, a), s = p.getEndRow(i, r.startRow, a), d = null != i.crossTabInfo.cross.leftCrossTitle && i.crossTabInfo.cross.leftCrossTitle.enabled && null != i.crossTabInfo.cross.rightCrossTitle && i.crossTabInfo.cross.rightCrossTitle.enabled, g = null != i.crossTabInfo.cross.leftCrossTitle && i.crossTabInfo.cross.leftCrossTitle.printOnAllPages && null != i.crossTabInfo.cross.rightCrossTitle && i.crossTabInfo.cross.rightCrossTitle.printOnAllPages, f = a.x, A = a.y, y = a.x, w = a.y, 0 != r.startColumn) for (b = 0; b < i.crossTabInfo.cross.rowFields.count; b++) i.crossTabInfo.cross.rowFields.getByIndex(b).printOnAllPages && !i.rightToLeft && (v = i.crossTabInfo.cross.widths[b], f += v, a.width -= v); if (0 != r.startRow) for (C = 0; C < i.crossTabInfo.cross.colFields.count; C++) i.crossTabInfo.cross.colFields.getByIndex(C).printOnAllPages && (A += i.crossTabInfo.cross.heights[C], a.height -= i.crossTabInfo.cross.heights[C]); if (d && g && 0 != r.startRow && (A += i.crossTabInfo.cross.heights[i.crossTabInfo.cross.colFields.count], a.height -= i.crossTabInfo.cross.heights[i.crossTabInfo.cross.colFields.count]), 0 != r.startColumn && !p.isRowFieldsEmpty(i)) { for (a.x = y, a.y = A, E = a.height, B = r.startRow, T = r.startRow; T < s; T++) { if ((E -= i.crossTabInfo.cross.heights[T]) < 0) break; B++ } s = B, b = 0; while (b < i.crossTabInfo.cross.rowFields.count) { I = b; while (I < i.crossTabInfo.cross.rowFields.count && i.crossTabInfo.cross.rowFields.getByIndex(I).printOnAllPages && !i.rightToLeft) I++; b != I && (r.startRow > 0 && (x = a.clone(), x.y = 0, x.height -= a.y, p.renderCells(i, o, 0, 0, I, i.crossTabInfo.cross.getCorrectedColumnsHeaderHeight(), x)), p.renderCells(i, o, b, r.startRow, I, s, a), a.x += i.crossTabInfo.cross.widths[b]), b = I + 1 } } if (0 != r.startRow) { for (a.x = f, a.y = w, F = a.width, D = r.startColumn, R = r.startColumn; R < u; R++) { if ((F -= i.crossTabInfo.cross.widths[R]) < 0) break; D++ } u = D, d && g && (p.renderCells(i, o.stimulsoft.as(h), r.startColumn, 0, u, 1, a), a.y += i.crossTabInfo.cross.heights[0]), C = 0; while (C < i.crossTabInfo.cross.colFields.count) { P = C; while (P < i.crossTabInfo.cross.colFields.count && i.crossTabInfo.cross.colFields.getByIndex(P).printOnAllPages) P++; C != P && (d ? (p.renderCells(i, o, r.startColumn, C + 1, u, P + 1, a), a.y += i.crossTabInfo.cross.heights[C + 1]) : (p.renderCells(i, o, r.startColumn, C, u, P, a), a.y += i.crossTabInfo.cross.heights[C])), C = P + 1 } } a.x = f, a.y = A, N = !0; while (N) if (N = !1, u = p.getEndCol(i, r.startColumn, a), s = p.getEndRow(i, r.startRow, a), r.startRow < s && p.renderCells(i, o, r.startColumn, r.startRow, u, s, a), r.renderingIsFinished = u == i.crossTabInfo.cross.colCount && s == i.crossTabInfo.cross.rowCount, r.startColumn = u, u == i.crossTabInfo.cross.colCount && (r.startColumn = 0, r.startRow = s), n || S.makeHorAlignment(i, o, 0, null != r.destinationContainer ? r.destinationContainer.width : i.parent.width, 1), i.canGrow && (o.canGrow = !1, o.canShrink = !0, k = o.getActualSize(), o.width = k.width, o.height = k.height, o.canGrow = !0), i.page.unlimitedHeight) { M = 0, O = 0; while (M < i.crossTabInfo.cross.rowCount) O += i.crossTabInfo.cross.heights[M], M++; a.y += O, r.renderingIsFinished ? r.destinationContainer.containerInfo.setSegmentPerWidth = Math.trunc(a.y / r.destinationRectangle.height) : N = !0 } return [2, o] } }) }) } , S.prototype.renderCrossTab = function(r, i) { var n = null != e.StiSubReportsHelper.getParentBand(i) , o = r.destinationContainer; if (null == o && (o = t.prototype.internalRender.call(this, i).stimulsoft.as(h), o.components.clear()), o.dockStyle = l.None, i.page.unlimitedHeight && !i.page.unlimitedBreakable || (o.canBreak = !0), !r.allowRendering) return o; if ((null == i.dataSource || i.dataSource.isEmpty) && !i.printIfEmpty) return r.renderingIsFinished = !0, o; if (n) return this.renderCrossTabOnDataBand(r, i, o); var a = r.destinationRectangle.clone(); i.page.unlimitedHeight && (a.height = 1e8), a.x = 0, a.y = 0; var s = r.startRow , u = r.startColumn; if (i.wrap) { var c = o.stimulsoft.as(h); while (r.startColumn < i.crossTabInfo.cross.colCount) { s = p.getEndRow(i, r.startRow, a), u = p.getEndCol(i, r.startColumn, a), p.renderCells(i, o, r.startColumn, r.startRow, u, s, a); var m = p.getCellsRect(i, r.startColumn, r.startRow, u, s); if (u == i.crossTabInfo.cross.colCount && s == i.crossTabInfo.cross.rowCount) return r.renderingIsFinished = !0, o; if (u == i.crossTabInfo.cross.colCount ? (r.startRow = s, r.startColumn = 0) : r.startColumn = u, !(a.height - i.wrapGap - m.height > m.height)) return r.renderingIsFinished = !1, o; a.y = m.height + i.wrapGap, a.height -= m.height + i.wrapGap } return r.renderingIsFinished = !0, o } a.x = 0, a.y = 0, u = p.getEndCol(i, r.startColumn, a), s = p.getEndRow(i, r.startRow, a); var d = null != i.crossTabInfo.cross.leftCrossTitle && i.crossTabInfo.cross.leftCrossTitle.enabled && null != i.crossTabInfo.cross.rightCrossTitle && i.crossTabInfo.cross.rightCrossTitle.enabled , g = null != i.crossTabInfo.cross.leftCrossTitle && i.crossTabInfo.cross.leftCrossTitle.printOnAllPages && null != i.crossTabInfo.cross.rightCrossTitle && i.crossTabInfo.cross.rightCrossTitle.printOnAllPages , f = a.x , A = a.y , y = a.x , w = a.y; if (0 != r.startColumn) for (var b = 0; b < i.crossTabInfo.cross.rowFields.count; b++) if (i.crossTabInfo.cross.rowFields.getByIndex(b).printOnAllPages && !i.rightToLeft) { var v = i.crossTabInfo.cross.widths[b]; f += v, a.width -= v } if (0 != r.startRow) for (var C = 0; C < i.crossTabInfo.cross.colFields.count; C++) i.crossTabInfo.cross.colFields.getByIndex(C).printOnAllPages && (A += i.crossTabInfo.cross.heights[C], a.height -= i.crossTabInfo.cross.heights[C]); if (d && g && 0 != r.startRow && (A += i.crossTabInfo.cross.heights[i.crossTabInfo.cross.colFields.count], a.height -= i.crossTabInfo.cross.heights[i.crossTabInfo.cross.colFields.count]), 0 != r.startColumn && !p.isRowFieldsEmpty(i)) { a.x = y, a.y = A; for (var E = a.height, B = r.startRow, T = r.startRow; T < s; T++) { if ((E -= i.crossTabInfo.cross.heights[T]) < 0) break; B++ } s = B; var b = 0; while (b < i.crossTabInfo.cross.rowFields.count) { var I = b; while (I < i.crossTabInfo.cross.rowFields.count && i.crossTabInfo.cross.rowFields.getByIndex(I).printOnAllPages && !i.rightToLeft) I++; if (b != I) { if (r.startRow > 0) { var x = a.clone(); x.y = 0, x.height -= a.y, p.renderCells(i, o, 0, 0, I, i.crossTabInfo.cross.getCorrectedColumnsHeaderHeight(), x) } p.renderCells(i, o, b, r.startRow, I, s, a), a.x += i.crossTabInfo.cross.widths[b] } b = I + 1 } } if (0 != r.startRow) { a.x = f, a.y = w; for (var F = a.width, D = r.startColumn, R = r.startColumn; R < u; R++) { if ((F -= i.crossTabInfo.cross.widths[R]) < 0) break; D++ } u = D, d && g && (p.renderCells(i, o.stimulsoft.as(h), r.startColumn, 0, u, 1, a), a.y += i.crossTabInfo.cross.heights[0]); var C = 0; while (C < i.crossTabInfo.cross.colFields.count) { var P = C; while (P < i.crossTabInfo.cross.colFields.count && i.crossTabInfo.cross.colFields.getByIndex(P).printOnAllPages) P++; C != P && (d ? (p.renderCells(i, o, r.startColumn, C + 1, u, P + 1, a), a.y += i.crossTabInfo.cross.heights[C + 1]) : (p.renderCells(i, o, r.startColumn, C, u, P, a), a.y += i.crossTabInfo.cross.heights[C])), C = P + 1 } } a.x = f, a.y = A; var N = !0; while (N) { if (N = !1, u = p.getEndCol(i, r.startColumn, a), s = p.getEndRow(i, r.startRow, a), r.startRow < s && p.renderCells(i, o, r.startColumn, r.startRow, u, s, a), r.renderingIsFinished = u == i.crossTabInfo.cross.colCount && s == i.crossTabInfo.cross.rowCount, r.startColumn = u, u == i.crossTabInfo.cross.colCount && (r.startColumn = 0, r.startRow = s), n || S.makeHorAlignment(i, o, 0, null != r.destinationContainer ? r.destinationContainer.width : i.parent.width, 1), i.canGrow) { o.canGrow = !1, o.canShrink = !0; var k = o.getActualSize(); o.width = k.width, o.height = k.height, o.canGrow = !0 } if (i.page.unlimitedHeight) { var M = 0 , O = 0; while (M < i.crossTabInfo.cross.rowCount) O += i.crossTabInfo.cross.heights[M], M++; a.y += O, r.renderingIsFinished ? r.destinationContainer.containerInfo.setSegmentPerWidth = Math.trunc(a.y / r.destinationRectangle.height) : N = !0 } } return o } , S.prototype.renderCrossTabUnlimitedBreakable = function(t, e, r, i) { var n = this.getPageForCrossTab(r); null == n && (n = e.report.renderedPages.toList().lastOrDefault()); var o = p.getEndCol(e, t.startColumn, i) , a = p.getEndRow(e, t.startRow, i) , s = n.width , l = n.height , u = 0 , c = 0; while (c < a) { n.segmentPerHeight = Math.max(n.segmentPerHeight, u + 1); var m = 0 , h = { ref: 0 } , d = { ref: 0 }; while (h.ref < o) { n.segmentPerWidth = Math.max(n.segmentPerWidth, m + 1); var g = new Rectangle(i.left + m * s,i.top + u * l,t.destinationRectangle.width,t.destinationRectangle.height); t.startColumn = h.ref, t.startRow = c, this.renderCrossTabOnPage(t, e, r, g, h, d), m++ } c = d.ref, u++ } } , S.prototype.getPageForCrossTab = function(t) { var e = null , r = t; while (null == e && null != r) e = r.page, r = r.parent; return e } , S.prototype.getActualHeaderRowCount = function(t) { var e, r, a = 0, s = 0; try { for (var l = __values(t.components.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; c.stimulsoft.is(o) && c.enabled && s++, c.stimulsoft.is(n) && c.enabled && a++ } } catch (t) { e = { error: t } } finally { try { u && !u.done && (r = l.return) && r.call(l) } finally { if (e) throw e.error } } return s > 1 && t.summaryDirection == i.LeftToRight && a++, a } , S.prototype.prepare = function(e) { t.prototype.prepare.call(this, e), a.setFilter(e) } , S.prototype.unPrepare = function(e) { t.prototype.unPrepare.call(this, e), p.clearCross(e.stimulsoft.as(c)) } , S.prototype.internalRenderAsync = function(r) { return __awaiter(this, void 0, void 0, function() { var i, n, o, a, l; return __generator(this, function(u) { switch (u.label) { case 0: if (i = r.stimulsoft.as(c), n = new m, o = null != e.StiSubReportsHelper.getParentBand(i), n.allowRendering = o, a = r.parent.stimulsoft.as(s), n.destinationRectangle = null != a ? a.parent.clientRectangle.clone() : i.clientRectangle.clone(), !o) return [3, 2]; return p.createCross(i), [4, this.renderCrossTabAsync(n, i)]; case 1: return [2, u.sent()]; case 2: return [4, t.prototype.internalRenderAsync.call(this, r)]; case 3: return l = u.sent().stimulsoft.as(h), null != l && (l.width = r.width, l.height = r.height, l.components.clear()), [2, l] } }) }) } , S.prototype.internalRender = function(r) { var i = r.stimulsoft.as(c) , n = new m , o = null != e.StiSubReportsHelper.getParentBand(i); n.allowRendering = o; var a = r.parent.stimulsoft.as(s); if (n.destinationRectangle = null != a ? a.parent.clientRectangle.clone() : i.clientRectangle.clone(), o) return p.createCross(i), this.renderCrossTab(n, i); var l = t.prototype.internalRender.call(this, r).stimulsoft.as(h); return null != l && (l.width = r.width, l.height = r.height, l.components.clear()), l } , S }(e.StiContainerBuilder); e.StiCrossTabBuilder = S }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.DateTime , n = t.Report.Events.StiValueEventArgs , o = t.Report.Components.StiDataBand , a = t.Report.Components.StiGroupHeaderBand , s = t.Report.Components.StiHeaderBand , l = t.Report.Components.StiEmptyBand , u = t.Report.Components.StiChildBand , c = t.System.Collections.Hashtable , m = t.Report.Components.StiGroupFooterBand , p = t.Report.Components.StiFooterBand , h = t.Report.Components.StiSubReport , d = t.Report.Components.StiKeepDetails , g = t.Report.Components.IStiMasterComponent , f = t.Report.Components.IStiPrintOnAllPages , S = t.Report.Components.StiDataHelper , A = t.Report.Components.StiComponentType , y = t.Report.Components.IStiPageBreak , w = t.Report.Components.IStiRenderMaster , b = t.Report.Components.IStiDataSource , v = t.Report.Components.IStiBusinessObject , C = t.Report.Components.StiPage , E = t.Report.Components.StiComponentsCollection , B = t.Report.Components.StiContainer , T = t.Report.Components.StiBandInteraction , I = function(I) { function x() { return null !== I && I.apply(this, arguments) || this } return __extends(x, I), x.prototype.getGroupHeaders = function(e) { var r = new E , i = e.parent.components.indexOf(e) - 1; if (e.stimulsoft.is(t.Report.Components.Table.StiTable) && !e.enabled) { var n = e.name + "_"; while (i >= 0 && e.parent.components.getByIndex(i).name.stimulsoft.startsWith(n)) i-- } while (i >= 0) { if (!e.parent.components.getByIndex(i).stimulsoft.is(s)) if (e.parent.components.getByIndex(i).stimulsoft.is(u)) ; else if (e.parent.components.getByIndex(i).stimulsoft.is(l)) ; else { if (!e.parent.components.getByIndex(i).stimulsoft.is(a)) break; r.insert(0, e.parent.components.getByIndex(i)) } i-- } return r } , x.prototype.getGroupFooters = function(t) { var e = new E , r = t.parent.components.indexOf(t) + 1; while (r < t.parent.components.count) { if (!t.parent.components.getByIndex(r).stimulsoft.is(p)) if (t.parent.components.getByIndex(r).stimulsoft.is(u)) ; else if (t.parent.components.getByIndex(r).stimulsoft.is(l)) ; else { if (!t.parent.components.getByIndex(r).stimulsoft.is(m)) break; e.add(t.parent.components.getByIndex(r)) } r++ } return e } , x.prototype.groupsComparison = function(t) { var e, r; try { for (var i = __values(t.dataBandInfo.groupHeaderComponents.toCast()), n = i.next(); !n.done; n = i.next()) { n.value.groupHeaderBandInfo.groupFooter = null } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } for (var o = 0; o < t.dataBandInfo.groupFooterComponents.count; o++) { var a = t.dataBandInfo.groupHeaderComponents.count - o - 1; a >= 0 ? (t.dataBandInfo.groupFooterComponents.getByIndex(o).groupFooterBandInfo.groupHeader = t.dataBandInfo.groupHeaderComponents.getByIndex(a), t.dataBandInfo.groupHeaderComponents.getByIndex(a).groupHeaderBandInfo.groupFooter = t.dataBandInfo.groupFooterComponents.getByIndex(o)) : t.dataBandInfo.groupFooterComponents.getByIndex(o).groupFooterBandInfo.groupHeader = null } } , x.prototype.findHeaders = function(t) { if (null == t) return; if (null == t.parent) return; if (null == t.dataBandInfo) return; t.dataBandInfo.headers = new E; var e = t.parent.components.indexOf(t) - 1; while (e >= 0) { var r = t.parent.components.getByIndex(e); if (!r.stimulsoft.is(a)) if (r.stimulsoft.is(u)) ; else if (r.stimulsoft.is(l)) ; else { if (!r.stimulsoft.is(s)) break; t.dataBandInfo.headers.insert(0, r) } e-- } } , x.prototype.findHierarchicalHeaders = function(e) { var r, i, n, o, a, s; if (null == e) return; if (null == e.parent) return; if (null == e.dataBandInfo) return; var l = e.stimulsoft.as(t.Report.Components.StiHierarchicalBand); if (null != l && l.headers.trim().length > 0) { e.dataBandInfo.hierarchicalHeaders = new E; var u = l.headers.split(";") , m = new c; try { for (var p = __values(u), h = p.next(); !h.done; h = p.next()) { var d = h.value , g = d.trim(); m.set(g, g) } } catch (t) { r = { error: t } } finally { try { h && !h.done && (i = p.return) && i.call(p) } finally { if (r) throw r.error } } try { for (var f = __values(e.dataBandInfo.headers.list), S = f.next(); !S.done; S = f.next()) { var A = S.value; null != m.get(A.name) && e.dataBandInfo.hierarchicalHeaders.add(A) } } catch (t) { n = { error: t } } finally { try { S && !S.done && (o = f.return) && o.call(f) } finally { if (n) throw n.error } } try { for (var y = __values(e.dataBandInfo.hierarchicalHeaders.list), w = y.next(); !w.done; w = y.next()) { var A = w.value; e.dataBandInfo.headers.contains(A) && e.dataBandInfo.headers.remove(A, !1) } } catch (t) { a = { error: t } } finally { try { w && !w.done && (s = y.return) && s.call(y) } finally { if (a) throw a.error } } } } , x.prototype.findFooters = function(e) { if (null == e) return; if (null == e.parent) return; if (null == e.dataBandInfo) return; e.dataBandInfo.footersOnAllPages = new E, e.dataBandInfo.footersOnLastPage = new E; var r = e.parent.components.indexOf(e) + 1; while (r < e.parent.components.count) { var i = e.parent.components.getByIndex(r); if (!i.stimulsoft.is(t.Report.Components.StiGroupFooterBand)) if (i.stimulsoft.is(u)) ; else if (i.stimulsoft.is(l)) ; else if (i.stimulsoft.is(t.Report.Components.Table.StiTable) && !i.isConverted) ; else { if (!i.stimulsoft.is(p)) break; i.printOnAllPages ? e.dataBandInfo.footersOnAllPages.add(i) : e.dataBandInfo.footersOnLastPage.add(i) } r++ } } , x.prototype.findHierarchicalFooters = function(e) { var r, i, n, o, a, s, l, u; if (null == e) return; if (null == e.parent) return; if (null == e.dataBandInfo) return; var m = e.stimulsoft.as(t.Report.Components.StiHierarchicalBand); if (null != m && m.footers.trim().length > 0) { e.dataBandInfo.hierarchicalFooters = new E; var p = m.footers.split(";") , h = new c; try { for (var d = __values(p), g = d.next(); !g.done; g = d.next()) { var f = g.value , S = f.trim(); h.set(S, S) } } catch (t) { r = { error: t } } finally { try { g && !g.done && (i = d.return) && i.call(d) } finally { if (r) throw r.error } } try { for (var A = __values(e.dataBandInfo.footersOnAllPages.list), y = A.next(); !y.done; y = A.next()) { var w = y.value; null != h.get(w.name) && e.dataBandInfo.hierarchicalFooters.add(w) } } catch (t) { n = { error: t } } finally { try { y && !y.done && (o = A.return) && o.call(A) } finally { if (n) throw n.error } } try { for (var b = __values(e.dataBandInfo.footersOnLastPage.list), v = b.next(); !v.done; v = b.next()) { var w = v.value; null != h.get(w.name) && e.dataBandInfo.hierarchicalFooters.add(w) } } catch (t) { a = { error: t } } finally { try { v && !v.done && (s = b.return) && s.call(b) } finally { if (a) throw a.error } } try { for (var C = __values(e.dataBandInfo.hierarchicalFooters.list), B = C.next(); !B.done; B = C.next()) { var w = B.value; e.dataBandInfo.footersOnAllPages.contains(w) && e.dataBandInfo.footersOnAllPages.remove(w, !1), e.dataBandInfo.footersOnLastPage.contains(w) && e.dataBandInfo.footersOnLastPage.remove(w, !1) } } catch (t) { l = { error: t } } finally { try { B && !B.done && (u = C.return) && u.call(C) } finally { if (l) throw l.error } } } } , x.prototype.findEmptyBands = function(e) { if (null == e) return; if (null == e.parent) return; if (null == e.dataBandInfo) return; e.dataBandInfo.emptyBands = new E; var r = e.parent.components.indexOf(e) + 1; while (r < e.parent.components.count) { var i = e.parent.components.getByIndex(r); if (i.stimulsoft.is(l) && i.enabled && e.dataBandInfo.emptyBands.add(i), i.stimulsoft.is(t.Report.Components.Table.StiTable) && !i.isConverted) ; else if (i.stimulsoft.is(p) || i.stimulsoft.is(t.Report.Components.StiGroupFooterBand) || i.stimulsoft.is(s) || i.stimulsoft.is(a) || i.stimulsoft.is(t.Report.Components.StiDataBand)) break; r++ } } , x.prototype.findGroupHeaders = function(t) { if (null == t) return; if (null == t.parent) return; if (null == t.dataBandInfo) return; t.dataBandInfo.groupHeaders = new E; var e = t.parent.components.indexOf(t) - 1; while (e >= 0) { var r = t.parent.components.getByIndex(e); if (!r.stimulsoft.is(s)) if (r.stimulsoft.is(u)) ; else if (r.stimulsoft.is(l)) ; else { if (!r.stimulsoft.is(a)) break; t.dataBandInfo.groupHeaders.insert(0, r) } e-- } } , x.prototype.findGroupFooters = function(e) { if (null == e) return; if (null == e.parent) return; if (null == e.dataBandInfo) return; e.dataBandInfo.groupFooters = new E; var r = e.parent.components.indexOf(e) + 1; while (r < e.parent.components.count) { var i = e.parent.components.getByIndex(r); if (!i.stimulsoft.is(p)) if (i.stimulsoft.is(u)) ; else if (i.stimulsoft.is(l)) ; else if (i.stimulsoft.is(t.Report.Components.Table.StiTable) && !i.isConverted) ; else { if (!i.stimulsoft.is(t.Report.Components.StiGroupFooterBand)) break; e.dataBandInfo.groupFooters.add(i) } r++ } } , x.prototype.findDetailDataBands = function(e) { var r, i, n, a, s, u, m, p, d, f; if (null == e) return; if (null == e.parent) return; if (null == e.dataBandInfo) return; e.dataBandInfo.detailDataBands = new E; var S = e.page.getComponents() , A = e; if (e.isBusinessObjectEmpty) try { for (var y = __values(S.list), w = y.next(); !w.done; w = y.next()) { var b = w.value; if (b.stimulsoft.is(l)) continue; if (b == e) continue; b.stimulsoft.is(t.Report.Components.Table.StiTable) && !b.isConverted && e.name == b.name + "_DB" && (A = b); var v = b.stimulsoft.as(g); if (null != v && v.stimulsoft.is(t.Report.Components.StiDataBand) && (v.masterComponent == e || v.masterComponent == A) && (v.dataSource != A.dataSource || null == v.dataSource && null == A.dataSource)) { var B = b.parent; while (null != B && !B.stimulsoft.is(C)) { if (B == e) break; B = B.parent } B != e && e.dataBandInfo.detailDataBands.add(b) } var T = b.stimulsoft.as(h); if (null != T && null != T.subReportPage) try { for (var I = (n = void 0, __values(T.subReportPage.getComponents().list)), x = I.next(); !x.done; x = I.next()) { var F = x.value , D = F.stimulsoft.as(g); null == D || !D.stimulsoft.is(t.Report.Components.StiDataBand) || D.masterComponent != e && D.masterComponent != A || D.dataSource == A.dataSource && (null != D.dataSource || null != A.dataSource) || (null == e.dataBandInfo.detailDataBandsFromSubReports && (e.dataBandInfo.detailDataBandsFromSubReports = new c), e.dataBandInfo.detailDataBandsFromSubReports.set(F, null)) } } catch (t) { n = { error: t } } finally { try { x && !x.done && (a = I.return) && a.call(I) } finally { if (n) throw n.error } } } } catch (t) { r = { error: t } } finally { try { w && !w.done && (i = y.return) && i.call(y) } finally { if (r) throw r.error } } else { var R = new E , P = new E; try { for (var N = __values(S.list), k = N.next(); !k.done; k = N.next()) { var b = k.value , T = b.stimulsoft.as(h); null != T && null != T.subReportPage ? (R.addRange(T.subReportPage.getComponents()), P.addRange(T.subReportPage.getComponents())) : R.add(b) } } catch (t) { s = { error: t } } finally { try { k && !k.done && (u = N.return) && u.call(N) } finally { if (s) throw s.error } } S = R; var M = !1 , O = new c; try { for (var _ = __values(S.list), L = _.next(); !L.done; L = _.next()) { var b = L.value; if (b.stimulsoft.is(l)) continue; if (b == e) continue; if (O.containsKey(b)) continue; var j = b.stimulsoft.as(o); if (null != j && !j.isBusinessObjectEmpty) { if (e.businessObject == j.businessObject.parentBusinessObject) { var H = b.parent; while (null != H && !H.stimulsoft.is(C)) { if (H == e) break; H = H.parent } H != e && e.dataBandInfo.detailDataBands.add(b), -1 != P.indexOf(b) && (null == e.dataBandInfo.detailDataBandsFromSubReports && (e.dataBandInfo.detailDataBandsFromSubReports = new c), e.dataBandInfo.detailDataBandsFromSubReports.set(b, !0)), M = !0 } if (M && this.isParentOrCurrentBO(j.businessObject.parentBusinessObject, e.businessObject)) break; if (null != j.dataBandInfo.detailDataBands) try { for (var G = (d = void 0, __values(j.dataBandInfo.detailDataBands.list)), Q = G.next(); !Q.done; Q = G.next()) { var Y = Q.value; O.set(Y, null) } } catch (t) { d = { error: t } } finally { try { Q && !Q.done && (f = G.return) && f.call(G) } finally { if (d) throw d.error } } } } } catch (t) { m = { error: t } } finally { try { L && !L.done && (p = _.return) && p.call(_) } finally { if (m) throw m.error } } } } , x.prototype.isParentOrCurrentBO = function(t, e) { while (null != t) { if (t == e) return !1; t = t.parentBusinessObject } return !0 } , x.prototype.findSubReports = function(t) { var e, r, i, n; if (null == t) return; if (null == t.parent) return; if (null == t.dataBandInfo) return; t.dataBandInfo.subReports = new E; var o = t.getComponents(); try { for (var a = __values(o.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; l.stimulsoft.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 c = t.parent.components.indexOf(t) + 1; while (c < t.parent.components.count && t.parent.components.getByIndex(c).stimulsoft.is(u)) { var m = t.parent.components.getByIndex(c) , p = m.getComponents(); try { for (var d = (i = void 0, __values(p.list)), g = d.next(); !g.done; g = d.next()) { var l = g.value; l.stimulsoft.is(h) && t.dataBandInfo.subReports.add(l) } } catch (t) { i = { error: t } } finally { try { g && !g.done && (n = d.return) && n.call(d) } finally { if (i) throw i.error } } c++ } } , x.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 E; var i = t.getComponents(); try { for (var n = __values(i.list), a = n.next(); !a.done; a = n.next()) { var s = a.value , l = s.stimulsoft.as(g); if (null != l && !s.stimulsoft.is(h)) { if (!!(l.stimulsoft.is(o) && l.dataSource == t.dataSource && null != t.dataSource)) continue; t.dataBandInfo.details.add(s) } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } } , x.prototype.resetHeaders = function(t) { t.dataBandInfo.headers = null } , x.prototype.resetHierarchicalHeaders = function(t) { t.dataBandInfo.hierarchicalHeaders = null } , x.prototype.resetFooters = function(t) { t.dataBandInfo.footersOnAllPages = null, t.dataBandInfo.footersOnLastPage = null } , x.prototype.resetHierarchicalFooters = function(t) { t.dataBandInfo.hierarchicalFooters = null } , x.prototype.resetEmptyBands = function(t) { t.dataBandInfo.emptyBands = null } , x.prototype.resetGroupHeaders = function(t) { t.dataBandInfo.groupHeaders = null } , x.prototype.resetGroupFooters = function(t) { t.dataBandInfo.groupFooters = null } , x.prototype.resetDetailDataBands = function(t) { t.dataBandInfo.detailDataBands = null } , x.prototype.resetDetails = function(t) { t.dataBandInfo.details = null } , x.prototype.addKeepLevelAtLatestDataBandAsync = function(t) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(e) { switch (e.label) { case 0: return [4, t.report.engine.threads.selectThreadFromContainerAsync(t)]; case 1: return e.sent(), null != t.report.engine.containerForRender && t.report.engine.addKeepLevelAtLatestDataBand(), [2] } }) }) } , x.prototype.addKeepLevelAtLatestDataBand = function(t) { t.report.engine.threads.selectThreadFromContainer(t), null != t.report.engine.containerForRender && t.report.engine.addKeepLevelAtLatestDataBand() } , x.prototype.addKeepLevelAsync = function(t) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(e) { switch (e.label) { case 0: return [4, t.report.engine.threads.selectThreadFromContainerAsync(t)]; case 1: return e.sent(), null != t.report.engine.containerForRender && t.report.engine.addLevel(), [2] } }) }) } , x.prototype.addKeepLevel = function(t) { t.report.engine.threads.selectThreadFromContainer(t), null != t.report.engine.containerForRender && t.report.engine.addLevel() } , x.prototype.removeKeepLevelAsync = function(t) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(e) { switch (e.label) { case 0: return [4, t.report.engine.threads.selectThreadFromContainerAsync(t)]; case 1: return e.sent(), null != t.report.engine.containerForRender && t.report.engine.removeLevel(), [2] } }) }) } , x.prototype.removeKeepLevel = function(t) { t.report.engine.threads.selectThreadFromContainer(t), null != t.report.engine.containerForRender && t.report.engine.removeLevel() } , x.prototype.removeKeepGroupHeadersAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i, n, o, a, s; return __generator(this, function(l) { switch (l.label) { case 0: e = 0, l.label = 1; case 1: l.trys.push([1, 7, 8, 9]), r = __values(t.dataBandInfo.groupHeaders.list), i = r.next(), l.label = 2; case 2: if (i.done) return [3, 6]; if (n = i.value, !t.dataBandInfo.groupHeaderResults[e]) return [3, 4]; if (!n.keepGroupHeaderTogether) return [3, 4]; return [4, this.removeKeepLevelAsync(t)]; case 3: l.sent(), l.label = 4; case 4: e++, l.label = 5; case 5: return i = r.next(), [3, 2]; case 6: return [3, 9]; case 7: return o = l.sent(), a = { error: o }, [3, 9]; case 8: try { i && !i.done && (s = r.return) && s.call(r) } finally { if (a) throw a.error } return [7]; case 9: return [2] } }) }) } , x.prototype.removeKeepGroupHeaders = function(t) { var e, r, i = 0; try { for (var n = __values(t.dataBandInfo.groupHeaders.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; t.dataBandInfo.groupHeaderResults[i] && a.keepGroupHeaderTogether && this.removeKeepLevel(t), i++ } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } } , x.prototype.removeKeepHeadersAsync = function(t, e) { return __awaiter(this, void 0, void 0, function() { var r, i; return __generator(this, function(n) { switch (n.label) { case 0: r = 0, n.label = 1; case 1: if (!(r < t.dataBandInfo.headers.count)) return [3, 4]; if (i = t.dataBandInfo.headers.getByIndex(r).stimulsoft.as(s), !i.keepHeaderTogether || 0 != t.position && !e[r]) return [3, 3]; return [4, this.removeKeepLevelAsync(t)]; case 2: n.sent(), e[r] = !1, n.label = 3; case 3: return r++, [3, 1]; case 4: return [2] } }) }) } , x.prototype.removeKeepHeaders = function(t, e) { for (var r = 0; r < t.dataBandInfo.headers.count; r++) { t.dataBandInfo.headers.getByIndex(r).stimulsoft.as(s).keepHeaderTogether && (0 == t.position || e[r]) && (this.removeKeepLevel(t), e[r] = !1) } } , x.prototype.allowKeepDetails = function(t) { var e, r; if (!this.allowDetailDataBands(t)) return !1; if (t.keepDetails == d.None) return !1; try { for (var i = __values(t.dataBandInfo.detailDataBands.list), n = i.next(); !n.done; n = i.next()) { if (n.value.parent.name != t.parent.name) return !1 } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return !0 } , x.prototype.addKeepDetailsAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r; return __generator(this, function(i) { switch (i.label) { case 0: if (!this.allowKeepDetails(t)) return [2]; return t.keepDetails != d.KeepFirstDetailTogether && t.keepDetails != d.KeepFirstRowTogether || (e = t.report.engine.keepFirstDetailTogetherTablesList.get(t), r = null != e ? e.stimulsoft.as(o) : null, null == r && (r = t), t.report.engine.keepFirstDetailTogetherList.set(r, t)), [4, this.addKeepLevelAsync(t)]; case 1: return i.sent(), [2] } }) }) } , x.prototype.addKeepDetails = function(t) { if (!this.allowKeepDetails(t)) return; if (t.keepDetails == d.KeepFirstDetailTogether || t.keepDetails == d.KeepFirstRowTogether) { var e = t.report.engine.keepFirstDetailTogetherTablesList.get(t) , r = null != e ? e.stimulsoft.as(o) : null; null == r && (r = t), t.report.engine.keepFirstDetailTogetherList.set(r, t) } this.addKeepLevel(t) } , x.prototype.removeKeepDetailsAsync = function(t) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(e) { switch (e.label) { case 0: if (!this.allowKeepDetails(t) || t.keepDetails != d.KeepDetailsTogether) return [3, 2]; return [4, this.removeKeepLevelAsync(t)]; case 1: e.sent(), e.label = 2; case 2: if (null == t.masterComponent || null == t.report.engine.keepFirstDetailTogetherList.get(t.masterComponent)) return [3, 4]; return [4, this.removeKeepLevelAsync(t)]; case 3: e.sent(), t.report.engine.keepFirstDetailTogetherList.set(t.masterComponent, null), e.label = 4; case 4: if (null == t.report.engine.keepFirstDetailTogetherList.get(t)) return [3, 6]; return [4, this.removeKeepLevelAsync(t)]; case 5: e.sent(), t.report.engine.keepFirstDetailTogetherList.set(t, null), e.label = 6; case 6: return [2] } }) }) } , x.prototype.removeKeepDetails = function(t) { this.allowKeepDetails(t) && t.keepDetails == d.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)) } , x.prototype.removeKeepDetailsRowAsync = function(e) { return __awaiter(this, void 0, void 0, function() { var r; return __generator(this, function(i) { switch (i.label) { case 0: if (0 == e.dataBandInfo.detailDataBands.count) return [2]; r = e, i.label = 1; case 1: if (null == r || null == r.masterComponent) return [3, 4]; if (null == (r = r.masterComponent.stimulsoft.as(t.Report.Components.StiDataBand)) || r.keepDetails != d.KeepFirstRowTogether || null == e.report.engine.keepFirstDetailTogetherList.get(r)) return [3, 3]; return [4, this.removeKeepLevelAsync(r)]; case 2: i.sent(), e.report.engine.keepFirstDetailTogetherList.set(r, null), i.label = 3; case 3: return [3, 1]; case 4: return [2] } }) }) } , x.prototype.removeKeepDetailsRow = function(e) { if (0 == e.dataBandInfo.detailDataBands.count) return; var r = e; while (null != r && null != r.masterComponent) null != (r = r.masterComponent.stimulsoft.as(t.Report.Components.StiDataBand)) && r.keepDetails == d.KeepFirstRowTogether && null != e.report.engine.keepFirstDetailTogetherList.get(r) && (this.removeKeepLevel(r), e.report.engine.keepFirstDetailTogetherList.set(r, null)) } , x.prototype.startBands = function(t, e) { var r, i; try { for (var n = __values(e.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; this.startBand(t, a) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , x.prototype.startBand = function(t, e) { var r = e.stimulsoft.as(f); null != r && r.printOnAllPages && t.report.engine.bandsOnAllPages.add(t, e) } , x.prototype.endBands = function(t) { t.report.engine.bandsOnAllPages.remove(t) } , x.prototype.getGroupHeaderResult = function(t, e) { var r, i, n = 0; try { for (var o = __values(t.dataBandInfo.groupHeaders.list), a = o.next(); !a.done; a = o.next()) { if (a.value == e) return t.dataBandInfo.groupHeaderResults[n]; n++ } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return !1 } , x.prototype.getGroupFooterResult = function(t, e) { var r, i, n = 0; try { for (var o = __values(t.dataBandInfo.groupHeaders.list), a = o.next(); !a.done; a = o.next()) { if (a.value == e) return t.dataBandInfo.groupFooterResults[n]; n++ } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return !1 } , x.prototype.linkGroupHeadersAndGroupFooters = function(t) { var e, r; try { for (var i = __values(t.dataBandInfo.groupHeaders.list), n = i.next(); !n.done; n = i.next()) { n.value.groupHeaderBandInfo.groupFooter = null } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } for (var o = 0; o < t.dataBandInfo.groupFooters.count; o++) { var a = t.dataBandInfo.groupHeaders.count - o - 1; a >= 0 ? (t.dataBandInfo.groupFooters.getByIndex(o).groupFooterBandInfo.groupHeader = t.dataBandInfo.groupHeaders.getByIndex(a), t.dataBandInfo.groupHeaders.getByIndex(a).groupHeaderBandInfo.groupFooter = t.dataBandInfo.groupFooters.getByIndex(o)) : t.dataBandInfo.groupFooters.getByIndex(o).groupFooterBandInfo.groupHeader = null } } , x.prototype.resetLinkGroupHeadersAndGroupFooters = function(t) { var e, r, i, n; if (null != t.dataBandInfo.groupHeaders) try { for (var o = __values(t.dataBandInfo.groupHeaders.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; s.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(); !u.done; u = l.next()) { var s = u.value; s.groupFooterBandInfo.groupHeader = null } } catch (t) { i = { error: t } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (i) throw i.error } } } , x.prepareGroupResults = function(t) { var r, n, o = 0, a = t.position, s = t.count; null == t.dataBandInfo.groupHeaderCachedResults && (t.dataBandInfo.groupHeaderCachedResults = [], t.dataBandInfo.groupFooterCachedResults = []); var l = !1; null == t.dataBandInfo.groupHeaderCachedResults[a] && (t.dataBandInfo.groupHeaderCachedResults[a] = [], t.dataBandInfo.groupFooterCachedResults[a] = [], l = !0); try { for (var u = __values(t.dataBandInfo.groupHeaders.list), c = u.next(); !c.done; c = u.next()) { var m = c.value; if (a > 0) if (l) { if (t.isBusinessObjectEmpty) { t.position = a - 1; var p = e.StiGroupHeaderBandBuilder.getCurrentConditionValue(m); t.position = a; var h = e.StiGroupHeaderBandBuilder.getCurrentConditionValue(m); p && p.stimulsoft.is(i) && h && h.stimulsoft.is(i) ? t.dataBandInfo.groupHeaderResults[o] = 0 != i.compare(p, h) : t.dataBandInfo.groupHeaderResults[o] = p != h } else { var d = t.businessObject; d.setPrevValue(); var p = e.StiGroupHeaderBandBuilder.getCurrentConditionValue(m); d.restoreCurrentValue(); var h = e.StiGroupHeaderBandBuilder.getCurrentConditionValue(m); p && p.stimulsoft.is(i) && h && h.stimulsoft.is(i) ? t.dataBandInfo.groupHeaderResults[o] = 0 != i.compare(p, h) : t.dataBandInfo.groupHeaderResults[o] = p != h } t.dataBandInfo.groupHeaderCachedResults[a][o] = t.dataBandInfo.groupHeaderResults[o] } else t.dataBandInfo.groupHeaderResults[o] = t.dataBandInfo.groupHeaderCachedResults[a][o]; else t.dataBandInfo.groupHeaderResults[o] = !0; if (a < s - 1) if (l) { if (t.isBusinessObjectEmpty) { t.position = a + 1; var g = e.StiGroupHeaderBandBuilder.getCurrentConditionValue(m); t.position = a; var h = e.StiGroupHeaderBandBuilder.getCurrentConditionValue(m); g && g.stimulsoft.is(i) && h && h.stimulsoft.is(i) ? t.dataBandInfo.groupFooterResults[o] = 0 != i.compare(g, h) : t.dataBandInfo.groupFooterResults[o] = g != h } else { var d = t.businessObject; d.setNextValue(); var g = e.StiGroupHeaderBandBuilder.getCurrentConditionValue(m); d.restoreCurrentValue(); var h = e.StiGroupHeaderBandBuilder.getCurrentConditionValue(m); g && g.stimulsoft.is(i) && h && h.stimulsoft.is(i) ? t.dataBandInfo.groupFooterResults[o] = 0 != i.compare(g, h) : t.dataBandInfo.groupFooterResults[o] = g != h } t.dataBandInfo.groupFooterCachedResults[a][o] = t.dataBandInfo.groupFooterResults[o] } else t.dataBandInfo.groupFooterResults[o] = t.dataBandInfo.groupFooterCachedResults[a][o]; else t.dataBandInfo.groupFooterResults[o] = !0; o++ } } catch (t) { r = { error: t } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (r) throw r.error } } for (var f = 0; f < t.dataBandInfo.groupHeaderResults.length; f++) if (t.dataBandInfo.groupHeaderResults[f]) { for (var S = f + 1; S < t.dataBandInfo.groupHeaderResults.length; S++) t.dataBandInfo.groupHeaderResults[S] = !0; break } for (var A = 0; A < t.dataBandInfo.groupFooterResults.length; A++) if (t.dataBandInfo.groupFooterResults[A]) { for (var S = A + 1; S < t.dataBandInfo.groupFooterResults.length; S++) t.dataBandInfo.groupFooterResults[S] = !0; break } } , x.prototype.renderGroupHeadersAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i, n, o, a, s, l, u, c, m; return __generator(this, function(p) { switch (p.label) { case 0: t.parentBookmark = t.dataBandInfo.storedParentBookmark, e = !1, r = 0, p.label = 1; case 1: p.trys.push([1, 11, 12, 13]), i = __values(t.dataBandInfo.groupHeaders.toCast()), n = i.next(), p.label = 2; case 2: if (n.done) return [3, 10]; if (o = n.value, a = o, a.parentBookmark = t.parentBookmark, a.doBookmark(), a.parentBookmark != a.currentBookmark && (t.parentBookmark = a.currentBookmark), !t.dataBandInfo.groupHeaderResults[r]) return [3, 8]; for (s = r + 1; s < t.dataBandInfo.groupHeaders.count; s++) t.report.engine.removeBandFromPageBreakSkipList(t.dataBandInfo.groupHeaders.getByIndex(s).stimulsoft.as(y)); if (null != t.report && (l = t.report, l.cacheTotals && null != l.cachedTotals && l.cachedTotals.set(a, null)), a.groupHeaderBandInfo.skipKeepGroups = t.report.engine.isFirstDataBandOnPage && t.componentType == A.Master && 1 == a.line, a.groupHeaderBandInfo.skipKeepGroups || !a.keepGroupTogether) return [3, 4]; return [4, this.addKeepLevelAsync(t)]; case 3: p.sent(), p.label = 4; case 4: if (!a.keepGroupHeaderTogether) return [3, 6]; return [4, this.addKeepLevelAsync(t)]; case 5: p.sent(), p.label = 6; case 6: return t.line = 1, a.invokeBeginRender(), a.collapsingIndex = a.line, a.report.groupLine = a.line, x.invokeCollapsedEvent(a), [4, this.renderBandAsync(t, a)]; case 7: p.sent(), e = !0, x.isCollapsed(a, !0) && (a.groupHeaderBandInfo.oldSilentMode = t.report.engine.silentMode, t.report.engine.silentMode = !0, a.groupHeaderBandInfo.silentModeEnabled = !0), p.label = 8; case 8: r++, p.label = 9; case 9: return n = i.next(), [3, 2]; case 10: return [3, 13]; case 11: return u = p.sent(), c = { error: u }, [3, 13]; case 12: try { n && !n.done && (m = i.return) && m.call(i) } finally { if (c) throw c.error } return [7]; case 13: if (!e) return [3, 15]; return [4, this.renderColumnsAsync(t)]; case 14: p.sent(), p.label = 15; case 15: return [2] } }) }) } , x.prototype.renderGroupHeaders = function(t) { var e, r; t.parentBookmark = t.dataBandInfo.storedParentBookmark; var i = !1 , n = 0; try { for (var o = __values(t.dataBandInfo.groupHeaders.toCast()), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s; if (l.parentBookmark = t.parentBookmark, l.doBookmark(), l.parentBookmark != l.currentBookmark && (t.parentBookmark = l.currentBookmark), t.dataBandInfo.groupHeaderResults[n]) { for (var u = n + 1; u < t.dataBandInfo.groupHeaders.count; u++) t.report.engine.removeBandFromPageBreakSkipList(t.dataBandInfo.groupHeaders.getByIndex(u).stimulsoft.as(y)); if (null != t.report) { var c = t.report; c.cacheTotals && null != c.cachedTotals && c.cachedTotals.set(l, null) } l.groupHeaderBandInfo.skipKeepGroups = t.report.engine.isFirstDataBandOnPage && t.componentType == A.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, x.invokeCollapsedEvent(l), this.renderBand(t, l), i = !0, x.isCollapsed(l, !0) && (l.groupHeaderBandInfo.oldSilentMode = t.report.engine.silentMode, t.report.engine.silentMode = !0, l.groupHeaderBandInfo.silentModeEnabled = !0) } n++ } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } i && this.renderColumns(t) } , x.prototype.renderGroupFootersAsync = function(e) { return __awaiter(this, void 0, void 0, function() { var r, i, n, o; return __generator(this, function(a) { switch (a.label) { case 0: r = e.dataBandInfo.groupHeaders.count - 1, a.label = 1; case 1: if (!(r >= 0)) return [3, 10]; if (!e.dataBandInfo.groupFooterResults[r]) return [3, 9]; if (i = e.dataBandInfo.groupHeaders.getByIndex(r), i.invokeEndRender(), null == (n = i.groupHeaderBandInfo.groupFooter)) return [3, 6]; if (!(o = n.keepGroupFooterTogether)) return [3, 3]; return [4, this.addKeepLevelAtLatestDataBandAsync(e)]; case 2: a.sent(), a.label = 3; case 3: return i.groupHeaderBandInfo.silentModeEnabled && i.interaction.stimulsoft.is(t.Report.Components.StiBandInteraction) && !i.interaction.collapseGroupFooter && (e.report.engine.silentMode = i.groupHeaderBandInfo.oldSilentMode, i.groupHeaderBandInfo.silentModeEnabled = !1), [4, this.renderBandAsync(e, n)]; case 4: if (a.sent(), i.groupHeaderBandInfo.silentModeEnabled && (e.report.engine.silentMode = i.groupHeaderBandInfo.oldSilentMode, i.groupHeaderBandInfo.silentModeEnabled = !1), !o) return [3, 6]; return [4, this.removeKeepLevelAsync(e)]; case 5: a.sent(), a.label = 6; case 6: if (i.invokeEndRender(), i.groupHeaderBandInfo.skipKeepGroups || !i.keepGroupTogether) return [3, 8]; return [4, this.removeKeepLevelAsync(e)]; case 7: a.sent(), a.label = 8; case 8: e.report.engine.printOnAllPagesIgnoreList.remove(i), i.line++, a.label = 9; case 9: return r--, [3, 1]; case 10: return [2] } }) }) } , x.prototype.renderGroupFooters = function(e) { for (var r = e.dataBandInfo.groupHeaders.count - 1; r >= 0; r--) if (e.dataBandInfo.groupFooterResults[r]) { var i = e.dataBandInfo.groupHeaders.getByIndex(r); i.invokeEndRender(); var n = i.groupHeaderBandInfo.groupFooter; if (null != n) { var o = n.keepGroupFooterTogether; o && this.addKeepLevelAtLatestDataBand(e), i.groupHeaderBandInfo.silentModeEnabled && i.interaction.stimulsoft.is(t.Report.Components.StiBandInteraction) && !i.interaction.collapseGroupFooter && (e.report.engine.silentMode = i.groupHeaderBandInfo.oldSilentMode, i.groupHeaderBandInfo.silentModeEnabled = !1), this.renderBand(e, n), i.groupHeaderBandInfo.silentModeEnabled && (e.report.engine.silentMode = i.groupHeaderBandInfo.oldSilentMode, i.groupHeaderBandInfo.silentModeEnabled = !1), o && this.removeKeepLevel(e) } i.invokeEndRender(), !i.groupHeaderBandInfo.skipKeepGroups && i.keepGroupTogether && this.removeKeepLevel(e), e.report.engine.printOnAllPagesIgnoreList.remove(i), i.line++ } } , x.setDetails = function(e) { var r, i, n, o, a, s, l, u, m, p; if (!e.isDataSourceEmpty || !e.isBusinessObjectEmpty) { var h = new c; if (null != e.dataBandInfo.detailDataBands) try { for (var d = __values(e.dataBandInfo.detailDataBands.list), g = d.next(); !g.done; g = d.next()) { var f = g.value; if (e.report.engine.removeBandFromPageBreakSkipList(f.stimulsoft.as(y)), S.setData(f, !1), f.stimulsoft.is(t.Report.Components.StiDataBand) && !f.isBusinessObjectEmpty) { var A = f.businessObject; h.set(A, A) } } } catch (t) { r = { error: t } } finally { try { g && !g.done && (i = d.return) && i.call(d) } finally { if (r) throw r.error } } if (!e.isBusinessObjectEmpty) { var A = e.businessObject; try { for (var w = __values(A.businessObjects.list), b = w.next(); !b.done; b = w.next()) { var v = b.value; null == h.get(v) && v.setDetails() } } catch (t) { n = { error: t } } finally { try { b && !b.done && (o = w.return) && o.call(w) } finally { if (n) throw n.error } } } if (null != e.dataBandInfo.subReports) try { for (var C = __values(e.dataBandInfo.subReports.list), E = C.next(); !E.done; E = C.next()) { var B = E.value; if (null != B.subReportPage) { var T = B.subReportPage.getComponents(); try { for (var I = (l = void 0, __values(T.list)), F = I.next(); !F.done; F = I.next()) { var f = F.value , D = f; null != D && D.dataSource == e.dataSource || S.setData(f, !1) } } catch (t) { l = { error: t } } finally { try { F && !F.done && (u = I.return) && u.call(I) } finally { if (l) throw l.error } } } } } catch (t) { a = { error: t } } finally { try { E && !E.done && (s = C.return) && s.call(C) } finally { if (a) throw a.error } } if (null != e.dataBandInfo.details) try { for (var R = __values(e.dataBandInfo.details.list), P = R.next(); !P.done; P = R.next()) { var N = P.value; S.setData(N, !1) } } catch (t) { m = { error: t } } finally { try { P && !P.done && (p = R.return) && p.call(R) } finally { if (m) throw m.error } } } x.prepareGroupResults(e) } , x.prototype.renderDetailDataBandsAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i, n, o, a, s; return __generator(this, function(l) { switch (l.label) { case 0: if (!this.allowDetailDataBands(t)) return [3, 10]; l.label = 1; case 1: l.trys.push([1, 8, 9, 10]), e = __values(t.dataBandInfo.detailDataBands.list), r = e.next(), l.label = 2; case 2: if (r.done) return [3, 7]; if (i = r.value, !i.enabled || !this.isAllow(t, i)) return [3, 6]; if (i.parentBookmark = t.currentBookmark, null == (n = i.stimulsoft.as(w))) return [3, 4]; return [4, n.renderMasterAsync()]; case 3: return l.sent(), [3, 6]; case 4: return [4, i.renderAsync()]; case 5: l.sent(), l.label = 6; case 6: return r = e.next(), [3, 2]; case 7: return [3, 10]; case 8: return o = l.sent(), a = { error: o }, [3, 10]; case 9: try { r && !r.done && (s = e.return) && s.call(e) } finally { if (a) throw a.error } return [7]; case 10: return [2] } }) }) } , x.prototype.renderDetailDataBands = function(t) { var e, r; if (this.allowDetailDataBands(t)) try { for (var i = __values(t.dataBandInfo.detailDataBands.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.enabled && this.isAllow(t, o)) { o.parentBookmark = t.currentBookmark; var a = o.stimulsoft.as(w); null != a ? a.renderMaster() : o.render() } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , x.prototype.getParentDataBand = function(e) { var r = e.parent; while (null != r && !r.stimulsoft.is(C)) { if (r.stimulsoft.is(t.Report.Components.StiDataBand)) return r; if (r.stimulsoft.is(t.Report.Components.StiChildBand)) { var i = r.getMaster(); if (i.stimulsoft.is(o)) return i } r = r.parent } return null } , x.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 r = this.getParentDataBand(t); return r != this.getParentDataBand(e) || null == r } , x.prototype.allowDetailDataBands = function(t) { return t.dataBandInfo.detailDataBands.count > 0 && t.columns < 2 } , x.prototype.isDenyDetailsOnFirstPage = function(t) { return t.report.engine.isFirstDataBandOnPage && t.componentType == A.Master && 1 == t.line } , x.isDetailDataSourcesEmpty = function(t) { var e, r; if (null == t.dataBandInfo.detailDataBands || 0 == t.dataBandInfo.detailDataBands.count) return !1; try { for (var i = __values(t.dataBandInfo.detailDataBands.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.stimulsoft.is(b) && !o.stimulsoft.as(b).isEmpty) return !1; if (o.stimulsoft.is(v) && !o.stimulsoft.as(v).isEmpty) return !1 } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return !0 } , x.isPrintIfDetailEmpty = function(t) { var e, r; if (t.printIfDetailEmpty) return !0; if (this.isDetailDataSourcesEmpty(t)) return !1; var i = !1 , n = !0; try { for (var o = __values(t.dataBandInfo.detailDataBands.toCast()), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (n = !1, StiOptions.Engine.printIfDetailEmptyNesting) { s.saveState("CheckPrintIfDetailEmpty"), s.first(); while (!s.isEof) { if (this.isPrintIfDetailEmpty(s)) { i = !0; break } s.next() } s.restoreState("CheckPrintIfDetailEmpty") } else this.isPrintIfDetailEmpty(s) && (i = !0); if (i) 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 || i } , x.prototype.renderHeadersAsync = function(t, e) { return __awaiter(this, void 0, void 0, function() { var r, i; return __generator(this, function(n) { switch (n.label) { case 0: r = 0, n.label = 1; case 1: if (!(r < t.dataBandInfo.headers.count)) return [3, 6]; if (i = t.dataBandInfo.headers.getByIndex(r).stimulsoft.as(s), t.isEmpty && !i.printIfEmpty) return [3, 5]; if (t.isEmpty || !i.keepHeaderTogether) return [3, 3]; return [4, this.addKeepLevelAsync(t)]; case 2: n.sent(), e[r] = !0, n.label = 3; case 3: return [4, this.renderBandAsync(t, i)]; case 4: n.sent(), n.label = 5; case 5: return r++, [3, 1]; case 6: return [2] } }) }) } , x.prototype.renderHeaders = function(t, e) { for (var r = 0; r < t.dataBandInfo.headers.count; r++) { var i = t.dataBandInfo.headers.getByIndex(r).stimulsoft.as(s); t.isEmpty && !i.printIfEmpty || (!t.isEmpty && i.keepHeaderTogether && (this.addKeepLevel(t), e[r] = !0), this.renderBand(t, i)) } } , x.prototype.renderHierarchicalHeadersAsync = function(t, r, i) { return __awaiter(this, void 0, void 0, function() { var n, o, a, s, l, u; return __generator(this, function(c) { switch (c.label) { case 0: if (null == t.dataBandInfo.hierarchicalHeaders) return [2]; c.label = 1; case 1: c.trys.push([1, 8, 9, 10]), n = __values(t.dataBandInfo.hierarchicalHeaders.list), o = n.next(), c.label = 2; case 2: if (o.done) return [3, 7]; if (a = o.value, t.isEmpty && !a.printIfEmpty) return [3, 6]; if (t.isEmpty || !a.keepHeaderTogether) return [3, 4]; return [4, this.addKeepLevelAsync(t)]; case 3: c.sent(), c.label = 4; case 4: return r && e.StiHierarchicalBandBuilder.createIndention(t, a, i), [4, this.renderBandAsync(t, a)]; case 5: c.sent(), r && e.StiHierarchicalBandBuilder.createIndention(t, a, -i), c.label = 6; case 6: return o = n.next(), [3, 2]; case 7: return [3, 10]; case 8: return s = c.sent(), l = { error: s }, [3, 10]; case 9: try { o && !o.done && (u = n.return) && u.call(n) } finally { if (l) throw l.error } return [7]; case 10: return [2] } }) }) } , x.prototype.renderHierarchicalHeaders = function(t, r, i) { var n, o; if (null == t.dataBandInfo.hierarchicalHeaders) return; try { for (var a = __values(t.dataBandInfo.hierarchicalHeaders.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; t.isEmpty && !l.printIfEmpty || (!t.isEmpty && l.keepHeaderTogether && this.addKeepLevel(t), r && e.StiHierarchicalBandBuilder.createIndention(t, l, i), this.renderBand(t, l), r && e.StiHierarchicalBandBuilder.createIndention(t, l, -i)) } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , x.prototype.addFooterMarkerAsync = function(t, e) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(r) { switch (r.label) { case 0: return [4, t.report.engine.threads.selectThreadFromContainerAsync(t)]; case 1: return r.sent(), t.report.engine.addFooterMarker(e), [2] } }) }) } , x.prototype.addFooterMarker = function(t, e) { t.report.engine.threads.selectThreadFromContainer(t), t.report.engine.addFooterMarker(e) } , x.prototype.renderMarkerFootersOnAllPagesAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i, n, o, a; return __generator(this, function(s) { switch (s.label) { case 0: s.trys.push([0, 5, 6, 7]), e = __values(t.dataBandInfo.footersOnAllPages.list), r = e.next(), s.label = 1; case 1: if (r.done) return [3, 4]; if (i = r.value, t.isEmpty && !i.printIfEmpty) return [3, 3]; return [4, this.addFooterMarkerAsync(t, i)]; case 2: s.sent(), s.label = 3; case 3: return r = e.next(), [3, 1]; case 4: return [3, 7]; case 5: return n = s.sent(), o = { error: n }, [3, 7]; case 6: try { r && !r.done && (a = e.return) && a.call(e) } finally { if (o) throw o.error } return [7]; case 7: return [2] } }) }) } , x.prototype.renderMarkerFootersOnAllPages = function(t) { var e, r; try { for (var i = __values(t.dataBandInfo.footersOnAllPages.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; t.isEmpty && !o.printIfEmpty || this.addFooterMarker(t, o) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , x.prototype.renderFootersOnLastPageAsync = function(e) { return __awaiter(this, void 0, void 0, function() { var r, i, n, o, a, s, l; return __generator(this, function(u) { switch (u.label) { case 0: e.stimulsoft.is(t.Report.Components.StiHierarchicalBand) && (e.hierarchicalBandInfo.finalFooterCalculation = !0), u.label = 1; case 1: u.trys.push([1, 9, 10, 11]), r = __values(e.dataBandInfo.footersOnLastPage.list), i = r.next(), u.label = 2; case 2: if (i.done) return [3, 8]; if (n = i.value, e.isEmpty && !n.printIfEmpty) return [3, 7]; if (!(o = !e.isEmpty && n.keepFooterTogether)) return [3, 4]; return [4, this.addKeepLevelAtLatestDataBandAsync(e)]; case 3: u.sent(), u.label = 4; case 4: return [4, this.renderBandAsync(e, n)]; case 5: if (u.sent(), !o) return [3, 7]; return [4, this.removeKeepLevelAsync(e)]; case 6: u.sent(), u.label = 7; case 7: return i = r.next(), [3, 2]; case 8: return [3, 11]; case 9: return a = u.sent(), s = { error: a }, [3, 11]; case 10: try { i && !i.done && (l = r.return) && l.call(r) } finally { if (s) throw s.error } return [7]; case 11: return e.stimulsoft.is(t.Report.Components.StiHierarchicalBand) && (e.hierarchicalBandInfo.finalFooterCalculation = !1), [2] } }) }) } , x.prototype.renderFootersOnLastPage = function(e) { var r, i; e.stimulsoft.is(t.Report.Components.StiHierarchicalBand) && (e.hierarchicalBandInfo.finalFooterCalculation = !0); try { for (var n = __values(e.dataBandInfo.footersOnLastPage.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (!e.isEmpty || a.printIfEmpty) { var s = !e.isEmpty && a.keepFooterTogether; s && this.addKeepLevelAtLatestDataBand(e), this.renderBand(e, a), s && this.removeKeepLevel(e) } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } e.stimulsoft.is(t.Report.Components.StiHierarchicalBand) && (e.hierarchicalBandInfo.finalFooterCalculation = !1) } , x.prototype.renderFootersOnAllPagesAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i, n, o, a; return __generator(this, function(s) { switch (s.label) { case 0: s.trys.push([0, 5, 6, 7]), e = __values(t.dataBandInfo.footersOnAllPages.list), r = e.next(), s.label = 1; case 1: if (r.done) return [3, 4]; if (i = r.value, t.isEmpty && !i.printIfEmpty) return [3, 3]; return [4, this.renderBandAsync(t, i)]; case 2: s.sent(), s.label = 3; case 3: return r = e.next(), [3, 1]; case 4: return [3, 7]; case 5: return n = s.sent(), o = { error: n }, [3, 7]; case 6: try { r && !r.done && (a = e.return) && a.call(e) } finally { if (o) throw o.error } return [7]; case 7: return [2] } }) }) } , x.prototype.renderFootersOnAllPages = function(t) { var e, r; try { for (var i = __values(t.dataBandInfo.footersOnAllPages.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; t.isEmpty && !o.printIfEmpty || this.renderBand(t, o) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , x.prototype.renderHierarchicalFootersAsync = function(t, r, i) { return __awaiter(this, void 0, void 0, function() { var n, o, a, s, l, u, c; return __generator(this, function(m) { switch (m.label) { case 0: if (null == t.dataBandInfo.hierarchicalFooters) return [2]; m.label = 1; case 1: m.trys.push([1, 9, 10, 11]), n = __values(t.dataBandInfo.hierarchicalFooters.list), o = n.next(), m.label = 2; case 2: if (o.done) return [3, 8]; if (a = o.value, t.isEmpty && !a.printIfEmpty) return [3, 7]; if (!(s = !t.isEmpty && a.keepFooterTogether)) return [3, 4]; return [4, this.addKeepLevelAtLatestDataBandAsync(t)]; case 3: m.sent(), m.label = 4; case 4: return r && e.StiHierarchicalBandBuilder.createIndention(t, a, i), [4, this.renderBandAsync(t, a)]; case 5: if (m.sent(), r && e.StiHierarchicalBandBuilder.createIndention(t, a, -i), !s) return [3, 7]; return [4, this.removeKeepLevelAsync(t)]; case 6: m.sent(), m.label = 7; case 7: return o = n.next(), [3, 2]; case 8: return [3, 11]; case 9: return l = m.sent(), u = { error: l }, [3, 11]; case 10: try { o && !o.done && (c = n.return) && c.call(n) } finally { if (u) throw u.error } return [7]; case 11: return [2] } }) }) } , x.prototype.renderHierarchicalFooters = function(t, r, i) { var n, o; if (null == t.dataBandInfo.hierarchicalFooters) return; try { for (var a = __values(t.dataBandInfo.hierarchicalFooters.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (!t.isEmpty || l.printIfEmpty) { var u = !t.isEmpty && l.keepFooterTogether; u && this.addKeepLevelAtLatestDataBand(t), r && e.StiHierarchicalBandBuilder.createIndention(t, l, i), this.renderBand(t, l), r && e.StiHierarchicalBandBuilder.createIndention(t, l, -i), u && this.removeKeepLevel(t) } } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , x.prototype.renderReportTitlesAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i, n, o, a; return __generator(this, function(s) { switch (s.label) { case 0: if (null == t.dataBandInfo.reportTitles) return [2]; s.label = 1; case 1: s.trys.push([1, 6, 7, 8]), e = __values(t.dataBandInfo.reportTitles), r = e.next(), s.label = 2; case 2: if (r.done) return [3, 5]; if (i = r.value, t.isEmpty && !i.printIfEmpty) return [3, 4]; return [4, this.renderBandAsync(t, i)]; case 3: s.sent(), s.label = 4; case 4: return r = e.next(), [3, 2]; case 5: return [3, 8]; case 6: return n = s.sent(), o = { error: n }, [3, 8]; case 7: try { r && !r.done && (a = e.return) && a.call(e) } finally { if (o) throw o.error } return [7]; case 8: return [2] } }) }) } , x.prototype.renderReportTitles = function(t) { var e, r; if (null == t.dataBandInfo.reportTitles) return; try { for (var i = __values(t.dataBandInfo.reportTitles), n = i.next(); !n.done; n = i.next()) { var o = n.value; t.isEmpty && !o.printIfEmpty || this.renderBand(t, o) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , x.prototype.renderReportSummariesAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i, n, o, a, s; return __generator(this, function(l) { switch (l.label) { case 0: if (null == t.dataBandInfo.reportSummaries) return [2]; l.label = 1; case 1: l.trys.push([1, 9, 10, 11]), e = __values(t.dataBandInfo.reportSummaries), r = e.next(), l.label = 2; case 2: if (r.done) return [3, 8]; if (i = r.value, t.isEmpty && !i.printIfEmpty) return [3, 7]; if (!(n = !t.isEmpty && i.keepReportSummaryTogether)) return [3, 4]; return [4, this.addKeepLevelAtLatestDataBandAsync(t)]; case 3: l.sent(), l.label = 4; case 4: return [4, this.renderBandAsync(t, i)]; case 5: if (l.sent(), !n) return [3, 7]; return [4, this.removeKeepLevelAsync(t)]; case 6: l.sent(), l.label = 7; case 7: return r = e.next(), [3, 2]; case 8: return [3, 11]; case 9: return o = l.sent(), a = { error: o }, [3, 11]; case 10: try { r && !r.done && (s = e.return) && s.call(e) } finally { if (a) throw a.error } return [7]; case 11: return [2] } }) }) } , x.prototype.renderReportSummaries = function(t) { var e, r; if (null == t.dataBandInfo.reportSummaries) return; try { for (var i = __values(t.dataBandInfo.reportSummaries), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (!t.isEmpty || o.printIfEmpty) { var a = !t.isEmpty && o.keepReportSummaryTogether; a && this.addKeepLevelAtLatestDataBand(t), this.renderBand(t, o), a && this.removeKeepLevel(t) } } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , x.prototype.checkKeepReportSummaryTogether = function(t) { var e, r; if (null == t.dataBandInfo.reportSummaries) return !1; var i = !1; try { for (var n = __values(t.dataBandInfo.reportSummaries), o = n.next(); !o.done; o = n.next()) { var a = o.value; !t.isEmpty && a.keepReportSummaryTogether && (i = !0) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return i } , x.prototype.block = function(t) { var e, r, i, n, o, a, s, l, u, c, m, p; try { for (var h = __values(t.dataBandInfo.groupHeaders.list), d = h.next(); !d.done; d = h.next()) { var g = d.value; g.blocked = !0 } } catch (t) { e = { error: t } } finally { try { d && !d.done && (r = h.return) && r.call(h) } finally { if (e) throw e.error } } try { for (var f = __values(t.dataBandInfo.groupFooters.list), S = f.next(); !S.done; S = f.next()) { var g = S.value; g.blocked = !0 } } catch (t) { i = { error: t } } finally { try { S && !S.done && (n = f.return) && n.call(f) } finally { if (i) throw i.error } } try { for (var A = __values(t.dataBandInfo.headers.list), y = A.next(); !y.done; y = A.next()) { var g = y.value; g.blocked = !0 } } catch (t) { o = { error: t } } finally { try { y && !y.done && (a = A.return) && a.call(A) } finally { if (o) throw o.error } } try { for (var w = __values(t.dataBandInfo.footersOnAllPages.list), b = w.next(); !b.done; b = w.next()) { var g = b.value; g.blocked = !0 } } catch (t) { s = { error: t } } finally { try { b && !b.done && (l = w.return) && l.call(w) } finally { if (s) throw s.error } } try { for (var v = __values(t.dataBandInfo.footersOnLastPage.list), C = v.next(); !C.done; C = v.next()) { var g = C.value; g.blocked = !0 } } catch (t) { u = { error: t } } finally { try { C && !C.done && (c = v.return) && c.call(v) } finally { if (u) throw u.error } } if (null != t.dataBandInfo.reportSummaries) try { for (var E = __values(t.dataBandInfo.reportSummaries), B = E.next(); !B.done; B = E.next()) { var g = B.value; g.blocked = !0 } } catch (t) { m = { error: t } } finally { try { B && !B.done && (p = E.return) && p.call(E) } finally { if (m) throw m.error } } t.blocked = !0 } , x.prototype.unBlock = function(t) { var e, r, i, n, o, a, s, l, u, c; try { for (var m = __values(t.dataBandInfo.groupHeaders.list), p = m.next(); !p.done; p = m.next()) { var h = p.value; h.blocked = !1 } } catch (t) { e = { error: t } } finally { try { p && !p.done && (r = m.return) && r.call(m) } finally { if (e) throw e.error } } try { for (var d = __values(t.dataBandInfo.groupFooters.list), g = d.next(); !g.done; g = d.next()) { var h = g.value; h.blocked = !1 } } catch (t) { i = { error: t } } finally { try { g && !g.done && (n = d.return) && n.call(d) } finally { if (i) throw i.error } } try { for (var f = __values(t.dataBandInfo.headers.list), S = f.next(); !S.done; S = f.next()) { var h = S.value; h.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 A = __values(t.dataBandInfo.footersOnAllPages.list), y = A.next(); !y.done; y = A.next()) { var h = y.value; h.blocked = !1 } } catch (t) { s = { error: t } } finally { try { y && !y.done && (l = A.return) && l.call(A) } finally { if (s) throw s.error } } try { for (var w = __values(t.dataBandInfo.footersOnLastPage.list), b = w.next(); !b.done; b = w.next()) { var h = b.value; h.blocked = !1 } } catch (t) { u = { error: t } } finally { try { b && !b.done && (c = w.return) && c.call(w) } finally { if (u) throw u.error } } t.blocked = !1 } , x.prototype.checkHierarchicalHeadersAsync = function(e) { return __awaiter(this, void 0, void 0, function() { var r, i, n, o, n; return __generator(this, function(a) { switch (a.label) { case 0: if (!e.stimulsoft.is(t.Report.Components.StiHierarchicalBand)) return [3, 10]; if (r = 0, i = 0, e.isDataSourceEmpty || (r = e.dataSource.getLevel(), i = e.dataSource.position), e.isBusinessObjectEmpty || (r = e.businessObject.getLevel(), i = e.businessObject.position), 0 != i) return [3, 5]; n = 0, a.label = 1; case 1: if (!(n <= r)) return [3, 4]; return n != r && (e.hierarchicalBandInfo.specifiedLevel = n), [4, this.renderHierarchicalHeadersAsync(e, !0, n)]; case 2: a.sent(), e.hierarchicalBandInfo.specifiedLevel = -1, a.label = 3; case 3: return n++, [3, 1]; case 4: return [3, 10]; case 5: if (o = 0, e.isDataSourceEmpty || (e.dataSource.position--, o = e.dataSource.getLevel(), e.dataSource.position++), e.isBusinessObjectEmpty || (e.businessObject.setPrevValue(), o = e.businessObject.getLevel(), e.businessObject.restoreCurrentValue()), !(o < r)) return [3, 10]; n = r, a.label = 6; case 6: if (!(n > o)) return [3, 9]; return n != r && (e.hierarchicalBandInfo.specifiedLevel = n), [4, this.renderHierarchicalHeadersAsync(e, !0, n)]; case 7: a.sent(), e.hierarchicalBandInfo.specifiedLevel = -1, a.label = 8; case 8: return n--, [3, 6]; case 9: e.hierarchicalBandInfo.specifiedLevel = -1, a.label = 10; case 10: return [2] } }) }) } , x.prototype.checkHierarchicalHeaders = function(e) { if (e.stimulsoft.is(t.Report.Components.StiHierarchicalBand)) { var r = 0 , i = 0; if (e.isDataSourceEmpty || (r = e.dataSource.getLevel(), i = e.dataSource.position), e.isBusinessObjectEmpty || (r = e.businessObject.getLevel(), i = e.businessObject.position), 0 == i) for (var n = 0; n <= r; n++) n != r && (e.hierarchicalBandInfo.specifiedLevel = n), this.renderHierarchicalHeaders(e, !0, n), e.hierarchicalBandInfo.specifiedLevel = -1; else { var o = 0; if (e.isDataSourceEmpty || (e.dataSource.position--, o = e.dataSource.getLevel(), e.dataSource.position++), e.isBusinessObjectEmpty || (e.businessObject.setPrevValue(), o = e.businessObject.getLevel(), e.businessObject.restoreCurrentValue()), o < r) { for (var n = r; n > o; n--) n != r && (e.hierarchicalBandInfo.specifiedLevel = n), this.renderHierarchicalHeaders(e, !0, n), e.hierarchicalBandInfo.specifiedLevel = -1; e.hierarchicalBandInfo.specifiedLevel = -1 } } } } , x.prototype.checkHierarchicalFootersAsync = function(e) { return __awaiter(this, void 0, void 0, function() { var r, i, n, o, a, o; return __generator(this, function(s) { switch (s.label) { case 0: if (!e.stimulsoft.is(t.Report.Components.StiHierarchicalBand)) return [3, 10]; if (r = 0, i = 0, n = 0, e.isDataSourceEmpty || (r = e.dataSource.position, i = e.dataSource.count, n = e.dataSource.getLevel()), e.isBusinessObjectEmpty || (r = e.businessObject.position, i = e.businessObject.count, n = e.businessObject.getLevel()), r != i - 1) return [3, 5]; o = n, s.label = 1; case 1: if (!(o >= 0)) return [3, 4]; return o != n && (e.hierarchicalBandInfo.specifiedLevel = o), [4, this.renderHierarchicalFootersAsync(e, !0, o)]; case 2: s.sent(), s.label = 3; case 3: return o--, [3, 1]; case 4: return e.hierarchicalBandInfo.specifiedLevel = -1, [3, 10]; case 5: if (a = 0, e.isDataSourceEmpty || (e.dataSource.position++, a = e.dataSource.getLevel(), e.dataSource.position--), e.isBusinessObjectEmpty || (e.businessObject.setNextValue(), a = e.businessObject.getLevel(), e.businessObject.restoreCurrentValue()), !(a < n)) return [3, 10]; o = n, s.label = 6; case 6: if (!(o > a)) return [3, 9]; return o != n && (e.hierarchicalBandInfo.specifiedLevel = o), [4, this.renderHierarchicalFootersAsync(e, !0, o)]; case 7: s.sent(), s.label = 8; case 8: return o--, [3, 6]; case 9: e.hierarchicalBandInfo.specifiedLevel = -1, s.label = 10; case 10: return [2] } }) }) } , x.prototype.checkHierarchicalFooters = function(e) { if (e.stimulsoft.is(t.Report.Components.StiHierarchicalBand)) { var r = 0 , i = 0 , n = 0; if (e.isDataSourceEmpty || (r = e.dataSource.position, i = e.dataSource.count, n = e.dataSource.getLevel()), e.isBusinessObjectEmpty || (r = e.businessObject.position, i = e.businessObject.count, n = e.businessObject.getLevel()), r == i - 1) { for (var o = n; o >= 0; o--) o != n && (e.hierarchicalBandInfo.specifiedLevel = o), this.renderHierarchicalFooters(e, !0, o); e.hierarchicalBandInfo.specifiedLevel = -1 } else { var a = 0; if (e.isDataSourceEmpty || (e.dataSource.position++, a = e.dataSource.getLevel(), e.dataSource.position--), e.isBusinessObjectEmpty || (e.businessObject.setNextValue(), a = e.businessObject.getLevel(), e.businessObject.restoreCurrentValue()), a < n) { for (var o = n; o > a; o--) o != n && (e.hierarchicalBandInfo.specifiedLevel = o), this.renderHierarchicalFooters(e, !0, o); e.hierarchicalBandInfo.specifiedLevel = -1 } } } } , x.prototype.renderBandAsync = function(t, e, r, i) { return void 0 === r && (r = !1), void 0 === i && (i = !1), __awaiter(this, void 0, void 0, function() { return __generator(this, function(n) { switch (n.label) { case 0: return this.registerEmptyBands(t), e.stimulsoft.is(a) || (e != t && (e.parentBookmark = t.parentBookmark), e.doBookmark()), [4, t.report.engine.threads.selectThreadFromContainerAsync(e)]; case 1: if (n.sent(), null == t.report.engine.containerForRender) return [3, 3]; return [4, t.report.engine.renderBandAsync(e, r, i)]; case 2: n.sent(), n.label = 3; case 3: return [2] } }) }) } , x.prototype.renderBand = function(t, e, r, i) { void 0 === r && (r = !1), void 0 === i && (i = !1), this.registerEmptyBands(t), e.stimulsoft.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, i) } , x.prototype.renderColumnsAsync = function(t) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(e) { switch (e.label) { case 0: return [4, t.report.engine.threads.selectThreadFromContainerAsync(t)]; case 1: return e.sent(), [4, t.report.engine.columnsOnDataBand.renderColumnsAsync(t)]; case 2: return e.sent(), [2] } }) }) } , x.prototype.renderColumns = function(t) { t.report.engine.threads.selectThreadFromContainer(t), t.report.engine.columnsOnDataBand.renderColumns(t) } , x.prototype.registerEmptyBands = function(t) { t.report.engine.emptyBands.register(t.dataBandInfo.emptyBands) } , x.isCollapsed = function(e, r) { if (null == e.interaction || e.interaction.stimulsoft.is(t.Report.Components.StiBandInteraction) && !e.interaction.collapsingEnabled) return !1; var i = !(null == e.collapsedValue || !e.collapsedValue.stimulsoft.is(Boolean)) && e.collapsedValue.stimulsoft.toBoolean(); if (null == e.report.interactionCollapsingStates) return i; var n = null; if (null != e.collapsingTreePath && (n = e.report.interactionCollapsingStates[e.collapsingTreePath + e.name]), null == n && (n = e.report.interactionCollapsingStates[e.name]), null == n) return i; if (null == n[e.collapsingIndex]) return i; if (!n[e.collapsingIndex].stimulsoft.is(Boolean)) return i; return n[e.collapsingIndex].stimulsoft.toBoolean() } , x.prototype.setReportVariables = function(t) { var e = t; e.report.line = e.line, e.report.lineThrough = e.lineThrough } , x.prototype.prepare = function(t) { I.prototype.prepare.call(this, t); var e = t; this.findHeaders(e), this.findHierarchicalHeaders(e), this.findFooters(e), this.findHierarchicalFooters(e), this.findEmptyBands(e), this.findDetailDataBands(e), this.findDetails(e), this.findSubReports(e), this.findGroupHeaders(e), this.findGroupFooters(e), e.dataBandInfo.groupHeaderResults = new Array(e.dataBandInfo.groupHeaders.count), e.dataBandInfo.groupFooterResults = new Array(e.dataBandInfo.groupHeaders.count) } , x.prototype.unPrepare = function(t) { I.prototype.unPrepare.call(this, t); var e = t; e.dataBandInfo.headers = null, e.dataBandInfo.hierarchicalHeaders = null, e.dataBandInfo.footersOnAllPages = null, e.dataBandInfo.footersOnLastPage = null, e.dataBandInfo.hierarchicalFooters = null, e.dataBandInfo.emptyBands = null, e.dataBandInfo.footersOnLastPage = null, e.dataBandInfo.detailDataBands = null, e.dataBandInfo.subReports = null, e.dataBandInfo.reportTitles = null, e.dataBandInfo.reportSummaries = null, e.dataBandInfo.headers = null, e.dataBandInfo.groupHeaders = null, e.dataBandInfo.groupFooters = null } , x.invokeCollapsedEvent = function(e) { var r = new n; if (e.stimulsoft.is(a) ? (e.invokeGetCollapsed(r), e.collapsedValue = r.value) : e.stimulsoft.is(t.Report.Components.StiDataBand) && (e.invokeGetCollapsed(r), e.collapsedValue = r.value), null != r.value && null == e.report.interactionCollapsingStates) { e.report.interactionCollapsingStates = {}; var i = new c , o = e.name , s = e.stimulsoft.as(B); null != s && null != s.collapsingTreePath && (o = s.collapsingTreePath + e.name), e.report.interactionCollapsingStates[o] = i, i.set(e.collapsingIndex, r.value) } } , x.prototype.renderAsync = function(t) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(t) { return [2, null] }) }) } , x.prototype.render = function(t) { return null } , x.prototype.renderMasterAsync = function(i) { return __awaiter(this, void 0, void 0, function() { var n, a, s, l, u, u, c, m, p, h, d, g, f, A, y, w, b, v, C; return __generator(this, function(E) { switch (E.label) { case 0: return n = i.report.engine.isCrossBandsMode, a = i.stimulsoft.is(t.Report.Components.StiCrossDataBand), [4, i.report.engine.threads.selectThreadFromContainerAsync(i)]; case 1: E.sent(), i.report.engine.isCrossBandsMode = a, i.dataBandInfo.storedParentBookmark = i.parentBookmark, i.report.engine.isDynamicBookmarksMode = !0, i.invokeBeginRender(), this.block(i), this.linkGroupHeadersAndGroupFooters(i), E.label = 2; case 2: return E.trys.push([2, , 36, 37]), i.line = 1, null == i.masterComponent && (i.lineThrough = 1), s = null == i.masterComponent || !StiOptions.Engine.optimizeDetailDataFiltering, l = null != i.masterComponent ? i.masterComponent.stimulsoft.as(t.Report.Components.StiDataBand) : null, null != l && l.isDataSourceEmpty && l.isBusinessObjectEmpty && (s = !0), s || (null == i.report.engine.hashDataSourceReferencesCounter ? s = !0 : (i.isDataSourceEmpty || null != (u = i.report.engine.hashDataSourceReferencesCounter.get(i.dataSourceName)) && Math.trunc(u.stimulsoft.toNumber()) > 1 && (s = !0), i.isBusinessObjectEmpty || null != (u = i.report.engine.hashDataSourceReferencesCounter.get(i.businessObject.name)) && Math.trunc(u.stimulsoft.toNumber()) > 1 && (s = !0))), s && S.setData(i, !1), i.first(), i.report.engine.columnsOnDataBand.enabled = !1, [4, this.renderReportTitlesAsync(i)]; case 3: return E.sent(), c = Array.create(Boolean, i.dataBandInfo.headers.count), [4, this.renderHeadersAsync(i, c)]; case 4: return E.sent(), [4, this.renderFootersOnAllPagesAsync(i)]; case 5: if (E.sent(), this.startBands(i, i.dataBandInfo.headers), this.startBands(i, i.dataBandInfo.footersOnAllPages), this.startBands(i, i.dataBandInfo.groupHeaders), this.startBand(i, i), 0 != i.dataBandInfo.groupHeaders.count) return [3, 7]; return [4, this.renderColumnsAsync(i)]; case 6: E.sent(), E.label = 7; case 7: null != i.interaction && i.interaction.stimulsoft.is(T) && 0 == i.dataBandInfo.detailDataBands.count && !i.stimulsoft.is(t.Report.Components.StiHierarchicalBand) && (i.interaction.collapsingEnabled = !1), i.first(), m = 0, p = i.report.engine.containerForRender, h = 0; try { !r.isNullOrWhiteSpace(i.limitRows) && i.columns < 2 && (d = { ref: !1 }, g = e.StiParser.StiParser.parseTextValue("{" + i.limitRows + "}", i, i, d, !0), h = t.System.Convert.toInt32(g)) } catch (t) { f = r.format("Expression in LimitRows property of '{0}' can't be evaluated! {1}", i.name, t.message), i.report.writeToReportRenderingMessages(f) } E.label = 8; case 8: if (i.isEof) return [3, 28]; if (!(h > 0)) return [3, 10]; if (p != i.report.engine.containerForRender && (p = i.report.engine.containerForRender, m = 1), !(++m > h)) return [3, 10]; return [4, i.report.engine.newDestinationAsync()]; case 9: E.sent(), m = 1, E.label = 10; case 10: if (i.collapsingIndex = i.position, null != i.interaction && i.interaction.collapsingEnabled) { A = null, y = i; while (null != y.masterComponent && y.masterComponent.stimulsoft.is(o)) y = y.masterComponent, A = y.position.toString() + ":" + A; null != A && (i.collapsingTreePath = A) } return i.columns < 2 && (i.report.engine.columnsOnDataBand.enabled = !1), [4, this.renderGroupHeadersAsync(i)]; case 11: if (E.sent(), w = this.isDenyDetailsOnFirstPage(i), b = this.isDenyDetailsOnFirstPage(i)) return [3, 13]; return [4, this.addKeepDetailsAsync(i)]; case 12: E.sent(), E.label = 13; case 13: if (i.setReportVariables(), v = !1, !x.isPrintIfDetailEmpty(i)) return [3, 16]; return x.invokeCollapsedEvent(i), [4, this.checkHierarchicalHeadersAsync(i)]; case 14: return E.sent(), [4, this.renderBandAsync(i, i, !1, !0)]; case 15: E.sent(), v = !0, E.label = 16; case 16: if (!v) return [3, 18]; return [4, this.removeKeepHeadersAsync(i, c)]; case 17: E.sent(), E.label = 18; case 18: if (C = i.report.engine.silentMode, x.isCollapsed(i, !0) && (i.report.engine.silentMode = !0), b) return [3, 20]; return [4, this.removeKeepDetailsRowAsync(i)]; case 19: E.sent(), E.label = 20; case 20: return [4, this.renderDetailDataBandsAsync(i)]; case 21: if (E.sent(), i.report.engine.silentMode = C, !v) return [3, 23]; return [4, this.checkHierarchicalFootersAsync(i)]; case 22: E.sent(), E.label = 23; case 23: if (b) return [3, 25]; return [4, this.removeKeepDetailsAsync(i)]; case 24: E.sent(), E.label = 25; case 25: return [4, this.removeKeepGroupHeadersAsync(i)]; case 26: return E.sent(), [4, this.renderGroupFootersAsync(i)]; case 27: return E.sent(), i.line++, i.lineThrough++, i.next(), [3, 8]; case 28: return [4, i.report.engine.threads.selectThreadFromContainerAsync(i)]; case 29: return E.sent(), [4, this.renderMarkerFootersOnAllPagesAsync(i)]; case 30: return E.sent(), [4, this.renderFootersOnLastPageAsync(i)]; case 31: if (E.sent(), !this.checkKeepReportSummaryTogether(i)) return [3, 33]; return [4, this.renderReportSummariesAsync(i)]; case 32: return E.sent(), this.endBands(i), [3, 35]; case 33: return this.endBands(i), [4, this.renderReportSummariesAsync(i)]; case 34: E.sent(), E.label = 35; case 35: return [3, 37]; case 36: return this.resetLinkGroupHeadersAndGroupFooters(i), this.unBlock(i), i.report.engine.isCrossBandsMode = n, i.report.engine.isDynamicBookmarksMode = !1, [7]; case 37: return i.invokeEndRender(), [2] } }) }) } , x.prototype.renderMaster = function(i) { var n = i.report.engine.isCrossBandsMode , a = i.stimulsoft.is(t.Report.Components.StiCrossDataBand); i.report.engine.threads.selectThreadFromContainer(i), i.report.engine.isCrossBandsMode = a, i.dataBandInfo.storedParentBookmark = i.parentBookmark, i.report.engine.isDynamicBookmarksMode = !0, i.invokeBeginRender(), this.block(i), this.linkGroupHeadersAndGroupFooters(i); try { i.line = 1, null == i.masterComponent && (i.lineThrough = 1); var s = null == i.masterComponent || !StiOptions.Engine.optimizeDetailDataFiltering , l = null != i.masterComponent ? i.masterComponent.stimulsoft.as(t.Report.Components.StiDataBand) : null; if (null != l && l.isDataSourceEmpty && l.isBusinessObjectEmpty && (s = !0), !s) if (null == i.report.engine.hashDataSourceReferencesCounter) s = !0; else { if (!i.isDataSourceEmpty) { var u = i.report.engine.hashDataSourceReferencesCounter.get(i.dataSourceName); null != u && Math.trunc(u.stimulsoft.toNumber()) > 1 && (s = !0) } if (!i.isBusinessObjectEmpty) { var u = i.report.engine.hashDataSourceReferencesCounter.get(i.businessObject.name); null != u && Math.trunc(u.stimulsoft.toNumber()) > 1 && (s = !0) } } s && S.setData(i, !1), i.first(), i.report.engine.columnsOnDataBand.enabled = !1, this.renderReportTitles(i); var c = Array.create(Boolean, i.dataBandInfo.headers.count); this.renderHeaders(i, c), this.renderFootersOnAllPages(i), this.startBands(i, i.dataBandInfo.headers), this.startBands(i, i.dataBandInfo.footersOnAllPages), this.startBands(i, i.dataBandInfo.groupHeaders), this.startBand(i, i), 0 == i.dataBandInfo.groupHeaders.count && this.renderColumns(i), null != i.interaction && i.interaction.stimulsoft.is(T) && 0 == i.dataBandInfo.detailDataBands.count && !i.stimulsoft.is(t.Report.Components.StiHierarchicalBand) && (i.interaction.collapsingEnabled = !1), i.first(); var m = 0 , p = i.report.engine.containerForRender , h = 0; try { if (!r.isNullOrWhiteSpace(i.limitRows) && i.columns < 2) { var d = { ref: !1 } , g = e.StiParser.StiParser.parseTextValue("{" + i.limitRows + "}", i, i, d, !0); h = t.System.Convert.toInt32(g) } } catch (t) { var f = r.format("Expression in LimitRows property of '{0}' can't be evaluated! {1}", i.name, t.message); i.report.writeToReportRenderingMessages(f) } while (!i.isEof) { if (h > 0 && (p != i.report.engine.containerForRender && (p = i.report.engine.containerForRender, m = 1), ++m > h && (i.report.engine.newDestination(), m = 1)), i.collapsingIndex = i.position, null != i.interaction && i.interaction.collapsingEnabled) { var A = null , y = i; while (null != y.masterComponent && y.masterComponent.stimulsoft.is(o)) y = y.masterComponent, A = y.position.toString() + ":" + A; null != A && (i.collapsingTreePath = A) } i.columns < 2 && (i.report.engine.columnsOnDataBand.enabled = !1), this.renderGroupHeaders(i); var w = this.isDenyDetailsOnFirstPage(i) , b = this.isDenyDetailsOnFirstPage(i); b || this.addKeepDetails(i), i.setReportVariables(); var v = !1; x.isPrintIfDetailEmpty(i) && (x.invokeCollapsedEvent(i), this.checkHierarchicalHeaders(i), this.renderBand(i, i, !1, !0), v = !0), v && this.removeKeepHeaders(i, c); var C = i.report.engine.silentMode; x.isCollapsed(i, !0) && (i.report.engine.silentMode = !0), b || this.removeKeepDetailsRow(i), this.renderDetailDataBands(i), i.report.engine.silentMode = C, v && this.checkHierarchicalFooters(i), b || this.removeKeepDetails(i), this.removeKeepGroupHeaders(i), this.renderGroupFooters(i), i.line++, i.lineThrough++, i.next() } i.report.engine.threads.selectThreadFromContainer(i), this.renderMarkerFootersOnAllPages(i), this.renderFootersOnLastPage(i), this.checkKeepReportSummaryTogether(i) ? (this.renderReportSummaries(i), this.endBands(i)) : (this.endBands(i), this.renderReportSummaries(i)) } finally { this.resetLinkGroupHeadersAndGroupFooters(i), this.unBlock(i), i.report.engine.isCrossBandsMode = n, i.report.engine.isDynamicBookmarksMode = !1 } i.invokeEndRender() } , x }(e.StiBandBuilder); e.StiDataBandBuilder = I }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.internalRenderAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i, n, o, a; return __generator(this, function(s) { e = t.clone(); try { for (r = __values(e.scales), i = r.next(); !i.done; i = r.next()) n = i.value, n.prepare(e) } catch (t) { o = { error: t } } finally { try { i && !i.done && (a = r.return) && a.call(r) } finally { if (o) throw o.error } } return [2, e] }) }) } , e.prototype.internalRender = function(t) { var e, r, i = t.clone(); try { for (var n = __values(i.scales), o = n.next(); !o.done; o = n.next()) { o.value.prepare(i) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return i } , e }(t.StiComponentBuilder); t.StiGaugeBuilder = e }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiDataBand , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.getMaster = function(t) { var e = t.parent.components.indexOf(t) - 1; while (e >= 0) { if (t.parent.components.getByIndex(e).stimulsoft.is(r)) return t.parent.components.getByIndex(e); e-- } return null } , e.prototype.setReportVariables = function(t) { var e = t; e.report.groupLine = e.line } , e }(e.StiBandBuilder); e.StiGroupFooterBandBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiContainer , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.internalRenderAsync = function(i) { return __awaiter(this, void 0, void 0, function() { var n, o, a, a; return __generator(this, function(s) { switch (s.label) { case 0: if (n = i, this.isCollapsed(n)) return [2, new r]; return [4, t.prototype.internalRenderAsync.call(this, n)]; case 1: return o = s.sent().stimulsoft.as(r), null != o && (n.isDataSourceEmpty || n.dataSource.isEmpty || (a = n.dataSource.getLevel()) > 0 && e.createIndention(n, o, a), n.isBusinessObjectEmpty || n.businessObject.isEmpty || (a = n.businessObject.getLevel()) > 0 && e.createIndention(n, o, a)), [2, o] } }) }) } , e.prototype.internalRender = function(i) { var n = i; if (this.isCollapsed(n)) return new r; var o = t.prototype.internalRender.call(this, n).stimulsoft.as(r); if (null != o) { if (!n.isDataSourceEmpty && !n.dataSource.isEmpty) { var a = n.dataSource.getLevel(); a > 0 && e.createIndention(n, o, a) } if (!n.isBusinessObjectEmpty && !n.businessObject.isEmpty) { var a = n.businessObject.getLevel(); a > 0 && e.createIndention(n, o, a) } } return o } , e.prototype.isCollapsed = function(t, e) { void 0 === e && (e = !1); var r = t; if (0 == r.collapsingIndex || 0 == r.position) return !1; var i = r.collapsingIndex , n = r.position , o = 0 , a = !r.isBusinessObjectEmpty , s = null; r.isDataSourceEmpty || (o = r.dataSource.getLevel()), a && (o = r.businessObject.getLevel()); try { if (a) { var l = r.position; s = r.businessObject.current, r.position = 0; var u = []; while (u.length < l && !r.isEof) u.add(r.businessObject.current), r.next(); while (!0) { if (0 == r.collapsingIndex || 0 == l) return !1; if (r.collapsingIndex--, l--, r.businessObject.currentObject = u[l], o <= r.businessObject.getLevel()) continue; if (this.isCollapsed(r, !1)) return !0 } } if (!r.isDataSourceEmpty) while (!0) { if (0 == r.collapsingIndex || 0 == r.position) return !1; if (r.collapsingIndex--, r.position--, o <= r.dataSource.getLevel()) continue; if (this.isCollapsed(r, !1)) return !0 } return !1 } finally { a && (r.businessObject.currentObject = s), r.collapsingIndex = i, r.position = n } } , e.createIndention = function(t, e, r) { var i, n, 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) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } , e }(e.StiDataBandBuilder); e.StiHierarchicalBandBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), r.prototype.internalRenderAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i; return __generator(this, function(n) { return e = t, r = e.clone(!1), r.guid, null == r.image && (r.guid = null), null == r.imageToDraw && (i = e.getImageFromSource(), r.imageToDraw = i), r.invokeEvents(), [2, r] }) }) } , r.prototype.internalRender = function(e) { var r = e , i = r.clone(!1); if (i.guid && t.StiFileImageCache.remove(t.StiFileImageCache.getImageCacheName(r.report.imageCachePath, i.guid)), null == i.image && (i.guid = null), null == i.imageToDraw) { var n = r.getImageFromSource(); i.imageToDraw = n } return i.invokeEvents(), i } , r }(e.StiComponentBuilder); e.StiViewBuilder = r }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiImage , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.internalRenderAsync = function(e) { return __awaiter(this, void 0, void 0, function() { var i, n, o; return __generator(this, function(a) { switch (a.label) { case 0: return i = null != e ? e.stimulsoft.as(r) : null, [4, t.prototype.internalRenderAsync.call(this, i)]; case 1: return n = a.sent(), o = null != n ? n.stimulsoft.as(r) : null, [2, o] } }) }) } , e.prototype.internalRender = function(e) { var i = null != e ? e.stimulsoft.as(r) : null , n = t.prototype.internalRender.call(this, i); return null != n ? n.stimulsoft.as(r) : null } , e }(e.StiViewBuilder); e.StiImageBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function(e) { function i() { return null !== e && e.apply(this, arguments) || this } return __extends(i, e), i.renderMap = function(e) { var i, n, o = e.clone(), a = null; if (null != e.dataSource ? a = e.dataSourceName : null != e.businessObject && (a = e.businessObjectGuid), null != a && !r.isNullOrEmpty(e.keyDataColumn)) { var s = t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(o.report.dictionary, a + "." + e.keyDataColumn); if (null == s) return o; var l = null , u = null , c = null , m = null; if (r.isNullOrEmpty(e.nameDataColumn) || (l = t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(o.report.dictionary, a + "." + e.nameDataColumn)), r.isNullOrEmpty(e.valueDataColumn) || (u = t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(o.report.dictionary, a + "." + e.valueDataColumn)), r.isNullOrEmpty(e.groupDataColumn) || (c = t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(o.report.dictionary, a + "." + e.groupDataColumn)), r.isNullOrEmpty(e.colorDataColumn) || (m = t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(o.report.dictionary, a + "." + e.colorDataColumn)), null == l && null == u && null == c && null == m) return o; for (var p = o.getMapData(), h = function(t) { var e = s[t].toString() , i = null; if (r.isNullOrEmpty(e) || (i = p.firstOrDefault(function(t) { return t.key == e })), null == i) return "continue"; if (null != l && l.length > 0) { var n = l[t].toString(); r.isNullOrEmpty(n) ? i.name = null : i.name = n } if (null != u && u.length > 0 && (i.value = u[t]), null != c && c.length > 0) { var o = c[t].toString(); r.isNullOrEmpty(o) ? i.group = null : i.group = o } if (null != m && m.length > 0) { var a = m[t].toString(); r.isNullOrEmpty(a) ? i.color = null : i.color = a } }, d = 0; d < s.length; d++) h(d); var g = []; try { for (var f = __values(p), S = f.next(); !S.done; S = f.next()) { var A = S.value; g.add({ Key: A.key, Value: A.value, Group: A.group, Color: A.color, Name: A.name }) } } catch (t) { i = { error: t } } finally { try { S && !S.done && (n = f.return) && n.call(f) } finally { if (i) throw i.error } } o.mapData = JSON.stringify(g) } return o } , i.prototype.prepare = function(t) { e.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)) } , i.prototype.internalRenderAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e; return __generator(this, function(r) { return e = t, [2, i.renderMap(e)] }) }) } , i.prototype.internalRender = function(t) { var e = t; return i.renderMap(e) } , i }(e.StiComponentBuilder); e.StiMapBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiComponentsCollection , i = t.Report.Components.StiOverlayBand , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.prepare = function(e) { var n, o, a = e; t.prototype.prepare.call(this, a), a.pageInfo.isReportTitlesRendered = !1, a.pageInfo.renderedCount = 0, a.pageInfo.overlays = new r; try { for (var s = __values(a.components.list), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = u.stimulsoft.as(i); null != c && a.pageInfo.overlays.add(c) } } catch (t) { n = { error: t } } finally { try { l && !l.done && (o = s.return) && o.call(s) } finally { if (n) throw n.error } } } , e.prototype.unPrepare = function(e) { t.prototype.unPrepare.call(this, e), e.pageInfo.overlays = null } , e }(e.StiContainerBuilder); e.StiPageBuilder = n }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.internalRenderAsync = function(e) { return __awaiter(this, void 0, void 0, function() { var r, i; return __generator(this, function(n) { switch (n.label) { case 0: return r = e, [4, t.prototype.internalRenderAsync.call(this, r)]; case 1: return i = n.sent(), i.storedColumn = r.report.column, [2, i] } }) }) } , e.prototype.internalRender = function(e) { var r = e , i = t.prototype.internalRender.call(this, r); return i.storedColumn = r.report.column, i } , e }(t.StiComponentBuilder); t.StiPointPrimitiveBuilder = e }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function t() {} return t.renderSingleReportAsync = function(t, r) { return __awaiter(this, void 0, void 0, function() { var i, n, o; return __generator(this, function(a) { switch (a.label) { case 0: i = t.engine, n = null, null != i && (n = t.engine.report), a.label = 1; case 1: return a.trys.push([1, 3, 4, 5]), t.indexName = 1, null != i ? (t.engine = i, t.engine.report = t) : t.engine = new e.StiEngine(t), t.isRendering = !0, [4, e.StiRenderProvider.renderAsync(t, r)]; case 2: return a.sent(), [3, 5]; case 3: throw o = a.sent(); case 4: return t.isRendering = !1, null == i ? t.engine = null : i.report = n, [7]; case 5: return [2] } }) }) } , t.renderSingleReport = function(t, r) { var i = t.engine , n = null; null != i && (n = t.engine.report); try { t.indexName = 1, null != i ? (t.engine = i, t.engine.report = t) : t.engine = new e.StiEngine(t), t.isRendering = !0, e.StiRenderProvider.render(t, r) } catch (t) { throw t } finally { t.isRendering = !1, null == i ? t.engine = null : i.report = n } } , t.renderSubReports = function(t, i) { var n, o, a, s, l, u, c, m, p, h, d, g, f, S, A, y, w, b, v, C; t.renderedPages.clear(); try { for (var E = __values(t.subReports.list), B = E.next(); !B.done; B = E.next()) var T = B.value } catch (t) { n = { error: t } } finally { try { B && !B.done && (o = E.return) && o.call(E) } finally { if (n) throw n.error } } try { for (var I = __values(t.subReports.list), x = I.next(); !x.done; x = I.next()) var T = x.value } catch (t) { a = { error: t } } finally { try { x && !x.done && (s = I.return) && s.call(I) } finally { if (a) throw a.error } } try { for (var F = __values(t.subReports.list), D = F.next(); !D.done; D = F.next()) { var T = D.value; T.renderedPages = t.renderedPages } } catch (t) { l = { error: t } } finally { try { D && !D.done && (u = F.return) && u.call(F) } finally { if (l) throw l.error } } var R = new r; t.isStopped = !1, t.invokeBeginRender(); var P = null , N = null; if (t.pages.getByIndex(0).getComponents().count > 0) { P = new e.StiEngine(t), t.engine = P, t.currentPrintPage = 0, t.subReportsMasterReport = t, N = t, null != t.compiledReport && (N = t.compiledReport, t.compiledReport.subReportsMasterReport = t, t.compiledReport.renderedPages.clear()); var k = t.subReports; t.subReports = null, i.isSubReportMode = !0, t.render(), t.subReports = k, t.subReportsMasterReport = null } else P = new e.StiEngine(t), t.currentPrintPage = 0, t.engine = P, null != t.compiledReport && (t.compiledReport.engine = P); null != t.compiledReport && (t.currentPrintPage = t.compiledReport.currentPrintPage); var M = 0 , O = null; try { for (var _ = __values(t.subReports.list), L = _.next(); !L.done; L = _.next()) { var T = L.value; try { T.subReportsMasterReport = t, null != T.compiledReport ? (T.compiledReport.subReportsMasterReport = t, T.engine = P, T.compiledReport.engine = P, T.compiledReport.currentPrintPage = t.currentPrintPage) : (T.engine = P, T.currentPrintPage = t.currentPrintPage), null != O && (T.pages.getByIndex(0).printOnPreviousPage = T.subReportsPrintOnPreviousPage, null != T.compiledReport && (T.compiledReport.pages.getByIndex(0).printOnPreviousPage = T.subReportsPrintOnPreviousPage)), null != O && (T.pages.getByIndex(0).resetPageNumber = T.subReportsResetPageNumber, null != T.compiledReport && (T.compiledReport.pages.getByIndex(0).resetPageNumber = T.subReportsResetPageNumber)); var j = t.renderedPages.count; P.pageNumbers.pageNumbers.count > 0 && (P.pageNumbers.pageNumbers.getByIndex(P.pageNumbers.pageNumbers.count - 1).fixedPosition = !0), T.totals = new r, T.render(), null != T.compiledReport ? t.currentPrintPage = T.compiledReport.currentPrintPage : t.currentPrintPage = T.currentPrintPage; var H = new r , G = T; null != G.compiledReport && (G = T.compiledReport); var Q = Array.create(Object, G.totals.keys.length); G.totals.keys.copyTo(Q, 0); try { for (var Y = (p = void 0, __values(Q)), U = Y.next(); !U.done; U = Y.next()) { var J = U.value , W = G.totals.get(J); if (null != W) { var V = []; H.set(J, V); try { for (var z = (d = void 0, __values(W)), X = z.next(); !X.done; X = z.next()) { var K = X.value; V.add(K.clone()) } } catch (t) { d = { error: t } } finally { try { X && !X.done && (g = z.return) && g.call(z) } finally { if (d) throw d.error } } } } } catch (t) { p = { error: t } } finally { try { U && !U.done && (h = Y.return) && h.call(Y) } finally { if (p) throw p.error } } if (R.set(M++, H), T.reportUnit != t.reportUnit) for (var Z = j; Z < t.renderedPages.count; Z++) { var q = t.renderedPages.getByIndex(Z); q.convert(T.unit, t.unit) } } finally { T.subReportsMasterReport = null, null != T.compiledReport && (T.compiledReport.subReportsMasterReport = null) } if (T.isStopped) { t.isStopped = T.isStopped; break } t.bookmark.bookmarks.addRange(T.bookmark.bookmarks), O = T } } catch (t) { c = { error: t } } finally { try { L && !L.done && (m = _.return) && m.call(_) } finally { if (c) throw c.error } } P.pageNumbers.processPageNumbers(), M = 0; try { for (var $ = __values(t.subReports.list), tt = $.next(); !tt.done; tt = $.next()) { var T = tt.value , G = T; null != G.compiledReport && (G = G.compiledReport), G.totals = R.get(M++), G.invokeEndRender() } } catch (t) { f = { error: t } } finally { try { tt && !tt.done && (S = $.return) && S.call($) } finally { if (f) throw f.error } } try { for (var et = __values(t.subReports.list), rt = et.next(); !rt.done; rt = et.next()) { var T = rt.value; T.totals = null } } catch (t) { A = { error: t } } finally { try { rt && !rt.done && (y = et.return) && y.call(et) } finally { if (A) throw A.error } } null != N && (N.engine = P, N.invokeEndRender(), N.engine = null), null != N && N == t || t.invokeEndRender(); try { for (var it = __values(t.renderedPages.list), nt = it.next(); !nt.done; nt = it.next()) { var q = nt.value; q.report = null != t.compiledReport ? t.compiledReport : t } } catch (t) { w = { error: t } } finally { try { nt && !nt.done && (b = it.return) && b.call(it) } finally { if (w) throw w.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), e.StiPostProcessProvider.postProcessPages(t.renderedPages), null != t && null != t.renderedPages) try { for (var ot = __values(t.renderedPages.list), at = ot.next(); !at.done; at = ot.next()) { var q = at.value; q.report = t } } catch (t) { v = { error: t } } finally { try { at && !at.done && (C = ot.return) && C.call(ot) } finally { if (v) throw v.error } } i.isSubReportMode = !1, t.invokeRefreshViewer() } , t }(); e.StiReportBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Helpers.StiHyperlinkProcessor , o = t.Report.Components.StiColorScaleCondition , a = t.Report.Components.IStiIndicatorCondition , s = t.Report.Components.StiSimpleText , l = t.Report.Components.StiText , u = t.Report.Events.StiGetValueEventArgs , c = t.Report.Components.StiOverlayBand , m = t.Report.Events.StiGetExcelValueEventArgs , p = t.Report.Events.StiValueEventArgs , h = t.Report.Components.StiPage , d = function(r) { function d() { return null !== r && r.apply(this, arguments) || this } return __extends(d, r), d.prototype.prepare = function(t) { r.prototype.prepare.call(this, t), StiOptions.Engine.allowResetValuesAtComponent && (t.textValue = null) } , d.prototype.internalRenderAsync = function(r) { return __awaiter(this, void 0, void 0, function() { var d, g, f, S, A, y, w, b, v, C, E, C, B, T, I, x, B, T, I, F, D; return __generator(this, function(R) { if (d = r.stimulsoft.as(s), g = d.clone(!1), null != d.conditions && d.conditions.count > 0 && g.stimulsoft.is(l)) try { for (f = __values(d.conditions.list), S = f.next(); !S.done; S = f.next()) if (A = S.value, null != (y = A.stimulsoft.as(a))) { if (w = null, y.stimulsoft.is(o) && (w = d.brush), null != (b = y.createIndicator(d.stimulsoft.as(l)))) { g.indicator = b; break } d.brush != w && (g.brush = d.brush, d.brush = w) } } catch (t) { F = { error: t } } finally { try { S && !S.done && (D = f.return) && D.call(f) } finally { if (F) throw F.error } } if (v = new u, i.isNullOrEmpty(d.textValue) ? (d.invokeGetValue(g, v), r.stimulsoft.is(t.Report.Components.StiRichText) && !i.isNullOrEmpty(v.value) && n.isServerHyperlink(v.value) && (v.value = t.Report.Components.StiRichText.notSupportedText), g.invokeEvents(), d.checkDuplicates(g, v), C = new p(v.value), g.invokeTextProcess(g, C), E = v.value, i.isNullOrEmpty(g.textValue) || (E = g.textValue), g.setTextInternal(d.processText(d.getTextWithoutZero(E))), d.invokeRenderTo(g)) : (g.invokeEvents(), C = new p(d.textValue), g.invokeTextProcess(g, C), g.setTextInternal(d.getTextWithoutZero(C.value))), v.storeToPrinted) { B = d.report.totals.get(d.name), null == B && (B = [], d.report.totals.set(d.name, B)), T = new e.StiRuntimeVariables(d.report), T.pageIndex = d.report.renderedPages.count, T.textBox = g, B.add(T), d.report.totals.set("#%#" + d.name, d.text), I = r.parent; while (null != I && !I.stimulsoft.is(h) && !I.stimulsoft.is(c)) I = I.parent; null != I && I.stimulsoft.is(c) && (T.pageIndex++, T.currentPrintPage++) } if (d.stimulsoft.is(l)) if (i.isNullOrEmpty(d.excelDataValue) || "-" == d.excelDataValue) { if (x = new m, d.invokeGetExcelValue(g, x), x.storeToPrinted) { B = d.report.totals.get(d.name + "Excel"), null == B && (B = [], d.report.totals.set(d.name + "Excel", B)), T = new e.StiRuntimeVariables(d.report), T.pageIndex = d.report.renderedPages.count, T.textBox = g, B.add(T), I = r.parent; while (null != I && !I.stimulsoft.is(h) && !I.stimulsoft.is(c)) I = I.parent; null != I && I.stimulsoft.is(c) && (T.pageIndex++, T.currentPrintPage++) } } else d.excelDataValue = d.excelDataValue; return [2, g] }) }) } , d.prototype.internalRender = function(r) { var d, g, f = r.stimulsoft.as(s), S = f.clone(!1); if (null != f.conditions && f.conditions.count > 0 && S.stimulsoft.is(l)) try { for (var A = __values(f.conditions.list), y = A.next(); !y.done; y = A.next()) { var w = y.value , b = w.stimulsoft.as(a); if (null != b) { var v = null; b.stimulsoft.is(o) && (v = f.brush); var C = b.createIndicator(f.stimulsoft.as(l)); if (null != C) { S.indicator = C; break } f.brush != v && (S.brush = f.brush, f.brush = v) } } } catch (t) { d = { error: t } } finally { try { y && !y.done && (g = A.return) && g.call(A) } finally { if (d) throw d.error } } var E = new u; if (i.isNullOrEmpty(f.textValue)) { f.invokeGetValue(S, E), r.stimulsoft.is(t.Report.Components.StiRichText) && !i.isNullOrEmpty(E.value) && n.isServerHyperlink(E.value) && (E.value = t.Report.Components.StiRichText.notSupportedText), S.invokeEvents(), f.checkDuplicates(S, E); var B = new p(E.value); S.invokeTextProcess(S, B); var T = E.value; i.isNullOrEmpty(S.textValue) || (T = S.textValue), S.setTextInternal(f.processText(f.getTextWithoutZero(T))), f.invokeRenderTo(S) } else { S.invokeEvents(); var B = new p(f.textValue); S.invokeTextProcess(S, B), S.setTextInternal(f.getTextWithoutZero(B.value)) } if (E.storeToPrinted) { var I = f.report.totals.get(f.name); null == I && (I = [], f.report.totals.set(f.name, I)); var x = new e.StiRuntimeVariables(f.report); x.pageIndex = f.report.renderedPages.count, x.textBox = S, I.add(x), f.report.totals.set("#%#" + f.name, f.text); var F = r.parent; while (null != F && !F.stimulsoft.is(h) && !F.stimulsoft.is(c)) F = F.parent; null != F && F.stimulsoft.is(c) && (x.pageIndex++, x.currentPrintPage++) } if (f.stimulsoft.is(l)) if (i.isNullOrEmpty(f.excelDataValue) || "-" == f.excelDataValue) { var D = new m; if (f.invokeGetExcelValue(S, D), D.storeToPrinted) { var I = f.report.totals.get(f.name + "Excel"); null == I && (I = [], f.report.totals.set(f.name + "Excel", I)); var x = new e.StiRuntimeVariables(f.report); x.pageIndex = f.report.renderedPages.count, x.textBox = S, I.add(x); var F = r.parent; while (null != F && !F.stimulsoft.is(h) && !F.stimulsoft.is(c)) F = F.parent; null != F && F.stimulsoft.is(c) && (x.pageIndex++, x.currentPrintPage++) } } else f.excelDataValue = f.excelDataValue; return S } , d }(r.StiComponentBuilder); r.StiSimpleTextBuilder = d }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiPage , i = t.System.EventArgs , n = t.Report.Components.StiSubReport , o = t.Report.Components.StiContainerHelper , a = t.Report.Components.StiContainer , s = function(t) { function s() { return null !== t && t.apply(this, arguments) || this } return __extends(s, t), s.prototype.internalRenderAsync = function(s) { return __awaiter(this, void 0, void 0, function() { var l, u, c; return __generator(this, function(m) { switch (m.label) { case 0: return l = s.stimulsoft.as(n), null != l.subReportPage && l.subReportPage.invokeBeforePrint(l.subReportPage, i.empty), [4, t.prototype.internalRenderAsync.call(this, l)]; case 1: if (u = m.sent().stimulsoft.as(a), u.canBreak = !0, u.canGrow = !0, u.canShrink = !0, l.parent.stimulsoft.is(r) && (u.canGrow = !1), !(c = null != e.StiSubReportsHelper.getParentBand(l))) return [3, 3]; return [4, e.StiSubReportsHelper.renderSubReportAsync(u, l)]; case 2: return m.sent(), o.checkSize(u), [3, 4]; case 3: u.canShrink = !1, m.label = 4; case 4: return null != l.subReportPage && l.subReportPage.invokeAfterPrint(l.subReportPage, i.empty), [2, u] } }) }) } , s.prototype.internalRender = function(s) { var l = s.stimulsoft.as(n); null != l.subReportPage && l.subReportPage.invokeBeforePrint(l.subReportPage, i.empty); var u = t.prototype.internalRender.call(this, l).stimulsoft.as(a); return u.canBreak = !0, u.canGrow = !0, u.canShrink = !0, l.parent.stimulsoft.is(r) && (u.canGrow = !1), null != e.StiSubReportsHelper.getParentBand(l) ? (e.StiSubReportsHelper.renderSubReport(u, l), o.checkSize(u)) : u.canShrink = !1, null != l.subReportPage && l.subReportPage.invokeAfterPrint(l.subReportPage, i.empty), u } , s }(e.StiContainerBuilder); e.StiSubReportBuilder = s }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiTextInCells , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.internalRenderAsync = function(e) { return __awaiter(this, void 0, void 0, function() { var i, n, o; return __generator(this, function(a) { switch (a.label) { case 0: return i = e, [4, t.prototype.internalRenderAsync.call(this, e)]; case 1: return n = a.sent(), o = n.getTextInternal(), [2, null != o && o.stimulsoft.startsWith("#%#") ? n : r.splitByCells2(i, n, o, !0)] } }) }) } , e.prototype.internalRender = function(e) { var i = e , n = t.prototype.internalRender.call(this, e) , o = n.getTextInternal(); return null != o && o.stimulsoft.startsWith("#%#") ? n : r.splitByCells2(i, n, o, !0) } , e }(e.StiSimpleTextBuilder); e.StiTextInCellsBuilder = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiComponentInfo , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(r); e.StiBandInfo = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiComponentInfo , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.dataBandPosition = -1, e.dataSourceRow = null, e.businessObjectCurrent = null, e.isAutoRendered = !1, e.ignoreResetPageNumber = !1, e.isColumns = !1, e.renderStep = -1, e.setSegmentPerWidth = -1, e.parentBand = null, e } return __extends(e, t), e }(r); e.StiContainerInfo = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiComponentInfo , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.groupHeaders = null, e.groupFooters = null, e.groupHeaderComponents = null, e.groupFooterComponents = null, e.detailDataBands = null, e.details = null, e.subReports = null, e.emptyBands = null, e.headers = null, e.hierarchicalHeaders = null, e.footersOnAllPages = null, e.footersOnLastPage = null, e.hierarchicalFooters = null, e.groupHeaderResults = null, e.groupFooterResults = null, e.groupHeaderCachedResults = null, e.groupFooterCachedResults = null, e.reportTitles = null, e.reportSummaries = null, e.detailDataBandsFromSubReports = null, e } return __extends(e, t), e }(r); e.StiDataBandInfo = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiComponentInfo , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.isTableFooter = !1, e } return __extends(e, t), e }(r); e.StiFooterBandInfo = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiComponentInfo , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.printAtBottomComponent = null, e.groupHeader = null, e.isTableGroupFooter = !1, e } return __extends(e, t), e }(r); e.StiGroupFooterBandInfo = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiComponentInfo , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.skipKeepGroups = !1, e.groupFooter = null, e.silentModeEnabled = !1, e.oldSilentMode = !1, e.isTableGroupHeader = !1, e } return __extends(e, t), e }(r); e.StiGroupHeaderBandInfo = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiComponentInfo , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.isTableHeader = !1, e } return __extends(e, t), e }(r); e.StiHeaderBandInfo = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Engine.StiComponentInfo , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.specifiedLevel = -1, e.finalFooterCalculation = !1, e } return __extends(e, t), e }(r); e.StiHierarchicalBandInfo = i }(r = e.Components || (e.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiReportProperty = "IStiReportProperty" }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiDataBand , i = t.Report.Components.StiHierarchicalBand , n = t.Report.Components.StiGroupHeaderBand , o = t.Base.Drawing.StiSolidBrush , a = t.System.Drawing.Color , s = t.Report.Components.StiComponentsCollection , l = function() { function t(t, e) { this.dataBand = t, this.band = e } return t }() , u = function() { function t(t) { this.bands = [], this.engine = null, this._denyRendering = !1, this.engine = t } return Object.defineProperty(t.prototype, "denyRendering", { get: function() { return this._denyRendering }, set: function(t) { this._denyRendering = t }, enumerable: !0, configurable: !0 }), t.prototype.add = function(t, e) { this.bands.add(new l(t,e)) } , t.prototype.remove = function(t) { var e = 0; while (e < this.bands.length) { this.bands[e].dataBand == t ? this.bands.removeAt(e) : e++ } } , t.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.stimulsoft.is(i)) return !1; if (e.stimulsoft.is(n) && t.stimulsoft.is(n)) { if (e.getDataBand() != t.getDataBand()) return !0; if (t.parent.components.indexOf(t) > t.parent.components.indexOf(e)) return !1 } return !0 } , t.prototype.renderAsync = function() { return __awaiter(this, void 0, void 0, function() { var t, e, n, o, a, s, l, u, c, m, p, h, d, g, f; return __generator(this, function(S) { switch (S.label) { case 0: if (this.denyRendering) return [2]; t = this.denyRendering, this.denyRendering = !0, this.engine.denyClearPrintOnAllPagesIgnoreList = !0, S.label = 1; case 1: S.trys.push([1, 6, 7, 8]), e = __values(this.bands), n = e.next(), S.label = 2; case 2: if (n.done) return [3, 5]; if (o = n.value, a = o.band, !this.allowRenderBand(a)) return [3, 4]; return [4, this.renderBandAsync(a, !0, !1)]; case 3: if (null != (s = S.sent())) try { for (g = void 0, l = __values(s.list), u = l.next(); !u.done; u = l.next()) c = u.value, null != c.containerInfo.parentBand && (c.containerInfo.isAutoRendered = !0, m = !a.stimulsoft.is(i) || !a.printOnAllPages, a.stimulsoft.is(r) && (m = !1), m && this.engine.printOnAllPagesIgnoreList.set(c.containerInfo.parentBand, c.containerInfo.parentBand)) } catch (t) { g = { error: t } } finally { try { u && !u.done && (f = l.return) && f.call(l) } finally { if (g) throw g.error } } S.label = 4; case 4: return n = e.next(), [3, 2]; case 5: return [3, 8]; case 6: return p = S.sent(), h = { error: p }, [3, 8]; case 7: try { n && !n.done && (d = e.return) && d.call(e) } finally { if (h) throw h.error } return [7]; case 8: return this.engine.denyClearPrintOnAllPagesIgnoreList = !1, this.denyRendering = t, [2] } }) }) } , t.prototype.render = function() { var t, e, n, o; if (this.denyRendering) return; var a = this.denyRendering; this.denyRendering = !0, this.engine.denyClearPrintOnAllPagesIgnoreList = !0; try { for (var s = __values(this.bands), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = u.band; if (!this.allowRenderBand(c)) continue; var m = this.renderBand(c, !0, !1); if (null != m) try { for (var p = (n = void 0, __values(m.list)), h = p.next(); !h.done; h = p.next()) { var d = h.value; if (null != d.containerInfo.parentBand) { d.containerInfo.isAutoRendered = !0; var g = !c.stimulsoft.is(i) || !c.printOnAllPages; c.stimulsoft.is(r) && (g = !1), g && this.engine.printOnAllPagesIgnoreList.set(d.containerInfo.parentBand, d.containerInfo.parentBand) } } } catch (t) { n = { error: t } } finally { try { h && !h.done && (o = p.return) && o.call(p) } finally { if (n) throw n.error } } } } catch (e) { t = { error: e } } finally { try { l && !l.done && (e = s.return) && e.call(s) } finally { if (t) throw t.error } } this.engine.denyClearPrintOnAllPagesIgnoreList = !1, this.denyRendering = a } , t.prototype.renderBandAsync = function(t, e, r) { return __awaiter(this, void 0, void 0, function() { var n, l, u, c, m, p, h, d, g, f, S, A, y; return __generator(this, function(w) { switch (w.label) { case 0: if (t.stimulsoft.is(i)) return [3, 2]; return [4, this.engine.renderBandAsync(t, e, r)]; case 1: return [2, w.sent()]; case 2: n = new s, l = t, l.saveState("TreeBandPrintOnAllPages"), u = l.printOnAllPages, l.printOnAllPages = !1, w.label = 3; case 3: w.trys.push([3, , 8, 9]), c = [], l.brush = new o(a.green), m = l.dataSource.getLevel(), l.prior(); while (m >= 0 && !l.isBof) p = l.dataSource.getLevel(), m > p && (c.add(l.position), m = p), l.prior(); h = c.length - 1, w.label = 4; case 4: if (!(h >= 0)) return [3, 7]; return l.position = c[h], [4, this.engine.renderBandAsync(l, e, r)]; case 5: d = w.sent(); try { for (A = void 0, g = __values(d.list), f = g.next(); !f.done; f = g.next()) S = f.value, n.add(S) } catch (t) { A = { error: t } } finally { try { f && !f.done && (y = g.return) && y.call(g) } finally { if (A) throw A.error } } w.label = 6; case 6: return h--, [3, 4]; case 7: return l.brush = new o(a.transparent), l.restoreState("TreeBandPrintOnAllPages"), [2, n]; case 8: return l.printOnAllPages = u, [7]; case 9: return [2] } }) }) } , t.prototype.renderBand = function(t, e, r) { var n, l; if (!t.stimulsoft.is(i)) return this.engine.renderBand(t, e, r); var u = new s , c = t; c.saveState("TreeBandPrintOnAllPages"); var m = c.printOnAllPages; c.printOnAllPages = !1; try { var p = []; c.brush = new o(a.green); var h = c.dataSource.getLevel(); c.prior(); while (h >= 0 && !c.isBof) { var d = c.dataSource.getLevel(); h > d && (p.add(c.position), h = d), c.prior() } for (var g = p.length - 1; g >= 0; g--) { c.position = p[g]; var f = this.engine.renderBand(c, e, r); try { for (var S = (n = void 0, __values(f.list)), A = S.next(); !A.done; A = S.next()) { var y = A.value; u.add(y) } } catch (t) { n = { error: t } } finally { try { A && !A.done && (l = S.return) && l.call(S) } finally { if (n) throw n.error } } } return c.brush = new o(a.transparent), c.restoreState("TreeBandPrintOnAllPages"), u } finally { c.printOnAllPages = m } } , t.prototype.isBandInBandsList = function(t) { var e, r; if (null != t) try { for (var i = __values(this.bands), n = i.next(); !n.done; n = i.next()) { if (n.value.band == t) return !0 } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return !1 } , t }(); e.StiBandsOnAllPages = u }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiBookmark , i = function() { function t() {} return t.getBookmark = function(e, r) { var i = null , n = e.bookmarks.indexOf(r); return -1 == n ? (i = t.createBookmark(r), e.bookmarks.add(i)) : i = e.bookmarks.getByIndex(n), i } , t.prepareBookmark = function(e) { var r, i, n = 0; while (n < e.bookmarks.count - 1) e.bookmarks.getByIndex(n).text == e.bookmarks.getByIndex(n + 1).text ? (e.bookmarks.getByIndex(n).bookmarks.addRange(e.bookmarks.getByIndex(n + 1).bookmarks), e.bookmarks.remove(e.bookmarks.getByIndex(n + 1))) : n++; var o = 0; while (o < e.bookmarks.count) { var a = e.bookmarks.getByIndex(o) , s = o + 1; while (s < e.bookmarks.count) { var l = e.bookmarks.getByIndex(s); a.text == l.text ? (a.bookmarks.addRange(l.bookmarks), e.bookmarks.removeAt(s)) : s++ } o++ } try { for (var u = __values(e.bookmarks.list), c = u.next(); !c.done; c = u.next()) { var m = c.value; t.prepareBookmark(m) } } catch (t) { r = { error: t } } finally { try { c && !c.done && (i = u.return) && i.call(u) } finally { if (r) throw r.error } } } , t.createBookmark = function(t, e) { void 0 === e && (e = null); var i = new r; return i.text = t, i.componentGuid = e, i } , t }(); e.StiBookmarksHelper = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.IStiCrossTab , i = t.Report.Components.StiComponent , n = t.Report.Components.StiContainerHelper , o = t.Report.Components.StiComponentDivider , a = t.Report.Components.StiPage , s = t.Report.Components.StiContainer , l = function() { function e(t) { this.engine = null, this.engine = t } return e.prototype.isCanBreak = function(e) { var r = null == e.containerInfo.parentBand ? null : e.containerInfo.parentBand.stimulsoft.as(t.Report.Components.IStiBreakable); if (null != r && r.canBreak) return !0; if (null != (r = e.stimulsoft.as(t.Report.Components.IStiBreakable)) && r.canBreak) return !0; return !1 } , e.prototype.isNeedBreak = function(t) { var e = this.engine.containerForRender ? this.engine.containerForRender.stimulsoft.as(a) : null; if (!(null == e || e.unlimitedBreakable || null != t.containerInfo && null != t.containerInfo.parentBand && t.containerInfo.parentBand.components.toList().exists(function(t) { return t.stimulsoft.is(r) }))) return !1; if (t.height > this.engine.freeSpace && this.isCanBreak(t)) return !0; return !1 } , e.prototype.breakAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i, a, s, l, u, c, m; return __generator(this, function(p) { switch (p.label) { case 0: e = t.height; try { for (r = __values(t.components.list), i = r.next(); !i.done; i = r.next()) a = i.value, e = Math.min(e, a.top) } catch (t) { c = { error: t } } finally { try { i && !i.done && (m = r.return) && m.call(r) } finally { if (c) throw c.error } } if (s = t.components.count, l = o.breakContainer(this.engine.freeSpace, t), l.containerInfo.ignoreResetPageNumber = !0, u = 0 == e && s > 0 && 0 == t.components.count, !u || null == t.containerInfo || null == t.containerInfo.dataSourceRow && null == t.containerInfo.businessObjectCurrent ? l.name = "Continued" : l.name = "Continued_" + t.name, l.height -= t.height, u || null == t.containerInfo || null == t.containerInfo.dataSourceRow && null == t.containerInfo.businessObjectCurrent ? t.name = "Breaked" : t.name = "Breaked_" + t.name, t.height = this.engine.freeSpace, u) return [3, 2]; return this.engine.freeSpace += t.height, [4, this.engine.renderContainerAsync(t)]; case 1: p.sent(), this.engine.freeSpace -= t.height, p.label = 2; case 2: return [4, this.engine.newDestinationAsync(!u)]; case 3: return p.sent(), l.canGrow = !0, n.checkSize(l), [2, l] } }) }) } , e.prototype.break = function(t) { var e, r, i = t.height; try { for (var a = __values(t.components.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; i = Math.min(i, l.top) } } 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.components.count , c = o.breakContainer(this.engine.freeSpace, t); c.containerInfo.ignoreResetPageNumber = !0; var m = 0 == i && u > 0 && 0 == t.components.count; return !m || null == t.containerInfo || null == t.containerInfo.dataSourceRow && null == t.containerInfo.businessObjectCurrent ? c.name = "Continued" : c.name = "Continued_" + t.name, c.height -= t.height, m || null == t.containerInfo || null == t.containerInfo.dataSourceRow && null == t.containerInfo.businessObjectCurrent ? t.name = "Breaked" : t.name = "Breaked_" + t.name, t.height = this.engine.freeSpace, m || (this.engine.freeSpace += t.height, this.engine.renderContainer(t), this.engine.freeSpace -= t.height), this.engine.newDestination(!m), c.canGrow = !0, n.checkSize(c), c } , e.prototype.setCanBreak = function(e) { e.canBreak = !0; var r = 0; while (r < e.components.count) { var n = e.components.getByIndex(r) , o = n.stimulsoft.as(t.Report.Components.IStiBreakable); if (null != o) { if (!o.canBreak && null != this.engine && null != this.engine.report) { var a = this.engine.report.getComponents().getByName(n.name); a = null != a ? a.stimulsoft.as(i) : null, null != a && a.properties == n.properties && null != n.properties && (n.properties = n.properties.clone()) } o.canBreak = !0 } var l = null != n ? n.stimulsoft.as(s) : null; null != l && this.setCanBreak(l), r++ } } , e.prototype.processBreakableAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i; return __generator(this, function(a) { switch (a.label) { case 0: if (this.engine.isCrossBandsMode) return [2, t]; e = !1, a.label = 1; case 1: if (!this.isNeedBreak(t)) return [3, 3]; return r = t.height, [4, this.breakAsync(t)]; case 2: if (t = a.sent(), r == t.height && (i = o.breakContainer(this.engine.freeSpace, t.clone()), n.checkSize(i), t.height == i.height)) { if (e) return [3, 3]; this.setCanBreak(t), e = !0 } return [3, 1]; case 3: return [2, t] } }) }) } , e.prototype.processBreakable = function(t) { if (this.engine.isCrossBandsMode) return t; var e = !1; while (this.isNeedBreak(t)) { var r = t.height; if (t = this.break(t), r == t.height) { var i = o.breakContainer(this.engine.freeSpace, t.clone()); if (n.checkSize(i), t.height == i.height) { if (e) break; this.setCanBreak(t), e = !0 } } } return t } , e }(); e.StiBreakableHelper = l }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiColumnDirection , i = t.System.Collections.Hashtable , n = t.Report.Components.StiContainer , o = function(t) { function n(e) { void 0 === e && (e = null); var i = t.call(this) || this; return i.countOfItems = 0, i.columns = 0, i.columnWidth = 0, i.columnGaps = 0, i.columnDirection = r.AcrossThenDown, i.rightToLeft = !1, i.minRowsInColumn = 0, i.engine = null, i.engine = e, i } return __extends(n, t), n.prototype.addContainer = function(t) { if (this.components.add(t), t.stimulsoft.is(e.StiLevelContainer)) return; this.countOfItems++ } , n.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) } , n.prototype.finishColumns = function(t) { var n, o, a, s, l, u, c, m, p, h; void 0 === t && (t = !1); var d = 0 , g = 1 , f = this.columns , S = this.columnWidth , A = this.columnGaps , y = S + A; if (this.columnDirection == r.AcrossThenDown) { var w = 0 , b = 0 , v = 0; try { for (var C = __values(this.components.list), E = C.next(); !E.done; E = C.next()) { var B = E.value; if (B.stimulsoft.is(e.StiLevelContainer)) w++, v++; else { if (null != this.page && this.page.unlimitedHeight && this.page.unlimitedBreakable) { var T = this.page.pageHeight - this.page.margins.top - this.page.margins.bottom; (this.top + d) / T != (this.top + d + B.height) / T && (d += T - (this.top + d) % T) } var I = 0; I = this.rightToLeft ? B.parent.width - y * g + A : y * (g - 1), B.left = I, B.width = I - B.left + S, B.top = d, w++, v++, g++ } if (g > f || w == this.components.count) { for (var x = 0, F = b; F < v; F++) { var D = this.components.getByIndex(F); if (D.stimulsoft.is(e.StiLevelContainer)) continue; x = Math.max(D.height, x) } if (!t) for (var F = b; F < v; F++) { var D = this.components.getByIndex(F); if (D.stimulsoft.is(e.StiLevelContainer)) continue; try { for (var R = (a = void 0, __values(D.components.list)), P = R.next(); !P.done; P = R.next()) { var N = P.value; N.bottom == D.height && (N.height = x - N.top) } } catch (t) { a = { error: t } } finally { try { P && !P.done && (s = R.return) && s.call(R) } finally { if (a) throw a.error } } D.height = x } d += x, g = 1, b = w, v = w } } } catch (t) { n = { error: t } } finally { try { E && !E.done && (o = C.return) && o.call(C) } finally { if (n) throw n.error } } } else { var k = new Array(f) , M = Math.trunc(this.countOfItems / f) , O = Math.min(this.minRowsInColumn, this.countOfItems); O > 0 && (M = Math.max(O, M)); for (var F = 0; F < f; F++) k[F] = M; if (this.minRowsInColumn > 0) { if (O <= M) { M = this.countOfItems - M * f; for (var F = 0; F < M; F++) k[F]++ } } else { if (this.countOfItems - M * f > 0) { M++; for (var F = 0; F < f; F++) k[F] = M } } for (var _ = 0, L = 0, j = new Array(f), F = 0; F < f; F++) j[F] = []; var H = -1 , G = !1; try { for (var Q = __values(this.components.list), Y = Q.next(); !Y.done; Y = Q.next()) { var B = Y.value; if (B.stimulsoft.is(e.StiLevelContainer)) continue; if (G || (-1 == H ? H = B.height : H != B.height && (G = !0)), _++, _ > k[g - 1] && (_ = 1, g++, L = 0), null != this.page && this.page.unlimitedHeight && this.page.unlimitedBreakable) { var T = this.page.pageHeight - this.page.margins.top - this.page.margins.bottom; (this.top + L) / T != (this.top + L + B.height) / T && (L += T - (this.top + L) % T) } var I = 0; I = this.rightToLeft ? B.parent.width - y * g + A : y * (g - 1), B.left = I, B.width = I - B.left + S, B.top = L, L += B.height, d = Math.max(d, L), j[g - 1].add(B) } } catch (t) { l = { error: t } } finally { try { Y && !Y.done && (u = Q.return) && u.call(Q) } finally { if (l) throw l.error } } if (G) { for (var U = 0, J = 0; J < f; J++) { var W = j[J]; U = Math.max(W.length, U) } for (var V = new i, z = 0; z < U; z++) { for (var x = 0, J = 0; J < f; J++) if (j[J].length > z) { var X = j[J][z]; if (X.stimulsoft.is(e.StiLevelContainer)) continue; x = Math.max(x, X.height) } for (var J = 0; J < f; J++) if (j[J].length > z) { var X = j[J][z]; if (X.stimulsoft.is(e.StiLevelContainer)) continue; if (X.height != x && !t) try { for (var K = (c = void 0, __values(X.components.list)), Z = K.next(); !Z.done; Z = K.next()) { var N = Z.value; N.bottom == X.height && (N.height = x - N.top) } } catch (t) { c = { error: t } } finally { try { Z && !Z.done && (m = K.return) && m.call(K) } finally { if (c) throw c.error } } t ? V.set(X, x) : X.height = x } } d = 0; for (var J = 0; J < f; J++) { L = 0; try { for (var q = (p = void 0, __values(j[J])), $ = q.next(); !$.done; $ = q.next()) { var D = $.value; if (D.stimulsoft.is(e.StiLevelContainer)) continue; D.top = L; L += t ? V.get(D) : D.height } } catch (t) { p = { error: t } } finally { try { $ && !$.done && (h = q.return) && h.call(q) } finally { if (p) throw p.error } } d = Math.max(d, L) } } } return d } , n.prototype.getCurrentColumn = function() { if (this.columnDirection == r.DownThenAcross) return 1; var t = Math.trunc(this.countOfItems / this.columns); return Math.trunc(this.countOfItems - t * this.columns + 1) } , n.prototype.getLengthOfLastRow = function() { var t = this.countOfItems , e = t / this.columns , r = e * this.columns; return t == r ? this.columns : t - r } , n }(n); e.StiColumnsContainer = o }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function e(t) { this.engine = null, this._enabled = !1, this.engine = t } return Object.defineProperty(e.prototype, "enabled", { get: function() { return this._enabled }, set: function(t) { this._enabled = t }, enumerable: !0, configurable: !0 }), e.prototype.renderColumnsAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e; return __generator(this, function(r) { switch (r.label) { case 0: if (!(t.columns > 1)) return [3, 2]; return e = this.createColumns(t), [4, this.engine.renderContainerAsync(e)]; case 1: return r.sent(), this.enabled = !0, [2, e]; case 2: return [2, null] } }) }) } , e.prototype.renderColumns = function(t) { if (t.columns > 1) { var e = this.createColumns(t); return this.engine.renderContainer(e), this.enabled = !0, e } return null } , e.prototype.getColumns = function() { var e = this.engine.containerForRender.components.count; if (e > 0) for (var r = e - 1; r >= 0; r--) { var i = this.engine.containerForRender.components.getByIndex(r); if (i.stimulsoft.is(t.StiColumnsContainer)) return i.stimulsoft.as(t.StiColumnsContainer); if (i.stimulsoft.is(t.StiLevelContainer)) continue } return null } , e.prototype.createColumns = function(e) { var r = new t.StiColumnsContainer(this.engine); return r.name = "Columns" + e.name, r.width = e.parent.width, r.height = 0, r.columns = e.columns, r.columnDirection = e.columnDirection, r.columnGaps = e.columnGaps, r.columnWidth = e.getColumnWidth(), r.minRowsInColumn = e.minRowsInColumn, r.rightToLeft = e.rightToLeft, r } , e }(); t.StiColumnsOnDataBand = e }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiPanel , i = function() { function t(t) { this.engine = null, this._currentColumn = 1, this.engine = t } return Object.defineProperty(t.prototype, "count", { get: function() { var t = this.engine.templateContainer.stimulsoft.as(r); if (null != t) return t.columns; return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "rightToLeft", { get: function() { var t = this.engine.templateContainer.stimulsoft.as(r); if (null != t) return t.rightToLeft; return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "columnGaps", { get: function() { var t = this.engine.templateContainer.stimulsoft.as(r); if (null != t) return t.columnGaps; return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "currentColumn", { get: function() { return this._currentColumn }, set: function(t) { this._currentColumn = t }, enumerable: !0, configurable: !0 }), t.prototype.getColumnWidth = function() { var t = this.engine.templateContainer.stimulsoft.as(r); if (null != t) return t.getColumnWidth(); return 0 } , t }(); e.StiColumnsOnPanel = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiDockStyle , i = t.Report.Components.StiEmptySizeMode , n = t.Report.Components.StiContainer , o = function() { function o(t) { this.engine = null, this.engine = t } return o.prototype.register = function(t) { null != t && t.count > 0 && (this.emptyBand = t.getByIndex(0)) } , o.prototype.clear = function() { this.emptyBand = null } , o.prototype.createEmptyBandContainerAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var i; return __generator(this, function(o) { switch (o.label) { case 0: return this.engine.report.line++, this.engine.report.lineThrough++, this.emptyBand.invokeRendering(), this.emptyBand.parentBookmark = t.currentBookmark, [4, this.emptyBand.renderAsync()]; case 1: return i = o.sent(), null != i && (e.StiOddEvenStylesHelper.applyOddEvenStyles(this.engine.report, this.emptyBand.stimulsoft.as("IStiOddEvenStyles"), i.stimulsoft.as(n)), i.dockStyle = r.None, i.left = this.engine.positionX, i.top = this.engine.positionY), [2, i] } }) }) } , o.prototype.createEmptyBandContainer = function(t) { this.engine.report.line++, this.engine.report.lineThrough++, this.emptyBand.invokeRendering(), this.emptyBand.parentBookmark = t.currentBookmark; var i = this.emptyBand.render(); return null != i && (e.StiOddEvenStylesHelper.applyOddEvenStyles(this.engine.report, this.emptyBand.stimulsoft.as("IStiOddEvenStyles"), i.stimulsoft.as(n)), i.dockStyle = r.None, i.left = this.engine.positionX, i.top = this.engine.positionY), i } , o.prototype.renderAsync = function(e, r) { return __awaiter(this, void 0, void 0, function() { var n, o, a, s, l, u, c, m; return __generator(this, function(p) { switch (p.label) { case 0: if (null == this.emptyBand) return [2]; this.engine.isDynamicBookmarksMode = !0, this.emptyBand.invokeBeginRender(), n = -1, null != e && (n = e.components.indexOf(r)), -1 == n && (n = e.components.count), o = null, a = null, p.label = 1; case 1: if (1 != 1) return [3, 3]; return [4, this.createEmptyBandContainerAsync(e)]; case 2: if (null == (o = p.sent())) return [3, 3]; if (0 == o.height && (o.height = this.engine.report.unit.convertFromHInches(10)), !(o.height <= this.engine.freeSpace)) return [3, 3]; if (this.engine.positionY += o.height, this.engine.freeSpace -= o.height, e.components.insert(n, o), n++, a = o, o.doBookmark(), this.engine.freeSpace > 999999999) return [3, 3]; return [3, 1]; case 3: if (this.emptyBand.sizeMode != i.DecreaseLastRow) return [3, 4]; return o.height = this.engine.freeSpace, this.engine.positionY += o.height, this.engine.freeSpace -= o.height, e.components.insert(n, o), o.doBookmark(), [3, 10]; case 4: if (this.emptyBand.sizeMode != i.IncreaseLastRow) return [3, 9]; if (null != a) return [3, 7]; if (!(this.engine.freeSpace > 0)) return [3, 6]; return [4, this.createEmptyBandContainerAsync(e)]; case 5: o = p.sent(), o.top = this.engine.positionY, o.height = this.engine.freeSpace, p.label = 6; case 6: return [3, 8]; case 7: a.height += this.engine.freeSpace, p.label = 8; case 8: return [3, 10]; case 9: if (this.emptyBand.sizeMode == i.AlignFooterToTop) try { for (s = __values(e.components.list), l = s.next(); !l.done; l = s.next()) u = l.value, u.top > this.engine.positionY && !u.stimulsoft.is(t.Report.Components.StiCrossLinePrimitive) && (u.top -= this.engine.freeSpace) } catch (t) { c = { error: t } } finally { try { l && !l.done && (m = s.return) && m.call(s) } finally { if (c) throw c.error } } p.label = 10; case 10: return this.emptyBand.invokeEndRender(), this.engine.isDynamicBookmarksMode = !1, [2] } }) }) } , o.prototype.render = function(e, r) { var n, o; if (null == this.emptyBand) return; this.engine.isDynamicBookmarksMode = !0, this.emptyBand.invokeBeginRender(); var a = -1; null != e && (a = e.components.indexOf(r)), -1 == a && (a = e.components.count); var s = null , l = null; while (1 == 1) { if (null == (s = this.createEmptyBandContainer(e))) break; if (0 == s.height && (s.height = this.engine.report.unit.convertFromHInches(10)), !(s.height <= this.engine.freeSpace)) break; if (this.engine.positionY += s.height, this.engine.freeSpace -= s.height, e.components.insert(a, s), a++, l = s, s.doBookmark(), this.engine.freeSpace > 999999999) break } if (this.emptyBand.sizeMode == i.DecreaseLastRow) s.height = this.engine.freeSpace, this.engine.positionY += s.height, this.engine.freeSpace -= s.height, e.components.insert(a, s), s.doBookmark(); else if (this.emptyBand.sizeMode == i.IncreaseLastRow) null == l ? this.engine.freeSpace > 0 && (s = this.createEmptyBandContainer(e), s.top = this.engine.positionY, s.height = this.engine.freeSpace) : l.height += this.engine.freeSpace; else if (this.emptyBand.sizeMode == i.AlignFooterToTop) try { for (var u = __values(e.components.list), c = u.next(); !c.done; c = u.next()) { var m = c.value; m.top > this.engine.positionY && !m.stimulsoft.is(t.Report.Components.StiCrossLinePrimitive) && (m.top -= this.engine.freeSpace) } } catch (t) { n = { error: t } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (n) throw n.error } } this.emptyBand.invokeEndRender(), this.engine.isDynamicBookmarksMode = !1 } , o }(); e.StiEmptyBandsHelper = o }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Components.StiGroupFooterBand , n = t.Report.Components.Table.StiTable , o = t.Report.Components.StiGroupHeaderBand , a = t.System.Drawing.Size , s = t.Report.Components.Table.IStiTableCell , l = t.System.EventArgs , u = t.System.Collections.Hashtable , c = t.Report.Components.StiColumnDirection , m = t.Report.Components.StiHeaderBand , p = t.Report.Components.StiFooterBand , h = t.Report.Components.StiDataBand , d = t.Report.Components.StiChildBand , g = t.Report.Components.IStiPageBreak , f = t.Report.Components.IStiBrush , S = t.Report.Components.IStiBorder , A = t.Base.Drawing.StiBorderSides , y = t.Report.Components.StiPrintOnEvenOddPagesType , w = t.Report.Components.StiDockStyle , b = t.Report.Components.StiComponentType , v = t.Report.Components.StiText , C = t.Report.Components.StiComponent , E = t.Report.Components.StiMargins , B = t.Report.Components.StiSimpleText , T = t.Report.Components.StiProcessAt , I = t.Report.Events.StiGetValueEventArgs , x = t.Report.Styles.StiBaseStyle , F = t.Report.Components.StiContainer , D = t.Report.Components.StiComponentsCollection , R = t.Report.Components.StiPage , P = function() { function P(t) { this.isDynamicBookmarksMode = !1, this.isCrossBandsMode = !1, this.isFirstDataBandOnPage = !1, this.isLastDataBandOnPage = !1, this.printOnAllPagesIgnoreList = new u, this.printOnAllPagesIgnoreList2 = new u, 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 u, 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 u, this.keepFirstDetailTogetherTablesList = new u, 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 u, 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.pageNumbers = new e.StiPageNumberHelper(this), this.emptyBands = new e.StiEmptyBandsHelper(this), this.bandsOnAllPages = new e.StiBandsOnAllPages(this), this.printAtBottom = new e.StiPrintAtBottom(this), this.footersOnAllPages = new e.StiFootersOnAllPages(this), this.columnsOnDataBand = new e.StiColumnsOnDataBand(this), this.columnsOnPanel = new e.StiColumnsOnPanel(this), this.staticBands = new e.StiStaticBandsHelper(this), this.breakable = new e.StiBreakableHelper(this), this.threads = new e.StiThreads(this), this.report = t } return Object.defineProperty(P.prototype, "parserConversionStore", { get: function() { return null == this._parserConversionStore && (this._parserConversionStore = new u), this._parserConversionStore }, set: function(t) { this._parserConversionStore = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(P.prototype, "hashUseParentStyles", { get: function() { var t, e, r, i; if (null == this._hashUseParentStyles) { this._hashUseParentStyles = new u; try { for (var n = __values(this.report.getComponents().list), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = a.stimulsoft.as(F); if (null != s) try { for (var l = (r = void 0, __values(s.components.list)), c = l.next(); !c.done; c = l.next()) { if (c.value.useParentStyles) { this._hashUseParentStyles.set(a, null); break } } } catch (t) { r = { error: t } } finally { try { c && !c.done && (i = l.return) && i.call(l) } finally { if (r) throw r.error } } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } } return this._hashUseParentStyles }, set: function(t) { this._hashUseParentStyles = t }, enumerable: !0, configurable: !0 }), P.prototype.newListAsync = function(t) { return void 0 === t && (t = !1), __awaiter(this, void 0, void 0, function() { return __generator(this, function(e) { switch (e.label) { case 0: if (null == this.containerForRender) return [2]; if (t || !(1 == this.columnsOnPanel.currentColumn || this.columnsOnPanel.count < 2)) return [3, 2]; return [4, this.staticBands.renderAsync()]; case 1: e.sent(), e.label = 2; case 2: return this.indexOfLatestDataBand = null, [4, this.bandsOnAllPages.renderAsync()]; case 3: return e.sent(), [2] } }) }) } , P.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() } , P.prototype.newColumnAsync = function(t) { return void 0 === t && (t = !0), __awaiter(this, void 0, void 0, function() { var e, r, i, n, o, a, s, l, u, c; return __generator(this, function(m) { switch (m.label) { case 0: if (this.columnsOnPanel.currentColumn++, e = this.page, null == e && (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(t)]; case 1: return m.sent(), [3, 6]; case 2: return r = this.containerForRender, e.invokeColumnEndRender(), this.finishColumns(r), i = this.searchStartOfKeepContainer(r, this.indexOfStartList), t && (i = null), null != r && null != i && 0 == r.components.indexOf(i) && (i = null), this.changeEngineParamsByKeep(r, i), n = { ref: i }, this.renderFootersOnAllPages(this.containerForRender, this.indexOfStartList, n), i = n.ref, this.renderPrintAtBottom(this.containerForRender, this.indexOfStartList, i), [4, this.renderEmptyBandsAsync(r, i)]; case 3: if (m.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, l.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 m.sent(), [4, this.moveKeepComponentsOnNextContainerAsync(r, i)]; case 5: m.sent(), this.indexOfStartList = this.containerForRender.components.count > 0 ? this.containerForRender.components.count - 1 : 0, this.finishResetPageNumberContainer(r, !1), this.finishContainer(r), e.invokeColumnBeginRender(), m.label = 6; case 6: return [2] } }) }) } , P.prototype.newColumn = function(t) { var e, r; void 0 === t && (t = !0), this.columnsOnPanel.currentColumn++; var i = this.page; if (null == i && (i = this.report.renderedPages.getByIndex(0)), this.columnsOnPanel.currentColumn > this.columnsOnPanel.count && StiOptions.Engine.forceNewPageForExtraColumns || this.isCrossBandsMode) this.isCrossBandsMode || (i.invokeColumnEndRender(), this.columnsOnPanel.currentColumn = 1, this.positionX = 0), this.newPage(t); else { var n = this.containerForRender; i.invokeColumnEndRender(), this.finishColumns(n); var o = this.searchStartOfKeepContainer(n, this.indexOfStartList); t && (o = null), null != n && null != o && 0 == n.components.indexOf(o) && (o = null), this.changeEngineParamsByKeep(n, o); var a = { ref: o }; if (this.renderFootersOnAllPages(this.containerForRender, this.indexOfStartList, a), o = a.ref, this.renderPrintAtBottom(this.containerForRender, this.indexOfStartList, o), this.renderEmptyBands(n, o), this.setNewColumnParameters(), this.columnsOnPanel.currentColumn > this.columnsOnPanel.count && !StiOptions.Engine.forceNewPageForExtraColumns && this.containerForRender == n) { this.columnsOnPanel.currentColumn = 1, this.columnsOnPanel.rightToLeft ? this.positionX = this.templateContainer.width - this.columnsOnPanel.getColumnWidth() : this.positionX = 0; var s = 0; try { for (var l = __values(n.components.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; c.bottom > s && (s = c.bottom) } } catch (t) { e = { error: t } } finally { try { u && !u.done && (r = l.return) && r.call(l) } finally { if (e) throw e.error } } this.offsetNewColumnY = s - this.staticBands.reservedPositionY, this.positionY = s } this.newList(), this.moveKeepComponentsOnNextContainer(n, o), this.indexOfStartList = this.containerForRender.components.count > 0 ? this.containerForRender.components.count - 1 : 0, this.finishResetPageNumberContainer(n, !1), this.finishContainer(n), i.invokeColumnBeginRender() } } , P.prototype.newPageAsync = function(t) { return void 0 === t && (t = !0), __awaiter(this, void 0, void 0, function() { var e = this; return __generator(this, function(r) { switch (r.label) { case 0: if (!(Date.now() - P.newPageTime > 100)) return [3, 2]; return [4, new Promise(function(r) { return setTimeout(function() { return __awaiter(e, void 0, void 0, function() { return __generator(this, function(e) { switch (e.label) { case 0: return P.newPageTime = Date.now(), [4, this.newPageAsync2(t)]; case 1: return e.sent(), r(), [2] } }) }) }, 0) } )]; case 1: return r.sent(), [3, 4]; case 2: return [4, this.newPageAsync2(t)]; case 3: r.sent(), r.label = 4; case 4: return [2] } }) }) } , P.prototype.newPageAsync2 = function(t) { return void 0 === t && (t = !0), __awaiter(this, void 0, void 0, function() { var r, i, n, o, a, s, l; return __generator(this, function(u) { switch (u.label) { case 0: if (!this.isCrossBandsMode && null != this.containerForRender && this.containerForRender.height > this.specialContainerHeight2 && !StiOptions.Engine.forceNewPageInSubReports) return r = new e.StiNewPageContainer, 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), this.offsetNewColumnY = this.positionY - this.staticBands.reservedPositionY, [2]; if (!this.threads.isActive) return [3, 2]; return [4, this.newContainerAsync(t)]; case 1: return u.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) { this.freeSpace > 0 ? 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 && this.printOnAllPagesIgnoreList.count > 0 && this.printOnAllPagesIgnoreList.clear(), this.columnsOnPanel.currentColumn = 1, i = this.containerForRender, this.templatePage.invokeRendering(), n = this.page, o = this.report.renderedPages.cacheMode, null != this.page && this.processPageAfterRendering(this.page, !1), a = this, [4, e.StiPageHelper.getPageFromTemplateAsync(this.templatePage)]; case 3: return a.page = u.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), this.processRendering(), this.addPageToRenderedPages(this.page), this.finishColumns(i), e.StiPageHelper.prepareBookmark(this.page), this.page.invokeColumnBeginRender(), s = this.searchStartOfKeepContainer(i, this.indexOfStartList), t && (s = null), null != i && null != s && 0 == i.components.indexOf(s) && (s = null), this.changeEngineParamsByKeep(i, s), l = { ref: s }, this.renderFootersOnAllPages(i, this.indexOfStartList, l), s = l.ref, this.renderPrintAtBottom(i, this.indexOfStartList, s), [4, this.renderEmptyBandsAsync(i, s)]; case 4: return u.sent(), this.offsetNewColumnY = 0, this.setNewPageParameters(), this.containerForRender = this.page, this.correctPrintOnAllPagesIgnoreListBeforeNewList(i, s, !1), [4, this.newListAsync()]; case 5: return u.sent(), this.correctPrintOnAllPagesIgnoreListBeforeNewList(i, s, !0), this.atLeastOneDatabandRenderedOnPage = !1, this.lastFreeSpaceOnPageAfterNewList = this.freeSpace, [4, this.moveKeepComponentsOnNextContainerAsync(i, s)]; case 6: u.sent(), this.indexOfStartList = 0, this.finishResetPageNumberContainer(i, !1), this.finishContainer(i), u.label = 7; case 7: return [2] } }) }) } , P.prototype.newPage = function(t) { if (void 0 === t && (t = !0), !this.isCrossBandsMode && null != this.containerForRender && this.containerForRender.height > this.specialContainerHeight2 && !StiOptions.Engine.forceNewPageInSubReports) { var r = new e.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) { this.freeSpace > 0 ? 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 && this.printOnAllPagesIgnoreList.count > 0 && this.printOnAllPagesIgnoreList.clear(), this.columnsOnPanel.currentColumn = 1; var i = this.containerForRender; this.templatePage.invokeRendering(); var n = this.page , o = this.report.renderedPages.cacheMode; null != this.page && this.processPageAfterRendering(this.page, !1), this.page = e.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), this.processRendering(), this.addPageToRenderedPages(this.page), this.finishColumns(i), e.StiPageHelper.prepareBookmark(this.page), this.page.invokeColumnBeginRender(); var a = this.searchStartOfKeepContainer(i, this.indexOfStartList); t && (a = null), null != i && null != a && 0 == i.components.indexOf(a) && (a = null), this.changeEngineParamsByKeep(i, a); var s = { ref: a }; this.renderFootersOnAllPages(i, this.indexOfStartList, s), a = s.ref, this.renderPrintAtBottom(i, this.indexOfStartList, a), this.renderEmptyBands(i, a), this.offsetNewColumnY = 0, this.setNewPageParameters(), this.containerForRender = this.page, this.correctPrintOnAllPagesIgnoreListBeforeNewList(i, a, !1), this.newList(), this.correctPrintOnAllPagesIgnoreListBeforeNewList(i, a, !0), this.atLeastOneDatabandRenderedOnPage = !1, this.lastFreeSpaceOnPageAfterNewList = this.freeSpace, this.moveKeepComponentsOnNextContainer(i, a), this.indexOfStartList = 0, this.finishResetPageNumberContainer(i, !1), this.finishContainer(i) } } , P.prototype.newContainerAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, r, i; return __generator(this, function(n) { switch (n.label) { case 0: return !this.atLeastOneDatabandRenderedOnPage && this.printOnAllPagesIgnoreList.count > 0 && this.printOnAllPagesIgnoreList.clear(), this.columnsOnPanel.currentColumn = 1, e = this.containerForRender, this.finishColumns(e), r = this.searchStartOfKeepContainer(e, this.indexOfStartList), t && (r = null), null != e && null != r && 0 == e.components.indexOf(r) && (r = null), this.changeEngineParamsByKeep(e, r), i = { ref: r }, this.renderFootersOnAllPages(e, this.indexOfStartList, i), r = i.ref, this.renderPrintAtBottom(e, this.indexOfStartList, r), [4, this.renderEmptyBandsAsync(e, r)]; case 1: return n.sent(), [4, this.threads.newPageAsync()]; case 2: return n.sent(), [4, this.newListAsync()]; case 3: return n.sent(), this.atLeastOneDatabandRenderedOnPage = !1, [4, this.moveKeepComponentsOnNextContainerAsync(e, r)]; case 4: return n.sent(), this.indexOfStartList = 0, this.finishResetPageNumberContainer(e, !1), this.finishContainer(e), null != this.containerForRender && this.containerForRender.parent.stimulsoft.is(R) && this.containerForRender.canGrow && null != this.masterEngine && this.freeSpace < 1e11 / 2 && (this.freeSpace = this.masterEngine.positionBottomY - this.containerForRender.top, this.containerForRender.height = this.freeSpace), [2] } }) }) } , P.prototype.newContainer = function(t) { !this.atLeastOneDatabandRenderedOnPage && this.printOnAllPagesIgnoreList.count > 0 && 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 i = { ref: r }; this.renderFootersOnAllPages(e, this.indexOfStartList, i), r = i.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.stimulsoft.is(R) && this.containerForRender.canGrow && null != this.masterEngine && this.freeSpace < 1e11 / 2 && (this.freeSpace = this.masterEngine.positionBottomY - this.containerForRender.top, this.containerForRender.height = this.freeSpace) } , P.prototype.newDestinationAsync = function(t) { return void 0 === t && (t = !1), __awaiter(this, void 0, void 0, function() { return __generator(this, function(e) { switch (e.label) { case 0: if (!(this.columnsOnPanel.count > 1)) return [3, 2]; return [4, this.newColumnAsync(t)]; case 1: return e.sent(), [3, 4]; case 2: return [4, this.newPageAsync(t)]; case 3: e.sent(), e.label = 4; case 4: return [2] } }) }) } , P.prototype.newDestination = function(t) { void 0 === t && (t = !1), this.columnsOnPanel.count > 1 ? this.newColumn(t) : this.newPage(t) } , P.prototype.addFooterMarker = function(t) { var r = new e.StiFooterMarkerContainer; r.top = this.positionY, r.left = this.positionX, r.width = r.width, r.height = 0, r.name = t.name, this.addContainerToDestination(r) } , P.prototype.addKeepLevelAtLatestDataBand = function() { if (null != this.indexOfLatestDataBand) { var t = this.containerForRender , r = this.indexOfLatestDataBand.index; if (-1 != this.indexOfLatestDataBand.indexInColumnContainer) { t = t.components.getByIndex(this.indexOfLatestDataBand.indexInColumnContainer); var i = t; i.columnDirection == c.AcrossThenDown && (r -= i.getLengthOfLastRow() - 1) } r < t.components.count && r >= 0 && t.components.insert(r, new e.StiLevelStartContainer) } } , P.prototype.addLevel = function() { if (this.columnsOnDataBand.enabled) { this.columnsOnDataBand.getColumns().addContainer(new e.StiLevelStartContainer) } else this.addContainerToDestination(new e.StiLevelStartContainer) } , P.prototype.removeLevel = function() { if (this.columnsOnDataBand.enabled) { this.columnsOnDataBand.getColumns().addContainer(new e.StiLevelEndContainer) } else this.addContainerToDestination(new e.StiLevelEndContainer) } , P.prototype.getChildBands = function(t) { null == this.childsBandHash && (this.childsBandHash = new u); var r = this.childsBandHash.get(t); if (null != r) return r; return r = e.StiBandBuilder.getChildBands(t), this.childsBandHash.set(t, r), r } , P.prototype.clearPageBreakSkipFirst = function() { this.pageBreakSkipFirstCollection.clear() } , P.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 } , P.prototype.removeBandFromPageBreakSkipList = function(t) { if (null == t) return; null != this.pageBreakSkipFirstCollection.get(t) && this.pageBreakSkipFirstCollection.remove(t) } , P.prototype.processPageAfterRendering = function(t, r) { var i, n; if (this.allowEndOfPageProcessing) { var o = t.getComponents(); try { for (var a = __values(o.list), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = l.stimulsoft.as(v); if (null != u && u.processAt == T.EndOfPage) { var c = new I; u.invokeGetValue(l, c), u.text = c.value } } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } var m = this.renderState; null != this.masterEngine && (m = this.masterEngine.renderState), e.StiRenderProvider.processPageToCache(this.report, t, r), null != m && e.StiRenderProvider.clearPagesWhichLessThenFromPageAndGreaterThenToPage(this.report, m), e.StiRenderProvider.clearPagesForFirstPass(this.report) } , P.prototype.processLastPageAfterRendering = function() { var t = this.report.renderedPages.getByIndex(this.report.renderedPages.count - 1); this.processPageAfterRendering(t, !1) } , P.prototype.processRendering = function() {} , P.prototype.reprocessRuntimeVariables = function(t) { var e, r, i, n, o = t.getComponents(); try { for (var a = __values(o.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (!l.stimulsoft.is(B)) continue; var u = this.report.totals.get(l.name); if (null == u || 0 == u.length) continue; try { for (var c = (i = void 0, __values(u)), m = c.next(); !m.done; m = c.next()) { var p = m.value; p.textBox == l && (p.pageIndex = this.report.renderedPages.count, p.currentPrintPage = this.report.renderedPages.count) } } catch (t) { i = { error: t } } finally { try { m && !m.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (e) throw e.error } } } , P.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, null != this.hashCheckSize && (this.hashCheckSize.clear(), this.hashCheckSize = null), null != this.hashParentStyles && (this.hashParentStyles.clear(), this.hashParentStyles = null), this.clearPageBreakSkipFirst(), [2] } }) }) } , P.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, null != this.hashCheckSize && (this.hashCheckSize.clear(), this.hashCheckSize = null), null != this.hashParentStyles && (this.hashParentStyles.clear(), this.hashParentStyles = null), this.clearPageBreakSkipFirst() } , P.prototype.isPrintAtBottomOrFooterOnAllPages = function(e) { if (null == e) return !1; if (null == e.containerInfo.parentBand) return !1; var r = e.containerInfo.parentBand.stimulsoft.as(t.Report.Components.IStiPrintAtBottom); if (null != r && r.printAtBottom) return !0; var i = e.containerInfo.parentBand.stimulsoft.as(p); return null != i && i.printOnAllPages } , P.prototype.changeEngineParamsByKeep = function(t, e) { if (null == e) return; for (var r = t.components.indexOf(e), i = r; i < t.components.count; i++) { var n = t.components.getByIndex(i).stimulsoft.as(C); n.stimulsoft.is(F) && !this.isPrintAtBottomOrFooterOnAllPages(n.stimulsoft.as(F)) && (this.positionY -= n.height), this.freeSpace += n.height } } , P.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) } , P.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 } , P.prototype.processNewContainerBeforeAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var e, e, r, i; return __generator(this, function(n) { switch (n.label) { case 0: if (this.needResetPageNumberForNewPage = t.resetPageNumber, !this.generateNewPageBeforeBand) return [3, 5]; if (this.generateNewPageBeforeBand = !1, e = this.canGenerateNewContainer(t.stimulsoft.as(g)), !this.ignoreSkipFirst) return [3, 2]; return this.ignoreSkipFirst = !1, [4, this.newPageAsync()]; case 1: return n.sent(), [3, 4]; case 2: if (!this.canGenerateNewContainer) return [3, 4]; return [4, this.newPageAsync()]; case 3: n.sent(), n.label = 4; case 4: return [3, 16]; case 5: if (!this.generateNewColumnBeforeBand) return [3, 10]; if (this.generateNewColumnBeforeBand = !1, e = this.canGenerateNewContainer(t.stimulsoft.as(g)), !this.ignoreSkipFirst) return [3, 7]; return this.ignoreSkipFirst = !1, [4, this.newColumnAsync()]; case 6: return n.sent(), [3, 9]; case 7: if (!this.canGenerateNewContainer) return [3, 9]; return [4, this.newColumnAsync()]; case 8: n.sent(), n.label = 9; case 9: return [3, 16]; case 10: if (null == (r = t.stimulsoft.as(g))) return [2]; if (!r.newPageBefore && !r.newColumnBefore) return [3, 16]; if (i = 100 * this.freeSpace / this.containerForRender.height, !(r.breakIfLessThan > i || 100 == r.breakIfLessThan)) return [3, 16]; if (!r.newPageBefore || !this.canGenerateNewContainer(t.stimulsoft.as(g))) return [3, 13]; return [4, this.newPageAsync()]; case 11: return n.sent(), [4, this.processNewContainerInDetailBandsAsync(t, !0, !1)]; case 12: return n.sent(), [3, 16]; case 13: if (!r.newColumnBefore || !this.canGenerateNewContainer(t.stimulsoft.as(g))) return [3, 16]; return [4, this.newColumnAsync()]; case 14: return n.sent(), [4, this.processNewContainerInDetailBandsAsync(t, !1, !0)]; case 15: n.sent(), n.label = 16; case 16: return this.needResetPageNumberForNewPage = !1, [2] } }) }) } , P.prototype.processNewContainerBefore = function(t) { if (this.needResetPageNumberForNewPage = t.resetPageNumber, this.generateNewPageBeforeBand) { this.generateNewPageBeforeBand = !1; var e = this.canGenerateNewContainer(t.stimulsoft.as(g)); this.ignoreSkipFirst ? (this.ignoreSkipFirst = !1, this.newPage()) : this.canGenerateNewContainer && this.newPage() } else if (this.generateNewColumnBeforeBand) { this.generateNewColumnBeforeBand = !1; var e = this.canGenerateNewContainer(t.stimulsoft.as(g)); this.ignoreSkipFirst ? (this.ignoreSkipFirst = !1, this.newColumn()) : this.canGenerateNewContainer && this.newColumn() } else { var r = t.stimulsoft.as(g); if (null == r) return; if (r.newPageBefore || r.newColumnBefore) { var i = 100 * this.freeSpace / this.containerForRender.height; (r.breakIfLessThan > i || 100 == r.breakIfLessThan) && (r.newPageBefore && this.canGenerateNewContainer(t.stimulsoft.as(g)) ? (this.newPage(), this.processNewContainerInDetailBands(t, !0, !1)) : r.newColumnBefore && this.canGenerateNewContainer(t.stimulsoft.as(g)) && (this.newColumn(), this.processNewContainerInDetailBands(t, !1, !0))) } } this.needResetPageNumberForNewPage = !1 } , P.prototype.processNewContainerAfter = function(t) { var e = t.stimulsoft.as(g); if (null == e) return; if (e.newPageAfter || e.newColumnAfter) { var r = 100 * this.freeSpace / this.containerForRender.height; (e.breakIfLessThan > r || 100 == e.breakIfLessThan) && (e.newPageAfter ? (this.generateNewPageBeforeBand = !0, this.ignoreSkipFirst = !0) : e.newColumnAfter && (this.generateNewColumnBeforeBand = !0, this.ignoreSkipFirst = !0)) } } , P.prototype.processNewContainerInDetailBandsAsync = function(t, e, r) { return __awaiter(this, void 0, void 0, function() { var i, n, o, a, s, l, u, c, m; return __generator(this, function(p) { switch (p.label) { case 0: if (null == (i = t.stimulsoft.as(h))) return [3, 12]; p.label = 1; case 1: p.trys.push([1, 10, 11, 12]), n = __values(i.dataBandInfo.detailDataBands.list), o = n.next(), p.label = 2; case 2: if (o.done) return [3, 9]; if (a = o.value, a.parent == i.parent) return [3, 8]; if (s = null != this.masterEngine ? this.masterEngine : this, null == (l = s.slaveEngines.get(a.parent.name).stimulsoft.as(P))) return [3, 8]; if (!e) return [3, 4]; return [4, l.newPageAsync()]; case 3: return p.sent(), [3, 8]; case 4: if (!r) return [3, 8]; if (!(null != t.page && t.page.columns < 2)) return [3, 6]; return [4, l.newPageAsync()]; case 5: return p.sent(), [3, 8]; case 6: return [4, l.newColumnAsync()]; case 7: p.sent(), p.label = 8; case 8: return o = n.next(), [3, 2]; case 9: return [3, 12]; case 10: return u = p.sent(), c = { error: u }, [3, 12]; case 11: try { o && !o.done && (m = n.return) && m.call(n) } finally { if (c) throw c.error } return [7]; case 12: return [2] } }) }) } , P.prototype.processNewContainerInDetailBands = function(t, e, r) { var i, n, o = t.stimulsoft.as(h); if (null != o) try { for (var a = __values(o.dataBandInfo.detailDataBands.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.parent != o.parent) { var u = null != this.masterEngine ? this.masterEngine : this , c = u.slaveEngines.get(l.parent.name).stimulsoft.as(P); null != c && (e ? c.newPage() : r && (null != t.page && t.page.columns < 2 ? c.newPage() : c.newColumn())) } } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } , P.prototype.searchStartOfKeepContainer = function(t, r) { if (null == t) return null; var i = r , n = -1 , o = -1 , a = null; while (i < t.components.count) { var s = t.components.getByIndex(i).stimulsoft.as(e.StiLevelStartContainer); null != s && (-1 == n && (a = s, o = i), n++); var l = t.components.getByIndex(i).stimulsoft.as(e.StiLevelEndContainer); null != l && --n < 0 && (n = -1, a = null, o = -1), null != s || null != l ? t.components.removeAt(i) : i++ } return null != a && (a = o >= t.components.count ? null : t.components.getByIndex(o).stimulsoft.as(F)), a } , P.prototype.moveKeepComponentsOnNextContainerAsync = function(r, i) { return __awaiter(this, void 0, void 0, function() { var n, o, a, s, l, u, c, m, p, d, g, f, S, A, y, w, b; return __generator(this, function(v) { switch (v.label) { case 0: if (null == r) return [2]; if (null == i) return [3, 9]; for (n = r.components.indexOf(i), o = [], a = n; a < r.components.count; a++) { if (null == (s = r.components.getByIndex(a).stimulsoft.as(F))) continue; if (s.stimulsoft.is(e.StiFooterMarkerContainer)) continue; if (!s.containerInfo.isAutoRendered) for (o.add(s), l = a + 1; l < r.components.count; l++) { if (u = r.components.getByIndex(l).stimulsoft.as(F), c = !1, null != u && (null != u.containerInfo.parentBand && u.containerInfo.parentBand.stimulsoft.is(t.Report.Components.StiColumnHeaderBand) && (c = !0), null != (m = null != u.containerInfo.parentBand ? u.containerInfo.parentBand.stimulsoft.as(t.Report.Components.IStiPrintAtBottom) : null) && m.printAtBottom)) break; p = r.components.getByIndex(l).top > s.top, !c && p && (r.components.getByIndex(l).top -= s.height) } } v.label = 1; case 1: v.trys.push([1, 6, 7, 8]), d = __values(o), g = d.next(), v.label = 2; case 2: if (g.done) return [3, 5]; if (f = g.value, this.breakable.setCanBreak(f), r.components.remove(f), f.parent = null, this.isNeedToSkip(f.containerInfo.parentBand)) return [3, 4]; return [4, this.renderContainerAsync(f, this.printAtBottom.canProcess(f.containerInfo.parentBand), this.footersOnAllPages.canProcess(f.containerInfo.parentBand))]; case 3: v.sent(), v.label = 4; case 4: return g = d.next(), [3, 2]; case 5: return [3, 8]; case 6: return S = v.sent(), w = { error: S }, [3, 8]; case 7: try { g && !g.done && (b = d.return) && b.call(d) } finally { if (w) throw w.error } return [7]; case 8: null != this.containerForRender && (A = this.containerForRender.components.count) > 0 && null != (y = this.containerForRender.components.getByIndex(A - 1).stimulsoft.as(F)) && y.containerInfo.parentBand.stimulsoft.is(h) && (this.printOnAllPagesIgnoreList.clear(), this.atLeastOneDatabandRenderedOnPage = !0), v.label = 9; case 9: return [2] } }) }) } , P.prototype.moveKeepComponentsOnNextContainer = function(r, i) { var n, o; if (null == r) return; if (null != i) { for (var a = r.components.indexOf(i), s = [], l = a; l < r.components.count; l++) { var u = r.components.getByIndex(l).stimulsoft.as(F); if (null == u) continue; if (u.stimulsoft.is(e.StiFooterMarkerContainer)) continue; if (!u.containerInfo.isAutoRendered) { s.add(u); for (var c = l + 1; c < r.components.count; c++) { var m = r.components.getByIndex(c).stimulsoft.as(F) , p = !1; if (null != m) { null != m.containerInfo.parentBand && m.containerInfo.parentBand.stimulsoft.is(t.Report.Components.StiColumnHeaderBand) && (p = !0); var d = null != m.containerInfo.parentBand ? m.containerInfo.parentBand.stimulsoft.as(t.Report.Components.IStiPrintAtBottom) : null; if (null != d && d.printAtBottom) break } var g = r.components.getByIndex(c).top > u.top; !p && g && (r.components.getByIndex(c).top -= u.height) } } } try { for (var f = __values(s), S = f.next(); !S.done; S = f.next()) { var A = S.value; this.breakable.setCanBreak(A), r.components.remove(A), A.parent = null, this.isNeedToSkip(A.containerInfo.parentBand) || this.renderContainer(A, this.printAtBottom.canProcess(A.containerInfo.parentBand), this.footersOnAllPages.canProcess(A.containerInfo.parentBand)) } } catch (t) { n = { error: t } } finally { try { S && !S.done && (o = f.return) && o.call(f) } finally { if (n) throw n.error } } if (null != this.containerForRender) { var y = this.containerForRender.components.count; if (y > 0) { var w = this.containerForRender.components.getByIndex(y - 1).stimulsoft.as(F); null != w && w.containerInfo.parentBand.stimulsoft.is(h) && (this.printOnAllPagesIgnoreList.clear(), this.atLeastOneDatabandRenderedOnPage = !0) } } } } , P.prototype.correctPrintOnAllPagesIgnoreListBeforeNewList = function(t, e, r) { var i, n; 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) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } this.printOnAllPagesIgnoreList2.clear() } else { if (null == t || null == e) return; this.printOnAllPagesIgnoreList2.clear(); for (var l = t.components.indexOf(e), u = l; u < t.components.count; u++) { var c = t.components.getByIndex(u).stimulsoft.as(F); null == c || c.containerInfo.isAutoRendered || (this.bandsOnAllPages.isBandInBandsList(c.containerInfo.parentBand) || null != c.containerInfo.parentBand && c.containerInfo.parentBand.stimulsoft.is(d) && 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)) } } } , P.prototype.isNeedToPrintOddEven = function(e) { var r = e.stimulsoft.as(t.Report.Components.IStiPrintOnEvenOddPages); if (null == r) return !0; if (r.printOnEvenOddPages == y.Ignore) return !0; var i = 1 & this.report.pageNumber; if (r.printOnEvenOddPages == y.PrintOnEvenPages && 0 == i) return !0; if (r.printOnEvenOddPages == y.PrintOnOddPages && 1 == i) return !0; return !1 } , P.prototype.isNeedToSkip = function(t) { if (null == t) return !1; if (null != this.printOnAllPagesIgnoreList.get(t)) return !0; if (t.stimulsoft.is(h) && null != this.containerForRender) { var e = this.containerForRender.components; if (e.count > 0) { var r = e.getByIndex(e.count - 1).stimulsoft.as(F); if (null != r && r.containerInfo.parentBand == t && r.containerInfo.isAutoRendered) return !0 } } return !1 } , P.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) } , P.prototype.renderEmptyBandsAsync = function(t, e) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(r) { switch (r.label) { case 0: if (null == t) return [3, 2]; return [4, this.emptyBands.renderAsync(t, e)]; case 1: r.sent(), r.label = 2; case 2: return [2] } }) }) } , P.prototype.renderEmptyBands = function(t, e) { null != t && this.emptyBands.render(t, e) } , P.prototype.renderPrintAtBottom = function(t, e, r) { null != t ? this.printAtBottom.render(t, e, r) : this.printAtBottom.render(this.containerForRender, e, r) } , P.prototype.finishContainer = function(t) { var e, r; if (null == t) return; try { for (var i = __values(t.components.list), n = i.next(); !n.done; n = i.next()) { var o = n.value , a = o.stimulsoft.as(F); null != a && (a.componentType == b.Static && null != a.page && a.page.columns > 1 || (a.containerInfo.parentBand = null)) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , P.prototype.finishResetPageNumberContainer = function(t, e) { var r, i; if (null == t) return; try { for (var n = __values(t.components.list), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = a.stimulsoft.as(F); if (null != s && null != s.containerInfo.parentBand && s.containerInfo.parentBand.resetPageNumber && !s.containerInfo.ignoreResetPageNumber && !s.containerInfo.isAutoRendered) { var l = this.report.renderedPages.count - 2; e && l++, this.pageNumbers.resetPageNumber(l) } } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , P.prototype.finishColumns = function(t) { var r, i; if (null == t) return; var n = 0; while (n < t.components.count) { var o = t.components.getByIndex(n).stimulsoft.as(e.StiColumnsContainer); if (null != o) { o.finishColumns(), t.components.remove(o); try { for (var a = (r = void 0, __values(o.components.list)), s = a.next(); !s.done; s = a.next()) { var l = s.value; l.left += o.left, l.top += o.top, l.parent = t, t.components.insert(n, l), n++ } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } } else n++ } } , P.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) } , P.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, l.empty) : t.invokeAfterPrint(t, l.empty) } } , P.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"); this.report.renderedPages.add(t), this.report.currentPrintPage++, 0 != this.page.report.renderedPages.count && (this.skipFirstPageBeforePrintEvent || (StiOptions.Engine.useTemplateForPagePrintEvents ? this.page.invokeBeforePrint(this.templatePage, l.empty) : this.page.invokeBeforePrint(this.page, l.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 E(this.templatePage.margins.left,this.templatePage.margins.right,this.templatePage.margins.top,this.templatePage.margins.bottom)) } , P.prototype.checkFreeSpace1Async = function(t) { return __awaiter(this, void 0, void 0, function() { var e; return __generator(this, function(r) { switch (r.label) { case 0: if (!this.isCrossBandsMode) return [3, 2]; return [4, this.checkFreeSpace2Async(t.width)]; case 1: return [2, r.sent()]; case 2: return [4, this.checkFreeSpace2Async(t.height)]; case 3: if (e = r.sent()) return this.breakable.setCanBreak(t), [2, !1]; return [2, e] } }) }) } , P.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 } , P.prototype.checkFreeSpace2Async = function(t) { return __awaiter(this, void 0, void 0, function() { var e; return __generator(this, function(r) { switch (r.label) { case 0: if (!this.isCrossBandsMode) return [3, 3]; if (!(t > this.crossFreeSpace)) return [3, 2]; return [4, this.newDestinationAsync()]; case 1: if (r.sent(), t > this.crossFreeSpace) return [2, !1]; return [2, !0]; case 2: return [3, 10]; case 3: if (!(t > 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 + 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))) return [3, 7]; if (!this.templatePage.unlimitedBreakable) return [3, 6]; if (!(this.positionY > 0)) return [3, 5]; return this.freeSpace += this.templatePage.height - this.positionBottomY, e = this.ignoreUnlimitedHeightForNewPage, this.ignoreUnlimitedHeightForNewPage = !1, [4, this.newDestinationAsync()]; case 4: r.sent(), this.ignoreUnlimitedHeightForNewPage = e, r.label = 5; case 5: if (t > this.templatePage.height) return [2, !0]; r.label = 6; case 6: return [2, !1]; case 7: return [3, 10]; case 8: return [4, this.newDestinationAsync()]; case 9: return r.sent(), [2, !0]; case 10: return [2, !1] } }) }) } , P.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)) { if (this.templatePage.unlimitedBreakable) { if (this.positionY > 0) { this.freeSpace += this.templatePage.height - this.positionBottomY; var e = this.ignoreUnlimitedHeightForNewPage; this.ignoreUnlimitedHeightForNewPage = !1, this.newDestination(), this.ignoreUnlimitedHeightForNewPage = e } if (t > this.templatePage.height) return !0 } return !1 } } return !1 } , P.prototype.storeLatestDataBand = function(t) { if (t.stimulsoft.is(h)) if (this.columnsOnDataBand.enabled) { var r = this.columnsOnDataBand.getColumns(); if (null == r) this.indexOfLatestDataBand = new e.StiIndex(0,this.containerForRender.components.count); else { var i = this.containerForRender.components.indexOf(r); this.indexOfLatestDataBand = new e.StiIndex(r.components.count,i) } } else this.indexOfLatestDataBand = new e.StiIndex(this.containerForRender.components.count) } , P.prototype.setReportVariables = function(t) { if (t.setReportVariables(), this.columnsOnDataBand.enabled && t.stimulsoft.is(h)) { var e = this.columnsOnDataBand.getColumns(); null != e && (this.report.column = e.getCurrentColumn()) } else this.report.column = this.columnsOnPanel.currentColumn } , P.prototype.checkForDuplicate = function(t, e, r) { if (null == this.duplilcatesLastValues && (this.duplilcatesLastValues = new u), 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 } , P.prototype.resetProcessingDuplicates1 = function(t) { null != this.duplilcatesLastValues && this.duplilcatesLastValues.containsKey(t) && this.duplilcatesLastValues.set(t, null) } , P.prototype.resetProcessingDuplicates2 = function(t) { var e = r.format("{0}_{1}", t.left, t.width); null != this.duplilcatesLastValues && this.duplilcatesLastValues.containsKey(e) && this.duplilcatesLastValues.set(e, null) } , P.prototype.getSumTagsOnPage = function(t, e) { return 0 } , P.prototype.getComponentByNameFromRenderedPage = function(t, e) { var r, i; try { for (var n = __values(t.getComponents().list), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (a.name == e) return a } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } return null } , P.prototype.renderBandAsync = function(i, n, o) { return void 0 === n && (n = !1), void 0 === o && (o = !1), __awaiter(this, void 0, void 0, function() { var a, s, l, c, d, g, f, S, A, y, w, b, f, v, C, E, B, T, I, x, F, R, P, N, k, M, O, _, L, j, H, G; return __generator(this, function(Q) { switch (Q.label) { case 0: this.bandsInProgress.add(i), a = new D, Q.label = 1; case 1: if (Q.trys.push([1, 11, 12, 13]), s = new D, l = !0, i.stimulsoft.is(h) && i.columns > 1 && (l = !1), c = null, l) { c = this.getChildBands(i); try { for (d = __values(c.list), g = d.next(); !g.done; g = d.next()) f = g.value, f.keepChildTogether && this.addLevel() } catch (t) { O = { error: t } } finally { try { g && !g.done && (_ = d.return) && _.call(d) } finally { if (O) throw O.error } } } return S = !0, A = { ref: S }, [4, this.internalRenderBandAsync(i, n, o, A)]; case 2: if (y = Q.sent(), S = A.ref, null != y && s.add(y), !l) return [3, 10]; Q.label = 3; case 3: Q.trys.push([3, 8, 9, 10]), w = __values(c.list), b = w.next(), Q.label = 4; case 4: if (b.done) return [3, 7]; return f = b.value, v = f.enabled, S || f.printIfParentDisabled || (f.enabled = !1), C = !(!S && !f.printIfParentDisabled), E = { ref: C }, [4, this.internalRenderBandAsync(f, n, o, E)]; case 5: B = Q.sent(), C = E.ref, null != B && s.add(B), f.keepChildTogether && this.removeLevel(), f.enabled = v, Q.label = 6; case 6: return b = w.next(), [3, 4]; case 7: return [3, 10]; case 8: return T = Q.sent(), L = { error: T }, [3, 10]; case 9: try { b && !b.done && (j = w.return) && j.call(w) } finally { if (L) throw L.error } return [7]; case 10: if ((i.stimulsoft.is(m) && i.printOnAllPages || i.stimulsoft.is(p) && i.printOnAllPages) && null != y && y.components.count > 0 && (I = this, null != this.report && null != this.report.engine && (I = this.report.engine), null == I.componentPlacementRemakeTable && (I.componentPlacementRemakeTable = new u), I.componentPlacementRemakeTable.containsKey(i) || (I.componentPlacementRemakeTable.set(i, null), x = null, i.stimulsoft.is(m) && (x = e.StiHeaderBandBuilder.getMaster(i)), i.stimulsoft.is(p) && (x = e.StiFooterBandBuilder.getMaster(i)), null != x && null != x.masterComponent && x.masterComponent.stimulsoft.is(h) && I.componentPlacementRemakeTable.set(i, x.masterComponent)), null != (F = I.componentPlacementRemakeTable.get(i)) && F.stimulsoft.is(h) && (R = y.components.getByIndex(0).componentPlacement, !r.isNullOrEmpty(R)))) { R += "_r" + F.position.toString(); try { for (P = __values(y.components.list), N = P.next(); !N.done; N = P.next()) k = N.value, k.componentPlacement = R } catch (t) { H = { error: t } } finally { try { N && !N.done && (G = P.return) && G.call(P) } finally { if (H) throw H.error } } } return [2, s]; case 11: return M = Q.sent(), t.System.StiError.showError(M, !1), [3, 13]; case 12: return this.bandsInProgress.removeAt(this.bandsInProgress.length - 1), [7]; case 13: return [2, a] } }) }) } , P.prototype.renderBand = function(i, n, o) { var a, s, l, c, d, g; void 0 === n && (n = !1), void 0 === o && (o = !1), this.bandsInProgress.add(i); var f = new D; try { var S = new D , A = !0; i.stimulsoft.is(h) && i.columns > 1 && (A = !1); var y = null; if (A) { y = this.getChildBands(i); try { for (var w = __values(y.list), b = w.next(); !b.done; b = w.next()) { var v = b.value; v.keepChildTogether && this.addLevel() } } catch (t) { a = { error: t } } finally { try { b && !b.done && (s = w.return) && s.call(w) } finally { if (a) throw a.error } } } var C = !0 , E = { ref: C } , B = this.internalRenderBand(i, n, o, E); if (C = E.ref, null != B && S.add(B), A) try { for (var T = __values(y.list), I = T.next(); !I.done; I = T.next()) { var v = I.value , x = v.enabled; C || v.printIfParentDisabled || (v.enabled = !1); var F = !(!C && !v.printIfParentDisabled) , R = { ref: F } , P = this.internalRenderBand(v, n, o, R); F = R.ref, null != P && S.add(P), v.keepChildTogether && this.removeLevel(), v.enabled = x } } catch (t) { l = { error: t } } finally { try { I && !I.done && (c = T.return) && c.call(T) } finally { if (l) throw l.error } } if ((i.stimulsoft.is(m) && i.printOnAllPages || i.stimulsoft.is(p) && i.printOnAllPages) && null != B && B.components.count > 0) { var N = this; if (null != this.report && null != this.report.engine && (N = this.report.engine), null == N.componentPlacementRemakeTable && (N.componentPlacementRemakeTable = new u), !N.componentPlacementRemakeTable.containsKey(i)) { N.componentPlacementRemakeTable.set(i, null); var k = null; i.stimulsoft.is(m) && (k = e.StiHeaderBandBuilder.getMaster(i)), i.stimulsoft.is(p) && (k = e.StiFooterBandBuilder.getMaster(i)), null != k && null != k.masterComponent && k.masterComponent.stimulsoft.is(h) && N.componentPlacementRemakeTable.set(i, k.masterComponent) } var M = N.componentPlacementRemakeTable.get(i); if (null != M && M.stimulsoft.is(h)) { var O = B.components.getByIndex(0).componentPlacement; if (!r.isNullOrEmpty(O)) { O += "_r" + M.position.toString(); try { for (var _ = __values(B.components.list), L = _.next(); !L.done; L = _.next()) { L.value.componentPlacement = O } } catch (t) { d = { error: t } } finally { try { L && !L.done && (g = _.return) && g.call(_) } finally { if (d) throw d.error } } } } } return S } catch (e) { t.System.StiError.showError(e, !1) } finally { this.bandsInProgress.removeAt(this.bandsInProgress.length - 1) } return f } , P.prototype.internalRenderBandAsync = function(t, i, n, o) { return void 0 === i && (i = !1), void 0 === n && (n = !1), void 0 === o && (o = { ref: !0 }), __awaiter(this, void 0, void 0, function() { var a, s, c, m, p, d, g, y, v, C, E, E, B, T, I, D, P, N, k, M; return __generator(this, function(O) { switch (O.label) { case 0: if (a = null, this.storeLatestDataBand(t), s = t.stimulsoft.as(f), c = t.stimulsoft.as(S), m = null, p = A.None, null != s && (m = s.brush), null != c && null != c.border && (p = c.border.side), d = t.enabled, g = t.report, y = null, v = !1, t.useParentStyles && null != t.parent && (null != g && null != g.engine && null != g.engine.hashParentStyles && g.engine.hashParentStyles.count > 0 && (y = g.engine.hashParentStyles.get(t.parent).stimulsoft.as(x)), null == y && (y = x.getStyle(t.parent)), null != y && (y.setStyleToComponent(t), v = !0, null != (C = t.getComponentStyle2()) && C.setStyleToComponent(t))), StiOptions.Engine.useParentStylesOldMode || null != (E = e.StiOddEvenStylesHelper.applyOddEvenStyles(this.report, t.stimulsoft.as(h), t)) && (y = E), t.invokeBeforePrint(t, l.empty), null != g && null != g.engine && g.engine.hashUseParentStyles.containsKey(t) && (null != y || r.isNullOrWhiteSpace(t.componentStyle) || (y = g.styles.getByName(t.componentStyle)), null != g.engine.hashParentStyles && g.engine.hashParentStyles.count > 0 && null != (E = g.engine.hashParentStyles.get(t).stimulsoft.as(x)) && (y = E), B = x.getStyle(t, y), null == g.engine.hashParentStyles && (g.engine.hashParentStyles = new u), g.engine.hashParentStyles.set(t, B), v = !0), T = null, t.stimulsoft.is(h) && (T = t), !t.stimulsoft.is(h) || this.isNeedToSkip(t) || this.denyClearPrintOnAllPagesIgnoreList || (this.printOnAllPagesIgnoreList.clear(), this.atLeastOneDatabandRenderedOnPage = !0), I = o.ref, I || (t.enabled = !1), I = t.enabled, o.ref = I, !this.isNeedToPrintOddEven(t) || this.isNeedToSkip(t) || !t.isEnabled) return [3, 6]; if (this.setReportVariables(t), i) return [3, 2]; return [4, this.processNewContainerBeforeAsync(t)]; case 1: O.sent(), O.label = 2; case 2: return [4, t.internalRenderAsync()]; case 3: if (a = O.sent().stimulsoft.as(F), t.stimulsoft.is(h) && (D = t, a.containerInfo.dataBandPosition = D.position, P = null != D.filterMethodHandler || null != D.sort && D.sort.length > 0 || null != g.dataBandsUsedInPageTotals && -1 != g.dataBandsUsedInPageTotals.indexOf(t.name), P && null != D.dataSource && (a.containerInfo.dataSourceRow = D.dataSource.getDataRow(D.dataSource.position)), null == D.businessObject || null == D.masterComponent && !P || (a.containerInfo.businessObjectCurrent = D.businessObject.current)), null != t.parent && (t.parent.stimulsoft.is(R) ? t.componentType == b.Static ? a.width = t.parent.width : a.width = t.parent.getColumnWidth() : t.isCross || (a.width = t.parent.width)), N = a.page, a.page = t.page, a.invokeEvents(), a.page = N, a.containerInfo.parentBand = t, t.componentType != b.Static && (a.dockStyle = w.None), StiOptions.Engine.useParentStylesOldMode && e.StiOddEvenStylesHelper.applyOddEvenStyles(this.report, t.stimulsoft.as(h), a), this.silentMode) return [3, 5]; return [4, this.renderContainerAsync(a, this.printAtBottom.canProcess(t), this.footersOnAllPages.canProcess(t))]; case 4: O.sent(), O.label = 5; case 5: i || this.processNewContainerAfter(t), O.label = 6; case 6: return null != T && n && (t.enabled ? (T.invokeRendering(), T.invokeGroupRendering()) : T.calcInvisible && (T.invokeRendering(), T.invokeGroupRendering())), t.invokeAfterPrint(t, l.empty), v && null != g.engine.hashParentStyles && g.engine.hashParentStyles.remove(t), null != s && (s.brush = m), null != c && null != c.border && (c.border.side = p), t.enabled = d, k = t.stimulsoft.as(S), null != k && (M = null == a ? null : a.stimulsoft.as(S)), this.checkContainerOnTable(a), [2, a] } }) }) } , P.prototype.internalRenderBand = function(t, i, n, o) { void 0 === i && (i = !1), void 0 === n && (n = !1), void 0 === o && (o = { ref: !0 }); var a = null; this.storeLatestDataBand(t); var s = t.stimulsoft.as(f) , c = t.stimulsoft.as(S) , m = null , p = A.None; null != s && (m = s.brush), null != c && null != c.border && (p = c.border.side); var d = t.enabled , g = t.report , y = null , v = !1; if (t.useParentStyles && null != t.parent && (null != g && null != g.engine && null != g.engine.hashParentStyles && g.engine.hashParentStyles.count > 0 && (y = g.engine.hashParentStyles.get(t.parent).stimulsoft.as(x)), null == y && (y = x.getStyle(t.parent)), null != y)) { y.setStyleToComponent(t), v = !0; var C = t.getComponentStyle2(); null != C && C.setStyleToComponent(t) } if (!StiOptions.Engine.useParentStylesOldMode) { var E = e.StiOddEvenStylesHelper.applyOddEvenStyles(this.report, t.stimulsoft.as(h), t); null != E && (y = E) } if (t.invokeBeforePrint(t, l.empty), null != g && null != g.engine && g.engine.hashUseParentStyles.containsKey(t)) { if (null != y || r.isNullOrWhiteSpace(t.componentStyle) || (y = g.styles.getByName(t.componentStyle)), null != g.engine.hashParentStyles && g.engine.hashParentStyles.count > 0) { var E = g.engine.hashParentStyles.get(t).stimulsoft.as(x); null != E && (y = E) } var B = x.getStyle(t, y); null == g.engine.hashParentStyles && (g.engine.hashParentStyles = new u), g.engine.hashParentStyles.set(t, B), v = !0 } var T = null; t.stimulsoft.is(h) && (T = t), !t.stimulsoft.is(h) || this.isNeedToSkip(t) || this.denyClearPrintOnAllPagesIgnoreList || (this.printOnAllPagesIgnoreList.clear(), this.atLeastOneDatabandRenderedOnPage = !0); var I = o.ref; if (I || (t.enabled = !1), I = t.enabled, o.ref = I, this.isNeedToPrintOddEven(t) && !this.isNeedToSkip(t) && t.isEnabled) { if (this.setReportVariables(t), i || this.processNewContainerBefore(t), a = t.internalRender().stimulsoft.as(F), t.stimulsoft.is(h)) { var D = t; a.containerInfo.dataBandPosition = D.position; var P = null != D.filterMethodHandler || null != D.sort && D.sort.length > 0 || null != g.dataBandsUsedInPageTotals && -1 != g.dataBandsUsedInPageTotals.indexOf(t.name); P && null != D.dataSource && (a.containerInfo.dataSourceRow = D.dataSource.getDataRow(D.dataSource.position)), null == D.businessObject || null == D.masterComponent && !P || (a.containerInfo.businessObjectCurrent = D.businessObject.current) } null != t.parent && (t.parent.stimulsoft.is(R) ? t.componentType == b.Static ? a.width = t.parent.width : a.width = t.parent.getColumnWidth() : t.isCross || (a.width = t.parent.width)); var N = a.page; a.page = t.page, a.invokeEvents(), a.page = N, a.containerInfo.parentBand = t, t.componentType != b.Static && (a.dockStyle = w.None), StiOptions.Engine.useParentStylesOldMode && e.StiOddEvenStylesHelper.applyOddEvenStyles(this.report, t.stimulsoft.as(h), a), this.silentMode || this.renderContainer(a, this.printAtBottom.canProcess(t), this.footersOnAllPages.canProcess(t)), i || this.processNewContainerAfter(t) } if (null != T && n && (t.enabled ? (T.invokeRendering(), T.invokeGroupRendering()) : T.calcInvisible && (T.invokeRendering(), T.invokeGroupRendering())), t.invokeAfterPrint(t, l.empty), v && null != g.engine.hashParentStyles && g.engine.hashParentStyles.remove(t), null != s && (s.brush = m), null != c && null != c.border && (c.border.side = p), t.enabled = d, null != t.stimulsoft.as(S)) var k = null == a ? null : a.stimulsoft.as(S); return this.checkContainerOnTable(a), a } , P.prototype.checkContainerOnTable = function(t) { var e, r, l, u, c, h, d, g, f, S; if (null == t || null == t.containerInfo.parentBand) return; if (t.containerInfo.parentBand.stimulsoft.is(m)) { if (!t.containerInfo.parentBand.headerBandInfo.isTableHeader) return; var A = t.getComponents(); try { for (var y = __values(A.list), b = y.next(); !b.done; b = y.next()) { var v = b.value , C = v.stimulsoft.as("IStiTableCell"); if (null != C && C.join && null != C.parentJoinCell) { null != v.parent && (v.parent.minSize = v.parent.maxSize = new a(v.parent.width,v.parent.height)); var E = A.getByName(C.parentJoinCell.name); null != E && (v.height = E.parent.bottom - v.parent.top, C.cellDockStyle != w.None && (v.maxSize = v.minSize = new a(v.width,v.height))); continue } } } catch (t) { e = { error: t } } finally { try { b && !b.done && (r = y.return) && r.call(y) } finally { if (e) throw e.error } } return } if (t.containerInfo.parentBand.stimulsoft.is(o)) { if (!t.containerInfo.parentBand.groupHeaderBandInfo.isTableGroupHeader) return; var A = t.getComponents(); try { for (var B = __values(A.list), T = B.next(); !T.done; T = B.next()) { var v = T.value , C = v.stimulsoft.as(s); if (null != C && C.join && null != C.parentJoinCell) { null != v.parent && (v.parent.minSize = v.parent.maxSize = new a(v.parent.width,v.parent.height)); var E = A.getByName(C.parentJoinCell.name); null != E && (v.height = E.parent.bottom - v.parent.top, C.cellDockStyle != w.None && (v.maxSize = v.minSize = new a(v.width,v.height))); continue } } } catch (t) { l = { error: t } } finally { try { T && !T.done && (u = B.return) && u.call(B) } finally { if (l) throw l.error } } return } if (t.containerInfo.parentBand.stimulsoft.is(n)) { var A = t.getComponents(); try { for (var I = __values(A.list), x = I.next(); !x.done; x = I.next()) { var v = x.value , C = v.stimulsoft.as(s); if (null != C && C.join && null != C.parentJoinCell) { null != v.parent && (v.parent.minSize = v.parent.maxSize = new a(v.parent.width,v.parent.height)); var E = A.getByName(C.parentJoinCell.name); null != E && (v.height = E.parent.bottom - v.parent.top, C.cellDockStyle != w.None && (v.maxSize = v.minSize = new a(v.width,v.height))); continue } } } catch (t) { c = { error: t } } finally { try { x && !x.done && (h = I.return) && h.call(I) } finally { if (c) throw c.error } } return } if (t.containerInfo.parentBand.stimulsoft.is(p)) { if (!t.containerInfo.parentBand.footerBandInfo.isTableFooter) return; var A = t.getComponents(); try { for (var F = __values(A.list), D = F.next(); !D.done; D = F.next()) { var v = D.value , C = v.stimulsoft.as(s); if (null != C && C.join && null != C.parentJoinCell) { null != v.parent && (v.parent.minSize = v.parent.maxSize = new a(v.parent.width,v.parent.height)); var E = A.getByName(C.parentJoinCell.name); null != E && (v.height = E.parent.bottom - v.parent.top, C.cellDockStyle != w.None && (v.maxSize = v.minSize = new a(v.width,v.height))); continue } } } catch (t) { d = { error: t } } finally { try { D && !D.done && (g = F.return) && g.call(F) } finally { if (d) throw d.error } } return } if (t.containerInfo.parentBand.stimulsoft.is(i)) { if (!t.containerInfo.parentBand.groupFooterBandInfo.isTableGroupFooter) return; var A = t.getComponents(); try { for (var R = __values(A.list), P = R.next(); !P.done; P = R.next()) { var v = P.value , C = v.stimulsoft.as(s); if (null != C && C.join && null != C.parentJoinCell) { null != v.parent && (v.parent.minSize = v.parent.maxSize = new a(v.parent.width,v.parent.height)); var E = A.getByName(C.parentJoinCell.name); null != E && (v.height = E.parent.bottom - v.parent.top, C.cellDockStyle != w.None && (v.maxSize = v.minSize = new a(v.width,v.height))); continue } } } catch (t) { f = { error: t } } finally { try { P && !P.done && (S = R.return) && S.call(R) } finally { if (f) throw f.error } } return } } , P.prototype.renderContainerAsync = function(t, r, i) { return void 0 === r && (r = !1), void 0 === i && (i = !1), __awaiter(this, void 0, void 0, function() { var n; return __generator(this, function(o) { switch (o.label) { case 0: if (t.stimulsoft.is(e.StiColumnsContainer)) return [2, this.internalRenderColumnsContainer(t)]; if (!t.containerInfo.isColumns || null != this.columnsOnDataBand.getColumns()) return [3, 2]; return [4, this.columnsOnDataBand.renderColumnsAsync(t.containerInfo.parentBand)]; case 1: o.sent(), o.label = 2; case 2: if (!(null != (n = null != t.containerInfo.parentBand ? t.containerInfo.parentBand.stimulsoft.as(h) : null) && n.columns > 1 && this.columnsOnDataBand.enabled)) return [3, 4]; return [4, this.internalRenderContainerToColumnsAsync(t, r, i)]; case 3: return [2, o.sent()]; case 4: return [4, this.internalRenderContainerAsync(t, r, i)]; case 5: return [2, o.sent()] } }) }) } , P.prototype.renderContainer = function(t, r, i) { if (void 0 === r && (r = !1), void 0 === i && (i = !1), t.stimulsoft.is(e.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.stimulsoft.as(h) : null; if (null != n && n.columns > 1 && this.columnsOnDataBand.enabled) return this.internalRenderContainerToColumns(t, r, i); return this.internalRenderContainer(t, r, i) } , P.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 } , P.prototype.internalRenderContainerToColumnsAsync = function(t, e, r) { return __awaiter(this, void 0, void 0, function() { var i, n, o, a, s, l; return __generator(this, function(u) { switch (u.label) { case 0: if (t.containerInfo.isColumns = !0, null == (i = this.columnsOnDataBand.getColumns())) return [2, null]; if (!((n = i.howMuchAdditionalSpaceNeeded(i.height, t)) > 0)) return [3, 7]; if (o = 0, null != i.page && i.page.unlimitedHeight && i.page.unlimitedBreakable && (a = i.page.pageHeight - i.page.margins.top - i.page.margins.bottom, (i.top + i.height) / a != (i.top + i.height + n) / a && (o += a - (i.top + i.height) % a, n -= o)), !(this.freeSpace < n) || this.flagRenderColumnsOnDataBandOnNewPage || 0 == this.positionY) return [3, 6]; return s = null != i.containerInfo.parentBand ? i.containerInfo.parentBand.stimulsoft.as(h) : null, null == s && (s = t.containerInfo.parentBand.stimulsoft.as(h)), [4, this.newDestinationAsync()]; case 1: if (u.sent(), null != (l = this.columnsOnDataBand.getColumns())) return [3, 3]; return [4, this.columnsOnDataBand.renderColumnsAsync(s)]; case 2: return l = u.sent(), [3, 4]; case 3: this.columnsOnDataBand.enabled = !0, u.label = 4; case 4: return this.flagRenderColumnsOnDataBandOnNewPage = !0, [4, this.renderContainerAsync(t, e, r)]; case 5: return u.sent(), [2, t]; case 6: this.flagRenderColumnsOnDataBandOnNewPage = !1, i.height += n + o, this.positionY += n, this.freeSpace -= n, u.label = 7; case 7: return i.addContainer(t), [2, t] } }) }) } , P.prototype.internalRenderContainerToColumns = function(t, e, r) { t.containerInfo.isColumns = !0; var i = this.columnsOnDataBand.getColumns(); if (null == i) return null; var n = i.howMuchAdditionalSpaceNeeded(i.height, t); if (n > 0) { var o = 0; if (null != i.page && i.page.unlimitedHeight && i.page.unlimitedBreakable) { var a = i.page.pageHeight - i.page.margins.top - i.page.margins.bottom; (i.top + i.height) / a != (i.top + i.height + n) / a && (o += a - (i.top + i.height) % a, n -= o) } if (this.freeSpace < n && !this.flagRenderColumnsOnDataBandOnNewPage && 0 != this.positionY) { var s = null != i.containerInfo.parentBand ? i.containerInfo.parentBand.stimulsoft.as(h) : null; null == s && (s = t.containerInfo.parentBand.stimulsoft.as(h)), this.newDestination(); var l = this.columnsOnDataBand.getColumns(); return null == l ? l = this.columnsOnDataBand.renderColumns(s) : this.columnsOnDataBand.enabled = !0, this.flagRenderColumnsOnDataBandOnNewPage = !0, this.renderContainer(t, e, r), t } this.flagRenderColumnsOnDataBandOnNewPage = !1, i.height += n + o, this.positionY += n, this.freeSpace -= n } return i.addContainer(t), t } , P.prototype.internalRenderContainerAsync = function(e, i, n) { return __awaiter(this, void 0, void 0, function() { var o, a, s, l, u, c; return __generator(this, function(m) { switch (m.label) { case 0: if (this.columnsOnDataBand.enabled = !1, this.columnsOnPanel.count > 0 && (null != e.containerInfo && null != e.containerInfo.parentBand && e.containerInfo.parentBand.parent.stimulsoft.is(R) && e.containerInfo.parentBand.componentType == b.Static ? e.width = e.containerInfo.parentBand.parent.width : e.width = this.columnsOnPanel.getColumnWidth()), this.isNeedToSkip(e.containerInfo.parentBand)) return [2, null]; return null != e.containerInfo.parentBand && e.containerInfo.parentBand.stimulsoft.is(d) && (o = e.containerInfo.parentBand.getMaster(), o.componentType == b.Static && this.breakable.setCanBreak(e)), a = null != e.containerInfo.parentBand && null != e.containerInfo.parentBand.page && e.containerInfo.parentBand.page.unlimitedHeight, this.lastFreeSpaceOnPageAfterNewList > 0 && e.height > this.lastFreeSpaceOnPageAfterNewList && !e.canBreak && !a && (this.breakable.setCanBreak(e), s = -1, e.containerInfo.parentBand.stimulsoft.is(h) && (s = e.containerInfo.parentBand.position), l = r.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.", e.name, s >= 0 ? r.format(" (position {0})", s) : "")), [4, this.breakable.processBreakableAsync(e)]; case 1: e = m.sent(), u = e.canBreak, c = this.report.renderedPages.count, m.label = 2; case 2: return [4, this.checkFreeSpace1Async(e)]; case 3: if (!m.sent()) return [3, 4]; return [3, 2]; case 4: if (c != this.report.renderedPages.count && this.reprocessRuntimeVariables(e), u == e.canBreak) return [3, 6]; return [4, this.breakable.processBreakableAsync(e)]; case 5: e = m.sent(), m.label = 6; case 6: return this.isCrossBandsMode ? (e.top = this.positionY, this.crossFreeSpace -= e.width) : (e.left = this.positionX, this.freeSpace = this.freeSpace - e.height), null != e.containerInfo.parentBand && e.containerInfo.parentBand.stimulsoft.is(t.Report.Components.StiPageFooterBand) ? (e.top = this.positionBottomY - e.height, this.positionBottomY -= e.height) : (this.isCrossBandsMode ? e.left = this.positionX : e.top = this.positionY, n || i ? (n && this.footersOnAllPages.add(e), i && this.printAtBottom.add(e)) : this.isCrossBandsMode ? this.positionX += e.width : this.positionY += e.height), this.addContainerToDestination(e), null != e.containerInfo.parentBand && e.containerInfo.parentBand.stimulsoft.is(h) && !this.denyClearPrintOnAllPagesIgnoreList && (this.printOnAllPagesIgnoreList.clear(), this.atLeastOneDatabandRenderedOnPage = !0), [2, e] } }) }) } , P.prototype.internalRenderContainer = function(e, i, n) { if (this.columnsOnDataBand.enabled = !1, this.columnsOnPanel.count > 0 && (null != e.containerInfo && null != e.containerInfo.parentBand && e.containerInfo.parentBand.parent.stimulsoft.is(R) && e.containerInfo.parentBand.componentType == b.Static ? e.width = e.containerInfo.parentBand.parent.width : e.width = this.columnsOnPanel.getColumnWidth()), this.isNeedToSkip(e.containerInfo.parentBand)) return null; if (null != e.containerInfo.parentBand && e.containerInfo.parentBand.stimulsoft.is(d)) { e.containerInfo.parentBand.getMaster().componentType == b.Static && this.breakable.setCanBreak(e) } var o = null != e.containerInfo.parentBand && null != e.containerInfo.parentBand.page && e.containerInfo.parentBand.page.unlimitedHeight; if (this.lastFreeSpaceOnPageAfterNewList > 0 && e.height > this.lastFreeSpaceOnPageAfterNewList && !e.canBreak && !o) { this.breakable.setCanBreak(e); var a = -1; e.containerInfo.parentBand.stimulsoft.is(h) && (a = e.containerInfo.parentBand.position); var s = r.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.", e.name, a >= 0 ? r.format(" (position {0})", a) : "") } e = this.breakable.processBreakable(e); var l = e.canBreak , u = this.report.renderedPages.count; while (this.checkFreeSpace1(e)) ; return u != this.report.renderedPages.count && this.reprocessRuntimeVariables(e), l != e.canBreak && (e = this.breakable.processBreakable(e)), this.isCrossBandsMode ? (e.top = this.positionY, this.crossFreeSpace -= e.width) : (e.left = this.positionX, this.freeSpace = this.freeSpace - e.height), null != e.containerInfo.parentBand && e.containerInfo.parentBand.stimulsoft.is(t.Report.Components.StiPageFooterBand) ? (e.top = this.positionBottomY - e.height, this.positionBottomY -= e.height) : (this.isCrossBandsMode ? e.left = this.positionX : e.top = this.positionY, n || i ? (n && this.footersOnAllPages.add(e), i && this.printAtBottom.add(e)) : this.isCrossBandsMode ? this.positionX += e.width : this.positionY += e.height), this.addContainerToDestination(e), null != e.containerInfo.parentBand && e.containerInfo.parentBand.stimulsoft.is(h) && !this.denyClearPrintOnAllPagesIgnoreList && (this.printOnAllPagesIgnoreList.clear(), this.atLeastOneDatabandRenderedOnPage = !0), e } , P.specialContainerHeight2 = 1e11 - 100, P.newPageTime = Date.now(), P }(); e.StiEngine = P }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiContainer , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(r); e.StiFooterMarkerContainer = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.Report.Components.StiFooterBand , n = t.Report.Components.StiContainer , o = t.Report.Components.StiDataBand , a = function() { function a(t) { this.bands = new r, this.engine = null, this.engine = t } return a.prototype.add = function(t) { this.bands.set(t, t) } , a.prototype.canProcess = function(t) { var e = t.stimulsoft.as(i); return null != e && e.printOnAllPages } , a.prototype.render = function(a, s, l) { var u, c, m, p, h, d, g, f; if (null == a || 0 == this.bands.count) return; for (var S = l.ref, A = new r, y = [], w = null, b = !0, v = s; v < a.components.count; v++) { var C = a.components.getByIndex(v).stimulsoft.as(n); if (null == C) continue; if (null != C.containerInfo.parentBand && C.containerInfo.parentBand.stimulsoft.is(o) && (w = C.containerInfo.parentBand.stimulsoft.as(o)), C == S && (b = !1), b && null != this.bands.get(C)) { null != C.containerInfo.parentBand && C.containerInfo.parentBand.stimulsoft.is(i) && C.containerInfo.parentBand.invokeMoveFooterToBottom(); var E = A.get(C.name); null == E && (E = [], A.set(C.name, E)), E.add(C), y.add(C) } if (C.stimulsoft.is(e.StiFooterMarkerContainer)) { var E = A.get(C.name); if (null != E && E.length > 0) { var B = E[E.length - 1].stimulsoft.as(n) , T = a.components.indexOf(B); E.removeAt(E.length - 1), a.components.removeAt(v), a.components.insert(v, B), a.components.removeAt(T), v--, y.remove(B); var I = B.height; B.top = C.top, this.engine.positionY += B.height; for (var x = v + 1; x < a.components.count; x++) { var F = a.components.getByIndex(x).stimulsoft.as(n); if (null == F) continue; if (F == S) break; F.top += I } B.containerInfo.isAutoRendered = !0, C == S && (S = B) } } } try { for (var D = __values(y), R = D.next(); !R.done; R = D.next()) { var C = R.value , P = null; if (null != C.containerInfo.parentBand && C.containerInfo.parentBand.stimulsoft.is(i)) try { for (var N = (m = void 0, __values(a.components.list)), k = N.next(); !k.done; k = N.next()) { var M = k.value; if (M != C && M.stimulsoft.is(n) && !A.containsKey(M.name)) { var O = M.stimulsoft.as(n); if (null != O.containerInfo && null != O.containerInfo.parentBand && (O.containerInfo.parentBand.stimulsoft.is(i) || O.containerInfo.parentBand.stimulsoft.is(t.Report.Components.StiReportSummaryBand))) { if (O.containerInfo.parentBand.stimulsoft.is(t.Report.Components.StiReportSummaryBand)) { P = M; break } if (null == w) { P = M; break } try { for (var _ = (h = void 0, __values(w.dataBandInfo.footersOnAllPages.list)), L = _.next(); !L.done; L = _.next()) { var j = L.value; if (j.name == M.name) { P = M; break } } } catch (t) { h = { error: t } } finally { try { L && !L.done && (d = _.return) && d.call(_) } finally { if (h) throw h.error } } try { for (var H = (g = void 0, __values(w.dataBandInfo.footersOnLastPage.list)), G = H.next(); !G.done; G = H.next()) { var j = G.value; if (j.name == M.name) { P = M; break } } } catch (t) { g = { error: t } } finally { try { G && !G.done && (f = H.return) && f.call(H) } finally { if (g) throw g.error } } } } } } catch (t) { m = { error: t } } finally { try { k && !k.done && (p = N.return) && p.call(N) } finally { if (m) throw m.error } } if (null != P) { a.components.remove(C); var Q = a.components.indexOf(P); a.components.insert(Q, C), C.top = P.top; for (var Y = Q + 1; Y < a.components.count; Y++) a.components.getByIndex(Y).top += C.height; this.engine.positionY += C.height } else a.components.remove(C), a.components.add(C), C.top = this.engine.positionY, this.engine.positionY += C.height; C.containerInfo.isAutoRendered = !0 } } catch (t) { u = { error: t } } finally { try { R && !R.done && (c = D.return) && c.call(D) } finally { if (u) throw u.error } } return this.bands.clear(), void (l.ref = S) } , a }(); e.StiFootersOnAllPages = a }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e) { void 0 === e && (e = -1), this.index = -1, this.indexInColumnContainer = -1, this.index = t, this.indexInColumnContainer = e } return t }(); t.StiIndex = e }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiContainer , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(r); e.StiLevelContainer = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { var e = t.call(this) || this; return e.name = "LevelEnd", e.height = 0, e.interaction = null, e } return __extends(e, t), e }(t.StiLevelContainer); t.StiLevelEndContainer = e }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { var e = t.call(this) || this; return e.name = "LevelStart", e.height = 0, e.interaction = null, e } return __extends(e, t), e }(t.StiLevelContainer); t.StiLevelStartContainer = e }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiContainer , i = function(t) { function e() { var e = t.call(this) || this; return e.name = "NewPageContainer", e.height = 0, e.interaction = null, e } return __extends(e, t), e }(r); e.StiNewPageContainer = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Components.StiDataBand , n = t.Report.Components.StiComponent , o = function() { function t() {} return t.applyOddEvenStyles = function(t, e, o) { var a = null; if (null != t && t.styles.count > 0 && null != e) { var s = e.stimulsoft.as(n) , l = !0; if (s.isPropertyPresent(i.propertyEvenStyle)) { var u = !1; if (u = e.stimulsoft.is(i) ? 1 == (1 & e.position) : 0 == (1 & t.lineThrough)) { var c = e.evenStyle; if (!r.isNullOrEmpty(c)) { var m = t.styles.getByName(c); null != m && (m.setStyleToComponent(o), a = m, l = !1) } } } if (l && s.isPropertyPresent(i.propertyOddStyle)) { var u = !1; if (!(u = e.stimulsoft.is(i) ? 1 == (1 & e.position) : 0 == (1 & t.lineThrough))) { var p = e.oddStyle; if (!r.isNullOrEmpty(p)) { var m = t.styles.getByName(p); null != m && (m.setStyleToComponent(o), a = m) } } } } return a } , t }(); e.StiOddEvenStylesHelper = o }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Components.Table.StiTable , n = t.Report.CrossTab.StiCrossHorAlignment , o = t.Report.CrossTab.StiCrossTabHelper , a = t.Report.CrossTab.StiCrossTabParams , s = t.Report.CrossTab.StiCrossTab , l = t.Report.Engine.StiParser.StiParser , u = t.Report.Components.StiText , c = t.Report.Components.StiDataBand , m = t.Report.Components.StiSubReport , p = t.System.Collections.Hashtable , h = t.Report.Components.StiContainerHelper , d = t.Base.StiGuidUtils , g = t.Report.Components.StiComponentType , f = t.Base.Drawing.StiVertAlignment , S = t.Report.Components.StiDockStyle , A = t.Report.Components.StiContainer , y = t.Report.Components.StiPage , w = t.Report.Components.StiPanel , b = function() { function b() {} return b.createListOfDataBands = function(t, r, n, o, a) { var l, u, h = null, d = t.getComponents(); try { for (var g = __values(d.list), f = g.next(); !f.done; f = g.next()) { var S = f.value , A = S.stimulsoft.as(c); if (null != A && (null == A.masterComponent || A.masterComponent == t.pageInfo.masterDataBand)) { if (A.stimulsoft.is(i) && !A.enabled) continue; var w = !1; if (!A.isBusinessObjectEmpty) { if (null != A.businessObject.parentBusinessObject) { var b = null; A.parent.stimulsoft.is(y) && r.length > 0 ? b = r[r.length - 1] : n.length > 0 && (b = n[n.length - 1]), null != b && (b.isBusinessObjectEmpty || b.businessObjectGuid != A.businessObject.parentBusinessObject.guid ? A.businessObject.parentBusinessObject.guid == h && (w = !0) : w = !0) } h = A.businessObjectGuid } w || (A.parent.stimulsoft.is(y) ? r.add(A) : null == e.StiSubReportsHelper.getParentBand(A) && n.add(A), h = null) } var v = S.stimulsoft.as(m); null != v && v.enabled && (null != e.StiSubReportsHelper.getParentBand(v) || t.printOnPreviousPage || o.add(v)); var C = S.stimulsoft.as(s); null != C && S.enabled && null == e.StiSubReportsHelper.getParentBand(S.stimulsoft.as(s)) && a.add(C) } } catch (t) { l = { error: t } } finally { try { f && !f.done && (u = g.return) && u.call(g) } finally { if (l) throw l.error } } var E = !0; while (E) { E = !1; var B = new p , T = 0; while (T < r.length) { var A = r[T]; if (!A.isBusinessObjectEmpty) { var I = A.businessObject; if (null != I.parentBusinessObject && null == B.get(I.parentBusinessObject) && null == A.masterComponent) { var x = new c; x.businessObjectGuid = I.parentBusinessObject.guid, x.height = 0, x.page = t, x.parent = A.parent, x.prepare(), x.dataBandInfo.detailDataBands.contains(A) || x.dataBandInfo.detailDataBands.add(A), r[T] = x, E = !0 } else B.set(I, I) } T++ } } } , b.getReportTitles = function(e) { var r, i, n = []; if (e.titleBeforeHeader) return n; try { for (var o = __values(e.components.list), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s.stimulsoft.as(t.Report.Components.StiReportTitleBand); null != l && n.add(l) } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return n } , b.getReportSummaries = function(e) { var r, i, n = []; try { for (var o = __values(e.components.list), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s.stimulsoft.as(t.Report.Components.StiReportSummaryBand); null != l && n.add(l) } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return n } , b.renderSimpleComponentsAsync = function(e, r) { return __awaiter(this, void 0, void 0, function() { var i, n, o, a, s, l, u, c, m, d, f, S, y, b, v, C, E, S, B, T, I, x, T, a, F, D, B, R, P, N, k, M, O, _, L, j, H; return __generator(this, function(G) { switch (G.label) { case 0: i = 0, n = 0, o = e.stimulsoft.as(w), null != o && (i = o.columns < 2 ? 1 : o.columns, n = o.getColumnWidth() + o.columnGaps), a = 0, G.label = 1; case 1: if (!(a < i)) return [3, 10]; e.report.column = a + 1, G.label = 2; case 2: G.trys.push([2, 7, 8, 9]), R = void 0, s = __values(e.components.list), l = s.next(), G.label = 3; case 3: if (l.done) return [3, 6]; if (u = l.value, u.componentType != g.Simple) return [3, 5]; return u.parentBookmark = r.currentBookmark, [4, u.renderAsync()]; case 4: if (null == (c = G.sent())) return [3, 5]; if (null != o && o.columns > 1 && !c.stimulsoft.is(t.Report.Components.StiCrossLinePrimitive) && (o.rightToLeft ? c.left += e.width - n * (a + 1) + o.columnGaps : c.left += n * a), r.components.add(c), StiOptions.Engine.allowInteractionInChartWithComponents && null != (m = c) && null != m.chartInfo.interactiveComps) try { for (N = void 0, d = __values(m.chartInfo.interactiveComps), f = d.next(); !f.done; f = d.next()) S = f.value, S.left += c.left, S.top += c.top, r.components.add(S) } catch (t) { N = { error: t } } finally { try { f && !f.done && (k = d.return) && k.call(d) } finally { if (N) throw N.error } } G.label = 5; case 5: return l = s.next(), [3, 3]; case 6: return [3, 9]; case 7: return y = G.sent(), R = { error: y }, [3, 9]; case 8: try { l && !l.done && (P = s.return) && P.call(s) } finally { if (R) throw R.error } return [7]; case 9: return a++, [3, 1]; case 10: h.checkSize(e.report.engine.containerForRender), b = new p, v = r.getComponents(); try { for (C = __values(v.list), E = C.next(); !E.done; E = C.next()) S = E.value, null != (B = S.stimulsoft.as(A)) && (T = b.get(B.name), null == T && (T = [], b.set(B.name, T)), T.add(B)) } catch (t) { M = { error: t } } finally { try { E && !E.done && (O = C.return) && O.call(C) } finally { if (M) throw M.error } } try { for (I = __values(b.values), x = I.next(); !x.done; x = I.next()) { T = x.value, a = 1; try { for (j = void 0, F = __values(T), D = F.next(); !D.done; D = F.next()) B = D.value, B.containerInfo.renderStep = a, a++ } catch (t) { j = { error: t } } finally { try { D && !D.done && (H = F.return) && H.call(F) } finally { if (j) throw j.error } } } } catch (t) { _ = { error: t } } finally { try { x && !x.done && (L = I.return) && L.call(I) } finally { if (_) throw _.error } } return e.report.column = 1, r.dockToContainer(), [2] } }) }) } , b.renderSimpleComponents = function(e, r) { var i, n, o, a, s, l, u, c, m, d, f = 0, S = 0, y = e.stimulsoft.as(w); null != y && (f = y.columns < 2 ? 1 : y.columns, S = y.getColumnWidth() + y.columnGaps); for (var b = 0; b < f; b++) { e.report.column = b + 1; try { for (var v = (i = void 0, __values(e.components.list)), C = v.next(); !C.done; C = v.next()) { var E = C.value; if (E.componentType == g.Simple) { E.parentBookmark = r.currentBookmark; var B = E.render(); if (null == B) continue; if (null != y && y.columns > 1 && !B.stimulsoft.is(t.Report.Components.StiCrossLinePrimitive) && (y.rightToLeft ? B.left += e.width - S * (b + 1) + y.columnGaps : B.left += S * b), r.components.add(B), StiOptions.Engine.allowInteractionInChartWithComponents) { var T = B; if (null != T && null != T.chartInfo.interactiveComps) try { for (var I = (o = void 0, __values(T.chartInfo.interactiveComps)), x = I.next(); !x.done; x = I.next()) { var F = x.value; F.left += B.left, F.top += B.top, r.components.add(F) } } catch (t) { o = { error: t } } finally { try { x && !x.done && (a = I.return) && a.call(I) } finally { if (o) throw o.error } } } } } } catch (t) { i = { error: t } } finally { try { C && !C.done && (n = v.return) && n.call(v) } finally { if (i) throw i.error } } } h.checkSize(e.report.engine.containerForRender); var D = new p , R = r.getComponents(); try { for (var P = __values(R.list), N = P.next(); !N.done; N = P.next()) { var F = N.value , k = F.stimulsoft.as(A); if (null != k) { var M = D.get(k.name); null == M && (M = [], D.set(k.name, M)), M.add(k) } } } catch (t) { s = { error: t } } finally { try { N && !N.done && (l = P.return) && l.call(P) } finally { if (s) throw s.error } } try { for (var O = __values(D.values), _ = O.next(); !_.done; _ = O.next()) { var M = _.value , b = 1; try { for (var L = (m = void 0, __values(M)), j = L.next(); !j.done; j = L.next()) { var k = j.value; k.containerInfo.renderStep = b, b++ } } catch (t) { m = { error: t } } finally { try { j && !j.done && (d = L.return) && d.call(L) } finally { if (m) throw m.error } } } } catch (t) { u = { error: t } } finally { try { _ && !_.done && (c = O.return) && c.call(O) } finally { if (u) throw u.error } } e.report.column = 1, r.dockToContainer() } , b.prepareBookmark = function(t) { t.parentBookmark = t.report.bookmark, t.doBookmark() } , b.renderPageAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var r, l, u, c, m, p, h, d, g, f, S, w, v, C, E, S, B, T, I, x, S, F, D, R, P, f, N, k, M, O, _, L, j, H, G, Q, Y, f, S, U, J, W, V, E, S, z, X, K, Z, q, $, tt, et, x, S, rt, it, nt, ot, at, st, lt, ut, ct, mt, pt, ht, dt, gt, ft, St, At, yt, wt, bt, vt, Ct, Et, Bt, Tt, It, xt, Ft, Dt, Rt, Pt, Nt, kt, Mt, Ot; return __generator(this, function(_t) { switch (_t.label) { case 0: t.invokeBeginRender(), t.resetPageNumber && (null != t.pageInfo && -1 != t.pageInfo.indexOfStartRenderedPages ? t.report.engine.pageNumbers.resetPageNumber(t.pageInfo.indexOfStartRenderedPages) : t.report.engine.pageNumbers.resetPageNumber()), r = b.getReportTitles(t), l = b.getReportSummaries(t), u = [], c = [], m = [], p = [], b.createListOfDataBands(t, u, c, m, p), h = t.report.engine, _t.label = 1; case 1: _t.trys.push([1, 6, 7, 8]), d = __values(c), g = d.next(), _t.label = 2; case 2: if (g.done) return [3, 5]; return f = g.value, [4, h.threads.createContainerEngine(f.parent.name, t.report, h, t.pageInfo.indexOfStartRenderedPages)]; case 3: S = _t.sent(), t.report.engine.slaveEngines.set(f.parent.name, S), S.printOnAllPagesIgnoreList = h.printOnAllPagesIgnoreList, _t.label = 4; case 4: return g = d.next(), [3, 2]; case 5: return [3, 8]; case 6: return w = _t.sent(), gt = { error: w }, [3, 8]; case 7: try { g && !g.done && (ft = d.return) && ft.call(d) } finally { if (gt) throw gt.error } return [7]; case 8: _t.trys.push([8, 13, 14, 15]), v = __values(m), C = v.next(), _t.label = 9; case 9: if (C.done) return [3, 12]; return E = C.value, [4, h.threads.createContainerEngineAsync(E.name, t.report, h, t.pageInfo.indexOfStartRenderedPages)]; case 10: S = _t.sent(), t.report.engine.slaveEngines.set(E.name, S), _t.label = 11; case 11: return C = v.next(), [3, 9]; case 12: return [3, 15]; case 13: return B = _t.sent(), St = { error: B }, [3, 15]; case 14: try { C && !C.done && (At = v.return) && At.call(v) } finally { if (St) throw St.error } return [7]; case 15: _t.trys.push([15, 20, 21, 22]), T = __values(p), I = T.next(), _t.label = 16; case 16: if (I.done) return [3, 19]; return x = I.value, [4, h.threads.createContainerEngineAsync(x.name, t.report, h, t.pageInfo.indexOfStartRenderedPages)]; case 17: S = _t.sent(), t.report.engine.slaveEngines.set(x.name, S), _t.label = 18; case 18: return I = T.next(), [3, 16]; case 19: return [3, 22]; case 20: return F = _t.sent(), yt = { error: F }, [3, 22]; case 21: try { I && !I.done && (wt = T.return) && wt.call(T) } finally { if (yt) throw yt.error } return [7]; case 22: if (!(u.length > 0)) return [3, 31]; D = 1, _t.label = 23; case 23: _t.trys.push([23, 28, 29, 30]), R = __values(u), P = R.next(), _t.label = 24; case 24: if (P.done) return [3, 27]; if (f = P.value, f.stimulsoft.is(i) && !f.enabled) return [3, 26]; return 1 == D && (t.report.engine.isFirstDataBandOnPage = !0, f.dataBandInfo.reportTitles = r), D == u.length && (t.report.engine.isLastDataBandOnPage = !0, f.dataBandInfo.reportSummaries = l), f.parentBookmark = null != t.report.engine.page ? t.report.engine.page.currentBookmark : t.currentBookmark, [4, f.renderMasterAsync()]; case 25: _t.sent(), f.dataBandInfo.reportTitles = null, f.dataBandInfo.reportSummaries = null, t.report.engine.isFirstDataBandOnPage = !1, t.report.engine.isLastDataBandOnPage = !1, D++, _t.label = 26; case 26: return P = R.next(), [3, 24]; case 27: return [3, 30]; case 28: return N = _t.sent(), bt = { error: N }, [3, 30]; case 29: try { P && !P.done && (vt = R.return) && vt.call(R) } finally { if (bt) throw bt.error } return [7]; case 30: return [3, 47]; case 31: if (null == r) return [3, 39]; _t.label = 32; case 32: _t.trys.push([32, 37, 38, 39]), k = __values(r), M = k.next(), _t.label = 33; case 33: if (M.done) return [3, 36]; if (O = M.value, !O.printIfEmpty) return [3, 35]; return O.parentBookmark = null != t.report.engine.page ? t.report.engine.page.currentBookmark : t.currentBookmark, O.doBookmark(), [4, t.report.engine.renderBandAsync(O)]; case 34: _t.sent(), _t.label = 35; case 35: return M = k.next(), [3, 33]; case 36: return [3, 39]; case 37: return _ = _t.sent(), Ct = { error: _ }, [3, 39]; case 38: try { M && !M.done && (Et = k.return) && Et.call(k) } finally { if (Ct) throw Ct.error } return [7]; case 39: if (null == l) return [3, 47]; _t.label = 40; case 40: _t.trys.push([40, 45, 46, 47]), L = __values(l), j = L.next(), _t.label = 41; case 41: if (j.done) return [3, 44]; if (H = j.value, !H.printIfEmpty) return [3, 43]; return H.parentBookmark = null != t.report.engine.page ? t.report.engine.page.currentBookmark : t.currentBookmark, H.doBookmark(), [4, t.report.engine.renderBandAsync(H)]; case 42: _t.sent(), _t.label = 43; case 43: return j = L.next(), [3, 41]; case 44: return [3, 47]; case 45: return G = _t.sent(), Bt = { error: G }, [3, 47]; case 46: try { j && !j.done && (Tt = L.return) && Tt.call(L) } finally { if (Bt) throw Bt.error } return [7]; case 47: _t.trys.push([47, , 56, 57]), _t.label = 48; case 48: _t.trys.push([48, 53, 54, 55]), Q = __values(c), Y = Q.next(), _t.label = 49; case 49: if (Y.done) return [3, 52]; return f = Y.value, S = h.slaveEngines.get(f.parent.name), 0 == S.freeSpace && (S.freeSpace = f.parent.height), U = f.parent.height, null != f.parent && f.parent.canGrow && f.parent.parent.stimulsoft.is(y) && S.freeSpace < 1e11 / 2 && (S.freeSpace = h.positionBottomY - f.parent.top, null != S.containerForRender && (S.containerForRender.height = S.freeSpace)), t.report.engine = S, null != S.containerForRender && (f.parentBookmark = S.containerForRender.currentBookmark), [4, f.renderMasterAsync()]; case 50: _t.sent(), _t.label = 51; case 51: return Y = Q.next(), [3, 49]; case 52: return [3, 55]; case 53: return J = _t.sent(), It = { error: J }, [3, 55]; case 54: try { Y && !Y.done && (xt = Q.return) && xt.call(Q) } finally { if (It) throw It.error } return [7]; case 55: return [3, 57]; case 56: return t.report.engine = h, [7]; case 57: _t.trys.push([57, , 67, 68]), _t.label = 58; case 58: _t.trys.push([58, 64, 65, 66]), W = __values(m), V = W.next(), _t.label = 59; case 59: if (V.done) return [3, 63]; return E = V.value, S = h.slaveEngines.get(E.name), t.report.engine = S, z = new A(E.clientRectangle), z.name = "Temp Container", z.canBreak = !0, [4, e.StiSubReportsHelper.renderSubReportAsync(z, E)]; case 60: _t.sent(), X = 0; try { for (Rt = void 0, K = __values(z.components.list), Z = K.next(); !Z.done; Z = K.next()) q = Z.value, X = Math.max(q.bottom, X) } catch (t) { Rt = { error: t } } finally { try { Z && !Z.done && (Pt = K.return) && Pt.call(K) } finally { if (Rt) throw Rt.error } } if (z.height = X, null == S.containerForRender) return [3, 62]; return [4, S.renderContainerAsync(z)]; case 61: _t.sent(), _t.label = 62; case 62: return V = W.next(), [3, 59]; case 63: return [3, 66]; case 64: return $ = _t.sent(), Ft = { error: $ }, [3, 66]; case 65: try { V && !V.done && (Dt = W.return) && Dt.call(W) } finally { if (Ft) throw Ft.error } return [7]; case 66: return [3, 68]; case 67: return t.report.engine = h, [7]; case 68: _t.trys.push([68, , 82, 83]), _t.label = 69; case 69: _t.trys.push([69, 79, 80, 81]), tt = __values(p), et = tt.next(), _t.label = 70; case 70: if (et.done) return [3, 78]; x = et.value, S = h.slaveEngines.get(x.name).stimulsoft.as(e.StiEngine), t.report.engine = S, rt = new a, it = x, o.createCross(it), _t.label = 71; case 71: if (rt.renderingIsFinished || null == S.containerForRender) return [3, 76]; return it.horAlignment == n.None ? S.containerForRender.width = S.containerForRender.parent.width - S.containerForRender.left : S.containerForRender.width = S.containerForRender.parent.width, nt = !1, S.containerForRender.parent.canShrink && 0 == S.containerForRender.parent.height ? (ot = t.getComponents().getByName(S.containerForRender.parent.name), nt = !0, S.containerForRender.parent.width = ot.width, S.containerForRender.parent.height = ot.height, S.containerForRender.width = ot.width, S.containerForRender.height = ot.height) : S.containerForRender.height = S.containerForRender.parent.height - S.containerForRender.top, rt.destinationRectangle = S.containerForRender.clientRectangle.clone(), rt.destinationContainer = S.containerForRender, at = e.StiBuilder.getBuilder(s).stimulsoft.as(e.StiCrossTabBuilder), [4, at.renderCrossTabAsync(rt, it)]; case 72: if (_t.sent(), nt && (st = S.containerForRender.parent.getActualSize(), S.containerForRender.parent.width = st.width, S.containerForRender.parent.height = st.height), rt.renderingIsFinished) return [3, 75]; if (!(S.containerForRender.parent.height > e.StiEngine.specialContainerHeight2)) return [3, 73]; return lt = new e.StiNewPageContainer, lt.top = S.positionY, lt.height = S.templatePage.height < e.StiEngine.specialContainerHeight2 ? S.templatePage.height : S.templatePage.unit.convertFromHInches(1170), S.positionY += lt.height, S.freeSpace -= lt.height, S.offsetNewColumnY = S.positionY - S.staticBands.reservedPositionY, S.containerForRender.parent.components.add(lt), ut = S.containerForRender.clone(!0, !1).stimulsoft.as(A), ut.top = S.positionY, S.containerForRender.parent.components.add(ut), S.containerForRender = ut, [3, 75]; case 73: return [4, S.newDestinationAsync()]; case 74: _t.sent(), _t.label = 75; case 75: return [3, 71]; case 76: o.clearCross(it), _t.label = 77; case 77: return et = tt.next(), [3, 70]; case 78: return [3, 81]; case 79: return ct = _t.sent(), Nt = { error: ct }, [3, 81]; case 80: try { et && !et.done && (kt = tt.return) && kt.call(tt) } finally { if (Nt) throw Nt.error } return [7]; case 81: return [3, 83]; case 82: return t.report.engine = h, [7]; case 83: t.invokeEndRender(), t.invokeColumnEndRender(), t.isRendered = !0, _t.label = 84; case 84: _t.trys.push([84, 89, 90, 91]), mt = __values(h.slaveEngines.values), pt = mt.next(), _t.label = 85; case 85: if (pt.done) return [3, 88]; return ht = pt.value, [4, ht.finalClearAsync()]; case 86: _t.sent(), _t.label = 87; case 87: return pt = mt.next(), [3, 85]; case 88: return [3, 91]; case 89: return dt = _t.sent(), Mt = { error: dt }, [3, 91]; case 90: try { pt && !pt.done && (Ot = mt.return) && Ot.call(mt) } finally { if (Mt) throw Mt.error } return [7]; case 91: return t.report.engine.slaveEngines.clear(), [2] } }) }) } , b.renderPage = function(t) { var r, l, u, c, m, p, h, d, g, f, S, w, v, C, E, B, T, I, x, F, D, R; 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 P = b.getReportTitles(t) , N = b.getReportSummaries(t) , k = [] , M = [] , O = [] , _ = []; b.createListOfDataBands(t, k, M, O, _); var L = t.report.engine; try { for (var j = __values(M), H = j.next(); !H.done; H = j.next()) { var G = H.value , Q = L.threads.createContainerEngine(G.parent.name, t.report, L, t.pageInfo.indexOfStartRenderedPages); t.report.engine.slaveEngines.set(G.parent.name, Q), Q.printOnAllPagesIgnoreList = L.printOnAllPagesIgnoreList } } catch (t) { r = { error: t } } finally { try { H && !H.done && (l = j.return) && l.call(j) } finally { if (r) throw r.error } } try { for (var Y = __values(O), U = Y.next(); !U.done; U = Y.next()) { var J = U.value , Q = L.threads.createContainerEngine(J.name, t.report, L, t.pageInfo.indexOfStartRenderedPages); t.report.engine.slaveEngines.set(J.name, Q) } } catch (t) { u = { error: t } } finally { try { U && !U.done && (c = Y.return) && c.call(Y) } finally { if (u) throw u.error } } try { for (var W = __values(_), V = W.next(); !V.done; V = W.next()) { var z = V.value , Q = L.threads.createContainerEngine(z.name, t.report, L, t.pageInfo.indexOfStartRenderedPages); t.report.engine.slaveEngines.set(z.name, Q) } } catch (t) { m = { error: t } } finally { try { V && !V.done && (p = W.return) && p.call(W) } finally { if (m) throw m.error } } if (k.length > 0) { var X = 1; try { for (var K = __values(k), Z = K.next(); !Z.done; Z = K.next()) { var G = Z.value; if (G.stimulsoft.is(i) && !G.enabled) continue; 1 == X && (t.report.engine.isFirstDataBandOnPage = !0, G.dataBandInfo.reportTitles = P), X == k.length && (t.report.engine.isLastDataBandOnPage = !0, G.dataBandInfo.reportSummaries = N), G.parentBookmark = null != t.report.engine.page ? t.report.engine.page.currentBookmark : t.currentBookmark, G.renderMaster(), G.dataBandInfo.reportTitles = null, G.dataBandInfo.reportSummaries = null, t.report.engine.isFirstDataBandOnPage = !1, t.report.engine.isLastDataBandOnPage = !1, X++ } } catch (t) { h = { error: t } } finally { try { Z && !Z.done && (d = K.return) && d.call(K) } finally { if (h) throw h.error } } } else { if (null != P) try { for (var q = __values(P), $ = q.next(); !$.done; $ = q.next()) { var tt = $.value; tt.printIfEmpty && (tt.parentBookmark = null != t.report.engine.page ? t.report.engine.page.currentBookmark : t.currentBookmark, tt.doBookmark(), t.report.engine.renderBand(tt)) } } catch (t) { g = { error: t } } finally { try { $ && !$.done && (f = q.return) && f.call(q) } finally { if (g) throw g.error } } if (null != N) try { for (var et = __values(N), rt = et.next(); !rt.done; rt = et.next()) { var it = rt.value; it.printIfEmpty && (it.parentBookmark = null != t.report.engine.page ? t.report.engine.page.currentBookmark : t.currentBookmark, it.doBookmark(), t.report.engine.renderBand(it)) } } catch (t) { S = { error: t } } finally { try { rt && !rt.done && (w = et.return) && w.call(et) } finally { if (S) throw S.error } } } try { try { for (var nt = __values(M), ot = nt.next(); !ot.done; ot = nt.next()) { var G = ot.value , Q = L.slaveEngines.get(G.parent.name); 0 == Q.freeSpace && (Q.freeSpace = G.parent.height); var at = G.parent.height; null != G.parent && G.parent.canGrow && G.parent.parent.stimulsoft.is(y) && Q.freeSpace < 1e11 / 2 && (Q.freeSpace = L.positionBottomY - G.parent.top, null != Q.containerForRender && (Q.containerForRender.height = Q.freeSpace)), t.report.engine = Q, null != Q.containerForRender && (G.parentBookmark = Q.containerForRender.currentBookmark), G.renderMaster() } } catch (t) { v = { error: t } } finally { try { ot && !ot.done && (C = nt.return) && C.call(nt) } finally { if (v) throw v.error } } } finally { t.report.engine = L } try { try { for (var st = __values(O), lt = st.next(); !lt.done; lt = st.next()) { var J = lt.value , Q = L.slaveEngines.get(J.name); t.report.engine = Q; var ut = new A(J.clientRectangle); ut.name = "Temp Container", ut.canBreak = !0, e.StiSubReportsHelper.renderSubReport(ut, J); var ct = 0; try { for (var mt = (T = void 0, __values(ut.components.list)), pt = mt.next(); !pt.done; pt = mt.next()) { var ht = pt.value; ct = Math.max(ht.bottom, ct) } } catch (t) { T = { error: t } } finally { try { pt && !pt.done && (I = mt.return) && I.call(mt) } finally { if (T) throw T.error } } ut.height = ct, null != Q.containerForRender && Q.renderContainer(ut) } } catch (t) { E = { error: t } } finally { try { lt && !lt.done && (B = st.return) && B.call(st) } finally { if (E) throw E.error } } } finally { t.report.engine = L } try { try { for (var dt = __values(_), gt = dt.next(); !gt.done; gt = dt.next()) { var z = gt.value , Q = L.slaveEngines.get(z.name).stimulsoft.as(e.StiEngine); t.report.engine = Q; var ft = new a , St = z; o.createCross(St); while (!ft.renderingIsFinished && null != Q.containerForRender) { St.horAlignment == n.None ? Q.containerForRender.width = Q.containerForRender.parent.width - Q.containerForRender.left : Q.containerForRender.width = Q.containerForRender.parent.width; var At = !1; if (Q.containerForRender.parent.canShrink && 0 == Q.containerForRender.parent.height) { var yt = t.getComponents().getByName(Q.containerForRender.parent.name); At = !0, Q.containerForRender.parent.width = yt.width, Q.containerForRender.parent.height = yt.height, Q.containerForRender.width = yt.width, Q.containerForRender.height = yt.height } else Q.containerForRender.height = Q.containerForRender.parent.height - Q.containerForRender.top; ft.destinationRectangle = Q.containerForRender.clientRectangle.clone(), ft.destinationContainer = Q.containerForRender; if (e.StiBuilder.getBuilder(s).stimulsoft.as(e.StiCrossTabBuilder).renderCrossTab(ft, St), At) { var wt = Q.containerForRender.parent.getActualSize(); Q.containerForRender.parent.width = wt.width, Q.containerForRender.parent.height = wt.height } if (!ft.renderingIsFinished) if (Q.containerForRender.parent.height > e.StiEngine.specialContainerHeight2) { var bt = new e.StiNewPageContainer; bt.top = Q.positionY, bt.height = Q.templatePage.height < e.StiEngine.specialContainerHeight2 ? Q.templatePage.height : Q.templatePage.unit.convertFromHInches(1170), Q.positionY += bt.height, Q.freeSpace -= bt.height, Q.offsetNewColumnY = Q.positionY - Q.staticBands.reservedPositionY, Q.containerForRender.parent.components.add(bt); var vt = Q.containerForRender.clone(!0, !1).stimulsoft.as(A); vt.top = Q.positionY, Q.containerForRender.parent.components.add(vt), Q.containerForRender = vt } else Q.newDestination() } o.clearCross(St) } } catch (t) { x = { error: t } } finally { try { gt && !gt.done && (F = dt.return) && F.call(dt) } finally { if (x) throw x.error } } } finally { t.report.engine = L } t.invokeEndRender(), t.invokeColumnEndRender(), t.isRendered = !0; try { for (var Ct = __values(L.slaveEngines.values), Et = Ct.next(); !Et.done; Et = Ct.next()) { Et.value.finalClear() } } catch (t) { D = { error: t } } finally { try { Et && !Et.done && (R = Ct.return) && R.call(Ct) } finally { if (D) throw D.error } } t.report.engine.slaveEngines.clear() } , b.renderOverlaysAsync = function(t, e) { return __awaiter(this, void 0, void 0, function() { var r, i, n, o, a, s, l, u, c, m, p, h, d, g, A, y, d, w, b, v, d, C, E, d, B, T, I, x, F, D, R, P, N, k; return __generator(this, function(M) { switch (M.label) { case 0: if (null == (r = t.pageInfo.overlays)) return [3, 9]; i = [], n = [], o = [], M.label = 1; case 1: M.trys.push([1, 6, 7, 8]), a = __values(r.list), s = a.next(), M.label = 2; case 2: if (s.done) return [3, 5]; return l = s.value, [4, l.renderAsync()]; case 3: u = M.sent(), null != u && (u.dockStyle = S.None, e.components.add(u), l.vertAlignment == f.Top ? i.add(u) : l.vertAlignment == f.Center ? n.add(u) : l.vertAlignment == f.Bottom && o.add(u), u = null), M.label = 4; case 4: return s = a.next(), [3, 2]; case 5: return [3, 8]; case 6: return c = M.sent(), B = { error: c }, [3, 8]; case 7: try { s && !s.done && (T = a.return) && T.call(a) } finally { if (B) throw B.error } return [7]; case 8: m = -t.margins.top; try { for (p = __values(i), h = p.next(); !h.done; h = p.next()) d = h.value, d.top = m, m += d.height } catch (t) { I = { error: t } } finally { try { h && !h.done && (x = p.return) && x.call(p) } finally { if (I) throw I.error } } g = t.height + t.margins.bottom; try { for (A = __values(o), y = A.next(); !y.done; y = A.next()) d = y.value, d.top = g - d.height, g -= d.height } catch (t) { F = { error: t } } finally { try { y && !y.done && (D = A.return) && D.call(A) } finally { if (F) throw F.error } } w = 0; try { for (b = __values(n), v = b.next(); !v.done; v = b.next()) d = v.value, w += d.height } catch (t) { R = { error: t } } finally { try { v && !v.done && (P = b.return) && P.call(b) } finally { if (R) throw R.error } } m = (t.height - w) / 2; try { for (C = __values(n), E = C.next(); !E.done; E = C.next()) d = E.value, d.top = m, m += d.height } catch (t) { N = { error: t } } finally { try { E && !E.done && (k = C.return) && k.call(C) } finally { if (N) throw N.error } } M.label = 9; case 9: return [2] } }) }) } , b.renderOverlays = function(t, e) { var r, i, n, o, a, s, l, u, c, m, p = t.pageInfo.overlays; if (null != p) { var h = [] , d = [] , g = []; try { for (var A = __values(p.list), y = A.next(); !y.done; y = A.next()) { var w = y.value , b = w.render(); null != b && (b.dockStyle = S.None, e.components.add(b), w.vertAlignment == f.Top ? h.add(b) : w.vertAlignment == f.Center ? d.add(b) : w.vertAlignment == f.Bottom && g.add(b), b = null) } } catch (t) { r = { error: t } } finally { try { y && !y.done && (i = A.return) && i.call(A) } finally { if (r) throw r.error } } var v = -t.margins.top; try { for (var C = __values(h), E = C.next(); !E.done; E = C.next()) { var B = E.value; B.top = v, v += B.height } } catch (t) { n = { error: t } } finally { try { E && !E.done && (o = C.return) && o.call(C) } finally { if (n) throw n.error } } var T = t.height + t.margins.bottom; try { for (var I = __values(g), x = I.next(); !x.done; x = I.next()) { var B = x.value; B.top = T - B.height, T -= B.height } } catch (t) { a = { error: t } } finally { try { x && !x.done && (s = I.return) && s.call(I) } finally { if (a) throw a.error } } var F = 0; try { for (var D = __values(d), R = D.next(); !R.done; R = D.next()) { var B = R.value; F += B.height } } catch (t) { l = { error: t } } finally { try { R && !R.done && (u = D.return) && u.call(D) } finally { if (l) throw l.error } } v = (t.height - F) / 2; try { for (var P = __values(d), N = P.next(); !N.done; N = P.next()) { var B = N.value; B.top = v, v += B.height } } catch (t) { c = { error: t } } finally { try { N && !N.done && (m = P.return) && m.call(P) } finally { if (c) throw c.error } } } } , b.getPageFromTemplateAsync = function(i) { return __awaiter(this, void 0, void 0, function() { var n, o, a, o, s, c; return __generator(this, function(m) { switch (m.label) { case 0: if (n = i.clone(!1, !1), StiOptions.Engine.Watermark.allowExpression && null != n.watermark && null != n.watermark.text && n.watermark.text.length > 0 && n.watermark.text.stimulsoft.contains("{") && n.watermark.text.stimulsoft.contains("}") && !n.watermark.text.stimulsoft.contains("{{") && !n.watermark.text.stimulsoft.contains("}}")) try { o = new t.Report.Components.StiText, o.page = n, a = e.StiParser.StiParser.parseTextValue(n.watermark.text, o), n.watermark.text = a.toString() } catch (t) {} if (null != n.watermark && !r.isNullOrEmpty(n.watermark.enabledExpression)) try { o = new u, o.page = n, s = n.watermark.enabledExpression.trim(), s.stimulsoft.startsWith("{") || (s = "{" + s), s.stimulsoft.endsWith("}") || (s += "}"), c = l.parseTextValue(s, o), n.watermark.enabled = c.stimulsoft.toBoolean() } catch (t) {} return i.pageInfo.renderedCount > 0 && (n.guid = d.newGuid()), n.invokeEvents(), [4, this.renderOverlaysAsync(i, n)]; case 1: return m.sent(), i.pageInfo.renderedCount++, [2, n] } }) }) } , b.getPageFromTemplate = function(i) { var n = i.clone(!1, !1); if (StiOptions.Engine.Watermark.allowExpression && null != n.watermark && null != n.watermark.text && n.watermark.text.length > 0 && n.watermark.text.stimulsoft.contains("{") && n.watermark.text.stimulsoft.contains("}") && !n.watermark.text.stimulsoft.contains("{{") && !n.watermark.text.stimulsoft.contains("}}")) try { var o = new t.Report.Components.StiText; o.page = n; var a = e.StiParser.StiParser.parseTextValue(n.watermark.text, o); n.watermark.text = a.toString() } catch (t) {} if (null != n.watermark && !r.isNullOrEmpty(n.watermark.enabledExpression)) try { var o = new u; o.page = n; var s = n.watermark.enabledExpression.trim(); s.stimulsoft.startsWith("{") || (s = "{" + s), s.stimulsoft.endsWith("}") || (s += "}"); var c = l.parseTextValue(s, o); n.watermark.enabled = c.stimulsoft.toBoolean() } catch (t) {} return i.pageInfo.renderedCount > 0 && (n.guid = d.newGuid()), n.invokeEvents(), this.renderOverlays(i, n), i.pageInfo.renderedCount++, n } , b }(); e.StiPageHelper = b }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() { this.resetPageNumber = !1, this.pageNumber = -1, this.totalPageCount = -1, this.pageNumberThrough = -1, this.totalPageCountThrough = -1, this.segmentPerWidth = 1, this.segmentPerHeight = 1, this.fixedPosition = !1 } return Object.defineProperty(t.prototype, "step", { get: function() { return this.segmentPerWidth * this.segmentPerHeight }, enumerable: !0, configurable: !0 }), t }(); t.StiPageNumber = e }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.CollectionBase , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(r); e.StiPageNumberCollection = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiPage , i = function() { function t(t) { this.engine = null, this.finished = !1, this._clearPageNumbersOnFinish = !0, this._pageNumbers = new e.StiPageNumberCollection, this.engine = t } return Object.defineProperty(t.prototype, "clearPageNumbersOnFinish", { get: function() { return this._clearPageNumbersOnFinish }, set: function(t) { this._clearPageNumbersOnFinish = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "pageNumbers", { get: function() { return this._pageNumbers }, set: function(t) { this._pageNumbers = t }, enumerable: !0, configurable: !0 }), t.prototype.resetPageNumber = function(t) { void 0 === t && (t = this.pageNumbers.count - 1), t < this.pageNumbers.count && (this.pageNumbers.getByIndex(t).resetPageNumber = !0) } , t.prototype.addPageNumber = function(t, r, i) { if (t >= this.pageNumbers.count) { var n = new e.StiPageNumber; n.segmentPerWidth = r, n.segmentPerHeight = i, this.pageNumbers.add(n) } } , t.prototype.getPageNumber = function(t) { var e; if (e = t.stimulsoft.is(r) ? this.engine.report.renderedPages.indexOf(t) : t, !this.finished) { if (0 == this.engine.report.renderedPages.count) return 1; if (null != this.pageNumbers && e >= 0 && e < this.pageNumbers.count && this.pageNumbers.getByIndex(e).resetPageNumber) return 1; return this.engine.report.renderedPages.count } if (0 == this.pageNumbers.count) return e + 1; return e = Math.max(e, 0), e = Math.min(e, this.pageNumbers.count - 1), this.pageNumbers.getByIndex(e).pageNumber } , t.prototype.getTotalPageCount = function(t) { var e; if (e = t.stimulsoft.is(r) ? this.engine.report.renderedPages.indexOf(t) : t, !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 e = Math.max(e, 0), e = Math.min(e, this.pageNumbers.count - 1), this.pageNumbers.getByIndex(e).totalPageCount } , t.prototype.getPageNumberThrough = function(t) { var e; if (e = t.stimulsoft.is(r) ? this.engine.report.renderedPages.indexOf(t) : t, !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 e = Math.max(e, 0), e = Math.min(e, this.pageNumbers.count - 1), this.pageNumbers.getByIndex(e).pageNumberThrough } , t.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 } , t.prototype.setSystemVariables = function(t, e) { if (t == e) return; for (var r = 0, i = t; i < e; i++) r += this.pageNumbers.getByIndex(i).step; for (var n = 1, i = t; i < e; i++) this.pageNumbers.getByIndex(i).pageNumber = n, this.pageNumbers.getByIndex(i).totalPageCount = r, n += this.pageNumbers.getByIndex(i).step } , t.prototype.processPageNumbers = function() { var t, e, r, i; 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 n = 0 , o = 0; try { for (var a = __values(this.pageNumbers.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (null != this.engine && null != this.engine.report && null != this.engine.report.renderedPages && o < this.engine.report.renderedPages.count) { var u = this.engine.report.renderedPages.getPageWithoutCache(o); l.segmentPerWidth = u.segmentPerWidth, l.segmentPerHeight = u.segmentPerHeight } n += l.step, o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (e = a.return) && e.call(a) } finally { if (t) throw t.error } } var c = 1 , m = 0 , p = 0; try { for (var h = __values(this.pageNumbers.list), d = h.next(); !d.done; d = h.next()) { var l = d.value; l.resetPageNumber && (this.setSystemVariables(m, p), m = p), l.pageNumberThrough = c++, l.totalPageCountThrough = n, p++ } } catch (t) { r = { error: t } } finally { try { d && !d.done && (i = h.return) && i.call(h) } finally { if (r) throw r.error } } this.setSystemVariables(m, p), this.finished = !0 } , t.prototype.clear = function() { this.clearPageNumbersOnFinish && this.pageNumbers.clear() } , t.prototype.clearNotFixed = function() { if (this.clearPageNumbersOnFinish && this.pageNumbers.count > 0) { var t = this.pageNumbers.count - 1; while (t >= 0 && !this.pageNumbers.getByIndex(t).fixedPosition) this.pageNumbers.removeAt(t), t-- } } , t }(); e.StiPageNumberHelper = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiImageProcessingDuplicatesType, i = t.Report.Components.StiProcessingDuplicatesType, n = t.Report.Components.StiImage, o = t.Report.Components.IStiText, a = t.Report.Components.StiComponentsCollection, s; !function(t) { t[t.Text = 0] = "Text", t[t.Image = 1] = "Image" }(s = e.TypeOfDuplicates || (e.TypeOfDuplicates = {})); var l = function() { function t() {} return t.prototype.compare = function(t, e) { return t.top.stimulsoft.compareTo(e.top) } , t }(); e.StiMergeComparer = l; var u = function() { function t() {} return t.isImageEqual = function(t, e) { return !1 } , t.postProcessDuplicates = function(e, u, c) { var m, p; if (void 0 === c && (c = null), null == c) return t.postProcessDuplicates(e, u, s.Text), void t.postProcessDuplicates(e, u, s.Image); var h = [] , d = !1 , g = new a; try { for (var f = __values(e.list), S = f.next(); !S.done; S = f.next()) { var A = S.value; if (A.stimulsoft.is(o) && A.processingDuplicates != i.None && c == s.Text || A.stimulsoft.is(n) && A.processingDuplicates != r.None && c == s.Image) { d = !0, g.add(A); var y = h[A.width]; null == y && (y = [], h[A.width] = y); var w = y[A.left]; null == w && (w = [], y[A.left] = w), w.add(A) } } } catch (t) { m = { error: t } } finally { try { S && !S.done && (p = f.return) && p.call(f) } finally { if (m) throw m.error } } if (!d) return; for (var b in h) { var y = h[b]; for (var v in y) { var w = y[v]; w.sort2(new l); var C = 0; while (C < w.countItems) { var E = w[C] , B = u.get(E) , T = E.bottom , I = C + 1; while (I < w.countItems) { var x = w[I] , F = u.get(x) , D = i.None , R = !1; if (c == s.Text ? (D = E.processingDuplicates, D == i.BasedOnValueRemoveText && (D = i.RemoveText), D == i.BasedOnValueAndTagHide && (D = i.BasedOnTagHide), D == i.BasedOnValueAndTagMerge && (D = i.BasedOnTagMerge), R = D == i.GlobalHide || D == i.GlobalMerge || D == i.GlobalRemoveText || D == i.GlobalBasedOnValueRemoveText || D == i.GlobalBasedOnValueAndTagHide || D == i.GlobalBasedOnValueAndTagMerge, D == i.GlobalBasedOnValueRemoveText && (D = i.BasedOnTagRemoveText), D == i.GlobalBasedOnValueAndTagHide && (D = i.BasedOnTagHide), D == i.GlobalBasedOnValueAndTagMerge && (D = i.BasedOnTagMerge)) : R = E.processingDuplicates == r.GlobalHide || E.processingDuplicates == r.GlobalMerge || E.processingDuplicates == r.GlobalRemoveImage, x.name == E.name || R) { if (Math.round2(B.bottom, 2) != Math.round2(F.top, 2) || !(B.name == F.name || R || "Continued" == B.name || null != B.name && B.name.stimulsoft.startsWith("Continued_") || "Breaked" == F.name || null != F.name && F.name.stimulsoft.startsWith("Breaked_"))) break; if (c == s.Text) { var P = x.getTextInternal() , N = E.getTextInternal(); if (D != i.BasedOnTagHide && D != i.BasedOnTagMerge && D != i.BasedOnTagRemoveText || (P = null == x.tagValue ? "" : x.tagValue.toString(), N = null == E.tagValue ? "" : E.tagValue.toString()), !(Math.round2(x.top, 2) >= Math.round2(T, 2) && N == P)) break; D != i.Merge && D != i.GlobalMerge && D != i.BasedOnTagMerge || (E.height += x.bottom - E.bottom), D == i.RemoveText || D == i.GlobalRemoveText || D == i.BasedOnTagRemoveText ? (x.setTextInternal(""), C++, I++) : (T += x.height, x.parent.components.remove(x), w.removeAt(I)) } else if (c == s.Image) { if (!(Math.round2(x.top, 2) >= Math.round2(T, 2) && t.isImageEqual(x.imageToDraw, E.imageToDraw))) break; E.processingDuplicates != r.Merge && E.processingDuplicates != r.GlobalMerge || (E.height += x.bottom - E.bottom), E.processingDuplicates == r.RemoveImage || E.processingDuplicates == r.GlobalRemoveImage ? (x.imageToDraw = null, C++, I++) : (T += x.height, x.parent.components.remove(x), w.removeAt(I)) } } else I++; B = F } C++ } } } } , t }(); e.StiPostProcessDuplicatesHelper = u }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Report.Components.StiImage , n = t.Report.Components.StiImageProcessingDuplicatesType , o = t.Report.Components.StiPagesCollection , a = t.Report.Components.StiPointPrimitive , s = t.System.Collections.Hashtable , l = t.Report.Components.StiEndPointPrimitive , u = t.Report.Components.StiCrossLinePrimitive , c = t.Report.Components.StiPrimitive , m = t.Report.Components.StiStartPointPrimitive , p = t.System.Drawing.Point , h = t.Report.Components.StiRoundedRectanglePrimitive , d = t.Report.Components.StiRectanglePrimitive , g = t.Report.Components.StiDockStyle , f = t.Report.Components.StiText , S = t.Report.Components.IStiText , A = t.Report.Components.StiProcessingDuplicatesType , y = t.Report.Components.StiPrintOnType , w = t.Report.Components.StiVerticalLinePrimitive , b = t.Report.Components.StiHorizontalLinePrimitive , v = t.Report.Components.StiContainer , C = t.Report.Components.StiComponentsCollection , E = t.Report.Components.StiPanel , B = function() { function B() {} return B.postProcessPages = function(t) { var r, i, n, o, a = 0, s = 0; try { for (var l = __values(t.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; s += c.segmentPerWidth * c.segmentPerHeight } } catch (t) { r = { error: t } } finally { try { u && !u.done && (i = l.return) && i.call(l) } finally { if (r) throw r.error } } var m = Array.create(Boolean, s + 1) , p = Array.create(Boolean, s + 1); s > 0 && (m[1] = !0), p[s] = !0; var h = null; if (null != t.report && null != t.report.engine && null != t.report.engine.pageNumbers) { t.report.reportPass == e.StiReportPass.Second && (h = t.report.engine.pageNumbers); var d = t.report.engine.pageNumbers; a = 1; for (var g = Math.min(t.count, d.pageNumbers.count), f = 0; f < g; f++) d.pageNumbers.getByIndex(f).resetPageNumber && (m[a] = !0, p[a - 1] = !0), a += d.pageNumbers.getByIndex(f).segmentPerWidth * d.pageNumbers.getByIndex(f).segmentPerHeight } a = 1; try { for (var S = __values(t.list), A = S.next(); !A.done; A = S.next()) { var c = A.value; null != h ? (a = h.getPageNumber(c), s = h.getTotalPageCount(c), B.postProcessPage(c, 1 == a, a == s)) : B.postProcessPage(c, m[a], p[a]), a += c.segmentPerWidth * c.segmentPerHeight } } catch (t) { n = { error: t } } finally { try { A && !A.done && (o = S.return) && o.call(S) } finally { if (n) throw n.error } } B.postProcessPrimitives(t) } , B.removeAllPointPrimitives = function(t) { var e = 0; while (e < t.components.count) if (t.components.getByIndex(e).stimulsoft.is(a)) t.components.removeAt(e); else { var r = t.components.getByIndex(e).stimulsoft.as(v); null != r && B.removeAllPointPrimitives(r), e++ } } , B.postProcessPrimitives = function(e) { var r, i, n, a, l = e; e.stimulsoft.is(t.Report.Components.StiPage) && (l = new o(null), l.add(e)); var u = { ref: new s } , c = { ref: new s } , m = { ref: new s } , p = { ref: new Array }; try { for (var h = __values(l.list), d = h.next(); !d.done; d = h.next()) { var g = d.value; B.postProcessPrimitivesInContainer2(g, l, u, c, m, p) } } catch (t) { r = { error: t } } finally { try { d && !d.done && (i = h.return) && i.call(h) } finally { if (r) throw r.error } } try { for (var f = __values(l.list), S = f.next(); !S.done; S = f.next()) { var A = S.value; B.removeAllPointPrimitives(A) } } catch (t) { n = { error: t } } finally { try { S && !S.done && (a = f.return) && a.call(f) } finally { if (n) throw n.error } } } , B.postProcessPrimitivesInContainer = function(t) { var e = { ref: new s } , r = { ref: new s } , i = { ref: new s } , n = { ref: new Array }; B.postProcessPrimitivesInContainer2(t, null, e, r, i, n), B.removeAllPointPrimitives(t) } , B.postProcessPrimitivesInContainer2 = function(t, e, r, i, n, o) { var a, s, p, h, d, g, f = r.ref, S = i.ref, A = n.ref, y = o.ref, w = new C; w.addRange(t.components); try { for (var b = __values(w.list), v = b.next(); !v.done; v = b.next()) { var T = v.value , I = T.stimulsoft.as(u); null != I && null != I.guid && I.guid != B.nullGuid && (A.set(I.guid, I), I.parent.components.remove(T)) } } catch (t) { a = { error: t } } finally { try { v && !v.done && (s = b.return) && s.call(b) } finally { if (a) throw a.error } } if (A.count > 0) { w = t.getComponents(), y.clear(); try { for (var x = __values(w.list), F = x.next(); !F.done; F = x.next()) { var T = F.value; if (!T.stimulsoft.is(c)) continue; var D = T.stimulsoft.as(m); if (null != D) { if (null == D.referenceToGuid) continue; var R = t.stimulsoft.as(E) , P = f.get(D.referenceToGuid); null == P && (P = new Array, f.set(D.referenceToGuid, P), null != R && R.columns > 1 && P.add(D)), (null != R && R.columns < 2 || null == R) && P.add(D); continue } var N = T.stimulsoft.as(l); if (null == N) continue; B.processOneEndPoint(f, A, t, e, N) || y.add(N) } } catch (t) { p = { error: t } } finally { try { F && !F.done && (h = x.return) && h.call(x) } finally { if (p) throw p.error } } try { for (var k = __values(y), M = k.next(); !M.done; M = k.next()) { var N = M.value; B.processOneEndPoint(f, A, t, e, N) } } catch (t) { d = { error: t } } finally { try { M && !M.done && (g = k.return) && g.call(k) } finally { if (d) throw d.error } } } r.ref = f, i.ref = S, n.ref = A, o.ref = y } , B.processOneEndPoint = function(t, e, r, i, n) { if (null == n.referenceToGuid) return !1; var o = t.get(n.referenceToGuid); if (null == o || 0 == o.length) return !1; t.set(n.referenceToGuid, null); var a = o[0] , s = e.get(a.referenceToGuid); if (null == s) return !0; var l = o[0]; return B.processOnePrimitive(i, r, s, l, null, n), !0 } , B.processOnePrimitive = function(t, e, r, i, n, o) { var a = i.componentToPage(new p(i.left,i.top)) , s = o.componentToPage(new p(o.left,o.top)) , l = i.storedColumn , u = o.storedColumn; l = Math.max(1, l), u = Math.max(1, u); var c = -1; if (null != n && (c = n.storedColumn, c = Math.max(1, c)), i.page != o.page || l != u) { var m = null == t ? 1 : t.indexOf(i.page) , h = null == t ? 1 : t.indexOf(o.page) , d = -1; null != n && null != t && (d = t.indexOf(n.page)); for (var g = m; g <= h; g++) { if (m != h && null != n && d == h && g == h) continue; var f = t.getByIndex(g); f != i.page && (l = 1), f != o.page && (u = Math.max(f.columns, u)); for (var S = 0, A = l; A <= u; A++) { var y = f.pageInfo.positionFromTop , w = f.pageInfo.positionFromBottom , b = f.getColumnWidth() + f.columnGaps , v = a.x , C = a.y , E = s.x , T = s.y; if (l != u) { E -= b * Math.min(u - l, f.columns); while (E < v && b > 0) E += b } g == m && l == A ? B.addPrimitive(r, new p(S + v,C), new p(S + E,w), f) : g == h && u == A ? B.addPrimitive(r, new p(S + v,y), new p(S + E,T), f) : B.addPrimitive(r, new p(S + v,y), new p(S + E,w), f), S += b } } } else B.addPrimitive(r, a, s, e) } , B.addPrimitive = function(t, e, r, i) { if (t.stimulsoft.is(h)) { var n = t.clone(); n.guid = B.nullGuid, n.left = e.x, n.top = e.y, n.width = r.x - e.x, n.height = r.y - e.y, i.components.add(n) } else if (t.stimulsoft.is(d)) { if (t.leftSide) { var o = new w; o.name = t.name + "_Left", o.guid = B.nullGuid, o.page = t.page, o.left = e.x, o.top = e.y, o.height = r.y - e.y, o.color = t.color, o.style = t.style, o.size = t.size, i.components.add(o) } if (t.rightSide) { var a = new w; a.name = t.name + "_Right", a.guid = B.nullGuid, a.page = t.page, a.left = r.x, a.top = e.y, a.height = r.y - e.y, a.color = t.color, a.style = t.style, a.size = t.size, i.components.add(a) } if (t.topSide) { var s = new b; s.name = t.name + "_Top", s.page = t.page, s.left = e.x, s.top = e.y, s.height = t.page.unit.convertFromHInches(1), s.width = r.x - e.x, s.color = t.color, s.style = t.style, s.size = t.size, i.components.add(s) } if (t.bottomSide) { var l = new b; l.name = t.name + "_Bottom", l.page = t.page, l.left = e.x, l.top = r.y, l.height = t.page.unit.convertFromHInches(1), l.width = r.x - e.x, l.color = t.color, l.style = t.style, l.size = t.size, i.components.add(l) } } else { var n = t.clone(); n.guid = B.nullGuid, n.left = e.x, n.top = e.y, n.width = r.x - e.x, n.height = r.y - e.y, i.components.add(n) } } , B.copyStyles = function(t, e) { t.style = e.style, t.color = e.color, t.size = e.size } , B.postProcessPage = function(t, e, o, a) { var l, u, c, m; void 0 === a && (a = !0), B.postProcessPrintOn(t.components, e, o); var p = t.getComponents(); t.dockToContainer(); try { for (var h = __values(p.list), d = h.next(); !d.done; d = h.next()) { var y = d.value; y.dockStyle = g.None, y.page = t; var w = y.stimulsoft.as(f); null != w && w.shrinkFontToFit && (w.font = w.getActualFont(w.text, w.shrinkFontToFitMinimumSize)) } } catch (t) { l = { error: t } } finally { try { d && !d.done && (u = h.return) && u.call(h) } finally { if (l) throw l.error } } var b = new s; try { for (var v = __values(p.list), C = v.next(); !C.done; C = v.next()) { var y = C.value; y.stimulsoft.is(S) && y.processingDuplicates != A.None && b.set(y, y.parent), y.stimulsoft.is(i) && y.processingDuplicates != n.None && b.set(y, y.parent) } } catch (t) { c = { error: t } } finally { try { C && !C.done && (m = v.return) && m.call(v) } finally { if (c) throw c.error } } a && t.clearPage(), r.StiPostProcessDuplicatesHelper.postProcessDuplicates(p, b), b.clear(), b = null } , B.postProcessPrintOn = function(t, e, r) { var i = 0; while (i < t.count) { var n = t.getByIndex(i); if (B.allowPrintOn(n, e, r)) { var o = n.stimulsoft.as(v); null != o && B.postProcessPrintOn(o.components, e, r), i++ } else t.removeAt(i) } } , B.allowPrintOn = function(t, e, r) { if (t.printOn == y.AllPages) return !0; if ((t.printOn & y.ExceptFirstPage) > 0 && e) return !1; if (t.printOn == y.OnlyFirstAndLastPage) return !(!e && !r); if ((t.printOn & y.OnlyFirstPage) > 0 && !e) return !1; if ((t.printOn & y.OnlyLastPage) > 0 && !r) return !1; if ((t.printOn & y.ExceptLastPage) > 0 && r) return !1; return !0 } , B.nullGuid = "nullGuid", B }(); r.StiPostProcessProvider = B }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = t.Report.Components.StiFooterBand , n = t.Report.Components.StiContainer , o = function() { function o(t) { this.bands = new r, this.engine = null, this.engine = t } return o.prototype.canProcess = function(e) { var r = e.stimulsoft.as(t.Report.Components.IStiPrintAtBottom); return null != r && r.printAtBottom } , o.prototype.add = function(t) { this.bands.set(t, t) } , o.prototype.render = function(t, r, o) { var a, s; if (null == t || 0 == this.bands.count) return; for (var l = [], u = -1, c = !1, m = r; m < t.components.count; m++) { var p = t.components.getByIndex(m).stimulsoft.as(n); if (null == p) continue; if (p.stimulsoft.is(e.StiLevelContainer)) continue; if (p == o && (c = !0), (null == p.containerInfo.parentBand || !p.containerInfo.parentBand.stimulsoft.is(i) || !p.containerInfo.parentBand.printOnAllPages) && c) continue; if (null != this.bands.get(p)) l.insert(0, p), -1 == u && (u = m); else if (-1 != u && !p.stimulsoft.is(e.StiFooterMarkerContainer)) { l.clear(); for (var h = 0, d = u; d < t.components.count; d++) { var g = t.components.getByIndex(d).stimulsoft.as(n); if (g == o) break; g.top += h, null != this.bands.get(g) && d < m && (g.containerInfo.parentBand.stimulsoft.is(i) && g.containerInfo.parentBand.printOnAllPages || (h += g.height, this.engine.positionY += g.height)) } u = -1 } } try { for (var f = __values(l), S = f.next(); !S.done; S = f.next()) { var p = S.value; p.top = this.engine.positionBottomY - p.height, null != this.engine.page && this.engine.page.segmentPerHeight > 1 && (p.top += (this.engine.page.pageHeight - this.engine.page.margins.top - this.engine.page.margins.bottom) * (this.engine.page.segmentPerHeight - 1)), this.engine.positionBottomY -= p.height, p.containerInfo.parentBand.stimulsoft.is(i) && p.containerInfo.parentBand.printOnAllPages && (this.engine.positionY -= p.height) } } catch (t) { a = { error: t } } finally { try { S && !S.done && (s = f.return) && s.call(f) } finally { if (a) throw a.error } } this.bands.clear() } , o }(); e.StiPrintAtBottom = o }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Components.StiRichText , o = t.System.Drawing.Printing.PaperKind , a = t.Report.Components.Table.StiTableAutoWidthType , s = t.Report.Components.Table.StiTableCellImage , l = t.Report.Components.Table.StiTablceCellType , u = t.Report.Components.Table.StiColumnSize , c = t.Report.Components.Table.StiTableAutoWidth , m = t.Report.Components.Table.IStiTableCell , p = t.Report.Components.Table.StiTable , h = t.System.EventArgs , d = t.Report.Components.StiDataBand , g = t.Report.Components.StiSubReport , f = t.Report.Components.StiCondition , S = t.Report.Components.StiMultiCondition , A = t.Report.Components.StiMargins , y = t.Report.Components.StiText , w = t.Report.Components.StiProcessAt , b = t.System.Collections.Hashtable , v = t.Report.Components.StiDataHelper , C = t.Report.Components.StiFilterMode , E = t.Report.Components.StiPagesCollection , B = t.Report.Components.StiPrintOnType , T = t.Report.Dictionary.StiDataSourceHelper , I = t.Report.Engine.StiParser.StiParser , x = t.Report.StiReportCacheMode , F = t.Report.Components.StiContainer , D = t.Report.Components.StiPage , R = t.System.StiPromise , P = function() { function P() {} return P.renderAsync = function(a, s) { return __awaiter(this, void 0, void 0, function() { var l, u, m, h, g, A, E, B, x, R, N, k, R, M, O, _, L, j, H, G, Q, Y, U, R, J, W, V, z, X, K, Z, q, $, tt, Z, et, rt, it, nt, ot, at, st, lt, h, ut, ct, mt, pt, ht, dt, gt, ft, St, At, yt, wt, bt, vt, Ct, Et, Bt, Tt, It, xt, Ft, Dt, Ft, Dt, Rt, Pt, Nt, kt, Mt, h, Ot, _t, Z, Lt, jt, Ht, Gt, Qt, Yt, Gt, Ut, Jt, Wt, Vt, K, zt, Xt, Kt, h, Zt, qt, $t, te, ee, re, ie, ne, oe, ae, se, le, ue, ce, me, pe, he, de, ge, fe, Se, Ae, ye, we, be, ve, Ce, Ee; return __generator(this, function(Be) { switch (Be.label) { case 0: l = a.getComponents(); try { for (u = __values(l.list), m = u.next(); !m.done; m = u.next()) if (h = m.value, null != (g = h.stimulsoft.as(y)) && g.processAt == w.EndOfPage) { a.engine.allowEndOfPageProcessing = !0; break } } catch (t) { Zt = { error: t } } finally { try { m && !m.done && (qt = u.return) && qt.call(u) } finally { if (Zt) throw Zt.error } } if (P.initReport(a), P.checkDialogsInPreview(a)) return [3, 2]; A = T.getDataSourcesUsedInRequestFromUsersVariables(a), E = new b; try { for (B = __values(a.dictionary.dataSources.list), x = B.next(); !x.done; x = B.next()) R = x.value, A.containsKey(R.name) || (E.set(R.name, R.connectOnStart), R.connectOnStart = !1) } catch (t) { $t = { error: t } } finally { try { x && !x.done && (te = B.return) && te.call(B) } finally { if ($t) throw $t.error } } return [4, P.connectToDataAsync(a)]; case 1: Be.sent(); try { for (N = __values(a.dictionary.dataSources.list), k = N.next(); !k.done; k = N.next()) R = k.value, E.containsKey(R.name) && (R.connectOnStart = E.get(R.name)) } catch (t) { ee = { error: t } } finally { try { k && !k.done && (re = N.return) && re.call(N) } finally { if (ee) throw ee.error } } return r.StiVariableHelper.fillItemsOfVariables(a.compiledReport ? null : a), a.pages.count > 0 && 1 == a.renderedPages.count && (M = a.pages.getByIndex(0), O = a.renderedPages.getByIndex(0), O.paperSize = M.paperSize, O.orientation = M.orientation, M.paperSize == o.Custom && (O.width = M.width, O.height = M.height)), [2]; case 2: if (null == a.subReportsMasterReport && a.renderedPages.clear(), _ = P.getNumberOfPass(a), L = P.isDialogsOnStartExist(a)) return [3, 4]; return [4, P.renderFirstPassAsync(a, _)]; case 3: Be.sent(), Be.label = 4; case 4: j = a.subReportsMasterReport, H = new b, G = null, Be.label = 5; case 5: Be.trys.push([5, 9, 10, 11]), Q = P.prepareSubReportsAndDrillDownPages(a), null == j && a.renderedPages.clear(), a.invokeBeginRender(), P.clearTotals(a); try { for (Y = __values(a.dictionary.dataSources.list), U = Y.next(); !U.done; U = Y.next()) R = U.value } catch (t) { ie = { error: t } } finally { try { U && !U.done && (ne = Y.return) && ne.call(Y) } finally { if (ie) throw ie.error } } return [4, P.connectToDataAsync(a)]; case 6: return Be.sent(), J = r.StiVariableHelper.fillItemsOfVariables(a.compiledReport ? a.compiledReport : a), [4, r.StiVariableHelper.setDefaultValueForRequestFromUserVariablesAsync(a.compiledReport ? a.compiledReport : a, J)]; case 7: Be.sent(), a.bookmark.bookmarks.clear(), a.bookmark.text = a.reportAlias, a.reportPass != e.StiReportPass.First && a.reportPass != e.StiReportPass.None || P.initCacheMode(a), W = a.getComponents(), V = []; try { for (z = __values(W.list), X = z.next(); !X.done; X = z.next()) if (K = X.value, null != (Z = K.stimulsoft.as(p)) && Z.enabled) { V.add(Z); continue } } catch (t) { oe = { error: t } } finally { try { X && !X.done && (ae = z.return) && ae.call(z) } finally { if (oe) throw oe.error } } if (a.containsTables = 0 != V.length, V.length > 0) { for (q = new b, $ = !1, tt = 0; tt < V.length; tt++) Z = V[tt], Z.autoWidth != c.None && ($ = !0), et = { ref: H }, rt = Z.startRenderTableBand(et), H = et.ref, null != rt && (q.add(rt.name, rt), a.engine.keepFirstDetailTogetherTablesList.set(rt, Z)); if (0 != q.count) try { for (it = __values(q.values), nt = it.next(); !nt.done; nt = it.next()) ot = nt.value, null != ot.masterComponent && ot.masterComponent.stimulsoft.is(p) && (ot.masterComponent = q.get(ot.masterComponent.name + "_DB").stimulsoft.as(d)) } catch (t) { se = { error: t } } finally { try { nt && !nt.done && (le = it.return) && le.call(it) } finally { if (se) throw se.error } } q = null, W.clear(), W = a.getComponents(), a.containsTables = $ } a.engine.parserConversionStore = new b, a.engine.anchorsArguments = new b, a.engine.hashDataSourceReferencesCounter = new b, G = new b, at = a.calculationMode == e.StiCalculationMode.Compilation; try { for (st = __values(W.list), lt = st.next(); !lt.done; lt = st.next()) { if (h = lt.value, h.prepare(), !at) { if (!at && h.conditions.count > 0) { ut = []; try { for (me = void 0, ct = __values(h.conditions.list), mt = ct.next(); !mt.done; mt = ct.next()) if (pt = mt.value, ht = pt.stimulsoft.as(f), dt = null, pt.stimulsoft.is(S)) { if (gt = pt.stimulsoft.as(S), gt.filterOn && gt.filters.count > 0) { for (ft = "{", St = 0; St < gt.filters.count; St++) At = gt.filters.getByIndex(St), ft += "(", ft += v.getFilterExpression(At, At.column, a), ft += ")", St < gt.filters.count - 1 && (ft += gt.filterMode == C.And ? " && " : " || "); ft += "}", ut.add({ key: gt, value: ft.toString() }) } } else null != ht && (dt = "{" + v.getFilterExpression(ht, ht.column, a) + "}", ut.add({ key: ht, value: dt })) } catch (t) { me = { error: t } } finally { try { mt && !mt.done && (pe = ct.return) && pe.call(ct) } finally { if (me) throw me.error } } ut.length > 0 && a.engine.parserConversionStore.set("*StiConditionExpression*" + h.name, ut) } if (yt = h.stimulsoft.as(y), null != yt && I.checkForDataBandsUsedInPageTotals(yt), h.stimulsoft.is(n) && StiOptions.Engine.fullTrust) { wt = h.stimulsoft.as(n), bt = ""; try { vt = n.notSupportedText, vt.length > 0 && a.engine.parserConversionStore.set("*StiRichTextExpression*" + h.name, vt) } catch (e) { Ct = i.format("Expression in Text property of '{0}' can't be evaluated! {1}", h.name, e.message), t.System.StiError.showError(Ct, !1), a.writeToReportRenderingMessages(Ct) } } h.stimulsoft.is(d) && null != h.renderingEvent && !i.isNullOrEmpty(h.renderingEvent.script) && (Et = h.renderingEvent.script, -1 != (Bt = Et.indexOf("AddAnchor(")) && -1 != (Tt = Et.indexOf(")", Bt)) && (Bt += 10, It = Et.substr(Bt, Tt - Bt), a.engine.anchorsArguments.set(h.name, It))) } xt = h.stimulsoft.as(d), null != xt && (xt.isDataSourceEmpty || (Ft = a.engine.hashDataSourceReferencesCounter.get(xt.dataSourceName), Dt = null == Ft ? 1 : Math.trunc(Ft.stimulsoft.toNumber()) + 1, a.engine.hashDataSourceReferencesCounter.set(xt.dataSourceName, Dt)), xt.isBusinessObjectEmpty || (Ft = a.engine.hashDataSourceReferencesCounter.get(xt.businessObject.name), Dt = null == Ft ? 1 : Math.trunc(Ft.stimulsoft.toNumber()) + 1, a.engine.hashDataSourceReferencesCounter.set(xt.businessObject.name, Dt))) } } catch (t) { ue = { error: t } } finally { try { lt && !lt.done && (ce = st.return) && ce.call(st) } finally { if (ue) throw ue.error } } return [4, P.renderReportAsync(a, j, s)]; case 8: if (Be.sent(), a.isStopped || (P.renderFormsOnEnd(a), a.isRendered = !0), H.count > 0) try { for (Rt = __values(H.keys), Pt = Rt.next(); !Pt.done; Pt = Rt.next()) for (Nt = Pt.value, kt = H.get(Nt), Mt = 0; Mt < kt.length; Mt++) h = kt[Mt], null != h.parent && h.parent.components.remove(h) } catch (t) { he = { error: t } } finally { try { Pt && !Pt.done && (de = Rt.return) && de.call(Rt) } finally { if (he) throw he.error } } try { for (Ot = __values(V), _t = Ot.next(); !_t.done; _t = Ot.next()) Z = _t.value, Z.enabled = !0 } catch (t) { ge = { error: t } } finally { try { _t && !_t.done && (fe = Ot.return) && fe.call(Ot) } finally { if (ge) throw ge.error } } return [3, 11]; case 9: throw Lt = Be.sent(), a.isStopped = !0, Lt; case 10: if (a.currentPage = 0, null == j && (a.currentPrintPage = 0), null == j && a.reportPass != e.StiReportPass.First) if (a.renderedPages.cacheMode) { if (null != a.renderedPages.notCachedPages) try { for (jt = __values(a.renderedPages.notCachedPages), Ht = jt.next(); !Ht.done; Ht = jt.next()) Gt = Ht.value, r.StiPostProcessProvider.postProcessPage(Gt, P.isFirstPage(a, Gt), P.isLastPage(a, Gt)), r.StiPostProcessProvider.postProcessPrimitives(Gt) } catch (t) { Se = { error: t } } finally { try { Ht && !Ht.done && (Ae = jt.return) && Ae.call(jt) } finally { if (Se) throw Se.error } } } else r.StiPostProcessProvider.postProcessPages(a.renderedPages); if (P.finishAllPagesInNotCachedPagesArray(a), P.removeAllPagesLessThenFromPageAndGreaterThenToPage(a, s), P.madeCollate(a), P.madeMirrorMargins(a), r.StiBookmarksHelper.prepareBookmark(a.bookmark), P.disconnectFromData(a), null == j && (0 == a.renderedPages.count && a.renderedPages.add(new D(a)), a.engine.pageNumbers.processPageNumbers(), a.invokeEndRender(), a.engine.pageNumbers.clear(), !a.renderedPages.cacheMode)) try { for (Qt = __values(a.renderedPages.list), Yt = Qt.next(); !Yt.done; Yt = Qt.next()) { Gt = Yt.value, Ut = Gt.getComponents(); try { for (be = void 0, Jt = __values(Ut.list), Wt = Jt.next(); !Wt.done; Wt = Jt.next()) Vt = Wt.value, null != (K = Vt.stimulsoft.as(F)) && null != K.containerInfo && (K.containerInfo.dataSourceRow = null, K.containerInfo.businessObjectCurrent = null) } catch (t) { be = { error: t } } finally { try { Wt && !Wt.done && (ve = Jt.return) && ve.call(Jt) } finally { if (be) throw be.error } } } } catch (t) { ye = { error: t } } finally { try { Yt && !Yt.done && (we = Qt.return) && we.call(Qt) } finally { if (ye) throw ye.error } } H = null, P.finishProgressForm(a), a.reportPass == e.StiReportPass.Second && (a.reportPass = e.StiReportPass.None), null == j && (P.clearTotals(a), a.reportPass != e.StiReportPass.First && (a.parentReport = null)), null != a.engine.parserConversionStore && (a.engine.parserConversionStore.clear(), a.engine.parserConversionStore = null), zt = a.getComponents(); try { for (Xt = __values(zt.list), Kt = Xt.next(); !Kt.done; Kt = Xt.next()) h = Kt.value, h.unPrepare() } catch (t) { Ce = { error: t } } finally { try { Kt && !Kt.done && (Ee = Xt.return) && Ee.call(Xt) } finally { if (Ce) throw Ce.error } } return a.engine.keepFirstDetailTogetherTablesList.clear(), [7]; case 11: return [2] } }) }) } , P.render = function(a, s) { var l, u, m, h, g, A, E, B, x, R, N, k, M, O, _, L, j, H, G, Q, Y, U, J, W, V, z, X, K, Z = a.getComponents(); try { for (var q = __values(Z.list), $ = q.next(); !$.done; $ = q.next()) { var tt = $.value , et = tt.stimulsoft.as(y); if (null != et && et.processAt == w.EndOfPage) { a.engine.allowEndOfPageProcessing = !0; break } } } catch (t) { l = { error: t } } finally { try { $ && !$.done && (u = q.return) && u.call(q) } finally { if (l) throw l.error } } if (P.initReport(a), !P.checkDialogsInPreview(a)) { var rt = T.getDataSourcesUsedInRequestFromUsersVariables(a) , it = new b; try { for (var nt = __values(a.dictionary.dataSources.list), ot = nt.next(); !ot.done; ot = nt.next()) { var at = ot.value; rt.containsKey(at.name) || (it.set(at.name, at.connectOnStart), at.connectOnStart = !1) } } catch (t) { m = { error: t } } finally { try { ot && !ot.done && (h = nt.return) && h.call(nt) } finally { if (m) throw m.error } } P.connectToData(a); try { for (var st = __values(a.dictionary.dataSources.list), lt = st.next(); !lt.done; lt = st.next()) { var at = lt.value; it.containsKey(at.name) && (at.connectOnStart = it.get(at.name)) } } catch (t) { g = { error: t } } finally { try { lt && !lt.done && (A = st.return) && A.call(st) } finally { if (g) throw g.error } } if (r.StiVariableHelper.fillItemsOfVariables(a.compiledReport ? null : a), a.pages.count > 0 && 1 == a.renderedPages.count) { var ut = a.pages.getByIndex(0) , ct = a.renderedPages.getByIndex(0); ct.paperSize = ut.paperSize, ct.orientation = ut.orientation, ut.paperSize == o.Custom && (ct.width = ut.width, ct.height = ut.height) } return } null == a.subReportsMasterReport && a.renderedPages.clear(); var mt = P.getNumberOfPass(a); P.isDialogsOnStartExist(a) || P.renderFirstPass(a, mt); var pt = a.subReportsMasterReport , ht = new b , dt = null; try { var gt = P.prepareSubReportsAndDrillDownPages(a); null == pt && a.renderedPages.clear(), a.invokeBeginRender(), P.clearTotals(a); try { for (var ft = __values(a.dictionary.dataSources.list), St = ft.next(); !St.done; St = ft.next()) var at = St.value } catch (t) { E = { error: t } } finally { try { St && !St.done && (B = ft.return) && B.call(ft) } finally { if (E) throw E.error } } P.connectToData(a), r.StiVariableHelper.fillItemsOfVariables(a.compiledReport ? a.compiledReport : a), r.StiVariableHelper.setDefaultValueForRequestFromUserVariables(a.compiledReport ? a.compiledReport : a), a.bookmark.bookmarks.clear(), a.bookmark.text = a.reportAlias, a.reportPass != e.StiReportPass.First && a.reportPass != e.StiReportPass.None || P.initCacheMode(a); var At = a.getComponents() , yt = []; try { for (var wt = __values(At.list), bt = wt.next(); !bt.done; bt = wt.next()) { var vt = bt.value , Ct = vt.stimulsoft.as(p); if (null != Ct && Ct.enabled) { yt.add(Ct); continue } } } catch (t) { x = { error: t } } finally { try { bt && !bt.done && (R = wt.return) && R.call(wt) } finally { if (x) throw x.error } } if (a.containsTables = 0 != yt.length, yt.length > 0) { for (var Et = new b, Bt = !1, Tt = 0; Tt < yt.length; Tt++) { var Ct = yt[Tt]; Ct.autoWidth != c.None && (Bt = !0); var It = { ref: ht } , xt = Ct.startRenderTableBand(It); ht = It.ref, null != xt && (Et.add(xt.name, xt), a.engine.keepFirstDetailTogetherTablesList.set(xt, Ct)) } if (0 != Et.count) try { for (var Ft = __values(Et.values), Dt = Ft.next(); !Dt.done; Dt = Ft.next()) { var Rt = Dt.value; null != Rt.masterComponent && Rt.masterComponent.stimulsoft.is(p) && (Rt.masterComponent = Et.get(Rt.masterComponent.name + "_DB").stimulsoft.as(d)) } } catch (t) { N = { error: t } } finally { try { Dt && !Dt.done && (k = Ft.return) && k.call(Ft) } finally { if (N) throw N.error } } Et = null, At.clear(), At = a.getComponents(), a.containsTables = Bt } a.engine.parserConversionStore = new b, a.engine.anchorsArguments = new b, a.engine.hashDataSourceReferencesCounter = new b, dt = new b; var Pt = a.calculationMode == e.StiCalculationMode.Compilation; try { for (var Nt = __values(At.list), kt = Nt.next(); !kt.done; kt = Nt.next()) { var tt = kt.value; if (tt.prepare(), !Pt) { if (!Pt && tt.conditions.count > 0) { var Mt = []; try { for (var Ot = (_ = void 0, __values(tt.conditions.list)), _t = Ot.next(); !_t.done; _t = Ot.next()) { var Lt = _t.value , jt = Lt.stimulsoft.as(f) , Ht = null; if (Lt.stimulsoft.is(S)) { var Gt = Lt.stimulsoft.as(S); if (Gt.filterOn && Gt.filters.count > 0) { for (var Qt = "{", Yt = 0; Yt < Gt.filters.count; Yt++) { var Ut = Gt.filters.getByIndex(Yt); Qt += "(", Qt += v.getFilterExpression(Ut, Ut.column, a), Qt += ")", Yt < Gt.filters.count - 1 && (Qt += Gt.filterMode == C.And ? " && " : " || ") } Qt += "}", Mt.add({ key: Gt, value: Qt.toString() }) } } else null != jt && (Ht = "{" + v.getFilterExpression(jt, jt.column, a) + "}", Mt.add({ key: jt, value: Ht })) } } catch (t) { _ = { error: t } } finally { try { _t && !_t.done && (L = Ot.return) && L.call(Ot) } finally { if (_) throw _.error } } Mt.length > 0 && a.engine.parserConversionStore.set("*StiConditionExpression*" + tt.name, Mt) } var Jt = tt.stimulsoft.as(y); if (null != Jt && I.checkForDataBandsUsedInPageTotals(Jt), tt.stimulsoft.is(n) && StiOptions.Engine.fullTrust) { var Wt = tt.stimulsoft.as(n) , Vt = ""; try { var zt = n.notSupportedText; zt.length > 0 && a.engine.parserConversionStore.set("*StiRichTextExpression*" + tt.name, zt) } catch (e) { var Xt = i.format("Expression in Text property of '{0}' can't be evaluated! {1}", tt.name, e.message); t.System.StiError.showError(Xt, !1), a.writeToReportRenderingMessages(Xt) } } if (tt.stimulsoft.is(d) && null != tt.renderingEvent && !i.isNullOrEmpty(tt.renderingEvent.script)) { var Kt = tt.renderingEvent.script , Zt = Kt.indexOf("AddAnchor("); if (-1 != Zt) { var qt = Kt.indexOf(")", Zt); if (-1 != qt) { Zt += 10; var $t = Kt.substr(Zt, qt - Zt); a.engine.anchorsArguments.set(tt.name, $t) } } } } var te = tt.stimulsoft.as(d); if (null != te) { if (!te.isDataSourceEmpty) { var ee = a.engine.hashDataSourceReferencesCounter.get(te.dataSourceName) , re = null == ee ? 1 : Math.trunc(ee.stimulsoft.toNumber()) + 1; a.engine.hashDataSourceReferencesCounter.set(te.dataSourceName, re) } if (!te.isBusinessObjectEmpty) { var ee = a.engine.hashDataSourceReferencesCounter.get(te.businessObject.name) , re = null == ee ? 1 : Math.trunc(ee.stimulsoft.toNumber()) + 1; a.engine.hashDataSourceReferencesCounter.set(te.businessObject.name, re) } } } } catch (t) { M = { error: t } } finally { try { kt && !kt.done && (O = Nt.return) && O.call(Nt) } finally { if (M) throw M.error } } if (P.renderReport(a, pt, s), a.isStopped || (P.renderFormsOnEnd(a), a.isRendered = !0), ht.count > 0) try { for (var ie = __values(ht.keys), ne = ie.next(); !ne.done; ne = ie.next()) for (var oe = ne.value, ae = ht.get(oe), se = 0; se < ae.length; se++) { var tt = ae[se]; null != tt.parent && tt.parent.components.remove(tt) } } catch (t) { j = { error: t } } finally { try { ne && !ne.done && (H = ie.return) && H.call(ie) } finally { if (j) throw j.error } } try { for (var le = __values(yt), ue = le.next(); !ue.done; ue = le.next()) { var Ct = ue.value; Ct.enabled = !0 } } catch (t) { G = { error: t } } finally { try { ue && !ue.done && (Q = le.return) && Q.call(le) } finally { if (G) throw G.error } } } catch (t) { a.isStopped = !0 } finally { if (a.currentPage = 0, null == pt && (a.currentPrintPage = 0), null == pt && a.reportPass != e.StiReportPass.First) if (a.renderedPages.cacheMode) { if (null != a.renderedPages.notCachedPages) try { for (var ce = __values(a.renderedPages.notCachedPages), me = ce.next(); !me.done; me = ce.next()) { var pe = me.value; r.StiPostProcessProvider.postProcessPage(pe, P.isFirstPage(a, pe), P.isLastPage(a, pe)), r.StiPostProcessProvider.postProcessPrimitives(pe) } } catch (t) { Y = { error: t } } finally { try { me && !me.done && (U = ce.return) && U.call(ce) } finally { if (Y) throw Y.error } } } else r.StiPostProcessProvider.postProcessPages(a.renderedPages); if (P.finishAllPagesInNotCachedPagesArray(a), P.removeAllPagesLessThenFromPageAndGreaterThenToPage(a, s), P.madeCollate(a), P.madeMirrorMargins(a), r.StiBookmarksHelper.prepareBookmark(a.bookmark), P.disconnectFromData(a), null == pt && (0 == a.renderedPages.count && a.renderedPages.add(new D(a)), a.engine.pageNumbers.processPageNumbers(), a.invokeEndRender(), a.engine.pageNumbers.clear(), !a.renderedPages.cacheMode)) try { for (var he = __values(a.renderedPages.list), de = he.next(); !de.done; de = he.next()) { var pe = de.value , ge = pe.getComponents(); try { for (var fe = (V = void 0, __values(ge.list)), Se = fe.next(); !Se.done; Se = fe.next()) { var Ae = Se.value , vt = Ae.stimulsoft.as(F); null != vt && null != vt.containerInfo && (vt.containerInfo.dataSourceRow = null, vt.containerInfo.businessObjectCurrent = null) } } catch (t) { V = { error: t } } finally { try { Se && !Se.done && (z = fe.return) && z.call(fe) } finally { if (V) throw V.error } } } } catch (t) { J = { error: t } } finally { try { de && !de.done && (W = he.return) && W.call(he) } finally { if (J) throw J.error } } ht = null, P.finishProgressForm(a), a.reportPass == e.StiReportPass.Second && (a.reportPass = e.StiReportPass.None), null == pt && (P.clearTotals(a), a.reportPass != e.StiReportPass.First && (a.parentReport = null)), null != a.engine.parserConversionStore && (a.engine.parserConversionStore.clear(), a.engine.parserConversionStore = null); var ye = a.getComponents(); try { for (var we = __values(ye.list), be = we.next(); !be.done; be = we.next()) { var tt = be.value; tt.unPrepare() } } catch (t) { X = { error: t } } finally { try { be && !be.done && (K = we.return) && K.call(we) } finally { if (X) throw X.error } } a.engine.keepFirstDetailTogetherTablesList.clear() } } , P.StiRenderProviderV2_AddAnchor_Rendering = function(t, e) { try { var r = t; if (null != r && null != r.report && null != r.report.engine && r.report.engine.anchorsArguments.count > 0) { var n = r.report.engine.anchorsArguments.get(r.name); if (!i.isNullOrEmpty(n)) { var o = new y; o.name = "**AddAnchor**", o.page = r.report.pages.getByIndex(0); var a = I.parseTextValue("{" + n + "}", o); r.report.addAnchor(a) } } } catch (e) {} } , P.connectToDataAsync = function(e) { return __awaiter(this, void 0, void 0, function() { return __generator(this, function(r) { return [2, new Promise(function(r, i) { var n = new R; e.dictionary.connectAsync().try(function() { var r, i; try { try { for (var o = __values(e.dictionary.dataSources.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; s.resetData(), s.resetDetailsRows() } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } e.dictionary.connectVirtualDataSourcesAsync().try(function() { e.dictionary.connectCrossTabDataSources(), e.dictionary.connectDataTransformationsAsync().try(function() { e.dictionary.regRelations2(!0), n.callTry() }) }) } catch (e) { t.System.StiError.showError(e, !1), n.callCatch("string" == typeof e ? e : e.message) } }).catch(function(t) { n.callCatch(t) }).abort(n), n.try(r).catch(i) } )] }) }) } , P.connectToData = function(t) { var e, r; t.dictionary.connect(); try { for (var i = __values(t.dictionary.dataSources.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; o.resetData(), o.resetDetailsRows() } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } t.dictionary.connectVirtualDataSourcesAsync(), t.dictionary.connectCrossTabDataSources(), t.dictionary.connectDataTransformationsAsync(), t.dictionary.regRelations2(!0) } , P.disconnectFromData = function(t) { t.dictionary.disconnect() } , P.isDialogsOnStartExist = function(t) { var e, r; try { for (var i = __values(t.pages.list), n = i.next(); !n.done; n = i.next()) var o = n.value } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return !1 } , P.renderFormsOnStart = function(t) { if (t.isInteractionRendering) return !0; return !0 } , P.renderFormsOnEnd = function(t) { if (t.isInteractionRendering) return !0; return !0 } , P.checkDialogsInPreview = function(t) { var e, r, i, n; try { for (var o = __values(t.dictionary.variables.list), a = o.next(); !a.done; a = o.next()) { if (a.value.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 s = __values(t.pages.list), l = s.next(); !l.done; l = s.next()) var u = l.value } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return !0 } , P.clearPagesWhichLessThenFromPageAndGreaterThenToPage = function(t, r) { if (t.renderedPages.count > 1 && t.reportPass != e.StiReportPass.First) { var i = t.renderedPages.count - 2; (r.fromPage > 0 && r.fromPage > i || r.toPage > 0 && r.toPage < i) && t.renderedPages.getByIndex(i).components.clear(), r.toPage > 0 && r.toPage < i && r.renderOnlyPagesFromRange && (t.isStopped = !0) } } , P.initCacheMode = function(t) { t.reportCacheMode != x.Off && (t.reportCacheMode == x.On && (t.renderedPages.cacheMode = !0), t.renderedPages.canUseCacheMode = !0) } , P.removeAllPagesLessThenFromPageAndGreaterThenToPage = function(t, r) { if (r.destroyPagesWhichNotInRange && t.reportPass != e.StiReportPass.First) { if (r.toPage > 0) while (r.toPage < t.renderedPages.count - 1) t.renderedPages.removeAt(t.renderedPages.count - 1); var i = r.fromPage; while (i > 0 && t.renderedPages.count > 0) t.renderedPages.removeAt(0), i-- } } , P.finishAllPagesInNotCachedPagesArray = function(t) { t.renderedPages.cacheMode && null != t.renderedPages.notCachedPages && t.reportPass != e.StiReportPass.First && (t.renderedPages.notCachedPages.clear(), t.renderedPages.notCachedPages = null) } , P.processPageToCache = function(t, i, n) { t.renderedPages.cacheMode && t.reportPass != e.StiReportPass.First && (n ? null != t.engine && null != t.engine.pageNumbers && t.engine.pageNumbers.pageNumbers.count > 0 && (r.StiPostProcessProvider.postProcessPage(i, P.isFirstPage(t, i), P.isLastPage(t, i), n), r.StiPostProcessProvider.postProcessPrimitives(i)) : (null == t.renderedPages.notCachedPages && (t.renderedPages.notCachedPages = new Array), -1 == t.renderedPages.notCachedPages.indexOf(i) && t.renderedPages.notCachedPages.add(i))) } , P.isFirstPage = function(t, e) { if (null != t.engine.pageNumbers) { var r = t.renderedPages.indexOf(e); r = Math.max(r, 0), r = Math.min(r, t.engine.pageNumbers.pageNumbers.count - 1); var i = t.engine.pageNumbers.pageNumbers.getByIndex(r); return -1 == i.totalPageCount || -1 == i.pageNumber ? 0 == r || i.resetPageNumber : 1 == i.pageNumber } var i = t.renderedPages.indexOf(e); return i < 1 } , P.isLastPage = function(t, e) { if (null != t.engine.pageNumbers) { var r = t.renderedPages.indexOf(e); r = Math.max(r, 0), r = Math.min(r, t.engine.pageNumbers.pageNumbers.count - 1); var i = t.engine.pageNumbers.pageNumbers.getByIndex(r); return -1 == i.totalPageCount || -1 == i.pageNumber ? r == t.renderedPages.count - 1 || r + 1 < t.engine.pageNumbers.pageNumbers.count && t.engine.pageNumbers.pageNumbers.getByIndex(r + 1).resetPageNumber : i.pageNumber == i.totalPageCount } var i = t.renderedPages.indexOf(e); return i == t.renderedPages.count - 1 } , P.renderFirstPassAsync = function(i, n) { return __awaiter(this, void 0, void 0, function() { var o, a, s, l, u, c, m, p; return __generator(this, function(h) { switch (h.label) { case 0: if (n != e.StiNumberOfPass.DoublePass || i.reportPass != e.StiReportPass.None) return [3, 5]; if (i.reportPass != e.StiReportPass.None) return [3, 5]; if (i.reportPass = e.StiReportPass.First, o = i.engine, i.engine = null, a = i.renderedPages.count, s = null, a > 0) for (s = new E(i), s.addRange(i.renderedPages), l = new D(i), u = 0; u < i.renderedPages.count; u++) i.renderedPages.setByIndex(u, l); c = i.currentPrintPage, m = new r.StiEngine(i), m.pageNumbers.clearPageNumbersOnFinish = !1, m.pageNumbers.pageNumbers = o.pageNumbers.pageNumbers, m.parserConversionStore = o.parserConversionStore.clone(), null != o.hashDataSourceReferencesCounter && (m.hashDataSourceReferencesCounter = o.hashDataSourceReferencesCounter.clone()), i.engine = m, h.label = 1; case 1: return h.trys.push([1, 3, , 4]), [4, i.renderAsync2()]; case 2: return h.sent(), [3, 4]; case 3: return p = h.sent(), t.System.StiError.showError(p, !1), i.reportPass = e.StiReportPass.None, [3, 4]; case 4: o.latestProgressValue = i.engine.latestProgressValue, i.engine = o, m.parserConversionStore = null, i.engine.pageNumbers.processPageNumbers(), i.reportPass = e.StiReportPass.Second, i.isRendering = !0, i.isRendered = !1, i.renderedPages.clear(), a > 0 && (i.renderedPages.addRange(s), s.clear()), i.currentPrintPage = c, h.label = 5; case 5: return i.resetAggregateFunctions(), [2] } }) }) } , P.renderFirstPass = function(i, n) { if (n == e.StiNumberOfPass.DoublePass && i.reportPass == e.StiReportPass.None && i.reportPass == e.StiReportPass.None) { i.reportPass = e.StiReportPass.First; var o = i.engine; i.engine = null; var a = i.renderedPages.count , s = null; if (a > 0) { s = new E(i), s.addRange(i.renderedPages); for (var l = new D(i), u = 0; u < i.renderedPages.count; u++) i.renderedPages.setByIndex(u, l) } var c = i.currentPrintPage , m = new r.StiEngine(i); m.pageNumbers.clearPageNumbersOnFinish = !1, m.pageNumbers.pageNumbers = o.pageNumbers.pageNumbers, m.parserConversionStore = o.parserConversionStore.clone(), null != o.hashDataSourceReferencesCounter && (m.hashDataSourceReferencesCounter = o.hashDataSourceReferencesCounter.clone()), i.engine = m; try { i.render() } catch (r) { t.System.StiError.showError(r, !1), i.reportPass = e.StiReportPass.None } o.latestProgressValue = i.engine.latestProgressValue, i.engine = o, m.parserConversionStore = null, i.engine.pageNumbers.processPageNumbers(), i.reportPass = e.StiReportPass.Second, i.isRendering = !0, i.isRendered = !1, i.renderedPages.clear(), a > 0 && (i.renderedPages.addRange(s), s.clear()), i.currentPrintPage = c } i.resetAggregateFunctions() } , P.clearPagesForFirstPass = function(t) { t.reportPass == e.StiReportPass.First && t.renderedPages.count >= 2 && t.renderedPages.getByIndex(t.renderedPages.count - 2).components.clear() } , P.getNumberOfPass = function(t) { var r, i, n = t.numberOfPass; if (t.reportPass == e.StiReportPass.None && n == e.StiNumberOfPass.SinglePass) { if (!StiOptions.Engine.useAdvancedPrintOnEngine) return e.StiNumberOfPass.SinglePass; var o = t.getComponents(); try { for (var a = __values(o.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.printOn != B.AllPages && l.printOn != B.OnlyFirstPage && l.printOn != B.ExceptFirstPage) return e.StiNumberOfPass.DoublePass } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } } return n } , P.madeCollate = function(t) { var e, r; if (t.renderedPages.count < 3 || t.collate < 2) return; var i = new Array; if (StiOptions.Engine.useCollateOldMode) for (var n = 0; n < t.collate; n++) for (var o = n; o < t.renderedPages.count; o += t.collate) i.add(t.renderedPages.getByIndex(o)); else { var a = Math.trunc(t.renderedPages.count / t.collate); a * t.collate < t.renderedPages.count && a++; for (var n = 0; n < a; n++) for (var o = n; o < t.renderedPages.count; o += a) i.add(t.renderedPages.getByIndex(o)) } t.renderedPages.clear(); try { for (var s = __values(i), 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 } } } , P.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 A(r.margins.right,r.margins.left,r.margins.top,r.margins.bottom)) } } , P.initReport = function(t) { t.currentPage = 0, null == t.subReportsMasterReport && (t.currentPrintPage = 0), t.isStopped = !1, t.resetAggregateFunctions() } , P.clearTotals = function(t) { t.totals.clear(), null != t.parentReport && t.parentReport.totals.clear() } , P.prepareSubReportsAndDrillDownPages = function(e) { var r, i, n, o, a, s, l = new b, u = e.getComponents(); try { for (var c = __values(e.pages.list), m = c.next(); !m.done; m = c.next()) { var p = m.value; p.skip = !1, l.set(p.guid, p) } } catch (t) { r = { error: t } } finally { try { m && !m.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } try { for (var h = __values(u.list), d = h.next(); !d.done; d = h.next()) { var f = d.value , S = f.stimulsoft.as(g); if (null != S && null != S.subReportPageGuid) { var A = l.get(S.subReportPageGuid); null != A && (A.skip = !0) } if (null != f.interaction && null != f.interaction.drillDownPageGuid) { var y = l.get(f.interaction.drillDownPageGuid) , A = null != y ? y.stimulsoft.as(D) : null; null == A || A.drillDownActivated || (A.skip = !0) } if (f.stimulsoft.is(t.Report.Chart.IStiChart)) try { for (var w = (a = void 0, __values(f.series.list)), v = w.next(); !v.done; v = w.next()) { var C = v.value; if (null != C.interaction && null != C.interaction.drillDownPageGuid) { var y = l.get(C.interaction.drillDownPageGuid) , A = null != y ? y.stimulsoft.as(D) : null; null != A && (A.skip = !0); break } } } catch (t) { a = { error: t } } finally { try { v && !v.done && (s = w.return) && s.call(w) } finally { if (a) throw a.error } } } } catch (t) { n = { error: t } } finally { try { d && !d.done && (o = h.return) && o.call(h) } finally { if (n) throw n.error } } return l } , P.renderReportAsync = function(e, i, n) { return __awaiter(this, void 0, void 0, function() { var i, n, o, a, s, l, u, c, m, p, d, g, f, S, A, y, w, b, v, C, E, B, T; return __generator(this, function(I) { switch (I.label) { case 0: I.trys.push([0, 21, , 22]), i = 0, I.label = 1; case 1: I.trys.push([1, 17, 18, 19]), n = __values(e.pages.list), o = n.next(), I.label = 2; case 2: if (o.done) return [3, 16]; a = o.value, s = a.enabled, I.label = 3; case 3: if (I.trys.push([3, 11, 12, 13]), e.engine.templatePage = a, e.engine.templateContainer = a, e.currentPrintPage++, a.skip || (a.invokeBeforePrint(a, h.empty), e.engine.skipFirstPageBeforePrintEvent = !0), e.currentPrintPage--, !a.enabled || a.skip) return a.skip || (e.engine.skipFirstPageBeforePrintEvent = !1, a.invokeAfterPrint(a, h.empty)), [3, 15]; null != e.engine.masterEngine && (e.engine.masterEngine.templatePage = a, e.engine.masterEngine.templateContainer = a), l = 0, I.label = 4; case 4: if (!(l < a.numberOfCopies)) return [3, 10]; if (e.pageCopyNumber = l + 1, l > 0 && (a.pageInfo.renderedCount = 0), a.pageInfo.indexOfStartRenderedPages = e.renderedPages.count, a.parentBookmark = a.report.bookmark, a.currentBookmark = a.parentBookmark, 0 != e.renderedPages.count && a.printOnPreviousPage) return [3, 6]; return e.engine.firstCallNewPage = !0, [4, e.engine.newPageAsync()]; case 5: return I.sent(), [3, 7]; case 6: if (a.printOnPreviousPage && 0 != i) { u = e.renderedPages.getByIndex(e.renderedPages.count - 1), c = null, m = "TAG##" + e.engine.columnsOnPanel.currentColumn.toString(); try { for (B = void 0, p = __values(u.components.list), d = p.next(); !d.done; d = p.next()) g = d.value, g.name == m && (c = g.stimulsoft.as(F)) } catch (t) { B = { error: t } } finally { try { d && !d.done && (T = p.return) && T.call(p) } finally { if (B) throw B.error } } null != c ? c.height = e.engine.positionY - c.top : (f = new F, f.name = "TAG##" + e.engine.columnsOnPanel.currentColumn.toString(), f.top = 0, f.height = e.engine.positionY, f.left = (e.engine.columnsOnPanel.currentColumn - 1) * u.getColumnWidth(), f.width = u.columns > 0 ? u.getColumnWidth() : u.width, f.tagValue = u.tagValue, f.bookmarkValue = u.bookmarkValue, f.hyperlinkValue = u.hyperlinkValue, f.toolTipValue = u.toolTipValue, f.guid = u.guid, u.tagValue = null, u.bookmarkValue = null, u.hyperlinkValue = null, u.toolTipValue = null, u.guid = null, e.engine.addContainerToDestination(f)), S = new F, S.name = "TAG##" + e.engine.columnsOnPanel.currentColumn.toString(), S.top = e.engine.positionY, S.height = e.engine.positionBottomY - e.engine.positionY, S.left = (e.engine.columnsOnPanel.currentColumn - 1) * a.getColumnWidth(), S.width = a.columns > 0 ? a.getColumnWidth() : a.width, S.tagValue = a.tagValue, S.bookmarkValue = a.bookmarkValue, S.hyperlinkValue = a.hyperlinkValue, S.toolTipValue = a.toolTipValue, S.guid = a.guid, a.tagValue = null, a.bookmarkValue = null, a.hyperlinkValue = null, a.toolTipValue = null, e.engine.addContainerToDestination(S) } I.label = 7; case 7: return [4, r.StiPageHelper.renderPageAsync(a)]; case 8: I.sent(), I.label = 9; case 9: return l++, [3, 4]; case 10: return [3, 13]; case 11: return A = I.sent(), t.System.StiError.showError(A, !1), [3, 13]; case 12: return a.enabled = s, [7]; case 13: return e.engine.processLastPageAfterRendering(), y = null, w = { ref: y }, e.engine.renderFootersOnAllPages(null, 0, w), y = w.ref, e.engine.renderPrintAtBottom(null, 0, null), [4, e.engine.renderEmptyBandsAsync(e.engine.containerForRender, null)]; case 14: I.sent(), e.engine.emptyBands.clear(), i++, I.label = 15; case 15: return o = n.next(), [3, 2]; case 16: return [3, 19]; case 17: return b = I.sent(), C = { error: b }, [3, 19]; case 18: try { o && !o.done && (E = n.return) && E.call(n) } finally { if (C) throw C.error } return [7]; case 19: return e.engine.invokePageAfterPrint(), P.renderTable(e), [4, e.engine.finalClearAsync()]; case 20: return I.sent(), [3, 22]; case 21: return v = I.sent(), t.System.StiError.showError(v, !1), e.engine.pageNumbers.pageNumbers.removeAt(e.engine.pageNumbers.pageNumbers.count - 1), [3, 22]; case 22: return [2] } }) }) } , P.renderReport = function(e, i, n) { var o, a, s, l; try { var u = 0; try { for (var c = __values(e.pages.list), m = c.next(); !m.done; m = c.next()) { var p = m.value , d = p.enabled; try { if (e.engine.templatePage = p, e.engine.templateContainer = p, e.currentPrintPage++, p.skip || (p.invokeBeforePrint(p, h.empty), e.engine.skipFirstPageBeforePrintEvent = !0), e.currentPrintPage--, !p.enabled || p.skip) { p.skip || (e.engine.skipFirstPageBeforePrintEvent = !1, p.invokeAfterPrint(p, h.empty)); continue } null != e.engine.masterEngine && (e.engine.masterEngine.templatePage = p, e.engine.masterEngine.templateContainer = p); for (var g = 0; g < p.numberOfCopies; g++) { if (e.pageCopyNumber = g + 1, g > 0 && (p.pageInfo.renderedCount = 0), p.pageInfo.indexOfStartRenderedPages = e.renderedPages.count, p.parentBookmark = p.report.bookmark, p.currentBookmark = p.parentBookmark, 0 != e.renderedPages.count && p.printOnPreviousPage) { if (p.printOnPreviousPage && 0 != u) { var f = e.renderedPages.getByIndex(e.renderedPages.count - 1) , S = null , A = "TAG##" + e.engine.columnsOnPanel.currentColumn.toString(); try { for (var y = (s = void 0, __values(f.components.list)), w = y.next(); !w.done; w = y.next()) { var b = w.value; b.name == A && (S = b.stimulsoft.as(F)) } } catch (t) { s = { error: t } } finally { try { w && !w.done && (l = y.return) && l.call(y) } finally { if (s) throw s.error } } if (null != S) S.height = e.engine.positionY - S.top; else { var v = new F; v.name = "TAG##" + e.engine.columnsOnPanel.currentColumn.toString(), v.top = 0, v.height = e.engine.positionY, v.left = (e.engine.columnsOnPanel.currentColumn - 1) * f.getColumnWidth(), v.width = f.columns > 0 ? f.getColumnWidth() : f.width, v.tagValue = f.tagValue, v.bookmarkValue = f.bookmarkValue, v.hyperlinkValue = f.hyperlinkValue, v.toolTipValue = f.toolTipValue, v.guid = f.guid, f.tagValue = null, f.bookmarkValue = null, f.hyperlinkValue = null, f.toolTipValue = null, f.guid = null, e.engine.addContainerToDestination(v) } var C = new F; C.name = "TAG##" + e.engine.columnsOnPanel.currentColumn.toString(), C.top = e.engine.positionY, C.height = e.engine.positionBottomY - e.engine.positionY, C.left = (e.engine.columnsOnPanel.currentColumn - 1) * p.getColumnWidth(), C.width = p.columns > 0 ? p.getColumnWidth() : p.width, C.tagValue = p.tagValue, C.bookmarkValue = p.bookmarkValue, C.hyperlinkValue = p.hyperlinkValue, C.toolTipValue = p.toolTipValue, C.guid = p.guid, p.tagValue = null, p.bookmarkValue = null, p.hyperlinkValue = null, p.toolTipValue = null, e.engine.addContainerToDestination(C) } } else e.engine.firstCallNewPage = !0, e.engine.newPage(); r.StiPageHelper.renderPage(p) } } catch (e) { t.System.StiError.showError(e, !1) } finally { p.enabled = d } e.engine.processLastPageAfterRendering(); var E = null , B = { ref: E }; e.engine.renderFootersOnAllPages(null, 0, B), E = B.ref, e.engine.renderPrintAtBottom(null, 0, null), e.engine.renderEmptyBands(e.engine.containerForRender, null), e.engine.emptyBands.clear(), u++ } } catch (t) { o = { error: t } } finally { try { m && !m.done && (a = c.return) && a.call(c) } finally { if (o) throw o.error } } e.engine.invokePageAfterPrint(), P.renderTable(e), e.engine.finalClear() } catch (r) { t.System.StiError.showError(r, !1), e.engine.pageNumbers.pageNumbers.removeAt(e.engine.pageNumbers.pageNumbers.count - 1) } } , P.renderTable = function(e) { var r, n, o, h, d, g, f, S, A, y, w, v, C, E, B, T, I, x, F, D; if (!e.containsTables) return; var R = new b , P = new b , N = new b , k = [] , M = .2; try { for (var O = __values(e.renderedPages.list), _ = O.next(); !_.done; _ = O.next()) { var L = _.value; M = L.gridSize; for (var j = new b, H = new b, G = [], Q = L.getComponents(), Y = 0; Y < Q.count; Y++) { var U = Q.getByIndex(Y).stimulsoft.as(m); if (null != U) { var J = null , W = U.tableTag; if (W.autoWidth == c.None) continue; if (W.autoWidth == c.Table) if (R.containsKey(W) ? J = R.get(W) : (J = new b, R.add(W, J), k.add(W)), N.containsKey(W.name)) N.get(W.name).contains(L) || N.get(W.name).add(L); else { var V = []; V.add(L), N.add(W.name, V) } else j.containsKey(W) ? J = j.get(W) : (J = new b, j.add(W, J), G.add(W)); if (!J.containsKey(U.column)) { var z = []; J.add(U.column, z) } J.get(U.column).add(U) } } try { for (var X = (o = void 0, __values(j.values)), K = X.next(); !K.done; K = X.next()) { for (var Z = K.value, q = new u(Z.count), $ = 0; $ < Z.count; $++) { var tt = Z.get($); if (null == tt) continue; var et = 0; try { for (var rt = (d = void 0, __values(tt)), it = rt.next(); !it.done; it = rt.next()) { var nt = it.value; if (nt.fixedWidth) { q.setFixedColumn($, nt.width), et = -1; break } switch (nt.cellType) { case l.CheckBox: case l.RichText: nt.width > et && (et = nt.width); break; case l.Image: var ot = nt.stimulsoft.as(s) , at = ot.canShrink; ot.canShrink = !0; var st = ot.getRealSize().width; ot.canShrink = at, st > et && (et = st); break; case l.Text: var lt = nt; if (lt.wordWrap) lt.width > et && (et = lt.width); else if (!i.isNullOrEmpty(lt.text)) { var ut = t.System.Drawing.Graphics.measureString(lt.text, lt.font) , ct = lt.margins.left + lt.margins.right , mt = e.unit.convertFromHInches(ut.width + ct); mt > et && (et = mt) } break } } } catch (t) { d = { error: t } } finally { try { it && !it.done && (g = rt.return) && g.call(rt) } finally { if (d) throw d.error } } -1 != et && q.setWidth($, et) } var pt = Z.get(0); H.add(pt[0].tableTag, q) } } catch (t) { o = { error: t } } finally { try { K && !K.done && (h = X.return) && h.call(X) } finally { if (o) throw o.error } } for (var ht = 0; ht < G.length; ht++) { var W = G[ht].stimulsoft.as(p); if (null == W) continue; for (var dt = H.get(W), gt = 0, ft = 0; ft < dt.length; ft++) gt += dt.getWidth(ft); switch (W.autoWidthType) { case a.None: if (L.width < gt) { var St = Math.trunc(gt / L.width + 1); L.segmentPerWidth = St } break; case a.FullTable: if (gt < W.width) { var At = W.width - gt; At /= dt.getCountNotFixedColumn(); for (var yt = 0; yt < dt.length; yt++) dt.add(yt, At) } if (gt > W.width) { var wt = gt - W.width; wt /= dt.getCountNotFixedColumn(); for (var yt = 0; yt < dt.length; yt++) dt.subtract(yt, wt) } break; case a.LastColumns: var bt = Math.abs(W.width - gt) , vt = dt.length - 1 , Ct = !1 , Et = 3 * M; if (gt > W.width) while (!Ct) if (dt.getFixed(vt)) 0 == vt ? Ct = !0 : vt--; else if (dt.getWidth(vt) - Et < bt) { var Bt = dt.getWidth(vt) - Et; dt.subtract(vt, Bt), bt -= Bt, 0 == vt ? Ct = !0 : vt-- } else dt.subtract(vt, bt), Ct = !0; else dt.addLastNotFixed(bt); break } } try { for (var Tt = (f = void 0, __values(j.keys)), It = Tt.next(); !It.done; It = Tt.next()) { var xt = It.value , Z = j.get(xt) , q = H.get(xt); q.normalize(); for (var Ft = 0, $ = 0; $ < Z.count; $++) { var tt = Z.get($); if (null == tt) return; try { for (var Dt = (A = void 0, __values(tt)), Rt = Dt.next(); !Rt.done; Rt = Dt.next()) { var nt = Rt.value; nt.width = q.getWidth($), nt.left = Ft } } catch (t) { A = { error: t } } finally { try { Rt && !Rt.done && (y = Dt.return) && y.call(Dt) } finally { if (A) throw A.error } } Ft += q.getWidth($) } } } catch (t) { f = { error: t } } finally { try { It && !It.done && (S = Tt.return) && S.call(Tt) } finally { if (f) throw f.error } } } } catch (t) { r = { error: t } } finally { try { _ && !_.done && (n = O.return) && n.call(O) } finally { if (r) throw r.error } } if (k.length > 0) { try { for (var Pt = __values(R.values), Nt = Pt.next(); !Nt.done; Nt = Pt.next()) { for (var Z = Nt.value, q = new u(Z.count), $ = 0; $ < Z.count; $++) { var tt = Z.get($); if (null == tt) continue; var et = 0; try { for (var kt = (C = void 0, __values(tt)), Mt = kt.next(); !Mt.done; Mt = kt.next()) { var nt = Mt.value; if (nt.fixedWidth) { q.setFixedColumn($, nt.width), et = -1; break } switch (nt.cellType) { case l.CheckBox: case l.RichText: nt.width > et && (et = nt.width); break; case l.Image: var ot = nt.stimulsoft.as(s) , at = ot.canShrink; ot.canShrink = !0; var st = ot.getRealSize().width; ot.canShrink = at, st > et && (et = st); break; case l.Text: var lt = nt; if (lt.wordWrap) lt.width > et && (et = lt.width); else if (!i.isNullOrEmpty(lt.text)) { var ut = t.System.Drawing.Graphics.measureString(lt.text, lt.font) , ct = lt.margins.left + lt.margins.right , mt = e.unit.convertFromHInches(ut.width + ct); mt > et && (et = mt) } break } } } catch (t) { C = { error: t } } finally { try { Mt && !Mt.done && (E = kt.return) && E.call(kt) } finally { if (C) throw C.error } } -1 != et && q.setWidth($, et) } var pt = Z.get(0); P.add(pt[0].tableTag, q) } } catch (t) { w = { error: t } } finally { try { Nt && !Nt.done && (v = Pt.return) && v.call(Pt) } finally { if (w) throw w.error } } for (var ht = 0; ht < k.length; ht++) { var W = k[ht].stimulsoft.as(p); if (null == W) continue; for (var dt = P.get(W), gt = 0, ft = 0; ft < dt.length; ft++) gt += dt.getWidth(ft); switch (W.autoWidthType) { case a.None: var Ot = N.get(W.name); if (null != Ot && Ot[0].width < gt) { var St = Math.trunc(gt / Ot[0].width) + 1; try { for (var _t = (B = void 0, __values(Ot)), Lt = _t.next(); !Lt.done; Lt = _t.next()) { Lt.value.segmentPerWidth = St } } catch (t) { B = { error: t } } finally { try { Lt && !Lt.done && (T = _t.return) && T.call(_t) } finally { if (B) throw B.error } } } break; case a.FullTable: if (gt < W.width) { var At = W.width - gt; At /= dt.getCountNotFixedColumn(); for (var yt = 0; yt < dt.length; yt++) dt.add(yt, At) } if (gt > W.width) { var wt = gt - W.width; wt /= dt.getCountNotFixedColumn(); for (var yt = 0; yt < dt.length; yt++) dt.subtract(yt, wt) } break; case a.LastColumns: var bt = Math.abs(W.width - gt) , vt = dt.length - 1 , Ct = !1 , Et = 3 * M; if (gt > W.width) while (!Ct) if (dt.getFixed(vt)) 0 == vt ? Ct = !0 : vt--; else if (dt.getWidth(vt) - Et < bt) { var Bt = dt.getWidth(vt) - Et; dt.subtract(vt, Bt), bt -= Bt, 0 == vt ? Ct = !0 : vt-- } else dt.subtract(vt, bt), Ct = !0; else dt.addLastNotFixed(bt); break } } try { for (var jt = __values(R.keys), Ht = jt.next(); !Ht.done; Ht = jt.next()) { var xt = Ht.value , Z = R.get(xt) , q = P.get(xt); q.normalize(); for (var Ft = 0, $ = 0; $ < Z.count; $++) { var tt = Z.get($); if (null == tt) return; try { for (var Gt = (F = void 0, __values(tt)), Qt = Gt.next(); !Qt.done; Qt = Gt.next()) { var nt = Qt.value; nt.width = q.getWidth($), nt.left = Ft } } catch (t) { F = { error: t } } finally { try { Qt && !Qt.done && (D = Gt.return) && D.call(Gt) } finally { if (F) throw F.error } } Ft += q.getWidth($) } } } catch (t) { I = { error: t } } finally { try { Ht && !Ht.done && (x = jt.return) && x.call(jt) } finally { if (I) throw I.error } } } } , P.finishProgressForm = function(t) { t.reportPass, e.StiReportPass.First } , P }(); r.StiRenderProvider = P }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e, r, i, n) { void 0 === t && (t = -1), void 0 === e && (e = 1), void 0 === r && (r = !0), void 0 === i && (i = !0), void 0 === n && (n = !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 && (i = !1), this._showProgress = r, this._destroyPagesWhichNotInRange = i, this._renderOnlyPagesFromRange = n } return Object.defineProperty(t.prototype, "fromPage", { get: function() { return this._fromPage }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "toPage", { get: function() { return this._toPage }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "showProgress", { get: function() { return this._showProgress }, set: function(t) { this._showProgress = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isSubReportMode", { get: function() { return this._isSubReportMode }, set: function(t) { this._isSubReportMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "destroyPagesWhichNotInRange", { get: function() { return this._destroyPagesWhichNotInRange }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "renderOnlyPagesFromRange", { get: function() { return this._renderOnlyPagesFromRange }, enumerable: !0, configurable: !0 }), t }(); t.StiRenderState = e }(e = t.Engine || (t.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiComponentsCollection , i = function() { 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 } return Object.defineProperty(i.prototype, "reservedFreeSpace", { get: function() { return this._reservedFreeSpace }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "reservedCrossFreeSpace", { get: function() { return this._reservedCrossFreeSpace }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "reservedPositionX", { get: function() { return this._reservedPositionX }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "reservedPositionY", { get: function() { return this._reservedPositionY }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "reservedPositionBottomY", { get: function() { return this._reservedPositionBottomY }, enumerable: !0, configurable: !0 }), i.prototype.renderAsync = function() { return __awaiter(this, void 0, void 0, function() { var t; return __generator(this, function(r) { switch (r.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 r.sent(), [3, 4]; case 2: return [4, this.renderHeaderBeforeTitleAsync()]; case 3: r.sent(), r.label = 4; case 4: return this.engine.denyRenderMasterComponentsInContainer = !0, [4, e.StiPageHelper.renderSimpleComponentsAsync(this.engine.templatePage, this.engine.containerForRender)]; case 5: r.sent(), this.engine.denyRenderMasterComponentsInContainer = !1, r.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), t = this.engine.containerForRender.getDockRegion(this.engine.containerForRender, !1), this.engine.crossFreeSpace = t.width, this.engine.freeSpace = t.height, this.engine.columnsOnPanel.count > 1 && 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), [2] } }) }) } , i.prototype.render = function() { this.engine.threads.isActive || this.engine.denyChangeThread || (this.engine.templatePage.titleBeforeHeader ? this.renderTitleBeforeHeader() : this.renderHeaderBeforeTitle(), this.engine.denyRenderMasterComponentsInContainer = !0, e.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, this.engine.columnsOnPanel.count > 1 && 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 t, e, r, t; return __generator(this, function(i) { switch (i.label) { case 0: if (this.denyReportBands) return [3, 2]; return t = this.denyReportBands, e = this.denyPageBands, this.denyPageBands = !0, this.denyReportBands = !0, [4, this.renderReportTitleBandsAsync()]; case 1: i.sent(), this.denyPageBands = e, this.denyReportBands = t, i.label = 2; case 2: if (this.denyPageBands) return [3, 5]; return r = this.denyPageBands, t = this.denyReportBands, this.denyPageBands = !0, this.denyReportBands = !0, [4, this.renderPageHeaderBandsAsync()]; case 3: return i.sent(), [4, this.renderPageFooterBandsAsync()]; case 4: i.sent(), this.denyPageBands = r, this.denyReportBands = t, i.label = 5; case 5: return [2] } }) }) } , i.prototype.renderTitleBeforeHeader = function() { if (!this.denyReportBands) { var t = this.denyReportBands , e = this.denyPageBands; this.denyPageBands = !0, this.denyReportBands = !0, this.renderReportTitleBands(), this.denyPageBands = e, this.denyReportBands = t } if (!this.denyPageBands) { var r = this.denyPageBands , t = this.denyReportBands; this.denyPageBands = !0, this.denyReportBands = !0, this.renderPageHeaderBands(), this.renderPageFooterBands(), this.denyPageBands = r, this.denyReportBands = t } } , i.prototype.renderHeaderBeforeTitleAsync = function() { return __awaiter(this, void 0, void 0, function() { var t, e; return __generator(this, function(r) { switch (r.label) { case 0: if (this.denyPageBands) return [3, 3]; return t = this.denyPageBands, e = this.denyReportBands, this.denyPageBands = !0, [4, this.renderPageHeaderBandsAsync()]; case 1: return r.sent(), [4, this.renderPageFooterBandsAsync()]; case 2: r.sent(), this.denyPageBands = t, r.label = 3; case 3: return [2] } }) }) } , i.prototype.renderHeaderBeforeTitle = function() { if (!this.denyPageBands) { var 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, i, n, o, a, s; return __generator(this, function(l) { switch (l.label) { case 0: if (this.engine.templatePage.pageInfo.isReportTitlesRendered) return [2]; l.label = 1; case 1: l.trys.push([1, 6, 7, 8]), e = __values(this.engine.templatePage.components.list), r = e.next(), l.label = 2; case 2: if (r.done) return [3, 5]; if (i = r.value, null == (n = i.stimulsoft.as(t.Report.Components.StiReportTitleBand))) return [3, 4]; return n.parentBookmark = this.engine.containerForRender.currentBookmark, n.doBookmark(), [4, this.engine.renderBandAsync(n)]; case 3: l.sent(), l.label = 4; case 4: return r = e.next(), [3, 2]; case 5: return [3, 8]; case 6: return o = l.sent(), a = { error: o }, [3, 8]; case 7: try { r && !r.done && (s = e.return) && s.call(e) } finally { if (a) throw a.error } return [7]; case 8: return this.engine.templatePage.pageInfo.isReportTitlesRendered = !0, [2] } }) }) } , i.prototype.renderReportTitleBands = function() { var e, r; if (this.engine.templatePage.pageInfo.isReportTitlesRendered) return; try { for (var i = __values(this.engine.templatePage.components.list), n = i.next(); !n.done; n = i.next()) { var o = n.value , a = o.stimulsoft.as(t.Report.Components.StiReportTitleBand); null != a && (a.parentBookmark = this.engine.containerForRender.currentBookmark, a.doBookmark(), this.engine.renderBand(a)) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } 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, i, n, o, a, s, l; return __generator(this, function(u) { switch (u.label) { case 0: e = this.getPageHeaders(), u.label = 1; case 1: u.trys.push([1, 6, 7, 8]), r = __values(e.list), i = r.next(), u.label = 2; case 2: if (i.done) return [3, 5]; if (n = i.value, null == (o = n.stimulsoft.as(t.Report.Components.StiPageHeaderBand))) return [3, 4]; return o.parentBookmark = this.engine.containerForRender.currentBookmark, o.doBookmark(), [4, this.engine.renderBandAsync(o)]; case 3: u.sent(), u.label = 4; case 4: return i = r.next(), [3, 2]; case 5: return [3, 8]; case 6: return a = u.sent(), s = { error: a }, [3, 8]; case 7: try { i && !i.done && (l = r.return) && l.call(r) } finally { if (s) throw s.error } return [7]; case 8: return [2] } }) }) } , i.prototype.renderPageHeaderBands = function() { var e, r, i = this.getPageHeaders(); try { for (var n = __values(i.list), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = a.stimulsoft.as(t.Report.Components.StiPageHeaderBand); null != s && (s.parentBookmark = this.engine.containerForRender.currentBookmark, s.doBookmark(), this.engine.renderBand(s)) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } } , i.prototype.renderPageFooterBandsAsync = function() { return __awaiter(this, void 0, void 0, function() { var e, r, i, n, o, a, s, l; return __generator(this, function(u) { switch (u.label) { case 0: e = this.getPageFooters(), u.label = 1; case 1: u.trys.push([1, 6, 7, 8]), r = __values(e.list), i = r.next(), u.label = 2; case 2: if (i.done) return [3, 5]; if (n = i.value, null == (o = n.stimulsoft.as(t.Report.Components.StiPageFooterBand))) return [3, 4]; return o.parentBookmark = this.engine.containerForRender.currentBookmark, o.doBookmark(), [4, this.engine.renderBandAsync(o)]; case 3: u.sent(), u.label = 4; case 4: return i = r.next(), [3, 2]; case 5: return [3, 8]; case 6: return a = u.sent(), s = { error: a }, [3, 8]; case 7: try { i && !i.done && (l = r.return) && l.call(r) } finally { if (s) throw s.error } return [7]; case 8: return [2] } }) }) } , i.prototype.renderPageFooterBands = function() { var e, r, i = this.getPageFooters(); try { for (var n = __values(i.list), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = a.stimulsoft.as(t.Report.Components.StiPageFooterBand); null != s && (s.parentBookmark = this.engine.containerForRender.currentBookmark, s.doBookmark(), this.engine.renderBand(s)) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } } , i.prototype.getPageHeaders = function() { var t = new r , e = this.engine.report.pages.indexOf(this.engine.templatePage) , i = e; while (i >= 0) { var n = this.engine.report.pages.getByIndex(i); if (!n.printHeadersFootersFromPreviousPage) break; i-- } i <= -1 && (i = 0); for (var o = i; o <= e; o++) { var n = this.engine.report.pages.getByIndex(o); t.addRange(this.getPageHeadersFromPage(n)) } return t } , i.prototype.getPageFooters = function() { var t = new r , e = this.engine.report.pages.indexOf(this.engine.templatePage) , i = e; while (i >= 0) { var n = this.engine.report.pages.getByIndex(i); if (!n.printHeadersFootersFromPreviousPage) break; i-- } i <= -1 && (i = 0); for (var o = i; o <= e; o++) { var n = this.engine.report.pages.getByIndex(o); t.addRange(this.getPageFootersFromPage(n)) } return t } , i.prototype.getPageHeadersFromPage = function(e) { var i, n, o = new r; try { for (var a = __values(e.components.list), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = l.stimulsoft.as(t.Report.Components.StiPageHeaderBand); null != u && o.add(u) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } return o } , i.prototype.getPageFootersFromPage = function(e) { var i, n, o = new r; try { for (var a = __values(e.components.list), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = l.stimulsoft.as(t.Report.Components.StiPageFooterBand); null != u && o.add(u) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } return o } , i }(); e.StiStaticBandsHelper = i }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiContainer , i = t.Report.Components.StiPage , n = function() { function t(t) { this.isActive = !1, this.currentPage = -1, this.currentColumn = -1, this.destinationName = null, this.engine = null, this.engine = t } return t.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.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] } }) }) } , t.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()) } , t.prototype.selectThreadFromContainerAsync = function(t) { return __awaiter(this, void 0, void 0, function() { var r, n, o, a; return __generator(this, function(s) { switch (s.label) { case 0: if (this.engine.denyChangeThread) return [2]; if (r = null, n = null, n = null != t.containerInfo.parentBand ? t.containerInfo.parentBand.parent : t.parent, r = n.name, n.stimulsoft.is(i)) return null != this.engine.masterEngine && (this.engine.report.engine = this.engine.masterEngine), [2]; if (o = null == this.engine.masterEngine ? this.engine : this.engine.masterEngine, a = o.slaveEngines.get(r), null != a && (a = a.stimulsoft.as(e.StiEngine)), null != a) return [3, 2]; return [4, o.threads.createContainerEngineAsync(r, this.engine.report, o, null != o.page ? o.page.pageInfo.indexOfStartRenderedPages : 0)]; case 1: a = s.sent(), o.slaveEngines.set(r, a), a.printOnAllPagesIgnoreList = o.printOnAllPagesIgnoreList, s.label = 2; case 2: return this.engine.report.engine = a, [2] } }) }) } , t.prototype.selectThreadFromContainer = function(t) { if (this.engine.denyChangeThread) return; var r = null , n = null; if (n = null != t.containerInfo.parentBand ? t.containerInfo.parentBand.parent : t.parent, r = n.name, n.stimulsoft.is(i)) return void (null != this.engine.masterEngine && (this.engine.report.engine = this.engine.masterEngine)); var o = null == this.engine.masterEngine ? this.engine : this.engine.masterEngine , a = o.slaveEngines.get(r); null != a && (a = a.stimulsoft.as(e.StiEngine)), null == a && (a = o.threads.createContainerEngine(r, this.engine.report, o, null != o.page ? o.page.pageInfo.indexOfStartRenderedPages : 0), o.slaveEngines.set(r, a), a.printOnAllPagesIgnoreList = o.printOnAllPagesIgnoreList), this.engine.report.engine = a } , t.prototype.createContainerEngineAsync = function(t, r, i, n) { return __awaiter(this, void 0, void 0, function() { var o; return __generator(this, function(a) { switch (a.label) { case 0: return o = new e.StiEngine(r), o.masterEngine = i, o.threads.isActive = !0, o.threads.currentPage = n, o.threads.currentColumn = 1, o.threads.destinationName = t, o.templatePage = r.engine.templatePage, o.templateContainer = o.threads.getTemplateContainer(), o.parserConversionStore = r.engine.parserConversionStore.clone(), -1 != n && (o.containerForRender = o.threads.getDestinationContainer()), [4, o.newListAsync()]; case 1: return a.sent(), -1 == n && (o.freeSpace = 1e11), [2, o] } }) }) } , t.prototype.createContainerEngine = function(t, r, i, n) { var o = new e.StiEngine(r); return o.masterEngine = i, o.threads.isActive = !0, o.threads.currentPage = n, o.threads.currentColumn = 1, o.threads.destinationName = t, o.templatePage = r.engine.templatePage, o.templateContainer = o.threads.getTemplateContainer(), o.parserConversionStore = r.engine.parserConversionStore.clone(), -1 != n && (o.containerForRender = o.threads.getDestinationContainer()), o.newList(), -1 == n && (o.freeSpace = 1e11), o } , t.prototype.getTemplateContainer = function(t, e) { var i, n; void 0 === t && (t = this.engine.templatePage), void 0 === e && (e = this.destinationName); try { for (var o = __values(t.components.list), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s.stimulsoft.as(r); if (null == l) continue; if (l.name == e) return l; var u = this.getTemplateContainer(l, e); if (null != u) return u } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } return null } , t.prototype.getDestinationContainer = function() { var t = null; return 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), this.getDestinationContainer2(t, this.destinationName, this.currentColumn) } , t.prototype.getDestinationContainer2 = function(t, e, i) { var n, o; try { for (var a = __values(t.components.list), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = l.stimulsoft.as(r); if (null == u) continue; if (u.name == e && u.containerInfo.renderStep == i) return u; var c = this.getDestinationContainer2(u, e, i); if (null != c) return c } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } return null } , t }(); e.StiThreads = n }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Report.Dictionary.StiDataSourceParserHelper , n = t.Report.Dictionary.StiDataLeader , o = t.Report.Dictionary.StiSqlSource , a = t.System.StiString , s = t.Report.Engine.StiAsmCommandType , l = t.System.Collections.Hashtable , u = t.Report.Dictionary.StiRangeDialogInfoItem , c = t.Report.Dictionary.StiLongDialogInfoItem , m = t.Report.Dictionary.StiLongDialogInfoItem , p = t.Report.Dictionary.StiDoubleDialogInfoItem , h = t.Report.Dictionary.StiDecimalDialogInfoItem , d = t.Report.Dictionary.StiDateTimeDialogInfoItem , g = t.Report.Dictionary.StiTimeSpanDialogInfoItem , f = t.Report.Dictionary.StiBoolDialogInfoItem , S = t.Report.Dictionary.StiCharDialogInfoItem , A = t.Report.Dictionary.StiGuidDialogInfoItem , y = t.Report.Components.StiText , w = function() { function r() {} return r.fillItemsOfVariables = function(t) { var e, r, i = !1; try { for (var n = __values(t.dictionary.variables.list), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = { ref: i }; if (this.fillItemsOfVariables2(a, t, s)) break; i = s.ref } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return i } , r.fillItemsOfVariables2 = function(e, r, i) { var n, o, s, y, w, b; if (null == e.dialogInfo) return !1; if (e.dialogInfo.itemsInitializationType == t.Report.Dictionary.StiItemsInitializationType.Items) { if (r.isPreviewDialogs) return !1; var v = e.dialogInfo.getDialogInfoItems(e.type); if (null != v && v.length > 0) { var C = r.getVariable(e.name, !0); if (null == C) return !1; var E = C.stimulsoft.as(Array); if (null == E) return !1; if (E.length > 0) return !0; E.clear(), i.ref = !0; try { for (var B = __values(v), T = B.next(); !T.done; T = B.next()) { var I = T.value; try { E.add(I.keyObject) } catch (t) {} } } catch (t) { n = { error: t } } finally { try { T && !T.done && (o = B.return) && o.call(B) } finally { if (n) throw n.error } } } } else { if (null != e.dialogInfo.keys && e.dialogInfo.keys.length > 0 || null != e.dialogInfo.values && e.dialogInfo.values.length > 0) return !1; var x = a.isNullOrEmpty(e.dialogInfo.keysColumn) ? null : t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(r.dictionary, e.dialogInfo.keysColumn); if (("BoolList" == e.type.stimulsoft.getTypeName() || "ByteList" == e.type.stimulsoft.getTypeName() || "CharList" == e.type.stimulsoft.getTypeName() || "DateTimeList" == e.type.stimulsoft.getTypeName() || "DecimalList" == e.type.stimulsoft.getTypeName() || "DoubleList" == e.type.stimulsoft.getTypeName() || "FloatList" == e.type.stimulsoft.getTypeName() || "GuidList" == e.type.stimulsoft.getTypeName() || "IntList" == e.type.stimulsoft.getTypeName() || "LongList" == e.type.stimulsoft.getTypeName() || "ShortList" == e.type.stimulsoft.getTypeName() || "StringList" == e.type.stimulsoft.getTypeName() || "TimeSpanList" == e.type.stimulsoft.getTypeName()) && null != x && x.length > 0) { var E = r.getVariable(e.name); null == E && (E = [], r.setVariable(e.name, E)), E.clear(), i.ref = !0; try { for (var F = __values(x), D = F.next(); !D.done; D = F.next()) { var R = D.value; try { E.add(R) } catch (t) {} } } catch (t) { s = { error: t } } finally { try { D && !D.done && (y = F.return) && y.call(F) } finally { if (s) throw s.error } } } var P = a.isNullOrEmpty(e.dialogInfo.valuesColumn) ? null : t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(r.dictionary, e.dialogInfo.valuesColumn) , N = a.isNullOrEmpty(e.dialogInfo.bindingValuesColumn) ? null : t.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(r.dictionary, e.dialogInfo.bindingValuesColumn); null == x && (x = []), null == P && (P = []), null == N && (N = []); for (var k = Math.max(x.length, P.length), v = [], M = e.type, O = 0; O < k; O++) { var R = x.length > O ? x[O] : null , _ = P.length > O ? P[O].toString() : "" , L = N.length > O ? N[O] : null , I = null; M == t.System.StimulsoftByteList || M == t.System.StimulsoftShortList || M == t.System.StimulsoftIntList || M == t.System.StimulsoftLongList || M == t.System.Byte || M == t.System.Short || M == t.System.Int || M == t.System.Int16 || M == t.System.Int32 || M == t.System.Int64 || M == t.System.Long || M == t.System.NullableByte || M == t.System.NullableShort || M == t.System.NullableInt || M == t.System.NullableLong ? I = new c : M == t.System.StimulsoftStringList || M == String ? I = new m : M == t.System.StimulsoftDoubleList || M == t.System.StimulsoftFloatList || M == t.System.Double || M == t.System.Float || M == t.System.NullableDouble || M == t.System.NullableFloat ? I = new p : M == t.System.StimulsoftDecimalList || M == t.System.Decimal || M == t.System.NullableDecimal ? I = new h : M == t.System.StimulsoftDateTimeList || M == t.System.DateTime || M == t.System.NullableDateTime ? I = new d : M == t.System.StimulsoftTimeSpanList || M == t.System.TimeSpan || M == t.System.NullableTimeSpan ? I = new g : M == t.System.StimulsoftBoolList || M == Boolean || M == t.System.NullableBoolean ? I = new f : M == t.System.StimulsoftCharList || M == t.System.Char || M == t.System.NullableChar ? I = new S : M != t.System.StimulsoftGuidList && M != t.System.Guid || (I = new A), null != R && (I.keyObject = R), I.value = _, I.valueBinding = L, v.add(I) } var j = [] , H = new l; try { for (var G = __values(v), Q = G.next(); !Q.done; Q = G.next()) { var I = Q.value; (null == H.get(I.keyObject) || I.stimulsoft.is(u)) && (H.set(I.keyObject, I.keyObject), j.add(I)) } } catch (t) { w = { error: t } } finally { try { Q && !Q.done && (b = G.return) && b.call(G) } finally { if (w) throw w.error } } var Y = e.dialogInfo.bindingValue ? v : j; e.dialogInfo.setDialogInfoItems(Y, e.type) } return !1 } , r.setDefaultValueForRequestFromUserVariables = function(r) { var i, n, o = new l, a = new y; a.name = "**VariableRequestFromUser**", r.pages.count > 0 && (a.page = r.pages.getByIndex(0)); var s = !1; try { for (var u = __values(r.dictionary.variables.list), c = u.next(); !c.done; c = u.next()) { var m = c.value , p = m.type.stimulsoft.getTypeName() , h = "ByteRange" == p || "CharRange" == p || "DateTimeRange" == p || "DecimalRange" == p || "DoubleRange" == p || "FloatRange" == p || "GuidRange" == p || "IntRange" == p || "LongRange" == p || "ShortRange" == p || "StringRange" == p || "TimeSpanRange" == p || "BoolList" == p || "ByteList" == p || "CharList" == p || "DateTimeList" == p || "DecimalList" == p || "DoubleList" == p || "FloatList" == p || "GuidList" == p || "IntList" == p || "LongList" == p || "ShortList" == p || "StringList" == p || "TimeSpanList" == p; if (m.requestFromUser && !h && (s = !0, !r.modifiedVariables.containsKey(m.name))) try { m.selection == t.Report.Dictionary.StiSelectionMode.FromVariable && m.initBy == t.Report.Dictionary.StiVariableInitBy.Expression && r.setVariable(m.name, t.Report.Engine.StiParser.StiParser.parseTextValue("{" + m.value + "}", a)), m.selection == t.Report.Dictionary.StiSelectionMode.First && null != m.dialogInfo.keys && m.dialogInfo.keys.length > 0 && r.setVariable(m.name, e.StiReport.changeType(m.dialogInfo.keys[0], m.type)) } catch (t) {} } } catch (t) { i = { error: t } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (i) throw i.error } } if (!s) return } , r.setDefaultValueForRequestFromUserVariablesAsync = function(r, a, s) { return void 0 === s && (s = !1), __awaiter(this, void 0, void 0, function() { var u, c, m, p, h, d, g, f, S, A, w, b, v, C, E, B, T, I, x = this; return __generator(this, function(F) { switch (F.label) { case 0: u = new l, c = new y, c.name = "**VariableRequestFromUser**", r.pages.count > 0 && (c.page = r.pages.getByIndex(0)); try { for (m = __values(r.dictionary.variables.list), p = m.next(); !p.done; p = m.next()) if (h = p.value, d = h.type.stimulsoft.getTypeName(), g = "ByteRange" == d || "CharRange" == d || "DateTimeRange" == d || "DecimalRange" == d || "DoubleRange" == d || "FloatRange" == d || "GuidRange" == d || "IntRange" == d || "LongRange" == d || "ShortRange" == d || "StringRange" == d || "TimeSpanRange" == d || "BoolList" == d || "ByteList" == d || "CharList" == d || "DateTimeList" == d || "DecimalList" == d || "DoubleList" == d || "FloatList" == d || "GuidList" == d || "IntList" == d || "LongList" == d || "ShortList" == d || "StringList" == d || "TimeSpanList" == d, h.requestFromUser && !g && (a = !0, !r.modifiedVariables.containsKey(h.name))) try { h.selection == t.Report.Dictionary.StiSelectionMode.FromVariable && h.initBy == t.Report.Dictionary.StiVariableInitBy.Expression && r.setVariable(h.name, t.Report.Engine.StiParser.StiParser.parseTextValue("{" + h.value + "}", c)), h.selection == t.Report.Dictionary.StiSelectionMode.First && null != h.dialogInfo.keys && h.dialogInfo.keys.length > 0 && r.setVariable(h.name, e.StiReport.changeType(h.dialogInfo.keys[0], h.type)) } catch (t) {} } catch (t) { E = { error: t } } finally { try { p && !p.done && (B = m.return) && B.call(m) } finally { if (E) throw E.error } } if (!a) return [2]; if (f = r.dictionary, null == S && (S = this.getDataSourcesWithRequestFromUserVariablesInCommand(r)), S.length <= 0) return [2]; A = function(t) { var e, r, a, l; return __generator(this, function(u) { switch (u.label) { case 0: e = f.dataSources.getByName(t), r = e.stimulsoft.as(o), a = null != r ? r.sqlCommand : null, u.label = 1; case 1: return u.trys.push([1, , 3, 4]), s && i.connectSqlSource(r), n.disconnect(e), l = function() { return __awaiter(x, void 0, void 0, function() { return __generator(this, function(t) { return [2, new Promise(function(t) { n.connectAsync(e, null).try(function() {}).finally(function() { t() }) } )] }) }) } , [4, l()]; case 2: return u.sent(), [3, 4]; case 3: return null != a && (r.sqlCommand = a), [7]; case 4: return [2] } }) } , F.label = 1; case 1: F.trys.push([1, 6, 7, 8]), w = __values(S), b = w.next(), F.label = 2; case 2: if (b.done) return [3, 5]; return v = b.value, [5, A(v)]; case 3: F.sent(), F.label = 4; case 4: return b = w.next(), [3, 2]; case 5: return [3, 8]; case 6: return C = F.sent(), T = { error: C }, [3, 8]; case 7: try { b && !b.done && (I = w.return) && I.call(w) } finally { if (T) throw T.error } return [7]; case 8: return f.regRelations2(), f.regRelations2(!0), [2] } }) }) } , r.getDataSourcesWithRequestFromUserVariablesInCommand = function(e) { var i, n, o, s, u, c, m = [], p = new l, h = new y; h.name = "**VariableRequestFromUser**", h.page = e.pages.getByIndex(0); try { for (var d = __values(e.dictionary.variables.list), g = d.next(); !g.done; g = d.next()) { var f = g.value; f.requestFromUser && p.set(f.name, null) } } catch (t) { i = { error: t } } finally { try { g && !g.done && (n = d.return) && n.call(d) } finally { if (i) throw i.error } } try { for (var S = __values(e.dictionary.dataSources.list), A = S.next(); !A.done; A = S.next()) { var w = A.value , b = w.stimulsoft.as(t.Report.Dictionary.StiSqlSource); if (null == b) continue; try { var v = null; if (null != e.variables) { var C = e.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**" + w.name); null != C && (v = C) } a.isNullOrWhiteSpace(v) && (v = b.sqlCommand); var E = r.checkExpressionForVariables(v, h, p); if (!E) try { for (var B = (u = void 0, __values(b.parameters.list)), T = B.next(); !T.done; T = B.next()) { var I = T.value; if (!a.isNullOrWhiteSpace(I.expression) && r.checkExpressionForVariables(I.expression, h, p)) { E = !0; break } } } catch (t) { u = { error: t } } finally { try { T && !T.done && (c = B.return) && c.call(B) } finally { if (u) throw u.error } } E && m.add(w.name) } catch (t) {} } } catch (t) { o = { error: t } } finally { try { A && !A.done && (s = S.return) && s.call(S) } finally { if (o) throw o.error } } return m } , r.checkExpressionForVariables = function(e, r, i) { var n, o; try { var a = t.Report.Engine.StiParser.StiParser.parseTextValue(e, r, r, { ref: !1 }, !1, !0); if (null != a && a.stimulsoft.is(Array)) try { for (var l = __values(a), u = l.next(); !u.done; u = l.next()) { var c = u.value; if (c.type == s.PushVariable) { var m = c.parameter1.toString(); if (i.containsKey(m)) return !0 } } } catch (t) { n = { error: t } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (n) throw n.error } } } catch (t) {} return !1 } , r }(); r.StiVariableHelper = w }(r = e.Engine || (e.Engine = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "AfterSelect" } , e }(t.StiEvent); t.StiAfterSelectEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "CheckedChanged" } , e }(t.StiEvent); t.StiCheckedChangedEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "ClosedForm" } , e }(t.StiEvent); t.StiClosedFormEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "ClosingForm" } , e }(t.StiEvent); t.StiClosingFormEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Enter" } , e }(t.StiEvent); t.StiEnterEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiExportEventHandler = new r("sender: any, e: StiExportEventArgs"); var n = function(t) { function e(e) { var r = t.call(this) || this; return r.exportFormat = e, r } return __extends(e, t), e }(i); e.StiExportEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Exported" } , e }(t.StiEvent); t.StiExportedEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Exporting" } , e }(t.StiEvent); t.StiExportingEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "FillData" } , e }(t.StiEvent); t.StiFillDataEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetArgument" } , e }(t.StiEvent); t.StiGetArgumentEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetBarCode" } , e }(t.StiEvent); t.StiGetBarCodeEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiGetDataUrlEventHandler = new r("sender: any, e: StiGetDataUrlEventArgs"); var n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiGetDataUrlEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiGetDrillDownReportEventHandler = new r("sender: any, e: StiGetDrillDownReportEventArgs"); var n = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.cancel = !1, e } return __extends(e, t), e }(i); e.StiGetDrillDownReportEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetFilter" } , e }(t.StiEvent); t.StiGetFilterEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "GetZipCode" } , e }(t.StiEvent); t.StiGetZipCodeEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiGotoCompEventHandler = new r("sender: any, e: StiGotoCompEventArgs"); var n = function(t) { function e(e) { var r = t.call(this) || this; return r.component = e, r } return __extends(e, t), e }(i); e.StiGotoCompEventArgs = n }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "LoadForm" } , e }(t.StiEvent); t.StiLoadFormEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "MouseDown" } , e }(t.StiEvent); t.StiMouseDownEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "MouseMove" } , e }(t.StiEvent); t.StiMouseMoveEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "MouseUp" } , e }(t.StiEvent); t.StiMouseUpEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "MoveFooterToBottom" } , e }(t.StiEvent); t.StiMoveFooterToBottomEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler , i = t.System.EventArgs; e.StiPaintEventHandler = new r("sender: any, e: StiPaintEventArgs"); var n = function(t) { function e(e, r) { var i = t.call(this) || this; return i.drawChilds = !0, i.cancel = !1, i.drawBorderFormatting = !0, i.drawTopmostBorderSides = !0, i.context = e, i.clipRectangle = r, i } return __extends(e, t), e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "graphics", { get: function() { return this.context }, enumerable: !0, configurable: !0 }), e }(i); e.StiPaintEventArgs = n }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "PositionChanged" } , e }(t.StiEvent); t.StiPositionChangedEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Printed" } , e }(t.StiEvent); t.StiPrintedEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "Printing" } , e }(t.StiEvent); t.StiPrintingEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.EventHandler; e.StiProcessExportEventHandler = new r("sender: any, e: StiProcessExportEventArgs"); var i = function(t) { function e(e, r, i, n) { var o = t.call(this, e) || this; return o.processed = !1, o.exportService = r, o.stream = i, o.exportSettings = n, o } return __extends(e, t), e }(e.StiExportEventArgs); e.StiProcessExportEventArgs = i }(r = e.Events || (e.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "ReportCacheProcessing" } , e }(t.StiEvent); t.StiReportCacheProcessingEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "SelectedIndexChanged" } , e }(t.StiEvent); t.StiSelectedIndexChangedEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "StateRestore" } , e }(t.StiEvent); t.StiStateRestoreEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "StateSave" } , e }(t.StiEvent); t.StiStateSaveEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.toString = function() { return "ValueChanged" } , e }(t.StiEvent); t.StiValueChangedEvent = e }(e = t.Events || (t.Events = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() { this.isStopped = !1, this.renderedPagesCount = 0, this.currentPassNumber = 0, this.maximumPassNumber = 0, this.exportServiceId = "" } return t.prototype.invokeExporting = function(t, e, r, i) {} , t.prototype.invokeExporting2 = function(t, e, r, i) {} , t }(); t.StiExportService = e }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.IO.StreamWriter , n = t.Base.Localization.StiLocalization , o = function(t) { function o() { var e = null !== t && t.apply(this, arguments) || this; return e.multipleFiles = !1, e } return __extends(o, t), Object.defineProperty(o.prototype, "defaultExtension", { get: function() { return "csv" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "exportFormat", { get: function() { return e.StiExportFormat.Csv }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "groupCategory", { get: function() { return "Data" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "position", { get: function() { return r.StiExportPosition.Data }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "exportNameInMenu", { get: function() { return n.get("Export", "ExportTypeCsvFile") }, enumerable: !0, configurable: !0 }), o.prototype.exportTo = function(t, e, i) { this.exportCsv(t, e, i.stimulsoft.as(r.StiDataExportSettings)) } , o.prototype.exportToAsync = function(t, e, r, i) { var n = this; setTimeout(function() { n.exportTo(e, r, i), t() }) } , Object.defineProperty(o.prototype, "getFilter", { get: function() { return n.get("FileFilters", "CsvFiles") }, enumerable: !0, configurable: !0 }), o.prototype.exportCsv = function(t, e, n) { if (null == n) throw new Error("The 'settings' argument cannot be equal in null."); var o = n.pageRange , a = n.separator , s = n.encoding , l = n.skipColumnHeaders , u = n.dataExportMode; "\\t" == a && (a = "\t"); var c = o.getSelectedPages(t.renderedPages); this.currentPassNumber = 0, this.maximumPassNumber = 3; var m = new r.StiMatrix(c,!1,this,null,u); if (m.scanComponentsPlacement(!1), this.isStopped) return; if (m.prepareDocument(this, u), this.writer = new i(e,s), !l) { for (var p = 0; p < m.fields.length; p++) { var h = m.fields[p].name.stimulsoft.replaceAll('"', '""'); -1 != h.indexOf(a) && (h = '"' + h + '"'), this.writer.write(h), p < m.fields.length - 1 && this.writer.write(a) } this.writer.writeLine("") } this.currentPassNumber = 2; for (var d = 0; d < m.dataArrayLength; d++) { if (this.invokeExporting2(d, m.dataArrayLength - 1, this.currentPassNumber, this.maximumPassNumber), this.isStopped) return; for (var p = 0; p < m.fields.length; p++) { var h = m.fields[p].dataArray[d]; null == h && (h = ""), "" != h && (-1 == h.indexOf(a) && -1 == h.indexOf('"') && -1 == h.indexOf("\n") || (h = h.stimulsoft.replaceAll('"', '""'), h = '"' + h + '"'), this.writer.write(h)), p < m.fields.length - 1 && this.writer.write(a) } this.writer.writeLine("") } this.writer.flush(), null != m && (m.clear(), m = null) } , o }(r.StiExportService); r.StiCsvExportService = o }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Localization.StiLocalization , n = function(t) { function n() { return null !== t && t.apply(this, arguments) || this } return __extends(n, t), Object.defineProperty(n.prototype, "defaultExtension", { get: function() { if (this.exportSettings.stimulsoft.is(r.StiDataExportSettings)) { var t = this.exportSettings.dataType; if (t == r.StiDataType.Dbf) return "dbf"; if (t == r.StiDataType.Dif) return "dif"; if (t == r.StiDataType.Sylk) return "slk"; if (t == r.StiDataType.Xml) return "xml"; if (t == r.StiDataType.Json) return "json" } return "csv" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "exportFormat", { get: function() { if (this.exportSettings.stimulsoft.is(r.StiCsvExportSettings)) return e.StiExportFormat.Csv; if (this.exportSettings.stimulsoft.is(r.StiDataExportSettings)) { var t = this.exportSettings.dataType; if (t == r.StiDataType.Csv) return e.StiExportFormat.Csv; if (t == r.StiDataType.Dbf) return e.StiExportFormat.Dbf; if (t == r.StiDataType.Dif) return e.StiExportFormat.Dif; if (t == r.StiDataType.Sylk) return e.StiExportFormat.Sylk; if (t == r.StiDataType.Xml) return e.StiExportFormat.Xml; if (t == r.StiDataType.Json) return e.StiExportFormat.Json } return e.StiExportFormat.Data }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "groupCategory", { get: function() { return "Data" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "position", { get: function() { return r.StiExportPosition.Data }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "exportNameInMenu", { get: function() { return i.get("Export", "ExportTypeDataFile") }, enumerable: !0, configurable: !0 }), n.prototype.exportTo = function(t, e, r) { this.exportData(t, e, r) } , Object.defineProperty(n.prototype, "multipleFiles", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), n.prototype.getFilter = function() { return i.get("FileFilters", "CsvFiles") } , n.prototype.exportData = function(t, e, i) { this.exportSettings = i; var n = null != i ? i.dataType : r.StiDataType.Csv; (new r.StiCsvExportService).exportCsv(t, e, i) } , n }(r.StiExportService); r.StiDataExportService = n }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.NodeJs , i = t.System.Xml.XmlTextWriter , n = t.System.Text.Encoding , o = t.System.Drawing.Image , a = t.System.Drawing.Imaging.ImageFormat , s = t.System.StiString , l = function() { function t() {} return t.getImage = function(t) { var l = new o; if (!r.useWebKit) return l; var u = document.createElement("canvas"); u.width = t.width, u.height = t.height; var c = new i(n.UTF8); e.StiSvgHelper.writeBarCode(c, t), c.flush(); var m = s.format('{2}', t.width, t.height, c.textWriter.getStringBuilder().toString()); canvg(u, m); var p = u.toDataURL(a.Jpeg.mimeType); return l.base64 = p, u.svg.stop(), l } , t }(); e.StiBarCodeSvgHelper = l }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.Drawing.StiGlareBrush , n = t.Base.Drawing.StiHatchBrush , o = t.Base.StiGuidUtils , a = t.System.Text.StringBuilder , s = t.Base.Drawing.StiGradientBrush , l = t.Base.Drawing.StiGlassBrush , u = function() { function t() {} return t.writeHatchBrush = function(t, e) { var i = e.stimulsoft.as(n) , s = i.foreColor , l = i.backColor , u = i.style; u > 53 && (u = 53); var c = r.format("hatch{0}", o.newGuid()); t.writeStartElement("pattern"), t.writeAttributeString("id", c), t.writeAttributeString("x", "0"), t.writeAttributeString("y", "0"), t.writeAttributeString("width", "8"), t.writeAttributeString("height", "8"), t.writeAttributeString("patternUnits", "userSpaceOnUse"); for (var m = new a, p = this.hatchData[u], h = 0; h < 16; h++) m.append(this.hexToByteString(p.substr(h, 1))); t.writeStartElement("rect"), t.writeAttributeString("x", "0"), t.writeAttributeString("y", "0"), t.writeAttributeString("width", "8"), t.writeAttributeString("height", "8"), t.writeAttributeString("fill", r.format("#{0:X2}{1:X2}{2:X2}", l.r, l.g, l.b)), t.writeEndElement(); for (var d = 0; d < 8; d++) for (var g = 0; g < 8; g++) { var f = m.toString().charAt(8 * d + g); "1" == f && (t.writeStartElement("rect"), t.writeAttributeString("x", g.toString()), t.writeAttributeString("y", d.toString()), t.writeAttributeString("width", "1"), t.writeAttributeString("height", "1"), t.writeAttributeString("fill", r.format("#{0:X2}{1:X2}{2:X2}", s.r, s.g, s.b)), t.writeEndElement()) } return t.writeEndElement(), c } , t.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 } , t.writeGlareBrush = function(t, e, n) { var a = e.stimulsoft.as(i) , s = 1 , l = 1 , u = a.angle; u < 0 && (u += 360), u >= 270 && u < 360 && (u = 360 - u, l = -1), u >= 180 && u < 270 && (u -= 180, l = -1, s = -1), u >= 90 && u < 180 && (u = 180 - u, s = -1), u = u * Math.PI / 180; var c = n.x + n.width / 2 , m = n.y + n.height / 2 , p = Math.sqrt(n.width * n.width + n.height * n.height) / 2 , h = Math.atan2(n.height, n.width) , d = Math.PI / 2 - u + h , g = p * Math.sin(d) , f = g * Math.cos(u) * s , S = g * Math.sin(u) * -l , A = c - f , y = c + f , w = m + S , b = m - S , v = r.format("gradient{0}", o.newGuid()); return t.writeStartElement("linearGradient"), t.writeAttributeString("id", v), t.writeAttributeString("gradientUnits", "userSpaceOnUse"), t.writeAttributeString("x1", A.toString()), t.writeAttributeString("y1", w.toString()), t.writeAttributeString("x2", y.toString()), t.writeAttributeString("y2", b.toString()), t.writeStartElement("stop"), t.writeAttributeString("offset", "0%"), t.writeAttributeString("stop-color", r.format("#{0:X2}{1:X2}{2:X2}", a.startColor.r, a.startColor.g, a.startColor.b)), 255 != a.startColor.a && t.writeAttributeString("stop-opacity", Math.round2(a.startColor.a / 255, 3).toString().stimulsoft.replaceAll(",", ".")), t.writeEndElement(), t.writeStartElement("stop"), t.writeAttributeString("offset", "50%"), t.writeAttributeString("stop-color", r.format("#{0:X2}{1:X2}{2:X2}", a.endColor.r, a.endColor.g, a.endColor.b)), 255 != a.endColor.a && t.writeAttributeString("stop-opacity", Math.round2(a.endColor.a / 255, 3).toString().stimulsoft.replaceAll(",", ".")), t.writeEndElement(), t.writeStartElement("stop"), t.writeAttributeString("offset", "100%"), t.writeAttributeString("stop-color", r.format("#{0:X2}{1:X2}{2:X2}", a.startColor.r, a.startColor.g, a.startColor.b)), 255 != a.startColor.a && t.writeAttributeString("stop-opacity", Math.round2(a.startColor.a / 255, 3).toString().stimulsoft.replaceAll(",", ".")), t.writeEndElement(), t.writeFullEndElement(), v } , t.writeGradientBrush = function(t, e, i) { var n = e.stimulsoft.as(s) , a = 1 , l = 1 , u = n.angle; u < 0 && (u += 360), u >= 270 && u < 360 && (u = 360 - u, l = -1), u >= 180 && u < 270 && (u -= 180, l = -1, a = -1), u >= 90 && u < 180 && (u = 180 - u, a = -1), u = u * Math.PI / 180; var c = i.x + i.width / 2 , m = i.y + i.height / 2 , p = Math.sqrt(i.width * i.width + i.height * i.height) / 2 , h = Math.atan2(i.height, i.width) , d = Math.PI / 2 - u + h , g = p * Math.sin(d) , f = g * Math.cos(u) * a , S = g * Math.sin(u) * -l , A = c - f , y = c + f , w = m + S , b = m - S , v = r.format("gradient{0}", o.newGuid()); return t.writeStartElement("linearGradient"), t.writeAttributeString("id", v), t.writeAttributeString("gradientUnits", "userSpaceOnUse"), t.writeAttributeString("x1", A.toString()), t.writeAttributeString("y1", w.toString()), t.writeAttributeString("x2", y.toString()), t.writeAttributeString("y2", b.toString()), t.writeStartElement("stop"), t.writeAttributeString("offset", "0%"), t.writeAttributeString("stop-color", r.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().stimulsoft.replaceAll(",", ".")), t.writeEndElement(), t.writeStartElement("stop"), t.writeAttributeString("offset", "100%"), t.writeAttributeString("stop-color", r.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().stimulsoft.replaceAll(",", ".")), t.writeEndElement(), t.writeFullEndElement(), v } , t.writeGlassBrush = function(t, e, i) { var n = e.stimulsoft.as(l) , a = n.getTopColor() , s = n.getTopRectangle(i) , u = n.getBottomColor() , c = n.getBottomRectangle(i) , m = r.format("glass{0}", o.newGuid()); return t.writeStartElement("pattern"), t.writeAttributeString("id", m), t.writeAttributeString("x", i.x.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("y", i.y.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("width", i.width.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", i.height.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("patternUnits", "userSpaceOnUse"), t.writeStartElement("rect"), t.writeAttributeString("x", "0"), t.writeAttributeString("y", "0"), t.writeAttributeString("width", i.width.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", i.height.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("style", r.format("fill:rgb({0},{1},{2});fill-opacity:{3};", u.r, u.g, u.b, Math.round2(u.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), t.writeEndElement(), t.writeStartElement("rect"), t.writeAttributeString("x", "0"), t.writeAttributeString("y", "0"), t.writeAttributeString("width", s.width.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", s.height.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("style", r.format("fill:rgb({0},{1},{2});fill-opacity:{3};", a.r, a.g, a.b, Math.round2(a.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), t.writeEndElement(), t.writeEndElement(), m } , t.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"], t }(); e.StiBrushSvgHelper = u }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Drawing.Point , i = function() { function t() {} return t.cardinalSpline = function(t, e) { var i = 0 , n = 0 , o = new r , a = new r , s = .5 * (1 / 3); n = e ? 3 * (t.length + 1) - 2 : 3 * t.length - 2; var l = Array.create(r, n, !0); for (i = 0; i < n; i++) l[i] = new r; if (!e) { var u = new r(t[0].x,t[0].y); o = this.calcCurveEnd(u, new r(t[1].x,t[1].y), s), l[0] = u, l[1] = o } for (i = 0; i < t.length - (e ? 1 : 2); i++) { var u = new r(t[i + 1].x,t[i + 1].y) , c = this.calcCurve([new r(t[i].x,t[i].y), u, new r(t[(i + 2) % t.length].x,t[(i + 2) % t.length].y)], s); o = c[0], a = c[1], l[3 * i + 2] = o, l[3 * i + 3] = u, l[3 * i + 4] = a } if (e) { var u = new r(t[0].x,t[0].y) , c = this.calcCurve([new r(t[t.length - 1].x,t[t.length - 1].y), u, new r(t[1].x,t[1].y)], s); o = c[0], a = c[1], l[n - 2] = o, l[0] = u, l[1] = a, l[n - 1] = l[0] } else { var u = new r(t[t.length - 1].x,t[t.length - 1].y); o = this.calcCurveEnd(u, new r(t[t.length - 2].x,t[t.length - 2].y), s), l[n - 2] = o, l[n - 1] = u } return l } , t.calcCurveEnd = function(t, e, i) { return new r(i * (e.x - t.x) + t.x,i * (e.y - t.y) + t.y) } , t.calcCurve = function(t, e) { var i = t[2].x - t[0].x , n = t[2].y - t[0].y; return [new r(t[1].x - e * i,t[1].y - e * n), new r(t[1].x + e * i,t[1].y + e * n)] } , t }(); e.StiCurveHelper = i }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Drawing.Rectangle , o = t.Base.Drawing.StiBrush , a = t.System.Enum , s = t.System.Drawing.Color , l = t.Base.JsonReportObject.IStiJsonReportObject , u = function() { function t() {} return t.prototype.implements = function() { return t.implementsStiGeom || (t.implementsStiGeom = [l]), t.implementsStiGeom } , t.prototype.saveToJsonObject = function(t) { var i = new e.StiJson; return i.addPropertyString("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), i.addPropertyString("Type", a.getName(r.StiGeomType, this.type)), i } , t.prototype.saveGeomListToJsonObject = function(t, r) { if (null != t) { for (var i = Array.create(e.StiJson, t.length), n = 0; n < t.length; n++) i[n] = t[n].saveToJsonObject(r); return i } return null } , t.prototype.savePointDArrayToJsonObject = function(r) { if (null != r) { for (var i = Array.create(e.StiJson, r.length), n = 0; n < r.length; n++) i[n] = t.savePointDToJsonObject(r[n]); return i } return null } , t.prototype.saveBrushToJsonObject = function(t, r) { if (t.stimulsoft.is(s)) { var n = t; return i.format("Color,{0},{1},{2},{3}", n.a, n.r, n.g, n.b) } if (t.stimulsoft.is(o)) return e.StiJsonReportObjectHelper.Serialize.jBrush(t); return null } , t.prototype.saveRectToJsonObject = function(e) { if (null != e && e.stimulsoft.is(n)) return t.saveRectangleToJsonObject(e); return null } , t.savePointDToJsonObject = function(t) { var r = new e.StiJson; return r.addPropertyNumberNoDefaultValue("X", t.x), r.addPropertyNumberNoDefaultValue("Y", t.y), r } , t.saveRectangleToJsonObject = function(t) { var r = new e.StiJson; return r.addPropertyNumberNoDefaultValue("X", t.x), r.addPropertyNumberNoDefaultValue("Y", t.y), r.addPropertyNumberNoDefaultValue("Width", t.width), r.addPropertyNumberNoDefaultValue("Height", t.height), r } , t.saveRectangleDToJsonObject = function(t) { var r = new e.StiJson; return r.addPropertyNumberNoDefaultValue("X", t.x), r.addPropertyNumberNoDefaultValue("Y", t.y), r.addPropertyNumberNoDefaultValue("Width", t.width), r.addPropertyNumberNoDefaultValue("Height", t.height), r } , t.prototype.loadFromJsonObject = function(t) {} , t.prototype.loadFromXml = function(t) {} , Object.defineProperty(t.prototype, "type", { get: function() { return null }, enumerable: !0, configurable: !0 }), t }(); r.StiGeom = u }(r = e.Context || (e.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r) { var i = e.call(this) || this; return i.x = t, i.y = r, i } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyNumberNoDefaultValue("X", this.x), r.addPropertyNumberNoDefaultValue("Y", this.y), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.PushTranslateTransform }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiPushTranslateTransformGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t) { var r = e.call(this) || this; return r.angle = t, r } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyNumberNoDefaultValue("Angle", this.angle), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.PushRotateTransform }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiPushRotateTransformGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, r) { var i = t.call(this) || this; return i._animation = e, i.interaction = r, i } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { return t.prototype.saveToJsonObject.call(this, e) } , Object.defineProperty(e.prototype, "animation", { get: function() { return this._animation }, enumerable: !0, configurable: !0 }), e }(t.StiGeom); t.StiAnimationGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o, a, s, l) { var u = e.call(this, s, l) || this; return u.value = n, u.background = t, u.borderPen = r, u.columnRect = i, u.tag = a, u.toolTip = o, u } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return null != this.background && r.addPropertyString("Background", this.saveBrushToJsonObject(this.background, t)), null != this.borderPen && r.addPropertyJObject("BorderPen", this.borderPen.saveToJsonObject(t)), r.addPropertyJObject("ColumnRect", this.saveRectToJsonObject(this.columnRect)), r.addPropertyBool("UpMove", this.upMove), null != this.tag && this.tag.stimulsoft.is(String) && r.addPropertyString("Tag", this.tag.toString()), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.AnimationBar }, enumerable: !0, configurable: !0 }), r }(t.StiAnimationGeom); t.StiClusteredBarSeriesAnimationGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.PopTransform }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiPopTransformGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o, a, s) { var l = e.call(this, o, a) || this; return l.background = t, l.borderPen = r, l.rect = i, l.tag = n, l.toolTip = s, l } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return null != this.background && r.addPropertyString("Background", this.saveBrushToJsonObject(this.background, t)), null != this.borderPen && r.addPropertyJObject("BorderPen", this.borderPen.saveToJsonObject(t)), r.addPropertyJObject("Rect", this.saveRectToJsonObject(this.rect)), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.AnimationBorder }, enumerable: !0, configurable: !0 }), r }(t.StiAnimationGeom); t.StiBorderAnimationGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n) { var o = e.call(this) || this; return o.background = t, o.borderPen = r, o.rect = i, o.interaction = n, o } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return null != this.background && r.addPropertyString("Background", this.saveBrushToJsonObject(this.background, t)), null != this.borderPen && r.addPropertyJObject("BorderPen", this.borderPen.saveToJsonObject(t)), r.addPropertyJObject("Rect", this.saveRectToJsonObject(this.rect)), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.Border }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiBorderGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e) { this.duration = t, this.beginTime = e } return Object.defineProperty(t.prototype, "type", { get: function() { return null }, enumerable: !0, configurable: !0 }), t }(); t.StiAnimation = e }(e = t.Animation || (t.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(t, r) { return e.call(this, t, r) || this } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiAnimationType.Opacity }, enumerable: !0, configurable: !0 }), r }(e.StiAnimation); e.StiOpacityAnimation = r }(r = e.Animation || (e.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t) { var r = e.call(this) || this; return r.clipRectangle = t, r } return __extends(r, e), r.prototype.saveToJsonObject = function(r) { var i = e.prototype.saveToJsonObject.call(this, r); return i.addPropertyJObject("ClipRectangle", t.StiGeom.saveRectangleDToJsonObject(this.clipRectangle)), i } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.PushClip }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiPushClipGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.PopClip }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiPopClipGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i) { var n = e.call(this) || this; return n.pen = t, n.tension = i, n.points = r, n } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return null != this.pen && r.addPropertyJObject("Pen", this.pen.saveToJsonObject(t)), r.addPropertyNumberNoDefaultValue("Tension", this.tension), r.addPropertyJObjectArray("Points", this.savePointDArrayToJsonObject(this.points)), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.Curve }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiCurveGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o) { var a = e.call(this) || this; return a.background = t, a.borderPen = r, a.rect = i, a.interaction = n, a.toolTip = o, a } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return null != this.background && r.addPropertyString("Background", this.saveBrushToJsonObject(this.background, t)), null != this.borderPen && r.addPropertyJObject("BorderPen", this.borderPen.saveToJsonObject(t)), r.addPropertyJObject("Rect", this.saveRectToJsonObject(this.rect)), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.Ellipse }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiEllipseGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Enum , i = function(i) { function n(t, e, r) { var n = i.call(this) || this; return n.rect = t, n.sides = e, n.isPrinting = r, n } return __extends(n, i), n.prototype.saveToJsonObject = function(n) { var o = i.prototype.saveToJsonObject.call(this, n); return o.addPropertyJObject("Rect", e.StiGeom.saveRectangleDToJsonObject(this.rect)), o.addPropertyString("Sides", r.getName(t.Base.Drawing.StiShadowSides, this.sides)), o.addPropertyBool("IsPrinting", this.isPrinting), o } , Object.defineProperty(n.prototype, "type", { get: function() { return e.StiGeomType.CachedShadow }, enumerable: !0, configurable: !0 }), n }(e.StiGeom); e.StiCachedShadowGeom = i }(r = e.Context || (e.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i) { var n = e.call(this) || this; return n.shadowContext = t, n.rect = r, n.radius = i, n } return __extends(r, e), r.prototype.saveToJsonObject = function(r) { var i = e.prototype.saveToJsonObject.call(this, r); return i.addPropertyJObject("Rect", t.StiGeom.saveRectangleDToJsonObject(this.rect)), i.addPropertyNumberNoDefaultValue("Radius", this.radius), i } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.Shadow }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiShadowGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = t.System.Enum , n = t.System.Drawing.Point , o = function(o) { function a(t, e, r, i, n, a, s, l, u, c) { var m = o.call(this) || this; return m.isRounded = !1, m.isRotatedText = !1, m.isRotatedText = c, m.text = t, m.font = e, m.brush = r, m.location = i, m.stringFormat = n, m.angle = a, m.antialiasing = s, m.maximalWidth = l, m.rotationMode = u, m } return __extends(a, o), a.prototype.saveToJsonObject = function(a) { var s = o.prototype.saveToJsonObject.call(this, a); return s.addPropertyString("Text", this.text), s.addPropertyJObject("Font", this.font.saveToJsonObject(a)), s.addPropertyBool("IsRounded", this.isRounded), s.addPropertyBool("IsRotatedText", this.isRotatedText), s.addPropertyNumberNoDefaultValue("Angle", this.angle), s.addPropertyBool("Antialiasing", this.antialiasing), s.addPropertyNumberNoDefaultValue("MaximalWidth", this.maximalWidth), null != this.brush && s.addPropertyString("Brush", this.saveBrushToJsonObject(this.brush, a)), null != this.stringFormat && s.addPropertyJObject("StringFormat", this.stringFormat.saveToJsonObject(a)), null != this.rotationMode && s.addPropertyString("RotationMode", i.getName(t.Base.Drawing.StiRotationMode, this.rotationMode)), this.location.stimulsoft.is(n) && s.addPropertyJObject("Location", e.StiGeom.savePointDToJsonObject(this.location)), this.location.stimulsoft.is(r) && s.addPropertyJObject("Location", e.StiGeom.saveRectangleToJsonObject(this.location)), s } , Object.defineProperty(a.prototype, "type", { get: function() { return e.StiGeomType.Text }, enumerable: !0, configurable: !0 }), a }(e.StiGeom); e.StiTextGeom = o }(r = e.Context || (e.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o, a) { var s = e.call(this) || this; return s.background = t, s.pen = r, s.geoms = i, s.rect = n, s.interaction = o, s.toolTip = a, s } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyJObject("Rect", this.saveRectToJsonObject(this.rect)), null != this.background && r.addPropertyString("Background", this.saveBrushToJsonObject(this.background, t)), null != this.pen && r.addPropertyJObject("Pen", this.pen.saveToJsonObject(t)), null != this.geoms && r.addPropertyJObjectArray("Geoms", this.saveGeomListToJsonObject(this.geoms, t)), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.Path }, enumerable: !0, configurable: !0 }), r.getBoundsState = {}, r }(t.StiGeom); t.StiPathGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.Segment }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiSegmentGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n) { var o = e.call(this) || this; return o.rect = t, o.startAngle = r, o.sweepAngle = i, o } return __extends(r, e), r.prototype.saveToJsonObject = function(r) { var i = e.prototype.saveToJsonObject.call(this, r); return i.addPropertyJObject("Rect", t.StiGeom.saveRectangleDToJsonObject(this.rect)), i.addPropertyNumberNoDefaultValue("StartAngle", this.startAngle), i.addPropertyNumberNoDefaultValue("SweepAngle", this.sweepAngle), i } , r }(t.StiSegmentGeom); t.StiPieSegmentGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i) { var n = e.call(this) || this; return n.rect = t, n.startAngle = r, n.sweepAngle = i, n } return __extends(r, e), r.prototype.saveToJsonObject = function(r) { var i = e.prototype.saveToJsonObject.call(this, r); return i.addPropertyJObject("Rect", t.StiGeom.saveRectangleDToJsonObject(this.rect)), i.addPropertyNumberNoDefaultValue("StartAngle", this.startAngle), i.addPropertyNumberNoDefaultValue("SweepAngle", this.sweepAngle), i } , r }(t.StiSegmentGeom); t.StiArcSegmentGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, r, i, n, o) { void 0 === i && (i = null), void 0 === n && (n = null), void 0 === o && (o = null); var a = t.call(this) || this; return null == i && null == n ? (a.x1 = e.x, a.y1 = e.y, a.x2 = r.x, a.y2 = r.y) : (a.x1 = e, a.y1 = r, a.x2 = i, a.y2 = n), a.animation = o, a } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumberNoDefaultValue("X1", this.x1), r.addPropertyNumberNoDefaultValue("Y1", this.y1), r.addPropertyNumberNoDefaultValue("X2", this.x2), r.addPropertyNumberNoDefaultValue("Y2", this.y2), r } , e }(t.StiSegmentGeom); t.StiLineSegmentGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, r) { void 0 === r && (r = null); var i = t.call(this) || this; return i.points = e, i.animation = r, i } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyJObjectArray("Points", this.savePointDArrayToJsonObject(this.points)), r } , e }(t.StiSegmentGeom); t.StiLinesSegmentGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e(e, r, i) { void 0 === i && (i = null); var n = t.call(this) || this; return n.tension = .55, n.points = null, n.points = e, n.tension = r, n.animation = i, n } return __extends(e, t), e.prototype.saveToJsonObject = function(e) { var r = t.prototype.saveToJsonObject.call(this, e); return r.addPropertyNumberNoDefaultValue("Tension", this.tension), r.addPropertyJObjectArray("Points", this.savePointDArrayToJsonObject(this.points)), r } , e }(t.StiSegmentGeom); t.StiCurveSegmentGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(t.StiSegmentGeom); t.StiCloseFigureSegmentGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(t, r, i, n) { var o = e.call(this, i, n) || this; return o.valueFrom = t, o.rectFrom = r, o } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiAnimationType.Column }, enumerable: !0, configurable: !0 }), r }(e.StiAnimation); e.StiColumnAnimation = r }(r = e.Animation || (e.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Enum , i = function(i) { function n(t, e, r, n, o, a, s, l, u, c, m) { var p = i.call(this, m, null) || this; return p.text = t, p.font = e, p.textBrush = r, p.labelBrush = n, p.penBorder = o, p.rectangle = a, p.stringFormat = s, p.rotationMode = l, p.angle = u, p.drawBorder = c, p } return __extends(n, i), n.prototype.saveToJsonObject = function(n) { var o = i.prototype.saveToJsonObject.call(this, n); return o.addPropertyString("Text", this.text), o.addPropertyJObject("Font", this.font.saveToJsonObject(n)), o.addPropertyJObject("Rectangle", e.StiGeom.saveRectangleToJsonObject(this.rectangle)), o.addPropertyNumberNoDefaultValue("Angle", this.angle), o.addPropertyBool("DrawBorder", this.drawBorder), null != this.textBrush && o.addPropertyString("TextBrush", this.saveBrushToJsonObject(this.textBrush, n)), null != this.labelBrush && o.addPropertyString("LabelBrush", this.saveBrushToJsonObject(this.labelBrush, n)), null != this.penBorder && o.addPropertyJObject("PenBorder", this.penBorder.saveToJsonObject(n)), null != this.stringFormat && o.addPropertyJObject("StringFormat", this.stringFormat.saveToJsonObject(n)), null != this.rotationMode && o.addPropertyString("RotationMode", r.getName(t.Base.Drawing.StiRotationMode, this.rotationMode)), o } , Object.defineProperty(n.prototype, "type", { get: function() { return e.StiGeomType.AnimationLabel }, enumerable: !0, configurable: !0 }), n }(e.StiAnimationGeom); e.StiLabelAnimationGeom = i }(r = e.Context || (e.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o) { var a = e.call(this, o, null) || this; return a.rect = t, a.radiusX = r, a.radiusY = i, a.shadowWidth = n, a } return __extends(r, e), r.prototype.saveToJsonObject = function(r) { var i = e.prototype.saveToJsonObject.call(this, r); return i.addPropertyJObject("Rect", t.StiGeom.saveRectangleDToJsonObject(this.rect)), i.addPropertyNumberNoDefaultValue("RadiusX", this.radiusX), i.addPropertyNumberNoDefaultValue("RadiusY", this.radiusY), i.addPropertyNumberNoDefaultValue("ShadowWidth", this.shadowWidth), i } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.AnimationShadow }, enumerable: !0, configurable: !0 }), r }(t.StiAnimationGeom); t.StiShadowAnimationGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o, a, s) { var l = e.call(this, a, s) || this; return l.background = t, l.pen = r, l.geoms = i, l.rect = n, l.tag = o, l } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyJObject("Rect", this.saveRectToJsonObject(this.rect)), null != this.background && r.addPropertyString("Background", this.saveBrushToJsonObject(this.background, t)), null != this.pen && r.addPropertyJObject("Pen", this.pen.saveToJsonObject(t)), null != this.geoms && r.addPropertyJObjectArray("Geoms", this.saveGeomListToJsonObject(this.geoms, t)), null != this.tag && null != this.tag && this.tag.stimulsoft.is(String) && r.addPropertyString("Tag", this.tag.toString()), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.AnimationPath }, enumerable: !0, configurable: !0 }), r.getBoundsState = {}, r }(t.StiAnimationGeom); t.StiPathAnimationGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n) { var o = e.call(this, n, null) || this; return o.pen = t, o.points = r, o.tension = i, o } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return null != this.pen && r.addPropertyJObject("Pen", this.pen.saveToJsonObject(t)), r.addPropertyNumberNoDefaultValue("Tension", this.tension), r.addPropertyJObjectArray("Points", this.savePointDArrayToJsonObject(this.points)), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.AnimationCurve }, enumerable: !0, configurable: !0 }), r }(t.StiAnimationGeom); t.StiCurveAnimationGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o, a, s, l) { var u = e.call(this, s, l) || this; return u.value = n, u.background = t, u.borderPen = r, u.columnRect = i, u.tag = a, u.toolTip = o, u } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return null != this.background && r.addPropertyString("Background", this.saveBrushToJsonObject(this.background, t)), null != this.borderPen && r.addPropertyJObject("BorderPen", this.borderPen.saveToJsonObject(t)), r.addPropertyJObject("ColumnRect", this.saveRectToJsonObject(this.columnRect)), null != this.tag && this.tag.stimulsoft.is(String) && r.addPropertyString("Tag", this.tag.toString()), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.AnimationColumn }, enumerable: !0, configurable: !0 }), r }(t.StiAnimationGeom); t.StiClusteredColumnSeriesAnimationGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o, a, s) { var l = e.call(this, a, s) || this; return l.background = t, l.borderPen = r, l.rect = i, l.tag = o, l.toolTip = n, l } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return null != this.background && r.addPropertyString("Background", this.saveBrushToJsonObject(this.background, t)), null != this.borderPen && r.addPropertyJObject("BorderPen", this.borderPen.saveToJsonObject(t)), r.addPropertyJObject("Rect", this.saveRectToJsonObject(this.rect)), null != this.tag && null != this.tag && this.tag.stimulsoft.is(String) && r.addPropertyString("Tag", this.tag.toString()), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.AnimationEllipse }, enumerable: !0, configurable: !0 }), r }(t.StiAnimationGeom); t.StiEllipseAnimationGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i) { var n = e.call(this, i, null) || this; return n.pen = t, n.points = r, n } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return null != this.pen && r.addPropertyJObject("Pen", this.pen.saveToJsonObject(t)), r.addPropertyJObjectArray("Points", this.savePointDArrayToJsonObject(this.points)), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.AnimationLines }, enumerable: !0, configurable: !0 }), r }(t.StiAnimationGeom); t.StiLinesAnimationGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o, a, s, l) { var u = e.call(this, s, l) || this; return u.background = t, u.borderPen = r, u.rect = n, u.pathGeoms = i, u.toolTip = o, u.tag = a, u } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyJObject("Rect", this.saveRectToJsonObject(this.rect)), null != this.background && r.addPropertyString("Background", this.saveBrushToJsonObject(this.background, t)), null != this.borderPen && r.addPropertyJObject("BorderPen", this.borderPen.saveToJsonObject(t)), null != this.pathGeoms && r.addPropertyJObjectArray("Geoms", this.saveGeomListToJsonObject(this.pathGeoms, t)), null != this.tag && this.tag.stimulsoft.is(String) && r.addPropertyString("Tag", this.tag.toString()), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.AnimationPathElement }, enumerable: !0, configurable: !0 }), r }(t.StiAnimationGeom); t.StiPathElementAnimationGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(t, r, i, n, o, a) { var s = e.call(this, o, a) || this; return s.pointFrom = i, s.point = n, s.valueFrom = t, s.value = r, s } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiAnimationType.Translation }, enumerable: !0, configurable: !0 }), r }(e.StiAnimation); e.StiLabelAnimation = r }(r = e.Animation || (e.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(t, r, i) { var n = e.call(this, r, i) || this; return n.pointsFrom = t, n } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiAnimationType.Points }, enumerable: !0, configurable: !0 }), r }(e.StiAnimation); e.StiPointsAnimation = r }(r = e.Animation || (e.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(t, r, i, n, o, a, s, l, u) { var c = e.call(this, l, u) || this; return c.valueFrom = t, c.value = r, c.clientRect = o, c.rectLabelFrom = a, c.rectLabel = s, c.angleFrom = i, c.angle = n, c } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiAnimationType.Translation }, enumerable: !0, configurable: !0 }), r }(e.StiAnimation); e.StiPieLabelAnimation = r }(r = e.Animation || (e.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(t, r, i, n, o) { var a = e.call(this, n, o) || this; return a.rectFrom = t, a.startAngleFrom = r, a.sweepAngleFrom = i, a } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiAnimationType.PieSegment }, enumerable: !0, configurable: !0 }), r }(e.StiAnimation); e.StiPieSegmentAnimation = r }(r = e.Animation || (e.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r, i, n, o) { var a = e.call(this) || this; return a.pen = t, a.x1 = r, a.y1 = i, a.x2 = n, a.y2 = o, a } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyJObject("Pen", this.pen.saveToJsonObject(t)), r.addPropertyNumberNoDefaultValue("X1", this.x1), r.addPropertyNumberNoDefaultValue("Y1", this.y1), r.addPropertyNumberNoDefaultValue("X2", this.x2), r.addPropertyNumberNoDefaultValue("Y2", this.y2), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.Line }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiLineGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r(t, r) { var i = e.call(this) || this; return i.pen = t, i.points = r, i } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return null != this.pen && r.addPropertyJObject("Pen", this.pen.saveToJsonObject(t)), r.addPropertyJObjectArray("Points", this.savePointDArrayToJsonObject(this.points)), r } , Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.Lines }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiLinesGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Convert , i = function(t) { function i(e, r) { var i = t.call(this) || this; return i.rect = e, i.image = r, i } return __extends(i, t), i.prototype.saveToJsonObject = function(e) { var i = t.prototype.saveToJsonObject.call(this, e); return null != this.image && i.addPropertyString("CustomIcon", r.toBase64String(this.image)), i.addPropertyJObject("Rect", this.saveRectToJsonObject(this.rect)), i } , Object.defineProperty(i.prototype, "type", { get: function() { return e.StiGeomType.Image }, enumerable: !0, configurable: !0 }), i }(e.StiGeom); e.StiImageGeom = i }(r = e.Context || (e.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i; !function(r) { var i = t.System.Convert , n = t.Base.Context.StiImageGeom , o = t.System.StiString , a = t.System.Text.Encoding , s = t.System.Drawing.Color , l = t.System.Drawing.Rectangle , u = t.System.Drawing.Rectangle , c = t.System.Text.StringBuilder , m = t.System.Drawing.StringFormat , p = t.Base.Drawing.StiRotationMode , h = t.Base.Context.StiPushTranslateTransformGeom , d = t.Base.Context.StiPushRotateTransformGeom , g = t.Base.Context.StiClusteredBarSeriesAnimationGeom , f = t.Base.Context.StiPopTransformGeom , S = t.Base.Context.StiBorderAnimationGeom , A = t.Base.Context.StiAnimationGeom , y = t.Base.Context.StiBorderGeom , w = t.Base.Context.StiLineGeom , b = t.Base.Context.StiLinesGeom , v = t.Base.Context.Animation.StiOpacityAnimation , C = t.Base.Context.StiPushClipGeom , E = t.Base.Context.StiPopClipGeom , B = t.Base.Context.StiCurveGeom , T = t.Base.Context.StiEllipseGeom , I = t.Base.Context.StiCachedShadowGeom , x = t.Base.Context.StiShadowGeom , F = t.Base.Context.StiTextGeom , D = t.Base.Context.StiPathGeom , R = t.Base.Context.StiPieSegmentGeom , P = t.Base.Context.StiArcSegmentGeom , N = t.Base.Context.StiLineSegmentGeom , k = t.Base.Context.StiLinesSegmentGeom , M = t.Base.Context.StiCurveSegmentGeom , O = t.Base.Context.StiCloseFigureSegmentGeom , _ = t.Base.Drawing.StiPenStyle , L = t.Base.Drawing.StiGradientBrush , j = t.Base.Drawing.StiGlareBrush , H = t.Base.Drawing.StiHatchBrush , G = t.Base.Drawing.StiGlassBrush , Q = t.Base.Drawing.StiBrush , Y = t.System.Drawing.Point , U = t.Report.StiCurveHelper , J = t.System.Drawing.Font , W = t.Base.StiGuidUtils , V = t.System.Drawing.Size , z = t.System.TimeSpan , X = t.System.Drawing.FontStyle , K = t.Base.Context.Animation.StiColumnAnimation , Z = t.Base.Context.StiLabelAnimationGeom , q = t.Base.Context.StiShadowAnimationGeom , $ = t.Base.Context.StiPathAnimationGeom , tt = t.Base.Context.StiCurveAnimationGeom , et = t.Base.Context.StiClusteredColumnSeriesAnimationGeom , rt = t.Base.Context.StiEllipseAnimationGeom , it = t.Base.Context.StiLinesAnimationGeom , nt = t.Base.Context.StiPathElementAnimationGeom , ot = t.Base.Context.Animation.StiLabelAnimation , at = t.Base.Context.Animation.StiPointsAnimation , st = t.Base.Context.Animation.StiPieLabelAnimation , lt = t.Base.Context.Animation.StiPieSegmentAnimation , ut = t.System.Drawing.Rectangle , ct = t.Base.StiAnimationType , mt = t.Base.Localization.StiLocalization , pt = function() { function r() {} return r.writeGeoms = function(t, r, a) { var P, N, k, M, O, L, j = "", H = 0, G = !0; try { for (var U = __values(r.geoms), lt = U.next(); !lt.done; lt = U.next()) { var mt = lt.value , pt = mt.stimulsoft.as(A); null != pt && pt.animation.duration.totalMilliseconds + (null != pt.animation.beginTime ? pt.animation.beginTime.totalMilliseconds : 0) > H && (H = pt.animation.duration.totalMilliseconds + (null != pt.animation.beginTime ? pt.animation.beginTime.totalMilliseconds : 0)), mt.stimulsoft.is(q) && (G = !1) } } catch (t) { P = { error: t } } finally { try { lt && !lt.done && (N = U.return) && N.call(U) } finally { if (P) throw P.error } } try { for (var ht = __values(r.geoms), dt = ht.next(); !dt.done; dt = ht.next()) { var mt = dt.value; if (mt.stimulsoft.is(h)) { this.listTransformGeom.add(mt); var gt = mt.stimulsoft.as(h); t.writeStartElement("g"), this.dx += mt.x, this.dy += mt.y } else if (mt.stimulsoft.is(d)) { this.listTransformGeom.add(mt); var ft = mt.stimulsoft.as(d); t.writeStartElement("g"), t.writeAttributeString("transform", o.format("rotate({0} {1} {2})", ft.angle, this.dx, this.dy)) } else if (mt.stimulsoft.is(f)) { var St = this.listTransformGeom[this.listTransformGeom.length - 1]; if (St.stimulsoft.is(h)) { var At = St.stimulsoft.as(h); this.dx -= At.x, this.dy -= At.y } this.listTransformGeom.remove(St), t.writeEndElement() } else if (mt.stimulsoft.is(g)) { var yt = mt , wt = yt.columnRect.stimulsoft.as(ut) , bt = null == yt.animation ? yt.animation.stimulsoft.as(K) : null , vt = null != bt ? bt.rectFrom : l.empty , Ct = new c; if (null != yt.background ? Ct.append(this.writeFillBrush(t, yt.background, wt)) : Ct.append("fill:none;"), this.checkPenGeom(yt.borderPen)) { var Et = o.format("{0}", this.writeBorderStroke(t, yt.borderPen.brush, wt)); Ct.append(o.format("{0};stroke-width:{1};", Et, yt.borderPen.thickness)) } var Bt = wt.width.toString().stimulsoft.replaceAll(",", "."); t.writeStartElement("rect"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("y", (wt.y + this.dy).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", wt.height.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("shape-rendering", "crispEdges"), a ? yt.value < 0 ? 0 == vt.width ? (t.writeAttributeString("x", this.p(wt.x + this.dx)), t.writeAttributeString("width", "0"), this.addAnimation(t, '[["width", 0, ' + Bt + ',""]]', yt.animation.beginTime, yt.animation.duration)) : (t.writeAttributeString("width", this.p(vt.width)), bt.valueFrom <= 0 ? (t.writeAttributeString("x", this.p(vt.x + this.dx)), this.addAnimation(t, '[["width", ' + this.p(vt.width) + ", " + Bt + ',""]]', yt.animation.beginTime, yt.animation.duration)) : (t.writeAttributeString("x", this.p(vt.x + this.dx)), this.addAnimation(t, '[["width", ' + this.p(vt.width) + ', 0, ""], ["x",' + this.p(vt.x + this.dx) + ", " + this.p(vt.width + vt.x + this.dx) + ', ""]]', yt.animation.beginTime, yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2))), this.addAnimation(t, '[["width", 0, ' + Bt + ', ""]]', yt.animation.beginTime.add2(z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), "1"))) : 0 == vt.width ? (t.writeAttributeString("x", this.p(wt.width + wt.x + this.dx)), t.writeAttributeString("width", "0"), this.addAnimation(t, '[["width", 0, ' + Bt + ', ""], ["x",' + this.p(wt.width + wt.x + this.dx) + ", " + this.p(wt.x + this.dx) + ', ""]]', yt.animation.beginTime, yt.animation.duration)) : (t.writeAttributeString("x", this.p(vt.x + this.dx)), t.writeAttributeString("width", this.p(vt.width)), bt.valueFrom <= 0 ? (this.addAnimation(t, '[["width",' + this.p(vt.width) + ', 0,""]]', yt.animation.beginTime, yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2))), this.addAnimation(t, '[["width", 0, ' + this.p(wt.width) + ', ""], ["x",' + this.p(wt.width + wt.x + this.dx) + ", " + this.p(wt.x + this.dx) + ', ""]]', yt.animation.beginTime.add2(z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), "1")) : this.addAnimation(t, '[["width", ' + this.p(vt.width) + ", " + Bt + ', ""], ["x",' + this.p(vt.x + this.dx) + ", " + this.p(wt.x + this.dx) + ', ""]]', yt.animation.beginTime, yt.animation.duration)) : (t.writeAttributeString("width", Bt), t.writeAttributeString("x", this.p(wt.x + this.dx))), this.writeInteracrion(t, yt.interaction), t.writeAttributeString("style", Ct.toString()), null == yt.toolTip || o.isNullOrEmpty(yt.toolTip.toString()) || this.writeTooltip(t, yt.toolTip.toString()), t.writeEndElement() } else if (mt.stimulsoft.is(Z)) { var Tt = mt.stimulsoft.as(Z) , It = null != Tt.animation ? Tt.animation.stimulsoft.as(ot) : null , xt = null != Tt.animation ? Tt.animation.stimulsoft.as(st) : null , wt = Tt.rectangle.clone(); wt = this.correctRectLabel(Tt.rotationMode, wt); var Ct = new c; if (null != Tt.labelBrush ? Ct.append(this.writeFillBrush(t, Tt.labelBrush, wt)) : Ct.append("fill:none;"), Tt.drawBorder && this.checkPenGeom(Tt.penBorder)) { var Et = o.format("{0}", this.writeBorderStroke(t, Tt.penBorder.brush, wt)); Ct.append(o.format("{0};stroke-width:{1};", Et, Tt.penBorder.thickness)) } t.writeStartElement("rect"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("x", null != It ? this.p(It.LabelRect.x + this.dx) : null != xt ? this.p(xt.rectLabelFrom.x + this.dx) : this.p(wt.x + this.dx)), t.writeAttributeString("y", null != It ? this.p(It.LabelRect.y + this.dy) : null != xt ? this.p(xt.rectLabelFrom.y + this.dy) : this.p(wt.y + this.dy)), t.writeAttributeString("width", wt.width.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", wt.height.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("style", Ct.toString()), t.writeAttributeString("shape-rendering", "crispEdges"), t.writeAttributeString("opacity", null != It || null != xt ? "1" : "0"), t.writeAttributeString("fill", "rgba(0,0,0,0)"), null != It ? this.addAnimation(t, '[["x", ' + this.p(It.LabelRect.x + this.dx) + ", " + this.p(wt.x + this.dx) + ', ""],' + '["y", ' + this.p(It.LabelRect.y + this.dy) + ", " + this.p(wt.y + this.dy) + ', ""]]', It.beginTime, It.duration) : null != xt ? this.addAnimation(t, '[["x", ' + this.p(xt.rectLabelFrom.x + this.dx) + ", " + this.p(wt.x + this.dx) + ', ""],' + '["y", ' + this.p(xt.rectLabelFrom.y + this.dy) + ", " + this.p(wt.y + this.dy) + ', ""]]', xt.beginTime, xt.duration) : this.addAnimation(t, '[["opacity", 0, 1, ""]]', z.fromMilliseconds(H), z.fromMilliseconds(500)), t.writeEndElement(); var Ft = new J(Tt.font.fontName,Tt.font.fontSize,Tt.font.fontStyle,Tt.font.unit) , Dt = new m; Dt.alignment = Tt.stringFormat.alignment, Dt.formatFlags = Tt.stringFormat.formatFlags, Dt.hotkeyPrefix = Tt.stringFormat.hotkeyPrefix, Dt.lineAlignment = Tt.stringFormat.lineAlignment, Dt.trimming = Tt.stringFormat.trimming, Ct = new c; var Rt = 4 * Ft.size / 3; switch (t.writeStartElement("text"), Tt.rotationMode) { case p.LeftCenter: t.writeAttributeString("dy", "0.35em"); break; case p.LeftBottom: break; case p.CenterTop: Ct.appendFormat("text-anchor:{0};", "middle"), t.writeAttributeString("dy", "1em"); break; case p.CenterCenter: Ct.appendFormat("text-anchor:{0};", "middle"), t.writeAttributeString("dy", "0.35em"); break; case p.CenterBottom: Ct.appendFormat("text-anchor:{0};", "middle"); break; case p.RightTop: Ct.appendFormat("text-anchor:{0};", "end"), t.writeAttributeString("dy", "1em"); break; case p.RightCenter: Ct.appendFormat("text-anchor:{0};", "end"), t.writeAttributeString("dy", "0.35em"); break; case p.RightBottom: Ct.appendFormat("text-anchor:{0};", "end"); break; default: t.writeAttributeString("dy", "1em"); break } t.writeAttributeString("transform", o.format("translate({0}, {1}) rotate({2} 0,0)", null != It ? this.p(this.rectToCenterPoint(It.LabelRect).x + this.dx) : null != xt ? this.p(this.rectToCenterPoint(xt.rectLabelFrom).x + this.dx) : this.p(this.rectToCenterPoint(wt).x + this.dx), null != It ? this.p(this.rectToCenterPoint(It.LabelRect).y + this.dy) : null != xt ? this.p(this.rectToCenterPoint(xt.rectLabelFrom).y + this.dy) : this.p(this.rectToCenterPoint(wt).y + this.dy), this.p(Tt.angle))), t.writeAttributeString("font-size", Rt.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("font-family", Ft.fontFamily.name); var Pt = Q.toColor(Tt.textBrush.stimulsoft.as(Q)); if (Ct.append(o.format("fill:#{0:X2}{1:X2}{2:X2};", Pt.r, Pt.g, Pt.b)), 255 != Pt.a && Ct.append(o.format("fill-opacity:{0}", Math.round2(Pt.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("style", Ct.toString()), t.writeAttributeString("opacity", null != It || null != xt ? "1" : "0"), null != It) { if (this.addAnimation(t, o.format('[["translate","' + this.p(It.LabelRect.x + this.dx) + ":" + this.p(It.LabelRect.y + this.dy) + '","' + this.p(wt.x + this.dx) + ":" + this.p(wt.y + this.dy) + '"," rotate({0} 0, 0)"]]', this.p(Tt.angle)), It.beginTime, It.duration), null != It.valueFrom && null != It.value) { var Nt = It.valueFrom - It.value , kt = Nt; this.addAnimation(t, '[["value", ' + this.p(It.valueFrom) + ", " + this.p(It.value) + ', "' + kt + '"]]', It.beginTime, It.duration, "a1") } } else if (null != xt) { if (this.addAnimation(t, o.format('[["translate","' + this.p(xt.rectLabelFrom.x + this.dx) + ":" + this.p(xt.rectLabelFrom.y + this.dy) + '","' + this.p(wt.x + this.dx) + ":" + this.p(wt.y + this.dy) + '"," rotate({0} 0, 0)"]]', this.p(Tt.angle)), xt.beginTime, xt.duration), null != xt.valueFrom && null != xt.value) { var Nt = xt.valueFrom - xt.value , kt = Nt; this.addAnimation(t, '[["value", ' + this.p(xt.valueFrom) + ", " + this.p(xt.value) + ', "' + kt + '"]]', xt.beginTime, xt.duration, "a1") } } else this.addAnimation(t, '[["opacity", 0, 1, ""]]', z.fromMilliseconds(H), z.fromMilliseconds(500)); null != It && null != It.valueFrom ? t.writeString(this.p(It.valueFrom)) : null != xt && null != xt.valueFrom ? t.writeString(this.p(xt.valueFrom)) : t.writeString(Tt.text), t.writeEndElement() } else if (mt.stimulsoft.is(C)) { var Mt = mt , wt = Mt.clipRectangle , Ot = "s" + W.newGuid(); t.writeStartElement("defs"), t.writeStartElement("clipPath"), t.writeAttributeString("id", Ot), t.writeStartElement("rect"), t.writeAttributeString("x", (wt.x + this.dx).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("y", (wt.y + this.dy).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("width", wt.width.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", wt.height.toString().stimulsoft.replaceAll(",", ".")), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), j = Ot } else if (mt.stimulsoft.is(E)) j = ""; else if (mt.stimulsoft.is(q)) { var _t = mt.stimulsoft.as(q) , wt = _t.rect , Ot = "s" + W.newGuid(); t.writeStartElement("defs"), t.writeStartElement("filter"), t.writeAttributeString("id", Ot), 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"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("x", (wt.x + this.dx).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("y", (wt.y + this.dy).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", wt.height.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("width", wt.width.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("fill", "rgb(150,150,150)"), t.writeAttributeString("filter", o.format("url(#{0})", Ot)), t.writeAttributeString("rx", _t.radiusX.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("ry", _t.radiusY.toString().stimulsoft.replaceAll(",", ".")), a && (t.writeAttributeString("opacity", "0"), this.addAnimation(t, '[["opacity", 0, 1, ""]]', _t.animation.beginTime, _t.animation.duration)), t.writeEndElement() } else if (mt.stimulsoft.is(S)) { var yt = mt , wt = yt.rect.stimulsoft.as(ut) , Lt = new v(yt.animation.duration,yt.animation.beginTime) , Ct = new c; if (null != yt.background ? Ct.append(this.writeFillBrush(t, yt.background, wt)) : Ct.append("fill:none;"), this.checkPenGeom(yt.borderPen)) { var Et = o.format("{0}", this.writeBorderStroke(t, yt.borderPen.brush, wt)); Ct.append(o.format("{0};stroke-width:{1};", Et, yt.borderPen.thickness)) } t.writeStartElement("rect"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("x", (wt.x + this.dx).toString().replace(",", ".")), t.writeAttributeString("y", (wt.y + this.dy).toString().replace(",", ".")), t.writeAttributeString("width", wt.width.toString().replace(",", ".")), t.writeAttributeString("height", wt.height.toString().replace(",", ".")), t.writeAttributeString("style", Ct.toString()), t.writeAttributeString("shape-rendering", "crispEdges"), null != Lt && (t.writeAttributeString("opacity", "0"), this.addAnimation(t, '[["opacity", 0 , 1,""]]', Lt.beginTime, Lt.duration)), this.writeInteracrion(t, yt.interaction), null == yt.toolTip || o.isNullOrEmpty(yt.toolTip.toString()) || this.writeTooltip(t, yt.toolTip.toString()), t.writeEndElement() } else if (mt.stimulsoft.is(et)) { var yt = mt.stimulsoft.as(et) , wt = yt.columnRect.stimulsoft.as(ut) , bt = null != yt.animation ? yt.animation.stimulsoft.as(K) : null , vt = null != bt ? bt.rectFrom : ut.empty , Ct = new c; if (null != yt.background ? Ct.append(this.writeFillBrush(t, yt.background, wt)) : Ct.append("fill:none;"), this.checkPenGeom(yt.borderPen)) { var Et = o.format("{0}", this.writeBorderStroke(t, yt.borderPen.brush, wt)); Ct.append(o.format("{0};stroke-width:{1};", Et, yt.borderPen.thickness)) } var jt = wt.height.toString().stimulsoft.replaceAll(",", "."); t.writeStartElement("rect"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("shape-rendering", "crispEdges"), t.writeAttributeString("width", this.p(wt.width)), t.writeAttributeString("x", this.p(wt.x + this.dx)), a ? yt.value > 0 ? 0 == vt.height ? (t.writeAttributeString("y", this.p(wt.height + wt.y + this.dy)), t.writeAttributeString("y", "0"), this.addAnimation(t, '[["height", 0, ' + jt + ', ""], ["y",' + this.p(wt.height + wt.y + this.dy) + ", " + this.p(wt.y + this.dy) + ', ""]]', yt.animation.beginTime, yt.animation.duration)) : (t.writeAttributeString("y", this.p(vt.y + this.dy)), t.writeAttributeString("height", this.p(vt.height)), bt.valueFrom >= 0 ? this.addAnimation(t, '[["height", ' + this.p(vt.height) + ", " + jt + ', ""], ["y",' + this.p(vt.y + this.dy) + ", " + this.p(wt.y + this.dy) + ', ""]]', yt.animation.beginTime, yt.animation.duration) : (this.addAnimation(t, '[["height",' + this.p(vt.height) + ', 0,""]]', yt.animation.beginTime, yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2))), this.addAnimation(t, '[["height", 0, ' + this.p(wt.height) + ', ""], ["y",' + this.p(wt.height + wt.y + this.dy) + ", " + this.p(wt.y + this.dy) + ', ""]]', yt.animation.beginTime.add2(z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), "1"))) : 0 == vt.height ? (t.writeAttributeString("y", this.p(wt.y + this.dy)), t.writeAttributeString("y", "0"), this.addAnimation(t, '[["height", 0, ' + jt + ',""]]', yt.animation.beginTime, yt.animation.duration)) : (t.writeAttributeString("height", this.p(vt.height)), bt.valueFrom >= 0 ? (t.writeAttributeString("y", this.p(vt.y + this.dy)), this.addAnimation(t, '[["height", ' + this.p(vt.height) + ', 0, ""], ["y",' + this.p(vt.y + this.dy) + ", " + this.p(vt.height + vt.y + this.dy) + ', ""]]', yt.animation.beginTime, yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2))), this.addAnimation(t, '[["height", 0, ' + jt + ', ""]]', yt.animation.beginTime.add2(z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), "1")) : (t.writeAttributeString("y", this.p(vt.y + this.dy)), this.addAnimation(t, '[["height", ' + this.p(vt.height) + ", " + jt + ',""]]', yt.animation.beginTime, yt.animation.duration))) : (t.writeAttributeString("height", this.p(wt.height)), t.writeAttributeString("y", this.p(wt.y + this.dy))), this.writeInteracrion(t, yt.interaction), t.writeAttributeString("style", Ct.toString()), null == yt.toolTip || o.isNullOrEmpty(yt.toolTip.toString()) || this.writeTooltip(t, yt.toolTip.toString()), t.writeEndElement() } else if (mt.stimulsoft.is(it)) { var Ht = mt.stimulsoft.as(it); if (this.checkPenGeom(Ht.pen)) { var Ot = "g" + W.newGuid(); if (Ht.animation.type == ct.Translation) { var Gt = Ht.pen.brush.stimulsoft.as(s); t.writeStartElement("g"), t.writeStartElement("defs"), t.writeStartElement("linearGradient"), t.writeAttributeString("id", Ot), 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", o.format("rgba({0},{1},{2},{3})", Gt.r, Gt.g, Gt.b, Math.round2(Gt.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("stop-opacity", "1"), t.writeAttributeString("style", "x: 0px;"), this.addAnimation(t, '[["offset", 0 , 100,"%"]]', Ht.animation.beginTime, Ht.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 Qt = null != Ht.animation ? Ht.animation.stimulsoft.as(at) : null; t.writeStartElement("polyline"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)); for (var Yt = new c, Ut = new c, Jt = 0; Ht.points.length > Jt; Jt++) { var Wt = Ht.points[Jt] , Vt = 0; Jt == Ht.points.length - 1 && (Vt = 1e-4 * Jt), null == Qt ? Yt.appendFormat("{0},{1} ", this.p(Wt.x + this.dx), this.p(Wt.y + this.dy + Vt)) : (Yt.appendFormat("{0},{1} ", this.p(Qt.pointsFrom[Jt].x + this.dx), this.p(Qt.pointsFrom[Jt].y + this.dy + Vt)), Ut.appendFormat("{0},{1} ", this.p(Wt.x + this.dx), this.p(Wt.y + this.dy + Vt))) } if (t.writeAttributeString("fill", "none"), t.writeAttributeString("points", Yt.toString()), Ht.animation.type == ct.Opacity || null != Qt) { var Et = o.format("{0}", this.writeBorderStroke(t, Ht.pen.brush, new ut)) , Ct = new c; Ct.appendFormat("{0};stroke-width:{1};", Et, this.p(Ht.pen.thickness)), t.writeAttributeString("style", Ct.toString()), null == Qt ? (t.writeAttributeString("opacity", "0"), this.addAnimation(t, '[["opacity", 0 , 1,""]]', Ht.animation.beginTime, Ht.animation.duration)) : this.addAnimation(t, '[["points", "' + Yt.toString() + '", "' + Ut.toString() + '",""]]', Ht.animation.beginTime, Ht.animation.duration) } else Ht.animation.type == ct.Translation && (t.writeAttributeString("stroke-width", Ht.pen.thickness.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("stroke", o.format("url(#{0})", Ot))); Ht.pen.penStyle != _.Solid && t.writeAttributeString("stroke-dasharray", e.StiSvgHelper.getLineStyleDash(Ht.pen.penStyle, Ht.pen.thickness)), t.writeEndElement() } } else if (mt.stimulsoft.is(rt)) { var zt = mt.stimulsoft.as(rt) , wt = zt.rect.stimulsoft.as(ut) , Ct = "" , Xt = ""; if (Ct = null != zt.background ? this.writeFillBrush(t, zt.background, wt) : "fill:none;", this.checkPenGeom(zt.borderPen)) { var Et = o.format("{0}", this.writeBorderStroke(t, zt.borderPen.brush, wt)); Ct += o.format("{0};stroke-width:{1};", Et, zt.borderPen.thickness.toString().stimulsoft.replaceAll(",", ".")) } t.writeStartElement("ellipse"), t.writeAttributeString("rx", (wt.width / 2).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("ry", (wt.height / 2).toString().stimulsoft.replaceAll(",", ".")), zt.animation.type != ct.Scale && (t.writeAttributeString("cx", (wt.x + this.dx + wt.width / 2).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("cy", (wt.y + this.dy + wt.height / 2).toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("style", Ct), zt.animation.type == ct.Opacity ? (t.writeAttributeString("opacity", "0"), this.addAnimation(t, '[["opacity", 0 , 1,""]]', zt.animation.beginTime, zt.animation.duration)) : zt.animation.type == ct.Scale && (t.writeAttributeString("transform", "scale(0)"), this.addAnimation(t, o.format('[["transform", 0 , 1,")","translate({0},{1}) scale("]]', (wt.x + this.dx + wt.width / 2).toString().stimulsoft.replaceAll(",", "."), (wt.y + this.dy + wt.height / 2).toString().stimulsoft.replaceAll(",", ".")), zt.animation.beginTime, zt.animation.duration)), this.writeInteracrion(t, zt.interaction), null == zt.toolTip || o.isNullOrEmpty(zt.toolTip.toString()) || this.writeTooltip(t, zt.toolTip.toString()), t.writeEndElement() } else if (mt.stimulsoft.is(nt)) { var Kt = mt.stimulsoft.as(nt) , wt = Kt.rect.stimulsoft.as(ut) , Ct = "" , Xt = ""; if (Ct = null != Kt.background ? this.writeFillBrush(t, Kt.background, wt) : "fill:none;", this.checkPenGeom(Kt.borderPen)) { var Et = o.format("{0}", this.writeBorderStroke(t, Kt.borderPen.brush, wt)); Ct += o.format("{0};stroke-width:{1};", Et, Kt.borderPen.thickness.toString().stimulsoft.replaceAll(",", ".")) } var Zt = { ref: null } , qt = { ref: null } , $t = this.getPathData(Kt.pathGeoms, this.dx, this.dy, Zt, qt); t.writeStartElement("path"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("d", $t), t.writeAttributeString("style", Ct), 0 == Zt.ref.length ? null != Kt.animation && (t.writeAttributeString("opacity", "0"), this.addAnimation(t, '[["opacity", 0 , 1,""]]', Kt.animation.beginTime, Kt.animation.duration)) : 1 == Kt.pathGeoms.length && Kt.pathGeoms[0].stimulsoft.is(R) ? this.addAnimation(t, '[["pie", "' + Zt.ref + '", 1,""]]', z.fromMilliseconds(0), qt.ref) : this.addAnimation(t, '[["path", "' + Zt.ref + '", 1,""]]', z.fromMilliseconds(0), qt.ref), this.writeInteracrion(t, Kt.interaction), null == Kt.toolTip || o.isNullOrEmpty(Kt.toolTip.toString()) || this.writeTooltip(t, Kt.toolTip.toString()), t.writeEndElement() } else if (mt.stimulsoft.is($)) { var Kt = mt.stimulsoft.as($) , wt = Kt.rect.stimulsoft.as(ut) , Ct = "" , Xt = ""; if (Ct = null != Kt.background ? this.writeFillBrush(t, Kt.background, wt) : "fill:none;", this.checkPenGeom(Kt.pen)) { var Et = o.format("{0}", this.writeBorderStroke(t, Kt.pen.brush, wt)); Ct += o.format("{0};stroke-width:{1};", Et, Kt.pen.thickness.toString().stimulsoft.replaceAll(",", ".")) } var Zt = { ref: null } , qt = { ref: null } , $t = this.getPathData(Kt.geoms, this.dx, this.dy, Zt, qt); t.writeStartElement("path"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("d", $t), t.writeAttributeString("style", Ct), null != Kt.animation ? (t.writeAttributeString("opacity", "0"), this.addAnimation(t, '[["opacity", 0 , 1,""]]', Kt.animation.beginTime, Kt.animation.duration)) : 0 != Zt.ref.length && this.addAnimation(t, '[["path", "' + Zt.ref + '", 1,""]]', z.fromMilliseconds(0), qt.ref), this.writeInteracrion(t, Kt.interaction), t.writeEndElement() } else if (mt.stimulsoft.is(tt)) { var te = mt.stimulsoft.as(tt) , Qt = null != te.animation ? te.animation.stimulsoft.as(at) : null; if (this.checkPenGeom(te.pen)) { var Ot = "g" + W.newGuid() , Gt = te.pen.brush.stimulsoft.as(s); t.writeStartElement("g"), t.writeStartElement("defs"), t.writeStartElement("linearGradient"), t.writeAttributeString("id", Ot), 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", o.format("rgba({0},{1},{2},{3})", Gt.r, Gt.g, Gt.b, Math.round2(Gt.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("stop-opacity", "1"), t.writeAttributeString("style", "x: 0px;"), null == Qt && this.addAnimation(t, '[["offset", 0 , 100,"%"]]', te.animation.beginTime, te.animation.duration), t.writeEndElement(), null == Qt && (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"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)); var ee = this.convertSplineToCubicBezier(te.points, te.tension); if (null != Qt) { var Zt = new c , re = this.convertSplineToCubicBezier(Qt.pointsFrom, te.tension); Zt.appendFormat("M{0}:{1},{2}:{3} C", this.p(re[0].x + this.dx), this.p(ee[0].x + this.dx), this.p(re[0].y + this.dy), this.p(ee[0].y + this.dy)); for (var ie = 1; ie < ee.length; ie++) Zt.appendFormat("{0}:{1},{2}:{3} ", this.p(re[ie].x + this.dx), this.p(ee[ie].x + this.dx), this.p(re[ie].y + this.dy), this.p(ee[ie].y + this.dy + 1e-4 * ie)); this.addAnimation(t, '[["path", "' + Zt + '", 1,""]]', z.fromMilliseconds(0), z.fromSeconds(1)); var ne = new c; ne.appendFormat("M{0},{1} C", (re[0].x + this.dx).toString().stimulsoft.replaceAll(",", "."), (re[0].y + this.dy).toString().stimulsoft.replaceAll(",", ".")); for (var ie = 1; ie < re.length; ie++) ne.appendFormat("{0},{1} ", (re[ie].x + this.dx).toString().stimulsoft.replaceAll(",", "."), (re[ie].y + this.dy + 1e-4 * ie).toString().stimulsoft.replaceAll(",", ".")); t.writeAttributeString("d", ne.toString()) } else { var ne = new c; ne.appendFormat("M{0},{1} C", (ee[0].x + this.dx).toString().stimulsoft.replaceAll(",", "."), (ee[0].y + this.dy).toString().stimulsoft.replaceAll(",", ".")); for (var ie = 1; ie < ee.length; ie++) ne.appendFormat("{0},{1} ", (ee[ie].x + this.dx).toString().stimulsoft.replaceAll(",", "."), (ee[ie].y + this.dy + 1e-4 * ie).toString().stimulsoft.replaceAll(",", ".")); t.writeAttributeString("d", ne.toString()) } t.writeAttributeString("fill", "none"), t.writeAttributeString("stroke-width", te.pen.thickness.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("stroke", o.format("url(#{0})", Ot)), te.pen.penStyle != _.Solid && t.writeAttributeString("stroke-dasharray", e.StiSvgHelper.getLineStyleDash(te.pen.penStyle, te.pen.thickness)), t.writeEndElement() } } else if (mt.stimulsoft.is(et)) { var yt = mt.stimulsoft.as(et) , wt = yt.columnRect.stimulsoft.as(ut) , bt = null != yt.animation ? yt.animation.stimulsoft.as(K) : null , vt = null != bt ? bt.rectFrom : ut.empty , Ct = new c; if (null != yt.background ? Ct.append(this.writeFillBrush(t, yt.background, wt)) : Ct.append("fill:none;"), this.checkPenGeom(yt.borderPen)) { var Et = o.format("{0}", this.writeBorderStroke(t, yt.borderPen.brush, wt)); Ct.append(o.format("{0};stroke-width:{1};", Et, yt.borderPen.thickness)) } var jt = wt.height.toString().stimulsoft.replaceAll(",", "."); t.writeStartElement("rect"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("shape-rendering", "crispEdges"), t.writeAttributeString("width", this.p(wt.width)), t.writeAttributeString("x", this.p(wt.x + this.dx)), a ? yt.value > 0 ? 0 == vt.height ? (t.writeAttributeString("y", this.p(wt.height + wt.y + this.dy)), this.addAnimation(t, '[["height", 0, ' + jt + ', ""], ["y",' + this.p(wt.height + wt.y + this.dy) + ", " + this.p(wt.y + this.dy) + ', ""]]', yt.animation.beginTime, yt.animation.duration)) : (t.writeAttributeString("y", this.p(vt.y + this.dy)), bt.valueFrom >= 0 ? this.addAnimation(t, '[["height", ' + this.p(vt.height) + ", " + jt + ', ""], ["y",' + this.p(vt.y + this.dy) + ", " + this.p(wt.y + this.dy) + ', ""]]', yt.animation.beginTime, yt.animation.duration) : (this.addAnimation(t, '[["height",' + this.p(vt.height) + ', 0,""]]', yt.animation.beginTime, yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2))), this.addAnimation(t, '[["height", 0, ' + this.p(wt.height) + ', ""], ["y",' + this.p(wt.height + wt.y + this.dy) + ", " + this.p(wt.y + this.dy) + ', ""]]', yt.animation.beginTime.add2(z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), "1"))) : 0 == vt.height ? (t.writeAttributeString("y", this.p(wt.y + this.dy)), this.addAnimation(t, '[["height", 0, ' + jt + ',""]]', yt.animation.beginTime, yt.animation.duration)) : bt.valueFrom >= 0 ? (t.writeAttributeString("y", this.p(vt.y + this.dy)), this.addAnimation(t, '[["height", ' + this.p(vt.height) + ', 0, ""], ["y",' + this.p(vt.y + this.dy) + ", " + this.p(vt.height + vt.y + this.dy) + ', ""]]', yt.animation.beginTime, yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2))), this.addAnimation(t, '[["height", 0, ' + jt + ', ""]]', yt.animation.beginTime.add2(z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), yt.animation.duration.add(-z.fromMilliseconds(yt.animation.duration.totalMilliseconds / 2)), "1")) : (t.writeAttributeString("y", this.p(vt.y + this.dy)), this.addAnimation(t, '[["height", ' + this.p(vt.height) + ", " + jt + ',""]]', yt.animation.beginTime, yt.animation.duration)) : (t.writeAttributeString("height", this.p(wt.height)), t.writeAttributeString("y", this.p(wt.y + this.dy))), this.writeInteracrion(t, yt.interaction), t.writeAttributeString("style", Ct.toString()), null == yt.toolTip || o.isNullOrEmpty(yt.toolTip.toString()) || this.writeTooltip(t, yt.toolTip.toString()), t.writeEndElement() } else if (mt.stimulsoft.is(it)) { var Ht = mt.stimulsoft.as(it); if (this.checkPenGeom(Ht.pen)) { var Ot = "g" + W.newGuid(); if (Ht.animation.type == ct.Translation) { var Gt = Ht.pen.brush.stimulsoft.as(s); t.writeStartElement("g"), t.writeStartElement("defs"), t.writeStartElement("linearGradient"), t.writeAttributeString("id", Ot), 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", o.format("rgba({0},{1},{2},{3})", Gt.r, Gt.g, Gt.b, Math.round2(Gt.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("stop-opacity", "1"), t.writeAttributeString("style", "x: 0px;"), this.addAnimation(t, '[["offset", 0 , 100,"%"]]', Ht.animation.beginTime, Ht.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 Qt = null != Ht.animation ? Ht.animation.stimulsoft.as(at) : null; t.writeStartElement("polyline"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)); for (var Yt = new c, Ut = new c, Jt = 0; Ht.points.length > Jt; Jt++) { var Wt = Ht.points[Jt] , Vt = 0; Jt == Ht.points.length - 1 && (Vt = 1e-4), null == Qt ? Yt.appendFormat("{0},{1} ", this.p(Wt.x + this.dx), this.p(Wt.y + this.dy + Vt)) : (Yt.appendFormat("{0},{1} ", this.p(Qt.pointsFrom[Jt].x + this.dx), this.p(Qt.pointsFrom[Jt].y + this.dy + Vt)), Ut.appendFormat("{0},{1} ", this.p(Wt.x + this.dx), this.p(Wt.y + this.dy + Vt))) } if (t.writeAttributeString("fill", "none"), t.writeAttributeString("points", Yt.toString()), Ht.animation.type == ct.Opacity || null != Qt) { var Et = o.format("{0}", this.writeBorderStroke(t, Ht.pen.brush, new u)) , Ct = new c; Ct.appendFormat("{0};stroke-width:{1};", Et, this.p(Ht.pen.thickness)), t.writeAttributeString("style", Ct.toString()), null == Qt ? (t.writeAttributeString("opacity", "0"), this.addAnimation(t, '[["opacity", 0 , 1,""]]', Ht.animation.beginTime, Ht.animation.duration)) : this.addAnimation(t, '[["points", "' + Yt.toString() + '", "' + Ut.toString() + '",""]]', Ht.animation.beginTime, Ht.animation.duration) } else Ht.animation.type == ct.Translation && (t.writeAttributeString("stroke-width", Ht.pen.thickness.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("stroke", o.format("url(#{0})", Ot))); Ht.pen.penStyle != _.Solid && t.writeAttributeString("stroke-dasharray", e.StiSvgHelper.getLineStyleDash(Ht.pen.penStyle, Ht.pen.thickness)), t.writeEndElement() } } else if (mt.stimulsoft.is(rt)) { var zt = mt.stimulsoft.as(rt) , wt = zt.rect.stimulsoft.as(ut) , Ct = "" , Xt = ""; if (Ct = null != zt.background ? this.writeFillBrush(t, zt.background, wt) : "fill:none;", this.checkPenGeom(zt.borderPen)) { var Et = o.format("{0}", this.writeBorderStroke(t, zt.borderPen.brush, wt)); Ct += o.format("{0};stroke-width:{1};", Et, zt.borderPen.thickness.toString().stimulsoft.replaceAll(",", ".")) } t.writeStartElement("ellipse"), t.writeAttributeString("rx", (wt.width / 2).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("ry", (wt.height / 2).toString().stimulsoft.replaceAll(",", ".")), zt.animation.type != ct.Scale && (t.writeAttributeString("cx", (wt.x + this.dx + wt.width / 2).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("cy", (wt.y + this.dy + wt.height / 2).toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("style", Ct), zt.animation.type == ct.Opacity ? (t.writeAttributeString("opacity", "0"), this.addAnimation(t, '[["opacity", 0 , 1,""]]', zt.animation.beginTime, zt.animation.duration)) : zt.animation.type == ct.Scale && (t.writeAttributeString("transform", "scale(0)"), this.addAnimation(t, o.format('[["transform", 0 , 1,")","translate({0},{1}) scale("]]', (wt.x + this.dx + wt.width / 2).toString().stimulsoft.replaceAll(",", "."), (wt.y + this.dy + wt.height / 2).toString().stimulsoft.replaceAll(",", ".")), zt.animation.beginTime, zt.animation.duration)), this.writeInteracrion(t, zt.interaction), null == zt.toolTip || o.isNullOrEmpty(zt.toolTip.toString()) || this.writeTooltip(t, zt.toolTip.toString()), t.writeEndElement() } else if (mt.stimulsoft.is(nt)) { var Kt = mt.stimulsoft.as(nt) , wt = Kt.rect.stimulsoft.as(ut) , Ct = "" , Xt = ""; if (Ct = null != Kt.background ? this.writeFillBrush(t, Kt.background, wt) : "fill:none;", this.checkPenGeom(Kt.borderPen)) { var Et = o.format("{0}", this.writeBorderStroke(t, Kt.borderPen.brush, wt)); Ct += o.format("{0};stroke-width:{1};", Et, Kt.borderPen.thickness.toString().stimulsoft.replaceAll(",", ".")) } var Zt = { ref: null } , qt = { ref: null } , $t = this.getPathData(Kt.pathGeoms, this.dx, this.dy, Zt, qt); t.writeStartElement("path"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("d", $t), t.writeAttributeString("style", Ct), 0 == Zt.ref.length ? null != Kt.animation && (t.writeAttributeString("opacity", "0"), this.addAnimation(t, '[["opacity", 0 , 1,""]]', Kt.animation.beginTime, Kt.animation.duration)) : 1 == Kt.pathGeoms.length && Kt.pathGeoms[0].stimulsoft.is(R) ? this.addAnimation(t, '[["pie", "' + Zt.ref + '", 1,""]]', z.fromMilliseconds(0), qt.ref) : this.addAnimation(t, '[["path", "' + Zt.ref + '", 1,""]]', z.fromMilliseconds(0), qt.ref), this.writeInteracrion(t, Kt.interaction), null == Kt.toolTip || o.isNullOrEmpty(Kt.toolTip.toString()) || this.writeTooltip(t, Kt.toolTip.toString()), t.writeEndElement() } else if (mt.stimulsoft.is($)) { var Kt = mt.stimulsoft.as($) , wt = Kt.rect.stimulsoft.as(ut) , Ct = "" , Xt = ""; if (Ct = null != Kt.background ? this.writeFillBrush(t, Kt.background, wt) : "fill:none;", this.checkPenGeom(Kt.pen)) { var Et = o.format("{0}", this.writeBorderStroke(t, Kt.pen.brush, wt)); Ct += o.format("{0};stroke-width:{1};", Et, Kt.pen.thickness.toString().stimulsoft.replaceAll(",", ".")) } var Zt = { ref: null } , qt = { ref: null } , $t = this.getPathData(Kt.geoms, this.dx, this.dy, Zt, qt); t.writeStartElement("path"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("d", $t), t.writeAttributeString("style", Ct), null != Kt.animation ? (t.writeAttributeString("opacity", "0"), this.addAnimation(t, '[["opacity", 0 , 1,""]]', Kt.animation.beginTime, Kt.animation.duration)) : 0 != Zt.ref.length && this.addAnimation(t, '[["path", "' + Zt.ref + '", 1,""]]', z.fromMilliseconds(0), qt.ref), t.writeEndElement() } else if (mt.stimulsoft.is(tt)) { var te = mt.stimulsoft.as(tt) , Qt = null != te.animation ? te.animation.stimulsoft.as(at) : null; if (this.checkPenGeom(te.pen)) { var Ot = "g" + W.newGuid() , Gt = te.pen.brush.stimulsoft.as(s); t.writeStartElement("g"), t.writeStartElement("defs"), t.writeStartElement("linearGradient"), t.writeAttributeString("id", Ot), 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", o.format("rgba({0},{1},{2},{3})", Gt.r, Gt.g, Gt.b, Math.round2(Gt.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("stop-opacity", "1"), t.writeAttributeString("style", "x: 0px;"), null == Qt && this.addAnimation(t, '[["offset", 0 , 100,"%"]]', te.animation.beginTime, te.animation.duration), t.writeEndElement(), null == Qt && (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"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)); var ee = this.convertSplineToCubicBezier(te.points, te.tension); if (null != Qt) { var Zt = new c , re = this.convertSplineToCubicBezier(Qt.pointsFrom, te.tension); Zt.appendFormat("M{0}:{1},{2}:{3} C", this.p(re[0].x + this.dx), this.p(ee[0].x + this.dx), this.p(re[0].y + this.dy), this.p(ee[0].y + this.dy)); for (var ie = 1; ie < ee.length; ie++) Zt.appendFormat("{0}:{1},{2}:{3} ", this.p(re[ie].x + this.dx), this.p(ee[ie].x + this.dx), this.p(re[ie].y + this.dy), this.p(ee[ie].y + this.dy + 1e-4 * ie)); this.addAnimation(t, '[["path", "' + Zt + '", 1,""]]', z.fromMilliseconds(0), z.fromSeconds(1)); var ne = new c; ne.appendFormat("M{0},{1} C", (re[0].x + this.dx).toString().stimulsoft.replaceAll(",", "."), (re[0].y + this.dy).toString().stimulsoft.replaceAll(",", ".")); for (var ie = 1; ie < re.length; ie++) ne.appendFormat("{0},{1} ", (re[ie].x + this.dx).toString().stimulsoft.replaceAll(",", "."), (re[ie].y + this.dy + 1e-4 * ie).toString().stimulsoft.replaceAll(",", ".")); t.writeAttributeString("d", ne.toString()) } else { var ne = new c; ne.appendFormat("M{0},{1} C", (ee[0].x + this.dx).toString().stimulsoft.replaceAll(",", "."), (ee[0].y + this.dy).toString().stimulsoft.replaceAll(",", ".")); for (var ie = 1; ie < ee.length; ie++) ne.appendFormat("{0},{1} ", (ee[ie].x + this.dx).toString().stimulsoft.replaceAll(",", "."), (ee[ie].y + this.dy + 1e-4 * ie).toString().stimulsoft.replaceAll(",", ".")); t.writeAttributeString("d", ne.toString()) } t.writeAttributeString("fill", "none"), t.writeAttributeString("stroke-width", te.pen.thickness.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("stroke", o.format("url(#{0})", Ot)), te.pen.penStyle != _.Solid && t.writeAttributeString("stroke-dasharray", e.StiSvgHelper.getLineStyleDash(te.pen.penStyle, te.pen.thickness)), t.writeEndElement() } } else if (mt.stimulsoft.is(n)) { var oe = mt.stimulsoft.as(n); null != oe.image && (t.writeStartElement("image"), t.writeAttributeString("x", oe.rect.x.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("y", oe.rect.y.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("width", oe.rect.width.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", oe.rect.height.toString().stimulsoft.replaceAll(",", ".")), t.writeStartAttribute(null, "xlink:href", null), t.writeString("data:image/jpg;base64,"), t.writeRaw("\r\n"), t.writeString(i.toBase64String(oe.image)), t.writeEndAttribute(), t.writeEndElement()) } else if (mt.stimulsoft.is(y)) { var yt = mt.stimulsoft.as(y) , wt = yt.rect.stimulsoft.as(l) , Ct = new c; if (null != yt.background && Ct.append(this.writeFillBrush(t, yt.background, wt)), this.checkPenGeom(yt.borderPen) && Ct.append("fill:none;"), this.checkPenGeom(yt.borderPen)) { var Et = o.format("{0}", this.writeBorderStroke(t, yt.borderPen.brush, wt)); Ct.append(o.format("{0}stroke-width:{1};", Et, yt.borderPen.thickness)) } t.writeStartElement("rect"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("x", (wt.x + this.dx).toString()), t.writeAttributeString("y", (wt.y + this.dy).toString()), t.writeAttributeString("width", wt.width.toString()), t.writeAttributeString("height", wt.height.toString()), t.writeAttributeString("style", Ct.toString()), t.writeAttributeString("shape-rendering", "crispEdges"), this.writeInteracrion(t, yt.interaction), t.writeEndElement() } else if (mt.stimulsoft.is(w)) { var ae = mt.stimulsoft.as(w); if (this.checkPenGeom(ae.pen)) { t.writeStartElement("line"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("x1", (ae.x1 + this.dx).toString()), t.writeAttributeString("y1", (ae.y1 + this.dy).toString()), t.writeAttributeString("x2", (ae.x2 + this.dx).toString()), t.writeAttributeString("y2", (ae.y2 + this.dy).toString()); var Et = o.format("{0}", this.writeBorderStroke(t, ae.pen.brush, new l)) , Ct = o.format("{0}stroke-width:{1};", Et, ae.pen.thickness); t.writeAttributeString("style", Ct), ae.pen.penStyle != _.Solid && t.writeAttributeString("stroke-dasharray", e.StiSvgHelper.getLineStyleDash(ae.pen.penStyle, ae.pen.thickness)), t.writeEndElement() } } else if (mt.stimulsoft.is(b)) { var Ht = mt.stimulsoft.as(b); if (this.checkPenGeom(Ht.pen)) { t.writeStartElement("polyline"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)); for (var Yt = new c, se = 0; se < Ht.points.length; se++) { var Wt = Ht.points[se]; Yt.appendFormat("{0},{1} ", (Wt.x + this.dx).toString(), (Wt.y + this.dy + 1e-4 * se).toString()) } t.writeAttributeString("fill", "none"), t.writeAttributeString("points", Yt.toString()); var Et = o.format("{0}", this.writeBorderStroke(t, Ht.pen.brush, new l)) , Ct = new c; Ct.appendFormat("{0}stroke-width:{1};", Et, Ht.pen.thickness), t.writeAttributeString("style", Ct.toString()), Ht.pen.penStyle != _.Solid && t.writeAttributeString("stroke-dasharray", e.StiSvgHelper.getLineStyleDash(Ht.pen.penStyle, Ht.pen.thickness)), t.writeEndElement() } } else if (mt.stimulsoft.is(B)) { var te = mt.stimulsoft.as(B); if (this.checkPenGeom(te.pen)) { t.writeStartElement("path"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)); var ee = this.convertSplineToCubicBezier(te.points, te.tension) , ne = new c; ne.appendFormat("M{0},{1} C", ee[0].x + this.dx, ee[0].y + this.dy); for (var ie = 1; ie < ee.length; ie++) ne.appendFormat("{0},{1} ", ee[ie].x + this.dx, ee[ie].y + this.dy); t.writeAttributeString("d", ne.toString()), t.writeAttributeString("fill", "none"); var Et = o.format("{0}", this.writeBorderStroke(t, te.pen.brush, new l)) , Ct = o.format("{0}stroke-width:{1};", Et, te.pen.thickness); t.writeAttributeString("style", Ct), te.pen.penStyle != _.Solid && t.writeAttributeString("stroke-dasharray", e.StiSvgHelper.getLineStyleDash(te.pen.penStyle, te.pen.thickness)), t.writeEndElement() } } else if (mt.stimulsoft.is(T)) { var zt = mt.stimulsoft.as(T) , wt = zt.rect.stimulsoft.as(l) , Ct = ""; if (Ct = null != zt.background ? this.writeFillBrush(t, zt.background, wt) : "fill-opacity:0;", this.checkPenGeom(zt.borderPen)) { var Et = o.format("{0}", this.writeBorderStroke(t, zt.borderPen.brush, wt)); Ct += o.format("{0}stroke-width:{1};", Et, zt.borderPen.thickness) } t.writeStartElement("ellipse"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("cx", (wt.x + this.dx + wt.width / 2).toString()), t.writeAttributeString("cy", (wt.y + this.dy + wt.height / 2).toString()), t.writeAttributeString("rx", (wt.width / 2).toString()), t.writeAttributeString("ry", (wt.height / 2).toString()), t.writeAttributeString("style", Ct), this.writeInteracrion(t, zt.interaction), this.writeTooltip(t, zt.toolTip), t.writeEndElement() } else if (mt.stimulsoft.is(I) && G) { var _t = mt.stimulsoft.as(I) , wt = _t.rect; wt.x += 2, wt.y += 2; var Ot = "s" + W.newGuid(); t.writeStartElement("defs"), t.writeStartElement("filter"), t.writeAttributeString("id", Ot), t.writeStartElement("feGaussianBlur"), t.writeAttributeString("in", "SourceGraphic"), t.writeAttributeString("stdDeviation", "2"), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("rect"), t.writeAttributeString("x", (wt.x + this.dx).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("y", (wt.y + this.dy).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("width", wt.width.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", wt.height.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("fill", "rgba(190,190,190,10)"), t.writeAttributeString("filter", "url(#" + Ot + ")"), t.writeEndElement() } else if (mt.stimulsoft.is(x)) { var _t = mt.stimulsoft.as(x) , Ot = "s" + W.newGuid(); t.writeStartElement("defs"), t.writeStartElement("filter"), t.writeAttributeString("id", Ot), 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 le = (O = void 0, __values(_t.shadowContext.geoms)), ue = le.next(); !ue.done; ue = le.next()) { var ce = ue.value , Zt = { ref: null } , qt = { ref: null } , me = ce.stimulsoft.as(D); if (null != me) { var $t = this.getPathData(me.geoms, this.dx, this.dy, Zt, qt); t.writeStartElement("path"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("d", $t), t.writeAttributeString("fill", "rgb(150,150,150)"), t.writeAttributeString("filter", o.format("url(#{0})", Ot)), t.writeEndElement() } } } catch (t) { O = { error: t } } finally { try { ue && !ue.done && (L = le.return) && L.call(le) } finally { if (O) throw O.error } } } else if (mt.stimulsoft.is(F)) { var Tt = mt.stimulsoft.as(F); "Stimulsoft" == Tt.font.fontName && this.writeStimulsoftIconFont(); var Ft = new J(Tt.font.fontName,Tt.font.fontSize,Tt.font.fontStyle,Tt.font.unit) , Dt = new m; Dt.alignment = Tt.stringFormat.alignment, Dt.formatFlags = Tt.stringFormat.formatFlags, Dt.hotkeyPrefix = Tt.stringFormat.hotkeyPrefix, Dt.lineAlignment = Tt.stringFormat.lineAlignment, Dt.trimming = Tt.stringFormat.trimming; var pe = new Y; if (0 != Tt.angle || Tt.location.stimulsoft.is(Y) || Tt.isRotatedText) if (Tt.location.stimulsoft.is(Y)) pe = Tt.location.stimulsoft.as(Y); else { var wt = Tt.location.stimulsoft.as(l); pe = new Y(wt.x + wt.width / 2,wt.y + wt.height / 2) } else { var he = Tt.location.stimulsoft.as(l); pe = new Y(he.x,he.y) } var Ct = new c , Rt = 4 * Ft.size / 3; switch (t.writeStartElement("text"), Tt.rotationMode) { case p.LeftCenter: t.writeAttributeString("dy", "0.35em"); break; case p.LeftBottom: break; case p.CenterTop: Ct.appendFormat("text-anchor:{0};", "middle"), t.writeAttributeString("dy", "1em"); break; case p.CenterCenter: Ct.appendFormat("text-anchor:{0};", "middle"), t.writeAttributeString("dy", "0.35em"); break; case p.CenterBottom: Ct.appendFormat("text-anchor:{0};", "middle"); break; case p.RightTop: Ct.appendFormat("text-anchor:{0};", "end"), t.writeAttributeString("dy", "1em"); break; case p.RightCenter: Ct.appendFormat("text-anchor:{0};", "end"), t.writeAttributeString("dy", "0.35em"); break; case p.RightBottom: Ct.appendFormat("text-anchor:{0};", "end"); break; default: t.writeAttributeString("dy", "1em"); break } 0 != Tt.angle || 0 != Tt.maximalWidth && null != Tt.maximalWidth ? t.writeAttributeString("transform", o.format("translate({0}, {1}) rotate({2} 0,0)", (pe.x + this.dx).toString(), (pe.y + this.dy).toString(), Tt.angle)) : (o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("x", (pe.x + this.dx).toString()), t.writeAttributeString("y", (pe.y + this.dy).toString())), t.writeAttributeString("font-size", Rt.toString()), t.writeAttributeString("font-family", Ft.fontFamily.name), (Ft.style & X.Bold) > 0 && t.writeAttributeString("font-weight", "bold"), (Ft.style & X.Italic) > 0 && t.writeAttributeString("font-style", "italic"); var de = ""; (Ft.style & X.Underline) > 0 && (de += "underline"), (Ft.style & X.Strikeout) > 0 && (de += " line-through"), o.isNullOrEmpty(de) || t.writeAttributeString("text-decoration", de); var Pt = Tt.brush.stimulsoft.is(s) ? Tt.brush.stimulsoft.as(s) : Q.toColor(Tt.brush.stimulsoft.as(Q)); if (Ct.append(o.format("fill:#{0:X2}{1:X2}{2:X2};", Pt.r, Pt.g, Pt.b)), 255 != Pt.a && Ct.append(o.format("fill-opacity:{0}", Math.round2(Pt.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("style", Ct.toString()), 0 != Tt.maximalWidth && null != Tt.maximalWidth) { for (var ge = Tt.text.length, fe = ge, he = new V(0,0), ie = 0; ie < ge; ie++) if (he = r.measureString(Tt.text.substring(0, ie), Tt.font), he.width > Tt.maximalWidth && 0 != ie) { fe = ie - 1; break } var Se = Math.ceil(ge / fe) , Ae = 0; switch (Tt.rotationMode) { case p.LeftCenter: case p.CenterCenter: case p.RightCenter: Ae = -Se * he.height / 2 + he.height / 2; break; default: Ae = 0; break } if (fe > 0) { var ye = 0 , ie = 0; while (ye < ge) t.writeStartElement("tspan"), t.writeAttributeString("x", "0"), 0 == ie ? t.writeAttributeString("y", Ae.toString()) : t.writeAttributeString("dy", he.height.toString()), t.writeString(Tt.text.substr(ye, fe)), t.writeEndElement(), ye += fe, ie++ } } else t.writeString(Tt.text); t.writeEndElement() } else if (mt.stimulsoft.is(D)) { var Kt = mt.stimulsoft.as(D) , Ct = "" , Xt = ""; if (Ct = null != Kt.background ? this.writeFillBrush(t, Kt.background, Kt.rect) : "fill-opacity:0;", this.checkPenGeom(Kt.pen)) { var Et = o.format("{0}", this.writeBorderStroke(t, Kt.pen.brush, Kt.rect)); Ct += o.format("{0}stroke-width:{1};", Et, Kt.pen.thickness) } var $t = this.getPathData(Kt.geoms, this.dx, this.dy, { ref: null }, { ref: null }); t.writeStartElement("path"), o.isNullOrEmpty(j) || t.writeAttributeString("clip-path", o.format("url(#{0})", j)), t.writeAttributeString("d", $t), t.writeAttributeString("style", Ct), this.writeInteracrion(t, Kt.interaction), this.writeTooltip(t, Kt.toolTip), t.writeEndElement() } } } catch (t) { k = { error: t } } finally { try { dt && !dt.done && (M = ht.return) && M.call(ht) } finally { if (k) throw k.error } } } , r.addAnimation = function(t, e, r, i, n) { void 0 === n && (n = ""); var a = "{" + o.format('"actions":{0}, "begin":{1}, "duration":{2}', e, Math.round2(r.totalMilliseconds), Math.round2(i.totalMilliseconds)) + "}"; t.writeAttributeString("_animation" + n, a) } , r.rectToCenterPoint = function(t) { return new Y(t.x + t.width / 2,t.y + t.height / 2) } , r.writeInteracrion = function(t, e) { if (null != e && (t.writeAttributeString("interaction", null != e.componentName ? e.componentName.toString() : null), t.writeAttributeString("pageguid", null != e.pageGuid ? e.pageGuid.toString() : null), t.writeAttributeString("compindex", null != e.componentIndex ? e.componentIndex.toString() : null), t.writeAttributeString("pageindex", null != e.pageIndex ? e.pageIndex.toString() : null), t.writeAttributeString("elementindex", null != e.elementIndex ? e.elementIndex.toString() : null), null != e.seriesInteractionData)) { var r = null != e.seriesInteractionData.argument ? e.seriesInteractionData.argument.toString() : null; o.isNullOrEmpty(r) && (r = null != e.seriesInteractionData.series ? e.seriesInteractionData.series.coreTitle : null), o.isNullOrEmpty(r) || t.writeAttributeString("elementargument", r), null != e.seriesInteractionData.value && t.writeAttributeString("elementvalue", e.seriesInteractionData.value.toString()); var i = null != e.seriesInteractionData.series ? e.seriesInteractionData.series.titleValue : null; o.isNullOrEmpty(i) || t.writeAttributeString("elementseries", i) } } , r.getPathData = function(t, e, r, i, n) { var o, a, s = "", l = new c, u = z.fromMilliseconds(0), m = 0; try { for (var p = __values(t), h = p.next(); !h.done; h = p.next()) { var d = h.value; if (d.stimulsoft.is(P)) { var g = d.stimulsoft.as(P); s += this.addArcPath(g, s, e, r) } else if (d.stimulsoft.is(M)) { for (var f = d.stimulsoft.as(M), S = null != f.animation ? f.animation.stimulsoft.as(at) : null, A = U.cardinalSpline(f.points, !1), y = null != S ? U.cardinalSpline(S.PointsFrom, !1) : null, w = new c, b = 1; b < A.length; b += 3) null != S ? (1 == b ? w.appendFormat("C{0},{1},{2},{3},{4},{5}", (y[b].x + e).toString().stimulsoft.replaceAll(",", "."), (y[b].y + r).toString().stimulsoft.replaceAll(",", "."), (y[b + 1].x + e).toString().stimulsoft.replaceAll(",", "."), (y[b + 1].y + r).toString().stimulsoft.replaceAll(",", "."), (y[b + 2].x + e).toString().stimulsoft.replaceAll(",", "."), (y[b + 2].y + r).toString().stimulsoft.replaceAll(",", ".")) : w.appendFormat(",{0},{1},{2},{3},{4},{5}", (y[b].x + e).toString().stimulsoft.replaceAll(",", "."), (y[b].y + r).toString().stimulsoft.replaceAll(",", "."), (y[b + 1].x + e).toString().stimulsoft.replaceAll(",", "."), (y[b + 1].y + r).toString().stimulsoft.replaceAll(",", "."), (y[b + 2].x + e).toString().stimulsoft.replaceAll(",", "."), (y[b + 2].y + r + 1e-4 * b).toString().stimulsoft.replaceAll(",", ".")), 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(A[b].x + e), this.p(y[b].y + r), this.p(A[b].y + r), this.p(y[b + 1].x + e), this.p(A[b + 1].x + e), this.p(y[b + 1].y + r), this.p(A[b + 1].y + r), this.p(y[b + 2].x + e), this.p(A[b + 2].x + e), this.p(y[b + 2].y + r), this.p(A[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(A[b].x + e), this.p(y[b].y + r), this.p(A[b].y + r), this.p(y[b + 1].x + e), this.p(A[b + 1].x + e), this.p(y[b + 1].y + r), this.p(A[b + 1].y + r), this.p(y[b + 2].x + e), this.p(A[b + 2].x + e), this.p(y[b + 2].y + r), this.p(A[b + 2].y + r + 1e-4 * b)), u = z.fromSeconds(1)) : 1 == b ? w.appendFormat("C{0},{1},{2},{3},{4},{5}", (A[b].x + e).toString().stimulsoft.replaceAll(",", "."), (A[b].y + r).toString().stimulsoft.replaceAll(",", "."), (A[b + 1].x + e).toString().stimulsoft.replaceAll(",", "."), (A[b + 1].y + r).toString().stimulsoft.replaceAll(",", "."), (A[b + 2].x + e).toString().stimulsoft.replaceAll(",", "."), (A[b + 2].y + r).toString().stimulsoft.replaceAll(",", ".")) : w.appendFormat(",{0},{1},{2},{3},{4},{5}", (A[b].x + e).toString().stimulsoft.replaceAll(",", "."), (A[b].y + r).toString().stimulsoft.replaceAll(",", "."), (A[b + 1].x + e).toString().stimulsoft.replaceAll(",", "."), (A[b + 1].y + r).toString().stimulsoft.replaceAll(",", "."), (A[b + 2].x + e).toString().stimulsoft.replaceAll(",", "."), (A[b + 2].y + r + 1e-4 * b).toString().stimulsoft.replaceAll(",", ".")); s += w } else if (d.stimulsoft.is(N)) { var v = d.stimulsoft.as(N) , S = null != v.animation ? v.animation.stimulsoft.as(at) : null , w = new c; s.stimulsoft.startsWith("M") || (null != S ? (w.appendFormat("M{0},{1}", this.p(S.pointsFrom[0].x + e), this.p(S.pointsFrom[0].y + r)), l.appendFormat("M{0}:{1},{2}:{3}", this.p(S.pointsFrom[0].x + e), this.p(v.x1 + e), this.p(S.pointsFrom[0].y + r), this.p(v.y1 + r))) : w.appendFormat("M{0},{1}", (v.x1 + e).toString().stimulsoft.replaceAll(",", "."), (v.y1 + r).toString().stimulsoft.replaceAll(",", "."))), null != S ? (w.appendFormat("L{0},{1}", this.p(S.pointsFrom[1].x + e), this.p(S.pointsFrom[1].y + r)), l.appendFormat("L{0}:{1},{2}:{3}", this.p(S.pointsFrom[1].x + e), this.p(v.x2 + e), this.p(S.pointsFrom[1].y + r), this.p(v.y2 + r + 1e-4)), u = S.duration) : w.appendFormat("L{0},{1}", (v.x2 + e).toString().stimulsoft.replaceAll(",", "."), (v.y2 + r + 1e-4).toString().stimulsoft.replaceAll(",", ".")), s += w } else if (d.stimulsoft.is(k)) { var C = d.stimulsoft.as(k) , S = null != C.animation ? C.animation.stimulsoft.as(at) : null , w = new c; s.stimulsoft.startsWith("M") || (null != S ? (w.appendFormat("M{0},{1}", this.p(S.pointsFrom[0].x + e), this.p(S.pointsFrom[0].y + r)), l.appendFormat("M{0}:{1},{2}:{3}", this.p(S.pointsFrom[0].x + e), this.p(S.pointsFrom[1].x + e), this.p(S.pointsFrom[0].y + r), this.p(S.pointsFrom[1].y + r + 1e-4))) : w.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 != S ? (w.appendFormat("{0}{1},{2}", 0 == b ? "L" : ",", this.p(S.pointsFrom[b].x + e), this.p(S.pointsFrom[b].y + r)), l.appendFormat("{0}{1}:{2},{3}:{4}", 0 == b ? "L" : ",", this.p(S.pointsFrom[b].x + e), this.p(C.points[b].x + e), this.p(S.pointsFrom[b].y + r), this.p(C.points[b].y + r)), u = S.duration) : w.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 += w } else if (d.stimulsoft.is(R)) { var E = d.stimulsoft.as(R); s += this.addPiePath(E, s, e, r, l, { ref: null }) } else d.stimulsoft.is(O); m++ } } catch (t) { o = { error: t } } finally { try { h && !h.done && (a = p.return) && a.call(p) } finally { if (o) throw o.error } } return i.ref = l, n.ref = u, s } , r.addArcPath = function(t, e, r, i) { var n = new c , o = t.rect.x + r + t.rect.width / 2 , a = t.rect.y + i + t.rect.height / 2 , s = t.rect.width / 2 , l = t.startAngle * Math.PI / 180 , u = o + s * Math.cos(l) , m = a + s * Math.sin(l); e.stimulsoft.startsWith("M") && t.sweepAngle % 360 != 0 || n.appendFormat("M{0},{1}", u.toString().stimulsoft.replaceAll(",", "."), m.toString().stimulsoft.replaceAll(",", ".")); var p = this.round(Math.abs(t.sweepAngle / 90)) , h = t.sweepAngle / p; l = t.startAngle; for (var d = 0; d < p; d++) { var g = this.convertArcToCubicBezier(t.rect, l, h); 0 == d ? n.appendFormat("C{0},{1},{2},{3},{4},{5}", (g[1].x + r).toString().stimulsoft.replaceAll(",", "."), (g[1].y + i).toString().stimulsoft.replaceAll(",", "."), (g[2].x + r).toString().stimulsoft.replaceAll(",", "."), (g[2].y + i).toString().stimulsoft.replaceAll(",", "."), (g[3].x + r).toString().stimulsoft.replaceAll(",", "."), (g[3].y + i).toString().stimulsoft.replaceAll(",", ".")) : n.appendFormat(",{0},{1},{2},{3},{4},{5}", (g[1].x + r).toString().stimulsoft.replaceAll(",", "."), (g[1].y + i).toString().stimulsoft.replaceAll(",", "."), (g[2].x + r).toString().stimulsoft.replaceAll(",", "."), (g[2].y + i).toString().stimulsoft.replaceAll(",", "."), (g[3].x + r).toString().stimulsoft.replaceAll(",", "."), (g[3].y + i).toString().stimulsoft.replaceAll(",", ".")), l += h } return n.toString() } , r.round = function(t) { var e = Math.round2(t); return t - e > 0 ? e + 1 : e } , r.addPiePath = function(e, r, i, n, s, l) { var u = new z , m = new c , p = null != e.animation ? e.animation.stimulsoft.as(lt) : null , h = e.rect.x + i + e.rect.width / 2 , d = e.rect.y + n + e.rect.height / 2 , g = e.rect.width / 2 , f = null == p ? e.startAngle : p.startAngleFrom , S = null == p ? e.sweepAngle : p.sweepAngleFrom , A = f * Math.PI / 180 , y = h + g * Math.cos(A) , w = d + g * Math.sin(A); m.appendFormat("M{0},{1}", this.p(h), this.p(d)), m.appendFormat("L{0},{1}", this.p(y), this.p(w)); var b = this.round(Math.abs(S / 90)) , v = S / b; A = f; for (var C = 0; C < b; C++) { for (var E = this.convertArcToCubicBezier(e.rect, A, v), B = 1; B < E.length - 1; B += 3) 1 == B ? m.appendFormat("C{0},{1},{2},{3},{4},{5}", (E[B].x + i).toString().stimulsoft.replaceAll(",", "."), (E[B].y + n).toString().stimulsoft.replaceAll(",", "."), (E[B + 1].x + i).toString().stimulsoft.replaceAll(",", "."), (E[B + 1].y + n).toString().stimulsoft.replaceAll(",", "."), (E[B + 2].x + i).toString().stimulsoft.replaceAll(",", "."), (E[B + 2].y + n).toString().stimulsoft.replaceAll(",", ".")) : m.appendFormat(",{0},{1},{2},{3},{4},{5}", (E[B].x + i).toString().stimulsoft.replaceAll(",", "."), (E[B].y + n).toString().stimulsoft.replaceAll(",", "."), (E[B + 1].x + i).toString().stimulsoft.replaceAll(",", "."), (E[B + 1].y + n).toString().stimulsoft.replaceAll(",", "."), (E[B + 2].x + i).toString().stimulsoft.replaceAll(",", "."), (E[B + 2].y + n).toString().stimulsoft.replaceAll(",", ".")); A += v } return m.appendFormat("L{0},{1}", h.toString().stimulsoft.replaceAll(",", "."), d.toString().stimulsoft.replaceAll(",", ".")), null != p ? (u = p.duration, s.append(t.System.Convert.toBase64String(a.UTF8.getBytes(o.format('{{"startAngle":{0}, "startAngleFrom": {1}, "sweepAngle": {2}, "sweepAngleFrom": {3}, "x": {4}, "y": {5},' + '"width": {6}, "height": {7}, "dx": {8}, "dy": {9}}}', this.p(e.startAngle), this.p(p.startAngleFrom), this.p(e.sweepAngle), this.p(p.sweepAngleFrom), this.p(e.rect.x), this.p(e.rect.y), this.p(e.rect.width), this.p(e.rect.height), this.p(i), this.p(n)))))) : u = z.fromSeconds(1), l.ref = u, m.toString() } , r.correctRectLabel = function(t, e) { switch (t) { case p.LeftCenter: return new l(e.x + e.width / 2,e.y,e.width,e.height); case p.LeftBottom: return new l(e.x + e.width / 2,e.y - e.height / 2,e.width,e.height); case p.LeftTop: return new l(e.x + e.width / 2,e.y + e.height / 2,e.width,e.height); case p.CenterTop: return new l(e.x,e.y + e.height / 2,e.width,e.height); case p.CenterCenter: return e; case p.CenterBottom: return new l(e.x,e.y - e.height / 2,e.width,e.height); case p.RightTop: return new l(e.x - e.width / 2,e.y + e.height / 2,e.width,e.height); case p.RightCenter: return new l(e.x - e.width / 2,e.y,e.width,e.height); case p.RightBottom: return new l(e.x - e.width / 2,e.y - e.height / 2,e.width,e.height); default: return e } } , r.convertArcToCubicBezier = function(t, e, r) { var i = t.x + t.width / 2 , n = 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 = i + o * Math.cos(a) , c = n + o * Math.sin(a) , m = i + o * Math.cos(l) , p = n + o * Math.sin(l) , h = 4 * o / 3 * Math.tan(.25 * s) , d = Math.atan(h / o) , g = o / Math.cos(d); d += a; var f = i + g * Math.cos(d) , S = n + g * Math.sin(d); d = Math.atan(-h / o), d += l; var A = i + g * Math.cos(d) , y = n + g * Math.sin(d) , w = Array.create(Y, 4); return w[0] = new Y(u,c), w[1] = new Y(f,S), w[2] = new Y(A,y), w[3] = new Y(m,p), w } , r.writeTooltip = function(e, r) { if (o.isNullOrEmpty(r)) return; if (t.Base.StiJsonChecker.isValidJson(r)) { var i = JSON.parse(r) , n = i.StiColor , a = i.StiValue , s = i.StiArgument , l = i.StiWeight; if (null != l ? (e.writeAttributeString("_text1", a.toString()), e.writeAttributeString("_text2", mt.get("PropertyMain", "Argument") + ": " + s.toString()), e.writeAttributeString("_text3", mt.get("PropertyMain", "Weight") + ": " + l.toString())) : (null != a && e.writeAttributeString("_text1", a.toString()), null != s && e.writeAttributeString("_text2", s.toString())), null != n) { var u = t.System.Drawing.ColorTranslator.fromHtml(n.toString()); u.a = 255, e.writeAttributeString("_color", t.System.Drawing.ColorTranslator.toHtml(u)) } e.writeAttributeString("_ismap", "true") } else e.writeStartElement("title"), e.writeString(r), e.writeEndElement() } , r.writeFillBrush = function(t, e, r) { if (e.stimulsoft.is(s)) { var i = e.stimulsoft.as(s); return o.format("fill:rgb({0},{1},{2});fill-opacity:{3};", i.r, i.g, i.b, Math.round2(i.a / 255, 3)) } if (e.stimulsoft.is(L) || e.stimulsoft.is(j) || e.stimulsoft.is(H) || e.stimulsoft.is(G)) { var n = r.clone(); n.x += this.dx, n.y += this.dy; var a = this.writeBrush(t, e, n); return o.format("fill:url(#{0});", a) } if (e.stimulsoft.is(Q)) { var i = Q.toColor(e.stimulsoft.as(Q)); return o.format("fill:rgb({0},{1},{2});fill-opacity:{3};", i.r, i.g, i.b, Math.round2(i.a / 255, 3)) } return "fill-opacity:0;" } , r.writeBorderStroke = function(t, e, r) { if (e.stimulsoft.is(s)) { var i = e.stimulsoft.as(s) , n = o.format("stroke:rgb({0},{1},{2});", i.r, i.g, i.b) , a = Math.round2(i.a / 255, 3); return 1 != a && (n += o.format("stroke-opacity:{0};", a)), n } if (e.stimulsoft.is(L)) { var l = this.writeBrush(t, e, r); return o.format("stroke:url(#{0})", l) } if (e.stimulsoft.is(Q)) { var i = Q.toColor(e.stimulsoft.as(Q)) , n = o.format("stroke:rgb({0},{1},{2})", i.r, i.g, i.b) , a = Math.round2(i.a / 255, 3); 1 != a && (n += o.format(";stroke-opacity:{0}", a)) } return "stroke-opacity:0" } , r.convertSplineToCubicBezier = function(t, e) { var r = t.length , i = 3 * r - 2 , n = []; e *= .3, n[0] = t[0], n[1] = this.calculateCurveBezierEndPoints(t[0], t[1], e); for (var o = 0; o < r - 2; o++) { var a = this.calculateCurveBezier(t, o, e); n[3 * o + 2] = a[0], n[3 * o + 3] = t[o + 1], n[3 * o + 4] = a[1] } return n[i - 2] = this.calculateCurveBezierEndPoints(t[r - 1], t[r - 2], e), n[i - 1] = t[r - 1], n } , r.calculateCurveBezier = function(t, e, r) { var i = t[e + 2].x - t[e + 0].x , n = t[e + 2].y - t[e + 0].y , o = []; return o[0] = new Y(t[e + 1].x - r * i,t[e + 1].y - r * n), o[1] = new Y(t[e + 1].x + r * i,t[e + 1].y + r * n), o } , r.calculateCurveBezierEndPoints = function(t, e, r) { return new Y(r * (e.x - t.x) + t.x,r * (e.y - t.y) + t.y) } , r.writeBrush = function(t, r, i) { var n = ""; return r.stimulsoft.is(j) ? n = e.StiBrushSvgHelper.writeGlareBrush(t, r, i) : r.stimulsoft.is(L) ? n = e.StiBrushSvgHelper.writeGradientBrush(t, r, i) : r.stimulsoft.is(H) ? n = e.StiBrushSvgHelper.writeHatchBrush(t, r) : r.stimulsoft.is(G) && (n = e.StiBrushSvgHelper.writeGlassBrush(t, r, i)), n } , r.checkPenGeom = function(t) { return !(null == t || null == t.brush || t.penStyle == _.None) } , r.p = function(t) { return t.toString().stimulsoft.replaceAll(",", ".") } , r.writeStimulsoftIconFont = function() { if (!this.isAddStimulsoftIconFont) { this.isAddStimulsoftIconFont = !0; var e = document.createElement("style") , r = t.Report.Resources.StimulsoftFont.getBase64Content(); e.appendChild(document.createTextNode("@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64," + r + ") format('truetype');font-weight: normal;font-style: normal;}")), document.head.appendChild(e) } } , r.isAddStimulsoftIconFont = !1, r.dx = 0, r.dy = 0, r.listTransformGeom = [], r }(); r.StiContextSvgHelper = pt }(i = r.Helpers || (r.Helpers = {})) }(r = e.Services || (e.Services = {})) }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = function() { function t(t, r, i, n, o) { this.geoms = [], this._contextPainter = t, this._options = new e.StiContextOptions(r,i,n,o) } return t.prototype.render = function(t) { this.contextPainter.render(t, this.geoms) } , t.prototype.getDefaultStringFormat = function() { return this.contextPainter.getDefaultStringFormat() } , t.prototype.getGenericStringFormat = function() { return this.contextPainter.getGenericStringFormat() } , t.prototype.drawImage = function(t, r) { this.geoms.add(new e.StiImageGeom(r,t)) } , t.prototype.drawString2 = function(t, r, i, n, o) { var a = new e.StiTextGeom(t,r,i,n,o,0,!1,null,null,!1); return this.geoms.add(a), a } , t.prototype.drawString = function(t, r, i, n, o) { var a = new e.StiTextGeom(t,r,i,n,o,0,!1,null,null,!1); return this.geoms.add(a), a } , t.prototype.drawRotatedString2 = function(t, i, n, o, a, s, l) { var u = new e.StiTextGeom(t,i,n,new r(o.x,o.y,o.width,o.height),a,s,l,null,null,!0); return this.geoms.add(u), u } , t.prototype.drawRotatedString3 = function(t, r, i, n, o, a, s) { var l = new e.StiTextGeom(t,r,i,n,o,a,s,null,null,!0); return this.geoms.add(l), l } , t.prototype.drawRotatedString4 = function(t, r, i, n, o, a, s, l) { var u = new e.StiTextGeom(t,r,i,n,o,s,l,null,a,!0); return this.geoms.add(u), u } , t.prototype.drawRotatedString5 = function(t, r, i, n, o, a, s, l) { var u = new e.StiTextGeom(t,r,i,n,o,s,l,null,a,!0); return this.geoms.add(u), u } , t.prototype.drawRotatedString6 = function(t, r, i, n, o, a, s, l, u, c) { void 0 === c && (c = !0); var m = new e.StiTextGeom(t,r,i,n,o,s,l,u,a,c); return this.geoms.add(m), m } , t.prototype.drawRotatedString7 = function(t, r, i, n, o, a, s, l, u) { var c = new e.StiTextGeom(t,r,i,n,o,s,l,u,a,!0); return this.geoms.add(c), c } , t.prototype.drawRotatedString8 = function(t, r, i, n, o, a, s, l) { var u = new e.StiTextGeom(t,r,i,n,o,s,l,null,a,!0); return this.geoms.add(u), u } , t.prototype.drawRotatedString9 = function(t, r, i, n, o, a, s, l, u) { var c = new e.StiTextGeom(t,r,i,n,o,s,l,u,a,!0); return this.geoms.add(c), c } , t.prototype.measureString = function(t, e) { return this.contextPainter.measureString(t, e) } , t.prototype.measureString2 = function(t, e, r, i) { return this.contextPainter.measureString(t, e, r, i) } , t.prototype.measureRotatedString = function(t, e, r, i, n) { return this.contextPainter.measureRotatedString1(t, e, r, i, n) } , t.prototype.measureRotatedString2 = function(t, e, r, i, n, o, a) { return void 0 === a && (a = null), this.contextPainter.measureRotatedString2(t, e, r, i, n, o, a) } , t.prototype.measureRotatedString3 = function(t, e, r, i, n, o, a) { return this.contextPainter.measureRotatedString3(t, e, r, i, n, o, a) } , t.prototype.measureRotatedString4 = function(t, e, r, i, n, o) { return this.contextPainter.measureRotatedString4(t, e, r, i, n, o) } , t.prototype.drawShadow = function(t, r, i) { this.geoms.add(new e.StiShadowGeom(t,r,i)) } , t.prototype.drawCachedShadow = function(t, r, i) { this.geoms.add(new e.StiCachedShadowGeom(t,r,i)) } , t.prototype.createShadowGraphics = function() { return this.contextPainter.createShadowGraphics(this.options.isPrinting, this.options.zoom) } , t.prototype.pushTranslateTransform = function(t, r) { this.geoms.add(new e.StiPushTranslateTransformGeom(t,r)) } , t.prototype.pushRotateTransform = function(t) { this.geoms.add(new e.StiPushRotateTransformGeom(t)) } , t.prototype.popTransform = function() { this.geoms.add(new e.StiPopTransformGeom) } , t.prototype.pushClip = function(t) { this.geoms.add(new e.StiPushClipGeom(t)) } , t.prototype.popClip = function() { this.geoms.add(new e.StiPopClipGeom) } , t.prototype.drawAnimationColumn = function(t, r, i, n, o, a, s, l) { this.geoms.add(new e.StiClusteredColumnSeriesAnimationGeom(t,r,i,n,o,a,s,l)) } , t.prototype.drawAnimationBar = function(t, r, i, n, o, a, s, l) { this.geoms.add(new e.StiClusteredBarSeriesAnimationGeom(t,r,i,n,o,a,s,l)) } , t.prototype.drawAnimationRectangle = function(t, r, i, n, o, a, s) { this.geoms.add(new e.StiBorderAnimationGeom(t,r,i,n,o,a,s)) } , t.prototype.drawAnimationPathElement = function(t, r, i, n, o, a, s, l) { this.geoms.add(new e.StiPathElementAnimationGeom(t,r,i,n,o,a,s,l)) } , t.prototype.drawAnimationLabel = function(t, r, i, n, o, a, s, l, u, c, m) { this.geoms.add(new e.StiLabelAnimationGeom(t,r,i,n,o,a,s,l,u,c,m)) } , t.prototype.drawAnimationLines = function(t, r, i) { this.geoms.add(new e.StiLinesAnimationGeom(t,r,i)) } , t.prototype.drawAnimationCurve = function(t, r, i, n) { this.geoms.add(new e.StiCurveAnimationGeom(t,r,i,n)) } , t.prototype.fillDrawAnimationPath = function(t, r, i, n, o, a, s) { this.geoms.add(new e.StiPathAnimationGeom(t,r,i,n,o,a,s)) } , t.prototype.fillDrawAnimationEllipse = function(t, i, n, o, a, s, l, u, c, m) { this.geoms.add(new e.StiEllipseAnimationGeom(t,i,new r(n,o,a,s),l,u,c,m)) } , t.prototype.drawLine = function(t, r, i, n, o) { this.geoms.add(new e.StiLineGeom(t,r,i,n,o)) } , t.prototype.drawLines = function(t, r) { for (var i = 0; i < r.length; i++) { var n = r[i]; isNaN(n.x) && (n.x = 0), isNaN(n.y) && (n.y = 0), r[i] = n } this.geoms.add(new e.StiLinesGeom(t,r)) } , t.prototype.drawRectangle = function(t, r) { this.geoms.add(new e.StiBorderGeom(null,t,r,null)) } , t.prototype.drawRectangle2 = function(t, i, n, o, a) { this.geoms.add(new e.StiBorderGeom(null,t,new r(i,n,o,a),null)) } , t.prototype.drawEllipse = function(t, i, n, o, a) { this.geoms.add(new e.StiEllipseGeom(null,t,new r(i,n,o,a),null,null)) } , t.prototype.drawEllipse2 = function(t, r) { this.geoms.add(new e.StiEllipseGeom(null,t,r,null,null)) } , t.prototype.fillEllipse = function(t, i, n, o, a, s) { this.geoms.add(new e.StiEllipseGeom(t,null,new r(i,n,o,a),s,null)) } , t.prototype.fillEllipse2 = function(t, r, i) { this.geoms.add(new e.StiEllipseGeom(t,null,r,i,null)) } , t.prototype.fillEllipse3 = function(t, i, n, o, a, s, l) { this.geoms.add(new e.StiEllipseGeom(t,null,new r(i,n,o,a),l,s)) } , t.prototype.drawPath = function(t, r, i) { this.geoms.add(new e.StiPathGeom(null,t,r,i,null,null)) } , t.prototype.fillPath = function(t, r, i, n) { this.geoms.add(new e.StiPathGeom(t,null,r,i,n,null)) } , t.prototype.fillPath2 = function(t, r, i, n, o) { this.geoms.add(new e.StiPathGeom(t,null,r,i,n,o)) } , t.prototype.drawCurve = function(t, r, i) { this.geoms.add(new e.StiCurveGeom(t,r,i)) } , t.prototype.fillRectangle = function(t, r, i) { this.geoms.add(new e.StiBorderGeom(t,null,r,i)) } , t.prototype.fillRectangle2 = function(t, i, n, o, a, s) { this.geoms.add(new e.StiBorderGeom(t,null,new r(i,n,o,a),s)) } , t.prototype.pushSmoothingModeToAntiAlias = function() { this.geoms.add(new e.StiPushSmothingModeToAntiAliasGeom) } , t.prototype.popSmoothingMode = function() { this.geoms.add(new e.StiPopSmothingModeGeom) } , t.prototype.pushTextRenderingHintToAntiAlias = function() { this.geoms.add(new e.StiPushTextRenderingHintToAntiAliasGeom) } , t.prototype.popTextRenderingHint = function() { this.geoms.add(new e.StiPopTextRenderingHintGeom) } , t.prototype.getPathBounds = function(t) { return this.contextPainter.getPathBounds(t) } , Object.defineProperty(t.prototype, "contextPainter", { get: function() { return this._contextPainter }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "options", { get: function() { return this._options }, enumerable: !0, configurable: !0 }), t.prototype.drawShadowRect = function(t, r, i) { this.geoms.add(new e.StiShadowAnimationGeom(t,0,0,r,i)) } , t.prototype.drawShadowRect2 = function(t, r, i, n, o) { this.geoms.add(new e.StiShadowAnimationGeom(t,r,i,n,o)) } , t }(); e.StiContext = i }(r = e.Context || (e.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Drawing.StringFormat , n = t.System.Drawing.Size , o = t.System.Drawing.Font , a = t.System.Drawing.Graphics , s = t.System.Drawing.Point , l = t.System.Drawing.Rectangle , u = t.Base.Drawing.StiRotationMode , c = function() { function c() {} return Object.defineProperty(c.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: !0, configurable: !0 }), c.prototype.getDefaultStringFormat = function() { var t = new i; return new e.StiStringFormatGeom(t) } , c.prototype.getGenericStringFormat = function() { var t = new i; return new e.StiStringFormatGeom(t) } , c.prototype.createShadowGraphics = function(t, r) { return new e.StiContext(this,!1,!1,!1,1) } , c.prototype.getPathBounds = function(t) { var r, i, n, o, a, s, u, c, m, p, h = [], d = []; try { for (var g = __values(t), f = g.next(); !f.done; f = g.next()) { var S = f.value; if (S.stimulsoft.is(e.StiArcSegmentGeom)) { var A = S; h.push(A.rect.left), h.push(A.rect.right), d.push(A.rect.top), d.push(A.rect.bottom) } else if (S.stimulsoft.is(e.StiCloseFigureSegmentGeom)) ; else if (S.stimulsoft.is(e.StiCurveSegmentGeom)) { var y = S; try { for (var w = (n = void 0, __values(y.points)), b = w.next(); !b.done; b = w.next()) { var v = b.value; h.push(v.x), d.push(v.y) } } catch (t) { n = { error: t } } finally { try { b && !b.done && (o = w.return) && o.call(w) } finally { if (n) throw n.error } } } else if (S.stimulsoft.is(e.StiLineSegmentGeom)) { var C = S; h.push(C.x1), h.push(C.x2), d.push(C.y1), d.push(C.y2) } else if (S.stimulsoft.is(e.StiLinesSegmentGeom)) { var E = S; try { for (var B = (a = void 0, __values(E.points)), T = B.next(); !T.done; T = B.next()) { var v = T.value; h.push(v.x), d.push(v.y) } } catch (t) { a = { error: t } } finally { try { T && !T.done && (s = B.return) && s.call(B) } finally { if (a) throw a.error } } } else if (S.stimulsoft.is(e.StiPieSegmentGeom)) { var I = S; h.push(I.rect.left), h.push(I.rect.right), d.push(I.rect.top), d.push(I.rect.bottom) } var x = null , F = null , D = null , R = null; try { for (var P = (u = void 0, __values(h)), N = P.next(); !N.done; N = P.next()) { var k = N.value; x = null == x ? k : Math.min(x, k), F = null == F ? k : Math.max(F, k) } } catch (t) { u = { error: t } } finally { try { N && !N.done && (c = P.return) && c.call(P) } finally { if (u) throw u.error } } try { for (var M = (m = void 0, __values(d)), O = M.next(); !O.done; O = M.next()) { var k = O.value; D = null == D ? k : Math.min(D, k), R = null == R ? k : Math.max(R, k) } } catch (t) { m = { error: t } } finally { try { O && !O.done && (p = M.return) && p.call(M) } finally { if (m) throw m.error } } return new l(x,D,F - x,R - D) } } catch (t) { r = { error: t } } finally { try { f && !f.done && (i = g.return) && i.call(g) } finally { if (r) throw r.error } } return l.empty } , c.prototype.measureString = function(t, e, r, i) { void 0 === r && (r = null), void 0 === i && (i = null); var s = a.measureString(t, new o(e.fontName,e.fontSize,e.fontStyle,e.unit), r); return new n(s.width,s.height) } , c.prototype.measureRotatedString1 = function(t, e, r, i, n) { var s = a.measureString(t, new o(e.fontName,e.fontSize,e.fontStyle,e.unit), r.width, !0, 1, n); return new l(r.x,r.y,s.width,s.height) } , c.prototype.measureRotatedString2 = function(t, e, r, i, n, o, a) { void 0 === a && (a = null); var l = new s(r.x + r.width / 2,r.y + r.height / 2); return this.measureRotatedString3(t, e, l, i, n, o, a) } , c.prototype.measureRotatedString3 = function(e, i, n, s, u, c, m) { var p = new o(i.fontName,i.fontSize,i.fontStyle,i.unit); if (0 == m && (m = null), t.System.NodeJs.isNodeJs()) { var h = a.measureString(e, p, m, !0, 1, c) , d = new l(0,0,h.width,h.height) , g = this.getStartPoint(u, d); return d.x -= g.x, d.y -= g.y, new l(d.x + n.x - 1,d.y + n.y - 1,d.width + 1,d.height + 1) } var h = a.measureString(e, p, m, !0, 1, 0) , d = new l(0,0,h.width,h.height) , g = this.getStartPoint(u, d); d.x -= g.x, d.y -= g.y, 0 == d.x && (d.x = 1e-6), 0 == d.y && (d.y = 1e-6), 0 == d.width && (d.width = 1e-6), 0 == d.height && (d.height = 1e-6), this.svgRect.setAttribute("x", d.x), this.svgRect.setAttribute("y", d.y), this.svgRect.setAttribute("width", d.width), this.svgRect.setAttribute("height", d.height), this.svgRect.setAttribute("transform", r.format("translate({0}, {1}) rotate({2})", n.x, n.y, c)); var f = new l(d.x + n.x,d.y + n.y,d.width,d.height) , S = this.svgRect.getBoundingClientRect() , A = this.svgObj.getBoundingClientRect(); return document.body.removeChild(this.svgObj), this.svgObj = null, this._svgRect = null, new l(S.left - A.left,S.top - A.top,S.width + 1,S.height + 1) } , c.prototype.measureRotatedString4 = function(t, e, r, i, n, s) { var u = a.measureString(t, new o(e.fontName,e.fontSize,e.fontStyle,e.unit), null, !0, 1, s); return new l(r.x,r.y,u.width,u.height) } , c.prototype.getStartPoint = function(t, e) { var r = new s(e.x + e.width / 2,e.y + e.height / 2); switch (t) { case u.LeftCenter: return new s(e.x,r.y); case u.LeftBottom: return new s(e.x,e.bottom); case u.CenterTop: return new s(r.x,e.top); case u.CenterCenter: return r; case u.CenterBottom: return new s(r.x,e.bottom); case u.RightTop: return new s(e.right,e.top); case u.RightCenter: return new s(e.right,r.y); case u.RightBottom: return new s(e.right,e.bottom); default: return e.location } } , c.prototype.render = function(t, e) {} , c }(); e.StiContextPainter = c }(r = e.Context || (e.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.NodeJs , i = t.System.Xml.XmlTextWriter , n = t.System.Text.Encoding , o = t.Report.Chart.IStiChart , a = t.Base.Context.StiContext , s = t.Base.Context.StiContextPainter , l = t.System.Drawing.Rectangle , u = t.System.Drawing.Image , c = t.System.Drawing.Imaging.ImageFormat , m = t.Report.Components.StiImageRotation , p = t.Report.Export.Services.Helpers.StiContextSvgHelper , h = t.System.Text.StringBuilder , d = t.System.StiString , g = function() { function t() {} return t.getImage = function(e) { var a = new u; if (!r.useWebKit) return a; var s = document.createElement("canvas"); s.width = e.width, s.height = e.height; var m = new i(n.UTF8) , g = e.component.stimulsoft.as(o); if (null != g && null != g.brush) { var f = new h; f.append(p.writeFillBrush(m, g.brush, new l(0,0,e.width,e.height))), m.writeStartElement("rect"), m.writeAttributeString("x", e.x.toString().stimulsoft.replaceAll(",", ".")), m.writeAttributeString("y", e.y.toString().stimulsoft.replaceAll(",", ".")), m.writeAttributeString("height", e.height.toString().stimulsoft.replaceAll(",", ".")), m.writeAttributeString("width", e.width.toString().stimulsoft.replaceAll(",", ".")), m.writeAttributeString("style", f.toString()), m.writeEndElement() } t.writeChart(m, e, 1, !1), m.flush(); var S = d.format('{2}', e.width, e.height, m.textWriter.getStringBuilder().toString()); canvg(s, S); var A = s.toDataURL(c.Jpeg.mimeType); return s.svg.stop(), a.base64 = A, a } , t.writeChart = function(t, e, r, i) { var n = e.component.stimulsoft.as(o) , u = new s , c = new a(u,!0,!1,!1,r); n.isAnimation = i; var h = e.width , g = e.height; n.rotation != m.Rotate90CCW && n.rotation != m.Rotate90CW || (h = e.height, g = e.width), n.core.render(c, new l(0,0,h,g), !0).drawGeom(c), t.writeStartElement("g"); var f = e.x + .5 , S = e.y + .5 , A = ""; switch (n.rotation) { case m.Rotate90CW: A = " rotate(90)", f += g; break; case m.Rotate90CCW: A = " rotate(-90)", S += h; break; case m.Rotate180: A = " rotate(180)", S += g, f += h; break; case m.FlipHorizontal: A = " scale(-1, 1)", f += h; break; case m.FlipVertical: A = " scale(1, -1)", S += g; break } t.writeAttributeString("transform", d.format("translate({0},{1}){2}", f, S, A)), p.writeGeoms(t, c, i), t.writeEndElement() } , t }(); e.StiChartSvgHelper = g }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return Object.defineProperty(t.prototype, "type", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "animation", { get: function() { return null }, set: function(t) {}, enumerable: !0, configurable: !0 }), t }(); t.StiGaugeGeom = e }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r, i, n, o, a) { var s = e.call(this) || this; return s.rect = t, s.background = r, s.borderBrush = i, s.borderWidth = n, s.startAngle = o, s.sweepAngle = a, s } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.Pie }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiPieGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r, i, n) { var o = e.call(this) || this; return o.rect = t, o.background = r, o.borderBrush = i, o.borderWidth = n, o } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.Ellipse }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiEllipseGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r, i, n, o, a, s, l) { var u = e.call(this) || this; return u.rect = t, u.background = r, u.borderBrush = i, u.borderWidth = n, u.startAngle = o, u.sweepAngle = a, u.startWidth = s, u.endWidth = l, u } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.GraphicsArcGeometry }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiGraphicsArcGeometryGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.PopTranform }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiPopTranformGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r) { var i = e.call(this) || this; return i.angle = t, i.centerPoint = r, i } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.PushMatrix }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiPushMatrixGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r, i, n, o, a, s, l, u, c, m) { var p = e.call(this) || this; return p.rect = t, p.background = r, p.borderBrush = i, p.borderWidth = n, p.centerPoint = o, p.startAngle = a, p.sweepAngle = s, p.radius1 = l, p.radius2 = u, p.radius3 = c, p.radius4 = m, p } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.RadialRange }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiRadialRangeGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r, i, n) { var o = e.call(this) || this; return o.rect = t, o.background = r, o.borderBrush = i, o.borderWidth = n, o } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.Rectangle }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiRectangleGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r, i, n, o, a, s, l) { var u = e.call(this) || this; return u.rect = t, u.background = r, u.borderBrush = i, u.borderWidth = n, u.leftTop = o, u.rightTop = a, u.rightBottom = s, u.leftBottom = l, u } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.RoundedRectangle }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiRoundedRectangleGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = t.System.Drawing.StringFormat , n = t.System.Drawing.StringAlignment , o = t.System.Drawing.StringFormatFlags , a = function(t) { function r(e, r, a, s, l) { var u = t.call(this) || this; return u.text = e, u.font = r, u.foreground = a, u.rect = s, null == l && (l = new i, l.alignment = n.Center, l.lineAlignment = n.Center, l.formatFlags = o.NoWrap), u.stringFormat = l, u } return __extends(r, t), Object.defineProperty(r.prototype, "type", { get: function() { return e.StiGaugeGeomType.Text }, enumerable: !0, configurable: !0 }), r }(r.StiGaugeGeom); r.StiTextGaugeGeom = a }(r = e.GaugeGeoms || (e.GaugeGeoms = {})) }(r = e.Gauge || (e.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Gauge.GaugeGeoms.StiPieGaugeGeom , i = t.Report.Gauge.GaugeGeoms.StiEllipseGaugeGeom , n = t.Report.Gauge.GaugeGeoms.StiGraphicsArcGeometryGaugeGeom , o = t.Report.Gauge.GaugeGeoms.StiPopTranformGaugeGeom , a = t.Report.Gauge.GaugeGeoms.StiPushMatrixGaugeGeom , s = t.Report.Gauge.GaugeGeoms.StiRadialRangeGaugeGeom , l = t.Report.Gauge.GaugeGeoms.StiRectangleGaugeGeom , u = t.Report.Gauge.GaugeGeoms.StiRoundedRectangleGaugeGeom , c = t.Report.Gauge.GaugeGeoms.StiTextGaugeGeom , m = t.System.Drawing.Font , p = t.System.Drawing.Graphics , h = function() { function t(t, e, r) { this.geoms = [], this.gauge = t, this.rect = e, this.zoom = r } return t.changeFontSize = function(t, e) { var r = t.size * e; return r < 1 && (r = 1), new m(t.fontFamily.name,r,t.style,t.unit) } , t.prototype.measureString = function(t, e) { return p.measureString(t, e) } , t.prototype.addPieGaugeGeom = function(t, e, i, n, o, a) { t.width > 0 && t.height > 0 && this.geoms.add(new r(t,e,i,n,o,a)) } , t.prototype.addEllipseGaugeGeom = function(t, e, r, n) { t.width > 0 && t.height > 0 && this.geoms.add(new i(t,e,r,n)) } , t.prototype.addGraphicsArcGeometryGaugeGeom = function(t, e, r, i, o, a, s, l) { t.width > 0 && t.height > 0 && this.geoms.add(new n(t,e,r,i,o,a,s,l)) } , t.prototype.addPopTranformGaugeGeom = function() { this.geoms.add(new o) } , t.prototype.addPushMatrixGaugeGeom = function(t, e) { this.geoms.add(new a(t,e)) } , t.prototype.addRadialRangeGaugeGeom = function(t, e, r, i, n, o, a, l, u, c, m) { t.width > 0 && t.height > 0 && this.geoms.add(new s(t,e,r,i,n,o,a,l,u,c,m)) } , t.prototype.addRectangleGaugeGeom = function(t, e, r, i) { t.width > 0 && t.height > 0 && this.geoms.add(new l(t,e,r,i)) } , t.prototype.addRoundedRectangleGaugeGeom = function(t, e, r, i, n, o, a, s) { t.width > 0 && t.height > 0 && this.geoms.add(new u(t,e,r,i,n,o,a,s)) } , t.prototype.addTextGaugeGeom = function(t, e, r, i, n) { i.width > 0 && i.height > 0 && this.geoms.add(new c(t,e,r,i,n)) } , t.prototype.addGraphicsPathGaugeGeom = function(t) { t.rect.width > 0 && t.rect.height > 0 && this.geoms.add(t) } , t.prototype.render = function() {} , t }(); e.StiGaugeContextPainter = h }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(t, r, i, n, o, a, s, l) { var u = e.call(this, s, l) || this; return u.centerX = o, u.centerY = a, u.startScaleX = t, u.startScaleY = i, u.endScaleX = r, u.endScaleY = n, u } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiAnimationType.Scale }, enumerable: !0, configurable: !0 }), r }(e.StiAnimation); e.StiScaleAnimation = r }(r = e.Animation || (e.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(t, r, i, n, o) { var a = e.call(this, n, o) || this; return a.startAngle = t, a.endAngle = r, a.centerPoint = i, a } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiAnimationType.Rotation }, enumerable: !0, configurable: !0 }), r }(e.StiAnimation); e.StiRotationAnimation = r }(r = e.Animation || (e.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(t, r, i, n) { var o = e.call(this, i, n) || this; return o.startPoint = t, o.endPoint = r, o } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiAnimationType.Translation }, enumerable: !0, configurable: !0 }), r }(e.StiAnimation); e.StiTranslationAnimation = r }(r = e.Animation || (e.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r, i, n, o, a) { var s = e.call(this) || this; return s.x = t, s.y = r, s.width = i, s.height = n, s.startAngle = o, s.sweepAngle = a, s } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.GraphicsPathArc }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiGraphicsPathArcGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[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" }(e = t.StiGaugeGeomType || (t.StiGaugeGeomType = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.NodeJs , n = t.System.Drawing.Imaging.ImageFormat , o = t.System.Text.Encoding , a = t.System.Drawing.Image , s = t.System.Drawing.ColorTranslator , l = t.System.Text.StringBuilder , u = t.Base.Context.Animation.StiScaleAnimation , c = t.Base.Context.Animation.StiRotationAnimation , m = t.Base.Context.Animation.StiTranslationAnimation , p = t.Base.Drawing.StiSolidBrush , h = t.Base.Drawing.StiGradientBrush , d = t.Base.Drawing.StiGlassBrush , g = t.Base.Drawing.StiGlareBrush , f = t.Base.Drawing.StiHatchBrush , S = t.Report.Gauge.GaugeGeoms.StiGraphicsPathArcGaugeGeom , A = t.Base.Drawing.StiBrush , y = t.System.Drawing.Color , w = t.System.Drawing.Font , b = t.Report.Gauge.GaugeGeoms.StiTextGaugeGeom , v = t.Report.Gauge.GaugeGeoms.StiGraphicsArcGeometryGaugeGeom , C = t.Report.Gauge.GaugeGeoms.StiRectangleGaugeGeom , E = t.Report.Gauge.StiGaugeGeomType , B = t.Report.Gauge.GaugeGeoms.StiPopTranformGaugeGeom , T = t.Report.Gauge.GaugeGeoms.StiPushMatrixGaugeGeom , I = t.System.Drawing.Point , x = t.Report.Painters.StiGaugeContextPainter , F = t.System.Drawing.Rectangle , D = t.System.Xml.XmlTextWriter , R = function() { function t() {} return t.getImage = function(e) { var s = new a; if (!i.useWebKit) return s; var l = document.createElement("canvas"); l.width = e.width, l.height = e.height; var u = new D(o.UTF8); t.writeGauge(u, e, 1, !1), u.flush(); var c = r.format('{2}', e.width, e.height, u.textWriter.getStringBuilder().toString()); canvg(l, c); var m = l.toDataURL(n.Jpeg.mimeType); return l.svg.stop(), s.base64 = m, s } , t.addAnimation = function(t, e, i, n, o) { void 0 === o && (o = ""); var a = r.format('{{"actions":{0}, "begin":{1}, "duration":{2}}}', e, null != i ? i.totalMilliseconds : 0, n.totalMilliseconds); t.writeAttributeString("_animation" + o, a) } , t.writeGauge = function(t, e, i, n, o) { var a, s; void 0 === i && (i = 1), void 0 === n && (n = !1), void 0 === o && (o = !1); var p = e.component , h = new x(p,new F(0,0,e.width,e.height),i); if (h.gauge = p, h.rect = new F(e.x,e.y,e.width,e.height), h.zoom = i, h.geoms.clear(), p.drawGauge(h), o) for (var d = h.geoms.length - 1; d >= 0; d--) { var g = h.geoms[d]; (g.stimulsoft.is(b) || g.stimulsoft.is(C)) && h.geoms.remove(g) } h.render(); var f = 0; t.writeStartElement("g"), t.writeAttributeString("transform", r.format("translate({0},{1})", (e.x + .5).toString().stimulsoft.replaceAll(",", "."), (e.y + .5).toString().stimulsoft.replaceAll(",", "."))); try { for (var S = __values(h.geoms), y = S.next(); !y.done; y = S.next()) { var v = y.value; if (v.stimulsoft.is(T)) { var D = v; t.writeStartElement("g"), t.writeAttributeString("transform", r.format("rotate({2}, {0}, {1})", D.centerPoint.x.toString().stimulsoft.replaceAll(",", "."), D.centerPoint.y.toString().stimulsoft.replaceAll(",", "."), D.angle.toString().stimulsoft.replaceAll(",", "."))) } else if (v.stimulsoft.is(B)) t.writeEndElement(); else if (v.type == E.RoundedRectangle) { var g = v , R = this.rectToRectangle(g.rect) , P = ""; null != g.background ? P += this.writeFillBrush(t, g.background, R) : P += "fill-opacity:0;"; var N = r.format("{0}", this.writeBorderStroke(t, g.borderBrush, R)); P += r.format("{0};stroke-width:{1};", N, g.borderWidth), t.writeStartElement("rect"), t.writeAttributeString("x", R.x.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("y", R.y.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("ry", g.leftTop.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("rx", g.leftTop.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", R.height.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("width", R.width.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("shape-rendering", "crispEdges"), t.writeAttributeString("style", P), t.writeEndElement() } else if (v.type == E.Rectangle) { var g = v , R = this.rectToRectangle(g.rect) , P = ""; null != g.background ? P += this.writeFillBrush(t, g.background, R) : P += "fill-opacity:0;"; var N = r.format("{0}", this.writeBorderStroke(t, g.borderBrush, R)); P += r.format("{0};stroke-width:{1};", N, g.borderWidth), t.writeStartElement("rect"), t.writeAttributeString("x", R.x.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("y", R.y.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("height", (R.height + 1).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("width", (R.width + 1).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("shape-rendering", "crispEdges"), t.writeAttributeString("style", P.toString()), t.writeEndElement() } else if (v.type == E.GraphicsPath) { var g = v , R = this.rectToRectangle(g.rect) , P = "" , k = ""; P = null != g.background ? this.writeFillBrush(t, g.background, R) : "fill-opacity:0;"; var N = r.format("{0}", this.writeBorderStroke(t, g.borderBrush, R)); P += r.format("{0};stroke-width:{1};", N, g.borderWidth.toString().stimulsoft.replaceAll(",", ".")); var M = this.getPathData(g.geoms, g.startPoint); if (t.writeStartElement("path"), t.writeAttributeString("d", M), t.writeAttributeString("style", P), null != g.animation) if (g.animation.stimulsoft.is(m)) { var O = g.animation; if (O.startPoint.x != O.endPoint.x) { var _ = (O.startPoint.x - O.endPoint.x).toString().stimulsoft.replaceAll(",", "."); this.addAnimation(t, r.format('[["transform", {0}, 0,",0)", "translate("]]', _), O.beginTime, O.duration), t.writeAttributeString("transform", r.format("translate({0}, 0)", _)) } else { var L = (O.startPoint.y - O.endPoint.y).toString().stimulsoft.replaceAll(",", "."); this.addAnimation(t, r.format('[["transform", {0}, 0,")", "translate(0,"]]', L), O.beginTime, O.duration), t.writeAttributeString("transform", r.format("translate(0, {0})", L)) } } else if (g.animation.stimulsoft.is(c)) { var j = g.animation; t.writeAttributeString("transform", r.format("rotate({0}, {1}, {2})", j.startAngle.toString().stimulsoft.replaceAll(",", "."), j.centerPoint.x.toString().stimulsoft.replaceAll(",", "."), j.centerPoint.y.toString().stimulsoft.replaceAll(",", "."))), this.addAnimation(t, r.format('[["transform", {0}, {1},", {2}, {3})", "rotate("]]', j.startAngle.toString().stimulsoft.replaceAll(",", "."), j.endAngle.toString().stimulsoft.replaceAll(",", "."), j.centerPoint.x.toString().stimulsoft.replaceAll(",", "."), j.centerPoint.y.toString().stimulsoft.replaceAll(",", ".")), j.beginTime, j.duration) } else if (g.animation.stimulsoft.is(u)) { t.writeAttributeString("opacity", "0"); var H = g.animation; this.addAnimation(t, r.format('[["scaleCenter", {0}, {1}, {2}, {3}, {4}, {5}]]', H.startScaleX.toString().stimulsoft.replaceAll(",", "."), H.endScaleX.toString().stimulsoft.replaceAll(",", "."), H.startScaleY.toString().stimulsoft.replaceAll(",", "."), H.endScaleY.toString().stimulsoft.replaceAll(",", "."), (Math.abs(H.centerX - g.startPoint.x) > Math.abs(.15 * H.centerX)).toString().toLowerCase(), (Math.abs(H.centerY - g.startPoint.y) > Math.abs(.15 * H.centerY)).toString().toLowerCase()), H.beginTime, H.duration) } t.writeEndElement() } else if (v.type == E.Pie) { var g = v , R = this.rectToRectangle(g.rect) , P = "" , k = ""; P = null != g.background ? this.writeFillBrush(t, g.background, R) : "fill-opacity:0;"; var N = r.format("{0}", this.writeBorderStroke(t, g.borderBrush, R)); P += r.format("{0};stroke-width:{1};", N, g.borderWidth.toString().stimulsoft.replaceAll(",", ".")); var M = this.addPiePath(g, ""); t.writeStartElement("path"), t.writeAttributeString("d", M), t.writeAttributeString("style", P), t.writeEndElement() } else if (v.type == E.Ellipse) { var G = v , R = this.rectToRectangle(G.rect) , P = "" , k = ""; P = null != G.background ? this.writeFillBrush(t, G.background, R) : "fill-opacity:0;"; var N = r.format("{0}", this.writeBorderStroke(t, G.borderBrush, R)); P += r.format("{0};stroke-width:{1};", N, G.borderWidth.toString().stimulsoft.replaceAll(",", ".")), t.writeStartElement("ellipse"), t.writeAttributeString("cx", (R.x + R.width / 2).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("cy", (R.y + R.height / 2).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("rx", (R.width / 2).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("ry", (R.height / 2).toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("style", P), t.writeEndElement() } else if (v.type == E.GraphicsArcGeometry) { var g = v , P = "" , k = "" , R = this.rectToRectangle(g.rect); P = null != g.background ? this.writeFillBrush(t, g.background, R) : "fill-opacity:0;"; var N = r.format("{0}", this.writeBorderStroke(t, g.borderBrush, R)); P += r.format("{0};stroke-width:{1};", N, g.borderWidth.toString().stimulsoft.replaceAll(",", ".")); var M = this.addArcPath(g, ""); t.writeStartElement("path"), t.writeAttributeString("d", M), t.writeAttributeString("style", P), t.writeEndElement() } else if (v.type == E.Text) { var Q = v , Y = new w(Q.font.name,Q.font.size,Q.font.style,Q.font.unit) , U = new I , R = this.rectToRectangle(Q.rect); U = new I(R.x,R.y); var P = new l , J = 4 * Y.size / 3; t.writeStartElement("text"), P.appendFormat("text-anchor:{0};", "middle"), t.writeAttributeString("dy", "0.9em"), t.writeAttributeString("dx", r.format("{0}em", (.3 * Q.text.length).toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("transform", r.format("translate({0}, {1}) ", U.x.toString().stimulsoft.replaceAll(",", "."), U.y.toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("font-size", J.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("font-family", Y.fontFamily.name); var W = A.toColor(Q.foreground); P.append(r.format("fill:#{0:X2}{1:X2}{2:X2};", W.r, W.g, W.b)), 255 != W.a && P.append(r.format("fill-opacity:{0}", Math.round2(W.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), t.writeAttributeString("style", P.toString()), t.writeString(Q.text), t.writeEndElement() } else if (v.type == E.RadialRange) { var g = v , V = g.startAngle * this.PiDiv180 , z = new l , X = g.centerPoint , K = X.x + g.radius1 * Math.cos(V) , Z = X.y + g.radius1 * Math.sin(V) , q = new I(K,Z) , $ = Math.round2(Math.abs(g.sweepAngle / 10)) , tt = g.sweepAngle / $; V = g.startAngle; var et = g.radius1 - g.radius2 , rt = 1 / $ , it = 0; z.appendFormat("M{0},{1}", K.toString().stimulsoft.replaceAll(",", "."), Z.toString().stimulsoft.replaceAll(",", ".")), V = g.startAngle; var nt = -1; while (++nt < $) { var ot = g.radius1 - et * it , at = g.radius1 - et * (it + rt) , st = this.convertArcToCubicBezier3(new I(X.x,X.y), ot, at, V, tt); 0 == nt ? z.appendFormat(" C{0},{1},{2},{3},{4},{5}", st[1].x.toString().stimulsoft.replaceAll(",", "."), st[1].y.toString().stimulsoft.replaceAll(",", "."), st[2].x.toString().stimulsoft.replaceAll(",", "."), st[2].y.toString().stimulsoft.replaceAll(",", "."), st[3].x.toString().stimulsoft.replaceAll(",", "."), st[3].y.toString().stimulsoft.replaceAll(",", ".")) : z.appendFormat(",{0},{1},{2},{3},{4},{5}", st[1].x.toString().stimulsoft.replaceAll(",", "."), st[1].y.toString().stimulsoft.replaceAll(",", "."), st[2].x.toString().stimulsoft.replaceAll(",", "."), st[2].y.toString().stimulsoft.replaceAll(",", "."), st[3].x.toString().stimulsoft.replaceAll(",", "."), st[3].y.toString().stimulsoft.replaceAll(",", ".")), V += tt, it += rt, nt == $ - 1 && (q = st[3]) } for (tt = g.sweepAngle / $, et = g.radius3 - g.radius4, rt = 1 / $, it = $, V = g.startAngle + g.sweepAngle, nt = 0; nt < $; nt++) { var ot = g.radius3 - et * it , at = g.radius3 - et * (it + rt) , st = this.convertArcToCubicBezier3(X, ot, at, V, -tt); 0 == nt ? (z.appendFormat(" L{0},{1}", st[0].x.toString().stimulsoft.replaceAll(",", "."), st[0].y.toString().stimulsoft.replaceAll(",", ".")), z.appendFormat(" C{0},{1},{2},{3},{4},{5}", st[1].x.toString().stimulsoft.replaceAll(",", "."), st[1].y.toString().stimulsoft.replaceAll(",", "."), st[2].x.toString().stimulsoft.replaceAll(",", "."), st[2].y.toString().stimulsoft.replaceAll(",", "."), st[3].x.toString().stimulsoft.replaceAll(",", "."), st[3].y.toString().stimulsoft.replaceAll(",", "."))) : z.appendFormat(",{0},{1},{2},{3},{4},{5}", st[1].x.toString().stimulsoft.replaceAll(",", "."), st[1].y.toString().stimulsoft.replaceAll(",", "."), st[2].x.toString().stimulsoft.replaceAll(",", "."), st[2].y.toString().stimulsoft.replaceAll(",", "."), st[3].x.toString().stimulsoft.replaceAll(",", "."), st[3].y.toString().stimulsoft.replaceAll(",", ".")), V -= tt, it -= rt } z.appendFormat("z"); var P = "" , k = "" , R = this.rectToRectangle(g.rect); P = null != g.background ? this.writeFillBrush(t, g.background, R) : "fill-opacity:0;"; var N = r.format("{0}", this.writeBorderStroke(t, g.borderBrush, R)); P += r.format("{0};stroke-width:{1};", N, g.borderWidth.toString().stimulsoft.replaceAll(",", ".")), t.writeStartElement("path"), t.writeAttributeString("d", z.toString()), t.writeAttributeString("style", P), t.writeEndElement() } } } catch (t) { a = { error: t } } finally { try { y && !y.done && (s = S.return) && s.call(S) } finally { if (a) throw a.error } } t.writeEndElement() } , t.getPathData = function(t, e) { var i, n, o = r.format("M{0},{1}", e.x.toString().stimulsoft.replaceAll(",", "."), e.y.toString().stimulsoft.replaceAll(",", ".")), a = 0; try { for (var s = __values(t), u = s.next(); !u.done; u = s.next()) { var c = u.value; if (c.type == E.GraphicsPathArc) { var m = c; o += this.getArcPath(new F(m.x,m.y,m.width,m.height), o, m.startAngle, m.sweepAngle, 0 == a) } else if (c.type == E.GraphicsPathLine) { var p = c , h = new l; o.stimulsoft.startsWith("M") || h.appendFormat("M{0},{1}", p.p2.x.toString().stimulsoft.replaceAll(",", "."), p.p2.y.toString().stimulsoft.replaceAll(",", ".")), h.appendFormat("L{0},{1}", p.p2.x.toString().stimulsoft.replaceAll(",", "."), p.p2.y.toString().stimulsoft.replaceAll(",", ".")), o += h } else if (c.type == E.GraphicsPathLines) { var d = c , h = new l; o.stimulsoft.startsWith("M") || h.appendFormat("M{0},{1}", d.points[0].x.toString().stimulsoft.replaceAll(",", "."), d.points[0].y.toString().stimulsoft.replaceAll(",", ".")); for (var g = 0; g < d.points.length; g++) 0 == g ? h.appendFormat("L{0},{1}", d.points[g].x.toString().stimulsoft.replaceAll(",", "."), d.points[g].y.toString().stimulsoft.replaceAll(",", ".")) : h.appendFormat(",{0},{1}", d.points[g].x.toString().stimulsoft.replaceAll(",", "."), d.points[g].y.toString().stimulsoft.replaceAll(",", ".")); o += h } else c.type == E.GraphicsPathCloseFigure && (o += "z"); a++ } } catch (t) { i = { error: t } } finally { try { u && !u.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } return o } , t.getArcPath = function(t, e, r, i, n) { var o = !1 , a = new l(e) , s = new I(t.left + t.width / 2,t.top + t.height / 2) , u = new I(s.x - t.width / 2,s.y - t.height / 2) , c = new I(s.x,s.y - t.height / 2) , m = new I(s.x + t.width / 2,s.y - t.height / 2) , p = new I(s.x + t.width / 2,s.y) , h = new I(s.x + t.width / 2,s.y + t.height / 2) , d = new I(s.x,s.y + t.height / 2) , g = new I(s.x - t.width / 2,s.y + t.height / 2) , f = new I(s.x - t.width / 2,s.y); if (0 == r ? 90 == i ? (n && a.appendFormat("M{0},{1}", p.x.toString().stimulsoft.replaceAll(",", "."), p.y.toString().stimulsoft.replaceAll(",", ".")), a.appendFormat("Q{0},{1},{2},{3}", h.x.toString().stimulsoft.replaceAll(",", "."), h.y.toString().stimulsoft.replaceAll(",", "."), d.x.toString().stimulsoft.replaceAll(",", "."), d.y.toString().stimulsoft.replaceAll(",", ".")), o = !0) : 180 == i && (n && a.appendFormat("M{0},{1}", p.x.toString().stimulsoft.replaceAll(",", "."), p.y.toString().stimulsoft.replaceAll(",", ".")), a.appendFormat("A{0},{1},90,1,1,{2},{3}", (t.height / 2).toString().stimulsoft.replaceAll(",", "."), (t.width / 2).toString().stimulsoft.replaceAll(",", "."), f.x.toString().stimulsoft.replaceAll(",", "."), f.y.toString().stimulsoft.replaceAll(",", ".")), o = !0) : 90 == r ? 90 == i ? (n && a.appendFormat("M{0},{1}", d.x.toString().stimulsoft.replaceAll(",", "."), d.y.toString().stimulsoft.replaceAll(",", ".")), a.appendFormat("Q{0},{1},{2},{3}", g.x.toString().stimulsoft.replaceAll(",", "."), g.y.toString().stimulsoft.replaceAll(",", "."), f.x.toString().stimulsoft.replaceAll(",", "."), f.y.toString().stimulsoft.replaceAll(",", ".")), o = !0) : 180 == i && (n && a.appendFormat("M{0}, {1}", d.x.toString().stimulsoft.replaceAll(",", "."), d.y.toString().stimulsoft.replaceAll(",", ".")), a.appendFormat("A{0},{1},90,1,1,{2},{3}", (t.height / 2).toString().stimulsoft.replaceAll(",", "."), (t.width / 2).toString().stimulsoft.replaceAll(",", "."), c.x.toString().stimulsoft.replaceAll(",", "."), c.y.toString().stimulsoft.replaceAll(",", ".")), o = !0) : 180 == r ? 90 == i ? (n && a.appendFormat("M{0},{1}", f.x.toString().stimulsoft.replaceAll(",", "."), f.y.toString().stimulsoft.replaceAll(",", ".")), a.appendFormat("Q{0},{1},{2},{3}", u.x.toString().stimulsoft.replaceAll(",", "."), u.y.toString().stimulsoft.replaceAll(",", "."), c.x.toString().stimulsoft.replaceAll(",", "."), c.y.toString().stimulsoft.replaceAll(",", ".")), o = !0) : 180 == i && (n && a.appendFormat("M{0},{1}", f.x.toString().stimulsoft.replaceAll(",", "."), f.y.toString().stimulsoft.replaceAll(",", ".")), a.appendFormat("A{0},{1},90,1,1,{2},{3}", (t.height / 2).toString().stimulsoft.replaceAll(",", "."), (t.width / 2).toString().stimulsoft.replaceAll(",", "."), p.x.toString().stimulsoft.replaceAll(",", "."), p.y.toString().stimulsoft.replaceAll(",", ".")), o = !0) : 270 == r && (90 == i ? (a.appendFormat("M{0},{1}", c.x.toString().stimulsoft.replaceAll(",", "."), c.y.toString().stimulsoft.replaceAll(",", ".")), a.appendFormat("Q{0},{1},{2},{3}", m.x.toString().stimulsoft.replaceAll(",", "."), m.y.toString().stimulsoft.replaceAll(",", "."), p.x.toString().stimulsoft.replaceAll(",", "."), p.y.toString().stimulsoft.replaceAll(",", ".")), o = !0) : 180 == i && (n && a.appendFormat("M{0},{1}", c.x.toString().stimulsoft.replaceAll(",", "."), c.y.toString().stimulsoft.replaceAll(",", ".")), a.appendFormat("A{0},{1},90,1,1,{2},{3}", (t.height / 2).toString().stimulsoft.replaceAll(",", "."), (t.width / 2).toString().stimulsoft.replaceAll(",", "."), d.x.toString().stimulsoft.replaceAll(",", "."), d.y.toString().stimulsoft.replaceAll(",", ".")), o = !0)), !o) { var S = Math.min(t.width / 2, t.height / 2) , A = r * this.PiDiv180 , y = s.x + S * Math.cos(A) , w = s.y + S * Math.sin(A) , b = new I(y,w) , v = !1; 0 == a.length ? a.appendFormat("M{0},{1}", b.x.toString().stimulsoft.replaceAll(",", "."), b.y.toString().stimulsoft.replaceAll(",", ".")) : v = !0; var C = this.round(Math.abs(i / 90)) , E = i / C; A = r; var B = -1; while (++B < C) { var T = this.convertArcToCubicBezier(s, S, A, E); v && (a.appendFormat("M{0},{1}", T[0].x.toString().stimulsoft.replaceAll(",", "."), T[0].y.toString().stimulsoft.replaceAll(",", ".")), v = !1), a.appendFormat(" C{0},{1},{2},{3},{4},{5}", T[1].x.toString().stimulsoft.replaceAll(",", "."), T[1].y.toString().stimulsoft.replaceAll(",", "."), T[2].x.toString().stimulsoft.replaceAll(",", "."), T[2].y.toString().stimulsoft.replaceAll(",", "."), T[3].x.toString().stimulsoft.replaceAll(",", "."), T[3].y.toString().stimulsoft.replaceAll(",", ".")), b = T[3], A += E } } return a.toString() } , t.convertArcToCubicBezier = function(t, e, r, i) { var n = r * this.PiDiv180 , o = i * this.PiDiv180 , a = n + o , s = t.x + e * Math.cos(n) , l = t.y + e * Math.sin(n) , u = t.x + e * Math.cos(a) , c = t.y + e * Math.sin(a) , m = e * this.FourDivThree * Math.tan(.25 * o) , p = Math.atan(m / e) , h = e / Math.cos(p); p += n; var d = t.x + h * Math.cos(p) , g = t.y + h * Math.sin(p); p = Math.atan(-m / e), p += a; var f = t.x + h * Math.cos(p) , S = t.y + h * Math.sin(p); return [new I(s,l), new I(d,g), new I(f,S), new I(u,c)] } , t.addArcPath = function(t, e) { var r = t.stimulsoft.is(S) ? t.x : t.rect.x , i = t.stimulsoft.is(S) ? t.y : t.rect.y , n = t.stimulsoft.is(S) ? t.width : t.rect.width , o = t.stimulsoft.is(S) ? t.height : t.rect.height , a = (t.stimulsoft.is(S), t.startAngle) , s = (t.stimulsoft.is(S), t.sweepAngle) , u = new l , c = r + n / 2 , m = i + o / 2 , p = n / 2 , h = a * Math.PI / 180 , d = c + p * Math.cos(h) , g = m + p * Math.sin(h); e.stimulsoft.startsWith("M") || u.appendFormat("M{0},{1}", d.toString().stimulsoft.replaceAll(",", "."), g.toString().stimulsoft.replaceAll(",", ".")); var f = this.round(Math.abs(s / 10)) , A = s / f; h = a; for (var y = new I(0,0), w = 0; w < f; w++) { var b = this.convertArcToCubicBezier2(new F(r,i,n,o), h, A); 0 == w ? u.appendFormat(" C{0},{1},{2},{3},{4},{5}", b[1].x.toString().stimulsoft.replaceAll(",", "."), b[1].y.toString().stimulsoft.replaceAll(",", "."), b[2].x.toString().stimulsoft.replaceAll(",", "."), b[2].y.toString().stimulsoft.replaceAll(",", "."), b[3].x.toString().stimulsoft.replaceAll(",", "."), b[3].y.toString().stimulsoft.replaceAll(",", ".")) : u.appendFormat(",{0},{1},{2},{3},{4},{5}", b[1].x.toString().stimulsoft.replaceAll(",", "."), b[1].y.toString().stimulsoft.replaceAll(",", "."), b[2].x.toString().stimulsoft.replaceAll(",", "."), b[2].y.toString().stimulsoft.replaceAll(",", "."), b[3].x.toString().stimulsoft.replaceAll(",", "."), b[3].y.toString().stimulsoft.replaceAll(",", ".")), h += A, y = b[3] } if (t.stimulsoft.is(v)) { var C = t; f = this.round(Math.abs(s / 10)), A = s / f; var E = p - n * C.startWidth , B = p - n * C.endWidth; if (E <= 0 || B <= 0) return null; var T = E - B , x = 1 / f , D = f; h = a + s; for (var w = 0; w < f; w++) { var R = E - T * D , P = E - T * (D + x) , b = this.convertArcToCubicBezier3(new I(c,m), R, P, h, -A); 0 == w ? (u.appendFormat(" L{0},{1}", b[0].x.toString().stimulsoft.replaceAll(",", "."), b[0].y.toString().stimulsoft.replaceAll(",", ".")), u.appendFormat(" C{0},{1},{2},{3},{4},{5}", b[1].x.toString().stimulsoft.replaceAll(",", "."), b[1].y.toString().stimulsoft.replaceAll(",", "."), b[2].x.toString().stimulsoft.replaceAll(",", "."), b[2].y.toString().stimulsoft.replaceAll(",", "."), b[3].x.toString().stimulsoft.replaceAll(",", "."), b[3].y.toString().stimulsoft.replaceAll(",", "."))) : u.appendFormat(",{0},{1},{2},{3},{4},{5}", b[1].x.toString().stimulsoft.replaceAll(",", "."), b[1].y.toString().stimulsoft.replaceAll(",", "."), b[2].x.toString().stimulsoft.replaceAll(",", "."), b[2].y.toString().stimulsoft.replaceAll(",", "."), b[3].x.toString().stimulsoft.replaceAll(",", "."), b[3].y.toString().stimulsoft.replaceAll(",", ".")), h -= A, D -= x } u.appendFormat("z") } return u.toString() } , t.addPiePath = function(t, e) { var r = new l , i = t.rect.x + t.rect.width / 2 , n = t.rect.y + t.rect.height / 2 , o = t.rect.width / 2 , a = t.startAngle * Math.PI / 180 , s = i + o * Math.cos(a) , u = n + o * Math.sin(a); r.appendFormat("M{0},{1}", i.toString().stimulsoft.replaceAll(",", "."), n.toString().stimulsoft.replaceAll(",", ".")), r.appendFormat("L{0},{1}", s.toString().stimulsoft.replaceAll(",", "."), u.toString().stimulsoft.replaceAll(",", ".")); var c = this.round(Math.abs(t.sweepAngle / 90)) , m = t.sweepAngle / c; a = t.startAngle; for (var p = 0; p < c; p++) { for (var h = this.convertArcToCubicBezier2(t.rect, a, m), d = 1; d < h.length - 1; d += 3) 1 == d ? r.appendFormat("C{0},{1},{2},{3},{4},{5}", h[d].x.toString().stimulsoft.replaceAll(",", "."), h[d].y.toString().stimulsoft.replaceAll(",", "."), h[d + 1].x.toString().stimulsoft.replaceAll(",", "."), h[d + 1].y.toString().stimulsoft.replaceAll(",", "."), h[d + 2].x.toString().stimulsoft.replaceAll(",", "."), h[d + 2].y.toString().stimulsoft.replaceAll(",", ".")) : r.appendFormat(",{0},{1},{2},{3},{4},{5}", h[d].x.toString().stimulsoft.replaceAll(",", "."), h[d].y.toString().stimulsoft.replaceAll(",", "."), h[d + 1].x.toString().stimulsoft.replaceAll(",", "."), h[d + 1].y.toString().stimulsoft.replaceAll(",", "."), h[d + 2].x.toString().stimulsoft.replaceAll(",", "."), h[d + 2].y.toString().stimulsoft.replaceAll(",", ".")); a += m } return r.appendFormat("L{0},{1}", i.toString().stimulsoft.replaceAll(",", "."), n.toString().stimulsoft.replaceAll(",", ".")), r.toString() } , t.convertArcToCubicBezier2 = function(t, e, r) { var i = t.x + t.width / 2 , n = 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 = i + o * Math.cos(a) , c = n + o * Math.sin(a) , m = i + o * Math.cos(l) , p = n + o * Math.sin(l) , h = 4 * o / 3 * Math.tan(.25 * s) , d = Math.atan(h / o) , g = o / Math.cos(d); d += a; var f = i + g * Math.cos(d) , S = n + g * Math.sin(d); d = Math.atan(-h / o), d += l; var A = i + g * Math.cos(d) , y = n + g * Math.sin(d); return [new I(u,c), new I(f,S), new I(A,y), new I(m,p)] } , t.convertArcToCubicBezier3 = function(t, e, r, i, n) { var o = i * this.PiDiv180 , a = n * 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) , m = t.y + r * Math.sin(s) , p = (e - r) / 3; e -= p, r += p; var h = e * this.FourDivThree * Math.tan(.25 * a) , d = Math.atan(h / e) , g = e / Math.cos(d); d += o; var f = t.x + g * Math.cos(d) , S = t.y + g * Math.sin(d); d = Math.atan(-h / e), d += s; var A = t.x + g * Math.cos(d) , y = t.y + g * Math.sin(d); return [new I(l,u), new I(f,S), new I(A,y), new I(c,m)] } , t.round = function(t) { var e = Math.trunc(t); return t - e > 0 ? e + 1 : e } , t.writeText = function(t, e, r, i, n, o) { var a = new l; 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(" + n.x.toString().stimulsoft.replaceAll(", ", ".") + ", " + n.y.toString().stimulsoft.replaceAll(", ", ".") + ") "), t.writeAttributeString("font-size", o.toString().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("font-family", r.fontFamily.name); var u = A.toColor(i); a.append("fill:" + s.toHtml(u) + ";"), 255 != u.a && a.append("fill-opacity:" + Math.round2(u.a / 255, 3).toString().stimulsoft.replaceAll(", ", ".")), t.writeAttributeString("style", a.toString()), t.writeRaw(e), t.writeEndElement() } , t.calculateCurveBezier = function(t, e, r) { var i = t[e + 2].x - t[e + 0].x , n = t[e + 2].y - t[e + 0].y; return [new I(t[e + 1].x - r * i,t[e + 1].y - r * n), new I(t[e + 1].x + r * i,t[e + 1].y + r * n)] } , t.calculateCurveBezierEndPoints = function(t, e, r) { return new I(r * (e.x - t.x) + t.x,r * (e.y - t.y) + t.y) } , t.writeFillBrush = function(t, i, n) { if (i.stimulsoft.is(y)) { var o = i; return r.format("fill:rgb({0},{1},{2});fill-opacity:{3};", o.r, o.g, o.b, Math.round2(o.a / 255, 3).toString().stimulsoft.replaceAll(",", ".")) } if (i.stimulsoft.is(h)) { var a = e.StiBrushSvgHelper.writeGradientBrush(t, i, n); return r.format("fill:url(#{0});", a) } if (i.stimulsoft.is(g)) { var a = e.StiBrushSvgHelper.writeGlareBrush(t, i, n); return r.format("fill:url(#{0});", a) } if (i.stimulsoft.is(d)) { var a = e.StiBrushSvgHelper.writeGlassBrush(t, i, n); return r.format("fill:url(#{0});", a) } if (i.stimulsoft.is(f)) { var a = e.StiBrushSvgHelper.writeHatchBrush(t, i); return r.format("fill:url(#{0});", a) } if (i.stimulsoft.is(A)) { var o = A.toColor(i); return r.format("fill:rgb({0},{1},{2});fill-opacity:{3};", o.r, o.g, o.b, Math.round2(o.a / 255, 3).toString().stimulsoft.replaceAll(",", ".")) } return "fill-opacity:0;" } , t.writeBorderStroke = function(t, i, n) { if (i.stimulsoft.is(y)) { var o = i , a = r.format("stroke:rgb({0},{1},{2});", o.r, o.g, o.b) , s = Math.round2(o.a / 255, 3); return 1 != s && (a += r.format("stroke-opacity:{0};", s.toString().stimulsoft.replaceAll(",", "."))), a } if (i.stimulsoft.is(p)) { var l = i , a = r.format("stroke:rgb({0},{1},{2});", l.color.r, l.color.g, l.color.b) , s = Math.round2(l.color.a / 255, 3); return 1 != s && (a += r.format("stroke-opacity:{0};", s.toString().stimulsoft.replaceAll(",", "."))), a } if (i.stimulsoft.is(h)) { var u = e.StiBrushSvgHelper.writeGradientBrush(t, i, n); return r.format("fill:url(#{0});", u) } if (i.stimulsoft.is(g)) { var u = e.StiBrushSvgHelper.writeGlareBrush(t, i, n); return r.format("fill:url(#{0});", u) } if (i.stimulsoft.is(d)) { var u = e.StiBrushSvgHelper.writeGlassBrush(t, i, n); return r.format("fill:url(#{0});", u) } if (i.stimulsoft.is(f)) { var u = e.StiBrushSvgHelper.writeHatchBrush(t, i); return r.format("fill:url(#{0});", u) } if (i.stimulsoft.is(A)) { var o = A.toColor(i) , a = r.format("stroke:rgb({0},{1},{2})", o.r, o.g, o.b) , s = Math.round2(o.a / 255, 3); 1 != s && (a += r.format(";stroke-opacity:{0}", s.toString().stimulsoft.replaceAll(",", "."))) } return "stroke-opacity:0" } , t.rectToRectangle = function(t) { if (t.stimulsoft.is(F)) return t; return new F } , t.PiDiv180 = Math.PI / 180, t.FourDivThree = 4 / 3, t }(); e.StiGaugeSvgHelper = R }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Collections.List , n = t.Report.Dictionary.StiDataColumn , o = t.Base.Helpers.StiBingMapHelper , a = t.System.StiPromise , s = function() { function t() { this.useBackground = !1 } return t.prototype.getImageAsync = function(t, e, r, i) { void 0 === r && (r = null), void 0 === i && (i = null); var n = new a , o = t.report.info.zoom; this.useBackground && (e *= 2), t.report.info.zoom = e; var s = t.getPaintRectangle(); s.x = 0, s.y = 0, s.width = null != r ? r : s.width, s.height = null != i ? i : s.height; var l = Math.trunc(s.width) + 2 , u = Math.trunc(s.height) + 2; return this.paintOnlineMapAsync(s, t).try(function(t) { n.callTry(t) }), t.report.info.zoom = o, n } , t.prototype.paintOnlineMapAsync = function(t, e) { var s = new a , l = t.size; try { var u = new i; if (!r.isNullOrEmpty(e.latitude) && !r.isNullOrEmpty(e.longitude)) { e.report.isDesigning && this.useBackground || e.report.dictionary.connect(); var c = n.getDataListFromDataColumn(e.report.dictionary, e.latitude) , m = n.getDataListFromDataColumn(e.report.dictionary, e.longitude); if (e.report.isDesigning && this.useBackground || e.report.dictionary.disconnect(), null != c && null != m) { var p = Math.max(c.length, m.length); p > 100 && (p = 100); for (var h = 0; h < p; h++) { var d = c[h] , g = m[h]; if (null == d || null == g) continue; var f = this.tryToDecimal(d).toString() , S = this.tryToDecimal(g).toString(); u.add("pp=" + f + "," + S + ";60") } } } if (e.isDesigning) if (this.useBackground) s.callTry(""); else try { o.getImageAsync(l, u).try(function(t) { s.callTry(t) }) } catch (t) { s.callTry("") } else o.getImageAsync(l, u).try(function(t) { s.callTry(t) }) } catch (t) { s.callTry("") } return s } , t.prototype.tryToDecimal = function(t) { var e = parseFloat(t); return e || 0 } , t }(); e.StiMapGdiPainter = s }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiObject , n = t.System.StiString , o = t.System.Enum , a = t.System.Guid , s = t.System.StiPromise , l = t.Report.Painters.StiMapGdiPainter , u = function() { function u() {} return u.addToCahe = function(t, e, r) { var i = a.newGuid().toString(); return this.cache[i] = { map: t, width: e, height: r }, i } , u.renderOnlineMap = function(t) { var e = new s; if (0 == i.keys(u.cache).length) e.callTry(); else { var r = function(r) { var o = n.cache[r] , a = new l; a.key = r, a.getImageAsync(o.map, 1, o.width, o.height).try(function(n) { delete u.cache[r], t.getStream().getStringBuilder().replace(r, n), t.getStream().getStringBuilder().replace("&(*", "&(*"), 0 == i.keys(u.cache).length && e.callTry() }) } , n = this; for (var o in this.cache) r(o) } return e } , u.isWorld = function(t) { return t == r.StiMapID.World } , u.isAfrica = function(t) { return t == r.StiMapID.SouthAfrica } , u.isNorthAmerica = function(t) { switch (t) { case r.StiMapID.USA: case r.StiMapID.Canada: case r.StiMapID.Mexico: return !0 } return !1 } , u.isSouthAmerica = function(t) { switch (t) { case r.StiMapID.Argentina: case r.StiMapID.Bolivia: case r.StiMapID.Brazil: case r.StiMapID.Chile: case r.StiMapID.Colombia: case r.StiMapID.Ecuador: case r.StiMapID.FalklandIslands: case r.StiMapID.Guyana: case r.StiMapID.Paraguay: case r.StiMapID.Peru: case r.StiMapID.Suriname: case r.StiMapID.Uruguay: case r.StiMapID.Venezuela: return !0 } return !1 } , u.isEU = function(t) { switch (t) { case r.StiMapID.Albania: case r.StiMapID.Andorra: case r.StiMapID.Austria: case r.StiMapID.Belarus: case r.StiMapID.Belgium: case r.StiMapID.BosniaAndHerzegovina: case r.StiMapID.Bulgaria: case r.StiMapID.Croatia: case r.StiMapID.CzechRepublic: case r.StiMapID.Denmark: case r.StiMapID.Estonia: case r.StiMapID.EU: case r.StiMapID.Finland: case r.StiMapID.France: case r.StiMapID.Georgia: case r.StiMapID.Germany: case r.StiMapID.Greece: case r.StiMapID.Hungary: case r.StiMapID.Iceland: case r.StiMapID.Ireland: case r.StiMapID.Italy: case r.StiMapID.Latvia: case r.StiMapID.Liechtenstein: case r.StiMapID.Lithuania: case r.StiMapID.Luxembourg: case r.StiMapID.Macedonia: case r.StiMapID.Malta: case r.StiMapID.Moldova: case r.StiMapID.Monaco: case r.StiMapID.Montenegro: case r.StiMapID.Netherlands: case r.StiMapID.Norway: case r.StiMapID.Poland: case r.StiMapID.Portugal: case r.StiMapID.Romania: case r.StiMapID.Russia: case r.StiMapID.SanMarino: case r.StiMapID.Serbia: case r.StiMapID.Slovakia: case r.StiMapID.Slovenia: case r.StiMapID.Spain: case r.StiMapID.Sweden: case r.StiMapID.Switzerland: case r.StiMapID.Turkey: case r.StiMapID.UK: case r.StiMapID.UKCountries: case r.StiMapID.Ukraine: case r.StiMapID.Vatican: return !0 } return !1 } , u.isOceania = function(t) { switch (t) { case r.StiMapID.Australia: case r.StiMapID.Indonesia: case r.StiMapID.NewZealand: return !0 } return !1 } , u.isAsia = function(t) { switch (t) { case r.StiMapID.Armenia: case r.StiMapID.Azerbaijan: case r.StiMapID.China: case r.StiMapID.Cyprus: case r.StiMapID.India: case r.StiMapID.Israel: case r.StiMapID.Japan: case r.StiMapID.Kazakhstan: case r.StiMapID.Malaysia: case r.StiMapID.Philippines: case r.StiMapID.SaudiArabia: case r.StiMapID.SouthKorea: case r.StiMapID.Thailand: case r.StiMapID.Vietnam: case r.StiMapID.MiddleEast: case r.StiMapID.Oman: case r.StiMapID.Qatar: return !0 } return !1 } , u.getStates = function(t) { var e = r.StiMapLoader.loadResource(o.getName(r.StiMapID, t)); if (null == e) return []; return e.hashPaths.keys.toArray() } , u.getMapSample = function() { return null == u.globalReport && (u.globalReport = new e.StiReport), null == u.globalMap && (u.globalMap = new r.StiMap, u.globalMap.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"}]', u.globalReport.pages.getByIndex(0).components.add(u.globalMap)), u.globalMap.stretch = !0, u.globalMap.mapType = r.StiMapType.Individual, u.globalMap.displayNameType = r.StiDisplayNameType.None, u.globalMap.mapID = r.StiMapID.USA, u.globalMap.showValue = !1, u.globalMap.stretch = !0, u.globalMap } , u.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")] } , u.prepareIsoCode = function(t) { if (n.isNullOrEmpty(t)) return ""; var e = t.indexOf("-"); if (-1 != e) return t.substring(e + 1); return t } , u.cache = {}, u }(); r.StiMapHelper = u }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function() { function t(t) { this._color = null, this.key = t } return Object.defineProperty(t.prototype, "value", { get: function() { return this._value }, set: function(t) { this._value != t && (this._value = t, this.invokeValueChanged()) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "group", { get: function() { return this._group }, set: function(t) { this._group != t && (this._group = t, this.invokeValueChanged()) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "color", { get: function() { return this._color }, set: function(t) { this._color != t && (this._color = t, this.invokeValueChanged()) }, enumerable: !0, configurable: !0 }), t.prototype.toString = function() { return r.format("{0}, {1}", this.key, this.group) } , t.prototype.invokeValueChanged = function() {} , t }(); e.StiMapData = i }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Rectangle = Stimulsoft.System.Drawing.Rectangle, StiTextHorAlignment = Stimulsoft.Base.Drawing.StiTextHorAlignment, StiVertAlignment = Stimulsoft.Base.Drawing.StiVertAlignment, Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function() { function t() {} return t.prototype.toString = function() { return r.format("{0} {1}", this.key, this.iSOCode) } , t }(); e.StiMapSvg = i }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Drawing.ColorTranslator , o = t.System.Collections.List , a = t.Base.JsonReportObject.IStiJsonReportObject , s = t.Report.Styles.StiMapStyle , l = t.System.Drawing.Rectangle , u = t.Base.Localization.StiLocalization , c = t.System.Drawing.Color , m = t.Base.Drawing.StiSolidBrush , p = t.Base.Drawing.StiBrush , h = t.Base.Drawing.StiBorder , d = t.Report.Dictionary.StiBusinessObjectHelper , g = t.Report.Components.StiComponent , f = t.Report.Components.IStiExportImageExtended , S = t.Report.Components.IStiBorder , A = t.Report.Components.IStiBrush , y = t.Report.Components.IStiDataSource , w = t.Report.Components.IStiBusinessObject , b = t.Base.StiJsonReportObjectHelper , v = t.System.Enum , C = t.Base.Drawing.StiColorUtils , E = function(g) { function E(t) { void 0 === t && (t = l.empty); var e = g.call(this, t) || this; return e._dataSourceName = "", e._businessObjectGuid = "", e._countData = 0, e.isEofValue = !1, e.isBofValue = !1, e.isCacheValues = !1, e.cachedCount = 0, e.cachedIsBusinessObjectEmpty = !1, e.cachedIsDataSourceEmpty = !1, e.cachedDataSource = null, e.cachedBusinessObject = null, e._border = new h, e._brush = new m(c.transparent), e.defaultClientRectangle = new l(0,0,240,240), e._mapStyle = r.StiMapStyleIdent.Style25, e._dataFrom = r.StiMapSource.Manual, e._colorEach = !1, e._stretch = !0, e._showValue = !0, e._shortValue = !0, e._displayNameType = r.StiDisplayNameType.Full, e._mapID = r.StiMapID.USA, e._mapType = r.StiMapType.Individual, e.isMapDataChanged = !1, e._mapData = null, e._keyDataColumn = null, e._nameDataColumn = null, e._valueDataColumn = null, e._groupDataColumn = null, e._colorDataColumn = null, e._latitude = null, e._longitude = null, e._mapMode = r.StiMapMode.Choropleth, e._isHashDataEmpty = !0, e } return __extends(E, g), E.prototype.implements = function() { return E.implementsStiMap || (E.implementsStiMap = g.prototype.implements.call(this).concat([f, S, A, y, w, a])), E.implementsStiMap } , E.prototype.saveToJsonObject = function(t) { var e = g.prototype.saveToJsonObject.call(this, t); return e.removeProperty("UseParentStyles"), e.removeProperty("CanGrow"), e.removeProperty("CanShrink"), e.removeProperty("GrowToHeight"), e.removeProperty("Interaction"), e.addPropertyStringNullOrEmpty("Border", b.Serialize.jBorder(this.border)), e.addPropertyStringNullOrEmpty("Brush", b.Serialize.jBrush(this.brush)), e.addPropertyStringNullOrEmpty("DataSourceName", this.dataSourceName), e.addPropertyStringNullOrEmpty("BusinessObjectGuid", this.businessObjectGuid), e.addPropertyEnum("MapStyle", r.StiMapStyleIdent, this.mapStyle, r.StiMapStyleIdent.Style25), e.addPropertyEnum("DataFrom", r.StiMapSource, this.dataFrom, r.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", r.StiDisplayNameType, this.displayNameType, r.StiDisplayNameType.Full), e.addPropertyEnum("MapIdent", r.StiMapID, this.mapID, r.StiMapID.USA), e.addPropertyEnum("MapMode", r.StiMapMode, this.mapMode, r.StiMapMode.Choropleth), e.addPropertyEnum("MapType", r.StiMapType, this.mapType, r.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 } , E.prototype.loadFromJsonObject = function(t) { var e, i; g.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Border": this._border = b.Deserialize.border(a.value.toString()); break; case "Brush": this._brush = b.Deserialize.brush(a.value.toString()); break; case "DataSourceName": this._dataSourceName = a.value.toString(); break; case "BusinessObjectGuid": this._businessObjectGuid = a.value.toString(); break; case "CountData": this._countData = a.value.stimulsoft.toNumber(); break; case "MapStyle": this._mapStyle = v.parse(r.StiMapStyleIdent, a.value.toString()); break; case "Stretch": this._stretch = a.value.stimulsoft.toBoolean(); break; case "ColorEach": this._colorEach = a.value.stimulsoft.toBoolean(); break; case "ShowValue": this._showValue = a.value.stimulsoft.toBoolean(); break; case "ShowName": this._displayNameType = v.parse(r.StiDisplayNameType, a.value.toString()); break; case "MapID": case "MapIdent": this._mapID = v.parse(r.StiMapID, a.value.toString()), this._mapID != r.StiMapID.ChinaWithHongKongAndMacau && this._mapID != r.StiMapID.ChinaWithHongKongMacauAndTaiwan || (this._mapID = r.StiMapID.China); break; case "MapType": this._mapType = v.parse(r.StiMapType, a.value.toString()); break; case "MapMode": this._mapMode = v.parse(r.StiMapMode, a.value.toString()); break; case "MapData": this._mapData = a.value.toString(); break; case "DataFrom": this.dataFrom = v.parse(r.StiMapSource, a.value.toString()); break; case "KeyDataColumn": case "DataColumnKey": this._keyDataColumn = a.value.toString(); break; case "NameDataColumn": case "DataColumnName": this._nameDataColumn = a.value.toString(); break; case "ValueDataColumn": case "DataColumnValue": this._valueDataColumn = a.value.toString(); break; case "GroupDataColumn": case "DataColumnGroup": this._groupDataColumn = a.value.toString(); break; case "ColorDataColumn": case "DataColumnColor": this._colorDataColumn = a.value.toString(); break; case "Latitude": this._latitude = a.value.toString(); break; case "Longitude": this._longitude = a.value.toString(); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , E.prototype.loadFromXml = function(t, e) { g.prototype.loadFromXml.call(this, t, e); var n = t.getAttribute("Ref"); !i.isNullOrEmpty(n) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[n.stimulsoft.toNumber()] = t.nodeName); for (var o = 0; o < t.childNodes.length; o++) { var a = t.childNodes[o]; switch (a.nodeName) { case "Border": this._border = h.loadFromXml(a.textContent); break; case "Brush": this._brush = p.loadFromXml(a.textContent); break; case "DataSourceName": this._dataSourceName = a.textContent; break; case "BusinessObjectGuid": this._businessObjectGuid = a.textContent; break; case "CountData": this._countData = a.textContent.stimulsoft.toNumber(); break; case "MapStyle": this._mapStyle = v.parse(r.StiMapStyleIdent, a.textContent.toString()); break; case "Stretch": this._stretch = a.textContent.stimulsoft.toBoolean(); break; case "ColorEach": this._colorEach = a.textContent.stimulsoft.toBoolean(); break; case "ShowValue": this._showValue = a.textContent.stimulsoft.toBoolean(); break; case "ShowName": this._displayNameType = v.parse(r.StiDisplayNameType, a.textContent.toString()); break; case "MapIdent": case "MapID": this._mapID = v.parse(r.StiMapID, a.textContent.toString()), this._mapID != r.StiMapID.ChinaWithHongKongAndMacau && this._mapID != r.StiMapID.ChinaWithHongKongMacauAndTaiwan || (this._mapID = r.StiMapID.China); break; case "MapMode": this._mapMode = v.parse(r.StiMapMode, a.textContent.toString()); break; case "MapType": this._mapType = v.parse(r.StiMapType, a.textContent.toString()); break; case "DataFrom": this.dataFrom = v.parse(r.StiMapSource, a.textContent.toString()); break; case "MapData": this._mapData = a.textContent.toString(); break; case "KeyDataColumn": case "DataColumnKey": this._keyDataColumn = a.textContent.toString(); break; case "NameDataColumn": case "DataColumnName": this._nameDataColumn = a.textContent.toString(); break; case "ValueDataColumn": case "DataColumnValue": this._valueDataColumn = a.textContent.toString(); break; case "GroupDataColumn": case "DataColumnGroup": this._groupDataColumn = a.textContent.toString(); break; case "ColorDataColumn": case "DataColumnColor": this._colorDataColumn = a.textContent.toString(); break; case "Latitude": this._latitude = a.textContent.toString(); break; case "Longitude": this._longitude = a.textContent.toString(); break } } } , E.prototype.clone = function(t) { return g.prototype.clone.call(this, t) } , E.prototype.getImage = function(r, i) { void 0 === i && (i = e.StiExportFormat.None); var n = new e.Export.StiSvgData; n.component = this, n.x = 0, n.y = 0, n.width = this.report.unit.convertToHInches(this.width), n.height = this.report.unit.convertToHInches(this.height); var o = 1; return r.ref && (o = r.ref), t.Report.Export.StiMapSvgHelper.getImage(n, o) } , E.prototype.isExportAsImage = function(t) { return !0 } , Object.defineProperty(E.prototype, "isDataSourceEmpty", { get: function() { return i.isNullOrEmpty(this.dataSourceName) || null == this.dataSource }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.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: !0, configurable: !0 }), Object.defineProperty(E.prototype, "dataSourceName", { get: function() { return this._dataSourceName }, set: function(t) { this._dataSourceName != t && (this._dataSourceName = t, i.isNullOrEmpty(t) || (this.businessObjectGuid = null)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "isBusinessObjectEmpty", { get: function() { return i.isNullOrEmpty(this.businessObjectGuid) || null == this.businessObject }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "businessObject", { get: function() { if (null == this.page || null == this.report || null == this.businessObjectGuid || 0 == this.businessObjectGuid.length) return null; return d.getBusinessObjectFromGuid(this.report, this.businessObjectGuid) }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "businessObjectGuid", { get: function() { return this._businessObjectGuid }, set: function(t) { this._businessObjectGuid != t && (this._businessObjectGuid = t, i.isNullOrEmpty(t) || (this.dataSourceName = null)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "countData", { get: function() { return this._countData }, set: function(t) { this._countData = t }, enumerable: !0, configurable: !0 }), E.prototype.first = function() { this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? (this.isEofValue = !1, this.isBofValue = !0, this.positionValue = 0) : this.dataSource.first() : this.businessObject.first() } , E.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() } , E.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() } , E.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(E.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: !0, configurable: !0 }), Object.defineProperty(E.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: !0, configurable: !0 }), Object.defineProperty(E.prototype, "isEmpty", { get: function() { return this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? 0 == this.countData : this.dataSource.isEmpty : this.businessObject.isEmpty }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.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: !0, configurable: !0 }), Object.defineProperty(E.prototype, "count", { get: function() { if (this.isCacheValues) return this.cachedCount; return this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? this._countData : this.dataSource.count : this.businessObject.count }, enumerable: !0, configurable: !0 }), E.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(E.prototype, "border", { get: function() { return this._border }, set: function(t) { this._border = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "brush", { get: function() { return this._brush }, set: function(t) { this._brush = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "componentId", { get: function() { return e.StiComponentId.StiMap }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "localizedCategory", { get: function() { return u.get("Report", "Infographics") }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "localizedName", { get: function() { return u.get("Components", "StiMap") }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "mapStyle", { get: function() { return this._mapStyle }, set: function(t) { this._mapStyle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "dataFrom", { get: function() { return this._dataFrom }, set: function(t) { this._dataFrom = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "colorEach", { get: function() { return this._colorEach }, set: function(t) { this._colorEach = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "stretch", { get: function() { return this._stretch }, set: function(t) { this._stretch = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "showValue", { get: function() { return this._showValue }, set: function(t) { this._showValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "shortValue", { get: function() { return this._shortValue }, set: function(t) { this._shortValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "displayNameType", { get: function() { return this._displayNameType }, set: function(t) { this._displayNameType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "mapID", { get: function() { return this._mapID }, set: function(t) { this._mapID = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "mapType", { get: function() { return this._mapType }, set: function(t) { this._mapType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "mapData", { get: function() { return this._mapData }, set: function(t) { this._mapData != t && (this._mapData = t, this._isHashDataEmpty = !0, this.isMapDataChanged = !0) }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "keyDataColumn", { get: function() { return this._keyDataColumn }, set: function(t) { this._keyDataColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "nameDataColumn", { get: function() { return this._nameDataColumn }, set: function(t) { this._nameDataColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "valueDataColumn", { get: function() { return this._valueDataColumn }, set: function(t) { this._valueDataColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "groupDataColumn", { get: function() { return this._groupDataColumn }, set: function(t) { this._groupDataColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "colorDataColumn", { get: function() { return this._colorDataColumn }, set: function(t) { this._colorDataColumn = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "latitude", { get: function() { return this._latitude }, set: function(t) { this._latitude = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "longitude", { get: function() { return this._longitude }, set: function(t) { this._longitude = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "mapMode", { get: function() { return this._mapMode }, set: function(t) { this._mapMode = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(E.prototype, "isHashDataEmpty", { get: function() { return this._isHashDataEmpty }, enumerable: !0, configurable: !0 }), E.prototype.createNew = function() { return new E } , E.getDefaultMapData = function(e) { var i, a, s, l, u, c, m, p, h = new o, d = 10, g = !0, f = 0, S = r.StiMapHelper.getColors(), A = new o; try { for (var y = __values(S), w = y.next(); !w.done; w = y.next()) { var b = w.value; A.add(b) } } catch (t) { i = { error: t } } finally { try { w && !w.done && (a = y.return) && a.call(y) } finally { if (i) throw i.error } } var E = t.Report.Maps.StiMapLoader.loadResource(v.getName(t.Report.Maps.StiMapID, e)); try { for (var B = __values(E.hashPaths.keys), T = B.next(); !T.done; T = B.next()) { var I = T.value , x = new r.StiMapData(I); x.color = n.toHtml(A[f]); var F = E.hashPaths.get(I); if (null != F && (x.name = F.englishName), h.add(x), ++f >= A.length) { if (f = 0, g) try { for (var D = (u = void 0, __values(S)), R = D.next(); !R.done; R = D.next()) { var b = R.value; A.add(C.dark(b, d)) } } catch (t) { u = { error: t } } finally { try { R && !R.done && (c = D.return) && c.call(D) } finally { if (u) throw u.error } } else { try { for (var P = (m = void 0, __values(S)), N = P.next(); !N.done; N = P.next()) { var b = N.value; A.add(C.light(b, d)) } } catch (t) { m = { error: t } } finally { try { N && !N.done && (p = P.return) && p.call(P) } finally { if (m) throw m.error } } d += 10 } g = !g } } } catch (t) { s = { error: t } } finally { try { T && !T.done && (l = B.return) && l.call(B) } finally { if (s) throw s.error } } return h } , E.prototype.getMapData = function() { var e, n, a, s, l, u, c, m, p, h, d, g, f, S; if (null != this._hashData && this._hashData.length > 0 && this.isMapDataChanged) return this._hashData; this._isHashDataEmpty = !0; var A = new o; if (!i.isNullOrEmpty(this._mapData)) { var y = JSON.parse(this._mapData); try { for (var w = __values(y), b = w.next(); !b.done; b = w.next()) { var E = b.value , B = new r.StiMapData(E.key); B.value = E.value || E.Value || E._value, B.color = E.color || E.Color || E._color, B.group = E.group || E.Group || E._group, B.name = E.name || E.Name || E._name, A.push(B) } } catch (t) { e = { error: t } } finally { try { b && !b.done && (n = w.return) && n.call(w) } finally { if (e) throw e.error } } } var T = r.StiMapLoader.loadResource(v.getName(t.Report.Maps.StiMapID, this.mapID)); if (A.length > 0) { var I = 0; while (I < A.length) { var E = A[I]; if (i.isNullOrEmpty(E.key) || !T.hashPaths.containsKey(E.key)) { A.removeAt(I); continue } I++ } if (T.hashPaths.count != A.length) { var x = function(t) { if (null == A.firstOrDefault(function(e) { return e.key == t })) { var e = new r.StiMapData(t); A.add(e) } }; try { for (var F = __values(T.hashPaths.keys), D = F.next(); !D.done; D = F.next()) { var R = D.value; x(R) } } catch (t) { a = { error: t } } finally { try { D && !D.done && (s = F.return) && s.call(F) } finally { if (a) throw a.error } } } try { for (var P = __values(A), N = P.next(); !N.done; N = P.next()) { var E = N.value; if (!i.isNullOrEmpty(E.color) || !i.isNullOrEmpty(E.group) || !i.isNullOrEmpty(E.value)) { this._isHashDataEmpty = !1; break } } } catch (t) { l = { error: t } } finally { try { N && !N.done && (u = P.return) && u.call(P) } finally { if (l) throw l.error } } } else { var k = 10 , M = !0 , I = 0 , O = r.StiMapHelper.getColors() , _ = []; try { for (var L = __values(O), j = L.next(); !j.done; j = L.next()) { var H = j.value; _.add(H) } } catch (t) { c = { error: t } } finally { try { j && !j.done && (m = L.return) && m.call(L) } finally { if (c) throw c.error } } if (null != T.hashPaths) try { for (var G = __values(T.hashPaths.keys), Q = G.next(); !Q.done; Q = G.next()) { var R = Q.value , E = new r.StiMapData(R); E.color = t.System.Drawing.ColorTranslator.toHtml(_[I]); var Y = T.hashPaths.get(R); if (null != Y && (E.name = Y.englishName), A.add(E), ++I >= _.length) { if (I = 0, M) try { for (var U = (d = void 0, __values(O)), J = U.next(); !J.done; J = U.next()) { var H = J.value; _.add(C.dark(H, k)) } } catch (t) { d = { error: t } } finally { try { J && !J.done && (g = U.return) && g.call(U) } finally { if (d) throw d.error } } else { try { for (var W = (f = void 0, __values(O)), V = W.next(); !V.done; V = W.next()) { var H = V.value; _.add(C.light(H, k)) } } catch (t) { f = { error: t } } finally { try { V && !V.done && (S = W.return) && S.call(W) } finally { if (f) throw f.error } } k += 10 } M = !M } } } catch (t) { p = { error: t } } finally { try { Q && !Q.done && (h = G.return) && h.call(G) } finally { if (p) throw p.error } } } return this.isMapDataChanged = !0, this._hashData = A, A } , E.prototype.getCurrentStyleColors = function() { if (!i.isNullOrEmpty(this.componentStyle)) { var t = null != this.report.styles.getByName(this.componentStyle) ? this.report.styles.getByName(this.componentStyle).stimulsoft.as(s) : null; if (null != t) return t.colors } return E.getStyleColors(this.mapStyle) } , E.getStyleColors = function(t) { return E.getMapStyle(t).colors } , E.prototype.getStyleBackground = function() { if (!i.isNullOrEmpty(this.componentStyle)) { var t = this.report.styles.getByName(this.componentStyle); if (null != (t = null != t ? t.stimulsoft.as(s) : null)) return new m(t.backColor) } return new m(E.getMapStyle(this.mapStyle).backColor) } , E.getMapStyle2 = function(t) { var e = null; return i.isNullOrEmpty(t.componentStyle) || (e = t.report.styles.getByName(t.componentStyle), e = null != e ? e.stimulsoft.as(s) : null), null == e && (e = E.getMapStyle(t.mapStyle)), e } , E.getMapStyle = function(t) { switch (t) { case r.StiMapStyleIdent.Style21: return new r.StiMap21StyleFX; case r.StiMapStyleIdent.Style24: return new r.StiMap24StyleFX; case r.StiMapStyleIdent.Style25: return new r.StiMap25StyleFX; case r.StiMapStyleIdent.Style26: return new r.StiMap26StyleFX; case r.StiMapStyleIdent.Style27: return new r.StiMap27StyleFX; case r.StiMapStyleIdent.Style28: return new r.StiMap28StyleFX; case r.StiMapStyleIdent.Style29: return new r.StiMap29StyleFX; case r.StiMapStyleIdent.Style30: return new r.StiMap30StyleFX; case r.StiMapStyleIdent.Style31: return new r.StiMap31StyleFX; case r.StiMapStyleIdent.Style32: return new r.StiMap32StyleFX; case r.StiMapStyleIdent.Style33: return new r.StiMap33StyleFX; default: throw new Error("Style is not supported!") } } , E }(g); r.StiMap = E }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.NodeJs , o = t.Report.Styles.StiMapStyle , a = t.System.Text.StringBuilder , s = t.Base.Drawing.StiSolidBrush , l = t.System.Enum , u = t.System.Drawing.SolidBrush , c = t.System.Drawing.Color , m = t.Report.Maps.StiMap , p = t.Report.Maps.StiMapData , h = t.System.Xml.XmlTextWriter , d = t.Report.Maps.StiMapHelper , g = t.Report.Maps.StiDisplayNameType , f = t.System.Drawing.Font , S = t.System.Drawing.Graphics , A = t.System.Drawing.Size , y = t.System.Drawing.Image , w = t.System.Text.Encoding , b = t.System.Drawing.Imaging.ImageFormat , v = t.Report.Export.Services.Helpers.StiContextSvgHelper , C = t.System.Drawing.Rectangle , E = t.Report.Maps.StiMapMode , B = function() { function r() {} return r.getImage = function(t, e) { void 0 === e && (e = 1); var o = new y; if (!n.useWebKit) return o; var s = t.width * e , l = t.height * e , u = document.createElement("canvas"); u.width = s, u.height = l; var c = new h(w.UTF8) , p = t.component.stimulsoft.as(m); if (null != p && null != p.brush) { var d = new a; d.append(v.writeFillBrush(c, p.brush, new C(0,0,s,l))), c.writeStartElement("rect"), c.writeAttributeString("x", t.x.toString().stimulsoft.replaceAll(",", ".")), c.writeAttributeString("y", t.y.toString().stimulsoft.replaceAll(",", ".")), c.writeAttributeString("height", l.toString().stimulsoft.replaceAll(",", ".")), c.writeAttributeString("width", s.toString().stimulsoft.replaceAll(",", ".")), c.writeAttributeString("style", d.toString()), c.writeEndElement() } r.drawMap(c, t.component, t.x, t.y, s, l, !1), c.flush(); var g = i.format('{2}', s, l, c.textWriter.getStringBuilder().toString()); canvg(u, g); var f = u.toDataURL(b.Jpeg.mimeType); return u.svg.stop(), o.base64 = f, o } , r.drawMap = function(e, r, n, o, a, s, u) { if (r.mapMode == E.Online) e.writeString(d.addToCahe(r, a, s)); else { var c = t.Report.Maps.StiMapLoader.loadResource(l.getName(t.Report.Maps.StiMapID, r.mapID)) , m = a / c.width < s / c.height ? a / c.width : s / c.height; e.writeStartElement("rect"), 0 != n && e.writeAttributeString("x", this.normalizeDecimal(n)), 0 != o && e.writeAttributeString("y", this.normalizeDecimal(o)), e.writeAttributeString("width", this.normalizeDecimal(a)), e.writeAttributeString("height", this.normalizeDecimal(s)); var p = r.getStyleBackground().color; e.writeAttributeString("style", i.format("fill:rgb({0},{1},{2});fill-opacity:{3};", p.r, p.g, p.b, Math.round2(p.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), e.writeEndElement(), e.writeStartElement("g"), e.writeAttributeString("transform", i.format("translate({0},{1})", this.normalizeDecimal((a - c.width * m) / 2 + n), this.normalizeDecimal((s - c.height * m) / 2 + o))), this.render(r, e, u, m), e.writeEndElement() } } , r.render = function(r, n, h, y) { var w, b, v, C, E = new t.Report.Painters.StiGdiMapContextPainter(r); E.mapStyle = m.getMapStyle2(r), E.dataTable = r.dataTable, E.prepareDataColumns(), E.updateGroupedData(), E.updateHeatmapWithGroup(); var B = E.mapData , T = null; i.isNullOrEmpty(r.componentStyle) || (T = r.report.styles.getByName(r.componentStyle), T = null != T ? T.stimulsoft.as(o) : null), null == T && (T = m.getMapStyle(r.mapStyle)), E.defaultBrush = new u(T.defaultColor), E.defaultBrush1 = new s(T.defaultColor); var I = t.Report.Maps.StiMapLoader.loadResource(l.getName(t.Report.Maps.StiMapID, r.mapID)); if (null == I.hashPaths) return; var x = {} , F = 0 , D = I.hashPaths.keys.length , R = .5 / D; E.individualStep = R, I.hashPaths.keys && I.hashPaths.keys.sort(); try { for (var P = __values(I.hashPaths.keys), N = P.next(); !N.done; N = P.next()) { var k = N.value , M = B[0]; try { for (var O = (v = void 0, __values(B)), _ = O.next(); !_.done; _ = O.next()) { var L = _.value; L.key == k && (M = L) } } catch (t) { v = { error: t } } finally { try { _ && !_.done && (C = O.return) && C.call(O) } finally { if (v) throw v.error } } var j = E.getGeomBrush(M); E.individualStep += R, n.writeStartElement("path"), n.writeAttributeString("d", I.hashPaths.get(k).data); var H = new a; H.append(this.getFillBrush(j)); var G = i.format("{0}", this.getBorderStroke(T.borderColor)); H.append(i.format("{0};stroke-width:{1};", G, T.borderSize)), n.writeAttributeString("style", H.toString()), n.writeAttributeString("transform", i.format("scale({0})", y)), n.writeAttributeString("_ismap", "true"), n.writeAttributeString("_text1", k), n.writeAttributeString("_text2", M.value ? M.value.toString() : ""), n.writeAttributeString("elementargument", k), n.writeAttributeString("elementident", k), n.writeAttributeString("elementvalue", M.value ? M.value.toString() : ""); var Q = j.color; n.writeAttributeString("_color", i.format("#{0:X2}{1:X2}{2:X2}", Q.r, Q.g, Q.b)), h && (n.writeAttributeString("opacity", "0"), n.writeAttributeString("_animation", "{" + i.format('"actions":[["opacity", 0, 1, ""], ["scale", {2}, {2},""]], "begin":{0}, "duration":{1}', 200 / D * F, "100", y) + "}")), n.writeEndElement(), (r.showValue || r.displayNameType != g.None) && y >= .2 && (x[k] = M), F++ } } catch (t) { w = { error: t } } finally { try { N && !N.done && (b = P.return) && b.call(P) } finally { if (w) throw w.error } } var Y = new f("Calibri",18) , U = [c.fromArgb(180, 251, 251, 251), c.fromArgb(255, 37, 37, 37)]; for (var k in x) { var J = null , W = x[k].stimulsoft.as(p) , V = I.hashPaths.get(k); if (V.skipText) continue; switch (r.displayNameType) { case g.Full: J = null != W ? W.name : V.englishName; break; case g.Short: J = d.prepareIsoCode(V.iSOCode); break } if (r.showValue && null != W && null != W.value) { var z = null; r.shortValue && !isNaN(parseFloat(W.value)) && (z = e.StiAbbreviationNumberFormatHelper.format(parseFloat(W.value))), null == z && (z = W.value), null == J ? J = z : (J += "\r\n", J += z) } if (!i.isNullOrEmpty(J)) { var X = V.rect , K = (V.setMaxWidth, S.measureString(J, Y, X.width)) , Z = X.x + (X.width - K.width) / 2 , q = X.y + ((X.height - K.height) / 2 + 40 * y); if (null != V.horAlignment) switch (V.horAlignment) { case StiTextHorAlignment.Left: Z = X.x; break; case StiTextHorAlignment.Right: Z = X.right - K.width; break } if (null != V.vertAlignment) switch (V.vertAlignment) { case StiVertAlignment.Top: q = X.y; break; case StiVertAlignment.Bottom: q = X.bottom - K.height; break } for (var $ = 0; $ < 2; $++) { n.writeStartElement("text"), n.writeAttributeString("font-size", this.normalizeDecimal(26 * y)), n.writeAttributeString("font-family", "Calibri"), h && (n.writeAttributeString("opacity", "0"), n.writeAttributeString("_animation", "{" + i.format('"actions":[["opacity", 0, 1, ""], ["scale", {2}, {2},""]], "begin":{0}, "duration":{1}', this.normalizeDecimal(200 / D * F), "100", this.normalizeDecimal(y)) + "}")); var tt = ""; if (1 == $) { var et = i.format("#{0:X2}{1:X2}{2:X2}", U[0].r, U[0].g, U[0].b); tt = i.format("text-shadow: -1px -1px 1px {0},-1px 1px 1px {0},1px -1px 1px {0}, 1px 1px 1px {0};", et) } if (n.writeAttributeString("transform", i.format("translate({0}, {1})", this.normalizeDecimal(Z * y - $), this.normalizeDecimal(q * y - $))), n.writeAttributeString("style", i.format("fill:#{0:X2}{1:X2}{2:X2};pointer-events:none;{3}", U[$].r, U[$].g, U[$].b, tt)), n.writeAttributeString("font-weight", "bold"), V.setMaxWidth) { var rt = J.split(/[ ]|\r\n/) , it = 0; while (it < rt.length) { var nt = new A(0,0) , ot = 1 , at = rt[it] , st = at; nt = S.measureString(at, Y); while (nt.width < K.width + 20 * y && it + ot < rt.length && !st.stimulsoft.endsWith("\r")) st = at, at += " " + rt[it + ot], nt = S.measureString(at, Y), ot++; n.writeStartElement("tspan"), n.writeAttributeString("x", "0"), 0 == it ? n.writeAttributeString("y", "0") : n.writeAttributeString("dy", this.normalizeDecimal(nt.height * y)), n.writeString(st), n.writeEndElement(), it = it + ot - (1 == ot ? 0 : 1) } } else for (var lt = J.split("\r\n"), ut = 0; ut < lt.length; ut++) { var nt = S.measureString(lt[ut], Y); n.writeStartElement("tspan"), n.writeAttributeString("x", "0"), 0 == ut ? n.writeAttributeString("y", "0") : n.writeAttributeString("dy", this.normalizeDecimal(nt.height * y)), n.writeString(lt[ut]), n.writeEndElement() } n.writeEndElement() } } } null != B && (B.clear(), B = null) } , r.normalizeDecimal = function(t) { return t.toString().stimulsoft.replaceAll(",", ".") } , r.getBorderStroke = function(t) { var e = i.format("stroke:rgb({0},{1},{2});", t.r, t.g, t.b) , r = Math.round2(t.a / 255, 3); return 1 != r && (e += i.format("stroke-opacity:{0};", r.toString().stimulsoft.replaceAll(",", "."))), e } , r.getFillBrush = function(t) { var e = t.color; return i.format("fill:rgb({0},{1},{2});fill-opacity:{3};", e.r, e.g, e.b, Math.round2(e.a / 255, 3).toString().stimulsoft.replaceAll(",", ".")) } , r }(); r.StiMapSvgHelper = B }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return Object.defineProperty(t.prototype, "x", { get: function() { return this._x }, set: function(t) { this._x = t, this._right = this._x + this._width }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "y", { get: function() { return this._y }, set: function(t) { this._y = t, this._bottom = this._y + this._height }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "width", { get: function() { return this._width }, set: function(t) { this._width = t, this._right = this._x + this._width }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = t, this._bottom = this._y + this._height }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "right", { get: function() { return this._right }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "bottom", { get: function() { return this._bottom }, enumerable: !0, configurable: !0 }), t }(); t.StiSvgData = e }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Drawing.StringAlignment , n = t.System.Drawing.Point , o = t.System.Drawing.Rectangle , a = t.System.Drawing.StringFormat , s = t.System.Text.StringBuilder , l = t.System.Drawing.Size , u = t.Report.Export.Services.Helpers.StiContextSvgHelper , c = function() { function t(t) { this.writer = null, this.writer = t } return t.prototype.beginPath = function() {} , t.prototype.closeFigure = function() {} , t.prototype.endPath = function() {} , t.prototype.fillPath = function(t) {} , t.prototype.strokePath = function(t) {} , t.prototype.moveTo = function(t) {} , t.prototype.drawLine = function(t, e, r) {} , t.prototype.drawLineTo = function(t, e) {} , t.prototype.drawRectangle = function(t, e) {} , t.prototype.drawPolyline = function(t, e) { for (var i = "", n = 0; n < t.length; n++) { var o = t[n]; i += 0 == n ? r.format("M {0},{1} ", o.x.toString().replace(",", "."), o.y.toString().replace(",", ".")) : r.format("L {0},{1} ", o.x.toString().replace(",", "."), o.y.toString().replace(",", ".")) } this.writer.writeStartElement("path"), this.writer.writeAttributeString("d", i), this.writer.writeAttributeString("stroke", r.format("rgb({0},{1},{2})", e.color.r, e.color.g, e.color.b)), this.writer.writeAttributeString("stroke-opacity", r.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().replace(",", ".")), this.writer.writeAttributeString("fill", "none"), this.writer.writeEndElement() } , t.prototype.drawPolylineTo = function(t, e) {} , t.prototype.drawPolygon = function(t, e) {} , t.prototype.fillPolygon = function(t, e) { var i = new s; i.append(u.writeFillBrush(this.writer, e, new o)); for (var n = "", a = 0; a < t.length; a++) { var l = t[a]; n += r.format("{0},{1} ", l.x.toString().replace(",", "."), l.y.toString().replace(",", ".")) } this.writer.writeStartElement("polygon"), this.writer.writeAttributeString("points", n), this.writer.writeAttributeString("style", i.toString()), this.writer.writeEndElement() } , t.prototype.drawBezier = function(t, e, r, i, n) {} , t.prototype.drawBezierTo = function(t, e, r, i) {} , t.prototype.drawArc2 = function(t, e, r, i) {} , t.prototype.setPixel = function(t, e) {} , t.prototype.drawImage = function(t, e) {} , t.prototype.drawText = function(t, e, r, i, n, o, a) {} , t.prototype.drawString = function(t, e, o, l, c) { this.writer.writeStartElement("text"); var m = new n; switch (c || (c = new a), c.alignment) { case i.Near: m.x = l.x; break; case i.Center: m.x = l.x + l.width / 2; break; case i.Far: m.x = l.x + l.width; break } switch (c.lineAlignment) { case i.Near: m.y = l.y; break; case i.Center: m.y = l.y + l.height / 2; break; case i.Far: m.y = l.y + l.height; break } this.writer.writeAttributeString("transform", r.format("translate({0}, {1})", m.x.toString().stimulsoft.replaceAll(",", "."), m.y.toString().stimulsoft.replaceAll(",", "."))), this.writer.writeAttributeString("width", l.width.toString().stimulsoft.replaceAll(",", ".")), this.writer.writeAttributeString("height", l.height.toString().stimulsoft.replaceAll(",", ".")); var p = new s; if (p.append(r.format("font-size:{0}pt;", e.sizeInPoints)), p.append(r.format("font-family:'{0}';", e.name)), e.bold && p.append("font-weight:bold;"), e.italic && p.append("font-style:italic;"), e.underline || e.strikeout) { var h = e.underline ? e.strikeout ? "underline line-through" : "underline" : e.strikeout ? "line-through" : null; p.append(r.format("text-decoration:{0};", h)) } switch (p.append(u.writeFillBrush(this.writer, o, l)), c.alignment) { case i.Near: p.appendFormat("text-anchor:{0};", "start"); break; case i.Center: p.appendFormat("text-anchor:{0};", "middle"); break; case i.Far: p.appendFormat("text-anchor:{0};", "end"); break } switch (c.lineAlignment) { case i.Near: this.writer.writeAttributeString("dy", "1em"); break; case i.Center: this.writer.writeAttributeString("dy", "0.5em"); break; case i.Far: break } this.writer.writeAttributeString("style", p.toString()), this.writer.writeString(t), this.writer.writeEndElement() } , t.prototype.saveState = function() {} , t.prototype.restoreState = function() {} , t.prototype.fillRectangle = function(t, e) { var r = new s; r.append(u.writeFillBrush(this.writer, e, t)), this.writer.writeStartElement("rect"), this.writer.writeAttributeString("x", t.x.toString().stimulsoft.replaceAll(",", ".")), this.writer.writeAttributeString("y", t.y.toString().stimulsoft.replaceAll(",", ".")), this.writer.writeAttributeString("width", t.width.toString().stimulsoft.replaceAll(",", ".")), this.writer.writeAttributeString("height", t.height.toString().stimulsoft.replaceAll(",", ".")), this.writer.writeAttributeString("style", r.toString()), this.writer.writeAttributeString("shape-rendering", "crispEdges"), this.writer.writeEndElement() } , t.prototype.fillRectangle2 = function(t, e) { this.fillRectangle(t, e) } , t.prototype.rotateTransform = function(t) { this.writer.writeStartElement("g"), this.writer.writeAttributeString("transform", r.format("rotate({0})", t.toString().stimulsoft.replaceAll(",", "."))) } , t.prototype.translateTransform = function(t, e) { this.writer.writeStartElement("g"), this.writer.writeAttributeString("transform", r.format("translate({0},{1})", t.toString().stimulsoft.replaceAll(",", "."), e.toString().stimulsoft.replaceAll(",", "."))) } , t.prototype.endTransform = function() { this.writer.writeEndElement() } , t.prototype.measureString = function(t, e) { return new l(0,0) } , t.prototype.drawEllipse = function(t, e) {} , t.prototype.fillEllipse = function(t, e) { var r = new s; r.append(u.writeFillBrush(this.writer, e, t)), this.writer.writeStartElement("ellipse"), this.writer.writeAttributeString("cx", (t.x + t.width / 2).toString().stimulsoft.replaceAll(",", ".")), this.writer.writeAttributeString("cy", (t.y + t.height / 2).toString().stimulsoft.replaceAll(",", ".")), this.writer.writeAttributeString("rx", (t.width / 2).toString().stimulsoft.replaceAll(",", ".")), this.writer.writeAttributeString("ry", (t.height / 2).toString().stimulsoft.replaceAll(",", ".")), this.writer.writeAttributeString("style", r.toString()), this.writer.writeEndElement() } , t }(); e.StiSvgGeomWriter = c }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Maps.StiMap , o = t.Report.Maps.StiMapMode , a = t.Report.Design.StiExpressionPacker , s = t.System.Collections.List , l = t.Base.Drawing.StiTextDrawing , u = t.Report.Components.StiImage , c = t.Report.Components.StiIconSetHelper , m = t.Report.Components.StiIcon , p = t.Report.Components.StiIconSetIndicator , h = t.Base.Drawing.StiColorUtils , d = t.Report.Components.StiDataBarDirection , g = t.Report.Components.StiDataBarIndicator , f = t.Report.Components.IStiExportImageExtended , S = t.System.Drawing.ContentAlignment , A = t.Base.Drawing.StiGlassBrush , y = t.System.Xml.Formatting , w = t.Base.Drawing.StiTextRenderer , b = t.Base.Drawing.StiImageCodecInfo , v = t.System.Xml.XmlTextWriter , C = t.System.Drawing.Color , E = t.Report.Components.StiTextQuality , B = t.Report.Components.StiShapeDirection , T = t.Base.Drawing.StiPenStyle , I = t.System.Drawing.Rectangle , x = t.Report.Components.StiContainer , F = t.Base.Drawing.StiBrush , D = t.Base.Drawing.StiSolidBrush , R = t.Report.Components.IStiBrush , P = t.Report.Components.StiShape , N = t.Report.Components.StiText , k = t.System.Text.Encoding , M = t.Base.Drawing.StiBorderSides , O = t.System.Text.StringBuilder , _ = t.Report.Components.IStiBorder , L = t.Base.Drawing.StiTextOptions , j = t.Base.Drawing.StiGradientBrush , H = t.Base.Drawing.StiVertAlignment , G = t.Base.Drawing.StiTextHorAlignment , Q = t.Report.Components.StiVerticalLineShapeType , Y = t.Report.Components.StiHorizontalLineShapeType , U = t.Report.Components.StiTopAndBottomLineShapeType , J = t.Report.Components.StiLeftAndRightLineShapeType , W = t.Report.Components.StiRectangleShapeType , V = t.Report.Components.StiRoundedRectangleShapeType , z = t.Report.Components.StiDiagonalDownLineShapeType , X = t.Report.Components.StiDiagonalUpLineShapeType , K = t.Report.Components.StiTriangleShapeType , Z = t.Report.Components.StiOvalShapeType , q = t.Report.Components.StiArrowShapeType , $ = t.Report.Components.StiOctagonShapeType , tt = t.Report.Components.StiComplexArrowShapeType , et = t.Report.Components.StiBentArrowShapeType , rt = t.Report.Components.StiChevronShapeType , it = t.Report.Components.StiDivisionShapeType , nt = t.Report.Components.StiEqualShapeType , ot = t.Report.Components.StiFlowchartCardShapeType , at = t.Report.Components.StiFlowchartCollateShapeType , st = t.Report.Components.StiFlowchartDecisionShapeType , lt = t.Report.Components.StiFlowchartManualInputShapeType , ut = t.Report.Components.StiFlowchartOffPageConnectorShapeType , ct = t.Report.Components.StiFlowchartPreparationShapeType , mt = t.Report.Components.StiFlowchartSortShapeType , pt = t.Report.Components.StiFrameShapeType , ht = t.Report.Components.StiMinusShapeType , dt = t.Report.Components.StiMultiplyShapeType , gt = t.Report.Components.StiParallelogramShapeType , ft = t.Report.Components.StiPlusShapeType , St = t.Report.Components.StiRegularPentagonShapeType , At = t.Report.Components.StiTrapezoidShapeType , yt = t.Report.Components.StiSnipSameSideCornerRectangleShapeType , wt = t.Report.Components.StiSnipDiagonalSideCornerRectangleShapeType , bt = t.Report.Components.StiRectanglePrimitive , vt = t.Base.Drawing.StiGlareBrush , Ct = t.Base.Drawing.StiHatchBrush , Et = t.Report.Components.StiCheckBox , Bt = t.Report.Components.StiCheckStyle , Tt = t.Report.BarCodes.StiBarCode , It = t.System.Drawing.Font , xt = t.Report.Export.Services.Helpers.StiContextSvgHelper , Ft = t.Report.Components.StiTextInCells , Dt = t.System.Drawing.StringFormat , Rt = t.Base.Drawing.StiFontUtils , Pt = t.System.Drawing.Size , Nt = t.System.Char , kt = t.Report.Components.StiTextInCellsHelper , Mt = t.System.Drawing.Rectangle , Ot = function() { function Ot() {} return Ot.getLineStyleDash = function(t, e) { var r = Math.round2(1.2 * e, 1).toString().stimulsoft.replaceAll(",", ".") , n = Math.round2(3 * e, 1).toString().stimulsoft.replaceAll(",", ".") , o = ""; switch (t) { case T.Dot: o = i.format("{0},{0}", r); break; case T.Dash: o = i.format("{0},{1}", n, r); break; case T.DashDot: o = i.format("{0},{1},{1},{1}", n, r); break; case T.DashDotDot: o = i.format("{0},{1},{1},{1},{1},{1}", n, r); break } return o } , Ot.toUnits = function(t) { return Math.round2(t, 2).toString().stimulsoft.replaceAll(",", ".") } , Ot.writeCoordinates = function(t, e) { t.writeAttributeString("x", Ot.toUnits(e.x)), t.writeAttributeString("y", Ot.toUnits(e.y)), t.writeAttributeString("width", Ot.toUnits(e.width)), t.writeAttributeString("height", Ot.toUnits(e.height)) } , Ot.writeStrokeInfo = function(t, e, r, n) { n == T.None ? t.writeAttributeString("stroke", "none") : (t.writeAttributeString("stroke", i.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().stimulsoft.replaceAll(",", ".")), t.writeAttributeString("stroke-width", Ot.toUnits(r)), n != T.Solid && t.writeAttributeString("stroke-dasharray", Ot.getLineStyleDash(n, r))) } , Ot.writeFillInfo = function(t, e) { t.writeAttributeString("fill", i.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().stimulsoft.replaceAll(",", ".")) } , Ot.checkShape = function(t) { if (!t.stimulsoft.is(P)) return !1; var e = t.stimulsoft.as(P); if (null == e) return !1; var r = t.stimulsoft.as(R); if (e.shapeType.stimulsoft.is(Q) || e.shapeType.stimulsoft.is(Y) || e.shapeType.stimulsoft.is(U) || e.shapeType.stimulsoft.is(J) || e.shapeType.stimulsoft.is(W) || e.shapeType.stimulsoft.is(V) || e.shapeType.stimulsoft.is(z) || e.shapeType.stimulsoft.is(X) || e.shapeType.stimulsoft.is(K) || e.shapeType.stimulsoft.is(Z) || e.shapeType.stimulsoft.is(q) || e.shapeType.stimulsoft.is($) || e.shapeType.stimulsoft.is(tt) || e.shapeType.stimulsoft.is(et) || e.shapeType.stimulsoft.is(rt) || e.shapeType.stimulsoft.is(it) || e.shapeType.stimulsoft.is(nt) || e.shapeType.stimulsoft.is(ot) || e.shapeType.stimulsoft.is(at) || e.shapeType.stimulsoft.is(st) || e.shapeType.stimulsoft.is(lt) || e.shapeType.stimulsoft.is(ut) || e.shapeType.stimulsoft.is(ct) || e.shapeType.stimulsoft.is(mt) || e.shapeType.stimulsoft.is(pt) || e.shapeType.stimulsoft.is(ht) || e.shapeType.stimulsoft.is(dt) || e.shapeType.stimulsoft.is(gt) || e.shapeType.stimulsoft.is(ft) || e.shapeType.stimulsoft.is(St) || e.shapeType.stimulsoft.is(At) || e.shapeType.stimulsoft.is(yt) || e.shapeType.stimulsoft.is(wt)) return !0; return !1 } , Ot.writeDocument = function(n, o, a, s, l, c) { var m, p, h, d, g = new v(k.UTF8), f = -1; g.indentation = 0, g.formatting = y.None; var S = b.getImageCodec("image/jpeg"); c /= 100, a && g.writeStartDocument(), g.writeStartElement("svg"), g.writeAttributeString("version", "1.1"), g.writeAttributeString("baseProfile", "full"), a || g.writeAttributeString("style", "margin:5px; border:1px solid DarkGrey;"), g.writeAttributeString("xmlns", "http://www.w3.org/2000/svg"), g.writeAttributeString("xmlns:xlink", "http://www.w3.org/1999/xlink"), g.writeAttributeString("xmlns:ev", "http://www.w3.org/2001/xml-events"); var A = 1 , w = A * n.unit.convertToHInches(o.pageHeight * o.segmentPerHeight) , E = A * n.unit.convertToHInches(o.pageWidth * o.segmentPerWidth) , B = A * n.unit.convertToHInches(o.margins.left) , T = A * n.unit.convertToHInches(o.margins.right) , I = A * n.unit.convertToHInches(o.margins.top) , R = A * n.unit.convertToHInches(o.margins.bottom); g.writeAttributeString("height", Ot.toUnits(w)), g.writeAttributeString("width", Ot.toUnits(E)), g.writeStartElement("defs"); try { for (var P = __values(o.components.list), M = P.next(); !M.done; M = P.next()) { var O = M.value; if (O.enabled) { var _ = A * n.unit.convertToHInches(O.left) , L = A * n.unit.convertToHInches(O.top) , j = A * n.unit.convertToHInches(O.right) , H = A * n.unit.convertToHInches(O.bottom) , G = new r.StiSvgData; G.x = _ + B, G.y = L + I, G.width = j - _, G.height = H - L, G.component = O; var Q = O.isExportAsImage(e.StiExportFormat.ImageSvg) , Y = O.stimulsoft.as(N) , U = O.stimulsoft.as(u); (null != Y && !Q && null != Y.text.toString() && Y.text.toString().trim().length > 0 || null != U || O.stimulsoft.is(t.Report.Components.Gauge.IStiGauge)) && (g.writeStartElement("clipPath"), g.writeAttributeString("id", this.getClipPathName(O)), g.writeStartElement("rect"), Ot.writeCoordinates(g, G), g.writeEndElement(), g.writeEndElement()) } } } catch (t) { m = { error: t } } finally { try { M && !M.done && (p = P.return) && p.call(P) } finally { if (m) throw m.error } } g.writeEndElement(); var J = 1 , W = new x; W.border = o.border.clone(), W.brush = o.brush.clone(), 0 == F.toColor(W.brush).a && (W.brush = new D(C.white)); var V = new r.StiSvgData; V.x = 0, V.y = 0, V.width = E, V.height = w, V.component = W; var z = { ref: J }; Ot.writeBorder1(g, V, z), J = z.ref, Ot.writeWatermark(g, f, o, !0, E, w, c); var X = o.bookmarkValue; i.isNullOrEmpty(X) || (g.writeStartElement("view"), g.writeAttributeString("id", X), g.writeAttributeString("viewBox", "0 0 1 1"), g.writeEndElement()); try { for (var K = __values(o.components.list), Z = K.next(); !Z.done; Z = K.next()) { var O = Z.value; if (O.enabled) { var _ = A * n.unit.convertToHInches(O.left) , L = A * n.unit.convertToHInches(O.top) , j = A * n.unit.convertToHInches(O.right) , H = A * n.unit.convertToHInches(O.bottom) , G = new r.StiSvgData; G.x = _ + B, G.y = L + I, G.width = j - _, G.height = H - L, G.component = O; var q = Ot.checkShape(O) , Q = O.isExportAsImage(e.StiExportFormat.ImageSvg); if (!q && !Q) { var $ = { ref: J }; Ot.writeBorder1(g, G, $), J = $.ref } var tt = O.hyperlinkValue; if (i.isNullOrEmpty(tt) || (g.writeStartElement("a"), g.writeAttributeString("xlink:href", tt)), O.stimulsoft.is(N) && !Q) Ot.writeIndicator(g, G), Ot.writeText(g, G, f, !0); else if (q) Ot.writeShape(g, G); else if (O.stimulsoft.is(Tt)) Ot.writeBarCode(g, G); else if (O.stimulsoft.is(t.Report.Chart.IStiChart)) r.StiChartSvgHelper.writeChart(g, G, 1, !1); else if (O.stimulsoft.is(t.Report.Maps.StiMap)) r.StiMapSvgHelper.drawMap(g, O, G.x, G.y, G.width, G.height, !1); else if (Q) Ot.writeImage(g, G, c, s, l, S); else if (O.stimulsoft.is(Et)) Ot.writeCheckBox(g, G, O.checkedValue); else { var et = G.component.bookmarkValue; i.isNullOrEmpty(et) || (g.writeStartElement("view"), g.writeAttributeString("id", et), g.writeAttributeString("viewBox", i.format("{0} {1} {2} {3}", Ot.toUnits(G.x), Ot.toUnits(G.y), Ot.toUnits(G.width), Ot.toUnits(G.height))), g.writeEndElement()) } i.isNullOrEmpty(tt) || g.writeEndElement(), a || (G.x = Math.round2(G.x - .5) + .5, G.y = Math.round2(G.y - .5) + .5, G.width = Math.round2(j + B - .5) + .5 - G.x, G.height = Math.round2(H + I - .5) + .5 - G.y), O.stimulsoft.is(bt) ? Ot.writeRoundedRectanglePrimitive(g, G) : Ot.writeBorder2(g, G) } } } catch (t) { h = { error: t } } finally { try { Z && !Z.done && (d = K.return) && d.call(K) } finally { if (h) throw h.error } } return V.x = B, V.y = I, V.width -= B + T, V.height -= I + R, Ot.writeBorder2(g, V), Ot.writeWatermark(g, f, o, !1, E, w, c), g.writeFullEndElement(), a && g.writeEndDocument(), g.flush(), g.textWriter } , Ot.writeWatermark = function(t, e, n, o, a, s, l, u) { void 0 === u && (u = 1); var c = n.watermark; if (null != c && c.enabled) { if (null != c.image) { var m = c.image.width * c.imageMultipleFactor , p = c.image.height * c.imageMultipleFactor , h = 0 , d = 0 , g = 1 , f = 1 , A = c.imageAlignment , y = c.imageTiling; if (c.imageStretch) { var w = p / m; m = a, p = s, y = !1, c.aspectRatio && (s / a > w ? p = m * w : m = p / w) } switch (c.imageStretch || c.imageMultipleFactor, y && (A = S.TopLeft, g = Math.trunc(a / m) + 1, f = Math.trunc(s / p) + 1), A) { case S.TopCenter: case S.MiddleCenter: case S.BottomCenter: h = (a - m) / 2; break; case S.TopRight: case S.MiddleRight: case S.BottomRight: h = a - m; break } switch (A) { case S.TopLeft: case S.TopCenter: case S.TopRight: d = s - p; break; case S.MiddleLeft: case S.MiddleCenter: case S.MiddleRight: d = (s - p) / 2; break } var b = new r.StiSvgData; b.x = h, b.y = d, b.width = m, b.height = p } if (!i.isNullOrEmpty(c.text)) { var b = new r.StiSvgData; b.x = 0, b.y = 0, b.width = a, b.height = s; var v = new N(new I(b.x,b.y,b.width,b.height)); v.text = c.text, v.textBrush = c.textBrush, v.font = new It(c.font.fontFamily.name,c.font.size * u,c.font.style,c.font.unit), v.textOptions = new L, v.textOptions.angle = c.angle, v.horAlignment = G.Center, v.vertAlignment = H.Center, v.page = n, v.textQuality = E.Standard, b.component = v, Ot.writeText(t, b, e, !1) } } } , Ot.writeBorder1 = function(t, e, n) { var o = n.ref , a = e.component.stimulsoft.as(R); if (null != a && null != a.brush) if (a.brush.stimulsoft.is(j)) { var s = r.StiBrushSvgHelper.writeGradientBrush(t, a.brush, new I(e.x,e.y,e.width,e.height)); t.writeStartElement("rect"), Ot.writeCoordinates(t, e), t.writeAttributeString("fill", i.format("url(#{0})", s)), t.writeEndElement() } else if (a.brush.stimulsoft.is(vt)) { var s = r.StiBrushSvgHelper.writeGlareBrush(t, a.brush, new I(e.x,e.y,e.width,e.height)); t.writeStartElement("rect"), Ot.writeCoordinates(t, e), t.writeAttributeString("fill", i.format("url(#{0})", s)), t.writeEndElement() } else if (a.brush.stimulsoft.is(Ct)) { var s = r.StiBrushSvgHelper.writeHatchBrush(t, a.brush); t.writeStartElement("rect"), Ot.writeCoordinates(t, e), t.writeAttributeString("fill", i.format("url(#{0})", s)), t.writeEndElement() } else if (a.brush.stimulsoft.is(A)) { var s = r.StiBrushSvgHelper.writeGlassBrush(t, a.brush, new I(e.x,e.y,e.width,e.height)); t.writeStartElement("rect"), Ot.writeCoordinates(t, e), t.writeAttributeString("fill", i.format("url(#{0})", s)), t.writeEndElement() } else { var l = F.toColor(a.brush); l.stimulsoft.equals(C.transparent) || (t.writeStartElement("rect"), Ot.writeCoordinates(t, e), Ot.writeFillInfo(t, l), t.writeEndElement()) } n.ref = o } , Ot.writeBorder2 = function(t, e) { var r = e.component.stimulsoft.as(_); if (null != r && null != r.border && r.border.side != M.None && r.border.style != T.None) { var n = r.border; if (n.side == M.All) t.writeStartElement("rect"), Ot.writeCoordinates(t, e), t.writeAttributeString("fill", "none"), Ot.writeStrokeInfo(t, n.color, n.size, n.style), t.writeEndElement(); else { t.writeStartElement("path"); var o = Ot.toUnits(e.x) , a = Ot.toUnits(e.x + e.width) , s = Ot.toUnits(e.y + e.height) , l = Ot.toUnits(e.y) , u = new O , c = !1; 0 != (n.side & M.Left) ? (u.append(i.format("M {0} {1} ", o, s)), u.append(i.format("L {0} {1} ", o, l)), c = !0) : c = !1, 0 != (n.side & M.Top) ? (c || u.append(i.format("M {0} {1} ", o, l)), u.append(i.format("L {0} {1} ", a, l)), c = !0) : c = !1, 0 != (n.side & M.Right) ? (c || u.append(i.format("M {0} {1} ", a, l)), u.append(i.format("L {0} {1} ", a, s)), c = !0) : c = !1, 0 != (n.side & M.Bottom) && (c || u.append(i.format("M {0} {1} ", a, s)), u.append(i.format("L {0} {1} ", o, s))), t.writeAttributeString("d", u.toString()), t.writeAttributeString("fill", "none"), Ot.writeStrokeInfo(t, n.color, n.size, n.style), t.writeEndElement() } } } , Ot.writeText2 = function(e, r, n, o) { var a, s, l = r.component.stimulsoft.as(N), u = null != l.textOptions ? l.textOptions : new L, c = l.text, m = [], p = [], h = { ref: c }, d = { ref: m }, g = { ref: p }; w.getTextLinesAndWidths(null, h, l.font, l.page.unit.convertToHInches(r.component.componentToPage(r.component.clientRectangle)), 1, u.wordWrap, u.rightToLeft, 1, u.angle, u.trimming, l.allowHtmlTags, d, g), c = h.ref, m = d.ref, p = g.ref; var f = m.length > 0; if (1 == m.length && 0 == m[0].length && (f = !1), f) { var S = 0; null != l.textOptions && (S = l.textOptions.angle); while (S >= 360) S -= 360; var A = o && null != l.text && l.text.trim().length > 0 , y = 0; try { for (var b = __values(p), v = b.next(); !v.done; v = b.next()) { var C = v.value; y += C.lineHeight } } catch (t) { a = { error: t } } finally { try { v && !v.done && (s = b.return) && s.call(b) } finally { if (a) throw a.error } } var E = 0; null != l.border && (E = l.border.size / 2); var B = new O; A && 0 == S && B.append(i.format("clip-path: url(#clipPath{0});", this.getClipPathName(l))); var T = r.x , I = r.y + .9 * l.font.sizeInPoints * Ot.correctFontSize; S % 90 == 0 ? (l.horAlignment == G.Left && (T += 2.5 + E), l.horAlignment == G.Center && (B.append(i.format("text-anchor:{0};", "middle")), T += 90 == S || 270 == S ? r.height / 2 : r.width / 2), l.horAlignment == G.Right && (B.append(i.format("text-anchor:{0};", "end")), T += 90 == S || 270 == S ? r.height - 2 - E : r.width - 2 - E), l.horAlignment == G.Width && (T += 2 + E), l.vertAlignment == H.Top && (I += E), l.vertAlignment == H.Center && (I += 90 == S || 270 == S ? (r.width - y) / 2 : (r.height - y) / 2), l.vertAlignment == H.Bottom && (I += 90 == S || 270 == S ? r.width - y - E : r.height - y - E)) : (B.append(i.format("text-anchor:{0};", "middle")), T += r.width / 2, I += (r.height - y) / 2); var x = t.System.Drawing.Graphics.getCustomFontName(l.font.name, l.font.style); if (t.System.Drawing.Graphics.allowStyle(l.font.name, l.font.style) && (l.font.bold && B.append("font-weight:bold;"), l.font.italic && B.append("font-style:italic;")), B.append(i.format("font-size:{0}pt;", l.font.sizeInPoints.toString().stimulsoft.replaceAll(",", "."))), B.append(i.format("font-family:'{0}';", x)), l.font.underline || l.font.strikeout) { var D = l.font.underline ? l.font.strikeout ? "underline line-through" : "underline" : l.font.strikeout ? "line-through" : null; B.append(i.format("text-decoration:{0};", D)) } var R = F.toColor(l.textBrush); B.append(i.format("fill:#{0:X2}{1:X2}{2:X2};", R.r, R.g, R.b)), 255 != R.a && B.append(i.format("fill-opacity:{0}", Math.round2(R.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), 0 != S && (A && (e.writeStartElement("g"), e.writeAttributeString("clip-path", i.format("url(#clipPath{0})", this.getClipPathName(l)))), e.writeStartElement("g"), e.writeAttributeString("transform", i.format("translate({0},{1})", Ot.toUnits(r.x + r.width / 2), Ot.toUnits(r.y + r.height / 2))), e.writeStartElement("g"), e.writeAttributeString("transform", i.format("rotate({0})", Ot.toUnits(-S))), 90 == S || 270 == S ? (T -= r.x + r.height / 2, I -= r.y + r.width / 2) : (T -= r.x + r.width / 2, I -= r.y + r.height / 2)), e.writeStartElement("text"), e.writeAttributeString("x", Ot.toUnits(T)), e.writeAttributeString("y", Ot.toUnits(I)), e.writeAttributeString("style", B.toString()); var P = l.bookmarkValue; i.isNullOrEmpty(P) || e.writeAttributeString("id", P); for (var k = 0; k < m.length; k++) { var C = p[k]; if (m.length > 1 && (e.writeStartElement("tspan"), k > 0 && (e.writeAttributeString("x", Ot.toUnits(T)), e.writeAttributeString("dy", Ot.toUnits(C.lineHeight)))), C.needWidthAlign) { var M = S; while (M < 0) M += 360; var _ = r.width; (M > 45 && M < 135 || M > 225 && M < 315) && (_ = r.height); var j = _ - 4 - 2 * E; e.writeAttributeString("textLength", Ot.toUnits(j > 0 ? j : 1)) } var Q = m[k]; null != Q && (0 == Q.trim().length && (Q = " "), Q.stimulsoft.endsWith("\n") && (Q = Q.substr(0, Q.length - 1)), Q.stimulsoft.endsWith("\r") && (Q = Q.substr(0, Q.length - 1))), e.writeString(Q), m.length > 1 && e.writeEndElement() } e.writeFullEndElement(), 0 != S && (e.writeFullEndElement(), e.writeFullEndElement(), A && e.writeFullEndElement()) } } , Ot.writeText = function(t, e, n, o) { var u, c, m, p, h, d, g = e.component, f = g.horAlignment == G.Width, S = g.textOptions; null == S && (S = new L), f && (S = S.clone(), S.wordWrap = !0); var A = null != g.report && g.report.info.forceDesigningMode , b = A ? a.packExpression(g.getTextInternal(), g.report, !0) : g.text; if (i.isNullOrWhiteSpace(b)) return; var v = g.getPaintRectangle(!0, !1) , C = g.convertTextMargins(v, !1); if (C = g.convertTextBorders(C, !1), C = C.normalize(), g.checkAllowHtmlTags()) { var B = e.x , T = e.y , I = e.width , x = e.height , D = S.angle; while (D >= 360) D -= 360; if (0 != D) { if (D > 45 && D < 135 || D > 225 && D < 315) { var R = I; I = x, x = R } B = -I / 2, T = -x / 2, o && (t.writeStartElement("g"), t.writeAttributeString("clip-path", i.format("url(#{0})", this.getClipPathName(g)))), t.writeStartElement("g"), t.writeAttributeString("transform", i.format("translate({0},{1})", this.toUnits(e.x + e.width / 2), this.toUnits(e.y + e.height / 2))), t.writeStartElement("g"), t.writeAttributeString("transform", i.format("rotate({0})", this.toUnits(-D))) } var P = new s , N = new s , k = S.wordWrap || f , M = g.font.name , O = F.toColor(g.textBrush) , _ = F.toColor(g.brush); w.drawTextForOutput(null, b, g.font, C, O, _, g.lineSpacing, g.horAlignment, g.vertAlignment, k, S.rightToLeft, 1, D, S.trimming, S.lineLimit, g.checkAllowHtmlTags(), P, N, S), t.writeStartElement("text"), t.writeAttributeString("x", this.toUnits(B)), t.writeAttributeString("y", this.toUnits(T)); var j = g.bookmarkValue; i.isNullOrEmpty(j) || t.writeAttributeString("id", j); var Q = ""; o && 0 == D && (Q += i.format("clip-path: url(#{0});", this.getClipPathName(g))), Q += this.getStyleString(g.font, O), Q += "white-space:pre;", t.writeStartAttribute(null, "style", null), t.writeRaw(Q), t.writeEndAttribute(); try { for (var Y = __values(P), U = Y.next(); !U.done; U = Y.next()) { var J = U.value , W = N[J.fontIndex] , V = B + J.xPos + .5 , z = T + J.yPos + W.ascend + .5 , X = ""; if (M != W.fontNameReal && (X += i.format("font-family:'{0}';", W.fontNameReal)), g.font.sizeInPoints != W.fontBase.sizeInPoints && (X += i.format("font-size:{0}pt;", W.fontBase.sizeInPoints.toString().stimulsoft.replaceAll(",", "."))), g.font.bold != W.fontBase.bold && (X += "font-weight:" + (W.fontBase.bold ? "bold" : "normal") + ";"), g.font.italic != W.fontBase.italic && (X += "font-style:" + (W.fontBase.italic ? "italic" : "normal") + ";"), g.font.underline != W.fontBase.underline || g.font.strikeout != W.fontBase.strikeout) { var K = W.fontBase.underline ? W.fontBase.strikeout ? "underline line-through" : "underline" : W.fontBase.strikeout ? "line-through" : "none"; X += i.format("text-decoration:{0};", K) } O.toArgb() != J.textColor.toArgb() && (X += i.format("fill:#{0:X2}{1:X2}{2:X2};", J.textColor.r, J.textColor.g, J.textColor.b), 255 != J.textColor.a && (X += i.format("fill-opacity:{0}", Math.round2(J.textColor.a / 255, 3).toString().stimulsoft.replaceAll(",", ".")))), t.writeStartElement("tspan"), t.writeAttributeString("x", this.toUnits(V)), t.writeAttributeString("y", this.toUnits(z)), X.length > 0 && t.writeAttributeString("style", X); var Z = J.text; null != Z && (0 == Z.trim().length && (Z = " "), Z.stimulsoft.endsWith("\n") && (Z = Z.substr(0, Z.length - 1)), Z.stimulsoft.endsWith("\r") && (Z = Z.substr(0, Z.length - 1))), t.writeString(Z), t.writeEndElement() } } catch (t) { u = { error: t } } finally { try { U && !U.done && (c = Y.return) && c.call(Y) } finally { if (u) throw u.error } } t.writeFullEndElement(), 0 != D && (t.writeFullEndElement(), t.writeFullEndElement(), o && t.writeFullEndElement()) } else { var q = C.clone(); if (90 == g.angle || 270 == g.angle || -90 == g.angle) { var $ = q.height; q.height = q.width, q.width = $ } var tt = l.splitTextWordwrap(b, null, g.font, q, S, g.horAlignment, g.textQuality == E.Typographic); try { for (var et = __values(tt), rt = et.next(); !rt.done; rt = et.next()) { var it = rt.value; it.lineHeight *= g.lineSpacing } } catch (t) { m = { error: t } } finally { try { rt && !rt.done && (p = et.return) && p.call(et) } finally { if (m) throw m.error } } var nt = tt.length > 0; if (1 == tt.length && 0 == tt[0].text.length && (nt = !1), nt) { var ot = 0; ot = S.angle; while (ot >= 360) ot -= 360; var at = 0; try { for (var st = __values(tt), lt = st.next(); !lt.done; lt = st.next()) { var it = lt.value; at += it.lineHeight } } catch (t) { h = { error: t } } finally { try { lt && !lt.done && (d = st.return) && d.call(st) } finally { if (h) throw h.error } } var ut = 0; null != g.border && (ut = g.border.size / 2); var X = ""; X += "white-space:pre;", o && 0 == ot && (X += i.format("clip-path: url(#{0});", this.getClipPathName(g))); var ct = e.x , mt = e.y + .9 * g.font.sizeInPoints * this.correctFontSize; ot % 90 == 0 ? ((!S.rightToLeft && g.horAlignment == G.Left || S.rightToLeft && g.horAlignment == G.Right) && (S.rightToLeft && (X += i.format("text-anchor:{0};", "end")), ct += 2.5 + ut), g.horAlignment == G.Center && (X += i.format("text-anchor:{0};", "middle"), ct += 90 == ot || 270 == ot ? e.height / 2 : e.width / 2), (S.rightToLeft && g.horAlignment == G.Left || !S.rightToLeft && g.horAlignment == G.Right) && (X += i.format("text-anchor:{0};", S.rightToLeft ? "start" : "end"), ct += 90 == ot || 270 == ot ? e.height - 2 - ut : e.width - 2 - ut), g.horAlignment == G.Width && (ct += 2 + ut), g.vertAlignment == H.Top && (mt += ut), g.vertAlignment == H.Center && (mt += 90 == ot || 270 == ot ? (e.width - at) / 2 : (e.height - at) / 2), g.vertAlignment == H.Bottom && (mt += 90 == ot || 270 == ot ? e.width - at - ut : e.height - at - ut)) : (X += i.format("text-anchor:{0};", "middle"), ct += e.width / 2, mt += (e.height - at) / 2), X += this.getStyleString(g.font, F.toColor(g.textBrush)), 0 != ot && (o && (t.writeStartElement("g"), t.writeAttributeString("clip-path", i.format("url(#{0})", this.getClipPathName(g)))), t.writeStartElement("g"), t.writeAttributeString("transform", i.format("translate({0},{1})", this.toUnits(e.x + e.width / 2), this.toUnits(e.y + e.height / 2))), t.writeStartElement("g"), t.writeAttributeString("transform", i.format("rotate({0})", this.toUnits(-ot))), 90 == ot || 270 == ot ? (ct -= e.x + e.height / 2, mt -= e.y + e.width / 2) : (ct -= e.x + e.width / 2, mt -= e.y + e.height / 2)); var pt = r.StiBidirectionalConvert.stringContainArabicOrHebrew(b); t.writeStartElement("text"), t.writeAttributeString("x", this.toUnits(ct)), t.writeAttributeString("y", this.toUnits(mt)), t.writeAttributeString("style", X.toString()), S.rightToLeft && (t.writeAttributeString("direction", "rtl"), t.writeAttributeString("unicode-bidi", "embed")); var j = g.bookmarkValue; i.isNullOrEmpty(j) || t.writeAttributeString("id", j), t.indentation = 0, t.formatting = y.None; for (var ht = 0; ht < tt.length; ht++) { var it = tt[ht]; if (tt.length > 1 && (pt ? ht > 0 && (t.writeEndElement(), t.writeStartElement("text"), t.writeAttributeString("x", this.toUnits(ct)), t.writeAttributeString("y", this.toUnits(mt + ht * it.lineHeight)), t.writeAttributeString("style", X.toString()), S.rightToLeft && r.StiBidirectionalConvert.stringContainArabicOrHebrew(tt[ht].text) && (t.writeAttributeString("direction", "rtl"), t.writeAttributeString("unicode-bidi", "embed"))) : (t.writeStartElement("tspan"), ht > 0 && (t.writeAttributeString("x", this.toUnits(ct)), t.writeAttributeString("dy", this.toUnits(it.lineHeight))))), it.needWidthAlign) { var dt = ot; while (dt < 0) dt += 360; var gt = e.width; (dt > 45 && dt < 135 || dt > 225 && dt < 315) && (gt = e.height); var ft = gt - 4 - 2 * ut; t.writeAttributeString("textLength", this.toUnits(ft > 0 ? ft : 1)) } var Z = tt[ht].text; null != Z && (0 == Z.trim().length && (Z = " "), Z.stimulsoft.endsWith("\n") && (Z = Z.substr(0, Z.length - 1)), Z.stimulsoft.endsWith("\r") && (Z = Z.substr(0, Z.length - 1))), t.writeString(Z), !pt && tt.length > 1 && t.writeEndElement() } t.writeFullEndElement(), t.indentation = n < 0 ? 0 : n, t.formatting = n < 0 ? y.None : y.Indented, 0 != ot && (t.writeFullEndElement(), t.writeFullEndElement(), o && t.writeFullEndElement()) } } } , Ot.getStyleString = function(t, e) { var r = ""; if (r += i.format("font-size:{0}pt;", t.sizeInPoints.toString().stimulsoft.replaceAll(",", ".")), r += i.format("font-family:'{0}';", t.name), t.bold && (r += "font-weight:bold;"), t.italic && (r += "font-style:italic;"), t.underline || t.strikeout) { var n = t.underline ? t.strikeout ? "underline line-through" : "underline" : t.strikeout ? "line-through" : null; r += i.format("text-decoration:{0};", n) } return r += i.format("fill:#{0:X2}{1:X2}{2:X2};", e.r, e.g, e.b), 255 != e.a && (r += i.format("fill-opacity:{0}", Math.round2(e.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), r } , Ot.writeImage = function(t, o, a, s, l, c) { var m = 0 , p = o.component.stimulsoft.as(f); if (null != p && o.component.isExportAsImage(e.StiExportFormat.ImagePng)) { var h = a , d = { ref: h } , g = p.getImage(d, e.StiExportFormat.ImagePng); if (null == g && o.component.stimulsoft.is(u) && (g = o.component.stimulsoft.as(u).getImageFromSource()), h = d.ref, null != g) { t.writeStartElement("image"); var S = o.component.bookmarkValue ? o.component.bookmarkValue.toString() : null; i.isNullOrEmpty(S) || t.writeAttributeString("id", S), t.writeAttributeString("style", i.format("clip-path: url(#clipPath{0});", m++)); var A = new r.StiSvgData; A.x = o.x, A.y = o.y, p.stretch ? (A.width = o.width, A.height = o.height) : (A.width = g.width, A.height = g.height), o.component.stimulsoft.is(n) ? (t.writeAttributeString("x", this.toUnits(o.x)), t.writeAttributeString("y", this.toUnits(o.y)), t.writeAttributeString("width", this.toUnits(g.width)), t.writeAttributeString("height", this.toUnits(g.height))) : this.writeCoordinates(t, A), t.writeStartAttribute(null, "xlink:href", null), i.isNullOrEmpty(g.base64) && !i.isNullOrEmpty(g.url) ? t.writeRaw(g.url) : t.writeRaw(g.base64), t.writeEndAttribute(), t.writeEndElement() } else m++ } } , Ot.writeBarCode = function(t, e) { var n = e.component.stimulsoft.as(Tt) , o = new r.StiSvgGeomWriter(t) , a = new r.StiBarCodeExportPainter(o); !n.isDesigning && i.isNullOrEmpty(n.codeValue) || n.barCodeType.draw(a, n, new I(e.x,e.y,e.width,e.height), 1) } , Ot.writeShape = function(t, e) { var r = e.component.stimulsoft.as(P) , n = e.component.stimulsoft.as(R) , o = C.transparent; null != n && (o = F.toColor(n.brush)); var a = new O , s = new O , l = Math.trunc(1 + r.size / 2); if (e.x += l, e.y += l, e.width -= 2 * l, e.height -= 2 * l, r.shapeType.stimulsoft.is(Q) && (a.append(i.format("M {0},{1} V {3} H {2} V {1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height))), s.append(i.format("M {0},{1} V {2} Z", Ot.toUnits(e.x + e.width / 2), Ot.toUnits(e.y), Ot.toUnits(e.y + e.height)))), r.shapeType.stimulsoft.is(Y) && (a.append(i.format("M {0},{1} V {3} H {2} V {1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height))), s.append(i.format("M {0},{1} H {2} Z", Ot.toUnits(e.x), Ot.toUnits(e.y + e.height / 2), Ot.toUnits(e.x + e.width)))), r.shapeType.stimulsoft.is(U) && (a.append(i.format("M {0},{1} V {3} H {2} V {1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height))), s.append(i.format("M {0},{1} H {2} M {0},{3} H {2} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height)))), r.shapeType.stimulsoft.is(J) && (a.append(i.format("M {0},{1} V {3} H {2} V {1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height))), s.append(i.format("M {0},{1} V {3} M {2},{1} V {3} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height)))), r.shapeType.stimulsoft.is(W) && (a.append(i.format("M {0},{1} V {3} H {2} V {1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width - .5), Ot.toUnits(e.y + e.height - .5))), s = a), r.shapeType.stimulsoft.is(z) && (a.append(i.format("M {0},{1} V {3} H {2} V {1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height))), s.append(i.format("M {0},{1} L {2},{3} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height)))), r.shapeType.stimulsoft.is(X) && (a.append(i.format("M {0},{1} V {3} H {2} V {1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height))), s.append(i.format("M {0},{3} L {2},{1}", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height)))), r.shapeType.stimulsoft.is(K)) { var u = r.shapeType.direction; u == B.Up && a.append(i.format("M {0},{3} L {4},{1} {2},{3} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height), Ot.toUnits(e.x + e.width / 2))), u == B.Down && a.append(i.format("M {0},{1} L {4},{3} {2},{1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height), Ot.toUnits(e.x + e.width / 2))), u == B.Left && a.append(i.format("M {2},{3} L {0},{4} {2},{1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height), Ot.toUnits(e.y + e.height / 2))), u == B.Right && a.append(i.format("M {0},{3} L {2},{4} {0},{1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y), Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height), Ot.toUnits(e.y + e.height / 2))), s = a } if (r.shapeType.stimulsoft.is(Z)) { var c = e.width / 2 * (1 - Ot.pdfCKT) , m = e.height / 2 * (1 - Ot.pdfCKT) , p = e.x , h = e.y , d = e.right , g = e.bottom , f = e.x + e.width / 2 , S = e.y + e.height / 2; a.append(i.format("M {0},{1} ", Ot.toUnits(f), Ot.toUnits(g))), a.append(i.format("C {0},{1} {2},{3} {4},{5} ", Ot.toUnits(p + c), Ot.toUnits(g), Ot.toUnits(p), Ot.toUnits(g - m), Ot.toUnits(p), Ot.toUnits(S))), a.append(i.format("C {0},{1} {2},{3} {4},{5} ", Ot.toUnits(p), Ot.toUnits(h + m), Ot.toUnits(p + c), Ot.toUnits(h), Ot.toUnits(f), Ot.toUnits(h))), a.append(i.format("C {0},{1} {2},{3} {4},{5} ", Ot.toUnits(d - c), Ot.toUnits(h), Ot.toUnits(d), Ot.toUnits(h + m), Ot.toUnits(d), Ot.toUnits(S))), a.append(i.format("C {0},{1} {2},{3} {4},{5} Z", Ot.toUnits(d), Ot.toUnits(g - m), Ot.toUnits(d - c), Ot.toUnits(g), Ot.toUnits(f), Ot.toUnits(g))), s = a } if (r.shapeType.stimulsoft.is(V)) { var A = r.shapeType.round , y = e.width - .5; y > e.height && (y = e.height - .5); var w = Math.min(y, 100 * r.page.zoom) * A , b = w * (1 - Ot.pdfCKT) , p = e.x , h = e.y , d = e.right - .5 , g = e.bottom - .5; a.append(i.format("M {0},{1} ", Ot.toUnits(p + w), Ot.toUnits(g))), a.append(i.format("C {0},{1} {2},{3} {4},{5} ", Ot.toUnits(p + b), Ot.toUnits(g), Ot.toUnits(p), Ot.toUnits(g - b), Ot.toUnits(p), Ot.toUnits(g - w))), a.append(i.format("V {0} ", Ot.toUnits(h + w))), a.append(i.format("C {0},{1} {2},{3} {4},{5} ", Ot.toUnits(p), Ot.toUnits(h + b), Ot.toUnits(p + b), Ot.toUnits(h), Ot.toUnits(p + w), Ot.toUnits(h))), a.append(i.format("H {0} ", Ot.toUnits(d - w))), a.append(i.format("C {0},{1} {2},{3} {4},{5} ", Ot.toUnits(d - b), Ot.toUnits(h), Ot.toUnits(d), Ot.toUnits(h + b), Ot.toUnits(d), Ot.toUnits(h + w))), a.append(i.format("V {0} ", Ot.toUnits(g - w))), a.append(i.format("C {0},{1} {2},{3} {4},{5} Z", Ot.toUnits(d), Ot.toUnits(g - b), Ot.toUnits(d - b), Ot.toUnits(g), Ot.toUnits(d - w), Ot.toUnits(g))), s = a } if (r.shapeType.stimulsoft.is($)) { var v = r.shapeType.stimulsoft.as($) , E = (null != r.report ? r.report.unit.convertToHInches(v.bevel) : v.bevel) * r.page.zoom , T = E; v.autoSize && (E = e.width / (2.414 * 1.414), T = e.height / (2.414 * 1.414)), E > e.width / 2 && (E = e.width / 2), T > e.height / 2 && (T = e.height / 2), a.append(i.format("M {0},{1} ", this.toUnits(e.x + E), this.toUnits(e.y))), a.append(i.format("L {0},{1} {2},{3} ", this.toUnits(e.right - E), this.toUnits(e.y), this.toUnits(e.right), this.toUnits(e.y + T))), a.append(i.format("{0},{1} {2},{3} ", this.toUnits(e.right), this.toUnits(e.bottom - T), this.toUnits(e.right - E), this.toUnits(e.bottom))), a.append(i.format("{0},{1} {2},{3} ", this.toUnits(e.x + E), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.bottom - T))), a.append(i.format("{0},{1} {2},{3} ", this.toUnits(e.x + E), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.bottom - T))), a.append(i.format("{0},{1} {2},{3} Z", this.toUnits(e.x), this.toUnits(e.y + T), this.toUnits(e.x + E), this.toUnits(e.y))), s = a } if (r.shapeType.stimulsoft.is(q)) { var u = r.shapeType.direction , x = r.shapeType.arrowWidth , D = r.shapeType.arrowHeight , N = e.width * x , k = e.height * D; u != B.Left && u != B.Right || (N = e.height * x, k = e.width * D), u == B.Up && (a.append(i.format("M {0},{1} ", Ot.toUnits(e.x + e.width - N), Ot.toUnits(e.y + e.height))), a.append(i.format("L {0},{1} ", Ot.toUnits(e.x + e.width - N), Ot.toUnits(e.y + k))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + k))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width / 2), Ot.toUnits(e.y))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x), Ot.toUnits(e.y + k))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + N), Ot.toUnits(e.y + k))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + N), Ot.toUnits(e.y + e.height))), a.append(i.format("{0},{1} Z", Ot.toUnits(e.x + e.width - N), Ot.toUnits(e.y + e.height)))), u == B.Down && (a.append(i.format("M {0},{1} ", Ot.toUnits(e.x + N), Ot.toUnits(e.y))), a.append(i.format("L {0},{1} ", Ot.toUnits(e.x + N), Ot.toUnits(e.y + e.height - k))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x), Ot.toUnits(e.y + e.height - k))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width / 2), Ot.toUnits(e.y + e.height))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height - k))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width - N), Ot.toUnits(e.y + e.height - k))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width - N), Ot.toUnits(e.y))), a.append(i.format("{0},{1} Z", Ot.toUnits(e.x + N), Ot.toUnits(e.y)))), u == B.Left && (a.append(i.format("M {0},{1} ", Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + N))), a.append(i.format("L {0},{1} ", Ot.toUnits(e.x + k), Ot.toUnits(e.y + N))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + k), Ot.toUnits(e.y))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x), Ot.toUnits(e.y + e.height / 2))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + k), Ot.toUnits(e.y + e.height))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + k), Ot.toUnits(e.y + e.height - N))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height - N))), a.append(i.format("{0},{1} Z", Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + N)))), u == B.Right && (a.append(i.format("M {0},{1} ", Ot.toUnits(e.x), Ot.toUnits(e.y + e.height - N))), a.append(i.format("L {0},{1} ", Ot.toUnits(e.x + e.width - k), Ot.toUnits(e.y + e.height - N))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width - k), Ot.toUnits(e.y + e.height))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width), Ot.toUnits(e.y + e.height / 2))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width - k), Ot.toUnits(e.y))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x + e.width - k), Ot.toUnits(e.y + N))), a.append(i.format("{0},{1} ", Ot.toUnits(e.x), Ot.toUnits(e.y + N))), a.append(i.format("{0},{1} Z", Ot.toUnits(e.x), Ot.toUnits(e.y + e.height - N)))), s = a } if (r.shapeType.stimulsoft.is(tt)) { var M = e.width < e.height ? e.width / 2 : e.height / 2 , _ = e.height / 3.8 , L = e.width / 3.8 , j = e.height < e.width ? e.height / 2 : e.width / 2; switch (r.shapeType.stimulsoft.as(tt).direction) { case B.Left: case B.Right: a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y + e.height / 2))), a.append(i.format("L {0},{1} ", this.toUnits(e.x + M), this.toUnits(e.y))), a.append(i.format("{0},{1} ", this.toUnits(e.x + M), this.toUnits(e.y + _))), a.append(i.format("{0},{1} ", this.toUnits(e.right - M), this.toUnits(e.y + _))), a.append(i.format("{0},{1} ", this.toUnits(e.right - M), this.toUnits(e.y))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.y + e.height / 2))), a.append(i.format("{0},{1} ", this.toUnits(e.right - M), this.toUnits(e.bottom))), a.append(i.format("{0},{1} ", this.toUnits(e.right - M), this.toUnits(e.bottom - _))), a.append(i.format("{0},{1} ", this.toUnits(e.x + M), this.toUnits(e.bottom - _))), a.append(i.format("{0},{1} ", this.toUnits(e.x + M), this.toUnits(e.bottom))), a.append(i.format("{0},{1} Z", this.toUnits(e.x), this.toUnits(e.y + e.height / 2))); break; case B.Down: case B.Up: a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y + j))), a.append(i.format("L {0},{1} ", this.toUnits(e.x + e.width / 2), this.toUnits(e.y))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.y + j))), a.append(i.format("{0},{1} ", this.toUnits(e.right - L), this.toUnits(e.y + j))), a.append(i.format("{0},{1} ", this.toUnits(e.right - L), this.toUnits(e.bottom - j))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.bottom - j))), a.append(i.format("{0},{1} ", this.toUnits(e.x + e.width / 2), this.toUnits(e.bottom))), a.append(i.format("{0},{1} ", this.toUnits(e.x), this.toUnits(e.bottom - j))), a.append(i.format("{0},{1} ", this.toUnits(e.x + L), this.toUnits(e.bottom - j))), a.append(i.format("{0},{1} ", this.toUnits(e.x + L), this.toUnits(e.y + j))), a.append(i.format("{0},{1} Z", this.toUnits(e.x), this.toUnits(e.y + j))); break } s = a } if (r.shapeType.stimulsoft.is(et)) { var H = 0 , G = 0 , bt = 0; switch (e.height > e.width ? (G = e.width / 4, H = G, bt = G / 2) : (H = e.height / 4, G = H, bt = G / 2), r.shapeType.stimulsoft.as(et).direction) { case B.Up: a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.bottom))), a.append(i.format("L {0},{1} ", this.toUnits(e.x), this.toUnits(e.bottom - H))), a.append(i.format("{0},{1} ", this.toUnits(e.right - (bt + H)), this.toUnits(e.bottom - H))), a.append(i.format("{0},{1} ", this.toUnits(e.right - (bt + H)), this.toUnits(e.y + G))), a.append(i.format("{0},{1} ", this.toUnits(e.right - 2 * G), this.toUnits(e.y + G))), a.append(i.format("{0},{1} ", this.toUnits(e.right - G), this.toUnits(e.y))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.y + G))), a.append(i.format("{0},{1} ", this.toUnits(e.right - bt), this.toUnits(e.y + G))), a.append(i.format("{0},{1} ", this.toUnits(e.right - bt), this.toUnits(e.bottom))), a.append(i.format("{0},{1} Z", this.toUnits(e.x), this.toUnits(e.bottom))); break; case B.Left: a.append(i.format("M {0},{1} ", this.toUnits(e.right), this.toUnits(e.bottom))), a.append(i.format("L {0},{1} ", this.toUnits(e.right), this.toUnits(e.y + bt))), a.append(i.format("{0},{1} ", this.toUnits(e.x + G), this.toUnits(e.y + bt))), a.append(i.format("{0},{1} ", this.toUnits(e.x + G), this.toUnits(e.y))), a.append(i.format("{0},{1} ", this.toUnits(e.x), this.toUnits(e.y + G))), a.append(i.format("{0},{1} ", this.toUnits(e.x + G), this.toUnits(e.y + 2 * G))), a.append(i.format("{0},{1} ", this.toUnits(e.x + G), this.toUnits(e.y + G + bt))), a.append(i.format("{0},{1} ", this.toUnits(e.right - H), this.toUnits(e.y + G + bt))), a.append(i.format("{0},{1} ", this.toUnits(e.right - H), this.toUnits(e.bottom))), a.append(i.format("{0},{1} Z", this.toUnits(e.right), this.toUnits(e.bottom))); break; case B.Down: a.append(i.format("M {0},{1} ", this.toUnits(e.right), this.toUnits(e.y))), a.append(i.format("L {0},{1} ", this.toUnits(e.x + bt), this.toUnits(e.y))), a.append(i.format("{0},{1} ", this.toUnits(e.x + bt), this.toUnits(e.bottom - G))), a.append(i.format("{0},{1} ", this.toUnits(e.x), this.toUnits(e.bottom - G))), a.append(i.format("{0},{1} ", this.toUnits(e.x + G), this.toUnits(e.bottom))), a.append(i.format("{0},{1} ", this.toUnits(e.x + 2 * G), this.toUnits(e.bottom - G))), a.append(i.format("{0},{1} ", this.toUnits(e.x + G + bt), this.toUnits(e.bottom - G))), a.append(i.format("{0},{1} ", this.toUnits(e.x + G + bt), this.toUnits(e.y + H))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.y + H))), a.append(i.format("{0},{1} Z", this.toUnits(e.right), this.toUnits(e.y))); break; case B.Right: a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y))), a.append(i.format("L {0},{1} ", this.toUnits(e.x), this.toUnits(e.bottom - bt))), a.append(i.format("{0},{1} ", this.toUnits(e.right - G), this.toUnits(e.bottom - bt))), a.append(i.format("{0},{1} ", this.toUnits(e.right - G), this.toUnits(e.bottom))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.bottom - G))), a.append(i.format("{0},{1} ", this.toUnits(e.right - G), this.toUnits(e.bottom - 2 * G))), a.append(i.format("{0},{1} ", this.toUnits(e.right - G), this.toUnits(e.bottom - G - bt))), a.append(i.format("{0},{1} ", this.toUnits(e.x + H), this.toUnits(e.bottom - G - bt))), a.append(i.format("{0},{1} ", this.toUnits(e.x + H), this.toUnits(e.y))), a.append(i.format("{0},{1} Z", this.toUnits(e.x), this.toUnits(e.y))); break } s = a } if (r.shapeType.stimulsoft.is(rt)) { var vt = e.width > e.height ? e.height / 2 : e.width / 2; switch (r.shapeType.stimulsoft.as(rt).direction) { case B.Right: a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y))), a.append(i.format("L {0},{1} ", this.toUnits(e.x + vt), this.toUnits(e.y + e.height / 2))), a.append(i.format("{0},{1} ", this.toUnits(e.x), this.toUnits(e.bottom))), a.append(i.format("{0},{1} ", this.toUnits(e.right - vt), this.toUnits(e.bottom))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.y + e.height / 2))), a.append(i.format("{0},{1} ", this.toUnits(e.right - vt), this.toUnits(e.y))), a.append(i.format("{0},{1} Z", this.toUnits(e.x), this.toUnits(e.y))); break; case B.Left: a.append(i.format("M {0},{1} ", this.toUnits(e.right), this.toUnits(e.y))), a.append(i.format("L {0},{1} ", this.toUnits(e.x + vt), this.toUnits(e.y))), a.append(i.format("{0},{1} ", this.toUnits(e.x), this.toUnits(e.y + e.height / 2))), a.append(i.format("{0},{1} ", this.toUnits(e.x + vt), this.toUnits(e.bottom))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.bottom))), a.append(i.format("{0},{1} ", this.toUnits(e.right - vt), this.toUnits(e.y + e.height / 2))), a.append(i.format("{0},{1} Z", this.toUnits(e.right), this.toUnits(e.y))); break; case B.Up: a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y + vt))), a.append(i.format("L {0},{1} ", this.toUnits(e.x + e.width / 2), this.toUnits(e.y))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.y + vt))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.bottom))), a.append(i.format("{0},{1} ", this.toUnits(e.x + e.width / 2), this.toUnits(e.bottom - vt))), a.append(i.format("{0},{1} ", this.toUnits(e.x), this.toUnits(e.bottom))), a.append(i.format("{0},{1} Z", this.toUnits(e.x), this.toUnits(e.y + vt))); break; case B.Down: a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y))), a.append(i.format("L {0},{1} ", this.toUnits(e.x + e.width / 2), this.toUnits(e.y + vt))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.y))), a.append(i.format("{0},{1} ", this.toUnits(e.right), this.toUnits(e.bottom - vt))), a.append(i.format("{0},{1} ", this.toUnits(e.x + e.width / 2), this.toUnits(e.bottom))), a.append(i.format("{0},{1} ", this.toUnits(e.x), this.toUnits(e.bottom - vt))), a.append(i.format("{0},{1} Z", this.toUnits(e.x), this.toUnits(e.y))); break } s = a } if (r.shapeType.stimulsoft.is(it)) { var M = e.height / 3; M += 4, a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y + M))), a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} ", this.toUnits(e.right), this.toUnits(e.y + M), this.toUnits(e.right), this.toUnits(e.bottom - M), this.toUnits(e.x), this.toUnits(e.bottom - M), this.toUnits(e.x), this.toUnits(e.y + M))), M -= 4, a.append(i.format("M {0},{1} ", this.toUnits(e.width / 2 - M / 2 + e.x), this.toUnits(e.y + 1 + M / 2))), a.append(i.format("a {0},{0} 0 1,0 {1},0 a {0},{0} 0 1,0 -{1},0 ", M / 2, M)), a.append(i.format("M {0},{1} ", this.toUnits(e.width / 2 - M / 2 + e.x), this.toUnits(e.bottom - 2 - M / 2))), a.append(i.format("a {0},{0} 0 1,0 {1},0 a {0},{0} 0 1,0 -{1},0 Z", M / 2, M)), s = a } if (r.shapeType.stimulsoft.is(nt)) { var Ct = (e.height - e.height / 6) / 2; a.append(i.format("M {0},{1} h {2} v {3} H {0} V {1} ", this.toUnits(e.x), this.toUnits(e.bottom - Ct), this.toUnits(e.width), this.toUnits(Ct))), a.append(i.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(Ct))), s = a } if (r.shapeType.stimulsoft.is(ot) && (a.append(i.format("M {0},{1} L {2},{3} ", this.toUnits(e.right), this.toUnits(e.y), this.toUnits(e.right), this.toUnits(e.bottom))), a.append(i.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))), s = a), r.shapeType.stimulsoft.is(at)) { switch (r.shapeType.stimulsoft.as(at).direction) { case B.Down: case B.Up: a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y))), a.append(i.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 B.Left: case B.Right: a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y))), a.append(i.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 } s = a } if (r.shapeType.stimulsoft.is(st) && (a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y + e.height / 2))), a.append(i.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))), s = a), r.shapeType.stimulsoft.is(lt) && (a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y + e.height / 5))), a.append(i.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))), s = a), r.shapeType.stimulsoft.is(ut)) { var M = e.height / 5 , j = e.width / 5; switch (r.shapeType.stimulsoft.as(ut).direction) { case B.Down: a.append(i.format("M {0},{1} L {2},{3} ", this.toUnits(e.x), this.toUnits(e.y), this.toUnits(e.right), this.toUnits(e.y))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z", this.toUnits(e.right), this.toUnits(e.bottom - M), this.toUnits(e.x + e.width / 2), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.bottom - M), this.toUnits(e.x), this.toUnits(e.y))); break; case B.Up: a.append(i.format("M {0},{1} L {2},{3} ", this.toUnits(e.x), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.y + M))), a.append(i.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 + M), this.toUnits(e.right), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.bottom))); break; case B.Left: a.append(i.format("M {0},{1} L {2},{3} ", this.toUnits(e.x + j), this.toUnits(e.y), this.toUnits(e.right), this.toUnits(e.y))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z", this.toUnits(e.right), this.toUnits(e.bottom), this.toUnits(e.x + j), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.y + e.height / 2), this.toUnits(e.x + j), this.toUnits(e.y))); break; case B.Right: a.append(i.format("M {0},{1} L {2},{3} ", this.toUnits(e.x), this.toUnits(e.y), this.toUnits(e.right - j), this.toUnits(e.y))), a.append(i.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 - j), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.y))); break } s = a } if (r.shapeType.stimulsoft.is(ct)) { var j = e.width / 5 , M = e.height / 5 , Et = e.width / 2 , Bt = e.height / 2; switch (r.shapeType.stimulsoft.as(ct).direction) { case B.Left: case B.Right: a.append(i.format("M {0},{1} L {2},{3} {4},{5} ", this.toUnits(e.x), this.toUnits(e.y + Bt), this.toUnits(e.x + j), this.toUnits(e.y), this.toUnits(e.right - j), this.toUnits(e.y))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z", this.toUnits(e.right), this.toUnits(e.y + Bt), this.toUnits(e.right - j), this.toUnits(e.bottom), this.toUnits(e.x + j), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.y + Bt))); break; case B.Down: case B.Up: a.append(i.format("M {0},{1} L {2},{3} {4},{5} ", this.toUnits(e.x + Et), this.toUnits(e.y), this.toUnits(e.right), this.toUnits(e.y + M), this.toUnits(e.right), this.toUnits(e.bottom - M))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z", this.toUnits(e.x + Et), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.bottom - M), this.toUnits(e.x), this.toUnits(e.y + M), this.toUnits(e.x + Et), this.toUnits(e.y))); break } s = a } if (r.shapeType.stimulsoft.is(mt) && (a.append(i.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))), a.append(i.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))), s = a), r.shapeType.stimulsoft.is(pt)) { var j = e.width / 7 , M = e.height / 7; a.append(i.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))), a.append(i.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} Z", this.toUnits(e.x + j), this.toUnits(e.y + M), this.toUnits(e.x + j), this.toUnits(e.bottom - M), this.toUnits(e.right - j), this.toUnits(e.bottom - M), this.toUnits(e.right - j), this.toUnits(e.y + M), this.toUnits(e.x + j), this.toUnits(e.y + M))), s = a } if (r.shapeType.stimulsoft.is(ht)) { var M = e.height / 3; a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y + M))), a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z", this.toUnits(e.right), this.toUnits(e.y + M), this.toUnits(e.right), this.toUnits(e.bottom - M), this.toUnits(e.x), this.toUnits(e.bottom - M), this.toUnits(e.x), this.toUnits(e.y + M))), s = a } if (r.shapeType.stimulsoft.is(dt)) { var j = e.width / 4 , M = e.height / 4; a.append(i.format("M {0},{1} ", this.toUnits(e.x), this.toUnits(e.y + M))), a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} ", this.toUnits(e.x + j), this.toUnits(e.y), this.toUnits(e.x + e.width / 2), this.toUnits(e.y + M), this.toUnits(e.right - j), this.toUnits(e.y), this.toUnits(e.right), this.toUnits(e.y + M))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} ", this.toUnits(e.right - j), this.toUnits(e.y + e.height / 2), this.toUnits(e.right), this.toUnits(e.bottom - M), this.toUnits(e.right - j), this.toUnits(e.bottom), this.toUnits(e.x + e.width / 2), this.toUnits(e.bottom - M))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z", this.toUnits(e.x + j), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.bottom - M), this.toUnits(e.x + j), this.toUnits(e.y + e.height / 2), this.toUnits(e.x), this.toUnits(e.y + M))), s = a } if (r.shapeType.stimulsoft.is(gt)) { var j = e.width / 7 , M = e.height / 7; a.append(i.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))), s = a } if (r.shapeType.stimulsoft.is(ft)) { var j = e.width / 3 , M = e.height / 3; a.append(i.format("M {0},{1} ", this.toUnits(e.x + j), this.toUnits(e.y))), a.append(i.format("L {0},{1} {2},{3} {4},{5} {6},{7} ", this.toUnits(e.right - j), this.toUnits(e.y), this.toUnits(e.right - j), this.toUnits(e.y + M), this.toUnits(e.right), this.toUnits(e.y + M), this.toUnits(e.right), this.toUnits(e.bottom - M))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} ", this.toUnits(e.right - j), this.toUnits(e.bottom - M), this.toUnits(e.right - j), this.toUnits(e.bottom), this.toUnits(e.x + j), this.toUnits(e.bottom), this.toUnits(e.x + j), this.toUnits(e.bottom - M))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z", this.toUnits(e.x), this.toUnits(e.bottom - M), this.toUnits(e.x), this.toUnits(e.y + M), this.toUnits(e.x + j), this.toUnits(e.y + M), this.toUnits(e.x + j), this.toUnits(e.y))), s = a } if (r.shapeType.stimulsoft.is(St)) { var Tt = e.height / 2.6 , It = e.width / 5.5; a.append(i.format("M {0},{1} L {2},{3} ", this.toUnits(e.x), this.toUnits(e.y + Tt), this.toUnits(e.x + e.width / 2), this.toUnits(e.y))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z", this.toUnits(e.right), this.toUnits(e.y + Tt), this.toUnits(e.right - It), this.toUnits(e.bottom), this.toUnits(e.x + It), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.y + Tt))), s = a } if (r.shapeType.stimulsoft.is(At)) { var vt = e.width / 4.75; a.append(i.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 + vt), this.toUnits(e.y), this.toUnits(e.right - vt), this.toUnits(e.y), this.toUnits(e.right), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.bottom))), s = a } if (r.shapeType.stimulsoft.is(yt)) { var j = e.width / 7.2 , M = e.height / 4.6; a.append(i.format("M {0},{1} L {2},{3} {4},{5} ", this.toUnits(e.x), this.toUnits(e.y + M), this.toUnits(e.x + j), this.toUnits(e.y), this.toUnits(e.right - j), this.toUnits(e.y))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z", this.toUnits(e.right), this.toUnits(e.y + M), this.toUnits(e.right), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.y + M))), s = a } if (r.shapeType.stimulsoft.is(wt)) { var j = e.width / 7.2 , M = e.height / 4.6; a.append(i.format("M {0},{1} L {2},{3} {4},{5} ", this.toUnits(e.x), this.toUnits(e.y), this.toUnits(e.right - j), this.toUnits(e.y), this.toUnits(e.right), this.toUnits(e.y + M))), a.append(i.format("{0},{1} {2},{3} {4},{5} {6},{7} Z", this.toUnits(e.right), this.toUnits(e.bottom), this.toUnits(e.x + j), this.toUnits(e.bottom), this.toUnits(e.x), this.toUnits(e.bottom - M), this.toUnits(e.x), this.toUnits(e.y))), s = a } if (a.length > 0 || s.length > 0) if (a == s) { var xt = new O; null != n.brush ? xt.append(this.writeFillBrush(t, n.brush, new I(e.x,e.y,e.width,e.height))) : xt.append("fill:none;"), t.writeStartElement("path"), t.writeAttributeString("style", xt.toString()), r.borderColor.stimulsoft.equals(C.transparent) ? t.writeAttributeString("stroke", "none") : Ot.writeStrokeInfo(t, r.borderColor, r.size, r.style), t.writeAttributeString("transform", "translate(0, 0)"), t.writeAttributeString("d", a.toString()), t.writeEndElement() } else a.length > 0 && !o.stimulsoft.equals(C.transparent) && (t.writeStartElement("path"), Ot.writeFillInfo(t, o), t.writeAttributeString("stroke", "none"), t.writeAttributeString("d", a.toString()), t.writeEndElement()), s.length > 0 && !r.borderColor.stimulsoft.equals(C.transparent) && (t.writeStartElement("path"), t.writeAttributeString("fill", "none"), Ot.writeStrokeInfo(t, r.borderColor, r.size, r.style), t.writeAttributeString("d", s.toString()), t.writeEndElement()) } , Ot.writeFillBrush = function(t, e, r) { if (e.stimulsoft.is(C)) { var n = e.stimulsoft.as(C); return i.format("fill:rgb({0},{1},{2});fill-opacity:{3};", n.r, n.g, n.b, Math.round2(n.a / 255, 3)) } if (e.stimulsoft.is(j) || e.stimulsoft.is(vt) || e.stimulsoft.is(Ct) || e.stimulsoft.is(A)) { var o = r.clone() , a = this.writeBrush(t, e, o); return i.format("fill:url(#{0});", a) } if (e.stimulsoft.is(F)) { var n = F.toColor(e.stimulsoft.as(F)); return i.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;" } , Ot.writeBrush = function(t, e, i) { var n = ""; return e.stimulsoft.is(vt) ? n = r.StiBrushSvgHelper.writeGlareBrush(t, e, i) : e.stimulsoft.is(j) ? n = r.StiBrushSvgHelper.writeGradientBrush(t, e, i) : e.stimulsoft.is(Ct) ? n = r.StiBrushSvgHelper.writeHatchBrush(t, e) : e.stimulsoft.is(A) && (n = r.StiBrushSvgHelper.writeGlassBrush(t, e, i)), n } , Ot.writeRoundedRectanglePrimitive = function(t, e) { var r = e.component; if (!r.color.stimulsoft.equals(C.transparent)) { var n = new O , o = r.round , a = e.width; a > e.height && (a = e.height); var s = Math.min(a, 100 * r.page.zoom) * o , l = s * (1 - Ot.pdfCKT) , u = e.x , c = e.y , m = e.x + e.width , p = e.y + e.height; n.append(i.format("M {0} {1} ", Ot.toUnits(u + s), Ot.toUnits(p))), n.append(i.format("C {0} {1} {2} {3} {4} {5} ", Ot.toUnits(u + l), Ot.toUnits(p), Ot.toUnits(u), Ot.toUnits(p - l), Ot.toUnits(u), Ot.toUnits(p - s))), n.append(i.format("V {0} ", Ot.toUnits(c + s))), n.append(i.format("C {0} {1} {2} {3} {4} {5} ", Ot.toUnits(u), Ot.toUnits(c + l), Ot.toUnits(u + l), Ot.toUnits(c), Ot.toUnits(u + s), Ot.toUnits(c))), n.append(i.format("H {0} ", Ot.toUnits(m - s))), n.append(i.format("C {0} {1} {2} {3} {4} {5} ", Ot.toUnits(m - l), Ot.toUnits(c), Ot.toUnits(m), Ot.toUnits(c + l), Ot.toUnits(m), Ot.toUnits(c + s))), n.append(i.format("V {0} ", Ot.toUnits(p - s))), n.append(i.format("C {0} {1} {2} {3} {4} {5} Z", Ot.toUnits(m), Ot.toUnits(p - l), Ot.toUnits(m - l), Ot.toUnits(p), Ot.toUnits(m - s), Ot.toUnits(p))), t.writeStartElement("path"), t.writeAttributeString("fill", "none"), Ot.writeStrokeInfo(t, r.color, r.size, r.style), t.writeAttributeString("d", n.toString()), t.writeEndElement() } } , Ot.getClipPathName = function(t) { return null == t.guid && t.newGuid(), i.format("clipPath_{0}", t.guid) } , Ot.writeIndicator = function(t, e) { var r = new I(e.x,e.y,e.width,e.height) , i = e.component.stimulsoft.as(N); null != i && null != i.indicator && (i.indicator.stimulsoft.is(p) && this.writeIconSetIndicatorTypePainter(t, i, r), i.indicator.stimulsoft.is(g) && this.writeDataBarIndicator(t, i, r)), e.x = r.x, e.y = r.y, e.width = r.width, e.height = r.height } , Ot.writeIconSetIndicatorTypePainter = function(t, e, r) { var i = r.clone(); i.inflate(-1, -1); var n = e.indicator.stimulsoft.as(p); if (null != n && (n.icon != m.None || null != n.customIcon)) { var o = c.getIcon3(n) , a = null != n.customIcon ? n.customIconSize.width : 18 , s = null != n.customIcon ? n.customIconSize.height : 18 , l = i.clone(); switch (n.alignment) { case S.TopLeft: l = new I(l.x,l.y,a,s), r.x += l.width + 1, r.width -= l.width + 1; break; case S.TopCenter: l = new I(l.x + (l.width - a) / 2,l.y,a,s); break; case S.TopRight: l = new I(l.right - a,l.y,a,s), r.width -= l.width + 1; break; case S.MiddleLeft: l = new I(l.x,l.y + (l.height - s) / 2,a,s), r.x += l.width + 1, r.width -= l.width + 1; break; case S.MiddleCenter: l = new I(l.x + (l.width - a) / 2,l.y + (l.height - s) / 2,a,s); break; case S.MiddleRight: l = new I(l.right - a,l.y + (l.height - s) / 2,a,s), r.width -= l.width + 1; break; case S.BottomLeft: l = new I(l.x,l.bottom - s,a,s), r.x += l.width + 1, r.width -= l.width + 1; break; case S.BottomCenter: l = new I(l.x + (l.width - a) / 2,l.bottom - s,a,s); break; case S.BottomRight: l = new I(l.right - a,l.bottom - s,a,s), r.width -= l.width + 1; break } t.writeStartElement("image"), Ot.writeCoordinates(t, l), t.writeAttributeString("xlink:href", o), t.writeEndElement() } } , Ot.writeDataBarIndicator = function(e, n, o) { var a = o.clone(); a.inflate(-2, -2); var s = n.indicator.stimulsoft.as(g); if (null != s && 0 != s.value) { var l = s.maximum + Math.abs(s.minimum) , u = a.clone() , c = u.width * Math.abs(s.minimum) / l , m = u.width * s.maximum / l , p = u.width * Math.abs(s.value) / l , f = s.direction; f == d.Default && (f = null != n.textOptions && n.textOptions.rightToLeft ? d.RighToLeft : d.LeftToRight); var S = 0; if (f == d.LeftToRight ? (s.value < 0 ? u.x += c - p : u.x += c, u.width = p) : (S = 180, s.value < 0 ? u.x = u.right - c : u.x = u.right - c - p, u.width = p), s.value < 0 && (S += 180), u.width > 0 && u.height > 0) if (s.brushType == t.Report.Components.StiBrushType.Gradient) { var A = void 0; if (A = f == d.LeftToRight ? s.value > 0 ? new I(o.left + c,o.top,m,o.height) : new I(o.left,o.top,c,o.height) : s.value < 0 ? new I(o.left + m,o.top,c,o.height) : new I(o.left,o.top,m,o.height), u.width > 0 && u.width < 1 && (u.width = 1), A.width > 0 && A.width < 1 && (A.width = 1), A.width > 0 && u.width > 0) { var y = s.value < 0 ? s.negativeColor : s.positiveColor , w = h.light(y, 200); A.x -= .1 * A.width, A.width += .2 * A.width; var b = r.StiBrushSvgHelper.writeGradientBrush(e, new j(y,w,S), A); e.writeStartElement("rect"), Ot.writeCoordinates(e, u), e.writeAttributeString("fill", i.format("url(#{0})", b)), e.writeEndElement() } } else { var v = s.value < 0 ? s.negativeColor : s.positiveColor; e.writeStartElement("rect"), Ot.writeCoordinates(e, u), e.writeAttributeString("fill", i.format("#{0:X2}{1:X2}{2:X2}", v.r, v.g, v.b)), e.writeEndElement() } if (s.showBorder) { var v = s.value < 0 ? s.negativeBorderColor : s.positiveBorderColor; e.writeStartElement("rect"), Ot.writeCoordinates(e, u), e.writeAttributeString("fill", "none"), e.writeAttributeString("stroke", i.format("#{0:X2}{1:X2}{2:X2}", v.r, v.g, v.b)), e.writeAttributeString("stroke-width", "1"), e.writeEndElement() } } } , Ot.saveComponentToString = function(i, n, a, s, l) { void 0 === n && (n = e.ImageFormat.Jpeg), void 0 === a && (a = .75), void 0 === s && (s = 100), void 0 === l && (l = !0); var u = new v(k.UTF8) , c = -1; u.indentation = c < 0 ? 0 : c, u.formatting = c < 0 ? y.None : y.Indented; var m = b.getImageCodec("image/jpeg"); s /= 100; var p = i.report , h = r.StiMatrix.htmlScaleX , d = r.StiMatrix.htmlScaleY; l && (h = 1, d = 1); var g = h * p.unit.convertToHInches(i.left) , f = d * p.unit.convertToHInches(i.top) , S = h * p.unit.convertToHInches(i.right) , A = d * p.unit.convertToHInches(i.bottom) , w = new r.StiSvgData; w.x = 0, w.y = 0, w.width = Math.floor(S - g), w.height = Math.floor(A - f), w.component = i; var C = i.isExportAsImage(e.StiExportFormat.ImageSvg) , E = Ot.checkShape(i) , B = 1 , T = i.stimulsoft.as(N); if (null != T && !C && null != T.text && T.text.trim().length > 0 && (u.writeStartElement("defs"), u.writeStartElement("clipPath"), u.writeStartElement("rect"), Ot.writeCoordinates(u, w), u.writeEndElement(), u.writeEndElement(), u.writeEndElement()), !E && !C && !i.stimulsoft.is(Ft)) { var I = { ref: B }; Ot.writeBorder1(u, w, I), B = I.ref } return i.stimulsoft.is(N) && !C && (Ot.writeIndicator(u, w), i.stimulsoft.is(Ft) || Ot.writeText(u, w, c, !0)), E ? Ot.writeShape(u, w) : i.stimulsoft.is(Tt) ? Ot.writeBarCode(u, w) : i.stimulsoft.is(t.Report.Chart.IStiChart) ? r.StiChartSvgHelper.writeChart(u, w, 1, !1) : i.stimulsoft.is(t.Report.Components.Gauge.IStiGauge) ? r.StiGaugeSvgHelper.writeGauge(u, w) : i.stimulsoft.is(t.Report.Maps.StiMap) && i.mapMode == o.Choropleth ? r.StiMapSvgHelper.drawMap(u, i, w.x, w.y, w.width, w.height, !1) : i.stimulsoft.is(Et) ? l ? Ot.writeCheckBox(u, w, !0) : Ot.writeCheckBox(u, w, i.checkedValue) : i.stimulsoft.is(Ft) ? Ot.writeTextInCells(u, w) : C && Ot.writeImage(u, w, s, n, a, m), u.flush(), u.textWriter.getStringBuilder().toString() } , Ot.saveToString = function(t, r, i, n, o, a, s, l) { return void 0 === n && (n = !0), void 0 === o && (o = { ref: 0 }), void 0 === a && (a = e.ImageFormat.Png), void 0 === s && (s = .75), void 0 === l && (l = 100), Ot.writeDocument(t, r, n, a, s, l).getStringBuilder().toString() } , Ot.writeCheckBox = function(t, e, r) { var n = e.component.stimulsoft.as(Et); if (null == n || null == r) return; var o = xt.writeFillBrush(t, n.textBrush, new I(e.x,e.y,e.width,e.height)); t.writeStartElement("g"); var a = 200 , s = 1 / (a / Math.min(e.width, e.height)) , l = 0 , u = 0; e.width > e.height ? l = Math.abs(e.width / 2 - a * s / 2) : e.width < e.height && (u = Math.abs(e.height / 2 - a * s / 2)), t.writeAttributeString("transform", i.format("translate({0},{1})", (e.x + l).toString().stimulsoft.replaceAll(",", "."), (e.y + u).toString().stimulsoft.replaceAll(",", "."))), t.writeStartElement("path"), t.writeAttributeString("d", this.getCheckBoxData(n, r)), t.writeAttributeString("stroke", i.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", i.format("scale({0})", s)), t.writeAttributeString("style", o), t.writeEndElement(), t.writeEndElement() } , Ot.getCheckBoxData = function(t, e) { var r = t.checkStyle , i = !1 , n = e.toString().trim().toLowerCase() , o = t.values.split("/"); 1 == o.length && (o = t.values.split(";")), 1 == o.length && (o = t.values.split(",")), i = n == o[0].trim().toLowerCase(), r = i ? t.checkStyleForTrue : t.checkStyleForFalse; var a = null; switch (r) { case Bt.Cross: a = "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 Bt.Check: a = "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 Bt.CrossRectangle: a = "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 Bt.CheckRectangle: a = "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 Bt.CrossCircle: a = "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 Bt.DotCircle: a = "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 Bt.DotRectangle: a = "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 Bt.NoneCircle: a = "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 Bt.NoneRectangle: a = "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 a } , Ot.writeTextInCells = function(t, n) { var o = n.component.stimulsoft.as(Ft) , a = o.border.size / 2 * o.page.zoom , l = o.getTextForPaint() , u = o.page.unit , c = u.convertToHInches(o.horSpacing * o.page.zoom) , m = u.convertToHInches(o.vertSpacing * o.page.zoom) , p = u.convertToHInches(o.cellWidth * o.page.zoom) , h = u.convertToHInches(o.cellHeight * o.page.zoom); 0 == o.cellWidth && (p = 2.4 * o.font.getHeight() * o.page.zoom * e.StiDpiHelper.deviceCapsScale), 0 == o.cellHeight && (h = 2.4 * o.font.getHeight() * o.page.zoom * e.StiDpiHelper.deviceCapsScale); var d = o.font.size * o.page.zoom * e.StiDpiHelper.deviceCapsScale , g = new Dt , f = Rt.changeFontSize(o.font, d); if (o.continuousText) { var S = n.x + a , A = n.y + a , y = !0 , w = 0; while (1 == 1) { var b = new Mt(S,A,p,h); if (b.right + c < n.right || y) { var v = new O; v.append(xt.writeFillBrush(t, o.brush, b)), t.writeStartElement("rect"), t.writeAttributeString("x", Ot.toUnits(b.x)), t.writeAttributeString("y", Ot.toUnits(b.y)), t.writeAttributeString("width", Ot.toUnits(b.width)), t.writeAttributeString("height", Ot.toUnits(b.height)), t.writeAttributeString("style", v.toString()), t.writeAttributeString("shape-rendering", "crispEdges"), t.writeEndElement(), null != l && w < l.length && (t.writeStartElement("text"), t.writeAttributeString("x", this.toUnits(b.x + b.width / 2 - f.getHeight() / 2)), t.writeAttributeString("y", this.toUnits(b.y + b.height / 2 + f.getHeight() / 2)), t.writeAttributeString("style", this.getStyleString(f, F.toColor(o.textBrush))), t.writeString(l[w]), t.writeEndElement()); var C = new r.StiSvgData; C.component = o, C.x = b.x, C.y = b.y, C.width = b.width, C.height = b.height, Ot.writeBorder2(t, C), S += p + c, w++, y = !1 } else if (A += h + m, S = n.x + a, y = !0, !o.wordWrap || n.bottom < A + h + m) break } } else { var E = new Pt(1,1) , S = n.x + a + p; while (S + c + p < n.right) S += c + p, E.width++; var A = n.y + a + h; while (A + m + h < n.bottom) A += m + h, E.height++; o.wordWrap || (E.height = 1); var B = new s , T = ""; null == l && (l = ""); for (var I = 0; I < l.length; I++) { var x = l[I]; Nt.isControl(x) ? "\n" != x && "\r" != x || (B.add(kt.trimEndWhiteSpace(T)), T = "") : T += x } if ("" != T && B.add(kt.trimEndWhiteSpace(T)), 0 == B.length && B.add(T), o.wordWrap) for (var D = 0; D < B.length; D++) { var R = B[D]; if (R.length > E.width) { var P = [] , N = 0 , k = 0; while (k < R.length && Nt.isWhitespace(R[k])) P[k] = N, k++; for (var M = k; M < R.length; M++) Nt.isWhitespace(R[M]) && N++, P[M] = N; var w = E.width , _ = w - 1; if (P[w] > 0) if (P[w] != P[_]) while (Nt.isWhitespace(R[w])) w++; else { while (!Nt.isWhitespace(R[w])) w--; _ = w++; while (Nt.isWhitespace(R[_])) _-- } B.setByIndex(D, R.substring(0, _ + 1)), B.insert(D + 1, R.substring(w, R.length - w)) } } A = n.y + a; for (var L = 0; L < E.height; L++) { var j = L < B.length ? B[L] : "" , H = 0; o.horAlignment == G.Center && (H = (E.width - j.length) / 2), o.horAlignment == G.Right && (H = E.width - j.length), H > 0 && (j = i.repeat(" ", H) + j), S = n.x + a; for (var Q = 0; Q < E.width; Q++) { var b = new Mt(S,A,p,h) , v = new O; v.append(xt.writeFillBrush(t, o.brush, b)), t.writeStartElement("rect"), t.writeAttributeString("x", Ot.toUnits(b.x)), t.writeAttributeString("y", Ot.toUnits(b.y)), t.writeAttributeString("width", Ot.toUnits(b.width)), t.writeAttributeString("height", Ot.toUnits(b.height)), t.writeAttributeString("style", v.toString()), t.writeAttributeString("shape-rendering", "crispEdges"), t.writeEndElement(); var Y = o.rightToLeft ? E.width - Q - 1 : Q; Y < j.length && (t.writeStartElement("text"), t.writeAttributeString("x", this.toUnits(b.x + b.width / 2 - f.getHeight() / 2)), t.writeAttributeString("y", this.toUnits(b.y + b.height / 2 + f.getHeight() / 2)), t.writeAttributeString("style", this.getStyleString(f, F.toColor(o.textBrush))), t.writeString(j[Y]), t.writeEndElement()); var C = new r.StiSvgData; C.component = o, C.x = b.x, C.y = b.y, C.width = b.width, C.height = b.height, Ot.writeBorder2(t, C), S += p + c } A += h + m } } } , Ot.correctFontSize = 1.35, Ot.pdfCKT = .56, Ot }(); r.StiSvgHelper = Ot }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.getBase64Content = function() { return "YW5pbWF0ZVN0aSA9IGZ1bmN0aW9uIChjaGFydElkKSB7CiAgICB2YXIgcmVxdWVzdEFuaW1hdGlvbkZyYW1lID0gd2luZG93LnJlcXVlc3RBbmltYXRpb25GcmFtZSB8fCB3aW5kb3cubW96UmVxdWVzdEFuaW1hdGlvbkZyYW1lIHx8CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93LndlYmtpdFJlcXVlc3RBbmltYXRpb25GcmFtZSB8fCB3aW5kb3cubXNSZXF1ZXN0QW5pbWF0aW9uRnJhbWU7CiAgICB3aW5kb3cucmVxdWVzdEFuaW1hdGlvbkZyYW1lID0gcmVxdWVzdEFuaW1hdGlvbkZyYW1lOwogICAgdmFyIGFuaW1hdGlvbnMgPSBbXTsKICAgIHZhciBjaGFydF8gPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZChjaGFydElkKTsKICAgIHZhciBpc01hcCA9IGNoYXJ0XyA/IGNoYXJ0Xy5pc01hcCA6IGZhbHNlOwogICAgdmFyIGNyZWF0ZVRvb2x0aXAgPSBmdW5jdGlvbiAoKSB7CiAgICAgICAgdmFyIHRhYmxlID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGFibGUiKTsKICAgICAgICB0YWJsZS5zdHlsZS5wb3NpdGlvbiA9ICJhYnNvbHV0ZSI7CiAgICAgICAgdGFibGUuc3R5bGUub3BhY2l0eSA9ICIwIjsKICAgICAgICB0YWJsZS5zdHlsZS5iYWNrZ3JvdW5kID0gIndoaXRlIjsKICAgICAgICB0YWJsZS5zdHlsZS5wYWRkaW5nID0gIjVweCI7CiAgICAgICAgdGFibGUuc3R5bGUuYm9yZGVyID0gIjFweCBzb2xpZCAjYmViZWJlIjsKICAgICAgICB0YWJsZS5zdHlsZS5mb250RmFtaWx5ID0gIkFyaWFsIjsKICAgICAgICB0YWJsZS5zdHlsZS5mb250U2l6ZSA9ICIxMnB4IjsKICAgICAgICB0YWJsZS5zdHlsZS5jb2xvciA9ICIjMTExMTExIjsKICAgICAgICB0YWJsZS5zdHlsZS56SW5kZXggPSAiMjAwMDAiOwogICAgICAgIHRhYmxlLnN0eWxlLnBvaW50ZXJFdmVudHMgPSAibm9uZSI7CiAgICAgICAgZG9jdW1lbnQuYm9keS5hcHBlbmRDaGlsZCh0YWJsZSk7CiAgICAgICAgZG9jdW1lbnQuX3N0aVRvb2x0aXAgPSB0YWJsZTsKICAgICAgICB2YXIgdHIgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJ0ciIpOwogICAgICAgIHRhYmxlLmFwcGVuZENoaWxkKHRyKTsKICAgICAgICB2YXIgdGQgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJ0ZCIpOwogICAgICAgIHRkLnN0eWxlLnZlcnRpY2FsQWxpZ24gPSAidG9wIjsKICAgICAgICB0ZC5yb3dTcGFuID0gMjsKICAgICAgICB0YWJsZS5fcm91bmQgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdkaXYnKTsKICAgICAgICB0YWJsZS5fcm91bmQuc3R5bGUud2lkdGggPSAiMjBweCI7CiAgICAgICAgdGFibGUuX3JvdW5kLnN0eWxlLmhlaWdodCA9ICIyMHB4IjsKICAgICAgICB0YWJsZS5fcm91bmQuc3R5bGUuYm9yZGVyUmFkaXVzID0gIjIwcHgiOwogICAgICAgIHRkLmFwcGVuZENoaWxkKHRhYmxlLl9yb3VuZCk7CiAgICAgICAgdHIuYXBwZW5kQ2hpbGQodGQpOwogICAgICAgIHRhYmxlLl90ZXh0MSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRkIik7CiAgICAgICAgdGFibGUuX3RleHQxLnN0eWxlLnBhZGRpbmdUb3AgPSAiM3B4IjsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDEpOwogICAgICAgIHRyID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidHIiKTsKICAgICAgICB0YWJsZS5hcHBlbmRDaGlsZCh0cik7CiAgICAgICAgdGFibGUuX3RleHQyID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGQiKTsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDIpOwoKICAgICAgICB0ciA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRyIik7CiAgICAgICAgdHIuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICB0YWJsZS5hcHBlbmRDaGlsZCh0cik7CiAgICAgICAgdGFibGUuX3RleHQzID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGQiKTsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDMpOwoKICAgICAgICB0ciA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRyIik7CiAgICAgICAgdHIuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICB0YWJsZS5hcHBlbmRDaGlsZCh0cik7CiAgICAgICAgdGFibGUuX3RleHQ0ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGQiKTsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDQpOwoKICAgICAgICB0ciA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRyIik7CiAgICAgICAgdHIuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICB0YWJsZS5hcHBlbmRDaGlsZCh0cik7CiAgICAgICAgdGFibGUuX3RleHQ1ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGQiKTsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDUpOwogICAgICAgIHNldEludGVydmFsKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgdmFyIHQgPSBkb2N1bWVudC5fc3RpVG9vbHRpcDsKICAgICAgICAgICAgdmFyIG9wID0gcGFyc2VGbG9hdCh0LnN0eWxlLm9wYWNpdHkpOwogICAgICAgICAgICBpZiAoKHQuY3ggPiAwICYmIG9wIDwgMSkgfHwgKHQuY3ggPCAwICYmIG9wID4gMCkpIHsKICAgICAgICAgICAgICAgIG9wICs9IHQuY3g7CiAgICAgICAgICAgICAgICBvcCA9IE1hdGgubWluKDEsIE1hdGgubWF4KDAsIG9wKSk7CiAgICAgICAgICAgICAgICB0LnN0eWxlLm9wYWNpdHkgPSBvcDsKICAgICAgICAgICAgfQogICAgICAgIH0sIDUwKTsKICAgIH0KCiAgICB2YXIgY3JlYXRlQ2hhcnRUb29sdGlwID0gZnVuY3Rpb24gKCkgewogICAgICAgIHZhciB0YWJsZSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRhYmxlIik7CiAgICAgICAgdGFibGUuc3R5bGUucG9zaXRpb24gPSAiYWJzb2x1dGUiOwogICAgICAgIHRhYmxlLnN0eWxlLm9wYWNpdHkgPSAiMCI7CiAgICAgICAgdGFibGUuc3R5bGUuYmFja2dyb3VuZCA9ICJ3aGl0ZSI7CiAgICAgICAgdGFibGUuc3R5bGUucGFkZGluZyA9ICI1cHgiOwogICAgICAgIHRhYmxlLnN0eWxlLmJvcmRlciA9ICIxcHggc29saWQgI2JlYmViZSI7CiAgICAgICAgdGFibGUuc3R5bGUuZm9udEZhbWlseSA9ICJBcmlhbCI7CiAgICAgICAgdGFibGUuc3R5bGUuZm9udFNpemUgPSAiMTJweCI7CiAgICAgICAgdGFibGUuc3R5bGUuY29sb3IgPSAiIzExMTExMSI7CiAgICAgICAgdGFibGUuc3R5bGUuekluZGV4ID0gIjIwMDAwIjsKICAgICAgICB0YWJsZS5zdHlsZS5wb2ludGVyRXZlbnRzID0gIm5vbmUiOwogICAgICAgIGRvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQodGFibGUpOwogICAgICAgIGRvY3VtZW50Ll9zdGlDaGFydFRvb2x0aXAgPSB0YWJsZTsKICAgICAgICB2YXIgdHIgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJ0ciIpOwogICAgICAgIHRhYmxlLmFwcGVuZENoaWxkKHRyKTsKICAgICAgICB2YXIgdGQgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJ0ZCIpOwogICAgICAgIHRkLnN0eWxlLnZlcnRpY2FsQWxpZ24gPSAiY2VudGVyIjsKICAgICAgICB0ZC5zdHlsZS53aWR0aCA9ICIyMHB4IjsKICAgICAgICB0YWJsZS5fcm91bmQgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdkaXYnKTsKICAgICAgICB0YWJsZS5fcm91bmQuc3R5bGUud2lkdGggPSAiMTBweCI7CiAgICAgICAgdGFibGUuX3JvdW5kLnN0eWxlLmhlaWdodCA9ICIxMHB4IjsKICAgICAgICB0ZC5hcHBlbmRDaGlsZCh0YWJsZS5fcm91bmQpOwogICAgICAgIHRyLmFwcGVuZENoaWxkKHRkKTsKICAgICAgICB0YWJsZS5fdGV4dDEgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJ0ZCIpOwogICAgICAgIHRyLmFwcGVuZENoaWxkKHRhYmxlLl90ZXh0MSk7CiAgICAgICAgdHIgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJ0ciIpOwogICAgICAgIHRhYmxlLmFwcGVuZENoaWxkKHRyKTsKICAgICAgICB0YWJsZS5fdGV4dDIgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJ0ZCIpOwogICAgICAgIHRhYmxlLl90ZXh0Mi5jb2xTcGFuID0gMjsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDIpOwoKICAgICAgICB0ciA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRyIik7CiAgICAgICAgdHIuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICB0YWJsZS5hcHBlbmRDaGlsZCh0cik7CiAgICAgICAgdGFibGUuX3RleHQzID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGQiKTsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDMpOwoKICAgICAgICB0ciA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRyIik7CiAgICAgICAgdHIuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICB0YWJsZS5hcHBlbmRDaGlsZCh0cik7CiAgICAgICAgdGFibGUuX3RleHQ0ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGQiKTsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDQpOwoKICAgICAgICB0ciA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRyIik7CiAgICAgICAgdHIuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICB0YWJsZS5hcHBlbmRDaGlsZCh0cik7CiAgICAgICAgdGFibGUuX3RleHQ1ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGQiKTsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDUpOwoKICAgICAgICB0YWJsZS5lbGVtZW50cyA9IG5ldyBPYmplY3QoKTsKICAgICAgICBzZXRJbnRlcnZhbChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHZhciB0ID0gZG9jdW1lbnQuX3N0aUNoYXJ0VG9vbHRpcDsKICAgICAgICAgICAgdmFyIG9wID0gcGFyc2VGbG9hdCh0LnN0eWxlLm9wYWNpdHkpOwogICAgICAgICAgICBpZiAoKHQuY3ggPiAwICYmIG9wIDwgMSkgfHwgKHQuY3ggPCAwICYmIG9wID4gMCkpIHsKICAgICAgICAgICAgICAgIG9wICs9IHQuY3g7CiAgICAgICAgICAgICAgICBvcCA9IE1hdGgubWluKDEsIE1hdGgubWF4KDAsIG9wKSk7CiAgICAgICAgICAgICAgICB0LnN0eWxlLm9wYWNpdHkgPSBvcDsKICAgICAgICAgICAgfQogICAgICAgIH0sIDUwKTsKICAgIH0KCiAgICB2YXIgbGlnaHRlbkRhcmtlbkNvbG9yID0gZnVuY3Rpb24gKGNvbCwgYW10KSB7CiAgICAgICAgdmFyIHVzZVBvdW5kID0gZmFsc2U7CiAgICAgICAgaWYgKGNvbFswXSA9PSAiIyIpIHsKICAgICAgICAgICAgY29sID0gY29sLnNsaWNlKDEpOwogICAgICAgICAgICB1c2VQb3VuZCA9IHRydWU7CiAgICAgICAgfQogICAgICAgIHZhciBudW0gPSBwYXJzZUludChjb2wsIDE2KTsKICAgICAgICB2YXIgciA9IChudW0gPj4gMTYpICsgYW10OwogICAgICAgIGlmIChyID4gMjU1KSByID0gMjU1OwogICAgICAgIGVsc2UgaWYgKHIgPCAwKSByID0gMDsKICAgICAgICB2YXIgYiA9ICgobnVtID4+IDgpICYgMHgwMEZGKSArIGFtdDsKICAgICAgICBpZiAoYiA+IDI1NSkgYiA9IDI1NTsKICAgICAgICBlbHNlIGlmIChiIDwgMCkgYiA9IDA7CiAgICAgICAgdmFyIGcgPSAobnVtICYgMHgwMDAwRkYpICsgYW10OwogICAgICAgIGlmIChnID4gMjU1KSBnID0gMjU1OwogICAgICAgIGVsc2UgaWYgKGcgPCAwKSBnID0gMDsKICAgICAgICByZXR1cm4gKHVzZVBvdW5kID8gIiMiIDogIiIpICsgU3RyaW5nKCIwMDAwMDAiICsgKGcgfCAoYiA8PCA4KSB8IChyIDw8IDE2KSkudG9TdHJpbmcoMTYpKS5zbGljZSgtNik7CiAgICB9CgoKICAgIHZhciBhZGRUb29sdGlwID0gZnVuY3Rpb24gKGVsKSB7CiAgICAgICAgdmFyIHQgPSBkb2N1bWVudC5fc3RpVG9vbHRpcDsKCiAgICAgICAgZWwub25tb3VzZW92ZXIgPSBmdW5jdGlvbiAoZXZlbnQpIHsKICAgICAgICAgICAgaWYgKGV2ZW50LnRhcmdldC5nZXRBdHRyaWJ1dGUoIm5vdFNob3dUb29sdGlwIikgPT0gInRydWUiIHx8ICFldmVudC50YXJnZXQuZ2V0QXR0cmlidXRlKCJfdGV4dDEiKSkKICAgICAgICAgICAgICAgIHJldHVybjsKCiAgICAgICAgICAgIHZhciBpc0N1c3RvbVRvb2x0aXAgPSBldmVudC50YXJnZXQuZ2V0QXR0cmlidXRlKCJpc0N1c3RvbVRvb2x0aXAiKSA9PSAidHJ1ZSI7CgogICAgICAgICAgICB0LmN4ID0gMC4xOwogICAgICAgICAgICBpZiAodC5fdGV4dDEpIHQuX3RleHQxLmlubmVySFRNTCA9IGV2ZW50LnRhcmdldC5nZXRBdHRyaWJ1dGUoIl90ZXh0MSIpOwogICAgICAgICAgICBpZiAodC5fdGV4dDIpIHsKICAgICAgICAgICAgICAgIHQuX3RleHQyLmlubmVySFRNTCA9ICFpc0N1c3RvbVRvb2x0aXAgPyBldmVudC50YXJnZXQuZ2V0QXR0cmlidXRlKCJfdGV4dDIiKSA6ICIiOwogICAgICAgICAgICAgICAgdC5fdGV4dDIucGFyZW50RWxlbWVudC5zdHlsZS5kaXNwbGF5ID0gaXNDdXN0b21Ub29sdGlwID8gIm5vbmUiIDogIiI7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHQuX3JvdW5kKSB0Ll9yb3VuZC5wYXJlbnRFbGVtZW50LnN0eWxlLmRpc3BsYXkgPSBpc0N1c3RvbVRvb2x0aXAgPyAibm9uZSIgOiAiIjsKCiAgICAgICAgICAgIGlmICghaXNDdXN0b21Ub29sdGlwKSB7CiAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gMzsgaSA8IDY7IGkrKykgewogICAgICAgICAgICAgICAgICAgIHZhciBhdCA9ICJfdGV4dCIgKyBpOwogICAgICAgICAgICAgICAgICAgIHZhciB0ZXh0ID0gZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZShhdCk7CiAgICAgICAgICAgICAgICAgICAgaWYgKHRleHQgJiYgdGV4dC5sZW5ndGggPiAwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICIiOwogICAgICAgICAgICAgICAgICAgICAgICB0W2F0XS5pbm5lckhUTUwgPSB0ZXh0OwogICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB0Ll9yb3VuZC5zdHlsZS5iYWNrZ3JvdW5kID0gZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiX2NvbG9yIik7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgCiAgICAgICAgICAgIGV2ZW50LnRhcmdldC5zdHlsZS5maWxsID0gbGlnaHRlbkRhcmtlbkNvbG9yKGV2ZW50LnRhcmdldC5nZXRBdHRyaWJ1dGUoIl9jb2xvciIpLCAtMzUpOwogICAgICAgICAgICB2YXIgY3ggPSBNYXRoLm1heChldmVudC5wYWdlWCArIDEgKyB0Lm9mZnNldFdpZHRoIC0gd2luZG93Lm91dGVyV2lkdGggKyAxMCwgMCk7CiAgICAgICAgICAgIHZhciBjeSA9IE1hdGgubWF4KGV2ZW50LnBhZ2VZICsgMSArIHQub2Zmc2V0SGVpZ2h0IC0gd2luZG93Lm91dGVySGVpZ2h0ICsgMTAsIDApOwogICAgICAgICAgICBjeCA9IE1hdGgubWF4KGN4LCBldmVudC5wYWdlWCArIDEgKyB0Lm9mZnNldFdpZHRoIC0gZG9jdW1lbnQuYm9keS5vZmZzZXRXaWR0aCk7CiAgICAgICAgICAgIGN5ID0gTWF0aC5tYXgoY3ksIGV2ZW50LnBhZ2VZICsgMSArIHQub2Zmc2V0SGVpZ2h0IC0gTWF0aC5tYXgoZG9jdW1lbnQuYm9keS5vZmZzZXRIZWlnaHQsIGRvY3VtZW50LmJvZHkuY2xpZW50SGVpZ2h0KSk7CiAgICAgICAgICAgIHQuc3R5bGUubGVmdCA9IChldmVudC5wYWdlWCArIDEgLSBjeCkgKyAicHgiOwogICAgICAgICAgICB0LnN0eWxlLnRvcCA9IChldmVudC5wYWdlWSArIDEgLSBjeSkgKyAicHgiOwogICAgICAgIH0KCiAgICAgICAgZWwub25tb3VzZW91dCA9IGZ1bmN0aW9uIChldmVudCkgewogICAgICAgICAgICB0LmN4ID0gLTAuMjsKICAgICAgICAgICAgZXZlbnQudGFyZ2V0LnN0eWxlLmZpbGwgPSBldmVudC50YXJnZXQuZ2V0QXR0cmlidXRlKCJfY29sb3IiKTsKICAgICAgICB9CiAgICB9CgogICAgdmFyIGdldENvbG9yID0gZnVuY3Rpb24gKGNvbG9yU3R5bGUpIHsKICAgICAgICBpZiAoY29sb3JTdHlsZS5pbmRleE9mKCJyZ2IiKSA9PSAwKSB7CiAgICAgICAgICAgIHZhciBjb2xvcnMgPSBjb2xvclN0eWxlLnJlcGxhY2UoInJnYigiLCAiIikucmVwbGFjZSgiKSIsICIiKS5zcGxpdCgiLCIpOwogICAgICAgICAgICB2YXIgciA9IHBhcnNlSW50KGNvbG9yc1swXSk7CiAgICAgICAgICAgIHZhciBnID0gcGFyc2VJbnQoY29sb3JzWzFdKTsKICAgICAgICAgICAgdmFyIGIgPSBwYXJzZUludChjb2xvcnNbMl0pOwogICAgICAgICAgICByZXR1cm4gIiMiICsgKCgxIDw8IDI0KSArIChyIDw8IDE2KSArIChnIDw8IDgpICsgYikudG9TdHJpbmcoMTYpLnNsaWNlKDEpOwogICAgICAgIH0gICAKICAgICAgICByZXR1cm4gY29sb3JTdHlsZTsKICAgIH0KCiAgICB2YXIgY3JlYXRlU2VsZWN0aW9uSGF0Y2ggPSBmdW5jdGlvbiAoZWxlbWVudCwgY29sb3IpIHsKICAgICAgICB2YXIgaWQgPSAiaGF0Y2giICsgTWF0aC5yb3VuZChNYXRoLnJhbmRvbSgpICogMTAwMDAwMDAwKS50b1N0cmluZygpOwogICAgICAgIHZhciBwYXR0ZXJuID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudE5TKCJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIsICJwYXR0ZXJuIik7CiAgICAgICAgcGF0dGVybi5zZXRBdHRyaWJ1dGUoImlkIiwgaWQpOwogICAgICAgIHBhdHRlcm4uc2V0QXR0cmlidXRlKCJ4IiwgMCk7CiAgICAgICAgcGF0dGVybi5zZXRBdHRyaWJ1dGUoInkiLCAwKTsKICAgICAgICBwYXR0ZXJuLnNldEF0dHJpYnV0ZSgiaGVpZ2h0IiwgOCk7CiAgICAgICAgcGF0dGVybi5zZXRBdHRyaWJ1dGUoIndpZHRoIiwgOCk7CiAgICAgICAgcGF0dGVybi5zZXRBdHRyaWJ1dGUoInBhdHRlcm5Vbml0cyIsICJ1c2VyU3BhY2VPblVzZSIpOwogICAgICAgIGVsZW1lbnQucGFyZW50Tm9kZS5pbnNlcnRCZWZvcmUocGF0dGVybiwgZWxlbWVudC5wYXJlbnROb2RlLmZpcnN0Q2hpbGQpOwogICAgICAgIHZhciByZWN0ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudE5TKCJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIsICJyZWN0Iik7CiAgICAgICAgcGF0dGVybi5hcHBlbmRDaGlsZChyZWN0KTsKICAgICAgICByZWN0LnNldEF0dHJpYnV0ZSgieCIsIDApOwogICAgICAgIHJlY3Quc2V0QXR0cmlidXRlKCJ5IiwgMCk7CiAgICAgICAgcmVjdC5zZXRBdHRyaWJ1dGUoIndpZHRoIiwgOCk7CiAgICAgICAgcmVjdC5zZXRBdHRyaWJ1dGUoImhlaWdodCIsIDgpOwogICAgICAgIHJlY3Quc2V0QXR0cmlidXRlKCJmaWxsIiwgY29sb3IpOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgODsgaSsrKSB7CiAgICAgICAgICAgIHJlY3QgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50TlMoImh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiwgInJlY3QiKTsKICAgICAgICAgICAgcGF0dGVybi5hcHBlbmRDaGlsZChyZWN0KTsKICAgICAgICAgICAgcmVjdC5zZXRBdHRyaWJ1dGUoIngiLCA3IC0gaSk7CiAgICAgICAgICAgIHJlY3Quc2V0QXR0cmlidXRlKCJ5IiwgaSk7CiAgICAgICAgICAgIHJlY3Quc2V0QXR0cmlidXRlKCJ3aWR0aCIsIDEpOwogICAgICAgICAgICByZWN0LnNldEF0dHJpYnV0ZSgiaGVpZ2h0IiwgMSk7CiAgICAgICAgICAgIHJlY3Quc2V0QXR0cmlidXRlKCJmaWxsIiwgIiNGRkZGRkYiKTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIGlkOwogICAgfQoKICAgIHZhciBhZGRDaGFydFRvb2x0aXAgPSBmdW5jdGlvbiAoZWwsIGlkLCBzaG93VG9vbHRpcCkgeyAgICAgICAgCiAgICAgICAgdmFyIHQgPSBkb2N1bWVudC5fc3RpQ2hhcnRUb29sdGlwOwogICAgICAgIGlmICghdC5lbGVtZW50c1tpZF0pIHsKICAgICAgICAgICAgdC5lbGVtZW50c1tpZF0gPSB7fTsKICAgICAgICB9CiAgICAgICAgdmFyIGVsZW1lbnRJbmRleCA9IGVsLmdldEF0dHJpYnV0ZSgiZWxlbWVudGluZGV4Iik7CiAgICAgICAgaWYgKCF0LmVsZW1lbnRzW2lkXVtlbGVtZW50SW5kZXhdKSB7CiAgICAgICAgICAgIHQuZWxlbWVudHNbaWRdW2VsZW1lbnRJbmRleF0gPSBbXTsKICAgICAgICB9CiAgICAgICAgdC5lbGVtZW50c1tpZF1bZWxlbWVudEluZGV4XS5wdXNoKGVsKTsKICAgICAgICBlbC5lbGVtZW50c0lkID0gaWQ7CgogICAgICAgIGVsLnNldEF0dHJpYnV0ZSgiX2NvbG9yIiwgZWwuc3R5bGUuZmlsbCk7CiAgICAgICAgZWwuc2hvd1Rvb2x0aXAgPSBzaG93VG9vbHRpcDsKCiAgICAgICAgZWwub25tb3VzZW92ZXIgPSBmdW5jdGlvbiAoZXZlbnQpIHsKICAgICAgICAgICAgaWYgKGV2ZW50LnRhcmdldC5zaG93VG9vbHRpcCkgewogICAgICAgICAgICAgICAgdC5jeCA9IDAuMTsKICAgICAgICAgICAgICAgIHQuc3R5bGUubGVmdCA9IGV2ZW50LnBhZ2VYICsgMSArICJweCI7CiAgICAgICAgICAgICAgICB0LnN0eWxlLnRvcCA9IGV2ZW50LnBhZ2VZICsgMSArICJweCI7CiAgICAgICAgICAgICAgICB2YXIgdG9vbHRpcCA9IEpTT04ucGFyc2UoZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiaW50ZXJhY3Rpb250b29sdGlwIikpOwogICAgICAgICAgICAgICAgdC5fdGV4dDEuaW5uZXJIVE1MID0gdG9vbHRpcC5TdGlWYWx1ZTsKICAgICAgICAgICAgICAgIHQuX3RleHQyLmlubmVySFRNTCA9IHRvb2x0aXAuU3RpQXJndW1lbnQ7CiAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gMzsgaSA8IDY7IGkrKykgewogICAgICAgICAgICAgICAgICAgIHZhciBhdCA9ICJfdGV4dCIgKyBpOwogICAgICAgICAgICAgICAgICAgIHZhciB0ZXh0ID0gZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZShhdCk7CiAgICAgICAgICAgICAgICAgICAgaWYgKHRleHQgJiYgdGV4dC5sZW5ndGggPiAwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICIiOwogICAgICAgICAgICAgICAgICAgICAgICB0W2F0XS5pbm5lckhUTUwgPSB0ZXh0OwogICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB0Ll9yb3VuZC5zdHlsZS5iYWNrZ3JvdW5kID0gdG9vbHRpcC5TdGlDb2xvcjsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgdmFyIGVsZW1lbnRzID0gdC5lbGVtZW50c1tldmVudC50YXJnZXQuZWxlbWVudHNJZF1bZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiZWxlbWVudGluZGV4IildOwogICAgICAgICAgICBmb3IgKHZhciBpIGluIGVsZW1lbnRzKSB7CiAgICAgICAgICAgICAgICBpZiAoZWxlbWVudHNbaV0uc2VsZWN0ZWQpIHsKICAgICAgICAgICAgICAgICAgICBlbGVtZW50c1tpXS5zdHlsZS5maWxsID0gInVybCgjIiArIGVsZW1lbnRzW2ldLnNlbGVjdE92ZXJIYXRjaElkICsgIikiOwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICBlbGVtZW50c1tpXS5zdHlsZS5maWxsID0gbGlnaHRlbkRhcmtlbkNvbG9yKGdldENvbG9yKGVsZW1lbnRzW2ldLnN0eWxlLmZpbGwpLCAzNSk7CiAgICAgICAgICAgICAgICB9ICAgICAgICAgICAgICAgIAogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGVsLm9ubW91c2VvdXQgPSBmdW5jdGlvbiAoZXZlbnQpIHsgICAgICAgICAgICAKICAgICAgICAgICAgaWYgKGV2ZW50LnRhcmdldC5zaG93VG9vbHRpcCkgewogICAgICAgICAgICAgICAgdC5jeCA9IC0wLjI7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgdmFyIGVsZW1lbnRzID0gdC5lbGVtZW50c1tldmVudC50YXJnZXQuZWxlbWVudHNJZF1bZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiZWxlbWVudGluZGV4IildOwogICAgICAgICAgICBmb3IgKHZhciBpIGluIGVsZW1lbnRzKSB7CiAgICAgICAgICAgICAgICBpZiAoZWxlbWVudHNbaV0uc2VsZWN0ZWQpIHsKICAgICAgICAgICAgICAgICAgICBlbGVtZW50c1tpXS5zdHlsZS5maWxsID0gInVybCgjIiArIGVsZW1lbnRzW2ldLnNlbGVjdEhhdGNoSWQgKyAiKSI7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIGVsZW1lbnRzW2ldLnN0eWxlLmZpbGwgPSBlbGVtZW50c1tpXS5nZXRBdHRyaWJ1dGUoIl9jb2xvciIpOwogICAgICAgICAgICAgICAgfSAgICAgICAgICAgICAgICAKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgaWYgKHNob3dUb29sdGlwKSB7CiAgICAgICAgICAgIGVsLm9ubW91c2Vkb3duID0gZnVuY3Rpb24gKGV2ZW50KSB7CiAgICAgICAgICAgICAgICB2YXIgZWxDb2xvciA9IGdldENvbG9yKGV2ZW50LnRhcmdldC5nZXRBdHRyaWJ1dGUoIl9jb2xvciIpKTsKICAgICAgICAgICAgICAgIGlmIChldmVudC50YXJnZXQuc2VsZWN0ZWQpIHsKICAgICAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc3R5bGUuZmlsbCA9IGxpZ2h0ZW5EYXJrZW5Db2xvcihlbENvbG9yLCAzNSk7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIGlmICghZXZlbnQudGFyZ2V0LnNlbGVjdEhhdGNoSWQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgZXZlbnQudGFyZ2V0LnNlbGVjdEhhdGNoSWQgPSBjcmVhdGVTZWxlY3Rpb25IYXRjaChldmVudC50YXJnZXQsIGVsQ29sb3IpOwogICAgICAgICAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc2VsZWN0T3ZlckhhdGNoSWQgPSBjcmVhdGVTZWxlY3Rpb25IYXRjaChldmVudC50YXJnZXQsIGxpZ2h0ZW5EYXJrZW5Db2xvcihlbENvbG9yLCAzNSkpOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc3R5bGUuZmlsbCA9ICJ1cmwoIyIgKyBldmVudC50YXJnZXQuc2VsZWN0T3ZlckhhdGNoSWQgKyAiKSI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc2VsZWN0ZWQgPSAhZXZlbnQudGFyZ2V0LnNlbGVjdGVkOwogICAgICAgICAgICB9CiAgICAgICAgfSAgICAgICAgCiAgICB9CgogICAgdmFyIGluc3BlY3QgPSBmdW5jdGlvbiAoZWxlbWVudCwgYW5pbWF0aW9ucykgewoKICAgICAgICBpZiAoIWVsZW1lbnQpIHJldHVybjsKICAgICAgICBpZiAoIWRvY3VtZW50Ll9zdGlDaGFydFRvb2x0aXApIHsKICAgICAgICAgICAgY3JlYXRlQ2hhcnRUb29sdGlwKCk7CiAgICAgICAgfQoKICAgICAgICBmb3IgKHZhciBpIGluIGVsZW1lbnQuY2hpbGROb2RlcykgewogICAgICAgICAgICB2YXIgZWwgPSBlbGVtZW50LmNoaWxkTm9kZXNbaV07CiAgICAgICAgICAgIGlmIChlbC5hdHRyaWJ1dGVzKSB7CiAgICAgICAgICAgICAgICBmb3IgKHZhciBqIGluIGVsLmF0dHJpYnV0ZXMpIHsKICAgICAgICAgICAgICAgICAgICBpZiAoZWwuYXR0cmlidXRlc1tqXSAmJiBlbC5hdHRyaWJ1dGVzW2pdLm5hbWUpIHsgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGVsLmF0dHJpYnV0ZXNbal0ubmFtZS5pbmRleE9mKCdfYW5pbWF0aW9uJykgPj0gMCkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFlbC5fYW5pbWF0aW9ucykgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsLl9hbmltYXRpb25zID0gW107CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWwuX2FuaW1hdGlvbnMucHVzaChKU09OLnBhcnNlKGVsLmdldEF0dHJpYnV0ZShlbC5hdHRyaWJ1dGVzW2pdLm5hbWUpKSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYW5pbWF0aW9ucy5wdXNoKGVsKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWwuX2FuaW1hdGlvbnMucHVzaChKU09OLnBhcnNlKGVsLmdldEF0dHJpYnV0ZShlbC5hdHRyaWJ1dGVzW2pdLm5hbWUpKSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChlbC5nZXRBdHRyaWJ1dGUoIl9pc21hcCIpKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWRvY3VtZW50Ll9zdGlUb29sdGlwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY3JlYXRlVG9vbHRpcCgpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkVG9vbHRpcChlbCk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgICAgIC8qaWYgKGVsLmF0dHJpYnV0ZXNbal0ubmFtZS5pbmRleE9mKCdpbnRlcmFjdGlvbnRvb2x0aXAnKSA+PSAwKSB7ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkQ2hhcnRUb29sdGlwKGVsLCBlbGVtZW50LmlkLCB0cnVlKTsKICAgICAgICAgICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGVsLmF0dHJpYnV0ZXNbal0ubmFtZS5pbmRleE9mKCdlbGVtZW50aW5kZXgnKSA+PSAwICYmIHBhcnNlSW50KGVsLmF0dHJpYnV0ZXNbal0udmFsdWUpID49IDAgJiYgIWVsLmVsZW1lbnRzSWQpIHsvL2xlZ2VuZAogICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkQ2hhcnRUb29sdGlwKGVsLCBlbGVtZW50LmlkLCBmYWxzZSk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0qLy8vL2VuYWJsZSBpbiBkYXNoYm9hcmRzCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIGluc3BlY3QoZWwsIGFuaW1hdGlvbnMpOwogICAgICAgIH0KICAgIH0KICAgIC8qdmFyIGNoYXJ0RGl2ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImNoYXJ0Iik7CiAgICB2YXIgdGVtcERpdiA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoImRpdiIpOwogICAgdGVtcERpdi5pbm5lckhUTUwgPSBkYXRhOwogICAgdmFyIGNoYXJ0ID0gdGVtcERpdi5maXJzdENoaWxkOwogICAgY2hhcnQuaWQgPSAiY2hhcnRTdmciOwogICAgaWYgKGNoYXJ0RGl2LmNoaWxkTm9kZXMubGVuZ3RoID4gMSkgewogICAgICAgIHZhciBkZXN0U3ZnID0gY2hhcnREaXYuY2hpbGROb2Rlc1sxXTsKICAgICAgICB2YXIgZGVsZXRlTm9kZXMgPSBbXTsKICAgICAgICBmb3IgKHZhciBpIGluIGRlc3RTdmcuY2hpbGROb2RlcykgewogICAgICAgICAgICBkZWxldGVOb2Rlcy5wdXNoKGRlc3RTdmcuY2hpbGROb2Rlc1tpXSk7CiAgICAgICAgfQogICAgICAgIGZvciAodmFyIGkgaW4gY2hhcnQuY2hpbGROb2RlcykgewogICAgICAgICAgICBpZiAoY2hhcnQuY2hpbGROb2Rlc1tpXS5ub2RlVHlwZSAhPSAzICYmIGNoYXJ0LmNoaWxkTm9kZXNbaV0ubm9kZVR5cGUpIHsKICAgICAgICAgICAgICAgIGRlc3RTdmcuYXBwZW5kQ2hpbGQoY2hhcnQuY2hpbGROb2Rlc1tpXSk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgZm9yICh2YXIgaSBpbiBkZWxldGVOb2RlcykgewogICAgICAgICAgICBpZiAoZGVsZXRlTm9kZXNbaV0ubm9kZVR5cGUgIT0gMyAmJiBkZWxldGVOb2Rlc1tpXS5ub2RlVHlwZSkgewogICAgICAgICAgICAgICAgZGVzdFN2Zy5yZW1vdmVDaGlsZChkZWxldGVOb2Rlc1tpXSk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9IGVsc2UgewogICAgICAgIGNoYXJ0RGl2LmFwcGVuZENoaWxkKGNoYXJ0KTsKICAgIH0KICAgIGFuaW1hdGVTdGkoImNoYXJ0U3ZnIik7Ki8vL1RPRE8gcmVwbGFjZSBjaGFydCBkYXRhCgogICAgaW5zcGVjdChjaGFydF8sIGFuaW1hdGlvbnMpOwogICAgdmFyIGVhc2VJbk91dFF1YWQgPSBmdW5jdGlvbiAodCkgeyByZXR1cm4gdCA8IC41ID8gMiAqIHQgKiB0IDogLTEgKyAoNCAtIDIgKiB0KSAqIHQgfTsKICAgIHZhciBzZXRTY2FsZSA9IGZ1bmN0aW9uIChlbGVtZW50LCBzY2FsZVgsIHNjYWxlWSwgaW52ZXJ0WCwgaW52ZXJ0WSkgewogICAgICAgIHZhciBjeCA9ICFpbnZlcnRYID8gZWxlbWVudC5iYm94LnggOiBlbGVtZW50LmJib3gueCArIGVsZW1lbnQuYmJveC53aWR0aDsKICAgICAgICB2YXIgY3kgPSAhaW52ZXJ0WSA/IGVsZW1lbnQuYmJveC55IDogZWxlbWVudC5iYm94LnkgKyBlbGVtZW50LmJib3guaGVpZ2h0OwogICAgICAgIHZhciBzYWNsZXN0ciA9IHNjYWxlWCArICcsJyArIHNjYWxlWTsKICAgICAgICB2YXIgdHggPSAtY3ggKiAoc2NhbGVYIC0gMSk7CiAgICAgICAgdmFyIHR5ID0gLWN5ICogKHNjYWxlWSAtIDEpOwogICAgICAgIHZhciB0cmFuc2xhdGVzdHIgPSB0eCArICcsJyArIHR5OwogICAgICAgIGVsZW1lbnQuc2V0QXR0cmlidXRlKCd0cmFuc2Zvcm0nLCAndHJhbnNsYXRlKCcgKyB0cmFuc2xhdGVzdHIgKyAnKSBzY2FsZSgnICsgc2FjbGVzdHIgKyAnKScpOwogICAgICAgIGVsZW1lbnQuc2V0QXR0cmlidXRlKCdvcGFjaXR5JywgJzEnKTsKICAgIH0KICAgIHZhciBleHRyYWN0UG9pbnRzID0gZnVuY3Rpb24gKHBvaW50c1N0cikgewogICAgICAgIHZhciBwb2ludHNBID0gcG9pbnRzU3RyLnNwbGl0KCIgIik7CiAgICAgICAgdmFyIHJlc3VsdCA9IFtdOwogICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgcG9pbnRzQS5sZW5ndGggLSAxOyBpKyspIHsKICAgICAgICAgICAgdmFyIHh5ID0gcG9pbnRzQVtpXS5zcGxpdCgiLCIpOwogICAgICAgICAgICByZXN1bHQucHVzaCh7IHg6IHBhcnNlRmxvYXQoeHlbMF0pLCB5OiBwYXJzZUZsb2F0KHh5WzFdKSB9KTsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHJlc3VsdDsKICAgIH0KCgogICAgdmFyIGNvbnZlcnRBcmNUb0N1YmljQmV6aWVyID0gZnVuY3Rpb24gKHJlY3QsIHN0YXJ0QW5nbGUxLCBzd2VlcEFuZ2xlMSkgewogICAgICAgIHZhciBjZW50ZXJYID0gcmVjdC54ICsgcmVjdC53aWR0aCAvIDI7CiAgICAgICAgdmFyIGNlbnRlclkgPSByZWN0LnkgKyByZWN0LmhlaWdodCAvIDI7CiAgICAgICAgdmFyIHJhZGl1cyA9IE1hdGgubWluKHJlY3Qud2lkdGggLyAyLCByZWN0LmhlaWdodCAvIDIpOwogICAgICAgIHZhciBzdGFydEFuZ2xlID0gc3RhcnRBbmdsZTEgKiBNYXRoLlBJIC8gMTgwOwogICAgICAgIHZhciBzd2VlcEFuZ2xlID0gc3dlZXBBbmdsZTEgKiBNYXRoLlBJIC8gMTgwOwogICAgICAgIHZhciBlbmRBbmdsZSA9IChzdGFydEFuZ2xlMSArIHN3ZWVwQW5nbGUxKSAqIE1hdGguUEkgLyAxODA7CgogICAgICAgIHZhciB4MSA9IGNlbnRlclggKyByYWRpdXMgKiBNYXRoLmNvcyhzdGFydEFuZ2xlKTsKICAgICAgICB2YXIgeTEgPSBjZW50ZXJZICsgcmFkaXVzICogTWF0aC5zaW4oc3RhcnRBbmdsZSk7CgogICAgICAgIHZhciB4MiA9IGNlbnRlclggKyByYWRpdXMgKiBNYXRoLmNvcyhlbmRBbmdsZSk7CiAgICAgICAgdmFyIHkyID0gY2VudGVyWSArIHJhZGl1cyAqIE1hdGguc2luKGVuZEFuZ2xlKTsKCiAgICAgICAgdmFyIGwgPSByYWRpdXMgKiA0IC8gMyAqIE1hdGgudGFuKDAuMjUgKiBzd2VlcEFuZ2xlKTsKICAgICAgICB2YXIgYUwgPSBNYXRoLmF0YW4obCAvIHJhZGl1cyk7CiAgICAgICAgdmFyIHJhZEwgPSByYWRpdXMgLyBNYXRoLmNvcyhhTCk7CgogICAgICAgIGFMICs9IHN0YXJ0QW5nbGU7CiAgICAgICAgdmFyIGF4MSA9IGNlbnRlclggKyByYWRMICogTWF0aC5jb3MoYUwpOwogICAgICAgIHZhciBheTEgPSBjZW50ZXJZICsgcmFkTCAqIE1hdGguc2luKGFMKTsKCiAgICAgICAgYUwgPSBNYXRoLmF0YW4oLWwgLyByYWRpdXMpOwogICAgICAgIGFMICs9IGVuZEFuZ2xlOwogICAgICAgIHZhciBheDIgPSBjZW50ZXJYICsgcmFkTCAqIE1hdGguY29zKGFMKTsKICAgICAgICB2YXIgYXkyID0gY2VudGVyWSArIHJhZEwgKiBNYXRoLnNpbihhTCk7CiAgICAgICAgcmV0dXJuIFt7IHg6IHgxLCB5OiB5MSB9LCB7IHg6IGF4MSwgeTogYXkxIH0sIHsgeDogYXgyLCB5OiBheTIgfSwgeyB4OiB4MiwgeTogeTIgfV07CiAgICB9CgogICAgdmFyIFJvdW5kID0gZnVuY3Rpb24gKHZhbHVlKSB7CiAgICAgICAgdmFyIHZhbHVlMSA9IHBhcnNlSW50KHZhbHVlKTsKICAgICAgICB2YXIgcmVzdCA9IHZhbHVlIC0gdmFsdWUxOwogICAgICAgIHJldHVybiAocmVzdCA+IDApID8gdmFsdWUxICsgMSA6IHZhbHVlMTsKICAgIH0KCiAgICB2YXIgYW5pbWF0ZVBpZSA9IGZ1bmN0aW9uIChkYXRhU3RyLCBwZXJjZW50KSB7CiAgICAgICAgdmFyIGRhdGEgPSBKU09OLnBhcnNlKGF0b2IoZGF0YVN0cikpOwogICAgICAgIHZhciByZXN1bHQgPSAiIjsKICAgICAgICB2YXIgY2VudGVyWCA9IGRhdGEueCArIGRhdGEuZHggKyBkYXRhLndpZHRoIC8gMjsKICAgICAgICB2YXIgY2VudGVyWSA9IGRhdGEueSArIGRhdGEuZHkgKyBkYXRhLmhlaWdodCAvIDI7CiAgICAgICAgdmFyIHJhZGl1cyA9IGRhdGEud2lkdGggLyAyOwogICAgICAgIHZhciBzdGFydEFuZ2xlRnJvbSA9IGRhdGEuc3RhcnRBbmdsZUZyb20gKyAoZGF0YS5zdGFydEFuZ2xlIC0gZGF0YS5zdGFydEFuZ2xlRnJvbSkgKiBwZXJjZW50OwogICAgICAgIHZhciBzd2VlcEFuZ2xlRnJvbSA9IGRhdGEuc3dlZXBBbmdsZUZyb20gKyAoZGF0YS5zd2VlcEFuZ2xlIC0gZGF0YS5zd2VlcEFuZ2xlRnJvbSkgKiBwZXJjZW50OwogICAgICAgIHZhciBzdGFydEFuZ2xlID0gc3RhcnRBbmdsZUZyb20gKiBNYXRoLlBJIC8gMTgwOwoKICAgICAgICB2YXIgeDEgPSBjZW50ZXJYICsgcmFkaXVzICogTWF0aC5jb3Moc3RhcnRBbmdsZSk7CiAgICAgICAgdmFyIHkxID0gY2VudGVyWSArIHJhZGl1cyAqIE1hdGguc2luKHN0YXJ0QW5nbGUpOwoKICAgICAgICByZXN1bHQgKz0gIk0iICsgY2VudGVyWCArICIsIiArIGNlbnRlclk7CiAgICAgICAgcmVzdWx0ICs9ICJMIiArIHgxICsgIiwiICsgeTE7CgogICAgICAgIHZhciBzdGVwID0gUm91bmQoTWF0aC5hYnMoc3dlZXBBbmdsZUZyb20gLyA5MCkpOwogICAgICAgIHZhciBzdGVwQW5nbGUgPSBzd2VlcEFuZ2xlRnJvbSAvIHN0ZXA7CiAgICAgICAgc3RhcnRBbmdsZSA9IHN0YXJ0QW5nbGVGcm9tOwoKICAgICAgICBmb3IgKHZhciBpbmRleFN0ZXAgPSAwOyBpbmRleFN0ZXAgPCBzdGVwOyBpbmRleFN0ZXArKykgewogICAgICAgICAgICB2YXIgcG9pbnRzID0gY29udmVydEFyY1RvQ3ViaWNCZXppZXIoZGF0YSwgc3RhcnRBbmdsZSwgc3RlcEFuZ2xlKTsKCiAgICAgICAgICAgIGZvciAodmFyIGluZGV4ID0gMTsgaW5kZXggPCBwb2ludHMubGVuZ3RoIC0gMTsgaW5kZXggKz0gMykgewogICAgICAgICAgICAgICAgaWYgKGluZGV4ID09IDEpCiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9ICJDIiArIChwb2ludHNbaW5kZXhdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXhdLnkgKyBkYXRhLmR5KSArICIsIiArCiAgICAgICAgICAgICAgICAgICAgICAgIChwb2ludHNbaW5kZXggKyAxXS54ICsgZGF0YS5keCkgKyAiLCIgKyAocG9pbnRzW2luZGV4ICsgMV0ueSArIGRhdGEuZHkpICsgIiwiICsKICAgICAgICAgICAgICAgICAgICAgICAgKHBvaW50c1tpbmRleCArIDJdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXggKyAyXS55ICsgZGF0YS5keSk7CiAgICAgICAgICAgICAgICBlbHNlCiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9ICIsIiArIChwb2ludHNbaW5kZXhdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXhdLnkgKyBkYXRhLmR5KSArICIsIiArCiAgICAgICAgICAgICAgICAgICAgICAgIChwb2ludHNbaW5kZXggKyAxXS54ICsgZGF0YS5keCkgKyAiLCIgKyAocG9pbnRzW2luZGV4ICsgMV0ueSArIGRhdGEuZHkpICsgIiwiICsKICAgICAgICAgICAgICAgICAgICAgICAgKHBvaW50c1tpbmRleCArIDJdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXggKyAyXS55ICsgZGF0YS5keSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgc3RhcnRBbmdsZSArPSBzdGVwQW5nbGU7CiAgICAgICAgfQogICAgICAgIHJlc3VsdCArPSAiTCIgKyBjZW50ZXJYICsgIiwiICsgY2VudGVyWTsKICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfQoKICAgIHZhciBhbmltYXRlUGF0aCA9IGZ1bmN0aW9uIChkYXRhLCBwZXJjZW50KSB7CiAgICAgICAgdmFyIHJlc3VsdCA9ICIiOwogICAgICAgIHdoaWxlIChkYXRhLmxlbmd0aCA+IDApIHsKICAgICAgICAgICAgcmVzdWx0ICs9IGRhdGFbMF07CiAgICAgICAgICAgIHZhciBlbmRJbmRleCA9IGRhdGEuc3Vic3RyaW5nKDEpLnNlYXJjaCgvW01MQ10vKSArIDE7CiAgICAgICAgICAgIHZhciBlbHMgPSBkYXRhLnN1YnN0cmluZygxLCBlbmRJbmRleCA+IDAgPyBlbmRJbmRleCA6IGRhdGEubGVuZ3RoKS5zcGxpdCgvWywgXS8pOwogICAgICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGVscy5sZW5ndGg7IGkrKykgewogICAgICAgICAgICAgICAgaWYgKGVsc1tpXSAhPSAiIikgewogICAgICAgICAgICAgICAgICAgIHZhciBzZSA9IGVsc1tpXS5zcGxpdCgiOiIpOwogICAgICAgICAgICAgICAgICAgIHJlc3VsdCArPSAocGFyc2VGbG9hdChzZVswXSkgKyAocGFyc2VGbG9hdChzZVsxXSkgLSBwYXJzZUZsb2F0KHNlWzBdKSkgKiBwZXJjZW50KTsKICAgICAgICAgICAgICAgICAgICBpZiAoaSAhPSBlbHMubGVuZ3RoIC0gMSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gIiwiOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgICBkYXRhID0gZW5kSW5kZXggPiAwID8gZGF0YS5zdWJzdHJpbmcoZW5kSW5kZXgpIDogIiI7CiAgICAgICAgfQogICAgICAgIHJldHVybiByZXN1bHQ7CiAgICB9CgoKICAgIHZhciBiZWdpbiA9IG5ldyBEYXRlKCkuZ2V0VGltZSgpOwogICAgdmFyIHN0ZXAgPSBmdW5jdGlvbiAodGltZXN0YW1wKSB7CiAgICAgICAgdmFyIGZpbmlzaGVkID0gdHJ1ZTsKICAgICAgICB2YXIgbm93ID0gbmV3IERhdGUoKS5nZXRUaW1lKCkgLSBiZWdpbjsKICAgICAgICBmb3IgKHZhciBpIGluIGFuaW1hdGlvbnMpIHsKICAgICAgICAgICAgdmFyIGFuID0gYW5pbWF0aW9uc1tpXTsKICAgICAgICAgICAgZm9yICh2YXIgayBpbiBhbi5fYW5pbWF0aW9ucykgewogICAgICAgICAgICAgICAgdmFyIGFuaW0gPSBhbi5fYW5pbWF0aW9uc1trXTsKICAgICAgICAgICAgICAgIGlmIChhbmltLmJlZ2luIDw9IG5vdyAmJiBhbmltLmJlZ2luICsgYW5pbS5kdXJhdGlvbiA+PSBub3cpIHsKICAgICAgICAgICAgICAgICAgICB2YXIgcGVyY2VudCA9IGVhc2VJbk91dFF1YWQoKG5vdyAtIGFuaW0uYmVnaW4pIC8gYW5pbS5kdXJhdGlvbik7CiAgICAgICAgICAgICAgICAgICAgZm9yICh2YXIgaiBpbiBhbmltLmFjdGlvbnMpIHsKICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGFjID0gYW5pbS5hY3Rpb25zW2pdOwogICAgICAgICAgICAgICAgICAgICAgICB2YXIgcHJlZml4ID0gYWMubGVuZ3RoID09IDUgPyBhY1s0XSA6ICIiOwogICAgICAgICAgICAgICAgICAgICAgICBpZiAoYWNbMF0gPT0gInNjYWxlQ2VudGVyIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uYmJveCA9IGFuLmdldEJCb3goKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNldFNjYWxlKGFuLCAoYWNbMV0gKyAoYWNbMl0gLSBhY1sxXSkgKiBwZXJjZW50KSwgKGFjWzNdICsgKGFjWzRdIC0gYWNbM10pICogcGVyY2VudCksIGFjWzVdLCBhY1s2XSk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoYWNbMF0gPT0gInBvaW50cyIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwb2ludHNGcm9tID0gZXh0cmFjdFBvaW50cyhhY1sxXSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgcG9pbnRzVG8gPSBleHRyYWN0UG9pbnRzKGFjWzJdKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwb2ludHMgPSAiIjsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAodmFyIGwgaW4gcG9pbnRzRnJvbSkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBvaW50cyArPSAocG9pbnRzRnJvbVtsXS54ICsgKHBvaW50c1RvW2xdLnggLSBwb2ludHNGcm9tW2xdLngpICogcGVyY2VudCkgKyAiLCIgKwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAocG9pbnRzRnJvbVtsXS55ICsgKHBvaW50c1RvW2xdLnkgLSBwb2ludHNGcm9tW2xdLnkpICogcGVyY2VudCkgKyAiICI7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi5zZXRBdHRyaWJ1dGUoYWNbMF0sIHBvaW50cyk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoYWNbMF0gPT0gInZhbHVlIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHZhbHVlID0gYWNbMV0gKyAoYWNbMl0gLSBhY1sxXSkgKiBwZXJjZW50OwogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWUgPSBNYXRoLnJvdW5kKHZhbHVlICogTWF0aC5wb3coMTAsIGFjWzNdKSkgLyBNYXRoLnBvdygxMCwgYWNbM10pOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4udGV4dENvbnRlbnQgPSB2YWx1ZTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAidHJhbnNsYXRlIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGZyb20gPSBhY1sxXS5zcGxpdCgiOiIpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHRvID0gYWNbMl0uc3BsaXQoIjoiKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuLnNldEF0dHJpYnV0ZSgidHJhbnNmb3JtIiwgInRyYW5zbGF0ZSgiICsgKHBhcnNlRmxvYXQoZnJvbVswXSkgKyAocGFyc2VGbG9hdCh0b1swXSkgLSBwYXJzZUZsb2F0KGZyb21bMF0pKSAqIHBlcmNlbnQpICsgIiAiICsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHBhcnNlRmxvYXQoZnJvbVsxXSkgKyAocGFyc2VGbG9hdCh0b1sxXSkgLSBwYXJzZUZsb2F0KGZyb21bMV0pKSAqIHBlcmNlbnQpICsgIikiICsgYWNbM10pOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFjWzBdID09ICJwYXRoIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKCJkIiwgYW5pbWF0ZVBhdGgoYWNbMV0sIHBlcmNlbnQpKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAicGllIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKCJkIiwgYW5pbWF0ZVBpZShhY1sxXSwgcGVyY2VudCkpOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKGFjWzBdLCBwcmVmaXggKyAoYWNbMV0gKyAoYWNbMl0gLSBhY1sxXSkgKiBwZXJjZW50KSArIGFjWzNdKTsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICBmaW5pc2hlZCA9IGZhbHNlOwogICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhbmltLmJlZ2luICsgYW5pbS5kdXJhdGlvbiA8IG5vdykgewogICAgICAgICAgICAgICAgICAgIGZvciAodmFyIGogaW4gYW5pbS5hY3Rpb25zKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHZhciBhYyA9IGFuaW0uYWN0aW9uc1tqXTsKICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHByZWZpeCA9IGFjLmxlbmd0aCA9PSA1ID8gYWNbNF0gOiAiIjsKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGFjWzBdID09ICJzY2FsZUNlbnRlciIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNldFNjYWxlKGFuLCBhY1syXSwgYWNbNF0sIGFjWzVdLCBhY1s2XSk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gaWYgKGFjWzBdID09ICJwb2ludHMiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgcG9pbnRzVG8gPSBleHRyYWN0UG9pbnRzKGFjWzJdKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwb2ludHMgPSAiIjsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAodmFyIGwgaW4gcG9pbnRzVG8pIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwb2ludHMgKz0gcG9pbnRzVG9bbF0ueCArICIsIiArIHBvaW50c1RvW2xdLnkgKyAiICI7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi5zZXRBdHRyaWJ1dGUoYWNbMF0sIHBvaW50cyk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoYWNbMF0gPT0gInZhbHVlIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4udGV4dENvbnRlbnQgPSBhY1syXTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAidHJhbnNsYXRlIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHRvID0gYWNbMl0uc3BsaXQoIjoiKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuLnNldEF0dHJpYnV0ZSgidHJhbnNmb3JtIiwgInRyYW5zbGF0ZSgiICsgdG9bMF0gKyAiICIgKyB0b1sxXSArICIpIiArIGFjWzNdKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAicGF0aCIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuLnNldEF0dHJpYnV0ZSgiZCIsIGFuaW1hdGVQYXRoKGFjWzFdLCAxKSk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoYWNbMF0gPT0gInBpZSIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuLnNldEF0dHJpYnV0ZSgiZCIsIGFuaW1hdGVQaWUoYWNbMV0sIDEpKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuLnNldEF0dHJpYnV0ZShhY1swXSwgcHJlZml4ICsgYWNbMl0gKyBhY1szXSk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFuaW0uYmVnaW4gPiBub3cpIHsKICAgICAgICAgICAgICAgICAgICBmaW5pc2hlZCA9IGZhbHNlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGlmICghZmluaXNoZWQpIHsKICAgICAgICAgICAgcmVxdWVzdEFuaW1hdGlvbkZyYW1lKHN0ZXApOwogICAgICAgIH0KICAgIH0KICAgIHJlcXVlc3RBbmltYXRpb25GcmFtZShzdGVwKTsKfQ==" } , t }(); t.StiChartAnimation = e }(e = t.ChartScripts || (t.ChartScripts = {})) }(e = t.Htmls || (t.Htmls = {})) }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Drawing.ColorTranslator , o = t.System.Drawing.Color , a = t.Base.Localization.StiLocalization , s = function(s) { function l() { var t = s.call(this) || this; return t.renderAsDocument = !0, t.fileName = "", t.htmlWriter = null, t.imageQuality = .75, t.imageResolution = 96, t.compressToArchive = !1, t } return __extends(l, s), Object.defineProperty(l.prototype, "defaultExtension", { get: function() { if (this.compressToArchive) return "zip"; return "html" }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "exportFormat", { get: function() { return e.StiExportFormat.Html5 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "groupCategory", { get: function() { return "Web" }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "position", { get: function() { return r.StiExportPosition.Html5 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "exportNameInMenu", { get: function() { return a.get("Export", "ExportTypeHtml5File") }, enumerable: !0, configurable: !0 }), l.prototype.exportTo = function(t, e, r) { this.exportHtml(t, e, r) } , l.prototype.exportToAsync = function(t, e, r, i) { var n = this; setTimeout(function() { n.exportTo(e, r, i), t() }) } , Object.defineProperty(l.prototype, "multipleFiles", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), l.prototype.getFilter = function() { if (this.compressToArchive) return a.get("FileFilters", "ZipArchives"); return a.get("FileFilters", "HtmlFiles") } , l.prototype.renderPage = function(t, e, i) { var n = r.StiSvgHelper.saveToString(t, e, !1, !1, i, this.imageFormat, this.imageQuality, this.imageResolution); this.htmlWriter.write(n), this.htmlWriter.flush() } , l.prototype.renderStartDoc = function(t, e) { this.htmlWriter.write(""), this.htmlWriter.writeLine(), 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("charset", e.webName), this.htmlWriter.writeEndTag("meta"), this.htmlWriter.writeLine(), this.htmlWriter.indent--, this.htmlWriter.writeEndTag("head"), this.htmlWriter.writeLine(), this.htmlWriter.writeBeginTag("body"), this.htmlWriter.writeAttribute("bgcolor", n.toHtml(o.lightBlue)), this.htmlWriter.writeAttribute("style", "text-align:center;"), this.htmlWriter.write(">"), this.htmlWriter.indent++, this.htmlWriter.writeLine() } , l.prototype.renderEndDoc = function() { this.htmlWriter.indent--, this.htmlWriter.writeEndTag("body"), this.htmlWriter.indent--, this.htmlWriter.writeLine(), this.htmlWriter.writeEndTag("html") } , l.prototype.exportHtml = function(e, r, n) { var o, a; if (null == n) throw new Error("The 'settings' argument cannot be equal in null."); var s = n.pageRange; this.imageFormat = n.imageFormat, this.imageResolution = n.imageResolution, this.imageQuality = n.imageQuality, this.compressToArchive = n.compressToArchive; var l = n.continuousPages; this.htmlWriter = r; var u = n.pageRange.getSelectedPages(e.renderedPages); try { if (this.report = e, 1 == this.renderAsDocument && this.renderStartDoc(u, n.encoding), !(t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports()) && t.System.NodeJs.isStandaloneVersion)) { var c = i.format("{3}{0}{2}{4}{1}", String.fromCharCode(114), String.fromCharCode(108), String.fromCharCode(105), String.fromCharCode(84), String.fromCharCode(97)); r.write('
        " + "Stimulsoft Reports - " + c + " Version
        ") } this.htmlWriter.indent = 0; var m = 1; try { for (var p = __values(u.list), h = p.next(); !h.done; h = p.next()) { var d = h.value; this.invokeExporting(d, u, 0, 1); var g = { ref: m }; this.renderPage(e, d, g), m = g.ref, l && this.htmlWriter.write("
        "), this.htmlWriter.writeLine() } } catch (t) { o = { error: t } } finally { try { h && !h.done && (a = p.return) && a.call(p) } finally { if (o) throw o.error } } 1 == this.renderAsDocument && this.renderEndDoc(), this.htmlWriter.flush() } finally { e = null } } , l }(r.StiExportService); r.StiHtml5ExportService = s }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Drawing.Graphics , n = t.System.StiString , o = t.Report.Chart.IStiPictorialSeries , a = t.Report.Helpers.StiHyperlinkProcessor , s = t.System.Drawing.StringTrimming , l = t.Base.Drawing.StiHatchBrush , u = t.Base.Drawing.StiGlassBrush , c = t.Base.Drawing.StiGlareBrush , m = t.Base.Drawing.StiGradientBrush , p = t.Report.Components.StiCheckBox , h = t.Report.Components.IStiEditable , d = t.Report.Engine.StiDataBandBuilder , g = t.Report.Components.StiDataBand , f = t.Report.Components.StiBandInteraction , S = t.System.Drawing.ContentAlignment , A = t.Report.Components.StiContainer , y = t.System.Xml.XmlTextWriter , w = t.System.IO.TextWriter , b = t.Base.Context.StiContextPainter , v = t.Base.Context.StiContext , C = t.System.Collections.Hashtable , E = t.System.Drawing.Color , B = t.Report.Components.StiPagesCollection , T = t.System.Drawing.Font , I = t.Report.Components.IStiFont , x = t.Report.Components.IStiBorder , F = t.Report.Components.IStiTextBrush , D = t.Base.Drawing.StiHorAlignment , R = t.Base.Drawing.StiBorderSides , P = t.Report.Components.StiImage , N = t.System.Drawing.Rectangle , k = t.Base.Drawing.StiTextHorAlignment , M = t.Base.Drawing.StiPenStyle , O = t.Base.Drawing.StiVertAlignment , _ = t.Report.Components.StiText , L = t.Base.Drawing.StiBrush , j = t.Report.Components.StiPointPrimitive , H = t.Base.Drawing.StiSolidBrush , G = t.Base.Drawing.StiEmptyBrush , Q = t.Report.Components.IStiTextOptions , Y = t.Base.Drawing.StiBorderSide , U = t.System.Text.StringBuilder , J = t.Base.Drawing.StiAdvancedBorder , W = t.Report.Components.IStiIgnoreBorderWhenExport , V = t.Report.Components.IStiExportImage , z = t.Report.Components.IStiExportImageExtended , X = t.System.Text.Encoding , K = t.Base.Drawing.StiTextRenderer , Z = t.Report.Components.IStiText , q = t.Report.Components.StiRichText , $ = t.Report.Components.StiTextQuality , tt = t.System.Drawing.ColorTranslator , et = t.System.IO.MemoryStream , rt = t.Base.Drawing.StiHtmlState , it = t.Base.Drawing.StiHtmlTagsState , nt = t.System.Guid , ot = t.Report.Chart.IStiChart , at = t.Report.Maps.StiMapHelper , st = t.Report.Components.StiImageRotation , lt = function(lt) { function ct() { var t = lt.call(this) || this; return t.renderedPagesCount = 0, t.currentPassNumber = 0, t.maximumPassNumber = 0, 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 = r.StiHtmlChartType.Image, t.strSpanDiv = "span", t.hyperlinksToTag = null, t.chartData = new C, 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 = D.Center, t } return __extends(ct, lt), Object.defineProperty(ct.prototype, "exportFormat", { get: function() { if (this.exportSettings.stimulsoft.is(r.StiHtmlExportSettings)) { var t = this.exportSettings.htmlType; if (t == r.StiHtmlType.Html5) return e.StiExportFormat.Html5; if (t == r.StiHtmlType.Mht) return e.StiExportFormat.Mht } return e.StiExportFormat.Html }, enumerable: !0, configurable: !0 }), ct.prototype.exportTo = function(t, e, i) { this.exportSettings = i; var n = i.stimulsoft.as(r.StiHtmlExportSettings); (null != n ? n.htmlType : r.StiHtmlType.Html) == r.StiHtmlType.Html5 ? (new r.StiHtml5ExportService).exportHtml(t, e, n) : this.exportHtml(t, e, n) } , ct.prototype.exportToAsync = function(e, r, i, n) { var o = this; t.Report.Export.StiExportImageHelper.convertAllImages(r, t.System.Drawing.Imaging.ImageFormat.Png).try(function() { setTimeout(function() { o.exportTo(r, i, n), at.renderOnlineMap(i).try(function() { return e() }) }) }) } , Object.defineProperty(ct.prototype, "multipleFiles", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), ct.getFontScale = function(t, e) { var r = t + "*" + e.toString() , n = this.fontScale.get(r); if (null == n) { var o = new T(t,e); n = i.measureString("H", o).height / e * .75 * .97, this.fontScale.set(r, n) } return n } , ct.prototype.addCoord = function(t, e) { t.stimulsoft.is(N) ? (this.coordX[t.left] = t.left, this.coordY[t.top] = t.top, this.coordX[t.right] = t.right, this.coordY[t.bottom] = t.bottom) : (this.coordX[t] = t, this.coordY[e] = e) } , ct.prototype.formatCoords = function(t) { var e, r, i, n, o = []; try { for (var a = __values(this.coordX.getKeys()), s = a.next(); !s.done; s = a.next()) { var l = s.value; null != l && (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 = []; try { for (var c = __values(this.coordY.getKeys()), m = c.next(); !m.done; m = c.next()) { var l = m.value; null != l && (u[l] = Math.round2(t.unit.convertToHInches(this.coordY[l]) * this.zoom * .75, 2)) } } catch (t) { i = { error: t } } finally { try { m && !m.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } this.coordY = u } , ct.prototype.formatCoord = function(t) { return Math.round2(t, 2).toString() + "pt" } , ct.prototype.formatColor = function(t) { if (t.a < 255 && t.a > 0) return n.format("rgba({0},{1},{2},{3})", t.r, t.g, t.b, Math.round2(t.a / 255, 3)); return tt.toHtml(t) } , ct.prototype.formatColorRgba = function(t) { return n.format("rgba({0}, {1}, {2}, {3})", t.r, t.g, t.b, t.a / 255) } , ct.prototype.getBorderStyle = function(t) { switch (t) { case M.Dot: return " dotted"; case M.Dash: case M.DashDot: case M.DashDotDot: return " dashed"; case M.Double: return " double"; default: return " solid" } } , ct.prototype.setCurrentCulture = function() {} , ct.prototype.restoreCulture = function() {} , ct.prototype.renderFont = function(e, r) { var i = ""; t.System.Drawing.Graphics.allowStyle(r.fontFamily.name, r.style) && (r.bold && (i += "bold "), r.italic && (i += "italic ")), i += Math.trunc(r.size * this.zoom).toString().stimulsoft.replaceAll(",", ".") + "pt "; var n = t.System.Drawing.Graphics.getCustomFontName(r.fontFamily.name, r.style); n.stimulsoft.contains(" ") && (n = "'" + n + "'"), i += n; var o = r.underline ? r.strikeout ? "underline line-through" : "underline" : r.strikeout ? "line-through" : ""; null == e ? (this.htmlWriter.writeStyleAttribute("Font", i), (r.underline || r.strikeout) && this.htmlWriter.writeStyleAttribute("text-decoration", o)) : (e.style.set("Font", i), (r.underline || r.strikeout) && e.style.set("text-decoration", o)) } , ct.prototype.renderTextHorAlignment = function(t, e, i) { var n = null != e && e.rightToLeft , o = ""; i == k.Left && (o = n ? "right" : "left"), i == k.Right && (o = n ? "left" : "right"), i == k.Center && (o = "center"), i == k.Width && (o = "justify"), "" != o && (null == t ? (this.htmlWriter.writeStyleAttribute("text-align", o), this.exportSettings.exportMode != r.StiHtmlExportMode.Table && ("left" == o && this.htmlWriter.writeStyleAttribute("justify-content", "flex-start"), "right" == o && this.htmlWriter.writeStyleAttribute("justify-content", "flex-end"), "center" == o && this.htmlWriter.writeStyleAttribute("justify-content", "center"), "justify" == o && this.htmlWriter.writeStyleAttribute("justify-content", "space-between"))) : t.style.set("text-align", o)) } , ct.prototype.renderVertAlignment = function(t, e, i, n) { void 0 === i && (i = null), void 0 === n && (n = !1); var o = "" , a = null != i && i.trimming != s.None; e == O.Top && (o = "top"), e == O.Center && (o = "middle"), e == O.Bottom && (o = "bottom"), "" != o && (null == t ? this.exportSettings.exportMode == r.StiHtmlExportMode.Table || n ? this.htmlWriter.writeStyleAttribute("vertical-align", o) : (a && (this.htmlWriter.writeStyleAttribute("display", "block"), this.htmlWriter.writeStyleAttribute("white-space", "nowrap"), this.htmlWriter.writeStyleAttribute("text-overflow", "ellipsis")), this.htmlWriter.writeStyleAttribute("vertical-align", o)) : t.style.set("vertical-align", o)) } , ct.prototype.renderTextAngle = function(t) { null == t || 90 != t.angle && 270 != t.angle || this.htmlWriter.writeStyleAttribute("writing-mode", "tb-rl") } , ct.prototype.renderTextDirection = function(t, e) { null != e && e.rightToLeft && (null == t ? this.htmlWriter.writeStyleAttribute("direction", "rtl") : t.style.set("direction", "rtl")) } , ct.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)) : e.a > 0 && (null == t ? this.htmlWriter.writeStyleAttribute("background", this.formatColorRgba(e)) : t.style.set("background", this.formatColorRgba(e))) } , ct.prototype.renderTextColor = function(t, e, r) { void 0 === r && (r = !1), e.stimulsoft.equals(E.black) && !r || (null == t ? this.htmlWriter.writeStyleAttribute("color", this.formatColor(e)) : t.style.set("color", this.formatColor(e))) } , ct.prototype.renderBorder = function(t) { if (null != t && t.stimulsoft.is(x) && !t.stimulsoft.is(W)) { var e = t.stimulsoft.as(x); this.renderBorder2(e.border) } } , ct.prototype.renderBorder2 = function(t) { if (null != t) { var e = null , r = null , i = null , n = null , o = t.stimulsoft.as(J); null != o ? (e = o.leftSide, r = o.rightSide, i = o.topSide, n = o.bottomSide) : (e = new Y(t.color,t.size,t.style), t.isRightBorderSidePresent && (r = e), t.isTopBorderSidePresent && (i = e), t.isBottomBorderSidePresent && (n = e), t.isLeftBorderSidePresent || (e = null)), this.renderBorder3(null, e, "left"), this.renderBorder3(null, r, "right"), this.renderBorder3(null, i, "top"), this.renderBorder3(null, n, "bottom") } } , ct.prototype.renderBorder3 = function(t, e, r, i) { void 0 === i && (i = 0); var o = (100 * i).toString() + "px"; if (null != e && e.style != M.None) { var a = this.formatColor(e.color) , s = this.getBorderStyle(e.style) , l = e.size; l > 0 && l < 1 && (l = 1), l < 1 && (e.style == M.Dash || e.style == M.DashDot || e.style == M.DashDotDot || e.style == M.Dot) && (l = 1), e.style == M.Double && (l = 2.5); var u = Math.round2(l) + "px"; null == t ? (this.htmlWriter.writeStyleAttribute(n.format("border-{0}-color", r), a), this.htmlWriter.writeStyleAttribute(n.format("border-{0}-style", r), s), this.htmlWriter.writeStyleAttribute(n.format("border-{0}-width", r), u), 0 != i && this.htmlWriter.writeStyleAttribute("border-radius", o)) : (t.style.set(n.format("border-{0}-color", r), a), t.style.set(n.format("border-{0}-style", r), s), t.style.set(n.format("border-{0}-width", r), u), 0 != i && t.style.set("border-radius", o)) } else StiOptions.Export.Html.useStrictTableCellSize && null == t && (this.htmlWriter.writeStyleAttribute(n.format("border-{0}-color", r), "transparent"), this.htmlWriter.writeStyleAttribute(n.format("border-{0}-style", r), "solid"), this.htmlWriter.writeStyleAttribute(n.format("border-{0}-width", r), "1px"), 0 != i && this.htmlWriter.writeStyleAttribute("border-radius", o)) } , ct.prototype.renderPosition = function(t, e) { void 0 === e && (e = !1); var i = t.componentToPage(t.clientRectangle) , o = this.formatCoord(this.coordX[i.left]) , a = this.formatCoord(this.coordY[i.top] + this.startPage * this.zoom * .75) , s = this.coordX[i.right] - this.coordX[i.left] , l = this.coordY[i.bottom] - this.coordY[i.top] , u = t.stimulsoft.as(x); null != u && null != u.border && (u.border.stimulsoft.is(J) || u.border.style != M.None && u.border.size > 0 && u.border.side != R.None && ((u.border.side & R.Left) > 0 && (s -= .375 * u.border.size), (u.border.side & R.Right) > 0 && (s -= .375 * u.border.size), (u.border.side & R.Top) > 0 && (l -= .375 * u.border.size), (u.border.side & R.Bottom) > 0 && (l -= .375 * u.border.size))); var c = t.stimulsoft.as(_); null == c || c.margins.isEmpty || (s -= .75 * (Math.trunc(c.margins.left * this.zoom) + Math.trunc(c.margins.right * this.zoom)), l -= .75 * (Math.trunc(c.margins.top * this.zoom) + Math.trunc(c.margins.bottom * this.zoom))), s < 0 && (s = 0), l < 0 && (l = 0); var m = this.formatCoord(s) , p = this.formatCoord(l); if (this.htmlWriter.writeStyleAttribute("left", o), this.htmlWriter.writeStyleAttribute("top", a), this.htmlWriter.writeStyleAttribute("width", m), this.htmlWriter.writeStyleAttribute("height", p), null == c || c.margins.isEmpty || this.htmlWriter.writeStyleAttribute("padding", n.format("{0} {1} {2} {3}", r.StiHtmlUnit.newUnit(Math.trunc(c.margins.top * this.zoom)).toString(), r.StiHtmlUnit.newUnit(Math.trunc(c.margins.right * this.zoom)).toString(), r.StiHtmlUnit.newUnit(Math.trunc(c.margins.bottom * this.zoom)).toString(), r.StiHtmlUnit.newUnit(Math.trunc(c.margins.left * this.zoom)).toString())), e) return m + ";" + p; return null } , ct.prototype.getHeight = function(t) { var e = t.componentToPage(t.clientRectangle) , r = this.coordY[e.bottom] - this.coordY[e.top] , i = t.page.unit , n = t.stimulsoft.as(x); null != n && null != n.border && (n.border.stimulsoft.is(J) || n.border.style != M.None && n.border.size > 0 && n.border.side != R.None && ((n.border.side & R.Left) > 0 && (r -= .375 * n.border.size), (n.border.side & R.Right) > 0 && (r -= .375 * n.border.size))); var o = t.stimulsoft.as(_); return null == o || o.margins.isEmpty || (r -= .75 * (Math.trunc(o.margins.top) + Math.trunc(o.margins.bottom))), r < 0 && (r = 0), this.formatCoord(r) } , ct.prototype.getWidth = function(t) { var e = t.componentToPage(t.clientRectangle) , r = this.coordX[e.right] - this.coordX[e.left] , i = t.page.unit , n = t.stimulsoft.as(x); null != n && null != n.border && (n.border.stimulsoft.is(J) || n.border.style != M.None && n.border.size > 0 && n.border.side != R.None && ((n.border.side & R.Left) > 0 && (r -= .375 * n.border.size), (n.border.side & R.Right) > 0 && (r -= .375 * n.border.size))); var o = t.stimulsoft.as(_); return null == o || o.margins.isEmpty || (r -= .75 * (Math.trunc(o.margins.left) + Math.trunc(o.margins.right))), r < 0 && (r = 0), this.formatCoord(r) } , ct.prototype.renderImage = function(t) { var e = null , r = t.stimulsoft.as(P); null != r && (e = r.imageURLValue, n.isNullOrEmpty(e) && null != r.image && (e = r.image.base64)), this.setCurrentCulture(), this.renderImage2(r, t.stimulsoft.as(V), e), this.restoreCulture() } , ct.prototype.renderImage2 = function(t, e, r) { if (null != e) { var i = e.stimulsoft.as(z) , n = this.zoom , o = this.imageResolution; if (StiOptions.Export.Html.useImageResolution && e.stimulsoft.is(P) && null != e.imageToDraw) { var a = e.imageToDraw.horizontalResolution; a >= 50 && a <= 1250 && (o = a) } 100 != o && (n *= o / 100); var s = null , l = this.forceExportAsImage(e) , u = { ref: n }; s = i.imageToDraw, n = u.ref, this.restoreCulture(), this.renderImage3(t, s, r, n) } } , ct.prototype.forceExportAsImage = function(t) { var e = t.stimulsoft.as(Q); return null != e && 0 != e.textOptions.angle } , ct.prototype.renderImage3 = function(t, e, i, o) { if (null != e) { n.isNullOrEmpty(i) || i.stimulsoft.startsWith("http") || i.stimulsoft.startsWith("ftp") || (i = null); var a = i; if (n.isNullOrEmpty(i) && (null != this.htmlImageHost && (a = this.htmlImageHost.getImageString(e)), null == a && (a = "")), t.aspectRatio && t.stretch || t.imageRotation != st.None) { var s = this.getWidth(t) , l = this.getHeight(t); this.htmlWriter.write('
        ') : this.htmlWriter.write('">'), this.htmlWriter.write("
        ") } 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", a), this.htmlWriter.write(">"), this.htmlWriter.writeEndTag("img"), this.htmlWriter.writeEndTag("div") } } , ct.prototype.renderHyperlink = function(t) { var e = t.hyperlinkValue; !n.isNullOrWhiteSpace(e) && e.stimulsoft.startsWith("##") && (e = e.substr(1)); var r = t.bookmarkValue , i = t.tagValue; null == r && !n.isNullOrEmpty(i) && this.hyperlinksToTag.containsKey(i) && (r = i); var o = null; if (!n.isNullOrWhiteSpace(t.guid) && this.hashBookmarkGuid.containsKey(t.guid) && (o = t.guid), !n.isNullOrWhiteSpace(e)) { var a = t.componentToPage(t.clientRectangle) , s = this.formatCoord(this.coordY[a.bottom] - this.coordY[a.top]) , l = new U; if (l.append("display:block;height:" + s + ";text-decoration:none;"), t.stimulsoft.is(F)) { var u = t.stimulsoft.as(F) , c = L.toColor(u.textBrush); l.append("color:" + this.formatColor(c) + ";") } if (t.stimulsoft.is(I)) { t.stimulsoft.as(I).font.underline ? l.append("text-decoration:underline;") : l.append("text-decoration:none;") } return this.htmlWriter.writeBeginTag("a"), n.isNullOrWhiteSpace(r) || this.htmlWriter.writeAttribute("name", r.stimulsoft.replaceAll("'", "")), n.isNullOrWhiteSpace(o) || this.htmlWriter.writeAttribute("guid", o), this.htmlWriter.writeAttribute("style", l.toString()), this.htmlWriter.writeAttribute("href", e), this.htmlWriter.write(">"), !0 } if (!n.isNullOrWhiteSpace(r) || !n.isNullOrWhiteSpace(o)) return this.htmlWriter.writeBeginTag("a"), n.isNullOrWhiteSpace(r) || this.htmlWriter.writeAttribute("name", r.stimulsoft.replaceAll("'", "")), n.isNullOrWhiteSpace(o) || this.htmlWriter.writeAttribute("guid", o), StiOptions.Export.Html.useExtendedStyle && this.htmlWriter.writeAttribute("class", "sBaseStyleFix"), this.htmlWriter.write(">"), !0; return !1 } , ct.prototype.renderPage = function(t, e, r) { if (this.pageHorAlignment != D.Left && (this.htmlWriter.writeBeginTag(this.strSpanDiv + ' style="'), this.htmlWriter.writeStyleAttribute("text-align", this.pageHorAlignment == D.Center ? "center" : "right"), e && this.htmlWriter.writeStyleAttribute("margin-left", n.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 != D.Left ? this.htmlWriter.writeStyleAttribute("display", "inline-block") : e && this.htmlWriter.writeStyleAttribute("left", n.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"); var i = E.transparent; null != t && t.count > 0 && (null != t.getByIndex(0).brush && (i = L.toColor(t.getByIndex(0).brush)), 0 == i.a && (i = E.white), null != t.getByIndex(0).border && this.renderBorder(t.getByIndex(0))) } this.htmlWriter.write('">'), this.htmlWriter.indent++, this.htmlWriter.writeLine() } , ct.prototype.renderEndPage = function() { this.htmlWriter.indent--, this.htmlWriter.writeEndTag(this.strSpanDiv), this.htmlWriter.writeLine(), this.pageHorAlignment != D.Left && (this.htmlWriter.indent--, this.htmlWriter.writeEndTag(this.strSpanDiv), this.htmlWriter.writeLine()) } , ct.prototype.renderStartDoc = function(e, r, i, o, a, s, l, u) { if (this.htmlWriter.writeLine(''), this.htmlWriter.writeLine("\x3c!-- " + t.StiVersion.platform() + " --\x3e"), this.htmlWriter.writeLine(''), 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", n.format("text/html; charset={0}", u.webName)), this.htmlWriter.writeEndTag("meta"), this.htmlWriter.writeLine(), a) { var c = t.Report.Resources.StimulsoftFont.getBase64Content(); this.htmlWriter.writeLine(""), this.htmlWriter.writeLine() } if (null != e && (r ? e.renderStylesTable(i, o, s) : e.renderStyles(i, o, s)), i && this.renderBookmarkScript(), this.htmlWriter.indent--, this.htmlWriter.writeLine(), this.htmlWriter.writeEndTag("head"), this.htmlWriter.writeLine(), this.htmlWriter.writeBeginTag("body"), null != l && l.count > 0 && null != l.getByIndex(0).brush) { var m = L.toColor(l.getByIndex(0).brush); m.a > 0 && this.htmlWriter.writeAttribute("bgcolor", this.formatColor(m)) } 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() } , ct.prototype.fillBitmapBackground = function(t, e) { var r = E.lightGray } , ct.prototype.renderBookmarkScript = function() {} , ct.prototype.renderChartScripts = function(e) { var r, i; if (void 0 === e && (e = !0), 0 == this.chartData.count) return; e && (this.htmlWriter.writeBeginTag("script"), this.htmlWriter.writeAttribute("type", "text/javascript"), this.htmlWriter.writeLine(">")); var o = nt.newGuid().toString().stimulsoft.replaceAll("-", "") , a = t.Report.Export.Htmls.ChartScripts.StiChartAnimation.getBase64Content() , s = t.System.Convert.fromBase64StringText(a); this.htmlWriter.writeLine(s.stimulsoft.replaceAll("animateSti", "animateSti" + o) + ";"), this.htmlWriter.writeLine("setTimeout(function() {"); try { for (var l = __values(this.chartData.keys), u = l.next(); !u.done; u = l.next()) { var c = u.value; this.htmlWriter.writeLine(n.format('animateSti{0}("{1}");', o, this.chartData.get(c))) } } catch (t) { r = { error: t } } finally { try { u && !u.done && (i = l.return) && i.call(l) } finally { if (r) throw r.error } } this.htmlWriter.writeLine("}, 300);"), e && (this.htmlWriter.writeEndTag("script"), this.htmlWriter.writeLine()) } , ct.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") } , ct.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") } , ct.prototype.getGuid = function(t) { return this.chartData.containsKey(t) || this.chartData.add(t, nt.newGuid().toString().stimulsoft.replaceAll("-", "")), this.chartData.get(t) } , ct.prototype.renderEndDoc = function() { this.htmlWriter.indent--, this.htmlWriter.writeEndTag("body"), this.htmlWriter.indent--, this.htmlWriter.writeLine(), this.htmlWriter.writeEndTag("html") } , ct.prototype.renderBookmarkTree = function(t, e, r) { var i = []; this.addBookmarkNode(t, -1, i), this.htmlWriter.writeStyleAttribute("width", n.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 o = 0; o < i.length; o++) { var a = i[o] , s = ""; s = r.containsKey(a.title) ? n.format("Page {0}", r.get(a.title) + 1) : "Page 0", this.htmlWriter.writeLine(n.format("bmrk.add({0}, {1}, '{2}', '{3}', '{4}');", o, a.parent, a.title, a.url, s)) } 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-- } , ct.prototype.addBookmarkNode = function(t, e, r) { var i = new ut; i.parent = e; var n = t.text.stimulsoft.replaceAll("'", ""); i.title = n, i.url = "#" + n, i.used = !0, r.add(i); var o = r.length - 1; if (0 != t.bookmarks.count) for (var a = 0; a < t.bookmarks.count; a++) this.addBookmarkNode(t.bookmarks.getByIndex(a), o, r) } , ct.prototype.prepareTextForHtml = function(t) { if (null == t) return null; for (var e = t.split("\n"), r = new U, i = 0; i < e.length; i++) { var n = e[i] , o = 0; while (o < n.length && " " == n.charAt(o)) o++; if (o > 0) { for (var a = 0; a < o; a++) r.append(" "); r.append(n.substr(o)) } else r.append(n); i < e.length - 1 && r.append("
        ") } return r.toString() } , ct.convertTextWithHtmlTagsToHtmlText = function(t, e, r) { if (!n.isNullOrEmpty(e) && e.stimulsoft.startsWith("")) return e.substring("".length); for (var i = e, o = new it(t.font.bold,t.font.italic,t.font.underline,t.font.strikeout,t.font.size,t.font.name,L.toColor(t.textBrush),L.toColor(t.brush),!1,!1,0,0,t.lineSpacing,t.horAlignment), a = new rt(o,0), s = K.parseHtmlToStates(i, a), l = new U, u = k.Left, c = t.lineSpacing, m = !0, p = !1, h = new U, d = o, g = 0; g < s.length; g++) { var f = s[g] , S = f.ts; if (S.bold != d.bold && h.append(S.bold ? "" : ""), S.italic != d.italic && h.append(S.italic ? "" : ""), S.underline != d.underline && h.append(S.underline ? "" : ""), S.strikeout != d.strikeout && h.append(S.strikeout ? "" : ""), S.superscript != d.superscript && h.append(S.superscript ? "" : ""), S.subsript != d.subsript && h.append(S.subsript ? "" : ""), S.fontColor != d.fontColor || S.backColor != d.backColor || S.fontName != d.fontName || S.fontSize != d.fontSize || S.letterSpacing != d.letterSpacing || S.wordSpacing != d.wordSpacing || S.htmlStyle != d.htmlStyle) { var A = ""; S.htmlStyle != d.htmlStyle && (A += S.htmlStyle + ";"), S.fontColor != o.fontColor && !A.stimulsoft.contains("color:") && S.fontColor.a > 0 && (A += n.format("color:#{0:X6};", 16777215 & S.fontColor.toArgb())), S.backColor != o.backColor && !A.stimulsoft.contains("background-color:") && S.backColor.a > 0 && (A += n.format("background-color:#{0:X6};", 16777215 & S.backColor.toArgb())), S.fontName != o.fontName && (A.stimulsoft.contains("font-family:") || (A += n.format("font-family:{0};", S.fontName))), S.fontSize != o.fontSize && (A.stimulsoft.contains("font-size:") || (A += n.format("font-size:{0}pt;", S.fontSize * r).stimulsoft.replaceAll(",", "."), A += n.format("line-height:{0}em;", Math.round2(S.lineHeight * this.getFontScale(S.fontName, S.fontSize), 2)).stimulsoft.replaceAll(",", "."))), S.letterSpacing != o.letterSpacing && (A.stimulsoft.contains("letter-spacing:") || (A += n.format("letter-spacing:{0}em;", S.letterSpacing).stimulsoft.replaceAll(",", "."))), S.wordSpacing != o.wordSpacing && (A.stimulsoft.contains("word-spacing:") || (A += n.format("word-spacing:{0}em;", S.wordSpacing).stimulsoft.replaceAll(",", "."))), p && h.append("
        "), p = !1, A.length > 0 && (p = !0, h.append(n.format('', A))) } u = S.textAlign, c = S.lineHeight, "\n" == f.text.toString() ? (m && h.append(" "), l.append(this.getParagraphString(h, u, c, t.lineSpacing, t.rightToLeft, t.font)), h = new U, m = !0) : (h.append(f.text), f.text.toString().trim().length > 0 && (m = !1)), d = S.clone() } return h.length > 0 && l.append(this.getParagraphString(h, u, c, t.lineSpacing, t.rightToLeft, t.font)), p && h.append(""), d.bold != o.bold && h.append(o.bold ? "" : ""), d.italic != o.italic && h.append(o.italic ? "" : ""), d.underline != o.underline && h.append(o.underline ? "" : ""), d.strikeout != o.strikeout && h.append(o.strikeout ? "" : ""), d.superscript != o.superscript && h.append(o.superscript ? "" : ""), d.subsript != o.subsript && h.append(o.subsript ? "" : ""), l.toString() } , ct.getParagraphString = function(t, e, r, i, o, a) { var s = new U; s.append("

        '), s.append(t), s.append("

        "), s.toString() } , ct.prototype.renderWatermarkText = function(t, e, i) { if (void 0 === i && (i = 0), null != e && !n.isNullOrEmpty(e.watermark.text) && e.watermark.enabled) { var o = e.unit.convertToHInches(e.displayRectangle) , a = Math.trunc(e.watermark.font.size * this.zoom) , s = n.format(" font-size: {0}pt; font-family: {1};", a, e.watermark.font.name); e.watermark.font.bold && (s += "font-weight:bold;"), e.watermark.font.italic && (s += "font-style:italic;"), e.watermark.font.underline && (s += "text-decoration:underline" + (e.watermark.font.strikeout ? " " : ";")), e.watermark.font.strikeout && (s += e.watermark.font.underline ? "line-through;" : "text-decoration:line-through;"); var l = L.toColor(e.watermark.textBrush) , u = n.format("rgb({0},{1},{2})", l.r, l.g, l.b) , c = l.a / 255 , m = e.watermark.showBehind ? 0 : 1; t.writeLine(n.format("
        {7}
        ", s, c, 10 * c, r.StiHtmlUnit.newUnit(Math.trunc((-e.unit.convertToHInches(e.margins.left) + o.width / 2) * this.zoom), StiOptions.Export.Html.printLayoutOptimization), r.StiHtmlUnit.newUnit(Math.trunc((-e.unit.convertToHInches(e.margins.top) + o.height / 2) * this.zoom), StiOptions.Export.Html.printLayoutOptimization), u, e.watermark.angle, e.watermark.text, m, Math.trunc(i))) } } , ct.prototype.renderWatermarkImage = function(e, r, i) { if (void 0 === i && (i = 0), null != r && null != r.watermark && r.watermark.enabled && (null != r.watermark.image || !n.isNullOrWhiteSpace(r.watermark.imageHyperlink))) { var o = "" , s = 0; if (null != r.watermark.image) o = r.watermark.image.base64, s = r.watermark.image.width; else if (!n.isNullOrEmpty(r.watermark.imageHyperlink)) if (a.isResourceHyperlink(r.watermark.imageHyperlink)) { var l = r.report.dictionary.resources.getByName(a.getResourceNameFromHyperlink(r.watermark.imageHyperlink)); if (null != l) { var u = t.System.Drawing.Image.fromBytes(l.content); null != u && (o = u.base64, s = u.width) } } else if (a.isVariableHyperlink(r.watermark.imageHyperlink)) { var c = r.report.dictionary.variables.getByName(a.getVariableNameFromHyperlink(r.watermark.imageHyperlink)); if (null != c && null != c.valueObject) { var u = c.valueObject.stimulsoft.as(t.System.Drawing.Image); null != u && (o = u.base64, s = u.width) } } var m = r.unit.convertToHInches(r.clientRectangle) , p = m.width * this.zoom , h = m.height * this.zoom , d = s * r.watermark.imageMultipleFactor * this.zoom , g = r.watermark.showImageBehind ? 0 : 1 , f = "" , A = "center" , y = "center"; switch (r.watermark.imageAlignment) { case S.TopLeft: A = "left", y = "top"; break; case S.TopCenter: A = "center", y = "top"; break; case S.TopRight: A = "right", y = "top"; break; case S.MiddleLeft: A = "left", y = "center"; break; case S.MiddleCenter: A = "center", y = "center"; break; case S.MiddleRight: A = "right", y = "center"; break; case S.BottomLeft: A = "left", y = "bottom"; break; case S.BottomCenter: A = "center", y = "bottom"; break; case S.BottomRight: A = "right", y = "bottom"; break } f += n.format("background-position-x: {0};", A), f += n.format("background-position-y: {0};", y), r.watermark.imageStretch ? (f += "background-size: 100% 100%;", f += "background-repeat: no-repeat;") : (f += n.format("background-size: {0}%;", Math.trunc(d / p * 100)), f += n.format("background-repeat: {0};", r.watermark.imageTiling ? "repeat" : "no-repeat")), e.writeLine(n.format("
        ", Math.trunc(p), Math.trunc(h), g, o, f, Math.trunc(i))) } } , ct.getImage = function(t, e, r) { return null } , ct.getFile = function(t, e) { return null } , ct.prototype.assembleGuidUsedInBookmark = function(t, e) { var r, i; if (n.isNullOrWhiteSpace(t.componentGuid) || e.set(t.componentGuid, t.text), null != t.bookmarks && t.bookmarks.count > 0) try { for (var o = __values(t.bookmarks.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; this.assembleGuidUsedInBookmark(s, e) } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , ct.prototype.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().stimulsoft.replaceAll(",", ".")), t.writeAttribute("width", r.toString().stimulsoft.replaceAll(",", ".")), t.write(">") } , ct.prototype.prepareChartData = function(e, i, n, o) { var a = new b , s = new v(a,!1,!1,!1,this.zoom) , l = new U , u = null , c = null; null == e ? (c = new w, u = new r.StiHtmlTextWriter(c)) : u = e; var m = .96; this.prepareSvg(u, Math.round2(o * m, 2), Math.round2(n * m, 2)); var p = new r.StiSvgData; p.x = 0, p.y = 0, p.width = n * m, p.height = o * m, p.component = i; var h = new et , d = new y(X.UTF8,h); return r.StiChartSvgHelper.writeChart(d, p, this.zoom, this.chartType == t.Report.Export.StiHtmlChartType.AnimatedVector), d.flush(), u.write(X.UTF8.getString(h.toArray())), u.writeEndTag("svg"), this.getGuid(i), null == e ? c.getStringBuilder().toString() : null } , ct.prototype.prepareGaugeData = function(e, i, n, o) { var a, s = null; null == e ? (a = new w, s = new r.StiHtmlTextWriter(a)) : s = e; var l = 1; this.prepareSvg(s, Math.round2(o * l, 2), Math.round2(n * l, 2)); var u = new r.StiSvgData; u.x = 0, u.y = 0, u.width = n * l, u.height = o * l, u.component = i; var c = new et , m = new y(X.UTF8,c); return r.StiGaugeSvgHelper.writeGauge(m, u, this.zoom, this.chartType == r.StiHtmlChartType.AnimatedVector), m.flush(), s.write(t.System.Text.Encoding.UTF8.getString(c.toArray())), s.writeEndTag("svg"), null == e ? a.getStringBuilder().toString() : null } , ct.prototype.prepareMapData = function(e, i, n, o) { var a, s = null; null == e ? (a = new w, s = new r.StiHtmlTextWriter(a)) : s = e; var l = 1; this.prepareSvg(s, Math.round2(o * l, 2), Math.round2(n * l, 2)); var u = new et , c = new y(X.UTF8,u); return r.StiMapSvgHelper.drawMap(c, i, 0, 0, n, o, this.chartType == r.StiHtmlChartType.AnimatedVector), c.flush(), s.write(t.System.Text.Encoding.UTF8.getString(u.toArray())), s.writeEndTag("svg"), null == e ? a.getStringBuilder().toString() : null } , ct.prototype.getChartScript = function() { var t = this.htmlWriter , e = new w; return this.htmlWriter = new r.StiHtmlTextWriter(e), this.renderChartScripts(!1), this.renderGaugeScripts(!1), this.renderMapsScripts(!1), this.htmlWriter = t, e.getStringBuilder().toString() } , ct.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() } , ct.prototype.isComponentHasInteraction = function(t) { if (this.insertInteractionParameters && null != t.interaction) { if (t.interaction.sortingEnabled && !n.isNullOrWhiteSpace(t.interaction.sortingColumn)) return !0; if (t.interaction.drillDownEnabled && (null != t.interaction.drillDownPage || !n.isNullOrEmpty(t.interaction.drillDownReport))) return !0; if (t.interaction.stimulsoft.is(f) && t.interaction.collapsingEnabled) return !0 } return !1 } , ct.prototype.exportHtml = function(i, a, s, S) { var y, w, b, v, T, I, x, F, R, N, k, M, L, Y, J, W, V, z, X, tt, et, rt; if (void 0 === S && (S = null), null == S && (S = s.pageRange.getSelectedPages(i.renderedPages)), null == s) throw new Error("The 'settings' argument cannot be equal in null."); this.exportSettings = s; var it = s.pageRange; this.zoom = s.zoom, this.imageFormat = s.imageFormat, this.exportQuality = s.exportQuality; var nt = s.exportMode , at = s.exportBookmarksMode != r.StiHtmlExportBookmarksMode.ReportOnly , st = s.bookmarksTreeWidth , lt = s.exportBookmarksMode == r.StiHtmlExportBookmarksMode.BookmarksOnly; this.useStylesTable = s.useStylesTable, this.imageResolution = s.imageResolution, this.imageQuality = s.imageQuality, this.removeEmptySpaceAtBottom = s.removeEmptySpaceAtBottom, this.pageHorAlignment = s.pageHorAlignment, this.compressToArchive = s.compressToArchive, this.useEmbeddedImages = s.useEmbeddedImages, this.openLinksTarget = s.openLinksTarget, this.chartType = s.chartType; var ut = !0; at = at && null != i.bookmark && 0 != i.bookmark.bookmarks.count, nt == r.StiHtmlExportMode.Span ? this.strSpanDiv = "span" : nt == r.StiHtmlExportMode.Div && (this.strSpanDiv = "div"), this.isFileStreamMode = !n.isNullOrEmpty(this.fileName), this.useEmbeddedImages && (this.isFileStreamMode = !1); try { null == this.htmlImageHost && (this.htmlImageHost = new r.StiHtmlImageHost(this)), this.hashBookmarkGuid = new C, this.assembleGuidUsedInBookmark(i.bookmark, this.hashBookmarkGuid), this.htmlWriter = a, this.report = i, this.totalPageWidth = 0, this.totalPageHeight = 0, this.startPage = 0, this.imageNumber = 1; var mt = new C; if (at) { var pt = 0; try { for (var ht = __values(S.list), dt = ht.next(); !dt.done; dt = ht.next()) { var gt = dt.value , ft = gt.getComponents(); ft.add(gt); try { for (var St = (b = void 0, __values(ft.list)), At = St.next(); !At.done; At = St.next()) { var yt = At.value; if (yt.enabled) { var wt = yt.bookmarkValue; n.isNullOrWhiteSpace(wt) || (wt = wt.stimulsoft.replaceAll("'", ""), wt.length > 0 && (mt.containsKey(wt) || mt.add(wt, pt))) } } } catch (t) { b = { error: t } } finally { try { At && !At.done && (v = St.return) && v.call(St) } finally { if (b) throw b.error } } pt++ } } catch (t) { y = { error: t } } finally { try { dt && !dt.done && (w = ht.return) && w.call(ht) } finally { if (y) throw y.error } } } var bt = !1; try { for (var vt = __values(S.list), Ct = vt.next(); !Ct.done; Ct = vt.next()) { var gt = Ct.value , ft = gt.getComponents(); try { for (var Et = (x = void 0, __values(ft.list)), Bt = Et.next(); !Bt.done; Bt = Et.next()) { var Tt = Bt.value , yt = Tt; if (yt.enabled && yt.stimulsoft.is(ot)) { var It = yt.stimulsoft.as(ot); null != It && It.series.count > 0 && It.series.getByIndex(0).stimulsoft.is(o) && (bt = !0) } } } catch (t) { x = { error: t } } finally { try { Bt && !Bt.done && (F = Et.return) && F.call(Et) } finally { if (x) throw x.error } } } } catch (t) { T = { error: t } } finally { try { Ct && !Ct.done && (I = vt.return) && I.call(vt) } finally { if (T) throw T.error } } if (nt == r.StiHtmlExportMode.Span || nt == r.StiHtmlExportMode.Div) { var xt = new r.StiHtmlTableRender(this,s,new B(i,S)); if (this.isStopped) return; this.coordX = [], this.coordY = [], this.hyperlinksToTag = new C; try { for (var Ft = __values(S.list), Dt = Ft.next(); !Dt.done; Dt = Ft.next()) { var gt = Dt.value; this.totalPageWidth = Math.max(this.totalPageWidth, gt.unit.convertToHInches(gt.width)), this.totalPageHeight += gt.unit.convertToHInches(gt.height) } } catch (t) { R = { error: t } } finally { try { Dt && !Dt.done && (N = Ft.return) && N.call(Ft) } finally { if (R) throw R.error } } try { for (var Rt = __values(S.list), Pt = Rt.next(); !Pt.done; Pt = Rt.next()) { var gt = Pt.value , ft = gt.getComponents() , Nt = gt.unit.convertToHInches(gt.clientRectangle); try { for (var kt = (L = void 0, __values(ft.list)), Mt = kt.next(); !Mt.done; Mt = kt.next()) { var yt = Mt.value , Ot = gt.unit.convertToHInches(yt.displayRectangle) , _t = !0; if (yt.stimulsoft.is(j) && (_t = !1), (Ot.right < Nt.left || Ot.left > Nt.right || Ot.bottom < Nt.top || Ot.top > Nt.bottom) && (_t = !1), yt.enabled && _t && (this.addCoord(yt.displayRectangle), null != yt.hyperlinkValue)) { var Lt = yt.hyperlinkValue; !n.isNullOrEmpty(Lt) && Lt.length > 2 && Lt.stimulsoft.startsWith("##") && this.hyperlinksToTag.set(Lt.substr(2), null) } } } catch (t) { L = { error: t } } finally { try { Mt && !Mt.done && (Y = kt.return) && Y.call(kt) } finally { if (L) throw L.error } } } } catch (t) { k = { error: t } } finally { try { Pt && !Pt.done && (M = Rt.return) && M.call(Rt) } finally { if (k) throw k.error } } this.formatCoords(i); var jt = new C , Ht = new C; try { for (var Gt = __values(S.list), Qt = Gt.next(); !Qt.done; Qt = Gt.next()) { var gt = Qt.value , ft = gt.getComponents(); try { for (var Yt = (V = void 0, __values(ft.list)), Ut = Yt.next(); !Ut.done; Ut = Yt.next()) { var Tt = Ut.value , yt = Tt; if (yt.enabled) { if (ut && !this.forceExportAsImage(yt)) { var Jt = yt; null == Jt || null == Jt.brush || Jt.brush.stimulsoft.is(H) || Jt.brush.stimulsoft.is(G) || (yt = Tt.clone(), yt.brush = new H(E.transparent)) } var Wt = xt.matrix.getStyleFromComponent(yt, -1, -1, this.exportServiceId); Wt.absolutePosition = !0, S.cacheMode || jt.set(Tt, Wt); var Vt = yt.tagValue; if (!n.isNullOrEmpty(Vt)) for (var zt = r.StiMatrix.splitTag(Vt), Xt = 0; Xt < zt.length; Xt++) if (zt[Xt].toLowerCase().stimulsoft.startsWith("css")) { var Kt = r.StiMatrix.getStringsFromTag(zt[Xt], 3); if (Kt.length > 1) { var Zt = Kt[0].trim(); Ht.set(Zt, Kt[1].trim() + ";position:absolute;"), jt.set(Tt, Zt); break } } } } } catch (t) { V = { error: t } } finally { try { Ut && !Ut.done && (z = Yt.return) && z.call(Yt) } finally { if (V) throw V.error } } } } catch (t) { J = { error: t } } finally { try { Qt && !Qt.done && (W = Gt.return) && W.call(Gt) } finally { if (J) throw J.error } } xt.matrix.checkStylesNames(), this.renderAsDocument && this.renderStartDoc(xt, !1, at, lt, bt, Ht, S, s.encoding), !this.renderAsDocument && at && this.renderBookmarkScript(); for (var qt = 0, $t = 0; $t < S.count; $t++) { var gt = S.getByIndex($t); this.renderWatermarkImage(this.htmlWriter, gt, qt), this.renderWatermarkText(this.htmlWriter, gt, qt), qt += gt.unit.convertToHInches(gt.clientRectangle).height } if (at && (this.htmlWriter.writeBeginTag(this.strSpanDiv + ' class="dtreeframe" style="'), this.htmlWriter.writeStyleAttribute("position", "absolute"), lt || this.htmlWriter.writeStyleAttribute("height", this.formatCoord(this.totalPageHeight * this.zoom * .75)), this.renderBookmarkTree(i.bookmark, st, mt), this.htmlWriter.writeEndTag(this.strSpanDiv), this.htmlWriter.writeLine()), lt || this.renderPage(S, at, st), this.renderAsDocument || xt.renderStyles(at, lt, Ht), !lt) try { for (var te = __values(S.list), ee = te.next(); !ee.done; ee = te.next()) { var gt = ee.value; if (this.isStopped) return; var ft = gt.getComponents() , Nt = gt.unit.convertToHInches(gt.clientRectangle) , re = 0; try { for (var ie = (et = void 0, __values(ft.list)), ne = ie.next(); !ne.done; ne = ie.next()) { var Tt = ne.value , yt = Tt , Ot = gt.unit.convertToHInches(yt.displayRectangle) , _t = !0; if (yt.stimulsoft.is(j) && (_t = !1), (Ot.right < Nt.left || Ot.left > Nt.right || Ot.bottom < Nt.top || Ot.top > Nt.bottom) && (_t = !1), yt.enabled && _t) { var oe = null , Wt = null == jt.get(Tt) ? null : jt.get(Tt).stimulsoft.as(r.StiCellStyle); null == Wt && S.cacheMode && (Wt = xt.matrix.getStyleFromComponent(Tt, -1, -1, this.exportServiceId), Wt.absolutePosition = !0); var ae = xt.matrix.styles.indexOf(Wt); -1 != ae && this.useStylesTable && (oe = "s" + Wt.styleName); var Zt = null == jt.get(Tt) ? null : jt.get(Tt).stimulsoft.as(String); if (!n.isNullOrEmpty(Zt) && this.useStylesTable && (oe = Zt), ut && !this.forceExportAsImage(yt)) { var Jt = yt; if (null != Jt && null != Jt.brush && !Jt.brush.stimulsoft.is(H) && !Jt.brush.stimulsoft.is(G)) { a.writeBeginTag(this.strSpanDiv), n.isNullOrEmpty(oe) || a.writeAttribute("class", oe), a.write(' style="'), a.write(""), this.renderPosition(yt), a.write('position:absolute;">'); var se = new _; se.page = gt, se.clientRectangle = yt.clientRectangle, se.brush = yt.brush, this.renderImage(se), a.writeEndTag(this.strSpanDiv), a.writeLine(""), yt = Tt.clone(), yt.brush = new H(E.transparent) } } var le = yt.isExportAsImage(e.StiExportFormat.Html) || this.forceExportAsImage(yt) , ue = !1; if (a.writeBeginTag(this.strSpanDiv), n.isNullOrEmpty(oe) || a.writeAttribute("class", oe), nt == r.StiHtmlExportMode.Div && null != yt.toolTipValue && a.writeAttribute("title", yt.toolTipValue.toString()), this.insertInteractionParameters) { if (null != Tt.report && !Tt.report.isDocument && this.isComponentHasInteraction(Tt)) { if (a.write(n.format(' interaction="{0}"', yt.name)), yt.interaction.sortingEnabled) { var ce = yt.interaction.getSortDataBandName() , me = null != yt.report.getComponentByName(ce) ? yt.report.getComponentByName(ce).stimulsoft.as(g) : null; if (null != me) { a.write(n.format(' databandsort="{0};{1}"', ce, n.join(";", me.sort))); for (var pe = 0; pe < me.sort.length; pe += 2) me.sort[pe + 1] == yt.interaction.getSortColumnsString() && a.write(n.format(' sort="{0}"', me.sort[pe].toLowerCase())) } } !yt.interaction.drillDownEnabled || null == yt.interaction.drillDownPage && n.isNullOrEmpty(yt.interaction.drillDownReport) || (null != yt.interaction.drillDownPage && a.write(n.format(' pageguid="{0}"', yt.interaction.drillDownPage.guid)), n.isNullOrEmpty(yt.interaction.drillDownReport) || a.write(n.format(' reportfile="{0}"', yt.interaction.drillDownReport)), a.write(n.format(' pageindex="{0}"', yt.page.report.renderedPages.indexOf(yt.page).toString())), a.write(n.format(' compindex="{0}"', yt.page.components.indexOf(yt).toString()))); var he = yt.interaction.stimulsoft.as(f); if (null != he && he.collapsingEnabled && yt.stimulsoft.is(A)) { var se = yt; a.write(n.format(' collapsed="{0}"', d.isCollapsed(se, !1).toString().toLowerCase())), a.write(n.format(' compindex="{0}"', se.collapsingIndex.toString())) } } if (null != Tt.page && Tt.stimulsoft.is(h) && Tt.editable) { var de = new U , ge = Tt.page.components.indexOf(Tt); de.appendFormat("{0};", ge); var fe = Tt.stimulsoft.as(p); if (null != fe) { var Se = E.transparent; fe.textBrush.stimulsoft.is(H) ? Se = fe.textBrush.color : fe.textBrush.stimulsoft.is(m) ? Se = fe.textBrush.startColor : fe.textBrush.stimulsoft.is(c) ? Se = fe.textBrush.startColor : fe.textBrush.stimulsoft.is(u) ? Se = fe.textBrush.color : fe.textBrush.stimulsoft.is(l) && (Se = fe.textBrush.foreColor), de.appendFormat("CheckBox;{0};{1};{2};#{3:X2}{4:X2}{5:X2};{6};#{7:X2}{8:X2}{9:X2}", fe.checkedValue, t.Report.Components.StiCheckStyle[fe.checkStyleForFalse], t.Report.Components.StiCheckStyle[fe.checkStyleForTrue], fe.contourColor.r, fe.contourColor.g, fe.contourColor.b, fe.size, Se.r, Se.g, Se.b) } null != Tt.stimulsoft.as(_) && de.appendFormat("Text"); null != Tt.stimulsoft.as(q) && de.appendFormat("RichText"), a.write(n.format(' editable="{0}"', de.toString())) } } a.write(' style="'), yt.stimulsoft.is(_) && yt.vertAlignment != O.Top && this.exportSettings.exportMode != r.StiHtmlExportMode.Table && (a.writeStyleAttribute("display", "table"), a.writeStyleAttribute("border-spacing", "0px")), yt.stimulsoft.is(P) && yt.vertAlignment != O.Top && this.exportSettings.exportMode != r.StiHtmlExportMode.Table && (a.writeStyleAttribute("display", "table"), a.writeStyleAttribute("border-spacing", "0px")), a.write(""); var Ae = this.renderPosition(yt, !0); this.useStylesTable || (-1 != ae && xt.renderStyle(Wt), n.isNullOrEmpty(Zt) || a.writeLine(Ht.get(Zt) + ";overflow:hidden;")); var It = yt.stimulsoft.as(ot) , ye = yt.stimulsoft.as(t.Report.Components.Gauge.IStiGauge) , we = yt.stimulsoft.as(t.Report.Maps.StiMap); if (null != It && this.chartType != r.StiHtmlChartType.Image) a.write('" '), a.writeAttribute("id", this.getGuid(It)), ue = this.renderHyperlink(yt), this.prepareChartData(a, It, Ot.width, Ot.height), ue && a.writeEndTag("a"); else if (null != ye) a.write('" '), a.writeAttribute("id", this.getGuid(ye)), a.write(">"), this.prepareGaugeData(a, ye, Ot.width, Ot.height), (ue = this.renderHyperlink(yt)) && a.writeEndTag("a"); else if (null != we) a.write('" '), a.writeAttribute("id", this.getGuid(we)), a.write(">"), this.prepareMapData(a, we, Ot.width, Ot.height), (ue = this.renderHyperlink(yt)) && a.writeEndTag("a"); else if (yt.stimulsoft.is(t.Report.BarCodes.StiBarCode) || yt.stimulsoft.is(t.Report.Components.StiCheckBox) || yt.stimulsoft.is(t.Report.Components.StiShape)) { a.write('">'); var be = r.StiSvgHelper.saveComponentToString(yt, e.ImageFormat.Jpeg, .75, 100, !1) , ve = n.format('{3}', Math.ceil(Ot.width), Math.ceil(Ot.height), this.zoom, be); a.write(ve) } else if (le) a.write('">'), ue = this.renderHyperlink(yt), this.renderImage(yt), ue && a.writeEndTag("a"); else if (yt.stimulsoft.is(Z) && null != yt.indicator) { var be = r.StiSvgHelper.saveComponentToString(yt, e.ImageFormat.Jpeg, .75, 100, !1) , ve = n.format('{3}', Math.ceil(Ot.width), Math.ceil(Ot.height), this.zoom, be); a.write('">'), a.write(ve) } else { var Ce = yt.stimulsoft.as(Q); null != Ce && this.renderTextDirection(null, Ce.textOptions); var Ee = yt.stimulsoft.is(Z) && !yt.stimulsoft.is(q) , Be = null , Te = !0 , Ie = null != Wt && null != Wt.textOptions && Wt.textOptions.wordWrap; Ee && (Be = yt.text, Te && !Ie && a.write("white-space:nowrap;")), yt.stimulsoft.is(t.Report.BarCodes.StiBarCode) || yt.stimulsoft.is(t.Report.Components.StiCheckBox) || yt.stimulsoft.is(t.Report.Components.StiShape) || a.write('">'), Ie && StiOptions.Export.Html.useWordWrapBreakWordMode && (a.writeBeginTag(this.strSpanDiv), a.write(' style="word-wrap:break-word;width:' + Ae.substr(0, Ae.indexOf(";")) + ';">')), ue = this.renderHyperlink(yt); var xe = !0; if (null == Ce || Ce.textOptions.wordWrap) { if (Ee) { if (null != Be) { var Fe = yt; null != Fe && Fe.textQuality == $.Wysiwyg && !n.isNullOrEmpty(Be) && Be.stimulsoft.endsWith(K.StiForceWidthAlignTag) && (Be = Be.substr(0, Be.length - K.StiForceWidthAlignTag.length)), null != Fe && Fe.checkAllowHtmlTags() ? Be = ct.convertTextWithHtmlTagsToHtmlText(Fe, Be, this.zoom) : (null != Fe && StiOptions.Export.Html.forceWysiwygWordwrap && !Fe.checkAllowHtmlTags() && Fe.textQuality == $.Wysiwyg && null != Ce && Ce.textOptions.wordWrap, StiOptions.Export.Html.replaceSpecialCharacters && (Be = Be.stimulsoft.replaceAll("&", "&").stimulsoft.replaceAll('"', """).stimulsoft.replaceAll("<", "<").stimulsoft.replaceAll(">", ">").stimulsoft.replaceAll(" ", " "))), Fe.vertAlignment == O.Top ? a.write(this.prepareTextForHtml(Be)) : (a.writeBeginTag(this.strSpanDiv + ' style="'), a.writeStyleAttribute("overflow", "hidden"), Fe.vertAlignment == O.Center ? a.writeStyleAttribute("align-items", "center") : a.writeStyleAttribute("align-items", "baseline"), a.writeStyleAttribute("max-width", this.getWidth(Fe)), a.writeStyleAttribute("height", this.getHeight(Fe)), this.renderTextHorAlignment(null, Ce, Fe.horAlignment), this.renderVertAlignment(null, Fe.vertAlignment, Ce, Fe.allowHtmlTags), a.write('">'), a.write(this.prepareTextForHtml(Be)), a.writeEndTag(this.strSpanDiv)) } xe = !1 } } else if (Ee) { if (null != Be) { var Fe = yt; null != Fe && Fe.textQuality == $.Wysiwyg && !n.isNullOrEmpty(Be) && Be.stimulsoft.endsWith(K.StiForceWidthAlignTag) && (Be = Be.substr(0, Be.length - K.StiForceWidthAlignTag.length)), null != Fe && Fe.checkAllowHtmlTags() ? Be = ct.convertTextWithHtmlTagsToHtmlText(Fe, Be, this.zoom) : StiOptions.Export.Html.replaceSpecialCharacters && (Be = Be.stimulsoft.replaceAll("&", "&").stimulsoft.replaceAll('"', """).stimulsoft.replaceAll("<", "<").stimulsoft.replaceAll(">", ">").stimulsoft.replaceAll(" ", " ")), StiOptions.Export.Html.convertDigitsToArabic && Ce.textOptions.rightToLeft && (Be = r.StiExportUtils.convertDigitsToArabic(Be, StiOptions.Export.Html.arabicDigitsType)), Fe.vertAlignment == O.Top ? a.write(this.prepareTextForHtml(Be)) : (a.writeBeginTag(this.strSpanDiv + ' style="'), a.writeStyleAttribute("display", "table-cell"), a.writeStyleAttribute("max-width", this.getWidth(Fe)), Ce.textOptions.trimming != t.System.Drawing.StringTrimming.None && (a.writeStyleAttribute("text-overflow", "ellipsis"), a.writeStyleAttribute("overflow", "hidden"), a.writeStyleAttribute("white-space", "nowrap")), this.renderTextHorAlignment(null, Ce, Fe.horAlignment), this.renderVertAlignment(null, Fe.vertAlignment), a.write('">'), a.write(this.prepareTextForHtml(Be)), a.writeEndTag(this.strSpanDiv)) } xe = !1 } ue && (xe && a.write("
        "), a.writeEndTag("a")), Ie && StiOptions.Export.Html.useWordWrapBreakWordMode && a.writeEndTag(this.strSpanDiv) } a.writeEndTag(this.strSpanDiv), a.writeLine(""), re++ } } } catch (t) { et = { error: t } } finally { try { ne && !ne.done && (rt = ie.return) && rt.call(ie) } finally { if (et) throw et.error } } a.writeLine("\x3c!-- end page --\x3e"), this.startPage += gt.unit.convertToHInches(gt.height) } } catch (t) { X = { error: t } } finally { try { ee && !ee.done && (tt = te.return) && tt.call(te) } finally { if (X) throw X.error } } if (!t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() && (!t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() && !t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || !t.System.NodeJs.isStandaloneVersion) && S.count > 0) { var De = n.format("{3}{0}{2}{4}{1}", String.fromCharCode(114), String.fromCharCode(108), String.fromCharCode(105), String.fromCharCode(84), String.fromCharCode(97)) , Re = S.getByIndex(0).unit.convertToHInches(S.getByIndex(0).clientRectangle) , Pe = Math.trunc(100 * this.zoom); a.writeLine(n.format('
        {4}
        ', this.strSpanDiv, Pe, r.StiHtmlUnit.newUnit(Re.width * this.zoom, StiOptions.Export.Html.printLayoutOptimization), r.StiHtmlUnit.newUnit(Re.height * this.zoom / 2 - Pe, StiOptions.Export.Html.printLayoutOptimization), De)) } this.renderEndPage(), this.renderAsDocument && this.renderChartScripts(), this.renderAsDocument && this.renderGaugeScripts(), this.renderAsDocument && this.renderMapsScripts(), this.renderAsDocument && this.renderEndDoc() } if (nt == r.StiHtmlExportMode.Table) { if (this.currentPassNumber = 0, this.maximumPassNumber = 3, this.tableRender = new r.StiHtmlTableRender(this,s,S), this.isStopped) return; for (var Ht = new C, Ne = Array.create(Boolean, this.tableRender.matrix.coordY.countItems, this.tableRender.matrix.coordX.countItems), ke = 1; ke < this.tableRender.matrix.coordY.countItems; ke++) for (var Me = 1; Me < this.tableRender.matrix.coordX.countItems; Me++) if (!Ne[ke - 1][Me - 1]) { var Oe = this.tableRender.matrix.cells[ke - 1][Me - 1]; if (null != Oe) { for (var _e = 0; _e <= Oe.height; _e++) for (var Le = 0; Le <= Oe.width; Le++) Ne[ke - 1 + _e][Me - 1 + Le] = !0; if (null != Oe.component) { var Vt = Oe.component.tagValue; if (!n.isNullOrEmpty(Vt)) for (var zt = r.StiMatrix.splitTag(Vt), Xt = 0; Xt < zt.length; Xt++) if (zt[Xt].toLowerCase().stimulsoft.startsWith("css")) { var Kt = r.StiMatrix.getStringsFromTag(zt[Xt], 3); if (Kt.length > 1) { var Zt = Kt[0].trim(); Ht.set(Zt, Kt[1].trim()); break } } } } } for (var qt = 0, $t = 0; $t < S.count; $t++) { var gt = S.getByIndex($t); this.renderWatermarkImage(a, gt, qt), this.renderWatermarkText(a, gt, qt), qt += gt.unit.convertToHInches(gt.clientRectangle).height } if (this.renderAsDocument && this.renderStartDoc(this.tableRender, !0, at, lt, bt, Ht, S, s.encoding), !this.renderAsDocument && at && this.renderBookmarkScript(), at && (this.htmlWriter.writeBeginTag("table"), this.pageHorAlignment != D.Left && this.htmlWriter.writeAttribute("width", "100%"), StiOptions.Export.Html.useExtendedStyle && this.htmlWriter.writeAttribute("class", "sBaseStyleFix"), this.htmlWriter.write(">"), StiOptions.Export.Html.useExtendedStyle && (a.writeBeginTag("tbody"), a.writeAttribute("class", "sBaseStyleFix"), a.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(i.bookmark, st, mt), 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++), !t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() && (!t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() && !t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || !t.System.NodeJs.isStandaloneVersion) && S.count > 0) { var De = n.format("{3}{0}{2}{4}{1}", String.fromCharCode(114), String.fromCharCode(108), String.fromCharCode(105), String.fromCharCode(84), String.fromCharCode(97)) , Re = S.getByIndex(0).unit.convertToHInches(S.getByIndex(0).clientRectangle) , Pe = Math.trunc(100 * this.zoom); a.writeLine(n.format('
        {4}
        ', this.strSpanDiv, Pe, r.StiHtmlUnit.newUnit(Re.width * this.zoom, StiOptions.Export.Html.printLayoutOptimization), r.StiHtmlUnit.newUnit(Re.height * this.zoom / 2 - Pe, StiOptions.Export.Html.printLayoutOptimization), De)) } if (!lt) { var gt = S.count > 0 ? S.getByIndex(0) : null , je = null != gt && null != gt.watermark && ((null != gt.watermark.image || !n.isNullOrEmpty(gt.watermark.imageHyperlink)) && gt.watermark.showImageBehind || !n.isNullOrEmpty(gt.watermark.text) && gt.watermark.showBehind); this.tableRender.renderTable(!this.renderAsDocument && this.renderStyles, null, at, lt, Ht, je) } at && (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() } a.flush() } finally { i = null, this.clearOnFinish && this.clear() } } , ct.fontScale = new C, ct }(r.StiExportService); r.StiHtmlExportService = lt; var ut = function() { function t() {} return t }(); r.StiBookmarkTreeNode = ut }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Report.Dashboard.IStiDashboard , n = t.System.Type , o = t.Base.Localization.StiLocalization , a = function(t) { function a() { var e = t.call(this) || this; return e.exportNameInMenu = o.get("Export", "ExportTypeImageFile"), e.position = r.StiExportPosition.Image, e.multipleFiles = !0, e } return __extends(a, t), Object.defineProperty(a.prototype, "defaultExtension", { get: function() { if (this.imageSettings.stimulsoft.is(r.StiSvgExportSettings) || this.imageSettings.imageType == r.StiImageType.Svg) return "svg"; return "jpeg" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "exportFormat", { get: function() { if (null != this.imageSettings && n.getType(this.imageSettings) == r.StiImageExportSettings) return e.StiExportFormat.Image; if (this.imageSettings.stimulsoft.is(r.StiSvgExportSettings) || this.imageSettings.imageType == r.StiImageType.Svg) return e.StiExportFormat.ImageSvg; return e.StiExportFormat.Image }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "groupCategory", { get: function() { return this.stimulsoft.is(r.StiSvgExportService) ? "Meta" : "Image" }, enumerable: !0, configurable: !0 }), a.prototype.getFilter = function() { if (this.imageSettings.stimulsoft.is(r.StiSvgExportSettings) || this.imageSettings.imageType == r.StiImageType.Svg) return o.get("FileFilters", "SvgFiles"); return o.get("FileFilters", "JpegFiles") } , a.prototype.exportTo = function(t, e, r) { this.exportImage(t, e, r) } , a.prototype.exportImage = function(t, r, n) { if (null == n && (n = this.getSettings()), n.getExportFormat() == e.StiExportFormat.ImagePng && !t.isDocument && t.getCurrentPage().stimulsoft.is(i)) return; try { this.exportImage1(t, r, n) } finally {} } , a.prototype.getSettings = function() { if (this.stimulsoft.is(r.StiSvgExportService)) return new r.StiImageExportSettings(r.StiImageType.Svg); return new r.StiImageExportSettings(r.StiImageType.Jpeg) } , a.prototype.exportImage1 = function(t, e, i) { var n, o; if (null == i) throw new Error("The 'settings' argument cannot be equal in null."); this.imageSettings = i; var a = i.pageRange , s = i.imageZoom , l = i.imageResolution , u = i.cutEdges , c = i.imageFormat , m = i.ditheringType , p = i.tiffCompressionScheme; this.multipleFiles = i.multipleFiles; var h = a.getSelectedPages(t.renderedPages) , d = "" , g = 1 , f = i.imageType; f != r.StiImageType.Emf || StiOptions.Engine.fullTrust || (f = r.StiImageType.Png); try { for (var S = __values(h.list), A = S.next(); !A.done; A = S.next()) { var y = A.value; if (h.getPage(y), this.invokeExporting(y, h, 0, 1), this.isStopped) return; (f != r.StiImageType.Tiff || this.multipleFiles) && f != r.StiImageType.Emf && (f == r.StiImageType.Pcx || f == r.StiImageType.Bmp && c == r.StiImageFormat.Monochrome || (f == r.StiImageType.Svg || f == r.StiImageType.Svgz ? e.ref += r.StiSvgHelper.saveToString(t, y, f == r.StiImageType.Svgz) : f == r.StiImageType.Tiff && r.StiTiffCompressionScheme.Default)) } } catch (t) { n = { error: t } } finally { try { A && !A.done && (o = S.return) && o.call(S) } finally { if (n) throw n.error } } } , a }(r.StiExportService); r.StiImageExportService = a }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Localization.StiLocalization , i = function(t) { function e() { var e = null !== t && t.apply(this, arguments) || this; return e.exportNameInMenu = r.get("Export", "ExportTypeSvgFile"), e } return __extends(e, t), e.prototype.getFilter = function() { return r.get("FileFilters", "SvgFiles") } , e }(e.StiImageExportService); e.StiSvgExportService = i }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Report.Dashboard.StiDashboardExport , o = t.Report.Dashboard.IStiDashboard , a = t.System.Collections.Hashtable , s = t.System.Drawing.Color , l = t.System.Char , u = t.Report.Components.StiPagesCollection , c = t.System.Drawing.Size , m = t.Base.Drawing.StiTextHorAlignment , p = t.Base.Drawing.StiPenStyle , h = t.Base.Drawing.StiVertAlignment , d = t.Report.Components.StiText , g = t.Base.Drawing.StiBrush , f = t.System.Text.StringBuilder , S = t.Report.Components.IStiExportImageExtended , A = t.System.Text.Encoding , y = t.Base.Drawing.StiTextRenderer , w = t.Report.Components.StiRichText , b = t.System.IO.MemoryStream , v = t.System.Xml.XmlTextWriter , C = t.System.DateTime , E = t.Report.Components.StiCheckBox , B = t.Base.Zip.StiZipWriter20 , T = t.System.Globalization.CultureInfo , I = t.Report.Components.StiPageOrientation , x = t.Base.Drawing.StiHtmlState , F = t.Base.Drawing.StiHtmlTagsState , D = function(D) { function L() { var t = null !== D && D.apply(this, arguments) || this; return t.matrix = null, t.fontList = null, t.fillList = null, t.borderList = null, t.xfList = null, t.sstList = null, t.sstHash = null, t.sstHashIsTags = null, t.imageList = null, t.formatList = null, t.sstCount = 0, t.sheetNameList = null, t.imageListOffset = 0, t.printAreasList = null, t.matrixList = null, t.firstPageIndexList = null, t.hyperlinkList = null, t.minRowList = null, t.maxRowList = null, t.useOnePageHeaderAndFooter = !1, t.exportDataOnly = !1, t.exportObjectFormatting = !0, t.exportEachPageToSheet = !1, t.exportHorizontalPageBreaks = !1, t.imageResolution = 1, t.imageQuality = .75, t.imageCache = null, t.restrictEditing = r.StiExcel2007RestrictEditing.No, t.reportCulture = null, t.docCompanyString = null, t.docLastModifiedString = null, t.xmlIndentation = 1, t.wrongUrlSymbols = " \"#'*,;<>[^`{|}", t.refChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ", t.HiToTwips = 14.4 / 20 * 1.01, t.TwipsToColinfo = 2.438 * .976 * .075, t } return __extends(L, D), L.prototype.getDefaultExtension = function() { return "xlsx" } , L.prototype.exportTo = function(t, e, r) { this.exportExcel(t, e, r) } , L.prototype.exportToAsync = function(e, r, i, a) { var s = this; t.Report.Export.StiExportImageHelper.convertAllImages(r, t.System.Drawing.Imaging.ImageFormat.Jpeg).try(function() { if (!r.isDocument && r.getCurrentPage().stimulsoft.is(o)) return void n.exportAsync(r, i, a).try(function() { return e() }); s.exportTo(r, i, a), e() }) } , L.prototype.getLineStyle = function(t) { var e = p.None , r = 0 , i = 1.5; switch (null != t && (e = t.style, r = t.size), e) { case p.Solid: if (r > 3) return "thick"; if (r > i) return "medium"; return "thin"; case p.Dot: if (r > i) return "dotted"; return "hair"; case p.Dash: if (r > i) return "mediumDashed"; return "dashed"; case p.DashDot: if (r > i) return "mediumDashDot"; return "dashDot"; case p.DashDotDot: if (r > i) return "mediumDashDotDot"; return "dashDotDot"; case p.Double: return "double"; default: return null } } , L.prototype.getRefString = function(t, e) { var r = Math.trunc(t / 26) , i = Math.trunc(t % 26) , n = new f; return r > 0 && n.append(this.refChars.charAt(r - 1)), n.append(this.refChars.charAt(i)), n.append((e + 1).toString()), n.toString() } , L.prototype.getRefAbsoluteString = function(t, e) { var r = Math.trunc(t / 26) , i = Math.trunc(t % 26) , n = new f; return n.append("$"), r > 0 && n.append(this.refChars.charAt(r - 1)), n.append(this.refChars.charAt(i)), n.append("$"), n.append((e + 1).toString()), n.toString() } , L.prototype.floatToString = function(t) { return t.toString().stimulsoft.replaceAll(",", ".") } , L.prototype.stringToUrl = function(t) { for (var e = new f, r = 0; r < t.length; r++) { var n = t.charAt(r); if ("'" == n) continue; n.charCodeAt(0) < 32 || -1 != this.wrongUrlSymbols.indexOf(n) ? e.append(i.format("%{0:x2}", n.charCodeAt(0))) : e.append(n) } return e.toString() } , L.prototype.getFontNumber = function(t) { if (this.fontList.length > 0) for (var e = 0; e < this.fontList.length; e++) if (this.fontList[e].stimulsoft.equals(t)) return e; return this.fontList.add(t), this.fontList.length - 1 } , L.prototype.getFillNumber = function(t) { if (this.fillList.length > 0) for (var e = 0; e < this.fillList.length; e++) if (this.fillList[e].stimulsoft.equals(t)) return e; return this.fillList.add(t), this.fillList.length - 1 } , L.prototype.getBorderNumber = function(t) { if (this.borderList.length > 0) for (var e = 0; e < this.borderList.length; e++) if (this.borderList[e].stimulsoft.equals(t)) return e; return this.borderList.add(t), this.borderList.length - 1 } , L.prototype.getXFNumber = function(t) { if (this.xfList.length > 0) for (var e = 0; e < this.xfList.length; e++) if (this.xfList[e].equalDataXF(t)) return e; return this.xfList.add(t), this.xfList.length - 1 } , L.prototype.getSSTNumber = function(t) { if (this.sstCount++, this.sstList.length > 0 && this.sstHash.containsKey(t)) return this.sstHash.get(t); this.sstList.add(t); var e = this.sstList.length - 1; return this.sstHash.add(t, e), e } , L.prototype.getFormatNumber = function(t) { if (this.formatList.length > 0) for (var e = 0; e < this.formatList.length; e++) if (this.formatList[e] == t) return e + 164; return this.formatList.add(t), this.formatList.length - 1 + 164 } , L.prototype.convert = function(t) { return t * this.HiToTwips } , L.prototype.compareExcellSheetNames = function(t, e) { var r = t; null != r && 0 != r.length || (r = ""); var i = e; return null != i && 0 != i.length || (i = ""), r == i } , L.prototype.prepareData = function() { this.fontList = new Array, this.fillList = new Array, this.borderList = new Array, this.xfList = new Array, this.sstList = new Array, this.sstHash = new a, this.sstHashIsTags = new a, this.imageList = new Array, this.formatList = new Array, this.sheetNameList = new Array, this.sstCount = 0, this.printAreasList = new Array, this.matrixList = new Array, this.firstPageIndexList = new Array, this.minRowList = new Array, this.maxRowList = new Array, this.imageCache = new e.StiImageCache(StiOptions.Export.Excel.AllowImageComparer,!0,e.ImageFormat.Jpeg,this.imageQuality,!1); var t = new R("Arial",!1,!1,!1,!1,10,s.black,1,0); this.getFontNumber(t); var r = new P("none",s.transparent,s.black); this.getFillNumber(r), r = new P("gray125",s.transparent,s.black), this.getFillNumber(r); var i = new N(null,null,null,null); this.getBorderNumber(i); var n = new k(0,0,0,0,0,m.Left,h.Bottom,0,!1,!1,!1); this.getXFNumber(n) } , L.prototype.writeContentTypes = function() { var t = new b , e = new v(A.UTF8,t); e.writeStartDocument(), e.writeStartElement("Types"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/content-types"), e.writeStartElement("Default"), e.writeAttributeString("Extension", "rels"), e.writeAttributeString("ContentType", "application/vnd.openxmlformats-package.relationships+xml"), e.writeEndElement(), e.writeStartElement("Default"), e.writeAttributeString("Extension", "xml"), e.writeAttributeString("ContentType", "application/xml"), e.writeEndElement(), e.writeStartElement("Default"), e.writeAttributeString("Extension", "jpeg"), e.writeAttributeString("ContentType", "image/jpeg"), e.writeEndElement(), e.writeStartElement("Default"), e.writeAttributeString("Extension", "png"), e.writeAttributeString("ContentType", "image/png"), e.writeEndElement(), e.writeStartElement("Default"), e.writeAttributeString("Extension", "vml"), e.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.vmlDrawing"), e.writeEndElement(), e.writeStartElement("Override"), e.writeAttributeString("PartName", "/docProps/app.xml"), e.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.extended-properties+xml"), e.writeEndElement(), e.writeStartElement("Override"), e.writeAttributeString("PartName", "/docProps/core.xml"), e.writeAttributeString("ContentType", "application/vnd.openxmlformats-package.core-properties+xml"), e.writeEndElement(), e.writeStartElement("Override"), e.writeAttributeString("PartName", "/xl/workbook.xml"), e.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"), e.writeEndElement(); for (var r = 0; r < this.sheetNameList.length; r++) e.writeStartElement("Override"), e.writeAttributeString("PartName", i.format("/xl/worksheets/sheet{0}.xml", r + 1)), e.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"), e.writeEndElement(); e.writeStartElement("Override"), e.writeAttributeString("PartName", "/xl/styles.xml"), e.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"), e.writeEndElement(); for (var r = 0; r < this.sheetNameList.length; r++) e.writeStartElement("Override"), e.writeAttributeString("PartName", i.format("/xl/drawings/drawing{0}.xml", r + 1)), e.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.drawing+xml"), e.writeEndElement(); return this.sstList.length > 0 && (e.writeStartElement("Override"), e.writeAttributeString("PartName", "/xl/sharedStrings.xml"), e.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"), e.writeEndElement()), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , L.prototype.writeMainRels = function() { var t = new b , e = new v(A.UTF8,t); return e.writeStartDocument(), e.writeStartElement("Relationships"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"), e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId1"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"), e.writeAttributeString("Target", "xl/workbook.xml"), e.writeEndElement(), e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId2"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"), e.writeAttributeString("Target", "docProps/core.xml"), e.writeEndElement(), e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId3"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"), e.writeAttributeString("Target", "docProps/app.xml"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , L.prototype.writeDocPropsApp = function() { var t = new b , e = new v(A.UTF8,t); e.writeStartDocument(), e.writeStartElement("Properties"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"), e.writeAttributeString("xmlns:vt", "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"), e.writeElementString("Application", "Microsoft Excel"), e.writeElementString("DocSecurity", "0"), e.writeElementString("ScaleCrop", "false"), e.writeElementString("Company", null == this.docCompanyString ? "" : this.docCompanyString), e.writeElementString("LinksUpToDate", "false"), e.writeElementString("SharedDoc", "false"), e.writeElementString("HyperlinksChanged", "false"), e.writeElementString("AppVersion", "12.0000"), e.writeStartElement("HeadingPairs"), e.writeStartElement("vt:vector"), e.writeAttributeString("size", "4"), e.writeAttributeString("baseType", "variant"), e.writeStartElement("vt:variant"), e.writeElementString("vt:lpstr", "Worksheets"), e.writeEndElement(), e.writeStartElement("vt:variant"), e.writeElementString("vt:i4", i.format("{0}", this.sheetNameList.length)), e.writeEndElement(), e.writeStartElement("vt:variant"), e.writeElementString("vt:lpstr", "Named Ranges"), e.writeEndElement(), e.writeStartElement("vt:variant"), e.writeElementString("vt:i4", i.format("{0}", this.sheetNameList.length)), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("TitlesOfParts"), e.writeStartElement("vt:vector"), e.writeAttributeString("size", i.format("{0}", 2 * this.sheetNameList.length)), e.writeAttributeString("baseType", "lpstr"); for (var r = 0; r < this.sheetNameList.length; r++) e.writeElementString("vt:lpstr", this.sheetNameList[r]); for (var r = 0; r < this.sheetNameList.length; r++) e.writeElementString("vt:lpstr", i.format("'{0}'!Print_Area", this.sheetNameList[r])); return e.writeEndElement(), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , L.prototype.writeDocPropsCore = function() { var e = new b , r = new v(A.UTF8,e); r.writeStartDocument(), r.writeStartElement("cp:coreProperties"), r.writeAttributeString("xmlns:cp", "http://schemas.openxmlformats.org/package/2006/metadata/core-properties"), r.writeAttributeString("xmlns:dc", "http://purl.org/dc/elements/1.1/"), r.writeAttributeString("xmlns:dcterms", "http://purl.org/dc/terms/"), r.writeAttributeString("xmlns:dcmitype", "http://purl.org/dc/dcmitype/"), r.writeAttributeString("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); var n = i.format("{0}{1}", C.now.toString("yyyy-MM-dd"), C.now.toString("THH:mm:ssZ")); return r.writeElementString("dc:title", null == this.report.reportName ? "" : this.report.reportName), r.writeElementString("dc:subject", null == this.report.reportAlias ? "" : this.report.reportAlias), r.writeElementString("dc:creator", null == this.report.reportAuthor ? "" : this.report.reportAuthor), r.writeElementString("dc:description", null == this.report.reportDescription ? "" : this.report.reportDescription), r.writeElementString("cp:lastModifiedBy", null == this.docLastModifiedString ? "" : this.docLastModifiedString), r.writeStartElement("dcterms:created"), r.writeAttributeString("xsi:type", "dcterms:W3CDTF"), r.writeString(n), r.writeEndElement(), r.writeStartElement("dcterms:modified"), r.writeAttributeString("xsi:type", "dcterms:W3CDTF"), r.writeString(n), r.writeEndElement(), r.writeElementString("cp:contentStatus", t.StiVersion.platform()), r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , L.prototype.writeWorkbookRels = function() { var t = new b , e = new v(A.UTF8,t); e.writeStartDocument(), e.writeStartElement("Relationships"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"); for (var r = 0; r < this.sheetNameList.length; r++) e.writeStartElement("Relationship"), e.writeAttributeString("Id", i.format("rId{0}", r + 1)), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"), e.writeAttributeString("Target", i.format("worksheets/sheet{0}.xml", r + 1)), e.writeEndElement(); return e.writeStartElement("Relationship"), e.writeAttributeString("Id", i.format("rId{0}", this.sheetNameList.length + 2)), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"), e.writeAttributeString("Target", "styles.xml"), e.writeEndElement(), this.sstCount > 0 && (e.writeStartElement("Relationship"), e.writeAttributeString("Id", i.format("rId{0}", this.sheetNameList.length + 3)), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"), e.writeAttributeString("Target", "sharedStrings.xml"), e.writeEndElement()), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , L.prototype.writeWorkbook = function() { var t = new b , e = new v(A.UTF8,t); e.writeStartDocument(), e.writeStartElement("workbook"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"), e.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), e.writeStartElement("fileVersion"), e.writeAttributeString("appName", "xl"), e.writeAttributeString("lastEdited", "4"), e.writeAttributeString("lowestEdited", "4"), e.writeAttributeString("rupBuild", "4505"), e.writeEndElement(), e.writeStartElement("workbookPr"), e.writeAttributeString("defaultThemeVersion", "124226"), e.writeEndElement(), e.writeStartElement("bookViews"), e.writeStartElement("workbookView"), e.writeAttributeString("xWindow", "120"), e.writeAttributeString("yWindow", "15"), e.writeAttributeString("windowWidth", "18975"), e.writeAttributeString("windowHeight", "11955"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("sheets"); for (var r = 0; r < this.sheetNameList.length; r++) e.writeStartElement("sheet"), e.writeAttributeString("name", this.sheetNameList[r]), e.writeAttributeString("sheetId", i.format("{0}", r + 1)), e.writeAttributeString("r:id", i.format("rId{0}", r + 1)), e.writeEndElement(); e.writeEndElement(), e.writeStartElement("definedNames"); for (var r = 0; r < this.sheetNameList.length; r++) { var n = this.printAreasList[r]; n.height > 1048575 && (n.height = 1048575), n.width > 16383 && (n.width = 16383); var o = this.getRefAbsoluteString(n.width, n.height); e.writeStartElement("definedName"), e.writeAttributeString("name", "_xlnm.Print_Area"), e.writeAttributeString("localSheetId", i.format("{0}", r)), e.writeString(i.format("'{0}'!$A$1:{1}", this.sheetNameList[r], o)), e.writeEndElement() } return e.writeEndElement(), e.writeStartElement("calcPr"), e.writeAttributeString("calcId", "124519"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , L.prototype.writeSheetRels = function(e) { var r = new b , n = new v(A.UTF8,r); if (n.writeStartDocument(), n.writeStartElement("Relationships"), n.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"), this.imageList.length - this.imageListOffset > 0 && (n.writeStartElement("Relationship"), n.writeAttributeString("Id", i.format("rId{0}", 1)), n.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing"), n.writeAttributeString("Target", i.format("../drawings/drawing{0}.xml", e + 1)), n.writeEndElement()), this.hyperlinkList.length > 0) for (var o = 0; o < this.hyperlinkList.length; o++) n.writeStartElement("Relationship"), n.writeAttributeString("Id", i.format("rId{0}", 2 + o)), n.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"), n.writeAttributeString("Target", this.hyperlinkList[o]), n.writeAttributeString("TargetMode", "External"), n.writeEndElement(); return t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion || (n.writeStartElement("Relationship"), n.writeAttributeString("Id", "dId1"), n.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing"), n.writeAttributeString("Target", "../drawings/vmlDrawingAdditional.vml"), n.writeEndElement()), n.writeFullEndElement(), n.writeEndDocument(), n.flush(), r } , L.prototype.writeSheet = function(n, o) { var a = new b , u = new v(A.UTF8,a); u.writeStartDocument(), u.writeStartElement("worksheet"), u.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"), u.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), StiOptions.Export.Excel.FitToOnePageWide && (u.writeStartElement("sheetPr"), u.writeStartElement("pageSetUpPr"), u.writeAttributeString("fitToPage", "1"), u.writeEndElement(), u.writeEndElement()), this.matrix = this.matrixList[n]; var m = this.minRowList[n] , p = this.maxRowList[n] , h = new c(this.matrix.coordX.countItems - 2,p - m - 1); h.width < 0 && (h.width = 0), h.height < 0 && (h.height = 0), this.printAreasList.add(h); var g = new Array; u.writeStartElement("dimension"), u.writeAttributeString("ref", i.format("{0}:{1}", this.getRefString(0, 0), this.getRefString(h.width, h.height))), u.writeEndElement(); var y = 0 , C = 0; if (StiOptions.Export.Excel.AllowFreezePanes) for (var B = m; B < p; B++) for (var T = 0; T < this.matrix.coordX.countItems - 1; T++) { var x = this.matrix.cells[B][T]; if (null != x && null != x.component && (x.component.locked || null != x.component.tagValue && x.component.tagValue.toString().contains("excelfreezepanes"))) { var F = x.component.componentPlacement; if (null != F && F.length > 0 && (F.stimulsoft.startsWith("rt") || F.stimulsoft.startsWith("ph") || F.stimulsoft.startsWith("h"))) { y = x.left, C = x.top + x.height + 1; break } } } u.writeStartElement("sheetViews"), u.writeStartElement("sheetView"), StiOptions.Export.Excel.ColumnsRightToLeft && u.writeAttributeString("rightToLeft", "1"), StiOptions.Export.Excel.ShowGridLines || u.writeAttributeString("showGridLines", "0"), u.writeAttributeString("tabSelected", "1"), u.writeAttributeString("workbookViewId", "0"), 0 == y && 0 == C ? (u.writeStartElement("selection"), u.writeAttributeString("activeCell", "A1"), u.writeAttributeString("sqref", "A1"), u.writeEndElement()) : 0 == y ? (u.writeStartElement("pane"), u.writeAttributeString("ySplit", C.toString()), u.writeAttributeString("topLeftCell", this.getRefString(y, C)), u.writeAttributeString("activePane", "bottomLeft"), u.writeAttributeString("state", "frozen"), u.writeEndElement(), u.writeStartElement("selection"), u.writeAttributeString("pane", "bottomLeft"), u.writeAttributeString("activeCell", this.getRefString(0, C)), u.writeAttributeString("sqref", this.getRefString(0, C)), u.writeEndElement()) : (u.writeStartElement("pane"), u.writeAttributeString("xSplit", y.toString()), u.writeAttributeString("ySplit", C.toString()), u.writeAttributeString("topLeftCell", this.getRefString(y, C)), u.writeAttributeString("activePane", "bottomRight"), u.writeAttributeString("state", "frozen"), u.writeEndElement(), u.writeStartElement("selection"), u.writeAttributeString("pane", "topRight"), u.writeAttributeString("activeCell", this.getRefString(y, 0)), u.writeAttributeString("sqref", this.getRefString(y, 0)), u.writeEndElement(), u.writeStartElement("selection"), u.writeAttributeString("pane", "bottomLeft"), u.writeAttributeString("activeCell", this.getRefString(0, C)), u.writeAttributeString("sqref", this.getRefString(0, C)), u.writeEndElement(), u.writeStartElement("selection"), u.writeAttributeString("pane", "bottomRight"), u.writeAttributeString("activeCell", this.getRefString(y, C)), u.writeAttributeString("sqref", this.getRefString(y, C)), u.writeEndElement()), u.writeEndElement(), u.writeEndElement(), u.writeStartElement("sheetFormatPr"), u.writeAttributeString("defaultRowHeight", i.format("{0}", 15)), u.writeEndElement(); var D = this.matrix.coordX.getKeys() , L = this.matrix.coordY.getKeys(); if (this.exportObjectFormatting) { u.writeStartElement("cols"); for (var j = 0; j < this.matrix.coordX.countItems - 1; j++) { var H = this.matrix.coordX.getByIndex(j + 1, D) , G = this.matrix.coordX.getByIndex(j, D) , Q = this.convert(H - G) * this.TwipsToColinfo; u.writeStartElement("col"), u.writeAttributeString("min", i.format("{0}", j + 1)), u.writeAttributeString("max", i.format("{0}", j + 1)), u.writeAttributeString("width", i.format("{0}", Q)), u.writeAttributeString("customWidth", "1"), u.writeEndElement() } u.writeEndElement() } var Y = null , U = Array.create(Boolean, p + 1, this.matrix.coordX.countItems) , J = Array.create(Number, p + 1, this.matrix.coordX.countItems) , W = new Array , V = new Array; u.writeStartElement("sheetData"); for (var B = m; B < p; B++) { var z = this.matrix.coordY.getByIndex(B + 1, L) - this.matrix.coordY.getByIndex(B, L); u.writeStartElement("row"), u.writeAttributeString("r", i.format("{0}", B + 1 - m)), u.writeAttributeString("spans", i.format("{0}:{1}", 1, this.matrix.coordX.countItems - 1)), this.exportObjectFormatting && (u.writeAttributeString("ht", i.format("{0}", this.convert(z))), u.writeAttributeString("customHeight", "1")); for (var T = 0; T < this.matrix.coordX.countItems - 1; T++) { var x = this.matrix.cells[B][T]; if (U[B] && 0 == U[B][T] && null != x) { U[B][T] = !0; var X = x.component.stimulsoft.as(w) , K = x.component.stimulsoft.as(d) , Z = x.text , q = x.component.stimulsoft.as(E) , $ = !1; null != q && null != q.excelDataValue && q.excelDataValue.length > 0 && ($ = !0, Z = q.excelDataValue); var tt = null; if (null != x.component.hyperlinkValue && (tt = x.component.hyperlinkValue.toString().trim(), tt.length > 0 && !tt.stimulsoft.startsWith("javascript:"))) { var et = Z; null != et && 0 != et.length || (et = tt); var rt = new O(B - m,B - m + x.height,T,T + x.width) , it = new _(rt,et,tt); V.add(it) } var nt = !1 , ot = x.component.stimulsoft.as(S); if (null != ot) { var at = this.imageResolution , st = null; if (x.component.isExportAsImage(e.StiExportFormat.Excel2007)) { var lt = { ref: this.imageResolution }; st = ot.getImage(lt, e.StiExportFormat.Excel) } if (null != st) { var ut = this.matrix.getRealImageData(x, st); null != ut && (st = ut); var ct = this.imageCache.addImageIntRaw(st, st.imageFormat) , mt = new M(B - m,0,T,0,B - m + 1 + x.height,0,T + 1 + x.width,0,ct,tt); this.imageList.add(mt), nt = !0 } } var pt = !1; if (null != x.component && null != x.component.tagValue) { -1 != x.component.tagValue.toString().toLowerCase().indexOf("exceltext") && (pt = !0, g.add(this.getRefString(T, B))) } var ht = ""; null != K && (ht = K.format); var dt = !1 , gt = !1 , ft = !1 , St = !1 , At = !1 , yt = !1 , wt = !1 , bt = "" , vt = 2 , Ct = 0 , Et = this.reportCulture.numberFormat.currencySymbol , Bt = 0 == this.reportCulture.numberFormat.currencyPositivePattern || 2 == this.reportCulture.numberFormat.currencyPositivePattern , Tt = !1 , It = null != K && K.hideZeros , xt = null , Ft = null , Dt = ht.indexOf("|"); if (-1 != Dt && (xt = r.StiExportUtils.getPositivePattern(ht.charCodeAt(Dt + 1) - 65), Ft = r.StiExportUtils.getNegativePattern(ht.charCodeAt(Dt + 2) - 65), ht = ht.substr(0, Dt)), null != ht && ht.length > 0) if ("C" == ht[0] ? dt = !0 : "N" == ht[0] ? gt = !0 : "P" == ht[0] ? ft = !0 : "D" == ht[0] ? St = !0 : "T" == ht[0] ? At = !0 : "U" == ht[0] && (yt = !0), 1 == ht.length) wt = !0; else if (dt || gt || ft) { var Rt = 1; if (l.isDigit(ht[Rt])) { var Pt = new f; while (Rt < ht.length && l.isDigit(ht[Rt])) Pt.append(ht[Rt]), Rt++; vt = parseInt(Pt.toString()) } Rt < ht.length && "G" == ht[Rt] && (Rt++, Ct = 3), Rt < ht.length && "(" == ht[Rt] && (Rt++, Tt = !0), Rt < ht.length && ("." == ht[Rt] || "," == ht[Rt]) && Rt++, Rt < ht.length && ("+" == ht[Rt] || "-" == ht[Rt]) && ("+" == ht[Rt] && (Bt = !0), Rt++, Et = Rt < ht.length ? ht.substring(Rt) : "") } if (dt || gt || ft || (wt = !0), dt && wt && (wt = !1), It && !i.isNullOrEmpty(ht) && (wt = !1), pt && (wt = !0), !wt) if (-1 != Dt) { var Nt = new f; Ct > 1 && (Nt.append("#,"), Nt.appendCount("#", Ct - 1)), Nt.append("0"), vt > 0 && (Nt.append("."), Nt.appendCount("0", vt)); var kt = Nt.toString() , Mt = xt.stimulsoft.replaceAll("n", kt).stimulsoft.replaceAll("$", '"' + Et + '"') , Ot = Ft.stimulsoft.replaceAll("n", kt).stimulsoft.replaceAll("$", '"' + Et + '"'); bt = Mt + ";" + Ot + (It ? ";" : "") } else { var Nt = new f; dt && 1 == Bt && (Nt.append('"'), Nt.append(Et), Nt.append('"')), Ct > 1 && (Nt.append("#,"), Nt.appendCount("#", Ct - 1)), Nt.append("0"), vt > 0 && (Nt.append("."), Nt.appendCount("0", vt)), dt && 0 == Bt && (Nt.append('"'), Nt.append(Et), Nt.append('"')), ft && Nt.append("%"), bt = Nt.toString(); var Ot = (Tt ? "(" : "-") + bt + (Tt ? ")" : ""); It ? bt = bt + ";" + Ot + ";" : Tt && (bt = bt + ";" + Ot) } var _t = 0; wt ? (gt && (_t = 4), ft && (_t = 10), St && (_t = 14), At && (_t = 21), pt && (_t = 49)) : _t = this.getFormatNumber(bt); var Lt = 0; if (this.exportObjectFormatting) { var jt = x.cellStyle , Ht = new R(jt.font.name,jt.font.bold,jt.font.italic,jt.font.underline,jt.font.strikeout,Math.round(jt.font.sizeInPoints),jt.textColor,1,0); $ && (Ht = new R(StiOptions.Export.CheckBoxReplacementForExcelValue.Font.name,StiOptions.Export.CheckBoxReplacementForExcelValue.Font.bold,StiOptions.Export.CheckBoxReplacementForExcelValue.Font.italic,StiOptions.Export.CheckBoxReplacementForExcelValue.Font.underline,StiOptions.Export.CheckBoxReplacementForExcelValue.Font.strikeout,Math.round(StiOptions.Export.CheckBoxReplacementForExcelValue.Font.sizeInPoints),jt.textColor,1,0)); var Gt = new P("solid",jt.color,jt.color); nt && (Gt = new P("solid",s.transparent,s.transparent)); for (var Qt = !0, Yt = !0, Ut = 0; Ut < x.height + 1; Ut++) null == this.matrix.bordersY[x.top + Ut][x.left] && (Qt = !1), null == this.matrix.bordersY[x.top + Ut][x.left + x.width + 1] && (Yt = !1); for (var Jt = !0, Wt = !0, Ut = 0; Ut < x.width + 1; Ut++) null == this.matrix.bordersX[x.top][x.left + Ut] && (Jt = !1), null == this.matrix.bordersX[x.top + x.height + 1][x.left + Ut] && (Wt = !1); var Vt = new N(Qt ? this.matrix.bordersY[x.top][x.left] : null,Yt ? this.matrix.bordersY[x.top][x.left + x.width + 1] : null,Jt ? this.matrix.bordersX[x.top][x.left] : null,Wt ? this.matrix.bordersX[x.top + x.height + 1][x.left] : null) , zt = !1; null != jt.textOptions && (zt = jt.textOptions.rightToLeft); var Xt = !1; null != jt.textOptions && (Xt = jt.textOptions.wordWrap), i.isNullOrEmpty(Z) || (-1 == Z.indexOf("\r") && -1 == Z.indexOf("\n") || (Xt = !0), null == K || !K.checkAllowHtmlTags() || -1 == Z.indexOf("= 0 && Zt <= 90 && (Kt = Zt), Zt >= 270 && Zt < 360 && (Kt = 360 - Zt + 90) } var qt = this.restrictEditing == r.StiExcel2007RestrictEditing.ExceptEditableFields && null != x.component && x.component.stimulsoft.is(d) && x.component.stimulsoft.as(d).Editable , $t = new k(_t,this.getFontNumber(Ht),this.getFillNumber(Gt),this.getBorderNumber(Vt),0,$ ? StiOptions.Export.CheckBoxReplacementForExcelValue.HorAlignment : jt.horAlignment,$ ? StiOptions.Export.CheckBoxReplacementForExcelValue.VertAlignment : jt.vertAlignment,Kt,Xt,zt,qt); Lt = this.getXFNumber($t) } if (u.writeStartElement("c"), u.writeAttributeString("r", this.getRefString(T, B - m)), u.writeAttributeString("s", Lt.toString()), this.exportObjectFormatting) { for (var te = 0; te <= x.width; te++) for (var ee = 0; ee <= x.height; ee++) U[B + ee][T + te] = !0, J[B + ee][T + te] = Lt; if (x.width > 0 || x.height > 0) { var re = new O(B - m,B - m + x.height,T,T + x.width); W.add(re) } } else U[B][T] = !0, J[B][T] = Lt; if (!x.component.isExportAsImage(e.StiExportFormat.Excel2007) && (null != Z && Z.length > 0 || null != K && null != K.excelDataValue)) { var ie = !1 , ne = !1 , oe = 0; if (null != K && null != K.excelDataValue && "-" != K.excelDataValue) { var ae = K.excelDataValue , se = ae.replace(/[^\d.,-]/g, "").stimulsoft.replaceAll(",", "."); if (null != se && se.length > 0) { ne = !0; try { St || At ? ne = !1 : (oe = parseFloat(se), isNaN(oe) && (ne = !1, oe = 0)) } catch (e) { t.System.StiError.showError(e, !1), ne = !1 } } yt && (ne = !1), ae != Z && ae.stimulsoft.startsWith("=") && (ie = !0), ne || null != Z || (Z = ae) } if (ie) { var le = K.excelDataValue.stimulsoft.replaceAll("\r", "").stimulsoft.replaceAll("\t", " ").substring(1); StiOptions.Export.Excel.TrimTrailingSpaces && (le = r.StiExportUtils.trimEndWhiteSpace(le)), u.writeElementString("f", le) } else if (1 == ne) u.writeElementString("v", oe.toString().stimulsoft.replaceAll(",", ".")); else { var le = Z.stimulsoft.replaceAll("\r", "").stimulsoft.replaceAll("\t", " "); StiOptions.Export.Excel.TrimTrailingSpaces && (le = r.StiExportUtils.trimEndWhiteSpace(le)); var ue = 0; null != K && K.checkAllowHtmlTags() ? (le = this.convertAllowHtmlTagsToExcelString(K, le), ue = this.getSSTNumber(le), this.sstHashIsTags.add(ue, null)) : ue = this.getSSTNumber(le), u.writeAttributeString("t", "s"), u.writeElementString("v", ue.toString()) } } u.writeEndElement() } else { var Lt = 0; U[B][T] && (Lt = J[B][T]); var Qt = null != this.matrix.bordersY[B + 0][T + 0] , Yt = null != this.matrix.bordersY[B + 0][T + 1] , Jt = null != this.matrix.bordersX[B + 0][T + 0] , Wt = void 0; try { Wt = null != this.matrix.bordersX[B + 1][T + 0] } catch (e) { t.System.StiError.showError(e, !1) } if (Qt || Yt || Jt || Wt || 0 != Lt) { var Vt = new N(Qt ? this.matrix.bordersY[B + 0][T + 0] : null,Yt ? this.matrix.bordersY[B + 0][T + 1] : null,Jt ? this.matrix.bordersX[B + 0][T + 0] : null,Wt ? this.matrix.bordersX[B + 1][T + 0] : null) , ce = this.xfList[Lt] , $t = new k(ce.FormatIndex,ce.FontIndex,ce.FillIndex,this.getBorderNumber(Vt),ce.XFId,ce.HorAlign,ce.VertAlign,ce.TextRotationAngle,ce.TextWrapped,ce.RightToLeft,ce.Editable) , me = this.getXFNumber($t); this.exportObjectFormatting || (me = 0), u.writeStartElement("c"), u.writeAttributeString("r", this.getRefString(T, B - m)), u.writeAttributeString("s", me.toString()), u.writeEndElement() } } } u.writeEndElement() } if (u.writeEndElement(), this.restrictEditing != r.StiExcel2007RestrictEditing.No && (u.writeStartElement("sheetProtection"), u.writeAttributeString("password", "F05F"), u.writeAttributeString("sheet", "1"), u.writeAttributeString("objects", "1"), u.writeAttributeString("scenarios", "1"), u.writeEndElement()), W.length > 0 && (!this.exportDataOnly || this.exportObjectFormatting)) { u.writeStartElement("mergeCells"), u.writeAttributeString("count", i.format("{0}", W.length)); for (var Ut = 0; Ut < W.length; Ut++) { var re = W[Ut]; u.writeStartElement("mergeCell"), u.writeAttributeString("ref", i.format("{0}:{1}", this.getRefString(re.FirstColumn, re.FirstRow), this.getRefString(re.LastColumn, re.LastRow))), u.writeEndElement() } u.writeEndElement() } if (V.length > 0) { for (var pe = !1, he = 0; he < V.length; he++) { var it = V[he] , tt = it.Bookmark; if (tt.stimulsoft.startsWith("#")) { tt = tt.substring(1); for (var de = !1, ge = 0; ge < this.matrixList.length; ge++) { var fe = this.matrixList[ge].bookmarksTable; if (null != fe) { var Se = fe.get(tt); if (null != Se) { var Ae = this.minRowList[ge] , ye = this.maxRowList[ge] , we = Se.stimulsoft.as(c); if (we.height >= Ae && we.height < ye) { pe = !0; break } } } } } else pe = !0; if (pe) break } if (pe) { u.writeStartElement("hyperlinks"); for (var he = 0; he < V.length; he++) { var it = V[he] , tt = it.Bookmark; if (tt.stimulsoft.startsWith("#")) { tt = tt.substring(1); for (var de = !1, ge = 0; ge < this.matrixList.length; ge++) { var fe = this.matrixList[ge].bookmarksTable; if (null != fe) { var Se = fe.get(tt); if (null != Se) { var Ae = this.minRowList[ge] , ye = this.maxRowList[ge] , we = Se.stimulsoft.as(c); if (we.height >= Ae && we.height < ye) { tt = i.format("'{0}'!{1}", this.sheetNameList[ge], this.getRefString(we.width, we.height - Ae)), de = !0; break } } } } de && (u.writeStartElement("hyperlink"), u.writeAttributeString("ref", this.getRefString(it.Range.FirstColumn, it.Range.FirstRow)), u.writeAttributeString("location", tt), u.writeAttributeString("display", it.Description), u.writeEndElement()) } else { var be = tt; tt.stimulsoft.startsWith("file:\\\\\\") && (be = tt.substring(8), tt = "file:///" + be), tt.stimulsoft.startsWith("http:") && (tt = tt.stimulsoft.replaceAll(" ", "")), u.writeStartElement("hyperlink"), u.writeAttributeString("ref", this.getRefString(it.Range.FirstColumn, it.Range.FirstRow)), u.writeAttributeString("r:id", i.format("rId{0}", 2 + this.hyperlinkList.length)), u.writeAttributeString("display", be), u.writeEndElement(), this.hyperlinkList.add(this.stringToUrl(tt)) } } u.writeEndElement() } } u.writeStartElement("pageMargins"), u.writeAttributeString("left", this.floatToString(o.convertToHInches(o.unit, o.margins.left) / 100)), u.writeAttributeString("right", this.floatToString(o.convertToHInches(o.unit, o.margins.right) / 100)), u.writeAttributeString("top", this.floatToString(o.convertToHInches(o.unit, o.margins.top) / 100)), u.writeAttributeString("bottom", this.floatToString(o.convertToHInches(o.unit, o.margins.bottom) / 100)), u.writeAttributeString("header", this.floatToString(0)), u.writeAttributeString("footer", this.floatToString(0)), u.writeEndElement(), u.writeStartElement("pageSetup"), u.writeAttributeString("paperSize", i.format("{0}", o.paperSize)), u.writeAttributeString("orientation", o.orientation == I.Portrait ? "portrait" : "landscape"), StiOptions.Export.Excel.FitToOnePageWide && u.writeAttributeString("fitToHeight", "0"), u.writeEndElement(); var ve = this.matrix.horizontalPageBreaks.length; if (this.exportHorizontalPageBreaks && ve > 0) { u.writeStartElement("rowBreaks"), u.writeAttributeString("count", ve.toString()), u.writeAttributeString("manualBreakCount", ve.toString()); for (var Ce = 0; Ce < ve; Ce++) u.writeStartElement("brk"), u.writeAttributeString("id", i.format("{0}", this.matrix.horizontalPageBreaks[Ce])), u.writeAttributeString("max", 0 == Ce ? "16383" : "8"), u.writeAttributeString("man", "1"), u.writeEndElement(); u.writeEndElement() } if (t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion || (u.writeStartElement("headerFooter"), u.writeStartElement("oddHeader"), u.writeRaw("&C\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n&G"), u.writeEndElement(), u.writeEndElement()), this.imageList.length > this.imageListOffset && (u.writeStartElement("drawing"), u.writeAttributeString("r:id", i.format("rId{0}", 1)), u.writeEndElement()), t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion || (u.writeStartElement("legacyDrawingHF"), u.writeAttributeString("r:id", "dId1"), u.writeEndElement()), g.length > 0) { u.writeStartElement("ignoredErrors"); for (var Ee in g) u.writeStartElement("ignoredError"), u.writeAttributeString("sqref", g[Ee]), u.writeAttributeString("numberStoredAsText", "1"), u.writeEndElement(); u.writeEndElement() } return u.writeFullEndElement(), u.writeEndDocument(), u.flush(), a } , L.prototype.prepareMatrix = function(t) { var e = r.StiDataExportMode.AllBands; if (this.exportDataOnly && (e = r.StiDataExportMode.Data | r.StiDataExportMode.Headers, StiOptions.Export.Excel.AllowExportFootersInDataOnlyMode && (e |= r.StiDataExportMode.Footers)), this.matrix = new r.StiMatrix(t,StiOptions.Export.Excel.DivideBigCells,this,null,e), this.useOnePageHeaderAndFooter) { this.matrix.scanComponentsPlacement(!0, this.exportObjectFormatting); var i = 0; while (this.matrix.linePlacement[i] != r.StiTableLineInfo.PageHeader && i < this.matrix.coordY.countItems - 1) i++; if (this.matrix.linePlacement[i] == r.StiTableLineInfo.PageHeader) { while (this.matrix.linePlacement[i] == r.StiTableLineInfo.PageHeader && i < this.matrix.coordY.countItems - 1) i++; while (i < this.matrix.coordY.countItems - 1) this.matrix.linePlacement[i] == r.StiTableLineInfo.PageHeader && (this.matrix.linePlacement[i] = r.StiTableLineInfo.Trash), i++ } i = this.matrix.coordY.countItems - 1; while (this.matrix.linePlacement[i] != r.StiTableLineInfo.PageFooter && i > 0) i--; if (this.matrix.linePlacement[i] == r.StiTableLineInfo.PageFooter) { while (this.matrix.linePlacement[i] == r.StiTableLineInfo.PageFooter && i > 0) i--; while (i > 0) this.matrix.linePlacement[i] == r.StiTableLineInfo.PageFooter && (this.matrix.linePlacement[i] = r.StiTableLineInfo.Trash), i-- } for (var n = 0, o = 0; o < this.matrix.coordY.countItems - 1; o++) if (this.matrix.linePlacement[o] != r.StiTableLineInfo.Trash) { for (var s = 0; s < this.matrix.coordX.countItems - 1; s++) { this.matrix.cells[n][s] = this.matrix.cells[o][s]; var l = this.matrix.cells[n][s]; if (null != l && (l.top = n, null != l.exportImage)) var u = l.component; this.matrix.bordersX[n][s] = this.matrix.bordersX[o][s], this.matrix.bordersY[n][s] = this.matrix.bordersY[o][s], this.matrix.bookmarks[n][s] = this.matrix.bookmarks[o][s] } this.matrix.bordersY[n][this.matrix.coordX.countItems - 1] = this.matrix.bordersY[o][this.matrix.coordX.countItems - 1]; var c = this.matrix.coordY.getKeys() , m = this.matrix.coordY.getByIndex(o + 1, c) - this.matrix.coordY.getByIndex(o, c); this.matrix.coordY.setByIndex(n + 1, this.matrix.coordY.getByIndex(n, c) + m), n++ } for (var s = 0; s < this.matrix.coordX.countItems - 1; s++) this.matrix.bordersX[n][s] = this.matrix.bordersX[this.matrix.coordY.countItems - 1][s]; var p = this.matrix.coordY.countItems - 1 - n; if (p > 0) for (var h = 0; h < p; h++) this.matrix.coordY.removeByIndex(n + 1) } if (this.exportDataOnly) { this.matrix.scanComponentsPlacement(!0, this.exportObjectFormatting); for (var n = 0, d = new a, g = null, f = StiOptions.Export.Excel.AllowExportFootersInDataOnlyMode, o = 0; o < this.matrix.coordY.countItems - 1; o++) { var S = !1; if (this.matrix.linePlacement[o] == r.StiTableLineInfo.HeaderD || this.matrix.linePlacement[o] == r.StiTableLineInfo.HeaderAP) { var A = this.matrix.parentBandName[o] , y = A.indexOf(""); if (-1 != y) { var w = A.substring(0, y); w != g && (g = w, d.clear()) } d.containsKey(A) || (S = !0, d.add(A, A)) } if (this.matrix.linePlacement[o] == r.StiTableLineInfo.Data || f && this.matrix.linePlacement[o] == r.StiTableLineInfo.FooterD || S) { for (var s = 0; s < this.matrix.coordX.countItems - 1; s++) { this.matrix.cells[n][s] = this.matrix.cells[o][s]; var l = this.matrix.cells[n][s]; if (null != l && (l.top = n, null != l.exportImage)) var u = l.component; 0 != n && null == this.matrix.bordersX[o][s] || (this.matrix.bordersX[n][s] = this.matrix.bordersX[o][s]), this.matrix.bordersX[n + 1][s] = this.matrix.bordersX[o + 1][s], this.matrix.bordersY[n][s] = this.matrix.bordersY[o][s], this.matrix.bookmarks[n][s] = this.matrix.bookmarks[o][s] } this.matrix.bordersY[n][this.matrix.coordX.countItems - 1] = this.matrix.bordersY[o][this.matrix.coordX.countItems - 1]; var c = this.matrix.coordY.getKeys() , m = this.matrix.coordY.getByIndex(o + 1, c) - this.matrix.coordY.getByIndex(o, c); this.matrix.coordY.setByIndex(n + 1, this.matrix.coordY.getByIndex(n, c) + m), n++ } } var p = this.matrix.coordY.countItems - 1 - n; if (p > 0) for (var h = 0; h < p; h++) this.matrix.coordY.removeByIndex(n + 1) } } , L.prototype.convertAllowHtmlTagsToExcelString = function(t, e) { for (var r = new v(A.UTF8), n = new F(t.font.bold,t.font.italic,t.font.underline,t.font.strikeout,t.font.sizeInPoints,t.font.name,g.toColor(t.textBrush),g.toColor(t.brush),!1,!1,0,0,1,t.horAlignment), o = new x(n,0), a = y.parseHtmlToStates(t.text, o), s = 0; s < a.length; s++) { var l = a[s]; r.writeStartElement("r"), r.writeStartElement("rPr"), l.ts.bold && r.writeElementString("b", null), l.ts.italic && r.writeElementString("i", null), l.ts.underline && r.writeElementString("u", null), l.ts.strikeout && r.writeElementString("strike", null), l.ts.superscript && (r.writeStartElement("vertAlign"), r.writeAttributeString("val", "superscript"), r.writeEndElement()), l.ts.subsript && (r.writeStartElement("vertAlign"), r.writeAttributeString("val", "subscript"), r.writeEndElement()), r.writeStartElement("sz"), r.writeAttributeString("val", l.ts.fontSize.toString()), r.writeEndElement(), r.writeStartElement("color"), r.writeAttributeString("rgb", i.format("{0:X8}", l.ts.fontColor.toArgb())), r.writeEndElement(), r.writeStartElement("rFont"), r.writeAttributeString("val", l.ts.fontName), r.writeEndElement(), r.writeEndElement(), this.convertTextToExcelString(r, y.prepareStateText(l.text).toString()), r.writeEndElement() } return r.flush(), r.close(), r.textWriter.getStringBuilder().toString() } , L.prototype.convertTextToExcelString = function(t, e) { t.writeStartElement("t"), e.length > 0 && (l.isWhitespace(e, e.length - 1) || -1 != e.indexOf("\n")) && t.writeAttributeString("xml:space", "preserve"), t.writeString(e), t.writeFullEndElement() } , L.prototype.writeDrawingRels = function(t) { var e = new b , r = new v(A.UTF8,e); r.writeStartDocument(), r.writeStartElement("Relationships"), r.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"); for (var n = this.imageListOffset; n < this.imageList.length; n++) { var o = this.imageList[n]; r.writeStartElement("Relationship"), r.writeAttributeString("Id", i.format("rId{0}", n - this.imageListOffset + 1)), r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"), r.writeAttributeString("Target", i.format("../media/image{0:D5}.jpeg", o.ImageIndex + 1)), r.writeEndElement(), i.isNullOrWhiteSpace(o.Hyperlink) || (r.writeStartElement("Relationship"), r.writeAttributeString("Id", i.format("hId{0}", n - this.imageListOffset + 1)), r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"), r.writeAttributeString("Target", o.Hyperlink), r.writeAttributeString("TargetMode", "External"), r.writeEndElement()) } return r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , L.prototype.writeDrawing = function(t) { var e = new b , r = new v(A.UTF8,e); r.writeStartDocument(), r.writeStartElement("xdr:wsDr"), r.writeAttributeString("xmlns:xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"), r.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"); for (var n = this.imageListOffset; n < this.imageList.length; n++) { var o = this.imageList[n]; r.writeStartElement("xdr:twoCellAnchor"), r.writeAttributeString("editAs", "oneCell"), r.writeStartElement("xdr:from"), r.writeElementString("xdr:col", i.format("{0}", o.FirstColumnIndex)), r.writeElementString("xdr:colOff", i.format("{0}", o.FirstColumnOffset)), r.writeElementString("xdr:row", i.format("{0}", o.FirstRowIndex)), r.writeElementString("xdr:rowOff", i.format("{0}", o.FirstRowOffset)), r.writeEndElement(), r.writeStartElement("xdr:to"), r.writeElementString("xdr:col", i.format("{0}", o.LastColumnIndex)), r.writeElementString("xdr:colOff", i.format("{0}", o.LastColumnOffset)), r.writeElementString("xdr:row", i.format("{0}", o.LastRowIndex)), r.writeElementString("xdr:rowOff", i.format("{0}", o.LastRowOffset)), r.writeEndElement(), r.writeStartElement("xdr:pic"), r.writeStartElement("xdr:nvPicPr"), r.writeStartElement("xdr:cNvPr"), r.writeAttributeString("id", i.format("{0}", n - this.imageListOffset + 2)), r.writeAttributeString("name", i.format("Picture {0}", n - this.imageListOffset + 1)), r.writeAttributeString("descr", i.format("image{0:D5}", n + 1)), i.isNullOrWhiteSpace(o.Hyperlink) || (r.writeStartElement("a:hlinkClick"), r.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), r.writeAttributeString("r:id", i.format("hId{0}", n - this.imageListOffset + 1)), r.writeEndElement()), r.writeEndElement(), r.writeStartElement("xdr:cNvPicPr"), r.writeStartElement("a:picLocks"), r.writeAttributeString("noChangeAspect", "1"), r.writeEndElement(), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("xdr:blipFill"), r.writeStartElement("a:blip"), r.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), r.writeAttributeString("r:embed", i.format("rId{0}", n - this.imageListOffset + 1)), r.writeEndElement(), r.writeStartElement("a:stretch"), r.writeStartElement("a:fillRect"), r.writeEndElement(), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("xdr:spPr"), r.writeStartElement("a:xfrm"), r.writeStartElement("a:off"), r.writeAttributeString("x", "1"), r.writeAttributeString("y", "1"), r.writeEndElement(), r.writeStartElement("a:ext"), r.writeAttributeString("cx", "2"), r.writeAttributeString("cy", "2"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("a:prstGeom"), r.writeAttributeString("prst", "rect"), r.writeStartElement("a:avLst"), r.writeEndElement(), r.writeEndElement(), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("xdr:clientData"), r.writeEndElement(), r.writeEndElement() } return r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , L.prototype.writeStyles = function() { var t = new b , e = new v(A.UTF8,t); if (e.writeStartDocument(), e.writeStartElement("styleSheet"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"), this.formatList.length > 0) { e.writeStartElement("numFmts"), e.writeAttributeString("count", i.format("{0}", this.formatList.length)); for (var r = 0; r < this.formatList.length; r++) e.writeStartElement("numFmt"), e.writeAttributeString("numFmtId", i.format("{0}", 164 + r)), e.writeAttributeString("formatCode", this.formatList[r]), e.writeEndElement(); e.writeEndElement() } e.writeStartElement("fonts"), e.writeAttributeString("count", i.format("{0}", this.fontList.length)); for (var r = 0; r < this.fontList.length; r++) { var n = this.fontList[r]; e.writeStartElement("font"), n.Bold && e.writeElementString("b", ""), n.Italic && e.writeElementString("i", ""), n.Underlined && e.writeElementString("u", ""), n.Strikeout && e.writeElementString("strike", ""), e.writeStartElement("sz"), e.writeAttributeString("val", i.format("{0}", n.Height)), e.writeEndElement(), e.writeStartElement("color"), e.writeAttributeString("rgb", i.format("{0:X8}", n.Color.toArgb())), e.writeEndElement(), e.writeStartElement("name"), e.writeAttributeString("val", n.Name), e.writeEndElement(), e.writeStartElement("charset"), e.writeAttributeString("val", i.format("{0}", n.Charset)), e.writeEndElement(), e.writeEndElement() } e.writeEndElement(), e.writeStartElement("fills"), e.writeAttributeString("count", i.format("{0}", this.fillList.length)); for (var r = 0; r < this.fillList.length; r++) { var o = this.fillList[r]; e.writeStartElement("fill"), e.writeStartElement("patternFill"), e.writeAttributeString("patternType", o.Type), "solid" == o.Type && (e.writeStartElement("fgColor"), e.writeAttributeString("rgb", i.format("{0:X8}", o.FgColor.toArgb())), e.writeEndElement(), e.writeStartElement("bgColor"), e.writeAttributeString("indexed", i.format("{0}", 64)), e.writeEndElement()), e.writeEndElement(), e.writeEndElement() } e.writeEndElement(), e.writeStartElement("borders"), e.writeAttributeString("count", i.format("{0}", this.borderList.length)); for (var r = 0; r < this.borderList.length; r++) { var a = this.borderList[r]; e.writeStartElement("border"), this.writeBorderData(e, "left", a.BorderLeft), this.writeBorderData(e, "right", a.BorderRight), this.writeBorderData(e, "top", a.BorderTop), this.writeBorderData(e, "bottom", a.BorderBottom), this.writeBorderData(e, "diagonal", null), e.writeEndElement() } e.writeEndElement(), e.writeStartElement("cellStyleXfs"), e.writeAttributeString("count", i.format("{0}", 1)), e.writeStartElement("xf"), e.writeAttributeString("numFmtId", i.format("{0}", 0)), e.writeAttributeString("fontId", i.format("{0}", 0)), e.writeAttributeString("fillId", i.format("{0}", 0)), e.writeAttributeString("borderId", i.format("{0}", 0)), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("cellXfs"), e.writeAttributeString("count", i.format("{0}", this.xfList.length)); for (var r = 0; r < this.xfList.length; r++) { var s = this.xfList[r] , o = this.fillList[s.FillIndex] , l = s.FillIndex; 0 == o.FgColor.a && (l = 0), e.writeStartElement("xf"), e.writeAttributeString("numFmtId", i.format("{0}", s.FormatIndex)), e.writeAttributeString("fontId", i.format("{0}", s.FontIndex)), e.writeAttributeString("fillId", i.format("{0}", l)), e.writeAttributeString("borderId", i.format("{0}", s.BorderIndex)), e.writeAttributeString("xfId", i.format("{0}", s.XFId)), 0 != s.FormatIndex && e.writeAttributeString("applyNumberFormat", "1"), 0 != s.FontIndex && e.writeAttributeString("applyFont", "1"), 0 != s.FillIndex && e.writeAttributeString("applyFill", "1"), 0 != s.BorderIndex && e.writeAttributeString("applyBorder", "1"), e.writeAttributeString("applyAlignment", "1"), s.Editable && e.writeAttributeString("applyProtection", "1"), e.writeStartElement("alignment"); var u = "left"; switch (s.HorAlign) { case m.Right: u = "right"; break; case m.Center: u = "center"; break; case m.Width: u = "justify"; break } if (e.writeAttributeString("horizontal", u), s.VertAlign != h.Bottom) { var c = ""; switch (s.VertAlign) { case h.Top: c = "top"; break; case h.Center: c = "center"; break } e.writeAttributeString("vertical", c) } 0 != s.TextRotationAngle && e.writeAttributeString("textRotation", s.TextRotationAngle.toString()), s.TextWrapped && e.writeAttributeString("wrapText", "1"), s.RightToLeft && e.writeAttributeString("readingOrder", "2"), e.writeEndElement(), s.Editable && (e.writeStartElement("protection"), e.writeAttributeString("locked", "0"), e.writeEndElement()), e.writeEndElement() } return e.writeEndElement(), e.writeStartElement("cellStyles"), e.writeAttributeString("count", i.format("{0}", 1)), e.writeStartElement("cellStyle"), e.writeAttributeString("name", "Normal"), e.writeAttributeString("xfId", i.format("{0}", 0)), e.writeAttributeString("builtinId", i.format("{0}", 0)), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("dxfs"), e.writeAttributeString("count", i.format("{0}", 0)), e.writeEndElement(), e.writeStartElement("tableStyles"), e.writeAttributeString("count", i.format("{0}", 0)), e.writeAttributeString("defaultTableStyle", "TableStyleMedium9"), e.writeAttributeString("defaultPivotStyle", "PivotStyleLight16"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , L.prototype.writeBorderData = function(t, e, r) { if (t.writeStartElement(e), null != r) { var n = this.getLineStyle(r) , o = r.color; "" != n && (t.writeAttributeString("style", n), t.writeStartElement("color"), t.writeAttributeString("rgb", i.format("{0:X8}", o.toArgb())), t.writeEndElement()) } t.writeEndElement() } , L.prototype.writeSST = function() { var t = new b , e = new v(A.UTF8,t); e.writeStartDocument(), e.writeStartElement("sst"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"), e.writeAttributeString("count", i.format("{0}", this.sstCount)), e.writeAttributeString("uniqueCount", i.format("{0}", this.sstList.length)); for (var r = 0; r < this.sstList.length; r++) { e.writeStartElement("si"); for (var n = this.sstList[r], o = new f, a = 0; a < n.length; a++) (n.charCodeAt(a) >= 32 || "\n" == n.charAt(a)) && o.append(n.charAt(a)); n = o.toString(), this.sstHashIsTags.containsKey(r) ? e.writeRaw(n) : this.convertTextToExcelString(e, n), e.writeEndElement() } return e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , L.prototype.writeAdditionalData = function(e, r) { var i = new b , n = null; return n = r ? t.System.Convert.fromBase64String(e) : A.ASCII.getBytes(e), i.write(n, 0, n.length), i } , L.prototype.writeImage = function(t) { var e = new b , r = this.imageList[t] , i = this.imageCache.imagePackedStore[t]; return null != i && e.write(i, 0, i.length), e } , L.prototype.exportExcel = function(e, n, o) { var s = o.pageRange; this.useOnePageHeaderAndFooter = o.useOnePageHeaderAndFooter, this.exportDataOnly = o.exportDataOnly, this.exportObjectFormatting = o.exportObjectFormatting, this.exportEachPageToSheet = o.exportEachPageToSheet, this.exportHorizontalPageBreaks = o.exportPageBreaks, this.imageResolution = o.imageResolution, this.imageQuality = o.imageQuality, this.docCompanyString = o.companyString, this.docLastModifiedString = o.lastModifiedString, this.restrictEditing = o.restrictEditing, this.xmlIndentation = -1, this.imageResolution < 10 && (this.imageResolution = 10), this.imageResolution = this.imageResolution / 100, this.exportDataOnly ? this.useOnePageHeaderAndFooter = !1 : this.exportObjectFormatting = !0, StiOptions.Export.Excel.RestrictEditing > this.restrictEditing && (this.restrictEditing = StiOptions.Export.Excel.RestrictEditing), this.report = e; try { this.reportCulture = T.currentCulture; var l = s.getSelectedPages(e.renderedPages); this.currentPassNumber = 0, this.maximumPassNumber = 3, this.prepareData(); var c = 0; while (c < l.length) { var m = new u(e,e.renderedPages); m.cacheMode = e.renderedPages.cacheMode, m.addV2Internal(l.getPageWithoutCache(c)); var p = c; if (!this.exportEachPageToSheet) { var h = l.getPageWithoutCache(c).excelSheetValue; while (c < l.length - 1 && this.compareExcellSheetNames(l.getPageWithoutCache(c + 1).excelSheetValue, h)) c++, m.addV2Internal(l.getPageWithoutCache(c)) } var d = m.getByIndex(0).excelSheetValue; null != d && "" != d || (d = i.format("Page {0}", this.sheetNameList.length + 1)); var g = "" , f = 1; this.prepareMatrix(m); var S = 0; do { this.firstPageIndexList.add(p), this.matrixList.add(this.matrix); var A = this.matrix.coordY.countItems - 1; A - S > StiOptions.Export.Excel.MaximumSheetHeight ? A = S + StiOptions.Export.Excel.MaximumSheetHeight : this.matrix = null, this.minRowList.add(S), this.maxRowList.add(A), S = A, null != this.matrix || g.length > 0 ? (g = i.format(" part{0}", f++), d.length > 24 && (d = d.substr(0, 24))) : d.length > 30 && (d = d.substr(0, 30)), this.sheetNameList.add(d + g) } while (null != this.matrix); c++ } for (var y = new a, w = 0; w < this.sheetNameList.length; w++) { var b = this.sheetNameList[w]; if (b = b.stimulsoft.replaceAll("*", "_").stimulsoft.replaceAll("\\", "_").stimulsoft.replaceAll("/", "_").stimulsoft.replaceAll("[", "_").stimulsoft.replaceAll("]", "_").stimulsoft.replaceAll(":", "_").stimulsoft.replaceAll("?", "_"), y.contains(b)) { var v = 1; while (y.contains(b + "-" + v.toString())) v++; b = b + "-" + v.toString() } y.add(b, b), this.sheetNameList[w] = b } var C = new B; C.begin(n, !0), this.currentPassNumber = 2, this.imageListOffset = 0; for (var E = 0; E < this.matrixList.length; E++) this.hyperlinkList = new Array, C.addFile(i.format("xl/worksheets/sheet{0}.xml", E + 1), this.writeSheet(E, l.getByIndex(this.firstPageIndexList[E]))), C.addFile(i.format("xl/worksheets/_rels/sheet{0}.xml.rels", E + 1), this.writeSheetRels(E)), this.imageList.length - this.imageListOffset > 0 && (C.addFile(i.format("xl/drawings/_rels/drawing{0}.xml.rels", E + 1), this.writeDrawingRels(E)), C.addFile(i.format("xl/drawings/drawing{0}.xml", E + 1), this.writeDrawing(E))), this.imageListOffset = this.imageList.length; if (C.addFile("[Content_Types].xml", this.writeContentTypes()), C.addFile("_rels/.rels", this.writeMainRels()), C.addFile("docProps/app.xml", this.writeDocPropsApp()), C.addFile("docProps/core.xml", this.writeDocPropsCore()), C.addFile("xl/_rels/workbook.xml.rels", this.writeWorkbookRels()), C.addFile("xl/workbook.xml", this.writeWorkbook()), C.addFile("xl/styles.xml", this.writeStyles()), this.sstList.length > 0 && C.addFile("xl/sharedStrings.xml", this.writeSST()), this.imageCache.imagePackedStore.length > 0) for (var w = 0; w < this.imageCache.imagePackedStore.length; w++) C.addFile(i.format("xl/media/image{0:D5}.jpeg", w + 1), this.writeImage(w)); t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion || (C.addFile("xl/media/imageAdditional.png", this.writeAdditionalData(r.StiExportUtils.additionalData, !0)), C.addFile("xl/drawings/_rels/vmlDrawingAdditional.vml.rels", this.writeAdditionalData('\r\n', !1)), C.addFile("xl/drawings/vmlDrawingAdditional.vml", this.writeAdditionalData('\r\n \r\n \r\n' + ' \r\n \r\n ' + '\r\n \r\n \r\n \r\n \r\n \r\n \r\n ' + '\r\n \r\n \r\n \r\n \r\n \r\n \r\n ' + '\r\n \r\n ' + '\r\n \r\n \r\n ', !1))), C.end() } catch (e) { t.System.StiError.showError(e, !1) } finally { null != this.matrix && (this.matrix.clear(), this.matrix = null), this.fontList = null, this.fillList = null, this.borderList = null, this.xfList = null, this.sstList = null, this.sstHash = null, this.sstHashIsTags = null, this.formatList = null, this.sheetNameList = null, this.imageList.clear(), this.imageList = null, this.imageCache.clear(), this.printAreasList = null, this.matrixList = null, this.firstPageIndexList = null, this.hyperlinkList = null, this.minRowList = null, this.maxRowList = null } } , L }(r.StiExportService); r.StiExcel2007ExportService = D; var R = function() { function t(t, e, r, i, n, o, a, s, l) { this.Name = t, this.Bold = e, this.Italic = r, this.Underlined = i, this.Strikeout = n, this.Height = o, this.Color = a, this.Charset = s, this.Family = l } return t.prototype.equals = function(t) { return this.Name == t.Name && this.Bold == t.Bold && this.Italic == t.Italic && this.Underlined == t.Underlined && this.Strikeout == t.Strikeout && this.Height == t.Height && this.Color.stimulsoft.equals(t.Color) && this.Charset == t.Charset && this.Family == t.Family } , t }(); r.DataFont = R; var P = function() { function t(t, e, r) { this.Type = t, this.FgColor = e, this.BgColor = r } return t.prototype.equals = function(t) { return this.Type == t.Type && this.FgColor.stimulsoft.equals(t.FgColor) && this.BgColor.stimulsoft.equals(t.BgColor) } , t }(); r.DataFill = P; var N = function() { function t(t, e, r, i) { this.BorderLeft = t, this.BorderRight = e, this.BorderTop = r, this.BorderBottom = i } return t.prototype.equals = function(t) { return this.eq(this.BorderLeft, t.BorderLeft) && this.eq(this.BorderRight, t.BorderRight) && this.eq(this.BorderTop, t.BorderTop) && this.eq(this.BorderBottom, t.BorderBottom) } , t.prototype.eq = function(t, e) { return null == t && null == e || null != t && null != e && t.stimulsoft.equals(e) } , t }(); r.DataBorder = N; var k = function() { function t(t, e, r, i, n, o, a, s, l, u, c) { this.FormatIndex = t, this.FontIndex = e, this.FillIndex = r, this.BorderIndex = i, this.XFId = n, this.HorAlign = o, this.VertAlign = a, this.TextRotationAngle = s, this.TextWrapped = l, this.RightToLeft = u, this.Editable = c } return t.prototype.equalDataXF = function(t) { if (this.FormatIndex != t.FormatIndex || this.FontIndex != t.FontIndex || this.FillIndex != t.FillIndex || this.BorderIndex != t.BorderIndex || this.XFId != t.XFId || this.HorAlign != t.HorAlign || this.VertAlign != t.VertAlign || this.TextRotationAngle != t.TextRotationAngle || this.TextWrapped != t.TextWrapped || this.RightToLeft != t.RightToLeft || this.Editable != t.Editable) return !1; return !0 } , t }(); r.DataXF = k; var M = function() { function t(t, e, r, i, n, o, a, s, l, u) { this.FirstRowIndex = t, this.FirstRowOffset = e, this.FirstColumnIndex = r, this.FirstColumnOffset = i, this.LastRowIndex = n, this.LastRowOffset = o, this.LastColumnIndex = a, this.LastColumnOffset = s, this.ImageIndex = l, this.Hyperlink = u } return t }(); r.ExcelImageData = M; var O = function() { function t(t, e, r, i) { this.FirstRow = t, this.LastRow = e, this.FirstColumn = r, this.LastColumn = i } return t }(); r.CellRangeAddress = O; var _ = function() { function t(t, e, r) { this.Range = t, this.Description = e, this.Bookmark = r } return t }(); r.HlinkData = _ }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(t.StiExportService); t.StiExcelXmlExportService = e }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Zip.StiZipWriter20 , n = t.Report.Components.StiImage , o = t.Base.Drawing.StiHorAlignment , a = t.Base.Drawing.StiCapStyle , s = t.Report.Components.StiVerticalLinePrimitive , l = t.Report.Components.StiHorizontalLinePrimitive , u = t.Base.Drawing.StiAdvancedBorder , c = t.Base.Drawing.StiBorderSides , m = t.Report.Components.IStiBorder , p = t.Report.Components.StiShape , h = t.Report.Components.IStiBrush , d = t.Report.Components.IStiTextOptions , g = t.Report.Components.StiLinePrimitive , f = t.Report.Components.IStiExportImageExtended , S = t.Base.Drawing.StiTextRenderer , A = t.Report.Components.StiTextQuality , y = t.Base.Drawing.StiBrush , w = t.Report.Components.StiContainer , b = t.Report.Components.StiText , v = t.System.DateTime , C = t.System.StiString , E = t.System.Text.StringBuilder , B = t.System.Globalization.CultureInfo , T = t.System.Xml.Formatting , I = t.System.Text.Encoding , x = t.System.Xml.XmlTextWriter , F = t.Report.Dashboard.StiDashboardExport , D = t.Report.Dashboard.IStiDashboard , R = t.System.IO.MemoryStream , P = function(r) { function P() { var t = null !== r && r.apply(this, arguments) || this; return t.imageListOffset = 0, t.imageResolution = 1, t.imageQuality = .75, t.imageCache = null, t.idCounter = 2, t.hyperlinkList = null, t.xmlIndentation = 1, t.currentCulture = null, t.newCulture = null, t.wrongUrlSymbols = " \"#'*,;<>[^`{|}", t.HiToTwips = 14.4 * .995, t } return __extends(P, r), P.prototype.getDefaultExtension = function() { return "pptx" } , P.prototype.exportTo = function(t, e, r) { this.exportPowerPoint(t, e, r) } , P.prototype.exportToAsync = function(e, r, i, n) { var o = this; t.Report.Export.StiExportImageHelper.convertAllImages(r, StiOptions.Export.PowerPoint.StoreImagesAsPng ? t.System.Drawing.Imaging.ImageFormat.Png : t.System.Drawing.Imaging.ImageFormat.Jpeg).try(function() { if (!r.isDocument && r.getCurrentPage().stimulsoft.is(D)) return void F.exportAsync(r, i, n).try(function() { return e() }); o.exportTo(r, i, n), e() }) } , P.prototype.getLineStyle = function(t) { switch (t) { case StiPenStyle.Solid: return "solid"; case StiPenStyle.Dot: return "sysDot"; case StiPenStyle.Dash: return "sysDash"; case StiPenStyle.DashDot: return "sysDashDot"; case StiPenStyle.DashDotDot: return "sysDashDotDot"; case StiPenStyle.Double: return "solid"; default: return "solid" } } , P.prototype.stringToUrl = function(t) { var e, r, i = I.UTF8.getBytes(t), n = new E; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = String.fromCharCode(s); s < 32 || s > 127 || -1 != this.wrongUrlSymbols.indexOf(l) ? n.append(C.format("%{0:x2}", s)) : n.append(l) } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } return n.toString() } , P.prototype.convert = function(t) { return 0 | Math.round(t * this.HiToTwips) } , P.prototype.convertTwipsToEmu = function(t) { return 0 | Math.round(t / this.HiToTwips / 100 * 914400) } , P.prototype.convertToEmu = function(t) { return 0 | Math.round(t / 100 * 914400) } , P.prototype.writeColor = function(t, e) { if (t.writeStartElement("a:srgbClr"), t.writeAttributeString("val", C.format("{0:X6}", 16777215 & e.toArgb())), 255 != e.a) { var r = e.a / 256 * 1e5 | 0; t.writeStartElement("a:alpha"), t.writeAttributeString("val", C.format("{0}", r)), t.writeEndElement() } t.writeEndElement() } , P.prototype.writeContentTypes = function(t) { var e = new R , r = new x(I.UTF8,e); r.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, r.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, r.writeStartDocument(), r.writeStartElement("Types"), r.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/content-types"); for (var i = 0; i < 11; i++) r.writeStartElement("Override"), r.writeAttributeString("PartName", C.format("/ppt/slideLayouts/slideLayout{0}.xml", i + 1)), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"), r.writeEndElement(); r.writeStartElement("Override"), r.writeAttributeString("PartName", "/ppt/slideMasters/slideMaster1.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/ppt/presProps.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.presentationml.presProps+xml"), r.writeEndElement(); for (var i = 0; i < t; i++) r.writeStartElement("Override"), r.writeAttributeString("PartName", C.format("/ppt/slides/slide{0}.xml", i + 1)), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.presentationml.slide+xml"), r.writeEndElement(); return r.writeStartElement("Override"), r.writeAttributeString("PartName", "/ppt/theme/theme1.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.theme+xml"), r.writeEndElement(), r.writeStartElement("Default"), r.writeAttributeString("Extension", "jpeg"), r.writeAttributeString("ContentType", "image/jpeg"), r.writeEndElement(), r.writeStartElement("Default"), r.writeAttributeString("Extension", "png"), r.writeAttributeString("ContentType", "image/png"), r.writeEndElement(), r.writeStartElement("Default"), r.writeAttributeString("Extension", "rels"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-package.relationships+xml"), r.writeEndElement(), r.writeStartElement("Default"), r.writeAttributeString("Extension", "xml"), r.writeAttributeString("ContentType", "application/xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/ppt/presentation.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/docProps/app.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.extended-properties+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/ppt/tableStyles.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/ppt/viewProps.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/docProps/core.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-package.core-properties+xml"), r.writeEndElement(), r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , P.prototype.writeMainRels = function() { var t = new R , e = new x(I.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, e.writeStartDocument(), e.writeStartElement("Relationships"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"), e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId1"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"), e.writeAttributeString("Target", "ppt/presentation.xml"), e.writeEndElement(), e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId2"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"), e.writeAttributeString("Target", "docProps/core.xml"), e.writeEndElement(), e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId3"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"), e.writeAttributeString("Target", "docProps/app.xml"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , P.prototype.writeDocPropsApp = function(t) { var e = new R , r = new x(I.UTF8,e); r.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, r.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, r.writeStartDocument(), r.writeStartElement("Properties"), r.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"), r.writeAttributeString("xmlns:vt", "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"), r.writeElementString("Application", "Microsoft Office PowerPoint"), r.writeElementString("Slides", C.format("{0}", t)), r.writeElementString("PresentationFormat", "On-screen Show (4:3)"), r.writeElementString("TotalTime", "0"), r.writeElementString("Words", "0"), r.writeElementString("Paragraphs", "0"), r.writeElementString("Notes", "0"), r.writeElementString("HiddenSlides", "0"), r.writeElementString("MMClips", "0"), r.writeElementString("ScaleCrop", "false"), r.writeStartElement("HeadingPairs"), r.writeStartElement("vt:vector"), r.writeAttributeString("size", "4"), r.writeAttributeString("baseType", "variant"), r.writeStartElement("vt:variant"), r.writeElementString("vt:lpstr", "Theme"), r.writeEndElement(), r.writeStartElement("vt:variant"), r.writeElementString("vt:i4", C.format("{0}", t)), r.writeEndElement(), r.writeStartElement("vt:variant"), r.writeElementString("vt:lpstr", "Slide Titles"), r.writeEndElement(), r.writeStartElement("vt:variant"), r.writeElementString("vt:i4", C.format("{0}", t)), r.writeEndElement(), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("TitlesOfParts"), r.writeStartElement("vt:vector"), r.writeAttributeString("size", C.format("{0}", 1 + t)), r.writeAttributeString("baseType", "lpstr"), r.writeElementString("vt:lpstr", "Office Theme"); for (var i = 0; i < t; i++) r.writeElementString("vt:lpstr", C.format("Slide {0}", i + 1)); return r.writeEndElement(), r.writeEndElement(), r.writeElementString("Company", "Stimulsoft"), r.writeElementString("LinksUpToDate", "false"), r.writeElementString("SharedDoc", "false"), r.writeElementString("HyperlinksChanged", "false"), r.writeElementString("AppVersion", "12.0000"), r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , P.prototype.writeDocPropsCore = function() { var t = new R , e = new x(I.UTF8,t); e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, e.writeStartDocument(), e.writeStartElement("cp:coreProperties"), e.writeAttributeString("xmlns:cp", "http://schemas.openxmlformats.org/package/2006/metadata/core-properties"), e.writeAttributeString("xmlns:dc", "http://purl.org/dc/elements/1.1/"), e.writeAttributeString("xmlns:dcterms", "http://purl.org/dc/terms/"), e.writeAttributeString("xmlns:dcmitype", "http://purl.org/dc/dcmitype/"), e.writeAttributeString("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); var r = C.format("{0}", v.now.toString("yyyy-MM-ddTHH:mm:ssZ")); return e.writeElementString("dc:title", ""), e.writeElementString("dc:subject", ""), e.writeElementString("dc:creator", "Stimulsoft Reports"), e.writeElementString("cp:keywords", ""), e.writeElementString("dc:description", ""), e.writeElementString("cp:lastModifiedBy", "Stimulsoft Reports"), e.writeElementString("cp:revision", "1"), e.writeStartElement("dcterms:created"), e.writeAttributeString("xsi:type", "dcterms:W3CDTF"), e.writeString(r), e.writeEndElement(), e.writeStartElement("dcterms:modified"), e.writeAttributeString("xsi:type", "dcterms:W3CDTF"), e.writeString(r), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , P.prototype.writeTableStyles = function() { var t = new R , e = new x(I.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, e.writeStartDocument(), e.writeStartElement("a:tblStyleLst"), e.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), e.writeAttributeString("def", "{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"), e.writeEndElement(), e.writeEndDocument(), e.flush(), t } , P.prototype.writePresProps = function() { var t = new R , e = new x(I.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, e.writeStartDocument(), e.writeStartElement("p:presentationPr"), e.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), e.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), e.writeAttributeString("xmlns:p", "http://schemas.openxmlformats.org/presentationml/2006/main"), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , P.prototype.writeViewProps = function() { var t = new R , e = new x(I.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, e.writeStartDocument(), e.writeStartElement("p:viewPr"), e.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), e.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), e.writeAttributeString("xmlns:p", "http://schemas.openxmlformats.org/presentationml/2006/main"), e.writeStartElement("p:normalViewPr"), e.writeAttributeString("showOutlineIcons", "0"), e.writeStartElement("p:restoredLeft"), e.writeAttributeString("sz", "15591"), e.writeAttributeString("autoAdjust", "0"), e.writeEndElement(), e.writeStartElement("p:restoredTop"), e.writeAttributeString("sz", "94675"), e.writeAttributeString("autoAdjust", "0"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("p:slideViewPr"), e.writeStartElement("p:cSldViewPr"), e.writeStartElement("p:cViewPr"), e.writeAttributeString("varScale", "1"), e.writeStartElement("p:scale"), e.writeStartElement("a:sx"), e.writeAttributeString("n", "107"), e.writeAttributeString("d", "100"), e.writeEndElement(), e.writeStartElement("a:sy"), e.writeAttributeString("n", "107"), e.writeAttributeString("d", "100"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("p:origin"), e.writeAttributeString("x", "-1098"), e.writeAttributeString("y", "-84"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("p:guideLst"), e.writeStartElement("p:guide"), e.writeAttributeString("orient", "horz"), e.writeAttributeString("pos", "2160"), e.writeEndElement(), e.writeStartElement("p:guide"), e.writeAttributeString("pos", "2880"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("p:notesTextViewPr"), e.writeStartElement("p:cViewPr"), e.writeStartElement("p:scale"), e.writeStartElement("a:sx"), e.writeAttributeString("n", "100"), e.writeAttributeString("d", "100"), e.writeEndElement(), e.writeStartElement("a:sy"), e.writeAttributeString("n", "100"), e.writeAttributeString("d", "100"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("p:origin"), e.writeAttributeString("x", "0"), e.writeAttributeString("y", "0"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("p:gridSpacing"), e.writeAttributeString("cx", "73736200"), e.writeAttributeString("cy", "73736200"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , P.prototype.writeTheme = function() { var t = new R , e = new x(I.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, e.writeStartDocument(), e.writeStartElement("a:theme"), e.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), e.writeAttributeString("name", "Office Theme"), e.writeStartElement("a:themeElements"), e.writeStartElement("a:clrScheme"), e.writeAttributeString("name", "Office"), e.writeStartElement("a:dk1"), e.writeStartElement("a:sysClr"), e.writeAttributeString("val", "windowText"), e.writeAttributeString("lastClr", "000000"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:lt1"), e.writeStartElement("a:sysClr"), e.writeAttributeString("val", "window"), e.writeAttributeString("lastClr", "FFFFFF"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:dk2"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "1F497D"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:lt2"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "EEECE1"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:accent1"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "4F81BD"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:accent2"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "C0504D"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:accent3"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "9BBB59"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:accent4"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "8064A2"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:accent5"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "4BACC6"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:accent6"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "F79646"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:hlink"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "0000FF"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:folHlink"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "800080"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:fontScheme"), e.writeAttributeString("name", "Office"), e.writeStartElement("a:majorFont"), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "Calibri"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", ""), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", ""), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Jpan"), e.writeAttributeString("typeface", "MS Pゴシック"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Hang"), e.writeAttributeString("typeface", "맑은 고딕"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Hans"), e.writeAttributeString("typeface", "宋体"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Hant"), e.writeAttributeString("typeface", "新細明體"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Arab"), e.writeAttributeString("typeface", "Times New Roman"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Hebr"), e.writeAttributeString("typeface", "Times New Roman"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Thai"), e.writeAttributeString("typeface", "Angsana New"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Ethi"), e.writeAttributeString("typeface", "Nyala"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Beng"), e.writeAttributeString("typeface", "Vrinda"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Gujr"), e.writeAttributeString("typeface", "Shruti"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Khmr"), e.writeAttributeString("typeface", "MoolBoran"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Knda"), e.writeAttributeString("typeface", "Tunga"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Guru"), e.writeAttributeString("typeface", "Raavi"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Cans"), e.writeAttributeString("typeface", "Euphemia"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Cher"), e.writeAttributeString("typeface", "Plantagenet Cherokee"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Yiii"), e.writeAttributeString("typeface", "Microsoft Yi Baiti"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Tibt"), e.writeAttributeString("typeface", "Microsoft Himalaya"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Thaa"), e.writeAttributeString("typeface", "MV Boli"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Deva"), e.writeAttributeString("typeface", "Mangal"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Telu"), e.writeAttributeString("typeface", "Gautami"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Taml"), e.writeAttributeString("typeface", "Latha"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Syrc"), e.writeAttributeString("typeface", "Estrangelo Edessa"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Orya"), e.writeAttributeString("typeface", "Kalinga"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Mlym"), e.writeAttributeString("typeface", "Kartika"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Laoo"), e.writeAttributeString("typeface", "DokChampa"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Sinh"), e.writeAttributeString("typeface", "Iskoola Pota"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Mong"), e.writeAttributeString("typeface", "Mongolian Baiti"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Viet"), e.writeAttributeString("typeface", "Times New Roman"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Uigh"), e.writeAttributeString("typeface", "Microsoft Uighur"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:minorFont"), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "Calibri"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", ""), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", ""), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Jpan"), e.writeAttributeString("typeface", "MS Pゴシック"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Hang"), e.writeAttributeString("typeface", "맑은 고딕"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Hans"), e.writeAttributeString("typeface", "宋体"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Hant"), e.writeAttributeString("typeface", "新細明體"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Arab"), e.writeAttributeString("typeface", "Arial"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Hebr"), e.writeAttributeString("typeface", "Arial"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Thai"), e.writeAttributeString("typeface", "Cordia New"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Ethi"), e.writeAttributeString("typeface", "Nyala"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Beng"), e.writeAttributeString("typeface", "Vrinda"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Gujr"), e.writeAttributeString("typeface", "Shruti"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Khmr"), e.writeAttributeString("typeface", "DaunPenh"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Knda"), e.writeAttributeString("typeface", "Tunga"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Guru"), e.writeAttributeString("typeface", "Raavi"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Cans"), e.writeAttributeString("typeface", "Euphemia"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Cher"), e.writeAttributeString("typeface", "Plantagenet Cherokee"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Yiii"), e.writeAttributeString("typeface", "Microsoft Yi Baiti"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Tibt"), e.writeAttributeString("typeface", "Microsoft Himalaya"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Thaa"), e.writeAttributeString("typeface", "MV Boli"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Deva"), e.writeAttributeString("typeface", "Mangal"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Telu"), e.writeAttributeString("typeface", "Gautami"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Taml"), e.writeAttributeString("typeface", "Latha"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Syrc"), e.writeAttributeString("typeface", "Estrangelo Edessa"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Orya"), e.writeAttributeString("typeface", "Kalinga"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Mlym"), e.writeAttributeString("typeface", "Kartika"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Laoo"), e.writeAttributeString("typeface", "DokChampa"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Sinh"), e.writeAttributeString("typeface", "Iskoola Pota"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Mong"), e.writeAttributeString("typeface", "Mongolian Baiti"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Viet"), e.writeAttributeString("typeface", "Arial"), e.writeEndElement(), e.writeStartElement("a:font"), e.writeAttributeString("script", "Uigh"), e.writeAttributeString("typeface", "Microsoft Uighur"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:fmtScheme"), e.writeAttributeString("name", "Office"), e.writeStartElement("a:fillStyleLst"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gradFill"), e.writeAttributeString("rotWithShape", "1"), e.writeStartElement("a:gsLst"), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "0"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:tint"), e.writeAttributeString("val", "50000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "300000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "35000"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:tint"), e.writeAttributeString("val", "37000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "300000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "100000"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:tint"), e.writeAttributeString("val", "15000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "350000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:lin"), e.writeAttributeString("ang", "16200000"), e.writeAttributeString("scaled", "1"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gradFill"), e.writeAttributeString("rotWithShape", "1"), e.writeStartElement("a:gsLst"), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "0"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:shade"), e.writeAttributeString("val", "51000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "130000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "80000"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:shade"), e.writeAttributeString("val", "93000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "130000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "100000"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:shade"), e.writeAttributeString("val", "94000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "135000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:lin"), e.writeAttributeString("ang", "16200000"), e.writeAttributeString("scaled", "0"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:lnStyleLst"), e.writeStartElement("a:ln"), e.writeAttributeString("w", "9525"), e.writeAttributeString("cap", "flat"), e.writeAttributeString("cmpd", "sng"), e.writeAttributeString("algn", "ctr"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:shade"), e.writeAttributeString("val", "95000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "105000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:prstDash"), e.writeAttributeString("val", "solid"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:ln"), e.writeAttributeString("w", "25400"), e.writeAttributeString("cap", "flat"), e.writeAttributeString("cmpd", "sng"), e.writeAttributeString("algn", "ctr"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:prstDash"), e.writeAttributeString("val", "solid"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:ln"), e.writeAttributeString("w", "38100"), e.writeAttributeString("cap", "flat"), e.writeAttributeString("cmpd", "sng"), e.writeAttributeString("algn", "ctr"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:prstDash"), e.writeAttributeString("val", "solid"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:effectStyleLst"), e.writeStartElement("a:effectStyle"), e.writeStartElement("a:effectLst"), e.writeStartElement("a:outerShdw"), e.writeAttributeString("blurRad", "40000"), e.writeAttributeString("dist", "20000"), e.writeAttributeString("dir", "5400000"), e.writeAttributeString("rotWithShape", "0"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "000000"), e.writeStartElement("a:alpha"), e.writeAttributeString("val", "38000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:effectStyle"), e.writeStartElement("a:effectLst"), e.writeStartElement("a:outerShdw"), e.writeAttributeString("blurRad", "40000"), e.writeAttributeString("dist", "23000"), e.writeAttributeString("dir", "5400000"), e.writeAttributeString("rotWithShape", "0"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "000000"), e.writeStartElement("a:alpha"), e.writeAttributeString("val", "35000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:effectStyle"), e.writeStartElement("a:effectLst"), e.writeStartElement("a:outerShdw"), e.writeAttributeString("blurRad", "40000"), e.writeAttributeString("dist", "23000"), e.writeAttributeString("dir", "5400000"), e.writeAttributeString("rotWithShape", "0"), e.writeStartElement("a:srgbClr"), e.writeAttributeString("val", "000000"), e.writeStartElement("a:alpha"), e.writeAttributeString("val", "35000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:scene3d"), e.writeStartElement("a:camera"), e.writeAttributeString("prst", "orthographicFront"), e.writeStartElement("a:rot"), e.writeAttributeString("lat", "0"), e.writeAttributeString("lon", "0"), e.writeAttributeString("rev", "0"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:lightRig"), e.writeAttributeString("rig", "threePt"), e.writeAttributeString("dir", "t"), e.writeStartElement("a:rot"), e.writeAttributeString("lat", "0"), e.writeAttributeString("lon", "0"), e.writeAttributeString("rev", "1200000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:sp3d"), e.writeStartElement("a:bevelT"), e.writeAttributeString("w", "63500"), e.writeAttributeString("h", "25400"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:bgFillStyleLst"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gradFill"), e.writeAttributeString("rotWithShape", "1"), e.writeStartElement("a:gsLst"), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "0"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:tint"), e.writeAttributeString("val", "40000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "350000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "40000"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:tint"), e.writeAttributeString("val", "45000"), e.writeEndElement(), e.writeStartElement("a:shade"), e.writeAttributeString("val", "99000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "350000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "100000"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:shade"), e.writeAttributeString("val", "20000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "255000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:path"), e.writeAttributeString("path", "circle"), e.writeStartElement("a:fillToRect"), e.writeAttributeString("l", "50000"), e.writeAttributeString("t", "-80000"), e.writeAttributeString("r", "50000"), e.writeAttributeString("b", "180000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gradFill"), e.writeAttributeString("rotWithShape", "1"), e.writeStartElement("a:gsLst"), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "0"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:tint"), e.writeAttributeString("val", "80000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "300000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:gs"), e.writeAttributeString("pos", "100000"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "phClr"), e.writeStartElement("a:shade"), e.writeAttributeString("val", "30000"), e.writeEndElement(), e.writeStartElement("a:satMod"), e.writeAttributeString("val", "200000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:path"), e.writeAttributeString("path", "circle"), e.writeStartElement("a:fillToRect"), e.writeAttributeString("l", "50000"), e.writeAttributeString("t", "50000"), e.writeAttributeString("r", "50000"), e.writeAttributeString("b", "50000"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("a:objectDefaults"), e.writeEndElement(), e.writeStartElement("a:extraClrSchemeLst"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , P.prototype.writeSlideMasterRels = function() { var t = new R , e = new x(I.UTF8,t); e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, e.writeStartDocument(), e.writeStartElement("Relationships"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"); for (var r = 0; r < 11; r++) e.writeStartElement("Relationship"), e.writeAttributeString("Id", C.format("rId{0}", r + 1)), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"), e.writeAttributeString("Target", C.format("../slideLayouts/slideLayout{0}.xml", r + 1)), e.writeEndElement(); return e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId12"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"), e.writeAttributeString("Target", "../theme/theme1.xml"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , P.prototype.writeSlideMaster = function() { var t = new R , e = new x(I.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, e.writeStartDocument(), e.writeStartElement("p:sldMaster"), e.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), e.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), e.writeAttributeString("xmlns:p", "http://schemas.openxmlformats.org/presentationml/2006/main"), e.writeStartElement("p:cSld"), e.writeStartElement("p:bg"), e.writeStartElement("p:bgRef"), e.writeAttributeString("idx", "1001"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "bg1"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:spTree"), e.writeStartElement("p:nvGrpSpPr"), e.writeStartElement("p:cNvPr"), e.writeAttributeString("id", "1"), e.writeAttributeString("name", ""), e.writeEndElement(), e.writeStartElement("p:cNvGrpSpPr"), e.writeEndElement(), e.writeStartElement("p:nvPr"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("p:grpSpPr"), e.writeStartElement("a:xfrm"), e.writeStartElement("a:off"), e.writeAttributeString("x", "0"), e.writeAttributeString("y", "0"), e.writeEndElement(), e.writeStartElement("a:ext"), e.writeAttributeString("cx", "0"), e.writeAttributeString("cy", "0"), e.writeEndElement(), e.writeStartElement("a:chOff"), e.writeAttributeString("x", "0"), e.writeAttributeString("y", "0"), e.writeEndElement(), e.writeStartElement("a:chExt"), e.writeAttributeString("cx", "0"), e.writeAttributeString("cy", "0"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:sp"), e.writeStartElement("p:nvSpPr"), e.writeStartElement("p:cNvPr"), e.writeAttributeString("id", "2"), e.writeAttributeString("name", "Title Placeholder 1"), e.writeEndElement(), e.writeStartElement("p:cNvSpPr"), e.writeStartElement("a:spLocks"), e.writeAttributeString("noGrp", "1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("p:nvPr"), e.writeStartElement("p:ph"), e.writeAttributeString("type", "title"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:spPr"), e.writeStartElement("a:xfrm"), e.writeStartElement("a:off"), e.writeAttributeString("x", "457200"), e.writeAttributeString("y", "274638"), e.writeEndElement(), e.writeStartElement("a:ext"), e.writeAttributeString("cx", "8229600"), e.writeAttributeString("cy", "1143000"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:prstGeom"), e.writeAttributeString("prst", "rect"), e.writeStartElement("a:avLst"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:txBody"), e.writeStartElement("a:bodyPr"), e.writeAttributeString("vert", "horz"), e.writeAttributeString("lIns", "91440"), e.writeAttributeString("tIns", "45720"), e.writeAttributeString("rIns", "91440"), e.writeAttributeString("bIns", "45720"), e.writeAttributeString("rtlCol", "0"), e.writeAttributeString("anchor", "ctr"), e.writeStartElement("a:normAutofit"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lstStyle"), e.writeEndElement(), e.writeStartElement("a:p"), e.writeStartElement("a:r"), e.writeStartElement("a:rPr"), e.writeAttributeString("lang", "en-US"), e.writeAttributeString("smtClean", "0"), e.writeEndElement(), e.writeStartElement("a:t"), e.writeString("Click to edit Master title style"), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:endParaRPr"), e.writeAttributeString("lang", "ru-RU"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:sp"), e.writeStartElement("p:nvSpPr"), e.writeStartElement("p:cNvPr"), e.writeAttributeString("id", "3"), e.writeAttributeString("name", "Text Placeholder 2"), e.writeEndElement(), e.writeStartElement("p:cNvSpPr"), e.writeStartElement("a:spLocks"), e.writeAttributeString("noGrp", "1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("p:nvPr"), e.writeStartElement("p:ph"), e.writeAttributeString("type", "body"), e.writeAttributeString("idx", "1"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:spPr"), e.writeStartElement("a:xfrm"), e.writeStartElement("a:off"), e.writeAttributeString("x", "457200"), e.writeAttributeString("y", "1600200"), e.writeEndElement(), e.writeStartElement("a:ext"), e.writeAttributeString("cx", "8229600"), e.writeAttributeString("cy", "4525963"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:prstGeom"), e.writeAttributeString("prst", "rect"), e.writeStartElement("a:avLst"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:txBody"), e.writeStartElement("a:bodyPr"), e.writeAttributeString("vert", "horz"), e.writeAttributeString("lIns", "91440"), e.writeAttributeString("tIns", "45720"), e.writeAttributeString("rIns", "91440"), e.writeAttributeString("bIns", "45720"), e.writeAttributeString("rtlCol", "0"), e.writeStartElement("a:normAutofit"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lstStyle"), e.writeEndElement(), e.writeStartElement("a:p"), e.writeStartElement("a:pPr"), e.writeAttributeString("lvl", "0"), e.writeEndElement(), e.writeStartElement("a:r"), e.writeStartElement("a:rPr"), e.writeAttributeString("lang", "en-US"), e.writeAttributeString("smtClean", "0"), e.writeEndElement(), e.writeStartElement("a:t"), e.writeString("Click to edit Master text styles"), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:p"), e.writeStartElement("a:pPr"), e.writeAttributeString("lvl", "1"), e.writeEndElement(), e.writeStartElement("a:r"), e.writeStartElement("a:rPr"), e.writeAttributeString("lang", "en-US"), e.writeAttributeString("smtClean", "0"), e.writeEndElement(), e.writeStartElement("a:t"), e.writeString("Second level"), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:p"), e.writeStartElement("a:pPr"), e.writeAttributeString("lvl", "2"), e.writeEndElement(), e.writeStartElement("a:r"), e.writeStartElement("a:rPr"), e.writeAttributeString("lang", "en-US"), e.writeAttributeString("smtClean", "0"), e.writeEndElement(), e.writeStartElement("a:t"), e.writeString("Third level"), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:p"), e.writeStartElement("a:pPr"), e.writeAttributeString("lvl", "3"), e.writeEndElement(), e.writeStartElement("a:r"), e.writeStartElement("a:rPr"), e.writeAttributeString("lang", "en-US"), e.writeAttributeString("smtClean", "0"), e.writeEndElement(), e.writeStartElement("a:t"), e.writeString("Fourth level"), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:p"), e.writeStartElement("a:pPr"), e.writeAttributeString("lvl", "4"), e.writeEndElement(), e.writeStartElement("a:r"), e.writeStartElement("a:rPr"), e.writeAttributeString("lang", "en-US"), e.writeAttributeString("smtClean", "0"), e.writeEndElement(), e.writeStartElement("a:t"), e.writeString("Fifth level"), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:endParaRPr"), e.writeAttributeString("lang", "ru-RU"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:sp"), e.writeStartElement("p:nvSpPr"), e.writeStartElement("p:cNvPr"), e.writeAttributeString("id", "4"), e.writeAttributeString("name", "Date Placeholder 3"), e.writeEndElement(), e.writeStartElement("p:cNvSpPr"), e.writeStartElement("a:spLocks"), e.writeAttributeString("noGrp", "1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("p:nvPr"), e.writeStartElement("p:ph"), e.writeAttributeString("type", "dt"), e.writeAttributeString("sz", "half"), e.writeAttributeString("idx", "2"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:spPr"), e.writeStartElement("a:xfrm"), e.writeStartElement("a:off"), e.writeAttributeString("x", "457200"), e.writeAttributeString("y", "6356350"), e.writeEndElement(), e.writeStartElement("a:ext"), e.writeAttributeString("cx", "2133600"), e.writeAttributeString("cy", "365125"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:prstGeom"), e.writeAttributeString("prst", "rect"), e.writeStartElement("a:avLst"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:txBody"), e.writeStartElement("a:bodyPr"), e.writeAttributeString("vert", "horz"), e.writeAttributeString("lIns", "91440"), e.writeAttributeString("tIns", "45720"), e.writeAttributeString("rIns", "91440"), e.writeAttributeString("bIns", "45720"), e.writeAttributeString("rtlCol", "0"), e.writeAttributeString("anchor", "ctr"), e.writeEndElement(), e.writeStartElement("a:lstStyle"), e.writeStartElement("a:lvl1pPr"), e.writeAttributeString("algn", "l"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeStartElement("a:tint"), e.writeAttributeString("val", "75000"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:p"), e.writeStartElement("a:fld"), e.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), e.writeAttributeString("type", "datetimeFigureOut"), e.writeStartElement("a:rPr"), e.writeAttributeString("lang", "ru-RU"), e.writeAttributeString("smtClean", "0"), e.writeEndElement(), e.writeStartElement("a:t"), e.writeString("15.04.2009"), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:endParaRPr"), e.writeAttributeString("lang", "ru-RU"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:sp"), e.writeStartElement("p:nvSpPr"), e.writeStartElement("p:cNvPr"), e.writeAttributeString("id", "5"), e.writeAttributeString("name", "Footer Placeholder 4"), e.writeEndElement(), e.writeStartElement("p:cNvSpPr"), e.writeStartElement("a:spLocks"), e.writeAttributeString("noGrp", "1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("p:nvPr"), e.writeStartElement("p:ph"), e.writeAttributeString("type", "ftr"), e.writeAttributeString("sz", "quarter"), e.writeAttributeString("idx", "3"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:spPr"), e.writeStartElement("a:xfrm"), e.writeStartElement("a:off"), e.writeAttributeString("x", "3124200"), e.writeAttributeString("y", "6356350"), e.writeEndElement(), e.writeStartElement("a:ext"), e.writeAttributeString("cx", "2895600"), e.writeAttributeString("cy", "365125"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:prstGeom"), e.writeAttributeString("prst", "rect"), e.writeStartElement("a:avLst"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:txBody"), e.writeStartElement("a:bodyPr"), e.writeAttributeString("vert", "horz"), e.writeAttributeString("lIns", "91440"), e.writeAttributeString("tIns", "45720"), e.writeAttributeString("rIns", "91440"), e.writeAttributeString("bIns", "45720"), e.writeAttributeString("rtlCol", "0"), e.writeAttributeString("anchor", "ctr"), e.writeEndElement(), e.writeStartElement("a:lstStyle"), e.writeStartElement("a:lvl1pPr"), e.writeAttributeString("algn", "ctr"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeStartElement("a:tint"), e.writeAttributeString("val", "75000"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:p"), e.writeStartElement("a:endParaRPr"), e.writeAttributeString("lang", "ru-RU"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:sp"), e.writeStartElement("p:nvSpPr"), e.writeStartElement("p:cNvPr"), e.writeAttributeString("id", "6"), e.writeAttributeString("name", "Slide Number Placeholder 5"), e.writeEndElement(), e.writeStartElement("p:cNvSpPr"), e.writeStartElement("a:spLocks"), e.writeAttributeString("noGrp", "1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("p:nvPr"), e.writeStartElement("p:ph"), e.writeAttributeString("type", "sldNum"), e.writeAttributeString("sz", "quarter"), e.writeAttributeString("idx", "4"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:spPr"), e.writeStartElement("a:xfrm"), e.writeStartElement("a:off"), e.writeAttributeString("x", "6553200"), e.writeAttributeString("y", "6356350"), e.writeEndElement(), e.writeStartElement("a:ext"), e.writeAttributeString("cx", "2133600"), e.writeAttributeString("cy", "365125"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:prstGeom"), e.writeAttributeString("prst", "rect"), e.writeStartElement("a:avLst"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:txBody"), e.writeStartElement("a:bodyPr"), e.writeAttributeString("vert", "horz"), e.writeAttributeString("lIns", "91440"), e.writeAttributeString("tIns", "45720"), e.writeAttributeString("rIns", "91440"), e.writeAttributeString("bIns", "45720"), e.writeAttributeString("rtlCol", "0"), e.writeAttributeString("anchor", "ctr"), e.writeEndElement(), e.writeStartElement("a:lstStyle"), e.writeStartElement("a:lvl1pPr"), e.writeAttributeString("algn", "r"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeStartElement("a:tint"), e.writeAttributeString("val", "75000"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:p"), e.writeStartElement("a:fld"), e.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), e.writeAttributeString("type", "slidenum"), e.writeStartElement("a:rPr"), e.writeAttributeString("lang", "ru-RU"), e.writeAttributeString("smtClean", "0"), e.writeEndElement(), e.writeStartElement("a:t"), e.writeString("‹#›"), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:endParaRPr"), e.writeAttributeString("lang", "ru-RU"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:clrMap"), e.writeAttributeString("bg1", "lt1"), e.writeAttributeString("tx1", "dk1"), e.writeAttributeString("bg2", "lt2"), e.writeAttributeString("tx2", "dk2"), e.writeAttributeString("accent1", "accent1"), e.writeAttributeString("accent2", "accent2"), e.writeAttributeString("accent3", "accent3"), e.writeAttributeString("accent4", "accent4"), e.writeAttributeString("accent5", "accent5"), e.writeAttributeString("accent6", "accent6"), e.writeAttributeString("hlink", "hlink"), e.writeAttributeString("folHlink", "folHlink"), e.writeEndElement(), e.writeStartElement("p:sldLayoutIdLst"), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483649"), e.writeAttributeString("r:id", "rId1"), e.writeEndElement(), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483650"), e.writeAttributeString("r:id", "rId2"), e.writeEndElement(), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483651"), e.writeAttributeString("r:id", "rId3"), e.writeEndElement(), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483652"), e.writeAttributeString("r:id", "rId4"), e.writeEndElement(), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483653"), e.writeAttributeString("r:id", "rId5"), e.writeEndElement(), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483654"), e.writeAttributeString("r:id", "rId6"), e.writeEndElement(), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483655"), e.writeAttributeString("r:id", "rId7"), e.writeEndElement(), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483656"), e.writeAttributeString("r:id", "rId8"), e.writeEndElement(), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483657"), e.writeAttributeString("r:id", "rId9"), e.writeEndElement(), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483658"), e.writeAttributeString("r:id", "rId10"), e.writeEndElement(), e.writeStartElement("p:sldLayoutId"), e.writeAttributeString("id", "2147483659"), e.writeAttributeString("r:id", "rId11"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("p:txStyles"), e.writeStartElement("p:titleStyle"), e.writeStartElement("a:lvl1pPr"), e.writeAttributeString("algn", "ctr"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:spcBef"), e.writeStartElement("a:spcPct"), e.writeAttributeString("val", "0"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:buNone"), e.writeEndElement(), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "4400"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mj-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mj-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mj-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:bodyStyle"), e.writeStartElement("a:lvl1pPr"), e.writeAttributeString("marL", "342900"), e.writeAttributeString("indent", "-342900"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:spcBef"), e.writeStartElement("a:spcPct"), e.writeAttributeString("val", "20000"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:buFont"), e.writeAttributeString("typeface", "Arial"), e.writeAttributeString("pitchFamily", "34"), e.writeAttributeString("charset", "0"), e.writeEndElement(), e.writeStartElement("a:buChar"), e.writeAttributeString("char", "•"), e.writeEndElement(), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "3200"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl2pPr"), e.writeAttributeString("marL", "742950"), e.writeAttributeString("indent", "-285750"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:spcBef"), e.writeStartElement("a:spcPct"), e.writeAttributeString("val", "20000"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:buFont"), e.writeAttributeString("typeface", "Arial"), e.writeAttributeString("pitchFamily", "34"), e.writeAttributeString("charset", "0"), e.writeEndElement(), e.writeStartElement("a:buChar"), e.writeAttributeString("char", "–"), e.writeEndElement(), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "2800"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl3pPr"), e.writeAttributeString("marL", "1143000"), e.writeAttributeString("indent", "-228600"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:spcBef"), e.writeStartElement("a:spcPct"), e.writeAttributeString("val", "20000"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:buFont"), e.writeAttributeString("typeface", "Arial"), e.writeAttributeString("pitchFamily", "34"), e.writeAttributeString("charset", "0"), e.writeEndElement(), e.writeStartElement("a:buChar"), e.writeAttributeString("char", "•"), e.writeEndElement(), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "2400"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl4pPr"), e.writeAttributeString("marL", "1600200"), e.writeAttributeString("indent", "-228600"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:spcBef"), e.writeStartElement("a:spcPct"), e.writeAttributeString("val", "20000"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:buFont"), e.writeAttributeString("typeface", "Arial"), e.writeAttributeString("pitchFamily", "34"), e.writeAttributeString("charset", "0"), e.writeEndElement(), e.writeStartElement("a:buChar"), e.writeAttributeString("char", "–"), e.writeEndElement(), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "2000"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl5pPr"), e.writeAttributeString("marL", "2057400"), e.writeAttributeString("indent", "-228600"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:spcBef"), e.writeStartElement("a:spcPct"), e.writeAttributeString("val", "20000"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:buFont"), e.writeAttributeString("typeface", "Arial"), e.writeAttributeString("pitchFamily", "34"), e.writeAttributeString("charset", "0"), e.writeEndElement(), e.writeStartElement("a:buChar"), e.writeAttributeString("char", "»"), e.writeEndElement(), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "2000"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl6pPr"), e.writeAttributeString("marL", "2514600"), e.writeAttributeString("indent", "-228600"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:spcBef"), e.writeStartElement("a:spcPct"), e.writeAttributeString("val", "20000"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:buFont"), e.writeAttributeString("typeface", "Arial"), e.writeAttributeString("pitchFamily", "34"), e.writeAttributeString("charset", "0"), e.writeEndElement(), e.writeStartElement("a:buChar"), e.writeAttributeString("char", "•"), e.writeEndElement(), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "2000"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl7pPr"), e.writeAttributeString("marL", "2971800"), e.writeAttributeString("indent", "-228600"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:spcBef"), e.writeStartElement("a:spcPct"), e.writeAttributeString("val", "20000"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:buFont"), e.writeAttributeString("typeface", "Arial"), e.writeAttributeString("pitchFamily", "34"), e.writeAttributeString("charset", "0"), e.writeEndElement(), e.writeStartElement("a:buChar"), e.writeAttributeString("char", "•"), e.writeEndElement(), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "2000"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl8pPr"), e.writeAttributeString("marL", "3429000"), e.writeAttributeString("indent", "-228600"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:spcBef"), e.writeStartElement("a:spcPct"), e.writeAttributeString("val", "20000"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:buFont"), e.writeAttributeString("typeface", "Arial"), e.writeAttributeString("pitchFamily", "34"), e.writeAttributeString("charset", "0"), e.writeEndElement(), e.writeStartElement("a:buChar"), e.writeAttributeString("char", "•"), e.writeEndElement(), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "2000"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl9pPr"), e.writeAttributeString("marL", "3886200"), e.writeAttributeString("indent", "-228600"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:spcBef"), e.writeStartElement("a:spcPct"), e.writeAttributeString("val", "20000"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:buFont"), e.writeAttributeString("typeface", "Arial"), e.writeAttributeString("pitchFamily", "34"), e.writeAttributeString("charset", "0"), e.writeEndElement(), e.writeStartElement("a:buChar"), e.writeAttributeString("char", "•"), e.writeEndElement(), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "2000"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("p:otherStyle"), e.writeStartElement("a:defPPr"), e.writeStartElement("a:defRPr"), e.writeAttributeString("lang", "ru-RU"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl1pPr"), e.writeAttributeString("marL", "0"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1800"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl2pPr"), e.writeAttributeString("marL", "457200"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1800"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl3pPr"), e.writeAttributeString("marL", "914400"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1800"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl4pPr"), e.writeAttributeString("marL", "1371600"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1800"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl5pPr"), e.writeAttributeString("marL", "1828800"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1800"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl6pPr"), e.writeAttributeString("marL", "2286000"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1800"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl7pPr"), e.writeAttributeString("marL", "2743200"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1800"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl8pPr"), e.writeAttributeString("marL", "3200400"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1800"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeStartElement("a:lvl9pPr"), e.writeAttributeString("marL", "3657600"), e.writeAttributeString("algn", "l"), e.writeAttributeString("defTabSz", "914400"), e.writeAttributeString("rtl", "0"), e.writeAttributeString("eaLnBrk", "1"), e.writeAttributeString("latinLnBrk", "0"), e.writeAttributeString("hangingPunct", "1"), e.writeStartElement("a:defRPr"), e.writeAttributeString("sz", "1800"), e.writeAttributeString("kern", "1200"), e.writeStartElement("a:solidFill"), e.writeStartElement("a:schemeClr"), e.writeAttributeString("val", "tx1"), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("a:latin"), e.writeAttributeString("typeface", "+mn-lt"), e.writeEndElement(), e.writeStartElement("a:ea"), e.writeAttributeString("typeface", "+mn-ea"), e.writeEndElement(), e.writeStartElement("a:cs"), e.writeAttributeString("typeface", "+mn-cs"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , P.prototype.writeSlideLayoutRels = function() { var t = new R , e = new x(I.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, e.writeStartDocument(), e.writeStartElement("Relationships"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"), e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId1"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"), e.writeAttributeString("Target", "../slideMasters/slideMaster1.xml"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , P.prototype.writeSlideLayout = function(e, r) { var i = new R , n = new x(I.UTF8,i); if (n.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, n.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, n.writeStartDocument(), n.writeStartElement("p:sldLayout"), n.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), n.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), n.writeAttributeString("xmlns:p", "http://schemas.openxmlformats.org/presentationml/2006/main"), 1 == e) { n.writeAttributeString("type", "title"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Title Slide"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Title 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ctrTitle"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "685800"), n.writeAttributeString("y", "2130425"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "7772400"), n.writeAttributeString("cy", "1470025"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master title style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Subtitle 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "subTitle"), n.writeAttributeString("idx", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "1371600"), n.writeAttributeString("y", "3886200"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "6400800"), n.writeAttributeString("cy", "1752600"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeAttributeString("marL", "0"), n.writeAttributeString("indent", "0"), n.writeAttributeString("algn", "ctr"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeAttributeString("marL", "457200"), n.writeAttributeString("indent", "0"), n.writeAttributeString("algn", "ctr"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeAttributeString("marL", "914400"), n.writeAttributeString("indent", "0"), n.writeAttributeString("algn", "ctr"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeAttributeString("marL", "1371600"), n.writeAttributeString("indent", "0"), n.writeAttributeString("algn", "ctr"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeAttributeString("marL", "1828800"), n.writeAttributeString("indent", "0"), n.writeAttributeString("algn", "ctr"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(); n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeAttributeString("marL", "2286000"), n.writeAttributeString("indent", "0"), n.writeAttributeString("algn", "ctr"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeAttributeString("marL", "2743200"), n.writeAttributeString("indent", "0"), n.writeAttributeString("algn", "ctr"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeAttributeString("marL", "3200400"), n.writeAttributeString("indent", "0"), n.writeAttributeString("algn", "ctr"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeAttributeString("marL", "3657600"), n.writeAttributeString("indent", "0"), n.writeAttributeString("algn", "ctr"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master subtitle style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Date Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "5"), n.writeAttributeString("name", "Footer Placeholder 4"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "6"), n.writeAttributeString("name", "Slide Number Placeholder 5"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(); n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement() } if (2 == e) { n.writeAttributeString("type", "obj"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Title and Content"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Title 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "title"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master title style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Content Placeholder 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("idx", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "1"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Second level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "2"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Third level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "3"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fourth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "4"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fifth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Date Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(); n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "5"), n.writeAttributeString("name", "Footer Placeholder 4"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "6"), n.writeAttributeString("name", "Slide Number Placeholder 5"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement() } if (3 == e) { n.writeAttributeString("type", "secHead"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Section Header"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Title 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "title"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "722313"), n.writeAttributeString("y", "4406900"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "7772400"), n.writeAttributeString("cy", "1362075"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeAttributeString("anchor", "t"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeAttributeString("algn", "l"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "4000"), n.writeAttributeString("b", "1"), n.writeAttributeString("cap", "all"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master title style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Text Placeholder 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "body"), n.writeAttributeString("idx", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "722313"), n.writeAttributeString("y", "2906713"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "7772400"), n.writeAttributeString("cy", "1500187"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeAttributeString("anchor", "b"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeAttributeString("marL", "0"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeAttributeString("marL", "457200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeAttributeString("marL", "914400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeAttributeString("marL", "1371600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1400"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeAttributeString("marL", "1828800"), n.writeAttributeString("indent", "0"); n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1400"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeAttributeString("marL", "2286000"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1400"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeAttributeString("marL", "2743200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1400"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeAttributeString("marL", "3200400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1400"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeAttributeString("marL", "3657600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1400"), n.writeStartElement("a:solidFill"), n.writeStartElement("a:schemeClr"), n.writeAttributeString("val", "tx1"), n.writeStartElement("a:tint"), n.writeAttributeString("val", "75000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Date Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "5"), n.writeAttributeString("name", "Footer Placeholder 4"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "6"), n.writeAttributeString("name", "Slide Number Placeholder 5"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(); n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement() } if (4 == e) { n.writeAttributeString("type", "twoObj"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Two Content"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Title 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "title"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master title style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Content Placeholder 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "457200"), n.writeAttributeString("y", "1600200"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "4038600"), n.writeAttributeString("cy", "4525963"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2400"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "1"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Second level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "2"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Third level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "3"); n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fourth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "4"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fifth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Content Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "2"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "4648200"), n.writeAttributeString("y", "1600200"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "4038600"), n.writeAttributeString("cy", "4525963"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2400"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "1"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Second level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "2"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Third level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "3"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fourth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "4"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fifth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "5"), n.writeAttributeString("name", "Date Placeholder 4"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"); n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "6"), n.writeAttributeString("name", "Footer Placeholder 5"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "7"), n.writeAttributeString("name", "Slide Number Placeholder 6"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement() } if (5 == e) { n.writeAttributeString("type", "twoTxTwoObj"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Comparison"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Title 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "title"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeStartElement("a:defRPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master title style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Text Placeholder 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "body"), n.writeAttributeString("idx", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "457200"), n.writeAttributeString("y", "1535113"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "4040188"), n.writeAttributeString("cy", "639762"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeAttributeString("anchor", "b"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeAttributeString("marL", "0"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2400"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeAttributeString("marL", "457200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeAttributeString("marL", "914400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeAttributeString("marL", "1371600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeAttributeString("marL", "1828800"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeAttributeString("marL", "2286000"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeAttributeString("marL", "2743200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeAttributeString("marL", "3200400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeAttributeString("marL", "3657600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"); n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Content Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "2"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "457200"), n.writeAttributeString("y", "2174875"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "4040188"), n.writeAttributeString("cy", "3951288"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2400"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "1"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Second level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "2"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Third level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "3"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fourth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "4"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fifth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "5"), n.writeAttributeString("name", "Text Placeholder 4"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "body"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "3"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "4645025"), n.writeAttributeString("y", "1535113"); n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "4041775"), n.writeAttributeString("cy", "639762"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeAttributeString("anchor", "b"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeAttributeString("marL", "0"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2400"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeAttributeString("marL", "457200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeAttributeString("marL", "914400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeAttributeString("marL", "1371600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeAttributeString("marL", "1828800"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeAttributeString("marL", "2286000"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeAttributeString("marL", "2743200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeAttributeString("marL", "3200400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeAttributeString("marL", "3657600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "6"), n.writeAttributeString("name", "Content Placeholder 5"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "4"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "4645025"), n.writeAttributeString("y", "2174875"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "4041775"), n.writeAttributeString("cy", "3951288"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2400"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1600"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"); n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "1"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Second level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "2"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Third level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "3"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fourth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "4"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fifth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "7"), n.writeAttributeString("name", "Date Placeholder 6"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "8"), n.writeAttributeString("name", "Footer Placeholder 7"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "9"), n.writeAttributeString("name", "Slide Number Placeholder 8"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement() } if (6 == e && (n.writeAttributeString("type", "titleOnly"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Title Only"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Title 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "title"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master title style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Date Placeholder 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Footer Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "5"), n.writeAttributeString("name", "Slide Number Placeholder 4"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement()), 7 == e) { if (n.writeAttributeString("type", "blank"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Blank"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Date Placeholder 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Footer Placeholder 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Slide Number Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), !(t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion)) { var o = r.unit.convertToHInches(r.pageWidth - r.margins.left - r.margins.right) , a = r.unit.convertToHInches(r.pageHeight - r.margins.top - r.margins.bottom) , s = r.unit.convertToHInches(r.margins.left) , l = r.unit.convertToHInches(r.margins.top); n.writeRaw('' + '' + '' + '' + '' + '' + "Trial") } n.writeFullEndElement(), n.writeFullEndElement() } if (8 == e) { n.writeAttributeString("type", "objTx"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Content with Caption"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Title 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "title"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "457200"), n.writeAttributeString("y", "273050"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "3008313"), n.writeAttributeString("cy", "1162050"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeAttributeString("anchor", "b"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeAttributeString("algn", "l"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master title style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Content Placeholder 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("idx", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "3575050"), n.writeAttributeString("y", "273050"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "5111750"), n.writeAttributeString("cy", "5853113"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "3200"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2400"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "1"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Second level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(); n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "2"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Third level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "3"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fourth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "4"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fifth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Text Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "body"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "2"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "457200"), n.writeAttributeString("y", "1435100"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "3008313"), n.writeAttributeString("cy", "4691063"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeAttributeString("marL", "0"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1400"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeAttributeString("marL", "457200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1200"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeAttributeString("marL", "914400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeAttributeString("marL", "1371600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeAttributeString("marL", "1828800"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeAttributeString("marL", "2286000"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeAttributeString("marL", "2743200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeAttributeString("marL", "3200400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeAttributeString("marL", "3657600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "5"), n.writeAttributeString("name", "Date Placeholder 4"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"); n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "6"), n.writeAttributeString("name", "Footer Placeholder 5"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "7"), n.writeAttributeString("name", "Slide Number Placeholder 6"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement() } if (9 == e) { n.writeAttributeString("type", "picTx"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Picture with Caption"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Title 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "title"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "1792288"), n.writeAttributeString("y", "4800600"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "5486400"), n.writeAttributeString("cy", "566738"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeAttributeString("anchor", "b"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeAttributeString("algn", "l"), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeAttributeString("b", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master title style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Picture Placeholder 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "pic"), n.writeAttributeString("idx", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "1792288"), n.writeAttributeString("y", "612775"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "5486400"), n.writeAttributeString("cy", "4114800"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeAttributeString("marL", "0"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "3200"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeAttributeString("marL", "457200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2800"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeAttributeString("marL", "914400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2400"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeAttributeString("marL", "1371600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeAttributeString("marL", "1828800"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeAttributeString("marL", "2286000"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeAttributeString("marL", "2743200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeAttributeString("marL", "3200400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"); n.writeAttributeString("marL", "3657600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "2000"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Text Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "body"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "2"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "1792288"), n.writeAttributeString("y", "5367338"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "5486400"), n.writeAttributeString("cy", "804862"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeStartElement("a:lvl1pPr"), n.writeAttributeString("marL", "0"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1400"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl2pPr"), n.writeAttributeString("marL", "457200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1200"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl3pPr"), n.writeAttributeString("marL", "914400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "1000"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl4pPr"), n.writeAttributeString("marL", "1371600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl5pPr"), n.writeAttributeString("marL", "1828800"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl6pPr"), n.writeAttributeString("marL", "2286000"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl7pPr"), n.writeAttributeString("marL", "2743200"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl8pPr"), n.writeAttributeString("marL", "3200400"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("a:lvl9pPr"), n.writeAttributeString("marL", "3657600"), n.writeAttributeString("indent", "0"), n.writeStartElement("a:buNone"), n.writeEndElement(), n.writeStartElement("a:defRPr"), n.writeAttributeString("sz", "900"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "5"), n.writeAttributeString("name", "Date Placeholder 4"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "6"), n.writeAttributeString("name", "Footer Placeholder 5"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"); n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "7"), n.writeAttributeString("name", "Slide Number Placeholder 6"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement() } if (10 == e) { n.writeAttributeString("type", "vertTx"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Title and Vertical Text"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Title 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "title"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master title style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Vertical Text Placeholder 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "body"), n.writeAttributeString("orient", "vert"), n.writeAttributeString("idx", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeAttributeString("vert", "eaVert"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "1"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Second level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "2"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Third level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "3"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fourth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "4"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fifth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Date Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"); n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "5"), n.writeAttributeString("name", "Footer Placeholder 4"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "6"), n.writeAttributeString("name", "Slide Number Placeholder 5"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement() } if (11 == e) { n.writeAttributeString("type", "vertTitleAndTx"), n.writeAttributeString("preserve", "1"), n.writeStartElement("p:cSld"), n.writeAttributeString("name", "Vertical Title and Text"), n.writeStartElement("p:spTree"), n.writeStartElement("p:nvGrpSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "1"), n.writeAttributeString("name", ""), n.writeEndElement(), n.writeStartElement("p:cNvGrpSpPr"), n.writeEndElement(), n.writeStartElement("p:nvPr"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:grpSpPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeStartElement("a:chOff"), n.writeAttributeString("x", "0"), n.writeAttributeString("y", "0"), n.writeEndElement(), n.writeStartElement("a:chExt"), n.writeAttributeString("cx", "0"), n.writeAttributeString("cy", "0"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "2"), n.writeAttributeString("name", "Vertical Title 1"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "title"), n.writeAttributeString("orient", "vert"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "6629400"), n.writeAttributeString("y", "274638"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "2057400"), n.writeAttributeString("cy", "5851525"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeAttributeString("vert", "eaVert"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master title style"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "3"), n.writeAttributeString("name", "Vertical Text Placeholder 2"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "body"), n.writeAttributeString("orient", "vert"), n.writeAttributeString("idx", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeStartElement("a:xfrm"), n.writeStartElement("a:off"), n.writeAttributeString("x", "457200"), n.writeAttributeString("y", "274638"), n.writeEndElement(), n.writeStartElement("a:ext"), n.writeAttributeString("cx", "6019800"), n.writeAttributeString("cy", "5851525"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeAttributeString("vert", "eaVert"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "0"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Click to edit Master text styles"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "1"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Second level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "2"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Third level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "3"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fourth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:pPr"), n.writeAttributeString("lvl", "4"), n.writeEndElement(), n.writeStartElement("a:r"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "en-US"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("Fifth level"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"); n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "4"), n.writeAttributeString("name", "Date Placeholder 3"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "dt"), n.writeAttributeString("sz", "half"), n.writeAttributeString("idx", "10"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{BBCD0B08-7874-4091-A11F-B0CCB138CA98}"), n.writeAttributeString("type", "datetimeFigureOut"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("15.04.2009"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "5"), n.writeAttributeString("name", "Footer Placeholder 4"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "ftr"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "11"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:sp"), n.writeStartElement("p:nvSpPr"), n.writeStartElement("p:cNvPr"), n.writeAttributeString("id", "6"), n.writeAttributeString("name", "Slide Number Placeholder 5"), n.writeEndElement(), n.writeStartElement("p:cNvSpPr"), n.writeStartElement("a:spLocks"), n.writeAttributeString("noGrp", "1"), n.writeEndElement(), n.writeFullEndElement(), n.writeStartElement("p:nvPr"), n.writeStartElement("p:ph"), n.writeAttributeString("type", "sldNum"), n.writeAttributeString("sz", "quarter"), n.writeAttributeString("idx", "12"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("p:spPr"), n.writeEndElement(), n.writeStartElement("p:txBody"), n.writeStartElement("a:bodyPr"), n.writeEndElement(), n.writeStartElement("a:lstStyle"), n.writeEndElement(), n.writeStartElement("a:p"), n.writeStartElement("a:fld"), n.writeAttributeString("id", "{F548980B-80A5-4AC9-8F15-D7D0FD0AEED9}"), n.writeAttributeString("type", "slidenum"), n.writeStartElement("a:rPr"), n.writeAttributeString("lang", "ru-RU"), n.writeAttributeString("smtClean", "0"), n.writeEndElement(), n.writeStartElement("a:t"), n.writeString("‹#›"), n.writeFullEndElement(), n.writeFullEndElement(), n.writeStartElement("a:endParaRPr"), n.writeAttributeString("lang", "ru-RU"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeFullEndElement() } return n.writeStartElement("p:clrMapOvr"), n.writeStartElement("a:masterClrMapping"), n.writeEndElement(), n.writeFullEndElement(), n.writeFullEndElement(), n.writeEndDocument(), n.flush(), i } , P.prototype.writePresentationRels = function(t) { var e = new R , r = new x(I.UTF8,e); r.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, r.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, r.writeStartDocument(), r.writeStartElement("Relationships"), r.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"), r.writeStartElement("Relationship"), r.writeAttributeString("Id", "rId1"), r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles"), r.writeAttributeString("Target", "tableStyles.xml"), r.writeEndElement(), r.writeStartElement("Relationship"), r.writeAttributeString("Id", "rId2"), r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps"), r.writeAttributeString("Target", "viewProps.xml"), r.writeEndElement(), r.writeStartElement("Relationship"), r.writeAttributeString("Id", "rId3"), r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps"), r.writeAttributeString("Target", "presProps.xml"), r.writeEndElement(), r.writeStartElement("Relationship"), r.writeAttributeString("Id", "rId4"), r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"), r.writeAttributeString("Target", "theme/theme1.xml"), r.writeEndElement(), r.writeStartElement("Relationship"), r.writeAttributeString("Id", "rId5"), r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"), r.writeAttributeString("Target", "slideMasters/slideMaster1.xml"), r.writeEndElement(); for (var i = 0; i < t.count; i++) r.writeStartElement("Relationship"), r.writeAttributeString("Id", C.format("rId{0}", 6 + i)), r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide"), r.writeAttributeString("Target", C.format("slides/slide{0}.xml", i + 1)), r.writeEndElement(); return r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , P.prototype.writePresentation = function(t) { var e = new R , r = new x(I.UTF8,e); r.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, r.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, r.writeStartDocument(), r.writeStartElement("p:presentation"), r.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), r.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), r.writeAttributeString("xmlns:p", "http://schemas.openxmlformats.org/presentationml/2006/main"), r.writeAttributeString("saveSubsetFonts", "1"), r.writeStartElement("p:sldMasterIdLst"), r.writeStartElement("p:sldMasterId"), r.writeAttributeString("id", "2147483648"), r.writeAttributeString("r:id", "rId5"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("p:sldIdLst"); for (var i = 0; i < t.count; i++) r.writeStartElement("p:sldId"), r.writeAttributeString("id", C.format("{0}", 256 + i)), r.writeAttributeString("r:id", C.format("rId{0}", 6 + i)), r.writeEndElement(); r.writeEndElement(); var n = t.getByIndex(0); return r.writeStartElement("p:sldSz"), r.writeAttributeString("cx", this.convertToEmu(n.unit.convertToHInches(n.width + n.margins.left + n.margins.right)).toString()), r.writeAttributeString("cy", this.convertToEmu(n.unit.convertToHInches(n.height + n.margins.top + n.margins.bottom)).toString()), r.writeEndElement(), r.writeStartElement("p:notesSz"), r.writeAttributeString("cx", "6858000"), r.writeAttributeString("cy", "9144000"), r.writeEndElement(), r.writeStartElement("p:defaultTextStyle"), r.writeStartElement("a:defPPr"), r.writeStartElement("a:defRPr"), r.writeAttributeString("lang", "ru-RU"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("a:lvl1pPr"), r.writeAttributeString("marL", "0"), r.writeAttributeString("algn", "l"), r.writeAttributeString("defTabSz", "914400"), r.writeAttributeString("rtl", "0"), r.writeAttributeString("eaLnBrk", "1"), r.writeAttributeString("latinLnBrk", "0"), r.writeAttributeString("hangingPunct", "1"), r.writeStartElement("a:defRPr"), r.writeAttributeString("sz", "1800"), r.writeAttributeString("kern", "1200"), r.writeStartElement("a:solidFill"), r.writeStartElement("a:schemeClr"), r.writeAttributeString("val", "tx1"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("a:latin"), r.writeAttributeString("typeface", "+mn-lt"), r.writeEndElement(), r.writeStartElement("a:ea"), r.writeAttributeString("typeface", "+mn-ea"), r.writeEndElement(), r.writeStartElement("a:cs"), r.writeAttributeString("typeface", "+mn-cs"), r.writeEndElement(), r.writeFullEndElement(), r.writeFullEndElement(), r.writeStartElement("a:lvl2pPr"), r.writeAttributeString("marL", "457200"), r.writeAttributeString("algn", "l"), r.writeAttributeString("defTabSz", "914400"), r.writeAttributeString("rtl", "0"), r.writeAttributeString("eaLnBrk", "1"), r.writeAttributeString("latinLnBrk", "0"), r.writeAttributeString("hangingPunct", "1"), r.writeStartElement("a:defRPr"), r.writeAttributeString("sz", "1800"), r.writeAttributeString("kern", "1200"), r.writeStartElement("a:solidFill"), r.writeStartElement("a:schemeClr"), r.writeAttributeString("val", "tx1"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("a:latin"), r.writeAttributeString("typeface", "+mn-lt"), r.writeEndElement(), r.writeStartElement("a:ea"), r.writeAttributeString("typeface", "+mn-ea"), r.writeEndElement(), r.writeStartElement("a:cs"), r.writeAttributeString("typeface", "+mn-cs"), r.writeEndElement(), r.writeFullEndElement(), r.writeFullEndElement(), r.writeStartElement("a:lvl3pPr"), r.writeAttributeString("marL", "914400"), r.writeAttributeString("algn", "l"), r.writeAttributeString("defTabSz", "914400"), r.writeAttributeString("rtl", "0"), r.writeAttributeString("eaLnBrk", "1"), r.writeAttributeString("latinLnBrk", "0"), r.writeAttributeString("hangingPunct", "1"), r.writeStartElement("a:defRPr"), r.writeAttributeString("sz", "1800"), r.writeAttributeString("kern", "1200"), r.writeStartElement("a:solidFill"), r.writeStartElement("a:schemeClr"), r.writeAttributeString("val", "tx1"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("a:latin"), r.writeAttributeString("typeface", "+mn-lt"), r.writeEndElement(), r.writeStartElement("a:ea"), r.writeAttributeString("typeface", "+mn-ea"), r.writeEndElement(), r.writeStartElement("a:cs"), r.writeAttributeString("typeface", "+mn-cs"), r.writeEndElement(), r.writeFullEndElement(), r.writeFullEndElement(), r.writeStartElement("a:lvl4pPr"), r.writeAttributeString("marL", "1371600"), r.writeAttributeString("algn", "l"), r.writeAttributeString("defTabSz", "914400"), r.writeAttributeString("rtl", "0"), r.writeAttributeString("eaLnBrk", "1"), r.writeAttributeString("latinLnBrk", "0"), r.writeAttributeString("hangingPunct", "1"), r.writeStartElement("a:defRPr"), r.writeAttributeString("sz", "1800"), r.writeAttributeString("kern", "1200"), r.writeStartElement("a:solidFill"), r.writeStartElement("a:schemeClr"), r.writeAttributeString("val", "tx1"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("a:latin"), r.writeAttributeString("typeface", "+mn-lt"), r.writeEndElement(), r.writeStartElement("a:ea"), r.writeAttributeString("typeface", "+mn-ea"), r.writeEndElement(), r.writeStartElement("a:cs"), r.writeAttributeString("typeface", "+mn-cs"), r.writeEndElement(), r.writeFullEndElement(), r.writeFullEndElement(), r.writeStartElement("a:lvl5pPr"), r.writeAttributeString("marL", "1828800"), r.writeAttributeString("algn", "l"), r.writeAttributeString("defTabSz", "914400"), r.writeAttributeString("rtl", "0"), r.writeAttributeString("eaLnBrk", "1"), r.writeAttributeString("latinLnBrk", "0"), r.writeAttributeString("hangingPunct", "1"), r.writeStartElement("a:defRPr"), r.writeAttributeString("sz", "1800"), r.writeAttributeString("kern", "1200"), r.writeStartElement("a:solidFill"), r.writeStartElement("a:schemeClr"), r.writeAttributeString("val", "tx1"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("a:latin"), r.writeAttributeString("typeface", "+mn-lt"), r.writeEndElement(), r.writeStartElement("a:ea"), r.writeAttributeString("typeface", "+mn-ea"), r.writeEndElement(), r.writeStartElement("a:cs"), r.writeAttributeString("typeface", "+mn-cs"), r.writeEndElement(), r.writeFullEndElement(), r.writeFullEndElement(), r.writeStartElement("a:lvl6pPr"), r.writeAttributeString("marL", "2286000"), r.writeAttributeString("algn", "l"), r.writeAttributeString("defTabSz", "914400"), r.writeAttributeString("rtl", "0"), r.writeAttributeString("eaLnBrk", "1"), r.writeAttributeString("latinLnBrk", "0"), r.writeAttributeString("hangingPunct", "1"), r.writeStartElement("a:defRPr"), r.writeAttributeString("sz", "1800"), r.writeAttributeString("kern", "1200"), r.writeStartElement("a:solidFill"), r.writeStartElement("a:schemeClr"), r.writeAttributeString("val", "tx1"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("a:latin"), r.writeAttributeString("typeface", "+mn-lt"), r.writeEndElement(), r.writeStartElement("a:ea"), r.writeAttributeString("typeface", "+mn-ea"), r.writeEndElement(), r.writeStartElement("a:cs"), r.writeAttributeString("typeface", "+mn-cs"), r.writeEndElement(), r.writeFullEndElement(), r.writeFullEndElement(), r.writeStartElement("a:lvl7pPr"), r.writeAttributeString("marL", "2743200"), r.writeAttributeString("algn", "l"), r.writeAttributeString("defTabSz", "914400"), r.writeAttributeString("rtl", "0"), r.writeAttributeString("eaLnBrk", "1"), r.writeAttributeString("latinLnBrk", "0"), r.writeAttributeString("hangingPunct", "1"), r.writeStartElement("a:defRPr"), r.writeAttributeString("sz", "1800"), r.writeAttributeString("kern", "1200"), r.writeStartElement("a:solidFill"), r.writeStartElement("a:schemeClr"), r.writeAttributeString("val", "tx1"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("a:latin"), r.writeAttributeString("typeface", "+mn-lt"), r.writeEndElement(), r.writeStartElement("a:ea"), r.writeAttributeString("typeface", "+mn-ea"), r.writeEndElement(), r.writeStartElement("a:cs"), r.writeAttributeString("typeface", "+mn-cs"), r.writeEndElement(), r.writeFullEndElement(), r.writeFullEndElement(), r.writeStartElement("a:lvl8pPr"), r.writeAttributeString("marL", "3200400"), r.writeAttributeString("algn", "l"), r.writeAttributeString("defTabSz", "914400"), r.writeAttributeString("rtl", "0"), r.writeAttributeString("eaLnBrk", "1"), r.writeAttributeString("latinLnBrk", "0"), r.writeAttributeString("hangingPunct", "1"), r.writeStartElement("a:defRPr"), r.writeAttributeString("sz", "1800"), r.writeAttributeString("kern", "1200"), r.writeStartElement("a:solidFill"), r.writeStartElement("a:schemeClr"), r.writeAttributeString("val", "tx1"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("a:latin"), r.writeAttributeString("typeface", "+mn-lt"), r.writeEndElement(), r.writeStartElement("a:ea"), r.writeAttributeString("typeface", "+mn-ea"), r.writeEndElement(), r.writeStartElement("a:cs"), r.writeAttributeString("typeface", "+mn-cs"), r.writeEndElement(), r.writeFullEndElement(), r.writeFullEndElement(), r.writeStartElement("a:lvl9pPr"), r.writeAttributeString("marL", "3657600"), r.writeAttributeString("algn", "l"), r.writeAttributeString("defTabSz", "914400"), r.writeAttributeString("rtl", "0"), r.writeAttributeString("eaLnBrk", "1"), r.writeAttributeString("latinLnBrk", "0"), r.writeAttributeString("hangingPunct", "1"), r.writeStartElement("a:defRPr"), r.writeAttributeString("sz", "1800"), r.writeAttributeString("kern", "1200"), r.writeStartElement("a:solidFill"), r.writeStartElement("a:schemeClr"), r.writeAttributeString("val", "tx1"), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("a:latin"), r.writeAttributeString("typeface", "+mn-lt"), r.writeEndElement(), r.writeStartElement("a:ea"), r.writeAttributeString("typeface", "+mn-ea"), r.writeEndElement(), r.writeStartElement("a:cs"), r.writeAttributeString("typeface", "+mn-cs"), r.writeEndElement(), r.writeFullEndElement(), r.writeFullEndElement(), r.writeEndElement(), r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , P.prototype.writeSlideRels = function(t) { var e = new R , r = new x(I.UTF8,e); if (r.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, r.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, r.writeStartDocument(), r.writeStartElement("Relationships"), r.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"), r.writeStartElement("Relationship"), r.writeAttributeString("Id", "rId1"), r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"), r.writeAttributeString("Target", "../slideLayouts/slideLayout7.xml"), r.writeEndElement(), this.imageCache.imageIndex.countItems > this.imageListOffset) for (var i = 0; i < this.imageCache.imageIndex.countItems - this.imageListOffset; i++) r.writeStartElement("Relationship"), r.writeAttributeString("Id", C.format("rId{0}", 2 + i)), r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"), r.writeAttributeString("Target", C.format("../media/image{0:D5}.{1}", this.imageCache.imageIndex[this.imageListOffset + i] + 1, StiOptions.Export.PowerPoint.StoreImagesAsPng ? "png" : "jpeg")), r.writeEndElement(); if (this.hyperlinkList.countItems > 0) for (var i = 0; i < this.hyperlinkList.countItems; i++) { r.writeStartElement("Relationship"), r.writeAttributeString("Id", C.format("hId{0}", i + 1)); var n = this.hyperlinkList.getByIndex(i); n.stimulsoft.is(String) && (r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"), r.writeAttributeString("Target", n), r.writeAttributeString("TargetMode", "External")), n.stimulsoft.is(Number) && (r.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide"), r.writeAttributeString("Target", C.format("slide{0}.xml", n))), r.writeEndElement() } return r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , P.prototype.writeSlide = function(e, r) { var i, n, o = new R, a = new x(I.UTF8,o); a.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, a.formatting = this.xmlIndentation < 0 ? T.None : T.Indented, a.writeStartDocument(), a.writeStartElement("p:sld"), a.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), a.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), a.writeAttributeString("xmlns:p", "http://schemas.openxmlformats.org/presentationml/2006/main"), a.writeStartElement("p:cSld"), a.writeStartElement("p:spTree"), a.writeStartElement("p:nvGrpSpPr"), a.writeStartElement("p:cNvPr"), a.writeAttributeString("id", "1"), a.writeAttributeString("name", ""), a.writeEndElement(), a.writeStartElement("p:cNvGrpSpPr"), a.writeEndElement(), a.writeStartElement("p:nvPr"), a.writeEndElement(), a.writeEndElement(), a.writeStartElement("p:grpSpPr"), a.writeStartElement("a:xfrm"), a.writeStartElement("a:off"), a.writeAttributeString("x", "0"), a.writeAttributeString("y", "0"), a.writeEndElement(), a.writeStartElement("a:ext"), a.writeAttributeString("cx", "0"), a.writeAttributeString("cy", "0"), a.writeEndElement(), a.writeStartElement("a:chOff"), a.writeAttributeString("x", "0"), a.writeAttributeString("y", "0"), a.writeEndElement(), a.writeStartElement("a:chExt"), a.writeAttributeString("cx", "0"), a.writeAttributeString("cy", "0"), a.writeEndElement(), a.writeEndElement(), a.writeEndElement(), this.idCounter = 2; var s = r.getByIndex(e); r.getPage(s), this.writeWatermark(a, s, !0); try { for (var l = __values(s.components.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; if (c.enabled && c.width > 0 && c.height > 0) { var m = c.stimulsoft.as(b); if (null == m || m.checkAllowHtmlTags()) if (c.stimulsoft.is(w)) { var p = new b(c.clientRectangle); p.page = c.page, p.border = c.stimulsoft.as(w).border, p.brush = c.stimulsoft.as(w).brush, p.hyperlinkValue = c.hyperlinkValue, this.writeStiTextbox(a, p) } else this.writeStiImage(a, c); else { var h = m.angle % 360; if (h < 0 && (h = 360 + h), 0 == h || 90 == h || 270 == h) this.writeStiTextbox(a, c); else { var d = m.clone(!0); d.text = null, d.angle = 0, this.writeStiTextbox(a, d), d = m.clone(!0), d.border = null, d.brush = null, d.horAlignment = StiTextHorAlignment.Center, d.vertAlignment = StiVertAlignment.Center, this.writeStiTextbox(a, d) } } this.idCounter++ } } } catch (t) { i = { error: t } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (i) throw i.error } } if (this.writeWatermark(a, s, !1), !(t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion)) { var g = s.unit.convertToHInches(s.pageWidth - s.margins.left - s.margins.right) , f = s.unit.convertToHInches(s.pageHeight - s.margins.top - s.margins.bottom) , S = s.unit.convertToHInches(s.margins.left) , A = s.unit.convertToHInches(s.margins.top); a.writeRaw('' + '' + '' + '' + '' + '' + "Trial") } return a.writeFullEndElement(), a.writeEndElement(), a.writeStartElement("p:clrMapOvr"), a.writeStartElement("a:masterClrMapping"), a.writeEndElement(), a.writeFullEndElement(), a.writeFullEndElement(), a.writeEndDocument(), a.flush(), o } , P.prototype.writeStiTextbox = function(t, e) { var r = e; t.writeStartElement("p:sp"), t.writeStartElement("p:nvSpPr"), t.writeStartElement("p:cNvPr"), t.writeAttributeString("id", C.format("{0}", this.idCounter)), t.writeAttributeString("name", C.format("TextBox {0}", this.idCounter)), this.writeHyperlinkInfo(t, e), t.writeEndElement(), t.writeStartElement("p:cNvSpPr"), t.writeAttributeString("txBox", "1"), t.writeEndElement(), t.writeStartElement("p:nvPr"), t.writeEndElement(), t.writeEndElement(); var i = this.writeSpPr(t, e); t.writeStartElement("p:txBody"), t.writeStartElement("a:bodyPr"); var n = !1 , o = ""; if (null != r.textOptions) { n = r.textOptions.wordWrap; var a = r.textOptions.angle % 360; a < 0 && (a = 360 + a), 90 == a && (o = "vert270"), 270 == a && (o = "vert") } o.length > 0 && t.writeAttributeString("vert", o); var s = this.convertToEmu(r.margins.left) , l = this.convertToEmu(r.margins.right) , u = this.convertToEmu(r.margins.top) , c = this.convertToEmu(r.margins.bottom); t.writeAttributeString("lIns", C.format("{0}", s)), t.writeAttributeString("tIns", C.format("{0}", u)), t.writeAttributeString("rIns", C.format("{0}", l)), t.writeAttributeString("bIns", C.format("{0}", c)), t.writeAttributeString("wrap", n ? "square" : "none"), t.writeAttributeString("rtlCol", "0"); var m = "t"; r.vertAlignment == StiVertAlignment.Center && (m = "ctr"), r.vertAlignment == StiVertAlignment.Bottom && (m = "b"), t.writeAttributeString("anchor", m), t.writeAttributeString("anchorCtr", "0"), t.writeStartElement("a:noAutofit"), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("a:lstStyle"), t.writeEndElement(), t.writeStartElement("a:p"); var p = !1; null != r.textOptions && (p = r.textOptions.rightToLeft), t.writeStartElement("a:pPr"); var h = ""; r.horAlignment == StiTextHorAlignment.Center && (h = "ctr"), (r.horAlignment == StiTextHorAlignment.Right && !p || r.horAlignment == StiTextHorAlignment.Left && p) && (h = "r"), r.horAlignment == StiTextHorAlignment.Width && (h = "just"), h.length > 0 && t.writeAttributeString("algn", h), p && t.writeAttributeString("rtl", "1"), t.writeStartElement("a:lnSpc"), t.writeStartElement("a:spcPct"), t.writeAttributeString("val", Math.round(.94 * r.lineSpacing * 1e5).toString()), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("a:r"), t.writeStartElement("a:rPr"), t.writeAttributeString("lang", "en-US"), t.writeAttributeString("sz", (100 * r.font.sizeInPoints * .984 | 0).toString()), r.font.bold && t.writeAttributeString("b", "1"), r.font.italic && t.writeAttributeString("i", "1"), r.font.underline && t.writeAttributeString("u", "sng"), r.font.strikeout && t.writeAttributeString("strike", "sngStrike"), t.writeAttributeString("dirty", "0"), t.writeAttributeString("smtClean", "0"), t.writeStartElement("a:solidFill"), this.writeColor(t, y.toColor(r.textBrush)), t.writeFullEndElement(); var d = ""; null != r.text && (d = r.text.toString()), r.textQuality != A.Wysiwyg && r.horAlignment != StiTextHorAlignment.Width || C.isNullOrEmpty(d) || !d.stimulsoft.endsWith(S.StiForceWidthAlignTag) || (d = d.substr(0, d.length - S.StiForceWidthAlignTag.length)), t.writeStartElement("a:latin"), t.writeAttributeString("typeface", r.font.name), t.writeAttributeString("pitchFamily", "18"), t.writeAttributeString("charset", "0"), t.writeEndElement(), t.writeStartElement("a:cs"), t.writeAttributeString("typeface", r.font.name), t.writeAttributeString("pitchFamily", "18"), t.writeAttributeString("charset", "0"), t.writeEndElement(), t.writeEndElement(), t.writeElementString("a:t", d), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), i && this.writeBorder(t, e) } , P.prototype.writeStiImage = function(t, r) { var i = !1 , n = r.stimulsoft.as(f); if (null != n) { var o = null; if (r.isExportAsImage(e.StiExportFormat.Ppt2007)) try { B.currentCulture = this.currentCulture; var a = { ref: this.imageResolution }; o = n.getImage(a, e.StiExportFormat.ImagePng) } finally { B.currentCulture = this.newCulture } if (null != o) { var s = this.imageCache.addImageInt(o); o.dispose(), t.writeStartElement("p:pic"), t.writeStartElement("p:nvPicPr"), t.writeStartElement("p:cNvPr"), t.writeAttributeString("id", C.format("{0}", this.idCounter)), t.writeAttributeString("name", C.format("Picture {0}", this.idCounter + 1)), t.writeAttributeString("descr", C.format("Picture {0} description", this.idCounter + 1)), this.writeHyperlinkInfo(t, r), t.writeEndElement(), t.writeStartElement("p:cNvPicPr"), t.writeStartElement("a:picLocks"), t.writeAttributeString("noChangeAspect", "1"), t.writeEndElement(), t.writeFullEndElement(), t.writeStartElement("p:nvPr"), t.writeEndElement(), t.writeFullEndElement(), t.writeStartElement("p:blipFill"), t.writeStartElement("a:blip"), t.writeAttributeString("r:embed", C.format("rId{0}", 1 + this.imageCache.imageIndex.countItems - this.imageListOffset)), t.writeEndElement(), t.writeStartElement("a:stretch"), t.writeStartElement("a:fillRect"), t.writeEndElement(), t.writeFullEndElement(), t.writeFullEndElement(), i = this.writeSpPr(t, r), t.writeFullEndElement() } } (i || r.stimulsoft.is(g)) && this.writeBorder(t, r) } , P.prototype.writeSpPr = function(t, e) { var r = this.convertToEmu(e.report.unit.convertToHInches(e.left + e.page.margins.left)) , i = this.convertToEmu(e.report.unit.convertToHInches(e.top + e.page.margins.top)) , o = this.convertToEmu(e.report.unit.convertToHInches(e.right + e.page.margins.left)) , a = this.convertToEmu(e.report.unit.convertToHInches(e.bottom + e.page.margins.top)) , s = 0 , l = e.stimulsoft.as(d); null != l && null != l.textOptions && (90 != (s = l.textOptions.angle % 360) && 270 != s && -90 != s && -270 != s || (s = 0)), t.writeStartElement("p:spPr"), t.writeStartElement("a:xfrm"), 0 != s && t.writeAttributeString("rot", C.format("{0}", 0 | Math.round(6e4 * -s))), t.writeStartElement("a:off"), t.writeAttributeString("x", C.format("{0}", r)), t.writeAttributeString("y", C.format("{0}", i)), t.writeEndElement(), t.writeStartElement("a:ext"), t.writeAttributeString("cx", C.format("{0}", o - r)), t.writeAttributeString("cy", C.format("{0}", a - i)), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("a:prstGeom"), t.writeAttributeString("prst", "rect"), t.writeStartElement("a:avLst"), t.writeEndElement(), t.writeEndElement(); var g = e.stimulsoft.is(p) || e.stimulsoft.is(n) , f = Color.transparent; e.stimulsoft.is(h) && (f = y.toColor(e.stimulsoft.as(h).Brush)), 0 == f.a || g ? (t.writeStartElement("a:noFill"), t.writeEndElement()) : (t.writeStartElement("a:solidFill"), this.writeColor(t, f), t.writeFullEndElement()); var S = !1 , A = null; return e.stimulsoft.is(m) && (A = e.stimulsoft.as(m).border), null != A && A.side != c.None && A.style != StiPenStyle.None && (A.side != c.All || A.stimulsoft.is(u) ? S = !0 : (t.writeStartElement("a:ln"), t.writeAttributeString("w", C.format("{0}", this.convertToEmu(A.size))), t.writeStartElement("a:solidFill"), this.writeColor(t, A.color), t.writeFullEndElement(), t.writeStartElement("a:prstDash"), t.writeAttributeString("val", this.getLineStyle(A.style)), t.writeEndElement(), t.writeStartElement("a:miter"), t.writeAttributeString("lim", "800000"), t.writeEndElement(), t.writeFullEndElement())), t.writeEndElement(), S } , P.prototype.writeBorder = function(t, e) { var r = e.stimulsoft.as(m).border; if (r.stimulsoft.is(u)) { var i = r.stimulsoft.as(u); i.isLeftBorderSidePresent && this.writeLine(t, e, new Rectangle(e.left,e.top,0,e.height), i.leftSide.size, i.leftSide.style, i.leftSide.color), i.isRightBorderSidePresent && this.writeLine(t, e, new Rectangle(e.right,e.top,0,e.height), i.rightSide.size, i.rightSide.style, i.rightSide.color), i.isTopBorderSidePresent && this.writeLine(t, e, new Rectangle(e.left,e.top,e.width,0), i.topSide.size, i.topSide.style, i.topSide.color), i.isBottomBorderSidePresent && this.writeLine(t, e, new Rectangle(e.left,e.bottom,e.width,0), i.bottomSide.size, i.bottomSide.style, i.bottomSide.color) } else r.isLeftBorderSidePresent && this.writeLine(t, e, new Rectangle(e.left,e.top,0,e.height), r.size, r.style, r.color), r.isRightBorderSidePresent && this.writeLine(t, e, new Rectangle(e.right,e.top,0,e.height), r.size, r.style, r.color), r.isTopBorderSidePresent && this.writeLine(t, e, new Rectangle(e.left,e.top,e.width,0), r.size, r.style, r.color), r.isBottomBorderSidePresent && this.writeLine(t, e, new Rectangle(e.left,e.bottom,e.width,0), r.size, r.style, r.color) } , P.prototype.writeLine = function(t, e, r, i, n, o) { if (n == StiPenStyle.None || 0 == o.a) return; t.writeStartElement("p:cxnSp"), t.writeStartElement("p:nvCxnSpPr"), t.writeStartElement("p:cNvPr"), t.writeAttributeString("id", C.format("{0}", this.idCounter)), t.writeAttributeString("name", C.format("Line {0}", this.idCounter)), t.writeEndElement(), t.writeStartElement("p:cNvCxnSpPr"), t.writeEndElement(), t.writeStartElement("p:nvPr"), t.writeEndElement(), t.writeEndElement(); var a = this.convertToEmu(e.report.unit.convertToHInches(r.left + e.page.margins.left)) , u = this.convertToEmu(e.report.unit.convertToHInches(r.top + e.page.margins.top)) , c = this.convertToEmu(e.report.unit.convertToHInches(r.right + e.page.margins.left)) , m = this.convertToEmu(e.report.unit.convertToHInches(r.bottom + e.page.margins.top)); t.writeStartElement("p:spPr"), t.writeStartElement("a:xfrm"), t.writeStartElement("a:off"), t.writeAttributeString("x", C.format("{0}", a)), t.writeAttributeString("y", C.format("{0}", u)), t.writeEndElement(), t.writeStartElement("a:ext"), t.writeAttributeString("cx", C.format("{0}", c - a)), t.writeAttributeString("cy", C.format("{0}", m - u)), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("a:prstGeom"), t.writeAttributeString("prst", "line"), t.writeStartElement("a:avLst"), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("a:ln"), t.writeAttributeString("w", C.format("{0}", this.convertToEmu(i))), t.writeStartElement("a:solidFill"), this.writeColor(t, o), t.writeFullEndElement(), t.writeStartElement("a:prstDash"), t.writeAttributeString("val", this.getLineStyle(n)), t.writeEndElement(); var p = e.stimulsoft.as(g); if (null != p) { var h = null , d = null; if (p.stimulsoft.is(l) && (h = p.stimulsoft.as(l).startCap, d = p.stimulsoft.as(l).endCap), p.stimulsoft.is(s) && (h = p.stimulsoft.as(s).startCap, d = p.stimulsoft.as(s).endCap), null != h) { var f = this.capStyleToPptStyle(h.style); C.isNullOrEmpty(f) || (t.writeStartElement("a:headEnd"), t.writeAttributeString("type", f), t.writeEndElement()) } if (null != d) { var f = this.capStyleToPptStyle(d.style); C.isNullOrEmpty(f) || (t.writeStartElement("a:tailEnd"), t.writeAttributeString("type", f), t.writeEndElement()) } } t.writeFullEndElement(), t.writeEndElement(), t.writeEndElement() } , P.prototype.capStyleToPptStyle = function(t) { switch (t) { case a.Arrow: return "triangle"; case a.Diamond: return "diamond"; case a.Square: return "diamond"; case a.Open: return "arrow"; case a.Oval: return "oval"; case a.Stealth: return "stealth" } return null } , P.prototype.writeWatermark = function(t, e, r) { if (null != e.watermark && (null != e.watermark.image || !C.isNullOrWhiteSpace(e.watermark.imageHyperlink)) && e.watermark.showImageBehind == r) { var i = new n; i.page = e, i.image = e.watermark.image, i.left = -e.margins.left, i.top = -e.margins.top, i.width = e.pageWidth, i.height = e.pageHeight, e.watermark.imageStretch && (i.stretch = !0), i.vertAlignment = StiVertAlignment.Center, i.horAlignment = o.Center, this.writeStiImage(t, i) } } , P.prototype.writeHyperlinkInfo = function(t, e) { if (null != e.hyperlinkValue) { var r = e.hyperlinkValue.toString().trim() , i = void 0; if (r.length > 0 && !r.stimulsoft.startsWith("javascript:")) if (r.stimulsoft.startsWith("#")) ; else { var n = this.stringToUrl(r); i = this.hyperlinkList.indexOf(n), -1 == i && (this.hyperlinkList.add(n), i = this.hyperlinkList.countItems), t.writeStartElement("a:hlinkClick"), t.writeAttributeString("r:id", C.format("hId{0}", i)), t.writeEndElement() } } } , P.prototype.writeImage = function(t) { var e = new R , r = this.imageCache.imagePackedStore.getByIndex(t); return e.write(r, 0, r.length), e } , P.prototype.exportPowerPoint = function(t, r, n) { var o = n.pageRange; this.imageResolution = n.imageResolution, this.imageQuality = n.imageQuality, this.xmlIndentation = -1, this.imageResolution < 10 && (this.imageResolution = 10), this.imageResolution = this.imageResolution / 100, this.currentCulture = B.currentCulture, this.newCulture = B.cultures["en-US"]; try { B.currentCulture = this.newCulture; var a = o.getSelectedPages(t.renderedPages); if (this.isStopped) return; this.imageCache = new e.StiImageCache(StiOptions.Export.PowerPoint.AllowImageComparer,!0,StiOptions.Export.PowerPoint.StoreImagesAsPng ? e.ImageFormat.Png : e.ImageFormat.Jpeg,this.imageQuality); var s = new i; s.begin(r, !0), s.addFile("[Content_Types].xml", this.writeContentTypes(a.count)), s.addFile("_rels/.rels", this.writeMainRels()), s.addFile("docProps/app.xml", this.writeDocPropsApp(a.count)), s.addFile("docProps/core.xml", this.writeDocPropsCore()), s.addFile("ppt/tableStyles.xml", this.writeTableStyles()), s.addFile("ppt/presProps.xml", this.writePresProps()), s.addFile("ppt/viewProps.xml", this.writeViewProps()), s.addFile("ppt/theme/theme1.xml", this.writeTheme()), s.addFile("ppt/slideMasters/slideMaster1.xml", this.writeSlideMaster()), s.addFile("ppt/slideMasters/_rels/slideMaster1.xml.rels", this.writeSlideMasterRels()); for (var l = 0; l < 11; l++) s.addFile(C.format("ppt/slideLayouts/slideLayout{0}.xml", l + 1), this.writeSlideLayout(l + 1, a.getByIndex(0))), s.addFile(C.format("ppt/slideLayouts/_rels/slideLayout{0}.xml.rels", l + 1), this.writeSlideLayoutRels()); s.addFile("ppt/presentation.xml", this.writePresentation(a)), s.addFile("ppt/_rels/presentation.xml.rels", this.writePresentationRels(a)), this.imageListOffset = 0, this.hyperlinkList = []; for (var u = 0; u < a.count; u++) { if (this.invokeExporting2(u, a.count, 0, 1), this.isStopped) return; var c = a.getByIndex(u); a.getPage(c), s.addFile(C.format("ppt/slides/slide{0}.xml", u + 1), this.writeSlide(u, a)), s.addFile(C.format("ppt/slides/_rels/slide{0}.xml.rels", u + 1), this.writeSlideRels(u)), this.imageListOffset = this.imageCache.imageIndex.countItems, this.hyperlinkList.clear() } if (this.imageCache.imagePackedStore.countItems > 0) for (var l = 0; l < this.imageCache.imagePackedStore.countItems; l++) s.addFile(C.format("ppt/media/image{0:D5}.{1}", l + 1, StiOptions.Export.PowerPoint.StoreImagesAsPng ? "png" : "jpeg"), this.writeImage(l)); s.end() } finally { B.currentCulture = this.currentCulture, this.imageCache.clear(), this.hyperlinkList = null } } , P }(r.StiExportService); r.StiPpt2007ExportService = P }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiObject, n = t.System.StiString, o = t.Report.Components.StiRoundedRectanglePrimitive, a = t.System.Drawing.Rectangle, s = t.System.Collections.Hashtable, l = t.System.Drawing.Font, u = t.Report.Components.IStiFont, c = t.Report.Components.IStiBorder, m = t.Report.Components.IStiBrush, p = t.Report.Components.IStiTextBrush, h = t.Report.Components.IStiTextHorAlignment, d = t.Report.Components.IStiHorAlignment, g = t.Report.Components.IStiVertAlignment, f = t.Report.Components.StiLinePrimitive, S = t.Base.Drawing.StiBorderSides, A = t.System.Drawing.Rectangle, y = t.Base.Drawing.StiTextHorAlignment, w = t.Base.Drawing.StiPenStyle, b = t.Base.Drawing.StiVertAlignment, v = t.Report.Components.StiText, C = t.Base.Drawing.StiBrush, E = t.Report.Components.StiPointPrimitive, B = t.Report.Components.IStiTextOptions, T = t.Base.Drawing.StiBorderSide, I = t.Report.Components.StiRectanglePrimitive, x = t.Report.Components.StiRichText, F = t.Report.Components.StiVerticalLinePrimitive, D = t.Report.Components.StiHorizontalLinePrimitive, R = t.Report.Export.StiExportDataType, P = t.System.Drawing.Color, N = t.System.Text.StringBuilder, k = t.Base.Drawing.StiAdvancedBorder, M = t.Report.Components.IStiText, O = t.Report.Components.StiShape, _ = t.Report.Components.StiPrimitive, L = t.Report.Components.StiCheckBox, j = t.Report.Components.StiSimpleText, H = t.Report.Components.StiContainer, G = t.System.Char, Q = t.Report.Components.StiBandInteraction, Y = t.Base.Drawing.StiTextRenderer, U = t.Report.Components.StiCheckStyle, J = t.System.Drawing.FontStyle, W = t.Report.BarCodes.StiBarCode, V; !function(t) { t[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" }(V = r.StiTableLineInfo || (r.StiTableLineInfo = {})); var z = function() { function z(i, o, a, u, c) { var m, p, h, d, g, A, w, v, C, B; void 0 === c && (c = r.StiDataExportMode.AllBands), this.totalHeight = 0, this.totalWidth = 0, this.styles = [], this.coordX = [], this.coordY = [], 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 s, this.topCached = new s, this.xcHash = new s, this.ycHash = new s, this.tagSplitCache = new s, this.stylesCache = new s, this.fontsCache = new s, this.createdCells = [], this.borderSides = [], this.exportFormat = e.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 = i.report, this.pages = i, this.exportFormat = a.exportFormat; var x = this.exportFormat == e.StiExportFormat.Dbf || this.exportFormat == e.StiExportFormat.Csv || this.exportFormat == e.StiExportFormat.Xml; this.isHtmlService = a.stimulsoft.is(r.StiHtmlExportService), this.isHtmlOrExcelXmlService = this.isHtmlService || a.stimulsoft.is(r.StiExcelXmlExportService), this.isHtmlPngMode = this.isHtmlService && a.stimulsoft.as(r.StiHtmlExportService).imageFormat == e.ImageFormat.Png, this.isHtmlService && (this.addComponentWithInteractions = a.insertInteractionParameters), a.stimulsoft.is(r.StiExcel2007ExportService) && (this.replaceCheckboxes = !0), a.stimulsoft.is(r.StiWord2007ExportService) && (this.replaceCheckboxes = !0); var F = -1; null != u && (this.styles = u, F = u.length); var D = Array.create(Number, i.count + 1) , R = Array.create(Number, i.count + 1) , N = 0 , k = 0; this.maxCoordY = 0; var M = !1; this.defaultLinePrimitiveWidth = this._defaultLinePrimitiveWidth / (this.isHtmlService && StiOptions.Export.Html.printLayoutOptimization ? z.htmlScaleY : 1), a.stimulsoft.is(r.StiExcel2007ExportService) && (this.bookmarksTable = new s); var O = !0; a.stimulsoft.is(r.StiWord2007ExportService) && (O = a.stimulsoft.as(t.Report.Export.StiWord2007ExportService).removeEmptySpaceAtBottom), a.stimulsoft.is(r.StiExcel2007ExportService) && (O = StiOptions.Export.Excel.RemoveEmptySpaceAtBottom), a.stimulsoft.is(r.StiHtmlExportService) && (O = a.removeEmptySpaceAtBottom), this.hyperlinksToTag = new s; var _ = 0 , L = 0; try { for (var j = __values(i.list), G = j.next(); !G.done; G = j.next()) { var Q = G.value; if (i.getPage(Q), a.invokeExporting(Q, i, a.currentPassNumber, a.maximumPassNumber), a.isStopped) return; var Y = this.coordY.countItems; D[N] = this.totalHeight, R[N] = k, N++; var U = Q.unit.convertToHInches(Q.clientRectangle); if (null != Q.border && Q.border.side != S.None) { var J = new H; J.displayRectangle = Q.clientRectangle, this.addCoord(Q.unit.convertToHInches(J.displayRectangle)) } (O || _ == i.count - 1 && !this.isHtmlService) && (U.height = 0), this.addCoord(U), U = Q.unit.convertToHInches(Q.clientRectangle); try { for (var W = (h = void 0, __values(Q.components.list)), V = W.next(); !V.done; V = W.next()) { var X = V.value; if (X.enabled && (!M || X.printable)) { var K = Q.unit.convertToHInches(X.displayRectangle); K.height < 0 && (K.y += K.height, K.height = Math.abs(K.height)); var Z = !0; if (X.stimulsoft.is(E) && (Z = !1), (K.right < U.left || K.left > U.right || K.bottom < U.top || K.top > U.bottom) && (Z = !1), StiOptions.Engine.allowInteractionInChartWithComponents && X.name.stimulsoft.endsWith("Interaction#FX%") && (Z = !1), this.checkComponentPlacement(X, c) || (Z = !1), Z && (X.stimulsoft.is(f) && (X.stimulsoft.is(I) ? (this.addCoord(K), K.y -= this.defaultLinePrimitiveWidth, K.x -= this.defaultLinePrimitiveWidth) : (K.height < 1.5 && (K.height = this.defaultLinePrimitiveWidth, K.y -= K.height), K.width < 1.5 && (K.width = this.defaultLinePrimitiveWidth, K.x -= K.width))), this.addCoord(K), null != X.hyperlinkValue)) { var q = X.hyperlinkValue; !n.isNullOrEmpty(q) && q.length > 2 && q.stimulsoft.startsWith("##") && this.hyperlinksToTag.set(q.substr(2), null) } } } } catch (t) { h = { error: t } } finally { try { V && !V.done && (d = W.return) && d.call(W) } finally { if (h) throw h.error } } 0 == _ && (this.coordY = z.sortForMatrix(this.coordY)), this.totalHeight = this.maxCoordY, k = Math.round(this.maxCoordY * (this.isHtmlService && StiOptions.Export.Html.printLayoutOptimization ? z.htmlScaleY : 1)), this.totalWidth = Math.max(this.totalWidth, Q.unit.convertToHInches(Q.width) * (this.isHtmlService && StiOptions.Export.Html.printLayoutOptimization ? z.htmlScaleX : 1)), _++; var $ = this.coordY.countItems; $ - Y > L && (L = $ - Y) } } catch (t) { m = { error: t } } finally { try { G && !G.done && (p = j.return) && p.call(j) } finally { if (m) throw m.error } } this.coordX = z.sortForMatrix(this.coordX), D[N] = this.totalHeight, o && this.prepareTable(), this.isHtmlOrExcelXmlService && this.addCoord2(0, k + 1, !1); for (var tt = this.coordY.getKeys(), et = this.coordX.getKeys(), rt = 0; rt < tt.length; rt++) this.topCached.set(this.coordY.getByIndex(rt, tt), rt); for (var it = 0; it < et.length; it++) this.leftCached.set(this.coordX.getByIndex(it, et), it); this.cells = Array.create(r.StiCell, tt.length, et.length), this.bordersX = Array.create(T, tt.length, et.length), this.bordersY = Array.create(T, tt.length, et.length), this.bookmarks = Array.create(String, tt.length, et.length), this.cellsMap = Array.create(r.StiCell, tt.length, et.length), this.coordXCheck = Array.create(Boolean, et.length), this.coordYCheck = Array.create(Boolean, tt.length), this.coordXNew = Array.create(Number, et.length), this.coordYNew = Array.create(Number, tt.length), this.coordXPrim = Array.create(Number, et.length), this.coordYPrim = Array.create(Number, tt.length), this.imagesBaseRect = new s, N = 0, this.addComponentWithInteractions && (this.interactions = Array.create(Number, tt.length, et.length, 2)); var nt = null; _ = 0; var ot = this.coordY.countItems; try { for (var at = __values(i.list), st = at.next(); !st.done; st = at.next()) { var Q = st.value; if (i.getPage(Q), a.invokeExporting(Q, i, a.currentPassNumber + 1, a.maximumPassNumber), a.isStopped) return; if (this.totalHeight = D[N++], null != Q.border && Q.border.side != S.None) { var J = new H; J.displayRectangle = Q.clientRectangle, J.border = Q.border, J.brush = Q.brush, J.page = Q, this.renderComponent(J, x, !0, a.exportServiceId) } var U = Q.unit.convertToHInches(Q.clientRectangle); try { for (var lt = (w = void 0, __values(Q.components.list)), ut = lt.next(); !ut.done; ut = lt.next()) { var X = ut.value; if (X.enabled && (!M || X.printable)) { var K = Q.unit.convertToHInches(X.displayRectangle); K.height < 0 && (K.y += K.height, K.height = Math.abs(K.height)); var Z = !0; X.stimulsoft.is(E) && (Z = !1), (K.right < U.left || K.left > U.right || K.bottom < U.top || K.top > U.bottom) && (Z = !1), this.checkComponentPlacement(X, c) || (Z = !1), Z && this.renderComponent(X, x, !1, a.exportServiceId) } } } catch (t) { w = { error: t } } finally { try { ut && !ut.done && (v = lt.return) && v.call(lt) } finally { if (w) throw w.error } } if (null != Q.bookmarkValue) { var ct = Q.bookmarkValue; if (!n.isNullOrEmpty(ct)) { var K = this.getRange(Q.unit.convertToHInches(Q.clientRectangle)); if (-1 != K.left) { -1 == K.bottom && (K.height = ot - 1 - K.top); for (var rt = K.y; rt < K.bottom; rt++) { for (var mt = !1, it = K.x; it < K.right; it++) if (null != this.cellsMap[rt][it] && null == this.bookmarks[rt][it]) { this.bookmarks[rt][it] = ct, this.setBookmarkValue(rt, it, ct), mt = !0; break } if (!mt) for (var it = K.x; it < K.right; it++) if (null != this.cellsMap[rt][it]) { this.bookmarks[rt][it] = ct, this.setBookmarkValue(rt, it, ct); break } } } } } _++ } } catch (t) { g = { error: t } } finally { try { st && !st.done && (A = at.return) && A.call(at) } finally { if (g) throw g.error } } this.processIntersectedCells(this.createdCells), et = this.coordX.getKeys(); for (var pt = 0, ht = 0; ht < et.length; ht++) this.coordXNew[ht] = pt, ht < et.length - 1 && this.coordX.getByIndex(ht + 1, et) - this.coordX.getByIndex(ht, et) < 1.1 && 1 == this.coordXPrim[ht] && (this.coordXCheck[ht] = !0, pt++); tt = this.coordY.getKeys(); for (var dt = 0, ht = 0; ht < tt.length; ht++) this.coordYNew[ht] = dt, ht < tt.length - 1 && this.coordY.getByIndex(ht + 1, tt) - this.coordY.getByIndex(ht, tt) < 1.1 && 1 == this.coordYPrim[ht] && (this.coordYCheck[ht] = !0, dt++); if (!0 && (dt > 0 || pt > 0)) { for (var gt = Array.create(Boolean, tt.length, et.length), rt = 0; rt < tt.length - 1; rt++) for (var it = 0; it < et.length - 1; it++) { var ft = this.coordXNew[it] , St = this.coordYNew[rt] , At = this.cells[rt][it]; this.bordersX[rt - St][it - ft] = this.bordersX[rt][it], this.bordersY[rt - St][it - ft] = this.bordersY[rt][it]; var yt = this.bookmarks[rt][it]; if (this.bookmarks[rt - St][it - ft] = yt, this.setBookmarkValue(rt - St, it - ft, yt), this.addComponentWithInteractions && (this.interactions[rt - St][it - ft][0] = this.interactions[rt][it][0], this.interactions[rt - St][it - ft][1] = this.interactions[rt][it][1]), null != At && 0 == gt[rt][it]) { for (var wt = 0; wt <= At.height; wt++) for (var bt = 0; bt <= At.width; bt++) gt[rt + wt][it + bt] = !0, 0 == wt && 0 == bt || (this.cells[rt + wt][it + bt] = null); 1 == this.coordXCheck[it] || 1 == this.coordYCheck[rt] ? (this.cells[rt][it] = null, At = null) : (At.width -= this.coordXNew[it + At.width + 1] - ft, At.height -= this.coordYNew[rt + At.height + 1] - St, At.left -= ft, At.top -= St), (ft > 0 || St > 0) && (this.cells[rt - St][it - ft] = At, this.cells[rt][it] = null, At = null) } } for (var ht = 0; ht < et.length - 1; ht++) { var ft = this.coordXNew[ht]; this.bordersX[tt.length - 1 - dt][ht - ft] = this.bordersX[tt.length - 1][ht] } for (var ht = 0; ht < tt.length - 1; ht++) { var St = this.coordYNew[ht]; this.bordersY[ht - St][et.length - 1 - pt] = this.bordersY[ht][et.length - 1] } for (var ht = this.coordX.countItems - 1 - 1; ht >= 0; ht--) 1 == this.coordXCheck[ht] && this.coordX.removeByIndex(ht); for (var ht = this.coordY.countItems - 1 - 1; ht >= 0; ht--) 1 == this.coordYCheck[ht] && this.coordY.removeByIndex(ht) } if (this.isHtmlOrExcelXmlService) { var vt = this.coordX.countItems , Ct = this.coordY.countItems; this.cellStyles = Array.create(r.StiCellStyle, Ct, vt); var gt = Array.create(Boolean, Ct, vt) , Et = new l("Arial",8) , Bt = this.styles , Tt = []; Tt.addRange(this.styles), -1 == F ? this.styles.clear() : this.styles.removeRange(F, this.styles.length - F), this.stylesCache.clear(); var It = []; try { for (var xt = __values(this.styles), Ft = xt.next(); !Ft.done; Ft = xt.next()) { var Dt = Ft.value; r.StiCellStyle.getStyleFromCache(Dt.color, Dt.textColor, Dt.font, Dt.horAlignment, Dt.vertAlignment, Dt.border, Dt.borderL, Dt.borderR, Dt.borderB, Dt.textOptions, Dt.wordWrap, Dt.format, Dt.internalStyleName, Dt.lineSpacing, this.stylesCache, It, this.fontsCache, Dt, !0, Dt.overflow, Dt.borderRadius) } } catch (t) { C = { error: t } } finally { try { Ft && !Ft.done && (B = xt.return) && B.call(xt) } finally { if (C) throw C.error } } for (var Rt = 1; Rt < Ct - 1; Rt++) for (var Pt = 1; Pt < vt; Pt++) if (0 == gt[Rt - 1][Pt - 1]) { var Nt = this.cells[Rt - 1][Pt - 1]; if (null != Nt) { for (var wt = 0; wt <= Nt.height; wt++) for (var bt = 0; bt <= Nt.width; bt++) gt[Rt - 1 + wt][Pt - 1 + bt] = !0; for (var kt = !0, Mt = !0, ht = 0; ht < Nt.height + 1; ht++) null == this.bordersY[Nt.top + ht][Nt.left] && (kt = !1), null == this.bordersY[Nt.top + ht][Nt.left + Nt.width + 1] && (Mt = !1); for (var Ot = !0, _t = !0, ht = 0; ht < Nt.width + 1; ht++) null == this.bordersX[Nt.top][Nt.left + ht] && (Ot = !1), null == this.bordersX[Nt.top + Nt.height + 1][Nt.left + ht] && (_t = !1); this.styles = Tt; var Dt = Nt.cellStyle; this.styles = Bt; var Lt = r.StiCellStyle.getStyleFromCache(Dt.color, Dt.textColor, Dt.font, Dt.horAlignment, Dt.vertAlignment, Ot ? this.bordersX[Nt.top][Nt.left] : null, kt ? this.bordersY[Nt.top][Nt.left] : null, Mt ? this.bordersY[Nt.top][Nt.left + Nt.width + 1] : null, _t ? this.bordersX[Nt.top + Nt.height + 1][Nt.left] : null, Dt.textOptions, Dt.wordWrap, Dt.format, Dt.internalStyleName, Dt.lineSpacing, this.stylesCache, this.styles, this.fontsCache, Dt, !1, Dt.overflow, Dt.borderRadius); this.cellStyles[Rt - 1][Pt - 1] = Lt } else { var kt = !0 , Mt = !0; null == this.bordersY[Rt - 1][Pt - 1] && (kt = !1), null == this.bordersY[Rt - 1][Pt - 0] && (Mt = !1); var Ot = !0 , _t = !0; if (null == this.bordersX[Rt - 1][Pt - 1] && (Ot = !1), null == this.bordersX[Rt - 0][Pt - 1] && (_t = !1), kt || Mt || Ot || _t) { var Lt = r.StiCellStyle.getStyleFromCache(P.transparent, P.black, Et, y.Center, b.Center, Ot ? this.bordersX[Rt - 1][Pt - 1] : null, kt ? this.bordersY[Rt - 1][Pt - 1] : null, Mt ? this.bordersY[Rt - 1][Pt - 0] : null, _t ? this.bordersX[Rt - 0][Pt - 1] : null, null, !1, null, null, 1, this.stylesCache, this.styles, this.fontsCache, null, !1, !0, 0); this.cellStyles[Rt - 1][Pt - 1] = Lt } } } this.checkStylesNames() } ot = this.coordY.countItems, tt = this.coordY.getKeys(); var jt = i.count; if (jt > 1) for (var Ht = 1, rt = 0; rt < ot; rt++) for (var Gt = this.coordY.getByIndex(rt, tt), Qt = Ht; Qt < jt; Qt++) if (R[Qt] == Gt) { this.horizontalPageBreaks.add(rt), Ht = Qt + 1; break } } return z.prototype.setBookmarkValue = function(e, r, i) { if (null == this.bookmarksTable || null == i) return; if (this.bookmarksTable.containsKey(i)) { var n = this.bookmarksTable.get(i); (e < n.height || e == n.height && r < n.width) && this.bookmarksTable.set(i, new t.System.Drawing.Size(r,e)) } else this.bookmarksTable.set(i, new t.System.Drawing.Size(r,e)) } , z.sortForMatrix = function(t) { var e, r, n, o, a, s, l = []; try { for (var u = __values(t.sort(Array.numberSortFunction)), c = u.next(); !c.done; c = u.next()) { var m = c.value; null != m && (l[m] = m) } } catch (t) { e = { error: t } } finally { try { c && !c.done && (r = u.return) && r.call(u) } finally { if (e) throw e.error } } var p = []; try { for (var h = __values(i.getOwnPropertyNames(t)), d = h.next(); !d.done; d = h.next()) { var g = d.value , f = g.stimulsoft.toNumber(); f < 0 && (p[0 - f] = t[g]) } } catch (t) { n = { error: t } } finally { try { d && !d.done && (o = h.return) && o.call(h) } finally { if (n) throw n.error } } try { for (var S = __values(p.sort(Array.numberSortFunction)), A = S.next(); !A.done; A = S.next()) { var m = A.value; null != m && (l[m] = m) } } catch (t) { a = { error: t } } finally { try { A && !A.done && (s = S.return) && s.call(S) } finally { if (a) throw a.error } } return l } , z.prototype.round = function(t) { return Math.round(t) } , z.prototype.addCoord = function(t) { this.addCoord2(t.left, t.top + this.totalHeight), this.addCoord2(t.right, t.bottom + this.totalHeight) } , z.prototype.addCoord2 = function(t, e, r) { void 0 === r && (r = !0), e > this.maxCoordY && (this.maxCoordY = e), r && this.isHtmlService && StiOptions.Export.Html.printLayoutOptimization ? (t = this.round(t * z.htmlScaleX), e = this.round(e * z.htmlScaleY)) : (t = this.round(t), e = 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)) } , z.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); var i = this.maxRowHeight; if (r > i) { r < 2 * i && (i = this.round(r / 2)); var n = this.coordY.getByIndex(e - 1, t) + i; this.addCoord2(0, n, !1), t = this.coordY.getKeys() } } for (var o = this.coordX.getKeys(), a = 1; a < this.coordX.countItems; a++) { var s = this.coordX.getByIndex(a, o) - this.coordX.getByIndex(a - 1, o); s = this.round(s); var l = 1900; if (s > l) { s < 2 * l && (l = this.round(s / 2)); var u = this.coordX.getByIndex(a - 1, o) + l; this.addCoord2(u, 0, !1), o = this.coordX.getKeys() } } } , z.prototype.getRange = function(t) { var e = this.isHtmlService && StiOptions.Export.Html.printLayoutOptimization ? z.htmlScaleX : 1 , r = this.isHtmlService && StiOptions.Export.Html.printLayoutOptimization ? z.htmlScaleY : 1 , i = this.round(t.left * e) , n = this.round((t.top + this.totalHeight) * r) , o = this.round(t.right * e) , s = this.round((t.bottom + this.totalHeight) * r) , l = 0 , u = 0 , c = 0 , m = 0 , p = this.leftCached.get(i); return null == p ? (l = this.coordX.indexOf(i), this.leftCached.set(i, l)) : l = p, p = this.topCached.get(n), null == p ? (u = this.coordY.indexOf(n), this.topCached.set(n, u)) : u = p, p = this.leftCached.get(o), null == p ? (c = this.coordX.indexOf(o), this.leftCached.set(o, c)) : c = p, p = this.topCached.get(s), null == p ? (m = this.coordY.indexOf(s), this.topCached.set(s, m)) : m = p, new a(l,u,c - l,m - u) } , z.prototype.getStyleFromComponent = function(t, i, a, s) { var f = P.white , S = t.stimulsoft.as(m); null == S || t.stimulsoft.is(O) || (f = C.toColor(S.brush)), t.stimulsoft.is(O) && this.isHtmlPngMode && (f = P.transparent); var A = t.stimulsoft.as(x); if (null != A && (f = A.backColor), (t.stimulsoft.is(_) || t.stimulsoft.is(W)) && (f = P.transparent), -1 != i && -1 != a && f.stimulsoft.equals(P.transparent) && null != this.cellsMap[a][i]) { f = this.cellsMap[a][i].cellStyle.color } var w = P.black , E = t.stimulsoft.as(p); null != E && (w = C.toColor(E.textBrush)); var I = null , F = t.stimulsoft.as(u); I = null != F ? F.font : new l("Arial",8); var D = y.Left , R = t.stimulsoft.as(h); null != R && (D = R.horAlignment); var L = t.stimulsoft.as(d); null != L && (D = L.horAlignment - 1); var j = b.Top , H = t.stimulsoft.as(g); null != H && (j = H.vertAlignment); var Q = null , Y = null , U = null , J = null , V = t.stimulsoft.as(c); if (null != V) { var z = V.border.stimulsoft.as(k); null != z ? (Q = z.leftSide, Y = z.rightSide, U = z.topSide, J = z.bottomSide) : (Q = new T(V.border.color,V.border.size,V.border.style), V.border.isRightBorderSidePresent && (Y = Q), V.border.isTopBorderSidePresent && (U = Q), V.border.isBottomBorderSidePresent && (J = Q), V.border.isLeftBorderSidePresent || (Q = null)) } var X = null , K = t.stimulsoft.as(B); null != K && (X = K.textOptions); var Z = !1 , q = t.stimulsoft.as(M); null != q && null != q.getTextInternal() && (Z = -1 != q.getTextInternal().indexOf("\n")), this.isHtmlOrExcelXmlService && null != X && (Z = X.wordWrap); var $ = null , tt = t.stimulsoft.as(v); if (this.exportFormat == e.StiExportFormat.ExcelXml && null != tt) { var et = tt.format , rt = !1 , it = !1 , nt = !1 , ot = "" , at = 2 , st = 0 , lt = "$" , ut = !1 , ct = !1 , mt = null != tt && tt.hideZeros , pt = null , ht = null , dt = et.indexOf("|"); if (-1 != dt && (pt = r.StiExportUtils.getPositivePattern(et[dt + 1].charCodeAt(0) - "A".charCodeAt(0)), ht = r.StiExportUtils.getNegativePattern(et[dt + 2].charCodeAt(0) - "A".charCodeAt(0)), et = et.substr(0, dt)), !n.isNullOrEmpty(et) && ("C" == et[0] && (rt = !0), "N" == et[0] && (it = !0), "P" == et[0] && (nt = !0), (rt || it || nt) && et.length > 1)) { var gt = 1; if (G.isDigit(et[gt])) { var ft = new N; while (gt < et.length && G.isDigit(et[gt])) ft.append(et[gt]), gt++; at = parseInt(ft.toString()) } gt < et.length && "G" == et[gt] && (gt++, st = 3), gt < et.length && "(" == et[gt] && (gt++, ct = !0), gt < et.length && ("." == et[gt] || "," == et[gt]) && gt++, gt < et.length && ("+" == et[gt] || "-" == et[gt]) && ("+" == et[gt] && (ut = !0), ++gt < et.length && (lt = et[gt])) } if (rt || it || nt) if (-1 != dt) { var St = new N; st > 1 && (St.append("#,"), St.append("#", st - 1)), St.append("0"), at > 0 && (St.append("."), St.append("0", at)); var At = St.toString() , yt = pt.stimulsoft.replaceAll("n", At).stimulsoft.replaceAll("$", '"' + lt + '"') , wt = ht.stimulsoft.replaceAll("n", At).stimulsoft.replaceAll("$", '"' + lt + '"'); ot = yt + ";" + wt + (mt ? ";" : "") } else { var St = new N; rt && 1 == ut && (St.append('"'), St.append(lt), St.append('"')), st > 1 && (St.append("#,"), St.append("#", st - 1)), St.append("0"), at > 0 && (St.append("."), St.append("0", at)), rt && 0 == ut && (St.append('"'), St.append(lt), St.append('"')), nt && St.append("%"), ot = St.toString(); var wt = (ct ? "(" : "-") + ot + (ct ? ")" : ""); mt ? ot = ot + ";" + wt + ";" : ct && (ot = ot + ";" + wt) } $ = ot } var bt = null; n.isNullOrEmpty(t.componentStyle) || (bt = s + t.componentStyle), this.isHtmlOrExcelXmlService && !StiOptions.Export.Html.useComponentStyleName && (bt = null); var vt = null != tt ? tt.lineSpacing : 1; return r.StiCellStyle.getStyleFromCache(f, w, I, D, j, U, Q, Y, J, X, Z, $, bt, vt, this.stylesCache, this.styles, this.fontsCache, null, !1, !t.stimulsoft.is(O), t.stimulsoft.is(o) ? t.round : 0) } , z.prototype.getStyle = function(t) { var e, r; try { for (var i = __values(this.styles), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.stimulsoft.equals(t)) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return this.styles.add(t), t } , z.prototype.renderComponent = function(t, i, o, a) { var s = t.stimulsoft.as(L) , u = null != s; if (this.replaceCheckboxes && u) { var m = new v; m.page = s.page, m.clientRectangle = s.clientRectangle, m.brush = s.brush, m.textBrush = s.textBrush, m.border = s.border, m.horAlignment = y.Center, m.vertAlignment = b.Center; var p = t.report.unit.convertToHInches(Math.min(s.width, s.height)); if (null != s.checkedValue) { var h = !1 , d = s.checkedValue.toString().trim().toLowerCase() , g = s.values.split(new RegExp(";|,|/")); if (null != g && g.length > 0) { h = d == g[0].trim().toLowerCase() } var E = " " , B = null; switch (h ? s.checkStyleForTrue : s.checkStyleForFalse) { case U.Cross: E = String.fromCharCode(61691), B = "Wingdings"; break; case U.Check: E = String.fromCharCode(61692), B = "Wingdings"; break; case U.CrossRectangle: E = String.fromCharCode(61693), B = "Wingdings"; break; case U.CheckRectangle: E = String.fromCharCode(61694), B = "Wingdings"; break; case U.CrossCircle: E = String.fromCharCode(61526), B = "Wingdings 2"; break; case U.DotCircle: E = String.fromCharCode(61604), B = "Wingdings"; break; case U.DotRectangle: E = String.fromCharCode(61609), B = "Wingdings 2"; break; case U.NoneCircle: E = String.fromCharCode(61601), B = "Wingdings"; break; case U.NoneRectangle: E = String.fromCharCode(61608), B = "Wingdings"; break } " " != E && (m.font = new l(B,.72 * p,J.Regular), m.text = E) } t = m } var R = t.page.unit.convertToHInches(t.displayRectangle); if (R.height < 0 && (R.y += R.height, R.height = Math.abs(R.height)), !t.stimulsoft.is(f) && (0 == R.width || 0 == R.height)) return; t.stimulsoft.is(f) && (t.stimulsoft.is(I) ? (R.y -= this.defaultLinePrimitiveWidth, R.x -= this.defaultLinePrimitiveWidth) : (R.height < 1.5 && (R.height = this.defaultLinePrimitiveWidth, R.y -= R.height), R.width < 1.5 && (R.width = this.defaultLinePrimitiveWidth, R.x -= R.width))); var P = this.getRange(R); if (-1 != P.left) { var N = !0 , O = t.bookmarkValue , _ = t.tagValue; null == O && !n.isNullOrEmpty(_) && this.hyperlinksToTag.containsKey(_) && (O = _); var j = t.stimulsoft.as(c) , G = null != j ? j.border : null , Q = !n.isNullOrEmpty(O) , W = null != G && G.side != S.None , V = !1 , X = !1 , K = !1 , Z = !1 , q = t.stimulsoft.as(v); null != q && (V = null != q.text && null != q.getTextInternal() && (q.getTextInternal().length > 0 || i), X = null != q.brush && 0 != C.toColor(q.brush).a, K = null != q.excelDataValue, Z = null != q.indicator, N = V || X || K || W || Z || q.editable); var $ = t.stimulsoft.as(H); null != $ && (X = null != $.brush && 0 != C.toColor($.brush).a, N = X || W && !o && !this.isHtmlOrExcelXmlService), Q && (N = !0); var tt = P.left , et = P.right , rt = P.top , it = P.bottom; t.stimulsoft.is(I) && (N = !1, 0 == this.coordXPrim[tt] && (this.coordXPrim[tt] = 1), 0 == this.coordXPrim[et] && (this.coordXPrim[et] = 1), 0 == this.coordYPrim[rt] && (this.coordYPrim[rt] = 1), 0 == this.coordYPrim[it] && (this.coordYPrim[it] = 1)); var nt = this.isComponentHasInteraction(t) , ot = 0 , at = 0; if (nt && (N = !0, ot = t.report.renderedPages.indexOf(t.page) + 1, at = t.page.components.indexOf(t) + 1), N) { var st = new r.StiCell(this.exportFormat); this.createdCells.add(st), this.exportFormat != e.StiExportFormat.Csv && this.exportFormat != e.StiExportFormat.Dbf && this.exportFormat != e.StiExportFormat.Xml && (st.cellStyle = this.getStyleFromComponent(t, tt, rt, a)); var lt = !0; this.exportFormat == e.StiExportFormat.ExcelXml && (lt = !1, t.stimulsoft.is(x) && (lt = !0), t.stimulsoft.is(L) && (lt = !0), null != q && null != q.excelDataValue && (lt = !0), (t.locked || null != t.tagValue && t.tagValue.toString().indexOf("excelfreezepanes") >= 0) && (lt = !0)), lt && (st.component = t), lt && null != st.exportImage && this.imagesBaseRect.set(t, new A(R.x,R.y + this.totalHeight,R.width,R.height)), this.cells[rt][tt] = st, st.left = tt, st.top = rt; var ut = t.stimulsoft.as(M); null != ut ? (st.text = ut.text, null != t.stimulsoft.as(v) && !n.isNullOrEmpty(st.text) && st.text.stimulsoft.endsWith(Y.StiForceWidthAlignTag) && (st.text = st.text.substr(0, st.text.length - Y.StiForceWidthAlignTag.length))) : st.text = "", st.width = P.width - 1, st.height = P.height - 1; for (var ct = P.x; ct < et; ct++) for (var mt = P.y; mt < it; mt++) this.cellsMap[mt][ct] = st, Q && (this.bookmarks[mt][ct] = O, this.setBookmarkValue(mt, ct, O)), nt && (this.interactions[mt][ct][0] = ot, this.interactions[mt][ct][1] = at); t.stimulsoft.is(F) ? 0 == this.coordXPrim[st.left] && (this.coordXPrim[st.left] = 1) : this.coordXPrim[st.left] = -1, t.stimulsoft.is(D) ? 0 == this.coordYPrim[st.top] && (this.coordYPrim[st.top] = 1) : this.coordYPrim[st.top] = -1 } if (W) { var pt = G.size , ht = new T(G.color,pt,G.style) , dt = G.stimulsoft.as(k) , gt = z.staticRectanglePrimitive; if (t.stimulsoft.is(F) && (P.x += 1), t.stimulsoft.is(D) && (P.y += 1), t.stimulsoft.is(I) && (P.x += 1, P.y += 1, gt = t.stimulsoft.as(I)), tt = P.left, et = P.right, rt = P.top, it = P.bottom, null != dt && (ht = dt.topSide), G.isTopBorderSidePresent && ht.style != w.None && gt.topSide) for (var ft = tt; ft < et; ft++) null != this.bordersX[rt][ft] ? this.bordersX[rt][ft].size <= pt && (this.bordersX[rt][ft] = ht) : this.bordersX[rt][ft] = ht; if (null != dt && (ht = dt.bottomSide), G.isBottomBorderSidePresent && ht.style != w.None && gt.bottomSide) for (var ft = tt; ft < et; ft++) null != this.bordersX[it][ft] ? this.bordersX[it][ft].size <= pt && (this.bordersX[it][ft] = ht) : this.bordersX[it][ft] = ht; if (null != dt && (ht = dt.leftSide), G.isLeftBorderSidePresent && ht.style != w.None && gt.leftSide) for (var ft = rt; ft < it; ft++) null != this.bordersY[ft][tt] ? this.bordersY[ft][tt].size <= pt && (this.bordersY[ft][tt] = ht) : this.bordersY[ft][tt] = ht; if (null != dt && (ht = dt.rightSide), G.isRightBorderSidePresent && ht.style != w.None && gt.rightSide) for (var ft = rt; ft < it; ft++) null != this.bordersY[ft][et] ? this.bordersY[ft][et].size <= pt && (this.bordersY[ft][et] = ht) : this.bordersY[ft][et] = ht } } } , z.prototype.getCellRectangle = function(t, e, r) { var i = t , n = e , o = t , s = e; while (i <= r.width && this.cellsMap[n + r.top][i + r.left] != r) i++; if (i > r.width) return a.empty; o = i; while (o <= r.width && this.cellsMap[n + r.top][o + r.left] == r) o++; if (i == o) return a.empty; var l = !1; s = n + 1; while (s <= r.height && 0 == l) { if (i > 0 && this.cellsMap[r.top + s][r.left + i - 1] == r) { l = !0; break } if (o <= r.width && this.cellsMap[s + r.top][r.left + o] == r) { l = !0; break } for (var u = i; u < o; u++) if (this.cellsMap[s + r.top][u + r.left] != r) { l = !0; break } l || s++ } return new a(i,n,o - i,s - n) } , z.prototype.cutRectangleFromCellsMap = function(t, e) { for (var r = t.left; r < t.right; r++) for (var i = t.top; i < t.bottom; i++) this.cellsMap[e.top + i][e.left + r] = null } , z.prototype.isComponentHasInteraction = function(t) { if (this.addComponentWithInteractions && null != t.interaction) { if (t.interaction.sortingEnabled && !n.isNullOrWhiteSpace(t.interaction.sortingColumn)) return !0; if (t.interaction.drillDownEnabled && (null != t.interaction.drillDownPage || !n.isNullOrEmpty(t.interaction.drillDownReport))) return !0; if (t.interaction.stimulsoft.is(Q) && t.interaction.collapsingEnabled) return !0 } return !1 } , z.prototype.scanComponentsPlacement = function(e, r) { void 0 === r && (r = !1); var i = this.coordY.countItems , n = this.coordX.countItems; this.linePlacement = Array.create(Number, i), this.parentBandName = Array.create(String, i); for (var o = 0; o < i - 1; o++) { for (var a = this.linePlacement[o], l = new N, u = !1, c = 0, m = 1; m < n; m++) { var p = this.cells[o][m - 1]; if (null != p && !p.component.stimulsoft.is(t.Report.CrossTab.StiCrossColumnTotal)) { var h = p.component.componentPlacement; null == h && (h = ""); var d = h.indexOf("Hd_HPnl"); -1 != d && (h = h.substr(0, d + 7)), u || (h.stimulsoft.startsWith("d") ? a = V.Data : h.stimulsoft.startsWith("h.ap") ? a = V.HeaderAP : h.stimulsoft.startsWith("f.ap") ? a = V.FooterAP : h.stimulsoft.startsWith("h") ? a = V.HeaderD : h.stimulsoft.startsWith("f") ? a = V.FooterD : h.stimulsoft.startsWith("gh") ? a = V.HeaderD : h.stimulsoft.startsWith("gf") ? a = V.FooterD : h.stimulsoft.startsWith("ph") ? (a = V.PageHeader, u = !0) : h.stimulsoft.startsWith("pf") && (a = V.PageFooter, u = !0)), "" != h && a == V.Empty && (a = V.Unknown), 0 == l.length && l.append(h + String.fromCharCode(31)), 1 == l.length && l.toString()[0] == String.fromCharCode(31) && "" != h && l.insert(0, h), a != V.HeaderD && a != V.HeaderAP || null == p.text || l.append(p.text); var g = p.height; r || (g = 0); for (var f = 0; f <= g; f++) this.linePlacement[o + f] = a, this.parentBandName[o + f] = l.toString(); g > c && (c = g) } } this.linePlacement[o] = a } if (e) { for (var S = new s, A = null, y = 0; y < i - 1; y++) if (this.linePlacement[y] == V.HeaderAP) { var w = this.parentBandName[y] , b = w.indexOf(""); if (-1 != b) { var v = w.substr(0, b); v != A && (A = v, S.clear()) } if (S.containsKey(w)) { this.linePlacement[y] = V.Trash; while (y + 1 < i - 1 && this.linePlacement[y + 1] == V.HeaderAP && this.parentBandName[y + 1] == w) y++, this.linePlacement[y] = V.Trash } else { S.add(w, w); while (y + 1 < i - 1 && this.linePlacement[y + 1] == V.HeaderAP && this.parentBandName[y + 1] == w) y++ } } var C = new s; A = null; for (var y = i - 1 - 1; y >= 0; y--) if (this.linePlacement[y] == V.FooterAP) { var E = this.parentBandName[y] , b = E.indexOf(""); if (-1 != b) { var v = E.substr(0, b); v != A && (A = v, C.clear()) } if (C.containsKey(E)) { this.linePlacement[y] = V.Trash; while (y - 1 >= 0 && this.linePlacement[y - 1] == V.FooterAP && this.parentBandName[y - 1] == E) y--, this.linePlacement[y] = V.Trash } else { C.add(E, E); while (y - 1 >= 0 && this.linePlacement[y - 1] == V.FooterAP && this.parentBandName[y - 1] == E) y-- } } for (var o = 0; o < i - 1; o++) if (this.linePlacement[o] == V.PageHeader || this.linePlacement[o] == V.PageFooter || this.linePlacement[o] == V.Trash) { var B = 0; while (o + B > 0 && this.linePlacement[o + B - 1] == V.Empty) B--, this.linePlacement[o + B] = this.linePlacement[o]; B = 0; while (o + B < i - 1 && this.linePlacement[o + B + 1] == V.Empty) B++, this.linePlacement[o + B] = this.linePlacement[o] } } } , z.prototype.processIntersectedCells = function(t) { var e, r, i, n, o, a; if (null == t) return; var s = this.coordX , l = this.coordY , u = s.getKeys() , c = l.getKeys(); try { for (var m = __values(t), p = m.next(); !p.done; p = m.next()) { var h = p.value; if (0 != h.width || 0 != h.height) { var d = 0 , g = 0 , f = this.getCellRectangle(d, g, h); if (f.width == h.width + 1 && f.height == h.height + 1) { this.cutRectangleFromCellsMap(f, h); continue } for (var S = [], A = 0; A <= h.height; A++) { if (1 == this.coordYPrim[h.top + A]) continue; for (var y = 0; y <= h.width; ) { if (1 == this.coordXPrim[h.left + y]) { y++; continue } if (f = this.getCellRectangle(y, A, h), 0 == f.width) { y = h.width + 1; continue } this.cutRectangleFromCellsMap(f, h); var w = h.clone(); w.left = h.left + f.x, w.top = h.top + f.y, w.width = f.width - 1, w.height = f.height - 1, this.cells[w.top][w.left] = w, S.add(w), y += f.width } } if (S.length > 0) { var b = 0 , v = null; try { for (var C = (i = void 0, __values(S)), E = C.next(); !E.done; E = C.next()) { var B = E.value , T = s.getByIndex(B.left + B.width + 1, u) - s.getByIndex(B.left, u) , I = l.getByIndex(B.top + B.height + 1, c) - l.getByIndex(B.top, c); b < T * I && (b = T * I, v = B) } } catch (t) { i = { error: t } } finally { try { E && !E.done && (n = C.return) && n.call(C) } finally { if (i) throw i.error } } try { for (var x = (o = void 0, __values(S)), F = x.next(); !F.done; F = x.next()) { var D = F.value; D != v && (D.text = "", D.exportImage = null) } } catch (t) { o = { error: t } } finally { try { F && !F.done && (a = x.return) && a.call(x) } finally { if (o) throw o.error } } } } } } catch (t) { e = { error: t } } finally { try { p && !p.done && (r = m.return) && r.call(m) } finally { if (e) throw e.error } } t.clear() } , z.prototype.splitTagWithCache = function(t) { var e = this.tagSplitCache.get(t); if (null != e) return e; var r = z.splitTag(t); return this.tagSplitCache.set(t, r), r } , z.splitTag = function(t) { var e = t; e.stimulsoft.endsWith(";") || (e += ";"); var r = [] , i = new N , n = 0 , o = !1; while (n < e.length) { var a = e.charAt(n); if (n++, '"' == a && (o && '"' == e.charAt(n) ? (i.append(a), n++) : o = !o), ";" == a && !o || n >= e.length) { var s = i.toString().trim(); s.length > 0 && r.add(s), i = new N; continue } i.append(a) } var l = []; return r.copyTo(l), l } , z.getStringsFromTag = function(t, e) { var r = [] , i = e; while (i < t.length && '"' != t.charAt(i)) i++; var n = new N , o = !1; while (i < t.length) { var a = t.charAt(i); if (i++, '"' == a) { if (o) { if (i < t.length && '"' == t.charAt(i)) { n.append(a), i++; continue } r.add(n.toString()), n = new N, o = !1; continue } o = !0; continue } o && n.append(a) } n.length > 0 && r.add(n.toString()); var s = []; return r.copyTo(s), s } , z.prototype.copyFieldsListToFields = function() { this.fields = []; for (var t = 0; t < this.fieldsList.length; t++) this.fields[t] = this.fieldsList[t] } , z.prototype.prepareDocument = function(i, o) { this.sizeX = this.coordX.countItems - 1, this.sizeY = this.coordY.countItems - 1; for (var a = 0, l = 0; l < this.sizeY; l++) ((o & r.StiDataExportMode.Data) > 0 && this.linePlacement[l] == V.Data || (o & r.StiDataExportMode.Headers) > 0 && (this.linePlacement[l] == V.HeaderD || this.linePlacement[l] == V.HeaderAP) || (o & r.StiDataExportMode.Footers) > 0 && (this.linePlacement[l] == V.FooterD || this.linePlacement[l] == V.FooterAP) || o == r.StiDataExportMode.AllBands) && a++; this.fieldsList = []; for (var l = 0; l < this.sizeX; l++) this.fieldsList.add(new X(a)); this.copyFieldsListToFields(); for (var u = 0; u < this.sizeX; u++) this.fields[u].name = "FIELD" + u.stimulsoft.toStringFormat("D4"); var c = "" , m = !1; switch (i.exportFormat) { case e.StiExportFormat.Csv: c = "csv"; break; case e.StiExportFormat.Dbf: c = "dbf"; break; case e.StiExportFormat.Xml: c = "xml"; break } var p = 0; this.htName = new s; for (var h = 0; h < this.sizeY; h++) { if ((o & r.StiDataExportMode.Data) > 0 && this.linePlacement[h] == V.Data || (o & r.StiDataExportMode.Headers) > 0 && (this.linePlacement[h] == V.HeaderD || this.linePlacement[h] == V.HeaderAP) || (o & r.StiDataExportMode.Footers) > 0 && (this.linePlacement[h] == V.FooterD || this.linePlacement[h] == V.FooterAP) || o == r.StiDataExportMode.AllBands) { for (var u = 0; u < this.sizeX; u++) { var d = this.cells[h][u]; if (null != d) { var g = null == d.component.tagValue ? "" : d.component.tagValue.toString() , f = null; if (n.isNullOrEmpty(g) || (f = this.splitTagWithCache(g)), null != f) for (var l = 0; l < f.length; l++) if (f[l].toLowerCase().stimulsoft.startsWith("column")) { var S = z.getStringsFromTag(f[l], 6); if (S.length > 1) { if (!this.htName.containsKey(S[0])) { var A = this.fields.length; this.fieldsList.add(new X(a)), this.copyFieldsListToFields(), this.fields[A].name = S[0], this.fields[A].readyName = !0, this.fields[A].readyType = !0, this.htName.set(S[0], A) } var y = this.htName.get(S[0]); this.fields[y].dataArray[p] = S[1] } } if (null != d.component && (d.component.stimulsoft.is(j) || d.component.stimulsoft.is(L))) { if (!this.fields[u].readyName) { var w = d.component.name; if (m && !n.isNullOrEmpty(d.component.alias) && (w = d.component.alias), null != f) for (var b = 0; b < f.length; b++) { var C = f[b].trim(); if (C.toLowerCase().stimulsoft.startsWith(c) || C.toLowerCase().stimulsoft.startsWith("default")) { var E = C.indexOf('"'); if (-1 == E) throw new Error("Name of DataColumn not found in property: " + w); E++; var B = C.indexOf('"', E) - E; if (!(B > 0)) throw new Error("Name of DataColumn not found in property: " + w); if (w = C.substr(E, B), !C.toLowerCase().stimulsoft.startsWith("default")) break } } i.exportFormat == e.StiExportFormat.Dbf && w.length > 10 && (w = w.substr(0, 10)), this.fields[u].name = w, this.fields[u].readyName = !0 } if (!this.fields[u].readyType && null != f && (i.exportFormat == e.StiExportFormat.Xml || i.exportFormat == e.StiExportFormat.Dbf)) { var T = f[0].split(":", 3); if (T[0] = T[0].trim().toLowerCase(), T[0].stimulsoft.startsWith("int") && (this.fields[u].info[0] = R.Int, this.fields[u].info[1] = 15), T[0].stimulsoft.startsWith("long") && (this.fields[u].info[0] = R.Long, this.fields[u].info[1] = 25), T[0].stimulsoft.startsWith("float") && (this.fields[u].info[0] = R.Float, this.fields[u].info[1] = 15, this.fields[u].info[2] = 5), T[0].stimulsoft.startsWith("double") && (this.fields[u].info[0] = R.Double, this.fields[u].info[1] = 20, this.fields[u].info[2] = 10), T[0].stimulsoft.startsWith("date") && (this.fields[u].info[0] = R.Date, this.fields[u].info[1] = 8, this.fields[u].info[2] = 0), T[0].stimulsoft.startsWith("bool") && (this.fields[u].info[0] = R.Bool, this.fields[u].info[1] = 1, this.fields[u].info[2] = 0), T.length > 1) { T[1] = T[1].trim(); var I = 0; try { I = parseInt(T[1]), I > 0 && (this.fields[u].info[1] = I) } catch (e) { t.System.StiError.showError(e, !1), I = 0 } if (T.length > 2) { T[2] = T[2].trim(); var F = 0; try { F = parseInt(T[2]), F > 0 && F < I && (this.fields[u].info[2] = F) } catch (e) { t.System.StiError.showError(e, !1), F = 0 } } } this.fields[u].readyType = !0 } } var D = d.component.stimulsoft.as(x) , P = d.component.stimulsoft.as(L) , N = d.text; if (!n.isNullOrWhiteSpace(N)) { var k = d.component.stimulsoft.as(v); null == k || n.isNullOrWhiteSpace(k.format) || "g" == k.format || -1 == N.indexOf(" ") || (N = N.stimulsoft.replaceAll(" ", " ")) } if (null == N && (N = ""), null != P && null != P.checkedValue) { var M = !1 , O = !1; P.checkedValue.stimulsoft.is(Boolean) && (P.checkedValue ? M = !0 : O = !0), P.checkedValue.stimulsoft.is(String) && ("True" == P.checkedValue ? M = !0 : O = !0), M && (N = StiOptions.Export.checkBoxTextForTrue), O && (N = StiOptions.Export.checkBoxTextForFalse) } n.isNullOrEmpty(N) || (i.exportFormat == e.StiExportFormat.Xml ? N = N.stimulsoft.replaceAll("\r", "") : (N = N.stimulsoft.replaceAll("\n", " "), N = N.stimulsoft.replaceAll("\r", "")), i.exportFormat == e.StiExportFormat.Dbf && N.length > 254 && (N = N.substr(0, 254))), this.fields[u].dataArray[p] = N } else this.fields[u].dataArray[p] = "" } p++ } } this.fields = []; for (var u = 0; u < this.fieldsList.length; u++) this.fieldsList[u].readyName && this.fields.push(this.fieldsList[u]); this.dataArrayLength = a } , z.prototype.checkStylesNames = function() { for (var t = new s, e = 0; e < this.styles.length; e++) { var r = this.styles[e] , i = r.styleName , n = "" , o = 0; while (!0) { if (!t.contains(i + n)) break; o++, n = o.toString() } "" != n && (i += n, r.styleName = i), t.add(i, i) } } , z.prototype.getRealImageData = function(t, e) { if (null == t || null == t.component || null == e) return null; var r = null; if (null == (r = this.imagesBaseRect.get(t.component)) || !r.stimulsoft.is(A)) return null; var i = r , n = this.isHtmlService && StiOptions.Export.Html.printLayoutOptimization ? z.htmlScaleX : 1 , o = this.isHtmlService && StiOptions.Export.Html.printLayoutOptimization ? z.htmlScaleY : 1 , a = this.round(i.left * n) , s = this.round(i.top * o) , l = this.round(i.right * n) , u = this.round(i.bottom * o) , c = 0 , m = 0 , p = 0 , h = 0; if (null == this.leftCached.get(a) ? (c = this.coordX.indexOf(a), this.leftCached.set(a, c)) : c = this.leftCached.get(a), null == this.topCached.get(s) ? (m = this.coordY.indexOf(s), this.topCached.set(s, m)) : m = this.topCached.get(s), null == this.leftCached.get(l) ? (p = this.coordX.indexOf(l), this.leftCached.set(l, p)) : p = this.leftCached.get(l), null == this.topCached.get(u) ? (h = this.coordY.indexOf(u), this.topCached.set(u, h)) : h = this.topCached.get(u), -1 == c || -1 == p || -1 == m || -1 == h) return null; if (c == t.left && p == t.left + t.width + 1 && m == t.top && h == t.top + t.height + 1) return null; var d = this.coordY.getKeys() , g = this.coordX.getKeys() , f = Math.trunc(this.coordX.getByIndex(t.left, g)) , S = Math.trunc(this.coordY.getByIndex(t.top, d)) , y = Math.trunc(this.coordX.getByIndex(t.left + t.width + 1, g)) , w = t.top + t.height + 1; w > d.length - 1 && (w = d.length - 1); var b = Math.trunc(this.coordY.getByIndex(w, d)) , v = (f - a) / (l - a) , C = (y - a) / (l - a) , E = (S - s) / (u - s) , B = (b - s) / (u - s) , T = Math.trunc(e.width * v) , I = Math.round(e.width * C + .5) , x = Math.trunc(e.height * E) , F = Math.round(e.height * B + .5); return null } , z.prototype.checkComponentPlacement = function(t, e) { if (e == r.StiDataExportMode.AllBands) return !0; var i = t.componentPlacement; null == i && (i = ""); var n = i.indexOf("Hd_HPnl"); -1 != n && (i = i.substring(0, n + 7)); var o = V.Unknown; if (i.stimulsoft.startsWith("d") ? o = V.Data : i.stimulsoft.startsWith("h.ap") ? o = V.HeaderD : i.stimulsoft.startsWith("f.ap") ? o = V.FooterD : i.stimulsoft.startsWith("h") ? o = V.HeaderD : i.stimulsoft.startsWith("f") ? o = V.FooterD : i.stimulsoft.startsWith("gh") ? o = V.HeaderD : i.stimulsoft.startsWith("gf") && (o = V.FooterD), (e & r.StiDataExportMode.Data) > 0 && o == V.Data || (e & r.StiDataExportMode.Headers) > 0 && o == V.HeaderD || (e & r.StiDataExportMode.Footers) > 0 && o == V.FooterD) return !0; return !1 } , z.prototype.getBorderSideIndex = function(t) { if (null == t) return 0; if (this.borderSides.length > 0) for (var e = 0; e < this.borderSides.length; e++) if (this.borderSides[e].stimulsoft.equals(t)) return e + 1; return this.borderSides.add(t), this.borderSides.length } , z.GCCollect = function() {} , z.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, null != this.lastComps && this.lastComps.clear(), null != this.borderSides && this.borderSides.clear(), this.borderSides = null } , z.staticRectanglePrimitive = new I, z.htmlScaleX = .96, z.htmlScaleY = .956, z }(); r.StiMatrix = z; var X = function() { function t(t) { this.name = "", this.info = [], this.formatString = "", this.dataArray = [], this.readyName = !1, this.readyType = !1 } return t }(); r.DataField = X }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Xml.Formatting , o = t.System.Text.Encoding , a = t.System.DateTime , s = t.Base.Zip.StiZipWriter20 , l = t.System.IO.MemoryStream , u = t.Report.Components.StiPageOrientation , c = t.Report.Components.StiPagesCollection , m = t.Base.Drawing.StiBorderSides , p = t.Base.Drawing.StiVertAlignment , h = t.Report.Components.StiRichText , d = t.Report.Components.StiText , g = t.System.Xml.XmlTextWriter , f = t.System.Char , S = t.System.Text.StringBuilder , A = t.Base.Drawing.StiBrush , y = t.Report.Components.IStiFont , w = t.Report.Components.IStiTextBrush , b = t.Report.Components.IStiTextHorAlignment , v = t.Report.Components.IStiTextOptions , C = t.Base.Drawing.StiPenStyle , E = t.System.Collections.Hashtable , B = t.Base.Drawing.StiTextHorAlignment , T = t.Base.Localization.StiLocalization , I = t.Report.Components.IStiHorAlignment , x = t.Base.Drawing.StiHtmlTagsState , F = t.Base.Drawing.StiHtmlState , D = t.Report.Components.IStiExportImageExtended , R = function() { function t() {} return t }() , P = function(P) { function N() { var t = null !== P && P.apply(this, arguments) || this; return t._matrix = null, t._removeEmptySpaceAtBottom = StiOptions.Export.Word.removeEmptySpaceAtBottom, t.fontList = null, t.styleList = null, t.imageCache = null, t.bookmarkList = null, t.hyperlinkList = null, t.embedsList = null, t.xmlIndentation = 1, t.imageQuality = .75, t.imageResolution = 96, t.lineSpace = null, t.lineSpace2 = null, t.usePageHeadersAndFooters = !1, t.restrictEditing = r.StiWord2007RestrictEditing.No, t.headersData = null, t.headersRels = null, t.footersData = null, t.footersRels = null, t.docCompanyString = null, t.docLastModifiedString = null, t.wrongUrlSymbols = " \"#'*,;<>[^`{|}", t } return __extends(N, P), Object.defineProperty(N.prototype, "defaultExtension", { get: function() { return "docx" }, enumerable: !0, configurable: !0 }), Object.defineProperty(N.prototype, "exportFormat", { get: function() { return e.StiExportFormat.Word2007 }, enumerable: !0, configurable: !0 }), Object.defineProperty(N.prototype, "groupCategory", { get: function() { return "Word" }, enumerable: !0, configurable: !0 }), Object.defineProperty(N.prototype, "position", { get: function() { return r.StiExportPosition.Word2007 }, enumerable: !0, configurable: !0 }), Object.defineProperty(N.prototype, "exportNameInMenu", { get: function() { return T.get("Export", "ExportTypeWord2007File") }, enumerable: !0, configurable: !0 }), N.prototype.exportTo = function(t, e, r) { this.exportWord(t, e, r) } , N.prototype.exportToAsync = function(e, r, i, n) { var o = this; t.Report.Export.StiExportImageHelper.convertAllImages(r, t.System.Drawing.Imaging.ImageFormat.Jpeg).try(function() { o.exportTo(r, i, n), e() }) } , Object.defineProperty(N.prototype, "multipleFiles", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), N.prototype.getFilter = function() { return T.get("FileFilters", "Word2007Files") } , Object.defineProperty(N.prototype, "matrix", { get: function() { return this._matrix }, enumerable: !0, configurable: !0 }), Object.defineProperty(N.prototype, "removeEmptySpaceAtBottom", { get: function() { return this._removeEmptySpaceAtBottom }, enumerable: !0, configurable: !0 }), N.prototype.checkFontsToCorrectHeight = function(t) { return "Arial Unicode MS" == t || "Microsoft YaHei" == t } , N.prototype.getLineStyle = function(t) { switch (t) { case C.Solid: return "single"; case C.Dot: return "dotted"; case C.Dash: return "dashSmallGap"; case C.DashDot: return "dotDash"; case C.DashDotDot: return "dotDotDash"; case C.Double: return "double"; default: return "" } } , N.prototype.getColorString = function(t) { if (0 == t.a) return "auto"; if (t.a < 32) return "FFFFFF"; return i.format("{0:X8}", t.toArgb()).substr(2) } , N.prototype.getStyleNumber = function(t, e) { if (t.length > 0) for (var r = 0; r < t.length; r++) { var i = t[r]; if (i.alignment == e.alignment && i.name == e.name && i.fontName == e.fontName && i.fontSize == e.fontSize && i.bold == e.bold && i.italic == e.italic && i.underline == e.underline && i.textColor.equals(e.textColor) && i.rightToLeft == e.rightToLeft) return r } return t.add(e), t.length - 1 } , N.prototype.getStyleFromComponent = function(t) { if (null != t && !i.isNullOrEmpty(t.componentStyle)) { var e = t.stimulsoft.as(y) , r = t.stimulsoft.as(w) , n = t.stimulsoft.as(b) , o = t.stimulsoft.as(v) , a = new R; return a.name = t.componentStyle, null != e && (a.fontName = e.font.name, a.fontSize = Math.round2(2 * e.font.sizeInPoints, 0), a.bold = e.font.bold, a.italic = e.font.italic, a.underline = e.font.underline), null != r && (a.textColor = A.toColor(r.textBrush)), null != n && (a.alignment = n.horAlignment), null != o && (a.rightToLeft = o.textOptions.rightToLeft), this.getStyleNumber(this.styleList, a) } return -1 } , N.prototype.stringToUrl = function(t) { var e, r, n, o; if (i.isNullOrEmpty(t)) return ""; var a = new S; if (t.stimulsoft.startsWith("file:")) try { for (var s = __values(t.split("")), l = s.next(); !l.done; l = s.next()) { var u = l.value; u.charCodeAt(0) < 32 || '"' == u ? a.append(i.format("%{0:x2}", u)) : a.append(u) } } catch (t) { e = { error: t } } finally { try { l && !l.done && (r = s.return) && r.call(s) } finally { if (e) throw e.error } } else try { for (var c = __values(t.split("")), m = c.next(); !m.done; m = c.next()) { var u = m.value; u.charCodeAt(0) < 32 || -1 != this.wrongUrlSymbols.indexOf(u) ? a.append("_") : a.append(u) } } catch (t) { n = { error: t } } finally { try { m && !m.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } return a.toString() } , Object.defineProperty(N, "hiToTwips", { get: function() { return 14.4 * .995 }, enumerable: !0, configurable: !0 }), N.prototype.convert = function(t) { return Math.round2(t * N.hiToTwips) } , N.prototype.convertHiToTwips = function(t) { return Math.round2(14.4 * t) } , N.prototype.convertTwipsToEmu = function(t) { return Math.round2(t / N.hiToTwips / 100 * 914400) } , N.prototype.convertStringToBookmark = function(t) { var e, r, i = new S; try { for (var n = __values(t.split("")), o = n.next(); !o.done; o = n.next()) { var a = o.value; f.isLetterOrDigit(a) && i.append(a) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } return i.length > 0 && null != i.toString()[0] && f.isDigit(i.toString()[0]) && i.insert(0, "b"), i.toString() } , N.prototype.writeFromMatrix = function(t, n, o, a) { for (var s, l, u = this.matrix.coordX.countItems, c = this.matrix.coordY.countItems, g = Array.create(Number, u), f = this.matrix.coordX.getKeys(), S = 0; S < u; S++) { var A = this.matrix.coordX.getByIndex(S, f); g[S] = this.convert(A) } for (var y = Array.create(Number, c), w = this.matrix.coordY.getKeys(), b = 0; b < c; b++) { var v = this.matrix.coordY.getByIndex(b, w); y[b] = this.convert(v) } var C = !1 , E = 0 , B = Array.create(Boolean, c, u) , T = Array.create(Boolean, c, u) , I = ""; this.currentPassNumber = 2 + (StiOptions.Export.Word.divideSegmentPages ? 1 : 0); for (var b = 1; b < c; b++) { this.invokeExporting2(b, c, this.currentPassNumber, this.maximumPassNumber); var x = b - 1 >= n && b - 1 <= o; 0 == a && (this.matrix.linePlacement[b - 1] != r.StiTableLineInfo.PageHeader && this.matrix.linePlacement[b - 1] != r.StiTableLineInfo.PageFooter && this.matrix.linePlacement[b - 1] != r.StiTableLineInfo.Trash || (x = !1)), E > 0 && (E--, x = !1); var F = 100005 , D = [] , R = !1; if (x) for (var P = 1; P < u; P++) { var k = this.matrix.cells[b - 1][P - 1]; if (0 == B[b][P] && null != k && null != k.component) { if (null != k.component.tagValue) { var M = k.component.tagValue.toString().toLowerCase(); -1 != M.indexOf("rtfparagraph") && (D.add(k), x = !1), -1 != M.indexOf("rtfnewpage") && (R = !0) } var O = null; k.component.stimulsoft.is(d) && (O = k.component.margins), k.component.stimulsoft.is(h) && (O = k.component.margins), null != O && (O.top < F && (F = O.top), k.height > 0 && (F = 0)) } } F *= N.hiToTwips; var _ = Math.round2(F); if (R && (C && (t.writeFullEndElement(), C = !1), t.writeStartElement("w:p"), t.writeStartElement("w:r"), t.writeStartElement("w:br"), t.writeAttributeString("w:type", "page"), t.writeEndElement(), t.writeEndElement(), t.writeEndElement()), x) { if (this.usePageHeadersAndFooters && this.matrix.linePlacement[b - 1] == r.StiTableLineInfo.HeaderAP) { var L = this.matrix.parentBandName[b - 1] , j = L.indexOf(""); -1 != j && (L = L.substr(0, j)), L != I && (I = L, C && t.writeFullEndElement(), t.writeStartElement("w:p"), t.writeEndElement(), t.writeStartElement("w:tbl"), this.writeTableInfo(t, g, u), C = !0) } C || (t.writeStartElement("w:tbl"), this.writeTableInfo(t, g, u), C = !0), t.writeStartElement("w:tr"); var H = y[b] - y[b - 1]; t.writeStartElement("w:trPr"), this.usePageHeadersAndFooters && !StiOptions.Export.Word.forceLineHeight || (t.writeStartElement("w:trHeight"), (!this.usePageHeadersAndFooters && StiOptions.Export.Word.lineHeightExactly || this.usePageHeadersAndFooters && StiOptions.Export.Word.lineHeightExactlyForPHFMode) && t.writeAttributeString("w:hRule", "exact"), t.writeAttributeString("w:val", i.format("{0}", H)), t.writeEndElement()), this.usePageHeadersAndFooters && this.matrix.linePlacement[b - 1] == r.StiTableLineInfo.HeaderAP && (t.writeStartElement("w:tblHeader"), t.writeEndElement()), t.writeEndElement() } for (var G = 0, S = 1; S < u; S++) { var k = this.matrix.cells[b - 1][S - 1]; if (!B[b][S] || T[b][S]) { G++; var Q = !0; if (T[b][S]) { var Y = b; while (T[Y][S]) Y--; k = this.matrix.cells[Y - 1][S - 1], Q = !1 } if (null != k && Q) { for (var U = 0; U <= k.height; U++) for (var J = 0; J <= k.width; J++) B[b + U][S + J] = !0; if (k.height > 0) for (var U = 1; U <= k.height; U++) T[b + U][S] = !0 } if (x) { if (t.writeStartElement("w:tc"), null != k) { t.writeStartElement("w:tcPr"); for (var W = 0, V = 0; V < k.width + 1; V++) W += g[S + V] - g[S - 1 + V]; if (t.writeStartElement("w:tcW"), t.writeAttributeString("w:w", i.format("{0}", W)), t.writeAttributeString("w:type", "dxa"), t.writeEndElement(), k.width > 0 && (t.writeStartElement("w:gridSpan"), t.writeAttributeString("w:val", i.format("{0}", k.width + 1)), t.writeEndElement()), k.height > 0 && (T[b][S] ? (t.writeStartElement("w:vMerge"), t.writeEndElement()) : (t.writeStartElement("w:vMerge"), t.writeAttributeString("w:val", "restart"), t.writeEndElement())), null != k.cellStyle.textOptions) { var z = k.cellStyle.textOptions.angle , X = ""; z > 45 && z < 135 && (X = "btLr"), z > 225 && z < 315 && (X = "tbRl"), "" != X && (t.writeStartElement("w:textDirection"), t.writeAttributeString("w:val", X), t.writeEndElement()) } var K = k.component.stimulsoft.is(d) && k.component.checkAllowHtmlTags() && !StiOptions.Export.Word.renderHtmlTagsAsImage; if (Q && k.component.stimulsoft.is(d) && (!k.component.isExportAsImage(e.StiExportFormat.Word2007) || K)) { var Z = k.component , q = this.convert(Z.margins.left) , $ = this.convert(Z.margins.right - StiOptions.Export.Word.rightMarginCorrection) , tt = this.convert(Z.margins.top); tt > _ && (tt = _), (q > 0 || $ > 0 || tt > 0) && (t.writeStartElement("w:tcMar"), tt > 0 && (t.writeStartElement("w:top"), t.writeAttributeString("w:w", i.format("{0}", tt)), t.writeAttributeString("w:type", "dxa"), t.writeEndElement()), q > 0 && (t.writeStartElement("w:left"), t.writeAttributeString("w:w", i.format("{0}", q)), t.writeAttributeString("w:type", "dxa"), t.writeEndElement()), $ > 0 && (t.writeStartElement("w:right"), t.writeAttributeString("w:w", i.format("{0}", $)), t.writeAttributeString("w:type", "dxa"), t.writeEndElement()), t.writeEndElement()) } var et = ""; switch (k.cellStyle.vertAlignment) { case p.Center: et = "center"; break; case p.Bottom: et = "bottom"; break } "" != et && (t.writeStartElement("w:vAlign"), t.writeAttributeString("w:val", et), t.writeEndElement()), this.writeBorders(t, k.top, k.left, k.height + 1, k.width + 1), k.component.isExportAsImage(e.StiExportFormat.Word2007) || (t.writeStartElement("w:shd"), t.writeAttributeString("w:val", "clear"), t.writeAttributeString("w:color", "auto"), t.writeAttributeString("w:fill", this.getColorString(k.cellStyle.color)), t.writeEndElement()), t.writeEndElement(); var rt = this.restrictEditing == r.StiWord2007RestrictEditing.ExceptEditableFields && null != k.component && k.component.stimulsoft.is(d) && k.component.editable; rt && (t.writeStartElement("w:permStart"), t.writeAttributeString("w:id", "0"), t.writeEndElement()); var it = !0; if (Q) { var nt = { ref: it }; this.writeCellContent(t, k, nt, b, S, g, y), it = nt.ref } it && (t.writeStartElement("w:p"), t.writeFullEndElement()), rt && (t.writeStartElement("w:permEnd"), t.writeAttributeString("w:id", "0"), t.writeEndElement()) } else { var ot = null , at = { ref: ot } , st = this.renderBorder2TableGetValues(b, S, at) , lt = 0; if (0 == (st & m.Right)) { while (S + lt + 1 < u && null == this.matrix.cells[b - 1][S + lt + 1 - 1] && 0 == B[b][S + lt + 1] && 0 == T[b][S + lt + 1]) { var ut = null , ct = { ref: ut } , mt = this.renderBorder2TableGetValues(b, S + lt + 1, ct); if ((mt & m.Left) > 0) break; if ((mt & (m.Top | m.Bottom)) != (st & (m.Top | m.Bottom))) break; if (ot != ut) break; if (lt++, (mt & m.Right) > 0) break } if (lt > 0) for (var J = 1; J <= lt; J++) B[b][S + J] = !0 } t.writeStartElement("w:tcPr"); var W = g[S + lt] - g[S - 1]; t.writeStartElement("w:tcW"), t.writeAttributeString("w:w", i.format("{0}", W)), t.writeAttributeString("w:type", "dxa"), t.writeEndElement(), lt > 0 && (t.writeStartElement("w:gridSpan"), t.writeAttributeString("w:val", i.format("{0}", lt + 1)), t.writeEndElement()), this.writeBorders(t, b - 1, S - 1, 1, lt + 1), t.writeEndElement(), t.writeStartElement("w:p"), t.writeFullEndElement() } t.writeFullEndElement() } } if (G >= 64) break } x && t.writeFullEndElement(); try { for (var pt = (s = void 0, __values(D)), ht = pt.next(); !ht.done; ht = pt.next()) { var dt = ht.value; C && t.writeEndElement(), C = !1, E = dt.height; var gt = !1 , ft = { ref: gt }; this.writeCellContent(t, dt, ft, dt.top + 1, dt.left + 1, g, y), gt = ft.ref } } catch (t) { s = { error: t } } finally { try { ht && !ht.done && (l = pt.return) && l.call(pt) } finally { if (s) throw s.error } } } C && t.writeEndElement() } , N.prototype.writeCellContent = function(t, r, n, o, a, s, l) { var u, c, m, p, g = n.ref, A = null, w = -1, v = this.matrix.bookmarks[o - 1][a - 1]; null == v || this.bookmarkList.containsKey(v) || (w = this.bookmarkList.count, A = this.convertStringToBookmark(v), this.bookmarkList.set(v, w)); var C = null , E = -1; if (null != r.component && null != r.component.hyperlinkValue) { var T = r.component.hyperlinkValue.toString().trim(); T.length > 0 && !T.stimulsoft.startsWith("javascript:") && (T.stimulsoft.startsWith("#") ? C = this.convertStringToBookmark(T.substr(1)) : (C = this.stringToUrl(T), this.hyperlinkList.containsKey(C) ? E = Math.trunc(this.hyperlinkList.get(C)) : (E = this.hyperlinkList.count, this.hyperlinkList.add(C, E)))) } if (!r.component.stimulsoft.is(d) || r.component.isExportAsImage(e.StiExportFormat.Word2007) || r.component.checkAllowHtmlTags()) if (r.component.stimulsoft.is(h) && !StiOptions.Export.Word.renderRichTextAsImage) var x = r.component; else if (r.component.stimulsoft.is(d) && r.component.checkAllowHtmlTags() && !StiOptions.Export.Word.renderHtmlTagsAsImage) i.isNullOrWhiteSpace(r.text) || this.writeHtmlTags(t, r); else if (r.component.isExportAsImage(e.StiExportFormat.Word2007)) { var F = r.component.stimulsoft.as(D); if (null != F) { var R = this.imageResolution , P = { ref: R } , N = F.getImage(P); if (R = P.ref, null != N) { var k = this.matrix.getRealImageData(r, N); g = !1; var M = 0; M = null != k ? this.imageCache.addImageIntRaw(k, k.imageFormat) : this.imageCache.addImageIntRaw(N, N.imageFormat); var O = -1 , _ = -1; t.writeStartElement("w:p"), t.writeStartElement("w:pPr"); var L = r.cellStyle.horAlignment , j = !1; if (null != r.cellStyle.textOptions && (j = r.cellStyle.textOptions.rightToLeft), null == r.component.stimulsoft.as(b)) var H = r.component.stimulsoft.as(I); var G = ""; (L == B.Left && 1 == j || L == B.Right && 0 == j) && (G = "right"), L == B.Center && (G = "center"), L == B.Width && (G = "both"), "" != G && (t.writeStartElement("w:jc"), t.writeAttributeString("w:val", G), t.writeEndElement()), t.writeEndElement(), -1 != w && (t.writeStartElement("w:bookmarkStart"), t.writeAttributeString("w:id", w.toString()), t.writeAttributeString("w:name", A), t.writeEndElement()), t.writeStartElement("w:r"), t.writeStartElement("w:rPr"), t.writeElementString("w:noProof", ""), t.writeEndElement(), t.writeStartElement("w:drawing"), t.writeStartElement("wp:inline"), t.writeAttributeString("distT", "0"), t.writeAttributeString("distB", "0"), t.writeAttributeString("distL", "0"), t.writeAttributeString("distR", "0"); var Q = l[o - 1 + r.height + 1] - l[o - 1] , Y = s[a - 1 + r.width + 1] - s[a - 1]; -1 != O && (Y = O, Q = _), t.writeStartElement("wp:extent"), t.writeAttributeString("cx", i.format("{0}", this.convertTwipsToEmu(Y))), t.writeAttributeString("cy", i.format("{0}", this.convertTwipsToEmu(Q))), t.writeEndElement(), t.writeStartElement("wp:effectExtent"), t.writeAttributeString("l", "0"), t.writeAttributeString("t", "0"), t.writeAttributeString("r", "0"), t.writeAttributeString("b", "0"), t.writeEndElement(), t.writeStartElement("wp:docPr"), t.writeAttributeString("id", i.format("{0}", M + 2)), t.writeAttributeString("name", i.format("Picture {0}", M + 1)), t.writeAttributeString("descr", i.format("Image{0:D5}.jpg", M + 1)), null != C && (-1 == E && (C = "#" + C, this.hyperlinkList.containsKey(C) ? E = this.hyperlinkList.get(C) : (E = this.hyperlinkList.count, this.hyperlinkList.add(C, E))), t.writeStartElement("a:hlinkClick"), t.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), t.writeAttributeString("r:id", i.format("hId{0}", E)), t.writeEndElement()), t.writeEndElement(), t.writeStartElement("wp:cNvGraphicFramePr"), t.writeStartElement("a:graphicFrameLocks"), t.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), t.writeAttributeString("noChangeAspect", "1"), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("a:graphic"), t.writeAttributeString("xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"), t.writeStartElement("a:graphicData"), t.writeAttributeString("uri", "http://schemas.openxmlformats.org/drawingml/2006/picture"), t.writeStartElement("pic:pic"), t.writeAttributeString("xmlns:pic", "http://schemas.openxmlformats.org/drawingml/2006/picture"), t.writeStartElement("pic:nvPicPr"), t.writeStartElement("pic:cNvPr"), t.writeAttributeString("id", "0"), t.writeAttributeString("name", i.format("Image{0:D5}.jpg", M + 1)), t.writeEndElement(), t.writeStartElement("pic:cNvPicPr"), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("pic:blipFill"), t.writeStartElement("a:blip"), t.writeAttributeString("r:embed", i.format("rId{0}", 5 + M)), t.writeAttributeString("cstate", "print"), t.writeEndElement(), t.writeStartElement("a:stretch"), t.writeStartElement("a:fillRect"), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("pic:spPr"), t.writeStartElement("a:xfrm"), t.writeStartElement("a:off"), t.writeAttributeString("x", "0"), t.writeAttributeString("y", "0"), t.writeEndElement(), t.writeStartElement("a:ext"), t.writeAttributeString("cx", i.format("{0}", this.convertTwipsToEmu(Y))), t.writeAttributeString("cy", i.format("{0}", this.convertTwipsToEmu(Q))), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("a:prstGeom"), t.writeAttributeString("prst", "rect"), t.writeStartElement("a:avLst"), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), t.writeEndElement(), -1 != w && (t.writeStartElement("w:bookmarkEnd"), t.writeAttributeString("w:id", w.toString()), t.writeEndElement()), t.writeEndElement() } } } else -1 != w && (t.writeStartElement("w:bookmarkStart"), t.writeAttributeString("w:id", w.toString()), t.writeAttributeString("w:name", A), t.writeEndElement(), t.writeStartElement("w:bookmarkEnd"), t.writeAttributeString("w:id", w.toString()), t.writeEndElement()); else { var U = new S(r.text); if (this.usePageHeadersAndFooters) { var J = r.component.tagValue; i.isNullOrEmpty(J) || -1 != J.toLowerCase().indexOf("rtfnewpage") || -1 == J.indexOf("#PageNumber#") && -1 == J.indexOf("#TotalPageCount#") && -1 == J.indexOf("#PageRef") || (U = new S(J)) } var W = [] , V = ""; try { for (var z = __values(U.toString().split("")), X = z.next(); !X.done; X = z.next()) { var K = X.value; f.isControl(K) && "\t" != K ? "\n" == K && (W.add(V), V = "") : V += K } } catch (t) { u = { error: t } } finally { try { X && !X.done && (c = z.return) && c.call(z) } finally { if (u) throw u.error } } "" != V && W.add(V), 0 == W.length && W.add(V), W.length > 0 && (g = !1); for (var Z = this.getStyleFromComponent(r.component), q = 0; q < W.length; q++) { var $ = W[q]; t.writeStartElement("w:p"), t.writeStartElement("w:pPr"); var tt = r.component.stimulsoft.as(d).lineSpacing; if (null != this.lineSpace || 1 != tt) { var et = this.lineSpace; 1 != tt && (et = Math.round2(240 * StiOptions.Export.Word.lineSpacing * tt).toString()); var rt = r.component.stimulsoft.as(y); null != rt && null != rt.font && this.checkFontsToCorrectHeight(rt.font.name) && (et = this.lineSpace2, 1 != tt && (et = Math.round2(240 * StiOptions.Export.Word.lineSpacing * .772 * tt).toString())), t.writeStartElement("w:spacing"), t.writeAttributeString("w:line", et), t.writeEndElement() } -1 != Z && (t.writeStartElement("w:pStyle"), t.writeAttributeString("w:val", i.format("Style{0}", Z)), t.writeEndElement()); var L = r.cellStyle.horAlignment , j = !1; null != r.cellStyle.textOptions && (j = r.cellStyle.textOptions.rightToLeft); var G = ""; if ((L == B.Left && 1 == j || L == B.Right && 0 == j) && (G = "right"), L == B.Center && (G = "center"), L == B.Width && (G = "both"), "" != G && (t.writeStartElement("w:jc"), t.writeAttributeString("w:val", G), t.writeEndElement()), -1 == Z && this.writeRunProperties(t, r), t.writeEndElement(), null != C && (t.writeStartElement("w:hyperlink"), -1 == E ? t.writeAttributeString("w:anchor", C) : t.writeAttributeString("r:id", i.format("hId{0}", E))), -1 != w && (t.writeStartElement("w:bookmarkStart"), t.writeAttributeString("w:id", w.toString()), t.writeAttributeString("w:name", A), t.writeEndElement()), "" != $) if (this.usePageHeadersAndFooters) { $ = $.stimulsoft.replaceAll("#PageNumber#", "").stimulsoft.replaceAll("#TotalPageCount#", ""); var it = [] , nt = new S; try { for (var ot = (m = void 0, __values($.split(""))), at = ot.next(); !at.done; at = ot.next()) { var K = at.value; "" == K || "" == K ? (nt.length > 0 && it.add(nt.toString()), it.add(K.toString()), nt = new S) : nt.append(K) } } catch (t) { m = { error: t } } finally { try { at && !at.done && (p = ot.return) && p.call(ot) } finally { if (m) throw m.error } } nt.length > 0 && it.add(nt.toString()), 0 == it.length && it.add($); for (var st = 0; st < it.length; st++) { var lt = it[st]; if (lt.length > 0 && ("" == lt[0] || "" == lt[0])) { switch (t.writeStartElement("w:r"), -1 == Z && this.writeRunProperties(t, r), t.writeStartElement("w:fldChar"), t.writeAttributeString("w:fldCharType", "begin"), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("w:r"), this.writeRunProperties(t, r), t.writeStartElement("w:instrText"), lt.charAt(0)) { case "": t.writeString("PAGE"); break; case "": t.writeString("NUMPAGES"); break } t.writeEndElement(), t.writeEndElement(), t.writeStartElement("w:r"), this.writeRunProperties(t, r), t.writeStartElement("w:fldChar"), t.writeAttributeString("w:fldCharType", "end"), t.writeEndElement(), t.writeEndElement() } else t.writeStartElement("w:r"), -1 == Z && this.writeRunProperties(t, r), t.writeStartElement("w:t"), t.writeAttributeString("xml:space", "preserve"), t.writeString(lt), t.writeEndElement(), t.writeEndElement() } } else t.writeStartElement("w:r"), -1 == Z && this.writeRunProperties(t, r), t.writeStartElement("w:t"), t.writeAttributeString("xml:space", "preserve"), t.writeString($), t.writeEndElement(), t.writeEndElement(); -1 != w && (t.writeStartElement("w:bookmarkEnd"), t.writeAttributeString("w:id", w.toString()), t.writeEndElement()), null != C && t.writeEndElement(), t.writeEndElement() } } n.ref = g } , N.prototype.writeTableInfo = function(t, e, r) { t.writeStartElement("w:tblPr"), t.writeStartElement("w:tblStyle"), t.writeAttributeString("w:val", "a1"), t.writeEndElement(), t.writeStartElement("w:tblW"), t.writeAttributeString("w:w", "0"), t.writeAttributeString("w:type", "dxa"), t.writeEndElement(), t.writeStartElement("w:tblLayout"), t.writeAttributeString("w:type", "fixed"), t.writeEndElement(), t.writeStartElement("w:tblCellMar"), t.writeStartElement("w:top"), t.writeAttributeString("w:w", "0"), t.writeAttributeString("w:type", "dxa"), t.writeEndElement(), t.writeStartElement("w:left"), t.writeAttributeString("w:w", "0"), t.writeAttributeString("w:type", "dxa"), t.writeEndElement(), t.writeStartElement("w:bottom"), t.writeAttributeString("w:w", "0"), t.writeAttributeString("w:type", "dxa"), t.writeEndElement(), t.writeStartElement("w:right"), t.writeAttributeString("w:w", "0"), t.writeAttributeString("w:type", "dxa"), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("w:tblLook"), t.writeAttributeString("w:val", "04A0"), t.writeEndElement(), t.writeEndElement(), t.writeStartElement("w:tblGrid"); for (var n = 1; n < r; n++) { var o = e[n] - e[n - 1]; t.writeStartElement("w:gridCol"), t.writeAttributeString("w:w", i.format("{0}", o)), t.writeEndElement() } t.writeFullEndElement() } , N.prototype.writeHtmlTags = function(e, r) { var i = r.component , n = r.text , o = new x(i.font.bold,i.font.italic,i.font.underline,i.font.strikeout,i.font.sizeInPoints,i.font.name,A.toColor(i.textBrush),A.toColor(i.brush),!1,!1,0,0,i.lineSpacing,i.horAlignment) , a = new F(o,0) , s = t.Base.Drawing.StiTextRenderer.parseHtmlToStates(n, a) , l = this.getStyleFromComponent(r.component); this.writeParagraphBegin(e, r, l, s, 0); for (var u = 0; u < s.length; u++) { var c = s[u] , m = c.ts; if ("\n" == c.text.toString() && u < s.countItems - 1) { e.writeEndElement(), this.writeParagraphBegin(e, r, l, s, u + 1); continue } e.writeStartElement("w:r"), e.writeStartElement("w:rPr"), m.bold && (e.writeStartElement("w:b"), e.writeEndElement()), m.italic && (e.writeStartElement("w:i"), e.writeEndElement()), m.underline && (e.writeStartElement("w:u"), e.writeAttributeString("w:val", "single"), e.writeEndElement()), m.strikeout && (e.writeStartElement("w:strike"), e.writeEndElement()), m.superscript && (e.writeStartElement("w:vertAlign"), e.writeAttributeString("w:val", "superscript"), e.writeEndElement()), m.subsript && (e.writeStartElement("w:vertAlign"), e.writeAttributeString("w:val", "subscript"), e.writeEndElement()), m.fontColor.toArgb() != o.fontColor.toArgb() && (e.writeStartElement("w:color"), e.writeAttributeString("w:val", this.getColorString(m.fontColor)), e.writeEndElement()), m.backColor.toArgb() != o.backColor.toArgb() && (e.writeStartElement("w:shd"), e.writeAttributeString("w:val", "clear"), e.writeAttributeString("w:color", "auto"), e.writeAttributeString("w:fill", this.getColorString(m.backColor)), e.writeEndElement()), e.writeStartElement("w:sz"), e.writeAttributeString("w:val", (2 * m.fontSize).toString()), e.writeEndElement(), e.writeStartElement("w:szCs"), e.writeAttributeString("w:val", (2 * m.fontSize).toString()), e.writeEndElement(), e.writeStartElement("w:rFonts"); var p = m.fontName; this.fontList.set(p, p), e.writeAttributeString("w:ascii", p), e.writeAttributeString("w:hAnsi", p), e.writeAttributeString("w:eastAsia", p), e.writeAttributeString("w:cs", p), e.writeEndElement(); var h = m.letterSpacing * m.fontSize * 18.8 + StiOptions.Export.Word.spaceBetweenCharacters; 0 != h && (e.writeStartElement("w:spacing"), e.writeAttributeString("w:val", h.toString()), e.writeEndElement()), null != r.cellStyle.textOptions && r.cellStyle.textOptions.rightToLeft && (e.writeStartElement("w:rtl"), e.writeEndElement()), e.writeEndElement(), e.writeStartElement("w:t"), e.writeAttributeString("xml:space", "preserve"), e.writeString(t.Base.Drawing.StiTextRenderer.prepareStateText(c.text).toString()), e.writeEndElement(), e.writeEndElement() } e.writeEndElement() } , N.prototype.writeParagraphBegin = function(t, e, r, n, o) { t.writeStartElement("w:p"), t.writeStartElement("w:pPr"), -1 != r ? (t.writeStartElement("w:pStyle"), t.writeAttributeString("w:val", i.format("Style{0}", r)), t.writeEndElement()) : this.writeRunProperties(t, e); var a = n[o]; if ("\n" != a.text.toString()) { var s = o + 1; while (s < n.length && "\n" != n[s].text.toString()) a = n[s], s++ } var l = StiOptions.Export.Word.lineSpacing * a.ts.lineHeight; this.checkFontsToCorrectHeight(a.ts.fontName) && (l *= .772), 1 != l && (t.writeStartElement("w:spacing"), t.writeAttributeString("w:line", Math.round2(240 * l).toString()), t.writeEndElement()); var u = null; a.ts.textAlign == B.Center && (u = "center"), a.ts.textAlign == B.Right && (u = "right"), a.ts.textAlign == B.Width && (u = "both"), null != u && (t.writeStartElement("w:jc"), t.writeAttributeString("w:val", u), t.writeEndElement()), t.writeEndElement() } , N.prototype.writeRunProperties = function(t, e) { t.writeStartElement("w:rPr"), t.writeStartElement("w:rFonts"); var r = e.cellStyle.font.name; this.fontList.set(r, r), t.writeAttributeString("w:ascii", r), t.writeAttributeString("w:hAnsi", r), t.writeAttributeString("w:eastAsia", r), t.writeAttributeString("w:cs", r), t.writeEndElement(), e.cellStyle.font.bold && (t.writeStartElement("w:b"), t.writeEndElement()), e.cellStyle.font.italic && (t.writeStartElement("w:i"), t.writeEndElement()), e.cellStyle.font.underline && (t.writeStartElement("w:u"), t.writeAttributeString("w:val", "single"), t.writeEndElement()), t.writeStartElement("w:color"), t.writeAttributeString("w:val", this.getColorString(e.cellStyle.textColor)), t.writeEndElement(), t.writeStartElement("w:sz"), t.writeAttributeString("w:val", i.format("{0}", 2 * e.cellStyle.font.sizeInPoints)), t.writeEndElement(), 0 != StiOptions.Export.Word.spaceBetweenCharacters && (t.writeStartElement("w:spacing"), t.writeAttributeString("w:val", i.format("{0}", StiOptions.Export.Word.spaceBetweenCharacters)), t.writeEndElement()), null != e.cellStyle.textOptions && e.cellStyle.textOptions.rightToLeft && (e.cellStyle.font.bold && (t.writeStartElement("w:bCs"), t.writeEndElement()), e.cellStyle.font.italic && (t.writeStartElement("w:iCs"), t.writeEndElement()), t.writeStartElement("w:szCs"), t.writeAttributeString("w:val", i.format("{0}", 2 * e.cellStyle.font.sizeInPoints)), t.writeEndElement(), t.writeStartElement("w:rtl"), t.writeEndElement()), t.writeEndElement() } , N.prototype.renderBorder2TableGetValues = function(t, e, r) { var i = r.ref , n = m.None , o = new S; return null != this.matrix.bordersY[t - 1][e - 1] && (n |= m.Left), null != this.matrix.bordersY[t - 1][e - 1 + 1] && (n |= m.Right), null != this.matrix.bordersX[t - 1][e - 1] && (o.append("\\t" + this.getLineStyle2TableGetValues(this.matrix.bordersX[t - 1][e - 1])), n |= m.Top), null != this.matrix.bordersX[t - 1 + 1][e - 1] && (o.append("\\b" + this.getLineStyle2TableGetValues(this.matrix.bordersX[t - 1 + 1][e - 1])), n |= m.Bottom), i = o.toString(), r.ref = i, n } , N.prototype.getLineStyle2TableGetValues = function(t) { var e = new S; return e.append(this.getLineStyle(t.style)), e.append(Math.trunc(15 * t.size)), e.append(i.format("c{0}", this.getColorString(t.color))), e.toString() } , N.prototype.writeDocument = function(t, e, i) { var a = new l , s = new g(o.UTF8,a); s.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, s.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, s.writeStartDocument(), s.writeStartElement("w:document"), s.writeAttributeString("xmlns:ve", "http://schemas.openxmlformats.org/markup-compatibility/2006"), s.writeAttributeString("xmlns:o", "urn:schemas-microsoft-com:office:office"), s.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), s.writeAttributeString("xmlns:m", "http://schemas.openxmlformats.org/officeDocument/2006/math"), s.writeAttributeString("xmlns:v", "urn:schemas-microsoft-com:vml"), s.writeAttributeString("xmlns:wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"), s.writeAttributeString("xmlns:w10", "urn:schemas-microsoft-com:office:word"), s.writeAttributeString("xmlns:w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"), s.writeAttributeString("xmlns:wne", "http://schemas.microsoft.com/office/word/2006/wordml"), s.writeStartElement("w:body"); var u = t; t = null; var m = 0 , p = 0; while (m < u.count) { t = new c(e,u), t.cacheMode = e.renderedPages.cacheMode, t.addV2Internal(u.getPageWithoutCache(m)); var h = u.getPageWithoutCache(m).excelSheetValue; while (m < u.count - 1 && this.compareExcellSheetNames(u.getPageWithoutCache(m + 1).excelSheetValue, h) && u.getPageWithoutCache(m + 1).orientation == u.getPageWithoutCache(m).orientation) m++, t.addV2Internal(u.getPageWithoutCache(m)); var d = t.getByIndex(0); if (null != d) { if (t.getPage(d), this.usePageHeadersAndFooters) { var f = new c(e,e.renderedPages); f.cacheMode = e.renderedPages.cacheMode, f.add(t.getByIndex(0)), this._matrix = new r.StiMatrix(f,StiOptions.Export.Word.divideBigCells,this), this.matrix.scanComponentsPlacement(!1); var S = 0 , A = 0 , y = !1; A = this.matrix.coordY.countItems - 1 - 1; while (A > 0 && this.matrix.linePlacement[A] != r.StiTableLineInfo.PageHeader) A--; if (A >= 0 && this.matrix.linePlacement[A] == r.StiTableLineInfo.PageHeader) { S = 0; while (this.matrix.linePlacement[S] != r.StiTableLineInfo.PageHeader) S++; y = !0 } this.headersData.add(this.writeHeader(S, A, y)), this.imageCache.imagePackedStore.length > 0 ? this.headersRels.add(this.writeHeaderFooterRels()) : this.headersRels.add(null); var w = !1; S = 0; while (this.matrix.linePlacement[S] != r.StiTableLineInfo.PageFooter && S < this.matrix.coordY.countItems - 1 - 1) S++; if (this.matrix.linePlacement[S] == r.StiTableLineInfo.PageFooter) { A = this.matrix.coordY.countItems - 1 - 1; while (this.matrix.linePlacement[A] != r.StiTableLineInfo.PageFooter) A--; w = !0 } this.footersData.add(this.writeFooter(S, A, w)), this.imageCache.imagePackedStore.length > 0 ? this.footersRels.add(this.writeHeaderFooterRels()) : this.footersRels.add(null), this._matrix = new r.StiMatrix(t,StiOptions.Export.Word.divideBigCells,this), this.matrix.scanComponentsPlacement(!0), A = this.matrix.coordY.countItems - 1 - 1, this.writeFromMatrix(s, 0, A, !1) } else this._matrix = new r.StiMatrix(t,StiOptions.Export.Word.divideBigCells,this), this.writeFromMatrix(s, 0, this.matrix.coordY.countItems - 1 - 1, !0); m < u.count - 1 && (s.writeStartElement("w:p"), s.writeStartElement("w:pPr"), this.writePageInfo(s, t.getByIndex(0), p), s.writeEndElement(), s.writeEndElement()) } m++, p++ } return t.count > 0 && this.writePageInfo(s, t.getByIndex(0), p - 1), s.writeFullEndElement(), s.writeFullEndElement(), s.writeEndDocument(), s.flush(), a } , N.prototype.compareExcellSheetNames = function(t, e) { var r = t; i.isNullOrEmpty(r) && (r = ""); var n = e; return i.isNullOrEmpty(n) && (n = ""), r == n } , N.prototype.writePageInfo = function(e, r, n) { var o = this.convertHiToTwips(r.unit.convertToHInches(r.pageHeight * (this.usePageHeadersAndFooters ? 1 : r.segmentPerHeight))) , a = this.convertHiToTwips(r.unit.convertToHInches(r.pageWidth * (this.usePageHeadersAndFooters ? 1 : r.segmentPerWidth))) , s = this.convertHiToTwips(r.unit.convertToHInches(r.margins.left)) , l = this.convertHiToTwips(r.unit.convertToHInches(r.margins.right)) , c = this.convertHiToTwips(r.unit.convertToHInches(r.margins.top)) , m = this.convertHiToTwips(r.unit.convertToHInches(r.margins.bottom)) - StiOptions.Export.Word.bottomMarginCorrection; m < 0 && (m = 0), a > 31500 && (a = 31500), o > 31500 && (o = 31500), e.writeStartElement("w:sectPr"), this.usePageHeadersAndFooters ? (e.writeStartElement("w:headerReference"), e.writeAttributeString("w:type", "default"), e.writeAttributeString("r:id", i.format("rIdh{0}", n + 1)), e.writeEndElement(), e.writeStartElement("w:footerReference"), e.writeAttributeString("w:type", "default"), e.writeAttributeString("r:id", i.format("rIdf{0}", n + 1)), e.writeEndElement()) : t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion || (e.writeStartElement("w:headerReference"), e.writeAttributeString("w:type", "default"), e.writeAttributeString("r:id", "rIdh1"), e.writeEndElement()), e.writeStartElement("w:pgSz"), e.writeAttributeString("w:w", i.format("{0}", a)), e.writeAttributeString("w:h", i.format("{0}", o)), r.orientation == u.Landscape && e.writeAttributeString("w:orient", "landscape"), e.writeEndElement(), e.writeStartElement("w:pgMar"), e.writeAttributeString("w:top", i.format("{0}", c)), e.writeAttributeString("w:right", i.format("{0}", l)), e.writeAttributeString("w:bottom", i.format("{0}", m)), e.writeAttributeString("w:left", i.format("{0}", s)), e.writeAttributeString("w:header", i.format("{0}", c)), e.writeAttributeString("w:footer", i.format("{0}", m)), e.writeAttributeString("w:gutter", "0"), e.writeEndElement(), e.writeEndElement() } , N.prototype.writeBorders = function(t, e, r, i, n) { for (var o = !0, a = !0, s = 0; s < i; s++) null == this.matrix.bordersY[e + s][r] && (o = !1), null == this.matrix.bordersY[e + s][r + n] && (a = !1); for (var l = !0, u = !0, s = 0; s < n; s++) null == this.matrix.bordersX[e][r + s] && (l = !1), null == this.matrix.bordersX[e + i][r + s] && (u = !1); (l || o || u || a) && (t.writeStartElement("w:tcBorders"), l && this.writeBorderData(t, "w:top", this.matrix.bordersX[e][r]), o && this.writeBorderData(t, "w:left", this.matrix.bordersY[e][r]), u && this.writeBorderData(t, "w:bottom", this.matrix.bordersX[e + i][r]), a && this.writeBorderData(t, "w:right", this.matrix.bordersY[e][r + n]), t.writeEndElement()) } , N.prototype.writeBorderData = function(t, e, r) { if (null != r) { var n = this.getLineStyle(r.style); "" != n && (t.writeStartElement(e), t.writeAttributeString("w:val", n), t.writeAttributeString("w:sz", i.format("{0}", Math.trunc(5 * r.size))), t.writeAttributeString("w:space", "0"), t.writeAttributeString("w:color", this.getColorString(r.color)), t.writeEndElement()) } } , N.prototype.writeFootNotes = function() { var t = new l , e = new g(o.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, e.writeStartDocument(), e.writeStartElement("w:footnotes"), e.writeAttributeString("xmlns:ve", "http://schemas.openxmlformats.org/markup-compatibility/2006"), e.writeAttributeString("xmlns:o", "urn:schemas-microsoft-com:office:office"), e.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), e.writeAttributeString("xmlns:m", "http://schemas.openxmlformats.org/officeDocument/2006/math"), e.writeAttributeString("xmlns:v", "urn:schemas-microsoft-com:vml"), e.writeAttributeString("xmlns:wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"), e.writeAttributeString("xmlns:w10", "urn:schemas-microsoft-com:office:word"), e.writeAttributeString("xmlns:w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"), e.writeAttributeString("xmlns:wne", "http://schemas.microsoft.com/office/word/2006/wordml"), e.writeStartElement("w:footnote"), e.writeAttributeString("w:type", "separator"), e.writeAttributeString("w:id", "0"), e.writeStartElement("w:p"), e.writeStartElement("w:r"), e.writeStartElement("w:separator"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("w:footnote"), e.writeAttributeString("w:type", "continuationSeparator"), e.writeAttributeString("w:id", "1"), e.writeStartElement("w:p"), e.writeStartElement("w:r"), e.writeStartElement("w:continuationSeparator"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , N.prototype.writeEndNotes = function() { var t = new l , e = new g(o.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, e.writeStartDocument(), e.writeStartElement("w:endnotes"), e.writeAttributeString("xmlns:ve", "http://schemas.openxmlformats.org/markup-compatibility/2006"), e.writeAttributeString("xmlns:o", "urn:schemas-microsoft-com:office:office"), e.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), e.writeAttributeString("xmlns:m", "http://schemas.openxmlformats.org/officeDocument/2006/math"), e.writeAttributeString("xmlns:v", "urn:schemas-microsoft-com:vml"), e.writeAttributeString("xmlns:wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"), e.writeAttributeString("xmlns:w10", "urn:schemas-microsoft-com:office:word"), e.writeAttributeString("xmlns:w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"), e.writeAttributeString("xmlns:wne", "http://schemas.microsoft.com/office/word/2006/wordml"), e.writeStartElement("w:endnote"), e.writeAttributeString("w:type", "separator"), e.writeAttributeString("w:id", "0"), e.writeStartElement("w:p"), e.writeStartElement("w:r"), e.writeStartElement("w:separator"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeFullEndElement(), e.writeStartElement("w:endnote"), e.writeAttributeString("w:type", "continuationSeparator"), e.writeAttributeString("w:id", "1"), e.writeStartElement("w:p"), e.writeStartElement("w:r"), e.writeStartElement("w:continuationSeparator"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , N.prototype.writeHeader = function(t, e, r) { var i = new l , a = new g(o.UTF8,i); return a.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, a.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, a.writeStartDocument(), a.writeStartElement("w:hdr"), a.writeAttributeString("xmlns:ve", "http://schemas.openxmlformats.org/markup-compatibility/2006"), a.writeAttributeString("xmlns:o", "urn:schemas-microsoft-com:office:office"), a.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), a.writeAttributeString("xmlns:m", "http://schemas.openxmlformats.org/officeDocument/2006/math"), a.writeAttributeString("xmlns:v", "urn:schemas-microsoft-com:vml"), a.writeAttributeString("xmlns:wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"), a.writeAttributeString("xmlns:w10", "urn:schemas-microsoft-com:office:word"), a.writeAttributeString("xmlns:w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"), a.writeAttributeString("xmlns:wne", "http://schemas.microsoft.com/office/word/2006/wordml"), r ? this.writeFromMatrix(a, t, e, !0) : (a.writeStartElement("w:p"), a.writeStartElement("w:r"), a.writeStartElement("w:cr"), a.writeEndElement(), a.writeEndElement(), a.writeEndElement()), a.writeFullEndElement(), a.writeEndDocument(), a.flush(), i } , N.prototype.writeFooter = function(t, e, r) { var i = new l , a = new g(o.UTF8,i); return a.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, a.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, a.writeStartDocument(), a.writeStartElement("w:ftr"), a.writeAttributeString("xmlns:ve", "http://schemas.openxmlformats.org/markup-compatibility/2006"), a.writeAttributeString("xmlns:o", "urn:schemas-microsoft-com:office:office"), a.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), a.writeAttributeString("xmlns:m", "http://schemas.openxmlformats.org/officeDocument/2006/math"), a.writeAttributeString("xmlns:v", "urn:schemas-microsoft-com:vml"), a.writeAttributeString("xmlns:wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"), a.writeAttributeString("xmlns:w10", "urn:schemas-microsoft-com:office:word"), a.writeAttributeString("xmlns:w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"), a.writeAttributeString("xmlns:wne", "http://schemas.microsoft.com/office/word/2006/wordml"), r ? this.writeFromMatrix(a, t, e, !0) : (a.writeStartElement("w:p"), a.writeStartElement("w:r"), a.writeStartElement("w:cr"), a.writeEndElement(), a.writeEndElement(), a.writeEndElement()), a.writeFullEndElement(), a.writeEndDocument(), a.flush(), i } , N.prototype.writeContentTypes = function() { var e = new l , r = new g(o.UTF8,e); if (r.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, r.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, r.writeStartDocument(), r.writeStartElement("Types"), r.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/content-types"), r.writeStartElement("Default"), r.writeAttributeString("Extension", "rels"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-package.relationships+xml"), r.writeEndElement(), r.writeStartElement("Default"), r.writeAttributeString("Extension", "xml"), r.writeAttributeString("ContentType", "application/xml"), r.writeEndElement(), r.writeStartElement("Default"), r.writeAttributeString("Extension", "jpeg"), r.writeAttributeString("ContentType", "image/jpeg"), r.writeEndElement(), r.writeStartElement("Default"), r.writeAttributeString("Extension", "emf"), r.writeAttributeString("ContentType", "image/x-emf"), r.writeEndElement(), r.writeStartElement("Default"), r.writeAttributeString("Extension", "rtf"), r.writeAttributeString("ContentType", "application/rtf"), r.writeEndElement(), r.writeStartElement("Default"), r.writeAttributeString("Extension", "png"), r.writeAttributeString("ContentType", "image/png"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/docProps/app.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.extended-properties+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/docProps/core.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-package.core-properties+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/word/document.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/word/styles.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/word/settings.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/word/webSettings.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/word/fontTable.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"), r.writeEndElement(), this.usePageHeadersAndFooters) { r.writeStartElement("Override"), r.writeAttributeString("PartName", "/word/footnotes.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/word/endnotes.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml"), r.writeEndElement(); for (var a = 0; a < this.headersData.length; a++) r.writeStartElement("Override"), r.writeAttributeString("PartName", i.format("/word/footer{0}.xml", a + 1)), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", i.format("/word/header{0}.xml", a + 1)), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml"), r.writeEndElement() } else t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion || (r.writeStartElement("Override"), r.writeAttributeString("PartName", "/word/footnotes.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/word/endnotes.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml"), r.writeEndElement(), r.writeStartElement("Override"), r.writeAttributeString("PartName", "/word/headerAdditional.xml"), r.writeAttributeString("ContentType", "application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml"), r.writeEndElement()); return r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , N.prototype.writeMainRels = function() { var t = new l , e = new g(o.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, e.writeStartDocument(), e.writeStartElement("Relationships"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"), e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId1"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"), e.writeAttributeString("Target", "word/document.xml"), e.writeEndElement(), e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId2"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"), e.writeAttributeString("Target", "docProps/core.xml"), e.writeEndElement(), e.writeStartElement("Relationship"), e.writeAttributeString("Id", "rId3"), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"), e.writeAttributeString("Target", "docProps/app.xml"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , N.prototype.writeDocPropsApp = function() { var t = new l , e = new g(o.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, e.writeStartDocument(), e.writeStartElement("Properties"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"), e.writeAttributeString("xmlns:vt", "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"), e.writeElementString("Application", "Microsoft Office Word"), e.writeElementString("Company", null == this.docCompanyString ? "" : this.docCompanyString), e.writeElementString("Template", "Normal.dotm"), e.writeElementString("TotalTime", "0"), e.writeElementString("Pages", "1"), e.writeElementString("Words", "1"), e.writeElementString("Characters", "1"), e.writeElementString("DocSecurity", this.restrictEditing == r.StiWord2007RestrictEditing.No ? "0" : "8"), e.writeElementString("Lines", "1"), e.writeElementString("Paragraphs", "1"), e.writeElementString("ScaleCrop", "false"), e.writeElementString("LinksUpToDate", "false"), e.writeElementString("CharactersWithSpaces", "1"), e.writeElementString("SharedDoc", "false"), e.writeElementString("HyperlinksChanged", "false"), e.writeElementString("AppVersion", "12.0000"), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , N.prototype.writeDocPropsCore = function() { var e = new l , r = new g(o.UTF8,e); r.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, r.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, r.writeStartDocument(), r.writeStartElement("cp:coreProperties"), r.writeAttributeString("xmlns:cp", "http://schemas.openxmlformats.org/package/2006/metadata/core-properties"), r.writeAttributeString("xmlns:dc", "http://purl.org/dc/elements/1.1/"), r.writeAttributeString("xmlns:dcterms", "http://purl.org/dc/terms/"), r.writeAttributeString("xmlns:dcmitype", "http://purl.org/dc/dcmitype/"), r.writeAttributeString("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); var s = i.format("{0}{1}", a.now.toString("yyyy-MM-dd"), a.now.toString("THH:mm:ssZ")); return r.writeElementString("dc:title", null == this.report.reportName ? "" : this.report.reportName), r.writeElementString("dc:subject", null == this.report.reportAlias ? "" : this.report.reportAlias), r.writeElementString("dc:creator", null == this.report.reportAuthor ? "" : this.report.reportAuthor), r.writeElementString("cp:keywords", ""), r.writeElementString("dc:description", null == this.report.reportDescription ? "" : this.report.reportDescription), r.writeElementString("cp:lastModifiedBy", null == this.docLastModifiedString ? "" : this.docLastModifiedString), r.writeElementString("cp:revision", "1"), r.writeStartElement("dcterms:created"), r.writeAttributeString("xsi:type", "dcterms:W3CDTF"), r.writeString(s), r.writeEndElement(), r.writeStartElement("dcterms:modified"), r.writeAttributeString("xsi:type", "dcterms:W3CDTF"), r.writeString(s), r.writeEndElement(), r.writeElementString("cp:contentStatus", t.StiVersion.platform()), r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , N.prototype.writeSettings = function() { var t = new l , e = new g(o.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, e.writeStartDocument(), e.writeStartElement("w:settings"), e.writeAttributeString("xmlns:o", "urn:schemas-microsoft-com:office:office"), e.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), e.writeAttributeString("xmlns:m", "http://schemas.openxmlformats.org/officeDocument/2006/math"), e.writeAttributeString("xmlns:v", "urn:schemas-microsoft-com:vml"), e.writeAttributeString("xmlns:w10", "urn:schemas-microsoft-com:office:word"), e.writeAttributeString("xmlns:w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"), e.writeAttributeString("xmlns:sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main"), this.restrictEditing != r.StiWord2007RestrictEditing.No && (e.writeStartElement("w:documentProtection"), e.writeAttributeString("w:edit", "readOnly"), e.writeAttributeString("w:enforcement", "1"), e.writeAttributeString("w:cryptProviderType", "rsaFull"), e.writeAttributeString("w:cryptAlgorithmClass", "hash"), e.writeAttributeString("w:cryptAlgorithmType", "typeAny"), e.writeAttributeString("w:cryptAlgorithmSid", "4"), e.writeAttributeString("w:cryptSpinCount", "50000"), e.writeAttributeString("w:hash", "aw5VYrxGrQVOl7/SJDI9GvbcwaE="), e.writeAttributeString("w:salt", "974T1u8C/8p0OAB+3ev3nQ=="), e.writeEndElement()), e.writeStartElement("w:zoom"), e.writeAttributeString("w:percent", "100"), e.writeEndElement(), e.writeStartElement("w:proofState"), e.writeAttributeString("w:spelling", "clean"), e.writeAttributeString("w:grammar", "clean"), e.writeEndElement(), e.writeStartElement("w:defaultTabStop"), e.writeAttributeString("w:val", "708"), e.writeEndElement(), e.writeStartElement("w:characterSpacingControl"), e.writeAttributeString("w:val", "doNotCompress"), e.writeEndElement(), this.usePageHeadersAndFooters && (e.writeStartElement("w:footnotePr"), e.writeStartElement("w:footnote"), e.writeAttributeString("w:id", "0"), e.writeEndElement(), e.writeStartElement("w:footnote"), e.writeAttributeString("w:id", "1"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("w:endnotePr"), e.writeStartElement("w:endnote"), e.writeAttributeString("w:id", "0"), e.writeEndElement(), e.writeStartElement("w:endnote"), e.writeAttributeString("w:id", "1"), e.writeEndElement(), e.writeEndElement()), e.writeStartElement("w:compat"), e.writeEndElement(), e.writeStartElement("m:mathPr"), e.writeStartElement("m:mathFont"), e.writeAttributeString("m:val", "Cambria Math"), e.writeEndElement(), e.writeStartElement("m:brkBin"), e.writeAttributeString("m:val", "before"), e.writeEndElement(), e.writeStartElement("m:brkBinSub"), e.writeAttributeString("m:val", "--"), e.writeEndElement(), e.writeStartElement("m:smallFrac"), e.writeAttributeString("m:val", "off"), e.writeEndElement(), e.writeStartElement("m:dispDef"), e.writeEndElement(), e.writeStartElement("m:lMargin"), e.writeAttributeString("m:val", "0"), e.writeEndElement(), e.writeStartElement("m:rMargin"), e.writeAttributeString("m:val", "0"), e.writeEndElement(), e.writeStartElement("m:defJc"), e.writeAttributeString("m:val", "centerGroup"), e.writeEndElement(), e.writeStartElement("m:wrapIndent"), e.writeAttributeString("m:val", "1440"), e.writeEndElement(), e.writeStartElement("m:intLim"), e.writeAttributeString("m:val", "subSup"), e.writeEndElement(), e.writeStartElement("m:naryLim"), e.writeAttributeString("m:val", "undOvr"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("w:themeFontLang"), e.writeAttributeString("w:val", "en-EN"), e.writeEndElement(), e.writeStartElement("w:clrSchemeMapping"), e.writeAttributeString("w:bg1", "light1"), e.writeAttributeString("w:t1", "dark1"), e.writeAttributeString("w:bg2", "light2"), e.writeAttributeString("w:t2", "dark2"), e.writeAttributeString("w:accent1", "accent1"), e.writeAttributeString("w:accent2", "accent2"), e.writeAttributeString("w:accent3", "accent3"), e.writeAttributeString("w:accent4", "accent4"), e.writeAttributeString("w:accent5", "accent5"), e.writeAttributeString("w:accent6", "accent6"), e.writeAttributeString("w:hyperlink", "hyperlink"), e.writeAttributeString("w:followedHyperlink", "followedHyperlink"), e.writeEndElement(), e.writeStartElement("w:shapeDefaults"), e.writeStartElement("o:shapedefaults"), e.writeAttributeString("v:ext", "edit"), e.writeAttributeString("spidmax", "2050"), e.writeEndElement(), e.writeStartElement("o:shapelayout"), e.writeAttributeString("v:ext", "edit"), e.writeStartElement("o:idmap"), e.writeAttributeString("v:ext", "edit"), e.writeAttributeString("data", "1"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("w:decimalSymbol"), e.writeAttributeString("w:val", ","), e.writeEndElement(), e.writeStartElement("w:listSeparator"), e.writeAttributeString("w:val", ";"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , N.prototype.writeWebSettings = function() { var t = new l , e = new g(o.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, e.writeStartDocument(), e.writeStartElement("w:webSettings"), e.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), e.writeAttributeString("xmlns:w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"), e.writeStartElement("w:optimizeForBrowser"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , N.prototype.writeFontTable = function() { var t, e, r = new l, i = new g(o.UTF8,r); i.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, i.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, i.writeStartDocument(), i.writeStartElement("w:fonts"), i.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), i.writeAttributeString("xmlns:w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"), this.fontList.set("Calibri", "Calibri"), this.fontList.set("Cambria", "Cambria"); try { for (var a = __values(this.fontList.values), s = a.next(); !s.done; s = a.next()) { var u = s.value; i.writeStartElement("w:font"), i.writeAttributeString("w:name", u), i.writeFullEndElement() } } catch (e) { t = { error: e } } finally { try { s && !s.done && (e = a.return) && e.call(a) } finally { if (t) throw t.error } } return i.writeFullEndElement(), i.writeEndDocument(), i.flush(), r } , N.prototype.writeDocumentRels = function() { var e, r, a = new l, s = new g(o.UTF8,a); s.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, s.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, s.writeStartDocument(), s.writeStartElement("Relationships"), s.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"), s.writeStartElement("Relationship"), s.writeAttributeString("Id", "rId1"), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"), s.writeAttributeString("Target", "styles.xml"), s.writeEndElement(), s.writeStartElement("Relationship"), s.writeAttributeString("Id", "rId2"), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings"), s.writeAttributeString("Target", "settings.xml"), s.writeEndElement(), s.writeStartElement("Relationship"), s.writeAttributeString("Id", "rId3"), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings"), s.writeAttributeString("Target", "webSettings.xml"), s.writeEndElement(), s.writeStartElement("Relationship"), s.writeAttributeString("Id", "rId4"), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable"), s.writeAttributeString("Target", "fontTable.xml"), s.writeEndElement(); for (var u = 0; u < this.imageCache.imagePackedStore.length; u++) s.writeStartElement("Relationship"), s.writeAttributeString("Id", i.format("rId{0}", 5 + u)), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"), s.writeAttributeString("Target", i.format("media/image{0:D5}.jpeg", u + 1)), s.writeEndElement(); if (this.usePageHeadersAndFooters) { s.writeStartElement("Relationship"), s.writeAttributeString("Id", i.format("rId{0}", 5 + this.imageCache.imagePackedStore.length + 0)), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes"), s.writeAttributeString("Target", "footnotes.xml"), s.writeEndElement(), s.writeStartElement("Relationship"), s.writeAttributeString("Id", i.format("rId{0}", 5 + this.imageCache.imagePackedStore.length + 1)), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes"), s.writeAttributeString("Target", "endnotes.xml"), s.writeEndElement(); for (var u = 0; u < this.headersData.length; u++) s.writeStartElement("Relationship"), s.writeAttributeString("Id", i.format("rIdh{0}", u + 1)), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header"), s.writeAttributeString("Target", i.format("header{0}.xml", u + 1)), s.writeEndElement(), s.writeStartElement("Relationship"), s.writeAttributeString("Id", i.format("rIdf{0}", u + 1)), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer"), s.writeAttributeString("Target", i.format("footer{0}.xml", u + 1)), s.writeEndElement() } else t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion || (s.writeStartElement("Relationship"), s.writeAttributeString("Id", i.format("rId{0}", 5 + this.imageCache.imagePackedStore.length + 0)), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes"), s.writeAttributeString("Target", "footnotes.xml"), s.writeEndElement(), s.writeStartElement("Relationship"), s.writeAttributeString("Id", i.format("rId{0}", 5 + this.imageCache.imagePackedStore.length + 1)), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes"), s.writeAttributeString("Target", "endnotes.xml"), s.writeEndElement(), s.writeStartElement("Relationship"), s.writeAttributeString("Id", "rIdh1"), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header"), s.writeAttributeString("Target", "headerAdditional.xml"), s.writeEndElement()); if (this.hyperlinkList.count > 0) try { for (var c = __values(this.hyperlinkList.keys), m = c.next(); !m.done; m = c.next()) { var p = m.value; s.writeStartElement("Relationship"), s.writeAttributeString("Id", i.format("hId{0}", Math.trunc(this.hyperlinkList.get(p)))), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"), s.writeAttributeString("Target", p), s.writeAttributeString("TargetMode", "External"), s.writeEndElement() } } catch (t) { e = { error: t } } finally { try { m && !m.done && (r = c.return) && r.call(c) } finally { if (e) throw e.error } } if (this.embedsList.length > 0) for (var u = 0; u < this.embedsList.length; u++) s.writeStartElement("Relationship"), s.writeAttributeString("Id", i.format("reId{0}", 1 + u)), s.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk"), s.writeAttributeString("Target", i.format("embeddings/richtext{0:D5}.rtf", u + 1)), s.writeAttributeString("TargetMode", "Internal"), s.writeEndElement(); return s.writeFullEndElement(), s.writeEndDocument(), s.flush(), a } , N.prototype.writeHeaderFooterRels = function() { var t = new l , e = new g(o.UTF8,t); e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, e.writeStartDocument(), e.writeStartElement("Relationships"), e.writeAttributeString("xmlns", "http://schemas.openxmlformats.org/package/2006/relationships"); for (var r = 0; r < this.imageCache.imagePackedStore.length; r++) e.writeStartElement("Relationship"), e.writeAttributeString("Id", i.format("rId{0}", 5 + r)), e.writeAttributeString("Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"), e.writeAttributeString("Target", i.format("media/image{0:D5}.jpeg", r + 1)), e.writeEndElement(); return e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , N.prototype.writeStyles = function() { var t = new l , e = new g(o.UTF8,t); e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? n.None : n.Indented, e.writeStartDocument(), e.writeStartElement("w:styles"), e.writeAttributeString("xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"), e.writeAttributeString("xmlns:w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"), e.writeStartElement("w:style"), e.writeAttributeString("w:type", "paragraph"), e.writeAttributeString("w:default", "1"), e.writeAttributeString("w:styleId", "a"), e.writeStartElement("w:name"), e.writeAttributeString("w:val", "Normal"), e.writeEndElement(), e.writeStartElement("w:qFormat"), e.writeEndElement(), e.writeStartElement("w:pPr"), e.writeStartElement("w:spacing"), e.writeAttributeString("w:after", "0"), e.writeAttributeString("w:line", "240"), e.writeAttributeString("w:lineRule", "auto"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("w:rPr"), e.writeStartElement("w:sz"), e.writeAttributeString("w:val", i.format("{0}", Math.round2(2 * StiOptions.Export.Word.normalStyleDefaultFontSize))), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("w:style"), e.writeAttributeString("w:type", "character"), e.writeAttributeString("w:default", "1"), e.writeAttributeString("w:styleId", "a0"), e.writeStartElement("w:name"), e.writeAttributeString("w:val", "Default Paragraph Font"), e.writeEndElement(), e.writeStartElement("w:uiPriority"), e.writeAttributeString("w:val", "1"), e.writeEndElement(), e.writeStartElement("w:semiHidden"), e.writeEndElement(), e.writeStartElement("w:unhideWhenUsed"), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("w:style"), e.writeAttributeString("w:type", "table"), e.writeAttributeString("w:default", "1"), e.writeAttributeString("w:styleId", "a1"), e.writeStartElement("w:name"), e.writeAttributeString("w:val", "Normal Table"), e.writeEndElement(), e.writeStartElement("w:uiPriority"), e.writeAttributeString("w:val", "99"), e.writeEndElement(), e.writeStartElement("w:semiHidden"), e.writeEndElement(), e.writeStartElement("w:unhideWhenUsed"), e.writeEndElement(), e.writeStartElement("w:qFormat"), e.writeEndElement(), e.writeStartElement("w:tblPr"), e.writeStartElement("w:tblInd"), e.writeAttributeString("w:w", "0"), e.writeAttributeString("w:type", "dxa"), e.writeEndElement(), e.writeStartElement("w:tblCellMar"), e.writeStartElement("w:top"), e.writeAttributeString("w:w", "0"), e.writeAttributeString("w:type", "dxa"), e.writeEndElement(), e.writeStartElement("w:left"), e.writeAttributeString("w:w", "0"), e.writeAttributeString("w:type", "dxa"), e.writeEndElement(), e.writeStartElement("w:bottom"), e.writeAttributeString("w:w", "0"), e.writeAttributeString("w:type", "dxa"), e.writeEndElement(), e.writeStartElement("w:right"), e.writeAttributeString("w:w", "0"), e.writeAttributeString("w:type", "dxa"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("w:style"), e.writeAttributeString("w:type", "numbering"), e.writeAttributeString("w:default", "1"), e.writeAttributeString("w:styleId", "a2"), e.writeStartElement("w:name"), e.writeAttributeString("w:val", "No List"), e.writeEndElement(), e.writeStartElement("w:uiPriority"), e.writeAttributeString("w:val", "99"), e.writeEndElement(), e.writeStartElement("w:semiHidden"), e.writeEndElement(), e.writeStartElement("w:unhideWhenUsed"), e.writeEndElement(), e.writeEndElement(); for (var r = 0; r < this.styleList.length; r++) { var a = this.styleList[r]; e.writeStartElement("w:style"), e.writeAttributeString("w:type", "paragraph"), e.writeAttributeString("w:customStyle", "1"), e.writeAttributeString("w:styleId", i.format("Style{0}", r)), e.writeStartElement("w:name"), e.writeAttributeString("w:val", a.name), e.writeEndElement(), e.writeStartElement("w:basedOn"), e.writeAttributeString("w:val", "a"), e.writeEndElement(), e.writeStartElement("w:rPr"), e.writeStartElement("w:rFonts"), e.writeAttributeString("w:ascii", a.fontName), e.writeAttributeString("w:hAnsi", a.fontName), e.writeAttributeString("w:cs", a.fontName), e.writeEndElement(), a.bold && (e.writeStartElement("w:b"), e.writeEndElement()), a.italic && (e.writeStartElement("w:i"), e.writeEndElement()), a.underline && (e.writeStartElement("w:u"), e.writeAttributeString("w:val", "single"), e.writeEndElement()), e.writeStartElement("w:color"), e.writeAttributeString("w:val", this.getColorString(a.textColor)), e.writeEndElement(), e.writeStartElement("w:sz"), e.writeAttributeString("w:val", i.format("{0}", a.fontSize)), e.writeEndElement(), 0 != StiOptions.Export.Word.spaceBetweenCharacters && (e.writeStartElement("w:spacing"), e.writeAttributeString("w:val", i.format("{0}", StiOptions.Export.Word.spaceBetweenCharacters)), e.writeEndElement()), a.rightToLeft && (a.bold && (e.writeStartElement("w:bCs"), e.writeEndElement()), a.italic && (e.writeStartElement("w:iCs"), e.writeEndElement()), e.writeStartElement("w:szCs"), e.writeAttributeString("w:val", i.format("{0}", a.fontSize)), e.writeEndElement(), e.writeStartElement("w:rtl"), e.writeEndElement()), e.writeEndElement(), e.writeEndElement() } return e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , N.prototype.writeImage = function(t) { var e = new l , r = this.imageCache.imagePackedStore[t]; return null != r && e.write(r, 0, r.length), e } , N.prototype.writeAdditionalData = function(e, r) { var i = new l , n = null; return n = r ? t.System.Convert.fromBase64String(e) : o.ASCII.getBytes(e), i.write(n, 0, n.length), i } , N.prototype.exportWord = function(n, o, a) { if (null == a) throw new Error("The 'settings' argument cannot be equal in null."); var l = a.pageRange; this.usePageHeadersAndFooters = a.usePageHeadersAndFooters, this._removeEmptySpaceAtBottom = a.removeEmptySpaceAtBottom, this.imageResolution = a.imageResolution, this.imageQuality = a.imageQuality, this.docCompanyString = a.companyString, this.docLastModifiedString = a.lastModifiedString, this.restrictEditing = a.restrictEditing, this.xmlIndentation = -1, this.imageQuality < 0 && (this.imageQuality = 0), this.imageQuality > 1 && (this.imageQuality = 1), this.imageResolution < 10 && (this.imageResolution = 10), this.imageResolution = this.imageResolution / 100, 1 != StiOptions.Export.Word.lineSpacing && (this.lineSpace = Math.round2(240 * StiOptions.Export.Word.lineSpacing).toString(), this.lineSpace2 = Math.round2(.772 * StiOptions.Export.Word.lineSpacing * 240).toString()), StiOptions.Export.Word.restrictEditing > this.restrictEditing && (this.restrictEditing = StiOptions.Export.Word.restrictEditing), this.report = n; try { this.styleList = [], this.fontList = new E, this.imageCache = new e.StiImageCache(StiOptions.Export.Word.allowImageComparer,!0,e.ImageFormat.Jpeg,this.imageQuality,!1), this.bookmarkList = new E, this.hyperlinkList = new E, this.embedsList = [], this.currentPassNumber = 0, this.maximumPassNumber = 3 + (StiOptions.Export.Word.divideSegmentPages ? 1 : 0); var u = l.getSelectedPages(n.renderedPages); if (StiOptions.Export.Word.divideSegmentPages) { var c = !0; this.usePageHeadersAndFooters && u.count > 0 && u.getByIndex(0).unlimitedHeight && 1 == u.getByIndex(0).segmentPerWidth && (c = !1), c && (u = r.StiSegmentPagesDivider.divide(u, this), this.currentPassNumber++) } var m = new s; if (m.begin(o, !0), this.usePageHeadersAndFooters && (this.headersData = [], this.headersRels = [], this.footersData = [], this.footersRels = []), m.addFile("word/document.xml", this.writeDocument(u, n, this.usePageHeadersAndFooters), !0), this.usePageHeadersAndFooters) for (var p = 0; p < this.headersData.length; p++) m.addFile(i.format("word/header{0}.xml", p + 1), this.headersData[p]), null != this.headersRels[p] && m.addFile(i.format("word/_rels/header{0}.xml.rels", p + 1), this.headersRels[p]), m.addFile(i.format("word/footer{0}.xml", p + 1), this.footersData[p]), null != this.footersRels[p] && m.addFile(i.format("word/_rels/footer{0}.xml.rels", p + 1), this.footersRels[p]); if (this.usePageHeadersAndFooters && (m.addFile("word/footnotes.xml", this.writeFootNotes()), m.addFile("word/endnotes.xml", this.writeEndNotes())), m.addFile("[Content_Types].xml", this.writeContentTypes()), m.addFile("_rels/.rels", this.writeMainRels()), m.addFile("docProps/app.xml", this.writeDocPropsApp()), m.addFile("docProps/core.xml", this.writeDocPropsCore()), m.addFile("word/settings.xml", this.writeSettings()), m.addFile("word/webSettings.xml", this.writeWebSettings()), m.addFile("word/fontTable.xml", this.writeFontTable()), m.addFile("word/_rels/document.xml.rels", this.writeDocumentRels()), m.addFile("word/styles.xml", this.writeStyles()), this.imageCache.imagePackedStore.length > 0) for (var p = 0; p < this.imageCache.imagePackedStore.length; p++) m.addFile(i.format("word/media/image{0:D5}.jpeg", p + 1), this.writeImage(p)); t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || this.usePageHeadersAndFooters || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion || (m.addFile("word/footnotes.xml", this.writeFootNotes()), m.addFile("word/endnotes.xml", this.writeEndNotes()), m.addFile("word/media/imageAdditional.png", this.writeAdditionalData(r.StiExportUtils.additionalData, !0)), m.addFile("word/headerAdditional.xml", this.writeAdditionalData('\r\n' + ' ' + '' + '' + '', !1)), m.addFile("word/_rels/headerAdditional.xml.rels", this.writeAdditionalData('\r\n', !1))), m.end() } finally { null != this.matrix && (this.matrix.clear(), this._matrix = null), this.fontList.clear(), this.fontList = null, this.imageCache.clear(), this.imageCache = null, this.styleList.clear(), this.styleList = null, this.bookmarkList.clear(), this.bookmarkList = null, this.hyperlinkList.clear(), this.hyperlinkList = null, this.embedsList.clear(), this.embedsList = null, this.usePageHeadersAndFooters && (this.headersData.clear(), this.headersData = null, this.headersRels.clear(), this.headersRels = null, this.footersData.clear(), this.footersData = null, this.footersRels.clear(), this.footersRels = null), n.renderedPages.cacheMode && r.StiMatrix.GCCollect() } } , N }(r.StiExportService); r.StiWord2007ExportService = P }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Drawing.StiHtmlTag , n = t.Report.Components.StiImageRotation , o = t.System.StiString , a = t.Report.Dashboard.StiDashboardExport , s = t.Report.Dashboard.IStiDashboard , l = t.System.Drawing.Color , u = t.System.IO.MemoryStream , c = t.Report.Components.StiContainer , m = t.Base.Drawing.StiBrush , p = t.Base.Drawing.StiGradientBrush , h = t.Base.Drawing.StiGlareBrush , d = t.Base.Drawing.StiHatchBrush , g = t.Base.Drawing.StiGlassBrush , f = t.System.Collections.Hashtable , S = t.System.Text.StringBuilder , A = t.Report.Components.StiText , y = t.Report.Components.StiShape , w = t.Report.Components.StiRectanglePrimitive , b = t.Report.Components.IStiFont , v = t.Report.Components.IStiBrush , C = t.Report.Components.IStiTextBrush , E = t.Report.Components.IStiTextOptions , B = t.Report.Components.IStiBorder , T = t.System.Xml.XmlTextWriter , I = t.System.DateTime , x = t.Report.Chart.IStiChart , F = t.Report.Components.StiImage , D = t.System.Drawing.Rectangle , R = t.Base.Drawing.StiHorAlignment , P = t.Base.Drawing.StiVertAlignment , N = t.Report.Components.IStiExportImageExtended , k = t.Report.Components.StiCheckBox , M = t.Report.BarCodes.StiBarCode , O = t.Report.Components.IStiTextHorAlignment , _ = t.System.Drawing.FontStyle , L = function() { function t(t) { this.X = 0, this.Y = 0, this.Width = 0, this.Height = 0, this.Component = null, this.service = null, this.service = t } return Object.defineProperty(t.prototype, "Right", { get: function() { return this.X + this.Width }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "Top", { get: function() { return this.Y + this.Height }, enumerable: !0, configurable: !0 }), t }(); r.StiPdfData = L; var j = function() { function t() {} return t }() , H = function() { function t() {} return t }() , G = function() { function t() {} return t }(); r.StiEditableObject = G; var Q = function(Q) { function Y() { var t = null !== Q && Q.apply(this, arguments) || this; return t.imageQuality = .75, t.imageResolutionMain = 1, t.imageResolutionMode = r.StiImageResolutionMode.Auto, t.sw = null, t.pageStream = null, t.imageList = null, t.imageCache = null, t.imageInterpolationTable = null, t.imageCacheIndexToList = null, t.imageInfoList = null, t.imageInfoCounter = 0, t.colorTable = Array.create(String, 256), t.alphaTable = Array.create(Boolean, 256), t.pdfFont = null, t.bidi = null, t.standardPdfFonts = !0, t.embeddedFonts = !1, t.useUnicodeMode = !1, t.reduceFontSize = !0, t.compressed = !1, t.compressedFonts = !1, t.encrypted = !1, t.usePdfA = !1, t.pdfComplianceMode = r.StiPdfComplianceMode.None, t.exportRtfTextAsImage = !1, t.autoPrint = r.StiPdfAutoPrintMode.None, t.imageCompressionMethod = r.StiPdfImageCompressionMethod.Jpeg, t.imageFormat = r.StiImageFormat.Color, t.monochromeDitheringType = r.StiMonochromeDitheringType.FloydSteinberg, t.allowEditable = r.StiPdfAllowEditable.No, t.fontGlyphsReduceNotNeed = null, t.shadingArray = null, t.hatchArray = null, t.haveBookmarks = !1, t.haveLinks = !1, t.haveAnnots = !1, t.haveTooltips = !1, t.CodePage1252part80AF = [8364, 8226, 8218, 402, 8222, 8230, 8224, 8225, 710, 8240, 352, 8249, 338, 8226, 381, 8226, 8226, 8216, 8217, 8220, 8221, 8226, 8211, 8212, 732, 8482, 353, 8250, 339, 8226, 382, 376], t.CodePage1252 = Array.create(Number, 256), t.hiToTwips = .72, t.precision_digits_font = 3, t.pdfCKT = .55228, t.IDValue = null, t.IDValueString = "", t.IDValueStringMeta = "", t.currentDateTime = "", t.currentDateTimeMeta = "", t.producerName = "Stimulsoft Reports", t.creatorName = "", t.keywords = "", t.keyLength = r.StiPdfEncryptionKeyLength.Bit40, t.lastColorStrokeA = 255, t.lastColorNonStrokeA = 255, t.colorStack = null, t.info = null, t.haveDigitalSignature = !1, t.pdfSecurity = null, t.printScaling = !0, t.colorHash1 = new f, t.colorHash2 = new f, t._gsTable = null, t } return __extends(Y, Q), Object.defineProperty(Y.prototype, "exportFormat", { get: function() { return e.StiExportFormat.Pdf }, enumerable: !0, configurable: !0 }), Y.prototype.exportTo = function(t, e, r) { this.exportPdf1(t, e, r) } , Y.prototype.exportToAsync = function(e, i, n, o) { var l = this , u = o.imageCompressionMethod == r.StiPdfImageCompressionMethod.Flate; t.Report.Export.StiExportImageHelper.convertAllImages(i, t.System.Drawing.Imaging.ImageFormat.Jpeg, u).try(function() { if (!i.isDocument && i.getCurrentPage().stimulsoft.is(s)) return void a.exportAsync(i, n, o).try(function() { return e() }); l.exportTo(i, n, o), e() }) } , Object.defineProperty(Y.prototype, "multipleFiles", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Y.prototype.stringReplace = function(t, e, r) { e = e.replace(Y.regexEscape, "\\$1"); var i = new RegExp(e,"g"); return t.replace(i, r) } , Y.prototype.getHatchNumber = function(t) { if (this.hatchArray.length > 0) for (var e = 0; e < this.hatchArray.length; e++) { var r = this.hatchArray[e]; if (t.style == r.style && t.backColor == r.backColor && t.foreColor == r.foreColor) return e } return this.hatchArray.add(t), this.hatchArray.length - 1 } , Y.prototype.addXref = function(t) { var e = this.sw.position; this.xref[t] = e.toString().stimulsoft.padLeft(10, "0") + " 00000 n", this.currentObjectNumber = t, this.currentGenerationNumber = 0 } , Y.prototype.convertToString = function(e, r) { return void 0 === r && (r = 2), Math.round2(e, r).toString().stimulsoft.replaceAll(",", t.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator) } , Y.convertToEscapeSequence = function(t) { var e = [40, 41, 92, 13, 10, 8, 12], r = "()\\rnbf", i, n; if (null == t) return ""; n = new S; for (var o = 0; o < t.length; o++) { i = !1; for (var a = 0; a < e.length; a++) if (t.charCodeAt(o) == e[a]) { n.append("\\" + r[a]), i = !0; break } i || n.append(t.charAt(o)) } return n.toString() } , Y.convertToEscapeSequencePlusTabs = function(t) { var e = [40, 41, 92, 13, 10, 9, 8, 12], r = "()\\rntbf", i, n; if (null == t) return ""; n = new S; for (var o = 0; o < t.length; o++) { i = !1; for (var a = 0; a < e.length; a++) if (t.charCodeAt(o) == e[a]) { n.append("\\" + r[a]), i = !0; break } i || n.append(t.charAt(o)) } return n.toString() } , Y.prototype.setStrokeColor = function(t) { var e = this.colorHash1.get(t); null == e && (e = o.format("{0} {1} {2} RG", this.colorTable[t.r], this.colorTable[t.g], this.colorTable[t.b]), this.colorHash1.set(t, e)), this.pageStream.writeLine(e); var r = t.a; r != this.lastColorStrokeA && StiOptions.Export.Pdf.allowExtGState && !this.usePdfA && (this.pageStream.writeLine(this.gsTable[r][0]), this.lastColorStrokeA = r, this.alphaTable[r] = !0) } , Y.prototype.setNonStrokeColor = function(t) { var e = this.colorHash2.get(t); null == e && (e = o.format("{0} {1} {2} rg", this.colorTable[t.r], this.colorTable[t.g], this.colorTable[t.b]), this.colorHash2.set(t, e)), this.pageStream.writeLine(e); var r = t.a; r != this.lastColorNonStrokeA && StiOptions.Export.Pdf.allowExtGState && !this.usePdfA && (this.pageStream.writeLine(this.gsTable[r][1]), this.lastColorNonStrokeA = r, this.alphaTable[r] = !0) } , Object.defineProperty(Y.prototype, "gsTable", { get: function() { if (null == this._gsTable) { this._gsTable = Array.create(String, 256, 2); for (var t = 0; t < 256; t++) this._gsTable[t][0] = o.format("/GS{0:X2}S gs", t), this._gsTable[t][1] = o.format("/GS{0:X2}N gs", t) } return this._gsTable }, enumerable: !0, configurable: !0 }), Y.prototype.pushColorToStack = function() { this.colorStack.push(this.lastColorStrokeA), this.colorStack.push(this.lastColorNonStrokeA) } , Y.prototype.popColorFromStack = function() { this.lastColorNonStrokeA = this.colorStack.pop(), this.lastColorStrokeA = this.colorStack.pop() } , Y.prototype.storeStringLine = function(t, e, r) { void 0 === r && (r = !1); var i = t + this.convertToHexString(e, r); this.storeString(i), this.sw.writeLine() } , Y.prototype.storeString = function(t) { this.sw.writeString(t, !1) } , Y.prototype.convertToHexString = function(t, e) { var r = new S; if (o.isNullOrEmpty(t)) if (this.encrypted) { for (var i = this.pdfSecurity.encryptData([], this.currentObjectNumber, this.currentGenerationNumber), n = "", a = 0; a < i.length; a++) n += String.fromCharCode(i[a]); r.append("(" + Y.convertToEscapeSequencePlusTabs(n) + ")") } else r.append("()"); else { for (var s = !1, l = 0; l < t.length; l++) t.charCodeAt(l) > 127 && (s = !0); if (this.encrypted) { var u = null; if (1 == s) { u = []; for (var a = 0; a < t.length; a++) { var c = t.charCodeAt(a); u[2 + 2 * a + 0] = c >> 8 & 255, u[2 + 2 * a + 1] = 255 & c } u[0] = 254, u[1] = 255 } else { u = []; for (var a = 0; a < t.length; a++) u[a] = t.charCodeAt(a) } for (var i = this.pdfSecurity.encryptData(u, this.currentObjectNumber, this.currentGenerationNumber), n = "", a = 0; a < i.length; a++) n += String.fromCharCode(i[a]); r.append("(" + Y.convertToEscapeSequencePlusTabs(n) + ")") } else if (1 == s) { r.append("") } else e ? r.append("(" + Y.convertToEscapeSequencePlusTabs(t) + ")") : r.append("(" + t + ")") } return r.toString() } , Y.prototype.storeMemoryStream2 = function(t, e) { if (this.encrypted) { var r = this.pdfSecurity.encryptData(t.toArray(), this.currentObjectNumber, this.currentGenerationNumber); this.sw.writeLine(o.format(e, r.length)), this.sw.writeLine(">>"), this.sw.writeLine("stream"), this.sw.write(r, 0, r.length) } else this.sw.writeLine(o.format(e, t.length)), this.sw.writeLine(">>"), this.sw.writeLine("stream"), t.writeTo(this.sw); t.close() } , Y.prototype.storeMemoryStream3 = function(t, e) { for (var r = new u, i = 0; i < t.length; i++) r.writeByte(t[i]); this.storeMemoryStream2(r, e), r.close() } , Y.prototype.storeMemoryStream4 = function(t, e) { for (var r = new u, i = 0; i < t.length; i++) r.writeByte(t[i]); this.storeMemoryStream2(r, e), r.close() } , Y.prototype.renderStartDoc = function(t, e) { this.sw.writeLine(this.keyLength == r.StiPdfEncryptionKeyLength.Bit256_r5 || this.keyLength == r.StiPdfEncryptionKeyLength.Bit256_r6 ? "%PDF-1.7" : "%PDF-1.4"), this.sw.write([37, 226, 227, 207, 211], 0, 5), this.sw.writeLine(), this.addXref(1), this.sw.writeLine("1 0 obj"), this.sw.writeLine("<<"), this.keyLength == r.StiPdfEncryptionKeyLength.Bit256_r5 && this.sw.writeLine("/Extensions<>>>"), this.keyLength == r.StiPdfEncryptionKeyLength.Bit256_r6 && this.sw.writeLine("/Extensions<>>>"), this.sw.writeLine("/Type /Catalog"), this.sw.writeLine("/Pages {0} 0 R", this.info.pages.ref), this.sw.writeLine("/MarkInfo<>"), this.sw.writeLine("/Metadata {0} 0 R", this.info.metadata.ref), this.sw.writeLine("/OutputIntents {0} 0 R", this.info.outputIntents.ref), this.sw.writeLine("/StructTreeRoot {0} 0 R", this.info.structTreeRoot.ref), this.haveBookmarks ? (this.sw.writeLine("/Outlines {0} 0 R", this.info.outlines.ref), this.sw.writeLine("/PageMode /UseOutlines")) : this.sw.writeLine("/PageMode /UseNone"), this.printScaling || (this.sw.writeLine("/ViewerPreferences"), this.sw.writeLine("<<"), this.sw.writeLine("/PrintScaling /None"), this.sw.writeLine(">>")), (this.haveAnnots || this.haveDigitalSignature) && this.sw.writeLine("/AcroForm {0} 0 R", this.info.acroForm.ref), this.autoPrint != r.StiPdfAutoPrintMode.None && this.sw.writeLine("/Names <>", this.info.embeddedJS.ref), this.usePdfA || this.sw.writeLine("/OCProperties << /OCGs [{0} 0 R] /D << /ON [{0} 0 R] /AS [<>] >> >>", this.info.optionalContentGroup.ref), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(2), this.sw.writeLine("2 0 obj"), this.sw.writeLine("<<"), this.storeStringLine("/Producer ", this.producerName, !0), this.storeStringLine("/Creator ", this.creatorName, !0), o.isNullOrEmpty(t.reportAuthor) || this.storeStringLine("/Author ", t.reportAuthor, !0), o.isNullOrEmpty(t.reportAlias) || this.storeStringLine("/Subject ", t.reportAlias, !0), o.isNullOrEmpty(t.reportName) || this.storeStringLine("/Title ", t.reportName, !0), o.isNullOrEmpty(this.keywords) || this.storeStringLine("/Keywords ", this.keywords, !0), this.storeStringLine("/CreationDate ", "D:" + this.currentDateTime), this.storeStringLine("/ModDate ", "D:" + this.currentDateTime), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(3), this.sw.writeLine("3 0 obj"), this.sw.writeLine("<<"), this.sw.writeLine("/Cs1 [/Pattern /DeviceRGB]"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""); var i = []; i.add("/Resources"), i.add("<<"), i.add("/ProcSet [/PDF /Text /ImageC]"), i.add("/Font"), i.add("<<"); for (var n = 0; n < this.fontsCounter; n++) i.add(o.format("/F{0} {1} 0 R", n, this.info.fontList[n].ref)); if (i.add(">>"), this.imageCache.imageStore.length > 0) { i.add("/XObject"), i.add("<<"); for (var n = 0; n < this.imageCache.imageStore.length; n++) i.add(o.format("/Image{0} {1} 0 R", n, this.info.xObjectList[n].ref)); i.add(">>") } i.add("/Pattern"), i.add("<<"), i.add(o.format("/P1 {0} 0 R", this.info.patterns.first.ref)); for (var a = 0; a < this.hatchArray.length; a++) i.add(o.format("/PH{0} {1} 0 R", 1 + a, this.info.patterns.hatchItems[a].ref)); for (var a = 0; a < this.shadingArray.length; a++) i.add(o.format("/P{0} {1} 0 R", 2 + a, this.info.patterns.shadingItems[a].ref)); i.add(">>"), i.add("/ColorSpace 3 0 R"), StiOptions.Export.Pdf.allowExtGState && !this.usePdfA && i.add(o.format("/ExtGState {0} 0 R", this.info.extGState.ref)), this.usePdfA || i.add(o.format("/Properties << /oc1 {0} 0 R >>", this.info.optionalContentGroup.ref)), i.add(">>"), this.addXref(this.info.pages.ref), this.sw.writeLine("{0} 0 obj", this.info.pages.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Pages"), this.sw.writeLine("/Kids ["); for (var n = 0; n < e.count; n++) this.sw.writeLine("{0} 0 R", this.info.pageList[n].ref); if (this.sw.writeLine("]"), this.sw.writeLine("/Count {0}", e.count), StiOptions.Export.Pdf.allowInheritedPageResources) for (var s = 0; s < i.length; s++) this.sw.writeLine(i[s]); this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(5), this.sw.writeLine("5 0 obj"), this.sw.writeLine("<<"), this.sw.writeLine("/Type /StructTreeRoot"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(6), this.sw.writeLine("6 0 obj"), this.sw.writeLine("<<"), this.sw.writeLine("/Type /OCG"), this.sw.writeLine("/Name (Printable off)"), this.sw.writeLine("/Usage <<"), this.sw.writeLine("/Print << /PrintState /OFF >>"), this.sw.writeLine("/View << /ViewState /ON >>"), this.sw.writeLine(">>"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""); for (var n = 0; n < e.count; n++) { this.addXref(this.info.pageList[n].ref), this.sw.writeLine("{0} 0 obj", this.info.pageList[n].ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Page"), this.sw.writeLine("/Parent 4 0 R"); var l = this.hiToTwips * t.unit.convertToHInches(e.getByIndex(n).pageHeight * e.getByIndex(n).segmentPerHeight) , u = this.hiToTwips * t.unit.convertToHInches(e.getByIndex(n).pageWidth * e.getByIndex(n).segmentPerWidth); if (l > 14400 && (l = 14400), u > 14400 && (u = 14400), this.sw.writeLine("/MediaBox [ 0 0 {0} {1} ]", this.convertToString(u), this.convertToString(l)), !StiOptions.Export.Pdf.allowInheritedPageResources) for (var s = 0; s < i.length; s++) this.sw.writeLine(i[s]); if (this.sw.writeLine("/Contents {0} 0 R", this.info.pageList[n].content.ref), this.usePdfA || (this.sw.writeLine("/Group"), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Group"), this.sw.writeLine("/S /Transparency"), this.sw.writeLine("/CS /DeviceRGB"), this.sw.writeLine(">>")), this.haveLinks || this.haveAnnots || this.haveDigitalSignature || this.haveTooltips) { if (this.sw.writeLine("/Annots ["), this.haveAnnots) { for (var c = 0; c < this.annotsCounter; c++) { var m = this.annotsArray[c]; m.Page == n && this.sw.writeLine("{0} 0 R ", this.info.acroForm.annots[c].ref) } for (var c = 0; c < this.annots2Counter; c++) { var m = this.annots2Array[c]; if (m.Page == n) for (var p = 0; p < this.info.acroForm.checkBoxes[c].items.length; p++) this.sw.writeLine("{0} 0 R ", this.info.acroForm.checkBoxes[c].items[p].ref) } } this.sw.writeLine("]") } this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine("") } } , Y.prototype.renderEndDoc = function() { var e = this.sw.position; this.sw.writeLine("xref"), this.sw.writeLine("0 {0}", this.xref.countItems + 1), this.sw.writeLine("0000000000 65535 f"); for (var i = 0; i < this.xref.countItems; i++) this.sw.writeLine(this.xref[i + 1]); this.sw.writeLine("trailer"), this.sw.writeLine("<<"), this.sw.writeLine("/Size {0}", this.xref.countItems + 1), this.sw.writeLine("/Root 1 0 R"), this.sw.writeLine("/Info 2 0 R"), this.encrypted && this.sw.writeLine("/Encrypt {0} 0 R", this.info.encode.ref), this.sw.writeLine("/ID[<{0}><{0}>]", this.IDValueString), this.sw.writeLine(">>"), this.sw.writeLine("%" + r.StiExportUtils.getReportVersion()), this.sw.writeLine("%" + t.StiVersion.platform()), this.sw.writeLine("startxref"), this.sw.writeLine("{0}", e), this.sw.writeLine("%%EOF") } , Y.prototype.renderPageHeader = function(t) { this.addXref(this.info.pageList[t].content.ref), this.sw.writeLine("{0} 0 obj", this.info.pageList[t].content.ref), this.sw.writeLine("<<"), this.pageStream = new u, this.pageStream.writeLine("2 J") } , Y.prototype.renderPageFooter = function(e, i) { if (!(t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion)) { var n = i / 596 * 1.4 , o = e / 840 * 1.4; n > o ? n = o : o = n, this.pageStream.writeLine("q"), this.pushColorToStack(), this.pageStream.writeLine("1 J 1 j 20 w"), this.setStrokeColor(l.fromArgb(64, 100, 100, 100)), this.pageStream.writeLine("{0} 0 0 {1} {2} {3} cm 0.707 0.707 -0.707 0.707 0 0 cm 1 0 0 1 -155 -50 cm", this.convertToString(n), this.convertToString(o), this.convertToString(i / 2), this.convertToString(e / 2)), this.pageStream.writeLine("40 0 m 40 100 l 0 100 m 80 100 l S"), this.pageStream.writeLine("100 0 m 100 70 l 100 45 m 120 65 l 130 72 l 140 68 l S"), this.pageStream.writeLine("170 0 m 170 70 l 169 100 m 171 100 l S"), this.pageStream.writeLine("215 60 m 222 69 l 232 71 l 255 70 l 265 60 l 265 5 l 270 0 l 265 44 m 220 31 l 212 20 l 212 10 l 225 0 l 235 0 l 250 5 l 265 18 l S"), this.pageStream.writeLine("310 0 m 310 100 l S"), this.pageStream.writeLine("Q"), this.popColorFromStack() } if (this.pageStream.position < this.pageStream.length && this.pageStream.setLength(this.pageStream.position), 1 == this.compressed) { var a = this.pageStream.toArray() , s = r.StiExportUtils.makePdfDeflateStream(a); this.storeMemoryStream2(s, "/Filter [/FlateDecode] /Length {0}") } else this.storeMemoryStream2(this.pageStream, "/Filter [] /Length {0}"); this.sw.writeLine(), this.pageStream.close(), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine("") } , Y.prototype.renderFontTable = function() { for (var e = 0; e < this.fontsCounter; e++) { var i = new S; this.pdfFont.currentFont = e; var n = this.pdfFont.fontList[e] , a = n.Name; if (StiOptions.Export.Pdf.useAlternativeFontNames && StiOptions.Export.Pdf.alternativeFontNames.containsKey(a) && (a = StiOptions.Export.Pdf.alternativeFontNames.get(a)), this.useUnicodeMode) { i = new S(a.stimulsoft.replaceAll(" ", "#20")), (n.Bold || n.Italic) && (i.append(","), n.Bold && i.append("Bold"), n.Italic && i.append("Italic")), this.embeddedFonts && i.insert(0, o.format("SR{0}{1}{2}{3}+", String.fromCharCode(24 * Math.random() + 65), String.fromCharCode(24 * Math.random() + 65), String.fromCharCode(24 * Math.random() + 65), String.fromCharCode(24 * Math.random() + 65))), this.addXref(this.info.fontList[e].ref), this.sw.writeLine("{0} 0 obj", this.info.fontList[e].ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Font"), this.sw.writeLine("/Subtype /Type0"), this.sw.writeLine("/BaseFont /{0}", i), this.sw.writeLine("/DescendantFonts [{0} 0 R]", this.info.fontList[e].descendantFont.ref), this.sw.writeLine("/Encoding /Identity-H"), this.sw.writeLine("/ToUnicode {0} 0 R", this.info.fontList[e].toUnicode.ref), this.sw.writeLine("/Name /F{0}", e), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(this.info.fontList[e].descendantFont.ref), this.sw.writeLine("{0} 0 obj", this.info.fontList[e].descendantFont.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Font"), this.sw.writeLine("/Subtype /CIDFontType2"), this.sw.writeLine("/BaseFont /{0}", i), this.sw.writeLine("/CIDSystemInfo"), this.sw.writeLine("<<"), this.storeStringLine("/Registry", "Adobe"), this.storeStringLine("/Ordering", "Identity"), this.sw.writeLine("/Supplement 0"), this.sw.writeLine(">>"), this.sw.writeLine("/FontDescriptor {0} 0 R", this.info.fontList[e].fontDescriptor.ref), this.usePdfA && this.sw.writeLine("/CIDToGIDMap /Identity"), this.sw.writeLine("/W [0 [1000]"); for (var s = this.pdfFont.GlyphList, l = s.length, c = Array.create(Number, l), m = Array.create(Number, l), p = 32; p < l; p++) c[p] = s[p], m[p] = p; for (var h = 32; h < c.length - 1; h++) for (var d = h + 1; d < c.length; d++) if (c[h] > c[d]) { var g = c[h]; c[h] = c[d], c[d] = g; var f = m[h]; m[h] = m[d], m[d] = f } var A = new S , y = 32; while (y < this.pdfFont.MappedSymbolsCount) { A.append(c[y].toString() + " ["), A.append(this.pdfFont.Widths[m[y] - 32].toString()), y++; while (y < this.pdfFont.MappedSymbolsCount && c[y] - 1 == c[y - 1]) A.append(" " + this.pdfFont.Widths[m[y] - 32].toString()), y++; while (y < this.pdfFont.MappedSymbolsCount && c[y] == c[y - 1]) y++; A.append("]"), this.sw.writeLine("{0}", A), A = new S } null != this.pdfFont.GlyphWidths && this.pdfFont.GlyphWidths[65535], this.sw.writeLine("]"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(this.info.fontList[e].toUnicode.ref); var w = "SR+F" + e.toString(); this.sw.writeLine("{0} 0 obj", this.info.fontList[e].toUnicode.ref), this.sw.writeLine("<<"); var b = new u; b.writeLine("/CIDInit /ProcSet findresource begin"), b.writeLine("12 dict begin"), b.writeLine("begincmap"), b.writeLine("/CIDSystemInfo"), b.writeLine("<<"), b.writeLine("/Registry (Adobe)"), b.writeLine("/Ordering ({0})", w), b.writeLine("/Supplement 0"), b.writeLine(">> def"), b.writeLine("/CMapName /{0} def", w), b.writeLine("/CMapType 2 def"), b.writeLine("1 begincodespacerange"), b.writeLine("<0000> "), b.writeLine("endcodespacerange"); var v = this.pdfFont.MappedSymbolsCount - 32 , C = 32; while (v > 0) { var E = v; E > 100 && (E = 100), b.writeLine("{0} beginbfchar", E); for (var B = 0; B < E; B++) b.writeLine("<{0:X4}> <{1:X4}>", this.pdfFont.GlyphList[C], this.pdfFont.UnicodeMapBack[C]), C++; b.writeLine("endbfchar"), v -= E } b.writeLine("endcmap"), b.writeLine("CMapName currentdict /CMap defineresource pop"), b.writeLine("end"), b.writeLine("end"), b.flush(); var T = b.toArray(); if (b.close(), 1 == this.compressed) { var I = r.StiExportUtils.makePdfDeflateStream(T); this.storeMemoryStream2(I, "/Length {0} /Filter [/FlateDecode] /Length1 " + T.length.toString()) } else this.storeMemoryStream4(T, "/Length {0} /Filter [] /Length1 {0}"); this.sw.writeLine(""), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(this.info.fontList[e].cIDSet.ref), this.sw.writeLine("{0} 0 obj", this.info.fontList[e].cIDSet.ref), this.sw.writeLine("<<"); for (var x = Array.create(Boolean, 65536 + 32), F = 0, D = 0; D < this.pdfFont.GlyphList.length; D++) { var R = this.pdfFont.GlyphList[D]; 65535 != R && (x[R] = !0, R > F && (F = R)) } if (null != this.pdfFont.GlyphWidths && 0 != this.pdfFont.GlyphWidths[65535]) for (var D = 0; D < 65535; D++) this.pdfFont.GlyphWidths[D] > 0 && 0 == this.pdfFont.GlyphBackList[D] && (x[D] = !0, D > F && (F = D)); var P = Math.trunc(F / 8) + 1 , N = Array.create(Number, P + 1) , k = 0; while (k < P) { var M = 8 * k , O = 0; x[M] && (O |= 128), x[M + 1] && (O |= 64), x[M + 2] && (O |= 32), x[M + 3] && (O |= 16), x[M + 4] && (O |= 8), x[M + 5] && (O |= 4), x[M + 6] && (O |= 2), x[M + 7] && (O |= 1), N[k] = O, k++ } if (1 == this.compressed) { var I = r.StiExportUtils.makePdfDeflateStream(N); this.storeMemoryStream2(I, "/Length {0} /Filter [/FlateDecode] /Length1 " + N.length.toString()) } else this.storeMemoryStream4(N, "/Length {0} /Filter [] /Length1 " + N.length.toString()); this.sw.writeLine(""), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine("") } else { this.addXref(this.info.fontList[e].ref), this.sw.writeLine("{0} 0 obj", this.info.fontList[e].ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Font"), 1 == this.standardPdfFonts ? (this.sw.writeLine("/Subtype /Type1"), this.sw.writeLine("/BaseFont /{0}", n.PdfName)) : (this.sw.writeLine("/Subtype /TrueType"), i = new S(this.stringReplace(a, " ", "#20")), 1 != n.Bold && 1 != n.Italic || (i.append(","), 1 == n.Bold && i.append("Bold"), 1 == n.Italic && i.append("Italic")), this.sw.writeLine("/BaseFont /{0}", i), this.sw.writeLine("/FontDescriptor {0} 0 R", this.info.fontList[e].fontDescriptor.ref)), this.sw.writeLine("/Encoding {0} 0 R", this.info.fontList[e].encoding.ref); for (var L = new S(" "), B = 32; B < this.pdfFont.MappedSymbolsCount; B++) L.append(this.pdfFont.Widths[B - 32].toString() + " "); if (this.sw.writeLine("/FirstChar {0}", 32), this.sw.writeLine("/LastChar {0}", this.pdfFont.MappedSymbolsCount - 1), this.sw.writeLine("/Widths [{0}]", L), this.sw.writeLine("/Name /F{0}", e), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(this.info.fontList[e].encoding.ref), this.sw.writeLine("{0} 0 obj", this.info.fontList[e].encoding.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Encoding"), this.sw.writeLine("/BaseEncoding /WinAnsiEncoding"), this.pdfFont.MappedSymbolsCount > this.pdfFont.firstMappedSymbol) { for (var j = new S(this.pdfFont.firstMappedSymbol.toString() + " "), B = this.pdfFont.firstMappedSymbol; B < this.pdfFont.MappedSymbolsCount; B++) j.append("/" + this.pdfFont.CharPdfNames[B]); this.sw.writeLine("/Differences [{0}]", j) } this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine("") } var H = null; if (this.embeddedFonts) { var G = t.Base.StiFontCollection.getBinFont(n.Font.name, n.Font.style); if (H = null != G ? G.data : null, null == H || H.stimulsoft.is(Uint8Array) || (H = null), null == H) { var Q = (n.Font.style & _.Bold) > 0 , Y = (n.Font.style & _.Italic) > 0; Q && Y ? (G = t.Base.StiFontCollection.getBinFont(n.Font.name, _.Italic), null != G && null != G.data ? H = G.data : (G = t.Base.StiFontCollection.getBinFont(n.Font.name, _.Bold), null != G && null != G.data ? H = G.data : null != (G = t.Base.StiFontCollection.getBinFont(n.Font.name, _.Regular)) && null != G.data && (H = G.data))) : (Q && null != (G = t.Base.StiFontCollection.getBinFont(n.Font.name, _.Regular)) && null != G.data && (H = G.data), Y && null != (G = t.Base.StiFontCollection.getBinFont(n.Font.name, _.Regular)) && null != G.data && (H = G.data)) } if (null == H) { var U = this.report.dictionary.resources.getByName(n.Font.name); null == U && (U = this.report.dictionary.resources.getByAlias(n.Font.name)), null != U && null != U.content && U.content.length > 0 && (H = new Uint8Array(U.content)) } } if (0 == this.standardPdfFonts) { this.addXref(this.info.fontList[e].fontDescriptor.ref), this.sw.writeLine("{0} 0 obj", this.info.fontList[e].fontDescriptor.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /FontDescriptor"), this.sw.writeLine("/FontName /{0}", i), this.sw.writeLine("/Flags 32"), this.sw.writeLine("/Ascent {0}", this.pdfFont.tmASC), this.sw.writeLine("/CapHeight {0}", this.pdfFont.CH), this.sw.writeLine("/Descent {0}", this.pdfFont.tmDESC), this.sw.writeLine("/FontBBox [{0} {1} {2} {3}]", this.pdfFont.LLX, this.pdfFont.LLY, this.pdfFont.URX, this.pdfFont.URY), this.sw.writeLine("/ItalicAngle {0}", this.pdfFont.ItalicAngle), this.sw.writeLine("/StemV {0}", this.pdfFont.StemV), 1 == this.embeddedFonts && null != H && this.sw.writeLine("/FontFile2 {0} 0 R", this.info.fontList[-1 == n.ParentFontNumber ? e : n.ParentFontNumber].fontFile2.ref); var J = 1 == this.useUnicodeMode; this.pdfComplianceMode != r.StiPdfComplianceMode.A2 && this.pdfComplianceMode != r.StiPdfComplianceMode.A3 || (J = !1), J && this.sw.writeLine("/CIDSet {0} 0 R", this.info.fontList[e].cIDSet.ref), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine("") } if (this.embeddedFonts) if (null != H && H.length > 0 && -1 == n.ParentFontNumber) { if (this.reduceFontSize) { var N = this.pdfFont.reduceFontSize(H, n.Name, !this.fontGlyphsReduceNotNeed[e]); null != N && (H = N) } if (this.addXref(this.info.fontList[e].fontFile2.ref), this.sw.writeLine("{0} 0 obj", this.info.fontList[e].fontFile2.ref), this.sw.writeLine("<<"), 1 == this.compressedFonts) { if (H.stimulsoft.is(Uint8Array)) { var I = r.StiExportUtils.makePdfDeflateStream(H); this.storeMemoryStream2(I, "/Length {0} /Filter [/FlateDecode] /Length1 " + H.length.toString()) } if (H.stimulsoft.is(u)) { var W = H.toArray() , I = r.StiExportUtils.makePdfDeflateStream(W); this.storeMemoryStream2(I, "/Length {0} /Filter [/FlateDecode] /Length1 " + H.length.toString()) } } else H.stimulsoft.is(Uint8Array) && this.storeMemoryStream3(H, "/Length {0} /Filter [] /Length1 " + H.length.toString()), H.stimulsoft.is(u) && this.storeMemoryStream2(H, "/Length {0} /Filter [] /Length1 " + H.length.toString()); this.sw.writeLine(""), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine("") } else this.addXref(this.info.fontList[e].fontFile2.ref), this.sw.writeLine("{0} 0 obj", this.info.fontList[e].fontFile2.ref), this.sw.writeLine("<< >>"), this.sw.writeLine("endobj"), this.sw.writeLine("") } } , Y.prototype.renderImageTable = function() { if (this.imageCache.imageStore.length > 0) for (var t = 0; t < this.imageCache.imageStore.length; t++) { var e = this.imageCacheIndexToList.get(t) , i = this.imageCache.imagePackedStore[t] , n = this.imageCache.imageMaskStore[t] , a = e.ImageFormat; this.addXref(this.info.xObjectList[t].ref), this.sw.writeLine("{0} 0 obj", this.info.xObjectList[t].ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /XObject"), this.sw.writeLine("/Subtype /Image"), this.sw.writeLine("/ColorSpace /{0}", a == r.StiImageFormat.Monochrome ? "DeviceGray" : "DeviceRGB"), this.sw.writeLine("/Width {0}", e.Width), this.sw.writeLine("/Height {0}", e.Height), this.sw.writeLine("/BitsPerComponent {0}", a == r.StiImageFormat.Monochrome ? "1" : "8"), this.imageInterpolationTable.containsKey(t) && this.sw.writeLine("/Interpolate true"), null != n && this.sw.writeLine("/SMask {0} 0 R", this.info.xObjectList[t].mask.ref), this.sw.writeLine("/Name /{0}", e.Name); var s = "DCTDecode"; this.imageCompressionMethod == r.StiPdfImageCompressionMethod.Flate && (s = "FlateDecode"), null == i && (i = [56, 48, 56, 48, 56, 48], s = "ASCIIHexDecode"); var l = "/Length {0} " + o.format("/Filter [/{0}]", s) , c = new u; if (c.write(i, 0, i.length), this.storeMemoryStream2(c, l), this.sw.writeLine(""), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine(""), null != n) { this.addXref(this.info.xObjectList[t].mask.ref), this.sw.writeLine("{0} 0 obj", this.info.xObjectList[t].mask.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /XObject"), this.sw.writeLine("/Subtype /Image"), this.sw.writeLine("/ColorSpace /DeviceGray"), this.sw.writeLine("/Matte [ 0 0 0 ]"), this.sw.writeLine("/Width {0}", e.Width), this.sw.writeLine("/Height {0}", e.Height), this.sw.writeLine("/BitsPerComponent 8"), this.imageInterpolationTable.containsKey(t) && this.sw.writeLine("/Interpolate true"); var m = "/Length {0} /Filter /FlateDecode" , p = new u; p.write(n, 0, n.length), this.storeMemoryStream2(p, m), this.sw.writeLine(""), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine("") } } } , Y.prototype.renderPatternTable = function() { if (this.addXref(this.info.patterns.resources.ref), this.sw.writeLine("{0} 0 obj", this.info.patterns.resources.ref), this.sw.writeLine("<< /ProcSet [/PDF] >>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(this.info.patterns.first.ref), this.sw.writeLine("{0} 0 obj", this.info.patterns.first.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Pattern"), this.sw.writeLine("/PatternType 1"), this.sw.writeLine("/PaintType 1"), this.sw.writeLine("/TilingType 1"), this.sw.writeLine("/BBox [0 0 2 2]"), this.sw.writeLine("/XStep 3"), this.sw.writeLine("/YStep 3"), this.sw.writeLine("/Resources {0} 0 R", this.info.patterns.resources.ref), this.pageStream = new u, this.pageStream.writeLine("1 J 1 j 1 w"), this.pageStream.writeLine("1 0 0 RG"), this.pageStream.writeString("1 1 m 1.1 1.1 l S"), this.storeMemoryStream2(this.pageStream, "/Length {0}"), this.sw.writeLine(""), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.hatchArray.length > 0) for (var t = 0; t < this.hatchArray.length; t++) this.writeHatchPattern(t); if (this.shadingArray.length > 0) for (var e = 0; e < this.shadingArray.length; e++) this.writeShadingPattern(e); this.pageStream.close() } , Y.prototype.writeHatchPattern = function(t) { var e = this.hatchArray[t] , i = e.style; i > 53 && (i = 53), this.addXref(this.info.patterns.hatchItems[t].ref), this.sw.writeLine("{0} 0 obj", this.info.patterns.hatchItems[t].ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Pattern"), this.sw.writeLine("/PatternType 1"), this.sw.writeLine("/PaintType 1"), this.sw.writeLine("/TilingType 1"), this.sw.writeLine("/BBox [0 0 1 1]"), this.sw.writeLine("/XStep 1"), this.sw.writeLine("/YStep 1"), this.sw.writeLine("/Resources {0} 0 R", this.info.patterns.resources.ref), this.sw.writeLine("/Matrix [5.5 0 0 5.5 0 0]"); var n = new u; 0 != e.backColor.a && (n.writeLine("{0} {1} {2} rg", this.colorTable[e.backColor.r], this.colorTable[e.backColor.g], this.colorTable[e.backColor.b]), n.writeLine("0 0 1 1 re f")), n.writeLine("{0} {1} {2} rg", this.colorTable[e.foreColor.r], this.colorTable[e.foreColor.g], this.colorTable[e.foreColor.b]), n.writeLine("BI"), n.writeLine("/W 8"), n.writeLine("/H 8"), n.writeLine("/BPC 1"), n.writeLine("/IM true"), n.writeLine("/D [1 0]"), n.writeLine("/F [/AHx]"), n.writeLine("ID"), n.writeLine(r.StiPdfResources.hatchData[i] + ">"), n.writeLine("EI"), n.flush(), this.storeMemoryStream2(n, "/Length {0}"), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine("") } , Y.prototype.writeShadingPattern = function(t) { var e = this.shadingArray[t] , r = 1 , i = 1 , n = e.Angle; n < 0 && (n += 360), n >= 270 && n < 360 && (n = 360 - n, i = -1), n >= 180 && n < 270 && (n -= 180, i = -1, r = -1), n >= 90 && n < 180 && (n = 180 - n, r = -1), n = n * Math.PI / 180; var o = e.X + e.Width / 2 , a = e.Y + e.Height / 2 , s = Math.sqrt(e.Width * e.Width + e.Height * e.Height) / 2 , l = Math.atan2(e.Height, e.Width) , c = Math.PI / 2 - n + l , m = s * Math.sin(c) , p = m * Math.cos(n) * r , h = m * Math.sin(n) * i , d = o - p , g = o + p , f = a + h , S = a - h; this.addXref(this.info.patterns.shadingItems[t].ref), this.sw.writeLine("{0} 0 obj", this.info.patterns.shadingItems[t].ref), this.sw.writeLine("<<"), this.sw.writeLine("/PatternType 2"), this.sw.writeLine("/Shading <<"), this.sw.writeLine("/ColorSpace /DeviceRGB"), this.sw.writeLine("/ShadingType 2"), this.sw.writeLine("/Coords [ {0} {1} {2} {3} ]", this.convertToString(d), this.convertToString(f), this.convertToString(g), this.convertToString(S)), this.sw.writeLine("/Extend [ true true ]"), this.sw.writeLine("/Function {0} 0 R", this.info.patterns.shadingItems[t].function.ref), this.sw.writeLine(">>"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(this.info.patterns.shadingItems[t].function.ref), this.sw.writeLine("{0} 0 obj", this.info.patterns.shadingItems[t].function.ref), this.sw.writeLine("<<"), this.sw.writeLine("/FunctionType 0"), this.sw.writeLine("/Size [ 3 ]"), this.sw.writeLine("/Decode [ 0 1 0 1 0 1 ]"), this.sw.writeLine("/Range [ 0 1 0 1 0 1 ]"), this.sw.writeLine("/BitsPerSample 8"), this.sw.writeLine("/Domain [ 0 1 ]"), this.sw.writeLine("/Encode [ 0 {0} ]", e.IsGlare ? 2 : 1), this.sw.writeLine("/Order 1"); var A = new u; A.writeByte(e.Color1.r), A.writeByte(e.Color1.g), A.writeByte(e.Color1.b), A.writeByte(e.Color2.r), A.writeByte(e.Color2.g), A.writeByte(e.Color2.b), A.writeByte(e.Color1.r), A.writeByte(e.Color1.g), A.writeByte(e.Color1.b), this.storeMemoryStream2(A, "/Length {0}"), this.sw.writeLine(""), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine("") } , Y.prototype.renderAnnotTable = function() { if (this.haveAnnots || this.haveDigitalSignature || this.haveTooltips) { this.addXref(this.info.acroForm.ref), this.sw.writeLine("{0} 0 obj", this.info.acroForm.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Fields ["); for (var e = 0; e < this.annotsCounter; e++) this.sw.writeLine("{0} 0 R", this.info.acroForm.annots[e].ref); for (var e = 0; e < this.annots2Counter; e++) for (var i = 0; i < this.info.acroForm.checkBoxes[e].items.length; i++) this.sw.writeLine("{0} 0 R", this.info.acroForm.checkBoxes[e].items[i].ref); for (var e = 0; e < this.unsignedSignaturesCounter; e++) this.sw.writeLine("{0} 0 R", this.info.acroForm.unsignedSignatures[e].ref); this.haveDigitalSignature && this.sw.writeLine("{0} 0 R", this.info.acroForm.signatures[0].ref); for (var e = 0; e < this.tooltipsCounter; e++) this.sw.writeLine("{0} 0 R", this.info.acroForm.tooltips[e].ref); if (this.sw.writeLine("]"), this.sw.writeLine("/DR <<"), this.annotsCounter > 0 || this.annots2Counter > 0) { this.sw.writeLine("/Font <<"); for (var e = 0; e < this.fontsCounter; e++) this.sw.writeLine("/FA{0} {1} 0 R", e, this.info.acroForm.annotFontItems[e].ref); this.sw.writeLine(">>") } if (this.sw.writeLine(">>"), this.haveAnnots && this.fontsCounter > 0 && this.storeStringLine("/DA ", "/FA0 0 Tf 0 g"), this.haveDigitalSignature && this.sw.writeLine("/SigFlags 3"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.haveAnnots) { for (var n = new f, e = 0; e < this.annotsCounter; e++) { var a = this.annotsArray[e] , s = ""; if (StiOptions.Export.Pdf.useEditableFieldName && (s = a.Component.name), StiOptions.Export.Pdf.useEditableFieldAlias && (s = a.Component.alias), StiOptions.Export.Pdf.useEditableFieldTag && (s = a.Component.tagValue), o.isNullOrEmpty(s) && (s = o.format("Field{0}", e)), n.containsKey(s)) { var l = 2 , c = ""; while (n.containsKey(s + c)) c = "_" + l.toString(), l++; s += c } n.add(s, s), this.addXref(this.info.acroForm.annots[e].ref), this.sw.writeLine("{0} 0 obj", this.info.acroForm.annots[e].ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Annot"), this.sw.writeLine("/Subtype /Widget"), this.sw.writeLine("/Rect [{0} {1} {2} {3}]", this.convertToString(a.X), this.convertToString(a.Y), this.convertToString(a.X + a.Width), this.convertToString(a.Y + a.Height)), this.sw.writeLine("/F 4"), this.sw.writeLine("/P {0} 0 R", this.info.pageList[a.Page].ref), this.sw.writeLine("/FT /Tx"), this.sw.writeLine("/BS << /W 0 >>"), this.storeStringLine("/T ", s), this.sw.writeLine("/MK << /TP 2 >>"), this.sw.writeLine("/H /P"), this.sw.writeLine("/AP << /N {0} 0 R >>", this.info.acroForm.annots[e].aP.ref); var m = a.Multiline ? 4096 : 0; null != a.Component.stimulsoft.as(A) && null != a.Component.stimulsoft.as(A).TextOptions && a.Component.stimulsoft.as(A).TextOptions.LineLimit && (m |= 8388608), this.sw.writeLine("/Ff {0}", m), this.storeStringLine("/DA ", o.format("/FA{0} {1} Tf {2} {3} {4} rg", a.FontNumber, this.convertToString(a.FontSize, this.precision_digits_font), this.colorTable[a.FontColor.r], this.colorTable[a.FontColor.g], this.colorTable[a.FontColor.b])), this.storeStringLine("/V ", a.Text), this.storeStringLine("/DV ", a.Text), this.sw.writeLine("/Q {0}", (a.Alignment == t.Base.Drawing.StiTextHorAlignment.Center ? 1 : 0) + (a.Alignment == t.Base.Drawing.StiTextHorAlignment.Right ? 2 : 0)), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(this.info.acroForm.annots[e].aP.ref), this.sw.writeLine("{0} 0 obj", this.info.acroForm.annots[e].aP.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Subtype /Form"), this.sw.writeLine("/BBox [{0} {1} {2} {3}]", this.convertToString(0), this.convertToString(0), this.convertToString(a.Width), this.convertToString(a.Height)), this.sw.writeLine("/Resources <<"), this.sw.writeLine("/ProcSet [ /PDF /Text ]"), this.sw.writeLine("/Font << /F{0} {1} 0 R >> >>", a.FontNumber, this.info.fontList[a.FontNumber].ref); var p = new u; p.writeLine("/Tx BMC"), p.writeLine("q"); var h = 1; p.writeLine("{0} {1} {2} {3} re W n", this.convertToString(h), this.convertToString(h), this.convertToString(a.Width - h), this.convertToString(a.Height - h)), p.flush(), p.write(a.Content, 0, a.Content.length), p.writeLine("Q"), p.writeLine("EMC"), p.flush(), this.storeMemoryStream2(p, "/Filter [] /Length {0}"), this.sw.writeLine(""), p.close(), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine("") } for (var d = 0; d < this.fontsCounter; d++) { this.pdfFont.currentFont = d; var g = this.pdfFont.fontList[d] , y = g.Name; StiOptions.Export.Pdf.useAlternativeFontNames && StiOptions.Export.Pdf.alternativeFontNames.containsKey(y) && (y = StiOptions.Export.Pdf.alternativeFontNames.get(y)); var w = new S(this.stringReplace(y, " ", "#20")); if ((g.Bold || g.Italic) && (w.append(","), g.Bold && w.append("Bold"), g.Italic && w.append("Italic")), this.addXref(this.info.acroForm.annotFontItems[d].ref), this.sw.writeLine("{0} 0 obj", this.info.acroForm.annotFontItems[d].ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Font"), this.sw.writeLine("/Subtype /TrueType"), this.sw.writeLine("/Name /FA{0}", d), this.sw.writeLine("/BaseFont /{0}", w), this.sw.writeLine("/Encoding /WinAnsiEncoding"), this.sw.writeLine("/FontDescriptor {0} 0 R", this.info.acroForm.annotFontItems[d].fontDescriptor.ref), this.fontGlyphsReduceNotNeed[d]) { for (var b = new S(" "), v = 32; v < 256; v++) b.append(this.pdfFont.Widths[this.pdfFont.UnicodeMap[this.CodePage1252[v]] - 32].toString() + " "); this.sw.writeLine("/FirstChar 32"), this.sw.writeLine("/LastChar 255"), this.sw.writeLine("/Widths [{0}]", b) } this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(this.info.acroForm.annotFontItems[d].fontDescriptor.ref), this.sw.writeLine("{0} 0 obj", this.info.acroForm.annotFontItems[d].fontDescriptor.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /FontDescriptor"), this.sw.writeLine("/FontName /{0}", w), this.sw.writeLine("/Flags 32"), this.sw.writeLine("/Ascent {0}", this.pdfFont.tmASC), this.sw.writeLine("/CapHeight {0}", this.pdfFont.CH), this.sw.writeLine("/Descent {0}", -this.pdfFont.tmDESC), this.sw.writeLine("/FontBBox [{0} {1} {2} {3}]", -500, -200, 1500, 1e3), this.sw.writeLine("/ItalicAngle {0}", this.pdfFont.ItalicAngle), this.sw.writeLine("/StemV {0}", this.pdfFont.StemV), 1 == this.embeddedFonts && this.sw.writeLine("/FontFile2 {0} 0 R", this.info.fontList[d].fontFile2.ref), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine("") } for (var e = 0; e < this.annots2Counter; e++) { var a = this.annots2Array[e] , s = ""; if (StiOptions.Export.Pdf.useEditableFieldName && (s = a.Component.name), StiOptions.Export.Pdf.useEditableFieldAlias && (s = a.Component.alias), StiOptions.Export.Pdf.useEditableFieldTag && (s = a.Component.tagValue), o.isNullOrEmpty(s) && (s = o.format("Checkbox{0}", e + 1)), n.containsKey(s)) { var l = 2 , c = ""; while (n.containsKey(s + c)) c = "_" + l.toString(), l++; s += c } n.add(s, s); var C = .01 , E = a.Component.stimulsoft.as(k) , B = r.StiPdfRenderPrimitives.getCheckBoxValue(E); if (null == B && (B = !1), this.info.acroForm.checkBoxes[e].items.length > 1) { var T = this.info.acroForm.checkBoxes[e].items[0]; this.addXref(T.ref), this.sw.writeLine("{0} 0 obj", T.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Annot"), this.sw.writeLine("/Subtype /Widget"), this.sw.writeLine("/FT /Btn"), this.sw.writeLine("/Rect [{0} {1} {2} {3}]", this.convertToString(a.X), this.convertToString(a.Y), this.convertToString(a.X + a.Width - C), this.convertToString(a.Y + a.Height - C)), this.sw.writeLine("/F {0}", 4 + (3 == this.info.acroForm.checkBoxes[e].items.length || 0 == B ? 2 : 0)), this.sw.writeLine("/P {0} 0 R", this.info.pageList[a.Page].ref), this.storeStringLine("/T ", s + "Yes"), this.sw.writeLine("/MK << >>"), this.sw.writeLine("/Ff 65536"), this.sw.writeLine("/A {0} 0 R", T.aA[0].ref), this.sw.writeLine("/AP << /N {0} 0 R >>", T.aP.ref), this.sw.writeLine("/H /O"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(T.aP.ref), this.sw.writeLine("{0} 0 obj", T.aP.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /XObject"), this.sw.writeLine("/Subtype /Form"), this.sw.writeLine("/FormType 1"), this.sw.writeLine("/BBox [{0} {1} {2} {3}]", this.convertToString(0), this.convertToString(0), this.convertToString(a.Width), this.convertToString(a.Height)), this.sw.writeLine("/Matrix [ 1 0 0 1 0 0 ]"), this.sw.writeLine("/Resources <<"), this.sw.writeLine("/ProcSet [ /PDF ]"), this.sw.writeLine("/Pattern"), this.sw.writeLine("<<"); for (var I = 0; I < this.hatchArray.length; I++) this.sw.writeLine(o.format("/PH{0} {1} 0 R", 1 + I, this.info.patterns.hatchItems[I].ref)); for (var I = 0; I < this.shadingArray.length; I++) this.sw.writeLine(o.format("/P{0} {1} 0 R", 2 + I, this.info.patterns.shadingItems[I].ref)); this.sw.writeLine(">>"), this.sw.writeLine("/ColorSpace 3 0 R"), this.sw.writeLine(">>"); var p = new u; p.writeLine("/Tx BMC"), p.writeLine("q"); var h = 1; p.writeLine("{0} {1} {2} {3} re W n", this.convertToString(h), this.convertToString(h), this.convertToString(a.Width - h), this.convertToString(a.Height - h)), p.flush(), p.write(a.Content, 0, a.Content.length), p.writeLine("Q"), p.writeLine("EMC"), p.flush(), this.storeMemoryStream2(p, "/Filter [] /Length {0}"), this.sw.writeLine(""), p.close(), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(T.aA[0].ref), this.sw.writeLine("{0} 0 obj", T.aA[0].ref), this.sw.writeLine("<<"), this.sw.writeLine("/Next {0} 0 R", T.aA[1].ref), this.sw.writeLine("/S /Hide"), this.sw.writeLine("/T ({0})", s + "Yes"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(T.aA[1].ref), this.sw.writeLine("{0} 0 obj", T.aA[1].ref), this.sw.writeLine("<<"), this.sw.writeLine("/H false"), this.sw.writeLine("/S /Hide"), this.sw.writeLine("/T ({0})", s + "No"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), T = this.info.acroForm.checkBoxes[e].items[1], this.addXref(T.ref), this.sw.writeLine("{0} 0 obj", T.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Annot"), this.sw.writeLine("/Subtype /Widget"), this.sw.writeLine("/FT /Btn"), this.sw.writeLine("/Rect [{0} {1} {2} {3}]", this.convertToString(a.X), this.convertToString(a.Y), this.convertToString(a.X + a.Width - C), this.convertToString(a.Y + a.Height - C)), this.sw.writeLine("/F {0}", 4 + (3 == this.info.acroForm.checkBoxes[e].items.length || 1 == B ? 2 : 0)), this.sw.writeLine("/P {0} 0 R", this.info.pageList[a.Page].ref), this.storeStringLine("/T ", s + "No"), this.sw.writeLine("/MK << >>"), this.sw.writeLine("/Ff 65536"), this.sw.writeLine("/A {0} 0 R", T.aA[0].ref), this.sw.writeLine("/AP << /N {0} 0 R >>", T.aP.ref), this.sw.writeLine("/H /O"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(T.aP.ref), this.sw.writeLine("{0} 0 obj", T.aP.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /XObject"), this.sw.writeLine("/Subtype /Form"), this.sw.writeLine("/FormType 1"), this.sw.writeLine("/BBox [{0} {1} {2} {3}]", this.convertToString(0), this.convertToString(0), this.convertToString(a.Width), this.convertToString(a.Height)), this.sw.writeLine("/Matrix [ 1 0 0 1 0 0 ]"), this.sw.writeLine("/Resources <<"), this.sw.writeLine("/ProcSet [ /PDF ]"), this.sw.writeLine("/Pattern"), this.sw.writeLine("<<"); for (var I = 0; I < this.hatchArray.length; I++) this.sw.writeLine(o.format("/PH{0} {1} 0 R", 1 + I, this.info.patterns.hatchItems[I].ref)); for (var I = 0; I < this.shadingArray.length; I++) this.sw.writeLine(o.format("/P{0} {1} 0 R", 2 + I, this.info.patterns.shadingItems[I].ref)); this.sw.writeLine(">>"), this.sw.writeLine("/ColorSpace 3 0 R"), this.sw.writeLine(">>"), p = new u, p.writeLine("/Tx BMC"), p.writeLine("q"), h = 1, p.writeLine("{0} {1} {2} {3} re W n", this.convertToString(h), this.convertToString(h), this.convertToString(a.Width - h), this.convertToString(a.Height - h)), p.flush(), p.write(a.Content2, 0, a.Content2.length), p.writeLine("Q"), p.writeLine("EMC"), p.flush(), this.storeMemoryStream2(p, "/Filter [] /Length {0}"), this.sw.writeLine(""), p.close(), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(T.aA[0].ref), this.sw.writeLine("{0} 0 obj", T.aA[0].ref), this.sw.writeLine("<<"), this.sw.writeLine("/H false"), this.sw.writeLine("/Next {0} 0 R", T.aA[1].ref), this.sw.writeLine("/S /Hide"), this.sw.writeLine("/T ({0})", s + "Yes"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(T.aA[1].ref), this.sw.writeLine("{0} 0 obj", T.aA[1].ref), this.sw.writeLine("<<"), this.sw.writeLine("/S /Hide"), this.sw.writeLine("/T ({0})", s + "No"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine("") } if (3 == this.info.acroForm.checkBoxes[e].items.length) { var T = this.info.acroForm.checkBoxes[e].items[2]; this.addXref(T.ref), this.sw.writeLine("{0} 0 obj", T.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Annot"), this.sw.writeLine("/Subtype /Widget"), this.sw.writeLine("/FT /Btn"), this.sw.writeLine("/Rect [{0} {1} {2} {3}]", this.convertToString(a.X), this.convertToString(a.Y), this.convertToString(a.X + a.Width - C), this.convertToString(a.Y + a.Height - C)), this.sw.writeLine("/F 4"), this.sw.writeLine("/P {0} 0 R", this.info.pageList[a.Page].ref), this.storeStringLine("/T ", s + "None"), this.sw.writeLine("/MK << >>"), this.sw.writeLine("/Ff 65536"), this.sw.writeLine("/A {0} 0 R", T.aA[0].ref), this.sw.writeLine("/H /O"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(T.aA[0].ref), this.sw.writeLine("{0} 0 obj", T.aA[0].ref), this.sw.writeLine("<<"), this.sw.writeLine("/Next {0} 0 R", T.aA[1].ref), this.sw.writeLine("/S /Hide"), this.sw.writeLine("/T ({0})", s + "None"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(T.aA[1].ref), this.sw.writeLine("{0} 0 obj", T.aA[1].ref), this.sw.writeLine("<<"), this.sw.writeLine("/H false"), this.sw.writeLine("/S /Hide"), this.sw.writeLine("/T ({0})", s + (E.checkStyleForTrue == t.Report.Components.StiCheckStyle.None ? "No" : "Yes")), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine("") } } for (var e = 0; e < this.unsignedSignaturesCounter; e++) { var a = this.unsignedSignaturesArray[e] , s = ""; if (StiOptions.Export.Pdf.useEditableFieldName && (s = a.Component.name), StiOptions.Export.Pdf.useEditableFieldAlias && (s = a.Component.alias), StiOptions.Export.Pdf.useEditableFieldTag && (s = a.Component.tagValue), o.isNullOrEmpty(s) && (s = o.format("UnsignedSignature{0}", e)), n.containsKey(s)) { var l = 2 , c = ""; while (n.containsKey(s + c)) c = "_" + l.toString(), l++; s += c } n.add(s, s); var x = this.info.acroForm.unsignedSignatures[e].ref; this.addXref(x), this.sw.writeLine("{0} 0 obj", x), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Annot"), this.sw.writeLine("/Subtype /Widget"), this.sw.writeLine("/Rect [{0} {1} {2} {3}]", this.convertToString(a.X), this.convertToString(a.Y), this.convertToString(a.X + a.Width), this.convertToString(a.Y + a.Height)), this.sw.writeLine("/F 4"), this.sw.writeLine("/P {0} 0 R", this.info.pageList[a.Page].ref), this.sw.writeLine("/FT /Sig"), this.storeStringLine("/T ", s), this.sw.writeLine("/MK << >>"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine("") } } } } , Y.prototype.renderEncodeRecord = function() { this.encrypted && (this.addXref(this.info.encode.ref), this.sw.writeLine("{0} 0 obj", this.info.encode.ref), this.sw.writeLine("<<"), this.pdfSecurity.renderEncodeRecord(this.sw), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine("")) } , Y.prototype.renderExtGStateRecord = function() { this.addXref(this.info.extGState.ref), this.sw.writeLine("{0} 0 obj", this.info.extGState.ref), this.sw.writeLine("<<"); for (var t = 0; t < 256; t++) if (this.alphaTable[t]) { var e = o.format("{0:X2}", t).toUpperCase(); this.sw.writeLine("/GS{0}S <>", e, this.colorTable[t]), this.sw.writeLine("/GS{0}N <>", e, this.colorTable[t]) } this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine("") } , Y.prototype.storeImageData = function(e, r, i, n) { null != e && e.tryConvertSync(t.System.Drawing.Imaging.ImageFormat.Jpeg); var a = this.imageCache.addImageInt(e) , s = new j; return null != e && null != e.bytes ? (s.Width = e.width, s.Height = e.height) : (s.Width = 1, s.Height = 1), s.Name = o.format("Image{0}", a), s.ImageFormat = this.imageFormat, this.imageList.add(s), this.imageCacheIndexToList.set(a, s), n && this.imageInterpolationTable.set(a, !0), r } , Y.prototype.writeImageInfo = function(t, e) { var i = this.imageList[this.imagesCurrent]; this.imagesCurrent++; var o = t.Component.stimulsoft.as(F); if (this.imageResolutionMode != r.StiImageResolutionMode.Exactly && null != o && !o.margins.isEmpty) { var a = this.hiToTwips * o.margins.left , s = this.hiToTwips * o.margins.right , u = this.hiToTwips * o.margins.top , c = this.hiToTwips * o.margins.bottom; 0 != a && (t.X += a, t.Width -= a), 0 != c && (t.Y += c, t.Height -= c), 0 != s && (t.Width -= s), 0 != u && (t.Height -= u) } var m = n.None; null != o && (m = o.imageRotation); var p = i.Width , h = i.Height; m != n.Rotate90CCW && m != n.Rotate90CW || (p = i.Height, h = i.Width); var d = t.X , g = t.Y , f = this.hiToTwips * (p - 1) / e , S = this.hiToTwips * (h - 1) / e , A = !1; if (this.imageResolutionMode != r.StiImageResolutionMode.Exactly && null != o && null != o.imageToDraw) { var y = o.imageToDraw , w = o.getPaintRectangle(!0, !1); w = o.convertImageMargins(w, !1); var b = new D(0,0,w.width,w.height); if (o.stretch) { var v = p , C = h; if (null == y && (v = 1, C = 1), o.aspectRatio) { var E = b.width / v , B = b.height / C; switch (E > B ? b.width = v * B : b.height = C * E, o.vertAlignment) { case P.Center: b.y = (w.height - b.height) / 2; break; case P.Top: b.y = w.height - b.height; break } switch (o.horAlignment) { case R.Center: b.x = (w.width - b.width) / 2; break; case R.Right: b.x = w.width - b.width; break } d += b.x * this.hiToTwips, g += b.y * this.hiToTwips, f = b.width * this.hiToTwips, S = b.height * this.hiToTwips } else f = t.Width, S = t.Height } else { var v = p * o.multipleFactor , C = h * o.multipleFactor; switch (null != y && null != y.bytes || (v = 1, C = 1), b.width = v, b.height = C, o.horAlignment) { case R.Center: b.x = (w.width - v) / 2; break; case R.Right: b.x = w.width - v; break } switch (o.vertAlignment) { case P.Center: b.y = (w.height - C) / 2; break; case P.Top: b.y = w.height - C; break } d += b.x * this.hiToTwips, g += b.y * this.hiToTwips, f = b.width * this.hiToTwips, S = b.height * this.hiToTwips, A = !0 } } this.pageStream.writeLine("q"), this.pushColorToStack(), this.setNonStrokeColor(l.black), A && this.pageStream.writeLine("{0} {1} {2} {3} re W n", this.convertToString(t.X), this.convertToString(t.Y), this.convertToString(t.Width), this.convertToString(t.Height)), m == n.None ? this.pageStream.writeLine("{0} 0 0 {1} {2} {3} cm", this.convertToString(f), this.convertToString(S), this.convertToString(d), this.convertToString(g)) : (this.pageStream.writeLine("1 0 0 1 {0} {1} cm", this.convertToString(d + f / 2), this.convertToString(g + S / 2)), m == n.Rotate90CCW && this.pageStream.writeLine("0 1 -1 0 0 0 cm"), m == n.Rotate90CW && this.pageStream.writeLine("0 -1 1 0 0 0 cm"), m == n.Rotate180 && this.pageStream.writeLine("-1 0 0 -1 0 0 cm"), m == n.FlipHorizontal && this.pageStream.writeLine("-1 0 0 1 0 0 cm"), m == n.FlipVertical && this.pageStream.writeLine("1 0 0 -1 0 0 cm"), m == n.Rotate90CCW || m == n.Rotate90CW ? this.pageStream.writeLine("{0} 0 0 {1} {2} {3} cm", this.convertToString(S), this.convertToString(f), this.convertToString(-S / 2), this.convertToString(-f / 2)) : this.pageStream.writeLine("{0} 0 0 {1} {2} {3} cm", this.convertToString(f), this.convertToString(S), this.convertToString(-f / 2), this.convertToString(-S / 2))), this.pageStream.writeLine("/{0} Do", i.Name), this.pageStream.writeLine("Q"), this.popColorFromStack() } , Y.prototype.renderImage = function(t, r) { if (this.imageInfoList.containsKey(this.imageInfoCounter)) { var i = this.imageInfoList.get(this.imageInfoCounter); this.writeImageInfo(t, i) } else { var n = t.Component.stimulsoft.as(N); if (null != n && t.Component.isExportAsImage(e.StiExportFormat.Pdf)) { var i = r , o = { ref: i } , a = n.getImage(o, e.StiExportFormat.Pdf); i = o.ref, null != a && null != a.bytes && this.writeImageInfo(t, i) } } } , Y.prototype.renderWatermark = function(e, i, n, a, s) { var u = e.watermark; if (null != u && u.enabled) { if (null != u.image && u.showImageBehind == i) { var c = this.imageList[this.imagesCurrent] , m = c.Width * this.hiToTwips * u.imageMultipleFactor , p = c.Height * this.hiToTwips * u.imageMultipleFactor , h = 0 , d = 0 , g = 1 , f = 1 , S = u.imageAlignment , y = u.imageTiling; if (u.imageStretch) { var w = p / m; m = n, p = a, y = !1, u.aspectRatio && (a / n > w ? p = m * w : m = p / w) } switch ((u.imageStretch || u.imageMultipleFactor > 1) && this.imageInterpolationTable.set(this.imageCache.imageIndex[this.imagesCurrent], !0), y && (S = t.System.Drawing.ContentAlignment.TopLeft, g = Math.round2(n / m) + 1, f = Math.round2(a / p) + 1), S) { case t.System.Drawing.ContentAlignment.TopCenter: case t.System.Drawing.ContentAlignment.MiddleCenter: case t.System.Drawing.ContentAlignment.BottomCenter: h = (n - m) / 2; break; case t.System.Drawing.ContentAlignment.TopRight: case t.System.Drawing.ContentAlignment.MiddleRight: case t.System.Drawing.ContentAlignment.BottomRight: h = n - m; break } switch (S) { case t.System.Drawing.ContentAlignment.TopLeft: case t.System.Drawing.ContentAlignment.TopCenter: case t.System.Drawing.ContentAlignment.TopRight: d = a - p; break; case t.System.Drawing.ContentAlignment.MiddleLeft: case t.System.Drawing.ContentAlignment.MiddleCenter: case t.System.Drawing.ContentAlignment.MiddleRight: d = (a - p) / 2; break } this.setNonStrokeColor(l.fromArgb(255 - u.imageTransparency, l.black)); for (var b = 0; b < f; b++) for (var v = 0; v < g; v++) this.pageStream.writeLine("q"), this.pushColorToStack(), this.pageStream.writeLine("{0} 0 0 {1} {2} {3} cm", this.convertToString(m), this.convertToString(p), this.convertToString(h + m * v), this.convertToString(d - p * b)), this.pageStream.writeLine("/{0} Do", c.Name), this.pageStream.writeLine("Q"), this.popColorFromStack(); this.imagesCurrent++ } if (!o.isNullOrEmpty(u.text) && u.showBehind == i) { var C = new L(this); C.X = 0, C.Y = 0, C.Width = n, C.Height = a; var E = new A(new D(C.X,C.Y,C.Width,C.Height)); E.text = u.text, E.textBrush = u.textBrush, E.font = u.font, E.textOptions = new t.Base.Drawing.StiTextOptions, E.textOptions.angle = u.angle, E.horAlignment = t.Base.Drawing.StiTextHorAlignment.Center, E.vertAlignment = P.Center, E.page = e, E.textQuality = t.Report.Components.StiTextQuality.Standard, C.Component = E, r.StiPdfRenderText.renderTextFont(C), r.StiPdfRenderText.renderText(C) } } } , Y.prototype.storeShadingData1 = function(t, e) { if (null != t) { if (t.stimulsoft.is(p)) { var r = t.stimulsoft.as(p) , i = new H; i.Angle = r.angle, i.Color1 = r.startColor, i.Color2 = r.endColor, i.Page = e, this.shadingArray.add(i) } if (t.stimulsoft.is(h)) { var r = t.stimulsoft.as(h) , i = new H; i.Angle = r.angle, i.Color1 = r.startColor, i.Color2 = r.endColor, i.IsGlare = !0, i.Page = e, this.shadingArray.add(i) } } } , Y.prototype.storeShadingData2 = function(t, e, r, i, n) { if (null != n && (n.stimulsoft.is(p) || n.stimulsoft.is(h))) { var o = this.shadingArray[this.shadingCurrent]; o.X = t, o.Y = e, o.Width = r, o.Height = i, this.shadingArray[this.shadingCurrent] = o, this.shadingCurrent++ } return this.shadingCurrent } , Y.prototype.storeHatchData = function(t) { if (null != t && (t.stimulsoft.is(d) && this.getHatchNumber(t.stimulsoft.as(d)), t.stimulsoft.is(g))) { t.stimulsoft.as(g).drawHatch } } , Y.prototype.renderMetadata = function(e) { var i, n, a = new u; a.writeString('\r\n'); var s = new u , l = new T(t.System.Text.Encoding.UTF8,s); if (l.formatting = t.System.Xml.Formatting.Indented, l.writeStartElement("x:xmpmeta"), l.writeAttributeString("xmlns:x", "adobe:ns:meta/"), l.writeAttributeString("x:xmptk", "Adobe XMP Core 4.0-c316 44.253921, Sun Oct 01 2006 17:14:39"), l.writeStartElement("rdf:RDF"), l.writeAttributeString("xmlns:rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#"), l.writeStartElement("rdf:Description"), l.writeAttributeString("rdf:about", ""), l.writeAttributeString("xmlns:xap", "http://ns.adobe.com/xap/1.0/"), l.writeElementString("xap:ModifyDate", this.currentDateTimeMeta), l.writeElementString("xap:CreateDate", this.currentDateTimeMeta), l.writeElementString("xap:MetadataDate", this.currentDateTimeMeta), l.writeElementString("xap:CreatorTool", StiOptions.Export.Pdf.creatorString), l.writeFullEndElement(), l.writeStartElement("rdf:Description"), l.writeAttributeString("rdf:about", ""), l.writeAttributeString("xmlns:dc", "http://purl.org/dc/elements/1.1/"), l.writeElementString("dc:format", "application/pdf"), l.writeStartElement("dc:title"), l.writeStartElement("rdf:Alt"), o.isNullOrEmpty(e.reportName) || (l.writeStartElement("rdf:li"), l.writeAttributeString("xml:lang", "x-default"), l.writeString(e.reportName), l.writeFullEndElement()), l.writeEndElement(), l.writeFullEndElement(), l.writeStartElement("dc:description"), l.writeStartElement("rdf:Alt"), o.isNullOrEmpty(e.reportAlias) || (l.writeStartElement("rdf:li"), l.writeAttributeString("xml:lang", "x-default"), l.writeString(e.reportAlias), l.writeFullEndElement()), l.writeEndElement(), l.writeFullEndElement(), l.writeStartElement("dc:creator"), l.writeStartElement("rdf:Seq"), o.isNullOrEmpty(e.reportAuthor) || (l.writeStartElement("rdf:li"), l.writeAttributeString("xml:lang", "x-default"), l.writeString(e.reportAuthor), l.writeFullEndElement()), l.writeEndElement(), l.writeFullEndElement(), l.writeStartElement("dc:subject"), l.writeStartElement("rdf:Bag"), !o.isNullOrEmpty(this.keywords)) { var c = this.keywords.split(";"); try { for (var m = __values(c), p = m.next(); !p.done; p = m.next()) { var h = p.value; l.writeStartElement("rdf:li"), l.writeString(h.trim()), l.writeFullEndElement() } } catch (t) { i = { error: t } } finally { try { p && !p.done && (n = m.return) && n.call(m) } finally { if (i) throw i.error } } } if (l.writeEndElement(), l.writeFullEndElement(), l.writeFullEndElement(), l.writeStartElement("rdf:Description"), l.writeAttributeString("rdf:about", ""), l.writeAttributeString("xmlns:xapMM", "http://ns.adobe.com/xap/1.0/mm/"), l.writeElementString("xapMM:DocumentID", this.IDValueStringMeta), l.writeElementString("xapMM:InstanceID", this.IDValueStringMeta), l.writeFullEndElement(), l.writeStartElement("rdf:Description"), l.writeAttributeString("rdf:about", ""), l.writeAttributeString("xmlns:pdf", "http://ns.adobe.com/pdf/1.3/"), l.writeAttributeString("xmlns:pdfx", "http://ns.adobe.com/pdf/1.3/"), l.writeElementString("pdf:Producer", this.producerName), l.writeElementString("pdf:Keywords", this.keywords), l.writeFullEndElement(), this.usePdfA) { l.writeStartElement("rdf:Description"), l.writeAttributeString("rdf:about", ""), l.writeAttributeString("xmlns:pdfaid", "http://www.aiim.org/pdfa/ns/id/"); var d = "1"; switch (this.pdfComplianceMode) { case r.StiPdfComplianceMode.A1: d = "1"; break; case r.StiPdfComplianceMode.A2: d = "2"; break; case r.StiPdfComplianceMode.A3: d = "3"; break } l.writeElementString("pdfaid:part", d), l.writeElementString("pdfaid:conformance", "A"), l.writeFullEndElement() } l.writeFullEndElement(), l.writeFullEndElement(), l.writeString(" \r\n"), l.writeString(" \r\n"), l.writeString(" \r\n"), l.writeString(" \r\n"), l.writeString(" \r\n"); var g = s.toArray(); l.close(), s.close(), a.write(g, 0, g.length), a.writeString(''), this.addXref(this.info.metadata.ref), this.sw.writeLine("{0} 0 obj", this.info.metadata.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Type /Metadata"), this.sw.writeLine("/Subtype /XML"), this.storeMemoryStream2(a, "/Length {0}"), this.sw.writeLine(""), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine("") } , Y.prototype.renderColorSpace = function() { this.addXref(this.info.destOutputProfile.ref), this.sw.writeLine("{0} 0 obj", this.info.destOutputProfile.ref), this.sw.writeLine("<<"), this.sw.writeLine("/N 3"); var t = null , e = null; 1 == this.compressed ? (t = r.StiExportUtils.makePdfDeflateStream(r.StiPdfResources.sRGBprofile), e = "/Length {0} /Filter [/FlateDecode] /Length1 " + r.StiPdfResources.sRGBprofile.length.toString(), this.storeMemoryStream2(t, e)) : (t = new u, t.write(r.StiPdfResources.sRGBprofile, 0, r.StiPdfResources.sRGBprofile.length), e = "/Length {0}", this.storeMemoryStream2(t, e)), this.sw.writeLine(""), this.sw.writeLine("endstream"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(this.info.outputIntents.ref), this.sw.writeLine("{0} 0 obj", this.info.outputIntents.ref), this.sw.writeLine("[<<"), this.storeStringLine("/Info", "sRGB IEC61966-2.1"), this.storeStringLine("/OutputConditionIdentifier", "Custom"), this.storeStringLine("/OutputCondition", ""), this.storeStringLine("/RegistryName", ""), this.sw.writeLine("/S /GTS_PDFA1"), this.sw.writeLine("/DestOutputProfile {0} 0 R", this.info.destOutputProfile.ref), this.sw.writeLine("/Type /OutputIntent"), this.sw.writeLine(">>]"), this.sw.writeLine("endobj"), this.sw.writeLine("") } , Y.prototype.renderAutoPrint = function() { this.autoPrint != r.StiPdfAutoPrintMode.None && (this.addXref(this.info.embeddedJS.ref), this.sw.writeLine("{0} 0 obj", this.info.embeddedJS.ref), this.sw.writeLine("<<"), this.sw.writeLine("/Names [(EmbeddedJS) {0} 0 R]", this.info.embeddedJS.content.ref), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine(""), this.addXref(this.info.embeddedJS.content.ref), this.sw.writeLine("{0} 0 obj", this.info.embeddedJS.content.ref), this.sw.writeLine("<<"), this.sw.writeLine("/S /JavaScript"), this.sw.writeLine("/JS (print\\({0}\\);)", this.autoPrint == r.StiPdfAutoPrintMode.Dialog ? "true" : "false"), this.sw.writeLine(">>"), this.sw.writeLine("endobj"), this.sw.writeLine("")) } , Y.prototype.exportPdf = function(t, e, r) { try { this.exportPdf1(t, e, r) } finally {} } , Y.prototype.exportPdf1 = function(n, a, s) { var l, u, p, h, d, g, T, D, R, P; if (null == s) throw new Error("The 'settings' argument cannot be equal in null."); this.report = n; var _ = s.pageRange , j = s.imageResolution; this.imageResolutionMode = s.imageResolutionMode, this.imageQuality = s.imageQuality, this.embeddedFonts = s.embeddedFonts, this.standardPdfFonts = !!s.standardPdfFonts, this.compressed = !!s.compressed, this.useUnicodeMode = s.useUnicode; var H = s.passwordInputUser , Q = s.passwordInputOwner , Y = s.userAccessPrivileges; this.keyLength = s.keyLength, this.pdfComplianceMode = s.pdfComplianceMode, this.autoPrint = s.autoPrintMode, this.allowEditable = s.allowEditable, this.creatorName = StiOptions.Export.Pdf.creatorString, this.keywords = StiOptions.Export.Pdf.keywordsString, o.isNullOrEmpty(s.creatorString) || (this.creatorName = s.creatorString), o.isNullOrEmpty(s.keywordsString) || (this.keywords = s.keywordsString), o.isNullOrEmpty(this.creatorName) && (this.creatorName = this.producerName), this.usePdfA = this.pdfComplianceMode != r.StiPdfComplianceMode.None, this.compressed = !0, this.compressedFonts = !0, this.usePdfA && (this.standardPdfFonts = !1, this.embeddedFonts = !0, this.useUnicodeMode = !0); var U = _.rangeType != e.StiRangeType.All , J = !this.usePdfA; this.embeddedFonts && (this.standardPdfFonts = !1), this.imageQuality < 0 && (this.imageQuality = 0), this.imageQuality > 1 && (this.imageQuality = 1), this.useUnicodeMode && (this.standardPdfFonts = !1), j < 10 && (j = 10), j /= 100, this.imageResolutionMain = j, this.bidi = new r.StiBidirectionalConvert(!0), this.pdfFont = new r.PdfFonts, this.pdfFont.standardPdfFonts = this.standardPdfFonts, this.pdfFont.useUnicode = this.useUnicodeMode, this.fontGlyphsReduceNotNeed = null; for (var W = 0; W <= 255; W++) { var V = Math.round2(W / 255, 3) , z = V.toString().stimulsoft.replaceAll(",", t.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); this.colorTable[W] = z, this.alphaTable[W] = !1 } switch (this.lastColorStrokeA = 255, this.lastColorNonStrokeA = 255, this.colorStack = new Array, this.imageList = new Array, this.imageCompressionMethod) { case r.StiPdfImageCompressionMethod.Flate: this.imageCache = new e.StiImageCache(!0,!0,e.ImageFormat.MemoryBmp,this.imageQuality,J); break; default: this.imageCache = new e.StiImageCache(!0,!0,e.ImageFormat.Jpeg,this.imageQuality,J); break } this.imageInterpolationTable = new f, this.imageCacheIndexToList = new f, this.imageInfoList = new f, this.imageInfoCounter = 0, this.pdfFont.fontList = new Array, this.xref = new Array, this.haveBookmarks = !1, this.annotsArray = new Array, this.annots2Array = new Array, this.unsignedSignaturesArray = new Array, this.shadingArray = new Array, this.hatchArray = new Array, this.sw = a, this.fontsCounter = 0, this.bookmarksCounter = 0, this.linksCounter = 0, this.annotsCounter = 0, this.annots2Counter = 0, this.tooltipsCounter = 0; for (var X = 0; X < 256; X++) this.CodePage1252[X] = X; for (var X = 0; X < 32; X++) this.CodePage1252[128 + X] = this.CodePage1252part80AF[X]; this.fontGlyphsReduceNotNeed = Array.create(Boolean, 256); var K = I.now , Z = K.toString("yyyyMMddHHmmsszzz"); this.currentDateTime = Z.substr(0, 17) + "'" + Z.substr(18, 2) + "'", this.currentDateTimeMeta = K.toString("yyyy-MM-ddTHH:mm:sszzz"); var q = K.toString("yyyyMMddHHmmssffff"); q += this.producerName, q += this.creatorName, q += n.reportAuthor, q += n.reportAlias, q += n.reportName; for (var $ = "", X = 0; X < q.length; X++) $ += String.fromCharCode(255 & q.charCodeAt(X)); this.IDValue = t.Base.StiMD5Helper.MD5($, !1); for (var tt = new S, X = 0; X < this.IDValue.length; X++) tt.append(r.StiExportUtils.toHex(this.IDValue[X])); this.IDValueString = tt.toString(), this.IDValueStringMeta = o.format("uuid:{0}-{1}-{2}-{3}-{4}", this.IDValueString.substring(0, 8), this.IDValueString.substring(8, 4), this.IDValueString.substring(12, 4), this.IDValueString.substring(16, 4), this.IDValueString.substring(20, 12)).toLowerCase(), this.pdfSecurity = new r.StiPdfSecurity(this), this.usePdfA || (this.encrypted = this.pdfSecurity.computingCryptoValues(Y, Q, H, this.keyLength, this.IDValue)), this.encrypted && this.useUnicodeMode && (this.embeddedFonts = !0); var et = _.getSelectedPages(n.renderedPages) , rt = 0; try { for (var it = __values(et.list), nt = it.next(); !nt.done; nt = it.next()) { var ot = nt.value; if (et.getPage(ot), this.storeShadingData1(ot.brush, rt), this.storeHatchData(ot.brush), null != ot.watermark && ot.watermark.enabled) { if (!o.isNullOrEmpty(ot.watermark.text)) { null != ot.watermark.font && this.pdfFont.getFontNumber(ot.watermark.font); var at = new S(ot.watermark.text); at = this.bidi.convert(at, !1), this.pdfFont.storeUnicodeSymbolsInMap(at), this.storeShadingData1(ot.watermark.textBrush, rt), this.storeHatchData(ot.watermark.textBrush) } 1 == ot.watermark.showImageBehind && null != ot.watermark.image && this.storeImageData(ot.watermark.image, j, !1, !1) } try { for (var st = (p = void 0, __values(ot.components.list)), lt = st.next(); !lt.done; lt = st.next()) { var ut = lt.value; if (ut.enabled && (!n.isPrinting || ut.printable)) { this.imageInfoCounter++; var ct = ut.width > 0 && ut.height > 0; if (ct) { var mt = ut.stimulsoft.as(v); null != mt && (this.storeShadingData1(mt.brush, rt), this.storeHatchData(mt.brush)); var pt = ut.stimulsoft.as(y); if (null != pt && r.StiPdfRenderPrimitives.checkShape(pt)) continue; if (ut.stimulsoft.is(k)) { var ht = ut.stimulsoft.as(k); if (this.storeShadingData1(ht.textBrush, rt), this.storeHatchData(ht.textBrush), this.allowEditable == r.StiPdfAllowEditable.Yes && ht.editable) { var dt = new G; dt.Page = rt, dt.Component = ut, this.annots2Array.add(dt) } continue } var gt = ut.isExportAsImage(e.StiExportFormat.Pdf); if (gt) { var ft = !1 , St = ut.stimulsoft.as(F); if (this.imageResolutionMode != r.StiImageResolutionMode.Exactly && null != St && null != St.imageToDraw && null != St.imageToDraw.bytes) { ft = !0; var At = St.imageToDraw.horizontalResolution / 100; this.imageResolutionMode == r.StiImageResolutionMode.NoMoreThan && (At = St.stretch ? St.imageToDraw.width / n.unit.convertToHInches(ut.width) : 1 / St.multipleFactor), At = this.storeImageData(St.imageToDraw, At, !0, St.smoothing), this.imageInfoList.set(this.imageInfoCounter, At) } if (!ft) { var yt = ut.stimulsoft.as(N); if (null != yt) { var At = j , wt = { ref: At } , bt = yt.getImage(wt, e.StiExportFormat.Pdf); At = wt.ref, null != bt && (this.storeImageData(bt, At, !1, !1), this.imageInfoList.set(this.imageInfoCounter, At)) } } } var vt = ut.stimulsoft.as(b); if (null != vt) var Ct = this.pdfFont.getFontNumber(vt.font); var Et = ut.stimulsoft.as(E); if (ut.stimulsoft.is(A) && !gt) { var Bt = ut.stimulsoft.as(A) , Tt = null != Et && null != Et.textOptions && Et.textOptions.rightToLeft , at = new S(Bt.text); if (Bt.allowHtmlTags) { var It = new t.Base.Drawing.StiHtmlTagsState(Bt.font.bold,Bt.font.italic,Bt.font.underline,Bt.font.strikeout,Bt.font.size,Bt.font.name,m.toColor(Bt.textBrush),m.toColor(Bt.brush),!1,!1,0,0,1,Bt.horAlignment) , xt = new t.Base.Drawing.StiHtmlState(It,0) , Ft = t.Base.Drawing.StiTextRenderer.parseHtmlToStates(Bt.text, xt); at = new S; for (var Dt = 0; Dt < Ft.length; Dt++) { var Rt = Ft[Dt]; at.append(t.Base.Drawing.StiTextRenderer.prepareStateText(Rt.text)) } } at = this.bidi.convert(at, Tt), this.pdfFont.storeUnicodeSymbolsInMap(at); var Pt = ut.stimulsoft.as(C); if (null != Bt && null != Pt && (this.storeShadingData1(Pt.textBrush, rt), this.storeHatchData(Pt.textBrush)), this.allowEditable == r.StiPdfAllowEditable.Yes && Bt.editable) { var dt = new G; dt.Page = rt, this.annotsArray.add(dt), this.fontGlyphsReduceNotNeed[this.pdfFont.currentFont] = !0 } } if (ut.stimulsoft.is(M) && !gt) { var Nt = new r.StiPdfGeomWriter(this.pageStream,this,!0) , kt = r.StiBarCodeExportPainter.createNew(Nt) , Mt = ut.stimulsoft.as(M); if (!o.isNullOrEmpty(Mt.codeValue) && null != Mt.page) { var Ot = n.unit.convertToHInches(Mt.clientRectangle); Mt.barCodeType.draw(kt, Mt, Ot, 1) } } else if (ut.stimulsoft.is(x) && !gt) { var _t = new L(this); _t.Component = ut, r.StiPdfRenderChart.renderChart(_t, !0, rt) } } } } } catch (t) { p = { error: t } } finally { try { lt && !lt.done && (h = st.return) && h.call(st) } finally { if (p) throw p.error } } rt++, null != ot.watermark && ot.watermark.enabled && 0 == ot.watermark.showImageBehind && null != ot.watermark.image && this.storeImageData(ot.watermark.image, j, !1, !1) } } catch (t) { l = { error: t } } finally { try { nt && !nt.done && (u = it.return) && u.call(it) } finally { if (l) throw l.error } } for (var Lt = 0; Lt < this.pdfFont.fontList.length; Lt++) this.pdfFont.currentFont = Lt, this.pdfFont.storeUnicodeSymbolsInMap(new S("…")); for (var jt = new S, Ht = 32; Ht < 256; Ht++) jt.append(String.fromCharCode(this.CodePage1252[Ht])); for (var Gt = 0; Gt < this.pdfFont.fontList.length; Gt++) this.fontGlyphsReduceNotNeed[Gt] && (this.pdfFont.currentFont = Gt, this.pdfFont.storeUnicodeSymbolsInMap(jt)); this.imagesCurrent = 0, this.annotsCurrent = 0, this.annots2Current = 0, this.shadingCurrent = 0, this.annotsCounter = this.annotsArray.length, this.annots2Counter = this.annots2Array.length, this.unsignedSignaturesCounter = this.unsignedSignaturesArray.length, this.haveAnnots = this.annotsCounter > 0 || this.annots2Counter > 0 || this.unsignedSignaturesCounter > 0, this.pdfFont.InitFontsData(n), this.fontsCounter = this.pdfFont.fontList.length, this.info = new r.StiPdfStructure; for (var X = 0; X < et.count; X++) this.info.pageList.add(this.info.createContentObject(!0)); for (var X = 0; X < this.imageCache.imagePackedStore.length; X++) this.info.xObjectList.add(this.info.createXObject(!0, null != this.imageCache.imageMaskStore[X])); for (var X = 0; X < this.pdfFont.fontList.length; X++) this.info.fontList.add(this.info.createFontObject(!0, this.useUnicodeMode, this.standardPdfFonts, this.embeddedFonts)); if (this.info.outlines = this.info.createOutlinesObject(this.haveBookmarks), this.haveBookmarks) for (var X = 0; X < this.bookmarksCounter; X++) this.info.outlines.items.add(this.info.createObject(!0)); this.info.patterns = this.info.createPatternsObject(!0); for (var X = 0; X < this.hatchArray.length; X++) this.info.patterns.hatchItems.add(this.info.createObject(!0)); for (var X = 0; X < this.shadingArray.length; X++) this.info.patterns.shadingItems.add(this.info.createShadingObject(!0)); for (var X = 0; X < this.linksCounter; X++) this.info.linkList.add(this.info.createObject(!0)); if (this.info.encode = this.info.createObject(this.encrypted), this.info.extGState = this.info.createObject(!0), this.info.acroForm = this.info.createAcroFormObject(this.haveAnnots || this.haveTooltips), this.haveAnnots) { for (var X = 0; X < this.annotsCounter; X++) this.info.acroForm.annots.add(this.info.createAnnotObject(!0, !0, 0)); for (var X = 0; X < this.fontsCounter; X++) this.info.acroForm.annotFontItems.add(this.info.createFontObject(!0, !1, !1, !1, !0)); for (var X = 0; X < this.annots2Counter; X++) this.info.acroForm.checkBoxes.add(new r.StiPdfCheckBoxObjInfo), this.info.acroForm.checkBoxes[X].items = [], this.info.acroForm.checkBoxes[X].items.add(this.info.createAnnotObject(!0, !0, 2)), this.info.acroForm.checkBoxes[X].items.add(this.info.createAnnotObject(!0, !0, 2)), null == this.annots2Array[X].Component.stimulsoft.as(k).checkedValue && this.info.acroForm.checkBoxes[X].items.add(this.info.createAnnotObject(!0, !1, 2)) } for (var X = 0; X < this.tooltipsCounter; X++) this.info.acroForm.tooltips.add(this.info.createAnnotObject(!0, !1, 0)); this.info.metadata = this.info.createObject(!0), this.info.destOutputProfile = this.info.createObject(!0), this.info.outputIntents = this.info.createObject(!0), this.info.embeddedJS = this.info.createContentObject(this.autoPrint != r.StiPdfAutoPrintMode.None), this.renderStartDoc(n, et); var Qt = 0; this.imageInfoCounter = 0, this.currentPassNumber++; try { for (var Yt = __values(et.list), Ut = Yt.next(); !Ut.done; Ut = Yt.next()) { var ot = Ut.value; if (et.getPage(ot), this.isStopped) return; this.renderPageHeader(Qt++); var Jt = this.hiToTwips * n.unit.convertToHInches(ot.pageHeight * ot.segmentPerHeight) , Wt = this.hiToTwips * n.unit.convertToHInches(ot.pageWidth * ot.segmentPerWidth) , Vt = this.hiToTwips * n.unit.convertToHInches(ot.margins.left) , zt = this.hiToTwips * n.unit.convertToHInches(ot.margins.right) , Xt = this.hiToTwips * n.unit.convertToHInches(ot.margins.top) , Kt = this.hiToTwips * n.unit.convertToHInches(ot.margins.bottom); if (Jt > 14400 && (Jt = 14400), null != ot.brush) { var _t = new L(this); _t.X = 0, _t.Y = 0, _t.Width = Wt, _t.Height = Jt; var Zt = new c; Zt.brush = ot.brush, Zt.border = null, _t.Component = Zt, r.StiPdfRenderPrimitives.renderBorder1(_t) } this.renderWatermark(ot, !0, Wt, Jt, j); var qt = new Array; try { for (var $t = (T = void 0, __values(ot.components.list)), te = $t.next(); !te.done; te = $t.next()) { var ut = te.value; if (ut.enabled && (!n.isPrinting || ut.printable)) { this.imageInfoCounter++; var ee = this.hiToTwips * n.unit.convertToHInches(ut.left) , re = this.hiToTwips * n.unit.convertToHInches(ut.top) , ie = this.hiToTwips * n.unit.convertToHInches(ut.right) , ne = this.hiToTwips * n.unit.convertToHInches(ut.bottom) , _t = new L(this); _t.X = ee + Vt, _t.Y = re + Xt, _t.Width = ie - ee, _t.Height = ne - re, _t.Y = Jt - (_t.Y + _t.Height), _t.Component = ut; var ct = ut.width > 0 && ut.height > 0; if (ct) { var gt = ut.isExportAsImage(e.StiExportFormat.Pdf); if (this.usePdfA || ut.printable || this.pageStream.writeLine("/OC /oc1 BDC"), ut.stimulsoft.is(y) || r.StiPdfRenderPrimitives.renderBorder1(_t), ut.stimulsoft.is(A) && !gt) { var oe = ut.stimulsoft.as(A) , ae = 0; if (this.haveAnnots && oe.editable && (ae = this.pageStream.position, this.pushColorToStack(), this.lastColorStrokeA = 255, this.lastColorNonStrokeA = 255), oe.allowHtmlTags) { for (var It = new t.Base.Drawing.StiHtmlTagsState(oe.font.bold,oe.font.italic,oe.font.underline,oe.font.strikeout,oe.font.size,oe.font.name,m.toColor(oe.textBrush),m.toColor(oe.brush),!1,!1,0,0,1,oe.horAlignment), xt = new t.Base.Drawing.StiHtmlState(It,0), Ft = t.Base.Drawing.StiTextRenderer.parseHtmlToStates(oe.text, xt), se = oe.text.stimulsoft.startsWith(""), at = new S, Dt = 0; Dt < Ft.length; Dt++) { var Rt = Ft[Dt]; if (Rt.ts.tag.tag == i.P && "\n" == Rt.text.toString()) continue; at.append(t.Base.Drawing.StiTextRenderer.prepareStateText(Rt.text)) } var le = oe.clone(!0); if (le.text = at.toString(), _t.Component = le, r.StiPdfRenderText.renderTextFont(_t), r.StiPdfRenderText.renderText(_t), this.haveAnnots && oe.editable) { var dt = this.annotsArray[this.annotsCurrent]; dt.Multiline = oe.wordWrap, dt.X = _t.X, dt.Y = _t.Y, dt.Width = _t.Width, dt.Height = _t.Height, dt.Component = _t.Component, dt.Alignment = t.Base.Drawing.StiTextHorAlignment.Left; var ue = _t.Component.stimulsoft.as(O); if (null != ue) { var ce = ue.horAlignment , Et = _t.Component.stimulsoft.as(E); null != Et && null != Et.textOptions && Et.textOptions.rightToLeft && (ce == t.Base.Drawing.StiTextHorAlignment.Left ? ce = t.Base.Drawing.StiTextHorAlignment.Right : ce == t.Base.Drawing.StiTextHorAlignment.Right && (ce = t.Base.Drawing.StiTextHorAlignment.Left)), dt.Alignment = ce } dt.Text = at.toString().stimulsoft.replaceAll("\n", "") } } else r.StiPdfRenderText.renderTextFont(_t), r.StiPdfRenderText.renderText(_t); if (this.haveAnnots && oe.editable) { this.pageStream.flush(); var me = this.pageStream.position; this.pageStream.seek(ae, t.System.IO.SeekOrigin.Begin); var pe = []; this.pageStream.read(pe, 0, me - ae), this.pageStream.seek(ae, t.System.IO.SeekOrigin.Begin), this.pageStream.setLength(ae); var dt = this.annotsArray[this.annotsCurrent]; dt.Content = pe, this.annotsCurrent++, this.popColorFromStack() } } if (ut.stimulsoft.is(y)) r.StiPdfRenderPrimitives.renderShape(_t, j); else if (ut.stimulsoft.is(M) && !gt) { var Nt = new r.StiPdfGeomWriter(this.pageStream,this) , kt = r.StiBarCodeExportPainter.createNew(Nt) , Mt = ut.stimulsoft.as(M); if (!o.isNullOrEmpty(Mt.codeValue) && null != Mt.page) { this.pageStream.writeLine("q"), this.pushColorToStack(), this.pageStream.writeLine("{0} {1} {2} {3} re W n", this.convertToString(_t.X), this.convertToString(_t.Y), this.convertToString(_t.Width), this.convertToString(_t.Height)), this.pageStream.writeLine("1 0 0 1 {0} {1} cm", this.convertToString(Vt), this.convertToString(Jt - Xt)), this.pageStream.writeLine("1 0 0 -1 0 0 cm"), this.pageStream.writeLine("{0} 0 0 {0} 0 0 cm", this.convertToString(this.hiToTwips)); var Ot = n.unit.convertToHInches(Mt.clientRectangle); Mt.barCodeType.draw(kt, Mt, Ot, 1), this.pageStream.writeLine("Q"), this.popColorFromStack() } } else if (ut.stimulsoft.is(x) && !gt) this.pageStream.writeLine("q"), this.pushColorToStack(), this.pageStream.writeLine("1 0 0 1 {0} {1} cm", this.convertToString(_t.X), this.convertToString(_t.Y + _t.Height)), this.pageStream.writeLine("1 0 0 -1 0 0 cm"), this.pageStream.writeLine("{0} 0 0 {0} 0 0 cm", this.convertToString(this.hiToTwips / .96)), r.StiPdfRenderChart.renderChart(_t, !1, Qt - 1), this.pageStream.writeLine("Q"), this.popColorFromStack(); else if (ut.stimulsoft.is(k)) { var he = ut.stimulsoft.as(k); if (this.haveAnnots && he.editable) { var dt = this.annots2Array[this.annots2Current]; dt.Multiline = !1, dt.X = _t.X, dt.Y = _t.Y, dt.Width = _t.Width, dt.Height = _t.Height, dt.Component = _t.Component, dt.Alignment = t.Base.Drawing.StiTextHorAlignment.Center, dt.Text = ""; var de = _t.X , ge = _t.Y; _t.X = 0, _t.Y = 0, this.pageStream.flush(); var ae = this.pageStream.position; this.pushColorToStack(), this.lastColorStrokeA = 255, this.lastColorNonStrokeA = 255, r.StiPdfRenderPrimitives.renderCheckbox(_t, !0), this.pageStream.flush(); var me = this.pageStream.position; this.pageStream.seek(ae, t.System.IO.SeekOrigin.Begin); var pe = []; this.pageStream.read(pe, 0, me - ae), this.pageStream.seek(ae, t.System.IO.SeekOrigin.Begin), dt.Content = pe, this.popColorFromStack(), this.pageStream.flush(), ae = this.pageStream.position, this.pushColorToStack(), this.lastColorStrokeA = 255, this.lastColorNonStrokeA = 255, r.StiPdfRenderPrimitives.renderCheckbox(_t, !1, !1), this.pageStream.flush(), me = this.pageStream.position, this.pageStream.seek(ae, t.System.IO.SeekOrigin.Begin), pe = [], this.pageStream.read(pe, 0, me - ae), this.pageStream.seek(ae, t.System.IO.SeekOrigin.Begin), dt.Content2 = pe, this.popColorFromStack(), this.annots2Current++, _t.X = de, _t.Y = ge } else { var fe = r.StiPdfRenderPrimitives.getCheckBoxValue(he); null != fe && r.StiPdfRenderPrimitives.renderCheckbox(_t, fe) } } else gt && this.renderImage(_t, j); if (ut.stimulsoft.is(w)) r.StiPdfRenderPrimitives.renderRoundedRectanglePrimitive(_t); else { var Se = _t.Component.stimulsoft.as(B); null != Se && null != Se.border && Se.border.topmost ? qt.add(_t) : r.StiPdfRenderPrimitives.renderBorder2(_t) } this.usePdfA || ut.printable || this.pageStream.writeLine("EMC") } } } } catch (t) { T = { error: t } } finally { try { te && !te.done && (D = $t.return) && D.call($t) } finally { if (T) throw T.error } } try { for (var Ae = (R = void 0, __values(qt)), ye = Ae.next(); !ye.done; ye = Ae.next()) { var we = ye.value; r.StiPdfRenderPrimitives.renderBorder2(we) } } catch (t) { R = { error: t } } finally { try { ye && !ye.done && (P = Ae.return) && P.call(Ae) } finally { if (R) throw R.error } } if (qt.clear(), null != ot.border) { var _t = new L(this); _t.X = Vt, _t.Y = Kt, _t.Width = Wt - Vt - zt, _t.Height = Jt - Xt - Kt; var Zt = new c; Zt.border = ot.border, _t.Component = Zt, r.StiPdfRenderPrimitives.renderBorder2(_t) } this.renderWatermark(ot, !1, Wt, Jt, j), this.renderPageFooter(Jt, Wt) } } catch (t) { d = { error: t } } finally { try { Ut && !Ut.done && (g = Yt.return) && g.call(Yt) } finally { if (d) throw d.error } } this.renderImageTable(), this.renderFontTable(), this.renderPatternTable(), this.renderEncodeRecord(), this.renderExtGStateRecord(), this.renderAnnotTable(), this.renderMetadata(n), this.renderColorSpace(), this.renderAutoPrint(), this.renderEndDoc(), this.xref = null, this.annotsArray = null, this.annots2Array = null, this.unsignedSignaturesArray = null, this.shadingArray = null, this.hatchArray = null, this.colorStack = null, this.pdfFont.clear(), this.pdfFont = null, this.bidi.clear(), this.bidi = null } , Y.regexEscape = new RegExp("([{}()^$&.*?/+|[\\\\]|]|-)","g"), Y }(r.StiExportService); r.StiPdfExportService = Q }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Text.StringBuilder , i = t.System.Drawing.Font , n = t.System.Collections.Hashtable , o = t.System.IO.MemoryStream , a = t.System.Drawing.FontStyle , s = function() { function t() {} return t }(); e.PdfFontInfo = s; var l = function() { function t() {} return t }(); e.pfontInfo = l; var u = function() { function t() { this.TagString = null, this.Tag = 0, this.CheckSum = 0, this.Offset = 0, this.Length = 0, this.NewOffset = 0, this.NewLength = 0, this.Required = !1, this.NewTable = null } return t }() , c = function() { function t() { this.HeaderOffset = 0, this.NumTables = 0, this.NumTablesRequired = 0, this.SfntVersion = 0, this.Tables = null, this.HeadCheckSumOffset = 0, this.NumGlyphs = 0, this.IndexToLocFormat = 0, this.IndexLocaTable = 0, this.IndexGlyfTable = 0, this.IndexCmapTable = 0, this.FontName = null, this.HeaderOffset = 0, this.NumTables = 0, this.NumTablesRequired = 0, this.SfntVersion = 0, this.Tables = null, this.HeadCheckSumOffset = 0, this.NumGlyphs = 0, this.IndexToLocFormat = 0, this.IndexLocaTable = 0, this.IndexGlyfTable = 0, this.FontName = new n } return t }() , m = function(n) { function m() { var t = n.call(this) || this; return t.standardFontQuantity = 12, t.standardFontNumWidths = 310, t.standardFontNumChars = 3680 + 189, t.firstMappedSymbol = 64, t.factor = 1, t.maxSymbols = 32767, t.useUnicode = !0, t.WIDTHS = null, t.fonts = null, t.UnicodeMapsList = null, t.GlyphMapsList = null, t.standardPdfFonts = !0, t.fontsInfoStore = null, t.family_Helvetica = ["Arial", "Arial Black", "Arial Narrow", "Century Gothic", "Comic Sans MS", "Impact", "Microsoft Sans Serif", "Tahoma", "Verdana"], t.family_Courier = ["Courier New", "Lucida Console"], t.family_Times_Roman = ["Book Antiqua", "Bookman Old Style", "Garamond", "Georgia", "Times New Roman"], t.family_Symbol = ["Symbol"], t.family_ZapfDingbats = ["Wingdings 2"], t.PdfFontName = ["Helvetica", "Helvetica-Bold", "Helvetica-Oblique", "Helvetica-BoldOblique", "Times-Roman", "Times-Bold", "Times-Italic", "Times-BoldItalic", "Courier", "Courier-Bold", "Courier-Oblique", "Courier-BoldOblique", "Symbol", "ZapfDingbats"], t._currentFont = -1, t.TtfHeaderSize = 12, t.ARG_1_AND_2_ARE_WORDS = 1, t.ARGS_ARE_XY_VALUES = 2, t.ROUND_XY_TO_GRID = 4, t.WE_HAVE_A_SCALE = 8, t.MORE_COMPONENTS = 32, t.WE_HAVE_AN_X_AND_Y_SCALE = 64, t.WE_HAVE_A_TWO_BY_TWO = 128, t.WE_HAVE_INSTRUCTIONS = 256, t.USE_MY_METRICS = 512, t.OVERLAP_COMPOUND = 1024, t.SCALED_COMPONENT_OFFSET = 2048, t.UNSCALED_COMPONENT_OFFSET = 4096, t.TablesNames = ["head", "hhea", "hmtx", "maxp", "cmap", "OS/2", "post", "cvt ", "fpgm", "glyf", "loca", "prep", "name"], t.fontList = new Array, t.UnicodeMapsList = new Array, t.GlyphMapsList = new Array, t.fontsInfoStore = new p, t } return __extends(m, n), m.prototype.getFontMetrics = function(e, r, n, o) { if (this.WIDTHS = Array.create(Number, this.maxSymbols + 1), null == e) return; var s = new i(e.name,1024,e.style,t.System.Drawing.GraphicsUnit.Pixel); Array.copy(r.UnicodeMapBack, 0, this.WIDTHS, r.MappedSymbolsCount); var l = t.System.Drawing.Graphics.measureChars(this.WIDTHS, r.MappedSymbolsCount, s) , u = l.height , c = l.width; r.CH = 0, r.tmASC = Math.round2(.8 * u * this.factor), r.tmDESC = Math.round2(.2 * u * this.factor), r.tmExternal = Math.round2((c - u) * this.factor), r.LLX = 0, r.LLY = 0, r.URX = 0, r.URY = 0, r.StemV = 0, r.ItalicAngle = 0, r.UnderscoreSize = Math.round2(u * (e.bold ? .08 : .06) * this.factor), r.UnderscorePosition = Math.round2(.1 * -u * this.factor), r.StrikeoutSize = Math.round2(.045 * u * this.factor), r.StrikeoutPosition = Math.round2(.25 * u * this.factor); for (var m = 0; m < r.MappedSymbolsCount; m++) this.WIDTHS[m] = Math.round2(this.WIDTHS[m] * this.factor, 0); var p = t.Base.StiFontCollection.getBinFont(e.name, e.style) , h = null != p ? p.data : null; if (null == h) { var d = (e.style & a.Bold) > 0 , g = (e.style & a.Italic) > 0; d && g ? (p = t.Base.StiFontCollection.getBinFont(e.name, a.Italic), null != p && null != p.data ? (h = p.data, this.NeedSyntBold = !0) : (p = t.Base.StiFontCollection.getBinFont(e.name, a.Bold), null != p && null != p.data ? (h = p.data, this.NeedSyntItalic = !0) : null != (p = t.Base.StiFontCollection.getBinFont(e.name, a.Regular)) && null != p.data && (h = p.data, this.NeedSyntItalic = !0, this.NeedSyntBold = !0))) : (d && null != (p = t.Base.StiFontCollection.getBinFont(e.name, a.Regular)) && null != p.data && (h = p.data, this.NeedSyntBold = !0), g && null != (p = t.Base.StiFontCollection.getBinFont(e.name, a.Regular)) && null != p.data && (h = p.data, this.NeedSyntItalic = !0)) } if (null == h) { var f = o.dictionary.resources.getByName(e.name); null == f && (f = o.dictionary.resources.getByAlias(e.name)), null != f && null != f.content && f.content.length > 0 && (h = new Uint8Array(f.content), this.NeedSyntBold = !0, this.NeedSyntItalic = !0) } if (null != h && h.stimulsoft.is(Uint8Array) && h.byteLength > 0) { var S = this.getCharToGlyphTable(h, e.name); if (null != S) { var A = 0; "Wingdings" != e.name && "Wingdings 2" != e.name && "Wingdings 3" != e.name || (A = 61440); for (var m = 0; m < r.MappedSymbolsCount; m++) { var y = r.UnicodeMapBack[m]; y >= 128 && y <= 255 && (y += A), r.GlyphList[m] = S[y] } } } r.NeedSyntBold = this.NeedSyntBold, r.NeedSyntItalic = this.NeedSyntItalic } , Object.defineProperty(m.prototype, "currentFont", { get: function() { return this._currentFont }, set: function(t) { this._currentFont != t && (this._currentFont = t, null != this.fonts && this.fonts.length > 0 && (this.Widths = this.fonts[this._currentFont].Widths, this.CH = this.fonts[this._currentFont].CH, this.XH = this.fonts[this._currentFont].XH, this.ASC = this.fonts[this._currentFont].ASC, this.DESC = this.fonts[this._currentFont].DESC, this.tmASC = this.fonts[this._currentFont].tmASC, this.tmDESC = this.fonts[this._currentFont].tmDESC, this.tmExternal = this.fonts[this._currentFont].tmExternal, this.MacAscend = this.fonts[this._currentFont].MacAscend, this.MacDescend = this.fonts[this._currentFont].MacDescend, this.MacLineGap = this.fonts[this._currentFont].MacLineGap, this.LLX = this.fonts[this._currentFont].LLX, this.LLY = this.fonts[this._currentFont].LLY, this.URX = this.fonts[this._currentFont].URX, this.URY = this.fonts[this._currentFont].URY, this.StemV = this.fonts[this._currentFont].StemV, this.ItalicAngle = this.fonts[this._currentFont].ItalicAngle, this.LineGap = this.fonts[this._currentFont].LineGap, this.NtmFlags = this.fonts[this._currentFont].NtmFlags, this.UnderscoreSize = this.fonts[this._currentFont].UnderscoreSize, this.UnderscorePosition = this.fonts[this._currentFont].UnderscorePosition, this.StrikeoutSize = this.fonts[this._currentFont].StrikeoutSize, this.StrikeoutPosition = this.fonts[this._currentFont].StrikeoutPosition, this.UnicodeMap = this.fonts[this._currentFont].UnicodeMap, this.UnicodeMapBack = this.fonts[this._currentFont].UnicodeMapBack, this.GlyphList = this.fonts[this._currentFont].GlyphList, this.GlyphBackList = this.fonts[this._currentFont].GlyphBackList, this.GlyphRtfList = this.fonts[this._currentFont].GlyphRtfList, this.SymsToPDF = this.fonts[this._currentFont].SymsToPDF, this.CharPdfNames = this.fonts[this._currentFont].CharPdfNames, this.MappedSymbolsCount = this.fonts[this._currentFont].MappedSymbolsCount, this.NeedSyntBold = this.fonts[this._currentFont].NeedSyntBold, this.NeedSyntItalic = this.fonts[this._currentFont].NeedSyntItalic, this.GlyphWidths = this.fonts[this._currentFont].GlyphWidths, this.ChildFontsMap = this.fonts[this._currentFont].ChildFontsMap)) }, enumerable: !0, configurable: !0 }), m.prototype.InitFontsData = function(t) { if (!this.useUnicode) for (var r = this.fontList.length, i = 0; i < r; i++) { for (var n = this.UnicodeMapsList[i], o = this.firstMappedSymbol, a = this.firstMappedSymbol; a < 65536; a++) n[a] > 0 && o++; if (o > 255) { for (var u = this.fontList[i], c = null, m = Array.create(Number, 65536), p = this.fontList.length, a = 0; a < this.firstMappedSymbol; a++) m[a] = p; var h = !0; o = this.firstMappedSymbol; for (var a = this.firstMappedSymbol; a < 65536; a++) { if (h) { var d = new l; d.Name = u.Name, d.PdfName = u.PdfName, d.Bold = u.Bold, d.Italic = u.Italic, d.Number = u.Number, d.Font = u.Font, d.ParentFontNumber = i, this.fontList.add(d), c = Array.create(Number, 65536), Array.copy(n, 0, c, 64), this.UnicodeMapsList.add(c), this.GlyphMapsList.add(Array.create(Number, 65536)), p = this.fontList.length - 1, o = this.firstMappedSymbol, h = !1 } n[a] > 0 && (c[a] = 1, m[a] = p, 254 == ++o && (h = !0)) } u.ChildFontsMap = m, this.fontList[i] = u } } this.fonts = Array.create(s, this.fontList.length); for (var i = 0; i < this.fontList.length; i++) { this.fonts[i] = new s; var g = this.fonts[i]; g.UnicodeMap = this.UnicodeMapsList[i], g.UnicodeMapBack = Array.create(Number, this.maxSymbols + 1); var f = this.GlyphMapsList[i] , S = Array.create(Number, 65536); f[65535]; for (var A = this.firstMappedSymbol, y = this.firstMappedSymbol; y < 65536; y++) 0 != g.UnicodeMap[y] && (g.UnicodeMap[y] = A, g.UnicodeMapBack[A] = y, A++, A > this.maxSymbols && (A = this.maxSymbols), this.useUnicode || 92 != A || (g.UnicodeMapBack[A] = y, A++)); var w = 8226; g.UnicodeMap[w] = A, g.UnicodeMapBack[A] = w, A++, g.MappedSymbolsCount = A; for (var y = 0; y < this.firstMappedSymbol; y++) g.UnicodeMap[y] = y, g.UnicodeMapBack[y] = y; g.CharPdfNames = Array.create(String, A), g.SymsToPDF = Array.create(Number, A); for (var b = 32; b < g.MappedSymbolsCount; b++) { for (var v = -1, C = 0; C < this.standardFontNumWidths; C++) ; g.SymsToPDF[b] = v; var E = e.StiPdfResources.standardFontCharsNames[g.UnicodeMapBack[b]]; null == E && (E = "uni" + g.UnicodeMapBack[b].toString(16).toUpperCase().stimulsoft.padLeft(4, "0")), g.CharPdfNames[b] = E } g.GlyphList = Array.create(Number, A); var B = this.fontList[i]; this.fonts[i].Widths = Array.create(Number, A), this.getFontMetrics(B.Font, g, f, t); for (var T = 0; T < A - 32; T++) this.fonts[i].Widths[T] = this.WIDTHS[32 + T]; this.standardPdfFonts, null != this.fontList[i].ChildFontsMap && (g.MappedSymbolsCount = 255, g.ChildFontsMap = this.fontList[i].ChildFontsMap) } this._currentFont = -1, this.currentFont = 0 } , m.prototype.getFontNumber = function(t) { var e, r, i, n, o, a, s = -1; if (this.fontList.length > 0) for (var u = 0; u < this.fontList.length; u++) { var c = this.fontList[u]; if (c.Name == t.name && c.Bold == t.bold && c.Italic == t.italic) { s = u; break } } if (-1 == s) { var m = new l; m.Name = t.name, m.Bold = t.bold, m.Italic = t.italic, m.Font = t, m.ParentFontNumber = -1, s = 0; try { for (var p = __values(this.family_Helvetica), h = p.next(); !h.done; h = p.next()) { var d = h.value; m.Name == d && (s = 0) } } 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.family_Times_Roman), f = g.next(); !f.done; f = g.next()) { var d = f.value; m.Name == d && (s = 4) } } catch (t) { i = { error: t } } finally { try { f && !f.done && (n = g.return) && n.call(g) } finally { if (i) throw i.error } } try { for (var S = __values(this.family_Courier), A = S.next(); !A.done; A = S.next()) { var d = A.value; m.Name == d && (s = 8) } } catch (t) { o = { error: t } } finally { try { A && !A.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } s < 12 && (1 == m.Bold && (s += 1), 1 == m.Italic && (s += 2)), m.Number = s, m.PdfName = this.PdfFontName[s], this.fontList.add(m), s = this.fontList.length - 1, this.UnicodeMapsList.add(Array.create(Number, 65536)), this.GlyphMapsList.add(Array.create(Number, 65536)) } return this.currentFont = s, s } , m.prototype.storeUnicodeSymbolsInMap = function(t) { var e = t.toString(); if (e.length > 0 && -1 != this.currentFont) for (var r = this.UnicodeMapsList[this.currentFont], i = 0; i < e.length; i++) r[e.charCodeAt(i)] = 1 } , m.prototype.getCharToGlyphTable = function(t, e) { var r = this.scanFontFile(t, e); if (null != r) return this.getCmapTable(t, r); return null } , m.prototype.reduceFontSize = function(t, e, r) { var i = this.scanFontFile(t, e) , n = null; if (null != i) { if (r) { for (var a = Array.create(Boolean, i.NumGlyphs), s = Array.create(Boolean, i.NumGlyphs), l = 0; l < this.GlyphList.length; l++) { var u = this.GlyphList[l]; u < i.NumGlyphs && (a[u] = !0, s[u] = !0) } a[0] = !0, a[1] = !0, a[2] = !0, a[3] = !0, s[0] = !0, s[1] = !0, s[2] = !0, s[3] = !0; var c = i.Tables[i.IndexLocaTable].Offset , m = i.Tables[i.IndexGlyfTable].Offset , p = !0; while (p) { p = !1; for (var l = 0; l < i.NumGlyphs; l++) if (1 == s[l]) { s[l] = !1; var h = c + l * (1 == i.IndexToLocFormat ? 4 : 2) , d = 0; if (d = 1 == i.IndexToLocFormat ? this.GetUInt32(t, h) : 2 * this.GetUInt16(t, h), d += m, -1 == this.GetInt16(t, d)) { p = !0, d += 10; var g = 0; do { g = this.GetUInt16(t, d); var f = this.GetUInt16(t, d + 2); f < i.NumGlyphs && (a[f] = !0, s[f] = !0), d += 4, (g & this.ARG_1_AND_2_ARE_WORDS) > 0 ? (d += 2, d += 2) : d += 2, (g & this.WE_HAVE_A_SCALE) > 0 ? d += 2 : (g & this.WE_HAVE_AN_X_AND_Y_SCALE) > 0 ? (d += 2, d += 2) : (g & this.WE_HAVE_A_TWO_BY_TWO) > 0 && (d += 2, d += 2, d += 2, d += 2) } while ((g & this.MORE_COMPONENTS) > 0) } } } for (var S = 0, A = c, l = 0; l < i.NumGlyphs; l++) { var y = 0 , w = 0; 1 == i.IndexToLocFormat ? (y = this.GetUInt32(t, A), w = this.GetUInt32(t, A + 4), A += 4) : (y = 2 * this.GetUInt16(t, A), w = 2 * this.GetUInt16(t, A + 2), A += 2), a[l] && (S += w - y) } var b = new Uint8Array(S + 4) , v = new Uint8Array(i.Tables[i.IndexLocaTable].Length + 4) , C = 0; A = c; for (var E = 0, l = 0; l < i.NumGlyphs; l++) { var y = 0 , w = 0; 1 == i.IndexToLocFormat ? (y = this.GetUInt32(t, A), w = this.GetUInt32(t, A + 4), A += 4) : (y = 2 * this.GetUInt16(t, A), w = 2 * this.GetUInt16(t, A + 2), A += 2); var B = w - y; if (1 == a[l]) for (var T = 0; T < B; T++) b[C + T] = t[m + y + T]; else B = 0; 0 == i.IndexToLocFormat ? this.SetUInt16(v, E, C / 2) : this.SetUInt32(v, E, C), C += B, E += 1 == i.IndexToLocFormat ? 4 : 2 } 0 == i.IndexToLocFormat ? this.SetUInt16(v, E, C / 2) : this.SetUInt32(v, E, C), i.Tables[i.IndexGlyfTable].NewLength = C, i.Tables[i.IndexGlyfTable].NewTable = b, i.Tables[i.IndexLocaTable].NewTable = v } var I = new Uint8Array(this.TtfHeaderSize + 16 * i.NumTablesRequired); this.copyUint8Array(t, i.HeaderOffset, I, 0, I.length); var x = 1; while (2 << x - 1 <= i.NumTablesRequired) x++; x--; var F = 16 * (2 << x - 1) , D = x , R = 16 * i.NumTablesRequired - F; this.SetUInt16(I, 4, i.NumTablesRequired), this.SetUInt16(I, 6, F), this.SetUInt16(I, 8, D), this.SetUInt16(I, 10, R); for (var P = 0, N = this.TtfHeaderSize + 16 * i.NumTablesRequired, k = 0; k < i.NumTables; k++) if (i.Tables[k].Required) { i.Tables[k].NewOffset = N, N += i.Tables[k].NewLength; var M = N % 4; M > 0 && (N += 4 - M); var O = this.TtfHeaderSize + 16 * P; this.SetUInt32(I, O, i.Tables[k].Tag), this.SetUInt32(I, O + 4, i.Tables[k].CheckSum), this.SetUInt32(I, O + 8, i.Tables[k].NewOffset), this.SetUInt32(I, O + 12, i.Tables[k].NewLength), P++ } n = new o, n.writeBytes(I, 0, I.length); for (var k = 0; k < i.NumTables; k++) if (i.Tables[k].Required) { null != i.Tables[k].NewTable ? n.writeBytes(i.Tables[k].NewTable, 0, i.Tables[k].NewLength) : n.writeBytes(t, i.Tables[k].Offset, i.Tables[k].NewLength); var M = i.Tables[k].NewLength % 4; M > 0 && n.write(Array.create(Number, 4 - M), 0, 4 - M) } n.flush() } return n } , m.prototype.scanFontFile = function(t, e) { var r = null , i = this.GetUInt32(t, 0); if (65536 == i) r = this.getTtfInfo(t, 0); else { var n = this.GetUInt32(t, 4); if (1953784678 == i && (65536 == n || 131072 == n)) for (var o = this.GetUInt32(t, 8), a = o - 1; a >= 0; a--) { var s = this.GetUInt32(t, 12 + 4 * a) , l = this.GetUInt32(t, s); if (65536 == l && (r = this.getTtfInfo(t, s), r.FontName.contains(e))) break } } return r } , m.prototype.getCmapTable = function(t, e) { for (var r = null, i = e.Tables[e.IndexCmapTable].Offset, n = this.GetUInt16(t, i + 2), o = 0; o < n; o++) { var a = i + 4 + 8 * o , s = this.GetUInt16(t, a) , l = this.GetUInt16(t, a + 2) , u = i + this.GetUInt32(t, a + 4); if (3 == s && 1 == l) { if (4 == this.GetUInt16(t, u)) { r = Array.create(Number, 65536); for (var c = 0; c < 65536; c++) r[c] = 65535; for (var m = this.GetUInt16(t, u + 6), p = 0; p < m; p += 2) { var h = u + 14 + p , d = this.GetUInt16(t, h) , g = this.GetUInt16(t, h + 2 + m) , f = this.GetInt16(t, h + 2 + 2 * m) , S = this.GetUInt16(t, h + 2 + 3 * m); if (65535 != g) for (var A = g; A <= d; A++) { var y = 65535; if (0 == S) y = f + A & 65535; else { var w = S + 2 * (A - g) + (h + 2 + 3 * m); y = this.GetUInt16(t, w), 0 != y && (y += f) } r[A] = y } } } } } return r } , m.prototype.copyUint8Array = function(t, e, r, i, n) { for (var o = 0; o < n; o++) r[i + o] = t[e + o] } , m.prototype.getTtfInfo = function(t, e) { var i = new c; i.HeaderOffset = e, i.SfntVersion = this.GetUInt32(t, i.HeaderOffset), i.NumTables = this.GetUInt16(t, i.HeaderOffset + 4), i.NumTablesRequired = 0, i.Tables = []; for (var n = 0; n < i.NumTables; n++) i.Tables[n] = new u; for (var o = 0; o < i.NumTables; o++) { for (var a = i.HeaderOffset + this.TtfHeaderSize + 16 * o, s = new r, l = 0; l < 4; l++) s.append(String.fromCharCode(this.GetUInt8(t, a + l))); i.Tables[o].Tag = this.GetUInt32(t, a), i.Tables[o].TagString = s.toString(), i.Tables[o].CheckSum = this.GetUInt32(t, a + 4), i.Tables[o].Offset = this.GetUInt32(t, a + 8), i.Tables[o].Length = this.GetUInt32(t, a + 12), i.Tables[o].NewLength = i.Tables[o].Length; for (var l = 0; l < this.TablesNames.length; l++) if (i.Tables[o].TagString == this.TablesNames[l]) { i.Tables[o].Required = !0, i.NumTablesRequired++; break } switch (i.Tables[o].TagString) { case "head": i.IndexToLocFormat = this.GetUInt16(t, i.Tables[o].Offset + 50); break; case "maxp": i.NumGlyphs = this.GetUInt16(t, i.Tables[o].Offset + 4); break; case "loca": i.IndexLocaTable = o; break; case "glyf": i.IndexGlyfTable = o; break; case "cmap": i.IndexCmapTable = o; break; case "name": for (var m = i.Tables[o].Offset, p = this.GetUInt16(t, m + 2), h = this.GetUInt16(t, m + 4), d = 0; d < p; d++) { var g = m + 6 + 12 * d , f = this.GetUInt16(t, g) , S = this.GetUInt16(t, g + 2) , A = this.GetUInt16(t, g + 6) , y = this.GetUInt16(t, g + 8) , w = this.GetUInt16(t, g + 10); if (3 == f && 1 == S && 1 == A || 0 == f && 3 == S && 1 == A) { for (var b = new r, v = 0; v < y / 2; v++) b.append(String.fromCharCode(this.GetUInt16(t, m + h + w + 2 * v))); var C = b.toString(); i.FontName.set(C, C) } } break } } return i } , m.prototype.GetUInt8 = function(t, e) { return t[e] } , m.prototype.GetUInt16 = function(t, e) { return (t[e] << 8) + t[e + 1] } , m.prototype.GetUInt32 = function(t, e) { return (t[e] << 24) + (t[e + 1] << 16) + (t[e + 2] << 8) + t[e + 3] } , m.prototype.GetInt16 = function(t, e) { var r = (t[e] << 8) + t[e + 1]; return r > 32767 ? r - 65536 : r } , m.prototype.SetUInt16 = function(t, e, r) { t[e + 0] = r >>> 8 & 255, t[e + 1] = 255 & r } , m.prototype.SetUInt32 = function(t, e, r) { t[e + 0] = r >>> 24 & 255, t[e + 1] = r >>> 16 & 255, t[e + 2] = r >>> 8 & 255, t[e + 3] = 255 & r } , m.prototype.clear = function() { this.fonts = null, this.fontList = null, this.UnicodeMapsList = null, this.GlyphMapsList = null, this.Widths = null, this.CharPdfNames = null, this.UnicodeMap = null, this.UnicodeMapBack = null, this.GlyphList = null, this.GlyphBackList = null, this.GlyphRtfList = null, this.SymsToPDF = null, this.GlyphWidths = null, this.fontsInfoStore.clear() } , m }(s); e.PdfFonts = m; var p = function() { function t() {} return t.prototype.clear = function() {} , t }(); e.FontsInfoStore = p }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Enum , i = function(i) { function n(r, n) { void 0 === n && (n = 1); var o = i.call(this) || this; return o.thickness = 1, o.penStyle = t.Base.Drawing.StiPenStyle.Solid, o.alignment = e.StiPenAlignment.Center, o.startCap = e.StiPenLineCap.Flat, o.endCap = e.StiPenLineCap.Flat, o.brush = r, o.thickness = n, o } return __extends(n, i), n.prototype.saveToJsonObject = function(n) { var o = i.prototype.saveToJsonObject.call(this, n); return null != this.brush && o.addPropertyString("Brush", this.saveBrushToJsonObject(this.brush, n)), o.addPropertyNumberNoDefaultValue("Thickness", this.thickness), o.addPropertyString("PenStyle", r.getName(t.Base.Drawing.StiPenStyle, this.penStyle)), o.addPropertyString("Alignment", r.getName(e.StiPenAlignment, this.alignment)), o.addPropertyString("StartCap", r.getName(e.StiPenLineCap, this.startCap)), o.addPropertyString("EndCap", r.getName(e.StiPenLineCap, this.endCap)), o } , Object.defineProperty(n.prototype, "type", { get: function() { return e.StiGeomType.Pen }, enumerable: !0, configurable: !0 }), n }(e.StiGeom); e.StiPenGeom = i }(r = e.Context || (e.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Drawing.Point , n = t.System.Drawing.Rectangle , o = t.System.Text.StringBuilder , a = t.Base.Context.StiPenGeom , s = t.System.Drawing.Color , l = t.Base.Drawing.StiBrush , u = t.Base.Drawing.StiGradientBrush , c = t.Base.Drawing.StiGlareBrush , m = t.Base.Drawing.StiHatchBrush , p = t.Base.Drawing.StiGlassBrush , h = t.Base.Drawing.StiPenStyle , d = t.Base.Drawing.StiPenUtils , g = t.System.Drawing.Drawing2D.DashStyle , f = t.System.Drawing.StringFormat , S = t.Report.Components.StiText , A = t.System.Drawing.Rectangle , y = t.System.Drawing.StringAlignment , w = t.Base.Drawing.StiTextHorAlignment , b = t.Base.Drawing.StiVertAlignment , v = t.System.Drawing.StringFormatFlags , C = t.System.Drawing.Size , E = function() { function E(t, e, r) { void 0 === r && (r = !1), this.penWidthDefault = .1, this.precision_digits = 3, this.hiToTwips = .72, this.pdfCKT = .55228, this.makepath = !1, this.pathClosed = !1, this.path = null, this.pageStream = null, this.pdfService = null, this.assembleData = !1, this.pageNumber = 0, this.matrixCache = null, this.xmin = null, this.xmax = null, this.ymin = null, this.ymax = null, this.pageStream = t, this.pdfService = e, this.assembleData = r, this.matrixCache = new Array } return E.prototype.calculateMinMax = function(t) { null == this.xmin ? this.xmin = t.x : this.xmin = Math.min(this.xmin, t.x), null == this.xmax ? this.xmax = t.x : this.xmax = Math.max(this.xmax, t.x), null == this.ymin ? this.ymin = t.y : this.ymin = Math.min(this.ymin, t.y), null == this.ymax ? this.ymax = t.y : this.ymax = Math.max(this.ymax, t.y) } , E.prototype.convertToString = function(e) { return Math.round2(e, this.precision_digits).toString().stimulsoft.replaceAll(",", t.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator) } , E.prototype.setPen = function(e, r) { if (void 0 === r && (r = !1), null == e) return !1; var i = !1; if (e.stimulsoft.is(t.Base.Context.StiPenGeom)) { var n = e.stimulsoft.as(a) , o = s.transparent; n.brush.stimulsoft.is(s) && (o = n.brush.stimulsoft.as(s)), n.brush.stimulsoft.is(l) && (o = l.toColor(n.brush.stimulsoft.as(l))), this.pdfService.setStrokeColor(o); var u = n.thickness > 1 ? n.thickness : n.thickness * this.hiToTwips; 0 == u && (u = this.penWidthDefault), this.pageStream.writeLine("{0} w", this.convertToString(u)), i = r && n.penStyle != h.Solid, i && this.pageStream.writeLine("q"); var c = this.getPenStyleDashString(d.getPenStyle(n.penStyle), .025 * n.thickness); null != c && this.pageStream.writeLine(c) } return i } , E.prototype.setBrush = function(t, e, r) { if (void 0 === r && (r = !1), null == t) return !1; if (this.assembleData) return (t.stimulsoft.is(u) || t.stimulsoft.is(c) || t.stimulsoft.is(m) || t.stimulsoft.is(p)) && (this.pdfService.storeShadingData1(t.stimulsoft.as(l), this.pageNumber), this.pdfService.storeHatchData(t.stimulsoft.as(l))), !1; var o = !1 , a = s.transparent; if (t.stimulsoft.is(s) && (a = t.stimulsoft.as(s)), t.stimulsoft.is(l) && (a = l.toColor(t.stimulsoft.as(l))), this.pdfService.setNonStrokeColor(a), t.stimulsoft.is(u) || t.stimulsoft.is(c) || t.stimulsoft.is(m) || t.stimulsoft.is(p)) { var h = this.matrixCache.peek() , d = new i(e.x,e.bottom) , g = new i(e.right,e.y) , f = [d, g]; h.transformPoints(f); var S = new n(f[0].x,f[0].y,f[1].x - f[0].x,f[1].y - f[0].y) , A = this.pdfService.storeShadingData2(S.x, S.y, S.width, S.height, t.stimulsoft.as(l)); if ((t.stimulsoft.is(u) || t.stimulsoft.is(c)) && this.pageStream.writeLine("/Pattern cs /P{0} scn", 1 + A), t.stimulsoft.is(m)) { var y = t.stimulsoft.as(m); this.pageStream.writeLine("/Cs1 cs /PH{0} scn", this.pdfService.getHatchNumber(y) + 1) } o = !0 } return o = o && r, o && this.pageStream.writeLine("q"), o } , E.prototype.outputLineString = function(t, e) { if (null != e) { var r = this.setPen(e, !0); this.pageStream.writeLine(t), r && this.pageStream.writeLine("Q") } } , E.prototype.convertArcToBezierPoints = function(t, e, r) { var n = t.x + t.width / 2 , o = t.y + t.height / 2 , a = t.width / 2; e *= Math.PI / 180, r *= Math.PI / 180; var s = Math.ceil(Math.abs(r) / (Math.PI / 2)) , l = Array.create(i, 3 * s + 1, !0) , u = r / s , c = Math.sin(u / 2) , m = Math.cos(u / 2) , p = 4 * (1 - m) / 3 , h = c - p * m / (c + 1e-4) , d = [] , g = []; d[0] = m, g[0] = -c, d[1] = m + p, g[1] = -h, d[2] = m + p, g[2] = h, d[3] = m, g[3] = c; var f = Math.sin(e + u / 2) , S = Math.cos(e + u / 2); l[0].x = n + a * (d[0] * S - g[0] * f), l[0].y = o + a * (d[0] * f + g[0] * S); for (var A = 0; A < s; A++) { var y = e + u * A; f = Math.sin(y + u / 2), S = Math.cos(y + u / 2); for (var w = 1; w <= 3; w++) l[w + 3 * A].x = n + a * (d[w] * S - g[w] * f), l[w + 3 * A].y = o + a * (d[w] * f + g[w] * S) } return l } , E.prototype.convertSplineToCubicBezier = function(t, e) { var r = t.length , i = 3 * r - 2 , n = []; e *= .3, n[0] = t[0], n[1] = this.calculateCurveBezierEndPoints(t[0], t[1], e); for (var o = 0; o < r - 2; o++) { var a = this.calculateCurveBezier(t, o, e); n[3 * o + 2] = a[0], n[3 * o + 3] = t[o + 1], n[3 * o + 4] = a[1] } return n[i - 2] = this.calculateCurveBezierEndPoints(t[r - 1], t[r - 2], e), n[i - 1] = t[r - 1], n } , E.prototype.calculateCurveBezier = function(t, e, r) { var n = t[e + 2].x - t[e + 0].x , o = t[e + 2].y - t[e + 0].y; return [new i(t[e + 1].x - r * n,t[e + 1].y - r * o), new i(t[e + 1].x + r * n,t[e + 1].y + r * o)] } , E.prototype.calculateCurveBezierEndPoints = function(t, e, r) { return new i(r * (e.x - t.x) + t.x,r * (e.y - t.y) + t.y) } , E.prototype.getPointString = function(t) { return this.calculateMinMax(t), r.format("{0} {1} {2} ", this.convertToString(t.x), this.convertToString(t.y), this.makepath && this.path.length > 0 ? "l" : "m") } , E.prototype.getLineToString = function(t) { return this.calculateMinMax(t), r.format("{0} {1} l ", this.convertToString(t.x), this.convertToString(t.y)) } , E.prototype.getRectString4 = function(t, e, r, i) { return this.getRectString(new n(t,e,r,i)) } , E.prototype.getRectString = function(t) { return r.format("{0} {1} {2} {3} re ", this.convertToString(t.x), this.convertToString(t.top), this.convertToString(t.right - t.x), this.convertToString(t.bottom - t.y)) } , E.prototype.getBezierString = function(t, e, i) { return this.calculateMinMax(t), this.calculateMinMax(e), this.calculateMinMax(i), r.format("{0} {1} {2} {3} {4} {5} c ", this.convertToString(t.x), this.convertToString(t.y), this.convertToString(e.x), this.convertToString(e.y), this.convertToString(i.x), this.convertToString(i.y)) } , E.prototype.getBezierString2 = function(t, e, n, o, a, s) { return this.calculateMinMax(new i(t,e)), this.calculateMinMax(new i(n,o)), this.calculateMinMax(new i(a,s)), r.format("{0} {1} {2} {3} {4} {5} c ", this.convertToString(t), this.convertToString(e), this.convertToString(n), this.convertToString(o), this.convertToString(a), this.convertToString(s)) } , E.prototype.getPolylineString = function(t, e, r) { var i = new o; r || i.append(this.getPointString(t[0])); for (var n = r ? 0 : 1; n < t.length; n++) i.append(this.getLineToString(t[n])); return e && i.append("h "), i.toString() } , E.prototype.getEllipseString4 = function(t, e, r, i) { return this.getEllipseString(new n(t,e,r,i)) } , E.prototype.getEllipseString = function(t) { var e = t.width / 2 * (1 - this.pdfCKT) , r = t.height / 2 * (1 - this.pdfCKT) , i = new o; return i.appendFormat("{0} {1} m ", this.convertToString(t.x), this.convertToString(t.y + t.height / 2)), i.append(this.getBezierString2(t.x, t.y + t.height - r, t.x + e, t.y + t.height, t.x + t.width / 2, t.y + t.height)), i.append(this.getBezierString2(t.x + t.width - e, t.y + t.height, t.x + t.width, t.y + t.height - r, t.x + t.width, t.y + t.height / 2)), i.append(this.getBezierString2(t.x + t.width, t.y + r, t.x + t.width - e, t.y, t.x + t.width / 2, t.y)), i.append(this.getBezierString2(t.x + e, t.y, t.x, t.y + r, t.x, t.y + t.height / 2)), i.toString() } , E.prototype.getPenStyleDashString = function(t, e) { switch (t) { case g.Dot: return r.format("[{0} {1}] 0 d", this.convertToString(e), this.convertToString(58 * e)); case g.Dash: return r.format("[{0} {1}] 0 d", this.convertToString(49.5 * e), this.convertToString(62 * e)); case g.DashDot: return r.format("[{0} {1} {2} {1}] 0 d", this.convertToString(50 * e), this.convertToString(55 * e), this.convertToString(e)); case g.DashDotDot: return r.format("[{0} {1} {2} {1} {2} {1}] 0 d", this.convertToString(50 * e), this.convertToString(55 * e), this.convertToString(e)) } return null } , E.prototype.beginPath = function() { if (this.assembleData) return; this.path = new o, this.makepath = !0, this.pathClosed = !1, this.xmin = null, this.xmax = null, this.ymin = null, this.ymax = null } , E.prototype.closeFigure = function() { if (this.assembleData) return; this.path.append("h "), this.pathClosed = !0 } , E.prototype.endPath = function() { if (this.assembleData) return; this.makepath = !1 } , E.prototype.fillPath = function(t) { var e = this.assembleData ? new n : new n(this.xmin,this.ymin,this.xmax - this.xmin,this.ymax - this.ymin) , r = this.setBrush(t, e, !0); if (this.assembleData) return; this.pathClosed || this.endPath(), this.pageStream.writeString(this.path.toString()), this.pageStream.writeLine("f"), r && this.pageStream.writeLine("Q") } , E.prototype.strokePath = function(t) { if (this.assembleData) return; this.setPen(t), this.pageStream.writeString(this.path.toString()), this.pageStream.writeLine("S") } , E.prototype.moveTo = function(t) { if (this.assembleData) return; this.lastPoint = t; var e = this.getPointString(t); this.makepath ? this.path.appendLine(e) : this.pageStream.writeLine(e) } , E.prototype.drawLine = function(t, e, r) { if (this.assembleData) return; var i = this.getPointString(t) + this.getLineToString(e); this.makepath ? this.path.appendLine(i) : this.outputLineString(i + "S", r), this.lastPoint = e } , E.prototype.drawLineTo = function(t, e) { if (this.assembleData) return; var r = this.getLineToString(t); this.makepath ? this.path.appendLine(r) : this.outputLineString(r + "S", e), this.lastPoint = t } , E.prototype.drawRectangle = function(t, e) { if (this.assembleData) return; this.outputLineString(this.getRectString(t) + "S", e) } , E.prototype.fillRectangle = function(t, e) { var r = this.setBrush(e, t, !0); if (this.assembleData) return; null != e && this.pageStream.writeLine(this.getRectString(t) + "f"), r && this.pageStream.writeLine("Q") } , E.prototype.drawPolygon = function(t, e) { this.drawPolyline(t, e, !0) } , E.prototype.drawPolyline = function(t, e, r, i) { if (void 0 === r && (r = !1), void 0 === i && (i = !1), this.assembleData) return; var n = this.getPolylineString(t, r, i); this.makepath ? this.path.appendLine(n) : this.outputLineString(n + "S", e), this.lastPoint = t[t.length - 1] } , E.prototype.drawPolylineTo = function(t, e) { this.drawPolyline(t, e, !1, !0) } , E.prototype.fillPolygon = function(t, e) { var r, i; try { for (var o = __values(t), a = o.next(); !a.done; a = o.next()) { var s = a.value; this.calculateMinMax(s) } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } var l = new n(this.xmin,this.ymin,this.xmax - this.xmin,this.ymax - this.ymin) , u = this.setBrush(e, l, !0); if (this.assembleData) return; if (null != e) { var c = this.getPolylineString(t, !0, !1); this.pageStream.writeLine(c + "f") } u && this.pageStream.writeLine("Q") } , E.prototype.drawBezier = function(t, e, r, i, n) { if (this.assembleData) return; var o = this.getPointString(t) + this.getBezierString(e, r, i); this.makepath ? this.path.appendLine(o) : this.outputLineString(o + "S", n), this.lastPoint = i } , E.prototype.drawBezierTo = function(t, e, r, i) { if (this.assembleData) return; var n = this.getBezierString(t, e, r); this.makepath ? this.path.appendLine(n) : this.outputLineString(n + "S", i), this.lastPoint = r } , E.prototype.drawSpline = function(t, e, r) { if (this.assembleData) return; var i = this.convertSplineToCubicBezier(t, e) , n = (i.length - 1) / 3 , a = new o; a.append(this.getPointString(i[0]) + this.getBezierString(i[1], i[2], i[3])); for (var s = 1; s < n; s++) a.append(this.getBezierString(i[3 * s + 1], i[3 * s + 2], i[3 * s + 3])); this.makepath ? this.path.appendLine(a.toString()) : this.outputLineString(a.toString() + "S", r), this.lastPoint = i[i.length - 1] } , E.prototype.drawArc = function(t, e, r) { if (this.assembleData) return; var i = this.convertArcToBezierPoints(t, e, r) , n = (i.length - 1) / 3; this.drawBezier(i[0], i[1], i[2], i[3], null); for (var o = 1; o < n; o++) this.drawBezierTo(i[3 * o + 1], i[3 * o + 2], i[3 * o + 3], null) } , E.prototype.drawEllipse = function(t, e) { if (this.assembleData) return; this.outputLineString(this.getEllipseString(t) + "S", e) } , E.prototype.fillEllipse = function(t, e) { var r = this.setBrush(e, t, !0); if (this.assembleData) return; null != e && this.pageStream.writeLine(this.getEllipseString(t) + "f"), r && this.pageStream.writeLine("Q") } , E.prototype.drawPie = function(t, e, r) { if (this.assembleData) return; var n = this.convertArcToBezierPoints(t, e, r) , o = (n.length - 1) / 3 , a = t.x + t.width / 2 , s = t.y + t.height / 2; this.drawBezier(n[0], n[1], n[2], n[3], null); for (var l = 1; l < o; l++) this.drawBezierTo(n[3 * l + 1], n[3 * l + 2], n[3 * l + 3], null); this.drawLineTo(new i(a,s), null), this.drawLineTo(n[0], null) } , E.prototype.drawString = function(t, r, i, n, a) { if (this.assembleData) { if (null != r) var s = this.pdfService.pdfFont.getFontNumber(r); var l = new o(t); return void this.pdfService.pdfFont.storeUnicodeSymbolsInMap(l) } var u = new S; u.clientRectangle = new A(n.x,n.y,n.width,n.height), u.text = t, u.font = r, u.textBrush = i, a || (a = new f), a.alignment == y.Center && (u.horAlignment = w.Center), a.alignment == y.Far && (u.horAlignment = w.Right), a.lineAlignment == y.Center && (u.vertAlignment = b.Center), a.lineAlignment == y.Far && (u.vertAlignment = b.Bottom), 0 == (a.formatFlags & v.NoWrap) && (u.wordWrap = !0); var c = new e.StiPdfData(this.pdfService); c.Component = u, c.Width = n.width * this.hiToTwips, c.Height = n.height * this.hiToTwips, this.pageStream.writeLine("q"), this.pdfService.pushColorToStack(), this.pageStream.writeLine("1 0 0 1 {0} {1} cm", this.convertToString(n.x), this.convertToString(n.y + n.height)), this.pageStream.writeLine("1 0 0 -1 0 0 cm"), this.pageStream.writeLine("1.39 0 0 1.39 0 {0} cm", this.convertToString(1.2)), e.StiPdfRenderText.renderTextFont(c), e.StiPdfRenderText.renderText(c), this.pageStream.writeLine("Q"), this.pdfService.popColorFromStack() } , E.prototype.saveState = function() { if (this.assembleData) return; this.pageStream.writeLine("q"), this.pdfService.pushColorToStack(), this.matrixCache.length > 0 && this.matrixCache.push(this.matrixCache.peek().clone()) } , E.prototype.restoreState = function() { if (this.assembleData) return; this.pageStream.writeLine("Q"), this.pdfService.popColorFromStack(), this.matrixCache.length > 0 && this.matrixCache.pop() } , E.prototype.translateTransform = function(t, e) { if (this.assembleData) return; this.pageStream.writeLine("1 0 0 1 {0} {1} cm", this.convertToString(t), this.convertToString(e)), this.matrixCache.length > 0 && this.matrixCache.peek().translate(t, e) } , E.prototype.rotateTransform = function(t) { if (this.assembleData) return; var e = t * Math.PI / 180; this.pageStream.writeLine("{0} {1} {2} {3} 0 0 cm", this.convertToString(Math.cos(e)), this.convertToString(Math.sin(e)), this.convertToString(-Math.sin(e)), this.convertToString(Math.cos(e))), this.matrixCache.length > 0 && this.matrixCache.peek().rotate(t) } , E.prototype.setClip = function(t) { if (this.assembleData) return; this.pageStream.writeLine(this.getRectString(t) + "W n") } , E.prototype.drawArc2 = function(t, e, r, i) {} , E.prototype.drawText = function(t, e, r, i, n, o, a) {} , E.prototype.setPixel = function(t, e) {} , E.prototype.measureString = function(t, e) { return new C(0,0) } , E.prototype.drawImage = function(t, e) {} , E }(); e.StiPdfGeomWriter = E }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.PushSmothingModeToAntiAlias }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiPushSmothingModeToAntiAliasGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.PopSmothingMode }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiPopSmothingModeGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.PushTextRenderingHintToAntiAlias }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiPushTextRenderingHintToAntiAliasGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGeomType.PopTextRenderingHint }, enumerable: !0, configurable: !0 }), r }(t.StiGeom); t.StiPopTextRenderingHintGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Color , i = t.System.Drawing.Graphics , n = t.Base.Context.StiContext , o = t.Base.Context.StiContextPainter , a = t.System.Drawing.Point , s = t.System.Drawing.Point , l = t.System.Drawing.Rectangle , u = t.System.Drawing.Rectangle , c = t.System.Drawing.StringFormat , m = t.Base.Drawing.StiRotationMode , p = t.Base.Context.StiPushTranslateTransformGeom , h = t.Base.Context.StiPushRotateTransformGeom , d = t.Base.Context.StiPopTransformGeom , g = t.Base.Context.StiBorderGeom , f = t.Base.Context.StiLineGeom , S = t.Base.Context.StiLinesGeom , A = t.Base.Context.StiPushClipGeom , y = t.Base.Context.StiPopClipGeom , w = t.Base.Context.StiPushSmothingModeToAntiAliasGeom , b = t.Base.Context.StiPopSmothingModeGeom , v = t.Base.Context.StiPushTextRenderingHintToAntiAliasGeom , C = t.Base.Context.StiPopTextRenderingHintGeom , E = t.Base.Context.StiCurveGeom , B = t.Base.Context.StiEllipseGeom , T = t.Base.Context.StiCachedShadowGeom , I = t.Base.Drawing.StiShadowSides , x = t.Base.Drawing.StiSolidBrush , F = t.Base.Context.StiShadowGeom , D = t.Base.Context.StiTextGeom , R = t.Base.Context.StiPathGeom , P = t.Base.Context.StiPieSegmentGeom , N = t.Base.Context.StiArcSegmentGeom , k = t.Base.Context.StiLineSegmentGeom , M = t.Base.Context.StiLinesSegmentGeom , O = t.Base.Context.StiCurveSegmentGeom , _ = t.Base.Context.StiCloseFigureSegmentGeom , L = t.System.Drawing.Drawing2D.Matrix , j = t.Report.Chart.IStiChart , H = t.Base.Drawing.StiPenStyle , G = t.System.Drawing.Font , Q = t.Base.Drawing.StiBrush , Y = t.Report.Components.StiImageRotation , U = function() { function t() {} return t.renderChart = function(t, m, H) { var Q, U, J, W, V = t.Component.stimulsoft.as(j), z = .96, X = t.service.report.unit.convertToHInches(t.Component.width) * z, K = t.service.report.unit.convertToHInches(t.Component.height) * z, Z = 0, q = 0, $ = 0, tt = 1, et = 1; switch (V.rotation) { case Y.Rotate90CCW: Z = -90, $ = K; break; case Y.Rotate90CW: Z = 90, q = X; break; case Y.Rotate180: Z = -180, q = X, $ = K; break; case Y.FlipVertical: et = -1, $ = K; break; case Y.FlipHorizontal: tt = -1, q = X; break } switch (V.rotation) { case Y.Rotate90CCW: case Y.Rotate90CW: var rt = X; X = K, K = rt; break } if (!m && V.rotation != Y.None) { var it = new L(1,0,0,1,0,0); it.translate(q, $), it.scale(tt, et), it.rotate(Z), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} cm", t.service.convertToString(it.elements[0]), t.service.convertToString(it.elements[1]), t.service.convertToString(it.elements[2]), t.service.convertToString(it.elements[3]), t.service.convertToString(it.elements[4]), t.service.convertToString(it.elements[5])) } var nt = new o , ot = new n(nt,!0,!1,!1,1) , at = V.isAnimation; V.isAnimation = !1, V.core.render(ot, new u(0,0,X,K), !0).drawGeom(ot), V.isAnimation = at; var st = new L(1,0,0,1,0,0) , lt = t.service.hiToTwips / .96; st.translate(t.X, t.Y + t.Height), st.scale(1, -1), st.scale(lt, lt); var ut = new e.StiPdfGeomWriter(t.service.pageStream,t.service,m); ut.pageNumber = H, ut.matrixCache.push(st); try { for (var ct = __values(ot.geoms), mt = ct.next(); !mt.done; mt = ct.next()) { var pt = mt.value; if (pt.stimulsoft.is(p)) { var ht = pt.stimulsoft.as(p); ut.saveState(), ut.translateTransform(ht.x, ht.y) } if (pt.stimulsoft.is(h)) { var dt = pt.stimulsoft.as(h); ut.saveState(), ut.rotateTransform(dt.angle) } if (pt.stimulsoft.is(d) && ut.restoreState(), pt.stimulsoft.is(A)) { var gt = pt.stimulsoft.as(A); ut.saveState(), ut.setClip(gt.clipRectangle) } if (pt.stimulsoft.is(y) && ut.restoreState(), pt.stimulsoft.is(w) && ut.saveState(), pt.stimulsoft.is(b) && ut.restoreState(), pt.stimulsoft.is(v) && ut.saveState(), pt.stimulsoft.is(C) && ut.restoreState(), pt.stimulsoft.is(g)) { var ft = pt.stimulsoft.as(g); null != ft.background && ut.fillRectangle(this.rectToRectangle(ft.rect), ft.background), this.checkPenGeom(ft.borderPen) && ut.drawRectangle(this.rectToRectangle(ft.rect), ft.borderPen) } if (pt.stimulsoft.is(f)) { var St = pt.stimulsoft.as(f); this.checkPenGeom(St.pen) && ut.drawLine(new a(St.x1,St.y1), new a(St.x2,St.y2), St.pen) } if (pt.stimulsoft.is(S)) { var At = pt.stimulsoft.as(S); this.checkPenGeom(At.pen) && ut.drawPolyline(At.points, At.pen) } if (pt.stimulsoft.is(E)) { var yt = pt.stimulsoft.as(E); this.checkPenGeom(yt.pen) && ut.drawSpline(yt.points, yt.tension, yt.pen) } if (pt.stimulsoft.is(B)) { var wt = pt.stimulsoft.as(B); null != wt.background && ut.fillEllipse(this.rectToRectangle(wt.rect), wt.background), this.checkPenGeom(wt.borderPen) && ut.drawEllipse(this.rectToRectangle(wt.rect), wt.borderPen) } if (pt.stimulsoft.is(T)) { var bt = pt.stimulsoft.as(T) , vt = bt.rect , Ct = bt.sides , Et = vt.y + 8 , Bt = vt.x + 8 , Tt = (Ct & I.Edge) > 0 ? 4 : 0; (Ct & I.Top) > 0 && (Et = vt.y + 4), (Ct & I.Left) > 0 && (Bt = vt.x + 4); for (var It = 0; It < 3; It++) { var xt = new Array; (Ct & I.Right) > 0 ? (xt.add(new a(vt.right,Et)), (Ct & I.Bottom) > 0 ? (xt.add(new a(vt.right,vt.bottom)), xt.add(new a(Bt,vt.bottom)), xt.add(new a(Bt,vt.bottom + It + 1)), xt.add(new a(vt.right + It + 1,vt.bottom + It + 1))) : (xt.add(new a(vt.right,vt.bottom + Tt)), xt.add(new a(vt.right + It + 1,vt.bottom + Tt))), xt.add(new a(vt.right + It + 1,Et))) : (xt.add(new a(Bt,vt.bottom)), xt.add(new a(vt.right + Tt,vt.bottom)), xt.add(new a(vt.right + Tt,vt.bottom + It + 1)), xt.add(new a(Bt,vt.bottom + It + 1))); var Ft = new x(r.fromArgb(40 - 10 * It, r.black)); ut.fillPolygon(xt, Ft) } } if (pt.stimulsoft.is(F)) var Dt = pt.stimulsoft.as(F); if (pt.stimulsoft.is(D)) { var Rt = pt.stimulsoft.as(D) , Pt = new G(Rt.font.fontName,Rt.font.fontSize,Rt.font.fontStyle,Rt.font.unit) , Nt = new c; Nt.alignment = Rt.stringFormat.alignment, Nt.formatFlags = Rt.stringFormat.formatFlags, Nt.hotkeyPrefix = Rt.stringFormat.hotkeyPrefix, Nt.lineAlignment = Rt.stringFormat.lineAlignment, Nt.trimming = Rt.stringFormat.trimming; var kt = this.brushToStiBrush(Rt.brush); if (Rt.isRotatedText) { var Mt = new a; if (Rt.location.stimulsoft.is(a)) Mt = Rt.location.stimulsoft.as(a); else if (Rt.location.stimulsoft.is(s)) { var Ot = Rt.location.stimulsoft.as(s); Mt = new a(Ot.x,Ot.y) } else { var _t = this.rectToRectangle(Rt.location); Mt = new a(_t.x + _t.width / 2,_t.y + _t.height / 2) } var Lt = i.measureString(Rt.text, Pt, Rt.maximalWidth) , jt = new l(0,0,Lt.width + 2.5,Lt.height) , Ht = this.getStartPoint(Rt.rotationMode, jt); jt.x -= Ht.x, jt.y -= Ht.y, ut.saveState(), ut.translateTransform(Mt.x, Mt.y), ut.rotateTransform(Rt.angle), ut.drawString(Rt.text, Pt, kt, jt, Nt), ut.restoreState() } else ut.drawString(Rt.text, Pt, kt, this.rectToRectangle(Rt.location), Nt) } if (pt.stimulsoft.is(R)) { var Gt = pt.stimulsoft.as(R); ut.beginPath(); try { for (var Qt = (J = void 0, __values(Gt.geoms)), Yt = Qt.next(); !Yt.done; Yt = Qt.next()) { var Ut = Yt.value; if (Ut.stimulsoft.is(P)) { var Jt = Ut.stimulsoft.as(P); ut.drawPie(Jt.rect, Jt.startAngle, Jt.sweepAngle) } if (Ut.stimulsoft.is(N)) { var Wt = Ut.stimulsoft.as(N); ut.drawArc(Wt.rect, Wt.startAngle, Wt.sweepAngle) } if (Ut.stimulsoft.is(k)) { var Vt = Ut.stimulsoft.as(k); ut.drawLine(new a(Vt.x1,Vt.y1), new a(Vt.x2,Vt.y2), null) } if (Ut.stimulsoft.is(M)) { var zt = Ut.stimulsoft.as(M); ut.drawPolyline(zt.points, null) } if (Ut.stimulsoft.is(O)) { var Xt = Ut.stimulsoft.as(O); ut.drawSpline(Xt.points, Xt.tension, null) } Ut.stimulsoft.is(_) && ut.closeFigure() } } catch (t) { J = { error: t } } finally { try { Yt && !Yt.done && (W = Qt.return) && W.call(Qt) } finally { if (J) throw J.error } } ut.closeFigure(), ut.endPath(), null != Gt.background && ut.fillPath(Gt.background), this.checkPenGeom(Gt.pen) && ut.strokePath(Gt.pen) } } } catch (t) { Q = { error: t } } finally { try { mt && !mt.done && (U = ct.return) && U.call(ct) } finally { if (Q) throw Q.error } } } , t.getStartPoint = function(t, e) { var r = new a(e.x + e.width / 2,e.y + e.height / 2); switch (t) { case m.LeftCenter: return new a(e.x,r.y); case m.LeftBottom: return new a(e.x,e.bottom); case m.CenterTop: return new a(r.x,e.top); case m.CenterCenter: return r; case m.CenterBottom: return new a(r.x,e.bottom); case m.RightTop: return new a(e.right,e.top); case m.RightCenter: return new a(e.right,r.y); case m.RightBottom: return new a(e.right,e.bottom); default: return new a(e.x,e.y) } } , t.rectToRectangle = function(t) { if (null == t) return new l; if (t.stimulsoft.is(l)) return t.stimulsoft.as(l); if (t.stimulsoft.is(u)) { var e = t.stimulsoft.as(u); return new l(e.x,e.y,e.width,e.height) } return new l } , t.brushToStiBrush = function(t) { if (null == t) return null; if (t.stimulsoft.is(r)) return new x(t.stimulsoft.as(r)); if (t.stimulsoft.is(Q)) return t.stimulsoft.as(Q); return null } , t.checkPenGeom = function(t) { return !(null == t || null == t.brush || t.penStyle == H.None) } , t }(); e.StiPdfRenderChart = U }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Color , i = t.Base.Drawing.StiBrush , n = t.Base.Drawing.StiGradientBrush , o = t.Base.Drawing.StiGlareBrush , a = t.Base.Drawing.StiHatchBrush , s = t.Base.Drawing.StiGlassBrush , l = t.Report.Components.IStiBrush , u = t.Base.Drawing.StiBorderSides , c = t.Report.Components.IStiBorder , m = t.Base.Drawing.StiBorderSide , p = t.Base.Drawing.StiAdvancedBorder , h = t.Base.Drawing.StiPenStyle , d = t.Report.Components.StiShape , g = t.Report.Components.StiVerticalLineShapeType , f = t.Report.Components.StiHorizontalLineShapeType , S = t.Report.Components.StiTopAndBottomLineShapeType , A = t.Report.Components.StiLeftAndRightLineShapeType , y = t.Report.Components.StiRectangleShapeType , w = t.Report.Components.StiRoundedRectangleShapeType , b = t.Report.Components.StiDiagonalDownLineShapeType , v = t.Report.Components.StiDiagonalUpLineShapeType , C = t.Report.Components.StiTriangleShapeType , E = t.Report.Components.StiOvalShapeType , B = t.Report.Components.StiArrowShapeType , T = t.Report.Components.StiOctagonShapeType , I = t.Report.Components.StiComplexArrowShapeType , x = t.Report.Components.StiBentArrowShapeType , F = t.Report.Components.StiChevronShapeType , D = t.Report.Components.StiDivisionShapeType , R = t.Report.Components.StiEqualShapeType , P = t.Report.Components.StiFlowchartCardShapeType , N = t.Report.Components.StiFlowchartCollateShapeType , k = t.Report.Components.StiFlowchartDecisionShapeType , M = t.Report.Components.StiFlowchartManualInputShapeType , O = t.Report.Components.StiFlowchartOffPageConnectorShapeType , _ = t.Report.Components.StiFlowchartPreparationShapeType , L = t.Report.Components.StiFlowchartSortShapeType , j = t.Report.Components.StiFrameShapeType , H = t.Report.Components.StiMinusShapeType , G = t.Report.Components.StiMultiplyShapeType , Q = t.Report.Components.StiParallelogramShapeType , Y = t.Report.Components.StiPlusShapeType , U = t.Report.Components.StiRegularPentagonShapeType , J = t.Report.Components.StiTrapezoidShapeType , W = t.Report.Components.StiSnipSameSideCornerRectangleShapeType , V = t.Report.Components.StiSnipDiagonalSideCornerRectangleShapeType , z = t.Report.Components.StiShapeDirection , X = t.System.Drawing.Rectangle , K = t.Report.Components.StiCheckBox , Z = t.Report.Components.StiCheckStyle , q = t.Report.Components.StiRoundedRectanglePrimitive , $ = t.System.StiString , tt = function() { function t() {} return t.renderBorder1 = function(t) { var e = r.transparent , u = t.Component.stimulsoft.as(l); if (null != u && null != u.brush && (e = i.toColor(u.brush)), t.service.setNonStrokeColor(e), null != u && null != u.brush) { if (t.service.storeShadingData2(t.X, t.Y, t.Width, t.Height, u.brush), (u.brush.stimulsoft.is(n) || u.brush.stimulsoft.is(o)) && t.service.pageStream.writeLine("/Pattern cs /P{0} scn", 1 + t.service.shadingCurrent), u.brush.stimulsoft.is(a)) { var c = u.brush.stimulsoft.as(a); t.service.pageStream.writeLine("/Cs1 cs /PH{0} scn", t.service.getHatchNumber(c) + 1) } if (u.brush.stimulsoft.is(s)) var m = u.brush.stimulsoft.as(s) } 0 != e.a && t.service.pageStream.writeLine("{0} {1} {2} {3} re f", t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.Width), t.service.convertToString(t.Height)) } , t.renderBorder2 = function(t) { var e = t.Component.stimulsoft.as(c); if (null != e) { var n = r.transparent; if (e.border.dropShadow && null != e.border.shadowBrush && (n = i.toColor(e.border.shadowBrush), 0 != n.a)) { var o = .8 * e.border.shadowSize; t.service.setNonStrokeColor(n), t.service.pageStream.writeLine("{0} {1} {2} {3} re f", t.service.convertToString(t.X + o), t.service.convertToString(t.Y - o), t.service.convertToString(t.Width - o), t.service.convertToString(o)), t.service.pageStream.writeLine("{0} {1} {2} {3} re f", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y - o), t.service.convertToString(o), t.service.convertToString(t.Height)) } var a = new m(e.border.color,e.border.size,e.border.style) , s = e.border.stimulsoft.as(p) , l = null != s , d = e.border.isLeftBorderSidePresent , g = e.border.isRightBorderSidePresent , f = e.border.isTopBorderSidePresent , S = e.border.isBottomBorderSidePresent , A = e.border.style != h.None && e.border.style != h.Solid , y = e.border.side != u.None && e.border.style != h.None; if (l && (y = s.side != u.None), y) { var w = 0; l || (A && (t.service.pageStream.writeLine("q"), t.service.pushColorToStack()), w = this.storeBorderSideData(a, t)), l || e.border.side != u.All ? (d && (l && (a = s.leftSide, a.style != h.Solid && (t.service.pageStream.writeLine("q"), t.service.pushColorToStack()), w = this.storeBorderSideData(a, t)), t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X - w), t.service.convertToString(t.Y - w)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X - w), t.service.convertToString(t.Y + t.Height + w)), a.style == h.Double && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + w), t.service.convertToString(t.Y + (S ? w : -w))), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + w), t.service.convertToString(t.Y + t.Height + (f ? -w : w)))), l && a.style != h.Solid && (t.service.pageStream.writeLine("Q"), t.service.popColorFromStack())), g && (l && (a = s.rightSide, a.style != h.Solid && (t.service.pageStream.writeLine("q"), t.service.pushColorToStack()), w = this.storeBorderSideData(a, t)), t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + t.Width + w), t.service.convertToString(t.Y - w)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width + w), t.service.convertToString(t.Y + t.Height + w)), a.style == h.Double && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + t.Width - w), t.service.convertToString(t.Y + (S ? w : -w))), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width - w), t.service.convertToString(t.Y + t.Height + (f ? -w : w)))), l && a.style != h.Solid && (t.service.pageStream.writeLine("Q"), t.service.popColorFromStack())), f && (l && (a = s.topSide, a.style != h.Solid && (t.service.pageStream.writeLine("q"), t.service.pushColorToStack()), w = this.storeBorderSideData(a, t)), t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X - w), t.service.convertToString(t.Y + t.Height + w)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width + w), t.service.convertToString(t.Y + t.Height + w)), a.style == h.Double && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + (d ? w : -w)), t.service.convertToString(t.Y + t.Height - w)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width + (g ? -w : w)), t.service.convertToString(t.Y + t.Height - w))), l && a.style != h.Solid && (t.service.pageStream.writeLine("Q"), t.service.popColorFromStack())), S && (l && (a = s.bottomSide, a.style != h.Solid && (t.service.pageStream.writeLine("q"), t.service.pushColorToStack()), w = this.storeBorderSideData(a, t)), t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X - w), t.service.convertToString(t.Y - w)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width + w), t.service.convertToString(t.Y - w)), a.style == h.Double && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + (d ? w : -w)), t.service.convertToString(t.Y + w)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width + (g ? -w : w)), t.service.convertToString(t.Y + w))), l && a.style != h.Solid && (t.service.pageStream.writeLine("Q"), t.service.popColorFromStack()))) : (t.service.pageStream.writeLine("{0} {1} {2} {3} re S", t.service.convertToString(t.X - w), t.service.convertToString(t.Y - w), t.service.convertToString(t.Width + 2 * w), t.service.convertToString(t.Height + 2 * w)), e.border.style == h.Double && t.service.pageStream.writeLine("{0} {1} {2} {3} re S", t.service.convertToString(t.X + w), t.service.convertToString(t.Y + w), t.service.convertToString(t.Width - 2 * w), t.service.convertToString(t.Height - 2 * w))), !l && A && (t.service.pageStream.writeLine("Q"), t.service.popColorFromStack()) } } } , t.storeBorderSideData = function(t, e) { var r = t.size; r < 1 && (r = 1), t.style == h.Double && (r = 1); var i = r * e.service.hiToTwips * .9; e.service.pageStream.writeLine("{0} w", e.service.convertToString(i)); var n = this.getPenStyleDashString(t.style, .04 * i, e); return null != n && e.service.pageStream.writeLine(n), e.service.setStrokeColor(t.color), t.style == h.Double ? i : 0 } , t.getPenStyleDashString = function(t, e, r) { switch (t) { case h.Dot: return $.format("[{0} {1}] 0 d", r.service.convertToString(e), r.service.convertToString(58 * e)); case h.Dash: return $.format("[{0} {1}] 0 d", r.service.convertToString(49.5 * e), r.service.convertToString(62 * e)); case h.DashDot: return $.format("[{0} {1} {2} {1}] 0 d", r.service.convertToString(50 * e), r.service.convertToString(55 * e), r.service.convertToString(e)); case h.DashDotDot: return $.format("[{0} {1} {2} {1} {2} {1}] 0 d", r.service.convertToString(50 * e), r.service.convertToString(55 * e), r.service.convertToString(e)) } return null } , t.checkShape = function(t) { if (t.shapeType.stimulsoft.is(g) || t.shapeType.stimulsoft.is(f) || t.shapeType.stimulsoft.is(S) || t.shapeType.stimulsoft.is(A) || t.shapeType.stimulsoft.is(y) || t.shapeType.stimulsoft.is(w) || t.shapeType.stimulsoft.is(b) || t.shapeType.stimulsoft.is(v) || t.shapeType.stimulsoft.is(C) || t.shapeType.stimulsoft.is(E) || t.shapeType.stimulsoft.is(B) || t.shapeType.stimulsoft.is(T) || t.shapeType.stimulsoft.is(I) || t.shapeType.stimulsoft.is(x) || t.shapeType.stimulsoft.is(F) || t.shapeType.stimulsoft.is(D) || t.shapeType.stimulsoft.is(R) || t.shapeType.stimulsoft.is(P) || t.shapeType.stimulsoft.is(N) || t.shapeType.stimulsoft.is(k) || t.shapeType.stimulsoft.is(M) || t.shapeType.stimulsoft.is(O) || t.shapeType.stimulsoft.is(_) || t.shapeType.stimulsoft.is(L) || t.shapeType.stimulsoft.is(j) || t.shapeType.stimulsoft.is(H) || t.shapeType.stimulsoft.is(G) || t.shapeType.stimulsoft.is(Q) || t.shapeType.stimulsoft.is(Y) || t.shapeType.stimulsoft.is(U) || t.shapeType.stimulsoft.is(J) || t.shapeType.stimulsoft.is(W) || t.shapeType.stimulsoft.is(V)) return !0; return !1 } , t.renderShape = function(t, s) { var u = t.Component.stimulsoft.as(d); if (null != u) if (1 == this.checkShape(u)) { var c = t.Component.stimulsoft.as(l) , m = new e.StiPdfGeomWriter(t.service.pageStream,t.service,!1) , p = r.transparent; if (null != c && (p = i.toColor(c.brush)), 0 != p.a && t.service.setNonStrokeColor(p), null != c && ((c.brush.stimulsoft.is(n) || c.brush.stimulsoft.is(o)) && (t.service.storeShadingData2(t.X, t.Y, t.Width, t.Height, c.brush), t.service.pageStream.writeLine("/Pattern cs /P{0} scn", 1 + t.service.shadingCurrent)), c.brush.stimulsoft.is(a))) { var K = c.brush.stimulsoft.as(a); t.service.pageStream.writeLine("/Cs1 cs /PH{0} scn", t.service.getHatchNumber(K) + 1) } var Z = u.borderColor; t.service.setStrokeColor(Z); var q = p.a > 0 , $ = u.style != h.None; if (!q && !$) return; var tt = q ? $ ? "B" : "f" : $ ? "S" : "n"; t.service.pageStream.writeLine("{0} w", t.service.convertToString(u.size * t.service.hiToTwips)), t.service.pageStream.writeLine("q"); var et = u.size * t.service.hiToTwips * .04; switch (u.style) { case h.Dot: t.service.pageStream.writeLine("[{0} {1}] 0 d", t.service.convertToString(et), t.service.convertToString(55 * et)); break; case h.Dash: t.service.pageStream.writeLine("[{0} {1}] 0 d", t.service.convertToString(50 * et), t.service.convertToString(55 * et)); break; case h.DashDot: t.service.pageStream.writeLine("[{0} {1} {2} {1}] 0 d", t.service.convertToString(50 * et), t.service.convertToString(55 * et), t.service.convertToString(et)); break; case h.DashDotDot: t.service.pageStream.writeLine("[{0} {1} {2} {1} {2} {1}] 0 d", t.service.convertToString(50 * et), t.service.convertToString(55 * et), t.service.convertToString(et)); break } if (u.shapeType.stimulsoft.is(g) && (q && t.service.pageStream.writeLine("{0} {1} {2} {3} re f", t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.Width), t.service.convertToString(t.Height)), $ && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y + t.Height)))), u.shapeType.stimulsoft.is(f) && (q && t.service.pageStream.writeLine("{0} {1} {2} {3} re f", t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.Width), t.service.convertToString(t.Height)), $ && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height / 2)))), u.shapeType.stimulsoft.is(S) && (q && t.service.pageStream.writeLine("{0} {1} {2} {3} re f", t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.Width), t.service.convertToString(t.Height)), $ && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y)))), u.shapeType.stimulsoft.is(A) && (q && t.service.pageStream.writeLine("{0} {1} {2} {3} re f", t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.Width), t.service.convertToString(t.Height)), $ && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height)))), u.shapeType.stimulsoft.is(y) && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y))), u.shapeType.stimulsoft.is(b) && (q && t.service.pageStream.writeLine("{0} {1} {2} {3} re f", t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.Width), t.service.convertToString(t.Height)), $ && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y)))), u.shapeType.stimulsoft.is(v) && (q && t.service.pageStream.writeLine("{0} {1} {2} {3} re f", t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.Width), t.service.convertToString(t.Height)), $ && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height)))), u.shapeType.stimulsoft.is(C)) { var rt = u.shapeType.stimulsoft.as(C).direction; rt == z.Up && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y))), rt == z.Down && (tt = q ? $ ? "B*" : "f*" : $ ? "S" : "n", t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height))), rt == z.Left && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l " + tt, t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y))), rt == z.Right && (tt = q ? $ ? "B*" : "f*" : $ ? "S" : "n", t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y))) } if (u.shapeType.stimulsoft.is(E) && t.service.pageStream.writeLine(m.getEllipseString(new X(t.X,t.Y,t.Width,t.Height)) + tt), u.shapeType.stimulsoft.is(w)) { var it = u.shapeType.stimulsoft.as(w).round , nt = t.Width; nt > t.Height && (nt = t.Height); var ot = Math.min(nt, 70) * it , at = ot * (1 - t.service.pdfCKT); t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y + ot)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height - ot)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height - at), t.service.convertToString(t.X + at), t.service.convertToString(t.Y + t.Height), t.service.convertToString(t.X + ot), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width - ot), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(t.X + t.Width - at), t.service.convertToString(t.Y + t.Height), t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height - at), t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height - ot)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + ot)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + at), t.service.convertToString(t.X + t.Width - at), t.service.convertToString(t.Y), t.service.convertToString(t.X + t.Width - ot), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + ot), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c " + tt, t.service.convertToString(t.X + at), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Y + at), t.service.convertToString(t.X), t.service.convertToString(t.Y + ot)) } if (u.shapeType.stimulsoft.is(B)) { var rt = u.shapeType.stimulsoft.as(B).direction , st = u.shapeType.stimulsoft.as(B).arrowWidth , lt = u.shapeType.stimulsoft.as(B).arrowHeight , ut = t.Width * st , ct = t.Height * lt; rt != z.Left && rt != z.Right || (ut = t.Height * st, ct = t.Width * lt), 0 == lt && (ct = Math.min(t.Width / 2, t.Height / 2)), rt == z.Up && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + ut), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + ut), t.service.convertToString(t.Y + t.Height - ct)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height - ct)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height - ct)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width - ut), t.service.convertToString(t.Y + t.Height - ct)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width - ut), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l " + tt, t.service.convertToString(t.X + ut), t.service.convertToString(t.Y))), rt == z.Down && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + t.Width - ut), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width - ut), t.service.convertToString(t.Y + ct)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + ct)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + ct)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + ut), t.service.convertToString(t.Y + ct)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + ut), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l " + tt, t.service.convertToString(t.X + t.Width - ut), t.service.convertToString(t.Y + t.Height))), rt == z.Left && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + ut)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + ct), t.service.convertToString(t.Y + ut)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + ct), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + ct), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + ct), t.service.convertToString(t.Y + t.Height - ut)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height - ut)), t.service.pageStream.writeLine("{0} {1} l " + tt, t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + ut))), rt == z.Right && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height - ut)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width - ct), t.service.convertToString(t.Y + t.Height - ut)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width - ct), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width - ct), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width - ct), t.service.convertToString(t.Y + ut)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + ut)), t.service.pageStream.writeLine("{0} {1} l " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height - ut))) } if (u.shapeType.stimulsoft.is(T)) { var mt = u.shapeType.stimulsoft.as(T) , pt = (null != u.report ? u.report.unit.convertToHInches(mt.bevel) : mt.bevel) * t.service.hiToTwips , ht = pt; mt.autoSize && (pt = t.Width / (2.414 * 1.414), ht = t.Height / (2.414 * 1.414)), pt > t.Width / 2 && (pt = t.Width / 2), ht > t.Height / 2 && (ht = t.Height / 2), t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + pt), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width - pt), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + ht)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width), t.service.convertToString(t.Y + t.Height - ht)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width - pt), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + pt), t.service.convertToString(t.Y + t.Height)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height - ht)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + ht)), t.service.pageStream.writeLine("{0} {1} l " + tt, t.service.convertToString(t.X + pt), t.service.convertToString(t.Y)) } if (u.shapeType.stimulsoft.is(I)) { var dt = t.Width < t.Height ? t.Width / 2 : t.Height / 2 , gt = t.Height / 3.8 , ft = t.Width / 3.8 , St = t.Height < t.Width ? t.Height / 2 : t.Width / 2; switch (u.shapeType.stimulsoft.as(I).direction) { case z.Left: case z.Right: t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + dt), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + dt), t.service.convertToString(t.Y + gt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - dt), t.service.convertToString(t.Y + gt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - dt), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Y + t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - dt), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - dt), t.service.convertToString(t.Top - gt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + dt), t.service.convertToString(t.Top - gt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + dt), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y + t.Height / 2)); break; case z.Down: case z.Up: t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y + St)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Y + St)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - ft), t.service.convertToString(t.Y + St)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - ft), t.service.convertToString(t.Top - St)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Top - St)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Top - St)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + ft), t.service.convertToString(t.Top - St)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + ft), t.service.convertToString(t.Y + St)), t.service.pageStream.writeLine("{0} {1} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y + St)); break } } if (u.shapeType.stimulsoft.is(x)) { var At = 0 , yt = 0 , wt = 0; switch (t.Height > t.Width ? (yt = t.Width / 4, At = yt, wt = yt / 2) : (At = Math.floor(t.Height / 4), yt = At, wt = yt / 2), u.shapeType.stimulsoft.as(x).direction) { case z.Up: t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + At)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - (wt + At)), t.service.convertToString(t.Y + At)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - (wt + At)), t.service.convertToString(t.Top - yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - 2 * yt), t.service.convertToString(t.Top - yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - yt), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Top - yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - wt), t.service.convertToString(t.Top - yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - wt), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y)); break; case z.Left: t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.Right), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Top - wt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + yt), t.service.convertToString(t.Top - wt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + yt), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Top - yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + yt), t.service.convertToString(t.Top - 2 * yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + yt), t.service.convertToString(t.Top - yt - wt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - At), t.service.convertToString(t.Top - yt - wt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - At), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Y)); break; case z.Down: t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.Right), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + wt), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + wt), t.service.convertToString(t.Y + yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + yt), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + 2 * yt), t.service.convertToString(t.Y + yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + yt + wt), t.service.convertToString(t.Y + yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + yt + wt), t.service.convertToString(t.Top - At)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Top - At)), t.service.pageStream.writeLine("{0} {1} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Top)); break; case z.Right: t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + wt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - yt), t.service.convertToString(t.Y + wt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - yt), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Y + yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - yt), t.service.convertToString(t.Y + 2 * yt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - yt), t.service.convertToString(t.Y + yt + wt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + At), t.service.convertToString(t.Y + yt + wt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + At), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Top)); break } } if (u.shapeType.stimulsoft.is(F)) { var bt = t.Width > t.Height ? t.Height / 2 : t.Width / 2; switch (u.shapeType.stimulsoft.as(F).direction) { case z.Right: t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + bt), t.service.convertToString(t.Top - t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - bt), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Top - t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - bt), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Top)); break; case z.Left: t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.Right), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + bt), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Top - t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + bt), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right - bt), t.service.convertToString(t.Top - t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Top)); break; case z.Up: t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Top - bt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Top - bt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y + bt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Top - bt)); break; case z.Down: t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Top - bt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.Right), t.service.convertToString(t.Y + bt)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(t.X), t.service.convertToString(t.Y + bt)), t.service.pageStream.writeLine("{0} {1} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Top)); break } } if (u.shapeType.stimulsoft.is(D)) { var dt = t.Height / 3 , vt = 4 * t.service.hiToTwips; t.service.pageStream.writeLine(m.getRectString4(t.X, t.Y + dt + vt, t.Width, dt - 2 * vt) + tt), t.service.pageStream.writeLine(m.getEllipseString4(t.X + t.Width / 2 - dt / 2, t.Top - t.service.hiToTwips - dt, dt, dt) + tt), t.service.pageStream.writeLine(m.getEllipseString4(t.X + t.Width / 2 - dt / 2, t.Y + 2 * t.service.hiToTwips, dt, dt) + tt) } if (u.shapeType.stimulsoft.is(R)) { var Ct = (t.Height - t.Height / 6) / 2; t.service.pageStream.writeLine(m.getRectString4(t.X, t.Top - Ct, t.Width, Ct) + tt), t.service.pageStream.writeLine(m.getRectString4(t.X, t.Y, t.Width, Ct) + tt) } if (u.shapeType.stimulsoft.is(P) && (t.service.pageStream.writeLine("{0} {1} m {2} {3} l", t.service.convertToString(t.Right), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Top - t.Height / 5), t.service.convertToString(t.X + t.Width / 5), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top))), u.shapeType.stimulsoft.is(N)) switch (u.shapeType.stimulsoft.as(N).direction) { case z.Down: case z.Up: t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y + t.Height / 2)), t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y + t.Height / 2), t.service.convertToString(t.Right), t.service.convertToString(t.Y)); break; case z.Left: case z.Right: t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Top), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y + t.Height / 2)), t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Y), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y + t.Height / 2), t.service.convertToString(t.Right), t.service.convertToString(t.Top)); break } if (u.shapeType.stimulsoft.is(k) && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Top - t.Height / 2)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top - t.Height / 2), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Top - t.Height / 2))), u.shapeType.stimulsoft.is(M) && (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Top - t.Height / 5)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Top - t.Height / 5))), u.shapeType.stimulsoft.is(O)) { var dt = t.Height / 5 , St = t.Width / 5; switch (u.shapeType.stimulsoft.as(O).direction) { case z.Down: t.service.pageStream.writeLine("{0} {1} m {2} {3} l", t.service.convertToString(t.X), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Y + dt), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Y + dt), t.service.convertToString(t.X), t.service.convertToString(t.Top)); break; case z.Up: t.service.pageStream.writeLine("{0} {1} m {2} {3} l", t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Top - dt)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top - dt), t.service.convertToString(t.Right), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Y)); break; case z.Left: t.service.pageStream.writeLine("{0} {1} m {2} {3} l", t.service.convertToString(t.X + St), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Y), t.service.convertToString(t.X + St), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Top - t.Height / 2), t.service.convertToString(t.X + St), t.service.convertToString(t.Top)); break; case z.Right: t.service.pageStream.writeLine("{0} {1} m {2} {3} l", t.service.convertToString(t.X), t.service.convertToString(t.Top), t.service.convertToString(t.Right - St), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Top - t.Height / 2), t.service.convertToString(t.Right - St), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Top)); break } } if (u.shapeType.stimulsoft.is(_)) { var St = t.Width / 5 , dt = t.Height / 5 , Et = t.Width / 2 , Bt = t.Height / 2; switch (u.shapeType.stimulsoft.as(_).direction) { case z.Left: case z.Right: t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l", t.service.convertToString(t.X), t.service.convertToString(t.Top - Bt), t.service.convertToString(t.X + St), t.service.convertToString(t.Top), t.service.convertToString(t.Right - St), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Top - Bt), t.service.convertToString(t.Right - St), t.service.convertToString(t.Y), t.service.convertToString(t.X + St), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Top - Bt)); break; case z.Down: case z.Up: t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l", t.service.convertToString(t.X + Et), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top - dt), t.service.convertToString(t.Right), t.service.convertToString(t.Y + dt)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.X + Et), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Y + dt), t.service.convertToString(t.X), t.service.convertToString(t.Top - dt), t.service.convertToString(t.X + Et), t.service.convertToString(t.Top)); break } } if (u.shapeType.stimulsoft.is(L) && (t.service.pageStream.writeLine("{0} {1} m {2} {3} l", t.service.convertToString(t.X), t.service.convertToString(t.Top - t.Height / 2), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Top - t.Height / 2), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Top - t.Height / 2), t.service.convertToString(t.Right), t.service.convertToString(t.Top - t.Height / 2))), u.shapeType.stimulsoft.is(j)) { var St = t.Width / 7 , dt = t.Height / 7; t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l {6} {7} l h", t.service.convertToString(t.X), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Y)), t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.X + St), t.service.convertToString(t.Top - dt), t.service.convertToString(t.X + St), t.service.convertToString(t.Y + dt), t.service.convertToString(t.Right - St), t.service.convertToString(t.Y + dt), t.service.convertToString(t.Right - St), t.service.convertToString(t.Top - dt)) } if (u.shapeType.stimulsoft.is(H)) { var dt = t.Height / 3; t.service.pageStream.writeLine(m.getRectString4(t.X, t.Y + dt, t.Width, dt) + tt) } if (u.shapeType.stimulsoft.is(G)) { var St = t.Width / 4 , dt = t.Height / 4; t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X), t.service.convertToString(t.Top - dt)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l", t.service.convertToString(t.X + St), t.service.convertToString(t.Top), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Top - dt), t.service.convertToString(t.Right - St), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top - dt)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l", t.service.convertToString(t.Right - St), t.service.convertToString(t.Top - t.Height / 2), t.service.convertToString(t.Right), t.service.convertToString(t.Y + dt), t.service.convertToString(t.Right - St), t.service.convertToString(t.Y), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y + dt)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l h " + tt, t.service.convertToString(t.X + St), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Y + dt), t.service.convertToString(t.X + St), t.service.convertToString(t.Top - t.Height / 2)) } if (u.shapeType.stimulsoft.is(Q)) { var St = t.Width / 7 , dt = t.Height / 7; t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.X + t.Width / 5), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top), t.service.convertToString(t.Right - t.Width / 5), t.service.convertToString(t.Y)) } if (u.shapeType.stimulsoft.is(Y)) { var St = t.Width / 3 , dt = t.Height / 3; t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(t.X + St), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l", t.service.convertToString(t.Right - St), t.service.convertToString(t.Top), t.service.convertToString(t.Right - St), t.service.convertToString(t.Top - dt), t.service.convertToString(t.Right), t.service.convertToString(t.Top - dt), t.service.convertToString(t.Right), t.service.convertToString(t.Y + dt)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l", t.service.convertToString(t.Right - St), t.service.convertToString(t.Y + dt), t.service.convertToString(t.Right - St), t.service.convertToString(t.Y), t.service.convertToString(t.X + St), t.service.convertToString(t.Y), t.service.convertToString(t.X + St), t.service.convertToString(t.Y + dt)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y + dt), t.service.convertToString(t.X), t.service.convertToString(t.Top - dt), t.service.convertToString(t.X + St), t.service.convertToString(t.Top - dt), t.service.convertToString(t.X + St), t.service.convertToString(t.Top)) } if (u.shapeType.stimulsoft.is(U)) { var Tt = t.Height / 2.6 , It = t.Width / 5.5; t.service.pageStream.writeLine("{0} {1} m {2} {3} l", t.service.convertToString(t.X), t.service.convertToString(t.Top - Tt), t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Top - Tt), t.service.convertToString(t.Right - It), t.service.convertToString(t.Y), t.service.convertToString(t.X + It), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Top - Tt)) } if (u.shapeType.stimulsoft.is(J)) { var bt = t.Width / 4.75; t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l {6} {7} l h " + tt, t.service.convertToString(t.X), t.service.convertToString(t.Y), t.service.convertToString(t.X + bt), t.service.convertToString(t.Top), t.service.convertToString(t.Right - bt), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Y)) } if (u.shapeType.stimulsoft.is(W)) { var St = t.Width / 7.2 , dt = t.Height / 4.6; t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l", t.service.convertToString(t.X), t.service.convertToString(t.Top - dt), t.service.convertToString(t.X + St), t.service.convertToString(t.Top), t.service.convertToString(t.Right - St), t.service.convertToString(t.Top)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Top - dt), t.service.convertToString(t.Right), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Y)) } if (u.shapeType.stimulsoft.is(V)) { var St = t.Width / 7.2 , dt = t.Height / 4.6; t.service.pageStream.writeLine("{0} {1} m {2} {3} l {4} {5} l", t.service.convertToString(t.X), t.service.convertToString(t.Top), t.service.convertToString(t.Right - St), t.service.convertToString(t.Top), t.service.convertToString(t.Right), t.service.convertToString(t.Top - dt)), t.service.pageStream.writeLine("{0} {1} l {2} {3} l {4} {5} l h " + tt, t.service.convertToString(t.Right), t.service.convertToString(t.Y), t.service.convertToString(t.X + St), t.service.convertToString(t.Y), t.service.convertToString(t.X), t.service.convertToString(t.Y + dt)) } t.service.pageStream.writeLine("Q") } else var xt = s } , t.renderRoundedRectanglePrimitive = function(t) { var e = t.Component.stimulsoft.as(c); if (null != e) { var r = new m(e.border.color,e.border.size,e.border.style) , i = t.Component.stimulsoft.as(q); if (i.style == h.None) return; var n = e.border.style != h.None && e.border.style != h.Solid; n && (t.service.pageStream.writeLine("q"), t.service.pushColorToStack()); var o = this.storeBorderSideData(r, t) , a = Math.min(t.Width < t.Height ? t.Width : t.Height, 100 * t.Component.page.zoom) * i.round , s = a * (1 - t.service.pdfCKT) , l = t.X - o , u = t.X + t.Width + o , p = t.X + t.Width / 2 , d = t.Y - o , g = t.Y + t.Height + o; if (i.leftSide && (i.bottomSide ? (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(i.rightSide ? p : u), t.service.convertToString(d)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(l + a), t.service.convertToString(d)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(l + s), t.service.convertToString(d), t.service.convertToString(l), t.service.convertToString(d + s), t.service.convertToString(l), t.service.convertToString(d + a))) : t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(l), t.service.convertToString(d)), i.topSide ? (t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(l), t.service.convertToString(g - a)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(l), t.service.convertToString(g - s), t.service.convertToString(l + s), t.service.convertToString(g), t.service.convertToString(l + a), t.service.convertToString(g)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(i.rightSide ? p : u), t.service.convertToString(g))) : t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(l), t.service.convertToString(g))), i.rightSide && (i.bottomSide ? (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(i.leftSide ? p : l), t.service.convertToString(d)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(u - a), t.service.convertToString(d)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(u - s), t.service.convertToString(d), t.service.convertToString(u), t.service.convertToString(d + s), t.service.convertToString(u), t.service.convertToString(d + a))) : t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(u), t.service.convertToString(d)), i.topSide ? (t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(u), t.service.convertToString(g - a)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(u), t.service.convertToString(g - s), t.service.convertToString(u - s), t.service.convertToString(g), t.service.convertToString(u - a), t.service.convertToString(g)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(i.leftSide ? p : l), t.service.convertToString(g))) : t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(u), t.service.convertToString(g))), !i.topSide || i.leftSide || i.rightSide || (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(l), t.service.convertToString(g)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(u), t.service.convertToString(g))), !i.bottomSide || i.leftSide || i.rightSide || (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(l), t.service.convertToString(d)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(u), t.service.convertToString(d))), r.style == h.Double) { a -= 2 * o, s = a * (1 - t.service.pdfCKT); var f = t.X + o , S = t.X + t.Width - o , A = t.Y + o , y = t.Y + t.Height - o; i.leftSide && (i.bottomSide ? (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(i.rightSide ? p : u), t.service.convertToString(A)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(f + a), t.service.convertToString(A)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(f + s), t.service.convertToString(A), t.service.convertToString(f), t.service.convertToString(A + s), t.service.convertToString(f), t.service.convertToString(A + a))) : t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(f), t.service.convertToString(d)), i.topSide ? (t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(f), t.service.convertToString(y - a)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(f), t.service.convertToString(y - s), t.service.convertToString(f + s), t.service.convertToString(y), t.service.convertToString(f + a), t.service.convertToString(y)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(i.rightSide ? p : u), t.service.convertToString(y))) : t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(f), t.service.convertToString(g))), i.rightSide && (i.bottomSide ? (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(i.leftSide ? p : l), t.service.convertToString(A)), t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(S - a), t.service.convertToString(A)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(S - s), t.service.convertToString(A), t.service.convertToString(S), t.service.convertToString(A + s), t.service.convertToString(S), t.service.convertToString(A + a))) : t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(S), t.service.convertToString(d)), i.topSide ? (t.service.pageStream.writeLine("{0} {1} l", t.service.convertToString(S), t.service.convertToString(y - a)), t.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} c", t.service.convertToString(S), t.service.convertToString(y - s), t.service.convertToString(S - s), t.service.convertToString(y), t.service.convertToString(S - a), t.service.convertToString(y)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(i.leftSide ? p : l), t.service.convertToString(y))) : t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(S), t.service.convertToString(g))), !i.topSide || i.leftSide || i.rightSide || (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(l), t.service.convertToString(y)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(u), t.service.convertToString(y))), !i.bottomSide || i.leftSide || i.rightSide || (t.service.pageStream.writeLine("{0} {1} m", t.service.convertToString(l), t.service.convertToString(A)), t.service.pageStream.writeLine("{0} {1} l S", t.service.convertToString(u), t.service.convertToString(A))) } n && (t.service.pageStream.writeLine("Q"), t.service.popColorFromStack()) } } , t.renderCheckbox = function(t, e, r) { void 0 === r && (r = !0); var s = t.Component.stimulsoft.as(K); if (null != s) { var l = null; switch (e ? s.checkStyleForTrue : s.checkStyleForFalse) { case Z.Cross: l = "62.568 52.024 m 62.018 52.166 60.405 52.537 58.984 52.848 c 55.336 53.645 49.313 58.685 44.741 64.767 c 40.839 69.958 l 45.919 71.092 l \r\n" + "53.272 72.735 59.559 76.81 67.746 85.239 c 74.954 92.661 l 68.543 100.174 l 56.77 113.972 54.196 123.193 59.915 131.088 c 62.809 135.083 71.734 143.458 73.097 143.458 c \r\n" + "73.509 143.458 74.16 141.77 74.546 139.708 c 75.526 134.457 81.002 122.942 85.482 116.708 c 87.557 113.82 89.473 111.458 89.74 111.458 c \r\n" + "90.006 111.458 93.515 114.945 97.537 119.208 c 113.934 136.584 127.211 138.972 135.818 126.095 c 139.973 119.877 140.004 118.024 135.958 117.739 c \r\n" + "130.11 117.329 118.795 109.205 110.443 99.42 c 105.812 93.994 l 110.69 89.679 l 117.241 83.884 129.589 77.786 136.531 76.919 c \r\n" + "139.576 76.539 142.068 75.813 142.068 75.307 c 142.068 72.526 132.802 60.889 129.038 58.942 c 121.077 54.825 112.668 58.23 96.273 72.209 c \r\n" + "91.287 76.46 l 84.2 67.488 l 80.303 62.554 75.379 57.368 73.259 55.965 c 69.353 53.38 64.393 51.552 62.568 52.024 c h"; break; case Z.Check: l = "60.972 37.503 m 51.173 63.277 43.562 76.623 35.37 82.397 c 30.912 85.54 l 33.664 88.435 l 37.539 92.513 43.698 95.935 48.566 96.713 c \r\n" + "52.426 97.33 53.024 97.093 57.102 93.334 c 59.763 90.882 63.368 85.726 66.269 80.223 c 68.899 75.234 71.18 71.153 71.337 71.153 c \r\n" + "71.493 71.153 73.65 74.19 76.13 77.903 c 96.259 108.044 129.683 141.214 157.565 158.718 c 166.414 164.274 l 168.677 161.643 l \r\n" + "170.941 159.012 l 163.178 152.717 l 139.859 133.81 108.017 94.486 89.043 61.164 c 82.362 49.432 81.87 48.851 73.952 43.345 c \r\n" + "69.45 40.214 64.908 37.04 63.858 36.292 c 62.149 35.074 61.848 35.2 60.972 37.503 c h"; break; case Z.CrossRectangle: l = "24.153 97.958 m 24.153 170.458 l 98.653 170.458 l 173.153 170.458 l 173.153 97.958 l 173.153 25.458 l 98.653 25.458 l 24.153 25.458 l 24.153 97.958 l h \r\n" + "157.911 97.708 m 157.653 154.958 l 98.653 154.958 l 39.653 154.958 l 39.393 98.958 l 39.25 68.158 39.348 42.395 39.611 41.708 c \r\n" + "39.987 40.727 52.819 40.458 99.129 40.458 c 158.169 40.458 l 157.911 97.708 l h \r\n" + "67.337 54.521 m 65.513 54.912 62.41 56.378 60.442 57.778 c 57.123 60.14 48.153 70.186 48.153 71.541 c 48.153 71.87 50.57 72.68 53.525 73.342 c \r\n" + "60.71 74.95 67.272 79.277 75.328 87.718 c 82.003 94.713 l 75.624 102.027 l 64.931 114.288 61.644 123.705 65.472 131.108 c \r\n" + "67.054 134.168 78.562 145.458 80.098 145.458 c 80.556 145.458 81.245 143.77 81.63 141.708 c 82.611 136.457 88.086 124.942 92.567 118.708 c \r\n" + "94.642 115.82 96.558 113.458 96.824 113.458 c 97.091 113.458 100.6 116.945 104.622 121.208 c 121.019 138.584 134.296 140.972 142.903 128.095 c \r\n" + "147.058 121.877 147.089 120.024 143.043 119.739 c 137.213 119.33 124.806 110.39 117.127 101.066 c 113.226 96.33 113.155 96.112 114.876 94.198 c \r\n" + "118.066 90.648 128.579 83.654 133.847 81.578 c 136.682 80.461 141.285 79.244 144.077 78.873 c 146.868 78.503 149.153 77.878 149.153 77.484 c \r\n" + "149.153 75.37 140.777 64.275 137.501 62.048 c 129.107 56.344 120.869 59.278 103.358 74.209 c 98.372 78.46 l 91.285 69.488 l \r\n" + "81.563 57.18 74.76 52.928 67.337 54.521 c h"; break; case Z.CheckRectangle: l = "19.915 96.5 m 19.915 169 l 91.857 169 l 163.8 169 l 170.357 173.111 l 176.914 177.223 l 178.882 174.861 l 179.963 173.563 180.864 172.217 180.882 171.872 c \r\n" + "180.9 171.526 178.44 169.334 175.415 167 c 169.915 162.757 l 169.915 93.378 l 169.915 24 l 94.915 24 l 19.915 24 l 19.915 96.5 l h \r\n" + "153.915 92.622 m 153.915 141.962 153.786 146.137 152.294 144.899 c 149.513 142.592 136.609 126.998 127.965 115.5 c 117.473 101.544 104.486 81.963 98.451 71 c \r\n" + "93.993 62.903 93.316 62.192 84.16 56 c 78.873 52.425 74.256 49.375 73.9 49.223 c 73.544 49.07 71.988 52.22 70.441 56.223 c \r\n" + "68.895 60.225 65.183 68.635 62.192 74.911 c 57.906 83.903 55.515 87.56 50.914 92.161 c 47.703 95.372 44.364 98 43.495 98 c \r\n" + "40.697 98 41.79 99.66 47.479 104.049 c 53.073 108.365 60.662 111.14 64.28 110.194 c 67.84 109.263 73.689 102.039 78.2 93.002 c \r\n" + "82.663 84.062 l 87.207 90.895 l 95.518 103.394 108.214 118.311 125.807 136.25 c 143.215 154 l 89.565 154 l 35.915 154 l 35.915 96.5 l \r\n" + "35.915 39 l 94.915 39 l 153.915 39 l 153.915 92.622 l h"; break; case Z.CrossCircle: l = "83.347 26.864 m 61.07 31.95 42.193 47.128 32.202 67.986 c 23.401 86.36 23.68 110.034 32.919 128.958 c 41.882 147.315 60.868 162.86 80.847 168.201 c \r\n" + "91.083 170.936 112.112 170.628 121.812 167.6 c 147.999 159.425 167.881 138.673 173.432 113.721 c 175.869 102.768 175 85.662 171.452 74.743 c \r\n" + "164.795 54.256 145.804 35.792 124.126 28.729 c 117.735 26.647 113.94 26.133 102.847 25.845 c 93.814 25.61 87.363 25.947 83.347 26.864 c h \r\n" + "112.414 41.542 m 129.545 44.672 146.131 57.503 153.827 73.579 c 168.725 104.698 152.719 141.239 119.425 152.119 c 112.712 154.313 109.49 154.763 100.347 154.781 c \r\n" + "90.993 154.8 88.185 154.404 81.579 152.131 c 64.423 146.231 51.91 134.6 45.14 118.265 c 42.988 113.072 42.446 109.911 42.069 100.368 c \r\n" + "41.551 87.229 42.811 81.166 48.181 70.958 c 52.288 63.15 63.613 51.864 71.549 47.67 c 83.611 41.295 98.688 39.034 112.414 41.542 c h \r\n" + "69.097 66.583 m 66.21 69.342 63.847 71.942 63.847 72.361 c 63.847 72.78 69.506 78.671 76.422 85.451 c 88.996 97.78 l 76.198 110.607 l 63.4 123.434 l \r\n" + "68.336 128.446 l 71.051 131.202 73.641 133.458 74.091 133.458 c 74.542 133.458 80.666 127.846 87.7 120.988 c 100.49 108.517 l 104.919 113.071 l \r\n" + "107.354 115.575 113.31 121.259 118.154 125.701 c 126.961 133.777 l 132.308 128.496 l 137.656 123.215 l 124.694 110.658 l 111.733 98.1 l 124.866 84.939 l \r\n" + "137.999 71.779 l 132.815 67.118 l 129.964 64.555 127.11 62.458 126.474 62.458 c 125.837 62.458 119.93 67.858 113.347 74.458 c \r\n" + "106.765 81.058 100.96 86.458 100.449 86.458 c 99.938 86.458 93.856 80.857 86.933 74.013 c 74.347 61.567 l 69.097 66.583 l h"; break; case Z.DotCircle: l = "81.653 29.406 m 59.375 34.493 40.499 49.67 30.507 70.529 c 21.706 88.903 21.985 112.576 31.224 131.5 c 40.187 149.857 59.173 165.402 79.153 170.743 c \r\n" + "89.388 173.479 110.417 173.17 120.117 170.142 c 146.304 161.968 166.186 141.215 171.737 116.263 c 174.174 105.311 173.305 88.205 169.757 77.285 c \r\n" + "163.1 56.798 144.109 38.334 122.431 31.271 c 116.04 29.189 112.245 28.675 101.153 28.387 c 92.119 28.152 85.668 28.49 81.653 29.406 c h \r\n" + "111.653 44.504 m 132.341 48.848 149.671 64.959 155.751 85.5 c 158.113 93.481 158.113 107.519 155.751 115.5 c 150.089 134.629 134.635 149.703 114.653 155.588 c \r\n" + "106.553 157.973 90.741 157.974 82.695 155.589 c 62.46 149.592 46.687 133.961 41.605 114.869 c 39.656 107.547 39.74 91.753 41.764 84.932 c \r\n" + "50.494 55.507 80.736 38.013 111.653 44.504 c h \r\n" + "90.005 77.33 m 76.55 82.362 69.825 98.176 75.898 110.5 c 78.035 114.836 83.045 119.856 87.653 122.277 c 93.231 125.208 104.066 125.204 109.705 122.27 c \r\n" + "127.735 112.887 128.781 89.485 111.62 79.428 c 106.047 76.162 95.789 75.166 90.005 77.33 c h"; break; case Z.DotRectangle: l = "23.847 98.805 m 23.847 171.305 l 98.347 171.305 l 172.847 171.305 l 172.847 98.805 l 172.847 26.305 l 98.347 26.305 l 23.847 26.305 l 23.847 98.805 l h \r\n" + "157.847 98.813 m 157.847 156.321 l 98.597 156.063 l 39.347 155.805 l 39.089 98.555 l 38.831 41.305 l 98.339 41.305 l 157.847 41.305 l 157.847 98.813 l h \r\n" + "63.527 64.959 m 63.153 65.333 62.847 80.638 62.847 98.972 c 62.847 132.305 l 98.361 132.305 l 133.874 132.305 l 133.611 98.555 l 133.347 64.805 l \r\n" + "98.777 64.542 l 79.763 64.398 63.901 64.585 63.527 64.959 c h"; break; case Z.NoneCircle: l = "83.5 29.406 m 61.222 34.493 42.346 49.67 32.355 70.529 c 23.554 88.903 23.832 112.576 33.071 131.5 c 42.034 149.857 61.02 165.402 81 170.743 c \r\n" + "91.235 173.479 112.265 173.17 121.965 170.142 c 148.151 161.968 168.034 141.215 173.585 116.263 c 176.022 105.311 175.152 88.205 171.605 77.285 c \r\n" + "164.948 56.798 145.957 38.334 124.278 31.271 c 117.887 29.189 114.092 28.675 103 28.387 c 93.966 28.152 87.515 28.49 83.5 29.406 c h \r\n" + "113.5 44.504 m 134.189 48.848 151.519 64.959 157.598 85.5 c 159.961 93.481 159.961 107.519 157.598 115.5 c 151.937 134.629 136.483 149.703 116.5 155.588 c \r\n" + "108.401 157.973 92.589 157.974 84.543 155.589 c 64.308 149.592 48.534 133.961 43.453 114.869 c 41.504 107.547 41.588 91.753 43.612 84.932 c \r\n" + "52.342 55.507 82.583 38.013 113.5 44.504 c h"; break; case Z.NoneRectangle: l = "24.153 97.958 m 24.153 170.458 l 98.653 170.458 l 173.153 170.458 l 173.153 97.958 l 173.153 25.458 l 98.653 25.458 l 24.153 25.458 l 24.153 97.958 l h \r\n" + "157.911 97.708 m 157.653 154.958 l 98.653 154.958 l 39.653 154.958 l 39.393 98.958 l 39.25 68.158 39.348 42.395 39.611 41.708 c \r\n" + "39.987 40.727 52.819 40.458 99.129 40.458 c 158.169 40.458 l 157.911 97.708 l h"; break } t.service.pageStream.writeLine("q"), t.service.pushColorToStack(); var u = i.toColor(s.textBrush); if (0 != u.a && t.service.setNonStrokeColor(u), (s.textBrush.stimulsoft.is(n) || s.textBrush.stimulsoft.is(o)) && (r && t.service.storeShadingData2(t.X, t.Y, t.Width, t.Height, s.textBrush), t.service.pageStream.writeLine("/Pattern cs /P{0} scn", 1 + t.service.shadingCurrent)), s.textBrush.stimulsoft.is(a)) { var c = s.textBrush.stimulsoft.as(a); t.service.pageStream.writeLine("/Cs1 cs /PH{0} scn", t.service.getHatchNumber(c) + 1) } t.service.setStrokeColor(s.contourColor), t.service.pageStream.writeLine("{0} w", t.service.convertToString(s.size)), t.service.pageStream.writeLine("1 0 0 1 {0} {1} cm", t.service.convertToString(t.X + t.Width / 2), t.service.convertToString(t.Y + t.Height / 2)); var m = Math.min(t.Width, t.Height) , p = m / 200; t.service.pageStream.writeLine("{0} 0 0 {0} 0 0 cm", t.service.convertToString(p)), t.service.pageStream.writeLine("1 0 0 1 -98 -98 cm"), t.service.pageStream.writeLine(l), t.service.pageStream.writeLine("B"), t.service.pageStream.writeLine("Q"), t.service.popColorFromStack() } } , t.getCheckBoxValue = function(t) { var e = null; if (null != t && null != t.checkedValue) { e = !1; var r = t.checkedValue.toString().trim().toLowerCase() , i = t.values.split("/"); if (1 == i.length && (i = t.values.split(";")), 1 == i.length && (i = t.values.split(",")), null != i && i.length > 0) { e = r == i[0].trim().toLowerCase() } } return e } , t }(); e.StiPdfRenderPrimitives = tt }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Components.IStiTextBrush , n = t.Report.Components.IStiText , o = t.Report.Components.IStiTextHorAlignment , a = t.Report.Components.IStiVertAlignment , s = t.Report.Components.IStiTextOptions , l = t.Report.Components.IStiFont , u = t.Report.Components.StiText , c = t.Base.Drawing.StiTextHorAlignment , m = t.Base.Drawing.StiVertAlignment , p = t.System.Drawing.Color , h = t.Base.Drawing.StiBrush , d = t.Base.Drawing.StiGradientBrush , g = t.Base.Drawing.StiGlareBrush , f = t.Base.Drawing.StiHatchBrush , S = t.System.Text.StringBuilder , A = t.System.Char , y = t.System.Drawing.Drawing2D.Matrix , w = function() { function w() {} return w.renderText = function(w) { var b = w.Component.stimulsoft.as(i) , v = w.Component.stimulsoft.as(n) , C = w.Component.stimulsoft.as(s) , E = w.Component.stimulsoft.as(o) , B = w.Component.stimulsoft.as(a) , T = w.Component.stimulsoft.as(u) , I = null != C && C.textOptions.wordWrap , x = null != E && E.horAlignment == c.Width , F = w.service.haveAnnots && T.editable , D = null != C && null != C.textOptions && C.textOptions.rightToLeft , R = null , P = 0 , N = 0 , k = T.textQuality == t.Report.Components.StiTextQuality.Wysiwyg; if (x && (I = !0), null != v) { F || (w.service.pageStream.writeLine("q"), w.service.pushColorToStack(), w.service.pageStream.writeLine("{0} {1} {2} {3} re W n", w.service.convertToString(w.X), w.service.convertToString(w.Y), w.service.convertToString(w.Width), w.service.convertToString(w.Height))); var M = p.transparent; if (null != b) { if (M = h.toColor(b.textBrush), w.service.setNonStrokeColor(M), w.service.storeShadingData2(w.X, w.Y, w.Width, w.Height, b.textBrush), (b.textBrush.stimulsoft.is(d) || b.textBrush.stimulsoft.is(g)) && w.service.pageStream.writeLine("/Pattern cs /P{0} scn", 1 + w.service.shadingCurrent), b.textBrush.stimulsoft.is(f)) { var O = b.textBrush.stimulsoft.as(f); w.service.pageStream.writeLine("/Cs1 cs /PH{0} scn", w.service.getHatchNumber(O) + 1) } if (F) { var _ = w.service.annotsArray[w.service.annotsCurrent]; _.FontColor = M } } var L = 1 , j = w.Component.stimulsoft.as(l); null != j && (L = j.font.sizeInPoints); var H = 1 , G = L * this.fontCorrectValue * w.service.pdfFont.tmASC / 1e3 * H , Q = L * this.fontCorrectValue * w.service.pdfFont.tmDESC / 1e3 * -1 * H , Y = L * this.fontCorrectValue * w.service.pdfFont.tmExternal / 1e3 * H , U = L * this.fontCorrectValue * w.service.pdfFont.UnderscoreSize / 1e3 * H , J = L * this.fontCorrectValue * w.service.pdfFont.UnderscorePosition / 1e3 * H , W = L * this.fontCorrectValue * w.service.pdfFont.StrikeoutSize / 1e3 * H , V = L * this.fontCorrectValue * w.service.pdfFont.StrikeoutPosition / 1e3 * H , z = (G - Q + Y) * T.lineSpacing , X = G , K = Q , Z = T.margins , q = this.hiToTwips * Z.left , $ = this.hiToTwips * Z.right , tt = this.hiToTwips * Z.top , et = this.hiToTwips * Z.bottom , rt = w.X + q , it = w.Y + et , nt = w.Width - q - $ , ot = w.Height - tt - et; F && (rt -= w.X, it -= w.Y); var at = .85 , st = .85; rt += at - .5, nt -= 2 * at, it += st + .7, ot -= 2 * st; var lt = w.service.pdfFont.Widths[0] / 2 * .99; T.textQuality != t.Report.Components.StiTextQuality.Standard && (lt *= .7); var ut = lt * (L * this.fontCorrectValue) / 1e3; rt += ut, nt -= 2 * ut; var ct = v.text; if (null == ct && (ct = ""), ct = w.service.stringReplace(ct, "\r", ""), ct = w.service.stringReplace(ct, "", ""), F && (R = w.service.stringReplace(v.text, "\n", "")), nt > 0 && ct.length > 0) { var mt = rt , pt = it , ht = nt , dt = ot; if (null != C && 0 != (N = C.textOptions.angle)) { if (N > 45 && N < 135 || N > 225 && N < 315) { var gt = nt; nt = ot, ot = gt } rt = -nt / 2, it = -ot / 2 } var ft = e.StiExportUtils.splitString(ct, !1); if (I) for (var St = 0; St < ft.length; St++) { var At = ft[St]; if (At.length < 2) continue; var yt = new S , wt = 0; while (wt < At.length) if (A.isWhitespace(At, wt)) yt.append(At.charAt(wt)), wt++; else { var bt = new S; while (wt < At.length && !A.isWhitespace(At, wt)) bt.append(At.charAt(wt)), wt++; var vt = w.service.bidi.convert(bt, !1); yt.append(vt); var Ct = bt.length - vt.length; Ct > 0 && yt.append(r.repeat(String.fromCharCode(0), Ct)) } for (var Et = [], Bt = yt.toString(), Tt = 0; Tt < At.length; Tt++) Et[Tt] = w.service.pdfFont.UnicodeMap[Bt.charCodeAt(Tt)]; for (var It = Array.create(Number, At.length), xt = Array.create(Number, At.length), Ft = 0, Dt = 0, Rt = 0; Rt < Et.length; Rt++) Et[Rt] >= 32 && (Dt += w.service.pdfFont.Widths[Et[Rt] - 32]), 9 == Et[Rt] && (Dt += this.getTabsSize(C, L, Dt + lt) + lt), It[Rt] = Math.trunc(Dt), this.isWordWrapSymbol(Bt, Rt) && Rt > 0 && Ft++, xt[Rt] = Ft; var Pt = Dt * (L * this.fontCorrectValue) / 1e3; if (Pt > nt) { var Rt = At.length - 1 , Nt = Math.trunc(1e3 * nt / (L * this.fontCorrectValue)); while (It[Rt] > Nt && Rt > 0) Rt--; var kt = Rt; if (xt[Rt] > 0) if (xt[Rt] != xt[Rt + 1]) { kt = Rt++; while (A.isWhitespace(Bt, Rt) && "\t" != Bt.charAt(Rt)) Rt++ } else { while (!this.isWordWrapSymbol(Bt, Rt)) Rt--; kt = Rt - 1; while (A.isWhitespace(Bt, kt) && kt > 0) kt--; while (A.isWhitespace(Bt, Rt) && "\t" != Bt.charAt(Rt)) Rt++ } else Rt++; ft[St] = x ? At.substr(0, kt + 1) + String.fromCharCode(7) : At.substr(0, kt + 1), ft.insert(St + 1, At.substr(Rt, At.length - Rt).stimulsoft.trimStart(" ")) } } P = ft.length; for (var Mt = -1, St = 0; St < ft.length; St++) { for (var At = ft[St], Ot = w.service.bidi.convert(new S(At), D).toString(), _t = new S, Rt = 0; Rt < Ot.length; Rt++) _t.append(String.fromCharCode(w.service.pdfFont.UnicodeMap[Ot.charCodeAt(Rt)])); ft[St] = _t.toString() } if (null != B) { var Lt = z , jt = P * Lt , Ht = B.vertAlignment; 0 != N && 90 != N && 180 != N && 270 != N && (Ht = m.Center), Ht == m.Top && (it += ot - jt + (Lt - X)), Ht == m.Center && (it += (ot - jt) / 2 + (Lt - X)), Ht == m.Bottom && (it += Lt - X) } w.service.pageStream.writeLine("BT"); var Gt = 0 , Qt = 0 , Yt = Array.create(Number, ft.length, 3) , Ut = null; if (0 != N) { var Jt = N * Math.PI / 180; Ut = new y(Math.cos(Jt),Math.sin(Jt),-Math.sin(Jt),Math.cos(Jt),mt + ht / 2,pt + dt / 2), w.service.pdfFont.NeedSyntItalic && null != j && j.font.italic || w.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} Tm", w.service.convertToString(Ut.elements[0]), w.service.convertToString(Ut.elements[1]), w.service.convertToString(Ut.elements[2]), w.service.convertToString(Ut.elements[3]), w.service.convertToString(Ut.elements[4]), w.service.convertToString(Ut.elements[5])) } w.service.pdfFont.NeedSyntBold && null != j && j.font.bold && (w.service.pageStream.writeLine("{0} w 2 Tr", w.service.convertToString(this.boldFontStrokeWidthValue * L, 3)), w.service.setStrokeColor(M)); for (var St = 0; St < P; St++) { for (var At = ft[St], Wt = Array.create(Number, At.length), Vt = 0, Dt = 0, zt = 0, Xt = 1e3 * nt / (L * this.fontCorrectValue), Kt = w.service.pdfFont.Widths[w.service.pdfFont.UnicodeMap["…".charCodeAt(0)]], Zt = 0, Rt = 0; Rt < At.length; Rt++) { var qt = At.charCodeAt(Rt); if (qt >= 32 && (Dt += w.service.pdfFont.Widths[qt - 32]), 9 == qt) { var $t = this.getTabsSize(C, L, Dt); Dt += $t, Wt[Vt++] = $t } Dt + Kt < Xt && (zt = Dt, Zt = Rt) } if (Dt = Dt * (L * this.fontCorrectValue) / 1e3, -1 != Mt && (St == P - 1 && Mt < ft.length || Dt > nt) && (At = At.substr(0, Zt) + String.fromCharCode(w.service.pdfFont.UnicodeMap["…".charCodeAt(0)]), Dt = (zt + Kt) * (L * this.fontCorrectValue) / 1e3), w.service.useUnicodeMode) { for (var yt = new S, Rt = 0; Rt < At.length; Rt++) { Rt % 121 == 120 && yt.appendLine("\r"); var te = At.charCodeAt(Rt); if (32 == te || 9 == te || 7 == te) yt.append(At.charAt(Rt)); else { var ee = w.service.pdfFont.GlyphList[te]; 65535 == ee && (ee = 0), yt.appendFormat("{0:X4}", ee) } } At = yt.toString() } else At = e.StiPdfExportService.convertToEscapeSequence(At); var re = rt , ie = it + z * (P - St - 1) , ne = !1 , oe = !1; if (null != E) { var ae = E.horAlignment; if (x && (At.length > 0 && 7 === At.charCodeAt(At.length - 1) ? At = At.substr(0, At.length - 1) : ae = c.Left), null != C && null != C.textOptions && C.textOptions.rightToLeft && (ae == c.Left ? ae = c.Right : ae == c.Right && (ae = c.Left)), ae == c.Center && (re += (nt - Dt) / 2), ae == c.Right && (re += nt - Dt), ae == c.Width) { for (var se = 0, le = 0; le < At.length; le++) 32 === At.charCodeAt(le) && se++; if (se > 0 && (St != ft.length - 1 || k && Dt > nt)) { oe = !0; var ue = (nt - Dt) / se * 1e3 / (L * this.fontCorrectValue); if (ue > 0 || k) { ne = !0, ue += w.service.pdfFont.Widths[0], ue < .5 * w.service.pdfFont.Widths[0] && (ue = .5 * w.service.pdfFont.Widths[0]); for (var ce = new S(w.service.useUnicodeMode ? "<" : "("), me = 0; me < At.length; me++) 32 === At.charCodeAt(me) ? w.service.useUnicodeMode ? ce.append(">-" + w.service.convertToString(ue) + "<") : ce.append(")-" + w.service.convertToString(ue) + "(") : ce.append(At[me]); ce.append(w.service.useUnicodeMode ? ">" : ")"), At = ce.toString() } } } } if (Vt > 0) { var pe = 0 , he = new S; 0 == oe && he.append(w.service.useUnicodeMode ? "<" : "("); for (var me = 0; me < At.length; me++) if ("\t" == At[me]) { var de = Wt[pe++]; w.service.useUnicodeMode ? he.append(">-" + w.service.convertToString(de) + "<") : he.append(")-" + w.service.convertToString(de) + "(") } else he.append(At[me]); 0 == oe && he.append(w.service.useUnicodeMode ? ">" : ")"), At = he.toString() } w.service.useUnicodeMode && (At = w.service.stringReplace(At, " ", w.service.pdfFont.GlyphList[32].toString(16).stimulsoft.padLeft(4, "0")).stimulsoft.replaceAll("a", "0000")); for (var ge = null != w.service.pdfFont.ChildFontsMap, fe = 0, Et = Array.create(Number, At.length), Se = new Array, Tt = 0; Tt < At.length; Tt++) { var Ae = At.charCodeAt(Tt); Et[Tt] = Ae; var ye = !1; if (13 == Ae && (Se.add(Tt), ye = !0), ge) { var we = w.service.pdfFont.UnicodeMapBack[Ae]; 92 == Ae && (we = w.service.pdfFont.UnicodeMapBack[At.charCodeAt(Tt + 1)]); var be = w.service.pdfFont.ChildFontsMap[we]; we < 64 && (Tt > 0 ? be = fe : At.length > 1 && (be = w.service.pdfFont.ChildFontsMap[w.service.pdfFont.UnicodeMapBack[At.charCodeAt(1)]])), 92 != Ae && (Et[Tt] = w.service.pdfFont.fonts[be].UnicodeMap[we]), be == fe || ye || 0 == Tt || Se.add(Tt), fe = be } } if (Se.add(At.length), Yt[St][0] = re, Yt[St][1] = ie, Yt[St][2] = Dt, w.service.pdfFont.NeedSyntItalic && null != j && j.font.italic) { var ve = new y(1,0,this.italicAngleTanValue,1,re,ie); null != Ut && ve.multiply(ve), w.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} Tm", w.service.convertToString(ve.elements[0]), w.service.convertToString(ve.elements[1]), w.service.convertToString(ve.elements[2]), w.service.convertToString(ve.elements[3]), w.service.convertToString(ve.elements[4]), w.service.convertToString(ve.elements[5])) } else w.service.pageStream.writeLine("{0} {1} Td", w.service.convertToString(re - Gt), w.service.convertToString(ie - Qt)), Gt = re, Qt = ie; for (var Ce = 0, Ee = 0; Ee < Se.length; Ee++) { if (ge && At.length > 0) { var Be = At.charCodeAt(Ce) < 64 && At.length > Ce + 1 ? Ce + 1 : Ce , be = w.service.pdfFont.ChildFontsMap[w.service.pdfFont.UnicodeMapBack[At.charCodeAt(Be)]]; w.service.pageStream.writeLine("/F{0} {1} Tf", be, w.service.convertToString(L * this.fontCorrectValue, this.precision_digits_font)) } var Te = Se[Ee] , Ie = Te - Ce; Ie > 0 && (ne || Vt > 0 ? (w.service.pageStream.writeString("["), Ee > 0 && w.service.pageStream.writeString(w.service.useUnicodeMode ? "<" : "("), w.service.pageStream.write(Et, Ce, Ie), Ee < Se.length - 1 && w.service.pageStream.writeString(w.service.useUnicodeMode ? ">" : ")"), w.service.pageStream.writeLine("] TJ")) : (w.service.pageStream.writeString(w.service.useUnicodeMode ? "<" : "("), w.service.pageStream.write(Et, Ce, Ie), w.service.pageStream.writeLine("{0} Tj", w.service.useUnicodeMode ? ">" : ")"))), Ce = Te, Te < Et.length - 1 && 13 == Et[Te] && Ce++ } } if (w.service.pdfFont.NeedSyntBold && null != j && j.font.bold && w.service.pageStream.writeLine("0 Tr"), w.service.pageStream.writeLine("ET"), null != j && j.font.underline) { w.service.pageStream.writeLine("q"), w.service.pushColorToStack(); var xe = .07 * L , Fe = .1 * -L; if (0 != w.service.pdfFont.UnderscoreSize && (xe = U, Fe = J), xe < .1 && (xe = .1), w.service.pageStream.writeLine("{0} w", w.service.convertToString(xe)), 0 != N) { var Jt = N * Math.PI / 180; w.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} cm", w.service.convertToString(Math.cos(Jt)), w.service.convertToString(Math.sin(Jt)), w.service.convertToString(-Math.sin(Jt)), w.service.convertToString(Math.cos(Jt)), w.service.convertToString(mt + ht / 2), w.service.convertToString(pt + dt / 2)) } null != b && w.service.setStrokeColor(M); for (var Tt = 0; Tt < ft.length; Tt++) 0 != Yt[Tt][2] && (w.service.pageStream.writeLine("{0} {1} m", w.service.convertToString(Yt[Tt][0]), w.service.convertToString(Yt[Tt][1] + Fe)), w.service.pageStream.writeLine("{0} {1} l S", w.service.convertToString(Yt[Tt][0] + Yt[Tt][2]), w.service.convertToString(Yt[Tt][1] + Fe))); w.service.pageStream.writeLine("Q"), w.service.popColorFromStack() } if (null != j && j.font.strikeout) { w.service.pageStream.writeLine("q"), w.service.pushColorToStack(); var De = .045 * L , Re = .25 * L; if (0 != w.service.pdfFont.StrikeoutSize && (De = W, Re = V), De < .1 && (De = .1), w.service.pageStream.writeLine("{0} w", w.service.convertToString(De)), 0 != N) { var Jt = N * Math.PI / 180; w.service.pageStream.writeLine("{0} {1} {2} {3} {4} {5} cm", w.service.convertToString(Math.cos(Jt)), w.service.convertToString(Math.sin(Jt)), w.service.convertToString(-Math.sin(Jt)), w.service.convertToString(Math.cos(Jt)), w.service.convertToString(mt + ht / 2), w.service.convertToString(pt + dt / 2)) } null != b && w.service.setStrokeColor(M); for (var Tt = 0; Tt < ft.length; Tt++) 0 != Yt[Tt][2] && (w.service.pageStream.writeLine("{0} {1} m", w.service.convertToString(Yt[Tt][0]), w.service.convertToString(Yt[Tt][1] + Re)), w.service.pageStream.writeLine("{0} {1} l S", w.service.convertToString(Yt[Tt][0] + Yt[Tt][2]), w.service.convertToString(Yt[Tt][1] + Re))); w.service.pageStream.writeLine("Q"), w.service.popColorFromStack() } } if (F) { var _ = w.service.annotsArray[w.service.annotsCurrent]; if (_.Multiline = I, _.X = w.X, _.Y = w.Y, _.Width = w.Width, _.Height = w.Height, _.Text = R, _.Component = w.Component, _.Alignment = c.Left, null != E) { var ae = E.horAlignment; null != C && null != C.textOptions && C.textOptions.rightToLeft && (ae == c.Left ? ae = c.Right : ae == c.Right && (ae = c.Left)), _.Alignment = ae } } F || (w.service.pageStream.writeLine("Q"), w.service.popColorFromStack()) } } , w.isWordWrapSymbol = function(t, e) { var r = t.charCodeAt(e) , i = t.charAt(e); if (r >= 12288 && r <= 55215 || A.isWhitespace(t, e) && 160 != r || "(" == i || "{" == i) return !0; if (e > 0) { var n = t.charAt(e - 1); if ("!" == n || "%" == n || ")" == n || "}" == n || "-" == n || "?" == n) return !0 } return !1 } , w.getTabsSize = function(t, e, r) { if (null != t && null != t.textOptions) { var i = r , n = 750 / e , o = n * t.textOptions.distanceBetweenTabs , a = n * t.textOptions.firstTabOffset + o; if (r < a) i = a; else if (t.textOptions.distanceBetweenTabs > 0) { var s = Math.trunc((r - a) / o); s++, i = a + s * o } return i - r } return 0 } , w.renderTextFont = function(t) { var e = t.Component.stimulsoft.as(l); if (null != e) { var r = t.service.pdfFont.getFontNumber(e.font) , i = e.font.sizeInPoints * this.fontCorrectValue; if (t.service.pageStream.writeLine("/F{0} {1} Tf", r, t.service.convertToString(i, this.precision_digits_font)), t.service.pdfFont.currentFont = r, t.service.haveAnnots && t.Component.stimulsoft.as(u).editable) { var n = t.service.annotsArray[t.service.annotsCurrent]; n.FontNumber = r, n.FontSize = i } } } , w.hiToTwips = .72, w.precision_digits_font = 3, w.fontCorrectValue = .955, w.boldFontStrokeWidthValue = .031, w.italicAngleTanValue = .325, w }(); e.StiPdfRenderText = w }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return Object.defineProperty(t, "standardFontCharsNames", { get: function() { if (null == this._standardFontCharsNames) { var t = ["0020space", "0021exclam", "0022quotedbl", "0023numbersign", "0024dollar", "0025percent", "0026ampersand", "0027quotesingle", "0028parenleft", "0029parenright", "002Aasterisk", "002Bplus", "002Ccomma", "002Dhyphen", "002Eperiod", "002Fslash", "0030zero", "0031one", "0032two", "0033three", "0034four", "0035five", "0036six", "0037seven", "0038eight", "0039nine", "003Acolon", "003Bsemicolon", "003Cless", "003Dequal", "003Egreater", "003Fquestion", "0040at", "0041A", "0042B", "0043C", "0044D", "0045E", "0046F", "0047G", "0048H", "0049I", "004AJ", "004BK", "004CL", "004DM", "004EN", "004FO", "0050P", "0051Q", "0052R", "0053S", "0054T", "0055U", "0056V", "0057W", "0058X", "0059Y", "005AZ", "005Bbracketleft", "005Cbackslash", "005Dbracketright", "005Easciicircum", "005Funderscore", "0060grave", "0061a", "0062b", "0063c", "0064d", "0065e", "0066f", "0067g", "0068h", "0069i", "006Aj", "006Bk", "006Cl", "006Dm", "006En", "006Fo", "0070p", "0071q", "0072r", "0073s", "0074t", "0075u", "0076v", "0077w", "0078x", "0079y", "007Az", "007Bbraceleft", "007Cbar", "007Dbraceright", "007Easciitilde", "007FcontrolDEL", "00A0nbspace", "00A1exclamdown", "00A2cent", "00A3sterling", "00A4currency", "00A5yen", "00A6brokenbar", "00A7section", "00A8dieresis", "00A9copyright", "00AAordfeminine", "00ABguillemotleft", "00AClogicalnot", "00ADsofthyphen", "00AEregistered", "00AFmacron", "00B0degree", "00B1plusminus", "00B2twosuperior", "00B3threesuperior", "00B4acute", "00B5mu", "00B6paragraph", "00B7periodcentered", "00B8cedilla", "00B9onesuperior", "00BAordmasculine", "00BBguillemotright", "00BConequarter", "00BDonehalf", "00BEthreequarters", "00BFquestiondown", "00C0Agrave", "00C1Aacute", "00C2Acircumflex", "00C3Atilde", "00C4Adieresis", "00C5Aring", "00C6AE", "00C7Ccedilla", "00C8Egrave", "00C9Eacute", "00CAEcircumflex", "00CBEdieresis", "00CCIgrave", "00CDIacute", "00CEIcircumflex", "00CFIdieresis", "00D0Eth", "00D1Ntilde", "00D2Ograve", "00D3Oacute", "00D4Ocircumflex", "00D5Otilde", "00D6Odieresis", "00D7multiply", "00D8Oslash", "00D9Ugrave", "00DAUacute", "00DBUcircumflex", "00DCUdieresis", "00DDYacute", "00DEThorn", "00DFgermandbls", "00E0agrave", "00E1aacute", "00E2acircumflex", "00E3atilde", "00E4adieresis", "00E5aring", "00E6ae", "00E7ccedilla", "00E8egrave", "00E9eacute", "00EAecircumflex", "00EBedieresis", "00ECigrave", "00EDiacute", "00EEicircumflex", "00EFidieresis", "00F0eth", "00F1ntilde", "00F2ograve", "00F3oacute", "00F4ocircumflex", "00F5otilde", "00F6odieresis", "00F7divide", "00F8oslash", "00F9ugrave", "00FAuacute", "00FBucircumflex", "00FCudieresis", "00FDyacute", "00FEthorn", "00FFydieresis", "0100Amacron", "0101amacron", "0102Abreve", "0103abreve", "0104Aogonek", "0105aogonek", "0106Cacute", "0107cacute", "0108Ccircumflex", "0109ccircumflex", "010ACdotaccent", "010Bcdotaccent", "010CCcaron", "010Dccaron", "010EDcaron", "010Fdcaron", "0110Dcroat", "0111dcroat", "0112Emacron", "0113emacron", "0114Ebreve", "0115ebreve", "0116Edotaccent", "0117edotaccent", "0118Eogonek", "0119eogonek", "011AEcaron", "011Becaron", "011CGcircumflex", "011Dgcircumflex", "011EGbreve", "011Fgbreve", "0120Gdotaccent", "0121gdotaccent", "0122Gcommaaccent", "0123gcommaaccent", "0124Hcircumflex", "0125hcircumflex", "0126Hbar", "0127hbar", "0128Itilde", "0129itilde", "012AImacron", "012Bimacron", "012CIbreve", "012Dibreve", "012EIogonek", "012Fiogonek", "0130Idotaccent", "0131dotlessi", "0132IJ", "0133ij", "0134Jcircumflex", "0135jcircumflex", "0136Kcommaaccent", "0137kcommaaccent", "0138kgreenlandic", "0139Lacute", "013Alacute", "013BLcommaaccent", "013Clcommaaccent", "013DLcaron", "013Elcaron", "013FLdot", "0140ldot", "0141Lslash", "0142lslash", "0143Nacute", "0144nacute", "0145Ncommaaccent", "0146ncommaaccent", "0147Ncaron", "0148ncaron", "0149napostrophe", "014AEng", "014Beng", "014COmacron", "014Domacron", "014EObreve", "014Fobreve", "0150Ohungarumlaut", "0151ohungarumlaut", "0152OE", "0153oe", "0154Racute", "0155racute", "0156Rcommaaccent", "0157rcommaaccent", "0158Rcaron", "0159rcaron", "015ASacute", "015Bsacute", "015CScircumflex", "015Dscircumflex", "015EScedilla", "015Fscedilla", "0160Scaron", "0161scaron", "0162Tcommaaccent", "0163tcommaaccent", "0164Tcaron", "0165tcaron", "0166Tbar", "0167tbar", "0168Utilde", "0169utilde", "016AUmacron", "016Bumacron", "016CUbreve", "016Dubreve", "016EUring", "016Furing", "0170Uhungarumlaut", "0171uhungarumlaut", "0172Uogonek", "0173uogonek", "0174Wcircumflex", "0175wcircumflex", "0176Ycircumflex", "0177ycircumflex", "0178Ydieresis", "0179Zacute", "017Azacute", "017BZdotaccent", "017Czdotaccent", "017DZcaron", "017Ezcaron", "017Flongs", "0180bstroke", "0181Bhook", "0182Btopbar", "0183btopbar", "0184Tonesix", "0185tonesix", "0186Oopen", "0187Chook", "0188chook", "0189Dafrican", "018ADhook", "018BDtopbar", "018Cdtopbar", "018Ddeltaturned", "018EEreversed", "018FSchwa", "0190Eopen", "0191Fhook", "0192florin", "0193Ghook", "0194Gammaafrican", "0195hv", "0196Iotaafrican", "0197Istroke", "0198Khook", "0199khook", "019Albar", "019Blambdastroke", "019CMturned", "019DNhookleft", "019Enlegrightlong", "019FOcenteredtilde", "01A0Ohorn", "01A1ohorn", "01A2Oi", "01A3oi", "01A4Phook", "01A5phook", "01A6yr", "01A7Tonetwo", "01A8tonetwo", "01A9Esh", "01AAeshreversedloop", "01ABtpalatalhook", "01ACThook", "01ADthook", "01AETretroflexhook", "01AFUhorn", "01B0uhorn", "01B1Upsilonafrican", "01B2Vhook", "01B3Yhook", "01B4yhook", "01B5Zstroke", "01B6zstroke", "01B7Ezh", "01B8Ezhreversed", "01B9ezhreversed", "01BAezhtail", "01BBtwostroke", "01BCTonefive", "01BDtonefive", "01BEglottalinvertedstroke", "01BFwynn", "01C0clickdental", "01C1clicklateral", "01C2clickalveolar", "01C3clickretroflex", "01C4DZcaron", "01C5Dzcaron", "01C6dzcaron", "01C7LJ", "01C8Lj", "01C9lj", "01CANJ", "01CBNj", "01CCnj", "01CDAcaron", "01CEacaron", "01CFIcaron", "01D0icaron", "01D1Ocaron", "01D2ocaron", "01D3Ucaron", "01D4ucaron", "01F0jcaron", "01F1DZ", "01F2Dz", "01F3dz", "01F4Gacute", "01F5gacute", "01FAAringacute", "01FBaringacute", "01FCAEacute", "01FDaeacute", "01FEOslashacute", "01FFoslashacute", "0254oopen", "0255ccurl", "0256dtail", "0257dhook", "0258ereversed", "0259schwa", "025Aschwahook", "025Beopen", "025Fjdotlessstroke", "0260ghook", "0261gscript", "0264ramshorn", "0265hturned", "0266hhook", "0267henghook", "0268istroke", "0269iotalatin", "026Clbelt", "026Elezh", "026Fmturned", "0271mhook", "0272nhookleft", "0275obarred", "0278philatin", "0279rturned", "027Brhookturned", "027Crlongleg", "027Drhook", "027Erfishhook", "0282shook", "0283esh", "0286eshcurl", "0287tturned", "0289ubar", "028Bvhook", "028Cvturned", "028Dwturned", "028Eyturned", "0290zretroflexhook", "0291zcurl", "0292ezh", "0293ezhcurl", "0294glottalstop", "02A3dzaltone", "02A4dezh", "02A5dzcurl", "02A6ts", "02A7tesh", "02A8tccurl", "02D6plusmod", "02D7minusmod", "02D8breve", "02D9dotaccent", "02DAring", "02DBogonek", "02DCtilde", "0391Alpha", "0392Beta", "0393Gamma", "0394Deltagreek", "0395Epsilon", "0396Zeta", "0397Eta", "0398Theta", "0399Iota", "039AKappa", "039BLambda", "039CMu", "039DNu", "039EXi", "039FOmicron", "03A0Pi", "03A1Rho", "03A3Sigma", "03A4Tau", "03A5Upsilon", "03A6Phi", "03A7Chi", "03A8Psi", "03A9Omegagreek", "03AAIotadieresis", "03ABUpsilondieresis", "03ACalphatonos", "03ADepsilontonos", "03AEetatonos", "03AFiotatonos", "03B0upsilondieresistonos", "03B1alpha", "03B2beta", "03B3gamma", "03B4delta", "03B5epsilon", "03B6zeta", "03B7eta", "03B8theta", "03B9iota", "03BAkappa", "03BBlambda", "03BCmu", "03BDnu", "03BExi", "03BFomicron", "03C0pi", "03C1rho", "03C2sigma1", "03C3sigma", "03C4tau", "03C5upsilon", "03C6phi", "03C7chi", "03C8psi", "03C9omega", "03CAiotadieresis", "03CBupsilondieresis", "03CComicrontonos", "03CDupsilontonos", "03CEomegatonos", "03D0betasymbolgreek", "03D1theta1", "03D2Upsilon1", "03D5phi1", "03D6omega1", "03DAStigmagreek", "03DCDigammagreek", "03DEKoppagreek", "03E0Sampigreek", "03E2Sheicoptic", "03E3sheicoptic", "03E4Feicoptic", "03E5feicoptic", "03E6Kheicoptic", "03E7kheicoptic", "03E8Horicoptic", "03E9horicoptic", "03EAGangiacoptic", "03EBgangiacoptic", "03ECShimacoptic", "03EDshimacoptic", "03EEDeicoptic", "03EFdeicoptic", "03F0kappasymbolgreek", "03F1rhosymbolgreek", "03F3yotgreek", "0401afii10023", "0402afii10051", "0403afii10052", "0404afii10053", "0405afii10054", "0406afii10055", "0407afii10056", "0408afii10057", "0409afii10058", "040Aafii10059", "040Bafii10060", "040Cafii10061", "040Eafii10062", "040Fafii10145", "0410afii10017", "0411afii10018", "0412afii10019", "0413afii10020", "0414afii10021", "0415afii10022", "0416afii10024", "0417afii10025", "0418afii10026", "0419afii10027", "041Aafii10028", "041Bafii10029", "041Cafii10030", "041Dafii10031", "041Eafii10032", "041Fafii10033", "0420afii10034", "0421afii10035", "0422afii10036", "0423afii10037", "0424afii10038", "0425afii10039", "0426afii10040", "0427afii10041", "0428afii10042", "0429afii10043", "042Aafii10044", "042Bafii10045", "042Cafii10046", "042Dafii10047", "042Eafii10048", "042Fafii10049", "0430afii10065", "0431afii10066", "0432afii10067", "0433afii10068", "0434afii10069", "0435afii10070", "0436afii10072", "0437afii10073", "0438afii10074", "0439afii10075", "043Aafii10076", "043Bafii10077", "043Cafii10078", "043Dafii10079", "043Eafii10080", "043Fafii10081", "0440afii10082", "0441afii10083", "0442afii10084", "0443afii10085", "0444afii10086", "0445afii10087", "0446afii10088", "0447afii10089", "0448afii10090", "0449afii10091", "044Aafii10092", "044Bafii10093", "044Cafii10094", "044Dafii10095", "044Eafii10096", "044Fafii10097", "0451afii10071", "0452afii10099", "0453afii10100", "0454afii10101", "0455afii10102", "0456afii10103", "0457afii10104", "0458afii10105", "0459afii10106", "045Aafii10107", "045Bafii10108", "045Cafii10109", "045Eafii10110", "045Fafii10193", "0462afii10146", "0463afii10194", "0472afii10147", "0473afii10195", "0474afii10148", "0475afii10196", "0490afii10050", "0491afii10098", "04D9afii10846", "060Cafii57388", "061Bafii57403", "061Fafii57407", "0621afii57409", "0622afii57410", "0623afii57411", "0624afii57412", "0625afii57413", "0626afii57414", "0627afii57415", "0628afii57416", "0629afii57417", "062Aafii57418", "062Bafii57419", "062Cafii57420", "062Dafii57421", "062Eafii57422", "062Fafii57423", "0630afii57424", "0631afii57425", "0632afii57426", "0633afii57427", "0634afii57428", "0635afii57429", "0636afii57430", "0637afii57431", "0638afii57432", "0639afii57433", "063Aafii57434", "0640afii57440", "0641afii57441", "0642afii57442", "0643afii57443", "0644afii57444", "0645afii57445", "0646afii57446", "0647afii57470", "0648afii57448", "0649afii57449", "064Aafii57450", "064Bafii57451", "064Cafii57452", "064Dafii57453", "064Eafii57454", "064Fafii57455", "0650afii57456", "0651afii57457", "0652afii57458", "0660afii57392", "0661afii57393", "0662afii57394", "0663afii57395", "0664afii57396", "0665afii57397", "0666afii57398", "0667afii57399", "0668afii57400", "0669afii57401", "066Aafii57381", "066Bdecimalseparatorarabic", "066Cthousandsseparatorarabic", "066Dafii63167", "0679afii57511", "067Eafii57506", "0686afii57507", "0688afii57512", "0691afii57513", "0698afii57508", "06A4afii57505", "06AFafii57509", "06BAafii57514", "06C1hehaltonearabic", "06D1yehthreedotsbelowarabic", "06D2afii57519", "06D5afii57534", "06F0zeropersian", "06F1onepersian", "06F2twopersian", "06F3threepersian", "06F4fourpersian", "06F5fivepersian", "06F6sixpersian", "06F7sevenpersian", "06F8eightpersian", "06F9ninepersian", "1E00Aringbelow", "1E01aringbelow", "1E02Bdotaccent", "1E03bdotaccent", "1E04Bdotbelow", "1E05bdotbelow", "1E06Blinebelow", "1E07blinebelow", "1E08Ccedillaacute", "1E09ccedillaacute", "1E0ADdotaccent", "1E0Bddotaccent", "1E0CDdotbelow", "1E0Dddotbelow", "1E0EDlinebelow", "1E0Fdlinebelow", "1E10Dcedilla", "1E11dcedilla", "1E12Dcircumflexbelow", "1E13dcircumflexbelow", "1E14Emacrongrave", "1E15emacrongrave", "1E16Emacronacute", "1E17emacronacute", "1E18Ecircumflexbelow", "1E19ecircumflexbelow", "1E1AEtildebelow", "1E1Betildebelow", "1E1CEcedillabreve", "1E1Decedillabreve", "1E1EFdotaccent", "1E1Ffdotaccent", "1E20Gmacron", "1E21gmacron", "1E22Hdotaccent", "1E23hdotaccent", "1E24Hdotbelow", "1E25hdotbelow", "1E26Hdieresis", "1E27hdieresis", "1E28Hcedilla", "1E29hcedilla", "1E2AHbrevebelow", "1E2Bhbrevebelow", "1E2CItildebelow", "1E2Ditildebelow", "1E2EIdieresisacute", "1E2Fidieresisacute", "1E30Kacute", "1E31kacute", "1E32Kdotbelow", "1E33kdotbelow", "1E34Klinebelow", "1E35klinebelow", "1E36Ldotbelow", "1E37ldotbelow", "1E38Ldotbelowmacron", "1E39ldotbelowmacron", "1E3ALlinebelow", "1E3Bllinebelow", "1E3CLcircumflexbelow", "1E3Dlcircumflexbelow", "1E3EMacute", "1E3Fmacute", "1E40Mdotaccent", "1E41mdotaccent", "1E42Mdotbelow", "1E43mdotbelow", "1E44Ndotaccent", "1E45ndotaccent", "1E46Ndotbelow", "1E47ndotbelow", "1E48Nlinebelow", "1E49nlinebelow", "1E4ANcircumflexbelow", "1E4Bncircumflexbelow", "1E4COtildeacute", "1E4Dotildeacute", "1E4EOtildedieresis", "1E4Fotildedieresis", "1E50Omacrongrave", "1E51omacrongrave", "1E52Omacronacute", "1E53omacronacute", "1E54Pacute", "1E55pacute", "1E56Pdotaccent", "1E57pdotaccent", "1E58Rdotaccent", "1E59rdotaccent", "1E5ARdotbelow", "1E5Brdotbelow", "1E5CRdotbelowmacron", "1E5Drdotbelowmacron", "1E5ERlinebelow", "1E5Frlinebelow", "1E60Sdotaccent", "1E61sdotaccent", "1E62Sdotbelow", "1E63sdotbelow", "1E64Sacutedotaccent", "1E65sacutedotaccent", "1E66Scarondotaccent", "1E67scarondotaccent", "1E68Sdotbelowdotaccent", "1E69sdotbelowdotaccent", "1E6ATdotaccent", "1E6Btdotaccent", "1E6CTdotbelow", "1E6Dtdotbelow", "1E6ETlinebelow", "1E6Ftlinebelow", "1E70Tcircumflexbelow", "1E71tcircumflexbelow", "1E72Udieresisbelow", "1E73udieresisbelow", "1E74Utildebelow", "1E75utildebelow", "1E76Ucircumflexbelow", "1E77ucircumflexbelow", "1E78Utildeacute", "1E79utildeacute", "1E7AUmacrondieresis", "1E7Bumacrondieresis", "1E7CVtilde", "1E7Dvtilde", "1E7EVdotbelow", "1E7Fvdotbelow", "1E80Wgrave", "1E81wgrave", "1E82Wacute", "1E83wacute", "1E84Wdieresis", "1E85wdieresis", "1E86Wdotaccent", "1E87wdotaccent", "1E88Wdotbelow", "1E89wdotbelow", "1E8AXdotaccent", "1E8Bxdotaccent", "1E8CXdieresis", "1E8Dxdieresis", "1E8EYdotaccent", "1E8Fydotaccent", "1E90Zcircumflex", "1E91zcircumflex", "1E92Zdotbelow", "1E93zdotbelow", "1E94Zlinebelow", "1E95zlinebelow", "1E96hlinebelow", "1E97tdieresis", "1E98wring", "1E99yring", "1E9Aarighthalfring", "1E9Bslongdotaccent", "1EA0Adotbelow", "1EA1adotbelow", "1EA2Ahookabove", "1EA3ahookabove", "1EA4Acircumflexacute", "1EA5acircumflexacute", "1EA6Acircumflexgrave", "1EA7acircumflexgrave", "1EA8Acircumflexhookabove", "1EA9acircumflexhookabove", "1EAAAcircumflextilde", "1EABacircumflextilde", "1EACAcircumflexdotbelow", "1EADacircumflexdotbelow", "1EAEAbreveacute", "1EAFabreveacute", "1EB0Abrevegrave", "1EB1abrevegrave", "1EB2Abrevehookabove", "1EB3abrevehookabove", "1EB4Abrevetilde", "1EB5abrevetilde", "1EB6Abrevedotbelow", "1EB7abrevedotbelow", "1EB8Edotbelow", "1EB9edotbelow", "1EBAEhookabove", "1EBBehookabove", "1EBCEtilde", "1EBDetilde", "1EBEEcircumflexacute", "1EBFecircumflexacute", "1EC0Ecircumflexgrave", "1EC1ecircumflexgrave", "1EC2Ecircumflexhookabove", "1EC3ecircumflexhookabove", "1EC4Ecircumflextilde", "1EC5ecircumflextilde", "1EC6Ecircumflexdotbelow", "1EC7ecircumflexdotbelow", "1EC8Ihookabove", "1EC9ihookabove", "1ECAIdotbelow", "1ECBidotbelow", "1ECCOdotbelow", "1ECDodotbelow", "1ECEOhookabove", "1ECFohookabove", "1ED0Ocircumflexacute", "1ED1ocircumflexacute", "1ED2Ocircumflexgrave", "1ED3ocircumflexgrave", "1ED4Ocircumflexhookabove", "1ED5ocircumflexhookabove", "1ED6Ocircumflextilde", "1ED7ocircumflextilde", "1ED8Ocircumflexdotbelow", "1ED9ocircumflexdotbelow", "1EDAOhornacute", "1EDBohornacute", "1EDCOhorngrave", "1EDDohorngrave", "1EDEOhornhookabove", "1EDFohornhookabove", "1EE0Ohorntilde", "1EE1ohorntilde", "1EE2Ohorndotbelow", "1EE3ohorndotbelow", "1EE4Udotbelow", "1EE5udotbelow", "1EE6Uhookabove", "1EE7uhookabove", "1EE8Uhornacute", "1EE9uhornacute", "1EEAUhorngrave", "1EEBuhorngrave", "1EECUhornhookabove", "1EEDuhornhookabove", "1EEEUhorntilde", "1EEFuhorntilde", "1EF0Uhorndotbelow", "1EF1uhorndotbelow", "1EF2Ygrave", "1EF3ygrave", "1EF4Ydotbelow", "1EF5ydotbelow", "1EF6Yhookabove", "1EF7yhookabove", "1EF8Ytilde", "1EF9ytilde", "2002enspace", "200Bzerowidthspace", "200Cafii61664", "200Dafii301", "200Eafii299", "200Fafii300", "2010hyphentwo", "2012figuredash", "2013endash", "2014emdash", "2015afii00208", "2016dblverticalbar", "2017underscoredbl", "2018quoteleft", "2019quoteright", "201Aquotesinglbase", "201Bquotereversed", "201Cquotedblleft", "201Dquotedblright", "201Equotedblbase", "2020dagger", "2021daggerdbl", "2022bullet", "2024onedotenleader", "2025twodotenleader", "2026ellipsis", "202Cafii61573", "202Dafii61574", "202Eafii61575", "2030perthousand", "2032minute", "2033second", "2035primereversed", "2039guilsinglleft", "203Aguilsinglright", "203Breferencemark", "203Cexclamdbl", "203Eoverline", "2042asterism", "2044fraction", "2070zerosuperior", "2074foursuperior", "2075fivesuperior", "2076sixsuperior", "2077sevensuperior", "2078eightsuperior", "2079ninesuperior", "207Aplussuperior", "207Cequalsuperior", "207Dparenleftsuperior", "207Eparenrightsuperior", "207Fnsuperior", "2080zeroinferior", "2081oneinferior", "2082twoinferior", "2083threeinferior", "2084fourinferior", "2085fiveinferior", "2086sixinferior", "2087seveninferior", "2088eightinferior", "2089nineinferior", "208Dparenleftinferior", "208Eparenrightinferior", "20A1colonmonetary", "20A2cruzeiro", "20A3franc", "20A4afii08941", "20A7peseta", "20A9won", "20AAafii57636", "20ABdong", "20ACEuro", "2103centigrade", "2105afii61248", "2109fahrenheit", "2111Ifraktur", "2113afii61289", "2116afii61352", "2118weierstrass", "211CRfraktur", "211Eprescription", "2121telephone", "2122trademark", "2126Omega", "212Bangstrom", "212Eestimated", "2135aleph", "2153onethird", "2154twothirds", "215Boneeighth", "215Cthreeeighths", "215Dfiveeighths", "215Eseveneighths", "2160Oneroman", "2161Tworoman", "2162Threeroman", "2163Fourroman", "2164Fiveroman", "2165Sixroman", "2166Sevenroman", "2167Eightroman", "2168Nineroman", "2169Tenroman", "216AElevenroman", "216BTwelveroman", "2170oneroman", "2171tworoman", "2172threeroman", "2173fourroman", "2174fiveroman", "2175sixroman", "2176sevenroman", "2177eightroman", "2178nineroman", "2179tenroman", "217Aelevenroman", "217Btwelveroman", "2200universal", "2202partialdiff", "2203existential", "2205emptyset", "2206Delta", "2207gradient", "2208element", "2209notelement", "220Bsuchthat", "220Cnotcontains", "220Fproduct", "2211summation", "2212minus", "2213minusplus", "2215divisionslash", "2217asteriskmath", "2219bulletoperator", "221Aradical", "221Dproportional", "221Einfinity", "221Forthogonal", "2220angle", "2223divides", "2225parallel", "2226notparallel", "2227logicaland", "2228logicalor", "2229intersection", "222Aunion", "222Bintegral", "222Cdblintegral", "222Econtourintegral", "2234therefore", "2235because", "2236ratio", "2237proportion", "223Csimilar", "223Dreversedtilde", "2243asymptoticallyequal", "2245congruent", "2248approxequal", "224Callequal", "2250approaches", "2251geometricallyequal", "2252approxequalorimage", "2253imageorapproximatelyequal", "2260notequal", "2261equivalence", "2262notidentical", "2264lessequal", "2265greaterequal", "2266lessoverequal", "2267greateroverequal", "226Amuchless", "226Bmuchgreater", "226Enotless", "226Fnotgreater", "2270notlessnorequal", "2271notgreaternorequal", "2272lessorequivalent", "2273greaterorequivalent", "2276lessorgreater", "2277greaterorless", "2279notgreaternorless", "227Aprecedes", "227Bsucceeds", "2280notprecedes", "2281notsucceeds", "2282propersubset", "2283propersuperset", "2284notsubset", "2285notsuperset", "2286reflexsubset", "2287reflexsuperset", "228Asubsetnotequal", "228Bsupersetnotequal", "2295circleplus", "2296minuscircle", "2297circlemultiply", "2299circleot", "22A3tackleft", "22A4tackdown", "22A5perpendicular", "22BFrighttriangle", "22C5dotmath", "22CEcurlyor", "22CFcurlyand", "22DAlessequalorgreater", "22DBgreaterequalorless", "22EEellipsisvertical", "F6BEdotlessj", "F6BFLL", "F6C0ll", "F6C3commaaccent", "F6C4afii10063", "F6C5afii10064", "F6C6afii10192", "F6C7afii10831", "F6C8afii10832", "F6C9Acute", "F6CACaron", "F6CBDieresis", "F6CCDieresisAcute", "F6CDDieresisGrave", "F6CEGrave", "F6CFHungarumlaut", "F6D0Macron", "F6D1cyrBreve", "F6D2cyrFlex", "F6D3dblGrave", "F6D4cyrbreve", "F6D5cyrflex", "F6D6dblgrave", "F6D7dieresisacute", "F6D8dieresisgrave", "F6D9copyrightserif", "F6DAregisterserif", "F6DBtrademarkserif", "F6DConefitted", "F6DDrupiah", "F8FFapple", "FB00ff", "FB01fi", "FB02fl", "FB03ffi", "FB04ffl", "FE61asterisksmall", "FE62plussmall", "FE63hyphensmall", "FE64lesssmall", "FE65greatersmall", "FE66equalsmall", "FE69dollarsmall", "FE6Apercentsmall", "FE6Batsmall", "F020space", "F021exclam", "F022universal", "F023numbersign", "F024existential", "F025percent", "F026ampersand", "F027suchthat", "F028parenleft", "F029parenright", "F02Aasteriskmath", "F02Bplus", "F02Ccomma", "F02Dminus", "F02Eperiod", "F02Fslash", "F030zero", "F031one", "F032two", "F033three", "F034four", "F035five", "F036six", "F037seven", "F038eight", "F039nine", "F03Acolon", "F03Bsemicolon", "F03Cless", "F03Dequal", "F03Egreater", "F03Fquestion", "F040congruent", "F041Alpha", "F042Beta", "F043Chi", "F044Delta", "F045Epsilon", "F046Phi", "F047Gamma", "F048Eta", "F049Iota", "F04Atheta1", "F04BKappa", "F04CLambda", "F04DMu", "F04ENu", "F04FOmicron", "F050Pi", "F051Theta", "F052Rho", "F053Sigma", "F054Tau", "F055Upsilon", "F056sigma1", "F057Omega", "F058Xi", "F059Psi", "F05AZeta", "F05Bbracketleft", "F05Ctherefore", "F05Dbracketright", "F05Eperpendicular", "F05Funderscore", "F060radicalex", "F061alpha", "F062beta", "F063chi", "F064delta", "F065epsilon", "F066phi", "F067gamma", "F068eta", "F069iota", "F06Aphi1", "F06Bkappa", "F06Clambda", "F06Dmu", "F06Enu", "F06Fomicron", "F070pi", "F071theta", "F072rho", "F073sigma", "F074tau", "F075upsilon", "F076omega1", "F077omega", "F078xi", "F079psi", "F07Azeta", "F07Bbraceleft", "F07Cbar", "F07Dbraceright", "F07Esimilar", "F0A0Euro", "F0A1Upsilon1", "F0A2minute", "F0A3lessequal", "F0A4fraction", "F0A5infinity", "F0A6florin", "F0A7club", "F0A8diamond", "F0A9heart", "F0AAspade", "F0ABarrowboth", "F0ACarrowleft", "F0ADarrowup", "F0AEarrowright", "F0AFarrowdown", "F0B0degree", "F0B1plusminus", "F0B2second", "F0B3greaterequal", "F0B4multiply", "F0B5proportional", "F0B6partialdiff", "F0B7bullet", "F0B8divide", "F0B9notequal", "F0BAequivalence", "F0BBapproxequal", "F0BCellipsis", "F0BDarrowvertex", "F0BEarrowhorizex", "F0BFcarriagereturn", "F0C0aleph", "F0C1Ifraktur", "F0C2Rfraktur", "F0C3weierstrass", "F0C4circlemultiply", "F0C5circleplus", "F0C6emptyset", "F0C7intersection", "F0C8union", "F0C9propersuperset", "F0CAreflexsuperset", "F0CBnotsubset", "F0CCpropersubset", "F0CDreflexsubset", "F0CEelement", "F0CFnotelement", "F0D0angle", "F0D1gradient", "F0D2registerserif", "F0D3copyrightserif", "F0D4trademarkserif", "F0D5product", "F0D6radical", "F0D7dotmath", "F0D8logicalnot", "F0D9logicaland", "F0DAlogicalor", "F0DBarrowdblboth", "F0DCarrowdblleft", "F0DDarrowdblup", "F0DEarrowdblright", "F0DFarrowdbldown", "F0E0lozenge", "F0E1angleleft", "F0E2registersans", "F0E3copyrightsans", "F0E4trademarksans", "F0E5summation", "F0E6parenlefttp", "F0E7parenleftex", "F0E8parenleftbt", "F0E9bracketlefttp", "F0EAbracketleftex", "F0EBbracketleftbt", "F0ECbracelefttp", "F0EDbraceleftmid", "F0EEbraceleftbt", "F0EFbraceex", "F0F1angleright", "F0F2integral", "F0F3integraltp", "F0F4integralex", "F0F5integralbt", "F0F6parenrighttp", "F0F7parenrightex", "F0F8parenrightbt", "F0F9bracketrighttp", "F0FAbracketrightex", "F0FBbracketrightbt", "F0FCbracerighttp", "F0FDbracerightmid", "F0FEbracerightbt"]; this._standardFontCharsNames = []; for (var e = 0; e < t.length; e++) { var r = parseInt(t[e].substr(0, 4), 16); this._standardFontCharsNames[r] = t[e].substr(4) } } return this._standardFontCharsNames }, enumerable: !0, configurable: !0 }), t.sRGBprofile = [0, 0, 12, 72, 76, 105, 110, 111, 2, 16, 0, 0, 109, 110, 116, 114, 82, 71, 66, 32, 88, 89, 90, 32, 7, 206, 0, 2, 0, 9, 0, 6, 0, 49, 0, 0, 97, 99, 115, 112, 77, 83, 70, 84, 0, 0, 0, 0, 73, 69, 67, 32, 115, 82, 71, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246, 214, 0, 1, 0, 0, 0, 0, 211, 45, 72, 80, 32, 32, 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, 17, 99, 112, 114, 116, 0, 0, 1, 80, 0, 0, 0, 51, 100, 101, 115, 99, 0, 0, 1, 132, 0, 0, 0, 108, 119, 116, 112, 116, 0, 0, 1, 240, 0, 0, 0, 20, 98, 107, 112, 116, 0, 0, 2, 4, 0, 0, 0, 20, 114, 88, 89, 90, 0, 0, 2, 24, 0, 0, 0, 20, 103, 88, 89, 90, 0, 0, 2, 44, 0, 0, 0, 20, 98, 88, 89, 90, 0, 0, 2, 64, 0, 0, 0, 20, 100, 109, 110, 100, 0, 0, 2, 84, 0, 0, 0, 112, 100, 109, 100, 100, 0, 0, 2, 196, 0, 0, 0, 136, 118, 117, 101, 100, 0, 0, 3, 76, 0, 0, 0, 134, 118, 105, 101, 119, 0, 0, 3, 212, 0, 0, 0, 36, 108, 117, 109, 105, 0, 0, 3, 248, 0, 0, 0, 20, 109, 101, 97, 115, 0, 0, 4, 12, 0, 0, 0, 36, 116, 101, 99, 104, 0, 0, 4, 48, 0, 0, 0, 12, 114, 84, 82, 67, 0, 0, 4, 60, 0, 0, 8, 12, 103, 84, 82, 67, 0, 0, 4, 60, 0, 0, 8, 12, 98, 84, 82, 67, 0, 0, 4, 60, 0, 0, 8, 12, 116, 101, 120, 116, 0, 0, 0, 0, 67, 111, 112, 121, 114, 105, 103, 104, 116, 32, 40, 99, 41, 32, 49, 57, 57, 56, 32, 72, 101, 119, 108, 101, 116, 116, 45, 80, 97, 99, 107, 97, 114, 100, 32, 67, 111, 109, 112, 97, 110, 121, 0, 0, 100, 101, 115, 99, 0, 0, 0, 0, 0, 0, 0, 18, 115, 82, 71, 66, 32, 73, 69, 67, 54, 49, 57, 54, 54, 45, 50, 46, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 115, 82, 71, 66, 32, 73, 69, 67, 54, 49, 57, 54, 54, 45, 50, 46, 49, 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, 0, 0, 0, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0, 243, 81, 0, 1, 0, 0, 0, 1, 22, 204, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0, 111, 162, 0, 0, 56, 245, 0, 0, 3, 144, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0, 98, 153, 0, 0, 183, 133, 0, 0, 24, 218, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0, 36, 160, 0, 0, 15, 132, 0, 0, 182, 207, 100, 101, 115, 99, 0, 0, 0, 0, 0, 0, 0, 22, 73, 69, 67, 32, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 105, 101, 99, 46, 99, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 73, 69, 67, 32, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 105, 101, 99, 46, 99, 104, 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, 100, 101, 115, 99, 0, 0, 0, 0, 0, 0, 0, 46, 73, 69, 67, 32, 54, 49, 57, 54, 54, 45, 50, 46, 49, 32, 68, 101, 102, 97, 117, 108, 116, 32, 82, 71, 66, 32, 99, 111, 108, 111, 117, 114, 32, 115, 112, 97, 99, 101, 32, 45, 32, 115, 82, 71, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 73, 69, 67, 32, 54, 49, 57, 54, 54, 45, 50, 46, 49, 32, 68, 101, 102, 97, 117, 108, 116, 32, 82, 71, 66, 32, 99, 111, 108, 111, 117, 114, 32, 115, 112, 97, 99, 101, 32, 45, 32, 115, 82, 71, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 101, 115, 99, 0, 0, 0, 0, 0, 0, 0, 44, 82, 101, 102, 101, 114, 101, 110, 99, 101, 32, 86, 105, 101, 119, 105, 110, 103, 32, 67, 111, 110, 100, 105, 116, 105, 111, 110, 32, 105, 110, 32, 73, 69, 67, 54, 49, 57, 54, 54, 45, 50, 46, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 82, 101, 102, 101, 114, 101, 110, 99, 101, 32, 86, 105, 101, 119, 105, 110, 103, 32, 67, 111, 110, 100, 105, 116, 105, 111, 110, 32, 105, 110, 32, 73, 69, 67, 54, 49, 57, 54, 54, 45, 50, 46, 49, 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, 118, 105, 101, 119, 0, 0, 0, 0, 0, 19, 164, 254, 0, 20, 95, 46, 0, 16, 207, 20, 0, 3, 237, 204, 0, 4, 19, 11, 0, 3, 92, 158, 0, 0, 0, 1, 88, 89, 90, 32, 0, 0, 0, 0, 0, 76, 9, 86, 0, 80, 0, 0, 0, 87, 31, 231, 109, 101, 97, 115, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 143, 0, 0, 0, 2, 115, 105, 103, 32, 0, 0, 0, 0, 67, 82, 84, 32, 99, 117, 114, 118, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 5, 0, 10, 0, 15, 0, 20, 0, 25, 0, 30, 0, 35, 0, 40, 0, 45, 0, 50, 0, 55, 0, 59, 0, 64, 0, 69, 0, 74, 0, 79, 0, 84, 0, 89, 0, 94, 0, 99, 0, 104, 0, 109, 0, 114, 0, 119, 0, 124, 0, 129, 0, 134, 0, 139, 0, 144, 0, 149, 0, 154, 0, 159, 0, 164, 0, 169, 0, 174, 0, 178, 0, 183, 0, 188, 0, 193, 0, 198, 0, 203, 0, 208, 0, 213, 0, 219, 0, 224, 0, 229, 0, 235, 0, 240, 0, 246, 0, 251, 1, 1, 1, 7, 1, 13, 1, 19, 1, 25, 1, 31, 1, 37, 1, 43, 1, 50, 1, 56, 1, 62, 1, 69, 1, 76, 1, 82, 1, 89, 1, 96, 1, 103, 1, 110, 1, 117, 1, 124, 1, 131, 1, 139, 1, 146, 1, 154, 1, 161, 1, 169, 1, 177, 1, 185, 1, 193, 1, 201, 1, 209, 1, 217, 1, 225, 1, 233, 1, 242, 1, 250, 2, 3, 2, 12, 2, 20, 2, 29, 2, 38, 2, 47, 2, 56, 2, 65, 2, 75, 2, 84, 2, 93, 2, 103, 2, 113, 2, 122, 2, 132, 2, 142, 2, 152, 2, 162, 2, 172, 2, 182, 2, 193, 2, 203, 2, 213, 2, 224, 2, 235, 2, 245, 3, 0, 3, 11, 3, 22, 3, 33, 3, 45, 3, 56, 3, 67, 3, 79, 3, 90, 3, 102, 3, 114, 3, 126, 3, 138, 3, 150, 3, 162, 3, 174, 3, 186, 3, 199, 3, 211, 3, 224, 3, 236, 3, 249, 4, 6, 4, 19, 4, 32, 4, 45, 4, 59, 4, 72, 4, 85, 4, 99, 4, 113, 4, 126, 4, 140, 4, 154, 4, 168, 4, 182, 4, 196, 4, 211, 4, 225, 4, 240, 4, 254, 5, 13, 5, 28, 5, 43, 5, 58, 5, 73, 5, 88, 5, 103, 5, 119, 5, 134, 5, 150, 5, 166, 5, 181, 5, 197, 5, 213, 5, 229, 5, 246, 6, 6, 6, 22, 6, 39, 6, 55, 6, 72, 6, 89, 6, 106, 6, 123, 6, 140, 6, 157, 6, 175, 6, 192, 6, 209, 6, 227, 6, 245, 7, 7, 7, 25, 7, 43, 7, 61, 7, 79, 7, 97, 7, 116, 7, 134, 7, 153, 7, 172, 7, 191, 7, 210, 7, 229, 7, 248, 8, 11, 8, 31, 8, 50, 8, 70, 8, 90, 8, 110, 8, 130, 8, 150, 8, 170, 8, 190, 8, 210, 8, 231, 8, 251, 9, 16, 9, 37, 9, 58, 9, 79, 9, 100, 9, 121, 9, 143, 9, 164, 9, 186, 9, 207, 9, 229, 9, 251, 10, 17, 10, 39, 10, 61, 10, 84, 10, 106, 10, 129, 10, 152, 10, 174, 10, 197, 10, 220, 10, 243, 11, 11, 11, 34, 11, 57, 11, 81, 11, 105, 11, 128, 11, 152, 11, 176, 11, 200, 11, 225, 11, 249, 12, 18, 12, 42, 12, 67, 12, 92, 12, 117, 12, 142, 12, 167, 12, 192, 12, 217, 12, 243, 13, 13, 13, 38, 13, 64, 13, 90, 13, 116, 13, 142, 13, 169, 13, 195, 13, 222, 13, 248, 14, 19, 14, 46, 14, 73, 14, 100, 14, 127, 14, 155, 14, 182, 14, 210, 14, 238, 15, 9, 15, 37, 15, 65, 15, 94, 15, 122, 15, 150, 15, 179, 15, 207, 15, 236, 16, 9, 16, 38, 16, 67, 16, 97, 16, 126, 16, 155, 16, 185, 16, 215, 16, 245, 17, 19, 17, 49, 17, 79, 17, 109, 17, 140, 17, 170, 17, 201, 17, 232, 18, 7, 18, 38, 18, 69, 18, 100, 18, 132, 18, 163, 18, 195, 18, 227, 19, 3, 19, 35, 19, 67, 19, 99, 19, 131, 19, 164, 19, 197, 19, 229, 20, 6, 20, 39, 20, 73, 20, 106, 20, 139, 20, 173, 20, 206, 20, 240, 21, 18, 21, 52, 21, 86, 21, 120, 21, 155, 21, 189, 21, 224, 22, 3, 22, 38, 22, 73, 22, 108, 22, 143, 22, 178, 22, 214, 22, 250, 23, 29, 23, 65, 23, 101, 23, 137, 23, 174, 23, 210, 23, 247, 24, 27, 24, 64, 24, 101, 24, 138, 24, 175, 24, 213, 24, 250, 25, 32, 25, 69, 25, 107, 25, 145, 25, 183, 25, 221, 26, 4, 26, 42, 26, 81, 26, 119, 26, 158, 26, 197, 26, 236, 27, 20, 27, 59, 27, 99, 27, 138, 27, 178, 27, 218, 28, 2, 28, 42, 28, 82, 28, 123, 28, 163, 28, 204, 28, 245, 29, 30, 29, 71, 29, 112, 29, 153, 29, 195, 29, 236, 30, 22, 30, 64, 30, 106, 30, 148, 30, 190, 30, 233, 31, 19, 31, 62, 31, 105, 31, 148, 31, 191, 31, 234, 32, 21, 32, 65, 32, 108, 32, 152, 32, 196, 32, 240, 33, 28, 33, 72, 33, 117, 33, 161, 33, 206, 33, 251, 34, 39, 34, 85, 34, 130, 34, 175, 34, 221, 35, 10, 35, 56, 35, 102, 35, 148, 35, 194, 35, 240, 36, 31, 36, 77, 36, 124, 36, 171, 36, 218, 37, 9, 37, 56, 37, 104, 37, 151, 37, 199, 37, 247, 38, 39, 38, 87, 38, 135, 38, 183, 38, 232, 39, 24, 39, 73, 39, 122, 39, 171, 39, 220, 40, 13, 40, 63, 40, 113, 40, 162, 40, 212, 41, 6, 41, 56, 41, 107, 41, 157, 41, 208, 42, 2, 42, 53, 42, 104, 42, 155, 42, 207, 43, 2, 43, 54, 43, 105, 43, 157, 43, 209, 44, 5, 44, 57, 44, 110, 44, 162, 44, 215, 45, 12, 45, 65, 45, 118, 45, 171, 45, 225, 46, 22, 46, 76, 46, 130, 46, 183, 46, 238, 47, 36, 47, 90, 47, 145, 47, 199, 47, 254, 48, 53, 48, 108, 48, 164, 48, 219, 49, 18, 49, 74, 49, 130, 49, 186, 49, 242, 50, 42, 50, 99, 50, 155, 50, 212, 51, 13, 51, 70, 51, 127, 51, 184, 51, 241, 52, 43, 52, 101, 52, 158, 52, 216, 53, 19, 53, 77, 53, 135, 53, 194, 53, 253, 54, 55, 54, 114, 54, 174, 54, 233, 55, 36, 55, 96, 55, 156, 55, 215, 56, 20, 56, 80, 56, 140, 56, 200, 57, 5, 57, 66, 57, 127, 57, 188, 57, 249, 58, 54, 58, 116, 58, 178, 58, 239, 59, 45, 59, 107, 59, 170, 59, 232, 60, 39, 60, 101, 60, 164, 60, 227, 61, 34, 61, 97, 61, 161, 61, 224, 62, 32, 62, 96, 62, 160, 62, 224, 63, 33, 63, 97, 63, 162, 63, 226, 64, 35, 64, 100, 64, 166, 64, 231, 65, 41, 65, 106, 65, 172, 65, 238, 66, 48, 66, 114, 66, 181, 66, 247, 67, 58, 67, 125, 67, 192, 68, 3, 68, 71, 68, 138, 68, 206, 69, 18, 69, 85, 69, 154, 69, 222, 70, 34, 70, 103, 70, 171, 70, 240, 71, 53, 71, 123, 71, 192, 72, 5, 72, 75, 72, 145, 72, 215, 73, 29, 73, 99, 73, 169, 73, 240, 74, 55, 74, 125, 74, 196, 75, 12, 75, 83, 75, 154, 75, 226, 76, 42, 76, 114, 76, 186, 77, 2, 77, 74, 77, 147, 77, 220, 78, 37, 78, 110, 78, 183, 79, 0, 79, 73, 79, 147, 79, 221, 80, 39, 80, 113, 80, 187, 81, 6, 81, 80, 81, 155, 81, 230, 82, 49, 82, 124, 82, 199, 83, 19, 83, 95, 83, 170, 83, 246, 84, 66, 84, 143, 84, 219, 85, 40, 85, 117, 85, 194, 86, 15, 86, 92, 86, 169, 86, 247, 87, 68, 87, 146, 87, 224, 88, 47, 88, 125, 88, 203, 89, 26, 89, 105, 89, 184, 90, 7, 90, 86, 90, 166, 90, 245, 91, 69, 91, 149, 91, 229, 92, 53, 92, 134, 92, 214, 93, 39, 93, 120, 93, 201, 94, 26, 94, 108, 94, 189, 95, 15, 95, 97, 95, 179, 96, 5, 96, 87, 96, 170, 96, 252, 97, 79, 97, 162, 97, 245, 98, 73, 98, 156, 98, 240, 99, 67, 99, 151, 99, 235, 100, 64, 100, 148, 100, 233, 101, 61, 101, 146, 101, 231, 102, 61, 102, 146, 102, 232, 103, 61, 103, 147, 103, 233, 104, 63, 104, 150, 104, 236, 105, 67, 105, 154, 105, 241, 106, 72, 106, 159, 106, 247, 107, 79, 107, 167, 107, 255, 108, 87, 108, 175, 109, 8, 109, 96, 109, 185, 110, 18, 110, 107, 110, 196, 111, 30, 111, 120, 111, 209, 112, 43, 112, 134, 112, 224, 113, 58, 113, 149, 113, 240, 114, 75, 114, 166, 115, 1, 115, 93, 115, 184, 116, 20, 116, 112, 116, 204, 117, 40, 117, 133, 117, 225, 118, 62, 118, 155, 118, 248, 119, 86, 119, 179, 120, 17, 120, 110, 120, 204, 121, 42, 121, 137, 121, 231, 122, 70, 122, 165, 123, 4, 123, 99, 123, 194, 124, 33, 124, 129, 124, 225, 125, 65, 125, 161, 126, 1, 126, 98, 126, 194, 127, 35, 127, 132, 127, 229, 128, 71, 128, 168, 129, 10, 129, 107, 129, 205, 130, 48, 130, 146, 130, 244, 131, 87, 131, 186, 132, 29, 132, 128, 132, 227, 133, 71, 133, 171, 134, 14, 134, 114, 134, 215, 135, 59, 135, 159, 136, 4, 136, 105, 136, 206, 137, 51, 137, 153, 137, 254, 138, 100, 138, 202, 139, 48, 139, 150, 139, 252, 140, 99, 140, 202, 141, 49, 141, 152, 141, 255, 142, 102, 142, 206, 143, 54, 143, 158, 144, 6, 144, 110, 144, 214, 145, 63, 145, 168, 146, 17, 146, 122, 146, 227, 147, 77, 147, 182, 148, 32, 148, 138, 148, 244, 149, 95, 149, 201, 150, 52, 150, 159, 151, 10, 151, 117, 151, 224, 152, 76, 152, 184, 153, 36, 153, 144, 153, 252, 154, 104, 154, 213, 155, 66, 155, 175, 156, 28, 156, 137, 156, 247, 157, 100, 157, 210, 158, 64, 158, 174, 159, 29, 159, 139, 159, 250, 160, 105, 160, 216, 161, 71, 161, 182, 162, 38, 162, 150, 163, 6, 163, 118, 163, 230, 164, 86, 164, 199, 165, 56, 165, 169, 166, 26, 166, 139, 166, 253, 167, 110, 167, 224, 168, 82, 168, 196, 169, 55, 169, 169, 170, 28, 170, 143, 171, 2, 171, 117, 171, 233, 172, 92, 172, 208, 173, 68, 173, 184, 174, 45, 174, 161, 175, 22, 175, 139, 176, 0, 176, 117, 176, 234, 177, 96, 177, 214, 178, 75, 178, 194, 179, 56, 179, 174, 180, 37, 180, 156, 181, 19, 181, 138, 182, 1, 182, 121, 182, 240, 183, 104, 183, 224, 184, 89, 184, 209, 185, 74, 185, 194, 186, 59, 186, 181, 187, 46, 187, 167, 188, 33, 188, 155, 189, 21, 189, 143, 190, 10, 190, 132, 190, 255, 191, 122, 191, 245, 192, 112, 192, 236, 193, 103, 193, 227, 194, 95, 194, 219, 195, 88, 195, 212, 196, 81, 196, 206, 197, 75, 197, 200, 198, 70, 198, 195, 199, 65, 199, 191, 200, 61, 200, 188, 201, 58, 201, 185, 202, 56, 202, 183, 203, 54, 203, 182, 204, 53, 204, 181, 205, 53, 205, 181, 206, 54, 206, 182, 207, 55, 207, 184, 208, 57, 208, 186, 209, 60, 209, 190, 210, 63, 210, 193, 211, 68, 211, 198, 212, 73, 212, 203, 213, 78, 213, 209, 214, 85, 214, 216, 215, 92, 215, 224, 216, 100, 216, 232, 217, 108, 217, 241, 218, 118, 218, 251, 219, 128, 220, 5, 220, 138, 221, 16, 221, 150, 222, 28, 222, 162, 223, 41, 223, 175, 224, 54, 224, 189, 225, 68, 225, 204, 226, 83, 226, 219, 227, 99, 227, 235, 228, 115, 228, 252, 229, 132, 230, 13, 230, 150, 231, 31, 231, 169, 232, 50, 232, 188, 233, 70, 233, 208, 234, 91, 234, 229, 235, 112, 235, 251, 236, 134, 237, 17, 237, 156, 238, 40, 238, 180, 239, 64, 239, 204, 240, 88, 240, 229, 241, 114, 241, 255, 242, 140, 243, 25, 243, 167, 244, 52, 244, 194, 245, 80, 245, 222, 246, 109, 246, 251, 247, 138, 248, 25, 248, 168, 249, 56, 249, 199, 250, 87, 250, 231, 251, 119, 252, 7, 252, 152, 253, 41, 253, 186, 254, 75, 254, 220, 255, 109, 255, 255], t.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"], t.standardFontWidths = null, t.standardFontInfo = null, t._standardFontCharsNames = null, t }(); t.StiPdfResources = e }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function() { function i(t) { this.ownerValue = [], this.userValue = [], this.ownerExtendedValue = [], this.userExtendedValue = [], this.permsValue = [], this.IDValue = null, this.encryptionKey = null, this.encryptionKeyLength = 0, this.passwordOwner = "", this.passwordUser = "", this.securityFlags = 0, this.keyLength = e.StiPdfEncryptionKeyLength.Bit40, this.pdfService = null, this.pdfService = t } return i.prototype.padPassword = function(t) { for (var e = [], r = 0; r < t.length; r++) e[r] = t.charCodeAt(r); for (var n = 0; n < i.paddingString.length; n++) e[r++] = i.paddingString[n]; var o = []; for (r = 0; r < 32; r++) o[r] = e[r]; return o } , i.prototype.computingCryptoValues = function(t, r, i, n, o) { this.securityFlags = 4294967232; var a = 0; 0 != (t & e.StiUserAccessPrivileges.PrintDocument) && (a |= 1 << 2), 0 != (t & e.StiUserAccessPrivileges.ModifyContents) && (a |= 1 << 3), 0 != (t & e.StiUserAccessPrivileges.CopyTextAndGraphics) && (a |= 1 << 4), 0 != (t & e.StiUserAccessPrivileges.AddOrModifyTextAnnotations) && (a |= 1 << 5), this.securityFlags |= a, null == r && (r = ""), null == i && (i = ""), this.passwordOwner = r, this.passwordUser = i, this.keyLength = n, this.IDValue = o; var s = !1; if (this.passwordOwner.length > 0 || this.passwordUser.length > 0 || t != e.StiUserAccessPrivileges.All) { s = !0; this.computingCryptoValues2() || (s = !1, this.throwEncryptionError(0, "Encryption not work!")) } return s } , i.prototype.computingCryptoValues2 = function() { if (this.keyLength == e.StiPdfEncryptionKeyLength.Bit128_r4) return this.computingCryptoValuesV4(); if (this.keyLength == e.StiPdfEncryptionKeyLength.Bit256_r5 || this.keyLength == e.StiPdfEncryptionKeyLength.Bit256_r6) return this.computingCryptoValuesV5(); var t = this.passwordOwner; r.isNullOrEmpty(this.passwordOwner) && (t = this.passwordUser); var n = this.padPassword(t) , o = this.computeHashMD5(n); if (this.keyLength == e.StiPdfEncryptionKeyLength.Bit128) for (var a = 0; a < 50; a++) o = this.computeHashMD5(o); if (this.keyLength == e.StiPdfEncryptionKeyLength.Bit40) { var s = []; s[0] = o[0], s[1] = o[1], s[2] = o[2], s[3] = o[3], s[4] = o[4], o = s } var l = this.padPassword(this.passwordUser); if (l = this.rc4(l, o), this.keyLength == e.StiPdfEncryptionKeyLength.Bit128) for (var u = 1; u <= 19; u++) { for (var c = 0; c < 16; c++) o[c] ^= u - 1, o[c] ^= u; l = this.rc4(l, o) } l.copyTo(this.ownerValue, 0); var m = this.passwordUser , p = this.padPassword(m) , h = this.getBytesUInt32(this.securityFlags) , d = []; if (d.addRange(p), d.addRange(l), d.addRange(h), d.addRange(this.IDValue), o = this.computeHashMD5(d), this.keyLength == e.StiPdfEncryptionKeyLength.Bit128) for (var a = 0; a < 50; a++) o = this.computeHashMD5(o); this.encryptionKey = [], this.encryptionKeyLength = this.keyLength == e.StiPdfEncryptionKeyLength.Bit128 ? 16 : 5; for (var g = 0; g < this.encryptionKeyLength; g++) this.encryptionKey[g] = o[g]; var f = []; if (this.keyLength == e.StiPdfEncryptionKeyLength.Bit128) { d = [], d.addRange(i.paddingString), d.addRange(this.IDValue), o = this.computeHashMD5(d), o = this.rc4(o, this.encryptionKey); for (var S = [], u = 1; u <= 19; u++) { for (var c = 0; c < 16; c++) S[c] = this.encryptionKey[c] ^ u; o = this.rc4(o, S) } i.paddingString.copyTo(f, 0), o.copyTo(f, 0) } else i.paddingString.copyTo(f, 0), f = this.rc4(f, this.encryptionKey); return f.copyTo(this.userValue, 0), !0 } , i.prototype.computingCryptoValuesV4 = function() { var t = this.passwordOwner; r.isNullOrEmpty(this.passwordOwner) && (t = this.passwordUser); for (var e = this.padPassword(t), n = this.computeHashMD5(e), o = 0; o < 50; o++) n = this.computeHashMD5(n); var a = this.padPassword(this.passwordUser); a = this.rc4(a, n); for (var s = 1; s <= 19; s++) { for (var l = 0; l < 16; l++) n[l] ^= s - 1, n[l] ^= s; a = this.rc4(a, n) } a.copyTo(this.ownerValue, 0); var u = this.passwordUser , c = this.padPassword(u) , m = this.getBytesUInt32(this.securityFlags) , p = []; p.addRange(c), p.addRange(a), p.addRange(m), p.addRange(this.IDValue), n = this.computeHashMD5(p); for (var o = 0; o < 50; o++) n = this.computeHashMD5(n); this.encryptionKey = [], this.encryptionKeyLength = 16; for (var h = 0; h < this.encryptionKeyLength; h++) this.encryptionKey[h] = n[h]; var d = []; p = [], p.addRange(i.paddingString), p.addRange(this.IDValue), n = this.computeHashMD5(p), n = this.rc4(n, this.encryptionKey); for (var g = [], s = 1; s <= 19; s++) { for (var l = 0; l < 16; l++) g[l] = this.encryptionKey[l] ^ s; n = this.rc4(n, g) } return i.paddingString.copyTo(d, 0), n.copyTo(d, 0), d.copyTo(this.userValue, 0), !0 } , i.prototype.computingCryptoValuesV5 = function() { var e = new t.System.Crypt.SecureRandom , i = null , n = null , o = e.createNextBytes(32) , a = e.createNextBytes(8) , s = e.createNextBytes(8) , l = e.createNextBytes(8) , u = e.createNextBytes(8) , c = t.System.Text.Encoding.UTF8.getBytes(this.passwordUser); if (c.length > 127) { var m = []; Array.copy2(c, 0, m, 0, 127), c = m } n = this.getHashV5(c, a, null), n.copyTo(this.userValue, 0), a.copyTo(this.userValue, 32), s.copyTo(this.userValue, 40), n = this.getHashV5(c, s, null), this.encodeKeyDataV5(n, o, !0).copyTo(this.userExtendedValue, 0); var p = this.passwordOwner; r.isNullOrEmpty(this.passwordOwner) && (p = this.passwordUser); var h = t.System.Text.Encoding.UTF8.getBytes(p); if (h.length > 127) { var m = []; Array.copy2(h, 0, m, 0, 127), h = m } return n = this.getHashV5(h, l, this.userValue), n.copyTo(this.ownerValue, 0), l.copyTo(this.ownerValue, 32), u.copyTo(this.ownerValue, 40), n = this.getHashV5(h, u, this.userValue), this.encodeKeyDataV5(n, o, !0).copyTo(this.ownerExtendedValue, 0), i = e.createNextBytes(16), this.getBytesUInt32(this.securityFlags).copyTo(i, 0), i[4] = 255, i[5] = 255, i[6] = 255, i[7] = 255, i[8] = 84, i[9] = 97, i[10] = 100, i[11] = 98, this.permsValue = this.encodeKeyDataV5(o, i, !1), n = this.getHashV5(c, s, null), this.encryptionKey = this.decodeKeyDataV5(n, this.userExtendedValue, !0), i = this.decodeKeyDataV5(this.encryptionKey, this.permsValue, !1), 97 == i[9] && 100 == i[10] && 98 == i[11] || this.throwEncryptionError(102, "Verifying key calculation failed"), !0 } , i.prototype.encodeKeyDataV5 = function(e, r, i) { var n = null; if (i) { var o = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] , a = new t.ExternalLibrary.aesjs.ModeOfOperation.cbc(e,o); n = a.encrypt(r) } else { var a = new t.ExternalLibrary.aesjs.ModeOfOperation.ecb(e); n = a.encrypt(r) } for (var s = [], l = 0; l < n.length; l++) s[l] = n[l]; return s } , i.prototype.decodeKeyDataV5 = function(e, r, i) { var n = null; if (i) { var o = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] , a = new t.ExternalLibrary.aesjs.ModeOfOperation.cbc(e,o); n = a.decrypt(r) } else { var a = new t.ExternalLibrary.aesjs.ModeOfOperation.ecb(e); n = a.decrypt(r) } for (var s = [], l = 0; l < n.length; l++) s[l] = n[l]; return s } , i.prototype.getHashV5 = function(t, r, n) { return this.keyLength == e.StiPdfEncryptionKeyLength.Bit256_r5 ? i.calculate_hash_r5(t, r, n) : i.calculate_hash_r6(t, r, n) } , i.calculate_hash_r5 = function(e, r, i) { var n = []; return n.addRange(e), n.addRange(r), null != i && n.addRange(i), t.System.Crypt.SHA2.SHA256(n) } , i.calculate_hash_r6 = function(e, r, i) { var n = [] , o = [] , a = 32 , s = 0 , l = null , u = [] , c = [] , m = new t.System.Crypt.SHA2; l = [], l.addRange(e), l.addRange(r), null != i && l.addRange(i), m.SHA2_256(l).copyTo(o, 0); for (var p = 0; p < 64 || p < n[64 * s - 1] + 32; p++) { l.clear(), l.addRange(e); for (var h = 0; h < a; h++) l.add(o[h]); s = e.length + a, null != i && (l.addRange(i), s += 48); for (var d = 0; d < 64; d++) l.copyTo(n, d * s); Array.copy2(o, 0, u, 0, 16), Array.copy2(o, 16, c, 0, 16); for (var g = new t.ExternalLibrary.aesjs.ModeOfOperation.cbc(u,c), f = g.encrypt(n.slice(0, 64 * s)), S = 0; S < f.length; S++) n[S] = f[S]; for (var A = 0, d = 0; d < 16; d++) A += n[d]; switch (a = 32 + A % 3 * 16) { case 32: m.SHA2_256(n.slice(0, 64 * s)).copyTo(o, 0); break; case 48: m.SHA2_384(n.slice(0, 64 * s)).copyTo(o, 0); break; case 64: m.SHA2_512(n.slice(0, 64 * s)).copyTo(o, 0); break } } var y = []; return Array.copy2(o, 0, y, 0, 32), y } , i.prototype.encryptData = function(r, i, n) { if (this.keyLength == e.StiPdfEncryptionKeyLength.Bit40 || this.keyLength == e.StiPdfEncryptionKeyLength.Bit128) { var o = i , a = n , s = []; this.encryptionKey.copyTo(s, 0), this.getBytesUInt32(o).copyTo(s, this.encryptionKeyLength), this.getBytesUint16(a).copyTo(s, this.encryptionKeyLength + 3); var l = this.computeHashMD5(s); this.keyLength == e.StiPdfEncryptionKeyLength.Bit40 && (l = l.slice(0, 10)), r = this.rc4(r, l) } else if (this.keyLength == e.StiPdfEncryptionKeyLength.Bit128_r4) { var o = i , a = n , s = []; this.encryptionKey.copyTo(s, 0), this.getBytesUInt32(o).copyTo(s, 16), this.getBytesUint16(a).copyTo(s, 19), s[21] = 115, s[22] = 65, s[23] = 108, s[24] = 84; var l = this.computeHashMD5(s) , u = (new t.System.Crypt.SecureRandom).createNextBytes(16) , c = []; c.addRange(u), c.addRange(r), c = new t.ExternalLibrary.aesjs.padding.pkcs7.pad(c); var m = new t.ExternalLibrary.aesjs.ModeOfOperation.cbc(l,u); r = m.encrypt(c) } else { var u = (new t.System.Crypt.SecureRandom).createNextBytes(16) , c = []; c.addRange(u), c.addRange(r), c = new t.ExternalLibrary.aesjs.padding.pkcs7.pad(c); var m = new t.ExternalLibrary.aesjs.ModeOfOperation.cbc(this.encryptionKey,u); r = m.encrypt(c) } return r } , i.prototype.throwEncryptionError = function(t, e) { throw new Error(r.format("EncryptionError at step {0} : {1}", t, e)) } , i.prototype.renderEncodeRecord = function(t) { var i = "" , n = "" , o = 32; this.keyLength != e.StiPdfEncryptionKeyLength.Bit256_r5 && this.keyLength != e.StiPdfEncryptionKeyLength.Bit256_r6 || (o = 48); var a = 0; for (a = 0; a < o; a++) i += String.fromCharCode(this.ownerValue[a]), n += String.fromCharCode(this.userValue[a]); if (t.writeLine("/Filter /Standard"), this.keyLength == e.StiPdfEncryptionKeyLength.Bit128) t.writeLine("/CF<>>>"), t.writeLine("/StmF /StdCF"), t.writeLine("/StrF /StdCF"), t.writeLine("/R 3"), t.writeLine("/V 2"), t.writeLine("/Length 128"); else if (this.keyLength == e.StiPdfEncryptionKeyLength.Bit128_r4) t.writeLine("/CF<>>>"), t.writeLine("/StmF /StdCF"), t.writeLine("/StrF /StdCF"), t.writeLine("/R 4"), t.writeLine("/V 4"), t.writeLine("/Length 128"); else if (this.keyLength == e.StiPdfEncryptionKeyLength.Bit256_r5 || this.keyLength == e.StiPdfEncryptionKeyLength.Bit256_r6) { t.writeLine("/CF<>>>"), t.writeLine("/StmF /StdCF"), t.writeLine("/StrF /StdCF"), t.writeLine("/R {0}", this.keyLength == e.StiPdfEncryptionKeyLength.Bit256_r5 ? 5 : 6), t.writeLine("/V 5"), t.writeLine("/Length 256"); var s = "" , l = ""; for (a = 0; a < 32; a++) s += String.fromCharCode(this.ownerExtendedValue[a]), l += String.fromCharCode(this.userExtendedValue[a]); var u = ""; for (a = 0; a < 16; a++) u += String.fromCharCode(this.permsValue[a]); t.writeString(r.format("/OE ({0})", e.StiPdfExportService.convertToEscapeSequencePlusTabs(s)), !0), t.writeString(r.format("/UE ({0})", e.StiPdfExportService.convertToEscapeSequencePlusTabs(l)), !0), t.writeString(r.format("/Perms ({0})", e.StiPdfExportService.convertToEscapeSequencePlusTabs(u)), !0) } else t.writeLine("/R 2"), t.writeLine("/V 1"), t.writeLine("/Length 40"); t.writeString(r.format("/O ({0})", e.StiPdfExportService.convertToEscapeSequencePlusTabs(i)), !0), t.writeString(r.format("/U ({0})", e.StiPdfExportService.convertToEscapeSequencePlusTabs(n)), !0), t.writeLine("/P {0}", this.securityFlags) } , i.prototype.getBytesUInt32 = function(t) { var e = []; return e.push(255 & t), e.push(t >> 8 & 255), e.push(t >> 16 & 255), e.push(t >> 24 & 255), e } , i.prototype.getBytesUint16 = function(t) { var e = []; return e.push(255 & t), e.push(t >> 8 & 255), e } , i.prototype.rc4 = function(t, e) { var r = [], i = 0, n = 0, o, a = [], s = e.length, l = t.length; for (i = 0; i < 256; i++) r[i] = i; for (i = 0; i < 256; i++) n = (n + r[i] + e[i % s]) % 256, o = r[i], r[i] = r[n], r[n] = o; i = 0, n = 0; for (var u = 0; u < l; u++) i = (i + 1) % 256, n = (n + r[i]) % 256, o = r[i], r[i] = r[n], r[n] = o, a.push(t[u] ^ r[(r[i] + r[n]) % 256]); return a } , i.prototype.computeHashMD5 = function(e) { for (var r = "", i = 0; i < e.length; i++) r += String.fromCharCode(e[i]); return t.Base.StiMD5Helper.MD5(r, !1) } , i.paddingString = [40, 191, 78, 94, 78, 117, 138, 65, 100, 0, 78, 86, 255, 250, 1, 8, 46, 46, 0, 182, 208, 104, 62, 128, 47, 12, 169, 254, 100, 83, 105, 122], i }(); e.StiPdfSecurity = i }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function() { function t() { this.ref = -1, this.info = null } return Object.defineProperty(t.prototype, "isUsed", { get: function() { return !(-1 == this.ref) }, enumerable: !0, configurable: !0 }), t.prototype.addRef = function() { this.info.addRef(this) } , t.prototype.toString = function() { if (-1 == this.ref) return "-"; return r.format("ref = {0}", this.ref) } , t }(); e.StiPdfObjInfo = i; var n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiPdfContentObjInfo = n; var o = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiPdfXObjectObjInfo = o; var a = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiPdfFontObjInfo = a; var s = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiPdfOutlinesObjInfo = s; var l = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiPdfShadingObjInfo = l; var u = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiPdfPatternsObjInfo = u; var c = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiPdfAnnotObjInfo = c; var m = function() { function t() {} return t }(); e.StiPdfCheckBoxObjInfo = m; var p = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e }(i); e.StiPdfAcroFormObjInfo = p; var h = function() { function t() { this.objectsCounter = 0, this.objects = null, this.objectsCounter = 0, this.objects = [], this.root = this.createObject(!0), this.info = this.createObject(!0), this.colorSpace = this.createObject(!0), this.pages = this.createObject(!0), this.structTreeRoot = this.createObject(!0), this.optionalContentGroup = this.createObject(!0), this.pageList = [], this.xObjectList = [], this.fontList = [], this.linkList = [], this.embeddedFilesList = [] } return t.prototype.addRef = function(t) { this.objectsCounter++, t.ref = this.objectsCounter } , t.prototype.createObject = function(t) { void 0 === t && (t = !1); var e = new i; return e.info = this, t && this.addRef(e), e } , t.prototype.createContentObject = function(t) { void 0 === t && (t = !1); var e = new n; return e.info = this, t && this.addRef(e), e.content = this.createObject(t), e } , t.prototype.createXObject = function(t, e) { void 0 === t && (t = !1), void 0 === e && (e = !1); var r = new o; return r.info = this, t && this.addRef(r), r.mask = this.createObject(t && e), r } , t.prototype.createFontObject = function(t, e, r, i, n) { void 0 === t && (t = !1), void 0 === e && (e = !0), void 0 === r && (r = !1), void 0 === i && (i = !0), void 0 === n && (n = !1); var o = new a; return o.info = this, t && this.addRef(o), o.descendantFont = this.createObject(t && e), o.toUnicode = this.createObject(t && e), o.cIDSet = this.createObject(t && e), o.encoding = this.createObject(t && !e && !n), o.fontDescriptor = this.createObject(t && !r), o.fontFile2 = this.createObject(t && i), o } , t.prototype.createOutlinesObject = function(t) { void 0 === t && (t = !1); var e = new s; return e.info = this, t && this.addRef(e), e.items = [], e } , t.prototype.createPatternsObject = function(t) { void 0 === t && (t = !1); var e = new u; return e.info = this, e.resources = this.createObject(t), e.first = this.createObject(t), e.hatchItems = [], e.shadingItems = [], e } , t.prototype.createShadingObject = function(t) { void 0 === t && (t = !1); var e = new l; return e.info = this, t && this.addRef(e), e.function = this.createObject(t), e } , t.prototype.createAcroFormObject = function(t) { void 0 === t && (t = !1); var e = new p; return e.info = this, t && this.addRef(e), e.annots = [], e.checkBoxes = [], e.unsignedSignatures = [], e.signatures = [], e.tooltips = [], e.annotFontItems = [], e } , t.prototype.createAnnotObject = function(t, e, r) { void 0 === t && (t = !1), void 0 === e && (e = !1), void 0 === r && (r = 0); var i = new c; i.info = this, t && this.addRef(i), i.aP = this.createObject(t && e), i.aA = []; for (var n = 0; n < r; n++) i.aA.add(this.createObject(t)); return i } , t }(); e.StiPdfStructure = h }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Char , n = t.Report.Components.StiCheckBox , o = t.System.Globalization.CultureInfo , a = t.Base.Zip.StiZipWriter20 , s = t.Report.ImageFormat , l = t.Report.Components.IStiExportImageExtended , u = t.Report.Components.StiText , c = t.System.StiArray , m = t.System.Collections.Hashtable , p = t.Report.Components.StiPageOrientation , h = t.Report.Components.StiPagesCollection , d = t.System.DateTime , g = t.System.Xml.Formatting , f = t.System.Xml.XmlTextWriter , S = t.System.Text.Encoding , A = t.System.IO.StreamWriter , y = t.System.Drawing.Color , w = t.System.StiString , b = t.System.IO.MemoryStream , v = t.Base.Localization.StiLocalization , C = function() { function t() { this.BorderLeft = "none", this.BorderRight = "none", this.BorderTop = "none", this.BorderBottom = "none", this.BackColor = y.transparent, this.VertAlign = StiVertAlignment.Bottom, this.FontName = "Arial", this.FontSize = 6, this.Bold = !1, this.Italic = !1, this.Underline = !1, this.FontColor = y.black, this.HorAlign = StiTextHorAlignment.Left, this.Angle = 0, this.Wordwrap = !1, this.DataStyle = -1 } return t }() , E = function() { function t() { this.isNumeric = !1, this.isCurrency = !1, this.isPercent = !1, this.isDate = !1, this.isTime = !1, this.isDefaultFormat = !1, this.DecimalDigits = 2, this.DecimalComma = " ", this.GroupDigits = 0, this.CurrencySymbol = "$", this.CurrencyPositionBefore = !1, this.NegativeBraces = !1, this.DateTimeFormatString = null, this.CurrencyPositivePattern = null, this.CurrencyNegativePattern = null } return t }() , B = function(y) { function B() { var t = null !== y && y.apply(this, arguments) || this; return t.matrix = null, t.imageCache = null, t.cellStyleList = null, t.dataStyleList = null, t.sheetNameList = null, t.matrixList = null, t.firstPageIndexList = null, t.minRowList = null, t.maxRowList = null, t.cellStyleTableList = null, t.imageQuality = .75, t.imageResolution = 96, t.xmlIndentation = 1, t } return __extends(B, y), Object.defineProperty(B.prototype, "defaultExtension", { get: function() { return "ods" }, enumerable: !0, configurable: !0 }), Object.defineProperty(B.prototype, "exportFormat", { get: function() { return e.StiExportFormat.Ods }, enumerable: !0, configurable: !0 }), Object.defineProperty(B.prototype, "groupCategory", { get: function() { return "Excel" }, enumerable: !0, configurable: !0 }), Object.defineProperty(B.prototype, "position", { get: function() { return r.StiExportPosition.Ods }, enumerable: !0, configurable: !0 }), Object.defineProperty(B.prototype, "exportNameInMenu", { get: function() { return v.get("Export", "ExportTypeCalcFile") }, enumerable: !0, configurable: !0 }), Object.defineProperty(B.prototype, "multipleFiles", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), B.prototype.getFilter = function() { return v.get("FileFilters", "WriteCalcFilesrFiles") } , B.prototype.exportTo = function(t, e, r) { this.exportOds(t, e, r) } , B.prototype.exportToAsync = function(e, r, i, n) { var o = this; t.Report.Export.StiExportImageHelper.convertAllImages(r, t.System.Drawing.Imaging.ImageFormat.Jpeg).try(function() { o.exportTo(r, i, n), e() }) } , B.prototype.doubleToString = function(t) { return Math.round2(t / 100, 4).toString().stimulsoft.replaceAll(",", ".") + "in" } , B.prototype.getColumnName = function(t) { var e = t / 26 | 0 , r = t % 26 , i = ""; return e > 0 && (i += String.fromCharCode(65 + e - 1)), i += String.fromCharCode(65 + r) } , B.prototype.getColorString = function(t) { return "#" + w.format("{0:X8}", t.toArgb()).substr(2) } , B.prototype.getCellStyleNumber = function(t, e, r, i) { for (var o = new C, a = !0, s = !0, l = 0; l < r; l++) null == this.matrix.bordersY[t + l][e] && (a = !1), null == this.matrix.bordersY[t + l][e + i] && (s = !1); for (var c = !0, m = !0, l = 0; l < i; l++) null == this.matrix.bordersX[t][e + l] && (c = !1), null == this.matrix.bordersX[t + r][e + l] && (m = !1); if (c && (o.BorderTop = this.getStringFromBorder(this.matrix.bordersX[t][e])), a && (o.BorderLeft = this.getStringFromBorder(this.matrix.bordersY[t][e])), m && (o.BorderBottom = this.getStringFromBorder(this.matrix.bordersX[t + r][e])), s && (o.BorderRight = this.getStringFromBorder(this.matrix.bordersY[t][e + i])), null != this.matrix.cells[t][e]) { var p = this.matrix.cells[t][e] , h = p.cellStyle; o.BackColor = h.color, o.VertAlign = h.vertAlignment, o.FontName = h.font.name, o.FontSize = h.font.sizeInPoints, o.Bold = h.font.bold, o.Italic = h.font.italic, o.Underline = h.font.underline, o.FontColor = h.textColor, o.HorAlign = h.horAlignment; var d = 0; if (null != h.textOptions && (d = h.textOptions.angle, o.Wordwrap = h.textOptions.wordWrap), o.Angle = 0 | Math.round(d), null != p.component) { var g = p.component.stimulsoft.as(u); null != g && (o.DataStyle = this.getDataStyleNumber(g)); var f = p.component.stimulsoft.as(n); null == f || w.isNullOrEmpty(f.excelDataValue) || (o.FontName = StiOptions.Export.CheckBoxReplacementForExcelValue.Font.name, o.FontSize = StiOptions.Export.CheckBoxReplacementForExcelValue.Font.sizeInPoints, o.Bold = StiOptions.Export.CheckBoxReplacementForExcelValue.Font.bold, o.Italic = StiOptions.Export.CheckBoxReplacementForExcelValue.Font.italic, o.Underline = StiOptions.Export.CheckBoxReplacementForExcelValue.Font.underline, o.VertAlign = StiOptions.Export.CheckBoxReplacementForExcelValue.VertAlignment, o.HorAlign = StiOptions.Export.CheckBoxReplacementForExcelValue.HorAlignment) } } if (this.cellStyleList.length > 0) for (var l = 0; l < this.cellStyleList.length; l++) { var S = this.cellStyleList[l]; if (S.BorderLeft == o.BorderLeft && S.BorderRight == o.BorderRight && S.BorderTop == o.BorderTop && S.BorderBottom == o.BorderBottom && S.BackColor.equals(o.BackColor) && S.VertAlign == o.VertAlign && S.FontName == o.FontName && S.FontSize == o.FontSize && S.Bold == o.Bold && S.Italic == o.Italic && S.Underline == o.Underline && S.FontColor.equals(o.FontColor) && S.HorAlign == o.HorAlign && S.Angle == o.Angle && S.Wordwrap == o.Wordwrap && S.DataStyle == o.DataStyle) return l } return this.cellStyleList.push(o), this.cellStyleList.length - 1 } , B.prototype.getStringFromBorder = function(t) { return w.format("{0} solid {1}", this.doubleToString(t.size), this.getColorString(t.color)) } , B.prototype.getDataStyleNumber = function(t) { var e = new E , n = t.format , o = null != t && t.hideZeros , a = null != n ? n.indexOf("|") : -1; if (-1 != a && (e.CurrencyPositivePattern = r.StiExportUtils.getPositivePattern(n.charCodeAt(a + 1) - 65), e.CurrencyNegativePattern = r.StiExportUtils.getNegativePattern(n.charCodeAt(a + 2) - 65), n = n.substr(0, a)), w.isNullOrEmpty(n)) return -1; if ("C" == n.charAt(0) && (e.isCurrency = !0), "N" == n.charAt(0) && (e.isNumeric = !0), "P" == n.charAt(0) && (e.isPercent = !0), "D" == n.charAt(0) && (e.isDate = !0, n.length > 1 && (e.DateTimeFormatString = n.substr(1))), "T" == n.charAt(0) && (e.isTime = !0, n.length > 1 && (e.DateTimeFormatString = n.substr(1))), 1 == n.length) e.isDefaultFormat = !0; else if (e.isCurrency || e.isNumeric || e.isPercent) { var s = 1; if (i.isDigit(n, s)) { var l = ""; while (s < n.length && i.isDigit(n, s)) l += n.charAt(s), s++; e.DecimalDigits = parseInt(l) } s < n.length && "G" == n.charAt(s) && (s++, e.GroupDigits = 3), s < n.length && "(" == n.charAt(s) && (s++, e.NegativeBraces = !0), s < n.length && ("." == n.charAt(s) || "," == n.charAt(s)) && (e.DecimalComma = n.charAt(s), s++), s < n.length && ("+" == n.charAt(s) || "-" == n.charAt(s)) && ("+" == n.charAt(s) && (e.CurrencyPositionBefore = !0), ++s < n.length && (e.CurrencySymbol = n.substr(s))) } if (t.hideZeros && !w.isNullOrEmpty(n) && (e.isDefaultFormat = !1), this.dataStyleList.length > 0) for (var u = 0; u < this.dataStyleList.length; u++) { var c = this.dataStyleList.getByIndex(u); if (c.isNumeric == e.isNumeric && c.isCurrency == e.isCurrency && c.isPercent == e.isPercent && c.isDate == e.isDate && c.isTime == e.isTime && c.isDefaultFormat == e.isDefaultFormat && c.DecimalDigits == e.DecimalDigits && c.DecimalComma == e.DecimalComma && c.GroupDigits == e.GroupDigits && c.CurrencySymbol == e.CurrencySymbol && c.CurrencyPositionBefore == e.CurrencyPositionBefore && c.DateTimeFormatString == e.DateTimeFormatString && c.CurrencyPositivePattern == e.CurrencyPositivePattern && c.CurrencyNegativePattern == e.CurrencyNegativePattern) return u } return this.dataStyleList.push(e), this.dataStyleList.countItems - 1 } , B.prototype.writeMimetype = function() { var t = new b , e = new A(t,S.ASCII); return e.write("application/vnd.oasis.opendocument.spreadsheet"), e.flush(), t } , B.prototype.writeMeta = function() { var t = new b , e = new f(S.UTF8,t); e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? g.None : g.Indented, e.writeStartDocument(), e.writeStartElement("office:document-meta"), e.writeAttributeString("xmlns:office", "urn:oasis:names:tc:opendocument:xmlns:office:1.0"), e.writeAttributeString("xmlns:xlink", "http://www.w3.org/1999/xlink"), e.writeAttributeString("xmlns:dc", "http://purl.org/dc/elements/1.1/"), e.writeAttributeString("xmlns:meta", "urn:oasis:names:tc:opendocument:xmlns:meta:1.0"), e.writeAttributeString("xmlns:ooo", "http://openoffice.org/2004/office"), e.writeAttributeString("office:version", "1.1"), e.writeStartElement("office:meta"); var i = d.now.toString("yyyy-MM-ddTHH:mm:ss") , n = r.StiExportUtils.getReportVersion(); return e.writeElementString("meta:generator", n), e.writeElementString("meta:creation-date", i), e.writeElementString("dc:date", i), e.writeElementString("meta:editing-cycles", "1"), e.writeElementString("meta:editing-duration", "PT0M0S"), e.writeStartElement("meta:user-defined"), e.writeAttributeString("meta:name", "Info 1"), e.writeEndElement(), e.writeStartElement("meta:user-defined"), e.writeAttributeString("meta:name", "Info 2"), e.writeEndElement(), e.writeStartElement("meta:user-defined"), e.writeAttributeString("meta:name", "Info 3"), e.writeEndElement(), e.writeStartElement("meta:user-defined"), e.writeAttributeString("meta:name", "Info 4"), e.writeEndElement(), e.writeStartElement("meta:document-statistic"), e.writeAttributeString("meta:table-count", "1"), e.writeAttributeString("meta:cell-count", "1"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , B.prototype.writeManifest = function() { var t = new b , e = new f(S.UTF8,t); e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? g.None : g.Indented, e.writeStartDocument(), e.writeStartElement("manifest:manifest"), e.writeAttributeString("xmlns:manifest", "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"), e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "application/vnd.oasis.opendocument.spreadsheet"), e.writeAttributeString("manifest:full-path", "/"), e.writeEndElement(); for (var r = 0; r < this.imageCache.imagePackedStore.countItems; r++) e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "image/jpeg"), e.writeAttributeString("manifest:full-path", w.format("Pictures/{0:D5}.jpg", r + 1)), e.writeEndElement(); return e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "text/xml"), e.writeAttributeString("manifest:full-path", "content.xml"), e.writeEndElement(), e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "text/xml"), e.writeAttributeString("manifest:full-path", "styles.xml"), e.writeEndElement(), e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "text/xml"), e.writeAttributeString("manifest:full-path", "meta.xml"), e.writeEndElement(), e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "text/xml"), e.writeAttributeString("manifest:full-path", "settings.xml"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , B.prototype.writeImage = function(t) { var e = new b , r = this.imageCache.imagePackedStore[t]; return e.write(r, 0, r.length), e } , B.prototype.writeSettings = function() { var t = new b , e = new f(S.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? g.None : g.Indented, e.writeStartDocument(), e.writeStartElement("office:document-settings"), e.writeAttributeString("xmlns:office", "urn:oasis:names:tc:opendocument:xmlns:office:1.0"), e.writeAttributeString("xmlns:xlink", "http://www.w3.org/1999/xlink"), e.writeAttributeString("xmlns:config", "urn:oasis:names:tc:opendocument:xmlns:config:1.0"), e.writeAttributeString("xmlns:ooo", "http://openoffice.org/2004/office"), e.writeAttributeString("office:version", "1.1"), e.writeStartElement("office:settings"), e.writeStartElement("config:config-item-set"), e.writeAttributeString("config:name", "ooo:view-settings"), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "VisibleAreaTop"), e.writeAttributeString("config:type", "int"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "VisibleAreaLeft"), e.writeAttributeString("config:type", "int"), e.writeString("-10107"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "VisibleAreaWidth"), e.writeAttributeString("config:type", "int"), e.writeString("43208"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "VisibleAreaHeight"), e.writeAttributeString("config:type", "int"), e.writeString("22174"), e.writeEndElement(), e.writeStartElement("config:config-item-map-indexed"), e.writeAttributeString("config:name", "Views"), e.writeStartElement("config:config-item-map-entry"), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ViewId"), e.writeAttributeString("config:type", "string"), e.writeString("View1"), e.writeEndElement(), e.writeStartElement("config:config-item-map-named"), e.writeAttributeString("config:name", "Tables"), e.writeStartElement("config:config-item-map-entry"), e.writeAttributeString("config:name", "Sheet1"), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "CursorPositionX"), e.writeAttributeString("config:type", "int"), e.writeString("1"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "CursorPositionY"), e.writeAttributeString("config:type", "int"), e.writeString("1"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "HorizontalSplitMode"), e.writeAttributeString("config:type", "short"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "VerticalSplitMode"), e.writeAttributeString("config:type", "short"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "HorizontalSplitPosition"), e.writeAttributeString("config:type", "int"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "VerticalSplitPosition"), e.writeAttributeString("config:type", "int"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ActiveSplitRange"), e.writeAttributeString("config:type", "short"), e.writeString("2"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PositionLeft"), e.writeAttributeString("config:type", "int"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PositionRight"), e.writeAttributeString("config:type", "int"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PositionTop"), e.writeAttributeString("config:type", "int"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PositionBottom"), e.writeAttributeString("config:type", "int"), e.writeString("0"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ActiveTable"), e.writeAttributeString("config:type", "string"), e.writeString("Sheet1"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "HorizontalScrollbarWidth"), e.writeAttributeString("config:type", "int"), e.writeString("270"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ZoomType"), e.writeAttributeString("config:type", "short"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ZoomValue"), e.writeAttributeString("config:type", "int"), e.writeString("100"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PageViewZoomValue"), e.writeAttributeString("config:type", "int"), e.writeString("60"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ShowPageBreakPreview"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ShowZeroValues"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ShowNotes"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ShowGrid"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "GridColor"), e.writeAttributeString("config:type", "long"), e.writeString("12632256"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ShowPageBreaks"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "HasColumnRowHeaders"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "HasSheetTabs"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IsOutlineSymbolsSet"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IsSnapToRaster"), e.writeAttributeString("config:type", "long"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RasterIsVisible"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RasterResolutionX"), e.writeAttributeString("config:type", "int"), e.writeString("1000"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RasterResolutionY"), e.writeAttributeString("config:type", "int"), e.writeString("1000"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RasterSubdivisionX"), e.writeAttributeString("config:type", "int"), e.writeString("1"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RasterSubdivisionY"), e.writeAttributeString("config:type", "int"), e.writeString("1"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IsRasterAxisSynchronized"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("config:config-item-set"), e.writeAttributeString("config:name", "ooo:configuration-settings"), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ShowZeroValues"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ShowNotes"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ShowGrid"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "GridColor"), e.writeAttributeString("config:type", "long"), e.writeString("12632256"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ShowPageBreaks"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "LinkUpdateMode"), e.writeAttributeString("config:type", "short"), e.writeString("3"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "HasColumnRowHeaders"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "HasSheetTabs"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IsOutlineSymbolsSet"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IsSnapToRaster"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RasterIsVisible"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RasterResolutionX"), e.writeAttributeString("config:type", "int"), e.writeString("1000"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RasterResolutionY"), e.writeAttributeString("config:type", "int"), e.writeString("1000"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RasterSubdivisionX"), e.writeAttributeString("config:type", "int"), e.writeString("1"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RasterSubdivisionY"), e.writeAttributeString("config:type", "int"), e.writeString("1"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IsRasterAxisSynchronized"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "AutoCalculate"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrinterName"), e.writeAttributeString("config:type", "string"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrinterSetup"), e.writeAttributeString("config:type", "base64Binary"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ApplyUserData"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "CharacterCompressionType"), e.writeAttributeString("config:type", "short"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IsKernAsianPunctuation"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "SaveVersionOnClose"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "UpdateFromTemplate"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "AllowPrintJobCancel"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "LoadReadonly"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , B.prototype.writeStyles = function(t) { var e = new b , r = new f(S.UTF8,e); r.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, r.formatting = this.xmlIndentation < 0 ? g.None : g.Indented, r.writeStartDocument(), r.writeStartElement("office:document-styles"), r.writeAttributeString("xmlns:office", "urn:oasis:names:tc:opendocument:xmlns:office:1.0"), r.writeAttributeString("xmlns:style", "urn:oasis:names:tc:opendocument:xmlns:style:1.0"), r.writeAttributeString("xmlns:text", "urn:oasis:names:tc:opendocument:xmlns:text:1.0"), r.writeAttributeString("xmlns:table", "urn:oasis:names:tc:opendocument:xmlns:table:1.0"), r.writeAttributeString("xmlns:draw", "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"), r.writeAttributeString("xmlns:fo", "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"), r.writeAttributeString("xmlns:xlink", "http://www.w3.org/1999/xlink"), r.writeAttributeString("xmlns:dc", "http://purl.org/dc/elements/1.1/"), r.writeAttributeString("xmlns:meta", "urn:oasis:names:tc:opendocument:xmlns:meta:1.0"), r.writeAttributeString("xmlns:number", "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"), r.writeAttributeString("xmlns:presentation", "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"), r.writeAttributeString("xmlns:svg", "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"), r.writeAttributeString("xmlns:chart", "urn:oasis:names:tc:opendocument:xmlns:chart:1.0"), r.writeAttributeString("xmlns:dr3d", "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"), r.writeAttributeString("xmlns:math", "http://www.w3.org/1998/Math/MathML"), r.writeAttributeString("xmlns:form", "urn:oasis:names:tc:opendocument:xmlns:form:1.0"), r.writeAttributeString("xmlns:script", "urn:oasis:names:tc:opendocument:xmlns:script:1.0"), r.writeAttributeString("xmlns:ooo", "http://openoffice.org/2004/office"), r.writeAttributeString("xmlns:ooow", "http://openoffice.org/2004/writer"), r.writeAttributeString("xmlns:oooc", "http://openoffice.org/2004/calc"), r.writeAttributeString("xmlns:dom", "http://www.w3.org/2001/xml-events"), r.writeAttributeString("office:version", "1.1"), r.writeStartElement("office:font-face-decls"), r.writeStartElement("style:font-face"), r.writeAttributeString("style:name", "Arial"), r.writeAttributeString("svg:font-family", "Arial"), r.writeEndElement(), r.writeStartElement("style:font-face"), r.writeAttributeString("style:name", "Tahoma"), r.writeAttributeString("svg:font-family", "Tahoma"), r.writeAttributeString("style:font-family-generic", "system"), r.writeAttributeString("style:font-pitch", "variable"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("office:styles"), r.writeStartElement("style:default-style"), r.writeAttributeString("style:family", "table-cell"), r.writeStartElement("style:table-cell-properties"), r.writeAttributeString("style:decimal-places", "2"), r.writeEndElement(), r.writeStartElement("style:paragraph-properties"), r.writeAttributeString("style:tab-stop-distance", "1.25cm"), r.writeEndElement(), r.writeStartElement("style:text-properties"), r.writeAttributeString("style:font-name", "Arial"), r.writeAttributeString("fo:language", "ru"), r.writeAttributeString("fo:country", "RU"), r.writeAttributeString("style:font-name-asian", "Lucida Sans Unicode"), r.writeAttributeString("style:language-asian", "zxx"), r.writeAttributeString("style:country-asian", "none"), r.writeAttributeString("style:font-name-complex", "Tahoma"), r.writeAttributeString("style:language-complex", "zxx"), r.writeAttributeString("style:country-complex", "none"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("number:number-style"), r.writeAttributeString("style:name", "N0"), r.writeStartElement("number:number"), r.writeAttributeString("number:min-integer-digits", "1"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Default"), r.writeAttributeString("style:family", "table-cell"), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Result"), r.writeAttributeString("style:family", "table-cell"), r.writeAttributeString("style:parent-style-name", "Default"), r.writeStartElement("style:text-properties"), r.writeAttributeString("fo:font-style", "italic"), r.writeAttributeString("style:text-underline-style", "solid"), r.writeAttributeString("style:text-underline-width", "auto"), r.writeAttributeString("style:text-underline-color", "font-color"), r.writeAttributeString("fo:font-weight", "bold"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Heading"), r.writeAttributeString("style:family", "table-cell"), r.writeAttributeString("style:parent-style-name", "Default"), r.writeStartElement("style:table-cell-properties"), r.writeAttributeString("style:text-align-source", "fix"), r.writeAttributeString("style:repeat-content", "false"), r.writeEndElement(), r.writeStartElement("style:paragraph-properties"), r.writeAttributeString("fo:text-align", "center"), r.writeEndElement(), r.writeStartElement("style:text-properties"), r.writeAttributeString("fo:font-size", "16pt"), r.writeAttributeString("fo:font-style", "italic"), r.writeAttributeString("fo:font-weight", "bold"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Heading1"), r.writeAttributeString("style:family", "table-cell"), r.writeAttributeString("style:parent-style-name", "Heading"), r.writeStartElement("style:table-cell-properties"), r.writeAttributeString("style:rotation-angle", "90"), r.writeEndElement(), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("office:automatic-styles"); var i = t.getByIndex(0) , n = i.unit.convertToHInches(i.pageHeight * i.segmentPerHeight) , o = i.unit.convertToHInches(i.pageWidth * i.segmentPerWidth) , a = i.unit.convertToHInches(i.margins.left) , s = i.unit.convertToHInches(i.margins.right) , l = i.unit.convertToHInches(i.margins.top) , u = i.unit.convertToHInches(i.margins.bottom) - 4; return u < 0 && (u = 0), r.writeStartElement("style:page-layout"), r.writeAttributeString("style:name", "pm1"), r.writeStartElement("style:page-layout-properties"), r.writeAttributeString("fo:page-width", this.doubleToString(o)), r.writeAttributeString("fo:page-height", this.doubleToString(n)), r.writeAttributeString("style:num-format", "1"), r.writeAttributeString("style:print-orientation", i.orientation == p.Portrait ? "portrait" : "landscape"), r.writeAttributeString("fo:margin-top", this.doubleToString(l)), r.writeAttributeString("fo:margin-bottom", this.doubleToString(u)), r.writeAttributeString("fo:margin-left", this.doubleToString(a)), r.writeAttributeString("fo:margin-right", this.doubleToString(s)), r.writeAttributeString("style:writing-mode", "lr-tb"), r.writeEndElement(), r.writeStartElement("style:header-style"), r.writeStartElement("style:header-footer-properties"), r.writeAttributeString("fo:min-height", "0.101cm"), r.writeAttributeString("fo:margin-left", "0cm"), r.writeAttributeString("fo:margin-right", "0cm"), r.writeAttributeString("fo:margin-bottom", "0cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:footer-style"), r.writeStartElement("style:header-footer-properties"), r.writeAttributeString("fo:min-height", "0.101cm"), r.writeAttributeString("fo:margin-left", "0cm"), r.writeAttributeString("fo:margin-right", "0cm"), r.writeAttributeString("fo:margin-top", "0cm"), r.writeEndElement(), r.writeEndElement(), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("office:master-styles"), r.writeStartElement("style:master-page"), r.writeAttributeString("style:name", "Default"), r.writeAttributeString("style:page-layout-name", "pm1"), r.writeStartElement("style:header"), r.writeAttributeString("style:display", "false"), r.writeStartElement("text:p"), r.writeStartElement("text:sheet-name"), r.writeString("Sheet1"), r.writeEndElement(), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:header-left"), r.writeAttributeString("style:display", "false"), r.writeEndElement(), r.writeStartElement("style:footer"), r.writeAttributeString("style:display", "false"), r.writeStartElement("text:p"), r.writeString("Page "), r.writeStartElement("text:page-number"), r.writeString("1"), r.writeEndElement(), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:footer-left"), r.writeAttributeString("style:display", "false"), r.writeEndElement(), r.writeEndElement(), r.writeEndElement(), r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , B.prototype.writeContent = function(t, e) { var i, n, o, a, s = new b, l = new f(S.UTF8,s); l.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, l.formatting = this.xmlIndentation < 0 ? g.None : g.Indented, l.writeStartDocument(), l.writeStartElement("office:document-content"), l.writeAttributeString("xmlns:office", "urn:oasis:names:tc:opendocument:xmlns:office:1.0"), l.writeAttributeString("xmlns:style", "urn:oasis:names:tc:opendocument:xmlns:style:1.0"), l.writeAttributeString("xmlns:text", "urn:oasis:names:tc:opendocument:xmlns:text:1.0"), l.writeAttributeString("xmlns:table", "urn:oasis:names:tc:opendocument:xmlns:table:1.0"), l.writeAttributeString("xmlns:draw", "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"), l.writeAttributeString("xmlns:fo", "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"), l.writeAttributeString("xmlns:xlink", "http://www.w3.org/1999/xlink"), l.writeAttributeString("xmlns:dc", "http://purl.org/dc/elements/1.1/"), l.writeAttributeString("xmlns:meta", "urn:oasis:names:tc:opendocument:xmlns:meta:1.0"), l.writeAttributeString("xmlns:number", "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"), l.writeAttributeString("xmlns:presentation", "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"), l.writeAttributeString("xmlns:svg", "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"), l.writeAttributeString("xmlns:chart", "urn:oasis:names:tc:opendocument:xmlns:chart:1.0"), l.writeAttributeString("xmlns:dr3d", "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"), l.writeAttributeString("xmlns:math", "http://www.w3.org/1998/Math/MathML"), l.writeAttributeString("xmlns:form", "urn:oasis:names:tc:opendocument:xmlns:form:1.0"), l.writeAttributeString("xmlns:script", "urn:oasis:names:tc:opendocument:xmlns:script:1.0"), l.writeAttributeString("xmlns:ooo", "http://openoffice.org/2004/office"), l.writeAttributeString("xmlns:ooow", "http://openoffice.org/2004/writer"), l.writeAttributeString("xmlns:oooc", "http://openoffice.org/2004/calc"), l.writeAttributeString("xmlns:dom", "http://www.w3.org/2001/xml-events"), l.writeAttributeString("xmlns:xforms", "http://www.w3.org/2002/xforms"), l.writeAttributeString("xmlns:xsd", "http://www.w3.org/2001/XMLSchema"), l.writeAttributeString("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"), l.writeAttributeString("office:version", "1.1"); var u = 0; while (u < e.count) { var p = new h(t,e); p.addV2Internal(e.getByIndex(u)); var d = u , A = e.getByIndex(u).excelSheetValue; while (u < e.count - 1 && e.getByIndex(u + 1).excelSheetValue == A) u++, p.addV2Internal(e.getByIndex(u)); p.cacheMode = t.renderedPages.cacheMode; var y = p.getByIndex(0).excelSheetValue; w.isNullOrEmpty(y) && (y = w.format("Page {0}", this.sheetNameList.countItems + 1)); var v = "" , C = 1; if (this.matrix = new r.StiMatrix(p,StiOptions.Export.OpenDocumentCalc.divideBigCells,this), this.isStopped) return null; var E = 0; do { this.firstPageIndexList.push(d), this.matrixList.push(this.matrix); var B = this.matrix.coordY.countItems - 1; if (B - E > StiOptions.Export.OpenDocumentCalc.maximumSheetHeight ? B = E + StiOptions.Export.OpenDocumentCalc.maximumSheetHeight : this.matrix = null, this.minRowList.push(E), this.maxRowList.push(B), E = B, (null != this.matrix || v.length > 0) && (v = w.format(" part{0}", C++)), this.sheetNameList.push(y + v), this.isStopped) return null } while (null != this.matrix); u++ } for (var T = new m, I = new m, x = new m, F = new m, D = 0; D < this.matrixList.countItems; D++) { this.matrix = this.matrixList.getByIndex(D); for (var E = this.minRowList.getByIndex(D), B = this.maxRowList.getByIndex(D), R = c.create(Boolean, this.matrix.coordY.countItems, this.matrix.coordX.countItems), P = c.create(Number, this.matrix.coordY.countItems, this.matrix.coordX.countItems), N = 0; N < this.matrix.coordX.countItems - 1; N++) { var k = this.matrix.coordX.getByIndex(N + 1) - this.matrix.coordX.getByIndex(N); if (!x.containsKey(k)) { var M = x.count; x.set(k, M), F.set(M, k) } } for (var O = E + 1; O < B + 1; O++) { var _ = this.matrix.coordY.getByIndex(O) - this.matrix.coordY.getByIndex(O - 1); if (!T.containsKey(_)) { var M = T.count; T.set(_, M), I.set(M, _) } for (var N = 1; N < this.matrix.coordX.countItems; N++) { var L = this.matrix.cells[O - 1][N - 1]; if (!R[O][N]) if (null != L) { for (var j = 0; j <= L.height; j++) for (var H = 0; H <= L.width; H++) R[O + j][N + H] = !0; P[O - 1][N - 1] = this.getCellStyleNumber(O - 1, N - 1, L.height + 1, L.width + 1) } else P[O - 1][N - 1] = this.getCellStyleNumber(O - 1, N - 1, 1, 1) } } this.cellStyleTableList.push(P) } l.writeStartElement("office:scripts"), l.writeEndElement(); var G = new m; try { for (var Q = __values(this.cellStyleList), Y = Q.next(); !Y.done; Y = Q.next()) { var U = Y.value; G.set(U.FontName, U.FontName) } } catch (t) { i = { error: t } } finally { try { Y && !Y.done && (n = Q.return) && n.call(Q) } finally { if (i) throw i.error } } l.writeStartElement("office:font-face-decls"); try { for (var J = __values(G.keys), W = J.next(); !W.done; W = J.next()) { var V = W.value , z = G.get(V); l.writeStartElement("style:font-face"), l.writeAttributeString("style:name", z), l.writeAttributeString("svg:font-family", z), l.writeEndElement() } } catch (t) { o = { error: t } } finally { try { W && !W.done && (a = J.return) && a.call(J) } finally { if (o) throw o.error } } l.writeEndElement(), l.writeStartElement("office:automatic-styles"); for (var N = 0; N < x.count; N++) { l.writeStartElement("style:style"), l.writeAttributeString("style:name", w.format("co{0}", N + 1)), l.writeAttributeString("style:family", "table-column"), l.writeStartElement("style:table-column-properties"), l.writeAttributeString("fo:break-before", "auto"); var k = F.get(N); l.writeAttributeString("style:column-width", this.doubleToString(k)), l.writeEndElement(), l.writeEndElement() } for (var O = 0; O < T.count; O++) { l.writeStartElement("style:style"), l.writeAttributeString("style:name", w.format("ro{0}", O + 1)), l.writeAttributeString("style:family", "table-row"), l.writeStartElement("style:table-row-properties"); var _ = I.get(O); l.writeAttributeString("style:row-height", this.doubleToString(_)), l.writeAttributeString("fo:break-before", "auto"), l.writeAttributeString("style:use-optimal-row-height", "false"), l.writeEndElement(), l.writeEndElement() } l.writeStartElement("style:style"), l.writeAttributeString("style:name", "ta1"), l.writeAttributeString("style:family", "table"), l.writeAttributeString("style:master-page-name", "Default"), l.writeStartElement("style:table-properties"), l.writeAttributeString("table:display", "true"), l.writeAttributeString("style:writing-mode", "lr-tb"), l.writeEndElement(), l.writeEndElement(), l.writeStartElement("style:style"), l.writeAttributeString("style:name", "gr1"), l.writeAttributeString("style:family", "graphic"), l.writeStartElement("style:graphic-properties"), l.writeAttributeString("draw:stroke", "none"), l.writeAttributeString("draw:fill", "none"), l.writeAttributeString("draw:textarea-horizontal-align", "center"), l.writeAttributeString("draw:textarea-vertical-align", "middle"), l.writeAttributeString("draw:color-mode", "standard"), l.writeAttributeString("draw:luminance", "0%"), l.writeAttributeString("draw:contrast", "0%"), l.writeAttributeString("draw:gamma", "100%"), l.writeAttributeString("draw:red", "0%"), l.writeAttributeString("draw:green", "0%"), l.writeAttributeString("draw:blue", "0%"), l.writeAttributeString("fo:clip", "rect(0cm 0cm 0cm 0cm)"), l.writeAttributeString("draw:image-opacity", "100%"), l.writeAttributeString("style:mirror", "none"), l.writeEndElement(), l.writeEndElement(), l.writeStartElement("style:style"), l.writeAttributeString("style:name", "P1"), l.writeAttributeString("style:family", "paragraph"), l.writeStartElement("style:paragraph-properties"), l.writeAttributeString("fo:text-align", "center"), l.writeEndElement(), l.writeEndElement(); for (var X = 0; X < this.dataStyleList.countItems; X++) { var K = this.dataStyleList.getByIndex(X); K.isNumeric && (l.writeStartElement("number:number-style"), K.NegativeBraces ? (l.writeAttributeString("style:name", w.format("N{0}P0", X + 1)), l.writeAttributeString("style:volatile", "true")) : l.writeAttributeString("style:name", w.format("N{0}", X + 1)), " " != K.DecimalComma && (l.writeAttributeString("number:language", "," == K.DecimalComma ? "ru" : "en"), l.writeAttributeString("number:country", "," == K.DecimalComma ? "RU" : "US")), l.writeStartElement("number:number"), l.writeAttributeString("number:decimal-places", K.DecimalDigits.toString()), l.writeAttributeString("number:min-integer-digits", "1"), l.writeAttributeString("number:grouping", 3 == K.GroupDigits ? "true" : "false"), l.writeEndElement(), l.writeEndElement(), K.NegativeBraces && (l.writeStartElement("number:number-style"), l.writeAttributeString("style:name", w.format("N{0}", X + 1)), " " != K.DecimalComma && (l.writeAttributeString("number:language", "," == K.DecimalComma ? "ru" : "en"), l.writeAttributeString("number:country", "," == K.DecimalComma ? "RU" : "US")), l.writeElementString("number:text", "("), l.writeStartElement("number:number"), l.writeAttributeString("number:decimal-places", K.DecimalDigits.toString()), l.writeAttributeString("number:min-integer-digits", "1"), l.writeAttributeString("number:grouping", 3 == K.GroupDigits ? "true" : "false"), l.writeEndElement(), l.writeElementString("number:text", ")"), l.writeStartElement("style:map"), l.writeAttributeString("style:condition", "value()>=0"), l.writeAttributeString("style:apply-style-name", w.format("N{0}P0", X + 1)), l.writeEndElement(), l.writeEndElement())), K.isPercent && (l.writeStartElement("number:percentage-style"), l.writeAttributeString("style:name", w.format("N{0}", X + 1)), " " != K.DecimalComma && (l.writeAttributeString("number:language", "," == K.DecimalComma ? "ru" : "en"), l.writeAttributeString("number:country", "," == K.DecimalComma ? "RU" : "US")), l.writeStartElement("number:number"), l.writeAttributeString("number:decimal-places", K.DecimalDigits.toString()), l.writeAttributeString("number:min-integer-digits", "1"), 3 == K.GroupDigits && l.writeAttributeString("number:grouping", "true"), l.writeEndElement(), l.writeElementString("number:text", "%"), l.writeEndElement()), K.isCurrency && (l.writeStartElement("number:currency-style"), l.writeAttributeString("style:name", w.format("N{0}", X + 1)), " " != K.DecimalComma && (l.writeAttributeString("number:language", "," == K.DecimalComma ? "ru" : "en"), l.writeAttributeString("number:country", "," == K.DecimalComma ? "RU" : "US")), K.CurrencyPositionBefore && l.writeElementString("number:currency-symbol", K.CurrencySymbol), l.writeStartElement("number:number"), l.writeAttributeString("number:decimal-places", K.DecimalDigits.toString()), l.writeAttributeString("number:min-integer-digits", "1"), l.writeAttributeString("number:grouping", 3 == K.GroupDigits ? "true" : "false"), l.writeEndElement(), K.CurrencyPositionBefore || l.writeElementString("number:currency-symbol", K.CurrencySymbol), l.writeEndElement()), K.isDate && (l.writeStartElement("number:date-style"), l.writeAttributeString("style:name", w.format("N{0}", X + 1)), this.writeDateTimeFormatString(l, K.DateTimeFormatString, "d"), l.writeEndElement()), K.isTime && (l.writeStartElement("number:time-style"), l.writeAttributeString("style:name", w.format("N{0}", X + 1)), w.isNullOrEmpty(K.DateTimeFormatString) || -1 == K.DateTimeFormatString.indexOf("h") || (l.writeAttributeString("number:language", "en"), l.writeAttributeString("number:country", "US")), this.writeDateTimeFormatString(l, K.DateTimeFormatString, "t"), l.writeEndElement()) } for (var X = 0; X < this.cellStyleList.countItems; X++) { var K = this.cellStyleList.getByIndex(X); l.writeStartElement("style:style"), l.writeAttributeString("style:name", w.format("ce{0}", X + 1)), l.writeAttributeString("style:family", "table-cell"), l.writeAttributeString("style:parent-style-name", "Default"), -1 != K.DataStyle && l.writeAttributeString("style:data-style-name", w.format("N{0}", K.DataStyle + 1)), l.writeStartElement("style:table-cell-properties"), K.BackColor.a > 0 ? l.writeAttributeString("fo:background-color", this.getColorString(K.BackColor)) : l.writeAttributeString("fo:background-color", "transparent"), K.VertAlign == StiVertAlignment.Center && l.writeAttributeString("style:vertical-align", "middle"), K.VertAlign == StiVertAlignment.Top && l.writeAttributeString("style:vertical-align", "top"), l.writeAttributeString("style:text-align-source", "fix"), l.writeAttributeString("style:repeat-content", "false"), K.Wordwrap && l.writeAttributeString("fo:wrap-option", "wrap"), l.writeAttributeString("fo:padding", "0in"), l.writeAttributeString("fo:border-left", K.BorderLeft), l.writeAttributeString("fo:border-right", K.BorderRight), l.writeAttributeString("fo:border-top", K.BorderTop), l.writeAttributeString("fo:border-bottom", K.BorderBottom), 0 != K.Angle && (l.writeAttributeString("style:rotation-angle", K.Angle.toString()), l.writeAttributeString("style:rotation-align", "none")), l.writeEndElement(), l.writeStartElement("style:paragraph-properties"), K.HorAlign == StiTextHorAlignment.Left && l.writeAttributeString("fo:text-align", "start"), K.HorAlign == StiTextHorAlignment.Center && l.writeAttributeString("fo:text-align", "center"), K.HorAlign == StiTextHorAlignment.Right && l.writeAttributeString("fo:text-align", "end"), K.HorAlign == StiTextHorAlignment.Width && l.writeAttributeString("fo:text-align", "justify"), l.writeAttributeString("fo:margin-left", "0cm"), l.writeEndElement(), l.writeStartElement("style:text-properties"), l.writeAttributeString("fo:color", this.getColorString(K.FontColor)), l.writeAttributeString("style:font-name", K.FontName); var Z = w.format("{0}pt", K.FontSize).stimulsoft.replaceAll(",", "."); l.writeAttributeString("fo:font-size", Z), l.writeAttributeString("fo:font-size-asian", Z), l.writeAttributeString("fo:font-size-complex", Z), K.Italic && (l.writeAttributeString("fo:font-style", "italic"), l.writeAttributeString("fo:font-style-asian", "italic"), l.writeAttributeString("fo:font-style-complex", "italic")), K.Underline && (l.writeAttributeString("style:text-underline-style", "solid"), l.writeAttributeString("style:text-underline-width", "auto"), l.writeAttributeString("style:text-underline-color", "font-color")), K.Bold && (l.writeAttributeString("fo:font-weight", "bold"), l.writeAttributeString("fo:font-weight-asian", "bold"), l.writeAttributeString("fo:font-weight-complex", "bold")), l.writeEndElement(), l.writeEndElement() } l.writeFullEndElement(), l.writeStartElement("office:body"), l.writeStartElement("office:spreadsheet"), l.writeStartElement("table:calculation-settings"), l.writeAttributeString("table:use-regular-expressions", "false"), l.writeEndElement(), this.currentPassNumber = StiOptions.Export.OpenDocumentCalc.divideSegmentPages ? 3 : 2; for (var D = 0; D < this.matrixList.countItems; D++) this.writeTableFromMatrix(l, D, T, x); return l.writeEndElement(), l.writeEndElement(), l.writeFullEndElement(), l.writeEndDocument(), l.flush(), s } , B.prototype.writeDateTimeFormatString = function(t, e, r) { if (w.isNullOrEmpty(e) && (e = r), 1 == e.length) { var i = this.currentCulture.dateTimeFormat; switch (e) { case "d": e = i.shortDatePattern; break; case "D": e = i.longDatePattern; break; case "f": e = i.shortDatePattern + " " + i.shortTimePattern; break; case "F": e = i.fullDateTimePattern; break; case "g": e = i.shortDatePattern + " " + i.shortTimePattern; break; case "G": e = i.shortDatePattern + " " + i.longTimePattern; break; case "m": case "M": e = o.currentCulture.name.stimulsoft.contains("en") || o.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; case "s": e = "yyyy\\-MM\\-dd\\THH\\:mm\\:ss"; break; case "t": e = i.shortTimePattern; break; case "T": e = i.longTimePattern; break; case "u": e = "yyyy\\-MM\\-dd HH\\:mm\\:ss\\Z"; break; case "U": e = i.fullDateTimePattern; break; case "y": case "Y": e = i.yearMonthPattern; break } e = e.stimulsoft.replaceAll('"', "").stimulsoft.replaceAll("'", "") } var n = 0; while (n < e.length) { var a = e.charAt(n) , s = 1; while (n + 1 < e.length && e.charAt(n + 1) == a) n++, s++; switch (n++, a) { case "d": 1 == s && (t.writeStartElement("number:day"), t.writeEndElement()), 2 == s && (t.writeStartElement("number:day"), t.writeAttributeString("number:style", "long"), t.writeEndElement()), 3 == s && (t.writeStartElement("number:day-of-week"), t.writeEndElement()), 4 == s && (t.writeStartElement("number:day-of-week"), t.writeAttributeString("number:style", "long"), t.writeEndElement()); break; case "M": 1 == s && (t.writeStartElement("number:month"), t.writeEndElement()), 2 == s && (t.writeStartElement("number:month"), t.writeAttributeString("number:style", "long"), t.writeEndElement()), 3 == s && (t.writeStartElement("number:month"), t.writeAttributeString("number:textual", "true"), t.writeEndElement()), 4 == s && (t.writeStartElement("number:month"), t.writeAttributeString("number:style", "long"), t.writeAttributeString("number:textual", "true"), t.writeEndElement()); break; case "y": 1 != s && 2 != s || (t.writeStartElement("number:year"), t.writeEndElement()), 3 != s && 4 != s || (t.writeStartElement("number:year"), t.writeAttributeString("number:style", "long"), t.writeEndElement()); break; case "s": 1 == s && (t.writeStartElement("number:seconds"), t.writeEndElement()), 2 == s && (t.writeStartElement("number:seconds"), t.writeAttributeString("number:style", "long"), t.writeEndElement()); break; case "m": 1 == s && (t.writeStartElement("number:minutes"), t.writeEndElement()), 2 == s && (t.writeStartElement("number:minutes"), t.writeAttributeString("number:style", "long"), t.writeEndElement()); break; case "h": case "H": 1 == s && (t.writeStartElement("number:hours"), t.writeEndElement()), 2 == s && (t.writeStartElement("number:hours"), t.writeAttributeString("number:style", "long"), t.writeEndElement()); break; default: t.writeElementString("number:text", a); break } } } , B.prototype.writeTableFromMatrix = function(t, i, o, a) { var s = this.matrixList[i] , m = this.minRowList[i] , p = this.maxRowList[i] , h = this.cellStyleTableList[i] , g = this.sheetNameList[i] , f = c.create(Boolean, s.coordY.countItems, s.coordX.countItems); t.writeStartElement("table:table"), t.writeAttributeString("table:name", g), t.writeAttributeString("table:style-name", "ta1"), t.writeAttributeString("table:print", "false"); for (var S = 0; S < s.coordX.countItems - 1; S++) { var A = s.coordX.getByIndex(S + 1) - s.coordX.getByIndex(S) , y = a.get(A); t.writeStartElement("table:table-column"), t.writeAttributeString("table:style-name", w.format("co{0}", y + 1)), t.writeAttributeString("table:default-cell-style-name", "Default"), t.writeEndElement() } for (var b = Math.max(s.coordY.countItems / 200, 1), v = 0, C = m + 1; C < p + 1; C++) { var E = C / b | 0; E > v && (v = E, this.invokeExporting2(C, s.coordY.countItems, this.currentPassNumber, this.maximumPassNumber)); var B = s.coordY.getByIndex(C) - s.coordY.getByIndex(C - 1) , T = o.get(B); t.writeStartElement("table:table-row"), t.writeAttributeString("table:style-name", w.format("ro{0}", T + 1)); for (var S = 1; S < s.coordX.countItems; S++) { var I = s.cells[C - 1][S - 1]; if (f[C][S]) t.writeStartElement("table:covered-table-cell"), t.writeEndElement(); else if (null != I) { for (var x = 0; x <= I.height; x++) for (var F = 0; F <= I.width; F++) f[C + x][S + F] = !0; var D = h[C - 1][S - 1] , R = this.cellStyleList[D].DataStyle; t.writeStartElement("table:table-cell"), t.writeAttributeString("table:style-name", w.format("ce{0}", D + 1)), (I.width > 0 || I.height > 0) && (t.writeAttributeString("table:number-columns-spanned", (I.width + 1).toString()), t.writeAttributeString("table:number-rows-spanned", (I.height + 1).toString())); var P = I.component.stimulsoft.as(u) , N = I.text , k = I.component.stimulsoft.as(n); if (null == k || w.isNullOrEmpty(k.excelDataValue) || (N = k.excelDataValue), !I.component.isExportAsImage(e.StiExportFormat.Ods) && (!w.isNullOrEmpty(N) || null != P && null != P.excelDataValue)) { var M = !1 , O = 0 , _ = d.now , L = null; if (-1 != R && null != P && null != P.excelDataValue && "-" != P.excelDataValue) { var j = P.excelDataValue , H = j.replace(/[^\d.,-]/g, "").stimulsoft.replaceAll(",", "."); L = this.dataStyleList[R], M = !0; try { if (L.isDate || L.isTime) { var G = d.tryParseExact(j, null); G.successfully ? _ = G.result : M = !1 } else O = parseFloat(H), isNaN(O) && (M = !1, O = 0) } catch (t) { M = !1 } M || null != N || (N = j) } if (M) if (L.isDate) t.writeAttributeString("office:value-type", "date"), t.writeAttributeString("office:date-value", _.toString("yyyy-MM-dd")); else if (L.isTime) t.writeAttributeString("office:value-type", "time"), t.writeAttributeString("office:time-value", _.toString("PTHH\\Hmm\\Mss\\S")); else { var j = O.toString().stimulsoft.replaceAll(",", "."); L.isNumeric && t.writeAttributeString("office:value-type", "float"), L.isPercent && t.writeAttributeString("office:value-type", "percentage"), L.isCurrency && t.writeAttributeString("office:value-type", "currency"), t.writeAttributeString("office:value", j) } else t.writeAttributeString("office:value-type", "string"); for (var Q = r.StiExportUtils.splitString(N, !0), Y = 0; Y < Q.length; Y++) { var U = Q[Y]; t.writeStartElement("text:p"), t.writeString(U), t.writeEndElement() } } if (I.component.isExportAsImage(e.StiExportFormat.Ods)) { t.writeAttributeString("office:value-type", "string"); var J = I.component.stimulsoft.as(l); if (null != J) { var W = null , V = { ref: this.imageResolution }; if (null != (W = J.getImage(V, e.StiExportFormat.Ods))) { var z = s.getRealImageData(I, W); null != z && (W = z); var X = this.imageCache.addImageInt(W) , K = s.coordX.getByIndex(S + I.width) - s.coordX.getByIndex(S - 1) , Z = s.coordY.getByIndex(C + I.height) - s.coordY.getByIndex(C - 1) , q = w.format("'{0}'.{1}{2}", g, this.getColumnName(I.left + I.width + 1), I.top + I.height + 1 + 1); t.writeStartElement("draw:frame"), t.writeAttributeString("table:end-cell-address", q), t.writeAttributeString("table:end-x", "0in"), t.writeAttributeString("table:end-y", "0in"), t.writeAttributeString("draw:z-index", "0"), t.writeAttributeString("draw:name", w.format("Picture{0}", X + 1)), t.writeAttributeString("draw:style-name", "gr1"), t.writeAttributeString("draw:text-style-name", "P1"), t.writeAttributeString("text:anchor-type", "paragraph"), t.writeAttributeString("svg:x", this.doubleToString(0)), t.writeAttributeString("svg:y", this.doubleToString(0)), t.writeAttributeString("svg:width", this.doubleToString(K)), t.writeAttributeString("svg:height", this.doubleToString(Z)), t.writeStartElement("draw:image"), t.writeAttributeString("xlink:href", w.format("Pictures/{0:D5}.jpg", X + 1)), t.writeAttributeString("xlink:type", "simple"), t.writeAttributeString("xlink:show", "embed"), t.writeAttributeString("xlink:actuate", "onLoad"), t.writeStartElement("text:p"), t.writeEndElement(), t.writeEndElement(), t.writeEndElement() } } } t.writeEndElement() } else { var D = h[C - 1][S - 1]; t.writeStartElement("table:table-cell"), t.writeAttributeString("table:style-name", w.format("ce{0}", D + 1)), t.writeEndElement() } } t.writeEndElement() } t.writeEndElement() } , B.prototype.exportOds = function(t, i, n) { var l, u; if (null == n) throw new Error("The 'settings' argument cannot be equal in null."); var c = n.pageRange; this.imageResolution = n.imageResolution, this.imageQuality = n.imageQuality, this.xmlIndentation = -1, this.imageQuality < 0 && (this.imageQuality = 0), this.imageQuality > 1 && (this.imageQuality = 1), this.imageResolution < 10 && (this.imageResolution = 10), this.imageResolution = this.imageResolution / 100, this.currentCulture = o.currentCulture; try { o.currentCulture = o.cultures["en-US"], this.imageCache = new e.StiImageCache(StiOptions.Export.OpenDocumentCalc.allowImageComparer,!0,s.Jpeg,this.imageQuality,!1), this.cellStyleList = [], this.dataStyleList = [], this.sheetNameList = [], this.matrixList = [], this.firstPageIndexList = [], this.minRowList = [], this.maxRowList = [], this.cellStyleTableList = [], this.currentPassNumber = 0, this.maximumPassNumber = StiOptions.Export.OpenDocumentCalc.divideSegmentPages ? 4 : 3; var m = c.getSelectedPages(t.renderedPages); if (StiOptions.Export.OpenDocumentCalc.divideSegmentPages && (m = r.StiSegmentPagesDivider.divide(m, this), this.currentPassNumber = 1), this.isStopped) return; var p = new a; if (p.begin(i, !0), p.addFile("content.xml", this.writeContent(t, m)), p.addFile("mimetype", this.writeMimetype()), p.addFile("meta.xml", this.writeMeta()), p.addFile("META-INF/manifest.xml", this.writeManifest()), p.addFile("settings.xml", this.writeSettings()), p.addFile("styles.xml", this.writeStyles(m)), this.imageCache.imagePackedStore.countItems > 0) for (var h = 0; h < this.imageCache.imagePackedStore.countItems; h++) p.addFile(w.format("Pictures/{0:D5}.jpg", h + 1), this.writeImage(h)); p.end() } finally { o.currentCulture = this.currentCulture, this.sheetNameList.clear(), this.sheetNameList = null, this.firstPageIndexList.clear(), this.firstPageIndexList = null, this.minRowList.clear(), this.minRowList = null, this.maxRowList.clear(), this.maxRowList = null; try { for (var d = __values(this.matrixList), g = d.next(); !g.done; g = d.next()) { var f = g.value; null != f && f.clear() } } catch (t) { l = { error: t } } finally { try { g && !g.done && (u = d.return) && u.call(d) } finally { if (l) throw l.error } } this.matrixList.clear(), this.matrixList = null, this.cellStyleTableList.clear(), this.cellStyleTableList = null, this.dataStyleList.clear(), this.dataStyleList = null, this.cellStyleList.clear(), this.cellStyleList = null, this.imageCache.clear(), this.imageCache = null, t.renderedPages.cacheMode && r.StiMatrix.GCCollect() } } , B }(r.StiExportService); r.StiOdsExportService = B }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Zip.StiZipWriter20 , n = t.Report.ImageFormat , o = t.Report.Components.IStiExportImageExtended , a = t.Report.Components.StiText , s = t.System.StiArray , l = t.System.Collections.Hashtable , u = t.Report.Components.StiPageOrientation , c = t.System.DateTime , m = t.System.Xml.Formatting , p = t.System.Xml.XmlTextWriter , h = t.System.Text.Encoding , d = t.System.IO.StreamWriter , g = t.System.Drawing.Color , f = t.System.StiString , S = t.System.IO.MemoryStream , A = t.Base.Localization.StiLocalization , y = function() { function t() { this.BorderLeft = "none", this.BorderRight = "none", this.BorderTop = "none", this.BorderBottom = "none", this.BackColor = g.transparent, this.VertAlign = StiVertAlignment.Bottom } return t }() , w = function() { function t() { this.FontName = "Arial", this.FontSize = 6, this.Bold = !1, this.Italic = !1, this.Underline = !1, this.FontColor = g.black, this.HorAlign = StiTextHorAlignment.Left, this.Angle = 0 } return t }() , b = function(g) { function b() { var t = null !== g && g.apply(this, arguments) || this; return t._matrix = null, t._removeEmptySpaceAtBottom = StiOptions.Export.OpenDocumentWriter.removeEmptySpaceAtBottom, t.imageCache = null, t.cellStyleList = null, t.paragraphStyleList = null, t.xmlIndentation = 1, t.imageQuality = .75, t.imageResolution = 96, t.usePageHeadersAndFooters = !1, t } return __extends(b, g), Object.defineProperty(b.prototype, "defaultExtension", { get: function() { return "odt" }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "exportFormat", { get: function() { return e.StiExportFormat.Odt }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "groupCategory", { get: function() { return "Word" }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "position", { get: function() { return r.StiExportPosition.Odt }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "exportNameInMenu", { get: function() { return A.get("Export", "ExportTypeWriterFile") }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "multipleFiles", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), b.prototype.getFilter = function() { return A.get("FileFilters", "WriterFiles") } , b.prototype.exportTo = function(t, e, r) { this.exportOdt(t, e, r) } , b.prototype.exportToAsync = function(e, r, i, n) { var o = this; t.Report.Export.StiExportImageHelper.convertAllImages(r, t.System.Drawing.Imaging.ImageFormat.Jpeg).try(function() { o.exportTo(r, i, n), e() }) } , Object.defineProperty(b.prototype, "matrix", { get: function() { return this._matrix }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "removeEmptySpaceAtBottom", { get: function() { return this._removeEmptySpaceAtBottom }, enumerable: !0, configurable: !0 }), b.prototype.doubleToString = function(t) { return Math.round2(t / 100, 4).toString().stimulsoft.replaceAll(",", ".") + "in" } , b.prototype.getColumnName = function(t) { var e = t / 26 | 0 , r = t % 26 , i = ""; return e > 0 && (i += String.fromCharCode(65 + e - 1)), i += String.fromCharCode(65 + r) } , b.prototype.getColorString = function(t) { return "#" + f.format("{0:X8}", t.toArgb()).substr(2) } , b.prototype.getCellStyleNumber = function(t, e, r, i) { for (var n = new y, o = !0, a = !0, s = 0; s < r; s++) null == this.matrix.bordersY[t + s][e] && (o = !1), null == this.matrix.bordersY[t + s][e + i] && (a = !1); for (var l = !0, u = !0, s = 0; s < i; s++) null == this.matrix.bordersX[t][e + s] && (l = !1), null == this.matrix.bordersX[t + r][e + s] && (u = !1); if (l && (n.BorderTop = this.getStringFromBorder(this.matrix.bordersX[t][e])), o && (n.BorderLeft = this.getStringFromBorder(this.matrix.bordersY[t][e])), u && (n.BorderBottom = this.getStringFromBorder(this.matrix.bordersX[t + r][e])), a && (n.BorderRight = this.getStringFromBorder(this.matrix.bordersY[t][e + i])), null != this.matrix.cells[t][e]) { var c = this.matrix.cells[t][e]; if (n.BackColor = c.cellStyle.color, n.VertAlign = c.cellStyle.vertAlignment, null != c.cellStyle.textOptions) { var m = c.cellStyle.textOptions.angle; (m > 45 && m < 135 || m > 225 && m < 315) && (c.cellStyle.horAlignment == StiTextHorAlignment.Left && (n.VertAlign = StiVertAlignment.Bottom), c.cellStyle.horAlignment == StiTextHorAlignment.Center && (n.VertAlign = StiVertAlignment.Center), c.cellStyle.horAlignment == StiTextHorAlignment.Right && (n.VertAlign = StiVertAlignment.Top), c.cellStyle.horAlignment == StiTextHorAlignment.Width && (n.VertAlign = StiVertAlignment.Bottom)) } } if (this.cellStyleList.length > 0) for (var s = 0; s < this.cellStyleList.length; s++) { var p = this.cellStyleList[s]; if (p.BorderLeft == n.BorderLeft && p.BorderRight == n.BorderRight && p.BorderTop == n.BorderTop && p.BorderBottom == n.BorderBottom && p.BackColor.equals(n.BackColor) && p.VertAlign == n.VertAlign) return s } return this.cellStyleList.push(n), this.cellStyleList.length - 1 } , b.prototype.getStringFromBorder = function(t) { return f.format("{0} solid {1}", this.doubleToString(t.size), this.getColorString(t.color)) } , b.prototype.getParagraphStyleNumber = function(t, e) { var r = this.matrix.cells[t][e].cellStyle , i = new w; i.FontName = r.font.name, i.FontSize = r.font.sizeInPoints, i.Bold = r.font.bold, i.Italic = r.font.italic, i.Underline = r.font.underline, i.FontColor = r.textColor, i.HorAlign = r.horAlignment; var n = 0; if (null != r.textOptions && (n = r.textOptions.angle), n > 45 && n < 135 && (i.Angle = 90), n > 225 && n < 315 && (i.Angle = 270), 0 != i.Angle && (r.vertAlignment == StiVertAlignment.Top && (i.HorAlign = StiTextHorAlignment.Left), r.vertAlignment == StiVertAlignment.Center && (i.HorAlign = StiTextHorAlignment.Center), r.vertAlignment == StiVertAlignment.Bottom && (i.HorAlign = StiTextHorAlignment.Right)), this.paragraphStyleList.length > 0) for (var o = 0; o < this.paragraphStyleList.length; o++) { var a = this.paragraphStyleList[o]; if (a.FontName == i.FontName && a.FontSize == i.FontSize && a.Bold == i.Bold && a.Italic == i.Italic && a.Underline == i.Underline && a.FontColor.equals(i.FontColor) && a.HorAlign == i.HorAlign && a.Angle == i.Angle) return o } return this.paragraphStyleList.push(i), this.paragraphStyleList.length - 1 } , b.prototype.writeMimetype = function() { var t = new S , e = new d(t,h.ASCII); return e.write("application/vnd.oasis.opendocument.text"), e.flush(), t } , b.prototype.writeMeta = function() { var t = new S , e = new p(h.UTF8,t); e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? m.None : m.Indented, e.writeStartDocument(), e.writeStartElement("office:document-meta"), e.writeAttributeString("xmlns:office", "urn:oasis:names:tc:opendocument:xmlns:office:1.0"), e.writeAttributeString("xmlns:xlink", "http://www.w3.org/1999/xlink"), e.writeAttributeString("xmlns:dc", "http://purl.org/dc/elements/1.1/"), e.writeAttributeString("xmlns:meta", "urn:oasis:names:tc:opendocument:xmlns:meta:1.0"), e.writeAttributeString("xmlns:ooo", "http://openoffice.org/2004/office"), e.writeAttributeString("office:version", "1.1"), e.writeStartElement("office:meta"); var r = f.format("{0}", c.now.toString("yyyy-MM-ddTHH:mm:ss")); return e.writeElementString("meta:generator", "Stimulsoft Reports"), e.writeElementString("meta:creation-date", r), e.writeElementString("dc:date", r), e.writeElementString("meta:editing-cycles", "1"), e.writeElementString("meta:editing-duration", "PT0M01S"), e.writeStartElement("meta:user-defined"), e.writeAttributeString("meta:name", "Info 1"), e.writeEndElement(), e.writeStartElement("meta:user-defined"), e.writeAttributeString("meta:name", "Info 2"), e.writeEndElement(), e.writeStartElement("meta:user-defined"), e.writeAttributeString("meta:name", "Info 3"), e.writeEndElement(), e.writeStartElement("meta:user-defined"), e.writeAttributeString("meta:name", "Info 4"), e.writeEndElement(), e.writeStartElement("meta:document-statistic"), e.writeAttributeString("meta:table-count", "1"), e.writeAttributeString("meta:image-count", "0"), e.writeAttributeString("meta:object-count", "0"), e.writeAttributeString("meta:page-count", "1"), e.writeAttributeString("meta:paragraph-count", "1"), e.writeAttributeString("meta:word-count", "1"), e.writeAttributeString("meta:character-count", "1"), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , b.prototype.writeManifest = function() { var t = new S , e = new p(h.UTF8,t); e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? m.None : m.Indented, e.writeStartDocument(), e.writeStartElement("manifest:manifest"), e.writeAttributeString("xmlns:manifest", "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"), e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "application/vnd.oasis.opendocument.text"), e.writeAttributeString("manifest:full-path", "/"), e.writeEndElement(); for (var r = 0; r < this.imageCache.imagePackedStore.countItems; r++) e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "image/jpeg"), e.writeAttributeString("manifest:full-path", f.format("Pictures/{0:D5}.jpg", r + 1)), e.writeEndElement(); return e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "text/xml"), e.writeAttributeString("manifest:full-path", "content.xml"), e.writeEndElement(), e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "text/xml"), e.writeAttributeString("manifest:full-path", "styles.xml"), e.writeEndElement(), e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "text/xml"), e.writeAttributeString("manifest:full-path", "meta.xml"), e.writeEndElement(), e.writeStartElement("manifest:file-entry"), e.writeAttributeString("manifest:media-type", "text/xml"), e.writeAttributeString("manifest:full-path", "settings.xml"), e.writeEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , b.prototype.writeImage = function(t) { var e = new S , r = this.imageCache.imagePackedStore[t]; return e.write(r, 0, r.length), e } , b.prototype.writeSettings = function() { var t = new S , e = new p(h.UTF8,t); return e.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, e.formatting = this.xmlIndentation < 0 ? m.None : m.Indented, e.writeStartDocument(), e.writeStartElement("office:document-settings"), e.writeAttributeString("xmlns:office", "urn:oasis:names:tc:opendocument:xmlns:office:1.0"), e.writeAttributeString("xmlns:xlink", "http://www.w3.org/1999/xlink"), e.writeAttributeString("xmlns:config", "urn:oasis:names:tc:opendocument:xmlns:config:1.0"), e.writeAttributeString("xmlns:ooo", "http://openoffice.org/2004/office"), e.writeAttributeString("office:version", "1.1"), e.writeStartElement("office:settings"), e.writeStartElement("config:config-item-set"), e.writeAttributeString("config:name", "ooo:view-settings"), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ViewAreaTop"), e.writeAttributeString("config:type", "int"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ViewAreaLeft"), e.writeAttributeString("config:type", "int"), e.writeString("-10107"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ViewAreaWidth"), e.writeAttributeString("config:type", "int"), e.writeString("43208"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ViewAreaHeight"), e.writeAttributeString("config:type", "int"), e.writeString("22174"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ShowRedlineChanges"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "InBrowseMode"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item-map-indexed"), e.writeAttributeString("config:name", "Views"), e.writeStartElement("config:config-item-map-entry"), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ViewId"), e.writeAttributeString("config:type", "string"), e.writeString("view2"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ViewLeft"), e.writeAttributeString("config:type", "int"), e.writeString("3002"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ViewTop"), e.writeAttributeString("config:type", "int"), e.writeString("10435"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "VisibleLeft"), e.writeAttributeString("config:type", "int"), e.writeString("-10107"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "VisibleTop"), e.writeAttributeString("config:type", "int"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "VisibleRight"), e.writeAttributeString("config:type", "int"), e.writeString("33099"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "VisibleBottom"), e.writeAttributeString("config:type", "int"), e.writeString("22172"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ZoomType"), e.writeAttributeString("config:type", "short"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ZoomFactor"), e.writeAttributeString("config:type", "short"), e.writeString("100"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IsSelectedFrame"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeEndElement(), e.writeStartElement("config:config-item-set"), e.writeAttributeString("config:name", "ooo:configuration-settings"), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "AddParaTableSpacing"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintReversed"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "OutlineLevelYieldsNumbering"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "LinkUpdateMode"), e.writeAttributeString("config:type", "short"), e.writeString("1"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintEmptyPages"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IgnoreFirstLineIndentInNumbering"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "CharacterCompressionType"), e.writeAttributeString("config:type", "short"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintSingleJobs"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "UpdateFromTemplate"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintPaperFromSetup"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "AddFrameOffsets"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintLeftPages"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "RedlineProtectionKey"), e.writeAttributeString("config:type", "base64Binary"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintTables"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ChartAutoUpdate"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintControls"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrinterSetup"), e.writeAttributeString("config:type", "base64Binary"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IgnoreTabsAndBlanksForLineCalculation"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintAnnotationMode"), e.writeAttributeString("config:type", "short"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "LoadReadonly"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "AddParaSpacingToTableCells"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "AddExternalLeading"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ApplyUserData"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "FieldAutoUpdate"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "SaveVersionOnClose"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "SaveGlobalDocumentLinks"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IsKernAsianPunctuation"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "AlignTabStopPosition"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ClipAsCharacterAnchoredWriterFlyFrames"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "CurrentDatabaseDataSource"), e.writeAttributeString("config:type", "string"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "DoNotCaptureDrawObjsOnPage"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "TableRowKeep"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrinterName"), e.writeAttributeString("config:type", "string"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintFaxName"), e.writeAttributeString("config:type", "string"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "ConsiderTextWrapOnObjPos"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "UseOldPrinterMetrics"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintRightPages"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "IsLabelDocument"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "UseFormerLineSpacing"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "AddParaTableSpacingAtStart"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "UseFormerTextWrapping"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "DoNotResetParaAttrsForNumFont"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintProspect"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintGraphics"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "AllowPrintJobCancel"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "CurrentDatabaseCommandType"), e.writeAttributeString("config:type", "int"), e.writeString("0"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "DoNotJustifyLinesWithManualBreak"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "UseFormerObjectPositioning"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrinterIndependentLayout"), e.writeAttributeString("config:type", "string"), e.writeString("high-resolution"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "UseOldNumbering"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintPageBackground"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "CurrentDatabaseCommand"), e.writeAttributeString("config:type", "string"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintDrawings"), e.writeAttributeString("config:type", "boolean"), e.writeString("true"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "PrintBlackFonts"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeStartElement("config:config-item"), e.writeAttributeString("config:name", "UnxForceZeroExtLeading"), e.writeAttributeString("config:type", "boolean"), e.writeString("false"), e.writeEndElement(), e.writeEndElement(), e.writeFullEndElement(), e.writeFullEndElement(), e.writeEndDocument(), e.flush(), t } , b.prototype.writeStyles = function(t) { var e = new S , r = new p(h.UTF8,e); r.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, r.formatting = this.xmlIndentation < 0 ? m.None : m.Indented, r.writeStartDocument(), r.writeStartElement("office:document-styles"), r.writeAttributeString("xmlns:office", "urn:oasis:names:tc:opendocument:xmlns:office:1.0"), r.writeAttributeString("xmlns:style", "urn:oasis:names:tc:opendocument:xmlns:style:1.0"), r.writeAttributeString("xmlns:text", "urn:oasis:names:tc:opendocument:xmlns:text:1.0"), r.writeAttributeString("xmlns:table", "urn:oasis:names:tc:opendocument:xmlns:table:1.0"), r.writeAttributeString("xmlns:draw", "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"), r.writeAttributeString("xmlns:fo", "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"), r.writeAttributeString("xmlns:xlink", "http://www.w3.org/1999/xlink"), r.writeAttributeString("xmlns:dc", "http://purl.org/dc/elements/1.1/"), r.writeAttributeString("xmlns:meta", "urn:oasis:names:tc:opendocument:xmlns:meta:1.0"), r.writeAttributeString("xmlns:number", "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"), r.writeAttributeString("xmlns:svg", "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"), r.writeAttributeString("xmlns:chart", "urn:oasis:names:tc:opendocument:xmlns:chart:1.0"), r.writeAttributeString("xmlns:dr3d", "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"), r.writeAttributeString("xmlns:math", "http://www.w3.org/1998/Math/MathML"), r.writeAttributeString("xmlns:form", "urn:oasis:names:tc:opendocument:xmlns:form:1.0"), r.writeAttributeString("xmlns:script", "urn:oasis:names:tc:opendocument:xmlns:script:1.0"), r.writeAttributeString("xmlns:ooo", "http://openoffice.org/2004/office"), r.writeAttributeString("xmlns:ooow", "http://openoffice.org/2004/writer"), r.writeAttributeString("xmlns:oooc", "http://openoffice.org/2004/calc"), r.writeAttributeString("xmlns:dom", "http://www.w3.org/2001/xml-events"), r.writeAttributeString("office:version", "1.1"), r.writeStartElement("office:font-face-decls"), r.writeStartElement("style:font-face"), r.writeAttributeString("style:name", "Arial"), r.writeAttributeString("svg:font-family", "Arial"), r.writeEndElement(), r.writeStartElement("style:font-face"), r.writeAttributeString("style:name", "Tahoma"), r.writeAttributeString("svg:font-family", "Tahoma"), r.writeAttributeString("style:font-family-generic", "system"), r.writeAttributeString("style:font-pitch", "variable"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("office:styles"), r.writeStartElement("style:default-style"), r.writeAttributeString("style:family", "graphic"), r.writeStartElement("style:graphic-properties"), r.writeAttributeString("draw:shadow-offset-x", "0.3cm"), r.writeAttributeString("draw:shadow-offset-y", "0.3cm"), r.writeAttributeString("draw:start-line-spacing-horizontal", "0.283cm"), r.writeAttributeString("draw:start-line-spacing-vertical", "0.283cm"), r.writeAttributeString("draw:end-line-spacing-horizontal", "0.283cm"), r.writeAttributeString("draw:end-line-spacing-vertical", "0.283cm"), r.writeAttributeString("style:flow-with-text", "false"), r.writeEndElement(), r.writeStartElement("style:paragraph-properties"), r.writeAttributeString("style:text-autospace", "ideograph-alpha"), r.writeAttributeString("style:line-break", "strict"), r.writeAttributeString("style:writing-mode", "lr-tb"), r.writeAttributeString("style:font-independent-line-spacing", "false"), r.writeStartElement("style:tab-stops"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:text-properties"), r.writeAttributeString("style:use-window-font-color", "true"), r.writeAttributeString("fo:font-size", "10pt"), r.writeAttributeString("style:letter-kerning", "true"), r.writeAttributeString("style:font-size-asian", "12pt"), r.writeAttributeString("style:language-asian", "zxx"), r.writeAttributeString("style:country-asian", "none"), r.writeAttributeString("style:font-size-complex", "12pt"), r.writeAttributeString("style:language-complex", "zxx"), r.writeAttributeString("style:country-complex", "none"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:default-style"), r.writeAttributeString("style:family", "paragraph"), r.writeStartElement("style:paragraph-properties"), r.writeAttributeString("fo:hyphenation-ladder-count", "no-limit"), r.writeAttributeString("style:text-autospace", "ideograph-alpha"), r.writeAttributeString("style:punctuation-wrap", "hanging"), r.writeAttributeString("style:line-break", "strict"), r.writeAttributeString("style:tab-stop-distance", "1.251cm"), r.writeAttributeString("style:writing-mode", "page"), r.writeEndElement(), r.writeStartElement("style:text-properties"), r.writeAttributeString("style:use-window-font-color", "true"), r.writeAttributeString("style:font-name", "Arial"), r.writeAttributeString("fo:font-size", "10pt"), r.writeAttributeString("style:letter-kerning", "true"), r.writeAttributeString("style:font-name-asian", "Lucida Sans Unicode"), r.writeAttributeString("style:font-size-asian", "12pt"), r.writeAttributeString("style:language-asian", "zxx"), r.writeAttributeString("style:country-asian", "none"), r.writeAttributeString("style:font-name-complex", "Tahoma"), r.writeAttributeString("style:font-size-complex", "12pt"), r.writeAttributeString("style:language-complex", "zxx"), r.writeAttributeString("style:country-complex", "none"), r.writeAttributeString("fo:hyphenate", "false"), r.writeAttributeString("fo:hyphenation-remain-char-count", "2"), r.writeAttributeString("fo:hyphenation-push-char-count", "2"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:default-style"), r.writeAttributeString("style:family", "table"), r.writeStartElement("style:table-properties"), r.writeAttributeString("table:border-model", "collapsing"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:default-style"), r.writeAttributeString("style:family", "table-row"), r.writeStartElement("style:table-row-properties"), r.writeAttributeString("fo:keep-together", "auto"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Standard"), r.writeAttributeString("style:family", "paragraph"), r.writeAttributeString("style:class", "text"), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Title"), r.writeAttributeString("style:family", "paragraph"), r.writeAttributeString("style:parent-style-name", "Standard"), r.writeAttributeString("style:next-style-name", "Text_20_body"), r.writeAttributeString("style:class", "text"), r.writeStartElement("style:paragraph-properties"), r.writeAttributeString("fo:margin-top", "0.423cm"), r.writeAttributeString("fo:margin-bottom", "0.212cm"), r.writeAttributeString("fo:keep-with-next", "always"), r.writeEndElement(), r.writeStartElement("style:text-properties"), r.writeAttributeString("style:font-name", "Arial1"), r.writeAttributeString("fo:font-size", "14pt"), r.writeAttributeString("style:font-name-asian", "Lucida Sans Unicode"), r.writeAttributeString("style:font-size-asian", "14pt"), r.writeAttributeString("style:font-name-complex", "Tahoma"), r.writeAttributeString("style:font-size-complex", "14pt"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Text_20_body"), r.writeAttributeString("style:display-name", "Text body"), r.writeAttributeString("style:family", "paragraph"), r.writeAttributeString("style:parent-style-name", "Standard"), r.writeAttributeString("style:class", "text"), r.writeStartElement("style:paragraph-properties"), r.writeAttributeString("fo:margin-top", "0cm"), r.writeAttributeString("fo:margin-bottom", "0.212cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Subtitle"), r.writeAttributeString("style:family", "paragraph"), r.writeAttributeString("style:parent-style-name", "Title"), r.writeAttributeString("style:next-style-name", "Text_20_body"), r.writeAttributeString("style:class", "chapter"), r.writeStartElement("style:paragraph-properties"), r.writeAttributeString("fo:text-align", "center"), r.writeAttributeString("style:justify-single-word", "false"), r.writeEndElement(), r.writeStartElement("style:text-properties"), r.writeAttributeString("fo:font-size", "14pt"), r.writeAttributeString("fo:font-style", "italic"), r.writeAttributeString("style:font-size-asian", "14pt"), r.writeAttributeString("style:font-style-asian", "italic"), r.writeAttributeString("style:font-size-complex", "14pt"), r.writeAttributeString("style:font-style-complex", "italic"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "List"), r.writeAttributeString("style:family", "paragraph"), r.writeAttributeString("style:parent-style-name", "Text_20_body"), r.writeAttributeString("style:class", "list"), r.writeStartElement("style:text-properties"), r.writeAttributeString("style:font-name", "Arial"), r.writeAttributeString("style:font-name-complex", "Tahoma1"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Caption"), r.writeAttributeString("style:family", "paragraph"), r.writeAttributeString("style:parent-style-name", "Standard"), r.writeAttributeString("style:class", "extra"), r.writeStartElement("style:paragraph-properties"), r.writeAttributeString("fo:margin-top", "0.212cm"), r.writeAttributeString("fo:margin-bottom", "0.212cm"), r.writeAttributeString("text:number-lines", "false"), r.writeAttributeString("text:line-number", "0"), r.writeEndElement(), r.writeStartElement("style:text-properties"), r.writeAttributeString("style:font-name", "Arial"), r.writeAttributeString("fo:font-size", "10pt"), r.writeAttributeString("fo:font-style", "italic"), r.writeAttributeString("style:font-size-asian", "12pt"), r.writeAttributeString("style:font-style-asian", "italic"), r.writeAttributeString("style:font-name-complex", "Tahoma1"), r.writeAttributeString("style:font-size-complex", "12pt"), r.writeAttributeString("style:font-style-complex", "italic"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Index"), r.writeAttributeString("style:family", "paragraph"), r.writeAttributeString("style:parent-style-name", "Standard"); r.writeAttributeString("style:class", "index"), r.writeStartElement("style:paragraph-properties"), r.writeAttributeString("text:number-lines", "false"), r.writeAttributeString("text:line-number", "0"), r.writeEndElement(), r.writeStartElement("style:text-properties"), r.writeAttributeString("style:font-name", "Arial"), r.writeAttributeString("style:font-name-complex", "Tahoma1"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Table_20_Contents"), r.writeAttributeString("style:display-name", "Table Contents"), r.writeAttributeString("style:family", "paragraph"), r.writeAttributeString("style:parent-style-name", "Standard"), r.writeAttributeString("style:class", "extra"), r.writeStartElement("style:paragraph-properties"), r.writeAttributeString("text:number-lines", "false"), r.writeAttributeString("text:line-number", "0"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:style"), r.writeAttributeString("style:name", "Graphics"), r.writeAttributeString("style:family", "graphic"), r.writeStartElement("style:graphic-properties"), r.writeAttributeString("text:anchor-type", "paragraph"), r.writeAttributeString("svg:x", "0cm"), r.writeAttributeString("svg:y", "0cm"), r.writeAttributeString("style:wrap", "dynamic"), r.writeAttributeString("style:number-wrapped-paragraphs", "no-limit"), r.writeAttributeString("style:wrap-contour", "false"), r.writeAttributeString("style:vertical-pos", "top"), r.writeAttributeString("style:vertical-rel", "paragraph"), r.writeAttributeString("style:horizontal-pos", "center"), r.writeAttributeString("style:horizontal-rel", "paragraph"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("text:outline-style"), r.writeStartElement("text:outline-level-style"), r.writeAttributeString("text:level", "1"), r.writeAttributeString("style:num-format", ""), r.writeStartElement("style:list-level-properties"), r.writeAttributeString("text:min-label-distance", "0.381cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("text:outline-level-style"), r.writeAttributeString("text:level", "2"), r.writeAttributeString("style:num-format", ""), r.writeStartElement("style:list-level-properties"), r.writeAttributeString("text:min-label-distance", "0.381cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("text:outline-level-style"), r.writeAttributeString("text:level", "3"), r.writeAttributeString("style:num-format", ""), r.writeStartElement("style:list-level-properties"), r.writeAttributeString("text:min-label-distance", "0.381cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("text:outline-level-style"), r.writeAttributeString("text:level", "4"), r.writeAttributeString("style:num-format", ""), r.writeStartElement("style:list-level-properties"), r.writeAttributeString("text:min-label-distance", "0.381cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("text:outline-level-style"), r.writeAttributeString("text:level", "5"), r.writeAttributeString("style:num-format", ""), r.writeStartElement("style:list-level-properties"), r.writeAttributeString("text:min-label-distance", "0.381cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("text:outline-level-style"), r.writeAttributeString("text:level", "6"), r.writeAttributeString("style:num-format", ""), r.writeStartElement("style:list-level-properties"), r.writeAttributeString("text:min-label-distance", "0.381cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("text:outline-level-style"), r.writeAttributeString("text:level", "7"), r.writeAttributeString("style:num-format", ""), r.writeStartElement("style:list-level-properties"), r.writeAttributeString("text:min-label-distance", "0.381cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("text:outline-level-style"), r.writeAttributeString("text:level", "8"), r.writeAttributeString("style:num-format", ""), r.writeStartElement("style:list-level-properties"), r.writeAttributeString("text:min-label-distance", "0.381cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("text:outline-level-style"), r.writeAttributeString("text:level", "9"), r.writeAttributeString("style:num-format", ""), r.writeStartElement("style:list-level-properties"), r.writeAttributeString("text:min-label-distance", "0.381cm"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("text:outline-level-style"), r.writeAttributeString("text:level", "10"), r.writeAttributeString("style:num-format", ""), r.writeStartElement("style:list-level-properties"), r.writeAttributeString("text:min-label-distance", "0.381cm"), r.writeEndElement(), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("text:notes-configuration"), r.writeAttributeString("text:note-class", "footnote"), r.writeAttributeString("style:num-format", "1"), r.writeAttributeString("text:start-value", "0"), r.writeAttributeString("text:footnotes-position", "page"), r.writeAttributeString("text:start-numbering-at", "document"), r.writeEndElement(), r.writeStartElement("text:notes-configuration"), r.writeAttributeString("text:note-class", "endnote"), r.writeAttributeString("style:num-format", "i"), r.writeAttributeString("text:start-value", "0"), r.writeEndElement(), r.writeStartElement("text:linenumbering-configuration"), r.writeAttributeString("text:number-lines", "false"), r.writeAttributeString("text:offset", "0.499cm"), r.writeAttributeString("style:num-format", "1"), r.writeAttributeString("text:number-position", "left"), r.writeAttributeString("text:increment", "5"), r.writeEndElement(), r.writeEndElement(); var i = t.getByIndex(0) , n = i.unit.convertToHInches(i.pageHeight * i.segmentPerHeight) , o = i.unit.convertToHInches(i.pageWidth * i.segmentPerWidth) , a = i.unit.convertToHInches(i.margins.left) , s = i.unit.convertToHInches(i.margins.right) , l = i.unit.convertToHInches(i.margins.top) , c = i.unit.convertToHInches(i.margins.bottom) - 4; return c < 0 && (c = 0), r.writeStartElement("office:automatic-styles"), r.writeStartElement("style:page-layout"), r.writeAttributeString("style:name", "pm1"), r.writeStartElement("style:page-layout-properties"), r.writeAttributeString("fo:page-width", this.doubleToString(o)), r.writeAttributeString("fo:page-height", this.doubleToString(n)), r.writeAttributeString("style:num-format", "1"), r.writeAttributeString("style:print-orientation", i.orientation == u.Portrait ? "portrait" : "landscape"), r.writeAttributeString("fo:margin-top", this.doubleToString(l)), r.writeAttributeString("fo:margin-bottom", this.doubleToString(c)), r.writeAttributeString("fo:margin-left", this.doubleToString(a)), r.writeAttributeString("fo:margin-right", this.doubleToString(s)), r.writeAttributeString("style:writing-mode", "lr-tb"), r.writeAttributeString("style:footnote-max-height", "0cm"), r.writeStartElement("style:footnote-sep"), r.writeAttributeString("style:width", "0.018cm"), r.writeAttributeString("style:distance-before-sep", "0.101cm"), r.writeAttributeString("style:distance-after-sep", "0.101cm"), r.writeAttributeString("style:adjustment", "left"), r.writeAttributeString("style:rel-width", "25%"), r.writeAttributeString("style:color", "#000000"), r.writeEndElement(), r.writeEndElement(), r.writeStartElement("style:header-style"), r.writeEndElement(), r.writeStartElement("style:footer-style"), r.writeEndElement(), r.writeEndElement(), r.writeFullEndElement(), r.writeStartElement("office:master-styles"), r.writeStartElement("style:master-page"), r.writeAttributeString("style:name", "Standard"), r.writeAttributeString("style:page-layout-name", "pm1"), r.writeEndElement(), r.writeEndElement(), r.writeFullEndElement(), r.writeEndDocument(), r.flush(), e } , b.prototype.writeContent = function() { var r, i, n, u, c = new S, d = new p(h.UTF8,c); d.indentation = this.xmlIndentation < 0 ? 0 : this.xmlIndentation, d.formatting = this.xmlIndentation < 0 ? m.None : m.Indented, d.writeStartDocument(), d.writeStartElement("office:document-content"), d.writeAttributeString("xmlns:office", "urn:oasis:names:tc:opendocument:xmlns:office:1.0"), d.writeAttributeString("xmlns:style", "urn:oasis:names:tc:opendocument:xmlns:style:1.0"), d.writeAttributeString("xmlns:text", "urn:oasis:names:tc:opendocument:xmlns:text:1.0"), d.writeAttributeString("xmlns:table", "urn:oasis:names:tc:opendocument:xmlns:table:1.0"), d.writeAttributeString("xmlns:draw", "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"), d.writeAttributeString("xmlns:fo", "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"), d.writeAttributeString("xmlns:xlink", "http://www.w3.org/1999/xlink"), d.writeAttributeString("xmlns:dc", "http://purl.org/dc/elements/1.1/"), d.writeAttributeString("xmlns:meta", "urn:oasis:names:tc:opendocument:xmlns:meta:1.0"), d.writeAttributeString("xmlns:number", "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"), d.writeAttributeString("xmlns:svg", "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"), d.writeAttributeString("xmlns:chart", "urn:oasis:names:tc:opendocument:xmlns:chart:1.0"), d.writeAttributeString("xmlns:dr3d", "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"), d.writeAttributeString("xmlns:math", "http://www.w3.org/1998/Math/MathML"), d.writeAttributeString("xmlns:form", "urn:oasis:names:tc:opendocument:xmlns:form:1.0"), d.writeAttributeString("xmlns:script", "urn:oasis:names:tc:opendocument:xmlns:script:1.0"), d.writeAttributeString("xmlns:ooo", "http://openoffice.org/2004/office"), d.writeAttributeString("xmlns:ooow", "http://openoffice.org/2004/writer"), d.writeAttributeString("xmlns:oooc", "http://openoffice.org/2004/calc"), d.writeAttributeString("xmlns:dom", "http://www.w3.org/2001/xml-events"), d.writeAttributeString("xmlns:xforms", "http://www.w3.org/2002/xforms"), d.writeAttributeString("xmlns:xsd", "http://www.w3.org/2001/XMLSchema"), d.writeAttributeString("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"), d.writeAttributeString("office:version", "1.1"); for (var g = s.create(Boolean, this.matrix.coordY.countItems, this.matrix.coordX.countItems), A = s.create(Number, this.matrix.coordY.countItems, this.matrix.coordX.countItems), y = new l, b = new l, v = [], C = 1; C < this.matrix.coordY.countItems; C++) { var E = this.matrix.coordY.getByIndex(C) - this.matrix.coordY.getByIndex(C - 1); if (!y.containsKey(E)) { var B = y.count; y.set(E, B), b.set(B, E) } v[C - 1] = 0 | y.get(E); for (var T = 1; T < this.matrix.coordX.countItems; T++) { var I = this.matrix.cells[C - 1][T - 1]; if (!g[C][T]) if (null != I) { for (var x = 0; x <= I.height; x++) for (var F = 0; F <= I.width; F++) g[C + x][T + F] = !0; A[C - 1][T - 1] = this.getCellStyleNumber(C - 1, T - 1, I.height + 1, I.width + 1); var D = this.getParagraphStyleNumber(C - 1, T - 1) } else A[C - 1][T - 1] = this.getCellStyleNumber(C - 1, T - 1, 1, 1) } } d.writeStartElement("office:scripts"), d.writeEndElement(); var R = new l; try { for (var P = __values(this.paragraphStyleList), N = P.next(); !N.done; N = P.next()) { var k = N.value; R.set(k.FontName, k.FontName) } } catch (t) { r = { error: t } } finally { try { N && !N.done && (i = P.return) && i.call(P) } finally { if (r) throw r.error } } d.writeStartElement("office:font-face-decls"); try { for (var M = __values(R.keys), O = M.next(); !O.done; O = M.next()) { var _ = O.value , L = R.get(_); d.writeStartElement("style:font-face"), d.writeAttributeString("style:name", L), d.writeAttributeString("svg:font-family", L), d.writeEndElement() } } catch (t) { n = { error: t } } finally { try { O && !O.done && (u = M.return) && u.call(M) } finally { if (n) throw n.error } } d.writeEndElement(), d.writeStartElement("office:automatic-styles"), d.writeStartElement("style:style"), d.writeAttributeString("style:name", "Table1"), d.writeAttributeString("style:family", "table"), d.writeStartElement("style:table-properties"); var j = this.matrix.coordX.getByIndex(this.matrix.coordX.countItems - 1) - this.matrix.coordX.getByIndex(0); d.writeAttributeString("style:width", this.doubleToString(j)), d.writeAttributeString("table:align", "left"), d.writeEndElement(), d.writeEndElement(); for (var T = 0; T < this.matrix.coordX.countItems - 1; T++) { d.writeStartElement("style:style"), d.writeAttributeString("style:name", f.format("Table1.{0}", this.getColumnName(T))), d.writeAttributeString("style:family", "table-column"), d.writeStartElement("style:table-column-properties"); var H = this.matrix.coordX.getByIndex(T + 1) - this.matrix.coordX.getByIndex(T); d.writeAttributeString("style:column-width", this.doubleToString(H)), d.writeEndElement(), d.writeEndElement() } for (var C = 0; C < y.count; C++) { d.writeStartElement("style:style"), d.writeAttributeString("style:name", f.format("Table1.{0}", C + 1)), d.writeAttributeString("style:family", "table-row"), d.writeStartElement("style:table-row-properties"); var E = b.get(C); d.writeAttributeString("style:row-height", this.doubleToString(E)), d.writeEndElement(), d.writeEndElement() } for (var G = 0; G < this.cellStyleList.countItems; G++) { var Q = this.cellStyleList[G]; d.writeStartElement("style:style"), d.writeAttributeString("style:name", f.format("cell{0}", G + 1)), d.writeAttributeString("style:family", "table-cell"), d.writeStartElement("style:table-cell-properties"), Q.VertAlign == StiVertAlignment.Center && d.writeAttributeString("style:vertical-align", "middle"), Q.VertAlign == StiVertAlignment.Bottom && d.writeAttributeString("style:vertical-align", "bottom"), Q.BackColor.a > 0 ? d.writeAttributeString("fo:background-color", this.getColorString(Q.BackColor)) : d.writeAttributeString("fo:background-color", "transparent"), d.writeAttributeString("fo:padding", "0in"), d.writeAttributeString("fo:border-left", Q.BorderLeft), d.writeAttributeString("fo:border-right", Q.BorderRight), d.writeAttributeString("fo:border-top", Q.BorderTop), d.writeAttributeString("fo:border-bottom", Q.BorderBottom), d.writeEndElement(), d.writeEndElement() } for (var G = 0; G < this.paragraphStyleList.countItems; G++) { var Q = this.paragraphStyleList[G]; d.writeStartElement("style:style"), d.writeAttributeString("style:name", f.format("par{0}", G + 1)), d.writeAttributeString("style:family", "paragraph"), d.writeAttributeString("style:parent-style-name", "Table_20_Contents"), Q.HorAlign != StiTextHorAlignment.Left && (d.writeStartElement("style:paragraph-properties"), Q.HorAlign == StiTextHorAlignment.Center && d.writeAttributeString("fo:text-align", "center"), Q.HorAlign == StiTextHorAlignment.Right && d.writeAttributeString("fo:text-align", "right"), Q.HorAlign == StiTextHorAlignment.Width && d.writeAttributeString("fo:text-align", "justify"), d.writeEndElement()), d.writeStartElement("style:text-properties"), d.writeAttributeString("fo:color", this.getColorString(Q.FontColor)), d.writeAttributeString("style:font-name", Q.FontName); var Y = f.format("{0}pt", Q.FontSize).stimulsoft.replaceAll(",", "."); d.writeAttributeString("fo:font-size", Y), d.writeAttributeString("fo:font-size-asian", Y), d.writeAttributeString("fo:font-size-complex", Y), Q.Italic && (d.writeAttributeString("fo:font-style", "italic"), d.writeAttributeString("fo:font-style-asian", "italic"), d.writeAttributeString("fo:font-style-complex", "italic")), Q.Underline && (d.writeAttributeString("style:text-underline-style", "solid"), d.writeAttributeString("style:text-underline-width", "auto"), d.writeAttributeString("style:text-underline-color", "font-color")), Q.Bold && (d.writeAttributeString("fo:font-weight", "bold"), d.writeAttributeString("fo:font-weight-asian", "bold"), d.writeAttributeString("fo:font-weight-complex", "bold")), 0 != Q.Angle && d.writeAttributeString("style:text-rotation-angle", f.format("{0}", Q.Angle)), d.writeEndElement(), d.writeEndElement() } d.writeStartElement("style:style"), d.writeAttributeString("style:name", "parEnd"), d.writeAttributeString("style:family", "paragraph"), d.writeAttributeString("style:parent-style-name", "Table_20_Contents"), d.writeStartElement("style:text-properties"); var U = f.format("{0}pt", 1).stimulsoft.replaceAll(",", "."); d.writeAttributeString("fo:font-size", U), d.writeAttributeString("fo:font-size-asian", U), d.writeAttributeString("fo:font-size-complex", U), d.writeEndElement(), d.writeEndElement(), d.writeStartElement("style:style"), d.writeAttributeString("style:name", "fr1"), d.writeAttributeString("style:family", "graphic"), d.writeAttributeString("style:parent-style-name", "Graphics"), d.writeStartElement("style:graphic-properties"), d.writeAttributeString("style:vertical-pos", "middle"), d.writeAttributeString("style:vertical-rel", "paragraph"), d.writeAttributeString("style:horizontal-pos", "center"), d.writeAttributeString("style:horizontal-rel", "paragraph"), d.writeAttributeString("fo:background-color", "transparent"), d.writeAttributeString("style:background-transparency", "100%"), d.writeAttributeString("style:shadow", "none"), d.writeAttributeString("style:mirror", "none"), d.writeAttributeString("fo:clip", "rect(0cm 0cm 0cm 0cm)"), d.writeAttributeString("draw:luminance", "0%"), d.writeAttributeString("draw:contrast", "0%"), d.writeAttributeString("draw:red", "0%"), d.writeAttributeString("draw:green", "0%"), d.writeAttributeString("draw:blue", "0%"), d.writeAttributeString("draw:gamma", "100%"), d.writeAttributeString("draw:color-inversion", "false"), d.writeAttributeString("draw:image-opacity", "100%"), d.writeAttributeString("draw:color-mode", "standard"), d.writeEndElement(), d.writeEndElement(), d.writeEndElement(), d.writeStartElement("office:body"), d.writeStartElement("office:text"), d.writeStartElement("office:forms"), d.writeAttributeString("form:automatic-focus", "false"), d.writeAttributeString("form:apply-design-mode", "false"), d.writeEndElement(), d.writeStartElement("text:sequence-decls"), d.writeStartElement("text:sequence-decl"), d.writeAttributeString("text:display-outline-level", "0"), d.writeAttributeString("text:name", "Illustration"), d.writeEndElement(), d.writeStartElement("text:sequence-decl"), d.writeAttributeString("text:display-outline-level", "0"), d.writeAttributeString("text:name", "Table"), d.writeEndElement(), d.writeStartElement("text:sequence-decl"), d.writeAttributeString("text:display-outline-level", "0"), d.writeAttributeString("text:name", "Text"), d.writeEndElement(), d.writeStartElement("text:sequence-decl"), d.writeAttributeString("text:display-outline-level", "0"), d.writeAttributeString("text:name", "Drawing"), d.writeEndElement(), d.writeEndElement(), g = s.create(Boolean, this.matrix.coordY.countItems, this.matrix.coordX.countItems), d.writeStartElement("table:table"), d.writeAttributeString("table:name", "Table1"), d.writeAttributeString("table:style-name", "Table1"); for (var T = 0; T < this.matrix.coordX.countItems - 1; T++) d.writeStartElement("table:table-column"), d.writeAttributeString("table:style-name", f.format("Table1.{0}", this.getColumnName(T))), d.writeEndElement(); for (var J = Math.max(this.matrix.coordY.countItems / 200, 1), W = 0, C = 1; C < this.matrix.coordY.countItems; C++) { var V = C / J | 0; V > W && (W = V, this.invokeExporting2(C, this.matrix.coordY.countItems, this.currentPassNumber, this.maximumPassNumber)), d.writeStartElement("table:table-row"), d.writeAttributeString("table:style-name", f.format("Table1.{0}", v[C - 1] + 1)); for (var T = 1; T < this.matrix.coordX.countItems; T++) { var I = this.matrix.cells[C - 1][T - 1]; if (g[C][T]) d.writeStartElement("table:covered-table-cell"), d.writeEndElement(); else if (null != I) { for (var x = 0; x <= I.height; x++) for (var F = 0; F <= I.width; F++) g[C + x][T + F] = !0; var z = A[C - 1][T - 1] , X = this.getParagraphStyleNumber(C - 1, T - 1); if (d.writeStartElement("table:table-cell"), d.writeAttributeString("table:style-name", f.format("cell{0}", z + 1)), I.width > 0 && d.writeAttributeString("table:number-columns-spanned", f.format("{0}", I.width + 1)), I.height > 0 && d.writeAttributeString("table:number-rows-spanned", f.format("{0}", I.height + 1)), d.writeAttributeString("office:value-type", "string"), I.component.stimulsoft.is(a) && !I.component.isExportAsImage(e.StiExportFormat.Odt) && null != I.text) { var K = I.text; 0 != this.paragraphStyleList[X].stimulsoft.as(w).Angle && (K = K.stimulsoft.replaceAll("\n", " ")); for (var Z = t.Report.Export.StiExportUtils.splitString(K, !0), q = 0; q < Z.countItems; q++) { var $ = Z[q]; d.writeStartElement("text:p"), d.writeAttributeString("text:style-name", f.format("par{0}", X + 1)), d.writeString($), d.writeEndElement() } } if (I.component.isExportAsImage(e.StiExportFormat.Odt)) { var tt = I.component.stimulsoft.as(o); if (null != tt) { var et = this.imageResolution , rt = { ref: et } , it = tt.getImage(rt); if (et = rt.ref, null != it) { var nt = this.imageCache.addImageIntRaw(it, it.imageFormat) , ot = this.matrix.coordX.getByIndex(T + I.width) - this.matrix.coordX.getByIndex(T - 1) , at = this.matrix.coordY.getByIndex(C + I.height) - this.matrix.coordY.getByIndex(C - 1); d.writeStartElement("text:p"), d.writeAttributeString("text:style-name", "Table_20_Contents"), d.writeStartElement("draw:frame"), d.writeAttributeString("draw:style-name", "fr1"), d.writeAttributeString("draw:name", f.format("Picture{0}", nt + 1)), d.writeAttributeString("text:anchor-type", "paragraph"), d.writeAttributeString("svg:width", this.doubleToString(ot)), d.writeAttributeString("svg:height", this.doubleToString(at)), d.writeAttributeString("draw:z-index", "0"), d.writeStartElement("draw:image"), d.writeAttributeString("xlink:href", f.format("Pictures/{0:D5}.jpg", nt + 1)), d.writeAttributeString("xlink:type", "simple"), d.writeAttributeString("xlink:show", "embed"), d.writeAttributeString("xlink:actuate", "onLoad"), d.writeEndElement(), d.writeEndElement(), d.writeEndElement() } } } d.writeEndElement() } else { var z = A[C - 1][T - 1]; d.writeStartElement("table:table-cell"), d.writeAttributeString("table:style-name", f.format("cell{0}", z + 1)), d.writeEndElement() } } d.writeEndElement() } return d.writeEndElement(), d.writeStartElement("text:p"), d.writeAttributeString("text:style-name", "parEnd"), d.writeEndElement(), d.writeEndElement(), d.writeEndElement(), d.writeFullEndElement(), d.writeEndDocument(), d.flush(), c } , b.prototype.exportOdt = function(t, o, a) { if (null == a) throw new Error("The 'settings' argument cannot be equal in null."); var s = a.pageRange; this.usePageHeadersAndFooters = a.usePageHeadersAndFooters, this._removeEmptySpaceAtBottom = a.removeEmptySpaceAtBottom, this.imageResolution = a.imageResolution, this.imageQuality = a.imageQuality, this.xmlIndentation = -1, this.imageQuality < 0 && (this.imageQuality = 0), this.imageQuality > 1 && (this.imageQuality = 1), this.imageResolution < 10 && (this.imageResolution = 10), this.imageResolution = this.imageResolution / 100; try { this.imageCache = new e.StiImageCache(StiOptions.Export.OpenDocumentWriter.allowImageComparer,!0,n.Jpeg,this.imageQuality,!1), this.cellStyleList = [], this.paragraphStyleList = [], this.currentPassNumber = 0, this.maximumPassNumber = 3 + (StiOptions.Export.OpenDocumentWriter.divideSegmentPages ? 1 : 0); var l = s.getSelectedPages(t.renderedPages); if (StiOptions.Export.OpenDocumentWriter.divideSegmentPages && (l = r.StiSegmentPagesDivider.divide(l, this), this.currentPassNumber++), this.isStopped) return; var u = new i; if (u.begin(o, !0), this._matrix = new r.StiMatrix(l,!0,this), this.currentPassNumber = 2 + (StiOptions.Export.OpenDocumentWriter.divideSegmentPages ? 1 : 0), u.addFile("content.xml", this.writeContent()), u.addFile("mimetype", this.writeMimetype()), u.addFile("meta.xml", this.writeMeta()), u.addFile("META-INF/manifest.xml", this.writeManifest()), u.addFile("settings.xml", this.writeSettings()), u.addFile("styles.xml", this.writeStyles(l)), this.imageCache.imagePackedStore.countItems > 0) for (var c = 0; c < this.imageCache.imagePackedStore.countItems; c++) u.addFile(f.format("Pictures/{0:D5}.jpg", c + 1), this.writeImage(c)); u.end() } finally { null != this.matrix && (this.matrix.clear(), this._matrix = null), this.cellStyleList.clear(), this.cellStyleList = null, this.paragraphStyleList.clear(), this.paragraphStyleList = null, this.imageCache.clear(), this.imageCache = null, t.renderedPages.cacheMode && r.StiMatrix.GCCollect() } } , b }(r.StiExportService); r.StiOdtExportService = b }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Base.Localization.StiLocalization , n = function() { function t() {} return t }() , o = function() { function t() {} return t }() , a = function(t) { function n() { var r = null !== t && t.apply(this, arguments) || this; return r.colorList = null, r.fontList = null, r.styleList = null, r.unicodeMapArray = null, r.codePageToFont = null, r.charsetCount = 0, r.fontToCodePages = null, r.baseFontNumber = 0, r.usePageHeadersAndFooters = !1, r.imageResolution = .96, r.imageQuality = .75, r.imageFormat = e.StiExportFormat.Rtf, r.useStyles = !1, r.bookmarkList = null, r.usedBookmarks = null, r } return __extends(n, t), Object.defineProperty(n.prototype, "defaultExtension", { get: function() { return "rtf" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "exportFormat", { get: function() { return e.StiExportFormat.Rtf }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "groupCategory", { get: function() { return "Word" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "position", { get: function() { return r.StiExportPosition.Rtf }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "exportNameInMenu", { get: function() { return i.get("Export", "ExportTypeRtfFile") }, enumerable: !0, configurable: !0 }), n.prototype.getFilter = function() { return i.get("FileFilters", "RtfFiles") } , n.prototype.exportTo = function(t, e, r) {} , Object.defineProperty(n.prototype, "multipleFiles", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), n.prototype.getColorNumberInt = function(t, e) { if (t.length > 0) for (var r = 0; r < t.length; r++) if (t[r].stimulsoft.equals(e)) return r; return t.add(e), t.length - 1 } , n.prototype.getColorNumber = function(t, e) { return this.getColorNumberInt(t, e).toString() } , n.prototype.getFontNumber2 = function(t, e) { if (t.length > 0) for (var r = 0; r < t.length; r++) { var i = t[r]; if (i.name == e.name) return r * (0 == this.charsetCount ? 1 : this.charsetCount) } return t.add(e), (t.length - 1) * (0 == this.charsetCount ? 1 : this.charsetCount) } , n.prototype.getFontNumber3 = function(t, e, r) { if (t.length > 0) for (var i = 0; i < t.length; i++) { var n = t[i]; if (n.name == e.name) return i * (0 == this.charsetCount ? 1 : this.charsetCount) + this.getCharsetIndex(r) } return t.add(e), (t.length - 1) * (0 == this.charsetCount ? 1 : this.charsetCount) + this.getCharsetIndex(r) } , n.prototype.getCharsetIndex = function(t) { var e = 0; if (0 == this.charsetCount) return this.codePageToFont[e] = 1, 0; return this.codePageToFont[e] } , n }(r.StiExportService); r.StiRtfExportService = a }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Report.Export.StiTxtBorderType , n = t.Report.Components.IStiTextHorAlignment , o = t.Report.Components.IStiVertAlignment , a = t.Base.Drawing.StiTextRenderer , s = t.Base.Drawing.StiHtmlState , l = t.Report.Components.StiText , u = t.Report.Components.StiCheckBox , c = t.System.StiString , m = t.System.IO.StreamWriter , p = t.System.StiArray , h = t.Report.Components.IStiTextOptions , d = t.System.Char , g = t.System.Text.StringBuilder , f = t.System.IO.MemoryStream , S = t.Base.Drawing.StiTextHorAlignment , A = t.Base.Localization.StiLocalization , y = function(y) { function b() { var t = null !== y && y.apply(this, arguments) || this; return t.borderCodes = [6, 9, 12, 10, 5, 3, 13, 11, 14, 7, 15, 1, 2, 4, 8], t.firstEscapeCodeIndex = 63742, t.ltrMark = " 0E", t.useFullVerticalBorder = !0, t.useFullHorizontalBorder = !0, t } return __extends(b, y), Object.defineProperty(b.prototype, "defaultExtension", { get: function() { return "txt" }, enumerable: !0, configurable: !0 }), b.prototype.exportTo = function(t, e, r) { this.exportTxt(t, e, r) } , b.prototype.exportToAsync = function(t, e, r, i) { this.exportTo(e, r, i), t() } , Object.defineProperty(b.prototype, "exportFormat", { get: function() { return e.StiExportFormat.Text }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "groupCategory", { get: function() { return "Word" }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "position", { get: function() { return r.StiExportPosition.Txt }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "exportNameInMenu", { get: function() { return A.get("Export", "ExportTypeTxtFile") }, enumerable: !0, configurable: !0 }), b.prototype.getFilter = function() { return A.get("FileFilters", "TxtFiles") } , Object.defineProperty(b.prototype, "multipleFiles", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), b.prototype.getBorderChar = function(t, e) { if (this.useFullVerticalBorder) switch (e) { case i.UnicodeSingle: return "─│┌┐└┘├┤┬┴┼ ─ ".charCodeAt(t); case i.UnicodeDouble: return "═║╔╗╚╝╠╣╦╩╬ ═ ".charCodeAt(t); default: return "-|+++++++++ - ".charCodeAt(t) } else switch (e) { case i.UnicodeSingle: return "─│┌┐└┘├┤┬┴┼ ".charCodeAt(t); case i.UnicodeDouble: return "═║╔╗╚╝╠╣╦╩╬ ".charCodeAt(t); default: return "-|+++++++++ ".charCodeAt(t) } } , b.prototype.lineFill = function(t, e, r, i) { for (var n = this.borderCodes[e - 1], o = 0; o < i; o++) -1 == this.borderCodes.indexOf(t[r + o]) ? 32 == t[r + o] && (t[r + o] = n) : t[r + o] |= n } , b.prototype.lineFillChar = function(t, e, r, i) { for (var n = 0; n < i; n++) t[r + n] = e } , b.prototype.checkWordWrap = function(t, e, i, n) { var o = e.ref; if (this.useEscapeCodes) for (var a = 0; a < o.length; a++) { var s = o[a] , l = new g(s); if (r.StiBidirectionalConvert.stringContainArabicOrHebrew(s)) { var u = s.length; while (d.isWhitespace(s, u - 1)) u--; l.insert(u, "<#ltrMark>") } var c = 0; while (c < l.length) { if ("<" == l.charAt(c) && c < l.length + 1 && "#" == l.charAt(c + 1)) { var m = c , f = new g; while ("<" == l.charAt(m) && m < l.length + 1 && "#" == l.charAt(m + 1)) { while (m < l.length && ">" != l.charAt(m)) f.append(l.charAt(m)), m++; if (f.append(">"), ++m > l.length - 1) break } m > l.length - 1 ? f.append(String.fromCharCode(65535)) : (f.append(l.charAt(m)), m++); var S = this.getEscapeNumber(this.escapeCodesList, f.toString()); l.remove(c, m - c), l.insert(c, String.fromCharCode(this.firstEscapeCodeIndex - S)) } c++ } l.length != o[a].length && (o[a] = l.toString()) } else for (var a = 0; a < o.length; a++) if (r.StiBidirectionalConvert.stringContainArabicOrHebrew(o[a])) { var s = o[a] , c = s.length - 1; while (d.isWhitespace(s, c)) c--; var f = s.charAt(c) + this.ltrMark , S = this.getEscapeNumber(this.escapeCodesList, f); c == s.length - 1 ? o[a] = s.substring(0, c) + String.fromCharCode(this.firstEscapeCodeIndex - S) : o[a] = s.substring(0, c) + String.fromCharCode(this.firstEscapeCodeIndex - S) + s.substring(c + 1) } var A = i; this.useFullVerticalBorder ? this.needVerticalBorders[t.left + t.width] && A-- : !this.useFullTextBoxWidth && A > 1 && A--; var y = !1 , w = t.component.stimulsoft.as(h); if (null != w && (y = w.textOptions.wordWrap), y) { for (var b = o.clone(), v = 0; v < b.length; v++) { var C = b[v]; if (C.length > A - 1 && A > 1) { var E = p.create(Number, C.length) , B = 0 , T = 0; while (" " == C.charAt(T)) E[T] = B, T++; for (var I = T; I < C.length; I++) " " == C.charAt(I) && B++, E[I] = B; var a = A - 1 - 1 , x = a; if (E[a] > 0) if (E[a] != E[a + 1]) { x = a++; while (" " == C.charAt(a)) a++ } else { while (" " != C.charAt(a)) a--; x = a++; while (" " == C.charAt(x)) x-- } else a++; b[v] = C.substring(0, x + 1), b.insert(v + 1, C.substring(a, C.length - a)) } } b.length > o.length && (o = b) } if (n) for (var a = 0; a < o.length; a++) o[a].length > A && (o[a] = o[a].substring(0, A)); e.ref = o } , b.prototype.checkGrow = function(t, e, r) { while (t.length <= r) t.add([]), e.add(!1) } , b.prototype.addCharsToLine = function(t, e, r, i) { for (var n = 0; n < r; n++) t[e].push(i) } , b.prototype.getStyleNumber = function(t, e) { if (t.length > 0) for (var r = 0; r < t.length; r++) { var i = t[r]; if (i.Bold == e.Bold && i.Italic == e.Italic && i.Underline == e.Underline && i.Codes == e.Codes) return r } return t.add(e), t.length - 1 } , b.prototype.getEscapeNumber = function(t, e) { if (t.length > 0) for (var r = 0; r < t.length; r++) if (t[r] == e) return r + 1; return t.add(e), t.length } , b.prototype.getEscapeNames = function(t, e) { var r = this.styleList[t] , i = this.styleList[e] , n = new g; return !r.Bold && i.Bold && n.append("<#b>"), r.Bold && !i.Bold && n.append("<#/b>"), !r.Italic && i.Italic && n.append("<#i>"), r.Italic && !i.Italic && n.append("<#/i>"), !r.Underline && i.Underline && n.append("<#u>"), r.Underline && !i.Underline && n.append("<#/u>"), n } , b.prototype.exportTxt = function(i, h, d) { var A, y, b, v; if (this.report = i, null == d) throw new Error("The 'settings' argument cannot be equal in null."); var C = d.pageRange , E = d.encoding , B = d.drawBorder , T = d.borderType , I = d.killSpaceLines , x = d.killSpaceGraphLines , F = d.putFeedPageCode , D = d.cutLongLines , R = d.zoomX , P = d.zoomY; this.useEscapeCodes = d.useEscapeCodes; var N = d.escapeCodesCollectionName; this.useFullTextBoxWidth = StiOptions.Export.Text.useFullTextBoxWidth, this.useFullVerticalBorder = StiOptions.Export.Text.useFullVerticalBorder, this.useFullHorizontalBorder = StiOptions.Export.Text.useFullHorizontalBorder; var k = 9.7 , M = 18; 0 == I && (x = !1), 0 == B && (x = !1), this.useFullVerticalBorder && (this.useFullTextBoxWidth = !1); var O = new f , _ = null != E ? new m(O,E) : new m(O) , L = C.getSelectedPages(i.renderedPages) , j = 0; this.styleList = []; var H = new w; this.getStyleNumber(this.styleList, H), this.escapeCodesList = [], this.currentPassNumber = 0, this.maximumPassNumber = 3; var G = new r.StiMatrix(L,!1,this); if (this.isStopped) return; this.needVerticalBorders = p.create(Boolean, G.coordX.countItems); for (var Q = 1; Q < G.coordX.countItems; Q++) { for (var Y = !1, U = 1; U < G.coordY.countItems; U++) if (null != G.bordersY[U - 1][Q]) { Y = !0; break } this.needVerticalBorders[Q - 1] = Y } this.needHorizontalBorders = p.create(Boolean, G.coordY.countItems); for (var U = 1; U < G.coordY.countItems; U++) { for (var J = !1, Q = 1; Q < G.coordX.countItems; Q++) if (null != G.bordersX[U][Q - 1]) { J = !0; break } this.needHorizontalBorders[U - 1] = J } for (var W = p.create(Number, G.coordX.countItems), Q = 1; Q < G.coordX.countItems; Q++) { var V = G.coordX.getByIndex(Q) , z = G.coordX.getByIndex(Q - 1); W[Q - 1] = Math.round((V - z) / (k / R)), this.useFullVerticalBorder && this.needVerticalBorders[Q - 1] && W[Q - 1]++ } for (var X = p.create(Boolean, G.coordY.countItems, G.coordX.countItems), K = p.create(Number, G.coordY.countItems, G.coordX.countItems), Z = p.create(Number, G.coordY.countItems, G.coordX.countItems), U = 1; U < G.coordY.countItems; U++) for (var Q = 1; Q < G.coordX.countItems; Q++) if (!X[U - 1][Q - 1]) { var q = G.cells[U - 1][Q - 1]; if (K[U - 1][Q - 1] = W[Q - 1], null != q) { if (q.width > 0) for (var $ = 0; $ < q.width; $++) K[U - 1][Q - 1] += W[Q - 1 + 1 + $]; if (null != q.component) { if (null != q.component) { var tt = q.component.tagValue; if (!c.isNullOrWhiteSpace(tt)) { tt = tt.trim(); var et = parseInt(tt); !isNaN(et) && et > 0 && (K[U - 1][Q - 1] = et, this.useFullVerticalBorder && this.needVerticalBorders[Q - 1 + q.width] && K[U - 1][Q - 1]++) } } var rt = q.text , it = q.component.stimulsoft.as(u); if (null != it && null != it.checkedValue) { var nt = !1 , ot = !1; it.checkedValue.stimulsoft.is(Boolean) && (it.checkedValue ? nt = !0 : ot = !0), it.checkedValue.stimulsoft.is(String) && ("True" == it.checkedValue ? nt = !0 : ot = !0), nt && (rt = StiOptions.Export.Text.checkBoxTextForTrue), ot && (rt = StiOptions.Export.Text.checkBoxTextForFalse) } if (!q.component.isExportAsImage(e.StiExportFormat.Text) && !c.isNullOrEmpty(rt)) { if (q.component.stimulsoft.is(l) && q.component.stimulsoft.as(l).checkAllowHtmlTags()) { var at = new s("") , st = a.parseHtmlToStates(rt, at) , lt = new g; try { for (var ut = (A = void 0, __values(st)), ct = ut.next(); !ct.done; ct = ut.next()) { var mt = ct.value; lt.append(a.prepareStateText(mt.text)) } } catch (t) { A = { error: t } } finally { try { ct && !ct.done && (y = ut.return) && y.call(ut) } finally { if (A) throw A.error } } rt = lt.toString() } var pt = r.StiExportUtils.splitString(rt.stimulsoft.replaceAll("\r", ""), !1) , ht = { ref: pt }; this.checkWordWrap(q, ht, K[U - 1][Q - 1], D), pt = ht.ref; var dt = pt.length; Z[U - 1][Q - 1] = dt } } for (var gt = 0; gt <= q.height; gt++) { for (var ft = 0; ft <= q.width; ft++) X[U - 1 + gt][Q - 1 + ft] = !0; K[U - 1 + gt][Q - 1] = K[U - 1][Q - 1] } } } var St = p.create(Number, G.coordY.countItems); j = 1; for (var U = 1; U < G.coordY.countItems; U++) { var V = G.coordY.getByIndex(U) , z = G.coordY.getByIndex(U - 1) , At = Math.round((V - z) / (M / P)); At < 1 && (At = 1); for (var Q = 1; Q < G.coordX.countItems; Q++) { var q = G.cells[U - 1][Q - 1]; null != q && q.height < 1 && Z[U - 1][Q - 1] > At && (At = Z[U - 1][Q - 1]) } this.useFullHorizontalBorder && this.needHorizontalBorders[U - 1] && At++, St[U - 1] = At, j += At } j++; for (var yt = [], wt = [], bt = [], vt = 0; vt < j; vt++) yt.add([]), wt.add([]), bt.add(!1); X = p.create(Boolean, G.coordY.countItems, G.coordX.countItems); var Ct = B ? 1 : 0 , Et = new l; Et.vertAlignment = StiVertAlignment.Center, Et.horAlignment = S.Center, this.currentPassNumber = 2; for (var U = 1; U < G.coordY.countItems; U++) { this.invokeExporting2(U, G.coordY.countItems, this.currentPassNumber, this.maximumPassNumber); for (var vt = 0; vt < G.horizontalPageBreaks.length; vt++) G.horizontalPageBreaks[vt] == U - 1 && (bt[Ct - (B && U > 1 && this.needHorizontalBorders[U - 1 - 1] ? 1 : 0)] = !0); for (var Bt = B ? 1 : 0, Q = 1; Q < G.coordX.countItems; Q++) { var q = G.cells[U - 1][Q - 1] , Tt = K[U - 1][Q - 1] , It = St[U - 1]; if (!X[U - 1][Q - 1]) { var xt = 0 , Ft = 0 , Dt = 0; if (null != q) { xt = q.width, Ft = q.height; for (var ft = 0; ft <= q.width; ft++) for (var gt = 0; gt <= q.height; gt++) X[U - 1 + gt][Q - 1 + ft] = !0; if (q.height > 0) for (var $ = 0; $ < q.height; $++) It += St[U - 1 + 1 + $]; if (this.useFullHorizontalBorder && this.needHorizontalBorders[U - 1 + Ft] && It--, null != q.component) { var Rt = q.component.stimulsoft.as(l); if (null != Rt) { var Pt = new w; Pt.Bold = Rt.font.bold, Pt.Italic = Rt.font.italic, Pt.Underline = Rt.font.underline, Pt.Codes = null, Dt = this.getStyleNumber(this.styleList, Pt) } var rt = q.text , it = q.component.stimulsoft.as(u); if (null != it && null != it.checkedValue) { var nt = !1 , ot = !1; it.checkedValue.stimulsoft.is(Boolean) && (it.checkedValue ? nt = !0 : ot = !0), it.checkedValue.stimulsoft.is(String) && ("True" == it.checkedValue ? nt = !0 : ot = !0), nt && (rt = StiOptions.Export.Text.checkBoxTextForTrue), ot && (rt = StiOptions.Export.Text.checkBoxTextForFalse) } if (!q.component.isExportAsImage(e.StiExportFormat.Text) && !c.isNullOrEmpty(rt)) { if (q.component.stimulsoft.is(l) && q.component.stimulsoft.as(l).checkAllowHtmlTags()) { var at = new s("") , st = a.parseHtmlToStates(rt, at) , lt = new g; try { for (var Nt = (b = void 0, __values(st)), kt = Nt.next(); !kt.done; kt = Nt.next()) { var mt = kt.value; lt.append(a.prepareStateText(mt.text)) } } catch (t) { b = { error: t } } finally { try { kt && !kt.done && (v = Nt.return) && v.call(Nt) } finally { if (b) throw b.error } } rt = lt.toString() } var pt = r.StiExportUtils.splitString(rt.stimulsoft.replaceAll("\r", ""), !1) , ht = { ref: pt }; this.checkWordWrap(q, ht, K[U - 1][Q - 1], D), pt = ht.ref; var Mt = 0 , Ot = q.component.stimulsoft.as(o); null != it && (Ot = Et), null != Ot && pt.length < It && ((Ot.vertAlignment & StiVertAlignment.Center) > 0 && (Mt = Math.trunc((It - pt.length) / 2)), (Ot.vertAlignment & StiVertAlignment.Bottom) > 0 && (Mt = It - pt.length)); for (var vt = 0; vt < pt.length; vt++) { var _t = 0 , Lt = Tt; this.useFullVerticalBorder ? this.needVerticalBorders[q.left + q.width] && Lt-- : !this.useFullTextBoxWidth && Lt > 1 && Lt--; var jt = q.component.stimulsoft.as(n); null != it && (jt = Et), null != jt && (jt.horAlignment == S.Center && (_t = Math.trunc((Lt - pt[vt].length) / 2)), jt.horAlignment == S.Right && (_t = Lt - pt[vt].length)); var Ht = Bt + _t , Gt = Ct + Mt + vt; Ht < 0 && (Ht = 0); var Qt = Ht + pt[vt].length; this.checkGrow(yt, bt, Gt), yt[Gt].length < Qt && this.addCharsToLine(yt, Gt, Qt - yt[Gt].length, 32); for (var Yt = 0; Yt < pt[vt].length; Yt++) { var Ut = pt[vt].charCodeAt(Yt); Ut < 32 && (Ut += 65280), yt[Gt][Ht + Yt] = Ut } } } } } else this.useFullHorizontalBorder && this.needHorizontalBorders[U - 1] && It--; this.useFullHorizontalBorder || It--; for (var Jt = 0; Jt < It; Jt++) { wt[Ct + Jt].length < Bt + Tt && this.addCharsToLine(wt, Ct + Jt, Bt + Tt - wt[Ct + Jt].length, 0); var Lt = Tt; this.useFullVerticalBorder ? null != q && this.needVerticalBorders[q.left + q.width] && Lt-- : !this.useFullTextBoxWidth && Lt > 1 && Lt--, this.lineFillChar(wt[Ct + Jt], Dt, Bt, Lt) } if (B) { for (var Qt = Bt + Tt - 1, $ = -1; $ <= It; $++) this.checkGrow(yt, bt, Ct + $), yt[Ct + $].length < Qt + 1 && this.addCharsToLine(yt, Ct + $, Qt + 1 - yt[Ct + $].length, 32); for (var Wt = !0, Vt = !0, $ = 0; $ < Ft + 1; $++) null == G.bordersY[U - 1 + $][Q - 1] && (Wt = !1), null == G.bordersY[U - 1 + $][Q - 1 + xt + 1] && (Vt = !1); for (var zt = !0, Xt = !0, $ = 0; $ < xt + 1; $++) null == G.bordersX[U - 1][Q - 1 + $] && (zt = !1), null == G.bordersX[U - 1 + Ft + 1][Q - 1 + $] && (Xt = !1); if (zt && (this.lineFill(yt[Ct - 1], 14, Bt - 1, 1), this.lineFill(yt[Ct - 1], 1, Bt, Tt - 1), this.lineFill(yt[Ct - 1], 13, Bt + Tt - 1, 1)), Wt) { this.lineFill(yt[Ct - 1], 15, Bt - 1, 1); for (var $ = 0; $ < It; $++) this.lineFill(yt[Ct + $], 2, Bt - 1, 1); this.lineFill(yt[Ct + It], 12, Bt - 1, 1) } if (Vt) { this.lineFill(yt[Ct - 1], 15, Bt + Tt - 1, 1); for (var $ = 0; $ < It; $++) this.lineFill(yt[Ct + $], 2, Bt + Tt - 1, 1); this.lineFill(yt[Ct + It], 12, Bt + Tt - 1, 1) } Xt && (this.lineFill(yt[Ct + It], 14, Bt - 1, 1), this.lineFill(yt[Ct + It], 1, Bt, Tt - 1), this.lineFill(yt[Ct + It], 13, Bt + Tt - 1, 1)) } } Bt += Tt } Ct += St[U - 1] } if (B) { for (var Kt = !0, vt = 0; vt < yt.length; vt++) if (yt[vt].length > 0 && 32 != yt[vt][0]) { Kt = !1; break } if (Kt) for (var vt = 0; vt < yt.length; vt++) yt[vt].length > 0 && yt[vt].removeRange(0, 1), wt[vt].length > 0 && wt[vt].removeRange(0, 1) } if (!(t.Base.Licenses.StiLicenseKeyValidator.isValidOnJS() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnDbsJS() || (t.Base.Licenses.StiLicenseKeyValidator.isValidOnBI() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyReports() || t.Base.Licenses.StiLicenseKeyValidator.isValidOnAnyDbs()) && t.System.NodeJs.isStandaloneVersion)) { var Zt = (G.coordX.getByIndex(G.coordX.countItems - 1) - G.coordX.getByIndex(0)) / (k / R) , qt = Math.max(1, Math.trunc(Zt / 2 - 10)); _.writeLine(c.fill(" ", qt) + "---=== TRIAL ===---\r\n") } var $t = yt.length - 1; while ($t > 0 && 0 == yt[$t].length) $t--; for (var te = 0, vt = 0; vt < yt.length; vt++) { if (yt[vt].length > 0) { for (var $ = 0; $ < this.borderCodes.length; $++) for (var ee = this.borderCodes[$], re = this.getBorderChar($, T), Yt = 0; Yt < yt[vt].length; Yt++) yt[vt][Yt] == ee && (yt[vt][Yt] = re); if (StiOptions.Export.Text.trimTrailingSpaces, x) { for (var re = this.getBorderChar(1, T), ie = !0, $ = 0; $ < yt[vt].length; $++) { var ne = yt[vt][$]; ne != re && 32 != ne && (ie = !1) } ie && (yt[vt] = []) } F && bt[vt] && (this.useEscapeCodes && _.write(this.getEscapeNames(te, 0).toString()), te = 0, _.write("\f")), this.useEscapeCodes } var oe = yt[vt]; if (!I && vt <= $t || oe.length > 0) { var ae = oe.length; if (StiOptions.Export.Text.trimTrailingSpaces) while (ae > 0 && 32 == oe[ae - 1]) ae--; for (var se = "", le = 0; le < ae; le++) { var Ut = oe[le]; Ut >= 65280 && (Ut -= 65280), se += String.fromCharCode(Ut) } StiOptions.Export.Text.removeLastNewLineMarker && vt == $t ? _.write(se) : _.writeLine(se) } } var ue = new g; this.useEscapeCodes && ue.append(this.getEscapeNames(te, 0)), F && ue.append("\f"), ue.length > 0 && _.write(ue.toString()), _.flush(), this.useEscapeCodes, O.writeTo(h), O.close(), this.needVerticalBorders = null, this.needHorizontalBorders = null, this.styleList = null, this.escapeCodesList = null } , b }(r.StiExportService); r.StiTxtExportService = y; var w = function() { function t() {} return t }() }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function() { function e() {} return e.prototype.getExportFormat = function() { return t.StiExportFormat.None } , e }(); e.StiExportSettings = r }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { var r = null !== e && e.apply(this, arguments) || this; return r.pageRange = new t.StiPagesRange, r } return __extends(r, e), r }(e.StiExportSettings); e.StiPageRangeExportSettings = r }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.Encoding , n = function(t) { function n(e) { void 0 === e && (e = r.StiDataType.Csv); var n = t.call(this) || this; return n.dataType = r.StiDataType.Csv, n.dataExportMode = r.StiDataExportMode.Data, n.exportDataOnly = !1, n.codePage = r.StiDbfCodePages.Default, n.skipColumnHeaders = !1, n.useDefaultSystemEncoding = !0, n.dataType = e, n.encoding = i.UTF8, n.separator = ";", n } return __extends(n, t), n.prototype.getExportFormat = function() { if (this.dataType == r.StiDataType.Dbf) return e.StiExportFormat.Dbf; if (this.dataType == r.StiDataType.Dif) return e.StiExportFormat.Dif; if (this.dataType == r.StiDataType.Sylk) return e.StiExportFormat.Sylk; if (this.dataType == r.StiDataType.Xml) return e.StiExportFormat.Xml; return e.StiExportFormat.Csv } , n }(r.StiPageRangeExportSettings); r.StiDataExportSettings = n }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return e.call(this, t.StiDataType.Csv) || this } return __extends(r, e), r }(t.StiDataExportSettings); t.StiCsvExportSettings = e }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.Encoding , n = t.Base.Drawing.StiHorAlignment , o = function(t) { function o(o) { void 0 === o && (o = r.StiHtmlType.Html); var a = t.call(this) || this; return a.htmlType = r.StiHtmlType.Html, a.imageQuality = .75, a.imageResolution = 96, a.encoding = i.Default, a.zoom = 1, a.exportMode = r.StiHtmlExportMode.Table, a.exportQuality = r.StiHtmlExportQuality.High, a.addPageBreaks = !0, a.bookmarksTreeWidth = 150, a.exportBookmarksMode = r.StiHtmlExportBookmarksMode.All, a.useStylesTable = !0, a.removeEmptySpaceAtBottom = StiOptions.Export.Html.removeEmptySpaceAtBottom, a.pageHorAlignment = n.Left, a.compressToArchive = !1, a.useEmbeddedImages = !1, a.continuousPages = !0, a.chartType = r.StiHtmlChartType.AnimatedVector, a.openLinksTarget = null, a.useWatermarkMargins = !1, a.htmlType = o, a.encoding = i.UTF8, a.imageFormat = e.ImageFormat.Png, a } return __extends(o, t), o.prototype.getExportFormat = function() { if (this.htmlType == r.StiHtmlType.Html5) return e.StiExportFormat.Html5; if (this.htmlType == r.StiHtmlType.Mht) return e.StiExportFormat.Mht; return e.StiExportFormat.Html } , o }(r.StiPageRangeExportSettings); r.StiHtmlExportSettings = o }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return e.call(this, t.StiHtmlType.Html5) || this } return __extends(r, e), r }(t.StiHtmlExportSettings); t.StiHtml5ExportSettings = e }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Export.StiTiffCompressionScheme , i = t.Report.Export.StiPageRangeExportSettings , n = t.Report.StiExportFormat , o = t.Report.Export.StiImageFormat , a = t.Report.Export.StiMonochromeDitheringType , s = t.Report.Export.StiImageType , l = function(t) { function e(e) { void 0 === e && (e = s.Jpeg); var i = t.call(this) || this; return i.imageZoom = 1, i.imageResolution = 100, i.cutEdges = !1, i.imageFormat = o.Color, i.multipleFiles = !1, i.ditheringType = a.FloydSteinberg, i.tiffCompressionScheme = r.Default, i.imageType = e, i } return __extends(e, t), e.prototype.getExportFormat = function() { switch (this.imageType) { case s.Bmp: return n.ImageBmp; case s.Emf: return n.ImageEmf; case s.Gif: return n.ImageGif; case s.Jpeg: return n.ImageJpeg; case s.Pcx: return n.ImagePcx; case s.Png: return n.ImagePng; case s.Svg: return n.ImageSvg; case s.Svgz: return n.ImageSvgz; default: return n.ImageTiff } } , e }(i); e.StiImageExportSettings = l }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return e.call(this, t.StiImageType.Svg) || this } return __extends(r, e), r }(t.StiImageExportSettings); t.StiSvgExportSettings = e }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t) { void 0 === t && (t = e.StiExcelType.ExcelBinary); var i = r.call(this) || this; return i.excelType = e.StiExcelType.ExcelBinary, i.useOnePageHeaderAndFooter = !1, i.exportDataOnly = !1, i.exportPageBreaks = !1, i.exportObjectFormatting = !0, i.exportEachPageToSheet = !1, i.imageQuality = .75, i.imageResolution = 100, i.companyString = e.StiExportUtils.getReportVersion(), i.lastModifiedString = e.StiExportUtils.getReportVersion(), i.restrictEditing = e.StiExcel2007RestrictEditing.No, i.excelType = t, i } return __extends(i, r), i.prototype.getExportFormat = function() { if (this.excelType == e.StiExcelType.ExcelXml) return t.StiExportFormat.ExcelXml; if (this.excelType == e.StiExcelType.Excel2007) return t.StiExportFormat.Excel2007; return t.StiExportFormat.Excel } , i }(e.StiPageRangeExportSettings); e.StiExcelExportSettings = r }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return e.call(this, t.StiExcelType.Excel2007) || this } return __extends(r, e), r }(t.StiExcelExportSettings); t.StiExcel2007ExportSettings = e }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t.imageQuality = .75, t.imageResolution = 100, t } return __extends(r, e), r.prototype.getExportFormat = function() { return t.StiExportFormat.Ppt2007 } , r }(e.StiPageRangeExportSettings); e.StiPpt2007ExportSettings = r }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = function(i) { function n() { var e = null !== i && i.apply(this, arguments) || this; return e.usePageHeadersAndFooters = !1, e.imageQuality = .75, e.imageResolution = 100, e.removeEmptySpaceAtBottom = StiOptions.Export.Word.removeEmptySpaceAtBottom, e.companyString = t.Report.Export.StiExportUtils.getReportVersion(), e.lastModifiedString = t.Report.Export.StiExportUtils.getReportVersion(), e.restrictEditing = r.StiWord2007RestrictEditing.No, e } return __extends(n, i), n.prototype.getExportFormat = function() { return e.StiExportFormat.Word2007 } , n }(r.StiPageRangeExportSettings); r.StiWord2007ExportSettings = i }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t.imageQuality = .75, t.imageResolution = 100, t } return __extends(r, e), r.prototype.getExportFormat = function() { return t.StiExportFormat.Ods } , r }(e.StiPageRangeExportSettings); e.StiOdsExportSettings = r }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t.usePageHeadersAndFooters = !1, t.imageQuality = .75, t.imageResolution = 100, t.removeEmptySpaceAtBottom = StiOptions.Export.OpenDocumentWriter.removeEmptySpaceAtBottom, t } return __extends(r, e), r.prototype.getExportFormat = function() { return t.StiExportFormat.Odt } , r }(e.StiPageRangeExportSettings); e.StiOdtExportSettings = r }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i() { var t = null !== r && r.apply(this, arguments) || this; return t.imageQuality = .75, t.imageResolution = 100, t.imageResolutionMode = e.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 = e.StiUserAccessPrivileges.All, t.keyLength = e.StiPdfEncryptionKeyLength.Bit40, t.creatorString = "", t.keywordsString = "", t.imageCompressionMethod = e.StiPdfImageCompressionMethod.Jpeg, t.imageIndexedColorPaletteSize = 96, t.imageFormat = e.StiImageFormat.Color, t.ditheringType = e.StiMonochromeDitheringType.FloydSteinberg, t.pdfComplianceMode = e.StiPdfComplianceMode.None, t.autoPrintMode = StiOptions.Export.Pdf.defaultAutoPrintMode, t.allowEditable = e.StiPdfAllowEditable.No, t } return __extends(i, r), i.prototype.getExportFormat = function() { return t.StiExportFormat.Pdf } , Object.defineProperty(i.prototype, "pdfACompliance", { get: function() { return this.pdfComplianceMode != e.StiPdfComplianceMode.None }, set: function(t) { this.pdfComplianceMode = t ? e.StiPdfComplianceMode.A1 : e.StiPdfComplianceMode.None }, enumerable: !0, configurable: !0 }), i }(e.StiPageRangeExportSettings); e.StiPdfExportSettings = r }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Text.Encoding , n = function(t) { function n() { var e = null !== t && t.apply(this, arguments) || this; return e.encoding = i.UTF8, e.drawBorder = !0, e.borderType = r.StiTxtBorderType.UnicodeSingle, e.killSpaceLines = !0, e.killSpaceGraphLines = !0, e.putFeedPageCode = !0, e.cutLongLines = !0, e.zoomX = 1, e.zoomY = 1, e.useEscapeCodes = !1, e.escapeCodesCollectionName = "", e } return __extends(n, t), n.prototype.getExportFormat = function() { return e.StiExportFormat.Text } , n }(r.StiPageRangeExportSettings); r.StiTxtExportSettings = n }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Drawing.StiBrush , i = t.System.Drawing.Rectangle , n = t.System.Drawing.Pen , o = function() { function t(t) { this.geomWriter = null, this.geomWriter = t } return t.prototype.baseTransform = function(t, e, r, i, n, o) { this.geomWriter.translateTransform(e, r), this.geomWriter.rotateTransform(i), this.geomWriter.translateTransform(n, o) } , t.prototype.baseRollbackTransform = function(t) { if (this.geomWriter.stimulsoft.is(e.StiSvgGeomWriter)) { var r = this.geomWriter.stimulsoft.as(e.StiSvgGeomWriter); r.endTransform(), r.endTransform(), r.endTransform() } } , t.prototype.baseFillRectangle = function(t, e, r, n, o, a) { var s = new i(r,n,o,a); this.geomWriter.fillRectangle(s, e) } , t.prototype.baseFillRectangle2D = function(t, e, r, n, o, a) { var s = new i(r,n,o,a); this.geomWriter.fillRectangle(s, e) } , t.prototype.baseFillPolygon = function(t, e, r) { this.geomWriter.fillPolygon(r, e) } , t.prototype.baseFillEllipse = function(t, e, r, n, o, a) { this.geomWriter.fillEllipse(new i(r,n,o,a), e) } , t.prototype.baseDrawRectangle = function(t, e, r, o, a, s, l) { var u = new i(o,a,s,l); this.geomWriter.drawRectangle(u, new n(e)) } , t.prototype.baseDrawImage = function(t, e, r, n, o, a, s) { if (null != e) { var l = new i(n,o,a,s); this.geomWriter.drawImage(e, l) } } , t.prototype.baseDrawString = function(t, e, i, n, o, a) { var s = r.getBrush(n, o); this.geomWriter.drawString(e, i, n, o, a) } , t.prototype.baseMeasureString = function(t, e, r) { return this.geomWriter.measureString(e, r) } , t.createNew = function(e) { var r = new t(null); return r.geomWriter = e, r } , t }(); e.StiBarCodeExportPainter = o }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Text.StringBuilder , n = function() { function e(t) { if (void 0 === t && (t = !0), this.arabicTableSize = 76 + 21, this.ligaturesTableSize = 8 + 32, this.stSeparator = "./:\\,-", this.modePdf = !0, this.modePdf = t, null == e.arabicTable) { var r = [[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]]; e.arabicTable = r } if (null == e.ligaturesTable) { var i = [["ﻟﺂ", "ﻵ"], ["ﻠﺂ", "ﻶ"], ["ﻟﺄ", "ﻷ"], ["ﻠﺄ", "ﻸ"], ["ﻟﺈ", "ﻹ"], ["ﻠﺈ", "ﻺ"], ["ﻟﺎ", "ﻻ"], ["ﻠﺎ", "ﻼ"], ["שׁ", "שׁ"], ["שׂ", "שׂ"], ["שּׁ", "שּׁ"], ["שּׂ", "שּׂ"], ["אַ", "אַ"], ["אָ", "אָ"], ["אּ", "אּ"], ["בּ", "בּ"], ["גּ", "גּ"], ["דּ", "דּ"], ["הּ", "הּ"], ["וּ", "וּ"], ["זּ", "זּ"], ["טּ", "טּ"], ["יּ", "יּ"], ["ךּ", "ךּ"], ["כּ", "כּ"], ["לּ", "לּ"], ["מּ", "מּ"], ["נּ", "נּ"], ["סּ", "סּ"], ["ףּ", "ףּ"], ["פּ", "פּ"], ["צּ", "צּ"], ["קּ", "קּ"], ["רּ", "רּ"], ["שּ", "שּ"], ["תּ", "תּ"], ["וֹ", "וֹ"], ["בֿ", "בֿ"], ["כֿ", "כֿ"], ["פֿ", "פֿ"], ["אל", "ﭏ"]]; e.ligaturesTable = i } if (null == e.arabicTableArray) { for (var n = Array.create(Number, 65536, 5), o = 0; o < this.arabicTableSize; o++) { var a = e.arabicTable[o][0]; n[a][0] = e.arabicTable[o][1], n[a][1] = e.arabicTable[o][2], n[a][2] = e.arabicTable[o][3], n[a][3] = e.arabicTable[o][4], n[a][4] = e.arabicTable[o][5] } for (var o = 1424; o <= 1535; o++) n[o][0] = 1, n[o][1] = o; for (var o = 64285; o <= 64335; o++) n[o][0] = 1, n[o][1] = o; e.arabicTableArray = n } } return e.prototype.convert = function(r, n) { var o = new i; if (r.length > 0) if (n) { var a = 0 , s = new i; if (t.System.Char.isDigit(r.charAt(0))) { var l = new i , u = 0; while (u < r.length && (t.System.Char.isDigit(r.charAt(u)) || -1 != this.stSeparator.indexOf(r.charAt(u)))) l.append(r.charAt(u)), u++; "." == r.charAt(u - 1) && (l.length--, l.insert(0, ".")); while (u < r.length && (32 == r.charCodeAt(u) || 160 == r.charCodeAt(u))) u++, o.insert(0, " "); o.append(l), a = u } while (a < r.length) { var c = r.charCodeAt(a); if (e.symbolIsArabicOrHebrew(c) || this.symbolIsRTLMark(c)) { if (!this.symbolIsRTLMark(c)) { var m = s.length , p = -1 , h = -1; while (a > 0 && m > 0 && (r.charCodeAt(a - 1) >= 32 && r.charCodeAt(a - 1) <= 64 || r.charCodeAt(a - 1) >= 91 && r.charCodeAt(a - 1) <= 96 || r.charCodeAt(a - 1) >= 123 && r.charCodeAt(a - 1) <= 126 || 160 == r.charCodeAt(a - 1))) a--, m--, 32 != r.charCodeAt(a) && 160 != r.charCodeAt(a) || (p = a, h = m); -1 != p && (a = p, m = h), s.length = m } var d = a , g = d , f = d; c = r.charCodeAt(a); while (!this.symbolIsLTRMark(c) && (e.symbolIsArabicOrHebrew(c) || c >= 32 && c <= 64 || c >= 91 && c <= 96 || c >= 123 && c <= 126 || 160 == c || c >= 8192 && c <= 8303)) e.symbolIsArabicOrHebrew(c) && (f = a), t.System.Char.isWhitespace(String.fromCharCode(c)) && (g = a), a++, c = a < r.length ? r.charCodeAt(a) : 0; var S = a; g > f && (S = g + 1); var A = new i; for (a = d; a < S; a++) c = r.charCodeAt(a), this.symbolIsBidiMark(c) || A.append(r.charAt(a)); a--, o.insert(0, s.toString()), o.insert(0, this.convertArabic(A)), s = new i } else this.symbolIsBidiMark(c) || s.append(String.fromCharCode(c)); a++ } o.insert(0, s.toString()) } else { var a = 0; while (a < r.length) { var c = r.charCodeAt(a); if (e.symbolIsArabicOrHebrew(c) && !t.System.Char.isDigit(String.fromCharCode(c))) { var A = new i; while (e.symbolIsArabicOrHebrew(c) || c >= 32 && c <= 64 || c >= 91 && c <= 96 || c >= 123 && c <= 126 || 160 == c || c >= 8192 && c <= 8303) this.symbolIsBidiMark(c) || A.append(r.charAt(a)), a++, c = a < r.length ? r.charCodeAt(a) : 0; a--; while (32 == r.charCodeAt(a) || 160 == r.charCodeAt(a)) a--, A.length--; o.append(this.convertArabic(A)) } else this.symbolIsBidiMark(c) || o.append(String.fromCharCode(c)); a++ } } return o } , e.prototype.convertArabic = function(r) { var n = new i , o = 0; while (o < r.length) { switch (e.arabicTableArray[r.charCodeAt(o)][0]) { case 3: var a = new i; a.append(r.charAt(o)); while (o + 1 < r.length && 3 == e.arabicTableArray[r.charCodeAt(o + 1)][0]) o++, a.append(r.charAt(o)); if (o + 1 < r.length && 2 == e.arabicTableArray[r.charCodeAt(o + 1)][0] && (o++, a.append(r.charAt(o))), 1 == a.length) n.append(String.fromCharCode(e.arabicTableArray[a.charCodeAt(0)][1])); else { if (n.append(String.fromCharCode(e.arabicTableArray[a.charCodeAt(0)][3])), a.length > 2) for (var s = 1; s < a.length - 1; s++) n.append(String.fromCharCode(e.arabicTableArray[a.charCodeAt(s)][4])); n.append(String.fromCharCode(e.arabicTableArray[a.charCodeAt(a.length - 1)][2])) } break; case 2: case 1: n.append(String.fromCharCode(e.arabicTableArray[r.charCodeAt(o)][1])); break; default: n.append(r.charAt(o)); break } o++ } var l = new i; l = n; for (var u = 0; u < this.ligaturesTableSize; u++) l = l.replace(e.ligaturesTable[u][0], e.ligaturesTable[u][1]); var c = new i , m = l.length - 1; while (m >= 0) { var p = l.charAt(m); switch (p) { case "(": p = ")"; break; case ")": p = "("; break; case "[": p = "]"; break; case "]": p = "["; break; case "{": p = "}"; break; case "}": p = "{"; break } if (t.System.Char.isDigit(p)) { var h = m; while (h > 0 && this.symbolIsDigitOrDelimiter(l.charCodeAt(h - 1))) h--; for (var d = h; d <= m; d++) c.append(l.charAt(d)); m = h } else c.append(p); m-- } return c.toString() } , e.prototype.symbolIsDigitOrDelimiter = function(e) { return t.System.Char.isDigit(String.fromCharCode(e)) || 46 == e || 47 == e || 58 == e || 92 == e || 44 == e || 45 == e } , e.symbolIsArabicOrHebrew = function(t) { return t >= 1536 && t <= 1791 || t >= 1424 && t <= 1535 || t >= 64285 && t <= 64335 || t >= 64336 && t <= 65023 || t >= 65136 && t <= 65279 } , e.stringContainArabicOrHebrew = function(t) { var e, i; if (r.isNullOrWhiteSpace(t)) return !1; try { for (var n = __values(t.split("")), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (this.symbolIsArabicOrHebrew(a.charCodeAt(0))) return !0 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } return !1 } , e.prototype.symbolIsBidiMark = function(t) { return 8206 == t || 8207 == t || t >= 8234 && t <= 8238 } , e.prototype.symbolIsLTRMark = function(t) { return 8206 == t || 8234 == t || 8237 == t } , e.prototype.symbolIsRTLMark = function(t) { return 8207 == t || 8235 == t || 8238 == t } , e.prototype.clear = function() { e.arabicTable = null, e.ligaturesTable = null, e.arabicTableArray = null } , e.ligaturesTable = null, e.arabicTable = null, e.arabicTableArray = null, e }(); e.StiBidirectionalConvert = n }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Report.Components.IStiTextOptions , n = t.Report.Components.IStiExportImage , o = t.Report.Components.IStiExportImageExtended , a = function() { function t(t) { void 0 === t && (t = e.StiExportFormat.None), this._exportFormat = e.StiExportFormat.None, this._exportImage = null, this.left = 0, this.top = 0, this.width = 0, this._height = 0, this.text = "", this._exportFormat = t } return t.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , t.prototype.forceExportAsImage = function(t) { var e = t.stimulsoft.as(i); return null != e && 0 != e.textOptions.angle } , Object.defineProperty(t.prototype, "exportFormat", { get: function() { return this._exportFormat }, set: function(t) { this._exportFormat = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "component", { get: function() { return this._component }, set: function(t) { this._component = t, this._exportImage = t.stimulsoft.as(n), null != this._exportImage && this._exportImage.stimulsoft.is(o) && (this._exportImage.isExportAsImage(this._exportFormat) || this.forceExportAsImage(t) || (this._exportImage = null)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "exportImage", { get: function() { return this._exportImage }, set: function(t) { this._exportImage = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "height", { get: function() { return this._height }, set: function(t) { this._height = Math.max(t, 0) }, enumerable: !0, configurable: !0 }), t }(); r.StiCell = a }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.Guid , n = function() { function t(t, e, r, i, n, o, a, s, l, u, c, m, p, h, 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 = i, this.vertAlignment = n, this.border = o, this.borderL = a, this.borderR = s, this.borderB = l, this.textOptions = u, this.wordWrap = c, this.internalStyleName = h, this.format = m, this.overflow = d, this.borderRadius = g, this.lineSpacing = p } return t.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 } , t.prototype.getHashCode = function() { var t = null != this.border ? this.border.stimulsoft.getHashCode() : 0; return t = 397 * t ^ (null != this.borderL ? this.borderL.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this.borderR ? this.borderR.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this.borderB ? this.borderB.stimulsoft.getHashCode() : 0), t = 397 * t ^ this.color.stimulsoft.getHashCode(), t = 397 * t ^ (null != this.font ? this.font.stimulsoft.getHashCode() : 0), t = 397 * t ^ this.horAlignment, t = 397 * t ^ this.vertAlignment, t = 397 * t ^ (null != this.textOptions ? this.textOptions.stimulsoft.getHashCode() : 0), t = 397 * t ^ this.textColor.stimulsoft.getHashCode(), t = 397 * t ^ this.wordWrap.stimulsoft.getHashCode(), t = 397 * t ^ (null != this.format ? this.format.stimulsoft.getHashCode() : 0), t = 397 * t ^ (null != this._internalStyleName ? this._internalStyleName.stimulsoft.getHashCode() : 0), t = 397 * t ^ this.format.stimulsoft.getHashCode(), t = 397 * t ^ this.lineSpacing.stimulsoft.getHashCode(), Math.abs(t) } , t.prototype.equals = function(e) { var r = e.stimulsoft.as(t); if (!this.color.stimulsoft.equals(r.color)) return !1; if (this.horAlignment != r.horAlignment) return !1; if (this.vertAlignment != r.vertAlignment) return !1; if (!this.textColor.stimulsoft.equals(r.textColor)) return !1; if (this.wordWrap != r.wordWrap) return !1; if (this.font.bold != r.font.bold) return !1; if (this.font.italic != r.font.italic) return !1; if (this.font.strikeout != r.font.strikeout) return !1; if (this.font.underline != r.font.underline) return !1; if (this.font.size != r.font.size) return !1; if (this.font.name != r.font.name) return !1; if (null == this.textOptions) { if (null != r.textOptions) return !1 } else { if (null == r.textOptions) return !1; if (this.textOptions.angle != r.textOptions.angle) return !1; if (this.textOptions.wordWrap != r.textOptions.wordWrap) return !1; if (this.textOptions.rightToLeft != r.textOptions.rightToLeft) return !1 } if (null == this.border) { if (null != r.border) return !1 } else { if (null == r.border) return !1; if (this.border.color.stimulsoft.equals(r.border.color)) return !1; if (this.border.size != r.border.size) return !1; if (this.border.style != r.border.style) return !1 } if (null == this.borderL) { if (null != r.borderL) return !1 } else { if (null == r.borderL) return !1; if (!this.borderL.color.stimulsoft.equals(r.borderL.color)) return !1; if (this.borderL.size != r.borderL.size) return !1; if (this.borderL.style != r.borderL.style) return !1 } if (null == this.borderR) { if (null != r.borderR) return !1 } else { if (null == r.borderR) return !1; if (!this.borderR.color.stimulsoft.equals(r.borderR.color)) return !1; if (this.borderR.size != r.borderR.size) return !1; if (this.borderR.style != r.borderR.style) return !1 } if (null == this.borderB) { if (null != r.borderB) return !1 } else { if (null == r.borderB) return !1; if (!this.borderB.color.stimulsoft.equals(r.borderB.color)) return !1; if (this.borderB.size != r.borderB.size) return !1; if (this.borderB.style != r.borderB.style) return !1 } if (this.format != r.format) return !1; if (this.internalStyleName != r.internalStyleName) return !1; if (this.lineSpacing != r.lineSpacing) return !1; if (this.overflow != r.overflow) return !1; if (this.borderRadius != r.borderRadius) return !1; return !0 } , t.getStyleFromCache = function(e, r, i, n, o, a, s, l, u, c, m, p, h, d, g, f, S, A, y, w, b) { var v = 0; if (null != i) { var C = S.get(i); null == C ? (v = i.bold ? 1231 : 1237, v = 397 * v ^ (i.italic ? 1231 : 1237), v = 397 * v ^ (i.strikeout ? 1231 : 1237), v = 397 * v ^ (i.underline ? 1231 : 1237), v = 397 * v ^ i.size.stimulsoft.getHashCode(), v = 397 * v ^ i.name.stimulsoft.getHashCode(), S.add(i, v)) : v = C.stimulsoft.as(Number) } if (v = 397 * v ^ (null != a ? a.stimulsoft.getHashCode() : 0), v = 397 * v ^ (null != s ? s.stimulsoft.getHashCode() : 0), v = 397 * v ^ (null != l ? l.stimulsoft.getHashCode() : 0), v = 397 * v ^ (null != u ? u.stimulsoft.getHashCode() : 0), v = 397 * v ^ e.stimulsoft.getHashCode(), v = 397 * v ^ n, v = 397 * v ^ o, v = 397 * v ^ (null != c ? c.stimulsoft.getHashCode() : 0), v = 397 * v ^ r.stimulsoft.getHashCode(), v = 397 * v ^ (m ? 1 : 0), v = 397 * v ^ (null != p ? p.stimulsoft.getHashCode() : 0), v = 397 * v ^ (null != h ? h.stimulsoft.getHashCode() : 0), v = 397 * v ^ (w ? 1 : 0), v = 397 * v ^ b, v = 397 * v ^ d.stimulsoft.getHashCode(), y && null != A) return g.set(v, A), A; var E = g.get(v); if (null == E) { var B = new t(e,r,i,n,o,a,s,l,u,c,m,p,d,h,w,b); return null != A && (B.styleName = A.styleName), g.set(v, B), f.add(B), B } return E.stimulsoft.as(t) } , Object.defineProperty(t.prototype, "internalStyleName", { get: function() { return this._internalStyleName }, set: function(t) { null != t && (this._internalStyleName = e.StiNameValidator.correctName(t.trim())) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "styleName", { get: function() { return null == this._styleName && (this._styleName = this._internalStyleName, null == this._styleName && (this._styleName = i.newGuid().toString().stimulsoft.replaceAll("-", "").substr(0, 8))), this._styleName }, set: function(t) { this._styleName = t }, enumerable: !0, configurable: !0 }), t }(); r.StiCellStyle = n }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Helpers.StiHyperlinkProcessor , n = t.Report.Components.StiImage , o = t.System.StiPromise , a = function() { function e() {} return e.convertAllImages = function(e, a, s) { var l, u, c, m; void 0 === s && (s = !1); var p = new o , h = 0 , d = !1; try { for (var g = __values(e.renderedPages.list), f = g.next(); !f.done; f = g.next()) { var S = f.value; try { for (var A = (c = void 0, __values(S.getComponentsList())), y = A.next(); !y.done; y = A.next()) { var w = y.value , b = w.stimulsoft.as(n); null != b && null != b.imageToDraw && null != b.imageToDraw && (h++, b.imageToDraw.convert(a, s).try(function() {}).finally(function() { h--, d && 0 == h && p.callTry() })) } } catch (t) { c = { error: t } } finally { try { y && !y.done && (m = A.return) && m.call(A) } finally { if (c) throw c.error } } if (null != S.watermark) if (null != S.watermark.image) h++, S.watermark.image.convert(a, s).try(function() {}).finally(function() { h--, d && 0 == h && p.callTry() }); else if (!r.isNullOrEmpty(S.watermark.imageHyperlink)) if (i.isResourceHyperlink(S.watermark.imageHyperlink)) { var v = S.report.dictionary.resources.getByName(i.getResourceNameFromHyperlink(S.watermark.imageHyperlink)); null != v && (h++, S.watermark.image = t.System.Drawing.Image.fromBytes(v.content), S.watermark.image.convert(a, s).try(function() {}).finally(function() { h--, d && 0 == h && p.callTry() })) } else if (i.isVariableHyperlink(S.watermark.imageHyperlink)) { var C = S.report.dictionary.variables.getByName(i.getVariableNameFromHyperlink(S.watermark.imageHyperlink)); null != C && null != C.valueObject && (h++, S.watermark.image = C.valueObject.stimulsoft.as(t.System.Drawing.Image), S.watermark.image.convert(a, s).try(function() {}).finally(function() { h--, d && 0 == h && p.callTry() })) } } } catch (t) { l = { error: t } } finally { try { f && !f.done && (u = g.return) && u.call(g) } finally { if (l) throw l.error } } return d = !0, 0 == h && p.callTry(), p } , e }(); e.StiExportImageHelper = a }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Char , o = t.System.Text.StringBuilder , a = function() { function r() {} return r.convertDigitsToArabic = function(t, r) { for (var i = 0; i < t.length; i++) { var n = parseInt(t.charAt(i)); n >= 48 && n <= 57 && (n += 1632 - 48, r == e.StiArabicDigitsType.Eastern && (n += 1776 - 1632), t.stimulsoft.insert(i, n.toString(), 1)) } return t } , r.getReportVersion = function() { return null == this.reportVersion && (this.reportVersion = "Stimulsoft Report.JS " + t.StiVersion.version), this.reportVersion } , r.saveComponentToString = function(t, r, i, n) { void 0 === r && (r = e.ImageFormat.Png), void 0 === i && (i = .75), void 0 === n && (n = 100); var o = n / 100; if (null == null) return ""; return "" } , r.trimEndWhiteSpace = function(t) { return this.trimEndWhiteSpace2(t, !0) } , r.trimEndWhiteSpace2 = function(t, e) { var r = "" , i = t.length; while (i > 0 && n.isWhitespace(t[i - 1]) && (e || t.charCodeAt(i - 1) >= 32)) i--; return i == t.length ? r = t : i > 0 && (r = t.substring(0, i)), r } , r.splitString = function(t, e) { for (var r = new Array, i = new o, a = 0; a < t.length; a++) { var s = t.charCodeAt(a); 10 == s ? (r.add(this.trimEndWhiteSpace2(i.toString(), e)), i.clear()) : e && n.isControl(t, a) && 9 != s || i.append(t.charAt(a)) } return i.length > 0 && r.add(this.trimEndWhiteSpace2(i.toString(), e)), 0 == r.length && r.add(""), r } , r.stringToUrl = function(e) { var n, o, a = t.System.Text.Encoding.UTF8.getBytes(e), s = ""; try { for (var l = __values(a), u = l.next(); !u.done; u = l.next()) { var c = u.value; c < 32 || c > 127 || -1 != r.wrongUrlSymbols.indexOf(String.fromCharCode(c)) ? s += i.format("%{0:x2}", c) : s += String.fromCharCode(c) } } catch (t) { n = { error: t } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (n) throw n.error } } return s } , r.getPositivePattern = function(t) { return this.positivePatterns[t] } , r.getNegativePattern = function(t) { return this.negativePatterns[t] } , r.makePdfDeflateStream = function(e) { var r = t.ExternalLibrary.JSZip.compressions.DEFLATE.compress(e, { level: 5 }) , i = new t.System.IO.MemoryStream; return i.writeByte(120), i.writeByte(156), i.writeBytes(r), i } , r.toHex = function(t) { var e = "0123456789ABCDEF".charAt(t >> 4 & 15); return e += "0123456789ABCDEF".charAt(15 & t) } , r.reportVersion = null, r.wrongUrlSymbols = " \"'*,;<>[^`{|}:", r.additionalData = "iVBORw0KGgoAAAANSUhEUgAAAd8AAAGNCAYAAABQRnukAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAxNzowMjowNSAwMjoyODo0OXhS4H0AABHRSURBVHhe7d0LktvIsYbRkZcy+1/TbEVuWA1Pq0USIFC" + "PzKxzIhzWDYct4hH/10Xp2j9+fvgLABjmP5//DAAMIr4AMJj4AsBg4gsAg4kvAAwmvgAwmPgCwGDiCwCDiS8ADCa+ADCY+ALAYOILAIOJLwAMJr4AMJj4AsBg4gsAg4kvAAwmvgAwmPgCfPPPP//87x/Qi/gCfPE1ugJML+IL8OlRbAWYHsQX4MOryAowrYkvsLwzcRVgWhJfYGnvRFWAaUV8gW" + "VdiakA04L4Aku6E1EB5i7xBZbTIp4CzB3iCyylZTQFmKvEF1hGj1gKMFeIL7CEnpEUYN4lvkB5I+IowLxDfIHSRkZRgDlLfIGyZsRQgDlDfIGSZkZQgDkivkA5EeInwLwivkApkaInwDwjvkAZEWMnwDwivgCdCTDfiS9Qxt9///35q3gEmK/EFyhFgMlAfIFyBJjoxBcoSYCJTHyBsgSYqMQXK" + "E2AiUh8gfIEmGjEF1iCABOJ+ALLEGCiEF9gKQJMBOILLEeAmU18gSUJMDOJL7AsAWYW8QWWJsDMIL7A8gSY0cQX4IMAM5L4AnwSYEYRX4AvBJgRxBfgGwGmN/EFeECA6Ul8AZ4QYHoRX4AXBJgexBfggADTmvgCnCDAtCS+ACcJMK2IL8AbBJgWxBfgTQLMXeILcIEAc4f4AlwkwFwlvgA3CDBX" + "iC/ATQLMu8QXoAEB5h3iC9CIAHOW+AI0JMCcIb4AjQkwR8QXoAMB5hXxBehEgHlGfAE6EmAeEV+AzgSY78QXYAAB5ivxBRhEgNmJL8BAAsxGfAEGE2DEF2ACAV6b+AJMIsDrEl+AiQR4TeILMJkAr0d8AQIQ4LWIL0AQArwO8QUIRIDXIL4AwQhwfeILEJAA1ya+AEEJcF3iCxCYANckvgDBCXA" + "94guQgADXIr4ASQhwHeILkIgA1yC+AMkIcH4/fn74/DVAKY9CEDlc74ocukr3uQfxBUq4GqLskRDgnMQXSKt1eLLGQoDzEV8glRGhyRgMAc5FfIEURsdFgNsS4N+JLxDezKhki4YA5yC+QFhRQiLA7QjwL/7/fIGQIgUkcsweiRy4bPeyFydfIBSntnbcy7jEFwgjy6koUzgEOCZfOwMhZPo6Mt" + "Nn9RV0TE6+wFSZB9gJuI0VT8BOvsA02U8+TsBtrHgCFl9giiqDK8BtrBZg8QWGqza0AtzGSgEWX2CoqgMrwG2sEmDxBYapPqwC3MYKARZfYIhVTjQC3Eb190V8ge5WCe9OgNuo/N6IL9DVauHdCXAbVd8f8QW6WTW8OwFuo+J7JL5AF6uHdyfAbVR7n8QXaE54fyfAfCe+QFPC+5gA31PthwLxB" + "ZoR3tcE+JqKp3HxBZoQ3nME+D0Vw7sRX4DBBPicquHd+N/zBW6bGZNXAx09cpniMvpeVg7vRnyBW2YF7p1xjhxhAf5T9fBuxBe4bEbU7gxz1AgL8L9WCO/Gn/kCadwd5qjDHvlk/l3Pe7hKeDfiC1wyOhithlmA7+txD1cK70Z8gbdlDe9OgO9reQ9XC+9GfIGwtlHuNcwCfF+Le7hieDfiC7xl" + "VBxWHeXNKgFe+RmLLxDOyqO8qx7g1Z+x+AKnZQrCkQzXUjXAfrgSXyAYw/y7agH2fH8RX+CUEREYNczZTvBVAiy8/xJfIATD/Fr2AHu+vxNf4FC2k+Irma8la4CF90/iC0xnnM/LFmDP9jHxhTdVOgWupsqz8w7mJ77whn30jF87TkbXeAdzE1846fvYrTJ+Va6z4vMS4LzEF054NnLGL4fKz8k" + "7mJP4woGjcTN+zOYdzEd84YWzo2b84mr9bKL+GbV3MBfxhSfeHTPjF0+v8EYOsPcwB/GFB64OmOFbR+S/pe09jE984Zu7w2X4Ymj9HB7FVoC5Snzhi1aDZfjO63GvRoR3J8BcIb7wqfVQGb51RA+wdzEe8YUPvcbJ6I3X+p6fDWvkAG9EOBbxZXm9B8ngjTP7XkcP8Mb7GIP4srRRQ2TwXot6f6" + "7ENEuAvZNziS/LGj0+xq6v1vf3TkQzBHizR9i7OZ74sqRZY2PkHrsbK/f1PhEe68fPD5+/hiVEGJgsJ6Ndz3vW4l60/nytnk/2mGV7TzNx8mUpUcYw+yi3EjG8LWWOl/D2Jb4sQ/Di2IY96ri3/lwZIya8/YkvS4gW3mzj1vLztvzPav1cRcc9GEV8WUKkQVl13Lbrbnntmb7JyPLMV303ZxBfl" + "hFhWFYdtwzXvXp4hHcs8WUpMwdmxXHbrrnHdfu6ua3Vr38G8WU5M4amwri9ew29rtlfnGtLeOcQX5Y0cnBWHLdM1zzqs0a8Jyu+m1GIL8saMTzVxu3oerZ/vec1O/W2U+3dzEZ8WVrPAVpt3DJe76oBEt75xJfl9RiiyuP2/dq2/3vE9fpLVm2set3RiC98aDlIrcct8lethjwXzysO8YVPLYap" + "V3ijBXi7zpFD7s967xPeWMQXvrgzUL3CuxOgdmaEaObzE954xBe+uTJUvcO7WzHAfuj49X5dfceENybxhQfeGaxR4d2J0T2ZY7R99pnvJu2ILzxxZrhaj9vZsK4SYD9oPHYmwsIbm/jCC68GbFZ4d8KUR69n9SzCwhuf+MKBEeN2dZwFmM3XCAtvDuILJ3wdtCjh3VUNcJXrunsd77xvwpuH+MJ" + "J27BFC++uaoChKvGFSVoHU4Dj8Ux4Rnxhgl6jXGXse16HIBKB+MJgvcdfXGLwHHhFfGGgUYNs+Ody/zkivjDI6EEWgOey3Bt/e7ku8YUBZo29AD/X696455whvtDZ7DEWg+da3pvtP8u95izxhY6ijLEoPNfi3vS4v75yrk18oZNowRPg57Z7c+X+XP33wY+fHz5/DTQSeZAznKgi3L9X92nE53" + "PyrU18oRMBvm7106Tw1udrZ+gk8oCuHjeYTXyhIwG+ZuWTn1PvGsQXOhNg4DvxhQEEmDOcetchvjCIAAM78YWBBPi81U6BTr1rEV8YTIAB8YUJBPicVU6DTr3rEV+YRIDZCO+axBcmEuBjleMkvOsSX5hMgGE9/rud4aTvIWodzcihi/ADQrUfBJx61ya+8MKrwe8xngL8WpUACy++doYHtpE/G" + "voeIYg8ylXCN5vwshFf+OJMdHsT4Oeyh0t42YkvfLoSll4xEuDnsgZMePlKfFneFpPZQXlEgJ/LFjLh5Tt/4YqltYpIz3GN+IPBbnZUIt+bjejyjJMvy4o+3LvIA+4E/Jzw8or4sqQs4d0J8HPbvYl2f4SXI752Zjm9YjFicCP/0BAhOE7iZCG+LKXnOI8aXgE+NvoeiS7v8rUzy+g9yKMGP/LQ" + "R/nBYOQ9El6ucPJlGSPCMHKIo4TukWhBan2vBJe7xJcljAyVAP8SNVBX75ng0pL4Ut7oQI0eaQGGfPyZLzRWPfbviPyDAcwkvpS2yvgLMOQivtDBjOAIMOQhvlCIAEMO4gudzIqNAEN84ktZKw+9AENs4gsdzQyNAENc4gsdzQ6gAENM/ks2KGvWuEcMXuTQRf4BAXoR3wXsw7vayI0MToZ7K8A" + "Qh6+di/s6uJHHN7Ms4Yj8Ob2brEZ8C3s0aEaunS1m2U5sAgwxiG9Rr4aswsjNvoZs0f1KgGE+8S3ozIBlHrn9sx9dQ6/IZA7vToBhLvEt5p3hyjhy3z/z6GuoEN6dAMM84lvIlcHKNHLPPuuoa6gU3p0AwxziW8Sdocowckefsfc1VAzvToBhPPEtoMVARR65s5/NUF8nwDCW+CbXcpgijty7n6" + "nHNVQ+9X4lwDCO+CbWY5AijdzVz2KorxNgGEN8k+o5RBFG7u5n2P/9d2Oyyqn3KwGG/sQ3oREDNHPkWv3ehvo6AYa+xDeZkcMzY+Ra/56G+joBhn7EN5EKMXzFoMYjwNCH+CYxc2hG/N6GNC4BhvbEN4EIA9PzMxjQ+AQY2hLf4KIMS6/xNZx5CDC0I76BCe98Rv13UQMc+QcDeER8gxJeoooWO" + "uElI/ENSHiJLkrwhJesxDeY6uHNyA8Lj81+R7yjZCa+gawSXqNZx6xn6R0iO/ENYrUTr/GsY/Sz9O5QgfgGsOpXzZlG1FfPr416lsJLFeI72arh3RnTOno/S+8KlYjvRKuHd5dlVJ1+j/V6lsJLNeI7ifD+ToDraP0shZeKxHcC4X3MyNbR6ll6J6hKfAcT3tcyjK3T7zl3n6XwUpn4DiS85whw" + "HVefpfBSnfgOIrzvEeA63n2WwssKxHcA4b3GCNdx9ll65qxCfDsT3nuif26n3/OOnqXwshLx7Uh42xDgOp49S+FlNeLbifC2JcB1fH+WwsuKxLcD4e1DgOvYn6XwsqofPz98/poGhLe/6JETFOCIk29DwjtG9OtzAgaOiG8jwjuW0yWQmfg2ILxzRL5ep1/gFfG9SXjnEmAgI/G9QXhjEGAgG/G" + "9SHhjEWAgE/G9QHhjEmAgC/F9k/DGJsBABuL7BuHNQYCB6MT3pEijacCPCTAQmfieEHEsDfgxAQaiEt8DkUfSgB8TYCAi8X0hwzga8GMCDEQjvk9kGkUDfkyAgUjE94GMY2jAjwkwEIX4fpN5BA34MQEGIhDfLyqMnwE/JsDAbOL7qdLoGfBjAgzMJL4fKo6dAT8mwMAsy8e38sgZ8GMCDMywdH" + "xXGDcDfkyAgdGWje9Ko2bAjwkwMNKS8V1xzAz4MQEGRlkuviuPmAE/JsDACEvF13i5B2cIMNDbMvE1Wv9yL44JMNDTEvE1Vn9yT44JMNBL+fgaqefcm2MCDPRQOr7G6Zh7dEyAgdbKxjfKKEUe7p0BPybAQEsl4xstvAJcgwADrZSLb7Tw7gS4BgEGWigV36jh3QlwDQIM3FUmvtHDuxPgGgQYu" + "KNEfLOEdyfANQgwcFX6+GYL706AaxBg4IrU8c0a3p0A1yDAwLvSxjd7eHcCXEOG5wjEkTK+VcK7E+AaIj5HPxRATOniWy28OwGuIdJzFF6IK1V8q4Z3J8A1RHiOwguxpYlv9fDuBLiGmc9ReCG+tH/haoZRoybANcx4jsILOaSJ7+xRGf37C3ANI5+j8EIeqU6+s8Zltd/3HQJ8bMRzFF7IJd3X" + "zqNHZvaoCXANPZ+j8EI+Kf/Md9TYRBk1Aa6hx3MUXsgp7V+46j060UZNgGto+RyFF/JKG99Nr/GJOmoCXEOL5yi8kFvq+G5aj1D0URPgGu48R+GF/NLHd9NqjLKMmgDXcOU5Ci/UUCK+m7ujlG3UBLiGd56j8EIdZeK7uTpOWUdNgGs48xyFF2opFd/NuyOVfdQEuIZXz1F4oZ5y8d2cHasqoyb" + "ANTx6jsILNZWM7+ZotKqNmgDX8PU5Ci/U9ePnh89fl/Ro8CuPWobAiQqwurIn3933oa8+/BmuzwkYWF35+G72IK1y4hJggNjKf+28Ml9BA8S0xMl3VU7AADGJb3ECDBCP+C5AgAFiEd9FCDBAHOK7EAEGiEF8FyPAAPOJ74IEGGAu8V2UAAPMI74LE2CAOcR3cQIMMJ74IsAAg4kv/yPAAOOIL/" + "8nwABjiC+/EWCA/sSXPwgwQF/iy0MCDNCP+PKUAAP0Ib68JMAA7YkvhwQYoC3x5RQBBmhHfDlNgAHaEF/eIsAA94kvbxNggHvEl0sEGOA68eUyAQa4Rny5RYAB3ie+3CbAAO8RX5oQYIDzxJdmBBjgHPGlKQEGOCa+NCfAAK+JL10IMMBz4ks3AgzwmPjSVYYAA4wmvnQXOcB+OABmEF+GiBg54" + "QVmEV+GiRQ74QVmEl+GihA94QVmE1+Gmxk/4QUiEF+mmBFB4QWiEF+mGRlD4QUiEV+mGhFF4QWiEV+m6xlH4QUiEl9C6BFJ4QWiEl/CaBlL4QUiE19CaRFN4QWiE1/CuRNP4QUyEF9CuhJR4QWyEF/CeiemwgtkIr6EdiaqwgtkI76E9yquwgtkJL6k8CiywgtkJb6k8TW2wgtk9uPnh89fAwAD" + "OPkCwGDiCwCDiS8ADCa+ADCY+ALAYOILAIOJLwAMJr4AMJj4AsBg4gsAg4kvAAwmvgAwmPgCwGDiCwCDiS8ADCa+ADCY+ALAYOILAIOJLwAMJr4AMJj4AsBQf/31X1H6k/ZbMBjlAAAAAElFTkSuQmCC", r.positivePatterns = ["$n", "n$", "$ n", "n $"], r.negativePatterns = ["($n)", "-$n", "$-n", "$n-", "(n$)", "-n$", "n-$", "n$-", "-n $", "-$ n", "n $-", "$ n-", "$ -n", "n- $", "($ n)", "(n $)"], r }(); r.StiExportUtils = a }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function() { function t(t) { this.htmlExport = null, this.isMhtExport = !1, this.forcePng = !1, this.htmlExport = t, this.isMhtExport = !1, this.forcePng = !1 } return t.prototype.getImageString = function(t) { var e = t.base64; if (!r.isNullOrEmpty(e)) return e; if (!r.isNullOrEmpty(t.url)) return t.url.stimulsoft.replaceAll("\\", "/"); return "" } , t }(); e.StiHtmlImageHost = i }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString, n = t.Report.Components.StiRichText, o = t.Base.Drawing.StiSolidBrush, a = t.Base.Drawing.StiHatchBrush, s = t.Base.Drawing.StiGlassBrush, l = t.Base.Drawing.StiGlareBrush, u = t.Base.Drawing.StiGradientBrush, c = t.Report.Components.StiDataBand, m = t.Report.Components.IStiEditable, p = t.Report.Components.StiCheckBox, h = t.System.Text.StringBuilder, d = t.System.Collections.Hashtable, g = t.Report.Components.StiComponent, f = t.Report.Components.IStiTextOptions, S = t.Report.Components.StiText, A = t.Base.Drawing.StiVertAlignment, y = t.Base.Drawing.StiTextHorAlignment, w = t.Base.Drawing.StiPenStyle, b = t.Report.Components.IStiTextBrush, v = t.System.Drawing.Color, C = t.Report.Components.IStiFont, E = t.Base.Drawing.StiBrush, B = t.Base.Drawing.StiHorAlignment, T = t.Report.Components.StiTextQuality, I = t.Report.Components.StiBandInteraction, x = t.Report.Components.StiContainer, F = t.Report.Components.IStiExportImage, D = t.Report.Engine.StiDataBandBuilder, R = t.Report.Components.IStiExportImageExtended, P = t.Report.Components.StiImage, N = t.Report.Components.StiImageRotation, k = t.Report.Chart.IStiChart, M; !function(t) { t[t.Pixel = 0] = "Pixel", t[t.Point = 1] = "Point" }(M = r.StiHtmlUnitType || (r.StiHtmlUnitType = {})); var O = function() { function t() { this.value = 0, this.unitType = M.Pixel } return t.prototype.toString = function() { return Math.trunc(this.value).toString() + "px" } , t.toPixelString = function(t) { return Math.trunc(t).toString() + "px" } , t.newUnit2 = function(e, r) { var i = new t; return i.unitType = r, i.value = e, i } , t.newUnit = function(t, e) { return e ? this.newUnit2(t, e ? M.Point : M.Pixel) : this.newUnit2(t, M.Pixel) } , t.isNullOrZero = function(t) { return null == t || 0 == t.value } , t.hiToPt = .748, t }(); r.StiHtmlUnit = O; var _ = function() { function t() {} return t }(); r.StiHtmlSvg = _; var L = function() { function t() { this.attributes = new d, this.style = new d } return t }(); r.StiHtmlHyperlink = L; var j = function() { function t() {} return t }(); r.StiHtmlImage = j; var H = function() { function t() { this.controls = [], this.style = new d, this.controls = [] } return t }(); r.StiHtmlTableCell = H; var G = function() { function t() { this.style = new d, this.cells = new Array } return t }(); r.StiHtmlTableRow = G; var Q = function() { function t() { this.align = B.Left, this.position = null, this.htmlExportSettings = null, this.rows = [] } return t.stringToUrl = function(t) { var e, r, n = "", o = t.split(""); try { for (var a = __values(o), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = l.charCodeAt(0); u <= 32 || u > 127 || -1 != this.wrongUrlSymbols.indexOf(l) ? ((u <= 32 || u > 127) && (n += i.format("%{0:x2}", u)), 34 == u && (n += """), 38 == u && (n += "&"), 60 == u && (n += "<")) : n += l } } catch (t) { e = { error: t } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (e) throw e.error } } return n } , t.prototype.renderControl = function(e) { var r, n, o, a, s, l, u, c, m, p; this.writeTableBegin(e, !1); try { for (var h = __values(this.rows), d = h.next(); !d.done; d = h.next()) { var g = d.value; if (g.style.containsKey(t.pageBreakBeforeKey) && (g.style.remove(t.pageBreakBeforeKey), this.writeTableEnd(e), e.writeLine(), this.writeTableBegin(e, !0)), e.writeBeginTag("tr"), StiOptions.Export.Html.useExtendedStyle && e.writeAttribute("class", "sBaseStyleFix"), O.isNullOrZero(g.height) || g.style.set("height", g.height.toString()), g.style.count > 0) { e.write(' style="'); try { for (var f = (o = void 0, __values(g.style.keys)), S = f.next(); !S.done; S = f.next()) { var y = S.value; e.writeStyleAttribute(y, g.style.get(y)) } } catch (t) { o = { error: t } } finally { try { S && !S.done && (a = f.return) && a.call(f) } finally { if (o) throw o.error } } e.write('"') } e.writeLine(">"), e.indent++; try { for (var w = (s = void 0, __values(g.cells)), b = w.next(); !b.done; b = w.next()) { var v = b.value; e.writeBeginTag("td"), i.isNullOrEmpty(v.toolTip) || e.writeAttribute("title", v.toolTip), i.isNullOrEmpty(v.cssClass) || e.writeAttribute("class", v.cssClass), i.isNullOrEmpty(v.id) || e.writeAttribute("id", v.id), i.isNullOrEmpty(v.editable) || e.writeAttribute("editable", v.editable), v.columnSpan > 0 && e.writeAttribute("colspan", v.columnSpan.toString()), v.rowSpan > 0 && e.writeAttribute("rowspan", v.rowSpan.toString()), i.isNullOrEmpty(v.interaction) || e.writeAttribute("interaction", v.interaction), i.isNullOrEmpty(v.collapsed) || e.writeAttribute("collapsed", v.collapsed), i.isNullOrEmpty(v.sortDirection) || e.writeAttribute("sort", v.sortDirection), i.isNullOrEmpty(v.dataBandSort) || e.writeAttribute("databandsort", v.dataBandSort), i.isNullOrEmpty(v.pageGuid) || e.writeAttribute("pageguid", v.pageGuid), i.isNullOrEmpty(v.pageIndex) || e.writeAttribute("pageindex", v.pageIndex), i.isNullOrEmpty(v.reportFile) || e.writeAttribute("reportfile", v.reportFile), i.isNullOrEmpty(v.componentIndex) || e.writeAttribute("compindex", v.componentIndex), O.isNullOrZero(v.height) || v.style.set("height", v.height.toString()), O.isNullOrZero(v.width) || v.style.set("width", v.width.toString()), i.isNullOrEmpty(v.text) || (v.style.containsKey("height") && v.style.set("max-height", v.height.toString()), v.style.containsKey("width") && v.style.set("max-width", v.width.toString()), (v.style.containsKey("height") || v.style.containsKey("width")) && (v.style.set("overflow", "hidden"), v.style.containsKey("text-overflow") || v.style.set("text-overflow", "clip"), v.style.set("box-sizing", "border-box"))); var C = null , E = null , T = null; StiOptions.Export.Html.useStrictTableCellSize && v.style.count > 0 && (v.style.containsKey(t.marginsKey) && (C = v.style.get(t.marginsKey), v.style.remove(t.marginsKey)), v.style.containsKey(t.vertAlignKey) && v.style.containsKey("height") && (E = v.style.get(t.vertAlignKey), v.style.remove(t.vertAlignKey)), v.style.containsKey(t.horAlignKey) && v.style.containsKey("width") && (T = v.style.get(t.horAlignKey), v.style.remove(t.horAlignKey))); var I = !1; v.style.containsKey(t.wordwrapKey) && v.style.containsKey("width") && (I = !0, v.style.remove(t.wordwrapKey), v.style.remove("white-space")); var x = null , F = null , D = null; if (v.controls.length > 0 && (x = v.controls[0].stimulsoft.as(L), F = v.controls[0].stimulsoft.as(j), D = v.controls[0].stimulsoft.as(_)), null == F || StiOptions.Export.Html.useStrictTableCellSize || v.style.set("line-height", "0"), v.style.count > 0) { e.write(' style="'); try { for (var R = (u = void 0, __values(v.style.keys)), P = R.next(); !P.done; P = R.next()) { var y = P.value; e.writeStyleAttribute(y, v.style.get(y)) } } catch (t) { u = { error: t } } finally { try { P && !P.done && (c = R.return) && c.call(R) } finally { if (u) throw u.error } } e.write('"') } e.write(">"); var k = null , M = v.controls.length > 0 || !i.isNullOrEmpty(v.text); if (M && StiOptions.Export.Html.useStrictTableCellSize) { if (e.write(""), null == E && null == T || (e.write("
        ')), (null != C || I) && (e.write("
        ')) } if (null != F) if (F.stretch || F.imageRotation != N.None) if (F.aspectRatio || F.imageRotation != N.None) { e.write('
        ') : e.write('">'), e.write("
        ") } else e.writeBeginTag("img"), i.isNullOrEmpty(F.toolTip) || e.writeAttribute("title", F.toolTip), i.isNullOrEmpty(F.base64) ? i.isNullOrEmpty(F.imageUrl) || e.writeAttribute("src", t.stringToUrl(F.imageUrl)) : e.writeAttribute("src", F.base64), e.write(' style="'), e.writeStyleAttribute("width", v.width.toString()), e.writeStyleAttribute("height", v.height.toString()), e.writeStyleAttribute("border-width", O.toPixelString(0)), e.write('" />'); else { e.write('
        '), e.write('
        '), e.writeBeginTag("img"), i.isNullOrEmpty(F.toolTip) || e.writeAttribute("title", F.toolTip), i.isNullOrEmpty(F.base64) ? i.isNullOrEmpty(F.imageUrl) || e.writeAttribute("src", t.stringToUrl(F.imageUrl)) : e.writeAttribute("src", F.base64); var W = 0 , V = 0 , z = F.width.value , X = F.height.value; if (z > v.width.value) switch (F.horAlignment) { case B.Center: W = v.width.value / 2 - z / 2; break; case B.Right: W = v.width.value - z; break } if (X > v.height.value) switch (F.vertAlignment) { case A.Center: V = v.height.value / 2 - X / 2; break; case A.Bottom: V = v.height.value - X; break } e.writeAttribute("height", (F.height.value * F.zoom).toString() + "px"), e.writeAttribute("width", (F.width.value * F.zoom).toString() + "px"), e.write(' style="'), e.writeStyleAttribute("border-width", O.toPixelString(0)), e.writeStyleAttribute("margin-top", O.toPixelString(V)), e.writeStyleAttribute("margin-left", O.toPixelString(W)), e.write('" />
        ') } else if (null != x) { if (e.writeBeginTag("a"), i.isNullOrEmpty(x.openLinksTarget) || e.writeAttribute("target", x.openLinksTarget), i.isNullOrEmpty(x.toolTip) || e.writeAttribute("title", x.toolTip), i.isNullOrEmpty(x.cssClass) || e.writeAttribute("class", x.cssClass), x.attributes.containsKey("name") && e.writeAttribute("name", x.attributes.get("name")), x.attributes.containsKey("guid") && e.writeAttribute("guid", x.attributes.get("guid")), i.isNullOrEmpty(x.navigateUrl) || e.writeAttribute("href", t.stringToUrl(x.navigateUrl)), i.isNullOrEmpty(x.imageUrl) || (x.style.set("display", "inline-block"), x.style.set("height", x.height.toString()), x.style.set("width", x.width.toString())), StiOptions.Export.Html.useExtendedStyle && x.style.set("border", "0"), x.style.count > 0) { e.write(' style="'); try { for (var K = (m = void 0, __values(x.style.keys)), Z = K.next(); !Z.done; Z = K.next()) { var y = Z.value; e.writeStyleAttribute(y, x.style.get(y)) } } catch (t) { m = { error: t } } finally { try { Z && !Z.done && (p = K.return) && p.call(K) } finally { if (m) throw m.error } } i.isNullOrEmpty(k) || e.write(k), e.write('"') } e.write(">"), i.isNullOrEmpty(x.imageUrl) || (e.writeBeginTag("img"), i.isNullOrEmpty(x.toolTip) || e.writeAttribute("title", x.toolTip), e.writeAttribute("src", t.stringToUrl(x.imageUrl)), e.write(' style="'), e.writeStyleAttribute("height", x.height.toString()), e.writeStyleAttribute("width", x.width.toString()), e.writeStyleAttribute("border", "0"), e.write('" />')), x.attributes.containsKey("id") ? (e.writeBeginTag("div"), e.writeAttribute("id", x.attributes.get("id")), e.write('style="'), O.isNullOrZero(v.height) || e.writeStyleAttribute("height", v.height.toString()), O.isNullOrZero(v.width) || e.writeStyleAttribute("width", v.width.toString()), e.write('">'), e.write(x.text), e.write("
        ")) : e.write(x.text), e.writeFullEndTag("a") } else null != D ? e.write(D.text) : e.write(v.text); M && StiOptions.Export.Html.useStrictTableCellSize && ((null != C || I) && e.write("
        "), null == E && null == T || e.write(""), e.write("")), e.writeFullEndTag("td") } } catch (t) { s = { error: t } } finally { try { b && !b.done && (l = w.return) && l.call(w) } finally { if (s) throw s.error } } e.writeLine(), e.indent--, e.writeFullEndTag("tr") } } catch (t) { r = { error: t } } finally { try { d && !d.done && (n = h.return) && n.call(h) } finally { if (r) throw r.error } } this.writeTableEnd(e) } , t.prototype.writeTableBegin = function(e, r) { e.writeBeginTag("table"), e.writeAttribute("cellspacing", this.cellSpacing.toString()), e.writeAttribute("cellpadding", this.cellPadding.toString()), e.writeAttribute("border", "0"), this.align != B.Left && e.writeAttribute("align", this.align == B.Center ? "center" : "right"), StiOptions.Export.Html.useExtendedStyle && e.writeAttribute("class", "sBaseStyleFix"), e.write(' style="'), e.writeStyleAttribute("border-width", O.toPixelString(this.borderWidth)), e.writeStyleAttribute("width", this.width.toString()), i.isNullOrEmpty(this.position) || e.writeStyleAttribute("position", this.position), i.isNullOrEmpty(this.backImageUrl) || e.writeStyleAttribute("background-image", i.format("url('{0}')", t.stringToUrl(this.backImageUrl))), i.isNullOrEmpty(this.backgroundPosition) || e.writeStyleAttribute("background-position", this.backgroundPosition), i.isNullOrEmpty(this.backgroundRepeat) || e.writeStyleAttribute("background-repeat", this.backgroundRepeat), e.writeStyleAttribute("border-collapse", "collapse"), r && e.writeStyleAttribute(t.pageBreakBeforeKey, "always"), e.write('">'), e.writeLine(), e.indent++, StiOptions.Export.Html.useExtendedStyle && (e.writeBeginTag("tbody"), e.writeAttribute("class", "sBaseStyleFix"), e.writeLine(">"), e.indent++) } , t.prototype.writeTableEnd = function(t) { StiOptions.Export.Html.useExtendedStyle && (t.writeLine(), t.indent--, t.writeFullEndTag("tbody")), t.writeLine(), t.indent--, t.writeFullEndTag("table") } , t.marginsKey = "padding", t.pageBreakBeforeKey = "page-break-before", t.vertAlignKey = "div:vertical-align", t.horAlignKey = "div:text-align", t.wordwrapKey = "div:wordwrap", t.wrongUrlSymbols = '"&<', t }(); r.StiHtmlTable = Q; var Y; !function(t) { t[t.None = 0] = "None", t[t.BeginTag = 1] = "BeginTag", t[t.Attribute = 2] = "Attribute", t[t.Data = 3] = "Data" }(Y = r.WriterMode || (r.WriterMode = {})); var U = function() { function t(t) { this.stream = null, this.mode = Y.None, this.indent = 0, this.stream = t, this.mode = Y.None, this.indent = 0 } return t.prototype.write = function(t) { this.checkIndent(), this.stream.write(t), this.mode = Y.Data } , t.prototype.writeLine = function(t) { t ? (i.isNullOrEmpty(t) ? this.stream.writeLine() : (this.checkIndent(), this.stream.writeLine(t)), this.mode = Y.None) : (this.stream.writeLine(), this.mode = Y.None) } , t.prototype.writeBeginTag = function(t) { this.closeTag(), this.checkIndent(), this.stream.write("<" + t), this.mode = Y.BeginTag } , t.prototype.writeFullBeginTag = function(t) { this.closeTag(), this.checkIndent(), this.stream.write("<" + t + ">"), this.mode = Y.Data } , t.prototype.writeEndTag = function(t) { this.mode == Y.BeginTag ? this.stream.write("/>") : (this.closeTag(), this.checkIndent(), this.stream.write("")), this.mode = Y.Data } , t.prototype.writeFullEndTag = function(t) { this.closeTag(), this.checkIndent(), this.stream.write(""), this.mode = Y.Data } , t.prototype.writeAttribute = function(t, e) { this.stream.write(" " + t), null != e && this.stream.write('="' + e + '"'), this.mode = Y.Attribute } , t.prototype.writeStyleAttribute = function(t, e) { this.stream.write(t + ":" + e + ";"), this.mode = Y.Attribute } , t.prototype.flush = function() { this.stream.flush() } , t.prototype.getStream = function() { return this.stream } , t.prototype.closeTag = function() { this.mode != Y.Attribute && this.mode != Y.BeginTag || this.stream.write(">") } , t.prototype.checkIndent = function() { if (this.mode == Y.None) for (var t = 0; t < this.indent; t++) this.stream.write("\t") } , t }(); r.StiHtmlTextWriter = U; var J = function() { function B(t, e, i) { this.htmlExport = null, this.htmlExportSettings = null, this.matrix = new r.StiMatrix(i,!1,t,t.styles), this.htmlExport = t, this.htmlExportSettings = e } return B.prototype.renderStyle = function(e) { this.htmlExport.renderBackColor(null, e.color), this.htmlExport.renderTextColor(null, e.textColor), this.htmlExport.renderFont(null, e.font), this.htmlExport.renderBorder3(null, e.border, "top"), this.htmlExport.renderBorder3(null, e.borderL, "left"), this.htmlExport.renderBorder3(null, e.borderR, "right"), this.htmlExport.renderBorder3(null, e.borderB, "bottom", e.borderRadius), this.htmlExport.renderTextDirection(null, e.textOptions), this.htmlExport.renderTextHorAlignment(null, e.textOptions, e.horAlignment), this.htmlExportSettings.exportMode == r.StiHtmlExportMode.Table && this.htmlExport.renderVertAlignment(null, e.vertAlignment), e.absolutePosition && this.htmlExport.htmlWriter.writeStyleAttribute("position", "absolute"), e.overflow && this.htmlExport.htmlWriter.write("overflow:hidden;"), null != e.textOptions && e.textOptions.trimming != t.System.Drawing.StringTrimming.None && this.htmlExport.htmlWriter.write("text-overflow:ellipsis;"), 1 != e.lineSpacing && this.htmlExport.htmlWriter.write(i.format("line-height:{0}em;", Math.round2(r.StiHtmlExportService.getFontScale(e.font.name, e.font.size) * e.lineSpacing, 2))) } , B.prototype.renderStyleTable = function(e, n) { this.htmlExport.renderBackColor(e, n.color), this.htmlExport.renderTextColor(e, n.textColor), this.htmlExport.renderFont(e, n.font), null == e && this.htmlExport.htmlWriter.write("border:0px;"), this.htmlExport.renderBorder3(e, n.border, "top"), this.htmlExport.renderBorder3(e, n.borderL, "left"), this.htmlExport.renderBorder3(e, n.borderR, "right"), this.htmlExport.renderBorder3(e, n.borderB, "bottom"), this.htmlExport.renderTextDirection(e, n.textOptions), this.htmlExport.renderTextHorAlignment(e, n.textOptions, n.horAlignment), this.htmlExport.renderVertAlignment(e, n.vertAlignment, n.textOptions), null == e ? (n.absolutePosition && this.htmlExport.htmlWriter.writeStyleAttribute("position", "absolute"), 1 != n.lineSpacing && this.htmlExport.htmlWriter.write(i.format("line-height:{0}em;", Math.round2(r.StiHtmlExportService.getFontScale(n.font.name, n.font.size) * n.lineSpacing, 2))), StiOptions.Export.Html.useStrictTableCellSize ? (n.wordWrap ? this.htmlExport.htmlWriter.write("word-wrap:break-word;") : this.htmlExport.htmlWriter.write("white-space:nowrap;"), this.htmlExport.htmlWriter.write("overflow:hidden;"), null != n.textOptions && n.textOptions.trimming != t.System.Drawing.StringTrimming.None && this.htmlExport.htmlWriter.write("text-overflow:ellipsis;")) : !n.wordWrap && StiOptions.Export.Html.useWordWrapBreakWordMode && this.htmlExport.htmlWriter.write("word-wrap:break-word;")) : (n.absolutePosition && (e.style.position = "absolute"), 1 != n.lineSpacing && e.style.set("line-height", i.format("line-height:{0}em;", Math.round2(r.StiHtmlExportService.getFontScale(n.font.name, n.font.size) * n.lineSpacing, 2))), StiOptions.Export.Html.useStrictTableCellSize ? (n.wordWrap ? e.style.set("word-wrap", "break-word") : e.style.set("white-space", "nowrap"), e.style.set("overflow", "hidden"), null != n.textOptions && n.textOptions.trimming != t.System.Drawing.StringTrimming.None && e.style.set("text-overflow", "ellipsis;")) : !n.wordWrap && StiOptions.Export.Html.useWordWrapBreakWordMode && e.style.set("word-wrap", "break-word")) } , B.prototype.renderStyles = function(e, r, i) { var n, o, a, s; this.htmlExport.htmlWriter.writeLine('") } , B.prototype.renderStylesTable = function(t, e, r) { void 0 === r && (r = null), this.renderStylesTable2(t, e, !0, r) } , B.prototype.renderStylesTable2 = function(e, r, i, n) { var o, a; if (void 0 === n && (n = null), i && this.htmlExport.htmlWriter.writeLine('") } , B.prototype.getWidth = function(t, e, r, i) { return (t.getByIndex(r + 1, e) - t.getByIndex(r, e)) * i } , B.prototype.getHeight = function(t, e, r, i) { return (t.getByIndex(r + 1, e) - t.getByIndex(r, e)) * i } , B.prototype.renderTable = function(B, M, Y, U, J, W) { var V, z; void 0 === W && (W = !1), B && this.renderStylesTable(Y, U, J); var X = new Q; X.htmlExportSettings = this.htmlExportSettings, X.align = this.htmlExport.pageHorAlignment, X.backImageUrl = M, W && (X.position = "relative"), X.width = O.newUnit(Math.round2(this.matrix.totalWidth * this.htmlExport.zoom, 0), StiOptions.Export.Html.printLayoutOptimization), X.borderWidth = 0, X.cellPadding = 0, X.cellSpacing = 0; var K = this.matrix.coordX , Z = this.matrix.coordY , q = K.getKeys() , $ = Z.getKeys() , tt = Array.create(Boolean, this.matrix.coordX.countItems, this.matrix.coordY.countItems) , et = new d; try { for (var rt = __values(this.matrix.styles), it = rt.next(); !it.done; it = rt.next()) { var nt = it.value; et.set(nt, this.matrix.styles.indexOf(nt)) } } catch (t) { V = { error: t } } finally { try { it && !it.done && (z = rt.return) && z.call(rt) } finally { if (V) throw V.error } } for (var ot = null, at = 0; at < this.matrix.coordY.countItems - 1; at++) { if (this.htmlExport.invokeExporting2(at, this.matrix.coordY.countItems, 2, 3), this.htmlExport.isStopped) return; var st = this.getHeight(Z, $, at, this.htmlExport.zoom) , lt = new G; lt.height = O.newUnit(st, StiOptions.Export.Html.printLayoutOptimization), X.rows.add(lt); for (var ut = [v.transparent], ct = 0; ct < this.matrix.coordX.countItems - 1; ct++) { if (!tt[ct][at]) { var mt = new H; lt.cells.add(mt); var pt = this.getWidth(K, q, ct, this.htmlExport.zoom) , ht = st , dt = this.matrix.cells[at][ct]; if (null != dt) { this.htmlExportSettings.addPageBreaks && (null != dt.component && dt.component.page != ot && null != ot && lt.style.set(Q.pageBreakBeforeKey, "always"), ot = dt.component.page); var gt = null != dt.text ? dt.text : "" , ft = dt.component.stimulsoft.as(f); null != ft && StiOptions.Export.Html.convertDigitsToArabic && ft.textOptions.rightToLeft; var St = !0; if (null != dt.component) { var At = dt.component.stimulsoft.as(S); null != At && At.checkAllowHtmlTags() && (gt = r.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(At, gt, this.htmlExport.zoom), St = !1), StiOptions.Export.Html.forceWysiwygWordwrap && null != At && !At.checkAllowHtmlTags() && At.textQuality == T.Wysiwyg && null != ft && ft.textOptions.wordWrap } StiOptions.Export.Html.replaceSpecialCharacters && St && (gt = gt.stimulsoft.replaceAll("&", "&").stimulsoft.replaceAll('"', """).stimulsoft.replaceAll("<", "<").stimulsoft.replaceAll(">", ">").stimulsoft.replaceAll(" ", " ")), gt = this.htmlExport.prepareTextForHtml(gt); for (var yt = dt.width + 1, wt = dt.height + 1, bt = ct; bt < ct + yt; bt++) for (var vt = at; vt < at + wt; vt++) tt[bt][vt] = !0; yt > 1 && (mt.columnSpan = yt), wt > 1 && (mt.rowSpan = wt); var Ct = this.matrix.cellStyles[at][ct]; if (null == Ct && (Ct = dt.cellStyle), null != Ct) { var Et = et.get(Ct); if (null != Et && this.htmlExport.useStylesTable && (mt.cssClass = "s" + Ct.styleName), StiOptions.Export.Html.useStrictTableCellSize) { Ct.vertAlignment != A.Top && mt.style.set(Q.vertAlignKey, Ct.vertAlignment == A.Center ? "middle" : "bottom"); var Bt = null != Ct.textOptions && Ct.textOptions.rightToLeft , Tt = null; Ct.horAlignment == y.Left && (Tt = Bt ? "right" : null), Ct.horAlignment == y.Right && (Tt = Bt ? null : "right"), Ct.horAlignment == y.Center && (Tt = "center"), Ct.horAlignment == y.Width && (Tt = "justify"), null != Tt && mt.style.set(Q.horAlignKey, Tt); for (var It = 0; It < yt; It++) ut[ct + It] = Ct.color } } if (null != dt.component) { var xt = dt.component.tagValue; if (!i.isNullOrEmpty(xt)) for (var Ft = this.matrix.splitTagWithCache(xt), Dt = 0; Dt < Ft.length; Dt++) if (Ft[Dt].toLowerCase().stimulsoft.startsWith("css")) { var Rt = r.StiMatrix.getStringsFromTag(Ft[Dt], 3); if (Rt.length > 1 && this.htmlExport.useStylesTable) { mt.cssClass = Rt[0].trim(); break } } } if (this.htmlExport.useStylesTable ? StiOptions.Export.Html.useExtendedStyle && (this.htmlExport.renderTextColor(mt, Ct.textColor, !0), this.htmlExport.renderFont(mt, Ct.font)) : this.renderStyleTable(mt, Ct), StiOptions.Export.Html.printLayoutOptimization && null != Ct && null != Ct.border && Ct.border.style != w.None && (ht -= Ct.border.size, pt -= Ct.border.size, ht < 0 && (ht = 0), pt < 0 && (pt = 0)), this.htmlExport.exportQuality == r.StiHtmlExportQuality.High) if (StiOptions.Export.Html.forceIE6Compatibility) 1 == yt && (mt.width = O.newUnit(pt, StiOptions.Export.Html.printLayoutOptimization)), 1 == wt && (mt.height = O.newUnit(ht, StiOptions.Export.Html.printLayoutOptimization)); else { if (yt > 1) for (var Pt = 1; Pt < yt; Pt++) pt += this.getWidth(K, q, ct + Pt, this.htmlExport.zoom); if (wt > 1) for (var Nt = 1; Nt < wt; Nt++) ht += this.getHeight(Z, $, at + Nt, this.htmlExport.zoom); mt.width = O.newUnit(pt, StiOptions.Export.Html.printLayoutOptimization), mt.height = O.newUnit(ht, StiOptions.Export.Html.printLayoutOptimization) } if (this.htmlExport.insertInteractionParameters && null != dt.component && !dt.component.report.isDocument && (this.matrix.isComponentHasInteraction(dt.component) || this.matrix.interactions[at][ct][1] > 0)) { var kt = dt.component; if (!this.matrix.isComponentHasInteraction(kt)) { var Mt = this.htmlExport.report.renderedPages.getByIndex(this.matrix.interactions[at][ct][0] - 1); this.htmlExport.report.renderedPages.getPage(Mt), kt = Mt.components.getByIndex(this.matrix.interactions[at][ct][1] - 1) } if (mt.interaction = kt.name, kt.interaction.sortingEnabled) { var Ot = kt.interaction.getSortDataBandName() , _t = kt.report.getComponentByName(Ot); if (null != (_t = null != _t ? _t.stimulsoft.as(c) : null)) { mt.dataBandSort = Ot + ";" + i.join(";", _t.sort); for (var Lt = 0; Lt < _t.sort.length; Lt += 2) _t.sort[Lt + 1] == kt.interaction.getSortColumnsString() && (mt.sortDirection = _t.sort[Lt].toLowerCase()) } } !kt.interaction.drillDownEnabled || null == kt.interaction.drillDownPage && i.isNullOrEmpty(kt.interaction.drillDownReport) || (null != kt.interaction.drillDownPage && (mt.pageGuid = kt.interaction.drillDownPage.guid), i.isNullOrEmpty(kt.interaction.drillDownReport) || (mt.reportFile = kt.interaction.drillDownReport), mt.pageIndex = kt.page.report.renderedPages.indexOf(kt.page).toString(), mt.componentIndex = kt.page.components.indexOf(kt).toString()); var jt = kt.interaction.stimulsoft.as(I); if (null != jt && jt.collapsingEnabled && kt.stimulsoft.is(x)) { var Ht = kt; mt.collapsed = D.isCollapsed(Ht, !1).toString().toLowerCase(), mt.componentIndex = Ht.collapsingIndex.toString() } } var Gt = null , Qt = null , Yt = null , Ut = null , Jt = !1 , Wt = !1 , Vt = !1 , zt = dt.exportImage; if (null != dt.component) { if (Gt = dt.component.hyperlinkValue, Qt = dt.component.toolTipValue, Yt = dt.component.bookmarkValue, !i.isNullOrWhiteSpace(Gt) && Gt.stimulsoft.startsWith("##") && (Gt = Gt.substr(1)), i.isNullOrEmpty(Yt)) for (var Xt = 0; Xt <= dt.height; Xt++) { for (var Kt = !1, Zt = 0; Zt <= dt.width; Zt++) { var qt = this.matrix.bookmarks[at + Xt][ct + Zt]; if (!i.isNullOrEmpty(qt)) { Yt = qt, Kt = !0; break } } if (Kt) break } if (!i.isNullOrWhiteSpace(dt.component.guid) && this.htmlExport.hashBookmarkGuid.containsKey(dt.component.guid) && (Ut = dt.component.guid), StiOptions.Export.Html.allowStrippedImages && null == zt) { var $t = dt.component.stimulsoft.as(F); null != $t && $t.stimulsoft.is(R) && (!$t.isExportAsImage(e.StiExportFormat.HtmlTable) || null != ft && 0 != ft.textOptions.angle || (zt = $t)) } null != dt.component.stimulsoft.as(t.Report.Chart.IStiChart) && this.htmlExport.chartType != r.StiHtmlChartType.Image && (Jt = !0); null != dt.component.stimulsoft.as(t.Report.Components.Gauge.IStiGauge) && this.htmlExport.chartType != r.StiHtmlChartType.Image && (Wt = !0); null != dt.component.stimulsoft.as(t.Report.Maps.StiMap) && this.htmlExport.chartType != r.StiHtmlChartType.Image && (Vt = !0); var te = dt.component.stimulsoft.as(m); if (null != te && te.editable) { var ee = new h , re = dt.component.page.components.indexOf(dt.component); ee.appendFormat("{0};", re); var ie = dt.component.stimulsoft.as(p); if (null != ie) { var ne = v.transparent; ie.textBrush.stimulsoft.is(o) ? ne = ie.textBrush.color : ie.textBrush.stimulsoft.is(u) ? ne = ie.textBrush.startColor : ie.textBrush.stimulsoft.is(l) ? ne = ie.textBrush.startColor : ie.textBrush.stimulsoft.is(s) ? ne = ie.textBrush.color : ie.textBrush.stimulsoft.is(a) && (ne = ie.textBrush.foreColor), ee.appendFormat("CheckBox;{0};{1};{2};#{3:X2}{4:X2}{5:X2};{6};#{7:X2}{8:X2}{9:X2}", ie.checkedValue, t.Report.Components.StiCheckStyle[ie.checkStyleForFalse], t.Report.Components.StiCheckStyle[ie.checkStyleForTrue], ie.contourColor.r, ie.contourColor.g, ie.contourColor.b, ie.size, ne.r, ne.g, ne.b) } null != dt.component.stimulsoft.as(S) && ee.appendFormat("Text"); null != dt.component.stimulsoft.as(n) && ee.appendFormat("RichText"), mt.editable = ee.toString() } } var oe = !0; if (i.isNullOrEmpty(Yt) && i.isNullOrEmpty(Ut)) if (Jt && this.htmlExportSettings.chartType == r.StiHtmlChartType.AnimatedVector) { if (i.isNullOrEmpty(Gt)) mt.toolTip = Qt; else { var ae = new L; ae.toolTip = Qt, ae.navigateUrl = Gt, ae.openLinksTarget = this.htmlExport.openLinksTarget, ae.style.set("display", "block"), mt.controls.add(ae) } mt.id = this.htmlExport.getGuid(dt.component), mt.text = this.htmlExport.prepareChartData(null, dt.component.stimulsoft.as(k), pt, ht) } else if (Wt) mt.id = this.htmlExport.getGuid(dt.component), mt.text = this.htmlExport.prepareGaugeData(null, dt.component, pt, ht); else if (Vt) mt.id = this.htmlExport.getGuid(dt.component), mt.text = this.htmlExport.prepareMapData(null, dt.component, pt, ht); else if (dt.component.stimulsoft.is(t.Report.BarCodes.StiBarCode) || dt.component.stimulsoft.is(t.Report.Components.StiCheckBox) || dt.component.stimulsoft.is(t.Report.Components.StiShape) || Jt && this.htmlExportSettings.chartType != r.StiHtmlChartType.AnimatedVector) { var kt = dt.component.stimulsoft.as(g) , se = new _ , le = r.StiSvgHelper.saveComponentToString(kt, e.ImageFormat.Jpeg, .75, 100, !1) , ue = i.format('{3}', pt, ht, this.htmlExport.zoom, le); se.text = ue, mt.controls.add(se) } else if (null == zt) if (null != Gt && Gt.length > 0) { var ae = new L; if (ae.text = gt, ae.toolTip = Qt, ae.navigateUrl = Gt, ae.openLinksTarget = this.htmlExport.openLinksTarget, ae.style.set("display", "block"), null != dt.component && dt.component.stimulsoft.is(b)) { var ce = dt.component.stimulsoft.as(b) , me = E.toColor(ce.textBrush); ae.style.set("color", this.htmlExport.formatColor(me)) } if (null != dt.component && dt.component.stimulsoft.is(C)) { var pe = dt.component.stimulsoft.as(C); pe.font.underline ? ae.style.set("text-decoration", "underline") : ae.style.set("text-decoration", "none") } mt.controls.add(ae) } else { var he = dt.component.stimulsoft.as(S); if (null == he || 0 == he.angle && null == he.indicator) mt.text = gt; else { var se = new _ , le = r.StiSvgHelper.saveComponentToString(he, e.ImageFormat.Jpeg, .75, 100, !1) , ue = i.format('{3}', pt, ht, this.htmlExport.zoom, le); mt.text = ue } mt.toolTip = Qt } else { var de = this.htmlExport.zoom , ge = this.htmlExport.imageResolution; if (StiOptions.Export.Html.useImageResolution && null != zt.stimulsoft.as(P) && null != zt.stimulsoft.as(P).imageToDraw) { var fe = zt.imageToDraw.horizontalResolution; fe >= 50 && fe <= 1250 && (ge = fe) } 100 != ge && (de *= ge / 100); var Se = null; this.htmlExport.setCurrentCulture(); var Ae = zt.stimulsoft.as(R) , ye = { ref: de }; if (Se = Ae.imageToDraw, de = ye.ref, this.htmlExport.restoreCulture(), null != Se) { dt.exportImage && (Se.aspectRatio = dt.exportImage.aspectRatio, Se.multipleFactor = dt.exportImage.multipleFactor, Se.margins = dt.exportImage.margins, Se.horAlignment = dt.exportImage.horAlignment, Se.vertAlignment = dt.exportImage.vertAlignment, Se.imageRotation = dt.exportImage.imageRotation, Se.stretch = dt.exportImage.stretch); var we = this.matrix.getRealImageData(dt, Se); if (null != we && (Se = we), null != Gt && Gt.length > 0) { var ae = new L; ae.navigateUrl = Gt, ae.toolTip = Qt, null != this.htmlExport.htmlImageHost && (ae.imageUrl = this.htmlExport.htmlImageHost.getImageString(Se)), ae.cssClass = mt.cssClass, ae.width = O.newUnit(Se.width / de * this.htmlExport.zoom, StiOptions.Export.Html.printLayoutOptimization), ae.height = O.newUnit(Se.height / de * this.htmlExport.zoom, StiOptions.Export.Html.printLayoutOptimization), ae.openLinksTarget = this.htmlExport.openLinksTarget, mt.controls.add(ae) } else { var be = null; if (null != dt.component && dt.component.stimulsoft.is(P)) { var ve = dt.component.stimulsoft.as(P); ve.stretch && 1 != ve.aspectRatio && ve.imageRotation == N.None && (be = ve.imageURLValue ? ve.imageURLValue.stimulsoft.as(String) : null) } var Ce = new j; Ce.aspectRatio = Se.aspectRatio, Ce.horAlignment = Se.horAlignment, Ce.vertAlignment = Se.vertAlignment, Ce.imageRotation = Se.imageRotation, Ce.margins = Se.margins, Ce.multipleFactor = Se.multipleFactor, Ce.stretch = Se.stretch, Ce.zoom = Se.zoom, Ce.base64 = Se.base64, null != be && 0 != be.length ? Ce.imageUrl = be : null != this.htmlExport.htmlImageHost && (Ce.imageUrl = this.htmlExport.htmlImageHost.getImageString(Se)), Ce.toolTip = Qt, Ce.width = O.newUnit(Se.width / de * this.htmlExport.zoom, !1), Ce.height = O.newUnit(Se.height / de * this.htmlExport.zoom, !1), mt.controls.add(Ce) } oe = !1 } } else { var Ee = new L; if (i.isNullOrWhiteSpace(Yt) || Ee.attributes.set("name", Yt), i.isNullOrEmpty(Ut) || Ee.attributes.set("guid", Ut), Ee.toolTip = Qt, Ee.navigateUrl = Gt, Jt) mt.id = this.htmlExport.getGuid(dt.component), mt.text = this.htmlExport.prepareChartData(null, dt.component, pt, ht); else if (Wt) mt.id = this.htmlExport.getGuid(dt.component), mt.text = this.htmlExport.prepareMapData(null, dt.component, pt, ht); else if (Vt) mt.id = this.htmlExport.getGuid(dt.component), mt.text = this.htmlExport.prepareMapData(null, dt.component, pt, ht); else if (dt.component.stimulsoft.is(t.Report.BarCodes.StiBarCode) || dt.component.stimulsoft.is(t.Report.Components.StiCheckBox) || dt.component.stimulsoft.is(t.Report.Components.StiShape) || Jt && this.htmlExportSettings.chartType != r.StiHtmlChartType.AnimatedVector) { var kt = dt.component.stimulsoft.as(g) , se = new _ , le = r.StiSvgHelper.saveComponentToString(kt, e.ImageFormat.Jpeg, .75, 100, !1) , ue = i.format('{3}', pt, ht, this.htmlExport.zoom, le); se.text = ue, mt.controls.add(se) } else if (null != zt) { var de = this.htmlExport.zoom , ge = this.htmlExport.imageResolution; if (StiOptions.Export.Html.useImageResolution && null != zt.stimulsoft.as(P) && null != zt.stimulsoft.as(P).imageToDraw) { var fe = zt.imageToDraw.horizontalResolution; fe >= 50 && fe <= 1250 && (ge = fe) } 100 != ge && (de *= ge / 100); var Se = null; this.htmlExport.setCurrentCulture(); var Ae = zt.stimulsoft.as(R) , ye = { ref: de }; if (Se = Ae.imageToDraw, de = ye.ref, this.htmlExport.restoreCulture(), null != Se) { var we = this.matrix.getRealImageData(dt, Se); if (null != we && (Se = we), null != Gt && Gt.length > 0) { var ae = new L; ae.navigateUrl = Gt, ae.toolTip = Qt, null != this.htmlExport.htmlImageHost && (ae.imageUrl = this.htmlExport.htmlImageHost.getImageString(Se)), ae.cssClass = mt.cssClass, ae.width = O.newUnit(Se.width / de * this.htmlExport.zoom, StiOptions.Export.Html.printLayoutOptimization), ae.height = O.newUnit(Se.height / de * this.htmlExport.zoom, StiOptions.Export.Html.printLayoutOptimization), ae.openLinksTarget = this.htmlExport.openLinksTarget, mt.controls.add(ae) } else { var be = null; if (null != dt.component && dt.component.stimulsoft.is(P)) { var ve = dt.component.stimulsoft.as(P); ve.stretch && 1 != ve.aspectRatio && ve.imageRotation == N.None && (be = ve.imageURLValue ? ve.imageURLValue.stimulsoft.as(String) : null) } var Ce = new j; Ce.aspectRatio = Se.aspectRatio, Ce.horAlignment = Se.horAlignment, Ce.vertAlignment = Se.vertAlignment, Ce.imageRotation = Se.imageRotation, Ce.margins = Se.margins, Ce.multipleFactor = Se.multipleFactor, Ce.stretch = Se.stretch, Ce.zoom = Se.zoom, Ce.base64 = Se.base64, null != be && 0 != be.length ? Ce.imageUrl = be : null != this.htmlExport.htmlImageHost && (Ce.imageUrl = this.htmlExport.htmlImageHost.getImageString(Se)), Ce.toolTip = Qt, Ce.width = O.newUnit(Se.width / de * this.htmlExport.zoom, !1), Ce.height = O.newUnit(Se.height / de * this.htmlExport.zoom, !1), mt.controls.add(Ce) } oe = !1 } } if (oe && !Jt) { if (Ee.text = gt, null != dt.component && dt.component.stimulsoft.is(b)) { var ce = dt.component.stimulsoft.as(b) , me = E.toColor(ce.textBrush); Ee.style.set("color", this.htmlExport.formatColor(me)) } if (null != dt.component && dt.component.stimulsoft.is(C)) { var pe = dt.component.stimulsoft.as(C); pe.font.underline ? Ee.style.set("text-decoration", "underline") : Ee.style.set("text-decoration", "none") } } mt.controls.add(Ee) } var Be = dt.component.stimulsoft.as(S); null != Be && !Be.margins.isEmpty && oe && (mt.style.set(Q.marginsKey, i.format("{0} {1} {2} {3}", O.newUnit(Math.trunc(Be.margins.top * this.htmlExport.zoom)), O.newUnit(Math.trunc(Be.margins.right * this.htmlExport.zoom)), O.newUnit(Math.trunc(Be.margins.bottom * this.htmlExport.zoom)), O.newUnit(Math.trunc(Be.margins.left * this.htmlExport.zoom)))), null != mt.width && Be.margins.left + Be.margins.right > 0 && (mt.width.value -= Math.trunc(Be.margins.left * this.htmlExport.zoom) + Math.trunc(Be.margins.right * this.htmlExport.zoom)), null != mt.height && Be.margins.top + Be.margins.bottom > 0 && (mt.height.value -= Math.trunc(Be.margins.top * this.htmlExport.zoom) + Math.trunc(Be.margins.bottom * this.htmlExport.zoom))), null != ft && ft.textOptions.wordWrap ? (mt.style.set("word-wrap", "break-word"), mt.style.remove("white-space")) : mt.style.set("white-space", "nowrap"), null != ft && ft.textOptions.trimming != t.System.Drawing.StringTrimming.None && mt.style.set("text-overflow", "ellipsis") } else { this.htmlExport.exportQuality == r.StiHtmlExportQuality.High && (mt.width = O.newUnit(pt, StiOptions.Export.Html.printLayoutOptimization), mt.height = O.newUnit(ht, StiOptions.Export.Html.printLayoutOptimization)); var Ct = this.matrix.cellStyles[at][ct]; if (null != Ct) { var Et = et.get(Ct); null != Et && this.htmlExport.useStylesTable && (mt.cssClass = "s" + Ct.styleName) } i.isNullOrEmpty(mt.cssClass) && mt.style.set("border", "0px") } } null == ut[ct] && (ut[ct] = v.transparent) } if (StiOptions.Export.Html.useStrictTableCellSize && 0 != ut[0].a) { for (var St = !0, Te = 0; Te < ut.length - 1; Te++) if (!ut[Te].stimulsoft.equals(ut[Te + 1])) { St = !1; break } St && lt.style.set("background-color", this.htmlExport.formatColor(ut[0])) } } X.renderControl(this.htmlExport.htmlWriter) } , B }(); r.StiHtmlTableRender = J }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[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" }(e = t.EmfTextAlignmentMode || (t.EmfTextAlignmentMode = {})) }(e = t.Export || (t.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = t.Base.StiGuidUtils , n = t.Report.Components.StiPagesCollection , o = function() { function t() {} return t.divide = function(t, e) { var o, a, s, l, u, c; void 0 === e && (e = null); var m = !1; try { for (var p = __values(t.list), h = p.next(); !h.done; h = p.next()) { var d = h.value; if (d.segmentPerWidth > 1 || d.segmentPerHeight > 1) { m = !0; break } } } catch (t) { o = { error: t } } finally { try { h && !h.done && (a = p.return) && a.call(p) } finally { if (o) throw o.error } } if (!m) return t; var g = new n(t.report,t); g.cacheMode = t.cacheMode, 1 == g.cacheMode && (g.canUseCacheMode = !0); try { for (var f = __values(t.list), S = f.next(); !S.done; S = f.next()) { var d = S.value; if (t.getPage(d), null != e && e.invokeExporting(d, t, e.currentPassNumber, e.maximumPassNumber), d.segmentPerWidth > 1 || d.segmentPerHeight > 1) for (var A = 0; A < d.segmentPerWidth; A++) for (var y = 0; y < d.segmentPerHeight; y++) { var w = d.clone(!1, !1); w.cacheGuid = i.newGuid(), w.segmentPerWidth = 1, w.segmentPerHeight = 1; var b = new r(A * w.width,y * w.height,w.width,w.height) , v = A * w.width , C = (A + 1) * w.width , E = y * w.height , B = (y + 1) * w.height; try { for (var T = (u = void 0, __values(d.components.list)), I = T.next(); !I.done; I = T.next()) { var x = I.value; if (x.enabled && v <= x.left && x.left < C && E <= x.top && x.top < B) if (0 == b.left && 0 == b.top) w.components.add(x); else { var F = x.clone(); F.left -= b.left, F.top -= b.top, w.components.add(F) } } } catch (t) { u = { error: t } } finally { try { I && !I.done && (c = T.return) && c.call(T) } finally { if (u) throw u.error } } g.addV2Internal(w) } else g.canUseCacheMode = !1, g.addV2Internal(d), g.canUseCacheMode = 1 == g.cacheMode } } catch (t) { s = { error: t } } finally { try { S && !S.done && (l = f.return) && l.call(f) } finally { if (s) throw s.error } } return g.canUseCacheMode = !1, g } , t }(); e.StiSegmentPagesDivider = o }(r = e.Export || (e.Export = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.StiString , i = t.Report.Components.StiPagesCollection , n = function() { function n(t, r, i) { void 0 === t && (t = e.StiRangeType.All), void 0 === r && (r = ""), void 0 === i && (i = 0), this.rangeType = e.StiRangeType.All, this.pageRanges = "", this.currentPage = 0, this.rangeType = t, this.pageRanges = r, this.currentPage = i } return n.prototype.equals = function(t) { if (null == t) return !1; var e = t; if (this.rangeType != e.rangeType || this.pageRanges != e.pageRanges || this.currentPage != e.currentPage) return !1; return !0 } , n.prototype.getSelectedPages = function(n) { var o, a, s, l, u = new i(n.report,n); if (u.cacheMode = n.cacheMode, "All" == this.pageRanges && (this.rangeType = e.StiRangeType.All), this.rangeType == e.StiRangeType.Pages) { if (!r.isNullOrEmpty(this.pageRanges)) { var c = this.pageRanges.split(","); try { for (var m = __values(c), p = m.next(); !p.done; p = m.next()) { var h = p.value; if (-1 == h.indexOf("-")) try { var d = parseInt(h.trim()); d >= 1 && d <= n.count && u.addV2Internal(n.getByIndex(d - 1)) } catch (e) { t.System.StiError.showError(e, !1) } else { var g = h.split("-"); try { var f = parseInt(g[0].trim()) , S = parseInt(g[1].trim()); if (S = Math.min(S, n.count), f >= 1 && f <= n.count && S >= 1 && S <= n.count) if (f <= S) for (var A = f; A <= S; A++) u.addV2Internal(n.getByIndex(A - 1)); else for (var A = f; A >= S; A--) u.addV2Internal(n.getByIndex(A - 1)) } catch (e) { t.System.StiError.showError(e, !1) } } } } catch (t) { o = { error: t } } finally { try { p && !p.done && (a = m.return) && a.call(m) } finally { if (o) throw o.error } } } if (0 != u.count) return u } else if (this.rangeType == e.StiRangeType.CurrentPage && (this.currentPage >= 0 && this.currentPage < n.count && u.addV2Internal(n.getByIndex(this.currentPage)), 0 != u.count)) return u; try { for (var y = __values(n.list), w = y.next(); !w.done; w = y.next()) { var b = w.value; u.addV2Internal(b) } } catch (t) { s = { error: t } } finally { try { w && !w.done && (l = y.return) && l.call(y) } finally { if (s) throw s.error } } return u } , n.All = new n, n }(); e.StiPagesRange = n }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Text.StringBuilder , n = function() { function t() {} return t.addUnits = function(t, e) { 0 != e && t.append(this.units[e - 1]) } , t.addTens = function(t, e) { 0 != e && t.append(this.tens[e - 1]) } , t.addRank = function(t, e, r, i) { var n = e.ref , o = r.ref , a = o / n | 0; if (a > 0) { var s = a / 100 | 0 , l = (a / 10 | 0) % 10 , u = a % 10; 1 == l && (l = 0, u = a % 100), t.length > 0 && (s > 0 ? t.append(" ") : l + u > 0 && t.append(" and ")), s > 0 && (this.addUnits(t, s), t.append(" hundred"), l + u > 0 && t.append(" and ")), l > 0 && (this.addTens(t, l), u > 0 && t.append("-")), u > 0 && this.addUnits(t, u), t.append(" "), t.append(i), o %= n } n = Math.floor(n / 1e3), e.ref = n, r.ref = o } , t.decline = function(t, e, r, i) { if (void 0 === i && (i = null), e.stimulsoft.is(String) && null == i) { var n = "" + e , o = r; if (1 == t % 100) return n; return o } if (e.stimulsoft.is(Boolean) && void 0 != i) { var a = !!e , s = r; if (a) { var l = i.split("/"); return this.decline(t, l[0], l[1]) } var u = s.split("/"); return this.decline(t, u[0], u[1]) } return null } , t.numToStr = function(t, e) { void 0 === e && (e = !0); var r = new i; if (0 == t) r.append("zero"); else { var n = !1; t < 0 && (n = !0, t = Math.abs(t)); var o = 1e18 , a = { ref: o } , s = { ref: t }; this.addRank(r, a, s, "quintillion"), this.addRank(r, a, s, "quadrillion"), this.addRank(r, a, s, "trillion"), this.addRank(r, a, s, "billion"), this.addRank(r, a, s, "million"), this.addRank(r, a, s, "thousand"), this.addRank(r, a, s, ""), o = a.ref, t = s.ref, n && r.insert(0, "minus ") } var l = r.toString(); return e && (l = l.charAt(0).toUpperCase() + l.substr(1)), l } , t.currToStr3 = function(t, e) { return this.currToStr(t, !0, e, "dollar/dollars", "cent/cents") } , t.currToStr = function(t, e, i, n, o) { void 0 === e && (e = !0), void 0 === i && (i = !0), void 0 === n && (n = "dollar/dollars"), void 0 === o && (o = "cent/cents"); var a = Math.trunc(t) , s = 0; StiOptions.Engine.useRoundForToCurrencyWordsFunctions ? (s = Math.round(100 * (t - a))) > 99 && (s = 0, a++) : s = 100 * (t - a); var l = this.numToStr(a, e); return 0 == t && (l += " "), l.stimulsoft.endsWith(" ") || (l += " "), l = r.format("{0}{1}", l, this.decline(a, !1, n, o)), i && (l += " and ", l += r.format("{0}", this.numToStr(s, !1)), 0 == s && (l += " "), l += r.format("{0}", this.decline(s, !0, n, o))), l } , t.dateToStr = function(t, e) { if (void 0 === e && (e = !1), null == t) return ""; var i = r.format("{0} {1} {2}", t.day, this.months[t.month - 1], t.year); return e && (i = i.charAt(0).toUpperCase() + i.substr(1)), i } , t.months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], t.units = ["one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"], t.tens = ["ten", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"], t }(); e.En = n }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { function r(t, e) { return t + " : " + e } var i = t.System.StiString, n = t.Report.Dictionary.StiBusinessObject, o = t.Report.Dictionary.StiDataSource, a = t.System.Collections.Hashtable, s = t.System.Globalization.CultureInfo, l = t.System.ResourceManager, u = t.System.Text.StringBuilder, c; !function(t) { t[t.Masculine = 0] = "Masculine", t[t.Feminine = 1] = "Feminine", t[t.Neutral = 2] = "Neutral" }(c = e.Gender || (e.Gender = {})); var m = function() { function t() {} return Object.defineProperty(t.prototype, "gender", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "centsGender", { get: function() { return null }, enumerable: !0, configurable: !0 }), t }(); e.BaseCurrency = m; var p = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "dollars", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "cents", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "dollarOne", { get: function() { return this.dollars[0] }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "dollarTwo", { get: function() { return this.dollars[1] }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "dollarFive", { get: function() { return this.dollars[2] }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "centOne", { get: function() { return this.cents[0] }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "centTwo", { get: function() { return this.cents[1] }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "centFive", { get: function() { return this.cents[2] }, enumerable: !0, configurable: !0 }), e }(m); e.Currency = p; var h = function() { function t() {} return t.addWord = function(t, e, r) { var n = t.ref; i.isNullOrEmpty(e) || (n = n + r + e), t.ref = n } , t.addWords = function(t, e, r, i, n) { var o = "" , a = { ref: o }; return this.addWord(a, t, " "), this.addWord(a, r, " "), this.addWord(a, n, " "), this.addWord(a, e, " "), this.addWord(a, i, " "), o = a.ref } , t.determinateCurrencies = function(t, e, r, i, n, o) { var a = n.ref , s = o.ref; a = r / 1e6 > 0 && r % 1e6 == 0 ? d.resourceManager.getString(e + "BigSeparator", t) : r > 1 ? d.resourceManager.getString(e + "Plural", t) : d.resourceManager.getString(e + "Single", t), s = i > 1 ? d.resourceManager.getString(e + "CentPlural", t) : d.resourceManager.getString(e + "CentSingle", t), n.ref = a, o.ref = s } , t.maxValue = 1e15, t }(); e.NumToWordHelper = h, e.NumToWordException = r; var d = function() { function t() {} return Object.defineProperty(t, "resourceManager", { get: function() { return null == this.resourceMan && (this.resourceMan = new l), this.resourceMan }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "culture", { get: function() { return this.resourceCulture }, set: function(t) { this.resourceCulture = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "eurBigSeparator", { get: function() { return this.resourceManager.getString("EURBigSeparator", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "eurCentGender", { get: function() { return this.resourceManager.getString("EURCentGender", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "eurCentPlural", { get: function() { return this.resourceManager.getString("EURCentPlural", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "EURCentSingle", { get: function() { return this.resourceManager.getString("EURCentSingle", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "EURGender", { get: function() { return this.resourceManager.getString("EURGender", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "EURPlural", { get: function() { return this.resourceManager.getString("EURPlural", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "EURSingle", { get: function() { return this.resourceManager.getString("EURSingle", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "GBPBigSeparator", { get: function() { return this.resourceManager.getString("GBPBigSeparator", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "GBPCentGender", { get: function() { return this.resourceManager.getString("GBPCentGender", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "GBPCentPlural", { get: function() { return this.resourceManager.getString("GBPCentPlural", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "GBPCentSingle", { get: function() { return this.resourceManager.getString("GBPCentSingle", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "GBPGender", { get: function() { return this.resourceManager.getString("GBPGender", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "GBPPlural", { get: function() { return this.resourceManager.getString("GBPPlural", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "GBPSingle", { get: function() { return this.resourceManager.getString("GBPSingle", this.resourceCulture) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "TooLongError", { get: function() { return this.resourceManager.getString("TooLongError", this.resourceCulture) }, enumerable: !0, configurable: !0 }), t }(); e.Resource = d; var g = function() { function t() {} return t.toRoman = function(t) { var e = ""; while (t > 0) for (var r = 5; r >= 0; r--) { if (t >= this.arabics[r]) { e += this.romans[r], t -= this.arabics[r]; break } for (var i = !1, n = this.subs[r]; n < r; n++) { if (this.arabics[n] == this.arabics[r] - this.arabics[n]) continue; if (t >= this.arabics[r] - this.arabics[n]) { e += this.romans[n], e += this.romans[r], t -= this.arabics[r] - this.arabics[n], i = !0; break } } if (i) break } return e } , t.toABC = function(t) { if (t < 1) return ""; var e = "" , r = 0; while (t > 26) r++, t -= 26; return i.repeat(this.abc[t - 1], r + 1) } , t.toABCNumeric = function(t) { var e = 0; while (t > 26) e++, t -= 26; return 0 == e ? String.fromCharCode(t + 64) : String.fromCharCode(t + 64) + "" + e.stimulsoft.toNumber() } , t.toABCRu = function(t) { if (t < 1) return ""; var e = "" , r = 0; while (t > 26) r++, t -= 26; return i.repeat(this.abcRu[t - 1], r + 1) } , t.toArabic = function(t, e) { for (var r = t.toString(), i = "", n = 0; n < r.length; n++) { var o = r.charCodeAt(n); o >= 48 && o <= 57 && (o += 1632 - 48, e && (o += 1776 - 1632)), i += String.fromCharCode(o) } return i } , t.arabics = [1, 5, 10, 50, 100, 1e3], t.romans = ["I", "V", "X", "L", "C", "M"], t.subs = [0, 0, 0, 2, 2, 4], t.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"], t.abcRu = ["А", "Б", "В", "Г", "Д", "Е", "Ж", "З", "И", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ", "Э", "Ю", "Я"], t }(); e.Convert = g; var f = function() { function e() {} return e.joinColumnContent = function(t, e, r, i) { if (void 0 === i && (i = !1), t.stimulsoft.is(o)) { var s = t.stimulsoft.as(o) , l = new Array , c = new a; if (!s.isEmpty) { s.saveState("JoinColumnContent"), s.first(); while (!s.isEof) { var m = s.getByName(e).toString() , p = !0; i && (c.containsKey(m) ? p = !1 : c.set(m, null)), p && l.add(m), s.next() } s.restoreState("JoinColumnContent") } for (var h = new u, d = 0; d < l.length; d++) h.append(l[d]), d < l.length - 1 && h.append(r); return h.toString() } if (t.stimulsoft.is(n)) { var g = t.stimulsoft.as(n) , l = new Array , c = new a; if (!g.isEmpty && g.count > 0) { g.saveState("JoinColumnContent"), g.first(); var f = e.split("."); while (!g.isEof) { var S = g , A = null , y = 0; while (y < f.length - 1) { if (A = f[y], S.columns.contains(A)) break; S = S.businessObjects.getByName(A), y++ } var w = S.getByName(f[y]) , m = w.toString() , p = !0; i && (c.containsKey(m) ? p = !1 : c.set(m, null)), p && l.add(m), g.next() } g.restoreState("JoinColumnContent") } for (var h = new u, d = 0; d < l.length; d++) h.append(l[d]), d < l.length - 1 && h.append(r); return h.toString() } return "" } , e.toQueryString = function(e, r, n) { var o, a, s = new u, l = 0; try { for (var c = __values(e), m = c.next(); !m.done; m = c.next()) { var p = m.value; l > 0 && s.append(", "); var h = void 0; h = i.isNullOrEmpty(n) ? p.toString() : i.format(n, t.System.Convert.toDateTime(p).toString()), i.isNullOrEmpty(r) || (h = h.stimulsoft.replaceAll(r, r + r)), s.append(r + h + r), l++ } } catch (t) { o = { error: t } } finally { try { m && !m.done && (a = c.return) && a.call(c) } finally { if (o) throw o.error } } return s.toString() } , e }(); e.EngineHelper = f; var S = function() { function e() {} return e.monthName = function(e, r, i) { if (void 0 === r && (r = null), void 0 === i && (i = null), null == r) return this.monthName(e, s.currentCulture.name.toString()); if (null != r && r.stimulsoft.is(Boolean)) { if (r) switch (e.month) { case 1: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthJanuary"); case 2: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthFebruary"); case 3: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthMarch"); case 4: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthApril"); case 5: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthMay"); case 6: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthJune"); case 7: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthJuly"); case 8: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthAugust"); case 9: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthSeptember"); case 10: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthOctober"); case 11: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthNovember"); case 12: return t.Base.Localization.StiLocalization.get("A_WebViewer", "MonthDecember") } return this.monthName(e) } if (null != r && r.stimulsoft.is(String)) { var n = "" + r , o = e.month , a = ""; try { var l = s.cultures[n]; a = l.dateTimeFormat.monthNames[o - 1] } catch (e) { t.System.StiError.showError(e, !1); var u = n.toLowerCase() , c = +this.cultureIndexes.get(u); o < this.months[c].length && (a = this.months[c][o - 1]), this.defaultUpperCaseList[c] && (a = a.substr(0, 1).toUpperCase() + a.substr(1)) } if (null != i) { if (i) return a.substr(0, 1).toUpperCase() + a.substr(1); return a.substr(0, 1).toLowerCase() + a.substr(1) } return a } return "" } , e.addCulture = function(t, e, r) { var i, n, o = this.months.length; this.months.add(t), this.defaultUpperCaseList.add(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) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } , e.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) } , e.months = null, e.defaultUpperCaseList = null, e.cultureIndexes = null, e }(); e.MonthToStr = S; var A = function() { function e() {} return e.dayOfWeek = function(e, r, i) { if (void 0 === r && (r = null), void 0 === i && (i = null), null == r) return this.dayOfWeek(e, s.currentCulture.name.toString()); if (null != r && r.stimulsoft.is(Boolean)) { if (r) switch (e.dayOfWeek) { case t.System.DayOfWeek.Sunday: return t.Base.Localization.StiLocalization.get("A_WebViewer", "DaySunday"); case t.System.DayOfWeek.Monday: return t.Base.Localization.StiLocalization.get("A_WebViewer", "DayMonday"); case t.System.DayOfWeek.Tuesday: return t.Base.Localization.StiLocalization.get("A_WebViewer", "DayTuesday"); case t.System.DayOfWeek.Wednesday: return t.Base.Localization.StiLocalization.get("A_WebViewer", "DayWednesday"); case t.System.DayOfWeek.Thursday: return t.Base.Localization.StiLocalization.get("A_WebViewer", "DayThursday"); case t.System.DayOfWeek.Friday: return t.Base.Localization.StiLocalization.get("A_WebViewer", "DayFriday"); case t.System.DayOfWeek.Saturday: return t.Base.Localization.StiLocalization.get("A_WebViewer", "DaySaturday") } return this.dayOfWeek(e, s.currentCulture.name.toString()) } if (null != r && r.stimulsoft.is(String)) { var n = "" + r , o = ""; try { var a = s.cultures[n]; o = a.dateTimeFormat.dayNames[e.dayOfWeek] } catch (r) { t.System.StiError.showError(r, !1); var l = +e.dayOfWeek , u = n.toLowerCase() , c = +this.cultureIndexes.get(u); l < this.days[c].length && (o = this.days[c][l]), this.defaultUpperCaseList[c] && (o = o.substr(0, 1).toUpperCase() + o.substr(1)) } if (null != i) { if (i) return o.substr(0, 1).toUpperCase() + o.substr(1); return o.substr(0, 1).toLowerCase() + o.substr(1) } return o } return "" } , e.addCulture = function(t, e, r) { var i, n, o = this.days.length; this.days.add(t), this.defaultUpperCaseList.add(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) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } , e.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) } , e.days = null, e.defaultUpperCaseList = null, e.cultureIndexes = null, e }(); e.DayOfWeekToStr = A }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Globalization.CultureInfo , i = function() { function t() {} return t.convertToWord = function(t, i, n) { var o = new r("en-GB"); if (t > e.NumToWordHelper.maxValue) throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError", o), t); var a = Math.trunc(t) , s = Math.round(Math.abs((t - a) * Math.pow(10, n))); if (s > e.NumToWordHelper.maxValue) throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError", o), s); var l = this.convertToWord2(a, e.Resource.resourceManager.getString(i + "Gender", o).stimulsoft.toNumber(), 0) , u = this.convertToWord2(s, e.Resource.resourceManager.getString(i + "CentGender", o).stimulsoft.toNumber(), 0) , c = "" , m = "" , p = { ref: c } , h = { ref: m }; return e.NumToWordHelper.determinateCurrencies(o, i, a, s, p, h), m = h.ref, c = p.ref, e.NumToWordHelper.addWords(l, u, c, m, "and").trim() } , t.convertToWord2 = function(t, e, r) { t = Math.floor(t); var i = "" , n = t < 0; return n && (t = Math.abs(t)), 0 == t ? i = this.zeroWord : t < 20 ? i = this.lessTwenty[t] : t < 100 ? i = t % 10 == 0 ? this.tens[Math.floor(t / 10)] : this.tens[Math.floor(t / 10)] + "-" + this.convertToWord2(t % 10, e, 0) : t < 1e3 ? (i = this.convertToWord2(Math.floor(t / 100), e, 0) + " hundred", t % 100 > 0 && (i = i + " and " + this.convertToWord2(t % 100, e, 0))) : i = this.calculateOver(t, e), n && (i = this.lessWord + " " + i), i.trim() } , t.calculateOver = function(t, e) { var r = "" , i = "" , n = (t.toString().length - 1) / 3 | 0 , o = Math.pow(10, 3 * n); t % o > 0 && (i = this.convertToWord2(t % o, e, n)); var a = Math.floor(t / o); switch (a) { case 0: break; default: r = this.convertToWord2(a, e, n) + this.triplets[n][0] + " " + i; break } return r } , t.zeroWord = "zero", t.lessWord = "minus", t }(); e.EnGb = i, i.triplets = Array.create(String, 7, 2), i.lessTwenty = [], i.tens = [], i.triplets[0][0] = "", i.triplets[1][0] = " thousand", i.triplets[2][0] = " million", i.triplets[3][0] = " billion", i.triplets[4][0] = " trillion", i.triplets[5][0] = " quadrillion", i.triplets[6][0] = " qunintillion", i.triplets[0][1] = "", i.triplets[1][1] = " thousands", i.triplets[2][1] = " millions", i.triplets[3][1] = " milliards", i.triplets[4][1] = " trillions", i.triplets[5][1] = " quadrillions", i.triplets[6][1] = " qunintillions", i.lessTwenty[0] = "", i.lessTwenty[1] = "one", i.lessTwenty[2] = "two", i.lessTwenty[3] = "three", i.lessTwenty[4] = "four", i.lessTwenty[5] = "five", i.lessTwenty[6] = "six", i.lessTwenty[7] = "seven", i.lessTwenty[8] = "eight", i.lessTwenty[9] = "nine", i.lessTwenty[10] = "ten", i.lessTwenty[11] = "eleven", i.lessTwenty[12] = "twelve", i.lessTwenty[13] = "thirteen", i.lessTwenty[14] = "fourteen", i.lessTwenty[15] = "fifteen", i.lessTwenty[16] = "sixteen", i.lessTwenty[17] = "seventeen", i.lessTwenty[18] = "eighteen", i.lessTwenty[19] = "nineteen", i.tens[2] = "twenty", i.tens[3] = "thirty", i.tens[4] = "fourty", i.tens[5] = "fifty", i.tens[6] = "sixty", i.tens[7] = "seventy", i.tens[8] = "eighty", i.tens[9] = "ninety" }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.numberToStr = function(t, e) { 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() }) } , t.currencyToStr = function(t, e, r, i, n) { if (void 0 === n && (n = !1), r < 0) throw new Error("Cannot convert negative numbers."); var o = 0 , a = r , s = r.toString().stimulsoft.replaceAll(",", ".").lastIndexOf("."); if (s > 0) { for (var l = r.toString().substr(s + 1), u = l.length; u < i; u++) l += "0"; o = l.stimulsoft.toNumber() } var c = this.numberToWords(a, n).trim() , m = this.numberToWords(o, !0).trim(); return c.length > 0 && m.length > 0 ? c = c + " and " + e + " " + m : 0 == c.length && m.length > 0 && (c = this.wordsDictionary.K_0, c = c + " and " + e.toLowerCase() + " " + m), (t + " " + c + " Only").replace(/([^\W_]+[^\s-]*) */g, function(t) { return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase() }) } , t.numberToWords = function(t, e) { t = Math.floor(t); var r = "" , i = "" , n = 0 , o = 0; if (0 == t) r = this.wordsDictionary["K_" + t.toString()], e && (r = ""); else if (t >= 1 && t < 20) r = this.wordsDictionary["K_" + t.toString()]; else if (t >= 20 && t < 100) n = 10 * Math.floor(t / 10), r = this.wordsDictionary["K_" + n.toString()], o = t % 10, r = r + " " + this.numberToWords(o, !0); else if (t >= 100 && t < 1e3) n = Math.floor(t / 100), r = this.numberToWords(n, !0), i = this.wordsDictionary.K_100, o = t % 100, r = r + " " + i + " " + this.numberToWords(o, !0); else if (t >= 1e3 && t < 1e5) n = Math.floor(t / 1e3), r = this.numberToWords(n, !0), i = this.wordsDictionary.K_1000, o = t % 1e3, r = r + " " + i + " " + this.numberToWords(o, !0); else if (t >= 1e5 && t < 1e7) n = Math.floor(t / 1e5), r = this.numberToWords(n, !0), i = this.wordsDictionary.K_100000, o = t % 1e5, r = r + " " + i + " " + this.numberToWords(o, !0); else if (t >= 1e7 && t < 1e9) n = Math.floor(t / 1e7), r = this.numberToWords(n, !0), i = this.wordsDictionary.K_10000000, o = t % 1e7, r = r + " " + i + " " + this.numberToWords(o, !0); else { if (!(t >= 1e9 && t < 1e15)) throw new Error("number to big to convert."); n = Math.floor(t / 1e7), r = this.numberToWords(n, !0), i = this.wordsDictionary.K_10000000, r = r + " " + i, i = "", o = t % 1e7, r = r + " " + this.numberToWords(o, !0) } return r } , Object.defineProperty(t, "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: !0, configurable: !0 }), t._wordsDictionary = null, t }(); t.EnIn = e }(e = t.Func || (t.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Globalization.CultureInfo , i = function() { function t() {} return t.convertToWord = function(t, i, n) { var o = new r("es-ES"); if (t > e.NumToWordHelper.maxValue) throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError", o), t); var a = Math.trunc(t) , s = Math.abs((t - a) * Math.pow(10, n)); if (s > e.NumToWordHelper.maxValue) throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError", o), s); var l = this.convertToWord2(a, e.Resource.resourceManager.getString(i + "Gender", o).stimulsoft.toNumber(), 0) , u = this.convertToWord2(s, e.Resource.resourceManager.getString(i + "CentGender", o).stimulsoft.toNumber(), 0) , c = "" , m = "" , p = { ref: c } , h = { ref: m }; return e.NumToWordHelper.determinateCurrencies(o, i, a, s, p, h), this.determinateCurrenciesEurUsd(o, i, a, s, p, h), m = h.ref, c = p.ref, e.NumToWordHelper.addWords(l, u, c, m, "y").trim() } , t.determinateCurrenciesEurUsd = function(t, e, r, i, n, o) { var a = n.ref , s = o.ref , l = -1; "USD" == e && (l = 0), "EUR" == e && (l = 1), -1 != l && (a = Math.floor(r / 1e6) > 0 && r % 1e6 == 0 ? this.currencies[l][1] : r > 1 ? this.currencies[l][1] : this.currencies[l][0], s = i > 1 ? this.currencies[l][3] : this.currencies[l][2]), n.ref = a, o.ref = s } , t.numToStr = function(t, i) { var n = new r("es-ES"); if (t > e.NumToWordHelper.maxValue) throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError", n), t); var o = this.convertToWord2(t, 1, 0, !0); return i && o.length > 1 && (o = o[0].toUpperCase() + o.substr(1)), o.trim() } , t.numToStr2 = function(t, i, n) { var o = new r("es-ES"); if (t > e.NumToWordHelper.maxValue) throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError", o), t); var a = this.convertToWord2(t, n ? 2 : 1, 0, !0); return i && a.length > 1 && (a = a[0].toUpperCase() + a.substr(1)), a.trim() } , t.convertToWord2 = function(t, e, r, i) { void 0 === i && (i = !1), t = Math.floor(t); var n = "" , o = t < 0; if (o && (t = Math.abs(t)), 0 == t) n = this.zeroWord; else if (t < 20) n = 1 == t && 2 == e ? "una" : 1 != t || 1 != e || i ? this.lessTwenty[t] : "un"; else if (t < 100) n = t % 10 == 0 ? this.tens[t / 10 | 0] : 2 == (t / 10 | 0) ? "veinti" + this.convertToWord2(t % 10, e, 0, i) : this.tens[t / 10 | 0] + " y " + this.convertToWord2(t % 10, e, 0, i); else if (t < 1e3) { switch (t / 100 | 0) { case 1: n = 100 == t ? "cien" : "ciento"; break; case 5: n = 1 == e ? "quinientos" : "quinientas"; break; case 7: n = 1 == e ? "setecientos" : "setecientas"; break; case 9: n = 1 == e ? "novecientos" : "novecientas"; break; default: n = this.convertToWord2(t / 100 | 0, e, 0, i) + (1 == e ? "cientos" : "cientas"); break } t % 100 > 0 && (n = n + " " + this.convertToWord2(t % 100, e, 0, i)) } else n = t < 1e6 ? 1 == Math.floor(t / 1e3) ? this.triplets[1][0] + (t % 1e3 == 0 ? "" : " " + this.convertToWord2(t % 1e3, e, 0, i)) : this.convertToWord2(Math.floor(t / 1e3), e, 1, i) + this.triplets[1][1] + (t % 1e3 == 0 ? "" : " " + this.convertToWord2(t % 1e3, e, 0, i)) : t < 1e12 ? 1 == Math.floor(t / 1e6) ? this.convertToWord2(Math.floor(t / 1e6), e, 2, i) + this.triplets[2][0] + (t % 1e6 == 0 ? "" : " " + this.convertToWord2(t % 1e6, e, 0, i)) : this.convertToWord2(Math.floor(t / 1e6), e, 2, i) + this.triplets[2][1] + (t % 1e6 == 0 ? "" : " " + this.convertToWord2(t % 1e6, e, 0, i)) : t < 1e18 ? 1 == Math.floor(t / 1e12) ? this.convertToWord2(Math.floor(t / 1e12), e, 2, i) + this.triplets[4][0] + (t % 1e12 == 0 ? "" : " " + this.convertToWord2(t % 1e12, e, 0, i)) : this.convertToWord2(Math.floor(t / 1e12), e, 2, i) + this.triplets[4][1] + (t % 1e12 == 0 ? "" : " " + this.convertToWord2(t % 1e12, e, 0, i)) : 1 == Math.floor(t / 1e18) ? this.convertToWord2(Math.floor(t / 1e18), e, 2, i) + this.triplets[6][0] + (t % 1e18 == 0 ? "" : " " + this.convertToWord2(t % 1e18, e, 0, i)) : this.convertToWord2(Math.floor(t / 1e18), e, 2, i) + this.triplets[6][1] + (t % 1e18 == 0 ? "" : " " + this.convertToWord2(t % 1e18, e, 0, i)); return o && (n = this.lessWord + " " + n), n.trim() } , t.zeroWord = "cero", t.lessWord = "menos", t.currencies = [["dólar", "dólares", "centavo", "centavos"], ["euro", "euros", "céntimo", "céntimos"]], t }(); e.Es = i, i.triplets = Array.create(String, 7, 2), i.lessTwenty = [], i.tens = [], i.triplets[0][0] = "", i.triplets[1][0] = " mil", i.triplets[2][0] = " millón", i.triplets[3][0] = " mil milliones", i.triplets[4][0] = " billón", i.triplets[5][0] = " mil billón", i.triplets[6][0] = " trillón", i.triplets[0][1] = "", i.triplets[1][1] = " mil", i.triplets[2][1] = " millones", i.triplets[3][1] = " mil milliones", i.triplets[4][1] = " billónes", i.triplets[5][1] = " mil billónes", i.triplets[6][1] = " trillónes", i.lessTwenty[0] = "", i.lessTwenty[1] = "uno", i.lessTwenty[2] = "dos", i.lessTwenty[3] = "tres", i.lessTwenty[4] = "cuatro", i.lessTwenty[5] = "cinco", i.lessTwenty[6] = "seis", i.lessTwenty[7] = "siete", i.lessTwenty[8] = "ocho", i.lessTwenty[9] = "nueve", i.lessTwenty[10] = "diez", i.lessTwenty[11] = "once", i.lessTwenty[12] = "doce", i.lessTwenty[13] = "trece", i.lessTwenty[14] = "catorce", i.lessTwenty[15] = "quince", i.lessTwenty[16] = "dieciséis", i.lessTwenty[17] = "diecisiete", i.lessTwenty[18] = "dieciocho", i.lessTwenty[19] = "diecinueve", i.tens[2] = "veinte", i.tens[3] = "treinta", i.tens[4] = "cuarenta", i.tens[5] = "cincuenta", i.tens[6] = "sesenta", i.tens[7] = "setenta", i.tens[8] = "ochenta", i.tens[9] = "noventa" }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function() { function t() {} return t.convertToWord = function(t) { t = Math.floor(t); var e = [] , i = [] , n = ""; if (0 == (t = Math.abs(t))) return "صفر"; while (!0) { var o = 0 , a = 0; if (o = Math.floor(t / 1e3), a = t % 1e3, e.add(a), !(o >= 1e3)) { 0 != o && e.add(o); break } t = o } for (var s = 0; s <= e.length - 1; s++) i.add(this.changingNum(e[s])); for (var l = i.length - 1; l >= 0; l += -1) if (5 == l) { if (!r.isNullOrEmpty(i[5])) { if (r.isNullOrEmpty(i[4]) && r.isNullOrEmpty(i[3]) && r.isNullOrEmpty(i[2]) && r.isNullOrEmpty(i[1]) && r.isNullOrEmpty(i[0])) { n += i[5] + " بيليارد"; break } n += i[5] + " بيليارد و " } } else if (4 == l) { if (!r.isNullOrEmpty(i[4])) { if (r.isNullOrEmpty(i[3]) && r.isNullOrEmpty(i[2]) && r.isNullOrEmpty(i[1]) && r.isNullOrEmpty(i[0])) { n += i[4] + " بيليون"; break } n += i[4] + " بيليون و " } } else if (3 == l) { if (!r.isNullOrEmpty(i[3])) { if (r.isNullOrEmpty(i[2]) && r.isNullOrEmpty(i[1]) && r.isNullOrEmpty(i[0])) { n += i[3] + " ميليارد"; break } n += i[3] + " ميليارد و " } } else if (2 == l) { if (!r.isNullOrEmpty(i[2])) { if (r.isNullOrEmpty(i[1]) && r.isNullOrEmpty(i[0])) { n += i[2] + " ميليون"; break } n += i[2] + " ميليون و " } } else if (1 == l) { if (!r.isNullOrEmpty(i[1])) { if (r.isNullOrEmpty(i[0])) { n += i[1] + " هزار"; break } n += i[1] + " هزار و " } } else n += i[0]; return n } , t.changingNum = function(t) { var e = [] , i = "" , n = "" , o = "" , a = ""; while (!0) { var s = 0 , l = 0; if (s = Math.trunc(t / 10), l = Math.trunc(t % 10), e.add(l.toString()), !(s >= 10)) { e.add(s.toString()); break } t = s } if (3 == e.length) switch (e[2]) { case "0": o = ""; break; case "1": o = "صد"; break; case "2": o = "دويست"; break; case "3": o = "سيصد"; break; case "4": o = "چهارصد"; break; case "5": o = "پانصد"; break; case "6": o = "ششصد"; break; case "7": o = "هفتصد"; break; case "8": o = "هشتصد"; break; case "9": o = "نهصد"; break } switch (e[0]) { 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[1]) { case "0": n = ""; break; case "1": switch (e[0]) { 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 } 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 r.isNullOrEmpty(o) ? r.isNullOrEmpty(n) ? a += i : (a += n, r.isNullOrEmpty(i) || (a += " و " + i)) : (a += o, r.isNullOrEmpty(n) ? r.isNullOrEmpty(i) || (a += " و " + i) : (a += " و " + n, r.isNullOrEmpty(i) || (a += " و " + i))), a } , t }(); e.Fa = i }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Globalization.CultureInfo , i = function() { function t() {} return t.convertToWord = function(t, i, n) { var o = new r("fr-FR"); if (t > e.NumToWordHelper.maxValue) throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError", o), t); var a = Math.trunc(t) , s = Math.abs((t - a) * Math.pow(10, n)); if (s > e.NumToWordHelper.maxValue) throw e.NumToWordException(e.Resource.resourceManager.getString("TooLongError", o), s); var l = this.convertToWord2(a, e.Resource.resourceManager.getString(i + "Gender", o).stimulsoft.toNumber(), 0) , u = this.convertToWord2(s, e.Resource.resourceManager.getString(i + "CentGender", o).stimulsoft.toNumber(), 0) , c = "" , m = "" , p = { ref: c } , h = { ref: m }; return e.NumToWordHelper.determinateCurrencies(o, i, a, s, p, h), c = p.ref, m = h.ref, e.NumToWordHelper.addWords(l, u, c, m, "et").trim() } , t.convertToWord2 = function(t, e, r) { t = Math.floor(t); var i = "" , n = t < 0; if (n && (t = Math.abs(t)), 0 == t) i = this.zeroWord; else if (t < 20) i = 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 } i = this.tens[t / 10 | 0] + o, 7 == (t / 10 | 0) || 9 == (t / 10 | 0) ? ("" == o && (o = " "), i += this.convertToWord2(t % 10 + 10, e, 0)) : t % 10 != 0 && (i += this.convertToWord2(t % 10, e, 0)) } else if (t < 1e3) { switch (t / 100 | 0) { case 1: i = "cent"; break; default: i = this.convertToWord2(t / 100 | 0, e, 0) + " cent", t % 100 == 0 && 1 != r && (i += "s"); break } t % 100 > 0 && (i = i + " " + this.convertToWord2(t % 100, e, 0)) } else i = this.calculateOver(t, e); return n && (i = this.lessWord + " " + i), i.trim() } , t.calculateOver = function(t, e) { var r = "" , i = "" , n = (t.toString().length - 1) / 3 | 0 , o = Math.pow(10, 3 * n); t % o > 0 && (i = this.convertToWord2(t % o, e, n)); var a = Math.floor(t / o); switch (a) { case 0: break; case 1: r = 1 == n ? this.triplets[n][0] + " " + i : this.convertToWord2(a, e, n) + this.triplets[n][0] + " " + i; break; default: r = this.convertToWord2(a, e, n) + this.triplets[n][1] + " " + i; break } return r } , t.zeroWord = "zéro", t.lessWord = "moins", t }(); e.Fr = i, i.triplets = Array.create(String, 7, 2), i.lessTwentys = [], i.tens = [], i.triplets[0][0] = "", i.triplets[1][0] = " mille", i.triplets[2][0] = " million", i.triplets[3][0] = " milliard", i.triplets[4][0] = " trillion", i.triplets[5][0] = " quadrillion", i.triplets[6][0] = " qunintillion", i.triplets[0][1] = "", i.triplets[1][1] = " mille", i.triplets[2][1] = " millions", i.triplets[3][1] = " milliards", i.triplets[4][1] = " trillions", i.triplets[5][1] = " quadrillions", i.triplets[6][1] = " qunintillions", i.lessTwentys[0] = "", i.lessTwentys[1] = "un", i.lessTwentys[2] = "deux", i.lessTwentys[3] = "trois", i.lessTwentys[4] = "quatre", i.lessTwentys[5] = "cinq", i.lessTwentys[6] = "six", i.lessTwentys[7] = "sept", i.lessTwentys[8] = "huit", i.lessTwentys[9] = "neuf", i.lessTwentys[10] = "dix", i.lessTwentys[11] = "onze", i.lessTwentys[12] = "douze", i.lessTwentys[13] = "treize", i.lessTwentys[14] = "quatorze", i.lessTwentys[15] = "quinze", i.lessTwentys[16] = "seize", i.lessTwentys[17] = "dix-sept", i.lessTwentys[18] = "dix-huit", i.lessTwentys[19] = "dix-neuf", i.tens[2] = "vingt", i.tens[3] = "trente", i.tens[4] = "quarante", i.tens[5] = "cinquante", i.tens[6] = "soixante", i.tens[7] = "soixante", i.tens[8] = "quatre-vingt", i.tens[9] = "quatre-vingt" }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Globalization.CultureInfo , i = t.Report.Func.Resource , n = function() { function t() {} return t.convertToWord = function(t, n, o) { var a = new r("nl-NL"); if (t > e.NumToWordHelper.maxValue) throw e.NumToWordException(i.resourceManager.getString("TooLongError", a), t); var s = Math.trunc(t) , l = Math.abs((t - s) * Math.pow(10, o)); if (l > e.NumToWordHelper.maxValue) throw e.NumToWordException(i.resourceManager.getString("TooLongError", a), l); var u = this.convertToWord2(s, i.resourceManager.getString(n + "Gender", a).stimulsoft.toNumber(), 0) , c = this.convertToWord2(l, i.resourceManager.getString(n + "CentGender", a).stimulsoft.toNumber(), 0) , m = "" , p = "" , h = { ref: m } , d = { ref: p }; return e.NumToWordHelper.determinateCurrencies(a, n, s, l, h, d), p = d.ref, m = h.ref, e.NumToWordHelper.addWords(u, c, m, p, "en").trim() } , t.convertToWord2 = function(t, e, r) { t = Math.floor(t); var i = "" , n = t < 0; return n && (t = Math.abs(t)), 0 == t ? i = this.zeroWord : t < 20 ? i = this.lessTwenty[t] : t < 100 ? i = t % 10 == 0 ? this.tens[t / 10 | 0] : this.convertToWord2(t % 10, e, 0) + " en " + this.tens[t / 10 | 0] : t < 1e3 ? (i = this.convertToWord2(t / 100 | 0, e, 0) + " Honderd", t % 100 > 0 && (i = i + ", " + this.convertToWord2(t % 100, e, 0))) : i = this.calculateOver(t, e), n && (i = this.lessWord + " " + i), i.trim() } , t.calculateOver = function(t, e) { var r = "" , i = "" , n = (t.toString().length - 1) / 3 | 0 , o = Math.pow(10, 3 * n); t % o > 0 && (i = this.convertToWord2(t % o, e, n)); var a = Math.floor(t / o); switch (a) { case 0: break; default: r = this.convertToWord2(a, e, n) + this.triplets[n][0] + " " + i; break } return r } , t.zeroWord = "nul", t.lessWord = "minus", t }(); e.Nl = n, n.triplets = Array.create(String, 7, 2), n.lessTwenty = [], n.tens = [], n.triplets[0][0] = "", n.triplets[1][0] = " duizend", n.triplets[2][0] = " miljoen", n.triplets[3][0] = " miljard", n.triplets[4][0] = " biljoen", n.triplets[5][0] = " biljard", n.triplets[6][0] = " triljoen", n.triplets[0][1] = "", n.triplets[1][1] = " duizend", n.triplets[2][1] = " miljoen", n.triplets[3][1] = " miljard", n.triplets[4][1] = " biljoen", n.triplets[5][1] = " biljard", n.triplets[6][1] = " triljoen", n.lessTwenty[0] = "", n.lessTwenty[1] = "een", n.lessTwenty[2] = "twee", n.lessTwenty[3] = "drie", n.lessTwenty[4] = "vier", n.lessTwenty[5] = "vijf", n.lessTwenty[6] = "zes", n.lessTwenty[7] = "zeven", n.lessTwenty[8] = "acht", n.lessTwenty[9] = "negen", n.lessTwenty[10] = "tien", n.lessTwenty[11] = "elf", n.lessTwenty[12] = "twaalf", n.lessTwenty[13] = "dertien", n.lessTwenty[14] = "veertien", n.lessTwenty[15] = "vijftien", n.lessTwenty[16] = "zestien", n.lessTwenty[17] = "zeventien", n.lessTwenty[18] = "achtien", n.lessTwenty[19] = "negentien", n.tens[2] = "twintig", n.tens[3] = "dertig", n.tens[4] = "veertig", n.tens[5] = "vijftig", n.tens[6] = "zestig", n.tens[7] = "zeventig", n.tens[8] = "tachtig", n.tens[9] = "negentig" }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Text.StringBuilder , n = function() { function t() {} return t.numToStr = function(t, e) { t = Math.floor(t); var r; if (0 == t) r = "zero "; else { var n = new i , o = !1; t < 0 && (o = !0, t = Math.abs(t)); var a = 1e18 , s = { refRank: a, refValue: t }; this.addRank(n, s, this.quintillion), this.addRank(n, s, this.quadrillion), this.addRank(n, s, this.trillion), this.addRank(n, s, this.billion), this.addRank(n, s, this.million), this.addRank(n, s, this.thousends), this.addRank(n, s, null), a = s.refRank, t = s.refValue, r = n.toString(), o && (r = "minus " + r) } return e && (r = r.charAt(0).toUpperCase() + r.substr(1)), r.trim() } , t.addUnits = function(t, e) { 0 != e && t.append(this.units[e - 1]) } , t.addTens = function(t, e) { 0 != e && t.append(this.tens[e - 1]) } , t.addHundreds = function(t, e) { 0 != e && t.append(this.hundreds[e - 1]) } , t.addRank = function(t, e, r) { var i = e.refRank , n = e.refValue , o = Math.floor(n / i); if (o > 0) { var a = Math.floor(o / 100) , s = Math.floor(o / 10) % 10 , l = o % 10; if (1 == s && (s = 0, l = o % 100), t.length > 0 && (a > 0 ? t.append(" ") : s + l > 0 && t.append(" ")), a > 0 && (this.addHundreds(t, a), s + l > 0 && t.append(" ")), s > 0 && (this.addTens(t, s), l > 0 && t.append(" ")), l > 0 && 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 } n %= i } i = Math.floor(i / 1e3), e.refRank = i, e.refValue = n } , t.decline2 = function(t, e) { var r = t % 10 , i = Math.floor(t / 10); switch (r) { case 1: return 1 == i ? e[2] : e[0]; case 2: case 3: case 4: return 1 == i ? e[2] : e[1]; default: return e[2] } } , t.decline = function(t, e, r, i) { return e ? this.decline2(t, i) : this.decline2(t, r) } , t.currToStr2 = function(t, e, r, i, n) { var o = Math.floor(t) , a = 0; StiOptions.Engine.useRoundForToCurrencyWordsFunctions ? (a = Math.round(100 * (t - o))) > 99 && (a = 0, o++) : a = 100 * (t - o); var s = this.numToStr(o, e) + " " + this.decline(o, !1, i, n); return r && (s += " i " + this.numToStr(a, !1) + " " + this.decline(a, !0, i, n)), s } , t.currToStr = function(t, e, r, i) { switch (e) { case "USD": return this.currToStr2(t, i, r, this.dollar, this.cent); case "EUR": return this.currToStr2(t, i, r, this.euro, this.cent); default: return this.currToStr2(t, i, r, this.zloty, this.grosz) } } , t.dateToStr = function(t, e) { var i = r.format("{0} {1} {2}", t.day, this.months[t.month - 1], t.year); return e && (i = i[0].toUpperCase() + i.substr(1)), i } , t.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"], t.tens = ["dziesięć", "dwadzieścia", "trzydzieści", "czterdzieści", "pięćdziesiąt", "sześćdziesiąt", "siedemdziesiąt", "osiemdziesiąt", "dziewięćdziesiąt"], t.hundreds = ["sto", "dwieście", "trzysta", "czterysta", "pięćset", "sześćset", "siedemset", "osiemset", "dziewięćset"], t.thousends = ["tysiąc", "tysiące", "tysięcy"], t.million = ["milion", "miliony", "milionów"], t.billion = ["miliard", "miliardy", "miliardów"], t.trillion = ["bilion", "biliony", "bilionów"], t.quadrillion = ["biliard", "biliardy", "biliardów"], t.quintillion = ["trylion", "tryliony", "trylionów"], t.zloty = ["złoty", "złote", "złotych"], t.grosz = ["grosz", "grosze", "groszy"], t.dollar = ["dolar", "dolary", "dolarów"], t.cent = ["cent", "centy", "centów"], t.euro = ["euro", "euro", "euro"], t.months = ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"], t }(); e.Pl = n }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Text.StringBuilder , n = function() { function t() {} return t.numToStr = function(t, e) { t = Math.floor(t); var r = t >= 1e3, n; if (0 == t) n = "zero"; else { var o = new i , a = !1; t < 0 && (a = !0, t = Math.abs(t)); var s = 1e18 , l = { ref: s } , u = { ref: t }; this.addRank(o, l, u, u.ref.toString().stimulsoft.startsWith("1") ? "quintilião" : "quintiliões", r), this.addRank(o, l, u, u.ref.toString().stimulsoft.startsWith("1") ? "quadrilião" : "quadriliões", r), this.addRank(o, l, u, u.ref.toString().stimulsoft.startsWith("1") ? "trilião" : "triliões", r), this.addRank(o, l, u, u.ref.toString().stimulsoft.startsWith("1") ? "bilião" : "biliões", r), this.addRank(o, l, u, u.ref.toString().stimulsoft.startsWith("1") ? "milhão" : "milhões", r), this.addRank(o, l, u, "mil", r), this.addRank(o, l, u, "", r), s = l.ref, t = u.ref, n = o.toString(), a && (n = "menos " + n) } return e && (n = n.charAt(0).toUpperCase() + n.substr(1)), n } , t.addRank = function(t, e, r, i, n) { var o = e.ref , a = r.ref , s = a / o | 0; if (s > 0) { var l = s / 100 | 0 , u = (s / 10 | 0) % 10 , c = s % 10; if (1 == u && (u = 0, c = s % 100), t.length > 0 && (l > 0 ? n && u + c == 0 ? t.append(" e ") : t.append(" ") : u + c > 0 && t.append(" e ")), l > 0) { switch (l) { case 1: u + c > 0 ? 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 } u + c > 0 && t.append(" e ") } u > 0 && (this.addTens(t, u), "" != i && 0 == c && t.append(" "), c > 0 && t.append(" e ")), (n && c > 1 || c > 0 && "" == i) && this.addUnits(t, c), 0 != t.length && " " != t.toString()[t.length - 1] && t.append(" "), t.append(i), a %= o } o = Math.floor(o / 1e3), e.ref = o, r.ref = a } , t.addUnits = function(t, e) { 0 != e && t.append(this.units[e - 1]) } , t.addTens = function(t, e) { 0 != e && t.append(this.tens[e - 1]) } , t.decline = function(t, e, r, i) { if (e) { var n = i.split("/"); return this.decline2(t, n[0], n[1]) } var o = r.split("/"); return this.decline2(t, o[0], o[1]) } , t.decline2 = function(t, e, r) { if (1 == t % 100) return e; return r } , t.currToStr = function(t, e, i) { var n = "euro/euros" , o = "cêntimo/cêntimos" , a = this.numToStr(t, e); if (0 == t && (a += " "), a.stimulsoft.endsWith(" ") || (a += " "), a = r.format("{0}{1}", a, this.decline(t, !1, n, o)), i) { a += " e "; var s = 0; s = StiOptions.Engine.useRoundForToCurrencyWordsFunctions ? Math.round(100 * (t - t)) : 100 * (t - t), a += r.format("{0}", this.numToStr(s, !1)), 0 == s && (a += " "), a += r.format("{0}", this.decline(s, !0, n, o)) } return a } , t.dateToStr = function(t) { return r.format("{0} de {1} de {2}", t.day, this.months[t.month - 1], t.year) } , t.units = ["um", "dois", "três", "quatro", "cinco", "seis", "sete", "oito", "nove", "dez", "onze", "doze", "treze", "catorze", "quinze", "dezasseis", "dezassete", "dezoito", "dezanove"], t.tens = ["dez", "vinte", "trinta", "quarenta", "cinquenta", "sessenta", "setenta", "oitenta", "noventa"], t.months = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], t }(); e.Pt = n }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function() { function t() {} return t.numToStr = function(t) { var e = [] , i = ["", "", "", "", ""] , n = r.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 o = 1; o <= 4; o++) { var a = e[o] , s = a.stimulsoft.toNumber() , l = s < 10 ? 1 : s < 100 ? 2 : s < 1e3 ? 3 : 0; 3 == l && (a.stimulsoft.endsWith("00") ? i[o] += a.stimulsoft.startsWith("1") ? "CEM " : this.centena[a.substr(0, 1).stimulsoft.toNumber()] : (i[o] += this.centena[a.substr(0, 1).stimulsoft.toNumber()] + "E ", l = 2)), 2 == l && (a.substr(1, 2).stimulsoft.toNumber() < 20 ? i[o] += this.unid[a.substr(1, 2).stimulsoft.toNumber()] : (i[o] += this.dezena[a.substr(1, 1).stimulsoft.toNumber()], a.stimulsoft.endsWith("0") || (i[o] += "E ", l = 1))), 1 == l && (i[o] += this.unid[a.substr(2, 1).stimulsoft.toNumber()]) } var u = ""; 0 == (e[1] + e[2] + e[3]).stimulsoft.toNumber() && 0 != e[4].stimulsoft.toNumber() ? u = i[4] + (1 == e[4].stimulsoft.toNumber() ? "CENTAVO" : "CENTAVOS") : (u = 0 != e[1].stimulsoft.toNumber() ? i[1] + (e[1].stimulsoft.toNumber() > 1 ? "MILHÕES " : "MILHÃO ") : "", 0 == (e[2] + e[3]).stimulsoft.toNumber() ? u += "DE " : u += 0 != e[2].stimulsoft.toNumber() ? i[2] + "MIL " : "", u += i[3] + (1 == (e[1] + e[2] + e[3]).stimulsoft.toNumber() ? "REAL " : "REAIS "), u += 0 != e[4].stimulsoft.toNumber() ? "E " + i[4] + (1 == e[4].stimulsoft.toNumber() ? "CENTAVO" : "CENTAVOS") : ""); var c = ""; return c = 0 == t ? this.unid[0] : u.trim(), c.toLowerCase() } , t.unid = ["ZERO ", "UM ", "DOIS ", "TRÊS ", "QUATRO ", "CINCO ", "SEIS ", "SETE ", "OITO ", "NOVE ", "DEZ ", "ONZE ", "DOZE ", "TREZE ", "CATORZE ", "QUINZE ", "DEZESSEIS ", "DEZESSETE ", "DEZOITO ", "DEZENOVE "], t.dezena = ["ZERO ", "DEZ ", "VINTE ", "TRINTA ", "QUARENTA ", "CINQÜENTA ", "SESSENTA ", "SETENTA ", "OITENTA ", "NOVENTA "], t.centena = ["ZERO ", "CENTO ", "DUZENTOS ", "TREZENTOS ", "QUATROCENTOS ", "QUINHENTOS ", "SEISCENTOS ", "SETECENTOS ", "OITOCENTOS ", "NOVECENTOS "], t }(); e.PtBr = i }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Text.StringBuilder , n = t.System.Collections.Hashtable , o = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._dollars = ["рубль", "рубля", "рублей"], e._cents = ["копейка", "копейки", "копеек"], e } return __extends(r, t), Object.defineProperty(r.prototype, "gender", { get: function() { return e.Gender.Masculine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "centsGender", { get: function() { return e.Gender.Feminine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "dollars", { get: function() { return this._dollars }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cents", { get: function() { return this._cents }, enumerable: !0, configurable: !0 }), r }(e.Currency) , a = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._dollars = ["доллар", "доллара", "долларов"], e._cents = ["цент", "цента", "центов"], e } return __extends(r, t), Object.defineProperty(r.prototype, "gender", { get: function() { return e.Gender.Masculine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "centsGender", { get: function() { return e.Gender.Masculine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "dollars", { get: function() { return this._dollars }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cents", { get: function() { return this._cents }, enumerable: !0, configurable: !0 }), r }(e.Currency) , s = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._dollars = ["евро", "евро", "евро"], e._cents = ["цент", "цента", "центов"], e } return __extends(r, t), Object.defineProperty(r.prototype, "gender", { get: function() { return e.Gender.Neutral }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "centsGender", { get: function() { return e.Gender.Masculine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "dollars", { get: function() { return this._dollars }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cents", { get: function() { return this._cents }, enumerable: !0, configurable: !0 }), r }(e.Currency) , l = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._dollars = ["гривна", "гривны", "гривен"], e._cents = ["копейка", "копейки", "копеек"], e } return __extends(r, t), Object.defineProperty(r.prototype, "gender", { get: function() { return e.Gender.Feminine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "centsGender", { get: function() { return e.Gender.Feminine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "dollars", { get: function() { return this._dollars }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cents", { get: function() { return this._cents }, enumerable: !0, configurable: !0 }), r }(e.Currency) , u = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._dollars = ["тенге", "тенге", "тенге"], e._cents = ["тиын", "тиына", "тиынов"], e } return __extends(r, t), Object.defineProperty(r.prototype, "gender", { get: function() { return e.Gender.Masculine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "centsGender", { get: function() { return e.Gender.Feminine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "dollars", { get: function() { return this._dollars }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cents", { get: function() { return this._cents }, enumerable: !0, configurable: !0 }), r }(e.Currency) , c = function() { function t() {} return t.registerCurrency = function(t, e) { this.currencies.set(e.toUpperCase(), t) } , t.getCurrency = function(t) { var e = this.currencies.get(t.toUpperCase()); if (null == e) throw r.format("Currency '{0}' is not registered", t); return e } , t.addUnits = function(t, e, r) { 0 != e && (t.length > 0 && t.append(" "), e < 3 ? t.append(this.gendered[e - 1][r]) : t.append(this.units[e - 1])) } , t.addTens = function(t, e) { 0 != e && (t.length > 0 && t.append(" "), t.append(this.tens[e - 1])) } , t.addHundreds = function(t, e) { 0 != e && (t.length > 0 && t.append(" "), t.append(this.hundreds[e - 1])) } , t.addThousand = function(t, e, r) { this.addHundreds(t, e / 100 | 0), e %= 100, e < 20 ? this.addUnits(t, e, r) : (this.addTens(t, e / 10 | 0), this.addUnits(t, e % 10, r)) } , t.addRank = function(t, e, r, i, n, o, a) { var s = e.ref , l = r.ref , u = l / s | 0; if (u > 0) { this.addThousand(t, u, a); var c = u % 10 , m = u % 100 , p = ""; p = m >= 11 && m < 20 ? o : 1 == c ? i : c > 1 && c < 5 ? n : o, u > 10 && u < 20 && (p = o), t.length > 0 && t.append(" "), t.append(p), l %= s } s = Math.floor(s / 1e3), e.ref = s, r.ref = l } , t.numToStr = function(t, r, n) { void 0 === r && (r = !0), void 0 === n && (n = e.Gender.Masculine), t = Math.floor(t); var o = new i; if (0 == t) o.append("ноль"); else { t < 0 && (o.append("минус"), t = Math.abs(t)); var a = 1e18 , s = { ref: a } , l = { ref: t }; this.addRank(o, s, l, "квинтильон", "квинтильона", "квинтильонов", e.Gender.Masculine), this.addRank(o, s, l, "квадрильон", "квадрильона", "квадрильонов", e.Gender.Masculine), this.addRank(o, s, l, "триллион", "триллиона", "триллионов", e.Gender.Masculine), this.addRank(o, s, l, "миллиард", "миллиарда", "миллиардов", e.Gender.Masculine), this.addRank(o, s, l, "миллион", "миллиона", "миллионов", e.Gender.Masculine), this.addRank(o, s, l, "тысяча", "тысячи", "тысяч", e.Gender.Feminine), a = s.ref, t = l.ref, this.addThousand(o, t, n) } var u = o.toString(); return r && (u = u.charAt(0).toUpperCase() + u.substr(1)), u } , t.currToStr = function(t, e, i, n) { void 0 === e && (e = !0), void 0 === i && (i = "RUR"), void 0 === n && (n = !0); var o = Math.trunc(t) , a = 0; StiOptions.Engine.useRoundForToCurrencyWordsFunctions ? (a = Math.round(100 * (t - o))) > 99 && (a = 0, o++) : a = 100 * (t - o); var s = r.format("{0} {1}", this.numToStr(o, e, this.getCurrency(i).gender), this.decline(o, i)); return n && (s += r.format(" {0:d2}", a), s += r.format(" {0}", this.decline(a, i, !0))), s } , t.decline2 = function(t, e, r, i) { var n = t % 100; if (n >= 10 && n < 20) return i; if (1 == (n %= 10)) return e; if (n > 1 && n < 5) return r; return i } , t.decline = function(t, e, r) { void 0 === r && (r = !1); var i = this.getCurrency(e); return r ? this.decline2(t, i.centOne, i.centTwo, i.centFive) : this.decline2(t, i.dollarOne, i.dollarTwo, i.dollarFive) } , t.dateToStr = function(t, e) { void 0 === e && (e = !1); var i = r.format("{0} {1} {2}", t.day, this.months[t.month - 1], t.year); return e && (i = i[0].toUpperCase() + i.substr(1)), i } , t.currencies = new n, t.months = ["января", "февраля", "марта", "апреля", "мая", "июня", "июля", "августа", "сентября", "октября", "ноября", "декабря"], t.units = ["один", "два", "три", "четыре", "пять", "шесть", "семь", "восемь", "девять", "десять", "одиннадцать", "двенадцать", "тринадцать", "четырнадцать", "пятнадцать", "шестнадцать", "семнадцать", "восемнадцать", "девятнадцать"], t.tens = ["десять", "двадцать", "тридцать", "сорок", "пятьдесят", "шестьдесят", "семьдесят", "восемьдесят", "девяносто"], t.hundreds = ["сто", "двести", "триста", "четыреста", "пятьсот", "шестьсот", "семьсот", "восемьсот", "девятьсот"], t.gendered = [["один", "одна", "одно"], ["два", "две", "два"]], t }(); e.Ru = c, c.registerCurrency(new s, "EUR"), c.registerCurrency(new a, "USD"), c.registerCurrency(new o, "RUR"), c.registerCurrency(new l, "UAH"), c.registerCurrency(new u, "KZT") }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = function() { function e() {} return e.numToStr = function(i) { for (var n = r.customFormat(i, "000000000000000000.00").replace(".", ","), o = n.substr(0, n.indexOf(",")), a = "", s = 6, l, u = 0; u < 3 * s; u += 3) l = "", "0" != o.substr(u, 1) && (l += e.Birler[t.System.Convert.toInt32(o.substr(u, 1))] + "Yüz"), "BirYüz" == l && (l = "Yüz"), l += e.Onlar[t.System.Convert.toInt32(o.substr(u + 1, 1))], l += e.Birler[t.System.Convert.toInt32(o.substr(u + 2, 1))], "" != l && (l += e.Binler[u / 3]), "BirBin" == l && (l = "Bin"), a += l; return a } , e.currToStr = function(i, n, o) { void 0 === n && (n = "TL/Kr."), void 0 === o && (o = !0); var a = r.customFormat(i, "0.00").replace(".", ",") , s = a.substr(a.indexOf(",") + 1, 2) , l = n.split("/") , u = e.numToStr(i); u.length > 0 && (u += " " + l[0] + " "); var c = u.length; return "0" != s.substr(0, 1) && (u += e.Onlar[t.System.Convert.toInt32(s.substr(0, 1))]), "0" != s.substr(1, 1) && (u += e.Birler[t.System.Convert.toInt32(s.substr(1, 1))]), u.length > c ? u += " " + l[1] : o && (u += "Sıfır " + l[1]), u } , e.Birler = ["", "Bir", "İki", "Üç", "Dört", "Beş", "Altı", "Yedi", "Sekiz", "Dokuz"], e.Onlar = ["", "On", "Yirmi", "Otuz", "Kırk", "Elli", "Altmış", "Yetmiş", "Seksen", "Doksan"], e.Binler = ["Katrilyon", "Trilyon", "Milyar", "Milyon", "Bin", ""], e }(); e.Tr = i }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Text.StringBuilder , n = t.System.Collections.Hashtable , o = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._dollars = ["рубль", "рубля", "рублів"], e._cents = ["копійка", "копійки", "копійок"], e } return __extends(r, t), Object.defineProperty(r.prototype, "gender", { get: function() { return e.Gender.Masculine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "centsGender", { get: function() { return e.Gender.Feminine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "dollars", { get: function() { return this._dollars }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cents", { get: function() { return this._cents }, enumerable: !0, configurable: !0 }), r }(e.Currency) , a = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._dollars = ["долар", "долара", "доларів"], e._cents = ["цент", "цента", "центів"], e } return __extends(r, t), Object.defineProperty(r.prototype, "gender", { get: function() { return e.Gender.Masculine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "centsGender", { get: function() { return e.Gender.Masculine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "dollars", { get: function() { return this._dollars }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cents", { get: function() { return this._cents }, enumerable: !0, configurable: !0 }), r }(e.Currency) , s = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._dollars = ["євро", "євро", "євро"], e._cents = ["цент", "цента", "центів"], e } return __extends(r, t), Object.defineProperty(r.prototype, "gender", { get: function() { return e.Gender.Neutral }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "centsGender", { get: function() { return e.Gender.Masculine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "dollars", { get: function() { return this._dollars }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cents", { get: function() { return this._cents }, enumerable: !0, configurable: !0 }), r }(e.Currency) , l = function(t) { function r() { var e = null !== t && t.apply(this, arguments) || this; return e._dollars = ["гривня", "гривні", "гривень"], e._cents = ["копійка", "копійки", "копійок"], e } return __extends(r, t), Object.defineProperty(r.prototype, "gender", { get: function() { return e.Gender.Feminine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "centsGender", { get: function() { return e.Gender.Feminine }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "dollars", { get: function() { return this._dollars }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "cents", { get: function() { return this._cents }, enumerable: !0, configurable: !0 }), r }(e.Currency) , u = function() { function t() {} return t.registerCurrency = function(t, e) { this.currencies.set(e.toUpperCase(), t) } , t.getCurrency = function(t) { var e = this.currencies.get(t.toUpperCase()); if (null == e) throw r.format("Currency '{0}' is not registered", t); return e } , t.addUnits = function(t, e, r) { 0 != e && (t.length > 0 && t.append(" "), e < 3 ? t.append(this.gendered[e - 1][r]) : t.append(this.units[e - 1])) } , t.addTens = function(t, e) { 0 != e && (t.length > 0 && t.append(" "), t.append(this.tens[e - 1])) } , t.addHundreds = function(t, e) { 0 != e && (t.length > 0 && t.append(" "), t.append(this.hundreds[e - 1])) } , t.addThousand = function(t, e, r) { this.addHundreds(t, e / 100 | 0), e %= 100, e < 20 ? this.addUnits(t, e, r) : (this.addTens(t, e / 10 | 0), this.addUnits(t, e % 10, r)) } , t.addRank = function(t, e, r, i, n, o, a) { var s = e.ref , l = r.ref , u = l / s | 0; if (u > 0) { this.addThousand(t, u, a); var c = u % 10 , m = ""; m = 1 == c ? i : c > 1 && c < 5 ? n : o, u > 10 && u < 20 && (m = o), t.length > 0 && t.append(" "), t.append(m), l %= s } s = Math.floor(s / 1e3), e.ref = s, r.ref = l } , t.numToStr = function(t, r, n) { void 0 === r && (r = !0), void 0 === n && (n = e.Gender.Masculine), t = Math.floor(t); var o = new i; if (0 == t) o.append("ноль"); else { t < 0 && (o.append("минус"), t = Math.abs(t)); var a = 1e18 , s = { ref: a } , l = { ref: t }; this.addRank(o, s, l, "квінтильйон", "квінтильйона", "квінтильйонів", e.Gender.Masculine), this.addRank(o, s, l, "квадрильйон", "квадрильйона", "квадрильйонів", e.Gender.Masculine), this.addRank(o, s, l, "трильйон", "трильйона", "трильйонів", e.Gender.Masculine), this.addRank(o, s, l, "мільярд", "мільярда", "мільярдів", e.Gender.Masculine), this.addRank(o, s, l, "мільйон", "мільйона", "мільйонів", e.Gender.Masculine), this.addRank(o, s, l, "тисяча", "тисячі", "тисяч", e.Gender.Feminine), a = s.ref, t = l.ref, this.addThousand(o, t, n) } var u = o.toString(); return r && (u = u.charAt(0).toUpperCase() + u.substr(1)), u } , t.currToStr = function(t, e, i, n) { void 0 === e && (e = !0), void 0 === i && (i = "UAH"), void 0 === n && (n = !0); var o = Math.trunc(t) , a = 0; StiOptions.Engine.useRoundForToCurrencyWordsFunctions ? (a = Math.round(100 * (t - o))) > 99 && (a = 0, o++) : a = 100 * (t - o); var s = r.format("{0} {1}", this.numToStr(o, e, this.getCurrency(i).gender), this.decline(o, i)); return n && (s += r.format(" {0:d2}", a), s += r.format(" {0}", this.decline(a, i, !0))), s } , t.decline2 = function(t, e, r, i) { var n = t % 100; if (n >= 10 && n < 20) return i; if (1 == (n %= 10)) return e; if (n > 1 && n < 5) return r; return i } , t.decline = function(t, e, r) { void 0 === r && (r = !1); var i = this.getCurrency(e); return r ? this.decline2(t, i.centOne, i.centTwo, i.centFive) : this.decline2(t, i.dollarOne, i.dollarTwo, i.dollarFive) } , t.dateToStr = function(t, e) { void 0 === e && (e = !1); var i = r.format("{0} {1} {2}", t.day, this.months[t.month - 1], t.year); return e && (i = i[0].toUpperCase() + i.substr(1)), i } , t.currencies = new n, t.months = ["січня", "лютого", "березня", "квітня", "травня", "червня", "липня", "серпня", "вересня", "жовтня", "листопада", "грудня"], t.units = ["один", "два", "три", "чотири", "п'ять", "шість", "сім", "вісім", "дев'ять", "десять", "одинадцять", "дванадцять", "тринадцять", "чотирнадцять", "п'ятнадцять", "шістнадцять", "сімнадцять", "вісімнадцять", "дев'ятнадцять"], t.tens = ["десять", "двадцять", "тридцять", "сорок", "п'ятдесят", "шістдесят", "сімдесят", "вісімдесят", "дев'яносто"], t.hundreds = ["сто", "двісті", "триста", "чотириста", "п'ятсот", "шістсот", "сімсот", "вісімсот", "дев'ятсот"], t.gendered = [["один", "одна", "одне"], ["два", "дві", "два"]], t }(); e.Ua = u, u.registerCurrency(new s, "EUR"), u.registerCurrency(new a, "USD"), u.registerCurrency(new o, "RUR"), u.registerCurrency(new l, "UAH") }(r = e.Func || (e.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.toWordsZh = function(t) { if ((t = Math.floor(t)) <= 0) return "你输入的数字格式不正确或不是数字!"; var e = t.toString() , r = this.numberString(e); return r = r.stimulsoft.replaceAll("零零", "零") } , t.toCurrencyWordsZh = function(t) { if (t <= 0) return "你输入的数字格式不正确或不是数字!"; t = Math.round2(t, 2); var e, r = t.toString(), i = r.split("."); return 1 == i.length ? (e = this.numberString(i[0]) + "元整", e = e.stimulsoft.replaceAll("零零", "零")) : (e = this.numberString(i[0]) + "元", e += this.floatString(i[1]), e = e.stimulsoft.replaceAll("零零", "零")), e } , t.floatString = function(t) { var e; t.length > 2 && (t = t.substr(0, 2)); var r = this.convertString(t); return 0 != r.indexOf("零") ? (r = r.stimulsoft.replaceAll("零", ""), 1 == r.length ? e = r.substr(0, 1) + "角整" : (e = r.substr(0, 1) + "角", e += r.substr(1, 1) + "分")) : e = r + "分", e } , t.numberString = function(t) { var e = ""; return t.length <= 4 ? e = this.convert4(t) : t.length > 4 && t.length <= 8 ? (e = this.convert4(t.substr(0, t.length - 4)) + "万", e += this.convert4(t.substr(t.length - 4, 4))) : t.length > 8 && 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 } , t.convert4 = function(t) { var e; if (1 == t.length) e = this.convertString(t); else if (2 == t.length) e = this.convertString(t), e = this.convert2(e); else if (3 == t.length) e = this.convertString(t), e = this.convert3(e); else { e = this.convertString(t); var r = e.substr(0, 4); if ("零零零零" != r) if ("零零零" != (r = e.substr(0, 3))) if (e = e.stimulsoft.replaceAll("零零零", ""), 1 == e.length) e = e.substr(0, 1) + "仟"; else { var i = void 0; i = "零" != e.substr(0, 1) && "零" != e.substr(0, 2) ? e.substr(0, 1) + "仟" : e.substr(0, 1), e = i + this.convert3(e.substr(1, 3)) } else e = e.stimulsoft.replaceAll("零零零", "零"); else e = e.stimulsoft.replaceAll("零零零零", "") } return e } , t.convertString = function(t) { for (var e = "", r = 0; r < t.length; r++) e += this.numChineseCharacter[t.substr(r, 1).stimulsoft.toNumber()]; return e } , t.convert2 = function(t) { var e; if ("零" != t.substr(0, 1)) { var r = t.stimulsoft.replaceAll("零", ""); 1 == r.length ? e = r.substr(0, 1) + "拾" : (e = r.substr(0, 1) + "拾", e += r.substr(1, 1)) } else e = t; return e } , t.convert3 = function(t) { var e; if ("零零" != t.substr(0, 2)) if (e = t.stimulsoft.replaceAll("零零", ""), 1 == e.length) e = e.substr(0, 1) + "佰"; else { var r = void 0; r = "零" != e.substr(0, 1) ? e.substr(0, 1) + "佰" : e.substr(0, 1), e = r + this.convert2(e.substr(1, 2)) } else e = t.stimulsoft.replaceAll("零零", "零"); return e } , t.numChineseCharacter = ["零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"], t }(); t.Zh = e }(e = t.Func || (t.Func = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { t.IStiGlobalizationManager = "IStiGlobalizationManager" }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { t.IStiGlobalizationManagerList = "IStiGlobalizationManagerList" }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { t.IStiGlobalizationProvider = "IStiGlobalizationProvider" }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.StiString , i = t.Report.Dictionary.StiVariable , n = t.System.Collections.Hashtable , o = t.Base.StiJson , a = function() { function t(t) { void 0 === t && (t = "en"), this._cultureName = "", this._items = new e.StiGlobalizationItemCollection, this._cultureName = t } return t.prototype.saveToJsonObject = function(t) { var e, r, i = new o; if (i.addPropertyStringNullOrEmpty("CultureName", this.cultureName), this.items.count > 0) { var n = new o , a = 0; try { for (var s = __values(this.items.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; n.addPropertyJObject(a.toString(), u.saveToJsonObject(t)), a++ } } catch (t) { e = { error: t } } finally { try { l && !l.done && (r = s.return) && r.call(s) } finally { if (e) throw e.error } } i.addPropertyJObject("Items", n) } return i } , t.prototype.loadFromJsonObject = function(t) { var r, i, n, o; try { for (var a = __values(t.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "CultureName": this._cultureName = l.value.toString(); break; case "Items": try { for (var u = (n = void 0, __values(l.value.properties())), c = u.next(); !c.done; c = u.next()) { var m = c.value , p = new e.StiGlobalizationItem; p.loadFromJsonObject(m.value), this.items.add(p) } } catch (t) { n = { error: t } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (n) throw n.error } } break } } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } } , t.prototype.loadFromXmlObject = function(t) { for (var r, i, n = 0; n < t.childNodes.length; n++) { var o = t.childNodes[n]; switch (o.nodeName) { case "CultureName": this._cultureName = o.textContent; break; case "Items": try { for (var a = (r = void 0, __values(o.childNodes)), s = a.next(); !s.done; s = a.next()) { var l = s.value , u = new e.StiGlobalizationItem; u.loadFromXmlObject(l), this.items.add(u) } } catch (t) { r = { error: t } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } break } } } , Object.defineProperty(t.prototype, "cultureName", { get: function() { return this._cultureName }, set: function(t) { this._cultureName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "items", { get: function() { return this._items }, set: function(t) { this.items = t }, enumerable: !0, configurable: !0 }), t.prototype.getAllStringsForReport = function(t) { var i, o, a, s, l, u, c = new n, m = t.getComponents(); try { for (var p = __values(m.list), h = p.next(); !h.done; h = p.next()) { var d = h.value , g = d.stimulsoft.as(e.IStiGlobalizationProvider); if (null != g) { var f = g.getAllStrings(); try { for (var S = (a = void 0, __values(f)), A = S.next(); !A.done; A = S.next()) { var y = A.value , w = r.format("{0}.{1}", d.name, y) , b = g.getString(y); null != b && c.set(w, b) } } catch (t) { a = { error: t } } finally { try { A && !A.done && (s = S.return) && s.call(S) } finally { if (a) throw a.error } } } } } catch (t) { i = { error: t } } finally { try { h && !h.done && (o = p.return) && o.call(p) } finally { if (i) throw i.error } } try { for (var v = __values(t.dictionary.variables.list), C = v.next(); !C.done; C = v.next()) { var E = C.value; c.set("Variable." + E.name, E.value), E.requestFromUser && StiOptions.Engine.Globalization.allowUseVariableAlias && c.set("Variable." + E.name + ".Alias", E.alias) } } catch (t) { l = { error: t } } finally { try { C && !C.done && (u = v.return) && u.call(v) } finally { if (l) throw l.error } } return c.set("ReportAuthor", t.reportAuthor), c.set("ReportDescription", t.reportDescription), c.set("ReportAlias", t.reportAlias), c } , t.prototype.localizeReport = function(t) { var r, o, a, s, l = new n; try { for (var u = __values(t.dictionary.variables.list), c = u.next(); !c.done; c = u.next()) { var m = c.value; l.set("Variable." + m.name, m), m.requestFromUser && StiOptions.Engine.Globalization.allowUseVariableAlias && l.set("Variable." + m.name + ".Alias", m) } } catch (t) { r = { error: t } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (r) throw r.error } } try { for (var p = __values(this.items.list), h = p.next(); !h.done; h = p.next()) { var d = h.value , g = d.propertyName; if ("ReportAuthor" == g) t.reportAuthor = d.text; else if ("ReportDescription" == g) t.reportDescription = d.text; else if ("ReportAlias" == g) t.reportAlias = d.text; else if (null != l.get(g) && l.get(g).stimulsoft.is(i)) { var m = l.get(g); g.stimulsoft.endsWith(".Alias") ? m.alias = d.text : m.value = d.text } else { var f = g.indexOf("."); if (-1 != f) { var S = g.substr(0, f) , A = g.substr(f + 1) , y = t.getComponents().getByName(S).stimulsoft.as(e.IStiGlobalizationProvider); null != y && y.setString(A, d.text) } } } } catch (t) { a = { error: t } } finally { try { h && !h.done && (s = p.return) && s.call(p) } finally { if (a) throw a.error } } } , t.prototype.fillItemsFromReport = function(t) { var r, i, o, a, s = this.getAllStringsForReport(t), l = new n; try { for (var u = __values(this.items.list), c = u.next(); !c.done; c = u.next()) { var m = c.value; l.set(m.propertyName, m) } } catch (t) { r = { error: t } } finally { try { c && !c.done && (i = u.return) && i.call(u) } finally { if (r) throw r.error } } try { for (var p = __values(s.keys), h = p.next(); !h.done; h = p.next()) { var d = h.value; if (null != l.get(d)) continue; this.items.add(new e.StiGlobalizationItem(d,s.get(d))) } } catch (t) { o = { error: t } } finally { try { h && !h.done && (a = p.return) && a.call(p) } finally { if (o) throw o.error } } } , t.prototype.removeUnlocalizedItemsFromReport = function(t) { var e, r, i, o, a = this.getAllStringsForReport(t), s = new n; try { for (var l = __values(this.items.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; s.set(c.propertyName, c) } } catch (t) { e = { error: t } } finally { try { u && !u.done && (r = l.return) && r.call(l) } finally { if (e) throw e.error } } try { for (var m = __values(a.keys), p = m.next(); !p.done; p = m.next()) { var h = p.value , d = a.get(h) , c = s.get(h); d == c.text && this.items.remove(c) } } catch (t) { i = { error: t } } finally { try { p && !p.done && (o = m.return) && o.call(m) } finally { if (i) throw i.error } } } , t }(); e.StiGlobalizationContainer = a }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.StiString , i = t.System.Collections.CollectionBase , n = t.Base.StiJson , o = function(t) { function i(e) { var r = t.call(this) || this; return r.report = null, r.skipException = !1, r.report = e, r } return __extends(i, t), i.prototype.saveToJsonObject = function(t) { var e, r; if (0 == this.list.length) return null; var i = new n , o = 0; try { for (var a = __values(this.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 } } return i } , i.prototype.loadFromJsonObject = function(t) { var r, i; try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = new e.StiGlobalizationContainer; s.loadFromJsonObject(a.value), this.list.add(s) } } catch (t) { r = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , i.prototype.loadFromXmlObject = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r] , n = new e.StiGlobalizationContainer; n.loadFromXmlObject(i), this.list.add(n) } } , i.prototype.getByName = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.cultureName.toLowerCase() == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , i.prototype.setByName = function(t, e) { t = t.toLowerCase(); for (var r = 0; 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 e > -1 ? 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 r.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 t, e; try { for (var r = __values(this.list), i = r.next(); !i.done; i = r.next()) { i.value.fillItemsFromReport(this.report) } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , i.prototype.removeUnlocalizedItemsFromReport = function() { var t, e; try { for (var r = __values(this.list), i = r.next(); !i.done; i = r.next()) { i.value.removeUnlocalizedItemsFromReport(this.report) } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , i.prototype.removeComponent = function(t) { var i, n, o, a, s = t.stimulsoft.as(e.IStiGlobalizationProvider); if (null != s) { var l = s.getAllStrings(); try { for (var u = __values(l), c = u.next(); !c.done; c = u.next()) { var m = c.value , p = r.format("{0}.{1}", t.name, m); try { for (var h = (o = void 0, __values(this.list)), d = h.next(); !d.done; d = h.next()) { var g = d.value , f = 0; while (f < g.items.length) { g.items.getByIndex(f).propertyName == p ? g.items.removeAt(f) : f++ } } } catch (t) { o = { error: t } } finally { try { d && !d.done && (a = h.return) && a.call(h) } finally { if (o) throw o.error } } } } catch (t) { i = { error: t } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (i) throw i.error } } } } , i.prototype.renameComponent = function(t, i, n) { var o, a, s, l, u, c, m = t.stimulsoft.as(e.IStiGlobalizationProvider); if (null != m) { var p = m.getAllStrings(); try { for (var h = __values(p), d = h.next(); !d.done; d = h.next()) { var g = d.value , f = r.format("{0}.{1}", i, g) , S = r.format("{0}.{1}", n, g); try { for (var A = (s = void 0, __values(this.list)), y = A.next(); !y.done; y = A.next()) { var w = y.value; try { for (var b = (u = void 0, __values(w.items.list)), v = b.next(); !v.done; v = b.next()) { var C = v.value; C.propertyName == f && (C.propertyName = S) } } catch (t) { u = { error: t } } finally { try { v && !v.done && (c = b.return) && c.call(b) } finally { if (u) throw u.error } } } } catch (t) { s = { error: t } } finally { try { y && !y.done && (l = A.return) && l.call(A) } finally { if (s) throw s.error } } } } catch (t) { o = { error: t } } finally { try { d && !d.done && (a = h.return) && a.call(h) } finally { if (o) throw o.error } } } } , i }(i); e.StiGlobalizationContainerCollection = o }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.Base.StiJson , i = function() { function e(t, e) { void 0 === t && (t = ""), void 0 === e && (e = ""), this._propertyName = "", this._text = "", this._propertyName = t, this._text = e } return e.prototype.saveToJsonObject = function(t) { var e = new r; return e.addPropertyStringNullOrEmpty("PropertyName", this.propertyName), e.addPropertyStringNullOrEmpty("Text", this.text), e } , e.prototype.loadFromJsonObject = function(t) { var e, r; try { for (var i = __values(t.properties()), n = i.next(); !n.done; n = i.next()) { var o = n.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 { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , e.prototype.loadFromXmlObject = function(e) { var r = e.textContent.split(","); this._propertyName = t.System.Text.XMLConvert.decodeName(r[0]), this._text = t.System.Text.XMLConvert.decodeName(r[1]) } , Object.defineProperty(e.prototype, "propertyName", { get: function() { return this._propertyName }, set: function(t) { this._propertyName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "text", { get: function() { return this._text }, set: function(t) { this._text = t }, enumerable: !0, configurable: !0 }), e.prototype.toString = function() { return this.propertyName } , e }(); e.StiGlobalizationItem = i }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Collections.CollectionBase , i = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.compare = function(t, e) { return t.propertyName.stimulsoft.compareTo(e.propertyName) } , e.prototype.sort = function() { this.list.sort2(this) } , e }(r); e.StiGlobalizationItemCollection = i }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.format = function(t) { var e = { ref: "" } , r = this.format2(t, e) , i = e.ref; return 0 == r ? "0" : "" == i ? Math.round2(t, 2).toString() : "" + r + i } , t.format2 = function(t, e) { var r = e.ref; if (0 == t) return 0; var i = !1; t < 0 && (i = !0, t = Math.abs(t)); var n; if (t < 1e3) n = t; else if (t < 1e6) { n = Math.round(t / 1e3); var o = Math.round2(t / 1e3, 2); n += o - Math.round(o), r = "K" } else if (t < 1e9) { n = Math.round(t / 1e6); var o = Math.round2(t / 1e6, 2); n += o - Math.round(o), r = "M" } else if (t < 1e12) { n = Math.round(t / 1e9); var o = Math.round2(t / 1e9, 2); n += Math.round(o - o), r = "B" } else n = t; return i && (n = -n), e.ref = r, n } , t }(); t.StiAbbreviationNumberFormatHelper = e }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.List , i = function() { function t() {} return t.dataExts = new r(["xlsx", "xls", "csv", "dbf", "json", "xml", "xsd"]), t.imageExts = new r(["gif", "png", "jpeg", "jpg", "bmp", "tiff", "ico", "emf", "wmf", "svg"]), t.reportExts = new r(["mrt", "mrz", "mdc", "mdz"]), t.textExts = new r(["rtf", "txt"]), t.documentExts = new r(["pdf", "doc", "docx"]), t.fontExts = new r(["ttf", "otf", "ttc", "eot", "woff"]), t }(); e.StiFileDialogHelper = i }(r = e.Helpers || (e.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.NodeJs , i = t.System.Drawing.Image , n = t.Report.Helpers.StiFontIconGroup , o = t.Report.Helpers.StiFontIcons , a = t.Report.Helpers.StiFontIconSet , s = t.System.Collections.List , l = t.System.Text.StringBuilder , u = t.System.Xml.XmlTextWriter , c = t.System.Text.Encoding , m = t.System.Drawing.Font , p = t.System.StiString , h = t.System.Drawing.Imaging.ImageFormat , d = t.System.Drawing.Graphics , g = function() { function e() {} return e.convertFontIconToImageAsync = function(t, r, i, n, o) { var a = this; return void 0 === o && (o = null), this.inicializedFont ? new Promise(function(a) { a(e.convertFontIconToImage(t, r, i, n, o)) } ) : (e.convertFontIconToImage(t, r, i, n, o), new Promise(function(s) { setTimeout(function() { a.inicializedFont = !0, s(e.convertFontIconToImage(t, r, i, n, o)) }, 1e3) } )) } , e.convertFontIconToImage = function(e, n, o, a, s) { void 0 === s && (s = null); var g = new i; if (!r.useWebKit) return g; var f = document.createElement("canvas"); f.width = o, f.height = a; var S = this.getContent(e) , A = d.measureString(S, new m("Stimulsoft",1e3)) , y = o / A.width , w = a / A.height , b = Math.min(y, w) , v = new m("Stimulsoft",Math.ceil(1100 * b)) , C = new u(c.UTF8); C.writeStartElement("g"), C.writeStartElement("text"); var E = new l; C.writeAttributeString("dy", null != s ? s : "1em"), C.writeAttributeString("x", "45%"), C.writeAttributeString("text-anchor", "middle"), E.append(p.format("fill:#{0:X2}{1:X2}{2:X2};", n.r, n.g, n.b)), 255 != n.a && E.append(p.format("fill-opacity:{0}", Math.round2(n.a / 255, 3).toString().stimulsoft.replaceAll(",", "."))), C.writeAttributeString("style", E.toString()), C.writeAttributeString("font-size", v.size.toString().stimulsoft.replaceAll(",", ".")), C.writeAttributeString("font-family", v.fontFamily.name), C.writeString(S), C.writeEndElement(), C.writeEndElement(); var B = t.Report.Resources.StimulsoftFont.getBase64Content() , T = "" , I = p.format('{3}{2}', o, a, C.textWriter.getStringBuilder().toString(), T); canvg(f, I); var x = f.toDataURL(h.Png.mimeType); return f.svg.stop(), g.base64 = x, g } , e.getContent = function(t) { var e = this.getNetContent(t) , r = parseInt(e, 16); return String.fromCharCode(r) } , e.getNetContent = function(t) { switch (t) { case o.ArrowDown: return "e900"; case o.ArrowRight: return "e901"; case o.ArrowRightDown: return "e902"; case o.ArrowRightUp: return "e903"; case o.ArrowUp: return "e904"; case o.Check: return "e905"; case o.Circle: return "e906"; case o.CircleCheck: return "e907"; case o.CircleCross: return "e908"; case o.CircleExclamation: return "e909"; case o.Cross: return "e90a"; case o.Exclamation: return "e90b"; case o.Flag: return "e90c"; case o.Latin1: return "e90d"; case o.Latin2: return "e90e"; case o.Latin3: return "e90f"; case o.Latin4: return "e910"; case o.Latin5: return "e92b"; case o.Minus: return "e911"; case o.QuarterFull: return "e912"; case o.QuarterHalf: return "e913"; case o.QuarterNone: return "e914"; case o.QuarterQuarter: return "e915"; case o.QuarterThreeFourth: return "e916"; case o.Rating0: return "e917"; case o.Rating1: return "e918"; case o.Rating2: return "e919"; case o.Rating3: return "e91a"; case o.Rating4: return "e91b"; case o.Rhomb: return "e91c"; case o.Square0: return "e91d"; case o.Square1: return "e91e"; case o.Square2: return "e91f"; case o.Square3: return "e920"; case o.Square4: return "e921"; case o.StarFull: return "e922"; case o.StarHalf: return "e923"; case o.StarNone: return "e924"; case o.StarQuarter: return "e925"; case o.StarThreeFourth: return "e926"; case o.Triangle: return "e927"; case o.TriangleDown: return "e928"; case o.TriangleUp: return "e929"; case o.Home: return "e92a"; case o.Cart: return "e93a"; case o.Phone: return "e942"; case o.UserTie: return "e976"; case o.Mobile: return "e958"; case o.Mug: return "e9a2"; case o.Airplane: return "e9af"; case o.Truck: return "e9b0"; case o.Earth: return "e9ca"; case o.Man: return "e9dc"; case o.Woman: return "e9dd"; case o.ManWoman: return "e9de"; case o.Appleinc: return "eabe"; case o.Windows8: return "eac2"; case o.Glass: return "f000"; case o.Music: return "f001"; case o.Search: return "f002"; case o.EnvelopeO: return "f003"; case o.Heart: return "f004"; case o.Star: return "f005"; case o.StarO: return "f006"; case o.User: return "f007"; case o.Film: return "f008"; case o.ThLarge: return "f009"; case o.Th: return "f00a"; case o.ThList: return "f00b"; case o.Times: return "f00d"; case o.SearchPlus: return "f00e"; case o.SearchMinus: return "f010"; case o.PowerOff: return "f011"; case o.Signal: return "f012"; case o.Cog: return "f013"; case o.TrashO: return "f014"; case o.FileO: return "f016"; case o.ClockO: return "f017"; case o.Road: return "f018"; case o.Download: return "f019"; case o.ArrowCircleODown: return "f01a"; case o.ArrowCircleOUp: return "f01b"; case o.Inbox: return "f01c"; case o.PlayCircleO: return "f01d"; case o.Repeat: return "f01e"; case o.Refresh: return "f021"; case o.ListAlt: return "f022"; case o.Lock: return "f023"; case o.FAFlag: return "f024"; case o.Headphones: return "f025"; case o.VolumeOff: return "f026"; case o.VolumeDown: return "f027"; case o.VolumeUp: return "f028"; case o.Qrcode: return "f029"; case o.Barcode: return "f02a"; case o.Tag: return "f02b"; case o.Tags: return "f02c"; case o.Book: return "f02d"; case o.Bookmark: return "f02e"; case o.Print: return "f02f"; case o.Camera: return "f030"; case o.Font: return "f031"; case o.Bold: return "f032"; case o.Italic: return "f033"; case o.TextHeight: return "f034"; case o.TextWidth: return "f035"; case o.AlignLeft: return "f036"; case o.AlignCenter: return "f037"; case o.AlignRight: return "f038"; case o.AlignJustify: return "f039"; case o.List: return "f03a"; case o.Outdent: return "f03b"; case o.Indent: return "f03c"; case o.VideoCamera: return "f03d"; case o.PictureO: return "f03e"; case o.Pencil: return "f040"; case o.MapMarker: return "f041"; case o.Adjust: return "f042"; case o.Tint: return "f043"; case o.PencilSquareO: return "f044"; case o.ShareSquareO: return "f045"; case o.CheckSquareO: return "f046"; case o.Arrows: return "f047"; case o.StepBackward: return "f048"; case o.FastBackward: return "f049"; case o.Backward: return "f04a"; case o.Play: return "f04b"; case o.Pause: return "f04c"; case o.Stop: return "f04d"; case o.Forward: return "f04e"; case o.FastForward: return "f050"; case o.StepForward: return "f051"; case o.Eject: return "f052"; case o.ChevronLeft: return "f053"; case o.ChevronRight: return "f054"; case o.PlusCircle: return "f055"; case o.MinusCircle: return "f056"; case o.TimesCircle: return "f057"; case o.CheckCircle: return "f058"; case o.QuestionCircle: return "f059"; case o.InfoCircle: return "f05a"; case o.Crosshairs: return "f05b"; case o.TimesCircleO: return "f05c"; case o.CheckCircleO: return "f05d"; case o.Ban: return "f05e"; case o.FAArrowLeft: return "f060"; case o.FAArrowRight: return "f061"; case o.FAArrowUp: return "f062"; case o.FAArrowDown: return "f063"; case o.Share: return "f064"; case o.Expand: return "f065"; case o.Compress: return "f066"; case o.FAPlus: return "f067"; case o.FAMinus: return "f068"; case o.Asterisk: return "f069"; case o.ExclamationCircle: return "f06a"; case o.Gift: return "f06b"; case o.Leaf: return "f06c"; case o.Fire: return "f06d"; case o.Eye: return "f06e"; case o.EyeSlash: return "f070"; case o.ExclamationTriangle: return "f071"; case o.Plane: return "f072"; case o.Calendar: return "f073"; case o.Random: return "f074"; case o.Comment: return "f075"; case o.Magnet: return "f076"; case o.ChevronUp: return "f077"; case o.ChevronDown: return "f078"; case o.Retweet: return "f079"; case o.ShoppingCart: return "f07a"; case o.Folder: return "f07b"; case o.FolderOpen: return "f07c"; case o.ArrowsV: return "f07d"; case o.ArrowsH: return "f07e"; case o.BarChart: return "f080"; case o.TwitterSquare: return "f081"; case o.FacebookSquare: return "f082"; case o.CameraRetro: return "f083"; case o.Key: return "f084"; case o.Cogs: return "f085"; case o.Comments: return "f086"; case o.ThumbsOUp: return "f087"; case o.ThumbsODown: return "f088"; case o.HeartO: return "f08a"; case o.SignOut: return "f08b"; case o.LinkedinSquare: return "f08c"; case o.ThumbTack: return "f08d"; case o.ExternalLink: return "f08e"; case o.SignIn: return "f090"; case o.Trophy: return "f091"; case o.GithubSquare: return "f092"; case o.Upload: return "f093"; case o.LemonO: return "f094"; case o.SquareO: return "f096"; case o.BookmarkO: return "f097"; case o.PhoneSquare: return "f098"; case o.Twitter: return "f099"; case o.Facebook: return "f09a"; case o.Github: return "f09b"; case o.Unlock: return "f09c"; case o.CreditCard: return "f09d"; case o.Rss: return "f09e"; case o.HddO: return "f0a0"; case o.Bullhorn: return "f0a1"; case o.Bell: return "f0f3"; case o.Certificate: return "f0a3"; case o.HandORight: return "f0a4"; case o.HandOLeft: return "f0a5"; case o.HandOUp: return "f0a6"; case o.HandODown: return "f0a7"; case o.ArrowCircleLeft: return "f0a8"; case o.ArrowCircleRight: return "f0a9"; case o.ArrowCircleUp: return "f0aa"; case o.ArrowCircleDown: return "f0ab"; case o.Globe: return "f0ac"; case o.Wrench: return "f0ad"; case o.Tasks: return "f0ae"; case o.Filter: return "f0b0"; case o.Briefcase: return "f0b1"; case o.ArrowsAlt: return "f0b2"; case o.Users: return "f0c0"; case o.Link: return "f0c1"; case o.Cloud: return "f0c2"; case o.Flask: return "f0c3"; case o.Scissors: return "f0c4"; case o.FilesO: return "f0c5"; case o.Paperclip: return "f0c6"; case o.FloppyO: return "f0c7"; case o.Square: return "f0c8"; case o.Bars: return "f0c9"; case o.ListUl: return "f0ca"; case o.ListOl: return "f0cb"; case o.Strikethrough: return "f0cc"; case o.Underline: return "f0cd"; case o.Table: return "f0ce"; case o.Magic: return "f0d0"; case o.Pinterest: return "f0d2"; case o.PinterestSquare: return "f0d3"; case o.GooglePlusSquare: return "f0d4"; case o.GooglePlus: return "f0d5"; case o.Money: return "f0d6"; case o.CaretDown: return "f0d7"; case o.CaretUp: return "f0d8"; case o.CaretLeft: return "f0d9"; case o.CaretRight: return "f0da"; case o.Columns: return "f0db"; case o.Sort: return "f0dc"; case o.SortDesc: return "f0dd"; case o.SortAsc: return "f0de"; case o.Envelope: return "f0e0"; case o.Linkedin: return "f0e1"; case o.Undo: return "f0e2"; case o.Gavel: return "f0e3"; case o.Tachometer: return "f0e4"; case o.CommentO: return "f0e5"; case o.CommentsO: return "f0e6"; case o.Bolt: return "f0e7"; case o.Sitemap: return "f0e8"; case o.Umbrella: return "f0e9"; case o.Clipboard: return "f0ea"; case o.LightbulbO: return "f0eb"; case o.Exchange: return "f0ec"; case o.CloudDownload: return "f0ed"; case o.CloudUpload: return "f0ee"; case o.UserMd: return "f0f0"; case o.Stethoscope: return "f0f1"; case o.Suitcase: return "f0f2"; case o.BellO: return "f0a2"; case o.Coffee: return "f0f4"; case o.Cutlery: return "f0f5"; case o.FileTextO: return "f0f6"; case o.BuildingO: return "f0f7"; case o.HospitalO: return "f0f8"; case o.Ambulance: return "f0f9"; case o.Medkit: return "f0fa"; case o.FighterJet: return "f0fb"; case o.Beer: return "f0fc"; case o.HSquare: return "f0fd"; case o.PlusSquare: return "f0fe"; case o.AngleDoubleLeft: return "f100"; case o.AngleDoubleRight: return "f101"; case o.AngleDoubleUp: return "f102"; case o.AngleDoubleDown: return "f103"; case o.AngleLeft: return "f104"; case o.AngleRight: return "f105"; case o.AngleUp: return "f106"; case o.AngleDown: return "f107"; case o.Desktop: return "f108"; case o.Laptop: return "f109"; case o.Tablet: return "f10a"; case o.CircleO: return "f10c"; case o.QuoteLeft: return "f10d"; case o.QuoteRight: return "f10e"; case o.Spinner: return "f110"; case o.Reply: return "f112"; case o.GithubAlt: return "f113"; case o.FolderO: return "f114"; case o.FolderOpenO: return "f115"; case o.SmileO: return "f118"; case o.FrownO: return "f119"; case o.MehO: return "f11a"; case o.Gamepad: return "f11b"; case o.KeyboardO: return "f11c"; case o.FlagO: return "f11d"; case o.FlagCheckered: return "f11e"; case o.Terminal: return "f120"; case o.Code: return "f121"; case o.ReplyAll: return "f122"; case o.StarHalfO: return "f123"; case o.LocationArrow: return "f124"; case o.Crop: return "f125"; case o.CodeFork: return "f126"; case o.ChainBroken: return "f127"; case o.Question: return "f128"; case o.Info: return "f129"; case o.Superscript: return "f12b"; case o.Subscript: return "f12c"; case o.Eraser: return "f12d"; case o.PuzzlePiece: return "f12e"; case o.Microphone: return "f130"; case o.MicrophoneSlash: return "f131"; case o.Shield: return "f132"; case o.CalendarO: return "f133"; case o.FireExtinguisher: return "f134"; case o.Rocket: return "f135"; case o.Maxcdn: return "f136"; case o.ChevronCircleLeft: return "f137"; case o.ChevronCircleRight: return "f138"; case o.ChevronCircleUp: return "f139"; case o.ChevronCircleDown: return "f13a"; case o.Html5: return "f13b"; case o.Css3: return "f13c"; case o.Anchor: return "f13d"; case o.UnlockAlt: return "f13e"; case o.Bullseye: return "f140"; case o.EllipsisH: return "f141"; case o.EllipsisV: return "f142"; case o.RssSquare: return "f143"; case o.PlayCircle: return "f144"; case o.Ticket: return "f145"; case o.MinusSquare: return "f146"; case o.InusSquareO: return "f147"; case o.LevelUp: return "f148"; case o.LevelDown: return "f149"; case o.CheckSquare: return "f14a"; case o.PencilSquare: return "f14b"; case o.ExternalLinkSquare: return "f14c"; case o.ShareSquare: return "f14d"; case o.Compass: return "f14e"; case o.CaretSquareODown: return "f150"; case o.CaretSquareOUp: return "f151"; case o.CaretSquareORight: return "f152"; case o.Eur: return "f153"; case o.Gbp: return "f154"; case o.Usd: return "f155"; case o.Inr: return "f156"; case o.Jpy: return "f157"; case o.Rub: return "f158"; case o.Krw: return "f159"; case o.Btc: return "f15a"; case o.File: return "f15b"; case o.FileText: return "f15c"; case o.SortAlphaAsc: return "f15d"; case o.SortAlphaDesc: return "f15e"; case o.SortAmountAsc: return "f160"; case o.SortAmountDesc: return "f161"; case o.SortNumericAsc: return "f162"; case o.SortNumericDesc: return "f163"; case o.ThumbsUp: return "f164"; case o.ThumbsDown: return "f165"; case o.YoutubeSquare: return "f166"; case o.Youtube: return "f167"; case o.Xing: return "f168"; case o.XingSquare: return "f169"; case o.YoutubePlay: return "f16a"; case o.Dropbox: return "f16b"; case o.StackOverflow: return "f16c"; case o.Instagram: return "f16d"; case o.Flickr: return "f16e"; case o.Adn: return "f170"; case o.Bitbucket: return "f171"; case o.BitbucketSquare: return "f172"; case o.Tumblr: return "f173"; case o.TumblrSquare: return "f174"; case o.LongArrowDown: return "f175"; case o.LongArrowUp: return "f176"; case o.LongArrowLeft: return "f177"; case o.LongArrowRight: return "f178"; case o.Apple: return "f179"; case o.Windows: return "f17a"; case o.Android: return "f17b"; case o.Linux: return "f17c"; case o.Dribbble: return "f17d"; case o.Skype: return "f17e"; case o.Foursquare: return "f180"; case o.Trello: return "f181"; case o.Female: return "f182"; case o.Male: return "f183"; case o.Gratipay: return "f184"; case o.SunO: return "f185"; case o.MoonO: return "f186"; case o.Archive: return "f187"; case o.Bug: return "f188"; case o.Vk: return "f189"; case o.Weibo: return "f18a"; case o.Renren: return "f18b"; case o.Pagelines: return "f18c"; case o.StackExchange: return "f18d"; case o.ArrowCircleORight: return "f18e"; case o.ArrowCircleOLeft: return "f190"; case o.CaretSquareOLeft: return "f191"; case o.DotCircleO: return "f192"; case o.Wheelchair: return "f193"; case o.VimeoSquare: return "f194"; case o.Try: return "f195"; case o.PlusSquareO: return "f196"; case o.SpaceShuttle: return "f197"; case o.Slack: return "f198"; case o.EnvelopeSquare: return "f199"; case o.Wordpress: return "f19a"; case o.Openid: return "f19b"; case o.University: return "f19c"; case o.GraduationCap: return "f19d"; case o.Yahoo: return "f19e"; case o.Google: return "f1a0"; case o.Reddit: return "f1a1"; case o.RedditSquare: return "f1a2"; case o.StumbleuponCircle: return "f1a3"; case o.Stumbleupon: return "f1a4"; case o.Delicious: return "f1a5"; case o.Digg: return "f1a6"; case o.PiedPiper: return "f1a7"; case o.PiedPiperAlt: return "f1a8"; case o.Drupal: return "f1a9"; case o.Joomla: return "f1aa"; case o.Language: return "f1ab"; case o.Fax: return "f1ac"; case o.Building: return "f1ad"; case o.Child: return "f1ae"; case o.Paw: return "f1b0"; case o.Spoon: return "f1b1"; case o.Cube: return "f1b2"; case o.Cubes: return "f1b3"; case o.Behance: return "f1b4"; case o.BehanceSquare: return "f1b5"; case o.Steam: return "f1b6"; case o.SteamSquare: return "f1b7"; case o.Recycle: return "f1b8"; case o.Car: return "f1b9"; case o.Taxi: return "f1ba"; case o.Tree: return "f1bb"; case o.Spotify: return "f1bc"; case o.Deviantart: return "f1bd"; case o.Soundcloud: return "f1be"; case o.Database: return "f1c0"; case o.FilePdfO: return "f1c1"; case o.FileWordO: return "f1c2"; case o.FileExcelO: return "f1c3"; case o.FilePowerpointO: return "f1c4"; case o.FileImageO: return "f1c5"; case o.FileArchiveO: return "f1c6"; case o.FileAudioO: return "f1c7"; case o.FileVideoO: return "f1c8"; case o.FileCodeO: return "f1c9"; case o.Vine: return "f1ca"; case o.Codepen: return "f1cb"; case o.Jsfiddle: return "f1cc"; case o.LifeRing: return "f1cd"; case o.CircleONotch: return "f1ce"; case o.Rebel: return "f1d0"; case o.Empire: return "f1d1"; case o.GitSquare: return "f1d2"; case o.Git: return "f1d3"; case o.HackerNews: return "f1d4"; case o.TencentWeibo: return "f1d5"; case o.Qq: return "f1d6"; case o.Weixin: return "f1d7"; case o.PaperPlane: return "f1d8"; case o.PaperPlaneO: return "f1d9"; case o.History: return "f1da"; case o.CircleThin: return "f1db"; case o.Header: return "f1dc"; case o.Paragraph: return "f1dd"; case o.Sliders: return "f1de"; case o.ShareAlt: return "f1e0"; case o.ShareAltSquare: return "f1e1"; case o.Bomb: return "f1e2"; case o.FutbolO: return "f1e3"; case o.Tty: return "f1e4"; case o.Binoculars: return "f1e5"; case o.Plug: return "f1e6"; case o.Slideshare: return "f1e7"; case o.Twitch: return "f1e8"; case o.Yelp: return "f1e9"; case o.NewspaperO: return "f1ea"; case o.Wifi: return "f1eb"; case o.Calculator: return "f1ec"; case o.Paypal: return "f1ed"; case o.GoogleWallet: return "f1ee"; case o.CcVisa: return "f1f0"; case o.CcMastercard: return "f1f1"; case o.CcDiscover: return "f1f2"; case o.CcAmex: return "f1f3"; case o.CcPaypal: return "f1f4"; case o.CcStripe: return "f1f5"; case o.BellSlash: return "f1f6"; case o.BellSlashO: return "f1f7"; case o.Trash: return "f1f8"; case o.Copyright: return "f1f9"; case o.At: return "f1fa"; case o.Eyedropper: return "f1fb"; case o.PaintBrush: return "f1fc"; case o.BirthdayCake: return "f1fd"; case o.AreaChart: return "f1fe"; case o.PieChart: return "f200"; case o.LineChart: return "f201"; case o.Lastfm: return "f202"; case o.LastfmSquare: return "f203"; case o.ToggleOff: return "f204"; case o.ToggleOn: return "f205"; case o.Bicycle: return "f206"; case o.Bus: return "f207"; case o.Ioxhost: return "f208"; case o.Angellist: return "f209"; case o.Cc: return "f20a"; case o.Ils: return "f20b"; case o.Meanpath: return "f20c"; case o.Buysellads: return "f20d"; case o.Connectdevelop: return "f20e"; case o.Dashcube: return "f210"; case o.Forumbee: return "f211"; case o.Leanpub: return "f212"; case o.Sellsy: return "f213"; case o.Shirtsinbulk: return "f214"; case o.Simplybuilt: return "f215"; case o.Skyatlas: return "f216"; case o.CartPlus: return "f217"; case o.CartArrowDown: return "f218"; case o.Diamond: return "f219"; case o.Ship: return "f21a"; case o.UserSecret: return "f21b"; case o.Motorcycle: return "f21c"; case o.StreetView: return "f21d"; case o.Heartbeat: return "f21e"; case o.Venus: return "f221"; case o.Mars: return "f222"; case o.Mercury: return "f223"; case o.Transgender: return "f224"; case o.TransgenderAlt: return "f225"; case o.VenusDouble: return "f226"; case o.MarsDouble: return "f227"; case o.VenusMars: return "f228"; case o.MarsStroke: return "f229"; case o.MarsStrokeV: return "f22a"; case o.MarsStrokeH: return "f22b"; case o.Neuter: return "f22c"; case o.Genderless: return "f22d"; case o.FacebookOfficial: return "f230"; case o.PinterestP: return "f231"; case o.Whatsapp: return "f232"; case o.Server: return "f233"; case o.UserPlus: return "f234"; case o.UserTimes: return "f235"; case o.Bed: return "f236"; case o.Viacoin: return "f237"; case o.Train: return "f238"; case o.Subway: return "f239"; case o.Medium: return "f23a"; case o.YCombinator: return "f23b"; case o.OptinMonster: return "f23c"; case o.Opencart: return "f23d"; case o.Expeditedssl: return "f23e"; case o.BatteryFull: return "f240"; case o.BatteryThreeQuarters: return "f241"; case o.BatteryHalf: return "f242"; case o.BatteryQuarter: return "f243"; case o.BatteryEmpty: return "f244"; case o.MousePointer: return "f245"; case o.ICursor: return "f246"; case o.ObjectGroup: return "f247"; case o.ObjectUngroup: return "f248"; case o.StickyNote: return "f249"; case o.StickyNoteO: return "f24a"; case o.CcJcb: return "f24b"; case o.CcDinersClub: return "f24c"; case o.Clone: return "f24d"; case o.BalanceScale: return "f24e"; case o.HourglassO: return "f250"; case o.HourglassStart: return "f251"; case o.HourglassHalf: return "f252"; case o.HourglassEnd: return "f253"; case o.Hourglass: return "f254"; case o.HandRockO: return "f255"; case o.HandPaperO: return "f256"; case o.HandScissorsO: return "f257"; case o.HandLizardO: return "f258"; case o.HandSpockO: return "f259"; case o.HandPointerO: return "f25a"; case o.HandPeaceO: return "f25b"; case o.Trademark: return "f25c"; case o.Registered: return "f25d"; case o.CreativeCommons: return "f25e"; case o.Gg: return "f260"; case o.GgCircle: return "f261"; case o.Tripadvisor: return "f262"; case o.Odnoklassniki: return "f263"; case o.OdnoklassnikiSquare: return "f264"; case o.GetPocket: return "f265"; case o.WikipediaW: return "f266"; case o.Safari: return "f267"; case o.Chrome: return "f268"; case o.Firefox: return "f269"; case o.Opera: return "f26a"; case o.InternetExplorer: return "f26b"; case o.Television: return "f26c"; case o.Contao: return "f26d"; case o.Px500: return "f26e"; case o.Amazon: return "f270"; case o.CalendarPlusO: return "f271"; case o.CalendarMinusO: return "f272"; case o.CalendarTimesO: return "f273"; case o.CalendarCheckO: return "f274"; case o.Industry: return "f275"; case o.MapPin: return "f276"; case o.MapSigns: return "f277"; case o.MapO: return "f278"; case o.Map: return "f279"; case o.Commenting: return "f27a"; case o.CommentingO: return "f27b"; case o.Houzz: return "f27c"; case o.Vimeo: return "f27d"; case o.BlackTie: return "f27e"; case o.Fonticons: return "f280" } return null } , e.getIsonSetContent = function(t) { var r, i, n = new l; try { for (var o = __values(e.getFontIcons(t)), a = o.next(); !a.done; a = o.next()) { var s = a.value; n.append(e.getContent(s)), n.append(" ") } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return n.toString() } , e.getFontIcons = function(t) { switch (t) { case a.Rating: return new s([o.Rating0, o.Rating1, o.Rating2, o.Rating3, o.Rating4]); case a.Quarter: return new s([o.QuarterNone, o.QuarterQuarter, o.QuarterHalf, o.QuarterThreeFourth, o.QuarterFull]); case a.Square: return new s([o.Square4, o.Square3, o.Square2, o.Square1, o.Square0]); case a.Star: return new s([o.StarNone, o.StarQuarter, o.StarHalf, o.StarThreeFourth, o.StarFull]); case a.Latin: return new s([o.Latin1, o.Latin2, o.Latin3, o.Latin4, o.Latin5]) } return new s([o.Rating0, o.Rating1, o.Rating2, o.Rating3, o.Rating4]) } , e.getFontIcons1 = function(t) { switch (t) { case n.WebApplicationIcons: return new s([o.Adjust, o.Anchor, o.Archive, o.AreaChart, o.Arrows, o.ArrowsH, o.ArrowsV, o.Asterisk, o.At, o.BalanceScale, o.Ban, o.BarChart, o.Barcode, o.Bars, o.BatteryEmpty, o.BatteryFull, o.BatteryHalf, o.BatteryQuarter, o.BatteryThreeQuarters, o.Bed, o.Beer, o.Bell, o.BellO, o.BellSlash, o.BellSlashO, o.Bicycle, o.Binoculars, o.BirthdayCake, o.Bolt, o.Bomb, o.Book, o.Bookmark, o.BookmarkO, o.Briefcase, o.Bug, o.Building, o.BuildingO, o.Bullhorn, o.Bullseye, o.Bus, o.Calculator, o.Calendar, o.CalendarCheckO, o.CalendarMinusO, o.CalendarO, o.CalendarPlusO, o.CalendarTimesO, o.Camera, o.CameraRetro, o.Car, o.CaretSquareODown, o.CaretSquareOLeft, o.CaretSquareORight, o.CaretSquareOUp, o.Cart, o.CartArrowDown, o.CartPlus, o.Cc, o.Certificate, o.Check, o.CheckCircle, o.CheckCircleO, o.CheckSquare, o.CheckSquareO, o.Child, o.Circle, o.CircleO, o.CircleONotch, o.CircleThin, o.ClockO, o.Clone, o.Cloud, o.CloudDownload, o.CloudUpload, o.Code, o.CodeFork, o.Coffee, o.Cog, o.Cogs, o.Comment, o.CommentO, o.Commenting, o.CommentingO, o.Comments, o.CommentsO, o.Compass, o.Copyright, o.CreativeCommons, o.CreditCard, o.Crop, o.Crosshairs, o.Cube, o.Cubes, o.Cutlery, o.Database, o.Desktop, o.Diamond, o.DotCircleO, o.Download, o.EllipsisH, o.EllipsisV, o.Envelope, o.EnvelopeO, o.EnvelopeSquare, o.Eraser, o.Exchange, o.Exclamation, o.ExclamationCircle, o.ExclamationTriangle, o.ExternalLink, o.ExternalLinkSquare, o.Eye, o.EyeSlash, o.Eyedropper, o.Earth, o.Fax, o.Female, o.FighterJet, o.FileArchiveO, o.FileAudioO, o.FileCodeO, o.FileExcelO, o.FileImageO, o.FilePdfO, o.FilePowerpointO, o.FileVideoO, o.FileWordO, o.Film, o.Filter, o.Fire, o.FireExtinguisher, o.Flag, o.FlagCheckered, o.FlagO, o.FAFlag, o.Flask, o.Folder, o.FolderO, o.FolderOpen, o.FolderOpenO, o.FrownO, o.FutbolO, o.Gamepad, o.Gavel, o.Gift, o.Glass, o.Globe, o.GraduationCap, o.HandLizardO, o.HandPaperO, o.HandPeaceO, o.HandPointerO, o.HandRockO, o.HandScissorsO, o.HandSpockO, o.HddO, o.Headphones, o.Heart, o.HeartO, o.Heartbeat, o.History, o.Home, o.Hourglass, o.HourglassEnd, o.HourglassHalf, o.HourglassO, o.HourglassStart, o.ICursor, o.Inbox, o.Industry, o.Info, o.InfoCircle, o.Key, o.KeyboardO, o.Language, o.Laptop, o.Leaf, o.LemonO, o.LevelDown, o.LevelUp, o.LifeRing, o.LightbulbO, o.LineChart, o.LocationArrow, o.Lock, o.Magic, o.Magnet, o.Male, o.Map, o.MapMarker, o.MapO, o.MapPin, o.MapSigns, o.MehO, o.Microphone, o.MicrophoneSlash, o.Minus, o.MinusCircle, o.MinusSquare, o.Mobile, o.Money, o.MoonO, o.Motorcycle, o.MousePointer, o.Mug, o.Music, o.NewspaperO, o.ObjectGroup, o.ObjectUngroup, o.PaintBrush, o.PaperPlane, o.PaperPlaneO, o.Paw, o.Pencil, o.PencilSquare, o.PencilSquareO, o.Phone, o.PhoneSquare, o.PictureO, o.PieChart, o.Plane, o.Plug, o.PlusCircle, o.PlusSquare, o.PlusSquareO, o.PowerOff, o.Print, o.PuzzlePiece, o.Qrcode, o.Question, o.QuestionCircle, o.QuoteLeft, o.QuoteRight, o.Random, o.Recycle, o.Refresh, o.Registered, o.Reply, o.ReplyAll, o.Retweet, o.Road, o.Rocket, o.Rss, o.RssSquare, o.Search, o.SearchMinus, o.SearchPlus, o.Server, o.Share, o.ShareAlt, o.ShareAltSquare, o.ShareSquare, o.ShareSquareO, o.Shield, o.Ship, o.ShoppingCart, o.SignIn, o.SignOut, o.Signal, o.Sitemap, o.Sliders, o.SmileO, o.Sort, o.SortAlphaAsc, o.SortAlphaDesc, o.SortAmountAsc, o.SortAmountDesc, o.SortAsc, o.SortDesc, o.SortNumericAsc, o.SortNumericDesc, o.SpaceShuttle, o.Spinner, o.Spoon, o.Square, o.SquareO, o.Star, o.StarHalf, o.StarHalfO, o.StarO, o.StickyNote, o.StickyNoteO, o.StreetView, o.Suitcase, o.SunO, o.Tablet, o.Tachometer, o.Tag, o.Tags, o.Tasks, o.Taxi, o.Television, o.Terminal, o.ThumbTack, o.ThumbsDown, o.ThumbsODown, o.ThumbsOUp, o.ThumbsUp, o.Ticket, o.Times, o.TimesCircle, o.TimesCircleO, o.Tint, o.ToggleOff, o.ToggleOn, o.Trademark, o.Trash, o.TrashO, o.Tree, o.Trophy, o.Truck, o.Tty, o.Umbrella, o.University, o.Unlock, o.UnlockAlt, o.Upload, o.User, o.UserPlus, o.UserSecret, o.UserTimes, o.Users, o.VideoCamera, o.VolumeDown, o.VolumeOff, o.VolumeUp, o.Wheelchair, o.Wifi, o.Wrench]); case n.AccessibilityIcons: return new s([o.Cc, o.Tty, o.Wheelchair]); case n.HandIcons: return new s([o.HandLizardO, o.HandODown, o.HandOLeft, o.HandORight, o.HandOUp, o.HandPaperO, o.HandPeaceO, o.HandPointerO, o.HandRockO, o.HandScissorsO, o.HandSpockO, o.ThumbsDown, o.ThumbsODown, o.ThumbsOUp, o.ThumbsUp]); case n.TransportationIcons: return new s([o.Airplane, o.Ambulance, o.Bicycle, o.Bus, o.Car, o.FighterJet, o.Motorcycle, o.Plane, o.Rocket, o.Ship, o.SpaceShuttle, o.Subway, o.Taxi, o.Train, o.Truck, o.Wheelchair]); case n.GenderIcons: return new s([o.Genderless, o.Mars, o.MarsDouble, o.MarsStroke, o.MarsStrokeH, o.MarsStrokeV, o.Mercury, o.Neuter, o.Transgender, o.TransgenderAlt, o.Venus, o.VenusDouble, o.VenusMars, o.Man, o.Woman, o.UserTie, o.ManWoman]); case n.FileTypeIcons: return new s([o.File, o.FileArchiveO, o.FileAudioO, o.FileCodeO, o.FileExcelO, o.FileImageO, o.FileO, o.FilePdfO, o.FilePowerpointO, o.FileText, o.FileTextO, o.FileVideoO, o.FileWordO]); case n.SpinnerIcons: return new s([o.CircleONotch, o.Cog, o.Refresh, o.Spinner]); case n.FormControlIcons: return new s([o.CheckSquare, o.CheckSquareO, o.Circle, o.CircleO, o.DotCircleO, o.MinusSquare, o.PlusSquare, o.InusSquareO, o.PlusSquareO, o.Square, o.SquareO, o.FAPlus, o.FAMinus]); case n.PaymentIcons: return new s([o.CcAmex, o.CcDinersClub, o.CcDiscover, o.CcJcb, o.CcMastercard, o.CcPaypal, o.CcStripe, o.CcVisa, o.CreditCard, o.GoogleWallet, o.Paypal]); case n.ChartIcons: return new s([o.AreaChart, o.BarChart, o.LineChart, o.PieChart]); case n.CurrencyIcons: return new s([o.Btc, o.Eur, o.Gbp, o.Gg, o.GgCircle, o.Ils, o.Inr, o.Jpy, o.Krw, o.Money, o.Rub, o.Try, o.Usd, o.Viacoin]); case n.TextEditorIcons: return new s([o.AlignCenter, o.AlignJustify, o.AlignLeft, o.AlignRight, o.Bold, o.ChainBroken, o.Clipboard, o.Columns, o.Eraser, o.File, o.FileO, o.FileText, o.FileTextO, o.FilesO, o.FloppyO, o.Font, o.Header, o.Indent, o.Italic, o.Link, o.List, o.ListAlt, o.ListOl, o.ListUl, o.Outdent, o.Paperclip, o.Paragraph, o.Repeat, o.Scissors, o.Strikethrough, o.Subscript, o.Superscript, o.Table, o.TextHeight, o.TextWidth, o.Th, o.ThLarge, o.ThList, o.Underline, o.Undo]); case n.DirectionalIcons: return new s([o.AngleDoubleDown, o.AngleDoubleLeft, o.AngleDoubleRight, o.AngleDoubleUp, o.AngleDown, o.AngleLeft, o.AngleRight, o.AngleUp, o.ArrowCircleDown, o.ArrowCircleLeft, o.ArrowCircleODown, o.ArrowCircleOLeft, o.ArrowCircleORight, o.ArrowCircleOUp, o.ArrowCircleRight, o.ArrowCircleUp, o.ArrowDown, o.ArrowRight, o.ArrowUp, o.ArrowRightDown, o.ArrowRightUp, o.Arrows, o.ArrowsAlt, o.ArrowsH, o.ArrowsV, o.CaretDown, o.CaretLeft, o.CaretRight, o.CaretSquareODown, o.CaretSquareOLeft, o.CaretSquareORight, o.CaretSquareOUp, o.CaretUp, o.ChevronCircleDown, o.ChevronCircleLeft, o.ChevronCircleRight, o.ChevronCircleUp, o.ChevronDown, o.ChevronLeft, o.ChevronRight, o.ChevronUp, o.Exchange, o.HandODown, o.HandOLeft, o.HandORight, o.HandOUp, o.LongArrowDown, o.LongArrowLeft, o.LongArrowRight, o.LongArrowUp, o.FAArrowLeft, o.FAArrowRight, o.FAArrowUp, o.FAArrowDown]); case n.VideoPlayerIcons: return new s([o.ArrowsAlt, o.Backward, o.Compress, o.Eject, o.Expand, o.FastBackward, o.FastForward, o.Forward, o.Pause, o.Play, o.PlayCircle, o.PlayCircleO, o.Random, o.StepBackward, o.StepForward, o.Stop, o.YoutubePlay]); case n.BrandIcons: return new s([o.Adn, o.Amazon, o.Android, o.Angellist, o.Appleinc, o.Behance, o.BehanceSquare, o.Bitbucket, o.BitbucketSquare, o.BlackTie, o.Btc, o.Buysellads, o.CcAmex, o.CcDinersClub, o.CcDiscover, o.CcJcb, o.CcMastercard, o.CcPaypal, o.CcStripe, o.CcVisa, o.Chrome, o.Codepen, o.Connectdevelop, o.Contao, o.Css3, o.Dashcube, o.Delicious, o.Deviantart, o.Digg, o.Dribbble, o.Dropbox, o.Drupal, o.Empire, o.Expeditedssl, o.Facebook, o.FacebookOfficial, o.FacebookSquare, o.Firefox, o.Flickr, o.Fonticons, o.Forumbee, o.Foursquare, o.GetPocket, o.Gg, o.GgCircle, o.Git, o.GitSquare, o.Github, o.GithubAlt, o.GithubSquare, o.Google, o.GooglePlus, o.GooglePlusSquare, o.GoogleWallet, o.Gratipay, o.HackerNews, o.Houzz, o.Html5, o.Instagram, o.InternetExplorer, o.Ioxhost, o.Joomla, o.Jsfiddle, o.Lastfm, o.LastfmSquare, o.Leanpub, o.Linkedin, o.LinkedinSquare, o.Linux, o.Maxcdn, o.Meanpath, o.Medium, o.Odnoklassniki, o.OdnoklassnikiSquare, o.Opencart, o.Openid, o.Opera, o.OptinMonster, o.Pagelines, o.Paypal, o.PiedPiper, o.PiedPiperAlt, o.Pinterest, o.PinterestP, o.PinterestSquare, o.Qq, o.Rebel, o.Reddit, o.RedditSquare, o.Renren, o.Safari, o.Sellsy, o.ShareAlt, o.ShareAltSquare, o.Shirtsinbulk, o.Simplybuilt, o.Skyatlas, o.Skype, o.Slack, o.Slideshare, o.Soundcloud, o.Spotify, o.StackExchange, o.StackOverflow, o.Steam, o.SteamSquare, o.Stumbleupon, o.StumbleuponCircle, o.TencentWeibo, o.Trello, o.Tripadvisor, o.Tumblr, o.TumblrSquare, o.Twitch, o.Twitter, o.TwitterSquare, o.Viacoin, o.Vimeo, o.VimeoSquare, o.Vine, o.Vk, o.Weibo, o.Weixin, o.Whatsapp, o.WikipediaW, o.Windows8, o.Wordpress, o.Xing, o.XingSquare, o.YCombinator, o.Yahoo, o.Yelp, o.Youtube, o.YoutubePlay, o.YoutubeSquare, o.Px500]); case n.MedicalIcons: return new s([o.Ambulance, o.HSquare, o.Heart, o.HeartO, o.Heartbeat, o.HospitalO, o.Medkit, o.PlusSquare, o.Stethoscope, o.UserMd, o.Wheelchair]); case n.OtherIcons: return new s([o.Latin5, o.Latin4, o.Latin3, o.Latin2, o.Latin1, o.QuarterFull, o.QuarterThreeFourth, o.QuarterHalf, o.QuarterQuarter, o.QuarterNone, o.Rating4, o.Rating3, o.Rating2, o.Rating1, o.Rating0, o.Square0, o.Square1, o.Square2, o.Square3, o.Square4, o.StarFull, o.StarThreeFourth, o.StarQuarter, o.StarNone, o.CircleCheck, o.CircleCross, o.CircleExclamation, o.Cross, o.Rhomb, o.Triangle, o.TriangleDown, o.TriangleUp]) } return new s([o.Rating0, o.Rating1, o.Rating2, o.Rating3, o.Rating4]) } , e.inicializedFont = !1, e }(); e.StiFontIconsHelper = g }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.getTransparentedImage = function(t, e) { return null } , t }(); t.StiImageTransparenceHelper = e }(e = t.Helpers || (t.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; this.names = t.toList() } return t.prototype.ru = function() { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; return this.ruNames = t.stimulsoft.toList(), this } , t.prototype.fr = function() { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; return this.frNames = t.stimulsoft.toList(), this } , t.prototype.iso = function(t, e) { return void 0 === e && (e = null), this.alpha2 = t, this.alpha3 = e, this } , t }(); t.StiIsoCountry = e }(e = t.Helpers || (t.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Collections.List , n = function() { function t() {} return Object.defineProperty(t, "countries", { get: function() { return null == this._countries && (this._countries = new i, this.initializeCountries()), this._countries }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "usStates", { get: function() { return null == this._usStates && (this._usStates = new i, this.initializeUsStates()), this._usStates }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "canadaProvinces", { get: function() { return null == this._canadaProvinces && (this._canadaProvinces = new i, this.initializeCanadaProvinces()), this._canadaProvinces }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "brazilProvinces", { get: function() { return null == this._brazilProvinces && (this._brazilProvinces = new i, this.initializeBrazilProvinces()), this._brazilProvinces }, enumerable: !0, configurable: !0 }), t.getIsoAlpha2FromName = function(t, e) { void 0 === e && (e = null); var r = this.getCountryFromName(t, e); return null != r ? r.alpha2 : null } , t.getIsoAlpha3FromName = function(t, e) { void 0 === e && (e = null); var r = this.getCountryFromName(t, e); return null != r ? r.alpha3 : null } , t.getCountryFromName = function(i, n) { if (void 0 === n && (n = null), r.isNullOrWhiteSpace(i)) return null; return i = e.StiMapKeyHelper.simplify(i), this.getCountries(n).firstOrDefault(function(e) { return t.isEqual(e, i) }) } , t.getCountries = function(t) { if (void 0 === t && (t = null), r.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 } } , t.isEqual = function(t, r) { if (t.names.any(function(t) { return e.StiMapKeyHelper.simplify(t) == r }) || e.StiMapKeyHelper.simplify(t.alpha2) == r || e.StiMapKeyHelper.simplify(t.alpha3) == r) return !0; if (null != t.ruNames && t.ruNames.any(function(t) { return e.StiMapKeyHelper.simplify(t) == r })) return !0; if (null != t.frNames && t.frNames.any(function(t) { return e.StiMapKeyHelper.simplify(t) == r })) return !0; return !1 } , t.getCountryFromAlpha3 = function(t, i) { if (void 0 === i && (i = null), r.isNullOrWhiteSpace(t)) return null; return t = e.StiMapKeyHelper.simplify(t), this.getCountries(i).firstOrDefault(function(r) { return e.StiMapKeyHelper.simplify(r.alpha3) == t }) } , t.getCountryFromAlpha2 = function(t, i) { if (void 0 === i && (i = null), r.isNullOrWhiteSpace(t)) return null; return t = e.StiMapKeyHelper.simplify(t), this.getCountries(i).firstOrDefault(function(r) { return e.StiMapKeyHelper.simplify(r.alpha2) == t }) } , t.initializeCountries = function() { this._countries.add(new e.StiIsoCountry("Afghanistan").ru("Афганистан").iso("AF", "AFG")), this._countries.add(new e.StiIsoCountry("Åland Islands").ru("Аландские острова").iso("AX", "ALA")), this._countries.add(new e.StiIsoCountry("Albania").ru("Албания").iso("AL", "ALB")), this._countries.add(new e.StiIsoCountry("Algeria").ru("Алжир").iso("DZ", "DZA")), this._countries.add(new e.StiIsoCountry("American Samoa").ru("Американское Самоа").iso("AS", "ASM")), this._countries.add(new e.StiIsoCountry("Andorra").ru("Андорра").iso("AD", "AND")), this._countries.add(new e.StiIsoCountry("Angola").ru("Ангола").iso("AO", "AGO")), this._countries.add(new e.StiIsoCountry("Anguilla").ru("Ангилья").iso("AI", "AIA")), this._countries.add(new e.StiIsoCountry("Antarctica").ru("Антарктида").iso("AQ", "ATA")), this._countries.add(new e.StiIsoCountry("Antigua and Barbuda").ru("Антигуа и Барбуда").iso("AG", "ATG")), this._countries.add(new e.StiIsoCountry("Argentina").ru("Аргентина").iso("AR", "ARG")), this._countries.add(new e.StiIsoCountry("Armenia").ru("Армения").iso("AM", "ARM")), this._countries.add(new e.StiIsoCountry("Aruba").ru("Аруба").iso("AW", "ABW")), this._countries.add(new e.StiIsoCountry("Australia").ru("Австралия").iso("AU", "AUS")), this._countries.add(new e.StiIsoCountry("Austria").ru("Австрия").iso("AT", "AUT")), this._countries.add(new e.StiIsoCountry("Azerbaijan").ru("Азербайджан").iso("AZ", "AZE")), this._countries.add(new e.StiIsoCountry("Bahamas").ru("Багамские Острова").iso("BS", "BHS")), this._countries.add(new e.StiIsoCountry("Bahrain").ru("Бахрейн").iso("BH", "BHR")), this._countries.add(new e.StiIsoCountry("Bangladesh").ru("Бангладеш").iso("BD", "BGD")), this._countries.add(new e.StiIsoCountry("Barbados").ru("Барбадос").iso("BB", "BRB")), this._countries.add(new e.StiIsoCountry("Belarus").ru("Беларусь", "Белоруссия").iso("BY", "BLR")), this._countries.add(new e.StiIsoCountry("Belgium").ru("Бельгия").iso("BE", "BEL")), this._countries.add(new e.StiIsoCountry("Belize").ru("Белиз").iso("BZ", "BLZ")), this._countries.add(new e.StiIsoCountry("Benin").ru("Бенин").iso("BJ", "BEN")), this._countries.add(new e.StiIsoCountry("Bermuda").ru("Бермуды").iso("BM", "BMU")), this._countries.add(new e.StiIsoCountry("Bhutan").ru("Бутан").iso("BT", "BTN")), this._countries.add(new e.StiIsoCountry("Bolivia","Bolivia (Plurinational State of)").ru("Боливия").iso("BO", "BOL")), this._countries.add(new e.StiIsoCountry("Bonaire","Bonaire, Sint Eustatius and Saba").ru("Бонэйр").iso("BQ", "BES")), this._countries.add(new e.StiIsoCountry("Bosnia and Herzegovina").ru("Босния и Герцеговина ").iso("BA", "BIH")), this._countries.add(new e.StiIsoCountry("Botswana").ru("Ботсвана").iso("BW", "BWA")), this._countries.add(new e.StiIsoCountry("Bouvet Island").ru("Остров Буве").iso("BV", "BVT")), this._countries.add(new e.StiIsoCountry("Brazil").ru("Бразилия").iso("BR", "BRA")), this._countries.add(new e.StiIsoCountry("British Indian Ocean Territory").ru("Британская Территория в Индийском Океане").iso("IO", "IOT")), this._countries.add(new e.StiIsoCountry("Brunei Darussalam").ru("Бруней").iso("BN", "BRN")), this._countries.add(new e.StiIsoCountry("Bulgaria").ru("Болгария").iso("BG", "BGR")), this._countries.add(new e.StiIsoCountry("Burkina Faso").ru("Буркина - Фасо").iso("BF", "BFA")), this._countries.add(new e.StiIsoCountry("Burundi").ru("Бурунди").iso("BI", "BDI")), this._countries.add(new e.StiIsoCountry("Cabo Verde").ru("Кабо - Верде").iso("CV", "CPV")), this._countries.add(new e.StiIsoCountry("Cambodia").ru("Камбоджа").iso("KH", "KHM")), this._countries.add(new e.StiIsoCountry("Cameroon").ru("Камерун").iso("CM", "CMR")), this._countries.add(new e.StiIsoCountry("Canada").ru("Канада").iso("CA", "CAN")), this._countries.add(new e.StiIsoCountry("Cayman Islands").ru("Острова Кайман").iso("KY", "CYM")), this._countries.add(new e.StiIsoCountry("Central African Republic").ru("ЦАР").iso("CF", "CAF")), this._countries.add(new e.StiIsoCountry("Chad").ru("Чад").iso("TD", "TCD")), this._countries.add(new e.StiIsoCountry("Chile").ru("Чили").iso("CL", "CHL")), this._countries.add(new e.StiIsoCountry("China").ru("Китай", "КНР", "Китайская Народная Республика").iso("CN", "CHN")), this._countries.add(new e.StiIsoCountry("Christmas Island").ru("Остров Рождества").iso("CX", "CXR")), this._countries.add(new e.StiIsoCountry("Cocos (Keeling) Islands").ru("Кокосовые острова").iso("CC", "CCK")), this._countries.add(new e.StiIsoCountry("Colombia").ru("Колумбия").iso("CO", "COL")), this._countries.add(new e.StiIsoCountry("Comoros").ru("Коморы").iso("KM", "COM")), this._countries.add(new e.StiIsoCountry("Congo").ru("Республика Конго").iso("CG", "COG")), this._countries.add(new e.StiIsoCountry("Congo (Democratic Republic of the)").ru("Демократическая Республика Конго").iso("CD", "COD")), this._countries.add(new e.StiIsoCountry("Cook Islands").ru("Острова Кука").iso("CK", "COK")), this._countries.add(new e.StiIsoCountry("Costa Rica").ru("Коста - Рика").iso("CR", "CRI")), this._countries.add(new e.StiIsoCountry("Côte d'Ivoire").ru("Кот - д’Ивуар").iso("CI", "CIV")), this._countries.add(new e.StiIsoCountry("Croatia").ru("Хорватия").iso("HR", "HRV")), this._countries.add(new e.StiIsoCountry("Cuba").ru("Куба").iso("CU", "CUB")), this._countries.add(new e.StiIsoCountry("Curaçao").ru("Кюрасао").iso("CW", "CUW")), this._countries.add(new e.StiIsoCountry("Cyprus").ru("Кипр").iso("CY", "CYP")), this._countries.add(new e.StiIsoCountry("Czech Republic","Czech Republic","Czech").ru("Чехия").iso("CZ", "CZE")), this._countries.add(new e.StiIsoCountry("Denmark").ru("Дания").iso("DK", "DNK")), this._countries.add(new e.StiIsoCountry("Djibouti").ru("Джибути").iso("DJ", "DJI")), this._countries.add(new e.StiIsoCountry("Dominica").ru("Доминикана").iso("DM", "DMA")), this._countries.add(new e.StiIsoCountry("Dominican Republic").ru("Доминиканская Республика").iso("DO", "DOM")), this._countries.add(new e.StiIsoCountry("Ecuador").ru("Эквадор").iso("EC", "ECU")), this._countries.add(new e.StiIsoCountry("Egypt").ru("Египет").iso("EG", "EGY")), this._countries.add(new e.StiIsoCountry("El Salvador").ru("Сальвадор").iso("SV", "SLV")), this._countries.add(new e.StiIsoCountry("Equatorial Guinea").ru("Экваториальная Гвинея").iso("GQ", "GNQ")), this._countries.add(new e.StiIsoCountry("Eritrea").ru("Эритрея").iso("ER", "ERI")), this._countries.add(new e.StiIsoCountry("Estonia").ru("Эстония").iso("EE", "EST")), this._countries.add(new e.StiIsoCountry("Ethiopia").ru("Эфиопия").iso("ET", "ETH")), this._countries.add(new e.StiIsoCountry("European Union").ru("Европейский союз").iso("EU", "EUE")), this._countries.add(new e.StiIsoCountry("Falkland Islands (Malvinas)").ru("Фолклендские острова").iso("FK", "FLK")), this._countries.add(new e.StiIsoCountry("Faroe Islands").ru("Фареры").iso("FO", "FRO")), this._countries.add(new e.StiIsoCountry("Fiji").ru("Фиджи").iso("FJ", "FJI")), this._countries.add(new e.StiIsoCountry("Finland").ru("Финляндия").iso("FI", "FIN")), this._countries.add(new e.StiIsoCountry("France").ru("Франция").iso("FR", "FRA")), this._countries.add(new e.StiIsoCountry("French Guiana").ru("Французская Гвиана").iso("GF", "GUF")), this._countries.add(new e.StiIsoCountry("French Polynesia").ru("Французская Полинезия").iso("PF", "PYF")), this._countries.add(new e.StiIsoCountry("French Southern Territories").ru("Французские Южные и Антарктические территории").iso("TF", "ATF")), this._countries.add(new e.StiIsoCountry("Gabon").ru("Габон").iso("GA", "GAB")), this._countries.add(new e.StiIsoCountry("Gambia").ru("Гамбия").iso("GM", "GMB")), this._countries.add(new e.StiIsoCountry("Georgia").ru("Грузия").iso("GE", "GEO")), this._countries.add(new e.StiIsoCountry("Germany").ru("Германия").iso("DE", "DEU")), this._countries.add(new e.StiIsoCountry("Ghana").ru("Гана").iso("GH", "GHA")), this._countries.add(new e.StiIsoCountry("Gibraltar").ru("Гибралтар").iso("GI", "GIB")), this._countries.add(new e.StiIsoCountry("Greece").ru("Греция").iso("GR", "GRC")), this._countries.add(new e.StiIsoCountry("Greenland").ru("Гренландия").iso("GL", "GRL")), this._countries.add(new e.StiIsoCountry("Grenada").ru("Гренада").iso("GD", "GRD")), this._countries.add(new e.StiIsoCountry("Guadeloupe").ru("Гваделупа").iso("GP", "GLP")), this._countries.add(new e.StiIsoCountry("Guam").ru("Гуам").iso("GU", "GUM")), this._countries.add(new e.StiIsoCountry("Guatemala").ru("Гватемала").iso("GT", "GTM")), this._countries.add(new e.StiIsoCountry("Guernsey").ru("Гернси").iso("GG", "GGY")), this._countries.add(new e.StiIsoCountry("Guinea").ru("Гвинея").iso("GN", "GIN")), this._countries.add(new e.StiIsoCountry("Guinea - Bissau").ru("Гвинея - Бисау").iso("GW", "GNB")), this._countries.add(new e.StiIsoCountry("Guyana").ru("Гайана").iso("GY", "GUY")), this._countries.add(new e.StiIsoCountry("Haiti").ru("Гаити").iso("HT", "HTI")), this._countries.add(new e.StiIsoCountry("Heard Island and McDonald Islands").ru("Остров Херд и острова Макдональд").iso("HM", "HMD")), this._countries.add(new e.StiIsoCountry("Holy See").ru("Ватикан").iso("VA", "VAT")), this._countries.add(new e.StiIsoCountry("Honduras").ru("Гондурас").iso("HN", "HND")), this._countries.add(new e.StiIsoCountry("Hong Kong").ru("Гонконг").iso("HK", "HKG")), this._countries.add(new e.StiIsoCountry("Hungary").ru("Венгрия").iso("HU", "HUN")), this._countries.add(new e.StiIsoCountry("Iceland").ru("Исландия").iso("IS", "ISL")), this._countries.add(new e.StiIsoCountry("India").ru("Индия").iso("IN", "IND")), this._countries.add(new e.StiIsoCountry("Indonesia").ru("Индонейзия").iso("ID", "IDN")), this._countries.add(new e.StiIsoCountry("Iran").ru("Иран", "Iran (Islamic Republic of)").iso("IR", "IRN")), this._countries.add(new e.StiIsoCountry("Iraq").ru("Ирак", "IQ").iso("IRQ")), this._countries.add(new e.StiIsoCountry("Ireland").ru("Ирландия").iso("IE", "IRL")), this._countries.add(new e.StiIsoCountry("Isle of Man").ru("Остров Мэн").iso("IM", "IMN")), this._countries.add(new e.StiIsoCountry("Israel").ru("Израиль").iso("IL", "ISR")), this._countries.add(new e.StiIsoCountry("Italy").ru("Италия").iso("IT", "ITA")), this._countries.add(new e.StiIsoCountry("Jamaica").ru("Ямайка").iso("JM", "JAM")), this._countries.add(new e.StiIsoCountry("Japan").ru("Япония").iso("JP", "JPN")), this._countries.add(new e.StiIsoCountry("Jersey").ru("Джерси").iso("JE", "JEY")), this._countries.add(new e.StiIsoCountry("Jordan").ru("Иордания").iso("JO", "JOR")), this._countries.add(new e.StiIsoCountry("Kazakhstan").ru("Казахстан").iso("KZ", "KAZ")), this._countries.add(new e.StiIsoCountry("Kenya").ru("Кения").iso("KE", "KEN")), this._countries.add(new e.StiIsoCountry("Kiribati").ru("Кирибати").iso("KI", "KIR")), this._countries.add(new e.StiIsoCountry("Korea (Democratic People's Republic of)","North Korea").ru("КНДР(Корейская Народно - Демократическая Республика)").iso("KP", "PRK")), this._countries.add(new e.StiIsoCountry("Korea (Republic of)","South Korea").ru("Республика Корея", "Южная Корея").iso("KR", "KOR")), this._countries.add(new e.StiIsoCountry("Kuwait").ru("Кувейт").iso("KW", "KWT")), this._countries.add(new e.StiIsoCountry("Kyrgyzstan").ru("Киргизия").iso("KG", "KGZ")), this._countries.add(new e.StiIsoCountry("Lao People's Democratic Republic").ru("Лаос").iso("LA", "LAO")), this._countries.add(new e.StiIsoCountry("Latvia").ru("Латвия").iso("LV", "LVA")), this._countries.add(new e.StiIsoCountry("Lebanon").ru("Ливия").iso("LB", "LBN")), this._countries.add(new e.StiIsoCountry("Lesotho").ru("Лесото").iso("LS", "LSO")), this._countries.add(new e.StiIsoCountry("Liberia").ru("Либерия").iso("LR", "LBR")), this._countries.add(new e.StiIsoCountry("Libya").ru("Либия").iso("LY", "LBY")), this._countries.add(new e.StiIsoCountry("Liechtenstein").ru("Лихтенштейн").iso("LI", "LIE")), this._countries.add(new e.StiIsoCountry("Lithuania").ru("Литва").iso("LT", "LTU")), this._countries.add(new e.StiIsoCountry("Luxembourg").ru("Люксембург").iso("LU", "LUX")), this._countries.add(new e.StiIsoCountry("Macao").ru("Макао").iso("MO", "MAC")), this._countries.add(new e.StiIsoCountry("Macedonia","Macedonia (the former Yugoslav Republic of)").ru("Македония").iso("MK", "MKD")), this._countries.add(new e.StiIsoCountry("Madagascar").ru("Мадагаскар").iso("MG", "MDG")), this._countries.add(new e.StiIsoCountry("Malawi").ru("Малави").iso("MW", "MWI")), this._countries.add(new e.StiIsoCountry("Malaysia").ru("Малайзия").iso("MY", "MYS")), this._countries.add(new e.StiIsoCountry("Maldives").ru("Мальдивы").iso("MV", "MDV")), this._countries.add(new e.StiIsoCountry("Mali").ru("Мали").iso("ML", "MLI")), this._countries.add(new e.StiIsoCountry("Malta").ru("Мальта").iso("MT", "MLT")), this._countries.add(new e.StiIsoCountry("Marshall Islands").ru("Маршалловы Острова").iso("MH", "MHL")), this._countries.add(new e.StiIsoCountry("Martinique").ru("Мартиника").iso("MQ", "MTQ")), this._countries.add(new e.StiIsoCountry("Mauritania").ru("Мавритания").iso("MR", "MRT")), this._countries.add(new e.StiIsoCountry("Mauritius").ru("Маврикий").iso("MU", "MUS")), this._countries.add(new e.StiIsoCountry("Mayotte").ru("Майотта").iso("YT", "MYT")), this._countries.add(new e.StiIsoCountry("Mexico").ru("Мексика").iso("MX", "MEX")), this._countries.add(new e.StiIsoCountry("Micronesia","Micronesia (Federated States of)").ru("Микронезии", "Федеративные Штаты Микронезии").iso("FM", "FSM")), this._countries.add(new e.StiIsoCountry("Moldova","Moldova (Republic of)").ru("Молдова", "Молдавия").iso("MD", "MDA")), this._countries.add(new e.StiIsoCountry("Monaco").ru("Монако").iso("MC", "MCO")), this._countries.add(new e.StiIsoCountry("Mongolia").ru("Монголия").iso("MN", "MNG")), this._countries.add(new e.StiIsoCountry("Montenegro").ru("Черногория").iso("ME", "MNE")), this._countries.add(new e.StiIsoCountry("Montserrat").ru("Монтсеррат").iso("MS", "MSR")), this._countries.add(new e.StiIsoCountry("Morocco").ru("Марокко").iso("MA", "MAR")), this._countries.add(new e.StiIsoCountry("Mozambique").ru("Мозамбик").iso("MZ", "MOZ")), this._countries.add(new e.StiIsoCountry("Myanmar").ru("Мьянма").iso("MM", "MMR")), this._countries.add(new e.StiIsoCountry("Namibia").ru("Намибия").iso("NA", "NAM")), this._countries.add(new e.StiIsoCountry("Nauru").ru("Науру").iso("NR", "NRU")), this._countries.add(new e.StiIsoCountry("Nepal").ru("Непал").iso("NP", "NPL")), this._countries.add(new e.StiIsoCountry("Netherlands").ru("Нидерланды").iso("NL", "NLD")), this._countries.add(new e.StiIsoCountry("New Caledonia").ru("Новая Каледония").iso("NC", "NCL")), this._countries.add(new e.StiIsoCountry("New Zealand").ru("Новая Зеландия").iso("NZ", "NZL")), this._countries.add(new e.StiIsoCountry("Nicaragua").ru("Никарагуа").iso("NI", "NIC")), this._countries.add(new e.StiIsoCountry("Niger").ru("Нигер").iso("NE", "NER")), this._countries.add(new e.StiIsoCountry("Nigeria").ru("Нигерия").iso("NG", "NGA")), this._countries.add(new e.StiIsoCountry("Niue").ru("Ниуэ").iso("NU", "NIU")), this._countries.add(new e.StiIsoCountry("Norfolk Island").ru("Остров Норфолк").iso("NF", "NFK")), this._countries.add(new e.StiIsoCountry("Northern Mariana Islands").ru("Северные Марианские Острова").iso("MP", "MNP")), this._countries.add(new e.StiIsoCountry("Norway").ru("Норвегия").iso("NO", "NOR")), this._countries.add(new e.StiIsoCountry("Oman").ru("Оман").iso("OM", "OMN")), this._countries.add(new e.StiIsoCountry("Pakistan").ru("Пакистан").iso("PK", "PAK")), this._countries.add(new e.StiIsoCountry("Palau").ru("Палау").iso("PW", "PLW")), this._countries.add(new e.StiIsoCountry("Palestine","Palestine, State of").ru("Палестина", "Государство Палестина").iso("PS", "PSE")), this._countries.add(new e.StiIsoCountry("Panama").ru("Панама").iso("PA", "PAN")), this._countries.add(new e.StiIsoCountry("Papua New Guinea").ru("Папуа — Новая Гвинея").iso("PG", "PNG")), this._countries.add(new e.StiIsoCountry("Paraguay").ru("Парагвай").iso("PY", "PRY")), this._countries.add(new e.StiIsoCountry("Peru").ru("Перу").iso("PE", "PER")), this._countries.add(new e.StiIsoCountry("Philippines").ru("Филиппины").iso("PH", "PHL")), this._countries.add(new e.StiIsoCountry("Pitcairn").ru("Острова Питкэрн").iso("PN", "PCN")), this._countries.add(new e.StiIsoCountry("Poland").ru("Польша").iso("PL", "POL")), this._countries.add(new e.StiIsoCountry("Portugal").ru("Португалия").iso("PT", "PRT")), this._countries.add(new e.StiIsoCountry("Puerto Rico").ru("Пуэрто - Рико").iso("PR", "PRI")), this._countries.add(new e.StiIsoCountry("Qatar").ru("Катар").iso("QA", "QAT")), this._countries.add(new e.StiIsoCountry("Réunion").ru("Реюньон").iso("RE", "REU")), this._countries.add(new e.StiIsoCountry("Romania").ru("Румыния").iso("RO", "ROU")), this._countries.add(new e.StiIsoCountry("Russia","Russian Federation").ru("Россия", "Российская Федерация").iso("RU", "RUS")), this._countries.add(new e.StiIsoCountry("Rwanda").ru("Руанда").iso("RW", "RWA")), this._countries.add(new e.StiIsoCountry("Saint Barthélemy").ru("Сен-Бартелеми").iso("BL", "BLM")), this._countries.add(new e.StiIsoCountry("Saint Helena, Ascension and Tristan da Cunha").ru("Острова Святой Елены, Вознесения и Тристан-да-Кунья").iso("SH", "SHN")), this._countries.add(new e.StiIsoCountry("Saint Kitts and Nevis").ru("Сент-Китс и Невис").iso("KN", "KNA")), this._countries.add(new e.StiIsoCountry("Saint Lucia").ru("Сент-Люсия").iso("LC", "LCA")), this._countries.add(new e.StiIsoCountry("Saint Martin (French part)").ru("Сен-Мартен (владение Франции)").iso("MF", "MAF")), this._countries.add(new e.StiIsoCountry("Saint Pierre and Miquelon").ru("Сен-Пьер и Микелон").iso("PM", "SPM")), this._countries.add(new e.StiIsoCountry("Saint Vincent and the Grenadines","Сент - Винсент и Гренадины").iso("VC", "VCT")), this._countries.add(new e.StiIsoCountry("Samoa").ru("Самоа").iso("WS", "WSM")), this._countries.add(new e.StiIsoCountry("San Marino").ru("Сан - Марино").iso("SM", "SMR")), this._countries.add(new e.StiIsoCountry("Sao Tome and Principe").ru("Сан - Томе и Принсипи").iso("ST", "STP")), this._countries.add(new e.StiIsoCountry("Saudi Arabia").ru("Саудовская Аравия").iso("SA", "SAU")), this._countries.add(new e.StiIsoCountry("Senegal").ru("Сенегал").iso("SN", "SEN")), this._countries.add(new e.StiIsoCountry("Serbia").ru("Сербия").iso("RS", "SRB")), this._countries.add(new e.StiIsoCountry("Seychelles").ru("Сейшельские Острова").iso("SC", "SYC")), this._countries.add(new e.StiIsoCountry("Sierra Leone").ru("Сирия").iso("SL", "SLE")); this._countries.add(new e.StiIsoCountry("Singapore").ru("Сингапур").iso("SG", "SGP")), this._countries.add(new e.StiIsoCountry("Sint Maarten").ru("Синт-Мартен").iso("SX", "SXM")), this._countries.add(new e.StiIsoCountry("Slovakia").ru("Словакия").iso("SK", "SVK")), this._countries.add(new e.StiIsoCountry("Slovenia").ru("Словения").iso("SI", "SVN")), this._countries.add(new e.StiIsoCountry("Solomon Islands").ru("Соломоновы Острова").iso("SB", "SLB")), this._countries.add(new e.StiIsoCountry("Somalia").ru("Сомали").iso("SO", "SOM")), this._countries.add(new e.StiIsoCountry("South Africa").ru("ЮАР").iso("ZA", "ZAF")), this._countries.add(new e.StiIsoCountry("South Georgia and the South Sandwich Islands").ru("Южная Георгия и Южные Сандвичевы Острова").iso("GS", "SGS")), this._countries.add(new e.StiIsoCountry("South Sudan").ru("Южный Судан").iso("SS", "SSD")), this._countries.add(new e.StiIsoCountry("Spain").ru("Испания").iso("ES", "ESP")), this._countries.add(new e.StiIsoCountry("Sri Lanka").ru("Шри - Ланка").iso("LK", "LKA")), this._countries.add(new e.StiIsoCountry("Sudan").ru("Судан").iso("SD", "SDN")), this._countries.add(new e.StiIsoCountry("Suriname").ru("Суринам").iso("SR", "SUR")), this._countries.add(new e.StiIsoCountry("Svalbard and Jan Mayen").ru("Шпицберген и Ян-Майен").iso("SJ", "SJM")), this._countries.add(new e.StiIsoCountry("Swaziland").ru("Свазиленд").iso("SZ", "SWZ")), this._countries.add(new e.StiIsoCountry("Sweden").ru("Швеция").iso("SE", "SWE")), this._countries.add(new e.StiIsoCountry("Switzerland").ru("Швейцария").iso("CH", "CHE")), this._countries.add(new e.StiIsoCountry("Syrian Arab Republic").ru("Сирия").iso("SY", "SYR")), this._countries.add(new e.StiIsoCountry("Taiwan","Taiwan, Province of China[a]").ru("Китайская Республика").iso("TW", "TWN")), this._countries.add(new e.StiIsoCountry("Tajikistan").ru("Таджикистан").iso("TJ", "TJK")), this._countries.add(new e.StiIsoCountry("Tanzania","Tanzania, United Republic of").ru("Танзания").iso("TZ", "TZA")), this._countries.add(new e.StiIsoCountry("Thailand").ru("Таиланд").iso("TH", "THA")), this._countries.add(new e.StiIsoCountry("Timor-Leste").ru("Восточный Тимор").iso("TL", "TLS")), this._countries.add(new e.StiIsoCountry("Togo").ru("Того").iso("TG", "TGO")), this._countries.add(new e.StiIsoCountry("Tokelau").ru("Токелау").iso("TK", "TKL")), this._countries.add(new e.StiIsoCountry("Tonga").ru("Тонга").iso("TO", "TON")), this._countries.add(new e.StiIsoCountry("Trinidad and Tobago").ru("Тринидад и Тобаго").iso("TT", "TTO")), this._countries.add(new e.StiIsoCountry("Tunisia").ru("Тунис").iso("TN", "TUN")), this._countries.add(new e.StiIsoCountry("Turkey").ru("Турция").iso("TR", "TUR")), this._countries.add(new e.StiIsoCountry("Turkmenistan").ru("Туркмения").iso("TM", "TKM")), this._countries.add(new e.StiIsoCountry("Turks and Caicos Islands").ru("Тёркс и Кайкос").iso("TC", "TCA")), this._countries.add(new e.StiIsoCountry("Tuvalu").ru("Тувалу").iso("TV", "TUV")), this._countries.add(new e.StiIsoCountry("Uganda").ru("Уганда").iso("UG", "UGA")), this._countries.add(new e.StiIsoCountry("Ukraine").ru("Украина").iso("UA", "UKR")), this._countries.add(new e.StiIsoCountry("United Arab Emirates").ru("Объединённые Арабские Эмираты").iso("AE", "ARE")), this._countries.add(new e.StiIsoCountry("United Kingdom","United Kingdom of Great Britain and Northern Ireland","Great Britain").ru("Великобритания", "UK").iso("GB", "GBR")), this._countries.add(new e.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 e.StiIsoCountry("United States Minor Outlying Islands").ru("Внешние малые острова (США)").iso("UM", "UMI")), this._countries.add(new e.StiIsoCountry("Uruguay").ru("Уругвай").iso("UY", "URY")), this._countries.add(new e.StiIsoCountry("Uzbekistan").ru("Узбекистан").iso("UZ", "UZB")), this._countries.add(new e.StiIsoCountry("Vanuatu").ru("Вануату").iso("VU", "VUT")), this._countries.add(new e.StiIsoCountry("Venezuela","Venezuela (Bolivarian Republic of)").ru("Венесуэла").iso("VE", "VEN")), this._countries.add(new e.StiIsoCountry("Viet Nam").ru("Вьетнам").iso("VN", "VNM")), this._countries.add(new e.StiIsoCountry("Virgin Islands (British)").ru("Виргинские Острова (Великобритания)").iso("VG", "VGB")), this._countries.add(new e.StiIsoCountry("Virgin Islands (U.S.)").ru("Виргинские Острова (США)").iso("VI", "VIR")), this._countries.add(new e.StiIsoCountry("Wallis and Futuna").ru("Уоллис и Футуна").iso("WF", "WLF")), this._countries.add(new e.StiIsoCountry("Western Sahara").ru("Западная Сахара").iso("EH", "ESH")), this._countries.add(new e.StiIsoCountry("Yemen").ru("Йемен").iso("YE", "YEM")), this._countries.add(new e.StiIsoCountry("Zambia").ru("Замбия").iso("ZM", "ZMB")), this._countries.add(new e.StiIsoCountry("Zimbabwe").ru("Зимбабве").iso("ZW", "ZWE")) } , t.initializeUsStates = function() { this._usStates.add(new e.StiIsoCountry("Alabama","Ala.").iso("AL").ru("Алабама")), this._usStates.add(new e.StiIsoCountry("Alaska","Alas.").iso("AK").ru("Аляска")), this._usStates.add(new e.StiIsoCountry("American Samoa","A.S").iso("AS").ru("Американское Самоа")), this._usStates.add(new e.StiIsoCountry("Arizona","Ariz.").iso("AZ").ru("Аризона")), this._usStates.add(new e.StiIsoCountry("Arkansas","Ark.").iso("AR").ru("Арканзас")), this._usStates.add(new e.StiIsoCountry("California","Calif.","Ca.","Cal.").iso("CA").ru("Калифорния")), this._usStates.add(new e.StiIsoCountry("Colorado","Colo.","Col.").iso("CO").ru("Колорадо")), this._usStates.add(new e.StiIsoCountry("Connecticut","Conn.","Ct.").iso("CT").ru("Коннектикут")), this._usStates.add(new e.StiIsoCountry("Delaware","Del.","Ct.").iso("DE").ru("Делавэр")), this._usStates.add(new e.StiIsoCountry("District of Columbia","D.C.","Wash D.C.").iso("DC").ru("Округ Колумбия")), this._usStates.add(new e.StiIsoCountry("Florida","Fla.","Fl.","Flor.").iso("FL").ru("Флорида")), this._usStates.add(new e.StiIsoCountry("Georgia","Ga.","Geo.").iso("GA").ru("Джорджия")), this._usStates.add(new e.StiIsoCountry("Guam","GUM").iso("GU").ru("Гуам")), this._usStates.add(new e.StiIsoCountry("Hawaii","H.I.").iso("HI").ru("Гавайи")), this._usStates.add(new e.StiIsoCountry("Idaho","Id.","Ida.").iso("ID").ru("Айдахо")), this._usStates.add(new e.StiIsoCountry("Illinois","Ill.").iso("IL").ru("Иллинойс")), this._usStates.add(new e.StiIsoCountry("Indiana","Ind.","In.").iso("IN").ru("Индиана")), this._usStates.add(new e.StiIsoCountry("Iowa","Ia.","Ioa.").iso("IA").ru("Айова")), this._usStates.add(new e.StiIsoCountry("Kansas","Kans.","Kan.","Ks","Ka").iso("KS").ru("Канзас")), this._usStates.add(new e.StiIsoCountry("Kentucky","Ky.","Ken.","Kent.").iso("KY").ru("Кентукки")), this._usStates.add(new e.StiIsoCountry("Louisiana","La.").iso("LA").ru("Луизиана")), this._usStates.add(new e.StiIsoCountry("Maine","Me.").iso("ME").ru("Мэн")), this._usStates.add(new e.StiIsoCountry("Maryland","Md.").iso("MD").ru("Мэриленд")), this._usStates.add(new e.StiIsoCountry("Massachusetts","Mass.").iso("MA").ru("Массачусетс")), this._usStates.add(new e.StiIsoCountry("Michigan","Mich.").iso("MI").ru("Мичиган")), this._usStates.add(new e.StiIsoCountry("Minnesota","Minn.","Mn.").iso("MN").ru("Миннесота")), this._usStates.add(new e.StiIsoCountry("Mississippi","Miss.").iso("MS").ru("Миссисипи")), this._usStates.add(new e.StiIsoCountry("Missouri","Mo.").iso("MO").ru("Миссури")), this._usStates.add(new e.StiIsoCountry("Montana","Mont.").iso("MT").ru("Монтана")), this._usStates.add(new e.StiIsoCountry("Nebraska","Nebr.","Neb.").iso("NE").ru("Небраска")), this._usStates.add(new e.StiIsoCountry("Nevada","Nev.","Nv.").iso("NV").ru("Невада")), this._usStates.add(new e.StiIsoCountry("New Hampshire","N.H.").iso("NH").ru("Нью-Гемпшир")), this._usStates.add(new e.StiIsoCountry("New Jersey","N.J.","N. Jersey").iso("NJ").ru("Нью-Джерси")), this._usStates.add(new e.StiIsoCountry("New Mexico","N. Mex.","N.M.","New M.").iso("NM").ru("Нью-Мексико")), this._usStates.add(new e.StiIsoCountry("New York","N.Y.","N. York").iso("NY").ru("Нью-Йорк")), this._usStates.add(new e.StiIsoCountry("North Carolina","N.C.","N. Car.").iso("NC").ru("Северная Каролина")), this._usStates.add(new e.StiIsoCountry("North Dakota","N. Dak.","N.D.","NoDak").iso("ND").ru("Северная Дакота")), this._usStates.add(new e.StiIsoCountry("Northern Mariana Islands","M.P.","CNMI").iso("MP", "MNP").ru("Северные Марианские острова")), this._usStates.add(new e.StiIsoCountry("Ohio","O.","Oh.").iso("OH").ru("Огайо")), this._usStates.add(new e.StiIsoCountry("Oklahoma","Okla.","Ok.").iso("OK").ru("Оклахома")), this._usStates.add(new e.StiIsoCountry("Oregon","Oreg.","Ore.","Or.").iso("OR").ru("Орегон")), this._usStates.add(new e.StiIsoCountry("Pennsylvania","Pa.","Penn.","Penna.").iso("PA").ru("Пенсильвания")), this._usStates.add(new e.StiIsoCountry("Puerto Rico","P.R.").iso("PR", "PRI").ru("Пуэрто - Рико")), this._usStates.add(new e.StiIsoCountry("Rhode Island","R.I.","P.P.","R. Isl.").iso("RI").ru("Род-Айленд")), this._usStates.add(new e.StiIsoCountry("South Carolina","S.C.","S. Car.").iso("SC").ru("Южная Каролина")), this._usStates.add(new e.StiIsoCountry("South Dakota","S. Dak.","S.D.","SoDak").iso("SD").ru("Южная Дакота")), this._usStates.add(new e.StiIsoCountry("Tennessee","Tenn.").iso("TN").ru("Теннесси")), this._usStates.add(new e.StiIsoCountry("Texas","Tex.","Tx.").iso("TX").ru("Техас")), this._usStates.add(new e.StiIsoCountry("US Minor Outlying Islands").iso("WY", "UMI").ru("Внешние малые острова")), this._usStates.add(new e.StiIsoCountry("US Virgin Islands","V.I.","U.S.V.I.").iso("VI", "ASM").ru("Американские Виргинские острова")), this._usStates.add(new e.StiIsoCountry("Utah","Ut.").iso("UT").ru("Юта")), this._usStates.add(new e.StiIsoCountry("Vermont","Vt.").iso("VT").ru("Вермонт")), this._usStates.add(new e.StiIsoCountry("Virginia","Va.","Virg.").iso("VA", "VIR").ru("Виргиния")), this._usStates.add(new e.StiIsoCountry("Washington","Wash.","Wa.","Wn.").iso("WA").ru("Вашингтон")), this._usStates.add(new e.StiIsoCountry("West Virginia","W. Va.","W.V.","W. Virg.").iso("WV").ru("Западная Виргиния")), this._usStates.add(new e.StiIsoCountry("Wisconsin","Wis.","Wi.","Wisc.").iso("WI").ru("Висконсин")), this._usStates.add(new e.StiIsoCountry("Wyoming","Wyo.","Wy.").iso("WY").ru("Вайоминг")) } , t.initializeCanadaProvinces = function() { this._canadaProvinces.add(new e.StiIsoCountry("Alberta").iso("AB").fr("Alberta").ru("Альберта")), this._canadaProvinces.add(new e.StiIsoCountry("British Columbia").iso("BC").fr("Colombie-Britannique").ru("Британская Колумбия")), this._canadaProvinces.add(new e.StiIsoCountry("Manitoba").iso("MB").fr("Manitoba").ru("Манитоба")), this._canadaProvinces.add(new e.StiIsoCountry("New Brunswick").iso("NB").fr("Nouveau-Brunswick").ru("Нью-Брансуик")), this._canadaProvinces.add(new e.StiIsoCountry("Newfoundland and Labrador").iso("NL").fr("Terre-Neuve-et-Labrador").ru("Ньюфаундленд и Лабрадор")), this._canadaProvinces.add(new e.StiIsoCountry("Nova Scotia").iso("NS").fr("Nouvelle-Écosse").ru("Новая Шотландия")), this._canadaProvinces.add(new e.StiIsoCountry("Northwest Territories").iso("NT").fr("Territoires du Nord-Ouest").ru("Северо-западные территории")), this._canadaProvinces.add(new e.StiIsoCountry("Nunavut").iso("NU").fr("Nunavut").ru("Нунавут")), this._canadaProvinces.add(new e.StiIsoCountry("Ontario").iso("ON").fr("Ontario").ru("Онтарио")), this._canadaProvinces.add(new e.StiIsoCountry("Prince Edward Island").iso("PE").fr("Île-du-Prince-Édouard").ru("Остров Принца Эдуарда")), this._canadaProvinces.add(new e.StiIsoCountry("Quebec").iso("QC").fr("Québec").ru("Квебек")), this._canadaProvinces.add(new e.StiIsoCountry("Saskatchewan").iso("SK").fr("Saskatchewan").ru("Саскачеван")), this._canadaProvinces.add(new e.StiIsoCountry("Yukon").iso("YT").fr("Yukon").ru("Юкон")) } , t.initializeBrazilProvinces = function() { this._brazilProvinces.add(new e.StiIsoCountry("Roraima").iso("AB").fr("Roraima").ru("Рорайма")), this._brazilProvinces.add(new e.StiIsoCountry("Amazonas").iso("AM").fr("Amazonas").ru("Амазонас")), this._brazilProvinces.add(new e.StiIsoCountry("Para").iso("PA").fr("Pará").ru("Пара")), this._brazilProvinces.add(new e.StiIsoCountry("Amapa").iso("AP").fr("Amapá").ru("Амапа")), this._brazilProvinces.add(new e.StiIsoCountry("Acre").iso("AC").fr("Acre").ru("Акри")), this._brazilProvinces.add(new e.StiIsoCountry("Rondonia").iso("RO").fr("Rondônia").ru("Рондония")), this._brazilProvinces.add(new e.StiIsoCountry("Mato Grosso").iso("MT").fr("Mato Grosso").ru("Мату-Гросу")), this._brazilProvinces.add(new e.StiIsoCountry("Maranhao").iso("MA").fr("Maranhão").ru("Мараньян")), this._brazilProvinces.add(new e.StiIsoCountry("Piaui").iso("PI").fr("Piauí").ru("Пиауи")), this._brazilProvinces.add(new e.StiIsoCountry("Ceara").iso("CE").fr("Ceará").ru("Сеара")), this._brazilProvinces.add(new e.StiIsoCountry("Rio Grande do Norte").iso("RN").fr("Rio Grande do Norte").ru("Риу-Гранди-ду-Норти")), this._brazilProvinces.add(new e.StiIsoCountry("Paraiba").iso("PB").fr("Paraïba").ru("Параиба")), this._brazilProvinces.add(new e.StiIsoCountry("Pernambuco").iso("PE").fr("Pernambouc").ru("Пернамбуку")), this._brazilProvinces.add(new e.StiIsoCountry("Alagoas").iso("AL").fr("Alagoas").ru("Алагоас")), this._brazilProvinces.add(new e.StiIsoCountry("Sergipe").iso("SE").fr("Sergipe").ru("Сержипи")), this._brazilProvinces.add(new e.StiIsoCountry("Bahia").iso("BA").fr("Bahia").ru("Баия")), this._brazilProvinces.add(new e.StiIsoCountry("Tocantins").iso("TO").fr("Tocantins").ru("Токантинс")), this._brazilProvinces.add(new e.StiIsoCountry("Goias").iso("GO").fr("Goiás").ru("Гояс")), this._brazilProvinces.add(new e.StiIsoCountry("Minas Gerais").iso("MG").fr("Minas Gerais").ru("Минас-Жерайс")), this._brazilProvinces.add(new e.StiIsoCountry("Espirito Santo").iso("ES").fr("Minas Gerais").ru("Минас-Жерайс")), this._brazilProvinces.add(new e.StiIsoCountry("Rio de Janeiro").iso("RJ").fr("Rio de Janeiro").ru("Рио-де-Жанейро")), this._brazilProvinces.add(new e.StiIsoCountry("Sao Paulo").iso("SP").fr("São Paulo").ru("Сан-Паулу")), this._brazilProvinces.add(new e.StiIsoCountry("Parana").iso("PR").fr("Paraná").ru("Парана")), this._brazilProvinces.add(new e.StiIsoCountry("Santa Catarina").iso("SC").fr("Santa Catarina").ru("Санта-Катарина")), this._brazilProvinces.add(new e.StiIsoCountry("Rio Grande do Sul").iso("RS").fr("Rio Grande do Sul").ru("Риу-Гранди-ду-Сул")), this._brazilProvinces.add(new e.StiIsoCountry("Mato Grosso do Sul").iso("MS").fr("Mato Grosso do Sul").ru("Мату-Гросу-ду-Сул")) } , t }(); e.StiIsoElementHelper = n }(r = e.Helpers || (e.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = t.System.Collections.Dictionary , n = function() { function t() {} return t.allowGss = function(t) { return t == e.StiMapID.UKCountries } , t.get = function(t) { if (!this.allowGss(t)) return null; return null == this.hash && (this.hash = new i), this.hash.contains(t) || this.init(t), this.hash.get(t) } , t.init = function(t) { switch (t) { case e.StiMapID.UKCountries: this.initUKCountries(); break } } , t.isGssValue = function(t) { if (null == t) return !1; var e = t.toLowerCase(); return e.stimulsoft.startsWith("s12") || e.stimulsoft.startsWith("e06") || e.stimulsoft.startsWith("e10") || e.stimulsoft.startsWith("e07") || e.stimulsoft.startsWith("e09") || e.stimulsoft.startsWith("n09") || e.stimulsoft.startsWith("w06") || e.stimulsoft.startsWith("s12") || e.stimulsoft.startsWith("e08") || e.stimulsoft.startsWith("e11") } , t.add = function(t, e, r) { null != r && t.add(r.toLowerCase(), e) } , t.initUKCountries = function() { var t = new i; 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(e.StiMapID.UKCountries, t) } , t }(); r.StiGssMapHelper = n }(r = e.Helpers || (e.Helpers = {})) }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Maps.Helpers.StiGssMapHelper , n = function() { function t() {} return t.prototype.getNameFromIsoAlpha2 = function(t, r) { void 0 === r && (r = null); var i = e.StiMapResourceHelper.getSvgBlockFromName(t, r); if (null != i) return i.englishName; var n = e.StiIsoElementHelper.getCountryFromAlpha2(t, r); if (null != n) return n.names.toList().firstOrDefault(); var o = e.StiRegionInfoHelper.getNameFromIsoAlpha2(t); if (null != o) return o; return null } , t.prototype.getNameFromIsoAlpha3 = function(t, r) { void 0 === r && (r = null); var i = e.StiMapResourceHelper.getSvgBlockFromName(t, r); if (null != i) return i.englishName; var n = e.StiIsoElementHelper.getCountryFromAlpha3(t, r); if (null != n) return n.names.toList().firstOrDefault(); var o = e.StiRegionInfoHelper.getNameFromIsoAlpha3(t); if (null != o) return o; return null } , t.prototype.normalizeName = function(t, e) { void 0 === e && (e = null); var i = this.getIsoAlpha2FromName(t, e) , n = this.getNameFromIsoAlpha2(i, e); return r.isNullOrWhiteSpace(n) ? t : n } , t.prototype.getIsoAlpha2FromName = function(t, r) { void 0 === r && (r = null); var i = e.StiMapResourceHelper.getIsoAlpha2FromName(t, r); if (null != i) return i; if (null != (i = e.StiIsoElementHelper.getIsoAlpha2FromName(t, r))) return i; if (null != (i = e.StiRegionInfoHelper.getIsoAlpha2FromName(t))) return i; return null } , t.prototype.getIsoAlpha3FromName = function(t, r) { void 0 === r && (r = null); var i = e.StiMapResourceHelper.getIsoAlpha3FromName(t, r); if (null != i) return i; if (null != (i = e.StiIsoElementHelper.getIsoAlpha3FromName(t, r))) return i; if (null != (i = e.StiRegionInfoHelper.getIsoAlpha3FromName(t))) return i; return null } , t.prototype.convertMapKeysToIsoAlpha2 = function(t, i) { if (null == t || 0 == t.length) return null; return t.select(function(t) { return e.StiMapResourceHelper.getIsoAlpha2FromName(t, i) }).where(function(t) { return !r.isNullOrWhiteSpace(t) }).distinct().toList() } , t.prototype.getMapKeysFromNames = function(t, e) { var r = this; if (null == t) return null; return t.select(function(t) { return t.toString() }, this).select(function(t) { return r.getMapKeyFromName(t, e) }, this).toList() } , t.prototype.getMapKeyFromName = function(r, n) { if (i.isGssValue(r)) return r; var o = (new t).getIsoAlpha2FromName(r, n) , a = e.StiMapResourceHelper.getSvgBlockFromIsoAlpha2(o, n); if (null == o) return r; return null != a ? a.key : null } , t.simplify = function(t) { return null == t ? t : t.toLowerCase().stimulsoft.replaceAll(" ", "").stimulsoft.replaceAll("-", "") } , t }(); e.StiMapKeyHelper = n }(r = e.Helpers || (e.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() { this.geoms = [] } return t }(); t.StiMapGeomsContainer = e }(e = t.Geoms || (t.Geoms = {})) }(e = t.Maps || (t.Maps = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() { this.geoms = [] } return t }(); t.StiMapGeomsObject = e }(e = t.Geoms || (t.Geoms = {})) }(e = t.Maps || (t.Maps = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return Object.defineProperty(t.prototype, "geomType", { get: function() { return null }, enumerable: !0, configurable: !0 }), t.prototype.getLastPoint = function() { throw new Error("Not supported!") } , t }(); t.StiMapGeom = e }(e = t.Geoms || (t.Geoms = {})) }(e = t.Maps || (t.Maps = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Point , i = function(t) { function i() { return null !== t && t.apply(this, arguments) || this } return __extends(i, t), Object.defineProperty(i.prototype, "geomType", { get: function() { return e.StiMapGeomType.MoveTo }, enumerable: !0, configurable: !0 }), i.prototype.getLastPoint = function() { return new r(this.x,this.y) } , i }(e.StiMapGeom); e.StiMoveToMapGeom = i }(r = e.Geoms || (e.Geoms = {})) }(r = e.Maps || (e.Maps = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Point , i = function(t) { function i() { return null !== t && t.apply(this, arguments) || this } return __extends(i, t), Object.defineProperty(i.prototype, "geomType", { get: function() { return e.StiMapGeomType.Line }, enumerable: !0, configurable: !0 }), i.prototype.getLastPoint = function() { return new r(this.x,this.y) } , i }(e.StiMapGeom); e.StiLineMapGeom = i }(r = e.Geoms || (e.Geoms = {})) }(r = e.Maps || (e.Maps = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Point , i = function(t) { function i() { return null !== t && t.apply(this, arguments) || this } return __extends(i, t), Object.defineProperty(i.prototype, "geomType", { get: function() { return e.StiMapGeomType.Bezier }, enumerable: !0, configurable: !0 }), i.prototype.getLastPoint = function() { return new r(this.x3,this.y3) } , i }(e.StiMapGeom); e.StiBezierMapGeom = i }(r = e.Geoms || (e.Geoms = {})) }(r = e.Maps || (e.Maps = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Point , i = function(t) { function i() { return null !== t && t.apply(this, arguments) || this } return __extends(i, t), Object.defineProperty(i.prototype, "geomType", { get: function() { return e.StiMapGeomType.Beziers }, enumerable: !0, configurable: !0 }), i.prototype.getLastPoint = function() { return new r(this.array[this.array.length - 2],this.array[this.array.length - 1]) } , i }(e.StiMapGeom); e.StiBeziersMapGeom = i }(r = e.Geoms || (e.Geoms = {})) }(r = e.Maps || (e.Maps = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "geomType", { get: function() { return t.StiMapGeomType.Close }, enumerable: !0, configurable: !0 }), r }(t.StiMapGeom); t.StiCloseMapGeom = e }(e = t.Geoms || (t.Geoms = {})) }(e = t.Maps || (t.Maps = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(e) { var r = t.System.Drawing.Point , i = t.System.Collections.List , n = function(t) { function i() { return null !== t && t.apply(this, arguments) || this } return __extends(i, t), i.prototype.getLastPoint = function() { if (0 == this.length) return new r; var t = this[this.length - 1]; if (t.geomType == e.StiMapGeomType.Close && this.length > 0) return t = this[this.length - 2], t.getLastPoint(); return new r } , i }(i); e.StiMapGeomCollection = n }(r = e.Geoms || (e.Geoms = {})) }(r = e.Maps || (e.Maps = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString, i = t.Base.Maps.Geoms.StiMapGeomCollection, n = t.System.Drawing.Point, o = t.System.Collections.Hashtable, a = t.Base.Maps.Geoms.StiMapGeomsContainer, s = t.Base.Maps.Geoms.StiMapGeomsObject, l = t.Base.Maps.Geoms.StiMoveToMapGeom, u = t.Base.Maps.Geoms.StiLineMapGeom, c = t.Base.Maps.Geoms.StiBezierMapGeom, m = t.Base.Maps.Geoms.StiBeziersMapGeom, p = t.Base.Maps.Geoms.StiCloseMapGeom, h = t.Base.StiGZipHelper, d = t.System.Drawing.Rectangle, g = t.Base.Drawing.StiTextHorAlignment, f = t.Base.Drawing.StiVertAlignment, S = t.System.Enum, A; !function(t) { t[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" }(A || (A = {})); var y = function() { function y() {} return y.loadResource = function(i) { var n, a; null == y.hashMaps && (y.hashMaps = new o); var s = r.format("Stimulsoft.Report.Infographics.Maps.Resources.{0}.json", i); if (!y.hashMaps.containsKey(s)) { var l = new e.StiMapSvgContainer; if (null == t.Report.Maps["StiMapResources" + i]) return t.System.StiError.showError("You cannot load a map. Please include js library 'stimulsoft.report.maps.js' !", !0), l; var u = h.unpack(t.Report.Maps["StiMapResources" + i][i]) , c = JSON.parse(u); l.name = c.Name, l.width = c.Width, l.height = c.Height; try { for (var m = __values(c.Paths), p = m.next(); !p.done; p = m.next()) { var A = p.value , w = new e.StiMapSvg; if (w.data = A.Data, w.key = A.Key, w.englishName = A.EnglishName, w.iSOCode = A.ISOCode, null != A.SetMaxWidth && (w.setMaxWidth = A.SetMaxWidth), null != A.SkipText && (w.skipText = A.SkipText), null != A.HorAlignment && (w.horAlignment = S.parse(g, A.HorAlignment)), null != A.VertAlignment && (w.vertAlignment = S.parse(f, A.VertAlignment)), null != A.Rect) { var b = A.Rect.toString().split(","); b.length > 3 && (w.rect = new d(parseInt(b[0]),parseInt(b[1]),parseInt(b[2]),parseInt(b[3]))) } l.paths.push(w) } } catch (t) { n = { error: t } } finally { try { p && !p.done && (a = m.return) && a.call(m) } finally { if (n) throw n.error } } return l.prepare(), y.hashMaps.add(s, l), l } return y.hashMaps.get(s) } , y.getGeomsObject = function(t) { var e, r, i = y.loadResource(t), n = new a; n.width = i.width, n.height = i.height, n.name = i.name; try { for (var o = __values(i.hashPaths.keys), l = o.next(); !l.done; l = o.next()) { var u = l.value , c = i.hashPaths.get(u) , m = new s; m.name = u, m.geoms = y.parsePath(c), n.geoms.add(m) } } catch (t) { e = { error: t } } finally { try { l && !l.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } return n } , y.createGeom = function(t, e, r, i, o, a) { var s, h, d, g; switch (void 0 === a && (a = !1), t) { case A.MoveToM: if (2 != e.length) { if (a) return; throw new Error("NotSupportedException") } var f = new l; f.x = Math.round2(e[0], 3), f.y = Math.round2(e[1], 3), o.add(f); break; case A.MoveTom: if (2 != e.length) { if (a) return; throw new Error("NotSupportedException") } var S = o.getLastPoint() , f = new l; f.x = Math.round2(S.x + e[0], 3), f.y = Math.round2(S.y + e[1], 3), o.add(f); break; case A.Line_L: if (2 != e.length) { if (a) return; throw new Error("NotSupportedException") } var f = new u; f.x = Math.round2(e[0], 3), f.y = Math.round2(e[1], 3), o.add(f); break; case A.Line_l: if (2 != e.length) { if (a) return; throw new Error("NotSupportedException") } var S = o[o.length - 1].getLastPoint() , f = new u; f.x = Math.round2(S.x + e[0], 3), f.y = Math.round2(S.y + e[1], 3), o.add(f); break; case A.Bezier_C: if (e.length % 6 != 0) { if (a) return; throw new Error("NotSupportedException") } for (var S = o[o.length - 1].getLastPoint(), y = e.length / 6, w = 0, b = 0; b < y; b++) { var f = new c; f.x1 = Math.round2(e[w], 3), f.y1 = Math.round2(e[w + 1], 3), f.x2 = Math.round2(e[w + 2], 3), f.y2 = Math.round2(e[w + 3], 3), f.x3 = Math.round2(e[w + 4], 3), f.y3 = Math.round2(e[w + 5], 3), o.add(f), S = new n(f.x3,f.y3), w += 6 } break; case A.Bezier_c: if (6 != e.length) { if (a) return; throw new Error("NotSupportedException") } var S = o[o.length - 1].getLastPoint() , f = new c; f.x1 = Math.round2(S.x + e[0], 3), f.y1 = Math.round2(S.y + e[1], 3), f.x2 = Math.round2(S.x + e[2], 3), f.y2 = Math.round2(S.y + e[3], 3), f.x3 = Math.round2(S.x + e[4], 3), f.y3 = Math.round2(S.y + e[5], 3), o.add(f); break; case A.VerticalLineto_V: if (1 != e.length) { if (a) return; throw new Error("NotSupportedException") } var v = o[o.length - 1].getLastPoint() , f = new u; f.x = Math.round2(v.x, 3), f.y = Math.round2(e[0], 3), o.add(f); break; case A.VerticalLineto_v: if (1 != e.length) { if (a) return; throw new Error("NotSupportedException") } var v = o[o.length - 1].getLastPoint() , f = new u; f.x = Math.round2(v.x, 3), f.y = Math.round2(v.y + e[0], 3), o.add(f); break; case A.HorizontalLineto_H: if (1 != e.length) throw new Error(""); var v = o[o.length - 1].getLastPoint() , f = new u; f.x = Math.round2(e[0], 3), f.y = Math.round2(v.y, 3), o.add(f); break; case A.HorizontalLineto_h: if (1 != e.length) { if (a) return; throw new Error("NotSupportedException") } var v = o[o.length - 1].getLastPoint() , f = new u; f.x = Math.round2(v.x + e[0], 3), f.y = Math.round2(v.y, 3), o.add(f); break; case A.Beziers_S: if (e.length < 6) { if (a) return; throw new Error("NotSupportedException") } var C = []; try { for (var E = __values(e), B = E.next(); !B.done; B = E.next()) { var T = B.value; C.add(Math.round2(T, 3)) } } catch (t) { s = { error: t } } finally { try { B && !B.done && (h = E.return) && h.call(E) } finally { if (s) throw s.error } } var f = new m; f.array = C.toArray(), o.add(f); break; case A.Beziers_s: if (e.length < 6) { if (a) return; throw new Error("NotSupportedException") } var v = o[o.length - 1].getLastPoint(); v.x += e[4], v.y += e[5]; var I = !0 , C = []; try { for (var x = __values(e), F = x.next(); !F.done; F = x.next()) { var T = F.value , D = I ? T + v.x : T + v.y; C.add(Math.round2(D, 3)), I = !I } } catch (t) { d = { error: t } } finally { try { F && !F.done && (g = x.return) && g.call(x) } finally { if (d) throw d.error } } var f = new m; f.array = C.toArray(), o.add(f), C.clear(), C = null; break; case A.Close: if (0 != e.length) { if (a) return; throw new Error("NotSupportedException") } o.add(new p); break } e.clear() } , y.parsePath = function(t) { try { var e = new i , r = 0 , n = 0 , o = A.None , a = 0 , s = [] , l = 0 , u = 0 , c = t.length; while (u < c) { switch (t[u]) { case "M": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && (this.createGeom(o, s, r, u, e), n = 0), o = A.MoveToM, r = u + 1, a = r; case "m": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && (this.createGeom(o, s, r, u, e), n = 0), o = A.MoveTom, r = u + 1, a = r; break; case "C": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && this.createGeom(o, s, r, u, e), o = A.Bezier_C, r = u + 1, a = r; break; case "c": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && this.createGeom(o, s, r, u, e), o = A.Bezier_c, r = u + 1, a = r; break; case "S": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o = A.Beziers_S, r = u + 1, a = r; break; case "s": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o = A.Beziers_s, r = u + 1, a = r; break; case "L": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && this.createGeom(o, s, r, u, e), o = A.Line_L, r = u + 1, a = r; break; case "l": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && this.createGeom(o, s, r, u, e), o = A.Line_l, r = u + 1, a = r; break; case "Z": case "z": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && this.createGeom(o, s, r, u, e), o = A.Close, r = u + 1, a = r; break; case "V": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && this.createGeom(o, s, r, u, e), o = A.VerticalLineto_V, r = u + 1, a = r; break; case "v": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && this.createGeom(o, s, r, u, e), o = A.VerticalLineto_v, r = u + 1, a = r; break; case "H": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && this.createGeom(o, s, r, u, e), o = A.HorizontalLineto_H, r = u + 1, a = r; break; case "h": s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && this.createGeom(o, s, r, u, e), o = A.HorizontalLineto_h, r = u + 1, a = r; break; case "-": n++, s.add(t.substr(a, u - a).stimulsoft.toNumber()), a = u; break; case ",": case " ": n++, s.add(t.substr(a, u - a).stimulsoft.toNumber()), a = u + 1, 2 == s.length && (o == A.MoveToM || o == A.MoveTom ? (this.createGeom(o, s, r, u, e), n = 0, o = A.None) : o == A.None && (this.createGeom(A.Line_l, s, r, u, e), n = 0)); break; case "Q": case "q": case "T": case "t": case "A": case "a": throw new Error("") } u++ } return s.add(t.substr(a, u - a).stimulsoft.toNumber()), o != A.None && s.length > 1 && this.createGeom(o, s, r, u, e), e } finally {} } , y }(); e.StiMapLoader = y }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Enum , n = t.Report.Maps.StiMapLoader , o = t.Report.Maps.StiMapID , a = t.System.Char , s = function() { function t() {} return t.getSvgBlockFromIsoAlpha2 = function(t, i) { var n, o; if (void 0 === i && (i = null), r.isNullOrWhiteSpace(t)) return null; var a = this.getResource(i); if (null == a) return null; var s = e.StiMapKeyHelper.simplify(t); try { for (var l = __values(a.hashPaths.values), u = l.next(); !u.done; u = l.next()) { var c = u.value; if (e.StiMapKeyHelper.simplify(c.iSOCode) == s) return c } } catch (t) { n = { error: t } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (n) throw n.error } } return null } , t.getSvgBlockFromName = function(t, i) { var n, o; if (void 0 === i && (i = null), r.isNullOrWhiteSpace(t)) return null; var a = this.getResource(i); if (null == a) return null; var s = e.StiMapKeyHelper.simplify(t) , l = e.StiMapKeyHelper.simplify(this.decodeAlpha(t)); try { for (var u = __values(a.hashPaths.values), c = u.next(); !c.done; c = u.next()) { var m = c.value; if (e.StiMapKeyHelper.simplify(m.key) == s || e.StiMapKeyHelper.simplify(m.englishName) == s || e.StiMapKeyHelper.simplify(m.iSOCode) == s || e.StiMapKeyHelper.simplify(m.iSOCode) == l) return m } } catch (t) { n = { error: t } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (n) throw n.error } } return null } , t.getIsoAlpha2FromName = function(t, e) { void 0 === e && (e = null); var r = this.getSvgBlockFromName(t, e); return null != r ? r.iSOCode : null } , t.getIsoAlpha3FromName = function(t, r) { void 0 === r && (r = null); var i = this.getIsoAlpha2FromName(t, r); if (null == i) return null; var n = e.StiIsoElementHelper.getCountryFromAlpha2(i, r); return null != n ? n.alpha3 : null } , t.getResource = function(t) { return t = r.isNullOrWhiteSpace(t) ? i.getName(o, o.World) : t.stimulsoft.replaceAll(" ", ""), n.loadResource(t) } , t.decodeAlpha = function(t) { if (null == t) return t; if (!(5 == t.length && a.isLetter(t[0]) && a.isLetter(t[1]) && "-" == t[2] && a.isLetter(t[3]) && a.isLetter(t[4]))) return t; var e = t.split("-"); if (e.length < 2) return null; return e[1] } , t }(); e.StiMapResourceHelper = s }(r = e.Helpers || (e.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Globalization.CultureInfo , i = t.System.Globalization.RegionInfo , n = t.System.Collections.List , o = function() { function t() {} return t.getIsoAlpha2FromName = function(t) { var e = this.getRegionInfoFromName(t); return null != e ? e.twoLetterISORegionName : null } , t.getIsoAlpha3FromName = function(t) { var e = this.getRegionInfoFromName(t); return null != e ? e.threeLetterISORegionName : null } , t.getNameFromIsoAlpha2 = function(t) { var e = this.getRegionInfoFromName(t); return null != e ? e.name : null } , t.getNameFromIsoAlpha3 = function(t) { var e = this.getRegionInfoFromName(t); return null != e ? e.name : null } , t.getLocalizedNameFromIsoAlpha2 = function(t) { var e = this.getRegionInfoFromName(t); return null != e ? e.nativeName : null } , t.getLocalizedNameFromIsoAlpha3 = function(t) { var e = this.getRegionInfoFromName(t); return null != e ? e.nativeName : null } , t.getRegionInfoFromName = function(t) { var r = e.StiMapKeyHelper.simplify(t); return this.getAllRegions().firstOrDefault(function(t) { return e.StiMapKeyHelper.simplify(t.name) == r || e.StiMapKeyHelper.simplify(t.nativeName) == r || e.StiMapKeyHelper.simplify(t.threeLetterISORegionName) == r || e.StiMapKeyHelper.simplify(t.threeLetterWindowsRegionName) == r || e.StiMapKeyHelper.simplify(t.twoLetterISORegionName) == r }) } , t.getAllRegions = function() { var t = new n; for (var e in r.cultures) { var o = r.cultures[e]; t.add(new i(o.name)) } return t } , t }(); e.StiRegionInfoHelper = o }(r = e.Helpers || (e.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Data.DataSet , n = t.Report.Dictionary.StiResourceType , o = t.System.Enum , a = function() { function a() {} return a.get = function(a, s, l, u) { void 0 === l && (l = null), void 0 === u && (u = null); var c = e.StiHyperlinkProcessor.getResource(l, e.StiHyperlinkProcessor.getResourceNameFromHyperlink(u)); if (null != c && null != c.dataSet) return c.dataSet; var m = new i; switch (a) { case n.Excel: if (null != s) try { for (var p = new Uint8Array(s), h = new Array, d = 0; d != p.length; ++d) h[d] = String.fromCharCode(p[d]); var g = h.join("") , f = t.ExternalLibrary.XLSX.read(g, { type: "binary", cellDates: !0 }); m = (new t.Report.Dictionary.StiExcelDatabase).getDataSetPrivate(f) } catch (t) {} break; case n.Xml: if (null != s) try { m.readXml(s) } catch (t) {} break; case n.Json: if (null != s) try { m.readJson(s) } catch (t) {} break; default: throw r.format("'{0}' resource type is not supported!", o.getName(n, a)) } if (null != c) return c.dataSet = m; return m } , a }(); e.StiResourceArrayToDataSet = a }(r = e.Helpers || (e.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Dictionary.StiResourceType , i = function() { function t() {} return t.getTypeFromExtension = function(t) { if (t = t.toLowerCase(), this.isImageType(t)) return r.Image; switch (t) { case ".csv": return r.Csv; case ".dbf": return r.Dbf; case ".xls": case ".xlsx": return r.Excel; case ".json": return r.Json; case ".xml": return r.Xml; case ".xsd": return r.Xsd; case ".ttf": return r.FontTtf; case ".otf": return r.FontOtf; case ".woff": return r.FontWoff; case ".ttc": return r.FontTtc; case ".eot": return r.FontEot; case ".rtf": return r.Rtf; case ".txt": return r.Txt; case ".mrt": case ".mrz": return r.Report; case ".mdc": case ".mdz": return r.ReportSnapshot; case ".pdf": return r.Pdf; case ".doc": case ".docx": return r.Word; default: return null } } , t.isImageType = function(t) { return this.isExtensionType(e.StiFileDialogHelper.imageExts, t) } , t.isTextType = function(t) { return this.isExtensionType(e.StiFileDialogHelper.textExts, t) } , t.isExtensionType = function(t, e) { return e = e.stimulsoft.startsWith(".") ? e.substring(1) : e, e = e.toLowerCase(), t.any(function(t) { return t == e }) } , t }(); e.StiResourceTypeHelper = i }(r = e.Helpers || (e.Helpers = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiCustomValueBase = "IStiCustomValueBase" }(e = t.Gauge || (t.Gauge = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGauge = "IStiGauge" }(e = t.Gauge || (t.Gauge = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGaugeElement = "IStiGaugeElement" }(e = t.Gauge || (t.Gauge = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGaugeStyle = "IStiGaugeStyle" }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGaugeStyleCoreXF = "IStiGaugeStyleCoreXF" }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiIndicatorRangeInfo = "IStiIndicatorRangeInfo" }(e = t.Gauge || (t.Gauge = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiRangeBase = "IStiRangeBase" }(e = t.Gauge || (t.Gauge = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiScaleBase = "IStiScaleBase" }(e = t.Gauge || (t.Gauge = {})) }(e = t.Components || (t.Components = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.Percentage = 1] = "Percentage", t[t.Value = 2] = "Value" }(e = t.StiGaugeRangeMode || (t.StiGaugeRangeMode = {})); var r; !function(t) { t[t.None = 0] = "None", t[t.Color = 1] = "Color" }(r = t.StiGaugeRangeType || (t.StiGaugeRangeType = {})); var i; !function(t) { t[t.Auto = 1] = "Auto", t[t.Custom = 2] = "Custom" }(i = t.StiGaugeCalculationMode || (t.StiGaugeCalculationMode = {})); var n; !function(t) { t[t.FullCircular = 0] = "FullCircular", t[t.HalfCircular = 1] = "HalfCircular", t[t.Linear = 2] = "Linear" }(n = t.StiGaugeType || (t.StiGaugeType = {})); var o; !function(t) { t[t.Outside = 0] = "Outside", t[t.Overlay = 1] = "Overlay", t[t.Inside = 2] = "Inside" }(o = t.StiPlacement || (t.StiPlacement = {})); var a; !function(t) { t[t.LinearElement = 0] = "LinearElement", t[t.RadialElement = 1] = "RadialElement", t[t.All = 2] = "All" }(a = t.StiGaugeElemenType || (t.StiGaugeElemenType = {})); var s; !function(t) { t[t.LinearBar = 0] = "LinearBar", t[t.RadialBar = 1] = "RadialBar" }(s = t.StiBarRangeListType || (t.StiBarRangeListType = {})); var l; !function(t) { t[t.Default = 0] = "Default", t[t.MixedColor = 1] = "MixedColor" }(l = t.StiLinearRangeColorMode || (t.StiLinearRangeColorMode = {})); var u; !function(t) { t[t.Default = 0] = "Default", t[t.Empty = 1] = "Empty", t[t.RadialScaleQuarterCircleNW = 2] = "RadialScaleQuarterCircleNW", t[t.RadialScaleQuarterCircleNE = 3] = "RadialScaleQuarterCircleNE", t[t.RadialScaleQuarterCircleSW = 4] = "RadialScaleQuarterCircleSW", t[t.RadialScaleQuarterCircleSE = 5] = "RadialScaleQuarterCircleSE", t[t.RadialScaleHalfCircleN = 6] = "RadialScaleHalfCircleN", t[t.RadialScaleHalfCircleS = 7] = "RadialScaleHalfCircleS" }(u = t.StiRadialScaleSkin || (t.StiRadialScaleSkin = {})); var c; !function(t) { t[t.Diamond = 0] = "Diamond", t[t.Rectangle = 1] = "Rectangle", t[t.TriangleTop = 2] = "TriangleTop", t[t.TriangleBottom = 3] = "TriangleBottom", t[t.PentagonTop = 4] = "PentagonTop", t[t.PentagonBottom = 5] = "PentagonBottom", t[t.Ellipse = 6] = "Ellipse", t[t.RectangularCalloutTop = 7] = "RectangularCalloutTop", t[t.RectangularCalloutBottom = 8] = "RectangularCalloutBottom", t[t.TriangleLeft = 9] = "TriangleLeft", t[t.TriangleRight = 10] = "TriangleRight", t[t.PentagonLeft = 11] = "PentagonLeft", t[t.PentagonRight = 12] = "PentagonRight", t[t.RectangularCalloutLeft = 13] = "RectangularCalloutLeft" }(c = t.StiMarkerSkin || (t.StiMarkerSkin = {})); var m; !function(t) { t[t.Ellipse = 0] = "Ellipse", t[t.Rectangle = 1] = "Rectangle", t[t.Diamond = 2] = "Diamond" }(m = t.StiStateSkin || (t.StiStateSkin = {})); var p; !function(t) { t[t.Default = 0] = "Default", t[t.HorizontalThermometer = 1] = "HorizontalThermometer", t[t.VerticalThermometer = 2] = "VerticalThermometer" }(p = t.StiLinearBarSkin || (t.StiLinearBarSkin = {})); var h; !function(t) { t[t.DefaultNeedle = 0] = "DefaultNeedle", t[t.SpeedometerNeedle = 1] = "SpeedometerNeedle", t[t.SpeedometerNeedle2 = 2] = "SpeedometerNeedle2", t[t.SimpleNeedle = 3] = "SimpleNeedle" }(h = t.StiNeedleSkin || (t.StiNeedleSkin = {})); var d; !function(t) { t[t.Rectangle = 0] = "Rectangle", t[t.Ellipse = 1] = "Ellipse", t[t.Diamond = 2] = "Diamond", t[t.TriangleTop = 3] = "TriangleTop", t[t.TriangleRight = 4] = "TriangleRight", t[t.TriangleLeft = 5] = "TriangleLeft", t[t.TriangleBottom = 6] = "TriangleBottom" }(d = t.StiTickMarkSkin || (t.StiTickMarkSkin = {})); var g; !function(t) { t[t.Auto = 0] = "Auto", t[t.Width = 1] = "Width", t[t.Height = 2] = "Height" }(g = t.StiRadiusMode || (t.StiRadiusMode = {})); var f; !function(t) { t[t.TopLeft = 0] = "TopLeft", t[t.TopRight = 1] = "TopRight", t[t.BottonLeft = 2] = "BottonLeft", t[t.BottomRight = 3] = "BottomRight", t[t.TopCenter = 4] = "TopCenter", t[t.LeftCenter = 5] = "LeftCenter", t[t.BottomCenter = 6] = "BottomCenter", t[t.RightCenter = 7] = "RightCenter" }(f = t.StiRadialPosition || (t.StiRadialPosition = {})); var S; !function(t) { t[t.None = 0] = "None", t[t.Automatic = 1] = "Automatic", t[t.SurroundIn = 2] = "SurroundIn", t[t.SurroundOut = 3] = "SurroundOut" }(S = t.StiLabelRotationMode || (t.StiLabelRotationMode = {})); var A; !function(t) { t[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" }(A = t.StiGaugeStyleId || (t.StiGaugeStyleId = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function t() { this.paths = [] } return t.prototype.prepare = function() { var t, e; if (null == this.paths) return; this.hashPaths = new r; try { for (var i = __values(this.paths), n = i.next(); !n.done; n = i.next()) { var o = n.value; this.hashPaths.add(o.key, o) } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } this.paths.clear(), this.paths = null } , t }(); e.StiMapSvgContainer = i }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Localization.StiLocalization , i = t.System.Drawing.ColorTranslator , n = function(t) { function n() { return null !== t && t.apply(this, arguments) || this } return __extends(n, t), Object.defineProperty(n.prototype, "styleId", { get: function() { return e.StiMapStyleIdent.Style21 }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "localizeName", { get: function() { return r.get("Chart", "Style") + 21 }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "individualColor", { get: function() { return i.fromHtml("#239fd9") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "colors", { get: function() { return [i.fromHtml("#239fd9"), i.fromHtml("#b2b2b2"), i.fromHtml("#55d1ff"), i.fromHtml("#e4e4e4"), i.fromHtml("#55d1ff"), i.fromHtml("#e4e4e4")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "heatmapColors", { get: function() { return [i.fromHtml("#239fd9"), i.fromHtml("#b2b2b2")] }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "defaultColor", { get: function() { return i.fromHtml("#ffffff") }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "backColor", { get: function() { return i.fromHtml("#666666") }, set: function(t) {}, enumerable: !0, configurable: !0 }), n }(e.StiMapStyleFX); e.StiMap21StyleFX = n }(r = e.Maps || (e.Maps = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function i() {} return i.getPainter = function(r) { var i = this.typePainter.get(r); return null == i && (r === t.Report.Components.StiImage || r.prototype instanceof t.Report.Components.StiImage ? i = new e.StiImagePainter : r === t.Report.Components.StiPage || r.prototype instanceof t.Report.Components.StiPage ? i = new e.StiPagePainter : r === t.Report.Components.StiText || r.prototype instanceof t.Report.Components.StiText ? i = new e.StiTextPainter : r === t.Report.Components.StiView || r.prototype instanceof t.Report.Components.StiView ? i = new e.StiViewPainter : r === t.Report.Components.StiContainer || r.prototype instanceof t.Report.Components.StiContainer ? i = new e.StiContainerPainter : (r === t.Report.Components.StiComponent || r.prototype instanceof t.Report.Components.StiComponent) && (i = new e.StiComponentPainter), this.typePainter.set(r, i)), i } , i.prototype.getImage = function(t, e, r) { return null } , i.prototype.paint = function(t, e) {} , i.typePainter = new r, i }(); e.StiPainter = i }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.IStiBorder , i = t.System.Drawing.Color , n = t.Base.Drawing.StiPenStyle , o = t.Report.Components.IStiBrush , a = t.Base.Drawing.StiBrush , s = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.paintBorder = function(t, e, s, l, u, c) { var m = t.stimulsoft.as(r); if (null != m && null != m.border) if (m.border.style == n.Double) { var p = i.white , h = t.stimulsoft.as(o); null != h && null != h.brush && (p = a.toColor(h.brush)), p.stimulsoft.equals(i.transparent) && (p = i.white), m.border.draw(e, s, l, p, u, c) } else m.border.draw(e, s, l, i.white, u, c) } , e }(e.StiPainter); e.StiComponentPainter = s }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiPrimitive , i = t.Report.Components.StiBand , n = t.Base.Drawing.StiDrawing , o = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.paintComponents = function(t, e) { var n, o; try { for (var a = __values(t.components.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (l.stimulsoft.is(r)) continue; if (l.stimulsoft.is(i)) continue; l.paint(e) } } catch (t) { n = { error: t } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (n) throw n.error } } } , e.prototype.paint = function(e, r) { var i = e , o = e.getPaintRectangle(); o.width > 0 && o.height > 0 && (n.fillRectangle(r, i.brush, o), t.prototype.paintBorder.call(this, i, r, o, i.page.zoom, !0, !0)), this.paintComponents(i, r) } , e }(e.StiComponentPainter); e.StiContainerPainter = o }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.System.Drawing.Image , n = function(e) { function n() { return null !== e && e.apply(this, arguments) || this } return __extends(n, e), n.prototype.getImage = function(e, n, o) { var a = e.stimulsoft.as(t.Report.Components.StiView) , s = null; return null != a.imageToDraw ? (s = new i, s.base64 = a.imageToDraw.base64) : a.stimulsoft.is(t.Report.Components.StiImage) && !r.isNullOrEmpty(a.imageURLValue) && (s = new i), null != s && (s.horAlignment = a.horAlignment, s.vertAlignment = a.vertAlignment, s.aspectRatio = a.aspectRatio, s.multipleFactor = a.multipleFactor, s.stretch = a.stretch, s.zoom = n.ref, a.stimulsoft.is(t.Report.Components.StiImage) && (s.imageRotation = a.imageRotation, s.margins = a.margins, s.url = a.imageURLValue)), s } , n }(e.StiComponentPainter); e.StiViewPainter = n }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.StiImageRotation , i = function(e) { function i() { return null !== e && e.apply(this, arguments) || this } return __extends(i, e), i.prototype.getImage = function(i, n, o) { var a = i.stimulsoft.as(t.Report.Components.StiImage) , s = null; null != a.imageToDraw && (a.imageRotation, r.None); try { return e.prototype.getImage.call(this, i, n, o) } finally { null != a.imageToDraw && a.imageRotation != r.None && (a.imageToDraw = s) } } , i }(e.StiViewPainter); e.StiImagePainter = i }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Base.Drawing.StiSolidBrush , i = t.System.Drawing.Color , n = t.System.Drawing.Brushes , o = t.Base.Drawing.StiDrawing , a = t.System.Drawing.Rectangle , s = function(t) { function s() { return null !== t && t.apply(this, arguments) || this } return __extends(s, t), s.prototype.implements = function() { return [e.IStiPagePainter] } , s.prototype.paint = function(e, s) { var l = e; if (null == l.report) return; var u = l.unit , c = l.zoom , m = u.convertToHInches(l.margins.left) , p = u.convertToHInches(l.margins.top) , h = u.convertToHInches(l.margins.right) , d = u.convertToHInches(l.margins.bottom) , g = u.convertToHInches(l.displayRectangle.width) , f = u.convertToHInches(l.displayRectangle.height) , S = u.convertToHInches(l.width) , A = u.convertToHInches(l.height); l.brush.stimulsoft.is(r) && l.brush.color.stimulsoft.equals(i.transparent) ? o.fillRectangle(s, n.white, 0, 0, g * l.zoom, f * l.zoom) : o.fillRectangle(s, l.brush, 0, 0, g * l.zoom, f * l.zoom), s.translateTransform(Math.trunc(m * l.zoom), Math.trunc(p * l.zoom)), t.prototype.paintComponents.call(this, l, s), this.paintBorder(l, s, new a(0,0,S * c,A * c), l.zoom, !0, !0) } , s }(e.StiContainerPainter); e.StiPagePainter = s }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.Base.Drawing.StiDrawing , o = t.System.Drawing.Color , a = t.System.Drawing.StringFormat , s = t.Base.Drawing.StiFontUtils , l = t.System.Drawing.StringAlignment , u = t.System.Drawing.Size , c = t.System.Collections.List , m = t.System.Char , p = t.System.Drawing.Rectangle , h = t.Base.Drawing.StiBrush , d = function() { function r() {} return r.prototype.paintText = function(r, n, o) { var d = r.stimulsoft.as(t.Report.Components.StiTextInCells); if (!r.isDesigning || r.report.isPageDesigner) return; var g = d.border.size / 2 * d.page.zoom , f = d.getTextForPaint() , S = d.page.unit , A = S.convertToHInches(d.horSpacing * d.page.zoom) , y = S.convertToHInches(d.vertSpacing * d.page.zoom) , w = S.convertToHInches(d.cellWidth * d.page.zoom) , b = S.convertToHInches(d.cellHeight * d.page.zoom); 0 == d.cellWidth && (w = 1.5 * d.font.getHeight() * d.page.zoom * e.StiDpiHelper.deviceCapsScale), 0 == d.cellHeight && (b = 1.5 * d.font.getHeight() * d.page.zoom * e.StiDpiHelper.deviceCapsScale); var v = d.font.size * d.page.zoom * e.StiDpiHelper.deviceCapsScale , C = new a , E = s.changeFontSize(d.font, v); if (C.lineAlignment = l.Center, C.alignment = l.Center, d.continuousText) { var B = o.x + g , T = o.y + g , I = !0 , x = 0; while (1 == 1) { var F = new p(B,T,w,b); if (F.right + A < o.right || I) { var D = h.getBrush(d.brush, F); if (n.fillRectangle(D, F.x, F.y, F.width, F.height), null != f && x < f.length) { var R = h.getBrush(d.textBrush, F); n.drawString(f[x], E, R, F.x, F.y) } this.paintBorder(d, n, F, d.page.zoom, !0, !0), B += w + A, x++, I = !1 } else if (T += b + y, B = o.x + g, I = !0, !d.wordWrap || o.bottom < T + b + y) break } } else { var P = new u(1,1) , B = o.x + g + w; while (B + A + w < o.right) B += A + w, P.width++; var T = o.y + g + b; while (T + y + b < o.bottom) T += y + b, P.height++; d.wordWrap || (P.height = 1); var N = new c , k = ""; null == f && (f = ""); for (var M = 0; M < f.length; M++) { var O = f[M]; m.isControl(O) ? "\n" == O && (N.add(t.Report.Components.StiTextInCellsHelper.trimEndWhiteSpace(k)), k = "") : k += O } if ("" != k && N.add(t.Report.Components.StiTextInCellsHelper.trimEndWhiteSpace(k)), 0 == N.length && N.add(k), d.wordWrap) for (var _ = 0; _ < N.length; _++) { var L = N[_]; if (L.length > P.width) { var j = [] , H = 0 , G = 0; while (G < L.length && m.isWhitespace(L[G])) j[G] = H, G++; for (var Q = G; Q < L.length; Q++) m.isWhitespace(L[Q]) && H++, j[Q] = H; var x = P.width , Y = x - 1; if (j[x] > 0) if (j[x] != j[Y]) while (m.isWhitespace(L[x])) x++; else { while (!m.isWhitespace(L[x])) x--; Y = x++; while (m.isWhitespace(L[Y])) Y-- } N.setByIndex(_, L.substring(0, Y + 1)), N.insert(_ + 1, L.substring(x, L.length - x)) } } T = o.y + g; for (var U = 0; U < P.height; U++) { var J = U < N.length ? N[U] : "" , W = 0; d.horAlignment == StiTextHorAlignment.Center && (W = (P.width - J.length) / 2), d.horAlignment == StiTextHorAlignment.Right && (W = P.width - J.length), W > 0 && (J = i.repeat(" ", W) + J), B = o.x + g; for (var V = 0; V < P.width; V++) { var F = new p(B,T,w,b) , D = h.getBrush(d.brush, F); n.fillRectangle(D, F.x, F.y, F.width, F.height); var z = d.rightToLeft ? P.width - V - 1 : V; if (z < J.length) { var R = h.getBrush(d.textBrush, F); n.drawString(J[z], E, R, F.x, F.y) } this.paintBorder(d, n, F, d.page.zoom, !0, !0), B += w + A } T += b + y } } } , r.prototype.paintBackground = function(t, e, r) { if (t.isDesigning) { var i = o.fromArgb(150, o.white); n.fillRectangle(e, i, r.left, r.top, r.width, r.height) } if (!t.isDesigning || t.report.isPageDesigner) return } , r.prototype.paintBorder = function(t, e, r, i, n, o) { if (!t.isDesigning || t.report.isPageDesigner) return } , r }(); r.StiTextinCellsPainter = d }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Base.Drawing.StiDrawing , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), e.prototype.paintText = function(t, e, i) { var n = t.getTextForPaint(); if (!r.isNullOrEmpty(n)) { var o = t.font.size * t.page.zoom; e.drawString(n, t.font, null, i.x, i.y) } } , e.prototype.paintBackground = function(t, e, r) { i.fillRectangle(e, t.brush, r) } , e.prototype.paintBorder = function(e, r, i, n, o, a) { var s = e; t.prototype.paintBorder.call(this, s, r, i, s.page.zoom, o, a) } , e.prototype.paint = function(t, e) { var r = t , i = t.getPaintRectangle(); this.paintBackground(r, e, i), this.paintText(r, e, i); var n = i.clone(); this.paintBorder(r, e, n, r.page.zoom, !0, !0) } , e }(e.StiComponentPainter); e.StiTextPainter = n }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(t, r, i) { var n = e.call(this, r, i) || this; return n.pointFrom = t, n } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiAnimationType.Points }, enumerable: !0, configurable: !0 }), r }(e.StiAnimation); e.StiPointAnimation = r }(r = e.Animation || (e.Animation = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.None = 0] = "None", t[t.Border = 1] = "Border", t[t.CachedShadow = 2] = "CachedShadow", t[t.Curve = 3] = "Curve", t[t.Ellipse = 4] = "Ellipse", t[t.Font = 5] = "Font", t[t.Line = 6] = "Line", t[t.Lines = 7] = "Lines", t[t.Path = 8] = "Path", t[t.Pen = 9] = "Pen", t[t.PopSmothingMode = 10] = "PopSmothingMode", t[t.PopTextRenderingHint = 11] = "PopTextRenderingHint", t[t.PopTransform = 12] = "PopTransform", t[t.PopClip = 13] = "PopClip", t[t.PushClip = 14] = "PushClip", t[t.PushRotateTransform = 15] = "PushRotateTransform", t[t.PushSmothingMode = 16] = "PushSmothingMode", t[t.PushSmothingModeToAntiAlias = 17] = "PushSmothingModeToAntiAlias", t[t.PushTextRenderingHint = 18] = "PushTextRenderingHint", t[t.PushTextRenderingHintToAntiAlias = 19] = "PushTextRenderingHintToAntiAlias", t[t.PushTranslateTransform = 20] = "PushTranslateTransform", t[t.Segment = 21] = "Segment", t[t.Shadow = 22] = "Shadow", t[t.Text = 23] = "Text", t[t.StringFormat = 24] = "StringFormat", t[t.AnimationBar = 25] = "AnimationBar", t[t.AnimationBorder = 26] = "AnimationBorder", t[t.AnimationColumn = 27] = "AnimationColumn", t[t.AnimationEllipse = 28] = "AnimationEllipse", t[t.AnimationPath = 29] = "AnimationPath", t[t.AnimationPathElement = 30] = "AnimationPathElement", t[t.AnimationLines = 31] = "AnimationLines", t[t.AnimationCurve = 32] = "AnimationCurve", t[t.AnimationLabel = 33] = "AnimationLabel", t[t.AnimationShadow = 34] = "AnimationShadow", t[t.Image = 35] = "Image" }(e = t.StiGeomType || (t.StiGeomType = {})); var r; !function(t) { t[t.Center = 0] = "Center", t[t.Inset = 1] = "Inset", t[t.Outset = 2] = "Outset", t[t.Left = 3] = "Left", t[t.Right = 4] = "Right" }(r = t.StiPenAlignment || (t.StiPenAlignment = {})); var i; !function(t) { t[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" }(i = t.StiPenLineCap || (t.StiPenLineCap = {})) }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.GraphicsUnit , i = t.System.Drawing.FontStyle , n = t.System.Enum , o = function(t) { function o(e, r, i, n) { var o = t.call(this) || this; return o.fontName = e, o.fontSize = r, o.fontStyle = i, o.unit = n, o } return __extends(o, t), o.prototype.saveToJsonObject = function(e) { var o = t.prototype.saveToJsonObject.call(this, e); return o.addPropertyString("FontName", this.fontName), o.addPropertyNumberNoDefaultValue("FontSize", this.fontSize), o.addPropertyString("FontStyle", n.getName(i, this.fontStyle)), o.addPropertyString("Unit", n.getName(r, this.unit)), o } , o.changeFontSize = function(t, e) { return e < 1 && (e = 1), new o(t.fontFamily.name,e,t.style,t.unit) } , Object.defineProperty(o.prototype, "type", { get: function() { return e.StiGeomType.Font }, enumerable: !0, configurable: !0 }), o.create = function(t) { return new o(t.fontFamily.name,t.size,t.style,t.unit) } , o }(e.StiGeom); e.StiFontGeom = o }(r = e.Context || (e.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Enum , i = t.System.Drawing.Text.HotkeyPrefix , n = t.System.Drawing.StringAlignment , o = t.System.Drawing.StringTrimming , a = t.System.Drawing.StringFormatFlags , s = function(t) { function s(e) { var r = t.call(this) || this; return r.isGeneric = !1, r.alignment = n.Near, r.formatFlags = 0, r.hotkeyPrefix = i.None, r.lineAlignment = n.Near, r.trimming = o.None, r.alignment = e.alignment, r.formatFlags = e.formatFlags, r.hotkeyPrefix = e.hotkeyPrefix, r.lineAlignment = e.lineAlignment, r.trimming = e.trimming, r } return __extends(s, t), s.prototype.saveToJsonObject = function(e) { var s = t.prototype.saveToJsonObject.call(this, e); return s.addPropertyBool("IsGeneric", this.isGeneric), s.addPropertyString("Alignment", r.getName(n, this.alignment)), s.addPropertyString("FormatFlags", r.getName(a, this.formatFlags)), s.addPropertyString("HotkeyPrefix", r.getName(i, this.hotkeyPrefix)), s.addPropertyString("LineAlignment", r.getName(n, this.lineAlignment)), s.addPropertyString("Trimming", r.getName(o, this.trimming)), s } , Object.defineProperty(s.prototype, "type", { get: function() { return e.StiGeomType.StringFormat }, enumerable: !0, configurable: !0 }), s }(e.StiGeom); e.StiStringFormatGeom = s }(r = e.Context || (e.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t(t, e, r, i) { this._isWpf = !1, this._isGdi = !1, this._zoom = 1, this._isGdi = t, this._isWpf = e, this._zoom = i } return Object.defineProperty(t.prototype, "isPrinting", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isWpf", { get: function() { return this._isWpf }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isGdi", { get: function() { return this._isGdi }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "zoom", { get: function() { return this._zoom }, enumerable: !0, configurable: !0 }), t }(); t.StiContextOptions = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.GraphicsPathCloseFigure }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiGraphicsPathCloseFigureGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(r) { function i(t, e, i, n, o) { var a = r.call(this) || this; return a._geoms = [], a.rect = t, a.startPoint = e, a.background = i, a.borderBrush = n, a.borderWidth = o, a.startPoint = e, a } return __extends(i, r), Object.defineProperty(i.prototype, "type", { get: function() { return t.StiGaugeGeomType.GraphicsPath }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "geoms", { get: function() { return this._geoms }, enumerable: !0, configurable: !0 }), i.prototype.addGraphicsPathArcGaugeGeom = function(t, r, i, n, o, a) { i > 0 && n > 0 && this.geoms.add(new e.StiGraphicsPathArcGaugeGeom(t,r,i,n,o,a)) } , i.prototype.addGraphicsPathCloseFigureGaugeGeom = function() { this.geoms.add(new e.StiGraphicsPathCloseFigureGaugeGeom) } , i.prototype.addGraphicsPathLinesGaugeGeom = function(t) { this.geoms.add(new e.StiGraphicsPathLinesGaugeGeom(t)) } , i.prototype.addGraphicsPathLineGaugeGeom = function(t, r) { this.geoms.add(new e.StiGraphicsPathLineGaugeGeom(t,r)) } , i }(e.StiGaugeGeom); e.StiGraphicsPathGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t, r) { var i = e.call(this) || this; return i.p1 = t, i.p2 = r, i } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.GraphicsPathLine }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiGraphicsPathLineGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r = function(e) { function r(t) { var r = e.call(this) || this; return r.points = t, r } return __extends(r, e), Object.defineProperty(r.prototype, "type", { get: function() { return t.StiGaugeGeomType.GraphicsPathLines }, enumerable: !0, configurable: !0 }), r }(e.StiGaugeGeom); e.StiGraphicsPathLinesGaugeGeom = r }(e = t.GaugeGeoms || (t.GaugeGeoms = {})) }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiGaugeMarker = "IStiGaugeMarker" }(e = t.Gauge || (t.Gauge = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.MoveTo = 0] = "MoveTo", t[t.Line = 1] = "Line", t[t.Bezier = 2] = "Bezier", t[t.Beziers = 3] = "Beziers", t[t.Close = 4] = "Close" }(e = t.StiMapGeomType || (t.StiMapGeomType = {})) }(e = t.Geoms || (t.Geoms = {})) }(e = t.Maps || (t.Maps = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBarCodePainter = "IStiBarCodePainter" }(e = t.Painters || (t.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiPagePainter = "IStiPagePainter" }(e = t.Painters || (t.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.StiString , i = t.Report.Maps.Helpers.StiGssMapHelper , n = t.System.Drawing.ColorTranslator , o = t.System.Drawing.SolidBrush , a = t.System.Drawing.Color , s = t.Base.Drawing.StiSolidBrush , l = t.Report.Maps.StiMapID , u = t.Report.Dictionary.StiDataColumn , c = t.Base.Meters.IStiValueMapMeter , m = t.Base.Meters.IStiNameMapMeter , p = t.Base.Meters.IStiKeyMapMeter , h = t.Base.Meters.IStiColorMapMeter , d = t.Base.Meters.IStiGroupMapMeter , g = t.Report.Maps.StiMapSource , f = t.Report.Maps.StiMap , S = t.System.Enum , A = t.Base.Drawing.StiColorUtils , y = function() { function t() { this.minValue = 0, this.maxValue = 0 } return t }() , w = function() { function t() { this.stackColors = [], this.index = 0 } return t.prototype.getColor = function() { if (0 == this.stackColors.length) return this.painter.defaultBrush; var t = new o(this.stackColors[this.index]); return this.index++, this.index >= this.stackColors.length && (this.index = 0), t } , t.prototype.getColor1 = function() { if (0 == this.stackColors.length) return this.painter.defaultBrush1; var t = new s(this.stackColors[this.index]); return this.index++, this.index >= this.stackColors.length && (this.index = 0), t } , t.prototype.init = function(t, e) { var r, i; this.painter = e, this.stackColors.clear(); var n = t.getCurrentStyleColors(); this.index = 0; try { for (var o = __values(n), a = o.next(); !a.done; a = o.next()) { var s = a.value; this.stackColors.add(s) } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , t }() , b = function() { function t(t, e, r) { var i, n; 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) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } this.colors = f.getMapStyle(e.mapStyle).heatmapColors } return t.prototype.getBrush = function(t) { if (null == this.colors || 0 == this.colors.length) return this.painter.defaultBrush; if (this.min == this.max) return new o(this.colors[0]); var e = 0; if (isNaN(parseFloat(t.value))) return this.painter.defaultBrush; return e = parseFloat(t.value), new o(A.changeLightness(this.colors[0], .85 * (this.max - e) / (this.max - this.min))) } , t.prototype.getBrush1 = function(t) { if (null == this.colors || 0 == this.colors.length) return this.painter.defaultBrush1; if (this.min == this.max) return new s(this.colors[0]); var e = 0; if (isNaN(parseFloat(t.value))) return this.painter.defaultBrush1; return e = parseFloat(t.value), new s(A.changeLightness(this.colors[0], .85 * (this.max - e) / (this.max - this.min))) } , t }() , v = function() { function t(t, e, r) { var i, n; this.hash = {}, this.hashColors = {}, this.painter = t; var o = f.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 m = 0; if (null == u.value || isNaN(parseFloat(u.value))) continue; if (m = parseFloat(u.value), this.hash[c]) { var p = this.hash[c]; m < p[0] ? p[0] = m : m > p[1] && (p[1] = m) } else { var p = [m, m]; this.hash[c] = p } if (!this.hashColors[c]) { var h = o[a]; a++, a >= o.length && (a = 0), this.hashColors[c] = h } } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } } return t.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 o(r); var i = 0; if (null == t.value || isNaN(parseFloat(t.value))) return this.painter.defaultBrush; return i = parseFloat(t.value), new o(A.changeLightness(r, .85 * (e[1] - i) / (e[1] - e[0]))) } , t.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 s(r); var i = 0; if (null == t.value || isNaN(parseFloat(t.value))) return this.painter.defaultBrush1; return i = parseFloat(t.value), new s(A.changeLightness(r, .85 * (e[1] - i) / (e[1] - e[0]))) } , t }() , C = function() { function e() { this.index = 0, this.colors = t.Report.Maps.StiMapHelper.getColors() } return e.prototype.getBrush = function() { var t = this.colors[this.index]; return this.index++, this.index >= this.colors.length && (this.index = 0), new s(t) } , e }() , E = function() { function e(t) { this.individualStep = 0, this.hashGroup = {}, this.colorsContainer = new w, this.map = t } return Object.defineProperty(e.prototype, "mapData", { get: function() { return this._mapData }, set: function(t) { this._mapData = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "mapStyle", { get: function() { return this._mapStyle }, set: function(t) { this._mapStyle = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "dataTable", { get: function() { return this._dataTable }, set: function(t) { this._dataTable = t }, enumerable: !0, configurable: !0 }), e.prototype.getValues = function(t) { if (null == this._dataTable || null == t) return null; var e = this.dataTable.meters.indexOf(t); if (-1 == e) return null; return this.dataTable.rows.getArrayItem(e).toList() } , e.prototype.prepareDataColumns = function() { var e, n; if (this.map.dataFrom == g.Manual) return void (this.mapData = this.map.getMapData()); this.mapData = f.getDefaultMapData(this.map.mapID); var o = null , a = null , s = null , A = null , y = null; if (null != this.dataTable && null != this.dataTable.meters) o = this.getValues(this.dataTable.meters.firstOrDefault(function(t) { return t.stimulsoft.is(p) })), a = this.getValues(this.dataTable.meters.firstOrDefault(function(t) { return t.stimulsoft.is(m) })), s = this.getValues(this.dataTable.meters.firstOrDefault(function(t) { return t.stimulsoft.is(c) })), A = this.getValues(this.dataTable.meters.firstOrDefault(function(t) { return t.stimulsoft.is(d) })), y = this.getValues(this.dataTable.meters.firstOrDefault(function(t) { return t.stimulsoft.is(h) })); else try { this.map.report.dictionary.connect(), o = r.isNullOrEmpty(this.map.keyDataColumn) ? null : u.getDataListFromDataColumn(this.map.report.dictionary, this.map.keyDataColumn).toList(), a = r.isNullOrEmpty(this.map.nameDataColumn) ? null : u.getDataListFromDataColumn(this.map.report.dictionary, this.map.nameDataColumn).toList(), s = r.isNullOrEmpty(this.map.valueDataColumn) ? null : u.getDataListFromDataColumn(this.map.report.dictionary, this.map.valueDataColumn).toList(), A = r.isNullOrEmpty(this.map.groupDataColumn) ? null : u.getDataListFromDataColumn(this.map.report.dictionary, this.map.groupDataColumn).toList(), y = r.isNullOrEmpty(this.map.colorDataColumn) ? null : u.getDataListFromDataColumn(this.map.report.dictionary, this.map.colorDataColumn).toList(), this.map.report.dictionary.disconnect() } catch (t) {} var w = i.allowGss(this.map.mapID); if (null != o && (o = (new t.Report.Helpers.StiMapKeyHelper).getMapKeysFromNames(o, S.getName(l, this.map.mapID)).cast()), null == o) return; try { var b = 0; if (null != o && (0 == b ? b = o.length : o.length < b && (b = o.length)), null != a && (0 == b ? b = a.length : a.length < b && (b = a.length)), null != s && (0 == b ? b = s.length : s.length < b && (b = s.length)), null != A && (0 == b ? b = A.length : A.length < b && (b = A.length)), null != y && (0 == b ? b = y.length : y.length < b && (b = y.length)), null != o) { try { for (var v = __values(this.mapData), C = v.next(); !C.done; C = v.next()) { var E = C.value; E.group = null, E.value = null, null != y && (E.color = null) } } catch (t) { e = { error: t } } finally { try { C && !C.done && (n = v.return) && n.call(v) } finally { if (e) throw e.error } } for (var B = w ? i.get(this.map.mapID) : null, T = function(t) { var e = null; if (o.length <= t || null == o[t]) return "continue"; if (e = o[t].toString(), r.isNullOrEmpty(e)) return "continue"; if (e = e.toLowerCase(), w && i.isGssValue(e)) { var n = { ref: "" }; e = B.tryGetValue(e, n) ? n.ref.toLowerCase() : "" } var l = I.mapData.firstOrDefault(function(t) { return t.key.toLowerCase() == e }); if (null == l) return "continue"; if (null != a && null != a[t]) { var u = a[t].toString(); l.name = u } if (null != s && null != s[t]) { var c = s[t].toString(); l.value = c } if (null != A && null != A[t]) { var m = A[t].toString(); l.group = m } if (null != y && null != y[t]) { var p = y[t].toString(); l.color = p } }, I = this, x = 0; x < b; x++) T(x) } } catch (t) {} } , e.prototype.getGeomBrush = function(e) { if (this.map.mapType == t.Report.Maps.StiMapType.Individual) { if (this.map.colorEach) { if (null == e) return new o(this.mapStyle.defaultColor); var r = this.parseHexColor(e.color); if (null != r) return r; return new o(this.noneInfo.getBrush().color) } return new o(A.changeLightness(this.mapStyle.individualColor, this.individualStep)) } switch (this.map.mapType) { case t.Report.Maps.StiMapType.Heatmap: return null == e || null == e.value ? this.defaultBrush : this.heatmapInfo.getBrush(e); case t.Report.Maps.StiMapType.Group: return null != e && null != e.group && this.hashGroup[e.group] ? this.hashGroup[e.group].fill : new o(this.mapStyle.defaultColor); case t.Report.Maps.StiMapType.HeatmapWithGroup: return null == e.group || null == e.group ? new o(this.mapStyle.defaultColor) : this.heatmapWithGroupInfo.getBrush(e) } return new o(this.mapStyle.backColor) } , e.prototype.updateHeatmapWithGroup = function() { this.heatmapInfo = new b(this,this.map,this.mapData), this.noneInfo = new C, this.map.mapType == t.Report.Maps.StiMapType.HeatmapWithGroup && (this.heatmapWithGroupInfo = new v(this,this.map,this.mapData)) } , e.prototype.updateGroupedData = function() { var t, e; if (null == this.mapData) return; try { for (var i = __values(this.mapData), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (r.isNullOrEmpty(o.group)) continue; var a = 0; null == o.value || isNaN(parseFloat(o.value)) || (a = parseFloat(o.value)); var s = null; this.hashGroup[o.group] ? (s = this.hashGroup[o.group], null != a && (null != s.minValue && null != s.maxValue || (s.minValue = 0, s.maxValue = 0), s.minValue > a ? s.minValue = a : s.maxValue < a && (s.maxValue = a))) : (s = new y, s.minValue = a, s.maxValue = a, this.hashGroup[o.group] = s) } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } this.fillGroupColors() } , e.prototype.fillGroupColors = function() { var t, e; this.colorsContainer.init(this.map, this); var r = []; for (var i in this.hashGroup) r.add(i); r.sort(); try { for (var n = __values(r), a = n.next(); !a.done; a = n.next()) { var i = a.value , s = this.hashGroup[i]; s.fill1 = this.colorsContainer.getColor1(), s.fill = new o(s.fill1.color) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (e = n.return) && e.call(n) } finally { if (t) throw t.error } } } , e.prototype.parseHexColor = function(t) { try { if (!r.isNullOrEmpty(t)) return new o(t.stimulsoft.startsWith("#") ? n.fromHtml(t) : a.fromName(t)) } catch (t) {} return null } , e }(); e.StiGdiMapContextPainter = E }(r = e.Painters || (e.Painters = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.StiInteractionDataGeom = e }(e = t.Context || (t.Context = {})) }(e = t.Base || (t.Base = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t.getBase64Content = function() { return "AAEAAAALAIAAAwAwT1MvMo1Djb4AAAE4AAAAYGNtYXDQMmWWAAANnAAAA9BnYXNw//8AAwACsEwAAAAIZ2x5ZuwguB8AAB10AAJs2GhlYWQMyHt3AAAAvAAAADZoaGVhDvkK7gAAAPQAAAAkaG10eDqCLpEAAAGYAAAMBGxvY2EDg0B0AAARbAAADAhtYXhwA2oCHAAAARgAAAAgbmFtZZ5nQlMAAopMAAAD0nBvc3Q+JtuEAAKOIAAAIioAAQAAAAQByzeB/adfDzz1AAsHAAAAAADLTzwwAAAAANlg9IP/7f7pCQkGEgAAAAgAAgABAAAAAAABAAAGAP8AAAAJAP/t/+wJCQABAAAAAAAAAAAAAAAAAAADAQABAAADAQIZACcAAAAAAAIAAAABAAEAAABAAAAAAAAAAAMGaAGQAAUAAASMBDMAAACGBIwEMwAAAnMAAAGKAAAAAAAAAAAAAAAAAAAAAxAAAEgAAAAAAAAAAHB5cnMAQAAA9QAGAP8AAAAGAAEAAAAAAQAAAAADgATmAAAAIAAAA4AAcAAAAAACVQAAAcAAAABGAAAAIwAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAXQYAAAAGgAAABwAAAAcAAAAGgAAABoAAAAUAAAAHgAAABoAAAAcAAAAHAAAABwAAeQWAAG4GgAAABoAAAAYAAAAHAAAABgAAAAWAAAAGgAAZBgAAAAYAAAAHgAAyBoAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAcAAAAEgAAABwAAQAaAAAADAAAABIAAAAaAAAAFgAAABwAAAAYAAAAHgAAABoD/9AUAAAAGgAAAB4AAAAaAAAAFgAAABAAAAAcAAAAGAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHgAAABgAAAAQAAAAGAAAABAAAAAcAAAAGgAAABoAAAAcAAAAEAAAABwAAAAaAAHoFgAAABgAAAAYAAAAGgAAABwAAAAQAAAAGAv/7BQAAmgUAAFoGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAQAYAAAAGgAA1BoAANQcAAAAGAAAABgAADQWAAAAFgAAABoAAbQYAAAAGAAAABwAAAAWAAAAHAAAABwAAAAcA/+0FgP//BoAAAAcAAAAHAAAABgAAAAcAAFoHAABaB4AAAAaAAAAGgAAAB4AAAAMAAEAHAAAACAAAAAYAAAAGAAAABwAAAAcAAAAHgAAABwAAAAYAAAAGAAAAA4AAAAcAAAAGgAAABgAAAASAAAAHAAAABgAAAAaAAAAGAAAABoAAAAYAAAAFgAAABYAAAAUAAAAGAAAABoAALAQAAF8GAAAABoAAAAeAAAAFgAAABgAAAAcAAAAHAABABgD/+AcAAAAHAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAaAABUHAAAABYD/9AcAAAAGAAAAB4AAAAaAABAHgAAABoAAUQcA//YHAAAABYAABAYAAAAGAAAABgAAAAcAAAAHAAAPBwAAAAYAAAAGgAAABoAAGwcAAEAGAAAABgAAAAYAAAAJAAAAB4AAAAQAAAAEAAAAAoAAQAKAAAAGgAAABAAAAAQAAAAEAAAABwAAAAYAAAAGAAAABwAAKAcAAAAHAAAABwAAAAOA//wHAAAABoAAAAcAAAAEAAAABwAAAAeAAAAHgAAABYAAAAWAAAAHAAAABwAAQAeAAAAFgAAABgAAAAWAAAAFgAAAB4AAQAcAAAAHgAAABoAAQAYAAAAGAAAABAAALQQAAA0EgABNBIAATQKAAC0CgAANBIAATQSAAE0HgAAAB4AAAASAAAADAAAABgAAAAaAAAAGgAAABwAAQAYAAAAHAAAABoAAAAaAAAAHgAAABwAAAAcAAAAGAAAABgAAAAYAAAAHgAAAB4AAAAcAAEAHAABABoAADQeAAC0HAAAABoD/+QWA//0GgAAABAAAAAaAAAAEAABeAoAAAAKAAGEGAAAFBgAABQeA//wGgAAABIAAAAWAAA0FAAAABoAAAAWA//sGgAAYBwAAAAYAAAAGAAAABgAAAAYAAAAFgAAABwAADAcAAAAEgAAABgAAAAWAAAABgAAABgAAAAYAAAAHAAA2BgAAAAWAAAAEAP/7BAD/+gYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABAAAAAQAAAAEAAAlA4IAAAQD//wFAAAABwAAAAUAADgGAAAABgAAAAaAABoGgAAaBwAAGgcAABoGAAAaBgAAGgaAAAAGgAAABgAAAAYAABsFgP/7BgAAAAcA//8HAABABgAACwYAAAAGAAAABgAAAAWAAAAGAAAABAAARAYAAAADAP/7AwD/+wcAAEAHAAAABYAAAAaAAAAFgAAABgAAAQYAAAAGAAAABQAALAYAAAAFAAAABAAAAAYAAAAHAAAnBgAAAAcAAEAGgAAgB4D//wcAAAAGAAAABYAAAAUAABUGAAAABgAAAAYAAAAGAAAABoAAAAYAAAAEgAAABYAAAAiAAAAGgAAABgAAAAcAAAAHAAAACAAAAAkAAAAGAABtBgAAAAcAAAAGAAAABgAAAAeAAAAGAAAACAAAAAYAAAAH9gApBgAAAAYAAAAGAAAABwAAAAYAAAAFAABABoAAAAMAAEAHAAAACQAAAAgAAAAGAAAABwAAAAYAAAAHAAAQCAAAAAgAAAAGAAAgBgAAAAQAAAAJAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAACcHAAAACAAAAAcAAAAHAAAgBwAADQcAAAAGAAAABwAARAYAAAAFAAA5BwAAEggAAAAHAP/+BwD//QYAAAAGAAAABwAAPgUAABgGAAAABgAAAAYAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAQHAABkBgAAUQgAAAAIAAAqBwAAAAYAAAYHAAAeCQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACAAADggAAA4FgAAABgAAAAYAAAAHAAAABwAAAAcAAAAIAAAABwAAAAgAAAAHAAAABgAAAAgAAAAIAAAACQAAAAYAAAAIAAAABQAACwgAAAAGAAAABgAAAAYAAAAIAAAABgAAAAYAAAAIAAAACAAAAAYAAAAIAAAACAAAAAaAAAAGgAAACAD//wgAABMGAAAACQAAAAYAAAAHAAAABQD/9gYAAAAFAAAABgD/9gcAAAAHAP/2B4D/+QgA/+8GAAAABQD/9ggA//EFAAAABQAAAAcAAAAHAAAABgAAAAUAAAAGAAAABwAAAAgAAAAIAAAACAAAAAYAAAAGAAAABgAAAAcAAAAGAAAACPgATAkAAAAHAAAACQAAAAkAAAAJAAAACQAAAAkAAAAFAAAABAAAAAgAAAAJAAAABgAAAAYAAAAJAAAACQAAAAcAAAAJAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABwAAAAcAAAAIAAAACAAAAAcAAAAGAAAAB7UAAAcAAAAHAAAACAAAQAcAAAAJAAAABQAAZAYAAAAGuAAACQAAAAcAAAAHAAAABwD/+QcAAAAHAAAACAAAAAcAABYGAAAKBwAAGwcAAAAHAAAABwAAAAcAAAAHAAAABAAAAAcAACUIAAAABwAAAAcAAAAHAAAABAAAAAcAAFIGAAAABgAAAAcAAAAHAABFCQAAAAcAAAAHAAAgBwAAAAkAAAAHAAAACQAAAAYAACQGAAAABgAAAAYAAAAGAAAABwD//QgAAAAHAAAeBgAAawQAACgGAAAABwD//AcAAAAGAAAABwAAAAcAAAAGAABEBgAAAAWAACcJAP/6BYAAAAiAAAAHAAAACQD//AcAAAAGAAAABf8AJQaA//sHAAAABQAAAAYAAAAGAAAABoAADwYAAAAJAAAABgAAAAaAAAAHAAAABgAAAAYAACUJAAAABwAAAAcAAAAGAAATBoAAAAaAAAAIAAAACAAAAAcAAAAHAAAABgAAAAUAAAAIAAAACAAAAAcAAB0JAAAABwAAAAQAAAAEAAAABAAAAAQAAAAEAAAAB4AAAAcAAAAGAP/5BwAAAAcAAAAIAAAABwAAAAcAAAAHAAAABwIAAAYAAAAGAAAACIAAMAcAACMGAAAABoAAKwcAAAAHAAAAB4AAIAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAdGADgHRgBCB0YAQwdGAEMHRgBNB0kALwdGAEMHRgBBB0YARgdGAEYHRgBIBI0C3wa0ANUFYwIGBncA8gdJACYHRgAjB0YAIwdGAEoHRgA5B0YARwdGAEcHRgBMBpAAHwaQAB4GkAAXBpAAFwaQAA8HRgAjB0YAOgdGAEEHRgBAB0YAPwdGAEYHRgAjB0YAIwdGACMHRgAjB0YAIwdGACMHRgAjB0YAIwdGACMFiQCWB0YAIwbWACMARgAABfYBkQZmAQMHRgAjB0YALAdGACMHRgA7BKYCXgWGAX8HRgA/Bp8A1AbWAKsG1gAjACMAAAAAAAMAAAADAAAAHAABAAAAAAJkAAMAAQAAABwABAJIAAAAjgCAAAYADgAAAB0AIABCAKkArgC0AMYA2CEiIh4iYOkr6TrpQulY6Xbpoumw6crp3uq+6sDqwvAO8B7wPvBO8F7wbvB+8I7wnvCu8LLwzvDe8O7w/vEO8R7xLvE+8U7xXvFu8X7xjvGe8a7xvvHO8d7x7vH+8g7yHvI+8k7yXvJu8n7yjvKe8q7yvvLO8t7y7vUA//8AAAAAAB0AIABBAKgArgC0AMYA2CEiIh4iYOkA6TrpQulY6Xbpoumv6crp3Oq+6sDqwvAA8BDwIfBA8FDwYPBw8IDwkPCg8LDwwPDQ8ODw8PEA8RDxIPEw8UDxUPFg8XDxgPGQ8aDxsPHA8dDx4PHw8gDyEPIh8kDyUPJg8nDygPKQ8qDysPLA8tDy4PUA//8AAf/k/+P/w/9e/1r/Vf9E/zPe6t3v3a4ZxRm3GbAZnBl/GVQZSBkvGR4YPxg+GD0QDxAOEAwQCxAKEAkQCBAHEAYQBRAED/cP9g/1D/QP8w/yD/EP8A/vD+4P7Q/sD+sP6g/pD+gP5w/mD+UP5A/jD+IP4A/fD94P3Q/cD9sP2g/ZD9gP1w/WD9UNxAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAWwAAAAAALEAAQAAAAAAAAAAAAAAAAAAAAEAAgAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAHAAwACQAGAA4ACgALAA0AAAAAAAAALAAAACwAAAAsAAAALAAAACwAAAAsAAAALAAAACwAAAAsAAAALAAAACwAAAAsAAAALAAAACwAAAAsAAAAkAAAARQAAAGYAAACdAAAAtAAAANMAAAD8AAABFQAAAYkAAAG4AAACGwAAAl4AAAJ0AAAClQAAAsoAAAL1AAADIQAAA1kAAAOqAAAD9QAABCEAAARAAAAEZwAABJsAAATLAAAE9gAABSAAAAU/AAAFZAAABY0AAAXEAAAGGQAABjMAAAZcAAAGkgAABqUAAAbJAAAHGQAAB0sAAAeCAAAHnQAAB8oAAAgjAAAIPAAACGgAAAiMAAAIyAAACQsAAAk4AAAJkQAACfkAAAonAAAKVQAACoIAAAqvAAALBAAACz0AAAt2AAALkAAAC7YAAAvYAAAL7wAADAUAAAwpAAAMZQAADKQAAAzZAAANDQAADSUAAA1IAAANYAAADW4AAA2IAAANlwAADa8AAA3SAAAN6gAADgMAAA4YAAAOLQAADlMAAA5tAAAOmgAADrsAAA7wAAAPHAAAD1wAAA+PAAAPuQAAD9oAAA/2AAAQEgAAEC8AABBMAAAQbgAAEJYAABC+AAAQ2QAAEOcAABETAAAROQAAEW4AABGnAAARzAAAEfcAABI7AAASYwAAEo4AABLrAAATOQAAE1kAABOLAAAToAAAE7UAABPsAAAUGAAAFCoAABRNAAAUaAAAFIMAABSbAAAUywAAFOYAABUYAAAVTAAAFfwAABY3AAAWggAAFtAAABbjAAAXDwAAFz4AABdmAAAXigAAF7kAABfoAAAYHAAAGIsAABi9AAAZAQAAGTsAABlUAAAZdAAAGbEAABnYAAAZ6gAAGlMAABpwAAAakQAAGsMAABr1AAAbIAAAG1AAABuLAAAb0wAAHCEAABxpAAActwAAHN4AAB0EAAAdKgAAHVAAAB7XAAAe/wAAHy4AAB9DAAAfaAAAH6EAAB/kAAAgLgAAIEUAACBiAAAg0QAAIQQAACE0AAAhaQAAIXgAACGaAAAhzwAAIiUAACJvAAAiwwAAIzEAACNiAAAjmgAAI9EAACQHAAAkLwAAJFQAACSCAAAkkQAAJKAAACSvAAAkvgAAJNcAACTxAAAlAAAAJQ8AACU7AAAlXwAAJYgAACXWAAAmFQAAJkYAACaQAAAmrQAAJuUAACcnAAAnVAAAJ5UAACe9AAAn5gAAKBAAAChTAAAoigAAKKgAACjNAAAo6QAAKRgAAClWAAAqIwAAKsEAACsGAAArOgAAK2MAACt5AAArnwAAK8UAACvrAAAsEQAALDcAACxdAAAscgAALIcAACycAAAssQAALNUAACz8AAAtGwAALT8AAC1YAAAthgAALbQAAC3sAAAt+wAALh0AAC5cAAAufQAALrIAAC6yAAAusgAALukAAC8gAAAvTwAAL4AAAC/xAAAwMAAAMIIAADCiAAAw1gAAMQcAADEuAAAxQwAAMW0AADGkAAAyCwAAMjcAADJYAAAycgAAMqkAADLfAAAy9wAAMzwAADNkAAAznQAAM7kAADPrAAA0IgAANEoAADRhAAA0gQAANKEAADTCAAA04gAANPoAADUNAAA1SgAANWYAADWXAAA1uQAANdoAADYRAAA2LAAANlcAADZwAAA2lAAANq0AADbFAAA25AAANw8AADcxAAA3WgAAN3sAADegAAA3xQAAN+oAADguAAA4WgAAOJsAADjHAAA4+AAAOR8AADlxAAA5rwAAOcUAADn6AAA6OAAAOnUAADq1AAA69QAAOzQAADtzAAA7tgAAO/gAADyAAAA8/AAAPR8AAD1MAAA9gwAAPaYAAD3FAAA+FQAAPi8AAD5IAAA+mgAAPu4AAD8JAAA/LQAAP0IAAD9XAAA/bAAAP4EAAD+tAAA/wQAAQAQAAEFsAABBvAAAQf0AAEIzAABCWAAAQoMAAEKlAABCxQAAQwAAAEMoAABDSgAAQ38AAEPhAABESgAARGcAAESyAABEzQAARPgAAEUjAABFSQAARWgAAEWVAABFvgAARe8AAEYgAABGXQAARp4AAEbUAABHNAAAR08AAEd0AABHowAAR8AAAEfeAABIKAAASG8AAEidAABIwQAASNoAAEkAAABJMgAASdkAAEo5AABKkgAASxQAAEuSAABMXAAATHwAAEy3AABMywAATOsAAE0pAABNXAAATZQAAE3IAABOAgAATlEAAE6DAABOuwAATuMAAE8gAABPNQAAT9UAAFAGAABQbwAAULEAAFDxAABRJgAAUVEAAFGRAABR2wAAUhEAAFJdAABShwAAUrgAAFL0AABTJwAAU0UAAFOPAABUDwAAVGcAAFS3AABU0AAAVQcAAFVSAABVlwAAVbQAAFXVAABWDAAAVicAAFaAAABWoQAAVtgAAFb3AABXHgAAV3UAAFenAABYJAAAWFEAAFhuAABYuwAAWNUAAFkqAABZXAAAWZkAAFn2AABaLAAAWlYAAFqdAABboAAAXA8AAFz3AABdgwAAXfEAAF4jAABeYQAAXqIAAF7ZAABfIgAAX0YAAF9oAABf1gAAX+UAAF/9AABgGgAAYFwAAGCjAABgzAAAYOgAAGExAABhawAAYagAAGIcAABiYgAAYo0AAGLNAABi5wAAY5IAAGOpAABj1AAAZAMAAGREAABk4wAAZQQAAGVAAABlfgAAZb0AAGXnAABmXgAAZrEAAGcDAABnQQAAZ3UAAGeeAABnxQAAZ/kAAGgwAABogQAAaMsAAGkcAABpagAAaZ4AAGnRAABqBQAAaiIAAGo5AABqOQAAajkAAGpUAABqiAAAasYAAGrxAABrKQAAa2gAAGuGAABroAAAa78AAGvoAABsDgAAbCAAAG2tAABt2QAAbjYAAG5bAABufwAAbqMAAG7HAABu5wAAbwAAAG8cAABvUQAAb5EAAG+nAABvxgAAcBAAAHBEAABwbwAAcL8AAHD3AABxJgAAcVMAAHGIAABxuQAAcgEAAHJBAAByoAAAcuYAAHM8AABzhQAAc+MAAHQZAAB0VwAAdLUAAHTSAAB0/AAAdV8AAHWcAAB12gAAdf0AAHY7AAB2qQAAdtMAAHcTAAB3QQAAd3kAAHefAAB30AAAeF0AAHi7AAB5AwAAeUAAAHmMAAB5zwAAeecAAHoGAAB6MgAAelgAAHqEAAB6sgAAevYAAHsKAAB7KwAAezoAAHt5AAB7vwAAe+YAAHv+AAB8MAAAfEUAAHyRAAB82AAAfPcAAH1AAAB9iAAAfa0AAH3bAAB99QAAfhkAAH5IAAB+mwAAftoAAH7/AAB/FQAAfz8AAH9fAAB/iQAAf70AAH/vAACASAAAgIIAAIDGAACBFQAAgXAAAIHPAACCSAAAgrAAAIMzAACDdwAAg8EAAIQIAACEdAAAhMoAAIUGAACFRgAAhYgAAIXHAACGCQAAhkQAAIadAACGyQAAh2gAAIeQAACHrgAAiBoAAIhVAACIpgAAiQ4AAIlHAACJjQAAid0AAIo4AACKXgAAiocAAIqyAACK4AAAizIAAIuEAACLtgAAjDYAAIxcAACMiwAAjLoAAIzpAACNGAAAjUQAAI24AACOQwAAjp4AAI6wAACOvgAAjt0AAI8FAACPMQAAj0gAAI/pAACQIQAAkHMAAJDjAACROgAAkaEAAJITAACSOAAAkm4AAJMqAACTKgAAkyoAAJMqAACTKgAAkyoAAJMqAACTKgAAkyoAAJMqAACTKgAAkyoAAJMqAACTKgAAkyoAAJMqAACTNQAAk0AAAJNLAACTVgAAk2EAAJPKAACT4wAAlAMAAJQqAACUZQAAlHYAAJShAACUvwAAlN0AAJUVAACVQwAAlaEAAJWoAACVwQAAlfwAAJYrAACWYgAAlqQAAJbEAACW4AAAlvgAAJcOAACXIAAAlygAAJc6AACXUAAAl2kAAJeHAACXqAAAl7cAAJfZAACX9AAAmBUAAJg5AACYQAAAmEcAAJhOAACYXwAAmJgAAJi+AACY7QAAmO0AAJkOAACZKQAAmWkAAJmDAACZqwAAmhMAAJosAACaTQAAmoQAAJq/AACbIgAAmzYAAJs2AACAHAAAAMQBgAAAwAHAAA3IREhAxEhEeABwP5AcAKgcAUg+nAGAPoAAAAAAAEAXf8ABqMFgAAdAAABFAcBESEyFhQGIyEiJjQ2MyERASY1ND4BMyEyHgEGoyv9iAFAGiYmGvyAGiYmGgFA/YgrJCgXBYAXKCQFRiMr/Yj9ACY0JiY0JgMAAngrIxcbCAgbAAABAAD/AAYABYAAKwAAAREUDgIiLgI0PgIzMhcRBREUDgIiLgI0PgIzMhcRNDY3ATYzMhYGAERoZ1pnaEREaGctaVf9AERoZ1pnaEREaGctaVcmHgNADBAoOAUg+6AyTisVFStOZE4rFScCGe39OzJOKxUVK05kTisVJwPHHzMKAQAEOAACAAD/AAaABYAABwAhAAAAEAAgABAAIAEUBiMiJwEGIyIkJgIQEjYkIAQWEhUUBwEWBID++f6O/vkBBwFyAwdMNDYk/qmz3I/++71vb70BBQEeAQW9b3wBVyUCBwFyAQf++f6O/vn+gDRMJgFWfG+9AQUBHgEFvW9vvf77j9yz/qklAAADAAD/gAcABQAAGgA9AE0AACURBgcEBw4CKwIiLgEnJiUmJxEUFjMhMjYRPAIuAyMhIgYVFBcWFx4EOwIyPgM3Njc+ATcRFAYjISImNRE0NjMhMhYGgCAl/vSeM0BtMAEBMG1AM57+9CUgEw0FwA0TAQUGDAj6QA0Tk8HQBjoiNy4UAQEULjciOgbQwTZdgF5C+kBCXl5CBcBCXiADACQezoQrMDExMCuEzh4k/QANExMEKAISCREICgUTDah0mKUFMRolEhIlGjEFpZgrkWD7wEJeXkIEQEJeXgAAAQAA/4AHAAWAABwAAAQiJwEuBDU0NjMyHgIXPgMzMhYVFAcBA5o0Ev2QCiNMPC/+4D6Bb1AkJFBvgT7g/uX9kYASAloIJF9kjkPc+CtJQCQkQEkr+Nzd5f2oAAABAAD/rQaABeAAIgAAARQHARMWFRQGIyInJQUGIyImNTQ3EwEmNTQ3JRM2MhcTBRYGgBr+lVYBFRQTFf4//j8WEhUVAlb+lBk4AfbhEzwT4QH2OAN5Fhr+nv4MBw0VHQzs7AwdFQYOAfQBYhsVJQlJAccpKf45SQkAAAAAAgAA/60GgAXgAAkAKwAACQElCwEFAQMlBQEUBwETFhUUIyInJQUGIyImNTQ3EwEmNTQ3JRM2MhcTBRYEcQEy/lq9vf5aATJJAXoBeQHHGv6VVgEpExX+P/4/FhIVFQJW/pQZOAH24RM8E+EB9jgCFAEpPgF+/oI+/tf+W8fHAwoWGv6e/gwHDTIM7OwMHRUGDgH0AWIbFSUJSQHHKSn+OUkJAAACAAD/gAUABYAAFQAdAAAlFAYjISImNTQ+AzMWIDcyHgMAEAYgJhA2IAUAfVj8qlh9ES5HdUyDAWyDTHVHLhH/AOH+wuHhAT6JbZycbVWXmW1FgIBFbZmXA8H+wuHhAT7hAAAACwAA/wAHgAWAAA8AHwAvAD8ATwBfAG8AfwCPAJ8ArwAABTU0JisBIgYdARQWOwEyNhE1NCYrASIGHQEUFjsBMjYRNTQmKwEiBh0BFBY7ATI2ARE0JiMhIgYVERQWMyEyNgE1NCYrASIGHQEUFjsBMjYBNTQmKwEiBh0BFBY7ATI2ARE0JiMhIgYVERQWMyEyNgE1NCYrASIGHQEUFjsBMjYRNTQmKwEiBh0BFBY7ATI2ETU0JisBIgYdARQWOwEyNjcRFAYjISImNRE0NjMhMhYBgCYagBomJhqAGiYmGoAaJiYagBomJhqAGiYmGoAaJgQAJhr9ABomJhoDABom/AAmGoAaJiYagBomBYAmGoAaJiYagBom/oAmGv0AGiYmGgMAGiYBgCYagBomJhqAGiYmGoAaJiYagBomJhqAGiYmGoAaJoBeQvnAQl5eQgZAQl5AgBomJhqAGiYmAZqAGiYmGoAaJiYBmoAaJiYagBomJv0aAgAaJiYa/gAaJiYEmoAaJiYagBomJvuagBomJhqAGiYmAxoCABomJhr+ABomJv6agBomJhqAGiYmAZqAGiYmGoAaJiYBmoAaJiYagBomJrr6wEJeXkIFQEJeXgAEAAAAAAaABYAADwAfAC8APwAAAREUBiMhIiY1ETQ2MyEyFhkBFAYjISImNRE0NjMhMhYBERQGIyEiJjURNDYzITIWGQEUBiMhIiY1ETQ2MyEyFgMATDT+ADRMTDQCADRMTDT+ADRMTDQCADRMA4BMNP4ANExMNAIANExMNP4ANExMNAIANEwCAP6ANExMNAGANExMAsz+gDRMTDQBgDRMTPzM/oA0TEw0AYA0TEwCzP6ANExMNAGANExMAAkAAAAABwAFgAAPAB8ALwA/AE8AXwBvAH8AjwAAARUUBiMhIiY9ATQ2MyEyFhEVFAYjISImPQE0NjMhMhYBFRQGIyEiJj0BNDYzITIWARUUBiMhIiY9ATQ2MyEyFgEVFAYjISImPQE0NjMhMhYBFRQGIyEiJj0BNDYzITIWARUUBiMhIiY9ATQ2MyEyFgEVFAYjISImPQE0NjMhMhYRFRQGIyEiJj0BNDYzITIWAgA4KP7AKDg4KAFAKDg4KP7AKDg4KAFAKDgCgDgo/sAoODgoAUAoOP2AOCj+wCg4OCgBQCg4AoA4KP7AKDg4KAFAKDgCgDgo/sAoODgoAUAoOP2AOCj+wCg4OCgBQCg4AoA4KP7AKDg4KAFAKDg4KP7AKDg4KAFAKDgBIMAoODgowCg4OAHYwCg4OCjAKDg4/djAKDg4KMAoODgD2MAoODgowCg4OP3YwCg4OCjAKDg4/djAKDg4KMAoODgD2MAoODgowCg4OP3YwCg4OCjAKDg4AdjAKDg4KMAoODgAAAYAAAAABwAFgAAPAB8ALwA/AE8AXwAAARUUBiMhIiY9ATQ2MyEyFhEVFAYjISImPQE0NjMhMhYBFRQGIyEiJj0BNDYzITIWARUUBiMhIiY9ATQ2MyEyFgEVFAYjISImPQE0NjMhMhYRFRQGIyEiJj0BNDYzITIWAgA4KP7AKDg4KAFAKDg4KP7AKDg4KAFAKDgFADgo/EAoODgoA8AoOPsAOCj+wCg4OCgBQCg4BQA4KPxAKDg4KAPAKDg4KPxAKDg4KAPAKDgBIMAoODgowCg4OAHYwCg4OCjAKDg4/djAKDg4KMAoODgD2MAoODgowCg4OP3YwCg4OCjAKDg4AdjAKDg4KMAoODgAAAABAHkADgaHBLIAFgAAABQHAQcGIi8BASY0PwE2MhcJATYyHwEGhxz9LIgcUByI/pYcHIgcUBwBJgKQHFAciAPyUBz9LIgcHIgBahxQHIgcHP7ZApEcHIgAAQBu/+4FEgSSACMAACQUDwEGIicJAQYiLwEmNDcJASY0PwE2MhcJATYyHwEWFAcJAQUSHIgcUBz+2v7aHFAciBwcASb+2hwciBxQHAEmASYcUByIHBz+2gEm/lAciBwcASb+2hwciBxQHAEmASYcUByIHBz+2gEmHByIHFAc/tr+2gAAAwAA/wAGgAWAACMAKwBEAAABFRQGKwEVFAYrASImPQEjIiY9ATQ2OwE1NDY7ATIWHQEzMh4BEAAgABAAIAAUBiMiJwEGIyIkJgIQEjYkIAQWEhUUBwEEABMN4BMNQA0T4A0TEw3gEw1ADRPgDROA/vn+jv75AQcBcgMHSzU2JP6ps9yP/vu9b2+9AQUBHgEFvW98AVcC4EANE+ANExMN4BMNQA0T4A0TEw3gE+YBcgEH/vn+jv75/rVqSyYBVnxvvQEFAR4BBb1vb73++4/cs/6pAAADAAD/AAaABYAADwAXADAAAAEVFAYjISImPQE0NjMhMh4BEAAgABAAIAAUBiMiJwEGIyIkJgIQEjYkIAQWEhUUBwEEABMN/cANExMNAkANE4D++f6O/vkBBwFyAwdLNTYk/qmz3I/++71vb70BBQEeAQW9b3wBVwLgQA0TEw1ADRMT5gFyAQf++f6O/vn+tWpLJgFWfG+9AQUBHgEFvW9vvf77j9yz/qkAAAAAAgAA/4AGAAYAACkANQAAARQCBgQgJCYCNTQSNzYWFxYGBw4BFRQeAjI+AjU0JicuATc+ARcWEgERFAYiJjURNDYyFgYAes7+5P7I/uTOeqGSK2kfIA8qYmtRir3QvYpRa2IqDyAfaiqSof2ATGhMTGhMAoCc/uTOenrOARyctgFCbSAOKyppIErWeWi9ilFRir1oedZKIGkqKw4gbf6+Akr9gDRMTDQCgDRMTAAAAAAFAAD/gAcABYAADwAfAC8APwBPAAAlFRQGKwEiJj0BNDY7ATIWJREUBisBIiY1ETQ2OwEyFiURFAYrASImNRE0NjsBMhYBERQGKwEiJjURNDY7ATIWAREUBisBIiY1ETQ2OwEyFgEAEg7ADhISDsAOEgGAEg7ADhISDsAOEgGAEg7ADhISDsAOEgGAEg7ADhISDsAOEgGAEg7ADhISDsAOEmDADhISDsAOEhJy/sAOEhIOAUAOEhLy/cAOEhIOAkAOEhIBcvxADhISDgPADhISAfL6QA4SEg4FwA4SEgAAAAIAAP+ABgAFgAAHAG4AAAA0JiIGFBYyARUUBg8BBgcWFxYUBw4BIyIvAQYHBgcGKwEiJi8BJicHBiMiJyYnJjU0Nz4BNyYvAS4BPQE0Nj8BNjcmJyY1NDc+ATMyHwE2NzY3NjsBMhYfARYXNzYzMhcWFxYVFAcOAQcWHwEeAQQAltSWltQClhAMuRMUI0gKCRuQFgwOiiwvEA0HHd4OFQEcMSmNCg8OC34nBwgPSBIbDrcNEBALug4ZKEMKCRqRFg0NiiwvEA0HHd4OFQEcMSmOCQ8NDIEkBwgPSBIaD7cNEAIW1JaW1JYBbd4MFgIcNiUyWAwaCiWOCWwXD4gyHBENuBAVawkLcjYKDQwLFVsZMjEbAhUN3gwWAhwuLjlRDAwKDSSPCmsXD4gyHBENuBAVawkKdzMIDgwLFVsZMjAcAhUAAAYAAP+ABYAFgAAPAB8ALwA7AEMAZwAAAREUBisBIiY1ETQ2OwEyFgURFAYrASImNRE0NjsBMhYFERQGKwEiJjURNDY7ATIWExEhERQeATMhMj4BASEnJichBgcFFRQGKwERFAYjISImNREjIiY9ATQ2MyE3PgEzITIWHwEhMhYCABIOQA4SEg5ADhIBABIOQA4SEg5ADhIBABIOQA4SEg5ADhKA/IAODwMDQAMPDv1gAcAwBwr+wwoHA28SDmBeQvzAQl5gDhISDgE1Rg9OKAFAKE4PRgE1DhIDIP3ADhISDgJADhISDv3ADhISDgJADhISDv3ADhISDgJADhIS/R4DtPxMFiURESUESnUJAgIJlUAOEvxMU3l1UwO4Eg5ADhKnJTQ0JacSAAAAAAIAGQAABmcFAwATADUAAAERFAYjIREhESEiJjURNDY1CQEWNwcGByMiJwkBBicmLwEmNjcBNjIfATU0NjsBMhYVERceAQWAJhr+gP8A/oAaJgECPwI/Ad8+CA0DDQj9TP1MDAwNCD4IAgoCzyBYIPQSDsAOEtsKAgIg/iAaJgGA/oAmGgHgAQQBAdr+JgJBSgkCBwJB/b8IAQIJSgobCAJXGhrMww4SEg7+aLYIGwAAAwAA/wAGAAYAABMAGgAjAAABHgEVERQGIyEiJjURNDYzITIWFwcRISYnASYBESEiJjURIREFvBwoOCj6wCg4OCgDgChgHIQBeAoM/scMAWP+YCg4/QAEhBxgKPuAKDg4KAZAKDgoHET+iB0MATkM+hIEADgoAaD6AAAAAAMAAP+ABgAFgAAUACAALAAAAREUBiMhIiY9ATQ2OwERNDY7ATIWABAuASAOARAeASA2ABACBCAkAhASJCAEA4ASDv7ADhISDuASDkAOEgGgkvr+2PqSkvoBKPoBcs7+n/5e/p/OzgFhAaIBYQPg/kAOEhIOQA4SAWAOEhL9/gEo+pKS+v7Y+pKSAl/+Xv6fzs4BYQGiAWHOzgAAAAIAMgAAB04FAAARAEMAAAE1Ay4BKwEiBgcDFQYWOwEyNgEUIyEyNicDLgEjISIGBwMGFjMhIjU0NwE+ATMhIgYPAQYWOwEyNi8BLgEjITIWFwEWBFcYARQNug0UARgBEgz0DBIC9i79QA0SARQBFA3+8A0UARQBEg39QC4aAaEIJBQBUw0UAQ8BEg2mDRIBDwEUDQFTFCQIAaEaAhwEAUANExMN/sAEDBAQ/jlJEw0BAA0TEw3/AA0TSTY+BBQTHBMNwA4SEg7ADRMcE/vsPgAEAAAAAAaABgAABwAPACUAPQAAJDQmIgYUFjIkNCYiBhQWMhMRFAYjISImNRE0NjMhFxYyPwEhMhYBFgcBBiInASY3NjMhETQ2MyEyFhURITIFACY0JiY0ASYmNCYmNKY4KPpAKDg4KAHRhzqcOogB0Cg4/rsRH/5AEjYS/kAfEREqAQAmGgEAGiYBACqmNCYmNCYmNCYmNCYBIP7AKDg4KAFAKDiIODiIOAIRKR3+QBMTAcAdKScBwBomJhr+QAADAAD/gAYABYAAGAAkADAAAAEUBwEGIicBJjc2OwERNDY7ATIWFREzMhYCIA4BEB4BID4BECYEEAIEICQCEBIkIAQEYAr+wQsYC/7ADwgIFsASDsAOEsAOEsz+2PqSkvoBKPqSkgFyzv6f/l7+n87OAWEBogFhAmAMDP7BCQkBQBATFAFgDhISDv6gEgIykvr+2PqSkvoBKPq9/l7+n87OAWEBogFhzs4AAAAAAwAA/4AGAAWAABgAJAAwAAABBisBERQGKwEiJjURIyImNTQ3ATYyFwEWAiAOARAeASA+ARAmBBACBCAkAhASJCAEBF4IFsASDsAOEsAOEgoBPwsYCwFAD9L+2PqSkvoBKPqSkgFyzv6f/l7+n87OAWEBogFhApQU/qAOEhIOAWASDgwMAT8JCf7AEAH5kvr+2PqSkvoBKPq9/l7+n87OAWEBogFhzs4AAgAAAAAGAAUAAA0AIwAAASEuAScDIQMOAQchFyElERQGIyEiJjURNDcTPgEzITIWFxMWA/8BPAEDAdT9PNQBAwEBPF8BQAJgJhr6gBomGe4KNRoDQBo1Cu4ZAkADCwIB8P4QAwsCwKL+HhomJhoB4j49AigZIiIZ/dg9AAMAAP+ABgAFgAAPABsAJwAAABQHAQYjIicmNRE0NzYXARYQLgEgDgEQHgEgNgAQAgQgJAIQEiQgBASgIP3gDxEQECAgIR8CIKCS+v7Y+pKS+gEo+gFyzv6f/l7+n87OAWEBogFhAqVKEv7ACQgTJQKAJRMSE/7AywEo+pKS+v7Y+pKSAl/+Xv6fzs4BYQGiAWHOzgABAAD/gAYABYAAMwAAAREUBiMhIicmPwEmIyIOAhQeAjMyNjc2NzIfAR4BBwYEIyIkJgIQEjYkMzIEFzc2FxYGACYa/kAqEREfipTJaL2KUVGKvWh31EkHEA8KiQkBCG3+yqyc/uTOenrOARyckwETa4IdKScFAP5AGiYoJx6KiVGKvdC9ilFoXwoCCYoIGQqEkXrOARwBOAEcznpvZYEfEREAAAIAAP+ABgAFgAAkAEcAAAEUBwIAISIkJwcGIiY1ETQ2MyEyFhQPAR4BMzI2NzY3NjsBMhYTERQGIyEiJjQ/ASYjIgYHBgcGKwEiJj0BEgAhMgQXNzYyFgXnAUD+aP7ukv7va4ETNCYmGgHAGiYTiUe0YYboRgsqCBbADRMZJhr+QBomE4qUyYboRgsqCBbHDRNBAZoBE5IBFGuCEzQmAeAFAv70/rNuZoETJhoBwBomJjQTiUJIgnIRZBcTAxP+QBomJjQTiomCchFkFxMNBwEMAU1vZYETJgAAAAAIAAAAAAcABYAADwAfAC8APwBPAF8AbwB/AAABFRQGKwEiJj0BNDY7ATIWNRUUBisBIiY9ATQ2OwEyFjUVFAYrASImPQE0NjsBMhYBFRQGIyEiJj0BNDYzITIWNRUUBiMhIiY9ATQ2MyEyFjUVFAYjISImPQE0NjMhMhYTETQmIyEiBhURFBYzITI2ExEUBiMhIiY1ETQ2MyEyFgGAEw1ADRMTDUANExMNQA0TEw1ADRMTDUANExMNQA0TBIATDfxADRMTDQPADRMTDfxADRMTDQPADRMTDfxADRMTDQPADROAEw36QA0TEw0FwA0TgF5C+kBCXl5CBcBCXgFgQA0TEw1ADRMT80ANExMNQA0TE/NADRMTDUANExP980ANExMNQA0TE/NADRMTDUANExPzQA0TEw1ADRMT/TMDQA0TEw38wA0TEwRN+8BCXl5CBEBCXl4AAgAAAAAEgAWAAAcAHwAAASE1NCYiBhUBERQGIyEiJjURNDY7ATU0ACAAHQEzMhYBQAIAltSWA0A4KPxAKDg4KCABCAFwAQggKDgDAMBqlpZq/uD9wCg4OCgCQCg4wLgBCP74uMA4AAACAED/gAcABYAAEQA3AAABFAcRFAYrASImNREmNTQ2MhYFERQGBwYjIi4CIyIFBiMiJjURNDc2NzYzMhYXFjMyPgIzMhYBQEATDUANE0BLaksFwBkb15o9fVyLScD+8BEQGiYfFTrsuWu6fiYyNn9dUw0aJgUASCb7Dg0TEw0E8iZINUtLdf0FGRsOdCw0LJIJJhoC5iAXDh14OjsTKjQqJgAAAAEAAAAABoAFgABLAAABFA8CDgEjFRQGKwEiJjURNDY7ATIWHQEyFhc3NjU0AiQgBAIVFB8BPgEzNTQ2OwEyFhURFAYrASImPQEiJi8CJjU0EjYkIAQWEgaAPBS5FolYEg5ADhISDkAOEkd2IkQdsP7X/rL+17AdRCJ2RxIOQA4SEg5ADhJYiRa5FDyG4AE0AUwBNOCGAoqmlDEhU2sgDhISDgJADhISDiBHPAxfYpQBBpyc/vqUYl8MPEcgDhISDv3ADhISDiBrUyExlKaXARjNenrN/ugAAAEAAAAgAwAE4AATAAABERQGIicBISImNRE0NjMhATYyFgMAJjQT/rP++homJhoBBgFNEzQmBKD7wBomEwFNJhoBgBomAU0TJgAAAAACAAAAIASABOAAEwAtAAABERQGIicBISImNRE0NjMhATYyFgAUBgcGIyImNTQ+AzQuAzU0NjMyFxYDACY0E/6z/voaJiYaAQYBTRM0JgGAVUYKDxomGCIiGBgiIhgmGg8KRgSg+8AaJhMBTSYaAYAaJgFNEyb+EpiDHAUlGxUdFRkvQi8ZFR0VGyUFGwAAAAAEAAD/uQaABUcAEwAtAEkAawAAAREUBiInASEiJjURNDYzIQE2MhYAFAYHBiMiJjU0PgM0LgM1NDYzMhcWBBACBwYjIiY1NDc2Nz4BNCYnJicmNTQ2MzIXFgQQAgcGIyImNTQ3PgE3Njc2EhACJyYnLgEnJjU0NjMyFxYDACY0E/6z/voaJiYaAQYBTRM0JgGAVUYKDxomGCIiGBgiIhgmGg8KRgFVqowNDBsmJzgUSlNTShQ4JyYaDQ2MAar+0w0NGiYnBx8HLiR7iop7JC4HHwcnJhoNDdMEoPvAGiYTAU0mGgGAGiYBTRMm/hKYgxwFJRsVHRUZL0IvGRUdFRslBRs3/s7+/TsFJhonFB0PNqO4ozYPHRQnGiYFO7b+NP5/WwUmGiQXBA0EGRpbARABMgEQWxoZBA0EFyQaJgVbAAwAAAAABYAFgAADAAcACwAPABMAFwAbAB8AIwAvADMANwAAARUjNRMVIzUhFSM1ASERIREhESEBIREhAREhEQEVIzUhFSM1ExEhNSMRIxEhFTM1AREhESERIREBgICAgAOAgPyAAYD+gAGA/oADAAGA/oD/AP2ABICAAYCAgP6AgIABgID9gP2ABYD9gAGAgIADAICAgID8AQF/AYABgP6AAYD9gP2AAoD+AICAgIACAP6AgP6AAoCAgAMA/YACgP2AAoAAAAAAEAAAAAAHAAWAAAMABwALAA8AEwAXABsAHwAjACcAKwAvADMANwA7AD8AADMjETMTIxEzEyMRMxMjETMTIxEzEyMRMxMjETMTIxEzEyMRMxMjETMTIxEzEyMRMxMjETMTIxEzEyMRMxMjETM/Pz8/ICBeHx+dHx+dPj5+Hx8/Hx8/Hx+dPz+dPz9+Pz9+Pz9ePz+9Xl4/ICBePz8FgPqBBX/6gQV/+oEFf/qBBX/6gQV/+oEFf/qBBX/6gQV/+oEFf/qBBX/6gQV/+oEFf/qBBX/6gQV/+oAFgAAAAAIAAP+VBesFgAAHAB0AAAA0JiIGFBYyARQHAQYjIicBLgE1ETQ2MyEyFhcBFgHAS2pLS2oEdiX+FSc0NSX9NSY1TDQBoDWAJgLLJQQLaktLakv+QDUl/hQlJQLMJYA1AaA0TDUm/TYnAAAAAAMAAP+VB2sFgAAHAB0ANQAAADQmIgYUFjIBFAcBBiMiJwEuATURNDYzITIWFwEWBRQHAQYjIiYnATY1NCcBLgEjMzIWFwEWAcBLaktLagR2Jf4VJzQ1Jf01JjVMNAGgNYAmAsslAYAl/hUnNCQuHgHWJSX9NSaANeA1gCYCyyUEC2pLS2pL/kA1Jf4UJSUCzCWANQGgNEw1Jv02JzQ1Jf4UJRwfAdYlNTQnAsomNTUm/TYnAAP/9P+ABo8FgABUAGQAdAAAARYHAQ4BIyEiJicmNzQ2NzYmNz4CNz4BNzYmNz4BNz4BNzYmNz4BNz4BNzYmNz4CNz4GFwc2MyEyFgcBDgEjISIHBhcWMyEyNjcBNicWBQYWMyEyNj8BNiYjISIGBwMGFjMhMjY/ATYmIyEiBgcGZygW/u0Tc0H8ZU2PHBgWBgEBCAECDBUGFywIAwUCAxwDFSoEAQcEBCQEEy8EAQgCAg4WBggRDRMUISccASYNAvlKUBb+7iRHXfybGwsLChh4A5sdNggBLAcCJvvtBAwOAmANGQQVBAwO/aANGQRoBAwOAmANGQQVBAwO/aANGQQEIjlI/HZAV2tOQzwELg4IGwYLFBsKJmsmCigICyIGJHAiCS4FDSMFGnUmCCMJCBQaCAwlIScZFgEGAwlwSvx2d0UPEBtGHxoD2xYjDx4NExMNQA0TEw3+wA0TEw1ADRMTDQAAAQAA/5cFAAWAABwAAAEyFx4BFREUBgcGIyInCQEGIyInLgE1ETQ2NzYzBIwXFSEnJyETGTAj/kf+RyQvFxUhJychFRcFgAkNOCL69yI4DQggAaj+WCEJDTgiBQkiOA0JAAAAAAQAAP+ABoAFgAADAAwAFAA8AAApAREhESERIyImPQEhADQmIgYUFjI3ERQGKwEVFAYjISImPQEjIiY1ETQ2OwERNDYzITIWHwEeARURMzIWAYADgPyAA4CgKDj9gASAJjQmJjSmEw3gOCj8QCg44A0TcU9AOCgCoChgHJgcKEBPcQEAAYABgDgooP0mNCYmNCZA/mANE6AoODgooBMNAaBPcQIgKDgoHJgcYCj/AHEAAwAA/4AHgAYAAAcAIQApAAAAMhYUBiImNAEyFhURFAYjISImNRE0NjsBNz4BMyEyFh8BACAAEAAgABADSe6pqe6pA+BqlpZq+oBqlpZq4DMTZTUCADVlEzP9ZwFyAQf++f6O/vkDYKnuqanuAkmWavyAapaWagOAapaIMUdHMYj7gAEHAXIBB/75/o4AAAAAAgAA/4AGgAWAAAcAUAAAAQMyFjMyNyYBNz4ENxMBOwEWFxMWEhceARcWFx4BFxYVFAYVIiYjIgQHND8BMj4FNTQuASclBgIVFB4DMxYVFAciJiMiBiMGAtWqIc85EyZX/MoCF0IwMyYM7QEYSzUIA80hkikPVh0UDxOKDwYBP/5ATP7qJwSDARcIFQkNBT5SAf4+GmUcOyZMAwECOuk6CCUDUAPR/j4EAv38dk8HCwoTJx8CaALUDgf+IE7+mV8i3TotDA8dBiYTBREEEA4BKyMcBQIHBgoMCBChwgMCOv7tGRYfEgkIEycJEhQIDgAAAwAA/4AFgAWAABUAKwBhAAAlFjMgETQnLgQjIgcUBhUUBh4BAxYzMj4CNTQuAiMiBxQWFRQGFRQBNz4BNz4EPAE1ECcuBC8BNiQzMhYzMh4DFRQOAwceARUUDgMjIiYjIgQCK0pCAXgpG0VCX0k6SRwBAgEIBipDUnpiMzpkdEIyUAgB/eQCD4wkBwsGBQEWBCQ1LjMFBGIB5IMXWhdGhXxcOCEtVD41ms1GdZ+oXCywLGr+bg8gAU9yQiw8IREECjXUNAh3Sl0C1gcaP3RURmk7HA0yyjMbahou/HBeBBgPDB4lHC8VMgUD1isIDQkFBAFTAhMBGjpUfUs0Vzk6IBgjxpVkn2ZFHAYWAAEAAP+ABAAFgAA6AAAVNz4CNzY3NhoBJzUuAic3HgIzMj4BNwYHDgEHDgMHBgIHDgMfARYXBgciBiMiJiMmIyIGERZPQRscDQF6agEYPU4TEyGufTowZY0cBQ4ejyUIDAYJAht5EQIWEg4BARGoAw0LKwsddByKRDO4flUHExMOI0IHAjQCCyMZDQsFA2cCCQUFCQInMgolDxMvIToNlP3hVAliUlUPEgQbLDcDFAISAAAAAAIAAP9+BwMFgAAbAH0AACUyFg8BBiIvASY2OwERIyImPwE2Mh8BFgYrAREBFxYzMjYzMhYzITIWPgI/ATIWMxYVFAcGByYnLgInLgMGIyImIgYHBhcUEhUUBhYXHgEXFhUUDwEGJCMiBiMmPQE+Ajc2ETQCPQE0NjQuAScmIyIGBw4CByYnEQbQIRIUfhQ6FH4UEiFQUCESFH4UOhR+FBIhUPnRNgzHLLAsJI8kASUGHgsVDggqBBQEAgUnHRkdAxANAQYMEwcdAhFjMk4gCQEEBQUKKKgkBQMiTP7kQTLKMwMRWWwYEwYBAgQDC5cheBQTHiEaKg6AJRqiGhqiGiUEACUaohoaohol/AAE/xsFBAEBAQUNCwEBcOBQHQ4ELFQJTkUBCAkDAgEBBARRN179tKEQb0ghFSsQKAoODwECFBIzAQkbIBoOKgFVZQGUZXUCGxccFAQMGA4Nd2cCGhIBfwAAAgAA/wMGAAWAAGEAlQAAExcWMzI2MzIkBBcWPwEyFjMWFRQHBgcmJy4CNSYnJiMiJiIGBwYfATUUHgEVFAYWFx4BFxYVFA8BBiQjIgYjJj0BPgI3PgI0JjU0JjU0PgEuAScmIyIGBw4CByYnEQEyHgIXFhQHDgMjIi4BNDY1IRQWFA4BIyIuAicmNDc+AzMyHgEUBhUhNCY0PgFRNgzHLLAsRgFhAQB3IRcqBBQEAgUnHRkdAxAOChEFPR5+UGwqCQEBAgEFBQooqCQFAyJM/uRBMsozAxFZbBgHCQMBBQEBAQUEC5cp9BATHiEaKg4FHgw8N0AEGhoEQDc8DA0PBQP8AAMFDw0MPDdABBoaBEA3PAwNDwUDBAADBQ8FfxsFBAIBBAEgAQFw4FAdDgQsVAlNRgENBgICBAVRN5g0N8aiSBBvSCEVKxAoCg4PAQIUEjMBCRsgGg4QdK+HrAMHHQgHSkhRNgUMGwsMd2gCGhIBf/r/Jyw2AxU4FQM2LCcVJB8jAgIjHyQVJyw2AxU4FQM2LCcVJB8jAgIjHyQVAAAEAAAAAAcABYAADwAfAC8APwAAJRUUBiMhIiY9ATQ2MyEyFgEVFAYjISImPQE0NjMhMhYBFRQGIyEiJj0BNDYzITIWARUUBiMhIiY9ATQ2MyEyFgcAJhr5gBomJhoGgBom/oAmGvsAGiYmGgUAGiYBACYa+gAaJiYaBgAaJv6AJhr7gBomJhoEgBomwIAaJiYagBomJgFmgBomJhqAGiYmAWaAGiYmGoAaJiYBZoAaJiYagBomJgAABAAAAAAHAAWAAA8AHwAvAD8AACUVFAYjISImPQE0NjMhMhYBFRQGIyEiJj0BNDYzITIWARUUBiMhIiY9ATQ2MyEyFgEVFAYjISImPQE0NjMhMhYHACYa+YAaJiYaBoAaJv6AJhr8gBomJhoDgBomAQAmGvqAGiYmGgWAGib+gCYa/YAaJiYaAoAaJsCAGiYmGoAaJiYBZoAaJiYagBomJgFmgBomJhqAGiYmAWaAGiYmGoAaJiYAAAQAAAAABwAFgAAPAB8ALwA/AAAlFRQGIyEiJj0BNDYzITIWERUUBiMhIiY9ATQ2MyEyFhEVFAYjISImPQE0NjMhMhYRFRQGIyEiJj0BNDYzITIWBwAmGvmAGiYmGgaAGiYmGvsAGiYmGgUAGiYmGvoAGiYmGgYAGiYmGvuAGiYmGgSAGibAgBomJhqAGiYmAWaAGiYmGoAaJiYBZoAaJiYagBomJgFmgBomJhqAGiYmAAAAAAQAAAAABwAFgAAPAB8ALwA/AAAlFRQGIyEiJj0BNDYzITIWERUUBiMhIiY9ATQ2MyEyFhEVFAYjISImPQE0NjMhMhYRFRQGIyEiJj0BNDYzITIWBwAmGvmAGiYmGgaAGiYmGvmAGiYmGgaAGiYmGvmAGiYmGgaAGiYmGvmAGiYmGgaAGibAgBomJhqAGiYmAWaAGiYmGoAaJiYBZoAaJiYagBomJgFmgBomJhqAGiYmAAAAAAgAAAAABwAFgAAPAB8ALwA/AE8AXwBvAH8AACUVFAYrASImPQE0NjsBMhYRFRQGKwEiJj0BNDY7ATIWERUUBisBIiY9ATQ2OwEyFgEVFAYjISImPQE0NjMhMhYBFRQGKwEiJj0BNDY7ATIWARUUBiMhIiY9ATQ2MyEyFhEVFAYjISImPQE0NjMhMhYRFRQGIyEiJj0BNDYzITIWAQATDcANExMNwA0TEw3ADRMTDcANExMNwA0TEw3ADRMGABMN+sANExMNBUANE/oAEw3ADRMTDcANEwYAEw36wA0TEw0FQA0TEw36wA0TEw0FQA0TEw36wA0TEw0FQA0T4MANExMNwA0TEwFzwA0TEw3ADRMTAXPADRMTDcANExP888ANExMNwA0TEwRzwA0TEw3ADRMT/PPADRMTDcANExMBc8ANExMNwA0TEwFzwA0TEw3ADRMTAAAFAAAAAAcABYAADwAfAC8APwBPAAABERQGIyInASY0NwE2MzIWARUUBiMhIiY9ATQ2MyEyFhEVFAYjISImPQE0NjMhMhYRFRQGIyEiJj0BNDYzITIWERUUBiMhIiY9ATQ2MyEyFgGAEw0OCf7gCQkBIAkODRMFgBMN+UANExMNBsANExMN+8ANExMNBEANExMN+8ANExMNBEANExMN+UANExMNBsANEwPg/cANEwkBIAkcCQEgCRP888ANExMNwA0TEwFzwA0TEw3ADRMTAXPADRMTDcANExMBc8ANExMNwA0TEwAFAAAAAAcABYAADwAfAC8APwBPAAAAFAcBBiMiJjURNDYzMhcJARUUBiMhIiY9ATQ2MyEyFhEVFAYjISImPQE0NjMhMhYRFRQGIyEiJj0BNDYzITIWERUUBiMhIiY9ATQ2MyEyFgFgCf7gCQ4NExMNDgkBIAWpEw35QA0TEw0GwA0TEw37wA0TEw0EQA0TEw37wA0TEw0EQA0TEw35QA0TEw0GwA0TAs4cCf7gCRMNAkANEwn+4P4JwA0TEw3ADRMTAXPADRMTDcANExMBc8ANExMNwA0TEwFzwA0TEw3ADRMTAAABAAAAAAcABQAAHwAAAREUBwYjIicBFRQGIyEiJjURNDYzITIWHQEBNjMyFxYHACcNDBsS/m2pd/1Ad6mpdwLAd6kBkxIbDA0nBKD7wCoRBRMBk6Z3qal3AsB3qal3pQGSEwURAAAAAAQAAP+AB4AFgAAHAA4AHgAuAAAAFAYiJjQ2MgERITUBFwkBISIGFREUFjMhMjY1ETQmFxEUBiMhIiY1ETQ2MyEyFgKAcKBwcKAEcPqAAUCgAgACAPnADRMTDQZADRMTk15C+cBCXl5CBkBCXgQQoHBwoHD9wP5AwAFAoAIAASATDftADRMTDQTADRMg+0BCXl5CBMBCXl4ABAAA/4AF6wVrAAYAFAAZACUAACE3JwcVMxUBNCMiBwEGFRQzMjcBNicJASERARQPAQE3NjMyHwEWAWtb61uAAnYWCgf94gcWCgcCHgc2AaD8wP5gBeslpv5gpiQ2NSbrJVvrW2uAA6AWB/3iBwoWBwIeB8r+YPzAAaAC4DUlpgGgpSYm6icAAAIAAP+ABAAFgAAHABcAAAA0JiIGFBYyARQHAQ4BIiYnASY1NAAgAAMAltSWltQBliH+lBA/SD8P/pMhASwBqAEsAxbUlpbUlgEAbUb8+iEmJiEDBkZt1AEs/tQAAgAA/4AGAAWAAAcAEwAAJREiDgEQHgEAEAIEICQCEBIkIAQDAJT6kpL6A5TO/p/+Xv6fzs4BYQGiAWFgBECS+v7Y+pIC8f5e/p/OzgFhAaIBYc7OAAAAAAIAAAAABAAFwAAVAC0AAAE0Jy4DJyYiBw4DBwYVFBYyNiUUACAANTQ3PgM3PgEyFhceAxcWAgAUAR0WHAcEIgQHHBYdARRLaksCAP7U/lj+1FEGcVluHAkyNDMIHG5ZcQZRAYAkIQErITcXEBAXNyErASEkNUtLtdT+1AEs1JGCCaOL2V0eIiIeXdmLowl/AAUAAAAABvgFgAAGAA4AOQA+AEgAAAE3JwcVMxUAJgcBBhY3ARMVFAYjISImNRE0NjMhMhcWFxYPAQYnJiMhIgYVERQWMyEyNj0BND8BNhYDCQEhEQEHATc2Mh8BFhQDeHSYdGACACAR/qIRIBEBXlGpd/zAd6mpdwNAPzYPAwMMMQ4SFxb8wEJeXkIDQEJeCUAPKGABIP1g/uAEXFz+4FwcUByYHAFgdJh0OGACwCAR/qIRIBEBXv3PvnepqXcDQHepGQcQEQwxDgYGXkL8wEJeXkJ+DQlADxACzf7g/WABIAIcXAEgXBwcmBxQAAAAAAIAAAAABoAGAAArAFoAAAERFAYjISImNRE0NjsBMTIWFRQHBgcGKwEiBhURFBYzITI2PQE0NzY3NhcWEwEGIyInJj0BIyAHBhMWBwYjIicuBDU0Pgc7ATU0NzYzMhcBFhQFgKl3/MB3qal3/w0TGk04CgZwQl5eQgNAQl4SHBoQExXt/oASGwwNJ6D+vXN3LQMXCAQQCgoWOSojBxUjO05virVqoCcNDBoTAYATAiP+/XepqXcDQHepEw0bBRoiBF5C/MBCXl5C1hMKDRgQCAkB3P6AEwURKsCDif6wFwsCDQ4iZ2CEODFUYFBTQTonFsAqEQUT/oATNAAAAAIAAAAABn8FgAAvAEQAAAERFAYjISImNRE0NjMhMhcWFxYPAQYjIicmIyEiBhURFBYzITI2PQE0PwE2MzIXFhMBBiInASY0PwE2MhcJATYyHwEWFAWAqXf8wHepqXcDQD82DwMDDDEKDQMGFxb8wEJeXkIDQEJeCUAKDQYGFOf80hhCGP5SGBhuGEIYAQcChxhCGG4YAl7+wnepqXcDQHepGQcQEQwxCgIGXkL8wEJeXkL+DQlACgMIAdT80hgYAa4YQhhuGBj++QKHGBhuGEIAAAAAAQAA/wAHAAYAAEMAAAAUBwEGIiY9ASERMzIWFAcBBiInASY0NjsBESEVFAYiJwEmNDcBNjIWHQEhESMiJjQ3ATYyFwEWFAYrAREhNTQ2MhcBBwAT/wATNCb+gIAaJhP/ABM0E/8AEyYagP6AJjQT/wATEwEAEzQmAYCAGiYTAQATNBMBABMmGoABgCY0EwEAApo0E/8AEyYagP6AJjQT/wATEwEAEzQmAYCAGiYTAQATNBMBABMmGoABgCY0EwEAExP/ABM0Jv6AgBomE/8AAAEAAP96BAAFhgAdAAABNhYVERQGJwEmJxEUBisBIiY1ETQ2OwEyFhURNjcD0xMaGhP9OgkEJhqAGiYmGoAaJgQJBXMTDBr6QBoMEwLGCQr9WhomJhoFgBomJhr9WgoJAAEAAP96BwAFhgArAAABNhYVERQGJwEmJxEUBicBJicRFAYrASImNRE0NjsBMhYVETY3ATYWFRE2NwbTExoaE/06CQQaE/06CQQmGoAaJiYagBomBAkCxhMaBAkFcxMMGvpAGgwTAsYJCv06GgwTAsYJCv1aGiYmGgWAGiYmGv1aCgkCxhMMGv06CgkAAQB6/3oGgAWGABkAAAE2FhURFAYnASYnERQGJwEmNDcBNhYVETY3BlMTGhoT/ToJBBoT/ToTEwLGExoECQVzEwwa+kAaDBMCxgkK/ToaDBMCxhM0EwLGEwwa/ToKCQAAAQAA/3IFfwWOAAsAAAkBBiY1ETQ2FwEWFAVo+tAXISEXBTAXAmH9Hg0UGgXAGhQN/R4NJAAAAAACAAD/gAYABYAADwAfAAABERQGIyEiJjURNDYzITIWBREUBiMhIiY1ETQ2MyEyFgYAJhr+ABomJhoCABom/IAmGv4AGiYmGgIAGiYFQPqAGiYmGgWAGiYmGvqAGiYmGgWAGiYmAAAAAAEAAP+ABgAFgAAPAAABERQGIyEiJjURNDYzITIWBgAmGvqAGiYmGgWAGiYFQPqAGiYmGgWAGiYmAAAAAAEAAP96BgYFhgAZAAAXBiY1ETQ2FwEWFxE0NhcBFhQHAQYmNREGBy0TGhoTAsYJBBoTAsYTE/06ExoECXMTDBoFwBoME/06CQoCxhoME/06EzQT/ToTDBoCxgoJAAAAAAEAAP96BwAFhgArAAAXBiY1ETQ2FwEWFxE0NhcBFhcRNDY7ATIWFREUBisBIiY1EQYHAQYmNREGBy0TGhoTAsYJBBoTAsYJBCYagBomJhqAGiYECf06ExoECXMTDBoFwBoME/06CQoCxhoME/06CQoCphomJhr6gBomJhoCpgoJ/ToTDBoCxgoJAAAAAQAA/3oEAAWGAB0AABcGJjURNDYXARYXETQ2OwEyFhURFAYrASImNREGBy0TGhoTAsYJBCYagBomJhqAGiYECXMTDBoFwBoME/06CQoCphomJhr6gBomJhoCpgoJAAAAAv/7AAAGBwUGAAsAGwAAEwE2MhcBFgYjISImASEiJjURNDYzITIWFREUBg4CxhM0EwLGEwwa+kAaDAXG+oAaJiYaBYAaJiYCLQLGExP9OhMaGv3mJhoBABomJhr/ABomAAAAAAEAmv+aBKYF5gAUAAAJAhYUDwEGIicBJjQ3ATYyHwEWFAST/e0CExMTphM0E/0aExMC5hM0E6YTBNP97f3tEzQTphMTAuYTNBMC5hMTphM0AAAAAAEAWv+aBGYF5gAUAAAJAQYiLwEmNDcJASY0PwE2MhcBFhQEU/0aEzQTphMTAhP97RMTphM0EwLmEwKT/RoTE6YTNBMCEwITEzQTphMT/RoTNAAAAAIAAP+ABgAFgAAjAC8AAAE1NCYjIRE0JisBIgYVESEiBh0BFBYzIREUFjsBMjY1ESEyNgAQAgQgJAIQEiQgBATAJhr/ACYagBom/wAaJiYaAQAmGoAaJgEAGiYBQM7+n/5e/p/OzgFhAaIBYQJAgBomAQAaJiYa/wAmGoAaJv8AGiYmGgEAJgEr/l7+n87OAWEBogFhzs4AAgAA/4AGAAWAAA8AGwAAATU0JiMhIgYdARQWMyEyNgAQAgQgJAIQEiQgBATAJhr9ABomJhoDABomAUDO/p/+Xv6fzs4BYQGiAWECQIAaJiYagBomJgEr/l7+n87OAWEBogFhzs4AAAACAAD/gAYABYAAKwA3AAABNC8BNzY1NC8BJiMiDwEnJiMiDwEGFRQfAQcGFRQfARYzMj8BFxYzMj8BNgAQAgQgJAIQEiQgBAR9E7W1ExNaExsaE7W1ExobE1oTE7W1ExNaExsaE7W1ExobE1oTAYPO/p/+Xv6fzs4BYQGiAWEBnhoTtbUTGhsTWhMTtbUTE1oTGxoTtbUTGhsTWhMTtbUTE1oTAc7+Xv6fzs4BYQGiAWHOzgACAAD/gAYABYAAFwAjAAABNC8BJiIHAScmIg8BBhUUFwEWMzI3AT4BEAIEICQCEBIkIAQFBBJbEzQT/mjiEzQTWxISAWoTGhsTAh8S/M7+n/5e/p/OzgFhAaIBYQMiHBJaExP+aeITE1oSHBsS/pYTEwIfEkr+Xv6fzs4BYQGiAWHOzgADAAD/gAYABYAADwA6AEYAACU1NCYrASIGHQEUFjsBMjYBNC4BIyIHBh8BFjMyNzY3NjMyFhUUBgcOAR0BFBY7ATI2NTQ2Nz4EJBACBCAkAhASJCAEA4ASDsAOEhIOwA4SAQBvplfzgA8XhAcMEAk1ISI0MEsoMD9pEg7ADhIrISAiOh8ZAYDO/p/+Xv6fzs4BYQGiAWGgwA4SEg7ADhISAq5YllLVGBJkBgxEGBg0ISYuFhx1QyQOEhIOEz0TEhUxL0o9/l7+n87OAWEBogFhzs4AAAMAAP+ABgAFgAAeAC4AOgAAJTU0JisBETQmIyEiBh0BFBY7AREjIgYdARQWMyEyNgM1NCYrASIGHQEUFjsBMjYEEAIEICQCEBIkIAQEABIOYBIO/sAOEhIOYGAOEhIOAcAOEoASDsAOEhIOwA4SAoDO/p/+Xv6fzs4BYQGiAWGgoA4SAgAOEhIOoA4S/sASDqAOEhIDjqAOEhIOoA4SEsH+Xv6fzs4BYQGiAWHOzgAAAgAA/4AGAAWAAC8AXwAAASMiJj0BNDY7AS4BJxUUBisBIiY9AQ4BBzMyFh0BFAYrAR4BFzU0NjsBMhYdAT4BARUUBisBDgEHFRQGKwEiJj0BLgEnIyImPQE0NjsBPgE3NTQ2OwEyFh0BHgEXMzIWBK1tGiYmGm0goWwmGoAaJmyhIG0aJiYabSChbCYagBombKEBcyYajyXroSYagBomoesljxomJhqPJeuhJhqAGiah6yWPGiYCACYagBombKEgbRomJhptIKFsJhqAGiZsoSBtGiYmGm0goQEsgBomoesljxomJhqPJeuhJhqAGiah6yWPGiYmGo8l66EmAAAAAAMAAP+ABgAFgAAjAC8AOwAAAQcGIi8BBwYiLwEmND8BJyY0PwE2Mh8BNzYyHwEWFA8BFxYUNhAuASAOARAeASA2ABACBCAkAhASJCAEBEmSChoKiYkKGgqSCgqJiQoKkgoaComJChoKkgoKiYkKzZL6/tj6kpL6ASj6AXLO/p/+Xv6fzs4BYQGiAWEByZIKComJCgqSChoKiYkKGgqSCgqJiQoKkgoaComJChoZASj6kpL6/tj6kpICX/5e/p/OzgFhAaIBYc7OAAAAAAMAAP+ABgAFgAAUACAALAAACQEGIicBJjQ/ATYyHwEBNjIfARYUFhAuASAOARAeASA2ABACBCAkAhASJCAEBJP+WhM0E/7aExNmEzQTkwETEzQTZhN6kvr+2PqSkvoBKPoBcs7+n/5e/p/OzgFhAaIBYQLT/loTEwEmEzQTZhMTkwETExNmEzT6ASj6kpL6/tj6kpICX/5e/p/OzgFhAaIBYc7OAAAAAAMAAP+ABgAFhQAJABIAIgAAATQnARYzMj4CBQEmIyIOARUUABACBgQgJCYCEBI2JCAEFgUgV/0OiaBvyZJW/BkC84ellPqSBSB6zf7j/sj+4816es0BHQE4AR3NAoOhhv0PWVeSy7wC8luS/JSiAT/+xv7iznp6zgEeAToBHc56es4AAAEAQP81BgAFSwAgAAABFRQGIyEBFhQPAQYjIicBJjU0NwE2MzIfARYUBwEhMhYGAEE0/UABJSYmSyU1NCf9dSUlAosmNTQmSyYm/tsCwDRBAoCANUv+2iRsJEwlJQKMJTU0JwKKJiZKJmom/ttLAAABAAD/NQXABUsAIAAAARQHAQYjIi8BJjQ3ASEiJj0BNDYzIQEmND8BNjMyFwEWBcAl/XUnNDMnSyYmASX9QDRBQTQCwP7bJiZLJjQ1JgKLJQJANiX9dSUlSyZqJgElSzWANUsBJiRsJEsmJv11IwAAAQA1/4AGSwVAACEAAAEUDwEGIyInAREUBisBIiY1EQEGIi8BJjU0NwE2MzIXARYGSyVLJjU2JP7aSzWANUv+2iRsJEsmJgKLIzc2JQKLJQI1MydLJiYBJf1ANEFBNALA/tsmJksmNDUmAoslJf11JwAAAAABADX/tQZLBYAAIgAAARQHAQYjIicBJjU0PwE2MzIXARE0NjsBMhYVEQE2MzIfARYGSyX9dSc0NSX9dSYmSic0NSUBJkw0gDRMASYlNTQnSyUCwDUl/XQlJQKMJDY1JkslJf7aAsA0TEw0/UABJiUlSycAAAEAAP+ABwAFwAAsAAAAFAcBBiImNREjIg4FFRQXFBYVFAYjIicuAicCNTQ3EiEzETQ2MhcBBwAT/gATNCbgYpuZcWI+IwUFEQ8QDAcMDwN/NaICyeAmNBMCAAOaNBP+ABMmGgEADB82VXWgZTdEBiMJDxQRCRoiBwEdpseGAZMBABomE/4AAAACAAD/gAYABYAAFwAvAAAAFAcBFxYUBiMhIiY1ETQ2Mh8BATYyHwEBERQGIi8BAQYiLwEmNDcBJyY0NjMhMhYC8wr+tJATJhr+QBomJjQTkAFMChoKcgMXJjQTkP60ChoKcgoKAUyQEyYaAcAaJgHtGgr+tJATNCYmGgHAGiYTkAFMCgpyA0n+QBomE5D+tAoKcgoaCgFMkBM0JiYAAAAAAgAN/40F8wVzABcALwAAAREUBiIvAQEGIi8BJjQ3AScmNDYzITIWABQHARcWFAYjISImNRE0NjIfAQE2Mh8BAwAmNBOQ/rQKGgpyCgoBTJATJhoBwBomAvMK/rSQEyYa/kAaJiY0E5ABTAoaCnICQP5AGiYTkP60CgpyChoKAUyQEzQmJgKTGgr+tJATNCYmGgHAGiYTkAFMCgpyAAAAAAEAAAAABYAFgAAjAAABFRQGIyERFAYrASImNREhIiY9ATQ2MyERNDY7ATIWFREhMhYFgDgo/mA4KMAoOP5gKDg4KAGgOCjAKDgBoCg4AyDAKDj+YCg4OCgBoDgowCg4AaAoODgo/mA4AAAAAAEAAAIABYADgAAPAAABFRQGIyEiJj0BNDYzITIWBYA4KPtAKDg4KATAKDgDIMAoODgowCg4OAAAAQBt/4AGEwWAADUAAAEeAQ8BDgEnJREUBisBIiY1EQUGJi8BJjY3LQEuAT8BPgEXBRE0NjsBMhYVESU2Fh8BFgYHBQXKLhsaQBpnLv72TDSANEz+9i5nGkAaGy4BCv72LhsaQBpnLgEKTDSANEwBCi5nGkAaGy7+9gHmGmcubi4bGpn+zTRMTDQBM5kaGy5uLmcampoaZy5uLhsamQEzNExMNP7NmRobLm4uZxqaAAADAAD/gAYABYAACwAbAC0AAAAgBBIQAgQgJAIQEgE1NCYrASIGHQEUFjsBMjYDEzQnJisBIgcGFRMUFjsBMjYCLwGiAWHOzv6f/l7+n87OArISDcANFBQNwA0SAhIKCg7cDgoKERQOuQ4TBYDO/p/+Xv6fzs4BYQGiAWH7774OExQNvg0UEwFmAm0MBggIBgz9kwoPDwAAAAQAAAAABgAFQAANABYAHwBKAAAlNRE1IRURFRQWOwEyNgEzJyYjIgYUFiQ0JiMiDwEzMgURFAYrAREUBiMhIiY1ESMiJjURNDYzISImNDYzMh8BNzYzMhYUBiMhMhYDoP7AJBzAHCT+OMN+GisoODgC2DgoKxp9wigBsBIOYDgo+8AoOGAOEhIOAbhdg4Ndaz2AgD1rXYODXQG4DhK0OAHUwMD+LDgZGxsDZaEfOFA4OFA4H6Gg/sAOEv5gKDg4KAGgEg4BQA4Sg7qDTaWlTYO6gxIAAgAAAAAHAAWAABUATgAAADQmIyIEBgcGFRQWMzI3PgE3NiQzMgEUBwYABwYjIicuASMiDgIjIiYnLgM1ND4CNTQmJyY1ND4CNz4ENz4EMzIeAgUAJhqs/tzjehMmGhgVG14UiQEHthoCJhQu/uvb1uCUig+SFxAvKz4dKykZAggDAz5KPhwCCVeXvm03tLOylScKJxQiJxgnPyAQAyY0JmOphxUYGiYTGF4TfGgBBl9i4P7CbWwvBUpATEAjKgQOBg0HI002OhMERAozNXPSn3ckEg8DCSclCicRFwlchHQAAAAAAgAA/wAFgAYAAA8AMwAABRUUBiMhIiY9ATQ2MyEyFgEUDgUVFBcnFy4ENTQ+BTU0JxcnHgQFgBMN+sANExMNBUANE/8AMU9gYE8xQwQBWoyJWjcxT2BgTzFCAwFajIlaN6BADRMTDUANExMEE06EXVNISFszYIABASlUdIGsYk6EXVNISFszXoIBASlUdIGsAAAAAAMAAAAABwAEgAARACEAMQAAASYnFhUUACAANTQ3BgcWBCAkADQmIyIGFRQWMjY1NDYzMgAUBwYAIAAnJjQ3NgAgABcGgJjlPf75/o7++T3lmIUBkQHUAZH9tRwUfbMcKBx6VhQDbBSM/if98v4njBQUjAHZAg4B2YwCQOx1aHm5/vkBB7l5aHXszfPzAjkoHLN9FBwcFFZ6/tJEI+b+6wEW5SNEI+UBFv7q5QAFAAD/oAcABOAACQAZAD0AQwBVAAAlNy4BNTQ3BgcSADQmIyIGFRQWMjY1NDYzMiUUBwYADwEGIyInJjU0Ny4BJyY0NzYAITIXNzYzMh4DFxYTFAYHARYEFAcGBwYEIzc2JDcmJzceARcCK05XYj3lmKcCiRwUfbMcKBx6VhQBhwFq/lxpMQoSDHoQLI/xWBQUmQHGAQ1ZWzYKEgUaJB4hAxAlnoIBGAgBwBQnRpb+dd5K1AFpeXOnP1+vOcmNP8BreWh17P7+Am4oHLN9FBwcFFZ67wcCvf0MvFkQRgoSDEtB2IkfTB/rARARYRAMExITAgr+MIvlMgH2LYRGIkBRrL6EEu68s3NwQLJfAAAAAAP/7f+ABxMGAAAPACEAMwAAJTU0JisBIgYdARQWOwEyNgMTNCcmKwEiBwYVExQWOwEyNgMBFgcOASMhIiYnJjcBPgEyFgQAEw3ADRMTDcANEwISCg0L3AsNChEUDrkOEw0DACMlETsi+gAiOxElIwMAETxGPKG+DhMTDr4OExMBhAHLDAcLCwcO/jcKDQ0DsPqAPz8dIiIdPz8FgB8kJAAB//8AAAWMBYwAMgAAARYGDwETFg8BBiMiJyYnCQEXFg8BBisBJi8CJicmPwE2MzIfAQkBJicmPwE2FwU3PgEFYCxATKGgBRGABwwEAw8G/un+/TUFDWAJDgIPCb38CwIBCmAJDgYCwgED/gQOAwILgA4QApmgTMAFYDTATKH9SBMOYAYBAw0B/P79whEOYAkCC/y9BxANDGEJATUBAwEXCBAQC4ANBZ+gTEAADwAA/wAGgAYAAAMABwALAA8AEwAXABsAHwAjADMANwA7AD8ATwBzAAAXIREhASERISUhESEBIREhJSERIQEhESEBIREhASERISUhESEBETQmKwEiBhURFBY7ATI2ASERISUhESEBIREhNxE0JisBIgYVERQWOwEyNiURFAYjISImNRE0NjsBNTQ2OwEyFh0BITU0NjsBMhYdATMyFoABIP7gAWABQP7A/qABIP7gAWABQP7A/qABIP7gAuABQP7A/oABQP7AAwABIP7g/oABQP7A/qATDUANExMNQA0TAuABIP7g/oABQP7AAYABIP7gIBMNQA0TEw1ADRMBgEw0+oA0TEw0gF5CQEJeAYBeQkBCXoA0TIABIP7gASBAAUD+wAFAQAEg/AABIAHAASD8AAEgQAFAAiABIA0TEw3+4A0TE/ytAUBAASD+4AEgwAEgDRMTDf7gDRMTTfsANExMNAUANExgQl5eQmBgQl5eQmBMAAAAAwAA/6AHAAXgABIANwBxAAABBgcuBCsBIiY9ATQ2OwEyABQHAQYjIiY9ASIOAS4GJzY3HgQzITU0NjMyFwESFAcBBiMiJj0BISIOAgcGBw4GKwEiJj0BNDY7ATI+Ajc2Nz4GMyE1NDYzMhcBApo8TRYeMzNLLOAOEhIO4PoFBgn+wAkODRMgajhaNEwyQjQ6GztNFh4zM0ssAQASDgwMAT8JCf7ACQ4NE/8AME48KhggLh0pQz1XXXhE4A4SEg7gME48KhggLh0pQz1XXXhEAQASDgwMAT8EH1y1LTdIKR0SDsAOEvwOHAn+wAkTDcABAQMHDhciLj0nXbQtN0gpHcAOEgr+wQN3HAn+wAkTDcAePD8uPm1CWnhQVjMhEg7ADhIePD8uPm1CWnhQVjMhwA4SCv7BAAAAAQAA/v4HAAUAACYAAAAQAgQjIicGBQYHBiYnNSY2Jj4CNz4FNyYCNTQ+ASQzMgQHAPD+ZPRGS8b++jFBERsEAwUBCgIMAgcwFSkYHgudtY7wAUy29AGcAy7+pP7ZqwivQw4IAhYSAQQQBA8DDgIINRc4LkgoWQEGloLtrGWrAAADAAD/gAYABYAAIwAzAEMAAAEVFAIEICQCPQE0NjMhMhYdARQeAzI+Az0BNDYzITIWAREUBiMhIiY1ETQ2MyEyFgURFAYjISImNRE0NjMhMhYGAMX+of5I/qHFJhoBgBomLzxSLiouUjwvJhoBgBom/AAmGv6AGiYmGgGAGiYEACYa/oAaJiYaAYAaJgLAgMn+vrW1AULJgBomJhqANEwmFgQEFiZMNIAaJiYCZv6AGiYmGgGAGiYmGv6AGiYmGgGAGiYmAAAAAAEAWgAVBqYEIAAUAAAlBwYiJwkBBiIvASY0NwE2MhcBFhQGk6YTNBP97f3tEzQTphMTAuYTNBMC5hPNpRMTAhP97RMTpRM1EwLlExP9GxM1AAAAAAEAWv/gBqYD6wAUAAAJAQYiJwEmND8BNjIXCQE2Mh8BFhQGk/0aEzQT/RoTE6YTNBMCEwITEzQTphMC2P0bExMC5RM1E6UTE/3tAhMTE6UTNQAAAAIAAAAAB4AEgAAlAEsAACUUBiMhIi4DPAE9AREjIiY1NDcBNjIXARYVFAYrAREhMh8BFgEUBwEGIicBJjU0NjsBESEiLwEmNTQ2MyEyHgMcAR0BETMyFgUAEw38QAgLBwQCwBomDwFAEzwTAUAPJhrAAkAQCaAHAoAP/sAUOhT+wA8mGsD9wBAJoAcTDQPACAsHBALAGiYgDRMECgYRBhQBoAGgJhoYEQGAFhb+gBEYGib+gAvACgGVGBH+gBcXAYARGBomAYAMwAkLDRMECgYRBhQBoP5gJgAAAAADAAD/gAaABQAABwAPADoAACQUBiImNDYyBBQGIiY0NjITERQGBwUWFRQHITIWFAYjISImNTQ+AjcDIyImNDYzITIeBBchMhYCgExoTExoA8xMaExMaMwhGPvsDRgDmBomJhr8ABomEBAbArHMGiYmGgEAEBkODAQHAQSxGiY0aExMaExMaExMaEwDwP4AGCUDejwKEDAmNCYmGgspHzEFAzcmNCYNEh8VJgcmAAAAAAEAAAAABoAFgAAUAAABERQGIyEiJjURNDYzITIWHQEhMhYGgIRc+0BchIRcAUBchAKgXIQDoP1AXISEXAPAXISEXCCEAAAAAAIAAAAAB1cFgAATACoAAAEUBwEOASMhIiY1NDcBPgEzITIWARUhIgYHAQc0JjURNDYzITIWHQEhMhYHVx/+sCubQvvAIjUfAVArm0IEQCI1/qn8wF7OPf6vBQGEXAFAXIQCIFyEAkgfI/50M0caHh8jAYwzRxoBOqBfSP50BgQRBAPAXISEXCCEAAAAAQBA/wACwAYAAB8AAAAUBisBETMyFhQHAQYiJwEmNDY7AREjIiY0NwE2MhcBAsAmGoCAGiYT/wATNBP/ABMmGoCAGiYTAQATNBMBAATaNCb8ACY0E/8AExMBABM0JgQAJjQTAQATE/8AAAAAAQAAAUAHAAPAAB8AAAAUBwEGIiY9ASEVFAYiJwEmNDcBNjIWHQEhNTQ2MhcBBwAT/wATNCb8ACY0E/8AExMBABM0JgQAJjQTAQACmjQT/wATJhqAgBomEwEAEzQTAQATJhqAgBomE/8AAAAABQAA/4AIAAWAAAMABwANABEAFQAAAREhEQERIREBFSERMxEBESERAREhEQKA/wACgP8ABQD4AIAFAP8AAoD/AAKA/gACAAIA/AAEAPuAgAYA+oADgP0AAwABgPuABIAAAgAA/4AGAAWAADAAQAAAAQYHNjcGByYjIgYVFBcuAScGFRQXJicVFBYXBiMiJx4BFwYjIicWMzI+AzU0JzYBERQGIyEiJjURNDYzITIWBQA4QUQZQUU9XFd7BYHiTx1bLzVkSR0WDRoVa0R0kRoYlK5wxIxlMQE/ASqpd/xAd6mpdwPAd6kDnhkJKE0mDUJ7Vx0TB3RhMjhyPQEZAkt1DggEP1IBWgNeR3ebqVQSCS0BAvxAd6mpdwPAd6mpAAAAAQAA/4AGAAWAACQAAAEyFhURFAYrAREzNyM1NDYzNzUmIyIGHQEjFTMRISImNRE0NjME4HepqXe8xx7lL0R6P3OIo8jI/ex3qal3BYCpd/xAd6kCU+iUODgBzwmgkqvo/a2pdwPAd6kAAAAABwAA/4AHAAWAAA8AFwAbACMAJwAuAD4AAAA0JiMiBhUUFjI2NTQ2MzI2FAYiJjQ2MgEhNSEAECYgBhAWIAEhNSEDIT0BIQchJREUBiMhIiY1ETQ2MyEyFgOgEg5CXhIcEjgoDvKW1JaW1PyWBgD6AASA4f7C4eEBPvzhAYD+gIAGAPzEQP18BoBLNfoANUtLNQYANUsCshwSXkIOEhIOKDgI1JaW1Jb8woABHwE+4eH+wuEEAoD+wHaKgID7ADVLSzUFADVLSwACAAD/SAaTBYAAFQBHAAAANCYiBhUUFyYjIgYUFjI2NTQnFjMyARQGIyIuAicHFxYVFAYjIicBBiMiJjU0EiQzMhYVFAcBNy4DNTQ2MzIXHgQDQHCgcBMpKlBwcKBwEykqUAPDYhEJJyIrA2DcHE4qKBz9YbC9o82+ATKgo82DAWNgAy4iIGIRDQoGUFRZOQOwoHBwUCopE3CgcHBQKikT/gARYiAiLgNg3BwoKk4cAp+DzaOgATK+zaO9sP6dYAMrIicJEWIKBk1SWkIAAAAABgAA/w8HgAXwAAcAEQAbAH8AvQD7AAAANCYiBhQWMgE0JiIGFRQWMjYRNCYiBhUUFjI2ARUUBg8BBgcWFxYVFAcOASMiLwEGBwYHBisBIiYvASYnBwYjIicmNTQ3PgE3Ji8BLgE9ATQ2PwE2NyYnJjU0Nz4BMzIfATY3Njc2OwEyFh8BFhc3NjMyFxYVFAcOAQcWHwEeAQEVFAcGBxYVFAcGIyImJwYiJw4BIyInJjU0NyYnJj0BNDc2NyY1NDc+AjMyFhc2Mhc2PwEyFxYVFAcWFxYRFRQHBgcWFRQHBiMiJicGIicOASMiJyY1NDcmJyY9ATQ3NjcmNTQ3PgIzMhYXNjIXNj8BMhcWFRQHFhcWA4CW1JaW1AOWTGhMS2pLTGhMS2pL/oAOCZsLFSI4BwcXdxMLCnMlKAsMBxe6CxIBFyIpdgcNCwqQBwo+EBcMmAoODgmbCxUiOAcHFngTCwpzIisLDAcXugsSARciKXYIDAsKkAcMPA8XC5gKDgKAlQwSMwR6AghMDhQUFA5MCAJ6BDMSDJWVDREzBAQ+OAIITA4UFBQzKQYEeAQzEQ2VlQwSMwR6AghMDhQUFA5MCAJ6BDMSDJWVDREzBAQ+OAIITA4UFBQzKQYEeAQzEQ2VAhbUlpbUlv8ANExMNDVLSwQ1NExMNDVLS/6QuQoTARgjKTBDCwkMBx53B1oTDGwvGA8KmQoVWQcIhRsJCg5OFiwmGAERC7kKEwEYIykwQwsJDAgedgdaEg5sLhgPCpkKFVkHCIUbCAsQTBYwIhcCEf3gjBAPGxlxGQQDR14VAgIVXkcDBBlxGRsPEIwQDx0XcRkEAwIkIF0VAgJHKQJGAwQZcRcdDwPwjBAPGxlxGQQDR14VAgIVXkcDBBlxGRsPEIwQDx0XcRkEAwIkIF0VAgJHKQJGAwQZcRcdDwAAAAACAAD/fwcABQAAJQBPAAAAEAYEIyInBgcGByMiJicmND4FNz4ENy4BNTQ2JCAEARQGBx4EFx4GFAcOAScmJyYnBiMgJxYzMiQ3PgE1NCceAQWAvP67v1ZafJokMgMLEwIBAQMCBQMGAQUkEB0VCnyOvAFFAX4BRQI8jnwKFR0QJAUBBgMFAgMBAQMUDDIkmnxaVv7xyToeoQEodH2GF4GWA4v+6uyJEFgoCQcQDQMHBgYEBwMHAQYmFSUoGEjSd4vsiYn9iXjRSBgoJRUmBgEHAwcEBgYHAw4QAQcJKFgQhARaVFzwhk1LR9YAAAMAAP+ABgAGAAAHADwAbQAAJDQmIgYUFjIBNCYjITQ2NTQmIw4CBwYHDgYrAREzMh4EFxY7ATI1NCc+ATQnNjU0Jic+ATcUBxYVFAcWFRQHFgYrAiImJyYjISImNRE0NjMhNjc2Nz4CNzYzMh4BFRQHMzIWAQAmNCYmNASmTjL+oGBAYBoYJSkWNwQmGSwkKScQICANJR0vFzAF04N5wAUeIxI1FA8gK4AxCSYDPAGsjSRdYLt7dBb+4DVLSzUBEiRlOjEYFyYrJzNUhkYwsGiYpjQmJjQmAoAzTTrLO2JeGnaFKxdEBTIgNSMkEv2ABgcPCBECSacaHhBJSiAyRRk9EQFcJFlKISRNQxUWZU2LoS0rKEs1AoA1SxiDSzUZeYQqJUGKdV1jmAAAAAMAAP8ABgAFgAAHAD4AcQAAADQmIgYUFjIBNCYnPgE1NCc2NTQmJzY1NCYrASIHDgUrAREzMh4FFxYXHgIXMjY1NCY1ITI2NxQGKwEWFRQHDgEjIicuAycmJyYnISImNRE0NjMhMjc+ATsBMhYHFRYVFAcWFRQHFgEAJjQmJjQEpisgDxQ1EiMeBWJXgIPTBTAXLx0lDSAgECcpJCwZJgQ3FiklGBpgQGABYDJOgJhosDAjI4ZUMyciKAsYEzA7ZST+7jVLSzUBIBZ0gL5pcIytATwDJgkxBCY0JiY0Jv4AI1wBET0ZRTIfJiVJEB4aVVJJAhEIDwcG/YASJCM1IDIFRBcrhXYaXmI7yzpNMmeYY112REVBJSFiU1YVMk2DGEs1AoA1SygsLJ6JBU1lFhVDTSQhSQAAAAEAAP+tA0AF4AASAAABEQUGIyImNTQ3EwEmNTQ3JRM2A0D+PxYSFRUCVv6UGTgB9uETBeD6xewMHRUGDgH0AWIbFSUJSQHHKQAAAAACAAD/gAcABYAAHAA5AAABNC4DIg4CBwYiJy4DIg4DFRQXCQE2NxQHAQYiJwEuBDU0NjMyHgIXPgMzMhYGgCtDYFxoeGVIGBI+EhhIZXhoXGBDK7sCRQJEvIDl/ZESNBL9kAojTDwv/uA+gW9QJCRQb4E+4P4DrFF8SS4QM01DHBYWHENNMxAuSXxRqLv90AIvvKjd5f2oEhICWggkX2SOQ9z4K0lAJCRASSv4AAAAAAIAAAAABiAFAAAoAEAAACUUFg4CIyEiJjURNDYzITIWFRQWDgIjISIGFREUFjMhOgIeAwAUBwEGIiY1ESEiJjURNDYzIRE0NjIXAQKAAgEFDw3+wHepqXcBQA0TAgEFDw3+wEJeXkIBIAEUBhEGCgQDoBP94BM0Jv5AGiYmGgHAJjQTAiBgBCAVGg2pdwLAd6kTDQQgFRoNXkL9QEJeAgQHCwIyNBP94BMmGgEgJhoBgBomASAaJhP94AAABAAA/4AGAAWAAAMADwAlADUAADczESM3LgEiBhUUFjsBMjYBMxE0JiMiBzM1IxYDMxE0Nz4BMzIVAREUBiMhIiY1ETQ2MyEyFu3n5/YBRnRJRzkBO0gCSeeSeIhJAucDA+cHDzwsdAHUqXf8QHepqXcDwHepegK21jRERDQzRUX8pwGOmp51ZUL9jAGEJhIjMZ0Cc/xAd6mpdwPAd6mpAAIAAP8ABIAFgAALAC4AAAERNCYiBhURFBYyNgEUBiMhAw4BKwEiJwMhIiY1NDYzESImNDYzITIWFAYjETIWAeASHBISHBICoCYa/lMzAhEMARsFTP5sGiadYzRMTDQCgDRMTDRjnQKgAcAOEhIO/kAOEhL+rhom/h0MERsB5SYae8UCAExoTExoTP4AxQAAAAIAAAAABwAGAAAnAD8AAAERFAYjISImNRE0NjMhMhYdARQGIyEiBhURFBYzITI2NRE0NjsBMhYBERQGIi8BAQYiLwEmNDcBJyY0NjMhMhYFgKl3/MB3qal3AsAOEhIO/UBCXl5CA0BCXhIOQA4SAYAmNBOw/XQKGgpyCgoCjLATJhoCABomAmD+wHepqXcDQHepEg5ADhJeQvzAQl5eQgFADhISA1L+ABomE7D9dAoKcgoaCgKMsBM0JiYAAgAAAAAGAAUAABcAQAAAABQHAQYiJjURISImNRE0NjMhETQ2MhcJAREUBiMhIiY1NCY+AjMhMjY1ETQmIyEqAi4DNTQmPgIzITIWBKAT/eATNCb+QBomJhoBwCY0EwIgAXOpd/7ADRMCAQUPDQFAQl5eQv7gARQGEQYKBAIBBQ8NAUB3qQKaNBP94BMmGgEgJhoBgBomASAaJhP94AEz/UB3qRMNBCAVGg1eQgLAQl4CBAcLCAQgFRoNqQADAAD/gAaABYAABgANAEkAAAEmNSEVFBYlNSEUBz4BNxUUDgIHBgcOARUUFjMyFh0BFAYjISImPQE0NjMyNjU0JicmJy4DPQE0NjMhNTQ2MyEyFh0BITIWAcpK/wC9BMP/AEqNvYBTjc1xKjUmHT1DS3USDvzADhJ1S0M9HSY1KnHNjVM4KAEgXkICQEJeASAoOAKNotFgTqj2YNGiHajOgEeQdE8FNikiTTM2SltFQA4SEg5ARVtKNjNNIik2BU90kEeAKDhgQl5eQmA4AAAACQAA/4AGAAWAAAcADwAXAB8AJwAsADIAgQCRAAABNicmBwYXFicmBwYXFjc2JzYnJgcGFxYXNiYnJgYXFhc2JyYHBhceATQjIhQ3JgYXFjYBNAAgABUUEhcWNjU0Jw4CLgEnJicuAzYzMh4BFx4BMjY3NjcuAzU0NyY3NhYfATYyFz4CFxYHFhUUDgMHFhUUBhUUFjc2EgERFAYjISImNRE0NjMhMhYCBwQHCQUEBwkXBQcGBgcFBi8CBwcBAwcIFgIBAwYIBQZbAgsJBAILCS4MCj0CFgICFAKC/tT+WP7UxJoSEQEGEzQsKwgXIgIFCwMLDgYSKgwQKywgDgcaMUpIJzUYHRNHGRo6jDoLI0wTHRg1HCtAPSYjARESmsQBAKl3/EB3qal3A8B3qQFQBgcHBQYHBy4HAwQICAMEMQQEAgQFAwITAQcCBwgHBkcHBAMHBwQDBBAQDwcEBwgEAUXUASz+1NSn/vU0AxAMNCsBAwEJHxo7DwEFCwgHBBsWHBwHBi8WBhk1Y0ZPOj5KBhsQEBERBxYeBko+Ok85VzUkEAQfQChiAgwQAzQBCwKH/EB3qal3A8B3qakABAAA/4AGgAXAAAcADwAnAD8AACQ0JiIGFBYyJDQmIgYUFjITERQGIyEiJjURNDYzIR4BMyEyNjchMhYBBiMhERQGIyEiJjURISInJjcBNjIXARYFACY0JiY0ASYmNCYmNKY4KPpAKDg4KAGrFWM9AQA9YxUBqyg4/rsRKv8AJhr/ABom/wAqEREfAcASNhIBwB8mNCYmNCYmNCYmNCYBIP7AKDg4KAFAKDg4SEg4OAJgKP5AGiYmGgHAKCceAcATE/5AHgAAAAACAAD/gAX/BYAAMQBjAAABNCYnLgI1NDY1NCcmIyIGIyImIyIOAQcGBw4CFRQWFRQGFBYzMjYzMhYzMjc+ARI3FAIGBwYjIiYjIgYjIiY1NDY1NCY1ND4CNzY3NjMyFjMyNjMyFhUUBhUUHgIXHgEFfw4LDAoICgoECRNOFDzoOytnQziJQWB/MRkWGBYYYRk54Tm1Z4HVd4CM/Jt8yjniOBhhGUllFhkkSYBWTprCejznOhNMFFFKCgQDDAIQEgLGLIsbHhwtGhdbFiUSAQkwFxgWNjFJ6e+BKKApF1csHRYfJC3XARSLpf67+zcsHR1vSRhYFyihKW/VzrZBOz1OMAplVBdaFw0YCSAEKJ0AAAEAAAAABYAFgABPAAABFAYHBgcGIyIuAycmJyYAJyYnLgQ1NDc2Nz4BMzIXFhceAhceAhUUDgIVFB4CFx4BFx4DMzI+AjMyHgEXHgIXFhcWBYAUCxVlXlwbND8fUAliTX/+7k8wIwMeCxIHMzgyGVcbDgcSIwsmIA8DHQ45QzkKBxUBTMSJAiIOGwkSODI8FA4dKgQZOUYTRgYDASgbVxkyODMHEgseAyMwTwESf01iCVAfPzQbXF5lFQsUAwZGE0Y5GQQqHQ4UPDI4EgkbDiICicRMARUHCjlDOQ4dAw8gJgsjEgcAAAACAAAAAAWABYAADwAfAAABISIGFREUFjMhMjY1ETQmFxEUBiMhIiY1ETQ2MyEyFgRg/MBCXl5CA0BCXl7eqXf8wHepqXcDQHepBQBeQvzAQl5eQgNAQl6g/MB3qal3A0B3qakAAgAA/5cFAAWAAAYAIwAAASERATcXARMyFx4BFREUBgcGIyInCQEGIyInLgE1ETQ2NzYzBID8AAGnWVkBpwwXFSEnJyETGTAj/kf+RyQvFxUhJychFRcFAPsmAZZVVf5qBVoJDTgi+vciOA0IIAGo/lghCQ04IgUJIjgNCQAAAAACAAD/gAYABYAARwBXAAABNC4EJy4CIyIOAiMiLgInLgEnLgM1ND4CNTQuAScuBSMiBw4BFRQeBBcWABceBTMyNjc2AREUBiMhIiY1ETQ2MyEyFgUABCAxLi0GBRwWCg8rJCkNBxMMFgNjjjgCDQYHKTEpChQDAxgaGxcKCzA1LkQFBQ0HEgI8ATmkBjASKRkkEDmTFRYBAKl3/EB3qal3A8B3qQFXCwoXGxoYAwMUCikxKQcGDQI3j2MDFgwTBw0pJCsPChYcBQYtLjEgBBYVkzkQJBkpEjAGpP7HPAISBw0FBUQuNQM5/EB3qal3A8B3qakAAQAsAAAGVAUAADEAAAEGBxYVFAIOAQQjICcWMzI3LgEnFjMyNy4BPQEWFy4BNTQ3FgQXJjU0NjMyFzY3Bgc2BlRDXwFMm9b+0qz+8eEjK+GwaaYfIRwrKnCTRE5CTix5AVvGCL2GjGBtYCVpXQRoYkUOHIL+/e63bZEEigJ9YQULF7F1BCYDLI5TWEuVswomJIa9ZhU5cz8KAAAAAQBf/4ADvwYAABQAAAERIyIGHQEhAyMRIREjETM1NDYzMgO/nVY8ASUn/v7O///QrZMF9P74SEi9/tj9CQL3ASjaus0AAAAACAAA/6IGAAWAAFQAXABkAGsAcwB6AIIAiAAAACAEEhUUAAcGJjU0NjU0Jz4ENTQnNicmBg8BJiIHLgIHBhcGFRQeAxcGBw4BIiYnLgEvASIGHgEfAR4BHwEeAz8BFBYVFAYnJgA1NBITNicmBwYXFhc2JyYHBhcWFzYnJgcGFhc2JyYHBhcWFzYnJgYXFjc0ByIVFDcyNyYHBhY2Ai8BogFhzv7b6BsaATQ5W2FBKU8lLRxqJyZdxl0QNXIcLSVPKUBhWzknChUwQkEXEzsUFBUQBgwHBxYrCgoNPkhDFhcBGhvo/tvOVQMKCgMDCgkjBwkKBgcJCiQJCQgJCRIyCAwMCAkNDEEDEA8IEQ9DERAREDoCEBAEIAWAzv6f0fv+b00FGBIDkz1hLQYYNk+DVXdXW3EJKBgYGhoLIC0JcVtXd1WCUDYYBiRDCgorKSAoBAMJDg4FBQo4FxcmLw0BBAQmZQQSGAVNAZH70QFh/H8HBQMFBwUGGgULCQYFCwomBwwNBwUaJAgLDAkICwwQCwUEFgQGBw0CCw0CFQsCAxgIAAAAAQAAAAAGgAWAACUAAAERFAYrASImNRE0JiIGHQEzMhYVERQGIyEiJjURNDYzITU0ACAABoAmGkAaJpbUlmAoODgo/EAoODgoAqABBwFyAQcDwP8AGiYmGgEAapaWasA4KP3AKDg4KAJAKDjAuQEH/vkAAAAFAAD/gAeABYAADwAZACMAJwArAAABMhYVERQGIyEiJjURNDYzFSIGHQEhNTQmIxEyNjURIREUFjM3NSEVMzUhFQbgQl5eQvnAQl5eQg0TBoATDQ0T+YATDWABAIABgAWAXkL7QEJeXkIEwEJegBMN4OANE/sAEw0CYP2gDROAgICAgAADAAAAAAWCBYAABwAhAD0AAAAUBiImNDYyARYHBisBIiYnJgAnLgE9ATQ3NjsBFgQXFhIFFgcGKwEiJicmAgAkJy4BPQE0NzY7AQwBFxYSAYBwoHBwoAJwAhMSHYcZJAIW/rvlGSEVERoFoAEkcXKHAg0CFBIcjxolAQyy/uP+fdcZIxQSGgMBBgHfurvWARCgcHCgcP7FHBQVIRnlAUUWAiQZhx0SEQ2HcnH+3KIbFBQjGdcBgwEdsg0BJRmPHBISDda7uv4hAAUAAAAABgAFAAAHAA8AHwApAD8AAAAUBiImNDYyBBQGIiY0NjIXETQmIyEiBhURFBYzITI2ASEDLgEjISIGBwERFAYjISImNRE0NxM+ATMhMhYXExYEEC9CLy9CAS8vQi8vQp8TDftADRMTDQTADRP7MgScnQQYDvzyDhgEBLFeQvtAQl4QxRFcNwMON1wRxRABYUIvL0IvL0IvL0Iv8AFADRMTDf7ADRMTAe0B4g0REQ39fv7AQl5eQgFAGTICXjVCQjX9ojIAAgAA/3YHAAWAAC4ANAAAATIWFAYjERQGIwAlDgEWFw4BHgIXDgEmJy4ENjcjIiY9ATQ2MyEgATIWFQMRAAURBAaANUtLNUw0/l/+dTpCBCYUBhIxLyYdpawuBy0TGwMKEXpCXl5CAeABswHNNEyA/nb+igF5A4BLakv+gDRMAVshE15rJyFBMzspHjoyGyoXgTx2VHE2XkLAQl4BgEw0/CQDuv7SKf7yKgAAAAMAQP8ABsAGAAALABkAQQAABDQjIiY1NCIVFBYzASEAETQuAiIOAhUQARQGIyEUBiImNSEiJjU+BDU0EjcmNTQ2MhYVFAcWEhUUHgMDkBA7VSBnSf12BRT+9jBambqZWjAEwEw0/kCW1Jb+QDRMMlJYPSfqvgg4UDgIvuonPVhSsCBVOxAQSWcBMAEsAhQzbGI/P2JsM/3s/tQ0TGqWlmpMNCpck6ryi5gBBRwTFCg4OCgUExz++5iL8qqTXAAAAAH/+P94BggFiQBJAAABFxYHBg8BFxYHBi8BBwYHBiMiLwEHBicmLwEHBicmPwEnJicmPwEnJjc2PwEnJjc2HwE3Njc2HwE3NhcWHwE3NhcWDwEXFhcWBwVgih4KDCi8NQwfHSm6MAopDAcfFIeHHCopCjC6KR0fDDW8KAwKHoqKHgoMKLw1DB8dKbowCikpHYeHHSkpCjC6KR0fDDW8KAwKHgKAhxwqKQowuikdHww1vCgMAhaKih4KCym8NQwfHSm6MAopKhyHhxwqKQowuikdHww1vCkKDB+Lix4LCim8NQwfHSm6MAopKhwAAwAA/4AHAAWAAAcANQBoAAAkNCYiBhQWMgE0JiMhND4CNTQmIyIHBgcGBwYHBisBETMyHgEzMjU0Jz4BNCc2NTQmJyEyNjcUBisBBgcWFRQHFgYjIicmIyEiJjURNDYzITI+BTc2Nz4EMzIWFRQHITIWAQAmNCYmNAWmTjL9wB4kHllHGEIYDShIRx5FRyAgSL7FUb0FHiMSNRQPAUs0TICXaakEIQM8AayNhb2kO/7gNUtLNQEgChcYFRsOGAJBIw0oIi8/Jn2jFgF2aJimNCYmNCYCgDNNFDk1UytDPYssFUBRURk5/YBAQKcaHhBJSiAyRRk9EUw1aZg+ORUWZU2LoUU7SzUCgDVLCRMRHA8cA0o3FVI+QCOGekQ8mAAAAwAA/4AHAAWAADUAPQBxAAAlMxEjIi4CJyYnJicmJy4EIyIGFRQeAhUhIgYVFBYzIQ4BFRQXBhQWFwYVFBYzMj4BJDQmIgYUFjITERQGIyEiBwYjIiY/ASY1NDcmJyMiJjU0NjMhJjU0NjMyHgMXFhceBjMhMhYFYCAgI0E8KB0IBEgoDhgBExIWFQhHWR4kHv3AMk5MNAFLDxQ1EiMeBGFXVMa+AWgmNCYmNKZLNf7gO6S+f46wAQE9AyEEqWmXmGgBdhajfSY/LyIoDSNBAhgOGxUYFwoBIDVLgAKAGDIqIQkFUUAWLgMnISYXPUMrUzU5FE0zNEwRPRlFMiBKSRAYIFVSQEAmNCYmNCYCgP2ANUs7RZuMBUxmFhU5PphpZ5g8RHqGI0A+UhU3SgMcDxwREwlLAAAAAwAA/wAGAAYAAAcANQBoAAAENCYiBhQWMhM0IyIHLgEiByYjIgYHETQmIyIGFREiLgIjIgYVFBcWFxYXFhcWHQEhNTQ+ATcUBwYVERQGIyEiJjURNC4FJyYnLgQ1NDYzMhcRNDYzMhYdARYXNjMyFzYWBQAmNCYmNKanGh4QSUogMkUZPRFMNDNNFDk1UytDPYssFUBRURk5AoBAQIBFO0s1/YA1SwkTERwPHANKNxVSPkAjhnpEPJhnaZg+ORUWZU2LoVo0JiY0JgM8vQUeIxI1FA8BSzRMTjL9wB4kHllHGEIYDShIRx5FRyAgSL7FVoW9pDv+4DVLSzUBIAoXGBUbDhgCQSMNKCIvPyZ9oxYBdmiYl2mpBCEDPAGsAAAAAwAA/wAGAAYAADQAPABwAAABNC4BPQEhFRQOAgcGBwYHBgcOBBUUFjMyPgIzERQWMzI2NREWMzI3FjI2NxYzMjYCNCYiBhQWMgEUBi8BBiMiJwYHFRQGIyImNREGIyImNTQ+Azc2Nz4GNRE0NjMhMhYVERQXFgWAQED9gBgyKiEJBVFAFi4DJyEmFz1DK1M1ORRNMzRMLjlFMiBKSRAYIFVSgCY0JiY0ASabjAVMZhYVNkGYaWeYNkp5hyNAPlIVN0oDHA8cERMJSzUCgDVLO0UCQFTGvkggICNBPCgdCARIKA4YARMSFhUIR1keJB79wDJOTDQBSyM1EiMeBGEDPTQmJjQm/USOsAEBPQMeB6lpl5hoAXYWo30mPy8iKA0jQQIYDhsVGBcKASA1S0s1/uA7pL4AAAAAAgAA/4AGAAWAAB8AKwAAATU0JiMhNzY0LwEmIgcBBwYUHwEBFjI/ATY0LwEhMjYAEAIEICQCEBIkIAQFACYa/gq9ExNbEjYS/pZbEhJbAWoSNhJbEhK9AfYaJgEAzv6f/l7+n87OAWEBogFhAkCAGia9EzQTWxIS/pZbEjYSW/6WEhJbEjYSvSYBK/5e/p/OzgFhAaIBYc7OAAAAAgAA/4AGAAWAAB8AKwAAADQvAQEmIg8BBhQfASEiBh0BFBYzIQcGFB8BFjI3ATckEAIEICQCEBIkIAQFBRJb/pYSNhJbEhK9/goaJiYaAfa9ExNbEjYSAWpbAQ3O/p/+Xv6fzs4BYQGiAWECZTYSWwFqEhJbEjYSvSYagBomvRM0E1sSEgFqW/7+Xv6fzs4BYQGiAWHOzgACAAD/gAYABYAAHwArAAAANCcBJyYiDwEBBhQfARYyPwERFBY7ATI2NREXFjI/ASQQAgQgJAIQEiQgBAUEEv6WWxI2Elv+lhISWxI2Er0mGoAaJr0TNBNbAQ7O/p/+Xv6fzs4BYQGiAWECZjYSAWpbEhJb/pYSNhJbEhK9/goaJiYaAfa9ExNb/f5e/p/OzgFhAaIBYc7OAAIAAP+ABgAFgAAfACsAAAA0LwEmIg8BETQmKwEiBhURJyYiDwEGFBcBFxYyPwEBJBACBCAkAhASJCAEBQQSWxI2Er0mGoAaJr0TNBNbEhIBalsSNhJbAWoBDs7+n/5e/p/OzgFhAaIBYQJkNhJbEhK9AfYaJiYa/gq9ExNbEjYS/pZbEhJbAWr//l7+n87OAWEBogFhzs4AAwAA/4AGAAWAAAsB2AIYAAAAIAQSEAIEICQCEBIBDgEHMj4BNzY3Njc2FyY2Nz4BPwEGJicUBzQmBicuAicuAScuAyIOASMmDgIHDgEHNicmBzYmJzMuAicuAQcGHgEVFgYVFBYHDgEHBhYXFg4CDwEGJicmJyYHJicmBzYnJgc+ATU2Nz4CIxY3PgE3Nh4BMxY2JxYnJicmBwYXJg4BJy4BJyIHNiYnNicuAQcOAR4CFxYHDgIHBhYHLgEnFi8BIgYmJyY3NhcuAScGBxY3PgE3Nhc3FhcmBwYHFgcuAiciBwYHFhceAjcWBzYXFhcWBy4BBwYWNyIGFAcXBhY3BhcWFx4CFx4BFwYWByIGIx4BFx4CNzYnJicuAScyHgIHBh4CFx4BIzIWFx4BFx4DFx4BFxYyNjc2FhcWNwYeAhceARc2NwYWNzY1Bic0LgI2MzI2JicuAScGJicUBhUiJz4BNz4DJgcGBw4CBwYmJy4BNTQ+ASc+ATc+ARY2NyYnJiMWNhcWNzQmNxY3HgEXHgI2NxYXFhcWPgEmLwE0NScuATY3PgI3NicyNyIuASM2Jz4BNxY3Nic+ATcWNjQ3PgE/ATYjFjc2JzYmJzYWNzYnJgM2Ny4BJyYnNi4CJy4DBiMHDgMXJicuAgYHDgEHJjYnJg4EBw4BBy4BNR4BFxYHBgcGFxQGFxQCLwGiAWHOzv6f/l7+n87OA0QCDwYCBQUBBhAOJiIRAhcDAxgDAgwLAQYJDgIKCgYBAg8CAQMDBQYIBwEDBgMGAgMLAw8QCgYJAwcFAQ8UAwg0BwUBBwENHAQDGgMFBwcCAQYFBAMLEwQHCRcGBSQZIQYGBwwDAgMJAQwHAyMPBQ0ECQoTBQ4DCQwJBAQMDwgKAREQCAEJBQgIAxwKExsHGwYFAQsKDQIOBgINCgEDBgUFCAMHIAoEGBEFBAQBAwQOAy4wBgYFEAIiCAUOBgcXFAIHAgQPDggQBpJZBwUEAgMKCQYBKxMCAw0BEAEDBwcHBQECAxENDSEGAgMSDAQEDAgCFwEBAwEDGQMBAgQGAhoPAgMFAgIICQYBAwoOFAIGEAgJFgYFBgICDQwUAwUbCAoMEQUPHAckEwIFCwcCBRoFBgEDFAgOHxIFAwICBAkCBgEBFAIFFgUDDQIBAwIBCQYCCwwTBwEEBgYHIgcNEwUBBgMMBAIFBAQBAQMDAQcrBg8HBQIFGAMZBQMIAwcFCgILCAcIAQEBAQEPBwoKAQ4RBBUGBwQBCAcBCQcFBQUJDAgHBR8DBwIDBBYCEQMDEg0KEAMMCQMRAg8WEb3OkQMTAxIGAQcJEAMCCgQLBgcDAwUGAgEVDwUMCQsGBQIBBw4FAw8JDgQNAgMGAgITAgQDBxMbAgQQEAEFgM7+n/5e/p/OzgFhAaIBYf7FAREBCgwBBwgGBggTAhYBAgUFFgEQDQIGBwIEAQMJGAMFDAQCBwYFCgoCAQEFAQICAQUGBAEEEAYECQgCBQkEBgkTAwYOBQcRDQgQBAgVBgIEBQMCAgUWDxkFCAkNDQkFAQ4PAwYXAg0KAQ8MBA8FGAUGAQoBGAgBEgcCBAkEBAEXDAsBGQEPCA4BDA8EAgUHCQcEBAEKBAEFBAIEFAQFGQQJAwEEAgcIDAQCAw0CDxoBAgIJAQ4HBRAJBAMGBgwGAw4IAQFQjgcBARAGBggLARwRBAsHAg4DBRsBICcEAQwtAwMoCAECCwkGBSMGBhwJAgcOBgMOCAIUKhkEBRUEAwQEAQcVEBYCBhsVCQgkBgcNBgoCAhEDBAUBAiIEEwgBDRILAwYSBgQFCBgCAx0PIQEJCAkGBxIECBgDCQIIAQkCAQMdCAQQDQwHAQETAw8IAwMCBAgqEAohERACDwMBAQEEBAECAwMJBgsNAREFGxIDBAMCBwIDBQ4KKAQDAhELBwgJCQgDEhMJAQUIBBMQCQYEBQsDEAIMCggIBwcGAggQBAUIAQsEAg0LCQYHAgEBAgoGBfyCJJkDAwIHAQcMBgoCAggDBgIBAQMDAwERBQEJBQIGBRQDBRkGBgMGCwIJAwQQAwQFAwoyDR8RGQ8WBAcbCAYAAAMAFf8VBn4FgAAHABUALwAAJDQmIgYUFjIJAQYjIi8BJjU0NwEeAQEUBw4BIyIAEAAzMhYXFhQHBRUXPgIzMhYBgCY0JiY0Aqr9ViU1NCdqJiYCqSeXAtwXL+uNuf75AQe5On8sEBD+28EFlHsJDxEmNCYmNCYB5P1WJSVsJDY1JgKpYpcBjCdDhqcBBwFyAQchHgsiC6ngawNbRxQAAAAGAAAAAAcABYAAAwAHAAsAGwArADsAACUhNSEBITUhASE1IQERFAYjISImNRE0NjMhMhYZARQGIyEiJjURNDYzITIWGQEUBiMhIiY1ETQ2MyEyFgQAAoD9gP6ABAD8AAKAAYD+gAIAJhr5gBomJhoGgBomJhr5gBomJhoGgBomJhr5gBomJhoGgBomgIABgIABgID8QP8AGiYmGgEAGiYmAeb/ABomJhoBABomJgHm/wAaJiYaAQAaJiYAAAH/9P+ABYwFAAAVAAABFgcBERQHBiMiJwEmNREBJjc2MyEyBXsRH/4TJw0MGxL/ABP+Ex8RESoFACoE2Skd/hP9GioRBRMBABMaAeYB7R0pJwAAAAQAAAAABwAGAAADABcAGwAvAAABITUhAREUBiMhIiY1ESEVFBYzITI2PQEjFSE1AREhETQ2MyE1NDYzITIWHQEhMhYCgAIA/gAEgF5C+kBCXgKgJhoBQBomYP8ABAD5AF5CAWA4KAJAKDgBYEJeBQCA/QD+IEJeXkIB4KAaJiYaoICAAeD+gAGAQl6gKDg4KKBeAAABAAD/gAYABYAARwAACQI3NhcWFREUBiMhIicmPwEJARcWBwYjISImNRE0NzYfAQkBBwYjIicmNRE0NjMhMhcWDwEJAScmNzYzITIWFREUBwYjIicFA/6dAWOQHSknJhr+QCoRER+Q/p3+nZAfEREq/kAaJignHpABY/6dkBMaDAwoJhoBwCoRER+QAWMBY5AfEREqAcAaJicNDBoTA+P+nf6dkB8RESr+QBomKCcekAFj/p2QHicoJhoBwCoRER+QAWMBY5ATBREqAcAaJignHpD+nQFjkB4nKCYa/kAqEQUTAAAGAAD/AAeABgAAEQAxADkAQQBTAFsAAAEGByMiJjUQMzIeATMyNwYVFAEUBiMhIiY1ND4FMzIeAjI+AjMyHgUAFAYiJjQ2MgAQBiAmEDYgARQGKwEmJzY1NCcWMzI+ATMyAhQGIiY0NjICUaJnhlJwfAZLeDtDQgUEgJJ5/JZ5kgcVIDZGZT0KQlCGiIZQQgo9ZUY2IBUH/ACW1JaW1ANW4f7C4eEBPgMhcFKGZ6JRBUJDO3hLBnyAltSWltQCgAV7UU4BYSorFyUdi/0OeIuLeDVldWRfQygrNSsrNSsoQ19kdWUFMtSWltSW/h/+wuHhAT7h/Z9OUXsFdYsdJRcrKgFq1JaW1JYAAAAAAwAQ/5AGcAXwACEAQwBpAAABNC8BJiMiBx4EFRQGIyIuAycGFRQfARYzMj8BNgE0LwEmIyIPAQYVFB8BFjMyNy4ENTQ2MzIeAxc2ABQPAQYjIi8BJjU0NycGIyIvASY0PwE2MzIfARYVFAcXNjMyHwEFsBzQHCgqHgMgCxMHOCgPGRoMHwMhHM4bKSgckxz9QRzOHCgnHZMcHNAbKSoeAyALEwc4KA8ZGgwfAyEDf1WTU3h5U85TWFhWenhU0FRVk1N4eVPOU1hYVnp4VNABQCgc0BwgAx8MGhkPKDgHEwsgAx8qKBzPGxqSHALoKBzPHBuSHCcoHNAbHwMfDBoZDyg4BxMLIAMf/eHwU5JTVc9TeHtWWFhU0FTwU5JTVc9TeHtWWFhU0AABAAAAAAeABYAAGwAAARQGIyEiADU0NjcmNTQAMzIEFzYzMhYVFAceAQeA4Z/7wLn++Y50AgEs1J4BATtGYGqWKYGoAYCf4QEHuYTbNhwP1AEssI4+lmpLPx7RAAIAUf+ABi8FgAAXACEAACUWBiMhIiY3AREjIiY0NjMhMhYUBisBEQUBIQEnNREjERUF9zhFavuAakU4AfdAGiYmGgIAGiYmGkD+7P7wAsj+8BSAWFl/f1kDGQGPJjQmJjQm/nFE/lMBrR8lAY/+cSUAAAAAB//2/4AHAwUAAAcATgBcAGoAeACGAIwAAAAyFhQGIiY0BQEWBwYPAQYjIicBBwYHFgcOAQcGIyInJjc+ATc2MzIXNj8BJyYnBiMiJy4BJyY2NzYzMhceARcWBxYfAQE2MzIfARYXFgcFNiYnJiMiBwYWFxYzMgM+AScmIyIHDgEXFjMyARc1ND8BJwcOAQcOAQcfAQEnARUHFxYXHgEfAQE3AQcGBwOmNCYmNCYBbAH7HAMFHoANEBEO/U5uCAQOBAdiU4SRiFZaCwdiUoSSU0QJDXp6DQlEU5KEUmIHBSkrVYmRhFNiBwQOBAhuArIOERANgB4FAxz7XC4yUVxkSicuMlFcZEouUTIuJ0pkXFEyLidKZAEOYCEOTxoDDgUCBAHXYALggP0AoAkCBQQOBBoDYID9+LECCwKAJjQmJjQa/nIUJCMQQAcIAYNCBAExME2NNVROVHtMjjVUHw0JSUkJDR9UNY5MO2wnT1Q0jk0wMQEEQgGDCAdAECMkFIoqhDM7JCqEMzv9OzOEKiQ7M4QqJAKgOgskFAgvGgMQBAIDAekgAkBA/lFxYAgCBAQQBBr+wEABmIoDBAAABQAA/wAHAAYAAB8AIgAlADMAPAAAATIWFREUBiMhIiY1ESEiJjURNDY3AT4BMyEyFhURNjMHASEJASETAREhERQGIyERIRE0NgERIREUBiMhEQagKDg4KPxAKDj94Cg4KBwBmBxgKAGgKDhEPID+1QEr/YD+1QErxAE8/oA4KP5gAgAoA9j+gDgo/mAEgDgo+0AoODgoASA4KAKgKGAcAZgcKDgo/rgo1f7VAqv+1f6kATwBoP5gKDj9gAEAKGD8+ASA/mAoOP2AAAAAAQAE/4QFfAV8AD8AACUUBiMiJwEmNTQ2MzIXARYVFAYjIicBJiMiBhUUFwEWMzI2NTQnASYjIgYVFBcBFhUUBiMiJwEmNTQ2MzIXARYFfJ51h2T893Hcn55zAl0KPRANCv2iT2ZqkkwDCD9SQFQ//bsaIh0mGQGaCj4QDAr+Zj9yUlg9AkVkl3WeZAMIc5yf3nH9ogoMED0KAl9NlmppTPz3P1RAUj8CRRgmHSAb/mYKDBA+CgGaPVhScj/9u2IABAAA/4AGAAWAAAMAIQAxAEUAACkBESEBMxE0JicBLgEjERQGIyEiJjURIxEzETQ2MyEyFhUBETQmKwEiBhURFBY7ATI2BREUBiMhIiY1ETQ2MyEyFhcBHgEBgAMA/QADgIAUCv7nCjAPOCj9wCg4gIA4KANAKDj+gBMNwA0TEw3ADRMCgDgo+sAoODgoA6AoYBwBGBwoAYD+gAOADjEKARkKFP5gKDg4KAGg+wABoCg4OCgCAAFADRMTDf7ADRMTE/xgKDg4KAVAKDgoHP7oHGAAAAABAAD/gAYABYAADwAAAREUBiMhIiY1ETQ2MyEyFgYAqXf8QHepqXcDwHepBGD8QHepqXcDwHepqQAAAAADAAAAAAYABQAADwAfAC8AACUVFAYjISImPQE0NjMhMhYRFRQGIyEiJj0BNDYzITIWERUUBiMhIiY9ATQ2MyEyFgYAJhr6gBomJhoFgBomJhr6gBomJhoFgBomJhr6gBomJhoFgBomwIAaJiYagBomJgHmgBomJhqAGiYmAeaAGiYmGoAaJiYABgAA/8AHAAVAAAcADwAfACcANwBHAAAkFAYiJjQ2MhIUBiImNDYyARUUBiMhIiY9ATQ2MyEyFgAUBiImNDYyARUUBiMhIiY9ATQ2MyEyFhEVFAYjISImPQE0NjMhMhYBgHCgcHCgcHCgcHCgBfATDftADRMTDQTADRP6gHCgcHCgBfATDftADRMTDQTADRMTDftADRMTDQTADRPQoHBwoHABkKBwcKBw/aDADRMTDcANExMD46BwcKBw/aDADRMTDcANExMB88ANExMNwA0TEwAAAAAGAA//AAcABfcAHgA8AEwAXABsAHwAAAUUBiMiJzcWMzI2NTQHJz4CNzUiBiMVIzUhFQceARMVISY1ND4DNTQmIyIHJz4BMzIWFRQOAgczNQEVFAYjISImPQE0NjMhMhYBFSE1MzQ2PQEjBgcnNzMRARUUBiMhIiY9ATQ2MyEyFhEVFAYjISImPQE0NjMhMhYBfW1RakI5MTkdK2kaCDEkExBBEGoBTV8zPAL+lgYvQkIvHRkuI1UYXzpJZERSRQF/BeoTDftADRMSDgTADRP6gP6xawECCCpHiGoF7BMN+0ANExIOBMANExMN+0ANExMNBMANE1RQXEJYLR0cQAg4CkMpEgECNZhYcwxKAkCfJBIzVDQrLBcZGzo7MzlTRzJTLjcZPP7BwA0TEw3ADhITA3ZjYymhKQwRJUx//mz+fcANExMNwA4SEwHzwA0TEw3ADRMTAAAAAAMAAP+ABwAFgAAPADUAZQAAATIWHQEUBiMhIiY9ATQ2MyUmJyY1NDc2ITIXFhcWFxYVFA8BLwEmJyYjIgcGFRQXFhcWFxYXAyEWFRQHBgcGBwYHBiMiLwEmJyY9ATQnJj8BNTceAhcWFxYXFjMyNzY3NjU0JyYG4A4SEg75QA4SEg4BwxwXMIaFAQQydUJvCgsOBQxUDjI1WHpyRENCQtVFaDol7AGbBykXMCVIUElQe3JRjDkPCAIBAQJmDx4PBSMtKz47SUBLTS0vUSICgBIOQA4SEg5ADhJAIy1iWrWAfxMMJCZQezwSGwMGApU4Wzs6WElDQz4ULhwY/wAnNW9lODAjLjASFRcoEAwIDg1sMB4mJSwCIkomCDklJBUWGxo8PURUSR0AAgAA/4AGAAWAAGMAcwAAEyYvATYzMhcWMzI3NjcyNwcXFQYjIgcGFRQWFRcTFhcWFxYzMjc2NzY3Njc2NTQuAS8BJicmDwEnNzMXFjcXFhUUBwYHBgcGFRQWFRYTFgcGBwYHBgcGIyInJicmJyY1ETQnJgE1NCYjISIGHQEUFjMhMjYwJQgDDRs8NIQiVlJ0HjgeAQI8QDwTDQEBDgYtIz1YWWhXOCswESQRFQcPBgQFEyIrZA4CVM1MeBIGBC0nSQYPAwgOBhUPGiZKS2ttkqd1dzw9FhARGQVWEg76QA4SEg4FwA4SBSECAlgBBAcDBAECDkAJCRkOdg0nBuX+6HxOOyEvHBIhJBw4OkmcT2KTVjtDFSMBAgNWCgMNAiYNBxgMAQsGDxoHKAsT/ofDbUwuQTo5ICEuL0tMd1CdAU28GST6gkAOEhIOQA4SEgAACgAAAAAGgAWAAA8AHwAvAD8ATwBfAG8AfwCPAJ8AACU1NCYjISIGHQEUFjMhMjYRNTQmIyEiBh0BFBYzITI2ATU0JiMhIgYdARQWMyEyNgE1NCYjISIGHQEUFjMhMjYBNTQmIyEiBh0BFBYzITI2ATU0JiMhIgYdARQWMyEyNgE1NCYjISIGHQEUFjMhMjYBNTQmIyEiBh0BFBYzITI2ETU0JiMhIgYdARQWMyEyNhMRFAYjISImNRE0NjMhMhYCABIO/sAOEhIOAUAOEhIO/sAOEhIOAUAOEgIAEg7+wA4SEg4BQA4S/gASDv7ADhISDgFADhICABIO/sAOEhIOAUAOEgIAEg7+wA4SEg4BQA4S/gASDv7ADhISDgFADhICABIO/sAOEhIOAUAOEhIO/sAOEhIOAUAOEoBeQvrAQl5eQgVAQl6gwA4SEg7ADhISAY7ADhISDsAOEhL+jsAOEhIOwA4SEgMOwA4SEg7ADhIS/o7ADhISDsAOEhL+jsAOEhIOwA4SEgMOwA4SEg7ADhIS/o7ADhISDsAOEhIBjsAOEhIOwA4SEgFO+8BCXl5CBEBCXl4AAAAGABv/mwaABgAAAwATABsAIwArADMAAAkBJwEkFAcBBiIvASY0NwE2Mh8BJRcPAS8BPwEBFw8BLwE/AQEXDwEvAT8BARcPAS8BPwEEpgEla/7bAioS+voSNhLGEhIFBhI2Esb6y2JiHh5iYh4BfMTEPDzExDwD3mJiHh5iYh79nmJiHh5iYh4DuwEla/7b1TYS+voSEsYSNhIFBhISxpEeHmJiHh5i/vw8PMTEPDzE/V4eHmJiHh5iAh4eHmJiHh5iAAAABABA/4AHAAUAAAcAEAAYAE0AACQ0JiIGFBYyASERIyIPAQYVADQmIgYUFjIBERQOBCYjFAYiJjUhFAYiJjUjIgYuBDU0NjMRNCY+Az8BPgE7ATU0NjMhMhYCgExoTExo/swBgJ4NCcMJBQBMaExMaAFMCBMOIQwnA5bUlv6AltSWQAMnDCEOEwgmGgEBBAkTDcYTPxugJhoEABomTGhMTGhMAoABAAnDCQ39rmhMTGhMBMD8AA8XDgkDAQFqlpZqapaWagEBAwkOFw8aJgFACDYWLxsiDcYTGsAaJiYAAAABAAD/gAYABYAASgAAABACBCMiJzY3NjceATMyPgE1NC4BIyIOAxUUFhcWNz4BNzYnJjU0NjMyFhUUBiMiJjc+AjU0JiMiBhUUFwMGFyYCNTQSJCAEBgDO/p/Rb2s7EwktFGo9eb5od+KOabZ/WytQTR4IAgwCBhEz0amXqYlrPUoOCCUXNjI+VhljEQTO/s4BYQGiAWEDUf5e/p/OIF1HIrEnOYnwlnLIfjpgfYZDaJ4gDCAHMAYXFD1al9mkg6ruVz0jdVkfMkJyVUkx/l5Ga1sBfOnRAWHOzgAAAQAA/4AGAAWAAEwAAAEyFhURFAYjITY3NjceATMyEjU0LgIjIg4DFRQWFxY2NzY3NicmNTQ2MzIWFRQGIyImNz4CNTQmIyIGFRQXAwYXIyImNRE0NjME4HepqXf9K1UXCSwVaTy15UZ7tmpotX1aK09NDRUECgUGETLPp5Wnh2o8Sg4IJRY1MT1VGGIYEbd3qal3BYCpd/xAd6l6WCKvJzgBJ+JUnXlJOWB7hUJmnCAFCg4sERcTPliW1aKBqOxXPCJ1Vx8xQXFTSDH+YmSaqXcDwHepAAAAAwAA/4AGAAWAABsAJwA3AAABNCchFTMOAyMiJjQ2MzIXNyYjIgYQFjMyNiUzNSM1IxUjFTMVMwERFAYjISImNRE0NjMhMhYDlQb+ltkDGzBVNmOMjGNcPWhslaDg4KClywFZbW1ubm5uARKpd/xAd6mpdwPAd6kCdxomhBg0NiOOyI47ZWTh/sLh0ndubm5ubgKF/EB3qal3A8B3qakAAAIAAP+jCQAFXQAjAC8AAAEUAgQjIiQmAhASNiQzIBcHJiMiDgEUHgEzMj4DNyE1IRYlFSMVIzUjNTM1MxUFna7+vtCV/vDEdHTEARCVAR7Nx3Wve9F6etF7U4taQx8G/mACtAwDY9HS0dHSAm/Q/ru3dMQBEAEqARDEdMC/cXzV/NV8LkVYTiP8Pz/S0dHS0dEAAAAEAAAAAAeABQAADAAcACwAPAAAASE1IxEjBxc2NzMRIyQUDgIiLgI0PgIyHgEBESImNSEUBiMRMhYVITQ2ExEUBiMhIiY1ETQ2MyEyFgMAAYCAcpRNKg0CgAIAKk1+ln5NKipNfpZ+TQIqapb7gJZqapYEgJbqJhr5ABomJhoHABomAYBgAcCJUCUU/uDmjJB8Tk58kIyQfE5OfP4qAgCWamqW/gCWamqWA0D7gBomJhoEgBomJgAAAQAAAUAEAAOAAA0AAAAUBwEGIicBJjQ2MyEyBAAT/kATNBP+QBMmGgOAGgNaNBP+QBMTAcATNCYAAAAAAQAAAQAEAANAAA0AAAAUBiMhIiY0NwE2MhcBBAAmGvyAGiYTAcATNBMBwAFaNCYmNBMBwBMT/kAAAAAAAQBAAIACgASAAA0AAAERFAYiJwEmNDcBNjIWAoAmNBP+QBMTAcATNCYEQPyAGiYTAcATNBMBwBMmAAAAAQAAAIACQASAAA0AAAAUBwEGIiY1ETQ2MhcBAkAT/kATNCYmNBMBwAKaNBP+QBMmGgOAGiYT/kAAAAAAAwAA/4AGgAWAAAYADQAdAAAzIREhERQWJREhESEyNhMRFAYjISImNRE0NjMhMhagAmD9gBMFbf2AAmANE4BeQvrAQl5eQgVAQl4EgPugDRMgBGD7gBMEzftAQl5eQgTAQl5eAAIAAP/ABAAFQAANABsAAAAUBwEGIicBJjQ2MyEyEhQGIyEiJjQ3ATYyFwEEABP+QBM0E/5AEyYaA4AaJiYa/IAaJhMBwBM0EwHAAdo0E/5AExMBwBM0JgFaNCYmNBMBwBMT/kAAAAAAAQAA/8AEAAIAAA0AAAAUBwEGIicBJjQ2MyEyBAAT/kATNBP+QBMmGgOAGgHaNBP+QBMTAcATNCYAAAAAAQAAAwAEAAVAAA0AAAAUBiMhIiY0NwE2MhcBBAAmGvyAGiYTAcATNBMBwANaNCYmNBMBwBMT/kAAAAAAAgAA/4AHAAUAABoAOgAAAREUBiMhIiY1ERYXBBceAjsCMj4BNzYlNhMUBgcABw4EKwIiLgMnJiQnLgE1NDYzITIWBwBeQvpAQl4sOQFqhzlHdjMBATN2RzmqAUg5K2JJ/ohcCkErPTYXAQEXNj0rQQpb/qoiPm5TTQXAQV8DOvzmQl5eQgMaMSb2YyovMTEvKnveJwFWT5Az/vtABy8dJBISJB0vB0DtGCqTP05oXgADAAD/sAYABWwAAwAPACsAAAERIREBFgYrASImNTQ2MhYBESERNCYjIgYHBhURIRIQLwEhFSM+AzMyFgFd/rYBXwFnVAJSZGemZASP/rdRVj9VFQv+twIBAQFJAhQqR2c/q9ADj/whA98BMkliYklKYWH83f3IAhJpd0UzHjP91wGPAfAwMJAgMDgf4wAAAAABAAD/gAYABYAANAAAABACBgQjIiQnJjY/ATYzFhceATMyPgI0LgIjIgYHFxYHBiMhIiY1ETQ3Nh8BNiQzMgQWBgB6zv7knKz+ym0HAQiJCg8QB0nUd2i9ilFRir1oYrRGiR8RESr+QBomKCcegmsBE5OcARzOAxz+yP7kznqRhAoZCIoJAgpfaFGKvdC9ilFHQooeJygmGgHAKhERH4Flb3rOAAEAKP8VBusF2ABxAAAhFA8BBiMiJwEmNTQ3AQcGIiceBhUUBw4FIyInASY1ND4ENzYzMh4FFyY0NwE2MhcuBjU0Nz4FMzIXARYVFA4EBwYjIi4FJxYUDwEBNjMyFwEWBuslayc0NSX+lSYr/wB+DigOAhUEEAQIAxwDGwsaEhoNKBz+aBwJCRYLHgMeJgoQEQoRBhQCDg4BXA4oDgIVBBAECAMcAxsLGhIaDSgcAZgcCQkWCx4DHiYKEBEKEQYUAg4OfgEAKzU0JwFrJTUlbCUlAWwkNjUrAQB+Dg4CFAYRChEQCiYeAx4LFgkJHAGYHCgNGhIaCxsDHAMIBBAEFQIOKA4BXA4OAhQGEQoREAomHgMeCxYJCRz+aBwoDRoSGgsbAxwDCAQQBBUCDigOfv8AKyX+lScAAAcAAP+ABwAFAAAHAA8AIQApADEAOQBLAAAANCYiBhQWMgA0JiIGFBYyARM2LgEGBwMOAQcGHgE2NzYmJDQmIgYUFjIANCYiBhQWMgQ0JiIGFBYyARAHBiMhIicmETQSNiQgBBYSAYBLaktLagELS2pLS2oB92UGGzIuB2U8XhAUUJqKFBAsAmJLaktLav3LS2pLS2oCC0tqS0tqAYuNEyP6hiMTjY7wAUwBbAFM8I4BS2pLS2pLAgtqS0tqS/6fAX4aLQ4bGv6CBU08TYooUE08cg5qS0tqSwLLaktLakt1aktLakv+wP773h0d3QEGtgFM8I6O8P60AAAAAAIAAP8ABwAFAAAWADwAAAAgBAYVFBYfAQcGBzY/ARcWMzIkNhAmBBACBCMiJwYFBgcjIiYnNSY2Jj4CNz4FNyYCNTQSJCAEBEz+aP6d0Y+CVxsYLph7KzlFPcwBY9HRAVHw/mT0RkvG/voxQQUPGAQDBQEKAgwCBzAVKRgeC5218AGcAegBnASAi+yJcMtKMmBbUT9sJgYIi+wBEuzH/qT+2asIr0MOCBURAQQQBA8DDgIINRc4LkgoWQEGlq4BJ6urAAADAAD/fwcABQAAFAA6AGQAAAAgBAYVFBYfAQc2PwEXFjMyJDY0JiQgBBYQBgQjIicGBwYHIyImJyY0PgU3PgQ3LgE1NDYBHgQXHgYUBw4BJyYnJicGIyAnFjMyJDc+ATU0Jx4BFRQGA1n+zv72nWpgYSMiHCw1TkuZAQqdnf2eAX4BRby8/ru/Vlp8miQyAwsTAgEBAwIFAwYBBSQQHRUKfI68BToKFR0QJAUBBgMFAgMBAQMUDDIkmnxaVv7xyToeoQEodH2GF4GWjgSAaLJmUpg4OFQUEx8KDmiyzLLoiez+6uyJEFgoCQcQDQMHBgYEBwMHAQYmFSUoGEjSd4vs+/gYKCUVJgYBBwMHBAYGBwMOEAEHCShYEIQEWlRc8IZNS0fWe3jRAAH//P8AA4cFgAAhAAABFgcBBiMiJy4BNxMFBiMiJyY3Ez4BMyEyFhUUBwMlNjMyA3USC/3kDR0EChERBMX+agQIEg0SBckEGBABSBMaBasBjAgEEwPKFBj7exkCBRwQAyhlAQsPGAM5DhIZEQgK/jFiAgAAAQAA/4AHAAWAAFUAAAERFAYjISImNRE0NjsBNSEVMzIWFREUBiMhIiY1ETQ2OwE1IRUzMhYVERQGIyEiJjURNDY7ATU0NjMhNSMiJjURNDYzITIWFREUBisBFSEyFh0BMzIWBwA4KP7AKDg4KGD+AGAoODgo/sAoODgoYP4AYCg4OCj+wCg4OChgTDQCAGAoODgoAUAoODgoYAIANExgKDgBIP7AKDg4KAFAKDjAwDgo/sAoODgoAUAoOMDAOCj+wCg4OCgBQCg4wDRMwDgoAUAoODgo/sAoOMBMNMA4AAADAAD/gAaABcAAEwBPAFkAAAERFAYiJjU0NjIWFRQWMjY1ETYyBRQGIyInLgEjIgYHDgEHBiMiJy4BJy4BIgYHDgEHBiMiJy4BJy4BIyIGBwYjIiY1NDc2EiQzMgQeARcWARUmIgc1NDYyFgOAmNCYJjQmTmROIT4DIRMNCwwxWDpEeCsHFQQLERILBBUHK3eIdysHFQQLEhELBBUHK3hEOlgxDAsNEwEt/wFVvowBDeClIQH9ACosKiY0JgLE/bxomJhoGiYmGjJOTjICRAsmDRMKLi5KPAokBhERBiQKPEpKPAokBhERBiQKPEouLgoTDQUCtwERiFCT44oCAtJiAgJiGiYmAAAEAAD/AAcABgAACAAYABsANwAABSERISImNREhATU0JiMhIgYdARQWMyEyNgEhCQERFAYjISImPQEhIiY1ETQ2MyEyFhURFhcBHgEDAAOA/mAoOP6AAQATDf1ADRMTDQLADRMBAAEr/tUCADgo/EAoOP3gKDg4KARAKDgVDwGYHCiAAoA4KAGgASBADRMTDUANExP9bQEr/lX9YCg4OCigOCgFQCg4OCj+uA0P/mgcYAAAAAADAAD/gAQABYAAEAAoAFwAAAEUBiImNTQmIyImNDYzMh4BFzQuAiIOAhUUFx4BFxYXMzY3PgE3NjcUBw4CBxYVFAcWFRQHFhUUBiMOASImJyImNTQ3JjU0NyY1NDcuAicmNTQ+AjIeAgLgExoTbDQNExMNMmNLoEVvh4qHb0VECikKgA3kDYAKKQpEgGctOzwELxkZLQ0/LhRQXlAULj8NLRkZLwQ8Oy1nWZG3vreRWQPADRMTDS4yExoTIEw0SHxPLS1PfEhlTwssC5mRkZkLLAtPZZtxMUxzMhw2JRsbJTQdFxguMiw0NCwyLhgXHTQlGxslNhwyc0wxcZtjq3FBQXGrAAIAAP+gBwAE4AAaADQAAAEVFAYjIRUUBiMiJwEmNTQ3ATYzMhYdASEyFhAUBwEGIyImPQEhIiY9ATQ2MyE1NDYzMhcBBwATDfqgEw0MDP7BCQkBQAkODRMFYA0TCf7ACQ4NE/qgDRMTDQVgEg4MDAE/AWDADRPADRMKAUAJDQ4JAUAJEw3AEwIhHAn+wAkTDcATDcANE8AOEgr+wQAAAAACAAAAAAeABYAAGQA1AAABNCYrARE0JisBIgYVESMiBhUUFwEWMjcBNgUUBiMhIgA1NDY3JjU0ADMyBBc2MzIWFRQHHgEFABIO4BMNwA0T4A0TCQFgCRwJAV8KAoDhn/vAuf75jHYCASzUnAEDO0dfapYpgqcCYA4SAWANExMN/qATDQ4J/qAJCQFfDNSf4QEHuYLcNx4N1AEsrpA+lmpMPh/RAAIAAAAAB4AFgAAZADUAAAE0JwEmIgcBBhUUFjsBERQWOwEyNjURMzI2ARQGIyEiADU0NjcmNTQAMzIEFzYzMhYVFAceAQUACf6gCRwJ/qEKEg7gEw3ADRPgDRMCgOGf+8C5/vmMdgIBLNScAQM7R19qlimCpwKgDgkBYAkJ/qEMDA4S/qANExMNAWAT/u2f4QEHuYLcNx4N1AEsrpA+lmpMPh/RAAAAAAMAAP+ABYAFgAAHAFgAYAAAJBQGIiY0NjIFFAYjISImNTQ+AzcGHQEOARUUFjI2NTQmJzU0NxYgNxYdASIGHQEGFRQWMjY1NCc1NDYyFh0BBhUUFjI2NTQnNTQmJzQ2LgInHgQAEAYgJhA2IAGAJjQmJjQEJpJ5/JZ5kgslOmhEFjpGcKBwRzkZhAFGhBlqliA4UDggTGhMIDhQOCBFOwEBBAoIRGg6JQv+wOH+wuHhAT7aNCYmNCZ9eYqKeUR+lnNbDzREyxRkPVBwcFA9ZBTLPh9oaB8+QJZqWR0qKDg4KCodWTRMTDRZHSooODgoKh1ZRHciCkEfNCoTD1tzln4D2P7C4eEBPuEAAAACAAD/gAWABYAABwBNAAAANCYiBhQWMjcUBgcRFAQgJD0BLgE1ETQ2MzIXPgEzMhYUBiMiJxEUFiA2NREGIyImNDYzMhYXNjMyFhURFAYHFRQWIDY1ES4BNTQ2MhYFACY0JiY0pkc5/vn+jv75pNwmGgYKETwjNUtLNSEfvAEIvB8hNUtLNSM8EQoGGibcpLwBCLw5R3CgcAMmNCYmNCZAPmIV/nWf4eGfhBTYkAIAGiYCHiRLaksS/m5qlpZqAZISS2pLJB4CJhr+AJDYFIRqlpZqAYsVYj5QcHAABAAA/4AHAAWAAAMADQAbACUAAAEhNSEFESMiJjURNDYzIREhETM1NDYzITIWHQEFERQGKwERMzIWAoACAP4A/qBAXISEXASg/ACAOCgCQCg4AgCEXEBAXIQEgICA+wCEXANAXIT7AAUAoCg4OCig4PzAXIQFAIQAAgBA/wAGwAYAAAsAMwAABDQjIiY1NCIVFBYzARQGIyEUBiImNSEiJjU+BDU0EjcmNTQ2MhYVFAcWEhUUHgMDkBA7VSBnSQNATDT+QJbUlv5ANEwyUlg9J+q+CDhQOAi+6ic9WFKwIFU7EBBJZwEwNExqlpZqTDQqXJOq8ouYAQUcExQoODgoFBMc/vuYi/Kqk1wAAAMAAP+AB0AFAAAHAA8AIgAAADQmKwERMzIBIRQGIyEiJgAQBisBFRQGIyEiJjURNDYzITIGgHBQQEBQ+fAHAJZq+wBqlgdA4Z9AhFz9QFyEJhoEgJ8DMKBw/oD9wGqWlgQJ/sLhIFyEhFwC4BomAAACAAD/AAWABgAALQBCAAABERQGBxEUBisBIiY1ES4BNRE0NjIWFREUFjI2NRE0NjIWFREUFjI2NRE0NjIWBREUBisBIiY1ESMiJjURNDYzITIWAoBHOUw0gDRMOUcmNCYmNCYmNCYmNCYmNCYDAEw0gDRM4A0TvIQBABomBcD9gD1kFPz1NExMNAMLFGQ9AoAaJiYa/mAaJiYaAaAaJiYa/mAaJiYaAaAaJiYa+cA0TEw0AgATDQMghLwmAAYAAP8ABgAGAAATABoAIwAzAEMAUwAAAR4BFREUBiMhIiY1ETQ2MyEyFhcHESEmJwEmAREhIiY1ESERATQ2MyEyFh0BFAYjISImNQUyFh0BFAYjISImPQE0NjMBMhYdARQGIyEiJj0BNDYzBbwcKDgo+sAoODgoA4AoYByEAXgKDP7HDAFj/mAoOP0AAQASDgLADhISDv1ADhIC4A4SEg79QA4SEg4CwA4SEg79QA4SEg4EhBxgKPuAKDg4KAZAKDgoHET+iB0MATkM+hIEADgoAaD6AANgDhISDkAOEhIOoBIOQA4SEg5ADhL/ABIOQA4SEg5ADhIAFAAA/wAFgAYAAA8AHwAvAD8ATwBfAG8AfwCPAJ8ArwC/AM8A3wDvAP8BDwEfAS0BPQAAJRUUBisBIiY9ATQ2OwEyFjUVFAYrASImPQE0NjsBMhYFFRQGKwEiJj0BNDY7ATIWJRUUBisBIiY9ATQ2OwEyFgEVFAYrASImPQE0NjsBMhYlFRQGKwEiJj0BNDY7ATIWJRUUBisBIiY9ATQ2OwEyFiUVFAYrASImPQE0NjsBMhYBFRQGKwEiJj0BNDY7ATIWJRUUBisBIiY9ATQ2OwEyFiUVFAYrASImPQE0NjsBMhYlFRQGKwEiJj0BNDY7ATIWARUUBisBIiY9ATQ2OwEyFiUVFAYrASImPQE0NjsBMhYlFRQGKwEiJj0BNDY7ATIWARUUBisBIiY9ATQ2OwEyFiUVFAYrASImPQE0NjsBMhYFFRQGKwEiJj0BNDY7ATIWASERIREhNTQ2MyEyFhUBERQGIyEiJjURNDYzITIWAYATDUANExMNQA0TEw1ADRMTDUANEwEAEw1ADRMTDUANE/8AEw1ADRMTDUANEwMAEw1ADRMTDUANE/8AEw1ADRMTDUANE/8AEw1ADRMTDUANE/8AEw1ADRMTDUANEwMAEw1ADRMTDUANE/8AEw1ADRMTDUANE/8AEw1ADRMTDUANE/8AEw1ADRMTDUANEwMAEw1ADRMTDUANE/8AEw1ADRMTDUANE/8AEw1ADRMTDUANEwIAEw1ADRMTDUANE/8AEw1ADRMTDUANEwEAEw1ADRMTDUANE/8AAYD7gAGAEw0BQA0TAgAmGvsAGiYmGgUAGibgQA0TEw1ADRMT80ANExMNQA0TEw1ADRMTDUANExPzQA0TEw1ADRMT/fNADRMTDUANExPzQA0TEw1ADRMT80ANExMNQA0TE/NADRMTDUANExP980ANExMNQA0TE/NADRMTDUANExPzQA0TEw1ADRMT80ANExMNQA0TE/3zQA0TEw1ADRMT80ANExMNQA0TE/NADRMTDUANExP+80ANExMNQA0TE/NADRMTDUANExMNQA0TEw1ADRMT+pMGAPoA4A0TEw0FYPmAGiYmGgaAGiYmAA0AAP8ABYAGAAAPAB8ALwA/AE8AXwBvAH8AjwCfALcA2wD1AAAlFRQGKwEiJj0BNDY7ATIWNRUUBisBIiY9ATQ2OwEyFgUVFAYrASImPQE0NjsBMhYlFRQGKwEiJj0BNDY7ATIWARUUBisBIiY9ATQ2OwEyFiUVFAYrASImPQE0NjsBMhYlFRQGKwEiJj0BNDY7ATIWARUUBisBIiY9ATQ2OwEyFiUVFAYrASImPQE0NjsBMhYFFRQGKwEiJj0BNDY7ATIWASERIRUUBiMhIiY9ASERITU0NjMhMhYVGQE0JisBIgYdASM1NCYrASIGFREUFjsBMjY9ATMVFBY7ATI2JREUBiMhIiY1ETQ2MyERNDYzITIWFREhMhYBgBMNQA0TEw1ADRMTDUANExMNQA0TAQATDUANExMNQA0T/wATDUANExMNQA0TAwATDUANExMNQA0T/wATDUANExMNQA0T/wATDUANExMNQA0TAgATDUANExMNQA0T/wATDUANExMNQA0TAQATDUANExMNQA0T/wABgP8AOCj+QCg4/wABgBMNAUANExMNQA0TgBMNQA0TEw1ADROAEw1ADRMCACYa+wAaJiYaAUA4KAHAKDgBQBom4EANExMNQA0TE/NADRMTDUANExMNQA0TEw1ADRMT80ANExMNQA0TE/3zQA0TEw1ADRMT80ANExMNQA0TE/NADRMTDUANExP+80ANExMNQA0TE/NADRMTDUANExMNQA0TEw1ADRMT/JMEgCAoODgoIPuA4A0TEw0DwAFADRMTDWBgDRMTDf7ADRMTDWBgDRMTLfsAGiYmGgUAGiYBICg4OCj+4CYABQBA/4AHgAWAAAcAEAAYADwAYwAAJDQmIgYUFjIBIREjBg8BBgcANCYiBhQWMhM1NCYrATU0JisBIgYdASMiBh0BFBY7ARUUFjsBMjY9ATMyNgERFAYrARQGIiY1IRQGIiY1IyImNDYzETQ2PwE+ATsBETQ2MyEyFgKAS2pLS2r+ywGAng4IwwcCBQBLaktLassSDuASDsAOEuAOEhIO4BIOwA4S4A4SAQAmGsCW1Jb+gJbUloAaJiYaGhPGE0AaoCYaBIAaJktqS0tqSwKAAQACB8MMCv2taktLaksDIMAOEuAOEhIO4BIOwA4S4A4SEg7gEgIu+4AaJmqWlmpqlpZqJjQmAaAaQBPGExoBQBomJgAABQAA/4AHAAWAACMAJwAxAD8ASQAAATU0JisBNTQmKwEiBh0BIyIGHQEUFjsBFRQWOwEyNj0BMzI2ASE1IQURIyImNRE0NjMhESERMzU0NjMhMhYdAQURFAYrAREzMhYFABIO4BIOwA4S4A4SEg7gEg7ADhLgDhL9gAIA/gD+gCBchIRcBMD7wKA4KAJAKDgCAIRcICBchAGgwA4S4A4SEg7gEg7ADhLgDhISDuASAu6AgPsAhFwDQFyE+wAFAKAoODgooOD8wFyEBQCEAAAAAAEAAAAAB4AEgAA6AAABBg0BByMBMzIWFAYrAzUzESMHIyc1MzUzNSc1NzUjNSM1NzMXMxEjNTsCMhYUBisBATMXBR4BFweAAf7h/qDgQP7bRRomJhpgoEBAoMBgICCAwMCAICBgwKBAQKBgGiYmGkUBJUDgAWCAkAgCQCBAIED+oAkOCSABoOAgwCAIGIAYCCDAIOABoCAJDgn+oEAgHDAKAAAAAgBAAAAGgAWAAAYAGAAAAREhERQWMwEVITU3IyImNREnNyE3IRcHEQKA/wBLNQSA+4CAgJ/hQCAB4CADwCBAAoABgP8ANUv+QMDAwOGfAUBAgIDAIPzgAAIAAP+ABgAFgAAjADMAACURNCYrASIGFREhETQmKwEiBhURFBY7ATI2NREhERQWOwEyNgERFAYjISImNRE0NjMhMhYFACYagBom/gAmGoAaJiYagBomAgAmGoAaJgEAqXf8QHepqXcDwHepwAOAGiYmGv7AAUAaJiYa/IAaJiYaAUD+wBomJgO6/EB3qal3A8B3qakAAAAAAgAA/4AGAAWAACMAMwAAATU0JiMhETQmKwEiBhURISIGHQEUFjMhERQWOwEyNjURITI2AREUBiMhIiY1ETQ2MyEyFgUAJhr+wCYagBom/sAaJiYaAUAmGoAaJgFAGiYBAKl3/EB3qal3A8B3qQJAgBomAUAaJiYa/sAmGoAaJv7AGiYmGgFAJgI6/EB3qal3A8B3qakAAAACAC0ATQPzBDMAFAApAAAkFA8BBiInASY0NwE2Mh8BFhQHCQEEFA8BBiInASY0NwE2Mh8BFhQHCQECcwoyChoK/i4KCgHSChoKMgoK/ncBiQGKCjIKGgr+LgoKAdIKGgoyCgr+dwGJrRoKMgoKAdIKGgoB0goKMgoaCv53/ncKGgoyCgoB0goaCgHSCgoyChoK/nf+dwAAAAIADQBNA9MEMwAUACkAAAAUBwEGIi8BJjQ3CQEmND8BNjIXAQQUBwEGIi8BJjQ3CQEmND8BNjIXAQJTCv4uChoKMgoKAYn+dwoKMgoaCgHSAYoK/i4KGgoyCgoBif53CgoyChoKAdICTRoK/i4KCjIKGgoBiQGJChoKMgoK/i4KGgr+LgoKMgoaCgGJAYkKGgoyCgr+LgAAAgBNAI0EMwRTABQAKQAAJBQPAQYiJwkBBiIvASY0NwE2MhcBEhQPAQYiJwkBBiIvASY0NwE2MhcBBDMKMgoaCv53/ncKGgoyCgoB0goaCgHSCgoyChoK/nf+dwoaCjIKCgHSChoKAdLtGgoyCgoBif53CgoyChoKAdIKCv4uAXYaCjIKCgGJ/ncKCjIKGgoB0goK/i4AAAACAE0ArQQzBHMAFAApAAAAFAcBBiInASY0PwE2MhcJATYyHwESFAcBBiInASY0PwE2MhcJATYyHwEEMwr+LgoaCv4uCgoyChoKAYkBiQoaCjIKCv4uChoK/i4KCjIKGgoBiQGJChoKMgKtGgr+LgoKAdIKGgoyCgr+dwGJCgoyAXYaCv4uCgoB0goaCjIKCv53AYkKCjIAAAEALQBNAnMEMwAUAAAAFAcJARYUDwEGIicBJjQ3ATYyHwECcwr+dwGJCgoyChoK/i4KCgHSChoKMgPtGgr+d/53ChoKMgoKAdIKGgoB0goKMgAAAAEADQBNAlMEMwAUAAAAFAcBBiIvASY0NwkBJjQ/ATYyFwECUwr+LgoaCjIKCgGJ/ncKCjIKGgoB0gJNGgr+LgoKMgoaCgGJAYkKGgoyCgr+LgAAAAEATQENBDMDUwAUAAAAFA8BBiInCQEGIi8BJjQ3ATYyFwEEMwoyChoK/nf+dwoaCjIKCgHSChoKAdIBbRoKMgoKAYn+dwoKMgoaCgHSCgr+LgAAAAEATQEtBDMDcwAUAAAAFAcBBiInASY0PwE2MhcJATYyHwEEMwr+LgoaCv4uCgoyChoKAYkBiQoaCjIDLRoK/i4KCgHSChoKMgoK/ncBiQoKMgAAAAIAAP+AB4AGAAAPAC8AAAERNCYjISIGFREUFjMhMjYTERQGIyEUHgEVFAYjISImNTQ+ATUhIiY1ETQ2MyEyFgcAEw35wA0TEw0GQA0TgF5C/eAgICYa/gAaJiAg/eBCXl5CBkBCXgIgA0ANExMN/MANExMDTfvAQl4lUT0NGiYmGg48UCZeQgRAQl5eAAAAAAQAAAAAB4AFAAAPAB8AKwAzAAABIiY1ETQ2MyEyFhURFAYjAREUFjMhMjY1ETQmIyEiBgEzFRQGIyEiJj0BMwUyNCsBIhQzAaBCXl5CBEBCXl5C+6ATDQRADRMTDfvADRMFYKBeQvnAQl6gA3AQEKAQEAEAXkICwEJeXkL9QEJeA2D9QA0TEw0CwA0TE/xTYCg4OChgYCAgAAAAAAMAAAAABIAFgAAHABcAJwAAJDQmIgYUFjIlETQmIyEiBhURFBYzITI2ExEUBiMhIiY1ETQ2MyEyFgKAJjQmJjQBphMN/MANExMNA0ANE4BeQvzAQl5eQgNAQl5mNCYmNCbgA8ANExMN/EANExMDzfvAQl5eQgRAQl5eAAAEAAAAAAMABQAABwAXAB8ALwAAJDQmIgYUFjI3ETQmIyEiBhURFBYzITI2AjQrASIUOwElERQGIyEiJjURNDYzITIWAdAvQi8vQv8TDf4ADRMTDQIADRPAEKAQEKABMEw0/gA0TEw0AgA0TF9CLy9CL/ACwA0TEw39QA0TEwNNICAg/AA0TEw0BAA0TEwAAAACAAD/gAYABYAACwAXAAAAIA4BEB4BID4BECYEEAIEICQCEBIkIAQDlP7Y+pKS+gEo+pKSAXLO/p/+Xv6fzs4BYQGiAWEEoJL6/tj6kpL6ASj6vf5e/p/OzgFhAaIBYc7OAAAAAgAAAAAGgAWAACEAQwAAAREUBiMhIiY1ETQ+AjsBMhYdARQGKwEiBh0BFBY7ATIWBREUBiMhIiY1ETQ+AjsBMhYdARQGKwEiBh0BFBY7ATIWAwBwUP6AUHBRir1oQBomJhpAapY4KOBQcAOAcFD+gFBwUYq9aEAaJiYaQGqWOCjgUHACQP6AUHBwUALAaL2KUSYagBomlmogKDhwUP6AUHBwUALAaL2KUSYagBomlmogKDhwAAAAAAIAAAAABoAFgAAhAEMAAAERFA4CKwEiJj0BNDY7ATI2PQE0JisBIiY1ETQ2MyEyFgURFA4CKwEiJj0BNDY7ATI2PQE0JisBIiY1ETQ2MyEyFgMAUYq9aEAaJiYaQGqWOCjgUHBwUAGAUHADgFGKvWhAGiYmGkBqljgo4FBwcFABgFBwBMD9QGi9ilEmGoAaJpZqICg4cFABgFBwcFD9QGi9ilEmGoAaJpZqICg4cFABgFBwcAAAAAAIAED/QAbABgAACQARABkAIwArADMAOwBHAAAkFAYjIiY1NDYyABQGIiY0NjIAFAYiJjQ2MgEUBiMiJjQ2MhYAFAYiJjQ2MgAUBiImNDYyABQGIiY0NjIBFAYjIiY1NDYzMhYCDks1NExLagI9S2pLS2r9i0tqS0tqBP1MNDVLS2pL/DxehF5ehATwS2pLS2r9y3CgcHCgAoKEXF2Dg11chMNqS0w0NUv+52pLS2pLAnVqS0tqS/2ONExLaktLA/GEXl6EXv2jaktLaksCkKBwcKBw/nJdg4NdXISEAAAAAAEAAP+ABgAFgAALAAAAEAIEICQCEBIkIAQGAM7+n/5e/p/OzgFhAaIBYQNR/l7+n87OAWEBogFhzs4AAAEAAP+ABwAFwAAsAAABFAMOAgcGIyImNTQ2NTY1NC4FKwERFAYiJwEmNDcBNjIWFREzIBMWBwB/Aw8MBwwQDxEFBSM+YnGZm2LgJjQT/gATEwIAEzQm4ALJojUBoKb+4wciGgkRFA8JIwZEN2WgdVU2Hwz/ABomEwIAEzQTAgATJhr/AP5thgAEAAD/gAaABQAACwAXADEAWAAAABQOASIuATQ+ATIWBBQOASIuATQ+ATIWFzQmIyIHBiInJiMiBhUUHgM7ATI+AxMUBw4EIyIuBCcmNTQ3JjU0NzIWFzYzMhc+ATMWFRQHFgKAGT1UPRkZPVQ9ApkZPVQ9GRk9VD25inYpmkesR5grdopAYpKGUqhShpJiQOA9JoeTwZZcToCniohqIT6IGzNspGuTopSEaaRrMxuIAWhQVEREVFBURERUUFRERFRQVEREfHioFQsLFah4WINLLQ4OLUuDAQjPfE1wPCMJBhMpPmRBe9Dtn1JYdGZPVCMgUk5mdFdRoAAAAAACAAAAAAaABYAAFwAsAAAlETQmIyEiJj0BNCYjISIGFREUFjMhMjYTERQGIyEiJjURNDYzITIWHQEhMhYGADgo/UAoODgo/sAoODgoBMAoOICEXPtAXISEXAFAXIQCoFyE4ALAKDg4KEAoODgo/EAoODgC6P1AXISEXAPAXISEXCCEAAADAAAAAAd1BYAAEQAnAEUAAAE0IyEiBgcBBhUUMyEyNjcBNiUhNTQmIyEiJj0BNCYjISIGFREBPgEFFAcBDgEjISImNRE0NjMhMhYdASEyFh0BMzIWFxYG9TX7wChbGv7aEjUEQChcGQEmEvuLAwA4KP3AKDg4KP7AKDgBACyQBTku/tkrkkP7wFyEhFwBQFyEAiBchMA2WhYPAl0jKx/+lRgQIywfAWsWtKAoODgoQCg4OCj8qwE7NUWjPjr+lTVFhFwDwFyEhFwghFygMS4gAAAAAAUAAP+ABgAFgAAUABwAJAA0AEAAAAEOASImJyY2NzYWFx4BMjY3PgEeAQAUBiImNDYyBBQGIiY0NjIAEC4CIA4CEB4CID4BEhACBCAkAhASJCAEBG4lyv7KJQgYGhkvCBmHqIcZCDAyGP4KS2pLS2oCS0tqS0tqAUtmq+3+/O2rZmar7QEE7avmzv6f/l7+n87OAWEBogFhAc15lJR5GS8ICBgaUGNjUBoYEC8Bz2pLS2pLS2pLS2pL/f4BBO2rZmar7f787atmZqsCQP5e/p/OzgFhAaIBYc7OAAAFAAD/gAYABYAAFAAcACQANABAAAABFg4BJicuASIGBw4BJy4BNz4BMhYAFAYiJjQ2MgQUBiImNDYyABAuAiAOAhAeAiA+ARIQAgQgJAIQEiQgBARuCBgyMAgZh6iHGQgvGRoYCCXK/sr+N0tqS0tqAktLaktLagFLZqvt/vztq2Zmq+0BBO2r5s7+n/5e/p/OzgFhAaIBYQEzGS8QGBpQY2NQGhgICC8ZeZSUAglqS0tqS0tqS0tqS/3+AQTtq2Zmq+3+/O2rZmarAkD+Xv6fzs4BYQGiAWHOzgAABQAA/4AGAAWAAAsAEwAbACsANwAAABQGIyEiJjQ2MyEyABQGIiY0NjIEFAYiJjQ2MgAQLgIgDgIQHgIgPgESEAIEICQCEBIkIAQEgCYa/YAaJiYaAoAa/iZLaktLagJLS2pLS2oBS2ar7f787atmZqvtAQTtq+bO/p/+Xv6fzs4BYQGiAWEB2jQmJjQmAbVqS0tqS0tqS0tqS/3+AQTtq2Zmq+3+/O2rZmarAkD+Xv6fzs4BYQGiAWHOzgAEAAAAAAeABAAAIwArADMAQwAAATU0JisBNTQmKwEiBh0BIyIGHQEUFjsBFRQWOwEyNj0BMzI2BDQmIgYUFjIANCYiBhQWMiQQACMiJyMGIyIAEAAzITIDQBIOwBIOgA4SwA4SEg7AEg6ADhLADhICQEtqS0tqAUtLaktLagFL/tTUwJLcksDU/tQBLNQDgNQBwIAOEsAOEhIOwBIOgA4SwA4SEg7AEmdqS0tqSwFLaktLakvU/lj+1ICAASwBqAEsAAAADwAAAAAHgASAAAsAFwAjAC8AOwBHAFMAXwBrAHcAgwCPAJ8AowCzAAABFRQrASI9ATQ7ATI3FRQrASI9ATQ7ATInFRQrASI9ATQ7ATIBFRQjISI9ATQzITIlFRQrASI9ATQ7ATInFRQrASI9ATQ7ATIBFRQrASI9ATQ7ATInFRQrASI9ATQ7ATIBFRQrASI9ATQ7ATIBFRQrASI9ATQ7ATIBFRQrASI9ATQ7ATIFFRQrASI9ATQ7ATIFERQrASI9ATQ7ATU0OwEyExEhEQERFAYjISImNRE0NjMhMhYBgBBgEBBgEIAQ4BAQ4BCAEGAQEGAQBAAQ/KAQEANgEP2AEGAQEGAQgBBgEBBgEAGAEGAQEGAQgBBgEBBgEAGAEGAQEGAQAYAQYBAQYBD+ABBgEBBgEAEAEGAQEGAQAQAQ4BAQcBBgEID5gAcASzX5gDVLSzUGgDVLAXBgEBBgEPBgEBBgEPBgEBBgEP3wYBAQYBDwYBAQYBDwYBAQYBD+8GAQEGAQ8GAQEGAQ/vBgEBBgEP7wYBAQYBAB8GAQEGAQEGAQEGAQEP6gEBBgEPAQ/QADgPyAA4D8gDVLSzUDgDVLSwAAAAADAED/gAcABYAAFgAqAFYAAAERBiMiJy4BIyIHETYzMh4CHwEWMzIBFAYHERQGKwEiJjURLgE1NDYyFgURFAcGBwYjIi8BLgIjIgQHBiMiJyY1ETQ3PgMzMhYXFjMyNzY3NhcWBoCpiVI/ZKhereb1vDdhYzc3HCw5ePttIx0SDkAOEh0jS2pLBcAjCgfal1hGHEBGcDpm/vVfDxIQECAfI1eNpElwwnAmM3q8FgkfHx8B6wJoWyAxN3/9qXEPJRkbDhYDcSM6EfsODhISDgTyETojNUtLdf0FJxIFBHQjDiEeHFg6CQgTJQLmIxQVKz0mPjcTcAwFEBIUAAAGAED/gAcABYAABQALACoAMgBGAHIAAAE1BgcVNhM1BgcVNgE1Bic1JicuCSMiBxUzMhYXFhcVFjMyEzUGIyInFRYBFAYHERQGKwEiJjURLgE1NDYyFgURFAcGBwYjIi8BLgIjIgQHBiMiJyY1ETQ3PgMzMhYXFjMyNzY3NhcWA0C1y82zrNTXA+nrlRQTBTgNMhMuGiwjLBYXGhNmtWsTFCoxeK2piS0hlPusIx0SDkAOEh0jS2pLBcAjCgfal1hGHEBGcDpm/vVfDxIQECAfI1eNpElwwnAmM3q8FgkfHx8CGMAQZblgAbDFCHa9b/44uHQt4AYJAxwGGAcTBgsEBAPeOjUJBrwRAge9WwjEKgHuIzoR+w4OEhIOBPIROiM1S0t1/QUnEgUEdCMOIR4cWDoJCBMlAuYjFBUrPSY+NxNwDAUQEhQAAgANAAAGgAQzABQAJAAACQEGIi8BJjQ3CQEmND8BNjIXARYUARUUBiMhIiY9ATQ2MyEyFgJJ/i4KGgoyCgoBif53CgoyChoKAdIKBC0SDvxADhISDgPADhICKf4uCgoyChoKAYkBiQoaCjIKCv4uChr+LUAOEhIOQA4SEgAAAAADAC3/jwdTBPEAFAAkADkAACUHBiInASY0NwE2Mh8BFhQHCQEWFAkBDgEvAS4BNwE+AR8BHgEJAQYiLwEmNDcJASY0PwE2MhcBFhQCaTIKGgr+LgoKAdIKGgoyCgr+dwGJCgJF/osEFww+DQ0EAXUEFww+DQ0Cjf4uChoKMgoKAYn+dwoKMgoaCgHSCokyCgoB0goaCgHSCgoyChoK/nf+dwoaBCH69Q0NBBEEFw0FCw0NBBEEF/1o/i4KCjIKGgoBiQGJChoKMgoK/i4KGgAAAgAA/4AHAAXMABUAOwAAARUUBwYjIicBJjQ3ATYXFh0BAQYUFwEUDgMHBiMiJyY3EicuAScVFAcGIyInASY0NwE2FxYVEQQXFgKAJw0MGxL+ABMTAgAdKSf+cxMTBg0iKzUcBggUBgMZAiuVQNWhJw0MGxL+ABMTAgAdKScBm7ypAcZGKhEFEwIAEzQTAgAfEREqRf5yEzQT/k06l319OAwRAQgaAZClR08N+yoRBRMCABM0EwIAHxERKv76HMGtAAAAAAL/+f+tBocF4AAKACgAAAEtAS8BAxEXBQMnCQETFgYjIiclBQYjIiY3EwEmNjclEzYzMhcTBR4BBKIBAf6cQh6fOwE+PAwB9f6VVgUWFxEX/j/+PxcRFxYFVv6UIBItAfbhFB0cFeEB9i0SAkP6NAo8AUL8PR+oAWNCATX+nv4MISUM7OwMJSEB9AFiIDcHSQHHKSn+OUkHNwAAAAH//f+ABYMFAAAWAAAJAQYjIicuATURISIuATY3ATYzMhceAQV5/YARKAUKFhv9wBYjChIUBQANEBsSDwcEo/sAIwIFIxYCQBssKAoCgAcTDikAAAMAAP8ABoAFgAACAAUAOAAAASERCQEhARUUBisBFRQGKwEiJj0BISImNREjIiY9ATQ2OwE1NDY7ATIWHQEhNzYyFxYUDwERMzIWAi0CU/2AAlP9rQSAEg7gEg7ADhL8oA4S4A4SEg7gEg7ADhIDU/YKGgoJCffgDhIBAAJT/doCU/1gwA4S4A4SEg7gEg4DYBIOwA4S4A4SEg7g9wkJChoK9vytEgAAAAQAAP+ABAAFgAAHAA8AFwBLAAAkNCYiBhQWMhI0JiIGFBYyBDQmIgYUFjI3FAYHAgcGBw4BHQEeARUUBiImNTQ2NxEuATU0NjIWFRQGBxE2Nz4FNS4BNTQ2MhYBIDhQODhQODhQODhQArg4UDg4UJg0LALgQ4iAUyw0cKBwNCwsNHCgcDQsNmQ3QUwqJxEsNHCgcBhQODhQOAS4UDg4UDhIUDg4UDhgNFkZ/uF/JisoPkUaGVk0UHBwUDRZGQM0GVk0UHBwUDRZGf4PGh8RGSUqPE80GVk0UHBwAAAIAAD/gAaABgAADQAZACUAQABcAGgAdACCAAAJAQYiJyY0NwE2MhcWFBcRFAYiJjURNDYyFiYUBiMhIiY0NjMhMgUUDwEGIyInASYnNwEeAT8BNjU0JwE3FhcBFgEHASYjIg8BBhUUFwEHJicBJjU0PwE2MzIXARYEFAYjISImNDYzITIBERQGIiY1ETQ2MhYFAQYiJyY0NwE2MhcWFAG3/wALGAsJCQEAChoKCaASHBISHBLgEg7+wA4SEg4BQA4FAlWTU3h5U/6yFRXvAREbUhuTHBz+7hIjFQFQVP2X7/7vHCgnHZMcHAESEiMV/rBUVZNTeHlTAU4VAo4SDv7ADhISDgFADv3yEhwSEhwSAZf/AAsYCwkJAQAKGgoJAQn/AAkJChoKAQAJCQoaM/7ADhISDgFADhIS4BwSEhwSoHhTklNVAU8VIxL+7hsBG5IcJygcARPvFRX+sFYCXhIBEhwbkhwnKBz+7vAVFQFQVnZ4U5JTVf6xFWkcEhIcEgIA/sAOEhIOAUAOEhKl/wAJCQoaCgEACQkKGgAAAgBeAAAD/AUAAA8APAAAARUUBisBIiY9ATQ2OwEyFgEUDgMHDgEVFAYrASImPQE0Njc+ATU0JiMiBwYHBiMiLwEuATcSITIeAgLAGBDwEBgYEPAQGAE8HydHLCcpNxgQ8A8Vgk47Ml09QSsjSA0SDA2kDQUIoAEwUKKCUgEY8BAYGBDwEBgYAkg2Xjs8GxYXVBkRHyUTLVOTIxs6LypAHRlaEAh9Ch4NAQo+aJcAAAACAAAAAAKABYAAHgAuAAAlFRQGIyEiJj0BNDY7AREjIiY9ATQ2MyEyFhURMzIWAxUUBiMhIiY9ATQ2MyEyFgKAJhr+ABomJhpAQBomJhoBgBomQBomgCYa/wAaJiYaAQAaJsCAGiYmGoAaJgGAJhqAGiYmGv3AJgRmwBomJhrAGiYmAAACAGEAAAIfBYAADwAfAAABFRQGIyEiJj0BNDYzITIWEwMOASMhIiYnAyY2MyEyFgIAJhr/ABomJhoBABomHhwBJxr/ABonARwBJRoBQBolASDgGiYmGuAaJiYEBv0AGiYmGgMAGiYmAAIABQAABf4FawAlAEoAACUVIy8BJicjDgIHBg8BITUzEwMjNSEXFhcWFzM2PwIhFSMDEwEVIScmNTQ+BDU0JiMiBwYHJzY3NjMyFhUUDgQHMzUDgfifGAgDAwEDBAEKD5v+/oDFuYkBFIsCFQgDAwMIGYwBAX24zALq/f4DBDROWk40OykzLg4WaRolU2luiDFLWEw3A+inp/wqCQwDBwkCFBj6pwEjARCo5AQmCQwJDCrkqP71/tgCp84bHBJAakM/Lj4hJjEnCxtcJR1Bd2M4Xjs6KzwhUAAAAAACAAX/AAYAA4IAJQBJAAAlFSMvASYnIw4CBwYPASE1MxMDIzUhFxYXFhczNj8CIRUjAxMFFSEnJjU0PgQ1NCYjIgcGByc2NzYzMhYVFA4DBzM1A4H4nxgIAwMBAwQBCg+b/v6AxbmJARSLAhUIAwMDCBmMAQF9uMwC7P3+BAM0TlpONDspMy4OFmkaJVBsbohFY2RKBOinp/wqCQwDBwkCFBj6pwEjARCo5AQmCQwJDCrkqP71/tjZzhstAUBqQz8uPiEmMScLG1wlHUF3Y0JpQzpEJ1AAAAAC//wAAAeEBQAAAwAXAAAlASEJARYGBwEGIyEiJicmNjcBNjMhMhYDgAFQ/QD+sAb1DwsZ/IAmOv0AJj8QDwsZA4AmOgMAJj+AAYD+gAQ1Iksc/AAsKSIiSxwEACwpAAABAAD/3AaABgAAaAAAARQGIyIuAiMiFRQWBxUiBw4CIyImNTQ+AjU0JiMiBhUUHgIVFAcGIyInLgEvASInIjURHgIXFjMyNzY1NC4CNTQ2MzIWFRQOAhUUFjMyNjcVDgIHBhUUFxYzMj4CMzIWBoBZTylJLUQlbiABFgsif2guPVQjKSNsUVR2HiUeLiVQX5YJJQkNAQICAh8lA5ZfUCUuHiUedlVQbCMpI1Q9QOgvAQUFARgjLC0WOTFQK1JbAbZRbCMpI3wnmCcFAQMRCjU5JUQtSSlPWVtSK1AxORYtLCMYAgQCAgEBBAABBQUBGCMsLRY5MVArUltZTylJLUQlOTUeAgICHyUDll9QJS4eJR52AAACAAD/gASABgAAJwAzAAABFRQABxUhMhYUBiMhIiY0NjMhNSYAPQE0NjIWHQEUACAAPQE0NjIWAREUBiAmNRE0NiAWBID+2dkBABomJhr9gBomJhoBANn+2SY0JgEHAXIBByY0Jv8AvP74vLwBCLwDQIDd/rkYhCY0JiY0JoQYAUfdgBomJhqAuf75AQe5gBomJgFm/gCEvLyEAgCEvLwAAwAN/4AFcwYAAAsAQwBLAAABByY9ATQ2MhYdARQJARUUBiMiJwcWMzIAPQE0NjIWHQEUAAcVITIWFAYjISImNDYzITUmJwcGIi8BJjQ3ATYyHwEWFCUBETQ2MzIWAQ9lKiY0JgRp/pe8hDc2YGFsuQEHJjQm/tnZAQAaJiYa/YAaJiYaAQB9bv4KGgpSCgoE0goaClIK/nr9k7yEZqUCT2Vnb4AaJiYagDUCHv6XgIS8E2AzAQe5gBomJhqA3f65GIQmNCYmNCaEDUT+CgpSChoKBNIKClIKGnr9kwIAhLx2AAAAAgAA/4AFAAWAAAYAIgAAAREhETY3NhMRFA4FBwYiJy4GNRE0NjMhMhYEQP5Ad17rwENjiXR+NRAMHAwQNX50iWNDJhoEgBomAkACgPuPP0q4A7D9AFapg3xSSRoHBgYHGklSfIOpVgMAGiYmAAAAAAQAAP8ABoAGAAADABMAIwBHAAAXIREhJRE0JisBIgYVERQWOwEyNiURNCYrASIGFREUFjsBMjYlERQGIyEiJjURNDY7ATU0NjsBMhYdASE1NDY7ATIWHQEzMhaABYD6gAGAEg5ADhISDkAOEgMAEg5ADhISDkAOEgGATDT6gDRMTDSAXkJAQl4BgF5CQEJegDRMgAQAwAEgDhISDv7gDhISDgEgDhISDv7gDhISTvsANExMNAUANExgQl5eQmBgQl5eQmBMAAAAAv/7/4AFgAXgAAcATAAAADQmIgYUFjIlERQHBiMiJyUuATUhFR4BFREUBiMhIiY1ETQ2NzUjIg4DBwYjIicuATc+BDcmNTQ2MhYVFAchNDY3JTYzMhcWAgAmNCYmNAOmDAgMBAP+QAsO/wBvkSYa/gAaJn1jIDtwRz0UBBEoEA0XEQwFEzhBaTgZXoReDgEuDgsBwAMEDAgMBSY0JiY0JmD+wBAJBwFgAhILZhewc/zgGiYmGgMgaqkeby87SiEIIwcMMhgKIEtBRRIqLEJeXkIhHwsSAmABBwkAAAIAGP8gBoAFgAAHAC0AAAA0JiIGFBYyARQCBwYHAwYHBQYjIi8BJjcTAQUGIyIvASY3EzY3JTY3NiQhMhYFoDhQODhQARiXslFyFAIO/oAHCQwLQA0FVf7n/uwDBg4JQBEM4AoQAXtgULwBVAEFDhQEGFA4OFA4AYD5/pWzUGD+hRAK4AQJQA4SARQBGVUBCUATFAGADgIUclG7jhMAAAABAAAAAAbmBQAAFgAAAQMhEzYnJisBAyETIQMhEwMhMhYXHgEG0aT+srINHBs4qcz+ssz+4sz+ssyZBPxlsTs8KgL7/QUDQDggIfxHA7n8RwO5AUdRSUm/AAAAAAIAAP+ABgAFgAAUACAAACU3NjQnCQE2NC8BJiIHAQYUFwEWMgAQAgQgJAIQEiQgBAONZhMT/s0BMxMTZhM0E/46ExMBxhM0AobO/p/+Xv6fzs4BYQGiAWGNZhM0EwEzATMTNBNmExP+OhM0E/46EwLX/l7+n87OAWEBogFhzs4AAgAA/4AGAAWAABQAIAAAJQE2NCcBJiIPAQYUFwkBBhQfARYyABACBCAkAhASJCAEAs0BxhMT/joTNBNmExMBM/7NExNmEzQDRs7+n/5e/p/OzgFhAaIBYY0BxhM0EwHGExNmEzQT/s3+zRM0E2YTAtf+Xv6fzs4BYQGiAWHOzgACAAD/gAYABYAAFAAgAAABNzY0JwEmIgcBBhQfARYyNwkBFjIAEAIEICQCEBIkIAQEjWYTE/46EzQT/joTE2YTNBMBMwEzEzQBhs7+n/5e/p/OzgFhAaIBYQGNZhM0EwHGExP+OhM0E2YTEwEz/s0TAdf+Xv6fzs4BYQGiAWHOzgAAAAACAAD/gAYABYAAFAAgAAAlATY0LwEmIgcJASYiDwEGFBcBFjIAEAIEICQCEBIkIAQDLQHGExNmEzQT/s3+zRM0E2YTEwHGEzQC5s7+n/5e/p/OzgFhAaIBYe0BxhM0E2YTE/7NATMTE2YTNBP+OhMCd/5e/p/OzgFhAaIBYc7OAAIAAP9ABYAFgAARABYAAAE3IRMhDwEvASMTBTM1JRMhJwEhAwUlBGoQ/IwvAmQWxcQNrxYBagQBZzL9fA/+OAWAgP2+/cIDq6/96uQ1NYz+6mQBYwIgtQHV+mKiogAAAAEADP9ABvQFgAAPAAABIQkCEyEHBSUTIRMhNyEBEwXh/vb83P1GRwEpHQGmAeZE+0g6BLkm+0gFgPrL/vUBCwFkk6GhAVMBKb8AAAACAAD/EAcABgAABwBVAAAANCYiBhQWMgERFAcGIyIvAQYEICQnBwYjIicmNRE0NjMhMhcWDwEeARcRIyImPQE0NjsBNS4BNTQ2MhYVFAYHFTMyFh0BFAYrARE+ATcnJjc2MyEyFgPAJjQmJjQDZhQIBAwLXXf+cf40/nF3XQkOBAgUEg4BYBYICA9kQ/WVwBomJhrAOkaW1JZGOsAaJiYawJX1Q2QPCAgWAWAOEgTmNCYmNCb8oP6gFggCCV2Pp6ePXQkCCBYBYA4SFBMQZFt9FAKHJhqAGiajInVGapaWakZ1IqMmGoAaJv15FH1bZBATFBIAAQAAAAAEgAYAACMAAAEyFhURFAYjISImNRE0NjsBETQAIAAVFAYrASImNTQmIgYVEQQgKDg4KPxAKDg4KCABBwFyAQcmGkAaJpbUlgMAOCj9wCg4OCgCQCg4AUC5AQf++bkaJiYaapaWav7AAAAAAAUAAP+ABgAFgAAHAA8AFwAnADMAAAAUBiImNDYyABAmIAYQFiAAEAAgABAAIAAQLgIgDgIQHgIgPgESEAIEICQCEBIkIAQEAJbUlpbUARbh/sLh4QE+AWH+1P5Y/tQBLAGoAaxmq+3+/O2rZmar7QEE7avmzv6f/l7+n87OAWEBogFhAurUlpbUlv5hAT7h4f7C4QJU/lj+1AEsAagBLP1+AQTtq2Zmq+3+/O2rZmarAkD+Xv6fzs4BYQGiAWHOzgAAAAADAAACAAWAA4AADwAfAC8AAAEVFAYrASImPQE0NjsBMhYFFRQGKwEiJj0BNDY7ATIWBRUUBisBIiY9ATQ2OwEyFgGAOCjAKDg4KMAoOAIAOCjAKDg4KMAoOAIAOCjAKDg4KMAoOAMgwCg4OCjAKDg4KMAoODgowCg4OCjAKDg4KMAoODgAAAAAAwAAAAABgAWAAA8AHwAvAAABFRQGKwEiJj0BNDY7ATIWERUUBisBIiY9ATQ2OwEyFhEVFAYrASImPQE0NjsBMhYBgDgowCg4OCjAKDg4KMAoODgowCg4OCjAKDg4KMAoOAEgwCg4OCjAKDg4AdjAKDg4KMAoODgB2MAoODgowCg4OAAABAAA/4AGAAWAAAcAGwA1AEUAACQ0JiIGFBYyJSYAJyYGHQEUFhceARceATsBMjYlJgIuASQnJgcGHQEUFhcWBBIXHgE7ATI3NgERFAYjISImNRE0NjMhMhYCAEtqS0tqAaoN/rnpDhQRDZrcCwESDYANFAF/BWax6f7hmg4JChINzAFc0QcBEg2ADQoLAR+pd/xAd6mpdwPAd6nLaktLaksi6QFHDQEUDYANEgEL3JoNERQNmgEf6bFmBQEKCg2ADRIBB9H+pMwNEgoJA838QHepqXcDwHepqQAAAAIAAP+ABgAFgAALABsAAAAgBBIQAgQgJAIQEgE2NCcBJgcGFREUFxYzMjcCLwGiAWHOzv6f/l7+n87OA7IgIP3gHyEgIBAQEQ8FgM7+n/5e/p/OzgFhAaIBYf2XEkoSAUATEhMl/YAlEwgJAAMANv81BssFygADABMALwAACQU2NCcBJiIHAQYUFwEWMgkBBiIvATY0JiIHJyY0NwE2Mh8BBhQWMjcXFhQEAAE8/cT+xAFpAmoTE/6WEjYS/ZYTEwFqEjYDi/x1JWslfjhwoDh9JSUDiyVrJX04cKA4fiUEPP7E/cQBPP5pAmoTNBMBahIS/ZYTNBP+lhICj/x0JSV+OKBwOH4layUDiiUlfTigcDh9JWsAAAACAAD/gAYABYAADwAfAAABNTQmIyEiBh0BFBYzITI2AREUBiMhIiY1ETQ2MyEyFgUAJhr8gBomJhoDgBomAQCpd/xAd6mpdwPAd6kCQIAaJiYagBomJgI6/EB3qal3A8B3qakAAwAAAAAFgAWAAA8AHwAvAAABFRQGIyEiJj0BNDYzITIWExE0JiMhIgYVERQWMyEyNhMRFAYjISImNRE0NjMhMhYEgBIO/MAOEhIOA0AOEoBeQvzAQl5eQgNAQl6AqXf8wHepqXcDQHepAuBADhISDkAOEhL+MgNAQl5eQvzAQl5eA4L8wHepqXcDQHepqQAAAf/7AAAEDAV/ABwAAAEGKwERFAYjISInJj8BNjMhESMiJyY3ATYyFwEWA/oSKMASDv1AFQgIDKAJEAFAwCgSERoBQBI+EgFAGwOlJfygDhISFA/ACwKAJSUfAYAWFv6AIAAAAAH/+v+ABAwFAAAbAAATITIWFREzMhYHAQYiJwEmNzY7AREhIi8BJjc2IALADRPAKCQb/sASPhL+wBoREijA/sAOC6ANCQkFABMO/KFKIP6AFhYBgB8mJQKAC8AOFBMAAAIAAP+ABgAFgAAUACQAACUBNjQvASYiBwEnJiIPAQYUFwEWMgERFAYjISImNRE0NjMhMhYCrQJmExNmEzQT/i3TEzQTZhMTAWYTNANmqXf8QHepqXcDwHep7QJmEzQTZhMT/i3TExNmEzQT/poTA4b8QHepqXcDwHepqQAFAAD/gAYABYAABgAQABUAHwAvAAABFwcjNSM1ARYHAQYnJjcBNgkDEQE3NjQvASYiDwElERQGIyEiJjURNDYzITIWAZSYNDhgAdIOEf7dEQ0OEQEjEf77AiD+4P3gA4BcHByYHFAcXAKgqXf8QHepqXcDwHepAayYNGA4AboNEf7dEQ4NEQEjEf1AAiABIP3g/uACYFwcUByYHBxcYPxAd6mpdwPAd6mpAAAAAgAA/4AGAAWAABkAKQAAARE0JiMhIgcGHwEBBhQfARYyNwEXFjMyNzYBERQGIyEiJjURNDYzITIWBQAmGv4gKhERH5D96hMTZhM0EwIWkBIbDA0nAQCpd/xAd6mpdwPAd6kCYAHgGiYnKR2Q/eoTNBNmExMCFpATBRECKvxAd6mpdwPAd6mpAAIAAP+ABgAFgAAlADUAAAkBNjQnASYHBh0BIg4FFRQXFjMyNzYnAjc+ATMVFBcWMzIBERQGIyEiJjURNDYzITIWA+0BYBMT/qAeJyh3woNhOCEKpwsOBwYWAyxqLqiMKAwMGgImqXf8QHepqXcDwHepAbMBYBM0EwFgHxERKqAnP19gemU8td8MAwkYAWJ3NC+gKhEFAsD8QHepqXcDwHepqQAABAAA/4AGAAWAAAIABgASAB4AAAEtAQERAREAEC4BIA4BEB4BIDYAEAIEICQCEBIkIAQCgAEA/wABgP4AAyCS+v7Y+pKS+gEo+gFyzv6f/l7+n87OAWEBogFhAcCAgAFP/eL/AAIe/t0BKPqSkvr+2PqSkgJf/l7+n87OAWEBogFhzs4AAwAA/4AGAAWAAA0AHQAtAAABFgcBBiInASY3NjMhMhMRNCYjISIGFREUFjMhMjYBERQGIyEiJjURNDYzITIWBHkSF/7AE0IT/sAXEhEoAoAomBMN/EANExMNA8ANEwEAqXf8QHepqXcDwHepA10jH/5AGxsBwB8jI/0gA8ANExMN/EANExMDzfxAd6mpdwPAd6mpAAMAAP+ABgAFgAANAB0ALQAAAQYjISInJjcBNjIXARYTETQmIyEiBhURFBYzITI2AREUBiMhIiY1ETQ2MyEyFgR5ESj9gCgREhcBQBNCEwFAF3UTDfxADRMTDQPADRMBAKl3/EB3qal3A8B3qQGjIyMjHwHAGxv+QB/+2gPADRMTDfxADRMTA838QHepqXcDwHepqQADAAD/gAYABYAADQAdAC0AAAAUBwEGJyY1ETQ3NhcBExE0JiMhIgYVERQWMyEyNgERFAYjISImNRE0NjMhMhYEQBv+QB8jIyMjHwHA2xIO/EAOEhIOA8AOEgEAqXf8QHepqXcDwHepAqFCE/7AFxIRKAKAKBESF/7A/ewDwA4SEg78QA4SEgPO/EB3qal3A8B3qakAAQAAAAAD9gWAAGAAACUXFgYPAQ4HIyIAJyMiJj0BNDY7ASY3IyImPQE0NjsBNgAzMhcWFxYPAQ4BLwEuBSMiBgchMhcWDwEGIyEGFyEyFxYPAQ4BIyEeATMyPgQ/ATYXFgPQIwMMCwUEDRMYGyEiJxPq/qI/Xw0TEw1CAgNDDhISDmJDAWHgZlwLCQYDKwMWDQQEDxQZGx8OfsgyAdQQCQoDGAUb/hgDAwHLDwoJAxgCEgv+fTDLfxIkHxwVEAQFDQ0M5Z8MFQQBAgMGBQUFBAIBBd0TDXENEzkwEg5yDhLSAQAXAwwLDZ8NDQQBAQMEAwMCgHAMDA5yGiVEDAwPcAsPdYkDBAUFBAECBQcHAAABAAAAAAP8BYAAPwAAAREUBiMhIiY9ATQ2OwERIyImPQE0NjsBNTQ2MzIXHgEPAQYHBicuAiMiBh0BITIWHQEUBiMhESE1NDY7ATIWA/wSDvxEDhITDWFfDhISDl/3v7mWCQIIZwkNDQoFKmAtVWgBMQ0TEw3+zwGeEg6iDhIBj/6RDhISDpYNEwF/Ew2DDhLfq959CBkKfwsBAgkFHCReTNcSDoMNE/6FtQ0TEwAAAAEAJf8AA9IGAABiAAABFAYHFRQGKwEiJj0BLgQnJj8BNjc2FzAXFhcWMzI2NTQuAycuCDU0Njc1NDY7ATIWHQEeBBcWDwEGBwYnLgQjIgYVFB4EFx4GA9LHnxIOhw0TQntQRBkFEQ9nBxAPCQJxgiUlUXseJVA0NictTi9CKS4ZEcSdEw2HDhI5a0M8EgYRDFEIDw4NAxc3PlcqX3gRKiVLLi81OGA3RSUaAV+Z3RqvDhITDa8JLC0zGAYVFIcKAgILAmMaCFZPHDIiKRcVEBIjGywpOTtKKYrQHrQNExIOsAYiISoQBhIUkg8BAwoDEiMdF1ZEGiwnGyMTEhQXLyY+QVgAAQAAAAADggWAAD4AAAEVFAYrAQ4BBxYBFgcGKwEiJwAnJj0BNDY7ATI2NyEiJj0BNDYzISYrASImPQE0NjMhMhYdARQGKwEWFzMyFgOCEg6oF9SqpwEkDgoIFcMQCf7OwAkTDXCEoRb+VQ4SEg4BnTnTkQ0TEg4DQA4SEg7pLxGrDhIEKmYOEpC0FLL+mhASEgwBb8wJDX8NE1ZSEg5mDhJxEw2FDhISDmYOEj1TEgAB//wAAAQHBYAARQAAISMiJjURISImPQE0NjMhNSEiJj0BNDY7AQEmNzY7ATIXExYXPgE3EzY7ATIXFgcBMzIWHQEUBiMhFSEyFh0BFAYjIREUBgJbrA0T/uANExMNASD+4A0TEw3W/r8ICAoSwhMK1xMlCikHvwgVvxEKCQj+x9cNExMN/t4BIg0TEw3+3hMSDgFKEg5nDRNVEg5oDRMCQhAQEBL+VyZXGFgRAaQTEA4R/b0TDWgOElUTDWcOEv62DRMAAgAAAAAFAAWAAAcAOAAAADQmIyERITIAEAYjIRUhMhYdARQGIyEVFAYrASImPQEjIiY9ATQ2OwE1IyImPQE0NjsBETQ2MyEyBBOCav7AAUBqAW/9yP6sAfkOEhIO/gcTDacOEuAOEhIO4OAOEhIO4BIOAhvIA2fIfP5AAaH+fvR2Eg6ADhLADhISDsASDoAOEnYSDpUNEwJ1DhIABgAAAAAHAAWAAAgADAAQABkAHQBuAAABEyMTFhQXNDYTNyEXITMnIwETIxMUFhc0NhM3IRcFFRQGKwEDBisBIicDIwMGKwEiJicDIyImPQE0NjsBJyMiJj0BNDY7AQMmNzY7ATIXEyETNjsBMhcTIRM2OwEyFxYHAzMyFh0BFAYrAQczMhYCAlGfSwEBAXQj/twgAaGLI0YBn06iUQEBAW8h/tciAoASDtWkBxifGAem0acHGJ8LEQKg0A4SEg6vIY4OEhIObVkFCgoQiRoFWgFnYQcYfhgHYgFtXQUaiRAKCgVbbw4SEg6RIrMOEgFVASv+1AEEAQEFAayAgID91AEs/tUBBQEBBAGtgIAgQA4S/ZgYGAJo/ZgYDgoCaBIOQA4SgBIOQA4SAVgPDQwY/pgBaBgY/pgBaBgMDQ/+qBIOQA4SgBIAAAMAOP8ABPUFgAAzAEgAXAAAARYHHgEHDgQHFSM1IicVIzUiJisBNzMyNxEzJiMRJisBNRcyNzUzFTYzNTMVHgMDNC4EIgYjETIWMj4GAzQuBA4BIxEyFj4GBI8SlXV0DQczTnR/UppQKpoSSBPIH28yCBAGCg1Mb9RAIZpSKJpPemg90R4sRzxYMk8ICDomRDFBLjEeE0cZJDwySStBBwU7IkIsOyYkEgOAtkwclotHbEYvFgT/+wH8/wG3MwGSAQEfRKQBAfz3AvX8Bx87Yf2dJDgkGQwGAv6uAQMFDBAaIi4B+CEzIRcKBgEB/s0BAQMIDhcfLgAAAgAA/wAGAAYAAAYAGAAAAREWFwEWFwUUFjMhERQGIyEiJjURNDYzIQQAFg4BmA4O/ag4KAIgOCj6wCg4OCgDIAQAAdgODv5oDhYgKDj74Cg4OCgGQCg4AAUAAP8ABgAGAAAGABgAKAA4AEgAAAEWFyERFhcDIREUBiMhIiY1ETQ2MyERFBYTNTQmIyEiBh0BFBYzITI2ETU0JiMhIgYdARQWMyEyNhE1NCYjISIGHQEUFjMhMjYFvA4O/igWDkQCIDgo+sAoODgoAyA4yBIO/UAOEhIOAsAOEhIO/UAOEhIOAsAOEhIO/UAOEhIOAsAOEgQkDhYB2A4O/cT74Cg4OCgGQCg4/eAoOP0gQA4SEg5ADhISAQ5ADhISDkAOEhIBDkAOEhIOQA4SEgAABAAa/wAGfQYAAAoAJABCAFIAAAEzLwEmNSMHFAYHARQHAQYjIicBJjc2OwERNDY7ATIWFREzMhYFFSE1ATY/ATUiBiMGKwEVIzUhFQEGDwEVNzY7ATUTFSE1MycjBzMVITUzEzMTBKexSAwCBAMHBP3wCv7BCg0MC/7ADwgIFsASDsAOEsAOEgNE/bgBcQwJCwIJAwwS6HgCN/6PBg8LDgkV+NL+4Esv8y9L/uFG5qLmBGjaLxAEFAEiDPseDAz+wQkJAUAQExQFYA4SEg76oBKF6VoCERIJCQMBA3PlWf3uCBILAgICdwOBamqQkGpqApb9agAAAAAEABr/AAZ9BgAACgAkADQAUgAAJTMvASY1IwcUBgcFFAcBBiMiJwEmNzY7ARE0NjsBMhYVETMyFgEVITUzJyMHMxUhNTMTMxMDFSE1ATY/ATUiBiMGKwEVIzUhFQEGDwEVNzY7ATUEp7FIDAIEAwcE/fAK/sEKDQwL/sAPCAgWwBIOwA4SwA4SA53+4Esv8y9L/uFG5qLmE/24AXEMCQsCCQMMEuh4Ajf+jwYPCw4JFfho2i8QBBQBIgziDAz+wQkJAUAQExQFYA4SEg76oBL+/GpqkJBqagKW/WoEf+laAhESCQkDAQNz5Vn97ggSCgMDAXcABQAa/wAHAAYAABkAKQA5AEkAWQAAJRQHAQYjIicBJjc2OwERNDY7ATIWFREzMhYFFRQGIyEiJj0BNDYzITIWAxUUBiMhIiY9ATQ2MyEyFgMVFAYjISImPQE0NjMhMhYDFRQGIyEiJj0BNDYzITIWAuAK/sEKDQwL/sAPCAgWwBIOwA4SwA4SBCASDvzADhISDgNADhLAEg79gA4SEg4CgA4SwBIO/kAOEhIOAcAOEsASDv8ADhISDgEADhJgDAz+wQkJAUAQExQFYA4SEg76oBKOwA4SEg7ADhISAfLADhISDsAOEhIB8sAOEhIOwA4SEgHywA4SEg7ADhISAAAAAAUAGv8ABwAGAAAPACkAOQBJAFkAAAUVFAYjISImPQE0NjMhMhYlFAcBBiMiJwEmNzY7ARE0NjsBMhYVETMyFgEVFAYjISImPQE0NjMhMhYTFRQGIyEiJj0BNDYzITIWExUUBiMhIiY9ATQ2MyEyFgTAEg7/AA4SEg4BAA4S/iAK/sEKDQwL/sAPCAgWwBIOwA4SwA4SAqASDv5ADhISDgHADhLAEg79gA4SEg4CgA4SwBIO/MAOEhIOA0AOEiDADhISDsAOEhJyDAz+wQkJAUAQExQFYA4SEg76oBIBcsAOEhIOwA4SEgHywA4SEg7ADhISAfLADhISDsAOEhIAAAAEABr/AAXOBgAACgAkAEMAVgAAJTQmIyIGFBYzMjYFFAcBBiMiJwEmNzY7ARE0NjsBMhYVETMyFiUUDgMjIicmJzcWFxYzMjY3Iw4BIyImNTQ2MzIWAxUhNTMRNDY9ASMHBg8BJzczEQVCWDs0PklEMkb9ngr+wQoNDAv+wA8ICBbAEg7ADhLADhIC7ho4UHVFPi4YEicPECUmVGUQAhVRLGqGkG17pB7+K6cBAgcIEj5SwHvfP2pKckw2VgwM/sEJCQFAEBMUBWAOEhIO+qASNz53bVIxEAgHcQcEDXVXFxyPZWmSvQIvcnIBsAcYBRAMDRI6Vrn9cgAAAAAEABr/AAXOBgAACgAkADcAVgAAATQmIyIGFBYzMjYBFAcBBiMiJwEmNzY7ARE0NjsBMhYVETMyFgUVITUzETQ2PQEjBwYPASc3MxETFA4DIyInJic3FhcWMzI2NyMOASMiJjU0NjMyFgVCWDs0PklEMkb9ngr+wQoNDAv+wA8ICBbAEg7ADhLADhIC0P4rpwECBwgSPlLAe8MaOFB1RT4uGBInDxAlJlRlEAIVUSxqhpBte6QE3z9qSnJMNvuqDAz+wQkJAUAQExQFYA4SEg76oBL8cnIBsAcYBRAMDRI6Vrn9cgUzPndtUjEQCAdxBwQNdVcXHI9laZK9AAADAAD/gAZABYAACwAbAFwAACU0JiMiBhUUFjMyNhMRFAYjISImNRE0NjMhMhYFFAcWFRYHFgcGBxYHBgcrAiIuAScmJy4BNRE0Njc+ATc2Nz4CNz4CNzYzMh4FFRQOAQcOAgchMhYBACYaGyUlGxomoCYa/uAaJiYaASAaJgSgNw8DLhERDycJOkCFJEwRQpxXTXsjGiYkGRhoMUQhEhoJCQcLHBQTGi5JLyEPCQETExIDDggEARVOcsAaJiYaGyUlAhv9gBomJhoCgBomJhpWPywgTD04PTklcEVMAh8bGisBASUaAoEZJQICckBXIRI8JSonLDwUExUfMig8HhgmTCwiBhgUDnIAAAAAAwAA/wAGQAUAAAsAGwBcAAABFAYjIiY1NDYzMhYTETQmIyEiBhURFBYzITI2JRYVDgEjIR4CFx4CFRQOBSMiJy4CJy4CJyYnLgEnLgE1ETQ2NzY3PgI7AxYXFgcWFxYHFgcUAQAmGhslJRsaJqAmGv7gGiYmGgEgGiYEaTcBcU7+6wQIDgMSEhQBCQ8hL0kuGhMUHAsHCQkaEiFEMWgYGSQmGiN7TVecQhFMJIVAOgknDxERLgMDwBomJhobJSX95QKAGiYmGv2AGiYmrz1YTnIOFBgGJShNJhgePCgyHxUTFDwsJyolPBIhV0ByAgIlGQKBGiUBASsaGx8CTEVwJTk9OD1MIAAADAAA/4AGAAWAAAkADwAXACsAPQBcAGQAfwCMAJ4AsgDCAAAlNTQjIgcVFjMyNzM1NCIVJRUjESMRIzUFESM1BiMiJyY1ETMRFBcWMzI3EQUVFAcGIyInFSMRMxU2MzIXFhcVFAcGBwYjIicmPQE0NzYyFxYdASMVFDMyNzQ2NDUBFRQiPQE0MgE0Jy4BJyYhIAcOAQcGFRQXHgEXFiA3PgE3NgETIwcnIx4BFxYXFTMlNTQnJiMiBwYdARQXFjMyNzYXMxEjEQYjIicmNREjERQXFjMyNwERFAYjISImNRE0NjMhMhYDlx0REBARHbhCQv3FUEpOAbFDJyUhCQZCAQEOFBYBPwcMKSMhQ0MgJCkMB/sCAwwbNTQdFRQdZhsVhSIYBgH+gUBAAhUTCkIriP7s/u2ILEEKFBQKQSuJAiaJK0EKFP0NWkszNU4HIAgjC0oBIRUdMTMbFRUbMzEdFbVDQxYUDwEBQwYLICQpAfepd/xAd6mpdwPAd6npnTIQ4BCrIjMz6Eb+WQGnRn7+kSgtHBElASL+8hgCDx8BGG+SNBUqKSQB7aEoKhW2CR0OFhIoJhs7gTsbJiYdOUxBMxoBDBULAzicMzOcNP0DsVMsOwUPDwU7LFetsFQrPAUPDwU8K1QDOwEow8MXXBdnN8l4gjodJiYdOoI6HSYmGzwBcv7lHxACGAEQ/tslEhstAQj8QHepqXcDwHepqQAAAAsAG/8ABeUGAAAJAA8AFwArAD0AWwBjAH0AiQCbAK8AAAEVFCMiJxE2MzIFFSM1NDIlMzUhFTMRMyEzESMRBiMiJyY1ESMRFBcWMzI3JTU0JyYjIgc1IxEzNRYzMjc2JTUjFAcGIyI9ATM1NCcmIyIHBh0BFBcWMzI3Njc2ATU0Ih0BFDIBFAcOAQcGICcuAScmNTQ3PgE3NiAXHgEXFgEzAxEjESYnJiczEwUVFAcGIyInJj0BNDc2MzIXFiURIzUGIyInJjURMxEUFxYzMjcRA8snFxYWFycBUlpa/Dpr/shpZAEgWVkeGxIDAVkIDC4wNgGtCRE2MitZWS0wNhEJAVJbAgchLrMbJ0NEJxwdJ0VIJBIDAv2gVlYCzxoOWDq4/Rq4OlkNGhoOWDu3Aua4OlkNGvwaZnlkDi8lHGpHAbYcJkRDJhwcJkNEJhwBT1s1Mi4NCFsBAxIbHgEk00MWAS0WRC4uRJZeXv3HAe7+hioVAyABbP55MRglPV7FSRo4Ntn9aTA3NxtTDTMKJEVXZ08lMzMlT61PJTM1GxsJA8LSRUXSRv1X6nQ7UAYVFQZQO3Du6nQ7UAcUFAdQO3AEDv5x/vEBD0qKZ1T++UavUSUzMyZQr1AlMzMlUv4NNz4lGDMBiv6RIQIWKwF9AAAC//v/gAWGBfYAEwAnAAABBgMGKwEiJjcTMicDJjc2OwEyFwEWBwEVARYHBisBIicBNgE2OwEyAlUK9xsm7xUUCv0BAaEMCwkX7ygaA8oLC/3wAVALCgoW7yoY/q0SAgEZJ/EWA2US/kouIhMBwAEBFxYPDy0BZBAV/FoB/ZkUEQ8tAm4gA44tAAAAAAMAAP+ABgAFgAATACcANwAAATQnJisBIgcGHwEVAwYXFjsBMjcBJisBIgcBFgEWOwEyNzYnATUBNhcRFAYjISImNRE0NjMhMhYCrX4VH7gSCAcIfcQJCQgQuR8TAzcHEbseE/5lAQEFFCC4EgcICf78AZkI26l3/EB3qal3A8B3qQMDAd0iCwwR2AH+pg4ODSQDUQwj/ScC/iEjDA0PAdwBAtMQiPxAd6mpdwPAd6mpAAAAAAL//wAKBwEE9gACAEkAAAEtARMyBB8BMh4FFx4CFx4BFx0BFgcOAQ8BDgYjBiEmJC8CLgInLgInLgEnPQEmNz4BPwE+BjM2AscB5P4cuagBOUlJASAOIRggHg4GEycHCAkBARMHJA4ODh4gGCEPHwH7/ojP/s8wMSQkJUEYBhMnBwgJAQETByQODg4eIBghDiAB+wGY+v0BZwkFBAMDBgoQFw8GGVw3QJEpKIiRkTdZEREPFw8KBgMDEwIJAwQEBQogGQYZXDdAkSkoiJGRN1kREQ8XEAoGAwMSAAAFAED/gAbABYoAAwATABcAGwAfAAAJBBUBFScHNQE1FwE1FzcVCQwBkgHu/qr+FgUs/hYBAf4XkwFWAQEBV/1RAVb+Ev6uBS4BUv4X/qkBVwHp/q7+EgM9/s/+4wE//uRs/tsBAQEBASVsYAEcAgEBAv7kBNj+4/7QAQ7+8v7x/sEBHQN+/sH+8gEwAAYAC/8ABfUGAAAHAAsADwATABcAGwAABSERIxEhESMlNwUHATcBBwE3AQcDAQcJATUhFQUJ+6KgBZ6g/FIhAw8h/VhDAtVD/fRmAmZm2QHdgP4j/bIDIGAB4P2AAoAsnaWcAhqS/q2RArZ7/f97A3v9f2ACgfqhn58AAAAFAAD/gAYABYAABwAPABcATwBnAAAANCYiBhQWMgAQBiAmEDYgJBQGIiY0NjIkIiYOAgcOAQcOAxYUBh4CFx4BFx4DNjIWPgI3PgE3PgMmNDYuAicuAScuAwAQBw4BBwYgJy4BJyYQNz4BNzYgFx4BFwQAltSWltQBIOb+uObmAUgBUjZMNjZM/kcOi0h5VR0yTBQLDwUBAQEBBQ8LFEwyHVV5SIsOi0h5VR0yTBQLDwUBAQEBBQ8LFEwyHVV5SAJuBQrk0Fj+NljQ5AoFBQrk0FgByljQ5AoCFtSWltSWAaT+uObmAUjmNkw2Nkw2gAEBBQ8LFEwyHVV5SIsOi0h5VR0yTBQLDwUBAQEBBQ8LFEwyHVV5SIsOi0h5VR0yTBQLDwUB/m7+NljQ5AoFBQrk0FgByljQ5AoFBQrk0AAAAAMAAP+ABgAFgAAPABcAHwAAATIWFREUBiMhIiY1ETQ2MwA0JiIGFBYyJDQmIgYUFjIE4HepqXf8QHepqXcBmnywfHywArB8sHx8sAWAqXf8QHepqXcDwHep/KiwfHywfHywfHywfAAAAwAA/4AGAAWAAAIACQAVAAABEyEFMwkBMzchABACBCAkAhASJCAEAwDJ/m4CNl7+Nf41XmgCCgH7zv6f/l7+n87OAWEBogFhA5L+zuACs/1NoAEx/l7+n87OAWEBogFhzs4AAAUAAP9PBYEFyAAKABYAKgBDAGcAAAEWBicuATY3Nh4BFy4BBw4BFx4BNz4BEy4CJyQFDgIHHgIXFjc+AhMOAwcOASYnLgMnJic/ARYgNx4BBhMGAw4CBwYlJicuBCcuAyc+BDc2NyQFFhceAQMvCHU1Jx0cJiRJN28OxmI/SwMEk1xbeuQUSCwx/t3+7SsuQBIeXDc85Nw/NVxWCA8NLCRWz8VnLkdSQBQZIAYS3wI34BUGELUaVQUsKyH8/pr4kg8VDQUHAgkjFRoJAx0iOCQefbwBewEpmzwQAQKlP0wgEVJSERIMOxFrciwceUVbgAgImAJ6GyMJCC8xBwoiGhwjCQcdHAgII/wSGmVDSRQwLwMRCBQiNSNgxBAJlJQGIjgDuKf+GB40HBF+JhtwDB0pGzQJMsh7rEgaLR4eDwsuEiVXLkwUPgAGAAD/gAYABYAACAATACcAOgBZAGkAAAE0JgcGFhcWNjcWDgEmJyY2NzYWEw4CBwYnLgInPgI3NhceAhM0NiYnBiAnDwEWFxYXFjc+AhM2JyYnJgUGBw4CBx4CFx4DFxYXBDc+AjcSAREUBiMhIiY1ETQ2MyEyFgNQUiQrASsnVEoIWIRqAwI3LUaPthRDJyybqSwmQxUNLiIextIhJDI4CwUPof5oogwFGg8vnfmzIh4PhwkRK3DY/vGEXiYrMwQIFiQGAQgGEg1pswEDtRgfHwQwASipd/xAd6mpdwPAd6kCmisuFhRpEhc2PUJuDFxDMVgUH1IBOhUaBgUUFAYHGRQTGAcFIyIFBxn9AwcnGQRqagYMmjhRGy5jE0FqAsc1FjchPxsMIg8UMB5EjMokBTQUIgtQFBxbDRQmFQELATL8QHepqXcDwHepqQAAAAABAET/fgQABgAAIgAAJRcOAQcGLgM1ESM1PgQ3PgE7AREhFSERFB4CNzYDsFAXsFlorXBOIahIckQwFAUBBwT0AU3+sg0gQzBOz+0jPgECOFx4eDoCINcaV11vVy0FB/5Y/P36HjQ1HgECAAACAAD/gAYABYAAHwAvAAAlJwYjBi4CNREhNSERIyIHDgMHFTMRFB4CNz4BAREUBiMhIiY1ETQ2MyEyFgRwPiw7JDQZCgEB/wC8CAEFGTVlRIIrV5tjRYcBoql3/EB3qal3A8B3qUu3FgEXKCkXAY7CAUYKLFZoVhml/l45dGpBAgEwBC/8QHepqXcDwHepqQAB//v/QAMFBgAAFwAAABYHAQYjIicBJjc2OwERNDY7ATIWFREzAvUQDf6iCg0OCv6dDQgJFOASDsAOEuABACYQ/oAKCgGAEBMTBOAOEhIO+yAAAAAB//v/AAMFBcAAFwAAAQYrAREUBisBIiY1ESMiJjcBNjMyFwEWAv0JFOASDsAOEuAVEA0BXgoNDgoBYw0EExP7IA4SEg4E4CYQAYAKCv6AEAAAAAABAEAA+wcABAUAFwAAARUUBiMhFRQGJwEmNTQ3ATYXFh0BITIWBwASDvsgJhD+gAoKAYAQExME4A4SAuDADhLgFRANAV4KDQ4KAWIOCAkU4BIAAAABAAAA+wbABAUAFwAAARQHAQYnJj0BISImPQE0NjMhNTQ2FwEWBsAK/oAQExP7IA4SEg4E4CYQAYAKAoMOCv6eDggJFOASDsAOEuAVEA3+ogoAAAACAAD/gAVxBgAAJgA4AAABBgcGIyInJiMiBwYjIgMCNTQ3NjMyFxYzMjc2MzIXFhcGBwYVFBYBFAcGBwYHBgc2NzY3HgEXFBYFcSdUgYAxW1ZBPVFRM5iVk3Fxq0hpaCItYmZHd140NE8jQYr+4R0ePzY2JUMDS0qwAQMBAQFBfX3EICAhIgEDAQXy5JKQHh4iIkEkQEMzXnF8xgR6PUtLPzYSCwaVbGspAxADBAwAAAQAAP8ABoAFgAADAAcACwAPAAABESURAREhEQERJREBESERAqr9VgKq/VYGgPx1A4v8dQIS/XVeAi0C5/1tAjX9d/zufQKVA2785gKdAAAABgAA/wAFgAWEAAcADwAcADcATQBbAAAAMjY0JiIGFAQyNjQmIgYUBTIWFREUBiImNRE0NgURFAYrARUUBiImPQEjFRQGIyImNScjIiY1EQEeARUhNDY3JyY3Nh8BNjIXNzYXFgcBERQGIyImNRE0NjMyFgHdIBcXIBYBvCAWFiAX/PsqPDtWPDwET0AtSzxWPIo8Kyo8AUouQAKua4D8Y4BsRwcMDQdIX9RfSAcNDAcBljwrKjw8Kis8BB0XIBcXIBcXIBcXIM88Kv5SKzw8KwGuKjwT/WYuQOMrPDwr4+MrPDwr40AuApoBlTfFdXXFN4MNBwYMhCoqhAwGBw39lf5SKzw8KwGuKzs7AAkAAf79BfoGAQAIAA8AIgEIARUBJQEzAUkB8QAAAQ4BIwY1NDcyFwYmBzYXFgEmDgEHBgcGFxY2Nz4DPAEmATQnPgMmNC4CJy4BJxYXFgcGBwYuAScuBCcuAycmNiYnLgEnLgE2NzYWBwYWNzY0NS4DJwYXFCMuAQYnNiYnJgYHBh4BNzY3NgciJicmNhcyFgYHBgcOAQcOARceAxcWNz4DNzYXHgEGBw4BBwYHBicmFxYXFjc+BRYXFA4FBw4CJyYnJgcGFRQOAhcOAQcGFgcGJyYnJjc2BwYHBhceARceARceAQYHHgIVNicuAjc+ARcWNzY3NhcWBwYHBhYXPgE3NiY2NzYzPgEWATYmJyYVFhcyBwYzMgUuAicuBAcGFhcWNic0LgEHIgYWFxYXFDc2NzQuAScmIw4BFgcOAhcWPgE3NjI2AR4CDgUHDgEHDgEnLgMnJiMiBgcOAycuAScuBCcmNjc2LgE2Nz4BNz4BNRYHBicmBwYXHgMHFAYXFhceARceAjc+Ai4BJyYnJgcGJyY3PgI3PgM3NjcmJyY2NzYzNhYXHgEHBhcWFx4BFxYOAQcOAycuBCcmDgEXFgcGFjY3PgE3PgEuAScuATY3HgUClwsJBAUTBVwEDwoYCAP+mwQEBQMDBwoJBBEEAQICAQIDVTcEBwMDAgcBCQEKSiMYIVchCycfDwELCRUSDQ0BDiIZFgQEFAsnDzsGCAYWGSUcCgsSFQ0FERkWEGsSAQkpGQMBIhwbHQIBCREHCgYECwcRAQEUGBEUAQEWCQgnAQ0FCg4WChsWLzcCKhsgBQkLBQMJDBRJCSwaGTYKAQEQGSoRJiIhGxYNAgIGBgsHDQMcTzYWFSoWAwEeHQ0SF08IAgEGCBUgBAIGBAUCAiQuBSgEFKgJEAMfHggqDi4nBA0GAQMUCi54hSwXCwwCARYJBhUDFwICEQIWDyQBQ079oQMLBgkCAwoDAwsDAaMCCREGBQkFBgIDDioSCQu0CgwDBgQEAw4ECAI2BQ0DDwkJBQMCAQoCBAQIDggBEA4CNxQWAgcYFyUaJggmXxwRZiYSFwoiHixWE0wULEckMxwdpEATQCQrGAUKIgEBCgoBCg5WER4YFTUgMyIJDRICDAUEASIDAyIUgSMYZEEXKysDEhQKeTBELQsEAwEBEh4HCCUWJhRuDgwEAjRQJ0E1aiQ5RQUFIyJjN1kPCAYSCwobGzYiEhsSCQ4CFiYSEBQTCjhaKDs9STUwCycgISEDDgEODxoQGwRlARMBBgwDDgEPAwsNBv5SAQgRBQUICwEBEAoDCAQFAwMC/poSGA8ZGxAdCiIHKwUwbhQUP6J0KAIELXouJzwfEgwBPlIeJBYVQSIIAx4BATI0AQNCGRMPBwRABR4oFQkDCH4PCQMEBzlCAQE5Hw8sHwIDCwkBHRMWHgEqJAQPDgwXAQ4aBQgXDwsBAhEBDAkRCQ4GAwsNAwYfBBMEBQcCBAQPFwEBDBATDwkECQIFBQQGAwcBDjwaDAs+HwkDBxk/MEQdBqg5EmYIGBUfPxwcEwEBBEFlDCAEF4cJDy4oAw87MS4YRAgQCAIFCQc0EA9IJggGLhlDFx0BE3QgFWlZGhIlIAsDKhEaAgIJBQEPFMIIBwMEAwoGBwECEDcEARLgCxEIAQQEAQQbAwUC6gIGCAIPAQ0NBgQNBQYDBgwDAQT6yAwZFxYWERQNEgQTShsQBxIJHRYRAQEDAQEcIBkBATwNBAsHDBELF1cLEDAlJAkMBAoSIiJJIRQFAw0PKgYYDBYLD0QOEQkGGQgGIA4DBiw0QScRvjRKIgkYEBYdLjASFWY2RBSPNHDGWnsrFQEdGyqfRF93cWk70FcxRygCAiIlHgEBCBMMHQUlDlQ3Rn1BRwUhMSMZEiUgGQsLSkcMHzMeGwsPAAgAAP+ABgAFgAAOACAAJwAuADIAPgBWAGIAACUmAyMHDgQHJxYzMgMmJwQhBhUUFhc+Az8BPgEnJicOAQcgBSYHFhc+AQEiBzYFJiMiBxYXPgQTJicHDgQHFhceARc+ATIeBBc2EAIEICQCEBIkIAQEACpiAgIQNpR+iCMPuOqEPRUg/sn+lgFYUDKTinsmJQQSZ3h8isAgAS4D3NLHVylvlPzxAQEBAk+5+ExPg3NFekc8D+QDkgEJFENLfUUZEwIJAyRNRkQ8NSseCnrO/p/+Xv6fzs4BYQGiAWEk8QEBAQYVTVeOTQuWApMxPl0HDnzhWVmbXkQODQEF1tWlQfKX7zwf7+ZL5QNtAQGRpBOq1BpFNjwV/iLosgEMGUA5SRw1KgUYBQUEAwUGBwUCyP5e/p/OzgFhAaIBYc7OAAAAAgAA/4AGAAWAAD4AXgAAATQuAy8BLgQ1NDMyHgMzMjY1NC4BIyIOAhUUHgIfARYXFhUUBiMiLgMjIgYVFBYzMj4CBRQGIyInBiMiJCYCNTQ3JjU0NjMyFzYzMgQWEhUUBxYElSc6WE0xaB4cKhIPkCtEKCQsGi85cKxgRIBvQyZKVjySWhYgUEEzUTEqMh0yM/SpSYZvQgFr4Z+CaE1Jj/77vW8QUOGfgmhNSY8BBb1vEFAB2TJTNiwYCxgHBxAQGhFNGCEiGEAtN1kuHz9vST1bPCUOJBYOFCgnMyAtLSA8LVyDJUZ1kJ/hUBBvvQEFj0lNaIKf4VAQb73++49JTWgAAAADACz/fQThBgAAIwA/AEQAAAE3NiYjISIGFREUNwE+ATsBMjY3Njc2JiMhIiY9ATQ2MyEyNjcGCgEHDgQjISIHBgEOAScmNRE0NjMhMhYHAzYaAQPoJQUcFf04Fx8GASMXHiHvFh4DGA0EHxX+2h0mJh0BWhIi5g9NPgQGBhYbMiH+8Q0JCP5eFkkMN0xSA3hfQBaeBD5NBE7CFyIiFPuzBwYBYBoPHQ+CPRUmJh0qHSUb7kn+ff7HERYVLBYUCgn+GxkHCRZMBYI3X2pq/OoRATkBgwAAAAADAAD/gAYABYAADwAfAC8AACURNCYjISIGFREUFjMhMjYBETQmIyEiBhURFBYzITI2ExEUBiMhIiY1ETQ2MyEyFgLAEg7+IA4SEg4B4A4SAqASDv4gDhISDgHgDhKgJhr6gBomJhoFgBomwAQADhISDvwADhISAY4CgA4SEg79gA4SEgMO+oAaJiYaBYAaJiYAAAAAAgAA/wAFAAXgADEAOQAAARQGIyInAyMVExYVFAYrAREUBisBIiY1ESMiJjU0NxM1IwMGIyImNTQ3ATYzITIXARYAFAYiJjQ2MgUAOCgzHeMt9wkmGsBCLqAuQsAaJgn3LeMdMyg4EAEASWcBgGdJAQAQ/mCDuoODugHgKDgrAVWE/mUPEhom/vAuQkIuARAmGhIPAZuE/qsrOCgdGAGAa2v+gBgDYLqDg7qDAAIAAP8ABAAF4AAlAC0AAAERFAYiJjURIxEUBiImNREjERQGIiY1ESMRFAYiJjURNDYzITIWABQGIiY0NjIEADhQOEBCXEJAQlxCQDhQOHBQAoBQcP7gg7qDg7oDQP5gKDg4KAFg/HAuQkIuAdD+MC5CQi4DkP6gKDg4KAGgUHBwAc26g4O6gwACAAD/gAYABYAAFQAhAAAlAT4BJicmDgEHBiMiJy4CBw4BFhckEAIEICQCEBIkIAQDBQFeEBEdLyhWPRgkPDskGD1WKS4dERAEWM7+n/5e/p/OzgFhAaIBYeoB2RZKYB8aASIcKCgcIgEaH2BKFo7+Xv6fzs4BYQGiAWHOzgAAAAIAJ/8ABtkF/wAPAEkAAAA0LgIiDgIUHgIyPgElBgcFERQHBiclBwYiLwEFBicmNRElJicmPwEnJjc2NyURNDc2FwU3NjIfASU2FxYVEQUWFxYPARcWBcBbm9Xq1ZtbW5vV6tWbAW8EEP7cDQ8O/ty0CiAKtP7cDg8N/twQBAUJtLQJBQQQASQNDw4BJLQJIgm0ASQODw0BJBAEBQm0tAkCC+rVm1tbm9Xq1ZtbW5s1DwVg/s4QCgoGXvgNDfheBgoKEAEyYAUPEQz4+A0QDwVgATIQCgoGXvgMDPheBgoKEP7OYAUPEA34+AwAAgAA/4AFwQWBABIAMQAAJQYjIiQCNTQ3BgIVFB4CMzIkJQYEIyIkJgI1NBI2JDc2FxYHDgEVFB4BMzI3NhceAQTuNji2/sq0aMn/ZqvtgpABAwEmXv6F4Jz+5M56c8UBEpksERIhVluS+pR2bikfDgfpCbQBNrbApTz+rteC7atme8PL83rOARycmQEXzH0GAikpH07Pc5T6kjMSHw4oAAMAQP+ABsAFgAALABsAKwAAADQmIyEiBhQWMyEyAREUBiMhIiY1ETQ2MyEyFhMRFAYjISImNRE0NjMhMhYEQCYa/wAaJiYaAQAaAmYmGvqAGiYmGgWAGiZAJhr6ABomJhoGABomAqY0JiY0JgEA/EAaJiYaA8AaJiYBpv8AGiYmGgEAGiYmAAACACD/oAZgBcAAQgBIAAAAFAYrARQHFxYUBwYiLwEOBCMRIxEiLgIvAQcGIyInLgE/ASY1IyImNDY7AREnJjQ2Mh8BITc2MhYUDwERMzIBITQ2IBYGYCYa4EPQExMSNhLGBRRAQmIwgDNlSTsOD7cUHBgTEwMRyjrgGiYmGuCtEyY0E60DTK0TNCYTreAa/kb9gLsBCrsCWjQmq3fREzQTExPFBRApIBoDgPyAGycnDQ7PFRASNRTjcqAmNCYBJq0TNCYTra0TJjQTrf7aAgCFu7sAAAH////8B5QESQCFAAABFgcGBw4CHgIXFhcWFx4CDgEjBQYmLwEuAwcOBBcUBg8BBgcjBi4CLwEuAwInJjQ/ATYzJR4BHwEWFx4BHwEeAzI3PgQnLgEvASYnJjc2NzYXFhceAxQOARUUBh4CFx4BPgI3Njc+AT8BPgIXJTYWFwd9F60YKSgeHwcTLiIEAY0yAwcHCCom/wAYQBQUHlA5QRgDChgTDwEHBAQSI3NHlnFdGBkKI2xojTwGAwQPKgESDBYFBRAIFDQPEB02KygcDQIGEgkKBQIOBwYZPA0SEBY1ulI1FBsOBwIDAgEGEQ4IEiIqPiU8LwQMBQQCBhQKASAnMgYD+EDmIDUzKjkbKiwfAgKDWgUPJh4ZBAUUDAwVVkUvCAEFGCNFKw8ZBgUTAwQpQUMYGAoojqABBo0QFgUGEwICCQQDCxUyaxwdPFgxHAUBCCQ6aEkoQg0MIgkCFhMLGgIBDAURHyE6NFkmCz4iLx8JAgQaK1s+aHkKDwMDAQMDAQIFDwkABwAA/6oHEAVlAAoAFQAhAC8AVQBpAH8AACU2JicmBgcGHgE2NzYmJyYGBwYXFjYXDgEnLgE3PgEXHgElLgEkBwYEFx4BBDc2JCUUDgIEICQuATU0Ejc2JBcWBwYeATY/ATYyFxYHDgEeARceAgIeAQcOAScuATc2JgcGJicmNjc2JR4BBw4BLgE3NiYnLgEHBi4BNjc2FgKjFRQjIk4VFhJEUXQICQ0OHQcRHg4etS3ib2tRLy/Ram9fAQsJoP7/kt/+2w4JoAEBkt8BJQEmSpDB/v3+5v701YKLgKkBWUpBLQQGDg8GBovWLi0tAgUOCgw5XER0VBkTCCsXFxYHFFg/GCoEBRoYPAFVVzMnCTI2GggcJD4+rFccMAwfHHvy/CJGDw4aISJFIBubDRsFBQsNHw4FC15mYCQiuV9dXBsdtTxglEYOF+2SYJRGDhftjkSPg2g+Q3e3bHMBBICphkpAkQ4MAgMCAjs9P3MNDgsEBBI6aQJfXns4FxYHCCsXP2ANBRoYGCkFDU9g/XMbGhIyG1K0REU1EgYfOC8GGksAAAAAAwAA/4AGAAVyAAkAEwAdAAAFBiMiJz4BNx4BAREUAgcmETQSJAEQByYCNREWBBIEbavFxKuKwyIjw/6b/cy1pwEkBDW1zP2zASSnIl5eV/iQkPgFPf4b/P5hY9cBGLsBRdb9Kv7o12MBn/wB5R7W/rsAAAABAAD/AAV6BgAAawAAAQ4DLgMvAQYAByImNDYzNiQ3DgIuAyc+AR4CFzY3DgIuBSc+AR4FHwE2NS4FNjceBA4CDwEWFAc+BRYXDgYmLwEGBz4FFgV6IFheaGNeTzwQEXH+n9ATGhoTrQErZiRIXlhiVlMhcsiHcj8ZNRoHFkdEX1JWQC0GRn9iVj0zIRYFBAwIG0c4NA4mM0ltPCQFBhQSCAcBAQMOLzZYX4FEAic9TlVUTDsRERcyBhhLUHd0jgGxUHQ9IAMOHhkKCuT++QEaJhkB1bwOEggNLEp+Uy8UI05MLIOgAQMCAxEdOEpzRhwREyk7Pz8xDxB6SQYURUpwcY1EGUlQWlhTRjYPDwRcGgcXPzU6HwIXTn9SPR4SAQMDA5OIBxc7LiYCMQAEABX/AATrBQAADAAQABQAHgAAARUUBisBAREhIiY9AQEVITUBFSE1JRUhNTQ2MyEyFgTrc1E5/vz971FzBNb7KgTW+yoE1vsqc1EDTlFzARtCVXf+8wENd1VCAUb//wFI//+MQ0NUd3cAAAADAAD/gAYABYAAGQAlADEAAAAUBwEGIyImPQEhIiY9ATQ2MyE1NDYzMhcBFhAuASAOARAeASA2ABACBCAkAhASJCAEBIAJ/sAJDg0T/qANExMNAWASDgwMAT+pkvr+2PqSkvoBKPoBcs7+n/5e/p/OzgFhAaIBYQKOHAn+wAkTDcATDcANE8AOEgr+wasBKPqSkvr+2PqSkgJf/l7+n87OAWEBogFhzs4AAAAAAwAA/4AGAAWAABkAJQAxAAABFRQGIyEVFAYjIicBJjQ3ATYzMhYdASEyFhIQLgEgDgEQHgEgNgAQAgQgJAIQEiQgBASAEw3+oBIODAz+wQkJAUAJDg0TAWANE6CS+v7Y+pKS+gEo+gFyzv6f/l7+n87OAWEBogFhAuDADRPADhIKAT8JHAkBQAkTDcAT/v8BKPqSkvr+2PqSkgJf/l7+n87OAWEBogFhzs4AAAMAAP+ABgAFgAAPAB8ALwAAAREUBiMiJwEmNDcBNjMyFgERNCYjISIGFREUFjMhMjYBERQGIyEiJjURNDYzITIWBAAmGhQR/kAbGwHAERQaJgEAEw38QA0TEw0DwA0TAQCpd/xAd6mpdwPAd6kDwP2AGiYMAUATQhMBQAwm/MYDwA0TEw38QA0TEwPN/EB3qal3A8B3qakAAwAA/4AGAAWAAAcAEwAfAAAAFAYiJjQ2MhIgDgEQHgEgPgEQJgQQAgQgJAIQEiQgBAQAltSWltQq/tj6kpL6ASj6kpIBcs7+n/5e/p/OzgFhAaIBYQLq1JaW1JYBIJL6/tj6kpL6ASj6vf5e/p/OzgFhAaIBYc7OAAAAAAIAAP8ABl0F4AAVADYAAAEXBgQjIiQCNTQSNxcOARUUADMyPgElFwUGIyInAyEiJicDJjc+ATMyFhUUBicTIRUhFyEyFxMD/2Y6/tC7nP73m9GqEXqSAQe5ftV1Ahs6/wANECgR7/4oGCUDYAIIDlY2Ql5oRCUBp/5pEAHHKBHkAV3Ms96bAQmctQEqPoM234W5/vmC3RpygAcjAd0hGAMLERkzP15CRWEH/t+AgCP+OQAAAAIAAP+ABgAFgAAjADMAAAE2JyYDNjMyBw4BIyInJicmBwYHDgEHFzYzMhceARcWMzITEhMRFAYjISImNRE0NjMhMhYFDAqr51EsJlULBIwjKycNIB6CO2kbbBs0TAs5Mg88D0RgneLc+ql3/EB3qal3A8B3qQOC2AYI/vMTYDncqTbJvQwHXRhgGEM0szfbN7MBJgEbAX/8QHepqXcDwHepqQAAAQAAAAAEgAWAAEQAAAEUAgQrASImNREHBiMiJyY9ATQ/ATUHBiMiJyY9ATQ/ATU0NjsBMhYdASU2Fh0BFAcFFSU2Fh0BFAcFETYANTQ2OwEyFgSAvf68v6AOEtcDBgoJDRfp1wMGCgkNF+kSDqAOEgF3DxoX/ncBdw8aF/53vAEEEg6gDhICwL/+vL0SDgJjQgEGChCAFwhHXUIBBgoQgBcIR/oOEhIOtXQFFBCAFwh5XXQFFBCAFwh5/hkNARS+DhISAAMAAAAABYAFgAAjADMAQwAAARUUBiMhERQGKwEiJjURISImPQE0NjMhETQ2OwEyFhURITIWExE0JiMhIgYVERQWMyEyNhMRFAYjISImNRE0NjMhMhYEgBIO/qASDkAOEv6gDhISDgFgEg5ADhIBYA4SgF5C/MBCXl5CA0BCXoCpd/zAd6mpdwNAd6kC4EAOEv6gDhISDgFgEg5ADhIBYA4SEg7+oBL+MgNAQl5eQvzAQl5eA4L8wHepqXcDQHepqQAAAAAEAAD/gAiABQAAJwAvAD8AUAAAAQYrATUjIiY1NDcuATQ2NyY1NDY7ATUzMhchHgEXHgIUDgEHDgEHNxYUBxc2NCcBIQYHIgYPAQEOASsBAzMyAyMTMzIWFwEeBDMFISYCbG6egEANEwc6TU06BxMNQICebgRZKoEQWXotLXpZEIEqBjU1UURE+1UD99nvOXAbHP7gGlktYF0dnZ0dXWAuWBoBIAQOLzJJJAHI/Al0AaBAQC8hGBkCERgRAhkYIS9AQAcWAw8zLCQsMw8DFgf8JHAkHjCUMP7WJiowGBj+4BomAdAB4AHQJhr+4AQNIRkVUEAAAgAA/4AGgAYAAFIAVgAAATIWFRQPARcWFRQGIyImLwEFFxYVFAYjIiYvAQcGIyImNTQ2PwEDBwYjIiY1NDY/AScmNTQ2MzIWHwElJyY1NDYzMhYfATc2MzIWFRQGDwETNzYBJQMFBe8+U12sOAdUOy9NDzf+yjcIVDwvTA83mR0VPVE3LJxpnBoWPFI3LJ01CFQ8L0wPNgE2NghVOy9NDzWiFRY8VTwsnWmkGPz8ATZp/soC+FE9YSE7pxUaO1Y2LaVqpBgXO1Y2LaM1CVA9L0wPNQE5NghRPC9MDzWfGBc8VTYtoGmgGBc7VjcsoTcGTzstSQ82/sQ4CP76aQE7awAAAAADAAD/gAYABYAADwApAEkAAAEyFhURFAYjISImNRE0NjMBEQYHDgEHBiM5ASInLgEnLgEnERQWMyEyNhE0JiMhIgYVFBYXHgEXHgYyPgU3JT4BBOB3qal3/EB3qal3A+AfISLFNWJCQmIvvi8MKgo4KANAKDg3KfzAKDg9JS+1JwMcDhwTGBUUFRgTHA4cAwELIz8FgKl3/EB3qal3A8B3qfvgAbQjFBZ+JEVFIHkgCCYI/kwoODgCZSk6OCglTxkgchoCEwkRCQoFBQoJEQkTAq4XTwAAAAAGAAD/AAcABgAABQA/AEcAUQBhAHEAABM0NwEmAgEUDgMHAwE2Nz4BJg8BJicmDgEeAR8BEwMBNjc+ASYPASImIzYkMzIEFyMiBhUUHgYXFgUTFhcGIyInARYVFAIHEzY1NAAgBBYSEAIGBCAkJgIQEjYAICQ2EhACJiQgBAYCEBIWf0MBb8TuBQgFDwgbBEz+6i4qEw4TE81LfwwRBgMPDFB4qP7oLioTDhMTzQcgCmkBU8aTAQtpCjdKBAQMBhIHFgM//gbtAQR+gXBpA3tf0K/rO/yiAWwBTPCOjvD+tP6U/rTwjo7wAVUBWgE95YiI5f7D/qb+w+WIiOUCgKOW/BNfAXQBCBMnPBxaDf8AAzoDBQIhHQEKAQkBDBITDgEI/rj+CANAAwUCIR0BCgGgu2pgUTcMGBMbDx4MJAVr0/15BgUsIARSrsPR/p9mAqapayoCNI7w/rT+lP608I6O8AFMAWwBTPD5t4jlAT0BWgE95YiI5f7D/qb+w+UAAAACAAD/gAcABgAAEgAbAAABEQUmJCY1NDYkNxUGBBUUBBcRARMlNyYnNQQXBD7+8OT+jNbJAV3Z2f7pATXqA60l/fOTd6EBFcwGAPoAgBSk/ZKM96QarCbgj5jmHgVQ/j/+enJTRh2sIXwAAAADAAD/AAeABgAADAAmADAAAAkBFSMUBiMhIiY1IzUBIREzESERMxEhETMRIREzMhYdASE1NDY7AQUyFh0BITU0NjMDwAPAgCkc+gocKYABAAEAgAEAgAEAgAEAOxwp+YApHDsGOxwp+IApHAYA/oCAGiYmGoD/AP0AAwD9AAMA/QADAP0AJhpAQBomwCYagIAaJgAAAgAA/4AJAAWAAA0ANgAAARMWBgQgJCY3EwUWMjcAFAcBBiInJQ4BBxYVFAcTFgcGKwEiJyY3EyY1NDc2NyUmNDcBNjIXAQbuEgSs/tb+pP7WrAQSAj4WNBYEUBb7oAQMBP10KzgGPzo6AgoJD8APCQoCOjpBC1f+sxYWBGAEDAQEYAK8/sRFdkVFdkUBPLUHBwIQLgj+oAEBziKbZSRJRSb+Tw4LCwsLDgGxJkVJJs97aAguCAFgAQH+oAABAG3/gAWTBgAAIgAAARMmIyIHEyYAAicWMzI3HgESFz4DNxYzMjcxDgMHBgNbDT4rKUANKP7/sF06MixDP43BKiWRWngvNjU4OhxAI04KkgJD/T0LCwLDRQHFASiLDw9v7f7ERT3pk81XDg4nYzqGEfgAAAEAAP+ABeEFgAAjAAABIRYVFAIEIyIkJgIQEjYkMyAXByYjIg4BEB4BMzI+AzchAwAC1Qy2/q/anf7kznl5zgEcnQEs19F7t4HbgIDbgVeSXkYhBv5MAu5DPdn+q8B5zgEcAToBHM55ycl3gt/++N+CMEhcUiUAAAUAAP8ABwAGAAAQABkAIgBOAF4AAAEWBwYgJyY3NjIXFjMyNzYyJBQGIiY1NDYyBRQGIiY0NjIWNzQmIgcmJxMXFBYyNjQmIyIHJyYHAwYHJiMiBhUUFhcGFRQEMzIkNTQnPgEkEAIGBCAkJgIQEjYkIAQWBEcQED7+7j4QEAYSBjB5eDEGEv7TNEo1NUoBvzVKNDRKNftGZCSCtT/INEo1NSU2Gt0TBkW0gSM0MkYlHwYBGMXGARgHHiQBZo7w/rT+lP608I6O8AFMAWwBTPABcRAPPj4PEAYGMTEG1Eo0NCUmNFolNDRKNTRSMUYkWgYBGy0lNDVKNTIxBRX+yAdaJUYxIzoPGx2OysqOIBkPObv+lP608I6O8AFMAWwBTPCOjvAAAAAABQAA/4AGAAWAAA8AGQAjAFEAYQAAARYHBiInJjc2MhcWMjc2MiUUBiImNTQ2MhYFFAYiJjU0NjIWNzQmIyIHJic3Fx4BMzI2NCYjIgcnJgcDBgcmIyIGFRQWFwYVFBYzMjY1NCc+AQERFAYjISImNRE0NjMhMhYDqw0NNew1DQ0FEAUqzioFEP7+Lj4uLUAtAVIuPi4tQC3XPCsqH3GaNqsBLR8gLS0gMBW9EQQ8mm8eLCs8IBoF8Kmq8AYZHwEzqXf8QHepqXcDwHepAZcNDTU1DQ0GBioqBpYfLi4fIC0tIB8uLh8gLS1HKjwfTgTzJyAsLUAtKyoFEv70Bk0gPCoeMg0ZF3qtrXoZGA0xAeT8QHepqXcDwHepqQADAAD/gAYABYAAHgAwADwAAAE3NTQmIgYVERQGIiY9ASMVFBYzMjY1ETQ2MzIWHQEFNSMVFAYjIiY9AQcnFRQWMjYAEAIEICQCEBIkIAQDYlp0oHQcJhuXc1JRcxsUExsBiZYbFBMbWjx0onMBUc7+n/5e/p/OzgFhAaIBYQK5Gz5PcG9P/uUUGxsUeHpScnFQARgTHBwTNt96fhQbHBN7Ghx7UHJyAa3+Xv6fzs4BYQGiAWHOzgAAAgAA/6MHgAVdAB4AMAAAATU0JiIGFREUBiMiJjURIREUFjI2NRE0NjMyFh0BBwUhERQGIyImNREXNxEUFjI2NQQmPFQ8/LGy+wFIPFQ8/a+w/MMBjwFI+7Kx/IPDPFQ8Azh2Kjw8Kv2cr/j7sgEK/vorOzsrAmyr8vSsiDqh/vay+/mwAQw9Ov7yKjs7KgAAAgAA/4AGAAWAAA0AHQAAJREhESEiBhURIREhMjYTERQGIyEiJjURNDYzITIWBcD9QP4gXYMCwAHgXYNAqXf8QHepqXcDwHepoAHgAsCDXf4g/UCDBB38QHepqXcDwHepqQAAAAgAAAAaCAAE5gAFAAkADQARABkAHQAlACkAAAEzESERIRkBIxEBETMRAxUzNRMhESE1ITUhJREjEQEhESE1ITUhJREjEQFIzP3sAUh7AZnNzc1SAhX96wFI/rgBSHsBmgIU/ewBR/65AUd7BOb8KQK5/esBcf6PAhX9RwK5AR7MzP7i/FKjUqQBcf6PAhX8UqNSpAFx/o8ABQAA/4AGAAWAAAkAEwAjADAAQAAAABQGIyInETYzMgAUBiMiJxE2MzIAECYjIgcGBwYHETc1FjMyAhAmIyIHIxE3NRYzMgERFAYjISImNRE0NjMhMhYEFkw1KxscKjX+9Uw1KxscKjUCfrB9FBMXN1d80zNCfaexfUpDutM3PX0DF6l3/EB3qal3A8B3qQJEgFoPARURAVGAWw8BFRH9MQEMvgNOOl8G/YQpzhMCaQEMviT8uCnOEwH4/EB3qal3A8B3qakAAAAKACn/CQfNBgAAggC8AMoAzgDcAOMA5wDpAO0A7wAAATYeAxceAhcOAgcuBSMPARYXHgcfARYOAgcmBiMiJyY1NDc+AicmBw4BIyIuAScmJwQjIiY1NDY3JSY0PgM3PgEzMhYXNjMyFhUUBg8CBhYzMjY1NC4CNTQ3JzY1NCc2MzIeBRc3DgMXNy4HJy4CKgEjIgc+BTceAj8BFRc2Nz4IPwEGBw4BBw4CBx4BFRQDPgEzMh4DFwYjIicBNxcHARYVFA4DByc+AjMBByc+ATMyEzMXBwE1FQ8BPwIExkuJY2dBKyFbPEUweZwkLDwbJy5jSQoGBAkGLAcfBRIDBgEBAQcIEQMjhCAnIQIDAjs3ARgTJJc9GWVwHAYV/h4fEBgRDgHmCAsVExsFBBcGDxoHowkRGREPtgEBpRYvkC83LwpEKwVSPiw3KhQVChgMMgMoLSMBPQURBw4GCgcJBAcPGhIvDn5bEChEPx1HCAwgIBYMFvd8HCwpGSIOIwsrCAcCKU/8tA44LBEDK/cnuTYJGx0XGQJ5ez1A/vkwbUkBoQMjOTM4BAcVT0Ec/kVgBgotDBPTHwopA3kBAgECAQJfAy9Gd2FIOGo3PR43PxAlnK28lWECBAUJBSUHHQweGSUWIRo/KUwPARUKEB9KFg05PRUCGjVdfpkUBBpwFhAPFwNqDhYNCgQFAgENIBElFhEPFgMoEBq3oDEkIgMUGBASEyxJGiAQAw4NJB9AHBkoKAILD9YFFQgPBgoFBQIDBAErHiEaLhtTCQktHAEBTAFfXxUkJxctETkTTA8JNValxisDCQoJEzYHC/xUGisfNi44BS0LAyQMsTD+0A8BBw8LCAcBKwINBwJ0FBEBDP18UwwGMQEBBQIDBAEAAAQAAP8SBgAF7gAXADYAXQCDAAAFJgcOASMiJyYjIgcOARceATY3PgI3NicmJyYjIgcGBwYXFjY3PgczMh4BFx4BNzYBNC4CIyIOASMGLgMHDgEHBhceATMyPgIXHgMXFjY3PgE3FAIGBCAkJgI1ND4FNz4DNz4BNxYXHgEXHgYEjwUTHnJKgUAFCAsPBwEIImtiMilXKwcMLBMUFzUvGB0xGg4JERcDDwYOCRAOEwsbIwsICgUKFwFaChctHiGAgiQbSU9YcDdzpAICTB1DRjmWdnogGk5BRxQjLyAcHTV80P7r/tD+5tWAJztSS1IvEw5KIz0eJCwIgTksrCsVJFVDUzcnMhMOFiIxBAwGFAogHAMDBCEbBwyELw4PCgwsGBQIBxQCDQQKBAYDAg8ODxEGBAwBLxYtLRxTVAEoOjooAQGbZXA0FBFBTUABAT1JPgEDIi4peM6k/ue/bHPHARygWad8cUtAHQoIJRQoGBxZUZsmHU4bDRhFSHZ+qwAAAAQAAP+ABgAFgAAeADwAWgB4AAABDwIOAScOASMiJjU0NjcmNj8BFwcGFBcWMj8DAxcHJyYiBhQfAwcvAi4BNy4BNTQ2MzIWFzYWARQGIyImJwYmLwE3FxYyNjQvAzcfAh4BBx4BAxQGBxYGDwEnNzY0JiIPAyc/Aj4BFz4BMzIWBC6glx5BrVUQcElVeFlFFi5BDJcLJSUlaCUel6G+DJgMJWhKJR2YoJehlx5ELBtGWnhVTHMMVKsDZ3hVSnIOVrtEC5cMJWhKJR6YoJigmB1ALxVMZQJmTBouQwyXDCVKaCUemKCYoZgdQ7hWC3NOVXgBz6CYHkAuFUZaeVVIcBBWrkEMmAslaCYlJR6YoAISDJgMJUppJR2YoJigmB5DuVcPcElVeWJKFC/7lVV5XkccLEQMmAwlSmglHpigmKCYHkCtVQtzBBdNdAtVt0MMmAwlaEolHpigmKCYHkMtGktmeQAACAAA/wAGAAYAAEUAWABbAF8AZwBqAIkAowAAAQYmLwEmJy4BJwYHBgcOASc2Nz4BNz4BNyYHDgIHBhQHBgcGJyYnJic+ATc2NzYzPgE3PgIXFgcUDgEHBgcXHgEXHgEDFgcGBwYjJicmJzceATY3NjcyBRcnASURBQEXAycDFzcXAQURARcHJwYHBisBIiYnJjU0NjMyHgEXHgEzMjY3PgI3ARElBgQjIic0JxE2NzY3NjcRBTIsATMyFRECjgEXFBQsKwdEBENDURgEHwMGTBWBDhFEAghmCCceAgIBBRoXGBIKBAEGJQs6L2QCCkILCRkEBAIDGRwDGTRADH0FBA3PAwcMJh4eGhcOBAEDIRQwJBMRAr4/i/v4Arb9SgTZZrVk2GYt0/4uAj3++p42KIKSOiFUT/E/CAoIBBwhBEmtR1+QVQ8fJQoBlfz6Dv0uBw0FAQMBBQ9rKgIuAgE9ATsEFAHKAwcICRQdBTUCZ05fDwIEAgRYGLYbHokJASICCwgBAhEBCgUHBwQRBhECBgMQECMCIwQDCgEBDBUCMjkFMlEcBjQCATEB4A8NFw8MAxcPGgMDBAQODAKS4yr9megECOn9Nh8CkR/96B9uQQM7uAF8+hENoEJTGQxOLgcJCAsPEgIlMR0kBxEVBgSA+8n2BvMNAQIENgkBBgUkDgGAxm5rFf5eAAwAAP8ABwAGAAAPACcANwBHAFcAZwB3AIcAlwCnALcAwAAAATIWFREUBisBIiY1ETQ2MwUeARURFAYjISImNRE0NjMhMhYfAR4BFQE1NCYrASIGHQEUFjsBMjYRNTQmKwEiBh0BFBY7ATI2ETU0JisBIgYdARQWOwEyNgE1NCYrASIGHQEUFjsBMjYRNTQmKwEiBh0BFBY7ATI2ETU0JisBIgYdARQWOwEyNgE1NCYrASIGHQEUFjsBMjYRNTQmKwEiBh0BFBY7ATI2ETU0JisBIgYdARQWOwEyNhMRIyImPQEhEQEgQl5eQoBCXl5CBeA6RpZq/KBCXjgoAqAoYByYHCj9IBIOgA4SEg6ADhISDoAOEhIOgA4SEg6ADhISDoAOEgEAEg6ADhISDoAOEhIOgA4SEg6ADhISDoAOEhIOgA4SAQASDoAOEhIOgA4SEg6ADhISDoAOEhIOgA4SEg6ADhJgoCg4/YAEgF5C+8BCXl5CBEBCXqMidkX9AGqWXkIGACg4KByYHGAo+4CADhISDoAOEhIBDoAOEhIOgA4SEgEOgA4SEg6ADhIS/g6ADhISDoAOEhIBDoAOEhIOgA4SEgEOgA4SEg6ADhIS/g6ADhISDoAOEhIBDoAOEhIOgA4SEgEOgA4SEg6ADhISAY4BADgooP4AABQAAP8ABYAGAAAPAB8ALwA/AE8AXwBvAH8AjwCfAK8AvwDPAN8A7wD/AQ8BHwEvAT8AAAEyFhURFAYjISImNRE0NjMBFRQWOwEyNj0BNCYrASIGERUUFjsBMjY9ATQmKwEiBhEVFBY7ATI2PQE0JisBIgYRFRQWOwEyNj0BNCYrASIGAzU0JisBIgYdARQWOwEyNhE1NCYrASIGHQEUFjsBMjYRNTQmKwEiBh0BFBY7ATI2ETU0JisBIgYdARQWOwEyNhE1NCYrASIGHQEUFjsBMjYBNTQmIyEiBh0BFBYzITI2ETU0JisBIgYdARQWOwEyNhE1NCYrASIGHQEUFjsBMjYRNTQmKwEiBh0BFBY7ATI2ETU0JisBIgYdARQWOwEyNgE1NCYrASIGHQEUFjsBMjYRNTQmKwEiBh0BFBY7ATI2ETU0JisBIgYdARQWOwEyNhE1NCYrASIGHQEUFjsBMjYRNTQmKwEiBh0BFBY7ATI2BUAaJiYa+wAaJiYaAcASDkAOEhIOQA4SEg5ADhISDkAOEhIOQA4SEg5ADhISDkAOEhIOQA4SgBIOQA4SEg5ADhISDkAOEhIOQA4SEg5ADhISDkAOEhIOQA4SEg5ADhISDkAOEhIOQA4SAgASDv7ADhISDgFADhISDkAOEhIOQA4SEg5ADhISDkAOEhIOQA4SEg5ADhISDkAOEhIOQA4SAQASDkAOEhIOQA4SEg5ADhISDkAOEhIOQA4SEg5ADhISDkAOEhIOQA4SEg5ADhISDkAOEgYAJhr5gBomJhoGgBom/uBADhISDkAOEhL+8kAOEhIOQA4SEv7yQA4SEg5ADhIS/vJADhISDkAOEhL+skAOEhIOQA4SEgEOQA4SEg5ADhISAQ5ADhISDkAOEhIBDkAOEhIOQA4SEgEOQA4SEg5ADhIS+w7ADhISDsAOEhICDkAOEhIOQA4SEgEOQA4SEg5ADhISAQ5ADhISDkAOEhIBDkAOEhIOQA4SEvwOQA4SEg5ADhISAQ5ADhISDkAOEhIBDkAOEhIOQA4SEgEOQA4SEg5ADhISAQ5ADhISDkAOEhIAAAACAED/EATABWAAHwAnAAAJAREUBiImNREjERQGIiY1EQEmNDc2Mh8BITc2MhcWFCQUBiImNDYyBKT+3EJcQkBCXEL+3BwcHU8c5AFw5BxQHBz+oIO6g4O6A9z+3PzILkJCLgGA/oAuQkIuAzgBJBxQHBwc5OQcHB1P5bqDg7qDAAUAAP+ABoAFgAAPAB0AMwBDAFEAAAEUDgEjIi4BNTQ+ATMyHgEBFAYjIi4BNTQ2MzIeAQUyBBIVFA4CIyImIyIGIyI1ND4CJSIuATU0PgEzMh4BFRQOASUyFhUUDgEjIiY1ND4BAwwmWD1MfDwmWD1Nezz+qlRNTINGVE1Mg0YBinYBErgiP0IrRO8/Qv1Kt3Cn0AFIPVgmPHtNPVgmPHwBZE1URoNMTVRGgwQoPGtOc5xJPGtOc5v901B2b5xKUHdvnS/D/ulzLj0dC1pZklbTrnbTTms8SptzTms8SZxzaHdQSpxvdlBKnW8AAQBA/wACwAYAABUAAAEUBgcTFgYrASImNxMuATU0PgEyHgECwHJfLQIkGsAaJAItX3JVlqqWVQPwkcUl/MsaJiYaAzUlxZGA852d8wAAAAADAAD/AAaABYAAAwAHAB8AAAUBEQUnLQENAREUBgcBBiInAS4BNRE0NjcBNjIXAR4BA4ACgP2AQAK6/Ub9RgX6JB/9QBxCHP1AHyQuJgLAFiwWAsAmLl0BXQJ86XH+/v4C/QAjPBH+gBAQAYARPCMDAChCDgEACAj/AA5CAAAAAAcAAP8ACIAGAAADAAcACwAPABMAFwBCAAAFJREFJy0BBQElEQUnLQEFJyURBSctAQUBERQGBwUGIiclJicGBwUGIiclLgE1ETQ2NyURNDY3JTYyFwUeARURBR4BAoABgP6AQAGU/mz+bAXUAYD+gEABlP5s/mwsAYD+gEABuf5H/kcF+SYh/kAZQBn+QAQDAgX+QBlAGf5AISYrIwGyKyMBwBc2FwHAIysBsiQqYMABOqRwra2t/Y3AATqkcK2trXilAQqkcL29vf09/mAkPhDgDg7gAgICAuAODuAQPiQBoCZAELoBkCZAEMAKCsAQQCb+cLoQQAAABgAA//4IAAUCAAMACQAfACYALgBBAAABIRUhAyIGByEmAzI2NzMCISICNTQAMzIeARUUByEUFiUhMjU0IyE1ITI2NTQjISUhMh4CFRQHHgEVFA4DIyEHOP4BAf/8WnAGAZgSpj92Ed1k/rnW/QEFzorNZQL9bnP7NgEozcf+0gEZTlu+/vz+6wJSV4h1P6xydDFTcoBG/Z0ErXz+0mlaw/23QDf+zQEI19ABE4jeiREeb3kyp7S+SU2Q1xxDflu1UiCmeUt7VDoaAAAABwAA/4AGAAWAAA8AHgAlACwAQQBHAEsAAAEyFhURFAYjISImNRE0NjMTIREhMjY1NCc2NTQuAgMjNTMyFRQDIzUzMhUUBSImNSE2NTQmIyIGFRQWMzI3Iw4BAzIXIz4BAyEVIQTgd6mpd/xAd6mpd9P+jQF+daCPaydKVE2wo3dhub18AgpESAGbAZWBgKSehs0+igtJMXEL/gRGagE//sEFgKl3/EB3qal3A8B3qf6R/O1zcZ4qNHA5TyoR/sK4Wl7+sdlxaCBMRQoUhLGsgoekvyIoAW56OEIBCk0AAAAEAAD/gAcABYAABwAbACcAPwAAABQGIiY0NjIANCYjIgcXHgEHDgEnLgEnHgEzMgE0JiMiBhUUFjMyNjcUACMBDgEjIiYvAREFNjMyFwE2ADMyAAYuj8qPj8r9jZJoGxtoTUEfH5hMFVIUIHZHaAPQs35/s7N/frOW/vW8/ksMwoR5uhnmAYVPXg0WARwCAQu7vAELBB/Kj4/Kj/u+0JIGKh+XTE1AHwghCDxJA99+s7N+f7Kyf73+9v7BgbKYdFwBrZ0wAgGXuwEI/vUAAAAABAAA/4AGAAWAAAgAGwBDAE0AAAA0JiIGFRQWMgAUBiMiJicWFxY2NzYmLwE2MzIBERQGIyEiJj0BFx4BMzI2NyUyNjU0JiMiBgcDJiMiByURNDYzITIWAxQGIiY0NjMyFgTacqBxcaD+EHRSOF4ZNC48eBkYMz1SFhRSA/ypd/xAd6msFJNfaJoKAVmW09OWlNIC4QkTSz7+16l3A8B3qfeOyI2NZGWNAymgcXJPUHH+yKZzOjAUFBgzPTx4GCEFAm38QHepqXeZRVx4jGf805WW09GU/r4BJXcB1Hepqf6gZI2NyI6NAAYAEP9WBvQGAwANAB4ALQA8AEsAXAAAAQMHJS4BJy4BPgI3FhsBJw4DDwEDLgE/ATY3JwEDDgEPAQYHFwMTFxY2NwEGAyUnEz4BFx4FARMWBgcOBQcmAyUnNwMlNy4DLwEFNhYfARYDRA8C/lwkPhALBw8JIgJOLLSTP2EwHwMEvhECBwgjT4wGgLwMMRMSR5QI5tMHquI5/Scv2v7DE+EUUCgYMSMwGDACl9QSCxYNKCQ9IUYLIucBOXyO3P5dlyJSRTwREQGVHzYMCycBb/6QFh0DOSUbOEokXAcMAjr+hVxIkWlUFRUBZRo8ERI/fVb96v6ZHSMDBAcFpAFvAWqtEBYWA7I//oy7DAFkHxwEAhQWLBk2/sX+lSVOIxQiFhYKEgNIAWzD7VP+ixRWWZpdQw0NAQMbDw89AAAEAAD/QAgABYAABwARABkAQwAAADQmIgYUFjITIQMuASMhIgYHADQmIgYUFjITERQGKwEVFAYiJj0BIRUUBiImPQEjIiY1ETQ2OwETPgEzITIWFxMzMhYB4F6EXl6EggP4WQIYCf0ACRgCBQNehF5ehP4SDmBwoHD8AHCgcGAOEoNdHGkXomIDAGKiF2kcXYMBfoReXoReAeABZQgTEwj9GYReXoReAQD+gA4SgFBwcFCAgFBwcFCAEg4BgF2DAaNef39e/l2DAAQAAP8ACAAGAAAzADsARQBNAAABMhYVERQGKwEVFAYiJj0BIRUUBiImPQEjIiY1ETQ2OwETPgE7ATU0NjMhMhYdATMyFhcTADI2NCYiBhQBIQMuASMhIgYHADI2NCYiBhQHIF2DEg5gcKBw/ABwoHBgDhKDXRxpF6JigBIOAcAOEoBiohdp+fqEXl6EXgFkA/hZAhgJ/QAJGAIEIYReXoReAoCDXf6ADhJAUHBwUEBAUHBwUEASDgGAXYMBo15/4A4SEg7gf17+Xf4gXoReXoQBggFlCBMTCPy7XoReXoQAAQAg/wAF4AYAADMAACQUBiMhHgEVFAYjISImNTQ2NyEiJjQ3ASMiJjQ3ASMiJjQ3ATYyFwEWFAYrAQEWFAYrAQEF4CYa/jIBCiQZ/sAZJAoB/jIaJhMBkuUaJhMBksUaJhMBgBM0EwGAEyYaxQGSEyYa5QGSWjQmEY0mGSMjGSaNESY0EwGTJjQTAZMmNBMBgBMT/oATNCb+bRM0Jv5tAAQAAP+ABgAFgAAVACsARABQAAABNCcmIyIHBhUUFjMyNzYzMhcWMzI2NzQnJiEiBwYVFBYzMjc2MyAXFjMyNhM0JyYkIyIHDgEVFBYzMjc2MzIEFxYzMj4BEAIEICQCEBIkIAQEZx7B/oWaKhsWBSCEb+KrEw4THGAj7f7JmZYwIxkHHnqBARfRGA4ZI2wofv6ysMygFx8pHwsdha6fAS1nFRMdK83O/p/+Xv6fzs4BYQGiAWEBRiATcyIJKxQdCBtnCxvsKBWNKg0zGSMIIXwNIwERLxdJSy8HJR4fKgglRD0MKVv+Xv6fzs4BYQGiAWHOzgABAAD/gAQABgAAEwAACQEXIREhBwMHIREBJyERITcTNyEEAP7RGAEX/gUsjh7+0wEvGP7pAfssjh4BLQTR/bof/mEe/u8eAS8CRx4Bnx4BER4AAAARAAAAjAkABHQADgAlAC8AOwA8AEgAVABiAGMAcQB/AI0AkACeAKwAwADUAAAlNwMuASMiBhUDFx4BMzIlNwM0JyYiBwYVBwMUFxUUFxYzMjc2NQEXBwYiLwE3NjI3FwcGIyI1Jzc0MzIBAxcHFCMiLwE3NjMyHwEHBiMiNSc3NDMyHwEHBiMiJjUnNzQ2MzIJARMHFAYjIi8BEzYzMhY3EwcUBiMiLwETNjMyFjcTBwYjIi8BEzQ2MzIWATkBAxMHFAYiJi8BEzQ2MhYXEwcUBiImLwETPgEyFhMHMRQGIiYvAhM1Njc2MzIXFhcBFAYjIS4BNRE0NzYzMgAXNjMyFgMQEBABDQoJDg4OAQ0JFgEqCwwNCBAIDQEKCwYJDgsJCfvsFBQCDgIREQIOWBoaAggJFxcJCAEavBkZCwoCFRUCCgteFxcCDA0VFQ0MYBUVAg4GCRQUCQYOAYH+3xUVCgcQAhISAhAHCl4TEwsIEgIQEAISCAtiEhICFBMCEBANCAkMAYnGDw8PFA4BDg4PFA9jDg4QFhABDAwBEBYP1Q4SGhIBBgYMAgoJCwgHDgIEZqZ1/O4NEhxVYMMBHhE1OXWmpPECCwoODgr99fEKDTTTAkoQCAUFCBAG/b0B6wEKBwsJBw0BbIB+CQl+gAlGz8sJCsrPCf4yAev17QsL7fUMBfz0DQ30/A0f6vYQCQf26gYJ/hYCbf6E9gcLEvYBfBILT/4s9AgLE/QB1BMLIP4G8hUV8gH6CQ0N/REC6v4C7woPDgvvAf4LDg4e/hTsCxAQC+wB7AwQEP4I5w0SEg1ydQJ8Aw8JBwUIEv2UdaUCEg0DgxcKIv75wBamAAAABAAA/wAGAAYAAA0AGwApADkAAAAgJDcVFAYEICQmPQEWACAkNxUUBgQgJCY9ARYAICQ3FRQGBCAkJj0BFgAgBBYdARQGBCAkJj0BNDYCEwHaAZx3zv6e/mD+ns53AZwB2gGcd87+nv5g/p7OdwGcAdoBnHfO/p7+YP6ezncBuQGgAWLOzv6e/mD+ns7OAwBWVKpFdkVFdkWqVPyqVlSqRXZFRXZFqlQBKlZUqkV2RUV2RapUBCpFdkWARXZFRXZFgEV2AAgAAP8ABgAGAAATABoAIwBeAGMAdAB/AIcAAAEeARURFAYjISImNRE0NjMhMhYXBxEhJicBJgERISImNREhEQEWFzYzMhcWBxQGBxUGIyImJwYHAiMiLwEmJyY3PgE3NhcWFTY3NjcuATc2OwIyFxYHBgcWHQEGBxYBNjcOAQEGFzY3NDc2NyY1JjUmJxQHAzY3LgEnJicGBwYFJiMWMzI3NAW8HCg4KPrAKDg4KAOAKGAchAF4Cgz+xwwBY/5gKDj9AAL+ITM7OpMeEA4CAQZBMIY/3auZWQ8NGAEFCgQJXlUOCQI0N0QkGA0NCx8VARcMEgkCAgECDDf+GzRVM0kBgQ8NAQYHAQMBAQEMAXyHlQIWBUwzGzgeAncYdEwwDgQEhBxgKPuAKDg4KAZAKDgoHET+iB0MATkM+hIEADgoAaD6AAJRGh4HMRYeAQIBASYoIRg7/voHDAEEChooZy0JDwICVXCIflKbMigPFS8GAgMFHntFpP4bGIYoWAN6KloHJQMoBAQBAQIBFg4BAf1pNhsBEQVDbVZvOAsYHAEBAAAAAAQAAP8ABgAGAAATABoAIwBUAAABHgEVERQGIyEiJjURNDYzITIWFwcRISYnASYBESEiJjURIRETFTMTMxM2NzY1MxceARcTMxMzNSEVMwMGDwEjNC4BNS4BJwMjAw4BDwEjJyYnAzM1BbwcKDgo+sAoODgoA4AoYByEAXgKDP7HDAFj/mAoOP0AaUakn4AHAwIEAwEFA4CfpEb+1FpjBQICBAECAQYCkHKQAgUBBAQCAgVjWgSEHGAo+4AoODgoBkAoOCgcRP6IHQwBOQz6EgQAOCgBoPoAA4Br/WsB5RQaEAgYAyIJ/hsClWtr/koUGhUDBwkCBSAJAiH93wkfBhUVGhQBtmsAAAQAAP8ABgAGAAATABoAIwBTAAABHgEVERQGIyEiJjURNDYzITIWFwcRISYnASYBESEiJjURIRElFSE1Izc+AjsBFhceAh8BIxUhNSMDEzM1IRUzBw4BDwEjJicmLwEzNSEVMxMDBbwcKDgo+sAoODgoA4AoYByEAXgKDP7HDAFj/mAoOP0AAS0BGUtnBQoFAQIBBAIFBwNrTAEjRMDDQ/7pSmcEDAMCAgEEBgtqTP7eRL3CBIQcYCj7gCg4OCgGQCg4KBxE/ogdDAE5DPoSBAA4KAGg+gDqamqhBxMIBAYEBwkEoWpqAREBGmtrnwcTBAMEBgsMn2tr/vD+5QAAAAAFAAD/AAYABgAAEwAaACMAOABDAAABHgEVERQGIyEiJjURNDYzITIWFwcRISYnASYBESEiJjURIRElFSE1IzUzMjc+ATU0JicmIyEVMxEBIxEzMhcWFRQHBgW8HCg4KPrAKDg4KAOAKGAchAF4Cgz+xwwBY/5gKDj9AAEgAUddiUwqQ09KPzBS/pBcAQV3eDQfOD4fBIQcYCj7gCg4OCgGQCg4KBxE/ogdDAE5DPoSBAA4KAGg+gDqamqnDxeAUlF4GxNr/dUBGAEMEiFSWR8PAAAAAAUAAP8ABgAGAAATABoAIwAqADIAAAEeARURFAYjISImNRE0NjMhMhYXBxEhJicBJgERISImNREhEQERITU3FwEEIiY0NjIWFAW8HCg4KPrAKDg4KAOAKGAchAF4Cgz+xwwBY/5gKDj9AASA/ADAgAGA/lCgcHCgcASEHGAo+4AoODgoBkAoOCgcRP6IHQwBOQz6EgQAOCgBoPoAAcD+wMDAgAGAgHCgcHCgAAAJAAD/AAYABgAAAwAHAAsADwAjACoANwBKAFIAAAE1IxUFNSMdATUjFQU1IxUBHgEVERQGIyEiJjURNDYzITIWFwcRISYnASYBESEiJjURIxUjNSERARMWFRQGIiY1NDc2EzUzFTMyFgIyNjQmIgYUAoCAAQCAgAEAgAM8HCg4KPrAKDg4KAOAKGAchAF4Cgz+xwwBY/5gKDiAgP4AAo1rCJHekQgVY4BPFiK8aktLaksEgICAgICAgICAgICAAYQcYCj7gCg4OCgGQCg4KBxE/ogdDAE5DPoSBAA4KAGggID6AALR/qMbGVNtbVMZGz8BTYCAGv4aJjQmJjQAAAAABgAA/wAGAAYAABMAGgAjADkATABeAAABHgEVERQGIyEiJjURNDYzITIWFwcRISYnASYBESEiJjURIREBFhURFAcGIyIvASMiJj0BNDY7ATc2ATI3NhAnLgEHDgEXFhAHBhYXFicyNzY0Jy4BDgEXFhQHBhYXFgW8HCg4KPrAKDg4KAOAKGAchAF4Cgz+xwwBY/5gKDj9AAHsFBQIBAwLpoMOEhIOg6YQAbQfE4GBEDYUFQURZGQRBRUSvRsUV1cSNiYCEzQ0EwITFASEHGAo+4AoODgoBkAoOCgcRP6IHQwBOQz6EgQAOCgBoPoAAy4IFv3gFggCCacSDsAOEqcP/UcYnwGYnxUGERE1FXv+wnsVNRAPlBRd/F0TAiQ1FDmUORQ1EhEAAAAFAAD/AAYABgAAEwAaACMAMwBDAAABHgEVERQGIyEiJjURNDYzITIWFwcRISYnASYBESEiJjURIREBMhYVERQGIyEiJjURNDYzBRYVERQHBiMiJwE1ATYzMgW8HCg4KPrAKDg4KAOAKGAchAF4Cgz+xwwBY/5gKDj9AAKANExMNP6ANExMNANsFBQIBA4J/vcBCQkOBASEHGAo+4AoODgoBkAoOCgcRP6IHQwBOQz6EgQAOCgBoPoAA4BMNP6ANExMNAGANEwCCBb9wBYIAgkBCloBCgkAAAAGAAD/AAYABgAAEwAaACMANwBLAFsAAAEeARURFAYjISImNRE0NjMhMhYXBxEhJicBJgERISImNREhEQE+AR8BHgEPARcWBg8BBiYnAyY3IRYHAw4BLwEuAT8BJyY2PwE2FhcBLgE3Ez4BHwEeAQcDDgEnBbwcKDgo+sAoODgoA4AoYByEAXgKDP7HDAFj/mAoOP0AAWAIGgszCwMItrYIAwszCxoI4g4OBAQODuIIGgszCwMItrYIAwszCxoI/nYNDwKKAhYNPw0PAooCFg0EhBxgKPuAKDg4KAZAKDgoHET+iB0MATkM+hIEADgoAaD6AAOACwMIJggaC/PzCxoIJggDCwEtExMTE/7TCwMIJggaC/PzCxoIJggDC/0GAhYNAz8NDwIKAhYN/MENDwIAAQAn/2oF2QYAADYAAAEVBiMGAgYHBicuBAoBJyEWGgEWFzY3JgI1NDYzMhYVFAcOASIuASc2NTQmIyIGFRQWMzIF2WVhQcmiL1BSHEFpZHNgVxsBGxpYeXpPqXaOotC0sr46BxlDO0ESHzoyNUDSoj4CxcYXiP7yoRotMBE1co/hAQcBbs/a/pf+78Zgqe1IASi5wPXTwJ9/AQQMJyBnUVdaY1u61wAACAAA/wAHAAYAAAMABgAKAA4AEgAVABkALQAAEwERJQU3JwkBJQUnLQEFJyURCQEXEQUlAREFERQHAQYiJwEmNRE0NwE2MhcBFtgCW/6y/rXBwQMzAlv+8/6yTQEQ/vD+8IsBTv2lBM3B/rUBDf2lAzMi/M0VLBX8zSIiAzMVLBUDMyIBb/5uAWffJIGB/NwBkrTfhra2tl3fAWf+bv7vgQECJLQBkv6ZK/3eKRf93g0NAiIXKQIiKRcCIg0N/d4XAAAAAAIAAAAACAAFeAAjAFcAAAEeARUUBiMiJiMhKwIuATU0NjcmNTQ2MzIXNiQzMgQSFRQGARQWMzI3LgEnBiMiJjU0NjMyHgUzMjY1NCYjIgcXNjMyFhUUBiMiLgUjIgYHCG+J7KcEDwP7RwECBarsblwMpHVfTUsBJ7OmARijAfrMqHyJZxA/DENNN01NNSxRQUFJUXFBeaeoe49iXUJMNFBKOStPQUJJUm8/eqoC/C7HeqTpAQrnpW66Nicrc6I6mryh/uyjBhj+8HqOYxRJDkFDNjVEKkRSUkQqj3d5jmFsQEIzOUUqRFJSRCqNAAAAAAYAAP8ABwAGAAAPABcAHwAnAC8ANwAAACAEFhIQAgYEICQmAhASNiQgBxc2Mhc3ATcmNDcnBhAAIDcnBiInBxIgNhAmIAYQBRc2ECcHFhQCygFsAUzwjo7w/rT+lP608I6O8ALA/oSrwlKqUsL78cIcHMJaAkIBfKvCUqpSwsoBPuHh/sLhA2TCWlrCHAYAjvD+tP6U/rTwjo7wAUwBbAFM8A5awhwcwvvxwlKqUsKr/oT9vlrCHBzCASbhAT7h4f7CCMKrAXyrwlKqAAEAIP8gBuAF1wAhAAABFAIGBCAkJgI1NBIkNxUGABUUHgIgPgI1NAAnNRYEEgbgief+wP6g/sDnicIBUM7d/t1mq+0BBO2rZv7d3c4BUMICgLD+wOeJiecBQLDVAXPwH+Qt/qDmgu2rZmar7YLmAWAt5B/w/o0AAAEADf8ABvEGAABjAAATNhI3MjEUBw4EHgEXHgE+AT8BPgEuAS8BLgMvATceAR8BNiYvATcXDgEPAT4BPwEXDgEPAQ4BFhceAT4BPwE+Ai4ELwEmMxYxHggXEgIEIyIkJgITCNjFBQEIKEA4IQVJSDJoTT4QECccDxsNDgopLSoODWgnThQTAScVFKGgIScDBBZPHBxnLFITEx8iFC8hWVFHFhU8SRgEICoxKQ4NDgcKKC1PMUQrMBwTAQPe/m7/uf6064UCltkBeoEBAggzZneYlaZHMicQHxEQM4NyZB4dGTEhGgYGcxFGGhswbyAft7UucSIhJUcREXMOSB0dOJu5QC0fFCEREDV8d3xwZ1M9ERENAx0iQjJQSmZogkf+/f5k5pT4AVIACQAA/wAHAAYAAAwAGwAoAFAAXQBsAHkAiQCZAAAFFSYkJzcWFzcWFwcWAQcWFwcmEDcXBgcXBhUUARcGBAc1NjcnNjcXNgMHFhQHFwYHJwYHFwYiJzcmJwcmJzcmNDcnNjcXNjcnNjIXBxYXNxYBFQYHFwYHJwYHJzYkABAHJzY3JzY1NCc3Jic3JwcmJwcmJzcmJzUWBAAQAiYkIAQGAhASFgQgJDYSEAIGBCAkJgIQEjYkIAQWA2rQ/p5qOh0sQZTcEUH94lMWGzliYjkeE1IjBQg6av6e0DhBEdyUQSx66Q4O6B9DuTlaMDRcNDBaOblDH+gODukhQrk7WDAsbCwwWDu5Qv4qQTgR3JRBJiM5agFgBBBiORsWUyQjUhMeORY5IyZBlNwROEHRAWABDYfk/sT+pv7E5IeH5AE8AVoBPOSzjvD+tP6U/rTwjo7wAUwBbAFM8GZCBs+sIjEyOagsVgwCERw8NCG0AZq0ITg4HGRwbf7oIqzPBkIBDFYsqDkyAltQKlYqUFxNokMS8QoK8RJDok1cUCpWKlBdTKJEEvAKCvASRKJMAiZCAgtWKqk4KjghrM/9q/5mtCE0PBxnbXBkHDg4ISYhOCo4qSpWCwJCBs/9AAFaATzkh4fk/sT+pv7E5IeH5AKf/pT+tPCOjvABTAFsAUzwjo7wAAAHAAD/gAYABYAABwAQADkARQBpAHMAgwAAJRQjIjU0MzIDFCMiNTQzMhY3NQYjJiMiBhUUFhcVBhUUFxUGFRQeAjMyNTQmJy4BNTQ3PgE1NCc2EzMmNRE0NyMWFREUBTUGIyI9ATMyFjM1IzQ3IxYdASMVNjMyFjMVIxUUHgMzMgE0JiIGFRQWMjYlERQGIyEiJjURNDYzITIWAkZda2JmJEpNTSQmpk45MjxWdjssJilxKERMK+BgThsxMU1aCiVHiQICiQMB+h4mNTQJIwlpA4wEPCQBAxAEAgUSHzgmQP7IMEgxMkYxAmSpd/xAd6mpdwPAd6nkQj9AAZVVVFozJX0dHXJWMmgPAxFENRgDJWYtQyMQvENADgUfGCwID25PGBwJ/mEbNwGDLhcXMP54Mgl5FVLhAnVSFBgfL3UDAQLZJTY7JhgC2iQ3NiUkNTZT/EB3qal3A8B3qakAAAAABgBE/wAGvAYAAAcAEAA8AEgAbAB3AAAlNCMiFRQzMgM0JiMiFRQzMgEVBgcWFRQGBw4BFRQeBRUQISIuAjU0NzUmNTQ3NS4BNTQ2MzIXMgEjNjURNCczBhURFCUVBiMiLgM1ETM1IiYjIgc1MzU0JzMGFTMVIiYrAREUMzIAFAYjIiY1NDYzMgJTpZ6slzs8O3x8dwENJCsQknwoJy1HVlZHLf6VRXpuQbZDP0hfvoxgUmIBtt4EBN4EAl1HZz5aMh0IAgcYBhUmYAbjBqsPOQ5VVz398E45OlBPOzoWZGhlA1w9UpGHAc3KDAorKX+zFwgmJx8pFxUeLVM5/tAZOWtKpTwEKVVtHAQYqVGLuS/8vi1ZAmFeIiFb/ZtZscQnKDxgWDsBXwQCBr5MNiMpfL4E/pODBA50V1c6O1gAAAACAAD/gAYABYAACwAbAAAJASMDBgcnAyMBETMBERQGIyEiJjURNDYzITIWAykBCnCdGBQqm3gBB2UC16l3/EB3qal3A8B3qQIUAfP+yDAsXAE4/hP+vAOK/EB3qal3A8B3qakAAgA5/wAExwYAAB0ASQAAABQGIyInBgcCExYGByMiJicmPgM3NjcmNTQ2MgQQAgQjIicuATc+ARcWMzI+AjQuAiIOAhUUFxYOASYnJjU0PgIzMgQDSnJPPDM+NfctARsVBRQeAg4VJkZEKD1HEHGgAe6c/vOeQEMVFwUFJBUzOWGygExMgLLCsoBMNAoNJikKQF2c2HaeAQ0EFKBxI0NP/o3+GBYhAhsUfvO/tYI8WksjKlBxLv7E/vScDgUlFRQXBA1MgLLCsoBMTICyYXJoFCgUDhN7jnfYnFycAAEAEv8ABu4GAABpAAABJjU0NjcmNjc0Ejc2MzIXHgYfARYVFAYVFB4BFR4BFRQGIyIuBCcmIwcGBx4CFw4BBwYjIi4BJyYnLgEnDgEjIi4DNTQ2Nz4BNzI3NjUnLgEvASIHDgEHIyImJyY1EAEOCBYNAREOuX2LuYWFMVI8MiIfFAwBNxIDBE1XJyQJFREVCxABAQIFO0kUUzcIAgQFQO41c1FADwgOQAgprVIjRHZUQRQfCzsUBAoCAjB4DQUECBJJKQEEBAMXAtoTIRQ6EBY+DIsBKzxCNxU2Ok5GY1A6BVNDDjQMAQUFAXLJbCtyDxQgFR8CAQSaRRQlLioEGAZhEhYTBQIEAQEtKAMPGjYlKCcdAhYBAgICAwu9PgMUKUMECQE2LgETAAAAAAYAAP8+CAAFwgAKABYAIQAtAEkAWwAAADQmIyIGFRQWMzIBNCYjIgYVFBYzMjYCNCYjIgYVFBYzMgE0JiMiBhUUFjMyNgEmIyIEAhUUFwYjIi4DJwc3JBE0EiQzMgQWARQGBxcnBiMiJCYQNiQzMgQWAkQyKStCQispAxkzKBstLRsoM+wxKStCQispAqw0JxstLRsnNP72Hyep/uSjFyMhGjA+G1IJ/Uj+3sMBTcWwATnTAm+JdTfHlkSp/uSjowEcqaEBHKsEClIyMygnM/5fHCwtGxwtLAHvUjIzKCcz/l8cLC0bHC0sAaoEmv75nE5KAwMKBBECf9rLAR+pARyjhOn9P3XVV7VtJY3yAR7yjY3zAAH//v8ABwUGAAAeAAABFgcBBgcGIyInJQMGIyInLgE1EQkBJSYnJjcBNjMyBuQhBv8ABRsOEQsN/jvyEh8NCRMXA2D70/51JQMCIgaADxEUBfUYKPoAHRAIBbn+2RcEByEUAV0EI/xjog4pKBMDwAkAAAAAAv/9/wAHBQYMABoAIAAAARYHAQYHBiMiJyUBBiMiJy4BNRElJicmNwE2ARMBBQkBBuQhBv8ABRsOEQsN/fH+1hIdDgkTFv4oJQMDIwaAI/7L3fpmAVADX/4iBfUYKPoAHRAIBdf+uRUEByEUAcTBDiknFAPAFfoOBSv8xYkCf/zjAAAAAgAA/4AGAAWAADQASQAAABACBgQjIiQnJjY/ATYzFhceATMyPgI0LgIjIgYHFxYHBiMhIiY1ETQ3Nh8BNiQzMgQWBREUBiMhIiY9ATQ2OwERNDY7ATIWBgB6zv7knKz+ym0HAQiJCg8QB0nUd2i9ilFRir1oYrRGiR8RESr+QBomKCcegmsBE5OcARzO/foSDv7ADhISDuASDkAOEgMc/sj+5M56kYQKGQiKCQIKX2hRir3QvYpRR0KKHicoJhoBwCoRER+BZW96zpj+QA4SEg5ADhIBYA4SEgAAAAIAAP+ABgAFgAAPABsAAAAgDgIQHgIgPgIQLgEAEAIEICQCEBIkIAQDgv787atmZqvtAQTtq2ZmqwGRzv6f/l7+n87OAWEBogFhBQBmq+3+/O2rZmar7QEE7av+t/5e/p/OzgFhAaIBYc7OAAEAPv+ABsIFgACFAAAFIiYjIgYjIiY1ND4CNzY1AzQnJiMhIgcGFQMUFx4DFRQGIyImIyIGIyImNTQ+Ajc2NScRNDYuBCcuASImNTQ2MzIWMzI2MzIWFRQOAgcGFRMUFxYzITI3NjUTNCcuAjU0NjMyFjMyNjMyFhUUDgIHBhUTFBceAxUUBgaSLLEtLLAsGBoiLDoQIQEBDSX9XSYNAQElEEAyKBkYL7kuK6oqFxkfKTYPIQEBAQIFCA4JDzwuJBgYLrkuKqkqGRkiKzgPIwEBDRoCuxkNAQEjElEzGRkssCwrrCsZGSMtOg8jASIQPC8kGIAHBykZHx4ECgoVdwGHFQoEBAoV/o2OFgoGAR0fGiwHByoYHh4FCgoXeDkDLQMuGzIiJxgGCgQcHxosBwcsGh4bAgYKFYv+wBULAwMLFQFAixULAxcmGiwHBywaHhwBBQoXivxRdxUKBwIdHhosAAAAAQAY/4AE/gWAACwAAAEVFAYjIgcGBwYVERQGKwEiJjURIxEUBisBIiY1ESYnJicmNTQ3Njc2KQEyFgT+JRgyBBoGAyQZbBkkjyMabBojk2J+QkBYWHlvATIB3xkkBUNJHUABBhkLNfuAGSQkGQTC+z4ZJCQZAfAMLzp5dY6meHYpJSQACQAA/4AGAAUAAAMAEwAXABsAHwAvAD8AQwBHAAAlFSE1JTIWFREUBiMhIiY1ETQ2MwEVITUTFSM1ARUhNQMyFhURFAYjISImNRE0NjMBMhYVERQGIyEiJjURNDYzBRUjNRMVITUBYP6gAsAaJiYa/wAaJiYaAaD8oODgBgD9IOAaJiYa/wAaJiYaA4AaJiYa/wAaJiYaAkDg4PyggICAgCYa/wAaJiYaAQAaJgGAgIACAICA/ACAgASAJhr/ABomJhoBABom/gAmGv8AGiYmGgEAGiaAgIACAICAAAEAAP+ABgAFgAAlAAABMhYQBiAmNTQ3JQYjIiYQNjMyFyUmNTQ2IBYQBiMiJwUWFAcFNgTAhbu7/va7Av6YXH6Fu7uFflwBaAK7AQq7u4V+XP6YAgIBaFwCALv+9ru7hQwWtFa7AQq7VrQWDIW7u/72u1a0FhgWtFYAAAACAAD/gAYABYAAJQA1AAAkNCYjIgcnNjQnNxYzMjY0JiIGFRQXByYjIgYUFjMyNxcGFRQWMgERFAYjISImNRE0NjMhMhYFAH1YVD3xAgLxPVRYfX2wfgLxPlNYfX1YUz7xAn6wAX2pd/xAd6mpdwPAd6n9sH46eBAOEHg6frB9fVgHEHg5fbB9OXgQB1h9A+D8QHepqXcDwHepqQAHAAD/AAcABgAAEQAvAD4ATABYAGQAcwAAAC4BBw4BBwYWFxYzMjc+ATc2ARcHFxYUDwEWFRQCBgQgJCYCEBI2JDMyFzc2Mh8BEwYjIi8BJjQ3NjIfARYUFwYiLwEmNDc2Mh8BFhQ2FAYrASImNDY7ATInFRQGIiY9ATQ2MhYXBwYjIicmND8BNjIXFhQCRRQwGWymLAoUGQ0LKhIigVQZA7gu9EQTE0BZb73++/7i/vu9b2+9AQWPtqFAEzUTRPsKDA0KWwkJChoKWgrcCxgLWgoKCRsJWwkgEg5gDhISDmAOrhIcEhIcEpdbCgwNCgoKWgoaCgkDmjIUCiymbBkwCgUoVIEiCwGtLvNEEzUTQKG2j/77vW9vvQEFAR4BBb1vWUATE0QBLAoKWgoaCgkJWwkb7wkJWwkbCQoKWgoauxwSEhwSoGAOEhIOYA4SEkVaCgoJGwlbCQkKGgADAAD/AAcABgAABAAUADUAAAElBQMhAiAEFhIQAgYEICQmAhASNgE2PQEHJxMXJicXBSU3Bgc3EwcnFRQXNwUTBxYyNycTJQJhAR8BH23+nQUBbAFM8I6O8P60/pT+tPCOjvAEbZVm8D+Glu81/uH+4TXvloc+8GaVHgFGi3R19nV0iwFGAtDQ0P6wBICO8P60/pT+tPCOjvABTAFsAUzw+0jL+wNZ4AFDDM5MfJ+ffEzODP694FkD+8uEKP7WRScnRQEqKAAAAAwAAAAABwAFgAAPAB8ALwA/AEkAWQBpAHkAiQCiALIAvAAAJRUUBisBIiY9ATQ2OwEyFgMVFAYrASImPQE0NjsBMhYBFRQGKwEiJj0BNDY7ATIWAxUUBisBIiY9ATQ2OwEyFiUiJj0BIRUUBiMBFRQGKwEiJj0BNDY7ATIWAxUUBisBIiY9ATQ2OwEyFgEVFAYrASImPQE0NjsBMhYDFRQGKwEiJj0BNDY7ATIWARUhNTQFBB0BITU0PgQkIAQeBBEVFAYrASImPQE0NjsBMhYRFRQGIyEiJj0BAcASDsAOEhIOwA4SwBIOwA4SEg7ADhICQBIOwA4SEg7ADhLAEg7ADhISDsAOEv3CHCYCAiYbAv8SDsAOEhIOwA4SwBIOwA4SEg7ADhICQBIOwA4SEg7ADhLAEg7ADhISDsAOEgGA/f7+gv6C/f4RM1CNswENAT4BDLSNUDMREg7ADhISDsAOEiYb/oAbJuDADhISDsAOEhIBcsAOEhIOwA4SEv5ywA4SEg7ADhISAXLADhISDsAOEhKSJhuBgRsm/eDADhISDsAOEhIBcsAOEhIOwA4SEv5ywA4SEg7ADhISAXLADhISDsAOEhIBig0KaAIBZQoNETRMS006JSU6TUtMNP5XwA4SEg7ADhISAVSBGyYmG4EAAAAABQAA/wAHAAYAABAAFAAlAC8AOQAAAREUBiMRFAYjISImNRETNjMhESERAREUBiMhIiY1ESImNREhMhcBFSE1NDYzITIWBRUhNTQ2MyEyFgLAJhomGv4AGib5BxgC6P8ABAAmGv4AGiYaJgGoGAf82f6gEg4BIA4SAqD+oBIOASAOEgTA/QAaJv3AGiYmGgIAA2kX/UACwPyA/gAaJiYaAkAmGgMAFwE34OAOEhIO4OAOEhIAAQAA/wAHAAYAAB0AAAEWFAcBFwcGBCcBIzUBJhI/ARcBNjIWFAcBFwE2MgbbJSX+b5ago/47uf6WtQFqfC+joJYBkCZqSiX+cOoBkSZqBDsmaSb+cJagoy98/pa1AWq5AcWjoJYBkSVKayX+b+oBkCUAAAAEAAT+7Ab8BgAACQAVADoAZwAAARQGIiY1NDYyFgUUBiMiJjU0NjMyFhMRNCYjISIGFREeBTI2MzYXFhcWFzYXMh4CPgU3BgcSBwYHBicmNwM1LgEnAxYHBicmJyYTJicmNhceARcRNDYzITIWFRE3NhYDaX+yf3+yfwH2flpZf39ZWn7hQE/7qFM7K1tHWzNZHFUCRBsGBBojB28FPxdEJkczST1Kxnn7VGtCdWhOVgQBCCEHAQRXT2h1QWlT+3kZKicEDwNeQwTpQ14VJyoDHFN3d1NUdnZUU3d3U1R2dv74AptXSURc/V8XIhYPBwEEARwGAxkaWwQDAQEDBgsQFx8YlWf+47RxIyAvM3EBRgECCAH+rnIyLyAkcrQBG2eVJTQbAgoDArZIZmZI/UoPGzQAAAQAZP+ABpwGAAADAAcADwAZAAABESMRIREjERM3ESERIRU3AREBIQcjNSEREwOAkQIfkZH9+1YBRtkDHP5O/rrZ2f5ybQRO/k4Bsv5OAbL9CP4DG/vn2dkEqvwL/k7Z2QSGASEAAAAABQBR/vgFsAYMABYAKwA/AE4AZQAAJRUCBwYHBiYnJicmNz4BNzI3PgEXHgEnBg8BBCMmJyYnJj4BFzIXFh8BHgEBDgEHBicmAycmNjc2FxYXHgEXFgEWBwYnASY3NiQXFhcWEgUWBwYFBgc3BiYnJjc2Nz4BNzYXHgEXAwUBBQwnNv8jDQQBBQQ8lwE7DzEZGBuWAzF4/u0RIxMMBQgSKiMNvUcsVBcZAzkHqTMlGg6qLw4FESMwAXbLTggc/VoFOzo4/oYIGykBTTooCQMmApsDHQ/+xkMYARcuDh4eAUp9MgkcJTCWBtl//twNIAgJXioPFQwOCkqzRhMLCQom5DcPJ1gCIhkyTLVEAk0dEiIJK/68NtYUDhUKARVNFTIVKxEBJ0IbBxYCUWYUEVgCViMbK10PCiMS/cHIJxQKTA8IAgYUFi8oAWWrQgYTERfdOQAAAAoAAAAACAAFgAADAAcACwAPABMAFwAbACMALAA4AAABIREhExUhNQERIREBFSE1ARUhNQEVITUBFSE1AREjERQWMjYlESERFAchMjYTERQGIyEiJjURITUEAP6AAYCA/YACgP2ABQD+AAIA/gACAP4AAgD+APwAgCY0JgaA+gALBcsaJoBwUPmAUHABAAQA/oD/AICAAwD9gAKA/QCAgAEAgIABAICAAQCAgPxAA8D8QBomJhoEQPvAIR8mBNr7QFBwcFAEQIAABAAqAA0H1gWAAAkAHwA5AFEAACQiJjU0NjIWFRQ3Ii4BIg4BIyImNTQ3PgEyFhcWFRQGEyInLgEjIg4DIyImNTQ3NiQgBBcWFRQGEyInJiQgBAcGIyImNTQ3NiQgBBcWFRQGBBQokn1SfWgCTH+Cf0sDEpcKTuzm7E4Kl/8LDIjomFWrf2Q6AhGWCoQBeAGAAXiECpb+Cwuz/n/+OP5/swsLEZcKuwIEAhoCBLsKlw2TFCAsLCAUfDIyMjKWEg0KTVhYTQoNEpYBEAhpYyw+PiyWEgwKhJKShAoMEpYBDwmdn5+dCZYSDQq6zMy6Cg0SlgAAAA0AAP8ABoAGAAAHAA8AFwAfACcALwA3AD8ASwBTAGMAawB7AAAENCYiBhQWMiQ0JiIGFBYyADQmIgYUFjIANCYiBhQWMgA0JiIGFBYyADQmIgYUFjIANCYiBhQWMgA0JiIGFBYyARE0JiIGFREUFjI2ADQmIgYUFjIBETQmIyEiBhURFBYzITI2EDQmIgYUFjITERQGIyEiJjURNDYzITIWAYBLaktLagHLS2pLS2r+y0tqS0tqA0tLaktLav7LS2pLS2r+y0tqS0tqA0tLaktLav7LS2pLS2oDS0xoTExoTP6AS2pLS2oByyYa+wAaJiYaBQAaJktqS0tqy0w0+oA0TEw0BYA0TDVqS0tqS0tqS0tqSwHLaktLakv+y2pLS2pLActqS0tqSwHLaktLakv+y2pLS2pLActqS0tqS/2AAYA0TEw0/oA0TEwC/2pLS2pLAcABABomJhr/ABomJv6laktLaksDAPoANExMNAYANExMAAIABv8ABgEGAAAnAEUAAAEWBwIhIyIGDwEDBw4BKwEiJjc+Azc2OwEWNzY3Njc2Nz4BFhcWJxQHBgcGBxQjJyIHBgMGIyEiJjcTPgEzITIWFx4BBe8SFlf+IiwZJgUENwIFJxn7FRgDCSMSJAkFJoOFZ69wZjUYCwEDBARPmS5Q3nGLWlpkEgJTAQv+2RYdA+gFLR0CViJ/MGtxA3pUeP5EIRoT/qYPGiEeFTjgcN84JQIXJ2lfl0Y/BgMBAzuza4HpUigCAQFgCP32CiEWBb8dJhoTKaQAAAQAHv8ABwAGAAAKABIAGQAoAAABMhcAEyECAyY2MwEGBwIDNjcSExIAEyECCQEQAwIBAgMmNjMhMhYXEgG5IRMBCmD+Qn/wDBIUA6QxTE+xKATT4esBKyP+PSn+AARoZUP+3BlRBBMQAWcVIwVzA2Aa/pT+ZgG5ATQQI/6bx8IBNgEc3eT+rAGP/rz9E/5xApkDJ/3A/lj+fAIwAgsBLQEbEBkaFP5nAAcAAP+ACQAFgAAIAA8AGAAcAD4ASQBZAAABIzY/AT4BNxcFAyYjIQcEJQMnLgEnEzMBAzMTIwUmIyIGBwYXHgEVFAYjIi8BBxYzFjY3NCcuATU0NjM2HwElIyIHAzM3MxYXMxMRFAYjISImNRE0NjMhMhYHt4oONAMEDAMM+oI6C0D+9AIBNwEPohEadkiHrwEFJaZopgKYRVB7nAEBkjAmPCdWRhYXSm+CnQKMMSwxLkY2DwHAgEEW9q4j1AUPmoBMNPgANExMNAgANEwCIiWOCQogCjd4ASc2DU9c/kpZRncd/gICgf1+AoIQG3ZeZkgXJBUeICELkCIBeGRqRBkiFRYhARkImzb9tGAWSgPC+wA0TEw0BQA0TEwAGAAA/4AJAAWAABEAGQArADMAQABHAFgAYwBnAHEAegCcALgAxwDlAPkBCwEZAS0BPAFKAVgBewGLAAABJiMiDgIVFB4CMzI3JgISNwYCEhc2EgInFhICBxYzMj4CNTQuAiMiATM1IxUzFTsCNSMHJyMVMzUXMzcDFSsBNTsBFTMnMjM3NjQvASIrARUzNTMkNDYzMhYVFAYjIiQyFyMENDYyFhUUBiMiNjQ2MhYVFAYiFyInIiY1JjU0NzQ3NjEyNTYzMhcWMRcVFhUHHAEjBwYjBiUzNTQmJyIHJiMiBzUjFTM1NDMyHQEzNTQzMhUXMz0BIxUmIyIGFBYzMj8BNC8BJjU0MzIXNyYjIgYVFB8BFhUUIyInBxYzMjYXJwYjIj0BMzUjNSMVIxUzFRQzMjciBhUUFjMyNycGIyInMzU0JjMiBzUjFTM1NDMyFzcmFhQWMzI3JwYnIiY0NjMyFzcmIyIXMz0BIxUmIyIGFBYzMj8BIgc1IxUzNTQzMhc3JhczPQEjFSYiBhQWMzI/AQciIwYHBhUGFRQXFBceATMyNzQ/ATY3NjU0JyYnNC8BIiYBERQGIyEiJjURNDYzITIWBF+AmWe9iFFRiLxomYCDXl+jflxbf39bXF2CX16DgJlovIhRUYi9Z5kCZQcRBwMdBAUGBgUDBgQFCAIDAwIDBAEBAQEBAQIBBgMB+xYWExIWFhITAaU8BUYBhxYkFxYTEvoXJBcXJIcCAgEEAQECAQICAgMBBAIBAQEBAgIB+rweHRkgDw4fGA8eHiEeHSEeph0dERodJiYdHA+yLw4XGRcUDBYhGh4vDRgfGRQNGSEdIYIIDQ0TMDAeHBwvFWUdJiceIRYOEhUiB2UkgxcMHh4dCggJCRInIR0TDhIREhcXEhMQDhQcIc4eHg8bHScnHRwOhRcMHR0dCggJCH8dHQ84JyccHQ5OAgIBAgIDAQEDAgQDBAICAgECAQEBAgICAQQBZ0w0+AA0TEw0CAA0TASrVVGIvGdovIhRVWsBPQE8U2P+0/7UY2MBLAEte2v+w/7DalVRiLxoZ7yIUfzZAwMRFA0NFA8NDf45AgMKBQEBBAEBDQUsJhgZEhMYVyAfJhgZEhMYGSQZGRITGB0BBAECAgMBAgIBAQEBAgQBAgEBAgICAgEEVRgdARgYFBCHSyQkS0skJEtEQxAUKD4oFBgiBgIECg8LGA4YFCEGAgQKEQ4XERgOGQcWPRspKRs9Mo4oHyAnExYPIQwgJxQQh0wjBBwEKD4oEBgNARgmGAwYEItEQxAUKD4oFHoUEIdMIwQcBItEekcUKTwpFAMBAQIBAwIEAwICAgICAQEBAQEDAgMEAgEDAQEBAQTl+wA0TEw0BQA0TEwAAAwAAP+ACQAFgAAKABEAGwAfAEIAVwBiAGoAcQB9AIoAmgAAARQHBisBNTMyFxYlFCsBNTMyBTQmKwERMzI3NhczESMFNCYnLgE1NDYzMhc3JiMiBhUUFhcWFxYVFAYjIicHFjMyNgU1BiMiJjU0NjMyFzUmIyIGFBYzMgERDgEMAgUhMjYANCYiBhQWMiUTIwcnIxM3MzUjNTM1IzUzNSMBMyc2NTQmKwERMzUzAREUBiMhIiY1ETQ2MyEyFgE5JB08ERE9HCQG8EATFD/5U2RPX19KLTweQUEBQCk3HRUbFR0YIik5LDwkLiUIExwWMBcqLEczQAEWJSkxPz8uKyYoKEpnZkoqBPdBn/7E/qn+FP7+BiEaJvytapZqapYBApBHWllHjtC4d3Nzd7gBh1BpTD44YUEJASFNN/gIN01NNwf4N00C9zMhGtwbHw00ZXJKXf6zJjNZAU3oKCwUChIOEBUbLCU3KCMpEA0GDBYUGywoQD0pTSVBMjBDJk0UZZJl/bcCDyhYkoGMMCYCxJZqapZqCAFW4OD+qgk4WjhKOf6zjBBOLzT+s4UCJPsMOE5OOAT0OE5OAAAAABIAAP+ACQAFgAACAAsADgAVABwAIwAmADoATwBbAM4A4gD5AQUBCQEkAT8BYgAAEzMnATcnIxUzFSMVJRc1FzQrARUzMiU0KwEVMzIBNCsBFTMyBTMnJREjNQcjJxUjJyMHIxMzExEzFzcBFA4EIiYjFSMnByERIRc3MzIlFSMRMxUjFTMVIxUBFRQGIyEiJjURMzczFzM1FzM3FSE1NzIdASE1HgI2MzczFzM1FzMRIxUnIxUnIyIHNSMVJiMhBycjFScjBxE0NjMhMhYVESMiBzUjIgc1IRUmKwEVJisBBychESE3FzM1MzI3FTM1MzIWHQEhMjcVMzIlFAYHHgEdASM1NCYrARUjETMyFgEUBgceAR0BIzQ2LgMrARUjERcyFgEVIxEzFSMVMxUjFQERIxEBFCsBNTMyNTQmIi4BNTQ2OwEVIyIVFBY2HgE3FQYrATUzMjU0JgYuAjU0NjsBFSMiFRQeAQMRIycVIycjByMiNTQ7ARUiJg4EFRQWOwE3MxMRMxc1d1ktAkFKRqOOjgE9Y70oVFMpASEqUlEr/uoqUlErActZLPwWQl45XoQZhxlGdGBualVNApgLERwYJxgpCX5QU/8AAQRQUs9t/t3Z2ZiUlAXUTTf4CDdNbxk3GdoTcRQCHQoKARcXQClVCRk4GeMitrQZuRf5RSisGDH9jCsrxhapTk03B/g3TXgzHrE3F/7EHzjRF0TqNjL+owFXNzTTFTsfrggIBAIROR+oPP0tGBYZEkEYIkVBmjA6/usZFRoRQQEBBQwXEkZAmTE6AhHY2JeUlP7tQgL3Zn5+IiIxMiI0KIJ3JCMxMSPvGEB9fSEZJSslGTUogXYkOk+UXHqEGoYZS4GFPwcqDx8MEQYbJB1cYW1jcgNWbP2GT08xNzZObtk8IUUoHT0B8h08Jmwv/vHU1NTUPDwBD/7/AQG4uP3UFB4UDQcCAVtaWgEPWVn8OAEPOTE3Nv3R5TdPTzcCpj09Li4vL2MBDlYXDAwBAj09OjoBeiwsLCwWFhYWYWEsLLMBhzdPTzf9WhYWFhYWFhYWOjr+hjs7WQ1mYwQIVxgY+xcoCQkiHTYtIRVjAQ8eAagYKAkJIR41CSMPFgoHYgEPAR39dDgBDzgxNzYCqf7xAQ/9dFY6GRAKByYkJyo5GRAJAQYlDmUjOhkNDAEFCyUeJyo5GRQEBgJC/vLLyzw8hYo7AgEDChEdEyYo1f8AAQC8vAAAAAALAAD/gAkABYAACwAXACMAOgBTAG4AhQCfAK4AuQDJAAABFAYjIiY1NDYzMhYlFAYjBzc2OwEyHgEFFAYjIiY1NDYzMhYlNCYrASIHAwYWOwEyPwE+AjIWMzI2BRM2JisBIgcmIyIGFRQWMzI2NwYVFDsBMgA0JisBIg8BJyYrASIGFRQeARcGFRQ7ATI3EyU0JisBIgcDBhY7ATI/AT4CMhYzMjYFEzYmKwEiByYjIgYVFBYzMjY3FAYVFDsBMhM1NCsBIgcDBxQWOwEyNwEOASMHNzY7ATIWAREUBiMhIiY1ETQ2MyEyFgLpMyUdIzIlHCUDESwsIBECCxIWGhgBXzMkHSQyJRwl+qhNPqATAkEBCAZMFAISAQwSEBYDVmIBNSkBCAZMDgMbREhlRTocPBIEDUUTAcIIBU0LB2osBRFLBQgnLQFSDU0LB/8Bfk0+nxQCQQEIBlIMBBIBDBIQFgNWYgE1KQEIBkwOAxpFSGVFOh08EQQNRRPdDUoLAkEBCAZCEwL5SQUqJyERAgsTKCQHckw0+AA0TEw0CAA0TAJ2JTEgHCUzIXgqHgFrCwQVqSQyIBwlMyGOOzUT/mgGChNuCAoDAmHiAQUGCiEobEk7RhgUDAkQARUKCQqclhAJBQJyhARwCA0KAXA4OzUT/mgGCg10CAoDAmHiAQUGCiEobEk7RhgUARAEEAGsAQ4L/mACBQkTARMjFgFrCxcB3/sANExMNAUANExMAAAAAAoAAP+ACQAFgAAKAA8AMgBIAFcAWwBsAHQAiwCbAAABFAcGIyInNTYzMgUjNjMyBTQmJy4BNTQzMhc3JiMiBwYVFBYXHgEVFCMiJicHFjMyNzYBNyM1DwMzFRQXFjMyNzUGIyI9AQU1JiMiBgcnIxEzETYzMhMzESMFNCcmIyIHJyMRNzUWMzI3NgA0JiIGFBYyATQnJiMiBhUUFxYzMjcnBiMiJyYnMzYTERQGIyEiJjURNDYzITIWBj0VEyEXEh0cOQG2bgYyM/nsQkQkICY6QhJDUk0uMEFDJx8wHVIfEkhgUTAzAScTYIESLhE+LCZJIC8gDCoBiQ8NIC8KCoOWGjgQL5aWAm4tKEdANQiEliQgUzM9/iwuQi4uQgOwMDJeYG8/N2plOxA5RysUFwX4AoBMNPgANExMNAgANEwCeUUlIwngHlZi6TtBGQ0WDhohcCAmJ0Y6QRgOFxAfGRJxKSUpASNvhxVyCGfbVCQeC3YHMsUZiwMgHjj+KQEyH/6vAdfeejk0OC/9exmXCzhBAcRCLi5CL/7rcT9AhHKAPDcoZx8TEy8OArH7ADRMTDQFADRMTAAAAwAO/wAH8gYAAAsAFwA/AAABEhcUBiMhFAYiJicFMjQjIiY1NCIVFBYBFgYHAQYmLwEmNj8BJjU+BDU0EjcmNTQ2MhYVFAceARcBNhYXBhY97Uw0/kCW1JUBAQAQEDtVIGcEMwgBCviwChsIVAgBCroTMlJYPSfqvgg4UDgIfL41AaIKGwgCrP6cyDRMapaVaq8gVTsQEElnBkAKGwn5qggCCmAKGwihICIqXJOq8ouYAQUcExQoODgoFBMSgV0BawgCCgAAAAAEAA7/AAfyBgAACwAWACYATgAABDQjIiY1NCIVFBYzCQEuASMiDgIVEAEUBiMhFAYiJic3ISYDNxIBFxYGBwEGJi8BJjY/ASY1PgQ1NBI3JjU0NjIWFRQHHgEXATYWBBAQO1UgZ0n99wNtKrWFXZlaMATATDT+QJbUlQGVAvWmPW89AUNUCAEK+LAKGwhUCAEKuhMyUlg9J+q+CDhQOAh8vjUBogobsCBVOxAQSWcB6wL4WHU/Ymwz/oD+QDRMapaVaoG7ARBh/pwEqGAKGwn5qggCCmAKGwihICIqXJOq8ouYAQUcExQoODgoFBMSgV0BawgCAAAAAAUAAP+ABYAFgAAPAB8ALwA3AFsAACURNCYrASIGFREUFjsBMjYlETQmKwEiBhURFBY7ATI2JRE0JisBIgYVERQWOwEyNgEhJyYnIQYHBRUUBisBERQGIyEiJjURIyImPQE0NjMhNz4BMyEyFh8BITIWAgASDkAOEhIOQA4SAQASDkAOEhIOQA4SAQASDkAOEhIOQA4S/eABwDAHCv7DCgcDbxIOYF5C/MBCXmAOEhIOATVGD04oAUAoTg9GATUOEqACwA4SEg79QA4SEg4CwA4SEg79QA4SEg4CwA4SEg79QA4SEgPudQkCAgmVQA4S/ExTeXVTA7gSDkAOEqclNDQlpxIAAwAA/4AGAAWAACwAPABIAAABFRQOAiMiADU0ADMyHgMdARQrASI9ATQmIyIGFRQWMzI2PQE0NjsBMhYCIA4CEB4CID4CEC4BABACBCAkAhASJCAEBH5Jc3k5zf7tARDLIlNnUjgQdhCDSIyxt45EjAkGdwYK/P787atmZqvtAQTtq2ZmqwGRzv6f/l7+n87OAWEBogFhAc5tMk4rFgEWz8sBEAkbKUgtbRAQRisxt5KXxTAqRgcJCQMrZqvt/vztq2Zmq+0BBO2r/rf+Xv6fzs4BYQGiAWHOzgAAAAIAAP+ABgAFgAAOAGIAAAE0JiMiDgIVFBYzMj4BBRQOAgciBiMiJyYnDgEjIiY1NBI2MzIWFz8BPgE7ATIXFgcDBhUUFjM+BDUQACEiDgIQHgIzMjc2Fh8BFgcGBw4BIyIkJgIQEjYkMyAAA8xrXj96Yj1rYWCgVQI0SnuMSwYTB18vHAU0n16hsYTihVeIJgILAQkFdgUIBQJ4BRkgHDpYQjD+pP7cgu2rZmar7YLksQsaCCkIAQIKZvuFnP7kznp6zgEcnAFYAagC+Wx6PWymYXB6hccRb6xiMwIBNSEyQli/rp0BCptHQBM4BgwLBQv9mhgYJxoBCSc9dk4BJAFcZqvt/vztq2aQCQILMQwMDQlTWnrOARwBOAEcznr+WAAAAAACAAD/AAcABgAAIwAoAAAAFhAPARcWFA8BBiIvAQEGKwEFJxM1NDcBJyY0PwE2Mh8BNzYJAScBFQZEvF7haAoK0goaCmn9pSU1y/8AQIAlAltpCgrSChoKaN9d/MUCQMD9wAYAvP73Xd9oChoK0goKaf2lJYBAAQDLNSUCW2kKGgrSCgpo4V76QAJAwP3AwAACAAD/AAb+BgAAEAApAAABMhYVFAcABwYjIiY1NDcBNgEeAR8BFgAjIi4CNR4DMzI3PgQGT0ZpLf60hWF5frVcAn47/Lonh1MBBP7113u+czoHRDg+DykOGUFKZmgGAF1GP1j9i3tbuX+AVAJDNvv2TGwWR9X+9F2izHYFMiciJUJdOyQPAAAABQAA/wAHAAYAAC0AbwB/AI8AnwAAJREhETI+ATc+ATMyHgEXHgIzMj4BNz4CMzIWFx4CMj4BNz4BMzIWFx4CExUiLgEnLgIjIg4BBw4CIyImJy4CIyIOAQcOAiMiJicuAiMiDgEHDgEjNTQ2OwERIREhESERIREhETMyFgEUBiMiJjU0PgQ1MhYFFAYjIiY1ND4ENTIWBRQGIyImNTQ+BDUyFgcA+QAtUCYcHisjGCgWFh0kUC4tUCQeFRcnGCMrHhwmUFpQJhweKyMiKx4cJlAtGCgWFh0kUC0uUCQdFhYoGCMrHh0kUC4tUCQeFRcnGCMrHhwmUC0uUCQdHisjcFBAAQABAAEAAQABAEBQcPsASDg1SxMcIhwTJloCAEg4NUsTHCIcEyZaAgBIODVLExwiHBMmWoD+gAGAHBsYGxYOEBMZGhwdGRkTEA4WGxgbHBwbGBsWFhsYGxwBQMAOEBMZGhwcGhkTEA4WGxkaHB0ZGRMQDhYbGBscHBoZGxbAUHABwP5AAcD+QAHA/kBwAxBNU0s1HSwYIB86JpRMTVNLNR0sGCAfOiaUTE1TSzUdLBggHzomlAACAAD/gAgABYAABQALAAAhFSERMxEJASERCQEIAPgAgAYAAQD5gAHAAkCABgD6gAQA/IACQAJA/cAAAAADAAD/gAbABgAACwAQABYAAAkBBgQjIiQCEBIkMxMhFAIHEyERMgQSAwACImr+5Z3R/p/OzgFh0bsDBXhspP0A0QFhzgKG/d5seM4BYQGiAWHO/QCd/uVqAqIDAM7+nwACAAD/gAgABYAABQAfAAAhFSERMxEBERQGLwEBBiIvAQEnATYyHwEBJyY2MyEyFggA+ACABwAnEHn9hwoaCun+YMACSQoaCukB0HkQERUBsw4SgAYA+oAE4P5NFREQef2HCgrp/mDAAkkKCukB0HkQJxIAAAEAAAAABwAEWwBgAAABFBceAxcEFRQGIyIuBicuAyMiDgEVFBYzMjc2NxcGBxcGISImAjU0PgIzMh4GFxYzMjY1NC4GJyY1NDYXHgEXIx4CFwcmJzUmIyIGBQwKCh40JCUBRdOVO2lOTDI5HjELIDtYeFJgrmbVnbFROBtUDx0Bg/7/k/WIV5HHaVeQZ1c6Oyo6GmCJUXMmP1JXWEo4CwOvb05VMAEMFh4EgRocF0oxRgNABiMdKRsNClvxksElNl9Qf0+GHFFpWChvsmCg718/NZgiJAGYngEBkmnKl1wmPmJkhnOSNshhUCo8IB8XLTtpRhARbqQEAxcqCxstBWMxFQEVQgAAAAIAAP+ABgAFgABXAGcAAAE0Jy4CJzQuATU0NjMyFyMWFzcmJy4BIyIGFRQXHgEXHgMdARYGIyInLgUjIg4BFxUeAjMyNzY3Jw4BIyImNTQ2MzIWFx4HMzI2ExEUBiMhIiY1ETQ2MyEyFgWY6iMkKAkEAjEkNhEBFBNdJwohRTNQfAIQYWQdKDIbAVM7YUYXOSdFT4BTZbZqAwRdrm26XRQLPCpyWXOYpGhwdC4IIxYpJDc4TCprmGipd/xAd6mpdwPAd6kB5K1CCg0lHAINCwIkLw8PJEc2Ch0Uc1AHEGBYHQgPHCkaBTpGkC+VZndIMXC4ZAFstnFuGxhtUEiudWmoa3cVXzpbOUQnG4sC5fxAd6mpdwPAd6mpAAAAAwAAAAAIAAUAAA8AHwAzAAAANC4CIg4CFB4CMj4BJDQuAiMhFhIQAgchMj4BEhAOAiMhIi4CED4CMyEyHgEEgFGKvdC9ilFRir3QvYoDUVGKvWj+fneLi3cBgmi9itFmq+2C/QCC7atmZqvtggMAgu2rAhjQvYpRUYq90L2KUVGKvdC9ilFa/vT+zP70WlGKAaf+/O2rZmar7QEE7atmZqsAAAACAAAAAAgABQAAEwAjAAAYAT4CMyEyHgIQDgIjISIuAQQyPgI0LgIiDgIUHgFmq+2CAwCC7atmZqvtgv0Agu2rBLLQvYpRUYq90L2KUVGKAf4BBO2rZmar7f787atmZquRUYq90L2KUVGKvdC9igAABQAAAAAJAAUAAA4AEgAYACwAXAAAASEiJj8BJiMiBhAWMzI2JzMmJwUBIQcWFwQQJiMiBxMWBgcGIyInAwYVFBYgABAAIAA1NDY3JwEGKwEOASMiABAAMzIXNyMiJjQ2MyEVIScjIiY0NjMhMhcBNjMyAvr+xigjGLxBSIS8vIRzsKO6EjkBcQEg/iBjaRUFBbyEPD2uDwoWDxUjEq5dvAEIATz++f6O/vlPRkH+nxIhxRf8qLn++QEHuXJlieAaJiYaAYABs1XeGiYmGgEAIRQBC1tluQGARiD7H7z++LyR71U/lAGAhGeVxAEIvBj+/Bc0DgsdAQRfgoS8Afn+jv75AQe5Ya0/Yv4rGqTcAQcBcgEHN7cmNCaAgCY0Jhz+cCwAAAUAAP8ABgAGAAAHAA8AHwArAEsAAAA0JiIGFBYyJDQmIgYUFjITAy4BIyEiBgcDBhYzITI2AjQmIyEiBhQWMyEyAREjFRQGIiY9ASEVFAYiJj0BIxE0NxM+ASQgBBYXExYBgEtqS0tqBEtLaktLah1IBSMX/GoXIwVIBSYeBCYeJuccFP2AFBwcFAKAFAGsgEtqS/0AS2pLgBlnCbEBGwFWARuxCWkXAQtqS0tqS0tqS0tqSwIMAYAXHR0X/oAeLi4CbigcHCgc/Vv9pYA1S0s1gIA1S0s1gAJbcG8Bxk52PDx2Tv46ZgADAAD/iAgABfgACwAuAFIAAAAUBiMhIiY0NjMhMgU0JyEiJjU0NjMhJiQjIgQCFRQXITIWFRQGIyEWBDMyPgIBFAYrARYVFAIGBCMiACcjIiY1NDY7ASY1NBI2JDMyABczMhYFtzIk/UIkMjIkAr4kAQgX/CokMjIkA4xY/tqtsf7TrxcD1iQyMiT8dFgBJ62E8q5oAXMyJIMRg9z+z6f2/mtjvSQyMiSEEYPcATGo9QGVY7wkMgLjRjMzRjNWVlQyIyQyj6iv/tSxVlQyIyQyj6hnr/EBhCMyVVWn/s/dgwEK2TIkIzJVVacBMd2D/vbZMgAABgAL/wAE9QYAAAcADwAbACwAdQCjAAABAxcSNTQjIgEWFzY3LgIBFBM2MzIXAyYjIgYDFB4BMzI2NTQnLgMjIgYDFBceATMyNzYRNC4BJyYkIyIHBhUUHgQ3MjMyFxYXBgcGBw4BFRQWFQcGFSYnBiMWFRQGIyImNTQ3FhcWMzI2NTQmIyIGBzQ2NyY1NDYzMhcCNTQ2MzITFhc+BTMyFhUUAx4DFRQCDgEjIicmAgO5cnWlJjn+jB4DJSIMKiP+zZ8RIA88eUswExRPZ4QiDhcgDSY5Qh0UM54ZO/md45uYAhUUOP7JcyUMDCtEV1hSHRAHGBAPBBxEPSBAWSUDBIkJCCECUTZSqSE0CE04DB2vHSs2clVeHHo9HSmjUk6DwgYCBi4pQz5PJUdSnz1PJg5eqvyYb3CV2gSG/rgVAcNDOPxwUAgqGQIHBwOFYv5ZCgUBX9wj/PUkpowaDhhOIFBiQDb+nSk/kaSqqQECKzBMEjE1CwUeIjQcEwQEAhMTJBwaFhguiEUfcx4MDAIKzgIHDjVJnFEiIUAMaBEMIt5ZN2V8GkoePnoPAc5pUGX9uxEGEH9ukWVIYkls/kYPPl5dQJb+/L5uKjkBDQAAAAAEAAD/gAgABYAAGgA2AFsAXwAAATMOASMiJjU0NjMyFhcjLgEjIgYVFB4CMzIlMw4BIyImNTQ2MzIWFyMuASMiBhUUHgIzMjYlNCYnLgInJiEgBw4CBw4BFRQWFx4CFxYEISA3PgI3PgETESERAxHPDqmCorm6jJSoDcsFPTM5PwoaNidfAtbODqiCorm6jJSoDcwEPjI5PwoaNScxNwFtHy0GDxwCVv2d/Y9VBRkRBi0eHi0GEhcGLAGHARMCYlcFGBEFLh7A+AACEJ616MjC666gQEZ5dTBIQySLnrXoyMLrrqBARnl1MEhDJEy2z8g9CAwSAj8/BA8NCDzH0dDHPQgODgUhIEEEDg4JPMYDy/oABgAAAAAAAgAAAAAFYAWAAB0AOwAAAREUBisBIiY1ETQmIyERFAYrASImNRE0NjMhMh4BAREUDgEjISImNRE0NjsBMhYVESEyNjURNDY7ATIWA+ASDqAOEqBw/vASDqAOEhIOAdCH5IUBgIXkh/4wDhISDqAOEgEQcKASDqAOEgOQ/hAOEhIOAfBwoPuADhISDgVADhKF5AFJ/JCH5IUSDgPADhISDv0AoHADcA4SEgAAAAQAAP+ABgAFgAAPAD4AUwBjAAABFRQGKwEiJj0BNDY7ATIWBTU0JisBIgcmKwEiBh0BFDsBMj0BNDY7ATIWHQEUOwEyPQE0NjsBMhYdARQ7ATIlNTQmIyEiBhURFDsBMj0BFjsBMjYTERQGIyEiJjURNDYzITIWBR8bGMoYHBwYyhgb/hZBNYVEHBxEgjVBFTcWGxleGBwVNhYcGGEYGxY3FQJNQjX++DVCFjcVHz+/NUJ+iGD70GCIiGAEMGCIArZyGBwcGHIYHBz++jVBNDRBNfoWFuYYHBwY5hYW5hgcHBjmFnaaNUFBNf5mFRW0KkECnfvQYIiIYAQwYIiIAAADAAD/gAYABYAAAgAJABkAAAEhGwEhASEBIQkBERQGIyEiJjURNDYzITIWA5P+2pPpATf+vP5I/rwBNwF/AmqqdvxAdqqqdgPAdqoBwgIn/JcEAPwAAToCpvxAdqqqdgPAdqqqAAAAABcAAP8ACAAGAABNAFUAYQBoAG0AcgB4AH8AhACJAJEAlgCcAKAApACnAKoArwC4ALsAvgDBAMsAAAEUBgcDFhUUBgcDFhUUBiMiJyEGIichBiMiJjU0NwMuATU0NwMuATU0NjcTNCY1NDcTJjU0NjMyFyE2MhchNjMyFhUUBxMeARUUBxMeAQEhASMBITYyARYVFAcTFzcRJwYHASEXJSEGIgE2NycHIzcDARcBNxMhATYFMwEhERcWAyE3AQ8BMzUHFhEUFhUUBxcRNxEXAS8BBxE3JwYlIwUXFQkCJScRBQczARcTLwImPQEDJicJAjUDEyMTAQc/ARMmNTQ3CwEXNggAGhTNAxkUwQMhGBkQ/nARNBH+cREaFyIEwRQZA84UGRsUxwEi0QQiFxoSAYwQNhABjhIaFyIEzxcgB7sTGfwnAYX+qo/+qgFoEir8WwEC0A+8uw0QAqj+fL4CKv7oECwCrwEEQBEeFvz+2D8BdxBB/lUBTQj8cAUBVv6LBA4SAZJA/sudwaOoBAEIqx6ZASnf3wTNvwYDdxD9k9X+1wE3ASj9e4gB5ipVASXuhAMBFgjYBQj+SwE2/MCjo6OjBD0wgijPAgOrgU0FAoEVHwT+nAkJFB8E/q8ICBciEhQUFCEYCAwBTwQfFAkJAWQFHxQVHwQBWAEEASQPAWsKCBghFRUVFSEYBgz+mgEhFg0O/rwEH/zNAWL+nhADHAQJCgX+mAbHAVvCCAIBwMjIEPtUBgVET2kBCv7NQP6QHAE2/qkEDwFi/rEGBQF4QgFBpt29sQgDNQECARANsQENC/7JnQE67N4I/vhKyQIM4OEr/sX+wQEzD43+5N0sAYj7AnAFARUNEAIBeAEE/jH+uQH23/7m/In+5QEb4+NGAWkKBAEPASj9nFIDAAIAAP8ABYAGAAANABsAABE0NjMhAREUBiMhIiY1JScRNCYjISIGFREUFjO3gwLmAWC3g/z0g7cE0LBALv4cLkBBLQNYg78BZvpChL6+hCS0AakuQkIu/hQuQwAABAAA/4MGAAV9AAoAFAAeACkAAAEEAAMmNTQSJDMyBRYXBAADJicSAAESACUWFwQAAyYFJicGBzYANwYHFgOm/sP+IncUzQFg0FIBZF1H/nv9xW9dPnACNv6jcwIRAWMoDv7c/kB3ZwPPwa6Hm20BSswVUEEFann+Hf7BWVfQAWHNikFacf3B/ntIWgGCAjr7PAFkAhR2XGd4/j7+2w4UMkFUF80BS26YhK8AAAMAAP+ACAAE9wAWACsAOwAAARMiJyYjIgcmIyIHBisBEzYhMhc2MyABMhYXAyYjIgcmIyIHAz4CMzIXNjcDBgcmIyIHAz4BMzIXNhcHZZuDfsjB4pSU4sHIgHwFm+ABAumamukBAv7xgc6dfKvF4JaW4MWrfGl5sFrKrKzyN9OUmN6woHJ80XXRpazKBHj7CDlblJRbOQT4f2pq+6Y5QQP9To2NTvwDKywjbGwiA4sEl5tC/FMzMmZrBQAABQAA/6UIAAVbAA8AHwAvAD8AXAAAJRE0JisBIgYVERQWOwEyNiURNCYrASIGFREUFjsBMjYlETQmKwEiBhURFBY7ATI2JRE0JisBIgYVERQWOwEyNiUUBiMhIiY1NDY3JjU0NjMyFzYkMzIeARUUBx4BBdweFF0UHh4UXRQe/uQeFGUUHh4UZRQe/tweFGUUHh4UZRQe/tweFGUUHh4UZRQeBYjspvskpux+aQqhcWZOLQEqvZX8kw6HrKUC3RUeHhX9IxQeHhQCExQeHhT97RQeHhQBrRQeHhT+UxQeHhQBahQeHhT+lhQeHqam7OymdMUyIidxoUO36pP8lUI4IdsAAAAnAAD/PgYABgAABAAJAA0AEQAVABkAHQAhACUAKQAtADEANQA5AD0AQQBFAEkATQBRAFUAWQBdAGEAZwBrAG8AcwB3AHsAfwCFAIkAjQCRAJUAmQClANUAABEhEQkBJREhEQkBNSEVExUjNRcVIzUXFSM1FxUjNRcVIzUXNxcHFzcXBxc3FwcXNxcHPwEXBz8BFwc/ARcHPwEXBwEVIzUhFSM1IRUjNSEVIzUhFSM1IRUjNSEVIzUhFSM1ARUjNTMVNxUjNSEVIzUhFSM1IRUjNSEVIzUhFSM1FzUjNTMVBzUzFQc1MxUHNTMVBzUzFQc1MxUlIiY1NDYzMhYVFAYBFB4CNhYVFCMiJyMHFjMyPgI1NC4BBiY1ND4BMzIWFzM3LgYjIg4CBgD8+P0IBZz6yAKVAqP6yFElJSUlJSUlJSU/D2kPHw9pDx4PaQ8fD2gPT2kPaXhpD2l5aQ9peGkPafxBcgEUcwEVcwEUcgEUcgEUcwEVcwEUcvu4JXOicwEVcwEUcgEUcgEUcwEVc/BOcyUlJSUlJSUlJSX9iIG4uIGCt7f+2Sc8RDwncGEaAx9DXx03OCM3UE83KSgVIkkPAx4DJAkeDhoWDB03NSEGAPqQ/q4BUkEDnvxi/toFKMnJ/tZzc5Rzc5Rzc5Rzc5Rzc48iLyEOIi4iDiIuIg0hLiIiLiEvXi4iLl4uIi5dLyIuBNEkJCQkJCQkJCQkJCQkJCQk/qxPcyQkJCQkJCQkJCQkJCQkc08kc5Rzc5Rzc5Rzc5Rzc5RzcyO3goG4uIGCtwF9JCkJBQETFTEzPyoKFiwfLi8HAQsUFRgGFhc6AQ8DCwMGAgoXLQAAAAADAAD/cwgABY0ABwAQACoAAAA0JiIGFBYyJDQmIgYVFBYyAREUBiMhIiY1ETQ2MyEyFh0BITU0NjMhMhYDX5/gnp7gA/6e4J+f4AHgPy342C0/Py0BryxAAvJALAGvLT8BiOCfn+Cen+CennBxngQ4+rwsPz8sBUQsPz8soaEsPz8AAAACAAAAKAgABNkAAABaAAABBTIWFRQGIyIuByMiBhUUFjMyNjc+AjMyFhUUBwYEIyIuATU0ADMyHgUzMjY1NCYjIgYjIiY1NDY1NCYjIg4CIyImNTQ3PgEzMhYVFAc2BZYBBJTS2p5VmnpyaGdyeJhTmsPQn2TYVQUgHAgOFTxl/vV/heGHARvOeNWekYWGpVpmhYFfHmcRFB8R1586az0yCA8VGTuwXr/+BDkDuczFkp3RN1x4hIV4XDe3mZ26Sz0EHRMVDhg1WGx01obNARBXi6eoi1d7ZV+AJR4UEk4Un9AlLCUVDxMbQ0n7viUdDwAEAAD/gAaABQAAGwAjACsAVwAAADQmKwE1NCYiBh0BIyIGFBY7ARUUFjI2PQEzMgAUBiImNDYyBBQGIiY0NjITERQGBwUeAhUUByEyFhQGIyEiJjU0PgE3AyMiJjQ2MyEyHgQXITIWBMAmGoAmNCaAGiYmGoAmNCaAGv3mS2pLS2oDy0tqS0tqyyAZ++wBBwUYA5gaJiYa/AAaJhYlArHMGiYmGgEAEBkPCwQHAQSxGiYDJjQmgBomJhqAJjQmgBomJhqA/TVqS0tqS0tqS0tqSwPA/gAYJQN6Bx0YChAwJjQmJhoOM0QEAzcmNCYNEh8WJQcmAAAAAAQAAP+ABoAFAAAXAB8AJwBTAAAANCYiDwERNCYiBhURJyYiBhQXARYyNwEAFAYiJjQ2MgQUBiImNDYyExEUBgcFHgIVFAchMhYUBiMhIiY1ND4BNwMjIiY0NjMhMh4EFyEyFgUAJjQTkyY0JpMTNCYTAQATNBMBAP2TS2pLS2oDy0tqS0tqyyAZ++wBBwUYA5gaJiYa/AAaJhYlArHMGiYmGgEAEBkPCwQHAQSxGiYDJjQmE5IBJRomJhr+25ITJjQT/wATEwEA/SJqS0tqS0tqS0tqSwPA/gAYJQN6Bx0YChAwJjQmJhoOM0QEAzcmNCYNEh8WJQcmAAAAAAf///8ACAEFgAACAAUACQAMABAAFAAmAAATCQMhJxMhCQIhJSEDIQEhASElARYGBwEGIicBLgE3ATYzITLUAm/+1AHpAV39RonM/vr+4AP9Am/+vfzCAqrM/u4CbwFa/uD++gFZAYAOAhD8QBI6EvxAEAIOAYASIQSAIQMA/WcCmfz8AwSAAYD+gPznApmAAYD+gAGAZv4AEi8R/AAUFAQAES8SAgAaAAMAE/8AB+0GAABJAJcAoAAABTYyHwEHJwcGIi8BBwYiLwEHBiIvAQcGIi8BBwYiLwEHBiIvAQcGIi8BNxc3NjIfATc2Mh8BNzYyHwE3NjIfATc2Mh8BNzYyHwElBiIvATcXNzYyHwE3EQMmNj8BETM1ITUhFSEVMxEXHgEHAxE3NjIfATc2Mh8BBycHBiIvAQcGIi8BBwYiLwEHBiIvAQcGIi8BBwYiLwEBFSUFNSM1IRUHExM0E4BaU1MSNhJTUxM0E1NTEzQTU1MTNBNTUxM0E1NTEzQTU1MTNBOAWlNTEzQTU1MTNBNTUxM0E1NTEzQTU1MTNBNTUxM0E1P6LRM0E4BaU1MTNBNTQNIRFB6xgAEAAQABAICxHhQR0hMTNBNTUxM0E4BaU1MSNhJTUxM0E1NTEzQTU1MTNBNTUxM0E1NTEzQTUwFAAYABgID+ABMTE4BaU1MTE1NTExNTUxMTU1MTE1NTExNTUxMTU1MTE4BaU1MTE1NTExNTUxMTU1MTE1NTExNTUxMTU3kTE4BaUlITE1JAASUBOho9CjoBK4CAgID+1ToKPRr+xv7bEhMTUlITE4BaU1MTE1NTExNTUxMTU1MTE1NTExNTUxMTUwQagICAgICAAAAABAAA/4AFgAYAAAMABwBDAHYAACETLwEBEw8BASYnJiMiBwYiJyYjIgcGBxYXHgEXHgkzMj4DOwEyHgMzMj4INz4BNzYBFAYjISImNTQ+AzcnMyY1NDcmNTQ3PgE3NjMyFjI2MzIXHgEXFhUUBxYHMwceAwJAYGCAAYCAgGABAAICClZGYQccB2FGVgoCAgICAgsCAgsDDAUNCxESFw0kLhMKDQsMCw0KEy4kDRcSEQsNBQwDCwICCwICAaKSefyWeZIJHS5RNVrWFgLC0hFFJCAsHmw8bB4sICRFEdLCBxvWUj9ZKhABwIBA/YACgECAAjIEAggTAgITCAIEEgkDBwcEIQgaCBQHDAQEGSMiGRkiIxkEBAwHFAgaCCEEBwcDCfyjeYqKeT1yiW5hGtxAQAwUKDg5Kj6QKiU+PiUqkD4qOTgoUU/hIX+gjwADAAD/+gkJBQAATABcAHAAAAEWDgInLgEnJjY3Jw4BFRQGIyEjDgEjIgAQADMyFzcmKwEiJjQ2OwEyHgIXITMnIyImNz4BOwEyHwE3NjsBMhYdARQGKwEXNhceAQEyNjchIicmNxMmIyIGEBYoATYQJiMiBxMWBgcGIyInAwYVFAj9DESCu2eh7RAMT09HYG4lG/8ARRf8qLn++QEHuUxMGHu1QBomJhqAToZjLB0CAHNV3h4mBQQmGP0hFEZyExtlGiYmGrNzg5CPyvjUc7AX/sYjFBIRky8shLy8BYABCLy8hDw9rg8KFg8VIxKuXQH0Z7+ITAcL5KBvx0drUOSCGyek3AEHAXIBBxstbiY0JhsyHRaALR4XHhxpchMmGoAaJqw/GxrZ/fuRbx8gHwEVDbz++Ly8AQi8GP78FzQOCx0BBF+ChAAAAwAA/wAFgAXgADUATwBXAAAhFA4CIC4CNTQ+Ajc2FhcWBgcOBAceBDI+AzcuBCcuATc+ARceAwERFAYrAREUBiMhIiY1ESMiJjURNDYzITIWAhQGIiY0NjIFgHvN9f769c17QnR4RxosBAUfGjpgOSgPAQMwYoK/1L+CYjADAQ8oOWA6Gh8FBCwaR3h0Qv6AJhpAJhr/ABomQBomSzUBgDVLYIO6g4O6P2U9Hx89ZT8xTzYjDAUfGhosBAobGBcQBAsfIx4UFB4kHwwEDhgXGwoELBoaHwUMIzZPA0/+gBom/oAaJiYaAYAmGgGANUtLAai6g4O6gwACAAD/gAcABYAAGwA/AAABIQ4BDwEBBiInASYnITI2NxsBHgEzMjY3ExcWARQHIScuAQcGBwsBLgEiBgcDISY1NDYzMh4CFz4DMzIWBQABMQUKBAP9kRI0Ev2QBRABcRYjBUa+BiIWFSIGkjgSAidn/o9vCCMTLQuBxAYjLCIFdP5ZZ/7gPoFvUCQkUG+BPuD+AgAGCQME/agSEgJaAhIbFQEZ/WUUGhoUAeVwIwGskZvdERQCBSn+UgKuFBobFf4wm5Hc+CtJQCQkQEkr+AAAAv/2/wAEgAYPACsAMwAAARQABxEzMhYdARQGKwEVFAYrASImPQEjIiY9ATQ2OwERLgECNz4CNzYEEiQQACAAEAAgBID+2dngDhISDuASDkAOEuAOEhIO4JbzgQwLi+GFqgEqrvwAAQcBcgEH/vn+jgPA3f65GP78Eg5ADhLgDhISDuASDkAOEgEEEK4BEpuG5pIPE5L+6hL+jv75AQcBcgEHAAACAAD/gAYABYAAJwAvAAABMhYVERQGKwEiJjURARYVFA4CIi4CND4CMzIXASEiJj0BNDYzACAAEAAgABAFwBomEg5ADhL+gn5bm9Xq1ZtbW5vVdcucAX7++w4SEg79ZwFyAQf++f6O/vkFgCYa/mAOEhIOAQb+gZzLddWbW1ub1erVm1t+AX4SDkAOEvqAAQcBcgEH/vn+jgAAAAACAAD/AASABgAAPQBFAAABFhIVFAAHFTMyFh0BFAYrARUUBisBIiY9ASMiJj0BNDY7ATUmADU0EjcmJyY2OwEyFx4BMjY3NjsBMhYHBgAgABAAIAAQAz6Rsf7Z2WAOEhIOYBIOQA4SYA4SEg5g2f7ZsZGlPwYTEUUVCCzA7MAsCB09ERMGP/2kAXIBB/75/o7++QTESP7rp93+uRiEEg5ADhJgDhISDmASDkAOEoQYAUfdpwEVSGCxEBsUaoKCahQbELH73AEHAXIBB/75/o4AAv/2/wAFgAYAAEIASgAAATQ2MyEyFhURFAYrASImPQEHFhUUAAcVMzIWHQEUBisBFRQGKwEiJj0BIyImPQE0NjsBNS4BAjc2ADc2Fhc3IyImNQAgABAAIAAQBAASDgEgGiYSDkAOEv5+/tnZYA4SEg5gEg5ADhJgDhISDmCV84IMEAEgy3bcWP+GDhL9hwFyAQf++f6O/vkF4A4SJhr+4A4SEg6G/57J3f65GIQSDkAOEmAOEhIOYBIOQA4ShBCuARGbzAErFw5CRv4SDvtgAQcBcgEH/vn+jgAAAAIAAP8ABoAGAABrAHMAAAE0NjMhMhYVERQGKwEiJj0BBxYVFAAHFTMyFh0BFAYrARUUBisBIiY9ASMiJj0BNDY7ATUmADU0NycHDgEvAS4BPwEnFRQGKwEiJjURNDYzITIWHQEUBisBFzc+AR8BHgEPARc2IBc3IyImNQAgABAAIAAQBQASDgEgGiYSDkAOEv5+/tnZYA4SEg5gEg5ADhJgDhISDmDZ/tl+NGUJGgowCgEJaW8SDkAOEiYaASAOEhIOhWpWCRoKMAoBCVo5ngGSnv+GDhL9hwFyAQf++f6O/vkF4A4SJhr+4A4SEg6G/57J3f65GIQSDkAOEmAOEhIOYBIOQA4ShBgBR93JnjVvCgEILAgbCnNwhg4SEg4BIBomEg5ADhJrXgoBCCwIGwpjOH5+/hIO+2ABBwFyAQf++f6OAAX/9v8ABwoGEgA4AD4ASwBSAF8AAAEWAgYHETMyFh0BFAYrARUUBisBIiY9ASEVFAYrASImPQEjIiY9ATQ2OwERLgECNzYANzYXNhcWAAE2ECcGEAMyNyY1NDcmIyIAEAABESYnBgcRATIAEAAjIgcWFRQHFgb+DIHzluAOEhIO4BIOQA4S/gASDkAOEuAOEhIO4JbzgQwRASfNzqurzs0BJ/yTgICAwHNnmppnc7n++QEHAvmJd3eJAkC5AQf++blzZ5qaZwPvm/7urhD+/BIOQA4S4A4SEg7g4A4SEg7gEg5ADhIBBBCuARKbzgEtExVzcxUT/tP9yoMBbIOD/pT+9jml4uCnOf75/o7++f6AAQQPT08P/vwBgAEHAXIBBzmn4OKlOQAABP/5/ukHgAYAAEYAUABeAGwAAAE0NjMhMhYVERQGKwEiJj0BBx4BBwYABwYkJy4DNz4CNzYWFzcjIiY9ATQ2MyEyFhURFAYrASImPQEHFhcWFzcjIiY1ATQnDgEVFBc+ASUUFhcmNTQANy4BIyIAATIANTQmJxYVFAAHHgEGABIOASAaJhIOQA4S/kw/Fh/+8rfS/qNDddCTUAgJiuKHdttZ/4YOEhIOASAaJhIOQA4S/jsitpL/hg4S/gAEotoEotr8gN6lAwEOyzXdh7n++QPAuQEH3qUD/vLLNd0EYA4SJhr+4A4SEg6G/1/ugLb+/Bod2r8GZ6Ped4fqlQ8OQkb+Eg5ADhImGv7gDhISDob/Sl8Jc/4SDv6gFCYZ+qcUJhn6p6j8Fx0e0gE/JXiS/vn8BwEHuaj8Fxwf0v7BJXiSAAAABP/v/wAIAAYAAEoAUABcAGgAAAE0NjMhMhYVERQGKwEiJj0BBx4BBwYABwYnBgcVMzIWHQEUBisBFRQGKwEiJj0BIyImPQE0NjsBNS4BAjc2ADc2FzYzMhc3IyImNQE2ECcGEAAQADMyNyYQNyYjIgEyABAAIyIHFhAHFgaAEg4BIBomEg5ADhL+TD8WIP73td+6dYtgDhISDmASDkAOEmAOEhIOYJv5fRcZAQ264LqSrsme/4YOEv0AgICA/YABB7l1ZZqaZXW5Azm5AQf++bl1ZZqaZQXgDhImGv7gDhISDob/X+6AtP78GyJ8Tg+EEg5ADhJgDhISDmASDkAOEoQRuQEiorsBDx0ifGF+/hIO++eDAWyDg/6UAW/+jv75OacBwKc5/IABBwFyAQc5p/5ApzkAAAAAAgAA/4AGAAWAADsAQwAAATIWFREUBisBIiY1EQcXFhQPAQYiLwEHFhUUDgIiLgI0PgIzMhc3JyY0PwE2Mh8BNyEiJj0BNDYzACAAEAAgABAFwBomEg5ADhLVjAkJLgkaCoxOflub1erVm1tbm9V1y5xOrAkJLgkaCqzV/vsOEhIO/WcBcgEH/vn+jv75BYAmGv5gDhISDgEG1owKGgkuCQmNT5zLddWbW1ub1erVm1t+TqwKGgkuCQms1RIOQA4S+oABBwFyAQf++f6OAAAAAAL/9v7xBIAGAAA5AEEAAAEWABUUAgQnLgInJhI2NzUjIiY9ATQ2OwE1BwYiLwEmND8BNjIfARYUDwEGIi8BFTMyFh0BFAYrAQIgABAAIAAQAoDZASeu/taqheGLCwyB85agDhISDqBcChoJLgkJyhM0E8oJCS4JGgpcoA4SEg6g+QFyAQf++f6O/vkDfBj+ud2n/uqSEw+S5oabARKuEIQSDkAOEqVcCQkuCRoKyRMTyQoaCS4JCVylEg5ADhL7gAEHAXIBB/75/o4AAAL/8QAAB4AEigA5AEEAAAEWFAcBBiIvASY0PwEhFRQGKwEiJj0BIwYAIyIkAjc+Ajc2BBYXMzU0NjsBMhYdASEnJjQ/ATYyFwAgABAAIAAQB20TE/7aCRsJLQoKuf7aEg5ADhKEGP653af+6pITD5LmhpsBEq4QhBIOQA4SASa5CgotCRsJ+0ABcgEH/vn+jv75Am0TNBP+2goKLQkbCbngDhISDuDZ/tmuASqqheGLCwyB85bgDhISDuC5CRsJLQoK/O0BBwFyAQf++f6OAAACAAD/AASABgAAFwAfAAABFAAHERQGKwEiJjURJgA1ND4CMh4CACAAEAAgABAEgP7Z2RIOQA4S2f7ZW5vV6tWbW/0HAXIBB/75/o7++QPA3f65GP2cDhISDgJkGAFH3XXVm1tbm9X9ywEHAXIBB/75/o4AAAIAAAAABIAEgAAHABcAAAAQACAAEAAgABQOAiIuAjQ+AjIeAQQA/vn+jv75AQcBcgGHW5vV6tWbW1ub1erVmwGHAXIBB/75/o7++QI16tWbW1ub1erVm1tbmwAAAQAA/4AGAAWAACQAAAEyFhURFAYjIREzNyM1NDYzNzUmIyIGHQEjFTMRISImNRE0NjMFqyMyMiP+ecce5S9Eej9ziKPIyP0hIzIyIwWAMiP6qiMyAlPolDg4Ac8JoJKr6P2tMiMFViMyAAAAAQAA/4AFAAYAAEwAABE0PgMzMgQWFRQOAyMiJicOBg8BJyY1NDYSNyY1NDYzMhYVFAYVFBYzMj4ENTQmIyIAFRQeAhUUBiMiJy4DS4SsxmeeARCqJlJ2rGdEhh0KJAseFioyJQ4JDytaByBoUD1EWFpAN14/MRsN27DI/vQZHRkeFgIPM08rFgOrbL+OaDSF/qBguKqBTUA4J5MrYytSSTIFCp0fXOUBWh5BaFOSUT5C+j4/UzJWaHVpL63B/v3HLFIwKwkcWgMPUmttAAAAAAMAAP96BgAFhgArAD4AUQAAADIWFxYVFAcOASMiJy4BJyY3NTY3NjMyFjMyFhceARUUBhUUFxYXFhcWMzIDMj4CNC4CIg4CFRQXBzcWEiAEFhIQAgYEIyInBRMmNTQSNgPMGqkFAhEQbi85hWKQTEgBA0cYHAYYBxMPCAgyRQUiRDhfDAoPcH/pqGRkqOn+6ahkeE/yniIBMgEXynh4yv7pmcOq/l+IbHjKAjJYCQUKISsnNT4tknBrVwhbQxYDDRUUiAcVSQoHCElANTAH/k9kqOn+6ahkZKjpf8ul6U1oBWZ4yv7p/s7+6cp4XoYBlbLTmQEXygAACQAAAAAHAAWAAAMABwAPABMAGwAjACcAKwAvAAA3ITUhESE1IQA0JiIGFBYyASE1IQA0JiIGFBYyEjQmIgYUFjITESERAREhEQERIRGABAD8AAQA/AAGIDhQODhQ+hgEAPwABiA4UDg4UDg4UDg4UJj5AAcA+QAHAPkAgIABgID9mFA4OFA4BCCA/ZhQODhQOAI4UDg4UDj9IP6AAYACAP6AAYACAP6AAYAAAAMAAP+ACAAFgAAHACsATgAAACAmEDYgFhABITIWHQEUBiMhERQGKwEiJjURISImPQE0NjMhETQ2OwEyFhUBFBYzIRUGIyEiJjU0PgUzMhceATI2NzYzMhcjIgYVA1/+wuHhAT7hAkABYA0TEw3+oBMNwA0T/qANExMNAWATDcANE/0gTDQBAERn/JZ5kgcVIDZGZT0TFE+XspdPFBOEVd80TAKA4QE+4eH+wv6fEw3ADRP+oA0TEw0BYBMNwA0TAWANExMN/cA0TO4yink1ZXVkX0MoET09PT0RYEw0AAAAAwAA/4AH9wWAAAcAMwBWAAAAICYQNiAWEAEXFhUUDwEGIyIvAQcGIyIvASY1ND8BJyY1ND8BNjMyHwE3NjMyHwEWFRQHBQcGFRQfAQYjISImNTQ+BTMyFxYgNzYzMhcOARUUFwNf/sLh4QE+4QK1+QkJiAkNDgn5+QkODQmICQn5+QkJiAkNDgn5+QkODQmICQn9FbUlJVMVF/yWeZIHFSA2RmU9ExSaAUqaFBMcHRwaJQKA4QE+4eH+wv3f+QkODQmICQn5+QkJiAkNDgn5+QkODQmICQn5+QkJiAkNDgn5tSU2NSVTA4p5NWV1ZF9DKBF6ehEGGy4hNiUAAwAAAAAIAAUAABIAGgAkAAABITIWFREhESERIRE0NjsBMhYVADQmIgYUFjIhNTQmIyEiBhURAQAGwBom/wD6AP8AJhqAGiYCQJbUlpbUBVbhn/1AGiYCACYa/kABAP8ABMAaJiYa/hbUlpbUlkCf4SYa/oAAAAAAAgAA/wAGAAYAABYAGQAAAQMzFSEHIRUhCQEhNSEnITUzAyEBIQkBEyMGAMDA/u43AUn+Zf6b/pv+ZQFJN/7uwMABAAFDAXoBQ/4AbNgGAP5AwIDA/MADQMCAwAHA/QADAPtAAQAAAAADAAD/AAYABgAAFwAfACMAAAEyBBURFAYHFxYGIyEiJj8BLgE1ETQkMxIyNjQmIgYUAREhEQRAuQEH+7TVEBAW++AWEBDVtPsBB7nwoHBwoHADAPuABgC7hfyAgrgFyg8oKA/KBbiCA4CFu/rAcKBwcKAB0AIA/gAAAAAABQAA/wAGAAYAABcAHwAjACsALwAAATIEFREUBgcXFgYjISImPwEuATURNCQzAjI2NCYiBhQBESERADI2NCYiBhQBESERBEC5AQf7tNUQEBb74BYQENW0+wEHueKEXl6EXgJA/eAD/oReXoReAUD9wAYAu4X8gIK4BcoPKCgPygW4ggOAhbv64F6EXl6EAcICAP4A/eBehF5ehAHCAgD+AAAAAAAEAAD/igcABXYAEgAVABwAKAAAAREUBiMiJyUuATURNDYzMhcBFhcJAhEUBiInJQEUAAcJATYzMhcBFgJVGRgREP4vFR0UEw4eAf8DQAIW/eoEaxwwF/5HAhn9/yz+egFEESMODAIdBARb+2sZIwjpCi8XBHQUHA//AANn/J4BCgJG++IZHw3cA+UD/L9HAnoCDxwG/vICAAIAAP+ABgAFgAALAA8AAAkBIwMGBycDIwERMwERIREDKQEKcJ0YFCqbeAEHZQLX+gACFAHz/sgwLFwBOP4T/rwEqvoABgAAABgATP8ECKwGAgALABcAIwAvAEQATQD8AQYBEgEbASUBMgE8AUcBUQFeAWwBdwGzAcIB2QHpAf4CDQAABQ4BBwYmJyY2NzYWBR4BFxY2NzYmJyYGNx4BFxY2NTQmJyYGBQ4BBwYmNTQ2NzYWATMiBx4BFRQGIyInBhUUFjMyNjQmNy4BBz4CHgEBFgcWFRYOAQcGJicEJQ4BJy4BNzY3Jjc2FzY3Jjc2FzY3NDc2FzYXFhc1IicuAScmNzY3PgIWFzMWFxYXPgE3JicmJzQ3LgEnLgE3Njc2FhcUHgMXFjc2NyYHNzY3NjcuBCckARYXFjczPgM/AT4BFxYXFgYHDgEHFQYHBgceARc2NzY3Mz4BHgEXFhcWBw4BBwYjFAc2NzYXNhcWFRYXNhcWBxYXNgEUBxYXNiYnJgYHHgEHNjc2Ny4BJwYHIicWFzI3NiYFNjcmNTQmBw4BFxYXJjY3MSYnDgEHFhc2NwYPATUGFxYFHgEXHgE3PgE3JgAiBhUUFjI2NTQDJgc1BhYXHgE3PgEmBT4BJic1BiMOARYXHgElBhYXFjY3PgE3BgcWBxYEFzYkNyY3ND4BPQEVLgEnBgcGJyYnJicOCCMGJw4DBwYjBicGJyYnJicmJwYHFgM2NS4BJyYOARceARcWNjcWFzY3LgEnBgcUBhUWBwYHBgcjBhcWFwQlJicGBwYnJicGByMVMiU2NzY3BzY1JicmJyY3JjUmJwYHFgU2LgEHDgEHFBceATc+AQHeCCYSGTUCAVIbFxYFNAcmExk1AQJTGxYWOQ1XIi1KhzAoL/pyDVYiLUqHMCguAskBKSMbIjYmNBwFcE9QcHDgY/N8G299dlEC8ggTBwFbgDYwWBb9Uf3EF1cxVrsBAgUTCAYZDhsHCQscHR4NFxwjGhIUCwc1WAsJCQ9OAiImHAUNLg4DAgopCg8PF0QBPnEcIBUIEEoXOgMDAgQHBRsxMDIoei89ZpGJFCo0IT4MAlMBNWI8VSQBBQcEAgIBAzoXSRIHFSAcbzxHGA4RCyoJAQQQLA0FHCYiAk8OCQgMWDUKBwEUEhojHBcOIRobCwoIHA0X/vUJUh4EGxwUIE4jGQ1DHg0FAzgzD0oeDioLFRYQHvm+HlIJIRMcGygdRA0ZIyUPMzcECboOOxMkLS4aGQPZCBEDAw0RKCwBGP7g6Kam6KY2aWoBBwodgR8JBAX+8ggDBALUAgQGBgsihv6YECk5DxIDAwoFRcIDJYQBF6asARWbIQMBAhFCDxo4Mx8FBAcKAgYJBwwIEAgTBGo5BAweEBwGA7MYAjYvLAwIEQk6HQFRAxFEJyl5WAUjgjYzVg0XBMPFYqVhBhcCHwkMLAoTAQIDE1UCFAJl/q5MUAgIQUDQ0AEBBKAEGA4TAQMPDyoOCR8CEAzMs8YCYAVYeComRREDClYzNoKLECUHCRkTFkIFBDMVECUHCRkTFkIFBDNYG0EJDSMhLm0FBVUiG0EJDSMhLm0FBVUEQg8ILRsjMisXE0ppaZRp2m0tQzxJBiht+twLHxcROHFGAgIvKhkZKTACA5tTFhIfCwoJFh0dCQoOFA4dCAwcBQcED0kCCkU1Jis+IRElChkSBRIDBAEFAQsGKAMGBAIhHyRwOH41EBcdARoQGA4DDgIuHAQSLjo1SQ0IDw0IDgN+/vdUigoTAw4YDw4OHBgRNH45cCMgIQIKAikFDAEFAQUDEgUSGAgmESA/KCk1RgkCMRgPBAcFHAwJHBASDQkKHB4VCAOvHRkgZCV7HRMEdiqFOg0gDg5AZRAPCgFzfANEhjFkIBkdEgQTHXuLHw46hSoGDxBkQRFBfG8EDhMBWWsDJyaNExIHCBSDPAICg6V0daWldXT+JgICARt2Bw4BCwNIQ7oEWFgTAQMUVFIFDwLIO3cZCAYSEJQdAoIXDY3GNzHCmQ0VAgMDAQEBAgcBWiomJwYIDTEFCAYFAwICAQEJFBETCwMCARE5PwkILg0NHSQGBAL9hA4QR3YLDDVrNjVQAgI83D84cT00iGEECQEGAhITFwsNC1NDIs0VFZMxIxYDAxUcPIABLzZCJiEBTUwIEQkYFBIEBQQIvl47jDZrNQwLd0YQDjE8AgJQAAADAAD/QwkCBb0ABwAPADsAACQUBiImNDYyBBQGIiY0NjIBHgUMATMyHgQOAwcGBz4FLgMHBiQuBwX0YIhhYYj9c2GIYGCI/Vo5a4eJw80BJwE52IvTl2EtAypHbHxNuWUdX11gRiYMT5r+saj+3Ny9gnNERCEvK4hgYIhhYYhgYIhhBTE8WUszKBcOBQoXIC84SFFlbEGdWjN0X2ZRUDwzHxADAhAeNDNKO1Q3UQAAAAcAAP8ABwAGAAAPAB8AKwA/AEsAZwB3AAAAIAQGAhASFgQgJDYSEAImJCAEFhIQAgYEICQmAhASNhMyFREUKwEiNRE0MwQyFhUUBgcVFAYrASImPQEuATU0AiAEEhACBCAkAhASExUUFjsBMjY9ATQ2MhYdARQWOwEyNj0BNCYgBgERNCYjISIGFREUFjMhMjYEKf6u/szfhITfATQBUgE034SE3/1tAWwBTPCOjvD+tP6U/rTwjo7wchAQIBAQAXtqSyMdEg5ADhIdI1EBogFhzs7+n/5e/p/OztISDkAOEoO6gxIOQA4Szv7czgNgJhr8gBomJhoDgBomBcCE3/7M/q7+zN+EhN8BNAFSATTfxI7w/rT+lP608I6O8AFMAWwBTPD9ThD+IBAQAeAQQEs1IzoRcg4SEg5yETojNQNLzv6f/l7+n87OAWEBogFh/u5gDhISDmBdg4NdYA4SEg5gks7O/I4CABomJhr+ABomJgAAAAMAAAAACQAFAAADABcALwAAAREhEQEzESMRNCYjISIGFREUFjMhMjY1AREUBiMVFAYjISImNRE0NjMhMhYdATIWB4D5gAcAgIASDvjADhISDgdADhIBAEs1XkL4wEJeXkIHQEJeNUsEAP0AAwD9wAGAASAOEhIO/EAOEhIOAqD+gDVLoEJeXkIDwEJeXkKgSwAAAAADAAAAAAkABQAAAwAbAC8AAAERIREBMhYVERQGIxUUBiMhIiY1ETQ2MyEyFhUZASMRNCYjISIGFREUFjMhMjY1EQEABQACgDVLSzVeQvjAQl5eQgdAQl6AEg74wA4SEg4HQA4SAQADAP0AAsBLNf6ANUugQl5eQgPAQl5eQv1gAYABIA4SEg78QA4SEg4BIAADAAAAAAkABQAAAwAbAC8AAAERIREBMhYVERQGIxUUBiMhIiY1ETQ2MyEyFhUZASMRNCYjISIGFREUFjMhMjY1EQEAA4AEADVLSzVeQvjAQl5eQgdAQl6AEg74wA4SEg4HQA4SAQADAP0AAsBLNf6ANUugQl5eQgPAQl5eQv1gAYABIA4SEg78QA4SEg4BIAADAAAAAAkABQAAAwAbAC8AAAERIREBMhYVERQGIxUUBiMhIiY1ETQ2MyEyFhUZASMRNCYjISIGFREUFjMhMjY1EQEAAgAFgDVLSzVeQvjAQl5eQgdAQl6AEg74wA4SEg4HQA4SAQADAP0AAsBLNf6ANUugQl5eQgPAQl5eQv1gAYABIA4SEg78QA4SEg4BIAACAAAAAAkABQAAFwArAAABMhYVERQGIxUUBiMhIiY1ETQ2MyEyFhUZASMRNCYjISIGFREUFjMhMjY1EQiANUtLNV5C+MBCXl5CB0BCXoASDvjADhISDgdADhIDwEs1/oA1S6BCXl5CA8BCXl5C/WABgAEgDhISDvxADhISDgEgAAEAAP77BIwGAAAcAAABFgcGIyETFgYPAQYmJwMBBiMiJyY1ETQ3NjMyFwRtHxERKv6CyQoUGLEZMAu//sgTGgwMKCgMDBsSAe0eJyj+JBkwC0sKFBgBxP7IEwURKgXgKhEFEwABAAD/AAOABgAAJQAAASAVETMVIxEUITMVIyAnBiEjNTMgNREjNTMRNCEjNTMgFzYhMxUDQP7AgIABQEBA/vBwcP7wQEABQICA/sBAQAEQcHABEEAFgOD+YID94OCAkpKA4AIggAGg4ICSkoAAAAAACQAA/wAIAAYAABMAFwAbAB8AKwAvADcAOwBBAAABIxEzESE1IRUhETMRIxEhFSE1IQUVMzUhFTM1ETUjFSU1MxEjNSEVIxEzFQU1IxUBIREhESERIQEhESEBESERIRUIAICA/oD7AP6AgIABgAUAAYD/AID5AICABgCAgPsAgIAGAID+AAGA/ID+gAOA/QACgP2ABAD/AP6ABID8AP6AgIABgAQAAYCAgICAgICA+gCAgICABACAgPwAgICAgAQA/QABAAMA/YACAP0AAgD+gIAAAAAKAAD/AAkABgAAHwAjACcAKwAvADMAPwBDAEcAVwAAASMRMxEhNSEVIREzNSEVIREzESMRIRUhNSERIxUhNSEFFTM1ARUzNSEVMzURNSMVJSMVMyUhNTMRIzUhFSMRMwE1IxUhNSMVGQEjNSERMxEhNSEVMxUhNQkAgID+gPyA/oCA/oD+gICAAYADgAGAgAGAAYD/AID9AID6gICABYCAgPuAA4CAgPyAgIACAIAFgICA/oCA/oD+gIADgAMA/YD+gICAAYCAgAGAAoABgICA/oCAgICAgAGAgICAgPuAgICAgICAAoCAgP2A/YCAgICAAQACgID+gP6AgICAgAAAAgAA/4AGAAWAABEAGAAAAREhIiY1ETQ2MyEyFhURISIGFyEGDwEGBwQA/GAoODgoBUAoOP5gKDiAAX0PMrgyUgEg/mA4KAVAKDg4KPxgOEhSMrgyDwAAAAMAAP+ABgAFgAAGAA8AIwAAASMVNj8BNiUhESERIRE0NgERFAYPAQ4BIyEiJjURNDYzITIWBXj4HQy5DP7yASD7AAOAOAHIKBy4HGAo/AAoODgoBUAoOAEA+AoMuQydA4D7AAEgKDgDoPwAKGAcuBwoOCgFQCg4OAAAAAAGAAD/gAkABYAACwAYACcAQQBUAGQAAAAUBgcGKwE1MzIXFjYUBgcGKwE1MzIWMxYFESMRFAYjIicVHgEfASAlNQYHBiY0NhcWFzUuAS8BJg4CFB4CNzYlNCYnNT4BNTQmJyImIyERITI2ExEUBiMhIiY1ETQ2MyEyFgefHxcICpmZCggXDR4XAwyLiwMLARf7aeRMQ2x5NYgpKgFIAspjZWx6emxlYzBoHBx/t2IsLGK3f2UDSVZCOUBSQgMSBf45AetKX4BMNPgANExMNAgANEwCNDQlBQKMAgWvMiIEAYEBBOABNP7MOkk7cA8QAQEhcTQHCGK6YggHM3AMDwICBihQYHRgUCgGBI42RQUDCEMuN0IDAf4CSQM2+wA0TEw0BQA0TEwAAAUAAP+ACQAFgAAFAAsAGgAuAD4AAAERDgEUFiQ0JicRNgAQAgQjIi4CNTQSJCAEATQuAiMhIgQCFRQSBDMhMj4CAREUBiMhIiY1ETQ2MyEyFgNaaoSEAmKEamoBW53+8p932Z1dnQEOAT4BDgIcb7jzg/7TsP7Zr64BKq4BLYH1uG8BWEw0+AA0TEw0CAA0TAEnArUpveq9veq9Kf1KKQHR/sL+8p1dndl3nwEOnZ3+TIv1pmCi/ta6q/7bqmWp7AMG+wA0TEw0BQA0TEwAAAADAAD/AAcABgAADwAfADsAAAURNCYjISIGFREUFjMhMjYTERQGIyEiJjURNDYzITIWARUjNTQmIyEiBhURFBY7ARUjIiY1ETQ2MyEyFgaAEw37wA0TEw0EQA0TgF5C+8BCXl5CBEBCXv6AgBMN+8ANExMNoKBCXl5CBEBCXmAEQA0TEw37wA0TEwRN+8BCXl5CBEBCXl4BPqCgDRMTDfvADROAXkIEQEJeXgAABgAA/wAIgAYAAAIABQA1AD0AVQBtAAAJASEJASEBDgEHESEyFh0BFAYjISImPQE0NjMhES4BJyEiJj0BNDYzIT4BMhYXITIWHQEUBiMEMjY0JiIGFAEUDgIiLgI1ND4DNzYyFx4EBRQOAiIuAjU0PgM3NjIXHgQGwP6AAwD5gP6AAwABtQ4/KAJgDhISDvrADhISDgJgKD8O/hUOEhIOAesVYnxiFQHrDhISDv0/Qi8vQi8EkF2Ok4STjl1GcmRoBBJMEgRoZHJG+wBdjpOEk45dRnJkaAQSTBIEaGRyRgRA/UACwP1AA4AoPw769RIOQA4SEg5ADhIFCw4/KBIOQA4SOUdHORIOQA4SEC9CLy9C/GFJdEIhIUJ0SQuM0ba6ByEhB7q20YwLSXRCISFCdEkLjNG2ugchIQe6ttGMAAACAAD/AAYABgAALQBNAAABEAIHFhIRMzIWHQEUBiMhIiY9ATQ2OwEQEjcmAhEjIiY9ATQ2MyEyFh0BFAYjAT4DNSEUHgIXHgEUBgcOAxUhNC4CJy4BNDYFgNWgoNVgDhISDvpADhISDmDVoKDVYA4SEg4FwA4SEg79ik2Qc0b8AEZzkE0TFxcTTZBzRgQARnOQTRMXFwWA/vv+b2pq/m/++xIOQA4SEg5ADhIBBQGRamoBkQEFEg5ADhISDkAOEv08HX+y8oSE8rJ/HQchKCEHHX+y8oSE8rJ/HQchKCEAAAMAAP8ABgAGAAAtADMAPwAAARACBxYSETMyFh0BFAYjISImPQE0NjsBEBI3JgIRIyImPQE0NjMhMhYdARQGKwEhFBchNhE0LgInIw4DFQWA1aCg1WAOEhIO+kAOEhIOYNWgoNVgDhISDgXADhISDuD8AAkD7glEcYxM5kyMcUQFgP77/m9qav5v/vsSDkAOEhIOQA4SAQUBkWpqAZEBBRIOQA4SEg5ADhJCPj36Q4LvsX8fH3+x74IAAAAAAwAA/wAGAAYAAC0AMwA7AAABEAIHFhIRMzIWHQEUBiMhIiY9ATQ2OwEQEjcmAhEjIiY9ATQ2MyEyFh0BFAYrASEUFyE2Ay4BJyMOAQcFgNWgoNVgDhISDvpADhISDmDVoKDVYA4SEg4FwA4SEg7g/ABVA1ZVOTa3Z+ZntzYFgP77/m9qav5v/vsSDkAOEhIOQA4SAQUBkWpqAZEBBRIOQA4SEg5ADhLOsrL8Do3JKirJjQAAAgAA/wAGAAYAAC0ARwAAARACBxYSETMyFh0BFAYjISImPQE0NjsBEBI3JgIRIyImPQE0NjMhMhYdARQGIwE+AzUhFB4CFx4BFAYHBgchJicuATQ2BYDVoKDVYA4SEg76QA4SEg5g1aCg1WAOEhIOBcAOEhIO/YpNkHNG/ABGc5BNExcXE4lrArxriRMXFwWA/vv+b2pq/m/++xIOQA4SEg5ADhIBBQGRamoBkQEFEg5ADhISDkAOEv08HX+y8oSE8rJ/HQchKCEHM5GRMwchKCEAAAADAAD/AAYABgAADwA5AEkAAAUyFh0BFAYjISImPQE0NjM3Pgg3LggnIQ4IBx4IFxMyFh0BFAYjISImPQE0NjMF4A4SEg76QA4SEg5iAxoiOjFQNFksKyssWTRQMToiGgME/AMaIjoxUDRZLCsrLFk0UDE6IhoDYg4SEg76QA4SEg5AEg6ADhISDoAOEkA3aFZYQEstQR4cHB5BLUtAWFZoNzdoVlhASy1BHhwcHkEtS0BYVmg3BgASDoAOEhIOgA4SAAAAAgAA/4AGAAUAAEEAagAAASIGHQEjNTQmIyIGFREnNTQmIyIGHQEUFwEWFRQWMyEyNj0BNDcTNj0BNCYjIgYdASM1NCYnJiMiBh0BIzU0JicmJzIXNjMyFhc2MzIWHQEUBwMGFRQGIyEiJjUBJj0BNDYzMhc+ATMyFzYDADVLIEAwLkIgQDAuQiMBNicmGgKAGiYKbApAMC5CIDInDgkuQiBBMgUIVEE5QjtoIhsgZIwNbQZwUP2AVGz+zEyNYwsFBotfNC5IBIBLNYBdMENCLv5THqwwQ0Iu4C8j/tgnPxomJhoZKSQBtCQp9jBDQi4gfShBCAJCLoB6M00FAYAyIjYxB49k9jM5/kwYL1BwdVQBKElm4GONAV+CFUUAAAAAAgAA/wAGYAYAADEAWAAAACIGFREjETQmIgYVGQEnJiMiBhUUFwEWMyEyNjcTNjURNCYiBhURIxE0JiIGFREjETQmMhYXNjMyFh0BNhYVERQHAw4BIyEiJicBJjU0NjMyFxE0NjMyFzYDnlxCIEJcQpomQDVLGgGAJkACsCI2B0wFQlxCIEJcQiC0iHMfExdjjWmXCEwOfVH9UDxtJP6AM5ZqTjKNYxcTHwWAQi79cAIQLkJCLv3w/wDNM0s1KyL+ADMsIgGVIBsB8i5CQi7+8AIQLkJCLv3wApAuwkc9BI1jEQaMaf4OKCv+bE9oNy8CAERWapYiAbJjjQQ9AAAAAAUAAP+ABwAFgAAmADUASgBiAIMAAAUjIicmPQEuATU0NyEiJjQ2OwEnLgE1NDYzMhcFITIWFREUBgcFBgMPAQ4BFRQWMzI3JS4BNQE0JiMiBwUOBBUUFjMyNyU+AQMlJiMiBhUUFhcFFSEiBhQWMyE3NTQ/AQMyNyU+ATURNCYjIQcGFREUFjI2PQEzFRQHHgEVFAYHBQQxsaM/Fz5JBf77apaWanEsSluWai4tAnQBkWqWbFb+rVyPm6MeJEIuGhQBUjE/AUBCLhoU/t4cEisQED8yFBIBYB4k6P12GBY1Sy0lAg79gDVLSzUCF+kub2xSSQFTKzZLNf7MiCRCXEIgOTRFLib+yoCNMTUFHnVFJgqW1JYRHINQapYR75Zq/WRYixVVFwLHR0oONyEuQgqaClAy/wAuQgqEDQgaFSUWMkAJoA43AxH4CEs1KEIOyEBLaktqxj8rZvwAE1ULRSwCnDVLfiEx/tguPkYu0NBGLAhRNSpIEY0AAAAAAgAA/wAIAAYAACQAYgAAATIWFwEWFREUBiMhIiY9ASUhIiY9ATQ2MyE3ISImJyY9ATQ2MwERNCcBJiMhIgYVFB4BFz4BMyEVISIGFRQXHgEzITMyFhUUDwEOASMhIgYdARQWMyEyFwUeAR0BFBYzITI2BH89biQCPHZwUP6AUHD+4v3eUHCpdwGkKv1SZJMIQXBQBsBd/cMnQPxBGiYDEBEKMx8DQPzAGiYDCEgtAoBbKDgFQAoyH/5FQl4mGgIxEA0BPRgdJhoBgBomBgA4Mfzzn8j+nVBwcFCxj3BQIHepgIdjT2cgUHD5wAFjnX8DDTQmGiAjLhQfJiAmGiwOLDo4KA8PwB0lXkIgGiYHng0uG8UaJiYAAAIAAP8AB4AGAAAyAHQAAAEiJicDJjU0JwMmNTQ2Nz4BMzIWFxsBPgEzMhYXHgEVFAcDPgUzMhYVFAYHAQYjAyIGBwMjAy4BIyIGFRQXEyMDLgEjIgYVFBcTHgEXEx4BMyEyNwE2NTQmIyIHBTU0GgE3NjU0JiMiBgcDIxM2NTQmActNeRNlDQV0B3xdEYNXU4IUU2cUglNZhQ5ceAd7CjcWMCIxGWmWOTL+BURVMSY9CaR/kQk9JjBAA4QaYwk+Ji9CA3QHBAhkCDQhArYqIgH7OEs0KyL+zUBIAwRALyc9CXQalgM//wBfSwGROTMtFgHdGx5diApVbGdR/qQBrFFnc1cKil0YI/4ABysQHgsLlGk+cCb+hDMGgDAm/VYCWiYwQi8PDf3dAZglM0IuDgz+Ihx0Hv5vICkaAXsrQzRJGubjBAEMASgNEgsvRDAm/h4CcA4OMEQABQAA/wAGgAYAADMAWwBfAGMAZwAAASIGFRkBJyYjIgYVFBcBFjMhMjY3EzY9ATQmIgYVIzU0JiMiBh0BIzU0JiMiBh0BIxE0JicyFh0BNjMyFzYzMhc2MzIWHQEUBwMOASMhIiYnASY1NDYzMhcRNDYTESMRIREjESERIxECgDVLlylCNEoaAYAmQALOFiMFXBg4UDggQDAuQiBKNjVLIEo2a5UWCmNKLzRxRxsdXoIcXBBoQv0yPG0k/oAzlWlHO5bqIAEgIAEgIAWASzX+AP6AyjZMNCsi/gAzGxUBcGBi2Sk8OCg9MENCLkBaN09LNWACOjdPgJtr3AJFFVcHh17ZdG3+kEBRNy8CAERWaZcjAiNqlvqAAYD+gAGA/oABgP6AAAUAAP8ABgAGAAAlADQASQBhAIIAAAEyFxYdARQHAw4BIyEiJjURAyY1NDYzMhYfATU0NjIWFRE2MzIWByIGDwIzMhYXEzY1NCYXIg4DBwMGFRQWMzI2NxM2NTQmARQXExU3NjsBNxE0JiIGFREjAy4BIyIGATI2NxM2PQEDDgEjIiYnBisBNTMyNjQmIyEiDwERFBYzBQg8L40XVRWLWP1kapbvEZZqUIMcEZbUlhsVRXW6ITcOSkc3MlAKmgpCrxYlFRoIDYQKQi4hNw6gCUD7QQj4Zis/xmpLaktAyA5CKDVLBBwsRQtVE40RSCo1UQgsRtDQLkY+Lv7YMSF+SzUDeRc/o7FeXP6tVmyWagGRAnQtLmqWW0oscWqWlmr++wVJNyQeo5s/MQFSFBouQocQECsSHP7eFBouQiQeAWASFDI/AWcWGP12RW8u6QIXNUtLNf2AAg4lLUv66zYrAVNJUlv+yiYuRTQ5IEJcQiSI/sw1SwAAAAACAAAAAAe1BAAAGQBHAAABFRQGIyERFAYrASImNREhIiY9ATQ2MyEyFgUTFgcGKwEiJicLAQYrASInCwEOASsBIicmNRM+ATsBMhcTFhc+ATcTNjsBMhYDWRMN/tYSDYcNE/7XDRMSDgMZDRMEDk0BCQoNhgwSAS69CBV4FAm8LQESDIcNCglOARIMjhQJ3AoKAw0E3QkUjQ0SA+B1DRL81A0TEg4DLBINdQ4SEwr8Pw0LChEMAkz+VxMTAav9sgwRCgoOA8EMERP9+BgbByMJAggTEQAAAAAEAAD/AAcABgAACQAqADoASgAAATQnJisBETMyNhcTFgcGKwEiJwMjERQGKwEiJjURNDYzITIXHgEVFAYHFgIgBAYCEBIWBCAkNhIQAiYAEAIGBCAkJgIQEjYkIAQWBBI8IVR7okJINM0ICQgTmBQIwpsSDoYOEhIOASaAPlViVUkGLf7U/vDFdXXFARABLAEQxXV1xQHajvD+tP6U/rTwjo7wAUwBbAFM8ANBWCES/udK2f6LEQ4QEQFt/qIOEhIOA8AOEhgfnGZckyQKAzZ1xf7w/tT+8MV1dcUBEAEsARDF/kv+lP608I6O8AFMAWwBTPCOjvAAAAQAAP8ABwAGAAAtAFsAawB7AAABMjc2LwEmJyYPAQ4FIyImNTQ2MzIWHwEWNzY/ATYnLgQjIgYVFBYhMjc2LwEmJyYPAQ4FIyImNTQ2MzIWHwEWNzY/ATYnLgQjIgYVFBYCIAQGAhASFgQgJDYSEAImACAEFhIQAgYEICQmAhASNgJdmWgOCy0GEhALBAQPFBseJRNMYmBKJUUQEAsPEAg1DQ8DECw1Ui2UxMIDDJloDgotCBEQCwQEDxQbHiUTTGJgSiVFEBALDxAINQ0PAxAsNVItk8XCJ/7U/vDFdXXFARABLAEQxXV1xf2kAWwBTPCOjvD+tP6U/rTwjo7wAS9oEhJSDQQCDQMEDA8ODAdkTUxjHA4OCwECDE4UEwQQHxkUwZCSv2gSElIOAwINAwQMDw4MB2RNTGMcDg4LAQIMThQTBBAfGRTBkJK/BDF1xf7w/tT+8MV1dcUBEAEsARDFARWO8P60/pT+tPCOjvABTAFsAUzwAAACAED/4AfABSAACwAXAAAJBBcHJwkBNwkDJzcXCQEHAQcBAuABgP6A/WACoKhgSP4gAeDB/t8CoAKg/WCoYEgB4P4gwQEhYP6AAuD+gP6AAqACoKhgSP4g/iDBAR8CoP1g/WCoYEgB4AHgwf7hYAGAAAAAAAMAAP8ABwAGAAALABcAJwAAJQkBBxcHCQEXNycJBTcnNwkBJwcAEAIGBCAkJgIQEjYkIAQWAs0BD/7pWMBg/ukBFyhXf/46AywBxv46/vEBF1jAYAEX/ukoVwNMjvD+tP6U/rTwjo7wAUwBbAFM8LYBDwEXWL9gARcBFyhXgP46/kIBxgHG/vH+6Vi/YP7p/ukoWAH5/pT+tPCOjvABTAFsAUzwjo7wAAoAAP/cCQAFJAALABMAHAAlAC8AOQBFAFMAWwCAAAABFAYjIiY1NDYzMhYkFAYiJjQ2MgU0JiIGFBYyNiQ0JiMiBhQWMiUUBiMiJjQ2MhYkFAYjIiY0NjMyABAAIyIOARQeATMyASYhIAcyHgIVND4CABAAIAAQACATIQ4BBxYVFAIEIyImJwYHLgEnDgEjIiQCNTQ3LgEnITYkMzIEAos3Jic3NycmNwSCN043N078J3GgcXGgcQSBcVBPcnGg/EWjc3SjpOajBIKjdHOjo3N0/N/+8b991Hx81H2/A6v+/tL+wf511JlbV5XOAlH+8v6C/vEBDwF+BAF/LD4Jbpr++JuF6FAvUgtVIFDphZv++JpuCT4sAW2VAZzi4AGKAhsnNzcnJjc3Ak43N042Xk9ycaBxcQGgcXGgccB0o6Tmo6MB5qOj5qP+KAF+AQ981frVfAQLb25bmtR1c9GYXv0HAX4BD/7x/oL+8QQEM38zl7qc/viZcGM4exZ5JWNxmQEInLqXM38zZHFwAAMAZP8ABJwGAAAJABMATAAAACAANTQAIAAVFAAiBhUUFjI2NTQBHgEOAgcGBxcBFhQPAQYiJyYnAQYiLwEmNDcBNyYnLgM2Nz4CFhceBDMyNj8BPgEeAQM8/oj+9gEKAXgBCv6WuIODuIMBLA0EDSgtJ3PISQELHh4MH1YfQ8j+9R9WHgwfHwELSMtyJy0oDQQNCiQwQCEFFEJIcDlbpiUmIUAwJAJ1AQq7vAEK/va8uwGbg11cg4NcXf2nGy0kKSEZSRVI/vUfVh4NHh5EyP70Hh4NHlYfAQtIFUkZISkkLRsUHg4SGgQOIxoWMxkZGhIOHgAEAAD/gAYABYAABwA2AD4ATgAAABQGIiY0NjIBLgEGBw4CIiYvAS4BBgcGFhcWFwcGBwYUHwEWMj8BFhcWMj8BNjQvAjY3PgECECYgBhAWIAERFAYjISImNRE0NjMhMhYDn12EXV2EATMKJDsfCiZ8gnYbGx87JAoWKENTjzOOMRYWCRY9Fr9yTRY9FgkWFr80jVRDKEe+/vS+vgEMAnqpd/xAd6mpdwPAd6kD/oRdXYRd/fYUGAUZCBgoJBISGQUYFC07LDUONI4wFj0WCRYWv3NMFhYJFj0WvjQONSw7ARIBDL6+/vS+Aej8QHepqXcDwHepqQAAAAIAAP+ABrgFgAASACgAAAEyFhURFAIGBCMiJCYCNRE0NjMBMjcBNjU0JiMiBwkBJiMiBhUUFwEWBh1BWojl/sGvsP7B5ohcQALBLyMBlCVFMS8j/r3+vSMuMUUkAZUhBYBbQf35sP7A5oeH5gFAsAIHQFz72CEBhCMyMUUh/soBNiFFMTMi/nwhAAAAAQAA/5gJAAVnAEwAAAUBBgAHBiY1JgAnLgIjNCY1IRUOAhcWABc2EjcmAicmJzUFFQ4BFx4BFzY3NiYnNjQ1Mj4BMxUOAQcDFhIXAS4CJzUFFwcGBwAHBdb+2Rn+9UEBNVL+pVYVW3QsAQJHJ1E0EBoBfS0f2hYT1h0mowIBPEMVIWwgbj8YRF8BQNWTEz5yIdUN5QcBuQ5HOxoBzAEBiz798iFnArcx/f+FAQEBwQMUyjJzVgUmCDICHDojO/yQZD0BmyonAeQ1RQIyAS8CLi5G70TWlTcxAgckBgEBMQI+Mv5GIf3+EQP5JjEOATIEAiwEjftASwAFAAD/AAcABgAACgAYAHIAggCSAAABFAYjIiY1NDYyFhcBDgQHAT4EJRQHLgIjIhUUFw4BBycmIyIGHwEGIyInPgI1NCMiDgEHLgEnNzY1NCYPASY1NDceAjMyNTQmLwE+ATcXFjMyNi8BNjMyFwYVFDMyNx4BFwcGFRQWPwEeARACJiQgBAYCEBIWBCAkNhIQAgYEICQmAhASNiQgBBYDtSEZGiYiMiYPAV4JdYaLXwP+owd4hIxeAopoAxwZBA07St2DEAEOBQYBEEhKx60BGBMNBhYXAnGeH0UKCwVEDm0CIRsEDRkUFE3ghA8CDQUGAQ9HP8yvJwwLJW+ZHzgKCwQ5DlV/1v7Y/rr+2NZ/f9YBKAFGASjW347w/rT+lP608I6O8AFMAWwBTPACgxomIRkaJiFTAkUIbXyCWwb9vAdue4NbPMmqAhIPDQoicJ0gQwoLBEQPaQIlHgQNHSgDS+GEDwMMBQYBD0hDzq0BFhAMBhMMDHCaHkMKCwVCDW04CQ1AS96CDAIOBQYBDUjnAUYBKNZ/f9b+2P66/tjWf3/WAoH+lP608I6O8AFMAWwBTPCOjvAAAAQAAP7zBwEGAgALABYAIgAqAAABNhcWFyUmBAcBNiQJARYENwMmJAI1ECUWEgIGBwYlATYCJyQyFhQGIiY0A33w0+h4/Rqg/vQz/uyAAW793QFRSAEWmubU/qbHBsQ6A2TOj+b+9AGVWAtl/jj6sbH6sQYAAnqG7icJp5IBqJ+t/mz9aY+UHf49IfkBf9wBCzeW/r/+3f1ThQ4Cb4MBP3YGsfqxsfoAAAH/+f8ABwIFyQBNAAABIAAnJgIaATcDPgEXPgE3DgEXHgMXFgYHDgIHFycGHgI3PgIXHgEHDgQnDgEnHgE+Ajc2LgEnHgEXNgInBAATFgIOAQQDh/7l/kVsOhJGmGcLC3INKu10NoMHGUszVQgPCxkFF1o4D4sSFTNQKTNeSSU9OQkBAw4WKRo8qX1KsaCVaxsrCEMtV2QbD5GJAQkBJgQCVaLY/un/AAEt+IMBVAFFAStd/ucOAxFRcgItzzwICwQEAQVRIwcXMAq9QytNOBsHCTMnAgQ6JAIHEg0IA19RCz0rH0lmNVvLriYmU0eqAVpvTf5r/sV//wDcrGMAAAACAAD/AAcABgAAIwA3AAABJiMiBAcOAQcVHgEXFgQzMjcGBCMiJyYkJgI1NBI2JDsBFgQBFAIHBiMiJzYSNTQCJzYzMhcWEgXVpcKb/uxmS1kEBFlLZgEUm8Klef7NqR0Or/7E5IaO8AFMtgOoATEBpJqIaHaJdprHxpp3h3drh5cFHG6Sf136jSqN+l1/km5seAEIlO4BRLG2AUzwjgF3/PjA/qt+P1Q4AWLk4wFiOVNBff6sAAAABAAA/xAHAAXwACsANQA/AEYAAAEUByEUFjMyNjchDgEEIyInBiMiETQ3NjcSJQYDEgAhMhc2MzIeAhUUBxYDNCYjIgceARc2ARQWMzI3LgEnBgEhLgEjIgYHAAf7gduUY60yAac45f7OqLup5KbtLRFcxwEUuPM/AbkBGR4P/7JAaFUwS2VGalRsknnLRTP5xmFWc5d6ty5iAfgC2AXYj5DXAlc4MJLFXVSf9IVTdAEHc6A8qQFo9k/+7QESAV8BdRo3YkJ0qrYBsFNiRi+pb4f7fFZdU0jehs0CSo6+vgACAAD/gAeABYAADwAzAAABETQmIyEiBhURFBYzITI2ExEUBiMhFSEyFh0BFAYjISImPQE0NjMhNSEiJjURNDYzITIWBwATDfnADRMTDQZADROAXkL9IAFgDhISDvzADhISDgFg/SBCXl5CBkBCXgEgA8ANExMN/EANExMDzfxAQl6AEg5ADhISDkAOEoBeQgPAQl5eAAAAAAIAFv+ABuoFgAAXAD4AABMzBgcOAx4BFxYXFhcWFyEiJjURNDYpATIWFREUBisBNgMFDgMHBicuAicuATY3PgE3Nh4DFyUmisVGOCQuDgMYEhMEAjMeOV/+8DBERAToATQwREQwstQQ/isCFCpNN3tMICo9IiMVChIUVTwtTTkzIxEB1EQFgEBVOHaFa51fWRMJ7luraEQwBRgwREQw+ugwRNIBY2UtSkYxDBpCG0S+o6PITiYpQA0MCxcvMSBkrwAAAAAEAAr/AAWMBgAAJQBGAKsAxQAABQcGBwYjIicmJyYnJicmNzYXFhUWFxYXFhcWMzI3Nj8BNhcWFxYBBxcWBwYjIi8BBwYjIi8BJjU0PwEnJjc2MzIfATc2FxYFFAcGBw4BIiYnJicmNSMmNzYXFhczETU2NzYzMhYVFAYjIicmNzYfAR4BMzI2NTQnJiMiBwYVERYzMj4CNTQnJiMiBwYPAQ4CJy4BNRE0NjMhMhQjIREzPgE3NjMyFhcWFxYDFhQGBwYjIicmJyYjIgcGJyY3Njc2MzIXFgV5BnGSmqOlmJRvcT4qDAQ0MwUBEhwyZmKAhJCPhYBhBgoPDBUk/hVCPxUcEQ8KCT5CBQoPEAISCEJCEB4SDQYHQUESHhsBxy4tUVDW8tZQUisPAQk0MgolPAEDY2mUk9DRkjo2HA8QHA4OJgtokEhHaGtHQG6EYLKGSY2Mx8iMNRgCCAohFhUfFREDbR4e/NUBKHwubXp51lBRLS4fCQsLGg0JB2plgJSFgRsSCQEDDYKppJiJCwZxPkBAP3BwkmdWHAgIHAEDWkV8ZmI2ODg3YQYKBAMTJQJSQj8VHBEKPUIFEAIPDgcKQUIQHRIFQkERHhtKdm5pUVBcXFBSaCEHGxEQHGNEAVMCiGBnzpKT0BALMjMIAwMGj2dlRkdQSFj+Y0NJhrBfxo2MjDUiAgsJCggFFw8CqA8Xbv4dKlQTLlxQUWlwAdAIFBANGgdbKjgxCi8ZDRAEOUA6AAAEABv/AAbpBgAAGwA+AHQAggAAJTYWFAcOBCMiLgMnLgE+ARYXFhcEJTYlFgYHBgcGJjc+AScuAw4CIw4DKgIuAScmNjc2FgEUHgIfAQcuAS8BJicOAy4CNTQ+BTc1NCcmIyIOAwclND4DMzIeAxUBFBcWNzY3Nj0BDgMGDw8WDw0+gZnfdnfutKVkIggEBgoNBcBsAYUBmr4BmAsRFCIzERIJFS8RBRUhGiwTKwEGDggJBQYDAwEBBmoyLnz+hBslJg4N4yhOExMLDiZ3iJCDaD44WH14jGMyFSJXBhU8NDwS/tosWn6xZmSiYUEZ/WBGQklUHg47aG1BPAYGHRMQN1FDMT5bdV0pCQ8JBQEEdTGwVijSEGsxUykOChMtmRYHCQMCAgIEAQEBAQECAhAwBgcMAakfQjIqCwvgJU0UFAsWO1coBjBTj1tUjF1JKRwJAn9BIDUCFiVSNxs8dmxSMTJJXU8i/Z5WLywWGWItOKICFC9fAAAABQAA/wAGgAYAACMAMwBDAEcAawAAATIWFREUBiMhIiY1ETQ2OwE1NDY7ATIWHQEhNTQ2OwEyFh0BJREUFjsBMjY1ETQmKwEiBgURFBY7ATI2NRE0JisBIgYBESERATMyFh0BFAYrARUUBisBIiY9ASMiJj0BNDY7ATU0NjsBMhYVBgA0TEw0+oA0TEw0gF5CQEJeAYBeQkBCXv8AEg5ADhISDkAOEv0AEg5ADhISDkAOEgSA+oADAOAOEhIO4BIOQA4S4A4SEg7gEg5ADhIFAEw0+wA0TEw0BQA0TGBCXl5CYGBCXl5CYGD+4A4SEg4BIA4SEg7+4A4SEg4BIA4SEvoSBAD8AAJAEg5ADhLgDhISDuASDkAOEuAOEhIOAAAABQAA/wAGgAYAAA8AEwAjADMAVwAAARUUBiMhIiY9ATQ2MyEyFgEhESElETQmKwEiBhURFBY7ATI2JRE0JisBIgYVERQWOwEyNiURFAYjISImNRE0NjsBNTQ2OwEyFh0BITU0NjsBMhYdATMyFgSAEg79wA4SEg4CQA4S/AAFgPqAAYASDkAOEhIOQA4SAwASDkAOEhIOQA4SAYBMNPqANExMNIBeQkBCXgGAXkJAQl6ANEwBoEAOEhIOQA4SEv3SBADAASAOEhIO/uAOEhIOASAOEhIO/uAOEhJO+wA0TEw0BQA0TGBCXl5CYGBCXl5CYEwAAAUAAP8ABoAGAAAjACcANwBHAGsAACUHBiIvAQcGIi8BJjQ/AScmND8BNjIfATc2Mh8BFhQPARcWFAEhESElETQmKwEiBhURFBY7ATI2JRE0JisBIgYVERQWOwEyNiURFAYjISImNRE0NjsBNTQ2OwEyFh0BITU0NjsBMhYdATMyFgRXLgkaCry8ChoJLgkJvb0JCS4JGgq8vAoaCS4JCby8CfwgBYD6gAGAEg5ADhISDkAOEgMAEg5ADhISDkAOEgGATDT6gDRMTDSAXkJAQl4BgF5CQEJegDRMly4JCb29CQkuCRoKvLwKGgkuCQm8vAkJLgkaCry8Chr+4AQAwAEgDhISDv7gDhISDgEgDhISDv7gDhISTvsANExMNAUANExgQl5eQmBgQl5eQmBMAAAFAAD/AAaABgAAFAAYACgAOABcAAAJAQYiJwEmND8BNjIfAQE2Mh8BFhQBIREhJRE0JisBIgYVERQWOwEyNiURNCYrASIGFREUFjsBMjYlERQGIyEiJjURNDY7ATU0NjsBMhYdASE1NDY7ATIWHQEzMhYFF/4AChoK/uAJCS4JGgrcAbwKGgkuCftgBYD6gAGAEg5ADhISDkAOEgMAEg5ADhISDkAOEgGATDT6gDRMTDSAXkJAQl4BgF5CQEJegDRMAjz+AAkJASAKGgkuCQncAbwJCS4JGv06BADAASAOEhIO/uAOEhIOASAOEhIO/uAOEhJO+wA0TEw0BQA0TGBCXl5CYGBCXl5CYEwAAQAA/wAHAAYAAB0AAAEyFhURATYzMhYVEQE2MzIWFREUBiMhIiY1ETQ2MwHAGiYCGBEXGiYCGBEXGiYmGvmAGiYmGgYAJhr8hQGtDiYa/oUBrQ4mGvuAGiYmGgaAGiYAAwAA/wAEAAYAAAsAEwAjAAAAMjcRFAYrASImNRECIAAQACAAECUyNjQmIyIGFRQWMjY1NDYBvoQ+JhqAGiZUAagBLP7U/lj+1AIADhISDpLOEhwSqQHAD/1xGiYmGgKPBDH+1P5Y/tQBLAGoTBIcEs6SDhISDnepAAAAAAMAJf8ABtsGAAAbACUAOwAAARYUDwEGIyEiJjURNDYzITU0NjsBMhYdASEyFwEhERQGKwEiJjUBMhYVERQGIyEiLwEmND8BNjMhNSEVBtEKCo0cKPrAGiYmGgJAJhqAGiYCACgc/LwBACYagBomA0AaJiYa+sAoHI0KCo0cKAIAAQAE1woaCo0cJhoBABomQBomJhpAHPvc/gAaJiYaA8AmGv8AGiYcjQoaCo0cwMAABAAA/voIAAYIABsAHwAjACcAAAEWFREUBgcBBiclBQYjIicmNRE0NjcBNhcFJTYFEQURJRElEQERBREH5BwWEv2AGBj9mP2YCg4TERwWEgKAGBgCaAJoIPsYAkD7YAIgBOD94AX1FCH6gBQgB/8ACwv29gULFCEFgBQgBwEACwv29g2a+wrmBPYN+wrZBPb6/QT22fsKAAADAAD/AAcABgAAEQAjADUAAAEyFhURFAcBBiMiJjURNDcBNiEyFhURFAcBBiMiJjURNDcBNiEyFwEWFREUBiMiJwEmNRE0NgIADRMR/iAHCA0TEQHgBwToDRMR/iAHCA0TEQHgB/uoCAYCABITDQgG/gASEwYAEw36QBQI/wAEEw0FwBQIAQAEEw36QBQI/wAEEw0FwBQIAQAEA/8AChP6QA0TAwEAChMFwA0TAAAAAAQAAP8fBwAFAAAHAA8AFwA4AAAANCYiBhQWMiQ0JiIGFBYyJDQmIgYUFjIAEAIEIyInBgUGBwYmJyY3Pgc3LgE1NBIkIAQCgEtqS0tqActLaktLagHLS2pLS2oBy/D+ZPRuZa3++jQiDBQDBBgFJQ4hDxoODwWSp/ABnAHoAZwCS2pLS2pLS2pLS2pLS2pLS2pLAS7+pP7ZqxKtOAoDAQ4LDxYFIQ4lGjAwQyda/Y+uASerqwAAAAAFAAD/AAcABQAABwAPABcALgBXAAAAFAYiJjQ2MgQUBiImNDYyBBQGIiY0NjICIAQGFRQWHwEHBgc2PwEXFjMyJDYQJgEUAgQjIicGBQYHIyImJzUmNiY+Ajc+BTcmAjU0PgEkIAQeAQKAS2pLS2oBy0tqS0tqActLaktLaun+aP6d0Y+CVxsYLph7KzlFPcwBY9HRAVHw/mT0RkvG/voxQQUPGAQDBQEKAgwCBzAVKRgeC521jvABTAFsAUzwjgK1aktLaktLaktLaktLaktLaksBgIvsiXDLSjJgW1E/bCYGCIvsARLs/ouu/tmrCK9DDggVEQEEEAQPAw4CCDUXOC5IKFkBBpaC7axlZaztAAQAAP8JBAAF9wADAAYACgANAAAJAREJAREBGQEBEQkBEQIAAgD+AP4AAgD+AAIAAgABWQEn/bH+2AN3/bEBKASe/bH+2AJP/tkBJ/2xAAAAAQBS/8AGvAVLACQAAAEGAQAjIgMmAwIjIgcnPgE3Njc2FhcSFxYzMjc2NzYjIgcSBRYGrQr+vv6z5Y5iLFhIVRJtTRioLpxVX3QXLBY3QTNnZQgNejlAeAFT+wP67P5h/lEBB6ABQgEGTGIVlyiKCAmBi/7hVvmhoVWLGgGJCwgAAAAAAgAA/4AGAAWAAAMACgAAESERIQEDEyETAwEGAPoABD3d3f2G3d0BPQWA+gABpQJ3ASn+1/2J/tAAAAAABAAA/4AGAAWAAAMAEgBBAFUAABEhESEBBxcHFzcXNyc3JyMnIwcFMhYHNzQuAiMiBh0BIxUzMhURFAYPARUhNScuAj4BNREzNyMiNzY9ATQ+AgE1Jy4BNDY1ESEHFxYVERQGDwEVBgD6AAOMDEsfGWtrGR9LDF81IDX+liAZAa4jQkgxhYRgTBQKDUkBwJUGBQIBAb8m5wYEBAMMGwJ2NgcFAv7tF1MXDA5GBYD6AATAIVNyGTk5GXJTIWBgoyAvFTdLJQ5zfUiACP6CDgwBB1hWDgEBBAQKBQGDgAYGA1AbGx0L/MNWCQEDAwwGAghlFgcU/o4OCQIJVgAABAAA/2QHAAYCAC8AOQBRAFsAAAEUBgcWFRQCBCAkAjU0Ny4BNTQ2MzIXNiUTPgEXBT4BMzIWFAYiJjUlAwQXNjMyFgEUFjI2NCYjIgYBNjQnJiIHDgEiJicmIgcGFBceAjI+ASYyNjU0JiMiBhQHADsyDNX+kP5Q/pHVCzM+dFNVPNoBKXQDGA4BcRJIKz5YWHxX/rJoASzbOlVTdPqiV3xYWD49WAMqCwsKHgspoKCgKQseCgsLK5deWF6XFnxXWD0+WAKyOl8ZLjKb/viZmQEImy8vGWE6UnU/mAoCCQ0QA1ElLVd8WFc+Sv4oCZc9df7nPlhYfFdY/mALHgsKCiooKCoKCgofCysyCQky+Fg+PVhXfAAAAAEARf8BBrsGAAAwAAATMz4DJDMyBBcWHQEhHgM+ATcRBgwBJyYCJyYSNw4BByE2LgQvAQ4DRQEQVZG+AQGU5wFub2j7mwFpqNPXyUlc/u3+oo299QID5NMwPBACewggPk9SRBYWh/nGmgLlfufLlVbTxrv/vG+jUiAaQzP+hzdKAjZJAWDE8gFUYjyDXk1+TTgaDwEBBU+ClwAAAAQAAP+ACQAFgAAJAA0AEQAbAAA1ESERFAYjISImARUhNSEVITUBMhYdASE1NDYzCQBeQvhAQl4CgAGA/QABAAZgQl73AF5CIAJg/aBCXl4BIoCAgIAEgF5C4OBCXgAAAAMAAP8ABrsGAAAfADAAOwAAJScOASMiLgE1ND4CMzIWFzcmJCMiBAYCEBIWBDMyJAkBBgAhIiQmAhASNiQzIAAXAyMVIxEzMh4BDgEGMNpK9Y2T+JBVkcdug+lM127+n8qh/trUfn7UASah1QFx/kACtXT+S/7utv608I6O8AFMtgEEAaV9nydgiCAtDAot9m94ipD4km7HkVV5bH2pwH7U/tr+vv7a1H7WAkb+oP3+2o7wAUwBbAFM8I7+9en+dKABYCg4OCgABAAg/wAG4AYAAAMABwALAA8AAAkBNyEBJxEBHwERCQIhAQWT/ZpcA1f6tbgEnxST/ewBXP4M/KkBZAM7AYKX/N50A1r9GWBf/KYBTwJ//N4COwAAAwAA/wAGgAXwAAsAFwB9AAABNTQrASIdARQ7ATIlNTQrASIdARQ7ATIFESERNCYiBhURIRE0OwEyHQEzETQ7ATIdATM1NDsBMh0BMzU0PgIWMxEmNTQ2MhYVFAcVNjMyFjMyNjMyHQEUBiMiJiMiBxUyNh4CHQEzNTQ7ATIdATM1NDsBMhURMzU0OwEyAoAQYBAQYBACABBgEBBgEAIA/YBwoHD9gBBgEIAQYBCAEGAQgAUMBxABICEsISAtJhVNEBE8BxBGGxJJEygyARAHDAWAEGAQgBBgEIAQYBACEOAQEOAQEOAQEOAQEP0QAUBQcHBQ/sAC8BAQcAJwEBBwcBAQcHAGBwMBAQGHDyMXICAXIw8RCg8PENIPDQ8MhQEBAwcGcHAQEHBwEBD9kHAQAAEAAAAACQAFgABqAAABFhQHBQYjIicmPQEhFhceBTsBNTQ2MyEyFhURFAYjISImPQEjIi4FJy4DIyEOASMiJjQ2MzIWFzMyPgI3PgY7AT4BMzIWFAYjIiYnIyIOBAcGByE1NDYXCPAQEP7ACAgJBxD8piUuEBEfFx8gEWASDgFADhISDv7ADhJgIDosLhwnEhMXHCwtGP6YFopYapaWaliKFmgYLSwcFxMSJxwuLDogaxViPlBwcFA+YhVrESAfFx8REC4lBFogEALbCCYIwAUEChKAOmslJD4gJBBgDhISDv7ADhISDmAUGzYmTCcpNTlJIlRsltSWbFQiSTk1KSdMJjYbFDlHcKBwRzkQJCA+JCVrOoASFAsAAAAAAwAA/wAHAAYAAAcAEQAhAAAAFAYrAREzMgAQJiMhETMRMzIAEAIGBCAkJgIQEjYkIAQWBH5POP39OAECt4P+T7T9ggKHjvD+tP6U/rTwjo7wAUwBbAFM8AM+cE4BDf73AQS4/IABDQFp/pT+tPCOjvABTAFsAUzwjo7wAAQAAP/ZCQAFJwAnADoATQBhAAABNCYnBgcOASMiJy4BNzY1NC4BIyIGBxYXFhQGIicmIyIGFBYzITI2NxQGIyEiJjU0Njc2JDMyABceARcUBwYjIicuATc2ECcmPgEWFxYkEAcGIyInLgE3NjU0JyY2NzYWFwZtRDUHEAcpGAwMHxwKF3rSe4biNmxQFixAF0tpapaWagQWT2+ZyY776qnwyJU+AT7D6wFbF3SZ+mEXKRgTGgwSR0cSDDQ/EmEBAIYXKRcTGg0SbGwSDRoaPhIBtjtfFS0vGBwDCjkeR0h70XqSeRxOF0AsFkuV1JVvTo7I76mZ5Ba45P7D5xm7ea+QIQ0RPxpoAQJoGj4kDRqORP4YxyINEj4apMLDoho/ERIMGwACACT/AAXcBgAACQBuAAAFFAYiJjU0NjIWJw4BFRQXBiMiLgU1ND4DMh4DFRQHHgEfATI2NTQuBCcmJy4DNTQ+AzMyHgMVFA4DIyIjKgEuBDUuAS8BIg4BFRQeAxceCAXcfrR/f7R+6XObIZLpbbh7YjYjDAkcLVNqUiwbCBccbCcoc5YSLTZeXUkcD3SOZykpW4bHenjIgVomHis2LBECBhMaNCQuHBQPWCUlRGMqCiZEfldMfV1JMCITCgINWX9/WVp/f78Pr3ZKQE4qQ1ZUUjMOEy9BMyQjLzsnDiIvGx4CAWZSGi0sJjItIg0HN1pyiV5OkINhOTRSamkzLkkrHQoKEiY2VzYQEwEBPk4lGCY2MDsdGTk2QDdGNkkzAAADAAD/gAYABYAADwAfACsAAAERNCYjISIGFREUFjMhMjYlETQmIyEiBhURFBYzITI2ABACBCAkAhASJCAEAsASDv8ADhISDgEADhIBwBIO/wAOEhIOAQAOEgGAzv6f/l7+n87OAWEBogFhAWACQA4SEg79wA4SEg4CQA4SEg79wA4SEgH//l7+n87OAWEBogFhzs4ABAAA/4AGAAWAAAsAFwAnADcAAAAgBBIQAgQgJAIQEgAgPgEQLgEgDgEQFiUiJjURNDY7ATIWFREUBiMhIiY1ETQ2OwEyFhURFAYjAi8BogFhzs7+n/5e/p/OzgGeASj6kpL6/tj6kpIB7g4SEg7ADhISDv3ADhISDsAOEhIOBYDO/p/+Xv6fzs4BYQGiAWH7rpL6ASj6kpL6/tj6ThIOAkAOEhIO/cAOEhIOAkAOEhIO/cAOEgAAAAIAAP+ABgAFgAAPABsAAAERNCYjISIGFREUFjMhMjYAEAIEICQCEBIkIAQEQBIO/cAOEhIOAkAOEgHAzv6f/l7+n87OAWEBogFhAWACQA4SEg79wA4SEgH//l7+n87OAWEBogFhzs4AAwAA/4AGAAWAAAsAFwAnAAAAIAQSEAIEICQCEBIAID4BEC4BIA4BEBY3IiY1ETQ2MyEyFhURFAYjAi8BogFhzs7+n/5e/p/OzgGeASj6kpL6/tj6kpJuDhISDgJADhISDgWAzv6f/l7+n87OAWEBogFh+66S+gEo+pKS+v7Y+k4SDgJADhISDv3ADhIAAAAAA//9/wAHAwYAAAsAJQA9AAAlExYHBiMhIicmNxMBEyETPgEzIRUUFjI2PQEhFRQWMjY9ASEyFiURFAYiJjURNCYiBhURFAYiJjURNDYgFgbdIwMTEx35gB0TEwMjBl1W+VRWAyQZAQBLaksBgEtqSwEAGST+gyY0JpbUliY0JuEBPuGA/sccFhUVFhwBOQNH/PkDBxghgDVLSzWAgDVLSzWAIaH/ABomJhoBAGqWlmr/ABomJhoBAJ/h4QAGAAD/AAgABgAAFQAjAC8AOwBJAG0AAAEyFhQGKwEDDgEjISImJwMjIiY0NjMBPgEnAy4BDgEXEx4BMyURNCYiBhURFBYyNiURNCYiBhURFBYyNiUTNi4BBgcDBhYXMzI2AQMjEz4BOwE0NjMhMhYVMzIWFxMjAy4BKwEUBiMhIiY1IyIGB4A1S0s1D3MISC77AC5ICHMPNUtLNQFlGiMCIAIpNCMCIAIlGQGgJjQmJjQmAYAmNCYmNCYBYCACIzQpAiACIxoFGSX7fl2EZROMWqcmGgGAGianWowTZYRdC0UtpyYa/oAaJqctRQMAS2pL/WouPDwuApZLakv84AIpGgGgGiMEKRr+YBkiQAGgGiYmGv5gGiYmGgGgGiYmGv5gGiYmFQGgGikEIxr+YBopAiIE2v5kAblYbxomJhpvWP5HAZwsOBomJho4AAIAHv+ABuIFgAADAE8AAAETIwMBBwYjIQMhMhcWDwEGIyEDBisBIicmNxMjAwYrASInJjcTISInJj8BNjMhEyEiJyY/ATYzIRM2OwEyFxYHAzMTNjsBMhcWBwMhMhcWA99A/kAD/jgHGP65QAE3DwoKBDgFGv65UQcY4BAKCQNO/lEHGOEPCgkDTv7JDwoJAzgHGAFHQP7JDwoKBDgFGgFHUQcZ4A8KCQNO/lEHGeAPCgkDTgE3DwoJAgABAP8AAfjgGP8ADA4O4Bj+uBgMDBABOP64GAwMEAE4DAwQ4BgBAAwODuAYAUgYDAwQ/sgBSBgMDBD+yAwMAAAAAAQAa/8ABZUGAAACAAUAEQAlAAABFwcRFwcDCQMRJwcJARc3ABACDgIiLgICEBI+AjIeAgNJlJWVlIMB0P7OATL+MP9dAUD+wF3/As9Ab6rB9sGqb0BAb6rB9sGqbwHjlJUDjJWU/GEB0AEyATIB0P2d/13+v/6/Xf8BcP5e/sfJfDExfMkBOQGiATnJfDExfMkAAAADACj/AAPYBgAAAgAFABEAACU3JxE3JxMJAREBJwkBNwERAQJUra2trSABZP3l/tdsAXT+jGwBKQIbcaysAW6srP3x/pz95ALH/thsAXUBdWz+2ALH/eQABQAA/4AGAAWAAAcADwAXACkAMQAAJDQmIgYUFjIANCYiBhQWMgAQBiAmEDYgExQHAQYrASImNTQ3ATY7ATIWBBAGICYQNiAFAExoTExo/UxMaExMaARM4f7C4eEBPoEN++ATIKAaJg0EIBMgoBom/WDh/sLh4QE+zGhMTGhMA0xoTExoTP4f/sLh4QE+4QLAFBL6gBomGhQSBYAaJrv+wuHhAT7hAAAABf/8/0cHBAW5AAYACgAQABcAHQAAEwkBLgE3EykBATEBEyETNjIBExYGBwkBMSETNjIXaAMY/JwSDgdlAc4ClP62/fDG/jLGCDIFMGUHDhL8nAMY/jLGCDIIAz78CQJ2DSsVATT8CQZb/ZwCZBf9hf7MFSsN/YoD9wJkFxcAAAAEAAD/IAcABeAAAwAPABMAMQAAATM1IwE1BgcGJicXHgE3MgEhNSEFFAcWFRQEIyImJwYiJw4BIyIkNTQ3JjU0EiQgBBIBgKCgA0Voi4f5YAFY+JSB/igCgP2ABIBjWf79uHrOOhNMEzrOerj+/Vlj8AGdAeYBnfACwOD91FwkAgFfS2BQYQEBfeDAu6Vmf53eaVgBAVhp3p1/ZqW70QFhzs7+nwAAAAAJAAD/gAYABYAAAwAHAAsADwATACgAKwAuAD4AAAEVIzU3FSM1ARUhNQEVITUlFSE1ARE0JisBAScHASMiBhURFBYzITI2ATchBTchBREUBiMhIiY1ETQ2MyEyFgID/Pz8A/L+qwFV/WACoP1gAycMCCD+htLS/oYgCAwMCATYCAz8qbn+agKL3f5qAuJWPvsoPlZWPgTYPlYCcYCA/39//gGAgAEAgID/f3/8pATYCAz/AKurAQAMCPsoCAwMBF6WlpYU+yg+VlY+BNg+VlYAAgAA/wAHAAYAAB8APQAAASYnJicmJyYGHwEeAxcWFx4EFxY3NicmJyYCAS4FAicgDAEeAw4BBwYVASMBDgIuAgOAaDiL0CIkWQonJz5lWDUsCQQsUHRzk0uZAQEyNRxNzP5STHFTOzouSycBEQHBATXpilIeBQ4NDQFDaP7nFotorJW6AtDEUsp0ExEoEB4fK2WEXlQRCFSKqoJ1IEIGAyIkFToBMv5+PIKdmNzGATKISHCxqOWq43dUVBf+uQEdAhgOAiBWAAAFAAD/AAcABgAALwA3AEcAVwBnAAAALgEHBCAlJg4BFhcWFw4CDwEGFhcWMzI/ATY3MxYfARYzMjc+AS8BLgInNjc2JDQmIgYUFjIEEAIGBCAkJgIQEjYkIAQWACAEBgIQEhYEICQ2EhACJgAQAgYEICQmAhASNiQgBBYFZAwtGv77/uj++xotDBsawm0CGxocCQoWGQkOLBAINhEqETYIECwOCRkWCgkcGhsCbcIa/rdLaktLagKLb73++/7i/vu9b2+9AQUBHgEFvf5L/sj+5M56es4BHAE4ARzOenrOAciO8P60/pT+tPCOjvABTAFsAUzwA1U0GwY+PgYbNC0GLgye3llHFRkwCgQpFIt4eIsUKQQKMBkVR1nengwuBqNqS0tqS3H+4v77vW9vvQEFAR4BBb1vb70BbHrO/uT+yP7kznp6zgEcATgBHM7+MP6U/rTwjo7wAUwBbAFM8I6O8AAAAAMARP8ABcAGAAAvADcASAAAABYHAw4BIyInLgE3EwcWFRQHJzY1NCYjIgcnNjcBJwcGLgE2PwE+ARcBFhcWDwElAiImNDYyFhQBMjcXBiMiLgE1NDcXBhUUFgV8RAUsBD0pBgMsOQMjjzeUiVvNkYZmiXikAQiVtSFYOgUg7xpEHgHoJAwRK80BcymUaGiUafzaalqLkr2U+5J0izzNAvZGL/3ZKjgBA0MsAa0IcX/YnIllhpHOXIpyGwEsV6EeBUJYHdUXBxL+5RUvQzLoFAGpaJRoaJT6vj2LdJL6lLyUi1htkc0AAAAEAAD/gAYABYAADwA+AE4AWgAAARUUBisBIiY9ATQ2OwEyFgEUDgIHDgIdARQGKwEiJj0BND4DNz4BNTQmIyIHBgcGIyIvAS4BNzYzMhYCIA4CEB4CID4CEC4BABACBCAkAhASJCAEA3ASDqAOEhIOoA4SAQAePSsmIB0XEg6gDhIVGzMfHTUsVzQ4Jx0zCRALCGwKBAd644Hb7v787atmZqvtAQTtq2ZmqwGRzv6f/l7+n87OAWEBogFhAVCgDhISDqAOEhIB4jJQOh4VEhQcDyAOEhIORCM7JCMQDRkkHyo7GxQ/DAZSBxoKwLMBQ2ar7f787atmZqvtAQTtq/63/l7+n87OAWEBogFhzs4AAAQAJ/70BVkGAAAJAD4ATwBgAAAAIiY1NDYyFhUUARQGJicBLgEPAQYfARMDBgcGBwYnLgE3NhsBBxcWDgIPAQYuAzUDEzYzMhcBFh8BBxYFHgEfARYXFgcGLgEnIyYnAwEWFRQHBi4BJyYBFjY/ATY1Aa6AXFyAWwGMPEMO/pEHDgQDBwt6AaFDGQ8NMjUdGQMCwwVVIwQKEhQHBxMfEQsELtMXWksgAagHBwMBB/5tK1sYGCQGCy8jPigJAQYCfAOTHwMJCxQGcv7LAwgDAwsEyVtBQFtbQEH9IzIjFhcBtgwHAgMIDYv+nv43wCoaBhoZDTwbEQJZAaCk3hgkEw0BAgMMFBgPAgErAX0iKP33BQwDAQ2mceA4N10gRhsWDCATEAkBX/6tMQgFAgULKQqsAekBBAICCQgAAAAH//oA4wkABBwAAgALACMAMQBLAGUAfwAAATMDBTQmKwERMzI2ARMUBisBIiY9ASEHBiMhIiY3ATYzITIWBBAGIyEiJjURNDYzITIBFA4DByM+Az8BNC4DJzMeAx8BFA4DByM+Az8BNC4DJzMeAx8BFA4DByM+Az8BNC4DJzMeAxcB+KsBA1hlYDY0W2z9wgETDtgOE/7dNwoS/vUVEw0CLAkSAUwOFAM7+8f+8g4UFA4BDMgBmAEPHD0rMyY5GhABAQEOGjgmKyk+HRECuQEPHD4rMyY5GhABAQEOGTgmKyk+HRECtgEPHD0rMyY4GhABAQEOGTgmKyk+HREBAh4BCaZXav58cgHK/QwOFBQOPlEPJBEC9Q4Uxv5+3BQOAvQOFP5kCyRrYXcrLXdpWxsbCB1bXIM7L3hnWRoaCyRrYXcrLXdpWxsbCB1bXIM7L3hnWRoaCyRrYXcrLXdpWxsbCB1bXIM7L3hnWRoABAAA/wAFgAXyAEoAXABtAIIAAAU0LgEnLgInJiMiBiMiJy4DJyY0Nz4DNzYzMhYzMjc+Ajc+AjU0JicmIyIHDgMHBgcOARAWFxYXFhcWFxYzMjc+ARMiJjQ3NjU0JyY0NjIXFhQHBhYiJyY0NzYQJyY0NjIXFhAHFiInJjQ3PgEQJicmNDYyFxYSEAIHAmkaJAIBCAkJDyQXXhgiDQYKBQgBJSUBCAUKBg0iGF4XJA8JCQgBAiQaVyAUGSJAOU8/HR8GAzEmJjE4Gz90AwNAIhkUIFefGiYTJSUTJjQTS0sVuDYSExNwcBMmNBOWlqM2EhMTWmFhWhMmNBNtdHRtmQteeAkELRsIDgsLBRUTHQSA/oAEHRMVBQsLDggbLQQJeF4LFj0MCBIRL1U3QwwHa9r+8tpreidbJAEBEggMPQOnJjUTJTU0JxM0JhNL1EsTtRMTNBNyATxyEzQmE5b+WJbIExM0E1vqAQDqWxM0JhNt/uj+zP7obQAAAAAUAAAAAAiABYAABwAPABcAHwAnAC8ANwA/AEcATwBXAF8AZwBvAHcAfwCHAI8AlwCfAAAAIgYUFjI2NCQiBhQWMjY0AiIGFBYyNjQAIgYUFjI2NCQiBhQWMjY0ACIGFBYyNjQkIgYUFjI2NAIiBhQWMjY0ABQGIiY0NjIEFAYiJjQ2MgAUBiImNDYyBBQGIiY0NjIAFAYiJjQ2MgAUBiImNDYyABQGIiY0NjIAFAYiJjQ2MgAUBiImNDYyBBQGIiY0NjIAFAYiJjQ2MgQUBiImNDYyAQKEXl6EXgGihF5ehF5ehF5ehF4CooReXoReAaKEXl6EXv2ihF5ehF4BooReXoReXoReXoRe+SBwoHBwoAJwcKBwcKD+cHCgcHCgAnBwoHBwoP5wcKBwcKAFcHCgcHCg/XBwoHBwoAVwcKBwcKD+cHCgcHCgAnBwoHBwoP5wcKBwcKACcHCgcHCgAWBehF5ehF5ehF5ehAJeXoReXoT+Xl6EXl6EXl6EXl6EAl5ehF5ehF5ehF5ehAJeXoReXoT8DqBwcKBwcKBwcKBwAZCgcHCgcHCgcHCgcAGQoHBwoHD7kKBwcKBwA5CgcHCgcPuQoHBwoHABkKBwcKBwcKBwcKBwAZCgcHCgcHCgcHCgcAAACQAA/wAHBQYDAAcADwATABsATABUAGkAewCMAAAWFAYiJjQ2MjYUBiImNDYyEwEHASQUBiImNDYyARQOAgcOAxUUBiMiJjQ2MzI2NTQ+Ajc+AjU0ACAAFRQGIiY1ND4CMh4CBBQGIiY0NjIlFAYiJjU0JiMiBhUUBiImNTQ2IBYlFgYHBiMiJicmJy4BNz4BFxYFFgYHBiMiJyYnLgE3PgEXFoAmNCYmNOYmNCYmNFMBAFr/AAGtJjQmJjQC6Rc0JCMfHSYP4Z8aJiYaapYXMyQiKCck/vn+jv75JjQmW5vV6tWbW/39JjQmJjQBRiY0JoNdXIQmNCbOASTOAYoKFhkJDhMhB0ScFQgQETQVtwElCRUZCwwsEFzNFgcQEDQV66Y0JiY0Jpo0JiY0JgEt/wBaAQCHNCYmNCYBADtjWC8pIyY+Qimf4SY0JpZqOWFVMCcuNGE3uQEH/vm5GiYmGnXVm1tbm9XbNCYmNCZAGiYmGl2Dg10aJiYaks7OjxkwCgQWE7J1EDQVFQgQiYUZMAoEKe6bEDQVFgcQrwAAAAAE//z/AAkEBgMAEQAjAGcAsAAAASYnLgEjIgYVFB8BFjMyNjc2JTQvASYjIgYHBgcWFx4BMzI2AQ4BJyYjIgcyNjMyFhcWBgcGIzIXHgEHDgErASYnJQcGIyInAyY2PwETNhI3Nh4BBgcGBzY3NhYXFgYHBgc2MzIXHgElExYGDwEDBgIHBiMiJyY2NzY3BgcGIyImJyY2NzY3BiMiJy4BNz4BFxYzMjciBiMiJicmNjc2MyInLgE3PgE7AhYXBTc2MzIECDsZET4lNUskCiIwJT4RGQJzJAoiMCU+ERk7OxkRPiU1S/5WEUwjPkgzMAMNA1ydKBEbJBIVFRIkGxEonVwGEBz+3u8ODygRoAsOFtGUEZV5H08yBx9GL3uQKD8EBTAoVEsuNXNnJBoDsaALDhbRlBGVeRojLR0ZBx9GL3uQBAgkNwQFMChUSy41c2ckGhIRTCM+SDMwAw0DXJ0oERskEhUVEiQbESidXAYBDhwBI+8ODygCQAI1IidLNTghCB8nIjWCOCEIHyciNQICNSInSwESIxoRHxEBZFMkSxEJCRFLJFNkAgIbeAcjAUAXMQ13AQubARFkGQc+Tho7RVQRBTAoKD8ECi0KMhJLfP7AFzENd/71m/7vZBYjH04aO0VUEQEwJCg/BAotCjISSyQjGhEfEQFkUyRLEQkJEUskU2QCAht4BwAAAAQAAP8ABwAGAAATAEQATgBcAAABFBYyNjU0JiAGFRQWMjY1NDYyFgIiDgIVFBYyNjU0ACAAFRQOAQcOAxUUBiMiBhQWMzI2NTQ+Ajc+AzU0LgEBFwEGIi8BJjQ3ARcWFA8DJic/ATYyBCAmNCbO/tzOJjQmhLiEaOrVm1smNCYBBwFyAQckJygiJDMXlmoaJiYan+EPJh0fIyQ0F1ub/cLi/b0MIgyoDAwGQKgMDOkaR0KBW88NIgLAGiYmGpLOzpIaJiYaXYODAeNbm9V1GiYmGrkBB/75uTdhNC4nMFVhOWqWJjQm4Z8pQj4mIykvWGM7ddWb/Yzi/b0MDKgMIgwGBqgMIg3pGUeZaVvPDAAAAwAA/4AGAAWAABQAWABoAAABFAcOAQcOAQcGIyImNTQ2NzYzMhYBNCYnJiMiByc+ATU0IyIHDgIVFBYzMhQHBgcOASMiNTQ+AzU0Jy4BIyIOARUUFjMyPgE3PgE3Njc2MzIXFjMyNhMRFAYjISImNRE0NjMhMhYDYg0LKQoCBQsUCzo0RkQcFxwRAeZODRUNW4cCAzHyGCxelUqhkxkBBBYOSy0qFR0eFgcYRR8jORlnV1KSWRUGEwUDC3ZtME8BAwUJuKl3/EB3qal3A8B3qQP9G0MyyDILAwECY0BYrCYOIf45DnsFCE0CFuJB6QYRkbxfkp4GAiJTNGIvGC8gGQ8BAwcWHURSIlhsapJQFlkWDAY8EgEJAg/8QHepqXcDwHepqQAAAAACACX/AAXaBf8AGQBlAAABNC4CIyIHBgIVFB4CMzIWPgI3NhI3NgEUBiMnLgIjIgcGBw4BBw4DIyImNTQ+ATMyFhcUDgMVFBYzMj4DNzU0JioBBiMiJjU0PgI3NjMgERQCBxc+ATMyFx4BAugEDR0XJydpbBEkRS8EHAwUCgIQQBATAvIPCAYWUEAfp7gPBgodCBdeg7Jgh58nVzYmpAEhLi4gISAtUDUrFgUHCgoKAeP6RXu9bjQ2AXZMBQNlo1YWHxN6BM8YHR8PFzr+94ksU04vAQEFDApNATVNW/2nBw0BAxAJXQgTJIsfW7GYXqeINYBpQxwBFycySCYhKD9ddmAqCQIDAfXibOLCjRMJ/phi/qIkAzk+DQe/AAP/+/8ABoMGCAA9AFIAhwAAATIfARYfARYHAw4BBw0BIyImNTQ2NyUhIiY3PgEzLQEuATc+ATsBBSUuATc+ATMyFwUXMhYzMjYvAS4BNzYHFy8CAy4BJyY2NzYWHwEOAQcGFgETFg8BBg8BNi8BJi8BJiMiBwMmNjc2FhcJASY2NzYWFxMDJjY3NhYXExceATYvASY2NzIWAz8gG949MZIoC0gGLyD98f6gCSc5NiYBBP5AKTkCAjwnAbr99ykyBgY5JQoB4f6hJjAGBjYjBg4BwNkBBAEXDxS6Iw4ZGxW62gUk7gEDARgLIB9KG44CBgEgEgOlDwQPMAw3agIpkjVA3iIqMyXrGQ4iIU0YAQr++hUVJSNLFPGIDxUiJU4RwWUIHhgBDAI4KSc4A18SlCg5qi48/mMgKwQ4IDgoJTYFIDwpJzQBQAVAKSMtPF4KPyUkLQJgJQEuDX0XUSEmyn0lAiYBBgEFAR9OGRcLHJMBBQItbAGn/vZJSts7HDY+L6o9KpQXJQE4IVEXFhAg/qABxyNQExIYIv5cAVEjThETGib+YcQPBRQQ4Ck8ATkAAAQAAP8eBwAFYgBSAF0AbQBwAAAlIicuAScmNTQ+Bjc2JSY1NDc2MzIfATYzIAAXFhQHDgEHFhUUBwYjIi8CATcGBxYaARUUBwYjIicBBgcWABUUIyImLwEDBgceARcTFCUXJBMCJR4BFRQGABQWMzIWFRQWMjY1NCYjIiUnFwFPAgRWpTkVBAQKBw4GEgK4AQxuEXQMEgp8XGQBCgHPkxQUW/+XbhF0CxMKfED+RAc6KQP47gkNOzkD/jgnKxgBfAsOiQRq4CwiAiAHsAM0MQERsbT+6UNIXv5uHBRWehwoHLJ+FAFSCQe0AjmwXB4nCRQQFAwWCBcD+3LGDRMKQBDlE/7t6B9MH47fQMYNFAlAEOV3AzQHGBcF/jb+SAMHAgMHA0kcKCv9QwQKLAbFAZ01NQMsDP65CmZbbwESARVwQKlcar0COygcelYUHBwUfrIRBAcAAAAABAAA/5cE/gVpAB8ALwA1AE8AAAEUBwYjIicmNTQ+ATMyFwYHJiMiBhUUFiA2NTQnNjcWJxQCDwEiJz4ENTQnFicVJiceARMiJzY3NjcOAQcmNTQ2NzY3PgE3FhUUBw4BBBqTlObokpOI8pNgViAHQk2n4+EBUuAgQjkpzJ+fDh0hU39ILQ8DNzdJhVht/VNN2kgTAirDayMiGi5vO14bShggcQGu15+hoZ/Xk/eSHz5AHPaoqu3tqllNDSRiS8D+zmQBBSCNqNKvW0UioKIC1uI7//65S3h/JRNekRk2OyVUGiweEFU6aZRtPU1rAAAABQAA/4AGAAWAABoAKQAuAEQAVAAAATQnBgcWFRQGIiY1NDYzMhc2NyYjIgYQFiA2AxYVFA4DBxY7ATYRNCcuAScWBTQnBgcOARUUFz4BNw4BBxYzMjY3NiURFAYjISImNRE0NjMhMhYEGhwpLBaa6JucczUtBBc8QZrPzwE0z7ICCh8yVzkVFQrbJgRQOlwBgTMpU0VQGEqFHQSNRDQ6M04VEQFJqXf8QHepqXcDwHepAe9ORRkJMkB1o6N1c6kTKywV2f7K1NUB/RgvP3iRc2EWA4sBEHRtULcnnClmSFYXE0VBKCURZEE0dyY0SjUq8PxAd6mpdwPAd6mpAAAAAAIAAP+ABgAFgABPAFsAAAE0Jy4BJyY1ND4CNTQmIyIGIyInNjU0Jy4BIyIHBhUUFwYjIiYjIgYVFB4CFRQHBgcGFRQXHgIzMjYzMh4CMzI+AjMyFjMyPgE3NgAQAgQgJAIQEiQgBAT/FkNmHQcnLyclFAwoCwQIBREkhlXHTBEFBAoMKAoVIycvJwdAhhaJAggPEAwzDiNALEcpK0grQCMOMw0QDggCiQEBzv6f/l7+n87OAWEBogFhAYQWBQ9YQBMGDxYMHRYTGRACXxNPI05XpSNPE18CDxgUFR0MFg8GE4odBRYuFgUqEwkeIx4eIx4IFCgFFgH7/l7+n87OAWEBogFhzs4AAAEAD/+ABnEFgQBbAAABNhYXFhUUBxYzMjYzMhYVFA4CFRQXHgEXFhcWFRQHDgIjIiYjIgcOBCMiLgMnJiMiBiMiLgEnJjU0NzY3PgE3NjU0LgI1NDYzMhYzMjcmNTQ3PgEDUIbVORsJDg4SQhIdNj9LPwwlg08cNBzbBwgUFxRUFiUZID42Plo2NFk9Nj4fGiUYUxEZFAgH2xw0HE6FJAw/TD80HQ9CFBIOCRtA2AWAAYt7OnkvkAcbJBwgLBMnHA8cUoghDAsGHUYhCzglDQUFIykoGxsoKSMFBQ8lOgshRh0GCwwgilEcDxwnFCsfGyUaB44wejqJegAAAAIAAP+ABgAFgABPAF8AAAE0Jy4BJyY1ND4CNTQmIyIGIyInNjU0Jy4BIyIHBhUUFwYjIiYjIgYVFB4CFRQHBgcGFRQXHgIzMjYzMh4CMzI+AjMyFjMyPgE3NgERFAYjISImNRE0NjMhMhYFABZDZh0HJy4nJRQLKAwECAURJIVWxk0SBgoFCykKFCMnLicHQIYWigIIDhANMw0jQSxHKStIK0EjDTQNDw8IAYoBAKl3/EB3qal3A8B3qQGEFgUOWEEOCw8WDB0WExkQAj80TiROV6UmTSZMAhAZFBUdDBYPCw6KHQUWLxYFKhMKHiMeHiMeCRMrAxYDC/xAd6mpdwPAd6mpAAAAAAEAAP9/CQAGAABPAAABDgUHDgEHDgMHBgckBQYHPgE/AT4DNzYFMhceAQcDBicmIyIEBwYuAi8BNDU0MzI3EgAzMh4FFzc+BDc+AwkARXBCNRYWAwozFw9GQVAIL2j+q/7fXNMvThAPR7hThUy6ARcBCQsGBsIPIIDikv4AiFKGUCoMAQaK6cABbckFEzk1Rjg0DmYCJjNHYTRCfHdCBgAuXEZJKi8GEu0uHT8mLAYfyA6sNX4QHgcHG0sgJQ0fJgMGFgv+px0HGFkCARwuIhEBAQEGNwFuATwBCQ8iLUkusQRNYHuQQVJ3SiEABQAA/wAGAAYAAEYAWABeAGQAagAAARQHJxcGBycXBgcnFwYHJxcGIic3ByYnNwcmJzcHJic3ByY1NDcXJzY3Fyc2NxcnNjcXJzYzMhcHNxYXBzcWFwc3FhcHNxYXNAIkIyIOAhUUHgIzMiQSExEJAREBEQERCQERAREJAREBBSoF7OATJ9axLD+dZz1PTw4mTCYOTkpCZ507MbLWJxPg7QUF7uETJ9axLj2eZ0NJTQ0kJyYmDk5KQmeePS6x1SUV4O0FHp3+85532J1cXJ3Yd54BDZ1J/W/9bwKRAsT9PP08BcT9AP0AAwACgC0fDk5JRGeePS+y1yUW5PAGBu7iEyjXsitBnmhFSE8OKiIjKg5PSUNonz0vstcnE+DsBgbt4RMo1rIvPZ9oPk9ODh8uoAEPnV2d2nh32p1dnQEPAh79Av6BAX8C/gF/+csBnAM3AZv+ZfzJA1v8gP5AAcADgAHAAAADAAD/AAaABgAAFAApADYAAAEhByEiBhURFBYXFjMVIyImNRE0NiUzAQ4GBzU2NzY1NCcBMxMBESE2NyERNCYnNx4BAVMCsxr9Z26deV0XSy2Mx8cD3/f+HhcjNzVMU2w+ozkUFP7j5LsDVvzlJQgCpmNQGWV9BSZInm78/V+VEwVIyIwDA4zI2vryPVVvTFExIQLDGpw0NTY0At39twHy+6k3EgQOVYwdQyKzAAAAAAoAAP8ABwAGAAAHABQAIQAtADkAWwBuAHgAkADnAAAAFAYiJjQ2MgM1NCYiBh0BFBYzMjY3NTQmIgYdARQWMzI2NzU0JiIGHQEUFjI2NzU0JiIGHQEUFjI2AQYEIyIuAjU0NwYVFBIXNjMyFzYzMhc2Mhc2MzIWFzYSJzQjIgcGIyI1NDcGFRQWMzI3NgE0JiIGFRQWMjYBNC4BIyIGBwYVFBYzMjc2MzIWFRQHPgEFFAIHBgQPARUUBiMiJwYiJwYjIicGIyImNQYjIic2NyYnFjMyNyYnJjU0PgMzMhc2Nz4BNz4CNz4BMzIXNjMyFxYVFA4CBx4BFRQHFhc2MzIXFgNUIjgiIjiCKTwoKR0eKawoPCkpHh0prik8KSk8Ka4pPCkpPCkBDFT+2K971ZBSFWiCeB49OB4gNzgeIG4gHjgcMQ1wgo5IER5fNuIeU7KSb2MN/kZAYkA/ZD8CdUuXYk2QNzBbZjVZJBEzNQRLVQEXQzw6/u5bBDsrOB4gbiAeODcgHjgvOFpsdl02NHFFICdZS8AwGBItQWxCOxYTFwIUAwoaGBBX+YgjGztXUzkFDA0TAREmEJ0oGSMtN1oE6DovLzov+lRyHisrHnIeLCwech4rKx5yHiwsHnIeKysech4sLB5yHisrHnIeLCwCyqDHZ6vgeFhWr9ei/tRlOTIyMjIyMh8ZXgETs0sGE/NWdn+Ult1GMAKyMk9PMjNPT/7gYKZsRjufbWhqEwY4NBoURMNyb/7rQkCdGgFyK0AyMjIyMjJDMERQARMfYAcuwHI4aDmJnH5UNB0ZAxQGDy4mFG+EBEA5BQcFEQ8TAQYYDAYTivAeMVAAAAMAAP+ABgAFgAAZACUAMQAAATQnIRUzDgEjIiY0NjMyFzcmIyIGEBYzMjYlMzUjNSMVIxUzFTMAEAIEICQCEBIkIAQDlQb+ltkMfVBjjIxjXTxobJWg4OCgpcsBWW1tbm5ubgESzv6f/l7+n87OAWEBogFhAnchH4RMWY/GjztlZOH+wuHSd25ubm5uAXb+Xv6fzs4BYQGiAWHOzgAAAAABACX/AAYABgAAJwAAAREUBwYjIiQjIgcRIxEuATU0NjIWFRQGBxU2MzIXHgEzMjc+ATMyFgYAMa6kSf7jVaTOoD9MgLaATD++mWNjDsM0TVgLihQaJgQA/LkwDjQ7MP6uBVgZcERbgIBbRHAZRCwPAikSAiYmAAAFAAD/TAkABQAABQA5AFYAXACUAAASMjYmIgYFLgUnBwYmJyY2PwEuAgYjIg8BIxEyNh4DFwEWMzI3FjY3Fjc+AScWMzI+ASYXMxEjJyYrASIPAQYUFx4BPwE2HgEHHgEXHgEXFgQyNiYiBgERFAYjIQ4BBw4BBw4BJw4BLgEnASEiJjURNDYzIT4GOwEyFzY7ATIeBhchMhaYUCAgUCAGCQo5GjIjLhZ9U/tQOQE6sRY6JUwLXEKemwUgDBsOFQgBKXNwTi85bxFKNRQgAgohK0QfB4RgXZ1CZ6dZOdEcGyuGLMEZOSUKEFAUHWsLNAEAUCAgUCABCCYa/k4bbkYhXzcqfUI8hHtvMP7h/poaJiYaAaUOQh07KjxAJHVjUlJjpyNAMTYjMxs3DgFjGiYBgEBAQAYNSiJAKjQXjF4EYEWyRM4LCwECQp794AEBAwYLCP7cby8UODkGMhI3FwoqQE8YAgC0TEPzIVQhMwIy2hcDMx8TWBgkiw9CSkBAQAIA/YAaJkFTCjBDDDU5BCILJ0QvARomGgKgGiYORBw0FxwLODgMESQaNR9BECYAAAACAAD/AAcABgAAJQBPAAABERQGIyEiJjURNDc+Bjc+AzIeAhceBhcWASQ3PgEvAS4BBwYHDgMiLgInJicmBg8BBhYXFgUeBDI+AwcAXkL6QEJeCwg+FUZGeqVuBV8wUDpQMlwGbqV6RkYVPggL/cwBB1ILAwgmCBoL53AFXjFQOlAxXgW6nQsaCCYIAwtSAQcKUDJOTUpNUTBSA3L8LkJeXkID0g8JBzcROjVdeVAESCElJSJGBVB5XTU6ETcHCf2ovz0IGQs0CwMIqVEDSCElJSFIA4Z0CAMLNAsZCD2/CDwiLRYWLyA/AAAAAAMAAP8ABwAGAAAxAFAAcAAAARcWBgcOAgcOAysCIi4CJy4CJy4BPwE+ARcWFx4DOwIyPgI3JDc2FhMRJicmJS4DKwIiDgIHDgIHBgcRFBYzITI2ExEUBiMhIiY1ETQ3NgA3PgM7AjIeAhceAhcWBcInCAMKK6d+BCcqT0olAQElSk4sJgV4pycLAwglCBsLXtQFTSxFGAEBGEUsTQUBAjcLGsZaRVv+1gNQKkYYAQEYRipQA9fJOjUOBxMNBcANE4BeQvpAQl4pewHGBiQuTUslAQElS00uJCvi4lgpAm8zCxkIIoFhAyAgMhcXMiEfBF2BHggZCzQLBAlJowQ+HyIiHz4ExiwIA/0mA6BTOErmAkIeIyMeQgKmnzEyDAf8YA0TEwOt/GBCXl5CA6A4JnIBYQUeIzEYGDEjHiSstlImAAAAAAsAE/8ABewGAAADAAcACwAPABoAHgAiACYALgAyAHYAACUXLwEBJScFARcDJwElAwUBFy8BFBYGDwEXFgEFAyUBNwcXASUDBQE3JwcXFg8BJTcPAicHFA8BBi8BFxQHBQYjJjUnJgMmPwEmJwMmPwEmJwMmNyUyFwUWFRMUDwEXFhUXNzYfATc0PwE2HwEeAQ4BFRQPAQYBSsoi2AESARIL/tT+7uMw9QE8AT0O/qABjV8CZwICBE5VB/0/AQBE/ukEZg/mAv3hAXUT/lkDmhTiApAGAgcBAh6zFBNHCATqBwdiBwT+2wQCCOQENwIHPV4BSAIIXoUCYAIJAbEFAwE9BhQGdn4FBXkFBlQDBc4GBfUEAg8UBL8GAdbs1f4z2vXXAYbVAUfM/eLWAUTI/qNQ708BDwkDNEYGAp7IAdGt+7PqpPACccIBuaP8u+mOaV8EBXdc3oDkITF1BQO7BQVToQUD6gICAfIEAREHBCVWBgFfBwUtZAgB0goDhwGZBAX+MQcDPVUCBntKBAQ4bgYDfgMDhwQGcocDBQKZBQAAAwAA/wAGgAYAAB0AJwBVAAABNC4DIw4EIi4DJyIOAxUUFjMhMjYDNCYiBhUUFjI2ARUUBisBFRQGIyEiJjURNDYzITIWHQEzMhYdARQGKwEVMzIWHQEUBisBFTMyFgSxCx8wUDMGNx4zLy4vMx43BjNQMB8LVD0CQD1UrZnWmZnWmQJ8Eg5gXkL7QEJeXkIEwEJeYA4SEg5gYA4SEg5gYA4SASo5ZGVHLQQhEBgKChgQIQQtR2VkOUlhYQKbbJiYbGuYmP5PwA4S4EJeXkIFwEJeXkLgEg7ADhKAEg7ADhKAEgAABAAA/wAGgAYAAAkAKwBZAGkAAAEUBiImNTQ2MhYDMh4EFRQGIyEiJjU0PgM7AR4FMj4EARQGKwEVMzIWHQEUBisBFTMyFh0BFAYrARUUBiMhIiY1ETQ2MyEyFh0BMzIWFQERNCYjISIGFREUFjMhMjYEBJnWmZnWmTAuSS8gEAdPQv3AQk8JHC1RNQUHMhUtHSkmKR0tFTICsxMNYGANExMNYGANExMNYF5C+0BCXl5CBMBCXmANE/8AEw37QA0TEw0EwA0TA3xrmJhrbJiY/rgiPUlZTClDZ2dDMFtqTTQEHwsXCQkJCRcLHwEEDROAEw3ADROAEw3ADRPgQl5eQgXAQl5eQuATDftABcANExMN+kANExMAAAYAAP+ACAAFgAAZACEAMQBBAFEAdQAAADQuAiMOBCIuAyciDgIUFjMhMgI0JiIGFBYyATU0JiMhIgYdARQWMyEyNhE1NCYjISIGHQEUFjMhMjYRNTQmIyEiBh0BFBYzITI2AREUBiMhNTQmKwEiBh0BITU0JisBIgYdASEiJjURNDYzITIWBAASKVA5BjAbLCoqKiwbMAY5UCkSSjYCADZThbyFhbwEIhIO/cAOEhIOAkAOEhUP/cgPFRUPAjgPFRIO/cAOEhIOAkAOEgEAXkL+oBIOQA4S/QASDkAOEv6gQl5eQgbAQl4BVYBrYzkEHA8UCQkUDxwEOWNrgFUCP7yFhbyF/uZADhISDkAOEhIBEjgPFRUPOA8VFQELQA4SEg5ADhISAU77QEJeYA4SEg5gYA4SEg5gXkIEwEJeXgAABwAA/4AIAAWAABkAIQAxAEEAUQB1AIUAAAAUBiMhIiY0PgIzHgQyPgM3Mh4BAhQGIiY0NjIBFRQGIyEiJj0BNDYzITIWNRUUBiMhIiY9ATQ2MyEyFjUVFAYjISImPQE0NjMhMhYTETQmIyEiBhURFBYzITU0NjsBMhYdASE1NDY7ATIWHQEhMjYTERQGIyEiJjURNDYzITIWBABKNv4ANkoSKVA5BjAbLCoqKiwbMAY5UCmLhbyFhbwEIhIO/cAOEhIOAkAOEhUP/cgPFRUPAjgPFRIO/cAOEhIOAkAOEoATDflADRMTDQFgEg5ADhIDABIOQA4SAWANE4BeQvlAQl5eQgbAQl4B1YBVVYBrYzkEHA8UCQkUDxwEOWMBu7yFhbyF/WBADhISDkAOEhLuOA8VFQ84DxUV9UAOEhIOQA4SEvwyBMANExMN+0ANE2AOEhIOYGAOEhIOYBMEzftAQl5eQgTAQl5eAAAAAAMAAP8ABwAGAAAPABcAKAAAJS4BJw4BIiYnDgEHFgQgJAIQJiAGEBYgABACBgQjIiQmAhASNiQgBBYF8xaDd0O5zrlDd4MWagFKAX4BSonh/sLh4QE+AuGO7/60t7b+tPCOjvABTAFsAUzwxZvNEEpTU0oQzZuWr68CsgE+4eH+wuEBNv6U/rXxjo7wAUwBbAFM8I6O8AAAAwAA/wAHAAYAABAAJAAsAAAAIAQWEhUUAgYEICQmAhASNgE2NTQCJiQgBAYCFRQXEjMWIDcyJhAmIAYQFiACygFsAUzwjo3w/rT+kv60746O8ARtlXrO/uT+yP7kznqVQvCDAWyD8Knh/sLh4QE+BgCO8P60trX+tPCPjvEBSwFsAUzw+0fN+pwBHM56es7+5Jz6zQFHgIChAT7h4f7C4QAAAAADAAD/AAYABgAAHwAnADcAAAEeBBUUBiMhIiY1ND4DNyY1ND4CMh4CFRQAIAYQFiA2EBMyNjU0AicGICcGAhUUFjMEsS9VXUIsyI38qo3ILEJdVS9PUYq90L2KUf6f/sLh4QE+4StYfZ2Tkf6CkZOdfVgC8A4wYoXTg5rb25qD04ViMA59k2i9ilFRir1okwIT4f7C4eEBPvrhj2bvARQHf38H/uzvZo8AAAAABAAA/wAFAAYAABEAGQAjAD0AAAAUBiMhIiY0PgIzFjI3Mh4BAhQGIiY0NjIBESERFBYzITI2ExEUBiMhIiY1ETQ2MyEVFBY7ATI2PQEhMhYEAEo2/gA2ShIpUThQ2FA4USmIh76Hh74BofwAEw0DwA0TgF5C/EBCXl5CAWASDsAOEgFgQl4BVoBWVoBsZDlLSzlkAbm8hYW8hfugBWD6oA0TEwXN+kBCXl5CBcBCXmAOEhIOYF4AAAgAAP+ACAAFgAATABsAKwA7AEsAWwBlAHUAAAE0LgIjBiInIg4CFRQWMyEyNgI0JiIGFBYyATU0JiMhIgYdARQWMyEyNgE1NCYjISIGHQEUFjMhMjYlNTQmKwEiBh0BFBY7ATI2ETU0JiMhIgYdARQWMyEyNgEhNTQmIyEiBhUhERQGIyEiJjURNDYzITIWA4APIkQvQLhAL0QiDz8sAaosP4BwoHBwoARwEg79QA4SEg4CwA4S/oASDv7ADhISDgFADhIBgBIOwA4SEg7ADhISDv1ADhISDgLADhL5gAcAEg75QA4SB4BeQvlAQl5eQgbAQl4BRDZdVzJAQDJXXTY3TU0Bo6BwcKBw/uBADhISDkAOEhIBDkAOEhIOQA4SEg5ADhISDkAOEhIBDkAOEhIOQA4SEgFuYA4SEg77QEJeXkIEwEJeXgAIAAD/gAgABYAAEwAbACsAOwBLAFsAZQB1AAABFAYjISImNTQ+AjMWMjcyHgICFAYiJjQ2MgEVFAYjISImPQE0NjMhMhYlFRQGIyEiJj0BNDYzITIWBRUUBisBIiY9ATQ2OwEyFjUVFAYjISImPQE0NjMhMhYTESERFBYzITI2ExEUBiMhIiY1ETQ2MyEyFgOAPyz+Viw/DyJEL0C4QC9EIg+AcKBwcKAEcBIO/UAOEhIOAsAOEv6AEg7+wA4SEg4BQA4SAYASDsAOEhIOwA4SEg79QA4SEg4CwA4SgPkAEw0GwA0TgF5C+UBCXl5CBsBCXgFEN01NNzZdVzJAQDJXXQHWoHBwoHD9oEAOEhIOQA4SEvJADhISDkAOEhIOQA4SEg5ADhIS8kAOEhIOQA4SEvyyBGD7oA0TEwTN+0BCXl5CBMBCXl4AAgAd/wAG5QYAABoAQQAAARACIyICERASMzI3LgQjIgcnNjMyFhc2ATMWDgMjIi4CJwYjIiQmAjU0EjYkMzIeAxUUAgceATMyNgTn0uHe0NDeSjkWIjY1SSkuITFpq4SnQ0MBhnUDCitJjVxHd1xCIWFslv7j3YeH3gEdlXnrx5lWoYovXTo9QgLtAT4BOf7G/sP+xP7JESs8RisdEGFbbGWV/oUbUG5bQSZKUjcbdMkBKamqASvKdEiMvfmJvv7Fa0ZJSwAAAAAEAAD/ZQkABZsAIAAuAJkAvwAABRQGIyInJicCERATPgEzMhYVFAcGBwYVEBcWFx4EJRQGIyEiJjU0NjMhMhYDFAcOAQcGIyImNTQ+AjU0JyYjIhUUFhUUBiMiNTQ2NTQnLgEjIg4BFRQWFRQOAxUUFxYXFhcWFRQjIicuATU0PgM1NCcmJyY1NDMyFx4EFxQeBTMyNjU0JjQzMhceAQUQBw4DIyImNTQ+ATc2ETQmJyYnLgU1NDYzMhcWEhcWAcUgFQEMP2Ph1SdwJhMgP2Ixd3syVgIZDhQJBT8jHfvHGiYjHQQ5GibXQxlZJxALBxAmLiYjHREDDysXQgMKDToWBQQDICY2NSYqHTIQAQESBht3mDFHRjEZHRsTKTI8KTwnHBAIBgMICgwRChccKAobQkg9AtOKEzpOVCAQHjpPCbcpNDppAhYLEwsIIBNGfmJgDAJlFSEDD30BHAGIAVUBETNpGxMbP2ZSx/r+59JVWAMaEBkWfB0nJhodJyYCSYZjJlEUCgwGCSoyVS5MNioFDC8NFhpMDzoPGRUZOQEEBAIwHiU+Li4+JWI+KxQFBQIDEAsrwXo3eW1sdzQ1KTAQCQwUHRMzM0pAMAEhESEVFgscFxlUFEZMoIf+7uUgUF09HxAPR1ML5gEtg9Brd20DFQwXERQJEyGpg/7krCoAAAIAAP8ABwAGAAAYACgAACUTNiYHAQ4BFh8BATYXFgcBOQEHMj8BFxYAEAIGBCAkJgIQEjYkIAQWBKWTCScg/KAdFRAY3QIBFQsHC/5hEBcWbOBAAmyO8P60/pT+tPCOjvABTAFsAUzw5QK1LCYM/rMLHBkHRQFDDggFCv6J5BZopSQCm/6U/rTwjo7wAUwBbAFM8I6O8AAABgAA/wAEAAYAAA0AHwAvADMANwA7AAAlFAYiJjU0NjcRMxEeARc0JicRNCYiBhURDgEVFBYgNjcUACAANTQ3ETQ2IBYVERYTFSM1ExUjNRMVIzUCgHCgcEY6gDpGgEQ8cKBwPES7AQq7gP75/o7++YC7AQq7gIDAwMDAwMBQcHBQPGQVA4v8dRVkPE2GLQMAUHBwUP0ALYZNhbu7hbn++QEHubaDAseFu7uF/TmDAYqAgAEAgIABAICAAAAGAAD/AAQABgAADQAfAC8AMwA3ADsAACUUBiImNTQ2NxEzER4BFzQmJxE0JiIGFREOARUUFiA2NxQAIAA1NDcRNDYgFhURFhMVIzUTFSM1ExUjNQKAcKBwRjqAOkaARDxwoHA8RLsBCruA/vn+jv75gLsBCruAgMDAwMDAwFBwcFA8ZBUCi/11FWQ8TYYtAwBQcHBQ/QAthk2Fu7uFuf75AQe5toMCx4W7u4X9OYMBioCAAQCAgAEAgIAAAAYAAP8ABAAGAAANAB8ALwAzADcAOwAAJRQGIiY1NDY3ETMRHgEXNCYnETQmIgYVEQ4BFRQWIDY3FAAgADU0NxE0NiAWFREWExUjNRMVIzUTFSM1AoBwoHBGOoA6RoBEPHCgcDxEuwEKu4D++f6O/vmAuwEKu4CAwMDAwMDAUHBwUDxkFQGL/nUVZDxNhi0DAFBwcFD9AC2GTYW7u4W5/vkBB7m2gwLHhbu7hf05gwGKgIABAICAAQCAgAAABgAA/wAEAAYAAA0AHwAvADMANwA7AAAlFAYiJjU0Njc1MxUeARc0JicRNCYiBhURDgEVFBYgNjcUACAANTQ3ETQ2IBYVERYTFSM1ExUjNRMVIzUCgHCgcEY6gDpGgEQ8cKBwPES7AQq7gP75/o7++YC7AQq7gIDAwMDAwMBQcHBQPGQVi4sVZDxNhi0DAFBwcFD9AC2GTYW7u4W5/vkBB7m2gwLHhbu7hf05gwGKgIABAICAAQCAgAAAAAAGAAD/AAQABgAACQAbACsALwAzADcAACUUBiImNTQ2MhYXNCYnETQmIgYVEQ4BFRQWIDY3FAAgADU0NxE0NiAWFREWExUjNRMVIzUTFSM1AoBwoHBwoHCARDxwoHA8RLsBCruA/vn+jv75gLsBCruAgMDAwMDAwFBwcFBPcXFPTYYtAwBQcHBQ/QAthk2Fu7uFuf75AQe5toMCx4W7u4X9OYMBioCAAQCAgAEAgIAAABAAAP8AB4AGAAAmAC4ANgA+AEYATgBWAF4AZgBuAHYAfgCGAI4AlgCeAAABFhQHAQYiLwEmND8BLgE3JiMiBhURIRE0PgIzMhYXNhYXNzYyFwIyFhQGIiY0BCImNDYyFhQ2MhYUBiImNAQyFhQGIiY0BDQ2MhYUBiIkMhYUBiImNAQyFhQGIiY0BCImNDYyFhQ2MhYUBiImNAQiJjQ2MhYUNjIWFAYiJjQEMhYUBiImNCQyFhQGIiY0BjIWFAYiJjQGMhYUBiImNAWZCgr9jgoaClIKCixIEzhKZmqW/wBRir1oar5HXs5SLAoaCiE0JiY0JgFaNCYmNCamNCYmNCb9pjQmJjQmAQAmNCYmNAEANCYmNCb9pjQmJjQmAVo0JiY0JqY0JiY0Jv7aNCYmNCamNCYmNCb+pjQmJjQmASY0JiY0Jlo0JiY0Jlo0JiY0JgUHChoK/Y4KClIKGgosW+hjR5Zq+wAFAGi9ilFSSicdQSwKCv6nJjQmJjRaJjQmJjRaJjQmJjRaJjQmJjQ0NCYmNCaAJjQmJjRaJjQmJjRaJjQmJjRaJjQmJjTaJjQmJjRaJjQmJjRaJjQmJjQmJjQmJjRaJjQmJjRaJjQmJjQAEQAA/wAHAAYAAB0AJQAtADUAPQBFAE0AfQCFAI0AlQCdAKUArQC1AL0AxQAAARUUBxUUBisBIiY9AQYjISInFRQGKwEiJj0BJj0BABQGIiY0NjI2FAYiJjQ2MiYUBiImNDYyFhQGIiY0NjImFAYiJjQ2MiYUBiImNDYyARUUBiMhIiY9ATQ2OwERNDYzMhc2Fhc3Nh8BFgcBBi8BJj8BLgE3JiMiBhURITIWABQGIiY0NjImFAYiJjQ2MiYUBiImNDYyFhQGIiY0NjImFAYiJjQ2MiYUBiImNDYyFhQGIiY0NjImFAYiJjQ2MhYUBiImNDYyBoCAEg5ADhI/Qf0AQT8TDUANE4ACQBIcEhIcUhIcEhIcLhIcEhIckhIcEhIcLhIcEhIcLhIcEhIcBFISDvlADhISDmCWamxMLmgpFgsLKgsL/sYLCyoLCxYkCRwlMzVLBeAOEvyAEhwSEhwuEhwSEhwuEhwSEhzSEhwSEhwuEhwSEhwuEhwSEhzSEhwSEhwuEhwSEhySEhwSEhwBwMCpdcIOEhIOdhYWbhEXFxG6danAAa4cEhIcEi4cEhIcEi4cEhIcEhIcEhIcEi4cEhIcEi4cEhIcEv3gQA4SEg5ADhICgGqWThMOIBYLCyoLC/7GCwsqCwsWLnQyI0s1/YASAcAcEhIcEi4cEhIcEi4cEhIcElIcEhIcEi4cEhIcEi4cEhIcElIcEhIcEi4cEhIcEhIcEhIcEgAAAAT/+f8ABgAGCAANAEAASABxAAABFAcGBwYgJyYnJjU0IAEUAAcGJjc2NzY3Njc2EjU0AiQHDgMXFhIXFhcWFx4BFxYGJy4BAjc2EjYkNzYEFhIEFAYiJjQ2MgEUBgcGJicmJyY3PgE1NC4BBw4BBwYWFxYHBgcOAScuATc+Ajc2HgED4hEfGBb+/BYYHxEBwAIe/vTYCA4BBwMEAgEIn8G2/si1fOKhXwEBxJ8HAgMDAQgCAQ8IlOJ5CAd2vwEDj6QBL9uD/eKDuoODugGja10IEAIGFwcKOkJ1xnGFwA0KQ0EKBxgFAhAIX2sCA4TegpD4kQFYVm/XYlpaYtduV6gBAPD+fFYDDAkwEiAPCQNRATK4tAEtqAoHbK3nfbj+z08DCRUYCS8MCQwEOt8BMaePAQXBegkKcdD+2yW6g4O6g/8AetVHBggKNCgKCjaSUm+6YQwPxIVcqDwKCik0CQgGStp9g+KJBgeG8QACAAD/gAcABYAAAwATAAAlIREhAREUBiMhIiY1ETQ2MyEyFgEABQD7AAYAXkL6QEJeXkIFwEJegAMAAWD7QEJeXkIEwEJeXgABAAD/gAcAAYAADwAAJRUUBiMhIiY9ATQ2MyEyFgcAXkL6QEJeXkIFwEJe4MBCXl5CwEJeXgAAAAMAAP8ACAAGAAADAAwAJgAAKQERKQIRIREzMhYVAREUBiMhERQGIyEiJjURNDYzIRE0NjMhMhYBAAMA/QAEAAIA/QBgQl4DAF5C/aBeQvxAQl5eQgJgXkIDwEJeAgADAP8AXkICAPxAQl7+oEJeXkIDwEJeAWBCXl4AAAACAAD/gAcABYAAIwAzAAAlNzY0LwE3NjQvASYiDwEnJiIPAQYUHwEHBhQfARYyPwEXFjIBERQGIyEiJjURNDYzITIWBJeSCgrp6QoKkgoaCunpChoKkgoK6ekKCpIKGgrp6QoaAnNeQvpAQl5eQgXAQl7XkgoaCunpChoKkgoK6ekKCpIKGgrp6QoaCpIKCunpCgQT+0BCXl5CBMBCXl4AAwAA/4AHAAWAACMAJwA3AAABBwYiLwEHBiIvASY0PwEnJjQ/ATYyHwE3NjIfARYUDwEXFhQBIREhJREUBiMhIiY1ETQ2MyEyFgTpkgoaCqmpChoKkgoKqakKCpIKGgqpqQoaCpIKCqmpCvwNBQD7AAYAXkL6QEJeXkIFwEJeAamSCgqpqQoKkgoaCqmpChoKkgoKqakKCpIKGgqpqQoa/s0EAGD7QEJeXkIEwEJeXgACAAD/AAcABgAAAwATAAAJASEBABACBgQgJCYCEBI2JCAEFgQuATL9cv7OBWCO8P60/pT+tPCOjvABTAFsAUzwAWYCNP3MAdD+lP608I6O8AFMAWwBTPCOjvAAAAcAAP8ABwIGAAAHABMAIwAuAEMAxADUAAABJg4BFxY+AQUGIicmNDc2MhcWFBcHBiIvASY0PwE2Mh8BFhQnBiInJjQ3NjIWFCUOAScuAT4CFhceBw4BEzYuAicuAQc+AR8BNic+AS8BPgE3NiYnJgYHDgEeARcuAScmNyYnIgc+AT8BNCcuAQYHNjcGHgEXBgcOAQ8BDgEXFhcGBwYUFjc+ATcuAgc+BDMWNzY1NCcWBw4BDwEOBRYXJicOBBYXFjYSNz4BNxYXFjc2EhACBgQgJCYCEBI2JCAEFgULDygMCw40EP5aCBcHCAgHFwgHniMMIw0mDAwjDCMNJgx5BxcIBwcIFhABiyKTNiYuBEpNQCYCFgcTBg4DBQMHwwMXICIGKFhFEyoMDAIkBgEDAys4BgpqVDxsHB4HJDMfLVYOHDwQDTInEy4NDQ0KLTENAgIHASUeGRYjZSIhWrYQAQoPDxUrKilIEwIJIBEXOBgfFQ0OCAcoagUBHA0NBB4WHxMPAgkjAhYZKhMODRMtxrcfVnYbL2toPyf2jvD+s/6U/rPwjo7wAU0BbAFN8AQkEREoEhEFJNQICAgWBwgIBxZSIw0NJg0iDSMMDCcMI3YICAgWCAgQFlpAKyYcTWJWFB4kAhUGFQoVDxYUGP4SFB0OFApHNxANCwEBLS0UKQoKGFIyVIUKBzMxM2RKNg8EQDhschULExgaAQEyHBUPFh0EAxxfizUOFhBtLy4it0cQCwwSGToWERM9HgIGCQEFDwUHAQcpJTVmMGd0HSoGBgcyKT87Q0IeNhoYHjYmLCALGbIBCWA0fzhdVVMDAgF5/pT+tPCOjvABTAFsAUzwjo7wAAAAAQAA/wAGAAYAAEcAAAERFjY/AT4BPwEzAxMjJy4BJyYhERQWMyEyPgQ/ATMGAgcuAScjIQU1Nz4BNxMSJy4BLwE1BSEyNw4BDwEjJy4BIyEiBgIGZ7ElJUQtESFnDgdnHQ88Nlf+91daAWUjMT0vMioSXVkGMwWS6y0s/Yz+iH9DMQEIAwsCL0R/AXgCvovrBhAEBV0gH1ZG/dwcDwVJ/XEBBQMDAi1Ijv6+/sF/RDIBCP3UTksECxknPirYJf5SPQUGAQxmGQ0wNwKDAZLzPS4NGGYMG0T9XVx8eXURAAAHAAD/gAYABYAAEQAsADAAPgBTAGUAdQAAARUUFg4EIxEyHgMcAQUVFBYOAiMiJyY1PAM+AjMyHgMcAQUzESMBMxEjByYnIxEzERMzEwU0Jy4FIiMiKwERMjMWNicmBTU0LgIjIgc1IxEzNxYzMjYTERQGIyEiJjURNDYzITIWA5oBAQIFCA4JCQ4IBQIBPAEBBAsICQUEAwQGBQYIBQMB+956egGyap8cFAyeay1MKwGpBQMQEiAVKREVCARbFCSpOAMBAT0EDyIdLh91bgceLzIgtF5C+0BCXl5CBMBCXgLjtgQWCBAHCAMBNQIIAxAFFmN5ARcIDwYJCpsCCgcLBggDAwYGCwUO7gHY/igB2N2USf4oATj+yAE/DkMXEBkQDAUD/igBM5s+n4UdICMPIpr+KB4kPQMS+0BCXl5CBMBCXl4AAAAABQAw/vsIZQYLAAwAFQAaAFMAjwAABSYnLgQnJicWAAEXLgEvAQYHFhMGBzY3ATQCJiQjIgQHBgc+Ax8BHgMHJg4CBx4CFxY+Aj8BPgEWFxYHBgUGJx4DHwEWNzYSEwYHBgIHBgcGJwYjIAADIiYjBh4CHwEWFy4DLwEuBiceAhc3Njc2NzY3PgE3NiQEFxYSBHcGBQ0ufmt1HxGeQgFS/l2oGSADBFQlBXorIiweBaB80/7en5P+9GoeDzyml4cpKCEoCQQDfsujekYEDzgie/m0kSUlFiMaBA410P79h7Ypioh9JyePeMPuSg4aRt/PMCJIWyQl/uX+RUoBBgIGESMlDQ4ILkdrMh0DAgU5KEIxMyIIEz+jQAILUymHHDUPIiCeASMBOZbc4sUBAwgeZG2rVwMi1f7WAjscTLc2NVKOQQIwQFQuFv6eoQEk1H1pYDpmM0EVBgQDAR0lJQoLFUJNPCRx8zoGKUJEGRgQCRMZYRhhJRQEYKFdQQsMFyZjAXwBCYdN0P7rcyELGgoDAVoBDQEyfWlbGhoMRiaJj4MqKgIVDxoYGxsMCh88CCCVjcqjc2McIg9KPCZOc/5GAAUAI/8ABt8F/wAXADAAQABXAG0AAAE2JicuAQYHBhYXHgIXHgc2AQ4CBCQuAQI3PgM3BhoBDAEkNzYHFAIUDgIiLgI0PgIyHgEFLgEsAQwBBgIXJgI+BB4CFx4BAzYAJyInJjceBA4DBz4DBT0dR1Y6h2USDA8jFx86GyQ/KyUYFA0LCgFxNMHs/vL++vC0ZwUBDwomBDNo8gFUAWABWnQUAvNRiLzQvIhRUYi80LyIAXBB5/7t/sv+2/7+tlAeMQVMjr3h7/bizkshOjwM/tf4CAICGn3SiGAVF2SR4Yhsu6FiAvAsqzknHRQbFwoFAwQPCg0lJSgkIRgNAf3Lf7phGDODwAEXpClXKXgN0P6G/v6aDKGkGw0EAh/QvopRUYq+0L6KUVGKBpPQYwhRsfb+pMehAS300pdlKRdVpHMyjv6B9AFYRAUFAwRclL3Rz7ySWQIeZJLPAAAAAAsAAP+ABgAGAAAPAB8ALwA/AE8AXwBvAH8AjwCfAK8AABMVIyI9ASMiPQE0OwE1NDMTFSMiPQEjIj0BNDsBNTQzExUjIj0BIyI9ATQ7ATU0MxMVIyI9ASMiPQE0OwE1NDMTFSMiPQEjIj0BNDsBNTQzJREUBiMhIiY1ETQ2MyEyFgEVFCsBFRQrATUzMh0BMzI1FRQrARUUKwE1MzIdATMyNRUUKwEVFCsBNTMyHQEzMjUVFCsBFRQrATUzMh0BMzI1FRQrARUUKwE1MzIdATMywHAQMBAQMBBwcBAwEBAwEHBwEDAQEDAQcHAQMBAQMBBwcBAwEBAwEASwOCj8wCg4OCgDQCg4AQAQMBBwcBAwEBAwEHBwEDAQEDAQcHAQMBAQMBBwcBAwEBAwEHBwEDAQAQCAEBAQIBAQEAEAgBAQECAQEBABAIAQEBAgEBAQAQCAEBAQIBAQEAEAgBAQECAQEBCg+kAoODgoBcAoODj7CCAQEBCAEBDwIBAQEIAQEPAgEBAQgBAQ8CAQEBCAEBDwIBAQEIAQEAAAAAABACv/AAZVBgAAkAAAAQcXHgEHDgEvARcWBiYnAyURFx4BDgEmLwEVFAYiJj0BBw4BLgE2PwERBQMOASY/AQcGJicmNj8BJy4BPgEXBS0BBQYjIi4BNj8BJy4BPgEfAScmNhYXEwURJy4BPgEWHwE1NDYyFh0BNz4BHgEGDwERJRM+ARYPATc2FhcWBg8BFx4BDgEjIiclDQElNh4BBgYep7oXDQ0OMhe6Nw0yRw1m/vHQEAIYISkQcCY0JnAQKSEYAhDQ/vFmDUcyDTe6FzIODQ0XuqcdGgkqHQE2AQ/+8f7KBAkbIgQaG6e6Fw0aNBa6Nw0yRw1mAQ/QEAIYISkQcCY0JnAQKSEYAhDQAQ9mDUcyDTe6FzIODQ0XuqcbGgQiGwkE/sr+8QEPATYdKgkaAaMhaw0zFxcNDWqgJjMKJQEsnP7H7hIqHxMIEoDWGiYmGtaAEggTHyoS7gE5nP7UJQozJqBqDQ0XFzMNayEGLi8hBj6dnT4BJCwqBSFrDTMuDg5qoCYzCiX+1JwBOe4SKh8TCBKA1homJhrWgBIIEx8qEu7+x5wBLCUKMyagag0NFxczDWshBSosJAE+nZ0+BiEvLgAAAAACAAD/AAcABgAAEgAmAAABNi4CJyYOAgcGHgIXFiQ2CQEWEgcGAgQHBQEmAjc2EiQ3NiQFwQdQktB1dNulaQcHUJLRdZsBFKwBR/6jeHkKC7b+1Lb8GQFbeHkKC7YBLbanApoCX3bZoWUHB06Pz3V22aFlBwmI/wQ9/qR1/sqmt/7IxxmEAVt0ATemuAE4xxkWWAAABgAA/wAHAAYAAAoADgASABYAJgA2AAABEyMLASMTJzcXBwEFAy0BFwcnJRcHJwQQAiYkIAQGAhASFgQgJDYSEAIGBCAkJgIQEjYkIAQWA7SjM6+rMbNOFfAV/kUBMIL+0AHa8GfvAX+/Ur4CPXzT/t7+wv7e03x80wEiAT4BItPsjvD+tP6U/rTwjo7wAUwBbAFM8AH8/rcBXv6iAXYhMWYyAmmC/tCCd2fvZlpRvlFeAT4BItN8fNP+3v7C/t7TfHzTAnf+lP608I6O8AFMAWwBTPCOjvAADAAg/v0HXgYDAFgAYgBsAHcAgQCrALcAwgDNANgA5ADuAAABLgMnJj4BJyYnJg8BDgMiLgEnLgYnJgYHDgMmJyYnJgYHDgMVBhY3PgE3NhI3PgEXFgcOAQcGFjY3PgI3NhcyBwYCBwYWFx4CNgQWBgcGJicmPgEBFg4BJicmPgEWAA4BJy4BNz4BFxYBFg4BLgE2NzYWExYCBwYnDgEmJwYHBiYnJicuAjY3LgE+ATc+AhYXNh4DBx4CBgEWBgcGJicmNjc2FhMWDgEmJyY2NzYWARYGBwYuATY3NhYBFgYHBiYnJj4BFgEWBgcGJicmNjc2FicWBgcGLgE+ARYFNgQvNC0DBUxKBQ5nLR4DBAIHAwcFBwMDDAYLCAsLBh4kGwEQCRUMCzYeKWoXEDIlKxZRRh4pEgeQBQYfDhsGAmIBBjNGFARTUAYUFR0EAn8HDDIxEURLMvxBBhAPDhkDAxAcAlcMByIpDAsHIin9FSQ/GhoMEhI/GhoFBBMMOEEmDBscQYRFNWxabRSBnj0MAWf0RzIDU3cqJj4kBDVqRCCGn7FHSIh5WC8GNEYVIPtyDgkUEzENDgkUEzGsBBIiHAQDExARHASlBBUUEyIIFRQUIf1sEA8cGz0QEA82PgL6BBAPDxkDAxAPDhm8DwkWFjYeCiw1AS4YFAEYGi+5sSdlAgERAgIBAwEDBAMCDQUKBQYDAQUQFwEPBw0CAhsNEi4qHI18kAFFZAQCGiENAXUICw4HDyYS8wsmJRcmCKifCR0BJhD++Rw1ZBgJDQMfqB4ZAwMQDw4aBv7aESkYCBERKRgIAzY2DBMSQBobDBIT/QEcQyYMOEIUEwwCQHH++Uw/A1BeBTcJAUctaElbDnGPoTo8iHJTCVV+ORc3FQdBX4dJEFJgZwJwFDEODgkUFDEODgkBBRAdCBMRERwEBBP8OxQiBAQVKCIFBBcDahs/EBAPGxw+IhD9VA8ZBAMRDg8aAwMQ4hY2EA8KLDYgCgABADj/EQchBfoABgAAASEJASERIQIq/g4DdQN0/g78+wKG/IsDdQN0AAAAAAEAQv8WByMF9wAGAAABEQkBESERA7MDcPyQ/I8ECAHv/JD8jwHvAwMAAAAAAQBD/w4HIwXuAAYAACUBIREJAgMV/moFpP5o/TH9h6b+aAWk/moC0v2IAAABAEP/EgcjBfIABgAACQEhEQkCAxX+agWk/mj9Mf2HBFwBlvpcAZb9LgJ5AAEATf8VByMF6wAGAAABESERIQkBAjkC/gHs/JX8lQKA/JUDawNr/JUAAAAAAQAv/+AHJgXWAIcAABM3FxYXFhceAR8CFhcWFxYXHgEXFhceAR8BATY3Njc2NzY3Njc2NzY3PgE/AjQ/AjY3PgE3PgE3Njc2PwE2NzY3Njc2NzYfAhYfAR4CHwEBBw4BBwYHBgcGDwEOAQcGDwEOAQcGBwYHDgEHDgIHBg8BBg8DBg8BBgcGDwEiJyYnL5k+DCcQBwMNAggUBRcODwcGBAoDFwUBDAG5AeIyLCUfFQQlKg4RBQoOAQMLAgUHBQYDAQQCBAEDCwIBDAUFAgQCAwYJAicDBRAMAwMGDQcNBwFM/coIByYTCB0YBQsFBAIHAgUKAgIHBAwKRh8BCwQBBAUCBAQIBAUGBQEJBUMMFg8JHQemsJYCX6FBCicQCAMOAwgUBxcQDwcIAwsCFwQDDAK/AmE7Pi8mHAQvMxUVBA4QAQUOAgULAQcGAgMGAgUBBA8CAQ8HBQQEBAMICQUxAwkKDQMBBg0HDQgBUf1GCQkvGAojHgcOBAMCCQMGDgIDBwQPDVklAg0FAQUEAgYECAUFCAUDCQtQDhwTCR6fqpcAAAAAAQBD/xAHIwXwABsAAAEGBwYHBiAnJicmJyYQNzY3Njc2IBcWFxYXFhAG3kV2eqCU/nyUo3V3RkVFRHl7nZQBhJSjd3VGRQEqonZ5REVFSHV0pJQBhJSgendERUVGdXWllP58AAIAQf8SByMF9AAbACEAAAEGBwYHBhAXFhcWFxYgNzY3Njc2ECcmJyYnJiABNwkBFwECXJ17d0dFRUl1dKSTAYaTo3d2RkVFR3V1pZP+ev7LeQEUAip3/V8Fr0J6d6OT/nqTo3V3R0VFR3d0pJMBhpOjd3VHRfwhd/7tApt1/OwAAgBG/xYHIwXzABsAJwAAAQYHBgcGEBcWFxYXFiA3Njc2NzYQJyYnJicmIAkCJwkBNwkBFwkBAl+dendGRUVIdXSjkwGFk6J3dkVFRUZ1daST/nsCOv6J/oh/AXn+h38BeAF3f/6HAXkFrkF6d6KT/nuTonV3RkVFRnd0o5MBhZOid3VGRfqbAXn+h38BeAF3f/6HAXl//on+iAAAAwBG/xIHIwXvABsAKABLAAABBgcGBwYQFxYXFhcWIDc2NzY3NhAnJicmJyYgEiY1Jjc2MhcWFRQHBhMUBwYiJyY1JzQnJicuAScmJzUmJzQmNScmJyYnNDc2MhYVAl+dendGRUVIdXSjkwGFk6J3dkVFRUZ1daST/nuQSgInJWclJCQmDBMSNRITAgECAwMHAQECBAICAQwICgEmJWdJBapBeneik/57k6J1d0ZFRUZ3dKOTAYWTond1RkX6XkozMyUlJScyMyQlAXYXExMTExcOHg8sFxdECQQPFhkKDQwHBXZTNiMzJiRINQABAEj/FAcjBe8ACwAACQIXCQEHCQEnCQEBQgJ0AnP6/YwCdPr9jf2M+gJ0/YwF7/2NAnP7/Y79jfsCc/2N+wJzAnIAAAIC3/8IBGoF9gAPADgAAAUUBwYjIicmNzQ3NjMyFxYDJic0JyYnJicmJzQmNSY1NCcmJzUmJy4CJzQ3NjMyFxYVAxQHBiMiBGo4PFFQOzsBOjpRUD049BECFAwKBAgCAgICAQECEB0ECAcBOjpRUD04gxQSHBsyUTo7OzpRUTo6OjwBDBIbFaFRUB4+EggEEAQHCAcCBAIEa9geOTEIUD05OT5P/CcaFBUAAAABANX/EgaSBeoAIwAABQcBNjc2NzMyFxYXFhcWFxYXFhcWFxY7AQcGBwYHBiMiJyYjA+yp/ZJNZWR0AUhVUjVTHkMeCVkzQz1MP189CQk0N3Jy1KtSVau1OQYvSi0tBRcdIDYaMB4ISiwsJx4bNTY+QjUyODgAAAABAgb/TgVABdwAIwAAASEVBwYHBgcGFREXFhcWFxYXFSE1NzY3Njc2NREnJicmJyYjAgYDOiotMTEwKgQEGxc6Nmn8xionOTQrKgQEGRo5N2gF3IIDBBgXNjJj/HcoKS4wKyYBgYEEBBkWNjJiA4knG0AsLSYAAAACAPL/UAZUBdwAIwBHAAABIRUHBgcGBwYVERcWFxYXFjMVITU3Njc2NzYnEScmJyYnJiMlIRUHBgcGBwYXERcWFxYXFjMVITU3Njc2NzY1EScmJyYnJiMDGQM7KywxMS8sBQUZFT03aPzFKyI9NCssAQUFGRY8N2j92QM7KywzMywsAQUEGhU9N2j8xSsiPTMrLAUFGRY8NWoF3IIDBBgVODJj/HkmKjAsLSiBgQMFGRc1M2EDhykrLisuJoKCAwQYFzYzYvx5JiowLC0ogYEDBRkWNjJiA4cpKy4rLiYAAAMAJv9gByYF3wATACcAOwAAASEVBwYVERcWMxUhNTc2NREnJgclIRUHBhURFxYzFSE1NzY1EScmByUhFQcGFREXFjMVITU3NjURJyYHBCYDAH+AHyDA/QCAgCAgwP4BAv+AgCIgvv0BgIAgIb/9/wMBgIAgIMD8/4CAICDABd+AHyDA/ICAgICAICDAA4CAgQKAgB8gwPyAgICAgCAgwAOAgIECgIAfIMD8gICAgIAgIMADgICBAgADACP/UAcjBdoANwB8AIAAABMWFxYXFRYXFREUByMGIwYjBiMOASMHIgciBiMGIw4BIwcVITUiJyYnJicmJyY3ETQ3Njc1IRUyAQMnJicmJyYnLgEnJicmJyYvASYnNCc0Jy4CNTQmJy4CNSYnJicmNSY3PgE/AT4BNzY3NSEVATMBNTY3Njc1IRUyFSUzNSPnAQ8FBAIBcAMCBAEHCQECBwEGAwMCBQEGAgUNARwCoKcdDQEDAgIEBAFwNjr9YKcE0eATEQMDFQMCAQgCAgoDBwMEBAMEAgUBAgIFAQEDAgUEBQQHKjECBgEIAQgCBRD+eAFQ4AEYF05QY/3QqPy44OAE2Qg8FBEMBgMD/HrDHwIBAwEDAgIDAgIDB4GBgDoMCBINCAoCA4bCHwwUgYH+//u4dWwREogMHgcpDQFBDzQPGBgDJQMQAhoEDQkEAxsKBhEJAhEjJhAYD/UkAQUCBgEFAgMQgYH59wUIAWtLSQGBgYCAgQAAAQAjAXoHIwN6AAMAABMhESEjBwD5AAF6AgAAAAEASv8OByMF5wAbAAABBgcGBwYgJyYnJicmEDc2NzY3NiAXFhcWFxYQBt9GdXqfk/59k6J1dkdERER5e5yTAYOTond0R0QBJqF2eUREREl0dKOTAYOTn3p3RERER3R1pJP+fQADADn/CwcjBfUAGwA3AEcAAAEGBwYHBhAXFhcWFxYgNzY3Njc2ECcmJyYnJiADJicmJyYQNzY3Njc2IBcWFxYXFhAHBgcGBwYgFzI3Njc2NzYQJyYnJicmIwJWnnt4R0VFSXZ0pZQBiJSkd3dGRUVHdnWmlP54f5dwckBBQUFxcJeiAUKimHFtQ0FBQHByl6L+vqHElKR3d0ZFRUd2daaUxAWwQnt3pJT+eJSkdXhHRUVHeHSllAGIlKR3dkdF+Y9AcnCXogFCopdyb0FBQUNtcZii/r6ilXJxQUE4RUd4dKWUAYiUpHd2R0UAAAIAR/8PByMF6wAbADcAAAEGBwYHBhAXFhcWFxYgNzY3Njc2ECcmJyYnJiADJicmJyYQNzY3Njc2IBcWFxYXFhAHBgcGBwYgAmCdendGRUVIdXOkkwGEk6N2dkVFRUZ1dKWT/nx+lm9yPkFBP3FvlqABQKCXcG1BQUE+cHGWoP7ABaZBenajk/58k6N0d0ZFRUZ3c6STAYSTo3Z1RkX5nT5yb5agAUCglnFvP0FBQW1wl6D+wKCUcXE/QQAAAwBH/w8HIwXrABsANwBBAAABBgcGBwYQFxYXFhcWIDc2NzY3NhAnJicmJyYgAyYnJicmEDc2NzY3NiAXFhcWFxYQBwYHBgcGIBMhNCcmJyYnJiMCYJ16d0ZFRUh1c6STAYSTo3Z2RUVFRnV0pZP+fH6Wb3I+QUE/cW+WoAFAoJdwbUFBQT5wcZag/sCgA25FRnV0pZPCBaZBenajk/58k6N0d0ZFRUZ3c6STAYSTo3Z1RkX5nT5yb5agAUCglnFvP0FBQW1wl6D+wKCUcXE/QQM2wpOjdnVGRQAAAAMATP8UByMF6wAbADcATwAAAQYHBgcGEBcWFxYXFiA3Njc2NzYQJyYnJicmIAMmJyYnJhA3Njc2NzYgFxYXFhcWEAcGBwYHBiATIRYXFhcWFxYgNzY3Njc2ECcmJyYnJicCY5x6dkdEREl0c6OTAYOTonZ1RkRER3R0pJP+fX6WbnE/QEBAcG6WoAE/oJZwbEJAQD9vcJag/sGg/MsCPz9xbpagAT+glnBuQEBAQmxwlp6hBadCeXaik/59k6J0dkdEREd2c6OTAYOTonZ0R0T5oT9xbpagAT+glnBuQEBAQmxwlqD+waCUcHBAQAM0op6WbnE/QEBAcG6WoAE/oJZwbEI/AgAAAAgAH/8SBoYF5gADAAcACwAPABMAFwAbAB8AAAUhESETETMRBSERIRMRMxEBESERBTMRIwERIREFMxEjBT4BSP64N9r9OgFI/rg32v06AUj+79ra/hQBSP7v2truBtT5YwZm+Zo3BYz6qwUf+uEEDvu7BEU3/CkCxv0DAv03/XEABwAe/xEGhgXmAAMABwALAA8AEwAXABsAABcRIREpAREhExEzEQUhESETETMRAREhEQUzESMeAUgD2AFI/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/P8Cyv02/CQDOPz/Asr9NjcDOPz/Asr9NgNuAzj8/wLK/TYAAQAj/yAHIwXoAAkAAAkBBQETCQETASUDowEYAmj+QHD90P3QcP5AAmgF6P4IcP5A/WABUP6wAqABwHAAAwAj/yAHIwXoAAkAEwAZAAAJAgUBAwkBAwkCEwElCQEFARMJAQMBEQEEu/7o/uj9mAHAcAIwAjBwAcD8gP31af5aAkMBBQEHAkH+XGn6cwHAcAIw/ugD8AH4/ghw/kD9YAFQ/rACoAHA/RP+xQJ2AaJpAdf+KWn+Xv2KBCj+QP1gAVAFeP4IAAIAI/8gByMF6AAJABMAAAkCBQEDCQEDCQITASUJAQUBEwS7/uj+6P2YAcBwAjACMHABwPyA/fVp/loCQwEFAQcCQf5caQPwAfj+CHD+QP1gAVD+sAKgAcD9E/7FAnYBomkB1/4paf5e/YoAAAMAI/8gByMF6AAJABMAGAAACQIFAQMJAQMJAhMBJQkBBQETAQUBAyUEu/7o/uj9mAHAcAIwAjBwAcD8gP31af5aAkMBBQEHAkH+XGn82/2YAcBwARgD8AH4/ghw/kD9YAFQ/rACoAHA/RP+xQJ2AaJpAdf+KWn+Xv2KBJhw/kD9YKgAAAMAI/8gByMF6AAJABMAGwAACQIFAQMJAQMJAhMBJQkBBQETCQEFAQMBBREEu/7o/uj9mAHAcAIwAjBwAcD8gP31af5aAkMBBQEHAkH+XGn98/7o/ZgBwHACMAEYA/AB+P4IcP5A/WABUP6wAqABwP0T/sUCdgGiaQHX/ilp/l79igaQ/ghw/kD9YAFQqAQoAAEAIwA4ByMF6AACAAAlCQEHI/yA/IA4BbD6UAABACMBDwcjBREAAgAACQIHI/yA/IAFEfv+BAIAAQAjAQ8HIwURAAIAAAkCByP8gPyAAQ8EAvv+AAEAIwAAByMF6AAQAAABESMRCQEVMxEhETMRIREzNQXT4P6w/IDgAjDgAjDgA7gB+P7oAVD8gDj90AFQ/rACMDgAAAAAAgCW/1EFZgXcAD0ARwAAAQMnLgI1JicmJyYnJicmJzQnJic0JicuAicmJyYnJjUmNzY/ATY3PgE3Njc1IRUBMwE1Njc2NzUhFTIVJRcWFxYzMhMDIwPe4BMFCgQDFQQCCAIBCwgDCwEFCAMBBAYDBQQGAggqMgUDAwMCAggCBBD+eAFQ4AEYF09NZf3QqPy4DRcKDxRCkEPgBFn7uXUfQRoCEogRGS4PAUIqGQI8ASgDNhIFGh0PESQsChsL9CYFAgMCAgEFAQMQgoL59wUIAmtLRAWCgn9/BQgCB/28AtwAAAAAAwAj/0oHIwXaAAoAFQAwAAAFBiImNDYyFhUGBwUGIiY0NjIWFQYHEyE2JyYjIRUzEwYHBhUUFxYzITUhIicmPQElApIxjGJijGIBGARIMYxiYoxiARgZ+sABICIv/rDgVCQZF0NCWwVA+sAvICEFsIUxYoxiYkZGGBkxYoxiYkZHFwXWLCQgcP0vHi8sNltDQnAhHzAC3gABACP/VAazBeQAOwAAAQYHBiMiJy4BJyY1NDc2NzYnJicmJyYjIgcGBwYPARYXFhcWFx4BFxYXFhcWMzc2NzY3NjU0JyYnJicmBPNSHhxUWU9VpkdGRktPKR4jPEBJRi0pOj4xPB0lASYkRDdXZ3iNimt8e21eNTk6Ri01NjZKS0pKAfRPS0ZGR6ZVT1lUHB5SKUxOR0s1NjQ5O0oqNF1udoFvho14Z1c2QSkmJSkwOjQ5Ky5GSEBAHiEAAAQBkf8gBdMF8AAPABMAIwAnAAABIgYVERQWMyEyNjURNCYjBxUhNRMmNTQ3NjMyFxYHFgcGIyIBESERAjVFX19FAvtEX19EpP5MjSAgHy4tIh8BAR8gLi/+egNoBfBfRPp3RV9fRQWJRF9SNjb6Dx4vLSEfHyMrLh8gAUcEQvu+AAAAAAIBA/9WBkMF5gAJABwAAAE2IBYQBiAmEDcJARMnBxMBIyIHBhURIRE0JyYjArViARjExP7oxDECov6kgaiogf6kPaYeHAVAHB6mBYRixP7oxMQBGDH9g/09AouoqP11AsNiVJr90AIwmlRiAAMAI/9KByQF2gAtAE0AUQAAATUmJyYnJicmIyIHBgcGBwYVERQXFhcWFxYzMjc2NzY3Njc1ITI3NicRNicmIyUmJyYnNjc2NzY3NjMyFxYXFhcWFwYHBgcGBwYjIicmAREzEQVjAjM1WlGGapqcaoRRYTA1NTBhUYRqmpxqhlFaNTMCAVAvIiABASAjLvqkNRogDQ0gGjVIY0h5ekhiSDUaIA0NIBo1WFJ+REl4VwO44AQaqD0vNCYmFRcXFSYqLzE8+6A8MS8qJhUXFxUmJTUxO6ghIS4CMCwkIGwSDhIKChIOEhsNDAwNGxIOEgoKEg4SGgwODgz9fgFQ/rAAAAABACz/DgcjBgQAFwAACQEnCQEmJyYHBhcWFwkBFwkBETMTJTUhBCwC9938Sf7XQ01KMi4ODEIBKv6F3gI5AT3dbwFM/kUC4wI63f6FASpCDQwtLU9OQv7X/EreAvf+xP5FAUxv3gAAAAIAIwAAByMFsAAwADQAAAEhNTQnJiMhIgYVERczBgcGFRQXFjMyNzY1NCcmJyEGBwYVFBcWMzI3NjU0JyYnMxEBMxMhBkP+sCEiLfwQLkJwjgwJCUNCW11CQQcIDwJsDAkJQ0JbXUJBBwgPjv3Q6aj+bwRg4C4hIUIu/IBwGRssEFtDQkJBXSoSGRsZGywQW0NCQkFdKhIZGwFQAVD+sAACADv/DQcjBfUAGwCOAAABBgcGBwYQFxYXFhcWIDc2NzY3NhAnJicmJyYgEwYnJicBNjc1Nz0BNCcmIwYnJicmJyY1JiciJyInKwIiBwYXERQXFh8BESYnJicmJyYnNDc2NzMyNzY/ATY3NDc0Nz0CNjc2MzIXFhcGDwIGBwYVFBcWFxYXFjsCFhcWFxYHBgcVBhUGBwYHBgcGAliefHdHRUVJdXWllAGGlKR3d0ZFRUd2daaU/nrDXUAxZAGTBgUDEBMVRktqF0cVJAUOBgEFAgUC3RYQEgEJBw++TDw8LCwXFwESFSLLCQsJCt0FCAECKURRH0tnXUMDAwMLMhUaGhcvLz48QwgHCgsJAwQLCR8BPTdCQThbTAWwQnt3pJT+epSkdndHRUVHd3WllAGGlKR3dkdF+YcBEQsjAcUGDAoGA6YUExABIDYRMRYeAgUIAQIQEhX+tBEMDQhf/rw7P0RTTl5mWExhUk0EAQrdBQ4GAwUCAwKFEAgJExUmAQQDCzI6P0E/Pj4vLhkZIjxPPGVWcG8EAgM8JC0bHBUPAAICXv8TBIQF8AAKAB4AAAEGIiY0NjIWFQYHBSIHBhURMxEzETMRMxEzETYnJiMD5TCJYGCJYAEX/s8uICBuiTeJbgEfIi4E1zBgiWBgRUQYtiAgLv3b/W0Ck/1tApMCJSsjIAACAX//DwVjBfoACgAmAAABBiImNDYyFhUGBwEDJicmIyEiBwYHAxc3FwMzEzMRMxEzEzMDNxcD5zGKYWGKYQEYAWXmAxILD/5GDwsMCeZVwELo1CVuOG4l1OhCwATeMGGKYWFFRRj9ygFnAw0HBwcJ/ps++Zz+V/3WAir91gIqAamc+QAEAD//DAcjBfAACgAVACkARQAAAQYiJjQ2MhYVBgcFBiImNDYyFhUGBwUiBwYVETMRMxEzETMRMxE2JyYjAQMmJyYjISIHBgcDFzcXAzMTMxEzETMTMwM3FwHIMIphYYpgARgDyTCKYGCKYAEX+u0uICBuijeKbgEfIi4FK+UDEgsP/kcOCwwJ5VS/QufUJG43byTU6EK/BNUwYYpgYEVFGBkwYYpgYEVFGLcfIS792f1qApb9agKWAicrJB/+gwFlAw4HBwgJ/p0++Jv+WP3ZAif92QInAaib+AAAAgDU/wQGfQXwADkASQAAATQ3NjcmJyYnJgcGIyInJgcGBwYHBgcGFxYXFhcWFxY3Njc2MzIXFjc2NzY3Njc2NzY/AScmJyYnJgM2NzYnBgcGBwYHBhcWNzYFjl5ZCk5lYTBpW1s0NkxcRnBhYzs6CwwXFC81Mz89QVlRNzhjZjQxWVpAQDVCGwQMCAIEJyQrKigm3iwdGwhIRUkvLRwgC0xFSAJEqFNTA3EeGgUKLC8oJwIBOzxlY3t3e3hxdkxcPkkCBCMiJCUCAURHTV9NBiURCgsTEiopREYC9ThLPVsFIyU5M0lKTAUmJQAGAKv/DAazBfYAEQAiAD8AaQB5AIkAAAEGFREUFxYyNzY1ETQnJiMiBwUGFREUFxYyNzY1ETQnJiIHExQWMxUUFxYzMjc2PQEzFRQXFjI3Nj0BMjY1ESElJicmJzc2JyYnJgcGDwEnJicmIyIHBg8BJyYnJgcGBwYfAQYHBgcVITUlJjU0NzYzMhcWFRQHBiMiJSY1NDc2MzIXFhUUBwYjIgX3ISEhWSIgICMrLQ/6wyEhIVkiICAiWQ/hYUQhIiwsIiDcISFZIiBFYPwgA90LOzxcNwoHCRQXEhcKNw40GBU8OxQ4FQ43CBgXFBYGCAo4XDo8DQPd/UQRERAXFRIQEBEXFgE7EREQFxQTEBASFhYDOiAu/kctISAgIS0BuS4gIRARIC7+Ry0hICAhLQG5LiAhEP2xRWDdLSEgICEt3d0tISAgIS3dYEUCX25yXl48bhUWFwgLCAgVbwYPBAcHCwgGbxQJCAsQDxkSbjtfX3E3N4APFhgQDw8TFRYPEhIPFhgQDw8TFRYPEgAEACP/XgazBe4AAwAHAAsADwAAEyURIQERIREBJREhAREhESMCoP1gBpD8gAOA/IADgPlwAqAFAFv9gwMQ/PACjvnyfgKS/dkCJ/18AAAAAAAAGAEmAAEAAAAAAAAALwAAAAEAAAAAAAEACgA2AAEAAAAAAAIABwAvAAEAAAAAAAMAGAA2AAEAAAAAAAQACgA2AAEAAAAAAAUAGwBOAAEAAAAAAAYACgA2AAEAAAAAAAcAUQBpAAEAAAAAAAgADAC6AAEAAAAAAAkACgAKAAEAAAAAAAsAFQDGAAEAAAAAAA4AHgDGAAMAAQQJAAAAXgDkAAMAAQQJAAEAFAFQAAMAAQQJAAIADgFCAAMAAQQJAAMAMAFQAAMAAQQJAAQAFAFQAAMAAQQJAAUANgGAAAMAAQQJAAYAFAFQAAMAAQQJAAcAogG2AAMAAQQJAAgAGAJYAAMAAQQJAAkAFAD4AAMAAQQJAAsAKgJwAAMAAQQJAA4APAJwQ29weXJpZ2h0IERhdmUgR2FuZHkgMjAxNi4gQWxsIHJpZ2h0cyByZXNlcnZlZC5SZWd1bGFyU3RpbXVsc29mdDpWZXJzaW9uIDQuMDA3VmVyc2lvbiA0LjAwNyBKdWx5IDI2LCAyMDE5UGxlYXNlIHJlZmVyIHRvIHRoZSBDb3B5cmlnaHQgc2VjdGlvbiBmb3IgdGhlIGZvbnQgdHJhZGVtYXJrIGF0dHJpYnV0aW9uIG5vdGljZXMuRm9ydCBBd2Vzb21laHR0cDovL2ZvbnRhd2Vzb21lLmlvL2xpY2Vuc2UvAEMAbwBwAHkAcgBpAGcAaAB0ACAARABhAHYAZQAgAEcAYQBuAGQAeQAgADIAMAAxADYALgAgAEEAbABsACAAcgBpAGcAaAB0AHMAIAByAGUAcwBlAHIAdgBlAGQALgBSAGUAZwB1AGwAYQByAFMAdABpAG0AdQBsAHMAbwBmAHQAOgBWAGUAcgBzAGkAbwBuACAANAAuADAAMAA3AFYAZQByAHMAaQBvAG4AIAA0AC4AMAAwADcAIABKAHUAbAB5ACAAMgA2ACwAIAAyADAAMQA5AFAAbABlAGEAcwBlACAAcgBlAGYAZQByACAAdABvACAAdABoAGUAIABDAG8AcAB5AHIAaQBnAGgAdAAgAHMAZQBjAHQAaQBvAG4AIABmAG8AcgAgAHQAaABlACAAZgBvAG4AdAAgAHQAcgBhAGQAZQBtAGEAcgBrACAAYQB0AHQAcgBpAGIAdQB0AGkAbwBuACAAbgBvAHQAaQBjAGUAcwAuAEYAbwByAHQAIABBAHcAZQBzAG8AbQBlAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABhAHcAZQBzAG8AbQBlAC4AaQBvAC8AbABpAGMAZQBuAHMAZQAvAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMBAAAAAQACAAMAJAAlAI4AiwCKAI0AkACRAIwAkgCPAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETARQBFQEWARcBGAEZARoBGwEcAR0BHgEfASABIQEiASMBJAElASYBJwEoASkBKgErASwBLQEuAS8BMAExATIBMwE0ATUBNgE3ATgBOQE6ATsBPAE9AT4BPwFAAUEBQgFDAUQBRQFGAUcBSAFJAUoBSwFMAU0BTgFPAVABUQFSAVMBVAFVAVYBVwFYAVkBWgFbAVwBXQFeAV8BYAFhAWIADgDvAA0BYwFkAWUBZgFnAWgBaQFqAWsBbAFtAW4BbwFwAXEBcgFzAXQBdQF2AXcBeAF5AXoBewF8AX0BfgF/AYABgQGCAYMBhAGFAYYBhwGIAYkBigGLAYwBjQGOAY8BkAGRAZIBkwGUAZUBlgGXAZgBmQGaAZsBnAGdAZ4BnwGgAaEBogGjAaQBpQGmAacBqAGpAaoBqwGsAa0BrgGvAbABsQGyAbMBtAG1AbYBtwG4AbkBugG7AbwBvQG+Ab8BwAHBAcIBwwHEAcUBxgHHAcgByQHKAcsBzAHNAc4BzwHQAdEB0gHTAdQB1QHWAdcB2AHZAdoB2wHcAd0B3gHfAeAB4QHiAeMB5AHlAeYB5wHoAekB6gHrAewB7QHuAe8B8AHxAfIB8wH0AfUB9gH3AfgB+QH6AfsB/AH9Af4B/wIAAgECAgIDAgQCBQIGAgcCCAAiAgkCCgILAgwCDQIOAg8CEAIRAhICEwIUAhUCFgIXAhgCGQIaAhsCHAIdAh4CHwIgAiECIgIjAiQCJQImAicCKAIpAioCKwIsAi0CLgIvAjACMQIyAjMCNAI1AjYCNwI4AjkCOgI7AjwCPQI+Aj8CQAJBAkICQwJEAkUCRgJHAkgCSQJKAksCTAJNAk4CTwJQAlECUgJTANICVAJVAlYCVwJYAlkCWgJbAlwCXQJeAl8CYAJhAmICYwJkAmUCZgJnAmgCaQJqAmsCbAJtAm4CbwJwAnECcgJzAnQCdQJ2AncCeAJ5AnoCewJ8An0CfgJ/AoACgQKCAoMChAKFAoYChwKIAokCigKLAowCjQKOAo8CkAKRApICkwKUApUClgKXApgCmQKaApsCnAKdAp4CnwKgAqECogKjAqQCpQKmAqcCqAKpAqoCqwKsAq0CrgKvArACsQKyArMCtAK1ArYCtwK4ArkCugK7ArwCvQK+Ar8CwALBAsICwwLEAsUCxgLHAsgCyQLKAssCzALNAs4CzwLQAtEC0gLTAtQC1QLWAtcC2ALZAtoC2wLcAt0C3gLfAuAC4QLiAuMC5ALlAuYC5wLoAukC6gLrAuwC7QLuAu8C8ALxAvIC8wL0AvUC9gL3AvgC+QL6AvsC/AL9Av4C/wMAAwEDAgMDAwQDBQMGAwcDCAMJAwoDCwMMAw0DDgMPAxADEQMSAxMDFAMVAxYDFwMYAxkDGgMbAxwDHQMeAx8DIAMhAyIDIwMkAyUDJgMnAygDKQMqAysDLAMtAy4DLwMwAzEDMgMzAzQDNQM2AzcDOAM5AzoDOwM8Az0DPgM/A0ADQQNCA0MDRANFA0YDRwNIA0kDSgNLA0wDTQNOA08DUANRA1IDUwNUA1UDVgNXA1gDWQNaA1sDXANdA14DXwNgA2EDYgNjA2QDZQNmA2cDaANpA2oDawNsA20DbgNvA3ADcQNyA3MDdAN1A3YDdwN4A3kDegN7A3wDfQN+A38DgAOBA4IDgwOEA4UDhgOHA4gDiQOKA4sDjAONA44DjwOQA5EDkgOTA5QDlQOWA5cDmAOZA5oDmwOcA50DngOfA6ADoQOiA6MDpAOlA6YDpwOoA6kDqgOrA6wDrQOuA68DsAOxAJQDsgOzA7QDtQO2A7cDuAO5A7oDuwO8A70DvgO/A8ADwQPCA8MDxAPFA8YDxwPIA8kDygPLA8wDzQPOA88D0APRA9ID0wPUA9UD1gPXA9gD2QPaA9sD3APdA94D3wPgA+ED4gPjA+QD5QPmA+cD6APpA+oD6wPsA+0FZ2xhc3MFbXVzaWMGc2VhcmNoCGVudmVsb3BlBWhlYXJ0BHN0YXIKc3Rhcl9lbXB0eQR1c2VyBGZpbG0IdGhfbGFyZ2UCdGgHdGhfbGlzdAJvawZyZW1vdmUHem9vbV9pbgh6b29tX291dANvZmYGc2lnbmFsA2NvZwV0cmFzaARob21lCGZpbGVfYWx0BHRpbWUEcm9hZAxkb3dubG9hZF9hbHQIZG93bmxvYWQGdXBsb2FkBWluYm94C3BsYXlfY2lyY2xlBnJlcGVhdAdyZWZyZXNoCGxpc3RfYWx0BGxvY2sEZmxhZwpoZWFkcGhvbmVzCnZvbHVtZV9vZmYLdm9sdW1lX2Rvd24Jdm9sdW1lX3VwBnFyY29kZQdiYXJjb2RlA3RhZwR0YWdzBGJvb2sIYm9va21hcmsFcHJpbnQGY2FtZXJhBGZvbnQEYm9sZAZpdGFsaWMLdGV4dF9oZWlnaHQKdGV4dF93aWR0aAphbGlnbl9sZWZ0DGFsaWduX2NlbnRlcgthbGlnbl9yaWdodA1hbGlnbl9qdXN0aWZ5BGxpc3QLaW5kZW50X2xlZnQMaW5kZW50X3JpZ2h0DmZhY2V0aW1lX3ZpZGVvB3BpY3R1cmUGcGVuY2lsCm1hcF9tYXJrZXIGYWRqdXN0BHRpbnQEZWRpdAVzaGFyZQVjaGVjawRtb3ZlDXN0ZXBfYmFja3dhcmQNZmFzdF9iYWNrd2FyZAhiYWNrd2FyZARwbGF5BXBhdXNlBHN0b3AHZm9yd2FyZAxmYXN0X2ZvcndhcmQMc3RlcF9mb3J3YXJkBWVqZWN0DGNoZXZyb25fbGVmdA1jaGV2cm9uX3JpZ2h0CXBsdXNfc2lnbgptaW51c19zaWduC3JlbW92ZV9zaWduB29rX3NpZ24NcXVlc3Rpb25fc2lnbglpbmZvX3NpZ24Kc2NyZWVuc2hvdA1yZW1vdmVfY2lyY2xlCW9rX2NpcmNsZQpiYW5fY2lyY2xlCmFycm93X2xlZnQLYXJyb3dfcmlnaHQIYXJyb3dfdXAKYXJyb3dfZG93bglzaGFyZV9hbHQLcmVzaXplX2Z1bGwMcmVzaXplX3NtYWxsEGV4Y2xhbWF0aW9uX3NpZ24EZ2lmdARsZWFmBGZpcmUIZXllX29wZW4JZXllX2Nsb3NlDHdhcm5pbmdfc2lnbgVwbGFuZQhjYWxlbmRhcgZyYW5kb20HY29tbWVudAZtYWduZXQKY2hldnJvbl91cAxjaGV2cm9uX2Rvd24HcmV0d2VldA1zaG9wcGluZ19jYXJ0DGZvbGRlcl9jbG9zZQtmb2xkZXJfb3Blbg9yZXNpemVfdmVydGljYWwRcmVzaXplX2hvcml6b250YWwJYmFyX2NoYXJ0DHR3aXR0ZXJfc2lnbg1mYWNlYm9va19zaWduDGNhbWVyYV9yZXRybwNrZXkEY29ncwhjb21tZW50cw10aHVtYnNfdXBfYWx0D3RodW1ic19kb3duX2FsdAlzdGFyX2hhbGYLaGVhcnRfZW1wdHkHc2lnbm91dA1saW5rZWRpbl9zaWduB3B1c2hwaW4NZXh0ZXJuYWxfbGluawZzaWduaW4GdHJvcGh5C2dpdGh1Yl9zaWduCnVwbG9hZF9hbHQFbGVtb24FcGhvbmULY2hlY2tfZW1wdHkOYm9va21hcmtfZW1wdHkKcGhvbmVfc2lnbgd0d2l0dGVyCGZhY2Vib29rBmdpdGh1YgZ1bmxvY2sLY3JlZGl0X2NhcmQDcnNzA2hkZAhidWxsaG9ybgRiZWxsC2NlcnRpZmljYXRlCmhhbmRfcmlnaHQJaGFuZF9sZWZ0B2hhbmRfdXAJaGFuZF9kb3duEWNpcmNsZV9hcnJvd19sZWZ0EmNpcmNsZV9hcnJvd19yaWdodA9jaXJjbGVfYXJyb3dfdXARY2lyY2xlX2Fycm93X2Rvd24FZ2xvYmUGd3JlbmNoBXRhc2tzBmZpbHRlcglicmllZmNhc2UKZnVsbHNjcmVlbgVncm91cARsaW5rBWNsb3VkBmJlYWtlcgNjdXQEY29weQpwYXBlcl9jbGlwBHNhdmUKc2lnbl9ibGFuawdyZW9yZGVyAnVsAm9sDXN0cmlrZXRocm91Z2gJdW5kZXJsaW5lBXRhYmxlBW1hZ2ljBXRydWNrCXBpbnRlcmVzdA5waW50ZXJlc3Rfc2lnbhBnb29nbGVfcGx1c19zaWduC2dvb2dsZV9wbHVzBW1vbmV5CmNhcmV0X2Rvd24IY2FyZXRfdXAKY2FyZXRfbGVmdAtjYXJldF9yaWdodAdjb2x1bW5zBHNvcnQJc29ydF9kb3duB3NvcnRfdXAMZW52ZWxvcGVfYWx0CGxpbmtlZGluBHVuZG8FbGVnYWwJZGFzaGJvYXJkC2NvbW1lbnRfYWx0DGNvbW1lbnRzX2FsdARib2x0B3NpdGVtYXAIdW1icmVsbGEFcGFzdGUKbGlnaHRfYnVsYghleGNoYW5nZQ5jbG91ZF9kb3dubG9hZAxjbG91ZF91cGxvYWQHdXNlcl9tZAtzdGV0aG9zY29wZQhzdWl0Y2FzZQhiZWxsX2FsdAZjb2ZmZWUEZm9vZA1maWxlX3RleHRfYWx0CGJ1aWxkaW5nCGhvc3BpdGFsCWFtYnVsYW5jZQZtZWRraXQLZmlnaHRlcl9qZXQEYmVlcgZoX3NpZ24EZjBmZRFkb3VibGVfYW5nbGVfbGVmdBJkb3VibGVfYW5nbGVfcmlnaHQPZG91YmxlX2FuZ2xlX3VwEWRvdWJsZV9hbmdsZV9kb3duCmFuZ2xlX2xlZnQLYW5nbGVfcmlnaHQIYW5nbGVfdXAKYW5nbGVfZG93bgdkZXNrdG9wBmxhcHRvcAZ0YWJsZXQMbW9iaWxlX3Bob25lDGNpcmNsZV9ibGFuawpxdW90ZV9sZWZ0C3F1b3RlX3JpZ2h0B3NwaW5uZXIGY2lyY2xlBXJlcGx5CmdpdGh1Yl9hbHQQZm9sZGVyX2Nsb3NlX2FsdA9mb2xkZXJfb3Blbl9hbHQKZXhwYW5kX2FsdAxjb2xsYXBzZV9hbHQFc21pbGUFZnJvd24DbWVoB2dhbWVwYWQIa2V5Ym9hcmQIZmxhZ19hbHQOZmxhZ19jaGVja2VyZWQIdGVybWluYWwEY29kZQlyZXBseV9hbGwPc3Rhcl9oYWxmX2VtcHR5DmxvY2F0aW9uX2Fycm93BGNyb3AJY29kZV9mb3JrBnVubGluawd1bmlGMTI5C2V4Y2xhbWF0aW9uC3N1cGVyc2NyaXB0CXN1YnNjcmlwdAd1bmlGMTJEDHB1enpsZV9waWVjZQptaWNyb3Bob25lDm1pY3JvcGhvbmVfb2ZmBnNoaWVsZA5jYWxlbmRhcl9lbXB0eRFmaXJlX2V4dGluZ3Vpc2hlcgZyb2NrZXQGbWF4Y2RuEWNoZXZyb25fc2lnbl9sZWZ0EmNoZXZyb25fc2lnbl9yaWdodA9jaGV2cm9uX3NpZ25fdXARY2hldnJvbl9zaWduX2Rvd24FaHRtbDUEY3NzMwZhbmNob3IKdW5sb2NrX2FsdAhidWxsc2V5ZRNlbGxpcHNpc19ob3Jpem9udGFsEWVsbGlwc2lzX3ZlcnRpY2FsB3VuaUYxNDMJcGxheV9zaWduBnRpY2tldA5taW51c19zaWduX2FsdAtjaGVja19taW51cwhsZXZlbF91cApsZXZlbF9kb3duCmNoZWNrX3NpZ24JZWRpdF9zaWduB3VuaUYxNEMKc2hhcmVfc2lnbgdjb21wYXNzCGNvbGxhcHNlDGNvbGxhcHNlX3RvcAd1bmlGMTUyA2V1cgNnYnADdXNkA2lucgNqcHkDcnViA2tydwNidGMEZmlsZQlmaWxlX3RleHQQc29ydF9ieV9hbHBoYWJldAd1bmlGMTVFEnNvcnRfYnlfYXR0cmlidXRlcxZzb3J0X2J5X2F0dHJpYnV0ZXNfYWx0DXNvcnRfYnlfb3JkZXIRc29ydF9ieV9vcmRlcl9hbHQHdW5pRjE2NAd1bmlGMTY1DHlvdXR1YmVfc2lnbgd5b3V0dWJlBHhpbmcJeGluZ19zaWduDHlvdXR1YmVfcGxheQdkcm9wYm94DXN0YWNrZXhjaGFuZ2UJaW5zdGFncmFtBmZsaWNrcgNhZG4EZjE3MQ5iaXRidWNrZXRfc2lnbgZ0dW1ibHILdHVtYmxyX3NpZ24PbG9uZ19hcnJvd19kb3duDWxvbmdfYXJyb3dfdXAPbG9uZ19hcnJvd19sZWZ0EGxvbmdfYXJyb3dfcmlnaHQHd2luZG93cwdhbmRyb2lkBWxpbnV4B2RyaWJibGUFc2t5cGUKZm91cnNxdWFyZQZ0cmVsbG8GZmVtYWxlBG1hbGUGZ2l0dGlwA3N1bgd1bmlGMTg2B2FyY2hpdmUDYnVnAnZrBXdlaWJvBnJlbnJlbgd1bmlGMThDDnN0YWNrX2V4Y2hhbmdlB3VuaUYxOEUVYXJyb3dfY2lyY2xlX2FsdF9sZWZ0B3VuaUYxOTEOZG90X2NpcmNsZV9hbHQHdW5pRjE5Mwx2aW1lb19zcXVhcmUHdW5pRjE5NQ1wbHVzX3NxdWFyZV9vB3VuaUYxOTcHdW5pRjE5OAd1bmlGMTk5B3VuaUYxOUEHdW5pRjE5Qgd1bmlGMTlDB3VuaUYxOUQHdW5pRjE5RQd1bmlGMUEwBGYxYTEHdW5pRjFBMgd1bmlGMUEzBGYxYTQHdW5pRjFBNQd1bmlGMUE2B3VuaUYxQTcHdW5pRjFBOAd1bmlGMUE5B3VuaUYxQUEEZjFhYgd1bmlGMUFDB3VuaUYxQUQHdW5pRjFBRQd1bmlGMUIxCXVuaUYxQjEuMQd1bmlGMUIyB3VuaUYxQjMHdW5pRjFCNAd1bmlGMUI1B3VuaUYxQjYHdW5pRjFCNwd1bmlGMUI4B3VuaUYxQjkHdW5pRjFCQQd1bmlGMUJCB3VuaUYxQkMHdW5pRjFCRAd1bmlGMUJFB3VuaUYxQzAHdW5pRjFDMQd1bmlGMUMyB3VuaUYxQzMHdW5pRjFDNAd1bmlGMUM1B3VuaUYxQzYHdW5pRjFDNwd1bmlGMUM4B3VuaUYxQzkHdW5pRjFDQQd1bmlGMUNCB3VuaUYxQ0MHdW5pRjFDRAd1bmlGMUNFB3VuaUYxRDAHdW5pRjFEMQd1bmlGMUQyB3VuaUYxRDMHdW5pRjFENAd1bmlGMUQ1B3VuaUYxRDYHdW5pRjFENwd1bmlGMUQ4B3VuaUYxRDkHdW5pRjFEQQd1bmlGMURCB3VuaUYxREMHdW5pRjFERAd1bmlGMURFB3VuaUYxRTAHdW5pRjFFMQd1bmlGMUUyB3VuaUYxRTMHdW5pRjFFNAd1bmlGMUU1B3VuaUYxRTYHdW5pRjFFNwd1bmlGMUU4B3VuaUYxRTkHdW5pRjFFQQd1bmlGMUVCB3VuaUYxRUMHdW5pRjFFRAd1bmlGMUVFB3VuaUYxRjAHdW5pRjFGMQd1bmlGMUYyBGYxZjMHdW5pRjFGNAd1bmlGMUY1B3VuaUYxRjYHdW5pRjFGNwd1bmlGMUY4B3VuaUYxRjkHdW5pRjFGQQd1bmlGMUZCBGYxZmMHdW5pRjFGRAd1bmlGMUZFB3VuaUYyMDAHdW5pRjIwMQd1bmlGMjAyB3VuaUYyMDMHdW5pRjIwNAd1bmlGMjA1B3VuaUYyMDYHdW5pRjIwNwd1bmlGMjA4B3VuaUYyMDkHdW5pRjIwQQd1bmlGMjBCB3VuaUYyMEMHdW5pRjIwRAd1bmlGMjBFBGYyMTAHdW5pRjIxMQRmMjEyB3VuaUYyMTMHdW5pRjIxNAd1bmlGMjE1B3VuaUYyMTYHdW5pRjIxNwd1bmlGMjE4B3VuaUYyMTkHdW5pRjIxQQd1bmlGMjFCB3VuaUYyMUMHdW5pRjIxRAd1bmlGMjFFBXZlbnVzB3VuaUYyMjIHdW5pRjIyMwd1bmlGMjI0B3VuaUYyMjUHdW5pRjIyNgd1bmlGMjI3B3VuaUYyMjgHdW5pRjIyOQd1bmlGMjJBB3VuaUYyMkIHdW5pRjIyQwd1bmlGMjJEB3VuaUYyMkUHdW5pRjIyRgd1bmlGMjMwB3VuaUYyMzEHdW5pRjIzMgd1bmlGMjMzB3VuaUYyMzQHdW5pRjIzNQd1bmlGMjM2B3VuaUYyMzcHdW5pRjIzOAd1bmlGMjM5B3VuaUYyM0EHdW5pRjIzQgd1bmlGMjNDB3VuaUYyM0QHdW5pRjIzRQd1bmlGMjQwB3VuaUYyNDEHdW5pRjI0Mgd1bmlGMjQzB3VuaUYyNDQHdW5pRjI0NQd1bmlGMjQ2B3VuaUYyNDcHdW5pRjI0OAd1bmlGMjQ5B3VuaUYyNEEHdW5pRjI0Qgd1bmlGMjRDB3VuaUYyNEQHdW5pRjI0RQd1bmlGMjUwB3VuaUYyNTEHdW5pRjI1Mgd1bmlGMjUzB3VuaUYyNTQHdW5pRjI1NQd1bmlGMjU2B3VuaUYyNTcHdW5pRjI1OAd1bmlGMjU5B3VuaUYyNUEHdW5pRjI1Qgd1bmlGMjVDB3VuaUYyNUQHdW5pRjI1RQRmMjYwBGYyNjEHdW5pRjI2MgRmMjYzB3VuaUYyNjQHdW5pRjI2NQd1bmlGMjY2B3VuaUYyNjcHdW5pRjI2OAd1bmlGMjY5B3VuaUYyNkEHdW5pRjI2Qgd1bmlGMjZDB3VuaUYyNkQHdW5pRjI2RQd1bmlGMjcwB3VuaUYyNzEHdW5pRjI3Mgd1bmlGMjczB3VuaUYyNzQHdW5pRjI3NQd1bmlGMjc2B3VuaUYyNzcHdW5pRjI3OAd1bmlGMjc5B3VuaUYyN0EHdW5pRjI3Qgd1bmlGMjdDB3VuaUYyN0QEZjI3ZQd1bmlGMjgwB3VuaUYyODEHdW5pRjI4Mgd1bmlGMjgzB3VuaUYyODQHdW5pRjI4NQd1bmlGMjg2B3VuaUYyODcHdW5pRjI4OAd1bmlGMjg5B3VuaUYyOEEHdW5pRjI4Qgd1bmlGMjhDB3VuaUYyOEQHdW5pRjI4RQd1bmlGMjkwB3VuaUYyOTEHdW5pRjI5Mgd1bmlGMjkzB3VuaUYyOTQHdW5pRjI5NQd1bmlGMjk2B3VuaUYyOTcHdW5pRjI5OAd1bmlGMjk5B3VuaUYyOUEHdW5pRjI5Qgd1bmlGMjlDB3VuaUYyOUQHdW5pRjI5RQd1bmlGMkEwB3VuaUYyQTEHdW5pRjJBMgd1bmlGMkEzB3VuaUYyQTQHdW5pRjJBNQd1bmlGMkE2B3VuaUYyQTcHdW5pRjJBOAd1bmlGMkE5B3VuaUYyQUEHdW5pRjJBQgd1bmlGMkFDB3VuaUYyQUQHdW5pRjJBRQd1bmlGMkIwB3VuaUYyQjEHdW5pRjJCMgd1bmlGMkIzB3VuaUYyQjQHdW5pRjJCNQd1bmlGMkI2B3VuaUYyQjcHdW5pRjJCOAd1bmlGMkI5B3VuaUYyQkEHdW5pRjJCQgd1bmlGMkJDB3VuaUYyQkQHdW5pRjJCRQd1bmlGMkMwB3VuaUYyQzEHdW5pRjJDMgd1bmlGMkMzB3VuaUYyQzQHdW5pRjJDNQd1bmlGMkM2B3VuaUYyQzcHdW5pRjJDOAd1bmlGMkM5B3VuaUYyQ0EHdW5pRjJDQgd1bmlGMkNDB3VuaUYyQ0QHdW5pRjJDRQd1bmlGMkQwB3VuaUYyRDEHdW5pRjJEMgd1bmlGMkQzB3VuaUYyRDQHdW5pRjJENQd1bmlGMkQ2B3VuaUYyRDcHdW5pRjJEOAd1bmlGMkQ5B3VuaUYyREEHdW5pRjJEQgd1bmlGMkRDB3VuaUYyREQHdW5pRjJERQd1bmlGMkUwB3VuaUYyRTEHdW5pRjJFMgd1bmlGMkUzB3VuaUYyRTQHdW5pRjJFNQd1bmlGMkU2B3VuaUYyRTcHdW5pRjJFOAd1bmlGMkU5B3VuaUYyRUEHdW5pRjJFQgd1bmlGMkVDB3VuaUYyRUQHdW5pRjJFRRJQcml2YXRlVXNlQXJlYUU5MDASUHJpdmF0ZVVzZUFyZWFFOTAxElByaXZhdGVVc2VBcmVhRTkwMhJQcml2YXRlVXNlQXJlYUU5MDMSUHJpdmF0ZVVzZUFyZWFFOTA0ElByaXZhdGVVc2VBcmVhRTkwNRJQcml2YXRlVXNlQXJlYUU5MDYSUHJpdmF0ZVVzZUFyZWFFOTA3ElByaXZhdGVVc2VBcmVhRTkwOBJQcml2YXRlVXNlQXJlYUU5MDkSUHJpdmF0ZVVzZUFyZWFFOTBBElByaXZhdGVVc2VBcmVhRTkwQhJQcml2YXRlVXNlQXJlYUU5MEMSUHJpdmF0ZVVzZUFyZWFFOTBEElByaXZhdGVVc2VBcmVhRTkwRRJQcml2YXRlVXNlQXJlYUU5MEYSUHJpdmF0ZVVzZUFyZWFFOTEwElByaXZhdGVVc2VBcmVhRTkxMRJQcml2YXRlVXNlQXJlYUU5MTISUHJpdmF0ZVVzZUFyZWFFOTEzElByaXZhdGVVc2VBcmVhRTkxNBJQcml2YXRlVXNlQXJlYUU5MTUSUHJpdmF0ZVVzZUFyZWFFOTE2ElByaXZhdGVVc2VBcmVhRTkxNxJQcml2YXRlVXNlQXJlYUU5MTgSUHJpdmF0ZVVzZUFyZWFFOTE5ElByaXZhdGVVc2VBcmVhRTkxQRJQcml2YXRlVXNlQXJlYUU5MUISUHJpdmF0ZVVzZUFyZWFFOTFDElByaXZhdGVVc2VBcmVhRTkxRBJQcml2YXRlVXNlQXJlYUU5MUUSUHJpdmF0ZVVzZUFyZWFFOTFGElByaXZhdGVVc2VBcmVhRTkyMBJQcml2YXRlVXNlQXJlYUU5MjESUHJpdmF0ZVVzZUFyZWFFOTIyElByaXZhdGVVc2VBcmVhRTkyMxJQcml2YXRlVXNlQXJlYUU5MjQSUHJpdmF0ZVVzZUFyZWFFOTI1ElByaXZhdGVVc2VBcmVhRTkyNhJQcml2YXRlVXNlQXJlYUU5MjcSUHJpdmF0ZVVzZUFyZWFFOTI4ElByaXZhdGVVc2VBcmVhRTkyORJQcml2YXRlVXNlQXJlYUU5MkESUHJpdmF0ZVVzZUFyZWFFOTJCElByaXZhdGVVc2VBcmVhRTkzQRJQcml2YXRlVXNlQXJlYUU5NDISUHJpdmF0ZVVzZUFyZWFFOTQ2ElByaXZhdGVVc2VBcmVhRTk1OBJQcml2YXRlVXNlQXJlYUU5NzYSUHJpdmF0ZVVzZUFyZWFFOUEyElByaXZhdGVVc2VBcmVhRTlBRhJQcml2YXRlVXNlQXJlYUU5QjASUHJpdmF0ZVVzZUFyZWFFOUNBElByaXZhdGVVc2VBcmVhRTlEQxJQcml2YXRlVXNlQXJlYUU5REQSUHJpdmF0ZVVzZUFyZWFFOURFElByaXZhdGVVc2VBcmVhRUFCRRJQcml2YXRlVXNlQXJlYUVBQzASUHJpdmF0ZVVzZUFyZWFFQUMyFFJFUExBQ0VNRU5UQ0hBUkFDVEVSAAAAAAAB//8AAg==" } , t }(); t.StimulsoftFont = e }(e = t.Resources || (t.Resources = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { var e = function() { function t() {} return t }(); t.StiStyleConditionElement = e }(e = t.Elements || (t.Elements = {})) }(e = t.Conditions || (t.Conditions = {})) }(e = t.Styles || (t.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(r, i) { void 0 === i && (i = t.StiStyleConditionOperation.EqualTo); var n = e.call(this) || this; return n._operationComponentName = t.StiStyleConditionOperation.EqualTo, n._componentName = "", n._componentName = r, n._operationComponentName = i, n } return __extends(r, e), Object.defineProperty(r.prototype, "operationComponentName", { get: function() { return this._operationComponentName }, set: function(t) { this._operationComponentName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "componentName", { get: function() { return this._componentName }, set: function(t) { this._componentName = t }, enumerable: !0, configurable: !0 }), r }(e.StiStyleConditionElement); e.StiStyleConditionComponentNameElement = r }(r = e.Elements || (e.Elements = {})) }(e = t.Conditions || (t.Conditions = {})) }(e = t.Styles || (t.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(r, i) { void 0 === i && (i = t.StiStyleConditionOperation.EqualTo); var n = e.call(this) || this; return n._componentType = t.StiStyleComponentType.Text, n._operationComponentType = t.StiStyleConditionOperation.EqualTo, n._componentType = r, n._operationComponentType = i, n } return __extends(r, e), Object.defineProperty(r.prototype, "componentType", { get: function() { return this._componentType }, set: function(t) { this._componentType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "operationComponentType", { get: function() { return this._operationComponentType }, set: function(t) { this._operationComponentType = t }, enumerable: !0, configurable: !0 }), r }(e.StiStyleConditionElement); e.StiStyleConditionComponentTypeElement = r }(r = e.Elements || (e.Elements = {})) }(e = t.Conditions || (t.Conditions = {})) }(e = t.Styles || (t.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(r, i) { void 0 === i && (i = t.StiStyleConditionOperation.EqualTo); var n = e.call(this) || this; return n._operationLocation = t.StiStyleConditionOperation.EqualTo, n._location = t.StiStyleLocation.None, n._location = r, n._operationLocation = i, n } return __extends(r, e), Object.defineProperty(r.prototype, "operationLocation", { get: function() { return this._operationLocation }, set: function(t) { this._operationLocation = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "location", { get: function() { return this._location }, set: function(t) { this._location = t }, enumerable: !0, configurable: !0 }), r }(e.StiStyleConditionElement); e.StiStyleConditionLocationElement = r }(r = e.Elements || (e.Elements = {})) }(e = t.Conditions || (t.Conditions = {})) }(e = t.Styles || (t.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(r, i) { void 0 === i && (i = t.StiStyleConditionOperation.EqualTo); var n = e.call(this) || this; return n._placement = t.StiStyleComponentPlacement.None, n._operationPlacement = t.StiStyleConditionOperation.EqualTo, n._placement = r, n._operationPlacement = i, n } return __extends(r, e), Object.defineProperty(r.prototype, "placement", { get: function() { return this._placement }, set: function(t) { this._placement = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "operationPlacement", { get: function() { return this._operationPlacement }, set: function(t) { this._operationPlacement = t }, enumerable: !0, configurable: !0 }), r }(e.StiStyleConditionElement); e.StiStyleConditionPlacementElement = r }(r = e.Elements || (e.Elements = {})) }(e = t.Conditions || (t.Conditions = {})) }(e = t.Styles || (t.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(e) { var r; !function(e) { var r = function(e) { function r(r, i) { void 0 === i && (i = t.StiStyleConditionOperation.EqualTo); var n = e.call(this) || this; return n._placementNestedLevel = 1, n._operationPlacementNestedLevel = t.StiStyleConditionOperation.EqualTo, n._placementNestedLevel = r, n._operationPlacementNestedLevel = i, n } return __extends(r, e), Object.defineProperty(r.prototype, "placementNestedLevel", { get: function() { return this._placementNestedLevel }, set: function(t) { this._placementNestedLevel = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "operationPlacementNestedLevel", { get: function() { return this._operationPlacementNestedLevel }, set: function(t) { this._operationPlacementNestedLevel = t }, enumerable: !0, configurable: !0 }), r }(e.StiStyleConditionElement); e.StiStyleConditionPlacementNestedLevelElement = r }(r = e.Elements || (e.Elements = {})) }(e = t.Conditions || (t.Conditions = {})) }(e = t.Styles || (t.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r; !function(r) { var i = t.System.Enum , n = t.System.ICloneable , o = t.Report.Styles.Conditions.Elements.StiStyleConditionComponentNameElement , a = t.Report.Styles.Conditions.Elements.StiStyleConditionComponentTypeElement , s = t.Base.JsonReportObject.IStiJsonReportObject , l = t.Base.StiJson , u = function() { function r(t, r, i, n, o, a, s, l, u, c, m) { this._type = e.StiStyleConditionType.Placement, this._operationPlacement = e.StiStyleConditionOperation.EqualTo, this._operationPlacementNestedLevel = e.StiStyleConditionOperation.EqualTo, this._operationComponentType = e.StiStyleConditionOperation.EqualTo, this._operationLocation = e.StiStyleConditionOperation.EqualTo, this._operationComponentName = e.StiStyleConditionOperation.EqualTo, this._placement = e.StiStyleComponentPlacement.None, this._placementNestedLevel = 1, this._componentType = e.StiStyleComponentType.Text, this._location = e.StiStyleLocation.None, this._componentName = "", null == t || (t.stimulsoft.is(Array) ? this.fromElements(t) : (this._type = t, this._operationPlacement = r, this._operationPlacementNestedLevel = i, this._operationComponentType = n, this._operationLocation = o, this._operationComponentName = a, this._placement = s, this._placementNestedLevel = l, this._componentType = u, this._location = c, this._componentName = m)) } return r.prototype.implements = function() { return [n, s] } , r.prototype.saveToJsonObject = function(t) { var r = new l; return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyEnum("Type", e.StiStyleConditionType, this.type, e.StiStyleConditionType.Placement), r.addPropertyEnum("OperationPlacement", e.StiStyleConditionOperation, this.operationPlacement, e.StiStyleConditionOperation.EqualTo), r.addPropertyEnum("OperationPlacementNestedLevel", e.StiStyleConditionOperation, this.operationPlacementNestedLevel, e.StiStyleConditionOperation.EqualTo), r.addPropertyEnum("OperationComponentType", e.StiStyleConditionOperation, this.operationComponentType, e.StiStyleConditionOperation.EqualTo), r.addPropertyEnum("OperationLocation", e.StiStyleConditionOperation, this.operationLocation, e.StiStyleConditionOperation.EqualTo), r.addPropertyEnum("OperationComponentName", e.StiStyleConditionOperation, this.operationComponentName, e.StiStyleConditionOperation.EqualTo), r.addPropertyEnum("Placement", e.StiStyleComponentPlacement, this.placement, e.StiStyleComponentPlacement.None), r.addPropertyNumber("PlacementNestedLevel", this.placementNestedLevel, 1), r.addPropertyEnum("ComponentType", e.StiStyleComponentType, this.componentType, e.StiStyleComponentType.Text), r.addPropertyEnum("Location", e.StiStyleLocation, this.location, e.StiStyleLocation.None), r.addPropertyStringNullOrEmpty("ComponentName", this.componentName), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Type": this._type = i.parse(e.StiStyleConditionType, s.value); break; case "OperationPlacement": this._operationPlacement = i.parse(e.StiStyleConditionOperation, s.value); break; case "OperationPlacementNestedLevel": this._operationPlacementNestedLevel = i.parse(e.StiStyleConditionOperation, s.value); break; case "OperationComponentType": this._operationComponentType = i.parse(e.StiStyleConditionOperation, s.value); break; case "OperationLocation": this._operationLocation = i.parse(e.StiStyleConditionOperation, s.value); break; case "OperationComponentName": this._operationComponentName = i.parse(e.StiStyleConditionOperation, s.value); break; case "Placement": this._placement = i.parse(e.StiStyleComponentPlacement, s.value); break; case "PlacementNestedLevel": this._placementNestedLevel = s.value.stimulsoft.toNumber(); break; case "ComponentType": this._componentType = i.parse(e.StiStyleComponentType, s.value); break; case "Location": this._location = i.parse(e.StiStyleLocation, s.value); break; case "ComponentName": this._componentName = s.value; break } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , r.prototype.loadFromXml = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var n = t.childNodes[r]; switch (n.nodeName) { case "Type": this._type = i.parse(e.StiStyleConditionType, n.textContent); break; case "OperationPlacement": this._operationPlacement = i.parse(e.StiStyleConditionOperation, n.textContent); break; case "OperationPlacementNestedLevel": this._operationPlacementNestedLevel = i.parse(e.StiStyleConditionOperation, n.textContent); break; case "OperationComponentType": this._operationComponentType = i.parse(e.StiStyleConditionOperation, n.textContent); break; case "OperationLocation": this._operationLocation = i.parse(e.StiStyleConditionOperation, n.textContent); break; case "OperationComponentName": this._operationComponentName = i.parse(e.StiStyleConditionOperation, n.textContent); break; case "Placement": this._placement = i.parse(e.StiStyleComponentPlacement, n.textContent); break; case "PlacementNestedLevel": this._placementNestedLevel = n.textContent.stimulsoft.toNumber(); break; case "ComponentType": this._componentType = i.parse(e.StiStyleComponentType, n.textContent); break; case "Location": this._location = i.parse(e.StiStyleLocation, n.textContent); break; case "ComponentName": this._componentName = n.textContent; break } } } , r.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(r.prototype, "type", { get: function() { return this._type }, set: function(t) { this._type = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "operationPlacement", { get: function() { return this._operationPlacement }, set: function(t) { this._operationPlacement = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "operationPlacementNestedLevel", { get: function() { return this._operationPlacementNestedLevel }, set: function(t) { this._operationPlacementNestedLevel = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "operationComponentType", { get: function() { return this._operationComponentType }, set: function(t) { this._operationComponentType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "operationLocation", { get: function() { return this._operationLocation }, set: function(t) { this._operationLocation = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "operationComponentName", { get: function() { return this._operationComponentName }, set: function(t) { this._operationComponentName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "placement", { get: function() { return this._placement }, set: function(t) { this._placement = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "placementNestedLevel", { get: function() { return this._placementNestedLevel }, set: function(t) { this._placementNestedLevel = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "componentType", { get: function() { return this._componentType }, set: function(t) { this._componentType = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "location", { get: function() { return this._location }, set: function(t) { this._location = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "componentName", { get: function() { return this._componentName }, set: function(t) { this._componentName = t }, enumerable: !0, configurable: !0 }), r.prototype.fromElements = function(r) { var i, n; this.type = 0; try { for (var s = __values(r), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = u.stimulsoft.as(o); null != c && (this.type |= e.StiStyleConditionType.ComponentName, this.componentName = c.componentName, this.operationComponentName = c.operationComponentName); var m = u.stimulsoft.as(a); null != m && (this.type |= e.StiStyleConditionType.ComponentType, this.componentType = m.componentType, this.operationComponentType = m.operationComponentType); var p = u.stimulsoft.as(t.Report.Styles.Conditions.Elements.StiStyleConditionPlacementElement); null != p && (this.type |= e.StiStyleConditionType.Placement, this.placement = p.placement, this.operationPlacement = p.operationPlacement); var h = u.stimulsoft.as(t.Report.Styles.Conditions.Elements.StiStyleConditionPlacementNestedLevelElement); null != h && (this.type |= e.StiStyleConditionType.PlacementNestedLevel, this.placementNestedLevel = h.placementNestedLevel, this.operationPlacementNestedLevel = h.operationPlacementNestedLevel); var d = u.stimulsoft.as(t.Report.Styles.Conditions.Elements.StiStyleConditionLocationElement); null != d && (this.type |= e.StiStyleConditionType.Location, this.location = d.location, this.operationLocation = d.operationLocation) } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } } , r }(); r.StiStyleCondition = u }(r = e.Conditions || (e.Conditions = {})) }(r = e.Styles || (e.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[t.ComponentType = 1] = "ComponentType", t[t.Placement = 2] = "Placement", t[t.PlacementNestedLevel = 4] = "PlacementNestedLevel", t[t.ComponentName = 8] = "ComponentName", t[t.Location = 16] = "Location" }(e = t.StiStyleConditionType || (t.StiStyleConditionType = {})); var r; !function(t) { t[t.None = 0] = "None", t[t.ReportTitle = 1] = "ReportTitle", t[t.ReportSummary = 2] = "ReportSummary", t[t.PageHeader = 4] = "PageHeader", t[t.PageFooter = 8] = "PageFooter", t[t.GroupHeader = 16] = "GroupHeader", t[t.GroupFooter = 32] = "GroupFooter", t[t.Header = 64] = "Header", t[t.Footer = 128] = "Footer", t[t.ColumnHeader = 256] = "ColumnHeader", t[t.ColumnFooter = 512] = "ColumnFooter", t[t.Data = 1024] = "Data", t[t.DataEvenStyle = 2048] = "DataEvenStyle", t[t.DataOddStyle = 4096] = "DataOddStyle", t[t.Table = 8192] = "Table", t[t.Hierarchical = 16384] = "Hierarchical", t[t.Child = 32768] = "Child", t[t.Empty = 65536] = "Empty", t[t.Overlay = 131072] = "Overlay", t[t.Panel = 262144] = "Panel", t[t.Page = 524288] = "Page", t[t.AllExeptStyles = 1042431] = "AllExeptStyles" }(r = t.StiStyleComponentPlacement || (t.StiStyleComponentPlacement = {})); var i; !function(t) { t[t.Text = 1] = "Text", t[t.Primitive = 2] = "Primitive", t[t.Image = 4] = "Image", t[t.CrossTab = 8] = "CrossTab", t[t.Chart = 16] = "Chart", t[t.CheckBox = 32] = "CheckBox" }(i = t.StiStyleComponentType || (t.StiStyleComponentType = {})); var n; !function(t) { t[t.None = 0] = "None", t[t.TopLeft = 1] = "TopLeft", t[t.TopCenter = 2] = "TopCenter", t[t.TopRight = 4] = "TopRight", t[t.MiddleLeft = 8] = "MiddleLeft", t[t.MiddleCenter = 16] = "MiddleCenter", t[t.MiddleRight = 32] = "MiddleRight", t[t.BottomLeft = 64] = "BottomLeft", t[t.BottomCenter = 128] = "BottomCenter", t[t.BottomRight = 256] = "BottomRight", t[t.Left = 512] = "Left", t[t.Right = 1024] = "Right", t[t.Top = 2048] = "Top", t[t.Bottom = 4096] = "Bottom", t[t.CenterHorizontal = 8192] = "CenterHorizontal", t[t.CenterVertical = 16384] = "CenterVertical" }(n = t.StiStyleLocation || (t.StiStyleLocation = {})); var o; !function(t) { t[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" }(o = t.StiStyleConditionOperation || (t.StiStyleConditionOperation = {})) }(e = t.Styles || (t.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.Report.Styles.StiStyleLocation , i = t.Report.Components.Table.StiTable , n = t.Report.Styles.StiStyleComponentPlacement , o = t.Report.Styles.StiStyleConditionType , a = t.Report.Styles.StiStyleConditionOperation , s = t.Report.Styles.StiStyleComponentType , l = function() { function e() {} return e.isAllowStyle = function(e, l) { var u, c; try { for (var m = __values(l.conditions.list), p = m.next(); !p.done; p = m.next()) { var h = p.value , d = !0 , g = !0 , f = !0 , S = !0; if ((h.type & o.ComponentName) > 0) switch (h.operationComponentName) { case a.EqualTo: d = e.name == h.componentName; break; case a.NotEqualTo: d = e.name != h.componentName; break; case a.BeginningWith: d = null != e.name && e.name.stimulsoft.startsWith(h.componentName); break; case a.EndingWith: d = null != e.name && e.name.stimulsoft.endsWith(h.componentName); break; case a.Containing: d = null != e.name && e.name.stimulsoft.contains(h.componentName); break; case a.NotContaining: d = null != e.name && !e.name.stimulsoft.contains(h.componentName); break } if ((h.type & o.ComponentType) > 0 && (g = !1, (h.componentType & s.Chart) > 0 && e.stimulsoft.is(t.Report.Chart.IStiChart) && (g = !0), (h.componentType & s.Image) > 0 && e.stimulsoft.is(t.Report.Components.StiImage) && (g = !0), (h.componentType & s.Text) > 0 && e.stimulsoft.is(t.Report.Components.StiSimpleText) && (g = !0), (h.componentType & s.Primitive) > 0 && (e.stimulsoft.is(t.Report.Components.StiShape) || e.stimulsoft.is(t.Report.Components.StiPrimitive)) && (g = !0), (h.componentType & s.CheckBox) > 0 && e.stimulsoft.is(t.Report.Components.StiCheckBox) && (g = !0), h.operationComponentType == a.NotEqualTo && (g = !g)), (h.type & o.Location) > 0 && null != e.page && null != e.parent) { var A = Math.round2(e.page.unit.convertToHInches(e.left) / 10, 0) , y = Math.round2(e.page.unit.convertToHInches(e.top) / 10, 0) , w = Math.round2(e.page.unit.convertToHInches(e.width) / 10, 0) , b = Math.round2(e.page.unit.convertToHInches(e.height) / 10, 0) , v = Math.round2(e.page.unit.convertToHInches(e.parent.width) / 10, 0) , C = Math.round2(e.page.unit.convertToHInches(e.parent.height) / 10, 0) , E = A + w , B = y + b; S = !1, (h.location & r.Left) > 0 && y <= 0 && A <= 0 && b == C && (S = !0), (h.location & r.Right) > 0 && y <= 0 && E >= v && b == C && (S = !0), (h.location & r.Top) > 0 && A <= 0 && y <= 0 && w == v && (S = !0), (h.location & r.Bottom) > 0 && A <= 0 && B >= C && w == v && (S = !0), (h.location & r.CenterHorizontal) > 0 && y <= 0 && A > 0 && E < v && b == C && (S = !0), (h.location & r.CenterVertical) > 0 && A <= 0 && y > 0 && B < C && w == v && (S = !0), S || ((h.location & r.TopLeft) > 0 && y <= 0 && A <= 0 && (S = !0), (h.location & r.TopCenter) > 0 && y <= 0 && A > 0 && E < v && (S = !0), (h.location & r.TopRight) > 0 && y <= 0 && E >= v && (S = !0), (h.location & r.MiddleLeft) > 0 && y > 0 && B < C && A <= 0 && (S = !0), (h.location & r.MiddleCenter) > 0 && y > 0 && B < C && A > 0 && E < v && (S = !0), (h.location & r.MiddleRight) > 0 && y > 0 && B < C && E >= v && (S = !0), (h.location & r.BottomLeft) > 0 && B >= C && A <= 0 && (S = !0), (h.location & r.BottomCenter) > 0 && B >= C && A > 0 && E < v && (S = !0), (h.location & r.BottomRight) > 0 && B >= C && E >= v && (S = !0)), h.operationPlacement == a.NotEqualTo && (S = !S) } if ((h.type & o.Placement) > 0) { if (f = !1, (h.placement & n.ReportTitle) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiReportTitleBand) && (f = !0), (h.placement & n.ReportSummary) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiReportSummaryBand) && (f = !0), (h.placement & n.PageHeader) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiPageHeaderBand) && (f = !0), (h.placement & n.PageFooter) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiPageFooterBand) && (f = !0), (h.placement & n.GroupHeader) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiGroupHeaderBand) && (f = !0), (h.placement & n.GroupFooter) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiGroupFooterBand) && (f = !0), (h.placement & n.Header) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiHeaderBand) && (f = !0), (h.placement & n.Footer) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiFooterBand) && (f = !0), (h.placement & n.ColumnHeader) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiColumnHeaderBand) && (f = !0), (h.placement & n.ColumnFooter) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiColumnFooterBand) && (f = !0), (h.placement & n.Data) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiDataBand) && (f = !0), (h.placement & n.DataEvenStyle) > 0 && e.stimulsoft.is(t.Report.Components.StiDataBand) && (f = !0), (h.placement & n.DataOddStyle) > 0 && e.stimulsoft.is(t.Report.Components.StiDataBand) && (f = !0), (h.placement & n.Table) > 0 && e.parent.stimulsoft.is(i) && (f = !0), (h.placement & n.Hierarchical) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiHierarchicalBand) && (f = !0), (h.placement & n.Child) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiChildBand) && (f = !0), (h.placement & n.Empty) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiEmptyBand) && (f = !0), (h.placement & n.Overlay) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiOverlayBand) && (f = !0), (h.placement & n.Panel) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiPanel) && (f = !0), (h.placement & n.Page) > 0 && e.parent.stimulsoft.is(t.Report.Components.StiPage) && (f = !0), f && (h.type & o.PlacementNestedLevel) > 0) { var T = 1 , I = e.parent; ((h.placement & n.DataEvenStyle) > 0 || (h.placement & n.DataOddStyle) > 0) && (I = e); var x = I.stimulsoft.as(t.Report.Components.StiBand); null != x && (T = x.nestedLevel), h.operationPlacementNestedLevel == a.EqualTo ? f = T == h.placementNestedLevel : h.operationPlacementNestedLevel == a.NotEqualTo ? f = T != h.placementNestedLevel : h.operationPlacementNestedLevel == a.GreaterThan ? f = T > h.placementNestedLevel : h.operationPlacementNestedLevel == a.GreaterThanOrEqualTo ? f = T >= h.placementNestedLevel : h.operationPlacementNestedLevel == a.LessThan ? f = T < h.placementNestedLevel : h.operationPlacementNestedLevel == a.LessThanOrEqualTo && (f = T <= h.placementNestedLevel) } h.operationPlacement == a.NotEqualTo && (f = !f) } if (!(d && g && f && S)) return !1 } } catch (t) { u = { error: t } } finally { try { p && !p.done && (c = m.return) && c.call(m) } finally { if (u) throw u.error } } return !0 } , e }(); e.StiStyleConditionHelper = l }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { t.IStiBaseStyle = "IStiBaseStyle" }(e = t.Styles || (t.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.Report.Components.Gauge.IStiGauge , i = t.System.Exception , n = t.Base.StiJsonReportObjectHelper , o = t.System.Drawing.Font , a = t.System.Drawing.ColorTranslator , s = t.Report.Styles.StiBaseStyle , l = t.Base.Drawing.StiBrush , u = t.Base.Drawing.StiEmptyBrush , c = t.Base.Drawing.StiSolidBrush , m = t.System.Drawing.Color , p = function(s) { function p(t, e, r) { void 0 === t && (t = ""), void 0 === e && (e = ""), void 0 === r && (r = null); var i = s.call(this, t, e, r) || this; return i.brush = new c(m.white), i.borderColor = m.transparent, i.borderWidth = 0, i.foreColor = m.black, i.tickMarkMajorBrush = new c(a.fromHtml("#990000")), i.tickMarkMajorBorder = new c(a.fromHtml("#0bac45")), i.tickMarkMajorBorderWidth = 1, i.tickMarkMinorBrush = new c(a.fromHtml("#4472c4")), i.tickMarkMinorBorder = new c(a.fromHtml("#4472c4")), i.tickMarkMinorBorderWidth = 1, i.tickLabelMajorTextBrush = new c(a.fromHtml("#FF33475B")), i.tickLabelMajorFont = new o("Arial",10), i.tickLabelMinorTextBrush = new c(a.fromHtml("#FF33475B")), i.tickLabelMinorFont = new o("Arial",10), i.markerBrush = new c(a.fromHtml("#70ad47")), i.linearBarBrush = new c(a.fromHtml("#4472c4")), i.linearBarBorderBrush = new u, i.linearBarEmptyBrush = new u, i.linearBarEmptyBorderBrush = new u, i.radialBarBrush = new c(a.fromHtml("#ffc000")), i.radialBarBorderBrush = new u, i.radialBarEmptyBrush = new c(a.fromHtml("#43682b")), i.radialBarEmptyBorderBrush = new u, i.needleBrush = new c(a.fromHtml("#ffc000")), i.needleBorderBrush = new u, i.needleBorderWidth = 1, i.needleCapBrush = new c(a.fromHtml("#ffc000")), i.needleCapBorderBrush = new c(a.fromHtml("#ffc000")), i } return __extends(p, s), p.prototype.saveToJsonObject = function(t) { var e = s.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("Brush", n.Serialize.jBrush(this.brush)), e.addPropertyStringNullOrEmpty("BorderColor", n.Serialize.jColor(this.borderColor, m.transparent)), e.addPropertyStringNullOrEmpty("ForeColor", n.Serialize.jColor(this.foreColor, m.black)), e.addPropertyNumber("BorderWidth", this.borderWidth, 0), e.addPropertyStringNullOrEmpty("TickMarkMajorBrush", n.Serialize.jBrush(this.tickMarkMajorBrush)), e.addPropertyStringNullOrEmpty("TickMarkMajorBorder", n.Serialize.jBrush(this.tickMarkMajorBorder)), e.addPropertyNumber("TickMarkMajorBorderWidth", this.tickMarkMajorBorderWidth, 1), e.addPropertyStringNullOrEmpty("TickMarkMinorBrush", n.Serialize.jBrush(this.tickMarkMinorBrush)), e.addPropertyStringNullOrEmpty("TickMarkMinorBorder", n.Serialize.jBrush(this.tickMarkMinorBorder)), e.addPropertyNumber("TickMarkMinorBorderWidth", this.tickMarkMinorBorderWidth, 1), e.addPropertyStringNullOrEmpty("TickLabelMajorTextBrush", n.Serialize.jBrush(this.tickLabelMajorTextBrush)), e.addPropertyStringNullOrEmpty("TickLabelMajorFont", n.Serialize.fontArial8(this.tickLabelMajorFont)), e.addPropertyStringNullOrEmpty("TickLabelMinorTextBrush", n.Serialize.jBrush(this.tickLabelMinorTextBrush)), e.addPropertyStringNullOrEmpty("TickLabelMinorFont", n.Serialize.fontArial8(this.tickLabelMinorFont)), e.addPropertyStringNullOrEmpty("MarkerBrush", n.Serialize.jBrush(this.markerBrush)), e.addPropertyStringNullOrEmpty("LinearBarBrush", n.Serialize.jBrush(this.linearBarBrush)), e.addPropertyStringNullOrEmpty("LinearBarBorderBrush", n.Serialize.jBrush(this.linearBarBorderBrush)), e.addPropertyStringNullOrEmpty("LinearBarEmptyBrush", n.Serialize.jBrush(this.linearBarEmptyBrush)), e.addPropertyStringNullOrEmpty("LinearBarEmptyBorderBrush", n.Serialize.jBrush(this.linearBarEmptyBorderBrush)), e.addPropertyStringNullOrEmpty("RadialBarBrush", n.Serialize.jBrush(this.radialBarBrush)), e.addPropertyStringNullOrEmpty("RadialBarBorderBrush", n.Serialize.jBrush(this.radialBarBorderBrush)), e.addPropertyStringNullOrEmpty("RadialBarEmptyBrush", n.Serialize.jBrush(this.radialBarEmptyBrush)), e.addPropertyStringNullOrEmpty("RadialBarEmptyBorderBrush", n.Serialize.jBrush(this.radialBarEmptyBorderBrush)), e.addPropertyStringNullOrEmpty("NeedleBrush", n.Serialize.jBrush(this.needleBrush)), e.addPropertyStringNullOrEmpty("NeedleBorderBrush", n.Serialize.jBrush(this.needleBorderBrush)), e.addPropertyNumber("NeedleBorderWidth", this.needleBorderWidth, 1), e.addPropertyStringNullOrEmpty("NeedleCapBrush", n.Serialize.jBrush(this.needleCapBrush)), e.addPropertyStringNullOrEmpty("NeedleCapBorderBrush", n.Serialize.jBrush(this.needleCapBorderBrush)), e } , p.prototype.loadFromJsonObject = function(t) { var e, r; 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 "Brush": this.brush = n.Deserialize.brush(a.value); break; case "BorderColor": this.borderColor = n.Deserialize.color(a.value); break; case "ForeColor": this.foreColor = n.Deserialize.color(a.value); break; case "BorderWidth": this.borderWidth = a.value.stimulsoft.toNumber(); break; case "TickMarkMajorBrush": this.tickMarkMajorBrush = n.Deserialize.brush(a.value); break; case "TickMarkMajorBorder": this.tickMarkMajorBorder = n.Deserialize.brush(a.value); break; case "TickMarkMajorBorderWidth": this.tickMarkMajorBorderWidth = a.value.stimulsoft.toNumber(); break; case "TickMarkMinorBrush": this.tickMarkMinorBrush = n.Deserialize.brush(a.value); break; case "TickMarkMinorBorder": this.tickMarkMinorBorder = n.Deserialize.brush(a.value); break; case "TickMarkMajorBorderWidth": this.tickMarkMajorBorderWidth = a.value.stimulsoft.toNumber(); break; case "TickLabelMajorTextBrush": this.tickLabelMajorTextBrush = n.Deserialize.brush(a.value); break; case "TickLabelMajorFont": this.tickLabelMajorFont = n.Deserialize.font(a.value, this.tickLabelMajorFont); break; case "TickMarkMinorBorderWidth": this.tickMarkMinorBorderWidth = a.value.toNummber(); break; case "TickLabelMinorTextBrush": this.tickLabelMinorTextBrush = n.Deserialize.brush(a.value); break; case "TickLabelMinorFont": this.tickLabelMinorFont = n.Deserialize.font(a.value, this.tickLabelMinorFont); break; case "MarkerBrush": this.markerBrush = n.Deserialize.brush(a.value); break; case "LinearBarBrush": this.linearBarBrush = n.Deserialize.brush(a.value); break; case "LinearBarBorderBrush": this.linearBarBorderBrush = n.Deserialize.brush(a.value); break; case "LinearBarEmptyBrush": this.linearBarEmptyBrush = n.Deserialize.brush(a.value); break; case "LinearBarEmptyBorderBrush": this.linearBarEmptyBorderBrush = n.Deserialize.brush(a.value); break; case "RadialBarBrush": this.radialBarBrush = n.Deserialize.brush(a.value); break; case "RadialBarBorderBrush": this.radialBarBorderBrush = n.Deserialize.brush(a.value); break; case "RadialBarEmptyBrush": this.radialBarEmptyBrush = n.Deserialize.brush(a.value); break; case "RadialBarEmptyBorderBrush": this.radialBarEmptyBorderBrush = n.Deserialize.brush(a.value); break; case "NeedleBrush": this.needleBrush = n.Deserialize.brush(a.value); break; case "NeedleBorderBrush": this.needleBorderBrush = n.Deserialize.brush(a.value); break; case "NeedleBorderWidth": this.needleBorderWidth = a.value.stimulsoft.toNumber(); break; case "NeedleCapBrush": this.needleCapBrush = n.Deserialize.brush(a.value); break; case "NeedleCapBorderBrush": this.needleCapBorderBrush = n.Deserialize.brush(a.value); break } } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , p.prototype.loadFromXml = function(e) { s.prototype.loadFromXml.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Brush": this.brush = l.loadFromXml(i.textContent); break; case "BorderColor": this.borderColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "ForeColor": this.foreColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "BorderWidth": this.borderWidth = i.textContent.stimulsoft.toNumber(); break; case "TickMarkMajorBrush": this.tickMarkMajorBrush = l.loadFromXml(i.textContent); break; case "TickMarkMajorBorder": this.tickMarkMajorBorder = l.loadFromXml(i.textContent); break; case "TickMarkMajorBorderWidth": this.tickMarkMajorBorderWidth = i.textContent.stimulsoft.toNumber(); break; case "TickMarkMinorBrush": this.tickMarkMinorBrush = l.loadFromXml(i.textContent); break; case "TickMarkMinorBorder": this.tickMarkMinorBorder = l.loadFromXml(i.textContent); break; case "TickMarkMajorBorderWidth": this.tickMarkMajorBorderWidth = i.textContent.stimulsoft.toNumber(); break; case "TickLabelMajorTextBrush": this.tickLabelMajorTextBrush = l.loadFromXml(i.textContent); break; case "TickLabelMajorFont": this.tickLabelMajorFont = t.System.Convert.toFont(i.textContent); break; case "TickMarkMinorBorderWidth": this.tickMarkMinorBorderWidth = i.textContent.stimulsoft.toNumber(); break; case "TickLabelMinorTextBrush": this.tickLabelMinorTextBrush = l.loadFromXml(i.textContent); break; case "TickLabelMinorFont": this.tickLabelMinorFont = t.System.Convert.toFont(i.textContent); break; case "MarkerBrush": this.markerBrush = l.loadFromXml(i.textContent); break; case "LinearBarBrush": this.linearBarBrush = l.loadFromXml(i.textContent); break; case "LinearBarBorderBrush": this.linearBarBorderBrush = l.loadFromXml(i.textContent); break; case "LinearBarEmptyBrush": this.linearBarEmptyBrush = l.loadFromXml(i.textContent); break; case "LinearBarEmptyBorderBrush": this.linearBarEmptyBorderBrush = l.loadFromXml(i.textContent); break; case "RadialBarBrush": this.radialBarBrush = l.loadFromXml(i.textContent); break; case "RadialBarBorderBrush": this.radialBarBorderBrush = l.loadFromXml(i.textContent); break; case "RadialBarEmptyBrush": this.radialBarEmptyBrush = l.loadFromXml(i.textContent); break; case "RadialBarEmptyBorderBrush": this.radialBarEmptyBorderBrush = l.loadFromXml(i.textContent); break; case "NeedleBrush": this.needleBrush = l.loadFromXml(i.textContent); break; case "NeedleBorderBrush": this.needleBorderBrush = l.loadFromXml(i.textContent); break; case "NeedleBorderWidth": this.needleBorderWidth = i.textContent.stimulsoft.toNumber(); break; case "NeedleCapBrush": this.needleCapBrush = l.loadFromXml(i.textContent); break; case "NeedleCapBorderBrush": this.needleCapBorderBrush = l.loadFromXml(i.textContent); break } } } , Object.defineProperty(p.prototype, "componentId", { get: function() { return e.StiComponentId.StiGaugeStyle }, enumerable: !0, configurable: !0 }), p.prototype.getStyleFromComponent = function(t, n) { if (n != e.StiStyleElements.All) throw new i("StiGaugeStyle support only StiStyleElements.All."); if (null != t.stimulsoft.as(r) && (n & e.StiStyleElements.Brush) > 0) { var o = t; this.brush = o.brush.clone() } } , p.prototype.setStyleToComponent = function(t) {} , p }(s); e.StiGaugeStyle = p }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.Base.StiJsonReportObjectHelper , i = t.Report.Styles.StiBaseStyle , n = t.Base.Drawing.StiColorUtils , o = t.System.Drawing.ColorTranslator , a = t.System.Drawing.Color , s = function(i) { function s(t, e, r) { void 0 === t && (t = ""), void 0 === e && (e = ""); var s = i.call(this, t, e, r) || this; return s.backColor = a.white, s.glyphColor = o.fromHtml("#3498db"), s.foreColor = o.fromHtml("#8c8c8c"), s.hotBackColor = n.light(a.lightGray, 15), s.hotForeColor = a.dimGray, s.positiveColor = a.green, s.negativeColor = a.red, s } return __extends(s, i), s.prototype.saveToJsonObject = function(t) { var e = i.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("BackColor", r.Serialize.jColor(this.backColor, a.white)), e.addPropertyStringNullOrEmpty("GlyphColor", r.Serialize.jColor(this.glyphColor, o.fromHtml("#3498db"))), e.addPropertyStringNullOrEmpty("ForeColor", r.Serialize.jColor(this.foreColor, o.fromHtml("#8c8c8c"))), e.addPropertyStringNullOrEmpty("HotBackColor", r.Serialize.jColor(this.hotBackColor, n.light(a.lightGray, 15))), e.addPropertyStringNullOrEmpty("PositiveColor", r.Serialize.jColor(this.positiveColor, a.green)), e.addPropertyStringNullOrEmpty("NegativeColor", r.Serialize.jColor(this.negativeColor, a.red)), e } , s.prototype.loadFromJsonObject = function(t) { var e, n; i.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "BackColor": this.backColor = r.Deserialize.color(s.value); break; case "GlyphColor": this.glyphColor = r.Deserialize.color(s.value); break; case "ForeColor": this.foreColor = r.Deserialize.color(s.value); break; case "HotBackColor": this.hotBackColor = r.Deserialize.color(s.value); break; case "PositiveColor": this.positiveColor = r.Deserialize.color(s.value); break; case "NegativeColor": this.negativeColor = r.Deserialize.color(s.value); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (e) throw e.error } } } , s.prototype.loadFromXml = function(e) { i.prototype.loadFromXml.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var n = e.childNodes[r]; switch (n.nodeName) { case "BackColor": this.backColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "GlyphColor": this.glyphColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "ForeColor": this.foreColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "HotBackColor": this.hotBackColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "PositiveColor": this.positiveColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "NegativeColor": this.negativeColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break } } } , s.prototype.getStyleFromComponent = function(t, r) { if (r != e.StiStyleElements.All) throw new Error("StiIndicatorStyle support only StiStyleElements.All.") } , s.prototype.setStyleToComponent = function(t) {} , s }(i); e.StiIndicatorStyle = s }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.Base.StiJsonReportObjectHelper , i = t.System.Drawing.Color , n = t.System.Drawing.ColorTranslator , o = t.Report.Styles.StiBaseStyle , a = function(o) { function a(t, e, r) { void 0 === t && (t = ""), void 0 === e && (e = ""); var a = o.call(this, t, e, r) || this; return a.trackColor = n.fromHtml("#e7ebec"), a.bandColor = n.fromHtml("#3498db"), a.seriesColors = [n.fromHtml("#3498db"), n.fromHtml("#ef717a"), n.fromHtml("#6dcbb3"), n.fromHtml("#f28161"), n.fromHtml("#fccd1b")], a.foreColor = n.fromHtml("#8c8c8c"), a.backColor = i.white, a } return __extends(a, o), a.prototype.saveToJsonObject = function(t) { var e = o.prototype.saveToJsonObject.call(this, t); return e.addPropertyStringNullOrEmpty("TrackColor", r.Serialize.jColor(this.trackColor, n.fromHtml("#e7ebec"))), e.addPropertyStringNullOrEmpty("BandColor", r.Serialize.jColor(this.bandColor, n.fromHtml("#3498db"))), e.addPropertyJObject("SeriesColors", r.Serialize.colorArray(this.seriesColors)), e.addPropertyStringNullOrEmpty("ForeColor", r.Serialize.jColor(this.foreColor, n.fromHtml("#8c8c8c"))), e.addPropertyStringNullOrEmpty("BackColor", r.Serialize.jColor(this.backColor, i.white)), e } , a.prototype.loadFromJsonObject = function(t) { var e, i; o.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), a = n.next(); !a.done; a = n.next()) { var s = a.value; switch (s.name) { case "TrackColor": this.trackColor = r.Deserialize.color(s.value); break; case "BandColor": this.bandColor = r.Deserialize.color(s.value); break; case "SeriesColors": this.seriesColors = r.Deserialize.colorArray(s.value); break; case "ForeColor": this.foreColor = r.Deserialize.color(s.value); break; case "BackColor": this.backColor = r.Deserialize.color(s.value); break } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } , a.prototype.loadFromXml = function(e) { o.prototype.loadFromXml.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "TrackColor": this.trackColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "BandColor": this.bandColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "SeriesColors": this.seriesColors = t.System.Text.StiReportObjectStringConverter.convertStringToColorArray(i.textContent); break; case "ForeColor": this.foreColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "BackColor": this.backColor = t.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break } } } , a.prototype.getStyleFromComponent = function(t, r) { if (r != e.StiStyleElements.All) throw new Error("StiIndicatorStyle support only StiStyleElements.All.") } , a.prototype.setStyleToComponent = function(t) {} , a }(o); e.StiProgressStyle = a }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.Report.Components.IStiTextFormat , n = t.Base.JsonReportObject.IStiJsonReportObject , o = t.Base.Drawing.StiImageConverter , a = t.Base.Drawing.StiBorder , s = t.Base.Drawing.StiBrush , l = t.Base.Drawing.StiSolidBrush , u = t.System.Drawing.Font , c = t.Base.Drawing.StiTextHorAlignment , m = t.Base.Drawing.StiVertAlignment , p = t.System.Drawing.Color , h = t.Report.Components.IStiFont , d = t.Report.Components.IStiBorder , g = t.Report.Components.IStiBrush , f = t.Report.Components.IStiTextBrush , S = t.Base.Drawing.StiHorAlignment , A = t.Base.StiJsonReportObjectHelper , y = t.System.Enum , w = function(w) { function b() { var e = null !== w && w.apply(this, arguments) || this; return e._horAlignment = c.Left, e._vertAlignment = m.Top, e._font = new u("Arial",8), e._border = new a, e._brush = new l(p.transparent), e._textBrush = new l(p.black), e.textFormat = new t.Report.Components.TextFormats.StiGeneralFormatService, e._allowUseHorAlignment = !1, e._allowUseVertAlignment = !1, e._allowUseImage = !1, e._allowUseFont = !0, e._allowUseBorderFormatting = !0, e._allowUseBorderSides = !0, e._allowUseBorderSidesFromLocation = !1, e._allowUseBrush = !0, e._allowUseTextBrush = !0, e.allowUseNegativeTextBrush = !1, e.allowUseTextFormat = !1, e._allowUseTextOptions = !0, e.negativeTextBrush = new l(p.red), e } return __extends(b, w), b.prototype.implements = function() { return b.ImplementsStiStyle || (b.ImplementsStiStyle = w.prototype.implements.call(this).concat([i, n])), b.ImplementsStiStyle } , b.prototype.saveToJsonObject = function(e) { var r = w.prototype.saveToJsonObject.call(this, e); return r.addPropertyEnum("HorAlignment", c, this.horAlignment, c.Left), r.addPropertyEnum("VertAlignment", m, this.vertAlignment, m.Top), r.addPropertyStringNullOrEmpty("Font", A.Serialize.fontArial8(this.font)), r.addPropertyStringNullOrEmpty("Border", A.Serialize.jBorder(this.border)), r.addPropertyStringNullOrEmpty("Brush", A.Serialize.jBrush(this.brush)), r.addPropertyStringNullOrEmpty("TextBrush", A.Serialize.jBrush(this.textBrush)), r.addPropertyStringNullOrEmpty("NegativeTextBrush", A.Serialize.jBrush(this.negativeTextBrush)), this.textFormat.stimulsoft.is(t.Report.Components.TextFormats.StiGeneralFormatService) || r.addPropertyJObject("TextFormat", this.textFormat.saveToJsonObject(e)), r.addPropertyBool("AllowUseHorAlignment", this.allowUseHorAlignment), r.addPropertyBool("AllowUseVertAlignment", this.allowUseVertAlignment), r.addPropertyBool("AllowUseImage", this.allowUseImage), r.addPropertyBool("AllowUseFont", this.allowUseFont, !0), r.addPropertyBool("AllowUseBorderFormatting", this.allowUseBorderFormatting, !0), r.addPropertyBool("AllowUseBorderSides", this.allowUseBorderSides, !0), r.addPropertyBool("AllowUseBorderSidesFromLocation", this.allowUseBorderSidesFromLocation), r.addPropertyBool("AllowUseBrush", this.allowUseBrush, !0), r.addPropertyBool("AllowUseTextBrush", this.allowUseTextBrush, !0), r.addPropertyBool("AllowUseTextOptions", this.allowUseTextOptions, !0), r.addPropertyBool("AllowUseNegativeTextBrush", this.allowUseNegativeTextBrush), r.addPropertyBool("AllowUseTextFormat", this.allowUseTextFormat), r.addPropertyStringNullOrEmpty("Image", o.imageToString(this.image)), r } , b.prototype.loadFromJsonObject = function(e) { var r, i; w.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), a = n.next(); !a.done; a = n.next()) { var s = a.value; switch (s.name) { case "HorAlignment": this._horAlignment = y.parse(c, s.value); break; case "VertAlignment": this._vertAlignment = y.parse(m, s.value); break; case "Font": this._font = A.Deserialize.font(s.value, this.font); break; case "Border": this._border = A.Deserialize.border(s.value); break; case "Brush": this._brush = A.Deserialize.brush(s.value); break; case "TextBrush": this._textBrush = A.Deserialize.brush(s.value); break; case "NegativeTextBrush": this.negativeTextBrush = A.Deserialize.brush(s.value); break; case "TextFormat": this.textFormat = t.Report.Components.TextFormats.StiFormatService.createFromJsonObject(s.value); break; case "AllowUseHorAlignment": this._allowUseHorAlignment = s.value.stimulsoft.toBoolean(); break; case "AllowUseVertAlignment": this._allowUseVertAlignment = s.value.stimulsoft.toBoolean(); break; case "AllowUseImage": this._allowUseImage = s.value.stimulsoft.toBoolean(); break; case "AllowUseFont": this._allowUseFont = s.value.stimulsoft.toBoolean(); break; case "AllowUseBorderFormatting": this._allowUseBorderFormatting = s.value.stimulsoft.toBoolean(); break; case "AllowUseBorderSides": this._allowUseBorderSides = s.value.stimulsoft.toBoolean(); break; case "AllowUseBorderSidesFromLocation": this._allowUseBorderSidesFromLocation = s.value.stimulsoft.toBoolean(); break; case "AllowUseBrush": this._allowUseBrush = s.value.stimulsoft.toBoolean(); break; case "AllowUseTextBrush": this._allowUseTextBrush = s.value.stimulsoft.toBoolean(); break; case "AllowUseTextOptions": this._allowUseTextOptions = s.value.stimulsoft.toBoolean(); break; case "AllowUseNegativeTextBrush": this.allowUseNegativeTextBrush = s.value.stimulsoft.toBoolean(); break; case "AllowUseTextFormat": this.allowUseTextFormat = s.value.stimulsoft.toBoolean(); break; case "Image": this._image = o.stringToImage(s.value); break } } } catch (t) { r = { error: t } } finally { try { a && !a.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , b.prototype.loadFromXml = function(e) { w.prototype.loadFromXml.call(this, e); for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "HorAlignment": case "ha": this._horAlignment = y.parse(c, i.textContent); break; case "VertAlignment": case "va": this._vertAlignment = y.parse(m, i.textContent); break; case "Font": case "fn": this._font = t.System.Convert.toFont(i.textContent); break; case "Border": case "br": this._border = a.loadFromXml(i.textContent); break; case "Brush": case "bh": this._brush = s.loadFromXml(i.textContent); break; case "TextBrush": case "tb": this._textBrush = s.loadFromXml(i.textContent); break; case "NegativeTextBrush": this.negativeTextBrush = s.loadFromXml(i.textContent); break; case "TextFormat": this.textFormat = t.Report.Components.TextFormats.StiFormatService.loadFormatFromXml(i, this.report); break; case "AllowUseHorAlignment": this._allowUseHorAlignment = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseVertAlignment": this._allowUseVertAlignment = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseImage": this._allowUseImage = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseFont": this._allowUseFont = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseBorderFormatting": this._allowUseBorderFormatting = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseBorderSides": this._allowUseBorderSides = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseBorderSidesFromLocation": this._allowUseBorderSidesFromLocation = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseBrush": this._allowUseBrush = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseTextBrush": this._allowUseTextBrush = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseTextOptions": this._allowUseTextOptions = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseNegativeTextBrush": this.allowUseNegativeTextBrush = i.textContent.stimulsoft.toBoolean(); break; case "AllowUseTextFormat": this.allowUseTextFormat = i.textContent.stimulsoft.toBoolean(); break; case "Image": this._image = o.stringToImage(i.textContent); break } } } , b.prototype.clone = function() { var t = w.prototype.clone.call(this).stimulsoft.as(b); return t._border = this._border.clone().stimulsoft.as(a), t._brush = this._brush.clone().stimulsoft.as(s), t._font = this._font.clone().stimulsoft.as(u), t._textBrush = this._textBrush.clone().stimulsoft.as(s), t } , Object.defineProperty(b.prototype, "horAlignment", { get: function() { return this._horAlignment }, set: function(t) { this._horAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "vertAlignment", { get: function() { return this._vertAlignment }, set: function(t) { this._vertAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "font", { get: function() { return this._font }, set: function(t) { this._font = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "border", { get: function() { return this._border }, set: function(t) { this._border = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "brush", { get: function() { return this._brush }, set: function(t) { this._brush = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "textBrush", { get: function() { return this._textBrush }, set: function(t) { this._textBrush = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseHorAlignment", { get: function() { return this._allowUseHorAlignment }, set: function(t) { this._allowUseHorAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseVertAlignment", { get: function() { return this._allowUseVertAlignment }, set: function(t) { this._allowUseVertAlignment = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseImage", { get: function() { return this._allowUseImage }, set: function(t) { this._allowUseImage = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseFont", { get: function() { return this._allowUseFont }, set: function(t) { this._allowUseFont = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseBorder", { get: function() { return this.allowUseBorderFormatting && this.allowUseBorderSides }, set: function(t) { this.allowUseBorderFormatting = t, this.allowUseBorderSides = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseBorderFormatting", { get: function() { return this._allowUseBorderFormatting }, set: function(t) { this._allowUseBorderFormatting = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseBorderSides", { get: function() { return this._allowUseBorderSides }, set: function(t) { this._allowUseBorderSides = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseBorderSidesFromLocation", { get: function() { return this._allowUseBorderSidesFromLocation }, set: function(t) { this._allowUseBorderSidesFromLocation = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseBrush", { get: function() { return this._allowUseBrush }, set: function(t) { this._allowUseBrush = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseTextBrush", { get: function() { return this._allowUseTextBrush }, set: function(t) { this._allowUseTextBrush = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(b.prototype, "allowUseTextOptions", { get: function() { return this._allowUseTextOptions }, set: function(t) { this._allowUseTextOptions = t }, enumerable: !0, configurable: !0 }), b.prototype.getStyleFromComponent = function(r, i, n) { void 0 === n && (n = null); var o = null == n ? null : n.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 m = !StiOptions.Engine.useParentStylesOldMode; if (null == o && (m = !1), (i & e.StiStyleElements.Font) > 0) if (r.stimulsoft.is(h)) { var p = r.stimulsoft.as(h); this.font = p.font.clone().stimulsoft.as(u), this.allowUseFont = !0 } else m && (this.font = o.font.clone().stimulsoft.as(u), this.allowUseFont = !0); if ((i & e.StiStyleElements.Border) > 0) if (r.stimulsoft.is(d)) { var p = r.stimulsoft.as(d); this.border = p.border.clone().stimulsoft.as(a), this.allowUseBorderFormatting = !0, this.allowUseBorderSides = !0 } else m && (this.border = o.border.clone().stimulsoft.as(a), this.allowUseFont = !0); if ((i & e.StiStyleElements.Brush) > 0) if (r.stimulsoft.is(g)) { var p = r.stimulsoft.as(g); this.brush = p.brush.clone().stimulsoft.as(s), this.allowUseBrush = !0 } else m && (this.brush = o.brush.clone().stimulsoft.as(s), this.allowUseBorderFormatting = !0, this.allowUseBorderSides = !0); if ((i & e.StiStyleElements.TextBrush) > 0) if (r.stimulsoft.is(f)) { var p = r.stimulsoft.as(f); this.textBrush = p.textBrush.clone().stimulsoft.as(s), this.allowUseTextBrush = !0 } else m && (this.textBrush = o.textBrush.clone().stimulsoft.as(s), this.allowUseTextBrush = !0); if (r.stimulsoft.is(t.Report.Components.IStiBackColor) && (i & e.StiStyleElements.Brush) > 0) { var p = r.stimulsoft.as(t.Report.Components.IStiBackColor); this.brush = new l(p.backColor), this.allowUseBrush = !0 } if (r.stimulsoft.is(t.Report.Components.IStiForeColor) && (i & e.StiStyleElements.TextBrush) > 0) { var p = r.stimulsoft.as(t.Report.Components.IStiForeColor); this.textBrush = new l(p.foreColor), this.allowUseTextBrush = !0 } if ((i & e.StiStyleElements.HorAlignment) > 0) if (r.stimulsoft.is(t.Report.Components.IStiTextHorAlignment)) { var p = r.stimulsoft.as(t.Report.Components.IStiTextHorAlignment); this.horAlignment = p.horAlignment, this.allowUseHorAlignment = !0 } else m && (this.horAlignment = o.horAlignment, this.allowUseHorAlignment = !0); if (r.stimulsoft.is(t.Report.Components.IStiHorAlignment) && (i & e.StiStyleElements.HorAlignment) > 0) { var p = r.stimulsoft.as(t.Report.Components.IStiHorAlignment); switch (p.horAlignment) { case S.Center: this.horAlignment = c.Center; break; case S.Left: this.horAlignment = c.Left; break; case S.Right: this.horAlignment = c.Right; break } this.allowUseHorAlignment = !0 } if ((i & e.StiStyleElements.VertAlignment) > 0) if (r.stimulsoft.is(t.Report.Components.IStiVertAlignment)) { var p = r.stimulsoft.as(t.Report.Components.IStiVertAlignment); this.vertAlignment = p.vertAlignment, this.allowUseVertAlignment = !0 } else m && (this.vertAlignment = o.vertAlignment, this.allowUseVertAlignment = !0); var A = r.stimulsoft.as(t.Report.Components.StiLinePrimitive); null != A && (this.border = new a(this.border.side,A.color,A.size,A.style), this.allowUseBorderFormatting = !0, this.allowUseBorderSides = !0) } , b.prototype.setStyleToComponent = function(e) { if (e.stimulsoft.is(t.Report.Chart.IStiChart)) return; var n = e.stimulsoft.as(t.Report.Components.StiLinePrimitive); if (e.stimulsoft.is(h) && this.allowUseFont) { var o = e.stimulsoft.as(h); o.font = this.font.clone().stimulsoft.as(u) } if (e.stimulsoft.is(d) && (this.allowUseBorderFormatting || this.allowUseBorderSides) && null == n) { var o = e.stimulsoft.as(d) , l = o.border.side; this.allowUseBorderFormatting && (o.border = this.border.clone().stimulsoft.as(a), o.border.side = l), this.allowUseBorderSides && (this.allowUseBorderSidesFromLocation && null != e.parent ? o.border.side = r.StiStylesHelper.getBorderSidesFromLocation(e) : o.border.side = this.border.side) } if (e.stimulsoft.is(g) && this.allowUseBrush) { var o = e.stimulsoft.as(g); o.brush = this.brush.clone().stimulsoft.as(s) } if (e.stimulsoft.is(f) && this.allowUseTextBrush) { var o = e.stimulsoft.as(f); o.textBrush = this.textBrush.clone().stimulsoft.as(s) } if (e.stimulsoft.is(t.Report.Components.IStiBackColor) && this.allowUseBrush) { var o = e.stimulsoft.as(t.Report.Components.IStiBackColor); o.backColor = s.toColor(this.brush) } if (e.stimulsoft.is(t.Report.Components.IStiForeColor) && this.allowUseTextBrush) { var o = e.stimulsoft.as(t.Report.Components.IStiForeColor); o.foreColor = s.toColor(this.textBrush) } if (e.stimulsoft.is(t.Report.Components.IStiTextHorAlignment) && this.allowUseHorAlignment) { var o = e.stimulsoft.as(t.Report.Components.IStiTextHorAlignment); o.horAlignment = this.horAlignment } if (e.stimulsoft.is(t.Report.Components.IStiTextOptions) && this.allowUseTextOptions) var o = e.stimulsoft.as(t.Report.Components.IStiTextOptions); if (e.stimulsoft.is(t.Report.Components.IStiHorAlignment) && this.allowUseHorAlignment) { var o = e.stimulsoft.as(t.Report.Components.IStiHorAlignment); switch (this.horAlignment) { case c.Center: o.horAlignment = S.Center; break; case c.Left: o.horAlignment = S.Left; break; case c.Right: o.horAlignment = S.Right; break } } if (e.stimulsoft.is(t.Report.Components.IStiVertAlignment) && this.allowUseVertAlignment) { var o = e.stimulsoft.as(t.Report.Components.IStiVertAlignment); o.vertAlignment = this.vertAlignment } if (e.stimulsoft.is(i) && this.allowUseTextFormat) { var o = e; o.textFormat = this.textFormat.clone() } if (e.stimulsoft.is(t.Report.Components.StiImage) && this.allowUseImage) { var o = e.stimulsoft.as(t.Report.Components.StiImage); o.image = this.image } null != n && this.allowUseBorderFormatting && (n.color = this.border.color, n.size = this.border.size, n.style = this.border.style) } , Object.defineProperty(b.prototype, "image", { get: function() { return this._image }, set: function(t) { this._image != t && (this._image = t) }, enumerable: !0, configurable: !0 }), b }(r.StiBaseStyle); r.StiStyle = w }(r = e.Styles || (e.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(r) { var i = t.System.StiString , n = t.System.Collections.CollectionBase , o = t.System.Collections.Hashtable , a = t.Base.JsonReportObject.IStiJsonReportObject , s = t.Base.StiJson , l = function(n) { function l(t) { void 0 === t && (t = null); var e = n.call(this) || this; return e.report = null, e.hash = new o, e.needUpdateHash = !0, e.lastCount = -1, e.report = t, e.needUpdateHash = !0, e } return __extends(l, n), l.prototype.implements = function() { return [a] } , l.prototype.saveToJsonObject = function(t) { var e, r; if (0 == this.list.length) return null; var i = new s , n = 0; try { for (var o = __values(this.list), a = o.next(); !a.done; a = o.next()) { var l = a.value; i.addPropertyJObject(n.toString(), l.saveToJsonObject(t)), n++ } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } return i } , l.prototype.loadFromJsonObject = function(t) { var i, n; try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s.value , u = l.properties().firstOrDefault(function(t) { return "Ident" == t.name }).value , c = null; switch (u) { case "StiChartStyle": c = new r.StiChartStyle; break; case "StiGaugeStyle": c = new e.StiGaugeStyle; break; case "StiIndicatorStyle": c = new e.StiIndicatorStyle; break; case "StiProgressStyle": c = new e.StiProgressStyle; break; case "StiCrossTabStyle": c = new r.StiCrossTabStyle; break; case "StiDialogStyle": c = new r.StiDialogStyle; break; case "StiMapStyle": c = new r.StiMapStyle; break; case "StiTableStyle": c = new e.StiTableStyle; break; case "StiStyle": c = new r.StiStyle; break } c.loadFromJsonObject(l), this.list.add(c) } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , l.prototype.loadFromXml = function(e) { 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.StiStyle": var n = new t.Report.Styles.StiStyle; n.loadFromXml(i), this.list.add(n); break; case "Stimulsoft.Report.StiChartStyle": var o = new t.Report.Styles.StiChartStyle; o.loadFromXml(i), this.list.add(o); break; case "Stimulsoft.Report.StiGaugeStyle": var a = new t.Report.StiGaugeStyle; a.loadFromXml(i), this.list.add(a); break; case "Stimulsoft.Report.StiMapStyle": var s = new t.Report.Styles.StiMapStyle; s.loadFromXml(i), this.list.add(s); break; case "Stimulsoft.Report.StiCrossTabStyle": var l = new t.Report.Styles.StiCrossTabStyle; l.loadFromXml(i), this.list.add(l); break; case "Stimulsoft.Report.StiDialogStyle": var u = new t.Report.Styles.StiDialogStyle; u.loadFromXml(i), this.list.add(u); break; case "Stimulsoft.Report.StiIndicatorStyle": var c = new t.Report.StiIndicatorStyle; c.loadFromXml(i), this.list.add(c); break; case "Stimulsoft.Report.StiProgressStyle": var m = new t.Report.StiProgressStyle; m.loadFromXml(i), this.list.add(m); break; case "Stimulsoft.Report.StiTableStyle": var p = new t.Report.StiTableStyle; p.loadFromXml(i), this.list.add(p); break } } } , l.prototype.add = function(t) { this.list.add(t), this.hash.set(t.name.toLowerCase(), t), t.report = this.report } , l.prototype.clear = function() { n.prototype.clear.call(this), this.hash.clear(), this.needUpdateHash = !0 } , l.prototype.addRange = function(t) { var e, r, i = t.stimulsoft.is(l) ? t.list : t; try { for (var n = __values(i), o = n.next(); !o.done; o = n.next()) { var a = o.value; this.add(a) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (e) throw e.error } } } , l.prototype.contains = function(t) { if (this.updateHash(), null == t) return !1; return this.hash.contains(t.stimulsoft.is(r.StiBaseStyle) ? t.name.toLowerCase() : t.toLowerCase()) } , l.prototype.insert = function(t, e) { n.prototype.insert.call(this, t, e), this.hash.set(e.name.toLowerCase(), e) } , l.prototype.remove = function(t) { n.prototype.remove.call(this, t), this.hash.remove(t.name.toLowerCase()) } , l.prototype.setByIndex = function(t, e) { this.setByIndex(t, e), this.needUpdateHash = !0 } , l.prototype.getByName = function(t) { var e, r; if (this.updateHash(), this.hash.contains(t.toLowerCase())) return this.hash.get(t.toLowerCase()); try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name.toLowerCase() == t.toLowerCase()) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return null } , l.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.add(e) } , l.prototype.updateHash = function() { var t, e; if (this.lastCount != this.length && (this.lastCount = this.length, this.needUpdateHash = !0), this.needUpdateHash) { this.hash.clear(); try { for (var r = __values(this.list), i = r.next(); !i.done; i = r.next()) { var n = i.value; this.hash.set(n.name.toLowerCase(), n) } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } this.needUpdateHash = !1 } } , l.prototype.getCustomChartStyle = function(e) { return null != (i.isNullOrWhiteSpace(e) ? null : this.getByName(e)) ? new t.Report.Chart.StiCustomStyle(e) : null } , l.prototype.getCustomGaugeStyle = function(e) { var r = i.isNullOrWhiteSpace(e) ? null : this.toList().firstOrDefault(function(t) { return t.name == e }); return null != r ? new t.Report.Gauge.StiCustomGaugeStyle(r) : null } , l }(n); r.StiStylesCollection = l }(r = e.Styles || (e.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.StiString , i = t.Report.Dictionary.StiFunctionsStrings , n = t.Report.Styles.StiStyle , o = t.Report.StiNestedFactor , a = t.Base.Drawing.StiSolidBrush , s = t.System.Drawing.FontStyle , l = t.Report.Styles.StiStyleConditionOperation , u = t.Base.Localization.StiLocalization , c = t.Report.Styles.StiStyleComponentPlacement , m = t.System.Drawing.Font , p = t.Report.Styles.StiStyleComponentType , h = t.Base.Drawing.StiPenStyle , d = t.Base.Drawing.StiBorderSides , g = t.Base.Drawing.StiBorder , f = t.Base.Drawing.StiColorUtils , S = t.System.Drawing.Color , A = function() { function e(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 = o.Normal, this.report = t } return Object.defineProperty(e.prototype, "showReportTitles", { get: function() { return this._showReportTitles }, set: function(t) { this._showReportTitles = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showReportSummaries", { get: function() { return this._showReportSummaries }, set: function(t) { this._showReportSummaries = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showPageHeaders", { get: function() { return this._showPageHeaders }, set: function(t) { this._showPageHeaders = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showPageFooters", { get: function() { return this._showPageFooters }, set: function(t) { this._showPageFooters = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showGroupHeaders", { get: function() { return this._showGroupHeaders }, set: function(t) { this._showGroupHeaders = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showGroupFooters", { get: function() { return this._showGroupFooters }, set: function(t) { this._showGroupFooters = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showHeaders", { get: function() { return this._showHeaders }, set: function(t) { this._showHeaders = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showDatas", { get: function() { return this._showDatas }, set: function(t) { this._showDatas = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showFooters", { get: function() { return this._showFooters }, set: function(t) { this._showFooters = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showBorders", { get: function() { return this._showBorders }, set: function(t) { this._showBorders = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "colorFactor", { get: function() { if (this.nestedFactor == o.High) return 1.5; if (this.nestedFactor == o.Normal) return 1; return .5 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "maxNestedLevel", { get: function() { return this._maxNestedLevel }, set: function(t) { this._maxNestedLevel = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "nestedFactor", { get: function() { return this._nestedFactor }, set: function(t) { this._nestedFactor = t }, enumerable: !0, configurable: !0 }), e.prototype.createStyles = function(t, e) { var n, o; S.fromArgb(0, 0, 0, 0).stimulsoft.equals(e) && (e = S.white); var A = (e.r + e.g + e.b) / 3 , y = f.dark(e, 100 * this.colorFactor) , w = new g(d.None,y,1,h.Solid) , b = p.Text | p.Image | p.Primitive | p.CheckBox , v = []; if (this.showReportTitles) { var C = new m("Arial",14,s.Bold) , E = A > 150 ? f.dark(e, 200) : e , B = new a(S.transparent) , T = new a(E) , I = i.toProperCase(u.get("Components", "StiReportTitleBand")).stimulsoft.replaceAll(" ", "_") , x = r.format("{0}_{1}1", t, I); this.createStyles1(x, this.showBorders, C, B, T, w, b, c.ReportTitle, 1, l.EqualTo, v), C = new m("Arial",10,s.Bold); var F = r.format("{0}_{1}2", t, I); this.createStyles1(F, this.showBorders, C, B, T, w, b, c.ReportTitle, 2, l.GreaterThanOrEqualTo, v) } if (this.showReportSummaries) { var D = new m("Arial",12,s.Bold) , E = A > 150 ? f.dark(e, 200) : e , R = new a(S.transparent) , P = new a(E) , N = i.toProperCase(u.get("Components", "StiReportSummaryBand")).stimulsoft.replaceAll(" ", "_") , k = r.format("{0}_{1}1", t, N); this.createStyles1(k, this.showBorders, D, R, P, w, b, c.ReportSummary, 1, l.EqualTo, v), D = new m("Arial",10,s.Bold); var M = r.format("{0}_{1}2", t, N); this.createStyles1(M, this.showBorders, D, R, P, w, b, c.ReportSummary, 2, l.GreaterThanOrEqualTo, v) } if (this.showPageHeaders) { var O = new m("Arial",10) , E = A > 150 ? f.dark(e, 200) : e , _ = new a(S.transparent) , L = new a(E) , j = i.toProperCase(u.get("Components", "StiPageHeaderBand")).stimulsoft.replaceAll(" ", "_"); j = r.format("{0}_{1}", t, j), this.createStyles1(j, this.showBorders, O, _, L, w, b, c.PageHeader, null, null, v) } if (this.showPageFooters) { var H = new m("Arial",10) , E = A > 150 ? f.dark(e, 200) : e , G = new a(S.transparent) , Q = new a(E) , Y = i.toProperCase(u.get("Components", "StiPageFooterBand")).stimulsoft.replaceAll(" ", "_"); Y = r.format("{0}_{1}", t, Y), this.createStyles1(Y, this.showBorders, H, G, Q, w, b, c.PageFooter, null, null, v) } if (this.showGroupHeaders) for (var U = 4 / this.maxNestedLevel, E = A > 150 ? f.dark(e, 150) : e, J = new a(E), W = 1; W <= this.maxNestedLevel; W++) { var V = Math.trunc(U * (W - 1)) , z = new m("Arial",13 - V,s.Bold) , X = new a(S.transparent) , K = W == this.maxNestedLevel ? l.GreaterThanOrEqualTo : l.EqualTo , Z = i.toProperCase(u.get("Components", "StiGroupHeaderBand")).stimulsoft.replaceAll(" ", "_"); Z = r.format("{0}_{1}{2}", t, Z, W), this.createStyles1(Z, this.showBorders, z, X, J, w, b, c.GroupHeader, W, K, v) } if (this.showGroupFooters) for (var U = 4 / this.maxNestedLevel, E = A > 150 ? f.dark(e, 150) : e, q = new a(E), W = 1; W <= this.maxNestedLevel; W++) { var V = Math.trunc(U * (W - 1)) , $ = new m("Arial",13 - V,s.Bold) , tt = new a(S.transparent) , K = 0 == W ? l.GreaterThanOrEqualTo : l.EqualTo , et = i.toProperCase(u.get("Components", "StiGroupFooterBand")).stimulsoft.replaceAll(" ", "_"); et = r.format("{0}_{1}{2}", t, et, W), this.createStyles1(et, this.showBorders, $, tt, q, w, b, c.GroupFooter, W, K, v) } if (this.showHeaders) { var rt = 100 / this.maxNestedLevel , it = new m("Arial",8,s.Bold) , E = f.dark(e, 200) , nt = new a(E); w.topmost = !0; for (var W = 1; W <= this.maxNestedLevel; W++) { var ot = Math.trunc(rt * (W - 1) * this.colorFactor); ot > 255 && (ot = 255); var at = new a(f.light(e, ot)) , K = W == this.maxNestedLevel ? l.GreaterThanOrEqualTo : l.EqualTo , st = i.toProperCase(u.get("Components", "StiHeaderBand")).stimulsoft.replaceAll(" ", "_"); st = r.format("{0}_{1}{2}", t, st, W), this.createStyles1(st, this.showBorders, it, at, nt, w, b, c.Header, W, K, v) } } if (this.showDatas) for (var rt = 60 / this.maxNestedLevel, lt = new m("Arial",8), E = f.dark(e, 200), ut = new a(E), W = 1; W <= this.maxNestedLevel; W++) { var ot = Math.trunc((150 + rt * (W - 1)) * this.colorFactor); ot > 255 && (ot = 255); var ct = new a(f.light(e, ot)) , mt = new a(f.light(e, .5 * ot)) , K = W == this.maxNestedLevel ? l.GreaterThanOrEqualTo : l.EqualTo , pt = i.toProperCase(u.get("Components", "StiDataBand")).stimulsoft.replaceAll(" ", "_"); pt = r.format("{0}_{1}{2}", t, pt, W), this.createStyles1(pt, this.showBorders, lt, new a(S.transparent), ut, w, b, c.Data, W, K, v), pt = i.toProperCase(u.get("Components", "StiDataBand")).stimulsoft.replaceAll(" ", "_"); var ht = u.get("PropertyMain", "OddStyle"); pt = r.format("{0}_{1}{2}_{3}", t, pt, W, ht), this.createStyles1(pt, this.showBorders, lt, ct, ut, w, null, c.DataOddStyle, W, K, v), pt = i.toProperCase(u.get("Components", "StiDataBand")).stimulsoft.replaceAll(" ", "_"); var dt = u.get("PropertyMain", "EvenStyle"); pt = r.format("{0}_{1}{2}_{3}", t, pt, W, dt), this.createStyles1(pt, this.showBorders, lt, mt, ut, w, null, c.DataEvenStyle, W, K, v) } if (this.showFooters) for (var rt = 100 / this.maxNestedLevel, gt = new m("Arial",8), E = f.dark(e, 200), ft = new a(E), W = 1; W <= this.maxNestedLevel; W++) { var ot = Math.trunc((rt * (W - 1) + 20) * this.colorFactor); ot > 255 && (ot = 255); var St = new a(f.light(e, ot)) , K = 0 == W ? l.GreaterThanOrEqualTo : l.EqualTo , At = i.toProperCase(u.get("Components", "StiFooterBand")).stimulsoft.replaceAll(" ", "_"); At = r.format("{0}_{1}{2}", t, At, W), this.createStyles1(At, this.showBorders, gt, St, ft, w, b, c.Footer, W, K, v) } try { for (var yt = __values(v), wt = yt.next(); !wt.done; wt = yt.next()) { wt.value.collectionName = t } } catch (t) { n = { error: t } } finally { try { wt && !wt.done && (o = yt.return) && o.call(yt) } finally { if (n) throw n.error } } return v } , e.prototype.createStyles1 = function(t, e, r, i, n, o, a, s, l, u, c) { var m, p, h = this.createStyles2(t, r, i, n, o, s, l, u, a, e); try { for (var d = __values(h), g = d.next(); !g.done; g = d.next()) { var f = g.value; c.add(f) } } catch (t) { m = { error: t } } finally { try { g && !g.done && (p = d.return) && p.call(d) } finally { if (m) throw m.error } } return h } , e.prototype.createStyles2 = function(t, e, r, i, n, o, a, s, l, u) { var m = []; n = new g(d.None,n.color,n.size,n.style,n.dropShadow,n.shadowSize,n.shadowBrush,n.topmost); var p = this.createStyle(t, e, r, i, n, o, a, s, l); return o == c.ReportTitle || o == c.ReportSummary || o == c.PageFooter || o == c.PageHeader ? p.allowUseBorderSidesFromLocation = !1 : p.allowUseBorderSidesFromLocation = u, m.add(p), m } , e.prototype.createStyle = function(e, r, i, o, a, s, l, u, c) { var m = new n(this.getStyleName(e)); m.font = r, m.brush = i, m.textBrush = o, m.border = a; var p = []; return null != u && null != l && p.add(new t.Report.Styles.Conditions.Elements.StiStyleConditionPlacementNestedLevelElement(l,u)), null != c && p.add(new t.Report.Styles.Conditions.Elements.StiStyleConditionComponentTypeElement(c)), p.add(new t.Report.Styles.Conditions.Elements.StiStyleConditionPlacementElement(s)), m.conditions.add(p.toArray()), m } , e.prototype.getStyleName = function(t) { var e, i, n = t, o = 2; while (!0) { var a = !1; try { for (var s = (e = void 0, __values(this.report.styles.list)), l = s.next(); !l.done; l = s.next()) { if (l.value.name == n) { a = !0; break } } } catch (t) { e = { error: t } } finally { try { l && !l.done && (i = s.return) && i.call(s) } finally { if (e) throw e.error } } if (!a) return n; n = r.format("{0}_{1}", t, o), o++ } } , e }(); e.StiStylesCreator = A }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.Report.Components.Gauge.IStiGauge , i = t.Report.Chart.IStiCustomStyleCoreXF , n = t.Report.Chart.IStiCustomStyle , o = t.Report.Chart.IStiChart , a = t.Report.Dashboard.IStiDashboardElementStyle , s = t.Report.Components.StiDataBand , l = t.Report.Components.StiCondition , u = t.Base.Drawing.StiBorderSides , c = function() { function t() {} return t.getBorderSidesFromLocation = function(t) { var e = u.None , r = Math.round2(t.page.unit.convertToHInches(t.left) / 10, 0) , i = Math.round2(t.page.unit.convertToHInches(t.top) / 10, 0) , n = 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) , s = Math.round2(t.page.unit.convertToHInches(t.top + t.height) / 10, 0); return r <= 0 && (e |= u.Left), i <= 0 && (e |= u.Top), a >= n && (e |= u.Right), s >= o && (e |= u.Bottom), e } , t.changeComponentStyleName = function(t, e, r) { if (t.componentStyle == e && (t.componentStyle = r), null != t.conditions && t.conditions.count > 0) for (var i = 0; i < t.conditions.count; i++) { var n = t.conditions.getByIndex(i).stimulsoft.as(l); null != n && n.style == e && (n.style = r) } this.changeDataBandStyleName(t, e, r), this.changeElementStyleName(t, e, r), this.changeChartStyleName(t, e, r), this.changeGaugeStyleName(t, e, r) } , t.changeDataBandStyleName = function(t, e, r) { var i = t.stimulsoft.as(s); if (null == i) return; i.evenStyle == e && (i.evenStyle = r), i.oddStyle == e && (i.oddStyle = r) } , t.changeElementStyleName = function(t, e, r) { var i = t.stimulsoft.as(a); if (null == i || i.customStyleName != e) return; i.customStyleName = r } , t.changeChartStyleName = function(t, e, r) { var a = t.stimulsoft.as(o); if (null == a || a.customStyleName != e) return; a.customStyleName = r; var s = a.style.stimulsoft.as(n); if (null == s) return; s.name = r; var l = s.core.stimulsoft.as(i); if (null == l) return; l.reportStyleName = r } , t.changeGaugeStyleName = function(t, e, i) { var n = t.stimulsoft.as(r); if (null == n || n.customStyleName != e) return; n.customStyleName = i } , t }(); e.StiStylesHelper = c }(r = e.Styles || (e.Styles = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r; !function(e) { var r = t.System.Drawing.Rectangle , i = t.System.Drawing.Size , n = function(t) { function e() { return null !== t && t.apply(this, arguments) || this } return __extends(e, t), Object.defineProperty(e.prototype, "rulerStep", { get: function() { return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "factor", { get: function() { return 100 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "shortName", { get: function() { return "in" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "name", { get: function() { return "Inches" }, enumerable: !0, configurable: !0 }), e.prototype.convertToHInches = function(e) { if (e.stimulsoft.is(r)) return t.prototype.convertRectangleToHInches.call(this, e); if (e.stimulsoft.is(i)) return t.prototype.convertSizeToHInches.call(this, e); return 100 * e } , e.prototype.convertFromHInches = function(e) { if (e.stimulsoft.is(r)) return t.prototype.convertRectangleFromHInches.call(this, e); if (e.stimulsoft.is(i)) return t.prototype.convertSizeFromHInches.call(this, e); return e / 100 } , e }(e.StiUnit); e.StiInchesUnit = n }(r = e.Units || (e.Units = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e; !function(t) { var e; !function(t) { t[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" }(e = t.StiPreviewSettings || (t.StiPreviewSettings = {})) }(e = t.Viewer || (t.Viewer = {})) }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { t.IStiIgnoryStyle = "IStiIgnoryStyle" }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { t.IStiInherited = "IStiInherited" }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { t.IStiName = "IStiName" }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { t.IStiStateSaveRestore = "IStiStateSaveRestore" }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function t(t) { this.rows = new r, this.distX = 0, this.distY = 0, this.report = t } return t.prototype.clear = function() { this.rows.clear() } , t.prototype.getRow = function(t) { var e = this.rows.get(t); return null == e && (e = new r, this.rows.set(t, e)), e } , t.prototype.gett = function(t, e) { var r = this.getRow(e + this.distY); return r.containsKey(t + this.distX) ? r.get(t + this.distX) : 0 } , t.prototype.setCell = function(t, e, r) { this.getRow(e).set(t, r) } , t }(); e.StiCells = i }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.Report.Components.StiConditionsCollection , i = t.System.Collections.Hashtable , n = function() { function e() {} return e.getConditions = function(e, n) { var o, a, s, l; void 0 === n && (n = { ref: i }); var u = n.ref , c = new r; try { for (var m = __values(e.list), p = m.next(); !p.done; p = m.next()) { var h = p.value , d = h.conditions; if (d.count > 0) { try { for (var g = (s = void 0, __values(d.list)), f = g.next(); !f.done; f = g.next()) { var S = f.value , A = t.System.Guid.newGuid().toString().stimulsoft.replaceAll("-", ""); S.tag = A, u.add(A, h) } } catch (t) { s = { error: t } } finally { try { f && !f.done && (l = g.return) && l.call(g) } finally { if (s) throw s.error } } c.addRange(d) } } } catch (t) { o = { error: t } } finally { try { p && !p.done && (a = m.return) && a.call(m) } finally { if (o) throw o.error } } return c } , e.setConditions = function(t, e, r) { var i, n, o, a; try { for (var s = __values(t.list), l = s.next(); !l.done; l = s.next()) { l.value.conditions.clear() } } catch (t) { i = { error: t } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } try { for (var u = __values(e.list), c = u.next(); !c.done; c = u.next()) { var m = c.value; if (null != m.tag && r.contains(m.tag)) { var p = m.clone(); p.tag = null, r.get(m.tag).conditions.add(p) } else this.setConditionAllComponents(m, t) } } catch (t) { o = { error: t } } finally { try { c && !c.done && (a = u.return) && a.call(u) } finally { if (o) throw o.error } } } , e.setConditionAllComponents = function(t, e) { var r, i; try { for (var n = __values(e.list), o = n.next(); !o.done; o = n.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 && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , e }(); e.StiConditionsHelper = n }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e = function() { function t() {} return Object.defineProperty(t, "deviceCapsDpi", { get: function() { return 0 == this._deviceCapsDpi && (StiOptions.Engine.fullTrust ? this.getDpi() : (this._deviceCapsDpi = 96, this._graphicsDpi = 96, this._graphicsRichTextDpi = 96)), this._deviceCapsDpi }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "graphicsDpi", { get: function() { return 0 == this._graphicsDpi && (StiOptions.Engine.fullTrust ? this.getDpi() : (this._deviceCapsDpi = 96, this._graphicsDpi = 96, this._graphicsRichTextDpi = 96)), this._graphicsDpi }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "graphicsRichTextDpi", { get: function() { return 0 == this._graphicsRichTextDpi && (StiOptions.Engine.fullTrust ? this.getDpi() : (this._deviceCapsDpi = 96, this._graphicsDpi = 96, this._graphicsRichTextDpi = 96)), this._graphicsRichTextDpi }, enumerable: !0, configurable: !0 }), t.getDpi = function() { if ((this._deviceCapsDpi < 70 || this._deviceCapsDpi > 600) && (this._deviceCapsDpi = 96), (this._graphicsDpi < 70 || this._graphicsDpi > 600) && (this._graphicsDpi = 96), this._graphicsRichTextDpi = this._graphicsDpi, 96 == this._deviceCapsDpi && 96 == this._graphicsDpi) { var t = this.getRegistryValue(); 96 != t && t > 32 && t < 300 && (this._graphicsRichTextDpi = t) } } , t.getRegistryValue = function() { var t = null; return 0 } , Object.defineProperty(t, "deviceCapsScale", { get: function() { if (StiOptions.Engine.dpiAware) { var t = this.deviceCapsDpi; if (96 != t) return 96 / t } return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "graphicsScale", { get: function() { if (StiOptions.Engine.dpiAware) { var t = this._graphicsDpi; if (96 != t) return 96 / t } return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "graphicsRichTextScale", { get: function() { if (StiOptions.Engine.dpiAware) { var t = this._graphicsRichTextDpi; if (96 != t) return 96 / t } return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "needDeviceCapsScale", { get: function() { return 96 != this.deviceCapsDpi }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "needGraphicsScale", { get: function() { return 96 != this.graphicsDpi }, enumerable: !0, configurable: !0 }), Object.defineProperty(t, "needGraphicsRichTextScale", { get: function() { return 96 != this.graphicsRichTextDpi }, enumerable: !0, configurable: !0 }), t.LOGPIXELSX = 88, t.LOGPIXELSY = 90, t._deviceCapsDpi = 0, t._graphicsDpi = 0, t._graphicsRichTextDpi = 0, t }(); t.StiDpiHelper = e }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e = function() { function t(t, e, r, i) { this._pageIndex = -1, this._position = -1, this._componentName = null, this._textValue = null, this.pageIndex = t, this.position = e, this.componentName = r, this.textValue = i } return Object.defineProperty(t.prototype, "pageIndex", { get: function() { return this._pageIndex }, set: function(t) { this._pageIndex = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "position", { get: function() { return this._position }, set: function(t) { this._position = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "componentName", { get: function() { return this._componentName }, set: function(t) { this._componentName = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "textValue", { get: function() { return this._textValue }, set: function(t) { this._textValue = t }, enumerable: !0, configurable: !0 }), t }(); t.StiEditableItem = e; var r = function() { function t() { this._items = new Array } return Object.defineProperty(t.prototype, "items", { get: function() { return this._items }, enumerable: !0, configurable: !0 }), t }(); t.StiEditableItemsContainer = r }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function i(t, i, n, o, a) { void 0 === i && (i = !1), void 0 === n && (n = e.ImageFormat.Bmp), void 0 === o && (o = 1), void 0 === a && (a = !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 = e.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 r, this._useImageComparer = t, this._useImageCompression = i, this._useImageTransparency = a, this._imageSaveFormat = n, this._imageQuality = o } return i.prototype.clear = function() { this.imageStore.clear(), this.imageStore = null, this.imagePackedStore.clear(), this.imagePackedStore = null, this.imageMaskStore.clear(), this.imageMaskStore = null, this.imageIndex.clear(), this.imageIndex = null, this.imageFormatStore.clear(), this.imageFormatStore = null, this.imageHashTable.clear(), this.imageHashTable = null } , i.prototype.addImageIntRaw = function(r, i) { var n = e.ImageFormat.Jpeg; switch (i) { case t.System.Drawing.Imaging.ImageFormat.Gif: n = e.ImageFormat.Gif; break; case t.System.Drawing.Imaging.ImageFormat.Png: n = e.ImageFormat.Png; break; case t.System.Drawing.Imaging.ImageFormat.Bmp: n = e.ImageFormat.Bmp; break } return this.addImageInt(r, n) } , i.prototype.addImageInt = function(t, e) { void 0 === e && (e = null), null == e && (e = this._imageSaveFormat); var r = this.imageStore.length , n = null , o = null; if ((this._useImageComparer || this._useImageCompression) && (n = t.bytes), this._useImageComparer && null != n) { r = i.crcSeed; var a = 0 , s = n.length; while (--s >= 0) r = i.crcTable[255 & (r ^ n[a++])] ^ r >> 8; r ^= i.crcSeed } this._useImageCompression ? t = null : n = null; var l = -1; return this.imageHashTable.containsKey(r) ? l = this.imageHashTable.get(r) : (l = this.imageStore.length, this.imageStore.add(t), this.imagePackedStore.add(n), this.imageMaskStore.add(o), this.imageHashTable.add(r, l), this.imageFormatStore.add(e)), this.imageIndex.add(l), n = null, o = null, l } , i.crcSeed = 4294967295, i.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], i }(); e.StiImageCache = i }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Globalization.CultureInfo , i = function() { function t() { this._culture = r.currentCulture } return Object.defineProperty(t.prototype, "culture", { get: function() { return this._culture }, set: function(t) { this._culture = t }, enumerable: !0, configurable: !0 }), t.prototype.getString = function(t) { return t } , t.prototype.getObject = function(t) { return null } , t }(); e.StiNullGlobalizationManager = i }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Data.DBNull , i = t.Report.Dictionary.StiDataColumn , n = function() { function t() {} return t.isNull = function(t, e) { var n = i.getDataFromDataColumn(t.dictionary, e); return null == n || n == r.value } , t }(); e.StiNullValuesHelper = n }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.StiError , i = t.Report.StiFileImageCache , n = t.System.StiString , o = t.System.StiObject , a = t.Report.Export.StiHtmlExportBookmarksMode , s = t.Base.StiKeyHelper , l = t.Base.IStiAppCell , u = t.Base.IStiApp , c = t.Base.Helpers.StiValueHelper , m = t.Base.Drawing.StiSolidBrush , p = t.Base.StiDashboardNotSupportedException , h = t.Base.JsonReportObject.IStiJsonReportObject , d = t.Base.StiActivator , g = t.System.EventHandler , f = t.Report.Export.StiExcelType , S = t.Report.Export.StiDataType , A = t.System.Globalization.CultureInfo , y = t.Base.StiLicense , w = t.Base.Licenses.StiCryptHelper , b = t.Report.Events.StiExportEventArgs , v = t.Report.Events.StiPrintedEvent , C = t.Report.Events.StiPrintingEvent , E = t.Report.Events.StiExportedEvent , B = t.Report.Events.StiEndRenderEvent , T = t.Report.Events.StiRenderingEvent , I = t.Report.Events.StiBeginRenderEvent , x = t.Report.Events.StiExportingEvent , F = t.Report.Events.StiReportCacheProcessingEvent , D = t.System.EventArgs , R = t.System.IO.MemoryStream , P = t.Report.Export.StiHtmlExportMode , N = t.Base.StiEncryption , k = t.Base.StiConvert , M = t.System.Xml.XmlConverter , O = t.System.Xml.XmlNode , _ = t.System.Data.DBNull , L = t.Base.StiJsonSaveMode , j = t.Report.Styles.StiStyleComponentPlacement , H = t.Report.Units.StiUnit , G = t.Report.Components.StiPagesCollection , Q = t.Report.Components.IStiUnitConvert , Y = t.Base.Localization.StiLocalization , U = t.System.Collections.Hashtable , J = t.Report.Components.StiBookmark , W = t.Report.Components.StiText , V = t.Report.Styles.StiStylesCollection , z = t.Report.Engine.StiRenderState , X = t.Report.Engine.StiParser.StiParser , K = t.Base.StiJson , Z = t.System.DateTime , q = t.System.Guid , $ = t.Report.Engine.StiBookmarksHelper , tt = t.Report.Dictionary.StiBusinessObjectData , et = t.Report.Components.StiPage , rt = t.Report.Components.StiComponentsCollection , it = t.System.Enum , nt = t.Report.Components.StiDataBand , ot = t.Base.StiGZipHelper , at = t.System.IO.TextWriter , st = t.Base.IStiReport , lt = t.System.Data.JsonRelationDirection , ut = function() { function t() { this.masterComponents = [], this.clones = [], this.dialogInfo = [], this.barcodeTypes = [], this.textFormatTypes = [], this.refNames = [] } return t.prototype.clean = function() { this.masterComponents.clear(), this.masterComponents = null, this.clones.clear(), this.clones = null, this.dialogInfo.clear(), this.dialogInfo = null, this.barcodeTypes.clear(), this.barcodeTypes = null, this.textFormatTypes.clear(), this.textFormatTypes = null, this.refNames.clear(), this.refNames = null } , t }(); e.StiJsonLoaderHelper = ut; var ct = function() { function ct() { 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 = e.StiReportCacheMode.Off, this._currentPage = 0, this._currentPrintPage = 0, this._pageCopyNumber = 1, this._variables = null, this._script = "", this.onBeginProcessData = null, this.onEndProcessData = null, this.events = new U, this.beginRenderEventScript = "", this.renderingEvent = new T, this.endRenderEventScript = "", this.exportingEvent = new x, this.exportedEvent = new E, this.printingEvent = new C, this.printedEvent = new v, this.onGetSubReport = null, this.reportCacheProcessingEvent = new F, this.anchors = new U, this.subReportsMasterReport = null, this.subReportsResetPageNumber = !1, this.subReportsPrintOnPreviousPage = !1, this.indexName = 1, this.containsTables = !1, this.cachedTotals = null, this.cachedTotalsLocked = !1, this.modifiedVariables = new U, this._reportVersion = "", this._engine = null, this._reportRenderingMessages = null, this._interactionCollapsingStates = null, this._reportGuid = null, this._imageCachePath = "", this._parentReport = null, this._globalizationManager = new e.StiNullGlobalizationManager, this._manualBookmark = new J, this._totals = new U, this._cells = null, this._password = null, this._listOfUsedData = null, this._reportPass = e.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 = Z.now, this._reportChanged = Z.now, this._numberOfPass = e.StiNumberOfPass.SinglePass, this._calculationMode = e.StiCalculationMode.Interpretation, this._reportUnit = e.StiReportUnitType.Centimeters, this._stopBeforePage = 0, this._previewSettings = t.Report.Viewer.StiPreviewSettings.Default, this._dashboardViewerSettings = e.StiDashboardViewerSettings.All, this._collate = 1, this._globalizationStrings = null, this._autoLocalizeReportOnRun = !1, this._requestParameters = !1, this._cacheTotals = !1, this._culture = "", this._refreshTime = 0, this._reportFile = ""; try { t.Report.Dictionary.StiFunctionsMath.create(), t.Report.Dictionary.StiFunctionsDate.create(), t.Report.Dictionary.StiFunctionsPrintState.create(), t.Report.Dictionary.StiFunctionsProgrammingShortcut.create(), t.Report.Dictionary.StiFunctionsStrings.create(), t.Report.Dictionary.StiFunctionsTotals.create(), this.key = s.generateKey(), this._subReports = new e.StiReportsCollection(this), this._reportGuid = this.generateReportGuid(), this._info = new t.Report.Design.StiDesignerInfo(this), this._dictionary = new t.Report.Dictionary.StiDictionary(this), this._styles = new V(this), this._globalizationStrings = new e.StiGlobalizationContainerCollection(this); try { this._pages = new G(this), this._renderedPages = new G(this) } catch (e) { t.System.StiError.showError(e, !1) } var r = new et(this); this.pages.add(r), r.name = e.StiNameCreation.generateName(r) + "1", this.renderedPages.add(r); try { var i = void 0; "en" == Y.cultureName ? i = !1 : StiOptions.Engine.forceGenerationNonLocalizedName && (i = !1), StiOptions.Engine.forceGenerationLocalizedName && (i = !0), i ? (this._reportName = Y.get("Components", "StiReport"), this._reportAlias = Y.get("Components", "StiReport")) : (this._reportName = "Report", this._reportAlias = "Report") } catch (e) { t.System.StiError.showError(e, !1), this._reportName = "Report", this._reportAlias = "Report" } this.bookmarkValue = $.createBookmark(this.reportAlias), this._manualBookmark = $.createBookmark(this.reportAlias) } catch (e) { t.System.StiError.showError(e, !1) } } return ct.prototype.implements = function() { return [Q, st, h, u, l] } , ct.assignSignature = function(t, e) { n.isNullOrWhiteSpace(t.reportGuid) && t.generateReportGuid(), t.licenseKey = w.encrypt(y.key, t.reportGuid) } , ct.prototype.saveToJsonInternal = function(t) { var r = A.currentCulture; try { A.currentCulture = A.cultures["en-US"], this.updateReportVersion(); var i = new K(""); return i.addPropertyStringNullOrEmpty("ReportVersion", this.reportVersion), i.addPropertyStringNullOrEmpty("ReportGuid", this._reportGuid), i.addPropertyStringNullOrEmpty("ReportName", this._reportName), i.addPropertyStringNullOrEmpty("ReportAlias", this._reportAlias), i.addPropertyStringNullOrEmpty("ReportFile", this._reportFile), i.addPropertyStringNullOrEmpty("ReportAuthor", this._reportAuthor), i.addPropertyStringNullOrEmpty("ReportDescription", this._reportDescription), i.addPropertyDateTime("ReportCreated", this.reportCreated), i.addPropertyDateTime("ReportChanged", this.reportChanged), i.addPropertyString("EngineVersion", "EngineV2"), i.addPropertyEnum("NumberOfPass", e.StiNumberOfPass, this.numberOfPass, e.StiNumberOfPass.SinglePass), i.addPropertyEnum("CalculationMode", e.StiCalculationMode, this.calculationMode, e.StiCalculationMode.Compilation), i.addPropertyEnum("ReportUnit", e.StiReportUnitType, this.reportUnit, null), i.addPropertyBool("CacheAllData", this.cacheAllData), i.addPropertyBool("RetrieveOnlyUsedData", this.retrieveOnlyUsedData), i.addPropertyEnum("ReportCacheMode", e.StiReportCacheMode, this.reportCacheMode, e.StiReportCacheMode.Off), i.addPropertyNumber("StopBeforePage", this.stopBeforePage), i.addPropertyNumber("DashboardViewerSettings", this.dashboardViewerSettings, e.StiDashboardViewerSettings.All), i.addPropertyNumber("Collate", this.collate, 1), i.addPropertyBool("AutoLocalizeReportOnRun", this.autoLocalizeReportOnRun), i.addPropertyBool("RequestParameters", this.requestParameters), i.addPropertyBool("CacheTotals", this.cacheTotals), i.addPropertyStringNullOrEmpty("Culture", this.culture), i.addPropertyNumber("DashboardViewerSettings", this.dashboardViewerSettings, e.StiDashboardViewerSettings.All), i.addPropertyNumber("PreviewSettings", this.previewSettings, e.StiDashboardViewerSettings.All), t == L.Document ? i.addPropertyJObject("RenderedPages", this.renderedPages.saveToJsonObject(t)) : (i.addPropertyNumber("RefreshTime", this.refreshTime, 0), i.addPropertyJObject("Styles", this.styles.saveToJsonObject(t)), i.addPropertyJObject("BeginRenderEvent", this.beginRenderEvent.saveToJsonObject(t)), i.addPropertyJObject("RenderingEvent", this.renderingEvent.saveToJsonObject(t)), i.addPropertyJObject("EndRenderEvent", this.endRenderEvent.saveToJsonObject(t)), i.addPropertyJObject("ExportingEvent", this.exportingEvent.saveToJsonObject(t)), i.addPropertyJObject("ExportedEvent", this.exportedEvent.saveToJsonObject(t)), i.addPropertyJObject("PrintingEvent", this.printingEvent.saveToJsonObject(t)), i.addPropertyJObject("PrintedEvent", this.printedEvent.saveToJsonObject(t)), i.addPropertyJObject("ReportCacheProcessingEvent", this.reportCacheProcessingEvent.saveToJsonObject(t)), i.addPropertyJObject("GlobalizationStrings", this.globalizationStrings.saveToJsonObject(t)), i.addPropertyJObject("Dictionary", this.dictionary.saveToJsonObject(t)), i.addPropertyJObject("Pages", this.pages.saveToJsonObject(t))), i.serialize() } finally { A.currentCulture = r } } , ct.prototype.loadFromJsonInternal = function(r) { var i, n, o, a, s, l, u, c; this.isSerializing = !0; var m = A.currentCulture; try { A.currentCulture = A.cultures["en-US"], this.jsonLoaderHelper = new ut, this.isDocument = !1, this.isRendered = !1, this.pages.clear(), this.dictionary.clear(), this.renderedPages.clear(), this.reportUnit = e.StiReportUnitType.Centimeters; var p = new K; p.deserialize(r); try { for (var h = __values(p.properties()), d = h.next(); !d.done; d = h.next()) { var g = d.value; switch (g.name) { case "ReportVersion": this._reportVersion = g.value; break; case "ReportGuid": this._reportGuid = g.value; break; case "ReportName": this._reportName = g.value; break; case "ReportAlias": this._reportAlias = g.value; break; case "ReportFile": this._reportFile = g.value; break; case "ReportAuthor": this._reportAuthor = g.value; break; case "ReportDescription": this._reportDescription = g.value; break; case "ReportCreated": this.reportCreated = K.jsonDateFormatToDate(g.value); break; case "ReportChanged": this.reportChanged = K.jsonDateFormatToDate(g.value); break; case "EngineVersion": break; case "NumberOfPass": this.numberOfPass = it.parse(e.StiNumberOfPass, g.value); break; case "CalculationMode": this.calculationMode = it.parse(e.StiCalculationMode, g.value); break; case "ReportUnit": this.reportUnit = it.parse(e.StiReportUnitType, g.value); break; case "CacheAllData": this.cacheAllData = g.value; break; case "RetrieveOnlyUsedData": this.retrieveOnlyUsedData = g.value; break; case "ReportCacheMode": this.reportCacheMode = it.parse(e.StiReportCacheMode, g.value); break; case "ConvertNulls": break; case "PreviewMode": break; case "StopBeforePage": this.stopBeforePage = g.value; break; case "PreviewSettings": break; case "DashboardViewerSettings": this.dashboardViewerSettings = g.value.stimulsoft.toNumber(); break; case "Collate": this.collate = g.value; break; case "ReferencedAssemblies": break; case "ScriptLanguage": break; case "AutoLocalizeReportOnRun": this.autoLocalizeReportOnRun = g.value.stimulsoft.toBoolean(); break; case "ParametersOrientation": break; case "RequestParameters": this.requestParameters = g.value.stimulsoft.toBoolean(); break; case "CacheTotals": this.cacheTotals = g.value; break; case "Culture": this.culture = g.value; break; case "Script": break; case "BeginRenderEvent": var f = new I; f.loadFromJsonObject(g.value), this.beginRenderEvent = f; break; case "RenderingEvent": this.renderingEvent.loadFromJsonObject(g.value); break; case "EndRenderEvent": var f = new B; f.loadFromJsonObject(g.value), this.endRenderEvent = f; break; case "ExportingEvent": this.exportingEvent.loadFromJsonObject(g.value); break; case "ExportedEvent": this.exportedEvent.loadFromJsonObject(g.value); break; case "PrintingEvent": this.printingEvent.loadFromJsonObject(g.value); break; case "PrintedEvent": this.printedEvent.loadFromJsonObject(g.value); break; case "ReportCacheProcessingEvent": this.reportCacheProcessingEvent.loadFromJsonObject(g.value); break; case "MetaTags": break; case "ReportResources": break; case "GlobalizationStrings": this.globalizationStrings.loadFromJsonObject(g.value); break; case "PrinterSettings": break; case "Styles": this.styles.loadFromJsonObject(g.value); break; case "Dictionary": this.dictionary.loadFromJsonObject(g.value); break; case "Pages": this.isRendered = !1, this.isDocument = !1, this.pages.loadFromJsonObject(g.value); break; case "RenderedPages": this.isRendered = !0, this.isDocument = !0, this.renderedPages.loadFromJsonObject(g.value); break; case "RefreshTime": this.refreshTime = g.value; break; case "DashboardViewerSettings": this.dashboardViewerSettings = g.value; break; case "PreviewSettings": this.previewSettings = g.value; break } } } catch (t) { i = { error: t } } finally { try { d && !d.done && (n = h.return) && n.call(h) } finally { if (i) throw i.error } } var S = null; if (this.jsonLoaderHelper.masterComponents.length > 0) { S = this.getComponents(); try { for (var y = __values(this.jsonLoaderHelper.masterComponents), w = y.next(); !w.done; w = y.next()) { var b = w.value , v = b.stimulsoft.as(t.Report.Chart.IStiChart); if (null != v) { v.masterComponent = S.getByName(v.jsonMasterComponentTemp), v.jsonMasterComponentTemp = null; continue } var C = b.stimulsoft.as(nt); if (null != C) { C.masterComponent = S.getByName(C.jsonMasterComponentTemp), C.jsonMasterComponentTemp = null; continue } } } catch (t) { o = { error: t } } finally { try { w && !w.done && (a = y.return) && a.call(y) } finally { if (o) throw o.error } } } if (this.jsonLoaderHelper.clones.length > 0) { null == S && (S = this.getComponents()); try { for (var E = __values(this.jsonLoaderHelper.clones), T = E.next(); !T.done; T = E.next()) { var x = T.value; x.container = S.getByName(x.jsonContainerValueTemp).stimulsoft.as(t.Report.Components.StiContainer), x.jsonContainerValueTemp = null } } catch (t) { s = { error: t } } finally { try { T && !T.done && (l = E.return) && l.call(E) } finally { if (s) throw s.error } } } if (this.jsonLoaderHelper.dialogInfo.length > 0) try { for (var F = __values(this.jsonLoaderHelper.dialogInfo), D = F.next(); !D.done; D = F.next()) { var R = D.value; R.bindingVariable = this.dictionary.variables.getByName(R.jsonLoadedBindingVariableName), R.jsonLoadedBindingVariableName = null } } catch (t) { u = { error: t } } finally { try { D && !D.done && (c = F.return) && c.call(F) } finally { if (u) throw u.error } } this.jsonLoaderHelper.clean(), this.jsonLoaderHelper = null } catch (e) { throw t.System.StiError.showError(e, !1), e } finally { A.currentCulture = m, this.isSerializing = !1 } } , ct.prototype.loadFromXmlInternal = function(r) { var i, n, o, a, s, l; if ("StiSerializer" != r.firstChild.nodeName) return; var u = "StiDocument" == r.firstChild.attributes.getNamedItem("application").value; this.jsonLoaderHelper = new ut, this.isSerializing = !0; var c = A.currentCulture; try { A.currentCulture = A.cultures["en-US"], this.pages.clear(), this.dictionary.clear(), this.renderedPages.clear(), this.reportUnit = e.StiReportUnitType.Centimeters; for (var m = void 0, p = 0; p < r.firstChild.childNodes.length; p++) { var h = r.firstChild.childNodes[p]; if ("#text" == h.nodeName) continue; switch (h.nodeName) { case "Dictionary": this.dictionary.loadFromXml(h); break; case "Styles": this.styles.loadFromXml(h); break; case "Pages": m = h; break; case "ReportVersion": this._reportVersion = h.textContent; break; case "ReportGuid": this._reportGuid = h.textContent; break; case "ReportName": this._reportName = h.textContent; break; case "ReportAlias": this._reportAlias = h.textContent; break; case "ReportFile": this._reportFile = h.textContent; break; case "ReportAuthor": this._reportAuthor = h.textContent; break; case "ReportDescription": this._reportDescription = h.textContent; break; case "ReportCreated": this.reportCreated = K.jsonDateFormatToDate(h.textContent); break; case "ReportChanged": this.reportChanged = K.jsonDateFormatToDate(h.textContent); break; case "EngineVersion": break; case "NumberOfPass": this.numberOfPass = it.parse(e.StiNumberOfPass, h.textContent); break; case "CalculationMode": this.calculationMode = it.parse(e.StiCalculationMode, h.textContent); break; case "Unit": if (u) switch (h.getAttribute("type")) { case "mm": this.reportUnit = e.StiReportUnitType.Millimeters; break; case "cm": this.reportUnit = e.StiReportUnitType.Centimeters; break; case "hi": this.reportUnit = e.StiReportUnitType.HundredthsOfInch; break; case "in": this.reportUnit = e.StiReportUnitType.Inches; break } break; case "ReportUnit": this.reportUnit = it.parse(e.StiReportUnitType, h.textContent); break; case "CacheAllData": this.cacheAllData = h.textContent.stimulsoft.toBoolean(); break; case "RetrieveOnlyUsedData": this.retrieveOnlyUsedData = h.textContent.stimulsoft.toBoolean(); break; case "ReportCacheMode": this.reportCacheMode = it.parse(e.StiReportCacheMode, h.textContent); break; case "ConvertNulls": break; case "PreviewMode": break; case "StopBeforePage": this.stopBeforePage = h.textContent.stimulsoft.toNumber(); break; case "PreviewSettings": break; case "DashboardViewerSettings": this.dashboardViewerSettings = 0, h.textContent.indexOf("ShowToolBar") >= 0 && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowToolBar), h.textContent.indexOf("ShowRefreshButton") >= 0 && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowRefreshButton), h.textContent.indexOf("ShowOpenButton") >= 0 && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowOpenButton), h.textContent.indexOf("ShowFullScreenButton") >= 0 && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowFullScreenButton), h.textContent.indexOf("ShowMenuButton") >= 0 && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowMenuButton), h.textContent.indexOf("ShowEditButton") >= 0 && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowEditButton); break; case "Collate": this.collate = h.textContent.stimulsoft.toNumber(); break; case "ReferencedAssemblies": break; case "ScriptLanguage": break; case "AutoLocalizeReportOnRun": this.autoLocalizeReportOnRun = h.textContent.stimulsoft.toBoolean(); break; case "ParametersOrientation": break; case "RequestParameters": this.requestParameters = h.textContent.stimulsoft.toBoolean(); break; case "CacheTotals": this.cacheTotals = h.textContent.stimulsoft.toBoolean(); break; case "Culture": this.culture = h.textContent; break; case "Script": this.script = h.textContent; break; case "BeginRenderEvent": var d = new I; this.beginRenderEvent = d, d.script = h.textContent; break; case "RenderingEvent": break; case "EndRenderEvent": var d = new B; this.endRenderEvent = d, d.script = h.textContent; break; case "ExportingEvent": break; case "ExportedEvent": break; case "PrintingEvent": break; case "PrintedEvent": break; case "ReportCacheProcessingEvent": break; case "MetaTags": break; case "ReportResources": break; case "GlobalizationStrings": this.globalizationStrings.loadFromXmlObject(h); break; case "PrinterSettings": break; case "RefreshTime": this.refreshTime = h.textContent.stimulsoft.toNumber(); break; case "DashboardViewerSettings": var g = h.textContent; this.dashboardViewerSettings = 0, (g.indexOf("ShowToolBar") >= 0 || g.indexOf("All") >= 0) && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowToolBar), (g.indexOf("ShowRefreshButton") >= 0 || g.indexOf("All") >= 0) && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowRefreshButton), (g.indexOf("ShowOpenButton") >= 0 || g.indexOf("All") >= 0) && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowOpenButton), (g.indexOf("ShowEditButton") >= 0 || g.indexOf("All") >= 0) && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowEditButton), (g.indexOf("ShowFullScreenButton") >= 0 || g.indexOf("All") >= 0) && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowFullScreenButton), (g.indexOf("ShowMenuButton") >= 0 || g.indexOf("All") >= 0) && (this.dashboardViewerSettings |= e.StiDashboardViewerSettings.ShowMenuButton); break; case "PreviewSettings": this.previewSettings = h.textContent.stimulsoft.toNumber(); break } } m && (u ? this.renderedPages.loadFromXml(m, u) : this.pages.loadFromXml(m, u)); var f = null; if (this.jsonLoaderHelper.masterComponents.length > 0) { f = this.getComponents(); try { for (var S = __values(this.jsonLoaderHelper.masterComponents), y = S.next(); !y.done; y = S.next()) { var w = y.value , b = w.stimulsoft.as(t.Report.Chart.IStiChart); if (null != b) { b.masterComponent = f.getByName(this.jsonLoaderHelper.refNames[b.jsonMasterComponentTemp]), b.jsonMasterComponentTemp = null; continue } var v = w.stimulsoft.as(nt); if (null != v) { v.masterComponent = f.getByName(this.jsonLoaderHelper.refNames[v.jsonMasterComponentTemp]), v.jsonMasterComponentTemp = null; continue } } } catch (t) { i = { error: t } } finally { try { y && !y.done && (n = S.return) && n.call(S) } finally { if (i) throw i.error } } } if (this.jsonLoaderHelper.clones.length > 0) { null == f && (f = this.getComponents()); try { for (var C = __values(this.jsonLoaderHelper.clones), E = C.next(); !E.done; E = C.next()) { var T = E.value; T.container = f.getByName(this.jsonLoaderHelper.refNames[T.jsonContainerValueTemp]).stimulsoft.as(t.Report.Components.StiContainer), T.jsonContainerValueTemp = null } } catch (t) { o = { error: t } } finally { try { E && !E.done && (a = C.return) && a.call(C) } finally { if (o) throw o.error } } } if (this.jsonLoaderHelper.dialogInfo.length > 0) try { for (var x = __values(this.jsonLoaderHelper.dialogInfo), F = x.next(); !F.done; F = x.next()) { var D = F.value; D.xmlLoadedBindingVariable && (D.bindingVariable = t.Report.Dictionary.StiVariable.loadFromXml(D.xmlLoadedBindingVariable, this)), D.xmlLoadedBindingVariable = null } } catch (t) { s = { error: t } } finally { try { F && !F.done && (l = x.return) && l.call(x) } finally { if (s) throw s.error } } this.jsonLoaderHelper.clean(), this.jsonLoaderHelper = null } catch (e) { t.System.StiError.showError(e, !1) } finally { A.currentCulture = c, this.isSerializing = !1 } u && (this.isDocument = !0, this.isRendered = !0) } , ct.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] } , ct.prototype.load = function(e) { try { if (void 0 === e || null == e) return; if (e.stimulsoft.is(Array) || e.stimulsoft.is(Uint8Array)) { if (this.isPackedFile(e)) return void this.loadPacked(e); e = t.System.Text.Encoding.UTF8.getString(e) } e.stimulsoft.is(String) && e.trim().stimulsoft.startsWith(" 0 && (t.set(null, t.script), this.beginRenderEventScript = t.script, this.events.set(ct.eventBeginRender, g.create(t.script, this))) }, enumerable: !0, configurable: !0 }), ct.prototype.invokeRendering = function() {} , ct.prototype.invokeEndRender = function() { var t, r; try { if (this.calculationMode == e.StiCalculationMode.Interpretation && this.calculationMode == e.StiCalculationMode.Interpretation && null != this.totals) try { for (var i = __values(this.totals.keys), n = i.next(); !n.done; n = i.next()) { var o = n.value , a = o; null != a && a.stimulsoft.startsWith("#%#") && this.getComponentByName(a.substr(3)).clone().setText(null, null) } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } var s = this.events.get(ct.eventEndRender); if (null != s) try { s() } catch (t) {} } catch (t) {} } , Object.defineProperty(ct.prototype, "endRenderEvent", { get: function() { return new I(this.endRenderEventScript) }, set: function(t) { null != t && t.script.length > 0 && (t.set(null, t.script), this.endRenderEventScript = t.script, this.events.set(ct.eventEndRender, g.create(t.script, this))) }, enumerable: !0, configurable: !0 }), ct.prototype.invokeStatusChanged = function() {} , ct.prototype.onExporting = function(t) {} , ct.prototype.invokeExporting = function(t) { this.isExporting = !0; var e = new b(t); this.onExporting(e) } , ct.prototype.onExported = function(t) {} , ct.prototype.invokeExported = function(t) { this.isExporting = !1; var e = new b(t); this.onExported(e) } , ct.prototype.onPrinting = function(t) {} , ct.prototype.invokePrinting = function() { this.onPrinting(D.empty) } , ct.prototype.onPrinted = function(t) {} , ct.prototype.invokePrinted = function() { this.onPrinted(D.empty) } , ct.prototype.invokeGetSubReport = function(t) { null != this.onGetSubReport && this.onGetSubReport.stimulsoft.is(Function) && this.onGetSubReport(t), null != this.compiledReport && this.compiledReport.invokeGetSubReport(t), null != this.parentReport && this.invokeGetSubReport(t) } , ct.prototype.invokeReportCacheProcessing = function() {} , Object.defineProperty(ct.prototype, "unit", { get: function() { return H.getUnitFromReportUnit(this.reportUnit) }, set: function(r) { r.stimulsoft.is(t.Report.Units.StiCentimetersUnit) ? this.reportUnit = e.StiReportUnitType.Centimeters : r.stimulsoft.is(t.Report.Units.StiMillimetersUnit) ? this.reportUnit = e.StiReportUnitType.Millimeters : r.stimulsoft.is(t.Report.Units.StiInchesUnit) ? this.reportUnit = e.StiReportUnitType.Inches : r.stimulsoft.is(t.Report.Units.StiHundredthsOfInchUnit) && (this.reportUnit = e.StiReportUnitType.HundredthsOfInch) }, enumerable: !0, configurable: !0 }), ct.prototype.convert = function(t, e, r) { var i, n; if (void 0 === r && (r = !1), t.name != e.name && null != this._pages) try { for (var o = __values(this.pages.list), a = o.next(); !a.done; a = o.next()) { a.value.convert(t, e, r) } } catch (t) { i = { error: t } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , ct.changeType = function(t, e, r) { return void 0 === r && (r = !0), k.changeType(t, e, r) } , ct.prototype.applyStyleCollection = function(r) { var i, o, a, s, l, u, c, m; if (n.isNullOrEmpty(r)) return; r = r.toLowerCase().trim(); var p = []; try { for (var h = __values(this.styles.list), d = h.next(); !d.done; d = h.next()) { var g = d.value; g.collectionName.toLowerCase().trim() == r && p.add(g) } } catch (t) { i = { error: t } } finally { try { d && !d.done && (o = h.return) && o.call(h) } finally { if (i) throw i.error } } var f = this.getComponents(); try { for (var S = __values(f.list), A = S.next(); !A.done; A = S.next()) { var y = A.value; if (y.stimulsoft.is(et)) continue; try { for (var w = (l = void 0, __values(p)), b = w.next(); !b.done; b = w.next()) { var g = b.value; if (!e.StiStyleConditionHelper.isAllowStyle(y, g)) continue; if (y.stimulsoft.is(t.Report.Chart.IStiChart)) ; else if (y.stimulsoft.is(nt)) { var v = !1 , C = !1; try { for (var E = (c = void 0, __values(g.conditions.list)), B = E.next(); !B.done; B = E.next()) { var T = B.value; if ((T.placement & j.DataOddStyle) > 0) { v = !0; break } if ((T.placement & j.DataEvenStyle) > 0) { C = !0; break } } } catch (t) { c = { error: t } } finally { try { B && !B.done && (m = E.return) && m.call(E) } finally { if (c) throw c.error } } v ? y.oddStyle = g.name : C ? y.evenStyle = g.name : y.componentStyle = g.name } else y.componentStyle = g.name } } catch (t) { l = { error: t } } finally { try { b && !b.done && (u = w.return) && u.call(w) } finally { if (l) throw l.error } } } } catch (t) { a = { error: t } } finally { try { A && !A.done && (s = S.return) && s.call(S) } finally { if (a) throw a.error } } this.applyStyles() } , ct.prototype.applyStyles = function() { var e, r, i = this.getComponents(); try { for (var o = __values(i.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (s.stimulsoft.is(t.Report.Chart.IStiChart) && s.allowApplyStyle && null != s.style) { var l = s.style; s.core.applyStyle(l); var u = l.stimulsoft.as(t.Report.Chart.IStiCustomStyle); if (null != u) { var c = u.core.reportStyle; null != c && c.setStyleToComponent(s) } } else if (!n.isNullOrEmpty(s.componentStyle)) { var c = this.styles.getByName(s.componentStyle); null != c && c.setStyleToComponent(s) } } } catch (t) { e = { error: t } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (e) throw e.error } } } , ct.prototype.getCurrentPage = function() { if (this._currentPage < 0 && (this._currentPage = 0), this.currentPage > this.pages.count - 1) return null; return this.pages.getByIndex(this.currentPage) } , ct.getReportVersion = function() { return t.StiVersion.version } , ct.prototype.updateReportVersion = function() { this.reportVersion = ct.getReportVersion() } , ct.prototype.writeToReportRenderingMessages = function(t) { null == this.reportRenderingMessages && (this.reportRenderingMessages = []), this.reportRenderingMessages.add(t) } , ct.prototype.getComponentByName = function(t) { var e, r; try { for (var i = __values(this.pages.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name == t) return o } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return this.pages.getComponentByName(t) } , ct.prototype.toString2 = function(t) { return null == t || t == _.value ? "" : t.toString() } , ct.prototype.checkExcelValue = function(e, r) { var i = e.stimulsoft.as(W) , o = c.tryToNullableNumber(r); if (null != o && o < 0) if (t.Report.Components.TextFormats.StiNegativeColorChecker.isNegativeInRed(i.textFormat)) i.textBrush = new m(StiOptions.Engine.negativeColor); else if (!n.isNullOrWhiteSpace(i.componentStyle)) { var a = this.styles.getByName(i.componentStyle).stimulsoft.as(t.Report.Styles.StiStyle); null != a && a.allowUseNegativeTextBrush && (i.textBrush = a.negativeTextBrush) } return null != i && null != i.format && "G" != i.format && 0 != i.format.length && (i.excelDataValue = this.toString2(r)), r } , ct.prototype.toString3 = function(t, e, r) { return void 0 === r && (r = !1), r ? this.toString2(this.checkExcelValue(t, e)) : this.toString2(e) } , ct.prototype.generateReportGuid = function() { return q.newGuid().toString().replace(/-/gi, "") } , ct.prototype.addAnchor = function(t, r) { if (void 0 === r && (r = null), null == r) this.anchors.set(t, new e.StiRuntimeVariables(this)); else if (!this.anchors.containsKey(t)) { var i = { ref1: new e.StiRuntimeVariables(this), ref2: r }; this.anchors.set(t, i); var n = r; null != n && null == n.guid && (n.guid = t) } } , ct.prototype.getAnchorPageNumber = function(t) { var e = null != t ? this.anchors.get(t) : null; if (null != e && null != e.ref2) { var r = e.ref1 , i = e.ref2 , n = 0; null != r && (n = this.engine.pageNumbers.getPageNumber(r.page)); var o = n - 1; while (o < this.renderedPages.count) { var a = this.renderedPages.getByIndex(o); this.renderedPages.getPage(a); var s = a.getComponents(); for (var l in s) if (l == i) { if (a == r.page) return n; return this.engine.pageNumbers.getPageNumber(a) } o++ } return n } var u = this.getAnchor(t); if (null == u) return 0; return this.engine.pageNumbers.getPageNumber(u.page) } , ct.prototype.getAnchorPageNumberThrough = function(t) { var e = null != t ? this.anchors.get(t) : null; if (null != e && null != e.ref2) { var r = e.ref1 , i = e.ref2 , n = 0; null != r && (n = this.engine.pageNumbers.getPageNumberThrough(r.page)); var o = n - 1; while (o < this.renderedPages.count) { var a = this.renderedPages.getByIndex(o); this.renderedPages.getPage(a); var s = a.getComponents(); for (var l in s) if (l == i) { if (a == r.page) return n; return this.engine.pageNumbers.getPageNumberThrough(a) } o++ } return n } var u = this.getAnchor(t); if (null == u) return 0; return this.engine.pageNumbers.getPageNumberThrough(u.page) } , ct.prototype.getAnchor = function(t) { if (null == t) return new e.StiRuntimeVariables(this); return this.anchors.get(t) } , ct.prototype.getComponents = function() { var t, e, r = new rt; try { for (var i = __values(this.pages.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; r.add(o); var a = { ref: r }; o.getComponents2(a), r = a.ref } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } return r } , ct.prototype.getRenderedComponents = function() { var t, e, r = new rt; try { for (var i = __values(this.renderedPages.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; r.add(o); var a = { ref: r }; o.getComponents2(a), r = a.ref } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } return r } , ct.prototype.getComponentsCount = function() { var t, e, r = 0; try { for (var i = __values(this.pages.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; r += 1, r += o.getComponentsCount() } } catch (e) { t = { error: e } } finally { try { n && !n.done && (e = i.return) && e.call(i) } finally { if (t) throw t.error } } return r } , ct.prototype.renameStyle = function(e, r) { var i, n, o = this.getComponents(); try { for (var a = __values(o.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; t.Report.Styles.StiStylesHelper.changeComponentStyleName(l, e, r) } } catch (t) { i = { error: t } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } } , ct.prototype.localizeReport = function(t) { this.globalizationStrings.localizeReport(t) } , Object.defineProperty(ct.prototype, "reportVersion", { get: function() { return t.StiVersion.version }, set: function(t) { this._reportVersion = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "engine", { get: function() { return this._engine }, set: function(t) { this._engine = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "reportRenderingMessages", { get: function() { return this._reportRenderingMessages }, set: function(t) { this._reportRenderingMessages = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "interactionCollapsingStates", { get: function() { return this._interactionCollapsingStates }, set: function(t) { this._interactionCollapsingStates = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "subReports", { get: function() { return this._subReports }, set: function(t) { this._subReports = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "reportGuid", { get: function() { return this._reportGuid }, set: function(t) { this._reportGuid = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "imageCachePath", { get: function() { return this._imageCachePath }, set: function(t) { this._imageCachePath = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "parentReport", { get: function() { return this._parentReport }, set: function(t) { this._parentReport = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "globalizationManager", { get: function() { return this._globalizationManager }, set: function(t) { this._globalizationManager = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "pages", { get: function() { return this._pages }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.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: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "info", { get: function() { return this._info }, set: function(t) { this._info = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.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: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "manualBookmark", { get: function() { return this.bookmark }, set: function(t) { this.bookmark = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.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: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "cells", { get: function() { return null == this._cells && (this._cells = new e.StiCells(this)), this._cells }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "password", { get: function() { return this._password }, set: function(t) { this._password = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "dataBandsUsedInPageTotals", { get: function() { return this._dataBandsUsedInPageTotals }, set: function(t) { this._dataBandsUsedInPageTotals = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "listOfUsedData", { get: function() { return this._listOfUsedData }, set: function(t) { this._listOfUsedData = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "reportPass", { get: function() { return this._reportPass }, set: function(t) { this._reportPass = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isRendered", { get: function() { return this._isRendered }, set: function(t) { this._isRendered = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isRendering", { get: function() { return this._isRendering }, set: function(t) { this._isRendering = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isModified", { get: function() { return this._isModified }, set: function(t) { this._isModified != t && (this._isModified = t, this._reportGuid = this.generateReportGuid()) }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isStopped", { get: function() { return this._isStopped }, set: function(t) { this._isStopped = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isExporting", { get: function() { return this._isExporting }, set: function(t) { this._isExporting = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isSerializing", { get: function() { return this._isSerializing }, set: function(t) { this._isSerializing = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isPageDesigner", { get: function() { return this._isPageDesigner }, set: function(t) { this._isPageDesigner = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isPrinting", { get: function() { return this.isPrintingValue }, set: function(t) { this.isPrintingValue = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "containsDashboard", { get: function() { return this.pages.toList().any(function(t) { return t.isDashboard && t.enabled }) }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isDesigning", { get: function() { return this.info.forceDesigningMode }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isPreviewDialogs", { get: function() { return this._isPreviewDialogs }, set: function(t) { this._isPreviewDialogs = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isDocument", { get: function() { return this._isDocument }, set: function(t) { this._isDocument = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "isInteractionRendering", { get: function() { return this._isInteractionRendering }, set: function(t) { this._isInteractionRendering = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "reportName", { get: function() { return this._reportName }, set: function(t) { this._reportName == this._reportAlias && (this._reportAlias = t), this._reportName = e.StiNameValidator.correctName(t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "reportAlias", { get: function() { return this._reportAlias }, set: function(t) { this._reportAlias = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "reportAuthor", { get: function() { return this._reportAuthor }, set: function(t) { this._reportAuthor = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "reportDescription", { get: function() { return this._reportDescription }, set: function(t) { this._reportDescription = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "reportCreated", { get: function() { return this._reportCreated }, set: function(t) { this._reportCreated = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "reportChanged", { get: function() { return this._reportChanged }, set: function(t) { this._reportChanged = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "styles", { get: function() { return this._styles }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "numberOfPass", { get: function() { return this._numberOfPass }, set: function(t) { this._numberOfPass != t && (this._numberOfPass = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "calculationMode", { get: function() { return this._calculationMode }, set: function(t) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "reportUnit", { get: function() { return this._reportUnit }, set: function(t) { this.isSerializing || this._reportUnit != t && this.convert(H.getUnitFromReportUnit(this._reportUnit), H.getUnitFromReportUnit(t)), this._reportUnit = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "stopBeforePage", { get: function() { return this._stopBeforePage }, set: function(t) { t >= 0 && (this._stopBeforePage = t) }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "previewSettings", { get: function() { return this._previewSettings }, set: function(t) { this._previewSettings = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "dashboardViewerSettings", { get: function() { return this._dashboardViewerSettings }, set: function(t) { this._dashboardViewerSettings = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "collate", { get: function() { return this._collate }, set: function(t) { this._collate != t && (this._collate = Math.max(1, t)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "globalizationStrings", { get: function() { return this._globalizationStrings }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "autoLocalizeReportOnRun", { get: function() { return this._autoLocalizeReportOnRun }, set: function(t) { this._autoLocalizeReportOnRun = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "requestParameters", { get: function() { return this._requestParameters }, set: function(t) { this._requestParameters = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "cacheTotals", { get: function() { return this._cacheTotals }, set: function(t) { this._cacheTotals = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "culture", { get: function() { return this._culture }, set: function(t) { this._culture = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "refreshTime", { get: function() { return this._refreshTime }, set: function(t) { this._refreshTime = t > 0 ? t : 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(ct.prototype, "compiledReport", { get: function() { return this._compiledReport }, set: function(t) { this._compiledReport = t }, enumerable: !0, configurable: !0 }), ct.prototype.resetAggregateFunctions = function() { var t, e; if (null == this.aggregateFunctions) return; try { for (var r = __values(this.aggregateFunctions), i = r.next(); !i.done; i = r.next()) { var n = i.value , o = n.isFirstInit; n.isFirstInit = !0, n.init(), n.isFirstInit = o } } catch (e) { t = { error: e } } finally { try { i && !i.done && (e = r.return) && e.call(r) } finally { if (t) throw t.error } } } , ct.prototype.renderAsync = function(t, e, r) { var i = this; void 0 === t && (t = function() {} ), void 0 === e && (e = -1), void 0 === r && (r = -1), setTimeout(function() { return __awaiter(i, void 0, void 0, function() { return __generator(this, function(i) { switch (i.label) { case 0: return [4, this.renderAsync2(e, r)]; case 1: return i.sent(), t(null), [2] } }) }) }, 0) } , ct.prototype.renderAsync2 = function(e, r) { return void 0 === e && (e = -1), void 0 === r && (r = -1), __awaiter(this, void 0, void 0, function() { var i, n; return __generator(this, function(o) { switch (o.label) { case 0: i = new z(e,r,!1), o.label = 1; case 1: return o.trys.push([1, 3, , 4]), [4, this.renderReportAsync(i)]; case 2: return o.sent(), [3, 4]; case 3: return n = o.sent(), t.System.StiError.showError(n, !0), [3, 4]; case 4: return [2] } }) }) } , ct.prototype.render = function(e, i, n) { void 0 === e && (e = !1), void 0 === i && (i = -1), void 0 === n && (n = -1), r.showError("The 'render' method is obsolete. Please use the 'renderAsync' method instead."); var o = new z(i,n,!1); try { this.renderReport(o) } catch (e) { t.System.StiError.showError(e, !0) } } , ct.prototype.processAutoLocalizeReportOnRun = function() { if (!this.autoLocalizeReportOnRun) return; try { this.globalizationStrings.skipException = !0; var t = A.currentCulture; this.globalizationStrings.localizeReport2(t) } finally { this.globalizationStrings.skipException = !1 } } , ct.prototype.renderReportAsync = function(r) { return __awaiter(this, void 0, void 0, function() { var i, o, a, s, l, u, c, m, p, h, d, g, p, f, S, a, s, y, w, b, v, C, E, B, T, I, x, F, D, R, P, N, k; return __generator(this, function(M) { switch (M.label) { case 0: if (this.calculationMode == e.StiCalculationMode.Interpretation && this.processAutoLocalizeReportOnRun(), this.storedCulture = A.currentCulture, !n.isNullOrEmpty(this.culture)) try { A.currentCulture = A.cultures[this.culture] } catch (t) {} M.label = 1; case 1: if (M.trys.push([1, 6, 7, 8]), null != this.cachedTotals ? this.cachedTotals.clear() : this.cachedTotals = new U, null != this.engine && null != this.engine.pageNumbers && this.engine.pageNumbers.clearNotFixed(), this.calculationMode == e.StiCalculationMode.Interpretation && null == this.variables && X.prepareReportVariables(this), this.calculationMode == e.StiCalculationMode.Interpretation && this.reportPass != e.StiReportPass.First && !r.isSubReportMode) try { for (i = __values(this.dictionary.dataSources.list), o = i.next(); !o.done; o = i.next()) a = o.value, null != (s = a.stimulsoft.as(t.Report.Dictionary.StiSqlSource)) && this.variables.set("**StoredDataSourceSqlCommandForInterpretationMode**" + a.name, s.sqlCommand) } catch (t) { B = { error: t } } finally { try { o && !o.done && (T = i.return) && T.call(i) } finally { if (B) throw B.error } } return [4, t.Report.Engine.StiVariableHelper.setDefaultValueForRequestFromUserVariablesAsync(this, !0, !0)]; case 2: if (M.sent(), l = new U, this.calculationMode == e.StiCalculationMode.Interpretation) { u = this.getComponents(); try { for (c = __values(u.list), m = c.next(); !m.done; m = c.next()) p = m.value, null != p.interaction && p.interaction.isDefault() && (l.set(p, p.interaction), p.interaction = null) } catch (t) { I = { error: t } } finally { try { m && !m.done && (x = c.return) && x.call(c) } finally { if (I) throw I.error } } } if (!(null != this.subReports && this.subReports.count > 0)) return [3, 3]; return t.Report.Engine.StiReportBuilder.renderSubReports(this, r), [3, 5]; case 3: return [4, t.Report.Engine.StiReportBuilder.renderSingleReportAsync(this, r)]; case 4: M.sent(), M.label = 5; case 5: if (this.calculationMode == e.StiCalculationMode.Interpretation) { try { for (h = __values(l.keys), d = h.next(); !d.done; d = h.next()) g = d.value, p = g, p.interaction = l.get(g) } catch (t) { F = { error: t } } finally { try { d && !d.done && (D = h.return) && D.call(h) } finally { if (F) throw F.error } } l.clear() } if (this.calculationMode == e.StiCalculationMode.Interpretation && this.reportPass != e.StiReportPass.First && !r.isSubReportMode) try { for (f = __values(this.dictionary.dataSources.list), S = f.next(); !S.done; S = f.next()) a = S.value, null != (s = a.stimulsoft.as(t.Report.Dictionary.StiSqlSource)) && (y = "**StoredDataSourceSqlCommandForInterpretationMode**" + a.name, this.variables.containsKey(y) && (w = this.variables.get(y), w.stimulsoft.is(String) && (s.sqlCommand = w), this.variables.remove(y))) } catch (t) { R = { error: t } } finally { try { S && !S.done && (P = f.return) && P.call(f) } finally { if (R) throw R.error } } return [3, 8]; case 6: throw b = M.sent(); case 7: n.isNullOrEmpty(this.culture) || (A.currentCulture = this.storedCulture), null != this.cachedTotals && (this.cachedTotals.clear(), this.cachedTotals = null), this.reportPass == e.StiReportPass.First && null != this.anchors && this.anchors.clear(); try { for (v = __values(this.dictionary.businessObjects.list), C = v.next(); !C.done; C = v.next()) E = C.value, E.previousResetException = !1 } catch (t) { N = { error: t } } finally { try { C && !C.done && (k = v.return) && k.call(v) } finally { if (N) throw N.error } } return this.isDocument = !1, [7]; case 8: return [2] } }) }) } , ct.prototype.renderReport = function(r) { var o, a, s, l, u, c, m, p, h, d; if (i.clear(), this.calculationMode == e.StiCalculationMode.Interpretation && this.processAutoLocalizeReportOnRun(), this.storedCulture = A.currentCulture, !n.isNullOrEmpty(this.culture)) try { A.currentCulture = A.cultures[this.culture] } catch (t) {} try { if (null != this.cachedTotals ? this.cachedTotals.clear() : this.cachedTotals = new U, null != this.engine && null != this.engine.pageNumbers && this.engine.pageNumbers.clearNotFixed(), this.calculationMode == e.StiCalculationMode.Interpretation && null == this.variables && X.prepareReportVariables(this), this.calculationMode == e.StiCalculationMode.Interpretation && this.reportPass != e.StiReportPass.First && !r.isSubReportMode) try { for (var g = __values(this.dictionary.dataSources.list), f = g.next(); !f.done; f = g.next()) { var S = f.value , y = S.stimulsoft.as(t.Report.Dictionary.StiSqlSource); null != y && this.variables.set("**StoredDataSourceSqlCommandForInterpretationMode**" + S.name, y.sqlCommand) } } catch (t) { o = { error: t } } finally { try { f && !f.done && (a = g.return) && a.call(g) } finally { if (o) throw o.error } } t.Report.Engine.StiVariableHelper.setDefaultValueForRequestFromUserVariables(this); var w = new U; if (this.calculationMode == e.StiCalculationMode.Interpretation) { var b = this.getComponents(); try { for (var v = __values(b.list), C = v.next(); !C.done; C = v.next()) { var E = C.value; null != E.interaction && E.interaction.isDefault() && (w.set(E, E.interaction), E.interaction = null) } } catch (t) { s = { error: t } } finally { try { C && !C.done && (l = v.return) && l.call(v) } finally { if (s) throw s.error } } } if (null != this.subReports && this.subReports.count > 0 ? t.Report.Engine.StiReportBuilder.renderSubReports(this, r) : t.Report.Engine.StiReportBuilder.renderSingleReport(this, r), this.calculationMode == e.StiCalculationMode.Interpretation) { try { for (var B = __values(w.keys), T = B.next(); !T.done; T = B.next()) { var I = T.value , E = I; E.interaction = w.get(I) } } catch (t) { u = { error: t } } finally { try { T && !T.done && (c = B.return) && c.call(B) } finally { if (u) throw u.error } } w.clear() } if (this.calculationMode == e.StiCalculationMode.Interpretation && this.reportPass != e.StiReportPass.First && !r.isSubReportMode) try { for (var x = __values(this.dictionary.dataSources.list), F = x.next(); !F.done; F = x.next()) { var S = F.value , y = S.stimulsoft.as(t.Report.Dictionary.StiSqlSource); if (null != y) { var D = "**StoredDataSourceSqlCommandForInterpretationMode**" + S.name; if (this.variables.containsKey(D)) { var R = this.variables.get(D); R.stimulsoft.is(String) && (y.sqlCommand = R), this.variables.remove(D) } } } } catch (t) { m = { error: t } } finally { try { F && !F.done && (p = x.return) && p.call(x) } finally { if (m) throw m.error } } } finally { n.isNullOrEmpty(this.culture) || (A.currentCulture = this.storedCulture), null != this.cachedTotals && (this.cachedTotals.clear(), this.cachedTotals = null), this.reportPass == e.StiReportPass.First && null != this.anchors && this.anchors.clear(); try { for (var P = __values(this.dictionary.businessObjects.list), N = P.next(); !N.done; N = P.next()) { N.value.previousResetException = !1 } } catch (t) { h = { error: t } } finally { try { N && !N.done && (d = P.return) && d.call(P) } finally { if (h) throw h.error } } this.isDocument = !1 } } , ct.prototype.print = function(e, r) { void 0 === r && (r = P.Table); var i = new t.Report.Export.StiHtmlExportSettings; i.chartType = t.Report.Export.StiHtmlChartType.Vector, i.useWatermarkMargins = !1, i.removeEmptySpaceAtBottom = !1, i.exportMode = r, i.exportBookmarksMode = a.ReportOnly, e && (i.pageRange = e); var n = new t.Report.Export.StiHtmlExportService , s = new at , l = new t.Report.Export.StiHtmlTextWriter(s); n.exportToAsync(function() { var t = s.getStringBuilder().toString() , e = function(t) { var e = document.getElementById("stiPrintReportFrame"); null == e && (e = document.createElement("iframe"), e.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) : o.addEvent(window, "load", function() { e(t) }) }, this, l, i) } , ct.prototype.printToPdf = function(e, r) { void 0 === e && (e = null), void 0 === r && (r = null); var i = new t.Report.Export.StiPdfExportSettings; i.autoPrintMode = t.Report.Export.StiPdfAutoPrintMode.Dialog, e && (i.pageRange = e); var n = new t.Report.Export.StiPdfExportService , o = new R , a = this; n.exportToAsync(function() { var t = function() { if (!navigator) return "Unknown"; var t = navigator.userAgent; if (t.indexOf("Edge") >= 0) return "Edge"; if (t.indexOf("MSIE") >= 0 || t.indexOf("Trident") >= 0) return "MSIE"; if (t.indexOf("Gecko") >= 0) { if (t.indexOf("Chrome") >= 0) return "Chrome"; if (t.indexOf("Safari") >= 0) return "Safari"; return "Mozilla" } if (t.indexOf("Opera") >= 0) return "Opera"; return "Unknown" } , e = o.toArray() , i = new Blob([new Uint8Array(e)],{ type: "application/pdf" }) , n = t(); if ("MSIE" == n || "Edge" == n) { var s = null == a.reportAlias || 0 == a.reportAlias.trim().length ? a.reportName : a.reportAlias; window.navigator.msSaveOrOpenBlob(i, s + ".pdf") } else { var l = URL.createObjectURL(i) , u = document.getElementById("pdfPrintFrame"); null == u && (u = document.createElement("iframe"), u.id = "pdfPrintFrame", u.name = "pdfPrintFrame", u.width = "0px", u.height = "0px", u.style.position = "absolute", u.style.border = "none", "undefined" != typeof navigator && navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && (u.width = "100px", u.height = "100px", u.style.opacity = "0.01", u.style.zIndex = "-100", u.style.pointerEvents = "none"), (r || document.body).appendChild(u), u.onload = function() { u.contentWindow.focus(), u.contentWindow.print() } ), u.src = l } }, a, o, i) } , Object.defineProperty(ct.prototype, "reportFile", { get: function() { return this._reportFile }, set: function(t) { this._reportFile = t }, enumerable: !0, configurable: !0 }), ct.prototype.exportDocumentAsync = function(t, e, r, i) { void 0 === r && (r = null), void 0 === i && (i = null); var n = this; setTimeout(function() { n.exportDocument(e, r, i, t) }) } , ct.prototype.exportDocument = function(r, i, n, o) { void 0 === i && (i = null), void 0 === n && (n = null), void 0 === o && (o = null); var a = []; this.invokeExporting(r); try { var s = new R(a); if (!new t.Report.Events.StiProcessExportEventArgs(r,i,s,n).processed) switch (r) { case e.StiExportFormat.Csv: if (null != i && !i.stimulsoft.is(t.Report.Export.StiCsvExportService)) 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 == i ? null : i.stimulsoft.as(t.Report.Export.StiCsvExportService); null == l && (l = new t.Report.Export.StiCsvExportService), null == n && (n = new t.Report.Export.StiCsvExportSettings); if (!(n.stimulsoft.is(t.Report.Export.StiCsvExportSettings) || n.stimulsoft.is(t.Report.Export.StiDataExportSettings) && n.dataType == S.Csv)) throw new Error("The incorrect type of the 'settings' argument is used. The StiCsvExportSettings is need to be used."); null != o ? l.exportToAsync(function() { o(s.toArray()) }, this, s, n) : (l.exportTo(this, s, n), a = s.toArray()); break; case e.StiExportFormat.Data: if (null != i && !i.stimulsoft.is(t.Report.Export.StiDataExportService)) 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 u = null == i ? null : i.stimulsoft.as(t.Report.Export.StiDataExportService); if (null == u && (u = new t.Report.Export.StiDataExportService), null == n && (n = new t.Report.Export.StiDataExportSettings), !n.stimulsoft.is(t.Report.Export.StiDataExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiCsvExportSettings is need to be used."); u.exportTo(this, s, n), a = s.toArray(); break; case e.StiExportFormat.Dif: break; case e.StiExportFormat.Sylk: break; case e.StiExportFormat.Excel: break; case e.StiExportFormat.ExcelXml: break; case e.StiExportFormat.Excel2007: if (null != i && !i.stimulsoft.is(t.Report.Export.StiExcel2007ExportService)) 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 == i ? null : i.stimulsoft.as(t.Report.Export.StiExcel2007ExportService); if (null == c && (c = new t.Report.Export.StiExcel2007ExportService), null == n && (n = new t.Report.Export.StiExcel2007ExportSettings), !(n.stimulsoft.is(t.Report.Export.StiExcel2007ExportSettings) || n.stimulsoft.is(t.Report.Export.StiExcelExportSettings) && n.stimulsoft.as(t.Report.Export.StiExcelExportSettings).ExcelType == f.Excel2007)) throw new Error("The incorrect type of the 'settings' argument is used. The StiExcel2007ExportSettings is need to be used."); null != o ? c.exportToAsync(function() { o(s.toArray()) }, this, s, n) : (c.exportTo(this, s, n), a = s.toArray()); break; case e.StiExportFormat.Word2007: if (null != i && !i.stimulsoft.is(t.Report.Export.StiWord2007ExportService)) 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 == i ? null : i.stimulsoft.as(t.Report.Export.StiWord2007ExportService); if (null == m && (m = new t.Report.Export.StiWord2007ExportService), null == n && (n = new t.Report.Export.StiWord2007ExportSettings), !n.stimulsoft.is(t.Report.Export.StiWord2007ExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiWord2007ExportSettings is need to be used."); null != o ? m.exportToAsync(function() { o(s.toArray()) }, this, s, n) : (m.exportTo(this, s, n), a = s.toArray()); break; case e.StiExportFormat.Dbf: break; case e.StiExportFormat.Mht: break; case e.StiExportFormat.HtmlSpan: if (null != i && !i.stimulsoft.is(t.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 == i ? null : i.stimulsoft.as(t.Report.Export.StiHtmlExportService); if (null == p && (p = new t.Report.Export.StiHtmlExportService), null == n && (n = new t.Report.Export.StiHtmlExportSettings), !n.stimulsoft.is(t.Report.Export.StiHtmlExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used."); n.exportMode = P.Span; var h = new at , d = new t.Report.Export.StiHtmlTextWriter(h); null != o ? p.exportToAsync(function() { o(h.getStringBuilder().toString()) }, this, d, n) : (p.exportHtml(this, d, n), a = h.getStringBuilder().toString()); break; case e.StiExportFormat.HtmlDiv: if (null != i && !i.stimulsoft.is(t.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 == i ? null : i.stimulsoft.as(t.Report.Export.StiHtmlExportService); if (null == g && (g = new t.Report.Export.StiHtmlExportService), null == n && (n = new t.Report.Export.StiHtmlExportSettings), !n.stimulsoft.is(t.Report.Export.StiHtmlExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used."); n.exportMode = P.Div; var A = new at , d = new t.Report.Export.StiHtmlTextWriter(A); null != o ? g.exportToAsync(function() { o(A.getStringBuilder().toString()) }, this, d, n) : (g.exportTo(this, d, n), a = A.getStringBuilder().toString()); break; case e.StiExportFormat.Html: case e.StiExportFormat.HtmlTable: if (null != i && !i.stimulsoft.is(t.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 y = null == i ? null : i.stimulsoft.as(t.Report.Export.StiHtmlExportService); if (null == y && (y = new t.Report.Export.StiHtmlExportService), null == n && (n = new t.Report.Export.StiHtmlExportSettings), !n.stimulsoft.is(t.Report.Export.StiHtmlExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used."); r != e.StiExportFormat.Html && (n.exportMode = P.Table); var w = new at , d = new t.Report.Export.StiHtmlTextWriter(w); null != o ? y.exportToAsync(function() { o(w.getStringBuilder().toString()) }, this, d, n) : (y.exportTo(this, d, n), a = w.getStringBuilder().toString()); break; case e.StiExportFormat.Html5: if (null != i && !i.stimulsoft.is(t.Report.Export.StiHtml5ExportService)) 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 == i ? null : i.stimulsoft.as(t.Report.Export.StiHtml5ExportService); if (null == b && (b = new t.Report.Export.StiHtml5ExportService), null == n && (n = new t.Report.Export.StiHtml5ExportSettings), !n.stimulsoft.is(t.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 v = new at , d = new t.Report.Export.StiHtmlTextWriter(v); null != o ? b.exportToAsync(function() { o(v.getStringBuilder().toString()) }, this, d, n) : (b.exportTo(this, d, n), a = v.getStringBuilder().toString()); break; case e.StiExportFormat.Image: break; case e.StiExportFormat.ImageBmp: break; case e.StiExportFormat.ImageEmf: break; case e.StiExportFormat.ImageSvg: if (null != i && !i.stimulsoft.is(t.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 C = null == i ? null : i.stimulsoft.as(t.Report.Export.StiSvgExportService); if (null == C && (C = new t.Report.Export.StiSvgExportService), null == n && (n = new t.Report.Export.StiSvgExportSettings), !n.stimulsoft.is(t.Report.Export.StiImageExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiSvgExportSettings is need to be used."); var E = { ref: "" }; C.exportImage(this, E, n), a = E.ref; break; case e.StiExportFormat.ImageSvgz: break; case e.StiExportFormat.ImageGif: break; case e.StiExportFormat.ImageJpeg: break; case e.StiExportFormat.ImagePng: break; case e.StiExportFormat.ImageTiff: break; case e.StiExportFormat.ImagePcx: break; case e.StiExportFormat.Pdf: if (null != i && !i.stimulsoft.is(t.Report.Export.StiPdfExportService)) 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 == i ? null : i.stimulsoft.as(t.Report.Export.StiPdfExportService); if (null == B && (B = new t.Report.Export.StiPdfExportService), null == n && (n = new t.Report.Export.StiPdfExportSettings), !n.stimulsoft.is(t.Report.Export.StiPdfExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiPdfExportSettings is need to be used."); null != o ? B.exportToAsync(function() { o(s.toArray()) }, this, s, n) : (B.exportTo(this, s, n), a = s.toArray()); break; case e.StiExportFormat.Xps: break; case e.StiExportFormat.Rtf: case e.StiExportFormat.RtfTable: break; case e.StiExportFormat.RtfFrame: break; case e.StiExportFormat.RtfWinWord: break; case e.StiExportFormat.RtfTabbedText: break; case e.StiExportFormat.Text: if (null != i && !i.stimulsoft.is(t.Report.Export.StiTxtExportService)) 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 T = null == i ? null : i.stimulsoft.as(t.Report.Export.StiTxtExportService); if (null == T && (T = new t.Report.Export.StiTxtExportService), null == n && (n = new t.Report.Export.StiTxtExportSettings), !n.stimulsoft.is(t.Report.Export.StiTxtExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiTxtExportSettings is need to be used."); null != o ? T.exportToAsync(function() { o(s.toArray()) }, this, s, n) : (T.exportTo(this, s, n), a = s.toArray()); break; case e.StiExportFormat.Xml: break; case e.StiExportFormat.Ods: if (null != i && !i.stimulsoft.is(t.Report.Export.StiOdsExportService)) 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 I = null == i ? null : i.stimulsoft.as(t.Report.Export.StiOdsExportService); if (null == I && (I = new t.Report.Export.StiOdsExportService), null == n && (n = new t.Report.Export.StiOdsExportSettings), !n.stimulsoft.is(t.Report.Export.StiOdsExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiOdsExportSettings is need to be used."); null != o ? I.exportToAsync(function() { o(s.toArray()) }, this, s, n) : (I.exportTo(this, s, n), a = s.toArray()); break; case e.StiExportFormat.Odt: if (null != i && !i.stimulsoft.is(t.Report.Export.StiOdtExportService)) 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 x = null == i ? null : i.stimulsoft.as(t.Report.Export.StiOdtExportService); if (null == x && (x = new t.Report.Export.StiOdtExportService), null == n && (n = new t.Report.Export.StiOdtExportSettings), !n.stimulsoft.is(t.Report.Export.StiOdtExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiOdtExportSettings is need to be used."); null != o ? x.exportToAsync(function() { o(s.toArray()) }, this, s, n) : (x.exportTo(this, s, n), a = s.toArray()); break; case e.StiExportFormat.Ppt2007: if (null != i && !i.stimulsoft.is(t.Report.Export.StiPpt2007ExportService)) 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 F = null == i ? null : i.stimulsoft.as(t.Report.Export.StiPpt2007ExportService); if (null == F && (F = new t.Report.Export.StiPpt2007ExportService), null == n && (n = new t.Report.Export.StiPpt2007ExportSettings), !n.stimulsoft.is(t.Report.Export.StiPpt2007ExportSettings)) throw new Error("The incorrect type of the 'settings' argument is used. The StiPpt2007ExportSettings is need to be used."); null != o ? F.exportToAsync(function() { o(s.toArray()) }, this, s, n) : (F.exportTo(this, s, n), a = s.toArray()); break } } catch (t) {} return this.invokeExported(r), a } , ct.createNewReport = function() { return d.createObject(StiOptions.Engine.baseReportType) } , ct.createNewDashboard = function() { var r = this.createNewReport(); r.calculationMode = e.StiCalculationMode.Interpretation, r.pages.clear(), r.indexName = 1; var i = t.Report.Dashboard.StiDashboardCreator.createDashboard(r).stimulsoft.as(et); if (null == i && (i = d.createObject2("Stimulsoft.Dashboard.Components.StiDashboard")), null == i) throw new p; return i.name = e.StiNameCreation.createName(r, e.StiNameCreation.generateName(i)), r.pages.add(i), r } , ct.eventBeginRender = {}, ct.eventEndRender = {}, ct }(); e.StiReport = ct }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var StiOptions; !function(t) { var e = Stimulsoft.System.StiString; Stimulsoft.StiOptions = t; var r = Stimulsoft.System.Drawing.ColorTranslator , i = Stimulsoft.Report.Dictionary.StiColumnsSynchronizationMode , n = Stimulsoft.Report.Export.StiWord2007RestrictEditing , o = Stimulsoft.System.Drawing.FontStyle , a = Stimulsoft.System.Drawing.Font , s = Stimulsoft.Base.Drawing.StiSolidBrush , l = Stimulsoft.System.Drawing.Color , u = Stimulsoft.Report.Styles.StiStyle , c = Stimulsoft.Report.Components.StiTextQuality , m = Stimulsoft.Report.StiNamingRule , p = Stimulsoft.Report.Dictionary.StiAutoSynchronizeMode , h = Stimulsoft.Report.Dictionary.StiPropertiesProcessingType , d = Stimulsoft.Report.Dictionary.StiFieldsProcessingType , g = Stimulsoft.Report.Export.StiExcel2007RestrictEditing , f = Stimulsoft.Base.Drawing.StiTextHorAlignment , S = Stimulsoft.Base.Drawing.StiVertAlignment , A = Stimulsoft.Report.Export.StiExportUtils , y = Stimulsoft.Report.StiArabicDigitsType , w = Stimulsoft.Report.Export.StiPdfAutoPrintMode , b = Stimulsoft.System.Collections.Hashtable , v = Stimulsoft.System.Collections.List , C = function() { function t() { this.styleColors = [l.white, l.darkGray, l.peachPuff, l.plum, l.lightCoral, l.skyBlue, l.lightSeaGreen, l.lightGreen, l.yellowGreen, l.wheat, l.khaki, r.fromHtml("#0bac45"), r.fromHtml("#b5a1dd"), r.fromHtml("#ffc000"), r.fromHtml("#ed7d31"), r.fromHtml("#239fd9")] } return t }(); t.CrossTab2 = C; var E = function() { function t() {} return Object.defineProperty(t, "styles", { get: function() { if (null == t._styles) { t._styles = new Stimulsoft.Report.Styles.StiStylesCollection; var e = new u("Normal","Normal"); e.brush = new s(l.transparent), e.textBrush = new s(l.black), t._styles.add(e), e = new u("Bad","Bad"), e.brush = new s(l.fromArgb(255, 255, 199, 206)), e.textBrush = new s(l.fromArgb(255, 208, 55, 5)), t._styles.add(e), e = new u("Good","Good"), e.brush = new s(l.fromArgb(255, 198, 239, 206)), e.textBrush = new s(l.fromArgb(255, 0, 97, 94)), t._styles.add(e), e = new u("Neutral","Neutral"), e.brush = new s(l.fromArgb(255, 255, 235, 156)), e.textBrush = new s(l.fromArgb(255, 174, 127, 43)), t._styles.add(e), e = new u("Warning","Warning"), e.brush = new s(l.transparent), e.textBrush = new s(l.red), e.font = new a("Arial",8,o.Bold), t._styles.add(e), e = new u("Note","Note"), e.brush = new s(l.fromArgb(255, 255, 255, 204)), e.textBrush = new s(l.black), t._styles.add(e) } return t._styles }, enumerable: !0, configurable: !0 }), t.useComponentPlacementOptimization = !0, t.autoCorrectDataSourceName = !1, t.autoCorrectDataRelationName = !1, t.autoCorrectDataColumnName = !1, t.autoCorrectComponentName = !1, t.autoCorrectReportName = !1, t.autoLargeHeight = !0, t.sortDictionaryByAliases = !1, t.runWizardAfterLoad = !1, t.runSpecificWizardAfterLoad = "", t.Editors = { allowConnectToDataInGallery: !1 }, t.CrossTab = new C, t }(); t.Designer = E; var B = function() { function t() { this.useImageCloning = !0 } return t }(); t.Image = B; var T = function() { function t() { this.allowExpression = !0 } return t }(); t.Watemark = T; var I = function() { function t() { this.defaultWidth = 5, this.defaultHeight = 5 } return t }(); t.CrossTab = I; var x = function() { function t() { this.allowUseText = !0, this.allowUseTag = !0, this.allowUseToolTip = !0, this.allowUseHyperlink = !0, this.allowUseVariableAlias = !0 } return t }(); t.Globalization = x; var F = function() { function t() {} return t.Image = new B, t.Watermark = new T, t.printIfDetailEmptyDefaultValue = !1, t.baseReportType = Stimulsoft.Report.StiReport, t.fullTrust = !0, t.allowUseResetMethodInBusinessObject = !0, t.allowResetValuesAtComponent = !0, t.useAdvancedPrint = !1, t.defaultTextQualityMode = c.Standard, t.forceGenerationLocalizedName = !1, t.useAdvancedPrintOnEngine = !1, t.forceGenerationNonLocalizedName = !1, t.forceNewPageForExtraColumns = !0, t.useRoundForToCurrencyWordsFunctions = !0, t.useTemplateForPagePrintEvents = !0, t.namingRule = m.Advanced, t.useCheckSizeForContinuedContainers = !0, t.emulateData = !1, t.allowCacheForGetActualSize = !0, t.allowBreakContainerOptimization = !0, t.removeBottomBorderOfSplitContainer = !1, t.usePrintOnAllPagesPropertyOfHeadersInSubreports = !0, t.useParentStylesOldMode = !1, t.useCollateOldMode = !1, t.dpiAware = !0, t.dockPageFooterToBottom = !0, t.defaultValueOfAllowApplyStyleProperty = !0, t.allowFixPieChartMarkerAlignment = !0, t.applyStylesInAutoSeries = !0, t.allowInvokeProcessChartEventForTemplateOfChart = !1, t.allowInteractionInChartWithComponents = !1, t.dontSaveDataSourceBeforeChartRendering = !1, t.measureTrailingSpaces = !1, t.renderExternalSubReportsWithHelpOfUnlimitedHeightPages = !0, t.escapeQueryParameters = !0, t.optimizeDetailDataFiltering = !0, t.CrossTab = new I, t.printIfDetailEmptyNesting = !1, t.allowForceCanBreakForCrossTabPrintOnAllPages = !0, t.Globalization = new x, t.reportResources = { maximumSize: 5e6 }, t.filterDataInDataSourceBeforeSorting = !0, t.allowConvertingInFormatting = !0, t.negativeColor = l.red, t }(); t.Engine = F; var D = function() { function t() {} return t.customPaperSizes = null, t.allowUsePaperSizesFromPrinterSettings = !0, t }(); t.Print = D; var R = function() { function t() { this.columnsSynchronizationMode = i.KeepAbsentColumns } return t.allowUseDataColumn = !0, t.allowUseProperties = !0, t.propertiesProcessingType = h.Browsable, t.fieldsProcessingType = d.Browsable, t }(); t.BusinessObjects = R; var P = function() { function t() {} return t.BusinessObjects = new R, t.showOnlyAliasForDatabase = !1, t.showOnlyAliasForData = !1, t.showOnlyAliasForDataColumn = !0, t.showOnlyAliasForDataRelation = !1, t.hideRelationExceptions = !1, t.autoSynchronize = p.Always, t.useAdvancedDataSearch = !0, t.showOnlyAliasForDataSource = !0, t.allowRestConnections = !0, t.allowConnectToFirstTableForEmptyDataSource = !0, t.useNullableDateTime = !1, t.useNullableTimeSpan = !1, t.columnsSynchronizationMode = i.KeepAbsentColumns, t.showOnlyAliasForResource = !1, t }(); t.Dictionary = P; var N = function() { function t() {} return Object.defineProperty(t.prototype, "dashboardStyles", { get: function() { if (null != this._dashboardStyles) return this._dashboardStyles; return this._dashboardStyles = new v, 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 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "controlStyles", { get: function() { if (null != this._controlStyles) return this._controlStyles; return this._controlStyles = new v, 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 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "indicatorStyles", { get: function() { if (null != this._indicatorStyles) return this._indicatorStyles; return this._indicatorStyles = new v, 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 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "pivotStyles", { get: function() { if (null != this._pivotStyles) return this._pivotStyles; return this._pivotStyles = new v, 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 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "progressStyles", { get: function() { if (null != this._progressStyles) return this._progressStyles; return this._progressStyles = new v, 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 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tableStyles", { get: function() { if (null != this._tableStyles) return this._tableStyles; return this._tableStyles = new v, 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 }, enumerable: !0, configurable: !0 }), t }(); t.Dashboards = N; var k = function() { function e() {} return Object.defineProperty(e, "components", { get: function() { if (null != this._components) return this._components; return this._components = new v, 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.Components.StiChart && 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 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "databases", { get: function() { if (null != this._databases) return this._databases; return this._databases = new v, 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 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "dataAdapters", { get: function() { if (null != this._dataAdapters) return this._dataAdapters; return this._dataAdapters = new v, 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 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "dataSource", { get: function() { if (null != this._dataSource) return this._dataSource; return this._dataSource = new v, 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.StiDataTransformation), this._dataSource }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "formats", { get: function() { if (null != this._formats) return this._formats; return this._formats = new v, 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: !0, configurable: !0 }), Object.defineProperty(e, "styles", { get: function() { if (null != this._styles) return this._styles; return this._styles = new v, 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: !0, configurable: !0 }), Object.defineProperty(e, "chartAreas", { get: function() { return null == t.Services._chartAreas && (t.Services._chartAreas = new v([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]), t.Services._chartAreas.filter(function(t) { return t })), t.Services._chartAreas }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "chartSeries", { get: function() { return null == t.Services._chartSeries && (t.Services._chartSeries = new v([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]), t.Services._chartSeries.filter(function(t) { return t })), t.Services._chartSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "chartTrendLines", { get: function() { return null == t.Services._chartTrendLines && (t.Services._chartTrendLines = new v([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: !0, configurable: !0 }), Object.defineProperty(e, "chartSerieLabels", { get: function() { return null == t.Services._chartSerieLabels && (t.Services._chartSerieLabels = new v([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: !0, configurable: !0 }), Object.defineProperty(e, "chartStyles", { get: function() { return null == t.Services._chartStyles && (t.Services._chartStyles = new v([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]), t.Services._chartStyles.filter(function(t) { return t })), t.Services._chartStyles }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "shapes", { get: function() { return null == t.Services._shapes && (t.Services._shapes = new v([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: !0, configurable: !0 }), Object.defineProperty(e, "barCodes", { get: function() { return null == t.Services._barCodes && (t.Services._barCodes = new v([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.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: !0, configurable: !0 }), Object.defineProperty(e, "indicatorRanges", { get: function() { return null == t.Services._indicatorRanges && (t.Services._indicatorRanges = new v([new Stimulsoft.Report.Components.Gauge.StiLinearIndicatorRangeInfo, new Stimulsoft.Report.Components.Gauge.StiRadialIndicatorRangeInfo])), t.Services._indicatorRanges }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "customValues", { get: function() { return null == t.Services._customValues && (t.Services._customValues = new v([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: !0, configurable: !0 }), Object.defineProperty(e, "gaugeElements", { get: function() { return null == t.Services._gaugeElements && (t.Services._gaugeElements = new v([new Stimulsoft.Report.Components.Gauge.StiLinearTickLabelCustomValue, 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: !0, configurable: !0 }), Object.defineProperty(e, "ranges", { get: function() { return null == t.Services._ranges && (t.Services._ranges = new v([new Stimulsoft.Report.Components.Gauge.StiLinearRange, new Stimulsoft.Report.Components.Gauge.StiRadialRange])), t.Services._ranges }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "gaugeScales", { get: function() { return null == t.Services._gaugeScales && (t.Services._gaugeScales = new v([new Stimulsoft.Report.Components.Gauge.StiLinearScale, new Stimulsoft.Report.Components.Gauge.StiRadialScale])), t.Services._gaugeScales }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "gaugeStyles", { get: function() { return null == t.Services._gaugeStyles && (t.Services._gaugeStyles = new v([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])), t.Services._gaugeStyles }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "mapStyles", { get: function() { if (null != this._mapStyles) return this._mapStyles; return this._mapStyles = new v, 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 }, enumerable: !0, configurable: !0 }), e.Dashboards = new N, e }(); t.Services = k; var M = function() { function t() { 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 = n.No } return t }(); t.ExportWord = M; var O = function() { function t() { this.removeEmptySpaceAtBottom = !0, this.allowImageComparer = !0, this.divideSegmentPages = !0 } return t }(); t.ExportWriter = O; var _ = function() { function t() { this.removeEmptySpaceAtBottom = !0, this.allowImageComparer = !0, this.divideSegmentPages = !0, this.divideBigCells = !0, this.maximumSheetHeight = 1048574 } return t }(); t.ExportCalc = _; var L = function() { function t() { this.convertDigitsToArabic = !1, this.arabicDigitsType = Stimulsoft.Report.StiArabicDigitsType.Standard, this.allowImageComparer = !0, this.forceWysiwygWordwrap = !1, this.replaceSpecialCharacters = !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 } return t }(); t.ExportHtml = L; var j = function() { function t() { 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 = g.No, this.FitToOnePageWide = !0 } return t }(); t.ExportExcel = j; var H = function() { function t() { this.AllowImageComparer = !0, this.StoreImagesAsPng = !0 } return t }(); t.ExportPowerPoint = H; var G = function() { function t() { this.divideSegmentPages = !0, this.arabicDigitsType = y.Standard, this.reduceFontFileSize = !0, this.allowImageComparer = !0, this.allowImageTransparency = !0, this.allowExtGState = !0, this._creatorString = "", this.keywordsString = "", this.defaultCoordinatesPrecision = 2, this.defaultAutoPrintMode = w.None, this.useAlternativeFontNames = !0 } return Object.defineProperty(t.prototype, "creatorString", { get: function() { return e.isNullOrEmpty(this._creatorString) && (this._creatorString = A.getReportVersion()), this._creatorString }, set: function(t) { this._creatorString = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "alternativeFontNames", { get: function() { return null == t._alternativeFontNames && (t._alternativeFontNames = new b, t._alternativeFontNames.add("MS Pゴシック", "MS PGothic"), t._alternativeFontNames.add("MS P明朝", "MS PMincho"), t._alternativeFontNames.add("MS ゴシック", "MS Gothic"), t._alternativeFontNames.add("MS 明朝", "MS Mincho"), t._alternativeFontNames.add("メイリオ", "Meiryo"), t._alternativeFontNames.add("바탕", "Batang"), t._alternativeFontNames.add("바탕체", "Batangche"), t._alternativeFontNames.add("굴림", "Gulim"), t._alternativeFontNames.add("굴림체", "Gulimche"), t._alternativeFontNames.add("돋움", "Dotum"), t._alternativeFontNames.add("돋움체", "Dotumche"), t._alternativeFontNames.add("궁서", "Gungsuh"), t._alternativeFontNames.add("궁서체", "Gungsuhche"), t._alternativeFontNames.add("맑은 고딕", "Malgun Gothic"), t._alternativeFontNames.add("宋体", "SimSun"), t._alternativeFontNames.add("宋体-ExtB", "SimSun-ExtB"), t._alternativeFontNames.add("黑体", "SimHei"), t._alternativeFontNames.add("新宋体", "NSimSun"), t._alternativeFontNames.add("微软雅黑", "Microsoft YaHei"), t._alternativeFontNames.add("仿宋", "FangSong"), t._alternativeFontNames.add("楷体", "KaiTi"), t._alternativeFontNames.add("仿宋_GB2312", "FangSong_GB2312"), t._alternativeFontNames.add("新細明體", "PMingLiU"), t._alternativeFontNames.add("新細明體-ExtB", "PMingLiU-ExtB"), t._alternativeFontNames.add("細明體", "MingLiU"), t._alternativeFontNames.add("細明體-ExtB", "MingLiU-ExtB"), t._alternativeFontNames.add("微軟正黑體", "Microsoft JhengHei"), t._alternativeFontNames.add("標楷體", "DFKai-SB"), t._alternativeFontNames.add("文泉驛正黑", "WenQuanYi Zen Hei"), t._alternativeFontNames.add("文泉驿正黑", "WenQuanYi Zen Hei"), t._alternativeFontNames.add("文鼎PL細上海宋Uni", "AR PL ShanHeiSun Uni"), t._alternativeFontNames.add("文鼎PL细上海宋Uni", "AR PL ShanHeiSun Uni"), t._alternativeFontNames.add("文PL中楷Uni", "AR PL ZenKai Uni"), t._alternativeFontNames.add("細曠體_HKSCS", "MingLiU_HKSCS"), t._alternativeFontNames.add("細曠體_HKSCS-ExtB", "MingLiU_HKSCS-ExtB")), t._alternativeFontNames }, set: function(e) { t._alternativeFontNames = e }, enumerable: !0, configurable: !0 }), t._alternativeFontNames = null, t }(); t.ExportPdf = G; var Q = function() { function t() { this.useFullVerticalBorder = !0, this.useFullHorizontalBorder = !0, this.checkBoxTextForTrue = "+", this.checkBoxTextForFalse = "-", this.trimTrailingSpaces = !0 } return t }(); t.ExportText = Q; var Y = function() { function t() { this.Font = new a("Arial",10), this.HorAlignment = f.Center, this.VertAlignment = S.Center } return t }(); t.CheckBoxReplacementForExcelValue_ = Y; var U = function() { function t() {} return t.Word = new M, t.OpenDocumentWriter = new O, t.OpenDocumentCalc = new _, t.Html = new L, t.Excel = new j, t.PowerPoint = new H, t.Pdf = new G, t.Text = new Q, t.CheckBoxReplacementForExcelValue = new Y, t.optimizeDataOnlyMode = !0, t.checkBoxTextForTrue = "false", t.checkBoxTextForFalse = "true", t }(); t.Export = U; var J = function() { function t() {} return t.url = "", t.timeout = 30, t }(); t.WebServer = J }(StiOptions || (StiOptions = {})); var Stimulsoft; !function(t) { var e; !function(t) { var e = function() { function t(t) { this._index = t } return Object.defineProperty(t.prototype, "index", { get: function() { return this._index }, enumerable: !0, configurable: !0 }), t }(); t.StiOptionsFontHelperAttribute = e }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Collections.CollectionBase , i = function(t) { function e(e) { var r = t.call(this) || this; return r.owner = e, r } return __extends(e, t), e.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.add(t) } , e }(r); e.StiReportsCollection = i }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.Report.Components.StiMargins , i = t.Report.StiResizeReportOptions , n = t.Report.Components.StiSubReport , o = t.System.Collections.Hashtable , a = t.Report.Components.StiPage , s = function() { function t() {} return t.setPageParameters = function(t, e, n, o, a, s, l) { var u, c, m = (l & i.PageOrientationChanged) > 0, p = (l & i.RescaleContent) > 0, h = (l & i.AllowPageMarginsRescaling) > 0, d = t.width, g = t.height; if (m && (t.orientation = e), t.paperSize = n, e == t.orientation ? (t.pageWidth = a, t.pageHeight = s, t.margins = o.clone()) : (t.pageWidth = s, t.pageHeight = a, t.margins = new r(o.top,o.bottom,o.left,o.right)), t.width <= 0 && (t.width = .1), t.height <= 0 && (t.height = .1), p) { var f = t.width / d , S = t.height / g; t.resizePage(f, S, h) } try { for (var A = __values(t.components.list), y = A.next(); !y.done; y = A.next()) { y.value.dockToContainer() } } catch (t) { u = { error: t } } finally { try { y && !y.done && (c = A.return) && c.call(A) } finally { if (u) throw u.error } } } , t.resizeReport = function(t, e, r, s, l, u, c, m) { var p, h, d, g, f, S, A, y, w, b, v, C; void 0 === m && (m = -1); var E = (c & i.RebuildReport) > 0 , B = (c & i.ProcessAllPages) > 0 , T = (c & i.ShowProgressOnRebuildReport) > 0 , I = null; m < t.renderedPages.count && m >= 0 && (I = t.renderedPages.getByIndex(m)); var x = null != I ? I.name : ""; if (E) { var F = new o , D = t.getComponents(); try { for (var R = __values(t.pages.list), P = R.next(); !P.done; P = R.next()) { var N = P.value; F.set(N.guid, N) } } catch (t) { p = { error: t } } finally { try { P && !P.done && (h = R.return) && h.call(R) } finally { if (p) throw p.error } } var k = new o; try { for (var M = __values(D.list), O = M.next(); !O.done; O = M.next()) { var _ = O.value , L = _.stimulsoft.as(n); if (null != L && null != L.subReportPageGuid) { var j = F.get(L.subReportPageGuid).stimulsoft.as(a); null != j && k.set(j, _.width) } } } catch (t) { d = { error: t } } finally { try { O && !O.done && (g = M.return) && g.call(M) } finally { if (d) throw d.error } } try { for (var H = __values(t.pages.list), G = H.next(); !G.done; G = H.next()) { var N = G.value; if (N.name == x || B) { var Q = k.get(N); if (null == Q && this.setPageParameters(N, e, r, s, l, u, c), !B) break } } } catch (t) { f = { error: t } } finally { try { G && !G.done && (S = H.return) && S.call(H) } finally { if (f) throw f.error } } try { for (var Y = __values(t.pages.list), U = Y.next(); !U.done; U = Y.next()) { var N = U.value , Q = k.get(N); if (null != Q) { var J = +Q; if (N.width != J) { var W = N.width + N.margins.left + N.margins.right; N.width = J, this.setPageParameters(N, e, r, s, W, u, c) } } } } catch (t) { A = { error: t } } finally { try { U && !U.done && (y = Y.return) && y.call(Y) } finally { if (A) throw A.error } } if (null != t.subReports && t.subReports.count > 0) try { for (var V = __values(t.subReports.list), z = V.next(); !z.done; z = V.next()) { var L = z.value , X = L; null != L.compiledReport && (X = L.compiledReport), this.resizeReport(X, e, r, s, l, u, c) } } catch (t) { w = { error: t } } finally { try { z && !z.done && (b = V.return) && b.call(V) } finally { if (w) throw w.error } } t.isRendered = !1, t.render(T), t.invokeRefreshViewer() } else { var K = 0; try { for (var Z = __values(t.renderedPages.list), q = Z.next(); !q.done; q = Z.next()) { var N = q.value; if ((K == m || B) && (this.setPageParameters(N, e, r, s, l, u, c), !B)) return; K++ } } catch (t) { v = { error: t } } finally { try { q && !q.done && (C = Z.return) && C.call(Z) } finally { if (v) throw v.error } } } } , t }(); e.StiResizeReportHelper = s }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function t(t) { var e, i; this.page = null, this.textBox = null, this.dataSourcesPosition = new r, 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), o = n.next(); !o.done; o = n.next()) { var a = o.value; this.dataSourcesPosition.set(a.name, a.position) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (e) throw e.error } } } return t.prototype.clone = function() { var e = new t(this.page.report); return e.page = this.page, e.textBox = this.textBox, e.line = this.line, e.column = this.column, e.lineThrough = this.lineThrough, e.dataSourcesPosition = this.dataSourcesPosition, e } , Object.defineProperty(t.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: !0, configurable: !0 }), Object.defineProperty(t.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: !0, configurable: !0 }), t.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 i = __values(t.dictionary.dataSources.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; o.position = this.dataSourcesPosition.get(o.name) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , t }(); e.StiRuntimeVariables = i }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Activator , i = t.System.Collections.Hashtable , n = function() { function t(t) { this.value = t } return t }() , o = function() { function t(t) { this.rangeType = t.stimulsoft.getType(), this.from = t.fromObject, this.to = t.toObject } return t }() , a = function() { function t() { this.states = new i } return t.prototype.push = function(t, e, r, n) { var o = this.states.get(t); null == o && (o = new i, this.states.add(t, o)); var a = o.get(e); null == a && (a = new i, o.add(e, a)), a.set(r, n) } , t.prototype.pushBool = function(e, r, i, n) { n ? this.push(e, r, i, t.ValueBoolTrue) : this.push(e, r, i, t.ValueBoolFalse) } , t.prototype.pushInt = function(t, e, r, i) { this.push(t, e, r, new n(i)) } , t.prototype.pushInt64 = function(t, e, r, i) { this.push(t, e, r, new n(i)) } , t.prototype.pushFloat = function(t, e, r, i) { this.push(t, e, r, new n(i)) } , t.prototype.pushDouble = function(t, e, r, i) { this.push(t, e, r, new n(i)) } , t.prototype.pushDecimal = function(t, e, r, i) { this.push(t, e, r, new n(i)) } , t.prototype.pushRange = function(t, e, r, i) { this.push(t, e, r, new o(i)) } , t.prototype.pop = function(t, e, r) { var i = this.states.get(t); if (null == i) return null; var n = i.get(e); if (null == n) return null; return n.get(r) } , t.prototype.popBool = function(e, r, i) { if (this.pop(e, r, i) == t.ValueBoolFalse) return !1; return !0 } , t.prototype.popInt = function(t, e, r) { var i = this.pop(t, e, r); if (null == i) return 0; return i.value } , t.prototype.popInt64 = function(t, e, r) { return this.popInt(t, e, r) } , t.prototype.popDouble = function(t, e, r) { return this.popInt(t, e, r) } , t.prototype.popFloat = function(t, e, r) { return this.popInt(t, e, r) } , t.prototype.popDecimal = function(t, e, r) { return this.popInt(t, e, r) } , t.prototype.popRange = function(t, e, i) { var n = this.pop(t, e, i); if (null == n) return null; var o = r.createInstance(n.rangeType); return o.fromObject = n.from, o.toObject = n.to, o } , t.prototype.isExist = function(t, e) { if (null == this.states.get(t)) return !1; if (null == this.states.get(t).get(e)) return !1; return !0 } , t.prototype.clearState = function(t) { this.states.remove(t) } , t.prototype.clear = function() { this.states.clear() } , t.ValueBoolFalse = {}, t.ValueBoolTrue = {}, t }(); e.StiStatesManager = a }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Collections.List , i = t.System.StiString , n = t.Base.Localization.StiLocalization , o = function() { function t() {} return t.getPageNofM = function(t) { return i.format(this.getPageNofMIdent(t), t.pageNumber, t.totalPageCount) } , t.getPageNofMThrough = function(t) { return i.format(this.getPageNofMIdent(t), t.pageNumberThrough, t.totalPageCountThrough) } , t.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(n.cultureName))) return e; return n.get("Report", "PageNofM") } , t.getIdent = function(t) { var e, r; t = t.toLowerCase(); try { for (var i = __values(this.locs), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.name == t) return o.value } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } if (t.stimulsoft.contains("-")) return t = t.substr(0, t.indexOf("-")), this.locs.where(function(e) { return t.stimulsoft.startsWith(e.name) }).select(function(t) { return t.value })[0]; return null } , t.locs = new r([{ 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}" }]), t }(); e.StiSystemVariableLocHelper = o }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.System.Collections.Hashtable , i = function() { function t() { this.hashText = new r, this.hashComponent = new r, this.hashFontString = new r } return t.prototype.getFontString = function(t) { var e = this.hashFontString.get(t); if (null != e) return e; var r = t.name + "*" + t.style.toString() + "*"; return this.hashFontString.set(t, r), r } , t.prototype.getFontSizeObject = function(t, e, r, i, n) { void 0 === i && (i = { ref: Number }), void 0 === n && (n = { ref: String }); var o = i.ref , a = n.ref , s = this.hashComponent.get(t); return null == s && (a = r + "*" + e.width.toString() + "*" + e.height.toString() + "*" + this.getFontString(t.font) + "*" + o.toString(), null != (s = this.hashText.get(a)) && this.hashComponent.set(t, s)), s.stimulsoft.is(Number) && (o = +s), s } , t.prototype.clear = function() { this.hashText.clear(), this.hashComponent.clear(), this.hashFontString.clear() } , t }(); e.StiFitTextInfo = i; var n = function() { function t() {} return Object.defineProperty(t, "enabled", { get: function() { return this._enabled }, set: function(t) { this._enabled = t }, enumerable: !0, configurable: !0 }), t.addReport = function(t) { this.enabled && null != t && (null == t.compiledReport ? this.hashes.set(t, new i) : this.hashes.set(t.compiledReport, new i)) } , t.removeReport = function(t) { if (null != t) { var e = this.hashes.get(t).stimulsoft.as(i); null != e && e.clear(), this.hashes.remove(t) } } , t.clearReportInfo = function(t) { if (null != t) { var e = this.hashes.get(t).stimulsoft.as(i); null != e && e.clear() } } , t.getReportInfo = function(t) { if (this.enabled && null != t) { var e = this.hashes.get(t); if (null != e) return e } return null } , t.clear = function() { this.hashes.clear() } , t.hashes = new r, t._enabled = !1, t }(); e.StiViewerFitTextHelper = n }(e = t.Report || (t.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(t) { var e; !function(e) { var r = t.Report.Components.StiFilterCondition , i = t.Base.StiObjectConverter , n = t.Report.Components.StiDataBand , o = t.Report.Dictionary.StiSumFunctionService , a = t.Report.Dictionary.StiSumTimeFunctionService , s = t.Report.Dictionary.StiAvgFunctionService , l = t.Report.Dictionary.StiAvgDateFunctionService , u = t.Report.Dictionary.StiAvgTimeFunctionService , c = t.Report.Dictionary.StiMaxFunctionService , m = t.Report.Dictionary.StiMinFunctionService , p = t.Report.Dictionary.StiMedianFunctionService , h = t.Report.Dictionary.StiModeFunctionService , d = t.Report.Dictionary.StiFirstFunctionService , g = t.Report.Dictionary.StiLastFunctionService , f = t.Report.Dictionary.StiCountFunctionService , S = t.Report.Dictionary.StiCountDistinctFunctionService , A = t.Report.Dictionary.StiMinDateFunctionService , y = t.Report.Dictionary.StiMinTimeFunctionService , w = t.Report.Dictionary.StiMinStrFunctionService , b = t.Report.Dictionary.StiMaxDateFunctionService , v = t.Report.Dictionary.StiMaxTimeFunctionService , C = t.Report.Dictionary.StiMaxStrFunctionService , E = t.Report.Dictionary.StiSumDistinctFunctionService , B = t.Report.Dictionary.StiSumNullableFunctionService , T = t.Report.Engine.StiParser , I = t.System.Collections.Hashtable , x = t.Report.Dictionary.StiDataSource , F = t.Report.Components.StiBand , D = t.Report.Components.StiHierarchicalBand , R = t.Report.Dictionary.StiBusinessObject , P = t.Report.Engine.StiDataBandBuilder , N = t.Report.Components.StiDataHelper , k = t.Report.Components.StiGroupHeaderBand , M = t.Report.Components.StiContainer , O = t.System.Data.DBNull , _ = t.Report.Dictionary.StiRankFunctionService , L = t.System.Text.StringBuilder , j = t.System.StiString , H = function() { function t() { 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 } return t }() , G = function() { function G() {} return G.getMethod = function(t, e) { return null } , G.calculate = function(t, e, r, i, n, o, a) { void 0 === n && (n = !1), void 0 === o && (o = !1), void 0 === a && (a = !0); var s = r; if (null == s) { var l = e , u = e.stimulsoft.as(T.StiParserData); if (null != u && (l = u.data), l.stimulsoft.is(x)) { var c = l.dictionary; null != c && (s = c.report) } l.stimulsoft.is(F) && (s = l.report) } var m = null != s && s.cacheTotals , p = null , h = null; if (m) { var d = { ref: p } , g = { ref: h } , f = this.getCachedValue(t, e, s, i, n, o, a, d, g); if (h = g.ref, f) return d.ref } return null != s && (s.cachedTotalsLocked = !0), p = G.calculate1(t, e, r, i, n, o, a), null != s && (s.cachedTotalsLocked = !1), m && G.storeCachedValue(e, s, h, p), p } , G.calculate1 = function(r, i, o, a, s, l, u) { var c, m, p = !0; null != o && (p = o.calculationMode == e.StiCalculationMode.Compilation); var h = new H; if (!p) { var d = null; null != i && (d = i.stimulsoft.as(T.StiParserData)), null != d ? (h.asmList = d.asmList, h.asmList2 = d.asmList2, h.conditionAsmList = d.conditionAsmList, h.parser = d.parser, i = d.data) : p = !0 } h.isCompilationMode = p, h.report = o, h.functionn = r; var g = null , f = r.stimulsoft.getType() == E ? r : null; if (null != f) if (p) { var S = a.split("~"); S.length > 1 && (a = S[0], g = S[1], h.sumDistinctFunction = f) } else null != h.asmList2 && (h.sumDistinctFunction = f); if (p) { if (null != a && (h.method = this.getMethod(o, a), null == h.method)) return 0; if (null != g && (h.method2 = this.getMethod(o, g), null == h.method2)) return 0 } var A = null == i ? null : i.stimulsoft.as(n); if (null != A && u) { if (null == o && (o = A.report), r.init(), G.saveState(A), A.isBusinessObjectEmpty || (A.businessObject.createEnumerator(), A.businessObject.specTotalsCalculation = !0), null != o.engine && -1 != o.engine.indexPageForPageTotal) { var y = o.engine.indexPageForPageTotal; -1 != o.engine.startIndexPageForPageTotal && (y = o.engine.startIndexPageForPageTotal); for (var w = "Breaked_" + A.name, b = "Continued_" + A.name, v = y; v <= o.engine.indexPageForPageTotal; v++) { var C = o.renderedPages.getByIndex(v) , B = C.getComponents(); try { for (var F = (c = void 0, __values(B.list)), O = F.next(); !O.done; O = F.next()) { var _ = O.value , L = _.stimulsoft.as(M); if (null != L && (A.name == L.name || w == L.name || b == L.name) && -1 != L.containerInfo.dataBandPosition) { var j = null , Q = null; A.isDataSourceEmpty || (A.position = L.containerInfo.dataBandPosition, null != L.containerInfo.dataSourceRow && (A.position = 0, j = A.dataSource.detailRows, A.dataSource.detailRows = Array.create(t.System.Data.DataRow, 1), A.dataSource.detailRows[0] = L.containerInfo.dataSourceRow)), A.isBusinessObjectEmpty || null != L.containerInfo.businessObjectCurrent && (Q = A.businessObject.currentObject, A.businessObject.currentObject = L.containerInfo.businessObjectCurrent), this.calcItem(h), A.isDataSourceEmpty || null != L.containerInfo.dataSourceRow && (A.dataSource.detailRows = j), A.isBusinessObjectEmpty || null != L.containerInfo.businessObjectCurrent && (A.businessObject.currentObject = Q) } } } catch (t) { c = { error: t } } finally { try { O && !O.done && (m = F.return) && m.call(F) } finally { if (c) throw c.error } } } } return A.isBusinessObjectEmpty || (A.businessObject.specTotalsCalculation = !1), G.restoreState(A), r.getValue() } var Y = null == i ? null : i.stimulsoft.as(x); if (null != Y) { r.init(), Y.saveState("Totals"), Y.first(), Y.resetData(), Y.resetDetailsRows(); while (!Y.isEof) this.calcItem(h), Y.next(); return Y.restoreState("Totals"), r.getValue() } var U = null == i ? null : i.stimulsoft.as(R); if (null != U) { r.init(), U.saveState("Totals"), U.createEnumerator(), U.specTotalsCalculation = !0; while (!U.isEof) this.calcItem(h), U.next(); return U.specTotalsCalculation = !1, U.restoreState("Totals"), r.getValue() } var J = null == i ? null : i.stimulsoft.as(D); if (null != J) { var W = !1; if (!s && l && (W = !0, s = !0), null == o && (o = J.report), r.init(), !J.isDataSourceEmpty) { J.saveState("Totals"), J.hierarchicalBandInfo.finalFooterCalculation && (J.position = 0); var V = J.dataSource.getLevel(); -1 != J.hierarchicalBandInfo.specifiedLevel && (V = J.hierarchicalBandInfo.specifiedLevel), J.dataSource.count > 0 && (-1 == J.hierarchicalBandInfo.specifiedLevel || s) && !l && this.calcItem(h); var z = J.position; while (J.position > 0 && !l) { J.position--; var X = J.dataSource.getLevel(); if (X < V) break; if (!s && X != V) continue; this.calcItem(h) } J.position = z; while (J.position < J.count - 1) { J.position++; var X = J.dataSource.getLevel(); if (X < V) break; if (l) { if (W && X - V > 1) continue; if (X == V) break } if (!s && X != V) continue; this.calcItem(h) } J.position = z, J.restoreState("Totals") } if (!J.isBusinessObjectEmpty) { var K = J.position; J.saveState("Totals"); var Z = []; J.saveState("Totals2"), J.businessObject.createEnumerator(); while (!J.businessObject.isEof) Z.add(J.businessObject.enumerator.current), J.businessObject.next(); J.restoreState("Totals2"), J.hierarchicalBandInfo.finalFooterCalculation && (J.position = 0), J.businessObject.currentObject = Z[J.position]; var V = J.businessObject.getLevel(); -1 != J.hierarchicalBandInfo.specifiedLevel && (V = J.hierarchicalBandInfo.specifiedLevel), J.businessObject.count > 0 && (-1 == J.hierarchicalBandInfo.specifiedLevel || s) && !l && this.calcItem(h); var z = J.position; while (J.position > 0 && !l) { J.position--, J.businessObject.currentObject = Z[J.position]; var X = J.businessObject.getLevel(); if (X < V) break; if (!s && X != V) continue; this.calcItem(h) } J.position = z; while (J.position < J.count - 1) { J.position++, J.businessObject.currentObject = Z[J.position]; var X = J.businessObject.getLevel(); if (X < V) break; if (l) { if (W && X - V > 1) continue; if (X == V) break } if (!s && X != V) continue; this.calcItem(h) } J.position = z, J.restoreState("Totals") } return r.getValue() } var q = null == i ? null : i.stimulsoft.as(n); if (null != q) { if (null == o && (o = q.report), r.init(), null != q.businessObject) { var $ = q.businessObject; $.saveState("Totals"), $.createEnumerator(), $.specTotalsCalculation = !0; while (!$.isEof) this.calcItem(h), $.next(); $.specTotalsCalculation = !1, $.restoreState("Totals") } else { G.saveState(q), N.setData(q, !1), q.first(); while (!q.isEof) this.calcItem(h), q.next(); G.restoreState(q) } return r.getValue() } var tt = null == i ? null : i.stimulsoft.as(k); if (null != tt) { if (null == o && (o = tt.report), r.init(), null == (q = tt.getDataBand())) return 0; G.saveState(q); var et = null; et = P.getBuilder(n); var rt = q.businessObject , it = !1 , nt = !1; if (it = et.getGroupHeaderResult(q, tt), nt = et.getGroupFooterResult(q, tt), it && nt) try { P.setDetails(q), this.calcItem(h) } catch (e) { t.System.StiError.showError(e, !1) } else { if (null != rt) { var ot = rt.position; rt.saveState("Totals"), rt.createEnumerator(), rt.specTotalsCalculation = !0; var at = [] , st = 0; while (st != ot) 0 == st && P.prepareGroupResults(q), at.add(et.getGroupHeaderResult(q, tt)), q.next(), st++; if (st--, !it) { var lt = new I; if (ot > 0) try { while (!0) { if (at[st]) { lt.set(st, st); break } if (lt.set(st, st), --st < 0) break } } catch (e) { t.System.StiError.showError(e, !1), ot = 0 } rt.first(), st = 0; while (st != ot) null != lt.get(st) && this.calcItem(h), st++, rt.next() } } else while (1 == 1) { if (et.getGroupHeaderResult(q, tt)) break; q.prior() } while (1 == 1) { if (et.getGroupFooterResult(q, tt)) break; if (this.calcItem(h), null != rt) { if (rt.isEof) break; rt.next(), P.prepareGroupResults(q) } else q.next() } it = et.getGroupHeaderResult(q, tt), nt = et.getGroupFooterResult(q, tt), !it && nt && this.calcItem(h) } return null != rt && (rt.specTotalsCalculation = !1, rt.restoreState("Totals")), G.restoreState(q), r.getValue() } return 0 } , G.calcItem = function(e) { try { var r = null; if (e.isCompilationMode) e.method, null != e.sumDistinctFunction || e.functionn.calcItem(r); else if (null == e.conditionAsmList || t.System.Convert.toBoolean(e.parser.executeAsm(e.conditionAsmList))) if (r = e.parser.executeAsm(e.asmList), null != e.sumDistinctFunction) { var i = e.parser.executeAsm(e.asmList2); e.sumDistinctFunction.calcItem(r, i) } else e.functionn.calcItem(r) } catch (e) { t.System.StiError.showError(e, !1) } } , G.calculateByCondition = function(r, i, n, o, a, s, l, u, c) { var m = !0; null != n && (m = n.calculationMode == e.StiCalculationMode.Compilation); var p = null , h = null; if (!m) { var d = null == i ? null : i.stimulsoft.as(T.StiParserData); null != d ? (p = d.asmList, h = d.parser, i = d.data) : m = !0 } var g = null == i ? null : i.stimulsoft.as(D); if (null != g) { var f = !1; !u && c && (f = !0, u = !0), null == n && (n = g.report), r.init(), g.saveState("Totals"); var S = []; if (null != g.businessObject) { g.saveState("Totals2"), g.businessObject.createEnumerator(); while (!g.businessObject.isEof) S.add(g.businessObject.enumerator.current), g.businessObject.next(); g.restoreState("Totals2") } g.hierarchicalBandInfo.finalFooterCalculation && (g.position = 0), null != g.businessObject && (g.businessObject.currentObject = S[g.position]); var A = null != g.dataSource ? g.dataSource.getLevel() : g.businessObject.getLevel(); if (-1 != g.hierarchicalBandInfo.specifiedLevel && (A = g.hierarchicalBandInfo.specifiedLevel), (S.length > 0 || g.dataSource.count > 0) && (-1 == g.hierarchicalBandInfo.specifiedLevel || u) && !c) try { var y = null; m || (y = this.compareValue(h.executeAsm(p), a, s, l)), r.calcItem(y) } catch (t) {} var w = g.position; while (g.position > 0 && !c) { g.position--, null != g.businessObject && (g.businessObject.currentObject = S[g.position]); var b = null != g.dataSource ? g.dataSource.getLevel() : g.businessObject.getLevel(); if (b < A) break; if (!u && b != A) continue; try { var y = null; m || (y = this.compareValue(h.executeAsm(p), a, s, l)), r.calcItem(y) } catch (e) { t.System.StiError.showError(e, !1) } } g.position = w; while (g.position < g.count - 1) { g.position++, null != g.businessObject && (g.businessObject.currentObject = S[g.position]); var b = null != g.dataSource ? g.dataSource.getLevel() : g.businessObject.getLevel(); if (b < A) break; if (c) { if (f && b - A > 1) continue; if (b == A) break } if (!u && b != A) continue; try { var y = null; m || (y = this.compareValue(h.executeAsm(p), a, s, l)), r.calcItem(y) } catch (e) { t.System.StiError.showError(e, !1) } } return g.position = w, g.restoreState("Totals"), r.getValue() } return 0 } , G.compareValue = function(t, e, i, n) { var o = i; switch (e) { case r.Between: return o >= i && o <= n ? o : 0; case r.EqualTo: return o == i ? o : 0; case r.GreaterThan: return o > i ? o : 0; case r.GreaterThanOrEqualTo: return o >= i ? o : 0; case r.LessThan: return o < i ? o : 0; case r.LessThanOrEqualTo: return o <= i ? o : 0; case r.NotBetween: return o < i || o > n ? o : 0; case r.NotEqualTo: return o != i ? o : 0; case r.NotContaining: case r.EndingWith: case r.Containing: case r.BeginningWith: return 0 } return 0 } , G.calculateNullable = function(t, e, r, n, o, a) { var s = G.calculate(t, e, r, n, o, a, !1); if (null == s) return null; return i.convertToNumber(s) } , G.calculateRunning = function(t, e, r, i) { try { if (null == r) if (e.stimulsoft.is(n)) r = e.report; else if (e.stimulsoft.is(T.StiParserData)) { var o = null == e.data ? null : e.data.stimulsoft.as(n); null != o && (r = o.report) } return r.engine.startIndexPageForPageTotal = 0, G.calculate(t, e, r, i, !1, !1, !0) } finally { r.engine.startIndexPageForPageTotal = -1 } } , G.sum = function(t, e, r) { return G.calculate(new o, t, e, r, !1, !1, !1) } , G.sumNullable = function(t, e, r) { return G.calculateNullable(new B, t, e, r, !1, !1) } , G.sumDistinct = function(t, e, r, i) { return void 0 === i && (i = null), null == i ? G.calculate(new E, t, e, r, !1, !1, !1) : G.calculate(new E, t, e, r + "~" + i, !1, !1) } , G.cSum = function(t, e, r) { return G.calculate(new o, t, e, r, !1, !1, !0) } , G.cSumRunning = function(t, e, r) { return G.calculateRunning(new o, t, e, r) } , G.sumAllLevels = function(t, e, r) { return G.calculate(new o, t, e, r, !0, !1, !1) } , G.sumAllLevelsByCondition = function(t, e, r, i, n, a) { return G.calculateByCondition(new o, t, e, r, i, n, a, !0, !1) } , G.sumAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new o, t, e, r, !0, !0, !1) } , G.sumOnlyChilds = function(t, e, r) { return G.calculate(new o, t, e, r, !1, !0, !1) } , G.sumTime = function(t, e, r) { return G.calculate(new a, t, e, r, !1, !1, !1) } , G.cSumTime = function(t, e, r) { return G.calculate(new a, t, e, r) } , G.sumTimeAllLevels = function(t, e, r) { return G.calculate(new a, t, e, r, !0, !1, !1) } , G.sumTimeAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new a, t, e, r, !0, !0, !1) } , G.sumTimeOnlyChilds = function(t, e, r) { return G.calculate(new a, t, e, r, !1, !0, !1) } , G.avg = function(t, e, r) { return G.calculate(new s, t, e, r, !1, !1, !1) } , G.cAvg = function(t, e, r) { return G.calculate(new s, t, e, r) } , G.cAvgRunning = function(t, e, r) { return G.calculateRunning(new s, t, e, r) } , G.avgAllLevels = function(t, e, r) { return G.calculate(new s, t, e, r, !0, !1, !1) } , G.avgAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new s, t, e, r, !0, !0, !1) } , G.avgOnlyChilds = function(t, e, r) { return G.calculate(new s, t, e, r, !1, !0, !1) } , G.avgDate = function(t, e, r) { return G.calculate(new l, t, e, r, !1, !1, !1) } , G.cAvgDate = function(t, e, r) { return G.calculate(new l, t, e, r) } , G.avgDateAllLevels = function(t, e, r) { return G.calculate(new l, t, e, r, !0, !1, !1) } , G.avgDateAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new l, t, e, r, !0, !0, !1) } , G.avgDateOnlyChilds = function(t, e, r) { return G.calculate(new l, t, e, r, !1, !0, !1) } , G.avgTime = function(t, e, r) { return G.calculate(new u, t, e, r, !1, !1, !1) } , G.cAvgTime = function(t, e, r) { return G.calculate(new u, t, e, r) } , G.avgTimeAllLevels = function(t, e, r) { return G.calculate(new u, t, e, r, !0, !1, !1) } , G.avgTimeAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new u, t, e, r, !0, !0, !1) } , G.avgTimeOnlyChilds = function(t, e, r) { return G.calculate(new u, t, e, r, !1, !0, !1) } , G.max = function(t, e, r) { return G.calculate(new c, t, e, r, !1, !1, !1) } , G.cMax = function(t, e, r) { return G.calculate(new c, t, e, r) } , G.cMaxRunning = function(t, e, r) { return G.calculateRunning(new c, t, e, r) } , G.maxAllLevels = function(t, e, r) { return G.calculate(new c, t, e, r, !0, !1, !1) } , G.maxAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new c, t, e, r, !0, !0, !1) } , G.maxOnlyChilds = function(t, e, r) { return G.calculate(new c, t, e, r, !1, !0, !1) } , G.min = function(t, e, r) { return G.calculate(new m, t, e, r, !1, !1, !1) } , G.cMin = function(t, e, r) { return G.calculate(new m, t, e, r) } , G.cMinRunning = function(t, e, r) { return G.calculateRunning(new m, t, e, r) } , G.minAllLevels = function(t, e, r) { return G.calculate(new m, t, e, r, !0, !1, !1) } , G.minAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new m, t, e, r, !0, !0, !1) } , G.minOnlyChilds = function(t, e, r) { return G.calculate(new m, t, e, r, !1, !0, !1) } , G.median = function(t, e, r) { return G.calculate(new p, t, e, r, !1, !1, !1) } , G.cMedian = function(t, e, r) { return G.calculate(new p, t, e, r) } , G.cMedianRunning = function(t, e, r) { return G.calculateRunning(new p, t, e, r) } , G.medianAllLevels = function(t, e, r) { return G.calculate(new p, t, e, r, !0, !1, !1) } , G.medianAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new p, t, e, r, !0, !0, !1) } , G.medianOnlyChilds = function(t, e, r) { return G.calculate(new p, t, e, r, !1, !0, !1) } , G.mode = function(t, e, r) { return G.calculate(new h, t, e, r, !1, !1, !1) } , G.cMode = function(t, e, r) { return G.calculate(new h, t, e, r) } , G.cModeRunning = function(t, e, r) { return G.calculateRunning(new h, t, e, r) } , G.modeAllLevels = function(t, e, r) { return G.calculate(new h, t, e, r, !0, !1, !1) } , G.modeAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new h, t, e, r, !0, !0, !1) } , G.modeOnlyChilds = function(t, e, r) { return G.calculate(new h, t, e, r, !1, !0, !1) } , G.first = function(t, e, r) { return G.calculate(new d, t, e, r, !1, !1, !1) } , G.cFirst = function(t, e, r) { return G.calculate(new d, t, e, r) } , G.cFirstRunning = function(t, e, r) { return G.calculateRunning(new d, t, e, r) } , G.firstAllLevels = function(t, e, r) { return G.calculate(new d, t, e, r, !0, !1, !1) } , G.firstAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new d, t, e, r, !0, !0, !1) } , G.firstOnlyChilds = function(t, e, r) { return G.calculate(new d, t, e, r, !1, !0, !1) } , G.last = function(t, e, r) { return G.calculate(new g, t, e, r, !1, !1, !1) } , G.cLast = function(t, e, r) { return G.calculate(new g, t, e, r) } , G.cLastRunning = function(t, e, r) { return G.calculateRunning(new g, t, e, r) } , G.lastAllLevels = function(t, e, r) { return G.calculate(new g, t, e, r, !0, !1, !1) } , G.lastAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new g, t, e, r, !0, !0, !1) } , G.lastOnlyChilds = function(t, e, r) { return G.calculate(new g, t, e, r, !1, !0, !1) } , G.count = function(t, e, r) { return void 0 === e && (e = null), void 0 === r && (r = null), G.calculate(new f, t, e, r, !1, !1, !1) } , G.cCount = function(t, e, r) { return void 0 === e && (e = null), void 0 === r && (r = null), G.calculate(new f, t, e, r) } , G.cCountRunning = function(t, e, r) { return void 0 === e && (e = null), void 0 === r && (r = null), G.calculateRunning(new f, t, e, r) } , G.countAllLevels = function(t) { return G.calculate(new f, t, null, null, !0, !1, !1) } , G.countAllLevelsOnlyChilds = function(t) { return G.calculate(new f, t, null, null, !0, !0, !1) } , G.countOnlyChilds = function(t) { return G.calculate(new f, t, null, null, !1, !0, !1) } , G.countDistinct = function(t, e, r) { return G.calculate(new S, t, e, r, !1, !1, !1) } , G.cCountDistinct = function(t, e, r) { return G.calculate(new S, t, e, r) } , G.cCountDistinctRunning = function(t, e, r) { return G.calculateRunning(new S, t, e, r) } , G.countDistinctAllLevels = function(t, e, r) { return G.calculate(new S, t, e, r, !0, !1, !1) } , G.countDistinctAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new S, t, e, r, !0, !0, !1) } , G.countDistinctOnlyChilds = function(t, e, r) { return G.calculate(new S, t, e, r, !1, !0, !1) } , G.minDate = function(t, e, r) { return G.calculate(new A, t, e, r, !1, !1, !1) } , G.cMinDate = function(t, e, r) { return G.calculate(new A, t, e, r) } , G.minDateAllLevels = function(t, e, r) { return G.calculate(new A, t, e, r, !0, !1, !1) } , G.minDateAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new A, t, e, r, !0, !0, !1) } , G.minDateOnlyChilds = function(t, e, r) { return G.calculate(new A, t, e, r, !1, !0, !1) } , G.minTime = function(t, e, r) { return G.calculate(new y, t, e, r, !1, !1, !1) } , G.cMinTime = function(t, e, r) { return G.calculate(new y, t, e, r) } , G.minTimeAllLevels = function(t, e, r) { return G.calculate(new y, t, e, r, !0, !1, !1) } , G.minTimeAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new y, t, e, r, !0, !0, !1) } , G.minTimeOnlyChilds = function(t, e, r) { return G.calculate(new y, t, e, r, !1, !0, !1) } , G.minStr = function(t, e, r) { return G.calculate(new w, t, e, r, !1, !1, !1) } , G.cMinStr = function(t, e, r) { return G.calculate(new w, t, e, r) } , G.minStrAllLevels = function(t, e, r) { return G.calculate(new w, t, e, r, !0, !1, !1) } , G.minStrAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new w, t, e, r, !0, !0, !1) } , G.minStrOnlyChilds = function(t, e, r) { return G.calculate(new w, t, e, r, !1, !0, !1) } , G.maxDate = function(t, e, r) { return G.calculate(new b, t, e, r, !1, !1, !1) } , G.cMaxDate = function(t, e, r) { return G.calculate(new b, t, e, r) } , G.maxDateAllLevels = function(t, e, r) { return G.calculate(new b, t, e, r, !0, !1, !1) } , G.maxDateAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new b, t, e, r, !0, !0, !1) } , G.maxDateOnlyChilds = function(t, e, r) { return G.calculate(new b, t, e, r, !1, !0, !1) } , G.maxTime = function(t, e, r) { return G.calculate(new v, t, e, r, !1, !1, !1) } , G.cMaxTime = function(t, e, r) { return G.calculate(new v, t, e, r) } , G.maxTimeAllLevels = function(t, e, r) { return G.calculate(new v, t, e, r, !0, !1, !1) } , G.maxTimeAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new v, t, e, r, !0, !0, !1) } , G.maxTimeOnlyChilds = function(t, e, r) { return G.calculate(new v, t, e, r, !1, !0, !1) } , G.maxStr = function(t, e, r) { return G.calculate(new C, t, e, r, !1, !1, !1) } , G.cMaxStr = function(t, e, r) { return G.calculate(new C, t, e, r) } , G.maxStrAllLevels = function(t, e, r) { return G.calculate(new C, t, e, r, !0, !1, !1) } , G.maxStrAllLevelsOnlyChilds = function(t, e, r) { return G.calculate(new C, t, e, r, !0, !0, !1) } , G.maxStrOnlyChilds = function(t, e, r) { return G.calculate(new C, t, e, r, !1, !0, !1) } , G.rank = function(t, r, i, n, o) { void 0 === n && (n = !0), void 0 === o && (o = e.StiRankOrder.Asc); var a = this.calculate(new _(!1,n,o), t, r, i, !1, !1, !1) , s = a.stimulsoft.as(I); if (null != s && null != t) { var l = null , u = null == t ? null : t.stimulsoft.as(T.StiParserData); if (null != u) { var c = u.asmList; l = u.parser.executeAsm(c) } if (null != l && l != O.value) return +s.get(l); return 0 } return 0 } , G.saveState = function(t) { var e, r; if (t.saveState("Totals"), null != t.dataBandInfo && null != t.dataBandInfo.detailDataBands) try { for (var i = __values(t.dataBandInfo.detailDataBands.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; G.saveState(o) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , G.restoreState = function(t) { var e, r; if (t.restoreState("Totals"), null != t.dataBandInfo && null != t.dataBandInfo.detailDataBands) try { for (var i = __values(t.dataBandInfo.detailDataBands.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; G.restoreState(o) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } } , G.storeCachedValue = function(t, e, r, i) { var n = null == t ? null : t.stimulsoft.as(T.StiParserData); null != n && (t = n.data); var o = e.cachedTotals.get(t); null == o && (o = new I, e.cachedTotals.set(t, o)), o.set(r, i) } , G.getCachedValue = function(t, e, r, i, n, o, a, s, l) { var u, c, m = new L, p = e.stimulsoft.as(T.StiParserData); if (null != p && (e = p.data, null != p.asmList)) try { for (var h = __values(p.asmList), d = h.next(); !d.done; d = h.next()) { var g = d.value; m.append(g.toString()), m.append("*") } } catch (t) { u = { error: t } } finally { try { d && !d.done && (c = h.return) && c.call(h) } finally { if (u) throw u.error } } var f = j.format("{0}_*_{1}_*_{2}_*_{3}_*_{4}_*_{5}", t.serviceName, i, m.toString(), n, o, a ? "PageTotal" + r.currentPrintPage.toString() : "False") , S = null , A = !1; null == r.cachedTotals && (r.cachedTotals = new I); var y = r.cachedTotals.get(e); return null != y && y.containsKey(f) && (S = y.get(f), A = !0), s.ref = S, l.ref = f, A } , G }(); e.Totals = G }(e = t.Report || (t.Report = {})) }(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 e = function(t, r) { return (e = 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]) } )(t, r) }; return function(t, r) { function i() { this.constructor = t } e(t, r), t.prototype = null === r ? Object.create(r) : (i.prototype = r.prototype, new i) } }(), Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.StiJson , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.Report.Components.StiFilterItem , a = e.Report.Components.StiFilterDataType , s = e.System.ICloneable , l = e.Base.Localization.StiLocalization , u = e.System.Enum , c = e.Report.Components.StiFilterCondition , h = function() { function e(e, t, r, i) { void 0 === e && (e = o.Argument), void 0 === t && (t = a.String), void 0 === r && (r = c.EqualTo), void 0 === i && (i = ""), this._condition = c.EqualTo, this._dataType = a.String, this._item = o.Argument, this._valueObj = "", this.filters = null, this._item = e, this._dataType = t, this._condition = r, this._valueObj = i } return e.prototype.implements = function() { return e.implementsStiChartFilter || (e.implementsStiChartFilter = [n, t.IStiChartFilter, s]), e.implementsStiChartFilter } , e.prototype.saveToJsonObject = function(e) { var t = new i; return t.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t.addPropertyEnum("Condition", c, this.condition, c.EqualTo), t.addPropertyEnum("DataType", a, this.dataType, a.String), t.addPropertyEnum("Item", o, this.item, o.Argument), t.addPropertyStringNullOrEmpty("Value", this.value), t } , e.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var i = __values(e.properties()), n = i.next(); !n.done; n = i.next()) { var s = n.value; switch (s.name) { case "Condition": this._condition = u.parse(c, s.value.toString()); break; case "DataType": this._dataType = u.parse(a, s.value.toString()); break; case "Item": this._item = u.parse(o, s.value.toString()); break; case "Value": this._valueObj = s.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 } } } , e.prototype.loadFromXml = function(e, t) { for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Condition": this._condition = u.parse(c, i.textContent.toString()); break; case "DataType": this._dataType = u.parse(a, i.textContent.toString()); break; case "Item": this._item = u.parse(o, i.textContent.toString()); break; case "Value": this._valueObj = i.textContent.toString(); break } } } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "index", { get: function() { if (null == this.filters) return -1; return this.filters.indexOf(this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "condition", { get: function() { return this._condition }, set: function(e) { this._condition = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "dataType", { get: function() { return this._dataType }, set: function(e) { this._dataType = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "item", { get: function() { return this._item }, set: function(e) { this._item = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "value", { get: function() { return this._valueObj }, set: function(e) { this._valueObj = e }, enumerable: !0, configurable: !0 }), e.prototype.toString = function() { var e = ""; switch (this.condition) { case c.EqualTo: e = "="; break; case c.NotEqualTo: e = "<>"; break; case c.GreaterThan: e = ">"; break; case c.GreaterThanOrEqualTo: e = ">="; break; case c.LessThan: e = "<"; break; case c.LessThanOrEqualTo: e = "=<"; break } var t = l.get("PropertyMain", "Argument"); switch (u.parse(o, t)) { case o.Value: t = l.get("PropertyMain", "Value"); break; case o.ValueEnd: t = l.get("PropertyMain", "Value"); break } return r.format("{0} {1} {2}", t, e, this.value) } , e }(); t.StiChartFilter = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Enum , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.Base.StiJsonReportObjectHelper , o = e.Report.Components.StiFilterCondition , a = e.Report.Components.StiFilterDataType , s = e.Report.Components.StiFilterItem , l = e.System.Drawing.Color , u = function(u) { function c(e, r, i, n, c, h, p) { void 0 === e && (e = l.white), void 0 === r && (r = s.Argument), void 0 === i && (i = a.String), void 0 === n && (n = o.EqualTo), void 0 === c && (c = ""); var f = u.call(this, r, i, n, c) || this; return f._color = l.white, f._markerType = t.StiMarkerType.Circle, f._markerAngle = 0, f.conditions = null, f.color = e, null != h && (f.markerType = h), null != p && (f.markerAngle = p), f } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiChartCondition || (c.implementsStiChartCondition = u.prototype.implements.call(this).concat([t.IStiChartCondition, t.IStiChartFilter, i])), c.implementsStiChartCondition } , c.prototype.saveToJsonObject = function(e) { var r = u.prototype.saveToJsonObject.call(this, e); return r.addPropertyStringNullOrEmpty("Color", n.Serialize.jColor(this.color, l.white)), r.addPropertyEnum("MarkerType", t.StiMarkerType, this.markerType, t.StiMarkerType.Circle), r.addPropertyNumber("MarkerAngle", this.markerAngle, 0), r } , c.prototype.loadFromJsonObject = function(e) { var i, o; u.prototype.loadFromJsonObject.call(this, e); try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "Color": this._color = n.Deserialize.color(l.value.toString()); break; case "MarkerType": this.markerType = r.parse(t.StiMarkerType, l.value.toString()); break; case "MarkerAngle": this.markerAngle = l.value.stimulsoft.toNumber(); break } } } catch (e) { i = { error: e } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (i) throw i.error } } } , c.prototype.loadFromXml = function(i, n) { u.prototype.loadFromXml.call(this, i, n); for (var o = 0; o < i.childNodes.length; o++) { var a = i.childNodes[o]; switch (a.nodeName) { case "Color": this.color = e.System.Text.StiReportObjectStringConverter.convertStringToColor(a.textContent); break; case "MarkerType": this.markerType = r.parse(t.StiMarkerType, a.textContent); break; case "MarkerAngle": this.markerAngle = a.textContent.stimulsoft.toNumber(); break } } } , c.prototype.clone = function() { return u.prototype.clone.call(this) } , Object.defineProperty(c.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "markerType", { get: function() { return this._markerType }, set: function(e) { this._markerType = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "markerAngle", { get: function() { return this._markerAngle }, set: function(e) { this._markerAngle = e }, enumerable: !0, configurable: !0 }), c }(t.StiChartFilter); t.StiChartCondition = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJson , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.System.Collections.CollectionBase , a = e.System.Enum , s = e.System.Text.XMLConvert , l = e.Report.Components.StiFilterCondition , u = e.Report.Components.StiFilterItem , c = e.Report.Components.StiFilterDataType , h = function(o) { function h() { return null !== o && o.apply(this, arguments) || this } return __extends(h, o), h.prototype.implements = function() { return h.implementsStiChartConditionsCollection || (h.implementsStiChartConditionsCollection = [i, n, t.IStiChartConditionsCollection]), h.implementsStiChartConditionsCollection } , h.prototype.saveToJsonObject = function(e) { var t, i; if (0 == this.list.length) return null; var n = new r , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(e)), o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (t) throw t.error } } return n } , h.prototype.loadFromJsonObject = function(e) { var r, i; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = new t.StiChartCondition; s.loadFromJsonObject(a.value), this.list.add(s) } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , h.prototype.loadFromXml = function(r) { for (var i = 0; i < r.childNodes.length; i++) { var n = r.childNodes[i]; if ("value" == n.nodeName) { var o = n.textContent.split(",") , h = o[3]; "GreaterThen" == h ? h = "GreaterThan" : "GreaterThenOrEqualTo" == h ? h = "GreaterThanOrEqualTo" : "LessThen" == h ? h = "LessThan" : "LessThenOrEqualTo" == h ? h = "LessThanOrEqualTo" : "GreaterThen" == h && (h = "GreaterThan"); var p = new t.StiChartCondition(e.System.Text.StiReportObjectStringConverter.convertStringToColor(o[0]),a.parse(u, o[1]),a.parse(c, o[2]),a.parse(l, h),s.decodeName(o[4])); this.add(p) } } } , h.prototype.clone = function() { var e, t, r = new h; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; r.add(o.clone()) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (t = i.return) && t.call(i) } finally { if (e) throw e.error } } return r } , h.prototype.add = function(e) { this.list.add(e), null == e.conditions && (e.conditions = this) } , h }(o); t.StiChartConditionsCollection = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.System.DateTime , o = e.Report.Expressions.StiExpression , a = e.System.Text.XMLConvert , s = e.Base.StiJson , l = e.Base.StiJsonSaveMode , u = e.Base.JsonReportObject.IStiJsonReportObject , c = e.System.ICloneable , h = e.System.Text.StringBuilder , p = e.Report.Components.StiText , f = e.Report.Components.StiFilterMode , m = e.Base.StiGuidUtils , S = e.Base.Drawing.StiSolidBrush , d = e.Base.Drawing.StiGradientBrush , y = e.Base.Drawing.StiGlareBrush , g = e.System.Enum , b = e.Base.Services.StiService , v = e.Base.StiJsonReportObjectHelper , C = function(b) { function C() { var e = b.call(this) || this; return e._allowApplyStyle = !0, e._format = "", e._sortBy = r.StiSeriesSortType.None, e._sortDirection = r.StiSeriesSortDirection.Ascending, e._showInLegend = !0, e._showSeriesLabels = r.StiShowSeriesLabels.FromChart, e._showShadow = !0, e._filterMode = f.And, e._filters = new r.StiChartFiltersCollection, e._conditions = new r.StiChartConditionsCollection, e._topN = new r.StiSeriesTopN, e._yAxis = r.StiSeriesYAxis.LeftYAxis, e.valuesOld = null, e._values = [1, 3, 2], e._valueDataColumn = "", e._arguments = [], e._argumentDataColumn = "", e._autoSeriesTitleDataColumn = "", e._autoSeriesKeyDataColumn = "", e._autoSeriesColorDataColumn = "", e._toolTips = [], e._toolTipDataColumn = "", e._tags = [], e._tagDataColumn = "", e._hyperlinks = [], e._hyperlinkDataColumn = "", e._drillDownEnabled = !1, e._drillDownReport = "", e._drillDownPageGuid = null, e._allowSeries = !0, e._allowSeriesElements = !0, e.valueObj = "", e._listOfValues = "", e._argument = "", e._listOfArguments = "", e._titleValue = null, e._title = "", e._toolTip = "", e._listOfToolTips = "", e._tag = "", e._listOfTags = "", e._hyperlink = "", e._listOfHyperlinks = "", e.seriesLabels = new r.StiCenterAxisLabels, e.trendLine = new r.StiTrendLineNone, e.interaction = new r.StiSeriesInteraction, e } return __extends(C, b), C.prototype.implements = function() { return C.implementsStiSeries || (C.implementsStiSeries = b.prototype.implements.call(this).concat([u, c, r.IStiSeries, u])), C.implementsStiSeries } , C.prototype.saveToJsonObject = function(e) { var t = new s; return t.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t.addPropertyBool("AllowApplyStyle", this.allowApplyStyle, !0), t.addPropertyStringNullOrEmpty("Format", this._format), t.addPropertyEnum("SortBy", r.StiSeriesSortType, this._sortBy, r.StiSeriesSortType.None), t.addPropertyEnum("SortDirection", r.StiSeriesSortDirection, this._sortDirection, r.StiSeriesSortDirection.Ascending), t.addPropertyBool("ShowInLegend", this._showInLegend, !0), t.addPropertyEnum("ShowSeriesLabels", r.StiShowSeriesLabels, this._showSeriesLabels, r.StiShowSeriesLabels.FromChart), t.addPropertyBool("ShowShadow", this._showShadow, !0), t.addPropertyEnum("FilterMode", f, this._filterMode, f.And), t.addPropertyJObject("Filters", this._filters.saveToJsonObject(e)), t.addPropertyJObject("Conditions", this._conditions.saveToJsonObject(e)), t.addPropertyJObject("TopN", this.topN.saveToJsonObject(e)), t.addPropertyEnum("YAxis", r.StiSeriesYAxis, this._yAxis, r.StiSeriesYAxis.LeftYAxis), t.addPropertyJObject("SeriesLabels", this._seriesLabels.saveToJsonObject(e)), t.addPropertyJObject("TrendLine", this.trendLine.saveToJsonObject(e)), t.addPropertyStringNullOrEmpty("ValueDataColumn", this.valueDataColumn), t.addPropertyStringNullOrEmpty("ArgumentDataColumn", this._argumentDataColumn), t.addPropertyStringNullOrEmpty("AutoSeriesTitleDataColumn", this._autoSeriesTitleDataColumn), t.addPropertyStringNullOrEmpty("AutoSeriesKeyDataColumn", this._autoSeriesKeyDataColumn), t.addPropertyStringNullOrEmpty("AutoSeriesColorDataColumn", this._autoSeriesColorDataColumn), t.addPropertyStringNullOrEmpty("ToolTipDataColumn", this._toolTipDataColumn), t.addPropertyStringNullOrEmpty("TagDataColumn", this._tagDataColumn), t.addPropertyStringNullOrEmpty("HyperlinkDataColumn", this._hyperlinkDataColumn), t.addPropertyBool("DrillDownEnabled", this.drillDownEnabled), t.addPropertyStringNullOrEmpty("DrillDownReport", this.drillDownReport), t.addPropertyStringNullOrEmpty("DrillDownPageGuid", this._drillDownPageGuid), t.addPropertyBool("AllowSeries", this._allowSeries, !0), t.addPropertyBool("AllowSeriesElements", this._allowSeriesElements, !0), t.addPropertyJObject("Interaction", this.interaction.saveToJsonObject(e)), t.addPropertyJObject("Value", new o(this.value).saveToJsonObject(e)), t.addPropertyJObject("ListOfValues", new o(this.listOfValues).saveToJsonObject(e)), t.addPropertyJObject("Argument", new o(this.argument).saveToJsonObject(e)), t.addPropertyJObject("ListOfArguments", new o(this.listOfArguments).saveToJsonObject(e)), t.addPropertyJObject("Title", new o(this.title).saveToJsonObject(e)), t.addPropertyJObject("ToolTip", new o(this.toolTip).saveToJsonObject(e)), t.addPropertyJObject("ListOfToolTips", new o(this.listOfToolTips).saveToJsonObject(e)), t.addPropertyJObject("Tag", new o(this.tag).saveToJsonObject(e)), t.addPropertyJObject("ListOfTags", new o(this.listOfTags).saveToJsonObject(e)), t.addPropertyJObject("Hyperlink", new o(this.hyperlink).saveToJsonObject(e)), t.addPropertyJObject("ListOfHyperlinks", new o(this.listOfHyperlinks).saveToJsonObject(e)), e == l.Document && (t.addPropertyStringNullOrEmpty("ValuesString", this.valuesString), t.addPropertyStringNullOrEmpty("ArgumentsString", this.argumentsString), t.addPropertyStringNullOrEmpty("ToolTipsString", this.toolTipsString), t.addPropertyStringNullOrEmpty("TagString", this.tagString), t.addPropertyStringNullOrEmpty("HyperlinkString", this.hyperlinkString), t.addPropertyStringNullOrEmpty("TitleValue", this.titleValue), t.addPropertyStringNullOrEmpty("LegendColor", v.Serialize.jColor(this.legendColor, null))), t } , C.prototype.loadFromJsonObject = function(e) { var t, i; try { for (var n = __values(e.properties()), a = n.next(); !a.done; a = n.next()) { var s = a.value; switch (s.name) { case "AllowApplyStyle": this.allowApplyStyle = s.value.stimulsoft.toBoolean(); break; case "Format": this._format = s.value.toString(); break; case "SortBy": this._sortBy = g.parse(r.StiSeriesSortType, s.value.toString()); break; case "SortDirection": this._sortDirection = g.parse(r.StiSeriesSortDirection, s.value.toString()); break; case "ShowInLegend": this._showInLegend = s.value.stimulsoft.toBoolean(); break; case "ShowSeriesLabels": this._showSeriesLabels = g.parse(r.StiShowSeriesLabels, s.value.toString()); break; case "ShowShadow": this._showShadow = s.value.stimulsoft.toBoolean(); break; case "FilterMode": this._filterMode = g.parse(f, s.value.toString()); break; case "Filters": this._filters.loadFromJsonObject(s.value); break; case "Conditions": this._conditions.loadFromJsonObject(s.value); break; case "TopN": this.topN.loadFromJsonObject(s.value); break; case "YAxis": this._yAxis = g.parse(r.StiSeriesYAxis, s.value.toString()); break; case "SeriesLabels": this._seriesLabels = r.StiSeriesLabels.loadFromJsonObjectInternal(s.value, this.chart); break; case "TrendLine": this.trendLine = r.StiTrendLine.loadFromJsonObjectInternal(s.value); break; case "ValueDataColumn": this.valueDataColumn = s.value.toString(); break; case "ArgumentDataColumn": this._argumentDataColumn = s.value.toString(); break; case "AutoSeriesTitleDataColumn": this._autoSeriesTitleDataColumn = s.value.toString(); break; case "AutoSeriesKeyDataColumn": this._autoSeriesKeyDataColumn = s.value.toString(); break; case "AutoSeriesColorDataColumn": this._autoSeriesColorDataColumn = s.value.toString(); break; case "ToolTipDataColumn": this._toolTipDataColumn = s.value.toString(); break; case "TagDataColumn": this._tagDataColumn = s.value.toString(); break; case "HyperlinkDataColumn": this._hyperlinkDataColumn = s.value.toString(); break; case "DrillDownEnabled": this.drillDownEnabled = s.value.stimulsoft.toBoolean(); break; case "DrillDownReport": this.drillDownReport = s.value.toString(); break; case "DrillDownPageGuid": this._drillDownPageGuid = s.value.toString(); break; case "AllowSeries": this._allowSeries = s.value.stimulsoft.toBoolean(); break; case "AllowSeriesElements": this._allowSeriesElements = s.value.stimulsoft.toBoolean(); break; case "Interaction": this.interaction.loadFromJsonObject(s.value); break; case "NewAutoSeriesEvent": break; case "GetValueEvent": break; case "GetListOfValuesEvent": break; case "GetArgumentEvent": break; case "GetListOfArgumentsEvent": break; case "GetTitleEvent": break; case "GetToolTipEvent": break; case "GetListOfToolTipsEvent": break; case "GetTagEvent": break; case "GetListOfTagsEvent": break; case "GetHyperlinkEvent": break; case "GetListOfHyperlinksEvent": break; case "Value": var l = new o; l.loadFromJsonObject(s.value), this.value = l.value; break; case "ListOfValues": var u = new o; u.loadFromJsonObject(s.value), this.listOfValues = u.value; break; case "Argument": var c = new o; c.loadFromJsonObject(s.value), this.argument = c.value; break; case "ListOfArguments": var h = new o; h.loadFromJsonObject(s.value), this.listOfArguments = h.value; break; case "Title": var p = new o; p.loadFromJsonObject(s.value), this.title = p.value; break; case "ToolTip": var m = new o; m.loadFromJsonObject(s.value), this.toolTip = m.value; break; case "ListOfToolTips": var S = new o; S.loadFromJsonObject(s.value), this.listOfToolTips = S.value; break; case "Tag": var d = new o; d.loadFromJsonObject(s.value), this.tag = d.value; break; case "ListOfTags": var y = new o; y.loadFromJsonObject(s.value), this.listOfTags = y.value; break; case "Hyperlink": var b = new o; b.loadFromJsonObject(s.value), this.hyperlink = b.value; break; case "ListOfHyperlinks": var u = new o; u.loadFromJsonObject(s.value), this.listOfHyperlinks = u.value; break; case "ValuesString": this.valuesString = s.value.toString(); break; case "ArgumentsString": this.argumentsString = s.value.toString(); break; case "ToolTipsString": this.toolTipsString = s.value.toString(); break; case "TagString": this.tagString = s.value.toString(); break; case "HyperlinkString": this.hyperlinkString = s.value.toString(); break; case "TitleValue": this.titleValue = s.value.toString(); break; case "LegendColor": this.legendColor = v.Deserialize.color(s.value.toString()); break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (i = n.return) && i.call(n) } finally { if (t) throw t.error } } } , C.prototype.loadFromXml = function(t) { for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "AllowApplyStyle": this.allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break; case "Format": this._format = n.textContent.toString(); break; case "SortBy": this._sortBy = g.parse(r.StiSeriesSortType, n.textContent); break; case "SortDirection": this._sortDirection = g.parse(r.StiSeriesSortDirection, n.textContent); break; case "ValuesString": this.valuesString = n.textContent; break; case "ArgumentsString": this.argumentsString = n.textContent; break; case "ShowInLegend": this._showInLegend = n.textContent.stimulsoft.toBoolean(); break; case "ShowSeriesLabels": this._showSeriesLabels = g.parse(r.StiShowSeriesLabels, n.textContent); break; case "ShowShadow": this._showShadow = n.textContent.stimulsoft.toBoolean(); break; case "FilterMode": this._filterMode = g.parse(f, n.textContent); break; case "Filters": this._filters.loadFromXml(n); break; case "Conditions": this._conditions.loadFromXml(n); break; case "TopN": this.topN.loadFromXml(n); break; case "YAxis": this._yAxis = g.parse(r.StiSeriesYAxis, n.textContent); break; case "SeriesLabels": this._seriesLabels = r.StiSeriesLabels.loadLabelsFromXml(n, this._chart); break; case "TrendLine": this.trendLine = r.StiTrendLine.loadTrendLineFromXml(n); break; case "ValueDataColumn": this.valueDataColumn = n.textContent; break; case "ArgumentDataColumn": this._argumentDataColumn = n.textContent; break; case "AutoSeriesTitleDataColumn": this._autoSeriesTitleDataColumn = n.textContent; break; case "AutoSeriesKeyDataColumn": this._autoSeriesKeyDataColumn = n.textContent; break; case "AutoSeriesColorDataColumn": this._autoSeriesColorDataColumn = n.textContent; break; case "ToolTipDataColumn": this._toolTipDataColumn = n.textContent; break; case "TagDataColumn": this._tagDataColumn = n.textContent; break; case "HyperlinkDataColumn": this._hyperlinkDataColumn = n.textContent; break; case "DrillDownEnabled": this.drillDownEnabled = n.textContent.stimulsoft.toBoolean(); break; case "DrillDownReport": this.drillDownReport = n.textContent; break; case "DrillDownPageGuid": this._drillDownPageGuid = n.textContent; break; case "AllowSeries": this._allowSeries = n.textContent.stimulsoft.toBoolean(); break; case "AllowSeriesElements": this._allowSeriesElements = n.textContent.stimulsoft.toBoolean(); break; case "Interaction": this.interaction.loadFromXml(n); break; case "NewAutoSeriesEvent": break; case "GetValueEvent": break; case "GetListOfValuesEvent": break; case "GetArgumentEvent": break; case "GetListOfArgumentsEvent": break; case "GetTitleEvent": break; case "GetToolTipEvent": break; case "GetListOfToolTipsEvent": break; case "GetTagEvent": break; case "GetListOfTagsEvent": break; case "GetHyperlinkEvent": break; case "GetListOfHyperlinksEvent": break; case "Value": var a = new o; a.loadFromXml(n), this.value = a.value; break; case "ListOfValues": var s = new o; s.loadFromXml(n), this.listOfValues = s.value; break; case "Argument": var l = new o; l.loadFromXml(n), this.argument = l.value; break; case "ListOfArguments": var u = new o; u.loadFromXml(n), this.listOfArguments = u.value; break; case "Title": var c = new o; c.loadFromXml(n), this.title = c.value; break; case "ToolTip": var h = new o; h.loadFromXml(n), this.toolTip = h.value; break; case "ListOfToolTips": var p = new o; p.loadFromXml(n), this.listOfToolTips = p.value; break; case "Tag": var m = new o; m.loadFromXml(n), this.tag = m.value; break; case "ListOfTags": var S = new o; S.loadFromXml(n), this.listOfTags = S.value; break; case "Hyperlink": var d = new o; d.loadFromXml(n), this.hyperlink = d.value; break; case "ListOfHyperlinks": var s = new o; s.loadFromXml(n), this.listOfHyperlinks = s.value; break; case "TitleValue": var y = new o; y.loadFromXml(n), this.titleValue = y.value; break; case "LegendColor": this.legendColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break } } } , Object.defineProperty(C.prototype, "componentId", { get: function() { return t.StiComponentId.StiSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), C.prototype.clone = function() { var e = b.prototype.clone.call(this); return e.title = this.title, e.values = this.values.clone(), e.arguments = this.arguments.clone(), e.tags = this.tags.clone(), e.toolTips = this.toolTips.clone(), e.hyperlinks = this.hyperlinks.clone(), e.topN = this.topN.clone(), e.interaction = this.interaction.clone(), e.seriesLabels = this.seriesLabels.clone(), e.trendLine = this.trendLine.clone(), null != this.core && (e.core = this.core.clone(), e.core.series = e), e } , C.prototype.baseTransform = function(e, t, r, i, n, o) {} , Object.defineProperty(C.prototype, "parent", { get: function() { return this.chart }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "serviceName", { get: function() { return this.core.localizedName }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "serviceCategory", { get: function() { return "Chart" }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "serviceType", { get: function() { return C }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "format", { get: function() { return this._format }, set: function(e) { this._format = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "sortBy", { get: function() { return this._sortBy }, set: function(e) { this._sortBy = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "sortDirection", { get: function() { return this._sortDirection }, set: function(e) { this._sortDirection = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "showInLegend", { get: function() { return this._showInLegend }, set: function(e) { this._showInLegend = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "showLabels", { get: function() { return !0 }, set: function(e) { e && (this.showSeriesLabels = r.StiShowSeriesLabels.FromChart) }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "showSeriesLabels", { get: function() { return this._showSeriesLabels }, set: function(e) { this._showSeriesLabels = e == r.StiShowSeriesLabels.None ? r.StiShowSeriesLabels.FromChart : e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "showShadow", { get: function() { return this._showShadow }, set: function(e) { this._showShadow = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "filterMode", { get: function() { return this._filterMode }, set: function(e) { this._filterMode = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "filters", { get: function() { return this._filters }, set: function(e) { this._filters = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "conditions", { get: function() { return this._conditions }, set: function(e) { this._conditions = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "topN", { get: function() { return this._topN }, set: function(e) { this._topN = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "yAxis", { get: function() { return this._yAxis }, set: function(e) { this._yAxis = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "seriesLabels", { get: function() { return this._seriesLabels }, set: function(e) { this._seriesLabels = e, this._seriesLabels.chart = this.chart }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "trendLine", { get: function() { return this._trendLine }, set: function(e) { this._trendLine = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "chart", { get: function() { return this._chart }, set: function(e) { this._chart != e && (this._chart = e, null != e && (this.seriesLabels.chart = e)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "valuesStart", { get: function() { return this.valuesOld }, set: function(e) { this.valuesOld = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "values", { get: function() { if (null == this.chart || null != this.chart && !this.chart.isDesigning || this.isDashboard) return this._values; if (!i.isNullOrEmpty(this.listOfValues) && !this.listOfValues.stimulsoft.contains("{")) return C.getNullableValuesFromString(this, this.listOfValues); var e = this.chart.series.indexOf(this); if (this.stimulsoft.is(r.IStiFunnelSeries)) return [3, 2, 1]; if (this.stimulsoft.is(r.IStiGanttSeries)) return [1 + 3 * e, 3 + 4 * e, 7 + 3 * e]; if (this.stimulsoft.is(r.IStiScatterSeries)) return [1 + e, 6 + e, 2 + e]; if (this.stimulsoft.is(r.IStiPieSeries)) { if (0 == e) return [1, 3, 2]; return [1 + e, 3 + e, 4 + e] } if (this.stimulsoft.is(r.StiRadarSeries)) return [1 + e, 2 + e, 3 + e, 4 + e, 5 + e]; if (0 == e) return this._values; return [1 + e, 3 + e, 2.5 + e] }, set: function(e) { this._values = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "valueDataColumn", { get: function() { return this._valueDataColumn }, set: function(e) { this._valueDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "valuesString", { get: function() { var e, t, r = new h, i = !0; try { for (var n = __values(this._values), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", null == a ? 0 : a) : r.appendFormat(";{0}", null == a ? 0 : a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this._values = []; else { var i = e.split(";"); this._values = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this._values[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "arguments", { get: function() { return this.getArguments() }, set: function(e) { this.setArguments(e) }, enumerable: !0, configurable: !0 }), C.prototype.getArguments = function() { if (null != this.chart && this.chart.isDesigning || this.isDashboard) { if (!i.isNullOrEmpty(this.listOfArguments)) return C.getArgumentsFromString(this.listOfArguments); if ((this.stimulsoft.is(r.IStiGanttSeries) || this.stimulsoft.is(r.IStiRangeBarSeries) || this.stimulsoft.is(r.IStiCandlestickSeries)) && (null == this._arguments || 0 == this._arguments.length)) return ["A", "B", "C"]; if ((this.stimulsoft.is(r.IStiScatterSeries) || this.stimulsoft.is(r.IStiScatterLineSeries) || this.stimulsoft.is(r.IStiScatterSplineSeries)) && (null == this._arguments || 0 == this._arguments.length)) return ["1", "5", "4"] } return this._arguments } , C.prototype.setArguments = function(e) { this._arguments = e } , Object.defineProperty(C.prototype, "argumentDataColumn", { get: function() { return this._argumentDataColumn }, set: function(e) { this._argumentDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "argumentsString", { get: function() { var e, t, r = new h, i = !0; try { for (var n = __values(this._arguments), o = n.next(); !o.done; o = n.next()) { var s = o.value; null != s && (i ? r.appendFormat("{0}", a.encodeName(s.toString())) : r.appendFormat(";{0}", a.encodeName(s.toString())), i = !1) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this._arguments = []; else { var i = e.split(";"); this._arguments = Array.create(Object, i.length); var n = 0; try { for (var o = __values(i), s = o.next(); !s.done; s = o.next()) { var l = s.value; this._arguments[n++] = a.decodeName(l) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "autoSeriesTitleDataColumn", { get: function() { return this._autoSeriesTitleDataColumn }, set: function(e) { this._autoSeriesTitleDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "autoSeriesKeyDataColumn", { get: function() { return this._autoSeriesKeyDataColumn }, set: function(e) { this._autoSeriesKeyDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "autoSeriesColorDataColumn", { get: function() { return this._autoSeriesColorDataColumn }, set: function(e) { this._autoSeriesColorDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "toolTips", { get: function() { if ((null != this.chart && this.chart.isDesigning || this.isDashboard) && !i.isNullOrEmpty(this.listOfToolTips)) return C.getStringsFromString(this.listOfToolTips); return this._toolTips }, set: function(e) { this._toolTips = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "toolTipDataColumn", { get: function() { return this._toolTipDataColumn }, set: function(e) { this._toolTipDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "toolTipsString", { get: function() { var e, t, r = new h, i = !0; try { for (var n = __values(this._toolTips), o = n.next(); !o.done; o = n.next()) { var s = o.value; null != s && (i ? r.appendFormat("{0}", a.encodeName(s.toString())) : r.appendFormat(";{0}", a.encodeName(s.toString())), i = !1) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this._toolTips = []; else { var i = e.split(";"); this._toolTips = Array.create(String, i.length); var n = 0; try { for (var o = __values(i), s = o.next(); !s.done; s = o.next()) { var l = s.value; this._toolTips[n++] = a.decodeName(l) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "tags", { get: function() { if ((null != this.chart && this.chart.isDesigning || this.isDashboard) && !i.isNullOrEmpty(this.listOfTags)) return C.getArgumentsFromString(this.listOfTags); return this._tags }, set: function(e) { this._tags = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "tagDataColumn", { get: function() { return this._tagDataColumn }, set: function(e) { this._tagDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "tagString", { get: function() { var e, t, r = new h, i = !0; try { for (var n = __values(this.tags), o = n.next(); !o.done; o = n.next()) { var s = o.value; null != s && (i ? r.appendFormat("{0}", a.encodeName(s.toString())) : r.appendFormat(";{0}", a.encodeName(s.toString())), i = !1) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this._tags = []; else { var i = e.split(";"); this._tags = Array.create(Object, i.length); var n = 0; try { for (var o = __values(i), s = o.next(); !s.done; s = o.next()) { var l = s.value; this._tags[n++] = a.decodeName(l) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "hyperlinks", { get: function() { if ((null != this.chart && this.chart.isDesigning || this.isDashboard) && null != this.listOfHyperlinks && this.listOfHyperlinks.length > 0) return C.getStringsFromString(this.listOfHyperlinks); return this._hyperlinks }, set: function(e) { this._hyperlinks = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "hyperlinkDataColumn", { get: function() { return this._hyperlinkDataColumn }, set: function(e) { this._hyperlinkDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "hyperlinkString", { get: function() { var e, t, r = new h, i = !0; try { for (var n = __values(this._hyperlinks), o = n.next(); !o.done; o = n.next()) { var s = o.value; null != s && (i ? r.appendFormat("{0}", a.encodeName(s.toString())) : r.appendFormat(";{0}", a.encodeName(s.toString())), i = !1) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this._hyperlinks = []; else { var i = e.split(";"); this._hyperlinks = Array.create(String, i.length); var n = 0; try { for (var o = __values(i), s = o.next(); !s.done; s = o.next()) { var l = s.value; this._hyperlinks[n++] = a.decodeName(l) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "drillDownEnabled", { get: function() { return this._drillDownEnabled }, set: function(e) { this._drillDownEnabled = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "drillDownReport", { get: function() { return this._drillDownReport }, set: function(e) { this._drillDownReport = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "drillDownPage", { get: function() { var e, t; if (null == this.chart || null == this.chart.report) return null; try { for (var r = __values(this.chart.report.pages.list), i = r.next(); !i.done; i = r.next()) { var n = i.value; if (n.guid == this.drillDownPageGuid) return n } } catch (t) { e = { error: t } } finally { try { i && !i.done && (t = r.return) && t.call(r) } finally { if (e) throw e.error } } return null }, set: function(e) { null == e ? this.drillDownPageGuid = null : (null == e.guid && (e.guid = m.newGuid()), this._drillDownPageGuid = e.guid) }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "drillDownPageGuid", { get: function() { return this._drillDownPageGuid }, set: function(e) { this._drillDownPageGuid = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "allowSeries", { get: function() { return this._allowSeries }, set: function(e) { this._allowSeries = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "allowSeriesElements", { get: function() { return this._allowSeriesElements }, set: function(e) { this._allowSeriesElements = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "coreTitle", { get: function() { var e = null; return e = null != this.chart && this.chart.isDesigning ? this.title : this.titleValue, null == e && (e = ""), e }, set: function(e) { this.title = e, this.titleValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "interaction", { get: function() { return this._interaction }, set: function(e) { this._interaction != e && (this._interaction = e, null != e && (this._interaction.parentSeries = this)) }, enumerable: !0, configurable: !0 }), C.prototype.processSeriesColors = function(e, t) { var r, i; try { for (var n = __values(this.conditions.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (this.getConditionResult(e, a)) return a.color } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } return t } , C.prototype.processSeriesMarkerType = function(e, t) { var r, i; try { for (var n = __values(this.conditions.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (this.getConditionResult(e, a)) return a.markerType } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } return t } , C.prototype.processSeriesMarkerAngle = function(e, t) { var r, i; try { for (var n = __values(this.conditions.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (this.getConditionResult(e, a)) return a.markerAngle } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } return t } , C.prototype.processSeriesMarkerVisible = function(e) { var t, r; try { for (var i = __values(this.conditions.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (this.getConditionResult(e, o)) return !0 } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return !1 } , C.prototype.processSeriesBrushes = function(e, t) { var i, n; try { for (var o = __values(this.conditions.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (this.getConditionResult(e, s)) return t = this.allowApplyStyle && null != this.chart.style ? this.chart.style.core.getColumnBrush(s.color) : new S(s.color), this.chart.area.stimulsoft.is(r.IStiClusteredBarArea) && (t.stimulsoft.is(d) && (t.angle += 90), t.stimulsoft.is(y) && (t.angle += 90)), t } } catch (e) { i = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } return t } , C.prototype.getConditionResult = function(e, t) { if ((null == this.values || this.values.length <= e) && !this.stimulsoft.is(r.IStiFinancialSeries)) return !1; var i = null , n = null , o = null , a = null , s = null , l = null , u = null; this.chart.area.stimulsoft.is(r.IStiAxisArea) && this.chart.area.reverseHor && !this.chart.area.stimulsoft.is(r.IStiClusteredBarArea) || this.chart.area.stimulsoft.is(r.IStiClusteredBarArea) && this.chart.area.reverseVert ? (null != this.values && e < this.values.length && (i = this.values[this.values.length - e - 1]), this.stimulsoft.is(r.IStiRangeSeries) && e < this.stimulsoft.as(r.IStiRangeSeries).valuesEnd.length && (n = this.stimulsoft.as(r.IStiRangeSeries).valuesEnd[this.stimulsoft.as(r.IStiRangeSeries).valuesEnd.length - e - 1]), this.stimulsoft.is(r.IStiFinancialSeries) && (e < this.stimulsoft.as(r.IStiFinancialSeries).valuesOpen.length && (o = this.stimulsoft.as(r.IStiFinancialSeries).valuesOpen[this.stimulsoft.as(r.IStiFinancialSeries).valuesOpen.length - e - 1]), e < this.stimulsoft.as(r.IStiFinancialSeries).valuesClose.length && (a = this.stimulsoft.as(r.IStiFinancialSeries).valuesClose[this.stimulsoft.as(r.IStiFinancialSeries).valuesClose.length - e - 1]), e < this.stimulsoft.as(r.IStiFinancialSeries).valuesLow.length && (s = this.stimulsoft.as(r.IStiFinancialSeries).valuesLow[this.stimulsoft.as(r.IStiFinancialSeries).valuesLow.length - e - 1]), e < this.stimulsoft.as(r.IStiFinancialSeries).valuesHigh.length && (l = this.stimulsoft.as(r.IStiFinancialSeries).valuesHigh[this.stimulsoft.as(r.IStiFinancialSeries).valuesHigh.length - e - 1])), null != this.arguments && e < this.arguments.length && (u = this.arguments[this.arguments.length - e - 1])) : (null != this.values && e < this.values.length && (i = this.values[e]), this.stimulsoft.is(r.IStiRangeSeries) && e < this.stimulsoft.as(r.IStiRangeSeries).valuesEnd.length && (n = this.stimulsoft.as(r.IStiRangeSeries).valuesEnd[e]), this.stimulsoft.is(r.IStiFinancialSeries) && (e < this.stimulsoft.as(r.IStiFinancialSeries).valuesOpen.length && (o = this.stimulsoft.as(r.IStiFinancialSeries).valuesOpen[e]), e < this.stimulsoft.as(r.IStiFinancialSeries).valuesClose.length && (a = this.stimulsoft.as(r.IStiFinancialSeries).valuesClose[e]), e < this.stimulsoft.as(r.IStiFinancialSeries).valuesLow.length && (s = this.stimulsoft.as(r.IStiFinancialSeries).valuesLow[e]), e < this.stimulsoft.as(r.IStiFinancialSeries).valuesHigh.length && (l = this.stimulsoft.as(r.IStiFinancialSeries).valuesHigh[e])), null != this.arguments && e < this.arguments.length && (u = this.arguments[e])); var c = r.StiChartHelper.getFilterData(null, t, null); return r.StiChartHelper.getFilterResult(t, u, i, n, o, a, s, l, c) } , C.prototype.toString = function() { return this.serviceName } , C.getNullableValuesFromString = function(t, r) { var i, o, a = [], s = r.split(";"); try { for (var l = __values(s), u = l.next(); !u.done; u = l.next()) { var c = u.value; if (null != c && c.trim().length > 0) { var h = 0; try { h = c.stimulsoft.replaceAll(",", ".").stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1) } var p = c.stimulsoft.toNumber(); if (c.length > 0 && !isNaN(p)) h = p; else { var f = n.fromString(c); null != f && (t.core.isDateTimeValues = !0, h = f.toOADate()) } a.add(h) } } } catch (e) { i = { error: e } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (i) throw i.error } } return a.toArray() } , C.getValuesFromString = function(t) { var r, i, n = [], o = t.split(";"); try { for (var a = __values(o), s = a.next(); !s.done; s = a.next()) { var l = s.value; if (null != l && l.trim().length > 0) { var u = 0; try { u = l.stimulsoft.replaceAll(",", ".").stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1) } n.add(u) } } } catch (e) { r = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return n.toArray() } , C.getStringsFromString = function(e) { var t, r, i = [], n = e.split(";"); try { for (var o = __values(n), a = o.next(); !a.done; a = o.next()) { var s = a.value; null != s && s.trim().length > 0 && i.add(s) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } return i.toArray() } , C.getArgumentsFromString = function(e) { return e.split(";") } , C.prototype.createNew = function() { return null } , C.prototype.getDefaultAreaType = function() { return null } , C.prototype.invokeNewAutoSeries = function(e) { null != this.newAutoSeries && this.newAutoSeries(e.series, e) } , C.prototype.onGetValue = function(e) {} , C.prototype.invokeGetValue = function(r, i) { try { if (this.onGetValue(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new p; n.name = "**ChartSeriesValue**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.value, n); i.value = r.report.toString2(o) } null != this.getValue && this.getValue(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , C.prototype.onGetListOfValues = function(e) {} , C.prototype.invokeGetListOfValues = function(r, i, n) { try { if (this.onGetListOfValues(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var o = new p; o.name = "**ChartSeriesListOfValues**", o.page = r.report.pages.getByIndex(0); var a = t.Engine.StiParser.StiParser.parseTextValue(n._listOfValues, o); i.value = r.report.toString2(a) } null != n.getListOfValues && n.getListOfValues(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , C.prototype.onGetArgument = function(e) {} , C.prototype.invokeGetArgument = function(r, i) { try { if (this.onGetArgument(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new p; n.name = "**ChartSeriesArgument**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.argument, n); i.value = r.report.toString2(o) } null != this.getArgument && this.getArgument(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , C.prototype.onGetListOfArguments = function(e) {} , C.prototype.invokeGetListOfArguments = function(r, i) { try { if (this.onGetListOfArguments(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new p; n.name = "**ChartSeriesListOfArguments**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this._listOfArguments, n); i.value = r.report.toString2(o) } null != this.getListOfArguments && this.getListOfArguments(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , C.prototype.onGetTitle = function(e) {} , C.prototype.invokeGetTitle = function(r, i) { try { if (this.onGetTitle(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new p; n.name = "**ChartSeriesTitle**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.title, n); i.value = r.report.toString2(o) } null != this.getTitle && this.getTitle(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , C.prototype.onGetToolTip = function(e) {} , C.prototype.invokeGetToolTip = function(t, r) { try { this.onGetToolTip(r), null != this.getToolTip && this.getToolTip(t, r) } catch (t) { e.System.StiError.showError(t.message, !1) } } , C.prototype.onGetListOfToolTips = function(e) {} , C.prototype.invokeGetListOfToolTips = function(t, r) { try { this.onGetListOfToolTips(r), null != this.getListOfToolTips && this.getListOfToolTips(t, r) } catch (t) { e.System.StiError.showError(t.message, !1) } } , C.prototype.onGetTag = function(e) {} , C.prototype.invokeGetTag = function(t, r) { try { this.onGetTag(r), null != this.getTag && this.getTag(t, r) } catch (t) { e.System.StiError.showError(t.message, !1) } } , C.prototype.onGetListOfTags = function(e) {} , C.prototype.invokeGetListOfTags = function(t, r) { try { this.onGetListOfTags(r), null != this.getListOfTags && this.getListOfTags(t, r) } catch (t) { e.System.StiError.showError(t.message, !1) } } , C.prototype.onGetHyperlink = function(e) {} , C.prototype.invokeGetHyperlink = function(t, r) { try { this.onGetHyperlink(r), null != this.getHyperlink && this.getHyperlink(t, r) } catch (t) { e.System.StiError.showError(t.message, !1) } } , C.prototype.onGetListOfHyperlinks = function(e) {} , C.prototype.invokeGetListOfHyperlinks = function(t, r) { try { this.onGetListOfHyperlinks(r), null != this.getListOfHyperlinks && this.getListOfHyperlinks(t, r) } catch (t) { e.System.StiError.showError(t.message, !1) } } , Object.defineProperty(C.prototype, "value", { get: function() { return this.valueObj }, set: function(e) { this.valueObj = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "listOfValues", { get: function() { return this._listOfValues }, set: function(e) { this._listOfValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "argument", { get: function() { return this._argument }, set: function(e) { this._argument = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "listOfArguments", { get: function() { return this._listOfArguments }, set: function(e) { this._listOfArguments = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "titleValue", { get: function() { return this._titleValue }, set: function(e) { this._titleValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "title", { get: function() { return this._title }, set: function(e) { this._title = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "toolTip", { get: function() { return this._toolTip }, set: function(e) { this._toolTip = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "listOfToolTips", { get: function() { return this._listOfToolTips }, set: function(e) { this._listOfToolTips = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "tag", { get: function() { return this._tag }, set: function(e) { this._tag = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "listOfTags", { get: function() { return this._listOfTags }, set: function(e) { this._listOfTags = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "hyperlink", { get: function() { return this._hyperlink }, set: function(e) { this._hyperlink = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(C.prototype, "listOfHyperlinks", { get: function() { return this._listOfHyperlinks }, set: function(e) { this._listOfHyperlinks = e }, enumerable: !0, configurable: !0 }), C }(b); r.StiSeries = C }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJsonReportObjectHelper , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.Base.Drawing.StiColorUtils , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiPenStyle , l = e.Base.Drawing.StiBrush , u = e.System.Enum , c = e.System.Drawing.Color , h = function(h) { function p() { var e = h.call(this) || this; return e._showNulls = !0, e._showZeros = !0, e._marker = new t.StiMarker, e._lineMarker = new t.StiLineMarker, e._lineColor = c.black, e._lineStyle = s.Solid, e._lighting = !0, e._lineWidth = 2, e._labelsOffset = 0, e._lineColorNegative = c.firebrick, e._allowApplyColorNegative = !1, e.seriesLabels = new t.StiOutsideEndAxisLabels, e } return __extends(p, h), p.prototype.implements = function() { return p.implementsStiBaseLineSeries || (p.implementsStiBaseLineSeries = h.prototype.implements.call(this).concat([i, t.IStiBaseLineSeries, n, t.IStiSeries, t.IStiAllowApplyColorNegative])), p.implementsStiBaseLineSeries } , p.prototype.saveToJsonObject = function(e) { var t = h.prototype.saveToJsonObject.call(this, e); return t.removeProperty("Conditions"), t.addPropertyBool("ShowZeros", this.showZeros, !0), t.addPropertyBool("ShowNulls", this.showNulls, !0), t.addPropertyJObject("Marker", this.marker.saveToJsonObject(e)), t.addPropertyJObject("LineMarker", this.lineMarker.saveToJsonObject(e)), t.addPropertyStringNullOrEmpty("LineColor", r.Serialize.jColor(this.lineColor, c.black)), t.addPropertyEnum("LineStyle", s, this.lineStyle, s.Solid), t.addPropertyBool("Lighting", this.lighting, !0), t.addPropertyNumber("LineWidth", this.lineWidth, 2), t.addPropertyNumber("LabelsOffset", this._labelsOffset), t.addPropertyStringNullOrEmpty("LineColorNegative", r.Serialize.jColor(this.lineColorNegative, c.firebrick)), t.addPropertyBool("AllowApplyColorNegative", this.allowApplyColorNegative), t } , p.prototype.loadFromJsonObject = function(e) { var t, i; h.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ShowZeros": this.showZeros = a.value.stimulsoft.toBoolean(); break; case "ShowNulls": this.showNulls = a.value.stimulsoft.toBoolean(); break; case "Marker": this._marker.loadFromJsonObject(a.value); break; case "LineMarker": this.lineMarker.loadFromJsonObject(a.value); break; case "LineColor": this.lineColor = r.Deserialize.color(a.value.toString()); break; case "LineStyle": this.lineStyle = u.parse(s, a.value.toString()); break; case "Lighting": this.lighting = a.value.stimulsoft.toBoolean(); break; case "LineWidth": this.lineWidth = a.value.stimulsoft.toNumber(); break; case "LabelsOffset": this._labelsOffset = a.value.stimulsoft.toNumber(); break; case "LineColorNegative": this.lineColorNegative = r.Deserialize.color(a.value.toString()); break; case "AllowApplyColorNegative": this.allowApplyColorNegative = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (t) throw t.error } } } , p.prototype.loadFromXml = function(t) { h.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowZeros": this.showZeros = i.textContent.stimulsoft.toBoolean(); break; case "ShowNulls": this.showNulls = i.textContent.stimulsoft.toBoolean(); break; case "Marker": this._marker.loadFromXml(i); break; case "LineMarker": this.lineMarker.loadFromXml(i); break; case "LineColor": this.lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "LineStyle": this.lineStyle = u.parse(s, i.textContent); break; case "Lighting": this.lighting = i.textContent.stimulsoft.toBoolean(); break; case "LineWidth": this.lineWidth = i.textContent.stimulsoft.toNumber(); break; case "LabelsOffset": this._labelsOffset = i.textContent.stimulsoft.toNumber(); break; case "LineColorNegative": this.lineColorNegative = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "AllowApplyColorNegative": this.allowApplyColorNegative = i.textContent.stimulsoft.toBoolean(); break } } } , p.prototype.clone = function() { var e = h.prototype.clone.call(this); return e.marker = this.marker.clone(), e.lineStyle = this.lineStyle, e } , Object.defineProperty(p.prototype, "showNulls", { get: function() { return this._showNulls }, set: function(e) { this._showNulls = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "showZeros", { get: function() { return this._showZeros }, set: function(e) { this._showZeros = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "showMarker", { get: function() { return this.marker.visible }, set: function(e) { this.marker.visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "markerColor", { get: function() { return l.toColor(this.marker.brush) }, set: function(e) { this.marker.brush = new a(e), this.marker.borderColor = o.dark(e, 50) }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "markerSize", { get: function() { return this.marker.size }, set: function(e) { this.marker.size = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "markerType", { get: function() { return this.marker.type }, set: function(e) { this.marker.type = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "marker", { get: function() { return this._marker }, set: function(e) { this._marker = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineMarker", { get: function() { return this._lineMarker }, set: function(e) { this._lineMarker = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineColor", { get: function() { return this.getLineColor() }, set: function(e) { this.setLineColor(e) }, enumerable: !0, configurable: !0 }), p.prototype.getLineColor = function() { return this._lineColor } , p.prototype.setLineColor = function(e) { this._lineColor = e } , Object.defineProperty(p.prototype, "lineStyle", { get: function() { return this._lineStyle }, set: function(e) { this._lineStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lighting", { get: function() { return this._lighting }, set: function(e) { this._lighting = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineWidth", { get: function() { return this._lineWidth }, set: function(e) { e > 0 && (this._lineWidth = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "labelsOffset", { get: function() { return this._labelsOffset }, set: function(e) { this._labelsOffset = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineColorNegative", { get: function() { return this._lineColorNegative }, set: function(e) { this._lineColorNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "allowApplyColorNegative", { get: function() { return this._allowApplyColorNegative }, set: function(e) { this._allowApplyColorNegative = e }, enumerable: !0, configurable: !0 }), p }(t.StiSeries); t.StiBaseLineSeries = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.Base.Drawing.StiGradientBrush , a = e.Base.Drawing.StiSolidBrush , s = function(e) { function s() { var t = e.call(this) || this; return t.core = new r.StiScatterSeriesCoreXF(t), t } return __extends(s, e), s.prototype.implements = function() { return s.implementsStiScatterSeries || (s.implementsStiScatterSeries = e.prototype.implements.call(this).concat([i, r.IStiBaseLineSeries, r.IStiSeries, n, r.IStiScatterSeries, r.IStiAllowApplyColorNegative])), s.implementsStiScatterSeries } , s.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("LineColorNegative"), r.removeProperty("TopN"), r } , Object.defineProperty(s.prototype, "componentId", { get: function() { return t.StiComponentId.StiScatterSeries }, enumerable: !0, configurable: !0 }), s.prototype.clone = function() { return e.prototype.clone.call(this) } , s.prototype.getDefaultAreaType = function() { return r.StiScatterArea } , s.prototype.getLineColor = function() { if (this.stimulsoft.getType() == s) { if (this.marker.brush.stimulsoft.is(a)) return this.marker.brush.color; if (this.marker.brush.stimulsoft.is(o)) return this.marker.brush.startColor } return e.prototype.getLineColor.call(this) } , s.prototype.setLineColor = function(t) { e.prototype.setLineColor.call(this, t) } , s.prototype.createNew = function() { return new s } , s }(r.StiBaseLineSeries); r.StiScatterSeries = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiScatterLineSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiScatterLineSeries || (o.implementsStiScatterLineSeries = e.prototype.implements.call(this).concat([r.IStiScatterLineSeries, r.IStiBaseLineSeries, r.IStiScatterSeries, i, r.IStiSeries, n, r.IStiAllowApplyColorNegative])), o.implementsStiScatterLineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiScatterLineSeries }, enumerable: !0, configurable: !0 }), o.prototype.clone = function() { return e.prototype.clone.call(this) } , o.prototype.getDefaultAreaType = function() { return r.StiScatterArea } , o.prototype.createNew = function() { return new o } , o }(r.StiScatterSeries); r.StiScatterLineSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.Hashtable , i = e.System.ICloneable , n = function() { function e(e) { this._area = e } return e.prototype.implements = function() { return e.implementsStiAreaCoreXF || (e.implementsStiAreaCoreXF = [i, t.IStiApplyStyle, t.IStiAreaCoreXF]), e.implementsStiAreaCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.applyStyle = function(e) { this.area.allowApplyStyle && (this.area.brush = e.core.chartAreaBrush, this.area.borderColor = e.core.chartAreaBorderColor) } , e.prototype.render = function(e, t) { return null } , e.prototype.prepareInfo = function(e) {} , e.prototype.checkInLabelsTypes = function(e) { var t, r, i = this._area.getSeriesLabelsTypes(); try { for (var n = __values(i), o = n.next(); !o.done; o = n.next()) { if (o.value.stimulsoft.getType().stimulsoft.getTypeName() == e.stimulsoft.getType().stimulsoft.getTypeName()) return !0 } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return !1 } , e.prototype.getSeries = function() { var e, t, i, n, o = new r, a = this.area.getSeriesTypes(); try { for (var s = __values(a), l = s.next(); !l.done; l = s.next()) { var u = l.value; o.set(u, u) } } catch (t) { e = { error: t } } finally { try { l && !l.done && (t = s.return) && t.call(s) } finally { if (e) throw e.error } } var c = []; try { for (var h = __values(this.area.chart.series.list), p = h.next(); !p.done; p = h.next()) { var f = p.value; if (null == o.get(f.stimulsoft.getType())) continue; c.add(f) } } catch (e) { i = { error: e } } finally { try { p && !p.done && (n = h.return) && n.call(h) } finally { if (i) throw i.error } } return c } , e.prototype.isAcceptableSeries = function(e) { var t, r, i = this.area.getSeriesTypes(); try { for (var n = __values(i), o = n.next(); !o.done; o = n.next()) { if (o.value == e) return !0 } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return !1 } , e.prototype.isAcceptableSeriesLabels = function(e) { var t, r, i = this.area.getSeriesLabelsTypes(); try { for (var n = __values(i), o = n.next(); !o.done; o = n.next()) { if (o.value == e) return !0 } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return !1 } , Object.defineProperty(e.prototype, "area", { get: function() { return this._area }, set: function(e) { this._area = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "localizedName", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seriesOrientation", { get: function() { return t.StiChartSeriesOrientation.Vertical }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "position", { get: function() { return null }, enumerable: !0, configurable: !0 }), e }(); t.StiAreaCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Collections.Hashtable , n = e.System.Drawing.Rectangle , o = function(e) { function o(t) { var r = e.call(this, t) || this; return r.valuesCount = 0, r._scrollRangeX = 0, r._scrollRangeY = 0, r._scrollViewX = 0, r._scrollViewY = 0, r._blockScrollValueX = !1, r._blockScrollValueY = !1, r._scrollValueX = 0, r._scrollValueY = 0, r._scrollDpiX = 1, r._scrollDpiY = 1, r._scrollDragStartValue = 0, r } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiAxisAreaCoreXF || (o.implementsStiAxisAreaCoreXF = [t.IStiAxisAreaCoreXF]), o.implementsStiAxisAreaCoreXF } , o.prototype.applyStyle = function(t) { e.prototype.applyStyle.call(this, t); var r = this.area; r.allowApplyStyle && (null != r.interlacingHor && r.interlacingHor.core.applyStyle(t), null != r.interlacingVert && r.interlacingVert.core.applyStyle(t), null != r.gridLinesHor && r.gridLinesHor.core.applyStyle(t), null != r.gridLinesVert && r.gridLinesVert.core.applyStyle(t), null != r.xAxis && r.xAxis.core.applyStyle(t), null != r.xTopAxis && r.xTopAxis.core.applyStyle(t), null != r.yAxis && r.yAxis.core.applyStyle(t), null != r.yRightAxis && r.yRightAxis.core.applyStyle(t)) } , o.prototype.render = function(e, r) { var i, o, a, s, l, u, c, h, p = this.area; p.yAxis.info.minimum = 0, p.yAxis.info.maximum = 0, p.yRightAxis.info.minimum = 0, p.yRightAxis.info.maximum = 0, p.xAxis.info.minimum = 0, p.xAxis.info.maximum = 0, p.xTopAxis.info.minimum = 0, p.xTopAxis.info.maximum = 0, this.prepareInfo(r.clone()); var f = null , m = null , S = null , d = null , y = null , g = null , b = null , v = null , C = null , w = null , x = null , _ = null , A = n.empty , L = n.empty , O = n.empty , P = n.empty , B = n.empty , R = n.empty , k = n.empty , j = p.core.getSeries(); if (j.length > 0) { var T = 0 , F = 0 , D = 0 , I = 0; if (A = p.reverseHor ? p.yRightAxis.core.getAxisRect(e, r, !0, !0, !1, !0) : p.yAxis.core.getAxisRect(e, r, !0, !0, !1, !0), this.area.chart.table.core.showTable()) { var N = this.area.chart.table.core.getWidthCellLegend(e); N > A.width && (A.width = N, A.x = -N, 0 == A.height && (A.height = 1)) } if (A.isEmpty || (A.x += r.x, A.y += r.y), A.isEmpty || (D = A.width, A.top < r.top && (T = Math.abs(r.top - A.top)), r.bottom < A.bottom && (F = Math.abs(A.bottom - r.bottom))), L = p.yAxis.core.getCenterAxisRect(e, r, !0, !0, !1), L.isEmpty || (L.x += r.x, L.y += r.y), O = p.reverseHor ? p.yAxis.core.getAxisRect(e, r, !0, !0, !1, !0) : p.yRightAxis.core.getAxisRect(e, r, !0, !0, !1, !0), O.isEmpty || (O.x += r.x, O.y += r.y), O.isEmpty || (I = O.width, O.top < r.top && (T = Math.max(T, Math.abs(r.top - O.top))), r.bottom < O.bottom && (F = Math.max(F, Math.abs(O.bottom - r.bottom)))), P = p.xTopAxis.core.getAxisRect(e, r, !0, !0, !1, !0), P.isEmpty || (P.x += r.x, P.y += r.y), P.isEmpty || (T = Math.max(P.height, T), P.x < r.x && (D = Math.max(D, Math.abs(r.left - P.left))), r.right < P.right && (I = Math.max(I, Math.abs(P.right - r.right)))), B = p.xAxis.core.getCenterAxisRect(e, r, !0, !0, !1), B.isEmpty || (B.x += r.x, B.y += r.y), p.reverseHor) { var M = { ref: D } , E = { ref: I }; this.swap(M, E), D = M.ref, I = E.ref } var V = new n(r.x + D,r.y,r.width - D - I,r.height); p.xAxis.info.dpi = V.width / p.xAxis.info.range, this.calculateStepX(p.xAxis, V.left, V.right); var X = { ref: p.xAxis.info.labelsCollection }; if (this.calculatePositions(p.xAxis, X, p.xAxis.labels.step > 0 ? Math.trunc(p.xAxis.labels.step) : 1), p.xAxis.info.labelsCollection = X.ref, R = p.xAxis.core.getAxisRect(e, V, !0, !0, !1, !0), R.isEmpty || this.area.chart.table.core.showTable() || (R.x += r.x, R.y += r.y), R.isEmpty || this.area.chart.table.core.showTable() && !this.area.chart.table.chart.area.stimulsoft.is(t.IStiClusteredBarArea) || (F = Math.max(R.height, F), R.x < r.x && (D = Math.max(D, Math.abs(r.left - R.left))), r.right < R.right && (I = Math.max(I, Math.abs(R.right - r.right)))), p.reverseHor) { var M = { ref: D } , E = { ref: I }; this.swap(M, E), D = M.ref, I = E.ref } if (p.reverseVert) { var G = { ref: T } , z = { ref: F }; this.swap(G, z), T = G.ref, F = z.ref } r.x += D, r.width -= D + I, r.y += T, r.height -= T + F, this.prepareInfo(r), f = p.yAxis.core.renderView(e, r), m = p.yAxis.core.renderCenterView(e, r), S = p.yRightAxis.core.renderView(e, r), d = p.xTopAxis.core.renderView(e, r), y = p.xAxis.core.renderCenterView(e, r), g = p.xAxis.core.renderView(e, r) } k = r.clone(); var J = this.calculateScrollValuesX(r.clone(), p) , H = this.calculateScrollValuesY(r.clone(), p); r.x = -this.scrollDistanceX, r.y = -this.scrollDistanceY, r.width *= J, r.height *= H, this.prepareInfo(r.clone()), j.length > 0 && (b = p.yAxis.core.render(e, r.clone()), v = p.yAxis.core.renderCenter(e, r.clone()), C = p.yRightAxis.core.render(e, r.clone()), w = p.xTopAxis.core.render(e, r.clone()), x = p.xAxis.core.renderCenter(e, r.clone()), _ = p.xAxis.core.render(e, r.clone()), null != b && (b.view = f), null != v && (v.view = m), null != C && (C.view = S), null != w && (w.view = d), null != x && (x.view = y), null != _ && (_.view = g)), null != g && p.xAxis.core.renderScrollBar(e, g.clientRectangle, g), null != d && p.xTopAxis.core.renderScrollBar(e, d.clientRectangle, d), null != f && p.yAxis.core.renderScrollBar(e, f.clientRectangle, f), null != S && p.yRightAxis.core.renderScrollBar(e, S.clientRectangle, S); var Y = new t.StiAxisAreaViewGeom(p,k) , W = new t.StiAxisAreaGeom(Y,p,r.clone()); Y.createChildGeoms(), Y.childGeoms.add(W); try { for (var Z = __values(this.area.chart.strips.list), U = Z.next(); !U.done; U = Z.next()) { var q = U.value; q.showBehind && q.core.render(e, W, r.clone()) } } catch (e) { i = { error: e } } finally { try { U && !U.done && (o = Z.return) && o.call(Z) } finally { if (i) throw i.error } } try { for (var K = __values(this.area.chart.constantLines.list), Q = K.next(); !Q.done; Q = K.next()) { var $ = Q.value; $.showBehind && $.core.render(e, W, r.clone()) } } catch (e) { a = { error: e } } finally { try { Q && !Q.done && (s = K.return) && s.call(K) } finally { if (a) throw a.error } } this.renderSeries(e, r.clone(), W, j); try { for (var ee = __values(this.area.chart.strips.list), te = ee.next(); !te.done; te = ee.next()) { var q = te.value; q.showBehind || q.core.render(e, W, r.clone()) } } catch (e) { l = { error: e } } finally { try { te && !te.done && (u = ee.return) && u.call(ee) } finally { if (l) throw l.error } } try { for (var re = __values(this.area.chart.constantLines.list), ie = re.next(); !ie.done; ie = re.next()) { var $ = ie.value; $.showBehind || $.core.render(e, W, r.clone()) } } catch (e) { c = { error: e } } finally { try { ie && !ie.done && (h = re.return) && h.call(re) } finally { if (c) throw c.error } } return null != b && (Y.createChildGeoms(), f.createChildGeoms(), Y.childGeoms.add(f), f.childGeoms.add(b)), null != v && (Y.createChildGeoms(), m.createChildGeoms(), Y.childGeoms.add(m), m.childGeoms.add(v)), null != C && (Y.createChildGeoms(), S.createChildGeoms(), Y.childGeoms.add(S), S.childGeoms.add(C)), null != w && (Y.createChildGeoms(), d.createChildGeoms(), Y.childGeoms.add(d), d.childGeoms.add(w)), null != x && (Y.createChildGeoms(), y.createChildGeoms(), Y.childGeoms.add(y), y.childGeoms.add(x)), null == _ || this.area.chart.table.core.showTable() && !this.area.chart.table.chart.area.stimulsoft.is(t.IStiClusteredBarArea) || (Y.createChildGeoms(), g.createChildGeoms(), Y.childGeoms.add(g), g.childGeoms.add(_)), Y } , o.prototype.calculateScrollValuesX = function(e, t) { var r, i, n = 1; if (this.isAutoRangeXAxis(t.xAxis) ? (r = t.xAxis.info.minimum, i = t.xAxis.info.maximum) : (r = t.xAxis.range.minimum, i = t.xAxis.range.maximum, r > i && (r = t.xAxis.info.minimum, i = t.xAxis.info.maximum)), this._scrollRangeX = t.xAxis.info.maximum - t.xAxis.info.minimum, this._scrollViewX = i - r, !t.xAxis.core.getStartFromZero() || t.xAxis.logarithmicScale ? this.blockScrollValueX = !0 : this.blockScrollValueX = !1, !this.blockScrollValueX && !t.xAxis.interaction.showScrollBar) { var o = r + Math.abs(t.xAxis.info.minimum); t.xAxis.info.minimum > 0 && r > 0 && (o = Math.abs(r - t.xAxis.info.minimum)), t.reverseHor ? this.scrollValueX = this._scrollRangeX - o - this._scrollViewX : this.scrollValueX = o } return n = this.scrollRangeX / this.scrollViewX, this._scrollDpiX = e.width * n / this.scrollRangeX, n } , o.prototype.calculateScrollValuesY = function(e, t) { var r, i, n = 1; if (this.isAutoRangeYAxis(t.yAxis) ? (r = t.yAxis.info.minimum, i = t.yAxis.info.maximum) : (r = t.yAxis.range.minimum, i = t.yAxis.range.maximum, r > i && (r = t.yAxis.info.minimum, i = t.yAxis.info.maximum)), this._scrollRangeY = t.yAxis.info.maximum - t.yAxis.info.minimum, this._scrollViewY = i - r, !t.yAxis.core.getStartFromZero() || t.yAxis.logarithmicScale ? this.blockScrollValueY = !0 : this.blockScrollValueY = !1, this.blockScrollValueY) this.scrollValueY = 0; else { var o = r + Math.abs(t.yAxis.info.minimum); t.reverseVert ? this.scrollValueY = o : this.scrollValueY = this._scrollRangeY - o - this._scrollViewY } return n = this.scrollRangeY / this.scrollViewY, this._scrollDpiY = e.height * n / this.scrollRangeY, n } , o.prototype.prepareInfo = function(e) { var r = this.getSeries(); if (r.length > 0) { var i = this.area; this.valuesCount = 0; var n = this.stimulsoft.is(t.StiClusteredBarAreaCoreXF) ? i.yAxis : i.xAxis , a = this.stimulsoft.is(t.StiClusteredBarAreaCoreXF) ? i.yRightAxis : i.xTopAxis , s = this.stimulsoft.is(t.StiClusteredBarAreaCoreXF) ? i.xAxis : i.yAxis , l = this.stimulsoft.is(t.StiClusteredBarAreaCoreXF) ? i.xTopAxis : i.yRightAxis; n.info.stripLines = new t.StiStripLinesXF, s.info.stripLines = new t.StiStripLinesXF, l.info.stripLines = new t.StiStripLinesXF; for (var u = !1, c = 0; c < r.length; c++) { var h = r[c].values; r[c].stimulsoft.is(t.StiCandlestickSeries) && (h = r[c].valuesOpen), null != h && (this.valuesCount = Math.max(h.length, this.valuesCount)), r[c].core.isDateTimeValues && (u = !0) } this.prepareRange(n, a, s, l), !s.range.auto && s.range.maximum > s.info.maximum && (s.info.maximum = s.range.maximum), !s.range.auto && s.range.minimum < s.info.minimum && (s.info.minimum = s.range.minimum), (!l.range.auto && l.range.maximum > l.info.maximum || i.stimulsoft.is(t.StiParetoArea)) && (l.info.maximum = l.range.maximum), !l.range.auto && l.range.minimum < l.info.minimum && (l.info.minimum = l.range.minimum); var p = this.area.chart.series.count > 0 && this.area.chart.series.getByIndex(0).stimulsoft.is(t.StiScatterLineSeries); s.logarithmicScale && p || (this.checkStartFromZeroYAxis(s), this.checkStartFromZeroYAxis(l), this.calculateMinimumAndMaximumYAxis(s), l.range.auto && this.calculateMinimumAndMaximumYAxis(l)), this.calculateMinimumAndMaximumXAxis(n), this.createStripLinesXAxis(n), this.createStripLinesYAxis(s, u), this.createStripLinesYAxis(l, u), this.checkStripLinesAndMaximumMinimumXAxis(n), this.checkStripLinesAndMaximumMinimumYAxis(s), this.checkStripLinesAndMaximumMinimumYAxis(l), i.stimulsoft.is(t.IStiClusteredBarArea) && (o.rotateStripLines(n), o.rotateStripLines(s), o.rotateStripLines(l)), a.info = n.info.clone(), i.reverseHor && (o.rotateStripLines(i.xAxis), o.rotateStripLines(i.xTopAxis)), i.reverseVert && (o.rotateStripLines(i.yAxis), o.rotateStripLines(i.yRightAxis)), i.xAxis.info.dpi = e.width / i.xAxis.info.range, i.xTopAxis.info.dpi = e.width / i.xTopAxis.info.range, i.yAxis.info.dpi = e.height / i.yAxis.info.range, i.yRightAxis.info.dpi = e.height / i.yRightAxis.info.range, this.calculateStepX(i.xAxis, e.left, e.right), this.calculateStepX(i.xTopAxis, e.left, e.right), this.calculateStepY(i.yAxis, e.top, e.bottom), this.calculateStepY(i.yRightAxis, e.top, e.bottom); var f = { ref: i.xAxis.info.labelsCollection }; this.calculatePositions(i.xAxis, f, i.xAxis.labels.step > 0 ? Math.trunc(i.xAxis.labels.step) : 1), i.xAxis.info.labelsCollection = f.ref, f = { ref: i.xTopAxis.info.labelsCollection }, this.calculatePositions(i.xTopAxis, f, i.xTopAxis.labels.step > 0 ? Math.trunc(i.xTopAxis.labels.step) : 1), i.xTopAxis.info.labelsCollection = f.ref, f = { ref: i.yAxis.info.labelsCollection }, this.calculatePositions(i.yAxis, f, i.yAxis.labels.step > 0 ? Math.trunc(i.yAxis.labels.step) : 1), i.yAxis.info.labelsCollection = f.ref, f = { ref: i.yRightAxis.info.labelsCollection }, this.calculatePositions(i.yRightAxis, f, i.yRightAxis.labels.step > 0 ? Math.trunc(i.yRightAxis.labels.step) : 1), i.yRightAxis.info.labelsCollection = f.ref; var m = { ref: i.xAxis.info.ticksCollection }; this.calculatePositions(i.xAxis, m, i.xAxis.ticks.step > 0 ? Math.trunc(i.xAxis.ticks.step) : 1), i.xAxis.info.ticksCollection = m.ref, m = { ref: i.xTopAxis.info.ticksCollection }, this.calculatePositions(i.xTopAxis, m, i.xTopAxis.ticks.step > 0 ? Math.trunc(i.xTopAxis.ticks.step) : 1), i.xTopAxis.info.ticksCollection = m.ref, m = { ref: i.yAxis.info.ticksCollection }, this.calculatePositions(i.yAxis, m, i.yAxis.ticks.step > 0 ? Math.trunc(i.yAxis.ticks.step) : 1), i.yAxis.info.ticksCollection = m.ref, m = { ref: i.yRightAxis.info.ticksCollection }, this.calculatePositions(i.yRightAxis, m, i.yRightAxis.ticks.step > 0 ? Math.trunc(i.yRightAxis.ticks.step) : 1), i.yRightAxis.info.ticksCollection = m.ref } } , o.prototype.renderSeries = function(e, r, n, o) { var a, s, l, u, c, h, p = [], f = new i; try { for (var m = __values(o), S = m.next(); !S.done; S = m.next()) { var d = S.value; if (this.isAcceptableSeries(d.stimulsoft.getType())) { var y = f.get(d.stimulsoft.getType()); null == y && (y = [], p.add(y), f.add(d.stimulsoft.getType(), y)), y.add(d) } } } catch (e) { a = { error: e } } finally { try { S && !S.done && (s = m.return) && s.call(m) } finally { if (a) throw a.error } } try { for (var g = __values(p), b = g.next(); !b.done; b = g.next()) { var v = b.value , C = v.toArray(); if (C[0].stimulsoft.is(t.StiStackedBarSeries) || C[0].stimulsoft.is(t.StiStackedColumnSeries) || C[0].stimulsoft.is(t.StiStackedBaseLineSeries)) { var w = [] , x = []; try { for (var _ = (c = void 0, __values(C)), A = _.next(); !A.done; A = _.next()) { var L = A.value; L.yAxis == t.StiSeriesYAxis.LeftYAxis ? w.add(L) : x.add(L) } } catch (e) { c = { error: e } } finally { try { A && !A.done && (h = _.return) && h.call(_) } finally { if (c) throw c.error } } w.length > 0 && w.toArray()[0].core.renderSeries(e, r, n, w.toArray()), x.length > 0 && x.toArray()[0].core.renderSeries(e, r, n, x.toArray()) } else C[0].core.renderSeries(e, r, n, C) } } catch (e) { l = { error: e } } finally { try { b && !b.done && (u = g.return) && u.call(g) } finally { if (l) throw l.error } } } , o.prototype.isAutoRangeXAxis = function(e) { return e.range.auto || e.range.minimum >= e.range.maximum || e.logarithmicScale } , o.prototype.isAutoRangeYAxis = function(e) { return e.range.auto || e.range.maximum == e.range.minimum || this.area.isDefaultSeriesTypeFullStackedColumnSeries || e.logarithmicScale } , o.prototype.calculateMinimumAndMaximumXAxis = function(e) { e.range.auto || (e.info.maximum = e.range.maximum, e.info.minimum = e.range.minimum) } , o.prototype.calculateMinimumAndMaximumYAxis = function(e) { if (this.getSeries().length > 0 && this.getSeries()[0].stimulsoft.is(t.StiGanttSeries)) return void (e.range.auto || (e.info.maximum = e.range.maximum, e.info.minimum = e.range.minimum)); if (!e.startFromZero && e.range.auto && e.stimulsoft.is(t.IStiYAxis)) { var r = e.info.maximum - e.info.minimum; e.info.minimum = e.info.minimum - .05 * r, e.info.maximum = e.info.maximum + .05 * r } else { var i = .1; this.getSeries().length > 0 && this.getSeries()[0].seriesLabels.stimulsoft.is(t.StiOutsideEndAxisLabels) && (i = .15); var n = Math.min(i, Math.abs(4 / ((e.info.maximum + e.info.minimum) / 2))); e.info.maximum *= 1 + n * Math.sign(e.info.maximum), e.info.minimum *= 1 - n * Math.sign(e.info.minimum) } e.info.minimum == e.info.maximum && (0 == e.info.maximum ? e.info.maximum = 100 : (e.info.minimum -= .1 * e.info.minimum, e.info.maximum += .1 * e.info.maximum)) } , o.prototype.getArgumentLabel = function(e, r) { if (null == e) return ""; var i = this.area; return i.core.seriesOrientation == t.StiChartSeriesOrientation.Vertical ? i.xAxis.core.getLabelText(e, r) : i.yAxis.core.getLabelText(e, r) } , o.prototype.switchOff = function() { var e = this.area; e.gridLinesHor.visible = !1, e.gridLinesVert.visible = !1, e.interlacingHor.visible = !1, e.interlacingVert.visible = !1, e.xAxis.visible = !1, e.yAxis.visible = !1, e.xTopAxis.visible = !1, e.yRightAxis.visible = !1, e.yAxis.range.auto = !0, e.xAxis.range.auto = !0 } , o.prototype.swap = function(e, t) { var r = e.ref; e.ref = t.ref, t.ref = r } , o.prototype.prepareRange = function(e, t, r, i) {} , o.prototype.createStripLinesXAxis = function(e) { for (var r, i, n = e.core.getStartFromZero(), o = n ? 0 : 1, a = n ? this.valuesCount + 1 : this.valuesCount, s = o; s <= a; s++) e.info.stripLines.add2(s, s); var l = this.getSeries(); try { for (var u = __values(l), c = u.next(); !c.done; c = u.next()) for (var h = c.value, s = 0; s < this.valuesCount; s++) { var p = null; if (null != h.arguments && s < h.arguments.length && null == (p = h.arguments[s])) continue; if (null != p) { var f = n ? 1 + s : s; f < e.info.stripLines.count && (e.info.stripLines.getByIndex(f).valueObject = p) } } } catch (e) { r = { error: e } } finally { try { c && !c.done && (i = u.return) && i.call(u) } finally { if (r) throw r.error } } e.info.stripLines.count > 0 && (e.area.xAxis.showEdgeValues && !e.area.stimulsoft.is(t.IStiClusteredBarArea) || (e.info.stripLines.getByIndex(0).valueObject = null, e.info.stripLines.getByIndex(e.info.stripLines.count - 1).valueObject = null)) } , o.prototype.createStripLinesYAxis = function(e, i) { var n, o, a, s, l, u; if (this.area.isDefaultSeriesTypeFullStackedColumnSeries || this.area.isDefaultSeriesTypeFullStackedBarSeries) { var c = !1 , h = !1 , p = this.getSeries(); try { for (var f = __values(p), m = f.next(); !m.done; m = f.next()) { var S = m.value; try { for (var d = (a = void 0, __values(S.values)), y = d.next(); !y.done; y = d.next()) { var g = y.value; g > 0 && (c = !0), g < 0 && (h = !0) } } catch (e) { a = { error: e } } finally { try { y && !y.done && (s = d.return) && s.call(d) } finally { if (a) throw a.error } } } } catch (e) { n = { error: e } } finally { try { m && !m.done && (o = f.return) && o.call(f) } finally { if (n) throw n.error } } var b = h ? -100 : 0 , v = c ? 100 : 0; 0 == b && 0 == v && (v = 100); var C = e.labels.step; 0 == C && (C = t.StiStripLineCalculatorXF.getInterval(b, v, 6)), e.info.stripLines = t.StiStripLineCalculatorXF.getStripLines(b, v, C, !1); try { for (var w = __values(e.info.stripLines.list), x = w.next(); !x.done; x = w.next()) { var _ = x.value; _.valueObject = r.format("{0}%", _.valueObject) } } catch (e) { l = { error: e } } finally { try { x && !x.done && (u = w.return) && u.call(w) } finally { if (l) throw l.error } } } else { var C = e.labels.step; C > 0 && e.info.range > 0 && e.info.range / C > 500 && (C = 0), 0 == C && (C = t.StiStripLineCalculatorXF.getInterval(e.info.minimum, e.info.maximum, 6)), e.info.stripLines = t.StiStripLineCalculatorXF.getStripLines(e.info.minimum, e.info.maximum, C, i) } } , o.prototype.checkStripLinesAndMaximumMinimumXAxis = function(e) { e.info.stripLines.count > 0 ? (e.info.minimum = e.info.stripLines.getByIndex(0).value, e.info.maximum = e.info.stripLines.getByIndex(e.info.stripLines.count - 1).value) : (e.info.minimum = 0, e.info.maximum = 1) } , o.prototype.checkStripLinesAndMaximumMinimumYAxis = function(e) { e.info.stripLines.count > 0 ? (e.info.maximum = e.info.stripLines.getByIndex(0).value, e.info.minimum = e.info.stripLines.getByIndex(e.info.stripLines.count - 1).value) : (e.info.maximum = 100, e.info.minimum = 0) } , o.prototype.calculateStepX = function(e, t, r) { e.info.stripLines.count >= 2 ? (e.info.step = Math.abs((e.info.stripLines.getByIndex(0).value - e.info.stripLines.getByIndex(1).value) * e.info.dpi), e.core.calculateStripPositions(t, r)) : (e.info.step = 1, e.info.stripPositions = []) } , o.prototype.calculateStepY = function(e, t, r) { e.info.stripLines.count >= 2 ? (e.info.step = Math.abs((e.info.stripLines.getByIndex(1).value - e.info.stripLines.getByIndex(0).value) * e.info.dpi), e.core.calculateStripPositions(t, r)) : (e.info.step = 1, e.info.stripPositions = []) } , o.prototype.checkStartFromZeroYAxis = function(e) { e.core.getStartFromZero() && (e.info.maximum < 0 && (e.info.maximum = 0), e.info.minimum > 0 && (e.info.minimum = 0)) } , o.prototype.calculatePositions = function(e, r, i) { var n = [] , o = this.area , a = !1; this.area.stimulsoft.is(t.IStiAxisArea) && (a = e.stimulsoft.is(t.IStiYAxis) && o.reverseVert || e.stimulsoft.is(t.IStiXAxis) && o.reverseHor); for (var s = 0, l = e.info.stripPositions.length, u = 0; u < l; u++) { if (0 == s) { var c = new t.StiStripPositionXF , h = a ? l - u - 1 : u; c.stripLine = e.info.stripLines.getByIndex(h), c.position = e.info.stripPositions[h], a ? n.insert(0, c) : n.add(c) } if (this.area.core.stimulsoft.is(t.StiScatterAreaCoreXF) && e.stimulsoft.is(t.IStiXAxis) && !e.logarithmicScale) continue; if (this.area.core.stimulsoft.is(t.StiClusteredBarAreaCoreXF) && e.stimulsoft.is(t.IStiXAxis)) continue; if (!this.area.core.stimulsoft.is(t.StiClusteredBarAreaCoreXF) && e.stimulsoft.is(t.IStiYAxis)) continue; if (u == l - 1 && 0 != s) { var p = e; if (null != p && p.showEdgeValues) { var c = new t.StiStripPositionXF , h = a ? 0 : l - 1; c.stripLine = e.info.stripLines.getByIndex(h), c.position = e.info.stripPositions[h], a ? n.insert(0, c) : n.add(c) } } s++, s == i && (s = 0) } r.ref = n } , o.prototype.calculateDivider = function(e) { var r, i, n = this.area, o = 0; if (null != e.info.stripLines) try { for (var a = __values(e.info.stripLines.list), s = a.next(); !s.done; s = a.next()) { if (0 == s.value.value) return e.info.stripPositions[o]; o++ } } catch (e) { r = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return e.stimulsoft.is(t.IStiYAxis) ? n.reverseVert ? -e.info.minimum * e.info.dpi : null == e.info.stripPositions || 0 == e.info.stripPositions.length ? e.info.minimum * e.info.dpi : e.info.stripPositions[e.info.stripPositions.length - 1] + e.info.minimum * e.info.dpi : e.stimulsoft.is(t.IStiXAxis) ? n.reverseHor ? null == e.info.stripPositions || 0 == e.info.stripPositions.length ? e.info.minimum * e.info.dpi : e.info.stripPositions[e.info.stripPositions.length - 1] + e.info.minimum * e.info.dpi : -e.info.minimum * e.info.dpi : 0 } , o.rotateStripLines = function(e) { var r, i, n = new t.StiStripLinesXF; try { for (var o = __values(e.info.stripLines.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; n.insert(0, s) } } catch (e) { r = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } e.info.stripLines = n } , o.prototype.getDividerX = function() { var e = this.area; if (this.stimulsoft.is(t.StiClusteredBarAreaCoreXF) || this.stimulsoft.is(t.StiScatterAreaCoreXF)) return this.calculateDivider(e.xAxis); return 0 } , o.prototype.getDividerTopX = function() { var e = this.area; if (this.stimulsoft.is(t.StiClusteredBarAreaCoreXF)) return this.calculateDivider(e.xTopAxis); return 0 } , o.prototype.getDividerY = function() { var e = this.area; return this.stimulsoft.is(t.StiClusteredBarAreaCoreXF) && !this.stimulsoft.is(t.StiGanttAreaCoreXF) ? 0 : this.calculateDivider(e.yAxis) } , o.prototype.getDividerRightY = function() { var e = this.area; return this.stimulsoft.is(t.StiClusteredBarAreaCoreXF) && !this.stimulsoft.is(t.StiGanttAreaCoreXF) ? 0 : this.calculateDivider(e.yRightAxis) } , Object.defineProperty(o.prototype, "scrollDistanceX", { get: function() { return this.scrollDpiX * this.scrollValueX }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scrollDistanceY", { get: function() { return this.scrollDpiY * this.scrollValueY }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scrollRangeX", { get: function() { return this._scrollRangeX }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scrollRangeY", { get: function() { return this._scrollRangeY }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scrollViewX", { get: function() { return this._scrollViewX }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scrollViewY", { get: function() { return this._scrollViewY }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "blockScrollValueX", { get: function() { return this._blockScrollValueX }, set: function(e) { this._blockScrollValueX = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "blockScrollValueY", { get: function() { return this._blockScrollValueY }, set: function(e) { this._blockScrollValueY = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scrollValueX", { get: function() { return this._scrollValueX }, set: function(e) { this._scrollValueX = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scrollValueY", { get: function() { return this._scrollValueY }, set: function(e) { this._scrollValueY = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scrollDpiX", { get: function() { return this._scrollDpiX }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scrollDpiY", { get: function() { return this._scrollDpiY }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scrollDragStartValue", { get: function() { return this._scrollDragStartValue }, set: function(e) { this._scrollDragStartValue = e }, enumerable: !0, configurable: !0 }), o }(t.StiAreaCoreXF); t.StiAxisAreaCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.prepareRange = function(e, r, i, n) { var o, a, s = !0, l = !0, u = !1, c = !1; i.info.maximum = 0, i.info.minimum = 0, n.info.maximum = 0, n.info.minimum = 0; for (var h = this.getSeries(), p = 0; p < h.length; p++) { var f = h[p] , m = f.values; try { for (var S = (o = void 0, __values(m)), d = S.next(); !d.done; d = S.next()) { var y = d.value; f.yAxis == t.StiSeriesYAxis.LeftYAxis ? null != y && (s ? (u = !0, i.info.maximum = y, i.info.minimum = y, s = !1) : (u = !0, i.info.maximum = Math.max(y, i.info.maximum), i.info.minimum = Math.min(y, i.info.minimum))) : null != y && (l ? (c = !0, n.info.maximum = y, n.info.minimum = y, l = !1) : (c = !0, n.info.maximum = Math.max(y, n.info.maximum), n.info.minimum = Math.min(y, n.info.minimum))) } } catch (e) { o = { error: e } } finally { try { d && !d.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } } u || (i.info.maximum = n.info.maximum, i.info.minimum = n.info.minimum), c || (n.info.maximum = i.info.maximum, n.info.minimum = i.info.minimum) } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "ClusteredColumn") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.ClusteredColumn }, enumerable: !0, configurable: !0 }), i }(t.StiAxisAreaCoreXF); t.StiClusteredColumnAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.Localization.StiLocalization , n = e.System.DateTime , o = function(o) { function a(e) { var t = o.call(this, e) || this; return t.isArgumentDateTime = !1, t } return __extends(a, o), a.prototype.isXAxisAutoRange = function(e) { var t = this.area; return e.range.auto || t.xAxis.range.maximum == t.xAxis.range.minimum || e.logarithmicScale } , a.prototype.prepareRange = function(t, r, i, a) { var s, l, u, c; o.prototype.prepareRange.call(this, t, r, i, a); var h = !0; t.info.maximum = 0, t.info.minimum = 0, this.isArgumentDateTime = !1; var p = this.getSeries(); try { for (var f = __values(p), m = f.next(); !m.done; m = f.next()) { var S = m.value; if (S.arguments.length > 0 && S.arguments[0].stimulsoft.is(String)) { var d = S.arguments[0].toString(); if (d.stimulsoft.endsWith("AM") || d.stimulsoft.endsWith("PM")) for (var y = 0; y < S.arguments.length; y++) { var g = n.fromString(S.arguments[y].toString()); null != g && (S.arguments[y] = g) } } try { for (var b = (u = void 0, __values(S.arguments)), v = b.next(); !v.done; v = b.next()) { var C = v.value , w = 0; if (C.stimulsoft.is(n)) this.isArgumentDateTime = !0, w = C.toOADate(); else try { w = C.stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1), w = 0 } h ? (h = !1, t.info.maximum = w, t.info.minimum = w) : (t.info.maximum = Math.max(t.info.maximum, w), t.info.minimum = Math.min(t.info.minimum, w)) } } catch (e) { u = { error: e } } finally { try { v && !v.done && (c = b.return) && c.call(b) } finally { if (u) throw u.error } } } } catch (e) { s = { error: e } } finally { try { m && !m.done && (l = f.return) && l.call(f) } finally { if (s) throw s.error } } } , a.prototype.checkStripLinesAndMaximumMinimumXAxis = function(e) { e.info.stripLines.count > 0 ? (e.info.minimum = e.info.stripLines.getByIndex(0).value, e.info.maximum = e.info.stripLines.getByIndex(e.info.stripLines.count - 1).value) : (e.info.minimum = 0, e.info.maximum = 1) } , a.prototype.createStripLinesXAxis = function(e) { if (!this.isArgumentDateTime && !e.logarithmicScale && this.isXAxisAutoRange(e)) { var r = Math.abs(e.info.maximum - e.info.minimum); 0 != r ? (e.info.maximum += .05 * r, e.info.minimum -= .05 * r) : (e.info.maximum *= 1.05, e.info.minimum < 0 ? e.info.minimum *= 1.05 : e.info.minimum *= .95), e.core.getStartFromZero() && (e.info.minimum = 0), e.info.minimum == e.info.maximum && (0 == e.info.maximum ? e.info.maximum = 100 : (e.info.minimum -= .1 * e.info.minimum, e.info.maximum -= .1 * e.info.maximum)) } for (var i = !1, o = this.getSeries(), a = 0; a < o.length; a++) if (o[a].core.isDateTimeValues) { i = !0; break } var s = e.labels.step; 0 == s && (s = t.StiStripLineCalculatorXF.getInterval(e.info.minimum, e.info.maximum, 6)); var l; l = e.logarithmicScale ? t.StiStripLineCalculatorXF.getStripLinesLogScale(e.info.minimum, e.info.maximum) : t.StiStripLineCalculatorXF.getStripLines(e.info.minimum, e.info.maximum, s, i), e.info.stripLines.clear(); for (var u = l.count - 1; u >= 0; u--) { var c = l.getByIndex(u).value , h = l.getByIndex(u).valueObject; this.isArgumentDateTime && (h = n.fromOADate(c)), e.info.stripLines.add2(h, c) } } , a.prototype.createStripLinesYAxis = function(e, i) { var n, o, a, s, l, u; if (this.area.isDefaultSeriesTypeFullStackedColumnSeries || this.area.isDefaultSeriesTypeFullStackedBarSeries) { var c = !1 , h = !1 , p = this.getSeries(); try { for (var f = __values(p), m = f.next(); !m.done; m = f.next()) { var S = m.value; try { for (var d = (a = void 0, __values(S.values)), y = d.next(); !y.done; y = d.next()) { var g = y.value; g > 0 && (c = !0), g < 0 && (h = !0) } } catch (e) { a = { error: e } } finally { try { y && !y.done && (s = d.return) && s.call(d) } finally { if (a) throw a.error } } } } catch (e) { n = { error: e } } finally { try { m && !m.done && (o = f.return) && o.call(f) } finally { if (n) throw n.error } } var b = h ? -100 : 0 , v = c ? 100 : 0 , C = e.labels.step; 0 == C && (C = t.StiStripLineCalculatorXF.getInterval(b, v, 6)), e.info.stripLines = t.StiStripLineCalculatorXF.getStripLines(b, v, C, !1); try { for (var w = __values(e.info.stripLines.list), x = w.next(); !x.done; x = w.next()) { var _ = x.value; _.valueObject = r.format("{0}%", _.valueObject) } } catch (e) { l = { error: e } } finally { try { x && !x.done && (u = w.return) && u.call(w) } finally { if (l) throw l.error } } } else { var C = e.labels.step; C > 0 && e.info.range > 0 && e.info.range / C > 500 && (C = 0), 0 == C && (C = t.StiStripLineCalculatorXF.getInterval(e.info.minimum, e.info.maximum, 6)), e.logarithmicScale ? e.info.stripLines = t.StiStripLineCalculatorXF.getStripLinesLogScale(e.info.minimum, e.info.maximum) : e.info.stripLines = t.StiStripLineCalculatorXF.getStripLines(e.info.minimum, e.info.maximum, C, i) } } , Object.defineProperty(a.prototype, "localizedName", { get: function() { return i.get("Chart", "Scatter") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "position", { get: function() { return t.StiChartAreaPosition.Scatter }, enumerable: !0, configurable: !0 }), a }(t.StiClusteredColumnAreaCoreXF); t.StiScatterAreaCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Chart.StiChartAreaPosition , n = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return r.get("Chart", "Bubble") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "position", { get: function() { return i.Bubble }, enumerable: !0, configurable: !0 }), t }(t.StiScatterAreaCoreXF); t.StiBubbleAreaCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Candlestick") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.Candlestick }, enumerable: !0, configurable: !0 }), i.prototype.createStripLinesXAxis = function(e) { var t, r, i, n, o, a; e.info.stripLines.clear(), e.info.stripLines.add2(0, 0); var s = this.getSeries(); try { for (var l = __values(s), u = l.next(); !u.done; u = l.next()) { var c = u.value; try { for (var h = (i = void 0, __values(c.arguments)), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = !0; try { for (var S = (o = void 0, __values(e.info.stripLines.list)), d = S.next(); !d.done; d = S.next()) { d.value.valueObject.toString() == f.toString() && (m = !1) } } catch (e) { o = { error: e } } finally { try { d && !d.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } m && e.info.stripLines.add2(f, e.info.stripLines.count) } } catch (e) { i = { error: e } } finally { try { p && !p.done && (n = h.return) && n.call(h) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { u && !u.done && (r = l.return) && r.call(l) } finally { if (t) throw t.error } } e.info.stripLines.add2("", e.info.stripLines.count) } , i.prototype.prepareRange = function(e, t, r, i) { var n, o, a, s, l, u, c, h, p, f; e.info.maximum = 0, e.info.minimum = 0, r.info.maximum = 0, r.info.minimum = 0; var m = this.getSeries() , S = !0; try { for (var d = __values(m), y = d.next(); !y.done; y = d.next()) { var g = y.value; try { for (var b = (a = void 0, __values(g.valuesOpen)), v = b.next(); !v.done; v = b.next()) { var C = v.value; null != C && (S ? (S = !1, r.info.maximum = C, r.info.minimum = C) : (r.info.maximum = Math.max(r.info.maximum, C), r.info.minimum = Math.min(r.info.minimum, C))) } } catch (e) { a = { error: e } } finally { try { v && !v.done && (s = b.return) && s.call(b) } finally { if (a) throw a.error } } try { for (var w = (l = void 0, __values(g.valuesClose)), x = w.next(); !x.done; x = w.next()) { var C = x.value; null != C && (r.info.maximum = Math.max(r.info.maximum, C), r.info.minimum = Math.min(r.info.minimum, C)) } } catch (e) { l = { error: e } } finally { try { x && !x.done && (u = w.return) && u.call(w) } finally { if (l) throw l.error } } try { for (var _ = (c = void 0, __values(g.valuesHigh)), A = _.next(); !A.done; A = _.next()) { var C = A.value; null != C && (r.info.maximum = Math.max(r.info.maximum, C)) } } catch (e) { c = { error: e } } finally { try { A && !A.done && (h = _.return) && h.call(_) } finally { if (c) throw c.error } } try { for (var L = (p = void 0, __values(g.valuesLow)), O = L.next(); !O.done; O = L.next()) { var C = O.value; null != C && (r.info.minimum = Math.min(r.info.minimum, C)) } } catch (e) { p = { error: e } } finally { try { O && !O.done && (f = L.return) && f.call(L) } finally { if (p) throw p.error } } } } catch (e) { n = { error: e } } finally { try { y && !y.done && (o = d.return) && o.call(d) } finally { if (n) throw n.error } } i.info.maximum = r.info.maximum, i.info.minimum = r.info.minimum } , i }(t.StiClusteredColumnAreaCoreXF); t.StiCandlestickAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "ClusteredBar") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "seriesOrientation", { get: function() { return t.StiChartSeriesOrientation.Horizontal }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.ClusteredBar }, enumerable: !0, configurable: !0 }), i }(t.StiClusteredColumnAreaCoreXF); t.StiClusteredBarAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Area") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.Area }, enumerable: !0, configurable: !0 }), i }(t.StiClusteredColumnAreaCoreXF); t.StiAreaAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Line") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.Line }, enumerable: !0, configurable: !0 }), i }(t.StiClusteredColumnAreaCoreXF); t.StiLineAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Pareto") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.Pareto }, enumerable: !0, configurable: !0 }), i }(t.StiClusteredColumnAreaCoreXF); t.StiParetoAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "SplineArea") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.SplineArea }, enumerable: !0, configurable: !0 }), i }(t.StiClusteredColumnAreaCoreXF); t.StiSplineAreaAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Spline") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.Spline }, enumerable: !0, configurable: !0 }), i }(t.StiClusteredColumnAreaCoreXF); t.StiSplineAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "SteppedArea") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.SteppedArea }, enumerable: !0, configurable: !0 }), i }(t.StiClusteredColumnAreaCoreXF); t.StiSteppedAreaAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "SteppedLine") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.SteppedLine }, enumerable: !0, configurable: !0 }), i }(t.StiClusteredColumnAreaCoreXF); t.StiSteppedLineAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.Hashtable , i = e.Base.Localization.StiLocalization , n = function(e) { function n(t) { var r = e.call(this, t) || this; return r.valuesCount = 0, r } return __extends(n, e), n.prototype.render = function(e, r) { this.prepareInfo(r); var i = new t.StiPieAreaGeom(this.area,r) , n = this.getSeries(); return this.renderSeries(e, r, i, n), i } , n.prototype.renderSeries = function(e, t, i, n) { var o, a, s, l, u = [], c = new r; try { for (var h = __values(n), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = c.get(f.stimulsoft.getType()); null == m && (m = [], u.add(m), c.set(f.stimulsoft.getType(), m)), m.add(f) } } catch (e) { o = { error: e } } finally { try { p && !p.done && (a = h.return) && a.call(h) } finally { if (o) throw o.error } } try { for (var S = __values(u), d = S.next(); !d.done; d = S.next()) { var y = d.value , g = y.toArray(); g[0].core.renderSeries(e, t, i, g) } } catch (e) { s = { error: e } } finally { try { d && !d.done && (l = S.return) && l.call(S) } finally { if (s) throw s.error } } } , n.prototype.prepareInfo = function(e) { this.valuesCount = 0; var t = this.getSeries(); if (t.length > 0) for (var r = 0; r < t.length; r++) { var i = t[r].values; null != i && (this.valuesCount = Math.max(i.length, this.valuesCount)) } } , Object.defineProperty(n.prototype, "localizedName", { get: function() { return i.get("Chart", "Pie") }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "position", { get: function() { return t.StiChartAreaPosition.Pie }, enumerable: !0, configurable: !0 }), n }(t.StiAreaCoreXF); t.StiPieAreaCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.render = function(e, r) { this.prepareInfo(r); var i = new t.StiDoughnutAreaGeom(this.area,r) , n = this.getSeries(); return this.renderSeries(e, r, i, n), i } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Doughnut") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.Doughnut }, enumerable: !0, configurable: !0 }), i }(t.StiPieAreaCoreXF); t.StiDoughnutAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.Hashtable , i = e.Base.Localization.StiLocalization , n = function(e) { function n(t) { return e.call(this, t) || this } return __extends(n, e), n.prototype.prepareSeriesRange = function(e) { for (var r, i, n = [], o = [], a = [], s = [], l = this.getSeries(), u = 0; u < this.valuesCount; u++) try { for (var c = (r = void 0, __values(l)), h = c.next(); !h.done; h = c.next()) { var p = h.value; if (p.stimulsoft.getType() == e) if (p.yAxis == t.StiSeriesYAxis.LeftYAxis) { if (n.add(0), o.add(0), u < p.values.length) { var f = p.values[u]; f > 0 ? o[u] = o[u] + f : n[u] = n[u] + f } } else if (a.add(0), s.add(0), u < p.values.length) { var f = p.values[u]; f > 0 ? s[u] = s[u] + f : a[u] = a[u] + f } } } catch (e) { r = { error: e } } finally { try { h && !h.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } return [n, o, a, s] } , n.prototype.prepareRange = function(e, t, i, n) { var o, a, s, l, u, c, h, p, f, m, S, d, y, g, b, v, C, w, x, _, A = this.getSeries(), L = new r; try { for (var O = __values(A), P = O.next(); !P.done; P = O.next()) { var B = P.value; L.set(B.stimulsoft.getType(), B.stimulsoft.getType()) } } catch (e) { o = { error: e } } finally { try { P && !P.done && (a = O.return) && a.call(O) } finally { if (o) throw o.error } } var R = [] , k = [] , j = [] , T = []; try { for (var F = __values(L.values), D = F.next(); !D.done; D = F.next()) { var I = D.value , N = this.prepareSeriesRange(I) , M = 0; try { for (var E = (u = void 0, __values(N[0])), V = E.next(); !V.done; V = E.next()) { var X = V.value; R.length <= M ? R.add(X) : R[M] = Math.min(R[M], X), M++ } } catch (e) { u = { error: e } } finally { try { V && !V.done && (c = E.return) && c.call(E) } finally { if (u) throw u.error } } M = 0; try { for (var G = (h = void 0, __values(N[1])), z = G.next(); !z.done; z = G.next()) { var X = z.value; k.length <= M ? k.add(X) : k[M] = Math.max(k[M], X), M++ } } catch (e) { h = { error: e } } finally { try { z && !z.done && (p = G.return) && p.call(G) } finally { if (h) throw h.error } } M = 0; try { for (var J = (f = void 0, __values(N[2])), H = J.next(); !H.done; H = J.next()) { var X = H.value; j.length <= M ? j.add(X) : j[M] = Math.min(j[M], X), M++ } } catch (e) { f = { error: e } } finally { try { H && !H.done && (m = J.return) && m.call(J) } finally { if (f) throw f.error } } M = 0; try { for (var Y = (S = void 0, __values(N[3])), W = Y.next(); !W.done; W = Y.next()) { var X = W.value; T.length <= M ? T.add(X) : T[M] = Math.max(T[M], X), M++ } } catch (e) { S = { error: e } } finally { try { W && !W.done && (d = Y.return) && d.call(Y) } finally { if (S) throw S.error } } } } catch (e) { s = { error: e } } finally { try { D && !D.done && (l = F.return) && l.call(F) } finally { if (s) throw s.error } } 0 == R.length && (R = j), 0 == k.length && (k = T), 0 == j.length && (j = R), 0 == T.length && (T = k); var Z = !0; try { for (var U = __values(R), q = U.next(); !q.done; q = U.next()) { var X = q.value; Z ? (i.info.minimum = X, Z = !1) : i.info.minimum = Math.min(X, i.info.minimum) } } catch (e) { y = { error: e } } finally { try { q && !q.done && (g = U.return) && g.call(U) } finally { if (y) throw y.error } } Z = !0; try { for (var K = __values(k), Q = K.next(); !Q.done; Q = K.next()) { var X = Q.value; Z ? (i.info.maximum = X, Z = !1) : i.info.maximum = Math.max(X, i.info.maximum) } } catch (e) { b = { error: e } } finally { try { Q && !Q.done && (v = K.return) && v.call(K) } finally { if (b) throw b.error } } Z = !0; try { for (var $ = __values(j), ee = $.next(); !ee.done; ee = $.next()) { var X = ee.value; Z ? (n.info.minimum = X, Z = !1) : n.info.minimum = Math.min(X, n.info.minimum) } } catch (e) { C = { error: e } } finally { try { ee && !ee.done && (w = $.return) && w.call($) } finally { if (C) throw C.error } } Z = !0; try { for (var te = __values(T), re = te.next(); !re.done; re = te.next()) { var X = re.value; Z ? (n.info.maximum = X, Z = !1) : n.info.maximum = Math.max(X, n.info.maximum) } } catch (e) { x = { error: e } } finally { try { re && !re.done && (_ = te.return) && _.call(te) } finally { if (x) throw x.error } } } , Object.defineProperty(n.prototype, "localizedName", { get: function() { return i.get("Chart", "StackedBar") }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "seriesOrientation", { get: function() { return t.StiChartSeriesOrientation.Horizontal }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "position", { get: function() { return t.StiChartAreaPosition.StackedBar }, enumerable: !0, configurable: !0 }), n }(t.StiClusteredBarAreaCoreXF); t.StiStackedBarAreaCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedBar") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.FullStackedBar }, enumerable: !0, configurable: !0 }), i }(t.StiStackedBarAreaCoreXF); t.StiFullStackedBarAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.Hashtable , i = e.Base.Localization.StiLocalization , n = function(e) { function n(t) { return e.call(this, t) || this } return __extends(n, e), n.prototype.prepareSeriesRange = function(e) { for (var r, i, n = [], o = [], a = [], s = [], l = this.getSeries(), u = 0; u < this.valuesCount; u++) try { for (var c = (r = void 0, __values(l)), h = c.next(); !h.done; h = c.next()) { var p = h.value; if (p.stimulsoft.getType() == e) if (p.yAxis == t.StiSeriesYAxis.LeftYAxis) { if (n.add(0), o.add(0), u < p.values.length) { var f = p.values[u]; f > 0 ? o[u] = o[u] + f : n[u] = n[u] + f } } else if (a.add(0), s.add(0), u < p.values.length) { var f = p.values[u]; f > 0 ? s[u] = s[u] + f : a[u] = a[u] + f } } } catch (e) { r = { error: e } } finally { try { h && !h.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } return [n, o, a, s] } , n.prototype.prepareRange = function(e, t, i, n) { var o, a, s, l, u, c, h, p, f, m, S, d, y, g, b, v, C, w, x, _, A = this.getSeries(), L = new r; try { for (var O = __values(A), P = O.next(); !P.done; P = O.next()) { var B = P.value; L.set(B.stimulsoft.getType(), B.stimulsoft.getType()) } } catch (e) { o = { error: e } } finally { try { P && !P.done && (a = O.return) && a.call(O) } finally { if (o) throw o.error } } var R = [] , k = [] , j = [] , T = []; try { for (var F = __values(L.values), D = F.next(); !D.done; D = F.next()) { var I = D.value , N = this.prepareSeriesRange(I) , M = 0; try { for (var E = (u = void 0, __values(N[0])), V = E.next(); !V.done; V = E.next()) { var X = V.value; R.length <= M ? R.add(X) : R[M] = Math.min(R[M], X), M++ } } catch (e) { u = { error: e } } finally { try { V && !V.done && (c = E.return) && c.call(E) } finally { if (u) throw u.error } } M = 0; try { for (var G = (h = void 0, __values(N[1])), z = G.next(); !z.done; z = G.next()) { var X = z.value; k.length <= M ? k.add(X) : k[M] = Math.max(k[M], X), M++ } } catch (e) { h = { error: e } } finally { try { z && !z.done && (p = G.return) && p.call(G) } finally { if (h) throw h.error } } M = 0; try { for (var J = (f = void 0, __values(N[2])), H = J.next(); !H.done; H = J.next()) { var X = H.value; j.length <= M ? j.add(X) : j[M] = Math.min(j[M], X), M++ } } catch (e) { f = { error: e } } finally { try { H && !H.done && (m = J.return) && m.call(J) } finally { if (f) throw f.error } } M = 0; try { for (var Y = (S = void 0, __values(N[3])), W = Y.next(); !W.done; W = Y.next()) { var X = W.value; T.length <= M ? T.add(X) : T[M] = Math.max(T[M], X), M++ } } catch (e) { S = { error: e } } finally { try { W && !W.done && (d = Y.return) && d.call(Y) } finally { if (S) throw S.error } } } } catch (e) { s = { error: e } } finally { try { D && !D.done && (l = F.return) && l.call(F) } finally { if (s) throw s.error } } 0 == R.length && (R = j), 0 == k.length && (k = T), 0 == j.length && (j = R), 0 == T.length && (T = k); var Z = !0; try { for (var U = __values(R), q = U.next(); !q.done; q = U.next()) { var X = q.value; Z ? (i.info.minimum = X, Z = !1) : i.info.minimum = Math.min(X, i.info.minimum) } } catch (e) { y = { error: e } } finally { try { q && !q.done && (g = U.return) && g.call(U) } finally { if (y) throw y.error } } Z = !0; try { for (var K = __values(k), Q = K.next(); !Q.done; Q = K.next()) { var X = Q.value; Z ? (i.info.maximum = X, Z = !1) : i.info.maximum = Math.max(X, i.info.maximum) } } catch (e) { b = { error: e } } finally { try { Q && !Q.done && (v = K.return) && v.call(K) } finally { if (b) throw b.error } } Z = !0; try { for (var $ = __values(j), ee = $.next(); !ee.done; ee = $.next()) { var X = ee.value; Z ? (n.info.minimum = X, Z = !1) : n.info.minimum = Math.min(X, n.info.minimum) } } catch (e) { C = { error: e } } finally { try { ee && !ee.done && (w = $.return) && w.call($) } finally { if (C) throw C.error } } Z = !0; try { for (var te = __values(T), re = te.next(); !re.done; re = te.next()) { var X = re.value; Z ? (n.info.maximum = X, Z = !1) : n.info.maximum = Math.max(X, n.info.maximum) } } catch (e) { x = { error: e } } finally { try { re && !re.done && (_ = te.return) && _.call(te) } finally { if (x) throw x.error } } } , Object.defineProperty(n.prototype, "localizedName", { get: function() { return i.get("Chart", "StackedColumn") }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "position", { get: function() { return t.StiChartAreaPosition.StackedColumn }, enumerable: !0, configurable: !0 }), n }(t.StiAxisAreaCoreXF); t.StiStackedColumnAreaCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedColumn") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.FullStackedColumn }, enumerable: !0, configurable: !0 }), i }(t.StiStackedColumnAreaCoreXF); t.StiFullStackedColumnAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedArea") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.FullStackedArea }, enumerable: !0, configurable: !0 }), i }(t.StiFullStackedColumnAreaCoreXF); t.StiFullStackedAreaAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedLine") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.FullStackedLine }, enumerable: !0, configurable: !0 }), i }(t.StiFullStackedColumnAreaCoreXF); t.StiFullStackedLineAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedSplineArea") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.FullStackedSplineArea }, enumerable: !0, configurable: !0 }), i }(t.StiFullStackedColumnAreaCoreXF); t.StiFullStackedSplineAreaAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedSpline") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.FullStackedSpline }, enumerable: !0, configurable: !0 }), i }(t.StiFullStackedColumnAreaCoreXF); t.StiFullStackedSplineAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Collections.Hashtable , n = function(e) { function n(t) { return e.call(this, t) || this } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Funnel") }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "position", { get: function() { return t.StiChartAreaPosition.Funnel }, enumerable: !0, configurable: !0 }), n.prototype.render = function(e, r) { var i = new t.StiPieAreaGeom(this.area,r) , n = this.getSeries(); return this.renderSeries(e, r, i, n), i } , n.prototype.renderSeries = function(e, t, r, n) { var o, a, s, l, u = [], c = new i; try { for (var h = __values(n), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = c.get(f.stimulsoft.getType()); null == m && (m = [], u.add(m), c.set(f.stimulsoft.getType(), m)), m.add(f) } } catch (e) { o = { error: e } } finally { try { p && !p.done && (a = h.return) && a.call(h) } finally { if (o) throw o.error } } try { for (var S = __values(u), d = S.next(); !d.done; d = S.next()) { var y = d.value , g = y.toArray(); g[0].core.renderSeries(e, t, r, g) } } catch (e) { s = { error: e } } finally { try { d && !d.done && (l = S.return) && l.call(S) } finally { if (s) throw s.error } } } , n.prototype.prepareInfo = function(e) {} , n }(t.StiAreaCoreXF); t.StiFunnelAreaCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.createStripLinesXAxis = function(e) { var t, r, i, n, o, a; e.info.stripLines.clear(), e.info.stripLines.add2(0, 0); var s = this.getSeries(); try { for (var l = __values(s), u = l.next(); !u.done; u = l.next()) { var c = u.value; try { for (var h = (i = void 0, __values(c.arguments)), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = !0; try { for (var S = (o = void 0, __values(e.info.stripLines.list)), d = S.next(); !d.done; d = S.next()) { var y = d.value; null != y.valueObject && y.valueObject.toString() == f.toString() && (m = !1) } } catch (e) { o = { error: e } } finally { try { d && !d.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } m && e.info.stripLines.add2(f, e.info.stripLines.count) } } catch (e) { i = { error: e } } finally { try { p && !p.done && (n = h.return) && n.call(h) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { u && !u.done && (r = l.return) && r.call(l) } finally { if (t) throw t.error } } e.info.stripLines.add2("", e.info.stripLines.count) } , i.prototype.prepareRange = function(e, t, r, i) { var n, o, a, s, l, u; e.info.maximum = 0, e.info.minimum = 0, r.info.maximum = 0, r.info.minimum = 0; var c = this.getSeries() , h = !0; try { for (var p = __values(c), f = p.next(); !f.done; f = p.next()) { var m = f.value; try { for (var S = (a = void 0, __values(m.values)), d = S.next(); !d.done; d = S.next()) { var y = d.value; null != y && (h ? (h = !1, r.info.maximum = y, r.info.minimum = y) : (r.info.maximum = Math.max(r.info.maximum, y), r.info.minimum = Math.min(r.info.minimum, y))) } } catch (e) { a = { error: e } } finally { try { d && !d.done && (s = S.return) && s.call(S) } finally { if (a) throw a.error } } try { for (var g = (l = void 0, __values(m.valuesEnd)), b = g.next(); !b.done; b = g.next()) { var y = b.value; null != y && (r.info.maximum = Math.max(r.info.maximum, y), r.info.minimum = Math.min(r.info.minimum, y)) } } catch (e) { l = { error: e } } finally { try { b && !b.done && (u = g.return) && u.call(g) } finally { if (l) throw l.error } } } } catch (e) { n = { error: e } } finally { try { f && !f.done && (o = p.return) && o.call(p) } finally { if (n) throw n.error } } i.info.maximum = r.info.maximum, i.info.minimum = r.info.minimum } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Gantt") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "seriesOrientation", { get: function() { return t.StiChartSeriesOrientation.Horizontal }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.Gantt }, enumerable: !0, configurable: !0 }), i }(t.StiClusteredBarAreaCoreXF); t.StiGanttAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Rectangle , n = function(e) { function n(t) { return e.call(this, t) || this } return __extends(n, e), n.prototype.render = function(e, r) { var n = new t.StiPictorialAreaGeom(this.area,r) , o = this.getSeries(); return e.pushTranslateTransform(r.x, r.y), o.length > 0 && o[0].core.renderSeries(e, new i(0,0,r.width,r.height), n, o.toArray()), e.popTransform(), n } , Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Pictorial") }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "position", { get: function() { return t.StiChartAreaPosition.Pictorial }, enumerable: !0, configurable: !0 }), n }(t.StiAreaCoreXF); t.StiPictorialAreaCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.Drawing.StiEmptyBrush , n = e.System.Collections.Hashtable , o = e.System.Drawing.Rectangle , a = e.System.Drawing.Point , s = function(s) { function l(e) { var t = s.call(this, e) || this; return t.valuesCount = 0, t.points = [], t.arguments = [], t.centerPoint = a.empty, t } return __extends(l, s), l.prototype.applyStyle = function(e) { s.prototype.applyStyle.call(this, e); var t = this.area; t.allowApplyStyle && (null != t.interlacingHor && t.interlacingHor.core.applyStyle(e), null != t.interlacingVert && t.interlacingVert.core.applyStyle(e), null != t.gridLinesHor && t.gridLinesHor.core.applyStyle(e), null != t.gridLinesVert && t.gridLinesVert.core.applyStyle(e), null != t.xAxis && t.xAxis.core.applyStyle(e), null != t.yAxis && t.yAxis.core.applyStyle(e), t.brush = new i) } , l.prototype.render = function(e, r) { var i = this.area , n = r.clone(); n = l.centerArea(n), this.prepareInfo(n), n = this.measureLabels(e, n).clone(), n = l.centerArea(n).clone(), n = new o(r.x + (r.width - n.width) / 2,r.y + (r.height - n.height) / 2,n.width,n.height), this.prepareInfo(n); var a = new t.StiRadarAreaGeom(this.area,n,this.valuesCount) , s = i.yAxis.yCore.render(e, n); null != s && (a.createChildGeoms(), a.childGeoms.add(s)), this.area.chart.series.count > 0 && this.renderArguments(e, a, this.area.chart.series.getByIndex(0)); var u = this.getSeries(); return this.renderSeries(e, n, a, u), a } , l.centerArea = function(e) { return e.width > e.height ? e.width = e.height : e.height = e.width, e } , l.prototype.measureLabels = function(e, t) { var r, i; if (0 == this.valuesCount) return t; var n = this.area; if (null != n.xAxis && n.xAxis.visible) { var s = n.yAxis.info.stripPositions[n.yAxis.info.stripPositions.length - 1] + 4 * e.options.zoom , l = 0 , u = 360 / this.valuesCount , c = 0 , h = t.clone(); try { for (var p = __values(this.points), f = p.next(); !f.done; f = p.next()) { var m = f.value , S = l < this.arguments.length ? this.arguments[l] : null , d = new a(this.centerPoint.x + s * m.x,this.centerPoint.y + s * m.y) , y = n.xAxis.core.getLabelText(S) , g = n.xAxis.xCore.getLabelRect(e, d, y, c).clone(); g.isEmpty || (h = o.union(h, g)), c += u, l++ } } catch (e) { r = { error: e } } finally { try { f && !f.done && (i = p.return) && i.call(p) } finally { if (r) throw r.error } } var b = t.left - h.left , v = h.right - t.right , C = t.top - h.top , w = h.bottom - t.bottom; b > 0 && (t.width -= b), v > 0 && (t.width -= v), C > 0 && (t.height -= C), w > 0 && (t.height -= w) } return t } , l.prototype.renderArguments = function(e, t, r) { var i, n; if (0 == this.valuesCount) return; var o = this.area; if (null != o.xAxis && o.xAxis.visible && null != o.yAxis.info.stripPositions) { var s = o.yAxis.info.stripPositions[o.yAxis.info.stripPositions.length - 1] + 4 * e.options.zoom , l = 0 , u = 360 / this.valuesCount , c = 0; try { for (var h = __values(this.points), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = l < this.arguments.length ? this.arguments[l] : null , S = new a(this.centerPoint.x + s * f.x,this.centerPoint.y + s * f.y); S.x -= t.clientRectangle.x, S.y -= t.clientRectangle.y; var d = o.xAxis.xCore.renderLabel(e, r, S, m, c, l, this.valuesCount); null != d && (t.createChildGeoms(), t.childGeoms.add(d)), c += u, l++ } } catch (e) { i = { error: e } } finally { try { p && !p.done && (n = h.return) && n.call(h) } finally { if (i) throw i.error } } } } , l.prototype.renderSeries = function(e, t, r, i) { var o, a, s, l, u = [], c = new n; try { for (var h = __values(i), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = c.get(f.stimulsoft.getType()); null == m && (m = [], u.add(m), c.set(f.stimulsoft.getType(), m)), m.add(f) } } catch (e) { o = { error: e } } finally { try { p && !p.done && (a = h.return) && a.call(h) } finally { if (o) throw o.error } } try { for (var S = __values(u), d = S.next(); !d.done; d = S.next()) { var y = d.value , g = y.toArray(); g[0].core.renderSeries(e, t, r, g) } } catch (e) { s = { error: e } } finally { try { d && !d.done && (l = S.return) && l.call(S) } finally { if (s) throw s.error } } } , l.prototype.prepareInfo = function(t) { var r, i, n, o, s = this.area; this.valuesCount = 0; var l = this.getSeries(); if (l.length > 0) for (var u = 0; u < l.length; u++) { var c = l[u].values; null != c && (this.valuesCount = Math.max(c.length, this.valuesCount)) } if (this.arguments = [], l.length > 0) { var h = l[0]; try { for (var p = __values(l), f = p.next(); !f.done; f = p.next()) { var m = f.value; if (m.arguments.length == this.valuesCount) { h = m; break } } } catch (e) { r = { error: e } } finally { try { f && !f.done && (i = p.return) && i.call(p) } finally { if (r) throw r.error } } for (var u = 0; u < this.valuesCount; u++) u < h.arguments.length && this.arguments.add(h.arguments[u].toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)) } else this.arguments.add("1"), this.arguments.add("2"), this.arguments.add("3"), this.arguments.add("4"), this.arguments.add("5"); this.centerPoint = new a(t.x + t.width / 2,t.y + t.height / 2); var S; S = this.valuesCount > 0 ? 360 / this.valuesCount : 360 / 5, this.points = []; var d = 0; while (d < 360) { var y = (d - 90) * Math.PI / 180 , g = new a(Math.cos(y),Math.sin(y)); if (this.points.add(g), d += S, this.points.length == this.valuesCount) break } for (var b = 0, v = 0, C = !0, u = 0; u < l.length; u++) { var c = l[u].values; if (null != c) try { for (var w = (n = void 0, __values(c)), x = w.next(); !x.done; x = w.next()) { var _ = x.value; if (null == _) continue; C ? (b = _, v = _, C = !1) : (b = Math.min(b, _), v = Math.max(v, _)) } } catch (e) { n = { error: e } } finally { try { x && !x.done && (o = w.return) && o.call(w) } finally { if (n) throw n.error } } } 0 == l.length && (v = 1), Math.abs(b) > v && (v = Math.abs(b)), 0 == v && 0 == b && (v = 1), b = 0, this.createStripLinesAxis(s.yAxis, b, v), null != s.yAxis.info.stripLines && s.yAxis.info.stripLines.count > 0 && (s.yAxis.info.minimum = s.yAxis.info.stripLines.getByIndex(s.yAxis.info.stripLines.count - 1).value, s.yAxis.info.maximum = s.yAxis.info.stripLines.getByIndex(0).value), s.yAxis.info.dpi = .5 * t.height / s.yAxis.info.range, this.calculateStep(s.yAxis, 0, t.height / 2); var A = { ref: s.yAxis.info.labelsCollection }; this.calculatePositions(s.yAxis, A, s.yAxis.labels.step > 0 ? Math.trunc(s.yAxis.labels.step) : 1), s.yAxis.info.labelsCollection = A.ref; var L = { ref: s.yAxis.info.ticksCollection }; this.calculatePositions(s.yAxis, L, s.yAxis.ticks.step > 0 ? Math.trunc(s.yAxis.ticks.step) : 1), s.yAxis.info.ticksCollection = L.ref } , l.prototype.createStripLinesAxis = function(e, i, n) { var o, a, s = this.area, l = s.yAxis.labels.step; 0 == l && (l = t.StiStripLineCalculatorXF.getInterval(i, n, 6)), s.yAxis.info.stripLines = t.StiStripLineCalculatorXF.getStripLines(i, n, l, !1); try { for (var u = __values(s.yAxis.info.stripLines.list), c = u.next(); !c.done; c = u.next()) { var h = c.value; h.valueObject = r.format("{0}", h.valueObject) } } catch (e) { o = { error: e } } finally { try { c && !c.done && (a = u.return) && a.call(u) } finally { if (o) throw o.error } } } , l.prototype.calculateStep = function(e, t, r) { e.info.stripLines.count >= 2 ? (e.info.step = Math.abs((e.info.stripLines.getByIndex(1).value - e.info.stripLines.getByIndex(0).value) * e.info.dpi), e.yCore.calculateStripPositions(t, r)) : e.info.step = 1 } , l.prototype.calculatePositions = function(e, r, i) { var n = [] , o = this.area , a = 0; if (null != e.info.stripPositions) for (var s = e.info.stripPositions.length, l = 0; l < s; l++) { if (0 == a) { var u = new t.StiStripPositionXF , c = l; u.stripLine = e.info.stripLines.getByIndex(c), u.position = e.info.stripPositions[c], n.add(u) } a++, a == i && (a = 0) } r.ref = n } , l }(t.StiAreaCoreXF); t.StiRadarAreaCoreXF = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "RadarArea") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.RadarArea }, enumerable: !0, configurable: !0 }), i }(t.StiRadarAreaCoreXF); t.StiRadarAreaAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "RadarLine") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.RadarLine }, enumerable: !0, configurable: !0 }), i }(t.StiRadarAreaCoreXF); t.StiRadarLineAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "RadarPoint") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.RadarPoint }, enumerable: !0, configurable: !0 }), i }(t.StiRadarAreaCoreXF); t.StiRadarPointAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("PropertyMain", "Range") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.Range }, enumerable: !0, configurable: !0 }), i.prototype.prepareRange = function(e, r, i, n) { var o = !0 , a = !0 , s = !1 , l = !1; i.info.maximum = 0, i.info.minimum = 0, n.info.maximum = 0, n.info.minimum = 0; for (var u = this.getSeries(), c = 0; c < u.length; c++) for (var h = u[c], p = h.values, f = h.valuesEnd, m = Math.min(p.length, f.length), S = 0; S < m; S++) { var d = null != p[S] ? p[S].stimulsoft.toNumber() : 0 , y = null != f[S] ? f[S].stimulsoft.toNumber() : 0 , g = Math.max(d, y) , b = Math.min(d, y); h.yAxis == t.StiSeriesYAxis.LeftYAxis ? o ? (s = !0, i.info.maximum = g, i.info.minimum = b, o = !1) : (s = !0, i.info.maximum = Math.max(g, i.info.maximum), i.info.minimum = Math.min(b, i.info.minimum)) : a ? (l = !0, n.info.maximum = g, n.info.minimum = b, a = !1) : (l = !0, n.info.maximum = Math.max(g, n.info.maximum), n.info.minimum = Math.min(b, n.info.minimum)) } s || (i.info.maximum = n.info.maximum, i.info.minimum = n.info.minimum), l || (n.info.maximum = i.info.maximum, n.info.minimum = i.info.minimum) } , i }(t.StiClusteredColumnAreaCoreXF); t.StiRangeAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.createStripLinesXAxis = function(e) { var t, r, i, n, o, a; e.info.stripLines.clear(), e.info.stripLines.add2(0, 0); var s = this.getSeries(); try { for (var l = __values(s), u = l.next(); !u.done; u = l.next()) { var c = u.value; try { for (var h = (i = void 0, __values(c.arguments)), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = !0; try { for (var S = (o = void 0, __values(e.info.stripLines.list)), d = S.next(); !d.done; d = S.next()) { d.value.valueObject.toString() == f.toString() && (m = !1) } } catch (e) { o = { error: e } } finally { try { d && !d.done && (a = S.return) && a.call(S) } finally { if (o) throw o.error } } m && e.info.stripLines.add2(f, e.info.stripLines.count) } } catch (e) { i = { error: e } } finally { try { p && !p.done && (n = h.return) && n.call(h) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { u && !u.done && (r = l.return) && r.call(l) } finally { if (t) throw t.error } } e.info.stripLines.add2("", e.info.stripLines.count), e.info.stripLines.count > 0 && (e.area.xAxis.showEdgeValues || (e.info.stripLines.getByIndex(0).valueObject = "", e.info.stripLines.getByIndex(e.info.stripLines.count - 1).valueObject = "")) } , i.prototype.prepareRange = function(e, t, r, i) { var n, o, a, s, l, u; e.info.maximum = 0, e.info.minimum = 0, r.info.maximum = 0, r.info.minimum = 0; var c = this.getSeries() , h = !0; try { for (var p = __values(c), f = p.next(); !f.done; f = p.next()) { var m = f.value; try { for (var S = (a = void 0, __values(m.values)), d = S.next(); !d.done; d = S.next()) { var y = d.value; null != y && (h ? (h = !1, r.info.maximum = y, r.info.minimum = y) : (r.info.maximum = Math.max(r.info.maximum, y), r.info.minimum = Math.min(r.info.minimum, y))) } } catch (e) { a = { error: e } } finally { try { d && !d.done && (s = S.return) && s.call(S) } finally { if (a) throw a.error } } try { for (var g = (l = void 0, __values(m.valuesEnd)), b = g.next(); !b.done; b = g.next()) { var y = b.value; null != y && (r.info.maximum = Math.max(r.info.maximum, y), r.info.minimum = Math.min(r.info.minimum, y)) } } catch (e) { l = { error: e } } finally { try { b && !b.done && (u = g.return) && u.call(g) } finally { if (l) throw l.error } } } } catch (e) { n = { error: e } } finally { try { f && !f.done && (o = p.return) && o.call(p) } finally { if (n) throw n.error } } i.info.maximum = r.info.maximum, i.info.minimum = r.info.minimum } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "RangeBar") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.RangeBar }, enumerable: !0, configurable: !0 }), i }(t.StiClusteredColumnAreaCoreXF); t.StiRangeBarAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "SplineRange") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.SplineRange }, enumerable: !0, configurable: !0 }), i.prototype.prepareRange = function(e, r, i, n) { var o = !0 , a = !0 , s = !1 , l = !1; i.info.maximum = 0, i.info.minimum = 0, n.info.maximum = 0, n.info.minimum = 0; for (var u = this.getSeries(), c = 0; c < u.length; c++) for (var h = u[c], p = h.values, f = h.valuesEnd, m = Math.min(p.length, f.length), S = 0; S < m; S++) { var d = null != p[S] ? p[S].stimulsoft.toNumber() : 0 , y = null != f[S] ? f[S].stimulsoft.toNumber() : 0 , g = Math.max(d, y) , b = Math.min(d, y); h.yAxis == t.StiSeriesYAxis.LeftYAxis ? o ? (s = !0, i.info.maximum = g, i.info.minimum = b, o = !1) : (s = !0, i.info.maximum = Math.max(g, i.info.maximum), i.info.minimum = Math.min(b, i.info.minimum)) : a ? (l = !0, n.info.maximum = g, n.info.minimum = b, a = !1) : (l = !0, n.info.maximum = Math.max(g, n.info.maximum), n.info.minimum = Math.min(b, n.info.minimum)) } s || (i.info.maximum = n.info.maximum, i.info.minimum = n.info.minimum), l || (n.info.maximum = i.info.maximum, n.info.minimum = i.info.minimum) } , i }(t.StiClusteredColumnAreaCoreXF); t.StiSplineRangeAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "SteppedRange") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.SteppedRange }, enumerable: !0, configurable: !0 }), i.prototype.prepareRange = function(e, r, i, n) { var o = !0 , a = !0 , s = !1 , l = !1; i.info.maximum = 0, i.info.minimum = 0, n.info.maximum = 0, n.info.minimum = 0; for (var u = this.getSeries(), c = 0; c < u.length; c++) for (var h = u[c], p = h.values, f = h.valuesEnd, m = Math.min(p.length, f.length), S = 0; S < m; S++) { var d = null != p[S] ? p[S].stimulsoft.toNumber() : 0 , y = null != f[S] ? f[S].stimulsoft.toNumber() : 0 , g = Math.max(d, y) , b = Math.min(d, y); h.yAxis == t.StiSeriesYAxis.LeftYAxis ? o ? (s = !0, i.info.maximum = g, i.info.minimum = b, o = !1) : (s = !0, i.info.maximum = Math.max(g, i.info.maximum), i.info.minimum = Math.min(b, i.info.minimum)) : a ? (l = !0, n.info.maximum = g, n.info.minimum = b, a = !1) : (l = !0, n.info.maximum = Math.max(g, n.info.maximum), n.info.minimum = Math.min(b, n.info.minimum)) } s || (i.info.maximum = n.info.maximum, i.info.minimum = n.info.minimum), l || (n.info.maximum = i.info.maximum, n.info.minimum = i.info.minimum) } , i }(t.StiClusteredColumnAreaCoreXF); t.StiSteppedRangeAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "StackedArea") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.StackedArea }, enumerable: !0, configurable: !0 }), i }(t.StiStackedColumnAreaCoreXF); t.StiStackedAreaAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "StackedLine") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.StackedLine }, enumerable: !0, configurable: !0 }), i }(t.StiStackedColumnAreaCoreXF); t.StiStackedLineAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "StackedSplineArea") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.StackedSplineArea }, enumerable: !0, configurable: !0 }), i }(t.StiStackedColumnAreaCoreXF); t.StiStackedSplineAreaAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "StackedSpline") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.StackedSpline }, enumerable: !0, configurable: !0 }), i }(t.StiStackedColumnAreaCoreXF); t.StiStackedSplineAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Stock") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiChartAreaPosition.Stock }, enumerable: !0, configurable: !0 }), i }(t.StiCandlestickAreaCoreXF); t.StiStockAreaCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Rectangle , i = e.Base.Localization.StiLocalization , n = function(e) { function n(t) { return e.call(this, t) || this } return __extends(n, e), n.prototype.render = function(e, i) { var n, o, a = new t.StiTreemapAreaGeom(this.area,i), s = this.getSeries(), l = []; try { for (var u = __values(s), c = u.next(); !c.done; c = u.next()) { var h = c.value; l.add(h.values.stimulsoft.toList().sum()) } } catch (e) { n = { error: e } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (n) throw n.error } } var p = new r(0,0,i.width,i.height) , f = this.area.core.normalizeDataForArea(l, p.width * p.height) , m = this.area.core.squarify(f, [], p, []); return this.renderSeries(e, m, p, a, s), a } , n.prototype.renderSeries = function(e, t, r, i, n) { for (var o = 0; o < n.length; o++) t.length - 1 >= o && n[o].core.renderSeries(e, t[o], i, n.toArray()) } , n.prototype.cutArea = function(e, t) { var i; if (e.width >= e.height) { var n = t / e.height , o = e.width - n; i = new r(e.x + n,e.y,o,e.height) } else { var a = t / e.width , s = e.height - a; i = new r(e.x,e.y + a,e.width,s) } return i } , n.prototype.squarify = function(e, t, r, i) { if (0 == e.length) return i.addRange(this.getCoordinates(r, t)), i; var n = Math.min(r.width, r.height) , o = e[0]; if (this.improvesRatio(t, o, n)) t.add(o), this.squarify(e.stimulsoft.toList().skip(1), t, r, i); else { var a = this.cutArea(r, t.stimulsoft.toList().sum()); i.addRange(this.getCoordinates(r, t)); var s = []; this.squarify(e, s, a, i) } return i } , n.prototype.improvesRatio = function(e, t, r) { if (0 == e.length) return !0; var i = e.clone(); return i.add(t), this.calculateRatio(e, r) >= this.calculateRatio(i, r) } , n.prototype.calculateRatio = function(e, t) { var r = e.stimulsoft.toList().sum() , i = Math.pow(t, 2) * e.stimulsoft.toList().max() / Math.pow(r, 2) , n = Math.pow(r, 2) / (Math.pow(t, 2) * e.stimulsoft.toList().min()); return Math.max(i, n) } , n.prototype.normalizeDataForArea = function(e, t) { var r = [] , i = e.stimulsoft.toList().sum(); if (0 == i) return r; for (var n = t / i, o = 0; o < e.length; o++) r.add(e[o] * n); return r } , n.prototype.getCoordinates = function(e, t) { var i = [] , n = e.x , o = e.y , a = t.stimulsoft.toList().sum() / e.height , s = t.stimulsoft.toList().sum() / e.width; if (e.width >= e.height) for (var l = 0; l < t.length; l++) i.add(new r(n,o,a,t[l] / a)), o += t[l] / a; else for (var l = 0; l < t.length; l++) i.add(new r(n,o,t[l] / s,s)), n += t[l] / s; return i } , n.prototype.prepareInfo = function(e) {} , Object.defineProperty(n.prototype, "localizedName", { get: function() { return i.get("Chart", "Treemap") }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "position", { get: function() { return t.StiChartAreaPosition.Treemap }, enumerable: !0, configurable: !0 }), n }(t.StiAreaCoreXF); t.StiTreemapAreaCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.DateTime , i = function() { function i() {} return i.getInterval1 = function(e) { var t = Math.abs(e) , r = 0; if (e > 1) { while (t > 1) t /= 10, r++; t = t < .15 ? .1 : t < .3 ? .2 : t < .75 ? .5 : 1; while (r > 0) t *= 10, r-- } else if (e > 0) { while (10 * t < 1) t *= 10, r++; t = t < .15 ? .1 : t < .3 ? .2 : t < .75 ? .5 : 1; while (r > 0) t /= 10, r-- } return t } , i.getInterval = function(e, t, r) { if (t == e) return 0; return i.getInterval1((t - e) / r) } , i.getStripLines = function(i, n, o, a) { var s = new t.StiStripLinesXF; if (i == n) return s; var l = i , u = n , c = o , h = 0; h = Math.trunc(l / c) * c; while (l < h + c) h -= c; var p = this.getCountAfterComma(c) , f = this.getCountAfterComma(h) , m = Math.max(p, f); while (h < u) h += c, m > 0 && (h = Math.round2(h, m)), a ? s.insert(0, new t.StiStripLineXF(r.fromOADate(h),h)) : s.insert(0, new t.StiStripLineXF(h.toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),h)); return s } , i.getCountAfterComma = function(e) { var t = e.toString().stimulsoft.replaceAll(",", ".") , r = t.indexOf(".") , i = 0; return r > 0 && (i = t.substring(r).length - 1), i } , i.getStripLinesLogScale = function(r, i) { var n = new t.StiStripLinesXF; if (r == i) return n; var o = r , a = i , s = 1 , l = 1; if (0 < r && r < 1) while (o < s) s /= 10; if (r > 1) { while (o > s) s *= 10; s /= 10 } if (0 < a && a < 1) { while (l > a) l /= 10; l *= 10 } if (a > 1) while (a > l) l *= 10; var u = s , c = u , h = 1; while (u <= l) n.insert(0, new t.StiStripLineXF(u.toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),u)), u += c, 10 == ++h && (h = 1, c = u); return n } , i }(); t.StiStripLineCalculatorXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t(e, t) { this._valueObject = null, this.valueObj = 0, this.valueObject = e, this.valueObj = t } return t.prototype.implements = function() { return t.implementsStiStripLineXF || (t.implementsStiStripLineXF = [e.IStiStripLinesXF]), t.implementsStiStripLineXF } , Object.defineProperty(t.prototype, "valueObject", { get: function() { return this._valueObject }, set: function(e) { this._valueObject = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "value", { get: function() { return this.valueObj }, set: function(e) { this.valueObj = e }, enumerable: !0, configurable: !0 }), t }(); e.StiStripLineXF = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.CollectionBase , i = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), r.prototype.implements = function() { return r.implementsStiStripLinesXF || (r.implementsStiStripLinesXF = [t.IStiStripLinesXF]), r.implementsStiStripLinesXF } , r.prototype.add2 = function(e, r) { this.add(new t.StiStripLineXF(e,r)) } , r }(r); t.StiStripLinesXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.prototype.implements = function() { return t.implementsStiStripPositionXF || (t.implementsStiStripPositionXF = [e.IStiStripPositionXF]), t.implementsStiStripPositionXF } , t }(); e.StiStripPositionXF = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.StringTrimming , n = e.System.Drawing.StringFormatFlags , o = e.System.Drawing.StringAlignment , a = e.Base.Context.StiFontGeom , s = e.Base.Drawing.StiHorAlignment , l = e.System.Drawing.Size , u = e.System.ICloneable , c = function() { function e(e) { this._isMouseOverDecreaseButton = !1, this._isMouseOverIncreaseButton = !1, this._isMouseOverTrackBar = !1, this._axis = e } return e.prototype.implements = function() { return e.implementsStiAxisCoreXF || (e.implementsStiAxisCoreXF = [u, t.IStiApplyStyle, t.IStiAxisCoreXF]), e.implementsStiAxisCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "isMouseOverDecreaseButton", { get: function() { return this._isMouseOverDecreaseButton }, set: function(e) { this._isMouseOverDecreaseButton = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isMouseOverIncreaseButton", { get: function() { return this._isMouseOverIncreaseButton }, set: function(e) { this._isMouseOverIncreaseButton = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isMouseOverTrackBar", { get: function() { return this._isMouseOverTrackBar }, set: function(e) { this._isMouseOverTrackBar = e }, enumerable: !0, configurable: !0 }), e.prototype.applyStyle = function(e) { this.axis.allowApplyStyle && (this.axis.lineColor = e.core.axisLineColor, this.axis.labels.core.applyStyle(e), this.axis.title.core.applyStyle(e)) } , e.prototype.getStartFromZero = function() { if (1 == this.axis.area.axisCore.valuesCount) return !0; if (null != this.axis && null != this.axis.range && !this.axis.range.auto) return !0; return null == this.axis || this.axis.startFromZero } , e.prototype.render = function(e, t) { return null } , e.prototype.renderView = function(e, t) { return null } , e.prototype.calculateStripPositions = function(e, r) { if (r -= e, e = 0, null == this.axis.info.stripLines || this.axis.info.stripLines.count < 2) this.axis.info.stripPositions = []; else { var i = !1; if (this.axis.area.chart.series.count > 0 && this.axis.area.chart.series.getByIndex(0).stimulsoft.is(t.StiScatterSeries) && (i = !0), this.axis.logarithmicScale && i) { var n = this.axis.info.stripLines.count; this.axis.info.stripPositions = Array.create(Number, this.axis.info.stripLines.count), this.axis.info.stripPositions[0] = e, this.axis.info.stripPositions[this.axis.info.stripPositions.length - 1] = r; for (var o = this.axis.info.stripLines.getByIndex(0).value, a = this.axis.info.stripLines.getByIndex(n - 1).value, s = r / (Math.log10(a) - Math.log10(o)), l = 1; l < this.axis.info.stripPositions.length - 1; l++) { var u = this.axis.info.stripLines.getByIndex(l).value , c = Math.abs(Math.log10(Math.abs(this.axis.info.stripLines.getByIndex(l).value)) * s - Math.log10(Math.abs(this.axis.info.stripLines.getByIndex(l - 1).value)) * s); this.axis.info.stripPositions[l] = e + c, e = this.axis.info.stripPositions[l] } } else { this.axis.info.stripPositions = Array.create(Number, this.axis.info.stripLines.count), this.axis.info.stripPositions[0] = e, this.axis.info.stripPositions[this.axis.info.stripPositions.length - 1] = r; for (var l = 1; l < this.axis.info.stripPositions.length - 1; l++) this.axis.info.stripPositions[l] = e + l * this.axis.info.step } } } , e.prototype.getTicksMaxLength = function(e) { return this.axis.core.ticksMaxLength * e.options.zoom } , e.prototype.getArrowHeight = function(e) { return 4 * this.axis.core.arrowHeight * e.options.zoom } , e.prototype.getLabelsSpaceAxis = function(e) { return 5 * e.options.zoom } , e.prototype.getLabelsTwoLinesDestination = function(e) { return 2 * this.axis.labels.font.sizeInPoints * e.options.zoom } , e.prototype.getFontGeom = function(e) { return a.changeFontSize(this.axis.labels.font, this.axis.labels.font.size * e.options.zoom) } , e.prototype.getTextAlignment = function() { if (this.axis.stimulsoft.is(t.IStiYAxis)) { var e = this.axis; if (this.axis.labels.placement == t.StiLabelsPlacement.TwoLines) { if (e.core.isLeftSide) return s.Right; if (e.core.isRightSide) return s.Left } } return this.axis.labels.textAlignment } , e.prototype.getStringFormatGeom = function(e) { var t = e.getGenericStringFormat(); if (t.trimming = i.None, this.axis.labels.wordWrap || (t.formatFlags = n.MeasureTrailingSpaces | n.NoWrap), this.axis.labels.width > 0) { var r = this.getTextAlignment(); r == s.Left ? t.alignment = o.Near : r == s.Right ? t.alignment = o.Far : r == s.Center && (t.alignment = o.Center) } return t } , e.prototype.getAxisTitleSize = function(e) { if (r.isNullOrEmpty(this.axis.title.text)) return l.empty; var i = a.changeFontSize(this.axis.title.font, this.axis.title.font.size * e.options.zoom) , n = e.measureString(this.axis.title.text, i); switch (this.axis.title.direction) { case t.StiDirection.LeftToRight: case t.StiDirection.RightToLeft: return n; case t.StiDirection.BottomToTop: case t.StiDirection.TopToBottom: return new l(n.height,n.width) } return l.empty } , e.prototype.getAngleTitle = function() { var e = 0; switch (this.axis.title.direction) { case t.StiDirection.LeftToRight: e = 0; break; case t.StiDirection.RightToLeft: e = 180; break; case t.StiDirection.BottomToTop: e = -90; break; case t.StiDirection.TopToBottom: e = 90; break } return e } , e.prototype.getCorrectionFontSize = function(e, r, i) { switch (this.axis.title.direction) { case t.StiDirection.LeftToRight: case t.StiDirection.RightToLeft: e.width < r.width && (i = e.width / r.width * i); break; case t.StiDirection.BottomToTop: case t.StiDirection.TopToBottom: e.height < r.height && (i = e.height / r.height * i); break } return i } , e.prototype.checkUseMaxWidth = function(e, r, i) { switch (i.ref = 0, this.axis.title.direction) { case t.StiDirection.LeftToRight: case t.StiDirection.RightToLeft: if (e.width < r.width) return i.ref = e.width, !0; break; case t.StiDirection.BottomToTop: case t.StiDirection.TopToBottom: if (e.height < r.height) return i.ref = e.width, !0; break } return !1 } , Object.defineProperty(e.prototype, "ticksMaxLength", { get: function() { return this.axis.visible ? Math.max(this.axis.ticks.visible ? this.axis.ticks.length : 0, this.axis.ticks.minorVisible ? this.axis.ticks.minorLength : 0) : 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "arrowWidth", { get: function() { return 3 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "arrowHeight", { get: function() { if (this.stimulsoft.is(t.StiXAxisCoreXF)) return this.axis.area.reverseHor ? -5 : 5; if (this.stimulsoft.is(t.StiYAxisCoreXF)) return this.axis.area.reverseVert ? -5 : 5; return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "axis", { get: function() { return this._axis }, set: function(e) { this._axis = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "info", { get: function() { return this.axis.info }, set: function(e) { this.axis.info = e }, enumerable: !0, configurable: !0 }), e.defaultScrollBarSize = 12, e.defaultScrollBarSmallFactor = .01, e.defaultScrollBarFirstRecallTime = .3, e.defaultScrollBarOtherRecallTime = .05, e }(); t.StiAxisCoreXF = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.ICloneable , i = function() { function e() { this.dpi = 0, this.step = 0, this.stripPositions = null, this.ticksCollection = null, this.labelsCollection = null, this.minimum = 0, this._maximum = 0 } return e.prototype.implements = function() { return e.implementsStiAxisInfoXF || (e.implementsStiAxisInfoXF = [r, t.IStiAxisInfoXF]), e.implementsStiAxisInfoXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "range", { get: function() { return this.maximum - this.minimum }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "maximum", { get: function() { return this._maximum }, set: function(e) { this._maximum = e }, enumerable: !0, configurable: !0 }), e }(); t.StiAxisInfoXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Rectangle , i = e.System.Drawing.Point , n = function() { function e() { this.clientRectangle = r.empty, this.textPoint = i.empty } return e }(); t.StiAxisLabelInfoXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.ICloneable , i = function() { function e(e) { this._labels = e } return e.prototype.implements = function() { return e.implementsStiAxisLabelsCoreXF || (e.implementsStiAxisLabelsCoreXF = [t.IStiApplyStyle, r, t.IStiAxisLabelsCoreXF]), e.implementsStiAxisLabelsCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.applyStyle = function(e) { this.labels.allowApplyStyle && (this.labels.color = e.core.axisLabelsColor) } , Object.defineProperty(e.prototype, "labels", { get: function() { return this._labels }, set: function(e) { this._labels = e }, enumerable: !0, configurable: !0 }), e }(); t.StiAxisLabelsCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.ICloneable , i = function() { function e(e) { this._title = e } return e.prototype.implements = function() { return e.implementsStiAxisTitleCoreXF || (e.implementsStiAxisTitleCoreXF = [t.IStiApplyStyle, r, t.IStiAxisTitleCoreXF]), e.implementsStiAxisTitleCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.applyStyle = function(e) { this.title.allowApplyStyle && (this.title.color = e.core.axisTitleColor) } , Object.defineProperty(e.prototype, "title", { get: function() { return this._title }, set: function(e) { this._title = e }, enumerable: !0, configurable: !0 }), e }(); t.StiAxisTitleCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.StringAlignment , n = e.Base.Drawing.StiRotationMode , o = e.Base.Context.StiFontGeom , a = e.System.DateTime , s = e.System.Drawing.Point , l = e.Base.Localization.StiLocalization , u = e.System.Drawing.Rectangle , c = e.System.Globalization.CultureInfo , h = function(h) { function p(e) { return h.call(this, e) || this } return __extends(p, h), p.prototype.getStartFromZero = function() { if (null != this.axis.info.labelsCollection && this.isArgumentDateTime1(this.axis.info.labelsCollection) && (this.axis.area.stimulsoft.is(t.StiScatterArea) || this.axis.area.stimulsoft.is(t.StiGanttArea))) return !1; return h.prototype.getStartFromZero.call(this) } , p.prototype.render = function(e, r) { if (!this.axis.visible) return null; var i = this.getAxisRect(e, r, !1, !1, !0, !1).clone(); i.x = 0, i.y = 0, this.axis.interaction.showScrollBar && (this.axis.stimulsoft.is(t.IStiXBottomAxis) && !this.axis.area.reverseVert || this.axis.stimulsoft.is(t.IStiXTopAxis) && this.axis.area.reverseVert) && (i.y += t.StiAxisCoreXF.defaultScrollBarSize * e.options.zoom); var n = new t.StiXAxisGeom(this.axis,i,!1); return this.renderLabels(e, i, n), this.renderTitle(e, i, n), n } , p.prototype.renderView = function(e, r) { if (!this.axis.visible) return null; var i = this.getAxisRect(e, r, !1, !1, !0, !0).clone(); return new t.StiXAxisViewGeom(this.axis,i,!1) } , p.prototype.renderScrollBar = function(e, r, i) { if (this.axis.interaction.showScrollBar) { var n = r.clone(); n.x = 0, n.height = t.StiAxisCoreXF.defaultScrollBarSize * e.options.zoom, this.axis.stimulsoft.is(t.IStiXTopAxis) && !this.axis.area.reverseVert || this.axis.stimulsoft.is(t.IStiXBottomAxis) && this.axis.area.reverseVert ? n.y = r.height - n.height : n.y = 0; var o = new t.StiHorzScrollBarGeom(this.axis,n); if (i.createChildGeoms(), i.childGeoms.add(o), n.x = 0, n.y = 0, n.inflate(-2, -2), this.axis.interaction.rangeScrollEnabled) { var a = n.clone(); a.width = n.height; var s = new t.StiLeftButtonGeom(this.axis,a); o.createChildGeoms(), o.childGeoms.add(s); var l = n.clone(); l.width = n.height, l.x = n.right - l.width; var c = new t.StiRightButtonGeom(this.axis,l); o.createChildGeoms(), o.childGeoms.add(c), n.inflate(-n.height - 2, 0) } var h = n.clone() , p = this.axis.area.xAxis , f = this.axis.area.core; if (!p.range.auto) { var m = n.width / f.scrollRangeX , S = f.scrollValueX * m , d = f.scrollViewX < f.scrollRangeX ? f.scrollViewX * m : f.scrollRangeX * m; h = new u(S + n.x,n.y,d,n.height) } var y = new t.StiHorzTrackBarGeom(this.axis,h,o); o.createChildGeoms(), o.childGeoms.add(y) } } , p.prototype.renderCenter = function(e, r) { if (!this.axis.visible) return null; if (this.axis.area.yAxis.info.minimum >= 0) return null; var i = this.getCenterAxisRect(e, r, !1, !1, !0).clone(); return i.x = 0, i.y = 0, new t.StiXAxisGeom(this.axis,i,!0) } , p.prototype.renderCenterView = function(e, r) { if (!this.axis.visible) return null; if (this.axis.area.yAxis.info.minimum >= 0) return null; var i = this.getCenterAxisRect(e, r, !1, !1, !0).clone(); return new t.StiXAxisViewGeom(this.axis,i,!0) } , p.prototype.getLabelText = function(i, n) { var o = i.valueObject; null == o && (o = ""); var s = c.currentCulture , l = this.axis.area.chart.report.culture; try { if (null != this.axis.labels.formatService) { if (o.stimulsoft.is(a)) return "" + this.axis.labels.textBefore + this.axis.labels.formatService.format(o) + this.axis.labels.textAfter; return "" + this.axis.labels.textBefore + this.axis.labels.formatService.format(i.value) + this.axis.labels.textAfter } r.isNullOrEmpty(this.axis.area.chart.report.culture) || (c.currentCulture = c.cultures[l]); var u = ""; if (null != n && (u = n.format), null != u && 0 != u.trim().length || (u = this.axis.labels.format), null != u && 0 != u.trim().length) { if (o.stimulsoft.is(String)) { var h = o.toString() , p = h.stimulsoft.toNumber(); if (h.length > 0 && !isNaN(p)) o = p; else { var f = a.fromString(o.toString()); null != f && (o = f) } } else if (null == o) return ""; if (!t.StiChartOptions.oldChartPercentMode && u.stimulsoft.startsWith("P")) { var m = 0; return u.length > 1 && (m = u.stimulsoft.remove(0, 1).stimulsoft.toNumber()), r.format("{0}{1:N" + m.toString() + "}{2}{3}", this.axis.labels.textBefore, o, "%", this.axis.labels.textAfter) } return r.format("{0}{1:" + u + "}{2}", this.axis.labels.textBefore, o, this.axis.labels.textAfter) } return r.format("{0}{1}{2}", this.axis.labels.textBefore, o, this.axis.labels.textAfter) } catch (t) { e.System.StiError.showError(t, !1) } finally { r.isNullOrEmpty(l) || (c.currentCulture = s) } return o.toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator) } , Object.defineProperty(p.prototype, "isLabelsAngleByWidth", { get: function() { return this.axis.labels.angle < 30 || this.axis.labels.angle > 150 }, enumerable: !0, configurable: !0 }), p.prototype.checkAutoAngleLabels = function(r, i) { var o, a; if (this.axis.labels.placement != t.StiLabelsPlacement.AutoRotation) return !1; var l = []; if (null != this.axis.info.labelsCollection) { var c = this.getStringFormatGeom(r) , h = this.getFontGeom(r) , p = n.CenterCenter , f = -this.axis.labels.angle , m = s.empty; p = this.isTopSide ? n.CenterBottom : n.LeftCenter; var S = 0 , d = 0 , y = this.axis.area.reverseVert ? this.isBottomSide : this.isTopSide; try { for (var g = __values(this.axis.info.labelsCollection), b = g.next(); !b.done; b = g.next()) { var v = b.value; if (y && this.axis.area.yRightAxis.arrowStyle != t.StiArrowStyle.None && 0 == d) { l.add(new t.StiAxisLabelInfoXF), d++; continue } if (y && this.axis.area.yAxis.arrowStyle != t.StiArrowStyle.None && d == this.axis.info.stripLines.count - 1) { l.add(new t.StiAxisLabelInfoXF), d++; continue } var C = this.getLabelText(v.stripLine, null) , w = v.position; if (m = this.isTopSide ? new s(w,i.height - (this.getTicksMaxLength(r) + this.getLabelsSpaceAxis(r))) : new s(w,this.getTicksMaxLength(r) + this.getLabelsSpaceAxis(r)), this.axis.labels.placement != t.StiLabelsPlacement.None) { var x = r.measureRotatedString3(C, h, m, c, p, f, Math.trunc(this.axis.labels.width * r.options.zoom)) , _ = new t.StiAxisLabelInfoXF; _.angle = f, _.clientRectangle = x, _.rotationMode = p, _.textPoint = m, _.text = C, _.stripLine = v.stripLine, l.add(_), this.isLabelsAngleByWidth && (S = Math.max(S, x.width)) } else l.add(new t.StiAxisLabelInfoXF); d++ } } catch (e) { o = { error: e } } finally { try { b && !b.done && (a = g.return) && a.call(g) } finally { if (o) throw o.error } } for (var A = 1; A < l.length; A++) { var L = l[A - 1].clientRectangle , O = new u(L.x,L.y,Math.ceil(L.width),Math.ceil(L.height)) , P = l[A].clientRectangle; if (L.height / Math.sqrt(2) + L.width / Math.sqrt(2) > this.axis.area.chart.stimulsoft.as(e.Report.Components.StiChart).core.fullRectangle.height / 4) return !1; if (O.intersectsWith(P)) return !0 } } return !1 } , p.prototype.measureStripLines = function(e, r) { var i, o, a, l, u = [], c = this.checkAutoAngleLabels(e, r), h = c ? -45 : -this.axis.labels.angle; if (null != this.axis.info.labelsCollection && this.axis.labels.placement != t.StiLabelsPlacement.None) { var p = 0 , f = 0; try { for (var m = __values(this.axis.info.labelsCollection), S = m.next(); !S.done; S = m.next()) { var d = S.value , y = this.axis.area.reverseVert ? this.isBottomSide : this.isTopSide; if (y && this.axis.area.yRightAxis.arrowStyle != t.StiArrowStyle.None && 0 == f) { u.add(new t.StiAxisLabelInfoXF), f++; continue } if (y && this.axis.area.yAxis.arrowStyle != t.StiArrowStyle.None && f == this.axis.info.stripLines.count - 1) { u.add(new t.StiAxisLabelInfoXF), f++; continue } var g = d.stripLine.value , b = this.getLabelText(d.stripLine, null) , v = d.position; if (this.axis.labels.placement != t.StiLabelsPlacement.None) { var C = this.getStringFormatGeom(e) , w = this.getFontGeom(e) , x = this.getTextAlignment() , _ = n.CenterCenter , A = s.empty; this.isTopSide ? (A = new s(v,r.height - (this.getTicksMaxLength(e) + this.getLabelsSpaceAxis(e))), _ = 0 == h ? n.CenterBottom : n.LeftCenter) : (A = new s(v,this.getTicksMaxLength(e) + this.getLabelsSpaceAxis(e)), _ = 0 == h ? n.CenterTop : n.RightCenter), this.axis.labels.placement == t.StiLabelsPlacement.TwoLines && 0 != (1 & f) && (this.isTopSide && (A.y -= this.getLabelsTwoLinesDestination(e)), this.isBottomSide && (A.y += this.getLabelsTwoLinesDestination(e))); var L = e.measureRotatedString3(b, w, A, C, _, h, Math.trunc(this.axis.labels.width * e.options.zoom)) , O = new t.StiAxisLabelInfoXF; O.angle = h, O.clientRectangle = L, O.rotationMode = _, O.textPoint = A, O.text = b, O.stripLine = d.stripLine, u.add(O), this.isLabelsAngleByWidth && (p = Math.max(p, L.width)) } else u.add(new t.StiAxisLabelInfoXF); f++ } } catch (e) { i = { error: e } } finally { try { S && !S.done && (o = m.return) && o.call(m) } finally { if (i) throw i.error } } var P = 1; if (this.axis.range.auto) if (c) { p = 1.4 * this.axis.labels.font.getHeight() * e.options.zoom; var B = r.width / this.axis.info.stripLines.count; P = Math.ceil(p / B) } else { this.isLabelsAngleByWidth || (p = 1.5 * this.axis.labels.font.sizeInPoints * e.options.zoom); var B = r.width / this.axis.info.stripLines.count , R = p / B; R > 1 && (P = Math.trunc(t.StiStripLineCalculatorXF.getInterval(0, this.axis.info.labelsCollection.length, 6)), this.axis.logarithmicScale && (P = 1)) } else P = Math.trunc(Math.max(1, this.axis.step)); var k = !1 , j = 0 , T = 0; if (this.axis.labels.placement == t.StiLabelsPlacement.TwoLines && u.length > 1 && (T = u[0].textPoint.y, j = u[1].textPoint.y), 1 == P || 0 != this.axis.labels.step) return u; var F = 0 , D = []; try { for (var I = __values(u), N = I.next(); !N.done; N = I.next()) { var O = N.value; 0 == F && (this.axis.labels.placement == t.StiLabelsPlacement.TwoLines && u.length > 1 && (k ? (O.textPoint.y = j, k = !1) : (O.textPoint.y = T, k = !0)), D.add(O)), F++, F == P && (F = 0) } } catch (e) { a = { error: e } } finally { try { N && !N.done && (l = I.return) && l.call(I) } finally { if (a) throw a.error } } return D } return u } , p.prototype.getCenterAxisRect = function(e, t, r, i, n) { if (this.axis.area.yAxis.info.minimum >= 0) return u.empty; var o = -this.getTicksMaxLength(e); return new u(0,o,t.width,this.getTicksMaxLength(e)) } , p.prototype.getAxisRect = function(e, r, i, n, o, a) { var s, l, c = u.empty; if (!this.axis.visible) return c; var h = this.measureStripLines(e, r); if (0 == h.length) c = this.isTopSide ? new u(0,-this.getTicksMaxLength(e),r.width,this.getTicksMaxLength(e)) : new u(0,r.height,r.width,this.getTicksMaxLength(e)); else { try { for (var p = __values(h), f = p.next(); !f.done; f = p.next()) { var m = f.value; if (m.clientRectangle.isEmptyF) continue; c = c.isEmpty ? m.clientRectangle : u.union(c, m.clientRectangle) } } catch (e) { s = { error: e } } finally { try { f && !f.done && (l = p.return) && l.call(p) } finally { if (s) throw s.error } } this.axis.interaction.showScrollBar && a && (c.height += t.StiAxisCoreXF.defaultScrollBarSize * e.options.zoom), c.height += this.getTicksMaxLength(e) + this.getLabelsSpaceAxis(e); var S = c.clone(); this.isTopSide && (c = new u(0,-c.height,r.width,c.height)), this.isBottomSide && (c = new u(0,r.height,r.width,c.height)), n && (c.x = S.x, c.width = S.width) } if (this.axis.arrowStyle != t.StiArrowStyle.None && i) { var d = this.getArrowHeight(e); this.axis.area.reverseHor && (d = -d), c = u.union(c, new u(r.width,c.y + c.height / 2,d,1)) } var y = this.getAxisTitleSize(e); return y.isEmpty || this.axis.title.position != t.StiTitlePosition.Outside || (c.height += y.height, 0 == c.width && (c.width = y.width), this.isTopSide && (c.y -= y.height)), c } , p.prototype.renderLabels = function(e, r, i) { var o, a, u, c; if (null != this.axis.info.stripLines && this.axis.labels.placement != t.StiLabelsPlacement.None) { var h = this.measureStripLines(e, r); i.createChildGeoms(); var p = this.axis.area.xAxis; if (this.isArgumentDateTime2(h) && null != p && p.dateTimeStep.step != t.StiTimeDateStep.None) { for (var f = void 0, m = void 0, S = p.info.labelsCollection, d = [], y = "", g = !0, b = 0, v = 0; v < S.length; v++) { if (null == S[v].stripLine.valueObject) continue; switch (f = S[v].stripLine.valueObject, m = v < S.length - 2 && !p.area.stimulsoft.is(t.StiScatterArea) ? S[v + 1].stripLine.valueObject : f, g && (b = S[v].position, g = !1), this.axis.area.xAxis.dateTimeStep.step) { case t.StiTimeDateStep.Day: f.toString("yyyyMMMMdd") == m.toString("yyyyMMMMdd") && v != S.length - 2 || (y = f.toString("dd")); break; case t.StiTimeDateStep.Hour: f.toString("yyyyMMMMddHH") == m.toString("yyyyMMMMddHH") && v != S.length - 2 || (y = f.toString("HH")); break; case t.StiTimeDateStep.Minute: f.toString("yyyyMMMMddHHmm") == m.toString("yyyyMMMMddHHmm") && v != S.length - 2 || (y = f.toString("mm")); break; case t.StiTimeDateStep.Month: f.toString("yyyyMMMM") == m.toString("yyyyMMMM") && v != S.length - 2 || (y = l.get("A_WebViewer", "Month" + f.toString("MMMM"))); break; case t.StiTimeDateStep.Second: f.toString("yyyyMMMMddHHmmss") == m.toString("yyyyMMMMddHHmmss") && v != S.length - 2 || (y = f.toString("ss")); break; case t.StiTimeDateStep.Year: f.toString("yyyy") == m.toString("yyyy") && v != S.length - 2 || (y = f.toString("yyyy")); break } if ("" != y) { var C = new s((S[v].position + b) / 2,this.getTicksMaxLength(e) + this.getLabelsSpaceAxis(e)) , w = 0 , x = new t.StiAxisLabelInfoXF; x.angle = w, x.clientRectangle = e.measureRotatedString3(y, this.getFontGeom(e), C, this.getStringFormatGeom(e), n.CenterCenter, w, Math.trunc(this.axis.labels.width * e.options.zoom)), x.rotationMode = n.CenterCenter, x.stripLine = S[v].stripLine, x.text = y, x.textPoint = C, d.add(x), g = !0, y = "" } } g = !0; for (var _ = [], v = 0; v < d.length - 1; v++) { switch (f = d[v].stripLine.valueObject, m = d[v + 1].stripLine.valueObject, g && (b = d[v].textPoint.x, g = !1), this.axis.area.xAxis.dateTimeStep.step) { case t.StiTimeDateStep.Day: f.toString("yyyyMMMM") == m.toString("yyyyMMMM") && v != d.length - 2 || (y = l.get("A_WebViewer", "Month" + f.toString("MMMM"))); break; case t.StiTimeDateStep.Hour: f.toString("yyyyMMMMdd") == m.toString("yyyyMMMMdd") && v != d.length - 2 || (y = f.toString("dd")); break; case t.StiTimeDateStep.Minute: f.toString("yyyyMMMMddhh") == m.toString("yyyyMMMMddhh") && v != d.length - 2 || (y = f.toString("hh")); break; case t.StiTimeDateStep.Month: f.toString("yyyy") == m.toString("yyyy") && v != d.length - 2 || (y = f.toString("yyyy")); break; case t.StiTimeDateStep.Second: f.toString("yyyyMMMMddhhmm") == m.toString("yyyyMMMMddhhmm") && v != d.length - 2 || (y = f.toString("mm")); break; case t.StiTimeDateStep.Year: if (f.toString("yyyy") != m.toString("yyyy") || v == d.length - 2) continue; break } if ("" != y) { var C = new s((d[v + 1].textPoint.x + b) / 2,this.getTicksMaxLength(e) + 2 * this.getLabelsSpaceAxis(e)) , w = 0 , x = new t.StiAxisLabelInfoXF; x.angle = w, x.clientRectangle = e.measureRotatedString3(y, this.getFontGeom(e), C, this.getStringFormatGeom(e), n.CenterCenter, w, Math.trunc(this.axis.labels.width * e.options.zoom)), x.rotationMode = n.CenterTop, x.stripLine = d[v].stripLine, x.text = y, x.textPoint = C, _.add(x), g = !0, y = "" } } d.addRange(_); try { for (var A = __values(d), L = A.next(); !L.done; L = A.next()) { var x = L.value; if (!x.clientRectangle.isEmpty) { var O = new t.StiAxisLabelGeom(this.axis,x.clientRectangle,x.textPoint,x.text,x.stripLine,x.angle,x.rotationMode); i.childGeoms.add(O) } } } catch (e) { o = { error: e } } finally { try { L && !L.done && (a = A.return) && a.call(A) } finally { if (o) throw o.error } } } else try { for (var P = __values(h), B = P.next(); !B.done; B = P.next()) { var x = B.value; if (!x.clientRectangle.isEmpty) { var O = new t.StiAxisLabelGeom(this.axis,x.clientRectangle,x.textPoint,x.text,x.stripLine,x.angle,x.rotationMode); i.childGeoms.add(O) } } } catch (e) { u = { error: e } } finally { try { B && !B.done && (c = P.return) && c.call(P) } finally { if (u) throw u.error } } } } , p.prototype.renderTitle = function(e, n, a) { if (r.isNullOrEmpty(this.axis.title.text)) return; var s = this.getAxisTitleSize(e) , l = u.empty; if (this.isTopSide) { switch (this.axis.title.alignment) { case i.Near: l = new u(0,0,s.width,s.height); break; case i.Center: l = new u((n.width - s.width) / 2,0,s.width,s.height); break; case i.Far: l = new u(n.width - s.width,0,s.width,s.height); break } this.axis.title.position == t.StiTitlePosition.Inside && (l.y += n.height) } if (this.isBottomSide) { switch (this.axis.title.alignment) { case i.Near: l = new u(0,n.height - s.height,s.width,s.height); break; case i.Center: l = new u((n.width - s.width) / 2,n.height - s.height,s.width,s.height); break; case i.Far: l = new u(n.width - s.width,n.height - s.height,s.width,s.height); break } this.axis.title.position == t.StiTitlePosition.Inside && (l.y -= n.height) } var c = this.axis.title.font.size * e.options.zoom , h = { ref: 0 }; this.axis.area.chart.isDashboard && this.checkUseMaxWidth(n, l, h) && (c = this.getCorrectionFontSize(n, l, c)); var p = o.changeFontSize(this.axis.title.font, c) , f = this.getAngleTitle() , m = new t.StiAxisTitleGeom(this.axis,l,f,this.axis.title.alignment,p); a.createChildGeoms(), a.childGeoms.add(m) } , p.prototype.isArgumentDateTime1 = function(e) { var t, r; try { for (var i = __values(e), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (null != o.stripLine.valueObject && o.stripLine.valueObject.stimulsoft.is(a)) return !0 } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return !1 } , p.prototype.isArgumentDateTime2 = function(e) { var t, r; try { for (var i = __values(e), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (null != o.stripLine.valueObject && o.stripLine.valueObject.stimulsoft.is(a)) return !0 } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return !1 } , Object.defineProperty(p.prototype, "dock", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "isTopSide", { get: function() { return this.dock == t.StiXAxisDock.Top && !this.axis.area.reverseVert || this.dock == t.StiXAxisDock.Bottom && this.axis.area.reverseVert }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "isBottomSide", { get: function() { return this.dock == t.StiXAxisDock.Bottom && !this.axis.area.reverseVert || this.dock == t.StiXAxisDock.Top && this.axis.area.reverseVert }, enumerable: !0, configurable: !0 }), p }(t.StiAxisCoreXF); t.StiXAxisCoreXF = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(e) { return t.call(this, e) || this } return __extends(r, t), Object.defineProperty(r.prototype, "dock", { get: function() { return e.StiXAxisDock.Bottom }, enumerable: !0, configurable: !0 }), r }(e.StiXAxisCoreXF); e.StiXBottomAxisCoreXF = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(e) { return t.call(this, e) || this } return __extends(r, t), Object.defineProperty(r.prototype, "dock", { get: function() { return e.StiXAxisDock.Top }, enumerable: !0, configurable: !0 }), r }(e.StiXAxisCoreXF); e.StiXTopAxisCoreXF = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.EventArgs , i = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._series = null, t } return __extends(t, e), Object.defineProperty(t.prototype, "value", { get: function() { return this.valueObject }, set: function(e) { this.valueObject = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "index", { get: function() { return this._index }, set: function(e) { this._index = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "series", { get: function() { return this._series }, set: function(e) { this._series = e }, enumerable: !0, configurable: !0 }), t }(r); t.StiGetTitleEventArgs = i }(r = t.Events || (t.Events = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.EventArgs , i = function(e) { function t(t, r, i) { var n = e.call(this) || this; return n._seriesIndex = t, n._series = r, n._color = i, n } return __extends(t, e), Object.defineProperty(t.prototype, "seriesIndex", { get: function() { return this._seriesIndex }, set: function(e) { this._seriesIndex = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "series", { get: function() { return this._series }, set: function(e) { this._series = e }, enumerable: !0, configurable: !0 }), t }(r); t.StiNewAutoSeriesEventArgs = i }(r = t.Events || (t.Events = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Report.Events.StiNewAutoSeriesEventArgs , n = e.Report.Events.StiGetTitleEventArgs , o = e.System.Data.DBNull , a = e.Report.Events.StiValueEventArgs , s = e.Report.Events.StiGetValueEventArgs , l = e.Report.Components.StiFilterMode , u = e.Report.Dictionary.StiDataColumn , c = e.System.DateTime , h = e.System.Char , p = e.System.Drawing.Color , f = e.Report.Components.StiFilterCondition , m = e.Report.Components.StiFilterDataType , S = e.Report.Components.StiFilterItem , d = e.System.Collections.Hashtable , y = e.System.TimeSpan , g = e.System.Drawing.Point , b = e.Report.Components.StiText , v = e.Report.Engine.StiParser.StiParser , C = e.System.Collections.List , w = function() { function w() {} return w.fillSeriesData = function(e, r) { e.values = Array.create(Number, r.length), e.arguments = Array.create(Object, r.length), e.tags = Array.create(Object, r.length); for (var i = 0; i < r.length; i++) { var n = r[i]; e.values[i] = null != n.value && n.value.stimulsoft.is(Number) ? n.value.stimulsoft.toNumber() : 0, e.arguments[i] = n.argument, e.tags[i] = n.tag, e.stimulsoft.is(t.IStiRangeSeries) && (e.stimulsoft.as(t.IStiRangeSeries).valuesEnd[i] = n.valueEnd.stimulsoft.is(Number) ? n.valueEnd.stimulsoft.toNumber() : 0), e.stimulsoft.is(t.IStiFinancialSeries) && (e.stimulsoft.as(t.IStiFinancialSeries).valuesOpen[i] = n.valueOpen.stimulsoft.is(Number) ? n.valueOpen.stimulsoft.toNumber() : 0, e.stimulsoft.as(t.IStiFinancialSeries).valuesClose[i] = n.valueClose.stimulsoft.is(Number) ? n.valueClose.stimulsoft.toNumber() : 0, e.stimulsoft.as(t.IStiFinancialSeries).valuesLow[i] = n.valueLow.stimulsoft.is(Number) ? n.valueLow.stimulsoft.toNumber() : 0, e.stimulsoft.as(t.IStiFinancialSeries).valuesHigh[i] = n.valueHigh.stimulsoft.is(Number) ? n.valueHigh.stimulsoft.toNumber() : 0) } } , w.getFilterData = function(t, r, i) { try { if (r.item == S.Expression) { var n = i.substr(0, 1).toLowerCase() + i.substr(1); if (null != t[i]) return t[i](); if (null != t[n]) return t[n](); var o = new b; o.name = "*Chart_Filter*", o.page = t.pages.getByIndex(0); return v.parseTextValue("{" + r.value + "}", o) } switch (r.dataType) { case m.String: return r.value; case m.Numeric: return null != r.value ? r.value.stimulsoft.toNumber() : 0; case m.DateTime: var a = c.fromString(r.value); if (null != a) return a; break; case m.Boolean: return "true" == r.value.toLowerCase() } } catch (t) { e.System.StiError.showError(t.message, !1) } return null } , w.getFilterResult = function(t, r, i, n, o, a, s, l, u) { if (t.item == S.Expression) return u.stimulsoft.toBoolean(); var h = null; switch (t.item) { case S.Argument: h = r; break; case S.Value: h = i; break; case S.ValueEnd: h = n; break; case S.ValueOpen: h = o; break; case S.ValueClose: h = a; break; case S.ValueLow: h = s; break; case S.ValueHigh: h = l; break } var p = !1; if (null != h) { if (t.dataType == m.Numeric) h = null == h ? 0 : h.stimulsoft.toNumber(); else if (t.dataType == m.DateTime) { var d = c.fromString(h.toString()); h = null != d ? d : c.fromOADate(h.stimulsoft.toNumber()) } var y = h; if (null != y && null != u) { h.stimulsoft.getType() != u.stimulsoft.getType() && (h = h.toString(), u = u.toString(), y = h); try { switch (t.condition) { case f.EqualTo: return 0 == y.stimulsoft.compareTo(u); case f.NotEqualTo: return 0 != y.stimulsoft.compareTo(u); case f.GreaterThan: return 1 == y.stimulsoft.compareTo(u); case f.GreaterThanOrEqualTo: return y.stimulsoft.compareTo(u) >= 0; case f.LessThan: return -1 == y.stimulsoft.compareTo(u); case f.LessThanOrEqualTo: return y.stimulsoft.compareTo(u) <= 0; case f.Containing: var g = h.toString() , b = u.toString(); return -1 != g.indexOf(b); case f.NotContaining: var v = h.toString() , C = u.toString(); return -1 == v.indexOf(C); case f.BeginningWith: var w = h.toString() , x = u.toString(); return w.stimulsoft.startsWith(x); case f.EndingWith: var _ = h.toString() , A = u.toString(); return _.stimulsoft.endsWith(A) } } catch (t) { e.System.StiError.showError(t, !1) } } } return p } , w.convertStringToColor = function(t) { var r = null; if (null != t) { t = t.trim(); for (var i = ",", n = 0; n < t.length; n++) if (!h.isDigit(t[n]) && !h.isWhitespace(t[n])) { i = t[n]; break } var o = t.split(i); if (3 == o.length || 4 == o.length) try { r = 3 == o.length ? p.fromArgb(parseInt(o[0].trim()), parseInt(o[1].trim()), parseInt(o[2].trim())) : p.fromArgb(parseInt(o[0].trim()), parseInt(o[1].trim()), parseInt(o[2].trim()), parseInt(o[3].trim())) } catch (t) { e.System.StiError.showError(t, !1) } else try { var a = parseInt(t) } catch (t) { e.System.StiError.showError(t, !1) } } return r } , w.createChart = function(n, o) { var a, s, c, h, f, m, y, g, b, v, C, w, x, _, A, L, O, P, B, R, k, j, T, F, D, I, N = new d, M = !1, E = 0; while (E < o.series.count) { var V = o.series.getByIndex(E); this.setTitle(n, E, V), V.values = this.checkValueNaN(this.getValues(n, V)); var X = o.series.getByIndex(E).stimulsoft.as(t.StiGanttSeries); null != X && (X.valuesEnd = this.getValuesEnd(n, X, X.valueDataColumnEnd, X.invokeGetListOfValuesEnd, X.invokeGetValueEnd)); var G = o.series.getByIndex(E).stimulsoft.as(t.StiRangeSeries); null != G && (G.valuesEnd = this.getValuesEnd(n, G, G.valueDataColumnEnd, G.invokeGetListOfValuesEnd, G.invokeGetValueEnd)); var z = o.series.getByIndex(E).stimulsoft.as(t.StiSteppedRangeSeries); null != z && (z.valuesEnd = this.getValuesEnd(n, z, z.valueDataColumnEnd, z.invokeGetListOfValuesEnd, z.invokeGetValueEnd)); var J = o.series.getByIndex(E).stimulsoft.as(t.StiRangeBarSeries); null != J && (J.valuesEnd = this.getValuesEnd(n, J, J.valueDataColumnEnd, J.invokeGetListOfValuesEnd, J.invokeGetValueEnd)); var H = o.series.getByIndex(E).stimulsoft.as(t.StiSplineRangeSeries); null != H && (H.valuesEnd = this.getValuesEnd(n, J, H.valueDataColumnEnd, H.invokeGetListOfValuesEnd, H.invokeGetValueEnd)); var Y = o.series.getByIndex(E).stimulsoft.as(t.StiCandlestickSeries); null != Y && (Y.valuesHigh = this.getValuesHigh(n, Y), Y.valuesLow = this.getValuesLow(n, Y), Y.valuesClose = this.getValuesClose(n, Y), Y.valuesOpen = this.getValuesOpen(n, Y)); var W = o.series.getByIndex(E).stimulsoft.as(t.StiBubbleSeries); null != W && (W.weights = this.getWeights(n, W)); var Z = V.stimulsoft.as(t.StiPieSeries); null != Z && this.setCutPieList(n, Z), n.cacheValues(!0), V.arguments = this.getArguments(n, V), V.tags = this.getTags(n, V), V.hyperlinks = this.getHyperlinks(n, V), V.toolTips = this.getToolTips(n, V), this.checkParetoValues(V), n.cacheValues(!1); var U = this.getAutoSeriesKeysFromAutoSeriesKeyDataColumn(n, V) , q = this.getAutoSeriesTitleFromAutoSeriesTitleDataColumn(n, V) , K = this.getAutoSeriesColorFromautoSeriesColorDataColumn(n, V); if (V.sortBy != t.StiSeriesSortType.None || V.filters.count > 0 || U.length > 0) { for (var Q = V.values.length > V.arguments.length ? V.values.length : V.arguments.length, $ = [], ee = 0; ee < Q; ee++) { var te = V.values.length > ee ? V.values[ee] : 0 , re = V.arguments.length > ee ? V.arguments[ee] : null , ie = U.length > ee ? U[ee] : null , ne = q.length > ee ? q[ee] : null , oe = K.length > ee ? K[ee] : null , ae = V.tags.length > ee ? V.tags[ee] : 0 , se = null; V.stimulsoft.is(t.IStiRangeSeries) && (se = V.stimulsoft.as(t.IStiRangeSeries).valuesEnd.length > ee ? V.stimulsoft.as(t.IStiRangeSeries).valuesEnd[ee] : 0); var le = null , ue = null , ce = null , he = null; V.stimulsoft.is(t.IStiFinancialSeries) && (le = V.stimulsoft.as(t.IStiFinancialSeries).valuesOpen.length > ee ? V.stimulsoft.as(t.IStiFinancialSeries).valuesOpen[ee] : 0, ue = V.stimulsoft.as(t.IStiFinancialSeries).valuesClose.length > ee ? V.stimulsoft.as(t.IStiFinancialSeries).valuesClose[ee] : 0, ce = V.stimulsoft.as(t.IStiFinancialSeries).valuesLow.length > ee ? V.stimulsoft.as(t.IStiFinancialSeries).valuesLow[ee] : 0, he = V.stimulsoft.as(t.IStiFinancialSeries).valuesHigh.length > ee ? V.stimulsoft.as(t.IStiFinancialSeries).valuesHigh[ee] : 0); var pe = null; null != W && (pe = W.weights.length > ee ? W.weights[ee] : 0); var fe = V.toolTips.length > ee ? V.toolTips[ee] : ""; $.add(new t.StiDataItem(re,te,se,pe,le,ue,ce,he,ne,ie,oe,fe,ae)) } if (V.sortBy != t.StiSeriesSortType.None) { var me = new t.StiDataItemComparer(V.sortBy,V.sortDirection); $.sort2(me) } var Se = new d , de = 0; try { for (var ye = (a = void 0, __values(V.filters.list)), ge = ye.next(); !ge.done; ge = ye.next()) { var be = ge.value , ve = r.format("{0}Filters_{1}_{2}", o.name, E, de); Se.set(be, this.getFilterData(o.report, be, ve)), de++ } } catch (e) { a = { error: e } } finally { try { ge && !ge.done && (s = ye.return) && s.call(ye) } finally { if (a) throw a.error } } var Ce = [] , we = null , xe = null; if (V.filters.count > 0) { try { we = u.getDataSourceFromDataColumn(o.report.dictionary, V.valueDataColumn) } catch (t) { e.System.StiError.showError(t, !1) } if (null == we) try { we = u.getDataSourceFromDataColumn(o.report.dictionary, V.argumentDataColumn) } catch (t) { e.System.StiError.showError(t, !1) } null == we && (we = o.dataSource); try { xe = u.getBusinessObjectFromDataColumn(o.report.dictionary, V.valueDataColumn) } catch (t) { e.System.StiError.showError(t, !1) } if (null == xe) try { xe = u.getBusinessObjectFromDataColumn(o.report.dictionary, V.argumentDataColumn) } catch (t) { e.System.StiError.showError(t, !1) } null == xe && (xe = o.businessObject) } null != we && (we.saveState("ChartFilter"), we.first()), null != xe && (xe.saveState("ChartFilter"), xe.createEnumerator()); try { for (var _e = (c = void 0, __values($)), Ae = _e.next(); !Ae.done; Ae = _e.next()) { var Le = Ae.value , Oe = Array.create(Boolean, V.filters.count) , ee = 0; try { for (var Pe = (f = void 0, __values(V.filters.list)), Be = Pe.next(); !Be.done; Be = Pe.next()) { var be = Be.value; if (Oe[ee] = this.getFilterResult(be, Le.argument, Le.value, Le.valueEnd, Le.valueOpen, Le.valueClose, Le.valueLow, Le.valueHigh, Se.get(be)), be.item == S.Expression) { var ve = r.format("{0}Filters_{1}_{2}", o.name, E, ee); try { Oe[ee] = this.getFilterData(o.report, be, ve).stimulsoft.toBoolean() } catch (t) { e.System.StiError.showError(t, !1) } } ee++ } } catch (e) { f = { error: e } } finally { try { Be && !Be.done && (m = Pe.return) && m.call(Pe) } finally { if (f) throw f.error } } var Re = !0; if (V.filterMode == l.And) try { for (var ke = (y = void 0, __values(Oe)), je = ke.next(); !je.done; je = ke.next()) { var Te = je.value; if (!Te) { Re = !1; break } } } catch (e) { y = { error: e } } finally { try { je && !je.done && (g = ke.return) && g.call(ke) } finally { if (y) throw y.error } } else { Re = !1; try { for (var Fe = (b = void 0, __values(Oe)), De = Fe.next(); !De.done; De = Fe.next()) { var Te = De.value; if (Te) { Re = !0; break } } } catch (e) { b = { error: e } } finally { try { De && !De.done && (v = Fe.return) && v.call(Fe) } finally { if (b) throw b.error } } } Re && Ce.add(Le), null != we && we.next(), null != xe && xe.next() } } catch (e) { c = { error: e } } finally { try { Ae && !Ae.done && (h = _e.return) && h.call(_e) } finally { if (c) throw c.error } } if (null != we && we.restoreState("ChartFilter"), null != xe && xe.restoreState("ChartFilter"), $ = Ce, this.fillSeriesData(V, $), U.length > 0) { var Ie = new d , Ne = null; if (null != V.arguments && V.arguments.length > 0) { var Me = [] , Ee = new d; try { for (var Ve = (C = void 0, __values($)), Xe = Ve.next(); !Xe.done; Xe = Ve.next()) { var Le = Xe.value , re = Le.argument; Ee.containsKey(re) || (Me.add(re), Ee.add(re, null)) } } catch (e) { C = { error: e } } finally { try { Xe && !Xe.done && (w = Ve.return) && w.call(Ve) } finally { if (C) throw C.error } } Ee.clear(), Ne = Me.toArray(), V.sortBy == t.StiSeriesSortType.Argument && (Array.sti_sort(Ne), V.sortDirection == t.StiSeriesSortDirection.Descending && Array.reverse(Ne)) } else { var Ge = new d; try { for (var ze = (x = void 0, __values($)), Je = ze.next(); !Je.done; Je = ze.next()) { var Le = Je.value , He = Ge.get(Le.key); null == He && (He = [], Ge.set(Le.key, He)), He.add(Le) } } catch (e) { x = { error: e } } finally { try { Je && !Je.done && (_ = ze.return) && _.call(ze) } finally { if (x) throw x.error } } var Ye = 0; try { for (var We = (A = void 0, __values(Ge.values)), Ze = We.next(); !Ze.done; Ze = We.next()) { var te = Ze.value; Ye = Math.max(Ye, te.count); var ee = 0; try { for (var Ue = (O = void 0, __values(te)), qe = Ue.next(); !qe.done; qe = Ue.next()) { var Le = qe.value; Le.argument = ee.toString(), Ie.set(Le, ee.toString()), ee++ } } catch (e) { O = { error: e } } finally { try { qe && !qe.done && (P = Ue.return) && P.call(Ue) } finally { if (O) throw O.error } } } } catch (e) { A = { error: e } } finally { try { Ze && !Ze.done && (L = We.return) && L.call(We) } finally { if (A) throw A.error } } Ne = Array.create(String, Ye); for (var ee = 0; ee < Ye; ee++) Ne[ee] = ee.toString() } var Ke = new d; try { for (var Qe = (B = void 0, __values(U)), $e = Qe.next(); !$e.done; $e = Qe.next()) { var ie = $e.value; Ke.set(ie, ie) } } catch (e) { B = { error: e } } finally { try { $e && !$e.done && (R = Qe.return) && R.call(Qe) } finally { if (B) throw B.error } } var et = Array.create(String, Ke.count); Ke.keys.copyTo(et, 0); var tt = { ref: et }; this.sortArray(tt), et = tt.ref; for (var rt = Array.create(t.StiDataItem, Ne.length, et.length), it = new d, ee = 0; ee < Ne.length; ee++) it.set(Ne[ee], ee); for (var nt = new d, ee = 0; ee < et.length; ee++) nt.set(et[ee], ee); var ot = new d , at = new d; try { for (var st = (k = void 0, __values($)), lt = st.next(); !lt.done; lt = st.next()) { var Le = lt.value , ie = this.getKey(Le.key) , re = Le.argument; null != V.arguments && 0 != V.arguments.length || (re = Ie.get(Le)); var ut = nt.get(ie) , ct = it.get(re); if (null != Le.title ? ot.set(ie, Le.title) : ot.set(ie, Le.key), at.set(ie, Le.color), null != rt[ct][ut]) rt[ct][ut].add(Le); else { var He = []; He.add(Le), rt[ct][ut] = He } } } catch (e) { k = { error: e } } finally { try { lt && !lt.done && (j = st.return) && j.call(st) } finally { if (k) throw k.error } } var ht = null; null != W && (ht = W.clone()); for (var ee = 0; ee < et.length; ee++) { var ie = et[ee] , pt = null; 0 == ee ? pt = V : (pt = V.clone(), o.series.insert(E + ee, pt)), pt.coreTitle = ot.get(ie); var oe = at.get(ie); N.set(pt, oe); for (var ft = [], mt = [], St = [], dt = [], yt = [], gt = [], bt = 0, vt = 0; vt < Ne.length; vt++) { var He = rt[vt][ee]; if (null == He) { if (pt.stimulsoft.is(t.IStiScatterSeries)) continue; ft.add(null), dt.add(0), yt.add(null), gt.add(null), pt.stimulsoft.is(t.IStiRangeSeries) && mt.add(null), St.add(Ne[vt]), bt++ } else try { for (var Ct = (T = void 0, __values(He)), wt = Ct.next(); !wt.done; wt = Ct.next()) { var xt = wt.value , te = null , _t = pt.stimulsoft.is(t.IStiScatterSeries); if (null != xt && null != xt.value && xt.value.stimulsoft.is(Number) && (te = xt.value.stimulsoft.toNumber(), _t = !1), pt.stimulsoft.is(t.IStiScatterSeries) && null == Ne[vt]) continue; ft.add(te), _t || St.add(Ne[vt]), pt.stimulsoft.is(t.IStiRangeSeries) && mt.add(xt.valueEnd.stimulsoft.toNumber()), null != ht && dt.add(xt.weight.stimulsoft.toNumber()), null != xt.toolTip && yt.add(xt.toolTip.toString()), null != xt.tag && gt.add(xt.tag), bt++ } } catch (e) { T = { error: e } } finally { try { wt && !wt.done && (F = Ct.return) && F.call(Ct) } finally { if (T) throw T.error } } } var At = Array.create(Number, ft.length); ft.copyTo(At), pt.values = At; var Lt = Array.create(Object, St.length); if (St.copyTo(Lt), pt.arguments = Lt, pt.stimulsoft.is(t.IStiRangeSeries)) { var Ot = Array.create(Number, mt.length); mt.copyTo(Ot), pt.stimulsoft.as(t.IStiRangeSeries).valuesEnd = Ot } if (pt.stimulsoft.is(t.StiBubbleSeries)) { var Pt = Array.create(Number, dt.length); dt.copyTo(Pt), pt.weights = Pt } pt.toolTips = yt.toArray(), pt.tags = gt.toArray(), this.checkArgumentsDateTimeStep(pt), this.createValuesTopN(pt), pt.filters = V.filters, M = !0 } E += et.length - 1 } } else this.checkArgumentsDateTimeStep(V), this.createValuesTopN(V); E++ } if (StiOptions.Engine.allowInvokeProcessChartEventForTemplateOfChart && o.invokeEvents(), M && StiOptions.Engine.applyStylesInAutoSeries) { o.series.applyStyle(o.style); var ee = 0; try { for (var Bt = __values(o.series.list), Rt = Bt.next(); !Rt.done; Rt = Bt.next()) { var V = Rt.value , oe = this.convertStringToColor(N.get(V)) , kt = new i(ee,V,null); null != oe && (kt.color = oe), V.invokeNewAutoSeries(kt), null != kt.color && kt.color.stimulsoft.is(p) && V.core.applyStyle(o.style, kt.color), ee++ } } catch (e) { D = { error: e } } finally { try { Rt && !Rt.done && (I = Bt.return) && I.call(Bt) } finally { if (D) throw D.error } } } } , w.getShorterListPoints = function(e) { for (var r = [], i = 0; i < e.values.length; i++) r[i] = new g(e.values[i],i); for (var n = [.3, .6, 1, 5, 9, 15, 20, 25, 30, 40], o = [], a = [], i = 0; i < e.values.length; i++) { if (o = t.StiSimplifyHelper.simplify(r, n[i], !0), o.length / r.length < .02 && o.length < 900 && null != a) { o = a; break } a = o } return o } , w.checkParetoValues = function(e) { var r = e.stimulsoft.as(t.StiParetoSeries); if (null != r) { for (var i = new C, n = new C, o = 0; o < e.values.length; o++) { var a = e.values[o]; a > 0 && (i.add(a), null != e.arguments && o < e.arguments.length ? n.add(e.arguments[o]) : n.add(o + 1)) } r.values = i.toArray(), r.arguments = n.toArray() } } , w.checkValueNaN = function(e) { for (var t = 0; t < e.length; t++) null != e[t] && isNaN(e[t]) && (e[t] = null); return e } , w.checkArgumentsDateTimeStep = function(e) { var r = e.arguments; if (e.chart.area.stimulsoft.is(t.StiAxisArea)) { var i = e.chart.area.xAxis.dateTimeStep , n = i.step , o = i.numberOfValues; if (this.isArgumentsDateTime(r) && n != t.StiTimeDateStep.None) { for (var a = Array.create(c, r.length), s = 0; s < r.length; s++) a[s] = c.fromString(r[s].toString()); for (var l = this.maximumDate(a), u = this.minimumDate(a), h = Math.trunc(this.getTotalTimeSpans(n, l, u)) + 1, p = [], f = [], m = u, S = this.getNextDate(u, n), s = 0; s < h; s++) { for (var d = (S.ticks - m.ticks) / o, g = new y(d / 2), b = 0; b < o; b++) { var v = new y(d * b); if (v.ticks > l.ticks) continue; p.add(m.addTicks(v.ticks)); var C = new c(p[p.length - 1].ticks - g.ticks) , w = new c(p[p.length - 1].ticks + g.ticks) , x = this.getValueForDate(C, w, a, e.values); f.add(x) } m = S, S = this.getNextDate(S, n) } var _ = Array.create(Object, p.length) , A = Array.create(Number, f.length); p.copyTo(_), f.copyTo(A); for (var L = 0, O = 0, P = null, B = null, s = 0; s < A.length; s++) { if (null != A[s] && null == P) { L = s, P = A[s]; continue } if (null != A[s] && null != P) { O = s, P = A[L], B = A[O]; for (var R = (P - B) / (O - L), k = L + 1; k < O; k++) i.interpolation ? A[k] = A[k - 1] - R : A[k] = 0; L = 0, P = null, s-- } } e.arguments = _, e.values = A } } } , w.createValuesTopN = function(e) { if (e.topN.mode != t.StiTopNMode.None && e.values.length > e.topN.count) { for (var r = e.topN.count, i = e.values.clone(), n = Array.create(Number, e.values.length), o = 0; o < e.values.length; o++) n[o] = o; Array.sti_sort(i), e.topN.mode == t.StiTopNMode.Top && (Array.reverse(i), Array.reverse(n)); var a = Array.create(Number, r) , s = Array.create(Number, r); Array.copy(i, 0, a, r), Array.copy(n, 0, s, r); for (var l = [], u = [], c = 0, h = 0; h < e.values.length; h++) this.findIndex(s, h) ? (l.add(e.values[h]), h < e.arguments.length && u.add(e.arguments[h])) : c += e.values[h]; e.topN.showOthers && (e.stimulsoft.is(t.StiClusteredBarSeries) ? (l.insert(0, c), u.insert(0, e.topN.othersText)) : (l.add(c), u.add(e.topN.othersText))); var p = Array.create(Number, l.length); l.copyTo(p); var f = Array.create(Object, u.length); u.copyTo(f), e.values = p, e.arguments = f } } , w.getNextDate = function(e, r) { switch (r) { case t.StiTimeDateStep.Second: return e.addSeconds(1); case t.StiTimeDateStep.Minute: return e.addMinutes(1); case t.StiTimeDateStep.Day: return e.addDays(1); case t.StiTimeDateStep.Hour: return e.addHours(1); case t.StiTimeDateStep.Month: return e.addMonths(1); case t.StiTimeDateStep.Year: return e.addYears(1) } return e } , w.getKey = function(e) { var t = e.stimulsoft.toNumber(); if (!isNaN(t)) return t.toString(); return e.toString() } , w.sortArray = function(e) { for (var t, r, i, n, o = e.ref, a = [], s = [], l = 0; l < o.length; l++) { var u = o[l].stimulsoft.toNumber(); isNaN(u) ? s.add(o[l]) : a.add(u) } a.sort(), s.sort(); var c = Array.create(String, o.length) , h = 0; try { for (var p = __values(a), f = p.next(); !f.done; f = p.next()) { var u = f.value; c[h] = u.toString(), h++ } } catch (e) { t = { error: e } } finally { try { f && !f.done && (r = p.return) && r.call(p) } finally { if (t) throw t.error } } try { for (var m = __values(s), S = m.next(); !S.done; S = m.next()) { var d = S.value; c[h] = d, h++ } } catch (e) { i = { error: e } } finally { try { S && !S.done && (n = m.return) && n.call(m) } finally { if (i) throw i.error } } o = c, e.ref = o } , w.findIndex = function(e, t) { for (var r = 0; r < e.length; r++) if (e[r] == t) return !0; return !1 } , w.getValueForDate = function(e, t, r, i) { for (var n = 0, o = 0, a = null, s = 0; s < r.length; s++) { var l = r[s]; l > e && l <= t && (n++, o += i[s]) } return 0 != n && (a = o / n), a } , w.getTotalTimeSpans = function(e, r, i) { var n = y.fromTicks(r.ticks - i.ticks) , o = 0; switch (e) { case t.StiTimeDateStep.Second: o = n.totalSeconds; break; case t.StiTimeDateStep.Minute: o = n.totalMinutes; break; case t.StiTimeDateStep.Hour: o = n.totalHours; break; case t.StiTimeDateStep.Day: o = n.totalDays; break; case t.StiTimeDateStep.Month: o = 12 * (r.year - i.year) + r.month - i.month; break; case t.StiTimeDateStep.Year: o = r.year - i.year; break } return o } , w.isArgumentsDateTime = function(e) { var t, r; if (0 == e.length) return !1; try { for (var i = __values(e), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (null == o) return !1; var a = o.toString() , s = void 0; if (null != !c.fromString(a, !1)) return !1 } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return !0 } , w.maximumDate = function(e) { var t, r, i = c.minValue; try { for (var n = __values(e), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.toOADate2(!1) > i.toOADate2(!1) && (i = a) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i } , w.minimumDate = function(e) { var t, r, i = c.maxValue; try { for (var n = __values(e), o = n.next(); !o.done; o = n.next()) { var a = o.value; a.toOADate2(!1) < i.toOADate2(!1) && (i = a) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i } , w.getAutoSeriesColorFromautoSeriesColorDataColumn = function(e, t) { if (null != t.autoSeriesColorDataColumn && t.autoSeriesColorDataColumn.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.autoSeriesColorDataColumn); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(String, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.autoSeriesColorDataColumn); o = null == o ? "" : o.toString(), i[n] = o, r.next() } return r.restoreState("ChartRender_DataColumn"), i } var a = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.autoSeriesColorDataColumn); if (null != a) { a.saveState("ChartRender_DataColumn"); var i = Array.create(String, a.count); a.first(); for (var n = 0; n < a.count; n++) { var o = u.getDataFromBusinessObject(e.report.dictionary, t.autoSeriesColorDataColumn); o = null == o ? "" : o.toString(), i[n] = o, a.next() } return a.restoreState("ChartRender_DataColumn"), i } } return [] } , w.getAutoSeriesTitleFromAutoSeriesTitleDataColumn = function(e, t) { if (null != t.autoSeriesTitleDataColumn && t.autoSeriesTitleDataColumn.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.autoSeriesTitleDataColumn); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(String, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.autoSeriesTitleDataColumn); o = null == o ? "" : o.toString(), i[n] = o, r.next() } return r.restoreState("ChartRender_DataColumn"), i } var a = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.autoSeriesTitleDataColumn); if (null != a) { a.saveState("ChartRender_DataColumn"); var i = Array.create(String, a.count); a.first(); for (var n = 0; n < a.count; n++) { var o = u.getDataFromBusinessObject(e.report.dictionary, t.autoSeriesTitleDataColumn); o = null == o ? "" : o.toString(), i[n] = o, a.next() } return a.restoreState("ChartRender_DataColumn"), i } } return [] } , w.getAutoSeriesKeysFromAutoSeriesKeyDataColumn = function(e, t) { if (null != t.autoSeriesKeyDataColumn && t.autoSeriesKeyDataColumn.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.autoSeriesKeyDataColumn); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(String, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.autoSeriesKeyDataColumn); o = null == o ? "" : o.toString(), i[n] = o, r.next() } return r.restoreState("ChartRender_DataColumn"), i } var a = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.autoSeriesKeyDataColumn); if (null != a) { a.saveState("ChartRender_DataColumn"); var i = Array.create(String, a.count); a.first(); for (var n = 0; n < a.count; n++) { var o = u.getDataFromBusinessObject(e.report.dictionary, t.autoSeriesKeyDataColumn); o = null == o ? "" : o.toString(), i[n] = o, a.next() } return a.restoreState("ChartRender_DataColumn"), i } } return [] } , w.setTitle = function(e, t, i) { var o = new n; o.series = i, o.index = t, i.invokeGetTitle(e, o), r.isNullOrEmpty(o.value) || (i.coreTitle = o.value) } , w.setCutPieList = function(e, i) { var n = new s; i.invokeGetCutPieList(e, n), r.isNullOrEmpty(n.value) || (i.cutPieListValues = t.StiSeries.getValuesFromString(n.value)) } , w.getArguments = function(e, t) { var r = this.getArgumentsFromListOfArguments(e, t); if (null != r) return r; if (null != (r = this.getArgumentsFromArgumentDataColumn(e, t))) return r; if (null != (r = this.getArgumentsFromArgumentExpression(e, t))) return r; return [] } , w.getArgumentsFromArgumentExpression = function(e, t) { var r = Array.create(Object, e.count); e.first(); for (var i = 0; i < e.count; i++) { var n = new a; t.invokeGetArgument(e, n), r[i] = n.value, e.next() } return r } , w.getArgumentsFromArgumentDataColumn = function(e, t) { if (null != t.argumentDataColumn && t.argumentDataColumn.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.argumentDataColumn); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(Object, r.count); r.first(); for (var n = 0; n < r.count; n++) i[n] = u.getDataFromDataColumn(e.report.dictionary, t.argumentDataColumn), null != i && i[n].stimulsoft.is(c) && (t.core.isDateTimeArguments = !0), r.next(); return r.restoreState("ChartRender_DataColumn"), i } var o = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.argumentDataColumn); if (null != o) { o.saveState("ChartRender_DataColumn"); var i = Array.create(Object, o.count); o.first(); for (var n = 0; n < o.count; n++) i[n] = u.getDataFromBusinessObject(e.report.dictionary, t.argumentDataColumn), i[n].stimulsoft.is(c) && (t.core.isDateTimeArguments = !0), o.next(); return o.restoreState("ChartRender_DataColumn"), i } } return null } , w.getArgumentsFromListOfArguments = function(e, r) { var i = new s; if (r.invokeGetListOfArguments(e, i), null != i.value && i.value.length > 0) return t.StiSeries.getArgumentsFromString(i.value); return null } , w.getValues = function(e, t) { var r = this.getValuesFromListOfValues(e, t); if (null != r) return r; if (null != (r = this.getValuesFromValueDataColumn(e, t))) return r; if (null != (r = this.getValuesFromValueExpression(e, t))) return r; return [] } , w.getValuesFromValueExpression = function(e, t) { var r = Array.create(Number, e.count); e.first(); for (var i = 0; i < e.count; i++) { var n = new s; n.value = "0", t.invokeGetValue(e, n), r[i] = n.value.stimulsoft.toNumber(), e.next() } return r } , w.getValuesFromValueDataColumn = function(e, r) { if (null != r.valueDataColumn && r.valueDataColumn.trim().length > 0) { var i = u.getDataSourceFromDataColumn(e.report.dictionary, r.valueDataColumn); if (null != i) { i.saveState("ChartRender_DataColumn"); var n = Array.create(Number, i.count); i.first(); for (var a = 0; a < i.count; a++) { var s = u.getDataFromDataColumn(e.report.dictionary, r.valueDataColumn); r.stimulsoft.is(t.StiGanttSeries) && !s.stimulsoft.is(c) && null != c.fromString(s.toString(), !1) && (s = c.fromString(s.toString())); var l = null; null != s && s.stimulsoft.is(c) ? (l = s.toOADate2(!1), r.core.isDateTimeValues = !0) : null != s && s != o.value && (l = s.stimulsoft.toNumber()), n[a] = l, i.next() } return i.restoreState("ChartRender_DataColumn"), n } var h = u.getBusinessObjectFromDataColumn(e.report.dictionary, r.valueDataColumn); if (null != h) { h.saveState("ChartRender_DataColumn"); var n = Array.create(Number, h.count); h.first(); for (var a = 0; a < h.count; a++) { var s = u.getDataFromBusinessObject(e.report.dictionary, r.valueDataColumn); s.stimulsoft.is(c) || null == c.fromString(s.toString(), !1) || (s = c.fromString(s.toString())); var l = null; s.stimulsoft.is(c) ? (r.core.isDateTimeValues = !0, l = s.toOADate2(!1)) : null != s && s != o.value && (l = s.stimulsoft.toNumber()), n[a] = l, h.next() } return h.restoreState("ChartRender_DataColumn"), n } } return null } , w.getValuesFromListOfValues = function(e, r) { var i = new s; if (r.invokeGetListOfValues(e, i, r), null != i.value && i.value.length > 0) return t.StiSeries.getNullableValuesFromString(r, i.value); return null } , w.getValuesEnd = function(e, t, r, i, n) { var o = this.getValuesEndFromListOfValuesEnd(e, t, i); if (null != o) return o; if (null != (o = this.getValuesEndFromValueDataColumnEnd(e, t, r))) return o; if (null != (o = this.getValuesEndFromValueEndExpression(e, n, t))) return o; return [] } , w.getValuesEndFromValueEndExpression = function(e, t, r) { var i = Array.create(Number, e.count); e.first(); for (var n = 0; n < e.count; n++) { var o = new s; o.value = "0", t(e, o, r), i[n] = o.value.stimulsoft.toNumber(), e.next() } return i } , w.getValuesEndFromValueDataColumnEnd = function(e, r, i) { if (null != i && i.trim().length > 0) { var n = u.getDataSourceFromDataColumn(e.report.dictionary, i); if (null != n) { n.saveState("ChartRender_DataColumn"); var a = Array.create(Number, n.count); n.first(); for (var s = 0; s < n.count; s++) { var l = u.getDataFromDataColumn(e.report.dictionary, i); r.stimulsoft.is(t.StiGanttSeries) && !l.stimulsoft.is(c) && null != c.fromString(l.toString(), !1) && (l = c.fromString(l.toString())); var h = null; l.stimulsoft.is(c) ? (r.core.isDateTimeValues = !0, h = l.toOADate2(!1)) : null != l && l != o.value && (h = l.stimulsoft.toNumber()), a[s] = h, n.next() } return n.restoreState("ChartRender_DataColumn"), a } var p = u.getBusinessObjectFromDataColumn(e.report.dictionary, i); if (null != p) { p.saveState("ChartRender_DataColumn"); var a = Array.create(Number, p.count); p.first(); for (var s = 0; s < p.count; s++) { var l = u.getDataFromBusinessObject(e.report.dictionary, i); l.stimulsoft.is(c) || null == c.fromString(l.toString(), !1) || (l = c.fromString(l.toString())); var h = null; l.stimulsoft.is(c) ? (r.core.isDateTimeValues = !0, h = l.toOADate2(!1)) : null != l && l != o.value && (h = l.stimulsoft.toNumber()), a[s] = h, p.next() } return p.restoreState("ChartRender_DataColumn"), a } } return null } , w.getValuesEndFromListOfValuesEnd = function(e, r, i) { var n = new s; if (i(e, n, r), null != n.value && n.value.length > 0) return t.StiSeries.getNullableValuesFromString(r, n.value); return null } , w.getValuesOpen = function(e, t) { var r = this.getValuesOpenFromListOfValuesOpen(e, t); if (null != r) return r; if (null != (r = this.getValuesOpenFromValueDataColumnOpen(e, t))) return r; if (null != (r = this.getValuesOpenFromValuesOpenExpression(e, t))) return r; return [] } , w.getValuesOpenFromValuesOpenExpression = function(e, t) { var r = Array.create(Number, e.count); e.first(); for (var i = 0; i < e.count; i++) { var n = new s; n.value = "0", t.invokeGetValueOpen(e, n), r[i] = n.value.stimulsoft.toNumber(), e.next() } return r } , w.getValuesOpenFromValueDataColumnOpen = function(e, t) { if (null != t.valueDataColumnOpen && t.valueDataColumnOpen.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.valueDataColumnOpen); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(Number, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.valueDataColumnOpen); o.stimulsoft.is(c) || null == c.fromString(o.toString(), !1) || (o = c.fromString(o.toString())); var a = 0; o.stimulsoft.is(c) ? (t.core.isDateTimeValues = !0, a = o.toOADate2(!1)) : a = o.stimulsoft.toNumber(), i[n] = a, r.next() } return r.restoreState("ChartRender_DataColumn"), i } var s = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.valueDataColumnOpen); if (null != s) { s.saveState("ChartRender_DataColumn"); var i = Array.create(Number, s.count); s.first(); for (var n = 0; n < s.count; n++) { var o = u.getDataFromBusinessObject(e.report.dictionary, t.valueDataColumnOpen); o.stimulsoft.is(c) || null == c.fromString(o.toString(), !1) || (o = c.fromString(o.toString())); var a = 0; o.stimulsoft.is(c) ? (t.core.isDateTimeValues = !0, a = o.toOADate2(!1)) : a = o.stimulsoft.toNumber(), i[n] = a, s.next() } return s.restoreState("ChartRender_DataColumn"), i } } return null } , w.getValuesOpenFromListOfValuesOpen = function(e, r) { var i = new s; if (r.invokeGetListOfValuesOpen(e, i), null != i.value && i.value.length > 0) return t.StiSeries.getNullableValuesFromString(r, i.value); return null } , w.getValuesClose = function(e, t) { var r = this.getValuesCloseFromListOfValuesClose(e, t); if (null != r) return r; if (null != (r = this.getValuesCloseFromValueDataColumnClose(e, t))) return r; if (null != (r = this.getValuesCloseFromValuesCloseExpression(e, t))) return r; return [] } , w.getValuesCloseFromValuesCloseExpression = function(e, t) { var r = Array.create(Number, e.count); e.first(); for (var i = 0; i < e.count; i++) { var n = new s; n.value = "0", t.invokeGetValueClose(e, n), r[i] = n.value.stimulsoft.toNumber(), e.next() } return r } , w.getValuesCloseFromValueDataColumnClose = function(e, t) { if (null != t.valueDataColumnClose && t.valueDataColumnClose.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.valueDataColumnClose); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(Number, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.valueDataColumnClose); o.stimulsoft.is(c) || null == c.fromString(o.toString(), !1) || (o = c.fromString(o.toString())); var a = 0; o.stimulsoft.is(c) ? (t.core.isDateTimeValues = !0, a = o.toOADate2(!1)) : a = o.stimulsoft.toNumber(), i[n] = a, r.next() } return r.restoreState("ChartRender_DataColumn"), i } var s = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.valueDataColumnClose); if (null != s) { s.saveState("ChartRender_DataColumn"); var i = Array.create(Number, s.count); s.first(); for (var n = 0; n < s.count; n++) { var o = u.getDataFromBusinessObject(e.report.dictionary, t.valueDataColumnClose); o.stimulsoft.is(c) || null == c.fromString(o.toString(), !1) || (o = c.fromString(o.toString())); var a = 0; o.stimulsoft.is(c) ? (t.core.isDateTimeValues = !0, a = o.toOADate2(!1)) : a = o.stimulsoft.toNumber(), i[n] = a, s.next() } return s.restoreState("ChartRender_DataColumn"), i } } return null } , w.getValuesCloseFromListOfValuesClose = function(e, r) { var i = new s; if (r.invokeGetListOfValuesClose(e, i), null != i.value && i.value.length > 0) return t.StiSeries.getNullableValuesFromString(r, i.value); return null } , w.getValuesHigh = function(e, t) { var r = this.getValuesHighFromListOfValuesHigh(e, t); if (null != r) return r; if (null != (r = this.getValuesHighFromValueDataColumnHigh(e, t))) return r; if (null != (r = this.getValuesHighFromValuesHighExpression(e, t))) return r; return [] } , w.getValuesHighFromValuesHighExpression = function(e, t) { var r = Array.create(Number, e.count); e.first(); for (var i = 0; i < e.count; i++) { var n = new s; n.value = "0", t.invokeGetValueHigh(e, n), r[i] = n.value.stimulsoft.toNumber(), e.next() } return r } , w.getValuesHighFromValueDataColumnHigh = function(e, t) { if (null != t.valueDataColumnHigh && t.valueDataColumnHigh.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.valueDataColumnHigh); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(Number, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.valueDataColumnHigh); o.stimulsoft.is(c) || null == c.fromString(o.toString(), !1) || (o = c.fromString(o.toString())); var a = 0; o.stimulsoft.is(c) ? (t.core.isDateTimeValues = !0, a = o.toOADate2(!1)) : a = o.stimulsoft.toNumber(), i[n] = a, r.next() } return r.restoreState("ChartRender_DataColumn"), i } var s = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.valueDataColumnHigh); if (null != s) { s.saveState("ChartRender_DataColumn"); var i = Array.create(Number, s.count); s.first(); for (var n = 0; n < s.count; n++) { var o = u.getDataFromBusinessObject(e.report.dictionary, t.valueDataColumnHigh); o.stimulsoft.is(c) || null == c.fromString(o.toString(), !1) || (o = c.fromString(o.toString())); var a = 0; o.stimulsoft.is(c) ? (t.core.isDateTimeValues = !0, a = o.toOADate2(!1)) : a = o.stimulsoft.toNumber(), i[n] = a, s.next() } return s.restoreState("ChartRender_DataColumn"), i } } return null } , w.getValuesHighFromListOfValuesHigh = function(e, r) { var i = new s; if (r.invokeGetListOfValuesHigh(e, i), null != i.value && i.value.length > 0) return t.StiSeries.getNullableValuesFromString(r, i.value); return null } , w.getValuesLow = function(e, t) { var r = this.getValuesLowFromListOfValuesLow(e, t); if (null != r) return r; if (null != (r = this.getValuesLowFromValueDataColumnLow(e, t))) return r; if (null != (r = this.getValuesLowFromValuesLowExpression(e, t))) return r; return [] } , w.getValuesLowFromValuesLowExpression = function(e, t) { var r = Array.create(Number, e.count); e.first(); for (var i = 0; i < e.count; i++) { var n = new s; n.value = "0", t.invokeGetValueLow(e, n), r[i] = n.value.stimulsoft.toNumber(), e.next() } return r } , w.getValuesLowFromValueDataColumnLow = function(e, t) { if (null != t.valueDataColumnLow && t.valueDataColumnLow.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.valueDataColumnLow); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(Number, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.valueDataColumnLow); o.stimulsoft.is(c) || null == c.fromString(o.toString(), !1) || (o = c.fromString(o.toString())); var a = 0; o.stimulsoft.is(c) ? (t.core.isDateTimeValues = !0, a = o.toOADate2(!1)) : a = o.stimulsoft.toNumber(), i[n] = a, r.next() } return r.restoreState("ChartRender_DataColumn"), i } var s = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.valueDataColumnLow); if (null != s) { s.saveState("ChartRender_DataColumn"); var i = Array.create(Number, s.count); s.first(); for (var n = 0; n < s.count; n++) { var o = u.getDataFromBusinessObject(e.report.dictionary, t.valueDataColumnLow); o.stimulsoft.is(c) || null == c.fromString(o.toString(), !1) || (o = c.fromString(o.toString())); var a = 0; o.stimulsoft.is(c) ? (t.core.isDateTimeValues = !0, a = o.toOADate2(!1)) : a = o.stimulsoft.toNumber(), i[n] = a, s.next() } return s.restoreState("ChartRender_DataColumn"), i } } return null } , w.getValuesLowFromListOfValuesLow = function(e, r) { var i = new s; if (r.invokeGetListOfValuesLow(e, i), null != i.value && i.value.length > 0) return t.StiSeries.getNullableValuesFromString(r, i.value); return null } , w.getWeights = function(e, t) { var r = this.getWeightsFromListOfWeights(e, t); if (null != r) return r; if (null != (r = this.getWeightsFromWeightDataColumn(e, t))) return r; if (null != (r = this.getWeightsWeightExpression(e, t))) return r; return [] } , w.getWeightsWeightExpression = function(e, t) { var r = Array.create(Number, e.count); e.first(); for (var i = 0; i < e.count; i++) { var n = new s; n.value = "0", t.invokeGetWeight(e, n), r[i] = n.value.stimulsoft.toNumber(), e.next() } return r } , w.getWeightsFromWeightDataColumn = function(e, t) { if (null != t.weightDataColumn && t.weightDataColumn.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.weightDataColumn); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(Number, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.weightDataColumn); o.stimulsoft.is(c) || null == c.fromString(o.toString(), !1) || (o = c.fromString(o.toString())); var a = 0; o.stimulsoft.is(c) ? (t.core.isDateTimeValues = !0, a = o.toOADate2(!1)) : a = o.stimulsoft.toNumber(), i[n] = a, r.next() } return r.restoreState("ChartRender_DataColumn"), i } var s = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.weightDataColumn); if (null != s) { s.saveState("ChartRender_DataColumn"); var i = Array.create(Number, s.count); s.first(); for (var n = 0; n < s.count; n++) { var o = u.getDataFromBusinessObject(e.report.dictionary, t.weightDataColumn); o.stimulsoft.is(c) || null == c.fromString(o.toString(), !1) || (o = c.fromString(o.toString())); var a = 0; o.stimulsoft.is(c) ? (t.core.isDateTimeValues = !0, a = o.toOADate2(!1)) : a = o.stimulsoft.toNumber(), i[n] = a, s.next() } return s.restoreState("ChartRender_DataColumn"), i } } return null } , w.getWeightsFromListOfWeights = function(e, r) { var i = new s; if (r.invokeGetListOfWeights(e, i), null != i.value && i.value.length > 0) return t.StiSeries.getValuesFromString(i.value); return null } , w.getHyperlinks = function(e, t) { var r = this.getHyperlinksFromListOfHyperlinks(e, t); if (null != r) return r; if (null != (r = this.getHyperlinksFromHyperlinkDataColumn(e, t))) return r; if (null != (r = this.getHyperlinksFromHyperlinkExpression(e, t))) return r; return [] } , w.getHyperlinksFromHyperlinkExpression = function(e, t) { var r = Array.create(String, e.count); e.first(); for (var i = 0; i < e.count; i++) { var n = new a; n.value = null, t.invokeGetHyperlink(e, n), null != n.value && (r[i] = n.value.toString()), e.next() } return r } , w.getHyperlinksFromHyperlinkDataColumn = function(e, t) { if (null != t.hyperlinkDataColumn && t.hyperlinkDataColumn.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.hyperlinkDataColumn); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(String, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.hyperlinkDataColumn); null != o && (i[n] = o.toString()), r.next() } return r.restoreState("ChartRender_DataColumn"), i } var a = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.hyperlinkDataColumn); if (null != a) { a.saveState("ChartRender_DataColumn"); var i = Array.create(String, a.count); a.first(); for (var n = 0; n < a.count; n++) { var o = u.getDataFromBusinessObject(e.report.dictionary, t.hyperlinkDataColumn); null != o && (i[n] = o.toString()), a.next() } return a.restoreState("ChartRender_DataColumn"), i } } return null } , w.getHyperlinksFromListOfHyperlinks = function(e, r) { var i = new s; if (r.invokeGetListOfHyperlinks(e, i), null != i.value && i.value.length > 0) return t.StiSeries.getStringsFromString(i.value); return null } , w.getTags = function(e, t) { var r = this.getTagsFromListOfTags(e, t); if (null != r) return r; if (null != (r = this.getTagsFromTagDataColumn(e, t))) return r; if (null != (r = this.getTagsFromTagExpression(e, t))) return r; return [] } , w.getTagsFromTagExpression = function(e, t) { var r = Array.create(Object, e.count); e.first(); for (var i = 0; i < e.count; i++) { var n = new a; n.value = null, t.invokeGetTag(e, n), r[i] = n.value, e.next() } return r } , w.getTagsFromTagDataColumn = function(e, t) { if (null != t.tagDataColumn && t.tagDataColumn.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.tagDataColumn); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(Object, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.tagDataColumn); i[n] = o, r.next() } return r.restoreState("ChartRender_DataColumn"), i } var a = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.tagDataColumn); if (null != a) { a.saveState("ChartRender_DataColumn"); var i = Array.create(Object, a.count); a.first(); for (var n = 0; n < a.count; n++) i[n] = u.getDataFromBusinessObject(e.report.dictionary, t.tagDataColumn), a.next(); return a.restoreState("ChartRender_DataColumn"), i } } return null } , w.getTagsFromListOfTags = function(e, r) { var i = new s; if (r.invokeGetListOfTags(e, i), null != i.value && i.value.length > 0) return t.StiSeries.getStringsFromString(i.value); return null } , w.getToolTips = function(e, t) { var r = this.getToolTipsFromListOfToolTips(e, t); if (null != r) return r; if (null != (r = this.getToolTipsFromToolTipDataColumn(e, t))) return r; if (null != (r = this.getToolTipsFromToolTipExpression(e, t))) return r; return [] } , w.getToolTipsFromToolTipExpression = function(e, t) { var r = Array.create(String, e.count); e.first(); for (var i = 0; i < e.count; i++) { var n = new a; n.value = null, t.invokeGetToolTip(e, n), null != n.value && (r[i] = n.value.toString()), e.next() } return r } , w.getToolTipsFromToolTipDataColumn = function(e, t) { if (null != t.toolTipDataColumn && t.toolTipDataColumn.trim().length > 0) { var r = u.getDataSourceFromDataColumn(e.report.dictionary, t.toolTipDataColumn); if (null != r) { r.saveState("ChartRender_DataColumn"); var i = Array.create(String, r.count); r.first(); for (var n = 0; n < r.count; n++) { var o = u.getDataFromDataColumn(e.report.dictionary, t.toolTipDataColumn); null != o && (i[n] = o.toString()), r.next() } return r.restoreState("ChartRender_DataColumn"), i } var a = u.getBusinessObjectFromDataColumn(e.report.dictionary, t.toolTipDataColumn); if (null != a) { a.saveState("ChartRender_DataColumn"); var i = Array.create(String, a.count); a.first(); for (var n = 0; n < a.count; n++) { var o = u.getDataFromBusinessObject(e.report.dictionary, t.toolTipDataColumn); null != o && (i[n] = o.toString()), a.next() } return a.restoreState("ChartRender_DataColumn"), i } } return null } , w.getToolTipsFromListOfToolTips = function(e, r) { var i = new s; if (r.invokeGetListOfToolTips(e, i), null != i.value && i.value.length > 0) return t.StiSeries.getStringsFromString(i.value); return null } , w.globalDurationElement = new y(0,0,1), w.globalBeginTimeElement = new y(0,0,1), w }(); t.StiChartHelper = w }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.toString = function() { return "ProcessChart" } , t }(e.StiEvent); e.StiProcessChartEvent = t }(t = e.Events || (e.Events = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.StiJsonReportObjectHelper , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.Base.Drawing.StiSolidBrush , l = e.Base.Drawing.StiBrush , u = e.System.Drawing.Color , c = e.Base.Services.StiService , h = function(c) { function h() { var e = null !== c && c.apply(this, arguments) || this; return e._chart = null, e._allowApplyStyle = !0, e._colorEach = !1, e._showShadow = !1, e._borderColor = u.gray, e._brush = new s(u.white), e } return __extends(h, c), h.prototype.implements = function() { return h.implementsStiArea || (h.implementsStiArea = c.prototype.implements.call(this).concat([o, t.IStiArea, a])), h.implementsStiArea } , h.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), t.addPropertyBool("ColorEach", this.colorEach), t.addPropertyBool("ShowShadow", this._showShadow), t.addPropertyStringNullOrEmpty("BorderColor", i.Serialize.jColor(this._borderColor, u.gray)), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), t } , h.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "AllowApplyStyle": this._allowApplyStyle = a.value.stimulsoft.toBoolean(); break; case "ColorEach": this.colorEach = a.value.stimulsoft.toBoolean(); break; case "ShowShadow": this._showShadow = a.value.stimulsoft.toBoolean(); break; case "BorderColor": this._borderColor = i.Deserialize.color(a.value.toString()); break; case "Brush": this._brush = i.Deserialize.brush(a.value.toString()); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , h.prototype.loadFromXml = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "AllowApplyStyle": this._allowApplyStyle = i.textContent.stimulsoft.toBoolean(); break; case "ColorEach": this.colorEach = i.textContent.stimulsoft.toBoolean(); break; case "ShowShadow": this._showShadow = i.textContent.stimulsoft.toBoolean(); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "Brush": case "bh": this._brush = l.convertToBrush(i.textContent); break } } } , h.loadFromJsonObjectInternal = function(e) { var t = e.properties().firstOrDefault(function(e) { return "Ident" == e.name }).value.toString() , i = StiOptions.Services.chartAreas.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == t }); if (null == i) throw r.format("Type {0} is not found!", t); var n = i.createNew(); return n.loadFromJsonObject(e), n } , h.loadAreaFromXml = function(e, r) { switch (e.attributes.getNamedItem("type").value) { case "Stimulsoft.Report.Chart.StiClusteredColumnArea": var i = new t.StiClusteredColumnArea; return i.chart = r, i.loadFromXml(e), i; case "Stimulsoft.Report.Chart.StiLineArea": var n = new t.StiLineArea; return n.chart = r, n.loadFromXml(e), n; case "Stimulsoft.Report.Chart.StiAreaArea": var o = new t.StiAreaArea; return o.chart = r, o.loadFromXml(e), o; case "Stimulsoft.Report.Chart.StiSplineArea": var a = new t.StiSplineArea; return a.chart = r, a.loadFromXml(e), a; case "Stimulsoft.Report.Chart.StiSplineAreaArea": var s = new t.StiSplineAreaArea; return s.chart = r, s.loadFromXml(e), s; case "Stimulsoft.Report.Chart.StiStackedColumnArea": var l = new t.StiStackedColumnArea; return l.chart = r, l.loadFromXml(e), l; case "Stimulsoft.Report.Chart.StiStackedLineArea": var u = new t.StiStackedLineArea; return u.chart = r, u.loadFromXml(e), u; case "Stimulsoft.Report.Chart.StiStackedAreaArea": var c = new t.StiStackedAreaArea; return c.chart = r, c.loadFromXml(e), c; case "Stimulsoft.Report.Chart.StiStackedSplineArea": var h = new t.StiStackedSplineArea; return h.chart = r, h.loadFromXml(e), h; case "Stimulsoft.Report.Chart.StiStackedSplineAreaArea": var p = new t.StiStackedSplineAreaArea; return p.chart = r, p.loadFromXml(e), p; case "Stimulsoft.Report.Chart.StiSteppedLineArea": var f = new t.StiSteppedLineArea; return f.chart = r, f.loadFromXml(e), f; case "Stimulsoft.Report.Chart.StiSteppedAreaArea": var m = new t.StiSteppedAreaArea; return m.chart = r, m.loadFromXml(e), m; case "Stimulsoft.Report.Chart.StiFullStackedColumnArea": var S = new t.StiFullStackedColumnArea; return S.chart = r, S.loadFromXml(e), S; case "Stimulsoft.Report.Chart.StiFullStackedLineArea": var d = new t.StiFullStackedLineArea; return d.chart = r, d.loadFromXml(e), d; case "Stimulsoft.Report.Chart.StiFullStackedAreaArea": var y = new t.StiFullStackedAreaArea; return y.chart = r, y.loadFromXml(e), y; case "Stimulsoft.Report.Chart.StiFullStackedSplineArea": var g = new t.StiFullStackedSplineArea; return g.chart = r, g.loadFromXml(e), g; case "Stimulsoft.Report.Chart.StiFullStackedSplineAreaArea": var b = new t.StiFullStackedSplineAreaArea; return b.chart = r, b.loadFromXml(e), b; case "Stimulsoft.Report.Chart.StiClusteredBarArea": var v = new t.StiClusteredBarArea; return v.chart = r, v.loadFromXml(e), v; case "Stimulsoft.Report.Chart.StiStackedBarArea": var C = new t.StiStackedBarArea; return C.chart = r, C.loadFromXml(e), C; case "Stimulsoft.Report.Chart.StiFullStackedBarArea": var w = new t.StiFullStackedBarArea; return w.chart = r, w.loadFromXml(e), w; case "Stimulsoft.Report.Chart.StiPieArea": var x = new t.StiPieArea; return x.chart = r, x.loadFromXml(e), x; case "Stimulsoft.Report.Chart.StiDoughnutArea": var _ = new t.StiDoughnutArea; return _.chart = r, _.loadFromXml(e), _; case "Stimulsoft.Report.Chart.StiRadarPointArea": var A = new t.StiRadarPointArea; return A.chart = r, A.loadFromXml(e), A; case "Stimulsoft.Report.Chart.StiRadarLineArea": var L = new t.StiRadarLineArea; return L.chart = r, L.loadFromXml(e), L; case "Stimulsoft.Report.Chart.StiRadarAreaArea": var O = new t.StiRadarAreaArea; return O.chart = r, O.loadFromXml(e), O; case "Stimulsoft.Report.Chart.StiGanttArea": var P = new t.StiGanttArea; return P.chart = r, P.loadFromXml(e), P; case "Stimulsoft.Report.Chart.StiScatterArea": var B = new t.StiScatterArea; return B.chart = r, B.loadFromXml(e), B; case "Stimulsoft.Report.Chart.StiBubbleArea": var R = new t.StiBubbleArea; return R.chart = r, R.loadFromXml(e), R; case "Stimulsoft.Report.Chart.StiRangeArea": var k = new t.StiRangeArea; return k.chart = r, k.loadFromXml(e), k; case "Stimulsoft.Report.Chart.StiSplineRangeArea": var j = new t.StiSplineRangeArea; return j.chart = r, j.loadFromXml(e), j; case "Stimulsoft.Report.Chart.StiSteppedRangeArea": var T = new t.StiSteppedRangeArea; return T.chart = r, T.loadFromXml(e), T; case "Stimulsoft.Report.Chart.StiRangeBarArea": var F = new t.StiRangeBarArea; return F.chart = r, F.loadFromXml(e), F; case "Stimulsoft.Report.Chart.StiCandlestickArea": var D = new t.StiCandlestickArea; return D.chart = r, D.loadFromXml(e), D; case "Stimulsoft.Report.Chart.StiStockArea": var I = new t.StiStockArea; return I.chart = r, I.loadFromXml(e), I; case "Stimulsoft.Report.Chart.StiFunnelArea": var N = new t.StiFunnelArea; return N.chart = r, N.loadFromXml(e), N; case "Stimulsoft.Report.Chart.StiFunnelArea": var M = new t.StiFunnelWeightedSlicesArea; return M.chart = r, M.loadFromXml(e), M; case "Stimulsoft.Report.Chart.StiTreemapArea": var E = new t.StiTreemapArea; return E.chart = r, E.loadFromXml(e), E; case "Stimulsoft.Report.Chart.StiPictorialArea": var V = new t.StiPictorialArea; return V.chart = r, V.loadFromXml(e), V; case "Stimulsoft.Report.Chart.StiParetoArea": var X = new t.StiParetoArea; return X.chart = r, X.loadFromXml(e), X } return null } , Object.defineProperty(h.prototype, "componentId", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), h.prototype.clone = function() { var e = c.prototype.clone.call(this); return e.brush = this.brush.clone(), null != this.core && (e.core = this.core.clone(), e.core.area = e), e } , h.prototype.createNew = function() { return null } , h.prototype.toString = function() { return this.serviceName } , h.prototype.getDefaultSeriesType = function() { return null } , h.prototype.getSeriesTypes = function() { return null } , h.prototype.getDefaultSeriesLabelsType = function() { return null } , h.prototype.getSeriesLabelsTypes = function() { return null } , Object.defineProperty(h.prototype, "serviceCategory", { get: function() { return "Chart" }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "serviceType", { get: function() { return h }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "isDefaultSeriesTypeFullStackedColumnSeries", { get: function() { return this.getDefaultSeriesType() == t.StiFullStackedColumnSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "isDefaultSeriesTypeFullStackedBarSeries", { get: function() { return this.getDefaultSeriesType() == t.StiFullStackedBarSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "chart", { get: function() { return this._chart }, set: function(e) { this._chart = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != this.chart && this.core.applyStyle(this.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "colorEach", { get: function() { return this._colorEach }, set: function(e) { this._colorEach = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "showShadow", { get: function() { return this._showShadow }, set: function(e) { this._showShadow = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), h }(c); t.StiArea = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = e.System.Enum , o = function(e) { function o() { var r = e.call(this) || this; return r._radarStyle = t.StiRadarStyle.Circle, r.xAxis = new t.StiXRadarAxis, r.yAxis = new t.StiYRadarAxis, r.interlacingHor = new t.StiInterlacingHor, r.interlacingVert = new t.StiInterlacingVert, r.gridLinesHor = new t.StiRadarGridLinesHor, r.gridLinesVert = new t.StiRadarGridLinesVert, r } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiRadarArea || (o.implementsStiRadarArea = e.prototype.implements.call(this).concat([r, t.IStiRadarArea, t.IStiArea, i])), o.implementsStiRadarArea } , o.prototype.saveToJsonObject = function(r) { var i = e.prototype.saveToJsonObject.call(this, r); return i.addPropertyJObject("InterlacingHor", this._interlacingHor.saveToJsonObject(r)), i.addPropertyJObject("InterlacingVert", this._interlacingVert.saveToJsonObject(r)), i.addPropertyJObject("GridLinesHor", this._gridLinesHor.saveToJsonObject(r)), i.addPropertyJObject("GridLinesVert", this._gridLinesHor.saveToJsonObject(r)), i.addPropertyEnum("RadarStyle", t.StiRadarStyle, this._radarStyle, t.StiRadarStyle.Circle), i.addPropertyJObject("XAxis", this._xAxis.saveToJsonObject(r)), i.addPropertyJObject("YAxis", this._yAxis.saveToJsonObject(r)), i } , o.prototype.loadFromJsonObject = function(r) { var i, o; e.prototype.loadFromJsonObject.call(this, r); try { for (var a = __values(r.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "InterlacingHor": this._interlacingHor.loadFromJsonObject(l.value); break; case "InterlacingVert": this._interlacingVert.loadFromJsonObject(l.value); break; case "GridLinesHor": this._gridLinesHor.loadFromJsonObject(l.value); break; case "GridLinesVert": this._gridLinesVert.loadFromJsonObject(l.value); break; case "RadarStyle": this._radarStyle = n.parse(t.StiRadarStyle, l.value.toString()); break; case "XAxis": this._xAxis.loadFromJsonObject(l.value), this._xAxis.stimulsoft.as(t.StiRadarAxis).jsonLoadFromJsonObjectArea && (this._xAxis.stimulsoft.as(t.StiRadarAxis).jsonLoadFromJsonObjectArea = !1, this._xAxis.area = this); break; case "YAxis": this._yAxis.loadFromJsonObject(l.value), this._yAxis.stimulsoft.as(t.StiRadarAxis).jsonLoadFromJsonObjectArea && (this._yAxis.stimulsoft.as(t.StiRadarAxis).jsonLoadFromJsonObjectArea = !1, this._yAxis.area = this); break } } } catch (e) { i = { error: e } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (i) throw i.error } } } , o.prototype.loadFromXml = function(r) { e.prototype.loadFromXml.call(this, r); for (var i = 0; i < r.childNodes.length; i++) { var o = r.childNodes[i]; switch (o.nodeName) { case "InterlacingHor": this._interlacingHor.loadFromXml(o); break; case "InterlacingVert": this._interlacingVert.loadFromXml(o); break; case "GridLinesHor": this._gridLinesHor.loadFromXml(o); break; case "GridLinesVert": this._gridLinesVert.loadFromXml(o); break; case "RadarStyle": this._radarStyle = n.parse(t.StiRadarStyle, o.textContent); break; case "XAxis": this._xAxis.loadFromXml(o), this._xAxis.area = this; break; case "YAxis": this._yAxis.loadFromXml(o), this._yAxis.area = this; break } } } , o.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.interlacingHor = this.interlacingHor.clone(), t.interlacingVert = this.interlacingVert.clone(), t.gridLinesHor = this.gridLinesHor.clone(), t.gridLinesVert = this.gridLinesVert.clone(), t.xAxis = this.xAxis.clone(), t.yAxis = this.yAxis.clone(), t } , o.prototype.getDefaultSeriesLabelsType = function() { return t.StiNoneLabels } , o.prototype.getSeriesLabelsTypes = function() { return [t.StiNoneLabels, t.StiOutsideBaseAxisLabels, t.StiOutsideEndAxisLabels, t.StiOutsideAxisLabels, t.StiValueAxisLabels] } , Object.defineProperty(o.prototype, "interlacingHor", { get: function() { return this._interlacingHor }, set: function(e) { this._interlacingHor = e, null != this._interlacingHor && (this._interlacingHor.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "interlacingVert", { get: function() { return this._interlacingVert }, set: function(e) { this._interlacingVert = e, null != this._interlacingVert && (this._interlacingVert.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "gridLinesHor", { get: function() { return this._gridLinesHor }, set: function(e) { this._gridLinesHor = e, null != this._gridLinesHor && (this._gridLinesHor.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "gridLinesVert", { get: function() { return this._gridLinesVert }, set: function(e) { this._gridLinesVert = e, null != this._gridLinesVert && (this._gridLinesVert.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "radarStyle", { get: function() { return this._radarStyle }, set: function(e) { this._radarStyle != e && (this._radarStyle = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "xAxis", { get: function() { return this._xAxis }, set: function(e) { this._xAxis = e, null != this._xAxis && (this._xAxis.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "yAxis", { get: function() { return this._yAxis }, set: function(e) { this._yAxis = e, null != this._yAxis && (this._yAxis.area = this) }, enumerable: !0, configurable: !0 }), o }(t.StiArea); t.StiRadarArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Rectangle , i = e.System.ICloneable , n = e.Report.Chart.IStiSeriesElement , o = function() { function e(e) { this._chart = e } return e.prototype.implements = function() { return e.implementsStiChartCoreXF || (e.implementsStiChartCoreXF = [i, t.IStiApplyStyle, t.IStiChartCoreXF]), e.implementsStiChartCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.applyStyle = function(e) { this.chart.style = e, this.chart.allowApplyStyle && (this.chart.brush = e.core.chartBrush), null != this.chart.title && this.chart.title.core.applyStyle(e), null != this.chart.area && this.chart.area.core.applyStyle(e), null != this.chart.legend && this.chart.legend.core.applyStyle(e), null != this.chart.seriesLabels && this.chart.seriesLabels.core.applyStyle(e), null != this.chart.series && this.chart.series.applyStyle(e), null != this.chart.constantLines && this.chart.constantLines.applyStyle(e), null != this.chart.strips && this.chart.strips.applyStyle(e), null != this.chart.table && this.chart.table.core.applyStyle(e) } , e.prototype.render = function(e, i, o) { var a = new t.StiChartGeom(i); a.createChildGeoms(); var s; if (o) { var l = e.options.zoom; s = new r(i.x + this._chart.horSpacing * l,i.y + this._chart.vertSpacing * l,i.width - 2 * this._chart.horSpacing * l,i.height - 2 * this._chart.vertSpacing * l) } else s = i.clone(); this._fullRectangle = s; var u = this._chart.title.core.render(e, this._chart.title, s); if (null != u) { switch (this._chart.title.dock) { case t.StiChartTitleDock.Top: s.y += u.clientRectangle.height, s.height -= u.clientRectangle.height; break; case t.StiChartTitleDock.Right: s.width -= u.clientRectangle.width; break; case t.StiChartTitleDock.Bottom: s.height -= u.clientRectangle.height; break; case t.StiChartTitleDock.Left: s.x += u.clientRectangle.width, s.width -= u.clientRectangle.width; break } a.childGeoms.add(u) } var c = null , h = null , p = s.clone(); if (null != this._chart.legend && (c = this._chart.area.core.render(e, p.clone()), null != (h = this._chart.legend.core.render(e, c.clientRectangle.clone())))) { var f = h.clientRectangle.clone() , m = { ref: s } , S = { ref: p } , d = { ref: f }; this.setLegendRect(e, this._chart, m, S, d), s = m.ref, f = d.ref, p = S.ref } var y = 0 , g = 0; this._chart.table.core.showTable() && (c = this._chart.area.core.render(e, p.clone()), y = this._chart.table.core.getWidthCellLegend(e) + c.clientRectangle.width, g = this._chart.table.core.getHeightTable(e, y), p.height -= g), null != this._chart.area && null != (c = this._chart.area.core.render(e, p.clone())) && a.childGeoms.add(c); for (var b = a.getSeriesElementGeoms(), v = 0; v < b.length; v++) { var C = b[v].stimulsoft.as(n); null != C && (C.elementIndex = v.toString()) } if (this._chart.table.core.showTable()) { var w = this._chart.series , x = this.chart.area; if (null != w && w.count > 0) { var _ = p.x; this._chart.table.core.getWidthCellLegend(e) < c.clientRectangle.x - p.x && (_ = c.clientRectangle.x - this._chart.table.core.getWidthCellLegend(e)), x.reverseHor && x.yRightAxis.visible && (_ = c.clientRectangle.left); var A = c.clientRectangle.bottom; this._chart.table.chart.area.stimulsoft.is(t.IStiClusteredBarArea) && (A = p.bottom); var L = new r(_,A,y,g) , O = this._chart.table.core.render(e, L); a.childGeoms.add(O) } } if (a.createChildGeoms(), null != h) { p = c.clientRectangle.clone(); var f = h.clientRectangle.clone() , m = { ref: s } , S = { ref: p } , d = { ref: f }; this.setLegendRect(e, this._chart, m, S, d), s = m.ref, f = d.ref, p = S.ref, h.clientRectangle = f.clone(), a.childGeoms.add(h) } return a } , e.prototype.setLegendRect = function(e, r, i, n, o) { var a = i.ref , s = n.ref , l = o.ref , u = r.horSpacing * e.options.zoom , c = r.vertSpacing * e.options.zoom; switch (r.legend.horAlignment) { case t.StiLegendHorAlignment.LeftOutside: l.x = a.x, s.width -= l.width + u, s.x += l.width + u; break; case t.StiLegendHorAlignment.Left: l.x = s.x + u; break; case t.StiLegendHorAlignment.Center: l.x = s.x + (s.width - l.width) / 2; break; case t.StiLegendHorAlignment.Right: l.x = s.right - u - l.width, r.legend.showShadow && r.legend.vertAlignment == t.StiLegendVertAlignment.BottomOutside && (l.x -= 5, s.width -= 5); break; case t.StiLegendHorAlignment.RightOutside: l.x = a.right - l.width, s.width -= l.width + u, r.legend.showShadow && (l.x -= 5, s.width -= 5); break } switch (r.legend.vertAlignment) { case t.StiLegendVertAlignment.TopOutside: l.y = a.y, s.height -= l.height + c, s.y += l.height + c; break; case t.StiLegendVertAlignment.Top: l.y = s.y + c; break; case t.StiLegendVertAlignment.Center: l.y = s.y + (s.height - l.height) / 2; break; case t.StiLegendVertAlignment.Bottom: l.y = s.bottom - c - l.height, !r.legend.showShadow || r.legend.horAlignment != t.StiLegendHorAlignment.LeftOutside && r.legend.horAlignment != t.StiLegendHorAlignment.RightOutside || (l.y -= 5, s.height -= 5); break; case t.StiLegendVertAlignment.BottomOutside: l.y = a.bottom - l.height, s.height -= l.height + c, r.legend.showShadow && (l.y -= 5, s.height -= 5); break } r.legend.vertAlignment == t.StiLegendVertAlignment.BottomOutside || r.legend.vertAlignment == t.StiLegendVertAlignment.TopOutside ? (r.legend.horAlignment == t.StiLegendHorAlignment.Left && (l.x -= u), r.legend.horAlignment == t.StiLegendHorAlignment.Right && (l.x += u)) : r.legend.horAlignment != t.StiLegendHorAlignment.RightOutside && r.legend.horAlignment != t.StiLegendHorAlignment.LeftOutside || (r.legend.vertAlignment == t.StiLegendVertAlignment.Top && (l.y -= c), r.legend.vertAlignment == t.StiLegendVertAlignment.Bottom && (l.y += c)), i.ref = a, n.ref = s, o.ref = l } , Object.defineProperty(e.prototype, "chart", { get: function() { return this._chart }, set: function(e) { this._chart = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "fullRectangle", { get: function() { return this._fullRectangle }, enumerable: !0, configurable: !0 }), e }(); t.StiChartCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.System.Drawing.Color , l = function() { function l() { this._visible = !1, this._allowApplyStyle = !0, this._markerVisible = !0, this._gridLineColor = s.gray, this._gridLinesHor = !0, this._gridLinesVert = !0, this._gridOutline = !0, this._format = "", this._chart = null, this.header = new r.StiChartTableHeader, this.dataCells = new r.StiChartTableDataCells, this.core = new r.StiChartTableCoreXF(this) } return l.prototype.implements = function() { return l.implementsStiChartTable || (l.implementsStiChartTable = [o, r.IStiChartTable, a]), l.implementsStiChartTable } , l.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyBool("Visible", this._visible), t.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), t.addPropertyBool("MarkerVisible", this._markerVisible, !0), t.addPropertyStringNullOrEmpty("GridLineColor", i.Serialize.jColor(this._gridLineColor, s.gray)), t.addPropertyBool("GridLinesHor", this._gridLinesHor, !0), t.addPropertyBool("GridLinesVert", this._gridLinesVert, !0), t.addPropertyBool("GridOutline", this._gridOutline, !0), t.addPropertyStringNullOrEmpty("Format", this._format), t.addPropertyJObject("Header", this._header.saveToJsonObject(e)), t.addPropertyJObject("DataCells", this._dataCells.saveToJsonObject(e)), t } , l.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Font": this.dataCells.font = i.Deserialize.font(a.value.toString(), this.dataCells.font); break; case "Visible": this._visible = a.value.stimulsoft.toBoolean(); break; case "AllowApplyStyle": this._allowApplyStyle = a.value.stimulsoft.toBoolean(); break; case "MarkerVisible": this._markerVisible = a.value.stimulsoft.toBoolean(); break; case "GridLineColor": this._gridLineColor = i.Deserialize.color(a.value.toString()); break; case "TextColor": this.dataCells.textColor = i.Deserialize.color(a.value.toString()); break; case "GridLinesHor": this._gridLinesHor = a.value.stimulsoft.toBoolean(); break; case "GridLinesVert": this._gridLinesVert = a.value.stimulsoft.toBoolean(); break; case "GridOutline": this._gridOutline = a.value.stimulsoft.toBoolean(); break; case "Format": this._format = a.value.toString(); break; case "Header": this._header.loadFromJsonObject(a.value); break; case "DataCells": this._dataCells.loadFromJsonObject(a.value); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , l.prototype.loadFromXml = function(t) { for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "Font": case "fn": this.dataCells.font = e.System.Convert.toFont(n.textContent); break; case "Visible": this._visible = n.textContent.stimulsoft.toBoolean(); break; case "AllowApplyStyle": this._allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break; case "MarkerVisible": this._markerVisible = n.textContent.stimulsoft.toBoolean(); break; case "GridLineColor": this._gridLineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "TextColor": this.dataCells.textColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "GridLinesHor": this._gridLinesHor = n.textContent.stimulsoft.toBoolean(); break; case "GridLinesVert": this._gridLinesVert = n.textContent.stimulsoft.toBoolean(); break; case "GridOutline": this._gridOutline = n.textContent.stimulsoft.toBoolean(); break; case "Format": this._format = n.textContent; break; case "Header": var o = new r.StiChartTableHeader; o.loadFromXml(n), this._header = o; break; case "DataCells": var a = new r.StiChartTableDataCells; a.loadFromXml(n), this._dataCells = a; break } } } , Object.defineProperty(l.prototype, "componentId", { get: function() { return t.StiComponentId.StiChartTable }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), l.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.font = this.font.clone(), e.header = this.header.clone(), e.dataCells = this.dataCells.clone(), null != this.core && (e.core = this.core.clone(), e.core.chartTable = e), e } , Object.defineProperty(l.prototype, "font", { get: function() { return this.dataCells.font }, set: function(e) { this.dataCells.font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "markerVisible", { get: function() { return this._markerVisible }, set: function(e) { this._markerVisible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "gridLineColor", { get: function() { return this._gridLineColor }, set: function(e) { this._gridLineColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "textColor", { get: function() { return this.dataCells.textColor }, set: function(e) { this.dataCells.textColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "gridLinesHor", { get: function() { return this._gridLinesHor }, set: function(e) { this._gridLinesHor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "gridLinesVert", { get: function() { return this._gridLinesVert }, set: function(e) { this._gridLinesVert = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "gridOutline", { get: function() { return this._gridOutline }, set: function(e) { this._gridOutline = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "format", { get: function() { return this._format }, set: function(e) { this._format = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "header", { get: function() { return this._header }, set: function(e) { this._header = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "dataCells", { get: function() { return this._dataCells }, set: function(e) { this._dataCells = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "chart", { get: function() { return this._chart }, set: function(e) { this._chart = e }, enumerable: !0, configurable: !0 }), l }(); r.StiChartTable = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.System.Drawing.StringAlignment , l = e.Base.Drawing.StiSolidBrush , u = e.Base.Drawing.StiBrush , c = e.System.Enum , h = e.System.Drawing.Color , p = e.System.Drawing.Font , f = e.System.Drawing.FontStyle , m = function() { function m(e, t, i, n, o, a, u, c, m) { void 0 === e && (e = new p("Tahoma",12,f.Bold)), void 0 === t && (t = ""), void 0 === i && (i = new l(h.saddleBrown)), void 0 === n && (n = !0), void 0 === o && (o = s.Center), void 0 === a && (a = r.StiChartTitleDock.Top), void 0 === u && (u = 2), void 0 === c && (c = !1), void 0 === m && (m = !0), this._allowApplyStyle = !0, this._font = new p("Tahoma",12,f.Bold), this._text = "", this._brush = new l(h.saddleBrown), this._antialiasing = !0, this._alignment = s.Center, this._dock = r.StiChartTitleDock.Top, this._spacing = 2, this._visible = !1, this._chart = null, this.core = new r.StiChartTitleCoreXF(this), this.font = e, this.text = t, this.brush = i, this.antialiasing = n, this.alignment = o, this.dock = a, this.spacing = u, this.visible = c, this.allowApplyStyle = m } return m.prototype.implements = function() { return m.implementsStiChartTitle || (m.implementsStiChartTitle = [r.IStiChartTitle, a, o]), m.implementsStiChartTitle } , m.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), t.addPropertyStringNullOrEmpty("Font", i.Serialize.font(this._font, "Tahoma", 12, f.Bold)), t.addPropertyStringNullOrEmpty("Text", this._text), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), t.addPropertyBool("Antialiasing", this._antialiasing, !0), t.addPropertyEnum("Alignment", s, this._alignment, s.Center), t.addPropertyEnum("Dock", r.StiChartTitleDock, this._dock, r.StiChartTitleDock.Top), t.addPropertyNumber("Spacing", this._spacing, 2), t.addPropertyBool("Visible", this._visible), t } , m.prototype.loadFromJsonObject = function(e) { var t, n; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var l = a.value; switch (l.name) { case "AllowApplyStyle": this.allowApplyStyle = l.value.stimulsoft.toBoolean(); break; case "Font": this._font = i.Deserialize.font(l.value.toString(), this._font); break; case "Text": this._text = l.value.toString(); break; case "Brush": this._brush = i.Deserialize.brush(l.value.toString()); break; case "Antialiasing": this._antialiasing = l.value.stimulsoft.toBoolean(); break; case "Alignment": this._alignment = c.parse(s, l.value.toString()); break; case "Dock": this._dock = c.parse(r.StiChartTitleDock, l.value.toString()); break; case "Spacing": this._spacing = l.value.stimulsoft.toNumber(); break; case "Visible": this._visible = l.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (t) throw t.error } } } , m.prototype.loadFromXml = function(t) { for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "AllowApplyStyle": this.allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break; case "Font": case "fn": this._font = e.System.Convert.toFont(n.textContent); break; case "Text": case "text": this._text = n.textContent; break; case "Brush": case "bh": this._brush = u.convertToBrush(n.textContent); break; case "Antialiasing": this._antialiasing = n.textContent.stimulsoft.toBoolean(); break; case "Alignment": this._alignment = c.parse(s, n.textContent); break; case "Dock": this._dock = c.parse(r.StiChartTitleDock, n.textContent); break; case "Spacing": this._spacing = n.textContent.stimulsoft.toNumber(); break; case "Visible": this._visible = n.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(m.prototype, "componentId", { get: function() { return t.StiComponentId.StiChartTitle }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), m.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.alignment = this.alignment, e.font = this.font.clone(), e.brush = this.brush.clone(), null != this.core && (e.core = this.core.clone(), e.core.chartTitle = e), e } , Object.defineProperty(m.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != this.chart && this.core.applyStyle(this.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "text", { get: function() { return this._text }, set: function(e) { this._text = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "antialiasing", { get: function() { return this._antialiasing }, set: function(e) { this._antialiasing = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "alignment", { get: function() { return this._alignment }, set: function(e) { this._alignment = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "dock", { get: function() { return this._dock }, set: function(e) { this._dock = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "spacing", { get: function() { return this._spacing }, set: function(e) { this._spacing = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "chart", { get: function() { return this._chart }, set: function(e) { this._chart = e }, enumerable: !0, configurable: !0 }), m }(); r.StiChartTitle = m }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.StiJson , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.Base.Localization.StiLocalization , a = e.System.Collections.CollectionBase , s = function(e) { function a() { var t = null !== e && e.apply(this, arguments) || this; return t.chart = null, t } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiStripsCollection || (a.implementsStiStripsCollection = [n, t.IStiApplyStyle, t.IStiStripsCollection]), a.implementsStiStripsCollection } , a.prototype.saveToJsonObject = function(e) { var t, r; if (0 == this.list.length) return null; var n = new i , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(e)), o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return n } , a.prototype.loadFromJsonObject = function(e) { var r, i; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = new t.StiStrips; s.chart = this.chart, this.add(s), s.loadFromJsonObject(a.value) } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , a.prototype.loadFromXml = function(e) { 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") && "Stimulsoft.Report.Chart.StiStrips" == i.attributes.getNamedItem("type").value) { var n = new t.StiStrips; n.chart = this.chart, this.add(n), n.loadFromXml(i) } } } , a.prototype.applyStyle = function(e) { var t, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { n.value.core.applyStyle(e) } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } } , a.prototype.getStripsTitle = function() { var e, t, r = o.get("Chart", "Strip"), i = r, n = 1, a = !0; while (a) { i = r + " " + n.toString(), a = !1; try { for (var s = (e = void 0, __values(this.list)), l = s.next(); !l.done; l = s.next()) { if (l.value.text == i) { a = !0; break } } } catch (t) { e = { error: t } } finally { try { l && !l.done && (t = s.return) && t.call(s) } finally { if (e) throw e.error } } n++ } return i } , a.prototype.add = function(t) { null != this.chart && (r.isNullOrEmpty(t.text) && (t.text = this.getStripsTitle()), t.chart = this.chart), e.prototype.add.call(this, t) } , a }(a); t.StiStripsCollection = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.StiJson , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.Base.Localization.StiLocalization , a = e.System.Collections.CollectionBase , s = function(e) { function a() { var t = null !== e && e.apply(this, arguments) || this; return t.chart = null, t } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiConstantLinesCollection || (a.implementsStiConstantLinesCollection = [n, t.IStiApplyStyle, t.IStiConstantLinesCollection]), a.implementsStiConstantLinesCollection } , a.prototype.saveToJsonObject = function(e) { var t, r; if (0 == this.list.length) return null; var n = new i , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(e)), o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return n } , a.prototype.loadFromJsonObject = function(e) { var r, i; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = new t.StiConstantLines; s.chart = this.chart, this.add(s), s.loadFromJsonObject(a.value) } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , a.prototype.loadFromXml = function(e) { 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") && "Stimulsoft.Report.Chart.StiConstantLines" == i.attributes.getNamedItem("type").value) { var n = new t.StiConstantLines; n.chart = this.chart, this.add(n), n.loadFromXml(i) } } } , a.prototype.applyStyle = function(e) { var t, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { n.value.core.applyStyle(e) } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } } , a.prototype.getConstantLineTitle = function() { var e, t, r = o.get("Chart", "ConstantLine"), i = r, n = 1, a = !0; while (a) { i = r + " " + n.toString(), a = !1; try { for (var s = (e = void 0, __values(this.list)), l = s.next(); !l.done; l = s.next()) { if (l.value.text == i) { a = !0; break } } } catch (t) { e = { error: t } } finally { try { l && !l.done && (t = s.return) && t.call(s) } finally { if (e) throw e.error } } n++ } return i } , a.prototype.add = function(t) { null != this.chart && (r.isNullOrEmpty(t.text) && (t.text = this.getConstantLineTitle()), t.chart = this.chart), e.prototype.add.call(this, t) } , a }(a); t.StiConstantLinesCollection = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Base.StiJsonReportObjectHelper , o = e.Base.StiJson , a = e.Base.JsonReportObject.IStiJsonReportObject , s = e.System.ICloneable , l = e.System.Drawing.Size , u = e.Base.Drawing.StiSolidBrush , c = e.Base.Drawing.StiBrush , h = e.System.Enum , p = e.System.Drawing.Color , f = e.Base.Services.StiService , m = e.System.Drawing.Font , S = e.Report.Components.TextFormats.StiFormatService , d = e.Report.Components.TextFormats.StiGeneralFormatService , y = function(f) { function y() { var e = null !== f && f.apply(this, arguments) || this; return e._preventIntersection = !1, e._allowApplyStyle = !0, e._showZeros = !1, e._showNulls = !0, e._markerVisible = !1, e._markerSize = new l(8,6), e._markerAlignment = r.StiMarkerAlignment.Left, e._step = 0, e._valueType = r.StiSeriesLabelsValueType.Value, e._valueTypeSeparator = "-", e._legendValueType = r.StiSeriesLabelsValueType.Value, e._textBefore = "", e._textAfter = "", e._angle = 0, e._format = "", e._antialiasing = !0, e._visible = !0, e._drawBorder = !0, e._useSeriesColor = !1, e._labelColor = p.black, e._borderColor = p.black, e._brush = new u(p.white), e._font = new m("Arial",7), e._chart = null, e._wordWrap = !1, e._width = 0, e } return __extends(y, f), y.prototype.implements = function() { return y.implementsStiSeriesLabels || (y.implementsStiSeriesLabels = f.prototype.implements.call(this).concat([a, r.IStiSeriesLabels, s])), y.implementsStiSeriesLabels } , y.prototype.saveToJsonObject = function(e) { var t = new o; return t.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t.addPropertyBool("PreventIntersection", this._preventIntersection), t.addPropertyBool("AllowApplyStyle", this.allowApplyStyle, !0), t.addPropertyBool("ShowZeros", this.showZeros), t.addPropertyBool("ShowNulls", this._showNulls, !0), t.addPropertyBool("MarkerVisible", this._markerVisible), t.addPropertyJObject("MarkerSize", n.Serialize.size(this._markerSize)), t.addPropertyEnum("MarkerAlignment", r.StiMarkerAlignment, this.markerAlignment, r.StiMarkerAlignment.Left), t.addPropertyNumber("Step", this._step), t.addPropertyEnum("ValueType", r.StiSeriesLabelsValueType, this.valueType, r.StiSeriesLabelsValueType.Value), t.addPropertyStringNullOrEmpty("ValueTypeSeparator", this.valueTypeSeparator), t.addPropertyEnum("LegendValueType", r.StiSeriesLabelsValueType, this.legendValueType, r.StiSeriesLabelsValueType.Value), t.addPropertyStringNullOrEmpty("TextBefore", this._textBefore), t.addPropertyStringNullOrEmpty("TextAfter", this._textAfter), t.addPropertyNumber("Angle", this.angle, 0), t.addPropertyStringNullOrEmpty("Format", this._format), t.addPropertyBool("Antialiasing", this.antialiasing, !0), t.addPropertyBool("Visible", this.visible, !0), t.addPropertyBool("DrawBorder", this.drawBorder, !0), t.addPropertyBool("UseSeriesColor", this.useSeriesColor), t.addPropertyStringNullOrEmpty("LabelColor", n.Serialize.jColor(this.labelColor, p.black)), t.addPropertyStringNullOrEmpty("BorderColor", n.Serialize.jColor(this.borderColor, p.black)), t.addPropertyStringNullOrEmpty("Brush", n.Serialize.jBrush(this.brush)), t.addPropertyStringNullOrEmpty("Font", n.Serialize.font(this.font, "Arial", 7)), t.addPropertyBool("WordWrap", this._wordWrap), t.addPropertyNumber("Width", this._width), null == this.formatService || this.formatService.stimulsoft.is(d) || t.addPropertyJObject("FormatService", this.formatService.saveToJsonObject(e)), t } , y.prototype.loadFromJsonObject = function(e) { var t, i; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "PreventIntersection": this._preventIntersection = s.value.stimulsoft.toBoolean(); break; case "AllowApplyStyle": this.allowApplyStyle = s.value.stimulsoft.toBoolean(); break; case "ShowZeros": this._showZeros = s.value.stimulsoft.toBoolean(); break; case "ShowNulls": this._showNulls = s.value.stimulsoft.toBoolean(); break; case "MarkerVisible": this._markerVisible = s.value.stimulsoft.toBoolean(); break; case "MarkerSize": this._markerSize = n.Deserialize.size(s.value); break; case "MarkerAlignment": this.markerAlignment = h.parse(r.StiMarkerAlignment, s.value.toString()); break; case "Step": this._step = s.value.stimulsoft.toNumber(); break; case "ValueType": this.valueType = h.parse(r.StiSeriesLabelsValueType, s.value.toString()); break; case "ValueTypeSeparator": this.valueTypeSeparator = s.value.toString(); break; case "LegendValueType": this.legendValueType = h.parse(r.StiSeriesLabelsValueType, s.value.toString()); break; case "TextBefore": this._textBefore = s.value.toString(); break; case "TextAfter": this._textAfter = s.value.toString(); break; case "Angle": this.angle = s.value.stimulsoft.toNumber(); break; case "Format": this._format = s.value.toString(); break; case "Antialiasing": this.antialiasing = s.value.stimulsoft.toBoolean(); break; case "Visible": this.visible = s.value.stimulsoft.toBoolean(); break; case "DrawBorder": this.drawBorder = s.value.stimulsoft.toBoolean(); break; case "UseSeriesColor": this.useSeriesColor = s.value.stimulsoft.toBoolean(); break; case "LabelColor": this.labelColor = n.Deserialize.color(s.value.toString()); break; case "BorderColor": this.borderColor = n.Deserialize.color(s.value.toString()); break; case "Brush": this.brush = n.Deserialize.brush(s.value.toString()); break; case "Font": this.font = n.Deserialize.font(s.value.toString(), this.font); break; case "WordWrap": this._wordWrap = s.value.stimulsoft.toBoolean(); break; case "Width": this._width = s.value.stimulsoft.toNumber(); break; case "FormatService": this.formatService = S.createFromJsonObject(s.value); break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (t) throw t.error } } } , y.prototype.loadFromXml = function(t) { for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "PreventIntersection": this._preventIntersection = n.textContent.stimulsoft.toBoolean(); break; case "AllowApplyStyle": this.allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break; case "ShowZeros": this._showZeros = n.textContent.stimulsoft.toBoolean(); break; case "ShowNulls": this._showNulls = n.textContent.stimulsoft.toBoolean(); break; case "MarkerVisible": this._markerVisible = n.textContent.stimulsoft.toBoolean(); break; case "MarkerSize": this._markerSize = l.convertFromXml(n.textContent); break; case "MarkerAlignment": this.markerAlignment = h.parse(r.StiMarkerAlignment, n.textContent); break; case "Step": this._step = n.textContent.stimulsoft.toNumber(); break; case "ValueType": this.valueType = h.parse(r.StiSeriesLabelsValueType, n.textContent); break; case "ValueTypeSeparator": this.valueTypeSeparator = n.textContent.toString(); break; case "LegendValueType": this.legendValueType = h.parse(r.StiSeriesLabelsValueType, n.textContent); break; case "TextBefore": this._textBefore = n.textContent; break; case "TextAfter": this._textAfter = n.textContent; break; case "Angle": this.angle = n.textContent.stimulsoft.toNumber(); break; case "Format": this._format = n.textContent; break; case "Antialiasing": this.antialiasing = n.textContent.stimulsoft.toBoolean(); break; case "Visible": this.visible = n.textContent.stimulsoft.toBoolean(); break; case "DrawBorder": this.drawBorder = n.textContent.stimulsoft.toBoolean(); break; case "UseSeriesColor": this.useSeriesColor = n.textContent.stimulsoft.toBoolean(); break; case "LabelColor": this.labelColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "BorderColor": this.borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "Brush": case "bh": this.brush = c.convertToBrush(n.textContent); break; case "Font": case "fn": this.font = e.System.Convert.toFont(n.textContent); break; case "WordWrap": this._wordWrap = n.textContent.stimulsoft.toBoolean(); break; case "Width": this._width = n.textContent.stimulsoft.toNumber(); break } } } , y.loadFromJsonObjectInternal = function(e, t) { var r = e.properties().firstOrDefault(function(e) { return "Ident" == e.name }).value.toString() , n = StiOptions.Services.chartSerieLabels.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == r }); if (null == n) throw i.format("Type {0} is not found!", r); var o = n.createNew(); return o.chart = t, o.loadFromJsonObject(e), o } , y.loadLabelsFromXml = function(e, t) { var n = e.attributes.getNamedItem("type").value; switch (n) { case "Stimulsoft.Report.Chart.StiNoneLabels": var o = new r.StiNoneLabels; return o.chart = t, o.loadFromXml(e), o; case "Stimulsoft.Report.Chart.StiCenterAxisLabels": var a = new r.StiCenterAxisLabels; return a.chart = t, a.loadFromXml(e), a; case "Stimulsoft.Report.Chart.StiOutsideAxisLabels": var s = new r.StiOutsideAxisLabels; return s.chart = t, s.loadFromXml(e), s; case "Stimulsoft.Report.Chart.StiInsideBaseAxisLabels": var l = new r.StiInsideBaseAxisLabels; return l.chart = t, l.loadFromXml(e), l; case "Stimulsoft.Report.Chart.StiInsideEndAxisLabels": var u = new r.StiInsideEndAxisLabels; return u.chart = t, u.loadFromXml(e), u; case "Stimulsoft.Report.Chart.StiOutsideBaseAxisLabels": var c = new r.StiOutsideBaseAxisLabels; return c.chart = t, c.loadFromXml(e), c; case "Stimulsoft.Report.Chart.StiOutsideEndAxisLabels": var h = new r.StiOutsideEndAxisLabels; return h.chart = t, h.loadFromXml(e), h; case "Stimulsoft.Report.Chart.StiLeftAxisLabels": var p = new r.StiLeftAxisLabels; return p.chart = t, p.loadFromXml(e), p; case "Stimulsoft.Report.Chart.StiValueAxisLabels": var f = new r.StiValueAxisLabels; return f.chart = t, f.loadFromXml(e), f; case "Stimulsoft.Report.Chart.StiRightAxisLabels": var m = new r.StiRightAxisLabels; return m.chart = t, m.loadFromXml(e), m; case "Stimulsoft.Report.Chart.StiInsideEndPieLabels": var S = new r.StiInsideEndPieLabels; return S.chart = t, S.loadFromXml(e), S; case "Stimulsoft.Report.Chart.StiCenterPieLabels": var d = new r.StiCenterPieLabels; return d.chart = t, d.loadFromXml(e), d; case "Stimulsoft.Report.Chart.StiOutsidePieLabels": var y = new r.StiOutsidePieLabels; return y.chart = t, y.loadFromXml(e), y; case "Stimulsoft.Report.Chart.StiTwoColumnsPieLabels": var g = new r.StiTwoColumnsPieLabels; return g.chart = t, g.loadFromXml(e), g; case "Stimulsoft.Report.Chart.StiCenterFunnelLabels": var b = new r.StiCenterFunnelLabels; return b.chart = t, b.loadFromXml(e), b; case "Stimulsoft.Report.Chart.StiOutsideRightFunnelLabels": var v = new r.StiOutsideRightFunnelLabels; return v.chart = t, v.loadFromXml(e), v; case "Stimulsoft.Report.Chart.StiOutsideLeftFunnelLabels": var C = new r.StiOutsideLeftFunnelLabels; return C.chart = t, C.loadFromXml(e), C; case "Stimulsoft.Report.Chart.StiCenterTreemapLabels": var w = new r.StiCenterTreemapLabels; return w.chart = t, w.loadFromXml(e), w } throw i.format("Type {0} is not found!", n) } , Object.defineProperty(y.prototype, "componentId", { get: function() { return t.StiComponentId.StiSeriesLabels }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), y.prototype.clone = function() { var e = f.prototype.clone.call(this); return e.brush = this.brush.clone(), e.font = this.font.clone(), null != this.core && (e.core = this.core.clone(), e.core.seriesLabels = e), e } , Object.defineProperty(y.prototype, "serviceName", { get: function() { return this.core.localizedName }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "serviceCategory", { get: function() { return "Chart" }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "serviceType", { get: function() { return y }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "preventIntersection", { get: function() { return this._preventIntersection }, set: function(e) { this._preventIntersection = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "axisCore", { get: function() { return this.core }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "pieCore", { get: function() { return this.core }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != r && this.core.applyStyle(this.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "conditions", { get: function() { if (null == this.chart) return null; return this.chart.seriesLabelsConditions }, set: function(e) { if (null == this.chart) return; this.chart.seriesLabelsConditions = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "showOnZeroValues", { get: function() { return this.showZeros }, set: function(e) { this.showZeros = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "showZeros", { get: function() { return this._showZeros }, set: function(e) { this._showZeros = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "showNulls", { get: function() { return this._showNulls }, set: function(e) { this._showNulls = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "markerVisible", { get: function() { return this._markerVisible }, set: function(e) { this._markerVisible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "markerSize", { get: function() { return this._markerSize }, set: function(e) { this._markerSize = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "markerAlignment", { get: function() { return this._markerAlignment }, set: function(e) { this._markerAlignment = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "step", { get: function() { return this._step }, set: function(e) { this._step = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "valueType", { get: function() { return this._valueType }, set: function(e) { this._valueType != e && (this._valueType = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "valueTypeSeparator", { get: function() { return this._valueTypeSeparator }, set: function(e) { this._valueTypeSeparator != e && (this._valueTypeSeparator = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "legendValueType", { get: function() { return this._legendValueType }, set: function(e) { this._legendValueType = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "textBefore", { get: function() { return this._textBefore }, set: function(e) { this._textBefore = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "textAfter", { get: function() { return this._textAfter }, set: function(e) { this._textAfter = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "angle", { get: function() { return this._angle }, set: function(e) { this._angle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "format", { get: function() { return this._format }, set: function(e) { this._format = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "antialiasing", { get: function() { return this._antialiasing }, set: function(e) { this._antialiasing = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "drawBorder", { get: function() { return this._drawBorder }, set: function(e) { this._drawBorder = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "useSeriesColor", { get: function() { return this._useSeriesColor }, set: function(e) { this._useSeriesColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "labelColor", { get: function() { return this._labelColor }, set: function(e) { this._labelColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "chart", { get: function() { return this._chart }, set: function(e) { this._chart = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "wordWrap", { get: function() { return this._wordWrap }, set: function(e) { this._wordWrap = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "width", { get: function() { return this._width }, set: function(e) { this._width = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "formatService", { get: function() { return this._formatService }, set: function(e) { this._formatService = e }, enumerable: !0, configurable: !0 }), y.prototype.toString = function() { return this.serviceName } , y.prototype.createNew = function() { return null } , y }(f); r.StiSeriesLabels = y }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._showInPercent = !1, t } return __extends(n, e), n.prototype.implements = function() { return n.implementsStiAxisSeriesLabels || (n.implementsStiAxisSeriesLabels = e.prototype.implements.call(this).concat([r, t.IStiSeriesLabels, i, t.IStiAxisSeriesLabels])), n.implementsStiAxisSeriesLabels } , n.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("ShowInPercent", this._showInPercent), r } , n.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ShowInPercent": this._showInPercent = a.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , n.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowInPercent": this._showInPercent = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(n.prototype, "showInPercent", { get: function() { return this._showInPercent }, set: function(e) { this._showInPercent = e, this._showInPercent && !this.format.stimulsoft.startsWith("P") && (this.format = "P2"), this._showInPercent || (this.format = "") }, enumerable: !0, configurable: !0 }), n }(t.StiSeriesLabels); t.StiAxisSeriesLabels = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiCenterAxisLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiCenterAxisLabels || (o.implementsStiCenterAxisLabels = e.prototype.implements.call(this).concat([i, r.IStiSeriesLabels, r.IStiCenterAxisLabels, r.IStiAxisSeriesLabels, n])), o.implementsStiCenterAxisLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiCenterAxisLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiAxisSeriesLabels); r.StiCenterAxisLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJson , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.Base.Drawing.StiPenStyle , a = e.System.Drawing.Color , s = e.System.Enum , l = e.Base.StiJsonReportObjectHelper , u = function() { function u(e, r, i, n, s, l, u, c, h, p, f, m, S) { void 0 === e && (e = new t.StiAxisLabels), void 0 === r && (r = new t.StiAxisRange), void 0 === i && (i = null), void 0 === n && (n = new t.StiAxisTicks), void 0 === s && (s = new t.StiAxisInteraction), void 0 === l && (l = t.StiArrowStyle.None), void 0 === u && (u = o.Solid), void 0 === c && (c = a.gray), void 0 === h && (h = 1), void 0 === p && (p = !0), void 0 === f && (f = !0), void 0 === m && (m = !0), void 0 === S && (S = !1), this._logarithmicScale = !1, this._allowApplyStyle = !0, this._startFromZero = !0, this._interaction = new t.StiAxisInteraction, this._labels = new t.StiAxisLabels, this._range = new t.StiAxisRange, this._ticks = new t.StiAxisTicks, this._arrowStyle = t.StiArrowStyle.None, this._lineStyle = o.Solid, this._lineColor = a.gray, this._lineWidth = 1, this._visible = !0, this._info = new t.StiAxisInfoXF, this._labels = e, this._range = r, this._title = i, this._ticks = n, this._interaction = s, this._arrowStyle = l, this._lineStyle = u, this._lineColor = c, this._lineWidth = h, this._visible = p, this._startFromZero = f, this._allowApplyStyle = m, this._logarithmicScale = S } return u.prototype.implements = function() { return u.implementsStiAxis || (u.implementsStiAxis = [i, n, t.IStiAxis, i]), u.implementsStiAxis } , u.prototype.saveToJsonObject = function(e) { var i = new r; return i.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), i.addPropertyBool("LogarithmicScale", this.logarithmicScale), i.addPropertyBool("AllowApplyStyle", this.allowApplyStyle, !0), i.addPropertyBool("StartFromZero", this.startFromZero, !0), i.addPropertyJObject("Interaction", this._interaction.saveToJsonObject(e)), i.addPropertyJObject("Labels", this._labels.saveToJsonObject(e)), i.addPropertyJObject("Range", this.range.saveToJsonObject(e)), i.addPropertyBool("Visible", this._visible, !0), i.addPropertyEnum("ArrowStyle", t.StiArrowStyle, this._arrowStyle, t.StiArrowStyle.None), i.addPropertyEnum("LineStyle", o, this._arrowStyle, o.Solid), i.addPropertyStringNullOrEmpty("LineColor", l.Serialize.jColor(this._lineColor, a.gray)), i.addPropertyNumber("LineWidth", this._lineWidth, 1), null != this._title && i.addPropertyJObject("Title", this._title.saveToJsonObject(e)), null != this._ticks && i.addPropertyJObject("Ticks", this._ticks.saveToJsonObject(e)), i } , u.prototype.loadFromJsonObject = function(e) { var r, i; try { for (var n = __values(e.properties()), a = n.next(); !a.done; a = n.next()) { var u = a.value; switch (u.name) { case "LogarithmicScale": this.logarithmicScale = u.value.stimulsoft.toBoolean(); break; case "AllowApplyStyle": this.allowApplyStyle = u.value.stimulsoft.toBoolean(); break; case "StartFromZero": this.startFromZero = u.value.stimulsoft.toBoolean(); break; case "Interaction": this._interaction.loadFromJsonObject(u.value); break; case "Labels": this._labels.loadFromJsonObject(u.value); break; case "Range": this.range.loadFromJsonObject(u.value); break; case "Title": this.title.loadFromJsonObject(u.value); break; case "Ticks": this.ticks.loadFromJsonObject(u.value); break; case "Visible": this._visible = u.value.stimulsoft.toBoolean(); break; case "ArrowStyle": this._arrowStyle = s.parse(t.StiArrowStyle, u.value.toString()); break; case "LineStyle": this._lineStyle = s.parse(o, u.value.toString()); break; case "LineColor": this._lineColor = l.Deserialize.color(u.value.toString()); break; case "LineWidth": this._lineWidth = u.value.stimulsoft.toNumber(); break } } } catch (e) { r = { error: e } } finally { try { a && !a.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , u.prototype.loadFromXml = function(r) { for (var i = 0; i < r.childNodes.length; i++) { var n = r.childNodes[i]; switch (n.nodeName) { case "LogarithmicScale": this.logarithmicScale = n.textContent.stimulsoft.toBoolean(); break; case "AllowApplyStyle": this.allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break; case "StartFromZero": this.startFromZero = n.textContent.stimulsoft.toBoolean(); break; case "Interaction": this._interaction.loadFromXml(n); break; case "Labels": this._labels.loadFromXml(n); break; case "Range": this.range.loadFromXml(n); break; case "Title": this.title.loadFromXml(n); break; case "Ticks": this.ticks.loadFromXml(n); break; case "Visible": this._visible = n.textContent.stimulsoft.toBoolean(); break; case "ArrowStyle": this._arrowStyle = s.parse(t.StiArrowStyle, n.textContent); break; case "LineStyle": this._lineStyle = s.parse(o, n.textContent); break; case "LineColor": this._lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "LineWidth": this._lineWidth = n.textContent.stimulsoft.toNumber(); break } } } , u.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.arrowStyle = this.arrowStyle, e.lineStyle = this.lineStyle, e.labels = this.labels.clone(), e.range = this.range.clone(), e.title = this.title.clone(), e.ticks = this.ticks.clone(), null != this.core && (e.core = this.core.clone(), e.core.axis = e), e } , Object.defineProperty(u.prototype, "logarithmicScale", { get: function() { return this._logarithmicScale }, set: function(e) { this._logarithmicScale = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != this.area && null != this.area.chart && this.core.applyStyle(this.area.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "startFromZero", { get: function() { return this._startFromZero }, set: function(e) { this._startFromZero = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "step", { get: function() { if (null == this.labels) return 0; return this.labels.step }, set: function(e) { null != this.labels && (this.labels.step = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "interaction", { get: function() { return this._interaction }, set: function(e) { this._interaction = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "labels", { get: function() { return this._labels }, set: function(e) { this._labels = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "range", { get: function() { return this._range }, set: function(e) { this._range = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "title", { get: function() { return null == this._title && (this._title = new t.StiAxisTitle, this.stimulsoft.is(t.StiXBottomAxis) ? this._title.direction = t.StiDirection.LeftToRight : this.stimulsoft.is(t.StiXTopAxis) ? this._title.direction = t.StiDirection.LeftToRight : this.stimulsoft.is(t.StiYRightAxis) ? this._title.direction = t.StiDirection.TopToBottom : this.stimulsoft.is(t.StiYLeftAxis) && (this._title.direction = t.StiDirection.BottomToTop)), this._title }, set: function(e) { null == this._title && (this._title = new t.StiAxisTitle, this.stimulsoft.is(t.StiXBottomAxis) ? this._title.direction = t.StiDirection.LeftToRight : this.stimulsoft.is(t.StiXTopAxis) ? this._title.direction = t.StiDirection.LeftToRight : this.stimulsoft.is(t.StiYRightAxis) ? this._title.direction = t.StiDirection.TopToBottom : this.stimulsoft.is(t.StiYLeftAxis) && (this._title.direction = t.StiDirection.BottomToTop)), this._title = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "ticks", { get: function() { return this._ticks }, set: function(e) { this._ticks = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "arrowStyle", { get: function() { return this._arrowStyle }, set: function(e) { this._arrowStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "lineStyle", { get: function() { return this._lineStyle }, set: function(e) { this._lineStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "lineColor", { get: function() { return this._lineColor }, set: function(e) { this._lineColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "lineWidth", { get: function() { return this._lineWidth }, set: function(e) { this._lineWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "titleDirection", { get: function() { if (null == this.title) return t.StiLegendDirection.BottomToTop; switch (this.title.direction) { case t.StiDirection.BottomToTop: return t.StiLegendDirection.BottomToTop; case t.StiDirection.LeftToRight: return t.StiLegendDirection.LeftToRight; case t.StiDirection.RightToLeft: return t.StiLegendDirection.RightToLeft; case t.StiDirection.TopToBottom: return t.StiLegendDirection.TopToBottom } return t.StiLegendDirection.BottomToTop }, set: function(e) { if (null == this.title) return; switch (e) { case t.StiLegendDirection.BottomToTop: this.title.direction = t.StiDirection.BottomToTop; break; case t.StiLegendDirection.LeftToRight: this.title.direction = t.StiDirection.LeftToRight; break; case t.StiLegendDirection.RightToLeft: this.title.direction = t.StiDirection.RightToLeft; break; case t.StiLegendDirection.TopToBottom: this.title.direction = t.StiDirection.TopToBottom; break } }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "area", { get: function() { return this._area }, set: function(e) { this._area = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "info", { get: function() { return this._info }, set: function(e) { this._info = e }, enumerable: !0, configurable: !0 }), u }(); t.StiAxis = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.Base.Drawing.StiPenStyle , a = e.System.Enum , s = e.System.Drawing.Color , l = function(e) { function l(t, i, n, a, l, u, c, h, p, f, m, S, d, y) { void 0 === t && (t = new r.StiAxisLabels), void 0 === i && (i = new r.StiAxisRange), void 0 === n && (n = null), void 0 === a && (a = new r.StiAxisTicks), void 0 === l && (l = new r.StiAxisInteraction), void 0 === u && (u = r.StiArrowStyle.None), void 0 === c && (c = o.Solid), void 0 === h && (h = s.gray), void 0 === p && (p = 1), void 0 === f && (f = !0), void 0 === m && (m = !0), void 0 === S && (S = r.StiShowYAxis.Both), void 0 === d && (d = !0), void 0 === y && (y = !1); var g = e.call(this, t, i, n, a, l, u, c, h, p, f, m, d, y) || this; return g._showYAxis = r.StiShowYAxis.Both, g._showYAxis = S, g } return __extends(l, e), l.prototype.implements = function() { return l.implementsStiYAxis || (l.implementsStiYAxis = e.prototype.implements.call(this).concat([i, r.IStiYAxis, n, r.IStiAxis])), l.implementsStiYAxis } , l.prototype.saveToJsonObject = function(t) { var i = e.prototype.saveToJsonObject.call(this, t); return i.addPropertyEnum("ShowYAxis", r.StiShowYAxis, this.showYAxis, r.StiShowYAxis.Both), i } , l.prototype.loadFromJsonObject = function(t) { var i, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), s = o.next(); !s.done; s = o.next()) { var l = s.value; switch (l.name) { case "ShowYAxis": this.showYAxis = a.parse(r.StiShowYAxis, l.value.toString()); break } } } catch (e) { i = { error: e } } finally { try { s && !s.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , l.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "ShowYAxis": this.showYAxis = a.parse(r.StiShowYAxis, n.textContent); break } } } , Object.defineProperty(l.prototype, "componentId", { get: function() { return t.StiComponentId.StiYAxis }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "showYAxis", { get: function() { return this._showYAxis }, set: function(e) { this._showYAxis = e }, enumerable: !0, configurable: !0 }), l }(r.StiAxis); r.StiYAxis = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.Base.Drawing.StiPenStyle , a = e.Base.Drawing.StiHorAlignment , s = e.System.Drawing.Color , l = function(e) { function l(t, i, n, l, u, c, h, p, f, m, S, d, y) { void 0 === t && (t = new r.StiAxisLabels), void 0 === i && (i = new r.StiAxisRange), void 0 === n && (n = null), void 0 === l && (l = new r.StiAxisTicks), void 0 === u && (u = new r.StiAxisInteraction), void 0 === c && (c = r.StiArrowStyle.None), void 0 === h && (h = o.Solid), void 0 === p && (p = s.gray), void 0 === f && (f = 1), void 0 === m && (m = !0), void 0 === S && (S = !0), void 0 === d && (d = !0), void 0 === y && (y = !1); var g = e.call(this, t, i, n, l, u, c, h, p, f, m, S, r.StiShowYAxis.Both, d, y) || this; return g.visible = !1, g.labels.textAlignment = a.Left, g.core = new r.StiYRightAxisCoreXF(g), g } return __extends(l, e), l.prototype.implements = function() { return l.implementsStiYRightAxis || (l.implementsStiYRightAxis = e.prototype.implements.call(this).concat([i, r.IStiYAxis, n, r.IStiAxis, r.IStiYRightAxis])), l.implementsStiYRightAxis } , l.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("ShowYAxis"), r.addPropertyBool("Visible", this.visible), r } , Object.defineProperty(l.prototype, "componentId", { get: function() { return t.StiComponentId.StiYRightAxis }, enumerable: !0, configurable: !0 }), l }(r.StiYAxis); r.StiYRightAxis = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.Base.Drawing.StiPenStyle , a = e.System.Enum , s = e.System.Drawing.Color , l = function(e) { function l(t, i, n, a, l, u, c, h, p, f, m, S, d, y, g, b) { void 0 === t && (t = new r.StiAxisLabels), void 0 === i && (i = new r.StiAxisRange), void 0 === n && (n = null), void 0 === a && (a = new r.StiAxisTicks), void 0 === l && (l = new r.StiAxisInteraction), void 0 === u && (u = r.StiArrowStyle.None), void 0 === c && (c = o.Solid), void 0 === h && (h = s.gray), void 0 === p && (p = 1), void 0 === f && (f = !0), void 0 === m && (m = !0), void 0 === S && (S = r.StiShowXAxis.Both), void 0 === d && (d = !1), void 0 === y && (y = !0), void 0 === g && (g = new r.StiAxisDateTimeStep), void 0 === b && (b = !1); var v = e.call(this, t, i, n, a, l, u, c, h, p, f, m, y, b) || this; return v._showEdgeValues = !1, v._showXAxis = r.StiShowXAxis.Both, v._dateTimeStep = new r.StiAxisDateTimeStep, v._showXAxis = S, v._dateTimeStep = g, v._showEdgeValues = d, v } return __extends(l, e), l.prototype.implements = function() { return l.implementsStiXAxis || (l.implementsStiXAxis = e.prototype.implements.call(this).concat([i, r.IStiAxis, r.IStiXAxis, n])), l.implementsStiXAxis } , l.prototype.saveToJsonObject = function(t) { var i = e.prototype.saveToJsonObject.call(this, t); return i.addPropertyBool("ShowEdgeValues", this._showEdgeValues), i.addPropertyEnum("ShowXAxis", r.StiShowXAxis, this.showXAxis, r.StiShowXAxis.Both), i.addPropertyJObject("DateTimeStep", this.dateTimeStep.saveToJsonObject(t)), i } , l.prototype.loadFromJsonObject = function(t) { var i, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), s = o.next(); !s.done; s = o.next()) { var l = s.value; switch (l.name) { case "ShowEdgeValues": this.showEdgeValues = l.value.stimulsoft.toBoolean(); break; case "ShowXAxis": this.showXAxis = a.parse(r.StiShowXAxis, l.value.toString()); break; case "DateTimeStep": this.dateTimeStep.loadFromJsonObject(l.value); break } } } catch (e) { i = { error: e } } finally { try { s && !s.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , l.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "ShowEdgeValues": this.showEdgeValues = n.textContent.stimulsoft.toBoolean(); break; case "ShowXAxis": this.showXAxis = a.parse(r.StiShowXAxis, n.textContent); break; case "DateTimeStep": this.dateTimeStep.loadFromXml(n); break } } } , Object.defineProperty(l.prototype, "componentId", { get: function() { return t.StiComponentId.StiXAxis }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "showEdgeValues", { get: function() { return this._showEdgeValues }, set: function(e) { this._showEdgeValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "showXAxis", { get: function() { return this._showXAxis }, set: function(e) { this._showXAxis = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "dateTimeStep", { get: function() { return this._dateTimeStep }, set: function(e) { this._dateTimeStep = e }, enumerable: !0, configurable: !0 }), l }(r.StiAxis); r.StiXAxis = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.Base.Drawing.StiPenStyle , a = e.System.Drawing.Color , s = function(e) { function s(t, i, n, s, l, u, c, h, p, f, m, S, d, y, g) { void 0 === t && (t = new r.StiAxisLabels), void 0 === i && (i = new r.StiAxisRange), void 0 === n && (n = null), void 0 === s && (s = new r.StiAxisTicks), void 0 === l && (l = new r.StiAxisInteraction), void 0 === u && (u = r.StiArrowStyle.None), void 0 === c && (c = o.Solid), void 0 === h && (h = a.gray), void 0 === p && (p = 1), void 0 === f && (f = !1), void 0 === m && (m = !0), void 0 === S && (S = r.StiShowXAxis.Both), void 0 === d && (d = !1), void 0 === y && (y = !0), void 0 === g && (g = !1); var b = e.call(this, t, i, n, s, l, u, c, h, p, f, m, r.StiShowXAxis.Both, d, y, new r.StiAxisDateTimeStep, g) || this; return b.core = new r.StiXTopAxisCoreXF(b), b } return __extends(s, e), s.prototype.implements = function() { return s.implementsStiXTopAxis || (s.implementsStiXTopAxis = e.prototype.implements.call(this).concat([r.IStiXTopAxis, n, r.IStiAxis, r.IStiXAxis, i])), s.implementsStiXTopAxis } , s.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("Range"), r.removeProperty("ShowXAxis"), r.removeProperty("DateTimeStep"), r.addPropertyBool("Visible", this.visible), r } , Object.defineProperty(s.prototype, "componentId", { get: function() { return t.StiComponentId.StiXTopAxis }, enumerable: !0, configurable: !0 }), s }(r.StiXAxis); r.StiXTopAxis = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = e.Base.Drawing.StiPenStyle , o = e.System.Drawing.Color , a = function(e) { function a(r, i, a, s, l, u, c, h, p, f, m, S, d, y) { void 0 === r && (r = new t.StiAxisLabels), void 0 === i && (i = new t.StiAxisRange), void 0 === a && (a = null), void 0 === s && (s = new t.StiAxisTicks), void 0 === l && (l = new t.StiAxisInteraction), void 0 === u && (u = t.StiArrowStyle.None), void 0 === c && (c = n.Solid), void 0 === h && (h = o.gray), void 0 === p && (p = 1), void 0 === f && (f = !0), void 0 === m && (m = !0), void 0 === S && (S = t.StiShowYAxis.Both), void 0 === d && (d = !0), void 0 === y && (y = !1); var g = e.call(this, r, i, a, s, l, u, c, h, p, f, m, S, d, y) || this; return g.core = new t.StiYLeftAxisCoreXF(g), g } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiYLeftAxis || (a.implementsStiYLeftAxis = e.prototype.implements.call(this).concat([r, t.IStiYAxis, i, t.IStiAxis, t.IStiYLeftAxis])), a.implementsStiYLeftAxis } , a }(t.StiYAxis); t.StiYLeftAxis = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJsonReportObjectHelper , i = e.Base.StiJson , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiHorAlignment , s = e.System.Enum , l = e.System.Drawing.Color , u = e.System.Drawing.Font , c = function() { function c(e, r, i, n, o, s, c, h, p, f, m, S, d) { void 0 === e && (e = ""), void 0 === r && (r = ""), void 0 === i && (i = ""), void 0 === n && (n = 0), void 0 === o && (o = new u("Tahoma",8)), void 0 === s && (s = !0), void 0 === c && (c = t.StiLabelsPlacement.OneLine), void 0 === h && (h = l.black), void 0 === p && (p = 0), void 0 === f && (f = a.Right), void 0 === m && (m = 0), void 0 === S && (S = !0), void 0 === d && (d = !1), this._allowApplyStyle = !0, this._format = "", this._angle = 0, this._width = 0, this._textBefore = "", this._textAfter = "", this._font = new u("Tahoma",8), this._antialiasing = !0, this._placement = t.StiLabelsPlacement.OneLine, this._color = l.black, this._textAlignment = a.Right, this._step = 0, this._wordWrap = !1, this._format = e, this._textBefore = r, this._textAfter = i, this._angle = n, this._font = o, this._antialiasing = s, this._placement = c, this._color = h, this._width = p, this._textAlignment = f, this._step = m, this._allowApplyStyle = S, this._wordWrap = d, this._core = new t.StiAxisLabelsCoreXF(this) } return c.prototype.implements = function() { return c.implementsStiAxisLabels || (c.implementsStiAxisLabels = [n, t.IStiAxisLabels, o]), c.implementsStiAxisLabels } , c.prototype.saveToJsonObject = function(e) { var n = new i; return n.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), n.addPropertyStringNullOrEmpty("Format", this._format), n.addPropertyNumber("Angle", this._angle, 0), n.addPropertyNumber("Width", this._width, 0), n.addPropertyStringNullOrEmpty("TextBefore", this._textBefore), n.addPropertyStringNullOrEmpty("TextAfter", this._textAfter), n.addPropertyStringNullOrEmpty("Font", r.Serialize.font(this._font, "Tahoma", 8)), n.addPropertyBool("Antialiasing", this._antialiasing, !0), n.addPropertyEnum("Placement", t.StiLabelsPlacement, this._placement, t.StiLabelsPlacement.OneLine), n.addPropertyStringNullOrEmpty("Color", r.Serialize.jColor(this._color, l.black)), n.addPropertyEnum("TextAlignment", a, this.textAlignment, a.Right), n.addPropertyNumber("Step", this.step, 0), n.addPropertyBool("WordWrap", this._wordWrap, !1), n } , c.prototype.loadFromJsonObject = function(e) { var i, n; try { for (var o = __values(e.properties()), l = o.next(); !l.done; l = o.next()) { var u = l.value; switch (u.name) { case "AllowApplyStyle": this._allowApplyStyle = u.value.stimulsoft.toBoolean(); break; case "Format": this._format = u.value.toString(); break; case "Angle": this._angle = u.value.stimulsoft.toNumber(); break; case "Width": this._width = u.value.stimulsoft.toNumber(); break; case "TextBefore": this._textBefore = u.value.toString(); break; case "TextAfter": this._textAfter = u.value.toString(); break; case "Font": this._font = r.Deserialize.font(u.value.toString(), this._font); break; case "Antialiasing": this._antialiasing = u.value.stimulsoft.toBoolean(); break; case "Placement": this._placement = s.parse(t.StiLabelsPlacement, u.value.toString()); break; case "Color": this._color = r.Deserialize.color(u.value.toString()); break; case "TextAlignment": this.textAlignment = s.parse(a, u.value.toString()); break; case "Step": this.step = u.value.stimulsoft.toNumber(); break; case "WordWrap": this.wordWrap = u.value.stimulsoft.toBoolean(); break } } } catch (e) { i = { error: e } } finally { try { l && !l.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , c.prototype.loadFromXml = function(r) { for (var i = 0; i < r.childNodes.length; i++) { var n = r.childNodes[i]; switch (n.nodeName) { case "AllowApplyStyle": this._allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break; case "Format": this._format = n.textContent.toString(); break; case "Angle": this._angle = n.textContent.stimulsoft.toNumber(); break; case "Width": this._width = n.textContent.stimulsoft.toNumber(); break; case "TextBefore": this._textBefore = n.textContent.toString(); break; case "TextAfter": this._textAfter = n.textContent.toString(); break; case "Font": case "fn": this._font = e.System.Convert.toFont(n.textContent); break; case "Antialiasing": this._antialiasing = n.textContent.stimulsoft.toBoolean(); break; case "Placement": this._placement = s.parse(t.StiLabelsPlacement, n.textContent); break; case "Color": this._color = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "TextAlignment": this.textAlignment = s.parse(a, n.textContent); break; case "Step": this.step = n.textContent.stimulsoft.toNumber(); break; case "WordWrap": this.wordWrap = n.textContent.stimulsoft.toBoolean(); break } } } , c.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.placement = this.placement, e.font = this.font.clone(), null != this.core && (e.core = this.core.clone(), e.core.labels = e), e } , Object.defineProperty(c.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "format", { get: function() { return this._format }, set: function(e) { this._format = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "angle", { get: function() { return this._angle }, set: function(e) { this._angle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "width", { get: function() { return this._width }, set: function(e) { this._width = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "textBefore", { get: function() { return this._textBefore }, set: function(e) { this._textBefore = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "textAfter", { get: function() { return this._textAfter }, set: function(e) { this._textAfter = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "antialiasing", { get: function() { return this._antialiasing }, set: function(e) { this._antialiasing = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "placement", { get: function() { return this._placement }, set: function(e) { this._placement = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "textAlignment", { get: function() { return this._textAlignment }, set: function(e) { this._textAlignment = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "step", { get: function() { return this._step }, set: function(e) { this._step = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "wordWrap", { get: function() { return this._wordWrap }, set: function(e) { this._wordWrap = e }, enumerable: !0, configurable: !0 }), c }(); t.StiAxisLabels = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJson , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function() { function e(e, t, r) { void 0 === e && (e = !0), void 0 === t && (t = 0), void 0 === r && (r = 0), this._minimum = 0, this._maximum = 0, this._auto = !0, this._auto = e, this._minimum = t, this._maximum = r } return e.prototype.implements = function() { return e.implementsStiAxisRange || (e.implementsStiAxisRange = [i, n, t.IStiAxisRange]), e.implementsStiAxisRange } , e.prototype.saveToJsonObject = function(e) { var t = new r; return t.addPropertyNumber("Minimum", this._minimum, 0), t.addPropertyNumber("Maximum", this._maximum, 0), t.addPropertyBool("Auto", this._auto, !0), t } , e.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 "Minimum": this._minimum = o.value.stimulsoft.toNumber(); break; case "Maximum": this._maximum = o.value.stimulsoft.toNumber(); break; case "Auto": this._auto = 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 } } } , e.prototype.loadFromXml = function(e) { for (var t = 0; t < e.childNodes.length; t++) { var r = e.childNodes[t]; switch (r.nodeName) { case "Minimum": this._minimum = r.textContent.stimulsoft.toNumber(); break; case "Maximum": this._maximum = r.textContent.stimulsoft.toNumber(); break; case "Auto": this._auto = r.textContent.stimulsoft.toBoolean(); break } } } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "minimum", { get: function() { return this._minimum }, set: function(e) { this._minimum = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "maximum", { get: function() { return this._maximum }, set: function(e) { this._maximum = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "auto", { get: function() { return this._auto }, set: function(e) { this._auto = e }, enumerable: !0, configurable: !0 }), e }(); t.StiAxisRange = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJson , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function() { function e(e, t, r, i, n, o, a) { void 0 === e && (e = !0), void 0 === t && (t = 5), void 0 === r && (r = !1), void 0 === i && (i = 2), void 0 === n && (n = 4), void 0 === o && (o = 0), void 0 === a && (a = 5), this._lengthUnderLabels = 5, this._length = 5, this._minorLength = 2, this._minorCount = 4, this._step = 0, this._minorVisible = !1, this._visible = !0, this._visible = e, this._length = t, this._minorVisible = r, this._minorLength = i, this._minorCount = n, this._step = o, this._lengthUnderLabels = a } return e.prototype.implements = function() { return e.implementsStiAxisTicks || (e.implementsStiAxisTicks = [i, t.IStiAxisTicks, n]), e.implementsStiAxisTicks } , e.prototype.saveToJsonObject = function(e) { var t = new r; return t.addPropertyNumber("LengthUnderLabels", this._lengthUnderLabels, 5), t.addPropertyNumber("Length", this._length, 5), t.addPropertyNumber("MinorLength", this._minorLength, 2), t.addPropertyNumber("MinorCount", this._minorCount, 4), t.addPropertyNumber("Step", this._step), t.addPropertyBool("MinorVisible", this.minorVisible), t.addPropertyBool("Visible", this.visible, !0), t } , e.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 "LengthUnderLabels": this._lengthUnderLabels = o.value.stimulsoft.toNumber(); break; case "Length": this._length = o.value.stimulsoft.toNumber(); break; case "MinorLength": this._minorLength = o.value.stimulsoft.toNumber(); break; case "MinorCount": this._minorCount = o.value.stimulsoft.toNumber(); break; case "Step": this._step = o.value.stimulsoft.toNumber(); break; case "MinorVisible": this.minorVisible = o.value.stimulsoft.toBoolean(); break; case "Visible": this._visible = 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 } } } , e.prototype.loadFromXml = function(e) { for (var t = 0; t < e.childNodes.length; t++) { var r = e.childNodes[t]; switch (r.nodeName) { case "LengthUnderLabels": this._lengthUnderLabels = r.textContent.stimulsoft.toNumber(); break; case "Length": this._length = r.textContent.stimulsoft.toNumber(); break; case "MinorLength": this._minorLength = r.textContent.stimulsoft.toNumber(); break; case "MinorCount": this._minorCount = r.textContent.stimulsoft.toNumber(); break; case "Step": this._step = r.textContent.stimulsoft.toNumber(); break; case "MinorVisible": this.minorVisible = r.textContent.stimulsoft.toBoolean(); break; case "Visible": this._visible = r.textContent.stimulsoft.toBoolean(); break } } } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "lengthUnderLabels", { get: function() { return this._lengthUnderLabels }, set: function(e) { e > 0 && (this._lengthUnderLabels = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "length", { get: function() { return this._length }, set: function(e) { e > 0 && (this._length = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "minorLength", { get: function() { return this._minorLength }, set: function(e) { e > 0 && (this._minorLength = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "minorCount", { get: function() { return this._minorCount }, set: function(e) { e >= 0 && (this._minorCount = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "step", { get: function() { return this._step }, set: function(e) { e >= 0 && (this._step = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "minorVisible", { get: function() { return this._minorVisible }, set: function(e) { this._minorVisible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), e }(); t.StiAxisTicks = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJson , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function() { function e(e, t) { void 0 === e && (e = !1), void 0 === t && (t = !0), this._showScrollBar = !1, this._rangeScrollEnabled = !0, this._showScrollBar = e, this._rangeScrollEnabled = t } return e.prototype.implements = function() { return e.implementsStiAxisInteraction || (e.implementsStiAxisInteraction = [i, t.IStiAxisInteraction, n]), e.implementsStiAxisInteraction } , e.prototype.saveToJsonObject = function(e) { var t = new r; return t.addPropertyBool("ShowScrollBar", this._showScrollBar), t.addPropertyBool("RangeScrollEnabled", this._rangeScrollEnabled, !0), t } , e.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 "ShowScrollBar": this._showScrollBar = o.value.stimulsoft.toBoolean(); break; case "RangeScrollEnabled": this._rangeScrollEnabled = 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 } } } , e.prototype.loadFromXml = function(e) { for (var t = 0; t < e.childNodes.length; t++) { var r = e.childNodes[t]; switch (r.nodeName) { case "ShowScrollBar": this._showScrollBar = r.textContent.stimulsoft.toBoolean(); break; case "RangeScrollEnabled": this._rangeScrollEnabled = r.textContent.stimulsoft.toBoolean(); break } } } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "showScrollBar", { get: function() { return this._showScrollBar }, set: function(e) { this._showScrollBar != e && (this._showScrollBar = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "rangeScrollEnabled", { get: function() { return this._rangeScrollEnabled }, set: function(e) { this._rangeScrollEnabled != e && (this._rangeScrollEnabled = e) }, enumerable: !0, configurable: !0 }), e }(); t.StiAxisInteraction = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJson , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.System.Enum , a = function() { function e(e, r, i) { void 0 === e && (e = t.StiTimeDateStep.None), void 0 === r && (r = 1), void 0 === i && (i = !1), this._step = t.StiTimeDateStep.None, this._numberOfValues = 1, this._interpolation = !1, this._step = e, this._numberOfValues = r, this._interpolation = i } return e.prototype.implements = function() { return e.implementsStiAxisDateTimeStep || (e.implementsStiAxisDateTimeStep = [i, n, t.IStiAxisDateTimeStep, i]), e.implementsStiAxisDateTimeStep } , e.prototype.saveToJsonObject = function(e) { var i = new r; return i.addPropertyEnum("Step", t.StiTimeDateStep, this._step, t.StiTimeDateStep.None), i.addPropertyNumber("NumberOfValues", this._numberOfValues, 1), i.addPropertyBool("Interpolation", this._interpolation), i } , e.prototype.loadFromJsonObject = function(e) { var r, i; try { for (var n = __values(e.properties()), a = n.next(); !a.done; a = n.next()) { var s = a.value; switch (s.name) { case "Step": this._step = o.parse(t.StiTimeDateStep, s.value.toString()); break; case "NumberOfValues": this._numberOfValues = s.value.stimulsoft.toNumber(); break; case "Interpolation": this._interpolation = s.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { a && !a.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , e.prototype.loadFromXml = function(e) { for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; switch (i.nodeName) { case "Step": this._step = o.parse(t.StiTimeDateStep, i.textContent); break; case "NumberOfValues": this._numberOfValues = i.textContent.stimulsoft.toNumber(); break; case "Interpolation": this._interpolation = i.textContent.stimulsoft.toBoolean(); break } } } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "step", { get: function() { return this._step }, set: function(e) { this._step = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "numberOfValues", { get: function() { return this._numberOfValues }, set: function(e) { this._numberOfValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "interpolation", { get: function() { return this._interpolation }, set: function(e) { this._interpolation = e }, enumerable: !0, configurable: !0 }), e }(); t.StiAxisDateTimeStep = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = e.Base.Drawing.StiPenStyle , o = e.System.Drawing.Color , a = function(e) { function a(r, i, a, s, l, u, c, h, p, f, m, S, d, y, g, b) { void 0 === r && (r = new t.StiAxisLabels), void 0 === i && (i = new t.StiAxisRange), void 0 === a && (a = null), void 0 === s && (s = new t.StiAxisTicks), void 0 === l && (l = new t.StiAxisInteraction), void 0 === u && (u = t.StiArrowStyle.None), void 0 === c && (c = n.Solid), void 0 === h && (h = o.gray), void 0 === p && (p = 1), void 0 === f && (f = !0), void 0 === m && (m = !0), void 0 === S && (S = t.StiShowXAxis.Both), void 0 === d && (d = !1), void 0 === y && (y = !0), void 0 === g && (g = new t.StiAxisDateTimeStep), void 0 === b && (b = !1); var v = e.call(this, r, i, a, s, l, u, c, h, p, f, m, S, d, y, g, b) || this; return v.dateTimeStep = g, v.core = new t.StiXBottomAxisCoreXF(v), v } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiXBottomAxis || (a.implementsStiXBottomAxis = e.prototype.implements.call(this).concat([r, t.IStiXAxis, i, t.IStiXBottomAxis, t.IStiAxis])), a.implementsStiXBottomAxis } , a }(t.StiXAxis); t.StiXBottomAxis = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.Base.Drawing.StiPenStyle , l = e.System.Enum , u = e.System.Drawing.Color , c = function() { function c(e, t, i, n, o, a, l, c) { void 0 === e && (e = u.silver), void 0 === t && (t = s.Dot), void 0 === i && (i = !0), void 0 === n && (n = u.gainsboro), void 0 === o && (o = s.Dot), void 0 === a && (a = !1), void 0 === l && (l = 0), void 0 === c && (c = !0), this.needSetAreaJsonPropertyInternal = !1, this._allowApplyStyle = !0, this._color = u.silver, this._minorColor = u.gainsboro, this._style = s.Dot, this._minorStyle = s.Dot, this._visible = !0, this._minorVisible = !1, this._minorCount = 0, this._color = e, this._style = t, this._visible = i, this._minorColor = n, this._minorStyle = o, this._minorVisible = a, this._minorCount = l, this._allowApplyStyle = c, this._core = new r.StiGridLinesCoreXF(this) } return c.prototype.implements = function() { return c.implementsStiGridLines || (c.implementsStiGridLines = [o, r.IStiGridLines, a]), c.implementsStiGridLines } , c.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), t.addPropertyStringNullOrEmpty("Color", i.Serialize.jColor(this._color, u.silver)), t.addPropertyStringNullOrEmpty("MinorColor", i.Serialize.jColor(this._minorColor, u.gainsboro)), t.addPropertyEnum("Style", s, this._style, s.Dot), t.addPropertyEnum("MinorStyle", s, this._minorStyle, s.Dot), t.addPropertyBool("Visible", this._visible, !0), t.addPropertyBool("MinorVisible", this._minorVisible), t.addPropertyNumber("MinorCount", this._minorCount), null != this.area && t.addPropertyBool("Area", !0), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "AllowApplyStyle": this._allowApplyStyle = a.value.stimulsoft.toBoolean(); break; case "Color": this._color = i.Deserialize.color(a.value.toString()); break; case "MinorColor": this._minorColor = i.Deserialize.color(a.value.toString()); break; case "Style": this._style = l.parse(s, a.value.toString()); break; case "MinorStyle": this._minorStyle = l.parse(s, a.value.toString()); break; case "Visible": this._visible = a.value.stimulsoft.toBoolean(); break; case "MinorVisible": this._minorVisible = a.value.stimulsoft.toBoolean(); break; case "MinorCount": this._minorCount = a.value.stimulsoft.toNumber(); break; case "Area": this.needSetAreaJsonPropertyInternal = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "AllowApplyStyle": this._allowApplyStyle = i.textContent.stimulsoft.toBoolean(); break; case "Color": this._color = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "MinorColor": this._minorColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "Style": this._style = l.parse(s, i.textContent); break; case "MinorStyle": this._minorStyle = l.parse(s, i.textContent); break; case "Visible": this._visible = i.textContent.stimulsoft.toBoolean(); break; case "MinorVisible": this._minorVisible = i.textContent.stimulsoft.toBoolean(); break; case "MinorCount": this._minorCount = i.textContent.stimulsoft.toNumber(); break; case "Area": this.needSetAreaJsonPropertyInternal = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiGridLines }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.style = this.style, e.minorStyle = this.minorStyle, null != this.core && (e.core = this.core.clone(), e.core.gridLines = e), e } , Object.defineProperty(c.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != this.area && null != this.area.chart && this.core.applyStyle(this.area.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minorColor", { get: function() { return this._minorColor }, set: function(e) { this._minorColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "style", { get: function() { return this._style }, set: function(e) { this._style = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minorStyle", { get: function() { return this._minorStyle }, set: function(e) { this._minorStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minorVisible", { get: function() { return this._minorVisible }, set: function(e) { this._minorVisible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minorCount", { get: function() { return this._minorCount }, set: function(e) { e >= 0 && (this._minorCount = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "area", { get: function() { return this._area }, set: function(e) { this._area = e }, enumerable: !0, configurable: !0 }), c }(); r.StiGridLines = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = e.Base.Drawing.StiPenStyle , o = e.System.Drawing.Color , a = function(e) { function a(t, r, i, a, s, l, u, c) { return void 0 === t && (t = o.silver), void 0 === r && (r = n.Dot), void 0 === i && (i = !0), void 0 === a && (a = o.gainsboro), void 0 === s && (s = n.Dot), void 0 === l && (l = !1), void 0 === u && (u = 0), void 0 === c && (c = !0), e.call(this, t, r, i, a, s, l, u, c) || this } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiGridLinesVert || (a.implementsStiGridLinesVert = e.prototype.implements.call(this).concat([r, t.IStiGridLines, i, t.IStiGridLinesVert])), a.implementsStiGridLinesVert } , a }(t.StiGridLines); t.StiGridLinesVert = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = e.Base.Drawing.StiPenStyle , o = e.System.Drawing.Color , a = function(e) { function a(t, r, i, a, s, l, u, c) { return void 0 === t && (t = o.silver), void 0 === r && (r = n.Dot), void 0 === i && (i = !0), void 0 === a && (a = o.gainsboro), void 0 === s && (s = n.Dot), void 0 === l && (l = !1), void 0 === u && (u = 0), void 0 === c && (c = !0), e.call(this, t, r, i, a, s, l, u, c) || this } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiGridLinesHor || (a.implementsStiGridLinesHor = e.prototype.implements.call(this).concat([r, t.IStiGridLines, t.IStiGridLinesHor, i])), a.implementsStiGridLinesHor } , a }(t.StiGridLines); t.StiGridLinesHor = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.Base.Drawing.StiSolidBrush , l = e.Base.Drawing.StiBrush , u = e.System.Drawing.Color , c = function() { function e(e, t, i) { void 0 === e && (e = new s(u.transparent)), void 0 === t && (t = !0), void 0 === i && (i = !0), this.needSetAreaJsonPropertyInternal = !1, this._allowApplyStyle = !0, this._interlacedBrush = new s(u.transparent), this._visible = !0, this._interlacedBrush = e, this._visible = t, this._allowApplyStyle = i, this._core = new r.StiInterlacingCoreXF(this) } return e.prototype.implements = function() { return e.implementsStiInterlacing || (e.implementsStiInterlacing = [r.IStiInterlacing, a, o]), e.implementsStiInterlacing } , e.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), t.addPropertyStringNullOrEmpty("InterlacedBrush", i.Serialize.jBrush(this._interlacedBrush)), t.addPropertyBool("Visible", this._visible, !0), null != this._area && t.addPropertyBool("Area", !0), t } , e.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "AllowApplyStyle": this._allowApplyStyle = a.value.stimulsoft.toBoolean(); break; case "InterlacedBrush": this._interlacedBrush = i.Deserialize.brush(a.value.toString()); break; case "Visible": this._visible = a.value.stimulsoft.toBoolean(); break; case "Area": this.needSetAreaJsonPropertyInternal = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , e.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; case "InterlacedBrush": this._interlacedBrush = l.convertToBrush(r.textContent); break; case "Visible": this._visible = r.textContent.stimulsoft.toBoolean(); break; case "Area": this.needSetAreaJsonPropertyInternal = r.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(e.prototype, "componentId", { get: function() { return t.StiComponentId.StiInterlacing }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), e.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.interlacedBrush = this.interlacedBrush.clone(), null != this.core && (e.core = this.core.clone(), e.core.interlacing = e), e } , Object.defineProperty(e.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != this.area && null != this.area.chart && this.core.applyStyle(this.area.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "interlacedBrush", { get: function() { return this._interlacedBrush }, set: function(e) { this._interlacedBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "area", { get: function() { return this._area }, set: function(e) { this._area = e }, enumerable: !0, configurable: !0 }), e }(); r.StiInterlacing = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = e.System.Drawing.Color , o = e.Base.Drawing.StiSolidBrush , a = function(e) { function a(t, r, i) { return void 0 === t && (t = new o(n.transparent)), void 0 === r && (r = !0), void 0 === i && (i = !0), e.call(this, t, r, i) || this } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiInterlacingVert || (a.implementsStiInterlacingVert = e.prototype.implements.call(this).concat([t.IStiInterlacing, t.IStiInterlacingVert, i, r])), a.implementsStiInterlacingVert } , a }(t.StiInterlacing); t.StiInterlacingVert = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = e.System.Drawing.Color , o = e.Base.Drawing.StiSolidBrush , a = function(e) { function a(t, r, i) { return void 0 === t && (t = new o(n.transparent)), void 0 === r && (r = !0), void 0 === i && (i = !0), e.call(this, t, r, i) || this } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiInterlacingHor || (a.implementsStiInterlacingHor = e.prototype.implements.call(this).concat([t.IStiInterlacing, t.IStiInterlacingHor, r, i])), a.implementsStiInterlacingHor } , a }(t.StiInterlacing); t.StiInterlacingHor = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = function(e) { function n() { var r = e.call(this) || this; return r._reverseHor = !1, r._reverseVert = !1, r.interlacingHor = new t.StiInterlacingHor, r.interlacingVert = new t.StiInterlacingVert, r.gridLinesHor = new t.StiGridLinesHor, r.gridLinesHorRight = new t.StiGridLinesHor, r.gridLinesVert = new t.StiGridLinesVert, r.gridLinesHorRight.visible = !1, r.xAxis = new t.StiXBottomAxis, r.yAxis = new t.StiYLeftAxis, r.xTopAxis = new t.StiXTopAxis, r.yRightAxis = new t.StiYRightAxis, r } return __extends(n, e), n.prototype.implements = function() { return n.implementsStiAxisArea || (n.implementsStiAxisArea = e.prototype.implements.call(this).concat([r, t.IStiAxisArea, t.IStiArea, i])), n.implementsStiAxisArea } , n.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyJObject("InterlacingHor", this._interlacingHor.saveToJsonObject(t)), r.addPropertyJObject("InterlacingVert", this._interlacingVert.saveToJsonObject(t)), r.addPropertyJObject("GridLinesHor", this._gridLinesHor.saveToJsonObject(t)), r.addPropertyJObject("GridLinesHorRight", this._gridLinesHorRight.saveToJsonObject(t)), r.addPropertyJObject("GridLinesVert", this._gridLinesVert.saveToJsonObject(t)), r.addPropertyJObject("YAxis", this._yAxis.saveToJsonObject(t)), r.addPropertyJObject("YRightAxis", this._yRightAxis.saveToJsonObject(t)), r.addPropertyJObject("XAxis", this._xAxis.saveToJsonObject(t)), r.addPropertyJObject("XTopAxis", this._xTopAxis.saveToJsonObject(t)), r.addPropertyBool("ReverseHor", this.reverseHor), r.addPropertyBool("ReverseVert", this.reverseVert), r } , n.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "InterlacingHor": this._interlacingHor.loadFromJsonObject(a.value), this._interlacingHor.needSetAreaJsonPropertyInternal && (this._interlacingHor.needSetAreaJsonPropertyInternal = !1, this._interlacingHor.area = this); break; case "InterlacingVert": this._interlacingVert.loadFromJsonObject(a.value), this._interlacingVert.needSetAreaJsonPropertyInternal && (this._interlacingVert.needSetAreaJsonPropertyInternal = !1, this._interlacingVert.area = this); break; case "GridLinesHor": this._gridLinesHor.loadFromJsonObject(a.value), this._gridLinesHor.needSetAreaJsonPropertyInternal && (this._gridLinesHor.needSetAreaJsonPropertyInternal = !1, this._gridLinesHor.area = this); break; case "GridLinesHorRight": this._gridLinesHorRight.loadFromJsonObject(a.value), this._gridLinesHorRight.needSetAreaJsonPropertyInternal && (this._gridLinesHorRight.needSetAreaJsonPropertyInternal = !1, this._gridLinesHorRight.area = this); break; case "GridLinesVert": this._gridLinesVert.loadFromJsonObject(a.value), this._gridLinesVert.needSetAreaJsonPropertyInternal && (this._gridLinesVert.needSetAreaJsonPropertyInternal = !1, this._gridLinesVert.area = this); break; case "YAxis": this._yAxis.loadFromJsonObject(a.value); break; case "YRightAxis": this._yRightAxis.loadFromJsonObject(a.value); break; case "XAxis": this._xAxis.loadFromJsonObject(a.value); break; case "XTopAxis": this._xTopAxis.loadFromJsonObject(a.value); break; case "ReverseHor": this.reverseHor = a.value.stimulsoft.toBoolean(); break; case "ReverseVert": this.reverseVert = a.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , n.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "InterlacingHor": this._interlacingHor.loadFromXml(i), this._interlacingHor.area = this; break; case "InterlacingVert": this._interlacingVert.loadFromXml(i), this._interlacingVert.area = this; break; case "GridLinesHor": this._gridLinesHor.loadFromXml(i), this._gridLinesHor.area = this; break; case "GridLinesHorRight": this._gridLinesHorRight.loadFromXml(i), this._gridLinesHorRight.area = this; break; case "GridLinesVert": this._gridLinesVert.loadFromXml(i), this._gridLinesVert.area = this; break; case "YAxis": this._yAxis.loadFromXml(i); break; case "YRightAxis": this._yRightAxis.loadFromXml(i); break; case "XAxis": this._xAxis.loadFromXml(i); break; case "XTopAxis": this._xTopAxis.loadFromXml(i); break; case "ReverseHor": this.reverseHor = i.textContent.stimulsoft.toBoolean(); break; case "ReverseVert": this.reverseVert = i.textContent.stimulsoft.toBoolean(); break } } } , n.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.interlacingHor = this.interlacingHor.clone(), t.interlacingVert = this.interlacingVert.clone(), t.gridLinesHor = this.gridLinesHor.clone(), t.gridLinesHorRight = this.gridLinesHorRight.clone(), t.gridLinesVert = this.gridLinesVert.clone(), t.yAxis = this.yAxis.clone(), t.yRightAxis = this.yRightAxis.clone(), t.xAxis = this.xAxis.clone(), t.xTopAxis = this.xTopAxis.clone(), t } , Object.defineProperty(n.prototype, "axisCore", { get: function() { return this.core }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "interlacingHor", { get: function() { return this._interlacingHor }, set: function(e) { this._interlacingHor = e, null != this._interlacingHor && (this._interlacingHor.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "interlacingVert", { get: function() { return this._interlacingVert }, set: function(e) { this._interlacingVert = e, null != this._interlacingVert && (this._interlacingVert.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "gridLinesHor", { get: function() { return this._gridLinesHor }, set: function(e) { this._gridLinesHor = e, null != this._gridLinesHor && (this._gridLinesHor.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "gridLinesHorRight", { get: function() { return this._gridLinesHorRight }, set: function(e) { this._gridLinesHorRight = e, null != this._gridLinesHorRight && (this._gridLinesHorRight.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "gridLinesVert", { get: function() { return this._gridLinesVert }, set: function(e) { this._gridLinesVert = e, null != this._gridLinesVert && (this._gridLinesVert.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "yAxis", { get: function() { return this._yAxis }, set: function(e) { this._yAxis = e, null != this._yAxis && (this._yAxis.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "yRightAxis", { get: function() { return this._yRightAxis }, set: function(e) { this._yRightAxis = e, null != this._yRightAxis && (this._yRightAxis.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "xAxis", { get: function() { return this._xAxis }, set: function(e) { this._xAxis = e, null != this._xAxis && (this._xAxis.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "xTopAxis", { get: function() { return this._xTopAxis }, set: function(e) { this._xTopAxis = e, null != this._xTopAxis && (this._xTopAxis.area = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "reverseHor", { get: function() { return this._reverseHor }, set: function(e) { this._reverseHor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "reverseVert", { get: function() { return this._reverseVert }, set: function(e) { this._reverseVert = e }, enumerable: !0, configurable: !0 }), n.prototype.getDefaultSeriesLabelsType = function() { return t.StiCenterAxisLabels } , n.prototype.getSeriesLabelsTypes = function() { return [t.StiNoneLabels, t.StiInsideBaseAxisLabels, t.StiInsideEndAxisLabels, t.StiCenterAxisLabels, t.StiOutsideBaseAxisLabels, t.StiOutsideEndAxisLabels, t.StiOutsideAxisLabels, t.StiLeftAxisLabels, t.StiValueAxisLabels, t.StiRightAxisLabels] } , n }(t.StiArea); t.StiAxisArea = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiClusteredColumnAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiClusteredColumnArea || (o.implementsStiClusteredColumnArea = e.prototype.implements.call(this).concat([i, r.IStiClusteredColumnArea, r.IStiAxisArea, n, r.IStiArea])), o.implementsStiClusteredColumnArea } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiClusteredColumnArea }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultSeriesType = function() { return r.StiClusteredColumnSeries } , o.prototype.getSeriesTypes = function() { return [r.StiClusteredColumnSeries, r.StiLineSeries, r.StiSteppedLineSeries, r.StiSplineSeries, r.StiAreaSeries, r.StiSteppedAreaSeries, r.StiSplineAreaSeries] } , o.prototype.createNew = function() { return new o } , o }(r.StiAxisArea); r.StiClusteredColumnArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.StiJson , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.EventArgs , a = e.Base.Localization.StiLocalization , s = e.System.Collections.CollectionBase , l = function(e) { function s() { var t = null !== e && e.apply(this, arguments) || this; return t.chart = null, t } return __extends(s, e), s.prototype.implements = function() { return s.implementsStiSeriesCollection || (s.implementsStiSeriesCollection = [n, t.IStiApplyStyle, t.IStiSeriesCollection]), s.implementsStiSeriesCollection } , s.prototype.saveToJsonObject = function(e) { var t, r; if (0 == this.list.length) return null; var n = new i , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(e)), o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return n } , s.prototype.loadFromJsonObject = function(e) { var t, i, n = function(e) { var t = e.value , i = t.properties().firstOrDefault(function(e) { return "Ident" == e.name }).value.toString() , n = StiOptions.Services.chartSeries.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == i }); if (null == n) throw r.format("Type {0} is not found!", i); var a = n.createNew(); a.chart = o.chart, o.list.add(a), a.loadFromJsonObject(e.value) }, o = this; try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { n(s.value) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (t) throw t.error } } } , s.prototype.loadFromXml = function(e, r) { for (var i = 0; i < e.childNodes.length; i++) { var n = e.childNodes[i]; if (null == n.attributes) continue; if (null != n.attributes.getNamedItem("type")) switch (n.attributes.getNamedItem("type").value) { case "Stimulsoft.Report.Chart.StiClusteredColumnSeries": var o = new t.StiClusteredColumnSeries; o.chart = r, this.list.add(o), o.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiLineSeries": var a = new t.StiLineSeries; a.chart = r, this.list.add(a), a.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiAreaSeries": var s = new t.StiAreaSeries; s.chart = r, this.list.add(s), s.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiSplineSeries": var l = new t.StiSplineSeries; l.chart = r, this.list.add(l), l.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiSplineAreaSeries": var u = new t.StiSplineAreaSeries; u.chart = r, this.list.add(u), u.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiStackedColumnSeries": var c = new t.StiStackedColumnSeries; c.chart = r, this.list.add(c), c.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiStackedLineSeries": var h = new t.StiStackedLineSeries; h.chart = r, this.list.add(h), h.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiStackedAreaSeries": var p = new t.StiStackedAreaSeries; p.chart = r, this.list.add(p), p.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiStackedSplineSeries": var f = new t.StiStackedSplineSeries; f.chart = r, this.list.add(f), f.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiStackedSplineAreaSeries": var m = new t.StiStackedSplineAreaSeries; m.chart = r, this.list.add(m), m.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiSteppedLineSeries": var S = new t.StiSteppedLineSeries; S.chart = r, this.list.add(S), S.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiSteppedAreaSeries": var d = new t.StiSteppedAreaSeries; d.chart = r, this.list.add(d), d.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiFullStackedColumnSeries": var y = new t.StiFullStackedColumnSeries; y.chart = r, this.list.add(y), y.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiFullStackedLineSeries": var g = new t.StiFullStackedLineSeries; g.chart = r, this.list.add(g), g.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiFullStackedAreaSeries": var b = new t.StiFullStackedAreaSeries; b.chart = r, this.list.add(b), b.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiFullStackedSplineSeries": var v = new t.StiFullStackedSplineSeries; v.chart = r, this.list.add(v), v.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiFullStackedSplineAreaSeries": var C = new t.StiFullStackedSplineAreaSeries; C.chart = r, this.list.add(C), C.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiClusteredBarSeries": var w = new t.StiClusteredBarSeries; w.chart = r, this.list.add(w), w.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiStackedBarSeries": var x = new t.StiStackedBarSeries; x.chart = r, this.list.add(x), x.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiFullStackedBarSeries": var _ = new t.StiFullStackedBarSeries; _.chart = r, this.list.add(_), _.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiDoughnutSeries": var A = new t.StiDoughnutSeries; A.chart = r, this.list.add(A), A.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiGanttSeries": var L = new t.StiGanttSeries; L.chart = r, this.list.add(L), L.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiPieSeries": var O = new t.StiPieSeries; O.chart = r, this.list.add(O), O.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiBubbleSeries": var P = new t.StiBubbleSeries; P.chart = r, this.list.add(P), P.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiScatterSeries": var B = new t.StiScatterSeries; B.chart = r, this.list.add(B), B.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiScatterLineSeries": var R = new t.StiScatterLineSeries; R.chart = r, this.list.add(R), R.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiScatterSplineSeries": var k = new t.StiScatterSplineSeries; k.chart = r, this.list.add(k), k.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiRadarPointSeries": var j = new t.StiRadarPointSeries; j.chart = r, this.list.add(j), j.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiRadarLineSeries": var T = new t.StiRadarLineSeries; T.chart = r, this.list.add(T), T.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiRadarAreaSeries": var F = new t.StiRadarAreaSeries; F.chart = r, this.list.add(F), F.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiFunnelSeries": var D = new t.StiFunnelSeries; D.chart = r, this.list.add(D), D.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiStockSeries": var I = new t.StiStockSeries; I.chart = r, this.list.add(I), I.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiCandlestickSeries": var N = new t.StiCandlestickSeries; N.chart = r, this.list.add(N), N.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiFunnelWeightedSlicesSeries": var M = new t.StiFunnelWeightedSlicesSeries; M.chart = r, this.list.add(M), M.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiSteppedRangeSeries": var E = new t.StiSteppedRangeSeries; E.chart = r, this.list.add(E), E.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiSplineRangeSeries": var V = new t.StiSplineRangeSeries; V.chart = r, this.list.add(V), V.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiRangeSeries": var X = new t.StiRangeSeries; X.chart = r, this.list.add(X), X.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiRangeBarSeries": var G = new t.StiRangeBarSeries; G.chart = r, this.list.add(G), G.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiTreemapSeries": var z = new t.StiTreemapSeries; z.chart = r, this.list.add(z), z.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiPictorialSeries": var J = new t.StiPictorialSeries; J.chart = r, this.list.add(J), J.loadFromXml(n); break; case "Stimulsoft.Report.Chart.StiParetoSeries": var H = new t.StiParetoSeries; H.chart = r, this.list.add(H), H.loadFromXml(n); break } } } , s.prototype.applyStyle = function(e) { var t, r; if (null == e) return; var i = 0; try { for (var n = __values(this.list), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = e.core.getColors(this.length, a.core.seriesColors); a.core.applyStyle(e, s[i++]) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , s.prototype.getSeriesTitle = function() { var e, t, r = a.get("Chart", "Series"), i = r, n = 1, o = !0; while (o) { i = r + " " + n.toString(), o = !1; try { for (var s = (e = void 0, __values(this.list)), l = s.next(); !l.done; l = s.next()) { if (l.value.coreTitle == i) { o = !0; break } } } catch (t) { e = { error: t } } finally { try { l && !l.done && (t = s.return) && t.call(s) } finally { if (e) throw e.error } } n++ } return i } , s.prototype.add = function(t) { null != this.chart && (r.isNullOrEmpty(t.coreTitle) && (t.coreTitle = this.getSeriesTitle()), t.chart = this.chart), e.prototype.add.call(this, t), this.invokeSeriesAdded(t) } , s.prototype.insert = function(t, r) { e.prototype.insert.call(this, t, r), this.invokeSeriesAdded(r) } , s.prototype.remove = function(t) { e.prototype.remove.call(this, t), this.invokeSeriesRemoved(t) } , s.prototype.removeAt = function(t) { var r = this.getByIndex(t); e.prototype.removeAt.call(this, t), this.invokeSeriesRemoved(r) } , s.prototype.getByName = function(e) { var t, r; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (o.coreTitle == e) return o } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return null } , s.prototype.setByName = function(e, t) { for (var r = 0; r < this.list.length; r++) { if (this.list[r].coreTitle == name) return void (this.list[r] = t) } this.add(t) } , s.prototype.invokeSeriesAdded = function(e) { null != this.seriesAdded && this.seriesAdded(e, o.empty) } , s.prototype.invokeSeriesRemoved = function(e) { null != this.seriesRemoved && this.seriesRemoved(e, o.empty) } , s }(s); t.StiSeriesCollection = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Engine.StiComponentInfo , i = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t.storedForProcessAtEndChart = null, t.interactiveComps = null, t } return __extends(r, e), r.prototype.implements = function() { return r.implementsStiChartInfo || (r.implementsStiChartInfo = [t.IStiChartInfo]), r.implementsStiChartInfo } , r }(r); t.StiChartInfo = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Report.Styles.StiBaseStyle , n = e.Report.Dashboard.StiElementStyleIdent , o = e.Base.StiJson , a = e.Base.JsonReportObject.IStiJsonReportObject , s = e.System.ICloneable , l = function(e) { function i() { var t = null !== e && e.apply(this, arguments) || this; return t.allowDashboard = !1, t.styleIdent = n.Blue, t } return __extends(i, e), i.prototype.implements = function() { return i.implementsStiChartStyle || (i.implementsStiChartStyle = e.prototype.implements.call(this).concat([a, t.IStiChartStyle, s])), i.implementsStiChartStyle } , i.prototype.saveToJsonObject = function(e) { var t = new o; return t.addPropertyStringNullOrEmpty("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t } , i.prototype.loadFromJsonObject = function(e) {} , i.loadFromXml = function(e) { if (null != e.attributes.getNamedItem("type")) switch (e.attributes.getNamedItem("type").value) { case "Stimulsoft.Report.Chart.StiCustomStyle": return new t.StiCustomStyle; case "Stimulsoft.Report.Chart.StiStyle01": return new t.StiStyle01; case "Stimulsoft.Report.Chart.StiStyle02": return new t.StiStyle02; case "Stimulsoft.Report.Chart.StiStyle03": return new t.StiStyle03; case "Stimulsoft.Report.Chart.StiStyle04": return new t.StiStyle04; case "Stimulsoft.Report.Chart.StiStyle05": return new t.StiStyle05; case "Stimulsoft.Report.Chart.StiStyle06": return new t.StiStyle06; case "Stimulsoft.Report.Chart.StiStyle07": return new t.StiStyle07; case "Stimulsoft.Report.Chart.StiStyle08": return new t.StiStyle08; case "Stimulsoft.Report.Chart.StiStyle09": return new t.StiStyle09; case "Stimulsoft.Report.Chart.StiStyle10": return new t.StiStyle10; case "Stimulsoft.Report.Chart.StiStyle11": return new t.StiStyle11; case "Stimulsoft.Report.Chart.StiStyle12": return new t.StiStyle12; case "Stimulsoft.Report.Chart.StiStyle13": return new t.StiStyle13; case "Stimulsoft.Report.Chart.StiStyle14": return new t.StiStyle14; case "Stimulsoft.Report.Chart.StiStyle15": return new t.StiStyle15; case "Stimulsoft.Report.Chart.StiStyle16": return new t.StiStyle16; case "Stimulsoft.Report.Chart.StiStyle17": return new t.StiStyle17; case "Stimulsoft.Report.Chart.StiStyle18": return new t.StiStyle18; case "Stimulsoft.Report.Chart.StiStyle19": return new t.StiStyle19; case "Stimulsoft.Report.Chart.StiStyle20": return new t.StiStyle20; case "Stimulsoft.Report.Chart.StiStyle21": return new t.StiStyle21; case "Stimulsoft.Report.Chart.StiStyle22": return new t.StiStyle22; case "Stimulsoft.Report.Chart.StiStyle23": return new t.StiStyle23; case "Stimulsoft.Report.Chart.StiStyle24": return new t.StiStyle24; case "Stimulsoft.Report.Chart.StiStyle25": return new t.StiStyle25; case "Stimulsoft.Report.Chart.StiStyle26": return new t.StiStyle26; case "Stimulsoft.Report.Chart.StiStyle27": return new t.StiStyle27; case "Stimulsoft.Report.Chart.StiStyle28": return new t.StiStyle28; case "Stimulsoft.Report.Chart.StiStyle29": return new t.StiStyle29; case "Stimulsoft.Report.Chart.StiStyle30": return new t.StiStyle30; case "Stimulsoft.Report.Chart.StiStyle31": return new t.StiStyle31; case "Stimulsoft.Report.Chart.StiStyle32": return new t.StiStyle32; case "Stimulsoft.Report.Chart.StiStyle33": return new t.StiStyle33 } return null } , i.loadFromJsonObjectInternal = function(e) { var i = e.properties().firstOrDefault(function(e) { return "Ident" == e.name }).value.toString(); if ("StiCustomStyle" == i) return new t.StiCustomStyle; var n = StiOptions.Services.chartStyles.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == i }); if (null == n) throw r.format("Type {0} is not found!", i); return n.createNew() } , Object.defineProperty(i.prototype, "serviceName", { get: function() { return this.core.localizedName }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceCategory", { get: function() { return "Chart" }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "serviceType", { get: function() { return i }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "isOffice2015Style", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), i.prototype.toString = function() { if (this.stimulsoft.is(t.StiCustomStyle) && null != this.core.reportChartStyle) return this.core.reportChartStyle.name; return this.serviceName } , i.prototype.compareChartStyle = function(e) { if (null == e) return !1; var r = this.stimulsoft.as(t.StiCustomStyle) , i = e.stimulsoft.as(t.StiCustomStyle); if (null != r && null != i) { var n = r.core.reportStyleName; null != r.core.reportStyle && (n = r.core.reportStyle.name); var o = i.core.reportStyleName; return null != i.core.reportStyle && (o = i.core.reportStyle.name), n == o } return this.stimulsoft.getType() == e.stimulsoft.getType() } , i.prototype.createNew = function() { return null } , i }(i); t.StiChartStyle = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Dashboard.StiElementStyleIdent , n = function(e) { function n() { var n = e.call(this) || this; return n.allowDashboard = !0, n.dashboardName = r.get("PropertyColor", "Green"), n.styleIdent = i.Green, n.core = new t.StiStyleCoreXF25, n } return __extends(n, e), Object.defineProperty(n.prototype, "isOffice2015Style", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(t.StiChartStyle); t.StiStyle25 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Dashboard.StiElementStyleIdent , n = function(e) { function n() { var n = e.call(this) || this; return n.allowDashboard = !0, n.dashboardName = r.get("PropertyColor", "Blue"), n.styleIdent = i.Blue, n.isOffice2015Style = !0, n.core = new t.StiStyleCoreXF29, n } return __extends(n, e), n.prototype.createNew = function() { return new n } , n }(t.StiChartStyle); t.StiStyle29 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.Base.Drawing.StiSolidBrush , l = e.Base.Drawing.StiBrush , u = e.System.Enum , c = e.System.Drawing.Color , h = e.System.Drawing.Size , p = e.System.Drawing.Font , f = e.System.Drawing.FontStyle , m = function() { function m() { this._allowApplyStyle = !0, this._chart = null, this._hideSeriesWithEmptyTitle = !1, this._showShadow = !0, this._borderColor = c.gray, this._brush = new s(c.white), this._titleColor = c.gray, this._labelsColor = c.gray, this._direction = r.StiLegendDirection.TopToBottom, this._horAlignment = r.StiLegendHorAlignment.Left, this._vertAlignment = r.StiLegendVertAlignment.Top, this._titleFont = new p("Arial",14,f.Bold), this._font = new p("Arial",8,f.Bold), this._visible = !0, this._markerVisible = !0, this._markerBorder = !0, this._markerSize = new h(10,10), this._markerAlignment = r.StiMarkerAlignment.Left, this._columns = 0, this._horSpacing = 4, this._vertSpacing = 2, this._title = "", this._size = new e.System.Drawing.Size(0,0), this._core = new r.StiLegendCoreXF(this) } return m.prototype.implements = function() { return m.implementsStiLegend || (m.implementsStiLegend = [o, a, r.IStiLegend]), m.implementsStiLegend } , m.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), t.addPropertyBool("HideSeriesWithEmptyTitle", this._hideSeriesWithEmptyTitle), t.addPropertyBool("ShowShadow", this._showShadow, !0), t.addPropertyStringNullOrEmpty("BorderColor", i.Serialize.jColor(this._borderColor, c.gray)), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), t.addPropertyStringNullOrEmpty("TitleColor", i.Serialize.jColor(this._titleColor, c.gray)), t.addPropertyStringNullOrEmpty("LabelsColor", i.Serialize.jColor(this._labelsColor, c.gray)), t.addPropertyEnum("Direction", r.StiLegendDirection, this.direction, r.StiLegendDirection.TopToBottom), t.addPropertyEnum("HorAlignment", r.StiLegendHorAlignment, this.horAlignment, r.StiLegendHorAlignment.Left), t.addPropertyEnum("VertAlignment", r.StiLegendVertAlignment, this.vertAlignment, r.StiLegendVertAlignment.Top), t.addPropertyStringNullOrEmpty("TitleFont", i.Serialize.font(this._titleFont, "Arial", 14, f.Bold)), t.addPropertyStringNullOrEmpty("Font", i.Serialize.font(this._font, "Arial", 8)), t.addPropertyBool("Visible", this._visible, !0), t.addPropertyBool("MarkerVisible", this._markerVisible, !0), t.addPropertyBool("MarkerBorder", this._markerBorder, !0), t.addPropertyJObject("MarkerSize", i.Serialize.size(this._markerSize)), t.addPropertyEnum("MarkerAlignment", r.StiMarkerAlignment, this._markerAlignment, r.StiMarkerAlignment.Left), t.addPropertyNumber("Columns", this._columns, 2), t.addPropertyNumber("HorSpacing", this._horSpacing, 4), t.addPropertyNumber("VertSpacing", this._vertSpacing, 2), t.addPropertyStringNullOrEmpty("Size", i.Serialize.sizeD(this._size)), t.addPropertyStringNullOrEmpty("Title", this._title), t } , m.prototype.loadFromJsonObject = function(e) { var t, n; this._showShadow = !0; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "AllowApplyStyle": this.allowApplyStyle = s.value.stimulsoft.toBoolean(); break; case "HideSeriesWithEmptyTitle": this._hideSeriesWithEmptyTitle = s.value.stimulsoft.toBoolean(); break; case "ShowShadow": this._showShadow = s.value.stimulsoft.toBoolean(); break; case "BorderColor": this._borderColor = i.Deserialize.color(s.value.toString()); break; case "Brush": this._brush = i.Deserialize.brush(s.value.toString()); break; case "TitleColor": this._titleColor = i.Deserialize.color(s.value.toString()); break; case "LabelsColor": this._labelsColor = i.Deserialize.color(s.value.toString()); break; case "Direction": this.direction = u.parse(r.StiLegendDirection, s.value.toString()); break; case "HorAlignment": this.horAlignment = u.parse(r.StiLegendHorAlignment, s.value.toString()); break; case "VertAlignment": this.vertAlignment = u.parse(r.StiLegendVertAlignment, s.value.toString()); break; case "TitleFont": this._titleFont = i.Deserialize.font(s.value.toString(), this.font); break; case "Font": this._font = i.Deserialize.font(s.value.toString(), this.font); break; case "Visible": this._visible = s.value.stimulsoft.toBoolean(); break; case "MarkerVisible": this._markerVisible = s.value.stimulsoft.toBoolean(); break; case "MarkerBorder": this._markerBorder = s.value.stimulsoft.toBoolean(); break; case "MarkerSize": this._markerSize = i.Deserialize.size(s.value); break; case "MarkerAlignment": this.markerAlignment = u.parse(r.StiMarkerAlignment, s.value.toString()); break; case "Columns": this._columns = s.value.stimulsoft.toNumber(); break; case "HorSpacing": this._horSpacing = s.value.stimulsoft.toNumber(); break; case "VertSpacing": this._vertSpacing = s.value.stimulsoft.toNumber(); break; case "Size": this._size = i.Deserialize.sizeD(s.value.toString()); break; case "Title": this._title = s.value.toString(); break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (t) throw t.error } } } , m.prototype.loadFromXml = function(t) { this._showShadow = !0; for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "AllowApplyStyle": this.allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break; case "HideSeriesWithEmptyTitle": this._hideSeriesWithEmptyTitle = n.textContent.stimulsoft.toBoolean(); break; case "ShowShadow": this._showShadow = n.textContent.stimulsoft.toBoolean(); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "Brush": case "bh": this._brush = l.convertToBrush(n.textContent); break; case "TitleColor": this._titleColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "LabelsColor": this._labelsColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "Direction": this.direction = u.parse(r.StiLegendDirection, n.textContent); break; case "HorAlignment": case "ha": this.horAlignment = u.parse(r.StiLegendHorAlignment, n.textContent); break; case "VertAlignment": case "va": this.vertAlignment = u.parse(r.StiLegendVertAlignment, n.textContent); break; case "TitleFont": this._titleFont = e.System.Convert.toFont(n.textContent); break; case "Font": case "fn": this._font = e.System.Convert.toFont(n.textContent); break; case "Visible": this._visible = n.textContent.stimulsoft.toBoolean(); break; case "MarkerVisible": this._markerVisible = n.textContent.stimulsoft.toBoolean(); break; case "MarkerBorder": this._markerBorder = n.textContent.stimulsoft.toBoolean(); break; case "MarkerSize": this._markerSize = e.System.Drawing.Size.convertFromXml(n.textContent); break; case "MarkerAlignment": this.markerAlignment = u.parse(r.StiMarkerAlignment, n.textContent); break; case "Columns": this._columns = n.textContent.stimulsoft.toNumber(); break; case "HorSpacing": this._horSpacing = n.textContent.stimulsoft.toNumber(); break; case "VertSpacing": this._vertSpacing = n.textContent.stimulsoft.toNumber(); break; case "Size": this._size = e.System.Drawing.Size.convertFromXml(n.textContent); break; case "Title": this._title = n.textContent; break } } } , Object.defineProperty(m.prototype, "componentId", { get: function() { return t.StiComponentId.StiLegend }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), m.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.brush = this.brush.clone(), e.font = this.font.clone(), e.titleFont = this.titleFont.clone(), e.direction = this.direction, e.horAlignment = this.horAlignment, e.vertAlignment = this.vertAlignment, e.markerAlignment = this.markerAlignment, null != this.core && (e.core = this.core.clone(), e.core.legend = e), e } , Object.defineProperty(m.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != r && this.core.applyStyle(this.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "chart", { get: function() { return this._chart }, set: function(e) { this._chart = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "hideSeriesWithEmptyTitle", { get: function() { return this._hideSeriesWithEmptyTitle }, set: function(e) { this._hideSeriesWithEmptyTitle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "showShadow", { get: function() { return this._showShadow }, set: function(e) { this._showShadow = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "titleColor", { get: function() { return this._titleColor }, set: function(e) { this._titleColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "labelsColor", { get: function() { return this._labelsColor }, set: function(e) { this._labelsColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "direction", { get: function() { return this._direction }, set: function(e) { this._direction = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "horAlignment", { get: function() { return this._horAlignment }, set: function(e) { this._horAlignment = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "vertAlignment", { get: function() { return this._vertAlignment }, set: function(e) { this._vertAlignment = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "titleFont", { get: function() { return this._titleFont }, set: function(e) { this._titleFont = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "markerVisible", { get: function() { return this._markerVisible }, set: function(e) { this._markerVisible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "markerBorder", { get: function() { return this._markerBorder }, set: function(e) { this._markerBorder = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "markerSize", { get: function() { return this._markerSize }, set: function(e) { this._markerSize = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "markerAlignment", { get: function() { return this._markerAlignment }, set: function(e) { this._markerAlignment = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "columns", { get: function() { return this._columns }, set: function(e) { e >= 0 && (this._columns = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "horSpacing", { get: function() { return this._horSpacing }, set: function(e) { this._horSpacing = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "vertSpacing", { get: function() { return this._vertSpacing }, set: function(e) { this._vertSpacing = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "size", { get: function() { return this._size }, set: function(e) { this._size = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "title", { get: function() { return this._title }, set: function(e) { this._title = e }, enumerable: !0, configurable: !0 }), m }(); r.StiLegend = m }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.Report.Chart.IStiAxisArea , a = e.Report.Events.StiProcessChartEvent , s = e.System.EventArgs , l = e.Report.Chart.StiSeriesLabels , u = e.Report.Chart.StiChartStyle , c = e.Report.Chart.StiArea , h = e.Base.StiJsonReportObjectHelper , p = e.Report.Chart.StiChartConditionsCollection , f = e.Report.Chart.IStiChart , m = e.Report.Chart.IStiClusteredColumnArea , S = e.Report.Chart.StiCenterAxisLabels , d = e.Report.Chart.StiChartCoreXF , y = e.Report.Chart.StiChartInfo , g = e.Report.Chart.StiChartTitle , b = e.Report.Chart.StiChartTable , v = e.Report.Chart.StiClusteredColumnArea , C = e.Report.Chart.StiConstantLinesCollection , w = e.Report.Chart.StiLegend , x = e.Report.Chart.StiRadarArea , _ = e.Report.Chart.StiStripsCollection , A = e.Report.Chart.StiSeriesCollection , L = e.Report.Chart.StiStyle29 , O = e.Report.Chart.StiChartHelper , P = e.Base.StiActivator , B = e.Base.StiJsonSaveMode , R = e.System.Enum , k = e.Report.Components.StiImageRotation , j = e.Report.Components.StiComponentPriority , T = e.Report.Components.StiComponentType , F = e.Base.Localization.StiLocalization , D = e.System.Drawing.Color , I = e.Base.Drawing.StiSolidBrush , N = e.Base.Drawing.StiBorder , M = e.Report.Components.StiFilter , E = e.Report.Components.StiFiltersCollection , V = e.Report.Components.StiFilterMode , X = e.System.Drawing.Rectangle , G = e.Base.Drawing.StiBrush , z = e.Report.Components.StiComponent , J = function(z) { function J(e) { void 0 === e && (e = X.empty); var t = z.call(this, e) || this; return t._filterMode = V.And, t._filters = new E, t._filterOn = !0, t._border = new N, t._brush = new I(D.transparent), t._sort = [], t._dataSourceName = "", t._businessObjectGuid = "", t._masterComponent = null, 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._dataRelationName = "", t._processAtEnd = !1, t.defaultClientRectangle = new X(0,0,200,200), t.processChartEvent = new a, t._seriesLabelsConditions = new p, t._rotation = k.None, t._style = new L, t._allowApplyStyle = !0, t._customStyleName = "", t._horSpacing = 10, t._vertSpacing = 10, t._isAnimation = !1, t._chartInfo = new y, t._allowApplyStyle = StiOptions.Engine.defaultValueOfAllowApplyStyleProperty, t.legend = new w, t.series = new A, t.series.seriesAdded = t.series_SeriesAdded, t.series.seriesRemoved = t.series_SeriesRemoved, t.area = new v, t.seriesLabels = new S, t.constantLines = new C, t.strips = new _, t.title = new g, t.table = new b, t._core = new d(t), t.core.applyStyle(t.style), t } return __extends(J, z), J.prototype.implements = function() { return J.implementsStiChart || (J.implementsStiChart = z.prototype.implements.call(this).concat([r.IStiBorder, r.IStiBusinessObject, r.IStiBrush, r.IStiDataSource, r.IStiDataRelation, r.IStiMasterComponent, r.IStiSort, r.IStiFilter, r.IStiExportImage, r.IStiExportImageExtended, t.IStiIgnoryStyle, t.IStiGlobalizationProvider, f, n])), J.implementsStiChart } , J.prototype.saveToJsonObject = function(t) { var r = z.prototype.saveToJsonObject.call(this, t); return r.removeProperty("CanShrink"), r.removeProperty("CanGrow"), r.addPropertyBool("AllowApplyStyle", this.allowApplyStyle, !0), r.addPropertyEnum("FilterMode", e.Report.Components.StiFilterMode, this.filterMode, e.Report.Components.StiFilterMode.And), r.addPropertyBool("FilterOn", this.filterOn, !0), r.addPropertyStringNullOrEmpty("Border", h.Serialize.jBorder(this.border)), r.addPropertyStringNullOrEmpty("Brush", h.Serialize.jBrush(this.brush)), r.addPropertyStringNullOrEmpty("DataSourceName", this.dataSourceName), r.addPropertyStringNullOrEmpty("BusinessObjectGuid", this.businessObjectGuid), r.addPropertyNumber("CountData", this.countData), r.addPropertyStringNullOrEmpty("DataRelationName", this.dataRelationName), r.addPropertyBool("ProcessAtEnd", this.processAtEnd), r.addPropertyJObject("ProcessChartEvent", this.processChartEvent.saveToJsonObject(t)), r.addPropertyEnum("Rotation", k, this.rotation, k.None), r.addPropertyStringNullOrEmpty("CustomStyleName", this.customStyleName), r.addPropertyNumber("HorSpacing", this.horSpacing, 10), r.addPropertyNumber("VertSpacing", this.vertSpacing, 10), null != this.masterComponent && r.addPropertyStringNullOrEmpty("MasterComponent", this.masterComponent.name), r.addPropertyJObject("Series", this._series.saveToJsonObject(t)), r.addPropertyJObject("Area", this._area.saveToJsonObject(t)), r.addPropertyJObject("Table", this.table.saveToJsonObject(t)), r.addPropertyJObject("SeriesLabels", this.seriesLabels.saveToJsonObject(t)), r.addPropertyJObject("Legend", this.legend.saveToJsonObject(t)), r.addPropertyJObject("Title", this._title.saveToJsonObject(t)), r.addPropertyJObject("Strips", this.strips.saveToJsonObject(t)), r.addPropertyJObject("ConstantLines", this.constantLines.saveToJsonObject(t)), r.addPropertyJObject("Style", this.style.saveToJsonObject(t)), t == B.Report && (r.addPropertyJObject("Filters", this.filters.saveToJsonObject(t)), r.addPropertyJObject("Sort", h.Serialize.stringArray(this.sort)), r.addPropertyJObject("SeriesLabelsConditions", this.seriesLabelsConditions.saveToJsonObject(t))), r } , J.prototype.loadFromJsonObject = function(t) { var r, i; z.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var s = o.value; switch (s.name) { case "FilterMode": this._filterMode = R.parse(e.Report.Components.StiFilterMode, s.value.toString()); break; case "Filters": this._filters.loadFromJsonObject(s.value); break; case "FilterOn": this._filterOn = s.value.stimulsoft.toBoolean(); break; case "Border": case "br": this._border = h.Deserialize.border(s.value.toString()); break; case "Brush": case "bh": this._brush = h.Deserialize.brush(s.value.toString()); break; case "DataSourceName": this._dataSourceName = s.value.toString(); break; case "BusinessObjectGuid": this._businessObjectGuid = s.value.toString(); break; case "CountData": this._countData = s.value.stimulsoft.toNumber(); break; case "DataRelationName": this._dataRelationName = s.value.toString(); break; case "ProcessAtEnd": this._processAtEnd = s.value.stimulsoft.toBoolean(); break; case "ProcessChartEvent": var p = new a; p.loadFromJsonObject(s.value), this.processChartEvent = p; break; case "SeriesLabelsConditions": this._seriesLabelsConditions.loadFromJsonObject(s.value); break; case "Rotation": this._rotation = R.parse(k, s.value.toString()); break; case "AllowApplyStyle": this.allowApplyStyle = s.value.stimulsoft.toBoolean(); break; case "CustomStyleName": this._customStyleName = s.value.toString(); break; case "HorSpacing": this._horSpacing = s.value.stimulsoft.toNumber(); break; case "VertSpacing": this._vertSpacing = s.value.stimulsoft.toNumber(); break; case "MasterComponent": this.jsonMasterComponentTemp = s.value.toString(), this.report.jsonLoaderHelper && this.report.jsonLoaderHelper.masterComponents.add(this); break; case "Style": this.style = u.loadFromJsonObjectInternal(s.value); break; case "ConstantLines": this.constantLines.loadFromJsonObject(s.value); break; case "Strips": this.strips.loadFromJsonObject(s.value); break; case "Title": this.title.loadFromJsonObject(s.value); break; case "Legend": this.legend.loadFromJsonObject(s.value); break; case "SeriesLabels": this.seriesLabels = l.loadFromJsonObjectInternal(s.value, this); break; case "Table": this._table.loadFromJsonObject(s.value); break; case "Area": this._area = c.loadFromJsonObjectInternal(s.value), this._area.chart = this; break; case "Series": this._series.loadFromJsonObject(s.value); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } this.core.applyStyle(this.style) } , J.prototype.loadFromXml = function(t, r) { z.prototype.loadFromXml.call(this, t, r); var n = t.getAttribute("Ref"); !i.isNullOrEmpty(n) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[n.stimulsoft.toNumber()] = t.nodeName); for (var o = 0; o < t.childNodes.length; o++) { var a = t.childNodes[o]; switch (a.nodeName) { case "FilterMode": this._filterMode = R.parse(e.Report.Components.StiFilterMode, a.textContent); break; case "Filters": this._filters.loadFromXml(a); break; case "FilterOn": this._filterOn = a.textContent.stimulsoft.toBoolean(); break; case "Border": case "br": this._border = N.loadFromXml(a.textContent); break; case "Brush": this._brush = G.loadFromXml(a.textContent); break; case "DataSourceName": this._dataSourceName = a.textContent; break; case "BusinessObjectGuid": this._businessObjectGuid = a.textContent; break; case "CountData": this._countData = a.textContent.stimulsoft.toNumber(); break; case "DataRelationName": this._dataRelationName = a.textContent; break; case "ProcessAtEnd": this._processAtEnd = a.textContent.stimulsoft.toBoolean(); break; case "ProcessChartEvent": break; case "Rotation": this._rotation = R.parse(k, a.textContent.toString()); break; case "AllowApplyStyle": this.allowApplyStyle = a.textContent.stimulsoft.toBoolean(); break; case "CustomStyleName": this._customStyleName = a.textContent; break; case "HorSpacing": this._horSpacing = a.textContent.stimulsoft.toNumber(); break; case "VertSpacing": this._vertSpacing = a.textContent.stimulsoft.toNumber(); break; case "MasterComponent": this.jsonMasterComponentTemp = a.getAttribute("isRef"), this.report.jsonLoaderHelper && this.report.jsonLoaderHelper.masterComponents.add(this); break; case "Style": var s = e.Report.Chart.StiChartStyle.loadFromXml(a); null != s && (this.style = s); break; case "ConstantLines": this.constantLines.loadFromXml(a); break; case "Strips": this.strips.loadFromXml(a); break; case "Title": var l = new e.Report.Chart.StiChartTitle; l.loadFromXml(a), l.chart = this, this.title = l; break; case "Legend": var u = new e.Report.Chart.StiLegend; u.loadFromXml(a), u.chart = this, this.legend = u; break; case "Table": var h = new e.Report.Chart.StiChartTable; h.chart = this, h.loadFromXml(a), this._table = h; break; case "SeriesLabels": this.seriesLabels = e.Report.Chart.StiSeriesLabels.loadLabelsFromXml(a, this); break; case "Area": this._area = c.loadAreaFromXml(a, this); break; case "Series": this._series.loadFromXml(a, this); break; case "SeriesLabelsConditions": this._seriesLabelsConditions.loadFromXml(a); break } } r || this.core.applyStyle(this.style) } , Object.defineProperty(J.prototype, "componentId", { get: function() { return t.StiComponentId.StiChart }, enumerable: !0, configurable: !0 }), J.prototype.convert = function(e, t, r) { void 0 === r && (r = !1), z.prototype.convert.call(this, e, t, r), this.legend.size = t.convertFromHInches(e.convertToHInches(this.legend.size)) } , J.prototype.convertToHInches = function(e) { return null != this.report ? this.report.unit.convertToHInches(e) : e } , J.prototype.setString = function(e, t) { var r, n; switch (e) { case "Legend.Title": this.legend.title = t; break; case "SeriesLabels.TextBefore": this.seriesLabels.textBefore = t; break; case "SeriesLabels.TextAfter": this.seriesLabels.textAfter = t; break } var a = this.area.stimulsoft.as(o); if (null != a) switch (e) { case "Area.XAxis.Labels.TextBefore": a.xAxis.labels.textBefore = t; break; case "Area.XAxis.Labels.TextAfter": a.xAxis.labels.textAfter = t; break; case "Area.XAxis.Title.Text": a.xAxis.title.text = t; break; case "Area.YAxis.Labels.TextBefore": a.yAxis.labels.textBefore = t; break; case "Area.YAxis.Labels.TextAfter": a.yAxis.labels.textAfter = t; break; case "Area.YAxis.Title.Text": a.yAxis.title.text = t; break; case "Area.XTopAxis.Labels.TextBefore": a.xTopAxis.labels.textBefore = t; break; case "Area.XTopAxis.Labels.TextAfter": a.xTopAxis.labels.textAfter = t; break; case "Area.XTopAxis.Title.Text": a.xTopAxis.title.text = t; break; case "Area.YRightAxis.Labels.TextBefore": a.yRightAxis.labels.textBefore = t; break; case "Area.YRightAxis.Labels.TextAfter": a.yRightAxis.labels.textAfter = t; break; case "Area.YRightAxis.Title.Text": a.yRightAxis.title.text = t; break } var s = 0; try { for (var l = __values(this.series.list), u = l.next(); !u.done; u = l.next()) { var c = u.value; e == i.format("Series{0}.Title", s++) && (c.coreTitle = t) } } catch (e) { r = { error: e } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (r) throw r.error } } } , J.prototype.getString = function(e) { var t, r; switch (e) { case "Legend.Title": return this.legend.title; case "SeriesLabels.TextBefore": return this.seriesLabels.textBefore; case "SeriesLabels.TextAfter": return this.seriesLabels.textAfter } var n = this.area.stimulsoft.as(o); if (null != n) switch (e) { case "Area.XAxis.Labels.TextBefore": return n.xAxis.labels.textBefore; case "Area.XAxis.Labels.TextAfter": return n.xAxis.labels.textAfter; case "Area.XAxis.Title.Text": return n.xAxis.title.text; case "Area.YAxis.Labels.TextBefore": return n.yAxis.labels.textBefore; case "Area.YAxis.Labels.TextAfter": return n.yAxis.labels.textAfter; case "Area.YAxis.Title.Text": return n.yAxis.title.text; case "Area.XTopAxis.Labels.TextBefore": return n.xTopAxis.labels.textBefore; case "Area.XTopAxis.Labels.TextAfter": return n.xTopAxis.labels.textAfter; case "Area.XTopAxis.Title.Text": return n.xTopAxis.title.text; case "Area.YRightAxis.Labels.TextBefore": return n.yRightAxis.labels.textBefore; case "Area.YRightAxis.Labels.TextAfter": return n.yRightAxis.labels.textAfter; case "Area.YRightAxis.Title.Text": return n.yRightAxis.title.text } var a = 0; try { for (var s = __values(this.series.list), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (e == i.format("Series{0}.Title", a++)) return u.coreTitle } } catch (e) { t = { error: e } } finally { try { l && !l.done && (r = s.return) && r.call(s) } finally { if (t) throw t.error } } throw i.format("Property with name {0}", e) } , J.prototype.getAllStrings = function() { var e = []; e.add("Legend.Title"), e.add("SeriesLabels.TextBefore"), e.add("SeriesLabels.TextAfter"), this.area.stimulsoft.is(o) && (e.add("Area.XAxis.Labels.TextBefore"), e.add("Area.XAxis.Labels.TextAfter"), e.add("Area.XAxis.Title.Text"), e.add("Area.YAxis.Labels.TextBefore"), e.add("Area.YAxis.Labels.TextAfter"), e.add("Area.YAxis.Title.Text"), e.add("Area.XTopAxis.Labels.TextBefore"), e.add("Area.XTopAxis.Labels.TextAfter"), e.add("Area.XTopAxis.Title.Text"), e.add("Area.YRightAxis.Labels.TextBefore"), e.add("Area.YRightAxis.Labels.TextAfter"), e.add("Area.YRightAxis.Title.Text")); for (var t = 0; t < this.series.count; t++) e.add(i.format("Series{0}.Title", t)); return e } , J.prototype.clone = function() { var e, t, r, i, n, o, a = z.prototype.clone.call(this); a._chartInfo = this.chartInfo.clone(), a.brush = this.brush.clone(), a.border = this.border.clone(), null != this.sort ? a.sort = this.sort.clone() : a.sort = null, null != this.filters ? a.filters = this.filters.clone() : a.filters = null, null != a.title && (a.title = this.title.clone()), null != a.area && (a.area = this.area.clone()), null != a.seriesLabels && (a.seriesLabels = this.seriesLabels.clone()), null != a.legend && (a.legend = this.legend.clone()), null != a.table && (a.table = this.table.clone()), a.series = new A, a.series.seriesAdded = this.series_SeriesAdded, a.series.seriesRemoved = this.series_SeriesRemoved; try { for (var s = __values(this.series.list), l = s.next(); !l.done; l = s.next()) { var u = l.value , c = u.clone() , h = c.title; a.series.add(c), c.title = h } } catch (t) { e = { error: t } } finally { try { l && !l.done && (t = s.return) && t.call(s) } finally { if (e) throw e.error } } a.constantLines = new C; try { for (var p = __values(this.constantLines.list), f = p.next(); !f.done; f = p.next()) { var m = f.value; a.constantLines.add(m.clone()) } } catch (e) { r = { error: e } } finally { try { f && !f.done && (i = p.return) && i.call(p) } finally { if (r) throw r.error } } a.strips = new _; try { for (var S = __values(this.strips.list), d = S.next(); !d.done; d = S.next()) { var y = d.value; a.strips.add(y.clone()) } } catch (e) { n = { error: e } } finally { try { d && !d.done && (o = S.return) && o.call(S) } finally { if (n) throw n.error } } return null != a.core && (a.core = this.core.clone(), a.core.chart = a), a } , J.prototype.saveState = function(e) { z.prototype.saveState.call(this, e), this.states.pushInt(e, this, "positionValue", this.positionValue), this.states.pushBool(e, this, "isEofValue", this.isEofValue), this.states.pushBool(e, this, "isBofValue", this.isBofValue), null != this.dataSource && this.dataSource.saveState(e) } , J.prototype.restoreState = function(e) { z.prototype.restoreState.call(this, e), this.states.isExist(e, this) && (this.isBofValue = this.states.popBool(e, this, "isBofValue"), this.isEofValue = this.states.popBool(e, this, "isEofValue"), this.positionValue = this.states.popInt(e, this, "positionValue")), null != this.dataSource && this.dataSource.restoreState(e) } , J.prototype.getImage = function(r, i) { void 0 === i && (i = t.StiExportFormat.None); var n = new t.Export.StiSvgData; return n.component = this, n.x = 0, n.y = 0, n.width = this.report.unit.convertToHInches(this.width), n.height = this.report.unit.convertToHInches(this.height), e.Report.Export.StiChartSvgHelper.getImage(n) } , J.prototype.isExportAsImage = function(e) { if (e == t.StiExportFormat.Pdf) return !1; if (e == t.StiExportFormat.ImageSvg) return !1; return !0 } , Object.defineProperty(J.prototype, "filterMethodHandler", { get: function() { return this._filterMethodHandler }, set: function(e) { this._filterMethodHandler = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "filterMode", { get: function() { return this._filterMode }, set: function(e) { this._filterMode = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "filters", { get: function() { return this._filters }, set: function(e) { this._filters = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "filter", { get: function() { return 0 == this.filters.count && this.filters.add(new M), this.filters.getByIndex(0).item = e.Report.Components.StiFilterItem.Expression, this.filters.getByIndex(0).expression }, set: function(t) { 0 == this.filters.count && this.filters.add(new M), this.filters.getByIndex(0).item = e.Report.Components.StiFilterItem.Expression, this.filters.getByIndex(0).expression = t }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "filterOn", { get: function() { return this._filterOn }, set: function(e) { this._filterOn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "border", { get: function() { return this._border }, set: function(e) { this._border = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "sort", { get: function() { return this._sort }, set: function(e) { this._sort = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "dataSource", { get: function() { if (this.isCacheValues) return this.cachedDataSource; 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: !0, configurable: !0 }), Object.defineProperty(J.prototype, "dataSourceName", { get: function() { return this._dataSourceName }, set: function(e) { this._dataSourceName != e && (this._dataSourceName = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "isDataSourceEmpty", { get: function() { if (this.isCacheValues) return this.cachedIsDataSourceEmpty; return i.isNullOrEmpty(this.dataSourceName) || null == this.dataSource }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "isBusinessObjectEmpty", { get: function() { if (this.isCacheValues) return this.cachedIsBusinessObjectEmpty; return i.isNullOrEmpty(this.businessObjectGuid) || null == this.businessObject }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "businessObject", { get: function() { if (this.isCacheValues) return this.cachedBusinessObject; if (null == this.page || null == this.report || null == this.businessObjectGuid || 0 == this.businessObjectGuid.length) return null; return e.Report.Dictionary.StiBusinessObjectHelper.getBusinessObjectFromGuid(this.report, this.businessObjectGuid) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "businessObjectGuid", { get: function() { return this._businessObjectGuid }, set: function(e) { this._businessObjectGuid != e && (this._businessObjectGuid = e, i.isNullOrEmpty(e) || (this.dataSourceName = null)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "masterComponent", { get: function() { return this._masterComponent }, set: function(e) { this._masterComponent = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "countData", { get: function() { return this._countData }, set: function(e) { this._countData = e }, enumerable: !0, configurable: !0 }), J.prototype.first = function() { this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? (this.isEofValue = !1, this.isBofValue = !0, this.positionValue = 0) : this.dataSource.first() : this.businessObject.first() } , J.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() } , J.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() } , J.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(J.prototype, "isEof", { get: function() { return this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? this.isEofValue : this.dataSource.isEof : this.businessObject.isEof }, set: function(e) { this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? this.isEofValue = e : this.dataSource.isEof = e : this.businessObject.isEof = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "isBof", { get: function() { return this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? this.isBofValue : this.dataSource.isBof : this.businessObject.isBof }, set: function(e) { this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? this.isBofValue = e : this.dataSource.isBof = e : this.businessObject.isBof = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "isEmpty", { get: function() { return this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? 0 == this.countData : this.dataSource.isEmpty : this.businessObject.isEmpty }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "position", { get: function() { if (!this.isBusinessObjectEmpty) return this.businessObject.position; if (!this.isDataSourceEmpty) return this.dataSource.position; return this.positionValue }, set: function(e) { this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? this.positionValue = e : this.dataSource.position = e : this.businessObject.position = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "count", { get: function() { if (this.isCacheValues) return this.cachedCount; return this.isBusinessObjectEmpty ? this.isDataSourceEmpty ? this.countData : this.dataSource.count : this.businessObject.count }, enumerable: !0, configurable: !0 }), J.prototype.cacheValues = function(e) { e ? (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 = e } , Object.defineProperty(J.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: !0, configurable: !0 }), Object.defineProperty(J.prototype, "dataRelationName", { get: function() { return this._dataRelationName }, set: function(e) { this._dataRelationName = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "processAtEnd", { get: function() { return this._processAtEnd }, set: function(e) { this._processAtEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "priority", { get: function() { return j.Component }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "localizedCategory", { get: function() { return F.get("Report", "Components") }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "componentType", { get: function() { return T.Simple }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "localizedName", { get: function() { return F.get("Components", "StiChart") }, enumerable: !0, configurable: !0 }), J.prototype.invokeEvents = function() { try { z.prototype.invokeEvents.call(this), this.invokeProcessChart(this, s.empty) } catch (e) {} } , J.prototype.onProcessChart = function(e) {} , J.prototype.invokeProcessChart = function(e, t) { try { this.onProcessChart(t) } catch (e) {} } , J.prototype.series_SeriesAdded = function(e) { var t = e , r = t.chart; null != r.area && r.area.core.isAcceptableSeries(t.stimulsoft.getType()) || (r.area = P.createObject(t.getDefaultAreaType()), null != r.seriesLabels && r.area.core.isAcceptableSeriesLabels(r.seriesLabels.stimulsoft.getType()) || (r.seriesLabels = P.createObject(r.area.getDefaultSeriesLabelsType()))), r.allowApplyStyle && r.core.applyStyle(r.style) } , J.prototype.series_SeriesRemoved = function(e) { var t, r, i = e, n = i.chart; if (0 == n.series.count) return void (n.area.stimulsoft.is(m) || (n.area = new v, n.area.core.applyStyle(this.style))); if (null != n.area) { var o = n.area.stimulsoft.getType(); try { for (var a = __values(n.series.list), s = a.next(); !s.done; s = a.next()) { if (s.value.getDefaultAreaType() == o) return } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } } n.area = P.createObject(n.series.getByIndex(0).getDefaultAreaType()), this.allowApplyStyle && this.core.applyStyle(n.style) } , Object.defineProperty(J.prototype, "seriesLabelsConditions", { get: function() { return this._seriesLabelsConditions }, set: function(e) { this._seriesLabelsConditions = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "chartType", { get: function() { return this.area }, set: function(e) { this.area = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "isDashboard", { get: function() { return this._isDashboard }, set: function(e) { this._isDashboard = e }, enumerable: !0, configurable: !0 }), J.prototype.createNew = function() { return new J } , J.prototype.applyStyle = function() { this.allowApplyStyle && this.core.applyStyle(this.style) } , J.prototype.simplifyValues = function() { var e = 0; while (e < this.series.count) { var t = this.series.getByIndex(e); if (t.values.length > 3e3) { var r = O.getShorterListPoints(t); t.values = [], t.arguments = []; for (var i = 1; i < r.length; i++) t.values[i] = r[i].x, t.arguments[i] = r[i].y } e++ } } , Object.defineProperty(J.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "rotation", { get: function() { return this._rotation }, set: function(e) { this._rotation = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "series", { get: function() { return this._series }, set: function(e) { this._series = e, this._series.chart = this }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "area", { get: function() { return this._area }, set: function(e) { this._area != e && (e.stimulsoft.is(x) && (this._area = e), this._area = e, null != e ? this._area.chart = this : this._area = null) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "table", { get: function() { return this._table }, set: function(e) { this._table != e && (this._table = e, this._table.chart = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "style", { get: function() { return this._style }, set: function(e) { this._style != e && (this._style = e, null != e && (e.core.chart = this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && this.core.applyStyle(this.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "customStyleName", { get: function() { return this._customStyleName }, set: function(e) { this._customStyleName = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "horSpacing", { get: function() { return this._horSpacing }, set: function(e) { e >= 0 && (this._horSpacing = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "vertSpacing", { get: function() { return this._vertSpacing }, set: function(e) { e >= 0 && (this._vertSpacing = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "seriesLabels", { get: function() { return this._seriesLabels }, set: function(e) { this._seriesLabels = e, null != e && (this._seriesLabels.chart = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "legend", { get: function() { return this._legend }, set: function(e) { if (null == e) throw new Error("new NullReferenceException()"); this._legend = e, this._legend.chart = this }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "title", { get: function() { return this._title }, set: function(e) { this._title != e && (this._title = e, this._title.chart = this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "strips", { get: function() { return this._strips }, set: function(e) { this._strips = e, this._strips.chart = this }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "constantLines", { get: function() { return this._constantLines }, set: function(e) { this._constantLines = e, this._constantLines.chart = this }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "isAnimation", { get: function() { return this._isAnimation }, set: function(e) { this._isAnimation != e && (this._isAnimation = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(J.prototype, "chartInfo", { get: function() { return this._chartInfo }, enumerable: !0, configurable: !0 }), J }(z); r.StiChart = J }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.StringAlignment , n = e.Base.Drawing.StiRotationMode , o = e.Base.Context.StiFontGeom , a = e.System.Drawing.Point , s = e.System.Drawing.Rectangle , l = e.Base.Drawing.StiHorAlignment , u = e.System.Collections.List , c = e.System.Globalization.CultureInfo , h = function(h) { function p(e) { return h.call(this, e) || this } return __extends(p, h), p.prototype.render = function(e, r) { if (!this.axis.visible) return null; var i = this.getAxisRect(e, r, !1, !1, !0, !1).clone(); i.x = 0, i.y = 0, this.axis.interaction.showScrollBar && (this.axis.stimulsoft.is(t.IStiYRightAxis) && !this.axis.area.reverseHor || this.axis.stimulsoft.is(t.IStiYLeftAxis) && this.axis.area.reverseHor) && (i.x += t.StiAxisCoreXF.defaultScrollBarSize * e.options.zoom); var n = new t.StiYAxisGeom(this.axis,i.clone(),!1); return this.renderLabels(e, i.clone(), n), this.axis.range.auto || (i.y = (this.axis.info.maximum - this.axis.range.maximum) * this.axis.info.dpi, i.height = (this.axis.range.maximum - this.axis.range.minimum) * this.axis.info.dpi), this.renderTitle(e, i, n), n } , p.prototype.renderView = function(e, r) { if (!this.axis.visible) return null; var i = this.getAxisRect(e, r, !1, !1, !0, !0).clone(); return new t.StiYAxisViewGeom(this.axis.stimulsoft.as(t.IStiYAxis),i,!1) } , p.prototype.renderScrollBar = function(e, t, r) {} , p.prototype.renderCenter = function(e, r) { if (!this.axis.visible) return null; if (this.axis.area.xAxis.info.minimum >= 0) return null; var i = this.getCenterAxisRect(e, r, !1, !1, !0).clone(); return i.x = 0, i.y = 0, new t.StiYAxisGeom(this.axis,i,!0) } , p.prototype.renderCenterView = function(e, r) { if (!this.axis.visible) return null; if (this.axis.area.xAxis.info.minimum >= 0) return null; var i = this.getCenterAxisRect(e, r, !1, !1, !0).clone(); return new t.StiYAxisViewGeom(this.axis,i,!0) } , p.prototype.getLabelText = function(i, n) { var o = i.valueObject; null == o && (o = ""); try { if (null != this.axis.labels.formatService) return "" + this.axis.labels.textBefore + this.axis.labels.formatService.format(i.value) + this.axis.labels.textAfter; if (null != this.axis.labels.format && 0 != this.axis.labels.format.trim().length) { var a = c.currentCulture , s = this.axis.area.chart.report.culture; r.isNullOrEmpty(this.axis.area.chart.report.culture) || (c.currentCulture = c.cultures[s]); try { if (o.stimulsoft.is(String) && (o = o.toString().stimulsoft.toNumber()), !t.StiChartOptions.oldChartPercentMode && this.axis.labels.format.stimulsoft.startsWith("P")) { var l = 0; return this.axis.labels.format.length > 1 && (l = parseInt(this.axis.labels.format.stimulsoft.remove(0, 1))), r.format("{0}{1:N" + l.toString() + "}{2}{3}", this.axis.labels.textBefore, o, "%", this.axis.labels.textAfter) } return r.format("{0}{1:" + this.axis.labels.format + "}{2}", this.axis.labels.textBefore, o, this.axis.labels.textAfter) } catch (t) { e.System.StiError.showError(t, !1) } finally { r.isNullOrEmpty(s) || (c.currentCulture = a) } } return r.format("{0}{1}{2}", this.axis.labels.textBefore, o, this.axis.labels.textAfter) } catch (t) { e.System.StiError.showError(t, !1) } return o.toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator) } , p.prototype.measureStripLines = function(e, r) { var i, s, c = []; if (null != this.axis.info.labelsCollection && this.axis.labels.placement != t.StiLabelsPlacement.None) { var h = this.getAxisTitleSize(e) , p = 0; try { for (var f = __values(this.axis.info.labelsCollection), m = f.next(); !m.done; m = f.next()) { var S = m.value , d = this.axis.area.reverseHor ? this.isLeftSide : this.isRightSide; if (d && this.axis.area.xTopAxis.arrowStyle != t.StiArrowStyle.None && 0 == p) { c.add(new t.StiAxisLabelInfoXF), p++; continue } if (d && this.axis.area.xAxis.arrowStyle != t.StiArrowStyle.None && p == this.axis.info.stripLines.count - 1) { c.add(new t.StiAxisLabelInfoXF), p++; continue } var y = this.getLabelText(S.stripLine, null) , g = S.position , b = e.getGenericStringFormat() , v = o.changeFontSize(this.axis.labels.font, this.axis.labels.font.size * e.options.zoom) , C = this.getTextAlignment() , w = n.LeftCenter , x = -this.axis.labels.angle , _ = a.empty; this.isLeftSide ? C == l.Left ? (w = n.LeftCenter, _ = new a(h.width,g), x = 0) : C == l.Center ? (w = n.CenterCenter, _ = new a((r.width - h.width) / 2,g), x = 0) : (w = n.RightCenter, _ = new a(r.width - this.getTicksMaxLength(e) - this.getLabelsSpaceAxis(e),g)) : C == l.Left ? (w = n.LeftCenter, _ = new a(this.getTicksMaxLength(e) + this.getLabelsSpaceAxis(e),g)) : C == l.Center ? (w = n.CenterCenter, _ = new a((r.width - h.width) / 2,g), x = 0) : (w = n.RightCenter, _ = new a(r.width - h.width,g), x = 0), this.axis.labels.placement == t.StiLabelsPlacement.TwoLines && 0 != (1 & p) && (this.isLeftSide && (_.x -= this.getLabelsTwoLinesDestination(e)), this.isRightSide && (_.x += this.getLabelsTwoLinesDestination(e))); var A = e.measureRotatedString3(y, v, _, b, w, x, this.axis.labels.width * e.options.zoom) , L = this.axis.labels.width * e.options.zoom; if (0 != L) { switch (w.toString()) { case "3": A.x += (L - A.width) / 2; break; case "4": A.x += (L - A.width) / 2; break; case "5": A.x += (L - A.width) / 2; break; case "6": A.x += L - A.width; break; case "7": A.x += L - A.width; break; case "8": A.x += L - A.width; break } A.width = L } var O = new t.StiAxisLabelInfoXF; O.angle = x, O.clientRectangle = A, O.rotationMode = w, O.textPoint = _, O.text = y, O.stripLine = S.stripLine, c.add(O), p++ } } catch (e) { i = { error: e } } finally { try { m && !m.done && (s = f.return) && s.call(f) } finally { if (i) throw i.error } } } if (this.axis.range.auto) { var P = this.axis.labels.font.getHeight() * e.options.zoom , B = r.height / this.axis.info.stripLines.count , R = Math.ceil(P / B) , k = 0 , j = new u; c.reverse(); for (var p = 0; p < c.length; p++) 0 == k && j.add(c[p]), ++k == R && (k = 0); return j } return c } , p.prototype.getCenterAxisRect = function(e, t, r, i, n) { if (this.axis.area.xAxis.info.minimum >= 0) return s.empty; var o = -this.getTicksMaxLength(e); return new s(o,0,this.getTicksMaxLength(e),t.height) } , p.prototype.getAxisRect = function(e, r, i, n, o, a) { var l, u, c = s.empty; if (!this.axis.visible) return c; var h = this.measureStripLines(e, r); if (0 == h.length) c = this.isLeftSide ? new s(-this.getTicksMaxLength(e),0,this.getTicksMaxLength(e),r.height) : new s(r.width,0,this.getTicksMaxLength(e),r.height); else { try { for (var p = __values(h), f = p.next(); !f.done; f = p.next()) { var m = f.value; if (m.clientRectangle.isEmpty) continue; c = c.isEmpty ? m.clientRectangle.clone() : s.union(c, m.clientRectangle) } } catch (e) { l = { error: e } } finally { try { f && !f.done && (u = p.return) && u.call(p) } finally { if (l) throw l.error } } this.axis.interaction.showScrollBar && a && (c.width += t.StiAxisCoreXF.defaultScrollBarSize * e.options.zoom), c.width += this.getTicksMaxLength(e) + this.getLabelsSpaceAxis(e); var S = c.clone(); this.isLeftSide && (c = new s(-c.width,0,c.width,r.height)), this.isRightSide && (c = new s(r.width,0,c.width,r.height)), n && (c.y = S.y, c.height = S.height) } if (this.axis.arrowStyle != t.StiArrowStyle.None && i) { var d = this.getArrowHeight(e); this.axis.area.reverseVert && (d = -d), c = s.union(c, new s(c.x,-d,1,d)) } var y = this.getAxisTitleSize(e); return y.isEmpty || this.axis.title.position != t.StiTitlePosition.Outside || (c.width += y.width, this.isLeftSide && (c.x -= y.width)), c } , p.prototype.renderLabels = function(e, r, i) { var n, o; if (this.axis.labels.placement != t.StiLabelsPlacement.None) { var a = this.measureStripLines(e, r); i.createChildGeoms(); try { for (var s = __values(a), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (!u.clientRectangle.isEmpty) { var c = new t.StiAxisLabelGeom(this.axis,u.clientRectangle,u.textPoint,u.text,u.stripLine,u.angle,u.rotationMode); i.childGeoms.add(c) } } } catch (e) { n = { error: e } } finally { try { l && !l.done && (o = s.return) && o.call(s) } finally { if (n) throw n.error } } } } , p.prototype.renderTitle = function(e, n, a) { if (r.isNullOrEmpty(this.axis.title.text)) return; var l = this.getAxisTitleSize(e) , u = s.empty; if (this.isLeftSide) { switch (this.axis.title.alignment) { case i.Near: u = new s(0,n.height - l.height + n.y,l.width,l.height); break; case i.Center: u = new s(0,(n.height - l.height) / 2 + n.y,l.width,l.height); break; case i.Far: u = new s(0,n.y,l.width,l.height); break } this.axis.title.position == t.StiTitlePosition.Inside && (u.x += n.width) } if (this.isRightSide) { switch (this.axis.title.alignment) { case i.Near: u = new s(n.width - l.width,n.height - l.height + n.y,l.width,l.height); break; case i.Center: u = new s(n.width - l.width,(n.height - l.height) / 2 + n.y,l.width,l.height); break; case i.Far: u = new s(n.width - l.width,n.y,l.width,l.height); break } this.axis.title.position == t.StiTitlePosition.Inside && (u.x -= n.width) } var c = this.axis.title.font.size * e.options.zoom , h = { ref: 0 }; this.axis.area.chart.isDashboard && this.checkUseMaxWidth(n, u, h) && (c = this.getCorrectionFontSize(n, u, c)); var p = o.changeFontSize(this.axis.title.font, c) , f = this.getAngleTitle() , m = new t.StiAxisTitleGeom(this.axis,u,f,this.axis.title.alignment,p); a.createChildGeoms(), a.childGeoms.add(m) } , Object.defineProperty(p.prototype, "dock", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "isLeftSide", { get: function() { return this.dock == t.StiYAxisDock.Left && !this.axis.area.reverseHor || this.dock == t.StiYAxisDock.Right && this.axis.area.reverseHor }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "isRightSide", { get: function() { return this.dock == t.StiYAxisDock.Right && !this.axis.area.reverseHor || this.dock == t.StiYAxisDock.Left && this.axis.area.reverseHor }, enumerable: !0, configurable: !0 }), p }(t.StiAxisCoreXF); t.StiYAxisCoreXF = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(e) { return t.call(this, e) || this } return __extends(r, t), Object.defineProperty(r.prototype, "dock", { get: function() { return e.StiYAxisDock.Left }, enumerable: !0, configurable: !0 }), r }(e.StiYAxisCoreXF); e.StiYLeftAxisCoreXF = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(e) { return t.call(this, e) || this } return __extends(r, t), Object.defineProperty(r.prototype, "dock", { get: function() { return e.StiYAxisDock.Right }, enumerable: !0, configurable: !0 }), r.prototype.getStartFromZero = function() { if (1 == this.axis.area.axisCore.valuesCount) return !0; if (null != this.axis && null != this.axis.range && !this.axis.range.auto) return !1; return null == this.axis || this.axis.startFromZero } , r }(e.StiYAxisCoreXF); e.StiYRightAxisCoreXF = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.StringAlignment , i = e.Base.Drawing.StiRotationMode , n = e.Base.Context.StiFontGeom , o = e.Base.Drawing.StiSolidBrush , a = e.System.ICloneable , s = function() { function e(e) { this._chartTitle = e } return e.prototype.implements = function() { return e.implementsStiChartTitleCoreXF || (e.implementsStiChartTitleCoreXF = [a, t.IStiApplyStyle, t.IStiChartTitleCoreXF]), e.implementsStiChartTitleCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.applyStyle = function(e) { this.chartTitle.allowApplyStyle && (this.chartTitle.brush = new o(e.core.axisTitleColor)) } , e.prototype.render = function(e, o, a) { if (!o.visible) return null; var s = new n(o.font.fontFamily.name,o.font.size,o.font.style,o.font.unit) , l = e.getDefaultStringFormat(); l.alignment = o.alignment; var u = e.measureRotatedString2(o.text, s, a, l, i.CenterCenter, o.dock, 0); switch (o.dock) { case t.StiChartTitleDock.Top: u.height += o.spacing, u.height *= e.options.zoom, u.y = a.y, o.alignment != r.Center && (u.width *= e.options.zoom), o.alignment == r.Near && (u.x = a.x), o.alignment == r.Center && (u.x = a.x + a.width / 2 - u.width / 2), o.alignment == r.Far && (u.x = a.x + a.width - u.width); break; case t.StiChartTitleDock.Right: u.width += o.spacing, u.width *= e.options.zoom, u.x = a.x + a.width - u.width, o.alignment != r.Center && (u.height *= e.options.zoom), o.alignment == r.Near && (u.y = a.y), o.alignment == r.Center && (u.y = a.y + a.height / 2 - u.height / 2), o.alignment == r.Far && (u.y = a.y + a.height - u.height); break; case t.StiChartTitleDock.Bottom: u.height += o.spacing, u.height *= e.options.zoom, u.y = a.y + a.height - u.height, o.alignment != r.Center && (u.width *= e.options.zoom), o.alignment == r.Near && (u.x = a.x + a.width - u.width), o.alignment == r.Center && (u.x = a.x + a.width / 2 - u.width / 2), o.alignment == r.Far && (u.x = a.x); break; case t.StiChartTitleDock.Left: u.width += o.spacing, u.width *= e.options.zoom, u.x = a.x, o.alignment != r.Center && (u.height *= e.options.zoom), o.alignment == r.Near && (u.y = a.y + a.height - u.height), o.alignment == r.Center && (u.y = a.y + a.height / 2 - u.height / 2), o.alignment == r.Far && (u.y = a.y); break } return new t.StiChartTitleGeom(o,u) } , Object.defineProperty(e.prototype, "chartTitle", { get: function() { return this._chartTitle }, set: function(e) { this._chartTitle = e }, enumerable: !0, configurable: !0 }), e }(); t.StiChartTitleCoreXF = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.System.Drawing.Point , n = e.System.Drawing.Rectangle , o = e.System.ICloneable , a = function() { function a(e) { this._constantLines = e } return a.prototype.implements = function() { return a.implementsStiConstantLinesCoreXF || (a.implementsStiConstantLinesCoreXF = [t.IStiApplyStyle, o, t.IStiConstantLinesCoreXF]), a.implementsStiConstantLinesCoreXF } , a.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , a.prototype.applyStyle = function(e) { this.constantLines.allowApplyStyle && (this.constantLines.lineColor = e.core.chartAreaBorderColor) } , a.prototype.renderXConstantLines = function(o, a, s) { var l, u, c = a.area; if (null == c) return; var h; try { h = this.constantLines.axisValue.stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1), h = 0 } c.reverseVert && (h = -h); var p = c.axisCore.getDividerX() + h * c.xAxis.info.dpi; try { for (var f = __values(c.xAxis.info.stripLines.list), m = f.next(); !m.done; m = f.next()) { var S = m.value; null != S.valueObject && S.valueObject.toString() == this.constantLines.axisValue && (h = S.value, c.reverseHor && (h = -h), p = h * c.xAxis.info.dpi + c.axisCore.getDividerX()) } } catch (e) { l = { error: e } } finally { try { m && !m.done && (u = f.return) && u.call(f) } finally { if (l) throw l.error } } var d = new i(0,0) , y = r.LeftTop; switch (this.constantLines.position) { case t.StiConstantLines_StiTextPosition.LeftTop: y = r.LeftBottom, d = new i(p,0); break; case t.StiConstantLines_StiTextPosition.LeftBottom: y = r.LeftTop, d = new i(p,0); break; case t.StiConstantLines_StiTextPosition.CenterTop: y = r.CenterBottom, d = new i(p,s.height / 2); break; case t.StiConstantLines_StiTextPosition.CenterBottom: y = r.CenterTop, d = new i(p,s.height / 2); break; case t.StiConstantLines_StiTextPosition.RightTop: y = r.RightBottom, d = new i(p,s.height); break; case t.StiConstantLines_StiTextPosition.RightBottom: y = r.RightTop, d = new i(p,s.height); break } var g = new t.StiConstantLinesVerticalGeom(this.constantLines,new n(p,0,p,s.height),d,y); a.createChildGeoms(), a.childGeoms.add(g) } , a.prototype.renderYConstantLines = function(o, a, s) { var l = a.area; if (null == l) return; var u; try { u = this.constantLines.axisValue.stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1), u = 0 } l.reverseVert && (u = -u); var c; c = this.constantLines.orientation == t.StiConstantLines_StiOrientation.Horizontal ? l.axisCore.getDividerY() - u * l.yAxis.info.dpi : l.axisCore.getDividerRightY() - u * l.yRightAxis.info.dpi; var h = new i(0,0) , p = r.LeftTop; switch (this.constantLines.position) { case t.StiConstantLines_StiTextPosition.LeftTop: p = r.LeftBottom, h = new i(-s.x,c); break; case t.StiConstantLines_StiTextPosition.LeftBottom: p = r.LeftTop, h = new i(-s.x,c); break; case t.StiConstantLines_StiTextPosition.CenterTop: p = r.CenterBottom, h = new i(s.width / 2,c); break; case t.StiConstantLines_StiTextPosition.CenterBottom: p = r.CenterTop, h = new i(s.width / 2,c); break; case t.StiConstantLines_StiTextPosition.RightTop: p = r.RightBottom, h = new i(s.width,c); break; case t.StiConstantLines_StiTextPosition.RightBottom: p = r.RightTop, h = new i(s.width,c); break } var f = new t.StiConstantLinesYGeom(this.constantLines,new n(0,c,s.width,c),h,p); a.createChildGeoms(), a.childGeoms.add(f) } , a.prototype.render = function(e, r, i) { if (!this.constantLines.visible) return; this.constantLines.orientation == t.StiConstantLines_StiOrientation.Vertical && this.renderXConstantLines(e, r, i), this.constantLines.orientation != t.StiConstantLines_StiOrientation.Horizontal && this.constantLines.orientation != t.StiConstantLines_StiOrientation.HorizontalRight || this.renderYConstantLines(e, r, i) } , Object.defineProperty(a.prototype, "constantLines", { get: function() { return this._constantLines }, set: function(e) { this._constantLines = e }, enumerable: !0, configurable: !0 }), a }(); t.StiConstantLinesCoreXF = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.ICloneable , i = function() { function e(e) { this._gridLines = e } return e.prototype.implements = function() { return e.implementsStiGridLinesCoreXF || (e.implementsStiGridLinesCoreXF = [t.IStiApplyStyle, r, t.IStiGridLinesCoreXF]), e.implementsStiGridLinesCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.applyStyle = function(e) { this.gridLines.allowApplyStyle && (this.gridLines.stimulsoft.is(t.IStiGridLinesVert) ? (this.gridLines.color = e.core.gridLinesVertColor, this.gridLines.minorColor = e.core.gridLinesVertColor) : (this.gridLines.color = e.core.gridLinesHorColor, this.gridLines.minorColor = e.core.gridLinesHorColor)) } , Object.defineProperty(e.prototype, "gridLines", { get: function() { return this._gridLines }, set: function(e) { this._gridLines = e }, enumerable: !0, configurable: !0 }), e }(); t.StiGridLinesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.ICloneable , i = function() { function e(e) { this._gridLines = e } return e.prototype.implements = function() { return e.implementsStiRadarGridLinesCoreXF || (e.implementsStiRadarGridLinesCoreXF = [t.IStiApplyStyle, r, t.IStiRadarGridLinesCoreXF]), e.implementsStiRadarGridLinesCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.applyStyle = function(e) { this.gridLines.allowApplyStyle && (this.gridLines.stimulsoft.is(t.IStiRadarGridLinesVert) ? this.gridLines.color = e.core.gridLinesVertColor : this.gridLines.color = e.core.gridLinesHorColor) } , Object.defineProperty(e.prototype, "gridLines", { get: function() { return this._gridLines }, set: function(e) { this._gridLines = e }, enumerable: !0, configurable: !0 }), e }(); t.StiRadarGridLinesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.ICloneable , i = function() { function e(e) { this._interlacing = e } return e.prototype.implements = function() { return e.implementsStiInterlacingCoreXF || (e.implementsStiInterlacingCoreXF = [t.IStiApplyStyle, r, t.IStiInterlacingCoreXF]), e.implementsStiInterlacingCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.applyStyle = function(e) { this.interlacing.allowApplyStyle && (this.interlacing.stimulsoft.is(t.IStiInterlacingVert) ? this.interlacing.interlacedBrush = e.core.interlacingVertBrush : this.interlacing.interlacedBrush = e.core.interlacingHorBrush) } , Object.defineProperty(e.prototype, "interlacing", { get: function() { return this._interlacing }, set: function(e) { this._interlacing = e }, enumerable: !0, configurable: !0 }), e }(); t.StiInterlacingCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.Context.StiFontGeom , n = e.System.Collections.List , o = e.System.Drawing.Point , a = e.System.Drawing.Size , s = e.System.Drawing.Rectangle , l = e.System.Drawing.Rectangle , u = e.System.ICloneable , c = function() { function c(e) { this._legend = e } return c.prototype.implements = function() { return c.implementsStiLegendCoreXF || (c.implementsStiLegendCoreXF = [u, t.IStiApplyStyle, t.IStiLegendCoreXF]), c.implementsStiLegendCoreXF } , c.prototype.applyStyle = function(e) { this.legend.allowApplyStyle && (this.legend.brush = e.core.legendBrush.clone(), this.legend.labelsColor = e.core.legendLabelsColor, this.legend.titleColor = e.core.legendTitleColor, this.legend.borderColor = e.core.legendBorderColor, this.legend.showShadow = e.core.legendShowShadow, this.legend.font = e.core.legendFont) } , c.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , c.prototype.render = function(e, i) { var n, a, u, c = { ref: u }, h = this.getLegendItems(c); if (u = c.ref, !this.legend.visible || 0 == h.length) return null; var p, f, m = { ref: p }, S = { ref: f }, d = this.getLegendSize(e, i, m, S); p = m.ref, f = S.ref; var y = new s(i.x,i.y,d.width,d.height) , g = y.clone(); g.location = new o(0,0); var b = null; if (!r.isNullOrEmpty(this.legend.title)) { var v = this.getTitleSize(e) , C = y.clone(); C.location = new o(0,0), C.height = v.height, b = new t.StiLegendTitleGeom(this.legend,C), g.y += C.height, g.height -= C.height } var w = new t.StiLegendGeom(this.legend,y,h); null != b && (w.createChildGeoms(), w.childGeoms.add(b), w.legendTitleGeom = b); var x = this.legend.horSpacing * e.options.zoom , _ = this.legend.vertSpacing * e.options.zoom; if (y.width > 0 && y.height > 0) if (0 == this.legend.columns) for (var A = x + g.x, L = _ + g.y, O = A, P = L, B = 0, R = 0, k = this.getMatrixIndexItem(p, f, h.length), j = 0; j < k.length; j++) { for (var T = 0; T < k[0].length; T++) { var F = k[j][T]; if (F >= 0) { var D = h[F] , I = this.getItemRealSize(e, D); B = Math.max(B, I.width), R = Math.max(R, I.height); var N = new l(O,P,I.width,I.height) , M = new t.StiLegendItemGeom(this.legend,D,N,D.colorIndex,u); w.createChildGeoms(), w.childGeoms.add(M) } P += R + _ } P = L, O += B + x, B = 0 } else { var A = 0 , L = 0 , I = this.getItemSize1(e, h, 0); this.legend.direction == t.StiLegendDirection.LeftToRight || this.legend.direction == t.StiLegendDirection.TopToBottom ? (A = x + g.x, L = _ + g.y) : this.legend.direction == t.StiLegendDirection.RightToLeft ? (A = g.right - x - I.width, L = _ + g.y) : this.legend.direction == t.StiLegendDirection.BottomToTop && (A = x + g.x, L = g.bottom - _ - I.height); var O = A , P = L , E = 0 , V = 0; try { for (var X = __values(h), G = X.next(); !G.done; G = X.next()) { var D = G.value; I = this.getItemSize2(e, h, D); var N = new s(O,P,I.width,I.height) , M = new t.StiLegendItemGeom(this.legend,D,N,D.colorIndex,u); w.createChildGeoms(), w.childGeoms.add(M), E++, this.legend.direction == t.StiLegendDirection.TopToBottom ? (P += _ + N.height, E == this.legend.columns && (P = L, O += I.width + x, E = 0)) : this.legend.direction == t.StiLegendDirection.LeftToRight ? (O += x + N.width, E == this.legend.columns && (O = A, P += I.height + _, E = 0)) : this.legend.direction == t.StiLegendDirection.RightToLeft ? (I = this.getItemSize1(e, h, V + 1), O -= x + I.width, E == this.legend.columns && (O = A, P += I.height + _, E = 0)) : this.legend.direction == t.StiLegendDirection.BottomToTop && (P -= _ + N.height, E == this.legend.columns && (P = L, O += I.width + x, E = 0)), V++ } } catch (e) { n = { error: e } } finally { try { G && !G.done && (a = X.return) && a.call(X) } finally { if (n) throw n.error } } } return w } , c.prototype.getMatrixIndexItem = function(e, r, i) { var n = Array.create(Number, e, r); if (this.legend.direction == t.StiLegendDirection.TopToBottom) for (var o = 0, a = 0; a < r; a++) for (var s = 0; s < e; s++) n[s][a] = o < i ? o : -1, o++; else if (this.legend.direction == t.StiLegendDirection.BottomToTop) for (var o = 0, a = r - 1; a >= 0; a--) for (var s = 0; s < e; s++) n[s][a] = o < i ? o : -1, o++; else if (this.legend.direction == t.StiLegendDirection.LeftToRight) for (var o = 0, s = 0; s < e; s++) for (var a = 0; a < r; a++) n[s][a] = o < i ? o : -1, o++; else if (this.legend.direction == t.StiLegendDirection.RightToLeft) for (var o = 0, s = e - 1; s >= 0; s--) for (var a = 0; a < r; a++) n[s][a] = o < i ? o : -1, o++; return n } , c.prototype.getArgumentText = function(t, r) { if (t.arguments.length > r && null != t.arguments[r]) return t.arguments[r].toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); return "" } , c.prototype.getLegendItemColumn = function(e, r) { var i, n, o = 0, a = 0; try { for (var s = __values(e), l = s.next(); !l.done; l = s.next()) { if (l.value == r) break; o++, o >= this.legend.columns && (o = 0, a++) } } catch (e) { i = { error: e } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } if (this.legend.direction == t.StiLegendDirection.TopToBottom || this.legend.direction == t.StiLegendDirection.BottomToTop) return a; return o } , c.prototype.getTitleSize = function(e) { if (r.isNullOrEmpty(this.legend.title)) return new a(0,0); var t = i.changeFontSize(this.legend.titleFont, this.legend.titleFont.size * e.options.zoom); e.getDefaultStringFormat().formatFlags = 0; var n = e.measureString(this.legend.title, t); return n.width++, n } , c.prototype.getItemSize1 = function(e, t, r) { if (r >= 0 && r < t.length) { var i = t[r]; return this.getItemSize2(e, t, i) } return new a(0,0) } , c.prototype.getItemSize2 = function(e, t, r) { var n, o, s = 0, l = 0, u = this.getLegendItemColumn(t, r), c = i.changeFontSize(this.legend.font, this.legend.font.size * e.options.zoom); try { for (var h = __values(t), p = h.next(); !p.done; p = h.next()) { var f = p.value; if (this.getLegendItemColumn(t, f) == u) { var m = e.measureString(f.text, c); s = Math.max(m.width, s + 2), l = Math.max(m.height, l) } } } catch (e) { n = { error: e } } finally { try { p && !p.done && (o = h.return) && o.call(h) } finally { if (n) throw n.error } } return this.legend.markerVisible && (s = Math.max(this.legend.markerSize.width * e.options.zoom, s) + this.legend.markerSize.width * e.options.zoom, l = Math.max(this.legend.markerSize.height * e.options.zoom, l)), new a(s,l) } , c.prototype.getItemRealSize = function(e, t) { var r = i.changeFontSize(this.legend.font, this.legend.font.size * e.options.zoom) , n = e.measureString(t.text, r) , o = n.width , s = n.height; return this.legend.markerVisible && (o += this.legend.markerSize.width * e.options.zoom, s = Math.max(this.legend.markerSize.height * e.options.zoom, s)), new a(o,s) } , c.prototype.getItemsSize = function(e, r) { var i, n, o = this.legend.horSpacing * e.options.zoom, s = 0, l = 0, u = this.legend.columns; this.legend.direction != t.StiLegendDirection.TopToBottom && this.legend.direction != t.StiLegendDirection.BottomToTop || (u = Math.trunc((r.length - 1) / this.legend.columns) + 1); for (var c = 0; c < u; c++) try { for (var h = (i = void 0, __values(r)), p = h.next(); !p.done; p = h.next()) { var f = p.value; if (this.getLegendItemColumn(r, f) == c) { var m = this.getItemSize2(e, r, f); s += m.width + o, l = Math.max(m.height, l); break } } } catch (e) { i = { error: e } } finally { try { p && !p.done && (n = h.return) && n.call(h) } finally { if (i) throw i.error } } return new a(s,l) } , c.prototype.getItemsAutoSize = function(e, r, o, s, l) { for (var u = this.legend.direction == t.StiLegendDirection.TopToBottom || this.legend.direction == t.StiLegendDirection.BottomToTop, c = this.legend.horSpacing * e.options.zoom, h = this.legend.vertSpacing * e.options.zoom, p = i.changeFontSize(this.legend.font, this.legend.font.size * e.options.zoom), f = 0, m = 0, S = new n, d = new n, y = 0, g = null, b = 0; b < r.length; b++) { var v = r[b] , C = e.measureString(v.text, p) , w = C.width + c , x = C.height + h; if (this.legend.markerVisible && (w += this.legend.markerSize.width * e.options.zoom, x = Math.max(this.legend.markerSize.height * e.options.zoom + h, x)), y = Math.max(x, y), u) { if (S.length - 1 < f && null == g || S.length - 1 < f && null != g && f <= g) S.add(w); else if (S[f] < w) { S[f] = w, S.removeRange(f + 1, S.length - (f + 1)), b = -1, f = 0, m = 0; continue } f++, null != g && g <= f && (f = 0, m++), S.sum() + c > o.width && S.length > 1 && (f = 0, m++, b > 0 && b--, S.length > 0 && (S.removeAt(S.length - 1), g = S.length)) } else d.length - 1 < m && d.add(x), m++, S.length - 1 < f ? S.add(w) : S[f] = Math.max(S[f], w), d.sum() + h > o.height && d.length > 1 && (f++, m = 0, b > 0 && b--, d.length > 0 && d.removeAt(d.length - 1)) } return s.ref = S.length, l.ref = u ? Math.ceil(r.length / S.length) : d.length, new a(S.sum() + c,l.ref * y + h) } , c.prototype.getSeriesSize = function(e, r, i, n) { var o = this.legend.horSpacing * e.options.zoom , s = this.legend.vertSpacing * e.options.zoom , l = this.legend.chart.area.core.getSeries() , u = { ref: 0 } , c = this.getLegendItems(u) , h = u.ref , p = 0 , f = 0; if (0 == this.legend.columns) { var m = this.getItemsAutoSize(e, c, r, i, n); p = m.width, f = m.height } else { n.ref = 0, i.ref = this.legend.columns; var m = this.getItemsSize(e, c); switch (this.legend.direction) { case t.StiLegendDirection.TopToBottom: case t.StiLegendDirection.BottomToTop: p = m.width + o; var S = this.legend.columns; S > h && (S = h), f = (m.height + s) * S + s; break; case t.StiLegendDirection.LeftToRight: case t.StiLegendDirection.RightToLeft: var d = Math.ceil(h / this.legend.columns); d * this.legend.columns < h && d++, p = m.width + o, f = (m.height + s) * d + s; break } } return new a(p,f) } , c.prototype.getLegendSize = function(e, t, r, i) { var n = this.getTitleSize(e) , o = { ref: r } , s = { ref: i } , l = this.getSeriesSize(e, t, o, s); r.ref = o.ref, i.ref = s.ref; var u = new a(Math.max(n.width, l.width),n.height + l.height) , c = 0 , h = 0; return null != this.legend.chart ? (c = this.legend.chart.convertToHInches(this.legend.size.width * e.options.zoom), h = this.legend.chart.convertToHInches(this.legend.size.height * e.options.zoom)) : (c = this.legend.size.width * e.options.zoom, h = this.legend.size.height * e.options.zoom), 0 != c && (u.width = c), 0 != h && (u.height = h), u.width = Math.round(u.width), u.height = Math.round(u.height), u } , c.prototype.getLegendItems = function(i) { var n, o, a, s, l, u, c, h, p, f, m = 0, S = this.legend.chart.area.core.getSeries().stimulsoft.toList(), d = this.legend.chart.area, y = []; if (this.legend.chart.area.colorEach || S.any(function(e) { return e.stimulsoft.is(t.IStiFunnelSeries) }) || S.any(function(e) { return e.stimulsoft.is(t.IStiPictorialSeries) })) { var g = 0; try { for (var b = __values(S), v = b.next(); !v.done; v = b.next()) { var C = v.value; g = Math.max(C.values.length, g) } } catch (e) { n = { error: e } } finally { try { v && !v.done && (o = b.return) && o.call(b) } finally { if (n) throw n.error } } var w = 0; try { for (var x = __values(S), _ = x.next(); !_.done; _ = x.next()) { var C = _.value; if (this.legend.chart.area.core.isAcceptableSeries(C.stimulsoft.getType())) for (var A = 0; A < g; A++) { if (C.showInLegend && null != C.values) { var L = null != d && d.reverseHor; if (A >= C.values.length) continue; var O = L ? C.values[C.values.length - A - 1] : C.values[A]; C.stimulsoft.is(t.IStiPieSeries) && 0 == O || y.add(new t.StiLegendItemCoreXF(this.legend.chart.seriesLabels.core.getLabelText(C, O, this.getArgumentText(C, A), C.core.getTag(A), C.coreTitle, !0),C,A,w)) } m++, w++ } } } catch (e) { a = { error: e } } finally { try { _ && !_.done && (s = x.return) && s.call(x) } finally { if (a) throw a.error } } } else if (this.legend.chart.area.stimulsoft.is(t.IStiDoughnutArea)) try { for (var P = __values(S), B = P.next(); !B.done; B = P.next()) { var C = B.value; if (this.legend.chart.area.core.isAcceptableSeries(C.stimulsoft.getType()) && C.values.length == this.legend.chart.area.core.valuesCount) { var R = 0; try { for (var k = (c = void 0, __values(C.arguments)), j = k.next(); !j.done; j = k.next()) { var T = j.value; null != T && y.add(new t.StiLegendItemCoreXF(T.toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator),C,R,R)), R++, m++ } } catch (e) { c = { error: e } } finally { try { j && !j.done && (h = k.return) && h.call(k) } finally { if (c) throw c.error } } break } } } catch (e) { l = { error: e } } finally { try { B && !B.done && (u = P.return) && u.call(P) } finally { if (l) throw l.error } } else try { for (var F = __values(S), D = F.next(); !D.done; D = F.next()) { var C = D.value; this.legend.chart.area.core.isAcceptableSeries(C.stimulsoft.getType()) && (!C.showInLegend || this.legend.hideSeriesWithEmptyTitle && r.isNullOrEmpty(C.coreTitle) && !this.legend.chart.isDesigning || (y.add(new t.StiLegendItemCoreXF(C.coreTitle,C,-1,0)), m++)) } } catch (e) { p = { error: e } } finally { try { D && !D.done && (f = F.return) && f.call(F) } finally { if (p) throw p.error } } return i.ref = m, y } , Object.defineProperty(c.prototype, "legend", { get: function() { return this._legend }, set: function(e) { this._legend = e }, enumerable: !0, configurable: !0 }), c }(); t.StiLegendCoreXF = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e(e, t, r, i) { this._index = -1, this._colorIndex = 0, this._text = e, this._series = t, this._index = r, this._colorIndex = i } return Object.defineProperty(e.prototype, "text", { get: function() { return this._text }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "series", { get: function() { return this._series }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "index", { get: function() { return this._index }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "colorIndex", { get: function() { return this._colorIndex }, enumerable: !0, configurable: !0 }), e }(); e.StiLegendItemCoreXF = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiPenGeom , n = e.Base.Context.StiLinesSegmentGeom , o = e.System.Drawing.Rectangle , a = e.System.TimeSpan , s = e.Base.Drawing.StiSolidBrush , l = e.System.Drawing.Color , u = e.System.Drawing.Rectangle , c = e.System.Drawing.Point , h = e.System.ICloneable , p = e.Base.Drawing.StiBrush , f = e.Base.Context.Animation.StiScaleAnimation , m = e.System.Drawing.Point , S = e.System.Collections.List , d = e.Base.Context.StiArcSegmentGeom , y = e.Base.Context.StiLineSegmentGeom , g = function() { function e(e) { this._marker = e } return e.prototype.implements = function() { return e.implementsStiMarkerCoreXF || (e.implementsStiMarkerCoreXF = [h, t.IStiMarkerCoreXF]), e.implementsStiMarkerCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.drawMarkers = function(e, t, r) { var i, n; if (0 == t.length) return; if (null != this.marker && this.marker.visible) { e.pushSmoothingModeToAntiAlias(); var o = e.options.zoom; try { for (var a = __values(t), s = a.next(); !s.done; s = a.next()) { var l = s.value; this.marker.core.draw(e, this.marker, l, o, r, !1, !1, !1, "", null, null) } } catch (e) { i = { error: e } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (i) throw i.error } } e.popSmoothingMode() } } , e.getMarkerRect = function(e, t, r) { var i = t * r / 2; return new u(e.x - i,e.y - i,2 * i,2 * i) } , e.prototype.draw = function(t, r, n, o, a, u, c, h, f, m, S) { var d = new s(l.fromArgb(55, l.black)) , y = e.getMarkerRect(n, r.size, o).clone(); a && (y.x += 2 * o, y.y += 2 * o, this.drawPoint(t, y.x + y.width / 2, y.y + y.height / 2, o, d, null, r.type, r.size, r.angle, !1, h, f, null, null), y.x -= 2 * o, y.y -= 2 * o); var g = r.brush; if (h && c && !r.visible) { var b = null == r.brush ? l.lightGray : p.toColor(r.brush); g = new s(l.fromArgb(0, b.r, b.g, b.b)), h = !1 } var v = c ? null : new i(r.borderColor); (r.visible || c) && this.drawPoint(t, y.x + y.width / 2, y.y + y.height / 2, o, g, v, r.type, r.size, r.angle, u, h, f, m, S) } , e.prototype.drawLine = function(e, t, r, i, n, o, a, s, l, u, h, p) { this.drawLines(e, [new c(t,r), new c(i,n)], o, a, s, l, u, h, p) } , e.prototype.drawLines = function(e, t, r, i, n, o, a, s, l) { if (e.pushSmoothingModeToAntiAlias(), t.length < 2) return; for (var u = 0, c = 0; c < t.length - 1; c++) { var h = t[c] , p = t[c + 1]; if (null == h || null == p) continue; var f = h.x , m = h.y , S = p.x , d = p.y , y = S - f , g = d - m , b = Math.sqrt(y * y + g * g) , v = a; while (u < b) { var C = f + y * u / b , w = m + g * u / b; this.drawPoint(e, C, w, r, i, n, o, s, l, !1, !1, "", null, null), u += v * r } u -= b } e.popSmoothingMode() } , e.prototype.drawPoint = function(e, r, i, n, s, l, u, c, h, p, g, b, v, C) { var w = c * n / 2 , x = r - w , _ = r + w , A = i - w , L = i + w; switch (u) { case t.StiMarkerType.Star5: this.drawPolygon(e, s, l, r, i, w, 10, h, !0, p, g, b, v, C); break; case t.StiMarkerType.Star6: this.drawPolygon(e, s, l, r, i, w, 12, h, !0, p, g, b, v, C); break; case t.StiMarkerType.Star7: this.drawPolygon(e, s, l, r, i, w, 14, h, !0, p, g, b, v, C); break; case t.StiMarkerType.Star8: this.drawPolygon(e, s, l, r, i, w, 16, h, !0, p, g, b, v, C); break; case t.StiMarkerType.Hexagon: this.drawPolygon(e, s, l, r, i, w, 6, 30 + h, !1, p, g, b, v, C); break; case t.StiMarkerType.Rectangle: this.drawPolygon(e, s, l, r, i, w, 4, 45 + h, !1, p, g, b, v, C); break; case t.StiMarkerType.Circle: if (g) { var O = new f(0,0,0,0,0,0,t.StiChartHelper.globalDurationElement,a.zero); e.fillDrawAnimationEllipse(s, l, x, A, _ - x, L - A, b, v, O, C) } else null != s && e.fillEllipse3(s, x, A, _ - x, L - A, b, C), p && e.fillEllipse3(t.StiMouseOverHelper.getMouseOverColor(), x, A, _ - x, L - A, b, null), null != l && e.drawEllipse(l, x, A, _ - x, L - A); break; case t.StiMarkerType.HalfCircle: var P = new o(x,A,_ - x,L - A) , B = new o(0,0,_ - x,L - A) , R = new S; if (R.add(new d(new o(B.x,B.top + B.height / 4,B.width,B.height),360,-180)), R.add(new y(new m(B.x,B.bottom - B.height / 4),new m(B.right,B.bottom - B.height / 4))), e.pushTranslateTransform(P.x + P.width / 2, P.y + P.height / 2), e.pushRotateTransform(h), e.pushTranslateTransform(-P.width / 2, -P.height / 2), g) { var O = new f(0,0,0,0,0,0,t.StiChartHelper.globalDurationElement,a.zero); e.fillDrawAnimationPath(s, l, R, P, v, O, C) } else null != s && e.fillPath2(s, R, B, null, b.toString()), p && e.fillPath2(t.StiMouseOverHelper.getMouseOverColor(), R, P, null, b.toString()), null != l && e.drawPath(l, R, B); e.popTransform(), e.popTransform(), e.popTransform(); break; case t.StiMarkerType.Triangle: this.drawPolygon(e, s, l, r, i, w, 3, h, !1, p, g, b, v, C); break } } , e.prototype.drawPolygon = function(e, i, o, s, l, u, h, p, m, S, d, y, g, b) { p = -p; var v = [] , C = -90 + p , w = Array.create(c, h + 1, !0); if (m) for (var x = 0; x < h; x += 2) w[x].x = s + u * Math.cos(C * Math.PI / 180), w[x].y = l + u * Math.sin(C * Math.PI / 180), C += 360 / h, w[x + 1].x = s + u / 2 * Math.cos(C * Math.PI / 180), w[x + 1].y = l + u / 2 * Math.sin(C * Math.PI / 180), C += 360 / h; else for (var x = 0; x < h; x++) w[x].x = s + u * Math.cos(C * Math.PI / 180), w[x].y = l + u * Math.sin(C * Math.PI / 180), C += 360 / h; if (w[h] = w[0], v.add(new n(w)), d) { var _ = new f(0,0,0,0,0,0,t.StiChartHelper.globalDurationElement,a.zero); e.fillDrawAnimationPath(i, o, v, r.getBoundsState, g, _, b) } else null != i && e.fillPath2(i, v, r.getBoundsState, null, y.toString()), S && e.fillPath2(t.StiMouseOverHelper.getMouseOverColor(), v, r.getBoundsState, null, y.toString()), null != o && e.drawPath(o, v, null) } , Object.defineProperty(e.prototype, "marker", { get: function() { return this._marker }, set: function(e) { this._marker = e }, enumerable: !0, configurable: !0 }), e }(); t.StiMarkerCoreXF = g }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.ICloneable , i = function() { function e(e) { this._axis = e } return e.prototype.implements = function() { return e.implementsStiRadarAxisCoreXF || (e.implementsStiRadarAxisCoreXF = [r, t.IStiApplyStyle, t.IStiRadarAxisCoreXF]), e.implementsStiRadarAxisCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.applyStyle = function(e) {} , Object.defineProperty(e.prototype, "axis", { get: function() { return this._axis }, set: function(e) { this._axis = e }, enumerable: !0, configurable: !0 }), e }(); t.StiRadarAxisCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiEmptyBrush , i = e.System.ICloneable , n = function() { function e(e) { this._labels = e } return e.prototype.implements = function() { return e.implementsStiRadarAxisLabelsCoreXF || (e.implementsStiRadarAxisLabelsCoreXF = [t.IStiApplyStyle, i, t.IStiRadarAxisLabelsCoreXF]), e.implementsStiRadarAxisLabelsCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , e.prototype.applyStyle = function(e) { this.labels.allowApplyStyle && (this.labels.color = e.core.seriesLabelsColor, this.labels.brush = new r) } , Object.defineProperty(e.prototype, "labels", { get: function() { return this._labels }, set: function(e) { this._labels = e }, enumerable: !0, configurable: !0 }), e }(); t.StiRadarAxisLabelsCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.StringTrimming , n = e.System.Drawing.StringFormatFlags , o = e.Base.Drawing.StiRotationMode , a = e.Base.Context.StiFontGeom , s = e.Base.Drawing.StiSolidBrush , l = function(l) { function u(e) { return l.call(this, e) || this } return __extends(u, l), u.prototype.implements = function() { return u.implementsStiXRadarAxisCoreXF || (u.implementsStiXRadarAxisCoreXF = [t.IStiXRadarAxisCoreXF]), u.implementsStiXRadarAxisCoreXF } , u.prototype.applyStyle = function(e) { this.axis.allowApplyStyle && this.axis.labels.core.applyStyle(e) } , u.prototype.renderLabel = function(e, r, i, n, o, a, l) { var u = this.getLabelText(n) , c = this.getLabelRect(e, i, u, 0).clone(); c.x = -c.width / 2, c.y = -c.height / 2; var h = this.getLabelRect(e, i, u, o).clone() , p = this.axis.labels.borderColor , f = new s(this.axis.labels.color); return new t.StiXRadarAxisLabelGeom(this.axis,u,f,p,o,c,h,i) } , u.prototype.getLabelText = function(i) { try { var n = this.axis; if (null != n.labels.format && 0 != n.labels.format.trim().length) try { if (i.stimulsoft.is(String)) var o = void 0; if (!t.StiChartOptions.oldChartPercentMode && n.labels.format.stimulsoft.startsWith("P")) { return n.labels.format.length, r.format("{0}{1:N" + (0).toString() + "}{2}{3}", n.labels.textBefore, i, "%", n.labels.textAfter) } return r.format("{0}{1:" + n.labels.format + "}{2}", n.labels.textBefore, i, n.labels.textAfter) } catch (t) { e.System.StiError.showError(t, !1) } return r.format("{0}{1}{2}", n.labels.textBefore, i, n.labels.textAfter) } catch (t) { e.System.StiError.showError(t, !1) } return i.toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator) } , u.prototype.getLabelRect = function(e, t, r, s) { var l = a.changeFontSize(this.axis.labels.font, this.axis.labels.font.size * e.options.zoom) , u = e.getGenericStringFormat(); return u.trimming = i.None, this.axis.labels.wordWrap || (u.formatFlags = n.MeasureTrailingSpaces | n.NoWrap), e.measureRotatedString3(r, l, t, u, o.CenterBottom, s, Math.trunc(this.axis.labels.width * e.options.zoom)) } , Object.defineProperty(u.prototype, "xAxis", { get: function() { return this.axis }, enumerable: !0, configurable: !0 }), u }(t.StiRadarAxisCoreXF); t.StiXRadarAxisCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.StringTrimming , n = e.System.Drawing.StringFormatFlags , o = e.System.Drawing.StringAlignment , a = e.Base.Drawing.StiRotationMode , s = e.Base.Context.StiFontGeom , l = e.System.Drawing.Point , u = e.Base.Drawing.StiHorAlignment , c = e.System.Drawing.Rectangle , h = function(h) { function p(e) { return h.call(this, e) || this } return __extends(p, h), p.prototype.implements = function() { return p.implementsStiYRadarAxisCoreXF || (p.implementsStiYRadarAxisCoreXF = [t.IStiYRadarAxisCoreXF]), p.implementsStiYRadarAxisCoreXF } , p.prototype.applyStyle = function(e) { this.axis.allowApplyStyle && (this.yAxis.lineColor = e.core.axisLineColor, this.yAxis.labels.core.applyStyle(e)) } , p.prototype.render = function(e, r) { if (!this.axis.visible) return null; var i = this.getAxisRect(e, r, !1, !1, !0).clone() , n = new t.StiRadarAxisGeom(this.axis,i); return this.renderLabels(e, i, n), n } , p.prototype.measureStripLines = function(e, r) { var i, n, o = []; if (null != this.yAxis.info.labelsCollection && this.yAxis.labels.placement != t.StiLabelsPlacement.None) { var c = 0; try { for (var h = __values(this.yAxis.info.labelsCollection), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = f.stripLine.value , S = this.getLabelText(f.stripLine, null) , d = f.position , y = e.getGenericStringFormat() , g = s.changeFontSize(this.yAxis.labels.font, this.yAxis.labels.font.size * e.options.zoom) , b = this.getTextAlignment() , v = void 0 , C = -this.yAxis.labels.angle , w = l.empty; b == u.Left ? (v = a.LeftCenter, w = new l(0,d), C = 0) : (v = a.RightCenter, w = new l(r.width - this.getTicksMaxLength(e) - this.getLabelsSpaceAxis(e),d)), this.yAxis.labels.placement == t.StiLabelsPlacement.TwoLines && 0 != (1 & c) && (w.x -= this.getLabelsTwoLinesDestination(e)); var x = e.measureRotatedString3(S, g, w, y, v, C, Math.trunc(this.yAxis.labels.width * e.options.zoom)) , _ = new t.StiAxisLabelInfoXF; _.angle = C, _.clientRectangle = x.clone(), _.rotationMode = v, _.textPoint = w, _.text = S, _.stripLine = f.stripLine, o.add(_), c++ } } catch (e) { i = { error: e } } finally { try { p && !p.done && (n = h.return) && n.call(h) } finally { if (i) throw i.error } } } return o } , p.prototype.renderLabels = function(e, r, i) { var n, o; if (this.yAxis.labels.placement != t.StiLabelsPlacement.None) { var a = [] , s = this.measureStripLines(e, r); i.createChildGeoms(); try { for (var l = __values(s), u = l.next(); !u.done; u = l.next()) { var c = u.value; if (!c.clientRectangle.isEmpty) { var h = new t.StiYRadarAxisLabelGeom(this.yAxis,c.clientRectangle,c.textPoint,c.text,c.stripLine,c.angle,c.rotationMode); i.childGeoms.add(h) } } } catch (e) { n = { error: e } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (n) throw n.error } } } } , p.prototype.calculateStripPositions = function(e, t) { if (t -= e, e = 0, null == this.yAxis.info.stripLines || this.yAxis.info.stripLines.count < 2) this.yAxis.info.stripPositions = []; else { this.yAxis.info.stripPositions = Array.create(Number, this.yAxis.info.stripLines.count), this.yAxis.info.stripPositions[0] = e, this.yAxis.info.stripPositions[this.yAxis.info.stripPositions.length - 1] = t; for (var r = 1; r < this.yAxis.info.stripPositions.length - 1; r++) this.yAxis.info.stripPositions[r] = e + r * this.yAxis.info.step } } , p.prototype.getAxisRect = function(e, t, r, i, n) { return new c(t.width / 2 - this.getTicksMaxLength(e),0,this.getTicksMaxLength(e),t.height / 2) } , p.prototype.getTicksMaxLength = function(e) { return this.yAxis.yCore.ticksMaxLength * e.options.zoom } , p.prototype.getLabelsSpaceAxis = function(e) { return 5 * e.options.zoom } , p.prototype.getLabelsTwoLinesDestination = function(e) { return 2 * this.yAxis.labels.font.sizeInPoints * e.options.zoom } , p.prototype.getTextAlignment = function() { if (this.yAxis.labels.placement == t.StiLabelsPlacement.TwoLines) return u.Right; return this.yAxis.labels.textAlignment } , p.prototype.getLabelText = function(i, n) { var o = i.valueObject; try { if (null != this.yAxis.labels.format && 0 != this.yAxis.labels.format.trim().length) try { if (o.stimulsoft.is(String), !t.StiChartOptions.oldChartPercentMode && this.yAxis.labels.format.stimulsoft.startsWith("P")) { return this.yAxis.labels.format.length, r.format("{0}{1:N" + (0).toString() + "}{2}{3}", this.yAxis.labels.textBefore, o, "%", this.yAxis.labels.textAfter) } return r.format("{0}{1:" + this.yAxis.labels.format + "}{2}", this.yAxis.labels.textBefore, o, this.yAxis.labels.textAfter) } catch (t) { e.System.StiError.showError(t, !1) } return r.format("{0}{1}{2}", this.yAxis.labels.textBefore, o, this.yAxis.labels.textAfter) } catch (t) { e.System.StiError.showError(t, !1) } return o.toString().replace(".", ",").stimulsoft.replaceAll(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator) } , p.prototype.getStringFormatGeom = function(e) { var t = e.getGenericStringFormat(); if (t.trimming = i.None, t.formatFlags = n.MeasureTrailingSpaces | n.NoWrap, this.yAxis.labels.width > 0) { var r = this.getTextAlignment(); r == u.Left ? t.alignment = o.Near : r == u.Right ? t.alignment = o.Far : r == u.Center && (t.alignment = o.Center) } return t } , p.prototype.getFontGeom = function(e) { return s.changeFontSize(this.yAxis.labels.font, this.yAxis.labels.font.size * e.options.zoom) } , Object.defineProperty(p.prototype, "yAxis", { get: function() { return this.axis }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "info", { get: function() { return this.yAxis.info }, set: function(e) { this.yAxis.info = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "ticksMaxLength", { get: function() { return this.axis.visible ? Math.max(this.yAxis.ticks.visible ? this.yAxis.ticks.length : 0, this.yAxis.ticks.minorVisible ? this.yAxis.ticks.minorLength : 0) : 0 }, enumerable: !0, configurable: !0 }), p }(t.StiRadarAxisCoreXF); t.StiYRadarAxisCoreXF = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Globalization.CultureInfo , n = e.System.Drawing.StringTrimming , o = e.System.Drawing.StringFormatFlags , a = e.Base.Drawing.StiColorUtils , s = e.System.DateTime , l = e.Base.Drawing.StiGradientBrush , u = e.Base.Drawing.StiGlareBrush , c = e.System.ICloneable , h = function() { function h(e) { this._seriesLabels = e } return h.prototype.implements = function() { return h.implementsStiSeriesLabelsCoreXF || (h.implementsStiSeriesLabelsCoreXF = [c, t.IStiApplyStyle, t.IStiSeriesLabelsCoreXF]), h.implementsStiSeriesLabelsCoreXF } , h.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , h.prototype.applyStyle = function(e) { this.seriesLabels.allowApplyStyle && (this.seriesLabels.labelColor = e.core.seriesLabelsColor, this.seriesLabels.borderColor = e.core.seriesLabelsBorderColor, this.seriesLabels.brush = e.core.seriesLabelsBrush, this.seriesLabels.font = e.core.seriesLabelsFont) } , Object.defineProperty(h.prototype, "position", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "seriesLabelsType", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "seriesLabels", { get: function() { return this._seriesLabels }, set: function(e) { this._seriesLabels = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "localizedName", { get: function() { return null }, enumerable: !0, configurable: !0 }), h.prototype.processSeriesColors = function(e, r, i) { var n, o, a = r; if (null == this.seriesLabels) return a; try { for (var s = __values(this.seriesLabels.chart.seriesLabelsConditions.list), c = s.next(); !c.done; c = s.next()) { var h = c.value; if (null == i.values || i.values.length <= e) continue; var p = i.values[e] , f = null; i.stimulsoft.is(t.IStiRangeSeries) && e < i.valuesEnd.length && (f = i.valuesEnd[e]); var m = null; null != i.arguments && e < i.arguments.length && (m = i.arguments[e]); var S = null , d = null , y = null , g = null; i.stimulsoft.is(t.IStiFinancialSeries) && (e < i.valuesOpen.length && (S = i.valuesOpen[e]), e < i.valuesClose.length && (d = i.valuesClose[e]), e < i.valuesLow.length && (y = i.valuesLow[e]), e < i.valuesHigh.length && (g = i.valuesHigh[e])); var b = t.StiChartHelper.getFilterData(null, h, null); if (t.StiChartHelper.getFilterResult(h, m, p, f, S, d, y, g, b)) return a = this.seriesLabels.chart.style.core.getColumnBrush(h.color), this.seriesLabels.chart.area.stimulsoft.is(t.IStiClusteredBarArea) && (a.stimulsoft.is(l) && (a.angle += 90), a.stimulsoft.is(u) && (a.angle += 90)), a } } catch (e) { n = { error: e } } finally { try { c && !c.done && (o = s.return) && o.call(s) } finally { if (n) throw n.error } } return a } , h.prototype.getSeriesLabelColor = function(e, t, r) { return a.light(e.core.getSeriesBorderColor(t, r), 100) } , h.prototype.getBorderColor = function(e, t, r) { if (this.seriesLabels.useSeriesColor) return this.getSeriesLabelColor(e, t, r); return this.seriesLabels.borderColor } , h.prototype.getLabelColor = function(e, t, r) { if (this.seriesLabels.useSeriesColor) return this.getSeriesLabelColor(e, t, r); return this.seriesLabels.labelColor } , h.prototype.recalcValue = function(e, t) { return e } , h.prototype.getLabelText = function(e, t, r, i, n, o) { return void 0 === o && (o = !1), this.getLabelText2(e, t, r, i, n, 0, o) } , h.prototype.getLabelText2 = function(i, n, o, a, s, l, u) { var c = "" , h = this.seriesLabels.valueType; switch (u && (h = this.seriesLabels.legendValueType), h) { case t.StiSeriesLabelsValueType.Argument: c = this.getArgument(i, o); break; case t.StiSeriesLabelsValueType.Value: c = this.getFormattedValue(i, n); break; case t.StiSeriesLabelsValueType.SeriesTitle: c = s; break; case t.StiSeriesLabelsValueType.Tag: c = a; break; case t.StiSeriesLabelsValueType.Weight: c = l.toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); break; case t.StiSeriesLabelsValueType.ValueArgument: var p = this.getArgument(i, o); c = r.isNullOrEmpty(p) ? this.getFormattedValue(i, n) : r.format("{0} {1} {2}", this.getFormattedValue(i, n), this.seriesLabels.valueTypeSeparator, p); break; case t.StiSeriesLabelsValueType.ArgumentValue: var f = this.getFormattedValue(i, n); c = r.isNullOrEmpty(f) ? this.getArgument(i, o) : r.format("{0} {1} {2}", this.getArgument(i, o), this.seriesLabels.valueTypeSeparator, f); break; case t.StiSeriesLabelsValueType.SeriesTitleArgument: var m = this.getArgument(i, o); c = r.isNullOrEmpty(m) ? s : r.format("{0} {1} {2}", s, this.seriesLabels.valueTypeSeparator, m); break; case t.StiSeriesLabelsValueType.SeriesTitleValue: var S = this.getFormattedValue(i, n); c = r.isNullOrEmpty(S) ? s : r.format("{0} {1} {2}", s, this.seriesLabels.valueTypeSeparator, S); break } if (u) return c; return r.format("{0}{1}{2}", this.seriesLabels.textBefore, c, this.seriesLabels.textAfter) } , h.prototype.getArgument = function(e, t) { var r = t; if (e.core.isDateTimeArguments) { var i = s.fromString(t); null != i && (r = this.getFormatted(e, i.toOADate(), !0)) } return r } , h.prototype.getFormatted = function(n, o, a) { try { var l = i.currentCulture , u = this.seriesLabels.chart.report.culture; r.isNullOrEmpty(this.seriesLabels.chart.report.culture) || (i.currentCulture = new i(u)); var c = o; if (a && (c = s.fromOADate(o)), null != this.seriesLabels.formatService) return this.seriesLabels.formatService.format(c); var h = null; if (null != n && (h = n.format), null != h && 0 != h.trim().length || (h = this.seriesLabels.format), null != h && 0 != h.trim().length) { if (h.stimulsoft.startsWith("P") && null != this.seriesLabels.chart && !t.StiChartOptions.oldChartPercentMode) { var p = 0 , f = void 0; try { h.length > 1 && (p = h.stimulsoft.remove(0, 1).stimulsoft.toNumber()), f = this.recalcValue(o, p) } catch (t) { e.System.StiError.showError(t, !1), f = this.recalcValue(o, 2) } return r.format("{0:N" + p.toString() + "}{1}", f, "%") } var m = r.format("{0:" + h + "}", c); if (!a && m == h) return c.toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); return m } r.isNullOrEmpty(u) || (i.currentCulture = l) } catch (t) { e.System.StiError.showError(t, !1) } return this.recalcValue(o, 2).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator) } , h.prototype.getFormattedValue = function(e, t) { if (null == t) return ""; return this.getFormatted(e, t, e.core.isDateTimeValues) } , h.prototype.getStringFormatGeom = function(e) { var t = e.getGenericStringFormat(); return t.trimming = n.None, this.seriesLabels.wordWrap || (t.formatFlags = o.MeasureTrailingSpaces | o.NoWrap), t } , h }(); t.StiSeriesLabelsCoreXF = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(e) { var r = t.call(this, e) || this; return r.currentIndex = null, r } return __extends(r, t), r.prototype.renderLabel = function(e, t, r, i, n, o, a, s, l, u, c, h, p) { return void 0 === p && (p = null), null } , r.prototype.renderLabel2 = function(e, t, r, i, n, o, a, s, l, u, c, h, p, f) { return void 0 === f && (f = null), null } , r.prototype.recalcValue = function(t, r) { var i, n; if (this.seriesLabels.showInPercent && this.seriesLabels.chart.area.stimulsoft.is(e.StiFullStackedColumnArea) && null != this.currentIndex) { var o = this.seriesLabels.chart.area.core.getSeries() , a = 0; try { for (var s = __values(o), l = s.next(); !l.done; l = s.next()) { var u = l.value; this.currentIndex < u.values.length && (a += u.values[this.currentIndex]) } } catch (e) { i = { error: e } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (i) throw i.error } } if (0 != a) return Math.round2(100 * t / a, r) } return t } , Object.defineProperty(r.prototype, "seriesLabelsType", { get: function() { return e.StiSeriesLabelsType.Axis }, enumerable: !0, configurable: !0 }), r }(e.StiSeriesLabelsCoreXF); e.StiAxisSeriesLabelsCoreXF = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Context.StiFontGeom , n = e.Base.Localization.StiLocalization , o = e.System.Drawing.Point , a = e.Base.Context.Animation.StiLabelAnimation , s = function(e) { function s(t) { return e.call(this, t) || this } return __extends(s, e), s.prototype.renderLabel = function(e, t, r, i, n, o, a, s, l, u, c, h, p) { return void 0 === p && (p = null), this.currentIndex = n, this.renderLabel2(e, t, r, i, n, o, a, s, l, 0, u, c, h, p) } , s.prototype.renderLabel2 = function(e, r, n, o, s, l, u, c, h, p, f, m, S, d) { if (void 0 === d && (d = null), null == l && !this.seriesLabels.showNulls) return null; if (0 == l && !this.seriesLabels.showZeros) return null; null == l && (l = 0), null == u && (u = 0); var y = this.getLabelText2(e, u, c, h, e.coreTitle, p, !1) , g = this.getLabelColor(e, f, m) , b = this.getBorderColor(e, f, m) , v = this.getStringFormatGeom(r) , C = i.changeFontSize(this.seriesLabels.font, this.seriesLabels.font.size * r.options.zoom) , w = e.core.getSeriesBorderColor(f, m) , x = e.core.getSeriesBrush(f, m) , _ = this.processSeriesColors(s, this.seriesLabels.brush, e) , A = this.getLabelRect(r, n, o, l, y, !0, C, v) , L = null != d ? d.stimulsoft.as(a) : null; return null != L && (L.LabelRect = this.getLabelRect(r, L.PointFrom, o, L.ValueFrom, L.ValueFrom.toString(), !0, C, v)), new t.StiCenterAxisLabelsGeom(this.seriesLabels,e,s,l,A,y,g,b,x,_,w,C,d) } , s.prototype.getLabelRect = function(e, i, n, a, s, l, u, c) { return this.seriesLabels.chart.area.core.seriesOrientation == t.StiChartSeriesOrientation.Vertical ? e.measureRotatedString3(s, u, new o(i.x,(i.y + n.y) / 2), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(s, u, new o((i.x + n.x) / 2,i.y), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) } , Object.defineProperty(s.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.CenterAxis }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedName", { get: function() { return n.get("Chart", "LabelsCenter") }, enumerable: !0, configurable: !0 }), s }(t.StiAxisSeriesLabelsCoreXF); t.StiCenterAxisLabelsCoreXF = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Point , o = function(e) { function o(t) { return e.call(this, t) || this } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return i.get("Chart", "LabelsInsideBase") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.InsideBaseAxis }, enumerable: !0, configurable: !0 }), o.prototype.getLabelRect = function(e, i, o, a, s, l, u, c) { var h = e.measureString(s, u) , p = 2; return this.seriesLabels.chart.area.core.seriesOrientation == t.StiChartSeriesOrientation.Vertical ? a > 0 ? e.measureRotatedString3(s, u, new n(i.x,o.y - (Math.abs(h.height * Math.cos(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.sin(this.seriesLabels.angle * Math.PI / 180)))), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(s, u, new n(i.x,o.y + (Math.abs(h.height * Math.cos(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.sin(this.seriesLabels.angle * Math.PI / 180)))), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : a > 0 ? e.measureRotatedString3(s, u, new n(o.x - (Math.abs(h.height * Math.sin(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.cos(this.seriesLabels.angle * Math.PI / 180))),i.y), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(s, u, new n(o.x + (Math.abs(h.height * Math.sin(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.cos(this.seriesLabels.angle * Math.PI / 180))),i.y), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) } , o }(t.StiCenterAxisLabelsCoreXF); t.StiInsideBaseAxisLabelsCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Point , o = function(e) { function o(t) { return e.call(this, t) || this } return __extends(o, e), Object.defineProperty(o.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.InsideEndAxis }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "localizedName", { get: function() { return i.get("Chart", "LabelsInsideEnd") }, enumerable: !0, configurable: !0 }), o.prototype.getLabelRect = function(e, i, o, a, s, l, u, c) { var h = e.measureString(s, u) , p = 2; return this.seriesLabels.chart.area.core.seriesOrientation == t.StiChartSeriesOrientation.Vertical ? a > 0 ? e.measureRotatedString3(s, u, new n(i.x,i.y + (Math.abs(h.height * Math.cos(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.sin(this.seriesLabels.angle * Math.PI / 180)))), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(s, u, new n(i.x,i.y - (Math.abs(h.height * Math.cos(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.sin(this.seriesLabels.angle * Math.PI / 180)))), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : a > 0 ? e.measureRotatedString3(s, u, new n(i.x + (Math.abs(h.height * Math.sin(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.cos(this.seriesLabels.angle * Math.PI / 180))),i.y), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(s, u, new n(i.x - (Math.abs(h.height * Math.sin(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.cos(this.seriesLabels.angle * Math.PI / 180))),i.y), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) } , o }(t.StiCenterAxisLabelsCoreXF); t.StiInsideEndAxisLabelsCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Point , o = function(e) { function o(t) { return e.call(this, t) || this } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return i.get("PropertyMain", "Left") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.Left }, enumerable: !0, configurable: !0 }), o.prototype.getLabelRect = function(e, t, i, o, a, s, l, u) { var c = e.measureString(a, l); return this.seriesLabels.width > 0 ? c.width = this.seriesLabels.width * e.options.zoom : c.width += 2 * e.options.zoom, this.seriesLabels.chart.area.reverseHor ? e.measureRotatedString3(a, l, new n(t.x + c.width,t.y), u, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(a, l, new n(t.x - c.width,t.y), u, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) } , o }(t.StiCenterAxisLabelsCoreXF); t.StiLeftAxisLabelsCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiFontGeom , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Rectangle , o = e.System.Drawing.Point , a = function(e) { function a(t) { return e.call(this, t) || this } return __extends(a, e), a.prototype.renderLabel = function(e, i, a, s, l, u, c, h, p, f, m, S) { var d = this.seriesLabels; if (null == u && !d.showNulls) return null; if (0 == u && !d.showZeros) return null; null == u && (u = 0), null == c && (c = 0); var y = this.getLabelText(e, c, h, p, e.coreTitle) , g = 90; this.seriesLabels.chart.area.stimulsoft.is(t.IStiStackedBarArea) ? (u <= 0 && (g = -g), g += 90) : u < 0 && (g = -g), g *= Math.PI / 180; var b = new o(a.x + d.lineLength * Math.cos(g) * i.options.zoom,a.y - d.lineLength * Math.sin(g) * i.options.zoom) , v = r.changeFontSize(d.font, d.font.size * i.options.zoom) , C = this.getStringFormatGeom(i) , w = i.measureString2(y, v, this.seriesLabels.width * i.options.zoom, C) , x = new n(b.x - w.width / 2,b.y - w.height / 2,w.width + 1,w.height + 1) , _ = this.getLabelColor(e, f, m) , A = this.getBorderColor(e, f, m) , L = e.core.getSeriesBorderColor(f, m) , O = e.core.getSeriesBrush(f, m); return O = this.processSeriesColors(l, O, e), new t.StiOutsideAxisLabelsGeom(this.seriesLabels,e,l,u,x,y,_,A,O,L,v,b,a) } , Object.defineProperty(a.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.OutsideAxis }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "localizedName", { get: function() { return i.get("Chart", "LabelsOutside") }, enumerable: !0, configurable: !0 }), a }(t.StiAxisSeriesLabelsCoreXF); t.StiOutsideAxisLabelsCoreXF = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Point , o = function(e) { function o(t) { return e.call(this, t) || this } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return i.get("Chart", "LabelsOutsideBase") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.OutsideBaseAxis }, enumerable: !0, configurable: !0 }), o.prototype.getLabelRect = function(e, i, o, a, s, l, u, c) { var h = e.measureString(s, u) , p = 2; return this.seriesLabels.chart.area.core.seriesOrientation == t.StiChartSeriesOrientation.Vertical ? a > 0 ? e.measureRotatedString3(s, u, new n(i.x,o.y + (Math.abs(h.height * Math.cos(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.sin(this.seriesLabels.angle * Math.PI / 180)))), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(s, u, new n(i.x,o.y - (Math.abs(h.height * Math.cos(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.sin(this.seriesLabels.angle * Math.PI / 180)))), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : a > 0 ? e.measureRotatedString3(s, u, new n(o.x + (Math.abs(h.height * Math.sin(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.cos(this.seriesLabels.angle * Math.PI / 180))),i.y), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(s, u, new n(o.x - (Math.abs(h.height * Math.sin(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.cos(this.seriesLabels.angle * Math.PI / 180))),i.y), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) } , o }(t.StiCenterAxisLabelsCoreXF); t.StiOutsideBaseAxisLabelsCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Point , o = function(e) { function o(t) { return e.call(this, t) || this } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return i.get("Chart", "LabelsOutsideEnd") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.OutsideEndAxis }, enumerable: !0, configurable: !0 }), o.prototype.getLabelRect = function(e, i, o, a, s, l, u, c) { var h = e.measureString(s, u) , p = 2; return this.seriesLabels.chart.area.core.seriesOrientation == t.StiChartSeriesOrientation.Vertical ? a >= 0 ? e.measureRotatedString3(s, u, new n(i.x,i.y - (Math.abs(h.height * Math.cos(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.sin(this.seriesLabels.angle * Math.PI / 180)))), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(s, u, new n(i.x,i.y + (Math.abs(h.height * Math.cos(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.sin(this.seriesLabels.angle * Math.PI / 180)))), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : a > 0 ? e.measureRotatedString3(s, u, new n(i.x - (Math.abs(h.height * Math.sin(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.cos(this.seriesLabels.angle * Math.PI / 180))),i.y), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(s, u, new n(i.x + (Math.abs(h.height * Math.sin(this.seriesLabels.angle * Math.PI / 180)) + Math.abs((h.width / 2 + p) * Math.cos(this.seriesLabels.angle * Math.PI / 180))),i.y), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) } , o }(t.StiCenterAxisLabelsCoreXF); t.StiOutsideEndAxisLabelsCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Point , o = function(e) { function o(t) { return e.call(this, t) || this } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return i.get("PropertyMain", "Right") }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.Right }, enumerable: !0, configurable: !0 }), o.prototype.getLabelRect = function(e, t, i, o, a, s, l, u) { var c = e.measureString(a, l); return this.seriesLabels.width > 0 ? c.width = this.seriesLabels.width * e.options.zoom : c.width += 2 * e.options.zoom, this.seriesLabels.chart.area.reverseHor ? e.measureRotatedString3(a, l, new n(t.x - c.width,t.y), u, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) : e.measureRotatedString3(a, l, new n(t.x + c.width,t.y), u, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) } , o }(t.StiCenterAxisLabelsCoreXF); t.StiRightAxisLabelsCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Rectangle , o = e.System.Drawing.Point , a = function(e) { function a(t) { return e.call(this, t) || this } return __extends(a, e), Object.defineProperty(a.prototype, "localizedName", { get: function() { return i.get("PropertyMain", "Value") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.Value }, enumerable: !0, configurable: !0 }), a.prototype.getLabelRect = function(e, t, i, a, s, l, u, c) { var h = e.measureRotatedString3(s, u, new o(0,0), c, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)); return new n(t.x - h.width / 2,t.y - h.height / 2,h.width,h.height) } , a }(t.StiCenterAxisLabelsCoreXF); t.StiValueAxisLabelsCoreXF = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(e) { return t.call(this, e) || this } return __extends(r, t), r.prototype.renderLabel = function(e, t, r, i, n, o, a, s, l, u, c, h, p, f) { return null } , Object.defineProperty(r.prototype, "seriesLabelsType", { get: function() { return e.StiSeriesLabelsType.Funnel }, enumerable: !0, configurable: !0 }), r }(e.StiSeriesLabelsCoreXF); e.StiFunnelSeriesLabelsCoreXF = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Context.StiFontGeom , n = e.Base.Drawing.StiSolidBrush , o = e.System.Drawing.Point , a = e.Base.Localization.StiLocalization , s = e.System.Collections.List , l = function(e) { function l(t) { return e.call(this, t) || this } return __extends(l, e), l.prototype.renderLabel = function(e, a, s, l, u, c, h, p, f, m, S, d, y, g) { var b = m.clone(), v = this.getLabelText(e, l, c, h, e.coreTitle), C = new n(this.getLabelColor(e, p, f)), w = this.getBorderColor(e, p, f), x = this.getStringFormatGeom(a), _ = i.changeFontSize(this.seriesLabels.font, this.seriesLabels.font.size * a.options.zoom), A = e.core.getSeriesBorderColor(p, f), L = e.core.getSeriesBrush(p, f), O; O = e.stimulsoft.is(t.StiFunnelWeightedSlicesSeries) ? new o(m.width / 2,.05 * m.height + S * this.getSumLastValues(e, s) + S * l / 2) : new o(m.width / 2,S * s + S / 2 + .05 * m.height); var P = a.measureRotatedString3(v, _, O, x, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * a.options.zoom)); return g.ref = b, new t.StiCenterFunnelLabelsGeom(this.seriesLabels,e,s,l,P,v,L,C,w,A,P) } , l.prototype.getSumLastValues = function(e, r) { var i, n, o, a, l = new s; try { for (var u = __values(e.chart.series.list), c = u.next(); !c.done; c = u.next()) { var h = c.value , p = h.stimulsoft.as(t.IStiFunnelSeries); try { for (var f = (o = void 0, __values(p.values)), m = f.next(); !m.done; m = f.next()) { var S = m.value; if (!p.showZeros && 0 == S) continue; l.add(S) } } catch (e) { o = { error: e } } finally { try { m && !m.done && (a = f.return) && a.call(f) } finally { if (o) throw o.error } } } } catch (e) { i = { error: e } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (i) throw i.error } } for (var d = 0, y = 0; y < r; y++) { if (y >= l.length) break; d += Math.abs(l[y]) } return d } , Object.defineProperty(l.prototype, "seriesLabelsType", { get: function() { return t.StiSeriesLabelsType.Funnel }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.CenterFunnel }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "localizedName", { get: function() { return a.get("Chart", "LabelsCenter") }, enumerable: !0, configurable: !0 }), l }(t.StiFunnelSeriesLabelsCoreXF); t.StiCenterFunnelLabelsCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Context.StiFontGeom , n = e.Base.Drawing.StiSolidBrush , o = e.System.Drawing.Point , a = e.Base.Localization.StiLocalization , s = function(e) { function s(t) { return e.call(this, t) || this } return __extends(s, e), s.prototype.renderLabel = function(e, a, s, l, u, c, h, p, f, m, S, d, y, g) { var b = m.clone() , v = this.getLabelText(e, l, c, h, e.coreTitle) , C = new n(this.getLabelColor(e, p, f)) , w = this.getBorderColor(e, p, f) , x = this.getStringFormatGeom(a) , _ = i.changeFontSize(this.seriesLabels.font, this.seriesLabels.font.size * a.options.zoom) , A = e.core.getSeriesBorderColor(p, f) , L = e.core.getSeriesBrush(p, f) , O = a.measureRotatedString3(v, _, new o(0,0), x, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * a.options.zoom)); b.width -= O.width, b.x += O.width; var P = new o(y - (l + u) * d / 4,S * s + S / 2 + .05 * m.height) , B = new o(.05 * m.width + O.width,S * s + S / 2 + .05 * m.height) , R = a.measureRotatedString3(v, _, B, x, r.RightCenter, 0, Math.trunc(this.seriesLabels.width * a.options.zoom)); return g.ref = b, new t.StiOutsideFunnelLabelsGeom(this.seriesLabels,e,s,l,R,v,L,C,w,A,R,P,B) } , Object.defineProperty(s.prototype, "seriesLabelsType", { get: function() { return t.StiSeriesLabelsType.Funnel }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.OutsideLeftFunnel }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedName", { get: function() { return a.get("PropertyMain", "Left") }, enumerable: !0, configurable: !0 }), s }(t.StiFunnelSeriesLabelsCoreXF); t.StiOutsideLeftFunnelLabelsCoreXF = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Context.StiFontGeom , n = e.System.Drawing.Point , o = e.Base.Drawing.StiSolidBrush , a = e.Base.Localization.StiLocalization , s = function(e) { function s(t) { return e.call(this, t) || this } return __extends(s, e), s.prototype.renderLabel = function(e, a, s, l, u, c, h, p, f, m, S, d, y, g) { var b = m.clone() , v = this.getLabelText(e, l, c, h, e.coreTitle) , C = new o(this.getLabelColor(e, p, f)) , w = this.getBorderColor(e, p, f) , x = this.getStringFormatGeom(a) , _ = i.changeFontSize(this.seriesLabels.font, this.seriesLabels.font.size * a.options.zoom) , A = e.core.getSeriesBorderColor(p, f) , L = e.core.getSeriesBrush(p, f) , O = a.measureRotatedString3(v, _, new n(0,0), x, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * a.options.zoom)); b.width -= O.width + 5; var P = new n(y + l + u * d / 4,S * s + S / 2 + .05 * m.height) , B = new n(.95 * m.width - O.width,S * s + S / 2 + .05 * m.height) , R = a.measureRotatedString3(v, _, B, x, r.LeftCenter, 0, Math.trunc(this.seriesLabels.width * a.options.zoom)); return g.ref = b, new t.StiOutsideFunnelLabelsGeom(this.seriesLabels,e,s,l,R,v,L,C,w,A,R,P,B) } , Object.defineProperty(s.prototype, "seriesLabelsType", { get: function() { return t.StiSeriesLabelsType.Funnel }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.OutsideRightFunnel }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizedName", { get: function() { return a.get("PropertyMain", "Right") }, enumerable: !0, configurable: !0 }), s }(t.StiFunnelSeriesLabelsCoreXF); t.StiOutsideRightFunnelLabelsCoreXF = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(e) { var r = t.call(this, e) || this; return r.percentPerValue = 0, r } return __extends(r, t), r.prototype.renderLabel = function(e, t, r, i, n, o, a, s, l, u, c, h, p, f, m, S, d, y) { return null } , r.prototype.recalcValue = function(t, r) { if (this.seriesLabels.showInPercent) { var i = this.seriesLabels.chart.area.core.getSeries(); if (i.length > 0) { var n = []; i.copyTo(n), n.length > 0 && n[0].stimulsoft.is(e.StiPieSeries) && (this.percentPerValue = n[0].core.getPercentPerValue(n)) } return Math.round2(t * this.percentPerValue, r) } return t } , Object.defineProperty(r.prototype, "seriesLabelsType", { get: function() { return e.StiSeriesLabelsType.Pie }, enumerable: !0, configurable: !0 }), r }(e.StiSeriesLabelsCoreXF); e.StiPieSeriesLabelsCoreXF = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Context.StiFontGeom , n = e.Base.Drawing.StiSolidBrush , o = e.Base.Localization.StiLocalization , a = e.System.Drawing.Rectangle , s = e.System.Drawing.Point , l = function(e) { function l(t) { return e.call(this, t) || this } return __extends(l, e), l.prototype.renderLabel = function(e, o, s, l, u, c, h, p, f, m, S, d, y, g, b, v, C, w) { var x = a.empty; if (v.ref = x, this.percentPerValue = b, null == f && !this.seriesLabels.showNulls) return null; if (0 == f && !this.seriesLabels.showZeros) return null; if (null == p && (p = 0), null == f && (f = 0), isNaN(l) || isNaN(u)) return null; var _ = ""; _ = C ? this.getFormattedValue(e, f) : this.getLabelText(e, f, m, S, e.coreTitle); var A = Math.PI * c / 180 , L = this.getLabelPoint(s, (l - u) / 1.75 + u, A); C || (this.stimulsoft.is(t.StiOutsidePieLabelsCoreXF) && (L = this.getLabelPoint(s, l + this.seriesLabels.lineLength * o.options.zoom, A)), this.stimulsoft.is(t.StiInsideEndPieLabelsCoreXF) && (L = this.getLabelPoint(s, (l - u) / 1.2 + u, A))); var O = i.changeFontSize(this.seriesLabels.font, this.seriesLabels.font.size * o.options.zoom) , P = this.getStringFormatGeom(o) , B = this.getLabelRect(o, L, _, O, P) , R = this.seriesLabels.angle , k = r.CenterCenter , j = B.clone(); if (j.x = -j.width / 2, j.y = -j.height / 2, this.seriesLabels.autoRotate && (R = c, R > 0 && R < 90 || R > 270 ? (this.seriesLabels.stimulsoft.is(t.IStiOutsidePieLabels) && (k = r.LeftCenter), j.x = 0) : (this.seriesLabels.stimulsoft.is(t.IStiOutsidePieLabels) && (k = r.RightCenter), R += 180, j.x = -j.width)), this.stimulsoft.is(t.StiOutsidePieLabelsCoreXF) ? this.seriesLabels.autoRotate || (c > 337.5 || c < 22.5 ? (j.x = 0, j.y = -j.height / 2, k = r.LeftCenter) : c >= 22.5 && c < 67.5 ? (j.x = 0, j.y = 0, k = r.LeftTop) : c >= 67.5 && c < 112.5 ? (j.x = -j.width / 2, j.y = 0, k = r.CenterTop) : c >= 112.5 && c < 157.5 ? (j.x = -j.width, j.y = 0, k = r.RightTop) : c >= 157.5 && c < 202.5 ? (j.x = -j.width, j.y = -j.height / 2, k = r.RightCenter) : c >= 202.5 && c < 247.5 ? (j.x = -j.width, j.y = -j.height, k = r.RightBottom) : c >= 247.5 && c < 292.5 ? (j.x = -j.width / 2, j.y = -j.height, k = r.CenterBottom) : c >= 292.5 && (j.x = 0, j.y = -j.height, k = r.LeftBottom)) : (j.x = -j.width / 2, j.y = -j.height / 2), d) return x = o.measureRotatedString2(_, O, B, P, k, R), v.ref = x, null; var T = this.getBorderColor(e, y, g) , F = e.core.getSeriesBorderColor(y, g) , D = e.core.getSeriesBrush(y, g) , I = new n(this.getLabelColor(e, y, g)); D = this.processSeriesColors(h, D, e); var N = this.processSeriesColors(h, this.seriesLabels.brush, e); if (x = a.empty, this.seriesLabels.stimulsoft.is(t.IStiOutsidePieLabels)) { var M = this.stimulsoft.as(t.StiOutsidePieLabelsCoreXF) , E = M.getLineColor(e, y, g); L = this.getLabelPoint(s, l + M.seriesLabels.lineLength * o.options.zoom, A); var V = this.getLabelPoint(s, l, A); return v.ref = x, new t.StiOutsidePieLabelsGeom(this.seriesLabels,e,h,p,j,_,D,I,N,T,F,k,B,R,E,L,V) } return v.ref = x, new t.StiCenterPieLabelsGeom(this.seriesLabels,e,h,p,j,_,D,I,N,T,F,k,B,R,null) } , l.prototype.getLabelPoint = function(e, t, r) { return new s(e.x + Math.cos(r) * t,e.y + Math.sin(r) * t) } , l.prototype.getLabelRect = function(e, t, i, n, o) { return e.measureRotatedString3(i, n, t, o, r.CenterCenter, 0, Math.trunc(this.seriesLabels.width * e.options.zoom)) } , Object.defineProperty(l.prototype, "seriesLabelsType", { get: function() { return t.StiSeriesLabelsType.Pie }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.CenterPie }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "localizedName", { get: function() { return o.get("Chart", "LabelsCenter") }, enumerable: !0, configurable: !0 }), l }(t.StiPieSeriesLabelsCoreXF); t.StiCenterPieLabelsCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "LabelsInsideEnd") }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.InsideEndPie }, enumerable: !0, configurable: !0 }), i }(t.StiCenterPieLabelsCoreXF); t.StiInsideEndPieLabelsCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.applyStyle = function(t) { e.prototype.applyStyle.call(this, t), this.seriesLabels.allowApplyStyle && (this.seriesLabels.lineColor = t.core.seriesLabelsBorderColor) } , Object.defineProperty(i.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.OutsidePie }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "LabelsOutside") }, enumerable: !0, configurable: !0 }), i.prototype.getLineColor = function(e, t, r) { if (this.seriesLabels.useSeriesColor) return this.getSeriesLabelColor(e, t, r); return this.seriesLabels.lineColor } , i }(t.StiCenterPieLabelsCoreXF); t.StiOutsidePieLabelsCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.StringAlignment , i = e.Base.Context.StiFontGeom , n = e.Base.Drawing.StiSolidBrush , o = e.System.Drawing.Point , a = e.Base.Localization.StiLocalization , s = e.System.Drawing.Rectangle , l = function(e) { function l(t) { return e.call(this, t) || this } return __extends(l, e), l.prototype.renderLabel = function(a, l, u, c, h, p, f, m, S, d, y, g, b, v, C, w, x, _) { this.percentPerValue = C; var A = s.empty; if (null == S && !this.seriesLabels.showNulls) return null; if (0 == S && !this.seriesLabels.showZeros) return null; if (null == m && (m = 0), null == S && (S = 0), isNaN(c) || isNaN(h)) return null; if (x) return w.ref = A, e.prototype.renderLabel.call(this, a, l, u, c, h, p, f, m, S, this.getFormattedValue(a, S), y, g, b, v, C, w, x, _); var L = this.getLabelText(a, S, d, y, a.coreTitle) , O = Math.PI * p / 180 , P = this.getLabelPoint(u, c, O) , B = this.getLabelPoint(u, c + this.seriesLabels.lineLength * l.options.zoom, O) , R = 0; R = P.x > B.x ? -1 : 1; var k = new o(u.x + c * R + this.seriesLabels.lineLength * R + 10 * R,B.y); this.seriesLabels.preventIntersection && (k.y = P.y), k.y += _ * Math.min(l.options.zoom, 1); var j = i.changeFontSize(this.seriesLabels.font, this.seriesLabels.font.size * l.options.zoom) , T = this.seriesLabels.core.getStringFormatGeom(l); T.alignment = r.Center, T.lineAlignment = r.Center; var F = this.getLabelRect(l, k, L, j, T) , D = s.empty; if (D = R < 0 ? new s(k.x - F.width,k.y - F.height / 2,F.width,F.height) : new s(k.x,k.y - F.height / 2,F.width,F.height), g) return A = D, w.ref = A, null; A = s.empty; var I = this.getBorderColor(a, b, v) , N = a.core.getSeriesBorderColor(b, v) , M = a.core.getSeriesBrush(b, v); M = this.processSeriesColors(f, M, a); var E = new n(this.getLabelColor(a, b, v)) , V = this.getLineColor(a, b, v) , X = this.processSeriesColors(f, this.seriesLabels.brush, a); return w.ref = A, new t.StiTwoColumnsPieLabelsGeom(this.seriesLabels,a,f,m,D,L,M,E,X,I,N,D,V,B,k,P,u) } , Object.defineProperty(l.prototype, "seriesLabelsType", { get: function() { return t.StiSeriesLabelsType.Pie | t.StiSeriesLabelsType.Doughnut }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.TwoColumnsPie }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "localizedName", { get: function() { return a.get("Chart", "LabelsTwoColumns") }, enumerable: !0, configurable: !0 }), l }(t.StiOutsidePieLabelsCoreXF); t.StiTwoColumnsPieLabelsCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiFontGeom , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Point , o = e.Base.Drawing.StiRotationMode , a = function(e) { function a(t) { return e.call(this, t) || this } return __extends(a, e), a.prototype.renderLabel = function(e, i, n, o, a, s, l, u, c, h) { void 0 === h && (h = null); var p = this.getLabelText(e, o, a, s, e.coreTitle) , f = this.getLabelColor(e, l, u) , m = this.getBorderColor(e, l, u) , S = this.getStringFormatGeom(i) , d = r.changeFontSize(this.seriesLabels.font, this.seriesLabels.font.size * i.options.zoom) , y = e.core.getSeriesBorderColor(l, u) , g = e.core.getSeriesBrush(l, u) , b = this.processSeriesColors(n, this.seriesLabels.brush, e) , v = this.getLabelRect(i, c, o, p, !0, d, S); return new t.StiCenterTreemapLabelsGeom(this.seriesLabels,e,n,o,v,p,f,m,g,b,y,d,h) } , a.prototype.getLabelRect = function(e, t, r, i, a, s, l) { return e.measureRotatedString3(i, s, new n(t.x + t.width / 2,t.y + t.height / 2), l, o.CenterCenter, 0, this.seriesLabels.width * e.options.zoom) } , Object.defineProperty(a.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.CenterTreemap }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "localizedName", { get: function() { return i.get("Chart", "LabelsCenter") }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesLabelsType", { get: function() { return t.StiSeriesLabelsType.Treemap }, enumerable: !0, configurable: !0 }), a }(t.StiSeriesLabelsCoreXF); t.StiCenterTreemapLabelsCoreXF = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), Object.defineProperty(i.prototype, "seriesLabelsType", { get: function() { return t.StiSeriesLabelsType.All }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "position", { get: function() { return t.StiSeriesLabelsPosition.None }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "LabelsNone") }, enumerable: !0, configurable: !0 }), i }(t.StiSeriesLabelsCoreXF); t.StiNoneLabelsCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.Drawing.StiGradientBrush , n = e.Base.Drawing.StiGlareBrush , o = e.System.Drawing.Rectangle , a = e.System.Drawing.Point , s = e.System.Collections.Hashtable , l = e.System.ICloneable , u = function() { function u(e) { this.isMouseOverSeriesElementHashtable = null, this._isMouseOver = !1, this._isDateTimeValues = !1, this._isDateTimeArguments = !1, this._series = e } return u.prototype.implements = function() { return u.implementsStiSeriesCoreXF || (u.implementsStiSeriesCoreXF = [l, t.IStiApplyStyleSeries, t.IStiSeriesCoreXF]), u.implementsStiSeriesCoreXF } , u.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , u.prototype.applyStyle = function(e, t) { this.series.allowApplyStyle && (this.series.showShadow = e.core.seriesShowShadow, null != this.series.seriesLabels && this.series.seriesLabels.core.applyStyle(e)) } , u.prototype.checkLabelsRect = function(e, t, r) { return null != e && e.preventIntersection && (r.x < 0 && (r.x = 0), r.y < 0 && (r.y = 0), r.right > t.clientRectangle.width && (r.x = t.clientRectangle.width - r.width), r.bottom > t.clientRectangle.height && (r.y = t.clientRectangle.height - r.height)), r } , u.prototype.getRectangle = function(e, t) { var r = new a(e.left,e.top) , i = new a(e.right,e.top) , n = new a(e.right,e.bottom) , s = new a(e.left,e.bottom) , l = new a((e.left + e.right) / 2,(e.top + e.bottom) / 2) , u = this.rotatePoint(r, l, t) , c = this.rotatePoint(i, l, t) , h = this.rotatePoint(n, l, t) , p = this.rotatePoint(s, l, t) , f = Math.min(Math.min(u.y, c.y), Math.min(h.y, p.y)) , m = Math.max(Math.max(u.y, c.y), Math.max(h.y, p.y)) , S = Math.min(Math.min(u.x, c.x), Math.min(h.x, p.x)) , d = Math.max(Math.max(u.x, c.x), Math.max(h.x, p.x)); return new o(S,f,d - S,m - f) } , u.prototype.rotatePoint = function(e, t, r) { var i = r * (Math.PI / 180) , n = Math.cos(i) , o = Math.sin(i); return new a(Math.trunc(n * (e.x - t.x) - o * (e.y - t.y) + t.x),Math.trunc(o * (e.x - t.x) + n * (e.y - t.y) + t.y)) } , u.prototype.checkIntersectionLabels = function(e) { var r, i, n = e.childGeoms, o = []; if (null != n) try { for (var a = __values(n), s = a.next(); !s.done; s = a.next()) { var l = s.value; l.stimulsoft.is(t.StiSeriesLabelsGeom) && o.add(l) } } catch (e) { r = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } var u = o.length , c = !0 , h = 0; while (c && h < 29) { h++; for (var p = 0; p < u; p++) for (var f = 0; f < u; f++) { if (f == p) continue; if (o[p].clientRectangle.intersectsWith(o[f].clientRectangle)) { var m = o[p].clientRectangle.clone() , S = o[f].clientRectangle.clone() , d = m.height - Math.abs(o[f].clientRectangle.y - o[p].clientRectangle.y) + 2; m.y > S.y ? (m.y += d / 2, S.y -= d / 2) : (m.y -= d / 2, S.y += d / 2), m.y < 0 && (m.y = 0), S.y < 0 && (S.y = 0), m.y + m.height > e.clientRectangle.height && (m.y = e.clientRectangle.height - m.height), S.y + d / 2 + S.height > e.clientRectangle.height && (S.y = e.clientRectangle.height - S.height), o[p].clientRectangle = m, o[f].clientRectangle = S } } } } , u.prototype.getLabelRectangle = function(e, t) { var r = Math.pow(Math.pow(t.width, 2) + Math.pow(t.height, 2), .5); return e += Math.atan(t.height / t.width) / Math.PI * 180, new o(t.x,t.y,r * Math.cos(e * Math.PI / 180),r * Math.sin(e * Math.PI / 180)) } , u.prototype.renderSeries = function(e, t, r, i) {} , u.prototype.getSeriesBrush = function(e, o) { if (null == this.series.chart || null == this.series.chart.area) return null; if ((this.series.chart.area.colorEach || this.stimulsoft.is(t.StiDoughnutSeriesCoreXF) || this.stimulsoft.is(t.StiPictorialSeriesCoreXF)) && r.isNullOrEmpty(this.series.autoSeriesColorDataColumn)) { var a = null != this.series.chart.style ? this.series.chart.style.core : new t.StiStyleCoreXF29 , s = a.getColorByIndex(e, o, this.seriesColors) , l = a.getColumnBrush(s); return this.series.chart.area.stimulsoft.is(t.IStiClusteredBarArea) && (l.stimulsoft.is(i) && (l.angle += 90), l.stimulsoft.is(n) && (l.angle += 90)), l } return null } , u.prototype.getSeriesBorderColor = function(e, r) { if (null == this.series.chart || null == this.series.chart.area) return null; if (this.series.chart.area.colorEach && this.series.allowApplyStyle || this.stimulsoft.is(t.StiDoughnutSeriesCoreXF)) { var i = null != this.series.chart.style ? this.series.chart.style.core : new t.StiStyleCoreXF29 , n = i.getColorByIndex(e, r, this.seriesColors); return i.getColumnBorder(n) } return null } , u.prototype.getSeriesLabels = function() { if (this.series.showSeriesLabels == t.StiShowSeriesLabels.FromChart) return this.series.chart.seriesLabels.stimulsoft.as(t.IStiAxisSeriesLabels); if (this.series.showSeriesLabels == t.StiShowSeriesLabels.FromSeries) return this.series.seriesLabels.stimulsoft.as(t.IStiAxisSeriesLabels); return null } , u.prototype.getTag = function(t) { return null != this.series.tags && t < this.series.tags.length && null != this.series.tags[t] ? this.series.tags[t].toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator) : "" } , u.prototype.getIsMouseOverSeriesElement = function(e) { if (null == this.isMouseOverSeriesElementHashtable) return !1; return this.isMouseOverSeriesElementHashtable.get(e) == u.trueObject } , u.prototype.setIsMouseOverSeriesElement = function(e, t) { null == this.isMouseOverSeriesElementHashtable && (this.isMouseOverSeriesElementHashtable = new s), this.isMouseOverSeriesElementHashtable.set(e, t ? u.trueObject : u.falseObject) } , Object.defineProperty(u.prototype, "isMouseOver", { get: function() { return this._isMouseOver }, set: function(e) { this._isMouseOver = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "localizedName", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "isDateTimeValues", { get: function() { return this._isDateTimeValues }, set: function(e) { this._isDateTimeValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "isDateTimeArguments", { get: function() { return this._isDateTimeArguments }, set: function(e) { this._isDateTimeArguments = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "series", { get: function() { return this._series }, set: function(e) { this._series = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "interaction", { get: function() { return this.series.interaction }, set: function(e) { this.series.interaction = e }, enumerable: !0, configurable: !0 }), u.falseObject = {}, u.trueObject = {}, u }(); t.StiSeriesCoreXF = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiColorUtils , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Point , o = function(e) { function o(t) { return e.call(this, t) || this } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiBaseLineSeriesCoreXF || (o.implementsStiBaseLineSeriesCoreXF = e.prototype.implements.call(this).concat([t.IStiApplyStyleSeries])), o.implementsStiBaseLineSeriesCoreXF } , o.prototype.applyStyle = function(n, o) { e.prototype.applyStyle.call(this, n, o); var a = this.series; if (a.allowApplyStyle) { if (a.lineColor = o, a.lighting = n.core.seriesLighting, null != a.marker) { var s = a.marker.stimulsoft.as(t.StiMarker); null != s && s.extendedVisible != t.StiExtendedStyleBool.FromStyle ? a.marker.visible = s.extendedVisible == t.StiExtendedStyleBool.True : a.marker.visible = n.core.markerVisible, a.marker.brush = new i(r.light(o, 100)), a.marker.borderColor = r.dark(o, 100) } null != a.lineMarker && (a.lineMarker.brush = new i(r.light(o, 50)), a.lineMarker.borderColor = r.dark(o, 150)) } } , o.prototype.clipLinePoints = function(e, t, r, i, o) { var a, s, l = i.ref, u = o.ref; if (this.series.chart.area.xAxis.range.auto) return l = 0, u = r.length, i.ref = l, o.ref = u, r; l = -1, u = -1; var c = t.view.clientRectangle.clone(); c.x = 0, c.y = 0; var h = 0; try { for (var p = __values(r), f = p.next(); !f.done; f = p.next()) { var m = f.value; if (null != m) { var S = m; if (S.x += t.clientRectangle.x, S.y += t.clientRectangle.y, c.x <= S.x && S.x < c.right && -1 == l && (l = h), !(c.x <= S.x && S.x < c.right) && -1 != l) { u = h; break } } h++ } } catch (e) { a = { error: e } } finally { try { f && !f.done && (s = p.return) && s.call(p) } finally { if (a) throw a.error } } -1 == u && (u = r.length - 1), l--, u++, l < 0 && (l = 0), u >= r.length && (u = r.length - 1); var d = u - l + 1; if (d == r.length) return i.ref = l, o.ref = u, r; var y = Array.create(n, d, !0); return Array.copy(r, l, y, d), i.ref = l, o.ref = u, y } , o.prototype.renderMarkers = function(e, r, i) { var o, a, s = r.area, l = this.series; if (0 == i.length) return; var u = !l.marker.visible && l.toolTips.length > 0; if (null != l.marker) { var c = 0; try { for (var h = __values(i), p = h.next(); !p.done; p = h.next()) { var f = p.value; if (null != f) { var m = s.reverseHor ? l.values[l.values.length - c - 1] : l.values[c]; null == m && l.showNulls && (m = 0); var S = r.view.clientRectangle.clone(); S.x = 0, S.y = 0, S.inflate(10, 10); var d = new n(f.x,f.y); if (d.x += r.clientRectangle.x, d.y += r.clientRectangle.y, S.contains(d.x, d.y)) { var y = new t.StiMarkerGeom(this.series,c,m,f,l.marker,l.showShadow,e.options.zoom,u); if (null != y) { if (null != l.core.interaction) { var g = new t.StiSeriesInteractionData; g.fill(s, l, c), y.interaction = g } r.createChildGeoms(), r.childGeoms.add(y) } } } c++ } } catch (e) { o = { error: e } } finally { try { p && !p.done && (a = h.return) && a.call(h) } finally { if (o) throw o.error } } } } , o.prototype.getInteractions = function(e, r, i) { for (var n = [], o = 0; o < i.length; o++) { var a = new t.StiSeriesInteractionData; a.fill(r.area, this.series, o), a.point = i[o], n.add(a) } return n } , o.prototype.renderLines = function(e, t, r) {} , o.prototype.renderAreas = function(e, t, r) {} , o.prototype.renderSeries = function(e, r, i, o) { var a, s, l = i.area; if (null == o || 0 == o.length || null == this.series.chart) return; var u = l , c = u.xAxis.core.getStartFromZero(); r.width += .001; for (var h = 0, p = [], f = 0; f < o.length; f++) { for (var m = o[f], S = m.values.length, d = Array.create(n, S, !0), y = 0; y < S; y++) { var g = c ? y + 1 : y; if (g >= u.xAxis.info.stripPositions.length) break; var b = u.xAxis.info.stripPositions[g]; d[y] = this.getPointValue(y, m, m.values, u, b) } if (d.length > 0) { d = t.StiPointHelper.optimizePoints(d); var v = void 0 , C = void 0 , w = { ref: v } , x = { ref: C } , _ = this.clipLinePoints(e, i, d, w, x); v = w.ref, C = x, m.core.renderAreas(e, i, _), this.isTopmostLine(m) || m.core.renderLines(e, i, _) } p.add(d) } var A = 0; try { for (var L = __values(p), O = L.next(); !O.done; O = L.next()) { var P = O.value , v = void 0 , C = void 0 , w = { ref: v } , x = { ref: C } , _ = this.clipLinePoints(e, i, P, w, x); v = w.ref, C = x.ref; var m = o[A]; this.isTopmostLine(o[A]) && m.core.renderLines(e, i, _); var B = m.stimulsoft.as(t.StiSeries).trendLine; null != B && B.core.renderTrendLine(i, _, u.axisCore.getDividerY()); var R = m.core.getSeriesLabels(); if (null != R && R.visible) for (var y = v; y <= C; y++) if (m.values.length > y) { var k = m.values[y]; null == k && m.showNulls && (k = 0); var j = k; u.reverseVert && null != k && (j = -j), h = m.yAxis == t.StiSeriesYAxis.LeftYAxis ? u.axisCore.getDividerY() : u.axisCore.getDividerRightY(); var T = P[y]; if (null != T) { var F = new n(T.x,h); if (0 == R.step || y % R.step == 0) { var D = u.xAxis.startFromZero ? y + 1 : y , I = R.core.renderLabel(m, e, this.correctPoint(T, r, m.labelsOffset * e.options.zoom), this.correctPoint(F, r, m.labelsOffset * e.options.zoom), y, j, k, u.axisCore.getArgumentLabel(u.xAxis.info.stripLines.getByIndex(D), m), m.core.getTag(y), 0, 1, r, null); null != I && (i.createChildGeoms(), i.childGeoms.add(I), I.clientRectangle = this.checkLabelsRect(R, i, I.clientRectangle)) } } } A++ } } catch (e) { a = { error: e } } finally { try { O && !O.done && (s = L.return) && s.call(L) } finally { if (a) throw a.error } } i.area.chart.seriesLabels.preventIntersection && this.checkIntersectionLabels(i) } , o.prototype.getPointValue = function(e, t, r, i, n) { var o = 0; return r.length > e && (o = i.reverseHor ? r[r.length - e - 1] : r[e]), this.getPointValue1(o, t, i, n) } , o.prototype.getPointValue1 = function(e, r, i, o) { var a = r.stimulsoft.is(t.StiAreaSeries) || r.stimulsoft.is(t.StiSplineAreaSeries) || r.stimulsoft.is(t.StiStackedAreaSeries) || r.stimulsoft.is(t.StiStackedSplineAreaSeries) || r.stimulsoft.is(t.StiSteppedAreaSeries); if (0 == e && !r.showZeros && !a) return null; if (null == e && !r.showNulls && !a) return null; null == e && r.showNulls && (e = 0), i.reverseVert && null != e && (e = -e); var s = 0; return s = r.yAxis == t.StiSeriesYAxis.LeftYAxis ? -e * i.yAxis.info.dpi + i.axisCore.getDividerY() : -e * i.yRightAxis.info.dpi + i.axisCore.getDividerRightY(), new n(o,s) } , o.prototype.isTopmostLine = function(e) { if (e.stimulsoft.is(t.IStiSplineAreaSeries)) return e.topmostLine; if (e.stimulsoft.is(t.IStiSteppedAreaSeries)) return e.topmostLine; if (e.stimulsoft.is(t.IStiAreaSeries)) return e.topmostLine; return !0 } , o.prototype.correctPoint = function(e, t, r) { if (e.y + r < 0) return new n(e.x,0); if (e.y + r > t.height) return new n(e.x,t.height); return new n(e.x,e.y + r) } , o.prototype.getSeriesBrush = function(t, n) { var o = this.series , a = e.prototype.getSeriesBrush.call(this, t, n); if (null == a) return new i(r.dark(o.lineColor, 20)); return a } , o.prototype.getSeriesBorderColor = function(t, r) { var i = this.series , n = e.prototype.getSeriesBorderColor.call(this, t, r); if (null == n) return i.lineColor; return n } , o }(t.StiSeriesCoreXF); t.StiBaseLineSeriesCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.DateTime , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Point , o = function(o) { function a(e) { return o.call(this, e) || this } return __extends(a, o), a.prototype.applyStyle = function(e, r) { o.prototype.applyStyle.call(this, e, r); var i = this.series.stimulsoft.as(t.IStiBaseLineSeries); i.allowApplyStyle && (e.core.markerVisible || (i.marker.visible = !0)) } , a.prototype.renderLines = function(e, t, r) { this.renderMarkers(e, t, r) } , a.prototype.renderSeries = function(i, o, a, s) { var l, u; if (null == s || 0 == s.length || null == this.series.chart) return; for (var c = a.area, h = 0, p = [], f = 0; f < s.length; f++) { for (var m = s[f], S = Math.min(m.values.length, m.arguments.length), d = Array.create(n, S, !0), y = m.arguments.getKeys(), g = 0; g < S; g++) { var b = m.values[g]; if (null == b && this.series.showNulls && (b = 0), 0 == b && !this.series.showZeros) { d[g] = null; continue } if (null != b) { c.reverseVert && null != b && !c.yAxis.logarithmicScale && (b = -b); var v = 0; if (c.yAxis.logarithmicScale) { var C = c.yAxis.info.stripLines.count , w = 0 , x = C - 1 , _ = c.yAxis.info.stripLines.getByIndex(w).value , A = c.yAxis.info.stripLines.getByIndex(x).value , L = Math.abs(o.height / (Math.log10(A) - Math.log10(_))); v = Math.abs(Math.log10(c.yAxis.info.stripLines.getByIndex(w).value) * L - Math.log10(b) * L) } else v = m.yAxis == t.StiSeriesYAxis.LeftYAxis ? -b * c.yAxis.info.dpi + c.axisCore.getDividerY() : -b * c.yRightAxis.info.dpi + c.axisCore.getDividerRightY(); var O = null; if (m.arguments.getByIndex(g, y).stimulsoft.is(r)) { var P = m.arguments.getByIndex(g, y); O = P.toOADate().stimulsoft.toNumber() } else try { O = null == m.arguments.getByIndex(g, y) ? null : m.arguments.getByIndex(g, y).stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1), O = null } if (null == O) d[g] = null; else { var B = 0; if (c.xAxis.logarithmicScale && c.xAxis.info.stripLines.count > 0) { var C = c.xAxis.info.stripLines.count , w = c.reverseHor ? C - 1 : 0 , x = c.reverseHor ? 0 : C - 1 , _ = c.xAxis.info.stripLines.getByIndex(w).value , A = c.xAxis.info.stripLines.getByIndex(x).value , R = Math.abs(o.width / (Math.log10(A) - Math.log10(_))); B = Math.log10(O) * R - Math.log10(c.xAxis.info.stripLines.getByIndex(w).value) * R } else B = (O - c.xAxis.info.minimum) * c.xAxis.info.dpi; c.reverseHor && (B = o.width - B), d[g] = new n(B,v) } } else d[g] = null } p.add(d) } var k = 0; try { for (var j = __values(p), T = j.next(); !T.done; T = j.next()) { var F = T.value , m = s[k] , y = m.arguments.getKeys(); m.core.renderLines(i, a, F); var D = m.stimulsoft.as(t.StiSeries).trendLine; null != D && D.core.renderTrendLine(a, F, c.axisCore.getDividerY()); var I = m.core.getSeriesLabels(); if (null != I && I.visible) for (var g = 0; g < F.length; g++) { var b = m.values[g] , N = b; c.reverseVert && null != b && (N = -N), h = m.yAxis == t.StiSeriesYAxis.LeftYAxis ? c.axisCore.getDividerY() : c.axisCore.getDividerRightY(); var x = F[g]; if (null != x) { var w = new n(x.x,h); if ((o.contains(w.x, w.y) || w.y == o.bottom || o.contains(x.x, x.y)) && (0 == I.step || g % I.step == 0)) { var M = I.core.renderLabel(m, i, this.correctPoint(x, o, m.labelsOffset * i.options.zoom), this.correctPoint(w, o, m.labelsOffset * i.options.zoom), g, N, b, m.arguments.getByIndex(g, y).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator), m.core.getTag(g), 0, 1, o); null != M && (a.createChildGeoms(), a.childGeoms.add(M), M.clientRectangle = this.checkLabelsRect(I, a, M.clientRectangle.clone())) } } } k++ } } catch (e) { l = { error: e } } finally { try { T && !T.done && (u = j.return) && u.call(j) } finally { if (l) throw l.error } } a.area.chart.seriesLabels.preventIntersection && this.checkIntersectionLabels(a) } , Object.defineProperty(a.prototype, "localizedName", { get: function() { return i.get("Chart", "Scatter") }, enumerable: !0, configurable: !0 }), a }(t.StiBaseLineSeriesCoreXF); t.StiScatterSeriesCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Data.DBNull , i = e.System.TimeSpan , n = e.System.DateTime , o = e.Base.Localization.StiLocalization , a = e.System.Drawing.Rectangle , s = e.System.Drawing.Point , l = function(l) { function u(e) { return l.call(this, e) || this } return __extends(u, l), u.prototype.applyStyle = function(e, t) { l.prototype.applyStyle.call(this, e, t), this.series.allowApplyStyle && (this.series.brush = e.core.getColumnBrush(t), this.series.borderColor = e.core.getColumnBorder(t)) } , u.prototype.renderLines = function(e, t, r) {} , u.prototype.renderBubbles = function(e, r, n, o, s) { var l, u, c, h, p, f, m = 0, S = 0; try { for (var d = __values(n.chart.series.list), y = d.next(); !y.done; y = d.next()) { var g = y.value , b = g; if (null == b) continue; try { for (var v = (c = void 0, __values(b.weights)), C = v.next(); !C.done; C = v.next()) { var w = C.value; m = 0 == S ? w : Math.max(w, m), S++ } } catch (e) { c = { error: e } } finally { try { C && !C.done && (h = v.return) && h.call(v) } finally { if (c) throw c.error } } } } catch (e) { l = { error: e } } finally { try { y && !y.done && (u = d.return) && u.call(d) } finally { if (l) throw l.error } } var x = r.area , _ = .9 * Math.min(x.xAxis.info.step, x.yAxis.info.step) , A = _ / m , L = t.StiChartHelper.globalBeginTimeElement; S = 0; try { for (var O = __values(s), P = O.next(); !P.done; P = O.next()) { var w = P.value , B = o[S]; if (null != B && w > 0) { var R = w * A , k = new a(B.x - R / 2,B.y - R / 2,R,R) , j = this.getSeriesBrush(S, o.length) , T = n.core.getSeriesBorderColor(S, o.length) , F = new t.StiBubbleSeriesElementGeom(r,w,S,j,T,n,k,new i(L.ticks / x.core.valuesCount * S)); if (null != n.core.interaction) { var D = new t.StiSeriesInteractionData; D.fill(x, n, S), F.interaction = D } r.createChildGeoms(), r.childGeoms.add(F) } S++ } } catch (e) { p = { error: e } } finally { try { P && !P.done && (f = O.return) && f.call(O) } finally { if (p) throw p.error } } } , u.prototype.renderSeries = function(i, o, a, l) { if (null == l || 0 == l.length || null == this.series.chart) return; for (var u = a.area, c = 0, h = [], p = [], f = 0; f < l.length; f++) { for (var m = l[f], S = Math.min(m.values.length, m.arguments.length), d = [], y = [], g = 0; g < S; g++) { var b = m.values[g]; null == b && m.showNulls && (b = 0), u.reverseVert && null != b && (b = -b); var v = 0; v = m.yAxis == t.StiSeriesYAxis.LeftYAxis ? -b * u.yAxis.info.dpi + u.axisCore.getDividerY() : -b * u.yRightAxis.info.dpi + u.axisCore.getDividerRightY(); var C = null; if (m.arguments[g].stimulsoft.is(n)) { var w = m.arguments[g]; C = w.toOADate().stimulsoft.toNumber() } else try { null != m.arguments[g] && m.arguments[g] != r.value && (C = m.arguments[g].stimulsoft.toNumber()) } catch (t) { e.System.StiError.showError(t, !1), C = null } if (null == C && m.showNulls && (C = 0), null != b && null != C) { var x = (C - u.xAxis.info.minimum) * u.xAxis.info.dpi; u.reverseHor && (x = o.width - x), d.add(new s(x,v)) } else d.add(null); y.add(g < m.weights.length ? m.weights[g] : 0) } h.add(d), p.add(y) } for (var _ = 0; _ < h.length; _++) { var A = p[_] , L = h[_] , m = l[_]; m.core.renderBubbles(i, a, m, L, A); var O = m.stimulsoft.as(t.StiSeries).trendLine , d = Array.create(s, L.length, !0); L.copyTo(d), null != O && O.core.renderTrendLine(a, d, u.axisCore.getDividerY()); var P = m.core.getSeriesLabels(); if (null != P && P.visible) for (var g = 0; g < L.length; g++) { var b = m.values[g] , B = b; u.reverseVert && null != B && (B = -B), c = m.yAxis == t.StiSeriesYAxis.LeftYAxis ? u.axisCore.getDividerY() : u.axisCore.getDividerRightY(); var R = L[g]; if (null != R) { var k = new s(R.x,c); if ((o.contains(k.x, k.y) || k.y == o.bottom || o.contains(R.x, R.y)) && (0 == P.step || g % P.step == 0)) { var j = P.core.renderLabel2(m, i, this.correctPoint(R, o, m.labelsOffset * i.options.zoom), this.correctPoint(k, o, m.labelsOffset * i.options.zoom), g, B, b, m.arguments[g].toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator), m.core.getTag(g), m.weights[g], g, L.length, o); null != j && (a.createChildGeoms(), a.childGeoms.add(j), j.clientRectangle = this.checkLabelsRect(P, a, j.clientRectangle)) } } } } } , Object.defineProperty(u.prototype, "localizedName", { get: function() { return o.get("Chart", "Bubble") }, enumerable: !0, configurable: !0 }), u }(t.StiScatterSeriesCoreXF); t.StiBubbleSeriesCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Rectangle , i = e.System.TimeSpan , n = e.Base.Localization.StiLocalization , o = e.System.Drawing.Rectangle , a = e.System.Drawing.Point , s = e.Base.Context.Animation.StiColumnAnimation , l = function(e) { function l(t) { return e.call(this, t) || this } return __extends(l, e), l.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r), this.series.allowApplyStyle && (this.series.brush = t.core.getColumnBrush(r), this.series.borderColor = t.core.getColumnBorder(r)) } , l.prototype.renderSeries = function(e, n, l, u) { var c, h, p, f, m = [], S = l.area; if (null == u || 0 == u.length || null == this.series.chart) return; for (var d = S, y = d.xAxis.core.getStartFromZero(), g = d.axisCore.getDividerY(), b = d.axisCore.getDividerRightY(), v = 0, C = d.axisCore.valuesCount * u.length, w = [], x = 0; x < u.length; x++) w.add([]); for (var _ = 0; _ < d.axisCore.valuesCount; _++) { var A = y ? d.xAxis.info.stripPositions[_ + 1] : d.xAxis.info.stripPositions[_]; A -= d.xAxis.info.step / 2; var L = 0; try { for (var O = (c = void 0, __values(u)), P = O.next(); !P.done; P = O.next()) { var B = P.value; L += d.xAxis.info.step / u.length * B.width } } catch (e) { c = { error: e } } finally { try { P && !P.done && (h = O.return) && h.call(O) } finally { if (c) throw c.error } } var R = A + (d.xAxis.info.step - L) / 2 , k = 0; d.reverseHor && (k = u.length - 1); while (k < u.length && !d.reverseHor || k >= 0 && d.reverseHor) { var j = u[k] , T = d.xAxis.info.step / u.length * j.width; if (_ < j.values.length) { var F = d.reverseHor ? j.values[j.values.length - _ - 1] : j.values[_]; d.reverseVert && null != F && (F = -F); var D = 0 , I = 0; j.yAxis == t.StiSeriesYAxis.LeftYAxis ? (D = F * d.yAxis.info.dpi, I = -D + g) : (D = F * d.yRightAxis.info.dpi, I = -D + b), !j.showZeros || 0 != F && null != F || (D = Math.max(e.options.zoom, 2), d.reverseVert || (I -= D)), F < 0 && (I = j.yAxis == t.StiSeriesYAxis.LeftYAxis ? g : b, D = -D); var N = new o(R,I,T,D) , M = j.stimulsoft.as(t.StiSeries); null == M.trendLine || M.trendLine.stimulsoft.is(t.IStiTrendLineNone) || w[k].add(new a(R + T / 2,I)); var E = l.view.clientRectangle.clone(); E.x = 0, E.y = 0; var V = N.clone(); if (V.x += l.clientRectangle.x, V.y += l.clientRectangle.y, V.right > E.x && V.x < E.right || this.series.chart.area.xAxis.range.auto) { var X = j.core.getSeriesBrush(v, C); j.allowApplyBrushNegative && F < 0 && (X = j.brushNegative), X = j.processSeriesBrushes(_, X); var G = j.core.getSeriesBorderColor(v, C) , z = t.StiChartHelper.globalBeginTimeElement; if (null != this.series.chart && null != this.series.chart.style && N.height > 0) { var J = new i(z.ticks / d.core.valuesCount * _) , H = new s(0,r.empty,t.StiChartHelper.globalDurationElement,J) , Y = new t.StiClusteredColumnSeriesElementGeom(l,F,_,X,G,j,N,H); if (null != j.core.interaction) { var W = new t.StiSeriesInteractionData; W.fill(d, j, _), Y.interaction = W } l.createChildGeoms(), l.childGeoms.add(Y) } var Z = j.core.getSeriesLabels(); if (null != Z && Z.visible) { var U = void 0; U = j.yAxis == t.StiSeriesYAxis.LeftYAxis ? new a(R + T / 2,-F * d.yAxis.info.dpi + g) : new a(R + T / 2,-F * d.yRightAxis.info.dpi + b); var q = 0; if (null != F && (q = d.reverseVert ? -F : F), 0 == Z.step || _ % Z.step == 0) { var K = d.xAxis.startFromZero ? _ + 1 : _ , Q = Z.core.renderLabel(j, e, this.correctPoint(U, n), this.correctPoint(new a(U.x,g), n), _, F, q, d.axisCore.getArgumentLabel(d.xAxis.info.stripLines.getByIndex(K), j), j.core.getTag(_), v, C, n); null != Q && (m.add(Q), Q.clientRectangle = this.checkLabelsRect(Z, l, Q.clientRectangle)) } } } } R += T, v++, d.reverseHor ? k-- : k++ } } for (var $ = 0; $ < u.length; $++) { var ee = u[$].trendLine; if (ee.stimulsoft.is(t.IStiTrendLineNone)) continue; var te = w[$]; null != ee && ee.core.renderTrendLine(l, te.toArray(), d.axisCore.getDividerY()) } try { for (var re = __values(m), ie = re.next(); !ie.done; ie = re.next()) { var Q = ie.value; l.createChildGeoms(), l.childGeoms.add(Q) } } catch (e) { p = { error: e } } finally { try { ie && !ie.done && (f = re.return) && f.call(re) } finally { if (p) throw p.error } } l.area.chart.seriesLabels.preventIntersection && this.checkIntersectionLabels(l) } , l.prototype.correctPoint = function(e, t) { if (e.y < 0) return new a(e.x,0); if (e.y > t.height) return new a(e.x,t.height); return e } , l.prototype.getSeriesBrush = function(t, r) { var i = e.prototype.getSeriesBrush.call(this, t, r); if (null == i) return this.series.brush; return i } , l.prototype.getSeriesBorderColor = function(t, r) { var i = e.prototype.getSeriesBorderColor.call(this, t, r); if (null == i) return this.series.borderColor; return i } , Object.defineProperty(l.prototype, "localizedName", { get: function() { return n.get("Chart", "ClusteredColumn") }, enumerable: !0, configurable: !0 }), l }(t.StiSeriesCoreXF); t.StiClusteredColumnSeriesCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Rectangle , i = e.System.TimeSpan , n = e.Base.Localization.StiLocalization , o = e.Base.Drawing.StiGlareBrush , a = e.Base.Drawing.StiGradientBrush , s = e.System.Drawing.Point , l = function(e) { function l(t) { return e.call(this, t) || this } return __extends(l, e), l.prototype.implements = function() { return l.implementsStiClusteredBarSeriesCoreXF || (l.implementsStiClusteredBarSeriesCoreXF = e.prototype.implements.call(this).concat([t.IStiApplyStyleSeries])), l.implementsStiClusteredBarSeriesCoreXF } , l.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getColumnBrush(r), i.brush.stimulsoft.is(a) && (i.brush.angle += 90), i.brush.stimulsoft.is(o) && (i.brush.angle += 90), i.borderColor = t.core.getColumnBorder(r)) } , l.prototype.renderSeries = function(e, n, o, a) { var l, u, c, h, p = [], f = o.area; if (null == a || 0 == a.length || null == this.series.chart) return; for (var m = f, S = m.yAxis.core.getStartFromZero(), d = m.axisCore.getDividerX(), y = 0, g = m.axisCore.valuesCount * a.length, b = m.axisCore.valuesCount, v = [], C = 0; C < a.length; C++) v.add([]); for (var w = a.getKeys(), x = 0; x < b; x++) { var _ = S ? m.yAxis.info.stripPositions[x + 1] - m.yAxis.info.step / 2 : m.yAxis.info.stripPositions[x] - m.yAxis.info.step / 2 , A = 0; try { for (var L = (l = void 0, __values(a)), O = L.next(); !O.done; O = L.next()) { var P = O.value; A += m.yAxis.info.step / a.length * P.width } } catch (e) { l = { error: e } } finally { try { O && !O.done && (u = L.return) && u.call(L) } finally { if (l) throw l.error } } var B = _ + (m.yAxis.info.step - A) / 2 , R = 0; m.reverseVert && (R = a.length - 1); var k = t.StiChartHelper.globalBeginTimeElement; while (R < a.length && !m.reverseVert || R >= 0 && m.reverseVert) { var j = a.getByIndex(R, w) , T = m.yAxis.info.step / a.length * j.width; if (x < j.values.length) { var F = -(m.reverseVert ? j.values[x] : j.values[j.values.length - x - 1]); m.reverseHor && null != F && (F = -F); var D = F * m.xAxis.info.dpi; !this.series.showZeros || 0 != F && null != F || (D = Math.max(e.options.zoom, 2)), F < 0 && (D = -D); var I = this.getBarRect(e, j, F, B, T); j.stimulsoft.as(t.StiSeries).trendLine.stimulsoft.is(t.IStiTrendLineNone) || v[R].add(new s(D,B + T / 2)); var N = o.view.clientRectangle.clone(); N.x = 0, N.y = 0; var M = I.clone(); if (M.x += o.clientRectangle.x, M.y += o.clientRectangle.y, M.bottom > N.y && M.y < N.bottom || this.series.chart.area.yAxis.range.auto) { if (null != this.series.chart && null != this.series.chart.style && I.width > 0) { var E = j.core.getSeriesBrush(y, g); j.allowApplyBrushNegative && F > 0 && (E = j.brushNegative), E = j.processSeriesBrushes(b - 1 - x, E); var V = j.core.getSeriesBorderColor(y, g) , X = new t.StiClusteredBarSeriesElementGeom(o,0,F,x,E,V,j,r.empty,I,new i(k.ticks / m.core.valuesCount * x)); if (null != j.core.interaction) { var G = new t.StiSeriesInteractionData; G.fill(m, j, x), X.interaction = G } o.createChildGeoms(), o.childGeoms.add(X) } var z = j.core.getSeriesLabels(); if (null != z && z.visible) { var J = new s(-F * m.xAxis.info.dpi + d,B + T / 2) , H = F; if (null != F && (H = m.reverseHor ? F : -F), 0 == z.step || x % z.step == 0) { var Y = z.core.renderLabel(j, e, this.correctPoint(J, n), this.correctPoint(new s(d,J.y), n), x, F, H, m.axisCore.getArgumentLabel(m.yAxis.info.stripLines.getByIndex(x), j), j.core.getTag(x), y, g, n); null != Y && (p.add(Y), Y.clientRectangle = this.checkLabelsRect(z, o, Y.clientRectangle)) } } } } B += T, y++, m.reverseVert ? R-- : R++ } } for (var W = 0; W < a.length; W++) { var Z = a.getByIndex(W, w).trendLine; if (Z.stimulsoft.is(t.IStiTrendLineNone)) continue; var U = v[W]; null != Z && Z.core.renderTrendLine(o, U.toArray(), m.axisCore.getDividerY()) } try { for (var q = __values(p), K = q.next(); !K.done; K = q.next()) { var Y = K.value; o.createChildGeoms(), o.childGeoms.add(Y) } } catch (e) { c = { error: e } } finally { try { K && !K.done && (h = q.return) && h.call(q) } finally { if (c) throw c.error } } } , l.prototype.getBarRect = function(e, i, n, o, a) { var s = i.chart.area , l = s.axisCore.getDividerX() , u = s.axisCore.getDividerTopX() , c = i.yAxis == t.StiSeriesYAxis.RightYAxis ? u : l , h = i.yAxis == t.StiSeriesYAxis.RightYAxis ? s.xTopAxis.info.dpi : s.xAxis.info.dpi; s.reverseHor && null != n && (n = -n); var p = n * h , f = -p + c; return !this.series.showZeros || 0 != n && null != n || (p = Math.max(e.options.zoom, 2), s.reverseHor && (f -= p)), n < 0 && (f = c, p = -p), new r(f,o,p,a) } , l.prototype.correctPoint = function(e, t) { if (e.x < 0) return new s(0,e.y); if (e.x > t.width) return new s(t.width,e.y); return e } , Object.defineProperty(l.prototype, "localizedName", { get: function() { return n.get("Chart", "ClusteredBar") }, enumerable: !0, configurable: !0 }), l }(t.StiClusteredColumnSeriesCoreXF); t.StiClusteredBarSeriesCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.renderLines = function(e, r, i) { if (null != i && i.length > 1) { var n = new t.StiLineSeriesGeom(r,i,this.series); r.createChildGeoms(), r.childGeoms.add(n), null != this.interaction && (n.interactions = this.getInteractions(e, r, i)) } this.renderMarkers(e, r, i) } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Line") }, enumerable: !0, configurable: !0 }), i }(t.StiBaseLineSeriesCoreXF); t.StiLineSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getAreaBrush(r)) } , i.prototype.renderAreas = function(e, r, i) { if (null == i || i.length <= 1) return; var n = new t.StiAreaSeriesGeom(r,i,this.series); null != n && (r.createChildGeoms(), r.childGeoms.add(n)) } , i.prototype.getSeriesBrush = function(t, r) { var i = this.series , n = e.prototype.getSeriesBrush.call(this, t, r); if (null == n) return i.brush; return n } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Area") }, enumerable: !0, configurable: !0 }), i }(t.StiLineSeriesCoreXF); t.StiAreaSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Rectangle , i = e.System.TimeSpan , n = e.Base.Localization.StiLocalization , o = e.System.Drawing.Rectangle , a = e.System.Drawing.Point , s = e.Base.Context.Animation.StiColumnAnimation , l = e.Base.Drawing.StiColorUtils , u = e.Base.Drawing.StiSolidBrush , c = e.System.Collections.List , h = function(e) { function h(t) { return e.call(this, t) || this } return __extends(h, e), h.prototype.applyStyle = function(t, r) { if (e.prototype.applyStyle.call(this, t, r), this.series.allowApplyStyle) { var i = this.series; i.brush = t.core.getColumnBrush(r), i.borderColor = t.core.getColumnBorder(r), i.lineColor = l.light(r, 50), i.lighting = t.core.seriesLighting, i.marker.visible = t.core.markerVisible, null != i.marker && (i.marker.brush = new u(l.light(r, 100)), i.marker.borderColor = l.dark(r, 100)), null != i.lineMarker && (i.lineMarker.brush = new u(l.light(r, 50)), i.lineMarker.borderColor = l.dark(r, 150)) } } , h.prototype.getParetoValues = function(e) { var t, r, i, n, o = new c, a = new c, s = 0; try { for (var l = __values(e), u = l.next(); !u.done; u = l.next()) { var h = u.value; s += h, o.add(s) } } catch (e) { t = { error: e } } finally { try { u && !u.done && (r = l.return) && r.call(l) } finally { if (t) throw t.error } } try { for (var p = __values(o), f = p.next(); !f.done; f = p.next()) { var h = f.value , m = h / s * 100; a.add(m) } } catch (e) { i = { error: e } } finally { try { f && !f.done && (n = p.return) && n.call(p) } finally { if (i) throw i.error } } return a } , h.prototype.renderSeries = function(e, t, r, i) { if (null == i || 0 == i.length || null == this.series.chart) return; this.renderColumns(e, t, r, i), this.renderLinePareto(e, t, r, i) } , h.prototype.renderColumns = function(e, n, l, u) { var c, h, p, f, m = [], S = l.area; if (null == u || 0 == u.length || null == this.series.chart) return; for (var d = S, y = d.xAxis.core.getStartFromZero(), g = d.axisCore.getDividerY(), b = d.axisCore.getDividerRightY(), v = 0, C = d.axisCore.valuesCount * u.length, w = [], x = 0; x < u.length; x++) w.add([]); var _ = 0; try { for (var A = __values(u), L = A.next(); !L.done; L = A.next()) { var O = L.value; _ += d.xAxis.info.step / u.length * O.width } } catch (e) { c = { error: e } } finally { try { L && !L.done && (h = A.return) && h.call(A) } finally { if (c) throw c.error } } for (var P = 0; P < d.axisCore.valuesCount; P++) { var B = y ? d.xAxis.info.stripPositions[P + 1] : d.xAxis.info.stripPositions[P]; B -= d.xAxis.info.step / 2; var R = B + (d.xAxis.info.step - _) / 2 , k = 0; d.reverseHor && (k = u.length - 1); while (k < u.length && !d.reverseHor || k >= 0 && d.reverseHor) { var j = u[k] , T = d.xAxis.info.step / u.length * j.width; if (P < j.values.length) { var F = d.reverseHor ? j.values[j.values.length - P - 1] : j.values[P]; d.reverseVert && null != F && (F = -F); var D = 0 , I = 0; j.yAxis == t.StiSeriesYAxis.LeftYAxis ? (D = F * d.yAxis.info.dpi, I = -D + g) : (D = F * d.yRightAxis.info.dpi, I = -D + b), F < 0 && (I = j.yAxis == t.StiSeriesYAxis.LeftYAxis ? g : b, D = -D); var N = new o(R,I,T,D) , M = j.stimulsoft.as(t.StiSeries); null == M.trendLine || M.trendLine.stimulsoft.is(t.IStiTrendLineNone) || w[k].add(new a(R + T / 2,I)); var E = l.view.clientRectangle.clone(); E.x = 0, E.y = 0; var V = N.clone(); if (V.x += l.clientRectangle.x, V.y += l.clientRectangle.y, V.right > E.x && V.x < E.right || this.series.chart.area.xAxis.range.auto) { var X = j.core.getSeriesBrush(v, C); j.allowApplyBrushNegative && F < 0 && (X = j.brushNegative), X = j.processSeriesBrushes(P, X); var G = j.core.getSeriesBorderColor(v, C) , z = t.StiChartHelper.globalBeginTimeElement; if (null != this.series.chart && null != this.series.chart.style && N.height > 0) { var J = new i(z.ticks / d.core.valuesCount * P) , H = new s(0,r.empty,t.StiChartHelper.globalDurationElement,J) , Y = new t.StiClusteredColumnSeriesElementGeom(l,F,P,X,G,j,N,H); if (null != j.core.interaction) { var W = new t.StiSeriesInteractionData; W.fill(d, j, P), Y.interaction = W } l.createChildGeoms(), l.childGeoms.add(Y) } var Z = j.core.getSeriesLabels(); if (null != Z && Z.visible) { var U = void 0; U = j.yAxis == t.StiSeriesYAxis.LeftYAxis ? new a(R + T / 2,-F * d.yAxis.info.dpi + g) : new a(R + T / 2,-F * d.yRightAxis.info.dpi + b); var q = 0; if (null != F && (q = d.reverseVert ? -F : F), 0 == Z.step || P % Z.step == 0) { var K = d.xAxis.startFromZero ? P + 1 : P , Q = Z.core.renderLabel(j, e, this.correctPoint(U, n), this.correctPoint(new a(U.x,g), n), P, F, q, d.axisCore.getArgumentLabel(d.xAxis.info.stripLines.getByIndex(K), j), j.core.getTag(P), v, C, n); null != Q && (m.add(Q), Q.clientRectangle = this.checkLabelsRect(Z, l, Q.clientRectangle)) } } } } R += T, v++, d.reverseHor ? k-- : k++ } } for (var $ = 0; $ < u.length; $++) { var ee = u[$].trendLine; if (ee.stimulsoft.is(t.IStiTrendLineNone)) continue; var te = w[$]; null != ee && ee.core.renderTrendLine(l, te.toArray(), d.axisCore.getDividerY()) } try { for (var re = __values(m), ie = re.next(); !ie.done; ie = re.next()) { var Q = ie.value; l.createChildGeoms(), l.childGeoms.add(Q) } } catch (e) { p = { error: e } } finally { try { ie && !ie.done && (f = re.return) && f.call(re) } finally { if (p) throw p.error } } l.area.chart.seriesLabels.preventIntersection && this.checkIntersectionLabels(l) } , h.prototype.renderLinePareto = function(e, r, i, n) { var o = i.area , s = o , l = s.xAxis.core.getStartFromZero(); r.width += .001; for (var u = [], c = 0; c < n.length; c++) { for (var h = n[c], p = this.getParetoValues(h.values), f = h.values.length, m = Array.create(a, f, !0), S = 0; S < f; S++) { var d = l ? S + 1 : S; if (d >= s.xAxis.info.stripPositions.length) break; var y = s.xAxis.info.stripPositions[d] , g = s.reverseHor ? p[p.length - S - 1] : p[S]; m[S] = this.getPointValue(g, h, s, y) } m.length > 0 && (m = t.StiPointHelper.optimizePoints(m), this.renderLines(i, m, h)), u.add(m) } } , h.prototype.renderLines = function(e, r, i) { if (null != r && r.length > 1) { var n = new t.StiLineSeriesGeom(e,r,i); e.createChildGeoms(), e.childGeoms.add(n) } } , h.prototype.getPointValue = function(e, t, r, i) { r.reverseVert && null != e && (e = -e); var n = -e * r.yRightAxis.info.dpi + r.axisCore.getDividerRightY(); return new a(i,n) } , h.prototype.correctPoint = function(e, t) { if (e.y < 0) return new a(e.x,0); if (e.y > t.height) return new a(e.x,t.height); return e } , h.prototype.getSeriesBrush = function(t, r) { var i = e.prototype.getSeriesBrush.call(this, t, r); if (null == i) return this.series.brush; return i } , h.prototype.getSeriesBorderColor = function(t, r) { var i = e.prototype.getSeriesBorderColor.call(this, t, r); if (null == i) return this.series.borderColor; return i } , Object.defineProperty(h.prototype, "localizedName", { get: function() { return n.get("Chart", "ClusteredColumn") }, enumerable: !0, configurable: !0 }), h }(t.StiClusteredColumnSeriesCoreXF); t.StiParetoSeriesCoreXF = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.renderLines = function(e, r, i) { if (null == i || i.length <= 1) return; var n = new t.StiSplineSeriesGeom(r,i,this.series); null != n && (r.createChildGeoms(), r.childGeoms.add(n)), null != this.interaction && (n.interactions = this.getInteractions(e, r, i)), this.renderMarkers(e, r, i) } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "Spline") }, enumerable: !0, configurable: !0 }), i }(t.StiBaseLineSeriesCoreXF); t.StiSplineSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getAreaBrush(r)) } , i.prototype.renderAreas = function(e, r, i) { if (null == i || i.length <= 1) return; var n = new t.StiSplineAreaSeriesGeom(r,i,this.series); null != n && (r.createChildGeoms(), r.childGeoms.add(n)) } , i.prototype.getSeriesBrush = function(t, r) { var i = this.series , n = e.prototype.getSeriesBrush.call(this, t, r); if (null == n) return i.brush; return n } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "SplineArea") }, enumerable: !0, configurable: !0 }), i }(t.StiSplineSeriesCoreXF); t.StiSplineAreaSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.renderLines = function(e, r, i) { var n = this.series; if (i.length > 1 || n.pointAtCenter && i.length > 0) { var o = new t.StiSteppedLineSeriesGeom(r,i,this.series); null != o && (r.createChildGeoms(), r.childGeoms.add(o)), null != this.interaction && (o.interactions = this.getInteractions(e, r, i)) } this.renderMarkers(e, r, i) } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "SteppedLine") }, enumerable: !0, configurable: !0 }), i }(t.StiBaseLineSeriesCoreXF); t.StiSteppedLineSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getAreaBrush(r)) } , i.prototype.renderAreas = function(e, r, i) { var n = this.series; if (null == i || 0 == i.length || 1 == i.length && !n.pointAtCenter) return; var o = new t.StiSteppedAreaSeriesGeom(r,i,this.series); null != o && (r.createChildGeoms(), r.childGeoms.add(o)) } , i.prototype.getSeriesBrush = function(t, r) { var i = this.series , n = e.prototype.getSeriesBrush.call(this, t, r); if (null == n) return i.brush; return n } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "SteppedArea") }, enumerable: !0, configurable: !0 }), i }(t.StiSteppedLineSeriesCoreXF); t.StiSteppedAreaSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiArcSegmentGeom , i = e.Base.Context.StiPieSegmentGeom , n = e.Base.Drawing.StiGlareBrush , o = e.Base.Drawing.StiGradientBrush , a = e.Base.Context.StiLineSegmentGeom , s = e.System.Drawing.Rectangle , l = e.System.TimeSpan , u = e.Base.Drawing.StiSolidBrush , c = e.Base.Localization.StiLocalization , h = e.System.Drawing.Color , p = e.System.Drawing.Point , f = e.System.Drawing.Rectangle , m = e.Base.Context.Animation.StiOpacityAnimation , S = function(S) { function d(e) { return S.call(this, e) || this } return __extends(d, S), d.prototype.applyStyle = function(e, t) { S.prototype.applyStyle.call(this, e, t); var r = this.series; r.allowApplyStyle && (r.lighting = e.core.seriesLighting, r.allowApplyBrush && (r.brush = e.core.getColumnBrush(t)), r.allowApplyBorderColor && (r.borderColor = e.core.getColumnBorder(t))) } , d.prototype.correctBrush = function(e) { return e.stimulsoft.is(o) && (e = e.clone(), e.angle = -45), e.stimulsoft.is(n) && (e = e.clone(), e.angle = -45), e } , d.prototype.renderPieElement = function(e, r, i, n, o, a, s, l, u, c, h, p, m) { var S, d, y = f.empty; o = this.correctBrush(o); var g = { ref: S } , b = { ref: d } , v = { ref: y } , C = this.measurePieElementCore(e, r, i, a, s, c, h, g, b, v); if (S = g.ref, d = b.ref, y = v.ref, C.isEmpty) return null; return new t.StiPieSeriesElementGeom(p,l,u,c,y,S,d,n,o,a,a + s,i,null) } , d.prototype.renderPieElementShadow = function(e, t, r, i, n, a, s, l) { if (this.series.chart.isAnimation) return; var u, c, p = f.empty; i = this.correctBrush(i); var m = { ref: u } , S = { ref: c } , d = { ref: p } , y = this.measurePieElementCore(e, t, r, n, a, s, l, m, S, d); if (u = m.ref, c = S.ref, p = d.ref, y.isEmpty) return; if (e.pushSmoothingModeToAntiAlias(), e.fillPath(i, u, p, null), null != c) { var g = new o(h.fromArgb(100, h.white),h.fromArgb(50, h.black),45); e.fillPath(g, c, p, null) } e.popSmoothingMode() } , d.prototype.measurePieElement = function(e, t, r, i, n, o, a) { var s, l, u = f.empty, c = { ref: s }, h = { ref: l }, p = { ref: u }, m = this.measurePieElementCore(e, t, r, i, n, o, a, c, h, p); return s = c.ref, l = h.ref, u = p.ref, m } , d.prototype.measurePieElementCore = function(e, t, n, o, s, l, u, c, p, m) { var S = [] , d = null , y = f.empty; if (0 == s || isNaN(s)) return f.empty; if (u > 0 && (t = this.getPoint(t, u * e.options.zoom, o + s / 2)), y = new f(t.x - n,t.y - n,2 * n,2 * n), y.width <= 0 && y.height <= 0) return f.empty; if (S.add(new i(new f(y.x,y.y,y.width,y.height),o,s,null)), l.lighting && !h.transparent.stimulsoft.equals(l.borderColor)) { var g = 0; d = [], g = .02 * n, d.add(new r(y,o,s)), d.add(new a(this.getPoint(t, n - g, o + s),this.getPoint(t, n - g, o + s))), d.add(new r(new f(y.x + g,y.y + g,y.width - 2 * g,y.height - 2 * g),o + s,-s)), d.add(new a(this.getPoint(t, n - g, o),this.getPoint(t, n - g, o))) } return c.ref = S, p.ref = d, m.ref = y, e.getPathBounds(S) } , d.prototype.isNotNullValues = function(e) { var t, r, i, n; try { for (var o = __values(e), a = o.next(); !a.done; a = o.next()) { var s = a.value; try { for (var l = (i = void 0, __values(s.values)), u = l.next(); !u.done; u = l.next()) { if (null != u.value) return !0 } } catch (e) { i = { error: e } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } return !1 } , d.prototype.renderSeries = function(e, r, i, n) { var o, a, c, p, S, d, y, g, b, v, C, w, x, _, A, L, O, P, B, R, k, j, T, F, D, I, N, M, E, V, X = this.getRadius(e, r), G = this.getPointCenter(r); if (null == n || 0 == n.length || null == this.series.chart || null != n && !this.isNotNullValues(n)) return i.createChildGeoms(), void i.childGeoms.add(new t.StiPieEmptySeriesElementGeom(new s(G.x - X,G.y - X,2 * X,2 * X))); var z = t.StiChartHelper.globalDurationElement , J = t.StiChartHelper.globalBeginTimeElement , H = this.series.chart , Y = 0; try { for (var W = __values(n), Z = W.next(); !Z.done; Z = W.next()) { var U = Z.value; null != U.values && (Y += U.values.length) } } catch (e) { o = { error: e } } finally { try { Z && !Z.done && (a = W.return) && a.call(W) } finally { if (o) throw o.error } } if (0 == Y) return; var q = 0 , K = -1 , Q = 0; try { for (var $ = __values(n), ee = $.next(); !ee.done; ee = $.next()) { var U = ee.value; try { for (var te = (S = void 0, __values(U.values)), re = te.next(); !re.done; re = te.next()) { var ie = re.value; 0 == ie || null == ie || isNaN(ie) || 1 == ++q && (K = Q), Q++ } } catch (e) { S = { error: e } } finally { try { re && !re.done && (d = te.return) && d.call(te) } finally { if (S) throw S.error } } } } catch (e) { c = { error: e } } finally { try { ee && !ee.done && (p = $.return) && p.call($) } finally { if (c) throw c.error } } var ne = this.getGradPerValue(n) , oe = this.getPercentPerValue(n) , ae = n[0] , se = ae.startAngle , le = new f(0,0,r.width,r.height); try { for (var ue = __values(n), ce = ue.next(); !ce.done; ce = ue.next()) { var U = ce.value; if (q > 1) { var he = U , pe = 0; try { for (var fe = (b = void 0, __values(U.values)), me = fe.next(); !me.done; me = fe.next()) { var ie = me.value , Se = ne * Math.abs(ie) , de = this.measurePieElement(e, G, X, se, Se, he, this.getPieDistance(pe)); 0 != ie && (le = f.union(le, de)), se += Se, pe++ } } catch (e) { b = { error: e } } finally { try { me && !me.done && (v = fe.return) && v.call(fe) } finally { if (b) throw b.error } } } } } catch (e) { y = { error: e } } finally { try { ce && !ce.done && (g = ue.return) && g.call(ue) } finally { if (y) throw y.error } } var ye = Math.max(-le.left, le.right - r.width) , ge = Math.max(-le.top, le.bottom - r.height); X -= 1.2 * Math.max(ye, ge); var be = Array.create(f, Y) , ve = Array.create(Number, Y) , Ce = Array.create(Number, 4); Array.clear(Ce, 0, Ce.length), se = ae.startAngle, le = new f(10 * e.options.zoom,10 * e.options.zoom,r.width - 20 * e.options.zoom,r.height - 20 * e.options.zoom); var we = le.clone() , xe = 0; try { for (var _e = __values(n), Ae = _e.next(); !Ae.done; Ae = _e.next()) { var U = Ae.value , Le = U , pe = 0; try { for (var Oe = (x = void 0, __values(U.values)), Pe = Oe.next(); !Pe.done; Pe = Oe.next()) { var ie = Pe.value , Se = ne * Math.abs(ie); if (null != this.series.chart && null != this.series.chart.seriesLabels && this.series.chart.seriesLabels.visible) { var Be = this.series.chart.seriesLabels.stimulsoft.as(t.IStiPieSeriesLabels); if (null != Be && Be.visible) { var Re = X; this.getPieDistance(pe) > 0 && (Re += Le.distance * e.options.zoom); var ke = se + Se / 2 , de = void 0 , je = { ref: de }; Be.core.renderLabel(Le, e, G, Re, 0, ke, pe, Math.abs(ie), ie, this.getArgumentText(U, pe), Le.core.getTag(pe), !0, pe, Y, oe, je, !1, 0), de = je.ref, de.isEmpty || (le = f.union(le, de)), (0 != ie || Be.showZeros) && (be[xe] = de, ve[xe] = de.y, ke >= 0 && ke <= 90 && Ce[0]++, ke > 90 && ke <= 180 && Ce[1]++, ke > 180 && ke <= 270 && Ce[2]++, ke > 270 && ke <= 360 && Ce[3]++) } } se += Se, pe++, (0 != ie || this.series.chart.seriesLabels.showZeros) && xe++ } } catch (e) { x = { error: e } } finally { try { Pe && !Pe.done && (_ = Oe.return) && _.call(Oe) } finally { if (x) throw x.error } } } } catch (e) { C = { error: e } } finally { try { Ae && !Ae.done && (w = _e.return) && w.call(_e) } finally { if (C) throw C.error } } if (0 == ae.diameter) { var Te = 0; Te = Math.min(Te, le.left - we.left), Te = Math.min(Te, we.right - le.right), Te = Math.min(Te, le.top - we.top), Te = Math.min(Te, we.bottom - le.bottom), X += Te } xe = 0; try { for (var Fe = __values(n), De = Fe.next(); !De.done; De = Fe.next()) { var U = De.value , Le = U , pe = 0; try { for (var Ie = (O = void 0, __values(U.values)), Ne = Ie.next(); !Ne.done; Ne = Ie.next()) { var ie = Ne.value , Se = ne * ie; if (null != this.series.chart && null != this.series.chart.seriesLabels && this.series.chart.seriesLabels.visible) { var Be = this.series.chart.seriesLabels.stimulsoft.as(t.IStiPieSeriesLabels); if (null != Be && Be.visible) { var Re = X; this.getPieDistance(pe) > 0 && (Re += Le.distance * e.options.zoom); var ke = se + Se / 2 , de = void 0 , je = { ref: de }; Be.core.renderLabel(this.series, e, G, Re, 0, ke, pe, ie, ie, this.getArgumentText(U, pe), Le.core.getTag(pe), !0, pe, Y, oe, je, !1, 0), de = je.ref, (0 != ie || Be.showZeros) && (be[xe] = de, ve[xe] = de.y) } } se += Se, pe++, (0 != ie || this.series.chart.seriesLabels.showZeros) && xe++ } } catch (e) { O = { error: e } } finally { try { Ne && !Ne.done && (P = Ie.return) && P.call(Ie) } finally { if (O) throw O.error } } } } catch (e) { A = { error: e } } finally { try { De && !De.done && (L = Fe.return) && L.call(Fe) } finally { if (A) throw A.error } } if (null != this.series.chart && null != this.series.chart.seriesLabels) { var Me = this.series.chart.seriesLabels; if (null != Me && Me.preventIntersection) { var Ee = 0; if (Ce[0] > 0) { Ee = le.height / 2 / Ce[0], be[0].y = le.y + le.height / 2 + Ee / 2 - be[0].height / 2; for (var Ve = 1; Ve < Ce[0]; Ve++) be[Ve].y = be[Ve - 1].y + Ee } var Xe = Ce[0]; if (Ce[1] > 0) { Ee = le.height / 2 / Ce[1], be[Xe].y = le.y + le.height - Ee / 2 - be[Xe].height / 2; for (var Ve = Xe + 1; Ve < Xe + Ce[1]; Ve++) be[Ve].y = be[Ve - 1].y - Ee } if (Xe += Ce[1], Ce[2] > 0) { Ee = le.height / 2 / Ce[2], be[Xe].y = le.y + le.height / 2 - Ee / 2 - be[Xe].height / 2; for (var Ve = Xe + 1; Ve < Xe + Ce[2]; Ve++) be[Ve].y = be[Ve - 1].y - Ee } if (Xe += Ce[2], Ce[3] > 0) { Ee = le.height / 2 / Ce[3], be[Xe].y = le.y + Ee / 2 - be[Xe].height / 2; for (var Ve = Xe + 1; Ve < Xe + Ce[3]; Ve++) be[Ve].y = be[Ve - 1].y + Ee } for (var Ve = 0; Ve < xe; Ve++) ve[Ve] = be[Ve].y - ve[Ve] } } if (X <= 5) return; if (ae.showShadow) { se = ae.startAngle; try { for (var Ge = __values(n), ze = Ge.next(); !ze.done; ze = Ge.next()) { var U = ze.value; if (1 == q) { var Je = new f(G.x - X,G.y - X,2 * X,2 * X) , He = new f(0,0,2 * X,2 * X) , Ye = e.createShadowGraphics(); null != Ye && Ye.fillEllipse2(h.fromArgb(100, h.black), He, null); var We = new t.StiPieSeriesShadowElementGeom(ae,Je,.01 * X + 2 * e.options.zoom,Ye,z,J); i.createChildGeoms(), i.childGeoms.add(We); break } var he = U , pe = 0; try { for (var Ze = (k = void 0, __values(U.values)), Ue = Ze.next(); !Ue.done; Ue = Ze.next()) { var ie = Ue.value , Se = ne * Math.abs(ie) , qe = G , Ke = new u(h.fromArgb(100, h.black)) , Ye = e.createShadowGraphics() , He = r.clone(); He.x = 0, He.y = 0, H.isAnimation && (He.x = G.x - X, He.y = G.y - X, He.height = 2 * X, He.width = 2 * X), this.renderPieElementShadow(Ye, qe, X, Ke, se, Se, he, this.getPieDistance(pe)); var We = new t.StiPieSeriesShadowElementGeom(ae,He,.01 * X + 2 * e.options.zoom,Ye,z,J); i.createChildGeoms(), i.childGeoms.add(We), se += Se, pe++ } } catch (e) { k = { error: e } } finally { try { Ue && !Ue.done && (j = Ze.return) && j.call(Ze) } finally { if (k) throw k.error } } } } catch (e) { B = { error: e } } finally { try { ze && !ze.done && (R = Ge.return) && R.call(Ge) } finally { if (B) throw B.error } } } se = ae.startAngle; var Qe = 0; try { for (var $e = __values(n), et = $e.next(); !et.done; et = $e.next()) { var U = et.value; if (0 == q) break; if (1 == q) { var tt = U.brush; U.allowApplyBrush && (tt = U.core.getSeriesBrush(K, Y), tt = U.processSeriesBrushes(K, tt)); var rt = new f(G.x - X,G.y - X,2 * X,2 * X) , it = U.borderColor; U.allowApplyBorderColor && (it = U.core.getSeriesBorderColor(K, Y)); var nt = new t.StiPieSeriesFullElementGeom(i,Q,K,this.series,rt,tt,it); i.createChildGeoms(), i.childGeoms.add(nt); break } var pe = 0; try { for (var ot = (D = void 0, __values(U.values)), at = ot.next(); !at.done; at = ot.next()) { var ie = at.value; if (0 != ie) { var Se = ne * Math.abs(ie) , tt = U.brush; U.allowApplyBrush && (tt = U.core.getSeriesBrush(Qe, Y), tt = U.processSeriesBrushes(Qe, tt)); var it = U.borderColor; U.allowApplyBorderColor && (it = U.core.getSeriesBorderColor(Qe, Y)); var st = this.renderPieElement(e, G, X, it, tt, se, Se, Math.abs(ie), pe, U, this.getPieDistance(pe), i, new l(J.ticks / U.values.length * pe)); if (null != st) { var lt = new l(J.ticks / U.values.length * (pe + 2)); if (st.animation = new m(z,lt), null != U.core.interaction) { var ut = new t.StiSeriesInteractionData; ut.fill(i.area, U, pe), st.interaction = ut } i.createChildGeoms(), i.childGeoms.add(st) } se += Se } Qe++, pe++ } } catch (e) { D = { error: e } } finally { try { at && !at.done && (I = ot.return) && I.call(ot) } finally { if (D) throw D.error } } } } catch (e) { T = { error: e } } finally { try { et && !et.done && (F = $e.return) && F.call($e) } finally { if (T) throw T.error } } se = ae.startAngle, Qe = 0, xe = 0; try { for (var ct = __values(n), ht = ct.next(); !ht.done; ht = ct.next()) { var U = ht.value , he = U , pe = 0; try { for (var pt = (E = void 0, __values(U.values)), ft = pt.next(); !ft.done; ft = pt.next()) { var ie = ft.value , Se = ne * Math.abs(ie) , mt = null; if (he.showSeriesLabels == t.StiShowSeriesLabels.FromChart && (mt = this.series.chart.seriesLabels), he.showSeriesLabels == t.StiShowSeriesLabels.FromSeries && (mt = ae.seriesLabels), null != this.series.chart && null != mt && mt.visible) { var Be = mt.stimulsoft.as(t.IStiPieSeriesLabels) , Me = mt.stimulsoft.as(t.IStiTwoColumnsPieLabels); if (null != Be) { var Re = X; this.getPieDistance(pe) > 0 && (Re += he.distance * e.options.zoom); var ke = se + Se / 2 , St = 0; if (null != Me && Me.preventIntersection && (St += ve[xe]), 0 == Be.step || pe % Be.step == 0) { var de = void 0 , je = { ref: de } , dt = Be.core.renderLabel(he, e, G, Re, 0, ke, pe, Math.abs(ie), ie, this.getArgumentText(U, pe), he.core.getTag(pe), !1, Qe, Y, oe, je, !1, St); if (de = je.ref, null != dt && (i.createChildGeoms(), i.childGeoms.add(dt)), Be.stimulsoft.is(t.IStiOutsidePieLabels) && Be.showValue) { var yt = { ref: de }; dt = Be.core.renderLabel(he, e, G, Re, 0, ke, pe, Math.abs(ie), ie, this.getArgumentText(U, pe), he.core.getTag(pe), !1, Qe, Y, oe, yt, !0, 0), de = yt.ref, null != dt && (i.createChildGeoms(), i.childGeoms.add(dt)) } } } } Qe++, se += Se, pe++, (0 != ie || this.series.chart.seriesLabels.stimulsoft.is(t.StiPieSeriesLabels) && this.series.chart.seriesLabels.showZeros) && xe++ } } catch (e) { E = { error: e } } finally { try { ft && !ft.done && (V = pt.return) && V.call(pt) } finally { if (E) throw E.error } } } } catch (e) { N = { error: e } } finally { try { ht && !ht.done && (M = ct.return) && M.call(ct) } finally { if (N) throw N.error } } i.area.chart.seriesLabels.preventIntersection && i.area.chart.seriesLabels.stimulsoft.is(t.IStiTwoColumnsPieLabels) && this.checkIntersectionTwoColumnsLabels(i, we) } , d.prototype.checkIntersectionTwoColumnsLabels = function(e, r) { var i, n, o = e.childGeoms, a = this.getPointCenter(r), s = [], l = []; try { for (var u = __values(o), c = u.next(); !c.done; c = u.next()) { var h = c.value; h.stimulsoft.is(t.StiSeriesLabelsGeom) && (h.clientRectangle.x < a.x ? s.add(h) : l.add(h)) } } catch (e) { i = { error: e } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (i) throw i.error } } this.checkLabelPosition(s, r), this.checkLabelPosition(l, r) } , d.prototype.checkLabelPosition = function(e, t) { var r, i, n, o, a = t.height; e = e.stimulsoft.toList().orderBy(function(e) { return e.clientRectangle.y }); try { for (var s = __values(e), l = s.next(); !l.done; l = s.next()) { var u = l.value; a -= u.clientRectangle.height } } catch (e) { r = { error: e } } finally { try { l && !l.done && (i = s.return) && i.call(s) } finally { if (r) throw r.error } } var c = a / (e.length + 1) , h = t.y; try { for (var m = __values(e), S = m.next(); !S.done; S = m.next()) { var u = S.value; u.clientRectangle = new f(u.clientRectangle.x,h + c,u.clientRectangle.width,u.clientRectangle.height), u.endPoint = new p(u.endPoint.x,u.clientRectangle.y + u.clientRectangle.height / 2), h = u.clientRectangle.y + u.clientRectangle.height } } catch (e) { n = { error: e } } finally { try { S && !S.done && (o = m.return) && o.call(m) } finally { if (n) throw n.error } } } , d.prototype.getGradPerValue = function(e) { var t, r, i, n, o = 0, a = 0; try { for (var s = __values(e), l = s.next(); !l.done; l = s.next()) { var u = l.value; try { for (var c = (i = void 0, __values(u.values)), h = c.next(); !h.done; h = c.next()) { var p = h.value; o += Math.abs(p), a++ } } catch (e) { i = { error: e } } finally { try { h && !h.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { l && !l.done && (r = s.return) && r.call(s) } finally { if (t) throw t.error } } return 0 == a && (a = 1), o > 0 ? 360 / o : 360 / a } , d.prototype.getPercentPerValue = function(e) { var t, r, i, n, o = 0; try { for (var a = __values(e), s = a.next(); !s.done; s = a.next()) { var l = s.value; try { for (var u = (i = void 0, __values(l.values)), c = u.next(); !c.done; c = u.next()) { var h = c.value; o += Math.abs(h) } } catch (e) { i = { error: e } } finally { try { c && !c.done && (n = u.return) && n.call(u) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return 1 / o * 100 } , d.prototype.getPointCenter = function(e) { return new p(e.width / 2,e.height / 2) } , d.prototype.getRadius = function(e, t) { var r = this.series; if (r.diameter > 0) return r.diameter / 2 * e.options.zoom; return .95 * Math.min(t.width / 2, t.height / 2) } , d.prototype.getPoint = function(e, t, r) { var i = Math.PI * r / 180; return new p(e.x + Math.cos(i) * t,e.y + Math.sin(i) * t) } , d.prototype.getArgumentText = function(t, r) { var i = t.arguments.getKeys(); if (t.arguments.length > r && null != t.arguments.getByIndex(r, i)) return t.arguments.getByIndex(r, i).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); return "" } , d.prototype.getPieDistance = function(e) { return this.getPieDistance2(this.series, e) } , d.prototype.getPieDistance2 = function(e, t) { var r, i; if (0 == e.distance) return 0; if (0 == e.cutPieListValues.length) return e.distance; try { for (var n = __values(e.cutPieListValues), o = n.next(); !o.done; o = n.next()) { if (o.value == t + 1) return e.distance } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } return 0 } , d.prototype.getSeriesBrush = function(e, t) { var r = S.prototype.getSeriesBrush.call(this, e, t); if (null == r) return this.series.brush; return r } , d.prototype.getSeriesBorderColor = function(e, t) { var r = S.prototype.getSeriesBorderColor.call(this, e, t); if (null == r) return this.series.borderColor; return r } , Object.defineProperty(d.prototype, "localizedName", { get: function() { return c.get("Chart", "Pie") }, enumerable: !0, configurable: !0 }), d }(t.StiSeriesCoreXF); t.StiPieSeriesCoreXF = S }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiArcSegmentGeom , i = e.Base.Drawing.StiGradientBrush , n = e.Base.Drawing.StiGlareBrush , o = e.Base.Context.StiLineSegmentGeom , a = e.System.Drawing.Rectangle , s = e.System.TimeSpan , l = e.Base.Drawing.StiSolidBrush , u = e.Base.Localization.StiLocalization , c = e.System.Drawing.Rectangle , h = e.System.Drawing.Point , p = e.System.Drawing.Color , f = e.Base.Context.Animation.StiOpacityAnimation , m = function(m) { function S(e) { return m.call(this, e) || this } return __extends(S, m), S.prototype.renderDoughnutElement = function(e, a, l, u, h, m, S, d, y, g, b, v, C, w) { if (0 == d || isNaN(d)) return null; var x = new c(a.x - l,a.y - l,2 * l,2 * l) , _ = new c(a.x - u,a.y - u,2 * u,2 * u); if (x.width <= 0 && x.height <= 0) return null; v || (m.stimulsoft.is(i) && (m = m.clone(), m.angle = -45), m.stimulsoft.is(n) && (m = m.clone(), m.angle = -45)); var A = [] , L = null , O = null , P = null , B = null , R = 0; b.lighting && !v && (P = [], B = [], R = .02 * l, L = new i(p.fromArgb(100, p.white),p.fromArgb(50, p.black),45), O = new i(p.fromArgb(50, p.black),p.fromArgb(100, p.white),45)); var k = this.series.chart; if (A.add(new r(x,S,d)), d - S != 360 && A.add(new o(this.getPoint(a, l, S + d),this.getPoint(a, u, S + d))), A.add(new r(_,S + d,-d)), d - S != 360 && A.add(new o(this.getPoint(a, u, S),this.getPoint(a, l, S))), v) if (k.isAnimation) { var j = new f(s.fromSeconds(1),w); e.fillDrawAnimationPath(m, null, A, x, null, j, null) } else e.fillPath(m, A, x, null); if (null == L || v || (P.add(new o(this.getPoint(a, l - R, S),this.getPoint(a, l, S))), P.add(new r(x,S,d)), P.add(new o(this.getPoint(a, l, S + d),this.getPoint(a, l - R, S + d))), P.add(new r(new c(x.x + R,x.y + R,x.width - 2 * R,x.height - 2 * R),S + d,-d)), B.add(new o(this.getPoint(a, u + R, S),this.getPoint(a, u, S))), B.add(new r(_,S,d)), B.add(new o(this.getPoint(a, u, S + d),this.getPoint(a, u + R, S + d))), B.add(new r(new c(_.x - R,_.y - R,_.width + 2 * R,_.height + 2 * R),S + d,-d))), !v) { return new t.StiDoughnutSeriesElementGeom(C,y,g,b,x,A,P,B,h,m,L,O,S,S + d,l,u,w) } return null } , S.prototype.isNotNullValues = function(e) { var t, r, i, n; try { for (var o = __values(e), a = o.next(); !a.done; a = o.next()) { var s = a.value; try { for (var l = (i = void 0, __values(s.values)), u = l.next(); !u.done; u = l.next()) { if (null != u.value) return !0 } } catch (e) { i = { error: e } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } return !1 } , S.prototype.renderSeries = function(e, r, i, n) { var o, u, f, m, S, d, y, g, b, v, C, w, x, _, A, L, O, P, B, R, k = this.getRadius(e, r), j = this.getPointCenter(r); if (null == n || 0 == n.length || null == this.series.chart || null != n && !this.isNotNullValues(n)) return i.createChildGeoms(), void i.childGeoms.add(new t.StiDoughnutEmptySeriesElementGeom(new a(j.x - k,j.y - k,2 * k,2 * k))); var T = t.StiChartHelper.globalDurationElement , F = t.StiChartHelper.globalBeginTimeElement , D = 0; try { for (var I = __values(n), N = I.next(); !N.done; N = I.next()) { var M = N.value; null != M.values && (D += M.values.length) } } catch (e) { o = { error: e } } finally { try { N && !N.done && (u = I.return) && u.call(I) } finally { if (o) throw o.error } } if (0 == D) return; var E = n[0] , V = 0 , X = k / (n.length + 1) , G = new c(10 * e.options.zoom,10 * e.options.zoom,r.width - 20 * e.options.zoom,r.height - 20 * e.options.zoom) , z = G.clone() , J = 0 , H = k; try { for (var Y = __values(n), W = Y.next(); !W.done; W = Y.next()) { var M = W.value , Z = 0; J = M.startAngle; var U = this.getGradPerValue([M]); try { for (var q = (S = void 0, __values(M.values)), K = q.next(); !K.done; K = q.next()) { var Q = K.value , $ = this.getPercentPerValue([M]) , ee = U * Math.abs(Q) , te = null; if (M.showSeriesLabels == t.StiShowSeriesLabels.FromChart && (te = this.series.chart.seriesLabels), M.showSeriesLabels == t.StiShowSeriesLabels.FromSeries && (te = E.seriesLabels), null != this.series.chart && null != te && te.visible) { var re = te.stimulsoft.as(t.IStiPieSeriesLabels); if (null != re && re.visible) { var ie = H - X , ne = void 0 , oe = { ref: ne }; re.core.renderLabel(M, e, j, H, ie, J + ee / 2, Z, Math.abs(Q), Q, this.getArgumentText(M, Z), E.core.getTag(Z), !0, V, D, $, oe, !1, 0), ne = oe.ref, ne.isEmpty || (G = c.union(G, ne)) } } V++, J += ee, Z++ } } catch (e) { S = { error: e } } finally { try { K && !K.done && (d = q.return) && d.call(q) } finally { if (S) throw S.error } } H -= 1.2 * X } } catch (e) { f = { error: e } } finally { try { W && !W.done && (m = Y.return) && m.call(Y) } finally { if (f) throw f.error } } var ae = 0; ae = Math.min(ae, G.left - z.left), ae = Math.min(ae, z.right - G.right), ae = Math.min(ae, G.top - z.top), ae = Math.min(ae, z.bottom - G.bottom), k += ae; var se = this.series.chart; if (E.showShadow && !se.isAnimation) { var le = new c(j.x - k,j.y - k,2 * k,2 * k) , ue = e.createShadowGraphics() , ce = new l(p.fromArgb(100, p.black)); X = k / (n.length + 1), H = k; try { for (var he = __values(n), pe = he.next(); !pe.done; pe = he.next()) { var M = pe.value; J = M.startAngle; var U = this.getGradPerValue([M]) , Z = 0; try { for (var fe = (b = void 0, __values(M.values)), me = fe.next(); !me.done; me = fe.next()) { var Q = me.value , ee = U * Math.abs(Q); this.renderDoughnutElement(ue, new h(le.width / 2,le.height / 2), H, H - X, p.black, ce, J, ee, Math.abs(Q), Z, M, !0, i, new s(F.ticks)), J += ee, Z++ } } catch (e) { b = { error: e } } finally { try { me && !me.done && (v = fe.return) && v.call(fe) } finally { if (b) throw b.error } } H -= 1.2 * X } } catch (e) { y = { error: e } } finally { try { pe && !pe.done && (g = he.return) && g.call(he) } finally { if (y) throw y.error } } var Se = new t.StiPieSeriesShadowElementGeom(E,le,.01 * k + 2 * e.options.zoom,ue,T,F); i.createChildGeoms(), i.childGeoms.add(Se) } X = k / (n.length + 1), V = 0, H = k; try { for (var de = __values(n), ye = de.next(); !ye.done; ye = de.next()) { var M = ye.value; J = M.startAngle; var U = this.getGradPerValue([M]) , ge = 0 , be = -1 , ve = 0; try { for (var Ce = (x = void 0, __values(M.values)), we = Ce.next(); !we.done; we = Ce.next()) { var Q = we.value; 0 == Q || null == Q || isNaN(Q) || 1 == ++ge && (be = ve), ve++ } } catch (e) { x = { error: e } } finally { try { we && !we.done && (_ = Ce.return) && _.call(Ce) } finally { if (x) throw x.error } } if (0 == ge) ; else { if (1 == ge) { V = -1 != be ? be : 0; var xe = M.brush; M.allowApplyStyle && (xe = M.core.getSeriesBrush(V, D), xe = M.processSeriesBrushes(V, xe)); var _e = E.core.getSeriesBorderColor(V, D); if (be >= M.values.length) continue; var Ae = this.renderDoughnutElement(e, j, H, H - X, _e, xe, 0, 360, M.values[be], be, M, !1, i, new s(F.ticks)); null != Ae && (i.createChildGeoms(), i.childGeoms.add(Ae)), H -= 1.2 * X; continue } var Z = 0; try { for (var Le = (A = void 0, __values(M.values)), Oe = Le.next(); !Oe.done; Oe = Le.next()) { var Q = Oe.value , ee = U * Math.abs(Q); if (0 != Q) { var xe = M.brush; M.allowApplyStyle && (xe = M.core.getSeriesBrush(V, D), xe = M.processSeriesBrushes(V, xe)); var _e = M.borderColor; M.allowApplyBorderColor && (_e = M.core.getSeriesBorderColor(V, D)); var Ae = this.renderDoughnutElement(e, j, H, H - X, _e, xe, J, ee, Math.abs(Q), Z, M, !1, i, new s(F.ticks / M.values.length * V)); if (null != Ae) { if (null != M.core.interaction) { var Pe = new t.StiSeriesInteractionData; Pe.fill(i.area, M, Z), Ae.interaction = Pe } i.createChildGeoms(), i.childGeoms.add(Ae) } J += ee } V++, Z++ } } catch (e) { A = { error: e } } finally { try { Oe && !Oe.done && (L = Le.return) && L.call(Le) } finally { if (A) throw A.error } } } H -= 1.2 * X } } catch (e) { C = { error: e } } finally { try { ye && !ye.done && (w = de.return) && w.call(de) } finally { if (C) throw C.error } } V = 0, H = k; try { for (var Be = __values(n), Re = Be.next(); !Re.done; Re = Be.next()) { var M = Re.value , Z = 0; J = M.startAngle; var U = this.getGradPerValue([M]); try { for (var ke = (B = void 0, __values(M.values)), je = ke.next(); !je.done; je = ke.next()) { var Q = je.value , $ = this.getPercentPerValue([M]) , ee = U * Math.abs(Q) , te = null; if (M.showSeriesLabels == t.StiShowSeriesLabels.FromChart && (te = this.series.chart.seriesLabels), M.showSeriesLabels == t.StiShowSeriesLabels.FromSeries && (te = E.seriesLabels), null != this.series.chart && null != te && te.visible) { var re = te.stimulsoft.as(t.IStiPieSeriesLabels); if (null != re && re.visible && (0 == re.step || Z % re.step == 0)) { var ne = void 0 , ie = H - X , oe = { ref: ne } , Te = re.core.renderLabel(M, e, j, H, ie, J + ee / 2, Z, Math.abs(Q), Q, this.getArgumentText(M, Z), this.getTag(Z), !1, V, D, $, oe, !1, 0); ne = oe.ref, null != Te && (Te.duration = T, Te.beginTime = new s(F.ticks / M.values.length * V), i.createChildGeoms(), i.childGeoms.add(Te)) } } V++, J += ee, Z++ } } catch (e) { B = { error: e } } finally { try { je && !je.done && (R = ke.return) && R.call(ke) } finally { if (B) throw B.error } } H -= 1.2 * X } } catch (e) { O = { error: e } } finally { try { Re && !Re.done && (P = Be.return) && P.call(Be) } finally { if (O) throw O.error } } } , S.prototype.getGradPerValue = function(e) { var t, r, i = 0; try { for (var n = __values(e[0].values), o = n.next(); !o.done; o = n.next()) { var a = o.value; i += Math.abs(a) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return 360 / i } , S.prototype.getPercentPerValue = function(e) { var t, r, i = 0; try { for (var n = __values(e[0].values), o = n.next(); !o.done; o = n.next()) { var a = o.value; i += Math.abs(a) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return 1 / i * 100 } , S.prototype.getArgumentText = function(t, r) { if (t.arguments.length > r) return t.arguments[r].toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); return "" } , Object.defineProperty(S.prototype, "localizedName", { get: function() { return u.get("Chart", "Doughnut") }, enumerable: !0, configurable: !0 }), S }(t.StiPieSeriesCoreXF); t.StiDoughnutSeriesCoreXF = m }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.TimeSpan , i = e.Base.Drawing.StiSolidBrush , n = e.Base.Drawing.StiBrush , o = e.Base.Localization.StiLocalization , a = e.System.Drawing.Rectangle , s = e.System.Drawing.Color , l = function(e) { function l(t) { return e.call(this, t) || this } return __extends(l, e), l.prototype.applyStyle = function(t, r) { if (e.prototype.applyStyle.call(this, t, r), this.series.allowApplyStyle) { var i = t.core.getColumnBrush(r); this.series.brush = i; var o = t.core.getColumnBorder(r); s.transparent.stimulsoft.equals(o) && (o = n.toColor(i)), this.series.borderColor = o } } , l.prototype.renderSeries = function(e, n, o, s) { var l, u, c, h; if (null == s || 0 == s.length || null == this.series.chart) return; var p = o.area , f = p.axisCore.getDividerY() , m = t.StiChartHelper.globalBeginTimeElement; try { for (var S = __values(s), d = S.next(); !d.done; d = S.next()) for (var y = d.value, g = y.valuesOpen, b = y.valuesClose, v = y.valuesHigh, C = y.valuesLow, w = Math.min(Math.min(g.length, b.length), Math.min(v.length, C.length)), x = y.arguments.length, _ = Math.min(w, x), A = y.arguments.getKeys(), L = 0; L < _; L++) { var O = g[L] , P = b[L] , B = v[L] , R = C[L]; if (null == O || null == P || null == B || null == R) continue; var k = 0; try { for (var j = (c = void 0, __values(p.xAxis.info.stripLines.list)), T = j.next(); !T.done; T = j.next()) { var F = T.value; if (y.arguments.getByIndex(L, A).toString() == F.valueObject.toString()) break; k++ } } catch (e) { c = { error: e } } finally { try { T && !T.done && (h = j.return) && h.call(j) } finally { if (c) throw c.error } } var D = p.xAxis.info.dpi , I = new i , N = void 0; if (O > P ? (I = y.brush, N = y.borderColor, B < O && (B = O), P < R && (R = P)) : (I = y.brushNegative, N = y.borderColorNegative, R > O && (R = O), P > B && (B = P), O = b[L], P = g[L]), p.reverseVert && O > P) { var M = O; O = P, P = M, M = R, R = B, B = M } var E = p.yAxis.info.dpi , V = Math.abs(f - O * E) , X = Math.abs(f - P * E) , G = Math.abs(f - B * E) , z = Math.abs(f - R * E) , J = k * D , H = new a(J - D / 4,V,D / 2,X - V); I = y.processSeriesBrushes(L, I); var Y = new t.StiCandlestickSeriesElementGeom(o,y,H,V,X,G,z,J,k - 1,I,N,new r(m.ticks / w * L)); if (null != Y && null != y.core.interaction) { var W = new t.StiSeriesInteractionData; W.fill(o.area, y, L), Y.interaction = W } o.createChildGeoms(), o.childGeoms.add(Y) } } catch (e) { l = { error: e } } finally { try { d && !d.done && (u = S.return) && u.call(S) } finally { if (l) throw l.error } } } , Object.defineProperty(l.prototype, "localizedName", { get: function() { return o.get("Chart", "Candlestick") }, enumerable: !0, configurable: !0 }), l }(t.StiSeriesCoreXF); t.StiCandlestickSeriesCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.TimeSpan , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Rectangle , o = function(e) { function o(t) { return e.call(this, t) || this } return __extends(o, e), o.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r), this.series.allowApplyStyle && (this.series.lineColor = r) } , o.prototype.renderSeries = function(e, i, o, a) { var s, l, u, c; if (null == a || 0 == a.length || null == this.series.chart) return; var h = o.area , p = h.axisCore.getDividerY() , f = t.StiChartHelper.globalBeginTimeElement; try { for (var m = __values(a), S = m.next(); !S.done; S = m.next()) for (var d = S.value, y = d.valuesOpen, g = d.valuesClose, b = d.valuesHigh, v = d.valuesLow, C = Math.min(Math.min(y.length, g.length), Math.min(b.length, v.length)), w = d.arguments.length, x = Math.min(C, w), _ = 0; _ < x; _++) { var A = y[_] , L = g[_] , O = b[_] , P = v[_] , B = 0 , R = d.arguments.getKeys(); try { for (var k = (u = void 0, __values(h.xAxis.info.stripLines.list)), j = k.next(); !j.done; j = k.next()) { var T = j.value; if (d.arguments.getByIndex(_, R).toString() == T.valueObject.toString()) break; B++ } } catch (e) { u = { error: e } } finally { try { j && !j.done && (c = k.return) && c.call(k) } finally { if (u) throw u.error } } var F = h.xAxis.info.dpi , D = d.lineColor; if (!d.allowApplyColorNegative && A < L && (D = d.lineColorNegative), null == A || null == L || null == O || null == P) continue; var I = h.yAxis.info.dpi , N = Math.abs(p - A * I) , M = Math.abs(p - L * I) , E = Math.abs(p - O * I) , V = Math.abs(p - P * I) , X = B * F; if (h.reverseHor) { var G = N; N = M, M = G } var z = new n(X - F / 3,Math.min(E, V),2 * F / 3,Math.abs(V - E)); D = d.processSeriesColors(_, D); var J = new t.StiStockSeriesElementGeom(o,d,z,N,M,E,V,X,B - 1,D,new r(f.ticks / C * _)); if (null != J && null != d.core.interaction) { var H = new t.StiSeriesInteractionData; H.fill(o.area, d, _), J.interaction = H } o.createChildGeoms(), o.childGeoms.add(J) } } catch (e) { s = { error: e } } finally { try { S && !S.done && (l = m.return) && l.call(m) } finally { if (s) throw s.error } } } , Object.defineProperty(o.prototype, "localizedName", { get: function() { return i.get("Chart", "Stock") }, enumerable: !0, configurable: !0 }), o }(t.StiSeriesCoreXF); t.StiStockSeriesCoreXF = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiGlareBrush , i = e.Base.Drawing.StiGradientBrush , n = e.System.TimeSpan , o = e.System.Drawing.Point , a = e.Base.Localization.StiLocalization , s = e.System.Drawing.Rectangle , l = function(e) { function l(t) { return e.call(this, t) || this } return __extends(l, e), l.prototype.applyStyle = function(t, n) { e.prototype.applyStyle.call(this, t, n); var o = this.series; o.allowApplyStyle && (o.brush = t.core.getColumnBrush(n), o.brush.stimulsoft.is(i) && (o.brush.angle += 90), o.brush.stimulsoft.is(r) && (o.brush.angle += 90), o.borderColor = t.core.getColumnBorder(n)) } , l.prototype.renderSeries = function(e, r, i, a) { var l, u; if (null == a || 0 == a.length || null == this.series.chart) return; for (var c = [], h = [], p = i.area, f = p, m = this.series, S = f.axisCore.getDividerX(), d = 0, y = f.axisCore.valuesCount * a.length, g = f.xAxis.info.dpi, b = f.axisCore.valuesCount, v = f.yAxis.info.stripPositions.getKeys(), C = 0; C < b; C++) { var w = 0 , x = 0 , _ = { ref: w } , A = { ref: x }; this.calculateTotalWidth(a, C, _, A), w = _.ref, x = A.ref; var L = f.yAxis.info.stripPositions.getByIndex(C + 1, v) - f.yAxis.info.step / 2 , O = f.yAxis.info.step - f.yAxis.info.step * (1 - m.width) , P = L + (f.yAxis.info.step - O) / 2 , B = 0 , R = 0; if (0 == a.length) return; if (a[0].showShadow) { for (var k = 0; k < a.length; k++) if (C < a[k].values.length) { var j = a[k] , T = f.reverseVert ? j.values[C] : j.values[j.values.length - C - 1]; f.reverseHor && null != T && (T = -T), T > 0 ? B += T : R += T } if (this.series.stimulsoft.is(t.IStiFullStackedBarSeries)) { var F = f.reverseHor ? x : w , D = f.reverseHor ? w : x; if (F > 0 && D > 0) { var I = new s(-8,P,r.width + 8,O) , N = new t.StiStackedBarSeriesShadowElementGeom(a[0],I,!1,!1); i.createChildGeoms(), i.childGeoms.add(N) } else if (F > 0) { var I = new s(f.axisCore.getDividerX() - 8,P,r.width - f.axisCore.getDividerX() + 8,O) , N = new t.StiStackedBarSeriesShadowElementGeom(a[0],I.clone(),!1,!1); i.createChildGeoms(), i.childGeoms.add(N) } else if (D > 0) { var I = new s(-8,P,f.axisCore.getDividerX() + 8,O) , N = new t.StiStackedBarSeriesShadowElementGeom(a[0],I.clone(),!1,!1); i.createChildGeoms(), i.childGeoms.add(N) } } else { if (B > 0) { var I = new s(S,P,B * g,O); I.x -= 7, I.width += 7; var N = new t.StiStackedBarSeriesShadowElementGeom(a[0],I,!1,!0); i.createChildGeoms(), i.childGeoms.add(N) } if (R < 0) { var I = new s(S + R * g,P,-R * g,O) , N = new t.StiStackedBarSeriesShadowElementGeom(a[0],I,!0,!1); i.createChildGeoms(), i.childGeoms.add(N) } } } B = 0, R = 0; for (var k = 0; k < a.length; k++) { var j = a[k]; if (C < j.values.length) { var M = f.reverseVert ? j.values[C] : j.values[j.values.length - C - 1] , T = null != M ? -M : M; this.series.stimulsoft.is(t.IStiFullStackedBarSeries) && (0 == w && 0 == x || null == T || (g = T > 0 ? f.axisCore.getDividerX() / x : (r.width - f.axisCore.getDividerX()) / w)), f.reverseHor && null != T && (T = -T); var E = T * g , V = -E + S; T > 0 ? V -= B : (V = R + S, E = -E), !j.showZeros || 0 != T && null != T || (E = Math.max(e.options.zoom, 1), f.reverseHor || (V -= E)); var X = new s(V,P,E,O); X = this.correctRect(X, r.clone()); var G = i.view.clientRectangle.clone(); G.x = 0, G.y = 0; var z = X.clone(); if (z.x += i.clientRectangle.x, z.y += i.clientRectangle.y, z.bottom > G.y && z.y < G.bottom || this.series.chart.area.yAxis.range.auto) { var J = j.core.getSeriesBrush(d, y); j.allowApplyBrushNegative && T > 0 && (J = j.brushNegative), J = j.processSeriesBrushes(b - 1 - C, J); var H = t.StiChartHelper.globalBeginTimeElement; if (0 != X.height && Math.round2(X.width, 2) > 0 && null != J) { var Y = j.core.getSeriesBorderColor(d, y) , W = new t.StiStackedBarSeriesElementGeom(i,T,C,J,Y,j,X,new n(H.ticks / f.core.valuesCount * C)); if (null != j.core.interaction) { var Z = new t.StiSeriesInteractionData; Z.fill(f, j, C), W.interaction = Z } h.add(W) } var U = j.core.getSeriesLabels(); if (null != U && U.visible && Math.round2(X.width, 2) > 0) { var q = new o(X.x,X.y + X.height / 2) , K = new o(X.right,X.y + X.height / 2); if (T < 0 && (K.x = X.x, q.x = X.right), T < 0 && (K.x = X.x, q.x = X.right), 0 == U.step || C % U.step == 0) { var Q = f.xAxis.info.stripLines.count > C ? f.xAxis.info.stripLines.getByIndex(C) : null , $ = U.core.renderLabel(j, e, q, K, C, T, M, f.axisCore.getArgumentLabel(Q, j), j.core.getTag(C), d, y, r); null != $ && c.add($) } } } T > 0 ? B += E : R += E, d++ } } } for (var ee = h.length - 1; ee >= 0; ee--) { var te = h[ee]; i.createChildGeoms(), i.childGeoms.add(te) } try { for (var re = __values(c), ie = re.next(); !ie.done; ie = re.next()) { var $ = ie.value; i.createChildGeoms(), i.childGeoms.add($), $.clientRectangle = this.checkLabelsRect($.seriesLabels, i, $.clientRectangle.clone()) } } catch (e) { l = { error: e } } finally { try { ie && !ie.done && (u = re.return) && u.call(re) } finally { if (l) throw l.error } } } , l.prototype.calculateTotalWidth = function(e, r, i, n) { var o, a, s = 0, l = 0; if (this.series.stimulsoft.is(t.IStiFullStackedBarSeries)) try { for (var u = __values(e), c = u.next(); !c.done; c = u.next()) { var h = c.value; if (r < h.values.length) { var p = this.series.chart.area.reverseVert ? h.values[r] : h.values[h.values.length - r - 1]; p > 0 ? s += p : l += Math.abs(p) } } } catch (e) { o = { error: e } } finally { try { c && !c.done && (a = u.return) && a.call(u) } finally { if (o) throw o.error } } i.ref = s, n.ref = l } , l.prototype.correctRect = function(e, t) { if (e.x > t.width || e.right < 0) return e.width = 0, e; if (e.x < 0) { var r = -e.x; e.x += r, e.width -= r } if (e.right > t.width) { var r = e.right - t.width; e.width -= r } return e } , l.prototype.getSeriesBrush = function(t, r) { var i = this.series , n = e.prototype.getSeriesBrush.call(this, t, r); if (null == n) return i.brush; return n } , l.prototype.getSeriesBorderColor = function(t, r) { var i = this.series , n = e.prototype.getSeriesBorderColor.call(this, t, r); if (null == n) return i.borderColor; return n } , Object.defineProperty(l.prototype, "localizedName", { get: function() { return a.get("Chart", "StackedBar") }, enumerable: !0, configurable: !0 }), l }(t.StiSeriesCoreXF); t.StiStackedBarSeriesCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedBar") }, enumerable: !0, configurable: !0 }), t }(t.StiStackedBarSeriesCoreXF); t.StiFullStackedBarSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Collections.Hashtable , i = e.Base.Context.StiPenGeom , n = e.Base.Drawing.StiColorUtils , o = e.Base.Drawing.StiSolidBrush , a = e.System.Drawing.Color , s = e.System.Drawing.Point , l = function(e) { function l(t) { return e.call(this, t) || this } return __extends(l, e), l.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.lineColor = r, i.lighting = t.core.seriesLighting, i.marker.visible = t.core.markerVisible, null != i.marker && (i.marker.brush = new o(n.light(r, 100)), i.marker.borderColor = n.dark(r, 100)), null != i.lineMarker && (i.lineMarker.brush = new o(n.light(r, 50)), i.lineMarker.borderColor = n.dark(r, 150))) } , l.prototype.clipLinePoints = function(e, t, r, i, n, o, a, l) { var u, c, h = n.ref, p = o.ref, f = a.ref, m = l.ref; if (this.series.chart.area.xAxis.range.auto) return f = 0, m = r.length, h = r, p = i, n.ref = h, o.ref = p, a.ref = f, void (l.ref = m); f = -1, m = -1; var S = t.view.clientRectangle.clone(); S.x = 0, S.y = 0; var d = 0; try { for (var y = __values(r), g = y.next(); !g.done; g = y.next()) { var b = g.value , v = new s(b.x,b.y); if (v.x += t.clientRectangle.x, v.y += t.clientRectangle.y, S.x <= v.x && v.x < S.right && -1 == f && (f = d), !(S.x <= v.x && v.x < S.right) && -1 != f) { m = d; break } d++ } } catch (e) { u = { error: e } } finally { try { g && !g.done && (c = y.return) && c.call(y) } finally { if (u) throw u.error } } -1 == m && (m = r.length - 1), f--, m++, f < 0 && (f = 0), m >= r.length && (m = r.length - 1); var C = m - f + 1; if (C == r.length) return h = r, p = i, n.ref = h, o.ref = p, a.ref = f, void (l.ref = m); h = Array.create(s, C, !0), Array.copy(r, f, h, C), null != i ? (p = Array.create(s, C, !0), Array.copy(i, f, p, C)) : p = null, n.ref = h, o.ref = p, a.ref = f, l.ref = m } , l.prototype.renderMarkers = function(e, r, n) { var l, u, c = r.area, h = this.series; if (0 == n.length) return; var p = !h.marker.visible && h.toolTips.length > 0; if (null != h.marker && (h.marker.visible || p)) { var f = new o(a.fromArgb(55, a.black)) , m = new i(h.marker.borderColor) , S = 0; try { for (var d = __values(n), y = d.next(); !y.done; y = d.next()) { var g = y.value; if (null != g) { var b = c.reverseHor ? this.series.values[this.series.values.length - S - 1] : this.series.values[S]; null == b && h.showNulls && (b = 0); var v = r.view.clientRectangle.clone(); v.x = 0, v.y = 0, v.inflate(10, 10); var C = new s(g.x,g.y); if (C.x += r.clientRectangle.x, C.y += r.clientRectangle.y, v.contains(C.x, C.y)) { var w = new t.StiMarkerGeom(this.series,S,b,g,h.marker,this.series.showShadow,e.options.zoom,p); if (null != w) { if (null != h.core.interaction) { var x = new t.StiSeriesInteractionData; x.fill(c, h, S), w.interaction = x } r.createChildGeoms(), r.childGeoms.add(w) } } } S++ } } catch (e) { l = { error: e } } finally { try { y && !y.done && (u = d.return) && u.call(d) } finally { if (l) throw l.error } } } } , l.prototype.renderLines = function(e, t, r) {} , l.prototype.renderAreas = function(e, t, r, i) {} , l.prototype.renderSeries = function(e, i, n, o) { var a, l, u, c, h = this.series, p = [], f = n.area; if (null == o || 0 == o.length || null == this.series.chart) return; var m = f , S = m.axisCore.getDividerY() , d = m.xAxis.core.getStartFromZero() , y = new r , g = new r , b = [] , v = m.yAxis.info.dpi; this.series.yAxis == t.StiSeriesYAxis.RightYAxis && (v = m.yRightAxis.info.dpi); for (var C = 0; C < o.length; C++) { for (var w = o[C], x = w.values.length, _ = Array.create(s, x, !0), A = Array.create(s, x, !0), L = 0; L < x; L++) { var O = d ? m.xAxis.info.stripPositions[L + 1] : m.xAxis.info.stripPositions[L] , P = m.reverseHor ? w.values[w.values.length - L - 1] : w.values[L]; if (null != P || w.showNulls) { null == P && w.showNulls && (P = 0); var B = 0 , R = 0 , k = { ref: B } , j = { ref: R }; this.calculateTotalHeight(o, L, k, j), B = k.ref, R = j.ref, h.core.isFullStacked && (0 == B && 0 == R || null == P || (v = P >= 0 ? m.axisCore.getDividerY() / B : (i.height - m.axisCore.getDividerY()) / R)), m.reverseVert && null != P && (P = -P); var T = -P * v , F = 0; P >= 0 ? null != y.get(L) && (F = y.get(L)) : null != g.get(L) && (F = g.get(L)), T += F, P >= 0 ? y.set(L, T) : g.set(L, T), A[L] = new s(O,F + m.axisCore.getDividerY()), _[L] = new s(O,T + m.axisCore.getDividerY()) } else A[L] = null, _[L] = null } if (_.length > 0 && A.length > 0) { var D = void 0 , I = void 0 , N = null , M = null , E = { ref: N } , V = { ref: M } , X = { ref: D } , G = { ref: I }; this.clipLinePoints(e, n, A, _, E, V, X, G), N = E.ref, M = V.ref, D = X.ref, I = G.ref, w.core.renderAreas(e, n, N, M) } b.add(_) } for (var z = 0, J = Array.create(Number, m.axisCore.valuesCount), H = Array.create(Number, m.axisCore.valuesCount), L = 0; L < m.axisCore.valuesCount; L++) J[L] = S, H[L] = S; try { for (var Y = __values(b), W = Y.next(); !W.done; W = Y.next()) { var Z = W.value , D = void 0 , I = void 0 , U = null , M = null , q = { ref: U } , V = { ref: M } , X = { ref: D } , G = { ref: I }; this.clipLinePoints(e, n, Z, null, q, V, X, G), U = q.ref, M = V.ref, D = X.ref, I = G.ref; var w = o[z]; w.core.renderLines(e, n, U); var K = w.core.getSeriesLabels(); if (null != K && K.visible) for (var L = D; L <= I; L++) if (L < w.values.length) { var P = w.values[L]; null == P && h.showNulls && (P = 0); var Q = S; P > 0 ? (Q = J[L], null != Z[L] && (J[L] = Z[L].y)) : (Q = H[L], null != Z[L] && (H[L] = Z[L].y)); var $ = P; m.reverseVert && null != P && ($ = -$); var ee = Z[L]; if (null != ee) { var te = new s(ee.x,Q); if (0 == K.step || L % K.step == 0) { var re = K.core.renderLabel(w, e, ee, te, L, $, P, m.axisCore.getArgumentLabel(m.xAxis.info.stripLines.getByIndex(L), w), w.core.getTag(L), 0, 1, i); null != re && p.add(re) } } } z++ } } catch (e) { a = { error: e } } finally { try { W && !W.done && (l = Y.return) && l.call(Y) } finally { if (a) throw a.error } } try { for (var ie = __values(p), ne = ie.next(); !ne.done; ne = ie.next()) { var re = ne.value; n.createChildGeoms(), n.childGeoms.add(re), re.clientRectangle = this.checkLabelsRect(re.seriesLabels, n, re.clientRectangle.clone()) } } catch (e) { u = { error: e } } finally { try { ne && !ne.done && (c = ie.return) && c.call(ie) } finally { if (u) throw u.error } } } , l.prototype.calculateTotalHeight = function(e, t, r, i) { var n, o, a = this.series, s = 0, l = 0; if (a.core.isFullStacked) try { for (var u = __values(e), c = u.next(); !c.done; c = u.next()) { var h = c.value; if (t < h.values.length) { var p = this.series.chart.area.reverseHor ? h.values[h.values.length - t - 1] : h.values[t]; null == p && a.showNulls && (p = 0), p > 0 ? s += p : l += Math.abs(p) } } } catch (e) { n = { error: e } } finally { try { c && !c.done && (o = u.return) && o.call(u) } finally { if (n) throw n.error } } r.ref = s, i.ref = l } , l.prototype.correctPoint = function(e, t) { if (e.y < 0) return new s(e.x,0); if (e.y > t.height) return new s(e.x,t.height); return e } , l.prototype.getSeriesBrush = function(t, r) { var i = this.series , a = e.prototype.getSeriesBrush.call(this, t, r); if (null == a) return new o(n.dark(i.lineColor, 20)); return a } , l.prototype.getSeriesBorderColor = function(t, r) { var i = this.series , n = e.prototype.getSeriesBorderColor.call(this, t, r); if (null == n) return i.lineColor; return n } , Object.defineProperty(l.prototype, "isFullStacked", { get: function() { return this.stimulsoft.is(t.StiFullStackedAreaSeriesCoreXF) || this.stimulsoft.is(t.StiFullStackedLineSeriesCoreXF) || this.stimulsoft.is(t.StiFullStackedSplineSeriesCoreXF) || this.stimulsoft.is(t.StiFullStackedSplineAreaSeriesCoreXF) }, enumerable: !0, configurable: !0 }), l }(t.StiSeriesCoreXF); t.StiStackedBaseLineSeriesCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.renderLines = function(e, r, i) { if (null == i || i.length <= 1) return; var n = new t.StiStackedLineSeriesGeom(r,i,this.series); null != n && (r.createChildGeoms(), r.childGeoms.add(n)), this.renderMarkers(e, r, i) } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "StackedLine") }, enumerable: !0, configurable: !0 }), i }(t.StiStackedBaseLineSeriesCoreXF); t.StiStackedLineSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getAreaBrush(r)) } , i.prototype.renderAreas = function(e, r, i, n) { if (null == i || i.length <= 1) return; if (null == n || n.length <= 1) return; var o = new t.StiStackedAreaSeriesGeom(r,i,n,this.series); null != o && (r.createChildGeoms(), r.childGeoms.add(o)) } , i.prototype.getSeriesBrush = function(t, r) { var i = this.series , n = e.prototype.getSeriesBrush.call(this, t, r); if (null == n) return i.brush; return n } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "StackedArea") }, enumerable: !0, configurable: !0 }), i }(t.StiStackedLineSeriesCoreXF); t.StiStackedAreaSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedArea") }, enumerable: !0, configurable: !0 }), t }(t.StiStackedAreaSeriesCoreXF); t.StiFullStackedAreaSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.TimeSpan , i = e.System.Drawing.Point , n = e.Base.Localization.StiLocalization , o = e.System.Drawing.Rectangle , a = function(e) { function a(t) { return e.call(this, t) || this } return __extends(a, e), a.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getColumnBrush(r), i.borderColor = t.core.getColumnBorder(r)) } , a.prototype.renderSeries = function(e, n, a, s) { var l, u; if (null == s || 0 == s.length || null == this.series.chart) return; var c = [] , h = [] , p = a.area , f = p , m = this.series , S = f.xAxis.core.getStartFromZero() , d = f.axisCore.getDividerY() , y = 0 , g = f.axisCore.valuesCount * s.length , b = f.yAxis.info.dpi; this.series.yAxis == t.StiSeriesYAxis.RightYAxis && (b = f.yRightAxis.info.dpi); for (var v = 0; v < f.axisCore.valuesCount; v++) { var C = 0 , w = 0 , x = { ref: C } , _ = { ref: w }; this.calculateTotalHeight(s, v, x, _), C = x.ref, w = _.ref; var A = S ? f.xAxis.info.stripPositions[v + 1] : f.xAxis.info.stripPositions[v]; A -= f.xAxis.info.step / 2; var L = f.xAxis.info.step - f.xAxis.info.step * (1 - m.width) , O = A + (f.xAxis.info.step - L) / 2 , P = 0 , B = 0; if (0 == s.length) return; if (s[0].showShadow) { for (var R = 0; R < s.length; R++) if (v < s[R].values.length) { var k = s[R] , j = f.reverseHor ? k.values[k.values.length - v - 1] : k.values[v]; null != j && (f.reverseVert && (j = -j), j > 0 ? P += j : B += j) } if (this.stimulsoft.is(t.StiFullStackedColumnSeriesCoreXF)) { var T = f.reverseVert ? w : C , F = f.reverseVert ? C : w; if (T > 0 && F > 0) { var D = new o(O,-8,L,n.height + 8) , I = new t.StiStackedColumnSeriesShadowElementGeom(s[0],D,!1,!1); a.createChildGeoms(), a.childGeoms.add(I) } else if (T > 0) { var D = new o(O,-8,L,f.axisCore.getDividerY() + 8) , I = new t.StiStackedColumnSeriesShadowElementGeom(s[0],D,!1,!1); a.createChildGeoms(), a.childGeoms.add(I) } else if (F > 0) { var D = new o(O,f.axisCore.getDividerY() - 8,L,n.height - f.axisCore.getDividerY() + 8) , I = new t.StiStackedColumnSeriesShadowElementGeom(s[0],D,!1,!1); a.createChildGeoms(), a.childGeoms.add(I) } } else { if (P > 0) { var D = new o(O,-P * b + d,L,P * b) , I = new t.StiStackedColumnSeriesShadowElementGeom(s[0],D,!0,!1); a.createChildGeoms(), a.childGeoms.add(I) } if (B < 0) { var D = new o(O,d,L,-B * b); D.y -= 7, D.height += 7; var I = new t.StiStackedColumnSeriesShadowElementGeom(s[0],D,!1,!0); a.createChildGeoms(), a.childGeoms.add(I) } } } P = 0, B = 0; for (var N = t.StiChartHelper.globalBeginTimeElement, R = 0; R < s.length; R++) { var k = s[R]; if (v < k.values.length) { var j = f.reverseHor ? k.values[k.values.length - v - 1] : k.values[v]; this.series.stimulsoft.is(t.IStiFullStackedColumnSeries) && (0 == C && 0 == w || null == j || (b = j >= 0 ? f.axisCore.getDividerY() / C : (n.height - f.axisCore.getDividerY()) / w)), f.reverseVert && null != j && (j = -j); var M = j * b , E = -M + d; j > 0 ? E -= P : (E = B + d, M = -M), !m.showZeros || 0 != j && null != j || (M = Math.max(e.options.zoom, 1), f.reverseVert || (E -= M)); var V = new o(O,E,L,M); V = this.correctRect(V, n); var X = a.view.clientRectangle.clone(); X.x = 0, X.y = 0; var G = V.clone(); if (G.x += a.clientRectangle.x, G.y += a.clientRectangle.y, G.right > X.x && G.x < X.right || this.series.chart.area.xAxis.range.auto) { var z = k.core.getSeriesBrush(y, g); if (k.allowApplyBrushNegative && j < 0 && (z = k.brushNegative), z = k.processSeriesBrushes(v, z), 0 != V.width && Math.round2(V.height, 2) > 0 && null != z) { var J = k.core.getSeriesBorderColor(y, g) , H = new t.StiStackedColumnSeriesElementGeom(a,j,v,z,J,k,V,new r(N.ticks / f.core.valuesCount * v)); if (null != k.core.interaction) { var Y = new t.StiSeriesInteractionData; Y.fill(f, k, v), H.interaction = Y } h.add(H) } var W = k.core.getSeriesLabels(); if (null != W && W.visible && Math.round2(V.height, 2) > 0) { var Z = new i(V.x + V.width / 2,V.y) , U = new i(V.x + V.width / 2,V.bottom) , q = k.values[v]; if (f.reverseVert && null != q && (q = -j), j < 0 && (U.y = V.y, Z.y = V.bottom), 0 == W.step || v % W.step == 0) { var K = W.core.renderLabel(k, e, Z, U, v, j, q, f.axisCore.getArgumentLabel(f.xAxis.info.stripLines.getByIndex(v), k), k.core.getTag(v), y, g, n); null != K && c.add(K) } } } j > 0 ? P += M : B += M, y++ } } } for (var Q = h.length - 1; Q >= 0; Q--) { var $ = h[Q]; a.createChildGeoms(), a.childGeoms.add($) } try { for (var ee = __values(c), te = ee.next(); !te.done; te = ee.next()) { var K = te.value; a.createChildGeoms(), a.childGeoms.add(K), K.clientRectangle = this.checkLabelsRect(K.seriesLabels, a, K.clientRectangle.clone()) } } catch (e) { l = { error: e } } finally { try { te && !te.done && (u = ee.return) && u.call(ee) } finally { if (l) throw l.error } } } , a.prototype.calculateTotalHeight = function(e, r, i, n) { var o, a, s = 0, l = 0; if (this.series.stimulsoft.is(t.IStiFullStackedColumnSeries)) try { for (var u = __values(e), c = u.next(); !c.done; c = u.next()) { var h = c.value; if (r < h.values.length) { var p = this.series.chart.area.reverseHor ? h.values[h.values.length - r - 1] : h.values[r]; p > 0 ? s += p : l += Math.abs(p) } } } catch (e) { o = { error: e } } finally { try { c && !c.done && (a = u.return) && a.call(u) } finally { if (o) throw o.error } } i.ref = s, n.ref = l } , a.prototype.correctRect = function(e, t) { if (e.y > t.height || e.bottom < 0) return e.height = 0, e; if (e.top < 0) { var r = -e.top; e.y += r, e.height -= r } if (e.bottom > t.height) { var r = e.bottom - t.height; e.height -= r } return e } , a.prototype.getSeriesBrush = function(t, r) { var i = this.series , n = e.prototype.getSeriesBrush.call(this, t, r); if (null == n) return i.brush; return n } , a.prototype.getSeriesBorderColor = function(t, r) { var i = this.series , n = e.prototype.getSeriesBorderColor.call(this, t, r); if (null == n) return i.borderColor; return n } , Object.defineProperty(a.prototype, "localizedName", { get: function() { return n.get("Chart", "StackedColumn") }, enumerable: !0, configurable: !0 }), a }(t.StiSeriesCoreXF); t.StiStackedColumnSeriesCoreXF = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedColumn") }, enumerable: !0, configurable: !0 }), t }(t.StiStackedColumnSeriesCoreXF); t.StiFullStackedColumnSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedLine") }, enumerable: !0, configurable: !0 }), t }(t.StiStackedLineSeriesCoreXF); t.StiFullStackedLineSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.renderLines = function(e, r, i) { if (null == i || i.length <= 1) return; var n = new t.StiStackedSplineSeriesGeom(r,i,this.series); r.createChildGeoms(), r.childGeoms.add(n), this.renderMarkers(e, r, i) } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "StackedSpline") }, enumerable: !0, configurable: !0 }), i }(t.StiStackedBaseLineSeriesCoreXF); t.StiStackedSplineSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getAreaBrush(r)) } , i.prototype.renderAreas = function(e, r, i, n) { if (null == i || i.length <= 1) return; if (null == n || n.length <= 1) return; var o = new t.StiStackedSplineAreaSeriesGeom(r,i,n,this.series); null != o && (r.createChildGeoms(), r.childGeoms.add(o)) } , i.prototype.getSeriesBrush = function(t, r) { var i = this.series , n = e.prototype.getSeriesBrush.call(this, t, r); if (null == n) return i.brush; return n } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "StackedSplineArea") }, enumerable: !0, configurable: !0 }), i }(t.StiStackedSplineSeriesCoreXF); t.StiStackedSplineAreaSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedSplineArea") }, enumerable: !0, configurable: !0 }), t }(t.StiStackedSplineAreaSeriesCoreXF); t.StiFullStackedSplineAreaSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return r.get("Chart", "FullStackedSpline") }, enumerable: !0, configurable: !0 }), t }(t.StiStackedSplineSeriesCoreXF); t.StiFullStackedSplineSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiCloseFigureSegmentGeom , i = e.Base.Context.StiLinesSegmentGeom , n = e.System.TimeSpan , o = e.System.Drawing.Point , a = e.Base.Localization.StiLocalization , s = e.System.Collections.List , l = function(l) { function u(e) { return l.call(this, e) || this } return __extends(u, l), u.prototype.applyStyle = function(e, t) { l.prototype.applyStyle.call(this, e, t); var r = this.series; r.allowApplyStyle && (r.brush = e.core.getColumnBrush(t), r.borderColor = e.core.getColumnBorder(t)) } , u.prototype.isNotNullValues = function(e) { var t, r, i, n; try { for (var o = __values(e), a = o.next(); !a.done; a = o.next()) { var s = a.value; try { for (var l = (i = void 0, __values(s.values)), u = l.next(); !u.done; u = l.next()) { if (null != u.value) return !0 } } catch (e) { i = { error: e } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } return !1 } , u.prototype.renderSeries = function(e, r, i, o) { var a, s, l, u, c, h, p, f; if (null == o || 0 == o.length || null == this.series.chart || null != o && !this.isNotNullValues(o)) return void this.renderFunnelEmpty(i, r); var m = o.stimulsoft.toList().cast().toArray() , S = this.getAllValues(m) , d = this.getAllTrueValues(m) , y = 0; try { for (var g = __values(o), b = g.next(); !b.done; b = g.next()) { var v = b.value; if (null != v.values) try { for (var C = (l = void 0, __values(v.values)), w = C.next(); !w.done; w = C.next()) { var x = w.value; if (0 == x && !v.stimulsoft.as(t.IStiFunnelSeries).showZeros) continue; y++ } } catch (e) { l = { error: e } } finally { try { w && !w.done && (u = C.return) && u.call(C) } finally { if (l) throw l.error } } } } catch (e) { a = { error: e } } finally { try { b && !b.done && (s = g.return) && s.call(g) } finally { if (a) throw a.error } } if (0 == y) return void this.renderFunnelEmpty(i, r); var _ = this.getSingleValueHeight(y, r) , A = this.getSingleValueWidth(S, r); this.labels = this.series.chart.seriesLabels.stimulsoft.as(t.IStiFunnelSeriesLabels); var L = r.clone() , O = r.clone(); try { for (var P = __values(o), B = P.next(); !B.done; B = P.next()) { var v = B.value , R = v; if (null != this.labels && this.labels.visible) { for (var k = 0; k < R.values.length; k++) if (v.values.length > k) { var x = R.values[k] , j = k == R.values.length - 1 ? x : R.values[k + 1]; if (0 == this.labels.step || k % this.labels.step == 0) { var T = { ref: L } , F = this.labels.core.renderLabel(v, e, k, x, j, this.getArgumentText(v, k), v.core.getTag(k), 0, y, r, _, A, 1, T); L = T.ref, O = L.width < O.width ? L : O } } L = O.clone() } _ = this.getSingleValueHeight(y, L), A = this.getSingleValueWidth(S, L); var D = 0 , I = 0; try { for (var N = (p = void 0, __values(m)), M = N.next(); !M.done; M = N.next()) { var E = M.value , V = void 0; V = null != this.labels && this.labels.stimulsoft.is(t.StiOutsideLeftFunnelLabels) ? L.width / 2 + L.x : L.width / 2; for (var X = t.StiChartHelper.globalBeginTimeElement, G = 0; G < E.values.length; G++) { var x = this.getCurrentValue(E, D, d); if (0 == x && !E.showZeros) { D++; continue } var j = this.getNextCurrentValue(E, D, d) , z = E.brush; E.allowApplyBrush && (z = E.core.getSeriesBrush(I, y), z = E.processSeriesBrushes(I, z)); var J = E.borderColor; E.allowApplyBorderColor && (J = E.core.getSeriesBorderColor(I, y)); var H = this.renderFunnelElement(J, z, x, j, I, G, E, i, L, _, A, new n(X.ticks / S.length * G)); if (null != H) { if (null != v.core.interaction) { var Y = new t.StiSeriesInteractionData; Y.fill(i.area, v, G), H.interaction = Y } i.createChildGeoms(), i.childGeoms.add(H) } if (null != this.labels && this.labels.visible && (0 == this.labels.step || G % this.labels.step == 0)) { var T = { ref: L } , F = this.labels.core.renderLabel(E, e, I, x, j, this.getArgumentText(E, G), E.core.getTag(G), I, y, r, _, A, V, T); L = T.ref, null != F && (i.createChildGeoms(), i.childGeoms.add(F), F.clientRectangle = this.checkLabelsRect(this.labels, i, F.clientRectangle)) } I++, D++ } } } catch (e) { p = { error: e } } finally { try { M && !M.done && (f = N.return) && f.call(N) } finally { if (p) throw p.error } } } } catch (e) { c = { error: e } } finally { try { B && !B.done && (h = P.return) && h.call(P) } finally { if (c) throw c.error } } } , u.prototype.getSeriesBorderColor = function(e, r) { if (null == this.series.chart || null == this.series.chart.area) return null; var i = null != this.series.chart.style ? this.series.chart.style.core : new t.StiStyleCoreXF29 , n = i.getColorByIndex(e, r, this.seriesColors); return i.getColumnBorder(n) } , u.prototype.getSeriesBrush = function(e, r) { if (null == this.series.chart || null == this.series.chart.area) return null; var i = null != this.series.chart.style ? this.series.chart.style.core : new t.StiStyleCoreXF29 , n = i.getColorByIndex(e, r, this.seriesColors); return i.getColumnBrush(n) } , u.prototype.getCurrentValue = function(e, t, r) { return r[t] } , u.prototype.getNextCurrentValue = function(e, t, r) { if (t != r.length - 1) { var i = r[t + 1]; if (0 == i && !e.showZeros) while (0 == i && t < r.length - 2) t++, i = r[t + 1]; return i } return r[t] } , u.prototype.getAllValues = function(e) { var t, r, i, n, o = new s; try { for (var a = __values(e), l = a.next(); !l.done; l = a.next()) { var u = l.value; try { for (var c = (i = void 0, __values(u.values)), h = c.next(); !h.done; h = c.next()) { var p = h.value; if (0 == p && !u.showZeros) continue; o.add(p) } } catch (e) { i = { error: e } } finally { try { h && !h.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { l && !l.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return o.toArray() } , u.prototype.getAllTrueValues = function(e) { var t, r, i, n, o = new s; try { for (var a = __values(e), l = a.next(); !l.done; l = a.next()) { var u = l.value; try { for (var c = (i = void 0, __values(u.values)), h = c.next(); !h.done; h = c.next()) { var p = h.value; o.add(p) } } catch (e) { i = { error: e } } finally { try { h && !h.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { l && !l.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return o.toArray() } , u.prototype.getValues = function(e) { var t, r, i = []; try { for (var n = __values(e.values), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (!e.showZeros && 0 == a) continue; i.add(a) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i.toArray() } , u.prototype.getArgumentText = function(t, r) { var i = t.arguments.getKeys(); if (t.arguments.length > r && null != t.arguments.getByIndex(r, i)) return t.arguments.getByIndex(r, i).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); return "" } , u.prototype.renderFunnelEmpty = function(e, r) { for (var i = [3, 2, 1], n = .9 * r.height / i.length, o = .9 * r.width / i.length, a = 0; a < i.length; a++) { var s = i[a] , l = a != i.length - 1 ? i[a + 1] : i[a] , u = this.measureFunnelElementCore(s, l, a, r, n, o); e.createChildGeoms(), e.childGeoms.add(new t.StiFunnelEmptySeriesElementGeom(r,u)) } } , u.prototype.renderFunnelElement = function(e, r, i, n, o, a, s, l, u, c, h, p) { var f = this.measureFunnelElementCore(i, n, o, u, c, h); return new t.StiFunnelSeriesElementGeom(l,i,a,s,u,r,e,f,p) } , u.prototype.getSingleValueHeight = function(e, t) { return .9 * t.height / e } , u.prototype.getSingleValueWidth = function(e, t) { var r, i, n = 0; try { for (var o = __values(e), a = o.next(); !a.done; a = o.next()) { var s = a.value; n = n > s ? n : s } } catch (e) { r = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } return .9 * t.width / n } , u.prototype.measureFunnelElementCore = function(e, n, a, l, u, c) { var h = new s, p = .05 * l.height, f; f = null != this.labels && this.labels.stimulsoft.is(t.StiOutsideLeftFunnelLabels) ? l.width / 2 + l.x : l.width / 2; var m = new o(f - e / 2 * c,u * a + p) , S = new o(f + e / 2 * c,u * a + p) , d = new o(f + n / 2 * c,u * (a + 1) + p) , y = new o(f - n / 2 * c,u * (a + 1) + p) , g = [m, S, d, y, m]; return h.add(new i(g)), h.add(new r), h } , Object.defineProperty(u.prototype, "localizedName", { get: function() { return a.get("Chart", "Funnel") }, enumerable: !0, configurable: !0 }), u }(t.StiSeriesCoreXF); t.StiFunnelSeriesCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiCloseFigureSegmentGeom , i = e.Base.Context.StiLinesSegmentGeom , n = e.System.TimeSpan , o = e.System.Drawing.Point , a = e.Base.Localization.StiLocalization , s = e.System.Collections.List , l = function(l) { function u(e) { return l.call(this, e) || this } return __extends(u, l), u.prototype.applyStyle = function(e, t) { l.prototype.applyStyle.call(this, e, t); var r = this.series; r.allowApplyStyle && (r.brush = e.core.getColumnBrush(t), r.borderColor = e.core.getColumnBorder(t)) } , u.prototype.isNotNullValues = function(e) { var t, r, i, n; try { for (var o = __values(e), a = o.next(); !a.done; a = o.next()) { var s = a.value; try { for (var l = (i = void 0, __values(s.values)), u = l.next(); !u.done; u = l.next()) { if (null != u.value) return !0 } } catch (e) { i = { error: e } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } return !1 } , u.prototype.renderSeries = function(e, r, i, o) { var a, l, u, c, h, p, f, m; if (null == o || 0 == o.length || null == this.series.chart || null != o && !this.isNotNullValues(o)) return void this.renderFunnelEmpty(i, r); var S = o.stimulsoft.toList().cast().toArray() , d = 0; try { for (var y = __values(o), g = y.next(); !g.done; g = y.next()) { var b = g.value; if (null != b.values) try { for (var v = (u = void 0, __values(b.values)), C = v.next(); !C.done; C = v.next()) { var w = C.value; if (0 == w && !b.stimulsoft.as(t.IStiFunnelSeries).showZeros) continue; d++ } } catch (e) { u = { error: e } } finally { try { C && !C.done && (c = v.return) && c.call(v) } finally { if (u) throw u.error } } } } catch (e) { a = { error: e } } finally { try { g && !g.done && (l = y.return) && l.call(y) } finally { if (a) throw a.error } } if (0 == d) return void this.renderFunnelEmpty(i, r); var x = new s , _ = this.getAllValues(S) , A = this.getAllTrueValues(S) , L = .9 * r.height / this.getSumValues(A) , O = 0; try { for (var P = __values(o), B = P.next(); !B.done; B = P.next()) { var b = B.value , R = b , k = this.getValues(R); this.labels = this.series.chart.seriesLabels.stimulsoft.as(t.StiFunnelSeriesLabels); var j = void 0; j = null != this.labels && this.labels.stimulsoft.is(t.StiOutsideLeftFunnelLabels) ? r.width / 2 + r.x : r.width / 2; for (var T = t.StiChartHelper.globalBeginTimeElement, F = 0; F < k.length; F++) { var w = k[F]; if (!R.showZeros && 0 == w) continue; var D = R.brush; R.allowApplyBrush && (D = R.core.getSeriesBrush(O, d), D = R.processSeriesBrushes(O, D)); var I = R.borderColor; R.allowApplyBorderColor && (I = R.core.getSeriesBorderColor(O, d)); var N = this.renderFunnelElement(I, D, w, _, O, F, b, i, r, L, new n(T.ticks / b.values.length * F)); if (null != N) { if (null != b.core.interaction) { var M = new t.StiSeriesInteractionData; M.fill(i.area, b, F), N.interaction = M } i.createChildGeoms(), i.childGeoms.add(N) } if (null != this.labels && this.labels.visible) { var E = O == A.length - 1 ? w : A[F + 1]; if (0 == this.labels.step || F % this.labels.step == 0) { var V = { ref: r } , X = this.labels.core.renderLabel(R, e, O, w, E, this.getArgumentText(R, F), R.core.getTag(F), O, d, r, L, 0, j, V); r = V.ref, null != X && x.add(X) } } O++ } } } catch (e) { h = { error: e } } finally { try { B && !B.done && (p = P.return) && p.call(P) } finally { if (h) throw h.error } } try { for (var G = __values(x), z = G.next(); !z.done; z = G.next()) { var J = z.value; i.createChildGeoms(), i.childGeoms.add(J), J.clientRectangle = this.checkLabelsRect(this.labels, i, J.clientRectangle) } } catch (e) { f = { error: e } } finally { try { z && !z.done && (m = G.return) && m.call(G) } finally { if (f) throw f.error } } } , u.prototype.getSeriesBorderColor = function(e, r) { if (null == this.series.chart || null == this.series.chart.area) return null; var i = null != this.series.chart.style ? this.series.chart.style.core : new t.StiStyleCoreXF29 , n = i.getColorByIndex(e, r, this.seriesColors); return i.getColumnBorder(n) } , u.prototype.getSeriesBrush = function(e, r) { if (null == this.series.chart || null == this.series.chart.area) return null; var i = null != this.series.chart.style ? this.series.chart.style.core : new t.StiStyleCoreXF29 , n = i.getColorByIndex(e, r, this.seriesColors); return i.getColumnBrush(n) } , u.prototype.getAllValues = function(e) { var t, r, i, n, o = new s; try { for (var a = __values(e), l = a.next(); !l.done; l = a.next()) { var u = l.value; try { for (var c = (i = void 0, __values(u.values)), h = c.next(); !h.done; h = c.next()) { var p = h.value; if (0 == p && !u.showZeros) continue; o.add(p) } } catch (e) { i = { error: e } } finally { try { h && !h.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { l && !l.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return o.toArray() } , u.prototype.getAllTrueValues = function(e) { var t, r, i, n, o = new s; try { for (var a = __values(e), l = a.next(); !l.done; l = a.next()) { var u = l.value; try { for (var c = (i = void 0, __values(u.values)), h = c.next(); !h.done; h = c.next()) { var p = h.value; o.add(p) } } catch (e) { i = { error: e } } finally { try { h && !h.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } } } catch (e) { t = { error: e } } finally { try { l && !l.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return o.toArray() } , u.prototype.getValues = function(e) { var t, r, i = []; try { for (var n = __values(e.values), o = n.next(); !o.done; o = n.next()) { var a = o.value; if (!e.showZeros && 0 == a) continue; i.add(a) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i.toArray() } , u.prototype.getArgumentText = function(t, r) { var i = t.arguments.getKeys(); if (t.arguments.length > r && null != t.arguments.getByIndex(r, i)) return t.arguments.getByIndex(r, i).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); return "" } , u.prototype.renderFunnelEmpty = function(e, r) { for (var i = [3, 2, 1], n = .9 * r.height / this.getSumValues(i), o = 0; o < i.length; o++) { var a = this.measureFunnelElementCore(o, r, n, i); e.createChildGeoms(), e.childGeoms.add(new t.StiFunnelEmptySeriesElementGeom(r,a.stimulsoft.toList())) } } , u.prototype.getPathFunnelEmpty = function(e) { var t = new s , n = .05 * e.height , a = e.width / 2 , l = new o(a - .9 * e.width / 2,n) , u = new o(a + .9 * e.width / 2,n) , c = new o(a - .1 * e.width / 2,e.height + n - e.height / 5) , h = new o(a + .1 * e.width / 2,e.height + n - e.height / 5) , p = new o(a + .1 * e.width / 2,e.height + n) , f = new o(a - .1 * e.width / 2,e.height + n) , m = [l, u, h, p, f, c]; return t.add(new i(m)), t.add(new r), t } , u.prototype.renderFunnelElement = function(e, r, i, n, o, a, s, l, u, c, h) { var p = this.measureFunnelElementCore(o, u, c, n); return new t.StiFunnelSeriesElementGeom(l,i,a,s,u,r,e,p,h) } , u.prototype.getSumValues = function(e) { var t, r, i = 0; try { for (var n = __values(e), o = n.next(); !o.done; o = n.next()) { var a = o.value; i += Math.abs(a) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i } , u.prototype.getSumLastValues = function(e, t) { for (var r = 0, i = 0; i < e; i++) { if (i >= t.length) break; r += Math.abs(t[i]) } return r } , u.prototype.measureFunnelElementCore = function(e, n, a, s) { var l = [], u = .05 * n.height, c; c = null != this.labels && this.labels.stimulsoft.is(t.StiOutsideLeftFunnelLabels) ? n.width / 2 + n.x : n.width / 2; var h, p, f = new o, m = new o, S, d, y = !1, g = this.getSumLastValues(e, s), b = !1, v = n.height - a * g; v < n.height / 5 && (v = n.height / 5, b = !0); var C = .9 * n.width * v / n.height; h = new o(c - C / 2,a * g + u), p = new o(c + C / 2,a * g + u), g = this.getSumLastValues(e + 1, s), v = n.height - a * g, v < n.height / 5 && (v = n.height / 5, b || (C = .9 * n.width * v / n.height, f = new o(c - C / 2,n.height + u - v), m = new o(c + C / 2,n.height + u - v), y = !0)), C = .9 * n.width * v / n.height, S = new o(c + C / 2,a * g + u), d = new o(c - C / 2,a * g + u); var w; return w = y ? [h, p, m, S, d, f, h] : [h, p, S, d, h], l.add(new i(w)), l.add(new r), l } , Object.defineProperty(u.prototype, "localizedName", { get: function() { return a.get("Chart", "FunnelWeightedSlices") }, enumerable: !0, configurable: !0 }), u }(t.StiSeriesCoreXF); t.StiFunnelWeightedSlicesSeriesCoreXF = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.TimeSpan , i = e.System.Drawing.Point , n = e.Base.Localization.StiLocalization , o = e.System.Drawing.Rectangle , a = function(a) { function s(e) { return a.call(this, e) || this } return __extends(s, a), s.prototype.renderSeries = function(n, a, s, l) { var u, c, h, p, f, m, S = []; if (null == l || 0 == l.length || null == this.series.chart) return; var d = s.area , y = d.axisCore.getDividerX() , g = d.axisCore.getDividerY(); try { for (var b = __values(l), v = b.next(); !v.done; v = b.next()) { var C = v.value , w = C.values.length; C.valuesEnd.length < w && (w = C.valuesEnd.length); var x = C.arguments.length , _ = Math.min(w, x) , A = t.StiChartHelper.globalBeginTimeElement , L = this.series.chart , O = 0 , P = C.arguments.getKeys(); while (O < _) { var B = C.values[O] , R = C.valuesEnd[O]; null == B && (B = 0), null == R && (R = 0); var k = Math.abs(B - R) * d.xAxis.info.dpi , j = y , T = Math.min(B, R); d.reverseHor ? j -= T * d.xAxis.info.dpi + k : j += T * d.xAxis.info.dpi; var F = d.yAxis.info.stripLines.count - 1; try { for (var D = (h = void 0, __values(d.yAxis.info.stripLines.list)), I = D.next(); !I.done; I = D.next()) { var N = I.value; if (C.arguments.getByIndex(O, P).toString() == N.valueObject.toString()) break; F-- } } catch (e) { h = { error: e } } finally { try { I && !I.done && (p = D.return) && p.call(D) } finally { if (h) throw h.error } } d.reverseVert && (F = d.yAxis.info.stripLines.count - 1 - F); var M = d.yAxis.info.step / 2 , E = g - M / 2; d.reverseVert ? E += d.yAxis.info.step * F : E -= d.yAxis.info.step * F; var V = new o(j,E,k,M) , X = C.processSeriesBrushes(O, C.brush) , G = new t.StiGanttSeriesElementGeom(s,T,O,C,V,new r(A.ticks / d.core.valuesCount * O),X); if (null != C.core.interaction) { var z = new t.StiSeriesInteractionData; z.fill(d, C, O), G.interaction = z } s.createChildGeoms(), s.childGeoms.add(G); var J = C.core.getSeriesLabels(); if (null != J && J.visible) if (J.stimulsoft.is(t.StiValueAxisLabels)) { var H = new i(j,E + M / 2) , Y = new i(j + k,E + M / 2); if (0 == J.step || O % J.step == 0) { if (R < B) { var W = B; B = R, R = W } var Z = J.core.renderLabel(C, n, Y, Y, O, R, R, C.arguments.getByIndex(O, P).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator), C.core.getTag(O), 0, 1, a) , U = J.core.renderLabel(C, n, H, H, O, B, B, C.arguments.getByIndex(O, P).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator), C.core.getTag(O), 0, 1, a); null != U && (S.add(U), U.clientRectangle = this.checkLabelsRect(J, s, U.clientRectangle.clone())), null != Z && (S.add(Z), Z.clientRectangle = this.checkLabelsRect(J, s, Z.clientRectangle.clone())) } } else if (!J.stimulsoft.is(t.StiNoneLabels)) { var H = void 0 , Y = void 0; J.stimulsoft.is(t.StiCenterAxisLabels) ? (H = new i(j,E + M / 2), Y = new i(j + k,E + M / 2)) : (H = new i(j + k / 2,E), Y = new i(j + k / 2,E)); var q = T; if (0 == J.step || O % J.step == 0) { var K = J.core.renderLabel(C, n, Y, H, O, T, q, C.arguments.getByIndex(O, P).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator), C.core.getTag(O), 0, 1, a); null != K && (S.add(K), K.clientRectangle = this.checkLabelsRect(J, s, K.clientRectangle.clone())) } } O++ } } } catch (e) { u = { error: e } } finally { try { v && !v.done && (c = b.return) && c.call(b) } finally { if (u) throw u.error } } try { for (var Q = __values(S), $ = Q.next(); !$.done; $ = Q.next()) { var K = $.value; s.createChildGeoms(), s.childGeoms.add(K) } } catch (e) { f = { error: e } } finally { try { $ && !$.done && (m = Q.return) && m.call(Q) } finally { if (f) throw f.error } } } , Object.defineProperty(s.prototype, "localizedName", { get: function() { return n.get("Chart", "Gantt") }, enumerable: !0, configurable: !0 }), s }(t.StiClusteredBarSeriesCoreXF); t.StiGanttSeriesCoreXF = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Rectangle , n = e.System.Drawing.Point , o = e.System.Drawing.Size , a = function() { function e(e, t) { this.value = e, this.icon = t } return Object.defineProperty(e.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "icon", { get: function() { return this._icon }, set: function(e) { this._icon = e }, enumerable: !0, configurable: !0 }), e }(); t.DataPictorial = a; var s = function(e) { function s(t) { var r = e.call(this, t) || this; return r.singleSizeConst = new o(25,25), r } return __extends(s, e), s.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r), this.series.allowApplyStyle && (this.series.brush = t.core.getColumnBrush(r)) } , Object.defineProperty(s.prototype, "localizedName", { get: function() { return r.get("Chart", "Pictorial") }, enumerable: !0, configurable: !0 }), s.prototype.getSingleSize = function(e) { return new o(this.singleSizeConst.width * e.options.zoom,this.singleSizeConst.height * e.options.zoom) } , s.prototype.renderSeries = function(e, r, o, s) { var l, u, c, h, p, f, m = this.getSingleSize(e), S = Math.floor(r.width / m.width), d = Math.floor(r.height / m.height), y = S * m.width, g = d * m.height, b = r.x + (r.width - y) / 2, v = r.y + (r.height - g) / 2, C = new i(b,v,y,g), w = S * d, x = this.series.chart.area, _ = []; try { for (var A = __values(s), L = A.next(); !L.done; L = A.next()) { var O = L.value , P = O.stimulsoft.as(t.StiPictorialSeries); try { for (var B = (c = void 0, __values(O.values)), R = B.next(); !R.done; R = B.next()) { var k = R.value , j = null == k ? 0 : x.roundValues ? Math.round(k) : k; _.add(new a(j,P.icon)) } } catch (e) { c = { error: e } } finally { try { R && !R.done && (h = B.return) && h.call(B) } finally { if (c) throw c.error } } } } catch (e) { l = { error: e } } finally { try { L && !L.done && (u = A.return) && u.call(A) } finally { if (l) throw l.error } } var T = 0; try { for (var F = __values(_), D = F.next(); !D.done; D = F.next()) { T += D.value.value } } catch (e) { p = { error: e } } finally { try { D && !D.done && (f = F.return) && f.call(F) } finally { if (p) throw p.error } } var I = w / T; I > 1 && x.actual && (I = 1); for (var N = new n(C.x,C.y), M = 0, E = 0; E < _.length; E++) { var k = Math.abs(_[E].value); if (0 == k) continue; var V = I * k , X = x.roundValues ? this.roundPictirialValue(V, M) : V; M += V - X; var G = X * m.width * m.height , z = G / m.height , J = z , H = [] , Y = []; do { var W = 0 , Z = N , U = C.right - N.x; U > J ? (W = J, N = new n(N.x + J,N.y)) : (W = U, N = new n(C.x,N.y + m.height)), J -= W; var q = (Z.x - C.x) / m.width , K = (q - Math.floor(q)) * m.width , Q = new i(Z.x - K,Z.y,W + K,m.height) , $ = new i(Z.x,Z.y,W,m.height); H.add(Q), Y.add($) } while (J > 0 && N.y < C.bottom); var ee = new t.StiPictorialSeriesElementGeom(o,k,E,this.getSeriesBrush(E, _.length),this.series,_[E].icon,H,Y,r,null); o.createChildGeoms(), o.childGeoms.add(ee) } } , s.prototype.roundPictirialValue = function(e, t) { return t > 0 ? Math.ceil(e) : t < 0 ? Math.floor(e) : Math.round(e) } , s.prototype.getSeriesBrush = function(t, r) { var i = e.prototype.getSeriesBrush.call(this, t, r); if (null == i) return this.series.brush; return i } , s }(t.StiSeriesCoreXF); t.StiPictorialSeriesCoreXF = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiColorUtils , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = e.System.Drawing.Point , a = function(a) { function s(e) { return a.call(this, e) || this } return __extends(s, a), s.prototype.applyStyle = function(e, t) { a.prototype.applyStyle.call(this, e, t); var n = this.series; n.allowApplyStyle && null != n.marker && (n.marker.brush = new i(r.light(t, 100)), n.marker.borderColor = r.dark(t, 100)) } , s.prototype.renderSeries = function(e, t, r, i) { var n, a, s, l, u, c, h, p, f, m; if (null == i || 0 == i.length || null == this.series.chart) return; var S = r.area , d = S.core , y = []; try { for (var g = __values(i), b = g.next(); !b.done; b = g.next()) { var v = b.value , C = []; y.add(C); var w = 0; try { for (var x = (s = void 0, __values(d.points)), _ = x.next(); !_.done; _ = x.next()) { var A = _.value , L = w < v.values.length ? v.values[w] : null; if (null == L && v.showNulls && (L = 0), null == L) C.add(null); else { null != L && (L *= S.yAxis.info.dpi); var O = new o(d.centerPoint.x + L * A.x,d.centerPoint.y + L * A.y); O.x -= r.clientRectangle.x, O.y -= r.clientRectangle.y, C.add(O) } w++ } } catch (e) { s = { error: e } } finally { try { _ && !_.done && (l = x.return) && l.call(x) } finally { if (s) throw s.error } } } } catch (e) { n = { error: e } } finally { try { b && !b.done && (a = g.return) && a.call(g) } finally { if (n) throw n.error } } var P = 0; try { for (var B = __values(i), R = B.next(); !R.done; R = B.next()) { var v = R.value , C = y[P]; C.add(C[0]), this.renderAreas(e, v, C, r), C.removeAt(C.length - 1), P++ } } catch (e) { u = { error: e } } finally { try { R && !R.done && (c = B.return) && c.call(B) } finally { if (u) throw u.error } } P = 0; try { for (var k = __values(i), j = k.next(); !j.done; j = k.next()) { var v = j.value , C = y[P]; C.add(C[0]), this.renderLines(e, v, C, r), C.removeAt(C.length - 1), P++ } } catch (e) { h = { error: e } } finally { try { j && !j.done && (p = k.return) && p.call(k) } finally { if (h) throw h.error } } P = 0; try { for (var T = __values(i), F = T.next(); !F.done; F = T.next()) { var v = F.value , C = y[P]; this.renderPoints(e, v, C, r), P++ } } catch (e) { f = { error: e } } finally { try { F && !F.done && (m = T.return) && m.call(T) } finally { if (f) throw f.error } } } , s.prototype.renderAreas = function(e, t, r, i) {} , s.prototype.renderLines = function(e, t, r, i) {} , s.prototype.renderPoints = function(e, r, i, n) { var o, a, s = 0; try { for (var l = __values(i), u = l.next(); !u.done; u = l.next()) { var c = u.value; if (null != c) { var h = s < r.values.length ? r.values[s] : null , p = new t.StiRadarPointSeriesElementGeom(n,h,s,r.marker.brush,r,c,e.options.zoom); null != n && (n.createChildGeoms(), n.childGeoms.add(p)); var f = r.core.getSeriesLabels(); if (null != f && f.visible && null != h) { var m = c; if (0 == f.step || s % f.step == 0) { var S = f.core.renderLabel(r, e, m, m, s, h, h, this.getArgument(r, s), r.core.getTag(s), 0, 1, n.clientRectangle); null != S && (n.createChildGeoms(), n.childGeoms.add(S), S.clientRectangle = this.checkLabelsRect(f, n, S.clientRectangle.clone())) } } } s++ } } catch (e) { o = { error: e } } finally { try { u && !u.done && (a = l.return) && a.call(l) } finally { if (o) throw o.error } } } , s.prototype.getArgument = function(t, r) { var i = t.arguments.getKeys(); return t.arguments.length > r ? t.arguments.getByIndex(r, i).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator) : "" } , s.prototype.getSeriesBrush = function(e, t) { var o = a.prototype.getSeriesBrush.call(this, e, t); if (null == o) return new i(r.dark(n.white, 20)); return o } , s.prototype.getSeriesBorderColor = function(e, t) { var r = a.prototype.getSeriesBorderColor.call(this, e, t); if (null == r) return n.black; return r } , s }(t.StiSeriesCoreXF); t.StiRadarSeriesCoreXF = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Point , n = function(e) { function n(t) { return e.call(this, t) || this } return __extends(n, e), n.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getAreaBrush(r), i.lineColor = r) } , Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "RadarArea") }, enumerable: !0, configurable: !0 }), n.prototype.renderLines = function(e, r, i, n) { var o = n.area , a = o.core , s = new t.StiLineSeriesGeom(n,i.toArray(),r); null != n && (n.createChildGeoms(), n.childGeoms.add(s)) } , n.prototype.renderAreas = function(e, r, n, o) { var a = o.area , s = a.core , l = new t.StiRadarAreaSeriesGeom(r,n.toArray(),new i(o.clientRectangle.width / 2,o.clientRectangle.height / 2)); null != o && (o.createChildGeoms(), o.childGeoms.add(l)) } , n }(t.StiRadarSeriesCoreXF); t.StiRadarAreaSeriesCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.lineColor = r) } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "RadarLine") }, enumerable: !0, configurable: !0 }), i.prototype.renderLines = function(e, r, i, n) { var o = new t.StiLineSeriesGeom(n,i.toArray(),r); null != n && (n.createChildGeoms(), n.childGeoms.add(o)) } , i }(t.StiRadarSeriesCoreXF); t.StiRadarLineSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.applyStyle = function(r, i) { e.prototype.applyStyle.call(this, r, i); var n = this.series.stimulsoft.as(t.StiRadarPointSeries); n.allowApplyStyle && (r.core.markerVisible || (n.marker.visible = !0)) } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "RadarPoint") }, enumerable: !0, configurable: !0 }), i }(t.StiRadarSeriesCoreXF); t.StiRadarPointSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.TimeSpan , i = e.System.Drawing.Point , n = e.Base.Localization.StiLocalization , o = e.System.Drawing.Rectangle , a = function(a) { function s(e) { return a.call(this, e) || this } return __extends(s, a), s.prototype.renderSeries = function(n, a, s, l) { var u, c, h, p, f, m, S = []; if (null == l || 0 == l.length || null == this.series.chart) return; var d = s.area , y = d.axisCore.getDividerX() , g = d.axisCore.getDividerY() , b = t.StiChartHelper.globalBeginTimeElement; try { for (var v = __values(l), C = v.next(); !C.done; C = v.next()) { var w = C.value , x = w.values.length; w.valuesEnd.length < x && (x = w.valuesEnd.length); var _ = w.arguments.length , A = Math.min(x, _) , L = 0 , O = w.arguments.getKeys(); while (L < A) { var P = w.values[L] , B = w.valuesEnd[L]; null == P && (P = 0), null == B && (B = 0); var R = Math.abs(P - B) * d.yAxis.info.dpi , k = g , j = Math.max(P, B); d.reverseVert ? k += Math.min(P, B) * d.yAxis.info.dpi : k -= j * d.yAxis.info.dpi; var T = d.xAxis.info.stripLines.count - 1; try { for (var F = (h = void 0, __values(d.xAxis.info.stripLines.list)), D = F.next(); !D.done; D = F.next()) { var I = D.value; if (w.arguments.getByIndex(L, O).toString() == I.valueObject.toString()) break; T-- } } catch (e) { h = { error: e } } finally { try { D && !D.done && (p = F.return) && p.call(F) } finally { if (h) throw h.error } } T = d.xAxis.info.stripLines.count - 1 - T; var N = (d.xAxis.info.step - d.xAxis.info.step * (1 - w.width)) / l.length , M = y - N / 2; M += d.xAxis.info.step * T; var E = new o(M,k,N,R) , V = new t.StiRangeBarElementGeom(s,j,L,w,w.brush,E,new r(b.ticks / A * L)); if (null != w.core.interaction) { var X = new t.StiSeriesInteractionData; X.fill(d, w, L), V.interaction = X } s.createChildGeoms(), s.childGeoms.add(V); var G = w.core.getSeriesLabels(); if (null != G && G.visible) { var z = new i(M + N / 2,k) , J = new i(M + N / 2,k + R); if (0 == G.step || L % G.step == 0) { if (B < P) { var H = P; P = B, B = H } var Y = G.core.renderLabel(w, n, J, J, L, P, P, w.arguments.getByIndex(L, O).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator), w.core.getTag(L), 0, 1, a) , W = G.core.renderLabel(w, n, z, z, L, B, B, w.arguments.getByIndex(L, O).toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator), w.core.getTag(L), 0, 1, a); null != W && (S.add(W), W.clientRectangle = this.checkLabelsRect(G, s, W.clientRectangle.clone())), null != Y && (S.add(Y), Y.clientRectangle = this.checkLabelsRect(G, s, Y.clientRectangle.clone())) } } L++ } } } catch (e) { u = { error: e } } finally { try { C && !C.done && (c = v.return) && c.call(v) } finally { if (u) throw u.error } } try { for (var Z = __values(S), U = Z.next(); !U.done; U = Z.next()) { var q = U.value; s.createChildGeoms(), s.childGeoms.add(q) } } catch (e) { f = { error: e } } finally { try { U && !U.done && (m = Z.return) && m.call(Z) } finally { if (f) throw f.error } } } , Object.defineProperty(s.prototype, "localizedName", { get: function() { return n.get("Chart", "RangeBar") }, enumerable: !0, configurable: !0 }), s }(t.StiClusteredColumnSeriesCoreXF); t.StiRangeBarSeriesCoreXF = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Point , n = function(e) { function n(t) { return e.call(this, t) || this } return __extends(n, e), n.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getAreaBrush(r)) } , n.prototype.renderSeries = function(e, r, n, o) { var a, s; if (null == o || 0 == o.length || null == this.series.chart) return; var l = n.area , u = 0; try { for (var c = __values(o), h = c.next(); !h.done; h = c.next()) { var p = h.value , f = p.values.length , m = Array.create(i, f, !0) , S = Array.create(i, f, !0); p.valuesEnd.length < f && (f = p.valuesEnd.length); for (var d = 0; d < f; d++) { var y = l.reverseHor ? p.values[p.values.length - d - 1] : p.values[d] , g = l.reverseHor ? p.valuesEnd[p.values.length - d - 1] : p.valuesEnd[d]; y == g ? m[d] = S[d] = this.getYPoint(y, p, l, d) : (m[d] = this.getYPoint(y, p, l, d), S[d] = this.getYPoint(g, p, l, d)) } this.renderAreas2(n, m, S, p), this.renderLines2(e, n, m, p.values, p), this.renderLines2(e, n, S, p.valuesEnd, p); var b = 0 , v = p.core.getSeriesLabels(); if (null != v && v.visible) for (var d = 0; d < f; d++) { var y = p.values[d] , g = p.valuesEnd[d]; null == y && p.showNulls && (y = 0), null == g && p.showNulls && (y = 0); var C = y; l.reverseVert && null != y && (C = -C); var w = g; l.reverseVert && null != g && (w = -w), b = p.yAxis == t.StiSeriesYAxis.LeftYAxis ? l.axisCore.getDividerY() : l.axisCore.getDividerRightY(); var x = m[d] , _ = S[d]; if (null != x) { var A = new i(x.x,b); if (0 == v.step || d % v.step == 0) { var L = v.core.renderLabel(p, e, this.correctPoint(x, r, p.labelsOffset * e.options.zoom), this.correctPoint(A, r, p.labelsOffset * e.options.zoom), d, C, y, l.axisCore.getArgumentLabel(l.xAxis.info.stripLines.getByIndex(d), p), p.core.getTag(d), 0, 1, r); null != L && (n.createChildGeoms(), n.childGeoms.add(L), L.clientRectangle = this.checkLabelsRect(v, n, L.clientRectangle.clone())) } } if (null != _) { var A = new i(_.x,b); if (0 == v.step || d % v.step == 0) { var L = v.core.renderLabel(p, e, this.correctPoint(_, r, p.labelsOffset * e.options.zoom), this.correctPoint(A, r, p.labelsOffset * e.options.zoom), d, w, g, l.axisCore.getArgumentLabel(l.xAxis.info.stripLines.getByIndex(d), p), p.core.getTag(d), 0, 1, r); null != L && (n.createChildGeoms(), n.childGeoms.add(L), L.clientRectangle = this.checkLabelsRect(v, n, L.clientRectangle.clone())) } } } u++ } } catch (e) { a = { error: e } } finally { try { h && !h.done && (s = c.return) && s.call(c) } finally { if (a) throw a.error } } } , n.prototype.renderLines2 = function(e, r, i, n, o) { if (null != i && i.length > 1) { var a = new t.StiLineSeriesGeom(r,i,o); r.createChildGeoms(), r.childGeoms.add(a), null != this.interaction && (a.interactions = this.getInteractions(e, r, i)) } this.renderMarkers2(e, r, i, n, o) } , n.prototype.renderMarkers2 = function(e, r, i, n, o) { var a, s, l = r.area, u = o; if (0 == i.length) return; var c = !u.marker.visible && u.toolTips.length > 0; if (null != u.marker && (u.marker.visible || c)) { var h = 0; try { for (var p = __values(i), f = p.next(); !f.done; f = p.next()) { var m = f.value; if (null != m) { var S = l.reverseHor ? n[u.values.length - h - 1] : n[h]; null == S && u.showNulls && (S = 0); var d = r.view.clientRectangle.clone(); d.x = 0, d.y = 0, d.inflate(10, 10); var y = m; if (y.x += r.clientRectangle.x, y.y += r.clientRectangle.y, d.contains(y.x, y.y)) { var g = new t.StiMarkerGeom(o,h,S,m,u.marker,u.showShadow,e.options.zoom,c); if (null != g) { if (null != u.core.interaction) { var b = new t.StiSeriesInteractionData; b.fill(l, u, h), g.interaction = b } r.createChildGeoms(), r.childGeoms.add(g) } } } h++ } } catch (e) { a = { error: e } } finally { try { f && !f.done && (s = p.return) && s.call(p) } finally { if (a) throw a.error } } } } , n.prototype.getYPoint = function(e, r, n, o) { var a, s = n.xAxis.core.getStartFromZero() ? n.xAxis.info.stripPositions[o + 1] : n.xAxis.info.stripPositions[o]; if (null != e || r.showNulls) { null == e && r.showNulls && (e = 0), n.reverseVert && null != e && (e = -e); var l = 0; l = r.yAxis == t.StiSeriesYAxis.LeftYAxis ? -e * n.yAxis.info.dpi + n.axisCore.getDividerY() : -e * n.yRightAxis.info.dpi + n.axisCore.getDividerRightY(), a = new i(s,l) } else a = null; return a } , n.prototype.renderAreas2 = function(e, r, i, n) { if (null == r || r.length <= 1) return; var o = new t.StiRangeSeriesGeom(e,r,i,n); null != o && (e.createChildGeoms(), e.childGeoms.add(o)) } , Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Range") }, enumerable: !0, configurable: !0 }), n }(t.StiLineSeriesCoreXF); t.StiRangeSeriesCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiSolidBrush , n = e.Base.Localization.StiLocalization , o = e.System.Drawing.Point , a = e.System.Drawing.Color , s = function(e) { function s(t) { return e.call(this, t) || this } return __extends(s, e), s.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getAreaBrush(r)) } , s.prototype.renderSeries = function(e, r, i, n) { var a, s; if (null == n || 0 == n.length || null == this.series.chart) return; var l = i.area , u = 0; try { for (var c = __values(n), h = c.next(); !h.done; h = c.next()) { var p = h.value , f = p.values.length; p.valuesEnd.length < f && (f = p.valuesEnd.length); for (var m = Array.create(o, f, !0), S = Array.create(o, f, !0), d = Array.create(o, 2 * f, !0), y = 0; y < f; y++) { var g = l.reverseHor ? p.values[p.values.length - y - 1] : p.values[y] , b = l.reverseHor ? p.valuesEnd[p.values.length - y - 1] : p.valuesEnd[y]; m[y] = this.getYPoint(g, p, l, y), S[y] = this.getYPoint(b, p, l, y) } this.renderAreas2(e, i, m, S, p), this.renderLines(e, i, m), this.renderLines(e, i, S); var v = 0 , C = p.core.getSeriesLabels(); if (null != C && C.visible) for (var y = 0; y < f; y++) { var g = p.values[y] , b = p.valuesEnd[y]; null == g && p.showNulls && (g = 0), null == b && p.showNulls && (g = 0); var w = g; l.reverseVert && null != g && (w = -w); var x = b; l.reverseVert && null != b && (x = -x), v = p.yAxis == t.StiSeriesYAxis.LeftYAxis ? l.axisCore.getDividerY() : l.axisCore.getDividerRightY(); var _ = m[y] , A = S[y]; if (null != _) { var L = new o(_.x,v); if (0 == C.step || y % C.step == 0) { var O = C.core.renderLabel(p, e, this.correctPoint(_, r, p.labelsOffset * e.options.zoom), this.correctPoint(L, r, p.labelsOffset * e.options.zoom), y, w, g, l.axisCore.getArgumentLabel(l.xAxis.info.stripLines.getByIndex(y), p), p.core.getTag(y), 0, 1, r); null != O && (i.createChildGeoms(), i.childGeoms.add(O), O.clientRectangle = this.checkLabelsRect(C, i, O.clientRectangle.clone())) } } if (null != A) { var L = new o(A.x,v); if (0 == C.step || y % C.step == 0) { var O = C.core.renderLabel(p, e, this.correctPoint(A, r, p.labelsOffset * e.options.zoom), this.correctPoint(L, r, p.labelsOffset * e.options.zoom), y, x, b, l.axisCore.getArgumentLabel(l.xAxis.info.stripLines.getByIndex(y), p), p.core.getTag(y), 0, 1, r); null != O && (i.createChildGeoms(), i.childGeoms.add(O), O.clientRectangle = this.checkLabelsRect(C, i, O.clientRectangle.clone())) } } } u++ } } catch (e) { a = { error: e } } finally { try { h && !h.done && (s = c.return) && s.call(c) } finally { if (a) throw a.error } } } , s.prototype.renderLines2 = function(e, r, i, n, o) { if (null != i || i.length > 1) { var a = new t.StiLineSeriesGeom(r,i,o); null != a && (r.createChildGeoms(), r.childGeoms.add(a)), null != this.interaction && (a.interactions = this.getInteractions(e, r, i)) } this.renderMarkers2(e, r, i, n, o) } , s.prototype.renderMarkers2 = function(e, n, o, s, l) { var u, c, h = n.area, p = l; if (0 == o.length) return; var f = !p.marker.visible && p.toolTips.length > 0; if (null != p.marker && (p.marker.visible || f)) { var m = new i(a.fromArgb(55, a.black)) , S = new r(p.marker.borderColor) , d = 0; try { for (var y = __values(o), g = y.next(); !g.done; g = y.next()) { var b = g.value; if (null != b) { var v = h.reverseHor ? s[p.values.length - d - 1] : s[d]; null == v && p.showNulls && (v = 0); var C = n.view.clientRectangle.clone(); C.x = 0, C.y = 0, C.inflate(10, 10); var w = b; if (w.x += n.clientRectangle.x, w.y += n.clientRectangle.y, C.contains(w.x, w.y)) { var x = new t.StiMarkerGeom(l,d,v,b,p.marker,p.showShadow,e.options.zoom,f); if (null != x) { if (null != p.core.interaction) { var _ = new t.StiSeriesInteractionData; _.fill(h, p, d), x.interaction = _ } n.createChildGeoms(), n.childGeoms.add(x) } } } d++ } } catch (e) { u = { error: e } } finally { try { g && !g.done && (c = y.return) && c.call(y) } finally { if (u) throw u.error } } } } , s.prototype.getYPoint = function(e, r, i, n) { var a, s = i.xAxis.core.getStartFromZero() ? i.xAxis.info.stripPositions[n + 1] : i.xAxis.info.stripPositions[n]; if (null != e || r.showNulls) { null == e && r.showNulls && (e = 0), i.reverseVert && null != e && (e = -e); var l = 0; l = r.yAxis == t.StiSeriesYAxis.LeftYAxis ? -e * i.yAxis.info.dpi + i.axisCore.getDividerY() : -e * i.yRightAxis.info.dpi + i.axisCore.getDividerRightY(), a = new o(s,l) } else a = null; return a } , s.prototype.renderAreas2 = function(e, r, i, n, o) { if (null == i || i.length <= 1) return; var a = new t.StiSplineRangeSeriesGeom(r,i,n,o); null != a && (r.createChildGeoms(), r.childGeoms.add(a)) } , Object.defineProperty(s.prototype, "localizedName", { get: function() { return n.get("Chart", "SplineRange") }, enumerable: !0, configurable: !0 }), s }(t.StiSplineSeriesCoreXF); t.StiSplineRangeSeriesCoreXF = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiSolidBrush , n = e.Base.Localization.StiLocalization , o = e.System.Drawing.Point , a = e.System.Drawing.Color , s = function(e) { function s(t) { return e.call(this, t) || this } return __extends(s, e), s.prototype.applyStyle = function(t, r) { e.prototype.applyStyle.call(this, t, r); var i = this.series; i.allowApplyStyle && (i.brush = t.core.getAreaBrush(r)) } , s.prototype.renderSeries = function(e, r, i, n) { var a, s; if (null == n || 0 == n.length || null == this.series.chart) return; var l = i.area; try { for (var u = __values(n), c = u.next(); !c.done; c = u.next()) { var h = c.value , p = h.values.length , f = Array.create(o, p, !0) , m = Array.create(o, p, !0); h.valuesEnd.length < p && (p = h.valuesEnd.length); for (var S = 0; S < p; S++) { var d = l.reverseHor ? h.values[h.values.length - S - 1] : h.values[S] , y = l.reverseHor ? h.valuesEnd[h.values.length - S - 1] : h.valuesEnd[S]; f[S] = this.getYPoint(d, h, l, S), m[S] = this.getYPoint(y, h, l, S) } this.renderAreas2(e, i, f, m, h), this.renderLines2(e, i, f, h.values, h), this.renderLines2(e, i, m, h.valuesEnd, h); var g = 0 , b = h.core.getSeriesLabels(); if (null != b && b.visible) for (var S = 0; S < p; S++) { var d = h.values[S] , y = h.valuesEnd[S]; null == d && h.showNulls && (d = 0), null == y && h.showNulls && (d = 0); var v = d; l.reverseVert && null != d && (v = -v); var C = y; l.reverseVert && null != y && (C = -C), g = h.yAxis == t.StiSeriesYAxis.LeftYAxis ? l.axisCore.getDividerY() : l.axisCore.getDividerRightY(); var w = f[S] , x = m[S]; if (null != w) { var _ = new o(w.x,g); if (0 == b.step || S % b.step == 0) { var A = b.core.renderLabel(h, e, this.correctPoint(w, r, h.labelsOffset * e.options.zoom), this.correctPoint(_, r, h.labelsOffset * e.options.zoom), S, v, d, l.axisCore.getArgumentLabel(l.xAxis.info.stripLines.getByIndex(S), h), this.getTag(S), 0, 1, r); null != A && (i.createChildGeoms(), i.childGeoms.add(A), A.clientRectangle = this.checkLabelsRect(b, i, A.clientRectangle.clone())) } } if (null != x) { var _ = new o(x.x,g); if (0 == b.step || S % b.step == 0) { var A = b.core.renderLabel(h, e, this.correctPoint(x, r, h.labelsOffset * e.options.zoom), this.correctPoint(_, r, h.labelsOffset * e.options.zoom), S, C, y, l.axisCore.getArgumentLabel(l.xAxis.info.stripLines.getByIndex(S), h), this.getTag(S), 0, 1, r); null != A && (i.createChildGeoms(), i.childGeoms.add(A), A.clientRectangle = this.checkLabelsRect(b, i, A.clientRectangle.clone())) } } } } } catch (e) { a = { error: e } } finally { try { c && !c.done && (s = u.return) && s.call(u) } finally { if (a) throw a.error } } } , s.prototype.renderAreas2 = function(e, r, i, n, o) { if (null == i || i.length <= 1) return; if (null == n || n.length <= 1) return; var a = new t.StiSteppedRangeSeriesGeom(r,i,n,o); null != a && (r.createChildGeoms(), r.childGeoms.add(a)) } , s.prototype.renderLines2 = function(e, r, i, n, o) { var a = o; if (i.length > 1 || a.pointAtCenter && i.length > 0) { var s = new t.StiSteppedLineSeriesGeom(r,i,o); null != s && (r.createChildGeoms(), r.childGeoms.add(s)), null != this.interaction && (s.interactions = this.getInteractions(e, r, i)) } this.renderMarkers2(e, r, i, n, o) } , s.prototype.renderMarkers2 = function(e, n, s, l, u) { var c, h, p = n.area, f = u; if (0 == s.length) return; var m = !f.marker.visible && f.toolTips.length > 0; if (null != f.marker && (f.marker.visible || m)) { var S = new i(a.fromArgb(55, a.black)) , d = new r(f.marker.borderColor) , y = 0; try { for (var g = __values(s), b = g.next(); !b.done; b = g.next()) { var v = b.value; if (null != v) { var C = p.reverseHor ? l[f.values.length - y - 1] : l[y]; null == C && f.showNulls && (C = 0); var w = n.view.clientRectangle.clone(); w.x = 0, w.y = 0, w.inflate(10, 10); var x = new o(v.x,v.y); if (x.x += n.clientRectangle.x, x.y += n.clientRectangle.y, w.contains(x.x, x.y)) { var _ = new t.StiMarkerGeom(u,y,C,v,f.marker,f.showShadow,e.options.zoom,m); if (null != _) { if (null != f.core.interaction) { var A = new t.StiSeriesInteractionData; A.fill(p, f, y), _.interaction = A } n.createChildGeoms(), n.childGeoms.add(_) } } } y++ } } catch (e) { c = { error: e } } finally { try { b && !b.done && (h = g.return) && h.call(g) } finally { if (c) throw c.error } } } } , s.prototype.getYPoint = function(e, r, i, n) { var a, s = i.xAxis.info.stripPositions.getKeys(), l = i.xAxis.core.getStartFromZero() ? i.xAxis.info.stripPositions.getByIndex(n + 1, s) : i.xAxis.info.stripPositions.getByIndex(n, s); if (null != e || r.showNulls) { null == e && r.showNulls && (e = 0), i.reverseVert && null != e && (e = -e); var u = 0; u = r.yAxis == t.StiSeriesYAxis.LeftYAxis ? -e * i.yAxis.info.dpi + i.axisCore.getDividerY() : -e * i.yRightAxis.info.dpi + i.axisCore.getDividerRightY(), a = new o(l,u) } else a = null; return a } , Object.defineProperty(s.prototype, "localizedName", { get: function() { return n.get("Chart", "SteppedRange") }, enumerable: !0, configurable: !0 }), s }(t.StiSteppedLineSeriesCoreXF); t.StiSteppedRangeSeriesCoreXF = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.renderLines = function(e, r, i) { if (null == i || i.length <= 1) return; var n = new t.StiLineSeriesGeom(r,i,this.series); null != n && (r.createChildGeoms(), r.childGeoms.add(n)), this.renderMarkers(e, r, i) } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "ScatterLine") }, enumerable: !0, configurable: !0 }), i }(t.StiScatterSeriesCoreXF); t.StiScatterLineSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function i(t) { return e.call(this, t) || this } return __extends(i, e), i.prototype.renderLines = function(e, r, i) { if (null == i || i.length <= 1) return; var n = new t.StiScatterSplineSeriesGeom(r,i,this.series); null != n && (r.createChildGeoms(), r.childGeoms.add(n)), this.renderMarkers(e, r, i) } , Object.defineProperty(i.prototype, "localizedName", { get: function() { return r.get("Chart", "ScatterSpline") }, enumerable: !0, configurable: !0 }), i }(t.StiScatterSeriesCoreXF); t.StiScatterSplineSeriesCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.TimeSpan , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Color , o = e.Base.Context.Animation.StiOpacityAnimation , a = function(a) { function s(e) { return a.call(this, e) || this } return __extends(s, a), s.prototype.applyStyle = function(e, t) { a.prototype.applyStyle.call(this, e, t); var r = this.series; r.allowApplyStyle && (r.brush = e.core.getColumnBrush(t), r.borderColor = e.core.getColumnBorder(t)) } , s.prototype.renderSeries = function(e, i, a, s) { var l, u, c, h, p = t.StiChartHelper.globalDurationElement, f = t.StiChartHelper.globalBeginTimeElement, m = this.series.chart.area.core.normalizeDataForArea(this.series.values, i.width * i.height), S = this.series.chart.area.core.squarify(m, [], i, []), d = 0; try { for (var y = __values(s), g = y.next(); !g.done; g = y.next()) { var b = g.value; if (b == this.series) break; d += b.values.length } } catch (e) { l = { error: e } } finally { try { g && !g.done && (u = y.return) && u.call(y) } finally { if (l) throw l.error } } var v = 0; try { for (var C = __values(s), w = C.next(); !w.done; w = C.next()) { var b = w.value; v += b.values.length } } catch (e) { c = { error: e } } finally { try { w && !w.done && (h = C.return) && h.call(C) } finally { if (c) throw c.error } } for (var x = 0; x < S.length; x++) { var _ = this.series.core.getSeriesBrush(d, v) , A = this.series.core.getSeriesBorderColor(d, v); 0 != A.a || this.series.chart.area.colorEach || (A = n.white); var L = new r(f.ticks / S.length * (x + 2)) , O = new o(p,L) , P = new t.StiTreemapSeriesElementGeom(a,this.series.values[x],x,_,A,this.series,S[x],O); if (null != this.series.core.interaction) { var B = new t.StiSeriesInteractionData; B.fill(a.area, this.series, x), P.interaction = B } a.createChildGeoms(), a.childGeoms.add(P); var R = this.series.chart.seriesLabels.stimulsoft.as(t.StiCenterTreemapLabels); if (null != R && R.visible) { var k = R.core.renderLabel(this.series, e, x, this.series.values[x], this.getArgumentText(this.series, x), this.series.core.getTag(x), d, v, S[x], null); null != k && (a.createChildGeoms(), a.childGeoms.add(k)) } d++ } } , s.prototype.getArgumentText = function(t, r) { if (t.arguments.length > r && null != t.arguments[r]) return t.arguments[r].toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); return "" } , s.prototype.getSeriesBrush = function(e, t) { var r = a.prototype.getSeriesBrush.call(this, e, t); if (null == r) return this.series.brush; return r } , s.prototype.getSeriesBorderColor = function(e, t) { var r = a.prototype.getSeriesBorderColor.call(this, e, t); if (null == r) return this.series.borderColor; return r } , Object.defineProperty(s.prototype, "localizedName", { get: function() { return i.get("Chart", "Treemap") }, enumerable: !0, configurable: !0 }), s }(t.StiSeriesCoreXF); t.StiTreemapSeriesCoreXF = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiSolidBrush , i = e.System.Drawing.Color , n = e.System.Drawing.Rectangle , o = e.System.ICloneable , a = function() { function a(e) { this._strips = e } return a.prototype.implements = function() { return a.implementsStiStripsCoreXF || (a.implementsStiStripsCoreXF = [t.IStiApplyStyle, o, t.IStiStripsCoreXF]), a.implementsStiStripsCoreXF } , a.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , a.prototype.applyStyle = function(e) { this.strips.allowApplyStyle && (this.strips.titleColor = e.core.chartAreaBorderColor, this.strips.stripBrush = new r(i.fromArgb(150, e.core.basicStyleColor))) } , a.prototype.renderXStrips = function(r, i, o) { var a = this.strips.chart.area; if (null == a) return; var s; try { s = this.strips.minValue.stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1), s = 0 } var l = a.axisCore.getDividerX() + s * a.xAxis.info.dpi; try { s = this.strips.maxValue.stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1), s = 0 } var u = a.axisCore.getDividerX() + s * a.xAxis.info.dpi; if (a.reverseHor && (l = o.width - l, u = o.width - u), l > u) { var c = l; l = u, u = c } var h = new n(l,0,u - l,o.height) , p = new t.StiStripsXGeom(this.strips,h); i.createChildGeoms(), i.childGeoms.add(p) } , a.prototype.renderYStrips = function(r, i, o) { var a = this.strips.chart.area; if (null == a) return; var s; try { s = this.strips.minValue.stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1), s = 0 } a.reverseVert && (s = -s); var l; l = this.strips.orientation == t.StiStrips_StiOrientation.Horizontal ? a.axisCore.getDividerY() - s * a.yAxis.info.dpi : a.axisCore.getDividerRightY() - s * a.yRightAxis.info.dpi; try { s = this.strips.maxValue.stimulsoft.toNumber() } catch (t) { e.System.StiError.showError(t, !1), s = 0 } a.reverseVert && (s = -s); var u; if (u = this.strips.orientation == t.StiStrips_StiOrientation.Horizontal ? a.axisCore.getDividerY() - s * a.yAxis.info.dpi : a.axisCore.getDividerRightY() - s * a.yRightAxis.info.dpi, l > u) { var c = l; l = u, u = c } var h = new n(0,l,o.width,u - l) , p = new t.StiStripsYGeom(this.strips,h); i.createChildGeoms(), i.childGeoms.add(p) } , a.prototype.render = function(e, r, i) { if (!this.strips.visible) return; this.strips.orientation == t.StiStrips_StiOrientation.Vertical && this.renderXStrips(e, r, i), this.strips.orientation != t.StiStrips_StiOrientation.Horizontal && this.strips.orientation != t.StiStrips_StiOrientation.HorizontalRight || this.renderYStrips(e, r, i) } , Object.defineProperty(a.prototype, "strips", { get: function() { return this._strips }, set: function(e) { this._strips = e }, enumerable: !0, configurable: !0 }), a }(); t.StiStripsCoreXF = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Font , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = e.Base.Drawing.StiGradientBrush , a = e.Base.Drawing.StiColorUtils , s = function() { function e() { this._chart = null, this._markerVisible = !0 } return e.prototype.implements = function() { return e.implementsStiStyleCoreXF || (e.implementsStiStyleCoreXF = [t.IStiStyleCoreXF]), e.implementsStiStyleCoreXF } , Object.defineProperty(e.prototype, "localizedName", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle01 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "chartBrush", { get: function() { return new i(a.light(this.basicStyleColor, 100)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "chartAreaBrush", { get: function() { return new o(a.light(this.basicStyleColor, 80),a.light(this.basicStyleColor, 40),90) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "chartAreaBorderColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "chart", { get: function() { return this._chart }, set: function(e) { this._chart = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "chartAreaShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seriesLabelsBrush", { get: function() { return new i(this.basicStyleColor) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seriesLabelsColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seriesLabelsBorderColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seriesLabelsLineColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seriesLabelsFont", { get: function() { return new r("Arial",7) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "trendLineColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "trendLineShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "legendBrush", { get: function() { return new o(a.light(this.basicStyleColor, 80),a.light(this.basicStyleColor, 20),90) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "legendLabelsColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "legendBorderColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "legendTitleColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "legendShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "legendFont", { get: function() { return new r("Arial",8) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "axisTitleColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "axisLineColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "axisLabelsColor", { get: function() { return a.dark(this.basicStyleColor, 150) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "interlacingHorBrush", { get: function() { return new i(n.fromArgb(10, a.dark(this.basicStyleColor, 100))) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "interlacingVertBrush", { get: function() { return new i(n.fromArgb(10, a.dark(this.basicStyleColor, 100))) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "gridLinesHorColor", { get: function() { return n.fromArgb(100, a.dark(this.basicStyleColor, 150)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "gridLinesVertColor", { get: function() { return n.fromArgb(100, a.dark(this.basicStyleColor, 150)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seriesLighting", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seriesShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seriesShowBorder", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "markerVisible", { get: function() { return this._markerVisible }, set: function(e) { this._markerVisible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "firstStyleColor", { get: function() { return this.styleColors[0] }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "lastStyleColor", { get: function() { return this.styleColors[this.styleColors.length - 1] }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "styleColors", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "basicStyleColor", { get: function() { return null }, enumerable: !0, configurable: !0 }), e.prototype.fillColumn = function(e, t, r, i) { e.fillRectangle2(r, t.x, t.y, t.width, t.height, i) } , e.prototype.getAreaBrush = function(e) { return new i(n.fromArgb(200, e)) } , e.prototype.getColumnBrush = function(e) { return new o(e,a.dark(e, 50),0) } , e.prototype.getColumnBorder = function(e) { if (!this.seriesShowBorder) return n.transparent; return a.dark(e, 100) } , e.prototype.getColors = function(e, t) { for (var r = Array.create(n, e), i = null != t ? t : this.styleColors, o = 0, a = 0, s = 0; s < e; s++) { if (0 == i.length || i.length < o) r[s] = n.fromArgb(255, 112, 173, 71); else if (0 != a) { var l = i[o] , u = Math.min(l.a + a, 255) , c = Math.min(l.r + a, 255) , h = Math.min(l.g + a, 255) , p = Math.min(l.b + a, 255); r[s] = n.fromArgb(u, c, h, p) } else r[s] = i[o]; o++, o == i.length && (o = 0, a = 50) } return r } , e.prototype.getColorByIndex = function(e, t, r) { return this.getColors(t, r)[e] } , e.prototype.getColorBySeries = function(e, t) { return this.getColors(e.chart.series.count, t)[e.chart.series.indexOf(e)] } , e }(); t.StiStyleCoreXF = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiGlareBrush , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Color , o = e.Base.Drawing.StiColorUtils , a = function(e) { function a() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromArgb(255, 194, 117, 53), n.fromArgb(255, 231, 140, 65), n.fromArgb(255, 248, 170, 121), n.fromArgb(255, 250, 203, 180), n.fromArgb(255, 253, 230, 220)], t } return __extends(a, e), Object.defineProperty(a.prototype, "localizedName", { get: function() { return i.get("Chart", "Style") + "01" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "basicStyleColor", { get: function() { return n.wheat }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle01 }, enumerable: !0, configurable: !0 }), a.prototype.getColumnBrush = function(e) { return new r(o.dark(e, 50),e,0) } , a }(t.StiStyleCoreXF); t.StiStyleCoreXF01 = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.Drawing.StiGradientBrush , n = e.Base.Drawing.StiGlareBrush , o = e.Base.Drawing.StiSolidBrush , a = e.Base.Drawing.StiColorUtils , s = function(e) { function s(t) { var i = e.call(this) || this; return i._base = new r.StiStyleCoreXF01, i.reportChartStyle = null, i._reportStyleName = null, i._customStyle = t, i } return __extends(s, e), Object.defineProperty(s.prototype, "localizedName", { get: function() { return "CustomStyle" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartBrush", { get: function() { if (null != this.reportStyle) return this.reportStyle.brush; return this._base.chartBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartAreaBrush", { get: function() { if (null != this.reportStyle) return this.reportStyle.chartAreaBrush; return this._base.chartAreaBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartAreaBorderColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.chartAreaBorderColor; return this._base.chartAreaBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartAreaShowShadow", { get: function() { if (null != this.reportStyle) return this.reportStyle.chartAreaShowShadow; return this._base.chartAreaShowShadow }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLighting", { get: function() { if (null != this.reportStyle) return this.reportStyle.seriesLighting; return this._base.seriesLighting }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesShowShadow", { get: function() { if (null != this.reportStyle) return this.reportStyle.seriesShowShadow; return this._base.seriesShowShadow }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesShowBorder", { get: function() { if (null != this.reportStyle) return this.reportStyle.seriesShowBorder; return this._base.seriesShowBorder }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBrush", { get: function() { if (null != this.reportStyle) return this.reportStyle.seriesLabelsBrush; return this._base.seriesLabelsBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.seriesLabelsColor; return this._base.seriesLabelsColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBorderColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.seriesLabelsBorderColor; return this._base.seriesLabelsBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsLineColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.seriesLabelsLineColor; return this._base.seriesLabelsLineColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "trendLineColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.trendLineColor; return this._base.trendLineColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "trendLineShowShadow", { get: function() { if (null != this.reportStyle) return this.reportStyle.trendLineShowShadow; return this._base.trendLineShowShadow }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBrush", { get: function() { if (null != this.reportStyle) return this.reportStyle.legendBrush; return this._base.legendBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendLabelsColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.legendLabelsColor; return this._base.legendLabelsColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBorderColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.legendBorderColor; return this._base.legendBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendTitleColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.legendTitleColor; return this._base.legendTitleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "markerVisible", { get: function() { if (null != this.reportStyle) return this.reportStyle.markerVisible; return this._base.markerVisible }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "axisTitleColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.axisTitleColor; return this._base.axisTitleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "axisLineColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.axisLineColor; return this._base.axisLineColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "axisLabelsColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.axisLabelsColor; return this._base.axisLabelsColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "interlacingHorBrush", { get: function() { if (null != this.reportStyle) return this.reportStyle.interlacingHorBrush; return this._base.interlacingHorBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "interlacingVertBrush", { get: function() { if (null != this.reportStyle) return this.reportStyle.interlacingVertBrush; return this._base.interlacingVertBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "gridLinesHorColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.gridLinesHorColor; return this._base.gridLinesHorColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "gridLinesVertColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.gridLinesVertColor; return this._base.gridLinesVertColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleColors", { get: function() { if (null != this.reportStyle) return this.reportStyle.styleColors; return this._base.styleColors }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "basicStyleColor", { get: function() { if (null != this.reportStyle) return this.reportStyle.basicStyleColor; return this._base.basicStyleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "reportStyleName", { get: function() { return this._reportStyleName }, set: function(e) { this._reportStyleName = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "reportStyle", { get: function() { var e = null == this.reportStyleName ? this.chart.customStyleName : this.reportStyleName; if (null == this.chart || null == this.chart.report || null == e || 0 == e.length) return null; return this.chart.report.styles.getByName(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "customStyle", { get: function() { return this._customStyle }, enumerable: !0, configurable: !0 }), s.prototype.getColumnBrush = function(e) { if (null != this.reportStyle) switch (this.reportStyle.brushType) { case t.StiBrushType.Glare: return new n(a.dark(e, 50),e,0); case t.StiBrushType.Gradient0: return new i(a.dark(e, 50),e,0); case t.StiBrushType.Gradient90: return new i(a.dark(e, 50),e,90); case t.StiBrushType.Gradient180: return new i(a.dark(e, 50),e,180); case t.StiBrushType.Gradient270: return new i(a.dark(e, 50),e,270); case t.StiBrushType.Gradient45: return new i(a.dark(e, 50),e,45); case t.StiBrushType.Solid: return new o(e) } return new o(e) } , s }(r.StiStyleCoreXF01); r.StiCustomStyleCoreXF = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiGlareBrush , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Color , o = e.Base.Drawing.StiColorUtils , a = function(e) { function a() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromArgb(255, 128, 145, 165), n.fromArgb(255, 171, 123, 122), n.fromArgb(255, 155, 167, 129), n.fromArgb(255, 144, 133, 157), n.fromArgb(255, 121, 161, 173), n.fromArgb(255, 189, 152, 122), n.fromArgb(255, 139, 164, 194), n.fromArgb(255, 202, 132, 130), n.fromArgb(255, 179, 198, 141), n.fromArgb(255, 162, 146, 182)], t } return __extends(a, e), Object.defineProperty(a.prototype, "localizedName", { get: function() { return i.get("Chart", "Style") + "02" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "basicStyleColor", { get: function() { return n.whiteSmoke }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle02 }, enumerable: !0, configurable: !0 }), a.prototype.getColumnBrush = function(e) { return new r(e,o.light(e, 50),0) } , a }(t.StiStyleCoreXF); t.StiStyleCoreXF02 = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = function(e) { function o() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromArgb(255, 150, 61, 59), n.fromArgb(255, 179, 74, 71), n.fromArgb(255, 201, 126, 125), n.fromArgb(255, 221, 182, 181), n.fromArgb(255, 238, 221, 221)], t } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "03" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "basicStyleColor", { get: function() { return n.whiteSmoke }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle03 }, enumerable: !0, configurable: !0 }), o.prototype.getColumnBrush = function(e) { return new i(e) } , o }(t.StiStyleCoreXF); t.StiStyleCoreXF03 = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(255, 72, 57, 90), i.fromArgb(255, 109, 87, 137), i.fromArgb(255, 146, 123, 173), i.fromArgb(255, 181, 166, 200)], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "04" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "basicStyleColor", { get: function() { return i.fromArgb(255, 181, 166, 200) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle04 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF); t.StiStyleCoreXF04 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(255, 224, 169, 61), i.fromArgb(255, 180, 181, 0), i.fromArgb(255, 14, 152, 13), i.fromArgb(255, 170, 72, 36), i.fromArgb(255, 133, 221, 77), i.fromArgb(255, 230, 199, 69), i.fromArgb(255, 219, 100, 52), i.fromArgb(255, 131, 190, 47)], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "05" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "basicStyleColor", { get: function() { return i.lemonChiffon }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle05 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF); t.StiStyleCoreXF05 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = function(e) { function o() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromArgb(255, 206, 185, 102), n.fromArgb(255, 156, 176, 132), n.fromArgb(255, 107, 177, 201), n.fromArgb(255, 101, 133, 207), n.fromArgb(255, 126, 107, 201), n.fromArgb(255, 163, 121, 187)], t } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "06" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "basicStyleColor", { get: function() { return n.fromArgb(255, 202, 198, 206) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle06 }, enumerable: !0, configurable: !0 }), o.prototype.getColumnBrush = function(e) { return new i(e) } , o }(t.StiStyleCoreXF); t.StiStyleCoreXF06 = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiGradientBrush , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Color , o = e.Base.Drawing.StiColorUtils , a = function(e) { function a() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromArgb(255, 217, 251, 168), n.fromArgb(255, 200, 181, 231), n.fromArgb(255, 158, 232, 255), n.fromArgb(255, 255, 189, 134), n.fromArgb(255, 163, 195, 254)], t } return __extends(a, e), Object.defineProperty(a.prototype, "localizedName", { get: function() { return i.get("Chart", "Style") + "07" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "basicStyleColor", { get: function() { return n.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle07 }, enumerable: !0, configurable: !0 }), a.prototype.getColumnBrush = function(e) { return new r(o.dark(e, 50),o.light(e, 50),-90) } , a }(t.StiStyleCoreXF); t.StiStyleCoreXF07 = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = function(e) { function o() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromArgb(255, 60, 100, 148), n.fromArgb(255, 73, 120, 177), n.fromArgb(255, 126, 155, 200), n.fromArgb(255, 182, 195, 220), n.fromArgb(255, 221, 227, 238)], t } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "08" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "basicStyleColor", { get: function() { return n.fromArgb(238, 182, 195, 220) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle08 }, enumerable: !0, configurable: !0 }), o.prototype.getColumnBrush = function(e) { return new i(e) } , o }(t.StiStyleCoreXF03); t.StiStyleCoreXF08 = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(255, 79, 129, 189), i.fromArgb(255, 192, 80, 77), i.fromArgb(255, 155, 187, 89), i.fromArgb(255, 128, 100, 162), i.fromArgb(255, 75, 172, 198), i.fromArgb(255, 247, 150, 70)], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "09" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "basicStyleColor", { get: function() { return i.fromArgb(238, 238, 236, 225) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle09 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF); t.StiStyleCoreXF09 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(255, 121, 181, 176), i.fromArgb(255, 180, 188, 76), i.fromArgb(255, 183, 120, 81), i.fromArgb(255, 119, 106, 91), i.fromArgb(255, 182, 173, 118), i.fromArgb(255, 149, 174, 177)], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "10" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "basicStyleColor", { get: function() { return i.fromArgb(255, 209, 225, 227) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle10 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF); t.StiStyleCoreXF10 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = e.Base.Drawing.StiColorUtils , o = function(e) { function o() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(255, 204, 77, 92), i.fromArgb(255, 255, 111, 97), i.fromArgb(255, 255, 149, 62), i.fromArgb(255, 248, 189, 82)], t } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "11" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "basicStyleColor", { get: function() { return n.dark(i.navajoWhite, 30) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle11 }, enumerable: !0, configurable: !0 }), o }(t.StiStyleCoreXF); t.StiStyleCoreXF11 = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.goldenrod, i.khaki], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "12" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "basicStyleColor", { get: function() { return i.moccasin }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle12 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF); t.StiStyleCoreXF12 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(255, 151, 158, 168), i.fromArgb(255, 189, 174, 137), i.fromArgb(255, 205, 176, 5), i.fromArgb(255, 170, 166, 194), i.fromArgb(255, 132, 191, 210), i.fromArgb(255, 139, 159, 115)], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "13" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "basicStyleColor", { get: function() { return i.fromArgb(255, 212, 210, 208) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle13 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF); t.StiStyleCoreXF13 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(255, 240, 162, 46), i.fromArgb(255, 165, 100, 78), i.fromArgb(255, 181, 139, 128), i.fromArgb(255, 195, 152, 109), i.fromArgb(255, 161, 149, 116), i.fromArgb(255, 193, 117, 41)], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "14" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "basicStyleColor", { get: function() { return i.fromArgb(255, 251, 238, 201) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle14 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF); t.StiStyleCoreXF14 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(255, 15, 111, 198), i.fromArgb(255, 0, 157, 217), i.fromArgb(255, 11, 208, 217), i.fromArgb(255, 16, 207, 155), i.fromArgb(255, 124, 202, 98), i.fromArgb(255, 165, 194, 73)], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "15" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "basicStyleColor", { get: function() { return i.fromArgb(255, 219, 245, 249) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle15 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF); t.StiStyleCoreXF15 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(255, 255, 128, 0), i.black, i.silver, i.red], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "16" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "basicStyleColor", { get: function() { return i.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle16 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF); t.StiStyleCoreXF16 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.white, i.black], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "17" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "basicStyleColor", { get: function() { return i.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle17 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF); t.StiStyleCoreXF17 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiHatchBrush , i = e.Base.Localization.StiLocalization , n = e.Base.Drawing.StiSolidBrush , o = e.System.Drawing.Color , a = e.System.Drawing.Drawing2D.HatchStyle , s = function(e) { function s() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [o.white, o.black, o.silver, o.red, o.green, o.blue], t } return __extends(s, e), Object.defineProperty(s.prototype, "localizedName", { get: function() { return i.get("Chart", "Style") + "18" }, enumerable: !0, configurable: !0 }), s.prototype.fillColumn = function(e, t, i, n) { var s = a.Cross , l = i; o.white.stimulsoft.equals(l.color) ? s = a.BackwardDiagonal : o.black.stimulsoft.equals(l.color) ? s = a.DottedGrid : o.silver.stimulsoft.equals(l.color) ? s = a.Horizontal : o.red.stimulsoft.equals(l.color) ? s = a.Percent25 : o.green.stimulsoft.equals(l.color) ? s = a.OutlinedDiamond : o.blue.stimulsoft.equals(l.color) && (s = a.ForwardDiagonal); var u = new r(s,o.black,o.white); e.fillRectangle2(u, t.x, t.y, t.width, t.height, n) } , s.prototype.getColumnBrush = function(e) { return new n(e) } , Object.defineProperty(s.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "basicStyleColor", { get: function() { return o.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle18 }, enumerable: !0, configurable: !0 }), s }(t.StiStyleCoreXF); t.StiStyleCoreXF18 = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = function(e) { function o() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromArgb(255, 242, 234, 221), n.fromArgb(255, 240, 237, 232), n.fromArgb(255, 232, 221, 203), n.fromArgb(255, 225, 201, 173), n.fromArgb(255, 216, 180, 140)], t } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "19" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "basicStyleColor", { get: function() { return n.fromArgb(255, 242, 234, 221) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "interlacingHorBrush", { get: function() { return new i(n.fromArgb(128, 240, 237, 232)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "interlacingVertBrush", { get: function() { return new i(n.fromArgb(128, 240, 237, 232)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "chartAreaBrush", { get: function() { return new i(n.fromArgb(128, 240, 237, 232)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "chartBrush", { get: function() { return new i(n.white) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle19 }, enumerable: !0, configurable: !0 }), o.prototype.getColumnBrush = function(e) { return new i(e) } , o }(t.StiStyleCoreXF); t.StiStyleCoreXF19 = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = e.Base.Drawing.StiColorUtils , a = function(e) { function a() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromArgb(255, 217, 187, 148), n.fromArgb(255, 245, 190, 119), n.fromArgb(255, 230, 189, 127), n.fromArgb(255, 220, 217, 212), n.fromArgb(255, 237, 229, 216), n.fromArgb(255, 246, 233, 212)], t } return __extends(a, e), Object.defineProperty(a.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "20" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "basicStyleColor", { get: function() { return n.bisque }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "axisLineColor", { get: function() { return o.dark(this.basicStyleColor, 50) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "chartAreaBorderColor", { get: function() { return o.dark(this.basicStyleColor, 50) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle20 }, enumerable: !0, configurable: !0 }), a.prototype.getColumnBrush = function(e) { return new i(e) } , a }(t.StiStyleCoreXF); t.StiStyleCoreXF20 = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = e.Base.Drawing.StiColorUtils , a = function(e) { function a() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromArgb(35, 159, 217), n.fromArgb(178, 178, 178)], t } return __extends(a, e), Object.defineProperty(a.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "21" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "chartBrush", { get: function() { return new i(o.light(this.basicStyleColor, 100)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "chartAreaBrush", { get: function() { return new i(this.basicStyleColor) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "chartAreaBorderColor", { get: function() { return n.fromArgb(106, 106, 106) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesLabelsBrush", { get: function() { return new i(o.light(this.basicStyleColor, 100)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesLabelsColor", { get: function() { return n.fromArgb(106, 106, 106) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesLabelsBorderColor", { get: function() { return n.fromArgb(255, 255, 255) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "legendBrush", { get: function() { return new i(o.light(this.basicStyleColor, 100)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "legendLabelsColor", { get: function() { return n.fromArgb(106, 106, 106) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "axisTitleColor", { get: function() { return n.fromArgb(106, 106, 106) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "axisLineColor", { get: function() { return n.fromArgb(106, 106, 106) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "axisLabelsColor", { get: function() { return n.fromArgb(106, 106, 106) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "basicStyleColor", { get: function() { return n.fromArgb(102, 102, 102) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle21 }, enumerable: !0, configurable: !0 }), a.prototype.getColumnBrush = function(e) { return new i(e) } , a.prototype.getColumnBorder = function(e) { return o.light(e, 255) } , a }(t.StiStyleCoreXF); t.StiStyleCoreXF21 = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = e.Base.Drawing.StiColorUtils , a = function(e) { function a() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromArgb(91, 155, 213), n.fromArgb(237, 125, 49), n.fromArgb(159, 159, 159), n.fromArgb(255, 192, 0), n.fromArgb(68, 114, 196), n.fromArgb(112, 173, 71)], t } return __extends(a, e), Object.defineProperty(a.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "22" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "chartBrush", { get: function() { return new i(o.light(this.basicStyleColor, 100)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "chartAreaBrush", { get: function() { return new i(this.basicStyleColor) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "chartAreaBorderColor", { get: function() { return n.fromArgb(171, 172, 173) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesLabelsBrush", { get: function() { return new i(o.light(this.basicStyleColor, 100)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesLabelsColor", { get: function() { return n.fromArgb(90, 90, 90) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesLabelsBorderColor", { get: function() { return n.fromArgb(140, 140, 140) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "legendBrush", { get: function() { return new i(o.light(this.basicStyleColor, 100)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "legendLabelsColor", { get: function() { return n.fromArgb(140, 140, 140) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "axisTitleColor", { get: function() { return n.fromArgb(140, 140, 140) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "axisLineColor", { get: function() { return n.fromArgb(140, 140, 140) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "axisLabelsColor", { get: function() { return n.fromArgb(140, 140, 140) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "basicStyleColor", { get: function() { return n.fromArgb(255, 255, 255) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle22 }, enumerable: !0, configurable: !0 }), a.prototype.getColumnBrush = function(e) { return new i(e) } , a.prototype.getColumnBorder = function(e) { return o.light(e, 255) } , a }(t.StiStyleCoreXF); t.StiStyleCoreXF22 = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(91, 155, 213), i.fromArgb(159, 159, 159), i.fromArgb(68, 114, 196), i.fromArgb(37, 94, 145), i.fromArgb(99, 99, 99), i.fromArgb(38, 68, 120)], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "23" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle23 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF22); t.StiStyleCoreXF23 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [i.fromArgb(237, 125, 49), i.fromArgb(255, 192, 0), i.fromArgb(112, 173, 71), i.fromArgb(158, 72, 14), i.fromArgb(153, 115, 0), i.fromArgb(67, 104, 43)], t } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "24" }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle24 }, enumerable: !0, configurable: !0 }), n }(t.StiStyleCoreXF22); t.StiStyleCoreXF24 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Color , n = e.System.Drawing.ColorTranslator , o = e.System.Drawing.Font , a = e.Base.Drawing.StiColorUtils , s = e.Base.Drawing.StiSolidBrush , l = function(e) { function l() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromHtml("#70ad47"), n.fromHtml("#4472c4"), n.fromHtml("#ffc000"), n.fromHtml("#43682b"), n.fromHtml("#fd6a37"), n.fromHtml("#997300")], t } return __extends(l, e), Object.defineProperty(l.prototype, "localizedName", { get: function() { return r.get("Chart", "Style") + "25" }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle25 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendBorderColor", { get: function() { return a.dark(this.basicStyleColor, 30) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLabelsBrush", { get: function() { return new s(i.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLabelsColor", { get: function() { return n.fromHtml("#33475b") }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLabelsBorderColor", { get: function() { return i.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLabelsFont", { get: function() { return new o("Arial",10) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLighting", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), l }(t.StiStyleCoreXF22); t.StiStyleCoreXF25 = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Font , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Color , o = e.System.Drawing.ColorTranslator , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiColorUtils , l = function(e) { function l() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [o.fromHtml("#2ec6c8"), o.fromHtml("#b5a1dd"), o.fromHtml("#5ab0ee"), o.fromHtml("#f4984e"), o.fromHtml("#d77a80"), o.fromHtml("#d04456")], t } return __extends(l, e), Object.defineProperty(l.prototype, "localizedName", { get: function() { return i.get("Chart", "Style") + "26" }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "chartAreaBrush", { get: function() { return new a(o.fromHtml("#ffffff")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendBorderColor", { get: function() { return s.dark(this.basicStyleColor, 30) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLabelsBrush", { get: function() { return new a(n.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLabelsColor", { get: function() { return o.fromHtml("#33475B") }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLabelsBorderColor", { get: function() { return n.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLabelsFont", { get: function() { return new r("Arial",10) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLighting", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "markerVisible", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle26 }, enumerable: !0, configurable: !0 }), l.prototype.getColumnBorder = function(e) { return n.transparent } , l }(t.StiStyleCoreXF22); t.StiStyleCoreXF26 = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Font , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Color , o = e.System.Drawing.ColorTranslator , a = e.Base.Drawing.StiSolidBrush , s = function(e) { function s() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [o.fromHtml("#0bac45"), o.fromHtml("#585257"), o.fromHtml("#ec334d"), o.fromHtml("#a1ae94"), o.fromHtml("#ed7d31"), o.fromHtml("#5ab0ee")], t } return __extends(s, e), Object.defineProperty(s.prototype, "localizedName", { get: function() { return i.get("Chart", "Style") + "27" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartBrush", { get: function() { return new a(o.fromHtml("#33475b")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartAreaBrush", { get: function() { return new a(o.fromHtml("#33475b")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBrush", { get: function() { return new a(n.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsColor", { get: function() { return n.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBorderColor", { get: function() { return n.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsFont", { get: function() { return new r("Arial",10) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBrush", { get: function() { return new a(n.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendLabelsColor", { get: function() { return n.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBorderColor", { get: function() { return n.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendTitleColor", { get: function() { return n.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendFont", { get: function() { return new r("Arial",9) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLighting", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), s.prototype.getColumnBorder = function(e) { return n.transparent } , Object.defineProperty(s.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle27 }, enumerable: !0, configurable: !0 }), s }(t.StiStyleCoreXF22); t.StiStyleCoreXF27 = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Font , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.Color , o = e.System.Drawing.ColorTranslator , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiColorUtils , l = function(e) { function l() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [o.fromHtml("#165d9e"), o.fromHtml("#577eb6"), o.fromHtml("#569436"), o.fromHtml("#225056"), o.fromHtml("#d4dae0")], t } return __extends(l, e), Object.defineProperty(l.prototype, "localizedName", { get: function() { return i.get("Chart", "Style") + "28" }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "chartBrush", { get: function() { return new a(o.fromHtml("#0a325a")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "chartAreaBrush", { get: function() { return new a(o.fromHtml("#0a325a")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "axisTitleColor", { get: function() { return s.dark(this.basicStyleColor, 50) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "axisLineColor", { get: function() { return s.dark(this.basicStyleColor, 50) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "axisLabelsColor", { get: function() { return s.dark(this.basicStyleColor, 50) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesLabelsColor", { get: function() { return n.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendBrush", { get: function() { return new a(n.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendLabelsColor", { get: function() { return n.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendBorderColor", { get: function() { return n.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendTitleColor", { get: function() { return n.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendFont", { get: function() { return new r("Arial",9) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle28 }, enumerable: !0, configurable: !0 }), l }(t.StiStyleCoreXF26); t.StiStyleCoreXF28 = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiColorUtils , i = e.Base.Localization.StiLocalization , n = e.System.Drawing.ColorTranslator , o = function(e) { function o() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [n.fromHtml("#3498db"), n.fromHtml("#ef717a"), n.fromHtml("#6dcbb3"), n.fromHtml("#f28161"), n.fromHtml("#fccd1b")], t } return __extends(o, e), Object.defineProperty(o.prototype, "localizedName", { get: function() { return i.get("Chart", "Style") + "29" }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle29 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "legendShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "legendBorderColor", { get: function() { return r.dark(this.basicStyleColor, 30) }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "seriesLabelsColor", { get: function() { return n.fromHtml("#323a45") }, enumerable: !0, configurable: !0 }), o }(t.StiStyleCoreXF26); t.StiStyleCoreXF29 = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiSolidBrush , i = e.System.Drawing.Color , n = e.Base.Localization.StiLocalization , o = e.System.Drawing.ColorTranslator , a = e.System.Drawing.Font , s = function(e) { function s() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [o.fromHtml("#db7b46"), o.fromHtml("#d3d3d5"), o.fromHtml("#6b6e75"), o.fromHtml("#4a4c55")], t } return __extends(s, e), Object.defineProperty(s.prototype, "localizedName", { get: function() { return n.get("Chart", "Style") + "30" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartBrush", { get: function() { return new r(o.fromHtml("#595b65")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartAreaBrush", { get: function() { return new r(o.fromHtml("#595b65")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBrush", { get: function() { return new r(i.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsColor", { get: function() { return i.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBorderColor", { get: function() { return i.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsFont", { get: function() { return new a("Arial",10) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBrush", { get: function() { return new r(i.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendLabelsColor", { get: function() { return i.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendTitleColor", { get: function() { return i.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBorderColor", { get: function() { return i.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendFont", { get: function() { return new a("Arial",8) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLighting", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), s.prototype.getColumnBorder = function(e) { return i.transparent } , Object.defineProperty(s.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle30 }, enumerable: !0, configurable: !0 }), s }(t.StiStyleCoreXF22); t.StiStyleCoreXF30 = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiSolidBrush , i = e.System.Drawing.Color , n = e.Base.Localization.StiLocalization , o = e.System.Drawing.ColorTranslator , a = e.System.Drawing.Font , s = function(e) { function s() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [o.fromHtml("#a8d7e2"), o.fromHtml("#5ea8bf"), o.fromHtml("#2b7f9e"), o.fromHtml("#1c4458")], t } return __extends(s, e), Object.defineProperty(s.prototype, "localizedName", { get: function() { return n.get("Chart", "Style") + "31" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartBrush", { get: function() { return new r(o.fromHtml("#235e6d")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartAreaBrush", { get: function() { return new r(o.fromHtml("#235e6d")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBrush", { get: function() { return new r(i.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsColor", { get: function() { return i.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBorderColor", { get: function() { return i.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsFont", { get: function() { return new a("Arial",10) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBrush", { get: function() { return new r(i.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendLabelsColor", { get: function() { return i.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendTitleColor", { get: function() { return i.white }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBorderColor", { get: function() { return i.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendFont", { get: function() { return new a("Arial",9) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLighting", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), s.prototype.getColumnBorder = function(e) { return i.transparent } , Object.defineProperty(s.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle31 }, enumerable: !0, configurable: !0 }), s }(t.StiStyleCoreXF22); t.StiStyleCoreXF31 = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiColor , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = e.Base.Localization.StiLocalization , a = e.System.Drawing.Font , s = function(e) { function s() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [r.get("3a5263"), r.get("e9f5fc")], t } return __extends(s, e), Object.defineProperty(s.prototype, "localizedName", { get: function() { return o.get("Chart", "Style") + "32" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "basicStyleColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartBrush", { get: function() { return new i(r.get("6d7e8b")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartAreaBrush", { get: function() { return new i(r.get("6d7e8b")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBrush", { get: function() { return new i(n.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendLabelsColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBorderColor", { get: function() { return n.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendTitleColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendFont", { get: function() { return new a("Arial",9) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBrush", { get: function() { return new i(r.get("e9f4fc")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBorderColor", { get: function() { return n.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsLineColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsFont", { get: function() { return new a("Arial",10) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "axisTitleColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "axisLineColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "axisLabelsColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "gridLinesHorColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "gridLinesVertColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLighting", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle32 }, enumerable: !0, configurable: !0 }), s.prototype.getColumnBorder = function(e) { return n.transparent } , s.prototype.getColumnBrush = function(e) { return new i(e) } , s }(t.StiStyleCoreXF22); t.StiStyleCoreXF32 = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiColor , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = e.Base.Localization.StiLocalization , a = e.System.Drawing.Font , s = function(e) { function s() { var t = null !== e && e.apply(this, arguments) || this; return t._styleColor = [r.get("40568d"), r.get("4569bb"), r.get("e47334"), r.get("9d9c9c"), r.get("f8b92d"), r.get("5e93cc"), r.get("6ea548")], t } return __extends(s, e), Object.defineProperty(s.prototype, "localizedName", { get: function() { return o.get("Chart", "Style") + "33" }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleColors", { get: function() { return this._styleColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "basicStyleColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartBrush", { get: function() { return new i(r.get("f2f5fc")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "chartAreaBrush", { get: function() { return new i(r.get("f2f5fc")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBrush", { get: function() { return new i(n.transparent) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendLabelsColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendBorderColor", { get: function() { return n.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendTitleColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendShowShadow", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "legendFont", { get: function() { return new a("Arial",9) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBrush", { get: function() { return new i(r.get("e9f4fc")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBorderColor", { get: function() { return n.transparent }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsLineColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsFont", { get: function() { return new a("Arial",10) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "axisTitleColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "axisLineColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "axisLabelsColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "gridLinesHorColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "gridLinesVertColor", { get: function() { return r.get("e9f4fc") }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLighting", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "styleId", { get: function() { return t.StiChartStyleId.StiStyle33 }, enumerable: !0, configurable: !0 }), s.prototype.getColumnBorder = function(e) { return n.transparent } , s.prototype.getColumnBrush = function(e) { return new i(e) } , s }(t.StiStyleCoreXF); t.StiStyleCoreXF33 = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.StringTrimming , n = e.System.Drawing.StringFormatFlags , o = e.System.Drawing.StringAlignment , a = e.Base.Drawing.StiRotationMode , s = e.Base.Context.StiFontGeom , l = e.System.DateTime , u = e.System.Drawing.Point , c = e.System.Drawing.Rectangle , h = e.System.ICloneable , p = function() { function p(e) { this._chartTable = e } return p.prototype.implements = function() { return p.implementsStiChartTableCoreXF || (p.implementsStiChartTableCoreXF = [h, t.IStiApplyStyle, t.IStiChartTableCoreXF]), p.implementsStiChartTableCoreXF } , p.prototype.applyStyle = function(e) { this.chartTable.allowApplyStyle && (this.chartTable.gridLineColor = e.core.legendBorderColor, this.chartTable.textColor = e.core.legendLabelsColor) } , p.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(p.prototype, "chartTable", { get: function() { return this._chartTable }, set: function(e) { this._chartTable = e }, enumerable: !0, configurable: !0 }), p.prototype.showTable = function() { if ((this._chartTable.chart.area.stimulsoft.is(t.IStiClusteredColumnArea) || this._chartTable.chart.area.stimulsoft.is(t.IStiStackedColumnArea)) && !this._chartTable.chart.area.stimulsoft.is(t.IStiCandlestickArea) && !this._chartTable.chart.area.stimulsoft.is(t.IStiRangeArea) && !this._chartTable.chart.area.stimulsoft.is(t.IStiScatterArea) && !this._chartTable.chart.area.stimulsoft.is(t.IStiStockArea) && this._chartTable.visible) return !0; return !1 } , p.prototype.getHeightTable = function(e, t) { var r = s.changeFontSize(this._chartTable.dataCells.font, this._chartTable.dataCells.font.size * e.options.zoom); return e.measureString("HeightText", r).height * this._chartTable.chart.series.count + this.getHeightHeaderTable(e, t) } , p.prototype.getHeightHeaderTable = function(e, t) { var r = 0 , l = this._chartTable.chart.area , c = l.xAxis.startFromZero , h = this.getArguments() , p = s.changeFontSize(this._chartTable.header.font, this._chartTable.header.font.size * e.options.zoom) , f = e.getGenericStringFormat(); f.trimming = i.None, this.chartTable.header.wordWrap || (f.formatFlags = n.MeasureTrailingSpaces | n.NoWrap), f.alignment = o.Center, f.lineAlignment = o.Center; for (var m = l.xAxis.startFromZero ? h.length + 1 : h.length - 1, S = (t - this.getWidthCellLegend(e)) / m, d = 0; d < h.length; d++) { var y = 0; 0 != d && d != h.length - 1 || (y = c ? S / 2 : -S / 2); var g = this.chartTable.header.wordWrap ? Math.trunc(S + y) : 0 , b = e.measureRotatedString3(h[d], p, new u(0,0), f, a.CenterCenter, 0, g).height; r = Math.max(r, b) } return r } , p.prototype.getWidthCellLegend = function(e) { var t, r, i = s.changeFontSize(this._chartTable.dataCells.font, this._chartTable.dataCells.font.size * e.options.zoom), l = e.getGenericStringFormat(); l.formatFlags = n.MeasureTrailingSpaces | n.NoWrap, l.alignment = o.Center, l.lineAlignment = o.Center; var h = 0 , p = new c; try { for (var f = __values(this._chartTable.chart.series.list), m = f.next(); !m.done; m = f.next()) { var S = m.value; p = e.measureRotatedString4(S.coreTitle, i, new u(0,0), l, a.CenterCenter, 0), h = Math.max(p.width, h) } } catch (e) { t = { error: e } } finally { try { m && !m.done && (r = f.return) && r.call(f) } finally { if (t) throw t.error } } return this._chartTable.markerVisible && (h += p.height), Math.ceil(h) } , p.prototype.render = function(e, r) { return new t.StiChartTableGeom(r,this.getTableValues(),this.getWidthCellLegend(e),this.getHeightHeaderTable(e, r.width),this._chartTable) } , p.prototype.getMaxCountValues = function(e) { var t, r, i = 0; try { for (var n = __values(e.list), o = n.next(); !o.done; o = n.next()) { var a = o.value; i = Math.max(i, a.values.length) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i } , p.prototype.getArguments = function() { for (var t = this.chartTable.chart.series, r = [], i = this.getMaxCountValues(t), n = 0; n < i; n++) t.getByIndex(0).arguments.length > n ? r.add(t.getByIndex(0).arguments[n].toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)) : r.add((n + 1).toString()); return r } , p.prototype.getTableValues = function() { for (var i, n, o = this.chartTable.chart.series, a = this.getArguments(), s = Array.create(String, o.count + 1, a.length + 1), u = 0; u < a.length; u++) s[0][u + 1] = a[u]; var c = this.chartTable.chart.area , h = 1; try { for (var p = __values(o.list), f = p.next(); !f.done; f = p.next()) { var m = f.value; s[h][0] = m.coreTitle; for (var S = 1, u = 0; u < m.values.length; u++) { var d = c.reverseHor ? m.values[m.values.length - u - 1] : m.values[u] , y = this.chartTable.chart.table.format; if (null == y && 0 == y.trim().length || null == d) s[h][S] = d.toString().replace(".", ",").replace(",", e.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator); else if (y.stimulsoft.startsWith("P") && !t.StiChartOptions.oldChartPercentMode) { var g = 0 , b = void 0; try { y.length > 1 && (g = y.stimulsoft.remove(0, 1).stimulsoft.toNumber()), b = m.seriesLabels.core.recalcValue(d, g) } catch (t) { e.System.StiError.showError(t, !1), b = m.seriesLabels.core.recalcValue(d, 2) } s[h][S] = r.format("{0:N" + g.toString() + "}{1}", b, "%") } else { var v = d; m.core.isDateTimeValues && (v = l.fromOADate(d)), s[h][S] = r.format("{0:" + y + "}", v) } S++ } h++ } } catch (e) { i = { error: e } } finally { try { f && !f.done && (n = p.return) && n.call(p) } finally { if (i) throw i.error } } return s } , p }(); t.StiChartTableCoreXF = p }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.ICloneable , i = function() { function e(e) { this._trendLine = e } return e.prototype.implements = function() { return e.implementsStiTrendLineCoreXF || (e.implementsStiTrendLineCoreXF = [r, t.IStiTrendLineCoreXF]), e.implementsStiTrendLineCoreXF } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "localizedName", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "trendLine", { get: function() { return this._trendLine }, set: function(e) { this._trendLine = e }, enumerable: !0, configurable: !0 }), e.prototype.renderTrendLine = function(e, t, r) {} , e.prototype.sum = function(e) { var t, r, i = 0; try { for (var n = __values(e), o = n.next(); !o.done; o = n.next()) { i += o.value } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i } , e.prototype.sumSqr = function(e) { var t, r, i = 0; try { for (var n = __values(e), o = n.next(); !o.done; o = n.next()) { var a = o.value; i += a * a } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i } , e.prototype.sumProductions = function(e, t) { for (var r = 0, i = 0; i < e.length; i++) r += e[i] * t[i]; return r } , e.prototype.sumProductionsXLogY = function(e, t) { for (var r = 0, i = 0; i < e.length; i++) r += e[i] * Math.log(t[i]); return r } , e.prototype.sumLn = function(e) { var t, r, i = 0; try { for (var n = __values(e), o = n.next(); !o.done; o = n.next()) { var a = o.value; i += Math.log(a) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } return i } , e }(); t.StiTrendLineCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Point , n = function(e) { function n(t) { return e.call(this, t) || this } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("PropertyMain", "Exponential") }, enumerable: !0, configurable: !0 }), n.prototype.renderTrendLine = function(e, r, n) { if (r.length > 0) { for (var o = Array.create(Number, r.length), a = Array.create(Number, r.length), s = r[0].x, l = r[0].x, u = 0; u < r.length; u++) o[u] = r[u].x, a[u] = n - r[u].y, s < r[u].x && (s = r[u].x), l > r[u].x && (l = r[u].x); for (var c = r.length, h = this.sum(o), p = this.sumSqr(o), f = this.sumProductionsXLogY(o, a), m = this.sumLn(a), S = (c * f - h * m) / (c * p - h * h), d = (p * m - h * f) / (c * p - h * h), y = Math.exp(d), g = Array.create(i, 31, !0), b = 0; b < 31; b++) { var v = l + (s - l) / 30 * b , C = y * Math.exp(S * v); g[b] = new i(v,n - C) } var w = new t.StiTrendCurveGeom(g,this.trendLine); e.createChildGeoms(), e.childGeoms.add(w) } } , n }(t.StiTrendLineCoreXF); t.StiTrendLineExponentialCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Point , n = function(e) { function n(t) { return e.call(this, t) || this } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("PropertyMain", "Linear") }, enumerable: !0, configurable: !0 }), n.prototype.renderTrendLine = function(e, r, n) { if (r.length > 0) { for (var o = Array.create(Number, r.length), a = Array.create(Number, r.length), s = r[0].x, l = r[0].x, u = 0; u < r.length; u++) o[u] = r[u].x, a[u] = r[u].y, s < o[u] && (s = o[u]), l > o[u] && (l = o[u]); var c = r.length , h = this.sum(o) , p = this.sum(a) , f = this.sumSqr(o) , m = this.sumProductions(o, a) , S = h * h - f * c , d = (p * h - m * c) / S , y = (h * m - f * p) / S , g = new t.StiTrendLineGeom(new i(l,d * l + y),new i(s,d * s + y),this.trendLine); e.createChildGeoms(), e.childGeoms.add(g) } } , n }(t.StiTrendLineCoreXF); t.StiTrendLineLinearCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.System.Drawing.Point , n = function(e) { function n(t) { return e.call(this, t) || this } return __extends(n, e), Object.defineProperty(n.prototype, "localizedName", { get: function() { return r.get("PropertyMain", "Logarithmic") }, enumerable: !0, configurable: !0 }), n.prototype.renderTrendLine = function(e, r, n) { if (r.length > 0) { for (var o = Array.create(Number, r.length), a = Array.create(Number, r.length), s = r[0].x, l = r[0].x, u = 0; u < r.length; u++) o[u] = Math.log(r[u].x), a[u] = r[u].y, s < r[u].x && (s = r[u].x), l > r[u].x && (l = r[u].x); for (var c = r.length, h = this.sum(o), p = this.sum(a), f = this.sumSqr(o), m = this.sumProductions(o, a), S = h * h - f * c, d = (p * h - m * c) / S, y = (h * m - f * p) / S, g = Array.create(i, 31, !0), b = 0; b < 31; b++) { var v = l + (s - l) / 30 * b , C = d * Math.log(v) + y; g[b] = new i(v,C) } var w = new t.StiTrendCurveGeom(g,this.trendLine); e.createChildGeoms(), e.childGeoms.add(w) } } , n }(t.StiTrendLineCoreXF); t.StiTrendLineLogarithmicCoreXF = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return r.get("Chart", "LabelsNone") }, enumerable: !0, configurable: !0 }), t }(t.StiTrendLineCoreXF); t.StiTrendLineNoneCoreXF = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Rectangle , i = e.Base.Context.StiGeom , n = e.Base.Context.StiGeomType , o = e.Report.Chart.IStiSeriesElement , a = function(e) { function i(t) { var i = e.call(this) || this; return i._childGeoms = null, i._clientRectangle = r.empty, i._clientRectangle = t.clone(), i } return __extends(i, e), i.prototype.implements = function() { return i.implementsStiCellGeom || (i.implementsStiCellGeom = e.prototype.implements.call(this).concat([t.IStiGeomInteraction, t.IStiCellGeom])), i.implementsStiCellGeom } , i.prototype.invokeClick = function(e) {} , i.prototype.invokeMouseEnter = function(e) {} , i.prototype.invokeMouseLeave = function(e) {} , i.prototype.invokeMouseDown = function(e) {} , i.prototype.invokeMouseUp = function(e) {} , i.prototype.invokeDrag = function(e) {} , Object.defineProperty(i.prototype, "invisible", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "type", { get: function() { return n.None }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "childGeoms", { get: function() { return this._childGeoms }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "clientRectangle", { get: function() { return this._clientRectangle }, set: function(e) { this._clientRectangle = e }, enumerable: !0, configurable: !0 }), i.prototype.dispose = function() { var e, t; if (null != this._childGeoms) { try { for (var r = __values(this._childGeoms), i = r.next(); !i.done; i = r.next()) var n = i.value } catch (t) { e = { error: t } } finally { try { i && !i.done && (t = r.return) && t.call(r) } finally { if (e) throw e.error } } this._childGeoms.clear(), this._childGeoms = null } } , i.prototype.contains = function(e, t) { if (this.invisible) return !1; return this.clientRectangle.contains(e, t) } , i.prototype.getGeomAt = function(e, r, i) { var n, o, a = r - e.clientRectangle.x, s = i - e.clientRectangle.y; if (null != e.childGeoms) { var l = e , u = null; try { for (var c = __values(e.childGeoms), h = c.next(); !h.done; h = c.next()) { var p = h.value; if (null != l && l.isChildVisibleInView(p) || null == l) if (p.stimulsoft.is(t.StiAxisAreaGeom)) { if (!p.view.contains(r, i)) continue; var f = this.getGeomAt(p, a, s); null != f && (u = f) } else { var f = this.getGeomAt(p, a, s); if (null != f && (u = f, u.stimulsoft.is(t.StiMarkerGeom))) return u } } } catch (e) { n = { error: e } } finally { try { h && !h.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } if (null != u) return u } if (e.contains(r, i)) return e; return null } , i.prototype.getSeriesGeoms = function() { var e, r, i, n, o = []; if (null == this._childGeoms) return o; try { for (var a = __values(this.childGeoms), s = a.next(); !s.done; s = a.next()) { var l = s.value; (l.stimulsoft.is(t.StiSeriesGeom) || l.stimulsoft.is(t.StiSeriesElementGeom)) && o.add(l); var u = l.getSeriesGeoms(); try { for (var c = (i = void 0, __values(u)), h = c.next(); !h.done; h = c.next()) { var p = h.value; o.add(p) } } catch (e) { i = { error: e } } finally { try { h && !h.done && (n = c.return) && n.call(c) } finally { if (i) throw i.error } } } } 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.getSeriesElementGeoms = function() { var e, t, r, i, n = []; if (null == this.childGeoms) return n; try { for (var a = __values(this.childGeoms), s = a.next(); !s.done; s = a.next()) { var l = s.value; l.stimulsoft.is(o) && n.add(l); var u = l.getSeriesElementGeoms(); try { for (var c = (r = void 0, __values(u)), h = c.next(); !h.done; h = c.next()) { var p = h.value; n.add(p) } } catch (e) { r = { error: e } } finally { try { h && !h.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } } } catch (t) { e = { error: t } } finally { try { s && !s.done && (t = a.return) && t.call(a) } finally { if (e) throw e.error } } return n } , i.prototype.getRect = function(e) { var t, i, n = r.empty; if (null == this._childGeoms) return n; try { for (var o = __values(this.childGeoms), a = o.next(); !a.done; a = o.next()) { var s = a.value; if (s == e) return n.x += s.clientRectangle.x, n.y += s.clientRectangle.y, n.size = s.clientRectangle.size, n; var l = s.getRect(e); if (!l.isEmpty) return n.x += s.clientRectangle.x, n.y += s.clientRectangle.y, n.x += l.x, n.y += l.y, n.size = l.size, n } } catch (e) { t = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (t) throw t.error } } return n } , i.prototype.createChildGeoms = function() { null == this._childGeoms && (this._childGeoms = []) } , i.prototype.draw = function(e) {} , i.prototype.drawGeom = function(e) { this.draw(e), this.drawChildGeoms(e) } , i.prototype.drawChildGeoms = function(e) { var t, r; if (null != this.childGeoms) { e.pushTranslateTransform(this.clientRectangle.x, this.clientRectangle.y); try { for (var i = __values(this.childGeoms), n = i.next(); !n.done; n = i.next()) { var o = n.value; this.allowChildDrawing(o) && o.drawGeom(e) } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } e.popTransform() } } , i.prototype.allowChildDrawing = function(e) { return null != e } , i }(i); t.StiCellGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiShadowSides , i = function(e) { function t(t, r) { var i = e.call(this, r) || this; return i._area = t, i } return __extends(t, e), Object.defineProperty(t.prototype, "area", { get: function() { return this._area }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.clientRectangle.clone(); if (t.isEmpty) return; t.width > 0 && t.height > 0 && (this._area.showShadow && e.drawCachedShadow(t, r.All, e.options.isPrinting), e.fillRectangle(this._area.brush, t, null)) } , t }(t.StiCellGeom); t.StiAreaGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiPenStyle , n = e.System.Drawing.Rectangle , o = function(e) { function t(t, r, i) { var n = e.call(this, r, i) || this; return n.minWidth = 6, n._view = t, n } return __extends(t, e), Object.defineProperty(t.prototype, "view", { get: function() { return this._view }, enumerable: !0, configurable: !0 }), t.prototype.drawInterlacingHor = function(e, t) { var r, i, o, a; t.x = 0, t.width = this.view.clientRectangle.width; var s = this.area; if (!s.interlacingHor.visible) return; for (var l = [], u = s.yAxis.info.stripPositions.length, c = Array.create(Number, u), h = 0; h < u; h++) c[u - 1 - h] = s.yAxis.info.stripPositions[h]; var p = 0 , f = !0 , m = 0; try { for (var S = __values(c), d = S.next(); !d.done; d = S.next()) { var y = d.value; if (m++, f) { p = y, l.add(y), f = !1; continue } if (p - y < this.minWidth && m != c.length) continue; p = y, l.add(y) } } catch (e) { r = { error: e } } finally { try { d && !d.done && (i = S.return) && i.call(S) } finally { if (r) throw r.error } } var g = Array.create(Number, l.length); l.copyTo(g); var b = 0 , v = !0; try { for (var C = __values(g), w = C.next(); !w.done; w = C.next()) { var x = w.value , _ = g[b + 1]; if (v) { var A = new n(t.x,t.y + _,t.width,x - _); A.bottom >= 0 && A.y < this.view.clientRectangle.height && e.fillRectangle(s.interlacingHor.interlacedBrush, A, null) } if (v = !v, ++b == g.length - 1) break } } catch (e) { o = { error: e } } finally { try { w && !w.done && (a = C.return) && a.call(C) } finally { if (o) throw o.error } } } , t.prototype.drawInterlacingVer = function(e, t) { var r, i, o, a; t.y = 0, t.height = this.view.clientRectangle.height; var s = this.area; if (!s.interlacingVert.visible) return; var l = 0 , u = 0; s.reverseHor && (u = 1); var c = [] , h = s.xAxis.info.stripPositions , p = 0 , f = !0 , m = 0; try { for (var S = __values(h), d = S.next(); !d.done; d = S.next()) { var y = d.value; if (m++, f) { p = y, c.add(y), f = !1; continue } if (y - p < this.minWidth && m != h.length) continue; p = y, c.add(y) } } catch (e) { r = { error: e } } finally { try { d && !d.done && (i = S.return) && i.call(S) } finally { if (r) throw r.error } } var g = Array.create(Number, c.length); c.copyTo(g); try { for (var b = __values(g), v = b.next(); !v.done; v = b.next()) { var C = v.value , w = g[l + 1]; if ((1 & u) > 0) { var x = new n(C + t.x,t.y,w - C,t.height); x.right >= 0 && x.x < this.view.clientRectangle.width && e.fillRectangle(s.interlacingVert.interlacedBrush, x, null) } if (u++, ++l == g.length - 1) break } } catch (e) { o = { error: e } } finally { try { v && !v.done && (a = b.return) && a.call(b) } finally { if (o) throw o.error } } } , t.prototype.drawGridLinesHor = function(e, t, n, o) { var a, s; t.x = 0, t.width = this.view.clientRectangle.width; for (var l = this.area, u = o ? l.yAxis.info.stripPositions : l.yRightAxis.info.stripPositions, c = u.length, h = Array.create(Number, c), p = 0; p < c; p++) h[c - p - 1] = u[p]; u = h; var f = u[0] , m = 0; try { for (var S = __values(u), d = S.next(); !d.done; d = S.next()) { var y = d.value , g = f - y; if (g < this.minWidth && g > 0) continue; f = y; var b = 1; if (n.visible && n.style != i.None) { var v = new r(n.color,b); v.penStyle = n.style; var C = y + t.y; C >= 0 && C <= this.clientRectangle.height && e.drawLine(v, t.x, C, t.right, C) } if (n.minorVisible && n.minorStyle != i.None && m != u.length - 1) { var w = u[m + 1]; if (y - w < this.minWidth) continue; var x = new r(n.minorColor,b); x.penStyle = n.minorStyle; for (var _ = 0 == n.minorCount ? l.yAxis.ticks.minorCount : n.minorCount, A = y, L = (w - y) / (_ + 1), O = 1; O <= _; O++) { A = y + L * O; var P = A + t.y; P >= 0 && P <= this.clientRectangle.height && e.drawLine(x, t.x, P, t.right, P) } } m++ } } catch (e) { a = { error: e } } finally { try { d && !d.done && (s = S.return) && s.call(S) } finally { if (a) throw a.error } } } , t.prototype.drawGridLinesVer = function(e, t, n, o) { var a, s; t.y = 0, t.height = this.view.clientRectangle.height; var l = this.area , u = o ? l.xAxis.info.stripPositions : l.xTopAxis.info.stripPositions , c = 0 , h = 0; try { for (var p = __values(u), f = p.next(); !f.done; f = p.next()) { var m = f.value , S = m - c; if (S < this.minWidth && S > 0) continue; c = m; var d = 1; if (n.visible && n.style != i.None) { var y = new r(n.color,d); y.penStyle = n.style; var g = m + t.x; g >= 0 && g <= this.clientRectangle.width && e.drawLine(y, g, t.y, g, t.bottom) } if (n.minorVisible && n.minorStyle != i.None && h != u.length - 1) { var b = u[h + 1]; if (b - m < this.minWidth) continue; var v = new r(n.minorColor,d); v.penStyle = n.minorStyle; for (var C = 0 == n.minorCount ? l.yAxis.ticks.minorCount : n.minorCount, w = m, x = (b - m) / (C + 1), _ = 1; _ <= C; _++) { w = m + x * _; var A = w + t.x; A >= 0 && A <= this.clientRectangle.width && e.drawLine(v, A, t.y, A, t.bottom) } } h++ } } catch (e) { a = { error: e } } finally { try { f && !f.done && (s = p.return) && s.call(p) } finally { if (a) throw a.error } } } , t.prototype.allowChildDrawing = function(e) { return null != e && this.isChildVisibleInView(e) } , t.prototype.isChildVisibleInView = function(e) { var t = this.view.clientRectangle.clone(); t.x = 0, t.y = 0; var r = e.clientRectangle.clone(); return r.x -= this.area.core.scrollDistanceX, r.y -= this.area.core.scrollDistanceY, null != e && t.intersectsWith(r) } , t.prototype.draw = function(t) { e.prototype.draw.call(this, t); var r = this.area , i = this.clientRectangle.clone(); if (i.isEmpty) return; var n = r.axisCore.getSeries(); n.length > 0 && (this.drawInterlacingHor(t, i), this.drawInterlacingVer(t, i)), n.length > 0 && (this.drawGridLinesHor(t, i, r.gridLinesHor, !0), this.drawGridLinesHor(t, i, r.gridLinesHorRight, !1), this.drawGridLinesVer(t, i, r.gridLinesVert, !0)) } , t }(t.StiAreaGeom); t.StiAxisAreaGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function(e) { function i(t, r) { return e.call(this, t, r) || this } return __extends(i, e), i.prototype.drawGeom = function(t) { e.prototype.drawGeom.call(this, t), this.drawBorder(t) } , i.prototype.drawChildGeoms = function(e) { var r, i; if (null != this.childGeoms) { var n = this.clientRectangle.clone(); n.x = 0, n.y = 0, e.pushTranslateTransform(this.clientRectangle.x, this.clientRectangle.y); try { for (var o = __values(this.childGeoms), a = o.next(); !a.done; a = o.next()) { var s = a.value , l = s.stimulsoft.is(t.StiAxisAreaGeom) || s.stimulsoft.is(t.StiXAxisGeom) && s.isCenterAxis || s.stimulsoft.is(t.StiYAxisGeom) && s.isCenterAxis; l && e.pushClip(n), this.allowChildDrawing(s) && s.drawGeom(e), l && e.popClip() } } catch (e) { r = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } e.popTransform() } } , i.prototype.drawBorder = function(e) { var t = this.clientRectangle.clone(); if (t.isEmpty) return; var i = new r(this.area.borderColor); e.drawRectangle2(i, t.x, t.y, t.width, t.height) } , i }(t.StiAreaGeom); t.StiAxisAreaViewGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiShadowSides , n = function(e) { function t(t, r) { return e.call(this, t, r) || this } return __extends(t, e), t.prototype.draw = function(e) { var t = this.clientRectangle.clone(); if (t.width > 0 && t.height > 0) { this.area.showShadow && e.drawCachedShadow(t, i.All, e.options.isPrinting), e.fillRectangle2(this.area.brush, t.x, t.y, t.width, t.height, null); var n = new r(this.area.borderColor); e.drawRectangle2(n, t.x, t.y, t.width, t.height) } } , t }(t.StiAreaGeom); t.StiPieAreaGeom = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t(t, r) { return e.call(this, t, r) || this } return __extends(t, e), t }(e.StiPieAreaGeom); e.StiDoughnutAreaGeom = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t(t, r) { return e.call(this, t, r) || this } return __extends(t, e), t.prototype.draw = function(e) {} , t }(e.StiAreaGeom); e.StiPictorialAreaGeom = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.System.Drawing.Point , o = e.System.Drawing.Rectangle , a = e.Base.Context.StiArcSegmentGeom , s = function(e) { function s(t, r, i) { var n = e.call(this, t, r) || this; return n._valuesCount = i, n } return __extends(s, e), Object.defineProperty(s.prototype, "valuesCount", { get: function() { return this._valuesCount }, enumerable: !0, configurable: !0 }), s.prototype.drawHor = function(e, s, l) { var u, c, h, p, f, m, S, d, y = this.clientRectangle.clone(), g = this.area; if (null == g.yAxis.info.stripPositions) return; var b = g.core , v = 0; try { for (var C = __values(g.yAxis.info.stripPositions), w = C.next(); !w.done; w = C.next()) { var x = w.value; if (0 != x) { var _ = new o(b.centerPoint.x - x,b.centerPoint.y - x,2 * x,2 * x); if (g.radarStyle == t.StiRadarStyle.Circle) { if (s && g.interlacingHor.visible && v != g.yAxis.info.stripPositions.length - 1 && 0 == (1 & v)) { var A = [] , L = g.yAxis.info.stripPositions[v + 1] , O = new o(b.centerPoint.x - L,b.centerPoint.y - L,2 * L,2 * L); A.add(new a(_,0,360)), A.add(new a(O,0,360)), e.fillPath(g.interlacingHor.interlacedBrush, A, y, null) } if (l && g.gridLinesHor.visible) { var P = void 0; v == g.yAxis.info.stripPositions.length - 1 ? P = new r(g.borderColor) : (P = new r(g.gridLinesHor.color), P.penStyle = g.gridLinesHor.style), e.drawEllipse2(P, _) } } else { if (s && g.interlacingHor.visible && v != g.yAxis.info.stripPositions.length - 1 && 1 == (1 & v)) { var A = [] , B = 0; try { for (var R = (h = void 0, __values(b.points)), k = R.next(); !k.done; k = R.next()) { var j = k.value , T = void 0; T = B == b.points.length - 1 ? b.points[0] : b.points[B + 1]; var F = new n(b.centerPoint.x + x * j.x,b.centerPoint.y + x * j.y) , D = new n(b.centerPoint.x + x * T.x,b.centerPoint.y + x * T.y); A.add(new i(F.x,F.y,D.x,D.y)), B++ } } catch (e) { h = { error: e } } finally { try { k && !k.done && (p = R.return) && p.call(R) } finally { if (h) throw h.error } } var L = g.yAxis.info.stripPositions[v + 1]; B = 0; try { for (var I = (f = void 0, __values(b.points)), N = I.next(); !N.done; N = I.next()) { var j = N.value , T = void 0; T = B == b.points.length - 1 ? b.points[0] : b.points[B + 1]; var F = new n(b.centerPoint.x + L * j.x,b.centerPoint.y + L * j.y) , D = new n(b.centerPoint.x + L * T.x,b.centerPoint.y + L * T.y); A.add(new i(F.x,F.y,D.x,D.y)), B++ } } catch (e) { f = { error: e } } finally { try { N && !N.done && (m = I.return) && m.call(I) } finally { if (f) throw f.error } } e.fillPath(g.interlacingHor.interlacedBrush, A, y, null) } if (l && g.gridLinesHor.visible) { var M = 0; try { for (var E = (S = void 0, __values(b.points)), V = E.next(); !V.done; V = E.next()) { var j = V.value , T = void 0; T = M == b.points.length - 1 ? b.points[0] : b.points[M + 1]; var P = void 0; v == g.yAxis.info.stripPositions.length - 1 ? P = new r(g.borderColor) : (P = new r(g.gridLinesHor.color), P.penStyle = g.gridLinesHor.style), e.drawLine(P, b.centerPoint.x + x * j.x, b.centerPoint.y + x * j.y, b.centerPoint.x + x * T.x, b.centerPoint.y + x * T.y), M++ } } catch (e) { S = { error: e } } finally { try { V && !V.done && (d = E.return) && d.call(E) } finally { if (S) throw S.error } } } } } v++ } } catch (e) { u = { error: e } } finally { try { w && !w.done && (c = C.return) && c.call(C) } finally { if (u) throw u.error } } } , s.prototype.drawVert = function(e, o, s) { var l, u, c = this.clientRectangle.clone(), h = this.area, p = h.core, f = 0, m = 360 / p.points.length, S = 0; try { for (var d = __values(p.points), y = d.next(); !y.done; y = d.next()) { var g = y.value , b = p.centerPoint , v = new n(b.x + c.width / 2 * g.x,b.y + c.width / 2 * g.y); if (o && h.interlacingVert.visible) { var C = f < p.points.length - 1 ? new n(b.x + c.width / 2 * p.points[f + 1].x,b.y + c.height / 2 * p.points[f + 1].y) : new n(b.x + c.width / 2 * p.points[0].x,b.y + c.height / 2 * p.points[0].y); if (1 == (1 & f)) { var w = []; h.radarStyle == t.StiRadarStyle.Circle ? (w.add(new i(b.x,b.y,v.x,v.y)), w.add(new a(c,S - 90,m)), w.add(new i(C.x,C.y,b.x,b.y))) : (w.add(new i(b.x,b.y,v.x,v.y)), w.add(new i(v.x,v.y,C.x,C.y)), w.add(new i(C.x,C.y,b.x,b.y))), e.fillPath(h.interlacingVert.interlacedBrush, w, c, null) } } if (s && h.gridLinesVert.visible) { var x = new r(h.gridLinesVert.color); x.penStyle = h.gridLinesVert.style, e.drawLine(x, b.x, b.y, v.x, v.y) } S += m, f++ } } catch (e) { l = { error: e } } finally { try { y && !y.done && (u = d.return) && u.call(d) } finally { if (l) throw l.error } } } , s.prototype.drawBackground = function(e) { var r, n, o = this.clientRectangle.clone(), a = this.area; if (null == a.yAxis.info.stripPositions) return; var s = a.core; if (a.radarStyle == t.StiRadarStyle.Circle) e.fillEllipse2(a.brush, o, null); else { var l = a.yAxis.info.stripPositions[a.yAxis.info.stripPositions.length - 1] , u = [] , c = 0; try { for (var h = __values(s.points), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = c == s.points.length - 1 ? s.points[0] : s.points[c + 1]; u.add(new i(s.centerPoint.x + l * f.x,s.centerPoint.y + l * f.y,s.centerPoint.x + l * m.x,s.centerPoint.y + l * m.y)), c++ } } catch (e) { r = { error: e } } finally { try { p && !p.done && (n = h.return) && n.call(h) } finally { if (r) throw r.error } } e.fillPath(a.brush, u, o, null) } } , s.prototype.draw = function(e) { var t = this.clientRectangle.clone() , r = this.area , i = r.core; t.width > 0 && t.height > 0 && (e.pushSmoothingModeToAntiAlias(), this.drawBackground(e), this.drawVert(e, !0, !1), this.drawHor(e, !0, !1), this.drawVert(e, !1, !0), this.drawHor(e, !1, !0), e.popSmoothingMode()) } , s }(t.StiAreaGeom); t.StiRadarAreaGeom = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiShadowSides , n = function(e) { function t(t, r) { return e.call(this, t, r) || this } return __extends(t, e), t.prototype.draw = function(e) { var t = this.clientRectangle.clone(); if (t.width > 0 && t.height > 0) { this.area.showShadow && e.drawCachedShadow(t, i.All, e.options.isPrinting), e.fillRectangle2(this.area.brush, t.x, t.y, t.width, t.height, null); var n = new r(this.area.borderColor); e.drawRectangle2(n, t.x, t.y, t.width, t.height) } } , t }(t.StiAreaGeom); t.StiTreemapAreaGeom = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Drawing.StiColorUtils , o = e.System.TimeSpan , a = e.System.Drawing.Color , s = e.System.Drawing.Point , l = function(e) { function l(t, r) { var i = e.call(this, r) || this; return i._axis = t, i } return __extends(l, e), l.prototype.invokeMouseEnter = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverIncreaseButton || (this.axis.core.isMouseOverIncreaseButton = !0, e.updateContext = !0) } , l.prototype.invokeMouseLeave = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverIncreaseButton && (this.axis.core.isMouseOverIncreaseButton = !1, e.updateContext = !0) } , l.prototype.invokeMouseDown = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; e.updateContext = this.moveDown(), e.updateContext && (e.isRecalled ? e.recallTime = o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarOtherRecallTime) : e.recallTime = o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarFirstRecallTime), e.recallEvent = !0) } , l.prototype.moveDown = function() { var e = this.axis.area.core; return !(e.scrollValueY >= e.scrollRangeY - e.scrollViewY) && (e.scrollValueY += e.scrollViewY * t.StiAxisCoreXF.defaultScrollBarSmallFactor, e.scrollValueY >= e.scrollRangeY - e.scrollViewY && (e.scrollValueY = e.scrollRangeY - e.scrollViewY), e.blockScrollValueY = !0, !0) } , Object.defineProperty(l.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), l.prototype.draw = function(e) { var t = e.options.zoom , o = this.clientRectangle.clone() , l = o.x + o.width / 2 , u = a.white; this.axis.core.isMouseOverIncreaseButton ? (e.fillRectangle2(n.light(this.axis.lineColor, 50), o.x, o.y, o.width, o.height, null), e.drawRectangle2(new r(this.axis.lineColor), o.x, o.y, o.width, o.height)) : u = this.axis.lineColor; var c = o.width / 3 , h = o.height / 4 , p = new s(o.x + o.width / 2,o.y + o.height / 2); e.pushSmoothingModeToAntiAlias(); var f = []; f.add(new i(p.x - c,p.y - h,p.x,p.y + h)), f.add(new i(p.x,p.y + h,p.x + c,p.y - h)), e.fillPath(u, f, o, null), e.popSmoothingMode() } , l }(t.StiCellGeom); t.StiDownButtonGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function(e) { function t(t, r) { var i = e.call(this, r) || this; return i._axis = t, i } return __extends(t, e), t.prototype.invokeMouseDown = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; var t = this.axis.area.core; t.blockScrollValueX = !0; var r = this.clientRectangle.height , i = e.mousePoint.x - r , n = this.clientRectangle.width - 2 * r; t.scrollValueX = i / n * t.scrollRangeX, t.scrollValueX < 0 && (t.scrollValueX = 0), t.scrollValueX >= t.scrollRangeX - t.scrollViewX && (t.scrollValueX = t.scrollRangeX - t.scrollViewX), e.updateContext = !0 } , t.prototype.draw = function(e) { var t = this.clientRectangle.clone() , i = new r(this.axis.lineColor); e.drawRectangle2(i, t.x, t.y, t.width, t.height) } , Object.defineProperty(t.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), t }(t.StiCellGeom); t.StiHorzScrollBarGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiColorUtils , n = e.System.Drawing.Color , o = function(e) { function t(t, r, i) { var n = e.call(this, r) || this; return n._axis = t, n._scrollBar = i, n } return __extends(t, e), t.prototype.invokeMouseEnter = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverTrackBar || (this.axis.core.isMouseOverTrackBar = !0, e.updateContext = !0) } , t.prototype.invokeMouseLeave = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverTrackBar && (this.axis.core.isMouseOverTrackBar = !1, e.updateContext = !0) } , t.prototype.invokeMouseDown = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; var t = this.axis.area.core; e.dragEnabled = !0, t.scrollDragStartValue = t.scrollValueX } , t.prototype.invokeDrag = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; var t = this.axis.area.core; t.blockScrollValueX = !0; var r = this.scrollBar.clientRectangle.height , i = this.scrollBar.clientRectangle.width - 2 * r; t.scrollValueX = e.dragDelta.width / i * t.scrollRangeX + t.scrollDragStartValue, t.scrollValueX < 0 && (t.scrollValueX = 0), t.scrollValueX >= t.scrollRangeX - t.scrollViewX && (t.scrollValueX = t.scrollRangeX - t.scrollViewX), e.updateContext = !0 } , t.prototype.draw = function(e) { var t = this.clientRectangle.clone() , o = new r(this.axis.lineColor) , a = new r(n.white) , s = this.axis.area.core , l = this.axis.area.xAxis; if (this.axis.core.isMouseOverTrackBar ? e.fillRectangle2(i.light(this.axis.lineColor, 50), t.x, t.y, t.width, t.height, null) : e.fillRectangle2(this.axis.lineColor, t.x, t.y, t.width, t.height, null), e.drawRectangle2(o, t.x, t.y, t.width, t.height), t.width > 10 && t.height > 4) { var u = t.x + t.width / 2; e.drawLine(a, u - 2, t.y + 2, u - 2, t.bottom - 2), e.drawLine(a, u, t.y + 2, u, t.bottom - 2), e.drawLine(a, u + 2, t.y + 2, u + 2, t.bottom - 2) } } , Object.defineProperty(t.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "scrollBar", { get: function() { return this._scrollBar }, enumerable: !0, configurable: !0 }), t }(t.StiCellGeom); t.StiHorzTrackBarGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Drawing.StiColorUtils , o = e.System.TimeSpan , a = e.System.Drawing.Color , s = e.System.Drawing.Point , l = function(e) { function l(t, r) { var i = e.call(this, r) || this; return i._axis = t, i } return __extends(l, e), l.prototype.invokeMouseEnter = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverDecreaseButton || (this.axis.core.isMouseOverDecreaseButton = !0, e.updateContext = !0) } , l.prototype.invokeMouseLeave = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverDecreaseButton && (this.axis.core.isMouseOverDecreaseButton = !1, e.updateContext = !0) } , l.prototype.invokeMouseDown = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; e.updateContext = this.moveLeft(), e.updateContext && (e.isRecalled ? e.recallTime = o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarOtherRecallTime) : e.recallTime = o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarFirstRecallTime), e.recallEvent = !0) } , l.prototype.moveLeft = function() { var e = this.axis.area.core; return 0 != e.scrollValueX && (e.scrollValueX -= e.scrollViewX * t.StiAxisCoreXF.defaultScrollBarSmallFactor, e.scrollValueX < 0 && (e.scrollValueX = 0), e.blockScrollValueX = !0, !0) } , Object.defineProperty(l.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), l.prototype.draw = function(e) { var t = e.options.zoom , o = this.clientRectangle.clone() , l = o.y + o.height / 2 , u = a.white; this.axis.core.isMouseOverDecreaseButton ? (e.fillRectangle2(n.light(this.axis.lineColor, 50), o.x, o.y, o.width, o.height, null), e.drawRectangle2(new r(this.axis.lineColor), o.x, o.y, o.width, o.height)) : u = this.axis.lineColor; var c = o.width / 4 , h = o.height / 3 , p = new s(o.x + o.width / 2,o.y + o.height / 2); e.pushSmoothingModeToAntiAlias(); var f = []; f.add(new i(p.x + c,p.y - h,p.x - c,p.y)), f.add(new i(p.x - c,p.y,p.x + c,p.y + h)), e.fillPath(u, f, o, null), e.popSmoothingMode() } , l }(t.StiCellGeom); t.StiLeftButtonGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Drawing.StiColorUtils , o = e.System.TimeSpan , a = e.System.Drawing.Color , s = e.System.Drawing.Point , l = function(e) { function l(t, r) { var i = e.call(this, r) || this; return i._axis = t, i } return __extends(l, e), l.prototype.invokeMouseEnter = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverIncreaseButton || (this.axis.core.isMouseOverIncreaseButton = !0, e.updateContext = !0) } , l.prototype.invokeMouseLeave = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverIncreaseButton && (this.axis.core.isMouseOverIncreaseButton = !1, e.updateContext = !0) } , l.prototype.invokeMouseDown = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; e.updateContext = this.moveRight(), e.updateContext && (e.isRecalled ? e.recallTime = o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarOtherRecallTime) : e.recallTime = o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarFirstRecallTime), e.recallEvent = !0) } , l.prototype.moveRight = function() { var e = this.axis.area.core; return !(e.scrollValueX >= e.scrollRangeX - e.scrollViewX) && (e.scrollValueX += e.scrollViewX * t.StiAxisCoreXF.defaultScrollBarSmallFactor, e.scrollValueX >= e.scrollRangeX - e.scrollViewX && (e.scrollValueX = e.scrollRangeX - e.scrollViewX), e.blockScrollValueX = !0, !0) } , Object.defineProperty(l.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), l.prototype.draw = function(e) { var t = e.options.zoom , o = this.clientRectangle.clone() , l = o.y + o.height / 2 , u = a.white; this.axis.core.isMouseOverIncreaseButton ? (e.fillRectangle2(n.light(this.axis.lineColor, 50), o.x, o.y, o.width, o.height, null), e.drawRectangle2(new r(this.axis.lineColor), o.x, o.y, o.width, o.height)) : u = this.axis.lineColor; var c = o.width / 4 , h = o.height / 3 , p = new s(o.x + o.width / 2,o.y + o.height / 2); e.pushSmoothingModeToAntiAlias(); var f = []; f.add(new i(p.x - c,p.y - h,p.x + c,p.y)), f.add(new i(p.x + c,p.y,p.x - c,p.y + h)), e.fillPath(u, f, o, null), e.popSmoothingMode() } , l }(t.StiCellGeom); t.StiRightButtonGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Drawing.StiColorUtils , o = e.System.TimeSpan , a = e.System.Drawing.Color , s = e.System.Drawing.Point , l = function(e) { function l(t, r) { var i = e.call(this, r) || this; return i._axis = t, i } return __extends(l, e), l.prototype.invokeMouseEnter = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverDecreaseButton || (this.axis.core.isMouseOverDecreaseButton = !0, e.updateContext = !0) } , l.prototype.invokeMouseLeave = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverDecreaseButton && (this.axis.core.isMouseOverDecreaseButton = !1, e.updateContext = !0) } , l.prototype.invokeMouseDown = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; e.updateContext = this.moveUp(), e.updateContext && (e.isRecalled ? e.recallTime = o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarOtherRecallTime) : e.recallTime = o.fromSeconds(t.StiAxisCoreXF.defaultScrollBarFirstRecallTime), e.recallEvent = !0) } , l.prototype.moveUp = function() { var e = this.axis.area.core; return 0 != e.scrollValueY && (e.scrollValueY -= e.scrollViewY * t.StiAxisCoreXF.defaultScrollBarSmallFactor, e.scrollValueY < 0 && (e.scrollValueY = 0), e.blockScrollValueY = !0, !0) } , Object.defineProperty(l.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), l.prototype.draw = function(e) { var t = e.options.zoom , o = this.clientRectangle.clone() , l = o.x + o.width / 2 , u = a.white; this.axis.core.isMouseOverDecreaseButton ? (e.fillRectangle2(n.light(this.axis.lineColor, 50), o.x, o.y, o.width, o.height, null), e.drawRectangle2(new r(this.axis.lineColor), o.x, o.y, o.width, o.height)) : u = this.axis.lineColor; var c = o.width / 3 , h = o.height / 4 , p = new s(o.x + o.width / 2,o.y + o.height / 2); e.pushSmoothingModeToAntiAlias(); var f = []; f.add(new i(p.x - c,p.y + h,p.x,p.y - h)), f.add(new i(p.x,p.y - h,p.x + c,p.y + h)), e.fillPath(u, f, o, null), e.popSmoothingMode() } , l }(t.StiCellGeom); t.StiUpButtonGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function(e) { function t(t, r) { var i = e.call(this, r) || this; return i._axis = t, i } return __extends(t, e), t.prototype.invokeMouseDown = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; var t = this.axis.area.core; t.blockScrollValueY = !0; var r = this.clientRectangle.width , i = e.mousePoint.y - r , n = this.clientRectangle.height - 2 * r; t.scrollValueY = i / n * t.scrollRangeY, t.scrollValueY < 0 && (t.scrollValueY = 0), t.scrollValueY >= t.scrollRangeY - t.scrollViewY && (t.scrollValueY = t.scrollRangeY - t.scrollViewY), e.updateContext = !0 } , t.prototype.draw = function(e) { var t = this.clientRectangle.clone() , i = new r(this.axis.lineColor); e.drawRectangle2(i, t.x, t.y, t.width, t.height) } , Object.defineProperty(t.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), t }(t.StiCellGeom); t.StiVertScrollBarGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiColorUtils , n = e.System.Drawing.Color , o = function(e) { function t(t, r, i) { var n = e.call(this, r) || this; return n._axis = t, n._scrollBar = i, n } return __extends(t, e), t.prototype.invokeMouseEnter = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverTrackBar || (this.axis.core.isMouseOverTrackBar = !0, e.updateContext = !0) } , t.prototype.invokeMouseLeave = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; this.axis.core.isMouseOverTrackBar && (this.axis.core.isMouseOverTrackBar = !1, e.updateContext = !0) } , t.prototype.invokeMouseDown = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; var t = this.axis.area.core; e.dragEnabled = !0, t.scrollDragStartValue = t.scrollValueY } , t.prototype.invokeDrag = function(e) { if (!this.axis.interaction.rangeScrollEnabled) return; var t = this.axis.area.core; t.blockScrollValueY = !0; var r = this.scrollBar.clientRectangle.height , i = this.scrollBar.clientRectangle.height - 2 * r; t.scrollValueY = -e.dragDelta.height / i * t.scrollRangeY + t.scrollDragStartValue, t.scrollValueY < 0 && (t.scrollValueY = 0), t.scrollValueY >= t.scrollRangeY - t.scrollViewY && (t.scrollValueY = t.scrollRangeY - t.scrollViewY), e.updateContext = !0 } , t.prototype.draw = function(e) { var t = e.options.zoom , o = this.clientRectangle.clone() , a = new r(this.axis.lineColor) , s = new r(n.white) , l = this.axis.area.core , u = this.axis.area.xAxis; if (this.axis.core.isMouseOverTrackBar ? e.fillRectangle2(i.light(this.axis.lineColor, 50), o.x, o.y, o.width, o.height, null) : e.fillRectangle2(this.axis.lineColor, o.x, o.y, o.width, o.height, null), e.drawRectangle2(a, o.x, o.y, o.width, o.height), o.height > 10 && o.width > 4) { var c = o.y + o.height / 2; e.drawLine(s, o.x + 2, c - 2, o.right - 2, c - 2), e.drawLine(s, o.x + 2, c, o.right - 2, c), e.drawLine(s, o.x + 2, c + 2, o.right - 2, c + 2) } } , Object.defineProperty(t.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "scrollBar", { get: function() { return this._scrollBar }, enumerable: !0, configurable: !0 }), t }(t.StiCellGeom); t.StiVertTrackBarGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiSolidBrush , i = function(e) { function t(t, r, i, n, o, a, s) { var l = e.call(this, r) || this; return l._axis = t, l._text = n, l._stripLine = o, l._textPoint = i, l._angle = a, l._rotationMode = s, l } return __extends(t, e), Object.defineProperty(t.prototype, "rotationMode", { get: function() { return this._rotationMode }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "textPoint", { get: function() { return this._textPoint }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "angle", { get: function() { return this._angle }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "text", { get: function() { return this._text }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "stripLine", { get: function() { return this._stripLine }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.axis.core.getStringFormatGeom(e) , i = this.axis.core.getFontGeom(e) , n = new r(this.axis.labels.color); e.drawRotatedString9(this.text, i, n, this.textPoint, t, this.rotationMode, this.angle, this.axis.labels.antialiasing, Math.trunc(this.axis.labels.width * e.options.zoom)) } , t }(t.StiCellGeom); t.StiAxisLabelGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Drawing.StiSolidBrush , n = function(e) { function t(t, r, i, n, o) { var a = e.call(this, r) || this; return a._angle = 0, a._axis = t, a._angle = i, a._font = o, a } return __extends(t, e), Object.defineProperty(t.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "angle", { get: function() { return this._angle }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "font", { get: function() { return this._font }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = new i(this.axis.title.color) , n = e.getDefaultStringFormat(); e.drawRotatedString5(this.axis.title.text, this.font, t, this.clientRectangle, n, r.CenterCenter, this.angle, this.axis.title.antialiasing) } , t }(t.StiCellGeom); t.StiAxisTitleGeom = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiPenGeom , n = e.Base.Context.StiLineSegmentGeom , o = e.Base.Context.StiArcSegmentGeom , a = e.System.DateTime , s = e.Base.Drawing.StiSolidBrush , l = e.System.Drawing.Point , u = e.System.Drawing.Rectangle , c = function(e) { function c(t, r, i) { var n = e.call(this, r) || this; return n._axis = t, n._isCenterAxis = i, n } return __extends(c, e), Object.defineProperty(c.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "isCenterAxis", { get: function() { return this._isCenterAxis }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "view", { get: function() { return this._view }, set: function(e) { this._view = e }, enumerable: !0, configurable: !0 }), c.prototype.drawArrow = function(e, a) { var c = e.options.zoom , h = new i(this.axis.lineColor,this.axis.lineWidth) , p = new i(this.axis.lineColor) , f = new s(this.axis.lineColor) , m = 0; this.axis.core.isBottomSide && (m = a.y), this.axis.core.isTopSide && (m = a.bottom); var S = l.empty; switch (S = this.axis.area.reverseHor ? new l(a.x,m) : new l(a.right,m), this.axis.arrowStyle) { case t.StiArrowStyle.Triangle: e.drawLine(h, S.x, S.y, S.x + this.axis.core.arrowHeight * c, S.y), e.pushSmoothingModeToAntiAlias(); var d = []; d.add(new n(S.x + this.axis.core.arrowHeight * c,S.y - this.axis.core.arrowWidth * c,S.x + 4 * this.axis.core.arrowHeight * c,S.y)), d.add(new n(S.x + 4 * this.axis.core.arrowHeight * c,S.y,S.x + this.axis.core.arrowHeight * c,S.y + this.axis.core.arrowWidth * c)), e.fillPath(f, d, a, null), e.popSmoothingMode(); break; case t.StiArrowStyle.Lines: e.drawLine(h, S.x, S.y, S.x + 4 * this.axis.core.arrowHeight * c, S.y), e.pushSmoothingModeToAntiAlias(), e.drawLine(p, S.x + this.axis.core.arrowHeight * c, S.y - this.axis.core.arrowWidth * c, S.x + 4 * this.axis.core.arrowHeight * c, S.y), e.drawLine(p, S.x + 4 * this.axis.core.arrowHeight * c, S.y, S.x + this.axis.core.arrowHeight * c, S.y + this.axis.core.arrowWidth * c), e.popSmoothingMode(); break; case t.StiArrowStyle.Circle: var y = this.axis.core.arrowHeight * c; e.drawLine(h, S.x, S.y, S.x + 2 * y, S.y); var g = new l(S.x + 2 * y,S.y - y / 2); e.pushSmoothingModeToAntiAlias(); var b = new u(g.x,g.y,y,y); e.drawEllipse2(h, b), e.popSmoothingMode(); break; case t.StiArrowStyle.Arc: case t.StiArrowStyle.ArcAndCircle: var v = this.axis.core.arrowHeight * c; e.drawLine(h, S.x, S.y, S.x + 2 * v, S.y), e.pushSmoothingModeToAntiAlias(); var C = []; if (this.axis.area.reverseHor) { var w = new l(S.x + 3 * v,S.y + v / 2) , x = new u(w.x,w.y,Math.abs(v),Math.abs(v)); this.axis.arrowStyle == t.StiArrowStyle.ArcAndCircle && (x.x -= c, x.inflate(1, 1)), C.add(new o(x,270,180)) } else { var w = new l(S.x + 2 * v,S.y - v / 2) , x = new u(w.x,w.y,Math.abs(v),Math.abs(v)); this.axis.arrowStyle == t.StiArrowStyle.ArcAndCircle && (x.x += c, x.inflate(1, 1)), C.add(new o(x,90,180)) } if (e.drawPath(h, C, r.getBoundsState), this.axis.arrowStyle == t.StiArrowStyle.ArcAndCircle) { var _ = this.axis.core.arrowHeight * c , A = new l(S.x + 2 * _ + c,S.y - _ / 2) , L = new u(A.x,A.y,_,_); this.axis.area.reverseHor ? (L.inflate(.5 * c, .5 * c), L.x -= 3 * c) : (L.inflate(-.5 * c, -.5 * c), L.x += c), e.fillEllipse2(f, L, null) } e.popSmoothingMode(); break } } , c.prototype.drawAxisLine = function(e, r) { var n = 0; this.axis.core.isTopSide && (n = r.bottom), this.axis.core.isBottomSide && (n = r.top); var o = new i(this.axis.lineColor,this.axis.lineWidth); !this.isCenterAxis || this.axis.showXAxis != t.StiShowXAxis.Both && this.axis.showXAxis != t.StiShowXAxis.Center ? this.isCenterAxis || this.axis.showXAxis != t.StiShowXAxis.Both && this.axis.showXAxis != t.StiShowXAxis.Bottom || e.drawLine(o, r.x, n, r.right, n) : this.axis.area.reverseVert ? e.drawLine(o, r.x, n, r.right, n) : e.drawLine(o, r.x, n + r.height, r.right, n + r.height) } , c.prototype.drawMinorTicks = function(e, t, r, i, n, o) { for (var a = i - r, s = a / (o.minorCount + 1), l = o.minorLength * e.options.zoom, u = 1; u <= o.minorCount; u++) { var c = r + s * u , h = this.axis.core.isTopSide || this.isCenterAxis ? n - l : n + l; this.axis.area.reverseVert && this.isCenterAxis && (h = n + l), e.drawLine(t, c, n, c, h) } } , c.prototype.drawTicks = function(e, r, i, n) { var o, s; if (!i.visible) return; var l = i.length * e.options.zoom , u = this.axis.core.isTopSide || this.isCenterAxis ? r.bottom : r.top , c = this.axis.core.isTopSide || this.isCenterAxis ? u - l : u + l; this.isCenterAxis && this.axis.area.reverseVert && (c = u + l); var h = this.axis.info.ticksCollection; if (this.isArgumentDateTime(h) && this.axis.area.xAxis.dateTimeStep.step != t.StiTimeDateStep.None) for (var p = void 0, f = void 0, m = !0, S = "", d = 0, y = 0; y < h.length; y++) { if (m && (d = h[y].position, m = !1), !h[y].stripLine.valueObject.stimulsoft.is(a)) continue; switch (p = h[y].stripLine.valueObject, f = y < h.length - 2 ? h[y + 1].stripLine.valueObject : p, this.axis.area.xAxis.dateTimeStep.step) { case t.StiTimeDateStep.Day: p.toString("yyyyMMMMdd") == f.toString("yyyyMMMMdd") && y != h.length - 2 || (S = p.toString("dd")); break; case t.StiTimeDateStep.Hour: p.toString("yyyyMMMMddHH") == f.toString("yyyyMMMMddHH") && y != h.length - 2 || (S = p.toString("HH")); break; case t.StiTimeDateStep.Minute: p.toString("yyyyMMMMddhhmm") == f.toString("yyyyMMMMddhhmm") && y != h.length - 2 || (S = p.toString("mm")); break; case t.StiTimeDateStep.Month: p.toString("yyyyMMMM") == f.toString("yyyyMMMM") && y != h.length - 2 || (S = p.toString("MMMM")); break; case t.StiTimeDateStep.Second: p.toString("yyyyMMMMddHHmmss") == f.toString("yyyyMMMMddHHmmss") && y != h.length - 2 || (S = p.toString("ss")); break; case t.StiTimeDateStep.Year: p.toString("yyyy") == f.toString("yyyy") && y != h.length - 2 || (S = p.toString("yyyy")); break } if ("" != S) { var g = 0; g = y == h.length - 2 ? h[y + 1].position : h[y].position + (h[y + 1].position - h[y].position) / 2, e.drawRectangle2(n, d, u, g - d, c), S = "", d = g } } else { var y = 0; try { for (var b = __values(this.axis.info.ticksCollection), v = b.next(); !v.done; v = b.next()) { var C = v.value , w = C.position; if (e.drawLine(n, w, u, w, c), i.minorVisible && y != this.axis.info.ticksCollection.length - 1) { var x = this.axis.info.ticksCollection[y + 1].position; this.drawMinorTicks(e, n, w, x, u, i) } y++ } } catch (e) { o = { error: e } } finally { try { v && !v.done && (s = b.return) && s.call(b) } finally { if (o) throw o.error } } } } , c.prototype.isArgumentDateTime = function(e) { var t, r; try { for (var i = __values(e), n = i.next(); !n.done; n = i.next()) { var o = n.value; if (null != o.stripLine.valueObject && o.stripLine.valueObject.stimulsoft.is(a)) return !0 } } catch (e) { t = { error: e } } finally { try { n && !n.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return !1 } , c.prototype.drawAxis = function(e, r) { var n = new i(this.axis.lineColor,this.axis.lineWidth); n.penStyle = this.axis.lineStyle, !this.isCenterAxis || this.axis.showXAxis != t.StiShowXAxis.Both && this.axis.showXAxis != t.StiShowXAxis.Center ? this.isCenterAxis || (this.axis.core.isTopSide && this.drawTicks(e, r, this.axis.ticks, n), !this.axis.core.isBottomSide || this.axis.showXAxis != t.StiShowXAxis.Both && this.axis.showXAxis != t.StiShowXAxis.Bottom || this.drawTicks(e, r, this.axis.ticks, n)) : this.drawTicks(e, r, this.axis.ticks, n), this.drawAxisLine(e, r) } , c.prototype.getViewclipRect = function() { var e = this.view.clientRectangle.clone(); return e.x = this.axis.area.core.scrollDistanceX, e.y = 0, e.inflate(1, 1), this.isCenterAxis && e.inflate(0, 2), e } , c.prototype.allowChildDrawing = function(e) { var t = e; if (null == t) return !0; if (null == this.view) return !0; var r = this.getViewclipRect() , i = t.clientRectangle; return !(i.right < r.x || i.x > r.right) } , c.prototype.draw = function(e) { var t = this.clientRectangle.clone(); if (t.width <= 0 || t.height <= 0) return; if (null != this.view) { var r = this.getViewclipRect(); e.pushClip(r) } this.drawAxis(e, t), null != this.view && e.popClip() } , c }(t.StiCellGeom); t.StiXAxisGeom = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(e, r, i) { return t.call(this, e, r, i) || this } return __extends(r, t), r.prototype.drawChildGeoms = function(t) { var r, i, n = this.clientRectangle.clone(); if (this.isCenterAxis && (n.y += this.axis.area.core.getDividerY() - this.axis.area.core.scrollDistanceY), null != this.childGeoms) try { for (var o = __values(this.childGeoms), a = o.next(); !a.done; a = o.next()) { var s = a.value; this.allowChildDrawing(s) && (s.stimulsoft.is(e.StiHorzScrollBarGeom) || t.pushTranslateTransform(-this.axis.area.core.scrollDistanceX, 0), t.pushTranslateTransform(n.x, n.y), s.drawGeom(t), t.popTransform(), s.stimulsoft.is(e.StiHorzScrollBarGeom) || t.popTransform()) } } catch (e) { r = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } this.draw(t) } , r.prototype.draw = function(t) { var r = this.clientRectangle.clone(); if (this.isCenterAxis && (r.y += this.axis.area.core.getDividerY() - this.axis.area.core.scrollDistanceY), r.width <= 0 || r.height <= 0) return; this.axis.arrowStyle == e.StiArrowStyle.None || this.isCenterAxis || this.drawArrow(t, r) } , r }(e.StiXAxisGeom); e.StiXAxisViewGeom = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiPenGeom , n = e.Base.Context.StiLineSegmentGeom , o = e.Base.Context.StiArcSegmentGeom , a = e.Base.Drawing.StiSolidBrush , s = e.System.Drawing.Point , l = e.System.Drawing.Rectangle , u = function(e) { function u(t, r, i) { var n = e.call(this, r) || this; return n._axis = t, n._isCenterAxis = i, n } return __extends(u, e), Object.defineProperty(u.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "isCenterAxis", { get: function() { return this._isCenterAxis }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "view", { get: function() { return this._view }, set: function(e) { this._view = e }, enumerable: !0, configurable: !0 }), u.prototype.drawArrow = function(e, u) { var c = e.options.zoom , h = new i(this.axis.lineColor) , p = new a(this.axis.lineColor) , f = new i(this.axis.lineColor); this.axis.visible || this.drawAxisLine(e, u); var m = s.empty; switch (m = this.axis.area.reverseVert ? new s(u.right,u.bottom) : new s(u.right,u.y), this.axis.core.isRightSide && (m.x = u.x), this.axis.arrowStyle) { case t.StiArrowStyle.Triangle: e.drawLine(h, m.x, m.y, m.x, m.y - this.axis.core.arrowHeight * c), e.pushSmoothingModeToAntiAlias(); var S = []; S.add(new n(m.x - this.axis.core.arrowWidth * c,m.y - this.axis.core.arrowHeight * c,m.x + this.axis.core.arrowWidth * c,m.y - this.axis.core.arrowHeight * c)), S.add(new n(m.x + this.axis.core.arrowWidth * c,m.y - this.axis.core.arrowHeight * c,m.x,m.y - 4 * this.axis.core.arrowHeight * c)), e.fillPath(p, S, r.getBoundsState, null), e.popSmoothingMode(); break; case t.StiArrowStyle.Lines: e.drawLine(h, m.x, m.y, m.x, m.y - 4 * this.axis.core.arrowHeight * c), e.pushSmoothingModeToAntiAlias(), e.drawLine(f, m.x - this.axis.core.arrowWidth * c, m.y - this.axis.core.arrowHeight * c, m.x, m.y - 4 * this.axis.core.arrowHeight * c), e.drawLine(f, m.x + this.axis.core.arrowWidth * c, m.y - this.axis.core.arrowHeight * c, m.x, m.y - 4 * this.axis.core.arrowHeight * c), e.popSmoothingMode(); break; case t.StiArrowStyle.Circle: e.drawLine(h, m.x, m.y, m.x, m.y - this.axis.core.arrowHeight * c * 2); var d = this.axis.core.arrowHeight * c , y = new s(m.x - d / 2,m.y - 3 * d); e.pushSmoothingModeToAntiAlias(); var g = new l(y.x,y.y,this.axis.core.arrowHeight * c,this.axis.core.arrowHeight * c); e.drawEllipse2(h, g), e.popSmoothingMode(); break; case t.StiArrowStyle.Arc: case t.StiArrowStyle.ArcAndCircle: var b = this.axis.core.arrowHeight * c; e.drawLine(h, m.x, m.y, m.x, m.y - 2 * b), e.pushSmoothingModeToAntiAlias(); var v = []; if (this.axis.area.reverseVert) { var C = new s(m.x + b / 2,m.y - 2 * b) , w = new l(C.x,C.y,Math.abs(b),Math.abs(b)); this.axis.arrowStyle == t.StiArrowStyle.ArcAndCircle && (w.y += c, w.inflate(1, 1)), v.add(new o(w,180,180)) } else { var C = new s(m.x - b / 2,m.y - 3 * b) , w = new l(C.x,C.y,b,b); this.axis.arrowStyle == t.StiArrowStyle.ArcAndCircle && (w.y -= c, w.inflate(1, 1)), v.add(new o(w,0,180)) } if (e.drawPath(h, v, r.getBoundsState), this.axis.arrowStyle == t.StiArrowStyle.ArcAndCircle) { var x = this.axis.core.arrowHeight * c , _ = new s(m.x - x / 2,m.y - 3 * x - c) , A = new l(_.x,_.y,x,x); this.axis.area.reverseVert ? (A.inflate(.5 * c, .5 * c), A.y += 3 * c) : (A.inflate(-.5 * c, -.5 * c), A.y -= c), e.fillEllipse2(p, A, null) } e.popSmoothingMode(); break } } , u.prototype.drawAxisLine = function(e, r) { var n = r.right; this.axis.core.isRightSide && (n = r.left), this.isCenterAxis && this.axis.area.reverseHor && (n = r.right); var o = new i(this.axis.lineColor,this.axis.lineWidth); (!this.isCenterAxis || this.axis.showYAxis != t.StiShowYAxis.Both && this.axis.showYAxis != t.StiShowYAxis.Center) && (this.isCenterAxis || this.axis.showYAxis != t.StiShowYAxis.Both && this.axis.showYAxis != t.StiShowYAxis.Left) || e.drawLine(o, n, r.y, n, r.bottom) } , u.prototype.drawMinorTicks = function(e, t, r, i, n, o) { for (var a = n - i, s = a / (o.minorCount + 1), l = o.minorLength * e.options.zoom, u = 1; u <= o.minorCount; u++) { var c = i + s * u , h = this.axis.core.isLeftSide || this.isCenterAxis ? r - l : r + l; this.axis.area.reverseHor && this.isCenterAxis && (h = r + l), e.drawLine(t, r, c, h, c) } } , u.prototype.drawTicks = function(e, t, r, i) { var n, o; if (!r.visible) return; var a = r.length * e.options.zoom , s = this.axis.core.isLeftSide ? t.right : t.left , l = this.axis.core.isLeftSide ? s - a : s + a; this.isCenterAxis && this.axis.area.reverseHor && (s = t.right, l = t.right + a); var u = 0; try { for (var c = __values(this.axis.info.ticksCollection), h = c.next(); !h.done; h = c.next()) { var p = h.value , f = p.position; if (e.drawLine(i, s, f, l, f), r.minorVisible && u != this.axis.info.ticksCollection.length - 1) { var m = this.axis.info.ticksCollection[u + 1].position; this.drawMinorTicks(e, i, s, f, m, r) } u++ } } catch (e) { n = { error: e } } finally { try { h && !h.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } } , u.prototype.drawAxis = function(e, r) { var n = new i(this.axis.lineColor,this.axis.lineWidth); n.penStyle = this.axis.lineStyle, !this.isCenterAxis || this.axis.showYAxis != t.StiShowYAxis.Both && this.axis.showYAxis != t.StiShowYAxis.Center ? this.isCenterAxis || (!this.axis.core.isLeftSide || this.axis.showYAxis != t.StiShowYAxis.Both && this.axis.showYAxis != t.StiShowYAxis.Left || this.drawTicks(e, r, this.axis.area.yAxis.ticks, n), this.axis.core.isRightSide && this.drawTicks(e, r, this.axis.area.yRightAxis.ticks, n)) : this.drawTicks(e, r, this.axis.ticks, n), this.drawAxisLine(e, r) } , u.prototype.getViewclipRect = function() { var e = this.view.clientRectangle.clone(); return e.x = 0, e.y = this.axis.area.core.scrollDistanceY, e.inflate(1, 1), this.isCenterAxis && e.inflate(2, 0), e } , u.prototype.allowChildDrawing = function(e) { var t = e; if (null == t) return !0; if (null == this.view) return !0; var r = this.getViewclipRect() , i = t.clientRectangle; return !(i.bottom < r.y || i.y > r.bottom) } , u.prototype.draw = function(e) { var t = this.clientRectangle.clone(); if (t.width <= 0 || t.height <= 0) return; if (null != this.view) { var r = this.getViewclipRect(); e.pushClip(r) } this.drawAxis(e, t), null != this.view && e.popClip() } , u }(t.StiCellGeom); t.StiYAxisGeom = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(e, r, i) { return t.call(this, e, r, i) || this } return __extends(r, t), r.prototype.drawChildGeoms = function(t) { var r, i, n = this.clientRectangle.clone(); if (this.isCenterAxis && (n.x += this.axis.area.core.getDividerX() - this.axis.area.core.scrollDistanceX), null != this.childGeoms) try { for (var o = __values(this.childGeoms), a = o.next(); !a.done; a = o.next()) { var s = a.value; this.allowChildDrawing(s) && (s.stimulsoft.is(e.StiVertScrollBarGeom) || t.pushTranslateTransform(0, -this.axis.area.core.scrollDistanceY), t.pushTranslateTransform(n.x, n.y), s.drawGeom(t), t.popTransform(), s.stimulsoft.is(e.StiVertScrollBarGeom) || t.popTransform()) } } catch (e) { r = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (r) throw r.error } } } , r.prototype.draw = function(t) { var r = this.clientRectangle.clone(); if (this.isCenterAxis && (r.x += this.axis.area.core.getDividerX() - this.axis.area.core.scrollDistanceX), r.width <= 0 || r.height <= 0) return; this.axis.arrowStyle == e.StiArrowStyle.None || this.isCenterAxis || this.drawArrow(t, r) } , r }(e.StiYAxisGeom); e.StiYAxisViewGeom = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.StringTrimming , i = e.System.Drawing.StringFormatFlags , n = e.Base.Context.StiFontGeom , o = e.Base.Drawing.StiRotationMode , a = function(e) { function a(t, r) { var i = e.call(this, r) || this; return i._title = t, i } return __extends(a, e), Object.defineProperty(a.prototype, "title", { get: function() { return this._title }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e) { if (this.title.visible) { var a = this.title.dock; this.title.dock == t.StiChartTitleDock.Bottom && (a = 0); var s = n.changeFontSize(this.title.font, this.title.font.size * e.options.zoom) , l = e.getDefaultStringFormat(); l.alignment = this.title.alignment, l.trimming = r.None, l.formatFlags = i.MeasureTrailingSpaces | i.NoWrap | i.NoClip, e.drawRotatedString8(this.title.text, s, this.title.brush, this.clientRectangle, l, o.CenterCenter, a, this.title.antialiasing) } } , a }(t.StiCellGeom); t.StiChartTitleGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiFontGeom , n = e.Base.Drawing.StiSolidBrush , o = function(e) { function t(t, r, i, n) { var o = e.call(this, r) || this; return o._line = t, o._point = i, o._mode = n, o } return __extends(t, e), Object.defineProperty(t.prototype, "line", { get: function() { return this._line }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "point", { get: function() { return this._point }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "mode", { get: function() { return this._mode }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.clientRectangle.clone() , o = new r(this.line.lineColor,this.line.lineWidth); if (o.penStyle = this.line.lineStyle, e.drawLine(o, t.left, t.top, t.left, t.bottom), this.line.titleVisible) { var a = new n(this.line.lineColor) , s = i.changeFontSize(this.line.font, this.line.font.size * e.options.zoom) , l = e.getGenericStringFormat(); e.drawRotatedString9(this.line.text, s, a, this.point, l, this.mode, 90, this.line.antialiasing, 0) } } , t }(t.StiCellGeom); t.StiConstantLinesVerticalGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiFontGeom , n = e.Base.Drawing.StiSolidBrush , o = function(e) { function t(t, r, i, n) { var o = e.call(this, r) || this; return o._line = t, o._point = i, o._mode = n, o } return __extends(t, e), Object.defineProperty(t.prototype, "line", { get: function() { return this._line }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "point", { get: function() { return this._point }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "mode", { get: function() { return this._mode }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.clientRectangle.clone() , o = new r(this.line.lineColor,this.line.lineWidth); if (o.penStyle = this.line.lineStyle, e.drawLine(o, t.left, t.top, t.left + t.width, t.top), this.line.titleVisible) { var a = new n(this.line.lineColor) , s = i.changeFontSize(this.line.font, this.line.font.size * e.options.zoom) , l = e.getGenericStringFormat(); e.drawRotatedString9(this.line.text, s, a, this.point, l, this.mode, 0, this.line.antialiasing, 0) } } , t }(t.StiCellGeom); t.StiConstantLinesYGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendAreaMarker || (e.implementsStiLegendAreaMarker = [t.IStiLegendMarker]), e.implementsStiLegendAreaMarker } , e.prototype.draw = function(e, i, n, o, a) { var s = i.stimulsoft.as(t.StiAreaSeries) , l = s.marker , u = s.lineStyle , c = s.lineMarker , h = s.lineWidth , p = s.lineColor , f = s.lighting , m = s.brush , S = t.StiLegendMarkerHelper.getAreaMarkerPath(n) , d = new r(p); e.pushSmoothingModeToAntiAlias(), e.fillPath(m, S, n, null); var y = t.StiLegendMarkerHelper.getAreaMarkerLinePoints(n); e.drawLines(d, y), e.popSmoothingMode() } , e }(); t.StiLegendAreaMarker = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Point , n = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendCandelstickMarker || (e.implementsStiLegendCandelstickMarker = [t.IStiLegendMarker]), e.implementsStiLegendCandelstickMarker } , e.prototype.draw = function(e, t, n, o, a) { var s = t , l = s.brush , u = s.borderColor , c = new r(u); e.pushSmoothingModeToAntiAlias(); var h = new i(n.left + n.width / 4,n.top + n.height / 4) , p = n.width / 2 , f = n.height / 2; e.fillRectangle2(l, h.x, h.y, p, f, null), e.drawRectangle2(c, h.x, h.y, p, f), e.drawLine(c, n.x + n.width / 2, n.y, n.x + n.width / 2, n.top + n.height / 4), e.drawLine(c, n.x + n.width / 2, n.bottom, n.x + n.width / 2, n.bottom - n.height / 4), e.popSmoothingMode() } , e }(); t.StiLegendCandelstickMarker = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiSolidBrush , n = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendColumnMarker || (e.implementsStiLegendColumnMarker = [t.IStiLegendMarker]), e.implementsStiLegendColumnMarker } , e.prototype.draw = function(e, t, n, o, a) { var s = t.legendColor , l = null != s ? new i(s) : t.core.getSeriesBrush(o, a) , u = new r(t.core.getSeriesBorderColor(o, a)); null != t.chart && null != t.chart.style && t.chart.style.core.fillColumn(e, n, l, null), e.drawRectangle2(u, n.x, n.y, n.width, n.height) } , e }(); t.StiLegendColumnMarker = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Context.StiArcSegmentGeom , o = e.System.Drawing.Rectangle , a = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendDoughnutMarker || (e.implementsStiLegendDoughnutMarker = [t.IStiLegendMarker]), e.implementsStiLegendDoughnutMarker } , e.prototype.draw = function(e, t, a, s, l) { var u = t , c = u.brush; u.allowApplyBrush && (c = u.core.getSeriesBrush(s, l), c = u.processSeriesBrushes(s, c)); var h = u.borderColor; u.allowApplyBorderColor && (h = u.core.getSeriesBorderColor(s, l)); var p = [] , f = new r(h); e.pushSmoothingModeToAntiAlias(), p.add(new n(new o(a.x - a.width,a.y,2 * a.width,2 * a.height),270,90)), p.add(new i(a.right,a.bottom,a.x + a.width / 2,a.bottom)), p.add(new n(new o(a.x - a.width / 2,a.bottom - a.height / 2,a.width,a.height),360,-90)), p.add(new i(a.x,a.y + a.height / 2,a.x,a.y)), e.fillPath(c, p, a, null), e.drawPath(f, p, a), e.popSmoothingMode() } , e }(); t.StiLegendDoughnutMarker = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiLinesSegmentGeom , n = e.Base.Context.StiCloseFigureSegmentGeom , o = e.System.Drawing.Point , a = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendFunnelMarker || (e.implementsStiLegendFunnelMarker = [t.IStiLegendMarker]), e.implementsStiLegendFunnelMarker } , e.prototype.draw = function(e, t, a, s, l) { var u = t , c = u.brush; u.allowApplyBrush && (c = u.core.getSeriesBrush(s, l), c = u.processSeriesBrushes(s, c)); var h = u.borderColor; u.allowApplyBorderColor && (h = u.core.getSeriesBorderColor(s, l)); var p = [] , f = new r(h); e.pushSmoothingModeToAntiAlias(); var m = [new o(a.x,a.y), new o(a.right,a.y), new o(a.x + 3 * a.width / 4,a.top + a.height / 2), new o(a.x + 3 * a.width / 4,a.bottom), new o(a.x + 1 * a.width / 4,a.bottom), new o(a.x + 1 * a.width / 4,a.top + a.height / 2)]; p.add(new i(m)), p.add(new n), e.fillPath(c, p, a, null), e.drawPath(f, p, null), e.popSmoothingMode() } , e }(); t.StiLegendFunnelMarker = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Rectangle , n = e.System.Drawing.Color , o = e.Base.Drawing.StiBrush , a = e.Base.Drawing.StiSolidBrush , s = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendLineMarker || (e.implementsStiLegendLineMarker = [t.IStiLegendMarker]), e.implementsStiLegendLineMarker } , e.prototype.draw = function(e, s, l, u, c) { var h = n.transparent , p = !1 , f = !1 , m = s.stimulsoft.as(t.IStiRadarSeries); null != m && (h = o.toColor(m.marker.brush), f = !0); var S = s.stimulsoft.as(t.IStiRadarLineSeries); null != S && (h = S.lineColor, f = S.marker.visible, p = !0); var d = s.stimulsoft.as(t.IStiBaseLineSeries); null != d && (h = d.lineColor, f = d.marker.visible, p = !0); var y = s.stimulsoft.as(t.IStiStackedBaseLineSeries); null != y && (h = y.lineColor, f = y.marker.visible, p = !0); var g = s.stimulsoft.as(t.IStiScatterSeries); null != g && (h = o.toColor(g.marker.brush), f = !0, p = !1); var b = s.stimulsoft.as(t.IStiScatterLineSeries); null != b && (h = b.lineColor, f = b.marker.visible, p = !0); var v = s.stimulsoft.as(t.IStiBubbleSeries); if (null != v) { var C = v.brush; v.allowApplyStyle && (C = v.core.getSeriesBrush(u, c), C = v.processSeriesBrushes(u, C)), h = o.toColor(C), f = !0, p = !1 } if (p) { var w = new r(h); e.drawRectangle(w, l), e.drawLine(w, l.x, l.y + l.height / 2, l.right, l.y + l.height / 2) } f && (p && (l = new i(l.x + l.width / 4,l.y + l.height / 4,l.width / 2,l.height / 2)), e.pushSmoothingModeToAntiAlias(), e.fillEllipse2(new a(h), l, null), e.popSmoothingMode()) } , e }(); t.StiLegendLineMarker = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Context.StiCurveSegmentGeom , o = function() { function e() {} return e.getSteppedMarkerPath = function(e) { var t = []; return t.add(new i(e.x,e.y,e.x + e.width,e.y)), t.add(new i(e.x + e.width,e.y,e.x + e.width,e.y + e.height)), t.add(new i(e.x + e.width,e.y + e.height,e.x,e.y + e.height)), t.add(new i(e.x,e.y + e.height,e.x,e.y)), t } , e.getAreaMarkerPath = function(e) { var t = e.width / 5 , r = e.height / 5 , n = []; return n.add(new i(e.x,e.y + 3.5 * r,e.x,e.y + 3.5 * r)), n.add(new i(e.x,e.y + 3.5 * r,e.x + 2 * t,e.y + .5 * r)), n.add(new i(e.x + 2 * t,e.y + .5 * r,e.x + 4 * t,e.y + 2.5 * r)), n.add(new i(e.x + 4 * t,e.y + 2.5 * r,e.x + 5 * t,e.y + 1.5 * r)), n.add(new i(e.x + 5 * t,e.y + 1.5 * r,e.x + 5 * t,e.y + 5 * r)), n.add(new i(e.x + 5 * t,e.y + 5 * r,e.x,e.y + 5 * r)), n.add(new i(e.x,e.y + 5 * r,e.x,e.y + 3 * r)), n } , e.getAreaMarkerLinePoints = function(e) { var t = e.width / 5 , i = e.height / 5 , n = []; return n.add(new r(e.x,e.y + 3.5 * i)), n.add(new r(e.x + 2 * t,e.y + .5 * i)), n.add(new r(e.x + 4 * t,e.y + 2.5 * i)), n.add(new r(e.x + 5 * t,e.y + 1.5 * i)), n } , e.getSplineAreaMarkerPath = function(t) { var r = t.width / 5 , o = t.height / 5 , a = []; a.add(new i(t.x,t.y + 5 * o,t.x,t.y + 3.5 * o)); var s = e.getSplineAreaMarkerLinePoints(t); return a.add(new n(s,.55)), a.add(new i(t.x + 5 * r,t.y + 1.5 * o,t.x + 5 * r,t.y + 5 * o)), a.add(new i(t.x + 5 * r,t.y + 5 * o,t.x,t.y + 5 * o)), a } , e.getSplineAreaMarkerLinePoints = function(e) { var t = e.width / 5 , i = e.height / 5 , n = []; return n.add(new r(e.x,e.y + 3.5 * i)), n.add(new r(e.x + 2 * t,e.y + .5 * i)), n.add(new r(e.x + 4 * t,e.y + 2.5 * i)), n.add(new r(e.x + 5 * t,e.y + 1.5 * i)), n } , e }(); t.StiLegendMarkerHelper = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.prototype.implements = function() { return t.implementsStiLegendPictorialMarker || (t.implementsStiLegendPictorialMarker = [e.IStiLegendMarker]), t.implementsStiLegendPictorialMarker } , t.prototype.draw = function(e, t, r, i, n) { var o = t.core.getSeriesBrush(i, n); e.pushSmoothingModeToAntiAlias(), e.fillEllipse2(o, r, null), e.popSmoothingMode() } , t }(); e.StiLegendPictorialMarker = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Context.StiArcSegmentGeom , o = e.System.Drawing.Rectangle , a = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendPieMarker || (e.implementsStiLegendPieMarker = [t.IStiLegendMarker]), e.implementsStiLegendPieMarker } , e.prototype.draw = function(e, t, a, s, l) { var u = t , c = u.brush; u.allowApplyBrush && (c = u.core.getSeriesBrush(s, l), c = u.processSeriesBrushes(s, c)); var h = u.borderColor; u.allowApplyBorderColor && (h = t.core.getSeriesBorderColor(s, l)); var p = [] , f = new r(h); e.pushSmoothingModeToAntiAlias(), p.add(new n(new o(a.x - a.width,a.y,2 * a.width,2 * a.height),270,90)), p.add(new i(a.right,a.bottom,a.x,a.bottom)), p.add(new i(a.x,a.bottom,a.x,a.y)), e.fillPath(c, p, a, null), e.drawPath(f, p, null), e.popSmoothingMode() } , e }(); t.StiLegendPieMarker = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiLineSegmentGeom , n = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendRangeMarker || (e.implementsStiLegendRangeMarker = [t.IStiLegendMarker]), e.implementsStiLegendRangeMarker } , e.prototype.draw = function(e, n, o, a, s) { var l = n.stimulsoft.as(t.StiRangeSeries) , u = l.marker , c = l.lineStyle , h = l.lineMarker , p = l.lineWidth , f = l.lineColor , m = l.lighting , S = l.brush , d = [] , y = o.width / 5 , g = o.height / 5; d.add(new i(o.x,o.y + 3 * g,o.x,o.y + 3 * g)), d.add(new i(o.x,o.y + 3 * g,o.x + 2 * y,o.y)), d.add(new i(o.x + 2 * y,o.y,o.x + 4 * y,o.y + 2 * g)), d.add(new i(o.x + 4 * y,o.y + 2 * g,o.x + 5 * y,o.y + 1 * g)), d.add(new i(o.x + 5 * y,o.y + 1 * g,o.x + 5 * y,o.y + 3 * g)), d.add(new i(o.x + 5 * y,o.y + 3 * g,o.x + 4 * y,o.y + 4 * g)), d.add(new i(o.x + 4 * y,o.y + 4 * g,o.x + 2 * y,o.y + 3 * g)), d.add(new i(o.x + 2 * y,o.y + 3 * g,o.x,o.y + 5 * g)), d.add(new i(o.x,o.y + 5 * g,o.x,o.y + 3 * g)); var b = new r(f); e.pushSmoothingModeToAntiAlias(), e.fillPath(S, d, o, null), e.drawPath(b, d, o), e.popSmoothingMode() } , e }(); t.StiLegendRangeMarker = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendSplineAreaMarker || (e.implementsStiLegendSplineAreaMarker = [t.IStiLegendMarker]), e.implementsStiLegendSplineAreaMarker } , e.prototype.draw = function(e, i, n, o, a) { var s = i.stimulsoft.as(t.StiSplineAreaSeries) , l = s.marker , u = s.lineStyle , c = s.lineMarker , h = s.lineWidth , p = s.lineColor , f = s.lighting , m = s.brush , S = t.StiLegendMarkerHelper.getSplineAreaMarkerPath(n) , d = new r(p) , y = t.StiLegendMarkerHelper.getSplineAreaMarkerLinePoints(n); e.pushSmoothingModeToAntiAlias(), e.fillPath(m, S, n, null), e.drawLines(d, y), e.popSmoothingMode() } , e }(); t.StiLegendSplineAreaMarker = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Point , n = e.Base.Context.StiLineSegmentGeom , o = e.Base.Context.StiCurveSegmentGeom , a = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendSplineRangeMarker || (e.implementsStiLegendSplineRangeMarker = [t.IStiLegendMarker]), e.implementsStiLegendSplineRangeMarker } , e.prototype.draw = function(e, a, s, l, u) { var c = a.stimulsoft.as(t.StiSplineRangeSeries) , h = c.marker , p = c.lineStyle , f = c.lineMarker , m = c.lineWidth , S = c.lineColor , d = c.lighting , y = c.brush , g = [] , b = s.width / 5 , v = s.height / 5; g.add(new n(s.x,s.y + 5 * v,s.x,s.y + 3 * v)); var C = []; C.add(new i(s.x,s.y + 3 * v)), C.add(new i(s.x + 2 * b,s.y)), C.add(new i(s.x + 4 * b,s.y + 2 * v)), C.add(new i(s.x + 5 * b,s.y + 1 * v)), g.add(new o(C,c.tension)), g.add(new n(s.x + 5 * b,s.y + 1 * v,s.x + 5 * b,s.y + 3 * v)); var w = []; w.add(new i(s.x + 5 * b,s.y + 3 * v)), w.add(new i(s.x + 4 * b,s.y + 4 * v)), w.add(new i(s.x + 2 * b,s.y + 4 * v)), w.add(new i(s.x,s.y + 5 * v)), g.add(new o(w,c.tension)); var x = new r(S); e.pushSmoothingModeToAntiAlias(), e.fillPath(y, g, s, null), e.drawCurve(x, C, c.tension), e.drawCurve(x, w, c.tension), e.popSmoothingMode() } , e }(); t.StiLegendSplineRangeMarker = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendStackedAreaMarker || (e.implementsStiLegendStackedAreaMarker = [t.IStiLegendMarker]), e.implementsStiLegendStackedAreaMarker } , e.prototype.draw = function(e, i, n, o, a) { var s = i.stimulsoft.as(t.StiStackedAreaSeries) , l = s.marker , u = s.lineStyle , c = s.lineMarker , h = s.lineWidth , p = s.lineColor , f = s.lighting , m = s.brush , S = t.StiLegendMarkerHelper.getAreaMarkerPath(n) , d = new r(p); e.pushSmoothingModeToAntiAlias(), e.fillPath(m, S, n, null); var y = t.StiLegendMarkerHelper.getAreaMarkerLinePoints(n); e.drawLines(d, y), e.popSmoothingMode() } , e }(); t.StiLegendStackedAreaMarker = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendStackedSplineAreaMarker || (e.implementsStiLegendStackedSplineAreaMarker = [t.IStiLegendMarker]), e.implementsStiLegendStackedSplineAreaMarker } , e.prototype.draw = function(e, i, n, o, a) { var s = i.stimulsoft.as(t.StiStackedSplineAreaSeries) , l = s.marker , u = s.lineStyle , c = s.lineMarker , h = s.lineWidth , p = s.lineColor , f = s.lighting , m = s.brush , S = t.StiLegendMarkerHelper.getSplineAreaMarkerPath(n) , d = new r(p) , y = t.StiLegendMarkerHelper.getSplineAreaMarkerLinePoints(n); e.pushSmoothingModeToAntiAlias(), e.fillPath(m, S, n, null), e.drawLines(d, y), e.popSmoothingMode() } , e }(); t.StiLegendStackedSplineAreaMarker = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendSteppedAreaMarker || (e.implementsStiLegendSteppedAreaMarker = [t.IStiLegendMarker]), e.implementsStiLegendSteppedAreaMarker } , e.prototype.draw = function(e, i, n, o, a) { var s = i.stimulsoft.as(t.StiSteppedAreaSeries) , l = s.marker , u = s.lineStyle , c = s.lineMarker , h = s.lineWidth , p = s.lineColor , f = s.lighting , m = s.brush , S = t.StiLegendMarkerHelper.getSteppedMarkerPath(n) , d = new r(p); e.pushSmoothingModeToAntiAlias(), e.fillPath(m, S, n, null), e.drawPath(d, S, n), e.popSmoothingMode() } , e }(); t.StiLegendSteppedAreaMarker = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiSteppedRangeSeries || (e.implementsStiSteppedRangeSeries = [t.IStiLegendMarker]), e.implementsStiSteppedRangeSeries } , e.prototype.draw = function(e, i, n, o, a) { var s = i.stimulsoft.as(t.StiSteppedRangeSeries) , l = s.marker , u = s.lineStyle , c = s.lineMarker , h = s.lineWidth , p = s.lineColor , f = s.lighting , m = s.brush , S = t.StiLegendMarkerHelper.getSteppedMarkerPath(n) , d = new r(p); e.pushSmoothingModeToAntiAlias(), e.fillPath(m, S, n, null), e.drawPath(d, S, n), e.popSmoothingMode() } , e }(); t.StiLegendSteppedRangeMarker = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function() { function e() {} return e.prototype.implements = function() { return e.implementsStiLegendStockMarker || (e.implementsStiLegendStockMarker = [t.IStiLegendMarker]), e.implementsStiLegendStockMarker } , e.prototype.draw = function(e, t, i, n, o) { var a = t , s = a.lineColor , l = new r(s); e.pushSmoothingModeToAntiAlias(), e.drawLine(l, i.left + i.width / 4, i.top + i.height / 4, i.left + i.width / 2, i.top + i.height / 4), e.drawLine(l, i.left + i.width / 2, i.top, i.left + i.width / 2, i.bottom), e.drawLine(l, i.left + i.width / 2, i.bottom - i.height / 4, i.right - i.width / 4, i.bottom - i.height / 4), e.popSmoothingMode() } , e }(); t.StiLegendStockMarker = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() {} return t.createMarker = function(t) { if (t.stimulsoft.is(e.IStiDoughnutSeries)) return new e.StiLegendDoughnutMarker; if (t.stimulsoft.is(e.IStiPieSeries)) return new e.StiLegendPieMarker; if (t.stimulsoft.is(e.StiAreaSeries)) return new e.StiLegendAreaMarker; if (t.stimulsoft.is(e.StiStackedAreaSeries)) return new e.StiLegendStackedAreaMarker; if (t.stimulsoft.is(e.StiSplineAreaSeries)) return new e.StiLegendSplineAreaMarker; if (t.stimulsoft.is(e.StiStackedSplineAreaSeries)) return new e.StiLegendStackedSplineAreaMarker; if (t.stimulsoft.is(e.StiSteppedAreaSeries)) return new e.StiLegendSteppedAreaMarker; if (t.stimulsoft.is(e.StiRangeSeries)) return new e.StiLegendRangeMarker; if (t.stimulsoft.is(e.StiSplineRangeSeries)) return new e.StiLegendSplineRangeMarker; if (t.stimulsoft.is(e.StiSteppedRangeSeries)) return new e.StiLegendSteppedRangeMarker; if (t.stimulsoft.is(e.IStiBaseLineSeries) || t.stimulsoft.is(e.IStiStackedBaseLineSeries)) return new e.StiLegendLineMarker; if (t.stimulsoft.is(e.IStiRadarSeries)) return new e.StiLegendLineMarker; if (t.stimulsoft.is(e.IStiFunnelSeries)) return new e.StiLegendFunnelMarker; if (t.stimulsoft.is(e.IStiStockSeries)) return new e.StiLegendStockMarker; if (t.stimulsoft.is(e.IStiCandlestickSeries)) return new e.StiLegendCandelstickMarker; if (t.stimulsoft.is(e.IStiPictorialSeries)) return new e.StiLegendPictorialMarker; return new e.StiLegendColumnMarker } , t }(); e.StiMarkerLegendFactory = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiShadowSides , n = e.System.TimeSpan , o = e.Base.Context.Animation.StiOpacityAnimation , a = function(e) { function t(t, r, i) { var n = e.call(this, r) || this; return n._legend = t, n._seriesItems = i, n } return __extends(t, e), Object.defineProperty(t.prototype, "legend", { get: function() { return this._legend }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "seriesItems", { get: function() { return this._seriesItems }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "legendTitleGeom", { get: function() { return this._legendTitleGeom }, set: function(e) { this._legendTitleGeom = e }, enumerable: !0, configurable: !0 }), t.prototype.dispose = function() { e.prototype.dispose.call(this), this._seriesItems.clear(), this._seriesItems = null } , t.prototype.draw = function(e) { if (!this.legend.visible || 0 == this.seriesItems.length) return; var t = this.clientRectangle.clone(); if (null != this.legendTitleGeom && (t.y += this.legendTitleGeom.clientRectangle.height, t.height -= this.legendTitleGeom.clientRectangle.height), t.width > 0 && t.height > 0) { if (this.legend.showShadow) if (this.legend.chart.isAnimation) { var a = new o(new n(0),new n(0)); e.drawShadowRect(t, 6, a) } else e.drawCachedShadow(t, i.All, e.options.isPrinting); e.fillRectangle2(this.legend.brush, t.x, t.y, t.width, t.height, null); var s = new r(this.legend.borderColor); e.drawRectangle2(s, t.x, t.y, t.width, t.height) } } , t }(t.StiCellGeom); t.StiLegendGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.StringFormatFlags , i = e.System.Drawing.StringAlignment , n = e.Base.Context.StiFontGeom , o = e.Base.Drawing.StiSolidBrush , a = e.System.Drawing.Rectangle , s = e.Base.Drawing.StiRotationMode , l = function(e) { function l(t, r, i, n, o) { var a = e.call(this, i) || this; return a._legend = t, a._item = r, a._colorIndex = n, a._legendItemsCount = o, a } return __extends(l, e), l.prototype.invokeMouseEnter = function(e) { if (!this.allowMouseOver) return; this.isMouseOver || (this.isMouseOver = !0, e.updateContext = !0) } , l.prototype.invokeMouseLeave = function(e) { if (!this.allowMouseOver) return; this.isMouseOver && (this.isMouseOver = !1, e.updateContext = !0) } , l.prototype.invokeClick = function(e) { if (null != this.item.series.interaction && this.item.series.interaction.drillDownEnabled && this.item.series.interaction.allowSeries) { var r = new t.StiSeriesInteractionData; this.isColorEach ? (r.fill(this.item.series.chart.area, this.item.series, this.item.index), r.isElements = !0) : (r.series = this.item.series, r.isElements = !1), this.isMouseOver = !1, e.updateContext = !0, e.seriesInteractionData = r } } , Object.defineProperty(l.prototype, "allowMouseOver", { get: function() { return null != this.item && null != this.item.series && null != this.item.series.interaction && this.item.series.interaction.allowSeries && this.item.series.interaction.drillDownEnabled }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "isColorEach", { get: function() { return this.item.series.chart.area.colorEach }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "isMouseOver", { get: function() { if (this.isColorEach) { if (-1 == this.item.index) return !1; return this.item.series.core.getIsMouseOverSeriesElement(this.item.index) } return this.item.series.core.isMouseOver }, set: function(e) { this.isColorEach ? -1 != this.item.index && this.item.series.core.setIsMouseOverSeriesElement(this.item.index, e) : this.item.series.core.isMouseOver = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legend", { get: function() { return this._legend }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "item", { get: function() { return this._item }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "colorIndex", { get: function() { return this._colorIndex }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "legendItemsCount", { get: function() { return this._legendItemsCount }, enumerable: !0, configurable: !0 }), l.prototype.draw = function(e) { var l = this.clientRectangle.clone(); if (this.legend.markerVisible) { var u = new a(this.clientRectangle.x,this.clientRectangle.y + (this.clientRectangle.height - this.legend.markerSize.height * e.options.zoom) / 2,this.legend.markerSize.width * e.options.zoom,this.legend.markerSize.height * e.options.zoom); this.legend.markerAlignment == t.StiMarkerAlignment.Right && (u.x = this.clientRectangle.right - u.width); t.StiMarkerLegendFactory.createMarker(this.item.series).draw(e, this.item.series, u, this.colorIndex, this.legendItemsCount), this.legend.markerAlignment == t.StiMarkerAlignment.Left && (l.x += this.legend.markerSize.width * e.options.zoom), l.width -= this.legend.markerSize.width * e.options.zoom } this.legend.markerAlignment != t.StiMarkerAlignment.Right && (l.x += 2), l.width += 4; var c = new o(this.legend.labelsColor) , h = n.changeFontSize(this.legend.font, this.legend.font.size * e.options.zoom) , p = e.getDefaultStringFormat(); p.alignment = i.Near, p.lineAlignment = i.Center, p.formatFlags = 0, this.legend.markerAlignment == t.StiMarkerAlignment.Right && (p.formatFlags = r.NoWrap), e.drawRotatedString6(this.item.text, h, c, l, p, s.LeftTop, 0, !0, 0, !1) } , l }(t.StiCellGeom); t.StiLegendItemGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.StringAlignment , i = e.Base.Context.StiFontGeom , n = e.Base.Drawing.StiSolidBrush , o = function(e) { function t(t, r) { var i = e.call(this, r) || this; return i._legend = t, i } return __extends(t, e), Object.defineProperty(t.prototype, "legend", { get: function() { return this._legend }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = new n(this.legend.titleColor) , o = i.changeFontSize(this.legend.titleFont, this.legend.titleFont.size * e.options.zoom) , a = e.getDefaultStringFormat(); a.alignment = r.Center, a.lineAlignment = r.Center, a.formatFlags = 0, e.drawString(this.legend.title, o, t, this.clientRectangle, a) } , t }(t.StiCellGeom); t.StiLegendTitleGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.System.Drawing.Color , n = e.Base.Context.StiInteractionDataGeom , o = e.Report.Chart.IStiSeriesElement , a = e.Base.Drawing.StiBrush , s = function(s) { function l(e, r, i, n, o, a, l, u) { var c = s.call(this, t.StiMarkerCoreXF.getMarkerRect(n, o.size, l)) || this; return c._series = e, c._index = r, c._value = i, c._point = n, c._marker = o, c._showShadow = a, c._isTooltipMode = u, c } return __extends(l, s), l.prototype.implements = function() { return l.implementsStiMarkerGeom || (l.implementsStiMarkerGeom = s.prototype.implements.call(this).concat([o])), l.implementsStiMarkerGeom } , l.prototype.invokeMouseEnter = function(e) { if (!this.allowMouseOver) return; this.isMouseOver || (this.isMouseOver = !0, e.updateContext = !0); var t = this.getValueIndex(); e.interactionToolTip = this.getToolTip2(t), e.interactionHyperlink = this.getHyperlink2(t) } , l.prototype.invokeMouseLeave = function(e) { if (!this.allowMouseOver) return; this.isMouseOver && (this.isMouseOver = !1, e.updateContext = !0) } , l.prototype.invokeClick = function(e) { var t = this.getValueIndex(); null != this.series.hyperlinks && t < this.series.hyperlinks.length && (e.interactionHyperlink = this.series.hyperlinks[t]), this.series.interaction.drillDownEnabled && (e.seriesInteractionData = this.interaction, this.isMouseOver = !1, e.updateContext = !0) } , l.prototype.getValueIndex = function() { var e = this.index; return this.series.stimulsoft.is(t.IStiClusteredBarSeries) || this.series.stimulsoft.is(t.IStiStackedBarSeries) || this.series.stimulsoft.is(t.IStiFullStackedBarSeries) ? this.series.chart.area.stimulsoft.is(t.IStiAxisArea) && !this.series.chart.area.reverseVert && (e = this.series.values.length - e - 1) : this.series.chart.area.stimulsoft.is(t.IStiAxisArea) && this.series.chart.area.reverseHor && (e = this.series.values.length - e - 1), e } , l.prototype.getHyperlink = function() { return this.getHyperlink2(this.getValueIndex()) } , l.prototype.getHyperlink2 = function(e) { return null != this.series.hyperlinks && e < this.series.hyperlinks.length ? this.series.hyperlinks[e] : null } , l.prototype.getToolTip = function() { return this.getToolTip2(this.getValueIndex()) } , l.prototype.getToolTip2 = function(t) { var i = null; if (null != this.series.toolTips && t < this.series.toolTips.length && (i = this.series.toolTips[t]), !r.isNullOrEmpty(i) && i.stimulsoft.contains('"StiColor":"#ffffff"')) { var n = a.toColor(this.series.processSeriesBrushes(this.index, this.marker.brush)); i = i.replace('"StiColor":"#ffffff"', r.format('"StiColor":"{0}"', e.System.Drawing.ColorTranslator.toHtml2(n, !1))) } return i } , Object.defineProperty(l.prototype, "allowMouseOver", { get: function() { var e = this.getValueIndex(); return null != this.getHyperlink2(this.getValueIndex()) || null != this.series.toolTips && e < this.series.toolTips.length || this.series.interaction.drillDownEnabled && this.series.interaction.allowSeriesElements }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "isMouseOver", { get: function() { if (null == this.series) return !1; return this.series.core.getIsMouseOverSeriesElement(this.index) }, set: function(e) { null != this.series && this.series.core.setIsMouseOverSeriesElement(this.index, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "interaction", { get: function() { return this._interaction }, set: function(e) { this._interaction = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "index", { get: function() { return this._index }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "point", { get: function() { return this._point }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "marker", { get: function() { return this._marker }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "value", { get: function() { return this._value }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "showShadow", { get: function() { return this._showShadow }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "series", { get: function() { return this._series }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "elementIndex", { get: function() { return this._elementIndex }, set: function(e) { this._elementIndex = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "isTooltipMode", { get: function() { return this._isTooltipMode }, enumerable: !0, configurable: !0 }), l.prototype.contains = function(e, t) { if (this.invisible) return !1; return this.getMouseOverRect().contains(e, t) } , l.prototype.getMouseOverRect = function() { var e = this.clientRectangle.clone(); return e.inflate(e.width / 2, e.height / 2), e } , l.prototype.draw = function(e) { e.pushSmoothingModeToAntiAlias(); var r = e.options.zoom; this.isMouseOver && e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(), this.getMouseOverRect(), null); var o = this.series.chart , a = this.marker.clone() , s = this.series.processSeriesMarkerVisible(this.index) || this.marker.visible; this._isTooltipMode && !s || (a.brush = this.series.processSeriesBrushes(this.index, this.marker.brush), a.angle = this.series.processSeriesMarkerAngle(this.index, this.marker.angle), a.type = this.series.processSeriesMarkerType(this.index, this.marker.type), a.visible = s), this._isTooltipMode && !s && (a.brush = null, a.borderColor = i.transparent); var l = null; o.isAnimation && (l = new n, l.componentName = o.name, l.componentIndex = o.page.components.indexOf(o).toString(), l.pageGuid = this._series.stimulsoft.as(t.StiSeries).drillDownPageGuid, l.pageIndex = o.page.report.renderedPages.indexOf(o.page).toString(), l.elementIndex = this.elementIndex.toString(), l.seriesInteractionData = this.interaction), this.marker.core.draw(e, a, this.point, r, this.showShadow, this.isMouseOver || this.series.core.isMouseOver, this.isTooltipMode, o.isAnimation, this.getToolTip(), this, l), e.popSmoothingMode() } , l }(t.StiCellGeom); t.StiMarkerGeom = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function(e) { function t(t, r) { var i = e.call(this, r) || this; return i._axis = t, i } return __extends(t, e), Object.defineProperty(t.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), t.prototype.drawAxisLine = function(e, t) { var i = t.right , n = new r(this.axis.lineColor,this.axis.lineWidth); e.drawLine(n, i, t.y, i, t.bottom) } , t.prototype.drawMinorTicks = function(e, t, r, i, n, o) { for (var a = n - i, s = a / (o.minorCount + 1), l = o.minorLength * e.options.zoom, u = 1; u <= o.minorCount; u++) { var c = i + s * u , h = r - l; e.drawLine(t, r, c, h, c) } } , t.prototype.drawTicks = function(e, t, r, i) { var n, o; if (!r.visible) return; var a = r.length * e.options.zoom , s = t.right , l = s - a , u = 0; try { for (var c = __values(this.axis.info.ticksCollection), h = c.next(); !h.done; h = c.next()) { var p = h.value , f = p.position; if (e.drawLine(i, s, f, l, f), r.minorVisible && u != this.axis.info.ticksCollection.length - 1) { var m = this.axis.info.ticksCollection[u + 1].position; this.drawMinorTicks(e, i, s, f, m, r) } u++ } } catch (e) { n = { error: e } } finally { try { h && !h.done && (o = c.return) && o.call(c) } finally { if (n) throw n.error } } } , t.prototype.drawAxis = function(e, t) { var i = new r(this.axis.lineColor,this.axis.lineWidth); i.penStyle = this.axis.lineStyle, this.drawTicks(e, t, this.axis.area.yAxis.ticks, i), this.drawAxisLine(e, t) } , t.prototype.draw = function(e) { var t = this.clientRectangle.clone(); if (t.width <= 0 || t.height <= 0) return; this.drawAxis(e, t) } , t }(t.StiCellGeom); t.StiRadarAxisGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.StringTrimming , n = e.System.Drawing.StringFormatFlags , o = e.Base.Drawing.StiRotationMode , a = e.Base.Context.StiFontGeom , s = function(e) { function t(t, r, i, n, o, a, s, l) { var u = e.call(this, a) || this; return u._axis = t, u._labelRect = s, u._text = r, u._angle = o, u._point = l, u._labelBrush = i, u._borderColor = n, u } return __extends(t, e), Object.defineProperty(t.prototype, "borderColor", { get: function() { return this._borderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "labelBrush", { get: function() { return this._labelBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "text", { get: function() { return this._text }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "angle", { get: function() { return this._angle }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "point", { get: function() { return this._point }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "labelRect", { get: function() { return this._labelRect }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.clientRectangle.clone() , s = new r(this.borderColor) , l = a.changeFontSize(this.axis.labels.font, this.axis.labels.font.size * e.options.zoom) , u = e.getGenericStringFormat(); u.trimming = i.None, this.axis.labels.wordWrap || (u.formatFlags = n.MeasureTrailingSpaces | n.NoWrap), this.axis.labels.antialiasing && e.pushSmoothingModeToAntiAlias(); var c = Math.round2(this.labelRect.x + this.labelRect.width / 2, 0) , h = Math.round2(this.labelRect.y + this.labelRect.height / 2, 0); e.pushTranslateTransform(c, h), e.pushRotateTransform(this.angle), t.isEmpty || (e.fillRectangle(this.axis.labels.brush, t, null), this.axis.labels.drawBorder && e.drawRectangle2(s, t.x, t.y, t.width, t.height)), e.popTransform(), e.popTransform(), this.axis.labels.antialiasing && e.popSmoothingMode(); var p = o.CenterBottom , f = this.angle; this.angle >= 90 && this.angle <= 270 && (f = this.angle + 180, p = o.CenterTop), this.axis.labels.rotationLabels || (this.angle > 0 && this.angle < 180 ? p = o.LeftCenter : this.angle < 360 && this.angle > 180 ? p = o.RightCenter : 0 == this.angle ? p = o.CenterBottom : 180 == this.angle && (p = o.CenterTop), f = 0), e.drawRotatedString9(this.text, l, this.labelBrush, this.point, u, p, f, this.axis.labels.antialiasing, Math.trunc(this.axis.labels.width * e.options.zoom)) } , t }(t.StiCellGeom); t.StiXRadarAxisLabelGeom = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiSolidBrush , i = function(e) { function t(t, r, i, n, o, a, s) { var l = e.call(this, r) || this; return l._axis = t, l._text = n, l._stripLine = o, l._textPoint = i, l._angle = a, l._rotationMode = s, l } return __extends(t, e), Object.defineProperty(t.prototype, "rotationMode", { get: function() { return this._rotationMode }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "textPoint", { get: function() { return this._textPoint }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "angle", { get: function() { return this._angle }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "axis", { get: function() { return this._axis }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "text", { get: function() { return this._text }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "stripLine", { get: function() { return this._stripLine }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.clientRectangle.clone() , i = this.axis.yCore.getStringFormatGeom(e) , n = this.axis.yCore.getFontGeom(e) , o = new r(this.axis.labels.color); e.drawRotatedString9(this.text, n, o, this.textPoint, i, this.rotationMode, this.angle, this.axis.labels.antialiasing, Math.trunc(this.axis.labels.width * e.options.zoom)) } , t }(t.StiCellGeom); t.StiYRadarAxisLabelGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Rectangle , n = e.System.TimeSpan , o = e.System.Drawing.Color , a = e.Base.Context.Animation.StiOpacityAnimation , s = function(e) { function s(t, r, i, o, a) { var s = e.call(this, a) || this; return s._beginTime = new n(0), s._duration = new n(0), s._seriesLabels = t, s._series = r, s._index = i, s._value = o, s } return __extends(s, e), s.prototype.invokeMouseEnter = function(e) { if (!this.allowMouseOver) return; this.isMouseOver || (this.isMouseOver = !0, e.updateContext = !0) } , s.prototype.invokeMouseLeave = function(e) { if (!this.allowMouseOver) return; this.isMouseOver && (this.isMouseOver = !1, e.updateContext = !0) } , s.prototype.getValueIndex = function() { var e = this.index; return this.series.stimulsoft.is(t.IStiClusteredBarSeries) || this.series.stimulsoft.is(t.IStiStackedBarSeries) || this.series.stimulsoft.is(t.IStiFullStackedBarSeries) ? this.series.chart.area.stimulsoft.is(t.IStiAxisArea) && !this.series.chart.area.reverseVert && (e = this.series.values.length - e - 1) : this.series.chart.area.stimulsoft.is(t.IStiAxisArea) && this.series.chart.area.reverseHor && (e = this.series.values.length - e - 1), e } , s.prototype.getHyperlink = function(e) { return null != this.series.hyperlinks && e < this.series.hyperlinks.length ? this.series.hyperlinks[e] : null } , s.prototype.getToolTip = function(e) { return null != this.series.toolTips && e < this.series.toolTips.length ? this.series.hyperlinks[e] : null } , Object.defineProperty(s.prototype, "allowMouseOver", { get: function() { return null != this.getHyperlink(this.getValueIndex()) || this.series.interaction.drillDownEnabled }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "isMouseOver", { get: function() { if (null == this.series) return !1; return this.series.core.getIsMouseOverSeriesElement(this.index) }, set: function(e) { null != this.series && this.series.core.setIsMouseOverSeriesElement(this.index, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "value", { get: function() { return this._value }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "index", { get: function() { return this._index }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "series", { get: function() { return this._series }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabels", { get: function() { return this._seriesLabels }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "beginTime", { get: function() { return this._beginTime }, set: function(e) { this._beginTime = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "duration", { get: function() { return this._duration }, set: function(e) { this._duration = e }, enumerable: !0, configurable: !0 }), s.prototype.drawMarker = function(e, n, s, l) { if (this.seriesLabels.markerVisible) { var u = this.series.chart , c = i.empty; switch (this.seriesLabels.markerAlignment == t.StiMarkerAlignment.Right ? c.x = Math.trunc(n.right + 2 * e.options.zoom) : c.x = Math.trunc(n.left - (2 + this.seriesLabels.markerSize.width) * e.options.zoom), this.seriesLabels.markerAlignment) { case t.StiMarkerAlignment.Right: c.x = Math.trunc(n.right + 2 * e.options.zoom); break; case t.StiMarkerAlignment.Left: c.x = Math.trunc(n.left - (2 + this.seriesLabels.markerSize.width) * e.options.zoom); break; case t.StiMarkerAlignment.Center: c.x = Math.trunc(n.left + +n.width / 2 - (2 + this.seriesLabels.markerSize.width) / 2 * e.options.zoom); break } c.y = Math.trunc(n.y + (n.height - this.seriesLabels.markerSize.height * e.options.zoom) / 2), c.width = Math.trunc(this.seriesLabels.markerSize.width * e.options.zoom), c.height = Math.trunc(this.seriesLabels.markerSize.height * e.options.zoom); var h = s.stimulsoft.is(o) ? s.stimulsoft.as(o) : o.black , p = new r(h,1); if (u.isAnimation) { var f = new a(t.StiChartHelper.globalBeginTimeElement,t.StiChartHelper.globalBeginTimeElement); e.drawAnimationRectangle(l, p, c, null, f, null, this.getToolTip(this.getValueIndex())) } else e.fillRectangle2(l, c.x, c.y, c.width, c.height, null), e.drawRectangle2(p, c.x, c.y, c.width, c.height) } } , s.prototype.draw = function(e) {} , s }(t.StiCellGeom); t.StiSeriesLabelsGeom = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.StringAlignment , n = e.Base.Drawing.StiRotationMode , o = e.Base.Drawing.StiSolidBrush , a = e.Base.Context.Animation.StiOpacityAnimation , s = function(e) { function s(t, r, i, n, o, a, s, l, u, c, h, p, f) { var m = e.call(this, t, r, i, n, o) || this; return m._text = a, m._labelColor = s, m._labelBorderColor = l, m._seriesBrush = u, m._seriesLabelsBrush = c, m._seriesBorderColor = h, m._font = p, m._animation = f, m } return __extends(s, e), Object.defineProperty(s.prototype, "labelColor", { get: function() { return this._labelColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "labelBorderColor", { get: function() { return this._labelBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBrush", { get: function() { return this._seriesLabelsBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "font", { get: function() { return this._font }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "text", { get: function() { return this._text }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "animation", { get: function() { return this._animation }, enumerable: !0, configurable: !0 }), s.prototype.draw = function(e) { var s = this.clientRectangle.clone() , l = new r(this.labelBorderColor,1) , u = new o(this.labelColor) , c = this.seriesLabels.core.getStringFormatGeom(e); if (c.alignment = i.Center, c.lineAlignment = i.Center, this.series.chart.isAnimation) this.drawMarker(e, s, this.seriesBorderColor, this.seriesBrush), null == this._animation && (this._animation = new a(this.duration,this.beginTime)), e.drawAnimationLabel(this.text, this.font, u, this.seriesLabelsBrush, l, s, c, n.CenterCenter, this.seriesLabels.angle, this.seriesLabels.drawBorder, this.animation); else { this.drawMarker(e, s, this.seriesBorderColor, this.seriesBrush); var h = s.x + s.width / 2 , p = s.y + s.height / 2; e.pushTranslateTransform(h, p), e.pushRotateTransform(this.seriesLabels.angle); var f = s.clone(); f.x = -f.width / 2 - 1, f.y = -f.height / 2 - 1, f.width += 2, f.height += 2, e.fillRectangle(this.seriesLabelsBrush, f, null), this.seriesLabels.drawBorder && e.drawRectangle2(l, f.x, f.y, f.width, f.height), e.popTransform(), e.popTransform(), e.drawRotatedString6(this.text, this.font, u, s, c, n.CenterCenter, this.seriesLabels.angle, this.seriesLabels.antialiasing, this.seriesLabels.width), this.isMouseOver && e.fillRectangle(t.StiMouseOverHelper.getLineMouseOverColor(), s, null) } } , s }(t.StiSeriesLabelsGeom); t.StiCenterAxisLabelsGeom = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.StringAlignment , n = e.Base.Drawing.StiRotationMode , o = e.Base.Drawing.StiSolidBrush , a = function(e) { function a(t, r, i, n, o, a, s, l, u, c, h, p, f) { var m = e.call(this, t, r, i, n, o) || this; return m._text = a, m._labelColor = s, m._labelBorderColor = l, m._seriesBrush = u, m._seriesBorderColor = c, m._font = h, m._startPoint = p, m._endPoint = f, m } return __extends(a, e), Object.defineProperty(a.prototype, "labelColor", { get: function() { return this._labelColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "labelBorderColor", { get: function() { return this._labelBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "font", { get: function() { return this._font }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "text", { get: function() { return this._text }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "startPoint", { get: function() { return this._startPoint }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "endPoint", { get: function() { return this._endPoint }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e) { var a = this.clientRectangle.clone() , s = new o(this.labelColor) , l = new r(this.labelBorderColor) , u = this.seriesLabels.core.getStringFormatGeom(e); this.drawMarker(e, a, this.seriesBorderColor, this.seriesBrush), this.seriesLabels.drawBorder && e.drawLine(l, this.endPoint.x, this.endPoint.y, this.startPoint.x, this.startPoint.y), e.pushTranslateTransform(a.x + a.width / 2, a.y + a.height / 2), e.pushRotateTransform(this.seriesLabels.angle); var c = a.clone(); c.x = -c.width / 2, c.y = -c.height / 2, e.fillRectangle(this.seriesLabels.brush, c, null), this.seriesLabels.drawBorder && e.drawRectangle2(l, c.x, c.y, c.width, c.height), u.alignment = i.Center, u.lineAlignment = i.Center, e.popTransform(), e.popTransform(), e.drawRotatedString6(this.text, this.font, s, a, u, n.CenterCenter, this.seriesLabels.angle, this.seriesLabels.antialiasing, this.seriesLabels.width), this.isMouseOver && e.fillRectangle(t.StiMouseOverHelper.getLineMouseOverColor(), a, null) } , a }(t.StiSeriesLabelsGeom); t.StiOutsideAxisLabelsGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.StringAlignment , n = e.Base.Drawing.StiRotationMode , o = e.Base.Context.StiFontGeom , a = function(e) { function a(t, r, i, n, o, a, s, l, u, c, h) { var p = e.call(this, t, r, i, n, o) || this; return p._text = a, p._labelBrush = l, p._borderColor = u, p._seriesBorderColor = c, p._seriesBrush = s, p._labelRect = h, p } return __extends(a, e), Object.defineProperty(a.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "borderColor", { get: function() { return this._borderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "labelBrush", { get: function() { return this._labelBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "text", { get: function() { return this._text }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "labelRect", { get: function() { return this._labelRect }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e) { var a = this.clientRectangle.clone() , s = new r(this.borderColor) , l = o.changeFontSize(this.seriesLabels.font, this.seriesLabels.font.size * e.options.zoom) , u = this.seriesLabels.core.getStringFormatGeom(e); if (u.alignment = i.Center, u.lineAlignment = i.Center, this.drawMarker(e, this.labelRect, this.seriesBorderColor, this.seriesBrush), !a.isEmpty) { var c = a.x + a.width / 2 , h = a.y + a.height / 2; e.pushTranslateTransform(c, h), e.pushRotateTransform(this.seriesLabels.angle); var p = a; p.x = -p.width / 2, p.y = -p.height / 2, e.fillRectangle(this.seriesLabels.brush, p, null), this.seriesLabels.drawBorder && e.drawRectangle2(s, p.x - 1, p.y, p.width, p.height), e.popTransform(), e.popTransform(), e.drawRotatedString6(this.text, l, this.labelBrush, this.labelRect, u, n.CenterCenter, this.seriesLabels.angle, this.seriesLabels.antialiasing, this.seriesLabels.width), this.isMouseOver && e.fillRectangle2(t.StiMouseOverHelper.getLineMouseOverColor(), p.x, p.y, p.width, p.height, null) } } , a }(t.StiSeriesLabelsGeom); t.StiCenterFunnelLabelsGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function(e) { function t(t, r, i, n, o, a, s, l, u, c, h, p, f) { var m = e.call(this, t, r, i, n, o, a, s, l, u, c, h) || this; return m._startPointLine = p, m._endPointLine = f, m } return __extends(t, e), Object.defineProperty(t.prototype, "startPointLine", { get: function() { return this._startPointLine }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "endPointLine", { get: function() { return this._endPointLine }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(t) { var i = new r(this.borderColor); t.drawLine(i, this.startPointLine.x, this.startPointLine.y, this.endPointLine.x, this.endPointLine.y), e.prototype.draw.call(this, t) } , t }(t.StiCenterFunnelLabelsGeom); t.StiOutsideFunnelLabelsGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiFontGeom , n = e.Base.Context.Animation.StiOpacityAnimation , o = function(e) { function o(t, r, i, n, o, a, s, l, u, c, h, p, f, m, S) { var d = e.call(this, t, r, i, n, o) || this; return d._text = a, d._labelBrush = l, d._borderColor = c, d._seriesBorderColor = h, d._seriesLabelsBrush = u, d._seriesBrush = s, d._rotationMode = p, d._labelRect = f, d._angleToUse = m, d._animation = S, d } return __extends(o, e), Object.defineProperty(o.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "borderColor", { get: function() { return this._borderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "seriesLabelsBrush", { get: function() { return this._seriesLabelsBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "labelBrush", { get: function() { return this._labelBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "text", { get: function() { return this._text }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "rotationMode", { get: function() { return this._rotationMode }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "labelRect", { get: function() { return this._labelRect }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "angleToUse", { get: function() { return this._angleToUse }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "animation", { get: function() { return this._animation }, set: function(e) { this._animation = e }, enumerable: !0, configurable: !0 }), o.prototype.draw = function(e) { var o = this.clientRectangle.clone() , a = new r(this.borderColor) , s = i.changeFontSize(this.seriesLabels.font, this.seriesLabels.font.size * e.options.zoom) , l = this.seriesLabels.core.getStringFormatGeom(e); if (this.series.chart.isAnimation) null == this.animation && (this.animation = new n(this.duration,this.beginTime)), e.drawAnimationLabel(this.text, s, this.labelBrush, this.seriesLabelsBrush, a, this.labelRect, l, this.rotationMode, this.seriesLabels.angle, this.seriesLabels.drawBorder, this.animation); else { this.drawMarker(e, this.labelRect, this.seriesBorderColor, this.seriesBrush); var u = Math.round2(this.labelRect.x + this.labelRect.width / 2, 0) , c = Math.round2(this.labelRect.y + this.labelRect.height / 2, 0); e.pushTranslateTransform(u, c), e.pushRotateTransform(this.angleToUse), o.isEmpty || (e.fillRectangle(this.seriesLabelsBrush, o, null), this.seriesLabels.drawBorder && e.drawRectangle2(a, o.x, o.y, o.width, o.height), this.isMouseOver && e.fillRectangle2(t.StiMouseOverHelper.getLineMouseOverColor(), o.x, o.y, o.width, o.height, null)), e.popTransform(), e.popTransform(), e.drawRotatedString6(this.text, s, this.labelBrush, this.labelRect, l, this.rotationMode, this.angleToUse, this.seriesLabels.antialiasing, this.seriesLabels.width) } } , o }(t.StiSeriesLabelsGeom); t.StiCenterPieLabelsGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.Animation.StiOpacityAnimation , n = function(e) { function n(t, r, i, n, o, a, s, l, u, c, h, p, f, m, S, d, y) { var g = e.call(this, t, r, i, n, o, a, s, l, u, c, h, p, f, m, null) || this; return g._lineColor = S, g._labelPoint = d, g._startPoint = y, g } return __extends(n, e), Object.defineProperty(n.prototype, "lineColor", { get: function() { return this._lineColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "labelPoint", { get: function() { return this._labelPoint }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "startPoint", { get: function() { return this._startPoint }, enumerable: !0, configurable: !0 }), n.prototype.draw = function(n) { var o = this.seriesLabels; if (e.prototype.draw.call(this, n), o.drawBorder) { var a = new r(this.lineColor); if (this.series.chart.isAnimation) { var s = new i(t.StiChartHelper.globalBeginTimeElement,t.StiChartHelper.globalBeginTimeElement); n.drawAnimationLines(a, [this.labelPoint, this.startPoint], s) } else n.drawLine(a, this.labelPoint.x, this.labelPoint.y, this.startPoint.x, this.startPoint.y) } } , n }(t.StiCenterPieLabelsGeom); t.StiOutsidePieLabelsGeom = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.StringAlignment , n = e.Base.Drawing.StiRotationMode , o = e.Base.Context.StiFontGeom , a = e.System.Drawing.Rectangle , s = e.System.Drawing.Color , l = e.System.Drawing.Point , u = function(e) { function u(t, r, i, n, o, a, s, l, u, c, h, p, f, m, S, d, y) { var g = e.call(this, t, r, i, n, o) || this; return g._text = a, g._seriesLabelsBrush = u, g._labelBrush = l, g._lineColor = f, g._borderColor = c, g._seriesBorderColor = h, g._seriesBrush = s, g._labelRect = p, g._startPoint = m, g._endPoint = S, g._arcPoint = d, g._centerPie = y, g } return __extends(u, e), Object.defineProperty(u.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "borderColor", { get: function() { return this._borderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "labelBrush", { get: function() { return this._labelBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "seriesLabelsBrush", { get: function() { return this._seriesLabelsBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "text", { get: function() { return this._text }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "labelRect", { get: function() { return this._labelRect }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "lineColor", { get: function() { return this._lineColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "startPoint", { get: function() { return this._startPoint }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "endPoint", { get: function() { return this._endPoint }, set: function(e) { this._endPoint = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "arcPoint", { get: function() { return this._arcPoint }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "centerPie", { get: function() { return this._centerPie }, enumerable: !0, configurable: !0 }), u.prototype.draw = function(e) { var a = this.clientRectangle.clone() , s = new r(this.borderColor,1) , u = o.changeFontSize(this.seriesLabels.font, this.seriesLabels.font.size * e.options.zoom) , c = this.seriesLabels.core.getStringFormatGeom(e); if (this.seriesLabels.drawBorder) { var h = null , p = new r(this.lineColor,1); (this.centerPie.y > this.startPoint.y && this.endPoint.y > this.startPoint.y || this.centerPie.y < this.startPoint.y && this.endPoint.y < this.startPoint.y) && (h = this.centerPie.x > this.endPoint.x ? new l(this.endPoint.x + 13,this.startPoint.y) : new l(this.endPoint.x - 13,this.startPoint.y)), null != h ? e.drawLines(p, [this.endPoint, h, this.startPoint, this.arcPoint]) : e.drawLines(p, [this.endPoint, this.startPoint, this.arcPoint]) } this.drawMarker(e, a, this.seriesBorderColor, this.seriesBrush), isNaN(a.x) || isNaN(a.y) || isNaN(a.width) || isNaN(a.height) || (e.fillRectangle(this.seriesLabelsBrush, a, null), this.seriesLabels.drawBorder && e.drawRectangle2(s, a.x, a.y, a.width, a.height)), c.alignment = i.Center, c.lineAlignment = i.Center, e.drawRotatedString6(this.text, u, this.labelBrush, a, c, n.CenterCenter, 0, this.seriesLabels.antialiasing, this.seriesLabels.width), this.isMouseOver && e.fillRectangle(t.StiMouseOverHelper.getLineMouseOverColor(), a, null) } , u.prototype.drawMarker = function(e, i, n, o) { if (this.seriesLabels.markerVisible) { var l = a.empty , u = Math.trunc(i.right + 2 * e.options.zoom) , c = Math.trunc(i.left - (2 + this.seriesLabels.markerSize.width) * e.options.zoom); StiOptions.Engine.allowFixPieChartMarkerAlignment ? this.seriesLabels.markerAlignment == t.StiMarkerAlignment.Right ? l.x = this.clientRectangle.x < this.centerPie.x ? u : c : l.x = this.clientRectangle.x > this.centerPie.x ? u : c : l.x = this.seriesLabels.markerAlignment == t.StiMarkerAlignment.Right ? u : c, l.y = Math.trunc(i.y + (i.height - this.seriesLabels.markerSize.height * e.options.zoom) / 2), l.width = Math.trunc(this.seriesLabels.markerSize.width * e.options.zoom), l.height = Math.trunc(this.seriesLabels.markerSize.height * e.options.zoom); var h = n.stimulsoft.is(s) ? n : s.black , p = new r(h,1); e.fillRectangle2(o, l.x, l.y, l.width, l.height, null), e.drawRectangle2(p, l.x, l.y, l.width, l.height) } } , u }(t.StiSeriesLabelsGeom); t.StiTwoColumnsPieLabelsGeom = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.StringAlignment , n = e.Base.Drawing.StiRotationMode , o = e.Base.Drawing.StiSolidBrush , a = e.Base.Context.Animation.StiOpacityAnimation , s = function(e) { function s(t, r, i, n, o, a, s, l, u, c, h, p, f) { var m = e.call(this, t, r, i, n, o) || this; return m._text = a, m._labelColor = s, m._labelBorderColor = l, m._seriesBrush = u, m._seriesLabelsBrush = c, m._seriesBorderColor = h, m._font = p, m } return __extends(s, e), Object.defineProperty(s.prototype, "labelColor", { get: function() { return this._labelColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "labelBorderColor", { get: function() { return this._labelBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesLabelsBrush", { get: function() { return this._seriesLabelsBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "font", { get: function() { return this._font }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "text", { get: function() { return this._text }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "animation", { get: function() { return this._animation }, enumerable: !0, configurable: !0 }), s.prototype.draw = function(s) { e.prototype.draw.call(this, s); var l = this.clientRectangle.clone() , u = new r(this.labelBorderColor,1) , c = new o(this.labelColor) , h = this.seriesLabels.core.getStringFormatGeom(s); if (h.alignment = i.Center, h.lineAlignment = i.Center, this.series.chart.isAnimation) this.drawMarker(s, l, this.seriesBorderColor, this.seriesBrush), null == this.animation && (this._animation = new a(this.duration,this.beginTime)), s.drawAnimationLabel(this.text, this.font, c, this.seriesLabelsBrush, u, l, h, n.CenterCenter, this.seriesLabels.angle, this.seriesLabels.drawBorder, this.animation); else { this.drawMarker(s, l, this.seriesBorderColor, this.seriesBrush); var p = l.x + l.width / 2 , f = l.y + l.height / 2; s.pushTranslateTransform(p, f), s.pushRotateTransform(this.seriesLabels.angle); var m = l.clone(); m.x = -m.width / 2, m.y = -m.height / 2, s.fillRectangle(this.seriesLabelsBrush, m, null), this.seriesLabels.drawBorder && s.drawRectangle2(u, m.x, m.y, m.width, m.height), s.popTransform(), s.popTransform(), s.drawRotatedString6(this.text, this.font, c, l, h, n.CenterCenter, this.seriesLabels.angle, this.seriesLabels.antialiasing, m.width), this.isMouseOver && s.fillRectangle(t.StiMouseOverHelper.getLineMouseOverColor(), l, null) } } , s }(t.StiSeriesLabelsGeom); t.StiCenterTreemapLabelsGeom = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.StiString , i = e.Base.Context.StiInteractionDataGeom , n = e.Report.Chart.IStiSeriesElement , o = function(o) { function a(e, t, r, i, n, a) { var s = o.call(this, n) || this; return s._seriesBrush = a, s._areaGeom = e, s._series = i, s._value = t, s._index = r, s } return __extends(a, o), a.prototype.implements = function() { return a.implementsStiSeriesElementGeom || (a.implementsStiSeriesElementGeom = o.prototype.implements.call(this).concat([n])), a.implementsStiSeriesElementGeom } , a.prototype.invokeMouseEnter = function(e) { if (!this.allowMouseOver) return; this.isMouseOver || (this.isMouseOver = !0, e.updateContext = this.series.interaction.drillDownEnabled); var t = this.getValueIndex(); e.interactionToolTip = this.getToolTip2(t), e.interactionHyperlink = this.getHyperlink2(t) } , a.prototype.invokeMouseLeave = function(e) { if (!this.allowMouseOver) return; this.isMouseOver && (this.isMouseOver = !1, e.updateContext = this.series.interaction.drillDownEnabled) } , a.prototype.invokeClick = function(e) { var t = this.getValueIndex(); null != this.series.hyperlinks && t < this.series.hyperlinks.length && (e.interactionHyperlink = this.series.hyperlinks[t]), this.series.interaction.drillDownEnabled && (e.seriesInteractionData = this.interaction, this.isMouseOver = !1, e.updateContext = this.series.interaction.drillDownEnabled) } , a.prototype.getValueIndex = function() { var e = this.index; return this.series.stimulsoft.is(t.IStiClusteredBarSeries) || this.series.stimulsoft.is(t.IStiStackedBarSeries) || this.series.stimulsoft.is(t.IStiFullStackedBarSeries) ? this.series.chart.area.stimulsoft.is(t.IStiAxisArea) && !this.series.chart.area.reverseVert && (e = this.series.values.length - e - 1) : this.series.chart.area.stimulsoft.is(t.IStiAxisArea) && this.series.chart.area.reverseHor && (e = this.series.values.length - e - 1), e } , a.prototype.getHyperlink = function() { return this.getHyperlink2(this.getValueIndex()) } , a.prototype.getHyperlink2 = function(e) { return null != this.series.hyperlinks && e < this.series.hyperlinks.length ? this.series.hyperlinks[e] : null } , a.prototype.getToolTip = function() { var e = this.getValueIndex(); return this.getToolTip2(e) } , a.prototype.getToolTip2 = function(t) { var i = null; if (null != this.series.toolTips && t < this.series.toolTips.length && (i = this.series.toolTips[t]), !r.isNullOrEmpty(i) && i.stimulsoft.contains('"StiColor":"#ffffff"')) { var n = this.seriesBrush || (null != this.series ? this.series.brush : null); if (null != n) { var o = e.Base.Drawing.StiBrush.toColor(n); i = i.replace('"StiColor":"#ffffff"', r.format('"StiColor":"{0}"', e.System.Drawing.ColorTranslator.toHtml2(o, !1))) } } return i } , Object.defineProperty(a.prototype, "allowMouseOver", { get: function() { var e = this.getValueIndex(); return null != this.series.hyperlinks && e < this.series.hyperlinks.length || null != this.series.toolTips && e < this.series.toolTips.length || this.series.interaction.drillDownEnabled && this.series.interaction.allowSeriesElements }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "isMouseOver", { get: function() { return this.series.core.getIsMouseOverSeriesElement(this.index) }, set: function(e) { this.series.core.setIsMouseOverSeriesElement(this.index, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "value", { get: function() { return this._value }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "index", { get: function() { return this._index }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "series", { get: function() { return this._series }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "interaction", { get: function() { return this._interaction }, set: function(e) { this._interaction = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "areaGeom", { get: function() { return this._areaGeom }, set: function(e) { this._areaGeom = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "elementIndex", { get: function() { return this._elementIndex }, set: function(e) { this._elementIndex = e }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e) {} , a.prototype.getInteractionData = function() { var e = this._series.chart , r = new i; return r.componentName = e.name, r.componentIndex = e.page.components.indexOf(e).toString(), r.pageGuid = this._series.stimulsoft.as(t.StiSeries).drillDownPageGuid, r.pageIndex = e.page.report.renderedPages.indexOf(e.page).toString(), r.elementIndex = this._elementIndex.toString(), r.seriesInteractionData = this.interaction, r } , a }(t.StiCellGeom); t.StiSeriesElementGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiSolidBrush , n = e.System.Drawing.Color , o = e.System.Drawing.Point , a = e.Base.Context.Animation.StiScaleAnimation , s = function(e) { function s(t, r, i, n, o, a, s, l) { var u = e.call(this, t, r, i, a, s, n) || this; return u._seriesBrush = n, u._seriesBorderColor = o, u._beginTime = l, u } return __extends(s, e), Object.defineProperty(s.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), s.prototype.contains = function(e, t) { if (this.invisible) return !1; var r = new o(this.clientRectangle.x + this.clientRectangle.width / 2,this.clientRectangle.y + this.clientRectangle.height / 2) , i = Math.abs(r.x - e) , n = Math.abs(r.y - t); return Math.sqrt(i * i + n * n) <= this.clientRectangle.width / 2 } , s.prototype.draw = function(e) { var o = this.clientRectangle.clone() , s = new r(this.seriesBorderColor,1); if (this.series.chart.isAnimation) { var l = new a(0,0,0,0,0,0,t.StiChartHelper.globalDurationElement,this.beginTime); e.fillDrawAnimationEllipse(this.seriesBrush, s, o.x, o.y, o.width, o.height, this.getToolTip(), this, l, this.getInteractionData()) } else { if (this.series.showShadow) { var u = new i(n.fromArgb(100, n.black)) , c = e.createShadowGraphics() , h = o.clone(); h.x = 0, h.y = 0, h.x += 4 * e.options.zoom, h.y += 4 * e.options.zoom, c.fillEllipse2(u, h, this.getInteractionData()), e.drawShadow(c, o, 0) } e.fillEllipse2(this.seriesBrush, o, this.getInteractionData()), (this.isMouseOver || this.series.core.isMouseOver) && e.fillEllipse(t.StiMouseOverHelper.getMouseOverColor(), o.x, o.y, o.width, o.height, null), e.pushSmoothingModeToAntiAlias(), e.drawEllipse2(s, o), e.popSmoothingMode() } } , s }(t.StiSeriesElementGeom); t.StiBubbleSeriesElementGeom = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiShadowSides , n = e.System.TimeSpan , o = e.System.Drawing.Point , a = e.System.Drawing.Rectangle , s = e.Base.Context.Animation.StiColumnAnimation , l = e.Base.Context.Animation.StiOpacityAnimation , u = function(e) { function u(t, r, i, n, o, a, s, l, u, c) { var h = e.call(this, t, i, n, s, u, o) || this; return h._seriesBrush = o, h._seriesBorderColor = a, h._valueStart = r, h._columnRectStart = l, h._beginTime = c, h } return __extends(u, e), Object.defineProperty(u.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "valueStart", { get: function() { return this._valueStart }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "columnRectStart", { get: function() { return this._columnRectStart }, enumerable: !0, configurable: !0 }), u.prototype.draw = function(e) { if (this.series.chart.isAnimation) { var u = this.clientRectangle.clone() , c = this.clientRectangle.clone() , h = new r(this.seriesBorderColor,1) , p = t.StiChartHelper.globalDurationElement; if (this.series.showShadow) { var f = new l(p,new n(this.beginTime.ticks + p.ticks)); e.drawShadowRect(u, 5, f) } var m = new s(this._valueStart,this._columnRectStart,p,this.beginTime); e.drawAnimationBar(this.seriesBrush, h, c, this.value, this.getToolTip(), this, m, this.getInteractionData()) } else { var u = this.clientRectangle.clone(); if (this.series.showShadow && u.width > 4 && u.height > 4) { var S = u.clone(); this.value > 0 ? (S.y--, e.drawCachedShadow(S, i.Left | i.Bottom, e.options.isPrinting)) : this.value < 0 && e.drawCachedShadow(new a(S.x - 8,S.y,S.width + 8,S.height), i.Top | i.Right | i.Edge | i.Bottom, e.options.isPrinting) } var h = new r(this.seriesBorderColor,1); this.series.chart.style.core.fillColumn(e, u, this.seriesBrush, this.getInteractionData()); var d = null; (this.isMouseOver || this.series.core.isMouseOver) && e.fillRectangle2(t.StiMouseOverHelper.getMouseOverColor(), u.x, u.y, u.width, u.height, null), d = this.value > 0 ? [new o(u.right,u.y), new o(u.x,u.y), new o(u.x,u.bottom), new o(u.right,u.bottom)] : [new o(u.x,u.y), new o(u.right,u.y), new o(u.right,u.bottom), new o(u.x,u.bottom)], e.drawLines(h, d) } } , u }(t.StiSeriesElementGeom); t.StiClusteredBarSeriesElementGeom = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t(t, r, i) { var n = e.call(this, i) || this; return n._areaGeom = t, n._series = r, n } return __extends(t, e), Object.defineProperty(t.prototype, "series", { get: function() { return this._series }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "interactions", { get: function() { return this._interactions }, set: function(e) { this._interactions = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "areaGeom", { get: function() { return this._areaGeom }, set: function(e) { this._areaGeom = e }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.clientRectangle.clone() } , t }(e.StiCellGeom); e.StiSeriesGeom = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , i = e.System.Drawing.Rectangle , n = function(e) { function n(r, i, o) { var a = e.call(this, r, o, n.getClientRectangle(i, o.stimulsoft.is(t.StiBaseLineSeries) ? o.stimulsoft.as(t.StiBaseLineSeries).lineWidth : 0)) || this; return a._points = i, a } return __extends(n, e), n.prototype.invokeMouseEnter = function(e) { if (!this.allowMouseOver) return; this.isMouseOver || (this.isMouseOver = !0, e.updateContext = !0) } , n.prototype.invokeMouseLeave = function(e) { if (!this.allowMouseOver) return; this.isMouseOver && (this.isMouseOver = !1, e.updateContext = !0) } , Object.defineProperty(n.prototype, "allowMouseOver", { get: function() { return this.series.interaction.drillDownEnabled && this.series.interaction.allowSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "isMouseOver", { get: function() { if (null == this.series) return !1; return this.series.core.isMouseOver }, set: function(e) { null != this.series && (this.series.core.isMouseOver = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "points", { get: function() { return this._points }, enumerable: !0, configurable: !0 }), n.getClientRectangle = function(e, t) { var n, o; if (null == e || 0 == e.length) return i.empty; var a = r.empty , s = r.empty; try { for (var l = __values(e), u = l.next(); !u.done; u = l.next()) { var c = u.value; if (null == c) continue; a == r.empty ? (a = c, s = c) : (a.x = Math.min(a.x, c.x), a.y = Math.min(a.y, c.y), s.x = Math.max(s.x, c.x), s.y = Math.max(s.y, c.y)) } } catch (e) { n = { error: e } } finally { try { u && !u.done && (o = l.return) && o.call(l) } finally { if (n) throw n.error } } return new i(a.x - t / 2,a.y - t / 2,s.x - a.x + t,s.y - a.y + t) } , n.prototype.draw = function(e) {} , n }(t.StiSeriesGeom); t.StiBaseLineSeriesGeom = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenLineCap , i = e.Base.Context.StiPenGeom , n = e.Base.Drawing.StiColorUtils , o = e.Base.Drawing.StiPenStyle , a = e.Base.Drawing.StiSolidBrush , s = e.System.Drawing.Color , l = e.System.Drawing.Point , u = e.System.Drawing.Rectangle , c = function(e) { function c(t, r, i) { return e.call(this, t, r, i) || this } return __extends(c, e), c.prototype.contains = function(e, r) { if (this.invisible) return !1; for (var i = 0; i < this.points.length - 1; i++) { var n = this.points[i] , o = this.points[i + 1]; if (null == n || null == o) continue; if (t.StiPointHelper.isLineContainsPoint(n, o, t.StiMouseOverHelper.mouseOverLineDistance, new l(e,r))) return !0 } return !1 } , c.prototype.draw = function(e) { var l, c, h = o.Solid, p = 1, f = s.black, m = !0, S = null, d = !0, y = this.series.stimulsoft.as(t.IStiBaseLineSeries); null != y && (h = y.lineStyle, p = y.lineWidth, f = y.lineColor, m = y.showShadow, S = y.lineMarker, d = y.lighting); var g = this.series.stimulsoft.as(t.IStiRadarLineSeries); null != g && (h = g.lineStyle, p = g.lineWidth, f = g.lineColor, m = g.showShadow, d = g.lighting); var b = this.series.stimulsoft.as(t.IStiRadarAreaSeries); null != b && (h = b.lineStyle, p = b.lineWidth, f = b.lineColor, m = b.showShadow, d = b.lighting), e.pushSmoothingModeToAntiAlias(); var v = h , C = p * e.options.zoom , w = new i(f,C); w.penStyle = v; var x = this.series.chart; if (m) { var _ = new i(s.fromArgb(50, 0, 0, 0),C + .5 * e.options.zoom); if (_.penStyle = v, e.pushTranslateTransform(C, C), t.StiNullableDrawing.drawLines(e, _, this.points, x.isAnimation), null != S && S.visible) { var A = new a(s.fromArgb(50, 0, 0, 0)); S.core.drawLines(e, this.points, e.options.zoom, A, null, S.type, S.step, S.size, S.angle) } e.popTransform() } if (this.series.core.isMouseOver) { var L = e.options.zoom , O = 11 + p; try { for (var P = __values(this.points), B = P.next(); !B.done; B = P.next()) { var R = B.value; if (null == R) continue; var k = new u(R.x - O / 2 * L,R.y - O / 2 * L,O * L,O * L); e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(), k, null) } } catch (e) { l = { error: e } } finally { try { B && !B.done && (c = P.return) && c.call(P) } finally { if (l) throw l.error } } var j = new i(t.StiMouseOverHelper.getLineMouseOverColor(),(4 + p) * e.options.zoom); j.startCap = r.Round, j.endCap = r.Round, t.StiNullableDrawing.drawLines(e, j, this.points, x.isAnimation) } if (this.series.stimulsoft.is(t.StiLineSeries) && this.series.allowApplyColorNegative) { var T = this.series.lineColorNegative , F = new i(T,C); F.penStyle = v; for (var D = this.series.chart.area, I = D.axisCore.getDividerY(), N = [], M = [], E = 0; E < this.points.length; E++) { var R = this.points[E] , V = E != this.points.length - 1 ? this.points[E + 1] : null; if (R.y > I) { if (N.add(R), null == V || V.y < I || V.y == I && E + 2 < this.points.length && this.points[E + 2].y <= I) { if (null != V) { var X = this.getPointCross(R, this.points[E + 1], I); N.add(X), V.y == I && E + 2 < this.points.length && this.points[E + 2].y <= I && N.add(this.points[E + 2]), M.add(X) } if (this.drawLine(e, F, N), C >= 2 * e.options.zoom && d) { var G = .5 * e.options.zoom; e.pushTranslateTransform(-G, -G); var z = new i(n.light(T, 70),C); z.penStyle = v, this.drawLine(e, z, N), e.popTransform() } N.clear() } } else if (M.add(R), null == V || V.y > I) { if (null != V) { var X = this.getPointCross(R, this.points[E + 1], I); N.add(X), M.add(X), M.add(V) } if (this.drawLine(e, w, M), C >= 2 * e.options.zoom && d) { var G = .5 * e.options.zoom; e.pushTranslateTransform(-G, -G); var z = new i(n.light(f, 70),C); z.penStyle = v, this.drawLine(e, z, M), e.popTransform() } M.clear() } } } else if (t.StiNullableDrawing.drawLines(e, w, this.points, x.isAnimation), C >= 2 * e.options.zoom && d) { var G = .5 * e.options.zoom; e.pushTranslateTransform(-G, -G); var z = new i(n.light(f, 70),C); z.penStyle = v, t.StiNullableDrawing.drawLines(e, z, this.points, x.isAnimation), e.popTransform() } if (null != S && S.visible) { var J = new i(S.borderColor); S.core.drawLines(e, this.points, e.options.zoom, S.brush, J, S.type, S.step, S.size, S.angle) } e.popSmoothingMode() } , c.prototype.getPointCross = function(e, t, r) { var i = e.y , n = e.x , o = t.y , a = t.x , s = Math.tan(Math.atan((a - n) / (i - o))) * (i - r) + n; return new l(s,r) } , c.prototype.drawLine = function(e, r, i) { var n = Array.create(l, i.length, !0); i.copyTo(n); var o = this.series.chart; t.StiNullableDrawing.drawLines(e, r, n, o.isAnimation) } , c }(t.StiBaseLineSeriesGeom); t.StiLineSeriesGeom = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiLinesSegmentGeom , n = e.Base.Context.StiLineSegmentGeom , o = e.System.Drawing.Point , a = e.System.Drawing.Rectangle , s = e.Base.Context.Animation.StiOpacityAnimation , l = function(e) { function l(t, r, i) { return e.call(this, t, r, i) || this } return __extends(l, e), l.prototype.contains = function(e, r) { var i = this.series.chart.area , n = i.axisCore.getDividerY(); if (this.invisible) return !1; for (var a = 0; a < this.points.length - 1; a++) { var s = this.points[a] , l = this.points[a + 1]; if (null == s || null == l) continue; var u = new o(l.x,n) , c = new o(s.x,n); if (t.StiPointHelper.isPointInPolygon(new o(e,r), [s, c, u, l])) return !0 } return !1 } , l.prototype.draw = function(e) { var o, l, u, c, h = this.series, p = this.series.chart.area, f = p.axisCore.getDividerY(), m = t.StiNullableDrawing.getPointsList(this.points); if (this.series.chart.isAnimation) try { for (var S = __values(m), d = S.next(); !d.done; d = S.next()) { var y = d.value , g = []; if (g.add(new n(y[0].x,f,y[0].x,y[0].y)), g.add(new i(y)), g.add(new n(y[y.length - 1].x,y[y.length - 1].y,y[y.length - 1].x,f)), null != h.brush) { var b = new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(h.brush, null, g, r.getBoundsState, null, b, null) } } } catch (e) { o = { error: e } } finally { try { d && !d.done && (l = S.return) && l.call(S) } finally { if (o) throw o.error } } else try { for (var v = __values(m), C = v.next(); !C.done; C = v.next()) { var y = C.value , g = []; if (g.add(new n(y[0].x,f,y[0].x,y[0].y)), g.add(new i(y)), g.add(new n(y[y.length - 1].x,y[y.length - 1].y,y[y.length - 1].x,f)), null != h.brush && e.fillPath(h.brush, g, r.getBoundsState, null), h.allowApplyBrushNegative && null != h.brushNegative) { var w = p.axisCore.scrollRangeX * p.axisCore.scrollDpiX , x = p.axisCore.scrollRangeY * p.axisCore.scrollDpiY - f , _ = new a(0,f,w,x); e.pushClip(_), e.fillPath(h.brushNegative, g, r.getBoundsState, null), e.popClip() } (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), g, r.getBoundsState, null) } } catch (e) { u = { error: e } } finally { try { C && !C.done && (c = v.return) && c.call(v) } finally { if (u) throw u.error } } } , l }(t.StiLineSeriesGeom); t.StiAreaSeriesGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiShadowSides , n = e.System.TimeSpan , o = e.System.Drawing.Point , a = e.System.Drawing.Rectangle , s = e.Base.Context.Animation.StiOpacityAnimation , l = function(e) { function l(t, r, i, n, o, a, s, l) { var u = e.call(this, t, r, i, a, s, n) || this; return u._seriesBrush = n, u._seriesBorderColor = o, u._animation = l, u } return __extends(l, e), Object.defineProperty(l.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "animation", { get: function() { return this._animation }, enumerable: !0, configurable: !0 }), l.prototype.draw = function(e) { if (this.series.chart.isAnimation) { var l = this.clientRectangle.clone() , u = new r(this.seriesBorderColor,1) , c = this.value > 0 , h = t.StiChartHelper.globalDurationElement; if (this.series.showShadow && l.width > 1) { var p = new s(t.StiChartHelper.globalDurationElement,new n(this._animation.beginTime.ticks + this._animation.duration.ticks)); e.drawShadowRect(l, 5, p) } e.drawAnimationColumn(this.seriesBrush, u, l, this.value, this.getToolTip(), this, this._animation, this.getInteractionData()) } else { var f = this.clientRectangle.clone(); this.series.showShadow && f.width > 4 && f.height > 4 && (this.value > 0 ? e.drawCachedShadow(f, i.Top | i.Right, e.options.isPrinting) : this.value < 0 && e.drawCachedShadow(new a(f.x,f.y - 8,f.width,f.height + 8), i.Right | i.Edge | i.Bottom | i.Left, e.options.isPrinting)); var u = new r(this.seriesBorderColor,1); this.series.chart.style.core.fillColumn(e, f, this.seriesBrush, this.getInteractionData()), (this.isMouseOver || this.series.core.isMouseOver) && e.fillRectangle2(t.StiMouseOverHelper.getMouseOverColor(), f.x, f.y, f.width, f.height, null); var m = null; m = this.value > 0 ? [new o(f.x,f.bottom), new o(f.x,f.y), new o(f.right,f.y), new o(f.right,f.bottom)] : [new o(f.x,f.y), new o(f.x,f.bottom), new o(f.right,f.bottom), new o(f.right,f.y)], e.drawLines(u, m) } } , l }(t.StiSeriesElementGeom); t.StiClusteredColumnSeriesElementGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenLineCap , i = e.Base.Context.StiPenGeom , n = e.Base.Drawing.StiColorUtils , o = e.Base.Drawing.StiPenStyle , a = e.System.Drawing.Color , s = e.System.Drawing.Point , l = e.System.Drawing.Rectangle , u = function(e) { function u(t, r, i) { return e.call(this, t, r, i) || this } return __extends(u, e), u.prototype.contains = function(e, r) { if (this.invisible) return !1; for (var i = 0; i < this.points.length - 1; i++) { var n = this.points[i] , o = this.points[i + 1]; if (null == n || null == o) continue; if (t.StiPointHelper.isLineContainsPoint(n, o, t.StiMouseOverHelper.mouseOverSplineDistance, new s(e,r))) return !0 } return !1 } , u.prototype.draw = function(e) { var s, u, c = o.Solid, h = 1, p = a.black, f = !0, m = !0, S = 1, d = this.series.stimulsoft.as(t.IStiSplineSeries); null != d && (c = d.lineStyle, h = d.lineWidth, p = d.lineColor, f = d.showShadow, m = d.lighting, S = d.tension); var y = this.series.stimulsoft.as(t.IStiRadarLineSeries); null != y && (c = y.lineStyle, h = y.lineWidth, p = y.lineColor, f = y.showShadow, m = y.lighting); var g = this.series.stimulsoft.as(t.IStiRadarAreaSeries); null != g && (c = g.lineStyle, h = g.lineWidth, p = g.lineColor, f = g.showShadow, m = g.lighting), e.pushSmoothingModeToAntiAlias(); var b = c , v = h * e.options.zoom , C = new i(p,v); C.penStyle = b; var w = this.series.chart; if (f) { var x = new i(a.fromArgb(50, 0, 0, 0),v + .5 * e.options.zoom); x.penStyle = b, e.pushTranslateTransform(v, v), t.StiNullableDrawing.drawCurve(e, x, this.points, S, w.isAnimation), e.popTransform() } if (this.series.core.isMouseOver) { var _ = e.options.zoom , A = 11 + h; try { for (var L = __values(this.points), O = L.next(); !O.done; O = L.next()) { var P = O.value; if (null == P) continue; var B = new l(P.x - A / 2 * _,P.y - A / 2 * _,A * _,A * _); e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(), B, null) } } catch (e) { s = { error: e } } finally { try { O && !O.done && (u = L.return) && u.call(L) } finally { if (s) throw s.error } } var R = new i(t.StiMouseOverHelper.getLineMouseOverColor(),(4 + h) * e.options.zoom); R.startCap = r.Round, R.endCap = r.Round, t.StiNullableDrawing.drawCurve(e, R, this.points, S, w.isAnimation) } if (t.StiNullableDrawing.drawCurve(e, C, this.points, S, w.isAnimation), v >= 2 && m) { var k = .5 * e.options.zoom; e.pushTranslateTransform(-k, -k); var j = new i(n.light(p, 70),v); j.penStyle = b, t.StiNullableDrawing.drawCurve(e, j, this.points, S, w.isAnimation), e.popTransform() } if (null != d && d.allowApplyColorNegative) { var T = new i(d.lineColorNegative,v); T.penStyle = b; var F = this.series.chart.area , D = F.axisCore.getDividerY() , I = F.axisCore.scrollRangeX * F.axisCore.scrollDpiX , N = F.axisCore.scrollRangeY * F.axisCore.scrollDpiY - D , M = new l(0,D,I,N); if (e.pushClip(M), t.StiNullableDrawing.drawCurve(e, T, this.points, S, w.isAnimation), v >= 2 && m) { var k = .5 * e.options.zoom; e.pushTranslateTransform(-k, -k); var j = new i(n.light(d.lineColorNegative, 70),v); j.penStyle = b, t.StiNullableDrawing.drawCurve(e, j, this.points, S, w.isAnimation), e.popTransform() } e.popClip() } e.popSmoothingMode() } , u }(t.StiBaseLineSeriesGeom); t.StiSplineSeriesGeom = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Context.StiCurveSegmentGeom , o = e.System.Drawing.Point , a = e.System.Drawing.Rectangle , s = e.Base.Context.Animation.StiOpacityAnimation , l = function(e) { function l(t, r, i) { return e.call(this, t, r, i) || this } return __extends(l, e), l.prototype.contains = function(e, r) { var i = this.series.chart.area , n = i.axisCore.getDividerY(); if (this.invisible) return !1; for (var a = 0; a < this.points.length - 1; a++) { var s = this.points[a] , l = this.points[a + 1]; if (null == s || null == l) continue; var u = new o(l.x,n) , c = new o(s.x,n); if (t.StiPointHelper.isPointInPolygon(new o(e,r), [s, c, u, l])) return !0 } return !1 } , l.prototype.draw = function(e) { var o, l, u = this.series, c = this.series.chart, h = this.series.chart.area, p = h.axisCore.getDividerY(), f = t.StiNullableDrawing.getPointsList(this.points); try { for (var m = __values(f), S = m.next(); !S.done; S = m.next()) { var d = S.value , y = []; if (y.add(new i(d[0].x,p,d[0].x,d[0].y)), y.add(new n(d,u.tension)), y.add(new i(d[d.length - 1].x,d[d.length - 1].y,d[d.length - 1].x,p)), null != u.brush) if (c.isAnimation) { var g = new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(u.brush, null, y, r.getBoundsState, null, g, null) } else e.fillPath(u.brush, y, r.getBoundsState, null); if (u.allowApplyBrushNegative && null != u.brushNegative) { var b = h.axisCore.scrollRangeX * h.axisCore.scrollDpiX , v = h.axisCore.scrollRangeY * h.axisCore.scrollDpiY - p , C = new a(0,p,b,v); if (e.pushClip(C), c.isAnimation) { var g = new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(u.brush, null, y, r.getBoundsState, null, g, null) } else e.fillPath(u.brushNegative, y, r.getBoundsState, null); e.popClip() } (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), y, r.getBoundsState, null) } } catch (e) { o = { error: e } } finally { try { S && !S.done && (l = m.return) && l.call(m) } finally { if (o) throw o.error } } } , l }(t.StiSplineSeriesGeom); t.StiSplineAreaSeriesGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenLineCap , i = e.Base.Context.StiPenGeom , n = e.Base.Drawing.StiColorUtils , o = e.Base.Drawing.StiSolidBrush , a = e.System.Drawing.Color , s = e.System.Drawing.Point , l = e.System.Drawing.Rectangle , u = function(e) { function u(t, r, i) { return e.call(this, t, r, i) || this } return __extends(u, e), u.prototype.getConvertedPoints = function(e) { for (var t = this.series, r = [], i = t.chart.area.xAxis.info.dpi / 2, n = 0; n < e.length - 1; n++) { var o = e[n] , a = e[n + 1]; null != o && null != a ? (t.pointAtCenter && (o = new s(o.x - i,o.y), a = new s(a.x - i,a.y)), r.add(o), r.add(new s(a.x,o.y))) : (r.add(null), r.add(null)) } var l = e[e.length - 1]; return null != l ? t.pointAtCenter ? (l = new s(l.x - i,l.y), r.add(l), l = new s(l.x + 2 * i,l.y), r.add(l)) : r.add(l) : r.add(null), r.toArray() } , u.prototype.contains = function(e, t) { var r, i; if (this.invisible) return !1; var n = this.getConvertedPoints(this.points) , o = 0; try { for (var a = __values(n), s = a.next(); !s.done; s = a.next()) { var u = s.value; if (this.points.length <= o + 1) continue; var c = n[o + 1]; if (null == u || null == c) continue; var h = l.empty; if (c.x > u.x ? (h = new l(u.x,u.y,c.x - u.x,1), h.inflate(0, 5)) : c.y > u.y ? (h = new l(u.x,u.y,1,c.y - u.y), h.inflate(5, 0)) : (h = new l(c.x,c.y,1,u.y - c.y), h.inflate(5, 0)), h.contains(e, t)) return !0; if (++o == n.length - 1) break } } catch (e) { r = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (r) throw r.error } } return !1 } , u.prototype.draw = function(e) { var u, c, h, p, f = this.series; e.pushSmoothingModeToAntiAlias(); var m = f.lineStyle , S = f.lineWidth * e.options.zoom , d = new i(f.lineColor,S); d.penStyle = m; var y = t.StiNullableDrawing.getNullablePointsList(this.points) , g = this.series.chart; try { for (var b = __values(y), v = b.next(); !v.done; v = b.next()) { var C = v.value , w = this.getConvertedPoints(C); if (f.showShadow) { var x = new i(a.fromArgb(50, 0, 0, 0),S + .5 * e.options.zoom); if (x.penStyle = m, e.pushTranslateTransform(S, S), t.StiNullableDrawing.drawLines(e, x, w, g.isAnimation), f.lineMarker.visible) { var _ = new o(a.fromArgb(50, 0, 0, 0)); f.lineMarker.core.drawLines(e, w, e.options.zoom, _, null, f.lineMarker.type, f.lineMarker.step, f.lineMarker.size, f.lineMarker.angle) } e.popTransform() } if (this.series.core.isMouseOver) { var A = f.lineWidth , L = e.options.zoom , O = 11 + A; try { for (var P = (h = void 0, __values(this.points)), B = P.next(); !B.done; B = P.next()) { var R = B.value; if (null == R) continue; var k = new l(R.x - O / 2 * L,R.y - O / 2 * L,O * L,O * L); e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(), k, null) } } catch (e) { h = { error: e } } finally { try { B && !B.done && (p = P.return) && p.call(P) } finally { if (h) throw h.error } } var j = new i(t.StiMouseOverHelper.getLineMouseOverColor(),(4 + A) * e.options.zoom); j.startCap = r.Round, j.endCap = r.Round, t.StiNullableDrawing.drawLines(e, j, w, g.isAnimation) } var T = this.series.chart.area , F = T.axisCore.getDividerY(); if (f.allowApplyColorNegative) { var D = new i(f.lineColorNegative,S); D.penStyle = m; for (var I = [], N = [], M = 0; M < w.length; M++) { var R = w[M] , E = M != w.length - 1 ? w[M + 1] : null; if (R.y > F) { if (I.add(R), null == E || E.y <= F) { this.intersectionAxis(R, E, I, N, F); var V = Array.create(s, I.length, !0); if (I.copyTo(V), t.StiNullableDrawing.drawLines(e, D, V, g.isAnimation), S >= 2 && f.lighting) { var X = .5 * e.options.zoom; e.pushTranslateTransform(-X, -X); var G = new i(n.light(f.lineColorNegative, 70),S); G.penStyle = m, t.StiNullableDrawing.drawLines(e, G, V, g.isAnimation), e.popTransform() } I.clear() } } else if (N.add(R), null == E || E.y > F) { this.intersectionAxis(R, E, N, I, F); var V = Array.create(s, N.length, !0); if (N.copyTo(V), t.StiNullableDrawing.drawLines(e, d, V, g.isAnimation), S >= 2 && f.lighting) { var X = .5 * e.options.zoom; e.pushTranslateTransform(-X, -X); var G = new i(n.light(f.lineColor, 70),S); G.penStyle = m, t.StiNullableDrawing.drawLines(e, G, V, g.isAnimation), e.popTransform() } N.clear() } } } else if (t.StiNullableDrawing.drawLines(e, d, w, g.isAnimation), S >= 2 && f.lighting) { var X = .5 * e.options.zoom; e.pushTranslateTransform(-X, -X); var G = new i(n.light(f.lineColor, 70),1); G.penStyle = m, t.StiNullableDrawing.drawLines(e, G, w, g.isAnimation), e.popTransform() } if (f.lineMarker.visible) { var z = new i(f.lineMarker.borderColor); f.lineMarker.core.drawLines(e, w, e.options.zoom, f.lineMarker.brush, z, f.lineMarker.type, f.lineMarker.step, f.lineMarker.size, f.lineMarker.angle) } } } catch (e) { u = { error: e } } finally { try { v && !v.done && (c = b.return) && c.call(b) } finally { if (u) throw u.error } } e.popSmoothingMode() } , u.prototype.intersectionAxis = function(e, t, r, i, n) { if (null != t) { var o = new s(e.x,n); r.add(o), i.add(o) } } , u }(t.StiBaseLineSeriesGeom); t.StiSteppedLineSeriesGeom = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiLinesSegmentGeom , n = e.Base.Context.StiLineSegmentGeom , o = e.System.Drawing.Point , a = e.System.Drawing.Rectangle , s = e.Base.Context.Animation.StiOpacityAnimation , l = function(e) { function l(t, r, i) { return e.call(this, t, r, i) || this } return __extends(l, e), l.prototype.contains = function(e, t) { var r, i, n = this.series.chart.area, o = n.axisCore.getDividerY(); if (this.invisible) return !1; var s = 0; try { for (var l = __values(this.points), u = l.next(); !u.done; u = l.next()) { var c = u.value; if (this.points.length <= s + 1) continue; var h = this.points[s + 1]; if (null == c || null == h) continue; if ((o > c.y ? new a(c.x,c.y,h.x - c.x,o - c.y) : new a(c.x,o,h.x - c.x,c.y - o)).contains(e, t)) return !0; if (++s == this.points.length - 1) break } } catch (e) { r = { error: e } } finally { try { u && !u.done && (i = l.return) && i.call(l) } finally { if (r) throw r.error } } return !1 } , l.prototype.draw = function(e) { for (var l, u, c = this.series, h = this.series.chart.area, p = h.axisCore.getDividerY(), f = [], m = this.series.chart.area.xAxis.info.dpi / 2, S = 0; S < this.points.length - 1; S++) { var d = this.points[S] , y = this.points[S + 1]; null != d && null != y ? (c.pointAtCenter && (d = new o(d.x - m,d.y), y = new o(y.x - m,y.y)), f.add(d), f.add(new o(y.x,d.y))) : (f.add(null), f.add(null)) } var g = this.points[this.points.length - 1]; null != g ? c.pointAtCenter ? (g = new o(g.x - m,g.y), f.add(g), g = new o(g.x + 2 * m,g.y), f.add(g)) : f.add(g) : f.add(null); var b = f.toArray() , v = t.StiNullableDrawing.getPointsList(b) , C = this.series.chart; try { for (var w = __values(v), x = w.next(); !x.done; x = w.next()) { var _ = x.value , A = []; if (A.add(new n(_[0].x,p,_[0].x,_[0].y)), A.add(new i(_)), A.add(new n(_[_.length - 1].x,_[_.length - 1].y,_[_.length - 1].x,p)), null != c.brush) if (C.isAnimation) { var L = new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(c.brush, null, A, r.getBoundsState, null, L, null) } else e.fillPath(c.brush, A, r.getBoundsState, null); if (c.allowApplyBrushNegative && null != c.brushNegative) if (C.isAnimation) { var L = new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(c.brushNegative, null, A, r.getBoundsState, null, L, null) } else { var O = h.axisCore.scrollRangeX * h.axisCore.scrollDpiX , P = h.axisCore.scrollRangeY * h.axisCore.scrollDpiY - p , B = new a(0,p,O,P); e.pushClip(B), e.fillPath(c.brushNegative, A, r.getBoundsState, null), e.popClip() } (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), A, r.getBoundsState, null) } } catch (e) { l = { error: e } } finally { try { x && !x.done && (u = w.return) && u.call(w) } finally { if (l) throw l.error } } } , l }(t.StiSteppedLineSeriesGeom); t.StiSteppedAreaSeriesGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Rectangle , n = e.System.Drawing.Color , o = e.System.Collections.List , a = e.Base.Context.StiArcSegmentGeom , s = e.Base.Context.StiLineSegmentGeom , l = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), t.prototype.draw = function(e) { var t = this.clientRectangle , l = new r(n.lightGray) , u = new o; u.add(new a(t,0,360)), u.add(new s(t.right,t.y + t.height / 2,t.x + 3 * t.width / 4,t.y + t.height / 2)), u.add(new a(new i(t.x + t.width / 4,t.y + t.height / 4,t.width / 2,t.height / 2),0,360)), u.add(new s(t.x + 3 * t.width / 4,t.y + t.height / 2,t.right,t.y + t.height / 2)), e.pushSmoothingModeToAntiAlias(), e.fillPath(n.fromArgb(50, n.lightGray.r, n.lightGray.g, n.lightGray.b), u, t, null), e.drawPath(l, u, t), e.drawLine(l, t.x + t.width / 2, t.y + 3 * t.height / 4, t.x + t.width / 2, t.bottom), e.popSmoothingMode() } , t }(t.StiCellGeom); t.StiDoughnutEmptySeriesElementGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenAlignment , i = e.Base.Context.StiPathGeom , n = e.Base.Context.StiPenGeom , o = e.System.TimeSpan , a = e.System.Drawing.Point , s = e.Base.Context.Animation.StiOpacityAnimation , l = function(e) { function l(t, r, i, n, o, a, s, l, u, c, h, p, f, m, S, d, y) { var g = e.call(this, t, r, i, n, o, c) || this; return g._path = a, g._pathLight = s, g._pathDark = l, g._borderColor = u, g._brush = c, g._brushLight = h, g._brushDark = p, g._startAngle = f, g._endAngle = m, g._radiusFrom = S, g._radiusTo = d, g._beginTime = y, g } return __extends(l, e), Object.defineProperty(l.prototype, "path", { get: function() { return this._path }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "pathLight", { get: function() { return this._pathLight }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "pathDark", { get: function() { return this._pathDark }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "borderColor", { get: function() { return this._borderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "brush", { get: function() { return this._brush }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "brushLight", { get: function() { return this._brushLight }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "brushDark", { get: function() { return this._brushDark }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "startAngle", { get: function() { return this._startAngle }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "endAngle", { get: function() { return this._endAngle }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "radiusFrom", { get: function() { return this._radiusFrom }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "radiusTo", { get: function() { return this._radiusTo }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), l.prototype.contains = function(e, t) { if (this.invisible) return !1; var r = new a(this.clientRectangle.x + this.clientRectangle.width / 2,this.clientRectangle.y + this.clientRectangle.height / 2) , i = e - r.x , n = t - r.y , o = Math.sqrt(i * i + n * n); if (o < this.radiusTo || o > this.radiusFrom) return !1; var s = 180 * Math.atan2(n, i) / Math.PI; return s < 0 && (s += 360), s >= this.startAngle && s <= this.endAngle } , l.prototype.draw = function(e) { var a = this.clientRectangle.clone() , l = new n(this.borderColor); if (l.alignment = r.Inset, this.series.chart.isAnimation) { var u = new s(o.fromSeconds(1),this.beginTime); e.fillDrawAnimationPath(this.brush, l, this.path, a, this, u, this.getInteractionData()) } else e.pushSmoothingModeToAntiAlias(), null != this.path && (e.fillPath(this.brush, this.path, a, this.getInteractionData()), (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), this.path, a, null)), null != this.pathLight && e.fillPath(this.brushLight, this.pathLight, a, null), null != this.pathDark && e.fillPath(this.brushDark, this.pathDark, a, null), e.drawPath(l, this.path, i.getBoundsState), e.popSmoothingMode() } , l }(t.StiSeriesElementGeom); t.StiDoughnutSeriesElementGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(e, r, i, n, o, a, s, l, u) { var c = t.call(this, i) || this; return c._areaGeom = e, c._series = r, c._open = n, c._close = o, c._high = a, c._low = s, c._positionX = l, c._index = u, c } return __extends(r, t), r.prototype.invokeMouseEnter = function(e) { if (!this.allowMouseOver) return; this.isMouseOver || (this.isMouseOver = !0, e.updateContext = this.series.interaction.drillDownEnabled); var t = this.getValueIndex(); e.interactionToolTip = this.getToolTip(t), e.interactionHyperlink = this.getHyperlink(t) } , r.prototype.invokeClick = function(e) { var t = this.getValueIndex(); null != this.series.hyperlinks && t < this.series.hyperlinks.length && (e.interactionHyperlink = this.series.hyperlinks[t]), this.series.interaction.drillDownEnabled && (e.seriesInteractionData = this.interaction, this.isMouseOver = !1, e.updateContext = this.series.interaction.drillDownEnabled) } , r.prototype.getValueIndex = function() { var t = this.index; return this.series.chart.area.stimulsoft.is(e.IStiAxisArea) && this.series.chart.area.reverseHor && (t = this.series.arguments.length - t - 1), t } , r.prototype.getHyperlink = function(e) { return null != this.series.hyperlinks && e < this.series.hyperlinks.length ? this.series.hyperlinks[e] : null } , r.prototype.getToolTip = function(e) { return null != this.series.toolTips && e < this.series.toolTips.length ? this.series.toolTips[e] : null } , Object.defineProperty(r.prototype, "allowMouseOver", { get: function() { var e = this.getValueIndex(); return null != this.series.hyperlinks && e < this.series.hyperlinks.length || null != this.series.toolTips && e < this.series.toolTips.length || this.series.interaction.drillDownEnabled && this.series.interaction.allowSeriesElements }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "isMouseOver", { get: function() { return this.series.core.getIsMouseOverSeriesElement(this.index) }, set: function(e) { this.series.core.setIsMouseOverSeriesElement(this.index, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "series", { get: function() { return this._series }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "interaction", { get: function() { return this._interaction }, set: function(e) { this._interaction = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "open", { get: function() { return this._open }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "close", { get: function() { return this._close }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "high", { get: function() { return this._high }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "low", { get: function() { return this._low }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "positionX", { get: function() { return this._positionX }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "areaGeom", { get: function() { return this._areaGeom }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "index", { get: function() { return this._index }, enumerable: !0, configurable: !0 }), r.prototype.draw = function(e) {} , r }(e.StiCellGeom); e.StiFinancialSeriesElementGeom = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Context.StiCloseFigureSegmentGeom , o = e.System.Drawing.Color , a = e.System.Drawing.Point , s = e.System.Drawing.Rectangle , l = e.Base.Context.Animation.StiOpacityAnimation , u = function(e) { function u(t, r, i, n, o, a, s, l, u, c, h, p) { var f = e.call(this, t, r, i, n, o, a, s, l, u) || this; return f._brush = c, f._borderColor = h, f._beginTime = p, f } return __extends(u, e), Object.defineProperty(u.prototype, "brush", { get: function() { return this._brush }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "borderColor", { get: function() { return this._borderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), u.prototype.draw = function(e) { var u = this.areaGeom.area , c = this.series , h = c.borderWidth * e.options.zoom , p = u.xAxis.info.dpi / 2 , f = this.open , m = this.close , S = this.high , d = this.low , y = this.positionX , g = new r(this._borderColor,h); if (m == f && (f -= 1), this.series.chart.isAnimation) { var b = t.StiChartHelper.globalDurationElement , v = [new a(y,S), new a(y,f)] , C = [new a(y,m), new a(y,d)] , w = [] , x = y - p / 2 , _ = f , A = x + p , L = _ + m - f; w.add(new i(x,_,A,_)), w.add(new i(A,_,A,L)), w.add(new i(A,L,x,L)), w.add(new i(x,L,x,_)), w.add(new n); var O = new l(b,this.beginTime); if (c.showShadow) { var P = h + .5 * e.options.zoom , B = new r(o.fromArgb(50, 0, 0, 0),P) , R = [new a(y + P / 2,S + P / 2), new a(y + P / 2,f + P / 2)] , k = [new a(y + P / 2,m + P / 2), new a(y + P / 2,d + P / 2)]; e.drawAnimationLines(B, R, O), e.drawAnimationLines(B, k, O); var j = []; j.add(new i(x + P / 2,_ + P / 2,A + P / 2,_ + P / 2)), j.add(new i(A + P / 2,_ + P / 2,A + P / 2,L + P / 2)), j.add(new i(A + P / 2,L + P / 2,x + P / 2,L + P / 2)), j.add(new i(x + P / 2,L + P / 2,x + P / 2,_ + P / 2)), j.add(new n), e.fillDrawAnimationPath(null, B, j, new s(x + P / 2,_ + P / 2,p,m - f), null, O, null) } e.drawAnimationLines(g, v, O), e.drawAnimationLines(g, C, O), e.fillDrawAnimationPath(this.brush, g, w, new s(x,_,p,m - f), this, O, null) } else { if (c.showShadow) { var P = h + .5 * e.options.zoom , B = new r(o.fromArgb(50, 0, 0, 0),P); e.pushTranslateTransform(h, h), e.drawLine(B, y, m + P / 2, y, d + P / 2), e.drawLine(B, y, S, y, f - P / 2), e.drawRectangle2(B, y - p / 2, f, p, m - f), e.popTransform() } e.drawLine(g, y, S, y, f), e.drawLine(g, y, m, y, d), e.fillRectangle2(this.brush, y - p / 2, f, p, m - f, null), e.drawRectangle2(g, y - p / 2, f, p, m - f) } } , u }(t.StiFinancialSeriesElementGeom); t.StiCandlestickSeriesElementGeom = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Color , n = e.System.Drawing.Point , o = e.Base.Context.Animation.StiOpacityAnimation , a = function(e) { function a(t, r, i, n, o, a, s, l, u, c, h) { var p = e.call(this, t, r, i, n, o, a, s, l, u) || this; return p._color = c, p._beginTime = h, p } return __extends(a, e), Object.defineProperty(a.prototype, "color", { get: function() { return this._color }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e) { var a = this.areaGeom.area , s = this.series , l = s.lineWidth * e.options.zoom , u = a.xAxis.info.dpi / 3 , c = new r(this.color,l); if (c.penStyle = s.lineStyle, this.series.chart.isAnimation) { var h = t.StiChartHelper.globalDurationElement , p = new o(t.StiChartHelper.globalDurationElement,this.beginTime); if (s.showShadow) { var f = l + .5 * e.options.zoom , m = new r(i.fromArgb(50, 0, 0, 0),f); m.penStyle = s.lineStyle; var S = [new n(this.positionX,this.high), new n(this.positionX,this.low)] , d = [new n(this.positionX - u,this.open), new n(this.positionX - f / 2,this.open)] , y = [new n(this.positionX + u,this.close), new n(this.positionX + f / 2,this.close)]; e.drawAnimationLines(m, S, p), e.drawAnimationLines(m, d, p), e.drawAnimationLines(m, y, p) } var g = [new n(this.positionX,this.high), new n(this.positionX,this.low)] , b = [new n(this.positionX - u,this.open), new n(this.positionX,this.open)] , v = [new n(this.positionX + u,this.close), new n(this.positionX,this.close)]; e.drawAnimationLines(c, g, p), e.drawAnimationLines(c, b, p), e.drawAnimationLines(c, v, p) } else { if (s.showShadow) { var f = l + .5 * e.options.zoom , m = new r(i.fromArgb(50, 0, 0, 0),f); m.penStyle = s.lineStyle, e.pushTranslateTransform(l, l), e.drawLine(m, this.positionX, this.high, this.positionX, this.low), e.drawLine(m, this.positionX - u, this.open, this.positionX - f / 2, this.open), e.drawLine(m, this.positionX + u, this.close, this.positionX + f / 2, this.close), e.popTransform() } e.drawLine(c, this.positionX, this.high, this.positionX, this.low), e.drawLine(c, this.positionX - u, this.open, this.positionX, this.open), e.drawLine(c, this.positionX + u, this.close, this.positionX, this.close) } } , a }(t.StiFinancialSeriesElementGeom); t.StiStockSeriesElementGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Color , n = function(e) { function t(t, r) { var i = e.call(this, t) || this; return i.path = r, i } return __extends(t, e), t.prototype.draw = function(e) { e.pushSmoothingModeToAntiAlias(), e.fillPath(i.fromArgb(50, i.lightGray), this.path, this.clientRectangle, null), e.drawPath(new r(i.gray), this.path, this.clientRectangle), e.popSmoothingMode() } , t }(t.StiCellGeom); t.StiFunnelEmptySeriesElementGeom = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenAlignment , i = e.Base.Context.StiPenGeom , n = e.Base.Drawing.StiColorUtils , o = e.System.TimeSpan , a = e.System.Drawing.Color , s = e.Base.Context.Animation.StiOpacityAnimation , l = function(e) { function l(t, r, i, n, o, a, s, l, u) { var c = e.call(this, t, r, i, n, o, a) || this; return c._path = l, c._borderColor = s, c._brush = a, c._beginTime = u, c } return __extends(l, e), Object.defineProperty(l.prototype, "path", { get: function() { return this._path }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "borderColor", { get: function() { return this._borderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "brush", { get: function() { return this._brush }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), l.prototype.draw = function(e) { var l = this.clientRectangle.clone() , u = new i(n.dark(this.borderColor, 10)); if (u.alignment = r.Inset, this.series.chart.isAnimation) { var c = new s(o.fromSeconds(1),this.beginTime); e.drawAnimationPathElement(this.brush, u, this.path, l, this.getToolTip(), this, c, this.getInteractionData()) } else e.pushSmoothingModeToAntiAlias(), this.series.showShadow && (e.pushTranslateTransform(4, 4), e.fillPath(a.fromArgb(50, 100, 100, 100), this.path, l, null), e.popTransform()), e.fillPath(this.brush, this.path, l, this.getInteractionData()), (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), this.path, l, null), a.transparent.stimulsoft.equals(this.borderColor) || e.drawPath(u, this.path, null), e.popSmoothingMode() } , l }(t.StiSeriesElementGeom); t.StiFunnelSeriesElementGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiShadowSides , n = e.Base.Context.Animation.StiOpacityAnimation , o = function(e) { function o(t, r, i, n, o, a, s) { var l = e.call(this, t, r, i, n, o, s) || this; return l._beginTime = a, l } return __extends(o, e), Object.defineProperty(o.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), o.prototype.draw = function(e) { var o = this.series , a = this.clientRectangle.clone() , s = this.series.chart , l = o.processSeriesBrushes(this.index, o.brush); if (s.isAnimation) { var u = new r(o.borderColor) , c = new n(t.StiChartHelper.globalDurationElement,this.beginTime); e.drawAnimationBar(l, u, a, this.value, this.getToolTip(), this, c, this.getInteractionData()) } else { o.showShadow && a.width > 4 && a.height > 4 && e.drawCachedShadow(a, i.All, e.options.isPrinting); var u = new r(o.borderColor); e.fillRectangle2(l, a.x, a.y, a.width, a.height, this.getInteractionData()), (this.isMouseOver || this.series.core.isMouseOver) && e.fillRectangle2(t.StiMouseOverHelper.getMouseOverColor(), a.x, a.y, a.width, a.height, null), e.drawRectangle2(u, a.x, a.y, a.width, a.height) } } , o }(t.StiSeriesElementGeom); t.StiGanttSeriesElementGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.StringTrimming , i = e.System.Drawing.StringFormatFlags , n = e.System.Drawing.StringAlignment , o = e.System.Drawing.Point , a = e.System.Drawing.Rectangle , s = e.Base.Context.StiFontGeom , l = e.Report.StiFontIconsHelper , u = function(t) { function u(e, r, i, n, o, a, s, l, u, c) { var h = t.call(this, e, r, i, o, u, n) || this; return h._icon = a, h._drawRectangles = s, h._clipRectangles = l, h._seriesBrush = n, h._animation = c, h } return __extends(u, t), Object.defineProperty(u.prototype, "icon", { get: function() { return this._icon }, set: function(e) { this._icon = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "drawRectangles", { get: function() { return this._drawRectangles }, set: function(e) { this._drawRectangles = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "clipRectangles", { get: function() { return this._clipRectangles }, set: function(e) { this._clipRectangles = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, set: function(e) { this._seriesBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "animation", { get: function() { return this._animation }, set: function(e) { this._animation = e }, enumerable: !0, configurable: !0 }), u.prototype.draw = function(r) { var i = this.series.chart , n = this.clientRectangle , u = this.series.core.getSingleSize(r); t.prototype.draw.call(this, r); for (var c = new s("Stimulsoft",15 * r.options.zoom,e.System.Drawing.FontStyle.Regular,e.System.Drawing.GraphicsUnit.Pixel), h = 0; h < this.drawRectangles.length; h++) { var p = this.drawRectangles[h] , f = this.clipRectangles[h] , m = !0 , S = new o(p.x,p.y); r.pushClip(f); while (m) { var d = new a(S.x + r.options.zoom,S.y + r.options.zoom,u.width,u.height); r.drawString(l.getContent(this.icon), c, this.seriesBrush, d, this.getStringFormatGeom(r)), S = new o(S.x + u.width,S.y), S.x >= p.right && (m = !1) } r.popClip() } } , u.prototype.getStringFormatGeom = function(e) { var t = e.getGenericStringFormat(); return t.trimming = r.None, t.formatFlags = i.MeasureTrailingSpaces | i.NoWrap, t.alignment = n.Center, t.lineAlignment = n.Center, t } , u }(t.StiSeriesElementGeom); t.StiPictorialSeriesElementGeom = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Color , n = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), t.prototype.draw = function(e) { var t = this.clientRectangle , n = new r(i.lightGray); e.pushSmoothingModeToAntiAlias(), e.fillEllipse2(i.fromArgb(50, i.lightGray), t, null), e.drawEllipse2(n, t), e.drawLine(n, t.x + t.width / 2, t.y + t.height / 2, t.right, t.y + t.height / 2), e.drawLine(n, t.x + t.width / 2, t.y + t.height / 2, t.x + t.width / 2, t.bottom), e.popSmoothingMode() } , t }(t.StiCellGeom); t.StiPieEmptySeriesElementGeom = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenAlignment , i = e.Base.Context.StiPenGeom , n = e.Base.Drawing.StiColorUtils , o = e.Base.Drawing.StiSolidBrush , a = e.System.Drawing.Color , s = e.System.Drawing.Point , l = function(e) { function l(t, r, i, n, o, a, s, l, u, c, h, p, f) { var m = e.call(this, t, r, i, n, o, u) || this; return m._path = a, m._pathLight = s, m._borderColor = l, m._brush = u, m._startAngle = c, m._endAngle = h, m._radius = p, m._animation = f, m } return __extends(l, e), Object.defineProperty(l.prototype, "path", { get: function() { return this._path }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "pathLight", { get: function() { return this._pathLight }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "borderColor", { get: function() { return this._borderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "brush", { get: function() { return this._brush }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "startAngle", { get: function() { return this._startAngle }, set: function(e) { this._startAngle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "endAngle", { get: function() { return this._endAngle }, set: function(e) { this._endAngle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "radius", { get: function() { return this._radius }, set: function(e) { this._radius = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "animation", { get: function() { return this._animation }, set: function(e) { this._animation = e }, enumerable: !0, configurable: !0 }), l.prototype.contains = function(e, t) { if (this.invisible) return !1; var r = new s(this.clientRectangle.x + this.clientRectangle.width / 2,this.clientRectangle.y + this.clientRectangle.height / 2) , i = e - r.x , n = t - r.y; if (Math.sqrt(i * i + n * n) >= this.radius) return !1; var o = 180 * Math.atan2(n, i) / Math.PI; return o < 0 && (o += 360), o >= this.startAngle && o <= this.endAngle } , l.prototype.draw = function(e) { var s = this.clientRectangle.clone() , l = a.transparent.stimulsoft.equals(this.borderColor) ? this.borderColor : n.dark(this.borderColor, 10) , u = new i(l); if (u.alignment = r.Inset, this.series.chart.isAnimation) { if (e.drawAnimationPathElement(this.brush, u, this.path, s, this.getToolTip(), this, this.animation, this.getInteractionData()), null != this.pathLight) { var c = new o(a.fromArgb(30, a.black)); e.drawAnimationPathElement(c, null, this.pathLight, s, this.getToolTip(), null, this.animation, this.getInteractionData()) } } else { if (e.pushSmoothingModeToAntiAlias(), e.fillPath(this.brush, this.path, s, this.getInteractionData()), (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), this.path, s, null), null != this.pathLight) { var c = new o(a.fromArgb(30, a.black)); e.fillPath(c, this.pathLight, s, this.getInteractionData()) } a.transparent.stimulsoft.equals(this.borderColor) || e.drawPath(u, this.path, null), e.popSmoothingMode() } } , l }(t.StiSeriesElementGeom); t.StiPieSeriesElementGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = function(e) { function t(t, r, i, n, o, a, s) { var l = e.call(this, t, r, i, n, o, a) || this; return l._brush = a, l._borderColor = s, l } return __extends(t, e), Object.defineProperty(t.prototype, "brush", { get: function() { return this._brush }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "borderColor", { get: function() { return this._borderColor }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.clientRectangle.clone() , i = new r(this.borderColor); e.fillEllipse2(this.brush, t, null), e.drawEllipse2(i, t) } , t }(t.StiSeriesElementGeom); t.StiPieSeriesFullElementGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.Animation.StiOpacityAnimation , i = function(e) { function t(t, r, i, n, o, a) { var s = e.call(this, r) || this; return s._series = t, s._shadowContext = n, s._radius = i, s._duration = o, s._beginTime = a, s._isAnimation = t.chart.isAnimation, s } return __extends(t, e), Object.defineProperty(t.prototype, "invisible", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "series", { get: function() { return this._series }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "shadowContext", { get: function() { return this._shadowContext }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "radius", { get: function() { return this._radius }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "duration", { get: function() { return this._duration }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isAnimation", { get: function() { return this._isAnimation }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.clientRectangle.clone(); if (this.isAnimation) { var i = new r(this.duration,this.beginTime); e.drawShadowRect2(t, t.height / 2, t.width / 2, Math.trunc(this.radius), i) } else e.drawShadow(this.shadowContext, t, this.radius) } , t }(t.StiCellGeom); t.StiPieSeriesShadowElementGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.System.Drawing.Point , o = e.System.Drawing.Rectangle , a = e.Base.Context.Animation.StiOpacityAnimation , s = function(e) { function s(t, r, i) { var n = e.call(this, o.empty) || this; return n._series = t, n._points = r, n._centerPoint = i, n } return __extends(s, e), s.prototype.invokeMouseEnter = function(e) { if (!this.allowMouseOver) return; this.isMouseOver || (this.isMouseOver = !0, e.updateContext = !0) } , s.prototype.invokeMouseLeave = function(e) { if (!this.allowMouseOver) return; this.isMouseOver && (this.isMouseOver = !1, e.updateContext = !0) } , Object.defineProperty(s.prototype, "allowMouseOver", { get: function() { return this.series.interaction.drillDownEnabled && this.series.interaction.allowSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "isMouseOver", { get: function() { if (null == this.series) return !1; return this.series.core.isMouseOver }, set: function(e) { null != this.series && (this.series.core.isMouseOver = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "series", { get: function() { return this._series }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "points", { get: function() { return this._points }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "centerPoint", { get: function() { return this._centerPoint }, enumerable: !0, configurable: !0 }), s.prototype.contains = function(e, r) { if (this.invisible) return !1; for (var i = this.series.chart.area, o = i.core, a = 0; a < this.points.length; a++) { var s = this.points[a] , l = a == this.points.length - 1 ? this.points[0] : this.points[a + 1] , u = o.centerPoint; if (null == s || null == l) continue; if (t.StiPointHelper.isPointInTriangle(new n(e,r), s, u, l)) return !0 } return !1 } , s.prototype.draw = function(e) { var n, s, l = this.series, u = [], c = 0; try { for (var h = __values(this.points), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = f , S = c < this.points.length - 1 ? this.points[c + 1] : this.points[0]; null == m && (m = this.centerPoint), null == S && (S = this.centerPoint), u.add(new i(m.x,m.y,S.x,S.y)), c++ } } catch (e) { n = { error: e } } finally { try { p && !p.done && (s = h.return) && s.call(h) } finally { if (n) throw n.error } } if (e.pushSmoothingModeToAntiAlias(), null != l.brush) { if (this.series.chart.isAnimation) { var d = new a(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(l.brush, null, u, r.getBoundsState, null, d, null) } else e.fillPath(l.brush, u, o.empty, null) } (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), u, o.empty, null), e.popSmoothingMode() } , s }(t.StiCellGeom); t.StiRadarAreaSeriesGeom = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiInteractionDataGeom , i = function(e) { function i(r, i, n, o, a, s, l) { var u = e.call(this, r, i, n, a, t.StiMarkerCoreXF.getMarkerRect(s, a.marker.size, l), o) || this; return u._point = s, u } return __extends(i, e), i.prototype.invokeMouseEnter = function(e) { if (!this.allowMouseOver) return; this.isMouseOver || (this.isMouseOver = !0, e.updateContext = !0); var t = this.getValueIndex(); e.interactionToolTip = this.getToolTip3(t), e.interactionHyperlink = this.getHyperlink3(t) } , i.prototype.invokeMouseLeave = function(e) { if (!this.allowMouseOver) return; this.isMouseOver && (this.isMouseOver = !1, e.updateContext = !0) } , i.prototype.invokeClick = function(e) { var t = this.getValueIndex(); null != this.series.hyperlinks && t < this.series.hyperlinks.length && (e.interactionHyperlink = this.series.hyperlinks[t]), this.series.interaction.drillDownEnabled && (e.seriesInteractionData = this.interaction, this.isMouseOver = !1, e.updateContext = !0) } , i.prototype.getValueIndex = function() { var e = this.index; return this.series.stimulsoft.is(t.IStiClusteredBarSeries) || this.series.stimulsoft.is(t.IStiStackedBarSeries) || this.series.stimulsoft.is(t.IStiFullStackedBarSeries) ? this.series.chart.area.stimulsoft.is(t.IStiAxisArea) && !this.series.chart.area.reverseVert && (e = this.series.values.length - e - 1) : this.series.chart.area.stimulsoft.is(t.IStiAxisArea) && this.series.chart.area.reverseHor && (e = this.series.values.length - e - 1), e } , i.prototype.getHyperlink3 = function(e) { return null != this.series.hyperlinks && e < this.series.hyperlinks.length ? this.series.hyperlinks[e] : null } , i.prototype.getToolTip3 = function(e) { return null != this.series.toolTips && e < this.series.toolTips.length ? this.series.toolTips[e] : null } , Object.defineProperty(i.prototype, "point", { get: function() { return this._point }, enumerable: !0, configurable: !0 }), i.prototype.contains = function(e, t) { if (this.invisible) return !1; return this.getMouseOverRect().contains(e, t) } , i.prototype.getMouseOverRect = function() { var e = this.clientRectangle.clone(); return e.inflate(e.width / 2, e.height / 2), e } , i.prototype.draw = function(e) { var i = this.series , n = !i.marker.visible && i.toolTips.length > 0; if (null != i.marker && i.marker.visible) { e.pushSmoothingModeToAntiAlias(); var o = e.options.zoom; this.isMouseOver && e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(), this.getMouseOverRect(), null); var a = this.series.chart , s = null; a.isAnimation && (s = new r, s.componentName = a.name, s.componentIndex = a.page.components.indexOf(a).toString(), s.pageGuid = this.series.stimulsoft.as(t.StiSeries).drillDownPageGuid, s.pageIndex = a.page.report.renderedPages.indexOf(a.page).toString(), s.elementIndex = this.elementIndex.toString(), s.seriesInteractionData = this.interaction), i.marker.core.draw(e, i.marker, this.point, o, i.showShadow, this.isMouseOver, n, a.isAnimation, this.getToolTip(), this, s), e.popSmoothingMode() } } , i }(t.StiSeriesElementGeom); t.StiRadarPointSeriesElementGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.Base.Drawing.StiShadowSides , n = e.System.TimeSpan , o = e.Base.Context.Animation.StiOpacityAnimation , a = function(e) { function a(t, r, i, n, o, a, s) { var l = e.call(this, t, r, i, n, a, o) || this; return l._beginTime = s, l } return __extends(a, e), Object.defineProperty(a.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e) { var a = this.series , s = this.clientRectangle.clone(); if (this.series.chart.isAnimation) { var l = new r(a.borderColor) , u = !(this.value < 0) , c = t.StiChartHelper.globalDurationElement; if (this.series.showShadow) { var h = new o(t.StiChartHelper.globalDurationElement,new n(this.beginTime.ticks + t.StiChartHelper.globalDurationElement.ticks)); e.drawShadowRect(s, 5, h) } var p = new o(t.StiChartHelper.globalDurationElement,this.beginTime); e.drawAnimationColumn(a.brush, l, s, this.value, this.getToolTip(), this, p, this.getInteractionData()) } else { a.showShadow && s.width > 4 && s.height > 4 && e.drawCachedShadow(s, i.All, e.options.isPrinting); var l = new r(a.borderColor); e.fillRectangle2(a.brush, s.x, s.y, s.width, s.height, this.getInteractionData()), (this.isMouseOver || this.series.core.isMouseOver) && e.fillRectangle2(t.StiMouseOverHelper.getMouseOverColor(), s.x, s.y, s.width, s.height, null), e.drawRectangle2(l, s.x, s.y, s.width, s.height) } } , a }(t.StiSeriesElementGeom); t.StiRangeBarElementGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiLinesSegmentGeom , n = e.System.Drawing.Point , o = e.Base.Context.Animation.StiOpacityAnimation , a = function(e) { function a(t, r, i, n) { var o = e.call(this, t, r, n) || this; return o._pointsEnd = i, o } return __extends(a, e), Object.defineProperty(a.prototype, "pointsEnd", { get: function() { return this._pointsEnd }, set: function(e) { this._pointsEnd = e }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e) { var r = this.series , i = t.StiNullableDrawing.getPointsList(this.points) , n = t.StiNullableDrawing.getPointsList(this.pointsEnd); if (i.length < 1 || n.length < 1) return; for (var o = i[0], a = n[0], s = Math.min(o.length, a.length), l = [], u = [], c = 0; c < s; c++) { var h = o[c] , p = a[c] , f = null , m = null; c != s - 1 && (f = o[c + 1], m = a[c + 1]); var S = null; (null != f || this.intersection(h, p, f, m)) && (S = this.getPointCross2(h, p, f, m)), l.add(h), u.add(p), null != S ? (l.add(S), u.add(S), this.fillPath(e, this.getBrush(r, h, p), l, u), l.clear(), u.clear(), l.add(S), u.add(S)) : null == f && this.fillPath(e, this.getBrush(r, h, p), l, u) } } , a.prototype.getBrush = function(e, t, r) { var i = e.brush; return e.allowApplyBrushNegative && (i = t.y < r.y ? e.brushNegative : e.brush), i } , a.prototype.fillPath = function(e, a, s, l) { var u = [] , c = Array.create(n, s.length + l.length + 1); c[0] = l[0], s.copyTo(c, 1); for (var h = 0, p = l.length - 1; p >= 0; p--) { var f = l[p]; c[h + s.length + 1] = f, h++ } if (u.add(new i(c)), this.series.chart.isAnimation) { var m = new o(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(a, null, u, r.getBoundsState, null, m, null) } else e.fillPath(a, u, r.getBoundsState, null); (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), u, r.getBoundsState, null) } , a.prototype.intersection = function(e, t, r, i) { if (null == r) return !1; return e.y > t.y && r.y < i.y || e.y < t.y && r.y > i.y || r.y == i.y } , a.prototype.getPointCross2 = function(e, t, r, i) { if (r == i) return r; var o = e.x , a = e.y , s = r.x , l = r.y , u = t.x , c = t.y , h = i.x , p = i.y , f = -((o * l - s * a) * (h - u) - (u * p - h * c) * (s - o)) / ((a - l) * (h - u) - (c - p) * (s - o)) , m = ((c - p) * -f - (u * p - h * c)) / (h - u); return f > o && f < s ? new n(f,m) : null } , a }(t.StiLineSeriesGeom); t.StiRangeSeriesGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Context.StiCurveSegmentGeom , o = e.System.Drawing.Point , a = e.Base.Context.Animation.StiOpacityAnimation , s = function(e) { function s(t, r, i, n) { var o = e.call(this, t, r, n) || this; return o._pointsEnd = i, o } return __extends(s, e), Object.defineProperty(s.prototype, "pointsEnd", { get: function() { return this._pointsEnd }, set: function(e) { this._pointsEnd = e }, enumerable: !0, configurable: !0 }), s.prototype.draw = function(e) { var r = t.StiNullableDrawing.getPointsList(this.points) , i = t.StiNullableDrawing.getPointsList(this.pointsEnd); if (r.length < 1 || i.length < 1) return; var n = r[0] , o = i[0]; this.fillPath(e, n, o) } , s.prototype.fillPath = function(e, s, l) { for (var u = this.series, c = u.brush, h = [], p = Array.create(o, l.length, !0), f = l.length, m = 0; m < f; m++) p[m] = l[f - m - 1]; if (h.add(new i(l[0].x,l[0].y,s[0].x,s[0].y)), h.add(new n(s,u.tension)), h.add(new i(s[s.length - 1].x,s[s.length - 1].y,l[l.length - 1].x,l[l.length - 1].y)), h.add(new n(p,u.tension)), this.series.chart.isAnimation) { var S = new a(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(c, null, h, r.getBoundsState, null, S, null) } else e.fillPath(c, h, r.getBoundsState, null); (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), h, r.getBoundsState, null) } , s }(t.StiSplineSeriesGeom); t.StiSplineRangeSeriesGeom = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiLinesSegmentGeom , n = e.System.Drawing.Point , o = e.Base.Context.Animation.StiOpacityAnimation , a = function(e) { function a(t, r, i, n) { var o = e.call(this, t, r, n) || this; return o._pointsEnd = i, o } return __extends(a, e), Object.defineProperty(a.prototype, "pointsEnd", { get: function() { return this._pointsEnd }, set: function(e) { this._pointsEnd = e }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e) { var r = this.series , i = t.StiNullableDrawing.getPointsList(this.getConvertedPoints(this.points)) , n = t.StiNullableDrawing.getPointsList(this.getConvertedPoints(this.pointsEnd)); if (i.length < 1 || n.length < 1) return; for (var o = i[0], a = n[0], s = Math.min(o.length, a.length), l = [], u = [], c = 0; c < s; c++) { var h = o[c] , p = a[c] , f = null , m = null; c != s - 1 && (f = o[c + 1], m = a[c + 1]), l.add(h), u.add(p), this.intersection(h, p, f, m) ? (l.add(f), u.add(m), this.fillPath(e, this.getBrush(r, h, p), l, u), l.clear(), u.clear(), l.add(f), u.add(m)) : null == f && this.fillPath(e, this.getBrush(r, h, p), l, u) } } , a.prototype.getBrush = function(e, t, r) { var i = e.brush; return e.allowApplyBrushNegative && (i = t.y < r.y ? e.brushNegative : e.brush), i } , a.prototype.fillPath = function(e, a, s, l) { var u = [] , c = Array.create(n, s.length + l.length + 2, !0); if (c[0] = l[0], s.copyTo(c, 1), c[s.length + 1] = l[l.length - 1], l.copyTo(c, s.length + 2), u.add(new i(c)), this.series.chart.isAnimation) { var h = new o(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(a, null, u, r.getBoundsState, null, h, null) } else e.fillPath(a, u, r.getBoundsState, null); (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), u, r.getBoundsState, null) } , a.prototype.intersection = function(e, t, r, i) { if (null == r) return !1; return e.y > t.y && r.y < i.y || e.y < t.y && r.y > i.y || r.y == i.y } , a }(t.StiSteppedLineSeriesGeom); t.StiSteppedRangeSeriesGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenLineCap , i = e.Base.Context.StiPenGeom , n = e.Base.Drawing.StiColorUtils , o = e.System.Drawing.Color , a = e.System.Drawing.Point , s = e.System.Drawing.Rectangle , l = function(e) { function l(t, r, i) { return e.call(this, t, r, i) || this } return __extends(l, e), l.prototype.contains = function(e, r) { if (this.invisible) return !1; for (var i = 0; i < this.points.length - 1; i++) { var n = this.points[i] , o = this.points[i + 1]; if (null == n || null == o) continue; if (t.StiPointHelper.isLineContainsPoint(n, o, t.StiMouseOverHelper.mouseOverLineDistance, new a(e,r))) return !0 } return !1 } , l.prototype.draw = function(e) { var a, l, u = this.series; e.pushSmoothingModeToAntiAlias(); var c = u.lineStyle , h = u.lineWidth * e.options.zoom , p = new i(u.lineColor,u.lineWidth); if (p.penStyle = c, u.showShadow) { var f = new i(o.fromArgb(50, 0, 0, 0),h + .5 * e.options.zoom); f.penStyle = c, e.pushTranslateTransform(h, h), t.StiNullableDrawing.drawCurve(e, f, this.points, u.tension), e.popTransform() } if (this.series.core.isMouseOver) { var m = u.lineWidth , S = e.options.zoom , d = 11 + m; try { for (var y = __values(this.points), g = y.next(); !g.done; g = y.next()) { var b = g.value; if (null == b) continue; var v = new s(b.x - d / 2 * S,b.y - d / 2 * S,d * S,d * S); e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(), v, null) } } catch (e) { a = { error: e } } finally { try { g && !g.done && (l = y.return) && l.call(y) } finally { if (a) throw a.error } } var C = new i(t.StiMouseOverHelper.getLineMouseOverColor(),(4 + m) * e.options.zoom); C.startCap = r.Round, C.endCap = r.Round, t.StiNullableDrawing.drawCurve(e, C, this.points, u.tension) } if (t.StiNullableDrawing.drawCurve(e, p, this.points, u.tension), h >= 2 && u.lighting) { var w = .5 * e.options.zoom; e.pushTranslateTransform(-w, -w); var x = new i(n.light(u.lineColor, 70),1); x.penStyle = c, t.StiNullableDrawing.drawCurve(e, x, this.points, u.tension), e.popTransform() } e.popSmoothingMode() } , l }(t.StiBaseLineSeriesGeom); t.StiScatterSplineSeriesGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.TimeSpan , n = e.System.Drawing.Point , o = e.Base.Context.Animation.StiOpacityAnimation , a = function(e) { function a(t, r, i, n, o, a, s, l) { var u = e.call(this, t, r, i, a, s, n) || this; return u._seriesBrush = n, u._seriesBorderColor = o, u._beginTime = l, u } return __extends(a, e), Object.defineProperty(a.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e) { var a = this.clientRectangle.clone() , s = new r(this.seriesBorderColor,1); if (this.series.chart.isAnimation) { var l = t.StiChartHelper.globalDurationElement; if (this.series.showShadow) { var u = new o(t.StiChartHelper.globalDurationElement,new i(this.beginTime.ticks + t.StiChartHelper.globalDurationElement.ticks)); e.drawShadowRect(a, 5, u) } var c = new o(t.StiChartHelper.globalDurationElement,this.beginTime); e.drawAnimationBar(this.seriesBrush, s, a, this.value, this.getToolTip(), this, c, this.getInteractionData()) } else { this.series.chart.style.core.fillColumn(e, a, this.seriesBrush, this.getInteractionData()); var h = null; (this.isMouseOver || this.series.core.isMouseOver) && e.fillRectangle2(t.StiMouseOverHelper.getMouseOverColor(), a.x, a.y, a.width, a.height, null), h = this.value > 0 ? [new n(a.right,a.y), new n(a.x,a.y), new n(a.x,a.bottom), new n(a.right,a.bottom)] : [new n(a.x,a.y), new n(a.right,a.y), new n(a.right,a.bottom), new n(a.x,a.bottom)], e.drawLines(s, h) } } , a }(t.StiSeriesElementGeom); t.StiStackedBarSeriesElementGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiShadowSides , i = function(e) { function i(t, r, i, n) { var o = e.call(this, r) || this; return o._series = t, o._isLeftShadow = i, o._isRightShadow = n, o } return __extends(i, e), Object.defineProperty(i.prototype, "invisible", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "series", { get: function() { return this._series }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "isLeftShadow", { get: function() { return this._isLeftShadow }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "isRightShadow", { get: function() { return this._isRightShadow }, enumerable: !0, configurable: !0 }), i.prototype.draw = function(e) { var i = this.clientRectangle.clone(); this.series.stimulsoft.is(t.IStiFullStackedBarSeries) ? e.drawCachedShadow(i, r.Bottom, e.options.isPrinting) : (this.isLeftShadow && e.drawCachedShadow(i, r.Bottom | r.Left, e.options.isPrinting), this.isRightShadow && e.drawCachedShadow(i, r.Top | r.Right | r.Edge | r.Bottom, e.options.isPrinting)) } , i }(t.StiCellGeom); t.StiStackedBarSeriesShadowElementGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiLinesSegmentGeom , n = e.Base.Context.StiLineSegmentGeom , o = e.System.Drawing.Point , a = e.System.Drawing.Rectangle , s = function(e) { function s(t, r, i, n) { var o = e.call(this, t, n, s.getClientRectangle(r, i)) || this; return o._startPoints = r, o._endPoints = i, o } return __extends(s, e), s.prototype.invokeMouseEnter = function(e) { if (!this.allowMouseOver) return; this.isMouseOver || (this.isMouseOver = !0, e.updateContext = !0) } , s.prototype.invokeMouseLeave = function(e) { if (!this.allowMouseOver) return; this.isMouseOver && (this.isMouseOver = !1, e.updateContext = !0) } , Object.defineProperty(s.prototype, "allowMouseOver", { get: function() { return this.series.interaction.drillDownEnabled && this.series.interaction.allowSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "isMouseOver", { get: function() { if (null == this.series) return !1; return this.series.core.isMouseOver }, set: function(e) { null != this.series && (this.series.core.isMouseOver = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "startPoints", { get: function() { return this._startPoints }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "endPoints", { get: function() { return this._endPoints }, enumerable: !0, configurable: !0 }), s.prototype.contains = function(e, r) { var i = this.series.chart.area , n = i.axisCore.getDividerY(); if (this.invisible) return !1; for (var a = 0; a < this.startPoints.length - 1; a++) { var s = this.startPoints[a] , l = this.startPoints[a + 1] , u = this.endPoints[a] , c = this.endPoints[a + 1]; if (null == s || null == u || null == c || null == l) continue; if (t.StiPointHelper.isPointInPolygon(new o(e,r), [s, l, c, u])) return !0 } return !1 } , s.getClientRectangle = function(e, t) { var r, i, n, s; if (null == e || 0 == e.length || null == t || 0 == t.length) return a.empty; var l = o.empty , u = o.empty; try { for (var c = __values(e), h = c.next(); !h.done; h = c.next()) { var p = h.value; if (null == p) continue; l == o.empty ? (l = p, u = p) : (l.x = Math.min(l.x, p.x), l.y = Math.min(l.y, p.y), u.x = Math.max(u.x, p.x), u.y = Math.max(u.y, p.y)) } } catch (e) { r = { error: e } } finally { try { h && !h.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } try { for (var f = __values(t), m = f.next(); !m.done; m = f.next()) { var p = m.value; if (null == p) continue; l == o.empty ? (l = p, u = p) : (l.x = Math.min(l.x, p.x), l.y = Math.min(l.y, p.y), u.x = Math.max(u.x, p.x), u.y = Math.max(u.y, p.y)) } } catch (e) { n = { error: e } } finally { try { m && !m.done && (s = f.return) && s.call(f) } finally { if (n) throw n.error } } return new a(l.x,l.y,u.x - l.x,u.y - l.y) } , s.prototype.draw = function(e) { var s, l, u = this.series, c, h, p = { ref: c }, f = { ref: h }; t.StiNullableDrawing.getPointsList2(this.startPoints, this.endPoints, p, f), c = p.ref, h = f.ref; var m = 0; try { for (var S = __values(c), d = S.next(); !d.done; d = S.next()) { var y = d.value , g = h[m] , b = []; b.add(new n(y[0].x,y[0].y,g[0].x,g[0].y)), b.add(new i(g)), b.add(new n(g[g.length - 1].x,g[g.length - 1].y,y[y.length - 1].x,y[y.length - 1].y)); var v = Array.create(o, this.startPoints.length, !0) , C = 0 , w = y.length - 1; while (C < y.length) v[C] = y[w], C++, w--; if (b.add(new i(v)), null != u.brush && e.fillPath(u.brush, b, r.getBoundsState, null), u.allowApplyBrushNegative && null != u.brushNegative) { var x = this.series.chart.area , _ = x.axisCore.getDividerY() , A = x.axisCore.scrollRangeX * x.axisCore.scrollDpiX , L = x.axisCore.scrollRangeY * x.axisCore.scrollDpiY - _ , O = new a(0,_,A,L); e.pushClip(O), e.fillPath(u.brushNegative, b, r.getBoundsState, null), e.popClip() } (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), b, r.getBoundsState, null), m++ } } catch (e) { s = { error: e } } finally { try { d && !d.done && (l = S.return) && l.call(S) } finally { if (s) throw s.error } } } , s }(t.StiSeriesGeom); t.StiStackedAreaSeriesGeom = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , i = e.System.Drawing.Rectangle , n = function(e) { function t(r, i, n) { var o = e.call(this, r, n, t.getClientRectangle(i)) || this; return o._points = i, o } return __extends(t, e), Object.defineProperty(t.prototype, "points", { get: function() { return this._points }, enumerable: !0, configurable: !0 }), t.getClientRectangle = function(e) { var t, n; if (null == e || 0 == e.length) return i.empty; var o = r.empty , a = r.empty; try { for (var s = __values(e), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (null == u) continue; o == r.empty ? (o = u, a = u) : (o.x = Math.min(o.x, u.x), o.y = Math.min(o.y, u.y), a.x = Math.max(a.x, u.x), a.y = Math.max(a.y, u.y)) } } catch (e) { t = { error: e } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (t) throw t.error } } return new i(o.x,o.y,a.x - o.x,a.y - o.y) } , t.prototype.draw = function(e) {} , t }(t.StiSeriesGeom); t.StiStackedBaseLineSeriesGeom = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.TimeSpan , n = e.System.Drawing.Point , o = e.Base.Context.Animation.StiOpacityAnimation , a = function(e) { function a(t, r, i, n, o, a, s, l) { var u = e.call(this, t, r, i, a, s, n) || this; return u._seriesBrush = n, u._seriesBorderColor = o, u._beginTime = l, u } return __extends(a, e), Object.defineProperty(a.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "beginTime", { get: function() { return this._beginTime }, enumerable: !0, configurable: !0 }), a.prototype.draw = function(e) { var a = this.clientRectangle.clone() , s = new r(this.seriesBorderColor,1); if (this.series.chart.isAnimation) { var l = !(this.value < 0) , u = t.StiChartHelper.globalDurationElement; if (this.series.showShadow) { var c = new o(t.StiChartHelper.globalDurationElement,new i(this.beginTime.ticks + t.StiChartHelper.globalDurationElement.ticks)); e.drawShadowRect(a, 5, c) } var h = new o(t.StiChartHelper.globalDurationElement,this.beginTime); e.drawAnimationColumn(this.seriesBrush, s, a, this.value, this.getToolTip(), this, h, this.getInteractionData()) } else { this.series.chart.style.core.fillColumn(e, a, this.seriesBrush, this.getInteractionData()), (this.isMouseOver || this.series.core.isMouseOver) && e.fillRectangle2(t.StiMouseOverHelper.getMouseOverColor(), a.x, a.y, a.width, a.height, null); var p = null; p = this.value > 0 ? [new n(a.x,a.bottom), new n(a.x,a.y), new n(a.right,a.y), new n(a.right,a.bottom)] : [new n(a.x,a.y), new n(a.x,a.bottom), new n(a.right,a.bottom), new n(a.right,a.y)], e.drawLines(s, p) } } , a }(t.StiSeriesElementGeom); t.StiStackedColumnSeriesElementGeom = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiShadowSides , i = function(e) { function i(t, r, i, n) { var o = e.call(this, r) || this; return o._series = t, o._isTopShadow = i, o._isBottomShadow = n, o } return __extends(i, e), Object.defineProperty(i.prototype, "invisible", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "series", { get: function() { return this._series }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "isTopShadow", { get: function() { return this._isTopShadow }, enumerable: !0, configurable: !0 }), Object.defineProperty(i.prototype, "isBottomShadow", { get: function() { return this._isBottomShadow }, enumerable: !0, configurable: !0 }), i.prototype.draw = function(e) { var i = this.clientRectangle.clone(); this.series.stimulsoft.is(t.IStiFullStackedColumnSeries) ? e.drawCachedShadow(i, r.Right, e.options.isPrinting) : (this.isTopShadow && e.drawCachedShadow(i, r.Top | r.Right, e.options.isPrinting), this.isBottomShadow && e.drawCachedShadow(i, r.Right | r.Edge | r.Bottom | r.Left, e.options.isPrinting)) } , i }(t.StiCellGeom); t.StiStackedColumnSeriesShadowElementGeom = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenLineCap , i = e.Base.Context.StiPenGeom , n = e.Base.Drawing.StiColorUtils , o = e.System.Drawing.Color , a = e.System.Drawing.Point , s = e.System.Drawing.Rectangle , l = function(e) { function l(t, r, i) { return e.call(this, t, r, i) || this } return __extends(l, e), l.prototype.contains = function(e, r) { if (this.invisible) return !1; for (var i = 0; i < this.points.length - 1; i++) { var n = this.points[i] , o = this.points[i + 1]; if (null == n || null == o) continue; if (t.StiPointHelper.isLineContainsPoint(n, o, t.StiMouseOverHelper.mouseOverLineDistance, new a(e,r))) return !0 } return !1 } , l.prototype.draw = function(e) { var a, l, u = this.series, c = this.series.chart; if (0 == this.points.length) return; if (this.points.length > 1) { e.pushSmoothingModeToAntiAlias(); var h = u.lineStyle , p = u.lineWidth * e.options.zoom , f = new i(u.lineColor,p); f.penStyle = h; var m = u.lighting; if (u.showShadow) { var S = new i(o.fromArgb(50, 0, 0, 0),p + .5 * e.options.zoom); S.penStyle = h, e.pushTranslateTransform(p, p), t.StiNullableDrawing.drawLines(e, S, this.points, c.isAnimation), e.popTransform() } if (this.series.core.isMouseOver) { var d = u.lineWidth , y = e.options.zoom , g = 11 + d; try { for (var b = __values(this.points), v = b.next(); !v.done; v = b.next()) { var C = v.value; if (null == C) continue; var w = new s(C.x - g / 2 * y,C.y - g / 2 * y,g * y,g * y); e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(), w, null) } } catch (e) { a = { error: e } } finally { try { v && !v.done && (l = b.return) && l.call(b) } finally { if (a) throw a.error } } var x = new i(t.StiMouseOverHelper.getLineMouseOverColor(),(4 + d) * e.options.zoom); x.startCap = r.Round, x.endCap = r.Round, t.StiNullableDrawing.drawLines(e, x, this.points) } var _ = this.series.lineColor; if (this.series.allowApplyColorNegative) { var A = this.series.lineColorNegative , L = new i(A,p); L.penStyle = h; for (var O = this.series.chart.area, P = O.axisCore.getDividerY(), B = [], R = [], k = 0; k < this.points.length; k++) { var C = this.points[k] , j = k != this.points.length - 1 ? this.points[k + 1] : null; if (C.y > P) { if (B.add(C), null == j || j.y < P || j.y == P && k + 2 < this.points.length && this.points[k + 2].y <= P) { if (null != j) { var T = this.getPointCross(C, this.points[k + 1], P); B.add(T), j.y == P && k + 2 < this.points.length && this.points[k + 2].y <= P && B.add(this.points[k + 2]), R.add(T) } if (this.drawLine(e, L, B), p >= 2 * e.options.zoom && m) { var F = .5 * e.options.zoom; e.pushTranslateTransform(-F, -F); var D = new i(n.light(A, 70),p); D.penStyle = h, this.drawLine(e, D, B), e.popTransform() } B.clear() } } else if (R.add(C), null == j || j.y > P) { if (null != j) { var T = this.getPointCross(C, this.points[k + 1], P); B.add(T), R.add(T), R.add(j) } if (this.drawLine(e, f, R), p >= 2 * e.options.zoom && m) { var F = .5 * e.options.zoom; e.pushTranslateTransform(-F, -F); var D = new i(n.light(_, 70),p); D.penStyle = h, this.drawLine(e, D, R), e.popTransform() } R.clear() } } } else if (t.StiNullableDrawing.drawLines(e, f, this.points, c.isAnimation), p >= 2 * e.options.zoom && u.lighting) { var F = .5 * e.options.zoom; e.pushTranslateTransform(-F, -F); var D = new i(n.light(_, 70),p); D.penStyle = h, t.StiNullableDrawing.drawLines(e, D, this.points, c.isAnimation), e.popTransform() } e.popSmoothingMode() } } , l.prototype.getPointCross = function(e, t, r) { var i = e.y , n = e.x , o = t.y , s = t.x , l = Math.tan(Math.atan((s - n) / (i - o))) * (i - r) + n; return new a(l,r) } , l.prototype.drawLine = function(e, r, i) { var n = this.series.chart , o = Array.create(a, i.length, !0); i.copyTo(o), t.StiNullableDrawing.drawLines(e, r, o, n.isAnimation) } , l }(t.StiBaseLineSeriesGeom); t.StiStackedLineSeriesGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPathGeom , i = e.Base.Context.StiLineSegmentGeom , n = e.Base.Context.StiCurveSegmentGeom , o = e.System.Drawing.Point , a = e.System.Drawing.Rectangle , s = e.Base.Context.Animation.StiOpacityAnimation , l = function(e) { function l(t, r, i, n) { var o = e.call(this, t, n, l.getClientRectangle(r, i)) || this; return o._startPoints = r, o._endPoints = i, o } return __extends(l, e), l.prototype.invokeMouseEnter = function(e) { if (!this.allowMouseOver) return; this.isMouseOver || (this.isMouseOver = !0, e.updateContext = !0) } , l.prototype.invokeMouseLeave = function(e) { if (!this.allowMouseOver) return; this.isMouseOver && (this.isMouseOver = !1, e.updateContext = !0) } , Object.defineProperty(l.prototype, "allowMouseOver", { get: function() { return this.series.interaction.drillDownEnabled && this.series.interaction.allowSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "isMouseOver", { get: function() { if (null == this.series) return !1; return this.series.core.isMouseOver }, set: function(e) { null != this.series && (this.series.core.isMouseOver = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "startPoints", { get: function() { return this._startPoints }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "endPoints", { get: function() { return this._endPoints }, enumerable: !0, configurable: !0 }), l.prototype.contains = function(e, r) { var i = this.series.chart.area , n = i.axisCore.getDividerY(); if (this.invisible) return !1; for (var a = 0; a < this.startPoints.length - 1; a++) { var s = this.startPoints[a] , l = this.startPoints[a + 1] , u = this.endPoints[a] , c = this.endPoints[a + 1]; if (null == s || null == u || null == c || null == l) continue; if (t.StiPointHelper.isPointInPolygon(new o(e,r), [s, l, c, u])) return !0 } return !1 } , l.getClientRectangle = function(e, t) { var r, i, n, s; if (null == e || 0 == e.length || null == t || 0 == t.length) return a.empty; var l = o.empty , u = o.empty; try { for (var c = __values(e), h = c.next(); !h.done; h = c.next()) { var p = h.value; if (null == p) continue; l == o.empty ? (l = p, u = p) : (l.x = Math.min(l.x, p.x), l.y = Math.min(l.y, p.y), u.x = Math.max(u.x, p.x), u.y = Math.max(u.y, p.y)) } } catch (e) { r = { error: e } } finally { try { h && !h.done && (i = c.return) && i.call(c) } finally { if (r) throw r.error } } try { for (var f = __values(t), m = f.next(); !m.done; m = f.next()) { var p = m.value; if (null == p) continue; l == o.empty ? (l = p, u = p) : (l.x = Math.min(l.x, p.x), l.y = Math.min(l.y, p.y), u.x = Math.max(u.x, p.x), u.y = Math.max(u.y, p.y)) } } catch (e) { n = { error: e } } finally { try { m && !m.done && (s = f.return) && s.call(f) } finally { if (n) throw n.error } } return new a(l.x,l.y,u.x - l.x,u.y - l.y) } , l.prototype.draw = function(e) { var l, u, c = this.series, h = this.series.chart.area, p, f, m = { ref: p }, S = { ref: f }; t.StiNullableDrawing.getPointsList2(this.startPoints, this.endPoints, m, S), p = m.ref, f = S.ref; var d = this.series.chart , y = 0; try { for (var g = __values(p), b = g.next(); !b.done; b = g.next()) { var v = b.value , C = f[y] , w = []; w.add(new i(v[0].x,v[0].y,C[0].x,C[0].y)), w.add(new n(C,c.tension)), w.add(new i(C[C.length - 1].x,C[C.length - 1].y,v[v.length - 1].x,v[v.length - 1].y)); var x = Array.create(o, v.length, !0) , _ = 0 , A = v.length - 1; while (_ < v.length) x[_] = v[A], _++, A--; if (w.add(new n(x,c.tension)), null != c.brush) if (d.isAnimation) { var L = new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(c.brush, null, w, r.getBoundsState, null, L, null) } else e.fillPath(c.brush, w, r.getBoundsState, null); if (c.allowApplyBrushNegative && null != c.brushNegative) { var O = h.axisCore.getDividerY() , P = h.axisCore.scrollRangeX * h.axisCore.scrollDpiX , B = h.axisCore.scrollRangeY * h.axisCore.scrollDpiY - O , R = new a(0,O,P,B); if (e.pushClip(R), d.isAnimation) { var L = new s(t.StiChartHelper.globalDurationElement,t.StiChartHelper.globalBeginTimeElement); e.fillDrawAnimationPath(c.brushNegative, null, w, r.getBoundsState, null, L, null) } else e.fillPath(c.brushNegative, w, r.getBoundsState, null); e.popClip() } (this.isMouseOver || this.series.core.isMouseOver) && e.fillPath(t.StiMouseOverHelper.getMouseOverColor(), w, r.getBoundsState, null), y++ } } catch (e) { l = { error: e } } finally { try { b && !b.done && (u = g.return) && u.call(g) } finally { if (l) throw l.error } } } , l }(t.StiSeriesGeom); t.StiStackedSplineAreaSeriesGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenLineCap , i = e.Base.Context.StiPenGeom , n = e.Base.Drawing.StiColorUtils , o = e.System.Drawing.Color , a = e.System.Drawing.Point , s = e.System.Drawing.Rectangle , l = function(e) { function l(t, r, i) { return e.call(this, t, r, i) || this } return __extends(l, e), l.prototype.contains = function(e, r) { if (this.invisible) return !1; for (var i = 0; i < this.points.length - 1; i++) { var n = this.points[i] , o = this.points[i + 1]; if (null == n || null == o) continue; if (t.StiPointHelper.isLineContainsPoint(n, o, t.StiMouseOverHelper.mouseOverSplineDistance, new a(e,r))) return !0 } return !1 } , l.prototype.draw = function(e) { var a, l; if (0 == this.points.length) return; var u = this.series.chart , c = this.series; e.pushSmoothingModeToAntiAlias(); var h = c.lineStyle , p = c.lineWidth * e.options.zoom , f = new i(c.lineColor,p); if (f.penStyle = h, null != this.points && this.points.length > 1) { if (c.showShadow) { var m = new i(o.fromArgb(50, 0, 0, 0),p + .5 * e.options.zoom); m.penStyle = h, e.pushTranslateTransform(p, p), t.StiNullableDrawing.drawCurve(e, m, this.points, c.tension, u.isAnimation), e.popTransform() } if (this.series.core.isMouseOver) { var S = c.lineWidth , d = e.options.zoom , y = 11 + S; try { for (var g = __values(this.points), b = g.next(); !b.done; b = g.next()) { var v = b.value; if (null == v) continue; var C = new s(v.x - y / 2 * d,v.y - y / 2 * d,y * d,y * d); e.fillEllipse2(t.StiMouseOverHelper.getLineMouseOverColor(), C, null) } } catch (e) { a = { error: e } } finally { try { b && !b.done && (l = g.return) && l.call(g) } finally { if (a) throw a.error } } var w = new i(t.StiMouseOverHelper.getLineMouseOverColor(),(4 + S) * e.options.zoom); w.startCap = r.Round, w.endCap = r.Round, t.StiNullableDrawing.drawCurve(e, w, this.points, c.tension) } if (t.StiNullableDrawing.drawCurve(e, f, this.points, c.tension, u.isAnimation), p >= 2 && c.lighting) { var x = .5 * e.options.zoom; e.pushTranslateTransform(-x, -x); var _ = new i(n.light(c.lineColor, 70),p); _.penStyle = h, t.StiNullableDrawing.drawCurve(e, _, this.points, c.tension, u.isAnimation), e.popTransform() } if (c.allowApplyColorNegative) { var A = new i(c.lineColorNegative,p); A.penStyle = h; var L = this.series.chart.area , O = L.axisCore.getDividerY() , P = L.axisCore.scrollRangeX * L.axisCore.scrollDpiX , B = L.axisCore.scrollRangeY * L.axisCore.scrollDpiY - O , R = new s(0,O,P,B); if (e.pushClip(R), t.StiNullableDrawing.drawCurve(e, A, this.points, c.tension, u.isAnimation), p >= 2 && c.lighting) { var x = .5 * e.options.zoom; e.pushTranslateTransform(-x, -x); var _ = new i(n.light(c.lineColorNegative, 70),p); _.penStyle = h, t.StiNullableDrawing.drawCurve(e, _, this.points, c.tension, u.isAnimation), e.popTransform() } e.popClip() } } e.popSmoothingMode() } , l }(t.StiBaseLineSeriesGeom); t.StiStackedSplineSeriesGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Rectangle , n = e.System.Drawing.Point , o = function(e) { function o(t, r, i, n, o, a, s, l) { var u = e.call(this, t, r, i, a, s, n) || this; return u._seriesBrush = n, u._seriesBorderColor = o, u._animation = l, u } return __extends(o, e), Object.defineProperty(o.prototype, "seriesBrush", { get: function() { return this._seriesBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "seriesBorderColor", { get: function() { return this._seriesBorderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "animation", { get: function() { return this._animation }, enumerable: !0, configurable: !0 }), o.prototype.draw = function(o) { var a = this.series.chart , s = this.clientRectangle.clone(); if (a.isAnimation) { var l = new r(this.seriesBorderColor,1); o.drawAnimationRectangle(this.seriesBrush, l, new i(s.x,s.y,s.width,s.height), this, this._animation, this.getInteractionData(), this.getToolTip()) } else { e.prototype.draw.call(this, o), this.series.chart.style.core.fillColumn(o, s, this.seriesBrush, this.getInteractionData()), (this.isMouseOver || this.series.core.isMouseOver) && o.fillRectangle2(t.StiMouseOverHelper.getMouseOverColor(), s.x, s.y, s.width, s.height, null); var l = new r(this.seriesBorderColor,1) , u = [new n(s.x,s.bottom), new n(s.x,s.y), new n(s.right,s.y), new n(s.right,s.bottom), new n(s.x,s.bottom)]; o.drawLines(l, u) } } , o }(t.StiSeriesElementGeom); t.StiTreemapSeriesElementGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Color , i = function() { function e() {} return e.getMouseOverColor = function() { return r.fromArgb(100, r.white) } , e.getLineMouseOverColor = function() { return r.fromArgb(100, r.red) } , e.mouseOverLineDistance = 8, e.mouseOverSplineDistance = 15, e }(); t.StiMouseOverHelper = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Context.StiFontGeom , n = e.Base.Drawing.StiSolidBrush , o = function(e) { function t(t, r) { var i = e.call(this, r) || this; return i._strip = t, i } return __extends(t, e), Object.defineProperty(t.prototype, "strip", { get: function() { return this._strip }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.clientRectangle.clone(); if (e.fillRectangle2(this.strip.stripBrush, t.x, t.y, t.width, t.height, null), this.strip.titleVisible) { var o = new n(this.strip.titleColor) , a = i.changeFontSize(this.strip.font, this.strip.font.size * e.options.zoom) , s = e.getGenericStringFormat(); e.drawRotatedString6(this.strip.text, a, o, t, s, r.CenterCenter, 90, this.strip.antialiasing, 0) } } , t }(t.StiCellGeom); t.StiStripsXGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Context.StiFontGeom , n = e.Base.Drawing.StiSolidBrush , o = function(e) { function t(t, r) { var i = e.call(this, r) || this; return i._strip = t, i } return __extends(t, e), Object.defineProperty(t.prototype, "strip", { get: function() { return this._strip }, enumerable: !0, configurable: !0 }), t.prototype.draw = function(e) { var t = this.clientRectangle.clone(); if (e.fillRectangle2(this.strip.stripBrush, t.x, t.y, t.width, t.height, null), this.strip.titleVisible) { var o = new n(this.strip.titleColor) , a = i.changeFontSize(this.strip.font, this.strip.font.size * e.options.zoom) , s = e.getGenericStringFormat(); e.drawRotatedString5(this.strip.text, a, o, t, s, r.CenterCenter, 0, this.strip.antialiasing) } } , t }(t.StiCellGeom); t.StiStripsYGeom = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiRotationMode , i = e.Base.Context.StiPenGeom , n = e.System.Drawing.StringAlignment , o = e.System.Drawing.StringTrimming , a = e.System.Drawing.StringFormatFlags , s = e.Base.Context.StiFontGeom , l = e.Base.Drawing.StiSolidBrush , u = e.System.Drawing.Rectangle , c = function(e) { function c(t, r, n, o, a) { var s = e.call(this, t) || this; return s.widthCellLegendTableChart = n, s.heightCellHeader = o, s.table = r, s.chartTable = a, s.pen = new i(a.gridLineColor), s.labelBrush = new l(a.textColor), s.labelHeaderBrush = new l(a.header.textColor), s } return __extends(c, e), c.prototype.draw = function(e) { this.font = s.changeFontSize(this.chartTable.dataCells.font, this.chartTable.dataCells.font.size * e.options.zoom), this.sf = e.getGenericStringFormat(), this.sf.trimming = o.None, this.sf.formatFlags = a.MeasureTrailingSpaces | a.NoWrap, this.sf.alignment = n.Center, this.sf.lineAlignment = n.Center, this.fontHeader = s.changeFontSize(this.chartTable.header.font, this.chartTable.header.font.size * e.options.zoom), this.sfHeader = e.getGenericStringFormat(), this.sf.trimming = o.None, this.chartTable.header.wordWrap || (this.sf.formatFlags = a.MeasureTrailingSpaces | a.NoWrap), this.sfHeader.alignment = n.Center, this.sfHeader.lineAlignment = n.Center; for (var t = this.clientRectangle.clone(), r = this.chartTable.chart.area, i = r.reverseHor ? t.x : t.x + this.widthCellLegendTableChart, l = t.y, c = t.width - this.widthCellLegendTableChart, h = this.heightCellHeader, p = new u(i,l,c,h), f = [], m = 1; m < this.table.getStiLength(1); m++) f.add(this.table[0][m]); this.drawHeaderArgument(e, p, f, r.xAxis.startFromZero); for (var S = r.reverseHor ? t.right - this.widthCellLegendTableChart : t.x, d = t.y + this.heightCellHeader, y = this.widthCellLegendTableChart, g = t.height - this.heightCellHeader, b = new u(S,d,y,g), v = [], m = 1; m < this.table.getStiLength(0); m++) v.add(this.table[m][0]); this.drawTitleLegend(e, b, v); var C = r.reverseHor ? t.x : t.x + this.widthCellLegendTableChart , w = t.y + this.heightCellHeader , x = t.width - this.widthCellLegendTableChart , _ = t.height - this.heightCellHeader , A = new u(C,w,x,_); this.drawRootTable(e, A, r.xAxis.startFromZero) } , c.prototype.drawHeaderArgument = function(e, t, i, n) { e.fillRectangle(this.chartTable.header.brush, new u(t.x,t.y,t.width,t.height), null), this.chartTable.gridOutline && e.drawRectangle(this.pen, t); for (var o = n ? i.length + 1 : i.length - 1, a = t.width / o, s = 0; s < i.length; s++) { var l = 0; 0 != s && s != i.length - 1 || (l = n ? a / 2 : -a / 2); var c = n ? a / 2 : -a / 2; 0 == s && (c = 0); var h = new u(t.x + s * a + c,t.y,a + l,t.height); if (this.chartTable.header.wordWrap ? e.drawRotatedString6(i[s], this.fontHeader, this.labelHeaderBrush, h, this.sfHeader, r.CenterCenter, 0, !0, Math.trunc(a + l)) : e.drawString(i[s], this.fontHeader, this.labelHeaderBrush, h, this.sfHeader), this.chartTable.gridLinesVert && s != i.length - 1) { var p = n ? t.x + (s + 1) * a + a / 2 : t.x + (s + 1) * a - a / 2; e.drawLine(this.pen, p, t.y, p, t.bottom) } } } , c.prototype.drawTitleLegend = function(e, r, i) { this.chartTable.gridOutline && e.drawRectangle2(this.pen, r.x, r.y, r.width, r.height); for (var n = r.height / i.length, o = 0; o < i.length; o++) { var a = r.x , s = r.y , l = r.width; if (this.chartTable.gridLinesHor && 0 != o && e.drawLine(this.pen, a, s + n * o, a + l, s + n * o), this.chartTable.markerVisible) { var c = new u(a + 2,s + 2 + n * o,n - 4,n - 4); t.StiMarkerLegendFactory.createMarker(this.chartTable.chart.series.getByIndex(o)).draw(e, this.chartTable.chart.series.getByIndex(o), c, o, i.length), a += n, l -= n } var h = new u(a,s + n * o,l,n); e.drawString(i[o], this.font, this.labelBrush, h, this.sf) } } , c.prototype.drawRootTable = function(e, t, i) { this.chartTable.gridOutline && e.drawRectangle2(this.pen, t.x, t.y, t.width, t.height); var n = this.table.getStiLength(0) , o = this.table.getStiLength(1) , a = i ? this.table.getStiLength(1) : this.table.getStiLength(1) - 2 , s = t.width / a , l = t.height / (n - 1) , c = this.font; if (this.chartTable.dataCells.shrinkFontToFit) for (var h = 1; h < n; h++) { this.chartTable.gridLinesHor && h != n - 1 && e.drawLine(this.pen, t.x, t.y + h * l, t.right, t.y + h * l); for (var p = 1; p < o; p++) { var f = 0; 1 != p && p != o - 1 || (f = i ? s / 2 : -s / 2); var m = i ? s / 2 : -s / 2; 1 == p && (m = 0); var S = new u(t.x + (p - 1) * s + m,t.y + (h - 1) * l,s + f,l) , d = this.checkFontSize(e, this.table[h][p], c, S); while (!d) { if (c.fontSize -= .5, c.fontSize <= this.chartTable.dataCells.shrinkFontToFitMinimumSize) { c.fontSize = this.chartTable.dataCells.shrinkFontToFitMinimumSize; break } d = this.checkFontSize(e, this.table[h][p], c, S) } } } for (var h = 1; h < n; h++) { this.chartTable.gridLinesHor && h != n - 1 && e.drawLine(this.pen, t.x, t.y + h * l, t.right, t.y + h * l); for (var p = 1; p < o; p++) { var f = 0; 1 != p && p != o - 1 || (f = i ? s / 2 : -s / 2); var m = i ? s / 2 : -s / 2; 1 == p && (m = 0); var S = new u(t.x + (p - 1) * s + m,t.y + (h - 1) * l,s + f,l); if (e.drawRotatedString5(this.table[h][p], c, this.labelBrush, S, this.sf, r.CenterCenter, 0, !0), this.chartTable.gridLinesVert && p < o - 1) { var y = i ? t.x + p * s + s / 2 : t.x + p * s - s / 2; e.drawLine(this.pen, y, t.y, y, t.bottom) } } } } , c.prototype.checkFontSize = function(e, t, r, i) { return e.measureRotatedString(t, r, i, this.sf, 0).width < i.width } , c }(t.StiCellGeom); t.StiChartTableGeom = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Color , n = e.System.Drawing.Point , o = e.Base.Drawing.StiRotationMode , a = e.System.Drawing.Point , s = e.Base.Context.StiFontGeom , l = e.Base.Drawing.StiSolidBrush , u = function(e) { function u(r, i) { var n = e.call(this, t.StiBaseLineSeriesGeom.getClientRectangle(r, i.lineWidth)) || this; return n._points = r, n._trendLine = i, n } return __extends(u, e), Object.defineProperty(u.prototype, "points", { get: function() { return this._points }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "trendLine", { get: function() { return this._trendLine }, enumerable: !0, configurable: !0 }), u.prototype.draw = function(e) { for (var u = Array.create(n, this.points.length, !0), c = 0; c < this.points.length; c++) u[c] = this.points[c]; var h = this.trendLine , p = this.trendLine.lineColor , f = this.trendLine.lineWidth , m = this.trendLine.lineStyle , S = this.trendLine.showShadow , d = f * e.options.zoom; if (e.pushSmoothingModeToAntiAlias(), S) { var y = new r(i.fromArgb(50, 0, 0, 0),d + .5 * e.options.zoom); y.penStyle = m, e.pushTranslateTransform(d, d), t.StiNullableDrawing.drawCurve(e, y, this.points, 0), e.popTransform() } var g = new r(p,f * e.options.zoom); if (g.penStyle = m, e.drawCurve(g, u, 0), this.trendLine.titleVisible && u.length > 0) { var b = new l(this.trendLine.lineColor) , v = s.changeFontSize(this.trendLine.font, this.trendLine.font.size * e.options.zoom) , C = e.getGenericStringFormat() , w = a.empty , x = u[0] , _ = u[u.length - 1] , A = o.CenterCenter; switch (this.trendLine.position) { case t.StiTrendLine_StiTextPosition.LeftBottom: w = x, A = o.LeftTop; break; case t.StiTrendLine_StiTextPosition.LeftTop: w = x, A = o.LeftBottom; break; case t.StiTrendLine_StiTextPosition.RightBottom: w = _, A = o.RightTop; break; case t.StiTrendLine_StiTextPosition.RightTop: w = _, A = o.RightBottom; break } e.drawRotatedString9(this.trendLine.text, v, b, w, C, A, 0, !0, 0) } e.popSmoothingMode() } , u }(t.StiCellGeom); t.StiTrendCurveGeom = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Context.StiPenGeom , i = e.System.Drawing.Color , n = e.System.Drawing.Point , o = e.Base.Drawing.StiRotationMode , a = e.Base.Context.StiFontGeom , s = e.Base.Drawing.StiSolidBrush , l = function(e) { function l(r, i, n) { var o = e.call(this, t.StiBaseLineSeriesGeom.getClientRectangle(l.getArray(r, i), n.lineWidth)) || this; return o.pointStart = r, o.pointEnd = i, o.trendLine = n, o } return __extends(l, e), l.prototype.draw = function(e) { var u = this.trendLine.lineColor , c = this.trendLine.lineWidth , h = this.trendLine.lineStyle , p = this.trendLine.showShadow , f = c * e.options.zoom; if (e.pushSmoothingModeToAntiAlias(), p) { var m = new r(i.fromArgb(50, 0, 0, 0),f + .5 * e.options.zoom); m.penStyle = h, e.pushTranslateTransform(f, f), t.StiNullableDrawing.drawLines(e, m, l.getArray(this.pointStart, this.pointEnd)), e.popTransform() } var S = new r(u,c * e.options.zoom); if (S.penStyle = h, e.drawLine(S, this.pointStart.x, this.pointStart.y, this.pointEnd.x, this.pointEnd.y), this.trendLine.titleVisible) { var d = new s(this.trendLine.lineColor) , y = a.changeFontSize(this.trendLine.font, this.trendLine.font.size * e.options.zoom) , g = e.getGenericStringFormat() , b = n.empty , v = o.CenterCenter; switch (this.trendLine.position) { case t.StiTrendLine_StiTextPosition.LeftBottom: b = this.pointStart, v = o.LeftTop; break; case t.StiTrendLine_StiTextPosition.LeftTop: b = this.pointStart, v = o.LeftBottom; break; case t.StiTrendLine_StiTextPosition.RightBottom: b = this.pointEnd, v = o.RightTop; break; case t.StiTrendLine_StiTextPosition.RightTop: b = this.pointEnd, v = o.RightBottom; break } e.drawRotatedString9(this.trendLine.text, y, d, b, g, v, 0, !0, 0) } e.popSmoothingMode() } , l.getArray = function(e, t) { return [e, t] } , l }(t.StiCellGeom); t.StiTrendLineGeom = l }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(e) { function t(t) { return e.call(this, t) || this } return __extends(t, e), t.prototype.draw = function(e) {} , t }(e.StiCellGeom); e.StiChartGeom = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.TimeSpan , i = e.Base.Context.Animation.StiTranslationAnimation , n = e.System.Drawing.Point , o = function() { function e() {} return e.drawLines = function(e, o, a, s) { var l, u; void 0 === s && (s = !1); var c = []; try { for (var h = __values(a), p = h.next(); !p.done; p = h.next()) { var f = p.value; if (null != f) c.add(f); else { if (c.length > 1) if (s) { var m = new i(n.empty,n.empty,t.StiChartHelper.globalDurationElement,new r(0)); e.drawAnimationLines(o, c.toArray(), m) } else e.drawLines(o, c.toArray()); c.clear() } } } catch (e) { l = { error: e } } finally { try { p && !p.done && (u = h.return) && u.call(h) } finally { if (l) throw l.error } } if (c.length > 1) if (s) { var m = new i(n.empty,n.empty,t.StiChartHelper.globalDurationElement,new r(0)); e.drawAnimationLines(o, c.toArray(), m) } else e.drawLines(o, c.toArray()) } , e.drawCurve = function(e, o, a, s, l) { var u, c; void 0 === l && (l = !1); var h = []; try { for (var p = __values(a), f = p.next(); !f.done; f = p.next()) { var m = f.value; if (null != m) h.add(m); else { if (h.length > 1) if (l) { var S = new i(n.empty,n.empty,t.StiChartHelper.globalDurationElement,new r(0)); e.drawAnimationCurve(o, h.toArray(), s, S) } else e.drawCurve(o, h.toArray(), s); h.clear() } } } catch (e) { u = { error: e } } finally { try { f && !f.done && (c = p.return) && c.call(p) } finally { if (u) throw u.error } } if (h.length > 1) if (l) { var S = new i(n.empty,n.empty,t.StiChartHelper.globalDurationElement,new r(0)); e.drawAnimationCurve(o, h.toArray(), s, S) } else e.drawCurve(o, h.toArray(), s) } , e.getPointsList = function(e) { var t, r, i = [], n = []; try { for (var o = __values(e), a = o.next(); !a.done; a = o.next()) { var s = a.value; null != s ? n.add(s) : (n.length > 1 && i.add(n.toArray()), n.clear()) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } return n.length > 1 && i.add(n.toArray()), i } , e.getNullablePointsList = function(e) { var t, r, i = [], n = []; try { for (var o = __values(e), a = o.next(); !a.done; a = o.next()) { var s = a.value; null != s ? n.add(s) : (n.length > 1 && i.add(n.toArray()), n.clear()) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } return n.length >= 1 && i.add(n.toArray()), i } , e.getPointsList2 = function(e, t, r, i) { var n, o, a = [], s = [], l = [], u = [], c = 0; try { for (var h = __values(e), p = h.next(); !p.done; p = h.next()) { var f = p.value , m = t[c]; null != f && null != m ? (l.add(f), u.add(m)) : (l.length > 1 && (a.add(l.toArray()), s.add(u.toArray())), l.clear(), u.clear()), c++ } } catch (e) { n = { error: e } } finally { try { p && !p.done && (o = h.return) && o.call(h) } finally { if (n) throw n.error } } l.length > 1 && (a.add(l.toArray()), s.add(u.toArray())), r.ref = a, i.ref = s } , e }(); t.StiNullableDrawing = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiScatterAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiScatterArea || (o.implementsStiScatterArea = e.prototype.implements.call(this).concat([r.IStiScatterArea, r.IStiArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, n])), o.implementsStiScatterArea } , o.prototype.getDefaultSeriesType = function() { return r.StiScatterLineSeries } , o.prototype.getSeriesTypes = function() { return [r.StiScatterSeries, r.StiScatterLineSeries, r.StiScatterSplineSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiScatterArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiScatterArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiBubbleAreaCoreXF(t), t.interlacingHor = new r.StiInterlacingHor, t.interlacingVert = new r.StiInterlacingVert, t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiBubbleArea || (o.implementsStiBubbleArea = e.prototype.implements.call(this).concat([r.IStiScatterArea, r.IStiClusteredColumnArea, r.IStiArea, r.IStiAxisArea, i, n, r.IStiBubbleArea])), o.implementsStiBubbleArea } , o.prototype.getDefaultSeriesType = function() { return r.StiBubbleSeries } , o.prototype.getSeriesTypes = function() { return [r.StiBubbleSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiBubbleArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiScatterArea); r.StiBubbleArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiCandlestickAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiCandlestickArea || (o.implementsStiCandlestickArea = e.prototype.implements.call(this).concat([r.IStiCandlestickArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, r.IStiArea, n])), o.implementsStiCandlestickArea } , o.prototype.getDefaultSeriesType = function() { return r.StiCandlestickSeries } , o.prototype.getSeriesTypes = function() { return [r.StiCandlestickSeries] } , o.prototype.getSeriesLabelsTypes = function() { return [r.StiNoneLabels] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiCandlestickArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiCandlestickArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiClusteredBarAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiClusteredBarArea || (o.implementsStiClusteredBarArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiClusteredBarArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, n])), o.implementsStiClusteredBarArea } , o.prototype.getDefaultSeriesType = function() { return r.StiClusteredBarSeries } , o.prototype.getSeriesTypes = function() { return [r.StiClusteredBarSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiClusteredBarArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiClusteredBarArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiAreaAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiAreaArea || (o.implementsStiAreaArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiClusteredColumnArea, r.IStiAxisArea, r.IStiAreaArea, i, n])), o.implementsStiAreaArea } , o.prototype.getDefaultSeriesType = function() { return r.StiAreaSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiAreaArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiAreaArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiLineAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiLineArea || (o.implementsStiLineArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiLineArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, n])), o.implementsStiLineArea } , o.prototype.getDefaultSeriesType = function() { return r.StiLineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiLineArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiLineArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.yRightAxis.visible = !0, t.yRightAxis.range.auto = !1, t.yRightAxis.range.maximum = 100, t.yRightAxis.labels.textAfter = "%", t.core = new r.StiParetoAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiParetoArea || (o.implementsStiParetoArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiParetoArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, n])), o.implementsStiParetoArea } , o.prototype.getDefaultSeriesType = function() { return r.StiParetoSeries } , o.prototype.getSeriesTypes = function() { return [r.StiParetoSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiParetoArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiParetoArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiSplineAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiSplineArea || (o.implementsStiSplineArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiSplineArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, n])), o.implementsStiSplineArea } , o.prototype.getDefaultSeriesType = function() { return r.StiSplineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiSplineArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiSplineArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiSplineAreaAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiSplineAreaArea || (o.implementsStiSplineAreaArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiSplineAreaArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, n])), o.implementsStiSplineAreaArea } , o.prototype.getDefaultSeriesType = function() { return r.StiSplineAreaSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiSplineAreaArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiSplineAreaArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiSteppedAreaAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiSteppedAreaArea || (o.implementsStiSteppedAreaArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiSteppedAreaArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, n])), o.implementsStiSteppedAreaArea } , o.prototype.getDefaultSeriesType = function() { return r.StiSteppedAreaSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiSteppedAreaArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiSteppedAreaArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiSteppedLineAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiSteppedLineArea || (o.implementsStiSteppedLineArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiClusteredColumnArea, r.IStiAxisArea, r.IStiSteppedLineArea, i, n])), o.implementsStiSteppedLineArea } , o.prototype.getDefaultSeriesType = function() { return r.StiSteppedLineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiSteppedLineArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiSteppedLineArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiPieAreaCoreXF(t), t.colorEach = !0, t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiPieArea || (o.implementsStiPieArea = e.prototype.implements.call(this).concat([i, r.IStiPieArea, r.IStiArea, n])), o.implementsStiPieArea } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("ColorEach"), r } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiPieArea }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultSeriesLabelsType = function() { return r.StiCenterPieLabels } , o.prototype.getSeriesLabelsTypes = function() { return [r.StiNoneLabels, r.StiInsideEndPieLabels, r.StiCenterPieLabels, r.StiOutsidePieLabels, r.StiTwoColumnsPieLabels] } , o.prototype.getDefaultSeriesType = function() { return r.StiPieSeries } , o.prototype.getSeriesTypes = function() { return [r.StiPieSeries] } , o.prototype.createNew = function() { return new o } , o }(r.StiArea); r.StiPieArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiDoughnutAreaCoreXF(t), t.colorEach = !0, t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiDoughnutArea || (o.implementsStiDoughnutArea = e.prototype.implements.call(this).concat([i, r.IStiPieArea, r.IStiArea, n, r.IStiDoughnutArea])), o.implementsStiDoughnutArea } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("ColorEach"), r } , o.prototype.getDefaultSeriesLabelsType = function() { return r.StiCenterPieLabels } , o.prototype.getSeriesLabelsTypes = function() { return [r.StiNoneLabels, r.StiCenterPieLabels] } , o.prototype.getDefaultSeriesType = function() { return r.StiDoughnutSeries } , o.prototype.getSeriesTypes = function() { return [r.StiDoughnutSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiDoughnutArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiPieArea); r.StiDoughnutArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiStackedBarAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiStackedBarArea || (o.implementsStiStackedBarArea = e.prototype.implements.call(this).concat([r.IStiClusteredBarArea, r.IStiClusteredColumnArea, r.IStiArea, r.IStiAxisArea, i, r.IStiStackedBarArea, n])), o.implementsStiStackedBarArea } , o.prototype.getDefaultSeriesType = function() { return r.StiStackedBarSeries } , o.prototype.getSeriesTypes = function() { return [r.StiStackedBarSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedBarArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredBarArea); r.StiStackedBarArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedBarAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedBarArea || (o.implementsStiFullStackedBarArea = e.prototype.implements.call(this).concat([r.IStiClusteredBarArea, r.IStiClusteredColumnArea, r.IStiArea, r.IStiAxisArea, r.IStiFullStackedBarArea, r.IStiStackedBarArea, i, n])), o.implementsStiFullStackedBarArea } , o.prototype.getDefaultSeriesType = function() { return r.StiFullStackedBarSeries } , o.prototype.getSeriesTypes = function() { return [r.StiFullStackedBarSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedBarArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiStackedBarArea); r.StiFullStackedBarArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiStackedColumnAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiStackedColumnArea || (o.implementsStiStackedColumnArea = e.prototype.implements.call(this).concat([i, r.IStiStackedColumnArea, r.IStiAxisArea, n, r.IStiArea])), o.implementsStiStackedColumnArea } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedColumnArea }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultSeriesType = function() { return r.StiStackedColumnSeries } , o.prototype.getSeriesTypes = function() { return [r.StiStackedColumnSeries, r.StiStackedLineSeries, r.StiStackedSplineSeries, r.StiStackedAreaSeries, r.StiStackedSplineAreaSeries] } , o.prototype.createNew = function() { return new o } , o }(r.StiAxisArea); r.StiStackedColumnArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedColumnAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedColumnArea || (o.implementsStiFullStackedColumnArea = e.prototype.implements.call(this).concat([r.IStiStackedColumnArea, r.IStiArea, r.IStiAxisArea, r.IStiFullStackedColumnArea, i, n])), o.implementsStiFullStackedColumnArea } , o.prototype.getDefaultSeriesType = function() { return r.StiFullStackedColumnSeries } , o.prototype.getSeriesTypes = function() { return [r.StiFullStackedColumnSeries, r.StiFullStackedLineSeries, r.StiFullStackedAreaSeries, r.StiFullStackedSplineSeries, r.StiFullStackedSplineAreaSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedColumnArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiStackedColumnArea); r.StiFullStackedColumnArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedAreaAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedAreaArea || (o.implementsStiFullStackedAreaArea = e.prototype.implements.call(this).concat([r.IStiStackedColumnArea, r.IStiArea, r.IStiAxisArea, r.IStiFullStackedColumnArea, i, n, r.IStiFullStackedAreaArea])), o.implementsStiFullStackedAreaArea } , o.prototype.getDefaultSeriesType = function() { return r.StiFullStackedAreaSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedAreaArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiFullStackedColumnArea); r.StiFullStackedAreaArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedLineAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedLineArea || (o.implementsStiFullStackedLineArea = e.prototype.implements.call(this).concat([r.IStiStackedColumnArea, r.IStiArea, r.IStiAxisArea, r.IStiFullStackedColumnArea, i, n, r.IStiFullStackedLineArea])), o.implementsStiFullStackedLineArea } , o.prototype.getDefaultSeriesType = function() { return r.StiFullStackedLineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedLineArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiFullStackedColumnArea); r.StiFullStackedLineArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedSplineAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedSplineArea || (o.implementsStiFullStackedSplineArea = e.prototype.implements.call(this).concat([r.IStiFullStackedSplineArea, r.IStiStackedColumnArea, r.IStiArea, r.IStiAxisArea, r.IStiFullStackedColumnArea, i, n])), o.implementsStiFullStackedSplineArea } , o.prototype.getDefaultSeriesType = function() { return r.StiFullStackedSplineAreaSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedSplineArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiFullStackedColumnArea); r.StiFullStackedSplineArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedSplineAreaAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedSplineAreaArea || (o.implementsStiFullStackedSplineAreaArea = e.prototype.implements.call(this).concat([r.IStiStackedColumnArea, r.IStiArea, r.IStiAxisArea, r.IStiFullStackedColumnArea, r.IStiFullStackedSplineAreaArea, i, n])), o.implementsStiFullStackedSplineAreaArea } , o.prototype.getDefaultSeriesType = function() { return r.StiFullStackedSplineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedSplineAreaArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiFullStackedColumnArea); r.StiFullStackedSplineAreaArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFunnelAreaCoreXF(t), t.colorEach = !0, t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFunnelArea || (o.implementsStiFunnelArea = e.prototype.implements.call(this).concat([i, r.IStiArea, n, r.IStiFunnelArea])), o.implementsStiFunnelArea } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("ColorEach"), r } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFunnelArea }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultSeriesType = function() { return r.StiFunnelSeries } , o.prototype.getSeriesTypes = function() { return [r.StiFunnelSeries] } , o.prototype.getDefaultSeriesLabelsType = function() { return r.StiNoneLabels } , o.prototype.getSeriesLabelsTypes = function() { return [r.StiNoneLabels, r.StiCenterFunnelLabels, r.StiOutsideRightFunnelLabels, r.StiOutsideLeftFunnelLabels] } , o.prototype.createNew = function() { return new o } , o }(r.StiArea); r.StiFunnelArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function(r) { function i() { var e = r.call(this) || this; return e.core = new t.StiFunnelAreaCoreXF(e), e.colorEach = !0, e } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return e.StiComponentId.StiFunnelWeightedSlicesArea }, enumerable: !0, configurable: !0 }), i.prototype.getDefaultSeriesType = function() { return t.StiFunnelWeightedSlicesSeries } , i.prototype.getSeriesTypes = function() { return [t.StiFunnelWeightedSlicesSeries] } , i.prototype.getDefaultSeriesLabelsType = function() { return t.StiNoneLabels } , i.prototype.getSeriesLabelsTypes = function() { return [t.StiNoneLabels, t.StiCenterFunnelLabels] } , i.prototype.createNew = function() { return new i } , i }(t.StiFunnelArea); t.StiFunnelWeightedSlicesArea = r }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiGanttAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiGanttArea || (o.implementsStiGanttArea = e.prototype.implements.call(this).concat([r.IStiClusteredBarArea, r.IStiClusteredColumnArea, r.IStiArea, r.IStiAxisArea, i, r.IStiGanttArea, n])), o.implementsStiGanttArea } , o.prototype.getDefaultSeriesType = function() { return r.StiGanttSeries } , o.prototype.getSeriesTypes = function() { return [r.StiGanttSeries] } , o.prototype.getSeriesLabelsTypes = function() { return [r.StiNoneLabels, r.StiValueAxisLabels, r.StiCenterAxisLabels, r.StiOutsideAxisLabels] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiGanttArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredBarArea); r.StiGanttArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiPictorialAreaCoreXF(t), t.colorEach = !0, t.roundValues = !0, t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiPictorialArea || (o.implementsStiPictorialArea = e.prototype.implements.call(this).concat([i, r.IStiPictorialArea, r.IStiArea, n])), o.implementsStiPictorialArea } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("RoundValues", this.roundValues), r.addPropertyBool("Actual", this.actual), r } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiPictorialArea }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "roundValues", { get: function() { return this._roundValues }, set: function(e) { this._roundValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "actual", { get: function() { return this._actual }, set: function(e) { this._actual = e }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultSeriesLabelsType = function() { return r.StiNoneLabels } , o.prototype.getSeriesLabelsTypes = function() { return [r.StiNoneLabels] } , o.prototype.getDefaultSeriesType = function() { return r.StiPictorialSeries } , o.prototype.getSeriesTypes = function() { return [r.StiPictorialSeries] } , o.prototype.createNew = function() { return new o } , o }(r.StiArea); r.StiPictorialArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiRadarAreaAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiRadarAreaArea || (o.implementsStiRadarAreaArea = e.prototype.implements.call(this).concat([i, r.IStiRadarArea, r.IStiArea, r.IStiRadarAreaArea, n])), o.implementsStiRadarAreaArea } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadarAreaArea }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultSeriesType = function() { return r.StiRadarAreaSeries } , o.prototype.getSeriesTypes = function() { return [r.StiRadarPointSeries, r.StiRadarLineSeries, r.StiRadarAreaSeries] } , o.prototype.createNew = function() { return new o } , o }(r.StiRadarArea); r.StiRadarAreaArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiRadarLineAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiRadarLineArea || (o.implementsStiRadarLineArea = e.prototype.implements.call(this).concat([i, r.IStiRadarArea, r.IStiArea, n, r.IStiRadarLineArea])), o.implementsStiRadarLineArea } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadarLineArea }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultSeriesType = function() { return r.StiRadarLineSeries } , o.prototype.getSeriesTypes = function() { return [r.StiRadarPointSeries, r.StiRadarLineSeries, r.StiRadarAreaSeries] } , o.prototype.createNew = function() { return new o } , o }(r.StiRadarArea); r.StiRadarLineArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiRadarPointAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiRadarPointArea || (o.implementsStiRadarPointArea = e.prototype.implements.call(this).concat([i, r.IStiRadarPointArea, r.IStiRadarArea, r.IStiArea, n])), o.implementsStiRadarPointArea } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadarPointArea }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultSeriesType = function() { return r.StiRadarPointSeries } , o.prototype.getSeriesTypes = function() { return [r.StiRadarPointSeries, r.StiRadarLineSeries, r.StiRadarAreaSeries] } , o.prototype.createNew = function() { return new o } , o }(r.StiRadarArea); r.StiRadarPointArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiRangeAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiRangeArea || (o.implementsStiRangeArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiRangeArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, n])), o.implementsStiRangeArea } , o.prototype.getDefaultSeriesType = function() { return r.StiRangeSeries } , o.prototype.getSeriesTypes = function() { return [r.StiRangeSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiRangeArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiRangeArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiRangeBarAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiRangeBarArea || (o.implementsStiRangeBarArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiRangeBarArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, n])), o.implementsStiRangeBarArea } , o.prototype.getDefaultSeriesType = function() { return r.StiRangeBarSeries } , o.prototype.getSeriesTypes = function() { return [r.StiRangeBarSeries] } , o.prototype.getSeriesLabelsTypes = function() { return [r.StiNoneLabels, r.StiInsideBaseAxisLabels, r.StiOutsideBaseAxisLabels, r.StiOutsideAxisLabels, r.StiLeftAxisLabels, r.StiValueAxisLabels, r.StiRightAxisLabels] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiRangeBarArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiRangeBarArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiSplineRangeAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiSplineRangeArea || (o.implementsStiSplineRangeArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiAxisArea, r.IStiClusteredColumnArea, r.IStiSplineRangeArea, i, n])), o.implementsStiSplineRangeArea } , o.prototype.getDefaultSeriesType = function() { return r.StiSplineRangeSeries } , o.prototype.getSeriesTypes = function() { return [r.StiSplineRangeSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiSplineRangeArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiSplineRangeArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiSteppedRangeAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiSteppedRangeArea || (o.implementsStiSteppedRangeArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiClusteredColumnArea, r.IStiSteppedRangeArea, r.IStiAxisArea, i, n])), o.implementsStiSteppedRangeArea } , o.prototype.getDefaultSeriesType = function() { return r.StiSteppedRangeSeries } , o.prototype.getSeriesTypes = function() { return [r.StiSteppedRangeSeries] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiSteppedRangeArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiSteppedRangeArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiStackedAreaAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiStackedAreaArea || (o.implementsStiStackedAreaArea = e.prototype.implements.call(this).concat([r.IStiStackedColumnArea, r.IStiArea, r.IStiAxisArea, r.IStiStackedAreaArea, i, n])), o.implementsStiStackedAreaArea } , o.prototype.getDefaultSeriesType = function() { return r.StiStackedAreaSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedAreaArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiStackedColumnArea); r.StiStackedAreaArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiStackedLineAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiStackedLineArea || (o.implementsStiStackedLineArea = e.prototype.implements.call(this).concat([r.IStiStackedLineArea, r.IStiArea, r.IStiAxisArea, r.IStiStackedColumnArea, i, n])), o.implementsStiStackedLineArea } , o.prototype.getDefaultSeriesType = function() { return r.StiStackedLineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedLineArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiStackedColumnArea); r.StiStackedLineArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiStackedSplineAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiStackedSplineArea || (o.implementsStiStackedSplineArea = e.prototype.implements.call(this).concat([r.IStiStackedSplineArea, r.IStiStackedColumnArea, r.IStiArea, r.IStiAxisArea, i, n])), o.implementsStiStackedSplineArea } , o.prototype.getDefaultSeriesType = function() { return r.StiStackedSplineAreaSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedSplineArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiStackedColumnArea); r.StiStackedSplineArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiStackedSplineAreaAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiStackedSplineAreaArea || (o.implementsStiStackedSplineAreaArea = e.prototype.implements.call(this).concat([r.IStiAxisArea, r.IStiStackedColumnArea, r.IStiArea, r.IStiStackedSplineAreaArea, i, n])), o.implementsStiStackedSplineAreaArea } , o.prototype.getDefaultSeriesType = function() { return r.StiStackedSplineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedSplineAreaArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiStackedColumnArea); r.StiStackedSplineAreaArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiStockAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiStockArea || (o.implementsStiStockArea = e.prototype.implements.call(this).concat([r.IStiArea, r.IStiStockArea, r.IStiClusteredColumnArea, r.IStiAxisArea, i, n])), o.implementsStiStockArea } , o.prototype.getDefaultSeriesType = function() { return r.StiStockSeries } , o.prototype.getSeriesTypes = function() { return [r.StiStockSeries] } , o.prototype.getSeriesLabelsTypes = function() { return [r.StiNoneLabels] } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiStockArea }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnArea); r.StiStockArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiTreemapAreaCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiTreemapArea || (o.implementsStiTreemapArea = e.prototype.implements.call(this).concat([i, r.IStiTreemapArea, n])), o.implementsStiTreemapArea } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiTreemapArea }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultSeriesLabelsType = function() { return r.StiNoneLabels } , o.prototype.getSeriesLabelsTypes = function() { return [r.StiNoneLabels, r.StiCenterTreemapLabels] } , o.prototype.getDefaultSeriesType = function() { return r.StiTreemapSeries } , o.prototype.getSeriesTypes = function() { return [r.StiTreemapSeries] } , o.prototype.createNew = function() { return new o } , o }(r.StiArea); r.StiTreemapArea = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJsonReportObjectHelper , i = e.Base.StiJson , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.System.Drawing.StringAlignment , s = e.System.Enum , l = e.System.Drawing.Color , u = e.System.Drawing.Font , c = e.System.Drawing.FontStyle , h = function() { function h(e, r, i, n, o, s, h, p) { void 0 === e && (e = new u("Tahoma",12,c.Bold)), void 0 === r && (r = ""), void 0 === i && (i = l.black), void 0 === n && (n = !0), void 0 === o && (o = a.Center), void 0 === s && (s = t.StiDirection.LeftToRight), void 0 === h && (h = !0), void 0 === p && (p = t.StiTitlePosition.Outside), this._allowApplyStyle = !0, this._font = new u("Tahoma",12,c.Bold), this._text = "", this._color = l.black, this._antialiasing = !0, this._alignment = a.Center, this._position = t.StiTitlePosition.Outside, this._direction = t.StiDirection.LeftToRight, this._font = e, this._text = r, this._color = i, this._antialiasing = n, this._alignment = o, this._direction = s, this._allowApplyStyle = h, this._position = p, this._core = new t.StiAxisTitleCoreXF(this) } return h.prototype.implements = function() { return h.implementsStiAxisTitle || (h.implementsStiAxisTitle = [t.IStiAxisTitle, o, n]), h.implementsStiAxisTitle } , h.prototype.saveToJsonObject = function(e) { var n = new i; return n.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), n.addPropertyStringNullOrEmpty("Font", r.Serialize.font(this._font, "Tahoma", 12, c.Bold)), n.addPropertyStringNullOrEmpty("Text", this._text), n.addPropertyStringNullOrEmpty("Color", r.Serialize.jColor(this._color, l.black)), n.addPropertyBool("Antialiasing", this._antialiasing, !0), n.addPropertyEnum("Alignment", a, this._alignment, a.Center), n.addPropertyEnum("Position", t.StiTitlePosition, this._position, t.StiTitlePosition.Outside), n.addPropertyEnum("Direction", t.StiDirection, this.direction), n } , h.prototype.loadFromJsonObject = function(e) { var i, n; try { for (var o = __values(e.properties()), l = o.next(); !l.done; l = o.next()) { var u = l.value; switch (u.name) { case "AllowApplyStyle": this._allowApplyStyle = u.value.stimulsoft.toBoolean(); break; case "Font": this._font = r.Deserialize.font(u.value.toString(), this._font); break; case "Text": this._text = u.value.toString(); break; case "Color": this._color = r.Deserialize.color(u.value.toString()); break; case "Antialiasing": this._antialiasing = u.value.stimulsoft.toBoolean(); break; case "Alignment": this._alignment = s.parse(a, u.value.toString()); break; case "Position": this._position = s.parse(t.StiTitlePosition, u.value.toString()); break; case "Direction": this.direction = s.parse(t.StiDirection, u.value.toString()); break } } } catch (e) { i = { error: e } } finally { try { l && !l.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } } , h.prototype.loadFromXml = function(r) { for (var i = 0; i < r.childNodes.length; i++) { var n = r.childNodes[i]; switch (n.nodeName) { case "AllowApplyStyle": this._allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break; case "Font": case "fn": this._font = e.System.Convert.toFont(n.textContent); break; case "Text": case "text": this._text = n.textContent.toString(); break; case "Color": this._color = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "Antialiasing": this._antialiasing = n.textContent.stimulsoft.toBoolean(); break; case "Alignment": this._alignment = s.parse(a, n.textContent); break; case "Position": this._position = s.parse(t.StiTitlePosition, n.textContent); break; case "Direction": this.direction = s.parse(t.StiDirection, n.textContent); break } } } , h.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.alignment = this.alignment, e.direction = this.direction, e.font = this.font.clone(), null != this.core && (e.core = this.core.clone(), e.core.title = e), e } , Object.defineProperty(h.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "text", { get: function() { return this._text }, set: function(e) { this._text = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "antialiasing", { get: function() { return this._antialiasing }, set: function(e) { this._antialiasing = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "alignment", { get: function() { return this._alignment }, set: function(e) { this._alignment = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "position", { get: function() { return this._position }, set: function(e) { this._position = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "direction", { get: function() { return this._direction }, set: function(e) { this._direction = e }, enumerable: !0, configurable: !0 }), h }(); t.StiAxisTitle = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.Base.Drawing.StiPenStyle , l = e.System.Enum , u = e.System.Drawing.Color , c = e.Base.Services.StiService , h = e.System.Drawing.Font , p = function(c) { function p() { var e = c.call(this) || this; return e._allowApplyStyle = !0, e._antialiasing = !0, e._position = r.StiConstantLines_StiTextPosition.LeftTop, e._font = new h("Arial",7), e._text = "", e._titleVisible = !0, e._orientation = r.StiConstantLines_StiOrientation.Horizontal, e._lineWidth = 1, e._lineStyle = s.Solid, e._lineColor = u.black, e._showInLegend = !0, e._showBehind = !1, e._axisValue = "1", e._visible = !0, e._core = new r.StiConstantLinesCoreXF(e), e } return __extends(p, c), p.prototype.implements = function() { return p.implementsStiConstantLines || (p.implementsStiConstantLines = c.prototype.implements.call(this).concat([r.IStiConstantLines, a, o])), p.implementsStiConstantLines } , p.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyBool("AllowApplyStyle", this.allowApplyStyle, !0), t.addPropertyBool("Antialiasing", this.antialiasing, !0), t.addPropertyEnum("Position", r.StiConstantLines_StiTextPosition, this._position, r.StiConstantLines_StiTextPosition.LeftTop), t.addPropertyStringNullOrEmpty("Font", i.Serialize.font(this.font, "Arial", 7)), t.addPropertyStringNullOrEmpty("Text", this._text), t.addPropertyBool("TitleVisible", this._titleVisible, !0), t.addPropertyEnum("Orientation", r.StiConstantLines_StiOrientation, this._orientation, r.StiConstantLines_StiOrientation.Horizontal), t.addPropertyNumber("LineWidth", this._lineWidth, 1), t.addPropertyEnum("LineStyle", s, this._lineStyle, s.Solid), t.addPropertyStringNullOrEmpty("LineColor", i.Serialize.jColor(this._lineColor, u.black)), t.addPropertyBool("ShowInLegend", this.showInLegend, !0), t.addPropertyBool("ShowBehind", this.showBehind), t.addPropertyString("AxisValue", this.axisValue, "1"), t.addPropertyBool("Visible", this.visible, !0), t } , p.prototype.loadFromJsonObject = function(e) { var t, n; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var u = a.value; switch (u.name) { case "AllowApplyStyle": this.allowApplyStyle = u.value.stimulsoft.toBoolean(); break; case "Antialiasing": this.antialiasing = u.value.stimulsoft.toBoolean(); break; case "Position": this._position = l.parse(r.StiConstantLines_StiTextPosition, u.value.toString()); break; case "Font": this.font = i.Deserialize.font(u.value.toString(), this.font); break; case "Text": this._text = u.value.toString(); break; case "TitleVisible": this._titleVisible = u.value.stimulsoft.toBoolean(); break; case "Orientation": this._orientation = l.parse(r.StiConstantLines_StiOrientation, u.value.toString()); break; case "LineWidth": this._lineWidth = u.value.stimulsoft.toNumber(); break; case "LineStyle": this._lineStyle = l.parse(s, u.value.toString()); break; case "LineColor": this.lineColor = i.Deserialize.color(u.value.toString()); break; case "ShowInLegend": this.showInLegend = u.value.stimulsoft.toBoolean(); break; case "ShowBehind": this.showBehind = u.value.stimulsoft.toBoolean(); break; case "AxisValue": this.axisValue = u.value.toString(); break; case "Visible": this.visible = u.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (t) throw t.error } } } , p.prototype.loadFromXml = function(t) { for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "AllowApplyStyle": this.allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break; case "Antialiasing": this.antialiasing = n.textContent.stimulsoft.toBoolean(); break; case "Position": this._position = l.parse(r.StiConstantLines_StiTextPosition, n.textContent); break; case "Font": case "fn": this.font = e.System.Convert.toFont(n.textContent); break; case "Text": case "text": this._text = n.textContent; break; case "TitleVisible": this._titleVisible = n.textContent.stimulsoft.toBoolean(); break; case "Orientation": this._orientation = l.parse(r.StiConstantLines_StiOrientation, n.textContent.toString()); break; case "LineWidth": this._lineWidth = n.textContent.stimulsoft.toNumber(); break; case "LineStyle": this._lineStyle = l.parse(s, n.textContent.toString()); break; case "LineColor": this.lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "ShowInLegend": this.showInLegend = n.textContent.stimulsoft.toBoolean(); break; case "ShowBehind": this.showBehind = n.textContent.stimulsoft.toBoolean(); break; case "AxisValue": this.axisValue = n.textContent; break; case "Visible": this.visible = n.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(p.prototype, "componentId", { get: function() { return t.StiComponentId.StiConstantLines }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), p.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return null != this.core && (e.core = this.core.clone(), e.core.constantLines = e), e } , Object.defineProperty(p.prototype, "serviceCategory", { get: function() { return "Chart" }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "ServiceType", { get: function() { return p }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != this.chart && this.core.applyStyle(this.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "antialiasing", { get: function() { return this._antialiasing }, set: function(e) { this._antialiasing = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "position", { get: function() { return this._position }, set: function(e) { this._position = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "text", { get: function() { return this._text }, set: function(e) { this._text = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "titleVisible", { get: function() { return this._titleVisible }, set: function(e) { this._titleVisible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "orientation", { get: function() { return this._orientation }, set: function(e) { this._orientation = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineWidth", { get: function() { return this._lineWidth }, set: function(e) { this._lineWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineStyle", { get: function() { return this._lineStyle }, set: function(e) { this._lineStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineColor", { get: function() { return this._lineColor }, set: function(e) { this._lineColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "showInLegend", { get: function() { return this._showInLegend }, set: function(e) { this._showInLegend = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "showBehind", { get: function() { return this._showBehind }, set: function(e) { this._showBehind = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "axisValue", { get: function() { return this._axisValue }, set: function(e) { this._axisValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "chart", { get: function() { return this._chart }, set: function(e) { this._chart = e }, enumerable: !0, configurable: !0 }), p.prototype.toString = function() { return this.serviceName } , p }(c); r.StiConstantLines = p }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJson , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.System.Collections.CollectionBase , a = e.System.Enum , s = e.System.Text.XMLConvert , l = e.Report.Components.StiFilterCondition , u = e.Report.Components.StiFilterItem , c = e.Report.Components.StiFilterDataType , h = function(e) { function o() { return null !== e && e.apply(this, arguments) || this } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiChartFiltersCollection || (o.implementsStiChartFiltersCollection = [i, n]), o.implementsStiChartFiltersCollection } , o.prototype.saveToJsonObject = function(e) { var t, i; if (0 == this.list.length) return null; var n = new r , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(e)), o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (t) throw t.error } } return n } , o.prototype.loadFromJsonObject = function(e) { var r, i; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = new t.StiChartFilter; this.add(s), s.loadFromJsonObject(a.value) } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(e) { for (var r = 0; r < e.childNodes.length; r++) { var i = e.childNodes[r]; if ("value" == i.nodeName) { var n = i.textContent.split(",") , o = n[2]; "GreaterThen" == o && (o = "GreaterThan"), "GreaterThenOrEqualTo" == o && (o = "GreaterThanOrEqualTo"), "LessThen" == o && (o = "LessThan"), "LessThenOrEqualTo" == o && (o = "LessThanOrEqualTo"); var h = new t.StiChartFilter(a.parse(u, n[0]),a.parse(c, n[1]),a.parse(l, o),s.decodeName(n[3])); this.add(h) } } } , o.prototype.clone = function() { var e, t, r = new o; try { for (var i = __values(this.list), n = i.next(); !n.done; n = i.next()) { var a = n.value; r.add(a.clone()) } } catch (t) { e = { error: t } } finally { try { n && !n.done && (t = i.return) && t.call(i) } finally { if (e) throw e.error } } return r } , o.prototype.add = function(e) { this.list.add(e), null == e.filters && (e.filters = this) } , o }(o); t.StiChartFiltersCollection = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e(e, t, r, i, n, o, a, s, l, u, c, h, p) { this.argument = e, this.value = t, this.valueEnd = r, this.weight = i, this.valueOpen = n, this.valueClose = o, this.valueLow = a, this.valueHigh = s, this.title = l, this.key = u, this.color = c, this.toolTip = h, this.tag = p } return e }(); e.StiDataItem = t; var r = function() { function t(t, r) { this.directionFactor = 1, this.sortType = e.StiSeriesSortType.None, this.directionFactor = 1, r == e.StiSeriesSortDirection.Descending && (this.directionFactor = -1), this.sortType = t } return t.prototype.compare = function(t, r) { var i = null , n = null; if (this.sortType == e.StiSeriesSortType.Value ? (i = t.value, n = r.value) : (i = t.argument, n = r.argument), null == i && null == n) return 0; if (null == i) return 1; if (null == n) return -1; return i.stimulsoft.compareTo(n) * this.directionFactor } , t }(); e.StiDataItemComparer = r }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.Base.Drawing.StiPenStyle , l = e.System.Enum , u = e.System.Drawing.Color , c = function() { function c(e, t, i, n) { void 0 === e && (e = u.silver), void 0 === t && (t = s.Solid), void 0 === i && (i = !0), void 0 === n && (n = !0), this.needSetAreaJsonPropertyInternal = !1, this._allowApplyStyle = !0, this._color = u.silver, this._style = s.Solid, this._visible = !0, this._color = e, this._style = t, this._visible = i, this._allowApplyStyle = n, this._core = new r.StiRadarGridLinesCoreXF(this) } return c.prototype.implements = function() { return c.implementsStiRadarGridLines || (c.implementsStiRadarGridLines = [o, r.IStiRadarGridLines, a]), c.implementsStiRadarGridLines } , c.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), t.addPropertyStringNullOrEmpty("Color", i.Serialize.jColor(this._color, u.silver)), t.addPropertyEnum("Style", s, this._style, s.Solid), t.addPropertyBool("Visible", this._visible, !0), null != this._area && t.addPropertyBool("Area", !0), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "AllowApplyStyle": this._allowApplyStyle = a.value.stimulsoft.toBoolean(); break; case "Color": this._color = i.Deserialize.color(a.value.toString()); break; case "Style": this._style = l.parse(s, a.value.toString()); break; case "Visible": this._visible = a.value.stimulsoft.toBoolean(); break; case "Area": this.needSetAreaJsonPropertyInternal = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "AllowApplyStyle": this._allowApplyStyle = i.textContent.stimulsoft.toBoolean(); break; case "Color": this._color = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "Style": this._style = l.parse(s, i.textContent.toString()); break; case "Visible": this._visible = i.textContent.stimulsoft.toBoolean(); break; case "Area": this.needSetAreaJsonPropertyInternal = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadarGridLines }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.style = this.style, null != this.core && (e.core = this.core.clone(), e.core.gridLines = e), e } , Object.defineProperty(c.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != this.area && null != this.area.chart && this.core.applyStyle(this.area.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "style", { get: function() { return this._style }, set: function(e) { this._style = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "area", { get: function() { return this._area }, set: function(e) { this._area = e }, enumerable: !0, configurable: !0 }), c }(); r.StiRadarGridLines = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = e.Base.Drawing.StiPenStyle , o = e.System.Drawing.Color , a = function(e) { function a(t, r, i, a) { return void 0 === t && (t = o.silver), void 0 === r && (r = n.Solid), void 0 === i && (i = !0), void 0 === a && (a = !0), e.call(this, t, r, i, a) || this } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiRadarGridLinesHor || (a.implementsStiRadarGridLinesHor = e.prototype.implements.call(this).concat([r, t.IStiRadarGridLines, t.IStiRadarGridLinesHor, i])), a.implementsStiRadarGridLinesHor } , a }(t.StiRadarGridLines); t.StiRadarGridLinesHor = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = e.Base.Drawing.StiPenStyle , o = e.System.Drawing.Color , a = function(e) { function a(t, r, i, a) { return void 0 === t && (t = o.silver), void 0 === r && (r = n.Solid), void 0 === i && (i = !0), void 0 === a && (a = !0), e.call(this, t, r, i, a) || this } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiRadarGridLinesVert || (a.implementsStiRadarGridLinesVert = e.prototype.implements.call(this).concat([r, t.IStiRadarGridLines, t.IStiRadarGridLinesVert, i])), a.implementsStiRadarGridLinesVert } , a }(t.StiRadarGridLines); t.StiRadarGridLinesVert = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.Base.Drawing.StiSolidBrush , l = e.Base.Drawing.StiBrush , u = e.System.Enum , c = e.System.Drawing.Color , h = function() { function h() { this._showInLegend = !0, this._visible = !0, this._extendedVisible = r.StiExtendedStyleBool.FromStyle, this._brush = new s(c.white), this._borderColor = c.black, this._size = 7, this._angle = 0, this._type = r.StiMarkerType.Circle, this._core = new r.StiMarkerCoreXF(this) } return h.prototype.implements = function() { return r.StiLineMarker.implementsStiMarker || (r.StiLineMarker.implementsStiMarker = [o, r.IStiMarker, a]), r.StiLineMarker.implementsStiMarker } , h.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyBool("ShowInLegend", this.showInLegend, !0), t.addPropertyBool("Visible", this.visible, !0), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this.brush)), t.addPropertyStringNullOrEmpty("BorderColor", i.Serialize.jColor(this._borderColor, c.black)), t.addPropertyNumber("Size", this.size, 7), t.addPropertyNumber("Angle", this.angle, 0), t.addPropertyEnum("Type", r.StiMarkerType, this._type, r.StiMarkerType.Circle), t } , h.prototype.loadFromJsonObject = function(e) { var t, n; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "ShowInLegend": this._showInLegend = s.value.stimulsoft.toBoolean(); break; case "Visible": this._visible = s.value.stimulsoft.toBoolean(); break; case "Brush": this.brush = i.Deserialize.brush(s.value.toString()); break; case "BorderColor": this._borderColor = i.Deserialize.color(s.value.toString()); break; case "Size": this.size = s.value.stimulsoft.toNumber(); break; case "Angle": this.angle = s.value.stimulsoft.toNumber(); break; case "Type": this._type = u.parse(r.StiMarkerType, s.value.toString()); break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (t) throw t.error } } } , h.prototype.loadFromXml = function(t) { for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "ShowInLegend": this._showInLegend = n.textContent.stimulsoft.toBoolean(); break; case "Visible": this._visible = n.textContent.stimulsoft.toBoolean(); break; case "Brush": case "bh": this.brush = l.convertToBrush(n.textContent); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "Size": this.size = n.textContent.stimulsoft.toNumber(); break; case "Angle": this.angle = n.textContent.stimulsoft.toNumber(); break; case "Type": this._type = u.parse(r.StiMarkerType, n.textContent); break } } } , Object.defineProperty(h.prototype, "componentId", { get: function() { return t.StiComponentId.StiMarker }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), h.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return null != this.core && (e.core = this.core.clone(), e.core.marker = e), e } , Object.defineProperty(h.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "showInLegend", { get: function() { return this._showInLegend }, set: function(e) { this._showInLegend = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "extendedVisible", { get: function() { return this._extendedVisible }, set: function(e) { this._extendedVisible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "size", { get: function() { return this._size }, set: function(e) { this._size = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "angle", { get: function() { return this._angle }, set: function(e) { this._angle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(h.prototype, "type", { get: function() { return this._type }, set: function(e) { this._type = e }, enumerable: !0, configurable: !0 }), h }(); r.StiMarker = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.System.Drawing.Color , s = function(e) { function s() { var t = e.call(this) || this; return t._step = 15, t.visible = !1, t.borderColor = a.transparent, t.size = 5, t } return __extends(s, e), s.prototype.implements = function() { return s.implementsStiLineMarker || (s.implementsStiLineMarker = e.prototype.implements.call(this).concat([n, r.IStiLineMarker, r.IStiMarker, o])), s.implementsStiLineMarker } , s.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyNumber("Step", this.step, 15), r.addPropertyNumber("Size", this.size, 5), r.addPropertyBool("Visible", this.visible), r.addPropertyStringNullOrEmpty("BorderColor", i.Serialize.jColor(this.borderColor, a.transparent)), r } , s.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Step": this.step = a.value.stimulsoft.toNumber(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , s.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Step": this.step = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(s.prototype, "componentId", { get: function() { return t.StiComponentId.StiLineMarker }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "step", { get: function() { return this._step }, set: function(e) { this._step = e }, enumerable: !0, configurable: !0 }), s }(r.StiMarker); r.StiLineMarker = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJson , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function() { function e(e, t) { void 0 === e && (e = !0), void 0 === t && (t = !0), this.jsonLoadFromJsonObjectArea = !1, this._allowApplyStyle = !0, this._visible = !0, this._visible = e, this._allowApplyStyle = t } return e.prototype.implements = function() { return e.implementsStiRadarAxis || (e.implementsStiRadarAxis = [i, t.IStiRadarAxis, n]), e.implementsStiRadarAxis } , e.prototype.saveToJsonObject = function(e) { var t = new r; return t.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), t.addPropertyBool("Visible", this.visible, !0), null != this._area && t.addPropertyBool("Area", !0), t } , e.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; case "Visible": this.visible = o.value.stimulsoft.toBoolean(); break; case "Area": this.jsonLoadFromJsonObjectArea = 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 } } } , e.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; case "Visible": this.visible = r.textContent.stimulsoft.toBoolean(); break; case "Area": this.jsonLoadFromJsonObjectArea = r.textContent.stimulsoft.toBoolean(); break } } } , e.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return null != this.core && (e.core = this.core.clone(), e.core.axis = e), e } , Object.defineProperty(e.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != this.area && null != this.area.chart && this.core.applyStyle(this.area.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "area", { get: function() { return this._area }, set: function(e) { this._area = e }, enumerable: !0, configurable: !0 }), e }(); t.StiRadarAxis = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJsonReportObjectHelper , i = e.Base.StiJson , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = e.System.Drawing.Font , c = function() { function c(e, r, i, n, o, s, c, h, p, f, m) { void 0 === e && (e = ""), void 0 === r && (r = new u("Tahoma",8)), void 0 === i && (i = !0), void 0 === n && (n = !1), void 0 === o && (o = l.black), void 0 === s && (s = l.black), void 0 === c && (c = new a(l.gainsboro)), void 0 === h && (h = !0), void 0 === p && (p = !0), void 0 === f && (f = 0), void 0 === m && (m = !1), this._rotationLabels = !0, this._textBefore = "", this._textAfter = "", this._allowApplyStyle = !0, this._drawBorder = !1, this._format = "", this._font = new u("Tahoma",8), this._antialiasing = !0, this._color = l.black, this._borderColor = l.black, this._brush = new a(l.gainsboro), this._width = 0, this._wordWrap = !1, this._format = e, this._font = r, this._antialiasing = i, this._drawBorder = n, this._color = o, this._borderColor = s, this._allowApplyStyle = h, this._brush = c, this._rotationLabels = p, this._width = f, this._wordWrap = m, this._core = new t.StiRadarAxisLabelsCoreXF(this) } return c.prototype.implements = function() { return c.implementsStiRadarAxisLabels || (c.implementsStiRadarAxisLabels = [n, t.IStiRadarAxisLabels, o]), c.implementsStiRadarAxisLabels } , c.prototype.saveToJsonObject = function(e) { var t = new i; return t.addPropertyBool("RotationLabels", this._rotationLabels, !0), t.addPropertyStringNullOrEmpty("TextBefore", this._textBefore), t.addPropertyStringNullOrEmpty("TextAfter", this._textAfter), t.addPropertyBool("AllowApplyStyle", this._allowApplyStyle, !0), t.addPropertyBool("DrawBorder", this._drawBorder), t.addPropertyStringNullOrEmpty("Format", this._format), t.addPropertyStringNullOrEmpty("Font", r.Serialize.font(this._font, "Tahoma", 8)), t.addPropertyBool("Antialiasing", this._antialiasing, !0), t.addPropertyStringNullOrEmpty("Color", r.Serialize.jColor(this._color, l.black)), t.addPropertyStringNullOrEmpty("BorderColor", r.Serialize.jColor(this._borderColor, l.black)), t.addPropertyStringNullOrEmpty("Brush", r.Serialize.jBrush(this._brush)), t.addPropertyNumber("Width", this._width, 0), t.addPropertyBool("WordWrap", this._wordWrap), t } , c.prototype.loadFromJsonObject = function(e) { var t, i; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "RotationLabels": this._rotationLabels = a.value.stimulsoft.toBoolean(); break; case "TextBefore": this._textBefore = a.value.toString(); break; case "TextAfter": this._textAfter = a.value.toString(); break; case "AllowApplyStyle": this._allowApplyStyle = a.value.stimulsoft.toBoolean(); break; case "DrawBorder": this._drawBorder = a.value.stimulsoft.toBoolean(); break; case "Format": this._format = a.value.toString(); break; case "Font": this._font = r.Deserialize.font(a.value.toString(), this._font); break; case "Antialiasing": this._antialiasing = a.value.stimulsoft.toBoolean(); break; case "Color": this._color = r.Deserialize.color(a.value.toString()); break; case "BorderColor": this._borderColor = r.Deserialize.color(a.value.toString()); break; case "Brush": this._brush = r.Deserialize.brush(a.value.toString()); break; case "Width": this._width = a.value.stimulsoft.toNumber(); break; case "WordWrap": this._wordWrap = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "RotationLabels": this._rotationLabels = i.textContent.stimulsoft.toBoolean(); break; case "TextBefore": this._textBefore = i.textContent; break; case "TextAfter": this._textAfter = i.textContent; break; case "AllowApplyStyle": this._allowApplyStyle = i.textContent.stimulsoft.toBoolean(); break; case "DrawBorder": this._drawBorder = i.textContent.stimulsoft.toBoolean(); break; case "Format": this._format = i.textContent; break; case "Font": case "fn": this._font = e.System.Convert.toFont(i.textContent); break; case "Antialiasing": this._antialiasing = i.textContent.stimulsoft.toBoolean(); break; case "Color": this._color = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "Brush": case "bh": this._brush = s.convertToBrush(i.textContent); break; case "Width": this._width = i.textContent.stimulsoft.toNumber(); break; case "WordWrap": this._wordWrap = i.textContent.stimulsoft.toBoolean(); break } } } , c.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.font = this.font.clone(), e.brush = this.brush.clone(), null != this.core && (e.core = this.core.clone(), e.core.labels = e), e } , Object.defineProperty(c.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "rotationLabels", { get: function() { return this._rotationLabels }, set: function(e) { this._rotationLabels = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "textBefore", { get: function() { return this._textBefore }, set: function(e) { this._textBefore = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "textAfter", { get: function() { return this._textAfter }, set: function(e) { this._textAfter = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "drawBorder", { get: function() { return this._drawBorder }, set: function(e) { this._drawBorder != e && (this._drawBorder = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "format", { get: function() { return this._format }, set: function(e) { this._format = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "antialiasing", { get: function() { return this._antialiasing }, set: function(e) { this._antialiasing = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "width", { get: function() { return this._width }, set: function(e) { this._width = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "wordWrap", { get: function() { return this._wordWrap }, set: function(e) { this._wordWrap = e }, enumerable: !0, configurable: !0 }), c }(); t.StiRadarAxisLabels = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o(t, i, n) { void 0 === t && (t = new r.StiRadarAxisLabels), void 0 === i && (i = !0), void 0 === n && (n = !0); var o = e.call(this, i, n) || this; return o._labels = new r.StiRadarAxisLabels, o.core = new r.StiXRadarAxisCoreXF(o), o._labels = t, o } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiXRadarAxis || (o.implementsStiXRadarAxis = e.prototype.implements.call(this).concat([r.IStiXRadarAxis, r.IStiRadarAxis, n, i])), o.implementsStiXRadarAxis } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyJObject("Labels", this._labels.saveToJsonObject(t)), r } , o.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Labels": this._labels.loadFromJsonObject(a.value); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Labels": this._labels.loadFromXml(i); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiXRadarAxis }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), o.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.labels = this.labels.clone(), t } , Object.defineProperty(o.prototype, "xCore", { get: function() { return this.core }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "labels", { get: function() { return this._labels }, set: function(e) { this._labels = e }, enumerable: !0, configurable: !0 }), o }(r.StiRadarAxis); r.StiXRadarAxis = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiPenStyle , s = e.System.Enum , l = e.System.Drawing.Color , u = function(u) { function c(e, t, i, n, o, s, c) { void 0 === e && (e = new r.StiAxisLabels), void 0 === t && (t = new r.StiAxisTicks), void 0 === i && (i = a.Solid), void 0 === n && (n = l.gray), void 0 === o && (o = 1), void 0 === s && (s = !0), void 0 === c && (c = !0); var h = u.call(this, s, c) || this; return h._labels = new r.StiAxisLabels, h._ticks = new r.StiAxisTicks, h._lineStyle = a.Solid, h._lineColor = l.gray, h._lineWidth = 1, h._info = new r.StiAxisInfoXF, h.core = new r.StiYRadarAxisCoreXF(h), h._labels = e, h._ticks = t, h._lineStyle = i, h._lineColor = n, h._lineWidth = o, h } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiYRadarAxis || (c.implementsStiYRadarAxis = u.prototype.implements.call(this).concat([r.IStiYRadarAxis, r.IStiRadarAxis, o, n])), c.implementsStiYRadarAxis } , c.prototype.saveToJsonObject = function(e) { var t = u.prototype.saveToJsonObject.call(this, e); return t.addPropertyJObject("Labels", this._labels.saveToJsonObject(e)), t.addPropertyJObject("Ticks", this._ticks.saveToJsonObject(e)), t.addPropertyEnum("LineStyle", a, this._lineStyle, a.Solid), t.addPropertyStringNullOrEmpty("LineColor", i.Serialize.jColor(this._lineColor, l.gray)), t.addPropertyNumber("LineWidth", this._lineWidth, 1), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; u.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var l = o.value; switch (l.name) { case "Labels": this._labels.loadFromJsonObject(l.value); break; case "Ticks": this._ticks.loadFromJsonObject(l.value); break; case "LineStyle": this._lineStyle = s.parse(a, l.value.toString()); break; case "LineColor": this._lineColor = i.Deserialize.color(l.value.toString()); break; case "LineWidth": this._lineWidth = l.value.stimulsoft.toNumber(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { u.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Labels": this._labels.loadFromXml(i); break; case "Ticks": this._ticks.loadFromXml(i); break; case "LineStyle": this._lineStyle = s.parse(a, i.textContent); break; case "LineColor": this._lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "LineWidth": this._lineWidth = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiYRadarAxis }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { var e = u.prototype.clone.call(this); return e.lineStyle = this.lineStyle, e.labels = this.labels.clone(), e.ticks = this.ticks.clone(), e } , Object.defineProperty(c.prototype, "yCore", { get: function() { return this.core }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "labels", { get: function() { return this._labels }, set: function(e) { this._labels = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "ticks", { get: function() { return this._ticks }, set: function(e) { this._ticks = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "lineStyle", { get: function() { return this._lineStyle }, set: function(e) { this._lineStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "lineColor", { get: function() { return this._lineColor }, set: function(e) { this._lineColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "lineWidth", { get: function() { return this._lineWidth }, set: function(e) { this._lineWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "info", { get: function() { return this._info }, set: function(e) { this._info = e }, enumerable: !0, configurable: !0 }), c }(r.StiRadarAxis); r.StiYRadarAxis = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiInsideBaseAxisLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiInsideBaseAxisLabels || (o.implementsStiInsideBaseAxisLabels = e.prototype.implements.call(this).concat([r.IStiInsideBaseAxisLabels, r.IStiSeriesLabels, n, r.IStiAxisSeriesLabels, i])), o.implementsStiInsideBaseAxisLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiInsideBaseAxisLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiCenterAxisLabels); r.StiInsideBaseAxisLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiInsideEndAxisLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiInsideEndAxisLabels || (o.implementsStiInsideEndAxisLabels = e.prototype.implements.call(this).concat([r.IStiCenterAxisLabels, r.IStiAxisSeriesLabels, r.IStiSeriesLabels, i, r.IStiInsideEndAxisLabels, n])), o.implementsStiInsideEndAxisLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiInsideEndAxisLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiCenterAxisLabels); r.StiInsideEndAxisLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiLeftAxisLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiLeftAxisLabels || (o.implementsStiLeftAxisLabels = e.prototype.implements.call(this).concat([r.IStiCenterAxisLabels, r.IStiLeftAxisLabels, r.IStiAxisSeriesLabels, i, r.IStiSeriesLabels, n])), o.implementsStiLeftAxisLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiLeftAxisLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiCenterAxisLabels); r.StiLeftAxisLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t._lineLength = 15, t.core = new r.StiOutsideAxisLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiOutsideAxisLabels || (o.implementsStiOutsideAxisLabels = e.prototype.implements.call(this).concat([r.IStiOutsideAxisLabels, r.IStiSeriesLabels, n, r.IStiAxisSeriesLabels, i])), o.implementsStiOutsideAxisLabels } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyNumber("LineLength", this._lineLength, 15), r } , o.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "LineLength": this._lineLength = a.value.stimulsoft.toNumber(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "LineLength": this._lineLength = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiOutsideAxisLabels }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "lineLength", { get: function() { return this._lineLength }, set: function(e) { this._lineLength = e }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiAxisSeriesLabels); r.StiOutsideAxisLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiOutsideBaseAxisLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiOutsideBaseAxisLabels || (o.implementsStiOutsideBaseAxisLabels = e.prototype.implements.call(this).concat([r.IStiCenterAxisLabels, r.IStiAxisSeriesLabels, i, r.IStiOutsideBaseAxisLabels, r.IStiSeriesLabels, n])), o.implementsStiOutsideBaseAxisLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiOutsideBaseAxisLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiCenterAxisLabels); r.StiOutsideBaseAxisLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiOutsideEndAxisLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiOutsideEndAxisLabels || (o.implementsStiOutsideEndAxisLabels = e.prototype.implements.call(this).concat([r.IStiOutsideEndAxisLabels, r.IStiCenterAxisLabels, r.IStiAxisSeriesLabels, i, r.IStiSeriesLabels, n])), o.implementsStiOutsideEndAxisLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiOutsideEndAxisLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiCenterAxisLabels); r.StiOutsideEndAxisLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiRightAxisLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiRightAxisLabels || (o.implementsStiRightAxisLabels = e.prototype.implements.call(this).concat([r.IStiCenterAxisLabels, r.IStiAxisSeriesLabels, r.IStiRightAxisLabels, i, r.IStiSeriesLabels, n])), o.implementsStiRightAxisLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiRightAxisLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiCenterAxisLabels); r.StiRightAxisLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiValueAxisLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiValueAxisLabels || (o.implementsStiValueAxisLabels = e.prototype.implements.call(this).concat([r.IStiValueAxisLabels, r.IStiCenterAxisLabels, r.IStiAxisSeriesLabels, i, r.IStiSeriesLabels, n])), o.implementsStiValueAxisLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiValueAxisLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiCenterAxisLabels); r.StiValueAxisLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = function(e) { function n() { return null !== e && e.apply(this, arguments) || this } return __extends(n, e), n.prototype.implements = function() { return n.implementsStiFunnelSeriesLabels || (n.implementsStiFunnelSeriesLabels = e.prototype.implements.call(this).concat([r, t.IStiFunnelSeriesLabels, i, t.IStiSeriesLabels])), n.implementsStiFunnelSeriesLabels } , n }(t.StiSeriesLabels); t.StiFunnelSeriesLabels = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiCenterFunnelLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiCenterFunnelLabels || (o.implementsStiCenterFunnelLabels = e.prototype.implements.call(this).concat([i, r.IStiSeriesLabels, r.IStiFunnelSeriesLabels, n, r.IStiCenterFunnelLabels])), o.implementsStiCenterFunnelLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiCenterFunnelLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiFunnelSeriesLabels); r.StiCenterFunnelLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiOutsideLeftFunnelLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiOutsideLeftFunnelLabels || (o.implementsStiOutsideLeftFunnelLabels = e.prototype.implements.call(this).concat([r.IStiCenterFunnelLabels, r.IStiOutsideLeftFunnelLabels, i, r.IStiSeriesLabels, r.IStiFunnelSeriesLabels, n])), o.implementsStiOutsideLeftFunnelLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiOutsideLeftFunnelLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiFunnelSeriesLabels); r.StiOutsideLeftFunnelLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiOutsideRightFunnelLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiOutsideRightFunnelLabels || (o.implementsStiOutsideRightFunnelLabels = e.prototype.implements.call(this).concat([r.IStiOutsideRightFunnelLabels, r.IStiCenterFunnelLabels, i, r.IStiSeriesLabels, r.IStiFunnelSeriesLabels, n])), o.implementsStiOutsideRightFunnelLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiOutsideRightFunnelLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiFunnelSeriesLabels); r.StiOutsideRightFunnelLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = function(e) { function n() { var t = null !== e && e.apply(this, arguments) || this; return t._showInPercent = !1, t } return __extends(n, e), n.prototype.implements = function() { return n.implementsStiPieSeriesLabels || (n.implementsStiPieSeriesLabels = e.prototype.implements.call(this).concat([r, t.IStiPieSeriesLabels, t.IStiSeriesLabels, i])), n.implementsStiPieSeriesLabels } , n.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("ShowInPercent", this._showInPercent), r } , n.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ShowInPercent": this._showInPercent = a.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , n.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowInPercent": this._showInPercent = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(n.prototype, "showInPercent", { get: function() { return this._showInPercent }, set: function(e) { this._showInPercent = e, this._showInPercent && !this.format.stimulsoft.startsWith("P") && (this.format = "P2"), this._showInPercent || (this.format = "") }, enumerable: !0, configurable: !0 }), n }(t.StiSeriesLabels); t.StiPieSeriesLabels = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t._autoRotate = !1, t.core = new r.StiCenterPieLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiCenterPieLabels || (o.implementsStiCenterPieLabels = e.prototype.implements.call(this).concat([i, r.IStiPieSeriesLabels, r.IStiSeriesLabels, r.IStiCenterPieLabels, n])), o.implementsStiCenterPieLabels } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("AutoRotate", this.autoRotate), r } , o.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "AutoRotate": this.autoRotate = a.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "AutoRotate": this.autoRotate = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiCenterPieLabels }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "autoRotate", { get: function() { return this._autoRotate }, set: function(e) { this._autoRotate = e }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiPieSeriesLabels); r.StiCenterPieLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiInsideEndPieLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiInsideEndPieLabels || (o.implementsStiInsideEndPieLabels = e.prototype.implements.call(this).concat([r.IStiCenterPieLabels, r.IStiSeriesLabels, r.IStiPieSeriesLabels, r.IStiInsideEndPieLabels, i, n])), o.implementsStiInsideEndPieLabels } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiInsideEndPieLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiCenterPieLabels); r.StiInsideEndPieLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.System.Drawing.Color , s = function(s) { function l() { var e = s.call(this) || this; return e._showValue = !1, e._lineLength = 20, e._lineColor = a.black, e.core = new r.StiOutsidePieLabelsCoreXF(e), e } return __extends(l, s), l.prototype.implements = function() { return l.implementsStiOutsidePieLabels || (l.implementsStiOutsidePieLabels = s.prototype.implements.call(this).concat([r.IStiOutsidePieLabels, r.IStiCenterPieLabels, r.IStiPieSeriesLabels, r.IStiSeriesLabels, n, o])), l.implementsStiOutsidePieLabels } , l.prototype.saveToJsonObject = function(e) { var t = s.prototype.saveToJsonObject.call(this, e); return t.removeProperty("Angle"), t.addPropertyBool("ShowValue", this.showValue), t.addPropertyNumber("LineLength", this.lineLength, 20), t.addPropertyStringNullOrEmpty("LineColor", i.Serialize.jColor(this.lineColor, a.black)), t } , l.prototype.loadFromJsonObject = function(e) { var t, r; s.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ShowValue": this.showValue = a.value.stimulsoft.toBoolean(); break; case "LineLength": this.lineLength = a.value.stimulsoft.toNumber(); break; case "LineColor": this.lineColor = i.Deserialize.color(a.value.toString()); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , l.prototype.loadFromXml = function(t) { s.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowValue": this.showValue = i.textContent.stimulsoft.toBoolean(); break; case "LineLength": this.lineLength = i.textContent.stimulsoft.toNumber(); break; case "LineColor": this.lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break } } } , Object.defineProperty(l.prototype, "componentId", { get: function() { return t.StiComponentId.StiOutsidePieLabels }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "showValue", { get: function() { return this._showValue }, set: function(e) { this._showValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "lineLength", { get: function() { return this._lineLength }, set: function(e) { this._lineLength = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(l.prototype, "lineColor", { get: function() { return this._lineColor }, set: function(e) { this._lineColor = e }, enumerable: !0, configurable: !0 }), l.prototype.createNew = function() { return new l } , l }(r.StiCenterPieLabels); r.StiOutsidePieLabels = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiTwoColumnsPieLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiTwoColumnsPieLabels || (o.implementsStiTwoColumnsPieLabels = e.prototype.implements.call(this).concat([r.IStiTwoColumnsPieLabels, r.IStiOutsidePieLabels, r.IStiCenterPieLabels, r.IStiPieSeriesLabels, r.IStiSeriesLabels, i, n])), o.implementsStiTwoColumnsPieLabels } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("AutoRotate"), r } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiTwoColumnsPieLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiOutsidePieLabels); r.StiTwoColumnsPieLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(t) { var r = function(r) { function i() { var e = r.call(this) || this; return e.core = new t.StiCenterTreemapLabelsCoreXF(e), e } return __extends(i, r), Object.defineProperty(i.prototype, "componentId", { get: function() { return e.StiComponentId.StiCenterTreemapLabels }, enumerable: !0, configurable: !0 }), i.prototype.createNew = function() { return new i } , i }(t.StiAxisSeriesLabels); t.StiCenterTreemapLabels = r }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiNoneLabelsCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiNoneLabels || (o.implementsStiNoneLabels = e.prototype.implements.call(this).concat([r.IStiNoneLabels, r.IStiSeriesLabels, n, i])), o.implementsStiNoneLabels } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("Antialiasing"), r.removeProperty("Visible"), r.removeProperty("LabelColor"), r.removeProperty("BorderColor"), r.removeProperty("Brush"), r.removeProperty("Font"), r } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiNoneLabels }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiSeriesLabels); r.StiNoneLabels = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Report.Expressions.StiExpression , o = e.Base.StiJsonReportObjectHelper , a = e.Base.JsonReportObject.IStiJsonReportObject , s = e.System.ICloneable , l = e.System.Text.StringBuilder , u = e.Base.Drawing.StiSolidBrush , c = e.Base.Drawing.StiBrush , h = e.System.Drawing.Color , p = function(p) { function f() { var e = p.call(this) || this; return e._borderColor = h.gray, e._brush = new u(h.gainsboro), e._weights = [1, 3, 2], e._weightDataColumn = "", e._weight = "", e._listOfWeights = "", e.core = new r.StiBubbleSeriesCoreXF(e), e } return __extends(f, p), f.prototype.implements = function() { return f.implementsStiBubbleSeries || (f.implementsStiBubbleSeries = p.prototype.implements.call(this).concat([r.IStiBaseLineSeries, r.IStiBubbleSeries, r.IStiScatterSeries, a, r.IStiSeries, s])), f.implementsStiBubbleSeries } , f.prototype.saveToJsonObject = function(e) { var t = p.prototype.saveToJsonObject.call(this, e); return t.removeProperty("LineMarker"), t.removeProperty("Marker"), t.addPropertyString("BorderColor", o.Serialize.jColor(this._borderColor, h.gray)), t.addPropertyStringNullOrEmpty("Brush", o.Serialize.jBrush(this._brush)), t.addPropertyStringNullOrEmpty("WeightDataColumn", this._weightDataColumn), t.addPropertyJObject("Weight", new n(this.weight).saveToJsonObject(e)), t.addPropertyJObject("ListOfWeights", new n(this.listOfWeights).saveToJsonObject(e)), t } , f.prototype.loadFromJsonObject = function(e) { var t, r; p.prototype.loadFromJsonObject.call(this, e); try { for (var i = __values(e.properties()), a = i.next(); !a.done; a = i.next()) { var s = a.value; switch (s.name) { case "BorderColor": this._borderColor = o.Deserialize.color(s.value.toString()); break; case "Brush": this._brush = o.Deserialize.brush(s.value.toString()); break; case "WeightDataColumn": this._weightDataColumn = s.value.toString(); break; case "GetWeightEvent": break; case "GetListOfWeightsEvent": break; case "Weight": var l = new n; l.loadFromJsonObject(s.value), this.weight = l.value; break; case "ListOfWeights": var l = new n; l.loadFromJsonObject(s.value), this.listOfWeights = l.value; break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } } , f.prototype.loadFromXml = function(t) { p.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "Brush": case "bh": this._brush = c.convertToBrush(i.textContent); break; case "WeightDataColumn": this._weightDataColumn = i.textContent.toString(); break; case "GetWeightEvent": break; case "GetListOfWeightsEvent": break; case "Weight": var o = new n; o.loadFromXml(i), this.weight = o.value; break; case "ListOfWeights": var o = new n; o.loadFromXml(i), this.listOfWeights = o.value; break } } } , Object.defineProperty(f.prototype, "componentId", { get: function() { return t.StiComponentId.StiBubbleSeries }, enumerable: !0, configurable: !0 }), f.prototype.clone = function() { return p.prototype.clone.call(this) } , f.prototype.getDefaultAreaType = function() { return r.StiBubbleArea } , Object.defineProperty(f.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "weights", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.listOfWeights)) return r.StiSeries.getValuesFromString(this.listOfWeights); var e = this.chart.series.indexOf(this); if (0 == e) return this._weights; return [3 + 3 * e, 5 + 4 * e, 9 + 3 * e] } return this._weights }, set: function(e) { this._weights = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "weightsString", { get: function() { var e, t, r = new l, i = !0; try { for (var n = __values(this.weights), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", a) : r.appendFormat(";{0}", a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this._weights = []; else { var i = e.split(";"); this._weights = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this._weights[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "weightDataColumn", { get: function() { return this._weightDataColumn }, set: function(e) { this._weightDataColumn = e }, enumerable: !0, configurable: !0 }), f.prototype.onGetWeight = function(e) {} , f.prototype.invokeGetWeight = function(t, r) { try { this.onGetWeight(r), null != this.getWeight && this.getWeight(t, r) } catch (t) { e.System.StiError.showError(t.message, !1) } } , f.prototype.onGetListOfWeights = function(e) {} , f.prototype.invokeGetListOfWeights = function(t, r) { try { this.onGetListOfWeights(r), null != this.getListOfWeights && this.getListOfWeights(t, r) } catch (t) { e.System.StiError.showError(t.message, !1) } } , Object.defineProperty(f.prototype, "weight", { get: function() { return this._weight }, set: function(e) { this._weight = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "listOfWeights", { get: function() { return this._listOfWeights }, set: function(e) { this._listOfWeights = e }, enumerable: !0, configurable: !0 }), f.prototype.createNew = function() { return new f } , f }(r.StiScatterSeries); r.StiBubbleSeries = p }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = function(u) { function c() { var e = u.call(this) || this; return e._showZeros = !1, e._width = .9, e._borderColor = l.gray, e._brush = new a(l.gainsboro), e._brushNegative = new a(l.firebrick), e._allowApplyBrushNegative = !1, e.core = new r.StiClusteredColumnSeriesCoreXF(e), e } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiClusteredColumnSeries || (c.implementsStiClusteredColumnSeries = u.prototype.implements.call(this).concat([n, r.IStiClusteredColumnSeries, o, r.IStiSeries, r.IStiAllowApplyBrushNegative])), c.implementsStiClusteredColumnSeries } , c.prototype.saveToJsonObject = function(e) { var t = u.prototype.saveToJsonObject.call(this, e); return t.addPropertyBool("ShowZeros", this.showZeros), t.addPropertyNumber("Width", this._width, .9), t.addPropertyStringNullOrEmpty("BorderColor", i.Serialize.jColor(this._borderColor, l.gray)), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), t.addPropertyStringNullOrEmpty("BrushNegative", i.Serialize.jBrush(this.brushNegative)), t.addPropertyBool("AllowApplyBrushNegative", this.allowApplyBrushNegative), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; u.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ShowZeros": this.showZeros = a.value.stimulsoft.toBoolean(); break; case "Width": this._width = a.value.stimulsoft.toNumber(); break; case "BorderColor": this._borderColor = i.Deserialize.color(a.value.toString()); break; case "Brush": this._brush = i.Deserialize.brush(a.value.toString()); break; case "BrushNegative": this.brushNegative = i.Deserialize.brush(a.value.toString()); break; case "AllowApplyBrushNegative": this.allowApplyBrushNegative = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { u.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowZeros": this.showZeros = i.textContent.stimulsoft.toBoolean(); break; case "Width": this._width = i.textContent.stimulsoft.toNumber(); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "Brush": case "bh": this._brush = s.convertToBrush(i.textContent); break; case "BrushNegative": this.brushNegative = s.convertToBrush(i.textContent); break; case "AllowApplyBrushNegative": this.allowApplyBrushNegative = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiClusteredColumnSeries }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { var e = u.prototype.clone.call(this); return e.brush = this.brush.clone(), e } , c.prototype.getDefaultAreaType = function() { return r.StiClusteredColumnArea } , c.prototype.createNew = function() { return new c } , Object.defineProperty(c.prototype, "showZeros", { get: function() { return this._showZeros }, set: function(e) { this._showZeros = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "width", { get: function() { return this._width }, set: function(e) { e >= .01 && e <= 1 && (this._width = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this._brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), c }(r.StiSeries); r.StiClusteredColumnSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiClusteredBarSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiClusteredBarSeries || (o.implementsStiClusteredBarSeries = e.prototype.implements.call(this).concat([i, r.IStiClusteredColumnSeries, r.IStiSeries, n, r.IStiClusteredBarSeries, r.IStiAllowApplyBrushNegative])), o.implementsStiClusteredBarSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiClusteredBarSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "xAxis", { get: function() { if (this.yAxis == r.StiSeriesYAxis.LeftYAxis) return r.StiSeriesXAxis.BottomXAxis; return r.StiSeriesXAxis.TopXAxis }, set: function(e) { this.yAxis = e == r.StiSeriesXAxis.BottomXAxis ? r.StiSeriesYAxis.LeftYAxis : r.StiSeriesYAxis.RightYAxis }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiClusteredBarArea } , o.prototype.createNew = function() { return new o } , o }(r.StiClusteredColumnSeries); r.StiClusteredBarSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiLineSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiLineSeries || (o.implementsStiLineSeries = e.prototype.implements.call(this).concat([i, r.IStiBaseLineSeries, r.IStiLineSeries, n, r.IStiSeries, r.IStiAllowApplyColorNegative])), o.implementsStiLineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiLineSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiClusteredColumnArea } , o.prototype.createNew = function() { return new o } , o }(r.StiBaseLineSeries); r.StiLineSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = function(e) { function u() { var t = e.call(this) || this; return t._topmostLine = !0, t._brush = new a(l.gainsboro), t._brushNegative = new a(l.firebrick), t._allowApplyBrushNegative = !1, t.core = new r.StiAreaSeriesCoreXF(t), t } return __extends(u, e), u.prototype.implements = function() { return u.implementsStiAreaSeries || (u.implementsStiAreaSeries = e.prototype.implements.call(this).concat([r.IStiLineSeries, r.IStiBaseLineSeries, r.IStiAreaSeries, n, r.IStiSeries, o, r.IStiAllowApplyBrushNegative])), u.implementsStiAreaSeries } , u.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("TopmostLine", this._topmostLine, !0), r.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), r.addPropertyStringNullOrEmpty("BrushNegative", i.Serialize.jBrush(this._brushNegative)), r.addPropertyBool("AllowApplyBrushNegative", this._allowApplyBrushNegative), r } , u.prototype.loadFromJsonObject = function(t) { var r, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "TopmostLine": this._topmostLine = s.value.stimulsoft.toBoolean(); break; case "Brush": this._brush = i.Deserialize.brush(s.value.toString()); break; case "BrushNegative": this._brushNegative = i.Deserialize.brush(s.value.toString()); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = s.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , u.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "TopmostLine": this._topmostLine = i.textContent.stimulsoft.toBoolean(); break; case "Brush": case "bh": this._brush = s.convertToBrush(i.textContent); break; case "BrushNegative": this._brushNegative = s.convertToBrush(i.textContent); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(u.prototype, "componentId", { get: function() { return t.StiComponentId.StiAreaSeries }, enumerable: !0, configurable: !0 }), u.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.brush = this.brush.clone(), t } , Object.defineProperty(u.prototype, "topmostLine", { get: function() { return this._topmostLine }, set: function(e) { this._topmostLine = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this.brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), u.prototype.getDefaultAreaType = function() { return r.StiClusteredColumnArea } , u.prototype.createNew = function() { return new u } , u }(r.StiLineSeries); r.StiAreaSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = e.Base.Drawing.StiPenStyle , c = e.Base.Drawing.StiColorUtils , h = e.System.Enum , p = function(p) { function f() { var e = p.call(this) || this; return e._showZeros = !1, e._width = .9, e._borderColor = l.gray, e._brush = new a(l.gainsboro), e._brushNegative = new a(l.firebrick), e._allowApplyBrushNegative = !1, e._showNulls = !0, e._marker = new r.StiMarker, e._lineMarker = new r.StiLineMarker, e._lineColor = l.black, e._lineStyle = u.Solid, e._lighting = !0, e._lineWidth = 2, e._labelsOffset = 0, e._lineColorNegative = l.firebrick, e._allowApplyColorNegative = !1, e.core = new r.StiParetoSeriesCoreXF(e), e } return __extends(f, p), f.prototype.implements = function() { return f.implementsStiParetoSeries || (f.implementsStiParetoSeries = p.prototype.implements.call(this).concat([n, r.IStiParetoSeries, r.IStiBaseLineSeries, r.IStiClusteredColumnSeries, o, r.IStiSeries, r.IStiAllowApplyBrushNegative])), f.implementsStiParetoSeries } , f.prototype.saveToJsonObject = function(e) { var t = p.prototype.saveToJsonObject.call(this, e); return t.addPropertyNumber("Width", this._width, .9), t.addPropertyStringNullOrEmpty("BorderColor", i.Serialize.jColor(this._borderColor, l.gray)), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), t.removeProperty("Conditions"), t.addPropertyJObject("Marker", this.marker.saveToJsonObject(e)), t.addPropertyJObject("LineMarker", this.lineMarker.saveToJsonObject(e)), t.addPropertyStringNullOrEmpty("LineColor", i.Serialize.jColor(this.lineColor, l.black)), t.addPropertyEnum("LineStyle", u, this.lineStyle, u.Solid), t.addPropertyBool("Lighting", this.lighting, !0), t.addPropertyNumber("LineWidth", this.lineWidth, 2), t } , f.prototype.loadFromJsonObject = function(e) { var t, r; p.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Width": this._width = a.value.stimulsoft.toNumber(); break; case "BorderColor": this._borderColor = i.Deserialize.color(a.value.toString()); break; case "Brush": this._brush = i.Deserialize.brush(a.value.toString()); break; case "Marker": this._marker.loadFromJsonObject(a.value); break; case "LineMarker": this.lineMarker.loadFromJsonObject(a.value); break; case "LineColor": this.lineColor = i.Deserialize.color(a.value.toString()); break; case "LineStyle": this.lineStyle = h.parse(u, a.value.toString()); break; case "Lighting": this.lighting = a.value.stimulsoft.toBoolean(); break; case "LineWidth": this.lineWidth = a.value.stimulsoft.toNumber(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , f.prototype.loadFromXml = function(t) { p.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowZeros": this.showZeros = i.textContent.stimulsoft.toBoolean(); break; case "Width": this._width = i.textContent.stimulsoft.toNumber(); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "Brush": case "bh": this._brush = s.convertToBrush(i.textContent); break; case "Marker": this._marker.loadFromXml(i); break; case "LineMarker": this.lineMarker.loadFromXml(i); break; case "LineColor": this.lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "LineStyle": this.lineStyle = h.parse(u, i.textContent); break; case "Lighting": this.lighting = i.textContent.stimulsoft.toBoolean(); break; case "LineWidth": this.lineWidth = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(f.prototype, "componentId", { get: function() { return t.StiComponentId.StiParetoSeries }, enumerable: !0, configurable: !0 }), f.prototype.clone = function() { var e = p.prototype.clone.call(this); return e.brush = this.brush.clone(), e.marker = this.marker.clone(), e.lineStyle = this.lineStyle, e } , f.prototype.getDefaultAreaType = function() { return r.StiParetoArea } , f.prototype.createNew = function() { return new f } , Object.defineProperty(f.prototype, "showZeros", { get: function() { return this._showZeros }, set: function(e) { this._showZeros = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "width", { get: function() { return this._width }, set: function(e) { e >= .01 && e <= 1 && (this._width = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this._brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "showNulls", { get: function() { return this._showNulls }, set: function(e) { this._showNulls = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "showMarker", { get: function() { return this.marker.visible }, set: function(e) { this.marker.visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "markerColor", { get: function() { return s.toColor(this.marker.brush) }, set: function(e) { this.marker.brush = new a(e), this.marker.borderColor = c.dark(e, 50) }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "markerSize", { get: function() { return this.marker.size }, set: function(e) { this.marker.size = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "markerType", { get: function() { return this.marker.type }, set: function(e) { this.marker.type = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "marker", { get: function() { return this._marker }, set: function(e) { this._marker = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "lineMarker", { get: function() { return this._lineMarker }, set: function(e) { this._lineMarker = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "lineColor", { get: function() { return this.getLineColor() }, set: function(e) { this.setLineColor(e) }, enumerable: !0, configurable: !0 }), f.prototype.getLineColor = function() { return this._lineColor } , f.prototype.setLineColor = function(e) { this._lineColor = e } , Object.defineProperty(f.prototype, "lineStyle", { get: function() { return this._lineStyle }, set: function(e) { this._lineStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "lighting", { get: function() { return this._lighting }, set: function(e) { this._lighting = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "lineWidth", { get: function() { return this._lineWidth }, set: function(e) { e > 0 && (this._lineWidth = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "labelsOffset", { get: function() { return this._labelsOffset }, set: function(e) { this._labelsOffset = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "lineColorNegative", { get: function() { return this._lineColorNegative }, set: function(e) { this._lineColorNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "allowApplyColorNegative", { get: function() { return this._allowApplyColorNegative }, set: function(e) { this._allowApplyColorNegative = e }, enumerable: !0, configurable: !0 }), f }(r.StiSeries); r.StiParetoSeries = p }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t._tension = .55, t.core = new r.StiSplineSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiSplineSeries || (o.implementsStiSplineSeries = e.prototype.implements.call(this).concat([i, r.IStiBaseLineSeries, n, r.IStiSeries, r.IStiSplineSeries, r.IStiAllowApplyColorNegative])), o.implementsStiSplineSeries } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("LineMarker"), r.addPropertyNumber("Tension", this._tension, .55), r } , o.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Tension": this._tension = a.value.stimulsoft.toNumber(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Tension": this._tension = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiSplineSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiClusteredColumnArea } , Object.defineProperty(o.prototype, "tension", { get: function() { return this._tension }, set: function(e) { this._tension = e }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiBaseLineSeries); r.StiSplineSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = function(e) { function u() { var t = e.call(this) || this; return t._topmostLine = !0, t._brush = new a(l.gainsboro), t._brushNegative = new a(l.firebrick), t._allowApplyBrushNegative = !1, t.core = new r.StiSplineAreaSeriesCoreXF(t), t } return __extends(u, e), u.prototype.implements = function() { return u.implementsStiSplineAreaSeries || (u.implementsStiSplineAreaSeries = e.prototype.implements.call(this).concat([r.IStiSplineSeries, r.IStiBaseLineSeries, n, r.IStiSeries, o, r.IStiSplineAreaSeries, r.IStiAllowApplyColorNegative])), u.implementsStiSplineAreaSeries } , u.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("TopmostLine", this._topmostLine, !0), r.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), r.addPropertyStringNullOrEmpty("BrushNegative", i.Serialize.jBrush(this._brushNegative)), r.addPropertyBool("AllowApplyBrushNegative", this._allowApplyBrushNegative), r } , u.prototype.loadFromJsonObject = function(t) { var r, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "TopmostLine": this._topmostLine = s.value.stimulsoft.toBoolean(); break; case "Brush": this._brush = i.Deserialize.brush(s.value.toString()); break; case "BrushNegative": this._brushNegative = i.Deserialize.brush(s.value.toString()); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = s.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , u.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "TopmostLine": this._topmostLine = i.textContent.stimulsoft.toBoolean(); break; case "Brush": case "bh": this._brush = s.convertToBrush(i.textContent); break; case "BrushNegative": this._brushNegative = s.convertToBrush(i.textContent); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(u.prototype, "componentId", { get: function() { return t.StiComponentId.StiSplineAreaSeries }, enumerable: !0, configurable: !0 }), u.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.brush = this.brush.clone(), t } , u.prototype.getDefaultAreaType = function() { return r.StiClusteredColumnArea } , Object.defineProperty(u.prototype, "topmostLine", { get: function() { return this._topmostLine }, set: function(e) { this._topmostLine = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this.brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), u.prototype.createNew = function() { return new u } , u }(r.StiSplineSeries); r.StiSplineAreaSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t._pointAtCenter = !1, t.core = new r.StiSteppedLineSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiSteppedLineSeries || (o.implementsStiSteppedLineSeries = e.prototype.implements.call(this).concat([i, r.IStiBaseLineSeries, r.IStiSeries, n, r.IStiSteppedLineSeries, r.IStiAllowApplyColorNegative])), o.implementsStiSteppedLineSeries } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("PointAtCenter", this._pointAtCenter), r } , o.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "PointAtCenter": this._pointAtCenter = a.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "PointAtCenter": this._pointAtCenter = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiSteppedLineSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiClusteredColumnArea } , Object.defineProperty(o.prototype, "pointAtCenter", { get: function() { return this._pointAtCenter }, set: function(e) { this._pointAtCenter = e }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiBaseLineSeries); r.StiSteppedLineSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = function(e) { function u() { var t = e.call(this) || this; return t._topmostLine = !0, t._brush = new a(l.gainsboro), t._brushNegative = new a(l.firebrick), t._allowApplyBrushNegative = !1, t.core = new r.StiSteppedAreaSeriesCoreXF(t), t } return __extends(u, e), u.prototype.implements = function() { return u.implementsStiSteppedAreaSeries || (u.implementsStiSteppedAreaSeries = e.prototype.implements.call(this).concat([r.IStiSteppedLineSeries, r.IStiBaseLineSeries, n, r.IStiSteppedAreaSeries, r.IStiSeries, o, r.IStiAllowApplyColorNegative])), u.implementsStiSteppedAreaSeries } , u.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyBool("TopmostLine", this._topmostLine, !0), r.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), r.addPropertyStringNullOrEmpty("BrushNegative", i.Serialize.jBrush(this._brushNegative)), r.addPropertyBool("AllowApplyBrushNegative", this._allowApplyBrushNegative), r } , u.prototype.loadFromJsonObject = function(t) { var r, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "TopmostLine": this._topmostLine = s.value.stimulsoft.toBoolean(); break; case "Brush": this._brush = i.Deserialize.brush(s.value.toString()); break; case "BrushNegative": this._brushNegative = i.Deserialize.brush(s.value.toString()); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = s.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , u.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "TopmostLine": this._topmostLine = i.textContent.stimulsoft.toBoolean(); break; case "Brush": case "bh": this._brush = s.convertToBrush(i.textContent); break; case "BrushNegative": this._brushNegative = s.convertToBrush(i.textContent); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(u.prototype, "componentId", { get: function() { return t.StiComponentId.StiSteppedAreaSeries }, enumerable: !0, configurable: !0 }), u.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.brush = this.brush.clone(), t } , u.prototype.getDefaultAreaType = function() { return r.StiClusteredColumnArea } , Object.defineProperty(u.prototype, "topmostLine", { get: function() { return this._topmostLine }, set: function(e) { this._topmostLine = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this.brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), u.prototype.createNew = function() { return new u } , u }(r.StiSteppedLineSeries); r.StiSteppedAreaSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e }(); e.StiSeriesInteractionConverter = t }(t = e.Design || (e.Design = {})) }(t = e.Components || (e.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Report.Expressions.StiExpression , o = e.Base.StiJsonReportObjectHelper , a = e.Base.JsonReportObject.IStiJsonReportObject , s = e.System.ICloneable , l = e.Report.Components.StiText , u = e.Base.Drawing.StiSolidBrush , c = e.Base.Drawing.StiBrush , h = e.System.Drawing.Color , p = function(p) { function f() { var e = p.call(this) || this; return e._allowApplyBrush = !0, e._allowApplyBorderColor = !0, e._startAngle = 0, e._borderColor = h.gray, e._brush = new u(h.gainsboro), e._lighting = !0, e._diameter = 0, e._distance = 0, e._cutPieListValues = [], e._cutPieList = "", e.core = new r.StiPieSeriesCoreXF(e), e } return __extends(f, p), f.prototype.implements = function() { return f.implementsStiPieSeries || (f.implementsStiPieSeries = p.prototype.implements.call(this).concat([r.IStiPieSeries, s, r.IStiSeries, a, r.IStiAllowApplyBorderColor, r.IStiAllowApplyBrush])), f.implementsStiPieSeries } , f.prototype.saveToJsonObject = function(e) { var t = p.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TrendLine"), t.addPropertyBool("AllowApplyBrush", this._allowApplyBrush, !0), t.addPropertyBool("AllowApplyBorderColor", this._allowApplyBorderColor, !0), t.addPropertyNumber("StartAngle", this.startAngle, 0), t.addPropertyStringNullOrEmpty("BorderColor", o.Serialize.jColor(this._borderColor, h.gray)), t.addPropertyStringNullOrEmpty("Brush", o.Serialize.jBrush(this._brush)), t.addPropertyBool("Lighting", this._lighting, !0), t.addPropertyNumber("Diameter", this.diameter, 0), t.addPropertyNumber("Distance", this.distance, 0), t.addPropertyJObject("CutPieList", new n(this._cutPieList).saveToJsonObject(e)), t } , f.prototype.loadFromJsonObject = function(e) { var t, r; p.prototype.loadFromJsonObject.call(this, e); try { for (var i = __values(e.properties()), a = i.next(); !a.done; a = i.next()) { var s = a.value; switch (s.name) { case "AllowApplyBrush": this._allowApplyBrush = s.value.stimulsoft.toBoolean(); break; case "AllowApplyBorderColor": this._allowApplyBorderColor = s.value.stimulsoft.toBoolean(); break; case "StartAngle": this.startAngle = s.value.stimulsoft.toNumber(); break; case "BorderColor": this._borderColor = o.Deserialize.color(s.value.toString()); break; case "Brush": this._brush = o.Deserialize.brush(s.value.toString()); break; case "Lighting": this._lighting = s.value.stimulsoft.toBoolean(); break; case "Diameter": this.diameter = s.value.stimulsoft.toNumber(); break; case "Distance": this.distance = s.value.stimulsoft.toNumber(); break; case "CutPieList": var l = new n; l.loadFromJsonObject(s.value), this._cutPieList = l.value; break; case "GetCutPieListEvent": break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } } , f.prototype.loadFromXml = function(t) { p.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "AllowApplyBrush": this._allowApplyBrush = i.textContent.stimulsoft.toBoolean(); break; case "AllowApplyBorderColor": this._allowApplyBorderColor = i.textContent.stimulsoft.toBoolean(); break; case "StartAngle": this.startAngle = i.textContent.stimulsoft.toNumber(); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "Brush": case "bh": this._brush = c.convertToBrush(i.textContent); break; case "Lighting": this._lighting = i.textContent.stimulsoft.toBoolean(); break; case "Diameter": this.diameter = i.textContent.stimulsoft.toNumber(); break; case "Distance": this.distance = i.textContent.stimulsoft.toNumber(); break; case "CutPieList": var o = new n; o.loadFromXml(i), this._cutPieList = o.value; break; case "GetCutPieListEvent": break } } } , Object.defineProperty(f.prototype, "componentId", { get: function() { return t.StiComponentId.StiPieSeries }, enumerable: !0, configurable: !0 }), f.prototype.clone = function() { return p.prototype.clone.call(this) } , f.prototype.getDefaultAreaType = function() { return r.StiPieArea } , Object.defineProperty(f.prototype, "allowApplyBrush", { get: function() { return this._allowApplyBrush }, set: function(e) { this._allowApplyBrush != e && (this._allowApplyBrush = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "allowApplyBorderColor", { get: function() { return this._allowApplyBorderColor }, set: function(e) { this._allowApplyBorderColor != e && (this._allowApplyBorderColor = e) }, enumerable: !0, configurable: !0 }), f.prototype.getArguments = function() { var e = p.prototype.getArguments.call(this); if (0 == e.length && null != this.chart && null != this.chart.report && this.chart.report.isDesigning) return ["Arg1", "Arg2", "Arg3"]; return e } , f.prototype.setArguments = function(e) { p.prototype.setArguments.call(this, e) } , Object.defineProperty(f.prototype, "startAngle", { get: function() { return this._startAngle }, set: function(e) { this._startAngle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "lighting", { get: function() { return this._lighting }, set: function(e) { this._lighting = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "diameter", { get: function() { return this._diameter }, set: function(e) { this._diameter = e, e < 5 && (this._diameter = 0) }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "distance", { get: function() { return this._distance }, set: function(e) { this._distance = Math.max(0, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "cutPieListValues", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.cutPieList)) return r.StiSeries.getValuesFromString(this.cutPieList); return [] } return this._cutPieListValues }, set: function(e) { this._cutPieListValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "cuttedPieList", { get: function() { return this.cutPieList }, set: function(e) { this.cutPieList = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "cutPieList", { get: function() { return this._cutPieList }, set: function(e) { this._cutPieList = e }, enumerable: !0, configurable: !0 }), f.prototype.onGetCutPieList = function(e) {} , f.prototype.invokeGetCutPieList = function(r, i) { try { if (this.onGetCutPieList(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartPieSeriesCutPieList**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.cutPieList, n); i.value = r.report.toString2(o) } null != this.getCutPieList && this.getCutPieList(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , f.prototype.createNew = function() { return new f } , f }(r.StiSeries); r.StiPieSeries = p }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiDoughnutSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiDoughnutSeries || (o.implementsStiDoughnutSeries = e.prototype.implements.call(this).concat([r.IStiPieSeries, r.IStiSeries, n, r.IStiDoughnutSeries, i, r.IStiAllowApplyBorderColor, r.IStiAllowApplyBrush])), o.implementsStiDoughnutSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiDoughnutSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiDoughnutArea } , o.prototype.createNew = function() { return new o } , o }(r.StiPieSeries); r.StiDoughnutSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Report.Expressions.StiExpression , o = e.Base.StiJsonReportObjectHelper , a = e.Base.JsonReportObject.IStiJsonReportObject , s = e.System.ICloneable , l = e.Report.Components.StiText , u = e.System.Text.StringBuilder , c = e.Base.Drawing.StiSolidBrush , h = e.Base.Drawing.StiBrush , p = e.System.Drawing.Color , f = function(f) { function m() { var e = f.call(this) || this; return e._valuesOpen = [4, 7, 5], e._valuesClose = [2, 3, 5], e._valuesHigh = [6, 9, 7], e._valuesLow = [1, 3, 4], e._valueDataColumnOpen = "", e._valueDataColumnClose = "", e._valueDataColumnHigh = "", e._valueDataColumnLow = "", e._borderColor = p.gray, e._borderColorNegative = p.gray, e._borderWidth = 2, e._brush = new c(p.gainsboro), e._brushNegative = new c(p.transparent), e.valueObjOpen = "", e._listOfValuesOpen = "", e.valueObjClose = "", e._listOfValuesClose = "", e.valueObjHigh = "", e._listOfValuesHigh = "", e.valueObjLow = "", e._listOfValuesLow = "", e.core = new r.StiCandlestickSeriesCoreXF(e), e } return __extends(m, f), m.prototype.implements = function() { return m.implementsStiCandlestickSeries || (m.implementsStiCandlestickSeries = f.prototype.implements.call(this).concat([a, r.IStiSeries, r.IStiFinancialSeries, s, r.IStiCandlestickSeries])), m.implementsStiCandlestickSeries } , m.prototype.saveToJsonObject = function(e) { var t = f.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TopN"), t.removeProperty("TrendLine"), t.removeProperty("ValueDataColumn"), t.removeProperty("Value"), t.removeProperty("ListOfValues"), t.addPropertyStringNullOrEmpty("ValueDataColumnOpen", this._valueDataColumnOpen), t.addPropertyStringNullOrEmpty("ValueDataColumnClose", this._valueDataColumnClose), t.addPropertyStringNullOrEmpty("ValueDataColumnHigh", this._valueDataColumnHigh), t.addPropertyStringNullOrEmpty("ValueDataColumnLow", this._valueDataColumnLow), t.addPropertyStringNullOrEmpty("BorderColor", o.Serialize.jColor(this.borderColor, p.gray)), t.addPropertyStringNullOrEmpty("BorderColorNegative", o.Serialize.jColor(this.borderColorNegative, p.gray)), t.addPropertyNumber("BorderWidth", this.borderWidth, 2), t.addPropertyStringNullOrEmpty("Brush", o.Serialize.jBrush(this.brush)), t.addPropertyStringNullOrEmpty("BrushNegative", o.Serialize.jBrush(this.brushNegative)), t.addPropertyJObject("ValueOpen", new n(this.valueOpen).saveToJsonObject(e)), t.addPropertyJObject("ListOfValuesOpen", new n(this.listOfValuesOpen).saveToJsonObject(e)), t.addPropertyJObject("ValueClose", new n(this.valueClose).saveToJsonObject(e)), t.addPropertyJObject("ListOfValuesClose", new n(this.listOfValuesClose).saveToJsonObject(e)), t.addPropertyJObject("ValueHigh", new n(this.valueHigh).saveToJsonObject(e)), t.addPropertyJObject("ListOfValuesHigh", new n(this.listOfValuesHigh).saveToJsonObject(e)), t.addPropertyJObject("ValueLow", new n(this.valueLow).saveToJsonObject(e)), t.addPropertyJObject("ListOfValuesLow", new n(this.listOfValuesLow).saveToJsonObject(e)), t } , m.prototype.loadFromJsonObject = function(e) { var t, r; f.prototype.loadFromJsonObject.call(this, e); try { for (var i = __values(e.properties()), a = i.next(); !a.done; a = i.next()) { var s = a.value; switch (s.name) { case "ValueDataColumnOpen": this._valueDataColumnOpen = s.value.toString(); break; case "ValueDataColumnClose": this._valueDataColumnClose = s.value.toString(); break; case "ValueDataColumnHigh": this._valueDataColumnHigh = s.value.toString(); break; case "ValueDataColumnLow": this._valueDataColumnLow = s.value.toString(); break; case "BorderColor": this.borderColor = o.Deserialize.color(s.value.toString()); break; case "BorderColorNegative": this.borderColorNegative = o.Deserialize.color(s.value.toString()); break; case "BorderWidth": this.borderWidth = s.value.stimulsoft.toNumber(); break; case "Brush": this.brush = o.Deserialize.brush(s.value.toString()); break; case "BrushNegative": this.brushNegative = o.Deserialize.brush(s.value.toString()); break; case "GetValueOpenEvent": break; case "GetListOfValuesOpenEvent": break; case "GetValueCloseEvent": break; case "GetListOfValuesCloseEvent": break; case "GetValueHighEvent": break; case "GetListOfValuesHighEvent": break; case "GetValueLowEvent": break; case "GetListOfValuesLowEvent": break; case "ValueOpen": var l = new n; l.loadFromJsonObject(s.value), this.valueOpen = l.value; break; case "ListOfValuesOpen": var l = new n; l.loadFromJsonObject(s.value), this.listOfValuesOpen = l.value; break; case "ValueClose": var l = new n; l.loadFromJsonObject(s.value), this.valueClose = l.value; break; case "ListOfValuesClose": var l = new n; l.loadFromJsonObject(s.value), this.listOfValuesClose = l.value; break; case "ValueHigh": var l = new n; l.loadFromJsonObject(s.value), this.valueHigh = l.value; break; case "ListOfValuesHigh": var l = new n; l.loadFromJsonObject(s.value), this.listOfValuesHigh = l.value; break; case "ValueLow": var l = new n; l.loadFromJsonObject(s.value), this.valueLow = l.value; break; case "ListOfValuesLow": var l = new n; l.loadFromJsonObject(s.value), this.listOfValuesLow = l.value; break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } } , m.prototype.loadFromXml = function(t) { f.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ValueDataColumnOpen": this._valueDataColumnOpen = i.textContent; break; case "ValueDataColumnClose": this._valueDataColumnClose = i.textContent; break; case "ValueDataColumnHigh": this._valueDataColumnHigh = i.textContent; break; case "ValueDataColumnLow": this._valueDataColumnLow = i.textContent; break; case "BorderColor": this.borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "BorderColorNegative": this.borderColorNegative = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "BorderWidth": this.borderWidth = i.textContent.stimulsoft.toNumber(); break; case "Brush": case "bh": this.brush = h.loadFromXml(i.textContent); break; case "BrushNegative": this.brushNegative = h.loadFromXml(i.textContent); break; case "GetValueOpenEvent": break; case "GetListOfValuesOpenEvent": break; case "GetValueCloseEvent": break; case "GetListOfValuesCloseEvent": break; case "GetValueHighEvent": break; case "GetListOfValuesHighEvent": break; case "GetValueLowEvent": break; case "GetListOfValuesLowEvent": break; case "ValueOpen": var o = new n; o.loadFromXml(i), this.valueOpen = o.value; break; case "ListOfValuesOpen": var o = new n; o.loadFromXml(i), this.listOfValuesOpen = o.value; break; case "ValueClose": var o = new n; o.loadFromXml(i), this.valueClose = o.value; break; case "ListOfValuesClose": var o = new n; o.loadFromXml(i), this.listOfValuesClose = o.value; break; case "ValueHigh": var o = new n; o.loadFromXml(i), this.valueHigh = o.value; break; case "ListOfValuesHigh": var o = new n; o.loadFromXml(i), this.listOfValuesHigh = o.value; break; case "ValueLow": var o = new n; o.loadFromXml(i), this.valueLow = o.value; break; case "ListOfValuesLow": var o = new n; o.loadFromXml(i), this.listOfValuesLow = o.value; break } } } , Object.defineProperty(m.prototype, "componentId", { get: function() { return t.StiComponentId.StiCandlestickSeries }, enumerable: !0, configurable: !0 }), m.prototype.clone = function() { return f.prototype.clone.call(this) } , m.prototype.getDefaultAreaType = function() { return r.StiCandlestickArea } , Object.defineProperty(m.prototype, "valuesOpen", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.listOfValuesOpen)) return r.StiSeries.getNullableValuesFromString(this, this.listOfValuesOpen); var e = this.chart.series.indexOf(this); if (0 == e) return this._valuesOpen; return [4 + 7 * e, 7 + 7 * e, 5 + 7 * e] } return this._valuesOpen }, set: function(e) { this._valuesOpen = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesClose", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.listOfValuesClose)) return r.StiSeries.getNullableValuesFromString(this, this.listOfValuesClose); var e = this.chart.series.indexOf(this); if (0 == e) return this._valuesClose; return [2 + 7 * e, 3 + 7 * e, 5 + 7 * e] } return this._valuesClose }, set: function(e) { this._valuesClose = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesStringOpen", { get: function() { var e, t, r = new u, i = !0; try { for (var n = __values(this.valuesOpen), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", a) : r.appendFormat(";{0}", a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this.valuesOpen = []; else { var i = e.split(";"); this.valuesOpen = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this.valuesOpen[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesStringClose", { get: function() { var e, t, r = new u, i = !0; try { for (var n = __values(this.valuesClose), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", a) : r.appendFormat(";{0}", a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this.valuesClose = []; else { var i = e.split(";"); this.valuesClose = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this.valuesClose[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesStringHigh", { get: function() { var e, t, r = new u, i = !0; try { for (var n = __values(this.valuesHigh), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", a) : r.appendFormat(";{0}", a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this.valuesHigh = []; else { var i = e.split(";"); this.valuesHigh = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this.valuesHigh[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesStringLow", { get: function() { var e, t, r = new u, i = !0; try { for (var n = __values(this.valuesLow), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", a) : r.appendFormat(";{0}", a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this.valuesLow = []; else { var i = e.split(";"); this.valuesLow = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this.valuesLow[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesHigh", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.listOfValuesHigh)) return r.StiSeries.getNullableValuesFromString(this, this.listOfValuesHigh); var e = this.chart.series.indexOf(this); if (0 == e) return this._valuesHigh; return [6 + 7 * e, 9 + 7 * e, 7 + 7 * e] } return this._valuesHigh }, set: function(e) { this._valuesHigh = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesLow", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.listOfValuesLow)) return r.StiSeries.getNullableValuesFromString(this, this.listOfValuesLow); var e = this.chart.series.indexOf(this); if (0 == e) return this._valuesLow; return [1 + 7 * e, 3 + 7 * e, 4 + 7 * e] } return this._valuesLow }, set: function(e) { this._valuesLow = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valueDataColumnOpen", { get: function() { return this._valueDataColumnOpen }, set: function(e) { this._valueDataColumnOpen = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valueDataColumnClose", { get: function() { return this._valueDataColumnClose }, set: function(e) { this._valueDataColumnClose = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valueDataColumnHigh", { get: function() { return this._valueDataColumnHigh }, set: function(e) { this._valueDataColumnHigh = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valueDataColumnLow", { get: function() { return this._valueDataColumnLow }, set: function(e) { this._valueDataColumnLow = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "borderColorNegative", { get: function() { return this._borderColorNegative }, set: function(e) { this._borderColorNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "borderWidth", { get: function() { return this._borderWidth }, set: function(e) { e > 0 && (this._borderWidth = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this._brushNegative = e }, enumerable: !0, configurable: !0 }), m.prototype.onGetValueOpen = function(e) {} , m.prototype.invokeGetValueOpen = function(r, i) { try { if (this.onGetValueOpen(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartGanttSeriesValueOpen**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.valueOpen, n); i.value = r.report.toString2(o) } null != this.getValueOpen && this.getValueOpen(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , m.prototype.onGetListOfValuesOpen = function(e) {} , m.prototype.invokeGetListOfValuesOpen = function(r, i) { try { if (this.onGetListOfValuesOpen(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartGanttSeriesListOfValuesOpen**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.listOfValuesOpen, n); i.value = r.report.toString2(o) } null != this.getListOfValuesOpen && this.getListOfValuesOpen(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , m.prototype.onGetValueClose = function(e) {} , m.prototype.invokeGetValueClose = function(r, i) { try { if (this.onGetValueClose(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartGanttSeriesValueClose**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.valueClose, n); i.value = r.report.toString2(o) } null != this.getValueClose && this.getValueClose(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , m.prototype.onGetListOfValuesClose = function(e) {} , m.prototype.invokeGetListOfValuesClose = function(r, i) { try { if (this.onGetListOfValuesClose(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartGanttSeriesListOfValuesClose**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.listOfValuesClose, n); i.value = r.report.toString2(o) } null != this.getListOfValuesClose && this.getListOfValuesClose(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , m.prototype.onGetValueHigh = function(e) {} , m.prototype.invokeGetValueHigh = function(r, i) { try { if (this.onGetValueHigh(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartGanttSeriesValueHigh**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.valueHigh, n); i.value = r.report.toString2(o) } null != this.getValueHigh && this.getValueHigh(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , m.prototype.onGetListOfValuesHigh = function(e) {} , m.prototype.invokeGetListOfValuesHigh = function(r, i) { try { if (this.onGetListOfValuesHigh(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartGanttSeriesListOfValuesHigh**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.listOfValuesHigh, n); i.value = r.report.toString2(o) } null != this.getListOfValuesHigh && this.getListOfValuesHigh(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , m.prototype.onGetValueLow = function(e) {} , m.prototype.invokeGetValueLow = function(r, i) { try { if (this.onGetValueLow(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartGanttSeriesValueLow**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.valueLow, n); i.value = r.report.toString2(o) } null != this.getValueLow && this.getValueLow(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , m.prototype.onGetListOfValuesLow = function(e) {} , m.prototype.invokeGetListOfValuesLow = function(r, i) { try { if (this.onGetListOfValuesLow(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartGanttSeriesListOfValuesLow**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.listOfValuesLow, n); i.value = r.report.toString2(o) } null != this.getListOfValuesLow && this.getListOfValuesLow(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , Object.defineProperty(m.prototype, "valueOpen", { get: function() { return this.valueObjOpen }, set: function(e) { this.valueObjOpen = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "listOfValuesOpen", { get: function() { return this._listOfValuesOpen }, set: function(e) { this._listOfValuesOpen = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valueClose", { get: function() { return this.valueObjClose }, set: function(e) { this.valueObjClose = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "listOfValuesClose", { get: function() { return this._listOfValuesClose }, set: function(e) { this._listOfValuesClose = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valueHigh", { get: function() { return this.valueObjHigh }, set: function(e) { this.valueObjHigh = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "listOfValuesHigh", { get: function() { return this._listOfValuesHigh }, set: function(e) { this._listOfValuesHigh = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valueLow", { get: function() { return this.valueObjLow }, set: function(e) { this.valueObjLow = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "listOfValuesLow", { get: function() { return this._listOfValuesLow }, set: function(e) { this._listOfValuesLow = e }, enumerable: !0, configurable: !0 }), m.prototype.createNew = function() { return new m } , m }(r.StiSeries); r.StiCandlestickSeries = f }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiPenStyle , s = e.System.Enum , l = e.System.Drawing.Color , u = function(u) { function c() { var e = u.call(this) || this; return e._lineColor = l.black, e._lineStyle = a.Solid, e._lineWidth = 2, e._lineColorNegative = l.firebrick, e._allowApplyColorNegative = !1, e.core = new r.StiStockSeriesCoreXF(e), e } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiStockSeries || (c.implementsStiStockSeries = u.prototype.implements.call(this).concat([n, r.IStiStockSeries, r.IStiFinancialSeries, o, r.IStiSeries, r.IStiAllowApplyColorNegative])), c.implementsStiStockSeries } , c.prototype.saveToJsonObject = function(e) { var t = u.prototype.saveToJsonObject.call(this, e); return t.removeProperty("BorderColor"), t.removeProperty("BorderWidth"), t.removeProperty("Brush"), t.removeProperty("BrushNegative"), t.addPropertyStringNullOrEmpty("LineColor", i.Serialize.jColor(this.lineColor, l.black)), t.addPropertyEnum("LineStyle", a, this.lineStyle, a.Solid), t.addPropertyNumber("LineWidth", this.lineWidth, 2), t.addPropertyStringNullOrEmpty("LineColorNegative", i.Serialize.jColor(this.lineColorNegative, l.firebrick)), t.addPropertyBool("AllowApplyColorNegative", this.allowApplyColorNegative), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; u.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var l = o.value; switch (l.name) { case "LineColor": this.lineColor = i.Deserialize.color(l.value.toString()); break; case "LineStyle": this.lineStyle = s.parse(a, l.value.toString()); break; case "LineWidth": this.lineWidth = l.value.stimulsoft.toNumber(); break; case "LineColorNegative": this.lineColorNegative = i.Deserialize.color(l.value.toString()); break; case "AllowApplyColorNegative": this.allowApplyColorNegative = l.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { u.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "LineColor": this.lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "LineStyle": this.lineStyle = s.parse(a, i.textContent); break; case "LineWidth": this.lineWidth = i.textContent.stimulsoft.toNumber(); break; case "LineColorNegative": this.lineColorNegative = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "AllowApplyColorNegative": this.allowApplyColorNegative = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiStockSeries }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { return u.prototype.clone.call(this) } , c.prototype.getDefaultAreaType = function() { return r.StiStockArea } , Object.defineProperty(c.prototype, "lineColor", { get: function() { return this._lineColor }, set: function(e) { this._lineColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "lineStyle", { get: function() { return this._lineStyle }, set: function(e) { this._lineStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "lineWidth", { get: function() { return this._lineWidth }, set: function(e) { e > 0 && (this._lineWidth = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "lineColorNegative", { get: function() { return this._lineColorNegative }, set: function(e) { this._lineColorNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "allowApplyColorNegative", { get: function() { return this._allowApplyColorNegative }, set: function(e) { this._allowApplyColorNegative = e }, enumerable: !0, configurable: !0 }), c.prototype.createNew = function() { return new c } , c }(r.StiCandlestickSeries); r.StiStockSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = function(u) { function c() { var e = u.call(this) || this; return e._showZeros = !1, e._width = .8, e._borderColor = l.black, e._brush = new a(l.gainsboro), e._brushNegative = new a(l.firebrick), e._allowApplyBrushNegative = !1, e.core = new r.StiStackedBarSeriesCoreXF(e), e } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiStackedBarSeries || (c.implementsStiStackedBarSeries = u.prototype.implements.call(this).concat([n, r.IStiStackedBarSeries, o, r.IStiSeries, r.IStiAllowApplyBrushNegative])), c.implementsStiStackedBarSeries } , c.prototype.saveToJsonObject = function(e) { var t = u.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TrendLine"), t.addPropertyBool("ShowZeros", this.showZeros), t.addPropertyNumber("Width", this._width, .8), t.addPropertyStringNullOrEmpty("BorderColor", i.Serialize.jColor(this._borderColor, l.black)), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), t.addPropertyStringNullOrEmpty("BrushNegative", i.Serialize.jBrush(this._brushNegative)), t.addPropertyBool("AllowApplyBrushNegative", this._allowApplyBrushNegative), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; u.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ShowZeros": this.showZeros = a.value.stimulsoft.toBoolean(); break; case "Width": this._width = a.value.stimulsoft.toNumber(); break; case "BorderColor": this._borderColor = i.Deserialize.color(a.value.toString()); break; case "Brush": this._brush = i.Deserialize.brush(a.value.toString()); break; case "BrushNegative": this._brushNegative = i.Deserialize.brush(a.value.toString()); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { u.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowZeros": this.showZeros = i.textContent.stimulsoft.toBoolean(); break; case "Width": this._width = i.textContent.stimulsoft.toNumber(); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "Brush": case "bh": this._brush = s.loadFromXml(i.textContent); break; case "BrushNegative": this._brushNegative = s.loadFromXml(i.textContent); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedBarSeries }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { var e = u.prototype.clone.call(this); return e.brush = this.brush.clone(), e } , c.prototype.getDefaultAreaType = function() { return r.StiStackedBarArea } , Object.defineProperty(c.prototype, "showZeros", { get: function() { return this._showZeros }, set: function(e) { this._showZeros = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "width", { get: function() { return this._width }, set: function(e) { e >= .01 && e <= 1 && (this._width = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this.brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "xAxis", { get: function() { if (this.yAxis == r.StiSeriesYAxis.LeftYAxis) return r.StiSeriesXAxis.BottomXAxis; return r.StiSeriesXAxis.TopXAxis }, set: function(e) { this.yAxis = e == r.StiSeriesXAxis.BottomXAxis ? r.StiSeriesYAxis.LeftYAxis : r.StiSeriesYAxis.RightYAxis }, enumerable: !0, configurable: !0 }), c.prototype.createNew = function() { return new c } , c }(r.StiSeries); r.StiStackedBarSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedBarSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedBarSeries || (o.implementsStiFullStackedBarSeries = e.prototype.implements.call(this).concat([i, r.IStiStackedBarSeries, n, r.IStiSeries, r.IStiFullStackedBarSeries])), o.implementsStiFullStackedBarSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedBarSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiFullStackedBarArea } , o.prototype.createNew = function() { return new o } , o }(r.StiStackedBarSeries); r.StiFullStackedBarSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJsonReportObjectHelper , i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = e.Base.Drawing.StiColorUtils , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiPenStyle , l = e.Base.Drawing.StiBrush , u = e.System.Enum , c = e.System.Drawing.Color , h = function(h) { function p() { var e = null !== h && h.apply(this, arguments) || this; return e._showNulls = !0, e._marker = new t.StiMarker, e._lineMarker = new t.StiLineMarker, e._lighting = !0, e._lineColor = c.mediumBlue, e._lineWidth = 2, e._lineStyle = s.Solid, e._lineColorNegative = c.firebrick, e._allowApplyColorNegative = !1, e } return __extends(p, h), p.prototype.implements = function() { return p.implementsStiStackedBaseLineSeries || (p.implementsStiStackedBaseLineSeries = h.prototype.implements.call(this).concat([i, t.IStiStackedBaseLineSeries, n, t.IStiSeries])), p.implementsStiStackedBaseLineSeries } , p.prototype.saveToJsonObject = function(e) { var t = h.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TrendLine"), t.removeProperty("Conditions"), t.addPropertyBool("ShowNulls", this._showNulls, !0), t.addPropertyJObject("Marker", this._marker.saveToJsonObject(e)), t.addPropertyJObject("LineMarker", this.lineMarker.saveToJsonObject(e)), t.addPropertyBool("Lighting", this._lighting, !0), t.addPropertyStringNullOrEmpty("LineColor", r.Serialize.jColor(this._lineColor, c.mediumBlue)), t.addPropertyNumber("LineWidth", this._lineWidth, 2), t.addPropertyEnum("LineStyle", s, this._lineStyle, s.Solid), t.addPropertyStringNullOrEmpty("LineColorNegative", r.Serialize.jColor(this.lineColorNegative, c.firebrick)), t.addPropertyBool("AllowApplyColorNegative", this._allowApplyColorNegative), t } , p.prototype.loadFromJsonObject = function(e) { var t, i; h.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ShowNulls": this._showNulls = a.value.stimulsoft.toBoolean(); break; case "Marker": this._marker.loadFromJsonObject(a.value); break; case "LineMarker": this.lineMarker.loadFromJsonObject(a.value); break; case "Lighting": this._lighting = a.value.stimulsoft.toBoolean(); break; case "LineColor": this._lineColor = r.Deserialize.color(a.value.toString()); break; case "LineWidth": this._lineWidth = a.value.stimulsoft.toNumber(); break; case "LineStyle": this._lineStyle = u.parse(s, a.value.toString()); break; case "LineColorNegative": this.lineColorNegative = r.Deserialize.color(a.value.toString()); break; case "AllowApplyColorNegative": this._allowApplyColorNegative = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (t) throw t.error } } } , p.prototype.loadFromXml = function(t) { h.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowNulls": this._showNulls = i.textContent.stimulsoft.toBoolean(); break; case "Marker": this._marker.loadFromXml(i); break; case "LineMarker": this.lineMarker.loadFromXml(i); break; case "Lighting": this._lighting = i.textContent.stimulsoft.toBoolean(); break; case "LineColor": this._lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "LineWidth": this._lineWidth = i.textContent.stimulsoft.toNumber(); break; case "LineStyle": this._lineStyle = u.parse(s, i.textContent.toString()); break; case "LineColorNegative": this.lineColorNegative = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "AllowApplyColorNegative": this._allowApplyColorNegative = i.textContent.stimulsoft.toBoolean(); break } } } , p.prototype.clone = function() { var e = h.prototype.clone.call(this); return e.lineStyle = this.lineStyle, e } , Object.defineProperty(p.prototype, "showNulls", { get: function() { return this._showNulls }, set: function(e) { this._showNulls = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "showMarker", { get: function() { return this.marker.visible }, set: function(e) { this.marker.visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "markerColor", { get: function() { return l.toColor(this.marker.brush) }, set: function(e) { this.marker.brush = new a(e), this.marker.borderColor = o.dark(e, 50) }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "markerSize", { get: function() { return this.marker.size }, set: function(e) { this.marker.size = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "markerType", { get: function() { return this.marker.type }, set: function(e) { this.marker.type = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "marker", { get: function() { return this._marker }, set: function(e) { this._marker = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineMarker", { get: function() { return this._lineMarker }, set: function(e) { this._lineMarker = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lighting", { get: function() { return this._lighting }, set: function(e) { this._lighting = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineColor", { get: function() { return this._lineColor }, set: function(e) { this._lineColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineWidth", { get: function() { return this._lineWidth }, set: function(e) { e > 0 && (this._lineWidth = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineStyle", { get: function() { return this._lineStyle }, set: function(e) { this._lineStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineColorNegative", { get: function() { return this._lineColorNegative }, set: function(e) { this._lineColorNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "allowApplyColorNegative", { get: function() { return this._allowApplyColorNegative }, set: function(e) { this._allowApplyColorNegative = e }, enumerable: !0, configurable: !0 }), p.prototype.getDefaultAreaType = function() { return t.StiStackedColumnArea } , p }(t.StiSeries); t.StiStackedBaseLineSeries = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiStackedLineSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiStackedLineSeries || (o.implementsStiStackedLineSeries = e.prototype.implements.call(this).concat([i, r.IStiStackedBaseLineSeries, r.IStiStackedLineSeries, r.IStiSeries, n])), o.implementsStiStackedLineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedLineSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiStackedColumnArea } , o.prototype.createNew = function() { return new o } , o }(r.StiStackedBaseLineSeries); r.StiStackedLineSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = function(e) { function u() { var t = e.call(this) || this; return t._brush = new a(l.gainsboro), t._brushNegative = new a(l.firebrick), t._allowApplyBrushNegative = !1, t.core = new r.StiStackedAreaSeriesCoreXF(t), t } return __extends(u, e), u.prototype.implements = function() { return u.implementsStiStackedAreaSeries || (u.implementsStiStackedAreaSeries = e.prototype.implements.call(this).concat([o, r.IStiStackedBaseLineSeries, r.IStiStackedLineSeries, n, r.IStiSeries, r.IStiStackedAreaSeries, r.IStiAllowApplyBrushNegative])), u.implementsStiStackedAreaSeries } , u.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), r.addPropertyStringNullOrEmpty("BrushNegative", i.Serialize.jBrush(this._brushNegative)), r.addPropertyBool("AllowApplyBrushNegative", this._allowApplyBrushNegative), r } , u.prototype.loadFromJsonObject = function(t) { var r, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Brush": this._brush = i.Deserialize.brush(s.value.toString()); break; case "BrushNegative": this._brushNegative = i.Deserialize.brush(s.value.toString()); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = s.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , u.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Brush": case "bh": this._brush = s.loadFromXml(i.textContent); break; case "BrushNegative": this._brushNegative = s.loadFromXml(i.textContent); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(u.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedAreaSeries }, enumerable: !0, configurable: !0 }), u.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.brush = this.coreBrush.clone(), t } , u.prototype.getDefaultAreaType = function() { return r.StiStackedColumnArea } , Object.defineProperty(u.prototype, "coreBrush", { get: function() { return this.brush }, set: function(e) { this.brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this.brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), u.prototype.createNew = function() { return new u } , u }(r.StiStackedLineSeries); r.StiStackedAreaSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedAreaSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedAreaSeries || (o.implementsStiFullStackedAreaSeries = e.prototype.implements.call(this).concat([r.IStiStackedAreaSeries, r.IStiStackedBaseLineSeries, r.IStiSeries, i, r.IStiFullStackedAreaSeries, r.IStiStackedLineSeries, n, r.IStiAllowApplyBrushNegative])), o.implementsStiFullStackedAreaSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedAreaSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiFullStackedColumnArea } , o.prototype.createNew = function() { return new o } , o }(r.StiStackedAreaSeries); r.StiFullStackedAreaSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = function(u) { function c() { var e = u.call(this) || this; return e._showZeros = !1, e._width = .8, e._borderColor = l.black, e._brush = new a(l.gainsboro), e._brushNegative = new a(l.firebrick), e._allowApplyBrushNegative = !1, e.core = new r.StiStackedColumnSeriesCoreXF(e), e } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiStackedColumnSeries || (c.implementsStiStackedColumnSeries = u.prototype.implements.call(this).concat([n, r.IStiStackedColumnSeries, o, r.IStiSeries, r.IStiAllowApplyBrushNegative])), c.implementsStiStackedColumnSeries } , c.prototype.saveToJsonObject = function(e) { var t = u.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TrendLine"), t.addPropertyBool("ShowZeros", this.showZeros), t.addPropertyNumber("Width", this._width, .8), t.addPropertyStringNullOrEmpty("BorderColor", i.Serialize.jColor(this._borderColor, l.black)), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), t.addPropertyStringNullOrEmpty("BrushNegative", i.Serialize.jBrush(this._brushNegative)), t.addPropertyBool("AllowApplyBrushNegative", this._allowApplyBrushNegative), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; u.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ShowZeros": this.showZeros = a.value.stimulsoft.toBoolean(); break; case "Width": this._width = a.value.stimulsoft.toNumber(); break; case "BorderColor": this._borderColor = i.Deserialize.color(a.value.toString()); break; case "Brush": this._brush = i.Deserialize.brush(a.value.toString()); break; case "BrushNegative": this._brushNegative = i.Deserialize.brush(a.value.toString()); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { u.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowZeros": this.showZeros = i.textContent.stimulsoft.toBoolean(); break; case "Width": this._width = i.textContent.stimulsoft.toNumber(); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "Brush": case "bh": this._brush = s.convertToBrush(i.textContent); break; case "BrushNegative": this._brushNegative = s.convertToBrush(i.textContent); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedColumnSeries }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { var e = u.prototype.clone.call(this); return e.brush = this.brush.clone(), e } , Object.defineProperty(c.prototype, "showZeros", { get: function() { return this._showZeros }, set: function(e) { this._showZeros = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "width", { get: function() { return this._width }, set: function(e) { e >= .01 && e <= 1 && (this._width = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this._brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), c.prototype.getDefaultAreaType = function() { return r.StiStackedColumnArea } , c.prototype.createNew = function() { return new c } , c }(r.StiSeries); r.StiStackedColumnSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedColumnSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedColumnSeries || (o.implementsStiFullStackedColumnSeries = e.prototype.implements.call(this).concat([r.IStiFullStackedColumnSeries, r.IStiStackedColumnSeries, n, r.IStiSeries, i, r.IStiAllowApplyBrushNegative])), o.implementsStiFullStackedColumnSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedColumnSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiFullStackedColumnArea } , o.prototype.createNew = function() { return new o } , o }(r.StiStackedColumnSeries); r.StiFullStackedColumnSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedLineSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedLineSeries || (o.implementsStiFullStackedLineSeries = e.prototype.implements.call(this).concat([i, r.IStiStackedBaseLineSeries, r.IStiStackedLineSeries, r.IStiSeries, n])), o.implementsStiFullStackedLineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedLineSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiFullStackedColumnArea } , o.prototype.createNew = function() { return new o } , o }(r.StiStackedLineSeries); r.StiFullStackedLineSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t._tension = .55, t.core = new r.StiStackedSplineSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiStackedSplineSeries || (o.implementsStiStackedSplineSeries = e.prototype.implements.call(this).concat([i, r.IStiStackedBaseLineSeries, n, r.IStiSeries, r.IStiStackedSplineSeries, r.IStiAllowApplyColorNegative])), o.implementsStiStackedSplineSeries } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("LineMarker"), r.addPropertyNumber("Tension", this._tension, .55), r } , o.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Tension": this._tension = a.value.stimulsoft.toNumber(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Tension": this._tension = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedSplineSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "tension", { get: function() { return this._tension }, set: function(e) { this._tension = e }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiStackedColumnArea } , o.prototype.createNew = function() { return new o } , o }(r.StiStackedBaseLineSeries); r.StiStackedSplineSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = function(e) { function u() { var t = e.call(this) || this; return t._brush = new a(l.gainsboro), t._brushNegative = new a(l.firebrick), t._allowApplyBrushNegative = !1, t.core = new r.StiStackedSplineAreaSeriesCoreXF(t), t } return __extends(u, e), u.prototype.implements = function() { return u.implementsStiStackedSplineAreaSeries || (u.implementsStiStackedSplineAreaSeries = e.prototype.implements.call(this).concat([r.IStiStackedSplineSeries, r.IStiStackedBaseLineSeries, r.IStiStackedSplineAreaSeries, n, r.IStiSeries, o, r.IStiAllowApplyBrushNegative])), u.implementsStiStackedSplineAreaSeries } , u.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), r.addPropertyStringNullOrEmpty("BrushNegative", i.Serialize.jBrush(this._brushNegative)), r.addPropertyBool("AllowApplyBrushNegative", this._allowApplyBrushNegative), r } , u.prototype.loadFromJsonObject = function(t) { var r, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Brush": this._brush = i.Deserialize.brush(s.value.toString()); break; case "BrushNegative": this._brushNegative = i.Deserialize.brush(s.value.toString()); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = s.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , u.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Brush": case "bh": this._brush = s.convertToBrush(i.textContent); break; case "BrushNegative": this._brushNegative = s.convertToBrush(i.textContent); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = i.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(u.prototype, "componentId", { get: function() { return t.StiComponentId.StiStackedSplineAreaSeries }, enumerable: !0, configurable: !0 }), u.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.brush = this.brush.clone(), t } , Object.defineProperty(u.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this.brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), u.prototype.getDefaultAreaType = function() { return r.StiStackedColumnArea } , u.prototype.createNew = function() { return new u } , u }(r.StiStackedSplineSeries); r.StiStackedSplineAreaSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedSplineAreaSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedSplineAreaSeries || (o.implementsStiFullStackedSplineAreaSeries = e.prototype.implements.call(this).concat([r.IStiStackedSplineSeries, r.IStiFullStackedSplineAreaSeries, r.IStiStackedBaseLineSeries, r.IStiStackedSplineAreaSeries, i, r.IStiSeries, n, r.IStiAllowApplyBrushNegative])), o.implementsStiFullStackedSplineAreaSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedSplineAreaSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiFullStackedColumnArea } , o.prototype.createNew = function() { return new o } , o }(r.StiStackedSplineAreaSeries); r.StiFullStackedSplineAreaSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFullStackedSplineSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFullStackedSplineSeries || (o.implementsStiFullStackedSplineSeries = e.prototype.implements.call(this).concat([r.IStiStackedSplineSeries, r.IStiStackedBaseLineSeries, r.IStiFullStackedSplineSeries, i, r.IStiSeries, n, r.IStiAllowApplyColorNegative])), o.implementsStiFullStackedSplineSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFullStackedSplineSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiFullStackedColumnArea } , o.prototype.createNew = function() { return new o } , o }(r.StiStackedSplineSeries); r.StiFullStackedSplineSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = function(u) { function c() { var e = u.call(this) || this; return e._showZeros = !1, e._allowApplyBrush = !0, e._allowApplyBorderColor = !0, e._brush = new a(l.gainsboro), e._borderColor = l.gray, e.core = new r.StiFunnelSeriesCoreXF(e), e } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiFunnelSeries || (c.implementsStiFunnelSeries = u.prototype.implements.call(this).concat([n, r.IStiFunnelSeries, r.IStiSeries, o])), c.implementsStiFunnelSeries } , c.prototype.saveToJsonObject = function(e) { var t = u.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TrendLine"), t.addPropertyBool("ShowZeros", this.showZeros), t.addPropertyBool("AllowApplyBrush", this._allowApplyBrush, !0), t.addPropertyBool("AllowApplyBorderColor", this._allowApplyBorderColor, !0), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), t.addPropertyStringNullOrEmpty("BorderColor", i.Serialize.jColor(this._borderColor, l.gray)), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; u.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ShowZeros": this.showZeros = a.value.stimulsoft.toBoolean(); break; case "AllowApplyBrush": this._allowApplyBrush = a.value.stimulsoft.toBoolean(); break; case "AllowApplyBorderColor": this._allowApplyBorderColor = a.value.stimulsoft.toBoolean(); break; case "Brush": this._brush = i.Deserialize.brush(a.value.toString()); break; case "BorderColor": this._borderColor = i.Deserialize.color(a.value.toString()); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { u.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowZeros": this.showZeros = i.textContent.stimulsoft.toBoolean(); break; case "AllowApplyBrush": this._allowApplyBrush = i.textContent.stimulsoft.toBoolean(); break; case "AllowApplyBorderColor": this._allowApplyBorderColor = i.textContent.stimulsoft.toBoolean(); break; case "Brush": case "bh": this._brush = s.loadFromXml(i.textContent); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiFunnelSeries }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { return u.prototype.clone.call(this) } , c.prototype.getDefaultAreaType = function() { return r.StiFunnelArea } , Object.defineProperty(c.prototype, "showZeros", { get: function() { return this._showZeros }, set: function(e) { this._showZeros = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "allowApplyBrush", { get: function() { return this._allowApplyBrush }, set: function(e) { this._allowApplyBrush != e && (this._allowApplyBrush = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "allowApplyBorderColor", { get: function() { return this._allowApplyBorderColor }, set: function(e) { this._allowApplyBorderColor != e && (this._allowApplyBorderColor = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), c.prototype.createNew = function() { return new c } , c }(r.StiSeries); r.StiFunnelSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiFunnelWeightedSlicesSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiFunnelWeightedSlicesSeries || (o.implementsStiFunnelWeightedSlicesSeries = e.prototype.implements.call(this).concat([i, r.IStiFunnelSeries, r.IStiFunnelWeightedSlicesSeries, r.IStiSeries, n])), o.implementsStiFunnelWeightedSlicesSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiFunnelWeightedSlicesSeries }, enumerable: !0, configurable: !0 }), o.prototype.clone = function() { return e.prototype.clone.call(this) } , o.prototype.getDefaultAreaType = function() { return r.StiFunnelWeightedSlicesArea } , o.prototype.createNew = function() { return new o } , o }(r.StiFunnelSeries); r.StiFunnelWeightedSlicesSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Report.Expressions.StiExpression , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.Report.Components.StiText , l = e.System.Text.StringBuilder , u = function(u) { function c() { var e = u.call(this) || this; return e._valuesEnd = [3, 5, 9], e._valueDataColumnEnd = "", e.valueObjEnd = "", e._listOfValuesEnd = "", e.core = new r.StiGanttSeriesCoreXF(e), e } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiGanttSeries || (c.implementsStiGanttSeries = u.prototype.implements.call(this).concat([r.IStiClusteredColumnSeries, r.IStiClusteredBarSeries, r.IStiRangeSeries, o, r.IStiSeries, r.IStiGanttSeries, a, r.IStiAllowApplyBrushNegative])), c.implementsStiGanttSeries } , c.prototype.saveToJsonObject = function(e) { var t = u.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TopN"), t.removeProperty("TrendLine"), t.addPropertyString("ValueDataColumnEnd", this._valueDataColumnEnd), t.addPropertyJObject("ValueEnd", new n(this.valueEnd).saveToJsonObject(e)), t.addPropertyJObject("ListOfValuesEnd", new n(this.listOfValuesEnd).saveToJsonObject(e)), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; u.prototype.loadFromJsonObject.call(this, e); try { for (var i = __values(e.properties()), o = i.next(); !o.done; o = i.next()) { var a = o.value; switch (a.name) { case "ValueDataColumnEnd": this._valueDataColumnEnd = a.value.toString(); break; case "GetValueEndEvent": break; case "GetListOfValuesEndEvent": break; case "ValueEnd": var s = new n; s.loadFromJsonObject(a.value), this.valueEnd = s.value; break; case "ListOfValuesEnd": var s = new n; s.loadFromJsonObject(a.value), this.listOfValuesEnd = s.value; break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(e) { u.prototype.loadFromXml.call(this, e); for (var t = 0; t < e.childNodes.length; t++) { var r = e.childNodes[t]; switch (r.nodeName) { case "ValueDataColumnEnd": this._valueDataColumnEnd = r.textContent.toString(); break; case "GetValueEndEvent": break; case "GetListOfValuesEndEvent": break; case "ValueEnd": var i = new n; i.loadFromXml(r), this.valueEnd = i.value; break; case "ListOfValuesEnd": var i = new n; i.loadFromXml(r), this.listOfValuesEnd = i.value; break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiGanttSeries }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { return u.prototype.clone.call(this) } , c.prototype.getDefaultAreaType = function() { return r.StiGanttArea } , Object.defineProperty(c.prototype, "valuesEnd", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.listOfValuesEnd)) return r.StiSeries.getNullableValuesFromString(this, this.listOfValuesEnd); var e = this.chart.series.indexOf(this); if (0 == e) return this._valuesEnd; return [3 + 3 * e, 5 + 4 * e, 9 + 3 * e] } return this._valuesEnd }, set: function(e) { this._valuesEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "valuesStringEnd", { get: function() { var e, t, r = new l, i = !0; try { for (var n = __values(this.valuesEnd), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", a) : r.appendFormat(";{0}", a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this._valuesEnd = []; else { var i = e.split(";"); this._valuesEnd = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this._valuesEnd[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "valueDataColumnEnd", { get: function() { return this._valueDataColumnEnd }, set: function(e) { this._valueDataColumnEnd = e }, enumerable: !0, configurable: !0 }), c.prototype.onGetValueEnd = function(e) {} , c.prototype.invokeGetValueEnd = function(r, i) { try { if (this.onGetValueEnd(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new s; n.name = "**ChartGanttSeriesValueEnd**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.valueEnd, n); i.value = r.report.toString2(o) } null != this.getValueEnd && this.getValueEnd(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , c.prototype.onGetListOfValuesEnd = function(e) {} , c.prototype.invokeGetListOfValuesEnd = function(r, i, n) { try { if (n.onGetListOfValuesEnd(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var o = new s; o.name = "**ChartGanttSeriesListOfValuesEnd**", o.page = r.report.pages.getByIndex(0); var a = t.Engine.StiParser.StiParser.parseTextValue(n.listOfValuesEnd, o); i.value = r.report.toString2(a) } null != n.getListOfValuesEnd && n.getListOfValuesEnd(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , Object.defineProperty(c.prototype, "valueEnd", { get: function() { return this.valueObjEnd }, set: function(e) { this.valueObjEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "listOfValuesEnd", { get: function() { return this._listOfValuesEnd }, set: function(e) { this._listOfValuesEnd = e }, enumerable: !0, configurable: !0 }), c.prototype.createNew = function() { return new c } , c }(r.StiClusteredBarSeries); r.StiGanttSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Report.Helpers.StiFontIcons , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.System.Enum , s = function(e) { function s() { var t = e.call(this) || this; return t._icon = i.QuarterFull, t.core = new r.StiPictorialSeriesCoreXF(t), t } return __extends(s, e), s.prototype.implements = function() { return s.implementsStiPictorialSeries || (s.implementsStiPictorialSeries = e.prototype.implements.call(this).concat([r.IStiPictorialSeries, o, r.IStiSeries, n])), s.implementsStiPictorialSeries } , s.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyEnum("Icon", i, this.icon, i.QuarterFull), r } , s.prototype.loadFromJsonObject = function(t) { var r, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), s = o.next(); !s.done; s = o.next()) { var l = s.value; switch (l.name) { case "Icon": this._icon = a.parse(i, l.value.toString()); break } } } catch (e) { r = { error: e } } finally { try { s && !s.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , s.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var n = t.childNodes[r]; switch (n.nodeName) { case "Icon": this._icon = a.parse(i, n.textContent); break } } } , Object.defineProperty(s.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "icon", { get: function() { return this._icon }, set: function(e) { this._icon = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "componentId", { get: function() { return t.StiComponentId.StiPictorialSeries }, enumerable: !0, configurable: !0 }), s.prototype.clone = function() { return e.prototype.clone.call(this) } , s.prototype.getDefaultAreaType = function() { return r.StiPictorialArea } , s.prototype.createNew = function() { return new s } , s }(r.StiSeries); r.StiPictorialSeries = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.JsonReportObject.IStiJsonReportObject , i = e.System.ICloneable , n = function(e) { function n() { var r = null !== e && e.apply(this, arguments) || this; return r._showNulls = !0, r._marker = new t.StiMarker, r } return __extends(n, e), n.prototype.implements = function() { return n.implementsStiRadarSeries || (n.implementsStiRadarSeries = e.prototype.implements.call(this).concat([r, i, t.IStiSeries, t.IStiRadarSeries])), n.implementsStiRadarSeries } , n.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("TrendLine"), r.addPropertyBool("ShowNulls", this._showNulls, !0), r.addPropertyJObject("Marker", this.marker.saveToJsonObject(t)), r } , n.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "ShowNulls": this._showNulls = a.value.stimulsoft.toBoolean(); break; case "Marker": this._marker.loadFromJsonObject(a.value); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , n.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "ShowNulls": this._showNulls = i.textContent.stimulsoft.toBoolean(); break; case "Marker": this._marker.loadFromXml(i); break } } } , n.prototype.clone = function() { var t = e.prototype.clone.call(this); return null != this.marker && (t.marker = this.marker.clone()), t } , Object.defineProperty(n.prototype, "showNulls", { get: function() { return this._showNulls }, set: function(e) { this._showNulls = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(n.prototype, "marker", { get: function() { return this._marker }, set: function(e) { this._marker = e }, enumerable: !0, configurable: !0 }), n }(t.StiSeries); t.StiRadarSeries = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiPenStyle , l = e.Base.Drawing.StiBrush , u = e.System.Enum , c = e.System.Drawing.Color , h = function(h) { function p() { var e = h.call(this) || this; return e._lineColor = c.black, e._lineStyle = s.Solid, e._lighting = !0, e._lineWidth = 2, e._brush = new a(c.gainsboro), e.core = new r.StiRadarAreaSeriesCoreXF(e), e } return __extends(p, h), p.prototype.implements = function() { return p.implementsStiRadarAreaSeries || (p.implementsStiRadarAreaSeries = h.prototype.implements.call(this).concat([r.IStiRadarSeries, r.IStiRadarLineSeries, n, r.IStiSeries, r.IStiRadarAreaSeries, o])), p.implementsStiRadarAreaSeries } , p.prototype.saveToJsonObject = function(e) { var t = h.prototype.saveToJsonObject.call(this, e); return t.addPropertyStringNullOrEmpty("LineColor", i.Serialize.jColor(this.lineColor, c.black)), t.addPropertyEnum("LineStyle", s, this.lineStyle, s.Solid), t.addPropertyBool("Lighting", this.lighting, !0), t.addPropertyNumber("LineWidth", this.lineWidth, 2), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), t } , p.prototype.loadFromJsonObject = function(e) { var t, r; h.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "LineColor": this.lineColor = i.Deserialize.color(a.value.toString()); break; case "LineStyle": this.lineStyle = u.parse(s, a.value.toString()); break; case "Lighting": this.lighting = a.value.stimulsoft.toBoolean(); break; case "LineWidth": this.lineWidth = a.value.stimulsoft.toNumber(); break; case "Brush": this._brush = i.Deserialize.brush(a.value.toString()); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , p.prototype.loadFromXml = function(t) { h.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "LineColor": this.lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "LineStyle": this.lineStyle = u.parse(s, i.textContent); break; case "Lighting": this.lighting = i.textContent.stimulsoft.toBoolean(); break; case "LineWidth": this.lineWidth = i.textContent.stimulsoft.toNumber(); break; case "Brush": case "bh": this._brush = l.convertToBrush(i.textContent); break } } } , Object.defineProperty(p.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadarAreaSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineColor", { get: function() { return this._lineColor }, set: function(e) { this._lineColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineStyle", { get: function() { return this._lineStyle }, set: function(e) { this._lineStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lighting", { get: function() { return this._lighting }, set: function(e) { this._lighting = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "lineWidth", { get: function() { return this._lineWidth }, set: function(e) { e > 0 && (this._lineWidth = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), p.prototype.getDefaultAreaType = function() { return r.StiRadarAreaArea } , p.prototype.createNew = function() { return new p } , p }(r.StiRadarSeries); r.StiRadarAreaSeries = h }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiPenStyle , s = e.System.Enum , l = e.System.Drawing.Color , u = function(u) { function c() { var e = u.call(this) || this; return e._lineColor = l.black, e._lineStyle = a.Solid, e._lighting = !0, e._lineWidth = 2, e.core = new r.StiRadarLineSeriesCoreXF(e), e } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiRadarLineSeries || (c.implementsStiRadarLineSeries = u.prototype.implements.call(this).concat([n, r.IStiRadarLineSeries, o, r.IStiSeries, r.IStiRadarSeries])), c.implementsStiRadarLineSeries } , c.prototype.saveToJsonObject = function(e) { var t = u.prototype.saveToJsonObject.call(this, e); return t.addPropertyStringNullOrEmpty("LineColor", i.Serialize.jColor(this.lineColor, l.black)), t.addPropertyEnum("LineStyle", a, this.lineStyle, a.Solid), t.addPropertyBool("Lighting", this.lighting, !0), t.addPropertyNumber("LineWidth", this.lineWidth, 2), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; u.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var l = o.value; switch (l.name) { case "LineColor": this.lineColor = i.Deserialize.color(l.value.toString()); break; case "LineStyle": this.lineStyle = s.parse(a, l.value.toString()); break; case "Lighting": this.lighting = l.value.stimulsoft.toBoolean(); break; case "LineWidth": this.lineWidth = l.value.stimulsoft.toNumber(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { u.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "LineColor": this.lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "LineStyle": this.lineStyle = s.parse(a, i.textContent); break; case "Lighting": this.lighting = i.textContent.stimulsoft.toBoolean(); break; case "LineWidth": this.lineWidth = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadarLineSeries }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "lineColor", { get: function() { return this._lineColor }, set: function(e) { this._lineColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "lineStyle", { get: function() { return this._lineStyle }, set: function(e) { this._lineStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "lighting", { get: function() { return this._lighting }, set: function(e) { this._lighting = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "lineWidth", { get: function() { return this._lineWidth }, set: function(e) { e > 0 && (this._lineWidth = e) }, enumerable: !0, configurable: !0 }), c.prototype.getDefaultAreaType = function() { return r.StiRadarLineArea } , c.prototype.createNew = function() { return new c } , c }(r.StiRadarSeries); r.StiRadarLineSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiRadarPointSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiRadarPointSeries || (o.implementsStiRadarPointSeries = e.prototype.implements.call(this).concat([i, r.IStiRadarPointSeries, n, r.IStiSeries, r.IStiRadarSeries])), o.implementsStiRadarPointSeries } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadarPointSeries }, enumerable: !0, configurable: !0 }), o.prototype.getDefaultAreaType = function() { return r.StiRadarPointArea } , o.prototype.createNew = function() { return new o } , o }(r.StiRadarSeries); r.StiRadarPointSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Report.Expressions.StiExpression , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.Report.Components.StiText , l = e.System.Text.StringBuilder , u = function(u) { function c() { var e = u.call(this) || this; return e._valuesEnd = [3, 5, 9], e._valueDataColumnEnd = "", e.valueObjEnd = "", e._listOfValuesEnd = "", e.core = new r.StiRangeBarSeriesCoreXF(e), e } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiRangeBarSeries || (c.implementsStiRangeBarSeries = u.prototype.implements.call(this).concat([r.IStiRangeBarSeries, r.IStiClusteredColumnSeries, r.IStiRangeSeries, o, r.IStiSeries, a, r.IStiAllowApplyBrushNegative])), c.implementsStiRangeBarSeries } , c.prototype.saveToJsonObject = function(e) { var t = u.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TopN"), t.removeProperty("TrendLine"), t.addPropertyStringNullOrEmpty("ValueDataColumnEnd", this._valueDataColumnEnd), t.addPropertyJObject("Value", new n(this.value).saveToJsonObject(e)), t.addPropertyJObject("ValueEnd", new n(this.valueEnd).saveToJsonObject(e)), t.addPropertyJObject("ListOfValues", new n(this.listOfValues).saveToJsonObject(e)), t.addPropertyJObject("ListOfValuesEnd", new n(this.listOfValuesEnd).saveToJsonObject(e)), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; u.prototype.loadFromJsonObject.call(this, e); try { for (var i = __values(e.properties()), o = i.next(); !o.done; o = i.next()) { var a = o.value; switch (a.name) { case "ValueDataColumnEnd": this._valueDataColumnEnd = a.value.toString(); break; case "GetValueEndEvent": break; case "GetListOfValuesEndEvent": break; case "Value": var s = new n; s.loadFromJsonObject(a.value), this.value = s.value; break; case "ValueEnd": var s = new n; s.loadFromJsonObject(a.value), this.valueEnd = s.value; break; case "ListOfValues": var s = new n; s.loadFromJsonObject(a.value), this.listOfValues = s.value; break; case "ListOfValuesEnd": var s = new n; s.loadFromJsonObject(a.value), this.listOfValuesEnd = s.value; break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(e) { u.prototype.loadFromXml.call(this, e); for (var t = 0; t < e.childNodes.length; t++) { var r = e.childNodes[t]; switch (r.nodeName) { case "ValueDataColumnEnd": this._valueDataColumnEnd = r.textContent; break; case "GetValueEndEvent": break; case "GetListOfValuesEndEvent": break; case "Value": var i = new n; i.loadFromXml(r), this.value = i.value; break; case "ValueEnd": var i = new n; i.loadFromXml(r), this.valueEnd = i.value; break; case "ListOfValues": var i = new n; i.loadFromXml(r), this.listOfValues = i.value; break; case "ListOfValuesEnd": var i = new n; i.loadFromXml(r), this.listOfValuesEnd = i.value; break } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiRangeBarSeries }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { return u.prototype.clone.call(this) } , c.prototype.getDefaultAreaType = function() { return r.StiRangeBarArea } , Object.defineProperty(c.prototype, "valuesEnd", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.listOfValuesEnd)) return r.StiSeries.getNullableValuesFromString(this, this.listOfValuesEnd); var e = this.chart.series.indexOf(this); if (0 == e) return this._valuesEnd; return [3 + 3 * e, 5 + 4 * e, 9 + 3 * e] } return this._valuesEnd }, set: function(e) { this._valuesEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "valuesStringEnd", { get: function() { var e, t, r = new l, i = !0; try { for (var n = __values(this.valuesEnd), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", a) : r.appendFormat(";{0}", a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this._valuesEnd = []; else { var i = e.split(";"); this._valuesEnd = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this._valuesEnd[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "valueDataColumnEnd", { get: function() { return this._valueDataColumnEnd }, set: function(e) { this._valueDataColumnEnd = e }, enumerable: !0, configurable: !0 }), c.prototype.onGetValueEnd = function(e) {} , c.prototype.invokeGetValueEnd = function(r, i) { try { if (this.onGetValueEnd(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new s; n.name = "**ChartGanttSeriesValueEnd**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.valueEnd, n); i.value = r.report.toString2(o) } null != this.getValueEnd && this.getValueEnd(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , c.prototype.onGetListOfValuesEnd = function(e) {} , c.prototype.invokeGetListOfValuesEnd = function(r, i, n) { try { if (n.onGetListOfValuesEnd(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var o = new s; o.name = "**ChartGanttSeriesListOfValuesEnd**", o.page = r.report.pages.getByIndex(0); var a = t.Engine.StiParser.StiParser.parseTextValue(n.listOfValuesEnd, o); i.value = r.report.toString2(a) } null != n.getListOfValuesEnd && n.getListOfValuesEnd(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , Object.defineProperty(c.prototype, "valueEnd", { get: function() { return this.valueObjEnd }, set: function(e) { this.valueObjEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "listOfValuesEnd", { get: function() { return this._listOfValuesEnd }, set: function(e) { this._listOfValuesEnd = e }, enumerable: !0, configurable: !0 }), c.prototype.createNew = function() { return new c } , c }(r.StiClusteredColumnSeries); r.StiRangeBarSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Report.Expressions.StiExpression , o = e.Base.StiJsonReportObjectHelper , a = e.Base.JsonReportObject.IStiJsonReportObject , s = e.System.ICloneable , l = e.Report.Components.StiText , u = e.System.Text.StringBuilder , c = e.Base.Drawing.StiSolidBrush , h = e.Base.Drawing.StiBrush , p = e.System.Drawing.Color , f = function(f) { function m() { var e = f.call(this) || this; return e._brush = new c(p.gainsboro), e._valuesEnd = [3, 5, 9], e._valueDataColumnEnd = "", e._brushNegative = new c(p.firebrick), e._allowApplyBrushNegative = !1, e.valueObjEnd = "", e._listOfValuesEnd = "", e.core = new r.StiRangeSeriesCoreXF(e), e } return __extends(m, f), m.prototype.implements = function() { return m.implementsStiRangeSeries || (m.implementsStiRangeSeries = f.prototype.implements.call(this).concat([r.IStiLineSeries, r.IStiLineRangeSeries, r.IStiBaseLineSeries, r.IStiRangeSeries, a, r.IStiSeries, s, r.IStiAllowApplyColorNegative])), m.implementsStiRangeSeries } , m.prototype.saveToJsonObject = function(e) { var t = f.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TopN"), t.removeProperty("TrendLine"), t.addPropertyStringNullOrEmpty("Brush", o.Serialize.jBrush(this._brush)), t.addPropertyStringNullOrEmpty("ValueDataColumnEnd", this._valueDataColumnEnd), t.addPropertyStringNullOrEmpty("BrushNegative", o.Serialize.jBrush(this._brushNegative)), t.addPropertyBool("AllowApplyBrushNegative", this._allowApplyBrushNegative), t.addPropertyJObject("ValueEnd", new n(this.valueEnd).saveToJsonObject(e)), t.addPropertyJObject("ListOfValuesEnd", new n(this.listOfValuesEnd).saveToJsonObject(e)), t } , m.prototype.loadFromJsonObject = function(e) { var t, r; f.prototype.loadFromJsonObject.call(this, e); try { for (var i = __values(e.properties()), a = i.next(); !a.done; a = i.next()) { var s = a.value; switch (s.name) { case "Brush": this._brush = o.Deserialize.brush(s.value.toString()); break; case "ValueDataColumnEnd": this._valueDataColumnEnd = s.value.toString(); break; case "BrushNegative": this._brushNegative = o.Deserialize.brush(s.value.toString()); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = s.value.stimulsoft.toBoolean(); break; case "GetValueEndEvent": break; case "GetListOfValuesEndEvent": break; case "ValueEnd": var l = new n; l.loadFromJsonObject(s.value), this.valueEnd = l.value; break; case "ListOfValuesEnd": var l = new n; l.loadFromJsonObject(s.value), this.listOfValuesEnd = l.value; break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } } , m.prototype.loadFromXml = function(e) { f.prototype.loadFromXml.call(this, e); for (var t = 0; t < e.childNodes.length; t++) { var r = e.childNodes[t]; switch (r.nodeName) { case "Brush": case "bh": this._brush = h.loadFromXml(r.textContent); break; case "ValueDataColumnEnd": this._valueDataColumnEnd = r.textContent; break; case "BrushNegative": this._brushNegative = h.loadFromXml(r.textContent); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = r.textContent.stimulsoft.toBoolean(); break; case "GetValueEndEvent": break; case "GetListOfValuesEndEvent": break; case "ValueEnd": var i = new n; i.loadFromXml(r), this.valueEnd = i.value; break; case "ListOfValuesEnd": var i = new n; i.loadFromXml(r), this.listOfValuesEnd = i.value; break } } } , Object.defineProperty(m.prototype, "componentId", { get: function() { return t.StiComponentId.StiRangeSeries }, enumerable: !0, configurable: !0 }), m.prototype.clone = function() { return f.prototype.clone.call(this) } , m.prototype.getDefaultAreaType = function() { return r.StiRangeArea } , Object.defineProperty(m.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesEnd", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.listOfValuesEnd)) return r.StiSeries.getNullableValuesFromString(this, this.listOfValuesEnd); var e = this.chart.series.indexOf(this); if (0 == e) return this._valuesEnd; return [3 + 3 * e, 5 + 4 * e, 9 + 3 * e] } return this._valuesEnd }, set: function(e) { this._valuesEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesStringEnd", { get: function() { var e, t, r = new u, i = !0; try { for (var n = __values(this.valuesEnd), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", a) : r.appendFormat(";{0}", a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this.valuesEnd = []; else { var i = e.split(";"); this.valuesEnd = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this.valuesEnd[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valueDataColumnEnd", { get: function() { return this._valueDataColumnEnd }, set: function(e) { this._valueDataColumnEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this._brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), m.prototype.onGetValueEnd = function(e) {} , m.prototype.invokeGetValueEnd = function(r, i) { try { if (this.onGetValueEnd(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartRangeSeriesValueEnd**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.valueEnd, n); i.value = r.report.toString2(o) } null != this.getValueEnd && this.getValueEnd(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , m.prototype.onGetListOfValuesEnd = function(e) {} , m.prototype.invokeGetListOfValuesEnd = function(r, i, n) { try { if (n.onGetListOfValuesEnd(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var o = new l; o.name = "**ChartRangeSeriesListOfValuesEnd**", o.page = r.report.pages.getByIndex(0); var a = t.Engine.StiParser.StiParser.parseTextValue(n.listOfValuesEnd, o); i.value = r.report.toString2(a) } null != n.getListOfValuesEnd && n.getListOfValuesEnd(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , Object.defineProperty(m.prototype, "valueEnd", { get: function() { return this.valueObjEnd }, set: function(e) { this.valueObjEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "listOfValuesEnd", { get: function() { return this._listOfValuesEnd }, set: function(e) { this._listOfValuesEnd = e }, enumerable: !0, configurable: !0 }), m.prototype.createNew = function() { return new m } , m }(r.StiLineSeries); r.StiRangeSeries = f }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Report.Expressions.StiExpression , o = e.Base.StiJsonReportObjectHelper , a = e.Base.JsonReportObject.IStiJsonReportObject , s = e.System.ICloneable , l = e.Report.Components.StiText , u = e.System.Text.StringBuilder , c = e.Base.Drawing.StiSolidBrush , h = e.Base.Drawing.StiBrush , p = e.System.Drawing.Color , f = function(f) { function m() { var e = f.call(this) || this; return e._brush = new c(p.gainsboro), e._valuesEnd = [4, 5, 9], e._valueDataColumnEnd = "", e.valueObjEnd = "", e._listOfValuesEnd = "", e.core = new r.StiSplineRangeSeriesCoreXF(e), e } return __extends(m, f), m.prototype.implements = function() { return m.implementsStiSplineRangeSeries || (m.implementsStiSplineRangeSeries = f.prototype.implements.call(this).concat([r.IStiSplineSeries, r.IStiSplineRangeSeries, r.IStiBaseLineSeries, r.IStiRangeSeries, a, r.IStiSeries, s, r.IStiAllowApplyColorNegative])), m.implementsStiSplineRangeSeries } , m.prototype.saveToJsonObject = function(e) { var t = f.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TopN"), t.removeProperty("TrendLine"), t.addPropertyStringNullOrEmpty("Brush", o.Serialize.jBrush(this._brush)), t.addPropertyStringNullOrEmpty("ValueDataColumnEnd", this._valueDataColumnEnd), t.addPropertyJObject("ValueEnd", new n(this.valueEnd).saveToJsonObject(e)), t.addPropertyJObject("ListOfValuesEnd", new n(this.listOfValuesEnd).saveToJsonObject(e)), t } , m.prototype.loadFromJsonObject = function(e) { var t, r; f.prototype.loadFromJsonObject.call(this, e); try { for (var i = __values(e.properties()), a = i.next(); !a.done; a = i.next()) { var s = a.value; switch (s.name) { case "Brush": this._brush = o.Deserialize.brush(s.value.toString()); break; case "ValueDataColumnEnd": this._valueDataColumnEnd = s.value.toString(); break; case "GetValueEndEvent": break; case "GetListOfValuesEndEvent": break; case "ValueEnd": var l = new n; l.loadFromJsonObject(s.value), this.valueEnd = l.value; break; case "ListOfValuesEnd": var l = new n; l.loadFromJsonObject(s.value), this.listOfValuesEnd = l.value; break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } } , m.prototype.loadFromXml = function(e) { f.prototype.loadFromXml.call(this, e); for (var t = 0; t < e.childNodes.length; t++) { var r = e.childNodes[t]; switch (r.nodeName) { case "Brush": case "bh": this._brush = h.convertToBrush(r.textContent); break; case "ValueDataColumnEnd": this._valueDataColumnEnd = r.textContent; break; case "GetValueEndEvent": break; case "GetListOfValuesEndEvent": break; case "ValueEnd": var i = new n; i.loadFromXml(r), this.valueEnd = i.value; break; case "ListOfValuesEnd": var i = new n; i.loadFromXml(r), this.listOfValuesEnd = i.value; break } } } , Object.defineProperty(m.prototype, "componentId", { get: function() { return t.StiComponentId.StiSplineRangeSeries }, enumerable: !0, configurable: !0 }), m.prototype.clone = function() { return f.prototype.clone.call(this) } , m.prototype.getDefaultAreaType = function() { return r.StiSplineRangeArea } , Object.defineProperty(m.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesEnd", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.listOfValuesEnd)) return r.StiSeries.getNullableValuesFromString(this, this.listOfValuesEnd); var e = this.chart.series.indexOf(this); if (0 == e) return this._valuesEnd; return [3 + 3 * e, 5 + 4 * e, 9 + 3 * e] } return this._valuesEnd }, set: function(e) { this._valuesEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesStringEnd", { get: function() { var e, t, r = new u, i = !0; try { for (var n = __values(this._valuesEnd), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", a) : r.appendFormat(";{0}", a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this._valuesEnd = []; else { var i = e.split(";"); this._valuesEnd = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this._valuesEnd[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valueDataColumnEnd", { get: function() { return this._valueDataColumnEnd }, set: function(e) { this._valueDataColumnEnd = e }, enumerable: !0, configurable: !0 }), m.prototype.onGetValueEnd = function(e) {} , m.prototype.invokeGetValueEnd = function(r, i) { try { if (this.onGetValueEnd(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartSteppedRangeSeriesValueEnd**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.valueEnd, n); i.value = r.report.toString2(o) } null != this.getValueEnd && this.getValueEnd(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , m.prototype.onGetListOfValuesEnd = function(e) {} , m.prototype.invokeGetListOfValuesEnd = function(r, i, n) { try { if (n.onGetListOfValuesEnd(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var o = new l; o.name = "**ChartSteppedRangeSeriesListOfValuesEnd**", o.page = r.report.pages.getByIndex(0); var a = t.Engine.StiParser.StiParser.parseTextValue(n.listOfValuesEnd, o); i.value = r.report.toString2(a) } null != n.getListOfValuesEnd && n.getListOfValuesEnd(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , Object.defineProperty(m.prototype, "valueEnd", { get: function() { return this.valueObjEnd }, set: function(e) { this.valueObjEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "listOfValuesEnd", { get: function() { return this._listOfValuesEnd }, set: function(e) { this._listOfValuesEnd = e }, enumerable: !0, configurable: !0 }), m.prototype.createNew = function() { return new m } , m }(r.StiSplineSeries); r.StiSplineRangeSeries = f }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Report.Expressions.StiExpression , o = e.Base.StiJsonReportObjectHelper , a = e.Base.JsonReportObject.IStiJsonReportObject , s = e.System.ICloneable , l = e.Report.Components.StiText , u = e.System.Text.StringBuilder , c = e.Base.Drawing.StiSolidBrush , h = e.Base.Drawing.StiBrush , p = e.System.Drawing.Color , f = function(f) { function m() { var e = f.call(this) || this; return e._brush = new c(p.gainsboro), e._valuesEnd = [4, 5, 9], e._valueDataColumnEnd = "", e._brushNegative = new c(p.firebrick), e._allowApplyBrushNegative = !1, e.valueObjEnd = "", e._listOfValuesEnd = "", e.core = new r.StiSteppedRangeSeriesCoreXF(e), e } return __extends(m, f), m.prototype.implements = function() { return m.implementsStiSteppedRangeSeries || (m.implementsStiSteppedRangeSeries = f.prototype.implements.call(this).concat([r.IStiSteppedLineSeries, r.IStiBaseLineSeries, r.IStiRangeSeries, r.IStiSteppedRangeSeries, a, r.IStiSeries, s, r.IStiAllowApplyColorNegative])), m.implementsStiSteppedRangeSeries } , m.prototype.saveToJsonObject = function(e) { var t = f.prototype.saveToJsonObject.call(this, e); return t.removeProperty("TopN"), t.removeProperty("TrendLine"), t.addPropertyStringNullOrEmpty("Brush", o.Serialize.jBrush(this._brush)), t.addPropertyStringNullOrEmpty("ValueDataColumnEnd", this._valueDataColumnEnd), t.addPropertyStringNullOrEmpty("BrushNegative", o.Serialize.jBrush(this._brushNegative)), t.addPropertyBool("AllowApplyBrushNegative", this._allowApplyBrushNegative), t.addPropertyJObject("ValueEnd", new n(this.valueObjEnd).saveToJsonObject(e)), t.addPropertyJObject("ListOfValuesEnd", new n(this.listOfValuesEnd).saveToJsonObject(e)), t } , m.prototype.loadFromJsonObject = function(e) { var t, r; f.prototype.loadFromJsonObject.call(this, e); try { for (var i = __values(e.properties()), a = i.next(); !a.done; a = i.next()) { var s = a.value; switch (s.name) { case "Brush": this._brush = o.Deserialize.brush(s.value.toString()); break; case "ValueDataColumnEnd": this._valueDataColumnEnd = s.value.toString(); break; case "BrushNegative": this._brushNegative = o.Deserialize.brush(s.value.toString()); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = s.value.stimulsoft.toBoolean(); break; case "GetValueEndEvent": break; case "GetListOfValuesEndEvent": break; case "ValueEnd": var l = new n; l.loadFromJsonObject(s.value), this.valueObjEnd = l.value; break; case "ListOfValuesEnd": var l = new n; l.loadFromJsonObject(s.value), this.listOfValuesEnd = l.value; break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } } , m.prototype.loadFromXml = function(e) { f.prototype.loadFromXml.call(this, e); for (var t = 0; t < e.childNodes.length; t++) { var r = e.childNodes[t]; switch (r.nodeName) { case "Brush": case "bh": this._brush = h.loadFromXml(r.textContent); break; case "ValueDataColumnEnd": this._valueDataColumnEnd = r.textContent; break; case "BrushNegative": this._brushNegative = h.loadFromXml(r.textContent); break; case "AllowApplyBrushNegative": this._allowApplyBrushNegative = r.textContent.stimulsoft.toBoolean(); break; case "GetValueEndEvent": break; case "GetListOfValuesEndEvent": break; case "ValueEnd": var i = new n; i.loadFromXml(r), this.valueObjEnd = i.value; break; case "ListOfValuesEnd": var i = new n; i.loadFromXml(r), this.listOfValuesEnd = i.value; break } } } , Object.defineProperty(m.prototype, "componentId", { get: function() { return t.StiComponentId.StiSteppedRangeSeries }, enumerable: !0, configurable: !0 }), m.prototype.clone = function() { return f.prototype.clone.call(this) } , m.prototype.getDefaultAreaType = function() { return r.StiSteppedRangeArea } , Object.defineProperty(m.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesEnd", { get: function() { if (null != this.chart && null != this.chart.report && this.chart.isDesigning) { if (!i.isNullOrEmpty(this.listOfValuesEnd)) return r.StiSeries.getNullableValuesFromString(this, this.listOfValuesEnd); var e = this.chart.series.indexOf(this); if (0 == e) return this._valuesEnd; return [3 + 3 * e, 5 + 4 * e, 9 + 3 * e] } return this._valuesEnd }, set: function(e) { this._valuesEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valuesStringEnd", { get: function() { var e, t, r = new u, i = !0; try { for (var n = __values(this.valuesEnd), o = n.next(); !o.done; o = n.next()) { var a = o.value; i ? r.appendFormat("{0}", a) : r.appendFormat(";{0}", a), i = !1 } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = n.return) && t.call(n) } finally { if (e) throw e.error } } return r.toString() }, set: function(e) { var t, r; if (null == e || 0 == e.trim().length) this.valuesEnd = []; else { var i = e.split(";"); this._valuesEnd = Array.create(Number, i.length); var n = 0; try { for (var o = __values(i), a = o.next(); !a.done; a = o.next()) { var s = a.value; this._valuesEnd[n++] = s.stimulsoft.toNumber() } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } } }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "valueDataColumnEnd", { get: function() { return this._valueDataColumnEnd }, set: function(e) { this._valueDataColumnEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "brushNegative", { get: function() { return this._brushNegative }, set: function(e) { this.brushNegative = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "allowApplyBrushNegative", { get: function() { return this._allowApplyBrushNegative }, set: function(e) { this._allowApplyBrushNegative = e }, enumerable: !0, configurable: !0 }), m.prototype.onGetValueEnd = function(e) {} , m.prototype.invokeGetValueEnd = function(r, i) { try { if (this.onGetValueEnd(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var n = new l; n.name = "**ChartSteppedRangeSeriesValueEnd**", n.page = r.report.pages.getByIndex(0); var o = t.Engine.StiParser.StiParser.parseTextValue(this.valueEnd, n); i.value = r.report.toString2(o) } null != this.getValueEnd && this.getValueEnd(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , m.prototype.onGetListOfValuesEnd = function(e) {} , m.prototype.invokeGetListOfValuesEnd = function(r, i, n) { try { if (n.onGetListOfValuesEnd(i), r.report.calculationMode == t.StiCalculationMode.Interpretation) { var o = new l; o.name = "**ChartSteppedRangeSeriesListOfValuesEnd**", o.page = r.report.pages.getByIndex(0); var a = t.Engine.StiParser.StiParser.parseTextValue(n.listOfValuesEnd, o); i.value = r.report.toString2(a) } null != n.getListOfValuesEnd && n.getListOfValuesEnd(r, i) } catch (t) { e.System.StiError.showError(t.message, !1) } } , Object.defineProperty(m.prototype, "valueEnd", { get: function() { return this.valueObjEnd }, set: function(e) { this.valueObjEnd = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "listOfValuesEnd", { get: function() { return this._listOfValuesEnd }, set: function(e) { this._listOfValuesEnd = e }, enumerable: !0, configurable: !0 }), m.prototype.createNew = function() { return new m } , m }(r.StiSteppedLineSeries); r.StiSteppedRangeSeries = f }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t._tension = .55, t.core = new r.StiScatterSplineSeriesCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiScatterSplineSeries || (o.implementsStiScatterSplineSeries = e.prototype.implements.call(this).concat([n, r.IStiScatterLineSeries, r.IStiBaseLineSeries, r.IStiScatterSplineSeries, i, r.IStiSeries, r.IStiScatterSeries, r.IStiAllowApplyColorNegative])), o.implementsStiScatterSplineSeries } , o.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.removeProperty("LineMarker"), r.addPropertyNumber("Tension", this._tension, .55), r } , o.prototype.loadFromJsonObject = function(t) { var r, i; e.prototype.loadFromJsonObject.call(this, t); try { for (var n = __values(t.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Tension": this._tension = a.value.stimulsoft.toNumber(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (r) throw r.error } } } , o.prototype.loadFromXml = function(t) { e.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Tension": this._tension = i.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiScatterSplineSeries }, enumerable: !0, configurable: !0 }), o.prototype.clone = function() { return e.prototype.clone.call(this) } , o.prototype.getDefaultAreaType = function() { return r.StiScatterArea } , Object.defineProperty(o.prototype, "tension", { get: function() { return this._tension }, set: function(e) { this._tension = e }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiScatterSeries); r.StiScatterSplineSeries = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.Base.Drawing.StiSolidBrush , a = e.Base.Drawing.StiBrush , s = e.System.Drawing.Color , l = e.System.ICloneable , u = function(u) { function c() { var e = u.call(this) || this; return e._borderColor = s.gray, e._brush = new o(s.gainsboro), e.core = new r.StiTreemapSeriesCoreXF(e), e } return __extends(c, u), c.prototype.implements = function() { return c.implementsStiTreemapSeries || (c.implementsStiTreemapSeries = u.prototype.implements.call(this).concat([n, r.IStiTreemapSeries, l, r.IStiSeries])), c.implementsStiTreemapSeries } , c.prototype.saveToJsonObject = function(e) { var t = u.prototype.saveToJsonObject.call(this, e); return t.addPropertyStringNullOrEmpty("BorderColor", i.Serialize.jColor(this._borderColor, s.gray)), t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this._brush)), t } , c.prototype.loadFromJsonObject = function(e) { var t, r; u.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "BorderColor": this._borderColor = i.Deserialize.color(a.value.toString()); break; case "Brush": this._brush = i.Deserialize.brush(a.value.toString()); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { u.prototype.loadFromXml.call(this, t); for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Brush": case "bh": this._brush = a.loadFromXml(i.textContent); break; case "BorderColor": this._borderColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break } } } , c.prototype.clone = function() { var e = u.prototype.clone.call(this); return e.brush = this.brush.clone(), e } , c.prototype.getDefaultAreaType = function() { return r.StiTreemapArea } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiTreemapSeries }, enumerable: !0, configurable: !0 }), c.prototype.createNew = function() { return new c } , Object.defineProperty(c.prototype, "borderColor", { get: function() { return this._borderColor }, set: function(e) { this._borderColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), c }(r.StiSeries); r.StiTreemapSeries = u }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = function() { function e() { this.parentSeries = null } return e.prototype.implements = function() { return e.implementsStiSeriesInteraction || (e.implementsStiSeriesInteraction = [r.IStiSeriesInteraction, o, a]), e.implementsStiSeriesInteraction } , e.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyStringNullOrEmpty("DrillDownPageGuid", this.drillDownPageGuid), t } , e.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 "DrillDownPageGuid": this.drillDownPageGuid = 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 } } } , e.prototype.loadFromXml = function(e) { for (var t = 0; t < e.childNodes.length; t++) { var r = e.childNodes[t]; switch (r.nodeName) { case "DrillDownPageGuid": this.drillDownPageGuid = r.textContent; break } } } , Object.defineProperty(e.prototype, "componentId", { get: function() { return t.StiComponentId.StiSeriesInteraction }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), e.prototype.getReport = function() { if (null == this.parentSeries) return null; if (null == this.parentSeries.chart) return null; return this.parentSeries.chart.report } , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "isDefault", { get: function() { return i.isNullOrEmpty(this.hyperlinkDataColumn) && i.isNullOrEmpty(this.tagDataColumn) && i.isNullOrEmpty(this.toolTipDataColumn) && i.isNullOrEmpty(this.hyperlink) && i.isNullOrEmpty(this.tag) && i.isNullOrEmpty(this.toolTip) && i.isNullOrEmpty(this.listOfHyperlinks) && i.isNullOrEmpty(this.listOfTags) && i.isNullOrEmpty(this.listOfToolTips) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "hyperlink", { get: function() { return this.parentSeries.hyperlink }, set: function(e) { this.parentSeries.hyperlink = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "tag", { get: function() { return this.parentSeries.tag }, set: function(e) { this.parentSeries.tag = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "toolTip", { get: function() { return this.parentSeries.toolTip }, set: function(e) { this.parentSeries.toolTip = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "hyperlinkDataColumn", { get: function() { return this.parentSeries.hyperlinkDataColumn }, set: function(e) { this.parentSeries.hyperlinkDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "tagDataColumn", { get: function() { return this.parentSeries.tagDataColumn }, set: function(e) { this.parentSeries.tagDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "toolTipDataColumn", { get: function() { return this.parentSeries.toolTipDataColumn }, set: function(e) { this.parentSeries.toolTipDataColumn = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "listOfHyperlinks", { get: function() { return this.parentSeries.listOfHyperlinks }, set: function(e) { this.parentSeries.listOfHyperlinks = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "listOfTags", { get: function() { return this.parentSeries.listOfTags }, set: function(e) { this.parentSeries.listOfTags = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "listOfToolTips", { get: function() { return this.parentSeries.listOfToolTips }, set: function(e) { this.parentSeries.listOfToolTips = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "allowSeries", { get: function() { return this.parentSeries.allowSeries }, set: function(e) { this.parentSeries.allowSeries = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "allowSeriesElements", { get: function() { return this.parentSeries.allowSeriesElements }, set: function(e) { this.parentSeries.allowSeriesElements = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "drillDownEnabled", { get: function() { return this.parentSeries.drillDownEnabled }, set: function(e) { this.parentSeries.drillDownEnabled = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "drillDownReport", { get: function() { return this.parentSeries.drillDownReport }, set: function(e) { this.parentSeries.drillDownReport = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "drillDownPage", { get: function() { return this.parentSeries.drillDownPage }, set: function(e) { this.parentSeries.drillDownPage = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "drillDownPageGuid", { get: function() { return this.parentSeries.drillDownPageGuid }, set: function(e) { this.parentSeries.drillDownPageGuid = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "parentComponent", { get: function() { if (null == this.parentSeries || null == this.parentSeries.chart) return null; return this.parentSeries.chart }, enumerable: !0, configurable: !0 }), e }(); r.StiSeriesInteraction = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function t() { this.isElements = !0, this.tag = null, this.tooltip = null, this.hyperlink = null, this.argument = null, this.value = 0 } return t.prototype.fill = function(t, r, i) { t.stimulsoft.is(e.IStiAxisArea) && t.reverseHor ? (this.pointIndex = r.values.length - i - 1, this.series = r, i >= 0 && i < r.arguments.length && (this.argument = r.arguments[r.arguments.length - i - 1]), i >= 0 && i < r.values.length && (this.value = r.values[r.values.length - i - 1]), i >= 0 && i < r.tags.length && (this.tag = r.tags[r.tags.length - i - 1]), i >= 0 && i < r.hyperlinks.length && (this.hyperlink = r.hyperlinks[r.hyperlinks.length - i - 1]), i >= 0 && i < r.toolTips.length && (this.tooltip = r.toolTips[r.toolTips.length - i - 1])) : (this.pointIndex = i, this.series = r, i >= 0 && i < r.arguments.length && (this.argument = r.arguments[i]), i >= 0 && i < r.values.length && (this.value = r.values[i]), i >= 0 && i < r.tags.length && (this.tag = r.tags[i]), i >= 0 && i < r.hyperlinks.length && (this.hyperlink = r.hyperlinks[i]), i >= 0 && i < r.toolTips.length && (this.tooltip = r.toolTips[i])) } , t }(); e.StiSeriesInteractionData = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJsonReportObjectHelper , n = e.Base.StiJson , o = e.Base.JsonReportObject.IStiJsonReportObject , a = e.System.ICloneable , s = e.Base.Drawing.StiSolidBrush , l = e.Base.Drawing.StiBrush , u = e.System.Enum , c = e.System.Drawing.Color , h = e.Base.Services.StiService , p = e.System.Drawing.Font , f = function(h) { function f() { var e = h.call(this) || this; return e._allowApplyStyle = !0, e._showBehind = !0, e._stripBrush = new s(c.transparent), e._antialiasing = !0, e._font = new p("Arial",7), e._text = "", e._titleVisible = !0, e._titleColor = c.green, e._orientation = r.StiStrips_StiOrientation.Horizontal, e._showInLegend = !0, e._maxValue = "1", e._minValue = "0", e._visible = !0, e._core = new r.StiStripsCoreXF(e), e } return __extends(f, h), f.prototype.implements = function() { return f.implementsStiStrips || (f.implementsStiStrips = h.prototype.implements.call(this).concat([o, r.IStiStrips, a])), f.implementsStiStrips } , f.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyBool("AllowApplyStyle", this.allowApplyStyle, !0), t.addPropertyBool("ShowBehind", this.showBehind, !0), t.addPropertyStringNullOrEmpty("StripBrush", i.Serialize.jBrush(this._stripBrush)), t.addPropertyBool("Antialiasing", this._antialiasing, !0), t.addPropertyStringNullOrEmpty("Font", i.Serialize.font(this.font, "Arial", 7)), t.addPropertyStringNullOrEmpty("Text", this._text), t.addPropertyBool("TitleVisible", this._titleVisible, !0), t.addPropertyStringNullOrEmpty("TitleColor", i.Serialize.jColor(this.titleColor, c.green)), t.addPropertyEnum("Orientation", r.StiStrips_StiOrientation, this._orientation, r.StiStrips_StiOrientation.Horizontal), t.addPropertyBool("ShowInLegend", this.showInLegend, !0), t.addPropertyString("MaxValue", this.maxValue, "1"), t.addPropertyString("MinValue", this.minValue, "0"), t.addPropertyBool("Visible", this.visible, !0), t } , f.prototype.loadFromJsonObject = function(e) { var t, n; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "AllowApplyStyle": this.allowApplyStyle = s.value.stimulsoft.toBoolean(); break; case "ShowBehind": this.showBehind = s.value.stimulsoft.toBoolean(); break; case "StripBrush": this._stripBrush = i.Deserialize.brush(s.value.toString()); break; case "Antialiasing": this._antialiasing = s.value.stimulsoft.toBoolean(); break; case "Font": this.font = i.Deserialize.font(s.value.toString(), this.font); break; case "Text": this._text = s.value.toString(); break; case "TitleVisible": this._titleVisible = s.value.stimulsoft.toBoolean(); break; case "TitleColor": this.titleColor = i.Deserialize.color(s.value.toString()); break; case "Orientation": this._orientation = u.parse(r.StiStrips_StiOrientation, s.value.toString()); break; case "ShowInLegend": this.showInLegend = s.value.stimulsoft.toBoolean(); break; case "MaxValue": this.maxValue = s.value.toString(); break; case "MinValue": this.minValue = s.value.toString(); break; case "Visible": this.visible = s.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (t) throw t.error } } } , f.prototype.loadFromXml = function(t) { for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "AllowApplyStyle": this.allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break; case "ShowBehind": this.showBehind = n.textContent.stimulsoft.toBoolean(); break; case "StripBrush": this._stripBrush = l.convertToBrush(n.textContent); break; case "Antialiasing": this._antialiasing = n.textContent.stimulsoft.toBoolean(); break; case "Font": case "fn": this.font = e.System.Convert.toFont(n.textContent); break; case "Text": case "text": this._text = n.textContent; break; case "TitleVisible": this._titleVisible = n.textContent.stimulsoft.toBoolean(); break; case "TitleColor": this.titleColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "Orientation": this._orientation = u.parse(r.StiStrips_StiOrientation, n.textContent); break; case "ShowInLegend": this.showInLegend = n.textContent.stimulsoft.toBoolean(); break; case "MaxValue": this.maxValue = n.textContent; break; case "MinValue": this.minValue = n.textContent; break; case "Visible": this.visible = n.textContent.stimulsoft.toBoolean(); break } } } , Object.defineProperty(f.prototype, "componentId", { get: function() { return t.StiComponentId.StiStrips }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), f.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return null != this.core && (e.core = this.core.clone(), e.core.strips = e), e } , Object.defineProperty(f.prototype, "serviceCategory", { get: function() { return "Chart" }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "serviceType", { get: function() { return f }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && null != this.chart && this.core.applyStyle(this.chart.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "showBehind", { get: function() { return this._showBehind }, set: function(e) { this._showBehind = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "stripBrush", { get: function() { return this._stripBrush }, set: function(e) { this._stripBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "antialiasing", { get: function() { return this._antialiasing }, set: function(e) { this._antialiasing = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "text", { get: function() { return this._text }, set: function(e) { this._text = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "titleVisible", { get: function() { return this._titleVisible }, set: function(e) { this._titleVisible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "titleColor", { get: function() { return this._titleColor }, set: function(e) { this._titleColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "orientation", { get: function() { return this._orientation }, set: function(e) { this._orientation = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "showInLegend", { get: function() { return this._showInLegend }, set: function(e) { this._showInLegend = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "maxValue", { get: function() { return this._maxValue }, set: function(e) { this._maxValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "minValue", { get: function() { return this._minValue }, set: function(e) { this._minValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "visible", { get: function() { return this._visible }, set: function(e) { this._visible = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "chart", { get: function() { return this._chart }, set: function(e) { this._chart = e }, enumerable: !0, configurable: !0 }), f }(h); r.StiStrips = f }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF01, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle01 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r(r) { void 0 === r && (r = null); var i = t.call(this) || this; return i.core = new e.StiCustomStyleCoreXF(i), i.core.reportStyleName = r, i } return __extends(r, t), r.prototype.implements = function() { return r.implementsStiCustomStyle || (r.implementsStiCustomStyle = t.prototype.implements.call(this).concat([e.IStiCustomStyle])), r.implementsStiCustomStyle } , Object.defineProperty(r.prototype, "serviceName", { get: function() { return "CustomStyle" }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "customCore", { get: function() { return this.core }, enumerable: !0, configurable: !0 }), r }(e.StiStyle01); e.StiCustomStyle = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF02, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle02 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF03, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle03 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF04, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle04 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF05, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle05 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF06, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle06 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF07, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle07 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF08, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiStyle03); e.StiStyle08 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF09, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle09 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF10, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle10 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF11, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle11 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF12, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle12 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF13, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle13 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF14, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle14 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF15, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle15 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF16, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle16 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF17, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle17 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF18, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle18 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF19, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle19 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF20, r } return __extends(r, t), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle20 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF21, r } return __extends(r, t), Object.defineProperty(r.prototype, "isOffice2015Style", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle21 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF22, r } return __extends(r, t), Object.defineProperty(r.prototype, "isOffice2015Style", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle22 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function(t) { function r() { var r = t.call(this) || this; return r.core = new e.StiStyleCoreXF23, r } return __extends(r, t), Object.defineProperty(r.prototype, "isOffice2015Style", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(e.StiChartStyle); e.StiStyle23 = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Dashboard.StiElementStyleIdent , n = function(e) { function n() { var n = e.call(this) || this; return n.allowDashboard = !0, n.dashboardName = r.get("PropertyColor", "Orange"), n.styleIdent = i.Orange, n.core = new t.StiStyleCoreXF24, n } return __extends(n, e), Object.defineProperty(n.prototype, "isOffice2015Style", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), n.prototype.createNew = function() { return new n } , n }(t.StiChartStyle); t.StiStyle24 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Dashboard.StiElementStyleIdent , n = function(e) { function n() { var n = e.call(this) || this; return n.allowDashboard = !0, n.dashboardName = r.get("PropertyColor", "Turquoise"), n.styleIdent = i.Turquoise, n.core = new t.StiStyleCoreXF26, n } return __extends(n, e), n.prototype.createNew = function() { return new n } , n }(t.StiChartStyle); t.StiStyle26 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Dashboard.StiElementStyleIdent , n = function(e) { function n() { var n = e.call(this) || this; return n.allowDashboard = !0, n.dashboardName = r.get("PropertyColor", "SlateGray"), n.styleIdent = i.SlateGray, n.core = new t.StiStyleCoreXF27, n } return __extends(n, e), n.prototype.createNew = function() { return new n } , n }(t.StiChartStyle); t.StiStyle27 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Dashboard.StiElementStyleIdent , n = function(e) { function n() { var n = e.call(this) || this; return n.allowDashboard = !0, n.dashboardName = r.get("PropertyColor", "DarkBlue"), n.styleIdent = i.DarkBlue, n.core = new t.StiStyleCoreXF28, n } return __extends(n, e), n.prototype.createNew = function() { return new n } , n }(t.StiChartStyle); t.StiStyle28 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Dashboard.StiElementStyleIdent , n = function(e) { function n() { var n = e.call(this) || this; return n.allowDashboard = !0, n.dashboardName = r.get("PropertyColor", "DarkGray"), n.styleIdent = i.DarkGray, n.isOffice2015Style = !0, n.core = new t.StiStyleCoreXF30, n } return __extends(n, e), n.prototype.createNew = function() { return new n } , n }(t.StiChartStyle); t.StiStyle30 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Dashboard.StiElementStyleIdent , n = function(e) { function n() { var n = e.call(this) || this; return n.allowDashboard = !0, n.dashboardName = r.get("PropertyColor", "DarkTurquoise"), n.styleIdent = i.DarkTurquoise, n.isOffice2015Style = !0, n.core = new t.StiStyleCoreXF31, n } return __extends(n, e), n.prototype.createNew = function() { return new n } , n }(t.StiChartStyle); t.StiStyle31 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Dashboard.StiElementStyleIdent , n = function(e) { function n() { var n = e.call(this) || this; return n.allowDashboard = !0, n.dashboardName = r.get("PropertyColor", "Silver"), n.styleIdent = i.Silver, n.isOffice2015Style = !0, n.core = new t.StiStyleCoreXF32, n } return __extends(n, e), n.prototype.createNew = function() { return new n } , n }(t.StiChartStyle); t.StiStyle32 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , i = e.Report.Dashboard.StiElementStyleIdent , n = function(e) { function n() { var n = e.call(this) || this; return n.allowDashboard = !0, n.dashboardName = r.get("PropertyColor", "AliceBlue"), n.styleIdent = i.AliceBlue, n.isOffice2015Style = !0, n.core = new t.StiStyleCoreXF33, n } return __extends(n, e), n.prototype.createNew = function() { return new n } , n }(t.StiChartStyle); t.StiStyle33 = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJsonReportObjectHelper , i = e.Base.StiJson , n = e.System.Drawing.Color , o = e.System.Drawing.Font , a = function() { function t(e, t, r, i) { void 0 === e && (e = !1), void 0 === t && (t = 1), void 0 === r && (r = new o("Arial",8)), void 0 === i && (i = n.darkGray), this._font = new o("Arial",8), this._textColor = n.darkGray, this._shrinkFontToFit = !1, this._shrinkFontToFitMinimumSize = 1, this._font = r, this._textColor = i, this._shrinkFontToFit = e, this._shrinkFontToFitMinimumSize = t } return t.prototype.saveToJsonObject = function(e) { var t = new i; return t.addPropertyStringNullOrEmpty("Font", r.Serialize.fontArial8(this.font)), t.addPropertyStringNullOrEmpty("TextColor", r.Serialize.jColor(this._textColor, n.darkGray)), t.addPropertyNumber("ShrinkFontToFitMinimumSize", this._shrinkFontToFitMinimumSize, 1), t.addPropertyBool("ShrinkFontToFit", this._shrinkFontToFit), t } , t.prototype.loadFromJsonObject = function(e) { var t, i; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Font": this.font = r.Deserialize.font(a.value.toString(), this.font); break; case "TextColor": this._textColor = r.Deserialize.color(a.value.toString()); break; case "ShrinkFontToFitMinimumSize": this._shrinkFontToFitMinimumSize = a.value.stimulsoft.toNumber(); break; case "ShrinkFontToFit": this._shrinkFontToFit = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (t) throw t.error } } } , t.prototype.loadFromXml = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Font": case "fn": this.font = e.System.Convert.toFont(i.textContent); break; case "TextColor": this._textColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "ShrinkFontToFitMinimumSize": this._shrinkFontToFitMinimumSize = i.textContent.stimulsoft.toNumber(); break; case "ShrinkFontToFit": this._shrinkFontToFit = i.textContent.stimulsoft.toBoolean(); break } } } , t.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.font = this.font.clone(), e } , Object.defineProperty(t.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "textColor", { get: function() { return this._textColor }, set: function(e) { this._textColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "shrinkFontToFit", { get: function() { return this._shrinkFontToFit }, set: function(e) { this._shrinkFontToFit = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "shrinkFontToFitMinimumSize", { get: function() { return this._shrinkFontToFitMinimumSize }, set: function(e) { this._shrinkFontToFitMinimumSize = e }, enumerable: !0, configurable: !0 }), t }(); t.StiChartTableDataCells = a }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.StiJsonReportObjectHelper , i = e.Base.StiJson , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.Base.Drawing.StiSolidBrush , s = e.Base.Drawing.StiBrush , l = e.System.Drawing.Color , u = e.System.Drawing.Font , c = function() { function c(e, t, r, i) { void 0 === e && (e = new a(l.white)), void 0 === t && (t = new u("Arial",8)), void 0 === r && (r = l.darkGray), void 0 === i && (i = !1), this._brush = new a(l.white), this._font = new u("Arial",8), this._textColor = l.darkGray, this._wordWrap = !1, this._brush = e, this._font = t, this._textColor = r, this._wordWrap = i } return c.prototype.implements = function() { return c.implementsStiChartTableHeader || (c.implementsStiChartTableHeader = [n, t.IStiChartTableHeader, o]), c.implementsStiChartTableHeader } , c.prototype.saveToJsonObject = function(e) { var t = new i; return t.addPropertyStringNullOrEmpty("Brush", r.Serialize.jBrush(this.brush)), t.addPropertyStringNullOrEmpty("Font", r.Serialize.fontArial8(this.font)), t.addPropertyStringNullOrEmpty("TextColor", r.Serialize.jColor(this._textColor, l.darkGray)), t.addPropertyBool("WordWrap", this.wordWrap), t } , c.prototype.loadFromJsonObject = function(e) { var t, i; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value; switch (a.name) { case "Brush": this.brush = r.Deserialize.brush(a.value.toString()); break; case "Font": this.font = r.Deserialize.font(a.value.toString(), this.font); break; case "TextColor": this._textColor = r.Deserialize.color(a.value.toString()); break; case "WordWrap": this.wordWrap = a.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (t) throw t.error } } } , c.prototype.loadFromXml = function(t) { for (var r = 0; r < t.childNodes.length; r++) { var i = t.childNodes[r]; switch (i.nodeName) { case "Brush": case "bh": this.brush = s.convertToBrush(i.textContent); break; case "Font": case "fn": this.font = e.System.Convert.toFont(i.textContent); break; case "TextColor": this._textColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(i.textContent); break; case "WordWrap": this.wordWrap = i.textContent.stimulsoft.toBoolean(); break } } } , c.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.brush = this.brush.clone(), e.font = this.font.clone(), e } , Object.defineProperty(c.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "textColor", { get: function() { return this._textColor }, set: function(e) { this._textColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "wordWrap", { get: function() { return this._wordWrap }, set: function(e) { this._wordWrap = e }, enumerable: !0, configurable: !0 }), c }(); t.StiChartTableHeader = c }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.StiJson , n = e.Base.JsonReportObject.IStiJsonReportObject , o = e.System.ICloneable , a = e.System.Enum , s = function() { function e() { this._mode = r.StiTopNMode.None, this._count = 5, this._showOthers = !0, this._othersText = "Others" } return e.prototype.implements = function() { return e.implementsStiSeriesTopN || (e.implementsStiSeriesTopN = [n, r.IStiSeriesTopN, o]), e.implementsStiSeriesTopN } , e.prototype.saveToJsonObject = function(e) { var t = new i; return t.addPropertyEnum("Mode", r.StiTopNMode, this._mode, r.StiTopNMode.None), t.addPropertyNumber("Count", this._count, 5), t.addPropertyBool("ShowOthers", this._showOthers, !0), t.addPropertyString("OthersText", this._othersText, "Others"), t } , e.prototype.loadFromJsonObject = function(e) { var t, i; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var s = o.value; switch (s.name) { case "Mode": this._mode = a.parse(r.StiTopNMode, s.value.toString()); break; case "Count": this._count = s.value.stimulsoft.toNumber(); break; case "ShowOthers": this._showOthers = s.value.stimulsoft.toBoolean(); break; case "OthersText": this._othersText = s.value.toString(); break } } } catch (e) { t = { error: e } } finally { try { o && !o.done && (i = n.return) && i.call(n) } finally { if (t) throw t.error } } } , e.prototype.loadFromXml = function(e) { for (var t = 0; t < e.childNodes.length; t++) { var i = e.childNodes[t]; switch (i.nodeName) { case "Mode": this._mode = a.parse(r.StiTopNMode, i.textContent); break; case "Count": this._count = i.textContent.stimulsoft.toNumber(); break; case "ShowOthers": this._showOthers = i.textContent.stimulsoft.toBoolean(); break; case "OthersText": this._othersText = i.textContent; break } } } , Object.defineProperty(e.prototype, "componentId", { get: function() { return t.StiComponentId.StiSeriesTopN }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "mode", { get: function() { return this._mode }, set: function(e) { this._mode = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "count", { get: function() { return this._count }, set: function(e) { this._count = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "showOthers", { get: function() { return this._showOthers }, set: function(e) { this._showOthers = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "othersText", { get: function() { return this._othersText }, set: function(e) { this._othersText = e }, enumerable: !0, configurable: !0 }), e }(); r.StiSeriesTopN = s }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.System.StiString , n = e.Base.StiJsonReportObjectHelper , o = e.Base.StiJson , a = e.Base.JsonReportObject.IStiJsonReportObject , s = e.System.ICloneable , l = e.Base.Drawing.StiPenStyle , u = e.System.Enum , c = e.System.Drawing.Color , h = e.Base.Services.StiService , p = e.System.Drawing.Font , f = function(h) { function f() { var e = null !== h && h.apply(this, arguments) || this; return e._lineColor = c.black, e._lineWidth = 1, e._lineStyle = l.Solid, e._showShadow = !0, e._allowApplyStyle = !0, e._position = r.StiTrendLine_StiTextPosition.LeftBottom, e._font = new p("Arial",7), e._text = "", e._titleVisible = !0, e } return __extends(f, h), f.prototype.implements = function() { return f.implementsStiTrendLine || (f.implementsStiTrendLine = h.prototype.implements.call(this).concat([r.IStiTrendLine, s, a])), f.implementsStiTrendLine } , f.prototype.saveToJsonObject = function(e) { var t = new o; return t.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t.addPropertyStringNullOrEmpty("LineColor", n.Serialize.jColor(this.lineColor, c.black)), t.addPropertyNumber("LineWidth", this._lineWidth, 1), t.addPropertyEnum("LineStyle", l, this._lineStyle, l.Solid), t.addPropertyBool("ShowShadow", this._showShadow), t.addPropertyEnum("Position", r.StiTrendLine_StiTextPosition, this._position, r.StiConstantLines_StiTextPosition.LeftTop), t.addPropertyStringNullOrEmpty("Font", n.Serialize.font(this.font, "Arial", 7)), t.addPropertyStringNullOrEmpty("Text", this._text), t.addPropertyBool("TitleVisible", this._titleVisible, !0), t.addPropertyBool("AllowApplyStyle", this.allowApplyStyle, !0), t } , f.prototype.loadFromJsonObject = function(e) { var t, i; try { for (var o = __values(e.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Position": this._position = u.parse(r.StiTrendLine_StiTextPosition, s.value.toString()); break; case "Font": this.font = n.Deserialize.font(s.value.toString(), this.font); break; case "Text": this._text = s.value.toString(); break; case "TitleVisible": this._titleVisible = s.value.stimulsoft.toBoolean(); break; case "LineColor": this.lineColor = n.Deserialize.color(s.value.toString()); break; case "LineWidth": this._lineWidth = s.value.stimulsoft.toNumber(); break; case "LineStyle": this._lineStyle = u.parse(l, s.value.toString()); break; case "ShowShadow": this._showShadow = s.value.stimulsoft.toBoolean(); break; case "AllowApplyStyle": this.allowApplyStyle = s.value.stimulsoft.toBoolean(); break } } } catch (e) { t = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (t) throw t.error } } } , f.loadFromJsonObjectInternal = function(e) { var t = e.properties().firstOrDefault(function(e) { return "Ident" == e.name }).value.toString() , r = StiOptions.Services.chartTrendLines.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == t }); if (null == r) throw i.format("Type {0} is not found!", t); var n = r.createNew(); return n.loadFromJsonObject(e), n } , f.prototype.loadFromXml = function(t) { for (var i = 0; i < t.childNodes.length; i++) { var n = t.childNodes[i]; switch (n.nodeName) { case "Position": this._position = u.parse(r.StiTrendLine_StiTextPosition, n.textContent); break; case "Font": case "fn": this.font = e.System.Convert.toFont(n.textContent); break; case "Text": this._text = n.textContent; break; case "TitleVisible": this._titleVisible = n.textContent.stimulsoft.toBoolean(); break; case "LineColor": this.lineColor = e.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent); break; case "LineWidth": this._lineWidth = n.textContent.stimulsoft.toNumber(); break; case "LineStyle": this._lineStyle = u.parse(l, n.textContent.toString()); break; case "ShowShadow": this._showShadow = n.textContent.stimulsoft.toBoolean(); break; case "AllowApplyStyle": this.allowApplyStyle = n.textContent.stimulsoft.toBoolean(); break } } } , f.loadTrendLineFromXml = function(e) { switch (e.attributes.getNamedItem("type").value) { case "Stimulsoft.Report.Chart.StiTrendLineNone": var t = new r.StiTrendLineNone; return t.loadFromXml(e), t; case "Stimulsoft.Report.Chart.StiTrendLineLinear": var i = new r.StiTrendLineLinear; return i.loadFromXml(e), i; case "Stimulsoft.Report.Chart.StiTrendLineExponential": var n = new r.StiTrendLineExponential; return n.loadFromXml(e), n; case "Stimulsoft.Report.Chart.StiTrendLineLogarithmic": var o = new r.StiTrendLineLogarithmic; return o.loadFromXml(e), o } return new r.StiTrendLineNone } , Object.defineProperty(f.prototype, "componentId", { get: function() { return t.StiComponentId.StiTrendLine }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "propName", { get: function() { return "" }, enumerable: !0, configurable: !0 }), f.prototype.clone = function() { var e = h.prototype.clone.call(this); return null != this.core && (e.core = this.core.clone(), e.core.trendLine = e), e } , Object.defineProperty(f.prototype, "serviceName", { get: function() { return this.core.localizedName }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "serviceCategory", { get: function() { return "Chart" }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "serviceType", { get: function() { return f }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "lineColor", { get: function() { return this._lineColor }, set: function(e) { this._lineColor = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "lineWidth", { get: function() { return this._lineWidth }, set: function(e) { this._lineWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "lineStyle", { get: function() { return this._lineStyle }, set: function(e) { this._lineStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "showShadow", { get: function() { return this._showShadow }, set: function(e) { this._showShadow = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "position", { get: function() { return this._position }, set: function(e) { this._position = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "text", { get: function() { return this._text }, set: function(e) { this._text = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "titleVisible", { get: function() { return this._titleVisible }, set: function(e) { this._titleVisible = e }, enumerable: !0, configurable: !0 }), f.prototype.createNew = function() { return null } , f.prototype.toString = function() { return this.serviceName } , f }(h); r.StiTrendLine = f }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiTrendLineExponentialCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiTrendLineExponential || (o.implementsStiTrendLineExponential = e.prototype.implements.call(this).concat([r.IStiTrendLine, n, i, r.IStiTrendLineExponential])), o.implementsStiTrendLineExponential } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiTrendLineExponential }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiTrendLine); r.StiTrendLineExponential = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiTrendLineLinearCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiTrendLineLinear || (o.implementsStiTrendLineLinear = e.prototype.implements.call(this).concat([r.IStiTrendLine, r.IStiTrendLineLinear, n, i])), o.implementsStiTrendLineLinear } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiTrendLineLinear }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiTrendLine); r.StiTrendLineLinear = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiTrendLineLogarithmicCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiTrendLineLogarithmic || (o.implementsStiTrendLineLogarithmic = e.prototype.implements.call(this).concat([r.IStiTrendLine, r.IStiTrendLineLogarithmic, n, i])), o.implementsStiTrendLineLogarithmic } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiTrendLineLogarithmic }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiTrendLine); r.StiTrendLineLogarithmic = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var i = e.Base.JsonReportObject.IStiJsonReportObject , n = e.System.ICloneable , o = function(e) { function o() { var t = e.call(this) || this; return t.core = new r.StiTrendLineNoneCoreXF(t), t } return __extends(o, e), o.prototype.implements = function() { return o.implementsStiTrendLineNone || (o.implementsStiTrendLineNone = e.prototype.implements.call(this).concat([r.IStiTrendLine, r.IStiTrendLineNone, i, n])), o.implementsStiTrendLineNone } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiTrendLineNone }, enumerable: !0, configurable: !0 }), o.prototype.createNew = function() { return new o } , o }(r.StiTrendLine); r.StiTrendLineNone = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return Object.defineProperty(e, "oldChartPercentMode", { get: function() { return e._oldChartPercentMode }, set: function(t) { e._oldChartPercentMode = t }, enumerable: !0, configurable: !0 }), e._oldChartPercentMode = !1, e }(); e.StiChartOptions = t }(t = e.Chart || (e.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.TimeSpan , i = e.System.Drawing.Point , n = e.System.Drawing.Size , o = function() { function e() { this._updateContext = !1, this._recallEvent = !1, this._recallTime = r.zero, this._isRecalled = !1, this._mousePoint = i.empty, this._dragEnabled = !1, this._dragDelta = n.empty, this._interactionToolTip = null, this._interactionHyperlink = null, this._seriesInteractionData = null } return Object.defineProperty(e.prototype, "updateContext", { get: function() { return this._updateContext }, set: function(e) { this._updateContext = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "recallEvent", { get: function() { return this._recallEvent }, set: function(e) { this._recallEvent = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "recallTime", { get: function() { return this._recallTime }, set: function(e) { this._recallTime = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isRecalled", { get: function() { return this._isRecalled }, set: function(e) { this._isRecalled = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "mousePoint", { get: function() { return this._mousePoint }, set: function(e) { this._mousePoint = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "dragEnabled", { get: function() { return this._dragEnabled }, set: function(e) { this._dragEnabled = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "dragDelta", { get: function() { return this._dragDelta }, set: function(e) { this._dragDelta = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "interactionToolTip", { get: function() { return this._interactionToolTip }, set: function(e) { this._interactionToolTip = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "interactionHyperlink", { get: function() { return this._interactionHyperlink }, set: function(e) { this._interactionHyperlink = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "seriesInteractionData", { get: function() { return this._seriesInteractionData }, set: function(e) { this._seriesInteractionData = e }, enumerable: !0, configurable: !0 }), e }(); t.StiInteractionOptions = o }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point, i; !function(e) { e[e.Left = 0] = "Left", e[e.Right = 1] = "Right", e[e.Beyond = 2] = "Beyond", e[e.Behind = 3] = "Behind", e[e.Between = 4] = "Between", e[e.Origin = 5] = "Origin", e[e.Destination = 6] = "Destination" }(i || (i = {})); var n = function() { function e() {} return e.getPointClassify = function(e, t, n) { var o = new r(n.x - t.x,n.y - t.y) , a = new r(e.x - t.x,e.y - t.y) , s = o.x * a.y - a.x * o.y; if (s > 0) return i.Left; if (s < 0) return i.Right; if (o.x * a.x < 0 || o.y * a.y < 0) return i.Behind; if (Math.sqrt(o.x * o.x + o.y * o.y) < Math.sqrt(a.x * a.x + a.y * a.y)) return i.Beyond; if (t.stimulsoft.equals(e)) return i.Origin; if (n.stimulsoft.equals(e)) return i.Destination; return i.Between } , e.isPointInTriangle = function(t, r, n, o) { return e.getPointClassify(t, r, n) != i.Left && e.getPointClassify(t, n, o) != i.Left && e.getPointClassify(t, o, r) != i.Left } , e.isPointInPolygon = function(t, r) { for (var n = 0; n < r.length; n++) if (e.getPointClassify(t, r[n], n + 1 < r.length ? r[n + 1] : r[0]) == i.Left) return !1; return !0 } , e.getLineOffsetRectangle = function(e, t, i) { var n = Math.atan2(t.y - e.y, t.x - e.x) , o = i / 2 , a = Array.create(r, 4, !0); return a[0] = new r(e.x + o * Math.cos(n + .5 * Math.PI),e.y + o * Math.sin(n + .5 * Math.PI)), a[1] = new r(t.x + o * Math.cos(n + .5 * Math.PI),t.y + o * Math.sin(n + .5 * Math.PI)), a[2] = new r(t.x + o * Math.cos(n + 1.5 * Math.PI),t.y + o * Math.sin(n + 1.5 * Math.PI)), a[3] = new r(e.x + o * Math.cos(n + 1.5 * Math.PI),e.y + o * Math.sin(n + 1.5 * Math.PI)), a } , e.isLineContainsPoint = function(t, r, i, n) { var o = this.getLineOffsetRectangle(t, r, i); return e.isPointInPolygon(n, o) } , e.optimizePoints = function(e) { if (e.length < 800) return e; var t = 1 , i = 0 , n = 0 , o = 0 , a = 0 , s = []; while (i < e.length) { if (null == e[i]) { while (i < e.length && null == e[i]) i++; s.add(null); continue } var l = e[i]; if (++i < e.length && null != e[i] && null != e[i] && e[i].x - l.x < t) { n = l.x, o = l.y, a = l.y; var u = l.y , c = l.y; while (i < e.length && null != e[i] && null != e[i] && e[i].x - n < t) o = Math.min(o, e[i].y), a = Math.max(a, e[i].y), c = e[i].y, i++; c > u ? (s.add(new r(n,o)), s.add(new r(n + t / 2,a))) : (s.add(new r(n,a)), s.add(new r(n + t / 2,o))) } else s.add(l) } return s.toArray() } , e }(); t.StiPointHelper = n }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , i = function() { function e() {} return e.getSquareDistance = function(e, t) { var r = e.x - t.x , i = e.y - t.y; return r * r + i * i } , e.getSquareSegmentDistance = function(e, t, r) { var i = t.x , n = t.y , o = r.x - i , a = r.y - n; if (0 !== o || 0 !== a) { var s = ((e.x - i) * o + (e.y - n) * a) / (o * o + a * a); s > 1 ? (i = r.x, n = r.y) : s > 0 && (i += o * s, n += a * s) } return o = e.x - i, a = e.y - n, o * o + a * a } , e.simplifyRadialDistance = function(t, i) { var n = t[0] , o = []; o.add(n); for (var a = new r, s = 1; s < t.length; s++) a = t[s], e.getSquareDistance(a, n) > i && (o.add(a), n = a); return n != a && o.add(a), o } , e.simplifyDouglasPeucker = function(t, r) { var i = t.length , n = Array.create(Number, i) , o = 0 , a = i - 1 , s = 0 , l = [] , u = []; n[o] = n[a] = 1; while (null != a) { for (var c = 0, h = o + 1; h < a; h++) { var p = e.getSquareSegmentDistance(t[h], t[o], t[a]); p > c && (s = h, c = p) } if (c > r) { n[s] = 1; var f = [o, s, s, a]; l.addRange(f) } l.length > 0 ? (a = l[l.length - 1], l.removeAt(l.length - 1)) : a = null, l.length > 0 ? (o = l[l.length - 1], l.removeAt(l.length - 1)) : o = null } for (var h = 0; h < i; h++) 0 != n[h] && u.add(t[h]); return u } , e.simplify = function(t, r, i) { if (null == t || 0 == t.length) return []; var n = r * r; if (i) return e.simplifyDouglasPeucker(t, n); var o = e.simplifyRadialDistance(t, n); return e.simplifyDouglasPeucker(o, n) } , e }(); t.StiSimplifyHelper = i }(r = t.Chart || (t.Chart = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); ;var __extends = this && this.__extends || function() { var e = function(t, r) { return (e = 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]) } )(t, r) }; return function(t, r) { function n() { this.constructor = t } e(t, r), t.prototype = null === r ? Object.create(r) : (n.prototype = r.prototype, new n) } }(), __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.") } , Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.System.Collections.CollectionBase , i = e.Base.StiJson , o = function(e) { function t(t) { var r = e.call(this) || this; return r.barType = t, r } return __extends(t, e), t.prototype.saveToJsonObject = function(e) { var t, r; if (0 == this.list.length) return null; var n = new i , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(e)), o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return n } , t.prototype.loadFromJsonObject = function(e) { var t, n, i = function(e) { var t = e.value , n = t.properties().firstOrDefault(function(e) { return "Ident" == e.name }).value.toString() , i = StiOptions.Services.indicatorRanges.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == n }); if (null == i) throw r.format("Type {0} is not found!", n); var a = i.createNew(); o.add(a), a.loadFromJsonObject(e.value) }, o = this; try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { i(s.value) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (t) throw t.error } } } , t.prototype.clone = function() { var e, r, n = new t(this.barType); try { for (var i = __values(this.list), o = i.next(); !o.done; o = i.next()) { var a = o.value; n.add(a.clone()) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return n } , Object.defineProperty(t.prototype, "isReadOnly", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.prototype.add = function(t) { t.rangeListType == this.barType && e.prototype.add.call(this, t) } , t.prototype.insert = function(t, r) { r.rangeListType == this.barType && e.prototype.insert.call(this, t, r) } , t.prototype.copyTo = function(e, t) { this.list.copyTo(e, t) } , t.prototype.moveUp = function(e) { var t = this.list.indexOf(e); if (t > 0) return this.list.removeAt(t), t--, this.list.insert(t, e), !0; return !1 } , t.prototype.moveDown = function(e) { var t = this.list.indexOf(e); if (-1 != t && this.list.length > 1 && t < this.list.length - 1) return this.list.removeAt(t), t++, this.list.insert(t, e), !0; return !1 } , t }(n); t.StiBarRangeListCollection = o }(r = t.Collections || (t.Collections = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.System.Collections.CollectionBase , i = e.Base.StiJson , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.saveToJsonObject = function(e) { var t, r; if (0 == this.list.length) return null; var n = new i , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(e)), o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return n } , t.prototype.loadFromJsonObject = function(e) { var t, n, i = function(e) { var t = e.value , n = t.properties().firstOrDefault(function(e) { return "Ident" == e.name }).value.toString() , i = StiOptions.Services.customValues.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == n }); if (null == i) throw r.format("Type {0} is not found!", n); var a = i.createNew(); o.add(a), a.loadFromJsonObject(e.value) }, o = this; try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { i(s.value) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (t) throw t.error } } } , t.prototype.clone = function() { var e, r, n = new t; try { for (var i = __values(this.list), o = i.next(); !o.done; o = i.next()) { var a = o.value; n.add(a.clone()) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return n } , Object.defineProperty(t.prototype, "isReadOnly", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.prototype.copyTo = function(e, t) { this.list.copyTo(e, t) } , t.prototype.moveUp = function(e) { var t = this.list.indexOf(e); if (t > 0) return this.list.removeAt(t), t--, this.list.insert(t, e), !0; return !1 } , t.prototype.moveDown = function(e) { var t = this.list.indexOf(e); if (-1 != t && this.list.length > 1 && t < this.list.length - 1) return this.list.removeAt(t), t++, this.list.insert(t, e), !0; return !1 } , t }(n); t.StiCustomValuesCollection = o }(r = t.Collections || (t.Collections = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = e.Base.Drawing.StiEmptyBrush , o = e.Base.StiJson , a = e.Base.StiJsonReportObjectHelper , s = function() { function e() { this._startValue = 0, this._endValue = 0, this._brush = new i, this._borderBrush = new i } return e.prototype.saveToJsonObject = function(e) { var t = new o; return t.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t.addPropertyNumber("StartValue", this.startValue, 0), t.addPropertyNumber("EndValue", this.endValue, 0), t.addPropertyStringNullOrEmpty("Brush", a.Serialize.jBrush(this.brush)), t.addPropertyStringNullOrEmpty("BorderBrush", a.Serialize.jBrush(this.borderBrush)), t } , e.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var n = __values(e.properties()), i = n.next(); !i.done; i = n.next()) { var o = i.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 = a.Deserialize.brush(o.value); break; case "BorderBrush": this.borderBrush = a.Deserialize.brush(o.value); break } } } catch (e) { t = { error: e } } finally { try { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , Object.defineProperty(e.prototype, "componentId", { get: function() { return t.StiComponentId.StiStateIndicatorFilter }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "propName", { get: function() { return null }, enumerable: !0, configurable: !0 }), e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "startValue", { get: function() { return this._startValue }, set: function(e) { this._startValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "endValue", { get: function() { return this._endValue }, set: function(e) { this._endValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "borderBrush", { get: function() { return this._borderBrush }, set: function(e) { this._borderBrush = e }, enumerable: !0, configurable: !0 }), e.prototype.toString = function() { return n.format("StartValue={0}, EndValue={1}", this.startValue, this.endValue) } , e }(); r.StiStateIndicatorFilter = s }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Collections.CollectionBase , n = e.Base.StiJson , i = e.Report.Components.Gauge.StiStateIndicatorFilter , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.saveToJsonObject = function(e) { var t, r; if (0 == this.list.length) return null; var i = new n , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; i.addPropertyJObject(o.toString(), l.saveToJsonObject(e)), o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return i } , t.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var n = __values(e.properties()), o = n.next(); !o.done; o = n.next()) { var a = o.value , s = new i; this.add(s), s.loadFromJsonObject(a.value) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , t.prototype.clone = function() { var e, r, n = new t; try { for (var i = __values(this.list), o = i.next(); !o.done; o = i.next()) { var a = o.value; n.add(a.clone()) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return n } , Object.defineProperty(t.prototype, "isReadOnly", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.prototype.moveUp = function(e) { var t = this.list.indexOf(e); if (t > 0) return this.list.removeAt(t), t--, this.list.insert(t, e), !0; return !1 } , t.prototype.moveDown = function(e) { var t = this.list.indexOf(e); if (-1 != t && this.list.length > 1 && t < this.list.length - 1) return this.list.removeAt(t), t++, this.list.insert(t, e), !0; return !1 } , t }(r); t.StiFilterCollection = o }(r = t.Collections || (t.Collections = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(r) { var n = e.System.StiString , i = e.System.Collections.CollectionBase , o = e.Base.StiJson , a = function(e) { function r(t) { var r = e.call(this) || this; return r.scaleType = t.scaleType, r.scale = t, r } return __extends(r, e), r.prototype.saveToJsonObject = function(e) { var t, r; if (0 == this.list.length) return null; var n = new o , i = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(i.toString(), l.saveToJsonObject(e)), i++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return n } , r.prototype.loadFromJsonObject = function(e) { var t, r, i = function(e) { var t = e.value , r = t.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 n.format("Type {0} is not found!", r); var a = i.createNew(); a.scale = i.scale, o.add(a), a.loadFromJsonObject(e.value) }, o = this; try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { i(s.value) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } } , r.prototype.clone = function() { var e, t, n = new r(this.scale); try { for (var i = __values(this.list), o = i.next(); !o.done; o = i.next()) { var a = o.value; n.add(a.clone()) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (t = i.return) && t.call(i) } finally { if (e) throw e.error } } return n } , Object.defineProperty(r.prototype, "isReadOnly", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), r.prototype.setByIndex = function(e, t) { t.scale = this.scale, this.setItemInternal(e, t) } , r.prototype.toArray = function() { var e, t, r = []; try { for (var n = __values(this.list), i = n.next(); !i.done; i = n.next()) { var o = i.value; 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 } , r.prototype.addCore = function(e) { e.elementType != this.scaleType && e.elementType != t.StiGaugeElemenType.All || (e.scale = this.scale, this.list.add(e)) } , r.prototype.add = function(e) { e.elementType != this.scaleType && e.elementType != t.StiGaugeElemenType.All || (e.scale = this.scale, this.list.add(e)) } , r.prototype.addRange = function(e) { var t, r; try { for (var n = __values(e), i = n.next(); !i.done; i = n.next()) { var o = i.value; this.addCore(o) } } catch (e) { t = { error: e } } finally { try { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , r.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) } , r.prototype.remove = function(e) { var t = this.list.indexOf(e); if (-1 != t) return e.scale = null, this.removeAt(t), !0; return !1 } , r.prototype.copyTo = function(e, t) { this.list.copyTo(e, t) } , r.prototype.setItemInternal = function(e, r) { if (null == r) throw new Error("value"); if (e < 0 || e >= this.list.length) throw new Error("InvalidArgument"); r.elementType != this.scaleType && r.elementType != t.StiGaugeElemenType.All || (r.scale = this.scale, this.list[e] = r) } , r.prototype.moveUp = function(e) { var t = this.list.indexOf(e); if (t > 0) return this.list.removeAt(t), t--, this.list.insert(t, e), !0; return !1 } , r.prototype.moveDown = function(e) { var t = this.list.indexOf(e); if (-1 != t && this.list.length > 1 && t < this.list.length - 1) return this.list.removeAt(t), t++, this.list.insert(t, e), !0; return !1 } , r }(i); r.StiGaugeElementCollection = a }(r = t.Collections || (t.Collections = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.System.Collections.CollectionBase , i = e.Base.StiJson , o = function(e) { function t(t) { var r = e.call(this) || this; return r.parent = null, r.parent = t, r } return __extends(t, e), t.prototype.saveToJsonObject = function(e) { var t, r; if (0 == this.list.length) return null; var n = new i , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(e)), o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return n } , t.prototype.loadFromJsonObject = function(e) { var t, n, i = function(e) { var t = e.value , n = t.properties().firstOrDefault(function(e) { return "Ident" == e.name }).value.toString() , i = StiOptions.Services.ranges.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == n }); if (null == i) throw r.format("Type {0} is not found!", n); var a = i.createNew(); o.add(a), a.loadFromJsonObject(e.value) }, o = this; try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { i(s.value) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (t) throw t.error } } } , t.prototype.clone = function() { var e, r, n = new t(this.parent); try { for (var i = __values(this.list), o = i.next(); !o.done; o = i.next()) { var a = o.value; n.add(a.clone()) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return n } , Object.defineProperty(t.prototype, "isReadOnly", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.prototype.setByIndex = function(t, r) { this.setParent(r), e.prototype.setByIndex.call(this, t, r) } , t.prototype.setParent = function(e) { e.rangeList = this.parent } , t.prototype.clearParent = function(e) { e.rangeList = null } , t.prototype.add = function(t) { this.setParent(t), e.prototype.add.call(this, t) } , t.prototype.insert = function(t, r) { this.setParent(r), e.prototype.insert.call(this, t, r) } , t.prototype.remove = function(e) { var t = this.list.indexOf(e); if (-1 != t) return this.clearParent(e), this.removeAt(t), !0; return !1 } , t.prototype.copyTo = function(e, t) { this.list.copyTo(e, t) } , t.prototype.moveUp = function(e) { var t = this.list.indexOf(e); if (t > 0) return this.list.removeAt(t), t--, this.list.insert(t, e), !0; return !1 } , t.prototype.moveDown = function(e) { var t = this.list.indexOf(e); if (-1 != t && this.list.length > 1 && t < this.list.length - 1) return this.list.removeAt(t), t++, this.list.insert(t, e), !0; return !1 } , t }(n); t.StiRangeCollection = o }(r = t.Collections || (t.Collections = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.System.Collections.CollectionBase , i = e.Base.StiJson , o = function(e) { function t(t) { var r = e.call(this) || this; return r.parent = null, r.parent = t, r } return __extends(t, e), t.prototype.saveToJsonObject = function(e) { var t, r; if (0 == this.list.length) return null; var n = new i , o = 0; try { for (var a = __values(this.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; n.addPropertyJObject(o.toString(), l.saveToJsonObject(e)), o++ } } catch (e) { t = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (t) throw t.error } } return n } , t.prototype.loadFromJsonObject = function(e) { var t, n, i = function(e) { var t = e.value , n = t.properties().firstOrDefault(function(e) { return "Ident" == e.name }).value.toString() , i = StiOptions.Services.gaugeScales.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == n }); if (null == i) throw r.format("Type {0} is not found!", n); var a = i.createNew(); a.gauge = i.gauge, o.add(a), a.loadFromJsonObject(e.value) }, o = this; try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { i(s.value) } } catch (e) { t = { error: e } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (t) throw t.error } } } , t.prototype.loadFromXml = function(e) {} , t.prototype.clone = function() { var e, r, n = new t(this.parent); try { for (var i = __values(this.list), o = i.next(); !o.done; o = i.next()) { var a = o.value; n.add(a.clone()) } } catch (t) { e = { error: t } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (e) throw e.error } } return n } , Object.defineProperty(t.prototype, "isReadOnly", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.prototype.setParent = function(e) { e.gauge = this.parent } , t.prototype.clearParent = function(e) { e.gauge = null } , t.prototype.add = function(t) { this.setParent(t), e.prototype.add.call(this, t) } , t.prototype.insert = function(t, r) { this.setParent(r), e.prototype.insert.call(this, t, r) } , t.prototype.remove = function(e) { var t = this.list.indexOf(e); if (-1 != t) return this.clearParent(e), this.removeAt(t), !0; return !1 } , t.prototype.copyTo = function(e, t) { this.list.copyTo(e, t) } , t.prototype.moveUp = function(e) { var t = this.list.indexOf(e); if (t > 0) return this.list.removeAt(t), t--, this.list.insert(t, e), !0; return !1 } , t.prototype.moveDown = function(e) { var t = this.list.indexOf(e); if (-1 != t && this.list.length > 1 && t < this.list.length - 1) return this.list.removeAt(t), t++, this.list.insert(t, e), !0; return !1 } , t }(n); t.StiScaleCollection = o }(r = t.Collections || (t.Collections = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Report.Events.StiEvent , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.toString = function() { return "GetText" } , t }(r); t.StiGetSkipIndicesEvent = n }(r = t.Events || (t.Events = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Report.Events.StiEvent , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.toString = function() { return "GetSkipValues" } , t }(r); t.StiGetSkipValuesEvent = n }(r = t.Events || (t.Events = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Report.Events.StiEvent , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.toString = function() { return "GetText" } , t }(r); t.StiGetTextEvent = n }(r = t.Events || (t.Events = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.EventHandler , n = e.System.EventArgs; t.StiGetTextEventHandler = new r("sender: any, e: StiGetTextEventArgs"); var i = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), Object.defineProperty(t.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), t }(n); t.StiGetTextEventArgs = i }(r = t.Events || (t.Events = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Report.Events.StiEvent , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.toString = function() { return "GetValue" } , t }(r); t.StiGetValueEvent = n }(r = t.Events || (t.Events = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.EventHandler , n = e.System.EventArgs; t.StiGetValueEventHandler = new r("sender: any, e: StiGetValueEventArgs"); var i = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), Object.defineProperty(t.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), t }(n); t.StiGetValueEventArgs = i }(r = t.Events || (t.Events = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = function() { function e() {} return e.getRoundedPath = function(e, t, r, n, i, o) {} , e.getArcGeometry = function(e, t, r, n, i) {} , e.getRadialRangeGeometry = function(e, t, r, n, i, o, a) {} , e.round = function(e) { var t = Math.trunc(e); return e - t > 0 ? t + 1 : t } , e.convertArcToCubicBezier = function(e, t, n, i) { var o = n * this.PiDiv180 , a = i * this.PiDiv180 , s = o + a , l = e.x + t * Math.cos(o) , u = e.y + t * Math.sin(o) , c = e.x + t * Math.cos(s) , h = e.y + t * Math.sin(s) , p = t * this.FourDivThree * Math.tan(.25 * a) , f = Math.atan(p / t) , d = t / Math.cos(f); f += o; var m = e.x + d * Math.cos(f) , g = e.y + d * Math.sin(f); f = Math.atan(-p / t), f += s; var y = e.x + d * Math.cos(f) , v = e.y + d * Math.sin(f) , b = []; return b.add(new r(l,u)), b.add(new r(m,g)), b.add(new r(y,v)), b.add(new r(c,h)), b } , e.convertArcToCubicBezier2 = function(e, t, n, i, o) { var a = i * this.PiDiv180 , s = o * this.PiDiv180 , l = a + s , u = e.x + t * Math.cos(a) , c = e.y + t * Math.sin(a) , h = e.x + n * Math.cos(l) , p = e.y + n * Math.sin(l) , f = (t - n) / 3; t -= f, n += f; var d = t * this.FourDivThree * Math.tan(.25 * s) , m = Math.atan(d / t) , g = t / Math.cos(m); m += a; var y = e.x + g * Math.cos(m) , v = e.y + g * Math.sin(m); m = Math.atan(-d / t), m += l; var b = e.x + g * Math.cos(m) , S = e.y + g * Math.sin(m) , w = []; return w.add(new r(u,c)), w.add(new r(y,v)), w.add(new r(b,S)), w.add(new r(h,p)), w } , e.PiDiv180 = Math.PI / 180, e.FourDivThree = 4 / 3, e }(); t.StiDrawingHelper = n }(r = t.Helpers || (t.Helpers = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() { this._allowApplyStyle = !0 } return e.prototype.applyStyle = function(e) {} , e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle = e }, enumerable: !0, configurable: !0 }), e.prototype.drawElement = function(e) {} , e }(); e.StiElementBase = t }(t = e.Primitives || (e.Primitives = {})) }(t = e.Gauge || (e.Gauge = {})) }(t = e.Components || (e.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Base.StiJson , n = e.Report.Gauge.StiGaugeElemenType , i = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.saveToJsonObject = function(e) { return new r } , t.prototype.loadFromJsonObject = function(e) {} , Object.defineProperty(t.prototype, "componentId", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "PropName", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "animation", { get: function() { return null }, set: function(e) {}, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "elementType", { get: function() { return n.LinearElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "localizeName", { get: function() { return "GaugeElement" }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "scale", { get: function() { return this._scale }, set: function(e) { this._scale = e }, enumerable: !0, configurable: !0 }), t.prototype.createNew = function() { return null } , t.prototype.prepareGaugeElement = function() {} , t }(t.StiElementBase); t.StiGaugeElement = i }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.Report.Gauge.Events.StiGetSkipValuesEvent , i = e.Report.Gauge.Events.StiGetSkipIndicesEvent , o = e.Report.Events.StiGetValueEventArgs , a = e.System.Collections.Hashtable , s = e.System.Enum , l = e.Report.Expressions.StiExpression , u = function(t) { function u() { var r = null !== t && t.apply(this, arguments) || this; return r._getSkipValuesEvent = new n, r._getSkipIndicesEvent = new i, r._skipValues = "", r._skipIndices = "", r._placement = e.Report.Gauge.StiPlacement.Outside, r._skipValuesObj = null, r._skipIndicesObj = null, r._offset = 0, r._minimumValue = null, r._maximumValue = null, r } return __extends(u, t), u.prototype.saveToJsonObject = function(r) { var n = t.prototype.saveToJsonObject.call(this, r); return n.addPropertyJObject("GetSkipValuesEvent", this.getSkipValuesEvent.saveToJsonObject(r)), n.addPropertyJObject("GetSkipIndicesEvent", this.getSkipIndicesEvent.saveToJsonObject(r)), n.addPropertyJObject("SkipValues", new l(this.skipValues).saveToJsonObject(r)), n.addPropertyJObject("SkipIndices", new l(this.skipIndices).saveToJsonObject(r)), n.addPropertyEnum("Placement", e.Report.Gauge.StiPlacement, this.placement), n.addPropertyNumber("Offset", this.offset, 0), n.addPropertyNumber("MinimumValue", this.minimumValue, null), n.addPropertyNumber("MaximumValue", this.maximumValue, null), n } , u.prototype.loadFromJsonObject = function(r) { var o, a; t.prototype.loadFromJsonObject.call(this, r); try { for (var u = __values(r.properties()), c = u.next(); !c.done; c = u.next()) { var h = c.value; switch (h.name) { case "GetSkipValuesEvent": var p = new n; p.loadFromJsonObject(h.value), this.getSkipValuesEvent = p; break; case "GetSkipIndicesEvent": var f = new i; f.loadFromJsonObject(h.value), this.getSkipIndicesEvent = f; break; case "SkipValues": var d = new l; d.loadFromJsonObject(h.value), this.skipValues = d.value; break; case "SkipIndices": var m = new l; m.loadFromJsonObject(h.value), this.skipIndices = m.value; break; case "Placement": this.placement = s.parse(e.Report.Gauge.StiPlacement, h.value.toString()); break; case "Offset": this.offset = h.value.stimulsoft.toNumber(); break; case "MinimumValue": this.minimumValue = h.value.stimulsoft.toNumber(); break; case "MaximumValue": this.maximumValue = h.value.stimulsoft.toNumber(); break } } } catch (e) { o = { error: e } } finally { try { c && !c.done && (a = u.return) && a.call(u) } finally { if (o) throw o.error } } } , u.prototype.clone = function() { var e = t.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 } , u.prototype.onGetSkipValues = function(e) {} , u.prototype.invokeGetSkipValues = function(e, t) { try { this.onGetSkipValues(t) } catch (e) { var n = r.format("Expression in GetSkipValues property of '{0}' series from '{1}' chart can't be evaluated!", "StiTickBase", this.scale.gauge.name) } } , Object.defineProperty(u.prototype, "getSkipValuesEvent", { get: function() { return this._getSkipValuesEvent }, set: function(e) { this._getSkipValuesEvent = e }, enumerable: !0, configurable: !0 }), u.prototype.onGetSkipIndices = function(e) {} , u.prototype.invokeGetSkipIndices = function(e, t) { try { this.onGetSkipIndices(t) } catch (e) { var n = r.format("Expression in GetSkipIndices property of '{0}' series from '{1}' chart can't be evaluated!", "StiTickBase", this.scale.gauge.name) } } , Object.defineProperty(u.prototype, "getSkipIndicesEvent", { get: function() { return this._getSkipIndicesEvent }, set: function(e) { this._getSkipIndicesEvent = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "skipValues", { get: function() { return this._skipValues }, set: function(e) { this._skipValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "skipIndices", { get: function() { return this._skipIndices }, set: function(e) { this._skipIndices = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "placement", { get: function() { return this._placement }, set: function(e) { this._placement = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "skipValuesObj", { get: function() { return this._skipValuesObj }, set: function(e) { this._skipValuesObj = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "skipIndicesObj", { get: function() { return this._skipIndicesObj }, set: function(e) { this._skipIndicesObj = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "offset", { get: function() { return this._offset }, set: function(e) { this._offset = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "minimumValue", { get: function() { return this._minimumValue }, set: function(e) { this._minimumValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "maximumValue", { get: function() { return this._maximumValue }, set: function(e) { this._maximumValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "isSkipMajorValues", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), u.prototype.getPointCollection = function() { return null } , u.prototype.getMinorCollections = function() { var e, t, r = new a, n = this.isSkipMajorValues ? this.getMajorCollections() : null, i = this.scale.minorInterval; 0 == i && (i = 1); var o = this.scale.scaleHelper.actualMinimum , s = this.scale.scaleHelper.actualMaximum , l = this.scale.scaleHelper.totalLength , u = o , c = i , h = 0; r.add(u, 0); var p = l / 100; u += i; while (u <= s) h += c, r.add(u, h / p * .01), u += i; if (null != n) try { for (var f = __values(n.keys), d = f.next(); !d.done; d = f.next()) { var m = d.value; r.containsKey(m) && r.remove(m) } } catch (t) { e = { error: t } } finally { try { d && !d.done && (t = f.return) && t.call(f) } finally { if (e) throw e.error } } return r } , u.prototype.getMajorCollections = function() { var e = new a , t = this.scale.majorInterval; 0 == t && (t = 1); var r = this.scale.scaleHelper.actualMinimum , n = this.scale.scaleHelper.actualMaximum , i = this.scale.scaleHelper.totalLength , o = t , s = r , l = 0; e.add(s, 0); var u = i / 100; s += t; while (s <= n) l += o, e.add(s, l / u * .01), s += t; return e } , u.prototype.checkTickValue = function(e, t, r, n) { if (null != t) { var i = 0; while (i < t.length) { if (t[i] == n) return !0; i++ } } if (null != e) { var i = 0; while (i < e.length) { if (e[i] == r) return !0; i++ } } return !1 } , u.prototype.prepareGaugeElement = function() { var t = new o; this.invokeGetSkipValues(this, t), this.skipValuesObj = e.Report.Gauge.Helpers.StiGaugeHelper.getFloatArrayValueFromString(t.value); var r = new o; this.invokeGetSkipIndices(this, r), this.skipIndicesObj = e.Report.Gauge.Helpers.StiGaugeHelper.getFloatArrayValueFromString(r.value) } , u.prototype.getOffset = function(e) { return null == e ? this.offset : e } , u.prototype.getPlacement = function(e) { return null == e ? this.placement : e } , u }(t.StiGaugeElement); t.StiTickBase = u }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.Base.Drawing.StiSolidBrush , i = e.System.Drawing.Color , o = e.System.Drawing.Font , a = e.Base.StiJsonReportObjectHelper , s = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._textFormat = null, t._textBrush = new n(i.black), t._font = new o("Arial",10), t } return __extends(t, e), t.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyStringNullOrEmpty("TextFormat", this.textFormat), r.addPropertyStringNullOrEmpty("TextBrush", a.Serialize.jBrush(this.textBrush)), r.addPropertyStringNullOrEmpty("Font", a.Serialize.font(this.font, "Arial", 10)), r } , t.prototype.loadFromJsonObject = function(t) { var r, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), o = i.next(); !o.done; o = i.next()) { var s = o.value; switch (s.name) { case "TextFormat": this.textFormat = s.value.toString(); break; case "TextBrush": this.textBrush = a.Deserialize.brush(s.value); break; case "Font": this.font = a.Deserialize.font(s.value.toString(), this.font); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , t.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.textBrush = this.textBrush.clone(), t } , Object.defineProperty(t.prototype, "textFormat", { get: function() { return this._textFormat }, set: function(e) { this._textFormat = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "textBrush", { get: function() { return this._textBrush }, set: function(e) { this._textBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), t.prototype.getTextForRender = function(e, t) { return r.isNullOrEmpty(t) ? e.toString() : r.format(t, e) } , t.prototype.getTextForRender2 = function(e, t) { return void 0 === t && (t = this.textFormat), r.isNullOrEmpty(t) ? e : r.format(t, e) } , t }(t.StiTickBase); t.StiTickLabelBase = s }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.centerX = function(e) { return e.left + e.width / 2 } , e.centerY = function(e) { return e.top + e.height / 2 } , e }(); e.StiRectangleHelper = t }(t = e.Helpers || (e.Helpers = {})) }(t = e.Gauge || (e.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Collections.List , n = e.System.Collections.Dictionary , i = e.Report.StiAbbreviationNumberFormatHelper , o = function() { function e(e, t, r) { this.valueKey = e, this.valueStr = t, this.count = r } return e.prototype.toString = function() { return this.valueStr + " - " + this.count + '"' } , e }(); t.CacheInfo = o; var a = function() { function e() {} return e.getLabels = function(t) { for (var i, a, s = new n, l = new r, u = function(e) { var r = Math.round(t.keys[e]); if (0 == r) return s.add(t.keys[e], "0"), "continue"; var n = !1; r < 0 && (n = !0, r = Math.abs(r)); var i; i = r < 1e3 ? r.toString() : r < 1e6 ? Math.round(r / 1e3) + "K" : r < 1e9 ? Math.round(r / 1e6) + "M" : r < 1e12 ? Math.round(r / 1e9) + "B" : r < 1e15 ? Math.round(r / 1e12) + "T" : r.toString(), n && (i = "-" + i); var a = l.firstOrDefault(function(e) { return e.valueStr == i }); null == a ? l.add(new o(t.keys[e],i,1)) : a.count++, s.add(t.keys[e], i) }, c = 0; c < t.count; c++) u(c); try { for (var h = __values(l), p = h.next(); !p.done; p = h.next()) { var f = p.value; if (f.count > 1) { var d = { ref: s }; e.prepare(f, d), s = d.ref } } } catch (e) { i = { error: e } } finally { try { p && !p.done && (a = h.return) && a.call(h) } finally { if (i) throw i.error } } return s } , e.prepare = function(e, t) { var r, n, o = t.ref, a = o.keys.toArray(); try { for (var s = __values(a), l = s.next(); !l.done; l = s.next()) { var u = l.value; if (o.get(u) != e.valueStr) continue; o.set(u, i.format(u)) } } catch (e) { r = { error: e } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (r) throw r.error } } } , e }(); t.StiTickLabelHelper = a }(r = t.Helpers || (t.Helpers = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(r) { var n = e.System.StiString , i = e.System.Drawing.Orientation , o = e.Report.Gauge.StiPlacement , a = e.Report.Gauge.Helpers.StiRectangleHelper , s = e.Report.Components.Gauge.Primitives.StiTickLabelBase , l = e.Report.Painters.StiGaugeContextPainter , u = e.System.Drawing.Rectangle , c = e.Report.Gauge.Helpers.StiTickLabelHelper , h = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), r.prototype.drawElement = function(e) { var r, s, h = this.scale.stimulsoft.as(t.StiLinearScale); if (null == h) return; var p = h.barGeometry.size , f = h.barGeometry.rectGeometry; if (0 == p.width || 0 == p.height) return; var d = this.getPointCollection(); if (0 == d.count) return; var m = c.getLabels(d), g = this.textFormat, y = this.skipValuesObj, v = this.skipIndicesObj, b = this.scale.scaleHelper.actualMinimum, S = this.scale.scaleHelper.actualMaximum, w = h.startWidth < h.endWidth, G, k; h.orientation == i.Horizontal ? (G = f.width, k = p.height) : (G = f.height, k = p.width); var B = h.barGeometry.getRestToLenght(); k *= this.offset; var R = -1 , O = null; try { for (var _ = __values(d.keys), P = _.next(); !P.done; P = _.next()) { var j = P.value; if (R++, j < b) continue; if (j > S) continue; if (this.checkTickValue(y, v, j, R)) continue; if (null != this.minimumValue && j < this.minimumValue) continue; if (null != this.maximumValue && j > this.maximumValue) continue; var x = n.isNullOrEmpty(g) && this.scale.gauge.shortValue ? m.get(j) : this.getTextForRender(j, g) , C = l.changeFontSize(this.font, e.zoom) , W = e.measureString(x, C) , M = d.get(j) * G , T = void 0 , E = void 0; if (h.orientation == i.Horizontal) if (E = h.isReversed ? f.right - M - W.width / 2 : f.left + M - W.width / 2, this.placement == o.Overlay) T = a.centerY(f) - W.height / 2 - k; else { var N = w ? (1 - d.get(j)) * B : B * d.get(j); T = this.placement == o.Outside ? f.top - W.height - k + N : f.bottom + k - N } else if (T = h.isReversed ? f.top + M - W.height / 2 : f.bottom - M - W.height / 2, this.placement == o.Overlay) E = a.centerX(f) - W.width / 2 - k; else { var N = w ? (1 - d.get(j)) * B : B * d.get(j); E = this.placement == o.Outside ? f.left - W.width - 3 - k + N : f.right + k + 3 - N } var A = new u(E,T,W.width,W.height); null != O && O.intersectsWith(A) || (e.addTextGaugeGeom(x, C, this.textBrush, A, null), O = A) } } catch (e) { r = { error: e } } finally { try { P && !P.done && (s = _.return) && s.call(_) } finally { if (r) throw r.error } } } , r }(s); r.StiLinearTickLabelBase = h }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Components.Gauge.Primitives.StiLinearTickLabelBase , i = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearTickLabelMajor }, enumerable: !0, configurable: !0 }), r.prototype.applyStyle = function(e) { this.allowApplyStyle && (this.textBrush = e.core.tickLabelMajorTextBrush, this.font = e.core.tickLabelMajorFont) } , Object.defineProperty(r.prototype, "localizeName", { get: function() { return "LinearTickLabelMajor" }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r.prototype.getPointCollection = function() { return this.getMajorCollections() } , r }(n); r.StiLinearTickLabelMajor = i }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.prototype.draw = function(e, t, r, n, i) { void 0 === n && (n = null), void 0 === i && (i = null) } , e }(); e.StiGaugeElementSkin = t }(t = e.Gauge || (e.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(r) { var n = e.System.StiString , i = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , o = e.Report.Painters.StiGaugeContextPainter , a = e.System.Drawing.StringFormat , s = e.System.Drawing.StringAlignment , l = e.System.Drawing.StringFormatFlags , u = e.Report.Gauge.IStiGaugeMarker , c = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.addLines = function(e, t, r, c, h, p, f, d) { var m = new i(c,r[0],t.brush,t.borderBrush,t.borderWidth); m.addGraphicsPathLinesGaugeGeom(r), m.addGraphicsPathCloseFigureGaugeGeom(), null != h && null != p ? (e.addPushMatrixGaugeGeom(h, p), e.addGraphicsPathGaugeGeom(m), e.addPopTranformGaugeGeom()) : e.addGraphicsPathGaugeGeom(m), null != d && (m.animation = d); var g = t.stimulsoft.as(u); if (null != g && g.showValue) { null == f && (f = new a, f.alignment = s.Center, f.lineAlignment = s.Center, f.formatFlags = l.NoWrap); var y = o.changeFontSize(g.font, e.zoom); e.addTextGaugeGeom(n.format(g.format, t.valueObj), y, g.textBrush, c, f) } } , t }(t.StiGaugeElementSkin); r.StiMarkerBaseSkin = c }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = e.System.Drawing.StringFormat , i = e.System.Drawing.StringAlignment , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, o, a, s) { var l = t , u = []; u[0] = new r(o.right,o.top), u[1] = new r(o.left,o.top + o.height / 2), u[2] = new r(o.right,o.bottom); var c = new n; c.alignment = i.Far, c.lineAlignment = i.Center, this.addLines(e, l, u, o, a, s, c, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker10Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = e.System.Drawing.StringFormat , i = e.System.Drawing.StringAlignment , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, o, a, s) { var l = t , u = []; u[0] = new r(o.left,o.top), u[1] = new r(o.right,o.top + o.height / 2), u[2] = new r(o.left,o.bottom); var c = new n; c.alignment = i.Near, c.lineAlignment = i.Center, this.addLines(e, l, u, o, a, s, c, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker11Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = e.System.Drawing.StringFormat , i = e.System.Drawing.StringAlignment , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, o, a, s) { var l = t , u = o.bottom , c = o.right , h = o.left + o.width / 3 , p = o.top + o.height / 2 , f = []; f[0] = new r(c,o.top), f[1] = new r(c,u), f[2] = new r(h,u), f[3] = new r(o.left,p), f[4] = new r(h,o.top); var d = new n; d.alignment = i.Far, d.lineAlignment = i.Center, this.addLines(e, l, f, o, a, s, d, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker12Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = e.System.Drawing.StringFormat , i = e.System.Drawing.StringAlignment , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, o, a, s) { var l = t , u = o.bottom , c = o.right , h = c - o.width / 3 , p = o.top + o.height / 2 , f = []; f[0] = new r(o.left,o.top), f[1] = new r(h,o.top), f[2] = new r(c,p), f[3] = new r(h,u), f[4] = new r(o.left,u); var d = new n; d.alignment = i.Near, d.lineAlignment = i.Center, this.addLines(e, l, f, o, a, s, d, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker13Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, n, i, o) { var a = t , s = n.bottom , l = n.right , u = n.height / 3 , c = n.left + n.width / 5 , h = []; h[0] = new r(c,s), h[1] = new r(c,s - u), h[2] = new r(n.left,n.top + n.height / 2), h[3] = new r(c,n.top + u), h[4] = new r(c,n.top), h[5] = new r(l,n.top), h[6] = new r(l,s), this.addLines(e, a, h, n, i, o, null, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker14Skin = n }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, n, i, o) { var a = t , s = n.bottom , l = n.right , u = n.height / 3 , c = n.right - n.width / 5 , h = []; h[0] = new r(n.left,n.top), h[1] = new r(c,n.top), h[2] = new r(c,n.top + u), h[3] = new r(l,n.top + n.height / 2), h[4] = new r(c,s - u), h[5] = new r(c,s), h[6] = new r(n.left,s), this.addLines(e, a, h, n, i, o, null, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker15Skin = n }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, n, i, o) { var a = t , s = n.left + n.width / 2 , l = n.top + n.height / 2 , u = []; u[0] = new r(n.left,l), u[1] = new r(s,n.top), u[2] = new r(n.right,l), u[3] = new r(s,n.bottom), this.addLines(e, a, u, n, i, o, null, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker1Skin = n }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, n, i, o) { var a = t , s = n.bottom , l = n.right , u = []; u[0] = new r(n.left,n.top), u[1] = new r(l,n.top), u[2] = new r(l,s), u[3] = new r(n.left,s), this.addLines(e, a, u, n, i, o, null, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker2Skin = n }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = e.System.Drawing.StringFormat , i = e.System.Drawing.StringAlignment , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, o, a, s) { var l = t , u = []; u[0] = new r(o.left,o.bottom), u[1] = new r(o.left + o.width / 2,o.top), u[2] = new r(o.right,o.bottom); var c = new n; c.alignment = i.Center, c.lineAlignment = i.Far, this.addLines(e, l, u, o, a, s, c, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker3Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = e.System.Drawing.StringFormat , i = e.System.Drawing.StringAlignment , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, o, a, s) { var l = t , u = []; u[0] = new r(o.left,o.top), u[1] = new r(o.left + o.width / 2,o.bottom), u[2] = new r(o.right,o.top); var c = new n; c.alignment = i.Center, c.lineAlignment = i.Near, this.addLines(e, l, u, o, a, s, c, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker4Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = e.System.Drawing.StringFormat , i = e.System.Drawing.StringAlignment , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, o, a, s) { var l = t , u = o.bottom , c = o.right , h = o.top + o.height / 3 , p = o.left + o.width / 2 , f = []; f[0] = new r(o.left,u), f[1] = new r(o.left,h), f[2] = new r(p,o.top), f[3] = new r(c,h), f[4] = new r(c,u); var d = new n; d.alignment = i.Center, d.lineAlignment = i.Far, this.addLines(e, l, f, o, a, s, d, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker5Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = e.System.Drawing.StringFormat , i = e.System.Drawing.StringAlignment , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, o, a, s) { var l = t , u = o.bottom - o.height / 3 , c = o.left + o.width / 2 , h = []; h[0] = new r(o.left,o.top), h[1] = new r(o.right,o.top), h[2] = new r(o.right,u), h[3] = new r(c,o.bottom), h[4] = new r(o.left,u); var p = new n; p.alignment = i.Center, p.lineAlignment = i.Near, this.addLines(e, l, h, o, a, s, p, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker6Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.System.Drawing.StringFormat , i = e.System.Drawing.StringAlignment , o = e.System.Drawing.StringFormatFlags , a = e.Report.Painters.StiGaugeContextPainter , s = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, s, l, u) { var c = t; if (null != l && null != u ? (e.addPushMatrixGaugeGeom(l, u), e.addEllipseGaugeGeom(s, c.brush, c.borderBrush, c.borderWidth), e.addPopTranformGaugeGeom()) : e.addEllipseGaugeGeom(s, c.brush, c.borderBrush, c.borderWidth), c.showValue) { var h = new n; h.alignment = i.Center, h.lineAlignment = i.Center, h.formatFlags = o.NoWrap; var p = a.changeFontSize(c.font, e.zoom); e.addTextGaugeGeom(r.format(c.format, c.valueObj), p, c.textBrush, s, h) } } , t }(t.StiMarkerBaseSkin); t.StiMarker7Skin = s }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, n, i, o) { var a = t , s = n.bottom , l = n.right , u = n.top + n.height / 5 , c = n.width / 3 , h = []; h[0] = new r(n.left,u), h[1] = new r(n.left + c,u), h[2] = new r(n.left + n.width / 2,n.top), h[3] = new r(l - c,u), h[4] = new r(l,u), h[5] = new r(l,s), h[6] = new r(n.left,s), this.addLines(e, a, h, n, i, o, null, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker8Skin = n }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, n, i, o) { var a = t , s = n.bottom , l = n.right , u = s - n.height / 5 , c = n.width / 3 , h = []; h[0] = new r(n.left,n.top), h[1] = new r(l,n.top), h[2] = new r(l,u), h[3] = new r(l - c,u), h[4] = new r(n.left + n.width / 2,s), h[5] = new r(n.left + c,u), h[6] = new r(n.left,u), this.addLines(e, a, h, n, i, o, null, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiMarker9Skin = n }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.System.Drawing.Rectangle , o = e.System.Drawing.Point , a = e.Report.Gauge.StiGaugeElementSkin , s = e.System.Drawing.StringFormatFlags , l = e.System.Drawing.StringFormat , u = e.System.Drawing.StringAlignment , c = e.System.Drawing.Color , h = e.Base.Drawing.StiGradientBrush , p = e.Base.Drawing.StiEmptyBrush , f = e.Base.Drawing.StiSolidBrush , d = e.Report.Painters.StiGaugeContextPainter , m = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, a, m, g) { var y = t , v = Math.min(a.width, a.height) , b = v / 4 , S = .6 * a.height , w = new i(a.left + b,a.top + .2 * a.height,a.width - b,S) , G = []; G[0] = w.location, G[1] = new o(w.right,w.top + w.height / 2), G[2] = new o(w.left,w.bottom); var k = new n(w,G[0],new h(c.fromArgb(255, 248, 210),c.fromArgb(0, 255, 248, 210),0),new p,0); k.addGraphicsPathLinesGaugeGeom(G), k.addGraphicsPathCloseFigureGaugeGeom(), S = .4 * a.height; var B = .4 * S , R = new i(a.left + b,a.top + .3 * a.height,a.width - b,S) , O = []; O[0] = R.location, O[1] = new o(R.right,R.top + B), O[2] = new o(R.right,R.bottom - B), O[3] = new o(R.left,R.bottom); var _ = new n(R,O[0],new h(c.fromArgb(34, 34, 34),c.fromArgb(255, 210, 90),0),new p,0); _.addGraphicsPathLinesGaugeGeom(O), _.addGraphicsPathCloseFigureGaugeGeom(); var P = null != m && null != g , j = new i(a.x,a.y,v,v); if (P && e.addPushMatrixGaugeGeom(m, g), null != t.animation && (k.animation = _.animation = t.animation), e.addGraphicsPathGaugeGeom(k), e.addGraphicsPathGaugeGeom(_), e.addEllipseGaugeGeom(j, new h(c.fromArgb(120, 120, 120),c.fromArgb(132, 117, 77),0), new f(c.fromArgb(228, 188, 83)), 1), P && e.addPopTranformGaugeGeom(), y.showValue) { var x = new l; x.alignment = u.Center, x.lineAlignment = u.Center, x.formatFlags = s.NoWrap; var C = d.changeFontSize(y.font, e.zoom); e.addTextGaugeGeom(r.format(y.format, y.valueObj), C, y.textBrush, j, x) } } , t }(a); t.StiNeedleIndicator1Skin = m }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.Report.Painters.StiGaugeContextPainter , o = e.System.Drawing.Rectangle , a = e.System.Drawing.Point , s = e.Report.Gauge.StiGaugeElementSkin , l = e.System.Drawing.StringFormatFlags , u = e.System.Drawing.StringFormat , c = e.System.Drawing.StringAlignment , h = e.System.Drawing.Color , p = e.Base.Drawing.StiEmptyBrush , f = e.Base.Drawing.StiSolidBrush , d = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, s, d, m) { var g = t , y = Math.min(s.width, s.height) , v = y / 3 , b = new o(s.left + 1,s.top + (s.height - v) / 2,s.width - 1,v) , S = new n(b,b.location,g.brush,g.borderBrush,g.borderWidth); v = y / 7; var w = []; w[0] = b.location, w[1] = new a(b.right,b.top + (b.height - v) / 2), w[2] = new a(b.right,b.bottom - (b.height - v) / 2), w[3] = new a(b.left,b.bottom), w[4] = w[0], S.addGraphicsPathLinesGaugeGeom(w); var G = null != d && null != m; G && e.addPushMatrixGaugeGeom(d, m), null != t.animation && (S.animation = t.animation), e.addGraphicsPathGaugeGeom(S); var k = new o(s.x,s.y,y,y) , B = new f(h.fromArgb(175, 175, 175)); e.addEllipseGaugeGeom(k, B, g.borderBrush, 1.5); var R = .15 * y , O = new o(k.x + R,k.top + R,y - 2 * R,y - 2 * R); if (e.addEllipseGaugeGeom(O, new p, new f(h.white), 2), G && e.addPopTranformGaugeGeom(), g.showValue) { var _ = new u; _.alignment = c.Center, _.lineAlignment = c.Center, _.formatFlags = l.NoWrap; var P = i.changeFontSize(g.font, e.zoom); e.addTextGaugeGeom(r.format(g.format, g.valueObj), P, g.textBrush, k, _) } } , t }(s); t.StiNeedleIndicator2Skin = d }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.System.Drawing.Rectangle , o = e.System.Drawing.Point , a = e.Report.Gauge.StiGaugeElementSkin , s = e.System.Drawing.StringFormatFlags , l = e.System.Drawing.StringFormat , u = e.System.Drawing.StringAlignment , c = e.System.Drawing.Color , h = e.Base.Drawing.StiGradientBrush , p = e.Base.Drawing.StiSolidBrush , f = e.Report.Painters.StiGaugeContextPainter , d = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, a, d, m) { var g = t , y = Math.min(a.width, a.height) , v = .6 * y , b = new i(a.left + y / 2,a.top + (a.height - v) / 2,a.width - y / 2,v) , S = new n(b,b.location,g.brush,g.borderBrush,g.borderWidth) , w = .111 * b.width , G = .15 * b.height , k = []; k[0] = b.location, k[1] = new o(b.right - w,b.top + G), k[2] = new o(b.right,b.top + b.height / 2), k[3] = new o(b.right - w,b.bottom - G), k[4] = new o(b.left,b.bottom), k[5] = k[0], S.addGraphicsPathLinesGaugeGeom(k); var B = null != d && null != m; B && e.addPushMatrixGaugeGeom(d, m), e.addGraphicsPathGaugeGeom(S); var R = new i(a.x,a.y,y,y) , O = new h(c.fromArgb(230, 229, 229),c.fromArgb(80, 80, 80),45) , _ = new p(c.fromArgb(98, 94, 90)); if (e.addEllipseGaugeGeom(R, O, _, 1.5), B && e.addPopTranformGaugeGeom(), null != t.animation && (S.animation = t.animation), g.showValue) { var P = new l; P.alignment = u.Center, P.lineAlignment = u.Center, P.formatFlags = s.NoWrap; var j = f.changeFontSize(g.font, e.zoom); e.addTextGaugeGeom(r.format(g.format, g.valueObj), j, g.textBrush, R, P) } } , t }(a); t.StiNeedleIndicator3Skin = d }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.Report.Painters.StiGaugeContextPainter , o = e.Report.Engine.StiParser.StiParser , a = e.System.Drawing.Rectangle , s = e.System.Drawing.Point , l = e.Report.Gauge.StiGaugeElementSkin , u = e.System.Drawing.StringFormatFlags , c = e.System.Drawing.StringFormat , h = e.System.Drawing.StringAlignment , p = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, l, p, f) { var d = t , m = Math.min(l.width, l.height) , g = .6 * m , y = new s(l.location.x + m / 2 - d.offsetNeedle * l.width,l.location.y + l.height / 2 - m / 2) , v = new a(y.x,l.y,l.width - m / 2,m) , b = []; b[0] = new s(v.x,v.y + v.height / 2 - v.height * d.endWidth / 2), b[1] = new s(v.right,v.y + v.height / 2 - v.height * d.startWidth / 2), b[2] = new s(v.right,v.y + v.height / 2 + v.height * d.startWidth / 2), b[3] = new s(v.x,v.y + v.height / 2 + v.height * d.endWidth / 2), b[4] = b[0]; var S = new n(v,b[0],d.brush,d.borderBrush,d.borderWidth); S.addGraphicsPathLinesGaugeGeom(b); var w = null != p && null != f; w && e.addPushMatrixGaugeGeom(p, f), e.addGraphicsPathGaugeGeom(S); var G = new s(l.location.x,l.location.y + l.height / 2 - m / 2) , k = new a(G.x,G.y,m,m); if (e.addEllipseGaugeGeom(k, d.capBrush, d.capBorderBrush, d.capBorderWidth), w && e.addPopTranformGaugeGeom(), null != t.animation && (S.animation = t.animation), d.showValue) { var B = new c; B.alignment = h.Center, B.lineAlignment = h.Center, B.formatFlags = u.NoWrap; var R = i.changeFontSize(d.font, e.zoom) , O = e.gauge.report.isDesigning ? o.parseTextValue("{" + d.value + "}", e.gauge).stimulsoft.toNumber() : d.valueObj; e.addTextGaugeGeom(r.format(d.format, O), R, d.textBrush, k, B) } } , t }(l); t.StiNeedleIndicator4Skin = p }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.System.Drawing.StringFormatFlags , i = e.System.Drawing.StringFormat , o = e.System.Drawing.StringAlignment , a = e.Report.Gauge.StiGaugeElementSkin , s = e.Report.Painters.StiGaugeContextPainter , l = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, a, l, u) { var c = t; if (e.addEllipseGaugeGeom(a, c.brush, c.borderBrush, c.borderWidth), c.showValue) { var h = new i; h.alignment = o.Center, h.lineAlignment = o.Center, h.formatFlags = n.NoWrap; var p = s.changeFontSize(c.font, e.zoom); e.addTextGaugeGeom(r.format(c.format, c.valueObj), p, c.textBrush, a, h) } } , t }(a); t.StiState1Skin = l }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.Report.Painters.StiGaugeContextPainter , i = e.System.Drawing.StringFormatFlags , o = e.System.Drawing.StringFormat , a = e.System.Drawing.StringAlignment , s = e.Report.Gauge.StiGaugeElementSkin , l = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, s, l, u) { var c = t; if (e.addRectangleGaugeGeom(s, c.brush, c.borderBrush, c.borderWidth), c.showValue) { var h = new o; h.alignment = a.Center, h.lineAlignment = a.Center, h.formatFlags = i.NoWrap; var p = n.changeFontSize(c.font, e.zoom); e.addTextGaugeGeom(r.format(c.format, c.valueObj), p, c.textBrush, s, h) } } , t }(s); t.StiState2Skin = l }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Point , n = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, n, i, o) { var a = t , s = n.left + n.width / 2 , l = n.top + n.height / 2 , u = []; u[0] = new r(n.left,l), u[1] = new r(s,n.top), u[2] = new r(n.right,l), u[3] = new r(s,n.bottom), this.addLines(e, a, u, n, i, o, null, t.animation) } , t }(t.StiMarkerBaseSkin); t.StiState3Skin = n }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(t) { var r = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, r, n, i) { var o = t; e.addRectangleGaugeGeom(r, o.brush, o.borderBrush, o.borderWidth) } , t }(e.StiGaugeElementSkin); t.StiMark1Skin = r }(t = e.Skins || (e.Skins = {})) }(t = e.Gauge || (e.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(t) { var r = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, r, n, i) { var o = t; e.addEllipseGaugeGeom(r, o.brush, o.borderBrush, o.borderWidth) } , t }(e.StiGaugeElementSkin); t.StiMark2Skin = r }(t = e.Skins || (e.Skins = {})) }(t = e.Gauge || (e.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(r) { var n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.System.Drawing.Point , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, r, o, a) { var s = t , l = r.left + r.width / 2 , u = r.top + r.height / 2 , c = []; c[0] = new i(r.left,u), c[1] = new i(l,r.top), c[2] = new i(r.right,u), c[3] = new i(l,r.bottom); var h = new n(r,c[0],s.brush,s.borderBrush,s.borderWidth); h.addGraphicsPathLinesGaugeGeom(c), h.addGraphicsPathCloseFigureGaugeGeom(), e.addGraphicsPathGaugeGeom(h) } , t }(t.StiGaugeElementSkin); r.StiMark3Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(r) { var n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.System.Drawing.Point , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, r, o, a) { var s = t , l = [] , u = r.bottom; l[0] = new i(r.left,u), l[1] = new i(r.right,u), l[2] = new i(r.left + r.width / 2,r.top); var c = new n(r,l[0],s.brush,s.borderBrush,s.borderWidth); c.addGraphicsPathLinesGaugeGeom(l), c.addGraphicsPathCloseFigureGaugeGeom(), e.addGraphicsPathGaugeGeom(c) } , t }(t.StiGaugeElementSkin); r.StiMark4Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(r) { var n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.System.Drawing.Point , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, r, o, a) { var s = t , l = []; l[0] = new i(r.left,r.top), l[1] = new i(r.right,r.top + r.height / 2), l[2] = new i(r.left,r.bottom); var u = new n(r,l[0],s.brush,s.borderBrush,s.borderWidth); u.addGraphicsPathLinesGaugeGeom(l), u.addGraphicsPathCloseFigureGaugeGeom(), e.addGraphicsPathGaugeGeom(u) } , t }(t.StiGaugeElementSkin); r.StiMark5Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(r) { var n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.System.Drawing.Point , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, r, o, a) { var s = t , l = [] , u = r.top + r.height / 2; l[0] = new i(r.right,r.top), l[1] = new i(r.left,u), l[2] = new i(r.right,r.bottom); var c = new n(r,l[0],s.brush,s.borderBrush,s.borderWidth); c.addGraphicsPathLinesGaugeGeom(l), c.addGraphicsPathCloseFigureGaugeGeom(), e.addGraphicsPathGaugeGeom(c) } , t }(t.StiGaugeElementSkin); r.StiMark6Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(r) { var n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.System.Drawing.Point , o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.draw = function(e, t, r, o, a) { var s = t , l = [] , u = r.top + r.height / 2; l[0] = new i(r.right,r.top), l[1] = new i(r.left,u), l[2] = new i(r.right,r.bottom); var c = new n(r,l[0],s.brush,s.borderBrush,s.borderWidth); c.addGraphicsPathLinesGaugeGeom(l), c.addGraphicsPathCloseFigureGaugeGeom(), e.addGraphicsPathGaugeGeom(c) } , t }(t.StiGaugeElementSkin); r.StiMark7Skin = o }(r = t.Skins || (t.Skins = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(r) { var n = e.Report.Gauge.Skins.StiMarker1Skin , i = e.Report.Gauge.Skins.StiMarker2Skin , o = e.Report.Gauge.Skins.StiMarker3Skin , a = e.Report.Gauge.Skins.StiMarker4Skin , s = e.Report.Gauge.Skins.StiMarker5Skin , l = e.Report.Gauge.Skins.StiMarker6Skin , u = e.Report.Gauge.Skins.StiMarker7Skin , c = e.Report.Gauge.Skins.StiMarker8Skin , h = e.Report.Gauge.Skins.StiMarker9Skin , p = e.Report.Gauge.Skins.StiMarker10Skin , f = e.Report.Gauge.Skins.StiMarker11Skin , d = e.Report.Gauge.Skins.StiMarker12Skin , m = e.Report.Gauge.Skins.StiMarker13Skin , g = e.Report.Gauge.Skins.StiMarker14Skin , y = e.Report.Gauge.Skins.StiMark1Skin , v = e.Report.Gauge.Skins.StiMark2Skin , b = e.Report.Gauge.Skins.StiMark3Skin , S = e.Report.Gauge.Skins.StiMark4Skin , w = e.Report.Gauge.Skins.StiMark5Skin , G = e.Report.Gauge.Skins.StiMark6Skin , k = e.Report.Gauge.Skins.StiMark7Skin , B = e.Report.Gauge.Skins.StiState1Skin , R = e.Report.Gauge.Skins.StiState2Skin , O = e.Report.Gauge.Skins.StiState3Skin , _ = e.Report.Gauge.Skins.StiNeedleIndicator1Skin , P = e.Report.Gauge.Skins.StiNeedleIndicator2Skin , j = e.Report.Gauge.Skins.StiNeedleIndicator3Skin , x = e.Report.Gauge.Skins.StiNeedleIndicator4Skin , C = function() { function e() {} return e.getMarkerSkin = function(e) { switch (e) { case t.StiMarkerSkin.Diamond: return new n; case t.StiMarkerSkin.Rectangle: return new i; case t.StiMarkerSkin.TriangleTop: return new o; case t.StiMarkerSkin.TriangleBottom: return new a; case t.StiMarkerSkin.PentagonTop: return new s; case t.StiMarkerSkin.PentagonBottom: return new l; case t.StiMarkerSkin.Ellipse: return new u; case t.StiMarkerSkin.RectangularCalloutTop: return new c; case t.StiMarkerSkin.RectangularCalloutBottom: return new h; case t.StiMarkerSkin.TriangleLeft: return new p; case t.StiMarkerSkin.TriangleRight: return new f; case t.StiMarkerSkin.PentagonLeft: return new d; case t.StiMarkerSkin.PentagonRight: return new m; case t.StiMarkerSkin.RectangularCalloutLeft: return new g; default: return null } } , e.getTickMarkSkin = function(e) { switch (e) { case t.StiTickMarkSkin.Rectangle: return new y; case t.StiTickMarkSkin.Ellipse: return new v; case t.StiTickMarkSkin.Diamond: return new b; case t.StiTickMarkSkin.TriangleTop: return new S; case t.StiTickMarkSkin.TriangleRight: return new w; case t.StiTickMarkSkin.TriangleLeft: return new G; case t.StiTickMarkSkin.TriangleBottom: return new k; default: return null } } , e.getStateIndicatorSkin = function(e) { switch (e) { case t.StiStateSkin.Ellipse: return new B; case t.StiStateSkin.Rectangle: return new R; case t.StiStateSkin.Diamond: return new O; default: return null } } , e.getNeedleIndicatorSkin = function(e) { switch (e) { case t.StiNeedleSkin.DefaultNeedle: return new _; case t.StiNeedleSkin.SpeedometerNeedle: return new P; case t.StiNeedleSkin.SpeedometerNeedle2: return new j; case t.StiNeedleSkin.SimpleNeedle: return new x; default: return null } } , e }(); r.StiGaugeSkinHelper = C }(r = t.Helpers || (t.Helpers = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Report.Gauge.Helpers.StiGaugeSkinHelper , n = e.System.Drawing.Color , i = e.Base.Drawing.StiSolidBrush , o = e.System.Enum , a = e.Report.Components.Gauge.Primitives.StiTickBase , s = e.Base.StiJsonReportObjectHelper , l = function(t) { function a() { var r = null !== t && t.apply(this, arguments) || this; return r._relativeHeight = .1, r._relativeWidth = .1, r._skin = e.Report.Gauge.StiTickMarkSkin.Rectangle, r._brush = new i(n.white), r._borderBrush = new i(n.fromArgb(89, 87, 87)), r._borderWidth = 1, r } return __extends(a, t), a.prototype.saveToJsonObject = function(r) { var n = t.prototype.saveToJsonObject.call(this, r); return n.addPropertyNumber("RelativeHeight", this.relativeHeight, .1), n.addPropertyNumber("RelativeWidth", this.relativeWidth, .1), n.addPropertyEnum("Skin", e.Report.Gauge.StiTickMarkSkin, this.skin), n.addPropertyStringNullOrEmpty("Brush", s.Serialize.jBrush(this.brush)), n.addPropertyStringNullOrEmpty("BorderBrush", s.Serialize.jBrush(this.borderBrush)), n.addPropertyNumber("BorderWidth", this.borderWidth, 1), n } , a.prototype.loadFromJsonObject = function(r) { var n, i; t.prototype.loadFromJsonObject.call(this, r); try { for (var a = __values(r.properties()), l = a.next(); !l.done; l = a.next()) { var u = l.value; switch (u.name) { case "RelativeHeight": this.relativeHeight = u.value.stimulsoft.toNumber(); break; case "RelativeWidth": this.relativeWidth = u.value.stimulsoft.toNumber(); break; case "Skin": this.skin = o.parse(e.Report.Gauge.StiTickMarkSkin, u.value.toString()); break; case "Brush": this.brush = s.Deserialize.brush(u.value); break; case "BorderBrush": this.borderBrush = s.Deserialize.brush(u.value); break; case "BorderWidth": this.borderWidth = u.value.stimulsoft.toNumber(); break } } } catch (e) { n = { error: e } } finally { try { l && !l.done && (i = a.return) && i.call(a) } finally { if (n) throw n.error } } } , a.prototype.clone = function() { var e = t.prototype.clone.call(this); return e.brush = this.brush.clone(), e.borderBrush = this.borderBrush.clone(), e } , Object.defineProperty(a.prototype, "relativeHeight", { get: function() { return this._relativeHeight }, set: function(e) { this._relativeHeight = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "relativeWidth", { get: function() { return this._relativeWidth }, set: function(e) { this._relativeWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "skin", { get: function() { return this._skin }, set: function(e) { this._skin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "customSkin", { get: function() { return this._customSkin }, set: function(e) { this._customSkin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "borderBrush", { get: function() { return this._borderBrush }, set: function(e) { this._borderBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "borderWidth", { get: function() { return this._borderWidth }, set: function(e) { this._borderWidth = e }, enumerable: !0, configurable: !0 }), a.prototype.getActualSkin = function() { return null != this.customSkin ? this.customSkin : r.getTickMarkSkin(this.skin) } , a.prototype.getRelativeWidth = function(e) { return null == e ? this.relativeWidth : e } , a.prototype.getRelativeHeight = function(e) { return null == e ? this.relativeHeight : e } , a }(a); t.StiTickMarkBase = l }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Report.Gauge.StiPlacement , n = e.Report.Gauge.StiGaugeElemenType , i = e.System.Drawing.Rectangle , o = e.Report.Components.Gauge.Primitives.StiTickMarkBase , a = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._offsetAngle = 0, t } return __extends(t, e), t.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyNumber("OffsetAngle", this.offsetAngle, 0), r } , t.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "OffsetAngle": this.offsetAngle = a.value.stimulsoft.toNumber(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(t.prototype, "offsetAngle", { get: function() { return this._offsetAngle }, set: function(e) { this._offsetAngle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "elementType", { get: function() { return n.RadialElement }, enumerable: !0, configurable: !0 }), t.prototype.drawElement = function(e) { var t, n, o = this.scale; if (null == o) return; var a = this.scale.barGeometry.rectGeometry; if (a.width <= 0 || a.height <= 0) return; var s = this.getPointCollection(); if (0 == s.count) return; var l = this.skipValuesObj, u = this.skipIndicesObj, c = this.getActualSkin(), h = o.barGeometry.center, p = o.getSweepAngle(), f = o.startAngle, d = this.scale.scaleHelper.actualMinimum, m = this.scale.scaleHelper.actualMaximum, g = this.scale.barGeometry.diameter, y = this.scale.barGeometry.radius, v = this.scale.scaleHelper.minWidth, b = this.scale.scaleHelper.maxWidth, S; b *= this.scale.barGeometry.rectGeometry.width, v *= this.scale.barGeometry.rectGeometry.width, S = b - v, y = this.placement == r.Outside ? y * (1 + this.offset) : y * (1 - this.offset); var w = g * this.relativeWidth , G = g * this.relativeHeight , k = -1; try { for (var B = __values(s.keys), R = B.next(); !R.done; R = B.next()) { var O = R.value; if (k++, O < d) continue; if (O > m) continue; if (this.checkTickValue(l, u, O, k)) continue; if (null != this.minimumValue && O < this.minimumValue) continue; if (null != this.maximumValue && O > this.maximumValue) continue; var _ = this.scale.isReversed ? f + p - s.get(O) * p + this.offsetAngle : f + s.get(O) * p + this.offsetAngle , P = 0; P = this.placement == r.Outside ? y : this.placement == r.Overlay ? this.scale.isUp ? y - (v + S * s.get(O) + w) / 2 : y - (b - S * s.get(O) + w) / 2 : this.scale.isUp ? y - v - S * s.get(O) - w : y - b + S * s.get(O) - w; var j = new i(h.x + P,h.y,w,G); e.addPushMatrixGaugeGeom(_, h), c.draw(e, this, j), e.addPopTranformGaugeGeom() } } catch (e) { t = { error: e } } finally { try { R && !R.done && (n = B.return) && n.call(B) } finally { if (t) throw t.error } } } , t }(o); t.StiRadialTickMarkBase = a }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = e.Report.Engine.StiParser.StiParser , o = e.Report.Components.Gauge.Primitives.StiRadialTickMarkBase , a = e.Report.Events.StiGetValueEvent , s = e.Report.Expressions.StiExpression , l = e.Report.Gauge.Collections.StiCustomValuesCollection , u = e.Report.Events.StiGetValueEventArgs , c = e.Report.Gauge.StiGaugeElemenType , h = e.System.Drawing.Rectangle , p = e.Report.Gauge.StiPlacement , f = function(o) { function f() { var e = null !== o && o.apply(this, arguments) || this; return e._valueObj = 0, e._values = new l, e._getValueEvent = new a, e._value = "", e } return __extends(f, o), f.prototype.saveToJsonObject = function(e) { var t = o.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 s(this.value).saveToJsonObject(e)), t.addPropertyJObject("Values", this.values.saveToJsonObject(e)), t } , f.prototype.loadFromJsonObject = function(e) { var t, r; o.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), i = n.next(); !i.done; i = n.next()) { var l = i.value; switch (l.name) { case "GetSkipValuesEvent": var u = new a; u.loadFromJsonObject(l.value), this.getValueEvent = u; break; case "GetSkipIndicesEvent": var c = new s; c.loadFromJsonObject(l.value), this.value = c.value; break; case "Values": this.values.loadFromJsonObject(l.value); break } } } catch (e) { t = { error: e } } finally { try { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , Object.defineProperty(f.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialTickMarkCustom }, enumerable: !0, configurable: !0 }), f.prototype.clone = function() { var e, t, r = o.prototype.clone.call(this); null != this.value ? r.value = this.value : r.value = null, r.values = new l; try { for (var n = __values(this.values.list), i = n.next(); !i.done; i = n.next()) { var a = i.value; r.values.add(a.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 } , Object.defineProperty(f.prototype, "valueObj", { get: function() { return this._valueObj }, set: function(e) { this._valueObj = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "values", { get: function() { return this._values }, set: function(e) { this._values = e }, enumerable: !0, configurable: !0 }), f.prototype.onGetValue = function(e) {} , f.prototype.invokeGetValue = function(e, r) { try { if (this.onGetValue(r), e.scale.gauge.report.calculationMode == t.StiCalculationMode.Interpretation) { var o = i.parseTextValue(this.value, e.scale.gauge); r.value = e.scale.gauge.report.toString2(o) } } catch (e) { var a = n.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!", "Indicator", this.scale.gauge.name) } } , Object.defineProperty(f.prototype, "getValueEvent", { get: function() { return this._getValueEvent }, set: function(e) { this._getValueEvent = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "elementType", { get: function() { return c.RadialElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(f.prototype, "localizeName", { get: function() { return "RadialTickMarkCustom" }, enumerable: !0, configurable: !0 }), f.prototype.createNew = function() { return new f } , f.prototype.prepareGaugeElement = function() { o.prototype.prepareGaugeElement.call(this); var t = new u; this.invokeGetValue(this, t), this.valueObj = e.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject2(t.value, 0) } , f.prototype.drawElement = function(e) { var t, n, i = this.scale; if (null == i) return; var o = this.scale.barGeometry.rectGeometry; if (o.width <= 0 || o.height <= 0) return; var a = i.barGeometry.center, s = i.getSweepAngle(), u = i.startAngle, c = this.scale.barGeometry.diameter, f = this.scale.barGeometry.radius, d = this.scale.scaleHelper.actualMinimum, m = this.scale.scaleHelper.actualMaximum, g = this.scale.scaleHelper.minWidth, y = this.scale.scaleHelper.maxWidth, v; y *= this.scale.barGeometry.rectGeometry.width, g *= this.scale.barGeometry.rectGeometry.width, v = y - g; var b = this.getActualSkin() , S = this.skipValuesObj , w = this.skipIndicesObj , G = this.values; null != G && 0 != G.count || (G = new l, G.add(new r.StiRadialTickMarkCustomValue(this.valueObj,this.offset,this.relativeWidth,this.relativeHeight,this.offsetAngle,this.placement,null,null,null,b))); var k = -1; try { for (var B = __values(G.toCast()), R = B.next(); !R.done; R = B.next()) { var O = R.value; if (k++, O.value < d) continue; if (O.value > m) continue; if (this.checkTickValue(S, w, O.value, k)) continue; if (null != this.minimumValue && O.value < this.minimumValue) continue; if (null != this.maximumValue && O.value > this.maximumValue) continue; var _ = this.scale.getPosition(O.value) , P = c * this.getRelativeWidth(O.relativeWidth) , j = c * this.getRelativeHeight(O.relativeHeight) , x = this.getPlacement(O.placement) == p.Outside ? f * (1 + this.getOffset(O.offset)) : f * (1 - this.getOffset(O.offset)) , C = this.scale.isReversed ? u + s - _ * s - this.getOffsetAngle(O.offsetAngle) : u + _ * s + this.getOffsetAngle(O.offsetAngle) , W = void 0; W = this.getPlacement(O.placement) == p.Outside ? x : this.getPlacement(O.placement) == p.Overlay ? this.scale.isUp ? x - (g + v * _ + P) / 2 : x - (y - v * _ + P) / 2 : this.scale.isUp ? x - g - v * _ - P : x - y + v * _ - P; var M = null , T = null , E = 0; O.useBrush && (M = this.brush, this.brush = O.brush), O.useBorderBrush && (T = this.borderBrush, this.borderBrush = O.borderBrush), O.useBorderWidth && (E = this.borderWidth, this.borderWidth = null == O.borderWidth ? 0 : O.borderWidth); var N = new h(a.x + W,a.y,P,j); e.addPushMatrixGaugeGeom(C, a); (null == O.skin ? b : O.skin).draw(e, this, N), e.addPopTranformGaugeGeom(), O.useBrush && (this.brush = M), O.useBorderBrush && (this.borderBrush = M), O.useBorderWidth && (this.borderWidth = E) } } catch (e) { t = { error: e } } finally { try { R && !R.done && (n = B.return) && n.call(B) } finally { if (t) throw t.error } } } , f.prototype.getOffsetAngle = function(e) { return null == e ? this.scale.isReversed ? -this.offsetAngle : this.offsetAngle : e } , f }(o); r.StiRadialTickMarkCustom = f }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { var t = function() { function e() {} return e.length1 = function(e, t) { if (e < 0 && t < 0) return Math.abs(e - t); if (e > 0 && t > 0) return t - e; return Math.abs(e) + t } , e.maxMinusMin = function(e, t) { return e > t ? e - t : t - e } , e.getMax = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; var r = 0; e.length > 0 && (r = e[0]); var n = 1; while (n < e.length) r < e[n] && (r = e[n]), n++; return r } , e }(); e.StiMathHelper = t }(t = e.Helpers || (e.Helpers = {})) }(t = e.Gauge || (e.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Report.Gauge.GaugeGeoms.StiGraphicsPathLinesGaugeGeom , n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.System.Drawing.Orientation , o = e.Report.Gauge.Helpers.StiRectangleHelper , a = e.Report.Gauge.Helpers.StiMathHelper , s = e.Report.Gauge.StiPlacement , l = e.System.Drawing.Size , u = e.System.Drawing.Rectangle , c = e.System.Drawing.Point , h = function() { function e(e) { this._size = new l(0,0), this._rectGeometry = u.empty, this._center = new c(0,0), this.scale = e } return Object.defineProperty(e.prototype, "size", { get: function() { return this._size }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "rectGeometry", { get: function() { return this._rectGeometry }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "radius", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "diameter", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "center", { get: function() { return this._center }, enumerable: !0, configurable: !0 }), e.prototype.checkRectGeometry = function(e) { this._size = e.size; var t, r, n = { ref: t }, i = { ref: r }; this.checkMinMaxWidth(n, i), t = n.ref, r = i.ref, this._rectGeometry = this.getRectGeometry(e, t > r ? t : r), this._center = new c(this.rectGeometry.left + this.rectGeometry.width / 2,this.rectGeometry.top + this.rectGeometry.height / 2) } , e.prototype.getRectGeometry = function(e, t) { var r, n; return this.scale.orientation == i.Horizontal ? (r = this.size.width * this.scale.relativeHeight, n = this.size.height * t) : (n = 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 - n) / 2,r,n) } , e.prototype.getRestToLenght = function() { var e = Math.abs(this.scale.startWidth - this.scale.endWidth); return this.scale.orientation == i.Horizontal ? this.size.height * e / 2 : this.size.width * e / 2 } , e.prototype.checkMinMaxWidth = function(e, t) { var r = e.ref , n = t.ref; this.scale.isReversed ? (r = this.scale.endWidth, n = this.scale.startWidth) : (r = this.scale.startWidth, n = this.scale.endWidth), e.ref = r, t.ref = n } , e.prototype.drawScaleGeometry = function(e) { var t, r, o = { ref: t }, a = { ref: r }; this.checkMinMaxWidth(o, a), t = o.ref, r = a.ref; var s = []; if (this.scale.orientation == i.Horizontal) { var l = this.size.height; l *= t < r ? t : r, l = (this.rectGeometry.height - l) / 2, t > r ? (s[0] = new c(this.rectGeometry.left,this.rectGeometry.top), s[1] = new c(this.rectGeometry.right,this.rectGeometry.top + l), s[2] = new c(this.rectGeometry.right,this.rectGeometry.bottom - l), s[3] = new c(this.rectGeometry.left,this.rectGeometry.bottom)) : (s[0] = new c(this.rectGeometry.left,this.rectGeometry.top + l), s[1] = new c(this.rectGeometry.left,this.rectGeometry.bottom - l), s[2] = new c(this.rectGeometry.right,this.rectGeometry.bottom), s[3] = new c(this.rectGeometry.right,this.rectGeometry.top)) } else { var u = this.size.width; u *= t < r ? t : r, u = (this.rectGeometry.width - u) / 2, t > r ? (s[0] = new c(this.rectGeometry.left + u,this.rectGeometry.top), s[1] = new c(this.rectGeometry.left,this.rectGeometry.bottom), s[2] = new c(this.rectGeometry.right,this.rectGeometry.bottom), s[3] = new c(this.rectGeometry.right - u,this.rectGeometry.top)) : (s[0] = new c(this.rectGeometry.left,this.rectGeometry.top), s[1] = new c(this.rectGeometry.left + u,this.rectGeometry.bottom), s[2] = new c(this.rectGeometry.right - u,this.rectGeometry.bottom), s[3] = new c(this.rectGeometry.right,this.rectGeometry.top)) } var h = new n(this.rectGeometry,s[0],this.scale.brush,this.scale.borderBrush,1); h.addGraphicsPathLinesGaugeGeom(s), h.addGraphicsPathCloseFigureGaugeGeom(), e.addGraphicsPathGaugeGeom(h) } , e.prototype.drawGeometry = function(e, t, r, n, l, u, c, h, p) { var f = h.ref; if (f = this.rectGeometry.clone().clone(), 0 == f.width || 0 == f.height) return h.ref = f, null; var d = t , m = r; if (d == m) return h.ref = f, null; var g = this.scale.scaleHelper.actualMinimum , y = this.scale.scaleHelper.actualMaximum , v = this.scale.scaleHelper.totalLength; if (d <= g && m <= g || d >= y && m >= y) return h.ref = f, null; var b, S; if (d < m ? (d < g && (d = g), m > y && (m = y), b = a.length1(g, d), S = a.length1(d, m)) : (d < g && (d = g), m > y && (m = y), b = a.length1(g, m), S = a.length1(m, d)), this.scale.orientation == i.Horizontal) { var w = f.width / v , G = b * w , k = S * w; this.scale.isReversed ? (f.x = f.right - (G + k), f.width = k) : (f.x += G, f.width = k) } else { var w = f.height / v , G = b * w , k = S * w; this.scale.isReversed ? (f.y += G, f.height = k) : (f.y += f.height - (G + k), f.height = k) } var B = this.scale.startWidth > this.scale.endWidth , R = this.scale.barGeometry.getRestToLenght() , O = b / v , _ = (b + S) / v; B || (O = 1 - O, _ = 1 - _), O *= R, _ *= R; var P = B ? _ - O : O - _, j, x = 0; if (this.scale.orientation == i.Horizontal) { j = this.size.height * Math.min(n, l), x = this.size.height * Math.max(n, l); var C = this.size.height * u; if (B) switch (c) { case s.Outside: f.y -= x - _ + P, f.height = x + P, f.y -= C; break; case s.Overlay: f.y = o.centerY(f) - x / 2, f.height = x, f.y += C; break; case s.Inside: f.y += f.height - _, f.height = x + P, f.y += C; break } else switch (c) { case s.Outside: f.y -= x - O + P, f.height = x + P, f.y -= C; break; case s.Overlay: f.y = o.centerY(f) - x / 2, f.height = x, f.y += C; break; case s.Inside: f.y += f.height - O, f.height = x + P, f.y += C; break } } else { j = this.size.width * Math.min(n, l), x = this.size.width * Math.max(n, l); var W = this.size.width * u; if (B) switch (c) { case s.Outside: f.x -= x - _ + P, f.width = x + P, f.x -= W; break; case s.Overlay: f.x = o.centerX(f) - x / 2, f.width = x, f.x += W; break; case s.Inside: f.x += f.width - _, f.width = x + P, f.x += W; break } else switch (c) { case s.Outside: f.x -= x - O + P, f.width = x + P, f.x -= W; break; case s.Overlay: f.x = o.centerX(f) - x / 2, f.width = x, f.x += W; break; case s.Inside: f.x += f.width - O, f.width = x + P, f.x += W; break } } return h.ref = f, p ? null : this.drawPrimitiveGeometry(e, f, j, x, n, l, c, P, B) } , e.prototype.drawPrimitiveGeometry = function(e, t, n, a, l, u, h, p, f) { var d = t.clone(); t.x = 0, t.y = 0; var m = []; if (this.scale.startWidth == this.scale.endWidth && n == a) m[0] = new c(t.left,t.top), m[1] = new c(t.right,t.top), m[2] = new c(t.right,t.bottom), m[3] = new c(t.left,t.bottom); else { var g = this.scale.startWidth < this.scale.endWidth , y = l <= u; if (this.scale.isReversed && (g = !g, y = !y), this.scale.orientation == i.Horizontal) if (g) if (y) switch (h) { case s.Outside: m[0] = new c(0,t.height - n), m[1] = new c(t.width,t.height - p - a), m[2] = new c(t.width,t.height - p), m[3] = new c(0,t.height); break; case s.Overlay: m[0] = new c(0,o.centerY(t) - n / 2), m[1] = new c(t.width,o.centerY(t) - a / 2), m[2] = new c(t.width,o.centerY(t) + a / 2), m[3] = new c(0,o.centerY(t) + n / 2); break; default: m[0] = new c(0,0), m[1] = new c(t.width,p), m[2] = new c(t.width,p + a), m[3] = new c(0,n); break } else switch (h) { case s.Outside: m[0] = new c(0,t.height - a), m[1] = new c(t.width,t.height - p - n), m[2] = new c(t.width,t.height - p), m[3] = new c(0,t.height); break; case s.Overlay: m[0] = new c(0,o.centerY(t) - a / 2), m[1] = new c(t.width,o.centerY(t) - n / 2), m[2] = new c(t.width,o.centerY(t) + n / 2), m[3] = new c(0,o.centerY(t) + a / 2); break; default: m[0] = new c(0,0), m[1] = new c(t.width,p), m[2] = new c(t.width,p + n), m[3] = new c(0,a); break } else if (y) switch (h) { case s.Outside: m[0] = new c(0,t.height - p - n), m[1] = new c(t.width,t.height - a), m[2] = new c(t.width,t.height), m[3] = new c(0,t.height - p); break; case s.Overlay: m[0] = new c(0,o.centerY(t) - n / 2), m[1] = new c(t.right,o.centerY(t) - a / 2), m[2] = new c(t.right,o.centerY(t) + a / 2), m[3] = new c(0,o.centerY(t) + n / 2); break; default: m[0] = new c(0,p), m[1] = new c(t.right,0), m[2] = new c(t.right,a), m[3] = new c(0,p + n); break } else switch (h) { case s.Outside: m[0] = new c(0,t.height - p - a), m[1] = new c(t.right,t.height - n), m[2] = new c(t.right,t.height), m[3] = new c(0,t.height - p); break; case s.Overlay: m[0] = new c(0,o.centerY(t) - a / 2), m[1] = new c(t.right,o.centerY(t) - n / 2), m[2] = new c(t.right,o.centerY(t) + n / 2), m[3] = new c(0,o.centerY(t) + a / 2); break; default: m[0] = new c(0,p), m[1] = new c(t.right,0), m[2] = new c(t.right,n), m[3] = new c(0,p + a); break } else if (g) if (y) switch (h) { case s.Outside: m[0] = new c(t.width - p - a,0), m[1] = new c(t.width - p,0), m[2] = new c(t.width,t.height), m[3] = new c(t.width - n,t.height); break; case s.Overlay: m[0] = new c(o.centerX(t) - a / 2,0), m[1] = new c(o.centerX(t) + a / 2,0), m[2] = new c(o.centerX(t) + n / 2,t.height), m[3] = new c(o.centerX(t) - n / 2,t.height); break; default: m[0] = new c(p,0), m[1] = new c(p + a,0), m[2] = new c(n,t.height), m[3] = new c(0,t.height); break } else switch (h) { case s.Outside: m[0] = new c(t.width - p - n,0), m[1] = new c(t.width - p,0), m[2] = new c(t.width,t.height), m[3] = new c(t.width - a,t.height); break; case s.Overlay: m[0] = new c(o.centerX(t) - n / 2,0), m[1] = new c(o.centerX(t) + n / 2,0), m[2] = new c(o.centerX(t) + a / 2,t.height), m[3] = new c(o.centerX(t) - a / 2,t.height); break; default: m[0] = new c(p,0), m[1] = new c(p + n,0), m[2] = new c(a,t.height), m[3] = new c(0,t.height); break } else if (y) switch (h) { case s.Outside: m[0] = new c(t.width - a,0), m[1] = new c(t.width,0), m[2] = new c(t.width - p,t.height), m[3] = new c(t.width - p - n,t.height); break; case s.Overlay: m[0] = new c(o.centerX(t) - a / 2,0), m[1] = new c(o.centerX(t) + a / 2,0), m[2] = new c(o.centerX(t) + n / 2,t.height), m[3] = new c(o.centerX(t) - n / 2,t.height); break; default: m[0] = new c(t.left,0), m[1] = new c(a,0), m[2] = new c(p + n,t.height), m[3] = new c(p,t.height); break } else switch (h) { case s.Outside: m[0] = new c(t.width - n,0), m[1] = new c(t.width,0), m[2] = new c(t.width - p,t.height), m[3] = new c(t.width - p - a,t.height); break; case s.Overlay: m[0] = new c(o.centerX(t) - n / 2,0), m[1] = new c(o.centerX(t) + n / 2,0), m[2] = new c(o.centerX(t) + a / 2,t.height), m[3] = new c(o.centerX(t) - a / 2,t.height); break; default: m[0] = new c(0,0), m[1] = new c(n,0), m[2] = new c(p + a,t.height), m[3] = new c(p,t.height); break } } return m[0].x += d.left, m[0].y += d.top, m[1].x += d.left, m[1].y += d.top, m[2].x += d.left, m[2].y += d.top, m[3].x += d.left, m[3].y += d.top, new r(m) } , e }(); t.StiLinearBarGeometry = h }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(r) { var n = e.Report.Gauge.Helpers.StiMathHelper , i = e.Base.StiJson , o = e.Base.Drawing.StiSolidBrush , a = e.System.Drawing.Color , s = e.Base.StiJsonReportObjectHelper , l = e.Report.Components.Gauge.Primitives.StiElementBase , u = function() { function e() { this.actualMinimum = 0, this.actualMaximum = 100, this.minWidth = .1, this.maxWidth = .1, this._totalLength = 100 } return Object.defineProperty(e.prototype, "totalLength", { get: function() { return this._totalLength }, set: function(e) { this._totalLength = 0 == e ? 1 : e }, enumerable: !0, configurable: !0 }), e }(); r.StiScaleHelper = u; var c = function(l) { function c() { var t = l.call(this) || this; return t.scaleHelper = new u, t._left = 0, t._top = 0, t._startWidth = .1, t._endWidth = .1, t._majorInterval = 10, t._minorInterval = 1, t._minimum = 0, t._maximum = 100, t._isReversed = !1, t._brush = new o(a.fromArgb(50, a.white)), t._borderBrush = new o(a.fromArgb(150, a.white)), t._items = new e.Report.Gauge.Collections.StiGaugeElementCollection(t), t } return __extends(c, l), c.prototype.saveToJsonObject = function(e) { var t = new i; 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 n = __values(e.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 "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 { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , Object.defineProperty(c.prototype, "componentId", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "propName", { get: function() { return null }, enumerable: !0, configurable: !0 }), c.prototype.clone = function() { var n, i, o = l.prototype.clone.call(this); o.brush = this.brush.clone(), o.borderBrush = this.borderBrush.clone(), o._items = new e.Report.Gauge.Collections.StiGaugeElementCollection(o); try { for (var a = __values(this.items.list), s = a.next(); !s.done; s = a.next()) { var u = s.value; o.items.add(u.clone()) } } catch (e) { n = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (n) throw n.error } } return this.stimulsoft.is(t.StiLinearScale) ? o.barGeometry = new r.StiLinearBarGeometry(o) : this.stimulsoft.is(t.StiRadialScale) && (o.barGeometry = new r.StiRadialBarGeometry(o)), o } , Object.defineProperty(c.prototype, "isUp", { get: function() { var e = this.startWidth < this.endWidth; return this.isReversed && (e = !e), e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "gauge", { get: function() { return this._gauge }, set: function(e) { this._gauge = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "left", { get: function() { return this._left }, set: function(e) { this._left = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "top", { get: function() { return this._top }, set: function(e) { this._top = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "startWidth", { get: function() { return this._startWidth }, set: function(e) { this._startWidth = e, this.calculateWidthScaleHelper() }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "endWidth", { get: function() { return this._endWidth }, set: function(e) { this._endWidth = e, this.calculateWidthScaleHelper() }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "majorInterval", { get: function() { return this._majorInterval }, set: function(e) { this._majorInterval = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minorInterval", { get: function() { return this._minorInterval }, set: function(e) { this._minorInterval = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "minimum", { get: function() { return this._minimum }, set: function(e) { this._minimum = e, this.calculateMinMaxScaleHelper() }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "maximum", { get: function() { return this._maximum }, set: function(e) { this._maximum = e, this.calculateMinMaxScaleHelper() }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "isReversed", { get: function() { return this._isReversed }, set: function(e) { this._isReversed = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "borderBrush", { get: function() { return this._borderBrush }, set: function(e) { this._borderBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(c.prototype, "items", { get: function() { return this._items }, enumerable: !0, configurable: !0 }), c.prototype.set = function(e) { this._items = e } , Object.defineProperty(c.prototype, "scaleType", { get: function() { return null }, enumerable: !0, configurable: !0 }), c.prototype.prepare = function(e) { var t, r; try { for (var n = __values(this.items.list), i = n.next(); !i.done; i = n.next()) { i.value.prepareGaugeElement() } } catch (e) { t = { error: e } } finally { try { i && !i.done && (r = n.return) && r.call(n) } 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) { return n.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 }(l); r.StiScaleBase = c }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.Drawing.Orientation , i = e.System.Enum , o = e.Report.Components.Gauge.Primitives.StiScaleBase , a = e.Report.Components.Gauge.Primitives.StiLinearBarGeometry , s = function(r) { function o() { var e = r.call(this) || this; return e._orientation = n.Vertical, e._relativeHeight = .9, e.barGeometry = new a(e), e } return __extends(o, r), o.prototype.saveToJsonObject = function(e) { var t = r.prototype.saveToJsonObject.call(this, e); return t.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t.addPropertyEnum("Orientation", n, this.orientation), t.addPropertyNumber("RelativeHeight", this.relativeHeight, .9), t } , o.prototype.loadFromJsonObject = function(e) { var t, o; r.prototype.loadFromJsonObject.call(this, e); try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "Orientation": this.orientation = i.parse(n, l.value.toString()); break; case "RelativeHeight": this.relativeHeight = l.value.stimulsoft.toNumber(); break } } } catch (e) { t = { error: e } } finally { try { s && !s.done && (o = a.return) && o.call(a) } finally { if (t) throw t.error } } } , Object.defineProperty(o.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearScale }, enumerable: !0, configurable: !0 }), o.prototype.applyStyle = function(e) { var t, r; try { for (var n = __values(this.items.list), i = n.next(); !i.done; i = n.next()) { i.value.applyStyle(e) } } catch (e) { t = { error: e } } finally { try { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , Object.defineProperty(o.prototype, "orientation", { get: function() { return this._orientation }, set: function(e) { this._orientation = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "relativeHeight", { get: function() { return this._relativeHeight }, set: function(e) { this._relativeHeight = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "scaleType", { get: function() { return e.Report.Gauge.StiGaugeElemenType.LinearElement }, enumerable: !0, configurable: !0 }), o.prototype.interactiveClick = function(e) {} , o.prototype.createNew = function() { return new o } , o }(o); r.StiLinearScale = s }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Base.StiJson , n = function() { function e() { this._value = 0, this._placement = null, this._offset = null } return e.prototype.saveToJsonObject = function(e) { var t = new r; return t.addPropertyNumber("Value", this.value, 0), t.addPropertyNumber("Offset", this.offset, null), t } , e.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var n = __values(e.properties()), i = n.next(); !i.done; i = n.next()) { var o = i.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 { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , Object.defineProperty(e.prototype, "componentId", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "propName", { get: function() { return null }, enumerable: !0, configurable: !0 }), e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "placement", { get: function() { return this._placement }, set: function(e) { this._placement = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "offset", { get: function() { return this._offset }, set: function(e) { this._offset = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "localizedName", { get: function() { return null }, enumerable: !0, configurable: !0 }), e.prototype.createNew = function() { return null } , e }(); t.StiCustomValueBase = n }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = e.Report.Components.Gauge.StiCustomValueBase , o = e.Base.Drawing.StiEmptyBrush , a = function(e) { function r(t, r, n, i, a, s, l, u, c, h) { void 0 === t && (t = null), void 0 === r && (r = null), void 0 === n && (n = null), void 0 === i && (i = null), void 0 === a && (a = null), void 0 === s && (s = null), void 0 === l && (l = null), void 0 === u && (u = null), void 0 === c && (c = null), void 0 === h && (h = null); var p = e.call(this) || this; return p._relativeWidth = null, p._relativeHeight = null, p._offsetAngle = null, p._skin = null, p._brush = new o, p._borderBrush = new o, p._borderWidth = null, p.value = t, p.offset = r, p._relativeWidth = n, p._relativeHeight = i, p._offsetAngle = a, p.placement = s, p.brush = l, p.borderBrush = u, p.borderWidth = c, p._skin = h, p } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyNumber("RelativeHeight", this.relativeHeight, null), r.addPropertyNumber("RelativeWidth", this.relativeWidth, null), r.addPropertyNumber("OffsetAngle", this.offsetAngle, null), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "RelativeHeight": this.relativeHeight = a.value.stimulsoft.toNumber(); break; case "RelativeWidth": this.relativeWidth = a.value.stimulsoft.toNumber(); break; case "OffsetAngle": this.offsetAngle = a.value.stimulsoft.toNumber(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialTickMarkCustomValue }, enumerable: !0, configurable: !0 }), r.prototype.clone = function() { var t = e.prototype.clone.call(this); return t.brush = this.brush.clone(), t.borderBrush = this.borderBrush.clone(), t } , Object.defineProperty(r.prototype, "relativeWidth", { get: function() { return this._relativeWidth }, set: function(e) { this._relativeWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "relativeHeight", { get: function() { return this._relativeHeight }, set: function(e) { this._relativeHeight = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "offsetAngle", { get: function() { return this._offsetAngle }, set: function(e) { this._offsetAngle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "skin", { get: function() { return this._skin }, set: function(e) { this._skin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e, this.useBrush = !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "borderBrush", { get: function() { return this._borderBrush }, set: function(e) { this._borderBrush = e, this.useBorderBrush = !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "borderWidth", { get: function() { return this._borderWidth }, set: function(e) { this._borderWidth = e, this.useBorderWidth = !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedName", { get: function() { return "RadialTickMarkCustom" }, enumerable: !0, configurable: !0 }), r.prototype.toString = function() { return n.format("Value={0}", this.value) } , r.prototype.createNew = function() { return new r } , r }(i); r.StiRadialTickMarkCustomValue = a }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Components.Gauge.Primitives.StiRadialTickMarkBase , i = e.Report.Gauge.StiGaugeElemenType , o = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialTickMarkMajor }, enumerable: !0, configurable: !0 }), r.prototype.applyStyle = function(e) { this.allowApplyStyle && (this.borderBrush = e.core.tickMarkMajorBorder, this.brush = e.core.tickMarkMajorBrush, this.borderWidth = e.core.tickMarkMajorBorderWidth) } , Object.defineProperty(r.prototype, "elementType", { get: function() { return i.RadialElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizeName", { get: function() { return "RadialTickMarkMajor" }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r.prototype.getPointCollection = function() { return this.getMajorCollections() } , r }(n); r.StiRadialTickMarkMajor = o }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Components.Gauge.Primitives.StiRadialTickMarkBase , i = e.Report.Gauge.StiGaugeElemenType , o = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t._skipMajorValues = !0, t } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyBool("SkipMajorValues", this.skipMajorValues, !0), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "SkipMajorValues": this.skipMajorValues = a.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialTickMarkMinor }, enumerable: !0, configurable: !0 }), r.prototype.applyStyle = function(e) { this.allowApplyStyle && (this.borderBrush = e.core.tickMarkMinorBorder, this.brush = e.core.tickMarkMinorBrush, this.borderWidth = e.core.tickMarkMinorBorderWidth) } , Object.defineProperty(r.prototype, "skipMajorValues", { get: function() { return this._skipMajorValues }, set: function(e) { this._skipMajorValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "isSkipMajorValues", { get: function() { return this._skipMajorValues }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "elementType", { get: function() { return i.RadialElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizeName", { get: function() { return "RadialTickMarkMinor" }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r.prototype.getPointCollection = function() { return this.getMinorCollections() } , r }(n); r.StiRadialTickMarkMinor = o }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.Base.StiJson , i = function() { function e() { this._value = 0 } return e.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyNumber("Value", this.value, 0), t } , e.prototype.loadFromJsonObject = function(e) { var t, r; try { for (var n = __values(e.properties()), i = n.next(); !i.done; i = n.next()) { var o = i.value; switch (o.name) { case "Value": this.value = o.value.stimulsoft.toNumber(); break } } } catch (e) { t = { error: e } } finally { try { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , e.prototype.loadFromXml = function(e, t) { var n = e.getAttribute("Ref"); r.isNullOrEmpty(n) || (t.jsonLoaderHelper.refNames[n.stimulsoft.toNumber()] = e.nodeName); for (var i = 0; i < e.childNodes.length; i++) { var o = e.childNodes[i]; switch (o.nodeName) { case "Value": this.value = o.textContent.stimulsoft.toNumber(); break } } } , Object.defineProperty(e.prototype, "componentId", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "propName", { get: function() { return null }, enumerable: !0, configurable: !0 }), e.prototype.clone = function() { return this.stimulsoft.memberwiseClone() } , Object.defineProperty(e.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "rangeListType", { get: function() { return null }, enumerable: !0, configurable: !0 }), e.prototype.createNew = function() { return null } , e }(); t.StiIndicatorRangeInfo = i }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Color , n = function() { function e() {} return e.colorMixed = function(e) { if (null == e || 0 == e.length) return r.transparent; if (1 == e.length) return e[0]; var t = e[0] , n = 0; while (++n < e.length) t = this.colorMixer(t, e[n]); return t } , e.colorMixer = function(e, t) { var n = (e.r + t.r) / 2 , i = (e.g + t.g) / 2 , o = (e.b + t.b) / 2; return r.fromArgb(n, i, o) } , e }(); t.StiMixedColorHelper = n }(r = t.Helpers || (t.Helpers = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n; !function(r) { var n = e.System.StiString , i = e.Report.Engine.StiParser.StiParser , o = e.Base.StiJson , a = e.Base.StiJsonReportObjectHelper , s = e.System.Enum , l = e.Report.Events.StiGetValueEvent , u = e.Report.Expressions.StiExpression , c = e.Base.Drawing.StiSolidBrush , h = e.System.Drawing.Color , p = e.Base.Drawing.StiEmptyBrush , f = e.Report.Events.StiGetValueEventArgs , d = e.Report.Components.Gauge.Primitives.StiGaugeElement , m = function(r) { function d() { var t = null !== r && r.apply(this, arguments) || this; return t._valueObj = 0, t._placement = e.Report.Gauge.StiPlacement.Overlay, t._brush = new c(h.white), t._borderBrush = new p, t._borderWidth = 0, t._getValueEvent = new l, t._value = "", t } return __extends(d, r), d.prototype.saveToJsonObject = function(t) { var r = new o; return r.addPropertyEnum("Placement", e.Report.Gauge.StiPlacement, this.placement), r.addPropertyStringNullOrEmpty("BorderBrush", a.Serialize.jBrush(this.borderBrush)), r.addPropertyStringNullOrEmpty("Brush", a.Serialize.jBrush(this.brush)), r.addPropertyNumber("BorderWidth", this.borderWidth, 0), r.addPropertyJObject("GetValueEvent", this.getValueEvent.saveToJsonObject(t)), r.addPropertyJObject("Value", new u(this.value).saveToJsonObject(t)), r } , d.prototype.loadFromJsonObject = function(t) { var n, i; r.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), c = o.next(); !c.done; c = o.next()) { var h = c.value; switch (h.name) { case "Placement": this.placement = s.parse(e.Report.Gauge.StiPlacement, h.value.toString()); break; case "BorderBrush": this.borderBrush = a.Deserialize.brush(h.value); break; case "Brush": this.brush = a.Deserialize.brush(h.value); break; case "GetValueEvent": var p = new l; p.loadFromJsonObject(h.value), this.getValueEvent = p; break; case "Value": var f = new u; f.loadFromJsonObject(h.value), this.value = f.value; break } } } catch (e) { n = { error: e } } finally { try { c && !c.done && (i = o.return) && i.call(o) } finally { if (n) throw n.error } } } , d.prototype.clone = function() { var e = r.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(d.prototype, "valueObj", { get: function() { return this._valueObj }, set: function(e) { this._valueObj = e, this.onValueChanged() }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "placement", { get: function() { return this._placement }, set: function(e) { this._placement = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "borderBrush", { get: function() { return this._borderBrush }, set: function(e) { this._borderBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "borderWidth", { get: function() { return this._borderWidth }, set: function(e) { this._borderWidth = e }, enumerable: !0, configurable: !0 }), d.prototype.onGetValue = function(e) {} , d.prototype.invokeGetValue = function(e, r) { try { if (this.onGetValue(r), e.scale.gauge.report.calculationMode == t.StiCalculationMode.Interpretation) { var o = i.parseTextValue(this.value, e.scale.gauge); r.value = e.scale.gauge.report.toString2(o) } } catch (e) { var a = n.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!", "Indicator", this.scale.gauge.name) } } , Object.defineProperty(d.prototype, "getValueEvent", { get: function() { return this._getValueEvent }, set: function(e) { this._getValueEvent = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), d.prototype.prepareGaugeElement = function() { var t = new f; this.invokeGetValue(this, t), this.valueObj = e.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject(t.value, this.scale) } , d.prototype.interactiveClick = function(e, t) {} , d.prototype.onValueChanged = function() {} , d }(d); r.StiIndicatorBase = m }(n = r.Primitives || (r.Primitives = {})) }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiEmptyBrush , n = e.Report.Gauge.Collections.StiBarRangeListCollection , i = e.Base.StiJsonReportObjectHelper , o = function(e) { function t() { var t = e.call(this) || this; return t._emptyBrush = new r, t._emptyBorderBrush = new r, t._emptyBorderWidth = 0, t._offset = 0, t._startWidth = .05, t._endWidth = .05, t._useRangeColor = !1, t.rangeList = new n(t.barType), t } return __extends(t, e), t.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyStringNullOrEmpty("EmptyBrush", i.Serialize.jBrush(this.emptyBrush)), r.addPropertyStringNullOrEmpty("EmptyBorderBrush", i.Serialize.jBrush(this.emptyBorderBrush)), r.addPropertyNumber("EmptyBorderWidth", this.emptyBorderWidth, 0), r.addPropertyNumber("Offset", this.offset, 0), r.addPropertyNumber("StartWidth", this.startWidth, 0), r.addPropertyNumber("EndWidth", this.endWidth, .05), r.addPropertyBool("UseRangeColor", this.useRangeColor, !1), r.addPropertyJObject("RangeList", this.rangeList.saveToJsonObject(t)), r } , t.prototype.loadFromJsonObject = function(t) { var r, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "EmptyBrush": this.emptyBrush = i.Deserialize.brush(s.value); break; case "EmptyBorderBrush": this.emptyBorderBrush = i.Deserialize.brush(s.value); break; case "EmptyBorderWidth": this.emptyBorderWidth = s.value.stimulsoft.toNumber(); break; case "Offset": this.offset = s.value.stimulsoft.toNumber(); break; case "StartWidth": this.startWidth = s.value.stimulsoft.toNumber(); break; case "EndWidth": this.endWidth = s.value.stimulsoft.toNumber(); break; case "UseRangeColor": this.useRangeColor = s.value.stimulsoft.toBoolean(); break; case "RangeList": this.rangeList.loadFromJsonObject(s.value); break } } } catch (e) { r = { error: e } } finally { try { a && !a.done && (n = o.return) && n.call(o) } finally { if (r) throw r.error } } } , t.prototype.clone = function() { var t, r, i = e.prototype.clone.call(this); i.emptyBrush = this.emptyBrush.clone(), i.emptyBorderBrush = this.emptyBorderBrush.clone(), i.rangeList = new n(this.barType); try { for (var o = __values(this.rangeList.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; i.rangeList.add(s.clone()) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } return i } , Object.defineProperty(t.prototype, "emptyBrush", { get: function() { return this._emptyBrush }, set: function(e) { this._emptyBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "emptyBorderBrush", { get: function() { return this._emptyBorderBrush }, set: function(e) { this._emptyBorderBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "emptyBorderWidth", { get: function() { return this._emptyBorderWidth }, set: function(e) { this._emptyBorderWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "offset", { get: function() { return this._offset }, set: function(e) { this._offset = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "startWidth", { get: function() { return this._startWidth }, set: function(e) { this._startWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "endWidth", { get: function() { return this._endWidth }, set: function(e) { this._endWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "useRangeColor", { get: function() { return this._useRangeColor }, set: function(e) { this._useRangeColor = e, this.onRangeColorChanged() }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "rangeList", { get: function() { return this._rangeList }, set: function(e) { this._rangeList = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "barType", { get: function() { return null }, enumerable: !0, configurable: !0 }), t.prototype.onRangeColorChanged = function() {} , t.prototype.checkActualBrushForTopGeometry = function() {} , t.prototype.onValueChanged = function() { this.checkActualBrushForTopGeometry() } , t }(t.StiIndicatorBase); t.StiBarBase = o }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = e.System.Drawing.Orientation , o = e.Base.Context.Animation.StiScaleAnimation , a = e.Report.Gauge.GaugeGeoms.StiGraphicsPathLinesGaugeGeom , s = e.System.TimeSpan , l = e.Report.Engine.StiParser.StiParser , u = e.Base.Drawing.StiGradientBrush , c = e.Report.Gauge.Helpers.StiMathHelper , h = e.System.Drawing.Color , p = e.Report.Gauge.Helpers.StiMixedColorHelper , f = e.Base.Drawing.StiSolidBrush , d = e.System.Drawing.Rectangle , m = e.Report.Components.Gauge.Primitives.StiBarBase , g = e.System.Enum , y = e.Report.Gauge.StiPlacement , v = e.System.Drawing.Point , b = e.Report.Gauge.Helpers.StiRectangleHelper , S = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , w = function() { function e() { this.standardBackground = !1, this.defaultIndex = -99, this.mixedColorIndex = -99 } return e.prototype.reset = function() { this.standardBackground = !1, this.defaultIndex = -99, this.mixedColorIndex = -99 } , e }() , G = function() { function e() { this.state = !1, this.offset = 0 } return e }() , k = function(r) { function m() { var t = null !== r && r.apply(this, arguments) || this; return t.colorModeHelper = new w, t._skin = e.Report.Gauge.StiLinearBarSkin.Default, t._rangeColorMode = e.Report.Gauge.StiLinearRangeColorMode.Default, t } return __extends(m, r), m.prototype.saveToJsonObject = function(t) { var n = r.prototype.saveToJsonObject.call(this, t); return n.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), n.addPropertyEnum("Skin", e.Report.Gauge.StiLinearBarSkin, this.skin), n.addPropertyEnum("RangeColorMode", e.Report.Gauge.StiLinearRangeColorMode, this.rangeColorMode), n } , m.prototype.loadFromJsonObject = function(t) { var n, i; r.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Skin": this.skin = g.parse(e.Report.Gauge.StiLinearBarSkin, s.value.toString()); break; case "RangeColorMode": this.rangeColorMode = g.parse(e.Report.Gauge.StiLinearRangeColorMode, s.value.toString()); break } } } catch (e) { n = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (n) throw n.error } } } , m.prototype.loadFromXml = function(t, r) { var i = t.getAttribute("Ref"); n.isNullOrEmpty(i) || (r.jsonLoaderHelper.refNames[i.stimulsoft.toNumber()] = t.nodeName); for (var o = 0; o < t.childNodes.length; o++) { var a = t.childNodes[o]; switch (a.nodeName) { case "Skin": this.skin = g.parse(e.Report.Gauge.StiLinearBarSkin, a.textContent.toString()); break; case "RangeColorMode": this.rangeColorMode = g.parse(e.Report.Gauge.StiLinearRangeColorMode, a.textContent.toString()); break } } } , Object.defineProperty(m.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearBar }, enumerable: !0, configurable: !0 }), m.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(m.prototype, "skin", { get: function() { return this._skin }, set: function(e) { this._skin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "rangeColorMode", { get: function() { return this._rangeColorMode }, set: function(e) { this._rangeColorMode = e, this.onRangeColorChanged() }, enumerable: !0, configurable: !0 }), m.prototype.onRangeColorChanged = function() { this.colorModeHelper.reset() } , Object.defineProperty(m.prototype, "barType", { get: function() { return e.Report.Gauge.StiBarRangeListType.LinearBar }, enumerable: !0, configurable: !0 }), Object.defineProperty(m.prototype, "localizeName", { get: function() { return "LinearBar" }, enumerable: !0, configurable: !0 }), m.prototype.checkActualBrushForTopGeometry = function() { this.useRangeColor ? this.actualBackground = this.getRangeBrush() : this.colorModeHelper.standardBackground || (this.colorModeHelper.standardBackground = !0, this.actualBackground = this.brush) } , m.prototype.getRangeBrush = function() { var t = this.scale.gauge.report.isDesigning ? l.parseTextValue("{" + this.value + "}", this.scale.gauge).stimulsoft.toNumber() : this.valueObj; switch (this.rangeColorMode) { case e.Report.Gauge.StiLinearRangeColorMode.Default: for (var r = this.rangeList.count - 1; r >= 0; r--) { var n = this.rangeList.getByIndex(r); if (t >= n.value && this.colorModeHelper.defaultIndex != r) return this.colorModeHelper.defaultIndex = r, null != n.brush ? n.brush : new f(n.color) } break; case e.Report.Gauge.StiLinearRangeColorMode.MixedColor: for (var r = this.rangeList.count - 1; r >= 0; r--) { var n = this.rangeList.getByIndex(r); if (t >= n.value) { if (this.colorModeHelper.mixedColorIndex != r) { this.colorModeHelper.mixedColorIndex = r; for (var i = [], o = 0; o <= r; o++) i.add(this.rangeList.getByIndex(o).color); return new f(p.colorMixed(i)) } break } } break } return null } , m.prototype.createNew = function() { return new m } , m.prototype.interactiveClick = function(e, t) {} , m.prototype.drawElement = function(t) { if (null == this.scale) return; switch (this.skin) { case e.Report.Gauge.StiLinearBarSkin.HorizontalThermometer: this.drawHorizontalThermometer(t); break; case e.Report.Gauge.StiLinearBarSkin.VerticalThermometer: this.drawVerticalThermometer(t); break } var r = d.empty , n = { ref: r } , a = this.scale.barGeometry.drawGeometry(t, this.scale.minimum, this.scale.maximum, this.startWidth, this.endWidth, this.offset, this.placement, n, !1); if (r = n.ref, null != a) { var u = new S(r,a.points[0],this.emptyBrush,this.emptyBorderBrush,this.emptyBorderWidth); u.geoms.add(a), u.addGraphicsPathCloseFigureGaugeGeom(), t.addGraphicsPathGaugeGeom(u) } var c = this.scale.gauge.report.isDesigning ? l.parseTextValue("{" + this.value + "}", this.scale.gauge).stimulsoft.toNumber() : this.valueObj, h = this.getGeometryHelperForTopIndicator(c), p, f = { ref: p }, m = this.getTopGeometry(h, f); if (p = f.ref, null != m) { this.checkActualBrushForTopGeometry(); var u = new S(p,m.points[0],this.actualBackground,this.borderBrush,this.borderWidth); u.geoms.add(m), u.addGraphicsPathCloseFigureGaugeGeom(); var g = 0 , y = 1 , v = 1 , b = 1 , w = r.x , G = r.y + r.height / 2 , k = this.scale; null != k && k.orientation == i.Vertical && (g = 1, y = 1, v = 0, b = 1, w = r.x + r.width / 2, G = r.y + r.height), u.animation = new o(g,y,v,b,w,G,e.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,s.zero), t.addGraphicsPathGaugeGeom(u) } } , m.prototype.drawHorizontalThermometer = function(e) { var t = d.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, t.y -= 2, t.height += 4, t.x -= 3, t.width += 3; var n = new S(t,t.location,new u(h.fromArgb(225, 230, 233),h.fromArgb(242, 243, 244),90),new f(h.fromArgb(157, 157, 157)),.4); n.addGraphicsPathLineGaugeGeom(t.location, new v(t.right,t.top)), n.addGraphicsPathArcGaugeGeom(t.right, t.top, 4, t.height, 270, 180), n.addGraphicsPathLineGaugeGeom(new v(t.right,t.bottom), new v(t.left,t.bottom)), n.addGraphicsPathCloseFigureGaugeGeom(), e.addGraphicsPathGaugeGeom(n) } , m.prototype.drawVerticalThermometer = function(e) { var t = d.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, t.x -= 2, t.width += 4, t.y -= 3, t.height += 3; var n = new S(t,t.location,new u(h.fromArgb(225, 230, 233),h.fromArgb(242, 243, 244),90),new f(h.fromArgb(157, 157, 157)),.4); n.addGraphicsPathArcGaugeGeom(t.left, t.top - 4, t.width, 4, 180, 180), n.addGraphicsPathLineGaugeGeom(new v(t.right,t.top), new v(t.right,t.bottom)), n.addGraphicsPathLineGaugeGeom(new v(t.right,t.bottom), new v(t.left,t.bottom)), n.addGraphicsPathCloseFigureGaugeGeom(), e.addGraphicsPathGaugeGeom(n) } , m.prototype.getGeometryHelperForTopIndicator = function(e) { var t = this.scale , r = new G , n = this.scale.barGeometry.size , o = this.scale.barGeometry.rectGeometry , a = c.maxMinusMin(this.scale.startWidth, this.scale.endWidth); a /= 2, a = t.orientation == i.Horizontal ? a * n.height : a * n.width; var s = t.orientation == i.Horizontal ? new d(o.x,o.y + a,o.width,o.height - 2 * a) : new d(o.x + a,o.y,o.width - 2 * a,o.height) , l = this.scale.minimum > this.scale.maximum ? this.scale.maximum : this.scale.minimum , u = Math.abs(this.scale.minimum) + Math.abs(this.scale.maximum) , h = c.length1(l, e); h < 0 ? h = 0 : h > u && (h = u); var p = h / u , f = null , m = null , g = new d(0,0,0,0) , v = this.scale.startWidth > this.scale.endWidth , S = this.startWidth > this.endWidth , w = t.orientation == i.Horizontal ? o.width * p : o.height * p , k = 0 , B = 0 , R = 0 , O = 0; this.startWidth > this.endWidth ? (k = this.startWidth, B = this.endWidth) : (B = this.startWidth, k = this.endWidth); var _ = k - B; if (t.orientation == i.Horizontal) { R = k * n.height, O = B * n.height; var P = void 0; if (this.scale.isReversed) if (v) switch (this.placement) { case y.Outside: S ? (g = new d(o.x + (s.width - w),s.y - a - R,w,a + R - a * (1 - p)), m = g.height - (a + R - O) * p) : R > a + O ? (P = (R - a - O) * (1 - p), g = new d(s.x + (s.width - w),s.y - R + P,w,R - a * (1 - p) - P), r.offset = a * p) : (P = a * (1 - p), g = new d(s.x + (s.width - w),s.y - a - O,w,a + O - P), f = g.height - (a + O - R) * p, r.state = !0); break; case y.Overlay: S ? (g = new d(s.x + (s.width - w),b.centerY(s) - R / 2,w,R), m = g.height - (R - O) * p) : (P = (R - O) / 2 * (1 - p), g = new d(s.x + (s.width - w),b.centerY(s) - R / 2 + P,w,R - 2 * P)); break; default: if (S) P = a * (1 - p), g = new d(s.x + (s.width - w),s.bottom + P,w,a + R - P), m = g.height - (a + R - O) * p; else if (R > a + O) { P = a * (1 - p); var j = (R - a - O) * (1 - p); g = new d(s.x + (s.width - w),s.bottom + P,w,R - P - j), r.offset = R - a - O - j } else P = a * (1 - p), g = new d(s.x + (s.width - w),s.bottom + P,w,a + O - P), f = g.height - (a + O - R) * p, r.state = !0; break } else switch (this.placement) { case y.Outside: S ? R > a + O ? (g = new d(s.x + (s.width - w),s.y - R,w,R), r.offset = (R - a - O) * p, m = g.height - r.offset - a * p) : (P = (a + O - R) * (1 - p), g = new d(o.x + (o.width - w),o.y - O + P,w,a + O - P), m = g.height - a * p, r.state = !0) : (P = (a + R - O) * (1 - p), g = new d(o.x + (o.width - w),o.y - R + P,w,R + a - P), f = g.height - a * p); break; case y.Overlay: S ? (g = new d(s.x + (o.width - w),b.centerY(s) - R / 2,w,R), m = g.height - 2 * ((R - O) / 2 * p)) : (P = (R - O) / 2 * (1 - p), g = new d(s.x + (o.width - w),b.centerY(s) - R / 2 + P,w,R - 2 * P)); break; default: S ? R > a + O ? (g = new d(s.x + (o.width - w),s.bottom,w,R), r.offset = a * p, m = g.height - (R - a - O) * p - r.offset) : (P = (a + O - R) * p, g = new d(s.x + (o.width - w),s.bottom,w,R + P), m = g.height - a * p, r.state = !0) : (P = (a + R - O) * (1 - p), g = new d(s.x + (o.width - w),s.bottom,w,a + R - P), f = g.height - a * p); break } else if (v) switch (this.placement) { case y.Outside: S ? (g = new d(o.x,o.y - R,w,R + a * p), m = g.height - (a + R - O) * p) : (g = new d(o.x,o.y - O,w,a + O - a * (1 - p)), f = g.height - (a + O - R) * p); break; case y.Overlay: S ? (g = new d(s.x,b.centerY(s) - R / 2,w,R), m = O + (R - O) / 2 * p) : (P = (R - O) / 2 * (1 - p), g = new d(s.x,b.centerY(s) - R / 2 + P,w,R - 2 * P)); break; default: S ? (P = a * p, g = new d(o.x,o.bottom - P,w,P + R), m = g.height - (a + R - O) * p) : R > a + O ? (P = a * (1 - p), r.offset = a - P, g = new d(s.x,s.bottom + P,w,R - P - (R - a - O) * (1 - p))) : (P = a * p, g = new d(o.x,o.bottom - P,w,P + O), f = g.height - (a + O - R) * p, r.state = !0); break } else { var x = (a + R - O) * p + O; switch (this.placement) { case y.Outside: S ? R > a + O ? (g = new d(s.x,s.y - R,w,R), r.offset = (g.height - a - O) * p, m = g.height - r.offset - a * p) : (P = (a + O - R) * p, g = new d(s.x,s.y - R - P,w,R + P), m = g.height - a * p, r.state = !0) : (g = new d(s.x,s.y - x,w,x), f = g.height - a * p); break; case y.Overlay: P = (R - O) / 2 * (1 - p), S ? (g = new d(o.x,b.centerY(s) - R / 2,w,R), m = O + (R - O) / 2 * (1 - p)) : g = new d(o.x,b.centerY(s) - R / 2 + P,w,R - 2 * P); break; default: S ? R > a + O ? (g = new d(s.x,s.bottom,w,R), r.offset = a * p, m = g.height - (R - a - O) * p - r.offset) : (P = (a + O - R) * p, g = new d(s.x,s.bottom,w,R + P), m = g.height - a * p, r.state = !0) : (g = new d(s.x,s.bottom,w,x), f = O + (R - O) * p); break } } } else { R = k * n.width, O = B * n.width; var C = void 0; if (this.scale.isReversed) if (v) switch (this.placement) { case y.Outside: if (C = a * (1 - p), S) g = new d(s.x - a - R,s.y,a + R - C,w), m = g.width - (a + R - O) * p; else if (R > a + O) { var W = (R - O - a) * (1 - p); g = new d(s.x - R + W,s.y,R - C - W,w), r.offset = a * p } else g = new d(o.x - O,o.y,a + O - C,w), f = g.width - (a + O - R) * p, r.state = !0; break; case y.Overlay: S ? (g = new d(b.centerX(s) - R / 2,s.y,R,w), r.offset = (R - O) / 2 * p) : (C = (R - O) / 2 * (1 - p), g = new d(b.centerX(s) - R / 2 + C,s.y,R - 2 * C,w)); break; default: if (C = a * (1 - p), S) g = new d(s.right + C,s.y,a + R - C,w), m = g.width - (a + R - O) * p; else if (R > a + O) { var W = (R - a - O) * (1 - p); g = new d(s.right + C,s.y,R - C - W,w), f = (R - a - O) * p, r.offset = a * p } else g = new d(s.right + C,s.y,a + O - C,w), f = g.width - (a + O - R) * p, r.state = !0; break } else switch (this.placement) { case y.Outside: S ? R > a + O ? (g = new d(s.x - R,s.y,R,w), r.offset = a * p, m = g.width - r.offset - (R - l - a) * (1 - p)) : (C = (a + O - R) * (1 - p), g = new d(s.x - a - O + C,s.y,a + O - C,w), m = g.width - a * p, r.state = !0) : (C = (a + R - O) * (1 - p), g = new d(s.x - a - R + C,s.y,a + R - C,w), f = g.width - a * p); break; case y.Overlay: S ? (g = new d(b.centerX(s) - R / 2,s.y,R,w), r.offset = (R - O) / 2 * p) : (C = (R - O) / 2 * (1 - p), g = new d(b.centerX(s) - R / 2 + C,s.y,R - 2 * C,w)); break; default: S ? R > a + O ? (g = new d(s.right,s.y,R,w), r.offset = a * p, m = g.width - r.offset - (R - O - a) * p) : (C = (a + O - R) * p, g = new d(s.right,s.y,a + O - C,w), m = g.width - a * p, r.state = !0) : (C = (a + R - O) * (1 - p), g = new d(s.right,o.y,a + R - C,w), f = g.width - a * p); break } else if (v) switch (this.placement) { case y.Outside: if (S) C = a * (1 - p), g = new d(s.x - a - R,s.y + (o.height - w),a + R - C,w), m = g.width - (a + R - O) * p; else if (C = a * (1 - p), R > a + O) { var W = (R - a - O) * (1 - p); g = new d(s.x - R + W,s.y + (o.height - w),R - C - W,w), r.offset = a * p } else g = new d(s.x - a - O,s.y + (o.height - w),a + O - C,w), f = g.width - (a + O - R) * p, r.state = !0; break; case y.Overlay: S ? (g = new d(b.centerX(s) - R / 2,s.y + (o.height - w),R,w), r.offset = (R - O) / 2 * p) : (C = (R - O) / 2 * (1 - p), g = new d(b.centerX(s) - R / 2 + C,s.y + (o.height - w),R - 2 * C,w)); break; default: if (C = a * (1 - p), S) g = new d(s.right + C,s.y + (o.height - w),R + a - C,w), m = g.width - (a + R - O) * p; else if (R >= a + O) { var W = (R - a - O) * (1 - p); g = new d(s.right + C,s.y + (o.height - w),R - C - W,w), r.offset = (R - a - O) * p } else g = new d(s.right + C,s.y + (o.height - w),a + O - C,w), f = g.width - (a + O - R) * p, r.state = !0; break } else switch (this.placement) { case y.Outside: S ? R > a + O ? (g = new d(s.x - R,s.y + (o.height - w),R,w), r.offset = a * p, C = (R - O - a) * p, m = g.width - r.offset - C) : (C = (a + O - R) * (1 - p), g = new d(o.x - O + C,o.y + (o.height - w),a + O - C,w), m = g.width - a * p, r.state = !0) : (C = (a + R - O) * (1 - p), g = new d(o.x - R + C,o.y + (o.height - w),R + a - C,w), f = g.width - a * p); break; case y.Overlay: S ? (g = new d(b.centerX(s) - R / 2,o.y + (o.height - w),R,w), r.offset = (R - O) * p / 2) : (C = (R - O) / 2 * (1 - p), g = new d(b.centerX(s) - R / 2 + C,o.y + (o.height - w),R - 2 * C,w)); break; default: S ? R > a + O ? (g = new d(s.right,o.y + (o.height - w),R,w), r.offset = a * p, m = g.width - r.offset - (R - a - O) * p) : (C = (a + O - R) * p, g = new d(s.right,o.y + (o.height - w),a + O - C,w), m = g.width - a * p, r.state = !0) : (C = (a + R - O) * (1 - p), g = new d(s.right,o.y + (o.height - w),a + R - C,w), f = g.width - a * p); break } } return r.rect = g, r.isStartGreaterEnd = v, r.isThisStartGreaterEnd = S, r.scale = t, r.maxWidth = null == f ? R : f, r.minWidth = null == m ? O : m, r } , m.prototype.getTopGeometry = function(e, t) { var r = new d(0,0,e.rect.width,e.rect.height) , n = []; if (e.scale.orientation == i.Horizontal) if (e.scale.isReversed) if (e.isStartGreaterEnd) if (e.isThisStartGreaterEnd) switch (this.placement) { case y.Outside: n[0] = new v(0,r.height - e.minWidth), n[1] = new v(r.width,0), n[2] = new v(r.width,e.maxWidth), n[3] = new v(0,r.height); break; case y.Overlay: n[0] = new v(0,(r.height - e.minWidth) / 2), n[1] = new v(r.width,0), n[2] = new v(r.width,r.height), n[3] = new v(0,r.height - (r.height - e.minWidth) / 2); break; default: n[0] = new v(0,0), n[1] = new v(r.width,r.height - e.maxWidth), n[2] = new v(r.width,r.height), n[3] = new v(0,e.minWidth); break } else switch (this.placement) { case y.Outside: e.state ? (n[0] = new v(0,r.height - e.maxWidth), n[1] = new v(r.width,0), n[2] = new v(r.width,e.minWidth), n[3] = new v(0,r.height)) : (n[0] = new v(0,0), n[1] = new v(r.width,r.height - e.offset - e.minWidth), n[2] = new v(r.width,r.height - e.offset), n[3] = new v(0,r.height)); break; case y.Overlay: n[0] = new v(0,0), n[1] = new v(r.width,b.centerY(r) - e.minWidth / 2), n[2] = new v(r.width,b.centerY(r) + e.minWidth / 2), n[3] = new v(0,r.height); break; default: e.state ? (n[0] = new v(0,0), n[1] = new v(r.width,r.height - e.minWidth), n[2] = new v(r.width,r.height), n[3] = new v(0,e.maxWidth)) : (n[0] = new v(0,0), n[1] = new v(r.width,r.height - e.offset - e.minWidth), n[2] = new v(r.width,r.height - e.offset), n[3] = new v(0,r.height)); break } else if (e.isThisStartGreaterEnd) switch (this.placement) { case y.Outside: e.state ? (n[0] = new v(0,0), n[1] = new v(r.width,r.height - e.maxWidth), n[2] = new v(r.width,r.height), n[3] = new v(0,e.minWidth)) : (n[0] = new v(0,e.offset), n[1] = new v(r.width,0), n[2] = new v(r.width,r.height), n[3] = new v(0,e.minWidth + e.offset)); break; case y.Overlay: n[0] = new v(0,b.centerY(r) - e.minWidth / 2), n[1] = new v(r.width,0), n[2] = new v(r.width,r.height), n[3] = new v(0,b.centerY(r) + e.minWidth / 2); break; default: e.state ? (n[0] = new v(0,r.height - e.minWidth), n[1] = new v(r.width,0), n[2] = new v(r.width,e.maxWidth), n[3] = new v(0,r.height)) : (n[0] = new v(0,e.offset), n[1] = new v(r.width,0), n[2] = new v(r.width,r.height), n[3] = new v(0,e.offset + e.minWidth)); break } else switch (this.placement) { case y.Outside: n[0] = new v(0,0), n[1] = new v(r.width,r.height - e.minWidth), n[2] = new v(r.width,r.height), n[3] = new v(0,e.maxWidth); break; case y.Overlay: n[0] = new v(0,0), n[1] = new v(r.width,b.centerY(r) - e.minWidth / 2), n[2] = new v(r.width,b.centerY(r) + e.minWidth / 2), n[3] = new v(0,r.height); break; default: n[0] = new v(0,r.height - e.maxWidth), n[1] = new v(r.width,0), n[2] = new v(r.width,e.minWidth), n[3] = new v(0,r.height); break } else if (e.isStartGreaterEnd) if (e.isThisStartGreaterEnd) switch (this.placement) { case y.Outside: n[0] = new v(0,0), n[1] = new v(r.width,r.height - e.minWidth), n[2] = new v(r.width,r.height), n[3] = new v(0,e.maxWidth); break; case y.Overlay: n[0] = new v(0,0), n[1] = new v(r.width,b.centerY(r) - e.minWidth / 2), n[2] = new v(r.width,b.centerY(r) + e.minWidth / 2), n[3] = new v(0,r.height); break; default: n[0] = new v(0,r.height - e.maxWidth), n[1] = new v(r.width,0), n[2] = new v(r.width,e.minWidth), n[3] = new v(0,r.height); break } else switch (this.placement) { case y.Outside: n[0] = new v(0,0), n[1] = new v(r.width,r.height - e.maxWidth), n[2] = new v(r.width,r.height), n[3] = new v(0,e.minWidth); break; case y.Overlay: n[0] = new v(0,b.centerY(r) - e.minWidth / 2), n[1] = new v(r.width,0), n[2] = new v(r.width,r.height), n[3] = new v(0,b.centerY(r) + e.minWidth / 2); break; default: e.state ? (n[0] = new v(0,r.height - e.minWidth), n[1] = new v(r.width,0), n[2] = new v(r.width,e.maxWidth), n[3] = new v(0,r.height)) : (n[0] = new v(0,e.offset), n[1] = new v(r.width,0), n[2] = new v(r.width,r.height), n[3] = new v(0,e.offset + e.minWidth)); break } else if (e.isThisStartGreaterEnd) switch (this.placement) { case y.Outside: e.state ? (n[0] = new v(0,r.height - e.maxWidth), n[1] = new v(r.width,0), n[2] = new v(r.width,e.minWidth), n[3] = new v(0,r.height)) : (n[0] = new v(0,0), n[1] = new v(r.width,e.offset), n[2] = new v(r.width,e.offset + e.minWidth), n[3] = new v(0,r.height)); break; case y.Overlay: n[0] = new v(0,0), n[1] = new v(r.width,b.centerY(r) - e.minWidth / 2), n[2] = new v(r.width,b.centerY(r) + e.minWidth / 2), n[3] = new v(0,r.height); break; default: e.state ? (n[0] = new v(0,0), n[1] = new v(r.width,r.height - e.minWidth), n[2] = new v(r.width,r.height), n[3] = new v(0,e.maxWidth)) : (n[0] = new v(0,0), n[1] = new v(r.width,e.offset), n[2] = new v(r.width,e.offset + e.minWidth), n[3] = new v(0,r.height)); break } else switch (this.placement) { case y.Outside: n[0] = new v(0,r.height - e.minWidth), n[1] = new v(r.width,0), n[2] = new v(r.width,e.maxWidth), n[3] = new v(0,r.height); break; case y.Overlay: n[0] = new v(0,b.centerY(r) - e.minWidth / 2), n[1] = new v(r.width,0), n[2] = new v(r.width,r.height), n[3] = new v(0,b.centerY(r) + e.minWidth / 2); break; default: n[0] = new v(0,0), n[1] = new v(r.width,r.height - e.maxWidth), n[2] = new v(r.width,r.height), n[3] = new v(0,e.minWidth); break } else if (e.scale.isReversed) if (e.isStartGreaterEnd) if (e.isThisStartGreaterEnd) switch (this.placement) { case y.Outside: n[0] = new v(0,0), n[1] = new v(e.maxWidth,0), n[2] = new v(r.width,r.height), n[3] = new v(r.width - e.minWidth,r.height); break; case y.Overlay: n[0] = new v(0,0), n[1] = new v(r.width,0), n[2] = new v(r.width - e.offset,r.height), n[3] = new v(e.offset,r.height); break; default: n[0] = new v(r.width - e.maxWidth,0), n[1] = new v(r.width,0), n[2] = new v(e.minWidth,r.height), n[3] = new v(0,r.height); break } else switch (this.placement) { case y.Outside: e.state ? (n[0] = new v(0,0), n[1] = new v(e.minWidth,0), n[2] = new v(r.width,r.height), n[3] = new v(r.width - e.maxWidth,r.height)) : (n[0] = new v(r.width - e.offset - e.minWidth,0), n[1] = new v(r.width - e.offset,0), n[2] = new v(r.width,r.height), n[3] = new v(0,r.height)); break; case y.Overlay: n[0] = new v((r.width - e.minWidth) / 2,0), n[1] = new v(r.width - (r.width - e.minWidth) / 2,0), n[2] = new v(r.width,r.height), n[3] = new v(0,r.height); break; default: e.state ? (n[0] = new v(r.width - e.minWidth,0), n[1] = new v(r.width,0), n[2] = new v(e.maxWidth,r.height), n[3] = new v(0,r.height)) : (n[0] = new v(e.offset,0), n[1] = new v(e.offset + e.minWidth,0), n[2] = new v(r.width,r.height), n[3] = new v(0,r.height)); break } else if (e.isThisStartGreaterEnd) switch (this.placement) { case y.Outside: e.state ? (n[0] = new v(r.width - e.maxWidth,0), n[1] = new v(r.width,0), n[2] = new v(e.minWidth,r.height), n[3] = new v(0,r.height)) : (n[0] = new v(0,0), n[1] = new v(r.width,0), n[2] = new v(r.width - e.offset,r.height), n[3] = new v(r.width - e.offset - e.minWidth,r.height)); break; case y.Overlay: n[0] = new v(0,0), n[1] = new v(r.width,0), n[2] = new v(r.width - e.offset,r.height), n[3] = new v(e.offset,r.height); break; default: e.state ? (n[0] = new v(0,0), n[1] = new v(e.maxWidth,0), n[2] = new v(r.width,r.height), n[3] = new v(r.width - e.minWidth,r.height)) : (n[0] = new v(0,0), n[1] = new v(r.width,0), n[2] = new v(e.offset + e.minWidth,r.height), n[3] = new v(e.offset,r.height)); break } else switch (this.placement) { case y.Outside: n[0] = new v(r.width - e.minWidth,0), n[1] = new v(r.width,0), n[2] = new v(e.maxWidth,r.height), n[3] = new v(0,r.height); break; case y.Overlay: n[0] = new v((r.width - e.minWidth) / 2,0), n[1] = new v(r.width - (r.width - e.minWidth) / 2,0), n[2] = new v(r.width,r.height), n[3] = new v(0,r.height); break; default: n[0] = new v(0,0), n[1] = new v(e.minWidth,0), n[2] = new v(r.width,r.height), n[3] = new v(r.width - e.maxWidth,r.height); break } else if (e.isStartGreaterEnd) if (e.isThisStartGreaterEnd) switch (this.placement) { case y.Outside: n[0] = new v(r.width - e.minWidth,0), n[1] = new v(r.width,0), n[2] = new v(e.maxWidth,r.height), n[3] = new v(0,r.height); break; case y.Overlay: n[0] = new v(e.offset,0), n[1] = new v(r.width - e.offset,0), n[2] = new v(r.width,r.height), n[3] = new v(0,r.height); break; default: n[0] = new v(0,0), n[1] = new v(e.minWidth,0), n[2] = new v(r.width,r.height), n[3] = new v(r.width - e.maxWidth,r.height); break } else switch (this.placement) { case y.Outside: e.state ? (n[0] = new v(r.width - e.maxWidth,0), n[1] = new v(r.width,0), n[2] = new v(e.minWidth,r.height), n[3] = new v(0,r.height)) : (n[0] = new v(0,0), n[1] = new v(r.width,0), n[2] = new v(r.width - e.offset,r.height), n[3] = new v(r.width - e.offset - e.minWidth,r.height)); break; case y.Overlay: n[0] = new v(0,0), n[1] = new v(r.width,0), n[2] = new v(r.width - (r.width - e.minWidth) / 2,r.height), n[3] = new v((r.width - e.minWidth) / 2,r.height); break; default: e.state ? (n[0] = new v(0,0), n[1] = new v(e.maxWidth,0), n[2] = new v(r.width,r.height), n[3] = new v(r.width - e.minWidth,r.height)) : (n[0] = new v(0,0), n[1] = new v(r.width,0), n[2] = new v(r.width - e.offset,r.height), n[3] = new v(r.width - e.offset - e.minWidth,r.height)); break } else if (e.isThisStartGreaterEnd) switch (this.placement) { case y.Outside: e.state ? (n[0] = new v(0,0), n[1] = new v(e.minWidth,0), n[2] = new v(r.width,r.height), n[3] = new v(r.width - e.maxWidth,r.height)) : (n[0] = new v(r.width - e.offset - e.minWidth,0), n[1] = new v(r.width - e.offset,0), n[2] = new v(r.width,r.height), n[3] = new v(0,r.height)); break; case y.Overlay: n[0] = new v(e.offset,0), n[1] = new v(r.width - e.offset,0), n[2] = new v(r.width,r.height), n[3] = new v(0,r.height); break; default: e.state ? (n[0] = new v(r.width - e.minWidth,0), n[1] = new v(r.width,0), n[2] = new v(e.maxWidth,r.height), n[3] = new v(0,r.height)) : (n[0] = new v(e.offset,0), n[1] = new v(e.offset + e.minWidth,0), n[2] = new v(r.width,r.height), n[3] = new v(0,r.height)); break } else switch (this.placement) { case y.Outside: n[0] = new v(0,0), n[1] = new v(e.maxWidth,0), n[2] = new v(r.width,r.height), n[3] = new v(r.width - e.minWidth,r.height); break; case y.Overlay: n[0] = new v(0,0), n[1] = new v(r.width,0), n[2] = new v(b.centerX(r) + e.minWidth / 2,r.height), n[3] = new v(b.centerX(r) - e.minWidth / 2,r.height); break; default: n[0] = new v(r.width - e.maxWidth,0), n[1] = new v(r.width,0), n[2] = new v(e.minWidth,r.height), n[3] = new v(0,r.height); break } var o = e.rect.left , s = e.rect.top , l = this.scale.barGeometry.size.width * this.offset; return e.scale.orientation == i.Horizontal ? this.placement == y.Outside ? s -= l : s += l : this.placement == y.Outside ? o -= l : o += l, n[0].x += o, n[1].x += o, n[2].x += o, n[3].x += o, n[0].y += s, n[1].y += s, n[2].y += s, n[3].y += s, t.ref = r, new a(n) } , m }(m); r.StiLinearBar = k }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = e.Report.Gauge.StiBarRangeListType , o = e.Base.Drawing.StiEmptyBrush , a = e.System.Drawing.Color , s = e.Base.Drawing.StiBrush , l = e.Base.StiJsonReportObjectHelper , u = e.System.Text.StiReportObjectStringConverter , c = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t._color = a.white, t._brush = new o, t } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyStringNullOrEmpty("Color", l.Serialize.jColor(this.color)), r.addPropertyStringNullOrEmpty("Brush", l.Serialize.jBrush(this.brush)), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "Color": this.color = l.Deserialize.color(a.value); break; case "Brush": this.brush = l.Deserialize.brush(a.value); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , r.prototype.loadFromXml = function(e, t) { var r = e.getAttribute("Ref"); n.isNullOrEmpty(r) || (t.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()] = e.nodeName); for (var i = 0; i < e.childNodes.length; i++) { var o = e.childNodes[i]; switch (o.nodeName) { case "Color": this.color = u.convertStringToColor(o.textContent); break; case "Brush": this.brush = s.loadFromXml(o.textContent); break } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearIndicatorRangeInfo }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "color", { get: function() { return this._color }, set: function(e) { this._color = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeListType", { get: function() { return i.LinearBar }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(r.StiIndicatorRangeInfo); r.StiLinearIndicatorRangeInfo = c }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Base.StiJson , n = e.Base.StiJsonReportObjectHelper , i = e.System.Enum , o = e.Base.Drawing.StiSolidBrush , a = e.System.Drawing.Color , s = e.System.Drawing.Font , l = e.Report.Gauge.Helpers.StiGaugeSkinHelper , u = function(t) { function u() { var r = null !== t && t.apply(this, arguments) || this; return r._offset = 0, r._relativeWidth = .05, r._relativeHeight = .05, r._skin = e.Report.Gauge.StiMarkerSkin.Diamond, r._customSkin = null, r._format = "{0:F0}", r._showValue = !1, r._textBrush = new o(a.dimGray), r._font = new s("Arial",7), r } return __extends(u, t), u.prototype.saveToJsonObject = function(t) { var i = new r; return i.addPropertyNumber("Offset", this.offset, 0), i.addPropertyNumber("RelativeWidth", this.relativeWidth, .05), i.addPropertyNumber("RelativeHeight", this.relativeHeight, .05), i.addPropertyEnum("Skin", e.Report.Gauge.StiMarkerSkin, this.skin), i.addPropertyString("Format", this.format), i.addPropertyBool("ShowValue", this.showValue, !1), i.addPropertyStringNullOrEmpty("TextBrush", n.Serialize.jBrush(this.textBrush)), i.addPropertyStringNullOrEmpty("Font", n.Serialize.font(this.font, "Arial", 7)), i } , u.prototype.loadFromJsonObject = function(r) { var o, a; t.prototype.loadFromJsonObject.call(this, r); try { for (var s = __values(r.properties()), l = s.next(); !l.done; l = s.next()) { var u = l.value; switch (u.name) { case "Offset": this.offset = u.value.stimulsoft.toNumber(); break; case "RelativeWidth": this.relativeWidth = u.value.stimulsoft.toNumber(); break; case "RelativeHeight": this.relativeHeight = u.value.stimulsoft.toNumber(); break; case "Skin": this.skin = i.parse(e.Report.Gauge.StiMarkerSkin, u.value.toString()); break; case "Format": this.format = u.value.toString(); break; case "ShowValue": this.showValue = u.value.stimulsoft.toBoolean(); break; case "TextBrush": this.textBrush = n.Deserialize.brush(u.value); break; case "Font": this.font = n.Deserialize.font(u.value.toString(), this.font); break } } } catch (e) { o = { error: e } } finally { try { l && !l.done && (a = s.return) && a.call(s) } finally { if (o) throw o.error } } } , u.prototype.clone = function() { var e = t.prototype.clone.call(this); return e.textBrush = this.textBrush.clone(), e } , Object.defineProperty(u.prototype, "offset", { get: function() { return this._offset }, set: function(e) { this._offset = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "relativeWidth", { get: function() { return this._relativeWidth }, set: function(e) { this._relativeWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "relativeHeight", { get: function() { return this._relativeHeight }, set: function(e) { this._relativeHeight = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "skin", { get: function() { return this._skin }, set: function(e) { this._skin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "customSkin", { get: function() { return this._customSkin }, set: function(e) { this._customSkin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "format", { get: function() { return this._format }, set: function(e) { this._format = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "showValue", { get: function() { return this._showValue }, set: function(e) { this._showValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "textBrush", { get: function() { return this._textBrush }, set: function(e) { this._textBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), u.prototype.getActualSkin = function() { return null != this.customSkin ? this.customSkin : l.getMarkerSkin(this.skin) } , u }(t.StiIndicatorBase); t.StiMarkerBase = u }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Base.Context.Animation.StiTranslationAnimation , i = e.System.Drawing.Orientation , o = e.Report.Gauge.Helpers.StiMathHelper , a = e.Report.Gauge.Helpers.StiRectangleHelper , s = e.Report.Gauge.StiPlacement , l = e.System.Drawing.Rectangle , u = e.System.Drawing.Point , c = e.Report.Components.Gauge.Primitives.StiMarkerBase , h = function(r) { function c() { return null !== r && r.apply(this, arguments) || this } return __extends(c, r), c.prototype.saveToJsonObject = function(e) { var t = r.prototype.saveToJsonObject.call(this, e); return t.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t } , c.prototype.loadFromJsonObject = function(e) { r.prototype.loadFromJsonObject.call(this, e) } , Object.defineProperty(c.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearMarker }, enumerable: !0, 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: !0, configurable: !0 }), c.prototype.createNew = function() { return new c } , c.prototype.drawElement = function(t) { var r = this.getRectangle(this.valueObj) , i = this.getRectangle(0); this.animation = new n(new u(i.x,i.y),new u(r.x,r.y),e.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,e.Report.Gauge.Helpers.StiGaugeHelper.globalBeginTimeElement), this.getActualSkin().draw(t, this, r) } , c.prototype.getRectangle = function(e) { var t = this.scale , r = t.barGeometry.size , n = t.barGeometry.rectGeometry , o = this.getBarPosition(t.orientation, e) , u = r.width * this.relativeWidth , c = r.height * this.relativeHeight , h = c / 2 , p = 0 , f = 0; if (t.orientation == i.Horizontal) { if (this.placement != s.Overlay) { var d = this.scale.barGeometry.getRestToLenght() , m = this.scale.getPosition(e) , g = this.scale.startWidth < this.scale.endWidth ? (1 - m) * d : d * m; f = this.placement == s.Outside ? n.top - c + g : n.bottom - g } else f = a.centerY(this.scale.barGeometry.rectGeometry) - h + this.offset * r.height; this.scale.isReversed ? (o += h, p = n.right - o) : (o -= h, p = n.left + o) } else { if (this.placement != s.Overlay) { var d = this.scale.barGeometry.getRestToLenght() , m = this.scale.getPosition(e) , g = this.scale.startWidth < this.scale.endWidth ? (1 - m) * d : d * m; p = this.placement == s.Outside ? n.left - u + g : n.right - g } else p = a.centerX(this.scale.barGeometry.rectGeometry) - u / 2 + this.offset * r.width; this.scale.isReversed ? (o -= h, f = n.top + o) : (o += h, f = n.bottom - o) } return new l(p,f,u,c) } , c.prototype.interactiveClick = function(e, t) {} , c.prototype.getBarPosition = function(e, t) { var r = this.scale.scaleHelper.actualMinimum , n = this.scale.scaleHelper.actualMaximum; isNaN(t) ? t = r : t < r ? t = r : t > n && (t = n); var a = o.length1(r, t) , s = e == i.Horizontal ? this.scale.barGeometry.rectGeometry.width : this.scale.barGeometry.rectGeometry.height; return a / this.scale.scaleHelper.totalLength * s } , c }(c); r.StiLinearMarker = h }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Base.Context.Animation.StiRotationAnimation , i = e.System.TimeSpan , o = e.Report.Engine.StiParser.StiParser , a = e.Report.Gauge.Helpers.StiGaugeSkinHelper , s = e.System.Enum , l = e.System.Drawing.Rectangle , u = e.System.Drawing.Size , c = e.Report.Gauge.StiGaugeElemenType , h = e.System.Drawing.Point , p = e.Base.Drawing.StiEmptyBrush , f = e.System.Drawing.Color , d = e.System.Drawing.Font , m = e.Base.Drawing.StiSolidBrush , g = e.Base.StiJsonReportObjectHelper , y = e.Report.Components.Gauge.Primitives.StiIndicatorBase , v = e.System.Drawing.FontStyle , b = e.System.Drawing.GraphicsUnit , S = function(r) { function y() { var t = r.call(this) || this; return t._format = "{0:F0}", t._showValue = !1, t._textBrush = new m(f.dimGray), t._font = new d("Arial",7), t._capBrush = new m(f.fromArgb(158, 158, 158)), t._capBorderBrush = new p, t._capBorderWidth = 0, t._offsetNeedle = 0, t._startWidth = .1, t._endWidth = 1, t._autoCalculateCenterPoint = !0, t._centerPoint = new h, t._relativeHeight = .04, t._relativeWidth = .4, t._skin = e.Report.Gauge.StiNeedleSkin.SimpleNeedle, t.brush = new m(f.fromArgb(158, 158, 158)), t } return __extends(y, r), y.prototype.saveToJsonObject = function(t) { var n = r.prototype.saveToJsonObject.call(this, t); return n.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), n.addPropertyStringNullOrEmpty("Format", this.format), n.addPropertyBool("ShowValue", this.showValue, !1), n.addPropertyStringNullOrEmpty("TextBrush", g.Serialize.jBrush(this.textBrush)), n.addPropertyStringNullOrEmpty("Font", g.Serialize.font(this.font, "Arial", 8, v.Bold, b.Pixel)), n.addPropertyStringNullOrEmpty("CapBrush", g.Serialize.jBrush(this.capBrush)), n.addPropertyStringNullOrEmpty("CapBorderBrush", g.Serialize.jBrush(this.capBorderBrush)), n.addPropertyNumber("CapBorderWidth", this.capBorderWidth, 0), n.addPropertyNumber("OffsetNeedle", this.offsetNeedle, 0), n.addPropertyNumber("StartWidth", this.startWidth, .1), n.addPropertyNumber("EndWidth", this.endWidth, 1), n.addPropertyBool("AutoCalculateCenterPoint", this.autoCalculateCenterPoint, !0), n.addPropertyJObject("CenterPoint", g.Serialize.point(this.centerPoint)), n.addPropertyNumber("RelativeHeight", this.relativeHeight, .04), n.addPropertyNumber("RelativeWidth", this.relativeWidth, .4), n.addPropertyEnum("Skin", e.Report.Gauge.StiNeedleSkin, this.skin), n } , y.prototype.loadFromJsonObject = function(t) { var n, i; r.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var l = a.value; switch (l.name) { case "Format": this.format = l.value.toString(); break; case "ShowValue": this.showValue = l.value.stimulsoft.toBoolean(); break; case "TextBrush": this.textBrush = g.Deserialize.brush(l.value); break; case "Font": this.font = g.Deserialize.font(l.value.toString(), this.font); break; case "CapBrush": this.capBrush = g.Deserialize.brush(l.value); break; case "CapBorderBrush": this.capBorderBrush = g.Deserialize.brush(l.value); break; case "CapBorderWidth": this.capBorderWidth = l.value.stimulsoft.toNumber(); break; case "OffsetNeedle": this.offsetNeedle = l.value.stimulsoft.toNumber(); break; case "StartWidth": this.startWidth = l.value.stimulsoft.toNumber(); break; case "EndWidth": this.endWidth = l.value.stimulsoft.toNumber(); break; case "AutoCalculateCenterPoint": this.autoCalculateCenterPoint = l.value.stimulsoft.toBoolean(); break; case "Center": this.centerPoint = g.Deserialize.point(l.value); break; case "RelativeHeight": this.relativeHeight = l.value.stimulsoft.toNumber(); break; case "RelativeWidth": this.relativeWidth = l.value.stimulsoft.toNumber(); break; case "Skin": this.skin = s.parse(e.Report.Gauge.StiNeedleSkin, l.value.toString()); break } } } catch (e) { n = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (n) throw n.error } } } , Object.defineProperty(y.prototype, "componentId", { get: function() { return t.StiComponentId.StiNeedle }, enumerable: !0, configurable: !0 }), y.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(y.prototype, "format", { get: function() { return this._format }, set: function(e) { this._format = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "showValue", { get: function() { return this._showValue }, set: function(e) { this._showValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "textBrush", { get: function() { return this._textBrush }, set: function(e) { this._textBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "capBrush", { get: function() { return this._capBrush }, set: function(e) { this._capBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "capBorderBrush", { get: function() { return this._capBorderBrush }, set: function(e) { this._capBorderBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "capBorderWidth", { get: function() { return this._capBorderWidth }, set: function(e) { this._capBorderWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "offsetNeedle", { get: function() { return this._offsetNeedle }, set: function(e) { this._offsetNeedle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "startWidth", { get: function() { return this._startWidth }, set: function(e) { this._startWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "endWidth", { get: function() { return this._endWidth }, set: function(e) { this._endWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "autoCalculateCenterPoint", { get: function() { return this._autoCalculateCenterPoint }, set: function(e) { this._autoCalculateCenterPoint = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "centerPoint", { get: function() { return this._centerPoint }, set: function(e) { this._centerPoint = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "relativeHeight", { get: function() { return this._relativeHeight }, set: function(e) { this._relativeHeight = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "relativeWidth", { get: function() { return this._relativeWidth }, set: function(e) { this._relativeWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "skin", { get: function() { return this._skin }, set: function(e) { this._skin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "customSkin", { get: function() { return this._customSkin }, set: function(e) { this._customSkin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "elementType", { get: function() { return c.RadialElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "localizeName", { get: function() { return "Needle" }, enumerable: !0, configurable: !0 }), y.prototype.createNew = function() { return new y } , y.prototype.drawElement = function(t) { var r = this.scale; if (null == r) return; var a = this.scale.barGeometry.center , s = new u(this.scale.barGeometry.diameter * this.relativeWidth,this.scale.barGeometry.diameter * this.relativeHeight) , c = 0 , h = 0; s.width > s.height ? c = h = s.height / 2 : (c = s.width / 2, h = s.height / 2); var p = a.x - c , f = a.y - h , d = new l(p,f,s.width,s.height) , m = 0 , g = 0; try { g = t.gauge.isDesigning ? o.parseTextValue("{" + this.value + "}", t.gauge).stimulsoft.toNumber() : this.valueObj } catch (e) { g = 0 } var y = r.getCurrentAngle(g); m = y > r.sweepAngle + r.startAngle ? this.scale.isReversed ? r.getCurrentAngle(r.minimum) : r.getCurrentAngle(r.maximum) : this.scale.isReversed ? r.sweepAngle - y : y; var v = -r.getPosition(g) * r.sweepAngle; this.scale.isReversed && (v = -v), this.animation = new n(v,0,a,e.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,i.zero), this.getActualSkin().draw(t, this, d, m, a) } , y.prototype.interactiveClick = function(e, t) {} , y.prototype.getActualCenterPoint = function() { if (null != this.scale && null != this.scale.gauge) { if (this.autoCalculateCenterPoint) { var e = this.scale.gauge.report.unit.convertToHInches(this.scale.gauge.clientRectangle) , t = this.scale.gauge.clientRectangle , r = 0; return 0 != t.width && (r = t.height * this.relativeHeight / 2), new h(r,.5) } return this.centerPoint } return new h } , y.prototype.getActualSkin = function() { return null != this.customSkin ? this.customSkin : a.getNeedleIndicatorSkin(this.skin) } , y }(y); r.StiNeedle = S }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Engine.StiParser.StiParser , i = e.Report.Gauge.StiPlacement , o = e.Report.Gauge.Helpers.StiMathHelper , a = e.System.Drawing.Rectangle , s = e.Report.Components.Gauge.Primitives.StiBarBase , l = e.Base.Drawing.StiEmptyBrush , u = e.Report.Gauge.StiGaugeElemenType , c = function() { function e() { this.standardBackground = !1, this.defaultIndex = -99 } return e.prototype.reset = function() { this.standardBackground = !1, this.defaultIndex = -99 } , e }() , h = function(r) { function s() { var e = null !== r && r.apply(this, arguments) || this; return e.actualBush = new l, e.colorModeHelper = new c, e } return __extends(s, r), s.prototype.saveToJsonObject = function(e) { var t = r.prototype.saveToJsonObject.call(this, e); return t.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t } , s.prototype.loadFromJsonObject = function(e) { r.prototype.loadFromJsonObject.call(this, e) } , Object.defineProperty(s.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialBar }, enumerable: !0, configurable: !0 }), s.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(s.prototype, "elementType", { get: function() { return u.RadialElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "barType", { get: function() { return e.Report.Gauge.StiBarRangeListType.RadialBar }, enumerable: !0, configurable: !0 }), Object.defineProperty(s.prototype, "localizeName", { get: function() { return "RadialBar" }, enumerable: !0, configurable: !0 }), s.prototype.checkActualBrushForTopGeometry = function() { if (this.useRangeColor) for (var e = this.rangeList.count - 1; e >= 0; 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 } , s.prototype.createNew = function() { return new s } , s.prototype.drawElement = function(e) { var t = this.scale , r = e.gauge.isDesigning ? n.parseTextValue("{" + this.value + "}", e.gauge).stimulsoft.toNumber() : this.valueObj; if (e.gauge.isDesigning && this.checkActualBrushForTopGeometry(), null != t) { var i = void 0 , o = void 0; this.scale.isReversed ? (i = this.scale.maximum - r, o = this.scale.maximum) : (i = this.scale.minimum, (o = r) > this.scale.maximum && (o = 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, i, o) } } , s.prototype.onRangeColorChanged = function() { this.colorModeHelper.reset() } , s.prototype.interactiveClick = function(e, t) {} , s.prototype.getRangeGeometry = function(e, t, r, n, s, l, u) { var c = t.barGeometry.rectGeometry, h = t.barGeometry.center, p = t.barGeometry.radius, f = t.barGeometry.diameter, d, m; d = this.startWidth >= 0 ? t.isReversed ? this.endWidth * f : this.startWidth * f : 0, m = this.endWidth >= 0 ? t.isReversed ? this.startWidth * f : this.endWidth * f : 0; var g = t.startAngle + t.getPosition(l) * t.sweepAngle, y = (t.getPosition(u) - t.getPosition(l)) * t.sweepAngle, v = t.isReversed ? t.endWidth * f : t.startWidth * f, b = t.isReversed ? t.startWidth * f : t.endWidth * f, S = this.scale.getPosition(l), w = this.scale.getPosition(u), G = o.maxMinusMin(v, b), k, B, R, O; if (this.placement == i.Outside ? (k = p, B = p, R = p + d, O = p + m) : this.placement == i.Overlay ? t.isUp ? (k = p - (v + G * S - d) / 2, B = p - (v + G * w - m) / 2, R = p - (v + G * S + d) / 2, O = p - (v + G * w + m) / 2) : (k = p - (v - G * S - d) / 2, B = p - (v - G * w - m) / 2, R = p - (v - G * S + d) / 2, O = p - (v - G * w + m) / 2) : t.isUp ? (k = p - (v + G * S), B = p - (v + G * w), R = p - (v + G * S + d), O = p - (v + G * w + m)) : (k = p - (v - G * S), B = p - (v - G * w), R = p - (v - G * S + d), O = p - (v - G * w + m)), isNaN(k) || isNaN(B) || isNaN(R) || isNaN(O)) return; var _ = o.getMax(k, B, R, O) , P = new a(h.x - _,h.y - _,2 * _,2 * _); e.addRadialRangeGaugeGeom(P, r, n, s, h, g, y, k, B, R, O) } , s }(s); r.StiRadialBar = h }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Gauge.StiBarRangeListType , i = e.Base.Drawing.StiEmptyBrush , o = e.Base.StiJsonReportObjectHelper , a = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t._brush = new i, t } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyStringNullOrEmpty("Brush", o.Serialize.jBrush(this.brush)), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), a = i.next(); !a.done; a = i.next()) { var s = a.value; switch (s.name) { case "Brush": this.brush = o.Deserialize.brush(s.value); break } } } catch (e) { r = { error: e } } finally { try { a && !a.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialIndicatorRangeInfo }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "rangeListType", { get: function() { return n.RadialBar }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(r.StiIndicatorRangeInfo); r.StiRadialIndicatorRangeInfo = a }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Base.Context.Animation.StiRotationAnimation , i = e.System.TimeSpan , o = e.Report.Gauge.StiPlacement , a = e.Report.Gauge.Helpers.StiMathHelper , s = e.Report.Engine.StiParser.StiParser , l = e.Report.Gauge.StiGaugeElemenType , u = e.Report.Components.Gauge.Primitives.StiMarkerBase , c = e.System.Drawing.Rectangle , h = function(r) { function u() { return null !== r && r.apply(this, arguments) || this } return __extends(u, r), u.prototype.saveToJsonObject = function(e) { var t = r.prototype.saveToJsonObject.call(this, e); return t.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t } , u.prototype.loadFromJsonObject = function(e) { r.prototype.loadFromJsonObject.call(this, e) } , Object.defineProperty(u.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialMarker }, enumerable: !0, configurable: !0 }), u.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(u.prototype, "elementType", { get: function() { return l.RadialElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(u.prototype, "localizeName", { get: function() { return "RadialMarker" }, enumerable: !0, configurable: !0 }), u.prototype.createNew = function() { return new u } , u.prototype.drawElement = function(t) { var r = this.scale; if (null == r) return; var l = t.gauge.report.isDesigning ? s.parseTextValue("{" + this.value + "}", t.gauge).stimulsoft.toNumber() : this.valueObj , u = r.getPosition(l) , h = r.barGeometry.center , p = this.scale.barGeometry.size.width * this.relativeWidth , f = this.scale.barGeometry.size.height * this.relativeHeight , d = this.scale.barGeometry.diameter , m = a.maxMinusMin(this.scale.startWidth, this.scale.endWidth) * d * u , g = this.scale.barGeometry.radius - this.offset * d; this.placement == o.Overlay ? this.scale.isReversed ? g -= this.scale.isUp ? (this.scale.endWidth * d + p + m) / 2 : (this.scale.endWidth * d + p - m) / 2 : g -= this.scale.isUp ? (this.scale.startWidth * d + p + m) / 2 : (this.scale.startWidth * d + p - m) / 2 : this.placement == o.Inside && (this.scale.isReversed ? g -= this.scale.isUp ? this.scale.endWidth * d + p - m : this.scale.endWidth * d + p + m : g -= this.scale.isUp ? this.scale.startWidth * d + p - m : this.scale.startWidth * d + p + m); var y = new c(g + h.x,h.y - f / 2,p,f) , v = r.startAngle + r.getSweepAngle() * u , b = r.startAngle - v; this.animation = new n(b,0,h,e.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,i.zero), this.getActualSkin().draw(t, this, y, v, h) } , u.prototype.interactiveClick = function(e, t) {} , u }(u); r.StiRadialMarker = h }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Gauge.Helpers.StiGaugeSkinHelper , i = e.Report.Engine.StiParser.StiParser , o = e.Report.Gauge.Collections.StiFilterCollection , a = e.System.Drawing.Color , s = e.Base.Drawing.StiSolidBrush , l = e.Base.StiJsonSaveMode , u = e.System.Drawing.Font , c = e.System.Enum , h = e.System.Drawing.Rectangle , p = e.Report.Components.Gauge.Primitives.StiIndicatorBase , f = e.Base.StiJsonReportObjectHelper , d = e.System.Drawing.FontStyle , m = e.System.Drawing.GraphicsUnit , g = function(r) { function p() { var t = null !== r && r.apply(this, arguments) || this; return t._format = "{0:F0}", t._showValue = !1, t._textBrush = new s(a.dimGray), t._font = new u("Atial",7), t._filters = new o, t._left = 0, t._top = 0, t._relativeWidth = .05, t._relativeHeight = .05, t._skin = e.Report.Gauge.StiStateSkin.Ellipse, t } return __extends(p, r), p.prototype.saveToJsonObject = function(t) { var n = r.prototype.saveToJsonObject.call(this, t); return n.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), n.addPropertyStringNullOrEmpty("Format", this.format), n.addPropertyBool("ShowValue", this.showValue, !1), n.addPropertyStringNullOrEmpty("TextBrush", f.Serialize.jBrush(this.textBrush)), n.addPropertyStringNullOrEmpty("Font", f.Serialize.font(this.font, "Arial", 8, d.Bold, m.Pixel)), n.addPropertyNumber("Left", this.left, 0), n.addPropertyNumber("Top", this.top, 0), n.addPropertyNumber("RelativeHeight", this.relativeHeight, .05), n.addPropertyNumber("RelativeWidth", this.relativeWidth, .05), n.addPropertyEnum("Skin", e.Report.Gauge.StiStateSkin, this.skin), t == l.Report && n.addPropertyJObject("Filters", this.filters.saveToJsonObject(t)), n } , p.prototype.loadFromJsonObject = function(t) { var n, i; r.prototype.loadFromJsonObject.call(this, t); try { for (var o = __values(t.properties()), a = o.next(); !a.done; a = o.next()) { var s = a.value; switch (s.name) { case "Format": this.format = s.value.toString(); break; case "ShowValue": this.showValue = s.value.stimulsoft.toBoolean(); break; case "TextBrush": this.textBrush = f.Deserialize.brush(s.value); break; case "Font": this.font = f.Deserialize.font(s.value.toString(), this.font); break; case "Left": this.left = s.value.stimulsoft.toNumber(); break; case "Top": this.top = s.value.stimulsoft.toNumber(); break; case "RelativeHeight": this.relativeHeight = s.value.stimulsoft.toNumber(); break; case "RelativeWidth": this.relativeWidth = s.value.stimulsoft.toNumber(); break; case "Skin": this.skin = c.parse(e.Report.Gauge.StiStateSkin, s.value.toString()); break; case "Filters": this.filters.loadFromJsonObject(s.value); break } } } catch (e) { n = { error: e } } finally { try { a && !a.done && (i = o.return) && i.call(o) } finally { if (n) throw n.error } } } , Object.defineProperty(p.prototype, "componentId", { get: function() { return t.StiComponentId.StiStateIndicator }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "format", { get: function() { return this._format }, set: function(e) { this._format = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "showValue", { get: function() { return this._showValue }, set: function(e) { this._showValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "textBrush", { get: function() { return this._textBrush }, set: function(e) { this._textBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "font", { get: function() { return this._font }, set: function(e) { this._font = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "elementType", { get: function() { return e.Report.Gauge.StiGaugeElemenType.All }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "localizeName", { get: function() { return "StateIndicator" }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "filters", { get: function() { return this._filters }, set: function(e) { this._filters = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "left", { get: function() { return this._left }, set: function(e) { this._left = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "top", { get: function() { return this._top }, set: function(e) { this._top = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "relativeWidth", { get: function() { return this._relativeWidth }, set: function(e) { this._relativeWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "relativeHeight", { get: function() { return this._relativeHeight }, set: function(e) { this._relativeHeight = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "skin", { get: function() { return this._skin }, set: function(e) { this._skin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(p.prototype, "customSkin", { get: function() { return this._customSkin }, set: function(e) { this._customSkin = e }, enumerable: !0, configurable: !0 }), p.prototype.createNew = function() { return new p } , p.prototype.onValueChanged = function() { if (null != this.filters) { for (var e = null, t = this.scale.gauge.report.isDesigning ? i.parseTextValue("{" + this.value + "}", this.scale.gauge).stimulsoft.toNumber() : this.valueObj, 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 && (this.lastFilter = e, null != e && (this.brush = e.brush, this.borderBrush = e.borderBrush)) } } , p.prototype.interactiveClick = function(e, t) {} , p.prototype.drawElement = function(e) { var t = this.scale.barGeometry.size , r = e.rect , n = new h(r.x + t.width * this.left,r.y + t.height * this.top,t.width * this.relativeWidth,t.height * this.relativeHeight); this.getActualSkin().draw(e, this, n, null, null) } , p.prototype.getActualSkin = function() { return null != this.customSkin ? this.customSkin : n.getStateIndicatorSkin(this.skin) } , p }(p); r.StiStateIndicator = g }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Rectangle , n = e.System.Drawing.Point , i = e.System.Drawing.Size , o = e.Report.Gauge.StiRadiusMode , a = function() { function e(e) { this._size = new i(0,0), this._center = new n(0,0), this._rectGeometry = r.empty, this._radius = 0, this._diameter = 0, this.scale = e } return Object.defineProperty(e.prototype, "size", { get: function() { return this._size }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "rectGeometry", { get: function() { return this._rectGeometry }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "radius", { get: function() { return this._radius }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "diameter", { get: function() { return this._diameter }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "center", { get: function() { return this._center }, enumerable: !0, configurable: !0 }), e.prototype.checkRectGeometry = function(e) { this._size = e.size; var t = this.scale.center; t = new n(e.x + this.size.width * t.x,e.y + this.size.height * t.y); var i = 0 , a = 0; this.scale.radiusMode == o.Auto ? (i = Math.min(this.size.width, this.size.height) * this.scale.getRadius(), a = i, this._diameter = i, this._radius = i / 2) : this.scale.radiusMode == o.Width ? (i = this.size.width * this.scale.getRadius(), a = this.size.height, this._diameter = i, this._radius = i / 2) : (i = this.size.width, a = this.size.height * this.scale.getRadius(), this._diameter = a, this._radius = a / 2), this._rectGeometry = new r(t.x - i / 2,t.y - a / 2,i,a), this._center = new n(this.rectGeometry.left + this.rectGeometry.width / 2,this.rectGeometry.top + this.rectGeometry.height / 2) } , e.prototype.drawScaleGeometry = function(e) { var t, r; this.scale.isReversed ? (t = this.scale.getEndWidth(), r = this.scale.getStartWidth()) : (t = this.scale.getStartWidth(), r = this.scale.getEndWidth()), this.rectGeometry.width > 0 && this.rectGeometry.height > 0 && e.addGraphicsArcGeometryGaugeGeom(this.rectGeometry, this.scale.brush, this.scale.borderBrush, 1, this.scale.startAngle, this.scale.getSweepAngle(), t, r) } , e.prototype.getRestToLenght = function() { return null } , e.prototype.drawGeometry = function(e, t, r, n, i, o, a, s, l) { return null } , e }(); t.StiRadialBarGeometry = a }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Components.Gauge.Primitives.StiRadialBarGeometry , i = e.System.Drawing.Point , o = e.System.Enum , a = e.Report.Components.Gauge.Primitives.StiScaleBase , s = e.Base.StiJsonReportObjectHelper , l = function(r) { function a() { var t = r.call(this) || this; return t._radius = .75, t._radiusMode = e.Report.Gauge.StiRadiusMode.Auto, t._center = new i(.5,.5), t._startAngle = 45, t._sweepAngle = 300, t._skin = e.Report.Gauge.StiRadialScaleSkin.Default, t.barGeometry = new n(t), t } return __extends(a, r), a.prototype.saveToJsonObject = function(t) { var n = r.prototype.saveToJsonObject.call(this, t); return n.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), n.addPropertyNumber("Radius", this.radius, 0), n.addPropertyEnum("RadiusMode", e.Report.Gauge.StiRadiusMode, this.radiusMode), n.addPropertyJObject("Center", s.Serialize.point(this.center)), n.addPropertyNumber("StartAngle", this.startAngle, 45), n.addPropertyNumber("SweepAngle", this.sweepAngle, 300), n.addPropertyEnum("Skin", e.Report.Gauge.StiRadialScaleSkin, this.skin), n } , a.prototype.loadFromJsonObject = function(t) { var n, i; r.prototype.loadFromJsonObject.call(this, t); try { for (var a = __values(t.properties()), l = a.next(); !l.done; l = a.next()) { var u = l.value; switch (u.name) { case "Radius": this.radius = u.value.stimulsoft.toNumber(); break; case "RadiusMode": this.radiusMode = o.parse(e.Report.Gauge.StiRadiusMode, u.value.toString()); break; case "Center": this.center = s.Deserialize.point(u.value); break; case "StartAngle": this.startAngle = u.value.stimulsoft.toNumber(); break; case "SweepAngle": this.sweepAngle = u.value.stimulsoft.toNumber(); break; case "Skin": this.skin = o.parse(e.Report.Gauge.StiRadialScaleSkin, u.value.toString()); break } } } catch (e) { n = { error: e } } finally { try { l && !l.done && (i = a.return) && i.call(a) } finally { if (n) throw n.error } } } , Object.defineProperty(a.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialScale }, enumerable: !0, configurable: !0 }), a.prototype.clone = function() { return r.prototype.clone.call(this) } , a.prototype.applyStyle = function(e) { var t, r; try { for (var n = __values(this.items.list), i = n.next(); !i.done; i = n.next()) { i.value.applyStyle(e) } } catch (e) { t = { error: e } } finally { try { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , Object.defineProperty(a.prototype, "radius", { get: function() { return this._radius }, set: function(e) { this._radius = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "radiusMode", { get: function() { return this._radiusMode }, set: function(e) { this._radiusMode = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "center", { get: function() { return this._center }, set: function(e) { this._center = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "startAngle", { get: function() { return this._startAngle }, set: function(e) { this._startAngle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "sweepAngle", { get: function() { return this._sweepAngle }, set: function(e) { this._sweepAngle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "skin", { get: function() { return this._skin }, set: function(e) { this._skin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "scaleType", { get: function() { return e.Report.Gauge.StiGaugeElemenType.RadialElement }, enumerable: !0, configurable: !0 }), a.prototype.getRadius = function() { return this.radius < 0 ? 0 : this.radius } , a.prototype.getStartWidth = function() { var e = this.startWidth; return e < 0 ? e = 0 : e > 1 && (e = 1), e } , a.prototype.getEndWidth = function() { var e = this.endWidth; return e < 0 ? e = 0 : e > 1 && (e = 1), e } , a.prototype.getSweepAngle = function() { var e = this.sweepAngle; return e < 0 ? e = 0 : e > 360 && (e = 360), e } , a.prototype.getCurrentAngle = function(e) { return this.getPosition(e) * this.sweepAngle + this.startAngle } , a.prototype.interactiveClick = function(e) {} , a.prototype.createNew = function() { return new a } , a }(a); r.StiRadialScale = l }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.Report.Gauge.StiPlacement , n = e.Base.StiJson , i = e.Base.StiJsonReportObjectHelper , o = e.System.Enum , a = e.Base.Drawing.StiEmptyBrush , s = e.Base.Drawing.StiSolidBrush , l = e.System.Drawing.Color , u = function() { function e() { this._brush = new s(l.white), this._borderBrush = new a, this._borderWidth = 1, this._startValue = 0, this._endValue = 0, this._startWidth = 0, this._endWidth = 0, this._placement = r.Overlay, this._offset = 0 } return e.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyStringNullOrEmpty("Brush", i.Serialize.jBrush(this.brush)), t.addPropertyStringNullOrEmpty("BorderBrush", i.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", r, this.placement), t.addPropertyNumber("Offset", this.offset, 0), t } , e.prototype.loadFromJsonObject = function(e) { var t, n; try { for (var a = __values(e.properties()), s = a.next(); !s.done; s = a.next()) { var l = s.value; switch (l.name) { case "Brush": this.brush = i.Deserialize.brush(l.value); break; case "BorderBrush": this.borderBrush = i.Deserialize.brush(l.value); break; case "BorderWidth": this.borderWidth = l.value.stimulsoft.toNumber(); break; case "StartValue": this.startValue = l.value.stimulsoft.toNumber(); break; case "EndValue": this.endValue = l.value.stimulsoft.toNumber(); break; case "StartWidth": this.startWidth = l.value.stimulsoft.toNumber(); break; case "EndWidth": this.endWidth = l.value.stimulsoft.toNumber(); break; case "Placement": this.placement = o.parse(r, l.value.toString()); break; case "Offset": this.offset = l.value.stimulsoft.toNumber(); break } } } catch (e) { t = { error: e } } finally { try { s && !s.done && (n = a.return) && n.call(a) } finally { if (t) throw t.error } } } , Object.defineProperty(e.prototype, "componentId", { get: function() { return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "propName", { get: function() { return null }, enumerable: !0, configurable: !0 }), e.prototype.clone = function() { var e = this.stimulsoft.memberwiseClone(); return e.brush = this.brush.clone(), e.borderBrush = this.borderBrush.clone(), e } , Object.defineProperty(e.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "borderBrush", { get: function() { return this._borderBrush }, set: function(e) { this._borderBrush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "borderWidth", { get: function() { return this._borderWidth }, set: function(e) { this._borderWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "startValue", { get: function() { return this._startValue }, set: function(e) { this._startValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "endValue", { get: function() { return this._endValue }, set: function(e) { this._endValue = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "startWidth", { get: function() { return this._startWidth }, set: function(e) { this._startWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "endWidth", { get: function() { return this._endWidth }, set: function(e) { this._endWidth = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "placement", { get: function() { return this._placement }, set: function(e) { this._placement = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "offset", { get: function() { return this._offset }, set: function(e) { this._offset = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "rangeList", { get: function() { return this._rangeList }, set: function(e) { this._rangeList = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "localizeName", { get: function() { return null }, enumerable: !0, configurable: !0 }), e.prototype.drawRange = function(e, t) {} , e.prototype.createNew = function() { return null } , e }(); t.StiRangeBase = u }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom , i = e.Report.Components.Gauge.Primitives.StiRangeBase , o = e.System.Drawing.Rectangle , a = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r } , r.prototype.loadFromJsonObject = function(t) { e.prototype.loadFromJsonObject.call(this, t) } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearRange }, enumerable: !0, configurable: !0 }), r.prototype.drawRange = function(e, t) { if (null == t) return; var r = this.startWidth , i = this.endWidth; if (0 == r || 0 == i) return; var a = new o(0,0,0,0) , s = { ref: a } , l = t.barGeometry.drawGeometry(e, this.startValue, this.endValue, r, i, this.offset, this.placement, s, !1); if (a = s.ref, null != l) { var u = new n(a,l.points[0],this.brush,this.borderBrush,this.borderWidth); u.geoms.add(l), u.addGraphicsPathCloseFigureGaugeGeom(), e.addGraphicsPathGaugeGeom(u) } } , Object.defineProperty(r.prototype, "localizeName", { get: function() { return "LinearRange" }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r }(i); r.StiLinearRange = a }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n; !function(r) { var n = e.Base.StiJson , i = e.Report.Gauge.Collections.StiRangeCollection , o = function(e) { function r() { var t = e.call(this) || this; return t.ranges = new i(t), t } return __extends(r, e), r.prototype.saveToJsonObject = function(e) { var t = new n; return t.addPropertyJObject("Ranges", this.ranges.saveToJsonObject(e)), t } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "Ranges": this.ranges.loadFromJsonObject(a.value); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiScaleRangeList }, enumerable: !0, configurable: !0 }), r.prototype.clone = function() { var t, r, n = e.prototype.clone.call(this); n.ranges = new i(n); try { for (var o = __values(this.ranges.list), a = o.next(); !a.done; a = o.next()) { var s = a.value; n.ranges.add(s.clone()) } } catch (e) { t = { error: e } } finally { try { a && !a.done && (r = o.return) && r.call(o) } finally { if (t) throw t.error } } return n } , Object.defineProperty(r.prototype, "ranges", { get: function() { return this._ranges }, set: function(e) { this._ranges = e }, enumerable: !0, configurable: !0 }), r }(r.StiGaugeElement); r.StiScaleRangeList = o }(n = r.Primitives || (r.Primitives = {})) }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Components.Gauge.Primitives.StiScaleRangeList , i = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r } , r.prototype.loadFromJsonObject = function(t) { e.prototype.loadFromJsonObject.call(this, t) } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearRangeList }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r.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++ } } , r }(n); r.StiLinearRangeList = i }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Gauge.Helpers.StiMathHelper , i = e.Report.Gauge.StiPlacement , o = e.Report.Components.Gauge.Primitives.StiRangeBase , a = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t._useValuesFromTheSpecifiedRange = !0, t } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyBool("UseValuesFromTheSpecifiedRange", this.useValuesFromTheSpecifiedRange, !0), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "UseValuesFromTheSpecifiedRange": this.useValuesFromTheSpecifiedRange = a.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialRange }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "useValuesFromTheSpecifiedRange", { get: function() { return this._useValuesFromTheSpecifiedRange }, set: function(e) { this._useValuesFromTheSpecifiedRange = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizeName", { get: function() { return "RadialRange" }, enumerable: !0, configurable: !0 }), r.prototype.drawRange = function(e, t) { var r = t; if (null == r || 0 == this.startWidth || 0 == this.endWidth) return; var o = this.startValue; if (this.useValuesFromTheSpecifiedRange && o < t.minimum) o = t.minimum; else if (o > t.maximum) return; var a = this.endValue; if (this.useValuesFromTheSpecifiedRange && a > t.maximum) a = t.maximum; else if (a < t.minimum) return; var s = t.barGeometry.diameter, l, u; t.isReversed ? (o = t.maximum - o, a = t.maximum - a, l = t.endWidth * s, u = t.startWidth * s) : (l = t.startWidth * s, u = t.endWidth * s); var c = t.barGeometry.rectGeometry, h = t.barGeometry.center, p = t.barGeometry.radius, f = this.startWidth >= 0 ? this.startWidth * s : 0, d = this.endWidth >= 0 ? this.endWidth * s : 0, m = r.startAngle + t.getPosition(o) * r.sweepAngle, g = (t.getPosition(a) - t.getPosition(o)) * r.sweepAngle, y = t.getPosition(o), v = t.getPosition(a), b = n.maxMinusMin(l, u), S, w, G, k; this.placement == i.Outside ? (S = p, w = p, G = p + f, k = p + d) : this.placement == i.Overlay ? t.isUp ? (S = p - (l + b * y - f) / 2, w = p - (l + b * v - d) / 2, G = p - (l + b * y + f) / 2, k = p - (l + b * v + d) / 2) : (S = p - (l - b * y - f) / 2, w = p - (l - b * v - d) / 2, G = p - (l - b * y + f) / 2, k = p - (l - b * v + d) / 2) : t.isUp ? (S = p - (l + b * y), w = p - (l + b * v), G = p - (l + b * y + f), k = p - (l + b * v + d)) : (S = p - (l - b * y), w = p - (l - b * v), G = p - (l - b * y + f), k = p - (l - b * v + d)), e.addRadialRangeGaugeGeom(c, this.brush, this.borderBrush, this.borderWidth, h, m, g, S, w, G, k) } , r.prototype.createNew = function() { return new r } , r }(o); r.StiRadialRange = a }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Gauge.StiGaugeElemenType , i = e.Report.Components.Gauge.Primitives.StiScaleRangeList , o = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r } , r.prototype.loadFromJsonObject = function(t) { e.prototype.loadFromJsonObject.call(this, t) } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialRangeList }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "elementType", { get: function() { return n.RadialElement }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r.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++ } } , r }(i); r.StiRadialRangeList = o }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.Drawing.Rectangle , n = e.Report.Gauge.Helpers.StiRectangleHelper , i = e.Report.Gauge.StiPlacement , o = e.System.Drawing.Orientation , a = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return __extends(t, e), t.prototype.drawElement = function(e) { var t, a, s = this.scale; if (null == s) return; var l = s.barGeometry.size , u = s.barGeometry.rectGeometry , c = this.getPointCollection(); if (0 == c.count) return; var h = this.skipValuesObj, p = this.skipIndicesObj, f = this.getActualSkin(), d = this.scale.scaleHelper.actualMinimum, m = this.scale.scaleHelper.actualMaximum, g = s.startWidth < s.endWidth, y, v; s.orientation == o.Horizontal ? (y = u.width, v = l.height) : (y = u.height, v = l.width); var b = s.barGeometry.getRestToLenght(); v *= this.offset; var S = l.width * this.relativeWidth , w = l.height * this.relativeHeight; w < 1 && (w = 1); var G = -1; try { for (var k = __values(c.keys), B = k.next(); !B.done; B = k.next()) { var R = B.value; if (G++, R < d) continue; if (R > m) continue; if (this.checkTickValue(h, p, R, G)) continue; if (null != this.minimumValue && R < this.minimumValue) continue; if (null != this.maximumValue && R > this.maximumValue) continue; var O = c.get(R) * y , _ = void 0 , P = void 0; if (s.orientation == o.Horizontal) if (P = s.isReversed ? u.right - O - S : u.left + O - S / 2, this.placement == i.Overlay) _ = n.centerY(u) - w / 2 - v; else { var j = g ? (1 - c.get(R)) * b : b * c.get(R); _ = this.placement == i.Outside ? u.top - w - v + j : u.bottom + v - j } else if (_ = s.isReversed ? u.top + O - w / 2 : u.bottom - O - w / 2, this.placement == i.Overlay) P = n.centerX(u) - S / 2 - v; else { var j = g ? (1 - c.get(R)) * b : b * c.get(R); P = this.placement == i.Outside ? u.left - S - 3 - v + j : u.right + v + 3 - j } f.draw(e, this, new r(Math.round(P),Math.round(_),Math.trunc(S),Math.trunc(w))) } } catch (e) { t = { error: e } } finally { try { B && !B.done && (a = k.return) && a.call(k) } finally { if (t) throw t.error } } } , t }(t.StiTickMarkBase); t.StiLinearTickMarkBase = a }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = e.System.Drawing.Orientation , o = e.Report.Gauge.Helpers.StiRectangleHelper , a = e.Report.Gauge.StiPlacement , s = e.System.Drawing.Rectangle , l = e.Report.Engine.StiParser.StiParser , u = e.Report.Events.StiGetValueEventArgs , c = e.Report.Events.StiGetValueEvent , h = e.Report.Components.Gauge.Primitives.StiLinearTickMarkBase , p = e.Report.Expressions.StiExpression , f = e.Report.Gauge.Collections.StiCustomValuesCollection , d = function(h) { function d() { var e = null !== h && h.apply(this, arguments) || this; return e._valueObj = 0, e._values = new f, e._getValueEvent = new c, e._value = "", e } return __extends(d, h), d.prototype.saveToJsonObject = function(e) { var t = h.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 p(this.value).saveToJsonObject(e)), t.addPropertyJObject("Values", this.values.saveToJsonObject(e)), t } , d.prototype.loadFromJsonObject = function(e) { var t, r; h.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), i = n.next(); !i.done; i = n.next()) { var o = i.value; switch (o.name) { case "GetSkipValuesEvent": var a = new c; a.loadFromJsonObject(o.value), this.getValueEvent = a; break; case "GetSkipIndicesEvent": var s = new p; s.loadFromJsonObject(o.value), this.value = s.value; break; case "Values": this.values.loadFromJsonObject(o.value); break } } } catch (e) { t = { error: e } } finally { try { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , Object.defineProperty(d.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearTickMarkCustom }, enumerable: !0, configurable: !0 }), d.prototype.clone = function() { var e, t, r = h.prototype.clone.call(this); null != this.value ? r.value = this.value : r.value = null, r.values = new f; try { for (var n = __values(this.values.list), i = n.next(); !i.done; i = n.next()) { var o = i.value; r.values.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 } , Object.defineProperty(d.prototype, "valueObj", { get: function() { return this._valueObj }, set: function(e) { this._valueObj = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "values", { get: function() { return this._values }, set: function(e) { this._values = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "localizeName", { get: function() { return "LinearTickMarkCustom" }, enumerable: !0, configurable: !0 }), d.prototype.onGetValue = function(e) {} , d.prototype.invokeGetValue = function(e, r) { try { if (this.onGetValue(r), e.scale.gauge.report.calculationMode == t.StiCalculationMode.Interpretation) { var i = l.parseTextValue(this.value, e.scale.gauge); r.value = e.scale.gauge.report.toString2(i) } } catch (e) { var o = n.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!", "Indicator", this.scale.gauge.name) } } , Object.defineProperty(d.prototype, "getValueEvent", { get: function() { return this._getValueEvent }, set: function(e) { this._getValueEvent = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(d.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), d.prototype.createNew = function() { return new d } , d.prototype.prepareGaugeElement = function() { h.prototype.prepareGaugeElement.call(this); var t = new u; this.invokeGetValue(this, t), this.valueObj = e.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject2(t.value, 0) } , d.prototype.drawElement = function(e) { var t, n, l = this.scale; if (null == l) return; var u = l.barGeometry.size , c = l.barGeometry.rectGeometry , h = this.scale.barGeometry.getRestToLenght() , p = l.orientation == i.Horizontal ? u.height : u.width; p *= this.offset; var d = this.scale.scaleHelper.actualMinimum , m = this.scale.scaleHelper.actualMaximum , g = this.getActualSkin() , y = this.skipValuesObj , v = this.skipIndicesObj , b = this.values; null != b && 0 != b.count || (b = new f, b.add(new r.StiLinearTickMarkCustomValue(this.valueObj,this.offset,this.relativeWidth,this.relativeHeight,this.placement,g))); var S = -1; try { for (var w = __values(b.toCast()), G = w.next(); !G.done; G = w.next()) { var k = G.value; if (S++, k.value < d) continue; if (k.value > m) continue; if (this.checkTickValue(y, v, k.value, S)) continue; if (null != this.minimumValue && k.value < this.minimumValue) continue; if (null != this.maximumValue && k.value > this.maximumValue) continue; var B = void 0 , R = void 0 , O = void 0 , _ = this.scale.getPosition(k.value) , P = u.width * this.getRelativeWidth(k.relativeWidth) , j = u.height * this.getRelativeHeight(k.relativeHeight); if (l.orientation == i.Horizontal) if (B = l.isReversed ? c.width - c.width * _ : c.width * _, this.getPlacement(k.placement) == a.Overlay) R = c.left + B - P / 2, O = o.centerY(c) - j / 2 - p; else { var x = l.startWidth < l.endWidth ? (1 - _) * h : h * _; this.getPlacement(k.placement) == a.Outside ? (R = c.left + B - P / 2, O = c.top - j - p + x) : (R = c.left + B - P / 2, O = c.bottom + p - x) } else if (B = l.isReversed ? c.height * _ : c.height - c.height * _, this.getPlacement(k.placement) == a.Overlay) R = o.centerX(c) - P / 2, O = c.top + B - j / 2; else { var x = l.startWidth < l.endWidth ? (1 - _) * h : h * _; this.getPlacement(k.placement) == a.Outside ? (R = c.left - P - 1 - p + x, O = c.top + B - j / 2) : (R = c.right + 1 + p - x, O = c.top + B - j / 2) } (null == k.skin ? g : k.skin).draw(e, this, new s(R,O,P,j)) } } catch (e) { t = { error: e } } finally { try { G && !G.done && (n = w.return) && n.call(w) } finally { if (t) throw t.error } } } , d }(h); r.StiLinearTickMarkCustom = d }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = function(e) { function r(t, r, n, i, o, a) { void 0 === t && (t = null), void 0 === r && (r = null), void 0 === n && (n = null), void 0 === i && (i = null), void 0 === o && (o = null), void 0 === a && (a = null); var s = e.call(this) || this; return s._relativeWidth = null, s._relativeHeight = null, s.value = t, s.offset = r, s._relativeWidth = n, s._relativeHeight = i, s.placement = o, s._skin = a, s } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyNumber("RelativeHeight", this.relativeHeight, null), r.addPropertyNumber("RelativeWidth", this.relativeWidth, null), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "RelativeHeight": this.relativeHeight = a.value.stimulsoft.toNumber(); break; case "RelativeWidth": this.relativeWidth = a.value.stimulsoft.toNumber(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearTickMarkCustomValue }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "relativeWidth", { get: function() { return this._relativeWidth }, set: function(e) { this._relativeWidth = e }, enumerable: !0, configurable: !0 }), r.prototype.get = function() { return this._relativeHeight } , Object.defineProperty(r.prototype, "relativeHeight", { set: function(e) { this._relativeHeight = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "skin", { get: function() { return this._skin }, set: function(e) { this._skin = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedName", { get: function() { return "LinearTickMarkCustom" }, enumerable: !0, configurable: !0 }), r.prototype.toString = function() { return n.format("Value={0}", this.value) } , r.prototype.createNew = function() { return new r } , r }(r.StiCustomValueBase); r.StiLinearTickMarkCustomValue = i }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Components.Gauge.Primitives.StiLinearTickMarkBase , i = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearTickMarkMajor }, enumerable: !0, configurable: !0 }), r.prototype.applyStyle = function(e) { this.allowApplyStyle && (this.borderBrush = e.core.tickMarkMajorBorder, this.brush = e.core.tickMarkMajorBrush, this.borderWidth = e.core.tickMarkMajorBorderWidth) } , Object.defineProperty(r.prototype, "localizeName", { get: function() { return "LinearTickMarkMajor" }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r.prototype.getPointCollection = function() { return this.getMajorCollections() } , r }(n); r.StiLinearTickMarkMajor = i }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Components.Gauge.Primitives.StiLinearTickMarkBase , i = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t._skipMajorValues = !0, t } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyBool("SkipMajorValues", this.skipMajorValues, !0), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "SkipMajorValues": this.skipMajorValues = a.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearTickMarkMinor }, enumerable: !0, configurable: !0 }), r.prototype.applyStyle = function(e) { this.allowApplyStyle && (this.borderBrush = e.core.tickMarkMinorBorder, this.brush = e.core.tickMarkMinorBrush, this.borderWidth = e.core.tickMarkMinorBorderWidth) } , Object.defineProperty(r.prototype, "skipMajorValues", { get: function() { return this._skipMajorValues }, set: function(e) { this._skipMajorValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "isSkipMajorValues", { get: function() { return this.skipMajorValues }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizeName", { get: function() { return "LinearTickMarkMinor" }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r.prototype.getPointCollection = function() { return this.getMinorCollections() } , r }(n); r.StiLinearTickMarkMinor = i }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r; !function(t) { var r; !function(t) { var r = e.System.StiString , n = e.Report.Gauge.StiRadialPosition , i = e.Report.Gauge.StiPlacement , o = e.Report.Components.Gauge.Primitives.StiTickLabelBase , a = e.System.Enum , s = e.Report.Gauge.StiGaugeElemenType , l = e.Report.Painters.StiGaugeContextPainter , u = e.System.Drawing.Rectangle , c = e.System.Drawing.Point , h = e.Report.Gauge.Helpers.StiTickLabelHelper , p = function(t) { function o() { var r = null !== t && t.apply(this, arguments) || this; return r._labelRotationMode = e.Report.Gauge.StiLabelRotationMode.None, r._offsetAngle = 0, r } return __extends(o, t), o.prototype.saveToJsonObject = function(r) { var n = t.prototype.saveToJsonObject.call(this, r); return n.addPropertyNumber("OffsetAngle", this.offsetAngle, 0), n.addPropertyEnum("LabelRotationMode", e.Report.Gauge.StiLabelRotationMode, this.labelRotationMode), n } , o.prototype.loadFromJsonObject = function(r) { var n, i; t.prototype.loadFromJsonObject.call(this, r); try { for (var o = __values(r.properties()), s = o.next(); !s.done; s = o.next()) { var l = s.value; switch (l.name) { case "OffsetAngle": this.offsetAngle = l.value.stimulsoft.toNumber(); break; case "LabelRotationMode": this.labelRotationMode = a.parse(e.Report.Gauge.StiLabelRotationMode, l.value.toString()); break } } } catch (e) { n = { error: e } } finally { try { s && !s.done && (i = o.return) && i.call(o) } finally { if (n) throw n.error } } } , Object.defineProperty(o.prototype, "labelRotationMode", { get: function() { return this._labelRotationMode }, set: function(e) { this._labelRotationMode = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "offsetAngle", { get: function() { return this._offsetAngle }, set: function(e) { this._offsetAngle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(o.prototype, "elementType", { get: function() { return s.RadialElement }, enumerable: !0, configurable: !0 }), o.prototype.drawElement = function(e) { var t, n, o = this.scale; if (null == o) return; var a = this.scale.barGeometry.rectGeometry; if (a.width <= 0 || a.height <= 0) return; var s = this.getPointCollection(); if (0 == s.count) return; var p = h.getLabels(s) , f = this.textFormat , d = this.scale.scaleHelper.actualMinimum , m = this.scale.scaleHelper.actualMaximum , g = o.barGeometry.center , y = this.scale.barGeometry.radius , v = this.scale.barGeometry.diameter , b = o.getSweepAngle() , S = o.startAngle , w = this.scale.scaleHelper.maxWidth , G = this.scale.scaleHelper.minWidth; w *= v, G *= v; var k = w - G , B = this.placement == i.Outside ? y * (1 + this.offset) : y * (1 - this.offset) , R = this.skipValuesObj , O = this.skipIndicesObj , _ = -1; try { for (var P = __values(s.keys), j = P.next(); !j.done; j = P.next()) { var x = j.value; if (_++, x < d) continue; if (x > m) continue; if (this.checkTickValue(R, O, x, _)) continue; if (null != this.minimumValue && x < this.minimumValue) continue; if (null != this.maximumValue && x > this.maximumValue) continue; var C = r.isNullOrEmpty(f) && this.scale.gauge.shortValue ? p.get(x) : this.getTextForRender(x, f) , W = l.changeFontSize(this.font, e.zoom) , M = e.measureString(C, W) , T = this.scale.isReversed ? S + b - s.get(x) * b + this.offsetAngle : S + s.get(x) * b - this.offsetAngle , E = new c , N = 0; if (this.placement == i.Outside) { var A = { ref: E }; N = this.getMatrixRotation(e, g, M, this.labelRotationMode, B, T, A), E = A.ref } else { var H = void 0; H = this.placement == i.Overlay ? this.scale.isUp ? B - (G + k * s.get(x)) / 2 - M.width / 2 : B - (w - k * s.get(x)) / 2 - M.width / 2 : this.scale.isUp ? B - G - k * s.get(x) - M.width : B - w + k * s.get(x) - M.width; var A = { ref: E }; N = this.getMatrixRotation(e, g, M, this.labelRotationMode, H, T, A), E = A.ref } e.addTextGaugeGeom(C, W, this.textBrush, new u(E.x,E.y,M.width,M.height), null); var V = -1; while (++V < N) e.addPopTranformGaugeGeom() } } catch (e) { t = { error: e } } finally { try { j && !j.done && (n = P.return) && n.call(P) } finally { if (t) throw t.error } } } , o.prototype.getMatrixRotation = function(t, r, i, o, a, s, l) { var u = l.ref , h = 0; if (o == e.Report.Gauge.StiLabelRotationMode.Automatic) switch (this.getRadialPosition(s)) { case n.TopCenter: case n.TopRight: case n.TopLeft: h = 90; break; case n.BottomRight: case n.LeftCenter: case n.BottonLeft: h = -90; break; case n.BottomCenter: h = -s; break; case n.RightCenter: h = -s - 90; break } else if (o == e.Report.Gauge.StiLabelRotationMode.None) h = -s; else if (o == e.Report.Gauge.StiLabelRotationMode.SurroundIn) switch (this.getRadialPosition(s)) { case n.TopCenter: h = -s - 180; break; default: h = -90; break } else h = 90; u = new c(r.x + a,r.y - i.height / 2); var p = 0; return 0 != s && (t.addPushMatrixGaugeGeom(s, r), p++), 0 != h && (t.addPushMatrixGaugeGeom(h, new c(u.x + i.width / 2,u.y + i.height / 2)), p++), l.ref = u, p } , o.prototype.getRadialPosition = function(e) { e += 90; while (e > 360) e -= 360; return 0 == e || 360 == e ? n.TopCenter : e > 0 && e < 90 ? n.TopRight : 90 == e ? n.RightCenter : e > 90 && e < 180 ? n.BottomRight : 180 == e ? n.BottomCenter : e > 180 && e < 270 ? n.BottonLeft : 270 == e ? n.LeftCenter : n.TopLeft } , o }(o); t.StiRadialTickLabelBase = p }(r = t.Primitives || (t.Primitives = {})) }(r = t.Gauge || (t.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = e.Report.Gauge.Events.StiGetTextEventArgs , o = e.Report.Gauge.Events.StiGetTextEvent , a = e.Report.Gauge.StiPlacement , s = e.System.Drawing.Point , l = e.System.Drawing.Rectangle , u = e.Report.Painters.StiGaugeContextPainter , c = e.Report.Engine.StiParser.StiParser , h = e.Report.Events.StiGetValueEventArgs , p = e.Report.Gauge.StiGaugeElemenType , f = e.Report.Events.StiGetValueEvent , d = e.Report.Expressions.StiExpression , m = e.Report.Gauge.Collections.StiCustomValuesCollection , g = e.Report.Components.Gauge.Primitives.StiRadialTickLabelBase , y = function(g) { function y() { var e = null !== g && g.apply(this, arguments) || this; return e._valueObj = 0, e._textObj = null, e._values = new m, e._getValueEvent = new f, e._getTextEvent = new o, e._value = "", e._text = "", e } return __extends(y, g), y.prototype.saveToJsonObject = function(e) { var t = g.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 d(this.value).saveToJsonObject(e)), t.addPropertyJObject("Text", new d(this.text).saveToJsonObject(e)), t.addPropertyJObject("Values", this.values.saveToJsonObject(e)), t } , y.prototype.loadFromJsonObject = function(e) { var t, r; g.prototype.loadFromJsonObject.call(this, e); try { for (var n = __values(e.properties()), i = n.next(); !i.done; i = n.next()) { var a = i.value; switch (a.name) { case "GetValueEvent": var s = new f; s.loadFromJsonObject(a.value), this.getValueEvent = s; break; case "GetTextEvent": var l = new o; l.loadFromJsonObject(a.value), this.getTextEvent = l; break; case "Value": var u = new d; u.loadFromJsonObject(a.value), this.value = u.value; break; case "Text": var c = new d; c.loadFromJsonObject(a.value), this.text = c.value; break; case "Values": this.values.loadFromJsonObject(a.value); break } } } catch (e) { t = { error: e } } finally { try { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , Object.defineProperty(y.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialTickLabelCustom }, enumerable: !0, configurable: !0 }), y.prototype.clone = function() { var e, t, r = g.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 n = __values(this.values.list), i = n.next(); !i.done; i = n.next()) { var o = i.value; r.values.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 } , Object.defineProperty(y.prototype, "valueObj", { get: function() { return this._valueObj }, set: function(e) { this._valueObj = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "textObj", { get: function() { return this._textObj }, set: function(e) { this._textObj = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "values", { get: function() { return this._values }, set: function(e) { this._values = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "elementType", { get: function() { return p.RadialElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "localizeName", { get: function() { return "RadialTickLabelCustom" }, enumerable: !0, configurable: !0 }), y.prototype.onGetValue = function(e) {} , y.prototype.invokeGetValue = function(e, r) { try { if (this.onGetValue(r), e.scale.gauge.report.calculationMode == t.StiCalculationMode.Interpretation) { var i = c.parseTextValue(this.value, e.scale.gauge); r.value = e.scale.gauge.report.toString2(i) } } catch (e) { var o = n.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!", "Indicator", this.scale.gauge.name) } } , Object.defineProperty(y.prototype, "getValueEvent", { get: function() { return this._getValueEvent }, set: function(e) { this._getValueEvent = e }, enumerable: !0, configurable: !0 }), y.prototype.onGetText = function(e) {} , y.prototype.invokeGetText = function(e, t) { try { this.onGetText(t) } catch (e) { var r = n.format("Expression in GetText property of '{0}' series from '{1}' chart can't be evaluated!", "GaugeElement", this.scale.gauge.name) } } , Object.defineProperty(y.prototype, "getTextEvent", { get: function() { return this._getTextEvent }, set: function(e) { this._getTextEvent = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "text", { get: function() { return this._text }, set: function(e) { this._text = e }, enumerable: !0, configurable: !0 }), y.prototype.createNew = function() { return new y } , y.prototype.prepareGaugeElement = function() { g.prototype.prepareGaugeElement.call(this); var t = new h; this.invokeGetValue(this, t), this.valueObj = e.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject2(t.value, 0); var r = new i; this.invokeGetText(this, r), this.textObj = r.value } , y.prototype.drawElement = function(e) { var t, i, o = this.scale; if (null == o) return; var c = this.scale.barGeometry.rectGeometry; if (c.width <= 0 || c.height <= 0) return; var h = o.barGeometry.center , p = this.scale.barGeometry.radius , f = o.getSweepAngle() , d = o.startAngle , g = this.scale.scaleHelper.actualMinimum , y = this.scale.scaleHelper.actualMaximum , v = this.scale.scaleHelper.maxWidth , b = this.scale.scaleHelper.minWidth; v *= 2 * p, b *= 2 * p; var S = v - b , w = this.textFormat , G = v - b , k = this.skipValuesObj , B = this.skipIndicesObj , R = this.values; null != R && 0 != R.count || (R = new m, R.add(new r.StiRadialTickLabelCustomValue(this.valueObj,this.textObj,this.offset,this.offsetAngle,this.labelRotationMode,this.placement))); var O = u.changeFontSize(this.font, e.zoom) , _ = -1; try { for (var P = __values(R.toCast()), j = P.next(); !j.done; j = P.next()) { var x = j.value; if (_++, x.value < g) continue; if (x.value > y) continue; if (this.checkTickValue(k, B, x.value, _)) continue; if (null != this.minimumValue && x.value < this.minimumValue) continue; if (null != this.maximumValue && x.value > this.maximumValue) continue; var C = this.scale.getPosition(x.value) , W = n.isNullOrEmpty(x.text) ? "" : this.getTextForRender2(x.text, w) , M = this.getPlacement(x.placement) == a.Outside ? p * (1 + this.getOffset(x.offset)) : p * (1 - this.getOffset(x.offset)) , T = this.getTextForRender2(W, w) , E = e.measureString(T, O) , N = this.scale.isReversed ? d + f - C * f + this.getOffsetAngle(x.offsetAngle) : d + C * f - this.getOffsetAngle(x.offsetAngle) , A = 0 , H = new s; if (this.getPlacement(x.placement) == a.Outside) { var V = { ref: H }; A = this.getMatrixRotation(e, h, E, this.getLabelRotationMode(x.labelRotationMode), M, N, V), H = V.ref } else if (this.getPlacement(x.placement) == a.Overlay) { var F = void 0; F = this.scale.isUp ? M - (b + S * C) / 2 - E.width / 2 : M - (v - S * C) / 2 - E.width / 2; var V = { ref: H }; A = this.getMatrixRotation(e, h, E, this.getLabelRotationMode(x.labelRotationMode), F, N, V), H = V.ref } else { var F = 0; F = this.scale.isUp ? M - b - S * C - E.width : M - v + S * C - E.width; var V = { ref: H }; A = this.getMatrixRotation(e, h, E, this.getLabelRotationMode(x.labelRotationMode), F, N, V), H = V.ref } e.addTextGaugeGeom(T, O, this.textBrush, new l(H.x,H.y,E.width,E.height), null); for (var I = 0; I < A; I++) e.addPopTranformGaugeGeom() } } catch (e) { t = { error: e } } finally { try { j && !j.done && (i = P.return) && i.call(P) } finally { if (t) throw t.error } } } , y.prototype.getOffsetAngle = function(e) { return null == e ? this.offsetAngle : e } , y.prototype.getLabelRotationMode = function(e) { return null == e ? this.labelRotationMode : e } , y }(g); r.StiRadialTickLabelCustom = y }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = function(e) { function r(t, r, n, i, o, a) { void 0 === t && (t = null), void 0 === r && (r = null), void 0 === n && (n = null), void 0 === i && (i = null), void 0 === o && (o = null), void 0 === a && (a = null); var s = e.call(this) || this; return s._text = null, s._offsetAngle = null, s._labelRotationMode = null, s.value = t, s._text = r, s.offset = n, s._offsetAngle = i, s._labelRotationMode = o, s.placement = a, s } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyString("Text", this.text), r.addPropertyNumber("OffsetAngle", this.offsetAngle, null), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "Text": this.text = a.value.toString(); break; case "OffsetAngle": this.offsetAngle = a.value.stimulsoft.toNumber(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialTickLabelCustomValue }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "text", { get: function() { return this._text }, set: function(e) { this._text = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "offsetAngle", { get: function() { return this._offsetAngle }, set: function(e) { this._offsetAngle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "labelRotationMode", { get: function() { return this._labelRotationMode }, set: function(e) { this._labelRotationMode = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedName", { get: function() { return "RadialTickLabelCustom" }, enumerable: !0, configurable: !0 }), r.prototype.toString = function() { return n.format("Value={0}, Text={1}", this.value, this.text) } , r.prototype.createNew = function() { return new r } , r }(r.StiCustomValueBase); r.StiRadialTickLabelCustomValue = i }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Gauge.StiGaugeElemenType , i = e.Report.Components.Gauge.Primitives.StiRadialTickLabelBase , o = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialTickLabelMajor }, enumerable: !0, configurable: !0 }), r.prototype.applyStyle = function(e) { this.allowApplyStyle && (this.textBrush = e.core.tickLabelMajorTextBrush, this.font = e.core.tickLabelMajorFont) } , Object.defineProperty(r.prototype, "elementType", { get: function() { return n.RadialElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizeName", { get: function() { return "RadialTickLabelMajor" }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r.prototype.getPointCollection = function() { return this.getMajorCollections() } , r }(i); r.StiRadialTickLabelMajor = o }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Gauge.StiGaugeElemenType , i = e.Report.Components.Gauge.Primitives.StiRadialTickLabelBase , o = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t._skipMajorValues = !0, t } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyBool("SkipMajorValues", this.skipMajorValues, !0), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "SkipMajorValues": this.skipMajorValues = a.value.stimulsoft.toBoolean(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiRadialTickLabelMinor }, enumerable: !0, configurable: !0 }), r.prototype.applyStyle = function(e) { this.allowApplyStyle && (this.textBrush = e.core.tickLabelMinorTextBrush, this.font = e.core.tickLabelMinorFont) } , Object.defineProperty(r.prototype, "skipMajorValues", { get: function() { return this._skipMajorValues }, set: function(e) { this._skipMajorValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "isSkipMajorValues", { get: function() { return this._skipMajorValues }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "elementType", { get: function() { return n.RadialElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizeName", { get: function() { return "RadialTickLabelMinor" }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r.prototype.getPointCollection = function() { return this.getMinorCollections() } , r }(i); r.StiRadialTickLabelMinor = o }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(n) { var i = e.System.StiString , o = e.System.Drawing.Orientation , a = e.System.Drawing.FontStyle , s = e.Report.Components.Gauge.StiLinearMarker , l = e.Report.Components.Gauge.StiLinearRangeList , u = e.Report.Components.Gauge.StiLinearRange , c = e.Report.Components.Gauge.StiLinearTickMarkCustom , h = e.Report.Components.Gauge.StiRadialIndicatorRangeInfo , p = e.Report.Components.Gauge.StiLinearIndicatorRangeInfo , f = e.Report.Components.Gauge.StiLinearTickMarkMinor , d = e.Report.Components.Gauge.StiStateIndicator , m = e.Report.Components.Gauge.StiStateIndicatorFilter , g = e.Report.Components.Gauge.StiRadialRangeList , y = e.Report.Components.Gauge.StiRadialRange , v = e.Report.Components.Gauge.StiRadialTickMarkCustom , b = e.Report.Components.Gauge.StiRadialTickLabelCustom , S = e.Report.Components.Gauge.StiRadialTickMarkCustomValue , w = e.Report.Components.Gauge.StiRadialTickLabelCustomValue , G = e.System.Drawing.Rectangle , k = e.System.Globalization.CultureInfo , B = e.Base.Drawing.StiGradientBrush , R = e.System.Drawing.Point , O = e.Report.Components.Gauge.StiLinearBar , _ = e.Report.Components.Gauge.StiLinearTickLabelMajor , P = e.Report.Components.Gauge.StiLinearTickMarkMajor , j = e.Report.Components.Gauge.StiLinearScale , x = e.Report.Components.Gauge.StiRadialMarker , C = e.System.Drawing.Font , W = e.Base.Drawing.StiEmptyBrush , M = e.Report.Components.Gauge.StiRadialBar , T = e.Report.Components.Gauge.StiNeedle , E = e.Report.Components.Gauge.StiRadialTickLabelMajor , N = e.Report.Components.Gauge.StiRadialTickMarkMinor , A = e.Report.Components.Gauge.StiRadialTickMarkMajor , H = e.System.Drawing.Color , V = e.Base.Drawing.StiSolidBrush , F = e.Report.Components.Gauge.StiRadialScale , I = e.System.TimeSpan , L = e.System.Collections.Hashtable , D = function() { function e() {} return e.getFloatValueFromObject = function(e, t) { var r = t.minimum; if (null != e) if (e.stimulsoft.is(String)) { var n = k.currentCulture; k.currentCulture = new k("en-US"), r = e.stimulsoft.toNumber(), isNaN(r) ? r = t.minimum : r < t.minimum ? r = t.minimum : r > t.maximum && (r = t.maximum), k.currentCulture = n } else r = e.stimulsoft.toNumber(); return r } , e.getFloatValueFromObject2 = function(e, t) { var r = t; if (null != e) if (e.stimulsoft.is(String)) { var n = k.currentCulture; k.currentCulture = new k("en-US"), r = e.stimulsoft.toNumber(), isNaN(r) && (r = t), k.currentCulture = n } else r = e.stimulsoft.toNumber(); return r } , e.getFloatArrayValueFromString = function(e) { var t = e; if (i.isNullOrEmpty(t)) return null; var r = t.split(";") , n = [] , o = k.currentCulture; k.currentCulture = new k("en-US"); var a = -1; while (++a < r.length) { var s = r[a].stimulsoft.toNumber(); if (isNaN(s)) { n = null; break } n[a] = s } return k.currentCulture = o, n } , e.initializeGauge = function(e, t, r) { if (e.scales.clear(), null != e.page) { var n = e.page.unit; e.clientRectangle = new G(e.left,e.top,n.convertFromHInches(t),n.convertFromHInches(r)) } } , e.initializeName = function(e, r) { if (i.isNullOrEmpty(e.name)) { var n = t.StiNameCreation.createSimpleName(r, t.StiNameCreation.generateName(e)); e.name = n; var o = -1; while (++o < e.scales.count) { var a = new L , s = e.scales.getByIndex(o) , l = -1; while (++l < s.items.count) { var u = s.items.getByIndex(l) , c = u.stimulsoft.getType() , h = 0; a.containsKey(c) && (h = Math.trunc(a.get(c))), h++, a.set(c, h) } } } } , e.checkGaugeName = function(e) { var t = e.name , r = -1; while (++r < e.scales.count) { var n = new L , i = e.scales.getByIndex(r) , o = -1; while (++o < i.items.count) { var a = i.items.getByIndex(o) , s = a.stimulsoft.getType() , l = 0; n.containsKey(s) && (l = Math.trunc(n.get(s))), l++, n.set(s, l) } } } , e.simpleRadialGauge = function(e, t) { this.initializeGauge(e, 250, 250); var n = new F; n.startAngle = 0, n.sweepAngle = 340, n.startWidth = .05, n.endWidth = .05, n.minimum = 0, n.maximum = 100, n.majorInterval = 10, n.minorInterval = 5, n.brush = new V(H.fromArgb(238, 238, 238)); var i = new A; i.placement = r.StiPlacement.Overlay, i.offsetAngle = -2, i.relativeWidth = .05, i.relativeHeight = .02, i.skin = r.StiTickMarkSkin.Rectangle, i.brush = new V(H.black); var o = new N; o.placement = r.StiPlacement.Overlay, o.relativeWidth = .01, o.relativeHeight = .01, o.skin = r.StiTickMarkSkin.Rectangle; var a = new E , s = new T; s.relativeHeight = .06, s.relativeWidth = .45, s.startWidth = .1, s.endWidth = 1, s.capBrush = new V(H.white), s.capBorderBrush = new V(H.fromArgb(244, 67, 54)), s.capBorderWidth = 2, s.brush = new V(H.fromArgb(244, 67, 54)), s.value = "60", n.items.add(i), n.items.add(o), n.items.add(a), n.items.add(s), e.scales.add(n), this.initializeName(e, t) } , e.radialTwoScalesGauge = function(e, t) { this.initializeGauge(e, 250, 250); var n = new F; n.startAngle = 270, n.sweepAngle = 360, n.startWidth = .05, n.endWidth = .05, n.minimum = 0, n.maximum = 60, n.radius = .5, n.majorInterval = 10, n.minorInterval = 1, n.brush = new V(H.fromArgb(238, 238, 238)); var i = new A; i.placement = r.StiPlacement.Overlay, i.relativeWidth = .05, i.offsetAngle = -2, i.relativeHeight = .03, i.skin = r.StiTickMarkSkin.Rectangle, i.brush = new V(H.black); var o = new E; o.minimumValue = 1, o.font = new C("Arial",7), n.items.add(i), n.items.add(o), e.scales.add(n); var a = new F; a.startAngle = 270, a.sweepAngle = 360, a.startWidth = .05, a.endWidth = .05, a.minimum = 0, a.maximum = 12, a.radius = .75, a.majorInterval = 1, a.minorInterval = 0, a.brush = new V(H.fromArgb(238, 238, 238)); var s = new A; s.minimumValue = 1, s.placement = r.StiPlacement.Overlay, s.offsetAngle = -2, s.relativeHeight = .03, s.relativeWidth = .05, s.skin = r.StiTickMarkSkin.Rectangle, s.brush = new V(H.black), s.borderBrush = new V(H.white), s.borderWidth = 3; var l = new E; l.minimumValue = 1; var u = new T; u.value = "2", u.offsetNeedle = .15, u.startWidth = .05, u.endWidth = .5, u.relativeHeight = .12, u.relativeWidth = .6, u.capBrush = new V(H.fromArgb(244, 67, 54)), u.brush = new V(H.fromArgb(244, 67, 54)); var c = new T; c.value = "10", c.offsetNeedle = .15, c.startWidth = .05, c.endWidth = .5, c.relativeHeight = .08, c.relativeWidth = .4, c.capBrush = new V(H.fromArgb(3, 169, 244)), c.brush = new V(H.fromArgb(3, 169, 244)), a.items.add(s), a.items.add(l), a.items.add(u), a.items.add(c), e.scales.add(a), this.initializeName(e, t) } , e.radialBarGauge = function(e, t) { this.initializeGauge(e, 250, 250); var n = new F; n.startAngle = 120, n.sweepAngle = 300, n.startWidth = .05, n.endWidth = .05, n.minimum = 0, n.maximum = 180, n.majorInterval = 90, n.minorInterval = 10, n.brush = new V(H.fromArgb(238, 238, 238)); var i = new A; i.placement = r.StiPlacement.Inside, i.offsetAngle = -1, i.relativeWidth = .05, i.relativeHeight = .015, i.skin = r.StiTickMarkSkin.Rectangle, i.brush = new V(H.black); var o = new N; o.placement = r.StiPlacement.Inside, o.relativeWidth = .03, o.relativeHeight = .005, o.skin = r.StiTickMarkSkin.Rectangle, o.brush = new V(H.black); var a = new E; a.placement = r.StiPlacement.Inside, a.minimumValue = 1, a.offset = .15; var s = new M; s.startWidth = .1, s.endWidth = .1, s.offset = .1, s.placement = r.StiPlacement.Outside, s.brush = new V(H.fromArgb(0, 150, 136)), s.value = "90"; var l = new T; l.relativeHeight = .3, l.relativeWidth = .4, l.startWidth = .1, l.endWidth = 1, l.capBrush = new W, l.brush = new W, l.textBrush = new V(H.fromArgb(0, 150, 136)), l.font = new C("Arial",36), l.value = "90", n.items.add(i), n.items.add(o), n.items.add(a), n.items.add(s), n.items.add(l), e.scales.add(n), this.initializeName(e, t) } , e.simpleTwoBarGauge = function(e, t) { this.initializeGauge(e, 250, 250); var n = new F; n.minimum = 0, n.maximum = 180, n.majorInterval = 20, n.minorInterval = 10, n.startWidth = .05, n.endWidth = .05, n.startAngle = 120, n.sweepAngle = 300, n.brush = new V(H.fromArgb(238, 238, 238)); var i = new A; i.placement = r.StiPlacement.Overlay, i.offsetAngle = -1, i.relativeWidth = .05, i.relativeHeight = .02, i.skin = r.StiTickMarkSkin.Rectangle, i.brush = new V(H.black), i.borderBrush = new V(H.white), i.borderWidth = 1; var o = new N; o.placement = r.StiPlacement.Overlay, o.relativeWidth = .01, o.relativeHeight = .01, o.skin = r.StiTickMarkSkin.Diamond, o.brush = new V(H.black), o.borderBrush = new V(H.gray), o.borderWidth = 1; var a = new E; a.placement = r.StiPlacement.Inside, a.offset = .15; var s = new M; s.startWidth = .05, s.endWidth = .05, s.offset = 0, s.placement = r.StiPlacement.Outside, s.brush = new V(H.fromArgb(3, 169, 244)), s.value = "80"; var l = new M; l.startWidth = .05, l.endWidth = .05, l.offset = 0, l.placement = r.StiPlacement.Inside, l.brush = new V(H.fromArgb(255, 235, 59)), l.value = "120"; var u = new x; u.value = "100", u.offset = .25, u.relativeHeight = .05, u.relativeWidth = .05, u.skin = r.StiMarkerSkin.TriangleRight, u.brush = new V(H.fromArgb(76, 175, 80)), n.items.add(i), n.items.add(o), n.items.add(a), n.items.add(s), n.items.add(l), n.items.add(u), e.scales.add(n), this.initializeName(e, t) } , e.defaultRadialGauge = function(e, t) { this.initializeGauge(e, 250, 250); var n = new F; n.startAngle = 0, n.sweepAngle = 340, n.startWidth = .05, n.endWidth = .05, n.minimum = 0, n.maximum = 100, n.majorInterval = 10, n.minorInterval = 5; var i = new A; i.placement = r.StiPlacement.Overlay, i.offsetAngle = -2, i.relativeWidth = .06, i.relativeHeight = .03, i.skin = r.StiTickMarkSkin.TriangleRight; var o = new E , a = new T; a.relativeHeight = .14, a.relativeWidth = .5, n.items.add(i), n.items.add(o), n.items.add(a), e.scales.add(n), this.initializeName(e, t) } , e.defaultLinearGauge = function(e, t) { this.initializeGauge(e, 120, 240); var n = new j; n.startWidth = .1, n.endWidth = .1, n.maximum = 100, n.minorInterval = 5, n.borderBrush = new V(H.fromArgb(158, 158, 158)), n.brush = new V(H.fromArgb(238, 238, 238)); var i = new P; i.borderBrush = new W, i.borderWidth = 0, i.relativeHeight = .005, i.relativeWidth = .05, i.brush = new V(H.fromArgb(158, 158, 158)); var o = new _; o.placement = r.StiPlacement.Inside, o.textBrush = new V(H.fromArgb(158, 158, 158)); var a = new O; a.startWidth = .1, a.endWidth = .1, a.brush = new V(H.fromArgb(0, 150, 136)), a.value = "65", n.items.add(i), n.items.add(o), n.items.add(a), e.scales.add(n), this.initializeName(e, t) } , e.linearGaugeRangeList = function(e, t) { this.initializeGauge(e, 120, 240); var n = new j; n.startWidth = .1, n.endWidth = .1, n.maximum = 100, n.minorInterval = 5, n.borderBrush = new V(H.fromArgb(158, 158, 158)), n.brush = new V(H.fromArgb(238, 238, 238)); var i = new l , o = new u; o.startValue = 0, o.endValue = 50, o.brush = new B(H.fromArgb(205, 220, 57),H.fromArgb(139, 195, 74),90), o.startWidth = .07, o.endWidth = .07; var a = new u; a.startValue = 45, a.endValue = 75, a.brush = new B(H.fromArgb(255, 193, 7),H.fromArgb(255, 235, 59),90), a.startWidth = .07, a.endWidth = .07; var c = new u; c.startValue = 75, c.endValue = 100, c.brush = new B(H.fromArgb(255, 152, 0),H.fromArgb(255, 152, 0),90), c.startWidth = .07, c.endWidth = .07, i.ranges.add(o), i.ranges.add(a), i.ranges.add(c); var h = new _; h.placement = r.StiPlacement.Inside, h.textBrush = new V(H.fromArgb(158, 158, 158)); var p = new P; p.borderBrush = new W, p.borderWidth = 0, p.relativeHeight = .005, p.relativeWidth = .05, p.brush = new V(H.fromArgb(158, 158, 158)); var d = new f; d.placement = r.StiPlacement.Overlay, d.relativeWidth = .08, d.relativeHeight = .006, d.borderBrush = new W; var m = new s; m.relativeWidth = .18, m.relativeHeight = .04, m.placement = r.StiPlacement.Overlay, m.brush = new V(H.fromArgb(205, 220, 57)), n.items.add(i), n.items.add(h), n.items.add(p), n.items.add(d), n.items.add(m), e.scales.add(n), this.initializeName(e, t) } , e.bulletGraphsGreen = function(e, t) { this.initializeGauge(e, 300, 100); var n = new j; n.relativeHeight = .94, n.startWidth = .01, n.endWidth = .01, n.maximum = 100, n.majorInterval = 20, n.orientation = o.Horizontal, n.brush = new W, n.borderBrush = new W; var i = new l , a = 0 , s = 0; while (++s < 11) { var h = new u; h.startValue = a, a += 10, h.endValue = a, h.startWidth = .5, h.endWidth = .5, h.placement = r.StiPlacement.Overlay, h.borderBrush = new V(H.fromArgb(150, 139, 138, 135)), h.brush = new V(s >= 1 && s <= 3 ? H.fromArgb(165, 214, 167) : s >= 4 && s <= 7 ? H.fromArgb(76, 175, 80) : H.fromArgb(46, 125, 50)), i.ranges.add(h) } var p = new _; p.offset = .25; var f = new c; f.placement = r.StiPlacement.Overlay, f.relativeWidth = .015, f.relativeHeight = .3, f.brush = new B(H.fromArgb(100, 100, 100),H.fromArgb(10, 10, 10),90), f.valueObj = 80; var d = new O; d.brush = new V(H.black), d.startWidth = .1, d.endWidth = .1, n.items.add(i), n.items.add(p), n.items.add(f), n.items.add(d), e.scales.add(n), this.initializeName(e, t) } , e.halfDonutsGauge = function(e, t) { this.initializeGauge(e, 280, 165); var n = new F; n.startAngle = 180, n.sweepAngle = 180, n.minimum = 0, n.maximum = 150, n.radius = .75, n.center = new R(.5,.8), n.radiusMode = r.StiRadiusMode.Width, n.skin = r.StiRadialScaleSkin.Empty; var i = new M; i.borderBrush = new W, i.borderWidth = 0, i.startWidth = .3, i.endWidth = .3, i.emptyBrush = new B(H.fromArgb(221, 221, 221),H.fromArgb(240, 240, 240),90), i.useRangeColor = !0, i.value = "60"; var o = new h; o.value = 0, o.brush = new V(H.fromArgb(139, 195, 74)); var a = new h; a.value = 50, a.brush = new V(H.fromArgb(255, 235, 59)); var s = new h; s.value = 100, s.brush = new V(H.fromArgb(244, 67, 54)), i.rangeList.add(o), i.rangeList.add(a), i.rangeList.add(s); var l = new T; l.relativeHeight = .05, l.relativeWidth = .4, l.startWidth = .1, l.endWidth = .2, l.capBrush = new V(H.white), l.capBorderBrush = new V(H.fromArgb(0, 150, 136)), l.capBorderWidth = 2, l.brush = new V(H.fromArgb(0, 150, 136)), l.borderWidth = 0, l.textBrush = new V(H.fromArgb(0, 150, 136)), l.value = "60", n.items.add(i), n.items.add(l), e.scales.add(n), this.initializeName(e, t) } , e.halfDonutsGauge2 = function(e, t) { this.initializeGauge(e, 280, 165); var n = new F; n.startAngle = 180, n.sweepAngle = 180, n.minimum = 0, n.maximum = 100, n.radius = .75, n.center = new R(.5,.8), n.radiusMode = r.StiRadiusMode.Width, n.skin = r.StiRadialScaleSkin.Empty; var i = new M; i.borderBrush = new W, i.startWidth = .3, i.endWidth = .3, i.brush = new V(H.fromArgb(79, 134, 194)), i.emptyBrush = new B(H.fromArgb(221, 221, 221),H.fromArgb(240, 240, 240),90), i.emptyBorderBrush = new V(H.fromArgb(79, 134, 194)), i.emptyBorderWidth = 3, n.items.add(i), e.scales.add(n), this.initializeName(e, t) } , e.radialGaugeHalfCircleN = function(e, t) { this.initializeGauge(e, 260, 150); var n = new F; n.radiusMode = r.StiRadiusMode.Width, n.skin = r.StiRadialScaleSkin.RadialScaleHalfCircleN, n.startAngle = 180, n.sweepAngle = 180, n.maximum = 100, n.center = new R(.5,.85), n.radius = .75, n.startWidth = .005, n.endWidth = .005, n.majorInterval = 10, n.minorInterval = 5, n.brush = new V(H.gray); var i = new A; i.placement = r.StiPlacement.Overlay, i.offset = .035, i.relativeWidth = .05, i.relativeHeight = .007, i.brush = new V(H.gray), i.borderBrush = new W; var o = new N; o.placement = r.StiPlacement.Overlay, o.offset = .017, o.relativeWidth = .03, o.relativeHeight = .007, o.brush = new V(H.lightGray), o.borderBrush = new W; var a = new E; a.labelRotationMode = r.StiLabelRotationMode.Automatic, a.textBrush = new V(H.black); var s = new T; s.value = "45", s.capBrush = new V(H.fromArgb(3, 169, 244)), s.brush = new V(H.fromArgb(3, 169, 244)), s.startWidth = .1, s.endWidth = .99, s.relativeWidth = .5, s.relativeHeight = .04, n.items.add(i), n.items.add(o), n.items.add(a), n.items.add(s), e.scales.add(n), this.initializeName(e, t) } , e.radialGaugeHalfCircleS = function(e, t) { this.initializeGauge(e, 260, 150); var n = new F; n.radiusMode = r.StiRadiusMode.Width, n.skin = r.StiRadialScaleSkin.RadialScaleHalfCircleS, n.startAngle = 0, n.sweepAngle = 180, n.maximum = 100, n.center = new R(.5,.15), n.radius = .75, n.startWidth = .005, n.endWidth = .005, n.majorInterval = 10, n.minorInterval = 5, n.brush = new V(H.gray); var i = new A; i.placement = r.StiPlacement.Overlay, i.offset = .035, i.relativeWidth = .05, i.relativeHeight = .007, i.brush = new V(H.gray), i.borderBrush = new W; var o = new N; o.placement = r.StiPlacement.Overlay, o.offset = .017, o.relativeWidth = .03, o.relativeHeight = .007, o.brush = new V(H.lightGray), o.borderBrush = new W; var a = new E; a.labelRotationMode = r.StiLabelRotationMode.Automatic, a.textBrush = new V(H.black); var s = new T; s.value = "45", s.capBrush = new V(H.fromArgb(3, 169, 244)), s.brush = new V(H.fromArgb(3, 169, 244)), s.startWidth = .1, s.endWidth = .99, s.relativeWidth = .5, s.relativeHeight = .04, n.items.add(i), n.items.add(o), n.items.add(a), n.items.add(s), e.scales.add(n), this.initializeName(e, t) } , e.radialGaugeQuarterCircleNW = function(e, t) { this.radialGaugeQuarterCircle(e, t, r.StiRadialScaleSkin.RadialScaleQuarterCircleNW, 180, new R(.9,.9)) } , e.radialGaugeQuarterCircleNE = function(e, t) { this.radialGaugeQuarterCircle(e, t, r.StiRadialScaleSkin.RadialScaleQuarterCircleNE, 270, new R(.1,.9)) } , e.radialGaugeQuarterCircleSW = function(e, t) { this.radialGaugeQuarterCircle(e, t, r.StiRadialScaleSkin.RadialScaleQuarterCircleSW, 90, new R(.9,.1)) } , e.radialGaugeQuarterCircleSE = function(e, t) { this.radialGaugeQuarterCircle(e, t, r.StiRadialScaleSkin.RadialScaleQuarterCircleSE, 0, new R(.1,.1)) } , e.radialGaugeQuarterCircle = function(e, t, n, i, o) { this.initializeGauge(e, 250, 250); var a = new F; a.skin = n, a.startAngle = i, a.sweepAngle = 90, a.maximum = 100, a.center = o, a.radius = 1.5, a.startWidth = .005, a.endWidth = .005, a.majorInterval = 10, a.minorInterval = 5; var s = new A; s.placement = r.StiPlacement.Overlay, s.offset = .045, s.relativeWidth = .03, s.relativeHeight = .004, s.borderBrush = new W, s.brush = new V(H.gray); var l = new N; l.placement = r.StiPlacement.Overlay, l.offset = .04, l.relativeWidth = .02, l.relativeHeight = .004, l.borderBrush = new W, l.brush = new V(H.gray); var u = new E; u.labelRotationMode = r.StiLabelRotationMode.Automatic; var c = new T; c.value = "45", c.capBrush = new V(H.fromArgb(244, 67, 54)), c.brush = new V(H.fromArgb(244, 67, 54)), c.startWidth = .1, c.endWidth = .99, c.relativeWidth = .5, c.relativeHeight = .04, a.items.add(s), a.items.add(l), a.items.add(u), a.items.add(c), e.scales.add(a), this.initializeName(e, t) } , e.horizontalThermometer = function(e, t) { this.initializeGauge(e, 300, 50); var n = new j; n.orientation = o.Horizontal, n.relativeHeight = .85, n.left = .03, n.startWidth = .17, n.endWidth = .17, n.maximum = 80, n.majorInterval = 20, n.minorInterval = 4; var i = new O; i.skin = r.StiLinearBarSkin.HorizontalThermometer, i.placement = r.StiPlacement.Outside, i.startWidth = .2, i.endWidth = .2, i.useRangeColor = !0; var a = new p; a.value = 0, a.brush = new B(H.fromArgb(137, 188, 41),H.fromArgb(111, 163, 14),90); var s = new p; s.value = 40, s.brush = new B(H.fromArgb(217, 173, 45),H.fromArgb(222, 166, 0),90); var l = new p; l.value = 65, l.brush = new B(H.fromArgb(208, 49, 52),H.fromArgb(186, 6, 10),90), i.rangeList.add(a), i.rangeList.add(s), i.rangeList.add(l); var u = new P; u.placement = r.StiPlacement.Overlay, u.brush = new V(H.fromArgb(159, 159, 159)), u.relativeWidth = .01, u.relativeHeight = .18, u.offset = -.1; var c = new f; c.brush = new V(H.fromArgb(159, 159, 159)), c.relativeWidth = .005, c.relativeHeight = .1, c.offset = -.14; var h = new _; h.placement = r.StiPlacement.Inside, h.offset = .11, h.textBrush = new V(H.fromArgb(83, 85, 86)), h.font = new C("Arial",10); var g = new d; g.left = .02, g.top = .07, g.relativeWidth = .083, g.relativeHeight = .5; var y = new m; y.startValue = 0, y.endValue = 40, y.brush = new V(H.fromArgb(112, 156, 28)); var v = new m; v.startValue = 40, v.endValue = 65, v.brush = new V(H.fromArgb(225, 174, 25)); var b = new m; b.startValue = 65, b.endValue = 100, b.brush = new V(H.fromArgb(194, 45, 48)), g.filters.add(y), g.filters.add(v), g.filters.add(b), n.items.add(i), n.items.add(u), n.items.add(c), n.items.add(h), n.items.add(g), e.scales.add(n), this.initializeName(e, t) } , e.verticalThermometer = function(e, t) { this.initializeGauge(e, 50, 300); var n = new j; n.orientation = o.Vertical, n.relativeHeight = .85, n.startWidth = .17, n.endWidth = .17, n.maximum = 80, n.majorInterval = 20, n.minorInterval = 4; var i = new O; i.skin = r.StiLinearBarSkin.VerticalThermometer, i.placement = r.StiPlacement.Outside, i.startWidth = .2, i.endWidth = .2, i.useRangeColor = !0; var a = new p; a.value = 0, a.brush = new B(H.fromArgb(137, 188, 41),H.fromArgb(111, 163, 14),0); var s = new p; s.value = 40, s.brush = new B(H.fromArgb(217, 173, 45),H.fromArgb(222, 166, 0),0); var l = new p; l.value = 65, l.brush = new B(H.fromArgb(208, 49, 52),H.fromArgb(186, 6, 10),0), i.rangeList.add(a), i.rangeList.add(s), i.rangeList.add(l); var u = new P; u.placement = r.StiPlacement.Overlay, u.brush = new V(H.fromArgb(159, 159, 159)), u.relativeWidth = .18, u.relativeHeight = .01, u.offset = -.1; var c = new f; c.brush = new V(H.fromArgb(159, 159, 159)), c.relativeWidth = .1, c.relativeHeight = .005, c.offset = -.14; var h = new _; h.placement = r.StiPlacement.Inside, h.offset = .07, h.textBrush = new V(H.fromArgb(83, 85, 86)), h.font = new C("Arial",10); var g = new d; g.left = .05, g.top = .9, g.relativeWidth = .5, g.relativeHeight = .083; var y = new m; y.startValue = 0, y.endValue = 40, y.brush = new V(H.fromArgb(112, 156, 28)); var v = new m; v.startValue = 40, v.endValue = 65, v.brush = new V(H.fromArgb(225, 174, 25)); var b = new m; b.startValue = 65, b.endValue = 100, b.brush = new V(H.fromArgb(194, 45, 48)), g.filters.add(y), g.filters.add(v), g.filters.add(b), n.items.add(i), n.items.add(u), n.items.add(c), n.items.add(h), n.items.add(g), e.scales.add(n), this.initializeName(e, t) } , e.lightSpeedometer = function(e, t) { this.initializeGauge(e, 350, 350); var n = new F; n.skin = r.StiRadialScaleSkin.Empty, n.radius = .65, n.startAngle = 115, n.sweepAngle = 310, n.startWidth = .03, n.endWidth = .03, n.brush = new V(H.fromArgb(81, 84, 101)), n.majorInterval = 10, n.minorInterval = 2, n.maximum = 100; var i = new g , o = new y; o.startValue = 40, o.endValue = 101.2, o.startWidth = .04, o.endWidth = .04, o.placement = r.StiPlacement.Inside, o.useValuesFromTheSpecifiedRange = !1, o.brush = new B(H.fromArgb(213, 227, 118),H.fromArgb(118, 71, 24),90), o.borderBrush = new V(H.white), i.ranges.add(o); var s = new A; s.skipValues = "100", s.relativeHeight = .03, s.relativeWidth = .055, s.brush = new V(H.fromArgb(81, 84, 101)); var l = new N; l.offset = .04, l.relativeHeight = .01, l.relativeWidth = .03, l.brush = new V(H.fromArgb(81, 84, 101)); var u = new v; u.valueObj = 100, u.offset = -.057, u.relativeWidth = .08, u.relativeHeight = .03, u.brush = new V(H.fromArgb(81, 84, 101)); var c = new E; c.labelRotationMode = r.StiLabelRotationMode.None, c.offset = .14, c.textBrush = new V(H.black), c.font = new C("Arial",13,a.Bold); var h = new T; h.brush = new V(H.fromArgb(250, 250, 250)), h.borderBrush = new V(H.fromArgb(163, 163, 163)), h.borderWidth = 1, h.placement = r.StiPlacement.Outside, h.relativeWidth = .63, h.relativeHeight = .14, h.skin = r.StiNeedleSkin.SpeedometerNeedle, n.items.add(i), n.items.add(s), n.items.add(l), n.items.add(u), n.items.add(c), n.items.add(h), e.scales.add(n), this.initializeName(e, t) } , e.darkSpeedometer = function(e, t) { this.initializeGauge(e, 350, 350); var n = new F; n.skin = r.StiRadialScaleSkin.Empty, n.radius = .65, n.startAngle = 115, n.sweepAngle = 310, n.startWidth = .03, n.endWidth = .03, n.brush = new V(H.fromArgb(81, 84, 101)), n.majorInterval = 10, n.minorInterval = 2, n.maximum = 200; var i = new g , o = new y; o.startValue = 0, o.endValue = 60, o.borderWidth = 1, o.startWidth = .06, o.endWidth = .06, o.placement = r.StiPlacement.Overlay, o.brush = new B(H.fromArgb(101, 134, 101),H.fromArgb(66, 228, 66),90); var a = new y; a.startValue = 60, a.endValue = 100, a.borderWidth = 1, a.startWidth = .06, a.endWidth = .06, a.placement = r.StiPlacement.Overlay, a.brush = new B(H.fromArgb(255, 255, 0),H.fromArgb(143, 174, 126),90); var s = new y; s.startValue = 100, s.endValue = 140, s.borderWidth = 1, s.startWidth = .06, s.endWidth = .06, s.placement = r.StiPlacement.Overlay, s.brush = new B(H.fromArgb(255, 255, 0),H.fromArgb(156, 156, 124),90); var l = new y; l.startValue = 140, l.endValue = 200, l.borderWidth = 1, l.startWidth = .06, l.endWidth = .06, l.placement = r.StiPlacement.Overlay, l.brush = new B(H.fromArgb(125, 86, 80),H.fromArgb(208, 45, 44),90), i.ranges.add(o), i.ranges.add(a), i.ranges.add(s), i.ranges.add(l); var u = new A; u.placement = r.StiPlacement.Overlay, u.offset = .04, u.offsetAngle = -2, u.relativeWidth = .1, u.relativeHeight = .035, u.skin = r.StiTickMarkSkin.TriangleLeft; var c = new N; c.placement = r.StiPlacement.Overlay, c.skipMajorValues = !1, c.relativeWidth = .04, c.relativeHeight = .018, c.skin = r.StiTickMarkSkin.Rectangle, c.skipIndices = "0;4;8;12;16;20;24;28;32;36;40"; var h = new E; h.labelRotationMode = r.StiLabelRotationMode.None, h.offset = .05, h.font = new C("Arial",11); var p = new v; p.placement = r.StiPlacement.Inside, p.offset = .3, p.relativeHeight = .05, p.relativeWidth = .05, p.skin = r.StiTickMarkSkin.Ellipse; var f = new S(20); f.brush = new B(H.fromArgb(68, 223, 68),H.fromArgb(0, 153, 0),90); var d = new S(97); d.brush = new B(H.fromArgb(255, 255, 0),H.fromArgb(186, 169, 2),90); var m = new S(173); m.brush = new B(H.fromArgb(184, 29, 29),H.fromArgb(121, 30, 30),90), p.values.add(f), p.values.add(d), p.values.add(m); var G = new b; G.placement = r.StiPlacement.Inside, G.labelRotationMode = r.StiLabelRotationMode.None, G.font = new C("Arial",10), G.values.add(new w(17,"Safe",.16)), G.values.add(new w(102,"Caution",.25)), G.values.add(new w(181,"Danger",.06)); var k = new T; k.borderBrush = new V(H.fromArgb(153, 9, 8)), k.brush = new B(H.fromArgb(255, 198, 172),H.fromArgb(197, 25, 19),90), k.borderWidth = 1, k.placement = r.StiPlacement.Outside, k.relativeWidth = .57, k.relativeHeight = .17, k.skin = r.StiNeedleSkin.SpeedometerNeedle2, n.items.add(i), n.items.add(u), n.items.add(c), n.items.add(h), n.items.add(p), n.items.add(G), n.items.add(k), e.scales.add(n), this.initializeName(e, t) } , e.globalDurationElement = I.fromMilliseconds(1800), e.globalBeginTimeElement = I.fromMilliseconds(300), e }(); n.StiGaugeHelper = D }(n = r.Helpers || (r.Helpers = {})) }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiScaleBarGeometry = "IStiScaleBarGeometry" }(t = e.Primitives || (e.Primitives = {})) }(t = e.Gauge || (e.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiTickCustom = "IStiTickCustom" }(t = e.Primitives || (e.Primitives = {})) }(t = e.Gauge || (e.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiEmptyBrush , n = function() { function e() { this.markerSkin = t.StiMarkerSkin.TriangleRight, this.markerBorderBrush = new r, this.markerBorderWidth = 0, this.styleId = t.StiGaugeStyleId.StiStyle26 } return e }(); t.StiGaugeStyleCoreXF = n }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Report.Dashboard.Styles.StiDashboardStyleHelper , i = e.System.Drawing.Color , o = e.Base.Localization.StiLocalization , a = e.Base.Drawing.StiSolidBrush , s = e.System.Drawing.ColorTranslator , l = e.Base.Drawing.StiEmptyBrush , u = e.System.Drawing.Font , c = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.brush = new a(s.fromHtml("#ffffff")), t.foreColor = n.getForeColor2(r.Green), t.borderColor = i.transparent, t.borderWidth = 0, t.tickMarkMajorBrush = new a(s.fromHtml("#8c8c8c")), t.tickMarkMajorBorder = new l, t.tickMarkMinorBrush = new a(s.fromHtml("#8c8c8c")), t.tickMarkMinorBorder = new l, t.tickLabelMajorTextBrush = new a(s.fromHtml("#8c8c8c")), t.tickLabelMajorFont = new u("Arial",10), t.tickLabelMinorTextBrush = new a(s.fromHtml("#8c8c8c")), t.tickLabelMinorFont = new u("Arial",9), t.markerBrush = new a(s.fromHtml("#888888")), t.linearScaleBrush = new a(s.fromHtml("#70ad47")), t.linearBarBrush = new a(s.fromHtml("#70ad47")), t.linearBarBorderBrush = new l, t.linearBarEmptyBrush = new l, t.linearBarEmptyBorderBrush = new l, t.linearBarStartWidth = .1, t.linearBarEndWidth = .1, t.radialBarBrush = new a(s.fromHtml("#70ad47")), t.radialBarBorderBrush = new l, t.radialBarEmptyBrush = new a(s.fromHtml("#e6e6e6")), t.radialBarEmptyBorderBrush = new l, t.radialBarStartWidth = .1, t.radialBarEndWidth = .1, t.needleBrush = new a(s.fromHtml("#70ad47")), t.needleBorderBrush = new l, t.needleCapBrush = new a(s.fromHtml("#70ad47")), t.needleCapBorderBrush = new a(s.fromHtml("#70ad47")), t.needleBorderWidth = 0, t.needleCapBorderWidth = 2, t.needleStartWidth = .1, t.needleEndWidth = 1, t.needleRelativeHeight = .06, t.needleRelativeWith = .45, t } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return o.get("Chart", "Style") + "25" }, enumerable: !0, configurable: !0 }), t }(t.StiGaugeStyleCoreXF); t.StiGaugeStyleCoreXF25 = c }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiSolidBrush , n = e.Base.Drawing.StiEmptyBrush , i = e.System.Drawing.ColorTranslator , o = function(e) { function t(t) { var r = e.call(this) || this; return r.reportGaugeStyle = t, r } return __extends(t, e), Object.defineProperty(t.prototype, "_super", { get: function() { return this.__proto__ }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "localizedName", { get: function() { return "CustomStyle" }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "reportGaugeStyle", { get: function() { return this._reportGaugeStyle }, set: function(e) { this._reportGaugeStyle = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "reportStyleName", { get: function() { return null == this.reportGaugeStyle ? null : this.reportGaugeStyle.name }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "brush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.brush : this._super.brush }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "borderColor", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.borderColor : this._super.borderColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "foreColor", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.foreColor : this._super.foreColor }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "borderWidth", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.borderWidth : this._super.borderWidth }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tickMarkMajorBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.tickMarkMajorBrush : this._super.tickMarkMajorBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tickMarkMajorBorder", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.tickMarkMajorBorder : this._super.tickMarkMajorBorder }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tickMarkMajorBorderWidth", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.tickMarkMajorBorderWidth : this._super.tickMarkMajorBorderWidth }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tickMarkMinorBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.tickMarkMinorBrush : this._super.tickMarkMinorBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tickMarkMinorBorder", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.tickMarkMinorBorder : this._super.tickMarkMinorBorder }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tickMarkMinorBorderWidth", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.tickMarkMinorBorderWidth : this._super.tickMarkMinorBorderWidth }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tickLabelMajorTextBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.tickLabelMajorTextBrush : this._super.tickLabelMajorTextBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tickLabelMajorFont", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.tickLabelMajorFont : this._super.tickLabelMajorFont }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tickLabelMinorTextBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.tickLabelMinorTextBrush : this._super.tickLabelMinorTextBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "tickLabelMinorFont", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.tickLabelMinorFont : this._super.tickLabelMinorFont }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "markerBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.markerBrush : this._super.markerBrush }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "linearBarBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.linearBarBrush : new r(i.fromHtml("#4472c4")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "linearBarBorderBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.linearBarBorderBrush : new n }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "linearBarEmptyBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.linearBarEmptyBrush : new n }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "linearBarEmptyBorderBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.linearBarEmptyBorderBrush : new n }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "linearBarStartWidth", { get: function() { return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "linearBarEndWidth", { get: function() { return .1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "radialBarBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.radialBarBrush : new r(i.fromHtml("#ffc000")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "radialBarBorderBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.radialBarBorderBrush : new n }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "radialBarEmptyBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.radialBarEmptyBrush : new r(i.fromHtml("#43682b")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "radialBarEmptyBorderBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.radialBarEmptyBorderBrush : new n }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "radialBarStartWidth", { get: function() { return .1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "radialBarEndWidth", { get: function() { return .1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "needleBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.needleBrush : new r(i.fromHtml("#ffc000")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "needleBorderBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.needleBorderBrush : new n }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "needleCapBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.needleCapBrush : new r(i.fromHtml("#ffc000")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "needleCapBorderBrush", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.needleCapBorderBrush : new r(i.fromHtml("#ffc000")) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "needleBorderWidth", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.needleBorderWidth : this._super.needleBorderWidth }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "needleCapBorderWidth", { get: function() { return null != this.reportGaugeStyle ? this.reportGaugeStyle.needleBorderWidth : this._super.needleBorderWidth }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "needleStartWidth", { get: function() { return .1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "needleEndWidth", { get: function() { return 1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "needleRelativeHeight", { get: function() { return .08 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "needleRelativeWith", { get: function() { return .55 }, enumerable: !0, configurable: !0 }), t }(t.StiGaugeStyleCoreXF25); t.StiCustomGaugeStyleCoreXF = o }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Report.Dashboard.Styles.StiDashboardStyleHelper , i = e.System.Drawing.Color , o = e.Base.Localization.StiLocalization , a = e.Base.Drawing.StiSolidBrush , s = e.System.Drawing.ColorTranslator , l = e.Base.Drawing.StiEmptyBrush , u = e.System.Drawing.Font , c = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.brush = new a(s.fromHtml("#ffffff")), t.foreColor = n.getForeColor2(r.Orange), t.borderColor = i.transparent, t.borderWidth = 0, t.tickMarkMajorBrush = new a(s.fromHtml("#8c8c8c")), t.tickMarkMajorBorder = new l, t.tickMarkMinorBrush = new a(s.fromHtml("#8c8c8c")), t.tickMarkMinorBorder = new l, t.tickLabelMajorTextBrush = new a(s.fromHtml("#8c8c8c")), t.tickLabelMajorFont = new u("Arial",10), t.tickLabelMinorTextBrush = new a(s.fromHtml("#8c8c8c")), t.tickLabelMinorFont = new u("Arial",9), t.markerBrush = new a(s.fromHtml("#888888")), t.linearScaleBrush = new a(s.fromHtml("#ed7d31")), t.linearBarBrush = new a(s.fromHtml("#ed7d31")), t.linearBarBorderBrush = new l, t.linearBarEmptyBrush = new l, t.linearBarEmptyBorderBrush = new l, t.linearBarStartWidth = .1, t.linearBarEndWidth = .1, t.radialBarBrush = new a(s.fromHtml("#ed7d31")), t.radialBarBorderBrush = new l, t.radialBarEmptyBrush = new a(s.fromHtml("#e6e6e6")), t.radialBarEmptyBorderBrush = new l, t.radialBarStartWidth = .1, t.radialBarEndWidth = .1, t.needleBrush = new a(s.fromHtml("#ed7d31")), t.needleBorderBrush = new l, t.needleCapBrush = new a(s.fromHtml("#ed7d31")), t.needleCapBorderBrush = new a(s.fromHtml("#ed7d31")), t.needleBorderWidth = 0, t.needleCapBorderWidth = 2, t.needleStartWidth = .1, t.needleEndWidth = 1, t.needleRelativeHeight = .06, t.needleRelativeWith = .45, t } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return o.get("Chart", "Style") + "24" }, enumerable: !0, configurable: !0 }), t }(t.StiGaugeStyleCoreXF); t.StiGaugeStyleCoreXF24 = c }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Report.Dashboard.Styles.StiDashboardStyleHelper , i = e.System.Drawing.Color , o = e.Base.Localization.StiLocalization , a = e.Base.Drawing.StiSolidBrush , s = e.System.Drawing.ColorTranslator , l = e.Base.Drawing.StiEmptyBrush , u = e.System.Drawing.Font , c = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.brush = new a(s.fromHtml("#ffffff")), t.foreColor = n.getForeColor2(r.Turquoise), t.borderColor = i.transparent, t.borderWidth = 0, t.tickMarkMajorBrush = new a(s.fromHtml("#8c8c8c")), t.tickMarkMajorBorder = new l, t.tickMarkMinorBrush = new a(s.fromHtml("#8c8c8c")), t.tickMarkMinorBorder = new l, t.tickLabelMajorTextBrush = new a(s.fromHtml("#8c8c8c")), t.tickLabelMajorFont = new u("Arial",10), t.tickLabelMinorTextBrush = new a(s.fromHtml("#8c8c8c")), t.tickLabelMinorFont = new u("Arial",9), t.markerBrush = new a(s.fromHtml("#888888")), t.linearScaleBrush = new a(s.fromHtml("#2ec6c8")), t.linearBarBrush = new a(s.fromHtml("#2ec6c8")), t.linearBarBorderBrush = new l, t.linearBarEmptyBrush = new l, t.linearBarEmptyBorderBrush = new l, t.linearBarStartWidth = .1, t.linearBarEndWidth = .1, t.radialBarBrush = new a(s.fromHtml("#2ec6c8")), t.radialBarBorderBrush = new l, t.radialBarEmptyBrush = new a(s.fromHtml("#e6e6e6")), t.radialBarEmptyBorderBrush = new l, t.radialBarStartWidth = .1, t.radialBarEndWidth = .1, t.needleBrush = new a(s.fromHtml("#2ec6c8")), t.needleBorderBrush = new l, t.needleCapBrush = new a(s.fromHtml("#2ec6c8")), t.needleCapBorderBrush = new a(s.fromHtml("#2ec6c8")), t.needleBorderWidth = 0, t.needleCapBorderWidth = 2, t.needleStartWidth = .1, t.needleEndWidth = 1, t.needleRelativeHeight = .06, t.needleRelativeWith = .45, t } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return o.get("Chart", "Style") + "26" }, enumerable: !0, configurable: !0 }), t }(t.StiGaugeStyleCoreXF); t.StiGaugeStyleCoreXF26 = c }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.Styles.StiDashboardStyleHelper , n = e.Report.Dashboard.StiElementStyleIdent , i = e.System.Drawing.Color , o = e.Base.Localization.StiLocalization , a = e.Base.Drawing.StiSolidBrush , s = e.System.Drawing.ColorTranslator , l = e.Base.Drawing.StiEmptyBrush , u = e.System.Drawing.Font , c = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.brush = new a(s.fromHtml("#FF33475B")), t.foreColor = r.getForeColor2(n.SlateGray), t.borderColor = i.transparent, t.borderWidth = 0, t.tickMarkMajorBrush = new l, t.tickMarkMajorBorder = new l, t.tickMarkMinorBrush = new l, t.tickMarkMinorBorder = new l, t.tickLabelMajorTextBrush = new a(s.fromHtml("#ffffff")), t.tickLabelMajorFont = new u("Arial",10), t.tickLabelMinorTextBrush = new a(s.fromHtml("#ffffff")), t.tickLabelMinorFont = new u("Arial",9), t.markerBrush = new a(s.fromHtml("#ec334d")), t.linearScaleBrush = new a(s.fromHtml("#0bac45")), t.linearBarBrush = new a(s.fromHtml("#0bac45")), t.linearBarBorderBrush = new l, t.linearBarEmptyBrush = new l, t.linearBarEmptyBorderBrush = new l, t.linearBarStartWidth = .1, t.linearBarEndWidth = .1, t.radialBarBrush = new a(s.fromHtml("#0bac45")), t.radialBarBorderBrush = new l, t.radialBarEmptyBrush = new a(s.fromHtml("#3b4d5f")), t.radialBarEmptyBorderBrush = new l, t.radialBarStartWidth = .1, t.radialBarEndWidth = .1, t.needleBrush = new a(s.fromHtml("#ec334d")), t.needleBorderBrush = new l, t.needleCapBrush = new a(s.fromHtml("#ffffff")), t.needleCapBorderBrush = new a(s.fromHtml("#ec334d")), t.needleBorderWidth = 0, t.needleCapBorderWidth = 2, t.needleStartWidth = .1, t.needleEndWidth = 1, t.needleRelativeHeight = .06, t.needleRelativeWith = .45, t } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return o.get("Chart", "Style") + "27" }, enumerable: !0, configurable: !0 }), t }(t.StiGaugeStyleCoreXF); t.StiGaugeStyleCoreXF27 = c }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Report.Dashboard.Styles.StiDashboardStyleHelper , i = e.System.Drawing.Color , o = e.Base.Localization.StiLocalization , a = e.Base.Drawing.StiSolidBrush , s = e.System.Drawing.ColorTranslator , l = e.Base.Drawing.StiEmptyBrush , u = e.System.Drawing.Font , c = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.brush = new a(s.fromHtml("#0a325a")), t.foreColor = n.getForeColor2(r.DarkBlue), t.borderColor = i.transparent, t.borderWidth = 0, t.tickMarkMajorBrush = new l, t.tickMarkMajorBorder = new l, t.tickMarkMinorBrush = new l, t.tickMarkMinorBorder = new l, t.tickLabelMajorTextBrush = new a(s.fromHtml("#ffffff")), t.tickLabelMajorFont = new u("Arial",10), t.tickLabelMinorTextBrush = new a(s.fromHtml("#ffffff")), t.tickLabelMinorFont = new u("Arial",9), t.markerBrush = new a(s.fromHtml("#dddddd")), t.linearScaleBrush = new a(s.fromHtml("#165d9e")), t.linearBarBrush = new a(s.fromHtml("#1f4265")), t.linearBarBorderBrush = new l, t.linearBarEmptyBrush = new l, t.linearBarEmptyBorderBrush = new l, t.linearBarStartWidth = .1, t.linearBarEndWidth = .1, t.radialBarBrush = new a(s.fromHtml("#165d9e")), t.radialBarBorderBrush = new l, t.radialBarEmptyBrush = new a(s.fromHtml("#1f4265")), t.radialBarEmptyBorderBrush = new l, t.radialBarStartWidth = .1, t.radialBarEndWidth = .1, t.needleBrush = new a(s.fromHtml("#dddddd")), t.needleBorderBrush = new l, t.needleCapBrush = new a(s.fromHtml("#dddddd")), t.needleCapBorderBrush = new a(s.fromHtml("#dddddd")), t.needleBorderWidth = 0, t.needleCapBorderWidth = 0, t.needleStartWidth = .1, t.needleEndWidth = 1, t.needleRelativeHeight = .06, t.needleRelativeWith = .45, t } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return o.get("Chart", "Style") + "28" }, enumerable: !0, configurable: !0 }), t }(t.StiGaugeStyleCoreXF); t.StiGaugeStyleCoreXF28 = c }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Report.Dashboard.Styles.StiDashboardStyleHelper , i = e.System.Drawing.Font , o = e.Base.Drawing.StiEmptyBrush , a = e.System.Drawing.Color , s = e.System.Drawing.ColorTranslator , l = e.Base.Drawing.StiSolidBrush , u = e.Base.Localization.StiLocalization , c = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.brush = new l(s.fromHtml("#ffffff")), t.foreColor = n.getForeColor2(r.Blue), t.borderColor = a.transparent, t.borderWidth = 0, t.tickMarkMajorBrush = new l(s.fromHtml("#8c8c8c")), t.tickMarkMajorBorder = new o, t.tickMarkMinorBrush = new l(s.fromHtml("#8c8c8c")), t.tickMarkMinorBorder = new o, t.tickLabelMajorTextBrush = new l(s.fromHtml("#8c8c8c")), t.tickLabelMajorFont = new i("Arial",10), t.tickLabelMinorTextBrush = new l(s.fromHtml("#8c8c8c")), t.tickLabelMinorFont = new i("Arial",9), t.markerBrush = new l(s.fromHtml("#888")), t.linearMarkerBorder = new l(s.fromHtml("#888")), t.linearScaleBrush = new l(s.fromHtml("#3498db")), t.linearBarBrush = new l(s.fromHtml("#3498db")), t.linearBarBorderBrush = new o, t.linearBarEmptyBrush = new o, t.linearBarEmptyBorderBrush = new o, t.linearBarStartWidth = .1, t.linearBarEndWidth = .1, t.radialBarBrush = new l(s.fromHtml("#3498db")), t.radialBarBorderBrush = new o, t.radialBarEmptyBrush = new l(s.fromHtml("#e7ebec")), t.radialBarEmptyBorderBrush = new o, t.radialBarStartWidth = .1, t.radialBarEndWidth = .1, t.needleBrush = new l(s.fromHtml("#3498db")), t.needleBorderBrush = new o, t.needleCapBrush = new l(s.fromHtml("#3498db")), t.needleCapBorderBrush = new l(s.fromHtml("#3498db")), t.needleBorderWidth = 0, t.needleCapBorderWidth = 2, t.needleStartWidth = .1, t.needleEndWidth = 1, t.needleRelativeHeight = .06, t.needleRelativeWith = .45, t } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return u.get("Chart", "Style") + "29" }, enumerable: !0, configurable: !0 }), t }(t.StiGaugeStyleCoreXF); t.StiGaugeStyleCoreXF29 = c }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.System.Drawing.Font , n = e.Base.Drawing.StiEmptyBrush , i = e.System.Drawing.Color , o = e.Report.Gauge.StiGaugeStyleCoreXF , a = e.System.Drawing.ColorTranslator , s = e.Base.Drawing.StiSolidBrush , l = e.Base.Localization.StiLocalization , u = e.Report.Dashboard.StiElementStyleIdent , c = e.Report.Dashboard.Styles.StiDashboardStyleHelper , h = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.brush = new s(a.fromHtml("#595b65")), t.foreColor = c.getForeColor2(u.DarkGray), t.borderColor = i.transparent, t.borderWidth = 0, t.tickMarkMajorBrush = new n, t.tickMarkMajorBorder = new n, t.tickMarkMinorBrush = new n, t.tickMarkMinorBorder = new n, t.tickLabelMajorTextBrush = new s(a.fromHtml("#ffffff")), t.tickLabelMajorFont = new r("Arial",10), t.tickLabelMinorTextBrush = new s(a.fromHtml("#ffffff")), t.tickLabelMinorFont = new r("Arial",9), t.markerBrush = new s(a.fromHtml("#d3d3d5")), t.linearMarkerBorder = new s(a.fromHtml("#d3d3d5")), t.linearScaleBrush = new s(a.fromHtml("#db7b46")), t.linearBarBrush = new s(a.fromHtml("#db7b46")), t.linearBarBorderBrush = new n, t.linearBarEmptyBrush = new n, t.linearBarEmptyBorderBrush = new n, t.linearBarStartWidth = .1, t.linearBarEndWidth = .1, t.radialBarBrush = new s(a.fromHtml("#db7b46")), t.radialBarBorderBrush = new n, t.radialBarEmptyBrush = new s(a.fromHtml("#6b6e75")), t.radialBarEmptyBorderBrush = new n, t.radialBarStartWidth = .1, t.radialBarEndWidth = .1, t.needleBrush = new s(a.fromHtml("#d3d3d5")), t.needleBorderBrush = new n, t.needleCapBrush = new s(a.fromHtml("#ffffff")), t.needleCapBorderBrush = new s(a.fromHtml("#d3d3d5")), t.needleBorderWidth = 0, t.needleCapBorderWidth = 2, t.needleStartWidth = .1, t.needleEndWidth = 1, t.needleRelativeHeight = .06, t.needleRelativeWith = .45, t } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return l.get("Chart", "Style") + "30" }, enumerable: !0, configurable: !0 }), t }(o); t.StiGaugeStyleCoreXF30 = h }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiColor , n = e.Report.Gauge.StiGaugeStyleCoreXF30 , i = e.Base.Drawing.StiSolidBrush , o = e.Base.Localization.StiLocalization , a = e.Report.Dashboard.StiElementStyleIdent , s = e.Report.Dashboard.Styles.StiDashboardStyleHelper , l = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.brush = new i(r.get("#235e6d")), t.foreColor = s.getForeColor2(a.DarkTurquoise), t.markerBrush = new i(r.get("#f2ffff")), t.linearMarkerBorder = new i(r.get("#f2ffff")), t.linearScaleBrush = new i(r.get("#f0621e")), t.linearBarBrush = new i(r.get("#f0621e")), t.radialBarBrush = new i(r.get("#f0621e")), t.radialBarEmptyBrush = new i(r.get("#1c445b")), t } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return o.get("Chart", "Style") + "31" }, enumerable: !0, configurable: !0 }), t }(n); t.StiGaugeStyleCoreXF31 = l }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiColor , n = e.Report.Gauge.StiGaugeStyleCoreXF30 , i = e.Base.Drawing.StiSolidBrush , o = e.Base.Localization.StiLocalization , a = e.Report.Dashboard.StiElementStyleIdent , s = e.Report.Dashboard.Styles.StiDashboardStyleHelper , l = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.brush = new i(r.get("#6d7e8b")), t.foreColor = s.getForeColor2(a.Silver), t.markerBrush = new i(r.get("#d41c2a")), t.linearMarkerBorder = new i(r.get("#d41c2a")), t.needleBrush = new i(r.get("d41c2a")), t.needleBorderBrush = new i(r.get("d41c2a")), t.needleCapBrush = new i(r.get("d41c2a")), t.needleCapBorderBrush = new i(r.get("d3d3d5")), t.needleCapBorderWidth = 0, t.linearScaleBrush = new i(r.get("#e9f4fc")), t.linearBarBrush = new i(r.get("#3a5263")), t.radialBarBrush = new i(r.get("#e9f4fc")), t.radialBarEmptyBrush = new i(r.get("#3a5263")), t } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return o.get("Chart", "Style") + "32" }, enumerable: !0, configurable: !0 }), t }(n); t.StiGaugeStyleCoreXF32 = l }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Drawing.StiColor , n = e.Report.Gauge.StiGaugeStyleCoreXF30 , i = e.Base.Drawing.StiSolidBrush , o = e.Base.Localization.StiLocalization , a = e.Report.Dashboard.StiElementStyleIdent , s = e.Report.Dashboard.Styles.StiDashboardStyleHelper , l = e.System.Drawing.Font , u = e.System.Drawing.Color , c = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.brush = new i(r.get("#f2f5fc")), t.foreColor = s.getForeColor2(a.AliceBlue), t.tickLabelMajorTextBrush = new i(r.get("#3a3a3a")), t.tickLabelMajorFont = new l("Arial",8), t.tickLabelMinorTextBrush = new i(r.get("#3a3a3a")), t.tickLabelMinorFont = new l("Arial",7), t.markerBrush = new i(r.get("#d41c2a")), t.linearMarkerBorder = new i(u.transparent), t.needleBrush = new i(r.get("d41c2a")), t.needleBorderBrush = new i(r.get("d41c2a")), t.needleCapBrush = new i(r.get("d41c2a")), t.needleCapBorderBrush = new i(r.get("d3d3d5")), t.needleCapBorderWidth = 0, t.linearScaleBrush = new i(r.get("#ccd5f0")), t.linearBarBrush = new i(r.get("#5d6b99")), t.radialBarBrush = new i(r.get("#ccd5f0")), t.radialBarEmptyBrush = new i(r.get("#5d6b99")), t } return __extends(t, e), Object.defineProperty(t.prototype, "localizedName", { get: function() { return o.get("Chart", "Style") + "33" }, enumerable: !0, configurable: !0 }), t }(n); t.StiGaugeStyleCoreXF33 = c }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n = e.System.StiString , i = e.Base.JsonReportObject.IStiJsonReportObject , o = e.Base.StiJson , a = e.Report.Styles.StiBaseStyle , s = function(e) { function a() { var t = null !== e && e.apply(this, arguments) || this; return t.allowDashboard = !1, t } return __extends(a, e), a.prototype.implements = function() { return a.implementsStiGaugeStyleXF || (a.implementsStiGaugeStyleXF = e.prototype.implements.call(this).concat([r.IStiGaugeStyle, i])), a.implementsStiGaugeStyleXF } , Object.defineProperty(a.prototype, "componentId", { get: function() { return t.StiComponentId.StiGaugeStyle }, enumerable: !0, configurable: !0 }), a.prototype.saveToJsonObject = function(e) { var t = new o; return t.addPropertyStringNullOrEmpty("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), t } , a.prototype.loadFromJsonObject = function(e) {} , a.createFromJsonObject = function(e) { var t = e.properties().firstOrDefault(function(e) { return "Ident" == e.name }).value.toString(); if ("StiGaugeStyleXF" == t) return new r.StiCustomGaugeStyle; var i = StiOptions.Services.gaugeStyles.firstOrDefault(function(e) { return e.stimulsoft.getType().stimulsoft.getTypeName() == t }); if (null == i) throw n.format("Type {0} is not found!", t); return i.createNew() } , a.createFromXml = function(e) { return null } , Object.defineProperty(a.prototype, "serviceName", { get: function() { return this.core.localizedName }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "serviceCategory", { get: function() { return "Gauge" }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "serviceType", { get: function() { return a }, enumerable: !0, configurable: !0 }), Object.defineProperty(a.prototype, "core", { get: function() { return this._core }, set: function(e) { this._core = e }, enumerable: !0, configurable: !0 }), a.prototype.toString = function() { if (this.stimulsoft.is(r.StiCustomGaugeStyle) && null != this.core.reportGaugeStyle) return this.core.reportGaugeStyle.name; return this.serviceName } , a.prototype.compareGaugeStyle = function(e) { if (null == e) return !1; var t = this.stimulsoft.as(r.StiCustomGaugeStyle) , n = e.stimulsoft.as(r.StiCustomGaugeStyle); if (null != t && null != n) { var i = t.core.reportStyleName; null != t.core.reportGaugeStyle && (i = t.core.reportGaugeStyle.name); var o = n.core.reportStyleName; return null != n.core.reportGaugeStyle && (o = n.core.reportGaugeStyle.name), i == o } return this.stimulsoft.getType() == e.stimulsoft.getType() } , a.prototype.drawStyle = function(e, t, r, n) {} , a.prototype.drawBox = function(e, t, r, n) {} , a.prototype.getStyleFromComponent = function(e, t) {} , a.prototype.setStyleToComponent = function(e) {} , a.prototype.createNew = function() { return null } , a }(a); r.StiGaugeStyleXF = s }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , n = e.Report.Dashboard.StiElementStyleIdent , i = function(e) { function i() { var i = e.call(this) || this; return i.allowDashboard = !0, i.dashboardName = r.get("PropertyColor", "SlateGray"), i.styleIdent = n.SlateGray, i.core = new t.StiGaugeStyleCoreXF27, i } return __extends(i, e), i.prototype.createNew = function() { return new i } , i }(t.StiGaugeStyleXF); t.StiGaugeStyleXF27 = i }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Gauge.StiCustomGaugeStyleCoreXF , n = function(e) { function t(t) { void 0 === t && (t = null); var n = e.call(this) || this; return n.core = new r(t), n } return __extends(t, e), Object.defineProperty(t.prototype, "serviceName", { get: function() { return "CustomStyle" }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "customCore", { get: function() { return this.core }, enumerable: !0, configurable: !0 }), t }(t.StiGaugeStyleXF27); t.StiCustomGaugeStyle = n }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Base.Localization.StiLocalization , i = function(e) { function i() { var i = e.call(this) || this; return i.allowDashboard = !0, i.dashboardName = n.get("PropertyColor", "Orange"), i.styleIdent = r.Orange, i.core = new t.StiGaugeStyleCoreXF24, i } return __extends(i, e), i.prototype.createNew = function() { return new i } , i }(t.StiGaugeStyleXF); t.StiGaugeStyleXF24 = i }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Base.Localization.StiLocalization , i = function(e) { function i() { var i = e.call(this) || this; return i.allowDashboard = !0, i.dashboardName = n.get("PropertyColor", "Green"), i.styleIdent = r.Green, i.core = new t.StiGaugeStyleCoreXF25, i } return __extends(i, e), i.prototype.createNew = function() { return new i } , i }(t.StiGaugeStyleXF); t.StiGaugeStyleXF25 = i }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , n = e.Report.Dashboard.StiElementStyleIdent , i = function(e) { function i() { var i = e.call(this) || this; return i.allowDashboard = !0, i.dashboardName = r.get("PropertyColor", "Turquoise"), i.styleIdent = n.Turquoise, i.core = new t.StiGaugeStyleCoreXF26, i } return __extends(i, e), i.prototype.createNew = function() { return new i } , i }(t.StiGaugeStyleXF); t.StiGaugeStyleXF26 = i }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , n = e.Report.Dashboard.StiElementStyleIdent , i = function(e) { function i() { var i = e.call(this) || this; return i.allowDashboard = !0, i.dashboardName = r.get("PropertyColor", "DarkBlue"), i.styleIdent = n.DarkBlue, i.core = new t.StiGaugeStyleCoreXF28, i } return __extends(i, e), i.prototype.createNew = function() { return new i } , i }(t.StiGaugeStyleXF); t.StiGaugeStyleXF28 = i }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Base.Localization.StiLocalization , n = e.Report.Dashboard.StiElementStyleIdent , i = function(e) { function i() { var i = e.call(this) || this; return i.allowDashboard = !0, i.dashboardName = r.get("PropertyColor", "Blue"), i.styleIdent = n.Blue, i.core = new t.StiGaugeStyleCoreXF29, i } return __extends(i, e), i.prototype.createNew = function() { return new i } , i }(t.StiGaugeStyleXF); t.StiGaugeStyleXF29 = i }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Base.Localization.StiLocalization , i = function(e) { function i() { var i = e.call(this) || this; return i.allowDashboard = !0, i.dashboardName = n.get("PropertyColor", "DarkGray"), i.styleIdent = r.DarkGray, i.core = new t.StiGaugeStyleCoreXF30, i } return __extends(i, e), i.prototype.createNew = function() { return new i } , i }(t.StiGaugeStyleXF); t.StiGaugeStyleXF30 = i }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Base.Localization.StiLocalization , i = function(e) { function i() { var i = e.call(this) || this; return i.allowDashboard = !0, i.dashboardName = n.get("PropertyColor", "DarkTurquoise"), i.styleIdent = r.DarkTurquoise, i.core = new t.StiGaugeStyleCoreXF31, i } return __extends(i, e), i.prototype.createNew = function() { return new i } , i }(t.StiGaugeStyleXF); t.StiGaugeStyleXF31 = i }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Base.Localization.StiLocalization , i = function(e) { function i() { var i = e.call(this) || this; return i.allowDashboard = !0, i.dashboardName = n.get("PropertyColor", "Silver"), i.styleIdent = r.Silver, i.core = new t.StiGaugeStyleCoreXF32, i } return __extends(i, e), i.prototype.createNew = function() { return new i } , i }(t.StiGaugeStyleXF); t.StiGaugeStyleXF32 = i }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(t) { var r = e.Report.Dashboard.StiElementStyleIdent , n = e.Base.Localization.StiLocalization , i = function(e) { function i() { var i = e.call(this) || this; return i.allowDashboard = !0, i.dashboardName = n.get("PropertyColor", "AliceBlue"), i.styleIdent = r.AliceBlue, i.core = new t.StiGaugeStyleCoreXF33, i } return __extends(i, e), i.prototype.createNew = function() { return new i } , i }(t.StiGaugeStyleXF); t.StiGaugeStyleXF33 = i }(r = t.Gauge || (t.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(e) { var t; !function(e) { e.IStiApplyStyleGauge = "IStiApplyStyleGauge" }(t = e.Gauge || (e.Gauge = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = e.Report.Gauge.Events.StiGetTextEventArgs , o = e.Report.Gauge.Events.StiGetTextEvent , a = e.System.Drawing.Orientation , s = e.Report.Gauge.Helpers.StiGaugeHelper , l = e.Report.Painters.StiGaugeContextPainter , u = e.Report.Gauge.Helpers.StiRectangleHelper , c = e.Report.Gauge.StiPlacement , h = e.System.Drawing.Rectangle , p = e.Report.Engine.StiParser.StiParser , f = e.Report.Events.StiGetValueEventArgs , d = e.Report.Gauge.Collections.StiCustomValuesCollection , m = e.Report.Events.StiGetValueEvent , g = e.Report.Components.Gauge.Primitives.StiLinearTickLabelBase , y = e.Report.Expressions.StiExpression , v = function(e) { function g() { var t = null !== e && e.apply(this, arguments) || this; return t._valueObj = 0, t._textObj = null, t._values = new d, t._getValueEvent = new m, t._getTextEvent = new o, t._value = "", t._text = "", t } return __extends(g, e), g.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyJObject("GetValueEvent", this.getValueEvent.saveToJsonObject(t)), r.addPropertyJObject("GetTextEvent", this.getTextEvent.saveToJsonObject(t)), r.addPropertyJObject("Value", new y(this.value).saveToJsonObject(t)), r.addPropertyJObject("Text", new y(this.text).saveToJsonObject(t)), r.addPropertyJObject("Values", this.values.saveToJsonObject(t)), r } , g.prototype.loadFromJsonObject = function(t) { var r, n; e.prototype.loadFromJsonObject.call(this, t); try { for (var i = __values(t.properties()), a = i.next(); !a.done; a = i.next()) { var s = a.value; switch (s.name) { case "GetValueEvent": var l = new m; l.loadFromJsonObject(s.value), this.getValueEvent = l; break; case "GetTextEvent": var u = new o; u.loadFromJsonObject(s.value), this.getTextEvent = u; break; case "Value": var c = new y; c.loadFromJsonObject(s.value), this.value = c.value; break; case "Text": var h = new y; h.loadFromJsonObject(s.value), this.text = h.value; break; case "Values": this.values.loadFromJsonObject(s.value); break } } } catch (e) { r = { error: e } } finally { try { a && !a.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(g.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearTickLabelCustom }, enumerable: !0, configurable: !0 }), g.prototype.clone = function() { var t, r, n = e.prototype.clone.call(this); null != this.value ? n.value = this.value : n.value = null, null != this.text ? n.text = this.text : n.text = null, n.values = new d; try { for (var i = __values(this.values.list), o = i.next(); !o.done; o = i.next()) { var a = o.value; n.values.add(a.clone()) } } catch (e) { t = { error: e } } finally { try { o && !o.done && (r = i.return) && r.call(i) } finally { if (t) throw t.error } } return n } , Object.defineProperty(g.prototype, "valueObj", { get: function() { return this._valueObj }, set: function(e) { this._valueObj = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "textObj", { get: function() { return this._textObj }, set: function(e) { this._textObj = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "values", { get: function() { return this._values }, set: function(e) { this._values = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "localizeName", { get: function() { return "LinearTickLabelCustom" }, enumerable: !0, configurable: !0 }), g.prototype.onGetValue = function(e) {} , g.prototype.invokeGetValue = function(e, r) { try { if (this.onGetValue(r), e.scale.gauge.report.calculationMode == t.StiCalculationMode.Interpretation) { var i = p.parseTextValue(this.value, e.scale.gauge); r.value = e.scale.gauge.report.toString2(i) } } catch (e) { var o = n.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!", "Indicator", this.scale.gauge.name) } } , Object.defineProperty(g.prototype, "getValueEvent", { get: function() { return this._getValueEvent }, set: function(e) { this.getValueEvent = e }, enumerable: !0, configurable: !0 }), g.prototype.onGetText = function(e) {} , g.prototype.invokeGetText = function(e, t) { try { this.onGetText(t) } catch (e) { var r = n.format("Expression in GetText property of '{0}' series from '{1}' chart can't be evaluated!", "GaugeElement", this.scale.gauge.name) } } , Object.defineProperty(g.prototype, "getTextEvent", { get: function() { return this._getTextEvent }, set: function(e) { this._getTextEvent = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "value", { get: function() { return this._value }, set: function(e) { this._value = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(g.prototype, "text", { get: function() { return this._text }, set: function(e) { this._text = e }, enumerable: !0, configurable: !0 }), g.prototype.createNew = function() { return new g } , g.prototype.prepareGaugeElement = function() { e.prototype.prepareGaugeElement.call(this); var t = new f; this.invokeGetValue(this, t), this.valueObj = s.getFloatValueFromObject2(t.value, 0); var r = new i; this.invokeGetText(this, r), this.textObj = r.value } , g.prototype.drawElement = function(e) { var t, i, o = this.scale; if (null == o || n.isNullOrEmpty(this.textObj)) return; var s = o.barGeometry.size, p = o.barGeometry.rectGeometry, f, m, g, y = this.scale.barGeometry.getRestToLenght(), v = o.orientation == a.Horizontal ? s.height : s.width; v *= this.offset; var b = this.scale.scaleHelper.actualMinimum , S = this.scale.scaleHelper.actualMaximum , w = this.textFormat , G = this.skipValuesObj , k = this.skipIndicesObj , B = this.values; null != B && 0 != B.count || (B = new d, B.add(new r.StiLinearTickLabelCustomValue(this.valueObj,this.textObj,this.offset,this.placement))); var R = -1; try { for (var O = __values(B.toCast()), _ = O.next(); !_.done; _ = O.next()) { var P = _.value; if (R++, P.value < b) continue; if (P.value > S) continue; if (this.checkTickValue(G, k, P.value, R)) continue; if (null != this.minimumValue && P.value < this.minimumValue) continue; if (null != this.maximumValue && P.value > this.maximumValue) continue; var j = v * this.getOffset(P.offset) , x = o.getPosition(P.value) , C = this.getTextForRender2(P.text, w) , W = l.changeFontSize(this.font, e.zoom) , M = e.measureString(C, W); if (o.orientation == a.Horizontal) if (f = o.isReversed ? p.width - p.width * x : p.width * x, this.getPlacement(P.placement) == c.Overlay) m = p.left + f - M.width / 2, g = u.centerY(p) - M.height / 2 - j; else { var T = o.startWidth < o.endWidth ? (1 - x) * y : y * x; this.getPlacement(P.placement) == c.Outside ? (m = p.left + f - M.width / 2, g = p.top - M.height - j + T) : (m = p.left + f - M.width / 2, g = p.bottom + j - T) } else if (f = o.isReversed ? p.height * x : p.height - p.height * x, this.getPlacement(P.placement) == c.Overlay) m = u.centerX(p) - M.width / 2, g = p.top + f - M.height / 2; else { var T = o.startWidth < o.endWidth ? (1 - x) * y : y * x; this.getPlacement(P.placement) == c.Outside ? (m = p.left - M.width - 3 - j + T, g = p.top + f - M.height / 2) : (m = p.right + 3 + j - T, g = p.top + f - M.height / 2) } e.addTextGaugeGeom(C, W, this.textBrush, new h(m,g,M.width,M.height), null) } } catch (e) { t = { error: e } } finally { try { _ && !_.done && (i = O.return) && i.call(O) } finally { if (t) throw t.error } } } , g }(g); r.StiLinearTickLabelCustom = v }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.System.StiString , i = function(e) { function r(t, r, n, i) { void 0 === t && (t = 0), void 0 === r && (r = null), void 0 === n && (n = null), void 0 === i && (i = null); var o = e.call(this) || this; return o._text = null, o.value = t, o._text = r, o.offset = n, o.placement = i, o } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyString("Text", this.text), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "Text": this.text = a.value.toString(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearTickLabelCustomValue }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "text", { get: function() { return this._text }, set: function(e) { this._text = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizedName", { get: function() { return "LinearTickLabelCustom" }, enumerable: !0, configurable: !0 }), r.prototype.toString = function() { return n.format("Value={0}, Text={1}", this.value, this._text) } , r.prototype.createNew = function() { return new r } , r }(r.StiCustomValueBase); r.StiLinearTickLabelCustomValue = i }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n; !function(r) { var n = e.Report.Components.Gauge.Primitives.StiLinearTickLabelBase , i = function(e) { function r() { var t = null !== e && e.apply(this, arguments) || this; return t._skipMajorValues = !0, t } return __extends(r, e), r.prototype.saveToJsonObject = function(t) { var r = e.prototype.saveToJsonObject.call(this, t); return r.addPropertyIdent("Ident", this.stimulsoft.getType().stimulsoft.getTypeName()), r.addPropertyBool("SkipMajorValues", this.skipMajorValues, !0), r } , r.prototype.loadFromJsonObject = function(t) { var r, n; e.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 "SkipMajorValues": this.skipMajorValues = a.value.ToBoolean(); break } } } catch (e) { r = { error: e } } finally { try { o && !o.done && (n = i.return) && n.call(i) } finally { if (r) throw r.error } } } , Object.defineProperty(r.prototype, "componentId", { get: function() { return t.StiComponentId.StiLinearTickLabelMinor }, enumerable: !0, configurable: !0 }), r.prototype.applyStyle = function(e) { this.allowApplyStyle && (this.textBrush = e.core.tickLabelMinorTextBrush, this.font = e.core.tickLabelMinorFont) } , Object.defineProperty(r.prototype, "skipMajorValues", { get: function() { return this._skipMajorValues }, set: function(e) { this._skipMajorValues = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "isSkipMajorValues", { get: function() { return this.skipMajorValues }, enumerable: !0, configurable: !0 }), Object.defineProperty(r.prototype, "localizeName", { get: function() { return "LinearTickLabelMinor" }, enumerable: !0, configurable: !0 }), r.prototype.createNew = function() { return new r } , r.prototype.getPointCollection = function() { return this.getMinorCollections() } , r }(n); r.StiLinearTickLabelMinor = i }(n = r.Gauge || (r.Gauge = {})) }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(Stimulsoft || (Stimulsoft = {})); var Stimulsoft; !function(e) { var t; !function(t) { var r; !function(r) { var n = e.System.StiString , i = e.Report.Gauge.StiGaugeStyleXF , o = e.System.Enum , a = e.Report.Gauge.StiGaugeCalculationMode , s = e.Report.Gauge.StiGaugeType , l = e.Base.JsonReportObject.IStiJsonReportObject , u = e.Report.Components.Gauge.Primitives.StiScaleBase , c = e.Report.Gauge.Collections.StiScaleCollection , h = e.System.Drawing.Rectangle , p = e.Base.Localization.StiLocalization , f = e.System.Drawing.Color , d = e.Base.Drawing.StiSolidBrush , m = e.Base.Drawing.StiBrush , g = e.Base.Drawing.StiBorder , y = e.Report.Components.StiComponent , v = e.Report.Components.IStiExportImageExtended , b = e.Report.Components.IStiBorder , S = e.Report.Components.IStiBrush , w = e.Base.StiJsonReportObjectHelper , G = e.Report.Components.Gauge.IStiGauge , k = e.Report.Gauge.StiGaugeStyleXF26 , B = function(r) { function y(e) { void 0 === e && (e = h.empty); var t = r.call(this) || this; return t._border = new g, t._brush = new d(f.transparent), t.shortValue = !0, t.minimum = 0, t.maximum = 100, t.type = s.FullCircular, t.calculationMode = a.Auto, t._style = new k, t._allowApplyStyle = !0, t._customStyleName = "", t._isAnimation = !1, t.scales = new c(t), t.placeOnToolbox = !1, t } return __extends(y, r), y.prototype.implements = function() { return y.implementsStiGauge || (y.implementsStiGauge = r.prototype.implements.call(this).concat([v, b, S, G, l])), y.implementsStiGauge } , y.prototype.saveToJsonObject = function(e) { var t = r.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", w.Serialize.jBorder(this.border)), t.addPropertyStringNullOrEmpty("Brush", w.Serialize.jBrush(this.brush)), t.addPropertyEnum("Type", s, this.type, s.FullCircular), t.addPropertyEnum("CalculationMode", a, this.calculationMode, a.Auto), t.addPropertyJObject("Scales", this.scales.saveToJsonObject(e)), t.addPropertyBool("AllowApplyStyle", this.allowApplyStyle, !0), t.addPropertyJObject("Style", this.style.saveToJsonObject(e)), t } , y.prototype.loadFromJsonObject = function(e) { var t, n; r.prototype.loadFromJsonObject.call(this, e); try { for (var l = __values(e.properties()), u = l.next(); !u.done; u = l.next()) { var c = u.value; switch (c.name) { case "CustomStyleName": this.customStyleName = c.value.toString(); break; case "Style": this.style = i.createFromJsonObject(c.value); break; case "Type": this.type = o.parse(s, c.value); break; case "ShortValue": this.shortValue = c.value.stimulsoft.toBoolean(); break; case "Minimum": this.minimum = c.value.stimulsoft.toNumber(); break; case "Maximum": this.maximum = c.value.stimulsoft.toNumber(); break; case "CalculationMode": this.calculationMode = o.parse(a, c.value); break; case "AllowApplyStyle": this.allowApplyStyle = c.value.stimulsoft.toBoolean(); break; case "Border": this.border = w.Deserialize.border(c.value); break; case "Brush": this.brush = w.Deserialize.brush(c.value); break; case "Scales": this.scales.loadFromJsonObject(c.value); break } } } catch (e) { t = { error: e } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (t) throw t.error } } } , y.prototype.loadFromXml = function(e, t) { r.prototype.loadFromXml.call(this, e, t); var l = e.getAttribute("Ref"); !n.isNullOrEmpty(l) && this.report.jsonLoaderHelper && (this.report.jsonLoaderHelper.refNames[l.stimulsoft.toNumber()] = e.nodeName); for (var u = 0; u < e.childNodes.length; u++) { var c = e.childNodes[u]; switch (c.nodeName) { case "CustomStyleName": this.customStyleName = c.textContent.toString(); break; case "Style": this.style = i.createFromXml(c); break; case "Type": this.type = o.parse(s, c.textContent); break; case "ShortValue": this.shortValue = c.textContent.stimulsoft.toBoolean(); break; case "Minimum": this.minimum = c.textContent.stimulsoft.toNumber(); break; case "Maximum": this.maximum = c.textContent.stimulsoft.toNumber(); break; case "CalculationMode": this.calculationMode = o.parse(a, c.textContent); break; case "AllowApplyStyle": this.allowApplyStyle = c.textContent.stimulsoft.toBoolean(); break; case "Border": this.border = g.loadFromXml(c.textContent); break; case "Brush": this.brush = m.loadFromXml(c.textContent); break; case "Scales": this.scales.loadFromXml(c); break } } } , Object.defineProperty(y.prototype, "componentId", { get: function() { return t.StiComponentId.StiGauge }, enumerable: !0, configurable: !0 }), y.prototype.clone = function(e, t) { var n, i, o = r.prototype.clone.call(this, e); o.scales = new c(o); try { for (var a = __values(this.scales.list), s = a.next(); !s.done; s = a.next()) { var l = s.value; o.scales.add(l.clone()) } } catch (e) { n = { error: e } } finally { try { s && !s.done && (i = a.return) && i.call(a) } finally { if (n) throw n.error } } return o } , y.prototype.getImage = function(r, n) { var i = new t.Export.StiSvgData; return i.component = this, i.x = 0, i.y = 0, i.width = this.report.unit.convertToHInches(this.width), i.height = this.report.unit.convertToHInches(this.height), e.Report.Export.StiGaugeSvgHelper.getImage(i) } , y.prototype.isExportAsImage = function(e) { if (e == t.StiExportFormat.Pdf) return !0; return !1 } , Object.defineProperty(y.prototype, "border", { get: function() { return this._border }, set: function(e) { this._border = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "brush", { get: function() { return this._brush }, set: function(e) { this._brush = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "localizedCategory", { get: function() { return p.get("Report", "Infographics") }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "localizedName", { get: function() { return p.get("Components", "StiGauge") }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "defaultClientRectangle", { get: function() { return new h(0,0,240,240) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "style", { get: function() { return this._style }, set: function(e) { this._style != e && (this._style = e, null != e && (e.core.gauge = this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "allowApplyStyle", { get: function() { return this._allowApplyStyle }, set: function(e) { this._allowApplyStyle != e && (this._allowApplyStyle = e, e && this.applyStyle(this.style)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "customStyleName", { get: function() { return this._customStyleName }, set: function(e) { this._customStyleName = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "scales", { get: function() { return this._scales }, set: function(e) { this._scales = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(y.prototype, "isAnimation", { get: function() { return this._isAnimation }, set: function(e) { this._isAnimation != e && (this._isAnimation = e) }, enumerable: !0, configurable: !0 }), y.prototype.changeSkin = function() {} , y.prototype.drawGauge = function(e) { this.applyStyle(this.style); var t = -1; while (++t < this.scales.count) { var r = this.scales.getByIndex(t).stimulsoft.as(u); null != r && (r.barGeometry.checkRectGeometry(e.rect), r.drawElement(e)) } } , y.prototype.createNew = function() { return new y } , y.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 n = __values(this.scales.list), i = n.next(); !i.done; i = n.next()) { i.value.applyStyle(e) } } catch (e) { t = { error: e } } finally { try { i && !i.done && (r = n.return) && r.call(n) } finally { if (t) throw t.error } } } , y }(y); r.StiGauge = B }(r = t.Components || (t.Components = {})) }(t = e.Report || (e.Report = {})) }(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(); if (typeof module === "object") { module.exports = Stimulsoft; } ;